Skip to content

Commit

Permalink
Initial support for OpenBSD.
Browse files Browse the repository at this point in the history
  • Loading branch information
slewsys committed Jan 6, 2025
1 parent 9ba8582 commit 8f02b27
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ if [ ! -w "$abs_srcdir" ]; then
fi

for cmd in aclocal autoheader autopoint automake autoreconf libtoolize; do
eval ${cmd}_cmd="\$(type '$cmd' 2>/dev/null | sed -n '1s,.*is \(/.*\),\1,p')"
eval ${cmd}_cmd="\$(type '$cmd' 2>/dev/null | sed -n '1s,.* \(/.*\)$,\1,p')"
exit_status=$?
if test $exit_status -ne 0 || eval test ."\$${cmd}_cmd" = .''; then
eval ${cmd}_cmd="\$(type 'g$cmd' 2>/dev/null | sed -n '1s,.*is \(/.*\),\1,p')"
eval ${cmd}_cmd="\$(type 'g$cmd' 2>/dev/null | sed -n '1s,.* \(/.*\)$,\1,p')"
exit_status=$?
fi
if test $exit_status -ne 0 || eval test ."\$${cmd}_cmd" = .''; then
Expand Down
8 changes: 4 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ AC_CONFIG_LIBOBJ_DIR([lib])
AC_CONFIG_MACRO_DIR([m4])
AC_USE_SYSTEM_EXTENSIONS
AM_INIT_AUTOMAKE([foreign])
LT_PREREQ([2.4.6])
LT_PREREQ([2.4.2])
LT_INIT([])
AC_SUBST([LIBTOOL_DEPS])

Expand Down Expand Up @@ -45,9 +45,9 @@ AC_ARG_VAR([MAKEINFO], [Texinfo translation filter])
AC_PATH_PROGS([MAKEINFO], [makeinfo texi2any])
AM_CONDITIONAL([HAVE_MAKEINFO], [test ! ."$ac_cv_path_MAKEINFO" = .''])

AC_ARG_VAR([TEXI2DVI], [Texinfo to PDF filter])
AC_PATH_PROG([TEXI2DVI], [texi2dvi])
AM_CONDITIONAL([HAVE_TEXI2DVI], [test ! ."$ac_cv_path_TEXI2DVI" = .''])
AC_ARG_VAR([TEXI2PDF], [Texinfo to PDF filter])
AC_PATH_PROG([TEXI2PDF], [texi2pdf])
AM_CONDITIONAL([HAVE_TEXI2PDF], [test ! ."$ac_cv_path_TEXI2PDF" = .''])

# Checks availability of GNU make
AX_CHECK_GNU_MAKE()
Expand Down
4 changes: 2 additions & 2 deletions doc/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ if !HAVE_MAKEINFO
@echo "*** Missing makeinfo ***: Cannot build $@ from $<." >&2
endif

if !HAVE_TEXI2DVI
if !HAVE_TEXI2PDF
.texi.pdf:
@echo "*** Missing texi2dvi ***: Cannot build $@ from $<." >&2
@echo "*** Missing texi2pdf ***: Cannot build $@ from $<." >&2
endif

PROG = ed
Expand Down

0 comments on commit 8f02b27

Please sign in to comment.