acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
2002-03-11 Chris Demetriou <cgd@broadcom.com> * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for whether GLIBCPP_CHECK_LINKER_FEATURES has been used. * aclocal.m4: Regenerate. * configure: Regenerate. From-SVN: r50626
This commit is contained in:
parent
c2b1bb034b
commit
cdfda6686e
3 changed files with 944 additions and 947 deletions
|
@ -356,8 +356,7 @@ AC_DEFUN(GLIBCPP_CHECK_LINKER_FEATURES, [
|
|||
fi
|
||||
|
||||
# Set linker optimization flags.
|
||||
if test x"$with_gnu_ld" = x"yes" &&
|
||||
test x"$enable_debug" = x"no"; then
|
||||
if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
|
||||
OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
|
||||
fi
|
||||
|
||||
|
@ -2062,7 +2061,9 @@ enable_symvers=GLIBCPP_ENABLE_SYMVERS_DEFAULT)dnl
|
|||
|
||||
# If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
|
||||
# don't know enough about $LD to do tricks...
|
||||
if test $enable_shared = no || test x$LD = x ; then
|
||||
if test x$enable_shared = xno ||
|
||||
test x$LD = x ||
|
||||
test x$glibcpp_gnu_ld_version = x; then
|
||||
enable_symvers=no
|
||||
fi
|
||||
|
||||
|
@ -2125,4 +2126,3 @@ AC_MSG_CHECKING([versioning on shared library symbols])
|
|||
AC_MSG_RESULT($enable_symvers)
|
||||
])
|
||||
|
||||
|
||||
|
|
10
libstdc++-v3/aclocal.m4
vendored
10
libstdc++-v3/aclocal.m4
vendored
|
@ -368,8 +368,7 @@ AC_DEFUN(GLIBCPP_CHECK_LINKER_FEATURES, [
|
|||
fi
|
||||
|
||||
# Set linker optimization flags.
|
||||
if test x"$with_gnu_ld" = x"yes" &&
|
||||
test x"$enable_debug" = x"no"; then
|
||||
if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
|
||||
OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
|
||||
fi
|
||||
|
||||
|
@ -1180,7 +1179,7 @@ AC_DEFUN(GLIBCPP_ENABLE_CLOCALE, [
|
|||
CNUMERIC_CC=config/locale/gnu/numeric_members.cc
|
||||
CTIME_CC=config/locale/gnu/time_members.cc
|
||||
;;
|
||||
xieee_1003.1)
|
||||
xieee_1003.1-2001)
|
||||
AC_MSG_RESULT(generic)
|
||||
|
||||
# Don't use gettext.
|
||||
|
@ -2074,7 +2073,9 @@ enable_symvers=GLIBCPP_ENABLE_SYMVERS_DEFAULT)dnl
|
|||
|
||||
# If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
|
||||
# don't know enough about $LD to do tricks...
|
||||
if test $enable_shared = no || test x$LD = x ; then
|
||||
if test x$enable_shared = xno ||
|
||||
test x$LD = x ||
|
||||
test x$glibcpp_gnu_ld_version = x; then
|
||||
enable_symvers=no
|
||||
fi
|
||||
|
||||
|
@ -2138,7 +2139,6 @@ AC_MSG_RESULT($enable_symvers)
|
|||
])
|
||||
|
||||
|
||||
|
||||
#serial 1
|
||||
# This test replaces the one in autoconf.
|
||||
# Currently this macro should have the same name as the autoconf macro
|
||||
|
|
1873
libstdc++-v3/configure
vendored
1873
libstdc++-v3/configure
vendored
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue