1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.13)
AC_INIT()
AM_INIT_AUTOMAKE(texi2html, 1.65)
dnl Misc variable settings
T2H_DATE=2000-04-18
T2H_VERSION=${VERSION}
AC_SUBST(T2H_DATE)
AC_SUBST(T2H_VERSION)
INIT="$srcdir"/texi2html.init
AC_SUBST_FILE(INIT)
MYSIMPLE="$srcdir"/MySimple.pm
AC_SUBST_FILE(MYSIMPLE)
dnl Checks for programs.
AC_PATH_PROG(PERL, perl, /usr/bin/env perl, /opt/perl5/bin:"$PATH")
dnl --> Check for parts of Texinfo package
AC_PATH_PROG(MAKEINFO, makeinfo)
AC_PATH_PROG(INSTALL_INFO, install-info)
AC_PATH_PROG(TEXI2DVI, texi2dvi)
AC_PATH_PROG(DVIPS, dvips)
AC_PATH_PROG(PS2PDF, ps2pdf)
dnl
AC_PROG_INSTALL
dnl Checks for libraries.
dnl Checks for header files.
dnl Checks for typedefs, structures, and compiler characteristics.
dnl Checks for library functions.
dnl Blah
AC_ARG_PROGRAM
# We want sysconfdir and mandir to be expanded when
# the default-prefix is used.
test "x$prefix" = xNONE && prefix=$ac_default_prefix
eval "sysconfdir=$sysconfdir"
eval "mandir=$mandir"
# We could be cleverer about handling special characters in the values
# of $sysconfdir or $mandir, but automake doesn't so we won't either.
extrasub='s%@BANGPERL@%! @PERL@%'
AC_OUTPUT(Makefile texi2html.1 texi2html:texi2html.pl doc/Makefile)
|