2005-06-06 09:52:07 +04:00
/*
this is a replacement config . h for building the heimdal parts of the
Samba source tree
*/
2005-07-14 10:36:19 +04:00
# ifndef HAVE_HEIMDAL_CONFIG_H
# define HAVE_HEIMDAL_CONFIG_H 1
2005-06-06 09:52:07 +04:00
/* bring in the samba4 config.h */
# include "include/config.h"
2005-06-07 11:22:25 +04:00
# ifdef HAVE_KRB5
2006-04-24 22:38:56 +04:00
# define RCSID(msg)
2005-06-06 09:52:07 +04:00
# ifdef VOID_RETSIGTYPE
# define SIGRETURN(x) return
# else
# define SIGRETURN(x) return (RETSIGTYPE)(x)
# endif
/* path to sysconf - should we force this to samba LIBDIR ? */
# define SYSCONFDIR " / etc"
/* Maximum values on all known systems */
# define MaxHostNameLen (64+4)
# define MaxPathLen (1024+4)
2005-06-07 11:22:25 +04:00
# define VERSIONLIST {"Lorikeet-Heimdal, Modified for Samba4 0.7rc1"}
2005-06-06 09:52:07 +04:00
2005-06-07 11:22:25 +04:00
/* even if we do have dlopen, we don't want heimdal using it */
# undef HAVE_DLOPEN
2005-06-06 09:52:07 +04:00
2005-06-07 11:22:25 +04:00
# define VERSION "Samba"
2005-06-06 09:52:07 +04:00
2005-06-07 11:22:25 +04:00
# define ROKEN_LIB_FUNCTION
2005-06-06 09:52:07 +04:00
2005-06-07 11:22:25 +04:00
/* these should be done with configure tests */
2005-06-17 16:59:30 +04:00
# define KRB5
2005-06-07 11:22:25 +04:00
# include <sys/types.h>
2005-07-13 15:02:56 +04:00
# include <stdarg.h>
2006-01-13 13:37:14 +03:00
# ifdef HAVE_INTTYPES_H
# include <inttypes.h>
# endif
2005-06-07 11:22:25 +04:00
# include "lib/replace/replace.h"
# endif
2005-07-14 10:36:19 +04:00
2005-08-18 04:20:40 +04:00
/* we need to tell roken about the functions that Samba replaces in lib/replace */
# ifndef HAVE_SETEUID
# define HAVE_SETEUID 1
# endif
2005-08-22 16:08:14 +04:00
# define GETHOSTBYADDR_PROTO_COMPATIBLE
# define GETSERVBYNAME_PROTO_COMPATIBLE
# define OPENLOG_PROTO_COMPATIBLE
# define GETSOCKNAME_PROTO_COMPATIBLE
2005-09-26 17:12:02 +04:00
# ifndef HAVE_SOCKLEN_T
# define HAVE_SOCKLEN_T
# endif
2005-09-24 18:58:18 +04:00
# ifndef HAVE_STRNDUP
# define HAVE_STRNDUP
# endif
2005-12-15 23:38:24 +03:00
# ifndef HAVE_SOCKLEN_T
# define HAVE_SOCKLEN_T
# endif
2005-09-24 18:58:18 +04:00
2005-09-26 19:59:43 +04:00
# ifndef HAVE_SSIZE_T
# define HAVE_SSIZE_T
# endif
2005-07-14 10:36:19 +04:00
# endif