1992-04-24 16:11:47 +00:00
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
|
|
|
AC_INIT(acgeneral.m4)
|
1994-05-02 23:43:40 +00:00
|
|
|
|
1994-10-19 00:29:57 +00:00
|
|
|
AC_ARG_PROGRAM
|
|
|
|
|
1994-05-02 23:43:40 +00:00
|
|
|
dnl We use a path for GNU m4 so even if users have another m4 first in
|
|
|
|
dnl their path, the installer can configure with a path that has GNU m4
|
|
|
|
dnl first and get that path embedded in the installed autoconf and
|
|
|
|
dnl autoheader scripts.
|
1994-08-24 18:28:20 +00:00
|
|
|
AC_PATH_PROGS(M4, gm4 gnum4 m4, m4)
|
1995-02-09 22:44:35 +00:00
|
|
|
AC_PROG_AWK
|
1994-05-02 23:43:40 +00:00
|
|
|
|
|
|
|
dnl We use a path for perl so the #! line in autoscan will work.
|
1994-10-02 04:22:44 +00:00
|
|
|
AC_PATH_PROG(PERL, perl, no)
|
1994-04-30 01:46:44 +00:00
|
|
|
AC_SUBST(PERL)dnl
|
1994-10-26 22:41:36 +00:00
|
|
|
AC_SUBST(SCRIPTS)dnl
|
1994-10-02 04:22:44 +00:00
|
|
|
if test "$PERL" != no; then
|
1994-10-26 22:41:36 +00:00
|
|
|
SCRIPTS=autoscan
|
1994-04-30 01:46:44 +00:00
|
|
|
else
|
1994-08-23 06:01:14 +00:00
|
|
|
AC_MSG_WARN(autoscan will not be built since perl is not found)
|
1994-04-30 01:46:44 +00:00
|
|
|
fi
|
1994-05-02 23:43:40 +00:00
|
|
|
|
1992-04-24 16:11:47 +00:00
|
|
|
AC_PROG_INSTALL
|
1994-05-02 23:43:40 +00:00
|
|
|
|
|
|
|
# Work with the GNU or Cygnus source tree layout.
|
|
|
|
if test -f $srcdir/standards.texi; then
|
|
|
|
standards_info=standards.info standards_dvi=standards.dvi
|
|
|
|
fi
|
1994-07-19 14:44:16 +00:00
|
|
|
AC_SUBST(standards_info)dnl
|
|
|
|
AC_SUBST(standards_dvi)dnl
|
1994-05-02 23:43:40 +00:00
|
|
|
|
1994-07-19 14:44:16 +00:00
|
|
|
AC_OUTPUT(Makefile testsuite/Makefile)
|