samba3-vscan configure.in,1.3,1.4

Rainer Link <[email protected]> Sun, 24 Jul 2005 14:15:51 +0000
Newsgroups gmane.comp.security.virus.openantivirus.cvs
Message-ID <[email protected]>
Update of /cvsroot/openantivirus/samba3-vscan
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29902

Modified Files:
	configure.in 
Log Message:
fix the atoll and related logic


Index: configure.in
===================================================================
RCS file: /cvsroot/openantivirus/samba3-vscan/configure.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- configure.in	23 Jul 2005 15:09:11 -0000	1.3
+++ configure.in	24 Jul 2005 14:15:48 -0000	1.4
@@ -119,9 +119,15 @@
 		[ GLOBAL_LIBS="-lresolv $GLOBAL_LIBS"
 		  AC_DEFINE(HAVE_INET_ATON, 1, [Define if you have inet_aton])])])
 
-AC_CHECK_FUNC(atoll, AC_DEFINE(HAVE_ATOLL),)
-AC_CHECK_FUNC(strtoll, AC_DEFINE(HAVE_STRTOLL),)
-AC_CHECK_FUNC(atoq, AC_DEFINE(HAVE_ATOQ),)
+dnl Check for 'long long'
+dnl
+
+AC_CHECK_SIZEOF(long long, 0)
+if test "$ac_cv_sizeof_long_long" != 0; then
+	AC_DEFINE(HAVE_LONG_LONG, 1, [Define to 1 if you have long long])
+fi
+
+AC_CHECK_FUNCS(atoll strtoll atoq)
 
 AC_ARG_WITH(fhs, 
 [  --with-fhs              Use FHS-compliant paths (default=no)],



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click