summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-12-02 22:17:01 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-12-02 22:17:01 (GMT)
commit779ffc066edd5b046549be196fca5abf8b4d244d (patch)
treeafc94755297e8097d6cb041e0d7bc781c35913ca /configure
parent7a98e8083c4eb21c33cdb6508dff74974a02a448 (diff)
downloadcpython-779ffc066edd5b046549be196fca5abf8b4d244d.zip
cpython-779ffc066edd5b046549be196fca5abf8b4d244d.tar.gz
cpython-779ffc066edd5b046549be196fca5abf8b4d244d.tar.bz2
Add compile-time errors for unsupported systems.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure23
1 files changed, 22 insertions, 1 deletions
diff --git a/configure b/configure
index 2a8fa9a..099f867 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 1.371 .
+# From configure.in Revision: 1.372 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53 for python 2.3.
#
@@ -2999,6 +2999,20 @@ _ACEOF
fi
+# Check for unsupported systems
+case $ac_sys_system/$ac_sys_release in
+SunOS/4*|DYNIX/*|dgux*/*|IRIX/4*|Linux*/1*)
+ echo This system \($ac_sys_system/$ac_sys_release\) is no longer supported.
+ echo See README for details.
+ exit 1;;
+esac
+
+if test "$MINIX" = yes; then
+ echo This system \(MINIX\) is no longer supported.
+ echo Read README for details.
+ exit 1
+fi
+
echo "$as_me:$LINENO: checking for --with-suffix" >&5
echo $ECHO_N "checking for --with-suffix... $ECHO_C" >&6
@@ -10866,6 +10880,9 @@ if test $ac_cv_lib_thread___d6_pthread_create = yes; then
#define WITH_THREAD 1
_ACEOF
+ echo Systems with __d6_pthread_create are not supported anymore.
+ echo See README
+ exit 1
posix_threads=yes
LIBS="$LIBS -lthread"
THREADOBJ="Python/thread.o"
@@ -11733,6 +11750,8 @@ if test "${with_sgi_dl+set}" = set; then
echo "$as_me:$LINENO: result: $withval" >&5
echo "${ECHO_T}$withval" >&6
+echo --with-sgi-dl is unsupported; see README
+exit 1
cat >>confdefs.h <<\_ACEOF
#define WITH_SGI_DL 1
@@ -11762,6 +11781,8 @@ if test "${with_dl_dld+set}" = set; then
echo "$as_me:$LINENO: result: $withval" >&5
echo "${ECHO_T}$withval" >&6
+echo --with-dl-dld is unsupported; see README
+exit 1
cat >>confdefs.h <<\_ACEOF
#define WITH_DL_DLD 1