af156b7204
tweaks by myself.
57 lines
1.3 KiB
Plaintext
57 lines
1.3 KiB
Plaintext
$OpenBSD: patch-configure,v 1.7 2007/03/25 11:24:02 mbalmer Exp $
|
|
--- configure.orig Thu Mar 1 23:46:19 2007
|
|
+++ configure Tue Mar 13 09:27:55 2007
|
|
@@ -21664,11 +21664,11 @@ cat >>conftest.$ac_ext <<_ACEOF
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
-char bzReadOpen ();
|
|
+char BZ2_bzReadOpen ();
|
|
int
|
|
main ()
|
|
{
|
|
-return bzReadOpen ();
|
|
+return BZ2_bzReadOpen ();
|
|
;
|
|
return 0;
|
|
}
|
|
@@ -22225,6 +22225,7 @@ _ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
+#include <sys/types.h>
|
|
#include <netinet/in.h>
|
|
|
|
#include <resolv.h>
|
|
@@ -23145,11 +23146,9 @@ _ACEOF
|
|
;;
|
|
openbsd*)
|
|
if test "$have_pthreads" = "yes"; then
|
|
- if test "$use_cr" = "no"; then
|
|
- THREAD_LIBS="-pthread"
|
|
- else
|
|
- THREAD_LIBS="-pthread -lc_r"
|
|
- fi
|
|
+ ADDITIONAL_LIBS="-pthread"
|
|
+ CLAMD_LIBS="$CLAMD_LIBS -pthread"
|
|
+ CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -pthread"
|
|
TH_SAFE="-thread-safe"
|
|
|
|
cat >>confdefs.h <<\_ACEOF
|
|
@@ -24250,6 +24249,7 @@ cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
|
|
+#include <sys/types.h>
|
|
#include <tcpd.h>
|
|
int allow_severity = 0;
|
|
int deny_severity = 0;
|
|
@@ -24302,6 +24302,7 @@ cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
|
|
+#include <sys/types.h>
|
|
#include <tcpd.h>
|
|
int allow_severity = 0;
|
|
int deny_severity = 0;
|