Pass `-pthread' to gcc on Solaris.
authorlinus <linus>
Wed, 31 Mar 2010 11:50:43 +0000 (11:50 +0000)
committerlinus <linus@e88ac4ed-0b26-0410-9574-a7f39faa03bf>
Wed, 31 Mar 2010 11:50:43 +0000 (11:50 +0000)
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@537 e88ac4ed-0b26-0410-9574-a7f39faa03bf

configure.ac

index c8dd005..7585a60 100644 (file)
@@ -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"
     ;;