From 109e99476d63d0a70b8001f94abdfcb4466c8e57 Mon Sep 17 00:00:00 2001 From: kouril Date: Tue, 4 Nov 2003 14:30:21 +0000 Subject: [PATCH] - cosmetics in the main Makefile - changes to make the spnego dir work with the autools stuff --- Makefile.in | 4 ++-- config.h.in | 2 +- spnegokrb5/.cvsignore | 1 + spnegokrb5/Makefile.in | 5 +++-- spnegokrb5/spnegokrb5.h | 7 ++++++- spnegokrb5/spnegokrb5_locl.h | 9 ++++++++- 6 files changed, 21 insertions(+), 7 deletions(-) create mode 100644 spnegokrb5/.cvsignore diff --git a/Makefile.in b/Makefile.in index 7a0c276..f191007 100644 --- a/Makefile.in +++ b/Makefile.in @@ -32,5 +32,5 @@ clean: 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 diff --git a/config.h.in b/config.h.in index 2e34697..e576298 100644 --- a/config.h.in +++ b/config.h.in @@ -1,6 +1,6 @@ /* Define to the version of this package. */ -/* Conflicts with defintions from Apache +/* Conflicts with defintions from Apache */ /* #undef PACKAGE_VERSION */ /* Define to `unsigned' if does not define. */ diff --git a/spnegokrb5/.cvsignore b/spnegokrb5/.cvsignore new file mode 100644 index 0000000..f3c7a7c --- /dev/null +++ b/spnegokrb5/.cvsignore @@ -0,0 +1 @@ +Makefile diff --git a/spnegokrb5/Makefile.in b/spnegokrb5/Makefile.in index c16a9e8..10568a0 100644 --- a/spnegokrb5/Makefile.in +++ b/spnegokrb5/Makefile.in @@ -1,6 +1,7 @@ -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 = \ diff --git a/spnegokrb5/spnegokrb5.h b/spnegokrb5/spnegokrb5.h index 84a4db8..c18edea 100644 --- a/spnegokrb5/spnegokrb5.h +++ b/spnegokrb5/spnegokrb5.h @@ -5,7 +5,12 @@ extern "C" { #endif -#include +#include "config.h" +#ifdef HEIMDAL +# include +#else +# include +#endif OM_uint32 gss_init_sec_context_spnego( OM_uint32 *, diff --git a/spnegokrb5/spnegokrb5_locl.h b/spnegokrb5/spnegokrb5_locl.h index 57fa9b2..1c3d47c 100644 --- a/spnegokrb5/spnegokrb5_locl.h +++ b/spnegokrb5/spnegokrb5_locl.h @@ -1,7 +1,14 @@ #include #include -#include +#include "config.h" + +#ifdef HEIMDAL +# include +#else +# include +# include +#endif #include #include #include -- 2.1.4