From 65da95ef4bcc9b7ba5d58578fda488e8456231fb Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Sat, 3 Jan 2004 15:43:20 +0000 Subject: [PATCH] * automake.in (scan_texinfo_file): Do not compare $outfile to '' as $outfile might not be defined at all. --- ChangeLog | 3 +++ automake.in | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 650c678f0..7b523e190 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 c6cf31ea9..c29e12214 100755 --- a/automake.in +++ b/automake.in @@ -2595,7 +2595,7 @@ sub scan_texinfo_file ($) } - if ($outfile eq '') + if (! $outfile) { err_am "`$filename' missing \@setfilename"; return; -- 2.11.4.GIT