OSDN Git Service

* configure.ac: Change how LIBSUPCXX_PICFLAGS is set.
authorsje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 14 Apr 2007 19:51:44 +0000 (19:51 +0000)
committersje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 14 Apr 2007 19:51:44 +0000 (19:51 +0000)
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123828 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/configure
libstdc++-v3/configure.ac

index b9c3587..16a1336 100644 (file)
@@ -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>.
index 5506924..22f3e1a 100755 (executable)
@@ -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
index 7bebae9..e549e8a 100644 (file)
@@ -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