diff configure.in @ 39:a6a2fbe66fd1

Minor fixes for NetBSD
author Sam Lantinga <slouken@lokigames.com>
date Sun, 27 May 2001 00:15:42 +0000
parents 3ad7157c6cfa
children 8de9e8baaecc
line wrap: on
line diff
--- a/configure.in	Sat May 26 21:39:01 2001 +0000
+++ b/configure.in	Sun May 27 00:15:42 2001 +0000
@@ -1284,7 +1284,7 @@
             COPY_ARCH_SRC(src/timer, linux, SDL_systimer.c)
         fi
         # NetBSD does not define "unix"
-        CFLAGS="$CFLAGS -Dunix"
+        CFLAGS="$CFLAGS -Dunix -D_POSIX_THREAD_SYSCALL_SOFT=1"
         ;;
     *-*-openbsd*)
         ARCH=openbsd
@@ -1871,6 +1871,7 @@
 AM_CONDITIONAL(TARGET_IRIX, test $ARCH = irix)
 AM_CONDITIONAL(TARGET_BSDI, test $ARCH = bsdi)
 AM_CONDITIONAL(TARGET_FREEBSD, test $ARCH = freebsd)
+AM_CONDITIONAL(TARGET_NETBSD, test $ARCH = netbsd)
 AM_CONDITIONAL(TARGET_OPENBSD, test $ARCH = openbsd)
 AM_CONDITIONAL(TARGET_AIX, test $ARCH = aix)
 AM_CONDITIONAL(TARGET_WIN32, test $ARCH = win32)