From 9f4cb8933c5e8f2ccaed32b94c81f3343b41637c Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Sat, 3 Jan 2004 15:40:07 +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 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; -- 2.47.2