diff options
author | Simon Josefsson <simon@josefsson.org> | 2009-11-05 08:45:56 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2009-11-05 08:45:56 +0100 |
commit | 520cf54a3e6b1ef0474a93262b880714f4b3e6df (patch) | |
tree | f22cc347b1269eb90ccfb1317038c9d2cece3fe7 /gl | |
parent | 01a88f21c9447fb73a01453b17e2f7f701b95200 (diff) | |
download | gnutls-520cf54a3e6b1ef0474a93262b880714f4b3e6df.tar.gz |
Fix compile error.
Tiny patch by Brad Hards <bradh@frogmouth.net> in
<http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3943>.
Diffstat (limited to 'gl')
-rw-r--r-- | gl/m4/inet_ntop.m4 | 3 | ||||
-rw-r--r-- | gl/m4/inet_pton.m4 | 3 |
2 files changed, 4 insertions, 2 deletions
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]) |