libgfortran/ * configure.ac: Add --enable-symvers. * configure: Regenerate. libssp/ * configure.ac: Add --enable-symvers. * configure: Regenerate. Index: libgfortran/configure.ac =================================================================== --- libgfortran/configure.ac (revision 3093) +++ libgfortran/configure.ac (working copy) @@ -34,6 +34,17 @@ AC_MSG_RESULT($enable_intermodule) AM_CONDITIONAL(onestep,[test x$onestep = x-onestep]) AC_SUBST(onestep) +AC_MSG_CHECKING([for --enable-symvers]) +AC_ARG_ENABLE(symvers, +[ --enable-symvers enables symbol versioning of the shared library ], +[case "$enableval" in + yes) enable_symvers=yes ;; + no) enable_symvers=no ;; + *) AC_MSG_ERROR([Unknown argument to enable/disable symbol versioning]);; + esac], +[enable_symvers=""]) +AC_MSG_RESULT($enable_symvers) + # Gets build, host, target, *_vendor, *_cpu, *_os, etc. # # You will slowly go insane if you do not grok the following fact: when @@ -136,16 +147,20 @@ 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 < conftest.map < conftest.map < conftest.map <