From: Akim Demaille Date: Tue, 12 Sep 2000 10:23:08 +0000 (+0000) Subject: * acgeneral.m4 (AC_EGREP_CPP): Use additional quotes instead of X-Git-Tag: autoconf-2.50~637 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63ff0925135c0c70567ee2767f5dfb4954f3f65d;p=thirdparty%2Fautoconf.git * acgeneral.m4 (AC_EGREP_CPP): Use additional quotes instead of changequote. --- diff --git a/ChangeLog b/ChangeLog index 5589e590a..202d4e38b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-09-12 Pavel Roskin + + * acgeneral.m4 (AC_EGREP_CPP): Use additional quotes instead of + changequote. + 2000-09-12 RĂ¼diger Kuhlmann * acgeneral.m4 (AC_ARG_ENABLE,AC_ARG_WIDTH): Add trailing diff --git a/acgeneral.m4 b/acgeneral.m4 index e150203db..0917c50bc 100644 --- a/acgeneral.m4 +++ b/acgeneral.m4 @@ -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 diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index e150203db..0917c50bc 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -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