`require_configure_ac'. Fix comment.
* tests/torture.at (Configuring subdirectories): Expose this.
Reported by Olly Betts.
+2006-05-17 Olly Betts <olly@survex.com> (tiny change)
+ and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * bin/autoreconf.in: Pass the directory argument to
+ `require_configure_ac'. Fix comment.
+ * tests/torture.at (Configuring subdirectories): Expose this.
+ Reported by Olly Betts.
+
2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
$ENV{'TMPDIR'} = $tmp;
parse_args;
-# Autoreconf all the given configure.ac. A while loop, not a for,
-# since the list can change at runtime because of AC_CONFIG_SUBDIRS.
+# Autoreconf all the given configure.ac. Unless `--no-recursive' is passed,
+# AC_CONFIG_SUBDIRS will be traversed in &autoreconf_current_directory.
for my $directory (@ARGV)
{
- require_configure_ac;
+ require_configure_ac ($directory);
autoreconf ($directory);
}
prefix=/good
])
+# Make sure we can run autoreconf on a subdirectory
+rm -f configure configure.in
+AT_CHECK([autoreconf inner], [], [], [ignore])
+
+# Make sure we can pass a configure.ac name
+AT_CHECK([cd inner && autoreconf configure.in], [], [], [ignore])
+AT_CHECK([autoreconf inner/configure.in], [], [], [ignore])
+
AT_CLEANUP