22 lines
604 B
Text
22 lines
604 B
Text
$NetBSD: patch-ac,v 1.1 2003/09/02 09:42:57 martti Exp $
|
|
|
|
--- src/conf.sh.orig 2003-09-02 12:35:32.000000000 +0300
|
|
+++ src/conf.sh 2003-09-02 12:38:46.000000000 +0300
|
|
@@ -73,17 +73,6 @@
|
|
ech='echo -n' dots='... '
|
|
esac
|
|
|
|
-$ech >&3 "$0: testing permissions $dots"
|
|
-rm -f a.d &&
|
|
-date >a.d &&
|
|
-chmod 0 a.d &&
|
|
-{ test -w a.d || cp /dev/null a.d 2>/dev/null; } && {
|
|
- echo >&3 "$n$0: This command should not be run with superuser permissions."
|
|
- exit 1
|
|
-}
|
|
-echo >&3 OK
|
|
-rm -f a.d || exit
|
|
-
|
|
$ech >&3 "$0: testing compiler for plausibility $dots"
|
|
echo 'main() { return 0; }' >a.c
|
|
rm -f a.exe a.out || exit
|