[patch] update M4 for INET_NTOP and INET_PTON checks.
Brad Hards
bradh at frogmouth.net
Thu Nov 5 03:44:45 CET 2009
libtool: link: gcc -std=gnu99 -g -O2 -o ex-client2 ex-client2.o none required
none required ./.libs/libexamples.a ../../lib/.libs/libgnutls.so -
L/usr/local/lib ../../libextra/.libs/libgnutls-extra.so /home/bradh-
dev/gnutls-git/lib/.libs/libgnutls.so -ltasn1 -lz /usr/local/lib/libgcrypt.so
-lgpg-error ../../gl/.libs/libgnu.a -Wl,-rpath -Wl,/home/bradh-dev/gnutls-
git/lib/.libs -Wl,-rpath -Wl,/home/bradh-dev/gnutls-git/libextra/.libs
gcc: none: No such file or directory
gcc: required: No such file or directory
gcc: none: No such file or directory
gcc: required: No such file or directory
make[4]: *** [ex-client2] Error 1
make[4]: Leaving directory `/home/bradh-dev/gnutls-git/doc/examples'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/bradh-dev/gnutls-git/doc'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/bradh-dev/gnutls-git/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bradh-dev/gnutls-git'
make: *** [all] Error 2
makeobj[0]: Leaving directory `/home/bradh-dev/gnutls-git'
Fix:
diff --git a/gl/m4/inet_ntop.m4 b/gl/m4/inet_ntop.m4
index 85a6bb6..ea645f2 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 f071801..068deee 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])
Brad
More information about the Gnutls-devel
mailing list