summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-02-15 00:40:36 +0000
committerNick Mathewson <nickm@torproject.org>2005-02-15 00:40:36 +0000
commite6dcb17ba4e1c6f518a53d68dfb2bae0654a2dde (patch)
tree1b7cd93814636ebf4c907de90f9277154f81ae03 /configure.in
parentecf7bb5ff4d979ccfd5b440626d64cd49cd0916a (diff)
downloadtor-e6dcb17ba4e1c6f518a53d68dfb2bae0654a2dde.tar.gz
tor-e6dcb17ba4e1c6f518a53d68dfb2bae0654a2dde.zip
Fix check for NULL representation to include string.h; this makes fixes building on Irix, I hope.
svn:r3625
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index ce4afff6b2..efd14b7a25 100644
--- a/configure.in
+++ b/configure.in
@@ -205,6 +205,7 @@ fi
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],