--- a/configure.in Sun May 27 00:24:43 2001 +0000
+++ b/configure.in Sun May 27 00:38:26 2001 +0000
@@ -1284,7 +1284,7 @@
COPY_ARCH_SRC(src/timer, linux, SDL_systimer.c)
fi
# NetBSD does not define "unix"
- CFLAGS="$CFLAGS -Dunix -D_POSIX_THREAD_SYSCALL_SOFT=1"
+ CFLAGS="$CFLAGS -Dunix"
;;
*-*-openbsd*)
ARCH=openbsd
--- a/ltconfig Sun May 27 00:24:43 2001 +0000
+++ b/ltconfig Sun May 27 00:38:26 2001 +0000
@@ -1286,6 +1286,9 @@
# dlltool doesn't understand --whole-archive et. al.
whole_archive_flag_spec=
;;
+ netbsd*)
+ whole_archive_flag_spec=
+ ;;
*)
# ancient GNU ld didn't support --whole-archive et. al.
if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then