aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/libquadmath/configure
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/libquadmath/configure')
-rwxr-xr-xgcc-4.9/libquadmath/configure21
1 files changed, 18 insertions, 3 deletions
diff --git a/gcc-4.9/libquadmath/configure b/gcc-4.9/libquadmath/configure
index 907e0cf05..b22f75cfc 100755
--- a/gcc-4.9/libquadmath/configure
+++ b/gcc-4.9/libquadmath/configure
@@ -7101,7 +7101,22 @@ fi
# Check whether --with-pic was given.
if test "${with_pic+set}" = set; then :
- withval=$with_pic; pic_mode="$withval"
+ withval=$with_pic; p=${PACKAGE-default}
+ case "$withval" in
+ yes|no) pic_mode="$withval" ;;
+ *)
+ pic_mode=default
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+ for pkg in $withval; do
+ IFS="$lt_save_ifs"
+ if test "X$pkg" = "X$p"; then
+ pic_mode=yes
+ fi
+ done
+ IFS="$lt_save_ifs"
+ ;;
+ esac
else
pic_mode=default
fi
@@ -10527,7 +10542,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 10530 "configure"
+#line 10545 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -10633,7 +10648,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 10636 "configure"
+#line 10651 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H