From 2c5712f6ac066d197d1255685368af93c9143c7d Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 22 Feb 2008 07:04:03 +0000 Subject: integrated patch from Peter Vrabec to change the build process to produce imtcp.so and imgssapi.so from imtcp.c (in support of new gassapi input module) - many thanks, Peter! --- plugins/imtcp/Makefile.am | 10 +++++++--- plugins/imtcp/imtcp.c | 7 +++++++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/plugins/imtcp/Makefile.am b/plugins/imtcp/Makefile.am index fd06a1a0..fc4d00ae 100644 --- a/plugins/imtcp/Makefile.am +++ b/plugins/imtcp/Makefile.am @@ -1,6 +1,10 @@ -pkglib_LTLIBRARIES = imtcp.la +pkglib_LTLIBRARIES = imtcp.la imgssapi.la imtcp_la_SOURCES = imtcp.c -imtcp_la_CPPFLAGS = -I$(top_srcdir) $(pthreads_cflags) $(mudflap_cflags) +imtcp_la_CPPFLAGS = -DFORCE_NO_GSS=1 -I$(top_srcdir) $(pthreads_cflags) $(mudflap_cflags) imtcp_la_LDFLAGS = $(mudflap_libs) -module -avoid-version -imtcp_la_LIBADD = + +imgssapi_la_SOURCES = imtcp.c +imgssapi_la_CPPFLAGS = -I$(top_srcdir) $(pthreads_cflags) $(mudflap_cflags) +imgssapi_la_LDFLAGS = $(mudflap_libs) -module -avoid-version +imgssapi_la_LIBADD = $(gss_libs) diff --git a/plugins/imtcp/imtcp.c b/plugins/imtcp/imtcp.c index 01852044..43f3bdd6 100644 --- a/plugins/imtcp/imtcp.c +++ b/plugins/imtcp/imtcp.c @@ -25,7 +25,14 @@ * * A copy of the GPL can be found in the file "COPYING" in this distribution. */ + #include "config.h" +#ifdef FORCE_NO_GSS + #ifdef USE_GSSAPI + #undef USE_GSSAPI + #endif +#endif + #include #include #include -- cgit