]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* bin/autoscan.in: Open autoscan.log only after ``parse_args'';
authorStepan Kasal <kasal@ucw.cz>
Fri, 17 Dec 2004 14:21:50 +0000 (14:21 +0000)
committerStepan Kasal <kasal@ucw.cz>
Fri, 17 Dec 2004 14:21:50 +0000 (14:21 +0000)
  so that eg. ``autoscan --help'' doesn't truncate it.

ChangeLog
bin/autoscan.in

index 3aee5d279a376b244f1ff6a111ef6f5189c337a5..30eb287206f450da76118074276eed837d70f28f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-12-17  Stepan Kasal  <kasal@ucw.cz>
+
+       * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
+         so that eg. ``autoscan --help'' doesn't truncate it.
+
 2004-12-15  Nicolas Joly  <njoly@pasteur.fr>
 
        * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
index 6a57bc755a96ddc74c184879540a6ad4863de146..cd4db9a3c9f5239e4e0e1c2fa263c818d014072a 100644 (file)
@@ -91,7 +91,7 @@ my %needed_macros =
   );
 
 my $configure_scan = 'configure.scan';
-my $log = new Autom4te::XFile ">$me.log";
+my $log;
 
 # Autoconf and lib files.
 my $autom4te = $ENV{'AUTOM4TE'} || '@bindir@/@autom4te-name@';
@@ -620,6 +620,8 @@ sub check_configure_ac ($)
 ## -------------- ##
 
 parse_args;
+$log = new Autom4te::XFile ">$me.log";
+
 $autoconf .= " --debug" if $debug;
 $autoconf .= " --verbose" if $verbose;
 $autoconf .= join (' --include=', '', @include);