[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r9731: Fix a stray autoconf warning. (tor/trunk)
Author: nickm
Date: 2007-03-04 14:52:39 -0500 (Sun, 04 Mar 2007)
New Revision: 9731
Modified:
tor/trunk/
tor/trunk/configure.in
Log:
r12070@catbus: nickm | 2007-03-04 14:51:23 -0500
Fix a stray autoconf warning.
Property changes on: tor/trunk
___________________________________________________________________
svk:merge ticket from /tor/trunk [r12070] on 8246c3cf-6607-4228-993b-4d95d33730f1
Modified: tor/trunk/configure.in
===================================================================
--- tor/trunk/configure.in 2007-03-04 19:49:06 UTC (rev 9730)
+++ tor/trunk/configure.in 2007-03-04 19:52:39 UTC (rev 9731)
@@ -513,12 +513,12 @@
CFLAGS="$CFLAGS $MY_CPPFLAGS $MY_THREAD_CPPFLAGS $MY_CFLAGS"
AC_COMPILE_IFELSE(AC_LANG_PROGRAM([
#include <netdb.h>
- ], [
+ ], [[
char *cp1, *cp2;
struct hostent *h1, *h2;
int i1, i2;
(void)gethostbyname_r(cp1,h1,cp2,i1,&h2,&i2);
- ]),[
+ ]]),[
AC_DEFINE(HAVE_GETHOSTBYNAME_R)
AC_DEFINE(HAVE_GETHOSTBYNAME_R_6_ARG, 1,
[Define this if gethostbyname_r takes 6 arguments])