summaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd24/patches/patch-aa
blob: e4a68fe66420a2f0de9a0f0276db07c770815a64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
$NetBSD: patch-aa,v 1.3 2011/04/14 12:23:40 obache Exp $

--- configure.in.orig	2011-04-13 14:35:22.000000000 +0000
+++ configure.in
@@ -395,7 +395,7 @@ if test "$sievedir" != "no"; then
 	AC_CHECK_LIB(fl,main)
 
 	AC_CHECK_HEADER(pcreposix.h)
-	if test "$ac_cv_header_pcreposix_h" == "yes"; then
+	if test "$ac_cv_header_pcreposix_h" = "yes"; then
 		AC_MSG_CHECKING(for utf8 enabled pcre)
 		AC_CACHE_VAL(cyrus_cv_pcre_utf8, AC_TRY_CPP([#include <pcreposix.h>
 #ifndef REG_UTF8
@@ -405,13 +405,13 @@ if test "$sievedir" != "no"; then
 	else
 		cyrus_cv_pcre_utf8="no"
 	fi
-	if test "$cyrus_cv_pcre_utf8" == "yes"; then
+	if test "$cyrus_cv_pcre_utf8" = "yes"; then
 		LIBS="$LIBS -lpcre -lpcreposix";
 		AC_DEFINE(ENABLE_REGEX, [], [Do we have a regex library?])
 		AC_DEFINE(HAVE_PCREPOSIX_H, [], [Do we have usable pcre library?])
 	else 
 		AC_CHECK_HEADERS(rxposix.h)
-		if test "$ac_cv_header_rxposix_h" == "yes"; then
+		if test "$ac_cv_header_rxposix_h" = "yes"; then
 			LIBS="$LIBS -lrx"
 			AC_DEFINE(ENABLE_REGEX, [],
 				  [Do we have a regex library?])
@@ -1161,7 +1161,7 @@ dnl add perl cccdlflags when building li
 dnl libraries will be compiled as PIC if perl requires PIC objects
 dnl -- this is needed on NetBSD and Linux, but seems to cause problems on atleast Solaris --
     case "${target_os}" in
-        linux*|netbsd*)
+        linux*|netbsd*|dragonfly*)
             AC_MSG_CHECKING(for perl cccdlflags needed on "${target_os}")
             eval `${PERL} -V:cccdlflags`
             PERL_CCCDLFLAGS="$cccdlflags"