summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorsje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-14 19:51:44 +0000
committersje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-14 19:51:44 +0000
commit91c1f757543175545b0538c99c6b3e092b30ab12 (patch)
treed89beffec158887d604b1efcfe9972ac0583f210 /libstdc++-v3
parentcc38658d121bbf9086e9ea01586cfcb2c1d44f6f (diff)
downloadgcc-91c1f757543175545b0538c99c6b3e092b30ab12.tar.gz
* 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
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog5
-rwxr-xr-xlibstdc++-v3/configure6
-rw-r--r--libstdc++-v3/configure.ac6
3 files changed, 9 insertions, 8 deletions
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 <sje@cup.hp.com>
+
+ * configure.ac: Change how LIBSUPCXX_PICFLAGS is set.
+ * configure: Regenerate.
+
2007-04-14 Paolo Carlini <pcarlini@suse.de>
* config/locale/generic/c_locale.cc: Include <limits>.
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