blob: fff163649f18eedb9902233a1f3b5631ae832e64 (
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
|
$NetBSD: patch-aa,v 1.6 2011/09/09 12:09:34 obache Exp $
--- configure.in.orig 2011-09-08 18:57:42.000000000 +0000
+++ configure.in
@@ -403,7 +403,7 @@ if test "$sievedir" != "no"; then
if test "$testpcre" != "no"; then
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
@@ -415,13 +415,13 @@ if test "$sievedir" != "no"; then
fi
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?])
|