summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-04-11 11:12:43 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-04-11 11:12:43 (GMT)
commit9176fc1466c8a896ab57b054bd426e63770e2cfa (patch)
tree2d61af33f7b17bd2fee80c986f11653d5efc0574 /configure.in
parent2845750c5bfcf8b7a71e11d97b469fee19a290c6 (diff)
downloadcpython-9176fc1466c8a896ab57b054bd426e63770e2cfa.zip
cpython-9176fc1466c8a896ab57b054bd426e63770e2cfa.tar.gz
cpython-9176fc1466c8a896ab57b054bd426e63770e2cfa.tar.bz2
Patch #1464444: Add --with-system-ffi.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index a043ce5..027dc50 100644
--- a/configure.in
+++ b/configure.in
@@ -1604,6 +1604,16 @@ LIBS="$withval $LIBS"
],
[AC_MSG_RESULT(no)])
+# Check for use of the system libffi library
+AC_MSG_CHECKING(for --with-system-ffi)
+AC_ARG_WITH(system_ffi,
+ AC_HELP_STRING(--with-system-ffi, build _ctypes module using an installed ffi library))
+
+if test -z "$with_system_ffi"
+then with_system_ffi="no"
+fi
+AC_MSG_RESULT($with_system_ffi)
+
# Determine if signalmodule should be used.
AC_SUBST(USE_SIGNAL_MODULE)
AC_SUBST(SIGNAL_OBJS)