autoconf-patches
[Top][All Lists]
Advanced

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

autoreconf no longer works outside the current directory


From: Olly Betts
Subject: autoreconf no longer works outside the current directory
Date: Tue, 16 May 2006 05:45:38 +0000 (UTC)
User-agent: slrn/0.9.8.1 (Linux)

autoreconf is documented to work outside the current directory, and used
to in autoconf 2.59.  The patch below fixes that.

To reproduce, pick any autoconf-ed project, change to the directory
above and run "autoreconf PROJECTDIRECTORY".

I also notice a worrying mismatch between the comment and the code just
above the patched location:

  # Autoreconf all the given configure.ac.  A while loop, not a for,
  # since the list can change at runtime because of AC_CONFIG_SUBDIRS.
  for my $directory (@ARGV)
    
Cheers,
    Olly

Index: bin/autoreconf.in
===================================================================
RCS file: /sources/autoconf/autoconf/bin/autoreconf.in,v
retrieving revision 1.131
diff -p -u -r1.131 autoreconf.in
--- bin/autoreconf.in   5 Apr 2006 20:54:17 -0000       1.131
+++ bin/autoreconf.in   16 May 2006 05:39:55 -0000
@@ -668,7 +668,7 @@ parse_args;
 # since the list can change at runtime because of AC_CONFIG_SUBDIRS.
 for my $directory (@ARGV)
   {
-    require_configure_ac;
+    require_configure_ac ($directory);
     autoreconf ($directory);
   }
 





reply via email to

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