aboutsummaryrefslogtreecommitdiff
path: root/libgfortran
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <coudert@clipper.ens.fr>2006-10-29 12:34:53 +0100
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>2006-10-29 11:34:53 +0000
commit9f9ef3032b5368e341c173cd2fa002722b59f2b3 (patch)
treeacf79f860555cba2c156473913ba8ffabd40cad6 /libgfortran
parent4551169f831b3b41c5ab40d5c8c94d22e479a41c (diff)
downloadgcc-9f9ef3032b5368e341c173cd2fa002722b59f2b3.zip
gcc-9f9ef3032b5368e341c173cd2fa002722b59f2b3.tar.gz
gcc-9f9ef3032b5368e341c173cd2fa002722b59f2b3.tar.bz2
configure: Regenerate.
* configure: Regenerate. * Makefile.in: Regenerate. * aclocal.m4: Regenerate. From-SVN: r118140
Diffstat (limited to 'libgfortran')
-rw-r--r--libgfortran/ChangeLog6
-rw-r--r--libgfortran/Makefile.in1
-rw-r--r--libgfortran/aclocal.m459
-rwxr-xr-xlibgfortran/configure11
4 files changed, 17 insertions, 60 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index d73d188..82db785 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,9 @@
+2006-10-29 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * configure: Regenerate.
+ * Makefile.in: Regenerate.
+ * aclocal.m4: Regenerate.
+
2006-10-28 Tobias Burnus <burnus@net-b.de>
PR fortran/29625
diff --git a/libgfortran/Makefile.in b/libgfortran/Makefile.in
index 313e5cf..75010a2 100644
--- a/libgfortran/Makefile.in
+++ b/libgfortran/Makefile.in
@@ -46,6 +46,7 @@ DIST_COMMON = $(am__configure_deps) $(srcdir)/../config.guess \
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../config/lead-dot.m4 \
+ $(top_srcdir)/../config/multi.m4 \
$(top_srcdir)/../config/stdint.m4 $(top_srcdir)/acinclude.m4 \
$(top_srcdir)/../config/acx.m4 \
$(top_srcdir)/../config/no-executables.m4 \
diff --git a/libgfortran/aclocal.m4 b/libgfortran/aclocal.m4
index afe428c..b8dca30 100644
--- a/libgfortran/aclocal.m4
+++ b/libgfortran/aclocal.m4
@@ -371,64 +371,6 @@ else
fi
AC_SUBST([mkdir_p])])
-# Copyright (C) 1998, 1999, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 5
-
-# AM_ENABLE_MULTILIB([MAKEFILE], [REL-TO-TOP-SRCDIR])
-# ---------------------------------------------------
-# Add --enable-multilib to configure.
-AC_DEFUN([AM_ENABLE_MULTILIB],
-[# Default to --enable-multilib
-AC_ARG_ENABLE(multilib,
-[ --enable-multilib build many library versions (default)],
-[case "$enableval" in
- yes) multilib=yes ;;
- no) multilib=no ;;
- *) AC_MSG_ERROR([bad value $enableval for multilib option]) ;;
- esac],
- [multilib=yes])
-
-# We may get other options which we leave undocumented:
-# --with-target-subdir, --with-multisrctop, --with-multisubdir
-# See config-ml.in if you want the gory details.
-
-if test "$srcdir" = "."; then
- if test "$with_target_subdir" != "."; then
- multi_basedir="$srcdir/$with_multisrctop../$2"
- else
- multi_basedir="$srcdir/$with_multisrctop$2"
- fi
-else
- multi_basedir="$srcdir/$2"
-fi
-AC_SUBST(multi_basedir)
-
-AC_OUTPUT_COMMANDS([
-# Only add multilib support code if we just rebuilt the top-level
-# Makefile.
-case " $CONFIG_FILES " in
- *" ]m4_default([$1],Makefile)[ "*)
- ac_file=]m4_default([$1],Makefile)[ . ${multi_basedir}/config-ml.in
- ;;
-esac],
- [
-srcdir="$srcdir"
-host="$host"
-target="$target"
-with_multisubdir="$with_multisubdir"
-with_multisrctop="$with_multisrctop"
-with_target_subdir="$with_target_subdir"
-ac_configure_args="${multilib_arg} ${ac_configure_args}"
-multi_basedir="$multi_basedir"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-CC="$CC"])])dnl
-
# Helper functions for option handling. -*- Autoconf -*-
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
@@ -639,5 +581,6 @@ AC_SUBST([am__untar])
]) # _AM_PROG_TAR
m4_include([../config/lead-dot.m4])
+m4_include([../config/multi.m4])
m4_include([../config/stdint.m4])
m4_include([acinclude.m4])
diff --git a/libgfortran/configure b/libgfortran/configure
index 6b767eb..2410a3d 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