From c77865b99cf93c7004f777402daa9bf6633143e9 Mon Sep 17 00:00:00 2001 From: bgermann Date: Tue, 11 Sep 2018 17:45:59 +0200 Subject: [PATCH] Merge two flag definition cases --- acinclude.m4 | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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"