From 906f47db830280f78330b7d0065dbe73bffb9a0e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 5 Aug 2005 11:13:48 +0000 Subject: 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) --- source4/heimdal_build/config.m4 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source4/heimdal_build/config.m4') 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}]) -- cgit