bug-autoconf
[Top][All Lists]
Advanced

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

Re: Autoconf-2.53 make check fails on OpenServer 5.0.6a


From: Paul Eggert
Subject: Re: Autoconf-2.53 make check fails on OpenServer 5.0.6a
Date: Thu, 14 Mar 2002 05:52:12 -0800 (PST)

Here's a proposed patch to work around the ksh bug I just mentioned.

2002-03-14  Paul Eggert  <address@hidden>

        * lib/autotest/general.m4 (at_times_skip):
        Renamed from at_times.  Now a boolean.
        ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
        says 'times: not found'.

===================================================================
RCS file: lib/autotest/general.m4,v
retrieving revision 2.53
retrieving revision 2.53.0.1
diff -pu -r2.53 -r2.53.0.1
--- lib/autotest/general.m4     2002/02/28 15:45:08     2.53
+++ lib/autotest/general.m4     2002/03/14 13:45:38     2.53.0.1
@@ -122,8 +122,8 @@ fi
 
 # Not all shells have the 'times' builtin; the subshell is needed to make
 # sure we discard the 'times: not found' message from the shell.
-at_times=:
-(times) >/dev/null 2>&1 && at_times=times
+at_times_skip=:
+(times) >/dev/null 2>&1 && at_times_skip=false
 
 # CLI Arguments to pass to the debugging scripts.
 at_debug_args=
@@ -734,7 +734,7 @@ m4_define([AT_CLEANUP],
 [m4_append([AT_help],
 
m4_defn([AT_ordinal]);m4_defn([AT_line]);m4_defn([AT_description]);m4_ifdef([AT_keywords],
 [m4_defn([AT_keywords])])
 )dnl
-    $at_times >$at_times_file
+    $at_times_skip || times >$at_times_file
     )
     at_status=$?
     ;;



reply via email to

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