From: Dan Langille Date: Wed, 14 Jun 2006 16:32:08 +0000 (+0000) Subject: This patch has been in the FreeBSD port for some time. X-Git-Tag: Release-2.0.0~831 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=98c65e93b88f3ed8988ed7b9742c7926510498e5;p=bacula%2Fbacula This patch has been in the FreeBSD port for some time. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3062 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index 3f5beaf6ce..88cf49c1ac 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -1730,8 +1730,8 @@ freebsd) DISTVER=`uname -a |awk '{print $3}'` VER=`echo $DISTVER | cut -c 1` if test x$VER = x4 ; then - PTHREAD_LIB="-pthread" - CFLAGS="${CFLAGS} -pthread" + PTHREAD_LIB=""${PTHREAD_LIBS}" + CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" fi lld="qd" llu="qu"