aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/configure
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/configure')
-rwxr-xr-xlibstdc++-v3/configure127
1 files changed, 3 insertions, 124 deletions
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index 9e5731f..727979b 100755
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
@@ -17302,127 +17302,6 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
- case "$host" in
- *-*-solaris2.*)
- # Solaris 8 FCS only had an overload for double std::abs(double) in
- # <iso/math_iso.h>. Patches 111721-04 (SPARC) and 112757-01 (x86)
- # introduced the full set also found from Solaris 9 onwards.
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float std::abs(float) overload" >&5
-$as_echo_n "checking for float std::abs(float) overload... " >&6; }
- if test "${glibcxx_cv_abs_float+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
-
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include <math.h>
- namespace std {
- inline float abs(float __x)
- { return __builtin_fabsf(__x); }
- }
-
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
- glibcxx_cv_abs_float=no
-else
- glibcxx_cv_abs_float=yes
-
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-
- # autoheader cannot handle indented templates.
-
-
-
- if test $glibcxx_cv_abs_float = yes; then
- $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO1 1" >>confdefs.h
-
- else
- $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO2 1" >>confdefs.h
-
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_float" >&5
-$as_echo "$glibcxx_cv_abs_float" >&6; }
- ;;
- esac
-
- ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-
-
- ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-
- case "$host" in
- *-*-solaris2.*)
- # Solaris 8 FCS lacked the overloads for long std::abs(long) and
- # ldiv_t std::div(long, long) in <iso/stdlib_iso.h>. Patches 109607-02
- # (SPARC) and 109608-02 (x86) introduced them.
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long std::abs(long) overload" >&5
-$as_echo_n "checking for long std::abs(long) overload... " >&6; }
- if test "${glibcxx_cv_abs_long+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
-
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include <stdlib.h>
- namespace std {
- inline long
- abs(long __i) { return labs(__i); }
- }
-
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
- glibcxx_cv_abs_long=no
-else
- glibcxx_cv_abs_long=yes
-
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-
- # autoheader cannot handle indented templates.
-
- if test $glibcxx_cv_abs_long = yes; then
- $as_echo "#define __CORRECT_ISO_CPP_STDLIB_H_PROTO 1" >>confdefs.h
-
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_long" >&5
-$as_echo "$glibcxx_cv_abs_long" >&6; }
- ;;
- esac
-
- ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-
-
- ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
$as_echo_n "checking for gets declaration... " >&6; }
if test "${glibcxx_cv_gets+set}" = set; then :
@@ -63713,7 +63592,7 @@ done
;;
*-solaris*)
case "$target" in
- *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
+ *-solaris2.9 | *-solaris2.10)
# If we're not using GNU ld, then there's no point in even trying these
# tests. Check for that first. We should have already tested for gld
@@ -65622,9 +65501,9 @@ main ()
_ACEOF
if ac_fn_cxx_try_compile "$LINENO"; then :
case $target_os in
- # gthreads support breaks symbol versioning on Solaris 8/9 (PR
+ # gthreads support breaks symbol versioning on Solaris 9 (PR
# libstdc++/52189).
- solaris2.[89]*)
+ solaris2.9*)
if test x$enable_symvers = xno; then
ac_has_gthreads=yes
elif test x$enable_libstdcxx_threads = xyes; then