[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] handle LIBS="" in test case 567

From: Jeff Shimoda [Marbles504]
Subject: [PATCH] handle LIBS="" in test case 567
Date: Wed, 29 Jun 2022 19:34:02 -0400

Hello, another fix on z/OS Unix, this time for test case 567.  This
one happens to be very close to a problem reported in 2005 here:

I happen to be running into almost the same problem which is that on
z/OS Unix we are not setting the LIBS environment variable when
building/testing autoconf so on the first run of configure in test
567, LIBS="" appears in state-env.c-native.r1 but does not appear in
the second run of configure (which picks up the cache) in
state-env.c-native.r2.  When those two files are compared it results
in the test failing.  The fix back in 2005 was to add code to
tests/ to replace the single quotes in LIBS='' so the
comparison passes.  I would like to propose a similar fix which
replaces double quotes.

diff --git a/tests/ b/tests/
index 7318f92..f303f81 100644
--- a/tests/
+++ b/tests/
@@ -482,6 +482,7 @@ do
   $SED '/^ac_cv_/ b skip
        /^m4_defn([m4_re_word])=./ !d
        /^[[^=]]*='\'''\''$/ d
+       /^[[^=]]*=""$/ d
        /^a[[cs]]_/ d
        : skip
        /^OLDPWD=/ d

-Jeff Shimoda

reply via email to

[Prev in Thread] Current Thread [Next in Thread]