blob: 5632bd066726e92a089e508e2e0a41e9f55abf02 (
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
30
31
32
33
34
35
36
37
38
39
40
41
|
$NetBSD: patch-aa,v 1.7 2014/02/21 20:18:13 joerg Exp $
--- configure.orig 2011-10-26 02:00:10.000000000 +0000
+++ configure
@@ -5248,7 +5248,7 @@ $as_echo "#define DLOPEN_1 1" >>confdefs
fi
;;
- *BSD)
+ *BSD | DragonFly)
# FreeBSD/OpenBSD/NetBSD all support dlopen() and have had plenty of
# testing with Eggdrop.
WEIRD_OS="no"
@@ -5525,10 +5525,16 @@ $as_echo "#define STOP_UAC 1" >>confdefs
SHLIB_CC="$CC -PIC"
fi
;;
- *BSD)
+ *BSD | DragonFly)
# FreeBSD/OpenBSD/NetBSD
SHLIB_CC="$CC -fPIC"
- SHLIB_LD="ld -Bshareable -x"
+ if [ `echo __ELF__ | $CC -E - | grep -v '#'` = 1 ]; then
+ SHLIB_LD="ld -shared -x"
+ BEL_MOD_LD="$CC -Wl,-E $LDFLAGS"
+ else
+ SHLIB_LD="ld -Bshareable -x"
+ BEL_MOD_LD="$CC $LDFLAGS"
+ fi
;;
Darwin)
# Mac OS X
@@ -6872,7 +6878,7 @@ tclrecommendver="8.5.X"
tclrecommendsite="ftp://tcl.activestate.com/pub/tcl/tcl8_5/"
# Tcl library filename prefixes, suffixes, and search paths.
-tcllibnames="tcl8.5 tcl85 tcl8.4 tcl84 tcl8.3 tcl83 tcl8.2 tcl82 \
+tcllibnames="tcl86 tcl8.5 tcl85 tcl8.4 tcl84 tcl8.3 tcl83 tcl8.2 tcl82 \
tcl8.1 tcl81 tcl8.0 tcl80 tcl tcl7.6 tcl76 tcl7.5 tcl75 \
tcl7.4 tcl74 tcl7.3 tcl73 tcl7.2 tcl72 tcl7.1 tcl71 \
tcl7.0 tcl70"
|