diff -r 5ebc6aae4d7c configure.ac --- a/configure.ac Mon Apr 29 14:59:26 2013 +0200 +++ b/configure.ac Mon Aug 05 11:24:45 2013 +0200 @@ -17,9 +17,11 @@ AC_CONFIG_HEADERS(config.h) DC_DOVECOT +CFLAGS="$DOVECOT_CFLAGS" +LIBS="$DOVECOT_LIBS" AC_MSG_CHECKING([for dovecot tree type]) -if test x$LIBDOVECOT_STORAGE_DEPS != x; then +if test x"$LIBDOVECOT_STORAGE_DEPS" != x""; then AC_MSG_RESULT([build]) AC_ERROR([Please install dovecot first and use that tree instead.]) fi