it's useless here. Rename to ...
(_AC_PROG_PREPROC_WORKS): ... this.
+2000-09-12 Pavel Roskin <proski@gnu.org>
+
+ * aclocal.m4 (_AC_PROG_CPP_WORKS): Don't use AC_REQUIRE_CPP -
+ it's useless here. Rename to ...
+ (_AC_PROG_PREPROC_WORKS): ... this.
+
2000-09-12 RĂ¼diger Kuhlmann <autoconf-list@ruediger-kuhlmann.de>
* acspecific.m4 (AC_PROG_INSTALL): Exclude c:install on AmigaOS.
# -------------------- #
-# _AC_PROG_CPP_WORKS
-# ------------------
+# _AC_PROG_PREPROC_WORKS
+# ----------------------
# Check if $ac_cpp is a working preprocessor that can flag absent
# includes either by the exit status or by warnings
# Set ac_cpp_err to a non-empty value if the preprocessor failed
# This macro is for all languages, not only C
-AC_DEFUN([_AC_PROG_CPP_WORKS],
-[AC_REQUIRE_CPP()dnl
-# Use a header file that comes with gcc, so configuring glibc
+AC_DEFUN([_AC_PROG_PREPROC_WORKS],
+[# Use a header file that comes with gcc, so configuring glibc
# with a fresh cross-compiler works.
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp. "Syntax error" is here to catch this case.
fi
fi
rm -f conftest*
-])# _AC_PROG_CPP_WORKS
+])# _AC_PROG_PREPROC_WORKS
# AC_PROG_CPP
do
# CPP needs to be expanded
eval "CPP=\"$ac_tmp_cpp\""
- _AC_PROG_CPP_WORKS()
+ _AC_PROG_PREPROC_WORKS()
if test -z "$ac_cpp_err"; then
break
fi
])dnl
CPP=$ac_cv_prog_CPP
else
- _AC_PROG_CPP_WORKS()
+ _AC_PROG_PREPROC_WORKS()
ac_cv_prog_CPP=$CPP
fi
AC_MSG_RESULT($CPP)
do
# CXXCPP needs to be expanded
eval "CXXCPP=\"$ac_tmp_cxxcpp\""
- _AC_PROG_CPP_WORKS()
+ _AC_PROG_PREPROC_WORKS()
if test -z "$ac_cpp_err"; then
break
fi
])dnl
CXXCPP=$ac_cv_prog_CXXCPP
else
- _AC_PROG_CPP_WORKS()
+ _AC_PROG_PREPROC_WORKS()
ac_cv_prog_CXXCPP=$CXXCPP
fi
AC_MSG_RESULT($CXXCPP)
# -------------------- #
-# _AC_PROG_CPP_WORKS
-# ------------------
+# _AC_PROG_PREPROC_WORKS
+# ----------------------
# Check if $ac_cpp is a working preprocessor that can flag absent
# includes either by the exit status or by warnings
# Set ac_cpp_err to a non-empty value if the preprocessor failed
# This macro is for all languages, not only C
-AC_DEFUN([_AC_PROG_CPP_WORKS],
-[AC_REQUIRE_CPP()dnl
-# Use a header file that comes with gcc, so configuring glibc
+AC_DEFUN([_AC_PROG_PREPROC_WORKS],
+[# Use a header file that comes with gcc, so configuring glibc
# with a fresh cross-compiler works.
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp. "Syntax error" is here to catch this case.
fi
fi
rm -f conftest*
-])# _AC_PROG_CPP_WORKS
+])# _AC_PROG_PREPROC_WORKS
# AC_PROG_CPP
do
# CPP needs to be expanded
eval "CPP=\"$ac_tmp_cpp\""
- _AC_PROG_CPP_WORKS()
+ _AC_PROG_PREPROC_WORKS()
if test -z "$ac_cpp_err"; then
break
fi
])dnl
CPP=$ac_cv_prog_CPP
else
- _AC_PROG_CPP_WORKS()
+ _AC_PROG_PREPROC_WORKS()
ac_cv_prog_CPP=$CPP
fi
AC_MSG_RESULT($CPP)
do
# CXXCPP needs to be expanded
eval "CXXCPP=\"$ac_tmp_cxxcpp\""
- _AC_PROG_CPP_WORKS()
+ _AC_PROG_PREPROC_WORKS()
if test -z "$ac_cpp_err"; then
break
fi
])dnl
CXXCPP=$ac_cv_prog_CXXCPP
else
- _AC_PROG_CPP_WORKS()
+ _AC_PROG_PREPROC_WORKS()
ac_cv_prog_CXXCPP=$CXXCPP
fi
AC_MSG_RESULT($CXXCPP)
# -------------------- #
-# _AC_PROG_CPP_WORKS
-# ------------------
+# _AC_PROG_PREPROC_WORKS
+# ----------------------
# Check if $ac_cpp is a working preprocessor that can flag absent
# includes either by the exit status or by warnings
# Set ac_cpp_err to a non-empty value if the preprocessor failed
# This macro is for all languages, not only C
-AC_DEFUN([_AC_PROG_CPP_WORKS],
-[AC_REQUIRE_CPP()dnl
-# Use a header file that comes with gcc, so configuring glibc
+AC_DEFUN([_AC_PROG_PREPROC_WORKS],
+[# Use a header file that comes with gcc, so configuring glibc
# with a fresh cross-compiler works.
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp. "Syntax error" is here to catch this case.
fi
fi
rm -f conftest*
-])# _AC_PROG_CPP_WORKS
+])# _AC_PROG_PREPROC_WORKS
# AC_PROG_CPP
do
# CPP needs to be expanded
eval "CPP=\"$ac_tmp_cpp\""
- _AC_PROG_CPP_WORKS()
+ _AC_PROG_PREPROC_WORKS()
if test -z "$ac_cpp_err"; then
break
fi
])dnl
CPP=$ac_cv_prog_CPP
else
- _AC_PROG_CPP_WORKS()
+ _AC_PROG_PREPROC_WORKS()
ac_cv_prog_CPP=$CPP
fi
AC_MSG_RESULT($CPP)
do
# CXXCPP needs to be expanded
eval "CXXCPP=\"$ac_tmp_cxxcpp\""
- _AC_PROG_CPP_WORKS()
+ _AC_PROG_PREPROC_WORKS()
if test -z "$ac_cpp_err"; then
break
fi
])dnl
CXXCPP=$ac_cv_prog_CXXCPP
else
- _AC_PROG_CPP_WORKS()
+ _AC_PROG_PREPROC_WORKS()
ac_cv_prog_CXXCPP=$CXXCPP
fi
AC_MSG_RESULT($CXXCPP)
# -------------------- #
-# _AC_PROG_CPP_WORKS
-# ------------------
+# _AC_PROG_PREPROC_WORKS
+# ----------------------
# Check if $ac_cpp is a working preprocessor that can flag absent
# includes either by the exit status or by warnings
# Set ac_cpp_err to a non-empty value if the preprocessor failed
# This macro is for all languages, not only C
-AC_DEFUN([_AC_PROG_CPP_WORKS],
-[AC_REQUIRE_CPP()dnl
-# Use a header file that comes with gcc, so configuring glibc
+AC_DEFUN([_AC_PROG_PREPROC_WORKS],
+[# Use a header file that comes with gcc, so configuring glibc
# with a fresh cross-compiler works.
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp. "Syntax error" is here to catch this case.
fi
fi
rm -f conftest*
-])# _AC_PROG_CPP_WORKS
+])# _AC_PROG_PREPROC_WORKS
# AC_PROG_CPP
do
# CPP needs to be expanded
eval "CPP=\"$ac_tmp_cpp\""
- _AC_PROG_CPP_WORKS()
+ _AC_PROG_PREPROC_WORKS()
if test -z "$ac_cpp_err"; then
break
fi
])dnl
CPP=$ac_cv_prog_CPP
else
- _AC_PROG_CPP_WORKS()
+ _AC_PROG_PREPROC_WORKS()
ac_cv_prog_CPP=$CPP
fi
AC_MSG_RESULT($CPP)
do
# CXXCPP needs to be expanded
eval "CXXCPP=\"$ac_tmp_cxxcpp\""
- _AC_PROG_CPP_WORKS()
+ _AC_PROG_PREPROC_WORKS()
if test -z "$ac_cpp_err"; then
break
fi
])dnl
CXXCPP=$ac_cv_prog_CXXCPP
else
- _AC_PROG_CPP_WORKS()
+ _AC_PROG_PREPROC_WORKS()
ac_cv_prog_CXXCPP=$CXXCPP
fi
AC_MSG_RESULT($CXXCPP)