aboutsummaryrefslogtreecommitdiffstats
path: root/main/gross/gross-1.0.1-configure.ac.patch
blob: 80f9ea77621455f4424c9181b01adb9cb4d67b6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/configure.ac.orig	2008-05-29 16:18:56 +0000
+++ b/configure.ac	2008-05-30 09:10:48 +0000
@@ -52,7 +52,7 @@
 then
     AC_DEFINE([USE_SEM_OPEN], [], [Use sem_open() instead of sem_init()])
 else
-    AC_SEARCH_LIBS(sem_init, [rt], ,
+    AC_SEARCH_LIBS(sem_init, [rt pthread], ,
 	AC_MSG_ERROR([Can't compile without semaphores.])
     )
 fi
@@ -101,7 +101,7 @@
 AC_MSG_CHECKING([whether to disable dnsbl checking])
 AC_ARG_ENABLE(dnsbl,
     AC_HELP_STRING([--disable-dnsbl], [Disable dnsbl checking]),
-    [AC_MSG_RESULT([yes]) ; dnsbl="no"],
+    [AC_MSG_RESULT([yes]) ; dnsbl="$enableval"],
     [AC_MSG_RESULT([no]) ; dnsbl="yes"]
 )