42 lines
1.4 KiB
Plaintext
42 lines
1.4 KiB
Plaintext
|
$OpenBSD: patch-configure_in,v 1.1.1.1 2001/08/03 13:02:16 espie Exp $
|
||
|
--- configure.in.orig Tue Jan 11 12:10:13 2000
|
||
|
+++ configure.in Tue Jul 31 17:26:42 2001
|
||
|
@@ -14,7 +14,7 @@ AC_PROG_MAKE_SET
|
||
|
|
||
|
dnl Checks for header files.
|
||
|
AC_CHECK_HEADERS(unistd.h windows.h sys/ioctl.h sys/mman.h sys/asoundlib.h \
|
||
|
- sys/soundcard.h linux/soundcard.h machine/soundcard.h sys/audioio.h \
|
||
|
+ sys/soundcard.h soundcard.h linux/soundcard.h machine/soundcard.h sys/audioio.h \
|
||
|
dsound.h mmsystem.h mme/mmsystem.h mme/mme_public.h)
|
||
|
|
||
|
dnl checks for compiler characteristics
|
||
|
@@ -232,10 +232,10 @@ if test "x$HAS_SVGA" != xyes; then
|
||
|
fi
|
||
|
|
||
|
dnl Make sure -lpthread works (for SDL)
|
||
|
-if test "x$HAS_SDL" = xyes; then
|
||
|
- AC_CHECK_LIB(pthread, pthread_exit ,SDL_LIBS="$SDL_LIBS -lpthread"
|
||
|
- HAS_SDL=yes, HAS_SDL=no, [$SDL_LIBS])
|
||
|
-fi
|
||
|
+dnl if test "x$HAS_SDL" = xyes; then
|
||
|
+dnl AC_CHECK_LIB(pthread, pthread_exit ,SDL_LIBS="$SDL_LIBS -lpthread"
|
||
|
+dnl HAS_SDL=yes, HAS_SDL=no, [$SDL_LIBS])
|
||
|
+dnl fi
|
||
|
if test "x$HAS_SDL" != xyes; then
|
||
|
SDL_CFLAGS="" SDL_LIBS=""
|
||
|
fi
|
||
|
@@ -453,6 +453,13 @@ case "${target}" in
|
||
|
SYS_SRC="sys_linux.c"
|
||
|
QW_CL_SYS_SRC="sys_linux.c"
|
||
|
QW_SRV_SYS_SRC="sys_unix.c"
|
||
|
+ ;;
|
||
|
+ *-*-openbsd*)
|
||
|
+ SYS_SRC="sys_unix.c"
|
||
|
+ QW_CL_SYS_SRC="sys_linux.c"
|
||
|
+ QW_SRV_SYS_SRC="sys_unix.c"
|
||
|
+ SND_STYLE="OpenBSD"
|
||
|
+ DEFAULT_SYS=yes
|
||
|
;;
|
||
|
*)
|
||
|
SYS_SRC="sys_unix.c"
|