aboutsummaryrefslogtreecommitdiff
path: root/libdecnumber/configure.ac
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2013-10-16 00:29:48 +0000
committerDJ Delorie <dj@redhat.com>2013-10-16 00:29:48 +0000
commit26505cc0c4e4257c36df3e80507e531c8b1380e5 (patch)
tree2b1477c7e4ecc744d0545ec20f40d41449ba5d6c /libdecnumber/configure.ac
parent90c9b2c61c02b9aa4475c8911fde7eeae368b34a (diff)
downloadgdb-26505cc0c4e4257c36df3e80507e531c8b1380e5.zip
gdb-26505cc0c4e4257c36df3e80507e531c8b1380e5.tar.gz
gdb-26505cc0c4e4257c36df3e80507e531c8b1380e5.tar.bz2
merge from gcc
Diffstat (limited to 'libdecnumber/configure.ac')
-rw-r--r--libdecnumber/configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/libdecnumber/configure.ac b/libdecnumber/configure.ac
index 6cfc803..dd0499c 100644
--- a/libdecnumber/configure.ac
+++ b/libdecnumber/configure.ac
@@ -95,6 +95,13 @@ AC_SUBST(ADDITIONAL_OBJS)
AC_C_BIGENDIAN
+# Enable --enable-host-shared.
+AC_ARG_ENABLE(host-shared,
+[AS_HELP_STRING([--enable-host-shared],
+ [build host code as shared libraries])],
+[PICFLAG=-fPIC], [PICFLAG=])
+AC_SUBST(PICFLAG)
+
# Output.
AC_CONFIG_HEADERS(config.h:config.in, [echo timestamp > stamp-h1])