b885afa1a3
* lib/dlopen.c: log the reason for opendir() failure when loading plugin. * lib/common.c: honor log level setting * sample/sample-client.c, sample/sample-server.c: Fixed several 64 bit portability warnings. * utils/testsuite.c: Fixed several 64 bit portability warnings. * utils/saslpasswd.c: Fixed typo in an auxprop name. * include/saslplug.h, lib/common.c, lib/saslint.h, lib/server.c: Added sasl_server_plugin_info(). * lib/common.c: initialize path in case caller didn't.
27 lines
1.1 KiB
Text
27 lines
1.1 KiB
Text
$NetBSD: patch-ab,v 1.5 2006/04/18 17:41:30 jlam Exp $
|
|
|
|
--- aclocal.m4.orig 2005-05-15 01:58:02.000000000 -0400
|
|
+++ aclocal.m4
|
|
@@ -1696,7 +1696,7 @@ AC_DEFUN([CYRUS_BERKELEY_DB_CHK_LIB],
|
|
LIBS="$saved_LIBS -l$dbname"
|
|
AC_TRY_LINK([#include <db.h>],
|
|
[db_create(NULL, NULL, 0);],
|
|
- BDB_LIBADD="$BDB_LIBADD -l$dbname"; dblib="berkeley"; dbname=db,
|
|
+ BDB_LIBADD="$BDB_LIBADD -l$dbname"; dblib="berkeley"; dbname=db; break,
|
|
dblib="no")
|
|
if test "$dblib" = "berkeley"; then break; fi
|
|
done
|
|
@@ -3010,8 +3010,11 @@ if test "$gssapi" != no; then
|
|
AC_MSG_RESULT([with implementation ${gss_impl}])
|
|
AC_CHECK_LIB(resolv,res_search,GSSAPIBASE_LIBS="$GSSAPIBASE_LIBS -lresolv")
|
|
SASL_MECHS="$SASL_MECHS libgssapiv2.la"
|
|
- SASL_STATIC_OBJS="$SASL_STATIC_OBJS gssapi.o"
|
|
- SASL_STATIC_SRCS="$SASL_STATIC_SRCS ../plugins/gssapi.c"
|
|
+ if test "$enable_static" = yes; then
|
|
+ SASL_STATIC_OBJS="$SASL_STATIC_OBJS gssapi.o"
|
|
+ SASL_STATIC_SRCS="$SASL_STATIC_SRCS ../plugins/gssapi.c"
|
|
+ AC_DEFINE(STATIC_GSSAPIV2, [], [Link GSSAPI Staticly])
|
|
+ fi
|
|
|
|
cmu_save_LIBS="$LIBS"
|
|
LIBS="$LIBS $GSSAPIBASE_LIBS"
|