From: Simon Josefsson Date: Thu, 5 Nov 2009 07:45:56 +0000 (+0100) Subject: Fix compile error. X-Git-Tag: gnutls_2_9_8~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=520cf54a3e6b1ef0474a93262b880714f4b3e6df;p=thirdparty%2Fgnutls.git Fix compile error. Tiny patch by Brad Hards in . --- diff --git a/gl/m4/inet_ntop.m4 b/gl/m4/inet_ntop.m4 index 85a6bb6808..ea645f242f 100644 --- a/gl/m4/inet_ntop.m4 +++ b/gl/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 needed"; then + if test "$ac_cv_search_inet_ntop" != "none needed" && + 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/gl/m4/inet_pton.m4 b/gl/m4/inet_pton.m4 index f0718016a8..068deee628 100644 --- a/gl/m4/inet_pton.m4 +++ b/gl/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 needed"; then + if test "$ac_cv_search_inet_pton" != "none needed" && + test "$ac_cv_search_inet_pton" != "none required"; then INET_PTON_LIB="$ac_cv_search_inet_pton" fi AC_SUBST([INET_PTON_LIB])