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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
$NetBSD: patch-ab,v 1.20 2009/10/11 07:49:49 kefren Exp $
--- configure.orig 2009-03-13 15:51:11.000000000 +0100
+++ configure
@@ -2939,11 +2939,11 @@ _ACEOF
CPPFLAGS="$CPPFLAGS -DPLATFORM_BSD"
libmono_ldflags="-pthread"
need_link_unlink=yes
- libdl="-ldl"
+ libdl="-ldl /libexec/ld.elf_so"
libgc_threads=pthreads
with_sigaltstack=no
;;
- *-*-*freebsd*)
+ *-*-*freebsd* | *-*-*dragonfly*)
platform_win32=no
if test "x$PTHREAD_CFLAGS" = "x"; then
CPPFLAGS="$CPPFLAGS -DGC_FREEBSD_THREADS"
@@ -2959,7 +2959,8 @@ _ACEOF
LDFLAGS="$LDFLAGS $PTHREAD_LIBS"
libmono_ldflags="$PTHREAD_LIBS"
fi
- CPPFLAGS="$CPPFLAGS -DPLATFORM_BSD"
+ CPPFLAGS="$CPPFLAGS -DPLATFORM_BSD -DPLATFORM_BSD6 -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP"
+ libmono_cflags="$libmono_cflags -D_REENTRANT"
need_link_unlink=yes
cat >>confdefs.h <<\_ACEOF
@@ -32274,6 +32275,9 @@ cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
$ac_includes_default
#include <$ac_header>
+#ifdef __DragonFly__
+#error extattr
+#endif
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
@@ -32314,6 +32318,9 @@ cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <$ac_header>
+#ifdef __DragonFly__
+#error extattr
+#endif
_ACEOF
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
@@ -39626,7 +39633,7 @@ LIBC="libc.so.6"
INTL="libc.so.6"
SQLITE="libsqlite.so.0"
SQLITE3="libsqlite3.so.0"
-X11="libX11.so"
+X11="@X11BASE@/lib/libX11.so"
sizeof_register="SIZEOF_VOID_P"
@@ -40046,10 +40053,10 @@ case "$host" in
X11="libX11.dylib"
;;
*-*-*netbsd*)
- LIBC="libc.so.12"
- INTL="libintl.so.0"
+ LIBC="libc.so"
+ INTL="libintl.so"
;;
- *-*-*freebsd*)
+ *-*-*freebsd*|*-*-*dragonfly*)
LIBC="libc.so"
INTL="libintl.so"
;;
|