configure.in
changeset 43 8cc154626be9
parent 42 eb1459f3a3ae
child 47 45b1c4303f87
equal deleted inserted replaced
42:eb1459f3a3ae 43:8cc154626be9
   842             ;;
   842             ;;
   843         *-*-freebsd*)
   843         *-*-freebsd*)
   844             pthread_cflags="-D_REENTRANT -D_THREAD_SAFE"
   844             pthread_cflags="-D_REENTRANT -D_THREAD_SAFE"
   845             pthread_lib="-pthread"
   845             pthread_lib="-pthread"
   846             ;;
   846             ;;
       
   847         *-*-netbsd*)
       
   848             pthread_cflags="-I/usr/pkg/include -D_REENTRANT"
       
   849             pthread_lib="-L/usr/pkg/lib -lpthread -lsem"
       
   850             ;;
   847         *-*-openbsd*)
   851         *-*-openbsd*)
   848             pthread_cflags="-D_REENTRANT"
   852             pthread_cflags="-D_REENTRANT"
   849             pthread_lib="-pthread"
   853             pthread_lib="-pthread"
   850             ;;
   854             ;;
   851         *-*-solaris*)
   855         *-*-solaris*)
  1282         # Set up files for the timer library
  1286         # Set up files for the timer library
  1283         if test x$enable_timers = xyes; then
  1287         if test x$enable_timers = xyes; then
  1284             COPY_ARCH_SRC(src/timer, linux, SDL_systimer.c)
  1288             COPY_ARCH_SRC(src/timer, linux, SDL_systimer.c)
  1285         fi
  1289         fi
  1286         # NetBSD does not define "unix"
  1290         # NetBSD does not define "unix"
  1287         CFLAGS="$CFLAGS -Dunix"
  1291         CFLAGS="$CFLAGS -Dunix -D_POSIX_THREAD_SYSCALL_SOFT=1"
  1288         ;;
  1292         ;;
  1289     *-*-openbsd*)
  1293     *-*-openbsd*)
  1290         ARCH=openbsd
  1294         ARCH=openbsd
  1291         CheckDummyVideo
  1295         CheckDummyVideo
  1292         CheckNASM
  1296         CheckNASM