OSDN Git Service

2003-12-04 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / acconfig.h
index 3c79c8c..1eee550 100644 (file)
@@ -1,37 +1,76 @@
 // acconfig.h symbols and macros for libstdc++ v3 -*- C++ -*-
 
-// Define if GCC support for __complex__ float is buggy.
-#undef _GLIBCPP_BUGGY_FLOAT_COMPLEX
+// Defines libstdc++ version.
+#undef PACKAGE
+#undef VERSION
 
-// Define if GCC support for __complex__ is buggy.
-#undef _GLIBCPP_BUGGY_COMPLEX
+// Needed for gettext.
+#undef ENABLE_NLS
+#undef HAVE_CATGETS
+#undef HAVE_GETTEXT
+#undef HAVE_STPCPY
 
-// Include support for multiple threads, e.g., in the I/O package.
-#undef _GLIBCPP_USE_THREADS
+// Define if GCC supports weak symbols.
+#undef _GLIBCXX_SUPPORTS_WEAK
 
-// Include support for 'long long' and 'unsigned long long'.
-#undef _GLIBCPP_USE_LONG_LONG
+// Include I/O support for 'long long' and 'unsigned long long'.
+#undef _GLIBCXX_USE_LONG_LONG
 
-// Define if code specialized for wchar_t should be used.
-#undef _GLIBCPP_USE_C99
+// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed.
+#undef _GLIBCXX_USE_C99
 
 // Include support for 'long double'.
-#undef _GLIBCPP_USE_LONG_DOUBLE
+#undef _GLIBCXX_USE_LONG_DOUBLE
 
 // Include support for shadow headers, ie --enable-cshadow-headers.
-#undef _GLIBCPP_USE_SHADOW_HEADERS
+#undef _GLIBCXX_USE_SHADOW_HEADERS
 
 // Define if code specialized for wchar_t should be used.
-#undef _GLIBCPP_USE_WCHAR_T
+#undef _GLIBCXX_USE_WCHAR_T
+
+// Define if using setrlimit to limit memory usage during 'make check'.
+#undef _GLIBCXX_MEM_LIMITS
+
+// Define to use concept checking code from the boost libraries.
+#undef _GLIBCXX_CONCEPT_CHECKS
+
+// Define if the atan2f function exists.
+#undef HAVE_ATAN2F 
 
-// Define if you have the atan2f function.
-#undef _GLIBCPP_HAVE_ATAN2F 
+// Define if the atan2l function exists.
+#undef HAVE_ATAN2L
 
-// Define if you have the atan2l function.
-#undef _GLIBCPP_HAVE_ATAN2L
+// Define if the tanl function exists.
+#undef HAVE_TANL
 
-// Define if you have the copysignf function.
-#undef _GLIBCPP_HAVE_COPYSIGNF
+// Define if the copysignf function exists.
+#undef HAVE_COPYSIGNF
+
+// Define to use symbol versioning in the shared library.
+#undef _GLIBCXX_SYMVER
+
+// Define symbol versioning in assember directives. If symbol
+// versioning is beigng used, and the assembler supports this kind of
+// thing, then use it.
+// NB: _GLIBCXX_AT_AT is a hack to work around quoting issues in m4.
+#if _GLIBCXX_SYMVER
+  #define _GLIBCXX_ASM_SYMVER(cur, old, version) \
+   asm (".symver " #cur "," #old _GLIBCXX_AT_AT #version);
+#else
+  #define _GLIBCXX_ASM_SYMVER(cur, old, version)
+#endif
+
+// Define if gthr-default.h exists (meaning that threading support is enabled).
+#undef HAVE_GTHR_DEFAULT
+
+// Define if getpagesize exists.
+#undef HAVE_GETPAGESIZE
+
+// Define if setenv exists.
+#undef HAVE_SETENV
+
+// Define if sigsetjmp exists.
+#undef HAVE_SIGSETJMP
 
 // Define if mbstate_t exists in wchar.h.
 #undef HAVE_MBSTATE_T
 // Define if you have the modfl function.
 #undef HAVE_MODFL
 
+// Define if you have the expf function.
+#undef HAVE_EXPF
+
+// Define if you have the expl function.
+#undef HAVE_EXPL
+
+// Define if you have the hypot function.
+#undef HAVE_HYPOT
+
+// Define if you have the hypotf function.
+#undef HAVE_HYPOTF
+
+// Define if you have the hypotl function.
+#undef HAVE_HYPOTL
+
 // Define if the compiler/host combination has __builtin_abs
 #undef HAVE___BUILTIN_ABS
 
 // Define if the compiler/host combination has __builtin_sinl
 #undef HAVE___BUILTIN_SINL
 
-// Define if the compiler/host combination has __builtin_fsqrt
-#undef HAVE___BUILTIN_FSQRT
+// Define if the compiler/host combination has __builtin_sqrt
+#undef HAVE___BUILTIN_SQRT
 
 // Define if the compiler/host combination has __builtin_sqrtf
 #undef HAVE___BUILTIN_SQRTF
 // Define if the compiler/host combination has __builtin_sqrtl
 #undef HAVE___BUILTIN_SQRTL
 
+// Define if poll is available in <poll.h>.
+#undef HAVE_POLL
+
+// Define if S_ISREG (Posix) is available in <sys/stat.h>.
+#undef HAVE_S_ISREG
+
+// Define if S_IFREG is available in <sys/stat.h>.
+#undef HAVE_S_IFREG
+
+// Define if writev is available in <sys/uio.h>.
+#undef HAVE_WRITEV
+
+// Define if int64_t is available in <stdint.h>.
+#undef HAVE_INT64_T
+
+// Define if LFS support is available.
+#undef _GLIBCXX_USE_LFS
+
 // Define if LC_MESSAGES is available in <locale.h>.
 #undef HAVE_LC_MESSAGES
 
 // Define if modf is present in <math.h>
 #undef HAVE_MODF
 
+// Define if NLS translations are to be used.
+#undef _GLIBCXX_USE_NLS
+
 // @BOTTOM@
 //
 // Systems that have certain non-standard functions prefixed with an
 // underscore, we'll handle those here. Must come after config.h.in.
 //
-
-#if defined(_GLIBCPP_USE_C99) && defined(__cplusplus)
-// Placeholder for declarations in c99 namespace.
-namespace std
-{
-  namespace c99 { }
-  using namespace c99;
-}
-#endif
-
 #if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN)
 # define HAVE_ISNAN 1
 # define isnan _isnan