]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* acgeneral.m4 (AC_EGREP_CPP): Use additional quotes instead of
authorAkim Demaille <akim@epita.fr>
Tue, 12 Sep 2000 10:23:08 +0000 (10:23 +0000)
committerAkim Demaille <akim@epita.fr>
Tue, 12 Sep 2000 10:23:08 +0000 (10:23 +0000)
changequote.

ChangeLog
acgeneral.m4
lib/autoconf/general.m4

index 5589e590a7bd400d1df2325ef5743a7984612b4f..202d4e38b1974287b853a1349db60fdd3a72c88b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-09-12  Pavel Roskin  <proski@gnu.org>
+
+       * acgeneral.m4 (AC_EGREP_CPP): Use additional quotes instead of
+       changequote.
+
 2000-09-12  RĂ¼diger Kuhlmann <autoconf-list@ruediger-kuhlmann.de>
 
        * acgeneral.m4 (AC_ARG_ENABLE,AC_ARG_WIDTH): Add trailing
index e150203db53c0e4f91f09f675795c70684a92f8f..0917c50bce9cd370377e63c93f2c93efed969964 100644 (file)
@@ -3298,10 +3298,8 @@ AC_LANG_CONFTEST([AC_LANG_SOURCE([[$2]])])
 dnl eval is necessary to expand ac_cpp.
 dnl Ultrix and Pyramid sh refuse to redirect output of eval, so use subshell.
 if (eval "$ac_cpp conftest.$ac_ext") 2>&AC_FD_LOG |
-dnl Prevent m4 from eating character classes:
-changequote(, )dnl
-  egrep "$1" >/dev/null 2>&1; then
-changequote([, ])dnl
+dnl Quote $1 to prevent m4 from eating character classes
+  egrep "[$1]" >/dev/null 2>&1; then
   m4_default([$3], :)
 m4_ifvanl([$4], [else
   $4])dnl
index e150203db53c0e4f91f09f675795c70684a92f8f..0917c50bce9cd370377e63c93f2c93efed969964 100644 (file)
@@ -3298,10 +3298,8 @@ AC_LANG_CONFTEST([AC_LANG_SOURCE([[$2]])])
 dnl eval is necessary to expand ac_cpp.
 dnl Ultrix and Pyramid sh refuse to redirect output of eval, so use subshell.
 if (eval "$ac_cpp conftest.$ac_ext") 2>&AC_FD_LOG |
-dnl Prevent m4 from eating character classes:
-changequote(, )dnl
-  egrep "$1" >/dev/null 2>&1; then
-changequote([, ])dnl
+dnl Quote $1 to prevent m4 from eating character classes
+  egrep "[$1]" >/dev/null 2>&1; then
   m4_default([$3], :)
 m4_ifvanl([$4], [else
   $4])dnl