]>
Commit | Line | Data |
---|---|---|
1 | --- clamav-0.93rc1/configure.in~ 2008-03-30 15:23:02.706953608 +0200 | |
2 | +++ clamav-0.93rc1/configure.in 2008-03-30 15:24:20.343998437 +0200 | |
3 | @@ -911,10 +911,7 @@ | |
4 | dnl Check for libmilter and it's header files in the usual locations | |
5 | save_LDFLAGS="$LDFLAGS" | |
6 | CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -lpthread" | |
7 | - if test -d /usr/lib/libmilter ; then | |
8 | - CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -L/usr/lib/libmilter" | |
9 | - fi | |
10 | - LDFLAGS="$LDFLAGS -lmilter $CLAMAV_MILTER_LIBS" | |
11 | + LDFLAGS="-lmilter $CLAMAV_MILTER_LIBS" | |
12 | AC_CHECK_LIB([milter],[mi_stop],[CLAMAV_MILTER_LIBS="-lmilter $CLAMAV_MILTER_LIBS"],[ | |
13 | dnl Older sendmails require libsm or libsmutil for support functions | |
14 | AC_SEARCH_LIBS([strlcpy], [sm smutil], [test "$ac_cv_search_strlcpy" = "none required" || CLAMAV_MILTER_XLIB="$ac_cv_search_strlcpy"]) |