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
2006-09-07 08:52:06 +04:00
# define HAVE_HEIMDAL_CONFIG_H
2005-06-07 11:22:25 +04:00
2007-01-14 20:50:37 +03:00
# include "include/config.h"
2008-09-16 18:30:14 +04:00
# include "../replace/replace.h"
2010-11-12 05:14:00 +03:00
# include "../lib/util/attr.h"
# define HEIMDAL_NORETURN_ATTRIBUTE _NORETURN_
# define HEIMDAL_PRINTF_ATTRIBUTE(x) FORMAT_ATTRIBUTE(x)
2011-07-14 16:15:03 +04:00
# define HEIMDAL_UNUSED_ATTRIBUTE _UNUSED_
2010-10-25 10:49:46 +04: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 14:11:16 +03:00
# define RCSID(msg) struct __rcsid { int __rcsdi; }
2005-06-17 16:59:30 +04:00
# define KRB5
2005-06-07 11:22:25 +04:00
2007-01-10 04:51:35 +03: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 03:10:19 +03:00
# define HDB_DB_DIR ""
2008-06-25 19:24:38 +04:00
# undef HAVE_KRB5_ENCRYPT_BLOCK
2010-09-25 08:58:09 +04:00
/* Because it can't be defined in roken.h */
# ifndef USE_HCRYPTO_IMATH
# define USE_HCRYPTO_IMATH
# endif
2009-10-20 20:25:53 +04:00
/*Workaround for heimdal define vs samba define*/
2014-02-20 01:17:01 +04:00
# if defined(HAVE_LIBINTL_H) && defined(HAVE_BINDTEXTDOMAIN) &&\
defined ( HAVE_TEXTDOMAIN )
2009-10-20 20:25:53 +04:00
# define LIBINTL
# endif
2010-11-16 06:54:09 +03:00
/* heimdal now wants some atomic ops - ask for the non-atomic ones for Samba */
# define HEIM_BASE_NON_ATOMIC 1
2005-07-14 10:36:19 +04:00
# endif