]> git.eshelyaron.com Git - emacs.git/commitdiff
Avoid glitches in ELC lines in build output
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 24 Jan 2022 07:22:04 +0000 (23:22 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 24 Jan 2022 07:23:31 +0000 (23:23 -0800)
* src/verbose.mk.in (AM_V_ELC, AM_V_ELN): Use ifneq not ifdef, as
we want have_working_info’s value expanded (Bug#53358).

src/verbose.mk.in

index eb99e426958ceeb062c9fa649618217d522aba63..4ec7788442d42f014bcb5e39296ed685624e2419 100644 (file)
@@ -56,7 +56,7 @@ AM_V_CCLD    = @$(info $   CCLD     $@)
 AM_V_CXXLD   = @$(info $   CXXLD    $@)
 
 ifeq ($(HAVE_NATIVE_COMP)-$(NATIVE_DISABLED)-$(ANCIENT),yes--)
-ifdef have_working_info
+ifneq (,$(have_working_info))
 AM_V_ELC     = @$(info $   ELC+ELN  $@)
 AM_V_ELN     = @$(info $   ELN      $@)
 else
@@ -64,7 +64,7 @@ AM_V_ELC     = @echo "  ELC+ELN " $@;
 AM_V_ELN     = @echo "  ELN     " $@;
 endif
 else
-ifdef have_working_info
+ifneq (,$(have_working_info))
 AM_V_ELC     = @$(info $   ELC      $@)
 else
 AM_V_ELC     = @echo "  ELC     " $@;