Fix link error.
authorBruno Haible <bruno@clisp.org>
Thu, 5 Nov 2009 10:46:16 +0000 (11:46 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 5 Nov 2009 10:46:16 +0000 (11:46 +0100)
ChangeLog
m4/inet_ntop.m4
m4/inet_pton.m4

index 8f56ef7d5d01a16481031289ce62d27d8ca7c159..467299fd2fcae71e0016ac5deb91583838d45e27 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-11-05  Bruno Haible  <bruno@clisp.org>
+
+       Fix link error.
+       * m4/inet_ntop.m4 (gl_INET_NTOP): Fix test of AC_SEARCH_LIBS result.
+       * m4/inet_pton.m4 (gl_INET_PTON): Likewise.
+       Reported by Brad Hards <bradh@frogmouth.net> via Simon Josefsson.
+
 2009-11-05  Bruno Haible  <bruno@clisp.org>
 
        Tests for module 'inet_pton'.
index 85a6bb6808b5bbc7f370136daf2b48e71a406ff9..e3c6c8be3c9e7562f3e8d6f86ab79a198f711b78 100644 (file)
@@ -1,4 +1,4 @@
-# inet_ntop.m4 serial 10
+# inet_ntop.m4 serial 11
 dnl Copyright (C) 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -18,7 +18,7 @@ AC_DEFUN([gl_INET_NTOP],
     [AC_REPLACE_FUNCS([inet_ntop])])
   LIBS=$gl_save_LIBS
   INET_NTOP_LIB=
-  if test "$ac_cv_search_inet_ntop" != "none needed"; then
+  if test "$ac_cv_search_inet_ntop" != "none required"; then
     INET_NTOP_LIB="$ac_cv_search_inet_ntop"
   fi
   AC_SUBST([INET_NTOP_LIB])
index f0718016a8ec4098a32015f9f239d315269eaa81..b2662572f36166d95d50076aaa97eb49c0171af0 100644 (file)
@@ -1,4 +1,4 @@
-# inet_pton.m4 serial 8
+# inet_pton.m4 serial 9
 dnl Copyright (C) 2006, 2008, 2009 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -18,7 +18,7 @@ AC_DEFUN([gl_INET_PTON],
     [AC_REPLACE_FUNCS([inet_pton])])
   LIBS=$gl_save_LIBS
   INET_PTON_LIB=
-  if test "$ac_cv_search_inet_pton" != "none needed"; then
+  if test "$ac_cv_search_inet_pton" != "none required"; then
     INET_PTON_LIB="$ac_cv_search_inet_pton"
   fi
   AC_SUBST([INET_PTON_LIB])