diff --git a/acinclude.m4 b/acinclude.m4 index 48fd8bdbc..22bf69ae4 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -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"