]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
(at_times_skip):
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Mar 2002 18:14:49 +0000 (18:14 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Mar 2002 18:14:49 +0000 (18:14 +0000)
Renamed from at_times.  Now a boolean.
ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
says 'times: not found'.

lib/autotest/general.m4

index 04c711768eabf26be86ff7ca5aab7d7b8da0dadc..e0e2da4e5f675a95bfe944aa9ed031d0a998ce8a 100644 (file)
@@ -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=$?
     ;;