mirror of
git://git.sv.gnu.org/autoconf
synced 2025-02-05 11:10:57 +08:00
* configure: Regenerate. * aclocal.m4: New generated file. * Makefile.in: Regenerate with Automake. * testsuite/Makefile.in: Likewise. 1999-10-31 Akim Demaille <akim@epita.fr> Use Automake. Based on files from Ben Elliston. * acgeneral.m4: No longer define AC_ACVERSION, include acversion.m4. * acversion.m4.in: New AC_CONFIG_FILE. * acspecific.m4: Few formating changes. * autoconf.texi: No longer define EDITION, VERSION and UPDATED: include version.texi. AC_OUTPUT the Makefiles mentioned below and acversion.m4. * configure.in: Use AM_INIT_AUTOMAKE. Do not AC_ARG_PROGRAM: AM_INIT_AUTOMAKE does it. * Makefile.am: New file. * mdate-sh: Likewise. * missing: Likewise. * testsuite/Makefile.am: Likewise.
41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
dnl Process this file with autoconf to produce a configure script.
|
|
AC_INIT(acgeneral.m4)
|
|
AM_INIT_AUTOMAKE(autoconf, 2.14.1)
|
|
|
|
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.
|
|
AC_PATH_PROGS(M4, gm4 gnum4 m4, m4)
|
|
AC_CACHE_CHECK(whether we are using GNU m4, acac_cv_gnu_m4,
|
|
[acac_cv_gnu_m4=no
|
|
if test x"$M4" != x; then
|
|
case `$M4 --help < /dev/null 2>&1` in
|
|
*traditional*) acac_cv_gnu_m4=yes ;;
|
|
esac
|
|
fi])
|
|
if test x"$acac_cv_gnu_m4" != xyes; then
|
|
AC_ERROR([GNU m4 is required])
|
|
fi
|
|
AC_PROG_AWK
|
|
|
|
dnl We use a path for perl so the #! line in autoscan will work.
|
|
AC_PATH_PROG(PERL, perl, no)
|
|
AC_SUBST(PERL)dnl
|
|
AC_SUBST(PERLSCRIPTS)dnl
|
|
if test "$PERL" != no; then
|
|
PERLSCRIPTS=autoscan
|
|
else
|
|
AC_MSG_WARN(autoscan will not be built since perl is not found)
|
|
fi
|
|
|
|
AC_PROG_INSTALL
|
|
|
|
# Work with the GNU or Cygnus source tree layout.
|
|
if test -f $srcdir/standards.texi; then
|
|
standards_texi=standards.texi
|
|
fi
|
|
AC_SUBST(standards_texi)dnl
|
|
|
|
AC_OUTPUT(acversion.m4 Makefile testsuite/Makefile)
|