]> git.pld-linux.org Git - packages/clamav.git/commitdiff
- help configure finding libmilter
authorshadzik <shadzik@pld-linux.org>
Wed, 3 Jan 2007 18:08:12 +0000 (18:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    clamav-find_milter.patch -> 1.1

clamav-find_milter.patch [new file with mode: 0644]

diff --git a/clamav-find_milter.patch b/clamav-find_milter.patch
new file mode 100644 (file)
index 0000000..eee3539
--- /dev/null
@@ -0,0 +1,11 @@
+--- configure.in       2007-01-03 18:50:38.000000000 +0100
++++ configure.in-new   2007-01-03 18:51:09.000000000 +0100
+@@ -615,7 +615,7 @@
+     if test -d /usr/lib/libmilter ; then
+       CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -L/usr/lib/libmilter"
+     fi
+-    LDFLAGS="$LDFLAGS -lmilter $CLAMAV_MILTER_LIBS"
++    LDFLAGS="-lmilter $CLAMAV_MILTER_LIBS"
+     AC_CHECK_LIB(milter, mi_stop,[CLAMAV_MILTER_LIBS="-lmilter $CLAMAV_MILTER_LIBS"],[
+       dnl Older sendmails require libsm or libsmutil for support functions
+       AC_SEARCH_LIBS(strlcpy, [sm smutil], [test "$ac_cv_search_strlcpy" = "none required" || CLAMAV_MILTER_XLIB="$ac_cv_search_strlcpy"])
This page took 0.149585 seconds and 4 git commands to generate.