summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-02-10 20:49:30 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-02-10 20:49:30 (GMT)
commit82bca63c2be3394b0ad1d2e2fd3c412464e60ebf (patch)
tree76a1dda86993a4c4201a75a81894fde1db995e15 /configure
parent03904bf20b1bd161ee2cfdeb87797ed1f877a02b (diff)
downloadcpython-82bca63c2be3394b0ad1d2e2fd3c412464e60ebf.zip
cpython-82bca63c2be3394b0ad1d2e2fd3c412464e60ebf.tar.gz
cpython-82bca63c2be3394b0ad1d2e2fd3c412464e60ebf.tar.bz2
Avoid linking python with readline.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure b/configure
index 0f87215..8159268 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 42046 .
+# From configure.in Revision: 42199 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for python 2.5.
#
@@ -20016,6 +20016,8 @@ _ACEOF
fi
# check where readline lives
+# save the value of LIBS so we don't actually link Python with readline
+LIBS_no_readline=$LIBS
echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6
@@ -20506,6 +20508,9 @@ rm -f conftest*
fi
+# End of readline checks: restore LIBS
+LIBS=$LIBS_no_readline
+
echo "$as_me:$LINENO: checking for broken nice()" >&5
echo $ECHO_N "checking for broken nice()... $ECHO_C" >&6
if test "${ac_cv_broken_nice+set}" = set; then