mirror of
git://git.sv.gnu.org/autoconf
synced 2025-01-18 10:45:15 +08:00
* tests/atspecific.m4 (AT_CONFIGURE_AC): Double quote constant
part of the second argument to AT_DATA. * tests/compile.at (AC_PROG_CPP with warnings): Fix underquoting in a call to _AT_CHECK_AC_MACRO. (AC_PROG_CPP without warnings): Likewise.
This commit is contained in:
parent
73fee03b24
commit
e884e73541
@ -1,3 +1,11 @@
|
||||
2001-02-07 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* tests/atspecific.m4 (AT_CONFIGURE_AC): Double quote constant
|
||||
part of the second argument to AT_DATA.
|
||||
* tests/compile.at (AC_PROG_CPP with warnings): Fix underquoting
|
||||
in a call to _AT_CHECK_AC_MACRO.
|
||||
(AC_PROG_CPP without warnings): Likewise.
|
||||
|
||||
2001-02-11 Jim Meyering <meyering@lucent.com>
|
||||
|
||||
Ensure that even `autoscan --version' fails when e.g.,
|
||||
|
@ -29,14 +29,14 @@ include(atgeneral.m4) -*- Autoconf -*-
|
||||
m4_define([AT_CONFIGURE_AC],
|
||||
[AT_CLEANUP_FILES(env-after state*)dnl
|
||||
AT_DATA([configure.ac],
|
||||
[AC_INIT
|
||||
[[AC_INIT
|
||||
AC_CONFIG_AUX_DIR($top_srcdir)
|
||||
AC_CONFIG_HEADER(config.h:config.hin)
|
||||
AC_STATE_SAVE(before)
|
||||
AC_STATE_SAVE(before)]
|
||||
$1
|
||||
AC_OUTPUT
|
||||
[AC_OUTPUT
|
||||
AC_STATE_SAVE(after)
|
||||
])])
|
||||
]])])
|
||||
|
||||
|
||||
# AT_CHECK_AUTOCONF(FLAGS, [EXIT-STATUS = 0], STDOUT, STDERR)
|
||||
|
@ -146,12 +146,12 @@ exec ${1+"$@"}
|
||||
chmod +x mycpp
|
||||
|
||||
_AT_CHECK_AC_MACRO(
|
||||
[AC_PROG_CPP
|
||||
[[AC_PROG_CPP
|
||||
# If the preprocessor is not strict, just ignore
|
||||
test "x$ac_c_preproc_warn_flag" = xyes &&
|
||||
AC_MSG_ERROR([preprocessor has no warning option], 77)
|
||||
CPP="./mycpp $CPP"
|
||||
AC_CHECK_HEADERS(stdio.h autoconf_io.h)])
|
||||
AC_CHECK_HEADERS(stdio.h autoconf_io.h)]])
|
||||
|
||||
AT_CHECK_DEFINES(
|
||||
[/* #undef HAVE_AUTOCONF_IO_H */
|
||||
@ -176,7 +176,7 @@ exit 0
|
||||
chmod +x mycpp
|
||||
|
||||
_AT_CHECK_AC_MACRO(
|
||||
[# Ignore if /lib/cpp doesn't work
|
||||
[[# Ignore if /lib/cpp doesn't work
|
||||
if AC_TRY_COMMAND([/lib/cpp </dev/null >&2]); then :; else
|
||||
AC_MSG_ERROR([preprocessor doesn't work], 77)
|
||||
fi
|
||||
@ -184,7 +184,7 @@ CPP=./mycpp
|
||||
AC_PROG_CPP
|
||||
test "x$ac_c_preproc_warn_flag" != xyes &&
|
||||
AC_MSG_ERROR([failed to detect preprocessor warning option])
|
||||
AC_CHECK_HEADERS(stdio.h autoconf_io.h)])
|
||||
AC_CHECK_HEADERS(stdio.h autoconf_io.h)]])
|
||||
|
||||
AT_CHECK_DEFINES(
|
||||
[/* #undef HAVE_AUTOCONF_IO_H */
|
||||
|
Loading…
Reference in New Issue
Block a user