9f63c71af0
- Make all last changes that i've made on security/clamav: o Make arc, arj, lha and unzoo achives support dependency as OPTIONS o Fix build with gethostbyname_r after 601103 o Install clamav-config.h o Change clamav-milter rc.d script to use a var to determine seconds of timeout to wait clamd socket be started, just if clamav_clamd_enable is set
46 lines
1.1 KiB
Text
46 lines
1.1 KiB
Text
--- configure.orig Thu Mar 1 20:46:19 2007
|
|
+++ configure Tue Mar 13 10:28:27 2007
|
|
@@ -22431,19 +22431,25 @@
|
|
sendmailver_c=`echo $sendmailver | awk -F. '{printf $3}'`
|
|
|
|
|
|
+if echo "$sendmailver_a" | egrep -q '^[0-9]+$'; then
|
|
cat >>confdefs.h <<_ACEOF
|
|
#define SENDMAIL_VERSION_A $sendmailver_a
|
|
_ACEOF
|
|
+fi
|
|
|
|
|
|
+if echo "$sendmailver_b" | egrep -q '^[0-9]+$'; then
|
|
cat >>confdefs.h <<_ACEOF
|
|
#define SENDMAIL_VERSION_B $sendmailver_b
|
|
_ACEOF
|
|
+fi
|
|
|
|
|
|
+if echo "$sendmailver_c" | egrep -q '^[0-9]+$'; then
|
|
cat >>confdefs.h <<_ACEOF
|
|
#define SENDMAIL_VERSION_C $sendmailver_c
|
|
_ACEOF
|
|
+fi
|
|
|
|
fi
|
|
fi
|
|
@@ -23087,7 +23093,7 @@
|
|
;;
|
|
freebsd*)
|
|
if test "$have_pthreads" = "yes"; then
|
|
- THREAD_LIBS="-pthread -lc_r"
|
|
+ THREAD_LIBS="%%PTHREAD_LIBS%%"
|
|
TH_SAFE="-thread-safe"
|
|
|
|
cat >>confdefs.h <<\_ACEOF
|
|
@@ -23427,7 +23433,7 @@
|
|
if test "$have_milter" = "yes"; then
|
|
|
|
save_LDFLAGS="$LDFLAGS"
|
|
- CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -lpthread"
|
|
+ CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS %%PTHREAD_LIBS%%"
|
|
if test -d /usr/lib/libmilter ; then
|
|
CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -L/usr/lib/libmilter"
|
|
fi
|