[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Fix check for NULL representation to include string.h; this...



Update of /home/or/cvsroot/tor
In directory moria.mit.edu:/tmp/cvs-serv19170

Modified Files:
	configure.in 
Log Message:
Fix check for NULL representation to include string.h; this makes fixes building on Irix, I hope.

Index: configure.in
===================================================================
RCS file: /home/or/cvsroot/tor/configure.in,v
retrieving revision 1.166
retrieving revision 1.167
diff -u -d -r1.166 -r1.167
--- configure.in	12 Feb 2005 21:06:06 -0000	1.166
+++ configure.in	15 Feb 2005 00:40:36 -0000	1.167
@@ -205,6 +205,7 @@
 AC_CACHE_CHECK([whether memset(0) sets pointers to NULL], tor_cv_null_is_zero,
 [AC_RUN_IFELSE([AC_LANG_SOURCE(
 [[#include <stdlib.h>
+#include <string.h>
 int main () { char *p1,*p2; p1=NULL; memset(&p2,0,sizeof(p2));
 return memcmp(&p1,&p2,sizeof(char*))?1:0; }]])],
        [tor_cv_null_is_zero=yes],