svn commit: samba r9109 - in branches/SAMBA_4_0/source/heimdal_build: .

metze at samba.org metze at samba.org
Fri Aug 5 11:13:48 GMT 2005


Author: metze
Date: 2005-08-05 11:13:48 +0000 (Fri, 05 Aug 2005)
New Revision: 9109

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9109

Log:
set HAVE_GAI_STRERROR when the function was found donnot know whz this
doesnnot go without this patch

metze

Modified:
   branches/SAMBA_4_0/source/heimdal_build/config.m4


Changeset:
Modified: branches/SAMBA_4_0/source/heimdal_build/config.m4
===================================================================
--- branches/SAMBA_4_0/source/heimdal_build/config.m4	2005-08-05 10:52:53 UTC (rev 9108)
+++ branches/SAMBA_4_0/source/heimdal_build/config.m4	2005-08-05 11:13:48 UTC (rev 9109)
@@ -209,8 +209,12 @@
 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}])



More information about the samba-cvs mailing list