This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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 ----

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]