[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Autoconf cannot rebuild its own configure
From: |
Pavel Roskin |
Subject: |
Autoconf cannot rebuild its own configure |
Date: |
Wed, 1 Nov 2000 15:19:53 -0500 (EST) |
Hello!
AT_TESTPATH is now "politically incorrect":
$ autoconf
configure.in:5: warning: AC_ARG_PROGRAM is m4_require'd but is not m4_defun'd
configure:1692: error: undefined macro: AT_TESTPATH
Not sure about the warning, but the error can be trivially fixed.
ChangeLog:
* m4/atconfig.m4 (AT_CONFIG): s/AT_TESTPATH/AUTOTEST_PATH/
because AT_TESTPATH looks like a macro.
* tests/atconfig.in: Likewise.
Regards,
Pavel Roskin
_______________________
Index: m4/atconfig.m4
--- m4/atconfig.m4 Wed Oct 18 08:42:20 2000
+++ m4/atconfig.m4 Wed Nov 1 15:12:43 2000
@@ -8,6 +8,6 @@
# built test directory. Maybe omitted if the same (flat distribution).
AC_DEFUN([AT_CONFIG],
-[AT_TESTPATH=ifelse([$1], [], [.], [$1])
-AC_SUBST(AT_TESTPATH)
+[AUTOTEST_PATH=ifelse([$1], [], [.], [$1])
+AC_SUBST(AUTOTEST_PATH)
])
Index: tests/atconfig.in
--- tests/atconfig.in Thu May 25 12:37:12 2000
+++ tests/atconfig.in Wed Nov 1 15:13:28 2000
@@ -71,8 +71,8 @@
# Use absolute file notations, as the test might change directories.
at_srcdir=`cd @srcdir@ && pwd`
at_top_srcdir=`cd @top_srcdir@ && pwd`
-if test -n "@AT_TESTPATH@"; then
- export PATH; PATH=`pwd`:`cd @AT_TESTPATH@ && pwd`:$PATH
+if test -n "@AUTOTEST_PATH@"; then
+ export PATH; PATH=`pwd`:`cd @AUTOTEST_PATH@ && pwd`:$PATH
else
export PATH; PATH=`pwd`:$PATH
fi
_______________________
- Autoconf cannot rebuild its own configure,
Pavel Roskin <=