summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2012-03-23 18:06:27 (GMT)
committerStefan Krah <skrah@bytereef.org>2012-03-23 18:06:27 (GMT)
commit60187b5ee5119094b52f11d7cdc742d1c36403ea (patch)
treef6ed3b09374028283723a844c4b5ad0bc76d5682 /configure
parent0175af85a574800d8ea44e57fc9c0810edf2d0e1 (diff)
downloadcpython-60187b5ee5119094b52f11d7cdc742d1c36403ea.zip
cpython-60187b5ee5119094b52f11d7cdc742d1c36403ea.tar.gz
cpython-60187b5ee5119094b52f11d7cdc742d1c36403ea.tar.bz2
Issue #7652: Enable linking of _decimal.so against an installed libmpdec.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure18
1 files changed, 18 insertions, 0 deletions
diff --git a/configure b/configure
index 7c1113d..d09d740 100755
--- a/configure
+++ b/configure
@@ -762,6 +762,7 @@ with_pydebug
with_libs
with_system_expat
with_system_ffi
+with_system_libmpdec
enable_loadable_sqlite_extensions
with_dbmliborder
with_signal_module
@@ -1434,6 +1435,8 @@ Optional Packages:
--with-system-expat build pyexpat module using an installed expat
library
--with-system-ffi build _ctypes module using an installed ffi library
+ --with-system-libmpdec build _decimal module using an installed libmpdec
+ library
--with-dbmliborder=db1:db2:...
order to check db backends for dbm. Valid value is a
colon separated string with the backend names
@@ -8501,6 +8504,21 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_system_ffi" >&5
$as_echo "$with_system_ffi" >&6; }
+# Check for use of the system libmpdec library
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-system-libmpdec" >&5
+$as_echo_n "checking for --with-system-libmpdec... " >&6; }
+
+# Check whether --with-system_libmpdec was given.
+if test "${with_system_libmpdec+set}" = set; then :
+ withval=$with_system_libmpdec;
+else
+ with_system_libmpdec="no"
+fi
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_system_libmpdec" >&5
+$as_echo "$with_system_libmpdec" >&6; }
+
# Check for support for loadable sqlite extensions
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-loadable-sqlite-extensions" >&5
$as_echo_n "checking for --enable-loadable-sqlite-extensions... " >&6; }