Skip to content

Commit

Permalink
dovecot-pigeonhole.m4: Make testsuite available when linked against P…
Browse files Browse the repository at this point in the history
…igeonhole source tree, even when it is not yet compiled.
  • Loading branch information
stephanbosch committed Jun 27, 2016
1 parent 9e6e5ee commit e2aa316
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions dovecot-pigeonhole.m4
@@ -1,7 +1,7 @@
# pigeonhole.m4 - Check presence of pigeonhole -*-Autoconf-*-
#.

# serial 3
# serial 4

AC_DEFUN([DC_PIGEONHOLE],[
AC_ARG_WITH(pigeonhole,
Expand Down Expand Up @@ -35,9 +35,7 @@ AC_DEFUN([DC_PIGEONHOLE],[
-I$(pigeonhole_incdir)/src/lib-sieve/plugins/imap4flags \
-I$(pigeonhole_incdir)/src/lib-sieve/plugins/mailbox \
-I$(pigeonhole_incdir)/src/lib-sieve/plugins/variables'
if test -f "$pigeonholedir/src/testsuite/testsuite"; then
PIGEONHOLE_TESTSUITE="${pigeonholedir}/src/testsuite/testsuite"
fi
PIGEONHOLE_TESTSUITE="${pigeonholedir}/src/testsuite/testsuite"
elif test -f "$pigeonholedir/sieve.h"; then
AC_MSG_RESULT([found])
pigeonhole_incdir="$pigeonholedir"
Expand Down

0 comments on commit e2aa316

Please sign in to comment.