mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Add compile-time errors for unsupported systems.
This commit is contained in:
parent
7a98e8083c
commit
779ffc066e
4 changed files with 73 additions and 4 deletions
23
configure
vendored
23
configure
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue