]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* acgeneral.m4 (_AC_SH_QUOTE): Issue an `obsolete' warning for use
authorAkim Demaille <akim@epita.fr>
Thu, 12 Oct 2000 14:45:05 +0000 (14:45 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 12 Oct 2000 14:45:05 +0000 (14:45 +0000)
of backquotes, instead of a `syntax' warning.

ChangeLog
acgeneral.m4
lib/autoconf/general.m4

index 75f4f4d5ad447612f19f0370b2416cf952ad784c..1668d5e017eb81a725cf8c1c6312d115b74c1ba3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-10-12  Akim Demaille  <akim@epita.fr>
+
+       * acgeneral.m4 (_AC_SH_QUOTE): Issue an `obsolete' warning for use
+       of backquotes, instead of a `syntax' warning.
+
 2000-10-12  Akim Demaille  <akim@epita.fr>
 
        * acgeneral.m4 (AC_VAR_IN_INDIR, AC_VAR_IF_SET): Rename as...
index b3660af431fa76eb98234ebbf663240eb70fa755..28ceef5016a8396167938b0503bbc4314a919b2b 100644 (file)
@@ -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])])
 
index b3660af431fa76eb98234ebbf663240eb70fa755..28ceef5016a8396167938b0503bbc4314a919b2b 100644 (file)
@@ -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])])