samba-vscan configure.in,1.17.2.22,1.17.2.23

Rainer Link <[email protected]> Mon, 21 May 2007 17:15:58 +0000
Newsgroups gmane.comp.security.virus.openantivirus.cvs
Message-ID <[email protected]>
Update of /cvsroot/openantivirus/samba-vscan
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv906

Modified Files:
      Tag: VSCAN_0_3
	configure.in 
Log Message:
updated


Index: configure.in
===================================================================
RCS file: /cvsroot/openantivirus/samba-vscan/configure.in,v
retrieving revision 1.17.2.22
retrieving revision 1.17.2.23
diff -u -d -r1.17.2.22 -r1.17.2.23
--- configure.in	20 May 2007 21:07:47 -0000	1.17.2.22
+++ configure.in	21 May 2007 17:15:55 -0000	1.17.2.23
@@ -977,14 +977,17 @@
 
 if test x"$vscan_cv_filerregexp" != x"no"; then
  vscan_cv_filerregexp=no
+ AC_CHECK_HEADERS(pcre.h)
  vscan_save_LIBS=$LIBS
  if pcre-config --cflags >/dev/null 2>&1; then
   LIBS="$LIBS `pcre-config --libs`"
  fi
  AC_CHECK_LIB(pcre, pcre_exec)
  if test x"$ac_cv_lib_pcre_pcre_exec" = x"yes"; then
-  vscan_cv_filerregexp=yes
-  PCRE_LIB="$LIBS"
+  if test x"$ac_cv_header_pcre_h" = x"yes"; then
+   vscan_cv_filerregexp=yes
+   PCRE_LIB="$LIBS"
+  fi
  fi
  LIBS=$vscan_save_LIBS
 fi


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/