aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/configure.ac
diff options
context:
space:
mode:
authorBernhard Fischer <aldot@gcc.gnu.org>2007-09-21 19:49:34 +0000
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>2007-09-21 19:49:34 +0000
commitb808ac33a97113fc591eed84ac4979875981fdea (patch)
treeb57636f8c1b5193dcceafc1c293a8ca33b685ab2 /libgfortran/configure.ac
parent2fba4aaacbad53813854e22016736f235b1f6465 (diff)
downloadgcc-b808ac33a97113fc591eed84ac4979875981fdea.zip
gcc-b808ac33a97113fc591eed84ac4979875981fdea.tar.gz
gcc-b808ac33a97113fc591eed84ac4979875981fdea.tar.bz2
re PR libfortran/31546 (add --enable-intermodule)
PR fortran/31546 * (configure.ac): Add --enable-intermodule for onestep build. * (Makefile.am): Handle onestep build. * (configure, Makefile.in): Regenerate. From-SVN: r128654
Diffstat (limited to 'libgfortran/configure.ac')
-rw-r--r--libgfortran/configure.ac12
1 files changed, 12 insertions, 0 deletions
diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac
index 78dce55..0d153d4 100644
--- a/libgfortran/configure.ac
+++ b/libgfortran/configure.ac
@@ -21,6 +21,18 @@ AC_ARG_ENABLE(version-specific-runtime-libs,
[version_specific_libs=no])
AC_MSG_RESULT($version_specific_libs)
+# Build with intermodule optimisations
+AC_MSG_CHECKING([for --enable-intermodule])
+AC_ARG_ENABLE(intermodule,
+[ --enable-intermodule build the library in one step],
+[case "$enable_intermodule" in
+ yes) onestep="-onestep";;
+ *) onestep="";;
+esac],
+[onestep=""])
+AC_MSG_RESULT($enable_intermodule)
+AM_CONDITIONAL(onestep,[test x$onestep = x-onestep])
+AC_SUBST(onestep)
# Gets build, host, target, *_vendor, *_cpu, *_os, etc.
#