From: Alexandre Duret-Lutz Date: Sat, 3 Jan 2004 15:40:06 +0000 (+0000) Subject: * automake.in (scan_texinfo_file): Do not compare $outfile to '' X-Git-Tag: Release-1-8b~107 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=c01c59e34236a2e4bf338cc04d88d049ad9805b9;p=automake.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 12697d8d..08694373 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 dd850d68..711353b5 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;