mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
6e5dad49d9
Heimdal's internal buildsystem uses a different define for checking for libintl than what samba uses. LIBINTL vs HAVE_LIBINTL_H. Since changing heimdals defineswould brake dropin merges of heimdal. This is a simple workaround in line with others in heimdal_build catalog. Signed-off-by: Torgeir Lerkerød <torgeir.lerkerod@gmail.com> Signed-off-by: Stefan Metzmacher <metze@samba.org>
45 lines
911 B
C
45 lines
911 B
C
/*
|
|
this is a replacement config.h for building the heimdal parts of the
|
|
Samba source tree
|
|
*/
|
|
|
|
#ifndef HAVE_HEIMDAL_CONFIG_H
|
|
#define HAVE_HEIMDAL_CONFIG_H
|
|
|
|
#include "include/config.h"
|
|
#include "../replace/replace.h"
|
|
|
|
#if !defined(HAVE_DIRFD) && !defined(HAVE_DIRFD_DECL) && !defined(dirfd)
|
|
#define dirfd(d) (-1)
|
|
#endif
|
|
|
|
#define RCSID(msg) struct __rcsid { int __rcsdi; }
|
|
#define KRB5
|
|
|
|
/* This needs to be defined for roken too */
|
|
#ifdef VOID_RETSIGTYPE
|
|
#define SIGRETURN(x) return
|
|
#else
|
|
#define SIGRETURN(x) return (RETSIGTYPE)(x)
|
|
#endif
|
|
|
|
#define HDB_DB_DIR ""
|
|
|
|
#undef HAVE_KRB5_ENCRYPT_BLOCK
|
|
|
|
#if defined(UID_WRAPPER)
|
|
#if !defined(UID_WRAPPER_REPLACE) && !defined(UID_WRAPPER_NOT_REPLACE)
|
|
#define UID_WRAPPER_REPLACE
|
|
#include "../uid_wrapper/uid_wrapper.h"
|
|
#endif
|
|
#else
|
|
#define uwrap_enabled() 0
|
|
#endif
|
|
|
|
/*Workaround for heimdal define vs samba define*/
|
|
#ifdef HAVE_LIBINTL_H
|
|
#define LIBINTL
|
|
#endif
|
|
|
|
#endif
|