- changes to make the spnego dir work with the autools stuff
distclean: clean
(cd spnegokrb5 && make distclean)
- $(RM) config.h config.status Makefile configure autom4te.cache config.log
-
+ $(RM) config.h config.status Makefile configure config.log
+ $(RM) -rf autom4te.cache src/.libs
/* Define to the version of this package. */
-/* Conflicts with defintions from Apache
+/* Conflicts with defintions from Apache */
/* #undef PACKAGE_VERSION */
/* Define to `unsigned' if <sys/types.h> does not define. */
-include ../makefile.include
+KRB5_CPPFLAGS = @KRB5_CPPFLAGS@
+KRB5_LDFLAGS = @KRB5_LDFLAGS@
-CPPFLAGS = -I. -I$(KRB5_ROOT)/include -I$(KRB5_ROOT)/include/gssapi
+CPPFLAGS = -I. -I.. $(KRB5_CPPFLAGS)
CFLAGS = -Wall -g
gen_files = \
extern "C" {
#endif
-#include <gssapi.h>
+#include "config.h"
+#ifdef HEIMDAL
+# include <gssapi.h>
+#else
+# include <gssapi/gssapi.h>
+#endif
OM_uint32 gss_init_sec_context_spnego(
OM_uint32 *,
#include <stdlib.h>
#include <errno.h>
-#include <gssapi.h>
+#include "config.h"
+
+#ifdef HEIMDAL
+# include <gssapi.h>
+#else
+# include <gssapi/gssapi.h>
+# include <gssapi/gssapi_generic.h>
+#endif
#include <spnego_asn1.h>
#include <spnegokrb5.h>
#include <der.h>