dovecot-1.2-managesieve: Made configure complain about trying to...
pigeonhole at rename-it.nl
pigeonhole at rename-it.nl
Tue Jan 5 16:39:53 EET 2010
details: http://hg.rename-it.nl/dovecot-1.2-managesieve/rev/44121a99bf43
changeset: 207:44121a99bf43
user: Stephan Bosch <stephan at rename-it.nl>
date: Tue Jan 05 15:39:46 2010 +0100
description:
Made configure complain about trying to compile against installed Dovecot headers alone.
diffstat:
configure.in | 17 +++++++----------
1 files changed, 7 insertions(+), 10 deletions(-)
diffs (35 lines):
diff -r 633500d631b9 -r 44121a99bf43 configure.in
--- a/configure.in Sat Jan 02 03:15:25 2010 +0100
+++ b/configure.in Tue Jan 05 15:39:46 2010 +0100
@@ -46,14 +46,13 @@
AC_MSG_ERROR([dovecot-config not found])
fi
-if test -d "$dovecotdir/src"; then
- # compiling against sources
- have_dovecot_libs=yes
-else
- # compiling against installed headers
- have_dovecot_libs=no
+if ! test -d "$dovecotdir/src"; then
+ echo
+ echo "ManageSieve must be compiled against a compiled Dovecot source tree."
+ echo "Compiling against installed headers alone is not possible. Specify"
+ echo "the location of the Dovecot sources using --with-dovecot=PATH."
+ AC_MSG_ERROR([cannot compile against Dovecot headers alone])
fi
-AM_CONDITIONAL(HAVE_DOVECOT_LIBS, test "$have_dovecot_libs" = "yes")
if test -f "$dovecot_sievedir/src/sieve-cmu.c"; then
# compiling against old cmu sieve plugin
@@ -82,9 +81,7 @@
dnl replace relative ../ paths in the file with full paths
eval `cat $dovecotdir/dovecot-config|sed 's,\$(top_builddir)/,$dovecotdir/,g'`
-if test $have_dovecot_libs = yes; then
- dovecot_incdir="$dovecotdir"
-fi
+dovecot_incdir="$dovecotdir"
AC_SUBST(STORAGE_LIBS)
AC_SUBST(LIBICONV)
More information about the dovecot-cvs
mailing list