This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
[v3] Run GLIBCXX_CHECK_STDIO_MACROS unconditionally
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Mon, 11 Aug 2008 17:10:51 +0200
- Subject: [v3] Run GLIBCXX_CHECK_STDIO_MACROS unconditionally
Hi,
it's just an AC_TRY_COMPILE, thus safe. Tested x86_64-linux, committed
to mainline.
Paolo.
/////////////
2008-08-11 Paolo Carlini <paolo.carlini@oracle.com>
* configure.ac: Run GLIBCXX_CHECK_STDIO_MACROS unconditionally.
* configure: Regenerate.
Index: configure.ac
===================================================================
*** configure.ac (revision 138953)
--- configure.ac (working copy)
*************** GLIBCXX_ENABLE_FULLY_DYNAMIC_STRING([no]
*** 122,127 ****
--- 122,129 ----
# Checks for operating systems support that don't require linking.
GLIBCXX_CHECK_SYSTEM_ERROR
+ # For common values of EOF, SEEK_CUR, SEEK_END.
+ GLIBCXX_CHECK_STDIO_MACROS
# Only do link tests if native. Else, hardcode.
if $GLIBCXX_IS_NATIVE; then
*************** if $GLIBCXX_IS_NATIVE; then
*** 167,175 ****
# For gettimeofday support.
GLIBCXX_CHECK_GETTIMEOFDAY
- #
- GLIBCXX_CHECK_STDIO_MACROS
-
# For TLS support.
GCC_CHECK_TLS
--- 169,174 ----