Make that `-pthreads', with a trailing `s', for making GCC pre gcc-4.x
authorlinus <linus>
Wed, 31 Mar 2010 12:28:16 +0000 (12:28 +0000)
committerlinus <linus@e88ac4ed-0b26-0410-9574-a7f39faa03bf>
Wed, 31 Mar 2010 12:28:16 +0000 (12:28 +0000)
happy too.

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@541 e88ac4ed-0b26-0410-9574-a7f39faa03bf

configure.ac

index 7585a60..e6b62c0 100644 (file)
@@ -55,7 +55,7 @@ case "${target_os}" in
     if test "$GCC" != yes ; then
       TARGET_CFLAGS="$TARGET_CFLAGS -mt"
     else
-      TARGET_CFLAGS="$TARGET_CFLAGS -pthread"
+      TARGET_CFLAGS="$TARGET_CFLAGS -pthreads"
     fi
     TARGET_LDFLAGS="-lpthread -lsocket -lnsl"
     ;;