configure.ac: add OpenBSD

Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Reviewed-by: Vinson Lee <vlee@freedesktop.org>
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
This commit is contained in:
Jonathan Gray 2013-06-26 17:11:57 +10:00 committed by Vinson Lee
parent 21f97446f4
commit 78fbb41fe3
1 changed files with 3 additions and 3 deletions

View File

@ -449,7 +449,7 @@ if test "x$enable_asm" = xyes; then
case "$host_cpu" in case "$host_cpu" in
i?86) i?86)
case "$host_os" in case "$host_os" in
linux* | *freebsd* | dragonfly* | *netbsd*) linux* | *freebsd* | dragonfly* | *netbsd* | openbsd*)
test "x$enable_64bit" = xyes && asm_arch=x86_64 || asm_arch=x86 test "x$enable_64bit" = xyes && asm_arch=x86_64 || asm_arch=x86
;; ;;
gnu*) gnu*)
@ -459,7 +459,7 @@ if test "x$enable_asm" = xyes; then
;; ;;
x86_64) x86_64)
case "$host_os" in case "$host_os" in
linux* | *freebsd* | dragonfly* | *netbsd*) linux* | *freebsd* | dragonfly* | *netbsd* | openbsd*)
test "x$enable_32bit" = xyes && asm_arch=x86 || asm_arch=x86_64 test "x$enable_32bit" = xyes && asm_arch=x86 || asm_arch=x86_64
;; ;;
esac esac
@ -985,7 +985,7 @@ if test "x$enable_dri" = xyes; then
;; ;;
esac esac
;; ;;
freebsd* | dragonfly* | *netbsd*) freebsd* | dragonfly* | *netbsd* | openbsd*)
DEFINES="$DEFINES -DHAVE_PTHREAD -DUSE_EXTERNAL_DXTN_LIB=1" DEFINES="$DEFINES -DHAVE_PTHREAD -DUSE_EXTERNAL_DXTN_LIB=1"
DEFINES="$DEFINES -DHAVE_ALIAS" DEFINES="$DEFINES -DHAVE_ALIAS"