summaryrefslogtreecommitdiff
path: root/libdecnumber/configure
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2013-10-16 00:29:39 +0000
committerDJ Delorie <dj@delorie.com>2013-10-16 00:29:39 +0000
commit30e15c23f92d7a42f69bcf55f2ec9dc58737f11a (patch)
treef2ae1145c41aa97db0bf25dac42e032fb653b2ed /libdecnumber/configure
parentc1f569929234e16f3700283a63c1f4c476466ca4 (diff)
downloadgdb-30e15c23f92d7a42f69bcf55f2ec9dc58737f11a.tar.gz
merge from gcc
Diffstat (limited to 'libdecnumber/configure')
-rwxr-xr-xlibdecnumber/configure13
1 files changed, 13 insertions, 0 deletions
diff --git a/libdecnumber/configure b/libdecnumber/configure
index 4a1896e1b97..2720f46ff7f 100755
--- a/libdecnumber/configure
+++ b/libdecnumber/configure
@@ -593,6 +593,7 @@ ac_includes_default="\
ac_subst_vars='LTLIBOBJS
LIBOBJS
+PICFLAG
ADDITIONAL_OBJS
enable_decimal_float
target_os
@@ -670,6 +671,7 @@ enable_option_checking
enable_werror_always
enable_maintainer_mode
enable_decimal_float
+enable_host_shared
'
ac_precious_vars='build_alias
host_alias
@@ -1301,6 +1303,7 @@ Optional Features:
enable decimal float extension to C. Selecting 'bid'
or 'dpd' choses which decimal floating point format
to use
+ --enable-host-shared build host code as shared libraries
Some influential environment variables:
CC C compiler command
@@ -4889,6 +4892,16 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
esac
+# Enable --enable-host-shared.
+# Check whether --enable-host-shared was given.
+if test "${enable_host_shared+set}" = set; then :
+ enableval=$enable_host_shared; PICFLAG=-fPIC
+else
+ PICFLAG=
+fi
+
+
+
# Output.
ac_config_headers="$ac_config_headers config.h:config.in"