[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Fix check for NULL representation to include string.h; this...
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] Fix check for NULL representation to include string.h; this...
- From: nickm@xxxxxxxx (Nick Mathewson)
- Date: Mon, 14 Feb 2005 19:40:38 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Mon, 14 Feb 2005 19:40:57 -0500
- Reply-to: or-dev@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
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],