From: sje Date: Sat, 14 Apr 2007 19:51:44 +0000 (+0000) Subject: * configure.ac: Change how LIBSUPCXX_PICFLAGS is set. X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=91c1f757543175545b0538c99c6b3e092b30ab12;hp=cc38658d121bbf9086e9ea01586cfcb2c1d44f6f * configure.ac: Change how LIBSUPCXX_PICFLAGS is set. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123828 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index b9c35879dca..16a1336ee45 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2007-04-14 Steve Ellcey + + * configure.ac: Change how LIBSUPCXX_PICFLAGS is set. + * configure: Regenerate. + 2007-04-14 Paolo Carlini * config/locale/generic/c_locale.cc: Include . diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index 55069241e78..22f3e1a7d59 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -85067,10 +85067,8 @@ echo "${ECHO_T}$gxx_include_dir" >&6 -if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features | - grep "enable shared" > /dev/null; -then - LIBSUPCXX_PICFLAGS=-prefer-pic +if test "$enable_shared" = yes; then + LIBSUPCXX_PICFLAGS="-prefer-pic" else LIBSUPCXX_PICFLAGS= fi diff --git a/libstdc++-v3/configure.ac b/libstdc++-v3/configure.ac index 7bebae9229d..e549e8a10f5 100644 --- a/libstdc++-v3/configure.ac +++ b/libstdc++-v3/configure.ac @@ -355,10 +355,8 @@ GLIBCXX_EXPORT_INSTALL_INFO GLIBCXX_EXPORT_INCLUDES GLIBCXX_EXPORT_FLAGS -if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features | - grep "enable shared" > /dev/null; -then - LIBSUPCXX_PICFLAGS=-prefer-pic +if test "$enable_shared" = yes; then + LIBSUPCXX_PICFLAGS="-prefer-pic" else LIBSUPCXX_PICFLAGS= fi