X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=configure.in;h=167518da3c2bfd34d7d5387b9aeaeb65fbd28965;hb=7e7070820f92e624493d958f44c2bc3787ad48f7;hp=09a8f0d25eeff7c484fad7fe74a6db02614c464c;hpb=4c4e933cf4f3c7b74a5a17d7ac3caf1b06fccb85;p=mmh diff --git a/configure.in b/configure.in index 09a8f0d..167518d 100644 --- a/configure.in +++ b/configure.in @@ -95,6 +95,9 @@ AC_ARG_WITH(cyrus-sasl, [ --with-cyrus-sasl= Specify location of Cyrus SASL library for auth]) if test x"$with_cyrus_sasl" != x -a x"$with_cyrus_sasl" != "no"; then AC_DEFINE(CYRUS_SASL)dnl + sasl_support=yes +else + sasl_support=no fi dnl What should be the default editor? @@ -630,6 +633,15 @@ if test x"$with_cyrus_sasl" != x -a x"$with_cyrus_sasl" != "no"; then if test x"$with_cyrus_sasl" != x"yes"; then SASL_INCLUDES="-I$with_cyrus_sasl/include" SASL_LIBS="-L$with_cyrus_sasl/lib" + + dnl Do OS-specific hardcoding of SASL shared library path into executables, + dnl so user isn't forced to set environment variables like Solaris' + dnl LD_LIBRARY_PATH. + case "$target_os" in + solaris*) + SASL_LIBS="$SASL_LIBS -R$with_cyrus_sasl/lib" + ;; + esac fi save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $SASL_LIBS" @@ -877,5 +889,6 @@ default smtp servers : ${smtpservers} default editor : ${editorpath} default pager : ${pagerpath} email address masquerading : ${masquerade} -pop is enabled : ${pop_kinds}" +pop is enabled : ${pop_kinds} +SASL support : ${sasl_support}" echo ""