summaryrefslogtreecommitdiff
path: root/libgfortran/configure
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/configure')
-rwxr-xr-xlibgfortran/configure11
1 files changed, 9 insertions, 2 deletions
diff --git a/libgfortran/configure b/libgfortran/configure
index 6b767eb1fd3..2410a3d341c 100755
--- a/libgfortran/configure
+++ b/libgfortran/configure
@@ -1991,6 +1991,13 @@ else
fi
+# Even if the default multilib is not a cross compilation,
+# it may be that some of the other multilibs are.
+if test $cross_compiling = no && test $multilib = yes \
+ && test "x${with_multisubdir}" != x ; then
+ cross_compiling=maybe
+fi
+
ac_config_commands="$ac_config_commands default-1"
@@ -4171,7 +4178,7 @@ test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
case $host in
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 4174 "configure"' > conftest.$ac_ext
+ echo '#line 4181 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -4561,7 +4568,7 @@ fi
# Provide some information about the compiler.
-echo "$as_me:4564:" \
+echo "$as_me:4571:" \
"checking for Fortran compiler version" >&5
ac_compiler=`set X $ac_compile; echo $2`
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5