summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2017-09-29 05:44:27 (GMT)
committerGitHub <noreply@github.com>2017-09-29 05:44:27 (GMT)
commit288d1daadaddf6ae35cf666138ba4b5d07449657 (patch)
tree1cfefe910f99901373d7253bf9be9c5074dee0ea /configure.ac
parenta106aec2ed6ba171838ca7e6ba43c4e722bbecd1 (diff)
downloadcpython-288d1daadaddf6ae35cf666138ba4b5d07449657.zip
cpython-288d1daadaddf6ae35cf666138ba4b5d07449657.tar.gz
cpython-288d1daadaddf6ae35cf666138ba4b5d07449657.tar.bz2
remove support for BSD/OS (closes bpo-31624) (#3812)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac16
1 files changed, 2 insertions, 14 deletions
diff --git a/configure.ac b/configure.ac
index e90d05d..3218162 100644
--- a/configure.ac
+++ b/configure.ac
@@ -948,13 +948,6 @@ else
fi
rmdir CaseSensitiveTestDir
-case $MACHDEP in
-bsdos*)
- case $CC in
- gcc) CC="$CC -D_HAVE_BSDI";;
- esac;;
-esac
-
case $ac_sys_system in
hp*|HP*)
case $CC in
@@ -1191,8 +1184,8 @@ AC_SUBST(READELF)
case $MACHDEP in
-bsdos*|hp*|HP*)
- # install -d does not work on BSDI or HP-UX
+hp*|HP*)
+ # install -d does not work on HP-UX
if test -z "$INSTALL"
then
INSTALL="${srcdir}/install-sh -c"
@@ -2492,9 +2485,6 @@ then
Linux*|GNU*|QNX*)
LDSHARED='$(CC) -shared'
LDCXXSHARED='$(CXX) -shared';;
- BSD/OS*/4*)
- LDSHARED="gcc -shared"
- LDCXXSHARED="g++ -shared";;
FreeBSD*)
if [[ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]]
then
@@ -2560,7 +2550,6 @@ then
fi;;
Linux-android*) ;;
Linux*|GNU*) CCSHARED="-fPIC";;
- BSD/OS*/4*) CCSHARED="-fpic";;
FreeBSD*|NetBSD*|OpenBSD*|DragonFly*) CCSHARED="-fPIC";;
OpenUNIX*|UnixWare*)
if test "$GCC" = "yes"
@@ -2585,7 +2574,6 @@ then
hp*|HP*)
LINKFORSHARED="-Wl,-E -Wl,+s";;
# LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
- BSD/OS/4*) LINKFORSHARED="-Xlinker -export-dynamic";;
Linux-android*) LINKFORSHARED="-pie -Xlinker -export-dynamic";;
Linux*|GNU*) LINKFORSHARED="-Xlinker -export-dynamic";;
# -u libsys_s pulls in all symbols in libsys