aboutsummaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2020-01-19 21:10:11 -0500
committerRuss Cox <rsc@swtch.com>2020-01-19 23:04:58 -0500
commitcb8f7357867a2a5d0bd742ceeb77bce9ad5f435c (patch)
treee21e8faaa68f8df48632973444a664f582de719a /INSTALL
parent8d82ccefd2b4b058e20ae0a7e3d9ef9b6b8cf8c3 (diff)
downloadplan9port-cb8f7357867a2a5d0bd742ceeb77bce9ad5f435c.tar.gz
plan9port-cb8f7357867a2a5d0bd742ceeb77bce9ad5f435c.tar.bz2
plan9port-cb8f7357867a2a5d0bd742ceeb77bce9ad5f435c.zip
all: remove Linux 2.4 vs 2.6 detection
Linux 2.4 is dead. (The libthread code hasn't worked for Linux 2.4 for a long time.)
Diffstat (limited to 'INSTALL')
-rwxr-xr-xINSTALL23
1 files changed, 3 insertions, 20 deletions
diff --git a/INSTALL b/INSTALL
index 0291e713..11d35005 100755
--- a/INSTALL
+++ b/INSTALL
@@ -66,23 +66,6 @@ DragonFly|*BSD)
esac
(
-if [ `uname` = Linux ]; then
- # On Linux, we use the kernel version to decide whether
- # to use pthreads or not. On 2.6 versions that aren't
- # linking with NPTL by default, pretend to be an older kernel.
- echo "* Running on Linux: checking for NPTL..."
- gcc lib/linux-isnptl.c -lpthread
- if ./a.out >/dev/null
- then
- echo " NPTL found."
- echo "SYSVERSION=2.6.x" >>$PLAN9/config
- else
- echo " NPTL not found."
- echo "SYSVERSION=2.4.x" >>$PLAN9/config
- fi
- rm -f ./a.out
-fi
-
if [ `uname` = SunOS ]; then
# On Solaris x86, uname -p cannot be trusted.
echo "* Running on Solaris: checking architecture..."
@@ -168,7 +151,7 @@ if $dobuild; then
echo "* Error: mk failed to build."
exit 1
fi
-
+
echo "* Building everything (be patient)..."
mk clean
mk libs-nuke
@@ -216,13 +199,13 @@ if $doinstall; then
mk man
)
fi
-
+
if [ -x LOCAL.INSTALL ]; then
echo "* Running local modifications..."
echo cd `pwd`';' ./LOCAL.INSTALL
./LOCAL.INSTALL
fi
-
+
echo "* Done. "
echo " "
echo "* Add these to your profile environment."