diff options
author | Ian Lance Taylor <iant@google.com> | 2010-11-18 07:35:34 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2010-11-18 07:35:34 +0000 |
commit | 0e1a989c9ce9fadd574cef4b059e82bb2922a2a7 (patch) | |
tree | 51a9f53a8b54f9f33e8b831f0f4b3041681ed540 /libcpp/config.in | |
parent | 49a35931ee5a81997c3e7e39ffa4ef009a3bf8e1 (diff) | |
download | gcc-0e1a989c9ce9fadd574cef4b059e82bb2922a2a7.zip gcc-0e1a989c9ce9fadd574cef4b059e82bb2922a2a7.tar.gz gcc-0e1a989c9ce9fadd574cef4b059e82bb2922a2a7.tar.bz2 |
re PR bootstrap/45538 (--enable-build-with-cxx compiling gcc/libcpp/charset.c)
PR bootstrap/45538
* configure.ac: Use AC_USE_SYSTEM_EXTENSIONS. Remove switch of
AC_LANG based on ENABLE_BUILD_WITH_CXX.
From-SVN: r166896
Diffstat (limited to 'libcpp/config.in')
-rw-r--r-- | libcpp/config.in | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/libcpp/config.in b/libcpp/config.in index 4637ced..05542fe 100644 --- a/libcpp/config.in +++ b/libcpp/config.in @@ -275,6 +275,28 @@ /* Define to 1 if your <sys/time.h> declares `struct tm'. */ #undef TM_IN_SYS_TIME +/* Enable extensions on AIX 3, Interix. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable threading extensions on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif + + /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ #if defined AC_APPLE_UNIVERSAL_BUILD @@ -293,6 +315,16 @@ /* Define for large files, on AIX-style hosts. */ #undef _LARGE_FILES +/* Define to 1 if on MINIX. */ +#undef _MINIX + +/* Define to 2 if the system does not provide POSIX.1 features except with + this defined. */ +#undef _POSIX_1_SOURCE + +/* Define to 1 if you need to in order for `stat' and other things to work. */ +#undef _POSIX_SOURCE + /* Define to empty if `const' does not conform to ANSI C. */ #undef const |