autoconf-patches
[Top][All Lists]
Advanced

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

94-as-literal-if.patch


From: Akim Demaille
Subject: 94-as-literal-if.patch
Date: Sat, 13 Jan 2001 00:19:31 +0100

The goal of the four next patches is to create a testsuite.log.

94-as-literal-if.patch
  I wanted to use AC_VAR_INDIR_IFELSE in Autotest, so first move it
  into M4sh.

95-as-box.patch
  I wanted more flexibility with the banners, hence a macro was welcome.
  In addition this is the first time I use Sed's `x' and `h', which was
  quite fun.

96-testsuite-log.patch
  Creates the log files and makes the `ignored' message less frightening
  to users.  Well, I hope.

97-at-test-id-display.patch
  Improves its readability.


Index: 0.561/ChangeLog
from  Akim Demaille  <address@hidden>
        * acgeneral.m4 (AC_VAR_INDIR_IFELSE): Move as...
        * m4sh.m4 (AS_LITERAL_IF): this.
        (AS_IFELSE): Rename as...
        (AS_IF): this.

Index: 0.561/acfunctions.m4
--- 0.561/acfunctions.m4 Fri, 12 Jan 2001 22:21:56 +0100 akim 
(ace/b/37_acfunction 1.12 644)
+++ 0.562(w)/acfunctions.m4 Fri, 12 Jan 2001 22:46:46 +0100 akim 
(ace/b/37_acfunction 1.13 644)
@@ -69,8 +69,7 @@
 [AC_LINK_IFELSE([AC_LANG_FUNC_LINK_TRY([$1])],
                 [AC_VAR_SET(ac_var, yes)],
                 [AC_VAR_SET(ac_var, no)])])
-AS_IFELSE([test AC_VAR_GET(ac_var) = yes],
-          [$2], [$3])dnl
+AS_IF([test AC_VAR_GET(ac_var) = yes], [$2], [$3])[]dnl
 AC_VAR_POPDEF([ac_var])dnl
 ])# AC_CHECK_FUNC

Index: 0.561/acgeneral.m4
--- 0.561/acgeneral.m4 Sat, 23 Dec 2000 11:50:19 +0100 akim (ace/27_acgeneral. 
1.169.8.108 644)
+++ 0.562(w)/acgeneral.m4 Fri, 12 Jan 2001 22:45:11 +0100 akim 
(ace/27_acgeneral. 1.169.8.109 644)
@@ -312,8 +312,8 @@
 # TEMPLATE associated to the KEY.  Otherwise, do nothing.  TEMPLATE is
 # output as is, with no formating.
 m4_define([AH_VERBATIM],
-[AC_VAR_INDIR_IFELSE([$1],,
-                     [AH_OUTPUT([$1], _AS_QUOTE([[$2]]))])
+[AS_LITERAL_IF([$1],
+               [AH_OUTPUT([$1], _AS_QUOTE([[$2]]))])
 ])


@@ -361,14 +361,6 @@
 #   AC_VAR_SET(ac_$var, val)
 # and expect the right thing to happen.

-# AC_VAR_INDIR_IFELSE(EXPRESSION, IF-INDIR, IF-NOT-INDIR)
-# -------------------------------------------------------
-# If EXPRESSION has shell indirections ($var or `expr`), expand
-# IF-INDIR, else IF-NOT-INDIR.
-m4_define([AC_VAR_INDIR_IFELSE],
-[m4_if(m4_regexp([$1], [[`$]]),
-       -1, [$3],
-       [$2])])

 # AC_VAR_SET(VARIABLE, VALUE)
 # ---------------------------
@@ -376,9 +368,9 @@
 # If the variable contains indirections (e.g. `ac_cv_func_$ac_func')
 # perform whenever possible at m4 level, otherwise sh level.
 m4_define([AC_VAR_SET],
-[AC_VAR_INDIR_IFELSE([$1],
-                     [eval "$1=$2"],
-                     [$1=$2])])
+[AS_LITERAL_IF([$1],
+               [$1=$2],
+               [eval "$1=$2"])])


 # AC_VAR_GET(VARIABLE)
@@ -387,9 +379,9 @@
 # Evaluates to $VARIABLE if there are no indirection in VARIABLE,
 # else into the appropriate `eval' sequence.
 m4_define([AC_VAR_GET],
-[AC_VAR_INDIR_IFELSE([$1],
-                     [`eval echo '${'m4_patsubst($1, [[\\`]], [\\\&])'}'`],
-                     [$[]$1])])
+[AS_LITERAL_IF([$1],
+               [$[]$1],
+               [`eval echo '${'m4_patsubst($1, [[\\`]], [\\\&])'}'`])])


 # AC_VAR_TEST_SET(VARIABLE)
@@ -397,9 +389,9 @@
 # Expands into the `test' expression which is true if VARIABLE
 # is set.  Polymorphic.  Should be dnl'ed.
 m4_define([AC_VAR_TEST_SET],
-[AC_VAR_INDIR_IFELSE([$1],
-                     [eval "test \"\${$1+set}\" = set"],
-                     [test "${$1+set}" = set])])
+[AS_LITERAL_IF([$1],
+               [test "${$1+set}" = set],
+               [eval "test \"\${$1+set}\" = set"])])


 # AC_VAR_SET_IFELSE(VARIABLE, IF-TRUE, IF-FALSE)
@@ -407,7 +399,7 @@
 # Implement a shell `if-then-else' depending whether VARIABLE is set
 # or not.  Polymorphic.
 m4_define([AC_VAR_SET_IFELSE],
-[AS_IFELSE([AC_VAR_TEST_SET([$1])], [$2], [$3])])
+[AS_IF([AC_VAR_TEST_SET([$1])], [$2], [$3])])


 # AC_VAR_PUSHDEF and AC_VAR_POPDEF
@@ -442,10 +434,10 @@
 # named VALUE.  VALUE does not need to be a valid shell variable name:
 # the transliteration is handled here.  To be dnl'ed.
 m4_define([AC_VAR_PUSHDEF],
-[AC_VAR_INDIR_IFELSE([$2],
-                     [ac_$1=AC_TR_SH($2)
-m4_pushdef([$1], [$ac_[$1]])],
-                     [m4_pushdef([$1], [AC_TR_SH($2)])])])
+[AS_LITERAL_IF([$2],
+               [m4_pushdef([$1], [AC_TR_SH($2)])],
+               [ac_$1=AC_TR_SH($2)
+m4_pushdef([$1], [$ac_[$1]])])])


 # AC_VAR_POPDEF(VARNAME)
@@ -471,12 +463,12 @@
 # `#define'.  sh/m4 polymorphic.  Make sure to update the definition
 # of `$ac_tr_cpp' if you change this.
 m4_define([AC_TR_CPP],
-[AC_VAR_INDIR_IFELSE([$1],
-                     [`echo "$1" | $ac_tr_cpp`],
-                     [m4_patsubst(m4_translit([[$1]],
-                                              [*abcdefghijklmnopqrstuvwxyz],
-                                              [PABCDEFGHIJKLMNOPQRSTUVWXYZ]),
-                                  [[^A-Z0-9_]], [_])])])
+[AS_LITERAL_IF([$1],
+               [m4_patsubst(m4_translit([[$1]],
+                                        [*abcdefghijklmnopqrstuvwxyz],
+                                        [PABCDEFGHIJKLMNOPQRSTUVWXYZ]),
+                            [[^A-Z0-9_]], [_])],
+               [`echo "$1" | $ac_tr_cpp`])])


 # AC_TR_SH(EXPRESSION)
@@ -485,10 +477,10 @@
 # sh/m4 polymorphic.
 # Make sure to update the definition of `$ac_tr_sh' if you change this.
 m4_define([AC_TR_SH],
-[AC_VAR_INDIR_IFELSE([$1],
-                     [`echo "$1" | $ac_tr_sh`],
-                     [m4_patsubst(m4_translit([[$1]], [*+], [pp]),
-                                  [[^a-zA-Z0-9_]], [_])])])
+[AS_LITERAL_IF([$1],
+               [m4_patsubst(m4_translit([[$1]], [*+], [pp]),
+                            [[^a-zA-Z0-9_]], [_])],
+               [`echo "$1" | $ac_tr_sh`])])



@@ -2067,7 +2059,7 @@
 # This macro is a wrapper around AC_DEFINE_TRACE_LITERAL which filters
 # out non literal symbols.
 m4_define([AC_DEFINE_TRACE],
-[AC_VAR_INDIR_IFELSE([$1], [], [AC_DEFINE_TRACE_LITERAL([$1])])])
+[AS_LITERAL_IF([$1], [AC_DEFINE_TRACE_LITERAL([$1])])])


 # AC_DEFINE(VARIABLE, [VALUE], [DESCRIPTION])
@@ -2342,8 +2334,8 @@
 # AGGREGATE.MEMBER is for instance `struct passwd.pw_gecos', shell
 # variables are not a valid argument.
 AC_DEFUN([AC_CHECK_MEMBER],
-[AC_VAR_INDIR_IFELSE([$1],
-                     [AC_FATAL([$0: requires literal arguments])])dnl
+[AS_LITERAL_IF([$1], [],
+               [AC_FATAL([$0: requires literal arguments])])dnl
 m4_if(m4_regexp([$1], [\.]), -1,
       [AC_FATAL([$0: Did not see any dot in `$1'])])dnl
 AC_REQUIRE([AC_HEADER_STDC])dnl
@@ -2357,8 +2349,7 @@
 foo.m4_patsubst([$1], [^[^.]*\.]);])],
                 [AC_VAR_SET(ac_Member, yes)],
                 [AC_VAR_SET(ac_Member, no)])])
-AS_IFELSE([test AC_VAR_GET(ac_Member) = yes],
-          [$2], [$3])dnl
+AS_IF([test AC_VAR_GET(ac_Member) = yes], [$2], [$3])[]dnl
 AC_VAR_POPDEF([ac_Member])dnl
 ])# AC_CHECK_MEMBER

@@ -2650,10 +2641,10 @@
 break])
 done
 LIBS=$ac_func_search_save_LIBS])
-AS_IFELSE([test "$ac_cv_search_$1" != no],
+AS_IF([test "$ac_cv_search_$1" != no],
   [test "$ac_cv_search_$1" = "none required" || LIBS="$ac_cv_search_$1 $LIBS"
   $3],
-                [$4])[]dnl
+      [$4])[]dnl
 ])


@@ -2688,12 +2679,11 @@
                  [AC_VAR_SET(ac_Lib, yes)],
                  [AC_VAR_SET(ac_Lib, no)])
 LIBS=$ac_check_lib_save_LIBS])
-AS_IFELSE([test AC_VAR_GET(ac_Lib) = yes],
-          [m4_default([$3],
-                      [AC_DEFINE_UNQUOTED(AC_TR_CPP(HAVE_LIB$1))
+AS_IF([test AC_VAR_GET(ac_Lib) = yes],
+      [m4_default([$3], [AC_DEFINE_UNQUOTED(AC_TR_CPP(HAVE_LIB$1))
   LIBS="-l$1 $LIBS"
 ])],
-                [$4])dnl
+      [$4])[]dnl
 AC_VAR_POPDEF([ac_Lib])dnl
 ])# AC_CHECK_LIB

@@ -2831,11 +2821,11 @@
 m4_define([_AC_COMPILE_IFELSE],
 [m4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])dnl
 rm -f conftest.$ac_objext
-AS_IFELSE([AC_TRY_EVAL(ac_compile) && test -s conftest.$ac_objext],
-          [$2],
-[echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
+AS_IF([AC_TRY_EVAL(ac_compile) && test -s conftest.$ac_objext],
+      [$2],
+      [echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
 cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD
-m4_ifvaln([$3],[$3])dnl])
+m4_ifvaln([$3],[$3])dnl])[]dnl
 rm -f conftest.$ac_objext m4_ifval([$1], [conftest.$ac_ext])[]dnl
 ])# _AC_COMPILE_IFELSE

@@ -2870,12 +2860,12 @@
 m4_define([_AC_LINK_IFELSE],
 [m4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])dnl
 rm -f conftest.$ac_objext conftest$ac_exeext
-AS_IFELSE([AC_TRY_EVAL(ac_link) &&
-            AC_TRY_COMMAND([test -s conftest$ac_exeext])],
-          [$2],
-          [echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
+AS_IF([AC_TRY_EVAL(ac_link) &&
+         AC_TRY_COMMAND([test -s conftest$ac_exeext])],
+      [$2],
+      [echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
 cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD
-m4_ifvaln([$3], [$3])dnl])
+m4_ifvaln([$3], [$3])dnl])[]dnl
 rm -f conftest$ac_exeext m4_ifval([$1], [conftest.$ac_ext])[]dnl
 ])# _AC_LINK_IFELSE

@@ -2927,12 +2917,12 @@
 m4_define([_AC_RUN_IFELSE],
 [m4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])dnl
 rm -f conftest$ac_exeext
-AS_IFELSE([AC_TRY_EVAL(ac_link) && AC_TRY_COMMAND(./conftest$ac_exeext)],
-          [$2],
-[echo "$as_me: program exited with status $ac_status" >&AS_MESSAGE_LOG_FD
+AS_IF([AC_TRY_EVAL(ac_link) && AC_TRY_COMMAND(./conftest$ac_exeext)],
+      [$2],
+      [echo "$as_me: program exited with status $ac_status" >&AS_MESSAGE_LOG_FD
 echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
 cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD
-m4_ifvaln([$3], [$3])dnl])
+m4_ifvaln([$3], [$3])dnl])[]dnl
 rm -f conftest$ac_exeext m4_ifval([$1], [conftest.$ac_ext])[]dnl
 ])# _AC_RUN_IFELSE

@@ -2984,8 +2974,7 @@
 else
   AC_VAR_SET(ac_File, no)
 fi])
-AS_IFELSE([test AC_VAR_GET(ac_File) = yes],
-          [$2], [$3])dnl
+AS_IF([test AC_VAR_GET(ac_File) = yes], [$2], [$3])[]dnl
 AC_VAR_POPDEF([ac_File])dnl
 ])# AC_CHECK_FILE

@@ -3021,8 +3010,7 @@
 ])],
                    [AC_VAR_SET(ac_Symbol, yes)],
                    [AC_VAR_SET(ac_Symbol, no)])])
-AS_IFELSE([test AC_VAR_GET(ac_Symbol) = yes],
-          [$2], [$3])dnl
+AS_IF([test AC_VAR_GET(ac_Symbol) = yes], [$2], [$3])[]dnl
 AC_VAR_POPDEF([ac_Symbol])dnl
 ])# AC_CHECK_DECL

@@ -3063,9 +3051,9 @@
 # We need `FILENAME-NOEXT.o', save this into `LIBOBJS'.
 # We don't use AC_SUBST/2 because it forces an unneeded eol.
 m4_define([_AC_LIBOBJ],
-[AC_VAR_INDIR_IFELSE([$1],
-                     [$2],
-                     [AC_LIBOBJ_DECL([$1])])dnl
+[AS_LITERAL_IF([$1],
+               [AC_LIBOBJ_DECL([$1])],
+               [$2])dnl
 AC_SUBST([LIBOBJS])dnl
 LIBOBJS="$LIBOBJS $1.$ac_objext"])

@@ -3139,8 +3127,8 @@
 # AC_CHECK_SIZEOF(TYPE, [IGNORED], [INCLUDES])
 # --------------------------------------------
 AC_DEFUN([AC_CHECK_SIZEOF],
-[AC_VAR_INDIR_IFELSE([$1],
-                     [AC_FATAL([$0: requires literal arguments])])dnl
+[AS_LITERAL_IF([$1], [],
+               [AC_FATAL([$0: requires literal arguments])])dnl
 AC_CHECK_TYPE([$1], [], [], [$3])
 AC_CACHE_CHECK([size of $1], AC_TR_SH([ac_cv_sizeof_$1]),
 [if test "$AC_TR_SH([ac_cv_type_$1])" = yes; then
@@ -3253,8 +3241,7 @@
   return 0;])],
                    [AC_VAR_SET(ac_Type, yes)],
                    [AC_VAR_SET(ac_Type, no)])])
-AS_IFELSE([test AC_VAR_GET(ac_Type) = yes],
-          [$2], [$3])dnl
+AS_IF([test AC_VAR_GET(ac_Type) = yes], [$2], [$3])[]dnl
 AC_VAR_POPDEF([ac_Type])dnl
 ])# _AC_CHECK_TYPE_NEW

@@ -3729,9 +3716,8 @@
 [_AC_CONFIG_UNIQUE([$1])dnl
 AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
 m4_append([_AC_LIST_SUBDIRS], [ $1])dnl
-AC_VAR_INDIR_IFELSE([$1],
-                    [AC_DIAGNOSE(syntax,
-                                [$0: you should use literals])])
+AS_LITERAL_IF([$1], [],
+              [AC_DIAGNOSE(syntax, [$0: you should use literals])])
 m4_divert_text([DEFAULTS], [ac_subdirs_all="$ac_subdirs_all $1"])
 AC_SUBST(subdirs, "$subdirs $1")dnl
 ])
@@ -4797,5 +4783,5 @@
     fi
   done

-  AS_IFELSE([test x"$ac_exists" = xtrue], [$3], [$4])
+  AS_IF([test x"$ac_exists" = xtrue], [$3], [$4])[]dnl
 ])
Index: 0.561/acheaders.m4
--- 0.561/acheaders.m4 Wed, 13 Dec 2000 19:56:27 +0100 akim 
(ace/b/48_acheaders. 1.4 644)
+++ 0.562(w)/acheaders.m4 Fri, 12 Jan 2001 22:36:55 +0100 akim 
(ace/b/48_acheaders. 1.5 644)
@@ -70,8 +70,7 @@
                [AC_PREPROC_IFELSE([AC_LANG_SOURCE(address@hidden:@include 
<$1>])],
                                   [AC_VAR_SET(ac_Header, yes)],
                                   [AC_VAR_SET(ac_Header, no)])])
-AS_IFELSE([test AC_VAR_GET(ac_Header) = yes],
-          [$2], [$3])dnl
+AS_IF([test AC_VAR_GET(ac_Header) = yes], [$2], [$3])[]dnl
 AC_VAR_POPDEF([ac_Header])dnl
 ])# AC_CHECK_HEADER

@@ -120,8 +119,7 @@
                                     [DIR *dirp = 0;])],
                    [AC_VAR_SET(ac_Header, yes)],
                    [AC_VAR_SET(ac_Header, no)])])
-AS_IFELSE([test AC_VAR_GET(ac_Header) = yes],
-          [$2], [$3])dnl
+AS_IF([test AC_VAR_GET(ac_Header) = yes], [$2], [$3])[]dnl
 AC_VAR_POPDEF([ac_Header])dnl
 ])# _AC_CHECK_HEADER_DIRENT

Index: 0.561/aclang.m4
--- 0.561/aclang.m4 Fri, 12 Jan 2001 22:21:56 +0100 akim (ace/b/32_aclang.m4 
1.5.3.66 644)
+++ 0.562(w)/aclang.m4 Fri, 12 Jan 2001 22:37:19 +0100 akim (ace/b/32_aclang.m4 
1.5.3.67 644)
@@ -655,7 +655,7 @@
 m4_define([_AC_COMPILER_EXEEXT_DEFAULT],
 [# Try without -o first, disregard a.out.
 ac_link_default=`echo "$ac_link" | sed ['s/ -o *conftest[^ ]*//']`
-AS_IFELSE([AC_TRY_EVAL(ac_link_default)],
+AS_IF([AC_TRY_EVAL(ac_link_default)],
 [for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do
   case $ac_file in
     *.$ac_ext | *.out | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
@@ -664,7 +664,7 @@
     * ) break;;
   esac
 done],
-          [echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
+      [echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
 cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD])
 rm -f a.out a.exe conftest$ac_cv_exeext
 ])# _AC_COMPILER_EXEEXT_DEFAULT
@@ -728,7 +728,7 @@
 [AC_CACHE_CHECK([for object suffix], ac_cv_objext,
 [AC_LANG_CONFTEST([AC_LANG_PROGRAM()])
 rm -f conftest.o conftest.obj
-AS_IFELSE([AC_TRY_EVAL(ac_compile)],
+AS_IF([AC_TRY_EVAL(ac_compile)],
 [for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
   case $ac_file in
     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
@@ -736,7 +736,7 @@
        break;;
   esac
 done],
-          [echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
+      [echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
 cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD
 AC_MSG_ERROR([cannot compute OBJEXT: cannot compile])])
 rm -f conftest.$ac_cv_objext conftest.$ac_ext])
@@ -1255,8 +1255,8 @@
 # overwrite an existing `.o' file with `-o', although they will create
 # one.
 ac_try='$F77 $FFLAGS -c conftest.$ac_ext -o conftest.$ac_objext 
>&AS_MESSAGE_LOG_FD'
-if AC_TRY_EVAL(ac_try) &&
-     test -f conftest.$ac_objext &&
+if AC_TRY_EVAL(ac_try) &&
+     test -f conftest.$ac_objext &&
      AC_TRY_EVAL(ac_try); then
   ac_cv_prog_f77_c_o=yes
 else
Index: 0.561/m4sh.m4
--- 0.561/m4sh.m4 Fri, 15 Dec 2000 19:32:22 +0100 akim (ace/b/41_m4sh.m4 1.14 
644)
+++ 0.562(w)/m4sh.m4 Fri, 12 Jan 2001 22:49:20 +0100 akim (ace/b/41_m4sh.m4 
1.15 644)
@@ -108,8 +108,8 @@
 [{ (exit m4_default([$1], 1)); exit; }])


-# AS_IFELSE(TEST, [IF-TRUE], [IF-FALSE])
-# --------------------------------------
+# AS_IF(TEST, [IF-TRUE], [IF-FALSE])
+# ----------------------------------
 # Expand into
 # | if TEST; then
 # |   IF-TRUE
@@ -117,7 +117,7 @@
 # |   IF-FALSE
 # | fi
 # with simplifications is IF-TRUE and/or IF-FALSE is empty.
-m4_define([AS_IFELSE],
+m4_define([AS_IF],
 [m4_ifval([$2$3],
 [if $1; then
   m4_ifval([$2], [$2], :)
@@ -126,7 +126,7 @@
   $3])dnl
 fi
 ])dnl
-])# AS_IFELSE
+])# AS_IF


 # _AS_UNSET_PREPARE
@@ -313,6 +313,18 @@
 ## ------------------ ##

 # This section is lexicographically sorted.
+
+# AS_LITERAL_IF(EXPRESSION, IF-LITERAL, IF-NOT-LITERAL)
+# -----------------------------------------------------
+# If EXPRESSION has shell indirections ($var or `expr`), expand
+# IF-INDIR, else IF-NOT-INDIR.
+# This is an *approximation*: for instance EXPRESSION = `\$' is
+# definitely a literal, but will not be recognized as so.
+m4_define([AS_LITERAL_IF],
+[m4_if(m4_regexp([$1], [[`$]]),
+       -1, [$2],
+       [$3])])
+

 # AS_TMPDIR(PREFIX)
 # -----------------
Index: 0.561/tests/atgeneral.m4
--- 0.561/tests/atgeneral.m4 Fri, 12 Jan 2001 00:29:35 +0100 akim 
(ace/b/19_atgeneral. 1.46 644)
+++ 0.562(w)/tests/atgeneral.m4 Fri, 12 Jan 2001 22:32:27 +0100 akim 
(ace/b/19_atgeneral. 1.47 644)
@@ -466,7 +466,7 @@
    *) $at_verbose "$srcdir/AT_LINE: exit code was $at_status, expected 
m4_default([$2], [0])" >&2
       at_failed=:;;])
 esac
-AS_IFELSE($at_failed, [$5], [$6])
+AS_IF($at_failed, [$5], [$6])
 $at_failed && exit 1
 $at_traceon
 ])# AT_CHECK



reply via email to

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