]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
r12070@catbus: nickm | 2007-03-04 14:51:23 -0500
authorNick Mathewson <nickm@torproject.org>
Sun, 4 Mar 2007 19:52:39 +0000 (19:52 +0000)
committerNick Mathewson <nickm@torproject.org>
Sun, 4 Mar 2007 19:52:39 +0000 (19:52 +0000)
 Fix a stray autoconf warning.

svn:r9731

configure.in

index f12f19d68fbbc4eb6514fe57c794966d7adbb9c0..e73277bda0850775d1c32a8855d1441be8189e95 100644 (file)
@@ -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])