samba-vscan configure.in,1.17.2.13,1.17.2.14

[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-serv10980

Modified Files:
      Tag: VSCAN_0_3
	configure.in 
Log Message:
make build of vscan-symantec a configure switch (will not be built by
default).
NOTE: vscan-symantec will be statically linked against a Symantec lib, 
which is not GPL. So, the vscan-symantec module is not 100% GPL anymore. 
Loading this module into Samba may violate the GPL. Do not distribute
a binary vscan-symantec module. If unsure, get in touch with the Samba
team.


Index: configure.in
===================================================================
RCS file: /cvsroot/openantivirus/samba-vscan/configure.in,v
retrieving revision 1.17.2.13
retrieving revision 1.17.2.14
diff -u -d -r1.17.2.13 -r1.17.2.14
--- configure.in	1 Mar 2004 10:02:28 -0000	1.17.2.13
+++ configure.in	3 Mar 2004 15:51:53 -0000	1.17.2.14
@@ -672,7 +672,7 @@
 #
 AC_MSG_CHECKING(whether to use libclamav)
 AC_ARG_WITH(libclamav,
-[ --with-libclamav  Use libclamav instead of clamd (default=no)],
+[  --with-libclamav        Use libclamav instead of clamd (default=no)],
 [ if test x"$withval" = "xyes" ; then
    AC_MSG_RESULT(yes)
    AC_CHECK_HEADERS(clamav.h)
@@ -819,11 +819,29 @@
 AC_SUBST(libkavdc_LIBS)
 #
 
+
+
 ###########################################################
 #
 # Symantec lib
 #
 #VSCAN_BACKENDS="${VSCAN_BACKENDS} symantec"
+
+AC_MSG_CHECKING(whether to build Symantec module)
+AC_ARG_WITH(symantec,
+[  --with-symantec         Compile vscan-symantec module (default=no)],
+[ case "$withval" in
+  no)
+    AC_MSG_RESULT(no)
+    ;;
+  *)
+    VSCAN_BACKENDS="${VSCAN_BACKENDS} symantec"
+    AC_MSG_RESULT(yes)
+    ;;
+  esac ],
+  AC_MSG_RESULT(no)
+)
+
 SYMANTEC_LIBS=
 AC_SUBST(SYMANTEC_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.