configure.in
changeset 43 8cc154626be9
parent 42 eb1459f3a3ae
child 47 45b1c4303f87
     1.1 --- a/configure.in	Sun May 27 00:38:26 2001 +0000
     1.2 +++ b/configure.in	Sun May 27 01:03:39 2001 +0000
     1.3 @@ -844,6 +844,10 @@
     1.4              pthread_cflags="-D_REENTRANT -D_THREAD_SAFE"
     1.5              pthread_lib="-pthread"
     1.6              ;;
     1.7 +        *-*-netbsd*)
     1.8 +            pthread_cflags="-I/usr/pkg/include -D_REENTRANT"
     1.9 +            pthread_lib="-L/usr/pkg/lib -lpthread -lsem"
    1.10 +            ;;
    1.11          *-*-openbsd*)
    1.12              pthread_cflags="-D_REENTRANT"
    1.13              pthread_lib="-pthread"
    1.14 @@ -1284,7 +1288,7 @@
    1.15              COPY_ARCH_SRC(src/timer, linux, SDL_systimer.c)
    1.16          fi
    1.17          # NetBSD does not define "unix"
    1.18 -        CFLAGS="$CFLAGS -Dunix"
    1.19 +        CFLAGS="$CFLAGS -Dunix -D_POSIX_THREAD_SYSCALL_SOFT=1"
    1.20          ;;
    1.21      *-*-openbsd*)
    1.22          ARCH=openbsd