[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: AC_TRY
From: |
Akim Demaille |
Subject: |
FYI: AC_TRY |
Date: |
22 Dec 2000 11:16:38 +0100 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) |
Index: ChangeLog
from Akim Demaille <address@hidden>
* acgeneral.m4 (_AC_EVAL, AC_TRY_EVAL, AC_TRY_COMMAND): Be a
single statement, so that one can make pipes with AC_TRYs, just as
in 2.13.
Index: acgeneral.m4
===================================================================
RCS file: /cvs/autoconf/acgeneral.m4,v
retrieving revision 1.650
diff -u -u -r1.650 acgeneral.m4
--- acgeneral.m4 2000/12/15 07:48:41 1.650
+++ acgeneral.m4 2000/12/22 10:11:41
@@ -2243,9 +2243,10 @@
# Eval COMMAND, save the exit status in ac_status, and log it.
AC_DEFUN([_AC_EVAL],
[{ (eval echo "$as_me:__oline__: \"$1\"") >&AS_MESSAGE_LOG_FD
- (eval $1) 2>&AS_MESSAGE_LOG_FD
- ac_status=$?
- echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD; }])
+ (eval $1) 2>&AS_MESSAGE_LOG_FD
+ ac_status=$?
+ echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+ (exit $ac_status); }])
# AC_TRY_EVAL(VARIABLE)
@@ -2253,13 +2254,13 @@
# The purpose of this macro is to "configure:123: command line"
# written into config.log for every test run.
AC_DEFUN([AC_TRY_EVAL],
-[_AC_EVAL([$]$1) && (exit $ac_status) ])
+[_AC_EVAL([$]$1)])
# AC_TRY_COMMAND(COMMAND)
# -----------------------
AC_DEFUN([AC_TRY_COMMAND],
-[_AC_EVAL([$1]) && (exit $ac_status) ])
+[_AC_EVAL([$1])])
## ------------------ ##
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: AC_TRY,
Akim Demaille <=