From: Alexandre Duret-Lutz Date: Sat, 3 Jan 2004 15:40:07 +0000 (+0000) Subject: * automake.in (scan_texinfo_file): Do not compare $outfile to '' X-Git-Tag: Release-1-8b~107 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f4cb8933c5e8f2ccaed32b94c81f3343b41637c;p=thirdparty%2Fautomake.git * automake.in (scan_texinfo_file): Do not compare $outfile to '' as $outfile might not be defined at all. --- diff --git a/ChangeLog b/ChangeLog index 12697d8d5..086943737 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2004-01-03 Alexandre Duret-Lutz + * automake.in (scan_texinfo_file): Do not compare $outfile to '' + as $outfile might not be defined at all. + * lib/Automake/Variable.pm (define): Rework the way we check Automake variable definition. Ensure consistent :=/+=/= definitions only for variables that have been and are defined by diff --git a/automake.in b/automake.in index dd850d689..711353b5e 100755 --- a/automake.in +++ b/automake.in @@ -2643,7 +2643,7 @@ sub scan_texinfo_file ($) } - if ($outfile eq '') + if (! $outfile) { err_am "`$filename' missing \@setfilename"; return;