OSDN Git Service

2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / acconfig.h
index 30badd9..ffc33e8 100644 (file)
@@ -1,67 +1,78 @@
-// acconfig.h symbols and macros for libstdc++ v3 -*- C++ -*-
+// Symbols and macros for libstdc++ -*- C++ -*-
 
-// Include support for 'long long' and 'unsigned long long'.
-#undef _GLIBCPP_USE_LONG_LONG
+// Defines libstdc++ version.
+#undef PACKAGE
+#undef VERSION
 
-// Include support for shadow headers, ie --enable-cshadow-headers.
-#undef _GLIBCPP_USE_SHADOW_HEADERS
 
-// Define if the host has a type mbstate_t defined in
-// wchar.h, as required by 21.1.3.1. Some systems, namely
-// hppa-hp-hpux10.20 do not meet this requirement, and must be worked
-// around.
-#undef _GLIBCPP_NEED_MBSTATE_T
+// Define if code specialized for long long should be used.
+#undef _GLIBCXX_USE_LONG_LONG
 
 // Define if code specialized for wchar_t should be used.
-#undef _GLIBCPP_USE_WCHAR_T
+#undef _GLIBCXX_USE_WCHAR_T
 
-// Define if the compiler/host combination has __builtin_abs
-#undef HAVE___BUILTIN_ABS
+// Define if C99 functions or macros from <wchar.h>, <math.h>,
+// <complex.h>, <stdio.h>, and <stdlib.h> can be used or exposed.
+#undef _GLIBCXX_USE_C99
 
-// Define if the compiler/host combination has __builtin_labs
-#undef HAVE___BUILTIN_LABS
+// Define if C99 functions or macros in <math.h> should be imported in
+// <cmath> in namespace std.
+#undef _GLIBCXX_USE_C99_MATH
 
-// Define if the compiler/host combination has __builtin_cos
-#undef HAVE___BUILTIN_COS
+// Define if C99 functions in <complex.h> should be used in
+// <complex>. Using compiler builtins for these functions requires
+// corresponding C99 library functions to be present.
+#undef _GLIBCXX_USE_C99_COMPLEX
 
-// Define if the compiler/host combination has __builtin_cosf
-#undef HAVE___BUILTIN_COSF
+// Define if using setrlimit to set resource limits during 'make check'.
+#undef _GLIBCXX_RES_LIMITS
 
-// Define if the compiler/host combination has __builtin_cosl
-#undef HAVE___BUILTIN_COSL
+// Define to use concept checking code from the boost libraries.
+#undef _GLIBCXX_CONCEPT_CHECKS
 
-// Define if the compiler/host combination has __builtin_fabs
-#undef HAVE___BUILTIN_FABS
+// Define to use symbol versioning in the shared library.
+#undef _GLIBCXX_SYMVER
 
-// Define if the compiler/host combination has __builtin_fabsf
-#undef HAVE___BUILTIN_FABSF
+// 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 LFS support is available.
+#undef _GLIBCXX_USE_LFS
 
-// Define if the compiler/host combination has __builtin_fabsl
-#undef HAVE___BUILTIN_FABSL
+// Define if a fully dynamic basic_string is wanted.
+#undef _GLIBCXX_FULLY_DYNAMIC_STRING
 
-// Define if the compiler/host combination has __builtin_sin
-#undef HAVE___BUILTIN_SIN
+// Define if NLS translations are to be used.
+#undef _GLIBCXX_USE_NLS
 
-// Define if the compiler/host combination has __builtin_sinf
-#undef HAVE___BUILTIN_SINF
+// Define if gthr-default.h exists (meaning that threading support is enabled).
+#undef HAVE_GTHR_DEFAULT
 
-// Define if the compiler/host combination has __builtin_sinl
-#undef HAVE___BUILTIN_SINL
+// Define if mbstate_t exists in wchar.h.
+#undef HAVE_MBSTATE_T
 
-// Define if the compiler/host combination has __builtin_fsqrt
-#undef HAVE___BUILTIN_FSQRT
+// Define if poll is available in <poll.h>.
+#undef HAVE_POLL
 
-// Define if the compiler/host combination has __builtin_sqrtf
-#undef HAVE___BUILTIN_SQRTF
+// Define if S_ISREG (Posix) is available in <sys/stat.h>.
+#undef HAVE_S_ISREG
 
-// Define if the compiler/host combination has __builtin_sqrtl
-#undef HAVE___BUILTIN_SQRTL
+// Define if S_IFREG is available in <sys/stat.h>.
+#undef HAVE_S_IFREG
 
-// Define if GCC support for __complex__ float is buggy.
-#undef _GLIBCPP_BUGGY_FLOAT_COMPLEX
+// Define if writev is available in <sys/uio.h>.
+#undef HAVE_WRITEV
 
-// Define if GCC support for __complex__ is buggy.
-#undef _GLIBCPP_BUGGY_COMPLEX
+// Define if int64_t is available in <stdint.h>.
+#undef HAVE_INT64_T
 
 // Define if LC_MESSAGES is available in <locale.h>.
 #undef HAVE_LC_MESSAGES
 // Define if <float.h> exists.
 #undef HAVE_FLOAT_H
 
-// Define if modf is present in <math.h>
-#undef HAVE_MODF
-
 // @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 (HAVE__ISNAN) && ! defined (HAVE_ISNAN)
 # define HAVE_ISNAN 1
 # define isnan _isnan
 #endif
 
 #if defined (HAVE__TANL) && ! defined (HAVE_TANL)
-# define HAVE_TANF 1
-# define tanf _tanf
+# define HAVE_TANL 1
+# define tanl _tanl
 #endif
 
 #if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF)