diff options
author | Bernhard Fischer <aldot@gcc.gnu.org> | 2007-09-21 19:49:34 +0000 |
---|---|---|
committer | François-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2007-09-21 19:49:34 +0000 |
commit | b808ac33a97113fc591eed84ac4979875981fdea (patch) | |
tree | b57636f8c1b5193dcceafc1c293a8ca33b685ab2 /libgfortran/configure.ac | |
parent | 2fba4aaacbad53813854e22016736f235b1f6465 (diff) | |
download | gcc-b808ac33a97113fc591eed84ac4979875981fdea.tar.gz |
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.ac | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac index 78dce5519f4..0d153d47ec9 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. # |