Mercurial > sdl-ios-xcode
comparison configure.in @ 1383:1736c5e2173f
NetBSD support
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 20 Feb 2006 03:57:03 +0000 |
parents | d94b080ff6ce |
children | 6fd39b50dd91 |
comparison
equal
deleted
inserted
replaced
1382:b34d38f76a2a | 1383:1736c5e2173f |
---|---|
285 SOURCES="$SOURCES $srcdir/src/audio/dma/*.c" | 285 SOURCES="$SOURCES $srcdir/src/audio/dma/*.c" |
286 have_audio=yes | 286 have_audio=yes |
287 | 287 |
288 # OpenBSD needs linking with ossaudio emulation library | 288 # OpenBSD needs linking with ossaudio emulation library |
289 case "$target" in | 289 case "$target" in |
290 *-*-openbsd*) | 290 *-*-openbsd*|*-*-netbsd*) |
291 BUILD_LIBS="$BUILD_LIBS -lossaudio";; | 291 BUILD_LIBS="$BUILD_LIBS -lossaudio";; |
292 esac | 292 esac |
293 fi | 293 fi |
294 fi | 294 fi |
295 } | 295 } |
1481 *-*-freebsd*) | 1481 *-*-freebsd*) |
1482 pthread_cflags="-D_REENTRANT -D_THREAD_SAFE" | 1482 pthread_cflags="-D_REENTRANT -D_THREAD_SAFE" |
1483 pthread_lib="-pthread" | 1483 pthread_lib="-pthread" |
1484 ;; | 1484 ;; |
1485 *-*-netbsd*) | 1485 *-*-netbsd*) |
1486 pthread_cflags="-I/usr/include -D_REENTRANT -D_THREAD_SAFE -D_POSIX_THREAD_SYSCALL_SOFT=1" | 1486 pthread_cflags="-D_REENTRANT -D_THREAD_SAFE" |
1487 pthread_lib="-L/usr/lib -lpthread" | 1487 pthread_lib="-L/usr/lib -lpthread" |
1488 ;; | 1488 ;; |
1489 *-*-openbsd*) | 1489 *-*-openbsd*) |
1490 pthread_cflags="-D_REENTRANT" | 1490 pthread_cflags="-D_REENTRANT" |
1491 pthread_lib="-pthread" | 1491 pthread_lib="-pthread" |
1974 *freebsd*) | 1974 *freebsd*) |
1975 AC_DEFINE(SDL_CDROM_FREEBSD) | 1975 AC_DEFINE(SDL_CDROM_FREEBSD) |
1976 SOURCES="$SOURCES $srcdir/src/cdrom/freebsd/*.c" | 1976 SOURCES="$SOURCES $srcdir/src/cdrom/freebsd/*.c" |
1977 have_cdrom=yes | 1977 have_cdrom=yes |
1978 ;; | 1978 ;; |
1979 *netbsd*|*openbsd*) | 1979 *openbsd*|*netbsd*) |
1980 AC_DEFINE(SDL_CDROM_OPENBSD) | 1980 AC_DEFINE(SDL_CDROM_OPENBSD) |
1981 SOURCES="$SOURCES $srcdir/src/cdrom/openbsd/*.c" | 1981 SOURCES="$SOURCES $srcdir/src/cdrom/openbsd/*.c" |
1982 have_cdrom=yes | 1982 have_cdrom=yes |
1983 ;; | 1983 ;; |
1984 bsdi) | 1984 bsdi) |
2012 SOURCES="$SOURCES $srcdir/src/timer/unix/*.c" | 2012 SOURCES="$SOURCES $srcdir/src/timer/unix/*.c" |
2013 have_timers=yes | 2013 have_timers=yes |
2014 fi | 2014 fi |
2015 # Do any final platform setup | 2015 # Do any final platform setup |
2016 case $ARCH in | 2016 case $ARCH in |
2017 netbsd) | 2017 openbsd|netbsd) |
2018 # NetBSD does not define "unix" | 2018 # OpenBSD and NetBSD do not define "unix" |
2019 BUILD_CFLAGS="$BUILD_CFLAGS -Dunix" | |
2020 ;; | |
2021 openbsd) | |
2022 # OpenBSD does not define "unix" | |
2023 BUILD_CFLAGS="$BUILD_CFLAGS -Dunix" | 2019 BUILD_CFLAGS="$BUILD_CFLAGS -Dunix" |
2024 ;; | 2020 ;; |
2025 esac | 2021 esac |
2026 ;; | 2022 ;; |
2027 *-*-qnx*) | 2023 *-*-qnx*) |