Lines 1-6
Link Here
|
1 |
--- configure.orig Thu Mar 1 20:46:19 2007 |
1 |
--- configure.orig 2008-09-01 11:41:18.000000000 -0700 |
2 |
+++ configure Tue Mar 13 10:28:27 2007 |
2 |
+++ configure 2008-09-11 21:40:30.703529448 -0700 |
3 |
@@ -22431,19 +22431,25 @@ |
3 |
@@ -16542,7 +16542,6 @@ |
|
|
4 |
;; |
5 |
freebsd[45]*) |
6 |
if test "$have_pthreads" = "yes"; then |
7 |
- THREAD_LIBS="-pthread -lc_r" |
8 |
TH_SAFE="-thread-safe" |
9 |
|
10 |
cat >>confdefs.h <<\_ACEOF |
11 |
@@ -16571,7 +16570,7 @@ |
12 |
;; |
13 |
freebsd*) |
14 |
if test "$have_pthreads" = "yes"; then |
15 |
- THREAD_LIBS="-lthr" |
16 |
+ THREAD_LIBS="%%PTHREAD_LIBS%%" |
17 |
TH_SAFE="-thread-safe" |
18 |
|
19 |
cat >>confdefs.h <<\_ACEOF |
20 |
@@ -16931,7 +16930,7 @@ |
21 |
if test "$have_milter" = "yes"; then |
22 |
|
23 |
save_LDFLAGS="$LDFLAGS" |
24 |
- CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -lpthread" |
25 |
+ CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS %%PTHREAD_LIBS%%" |
26 |
if test -d /usr/lib/libmilter ; then |
27 |
CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -L/usr/lib/libmilter" |
28 |
fi |
29 |
@@ -17468,19 +17467,25 @@ |
4 |
sendmailver_c=`echo $sendmailver | awk -F. '{printf $3}'` |
30 |
sendmailver_c=`echo $sendmailver | awk -F. '{printf $3}'` |
5 |
|
31 |
|
6 |
|
32 |
|
Lines 25-46
Link Here
|
25 |
+fi |
51 |
+fi |
26 |
|
52 |
|
27 |
fi |
53 |
fi |
28 |
fi |
54 |
if test "x$ac_cv_have_lresolv_r" != "xyes"; then |
29 |
@@ -23087,7 +23093,7 @@ |
|
|
30 |
;; |
31 |
freebsd*) |
32 |
if test "$have_pthreads" = "yes"; then |
33 |
- THREAD_LIBS="-pthread -lc_r" |
34 |
+ THREAD_LIBS="%%PTHREAD_LIBS%%" |
35 |
TH_SAFE="-thread-safe" |
36 |
|
37 |
cat >>confdefs.h <<\_ACEOF |
38 |
@@ -23427,7 +23433,7 @@ |
39 |
if test "$have_milter" = "yes"; then |
40 |
|
41 |
save_LDFLAGS="$LDFLAGS" |
42 |
- CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -lpthread" |
43 |
+ CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS %%PTHREAD_LIBS%%" |
44 |
if test -d /usr/lib/libmilter ; then |
45 |
CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -L/usr/lib/libmilter" |
46 |
fi |