From: Steve Ellcey Date: Sat, 14 Apr 2007 19:51:44 +0000 (+0000) Subject: configure.ac: Change how LIBSUPCXX_PICFLAGS is set. X-Git-Tag: releases/gcc-4.3.0~5626 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=94872c09c9fe7206ef9f3c60bf0c4c84e218726f;p=thirdparty%2Fgcc.git configure.ac: Change how LIBSUPCXX_PICFLAGS is set. * configure.ac: Change how LIBSUPCXX_PICFLAGS is set. * configure: Regenerate. From-SVN: r123828 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index b9c35879dcaf..16a1336ee45c 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 55069241e784..22f3e1a7d59f 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 7bebae9229da..e549e8a10f50 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