diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-08-05 11:13:48 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:31:17 -0500 |
commit | 906f47db830280f78330b7d0065dbe73bffb9a0e (patch) | |
tree | a7004c1a90473d70ec789c84fa160b013025a85c /source4/heimdal_build/config.m4 | |
parent | 5503ec9d489998f4345d088376c63a659c8a4d92 (diff) | |
download | samba-906f47db830280f78330b7d0065dbe73bffb9a0e.tar.gz samba-906f47db830280f78330b7d0065dbe73bffb9a0e.tar.xz 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/heimdal_build/config.m4')
-rw-r--r-- | source4/heimdal_build/config.m4 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/heimdal_build/config.m4 b/source4/heimdal_build/config.m4 index 506acfdfe11..583278e3e11 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}]) |