OSDN Git Service

* configure.ac: Change how LIBSUPCXX_PICFLAGS is set.
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / configure
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