X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=libgfortran%2Fconfigure;h=0bd9a22d43fcf8aa7c257c95260081561f3c6e9a;hb=ad55073aebc429487335e8e8b1c07013cb4d2736;hp=ce49eb072c2335816e0b38a373e1f27a23e71c37;hpb=36d5d25779d473dc64ae80ebdc87cf78f9cdea67;p=pf3gnuchains%2Fgcc-fork.git diff --git a/libgfortran/configure b/libgfortran/configure index ce49eb072c2..0bd9a22d43f 100755 --- a/libgfortran/configure +++ b/libgfortran/configure @@ -459,6 +459,7 @@ ac_includes_default="\ ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os build_libsubdir build_subdir host_subdir target_subdir onestep_TRUE onestep_FALSE onestep host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AM_FCFLAGS AM_CFLAGS CFLAGS LIBGFOR_USE_SYMVER_TRUE LIBGFOR_USE_SYMVER_FALSE AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S lt_ECHO CPP CPPFLAGS enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran FPU_HOST_HEADER LIBOBJS LTLIBOBJS' ac_subst_files='' +ac_pwd=`pwd` # Initialize some variables set by options. ac_init_help= @@ -1421,13 +1422,22 @@ echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 + # differences in whitespace do not lead to failure. + ac_old_val_w=`echo x $ac_old_val` + ac_new_val_w=`echo x $ac_new_val` + if test "$ac_old_val_w" != "$ac_new_val_w"; then + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 -echo "$as_me: former value: $ac_old_val" >&2;} - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 -echo "$as_me: current value: $ac_new_val" >&2;} - ac_cache_corrupted=: + ac_cache_corrupted=: + else + { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 +echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + eval $ac_var=\$ac_old_val + fi + { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 +echo "$as_me: former value: \`$ac_old_val'" >&2;} + { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 +echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. @@ -1444,6 +1454,8 @@ echo "$as_me: current value: $ac_new_val" >&2;} fi done if $ac_cache_corrupted; then + { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +echo "$as_me: error: in \`$ac_pwd':" >&2;} { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 @@ -1483,6 +1495,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + ac_config_headers="$ac_config_headers config.h" ac_aux_dir= @@ -1728,6 +1743,7 @@ am__api_version="1.9" # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. +# Reject install programs that cannot install multiple files. echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 if test -z "$INSTALL"; then @@ -1761,8 +1777,18 @@ case $as_dir/ in # program-specific install script used by HP pwplus--don't use. : else - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" - break 3 + rm -rf conftest.one conftest.two conftest.dir + echo one > conftest.one + echo two > conftest.two + mkdir conftest.dir + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && + test -s conftest.one && test -s conftest.two && + test -s conftest.dir/conftest.one && + test -s conftest.dir/conftest.two + then + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi fi fi done @@ -1771,15 +1797,16 @@ case $as_dir/ in esac done +rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else - # As a last resort, use the slow shell script. We don't cache a - # path for INSTALL within a source directory, because that will + # As a last resort, use the slow shell script. Don't cache a + # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is - # removed, or if the path is relative. + # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi @@ -2542,11 +2569,13 @@ fi fi -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH +test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } + { (exit 1); exit 1; }; }; } # Provide some information about the compiler. echo "$as_me:$LINENO:" \ @@ -2665,11 +2694,13 @@ else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 +{ { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +echo "$as_me: error: in \`$ac_pwd':" >&2;} { { echo "$as_me:$LINENO: error: C compiler cannot create executables See \`config.log' for more details." >&5 echo "$as_me: error: C compiler cannot create executables See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; } + { (exit 77); exit 77; }; }; } fi ac_exeext=$ac_cv_exeext @@ -2694,13 +2725,15 @@ if test "$cross_compiling" != yes; then if test "$cross_compiling" = maybe; then cross_compiling=yes else - { { echo "$as_me:$LINENO: error: cannot run C compiled programs. + { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&5 echo "$as_me: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } + { (exit 1); exit 1; }; }; } fi fi fi @@ -2738,11 +2771,13 @@ for ac_file in conftest.exe conftest conftest.*; do esac done else - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link + { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } + { (exit 1); exit 1; }; }; } fi rm -f conftest$ac_cv_exeext @@ -2790,11 +2825,13 @@ else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 +{ { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +echo "$as_me: error: in \`$ac_pwd':" >&2;} { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } + { (exit 1); exit 1; }; }; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext @@ -3375,7 +3412,7 @@ fi # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC. if test "x$GCC" = "xyes"; then - AM_FCFLAGS="-I . -Wall -fno-repack-arrays -fno-underscoring" + AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring" ## We like to use C99 routines when available. This makes sure that ## __STDC_VERSION__ is set such that libc includes make them available. AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings" @@ -3744,6 +3781,7 @@ fi # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. +# Reject install programs that cannot install multiple files. echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 if test -z "$INSTALL"; then @@ -3777,8 +3815,18 @@ case $as_dir/ in # program-specific install script used by HP pwplus--don't use. : else - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" - break 3 + rm -rf conftest.one conftest.two conftest.dir + echo one > conftest.one + echo two > conftest.two + mkdir conftest.dir + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && + test -s conftest.one && test -s conftest.two && + test -s conftest.dir/conftest.one && + test -s conftest.dir/conftest.two + then + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi fi fi done @@ -3787,15 +3835,16 @@ case $as_dir/ in esac done +rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else - # As a last resort, use the slow shell script. We don't cache a - # path for INSTALL within a source directory, because that will + # As a last resort, use the slow shell script. Don't cache a + # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is - # removed, or if the path is relative. + # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi @@ -4348,13 +4397,13 @@ if test "${lt_cv_nm_interface+set}" = set; then else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext - (eval echo "\"\$as_me:4351: $ac_compile\"" >&5) + (eval echo "\"\$as_me:4400: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 - (eval echo "\"\$as_me:4354: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval echo "\"\$as_me:4403: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 - (eval echo "\"\$as_me:4357: output\"" >&5) + (eval echo "\"\$as_me:4406: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" @@ -5409,7 +5458,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 5412 "configure"' > conftest.$ac_ext + echo '#line 5461 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -5821,11 +5870,13 @@ rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check + { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } + { (exit 1); exit 1; }; }; } fi ac_ext=c @@ -6514,11 +6565,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6517: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6568: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6521: \$? = $ac_status" >&5 + echo "$as_me:6572: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -6836,11 +6887,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6839: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6890: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6843: \$? = $ac_status" >&5 + echo "$as_me:6894: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -6941,11 +6992,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6944: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6995: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:6948: \$? = $ac_status" >&5 + echo "$as_me:6999: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -6996,11 +7047,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6999: $lt_compile\"" >&5) + (eval echo "\"\$as_me:7050: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:7003: \$? = $ac_status" >&5 + echo "$as_me:7054: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -9848,7 +9899,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 9851 "configure" +#line 9902 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -9948,7 +9999,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 9951 "configure" +#line 10002 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -10278,7 +10329,7 @@ fi # Provide some information about the compiler. -echo "$as_me:10281:" \ +echo "$as_me:10332:" \ "checking for Fortran compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 @@ -10514,7 +10565,7 @@ fi # Provide some information about the compiler. -echo "$as_me:10517:" \ +echo "$as_me:10568:" \ "checking for Fortran compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 @@ -11230,11 +11281,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:11233: $lt_compile\"" >&5) + (eval echo "\"\$as_me:11284: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:11237: \$? = $ac_status" >&5 + echo "$as_me:11288: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -11329,11 +11380,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:11332: $lt_compile\"" >&5) + (eval echo "\"\$as_me:11383: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:11336: \$? = $ac_status" >&5 + echo "$as_me:11387: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -11381,11 +11432,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:11384: $lt_compile\"" >&5) + (eval echo "\"\$as_me:11435: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:11388: \$? = $ac_status" >&5 + echo "$as_me:11439: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -15884,19 +15935,23 @@ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_void_p=$ac_lo;; -'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77 +'') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (void *), 77 See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } ;; + { (exit 1); exit 1; }; }; } ;; esac else if test "$cross_compiling" = yes; then - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling + { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling See \`config.log' for more details." >&5 echo "$as_me: error: cannot run test program while cross compiling See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } + { (exit 1); exit 1; }; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ @@ -15954,11 +16009,13 @@ echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) +{ { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +echo "$as_me: error: in \`$ac_pwd':" >&2;} { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (void *), 77 See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } + { (exit 1); exit 1; }; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi @@ -16302,19 +16359,23 @@ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_long=$ac_lo;; -'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 +'') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (long), 77 See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } ;; + { (exit 1); exit 1; }; }; } ;; esac else if test "$cross_compiling" = yes; then - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling + { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling See \`config.log' for more details." >&5 echo "$as_me: error: cannot run test program while cross compiling See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } + { (exit 1); exit 1; }; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ @@ -16372,11 +16433,13 @@ echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) +{ { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +echo "$as_me: error: in \`$ac_pwd':" >&2;} { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (long), 77 See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } + { (exit 1); exit 1; }; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi @@ -16720,19 +16783,23 @@ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_int=$ac_lo;; -'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77 +'') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (int), 77 See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } ;; + { (exit 1); exit 1; }; }; } ;; esac else if test "$cross_compiling" = yes; then - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling + { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling See \`config.log' for more details." >&5 echo "$as_me: error: cannot run test program while cross compiling See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } + { (exit 1); exit 1; }; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ @@ -16790,11 +16857,13 @@ echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) +{ { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +echo "$as_me: error: in \`$ac_pwd':" >&2;} { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (int), 77 See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } + { (exit 1); exit 1; }; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi @@ -17134,19 +17203,23 @@ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_short=$ac_lo;; -'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77 +'') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (short), 77 See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } ;; + { (exit 1); exit 1; }; }; } ;; esac else if test "$cross_compiling" = yes; then - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling + { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling See \`config.log' for more details." >&5 echo "$as_me: error: cannot run test program while cross compiling See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } + { (exit 1); exit 1; }; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ @@ -17204,11 +17277,13 @@ echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) +{ { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +echo "$as_me: error: in \`$ac_pwd':" >&2;} { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (short), 77 See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } + { (exit 1); exit 1; }; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi @@ -17548,19 +17623,23 @@ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_char=$ac_lo;; -'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 +'') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (char), 77 See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } ;; + { (exit 1); exit 1; }; }; } ;; esac else if test "$cross_compiling" = yes; then - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling + { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling See \`config.log' for more details." >&5 echo "$as_me: error: cannot run test program while cross compiling See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } + { (exit 1); exit 1; }; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ @@ -17618,11 +17697,13 @@ echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) +{ { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +echo "$as_me: error: in \`$ac_pwd':" >&2;} { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (char), 77 See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } + { (exit 1); exit 1; }; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi @@ -18793,6 +18874,71 @@ _ACEOF fi +echo "$as_me:$LINENO: checking for uintptr_t" >&5 +echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6 +if test "${ac_cv_type_uintptr_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +if ((uintptr_t *) 0) + return 0; +if (sizeof (uintptr_t)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_uintptr_t=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_type_uintptr_t=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5 +echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6 +if test $ac_cv_type_uintptr_t = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_UINTPTR_T 1 +_ACEOF + + +fi + # Check libc for getgid, getpid, getuid echo "$as_me:$LINENO: checking for getgid in -lc" >&5 @@ -31971,7 +32117,7 @@ fi echo "$as_me:$LINENO: checking whether isfinite is broken" >&5 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6 -if test "${have_broken_isfinite+set}" = set; then +if test "${libgfor_cv_have_broken_isfinite+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -31980,8 +32126,8 @@ else if test "$cross_compiling" = yes; then case "${target}" in - hppa*-*-hpux*) have_broken_isfinite=yes ;; - *) have_broken_isfinite=no ;; + hppa*-*-hpux*) libgfor_cv_have_broken_isfinite=yes ;; + *) libgfor_cv_have_broken_isfinite=no ;; esac else cat >conftest.$ac_ext <<_ACEOF @@ -32017,22 +32163,22 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - have_broken_isfinite=no + libgfor_cv_have_broken_isfinite=no else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) -have_broken_isfinite=yes +libgfor_cv_have_broken_isfinite=yes fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi LIBS=$libgfor_check_for_broken_isfinite_save_LIBS fi -echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5 -echo "${ECHO_T}$have_broken_isfinite" >&6 -if test x"$have_broken_isfinite" = xyes; then +echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_isfinite" >&5 +echo "${ECHO_T}$libgfor_cv_have_broken_isfinite" >&6 +if test x"$libgfor_cv_have_broken_isfinite" = xyes; then cat >>confdefs.h <<\_ACEOF #define HAVE_BROKEN_ISFINITE 1 @@ -32044,7 +32190,7 @@ fi echo "$as_me:$LINENO: checking whether isnan is broken" >&5 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6 -if test "${have_broken_isnan+set}" = set; then +if test "${libgfor_cv_have_broken_isnan+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -32053,8 +32199,8 @@ else if test "$cross_compiling" = yes; then case "${target}" in - hppa*-*-hpux*) have_broken_isnan=yes ;; - *) have_broken_isnan=no ;; + hppa*-*-hpux*) libgfor_cv_have_broken_isnan=yes ;; + *) libgfor_cv_have_broken_isnan=no ;; esac else cat >conftest.$ac_ext <<_ACEOF @@ -32108,22 +32254,22 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - have_broken_isnan=no + libgfor_cv_have_broken_isnan=no else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) -have_broken_isnan=yes +libgfor_cv_have_broken_isnan=yes fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi LIBS=$libgfor_check_for_broken_isnan_save_LIBS fi -echo "$as_me:$LINENO: result: $have_broken_isnan" >&5 -echo "${ECHO_T}$have_broken_isnan" >&6 -if test x"$have_broken_isnan" = xyes; then +echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_isnan" >&5 +echo "${ECHO_T}$libgfor_cv_have_broken_isnan" >&6 +if test x"$libgfor_cv_have_broken_isnan" = xyes; then cat >>confdefs.h <<\_ACEOF #define HAVE_BROKEN_ISNAN 1 @@ -32135,7 +32281,7 @@ fi echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6 -if test "${have_broken_fpclassify+set}" = set; then +if test "${libgfor_cv_have_broken_fpclassify+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -32144,8 +32290,8 @@ else if test "$cross_compiling" = yes; then case "${target}" in - hppa*-*-hpux*) have_broken_fpclassify=yes ;; - *) have_broken_fpclassify=no ;; + hppa*-*-hpux*) libgfor_cv_have_broken_fpclassify=yes ;; + *) libgfor_cv_have_broken_fpclassify=no ;; esac else cat >conftest.$ac_ext <<_ACEOF @@ -32183,22 +32329,22 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - have_broken_fpclassify=no + libgfor_cv_have_broken_fpclassify=no else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) -have_broken_fpclassify=yes +libgfor_cv_have_broken_fpclassify=yes fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS fi -echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5 -echo "${ECHO_T}$have_broken_fpclassify" >&6 -if test x"$have_broken_fpclassify" = xyes; then +echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_fpclassify" >&5 +echo "${ECHO_T}$libgfor_cv_have_broken_fpclassify" >&6 +if test x"$libgfor_cv_have_broken_fpclassify" = xyes; then cat >>confdefs.h <<\_ACEOF #define HAVE_BROKEN_FPCLASSIFY 1 @@ -32210,15 +32356,15 @@ fi echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6 -if test "${have_working_stat+set}" = set; then +if test "${libgfor_cv_have_working_stat+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then case "${target}" in - *mingw*) have_working_stat=no ;; - *) have_working_stat=yes;; + *mingw*) libgfor_cv_have_working_stat=no ;; + *) libgfor_cv_have_working_stat=yes;; esac else cat >conftest.$ac_ext <<_ACEOF @@ -32260,21 +32406,21 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - have_working_stat=yes + libgfor_cv_have_working_stat=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) -have_working_stat=no +libgfor_cv_have_working_stat=no fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi -echo "$as_me:$LINENO: result: $have_working_stat" >&5 -echo "${ECHO_T}$have_working_stat" >&6 -if test x"$have_working_stat" = xyes; then +echo "$as_me:$LINENO: result: $libgfor_cv_have_working_stat" >&5 +echo "${ECHO_T}$libgfor_cv_have_working_stat" >&6 +if test x"$libgfor_cv_have_working_stat" = xyes; then cat >>confdefs.h <<\_ACEOF #define HAVE_WORKING_STAT 1 @@ -32286,7 +32432,7 @@ fi echo "$as_me:$LINENO: checking whether __mingw_snprintf is present" >&5 echo $ECHO_N "checking whether __mingw_snprintf is present... $ECHO_C" >&6 -if test "${have_mingw_snprintf+set}" = set; then +if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -32337,20 +32483,20 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - eval "have_mingw_snprintf=yes" + eval "libgfor_cv_have_mingw_snprintf=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -eval "have_mingw_snprintf=no" +eval "libgfor_cv_have_mingw_snprintf=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $have_mingw_snprintf" >&5 -echo "${ECHO_T}$have_mingw_snprintf" >&6 - if test x"$have_mingw_snprintf" = xyes; then +echo "$as_me:$LINENO: result: $libgfor_cv_have_mingw_snprintf" >&5 +echo "${ECHO_T}$libgfor_cv_have_mingw_snprintf" >&6 + if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then cat >>confdefs.h <<\_ACEOF #define HAVE_MINGW_SNPRINTF 1 @@ -32442,7 +32588,7 @@ fi echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6 -if test "${have_fpsetmask+set}" = set; then +if test "${libgfor_cv_have_fpsetmask+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -32494,20 +32640,20 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - eval "have_fpsetmask=yes" + eval "libgfor_cv_have_fpsetmask=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -eval "have_fpsetmask=no" +eval "libgfor_cv_have_fpsetmask=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $have_fpsetmask" >&5 -echo "${ECHO_T}$have_fpsetmask" >&6 - if test x"$have_fpsetmask" = xyes; then +echo "$as_me:$LINENO: result: $libgfor_cv_have_fpsetmask" >&5 +echo "${ECHO_T}$libgfor_cv_have_fpsetmask" >&6 + if test x"$libgfor_cv_have_fpsetmask" = xyes; then cat >>confdefs.h <<\_ACEOF #define HAVE_FPSETMASK 1 @@ -32737,7 +32883,7 @@ FPU_HOST_HEADER=config/${fpu_host}.h echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6 -if test "${have_attribute_visibility+set}" = set; then +if test "${libgfor_cv_have_attribute_visibility+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -32780,19 +32926,19 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - have_attribute_visibility=yes + libgfor_cv_have_attribute_visibility=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -have_attribute_visibility=no +libgfor_cv_have_attribute_visibility=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS="$save_CFLAGS" fi -echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5 -echo "${ECHO_T}$have_attribute_visibility" >&6 - if test $have_attribute_visibility = yes; then +echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_visibility" >&5 +echo "${ECHO_T}$libgfor_cv_have_attribute_visibility" >&6 + if test $libgfor_cv_have_attribute_visibility = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_ATTRIBUTE_VISIBILITY 1 @@ -32802,7 +32948,7 @@ _ACEOF echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6 -if test "${have_attribute_dllexport+set}" = set; then +if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -32845,19 +32991,19 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - have_attribute_dllexport=yes + libgfor_cv_have_attribute_dllexport=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -have_attribute_dllexport=no +libgfor_cv_have_attribute_dllexport=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS="$save_CFLAGS" fi -echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5 -echo "${ECHO_T}$have_attribute_dllexport" >&6 - if test $have_attribute_dllexport = yes; then +echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_dllexport" >&5 +echo "${ECHO_T}$libgfor_cv_have_attribute_dllexport" >&6 + if test $libgfor_cv_have_attribute_dllexport = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_ATTRIBUTE_DLLEXPORT 1 @@ -32867,7 +33013,7 @@ _ACEOF echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6 -if test "${have_attribute_alias+set}" = set; then +if test "${libgfor_cv_have_attribute_alias+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -32915,19 +33061,19 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - have_attribute_alias=yes + libgfor_cv_have_attribute_alias=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -have_attribute_alias=no +libgfor_cv_have_attribute_alias=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $have_attribute_alias" >&5 -echo "${ECHO_T}$have_attribute_alias" >&6 - if test $have_attribute_alias = yes; then +echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_alias" >&5 +echo "${ECHO_T}$libgfor_cv_have_attribute_alias" >&6 + if test $libgfor_cv_have_attribute_alias = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_ATTRIBUTE_ALIAS 1 @@ -32939,7 +33085,7 @@ _ACEOF echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6 -if test "${have_sync_fetch_and_add+set}" = set; then +if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -32987,19 +33133,19 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - have_sync_fetch_and_add=yes + libgfor_cv_have_sync_fetch_and_add=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -have_sync_fetch_and_add=no +libgfor_cv_have_sync_fetch_and_add=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5 -echo "${ECHO_T}$have_sync_fetch_and_add" >&6 - if test $have_sync_fetch_and_add = yes; then +echo "$as_me:$LINENO: result: $libgfor_cv_have_sync_fetch_and_add" >&5 +echo "${ECHO_T}$libgfor_cv_have_sync_fetch_and_add" >&6 + if test $libgfor_cv_have_sync_fetch_and_add = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_SYNC_FETCH_AND_ADD 1 @@ -33011,16 +33157,16 @@ _ACEOF echo "$as_me:$LINENO: checking configured target thread model" >&5 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6 -if test "${target_thread_file+set}" = set; then +if test "${libgfor_cv_target_thread_file+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'` +libgfor_cv_target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'` fi -echo "$as_me:$LINENO: result: $target_thread_file" >&5 -echo "${ECHO_T}$target_thread_file" >&6 +echo "$as_me:$LINENO: result: $libgfor_cv_target_thread_file" >&5 +echo "${ECHO_T}$libgfor_cv_target_thread_file" >&6 - if test $target_thread_file != single; then + if test $libgfor_cv_target_thread_file != single; then cat >>confdefs.h <<\_ACEOF #define HAVE_GTHR_DEFAULT 1 @@ -33032,7 +33178,7 @@ _ACEOF echo "$as_me:$LINENO: checking whether pragma weak works" >&5 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6 -if test "${have_pragma_weak+set}" = set; then +if test "${libgfor_cv_have_pragma_weak+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -33076,18 +33222,18 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - have_pragma_weak=yes + libgfor_cv_have_pragma_weak=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -have_pragma_weak=no +libgfor_cv_have_pragma_weak=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $have_pragma_weak" >&5 -echo "${ECHO_T}$have_pragma_weak" >&6 - if test $have_pragma_weak = yes; then +echo "$as_me:$LINENO: result: $libgfor_cv_have_pragma_weak" >&5 +echo "${ECHO_T}$libgfor_cv_have_pragma_weak" >&6 + if test $libgfor_cv_have_pragma_weak = yes; then cat >>confdefs.h <<\_ACEOF #define SUPPORTS_WEAK 1 @@ -33108,15 +33254,15 @@ _ACEOF echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6 -if test "${have_unlink_open_file+set}" = set; then +if test "${libgfor_cv_have_unlink_open_file+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then case "${target}" in - *mingw*) have_unlink_open_file=no ;; - *) have_unlink_open_file=yes;; + *mingw*) libgfor_cv_have_unlink_open_file=no ;; + *) libgfor_cv_have_unlink_open_file=yes;; esac else cat >conftest.$ac_ext <<_ACEOF @@ -33160,21 +33306,21 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - have_unlink_open_file=yes + libgfor_cv_have_unlink_open_file=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) -have_unlink_open_file=no +libgfor_cv_have_unlink_open_file=no fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi -echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5 -echo "${ECHO_T}$have_unlink_open_file" >&6 -if test x"$have_unlink_open_file" = xyes; then +echo "$as_me:$LINENO: result: $libgfor_cv_have_unlink_open_file" >&5 +echo "${ECHO_T}$libgfor_cv_have_unlink_open_file" >&6 +if test x"$libgfor_cv_have_unlink_open_file" = xyes; then cat >>confdefs.h <<\_ACEOF #define HAVE_UNLINK_OPEN_FILE 1 @@ -33186,15 +33332,15 @@ fi echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6 -if test "${have_crlf+set}" = set; then +if test "${libgfor_cv_have_crlf+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then case "${target}" in - *mingw*) have_crlf=yes ;; - *) have_crlf=no;; + *mingw*) libgfor_cv_have_crlf=yes ;; + *) libgfor_cv_have_crlf=no;; esac else cat >conftest.$ac_ext <<_ACEOF @@ -33250,21 +33396,21 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - have_crlf=yes + libgfor_cv_have_crlf=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) -have_crlf=no +libgfor_cv_have_crlf=no fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi -echo "$as_me:$LINENO: result: $have_crlf" >&5 -echo "${ECHO_T}$have_crlf" >&6 -if test x"$have_crlf" = xyes; then +echo "$as_me:$LINENO: result: $libgfor_cv_have_crlf" >&5 +echo "${ECHO_T}$libgfor_cv_have_crlf" >&6 +if test x"$libgfor_cv_have_crlf" = xyes; then cat >>confdefs.h <<\_ACEOF #define HAVE_CRLF 1