mirror of
git://git.sv.gnu.org/autoconf
synced 2025-03-31 15:00:26 +08:00
autoconf -W error does not work.
* acgeneral.m4 (_AC_DIAGNOSE): use _AC_WARNING_IFELSE, _AC_WARNING_ENABLE is dead.
This commit is contained in:
parent
6d6355c8ac
commit
fcd8cd1260
@ -1,3 +1,10 @@
|
||||
2000-07-19 Akim Demaille <akim@epita.fr>
|
||||
|
||||
autoconf -W error does not work.
|
||||
|
||||
* acgeneral.m4 (_AC_DIAGNOSE): use _AC_WARNING_IFELSE,
|
||||
_AC_WARNING_ENABLE is dead.
|
||||
|
||||
2000-07-19 Akim Demaille <akim@epita.fr>
|
||||
|
||||
Martin Wilck found a Fortran 77 compiler which always exits with
|
||||
|
@ -2507,8 +2507,7 @@ s,@$1@,,;t t])])
|
||||
# AC_WARNING_IFELSE(CATEGORY, IF-TRUE, IF-FALSE)
|
||||
# ----------------------------------------------
|
||||
# If the CATEGORY of warnings is enabled, expand IF_TRUE otherwise
|
||||
# IF-FALSE. CATEGORY is enabled iff `AC_WARNING_ENABLE(CATEGORY)' or
|
||||
# `AC_WARNING_ENABLE(all)' is defined.
|
||||
# IF-FALSE.
|
||||
#
|
||||
# The variable `_AC_WARNINGS' contains a comma separated list of
|
||||
# warnings which order is the converse from the one specified by
|
||||
@ -2539,9 +2538,9 @@ define([_AC_WARNING_IFELSE],
|
||||
# Report MESSAGE as a warning, unless the user requested -W error,
|
||||
# in which case report a fatal error.
|
||||
define([_AC_DIAGNOSE],
|
||||
[ifdef([AC_WARNING_ENABLE(error)],
|
||||
[m4_fatal([$1])],
|
||||
[m4_warn([$1])])])
|
||||
[AC_WARNING_IFELSE([error],
|
||||
[m4_fatal([$1])],
|
||||
[m4_warn([$1])])])
|
||||
|
||||
|
||||
# AC_DIAGNOSE(CATEGORY, MESSAGE)
|
||||
|
@ -2507,8 +2507,7 @@ s,@$1@,,;t t])])
|
||||
# AC_WARNING_IFELSE(CATEGORY, IF-TRUE, IF-FALSE)
|
||||
# ----------------------------------------------
|
||||
# If the CATEGORY of warnings is enabled, expand IF_TRUE otherwise
|
||||
# IF-FALSE. CATEGORY is enabled iff `AC_WARNING_ENABLE(CATEGORY)' or
|
||||
# `AC_WARNING_ENABLE(all)' is defined.
|
||||
# IF-FALSE.
|
||||
#
|
||||
# The variable `_AC_WARNINGS' contains a comma separated list of
|
||||
# warnings which order is the converse from the one specified by
|
||||
@ -2539,9 +2538,9 @@ define([_AC_WARNING_IFELSE],
|
||||
# Report MESSAGE as a warning, unless the user requested -W error,
|
||||
# in which case report a fatal error.
|
||||
define([_AC_DIAGNOSE],
|
||||
[ifdef([AC_WARNING_ENABLE(error)],
|
||||
[m4_fatal([$1])],
|
||||
[m4_warn([$1])])])
|
||||
[AC_WARNING_IFELSE([error],
|
||||
[m4_fatal([$1])],
|
||||
[m4_warn([$1])])])
|
||||
|
||||
|
||||
# AC_DIAGNOSE(CATEGORY, MESSAGE)
|
||||
|
Loading…
x
Reference in New Issue
Block a user