From: Akim Demaille Date: Thu, 12 Oct 2000 14:45:05 +0000 (+0000) Subject: * acgeneral.m4 (_AC_SH_QUOTE): Issue an `obsolete' warning for use X-Git-Tag: autoconf-2.50~581 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e7ee56216ecf0589662d14f25d47cf35a2d88fbd;p=thirdparty%2Fautoconf.git * acgeneral.m4 (_AC_SH_QUOTE): Issue an `obsolete' warning for use of backquotes, instead of a `syntax' warning. --- diff --git a/ChangeLog b/ChangeLog index 75f4f4d5a..1668d5e01 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-10-12 Akim Demaille + + * acgeneral.m4 (_AC_SH_QUOTE): Issue an `obsolete' warning for use + of backquotes, instead of a `syntax' warning. + 2000-10-12 Akim Demaille * acgeneral.m4 (AC_VAR_IN_INDIR, AC_VAR_IF_SET): Rename as... diff --git a/acgeneral.m4 b/acgeneral.m4 index b3660af43..28ceef501 100644 --- a/acgeneral.m4 +++ b/acgeneral.m4 @@ -2790,10 +2790,13 @@ define([_AC_SH_QUOTE_IFELSE], # -------------------- # If there are quoted (via backslash) backquotes do nothing, else # backslash all the quotes. +# FIXME: In a distant future (2.51 or +), this warning should be +# classified as `syntax'. It is claissified as `obsolete' to ease +# the transition (for Libtool for instance). define([_AC_SH_QUOTE], [_AC_SH_QUOTE_IFELSE([$1], [patsubst([$1], [\([`""]\)], [\\\1])], - [AC_DIAGNOSE([syntax], + [AC_DIAGNOSE([obsolete], [backquotes and double quotes should not be backslashed in: $1])dnl $1])]) diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index b3660af43..28ceef501 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -2790,10 +2790,13 @@ define([_AC_SH_QUOTE_IFELSE], # -------------------- # If there are quoted (via backslash) backquotes do nothing, else # backslash all the quotes. +# FIXME: In a distant future (2.51 or +), this warning should be +# classified as `syntax'. It is claissified as `obsolete' to ease +# the transition (for Libtool for instance). define([_AC_SH_QUOTE], [_AC_SH_QUOTE_IFELSE([$1], [patsubst([$1], [\([`""]\)], [\\\1])], - [AC_DIAGNOSE([syntax], + [AC_DIAGNOSE([obsolete], [backquotes and double quotes should not be backslashed in: $1])dnl $1])])