diff options
Diffstat (limited to 'libgfortran/configure')
-rwxr-xr-x | libgfortran/configure | 182 |
1 files changed, 0 insertions, 182 deletions
diff --git a/libgfortran/configure b/libgfortran/configure index bc4a25b..cf2b587 100755 --- a/libgfortran/configure +++ b/libgfortran/configure @@ -24162,188 +24162,6 @@ $as_echo "#define HAVE_CLOG 1" >>confdefs.h fi -# Check for a isfinite macro that works on long doubles. - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isfinite is broken" >&5 -$as_echo_n "checking whether isfinite is broken... " >&6; } -if test "${libgfor_cv_have_broken_isfinite+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - libgfor_check_for_broken_isfinite_save_LIBS=$LIBS - LIBS="$LIBS -lm" - if test "$cross_compiling" = yes; then : - -case "${target}" in - hppa*-*-hpux*) libgfor_cv_have_broken_isfinite=yes ;; - *) libgfor_cv_have_broken_isfinite=no ;; -esac -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include <math.h> -#include <float.h> -int main () -{ -#ifdef isfinite -#ifdef LDBL_MAX - if (!isfinite(LDBL_MAX)) return 1; -#endif -#ifdef DBL_MAX - if (!isfinite(DBL_MAX)) return 1; -#endif -#endif -return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - libgfor_cv_have_broken_isfinite=no -else - libgfor_cv_have_broken_isfinite=yes -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - LIBS=$libgfor_check_for_broken_isfinite_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_isfinite" >&5 -$as_echo "$libgfor_cv_have_broken_isfinite" >&6; } -if test x"$libgfor_cv_have_broken_isfinite" = xyes; then - -$as_echo "#define HAVE_BROKEN_ISFINITE 1" >>confdefs.h - -fi - -# Check for a isnan macro that works on long doubles. - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan is broken" >&5 -$as_echo_n "checking whether isnan is broken... " >&6; } -if test "${libgfor_cv_have_broken_isnan+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - libgfor_check_for_broken_isnan_save_LIBS=$LIBS - LIBS="$LIBS -lm" - if test "$cross_compiling" = yes; then : - -case "${target}" in - hppa*-*-hpux*) libgfor_cv_have_broken_isnan=yes ;; - *) libgfor_cv_have_broken_isnan=no ;; -esac -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include <math.h> -#include <float.h> -int main () -{ -#ifdef isnan -#ifdef LDBL_MAX - { - long double x; - x = __builtin_nanl (""); - if (!isnan(x)) return 1; - if (isnan(LDBL_MAX)) return 1; -#ifdef NAN - x = (long double) NAN; - if (!isnan(x)) return 1; -#endif - } -#endif -#ifdef DBL_MAX - { - double y; - y = __builtin_nan (""); - if (!isnan(y)) return 1; - if (isnan(DBL_MAX)) return 1; -#ifdef NAN - y = (double) NAN; - if (!isnan(y)) return 1; -#endif - } -#endif -#endif -return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - libgfor_cv_have_broken_isnan=no -else - libgfor_cv_have_broken_isnan=yes -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - LIBS=$libgfor_check_for_broken_isnan_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_isnan" >&5 -$as_echo "$libgfor_cv_have_broken_isnan" >&6; } -if test x"$libgfor_cv_have_broken_isnan" = xyes; then - -$as_echo "#define HAVE_BROKEN_ISNAN 1" >>confdefs.h - -fi - -# Check for a fpclassify macro that works on long doubles. - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpclassify is broken" >&5 -$as_echo_n "checking whether fpclassify is broken... " >&6; } -if test "${libgfor_cv_have_broken_fpclassify+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS - LIBS="$LIBS -lm" - if test "$cross_compiling" = yes; then : - -case "${target}" in - hppa*-*-hpux*) libgfor_cv_have_broken_fpclassify=yes ;; - *) libgfor_cv_have_broken_fpclassify=no ;; -esac -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include <math.h> -#include <float.h> -int main () -{ -#ifdef fpclassify -#ifdef LDBL_MAX - if (fpclassify(LDBL_MAX) == FP_NAN - || fpclassify(LDBL_MAX) == FP_INFINITE) return 1; -#endif -#ifdef DBL_MAX - if (fpclassify(DBL_MAX) == FP_NAN - || fpclassify(DBL_MAX) == FP_INFINITE) return 1; -#endif -#endif -return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - libgfor_cv_have_broken_fpclassify=no -else - libgfor_cv_have_broken_fpclassify=yes -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_fpclassify" >&5 -$as_echo "$libgfor_cv_have_broken_fpclassify" >&6; } -if test x"$libgfor_cv_have_broken_fpclassify" = xyes; then - -$as_echo "#define HAVE_BROKEN_FPCLASSIFY 1" >>confdefs.h - -fi - # Check whether the system has a working stat() { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5 |