Revert aclocal invocation to do cat m4/*.m4 > acinclude.m4 beforehand, rather than...
authorRichard Boulton <richard@tartarus.org>
Mon, 4 Feb 2002 21:24:08 +0000 (21:24 +0000)
committerRichard Boulton <richard@tartarus.org>
Mon, 4 Feb 2002 21:24:08 +0000 (21:24 +0000)
Original commit message from CVS:
Revert aclocal invocation to do cat m4/*.m4 > acinclude.m4 beforehand,
rather than adding m4/ to aclocal search path.  Shouldn't cause errors when
macros are already present on system, because macros in acinclude.m4 are
used in preference.

autogen.sh
configure.ac

index c9cfe40..8de4a20 100755 (executable)
@@ -143,7 +143,7 @@ test -f $srcfile || {
 }
 
 echo "+ running aclocal ..."
-aclocal -I m4 $ACLOCAL_FLAGS || {
+cat m4/*.m4 >acinclude.m4;aclocal $ACLOCAL_FLAGS || {
        echo
        echo "aclocal failed - check that all needed development files are present on system"
        exit 1
index 0b9169d..072dfb9 100644 (file)
@@ -37,7 +37,7 @@ GST_LIBVERSION=$GST_CURRENT:$GST_REVISION:$GST_AGE
 AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
 dnl Add parameters for aclocal
 dnl (This must come after AM_INIT_AUTOMAKE, since it modifies ACLOCAL)
-ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
+ACLOCAL="cat m4/*.m4 >acinclude.m4;$ACLOCAL $ACLOCAL_FLAGS"
 
 AC_SUBST(GST_VERSION_MAJOR)
 AC_SUBST(GST_VERSION_MINOR)