summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-08-05 11:13:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:31:17 -0500
commit906f47db830280f78330b7d0065dbe73bffb9a0e (patch)
treea7004c1a90473d70ec789c84fa160b013025a85c /source4
parent5503ec9d489998f4345d088376c63a659c8a4d92 (diff)
downloadsamba-906f47db830280f78330b7d0065dbe73bffb9a0e.tar.gz
samba-906f47db830280f78330b7d0065dbe73bffb9a0e.tar.bz2
samba-906f47db830280f78330b7d0065dbe73bffb9a0e.zip
r9109: set HAVE_GAI_STRERROR when the function was found donnot know whz this
doesnnot go without this patch metze (This used to be commit e409dfe72f8f7e9459f0147c27571317598838d9)
Diffstat (limited to 'source4')
-rw-r--r--source4/heimdal_build/config.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/heimdal_build/config.m4 b/source4/heimdal_build/config.m4
index 506acfdfe1..583278e3e1 100644
--- a/source4/heimdal_build/config.m4
+++ b/source4/heimdal_build/config.m4
@@ -209,8 +209,12 @@ AC_CHECK_FUNC(gai_strerror)
if test t$ac_cv_func_gai_strerror != tyes; then
AC_SEARCH_LIBS_EXT(gai_strerror, [xnet], XNET_LIBS)
AC_CHECK_FUNC_EXT(gai_strerror, $XNET_LIBS)
- if test t$ac_cv_func_gai_strerror != tyes; then
+ if test t$ac_cv_func_ext_gai_strerror != tyes; then
SMB_SUBSYSTEM_ENABLE(HEIMDAL_ROKEN_GAI_STRERROR, YES)
+ else
+ AC_DEFINE(HAVE_GAI_STRERROR,1,[Whether gai_strerror() is available])
fi
+else
+ AC_DEFINE(HAVE_GAI_STRERROR,1,[Whether gai_strerror() is available])
fi
SMB_EXT_LIB(XNET,[${XNET_LIBS}],[${XNET_CFLAGS}],[${XNET_CPPFLAGS}],[${XNET_LDFLAGS}])