X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;ds=sidebyside;f=libgfortran%2Fconfigure.ac;h=657ca4f6d9e91129d4632f7ce90adf7df8199b72;hb=ed3634f6081c293b5b93fdc8a90f5e45b70445d8;hp=319b5549da8e8f7c62787d47dcefe5289177a398;hpb=35a465686d10e9e2357cb0fbccc4537f5a62a9bd;p=pf3gnuchains%2Fgcc-fork.git diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac index 319b5549da8..657ca4f6d9e 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. # @@ -121,6 +133,21 @@ if test "x$GCC" = "xyes"; then fi AC_SUBST(AM_FCFLAGS) AC_SUBST(AM_CFLAGS) +AC_SUBST(CFLAGS) + +# Check for symbol versioning (copied from libssp). +AC_MSG_CHECKING([whether symbol versioning is supported]) +cat > conftest.map <