2004-12-03 Stepan Kasal * bin/autoscan.in: Open autoscan.log only after ``parse_args''; so that eg. ``autoscan --help'' doesn't truncate it. Index: bin/autoscan.in =================================================================== RCS file: /cvsroot/autoconf/autoconf/bin/autoscan.in,v retrieving revision 1.99 diff -u -r1.99 autoscan.in --- bin/autoscan.in 20 Aug 2004 19:58:07 -0000 1.99 +++ bin/autoscan.in 3 Dec 2004 10:29:38 -0000 @@ -91,7 +91,7 @@ ); 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 @@ ## -------------- ## parse_args; +$log = new Autom4te::XFile ">$me.log"; + $autoconf .= " --debug" if $debug; $autoconf .= " --verbose" if $verbose; $autoconf .= join (' --include=', '', @include);