bug-autoconf
[Top][All Lists]
Advanced

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

autoreconf doesn't pass -I to aclocal


From: David Hilvert
Subject: autoreconf doesn't pass -I to aclocal
Date: Thu, 28 Aug 2008 23:19:12 -0500

Version information associated with the bug report that follows:

$ autoreconf --version
autoreconf (GNU Autoconf) 2.61
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.


The autoreconf script isn't passing -I (et cetera) to aclocal.  This can result 
in generation of configure scripts with unresolved macros.

As an example, the following works correctly as-is when 'bootstrap' is run:

http://repo.or.cz/w/libale.git

But the patch below breaks it:

diff --git a/bootstrap b/bootstrap
index 46dc7cd..1034bb9 100755
--- a/bootstrap
+++ b/bootstrap
@@ -38,21 +38,11 @@ if test -e configure && test "x$1" != "x-r"; then
 fi
 
 #
-# Add autoconf archive files.
-#
-
-cp /usr/share/autoconf-archive/acx_pthread.m4 m4/.
-cp /usr/share/autoconf-archive/ax_lang_compiler_ms.m4 m4/.
-cp /usr/share/autoconf-archive/ax_check_gl.m4 m4/.
-cp /usr/share/autoconf-archive/ax_check_glu.m4 m4/.
-cp /usr/share/autoconf-archive/ax_check_glut.m4 m4/.
-
-#
 # Run autotools' bootstrap script, adding things that automake thinks are
 # missing, among other things (--install).
 #
 
-autoreconf --install
+autoreconf -I /usr/share/autoconf-archive/ --install
 
 #
 # Generate bindings with swig.





reply via email to

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