2013-09-26 17:14:40 +02:00

28 lines
1.1 KiB
Plaintext

$NetBSD: patch-aa,v 1.3 2011/09/09 11:56:19 obache Exp $
--- configure.in.orig 2011-09-08 18:02:23.000000000 +0000
+++ configure.in
@@ -391,11 +391,11 @@ if test "$sievedir" != "no"; then
AC_CHECK_LIB(fl,main)
AC_CHECK_HEADERS(pcreposix.h rxposix.h)
- if test "$ac_cv_header_pcreposix_h" == "yes"; then
+ if test "$ac_cv_header_pcreposix_h" = "yes"; then
LIBS="$LIBS -lpcre -lpcreposix";
AC_DEFINE(ENABLE_REGEX, [], [Do we have a regex library?])
else
- 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?])
@@ -1146,7 +1146,7 @@ dnl libraries will be compiled as PIC if
dnl -- this is needed on NetBSD, FreeBSD, and Linux, but seems to
dnl cause problems on atleast Solaris --
case "${target_os}" in
- linux*|netbsd*|freebsd*)
+ linux*|netbsd*|freebsd*|dragonfly*)
AC_MSG_CHECKING(for perl cccdlflags needed on "${target_os}")
eval `${PERL} -V:cccdlflags`
PERL_CCCDLFLAGS="$cccdlflags"