Mercurial > sdl-ios-xcode
changeset 43:8cc154626be9
I found the pthread package for NetBSD
author | Sam Lantinga <slouken@lokigames.com> |
---|---|
date | Sun, 27 May 2001 01:03:39 +0000 |
parents | eb1459f3a3ae |
children | 25091c75acc4 |
files | configure.in |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.in Sun May 27 00:38:26 2001 +0000 +++ b/configure.in Sun May 27 01:03:39 2001 +0000 @@ -844,6 +844,10 @@ pthread_cflags="-D_REENTRANT -D_THREAD_SAFE" pthread_lib="-pthread" ;; + *-*-netbsd*) + pthread_cflags="-I/usr/pkg/include -D_REENTRANT" + pthread_lib="-L/usr/pkg/lib -lpthread -lsem" + ;; *-*-openbsd*) pthread_cflags="-D_REENTRANT" pthread_lib="-pthread" @@ -1284,7 +1288,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