aboutsummaryrefslogtreecommitdiffstats
path: root/lang/tcl84/files/patch-ab
blob: 1899ae9dfbc25adf190c2b3bb6ef505715f308f5 (plain) (blame)
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
--- configure.orig  Tue Aug  8 15:17:11 2000
+++ configure   Tue Dec  5 11:37:50 2000
@@ -5032,7 +5032,7 @@
        LDFLAGS="-Wl,-Bexport"
        LD_SEARCH_FLAGS=""
        ;;
-   NetBSD-*|FreeBSD-[1-2].*|OpenBSD-*)
+   NetBSD-*|FreeBSD-*|OpenBSD-*)
        # Not available on all versions:  check for include file.
        ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
@@ -5116,18 +5116,8 @@
        # FreeBSD doesn't handle version numbers with dots.
 
        UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
+       SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1'
        TCL_LIB_VERSIONS_OK=nodots
-       ;;
-   FreeBSD-*)
-       # FreeBSD 3.* and greater have ELF.
-       SHLIB_CFLAGS="-fPIC"
-       SHLIB_LD="ld -Bshareable -x"
-       SHLIB_LD_LIBS=""
-       SHLIB_SUFFIX=".so"
-       DL_OBJS="tclLoadDl.o"
-       DL_LIBS=""
-       LDFLAGS="-export-dynamic"
-       LD_SEARCH_FLAGS=""
        ;;
    NEXTSTEP-*)
        SHLIB_CFLAGS=""