Merge two flag definition cases
This commit is contained in:
parent
0aaee954d6
commit
c77865b99c
@ -401,7 +401,7 @@ AC_DEFUN([GB_INIT],
|
||||
AC_DEFUN([GB_THREAD],
|
||||
[
|
||||
case "${host}" in
|
||||
*-*-freebsd* | *-*-darwin* )
|
||||
*-*-freebsd* | *-*-netbsd* | *-*-darwin* )
|
||||
THREAD_LIB=""
|
||||
THREAD_INC="-pthread -D_REENTRANT"
|
||||
GBX_THREAD_LIB=""
|
||||
@ -415,13 +415,6 @@ AC_DEFUN([GB_THREAD],
|
||||
GBX_THREAD_INC=""
|
||||
GBX_THREAD_LDFLAGS=""
|
||||
;;
|
||||
*-*-netbsd* )
|
||||
THREAD_LIB=""
|
||||
THREAD_INC="-pthread -D_REENTRANT"
|
||||
GBX_THREAD_LIB=""
|
||||
GBX_THREAD_INC="-pthread -D_REENTRANT"
|
||||
GBX_THREAD_LDFLAGS=""
|
||||
;;
|
||||
*)
|
||||
THREAD_LIB="-lpthread"
|
||||
THREAD_INC="-D_REENTRANT"
|
||||
|
Loading…
x
Reference in New Issue
Block a user