comparison 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
comparison
equal deleted inserted replaced
38:80139f9b90d8 39:a6a2fbe66fd1
1282 # Set up files for the timer library 1282 # Set up files for the timer library
1283 if test x$enable_timers = xyes; then 1283 if test x$enable_timers = xyes; then
1284 COPY_ARCH_SRC(src/timer, linux, SDL_systimer.c) 1284 COPY_ARCH_SRC(src/timer, linux, SDL_systimer.c)
1285 fi 1285 fi
1286 # NetBSD does not define "unix" 1286 # NetBSD does not define "unix"
1287 CFLAGS="$CFLAGS -Dunix" 1287 CFLAGS="$CFLAGS -Dunix -D_POSIX_THREAD_SYSCALL_SOFT=1"
1288 ;; 1288 ;;
1289 *-*-openbsd*) 1289 *-*-openbsd*)
1290 ARCH=openbsd 1290 ARCH=openbsd
1291 CheckDummyVideo 1291 CheckDummyVideo
1292 CheckNASM 1292 CheckNASM
1869 AM_CONDITIONAL(TARGET_LINUX, test $ARCH = linux) 1869 AM_CONDITIONAL(TARGET_LINUX, test $ARCH = linux)
1870 AM_CONDITIONAL(TARGET_SOLARIS, test $ARCH = solaris) 1870 AM_CONDITIONAL(TARGET_SOLARIS, test $ARCH = solaris)
1871 AM_CONDITIONAL(TARGET_IRIX, test $ARCH = irix) 1871 AM_CONDITIONAL(TARGET_IRIX, test $ARCH = irix)
1872 AM_CONDITIONAL(TARGET_BSDI, test $ARCH = bsdi) 1872 AM_CONDITIONAL(TARGET_BSDI, test $ARCH = bsdi)
1873 AM_CONDITIONAL(TARGET_FREEBSD, test $ARCH = freebsd) 1873 AM_CONDITIONAL(TARGET_FREEBSD, test $ARCH = freebsd)
1874 AM_CONDITIONAL(TARGET_NETBSD, test $ARCH = netbsd)
1874 AM_CONDITIONAL(TARGET_OPENBSD, test $ARCH = openbsd) 1875 AM_CONDITIONAL(TARGET_OPENBSD, test $ARCH = openbsd)
1875 AM_CONDITIONAL(TARGET_AIX, test $ARCH = aix) 1876 AM_CONDITIONAL(TARGET_AIX, test $ARCH = aix)
1876 AM_CONDITIONAL(TARGET_WIN32, test $ARCH = win32) 1877 AM_CONDITIONAL(TARGET_WIN32, test $ARCH = win32)
1877 AM_CONDITIONAL(TARGET_BEOS, test $ARCH = beos) 1878 AM_CONDITIONAL(TARGET_BEOS, test $ARCH = beos)
1878 AM_CONDITIONAL(TARGET_MACOS, test $ARCH = macos) 1879 AM_CONDITIONAL(TARGET_MACOS, test $ARCH = macos)