Index: libdecnumber/configure.ac |
diff --git a/libdecnumber/configure.ac b/libdecnumber/configure.ac |
index 87820bf22055a0c11bd6cab03664ceeff8245529..dd0499c43f66f592e9de88dbe5b78e26afec766e 100644 |
--- a/libdecnumber/configure.ac |
+++ b/libdecnumber/configure.ac |
@@ -1,7 +1,7 @@ |
# configure.ac for libdecnumber -*- Autoconf -*- |
# Process this file with autoconf to generate a configuration script. |
-# Copyright 2005, 2006, 2009 Free Software Foundation, Inc. |
+# Copyright (C) 2005-2013 Free Software Foundation, Inc. |
# This file is part of GCC. |
@@ -23,6 +23,7 @@ AC_PREREQ(2.64) |
AC_INIT(libdecnumber, [ ], gcc-bugs@gcc.gnu.org, libdecnumber) |
AC_CONFIG_SRCDIR(decNumber.h) |
AC_CONFIG_MACRO_DIR(../config) |
+AC_CONFIG_AUX_DIR(..) |
# Checks for programs. |
AC_PROG_MAKE_SET |
@@ -94,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]) |