* automake.in (scan_texinfo_file): Do not compare $outfile to ''
authorAlexandre Duret-Lutz <adl@gnu.org>
Sat, 3 Jan 2004 15:40:07 +0000 (15:40 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Sat, 3 Jan 2004 15:40:07 +0000 (15:40 +0000)
as $outfile might not be defined at all.

ChangeLog
automake.in

index 12697d8..0869437 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2004-01-03  Alexandre Duret-Lutz  <adl@gnu.org>
 
+       * 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
index dd850d6..711353b 100755 (executable)
@@ -2643,7 +2643,7 @@ sub scan_texinfo_file ($)
 
     }
 
-  if ($outfile eq '')
+  if (! $outfile)
     {
       err_am "`$filename' missing \@setfilename";
       return;