configure.in
changeset 1383 1736c5e2173f
parent 1380 d94b080ff6ce
child 1384 6fd39b50dd91
     1.1 --- a/configure.in	Mon Feb 20 03:11:04 2006 +0000
     1.2 +++ b/configure.in	Mon Feb 20 03:57:03 2006 +0000
     1.3 @@ -287,7 +287,7 @@
     1.4  
     1.5              # OpenBSD needs linking with ossaudio emulation library
     1.6              case "$target" in
     1.7 -                *-*-openbsd*)
     1.8 +                *-*-openbsd*|*-*-netbsd*)
     1.9                      BUILD_LIBS="$BUILD_LIBS -lossaudio";;
    1.10              esac
    1.11          fi
    1.12 @@ -1483,7 +1483,7 @@
    1.13              pthread_lib="-pthread"
    1.14              ;;
    1.15          *-*-netbsd*)
    1.16 -            pthread_cflags="-I/usr/include -D_REENTRANT -D_THREAD_SAFE -D_POSIX_THREAD_SYSCALL_SOFT=1"
    1.17 +            pthread_cflags="-D_REENTRANT -D_THREAD_SAFE"
    1.18              pthread_lib="-L/usr/lib -lpthread"
    1.19              ;;
    1.20          *-*-openbsd*)
    1.21 @@ -1976,7 +1976,7 @@
    1.22                  SOURCES="$SOURCES $srcdir/src/cdrom/freebsd/*.c"
    1.23                  have_cdrom=yes
    1.24              ;;
    1.25 -            *netbsd*|*openbsd*)
    1.26 +            *openbsd*|*netbsd*)
    1.27                  AC_DEFINE(SDL_CDROM_OPENBSD)
    1.28                  SOURCES="$SOURCES $srcdir/src/cdrom/openbsd/*.c"
    1.29                  have_cdrom=yes
    1.30 @@ -2014,12 +2014,8 @@
    1.31          fi
    1.32          # Do any final platform setup
    1.33          case $ARCH in
    1.34 -            netbsd)
    1.35 -                # NetBSD does not define "unix"
    1.36 -                BUILD_CFLAGS="$BUILD_CFLAGS -Dunix"
    1.37 -            ;;
    1.38 -            openbsd)
    1.39 -                # OpenBSD does not define "unix"
    1.40 +            openbsd|netbsd)
    1.41 +                # OpenBSD and NetBSD do not define "unix"
    1.42                  BUILD_CFLAGS="$BUILD_CFLAGS -Dunix"
    1.43              ;;
    1.44          esac