Issue #7652: Enable linking of _decimal.so against an installed libmpdec.

This commit is contained in:
Stefan Krah 2012-03-23 19:06:27 +01:00
parent 0175af85a5
commit 60187b5ee5
4 changed files with 78 additions and 40 deletions

18
configure vendored
View file

@ -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; }