From: Simon Josefsson Date: Thu, 5 Nov 2009 13:42:03 +0000 (+0100) Subject: inet_ntop, inet_pton: Fix link error. X-Git-Tag: v0.1~5246 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=757089b71ada13e18169e2be3509c1b07bd1c63d;p=gnulib.git inet_ntop, inet_pton: Fix link error. --- diff --git a/ChangeLog b/ChangeLog index 36c74dd4c..3c733a522 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2009-11-05 Simon Josefsson + 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. + +2009-11-05 Simon Josefsson + * tests/test-func.c: Also test value of __func__. 2009-11-05 Simon Josefsson diff --git a/m4/inet_ntop.m4 b/m4/inet_ntop.m4 index e3c6c8be3..2a8ff2051 100644 --- a/m4/inet_ntop.m4 +++ b/m4/inet_ntop.m4 @@ -18,7 +18,8 @@ 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 required"; then + if test "$ac_cv_search_inet_ntop" != "no" && + test "$ac_cv_search_inet_ntop" != "none required"; then INET_NTOP_LIB="$ac_cv_search_inet_ntop" fi AC_SUBST([INET_NTOP_LIB]) diff --git a/m4/inet_pton.m4 b/m4/inet_pton.m4 index b2662572f..e890b9b7a 100644 --- a/m4/inet_pton.m4 +++ b/m4/inet_pton.m4 @@ -18,7 +18,8 @@ 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 required"; then + if test "$ac_cv_search_inet_pton" != "no" && + test "$ac_cv_search_inet_pton" != "none required"; then INET_PTON_LIB="$ac_cv_search_inet_pton" fi AC_SUBST([INET_PTON_LIB])