Cheers,
Ralf
2007-10-21 Ralf Wildenhues <address@hidden>
* tests/defs.m4sh (CONFIG_SITE): Set to `/nonexistent', to
avoid config.site files.
* tests/testsuite.at (CONFIG_SITE): Be sure to reexport it.
Report by Bob Friesenhahn.
Index: tests/defs.m4sh
===================================================================
RCS file: /cvsroot/libtool/libtool/tests/defs.m4sh,v
retrieving revision 1.18
diff -u -r1.18 defs.m4sh
--- tests/defs.m4sh 25 Mar 2007 12:12:43 -0000 1.18
+++ tests/defs.m4sh 21 Oct 2007 16:15:44 -0000
@@ -2,7 +2,7 @@
m4_divert_push([SCRIPT])# @configure_input@
# defs -- Defines for Libtool testing environment.
#
-# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2004, 2005, 2007 Free Software Foundation, Inc.
# Written by Gord Matzigkeit, 1996
# Rewritten by Gary V. Vaughan, 2003
#
@@ -42,6 +42,7 @@
# The DJGPP port of autoconf requires config.site, to work correctly.
if test -z "$DJGPP"; then
CONFIG_SITE=/nonexistent
+ export CONFIG_SITE
fi
# How verbose should we be? Default is no test output.
Index: tests/testsuite.at
===================================================================
RCS file: /cvsroot/libtool/libtool/tests/testsuite.at,v
retrieving revision 1.50
diff -u -r1.50 testsuite.at
--- tests/testsuite.at 25 Mar 2007 12:12:43 -0000 1.50
+++ tests/testsuite.at 21 Oct 2007 16:15:44 -0000
@@ -33,6 +33,14 @@
if eval \$$tool --version >/dev/null 2>&1; then :; else eval $tool=no; fi
done
export ACLOCAL AUTOHEADER AUTOCONF AUTOMAKE AUTORECONF
+
+# Disable usage of config.site for autoconf, unless DJGPP is present.
+# The DJGPP port of autoconf requires config.site, to work correctly.
+if test -z "$DJGPP"; then
+ CONFIG_SITE=/nonexistent
+ export CONFIG_SITE
+fi
+
eval `$LIBTOOL --config | grep '^EGREP='`
eval `$LIBTOOL --config | $EGREP '^(host|host_os|host_alias|build|ECHO)='`
configure_options=