svn commit: samba r8278 - in
branches/SAMBA_4_0/source/heimdal_build: .
tridge at samba.org
tridge at samba.org
Sun Jul 10 05:15:09 GMT 2005
Author: tridge
Date: 2005-07-10 05:15:08 +0000 (Sun, 10 Jul 2005)
New Revision: 8278
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8278
Log:
this should fix the heimdal h_errno warnings
Modified:
branches/SAMBA_4_0/source/heimdal_build/config.h
branches/SAMBA_4_0/source/heimdal_build/config.m4
Changeset:
Modified: branches/SAMBA_4_0/source/heimdal_build/config.h
===================================================================
--- branches/SAMBA_4_0/source/heimdal_build/config.h 2005-07-10 04:54:21 UTC (rev 8277)
+++ branches/SAMBA_4_0/source/heimdal_build/config.h 2005-07-10 05:15:08 UTC (rev 8278)
@@ -40,7 +40,6 @@
/* these should be done with configure tests */
#define KRB5
-#define HAVE_H_ERRNO
#define HAVE_INET_ATON
#define HAVE_LONG_LONG
#define HAVE_GETHOSTNAME
Modified: branches/SAMBA_4_0/source/heimdal_build/config.m4
===================================================================
--- branches/SAMBA_4_0/source/heimdal_build/config.m4 2005-07-10 04:54:21 UTC (rev 8277)
+++ branches/SAMBA_4_0/source/heimdal_build/config.m4 2005-07-10 05:15:08 UTC (rev 8278)
@@ -1,10 +1,19 @@
AC_CHECK_HEADERS(sys/file.h signal.h errno.h crypt.h curses.h sys/bittypes.h)
AC_CHECK_HEADERS(sys/stropts.h sys/timeb.h sys/times.h sys/uio.h sys/un.h)
-AC_CHECK_HEADERS(sys/utsname.h termcap.h term.h timezone.h time.h ttyname.h)
+AC_CHECK_HEADERS(sys/utsname.h termcap.h term.h timezone.h time.h ttyname.h netdb.h)
AC_CHECK_FUNCS(setitimer uname umask unsetenv socket sendmsg putenv atexit strsep)
AC_CHECK_FUNCS(strlwr strncasecmp strptime strsep_copy strtok_r strupr swab)
+AC_CHECK_DECL(h_errno,
+ [AC_DEFINE(HAVE_DECL_H_ERRNO,1,whether h_errno is declared)], [], [
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#ifdef HAVE_NETDB_H
+#include <netdb.h>
+#endif])
+
# these are disabled unless heimdal is found below
SMB_MODULE_DEFAULT(KERBEROS_LIB, NOT)
SMB_BINARY_ENABLE(asn1_compile, NO)
More information about the samba-cvs
mailing list