aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/configure
diff options
context:
space:
mode:
authorSteve Ellcey <sje@cup.hp.com>2007-04-14 19:51:44 +0000
committerSteve Ellcey <sje@gcc.gnu.org>2007-04-14 19:51:44 +0000
commit94872c09c9fe7206ef9f3c60bf0c4c84e218726f (patch)
treed89beffec158887d604b1efcfe9972ac0583f210 /libstdc++-v3/configure
parent01a6a27a02f321ddfaeb1f8ccfdb907bd5fd1382 (diff)
downloadgcc-94872c09c9fe7206ef9f3c60bf0c4c84e218726f.zip
gcc-94872c09c9fe7206ef9f3c60bf0c4c84e218726f.tar.gz
gcc-94872c09c9fe7206ef9f3c60bf0c4c84e218726f.tar.bz2
configure.ac: Change how LIBSUPCXX_PICFLAGS is set.
* configure.ac: Change how LIBSUPCXX_PICFLAGS is set. * configure: Regenerate. From-SVN: r123828
Diffstat (limited to 'libstdc++-v3/configure')
-rwxr-xr-xlibstdc++-v3/configure6
1 files changed, 2 insertions, 4 deletions
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index 5506924..22f3e1a 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