[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: autoconf-test-in-subdir.patch
From: |
Alexandre Duret-Lutz |
Subject: |
FYI: autoconf-test-in-subdir.patch |
Date: |
07 Jan 2002 21:56:55 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Presently `make distcheck' fails, because when we check
Autoconf's version in configure $AUTOCONF creates autom4te.cache
and we don't clean this.
Index: ChangeLog
===================================================================
RCS file: /cvs/automake/automake/ChangeLog,v
retrieving revision 1.1714
diff -u -r1.1714 ChangeLog
--- ChangeLog 2002/01/07 20:25:21 1.1714
+++ ChangeLog 2002/01/07 21:01:53
@@ -1,5 +1,10 @@
2002-01-07 Alexandre Duret-Lutz <address@hidden>
+ * configure.in: Run the Autoconf test in a subdirectory, then
+ erase this directory.
+
+2002-01-07 Alexandre Duret-Lutz <address@hidden>
+
* configure.in (AUTOMAKE): Create m4/amversion.m4.
* m4/amversion.in: New file.
* m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
Index: configure.in
===================================================================
RCS file: /cvs/automake/automake/configure.in,v
retrieving revision 1.96
diff -u -r1.96 configure.in
--- configure.in 2002/01/07 20:25:23 1.96
+++ configure.in 2002/01/07 21:02:04
@@ -40,11 +40,15 @@
AC_MSG_ERROR([perl 5.005 or better is required])
}
-echo 'AC''_PREREQ(2.52)' > conftest.ac
-AM_RUN_LOG([eval $AUTOCONF -o /dev/null conftest.ac]) || {
+# Test for Autoconf. We run Autoconf in a subdirectory to ease
+# deletion of any files created (such as those added to
+# autom4te.cache).
+mkdir conftest
+echo 'AC''_PREREQ(2.52)' > conftest/conftest.ac
+AM_RUN_LOG([cd conftest && eval $AUTOCONF -o /dev/null conftest.ac]) || {
AC_MSG_ERROR([Autoconf 2.52 or better is required])
}
-rm conftest.ac
+rm -rf conftest
AC_CONFIG_FILES([automake], [chmod +x automake])
AC_CONFIG_FILES([aclocal], [chmod +x aclocal])
--
Alexandre Duret-Lutz
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: autoconf-test-in-subdir.patch,
Alexandre Duret-Lutz <=