$NetBSD: patch-ac,v 1.2 2007/07/21 12:13:05 tnn Exp $ --- src/conf.sh.orig 1995-06-16 08:19:24.000000000 +0200 +++ src/conf.sh @@ -73,17 +73,6 @@ case `echo -n` in 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 @@ -1012,6 +1001,8 @@ cp a.c a.d || exit sleep 2 has_map_fd=? has_mmap=? has_madvise=? mmap_signal= case `(uname -s -r -v) 2>/dev/null` in +'Interix'*) ;; + # Attempting to run the mmap test makes conf.sh exit with error 1. 'HP-UX '[A-Z].08.07*) ;; # mmap can crash the OS under HP-UX 8.07, so don't even test for it. 'HP-UX '[A-Z].09.*) ;;