summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2002-03-22 15:34:49 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2002-03-22 15:34:49 (GMT)
commit16c22976c36cfbffaa6b5eada6b00f6707afd3f9 (patch)
treeb60e5d3c01b2a394a079c3ae9c80992784596903 /configure.in
parentdcc819a5c9e3cb60eba05a3c0b2547bc1fb28b80 (diff)
downloadcpython-16c22976c36cfbffaa6b5eada6b00f6707afd3f9.zip
cpython-16c22976c36cfbffaa6b5eada6b00f6707afd3f9.tar.gz
cpython-16c22976c36cfbffaa6b5eada6b00f6707afd3f9.tar.bz2
Enable pymalloc by default.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in16
1 files changed, 10 insertions, 6 deletions
diff --git a/configure.in b/configure.in
index 3f36c8f..4ae9b2b 100644
--- a/configure.in
+++ b/configure.in
@@ -1335,12 +1335,16 @@ AC_MSG_RESULT($with_cycle_gc)
# Check for Python-specific malloc support
AC_MSG_CHECKING(for --with-pymalloc)
AC_ARG_WITH(pymalloc,
-[ --with(out)-pymalloc disable/enable specialized mallocs], [
-if test "$withval" != no
-then AC_DEFINE(WITH_PYMALLOC) AC_MSG_RESULT(yes)
-else AC_MSG_RESULT(no)
-fi],
-[AC_MSG_RESULT(no)])
+[ --with(out)-pymalloc disable/enable specialized mallocs])
+
+if test -z "$with_pymalloc"
+then with_pymalloc="yes"
+fi
+if test "$with_pymalloc" != "no"
+then
+ AC_DEFINE(WITH_PYMALLOC)
+fi
+AC_MSG_RESULT($with_pymalloc)
# Check for --with-wctype-functions
AC_MSG_CHECKING(for --with-wctype-functions)