samba-vscan configure.in,1.17.2.12,1.17.2.13

[email protected]
Newsgroups gmane.comp.security.virus.openantivirus.cvs
Message-ID <[email protected]>
Update of /cvsroot/openantivirus/samba-vscan
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31698

Modified Files:
      Tag: VSCAN_0_3
	configure.in 
Log Message:
improved output for libclamav checking


Index: configure.in
===================================================================
RCS file: /cvsroot/openantivirus/samba-vscan/configure.in,v
retrieving revision 1.17.2.12
retrieving revision 1.17.2.13
diff -u -d -r1.17.2.12 -r1.17.2.13
--- configure.in	26 Feb 2004 17:18:25 -0000	1.17.2.12
+++ configure.in	1 Mar 2004 10:02:28 -0000	1.17.2.13
@@ -670,10 +670,11 @@
 #
 # clamav
 #
-AC_MSG_CHECKING(whether to use libclamav, disables clamd support)
+AC_MSG_CHECKING(whether to use libclamav)
 AC_ARG_WITH(libclamav,
 [ --with-libclamav  Use libclamav instead of clamd (default=no)],
 [ if test x"$withval" = "xyes" ; then
+   AC_MSG_RESULT(yes)
    AC_CHECK_HEADERS(clamav.h)
    vscan_save_LIBS=$LIBS
    AC_CHECK_LIB(clamav,cl_loaddbdir)
@@ -682,15 +683,18 @@
     if test x"$ac_cv_lib_clamav_cl_loaddbdir" = x"yes"; then
       CLAMAV_LIBS="-lclamav"
       AC_DEFINE(LIBCLAMAV,1,[Whether to use lib clamav])
-      AC_MSG_RESULT(yes)
+      AC_MSG_CHECKING(whether to use clamd or libclamav)
+      AC_MSG_RESULT(libclamav)
     else
-      AC_MSG_RESULT(no)
+      AC_MSG_RESULT(clamd)
     fi
    fi
   else
    AC_MSG_RESULT(no) 
  fi
-])
+], 
+  AC_MSG_RESULT(no)
+)
 AC_SUBST(CLAMAV_LIBS)
 
 #



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.