2005-06-06 05:52:07 +00:00
/*
this is a replacement config . h for building the heimdal parts of the
Samba source tree
*/
2005-07-14 06:36:19 +00:00
# ifndef HAVE_HEIMDAL_CONFIG_H
2006-09-07 04:52:06 +00:00
# define HAVE_HEIMDAL_CONFIG_H
2005-06-07 07:22:25 +00:00
2007-01-14 17:50:37 +00:00
# include "include/config.h"
2008-09-16 16:30:14 +02:00
# include "../replace/replace.h"
2010-11-12 13:14:00 +11:00
# include "../lib/util/attr.h"
2011-07-14 14:15:03 +02:00
2010-10-25 06:49:46 +00:00
# define VERSIONLIST {"Lorikeet-Heimdal, Modified for Samba4"}
# define VERSION "Samba"
# define PACKAGE VERSION
# define PACKAGE_BUGREPORT "https: //bugzilla.samba.org/"
# define PACKAGE_VERSION VERSION
2007-01-15 11:11:16 +00:00
# define RCSID(msg) struct __rcsid { int __rcsdi; }
2005-06-17 12:59:30 +00:00
# define KRB5
2005-06-07 07:22:25 +00:00
2007-01-10 01:51:35 +00:00
/* This needs to be defined for roken too */
# ifdef VOID_RETSIGTYPE
# define SIGRETURN(x) return
# else
# define SIGRETURN(x) return (RETSIGTYPE)(x)
# endif
2008-03-19 11:10:19 +11:00
# define HDB_DB_DIR ""
2008-06-25 17:24:38 +02:00
# undef HAVE_KRB5_ENCRYPT_BLOCK
2010-09-25 14:58:09 +10:00
/* Because it can't be defined in roken.h */
# ifndef USE_HCRYPTO_IMATH
# define USE_HCRYPTO_IMATH
# endif
2009-10-20 18:25:53 +02:00
/*Workaround for heimdal define vs samba define*/
2014-02-19 22:17:01 +01:00
# if defined(HAVE_LIBINTL_H) && defined(HAVE_BINDTEXTDOMAIN) &&\
defined ( HAVE_TEXTDOMAIN )
2009-10-20 18:25:53 +02:00
# define LIBINTL
# endif
2010-11-15 22:54:09 -05:00
/* heimdal now wants some atomic ops - ask for the non-atomic ones for Samba */
# define HEIM_BASE_NON_ATOMIC 1
2017-06-01 13:26:38 +12:00
/* lib/replace provides an XSI Compatable strerror_r so use that */
# define STRERROR_R_PROTO_COMPATIBLE
2018-02-21 01:51:42 -08:00
/* lib/replace provides a closefrom */
# ifndef HAVE_CLOSEFROM
# define HAVE_CLOSEFROM 1
# endif
2018-11-15 19:53:41 +01:00
/* lib/replace provides a getprogname */
# ifndef HAVE_GETPROGNAME
# define HAVE_GETPROGNAME 1
# endif
2020-10-18 19:18:34 +02:00
/* lib/replace provides a strsep */
# ifndef HAVE_STRSEP
# define HAVE_STRSEP 1
# endif
2005-07-14 06:36:19 +00:00
# endif