1dnl Process this file with autoconf to produce a configure script. 2AC_INIT(acgeneral.m4) 3 4AC_ARG_PROGRAM 5 6dnl We use a path for GNU m4 so even if users have another m4 first in 7dnl their path, the installer can configure with a path that has GNU m4 8dnl first and get that path embedded in the installed autoconf and 9dnl autoheader scripts. 10AC_PATH_PROGS(M4, gm4 gnum4 m4, m4) 11AC_PROG_AWK 12 13dnl We use a path for perl so the #! line in autoscan will work. 14AC_PATH_PROG(PERL, perl, no) 15AC_SUBST(PERL)dnl 16AC_SUBST(SCRIPTS)dnl 17if test "$PERL" != no; then 18 SCRIPTS=autoscan 19else 20 AC_MSG_WARN(autoscan will not be built since perl is not found) 21fi 22 23AC_PROG_INSTALL 24 25# Work with the GNU or Cygnus source tree layout. 26if test -f $srcdir/standards.texi; then 27 standards_info=standards.info standards_dvi=standards.dvi 28fi 29AC_SUBST(standards_info)dnl 30AC_SUBST(standards_dvi)dnl 31 32AC_OUTPUT(Makefile testsuite/Makefile) 33