Skip to content
Snippets Groups Projects
Commit 2ee12500 authored by Stephan Bosch's avatar Stephan Bosch
Browse files

configure: Use consistent quotation for AC_DEFINEs as per autoconf recommendations.

parent e4405c33
No related branches found
No related tags found
No related merge requests found
...@@ -122,10 +122,10 @@ if test $want_ldap != no; then ...@@ -122,10 +122,10 @@ if test $want_ldap != no; then
AC_CHECK_LIB(ldap, ldap_init, [ AC_CHECK_LIB(ldap, ldap_init, [
AC_CHECK_HEADER(ldap.h, [ AC_CHECK_HEADER(ldap.h, [
AC_CHECK_LIB(ldap, ldap_initialize, [ AC_CHECK_LIB(ldap, ldap_initialize, [
AC_DEFINE(LDAP_HAVE_INITIALIZE,, Define if you have ldap_initialize) AC_DEFINE(LDAP_HAVE_INITIALIZE,, [Define if you have ldap_initialize])
]) ])
AC_CHECK_LIB(ldap, ldap_start_tls_s, [ AC_CHECK_LIB(ldap, ldap_start_tls_s, [
AC_DEFINE(LDAP_HAVE_START_TLS_S,, Define if you have ldap_start_tls_s) AC_DEFINE(LDAP_HAVE_START_TLS_S,, [Define if you have ldap_start_tls_s])
]) ])
LDAP_LIBS="-lldap" LDAP_LIBS="-lldap"
AC_CHECK_LIB(ldap, ber_free, [ AC_CHECK_LIB(ldap, ber_free, [
...@@ -138,10 +138,10 @@ if test $want_ldap != no; then ...@@ -138,10 +138,10 @@ if test $want_ldap != no; then
]) ])
AC_SUBST(LDAP_LIBS) AC_SUBST(LDAP_LIBS)
if test $want_ldap != plugin; then if test $want_ldap != plugin; then
AC_DEFINE(SIEVE_BUILTIN_LDAP,, LDAP support is built in) AC_DEFINE(SIEVE_BUILTIN_LDAP,, [LDAP support is built in])
fi fi
AC_DEFINE(STORAGE_LDAP,, Build with LDAP support) AC_DEFINE(STORAGE_LDAP,, [Build with LDAP support])
AC_CHECK_HEADERS(sasl.h sasl/sasl.h) AC_CHECK_HEADERS(sasl.h sasl/sasl.h)
have_ldap=yes have_ldap=yes
], [ ], [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.