Commit cdfda668 by Chris Demetriou Committed by Benjamin Kosnik

acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for whether…

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
parent c2b1bb03
......@@ -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)
])
......@@ -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
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment