automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: six-tests-need-autoconf.patch


From: Alexandre Duret-Lutz
Subject: FYI: six-tests-need-autoconf.patch
Date: 06 Dec 2001 20:22:17 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1

By installing Automake on a host lacking Autoconf I've discovered
the following 6 failures:
FAIL: confsub.test
FAIL: depdist.test 
FAIL: extra5.test
FAIL: nobase.test
FAIL: stamph2.test
FAIL: subdirbuiltsources.test

I'm committing the $needs_autoconf guards as shown below,
because the other tests do that.

However I'm wondering whether allowing people to install
Automake on an Autoconf-less system makes any sense at all.
Personally, I'd prefer that Automake's configure abort if
Autoconf is not found.  (This will probably be important
when Automake switches to --traces)

Index: ChangeLog
from  Alexandre Duret-Lutz  <address@hidden>

        * tests/confsub.test, tests/depdist.test, tests/extra5.test,
        tests/nobase.test, tests/stamph2.test,
        tests/subdirbuiltsources.test: Require Autoconf.

Index: tests/confsub.test
===================================================================
RCS file: /cvs/automake/automake/tests/confsub.test,v
retrieving revision 1.14
diff -u -r1.14 confsub.test
--- tests/confsub.test 2001/10/26 09:56:43 1.14
+++ tests/confsub.test 2001/12/06 19:04:23
@@ -5,6 +5,9 @@
 
 . $srcdir/defs || exit 1
 
+# Fail gracefully if no autoconf.
+$needs_autoconf
+
 cat > configure.in << 'END'
 AC_INIT
 AM_INIT_AUTOMAKE(nonesuch, nonesuch)
Index: tests/depdist.test
===================================================================
RCS file: /cvs/automake/automake/tests/depdist.test,v
retrieving revision 1.1
diff -u -r1.1 depdist.test
--- tests/depdist.test 2001/07/21 19:34:32 1.1
+++ tests/depdist.test 2001/12/06 19:04:23
@@ -5,6 +5,9 @@
 
 . $srcdir/defs || exit 1
 
+# Fail gracefully if no autoconf.
+$needs_autoconf
+
 rm -f configure.in
 
 mkdir config
Index: tests/extra5.test
===================================================================
RCS file: /cvs/automake/automake/tests/extra5.test,v
retrieving revision 1.1
diff -u -r1.1 extra5.test
--- tests/extra5.test 2001/11/09 17:39:46 1.1
+++ tests/extra5.test 2001/12/06 19:04:23
@@ -5,6 +5,9 @@
 
 . $srcdir/defs || exit 1
 
+# Fail gracefully if no autoconf.
+$needs_autoconf
+
 echo AC_OUTPUT >> configure.in
 
 cat > Makefile.am << 'END'
Index: tests/nobase.test
===================================================================
RCS file: /cvs/automake/automake/tests/nobase.test,v
retrieving revision 1.2
diff -u -r1.2 nobase.test
--- tests/nobase.test 2001/11/09 16:25:03 1.2
+++ tests/nobase.test 2001/12/06 19:04:23
@@ -3,6 +3,9 @@
 
 . $srcdir/defs || exit 1
 
+# Fail gracefully if no autoconf.
+$needs_autoconf
+
 cat >> configure.in <<'EOF'
 AC_OUTPUT
 EOF
Index: tests/stamph2.test
===================================================================
RCS file: /cvs/automake/automake/tests/stamph2.test,v
retrieving revision 1.3
diff -u -r1.3 stamph2.test
--- tests/stamph2.test 2001/11/08 17:05:04 1.3
+++ tests/stamph2.test 2001/12/06 19:04:23
@@ -3,6 +3,9 @@
 # Make sure stamp-h* files are created where we expect
 . $srcdir/defs || exit 1
 
+# Fail gracefully if no autoconf.
+$needs_autoconf
+
 cat > configure.in << END
 AC_INIT(Makefile.am)
 AM_INIT_AUTOMAKE($me, 1.0)
Index: tests/subdirbuiltsources.test
===================================================================
RCS file: /cvs/automake/automake/tests/subdirbuiltsources.test,v
retrieving revision 1.3
diff -u -r1.3 subdirbuiltsources.test
--- tests/subdirbuiltsources.test 2001/11/26 18:05:43 1.3
+++ tests/subdirbuiltsources.test 2001/12/06 19:04:23
@@ -5,6 +5,10 @@
 # all-recursive-am which depended on BUILT_SOURCES.
 
 . $srcdir/defs || exit 1
+
+# Fail gracefully if no autoconf.
+$needs_autoconf
+
 set -e
 
 mkdir lib

-- 
Alexandre Duret-Lutz



reply via email to

[Prev in Thread] Current Thread [Next in Thread]