update Wed Dec 23 00:37:00 PST 2009
[pkgsrc.git] / wip / cyrus-imapd / patches / patch-aa
1 $NetBSD$
2
3 --- configure.in.orig   2009-12-21 13:09:10.000000000 +0000
4 +++ configure.in
5 @@ -391,11 +391,11 @@ if test "$sievedir" != "no"; then
6         AC_CHECK_LIB(fl,main)
7  
8         AC_CHECK_HEADERS(pcreposix.h rxposix.h)
9 -       if test "$ac_cv_header_pcreposix_h" == "yes"; then
10 +       if test "$ac_cv_header_pcreposix_h" = "yes"; then
11                 LIBS="$LIBS -lpcre -lpcreposix";
12                 AC_DEFINE(ENABLE_REGEX, [], [Do we have a regex library?])
13         else 
14 -               if test "$ac_cv_header_rxposix_h" == "yes"; then
15 +               if test "$ac_cv_header_rxposix_h" = "yes"; then
16                         LIBS="$LIBS -lrx"
17                         AC_DEFINE(ENABLE_REGEX, [],
18                                   [Do we have a regex library?])