summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-03-04 19:52:39 +0000
committerNick Mathewson <nickm@torproject.org>2007-03-04 19:52:39 +0000
commit238a13f3e61e9b2c910c37220b07fb44834b41c9 (patch)
tree57a66279581c7b0113440112173cccaef2b9ddc7 /configure.in
parent6b79e252f68dfbd44bbdf129e73f8db75556e41e (diff)
downloadtor-238a13f3e61e9b2c910c37220b07fb44834b41c9.tar.gz
tor-238a13f3e61e9b2c910c37220b07fb44834b41c9.zip
r12070@catbus: nickm | 2007-03-04 14:51:23 -0500
Fix a stray autoconf warning. svn:r9731
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index f12f19d68f..e73277bda0 100644
--- a/configure.in
+++ b/configure.in
@@ -513,12 +513,12 @@ AC_CHECK_FUNC(gethostbyname_r, [
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])