]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Fix compile error.
authorSimon Josefsson <simon@josefsson.org>
Thu, 5 Nov 2009 07:45:56 +0000 (08:45 +0100)
committerSimon Josefsson <simon@josefsson.org>
Thu, 5 Nov 2009 07:45:56 +0000 (08:45 +0100)
Tiny patch by Brad Hards <bradh@frogmouth.net> in
<http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3943>.

gl/m4/inet_ntop.m4
gl/m4/inet_pton.m4

index 85a6bb6808b5bbc7f370136daf2b48e71a406ff9..ea645f242f7b16ecfb04f5c8312966efc62dda19 100644 (file)
@@ -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])
index f0718016a8ec4098a32015f9f239d315269eaa81..068deee628a81079c405b0d3d64a119ebd6a7546 100644 (file)
@@ -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])