Tag
Hash :
8dc162ad
Author :
Date :
2001-10-21T18:03:20
* tests/defs (ACLOCAL): Point to the installed aclocaldir is libtool is required. * tests/lex.test: Run AC_INIT once. * tests/ldflags.test, tests/listval.test, tests/suffix2.test: Libtool is required. * tests/header.test: Built a correct configure.in. * tests/defun2.test (configure.in): Be a bit respectful with Autoconf, close the macro invocations. * tests/confdeps.test: Even when not using aclocal, aclocal.m4 must be correct. * automake.in (scan_autoconf_traces): Add support for AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM, A[CM]_PROG_LIBTOOL, AM_CONFIG_HEADER, AM_MAINTAINER_MODE. * tests/condincl.test (target): Better pattern, to avoid matching the definition of `target_alias' which is now properly discovered as an AC_SUBST by traces. * cond4.test: Better grep pattern: After all, why shouldn't TWO_FALSE be AC_SUBST properly. * tests/installsh.test (AUTOMAKE, ACLOCAL): Adjust.
#! /bin/sh
# Make sure we don't mistake a macro definition for an invocation.
# From Jim Meyering.
. $srcdir/defs || exit 1
cat >> configure.in << 'END'
dnl if buggy this will require getloadavg.c
AC_PROG_CC
AC_DEFUN([AC_FUNC_GETLOADAVG])
dnl need this to avoid LIBOBJS used but not defined.
AC_FUNC_MEMCMP
END
cat > Makefile.am << 'END'
bin_PROGRAMS = foo
foo_LDADD = @LIBOBJS@
END
: > memcmp.c
$ACLOCAL || exit 1
$AUTOMAKE