Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117887759
clamav.m4
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
956 B
Referenced Files
None
Subscribers
None
clamav.m4
View Options
dnl
dnl macros for configure.in to detect clamav library
dnl $Id: clamav.m4,v 1.2 2005/05/28 02:26:59 shadow Exp $
dnl
AC_DEFUN([CMU_CLAMAV], [
AC_REQUIRE([CMU_FIND_LIB_SUBDIR])
AC_ARG_WITH(clamav,[ --with-clamav=PATH use ClamAV - PATH to clamav-config (yes)],
with_clamav=$withval, with_clamav=yes)
have_clamav=no
if test "$with_clamav" != no; then
if test -d $with_clamav; then
clamav_path=${with_clamav}:${with_clamav}/bin
else
clamav_path=/usr/local/bin:/usr/bin:$PATH
fi
AC_PATH_PROG(CLAMAV_CONFIG,clamav-config,,[$clamav_path])
if test -x "$CLAMAV_CONFIG"; then
LIB_CLAMAV="`$CLAMAV_CONFIG --libs` -lclamav"
CFLAGS_CLAMAV=`$CLAMAV_CONFIG --cflags`
if test -n "$LIB_CLAMAV"; then
have_clamav=yes
test -n "$CFLAGS_CLAMAV" && CPPFLAGS="$CPPFLAGS $CFLAGS_CLAMAV"
AC_DEFINE(HAVE_CLAMAV,[],[Do we have ClamAV?])
AC_SUBST(LIB_CLAMAV)
fi
fi
fi
AC_MSG_CHECKING(ClamAV support)
AC_MSG_RESULT($have_clamav)
])
File Metadata
Details
Attached
Mime Type
text/x-m4
Expires
Mon, Apr 6, 3:07 AM (2 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18782073
Default Alt Text
clamav.m4 (956 B)
Attached To
Mode
R111 cyrus-imapd
Attached
Detach File
Event Timeline