mirror of
git://git.sv.gnu.org/autoconf
synced 2025-02-23 14:09:51 +08:00
* acgeneral.m4 (_AC_SH_QUOTE): Issue an `obsolete' warning for use
of backquotes, instead of a `syntax' warning.
This commit is contained in:
parent
793b1c797f
commit
e7ee56216e
@ -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...
|
||||
|
@ -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])])
|
||||
|
||||
|
@ -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])])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user