From eea5f6adfed4de2d9ef848b170027fd57206c81c Mon Sep 17 00:00:00 2001 From: rsc Date: Mon, 17 Jan 2005 20:57:57 +0000 Subject: source $PLAN9/config --- bin/9c | 1 + bin/9l | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/9c b/bin/9c index 6ff417a8..fcdae6fd 100755 --- a/bin/9c +++ b/bin/9c @@ -1,5 +1,6 @@ #!/bin/sh +test -f $PLAN9/config && . $PLAN9/config usegcc() { cc=gcc diff --git a/bin/9l b/bin/9l index cd3d0ac9..7ea689d1 100755 --- a/bin/9l +++ b/bin/9l @@ -1,5 +1,6 @@ #!/bin/sh +test -f $PLAN9/config && . $PLAN9/config libsl="" doautolib=true @@ -173,7 +174,7 @@ case "$tag" in *Linux*) ld=gcc extralibs="$extralibs -lutil" - case "`uname -r`" in + case "${SYSVERSION:-`uname -r`}" in 2.6.*) extralibs="$extralibs -lpthread" ;; -- cgit v1.2.3