From 4910a838b25586937a1c60555cb5ad2cea507798 Mon Sep 17 00:00:00 2001 From: linus Date: Wed, 31 Mar 2010 12:03:26 +0000 Subject: Backported from trunk: Pass `-pthread\' to gcc on Solaris. git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.3@540 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 8bde432..69647da 100644 --- a/configure.ac +++ b/configure.ac @@ -54,6 +54,8 @@ case "${target_os}" in TARGET_CFLAGS="-DSYS_SOLARIS9 -D_POSIX_PTHREAD_SEMANTICS" if test "$GCC" != yes ; then TARGET_CFLAGS="$TARGET_CFLAGS -mt" + else + TARGET_CFLAGS="$TARGET_CFLAGS -pthread" fi TARGET_LDFLAGS="-lpthread -lsocket -lnsl" ;; -- cgit v1.1