Mon Nov 14 01:31:18 2011 UTC ()
lang/tcl: Fix DragonFly breakage

The previous commit caused DragonFly to build the libraries with a
different file name than specified in the PLIST, causing the build
to fail on DragonFly.

This commit forces DragonFly to use library names without dots to
match the PLIST.


(marino)
diff -r1.44 -r1.45 pkgsrc/lang/tcl/distinfo
diff -r1.38 -r1.39 pkgsrc/lang/tcl/patches/patch-ab
diff -r1.24 -r1.25 pkgsrc/lang/tcl/patches/patch-af

cvs diff -r1.44 -r1.45 pkgsrc/lang/tcl/distinfo (expand / switch to unified diff)

--- pkgsrc/lang/tcl/distinfo 2011/11/01 20:08:12 1.44
+++ pkgsrc/lang/tcl/distinfo 2011/11/14 01:31:18 1.45
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1$NetBSD: distinfo,v 1.44 2011/11/01 20:08:12 bsiegert Exp $ 1$NetBSD: distinfo,v 1.45 2011/11/14 01:31:18 marino Exp $
2 2
3SHA1 (tcl8.4.18-src.tar.gz) = 83b04c3ad092c22507869dec3a5c7ba821f109b0 3SHA1 (tcl8.4.18-src.tar.gz) = 83b04c3ad092c22507869dec3a5c7ba821f109b0
4RMD160 (tcl8.4.18-src.tar.gz) = 735a9cc0575585de70cbd3cb2ff5c97d46c1dfbd 4RMD160 (tcl8.4.18-src.tar.gz) = 735a9cc0575585de70cbd3cb2ff5c97d46c1dfbd
5Size (tcl8.4.18-src.tar.gz) = 3653369 bytes 5Size (tcl8.4.18-src.tar.gz) = 3653369 bytes
6SHA1 (patch-aa) = 8db3024597007f861c64e4c933bed3012c27832f 6SHA1 (patch-aa) = 8db3024597007f861c64e4c933bed3012c27832f
7SHA1 (patch-ab) = 2eecf0caa83e60f1b667941292b1602874ab173b 7SHA1 (patch-ab) = 208033822981d22de8746d71601c0076ab888c48
8SHA1 (patch-ac) = 3139a65c6647d806fc69765bc62aa715b49f4d41 8SHA1 (patch-ac) = 3139a65c6647d806fc69765bc62aa715b49f4d41
9SHA1 (patch-ad) = 277cf39e47affa2c2913e47a7d4e87468c5e21bb 9SHA1 (patch-ad) = 277cf39e47affa2c2913e47a7d4e87468c5e21bb
10SHA1 (patch-ae) = 7694081556a6b004db47ae54775bea0f659b8805 10SHA1 (patch-ae) = 7694081556a6b004db47ae54775bea0f659b8805
11SHA1 (patch-af) = 1bf89871f1ae92e1706bfffb9df2b7f7f533485f 11SHA1 (patch-af) = b295549971753ae3ae3516a06d59e0d4ccdfa616
12SHA1 (patch-ag) = fe371866b438063515bad6d145287455c4636824 12SHA1 (patch-ag) = fe371866b438063515bad6d145287455c4636824
13SHA1 (patch-ah) = b6a68a26ed018f424e9e41bcf6f8da1517bd599a 13SHA1 (patch-ah) = b6a68a26ed018f424e9e41bcf6f8da1517bd599a
14SHA1 (patch-ai) = b0f7818adedd53a123c6ab809bbec28924b3f07b 14SHA1 (patch-ai) = b0f7818adedd53a123c6ab809bbec28924b3f07b
15SHA1 (patch-aj) = 74d5d7f0d47f39241068c98a316104da94f1cdb9 15SHA1 (patch-aj) = 74d5d7f0d47f39241068c98a316104da94f1cdb9
16SHA1 (patch-generic_tclCmdMZ.c) = 7779f4e1e8696774821c59d51e2afa32fad821d8 16SHA1 (patch-generic_tclCmdMZ.c) = 7779f4e1e8696774821c59d51e2afa32fad821d8
17SHA1 (patch-generic_tclPosixStr.c) = 8b1d4408eb2ca28557ed1a03bbe5e348353a9d0b 17SHA1 (patch-generic_tclPosixStr.c) = 8b1d4408eb2ca28557ed1a03bbe5e348353a9d0b

cvs diff -r1.38 -r1.39 pkgsrc/lang/tcl/patches/Attic/patch-ab (expand / switch to unified diff)

--- pkgsrc/lang/tcl/patches/Attic/patch-ab 2011/11/01 20:08:12 1.38
+++ pkgsrc/lang/tcl/patches/Attic/patch-ab 2011/11/14 01:31:18 1.39
@@ -1,142 +1,25 @@ @@ -1,142 +1,25 @@
1$NetBSD: patch-ab,v 1.38 2011/11/01 20:08:12 bsiegert Exp $ 1$NetBSD: patch-ab,v 1.39 2011/11/14 01:31:18 marino Exp $
2 2
3--- unix/configure.orig Wed Feb 6 15:38:03 2008 3--- unix/configure.orig 2008-02-06 15:38:26.000000000 +0000
4+++ unix/configure 4+++ unix/configure
5@@ -2567,6 +2567,7 @@ fi 5@@ -2567,6 +2567,7 @@ fi
6 # Step 3: set configuration options based on system name and version. 6 # Step 3: set configuration options based on system name and version.
7  7
8 do64bit_ok=no 8 do64bit_ok=no
9+ TCL_LIB_SPEC_RPATH="" 9+ TCL_LIB_SPEC_RPATH=""
10 LDFLAGS_ORIG="$LDFLAGS" 10 LDFLAGS_ORIG="$LDFLAGS"
11 TCL_EXPORT_FILE_SUFFIX="" 11 TCL_EXPORT_FILE_SUFFIX=""
12 UNSHARED_LIB_SUFFIX="" 12 UNSHARED_LIB_SUFFIX=""
13@@ -2586,7 +2587,7 @@ fi 
14 # Extract the first word of "ar", so it can be a program name with args. 
15 set dummy ar; ac_word=$2 
16 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
17-echo "configure:2590: checking for $ac_word" >&5 
18+echo "configure:2591: checking for $ac_word" >&5 
19 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then 
20 echo $ac_n "(cached) $ac_c" 1>&6 
21 else 
22@@ -2701,7 +2702,7 @@ fi 
23 # known GMT value. 
24  
25 echo $ac_n "checking for gettimeofday in -lbsd""... $ac_c" 1>&6 
26-echo "configure:2705: checking for gettimeofday in -lbsd" >&5 
27+echo "configure:2706: checking for gettimeofday in -lbsd" >&5 
28 ac_lib_var=`echo bsd'_'gettimeofday | sed 'y%./+-%__p_%'` 
29 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
30 echo $ac_n "(cached) $ac_c" 1>&6 
31@@ -2709,7 +2710,7 @@ else 
32 ac_save_LIBS="$LIBS" 
33 LIBS="-lbsd $LIBS" 
34 cat > conftest.$ac_ext <<EOF 
35-#line 2713 "configure" 
36+#line 2714 "configure" 
37 #include "confdefs.h" 
38 /* Override any gcc2 internal prototype to avoid an error. */ 
39 /* We use char because int might match the return type of a gcc2 
40@@ -2720,7 +2721,7 @@ int main() { 
41 gettimeofday() 
42 ; return 0; } 
43 EOF 
44-if { (eval echo configure:2724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
45+if { (eval echo configure:2725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
46 rm -rf conftest* 
47 eval "ac_cv_lib_$ac_lib_var=yes" 
48 else 
49@@ -2763,7 +2764,7 @@ EOF 
50 # is always linked to, for compatibility. 
51 #----------------------------------------------------------- 
52 echo $ac_n "checking for inet_ntoa in -lbind""... $ac_c" 1>&6 
53-echo "configure:2767: checking for inet_ntoa in -lbind" >&5 
54+echo "configure:2768: checking for inet_ntoa in -lbind" >&5 
55 ac_lib_var=`echo bind'_'inet_ntoa | sed 'y%./+-%__p_%'` 
56 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
57 echo $ac_n "(cached) $ac_c" 1>&6 
58@@ -2771,7 +2772,7 @@ else 
59 ac_save_LIBS="$LIBS" 
60 LIBS="-lbind $LIBS" 
61 cat > conftest.$ac_ext <<EOF 
62-#line 2775 "configure" 
63+#line 2776 "configure" 
64 #include "confdefs.h" 
65 /* Override any gcc2 internal prototype to avoid an error. */ 
66 /* We use char because int might match the return type of a gcc2 
67@@ -2782,7 +2783,7 @@ int main() { 
68 inet_ntoa() 
69 ; return 0; } 
70 EOF 
71-if { (eval echo configure:2786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
72+if { (eval echo configure:2787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
73 rm -rf conftest* 
74 eval "ac_cv_lib_$ac_lib_var=yes" 
75 else 
76@@ -2852,7 +2853,7 @@ EOF 
77 SHLIB_SUFFIX=".sl" 
78 fi 
79 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 
80-echo "configure:2856: checking for shl_load in -ldld" >&5 
81+echo "configure:2857: checking for shl_load in -ldld" >&5 
82 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 
83 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
84 echo $ac_n "(cached) $ac_c" 1>&6 
85@@ -2860,7 +2861,7 @@ else 
86 ac_save_LIBS="$LIBS" 
87 LIBS="-ldld $LIBS" 
88 cat > conftest.$ac_ext <<EOF 
89-#line 2864 "configure" 
90+#line 2865 "configure" 
91 #include "confdefs.h" 
92 /* Override any gcc2 internal prototype to avoid an error. */ 
93 /* We use char because int might match the return type of a gcc2 
94@@ -2871,7 +2872,7 @@ int main() { 
95 shl_load() 
96 ; return 0; } 
97 EOF 
98-if { (eval echo configure:2875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
99+if { (eval echo configure:2876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
100 rm -rf conftest* 
101 eval "ac_cv_lib_$ac_lib_var=yes" 
102 else 
103@@ -2939,7 +2940,7 @@ fi 
104 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 
105 SHLIB_SUFFIX=".sl" 
106 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 
107-echo "configure:2943: checking for shl_load in -ldld" >&5 
108+echo "configure:2944: checking for shl_load in -ldld" >&5 
109 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 
110 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
111 echo $ac_n "(cached) $ac_c" 1>&6 
112@@ -2947,7 +2948,7 @@ else 
113 ac_save_LIBS="$LIBS" 
114 LIBS="-ldld $LIBS" 
115 cat > conftest.$ac_ext <<EOF 
116-#line 2951 "configure" 
117+#line 2952 "configure" 
118 #include "confdefs.h" 
119 /* Override any gcc2 internal prototype to avoid an error. */ 
120 /* We use char because int might match the return type of a gcc2 
121@@ -2958,7 +2959,7 @@ int main() { 
122 shl_load() 
123 ; return 0; } 
124 EOF 
125-if { (eval echo configure:2962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
126+if { (eval echo configure:2963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
127 rm -rf conftest* 
128 eval "ac_cv_lib_$ac_lib_var=yes" 
129 else 
130@@ -2991,6 +2992,21 @@ fi 13@@ -2991,6 +2992,21 @@ fi
131 LD_LIBRARY_PATH_VAR="SHLIB_PATH" 14 LD_LIBRARY_PATH_VAR="SHLIB_PATH"
132 fi 15 fi
133 ;; 16 ;;
134+ Interix-3.*) 17+ Interix-3.*)
135+ SHLIB_CFLAGS="" 18+ SHLIB_CFLAGS=""
136+ SHLIB_LD='${TCL_CC} -shared' 19+ SHLIB_LD='${TCL_CC} -shared'
137+ SHLIB_LD_LIBS="" 20+ SHLIB_LD_LIBS=""
138+ SHLIB_SUFFIX=".so" 21+ SHLIB_SUFFIX=".so"
139+ DL_OBJS="tclLoadDl.o" 22+ DL_OBJS="tclLoadDl.o"
140+ DL_LIBS="-ldl" 23+ DL_LIBS="-ldl"
141+ LDFLAGS="$LDFLAGS -Wl,-E" 24+ LDFLAGS="$LDFLAGS -Wl,-E"
142+ CC_SEARCH_FLAGS='-Wl,-R${LIB_RUNTIME_DIR}' 25+ CC_SEARCH_FLAGS='-Wl,-R${LIB_RUNTIME_DIR}'
@@ -169,2935 +52,143 @@ $NetBSD: patch-ab,v 1.38 2011/11/01 20:0 @@ -169,2935 +52,143 @@ $NetBSD: patch-ab,v 1.38 2011/11/01 20:0
169 ;; 52 ;;
170 IRIX64-6.*) 53 IRIX64-6.*)
171 SHLIB_CFLAGS="" 54 SHLIB_CFLAGS=""
172@@ -3060,6 +3082,9 @@ fi 55@@ -3060,6 +3082,9 @@ fi
173 LDFLAGS="$LDFLAGS -64" 56 LDFLAGS="$LDFLAGS -64"
174 fi 57 fi
175 fi 58 fi
176+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' 59+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
177+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so' 60+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
178+ TCL_LIB_VERSIONS_OK=nodots 61+ TCL_LIB_VERSIONS_OK=nodots
179 ;; 62 ;;
180 Linux*) 63 Linux*)
181 SHLIB_CFLAGS="-fPIC" 64 SHLIB_CFLAGS="-fPIC"
182@@ -3082,17 +3107,17 @@ fi 
183 else 
184 ac_safe=`echo "dld.h" | sed 'y%./+-%__p_%'` 
185 echo $ac_n "checking for dld.h""... $ac_c" 1>&6 
186-echo "configure:3086: checking for dld.h" >&5 
187+echo "configure:3111: checking for dld.h" >&5 
188 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
189 echo $ac_n "(cached) $ac_c" 1>&6 
190 else 
191 cat > conftest.$ac_ext <<EOF 
192-#line 3091 "configure" 
193+#line 3116 "configure" 
194 #include "confdefs.h" 
195 #include <dld.h> 
196 EOF 
197 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
198-{ (eval echo configure:3096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
199+{ (eval echo configure:3121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
200 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
201 if test -z "$ac_err"; then 
202 rm -rf conftest* 
203@@ -3124,7 +3149,7 @@ fi 
204 fi 
205 if test $do64bit = yes; then 
206 echo $ac_n "checking if compiler accepts -m64 flag""... $ac_c" 1>&6 
207-echo "configure:3128: checking if compiler accepts -m64 flag" >&5 
208+echo "configure:3153: checking if compiler accepts -m64 flag" >&5 
209 if eval "test \"`echo '$''{'tcl_cv_cc_m64'+set}'`\" = set"; then 
210 echo $ac_n "(cached) $ac_c" 1>&6 
211 else 
212@@ -3132,7 +3157,7 @@ else 
213 hold_cflags=$CFLAGS 
214 CFLAGS="$CFLAGS -m64" 
215 cat > conftest.$ac_ext <<EOF 
216-#line 3136 "configure" 
217+#line 3161 "configure" 
218 #include "confdefs.h" 
219  
220 int main() { 
221@@ -3139,7 +3164,7 @@ int main() { 
222  
223 ; return 0; } 
224 EOF 
225-if { (eval echo configure:3143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
226+if { (eval echo configure:3168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
227 rm -rf conftest* 
228 tcl_cv_cc_m64=yes 
229 else 
230@@ -3176,6 +3201,9 @@ echo "$ac_t""$tcl_cv_cc_m64" 1>&6 65@@ -3176,6 +3201,9 @@ echo "$ac_t""$tcl_cv_cc_m64" 1>&6
231 EOF 66 EOF
232  67
233  68
234+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' 69+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
235+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so' 70+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
236+ TCL_LIB_VERSIONS_OK=nodots 71+ TCL_LIB_VERSIONS_OK=nodots
237 ;; 72 ;;
238 GNU*) 73 GNU*)
239 SHLIB_CFLAGS="-fPIC" 74 SHLIB_CFLAGS="-fPIC"
240@@ -3192,17 +3220,17 @@ EOF 75@@ -3267,6 +3295,9 @@ fi
241 else 
242 ac_safe=`echo "dld.h" | sed 'y%./+-%__p_%'` 
243 echo $ac_n "checking for dld.h""... $ac_c" 1>&6 
244-echo "configure:3196: checking for dld.h" >&5 
245+echo "configure:3224: checking for dld.h" >&5 
246 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
247 echo $ac_n "(cached) $ac_c" 1>&6 
248 else 
249 cat > conftest.$ac_ext <<EOF 
250-#line 3201 "configure" 
251+#line 3229 "configure" 
252 #include "confdefs.h" 
253 #include <dld.h> 
254 EOF 
255 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
256-{ (eval echo configure:3206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
257+{ (eval echo configure:3234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
258 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
259 if test -z "$ac_err"; then 
260 rm -rf conftest* 
261@@ -3267,20 +3295,23 @@ fi 
262 LD_SEARCH_FLAGS="" 76 LD_SEARCH_FLAGS=""
263 ;; 77 ;;
264 NetBSD-*|FreeBSD-[1-2].*) 78 NetBSD-*|FreeBSD-[1-2].*)
265+ if test "X${COMPILER_OPTIMIZATION_BUG}" = "XYES"; then 79+ if test "X${COMPILER_OPTIMIZATION_BUG}" = "XYES"; then
266+ CFLAGS_OPTIMIZE=-O0 80+ CFLAGS_OPTIMIZE=-O0
267+ fi 81+ fi
268 # Not available on all versions: check for include file. 82 # Not available on all versions: check for include file.
269 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` 83 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
270 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 84 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
271-echo "configure:3274: checking for dlfcn.h" >&5 85@@ -3299,15 +3330,13 @@ if eval "test \"`echo '$ac_cv_header_'$a
272+echo "configure:3305: checking for dlfcn.h" >&5 
273 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
274 echo $ac_n "(cached) $ac_c" 1>&6 
275 else 
276 cat > conftest.$ac_ext <<EOF 
277-#line 3279 "configure" 
278+#line 3310 "configure" 
279 #include "confdefs.h" 
280 #include <dlfcn.h> 
281 EOF 
282 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
283-{ (eval echo configure:3284: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
284+{ (eval echo configure:3315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
285 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
286 if test -z "$ac_err"; then 
287 rm -rf conftest* 
288@@ -3299,21 +3330,19 @@ if eval "test \"`echo '$ac_cv_header_'$a 
289  86
290 # NetBSD/SPARC needs -fPIC, -fpic will not do. 87 # NetBSD/SPARC needs -fPIC, -fpic will not do.
291 SHLIB_CFLAGS="-fPIC" 88 SHLIB_CFLAGS="-fPIC"
292- SHLIB_LD="ld -Bshareable -x" 89- SHLIB_LD="ld -Bshareable -x"
293 SHLIB_LD_LIBS='${LIBS}' 90 SHLIB_LD_LIBS='${LIBS}'
294 SHLIB_SUFFIX=".so" 91 SHLIB_SUFFIX=".so"
295 DL_OBJS="tclLoadDl.o" 92 DL_OBJS="tclLoadDl.o"
296 DL_LIBS="" 93 DL_LIBS=""
297 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 94 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
298- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 95- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
299 echo $ac_n "checking for ELF""... $ac_c" 1>&6 96 echo $ac_n "checking for ELF""... $ac_c" 1>&6
300-echo "configure:3311: checking for ELF" >&5 97-echo "configure:3311: checking for ELF" >&5
301+echo "configure:3340: checking for ELF" >&5 98+echo "configure:3340: checking for ELF" >&5
302 if eval "test \"`echo '$''{'tcl_cv_ld_elf'+set}'`\" = set"; then 99 if eval "test \"`echo '$''{'tcl_cv_ld_elf'+set}'`\" = set"; then
303 echo $ac_n "(cached) $ac_c" 1>&6 100 echo $ac_n "(cached) $ac_c" 1>&6
304 else 101 else
305  
306 cat > conftest.$ac_ext <<EOF 
307-#line 3317 "configure" 
308+#line 3346 "configure" 
309 #include "confdefs.h" 
310  
311 #ifdef __ELF__ 
312@@ -3334,6 +3363,8 @@ rm -f conftest* 102@@ -3334,6 +3363,8 @@ rm -f conftest*
313 fi 103 fi
314  104
315 echo "$ac_t""$tcl_cv_ld_elf" 1>&6 105 echo "$ac_t""$tcl_cv_ld_elf" 1>&6
316+ SHLIB_LD='${TCL_CC} -shared -Wl,-x' 106+ SHLIB_LD='${TCL_CC} -shared -Wl,-x'
317+ LD_SEARCH_FLAGS='-Wl,-R${LIB_RUNTIME_DIR}' 107+ LD_SEARCH_FLAGS='-Wl,-R${LIB_RUNTIME_DIR}'
318 if test $tcl_cv_ld_elf = yes; then 108 if test $tcl_cv_ld_elf = yes; then
319 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so' 109 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
320 else 110 else
321@@ -3361,7 +3392,7 @@ fi 111@@ -3361,7 +3392,7 @@ fi
322 UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' 112 UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
323 TCL_LIB_VERSIONS_OK=nodots 113 TCL_LIB_VERSIONS_OK=nodots
324 ;; 114 ;;
325- OpenBSD-*) 115- OpenBSD-*)
326+ OpenBSD-*|MirBSD-*) 116+ OpenBSD-*|MirBSD-*)
327 case `arch -s` in 117 case `arch -s` in
328 m88k|vax) 118 m88k|vax)
329 SHLIB_CFLAGS="" 119 SHLIB_CFLAGS=""
330@@ -3392,13 +3423,13 @@ fi 
331 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 
332 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 
333 echo $ac_n "checking for ELF""... $ac_c" 1>&6 
334-echo "configure:3396: checking for ELF" >&5 
335+echo "configure:3427: checking for ELF" >&5 
336 if eval "test \"`echo '$''{'tcl_cv_ld_elf'+set}'`\" = set"; then 
337 echo $ac_n "(cached) $ac_c" 1>&6 
338 else 
339  
340 cat > conftest.$ac_ext <<EOF 
341-#line 3402 "configure" 
342+#line 3433 "configure" 
343 #include "confdefs.h" 
344  
345 #ifdef __ELF__ 
346@@ -3431,7 +3462,7 @@ echo "$ac_t""$tcl_cv_ld_elf" 1>&6 120@@ -3431,7 +3462,7 @@ echo "$ac_t""$tcl_cv_ld_elf" 1>&6
347 UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' 121 UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
348 TCL_LIB_VERSIONS_OK=nodots 122 TCL_LIB_VERSIONS_OK=nodots
349 ;; 123 ;;
350- FreeBSD-*) 124- FreeBSD-*)
351+ FreeBSD-*|DragonFly-*) 125+ FreeBSD-*|DragonFly-*)
352 # FreeBSD 3.* and greater have ELF. 126 # FreeBSD 3.* and greater have ELF.
353 SHLIB_CFLAGS="-fPIC" 127 SHLIB_CFLAGS="-fPIC"
354 SHLIB_LD="ld -Bshareable -x" 128 SHLIB_LD="ld -Bshareable -x"
355@@ -3473,7 +3504,7 @@ echo "$ac_t""$tcl_cv_ld_elf" 1>&6 129@@ -3455,6 +3486,12 @@ echo "$ac_t""$tcl_cv_ld_elf" 1>&6
356 case `arch` in 130 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
357 ppc) 131 TCL_LIB_VERSIONS_OK=nodots
358 echo $ac_n "checking if compiler accepts -arch ppc64 flag""... $ac_c" 1>&6 132 ;;
359-echo "configure:3477: checking if compiler accepts -arch ppc64 flag" >&5 133+ DragonFly-*)
360+echo "configure:3508: checking if compiler accepts -arch ppc64 flag" >&5 134+ # "nodots" required to confirm to pkgsrc lang/tcl PLIST
361 if eval "test \"`echo '$''{'tcl_cv_cc_arch_ppc64'+set}'`\" = set"; then 135+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
362 echo $ac_n "(cached) $ac_c" 1>&6 136+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
363 else 137+ TCL_LIB_VERSIONS_OK=nodots
364@@ -3481,7 +3512,7 @@ else 138+ ;;
365 hold_cflags=$CFLAGS 139 esac
366 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 140 ;;
367 cat > conftest.$ac_ext <<EOF 141 Darwin-*)
368-#line 3485 "configure" 142@@ -4003,6 +4040,9 @@ EOF
369+#line 3516 "configure" 
370 #include "confdefs.h" 
371  
372 int main() { 
373@@ -3488,7 +3519,7 @@ int main() { 
374  
375 ; return 0; } 
376 EOF 
377-if { (eval echo configure:3492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
378+if { (eval echo configure:3523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
379 rm -rf conftest* 
380 tcl_cv_cc_arch_ppc64=yes 
381 else 
382@@ -3508,7 +3539,7 @@ echo "$ac_t""$tcl_cv_cc_arch_ppc64" 1>&6 
383 fi;; 
384 i386) 
385 echo $ac_n "checking if compiler accepts -arch x86_64 flag""... $ac_c" 1>&6 
386-echo "configure:3512: checking if compiler accepts -arch x86_64 flag" >&5 
387+echo "configure:3543: checking if compiler accepts -arch x86_64 flag" >&5 
388 if eval "test \"`echo '$''{'tcl_cv_cc_arch_x86_64'+set}'`\" = set"; then 
389 echo $ac_n "(cached) $ac_c" 1>&6 
390 else 
391@@ -3516,7 +3547,7 @@ else 
392 hold_cflags=$CFLAGS 
393 CFLAGS="$CFLAGS -arch x86_64" 
394 cat > conftest.$ac_ext <<EOF 
395-#line 3520 "configure" 
396+#line 3551 "configure" 
397 #include "confdefs.h" 
398  
399 int main() { 
400@@ -3523,7 +3554,7 @@ int main() { 
401  
402 ; return 0; } 
403 EOF 
404-if { (eval echo configure:3527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
405+if { (eval echo configure:3558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
406 rm -rf conftest* 
407 tcl_cv_cc_arch_x86_64=yes 
408 else 
409@@ -3552,7 +3583,7 @@ echo "$ac_t""$tcl_cv_cc_arch_x86_64" 1>& 
410 fi 
411 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}' 
412 echo $ac_n "checking if ld accepts -single_module flag""... $ac_c" 1>&6 
413-echo "configure:3556: checking if ld accepts -single_module flag" >&5 
414+echo "configure:3587: checking if ld accepts -single_module flag" >&5 
415 if eval "test \"`echo '$''{'tcl_cv_ld_single_module'+set}'`\" = set"; then 
416 echo $ac_n "(cached) $ac_c" 1>&6 
417 else 
418@@ -3560,7 +3591,7 @@ else 
419 hold_ldflags=$LDFLAGS 
420 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" 
421 cat > conftest.$ac_ext <<EOF 
422-#line 3564 "configure" 
423+#line 3595 "configure" 
424 #include "confdefs.h" 
425  
426 int main() { 
427@@ -3567,7 +3598,7 @@ int main() { 
428 int i; 
429 ; return 0; } 
430 EOF 
431-if { (eval echo configure:3571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
432+if { (eval echo configure:3602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
433 rm -rf conftest* 
434 tcl_cv_ld_single_module=yes 
435 else 
436@@ -3594,7 +3625,7 @@ echo "$ac_t""$tcl_cv_ld_single_module" 1 
437 LDFLAGS="$LDFLAGS -prebind" 
438 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 
439 echo $ac_n "checking if ld accepts -search_paths_first flag""... $ac_c" 1>&6 
440-echo "configure:3598: checking if ld accepts -search_paths_first flag" >&5 
441+echo "configure:3629: checking if ld accepts -search_paths_first flag" >&5 
442 if eval "test \"`echo '$''{'tcl_cv_ld_search_paths_first'+set}'`\" = set"; then 
443 echo $ac_n "(cached) $ac_c" 1>&6 
444 else 
445@@ -3602,7 +3633,7 @@ else 
446 hold_ldflags=$LDFLAGS 
447 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 
448 cat > conftest.$ac_ext <<EOF 
449-#line 3606 "configure" 
450+#line 3637 "configure" 
451 #include "confdefs.h" 
452  
453 int main() { 
454@@ -3609,7 +3640,7 @@ int main() { 
455 int i; 
456 ; return 0; } 
457 EOF 
458-if { (eval echo configure:3613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
459+if { (eval echo configure:3644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
460 rm -rf conftest* 
461 tcl_cv_ld_search_paths_first=yes 
462 else 
463@@ -3632,7 +3663,7 @@ echo "$ac_t""$tcl_cv_ld_search_paths_fir 
464 PLAT_OBJS=\$\(MAC\_OSX_OBJS\) 
465 PLAT_SRCS=\$\(MAC\_OSX_SRCS\) 
466 echo $ac_n "checking whether to use CoreFoundation""... $ac_c" 1>&6 
467-echo "configure:3636: checking whether to use CoreFoundation" >&5 
468+echo "configure:3667: checking whether to use CoreFoundation" >&5 
469 # Check whether --enable-corefoundation or --disable-corefoundation was given. 
470 if test "${enable_corefoundation+set}" = set; then 
471 enableval="$enable_corefoundation" 
472@@ -3644,7 +3675,7 @@ fi 
473 echo "$ac_t""$tcl_corefoundation" 1>&6 
474 if test $tcl_corefoundation = yes; then 
475 echo $ac_n "checking for CoreFoundation.framework""... $ac_c" 1>&6 
476-echo "configure:3648: checking for CoreFoundation.framework" >&5 
477+echo "configure:3679: checking for CoreFoundation.framework" >&5 
478 if eval "test \"`echo '$''{'tcl_cv_lib_corefoundation'+set}'`\" = set"; then 
479 echo $ac_n "(cached) $ac_c" 1>&6 
480 else 
481@@ -3658,7 +3689,7 @@ else 
482 done; fi 
483 LIBS="$LIBS -framework CoreFoundation" 
484 cat > conftest.$ac_ext <<EOF 
485-#line 3662 "configure" 
486+#line 3693 "configure" 
487 #include "confdefs.h" 
488 #include <CoreFoundation/CoreFoundation.h> 
489 int main() { 
490@@ -3665,7 +3696,7 @@ int main() { 
491 CFBundleRef b = CFBundleGetMainBundle(); 
492 ; return 0; } 
493 EOF 
494-if { (eval echo configure:3669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
495+if { (eval echo configure:3700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
496 rm -rf conftest* 
497 tcl_cv_lib_corefoundation=yes 
498 else 
499@@ -3692,7 +3723,7 @@ EOF 
500 fi 
501 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then 
502 echo $ac_n "checking for 64-bit CoreFoundation""... $ac_c" 1>&6 
503-echo "configure:3696: checking for 64-bit CoreFoundation" >&5 
504+echo "configure:3727: checking for 64-bit CoreFoundation" >&5 
505 if eval "test \"`echo '$''{'tcl_cv_lib_corefoundation_64'+set}'`\" = set"; then 
506 echo $ac_n "(cached) $ac_c" 1>&6 
507 else 
508@@ -3701,7 +3732,7 @@ else 
509 eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' 
510 done 
511 cat > conftest.$ac_ext <<EOF 
512-#line 3705 "configure" 
513+#line 3736 "configure" 
514 #include "confdefs.h" 
515 #include <CoreFoundation/CoreFoundation.h> 
516 int main() { 
517@@ -3708,7 +3739,7 @@ int main() { 
518 CFBundleRef b = CFBundleGetMainBundle(); 
519 ; return 0; } 
520 EOF 
521-if { (eval echo configure:3712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
522+if { (eval echo configure:3743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
523 rm -rf conftest* 
524 tcl_cv_lib_corefoundation_64=yes 
525 else 
526@@ -4003,6 +4034,9 @@ EOF 
527 CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}' 143 CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
528 LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}' 144 LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
529 fi 145 fi
530+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so' 146+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
531+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' 147+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
532+ TCL_LIB_VERSIONS_OK=nodots 148+ TCL_LIB_VERSIONS_OK=nodots
533 ;; 149 ;;
534 ULTRIX-4.*) 150 ULTRIX-4.*)
535 SHLIB_CFLAGS="-G 0" 151 SHLIB_CFLAGS="-G 0"
536@@ -4028,7 +4062,7 @@ EOF 152@@ -4273,7 +4313,7 @@ fi
537 # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers 
538 # that don't grok the -Bexport option. Test that it does. 
539 echo $ac_n "checking for ld accepts -Bexport flag""... $ac_c" 1>&6 
540-echo "configure:4032: checking for ld accepts -Bexport flag" >&5 
541+echo "configure:4066: checking for ld accepts -Bexport flag" >&5 
542 if eval "test \"`echo '$''{'tcl_cv_ld_Bexport'+set}'`\" = set"; then 
543 echo $ac_n "(cached) $ac_c" 1>&6 
544 else 
545@@ -4036,7 +4070,7 @@ else 
546 hold_ldflags=$LDFLAGS 
547 LDFLAGS="$LDFLAGS -Wl,-Bexport" 
548 cat > conftest.$ac_ext <<EOF 
549-#line 4040 "configure" 
550+#line 4074 "configure" 
551 #include "confdefs.h" 
552  
553 int main() { 
554@@ -4043,7 +4077,7 @@ int main() { 
555 int i; 
556 ; return 0; } 
557 EOF 
558-if { (eval echo configure:4047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
559+if { (eval echo configure:4081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
560 rm -rf conftest* 
561 tcl_cv_ld_Bexport=yes 
562 else 
563@@ -4093,13 +4127,13 @@ echo "$ac_t""$tcl_cv_ld_Bexport" 1>&6 
564  
565 if test "x$DL_OBJS" = "xtclLoadAout.o" ; then 
566 echo $ac_n "checking sys/exec.h""... $ac_c" 1>&6 
567-echo "configure:4097: checking sys/exec.h" >&5 
568+echo "configure:4131: checking sys/exec.h" >&5 
569 if eval "test \"`echo '$''{'tcl_cv_sysexec_h'+set}'`\" = set"; then 
570 echo $ac_n "(cached) $ac_c" 1>&6 
571 else 
572  
573 cat > conftest.$ac_ext <<EOF 
574-#line 4103 "configure" 
575+#line 4137 "configure" 
576 #include "confdefs.h" 
577 #include <sys/exec.h> 
578 int main() { 
579@@ -4117,7 +4151,7 @@ int main() { 
580  
581 ; return 0; } 
582 EOF 
583-if { (eval echo configure:4121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
584+if { (eval echo configure:4155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
585 rm -rf conftest* 
586 tcl_cv_sysexec_h=usable 
587 else 
588@@ -4137,13 +4171,13 @@ EOF 
589  
590 else 
591 echo $ac_n "checking a.out.h""... $ac_c" 1>&6 
592-echo "configure:4141: checking a.out.h" >&5 
593+echo "configure:4175: checking a.out.h" >&5 
594 if eval "test \"`echo '$''{'tcl_cv_aout_h'+set}'`\" = set"; then 
595 echo $ac_n "(cached) $ac_c" 1>&6 
596 else 
597  
598 cat > conftest.$ac_ext <<EOF 
599-#line 4147 "configure" 
600+#line 4181 "configure" 
601 #include "confdefs.h" 
602 #include <a.out.h> 
603 int main() { 
604@@ -4161,7 +4195,7 @@ int main() { 
605  
606 ; return 0; } 
607 EOF 
608-if { (eval echo configure:4165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
609+if { (eval echo configure:4199: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
610 rm -rf conftest* 
611 tcl_cv_aout_h=usable 
612 else 
613@@ -4181,13 +4215,13 @@ EOF 
614  
615 else 
616 echo $ac_n "checking sys/exec_aout.h""... $ac_c" 1>&6 
617-echo "configure:4185: checking sys/exec_aout.h" >&5 
618+echo "configure:4219: checking sys/exec_aout.h" >&5 
619 if eval "test \"`echo '$''{'tcl_cv_sysexecaout_h'+set}'`\" = set"; then 
620 echo $ac_n "(cached) $ac_c" 1>&6 
621 else 
622  
623 cat > conftest.$ac_ext <<EOF 
624-#line 4191 "configure" 
625+#line 4225 "configure" 
626 #include "confdefs.h" 
627 #include <sys/exec_aout.h> 
628 int main() { 
629@@ -4205,7 +4239,7 @@ int main() { 
630  
631 ; return 0; } 
632 EOF 
633-if { (eval echo configure:4209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
634+if { (eval echo configure:4243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
635 rm -rf conftest* 
636 tcl_cv_sysexecaout_h=usable 
637 else 
638@@ -4273,7 +4307,7 @@ fi 
639 ;; 153 ;;
640 IRIX*) 154 IRIX*)
641 ;; 155 ;;
642- NetBSD-*|FreeBSD-*|OpenBSD-*) 156- NetBSD-*|FreeBSD-*|OpenBSD-*)
643+ NetBSD-*|FreeBSD-*|OpenBSD-*|MirBSD-*) 157+ NetBSD-*|FreeBSD-*|OpenBSD-*|MirBSD-*)
644 ;; 158 ;;
645 Darwin-*) 159 Darwin-*)
646 ;; 160 ;;
647@@ -4299,8 +4333,8 @@ fi 161@@ -4299,8 +4339,8 @@ fi
648  162
649 if test "${SHARED_BUILD}" = "1" && test "${SHLIB_SUFFIX}" != "" ; then 163 if test "${SHARED_BUILD}" = "1" && test "${SHLIB_SUFFIX}" != "" ; then
650 LIB_SUFFIX=${SHARED_LIB_SUFFIX} 164 LIB_SUFFIX=${SHARED_LIB_SUFFIX}
651- MAKE_LIB='${SHLIB_LD} -o $@ ${OBJS} ${SHLIB_LD_LIBS} ${TCL_SHLIB_LD_EXTRAS} ${TK_SHLIB_LD_EXTRAS} ${LD_SEARCH_FLAGS}' 165- MAKE_LIB='${SHLIB_LD} -o $@ ${OBJS} ${SHLIB_LD_LIBS} ${TCL_SHLIB_LD_EXTRAS} ${TK_SHLIB_LD_EXTRAS} ${LD_SEARCH_FLAGS}'
652- INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) $(LIB_INSTALL_DIR)/$(LIB_FILE)' 166- INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) $(LIB_INSTALL_DIR)/$(LIB_FILE)'
653+ MAKE_LIB='${SHLIB_LD} -o ${@:C/\.so.*/.la/} ${OBJS:.o=.lo} ${SHLIB_LD_LIBS} ${TCL_SHLIB_LD_EXTRAS} ${TK_SHLIB_LD_EXTRAS} ${LD_SEARCH_FLAGS} -version-info 1:0' 167+ MAKE_LIB='${SHLIB_LD} -o ${@:C/\.so.*/.la/} ${OBJS:.o=.lo} ${SHLIB_LD_LIBS} ${TCL_SHLIB_LD_EXTRAS} ${TK_SHLIB_LD_EXTRAS} ${LD_SEARCH_FLAGS} -version-info 1:0'
654+ INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE:C/\.so.*/.la/) $(LIB_INSTALL_DIR)/$(LIB_FILE)' 168+ INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE:C/\.so.*/.la/) $(LIB_INSTALL_DIR)/$(LIB_FILE)'
655 else 169 else
656 LIB_SUFFIX=${UNSHARED_LIB_SUFFIX} 170 LIB_SUFFIX=${UNSHARED_LIB_SUFFIX}
657  171
658@@ -4358,7 +4392,7 @@ fi 172@@ -9247,7 +9287,7 @@ else
659  
660  
661 echo $ac_n "checking for build with symbols""... $ac_c" 1>&6 
662-echo "configure:4362: checking for build with symbols" >&5 
663+echo "configure:4396: checking for build with symbols" >&5 
664 # Check whether --enable-symbols or --disable-symbols was given. 
665 if test "${enable_symbols+set}" = set; then 
666 enableval="$enable_symbols" 
667@@ -4419,7 +4453,7 @@ TCL_DBGX=${DBGX} 
668  
669  
670 echo $ac_n "checking for required early compiler flags""... $ac_c" 1>&6 
671-echo "configure:4423: checking for required early compiler flags" >&5 
672+echo "configure:4457: checking for required early compiler flags" >&5 
673 tcl_flags="" 
674  
675 if eval "test \"`echo '$''{'tcl_cv_flag__isoc99_source'+set}'`\" = set"; then 
676@@ -4426,7 +4460,7 @@ echo "configure:4423: checking for requi 
677 echo $ac_n "(cached) $ac_c" 1>&6 
678 else 
679 cat > conftest.$ac_ext <<EOF 
680-#line 4430 "configure" 
681+#line 4464 "configure" 
682 #include "confdefs.h" 
683 #include <stdlib.h> 
684 int main() { 
685@@ -4433,7 +4467,7 @@ int main() { 
686 char *p = (char *)strtoll; char *q = (char *)strtoull; 
687 ; return 0; } 
688 EOF 
689-if { (eval echo configure:4437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
690+if { (eval echo configure:4471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
691 rm -rf conftest* 
692 tcl_cv_flag__isoc99_source=no 
693 else 
694@@ -4441,7 +4475,7 @@ else 
695 cat conftest.$ac_ext >&5 
696 rm -rf conftest* 
697 cat > conftest.$ac_ext <<EOF 
698-#line 4445 "configure" 
699+#line 4479 "configure" 
700 #include "confdefs.h" 
701 #define _ISOC99_SOURCE 1 
702 #include <stdlib.h> 
703@@ -4449,7 +4483,7 @@ int main() { 
704 char *p = (char *)strtoll; char *q = (char *)strtoull; 
705 ; return 0; } 
706 EOF 
707-if { (eval echo configure:4453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
708+if { (eval echo configure:4487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
709 rm -rf conftest* 
710 tcl_cv_flag__isoc99_source=yes 
711 else 
712@@ -4476,7 +4510,7 @@ EOF 
713 echo $ac_n "(cached) $ac_c" 1>&6 
714 else 
715 cat > conftest.$ac_ext <<EOF 
716-#line 4480 "configure" 
717+#line 4514 "configure" 
718 #include "confdefs.h" 
719 #include <sys/stat.h> 
720 int main() { 
721@@ -4483,7 +4517,7 @@ int main() { 
722 struct stat64 buf; int i = stat64("/", &buf); 
723 ; return 0; } 
724 EOF 
725-if { (eval echo configure:4487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
726+if { (eval echo configure:4521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
727 rm -rf conftest* 
728 tcl_cv_flag__largefile64_source=no 
729 else 
730@@ -4491,7 +4525,7 @@ else 
731 cat conftest.$ac_ext >&5 
732 rm -rf conftest* 
733 cat > conftest.$ac_ext <<EOF 
734-#line 4495 "configure" 
735+#line 4529 "configure" 
736 #include "confdefs.h" 
737 #define _LARGEFILE64_SOURCE 1 
738 #include <sys/stat.h> 
739@@ -4499,7 +4533,7 @@ int main() { 
740 struct stat64 buf; int i = stat64("/", &buf); 
741 ; return 0; } 
742 EOF 
743-if { (eval echo configure:4503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
744+if { (eval echo configure:4537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
745 rm -rf conftest* 
746 tcl_cv_flag__largefile64_source=yes 
747 else 
748@@ -4526,7 +4560,7 @@ EOF 
749 echo $ac_n "(cached) $ac_c" 1>&6 
750 else 
751 cat > conftest.$ac_ext <<EOF 
752-#line 4530 "configure" 
753+#line 4564 "configure" 
754 #include "confdefs.h" 
755 #include <sys/stat.h> 
756 int main() { 
757@@ -4533,7 +4567,7 @@ int main() { 
758 char *p = (char *)open64; 
759 ; return 0; } 
760 EOF 
761-if { (eval echo configure:4537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
762+if { (eval echo configure:4571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
763 rm -rf conftest* 
764 tcl_cv_flag__largefile_source64=no 
765 else 
766@@ -4541,7 +4575,7 @@ else 
767 cat conftest.$ac_ext >&5 
768 rm -rf conftest* 
769 cat > conftest.$ac_ext <<EOF 
770-#line 4545 "configure" 
771+#line 4579 "configure" 
772 #include "confdefs.h" 
773 #define _LARGEFILE_SOURCE64 1 
774 #include <sys/stat.h> 
775@@ -4549,7 +4583,7 @@ int main() { 
776 char *p = (char *)open64; 
777 ; return 0; } 
778 EOF 
779-if { (eval echo configure:4553: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
780+if { (eval echo configure:4587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
781 rm -rf conftest* 
782 tcl_cv_flag__largefile_source64=yes 
783 else 
784@@ -4580,7 +4614,7 @@ EOF 
785  
786  
787 echo $ac_n "checking for 64-bit integer type""... $ac_c" 1>&6 
788-echo "configure:4584: checking for 64-bit integer type" >&5 
789+echo "configure:4618: checking for 64-bit integer type" >&5 
790 if eval "test \"`echo '$''{'tcl_cv_type_64bit'+set}'`\" = set"; then 
791 echo $ac_n "(cached) $ac_c" 1>&6 
792 else 
793@@ -4588,7 +4622,7 @@ else 
794 tcl_cv_type_64bit=none 
795 # See if the compiler knows natively about __int64 
796 cat > conftest.$ac_ext <<EOF 
797-#line 4592 "configure" 
798+#line 4626 "configure" 
799 #include "confdefs.h" 
800  
801 int main() { 
802@@ -4595,7 +4629,7 @@ int main() { 
803 __int64 value = (__int64) 0; 
804 ; return 0; } 
805 EOF 
806-if { (eval echo configure:4599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
807+if { (eval echo configure:4633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
808 rm -rf conftest* 
809 tcl_type_64bit=__int64 
810 else 
811@@ -4609,7 +4643,7 @@ rm -f conftest* 
812 # type that is our current guess for a 64-bit type inside this check 
813 # program, so it should be modified only carefully... 
814 cat > conftest.$ac_ext <<EOF 
815-#line 4613 "configure" 
816+#line 4647 "configure" 
817 #include "confdefs.h" 
818  
819 int main() { 
820@@ -4618,7 +4652,7 @@ switch (0) {  
821 } 
822 ; return 0; } 
823 EOF 
824-if { (eval echo configure:4622: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
825+if { (eval echo configure:4656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
826 rm -rf conftest* 
827 tcl_cv_type_64bit=${tcl_type_64bit} 
828 else 
829@@ -4643,13 +4677,13 @@ EOF 
830  
831 # Now check for auxiliary declarations 
832 echo $ac_n "checking for struct dirent64""... $ac_c" 1>&6 
833-echo "configure:4647: checking for struct dirent64" >&5 
834+echo "configure:4681: checking for struct dirent64" >&5 
835 if eval "test \"`echo '$''{'tcl_cv_struct_dirent64'+set}'`\" = set"; then 
836 echo $ac_n "(cached) $ac_c" 1>&6 
837 else 
838  
839 cat > conftest.$ac_ext <<EOF 
840-#line 4653 "configure" 
841+#line 4687 "configure" 
842 #include "confdefs.h" 
843 #include <sys/types.h> 
844 #include <sys/dirent.h> 
845@@ -4657,7 +4691,7 @@ int main() { 
846 struct dirent64 p; 
847 ; return 0; } 
848 EOF 
849-if { (eval echo configure:4661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
850+if { (eval echo configure:4695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
851 rm -rf conftest* 
852 tcl_cv_struct_dirent64=yes 
853 else 
854@@ -4678,13 +4712,13 @@ EOF 
855 fi 
856  
857 echo $ac_n "checking for struct stat64""... $ac_c" 1>&6 
858-echo "configure:4682: checking for struct stat64" >&5 
859+echo "configure:4716: checking for struct stat64" >&5 
860 if eval "test \"`echo '$''{'tcl_cv_struct_stat64'+set}'`\" = set"; then 
861 echo $ac_n "(cached) $ac_c" 1>&6 
862 else 
863  
864 cat > conftest.$ac_ext <<EOF 
865-#line 4688 "configure" 
866+#line 4722 "configure" 
867 #include "confdefs.h" 
868 #include <sys/stat.h> 
869 int main() { 
870@@ -4692,7 +4726,7 @@ struct stat64 p; 
871  
872 ; return 0; } 
873 EOF 
874-if { (eval echo configure:4696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
875+if { (eval echo configure:4730: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
876 rm -rf conftest* 
877 tcl_cv_struct_stat64=yes 
878 else 
879@@ -4715,12 +4749,12 @@ EOF 
880 for ac_func in open64 lseek64 
881 do 
882 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 
883-echo "configure:4719: checking for $ac_func" >&5 
884+echo "configure:4753: checking for $ac_func" >&5 
885 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 
886 echo $ac_n "(cached) $ac_c" 1>&6 
887 else 
888 cat > conftest.$ac_ext <<EOF 
889-#line 4724 "configure" 
890+#line 4758 "configure" 
891 #include "confdefs.h" 
892 /* System header to define __stub macros and hopefully few prototypes, 
893 which can conflict with char $ac_func(); below. */ 
894@@ -4743,7 +4777,7 @@ $ac_func(); 
895  
896 ; return 0; } 
897 EOF 
898-if { (eval echo configure:4747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
899+if { (eval echo configure:4781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
900 rm -rf conftest* 
901 eval "ac_cv_func_$ac_func=yes" 
902 else 
903@@ -4768,13 +4802,13 @@ fi 
904 done 
905  
906 echo $ac_n "checking for off64_t""... $ac_c" 1>&6 
907-echo "configure:4772: checking for off64_t" >&5 
908+echo "configure:4806: checking for off64_t" >&5 
909 if eval "test \"`echo '$''{'tcl_cv_type_off64_t'+set}'`\" = set"; then 
910 echo $ac_n "(cached) $ac_c" 1>&6 
911 else 
912  
913 cat > conftest.$ac_ext <<EOF 
914-#line 4778 "configure" 
915+#line 4812 "configure" 
916 #include "confdefs.h" 
917 #include <sys/types.h> 
918 int main() { 
919@@ -4782,7 +4816,7 @@ off64_t offset; 
920  
921 ; return 0; } 
922 EOF 
923-if { (eval echo configure:4786: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
924+if { (eval echo configure:4820: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
925 rm -rf conftest* 
926 tcl_cv_type_off64_t=yes 
927 else 
928@@ -4814,7 +4848,7 @@ EOF 
929 #-------------------------------------------------------------------- 
930  
931 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 
932-echo "configure:4818: checking whether byte ordering is bigendian" >&5 
933+echo "configure:4852: checking whether byte ordering is bigendian" >&5 
934 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then 
935 echo $ac_n "(cached) $ac_c" 1>&6 
936 else 
937@@ -4821,7 +4855,7 @@ else 
938 ac_cv_c_bigendian=unknown 
939 # See if sys/param.h defines the BYTE_ORDER macro. 
940 cat > conftest.$ac_ext <<EOF 
941-#line 4825 "configure" 
942+#line 4859 "configure" 
943 #include "confdefs.h" 
944 #include <sys/types.h> 
945 #include <sys/param.h> 
946@@ -4832,11 +4866,11 @@ int main() { 
947 #endif 
948 ; return 0; } 
949 EOF 
950-if { (eval echo configure:4836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
951+if { (eval echo configure:4870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
952 rm -rf conftest* 
953 # It does; now see whether it defined to BIG_ENDIAN or not. 
954 cat > conftest.$ac_ext <<EOF 
955-#line 4840 "configure" 
956+#line 4874 "configure" 
957 #include "confdefs.h" 
958 #include <sys/types.h> 
959 #include <sys/param.h> 
960@@ -4847,7 +4881,7 @@ int main() { 
961 #endif 
962 ; return 0; } 
963 EOF 
964-if { (eval echo configure:4851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
965+if { (eval echo configure:4885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
966 rm -rf conftest* 
967 ac_cv_c_bigendian=yes 
968 else 
969@@ -4867,7 +4901,7 @@ if test "$cross_compiling" = yes; then 
970 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } 
971 else 
972 cat > conftest.$ac_ext <<EOF 
973-#line 4871 "configure" 
974+#line 4905 "configure" 
975 #include "confdefs.h" 
976 main () { 
977 /* Are we little or big endian? From Harbison&Steele. */ 
978@@ -4880,7 +4914,7 @@ main () { 
979 exit (u.c[sizeof (long) - 1] == 1); 
980 } 
981 EOF 
982-if { (eval echo configure:4884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
983+if { (eval echo configure:4918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
984 then 
985 ac_cv_c_bigendian=no 
986 else 
987@@ -4913,12 +4947,12 @@ fi 
988 for ac_func in getcwd 
989 do 
990 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 
991-echo "configure:4917: checking for $ac_func" >&5 
992+echo "configure:4951: checking for $ac_func" >&5 
993 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 
994 echo $ac_n "(cached) $ac_c" 1>&6 
995 else 
996 cat > conftest.$ac_ext <<EOF 
997-#line 4922 "configure" 
998+#line 4956 "configure" 
999 #include "confdefs.h" 
1000 /* System header to define __stub macros and hopefully few prototypes, 
1001 which can conflict with char $ac_func(); below. */ 
1002@@ -4941,7 +4975,7 @@ $ac_func(); 
1003  
1004 ; return 0; } 
1005 EOF 
1006-if { (eval echo configure:4945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1007+if { (eval echo configure:4979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1008 rm -rf conftest* 
1009 eval "ac_cv_func_$ac_func=yes" 
1010 else 
1011@@ -4975,12 +5009,12 @@ done 
1012 for ac_func in opendir strstr strtol strtoll strtoull tmpnam waitpid 
1013 do 
1014 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 
1015-echo "configure:4979: checking for $ac_func" >&5 
1016+echo "configure:5013: checking for $ac_func" >&5 
1017 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 
1018 echo $ac_n "(cached) $ac_c" 1>&6 
1019 else 
1020 cat > conftest.$ac_ext <<EOF 
1021-#line 4984 "configure" 
1022+#line 5018 "configure" 
1023 #include "confdefs.h" 
1024 /* System header to define __stub macros and hopefully few prototypes, 
1025 which can conflict with char $ac_func(); below. */ 
1026@@ -5003,7 +5037,7 @@ $ac_func(); 
1027  
1028 ; return 0; } 
1029 EOF 
1030-if { (eval echo configure:5007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1031+if { (eval echo configure:5041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1032 rm -rf conftest* 
1033 eval "ac_cv_func_$ac_func=yes" 
1034 else 
1035@@ -5030,12 +5064,12 @@ done 
1036  
1037  
1038 echo $ac_n "checking for strerror""... $ac_c" 1>&6 
1039-echo "configure:5034: checking for strerror" >&5 
1040+echo "configure:5068: checking for strerror" >&5 
1041 if eval "test \"`echo '$''{'ac_cv_func_strerror'+set}'`\" = set"; then 
1042 echo $ac_n "(cached) $ac_c" 1>&6 
1043 else 
1044 cat > conftest.$ac_ext <<EOF 
1045-#line 5039 "configure" 
1046+#line 5073 "configure" 
1047 #include "confdefs.h" 
1048 /* System header to define __stub macros and hopefully few prototypes, 
1049 which can conflict with char strerror(); below. */ 
1050@@ -5058,7 +5092,7 @@ strerror(); 
1051  
1052 ; return 0; } 
1053 EOF 
1054-if { (eval echo configure:5062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1055+if { (eval echo configure:5096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1056 rm -rf conftest* 
1057 eval "ac_cv_func_strerror=yes" 
1058 else 
1059@@ -5082,12 +5116,12 @@ EOF 
1060 fi 
1061  
1062 echo $ac_n "checking for getwd""... $ac_c" 1>&6 
1063-echo "configure:5086: checking for getwd" >&5 
1064+echo "configure:5120: checking for getwd" >&5 
1065 if eval "test \"`echo '$''{'ac_cv_func_getwd'+set}'`\" = set"; then 
1066 echo $ac_n "(cached) $ac_c" 1>&6 
1067 else 
1068 cat > conftest.$ac_ext <<EOF 
1069-#line 5091 "configure" 
1070+#line 5125 "configure" 
1071 #include "confdefs.h" 
1072 /* System header to define __stub macros and hopefully few prototypes, 
1073 which can conflict with char getwd(); below. */ 
1074@@ -5110,7 +5144,7 @@ getwd(); 
1075  
1076 ; return 0; } 
1077 EOF 
1078-if { (eval echo configure:5114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1079+if { (eval echo configure:5148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1080 rm -rf conftest* 
1081 eval "ac_cv_func_getwd=yes" 
1082 else 
1083@@ -5134,12 +5168,12 @@ EOF 
1084 fi 
1085  
1086 echo $ac_n "checking for wait3""... $ac_c" 1>&6 
1087-echo "configure:5138: checking for wait3" >&5 
1088+echo "configure:5172: checking for wait3" >&5 
1089 if eval "test \"`echo '$''{'ac_cv_func_wait3'+set}'`\" = set"; then 
1090 echo $ac_n "(cached) $ac_c" 1>&6 
1091 else 
1092 cat > conftest.$ac_ext <<EOF 
1093-#line 5143 "configure" 
1094+#line 5177 "configure" 
1095 #include "confdefs.h" 
1096 /* System header to define __stub macros and hopefully few prototypes, 
1097 which can conflict with char wait3(); below. */ 
1098@@ -5162,7 +5196,7 @@ wait3(); 
1099  
1100 ; return 0; } 
1101 EOF 
1102-if { (eval echo configure:5166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1103+if { (eval echo configure:5200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1104 rm -rf conftest* 
1105 eval "ac_cv_func_wait3=yes" 
1106 else 
1107@@ -5186,12 +5220,12 @@ EOF 
1108 fi 
1109  
1110 echo $ac_n "checking for uname""... $ac_c" 1>&6 
1111-echo "configure:5190: checking for uname" >&5 
1112+echo "configure:5224: checking for uname" >&5 
1113 if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then 
1114 echo $ac_n "(cached) $ac_c" 1>&6 
1115 else 
1116 cat > conftest.$ac_ext <<EOF 
1117-#line 5195 "configure" 
1118+#line 5229 "configure" 
1119 #include "confdefs.h" 
1120 /* System header to define __stub macros and hopefully few prototypes, 
1121 which can conflict with char uname(); below. */ 
1122@@ -5214,7 +5248,7 @@ uname(); 
1123  
1124 ; return 0; } 
1125 EOF 
1126-if { (eval echo configure:5218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1127+if { (eval echo configure:5252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1128 rm -rf conftest* 
1129 eval "ac_cv_func_uname=yes" 
1130 else 
1131@@ -5245,12 +5279,12 @@ if test "`uname -s`" = "Darwin" && test  
1132 ac_cv_func_realpath=no 
1133 fi 
1134 echo $ac_n "checking for realpath""... $ac_c" 1>&6 
1135-echo "configure:5249: checking for realpath" >&5 
1136+echo "configure:5283: checking for realpath" >&5 
1137 if eval "test \"`echo '$''{'ac_cv_func_realpath'+set}'`\" = set"; then 
1138 echo $ac_n "(cached) $ac_c" 1>&6 
1139 else 
1140 cat > conftest.$ac_ext <<EOF 
1141-#line 5254 "configure" 
1142+#line 5288 "configure" 
1143 #include "confdefs.h" 
1144 /* System header to define __stub macros and hopefully few prototypes, 
1145 which can conflict with char realpath(); below. */ 
1146@@ -5273,7 +5307,7 @@ realpath(); 
1147  
1148 ; return 0; } 
1149 EOF 
1150-if { (eval echo configure:5277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1151+if { (eval echo configure:5311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1152 rm -rf conftest* 
1153 eval "ac_cv_func_realpath=yes" 
1154 else 
1155@@ -5303,12 +5337,12 @@ fi 
1156  
1157 if test "${TCL_THREADS}" = 1; then 
1158 echo $ac_n "checking for getpwuid_r""... $ac_c" 1>&6 
1159-echo "configure:5307: checking for getpwuid_r" >&5 
1160+echo "configure:5341: checking for getpwuid_r" >&5 
1161 if eval "test \"`echo '$''{'ac_cv_func_getpwuid_r'+set}'`\" = set"; then 
1162 echo $ac_n "(cached) $ac_c" 1>&6 
1163 else 
1164 cat > conftest.$ac_ext <<EOF 
1165-#line 5312 "configure" 
1166+#line 5346 "configure" 
1167 #include "confdefs.h" 
1168 /* System header to define __stub macros and hopefully few prototypes, 
1169 which can conflict with char getpwuid_r(); below. */ 
1170@@ -5331,7 +5365,7 @@ getpwuid_r(); 
1171  
1172 ; return 0; } 
1173 EOF 
1174-if { (eval echo configure:5335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1175+if { (eval echo configure:5369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1176 rm -rf conftest* 
1177 eval "ac_cv_func_getpwuid_r=yes" 
1178 else 
1179@@ -5347,13 +5381,13 @@ if eval "test \"`echo '$ac_cv_func_'getp 
1180 echo "$ac_t""yes" 1>&6 
1181  
1182 echo $ac_n "checking for getpwuid_r with 5 args""... $ac_c" 1>&6 
1183-echo "configure:5351: checking for getpwuid_r with 5 args" >&5 
1184+echo "configure:5385: checking for getpwuid_r with 5 args" >&5 
1185 if eval "test \"`echo '$''{'tcl_cv_api_getpwuid_r_5'+set}'`\" = set"; then 
1186 echo $ac_n "(cached) $ac_c" 1>&6 
1187 else 
1188  
1189 cat > conftest.$ac_ext <<EOF 
1190-#line 5357 "configure" 
1191+#line 5391 "configure" 
1192 #include "confdefs.h" 
1193  
1194 #include <sys/types.h> 
1195@@ -5370,7 +5404,7 @@ int main() { 
1196  
1197 ; return 0; } 
1198 EOF 
1199-if { (eval echo configure:5374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1200+if { (eval echo configure:5408: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1201 rm -rf conftest* 
1202 tcl_cv_api_getpwuid_r_5=yes 
1203 else 
1204@@ -5391,13 +5425,13 @@ EOF 
1205  
1206 else 
1207 echo $ac_n "checking for getpwuid_r with 4 args""... $ac_c" 1>&6 
1208-echo "configure:5395: checking for getpwuid_r with 4 args" >&5 
1209+echo "configure:5429: checking for getpwuid_r with 4 args" >&5 
1210 if eval "test \"`echo '$''{'tcl_cv_api_getpwuid_r_4'+set}'`\" = set"; then 
1211 echo $ac_n "(cached) $ac_c" 1>&6 
1212 else 
1213  
1214 cat > conftest.$ac_ext <<EOF 
1215-#line 5401 "configure" 
1216+#line 5435 "configure" 
1217 #include "confdefs.h" 
1218  
1219 #include <sys/types.h> 
1220@@ -5414,7 +5448,7 @@ int main() { 
1221  
1222 ; return 0; } 
1223 EOF 
1224-if { (eval echo configure:5418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1225+if { (eval echo configure:5452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1226 rm -rf conftest* 
1227 tcl_cv_api_getpwuid_r_4=yes 
1228 else 
1229@@ -5447,12 +5481,12 @@ else 
1230 fi 
1231  
1232 echo $ac_n "checking for getpwnam_r""... $ac_c" 1>&6 
1233-echo "configure:5451: checking for getpwnam_r" >&5 
1234+echo "configure:5485: checking for getpwnam_r" >&5 
1235 if eval "test \"`echo '$''{'ac_cv_func_getpwnam_r'+set}'`\" = set"; then 
1236 echo $ac_n "(cached) $ac_c" 1>&6 
1237 else 
1238 cat > conftest.$ac_ext <<EOF 
1239-#line 5456 "configure" 
1240+#line 5490 "configure" 
1241 #include "confdefs.h" 
1242 /* System header to define __stub macros and hopefully few prototypes, 
1243 which can conflict with char getpwnam_r(); below. */ 
1244@@ -5475,7 +5509,7 @@ getpwnam_r(); 
1245  
1246 ; return 0; } 
1247 EOF 
1248-if { (eval echo configure:5479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1249+if { (eval echo configure:5513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1250 rm -rf conftest* 
1251 eval "ac_cv_func_getpwnam_r=yes" 
1252 else 
1253@@ -5491,13 +5525,13 @@ if eval "test \"`echo '$ac_cv_func_'getp 
1254 echo "$ac_t""yes" 1>&6 
1255  
1256 echo $ac_n "checking for getpwnam_r with 5 args""... $ac_c" 1>&6 
1257-echo "configure:5495: checking for getpwnam_r with 5 args" >&5 
1258+echo "configure:5529: checking for getpwnam_r with 5 args" >&5 
1259 if eval "test \"`echo '$''{'tcl_cv_api_getpwnam_r_5'+set}'`\" = set"; then 
1260 echo $ac_n "(cached) $ac_c" 1>&6 
1261 else 
1262  
1263 cat > conftest.$ac_ext <<EOF 
1264-#line 5501 "configure" 
1265+#line 5535 "configure" 
1266 #include "confdefs.h" 
1267  
1268 #include <sys/types.h> 
1269@@ -5514,7 +5548,7 @@ int main() { 
1270  
1271 ; return 0; } 
1272 EOF 
1273-if { (eval echo configure:5518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1274+if { (eval echo configure:5552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1275 rm -rf conftest* 
1276 tcl_cv_api_getpwnam_r_5=yes 
1277 else 
1278@@ -5535,13 +5569,13 @@ EOF 
1279  
1280 else 
1281 echo $ac_n "checking for getpwnam_r with 4 args""... $ac_c" 1>&6 
1282-echo "configure:5539: checking for getpwnam_r with 4 args" >&5 
1283+echo "configure:5573: checking for getpwnam_r with 4 args" >&5 
1284 if eval "test \"`echo '$''{'tcl_cv_api_getpwnam_r_4'+set}'`\" = set"; then 
1285 echo $ac_n "(cached) $ac_c" 1>&6 
1286 else 
1287  
1288 cat > conftest.$ac_ext <<EOF 
1289-#line 5545 "configure" 
1290+#line 5579 "configure" 
1291 #include "confdefs.h" 
1292  
1293 #include <sys/types.h> 
1294@@ -5558,7 +5592,7 @@ int main() { 
1295  
1296 ; return 0; } 
1297 EOF 
1298-if { (eval echo configure:5562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1299+if { (eval echo configure:5596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1300 rm -rf conftest* 
1301 tcl_cv_api_getpwnam_r_4=yes 
1302 else 
1303@@ -5591,12 +5625,12 @@ else 
1304 fi 
1305  
1306 echo $ac_n "checking for getgrgid_r""... $ac_c" 1>&6 
1307-echo "configure:5595: checking for getgrgid_r" >&5 
1308+echo "configure:5629: checking for getgrgid_r" >&5 
1309 if eval "test \"`echo '$''{'ac_cv_func_getgrgid_r'+set}'`\" = set"; then 
1310 echo $ac_n "(cached) $ac_c" 1>&6 
1311 else 
1312 cat > conftest.$ac_ext <<EOF 
1313-#line 5600 "configure" 
1314+#line 5634 "configure" 
1315 #include "confdefs.h" 
1316 /* System header to define __stub macros and hopefully few prototypes, 
1317 which can conflict with char getgrgid_r(); below. */ 
1318@@ -5619,7 +5653,7 @@ getgrgid_r(); 
1319  
1320 ; return 0; } 
1321 EOF 
1322-if { (eval echo configure:5623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1323+if { (eval echo configure:5657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1324 rm -rf conftest* 
1325 eval "ac_cv_func_getgrgid_r=yes" 
1326 else 
1327@@ -5635,13 +5669,13 @@ if eval "test \"`echo '$ac_cv_func_'getg 
1328 echo "$ac_t""yes" 1>&6 
1329  
1330 echo $ac_n "checking for getgrgid_r with 5 args""... $ac_c" 1>&6 
1331-echo "configure:5639: checking for getgrgid_r with 5 args" >&5 
1332+echo "configure:5673: checking for getgrgid_r with 5 args" >&5 
1333 if eval "test \"`echo '$''{'tcl_cv_api_getgrgid_r_5'+set}'`\" = set"; then 
1334 echo $ac_n "(cached) $ac_c" 1>&6 
1335 else 
1336  
1337 cat > conftest.$ac_ext <<EOF 
1338-#line 5645 "configure" 
1339+#line 5679 "configure" 
1340 #include "confdefs.h" 
1341  
1342 #include <sys/types.h> 
1343@@ -5658,7 +5692,7 @@ int main() { 
1344  
1345 ; return 0; } 
1346 EOF 
1347-if { (eval echo configure:5662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1348+if { (eval echo configure:5696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1349 rm -rf conftest* 
1350 tcl_cv_api_getgrgid_r_5=yes 
1351 else 
1352@@ -5679,13 +5713,13 @@ EOF 
1353  
1354 else 
1355 echo $ac_n "checking for getgrgid_r with 4 args""... $ac_c" 1>&6 
1356-echo "configure:5683: checking for getgrgid_r with 4 args" >&5 
1357+echo "configure:5717: checking for getgrgid_r with 4 args" >&5 
1358 if eval "test \"`echo '$''{'tcl_cv_api_getgrgid_r_4'+set}'`\" = set"; then 
1359 echo $ac_n "(cached) $ac_c" 1>&6 
1360 else 
1361  
1362 cat > conftest.$ac_ext <<EOF 
1363-#line 5689 "configure" 
1364+#line 5723 "configure" 
1365 #include "confdefs.h" 
1366  
1367 #include <sys/types.h> 
1368@@ -5702,7 +5736,7 @@ int main() { 
1369  
1370 ; return 0; } 
1371 EOF 
1372-if { (eval echo configure:5706: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1373+if { (eval echo configure:5740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1374 rm -rf conftest* 
1375 tcl_cv_api_getgrgid_r_4=yes 
1376 else 
1377@@ -5735,12 +5769,12 @@ else 
1378 fi 
1379  
1380 echo $ac_n "checking for getgrnam_r""... $ac_c" 1>&6 
1381-echo "configure:5739: checking for getgrnam_r" >&5 
1382+echo "configure:5773: checking for getgrnam_r" >&5 
1383 if eval "test \"`echo '$''{'ac_cv_func_getgrnam_r'+set}'`\" = set"; then 
1384 echo $ac_n "(cached) $ac_c" 1>&6 
1385 else 
1386 cat > conftest.$ac_ext <<EOF 
1387-#line 5744 "configure" 
1388+#line 5778 "configure" 
1389 #include "confdefs.h" 
1390 /* System header to define __stub macros and hopefully few prototypes, 
1391 which can conflict with char getgrnam_r(); below. */ 
1392@@ -5763,7 +5797,7 @@ getgrnam_r(); 
1393  
1394 ; return 0; } 
1395 EOF 
1396-if { (eval echo configure:5767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1397+if { (eval echo configure:5801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1398 rm -rf conftest* 
1399 eval "ac_cv_func_getgrnam_r=yes" 
1400 else 
1401@@ -5779,13 +5813,13 @@ if eval "test \"`echo '$ac_cv_func_'getg 
1402 echo "$ac_t""yes" 1>&6 
1403  
1404 echo $ac_n "checking for getgrnam_r with 5 args""... $ac_c" 1>&6 
1405-echo "configure:5783: checking for getgrnam_r with 5 args" >&5 
1406+echo "configure:5817: checking for getgrnam_r with 5 args" >&5 
1407 if eval "test \"`echo '$''{'tcl_cv_api_getgrnam_r_5'+set}'`\" = set"; then 
1408 echo $ac_n "(cached) $ac_c" 1>&6 
1409 else 
1410  
1411 cat > conftest.$ac_ext <<EOF 
1412-#line 5789 "configure" 
1413+#line 5823 "configure" 
1414 #include "confdefs.h" 
1415  
1416 #include <sys/types.h> 
1417@@ -5802,7 +5836,7 @@ int main() { 
1418  
1419 ; return 0; } 
1420 EOF 
1421-if { (eval echo configure:5806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1422+if { (eval echo configure:5840: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1423 rm -rf conftest* 
1424 tcl_cv_api_getgrnam_r_5=yes 
1425 else 
1426@@ -5823,13 +5857,13 @@ EOF 
1427  
1428 else 
1429 echo $ac_n "checking for getgrnam_r with 4 args""... $ac_c" 1>&6 
1430-echo "configure:5827: checking for getgrnam_r with 4 args" >&5 
1431+echo "configure:5861: checking for getgrnam_r with 4 args" >&5 
1432 if eval "test \"`echo '$''{'tcl_cv_api_getgrnam_r_4'+set}'`\" = set"; then 
1433 echo $ac_n "(cached) $ac_c" 1>&6 
1434 else 
1435  
1436 cat > conftest.$ac_ext <<EOF 
1437-#line 5833 "configure" 
1438+#line 5867 "configure" 
1439 #include "confdefs.h" 
1440  
1441 #include <sys/types.h> 
1442@@ -5846,7 +5880,7 @@ int main() { 
1443  
1444 ; return 0; } 
1445 EOF 
1446-if { (eval echo configure:5850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1447+if { (eval echo configure:5884: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1448 rm -rf conftest* 
1449 tcl_cv_api_getgrnam_r_4=yes 
1450 else 
1451@@ -5906,12 +5940,12 @@ EOF 
1452  
1453 else 
1454 echo $ac_n "checking for gethostbyname_r""... $ac_c" 1>&6 
1455-echo "configure:5910: checking for gethostbyname_r" >&5 
1456+echo "configure:5944: checking for gethostbyname_r" >&5 
1457 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname_r'+set}'`\" = set"; then 
1458 echo $ac_n "(cached) $ac_c" 1>&6 
1459 else 
1460 cat > conftest.$ac_ext <<EOF 
1461-#line 5915 "configure" 
1462+#line 5949 "configure" 
1463 #include "confdefs.h" 
1464 /* System header to define __stub macros and hopefully few prototypes, 
1465 which can conflict with char gethostbyname_r(); below. */ 
1466@@ -5934,7 +5968,7 @@ gethostbyname_r(); 
1467  
1468 ; return 0; } 
1469 EOF 
1470-if { (eval echo configure:5938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1471+if { (eval echo configure:5972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1472 rm -rf conftest* 
1473 eval "ac_cv_func_gethostbyname_r=yes" 
1474 else 
1475@@ -5950,13 +5984,13 @@ if eval "test \"`echo '$ac_cv_func_'geth 
1476 echo "$ac_t""yes" 1>&6 
1477  
1478 echo $ac_n "checking for gethostbyname_r with 6 args""... $ac_c" 1>&6 
1479-echo "configure:5954: checking for gethostbyname_r with 6 args" >&5 
1480+echo "configure:5988: checking for gethostbyname_r with 6 args" >&5 
1481 if eval "test \"`echo '$''{'tcl_cv_api_gethostbyname_r_6'+set}'`\" = set"; then 
1482 echo $ac_n "(cached) $ac_c" 1>&6 
1483 else 
1484  
1485 cat > conftest.$ac_ext <<EOF 
1486-#line 5960 "configure" 
1487+#line 5994 "configure" 
1488 #include "confdefs.h" 
1489  
1490 #include <netdb.h> 
1491@@ -5973,7 +6007,7 @@ int main() { 
1492  
1493 ; return 0; } 
1494 EOF 
1495-if { (eval echo configure:5977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1496+if { (eval echo configure:6011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1497 rm -rf conftest* 
1498 tcl_cv_api_gethostbyname_r_6=yes 
1499 else 
1500@@ -5994,13 +6028,13 @@ EOF 
1501  
1502 else 
1503 echo $ac_n "checking for gethostbyname_r with 5 args""... $ac_c" 1>&6 
1504-echo "configure:5998: checking for gethostbyname_r with 5 args" >&5 
1505+echo "configure:6032: checking for gethostbyname_r with 5 args" >&5 
1506 if eval "test \"`echo '$''{'tcl_cv_api_gethostbyname_r_5'+set}'`\" = set"; then 
1507 echo $ac_n "(cached) $ac_c" 1>&6 
1508 else 
1509  
1510 cat > conftest.$ac_ext <<EOF 
1511-#line 6004 "configure" 
1512+#line 6038 "configure" 
1513 #include "confdefs.h" 
1514  
1515 #include <netdb.h> 
1516@@ -6017,7 +6051,7 @@ int main() { 
1517  
1518 ; return 0; } 
1519 EOF 
1520-if { (eval echo configure:6021: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1521+if { (eval echo configure:6055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1522 rm -rf conftest* 
1523 tcl_cv_api_gethostbyname_r_5=yes 
1524 else 
1525@@ -6038,13 +6072,13 @@ EOF 
1526  
1527 else 
1528 echo $ac_n "checking for gethostbyname_r with 3 args""... $ac_c" 1>&6 
1529-echo "configure:6042: checking for gethostbyname_r with 3 args" >&5 
1530+echo "configure:6076: checking for gethostbyname_r with 3 args" >&5 
1531 if eval "test \"`echo '$''{'tcl_cv_api_gethostbyname_r_3'+set}'`\" = set"; then 
1532 echo $ac_n "(cached) $ac_c" 1>&6 
1533 else 
1534  
1535 cat > conftest.$ac_ext <<EOF 
1536-#line 6048 "configure" 
1537+#line 6082 "configure" 
1538 #include "confdefs.h" 
1539  
1540 #include <netdb.h> 
1541@@ -6059,7 +6093,7 @@ int main() { 
1542  
1543 ; return 0; } 
1544 EOF 
1545-if { (eval echo configure:6063: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1546+if { (eval echo configure:6097: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1547 rm -rf conftest* 
1548 tcl_cv_api_gethostbyname_r_3=yes 
1549 else 
1550@@ -6093,12 +6127,12 @@ else 
1551 fi 
1552  
1553 echo $ac_n "checking for gethostbyaddr_r""... $ac_c" 1>&6 
1554-echo "configure:6097: checking for gethostbyaddr_r" >&5 
1555+echo "configure:6131: checking for gethostbyaddr_r" >&5 
1556 if eval "test \"`echo '$''{'ac_cv_func_gethostbyaddr_r'+set}'`\" = set"; then 
1557 echo $ac_n "(cached) $ac_c" 1>&6 
1558 else 
1559 cat > conftest.$ac_ext <<EOF 
1560-#line 6102 "configure" 
1561+#line 6136 "configure" 
1562 #include "confdefs.h" 
1563 /* System header to define __stub macros and hopefully few prototypes, 
1564 which can conflict with char gethostbyaddr_r(); below. */ 
1565@@ -6121,7 +6155,7 @@ gethostbyaddr_r(); 
1566  
1567 ; return 0; } 
1568 EOF 
1569-if { (eval echo configure:6125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1570+if { (eval echo configure:6159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1571 rm -rf conftest* 
1572 eval "ac_cv_func_gethostbyaddr_r=yes" 
1573 else 
1574@@ -6137,13 +6171,13 @@ if eval "test \"`echo '$ac_cv_func_'geth 
1575 echo "$ac_t""yes" 1>&6 
1576  
1577 echo $ac_n "checking for gethostbyaddr_r with 7 args""... $ac_c" 1>&6 
1578-echo "configure:6141: checking for gethostbyaddr_r with 7 args" >&5 
1579+echo "configure:6175: checking for gethostbyaddr_r with 7 args" >&5 
1580 if eval "test \"`echo '$''{'tcl_cv_api_gethostbyaddr_r_7'+set}'`\" = set"; then 
1581 echo $ac_n "(cached) $ac_c" 1>&6 
1582 else 
1583  
1584 cat > conftest.$ac_ext <<EOF 
1585-#line 6147 "configure" 
1586+#line 6181 "configure" 
1587 #include "confdefs.h" 
1588  
1589 #include <netdb.h> 
1590@@ -6163,7 +6197,7 @@ int main() { 
1591  
1592 ; return 0; } 
1593 EOF 
1594-if { (eval echo configure:6167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1595+if { (eval echo configure:6201: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1596 rm -rf conftest* 
1597 tcl_cv_api_gethostbyaddr_r_7=yes 
1598 else 
1599@@ -6184,13 +6218,13 @@ EOF 
1600  
1601 else 
1602 echo $ac_n "checking for gethostbyaddr_r with 8 args""... $ac_c" 1>&6 
1603-echo "configure:6188: checking for gethostbyaddr_r with 8 args" >&5 
1604+echo "configure:6222: checking for gethostbyaddr_r with 8 args" >&5 
1605 if eval "test \"`echo '$''{'tcl_cv_api_gethostbyaddr_r_8'+set}'`\" = set"; then 
1606 echo $ac_n "(cached) $ac_c" 1>&6 
1607 else 
1608  
1609 cat > conftest.$ac_ext <<EOF 
1610-#line 6194 "configure" 
1611+#line 6228 "configure" 
1612 #include "confdefs.h" 
1613  
1614 #include <netdb.h> 
1615@@ -6210,7 +6244,7 @@ int main() { 
1616  
1617 ; return 0; } 
1618 EOF 
1619-if { (eval echo configure:6214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1620+if { (eval echo configure:6248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1621 rm -rf conftest* 
1622 tcl_cv_api_gethostbyaddr_r_8=yes 
1623 else 
1624@@ -6256,17 +6290,17 @@ fi 
1625 do 
1626 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
1627 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
1628-echo "configure:6260: checking for $ac_hdr" >&5 
1629+echo "configure:6294: checking for $ac_hdr" >&5 
1630 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
1631 echo $ac_n "(cached) $ac_c" 1>&6 
1632 else 
1633 cat > conftest.$ac_ext <<EOF 
1634-#line 6265 "configure" 
1635+#line 6299 "configure" 
1636 #include "confdefs.h" 
1637 #include <$ac_hdr> 
1638 EOF 
1639 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
1640-{ (eval echo configure:6270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
1641+{ (eval echo configure:6304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
1642 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
1643 if test -z "$ac_err"; then 
1644 rm -rf conftest* 
1645@@ -6293,7 +6327,7 @@ fi 
1646 done 
1647  
1648 echo $ac_n "checking termios vs. termio vs. sgtty""... $ac_c" 1>&6 
1649-echo "configure:6297: checking termios vs. termio vs. sgtty" >&5 
1650+echo "configure:6331: checking termios vs. termio vs. sgtty" >&5 
1651 if eval "test \"`echo '$''{'tcl_cv_api_serial'+set}'`\" = set"; then 
1652 echo $ac_n "(cached) $ac_c" 1>&6 
1653 else 
1654@@ -6302,7 +6336,7 @@ else 
1655 tcl_cv_api_serial=no 
1656 else 
1657 cat > conftest.$ac_ext <<EOF 
1658-#line 6306 "configure" 
1659+#line 6340 "configure" 
1660 #include "confdefs.h" 
1661  
1662 #include <termios.h> 
1663@@ -6317,7 +6351,7 @@ int main() { 
1664 return 1; 
1665 } 
1666 EOF 
1667-if { (eval echo configure:6321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
1668+if { (eval echo configure:6355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
1669 then 
1670 tcl_cv_api_serial=termios 
1671 else 
1672@@ -6334,7 +6368,7 @@ fi 
1673 tcl_cv_api_serial=no 
1674 else 
1675 cat > conftest.$ac_ext <<EOF 
1676-#line 6338 "configure" 
1677+#line 6372 "configure" 
1678 #include "confdefs.h" 
1679  
1680 #include <termio.h> 
1681@@ -6348,7 +6382,7 @@ int main() { 
1682 return 1; 
1683 } 
1684 EOF 
1685-if { (eval echo configure:6352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
1686+if { (eval echo configure:6386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
1687 then 
1688 tcl_cv_api_serial=termio 
1689 else 
1690@@ -6366,7 +6400,7 @@ fi 
1691 tcl_cv_api_serial=no 
1692 else 
1693 cat > conftest.$ac_ext <<EOF 
1694-#line 6370 "configure" 
1695+#line 6404 "configure" 
1696 #include "confdefs.h" 
1697  
1698 #include <sgtty.h> 
1699@@ -6381,7 +6415,7 @@ int main() { 
1700 return 1; 
1701 } 
1702 EOF 
1703-if { (eval echo configure:6385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
1704+if { (eval echo configure:6419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
1705 then 
1706 tcl_cv_api_serial=sgtty 
1707 else 
1708@@ -6399,7 +6433,7 @@ fi 
1709 tcl_cv_api_serial=no 
1710 else 
1711 cat > conftest.$ac_ext <<EOF 
1712-#line 6403 "configure" 
1713+#line 6437 "configure" 
1714 #include "confdefs.h" 
1715  
1716 #include <termios.h> 
1717@@ -6416,7 +6450,7 @@ int main() { 
1718 return 1; 
1719 } 
1720 EOF 
1721-if { (eval echo configure:6420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
1722+if { (eval echo configure:6454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
1723 then 
1724 tcl_cv_api_serial=termios 
1725 else 
1726@@ -6434,7 +6468,7 @@ fi 
1727 tcl_cv_api_serial=no 
1728 else 
1729 cat > conftest.$ac_ext <<EOF 
1730-#line 6438 "configure" 
1731+#line 6472 "configure" 
1732 #include "confdefs.h" 
1733  
1734 #include <termio.h> 
1735@@ -6450,7 +6484,7 @@ int main() { 
1736 return 1; 
1737 } 
1738 EOF 
1739-if { (eval echo configure:6454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
1740+if { (eval echo configure:6488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
1741 then 
1742 tcl_cv_api_serial=termio 
1743 else 
1744@@ -6468,7 +6502,7 @@ fi 
1745 tcl_cv_api_serial=none 
1746 else 
1747 cat > conftest.$ac_ext <<EOF 
1748-#line 6472 "configure" 
1749+#line 6506 "configure" 
1750 #include "confdefs.h" 
1751  
1752 #include <sgtty.h> 
1753@@ -6485,7 +6519,7 @@ int main() { 
1754 return 1; 
1755 } 
1756 EOF 
1757-if { (eval echo configure:6489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
1758+if { (eval echo configure:6523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
1759 then 
1760 tcl_cv_api_serial=sgtty 
1761 else 
1762@@ -6528,13 +6562,13 @@ EOF 
1763 #-------------------------------------------------------------------- 
1764  
1765 echo $ac_n "checking for fd_set in sys/types""... $ac_c" 1>&6 
1766-echo "configure:6532: checking for fd_set in sys/types" >&5 
1767+echo "configure:6566: checking for fd_set in sys/types" >&5 
1768 if eval "test \"`echo '$''{'tcl_cv_type_fd_set'+set}'`\" = set"; then 
1769 echo $ac_n "(cached) $ac_c" 1>&6 
1770 else 
1771  
1772 cat > conftest.$ac_ext <<EOF 
1773-#line 6538 "configure" 
1774+#line 6572 "configure" 
1775 #include "confdefs.h" 
1776 #include <sys/types.h> 
1777 int main() { 
1778@@ -6541,7 +6575,7 @@ int main() { 
1779 fd_set readMask, writeMask; 
1780 ; return 0; } 
1781 EOF 
1782-if { (eval echo configure:6545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1783+if { (eval echo configure:6579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1784 rm -rf conftest* 
1785 tcl_cv_type_fd_set=yes 
1786 else 
1787@@ -6557,13 +6591,13 @@ echo "$ac_t""$tcl_cv_type_fd_set" 1>&6 
1788 tcl_ok=$tcl_cv_type_fd_set 
1789 if test $tcl_ok = no; then 
1790 echo $ac_n "checking for fd_mask in sys/select""... $ac_c" 1>&6 
1791-echo "configure:6561: checking for fd_mask in sys/select" >&5 
1792+echo "configure:6595: checking for fd_mask in sys/select" >&5 
1793 if eval "test \"`echo '$''{'tcl_cv_grep_fd_mask'+set}'`\" = set"; then 
1794 echo $ac_n "(cached) $ac_c" 1>&6 
1795 else 
1796  
1797 cat > conftest.$ac_ext <<EOF 
1798-#line 6567 "configure" 
1799+#line 6601 "configure" 
1800 #include "confdefs.h" 
1801 #include <sys/select.h> 
1802 EOF 
1803@@ -6600,12 +6634,12 @@ fi 
1804 #------------------------------------------------------------------------------ 
1805  
1806 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 
1807-echo "configure:6604: checking whether struct tm is in sys/time.h or time.h" >&5 
1808+echo "configure:6638: checking whether struct tm is in sys/time.h or time.h" >&5 
1809 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 
1810 echo $ac_n "(cached) $ac_c" 1>&6 
1811 else 
1812 cat > conftest.$ac_ext <<EOF 
1813-#line 6609 "configure" 
1814+#line 6643 "configure" 
1815 #include "confdefs.h" 
1816 #include <sys/types.h> 
1817 #include <time.h> 
1818@@ -6613,7 +6647,7 @@ int main() { 
1819 struct tm *tp; tp->tm_sec; 
1820 ; return 0; } 
1821 EOF 
1822-if { (eval echo configure:6617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1823+if { (eval echo configure:6651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1824 rm -rf conftest* 
1825 ac_cv_struct_tm=time.h 
1826 else 
1827@@ -6638,17 +6672,17 @@ fi 
1828 do 
1829 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
1830 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
1831-echo "configure:6642: checking for $ac_hdr" >&5 
1832+echo "configure:6676: checking for $ac_hdr" >&5 
1833 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
1834 echo $ac_n "(cached) $ac_c" 1>&6 
1835 else 
1836 cat > conftest.$ac_ext <<EOF 
1837-#line 6647 "configure" 
1838+#line 6681 "configure" 
1839 #include "confdefs.h" 
1840 #include <$ac_hdr> 
1841 EOF 
1842 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
1843-{ (eval echo configure:6652: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
1844+{ (eval echo configure:6686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
1845 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
1846 if test -z "$ac_err"; then 
1847 rm -rf conftest* 
1848@@ -6675,12 +6709,12 @@ fi 
1849 done 
1850  
1851 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 
1852-echo "configure:6679: checking whether time.h and sys/time.h may both be included" >&5 
1853+echo "configure:6713: checking whether time.h and sys/time.h may both be included" >&5 
1854 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 
1855 echo $ac_n "(cached) $ac_c" 1>&6 
1856 else 
1857 cat > conftest.$ac_ext <<EOF 
1858-#line 6684 "configure" 
1859+#line 6718 "configure" 
1860 #include "confdefs.h" 
1861 #include <sys/types.h> 
1862 #include <sys/time.h> 
1863@@ -6689,7 +6723,7 @@ int main() { 
1864 struct tm *tp; 
1865 ; return 0; } 
1866 EOF 
1867-if { (eval echo configure:6693: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1868+if { (eval echo configure:6727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1869 rm -rf conftest* 
1870 ac_cv_header_time=yes 
1871 else 
1872@@ -6710,12 +6744,12 @@ EOF 
1873 fi 
1874  
1875 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 
1876-echo "configure:6714: checking for tm_zone in struct tm" >&5 
1877+echo "configure:6748: checking for tm_zone in struct tm" >&5 
1878 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then 
1879 echo $ac_n "(cached) $ac_c" 1>&6 
1880 else 
1881 cat > conftest.$ac_ext <<EOF 
1882-#line 6719 "configure" 
1883+#line 6753 "configure" 
1884 #include "confdefs.h" 
1885 #include <sys/types.h> 
1886 #include <$ac_cv_struct_tm> 
1887@@ -6723,7 +6757,7 @@ int main() { 
1888 struct tm tm; tm.tm_zone; 
1889 ; return 0; } 
1890 EOF 
1891-if { (eval echo configure:6727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1892+if { (eval echo configure:6761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1893 rm -rf conftest* 
1894 ac_cv_struct_tm_zone=yes 
1895 else 
1896@@ -6743,12 +6777,12 @@ EOF 
1897  
1898 else 
1899 echo $ac_n "checking for tzname""... $ac_c" 1>&6 
1900-echo "configure:6747: checking for tzname" >&5 
1901+echo "configure:6781: checking for tzname" >&5 
1902 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then 
1903 echo $ac_n "(cached) $ac_c" 1>&6 
1904 else 
1905 cat > conftest.$ac_ext <<EOF 
1906-#line 6752 "configure" 
1907+#line 6786 "configure" 
1908 #include "confdefs.h" 
1909 #include <time.h> 
1910 #ifndef tzname /* For SGI. */ 
1911@@ -6758,7 +6792,7 @@ int main() { 
1912 atoi(*tzname); 
1913 ; return 0; } 
1914 EOF 
1915-if { (eval echo configure:6762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1916+if { (eval echo configure:6796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1917 rm -rf conftest* 
1918 ac_cv_var_tzname=yes 
1919 else 
1920@@ -6783,12 +6817,12 @@ fi 
1921 for ac_func in gmtime_r localtime_r 
1922 do 
1923 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 
1924-echo "configure:6787: checking for $ac_func" >&5 
1925+echo "configure:6821: checking for $ac_func" >&5 
1926 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 
1927 echo $ac_n "(cached) $ac_c" 1>&6 
1928 else 
1929 cat > conftest.$ac_ext <<EOF 
1930-#line 6792 "configure" 
1931+#line 6826 "configure" 
1932 #include "confdefs.h" 
1933 /* System header to define __stub macros and hopefully few prototypes, 
1934 which can conflict with char $ac_func(); below. */ 
1935@@ -6811,7 +6845,7 @@ $ac_func(); 
1936  
1937 ; return 0; } 
1938 EOF 
1939-if { (eval echo configure:6815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1940+if { (eval echo configure:6849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
1941 rm -rf conftest* 
1942 eval "ac_cv_func_$ac_func=yes" 
1943 else 
1944@@ -6837,13 +6871,13 @@ done 
1945  
1946  
1947 echo $ac_n "checking tm_tzadj in struct tm""... $ac_c" 1>&6 
1948-echo "configure:6841: checking tm_tzadj in struct tm" >&5 
1949+echo "configure:6875: checking tm_tzadj in struct tm" >&5 
1950 if eval "test \"`echo '$''{'tcl_cv_member_tm_tzadj'+set}'`\" = set"; then 
1951 echo $ac_n "(cached) $ac_c" 1>&6 
1952 else 
1953  
1954 cat > conftest.$ac_ext <<EOF 
1955-#line 6847 "configure" 
1956+#line 6881 "configure" 
1957 #include "confdefs.h" 
1958 #include <time.h> 
1959 int main() { 
1960@@ -6850,7 +6884,7 @@ int main() { 
1961 struct tm tm; tm.tm_tzadj; 
1962 ; return 0; } 
1963 EOF 
1964-if { (eval echo configure:6854: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1965+if { (eval echo configure:6888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1966 rm -rf conftest* 
1967 tcl_cv_member_tm_tzadj=yes 
1968 else 
1969@@ -6871,13 +6905,13 @@ EOF 
1970 fi 
1971  
1972 echo $ac_n "checking tm_gmtoff in struct tm""... $ac_c" 1>&6 
1973-echo "configure:6875: checking tm_gmtoff in struct tm" >&5 
1974+echo "configure:6909: checking tm_gmtoff in struct tm" >&5 
1975 if eval "test \"`echo '$''{'tcl_cv_member_tm_gmtoff'+set}'`\" = set"; then 
1976 echo $ac_n "(cached) $ac_c" 1>&6 
1977 else 
1978  
1979 cat > conftest.$ac_ext <<EOF 
1980-#line 6881 "configure" 
1981+#line 6915 "configure" 
1982 #include "confdefs.h" 
1983 #include <time.h> 
1984 int main() { 
1985@@ -6884,7 +6918,7 @@ int main() { 
1986 struct tm tm; tm.tm_gmtoff; 
1987 ; return 0; } 
1988 EOF 
1989-if { (eval echo configure:6888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1990+if { (eval echo configure:6922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
1991 rm -rf conftest* 
1992 tcl_cv_member_tm_gmtoff=yes 
1993 else 
1994@@ -6909,13 +6943,13 @@ EOF 
1995 # (like convex) have timezone functions, etc. 
1996 # 
1997 echo $ac_n "checking long timezone variable""... $ac_c" 1>&6 
1998-echo "configure:6913: checking long timezone variable" >&5 
1999+echo "configure:6947: checking long timezone variable" >&5 
2000 if eval "test \"`echo '$''{'tcl_cv_timezone_long'+set}'`\" = set"; then 
2001 echo $ac_n "(cached) $ac_c" 1>&6 
2002 else 
2003  
2004 cat > conftest.$ac_ext <<EOF 
2005-#line 6919 "configure" 
2006+#line 6953 "configure" 
2007 #include "confdefs.h" 
2008 #include <time.h> 
2009 int main() { 
2010@@ -6924,7 +6958,7 @@ extern long timezone; 
2011 exit (0); 
2012 ; return 0; } 
2013 EOF 
2014-if { (eval echo configure:6928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
2015+if { (eval echo configure:6962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
2016 rm -rf conftest* 
2017 tcl_cv_timezone_long=yes 
2018 else 
2019@@ -6947,13 +6981,13 @@ EOF 
2020 # On some systems (eg IRIX 6.2), timezone is a time_t and not a long. 
2021 # 
2022 echo $ac_n "checking time_t timezone variable""... $ac_c" 1>&6 
2023-echo "configure:6951: checking time_t timezone variable" >&5 
2024+echo "configure:6985: checking time_t timezone variable" >&5 
2025 if eval "test \"`echo '$''{'tcl_cv_timezone_time'+set}'`\" = set"; then 
2026 echo $ac_n "(cached) $ac_c" 1>&6 
2027 else 
2028  
2029 cat > conftest.$ac_ext <<EOF 
2030-#line 6957 "configure" 
2031+#line 6991 "configure" 
2032 #include "confdefs.h" 
2033 #include <time.h> 
2034 int main() { 
2035@@ -6962,7 +6996,7 @@ extern time_t timezone; 
2036 exit (0); 
2037 ; return 0; } 
2038 EOF 
2039-if { (eval echo configure:6966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
2040+if { (eval echo configure:7000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
2041 rm -rf conftest* 
2042 tcl_cv_timezone_time=yes 
2043 else 
2044@@ -6989,12 +7023,12 @@ EOF 
2045 # in struct stat. But we might be able to use fstatfs instead. 
2046 #-------------------------------------------------------------------- 
2047 echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6 
2048-echo "configure:6993: checking for st_blksize in struct stat" >&5 
2049+echo "configure:7027: checking for st_blksize in struct stat" >&5 
2050 if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then 
2051 echo $ac_n "(cached) $ac_c" 1>&6 
2052 else 
2053 cat > conftest.$ac_ext <<EOF 
2054-#line 6998 "configure" 
2055+#line 7032 "configure" 
2056 #include "confdefs.h" 
2057 #include <sys/types.h> 
2058 #include <sys/stat.h> 
2059@@ -7002,7 +7036,7 @@ int main() { 
2060 struct stat s; s.st_blksize; 
2061 ; return 0; } 
2062 EOF 
2063-if { (eval echo configure:7006: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
2064+if { (eval echo configure:7040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
2065 rm -rf conftest* 
2066 ac_cv_struct_st_blksize=yes 
2067 else 
2068@@ -7023,12 +7057,12 @@ EOF 
2069 fi 
2070  
2071 echo $ac_n "checking for fstatfs""... $ac_c" 1>&6 
2072-echo "configure:7027: checking for fstatfs" >&5 
2073+echo "configure:7061: checking for fstatfs" >&5 
2074 if eval "test \"`echo '$''{'ac_cv_func_fstatfs'+set}'`\" = set"; then 
2075 echo $ac_n "(cached) $ac_c" 1>&6 
2076 else 
2077 cat > conftest.$ac_ext <<EOF 
2078-#line 7032 "configure" 
2079+#line 7066 "configure" 
2080 #include "confdefs.h" 
2081 /* System header to define __stub macros and hopefully few prototypes, 
2082 which can conflict with char fstatfs(); below. */ 
2083@@ -7051,7 +7085,7 @@ fstatfs(); 
2084  
2085 ; return 0; } 
2086 EOF 
2087-if { (eval echo configure:7055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2088+if { (eval echo configure:7089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2089 rm -rf conftest* 
2090 eval "ac_cv_func_fstatfs=yes" 
2091 else 
2092@@ -7080,7 +7114,7 @@ fi 
2093 # data, this checks it and add memcmp.o to LIBOBJS if needed 
2094 #-------------------------------------------------------------------- 
2095 echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6 
2096-echo "configure:7084: checking for 8-bit clean memcmp" >&5 
2097+echo "configure:7118: checking for 8-bit clean memcmp" >&5 
2098 if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then 
2099 echo $ac_n "(cached) $ac_c" 1>&6 
2100 else 
2101@@ -7088,7 +7122,7 @@ else 
2102 ac_cv_func_memcmp_clean=no 
2103 else 
2104 cat > conftest.$ac_ext <<EOF 
2105-#line 7092 "configure" 
2106+#line 7126 "configure" 
2107 #include "confdefs.h" 
2108  
2109 main() 
2110@@ -7098,7 +7132,7 @@ main() 
2111 } 
2112  
2113 EOF 
2114-if { (eval echo configure:7102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
2115+if { (eval echo configure:7136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
2116 then 
2117 ac_cv_func_memcmp_clean=yes 
2118 else 
2119@@ -7122,12 +7156,12 @@ test $ac_cv_func_memcmp_clean = no && LI 
2120 # {The replacement define is in compat/string.h} 
2121 #-------------------------------------------------------------------- 
2122 echo $ac_n "checking for memmove""... $ac_c" 1>&6 
2123-echo "configure:7126: checking for memmove" >&5 
2124+echo "configure:7160: checking for memmove" >&5 
2125 if eval "test \"`echo '$''{'ac_cv_func_memmove'+set}'`\" = set"; then 
2126 echo $ac_n "(cached) $ac_c" 1>&6 
2127 else 
2128 cat > conftest.$ac_ext <<EOF 
2129-#line 7131 "configure" 
2130+#line 7165 "configure" 
2131 #include "confdefs.h" 
2132 /* System header to define __stub macros and hopefully few prototypes, 
2133 which can conflict with char memmove(); below. */ 
2134@@ -7150,7 +7184,7 @@ memmove(); 
2135  
2136 ; return 0; } 
2137 EOF 
2138-if { (eval echo configure:7154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2139+if { (eval echo configure:7188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2140 rm -rf conftest* 
2141 eval "ac_cv_func_memmove=yes" 
2142 else 
2143@@ -7183,7 +7217,7 @@ fi 
2144 #-------------------------------------------------------------------- 
2145 if test "x${ac_cv_func_strstr}" = "xyes"; then 
2146 echo $ac_n "checking proper strstr implementation""... $ac_c" 1>&6 
2147-echo "configure:7187: checking proper strstr implementation" >&5 
2148+echo "configure:7221: checking proper strstr implementation" >&5 
2149 if eval "test \"`echo '$''{'tcl_cv_strstr_unbroken'+set}'`\" = set"; then 
2150 echo $ac_n "(cached) $ac_c" 1>&6 
2151 else 
2152@@ -7192,7 +7226,7 @@ else 
2153 tcl_cv_strstr_unbroken=broken 
2154 else 
2155 cat > conftest.$ac_ext <<EOF 
2156-#line 7196 "configure" 
2157+#line 7230 "configure" 
2158 #include "confdefs.h" 
2159  
2160 extern int strstr(); 
2161@@ -7201,7 +7235,7 @@ else 
2162 exit(strstr("\0test", "test") ? 1 : 0); 
2163 } 
2164 EOF 
2165-if { (eval echo configure:7205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
2166+if { (eval echo configure:7239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
2167 then 
2168 tcl_cv_strstr_unbroken=ok 
2169 else 
2170@@ -7228,12 +7262,12 @@ fi 
2171 #-------------------------------------------------------------------- 
2172  
2173 echo $ac_n "checking for strtoul""... $ac_c" 1>&6 
2174-echo "configure:7232: checking for strtoul" >&5 
2175+echo "configure:7266: checking for strtoul" >&5 
2176 if eval "test \"`echo '$''{'ac_cv_func_strtoul'+set}'`\" = set"; then 
2177 echo $ac_n "(cached) $ac_c" 1>&6 
2178 else 
2179 cat > conftest.$ac_ext <<EOF 
2180-#line 7237 "configure" 
2181+#line 7271 "configure" 
2182 #include "confdefs.h" 
2183 /* System header to define __stub macros and hopefully few prototypes, 
2184 which can conflict with char strtoul(); below. */ 
2185@@ -7256,7 +7290,7 @@ strtoul(); 
2186  
2187 ; return 0; } 
2188 EOF 
2189-if { (eval echo configure:7260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2190+if { (eval echo configure:7294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2191 rm -rf conftest* 
2192 eval "ac_cv_func_strtoul=yes" 
2193 else 
2194@@ -7278,7 +7312,7 @@ fi 
2195  
2196 if test $tcl_ok = 1; then 
2197 echo $ac_n "checking proper strtoul implementation""... $ac_c" 1>&6 
2198-echo "configure:7282: checking proper strtoul implementation" >&5 
2199+echo "configure:7316: checking proper strtoul implementation" >&5 
2200 if eval "test \"`echo '$''{'tcl_cv_strtoul_unbroken'+set}'`\" = set"; then 
2201 echo $ac_n "(cached) $ac_c" 1>&6 
2202 else 
2203@@ -7287,7 +7321,7 @@ else 
2204 tcl_cv_strtoul_unbroken=broken 
2205 else 
2206 cat > conftest.$ac_ext <<EOF 
2207-#line 7291 "configure" 
2208+#line 7325 "configure" 
2209 #include "confdefs.h" 
2210  
2211 extern int strtoul(); 
2212@@ -7303,7 +7337,7 @@ else 
2213 exit(0); 
2214 } 
2215 EOF 
2216-if { (eval echo configure:7307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
2217+if { (eval echo configure:7341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
2218 then 
2219 tcl_cv_strtoul_unbroken=ok  
2220 else 
2221@@ -7332,12 +7366,12 @@ fi 
2222 #-------------------------------------------------------------------- 
2223  
2224 echo $ac_n "checking for strtod""... $ac_c" 1>&6 
2225-echo "configure:7336: checking for strtod" >&5 
2226+echo "configure:7370: checking for strtod" >&5 
2227 if eval "test \"`echo '$''{'ac_cv_func_strtod'+set}'`\" = set"; then 
2228 echo $ac_n "(cached) $ac_c" 1>&6 
2229 else 
2230 cat > conftest.$ac_ext <<EOF 
2231-#line 7341 "configure" 
2232+#line 7375 "configure" 
2233 #include "confdefs.h" 
2234 /* System header to define __stub macros and hopefully few prototypes, 
2235 which can conflict with char strtod(); below. */ 
2236@@ -7360,7 +7394,7 @@ strtod(); 
2237  
2238 ; return 0; } 
2239 EOF 
2240-if { (eval echo configure:7364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2241+if { (eval echo configure:7398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2242 rm -rf conftest* 
2243 eval "ac_cv_func_strtod=yes" 
2244 else 
2245@@ -7382,7 +7416,7 @@ fi 
2246  
2247 if test $tcl_ok = 1; then 
2248 echo $ac_n "checking proper strtod implementation""... $ac_c" 1>&6 
2249-echo "configure:7386: checking proper strtod implementation" >&5 
2250+echo "configure:7420: checking proper strtod implementation" >&5 
2251 if eval "test \"`echo '$''{'tcl_cv_strtod_unbroken'+set}'`\" = set"; then 
2252 echo $ac_n "(cached) $ac_c" 1>&6 
2253 else 
2254@@ -7391,7 +7425,7 @@ else 
2255 tcl_cv_strtod_unbroken=broken 
2256 else 
2257 cat > conftest.$ac_ext <<EOF 
2258-#line 7395 "configure" 
2259+#line 7429 "configure" 
2260 #include "confdefs.h" 
2261  
2262 extern double strtod(); 
2263@@ -7407,7 +7441,7 @@ else 
2264 exit(0); 
2265 } 
2266 EOF 
2267-if { (eval echo configure:7411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
2268+if { (eval echo configure:7445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
2269 then 
2270 tcl_cv_strtod_unbroken=ok  
2271 else 
2272@@ -7439,12 +7473,12 @@ fi 
2273  
2274  
2275 echo $ac_n "checking for strtod""... $ac_c" 1>&6 
2276-echo "configure:7443: checking for strtod" >&5 
2277+echo "configure:7477: checking for strtod" >&5 
2278 if eval "test \"`echo '$''{'ac_cv_func_strtod'+set}'`\" = set"; then 
2279 echo $ac_n "(cached) $ac_c" 1>&6 
2280 else 
2281 cat > conftest.$ac_ext <<EOF 
2282-#line 7448 "configure" 
2283+#line 7482 "configure" 
2284 #include "confdefs.h" 
2285 /* System header to define __stub macros and hopefully few prototypes, 
2286 which can conflict with char strtod(); below. */ 
2287@@ -7467,7 +7501,7 @@ strtod(); 
2288  
2289 ; return 0; } 
2290 EOF 
2291-if { (eval echo configure:7471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2292+if { (eval echo configure:7505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2293 rm -rf conftest* 
2294 eval "ac_cv_func_strtod=yes" 
2295 else 
2296@@ -7489,7 +7523,7 @@ fi 
2297  
2298 if test "$tcl_strtod" = 1; then 
2299 echo $ac_n "checking for Solaris2.4/Tru64 strtod bugs""... $ac_c" 1>&6 
2300-echo "configure:7493: checking for Solaris2.4/Tru64 strtod bugs" >&5 
2301+echo "configure:7527: checking for Solaris2.4/Tru64 strtod bugs" >&5 
2302 if eval "test \"`echo '$''{'tcl_cv_strtod_buggy'+set}'`\" = set"; then 
2303 echo $ac_n "(cached) $ac_c" 1>&6 
2304 else 
2305@@ -7498,7 +7532,7 @@ else 
2306 tcl_cv_strtod_buggy=buggy 
2307 else 
2308 cat > conftest.$ac_ext <<EOF 
2309-#line 7502 "configure" 
2310+#line 7536 "configure" 
2311 #include "confdefs.h" 
2312  
2313 extern double strtod(); 
2314@@ -7521,7 +7555,7 @@ else 
2315 exit(0); 
2316 } 
2317 EOF 
2318-if { (eval echo configure:7525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
2319+if { (eval echo configure:7559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
2320 then 
2321 tcl_cv_strtod_buggy=ok 
2322 else 
2323@@ -7552,12 +7586,12 @@ EOF 
2324 #-------------------------------------------------------------------- 
2325  
2326 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 
2327-echo "configure:7556: checking for ANSI C header files" >&5 
2328+echo "configure:7590: checking for ANSI C header files" >&5 
2329 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 
2330 echo $ac_n "(cached) $ac_c" 1>&6 
2331 else 
2332 cat > conftest.$ac_ext <<EOF 
2333-#line 7561 "configure" 
2334+#line 7595 "configure" 
2335 #include "confdefs.h" 
2336 #include <stdlib.h> 
2337 #include <stdarg.h> 
2338@@ -7565,7 +7599,7 @@ else 
2339 #include <float.h> 
2340 EOF 
2341 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
2342-{ (eval echo configure:7569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
2343+{ (eval echo configure:7603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
2344 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
2345 if test -z "$ac_err"; then 
2346 rm -rf conftest* 
2347@@ -7582,7 +7616,7 @@ rm -f conftest* 
2348 if test $ac_cv_header_stdc = yes; then 
2349 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 
2350 cat > conftest.$ac_ext <<EOF 
2351-#line 7586 "configure" 
2352+#line 7620 "configure" 
2353 #include "confdefs.h" 
2354 #include <string.h> 
2355 EOF 
2356@@ -7600,7 +7634,7 @@ fi 
2357 if test $ac_cv_header_stdc = yes; then 
2358 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 
2359 cat > conftest.$ac_ext <<EOF 
2360-#line 7604 "configure" 
2361+#line 7638 "configure" 
2362 #include "confdefs.h" 
2363 #include <stdlib.h> 
2364 EOF 
2365@@ -7621,7 +7655,7 @@ if test "$cross_compiling" = yes; then 
2366 : 
2367 else 
2368 cat > conftest.$ac_ext <<EOF 
2369-#line 7625 "configure" 
2370+#line 7659 "configure" 
2371 #include "confdefs.h" 
2372 #include <ctype.h> 
2373 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 
2374@@ -7632,7 +7666,7 @@ if (XOR (islower (i), ISLOWER (i)) || to 
2375 exit (0); } 
2376  
2377 EOF 
2378-if { (eval echo configure:7636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
2379+if { (eval echo configure:7670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
2380 then 
2381 : 
2382 else 
2383@@ -7656,12 +7690,12 @@ EOF 
2384 fi 
2385  
2386 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 
2387-echo "configure:7660: checking for mode_t" >&5 
2388+echo "configure:7694: checking for mode_t" >&5 
2389 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then 
2390 echo $ac_n "(cached) $ac_c" 1>&6 
2391 else 
2392 cat > conftest.$ac_ext <<EOF 
2393-#line 7665 "configure" 
2394+#line 7699 "configure" 
2395 #include "confdefs.h" 
2396 #include <sys/types.h> 
2397 #if STDC_HEADERS 
2398@@ -7689,12 +7723,12 @@ EOF 
2399 fi 
2400  
2401 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 
2402-echo "configure:7693: checking for pid_t" >&5 
2403+echo "configure:7727: checking for pid_t" >&5 
2404 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then 
2405 echo $ac_n "(cached) $ac_c" 1>&6 
2406 else 
2407 cat > conftest.$ac_ext <<EOF 
2408-#line 7698 "configure" 
2409+#line 7732 "configure" 
2410 #include "confdefs.h" 
2411 #include <sys/types.h> 
2412 #if STDC_HEADERS 
2413@@ -7722,12 +7756,12 @@ EOF 
2414 fi 
2415  
2416 echo $ac_n "checking for size_t""... $ac_c" 1>&6 
2417-echo "configure:7726: checking for size_t" >&5 
2418+echo "configure:7760: checking for size_t" >&5 
2419 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 
2420 echo $ac_n "(cached) $ac_c" 1>&6 
2421 else 
2422 cat > conftest.$ac_ext <<EOF 
2423-#line 7731 "configure" 
2424+#line 7765 "configure" 
2425 #include "confdefs.h" 
2426 #include <sys/types.h> 
2427 #if STDC_HEADERS 
2428@@ -7755,12 +7789,12 @@ EOF 
2429 fi 
2430  
2431 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 
2432-echo "configure:7759: checking for uid_t in sys/types.h" >&5 
2433+echo "configure:7793: checking for uid_t in sys/types.h" >&5 
2434 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then 
2435 echo $ac_n "(cached) $ac_c" 1>&6 
2436 else 
2437 cat > conftest.$ac_ext <<EOF 
2438-#line 7764 "configure" 
2439+#line 7798 "configure" 
2440 #include "confdefs.h" 
2441 #include <sys/types.h> 
2442 EOF 
2443@@ -7790,13 +7824,13 @@ fi 
2444  
2445  
2446 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 
2447-echo "configure:7794: checking for socklen_t" >&5 
2448+echo "configure:7828: checking for socklen_t" >&5 
2449 if eval "test \"`echo '$''{'ac_cv_type_socklen_t'+set}'`\" = set"; then 
2450 echo $ac_n "(cached) $ac_c" 1>&6 
2451 else 
2452  
2453 cat > conftest.$ac_ext <<EOF 
2454-#line 7800 "configure" 
2455+#line 7834 "configure" 
2456 #include "confdefs.h" 
2457  
2458 #include <sys/types.h> 
2459@@ -7835,12 +7869,12 @@ fi 
2460 #-------------------------------------------------------------------- 
2461  
2462 echo $ac_n "checking for opendir""... $ac_c" 1>&6 
2463-echo "configure:7839: checking for opendir" >&5 
2464+echo "configure:7873: checking for opendir" >&5 
2465 if eval "test \"`echo '$''{'ac_cv_func_opendir'+set}'`\" = set"; then 
2466 echo $ac_n "(cached) $ac_c" 1>&6 
2467 else 
2468 cat > conftest.$ac_ext <<EOF 
2469-#line 7844 "configure" 
2470+#line 7878 "configure" 
2471 #include "confdefs.h" 
2472 /* System header to define __stub macros and hopefully few prototypes, 
2473 which can conflict with char opendir(); below. */ 
2474@@ -7863,7 +7897,7 @@ opendir(); 
2475  
2476 ; return 0; } 
2477 EOF 
2478-if { (eval echo configure:7867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2479+if { (eval echo configure:7901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2480 rm -rf conftest* 
2481 eval "ac_cv_func_opendir=yes" 
2482 else 
2483@@ -7896,13 +7930,13 @@ fi 
2484 #-------------------------------------------------------------------- 
2485  
2486 echo $ac_n "checking union wait""... $ac_c" 1>&6 
2487-echo "configure:7900: checking union wait" >&5 
2488+echo "configure:7934: checking union wait" >&5 
2489 if eval "test \"`echo '$''{'tcl_cv_union_wait'+set}'`\" = set"; then 
2490 echo $ac_n "(cached) $ac_c" 1>&6 
2491 else 
2492  
2493 cat > conftest.$ac_ext <<EOF 
2494-#line 7906 "configure" 
2495+#line 7940 "configure" 
2496 #include "confdefs.h" 
2497 #include <sys/types.h>  
2498 #include <sys/wait.h> 
2499@@ -7914,7 +7948,7 @@ WIFEXITED(x); /* Generates compiler err 
2500  
2501 ; return 0; } 
2502 EOF 
2503-if { (eval echo configure:7918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2504+if { (eval echo configure:7952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2505 rm -rf conftest* 
2506 tcl_cv_union_wait=yes 
2507 else 
2508@@ -7941,12 +7975,12 @@ fi 
2509 #-------------------------------------------------------------------- 
2510  
2511 echo $ac_n "checking for strncasecmp""... $ac_c" 1>&6 
2512-echo "configure:7945: checking for strncasecmp" >&5 
2513+echo "configure:7979: checking for strncasecmp" >&5 
2514 if eval "test \"`echo '$''{'ac_cv_func_strncasecmp'+set}'`\" = set"; then 
2515 echo $ac_n "(cached) $ac_c" 1>&6 
2516 else 
2517 cat > conftest.$ac_ext <<EOF 
2518-#line 7950 "configure" 
2519+#line 7984 "configure" 
2520 #include "confdefs.h" 
2521 /* System header to define __stub macros and hopefully few prototypes, 
2522 which can conflict with char strncasecmp(); below. */ 
2523@@ -7969,7 +8003,7 @@ strncasecmp(); 
2524  
2525 ; return 0; } 
2526 EOF 
2527-if { (eval echo configure:7973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2528+if { (eval echo configure:8007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2529 rm -rf conftest* 
2530 eval "ac_cv_func_strncasecmp=yes" 
2531 else 
2532@@ -7991,7 +8025,7 @@ fi 
2533  
2534 if test "$tcl_ok" = 0; then 
2535 echo $ac_n "checking for strncasecmp in -lsocket""... $ac_c" 1>&6 
2536-echo "configure:7995: checking for strncasecmp in -lsocket" >&5 
2537+echo "configure:8029: checking for strncasecmp in -lsocket" >&5 
2538 ac_lib_var=`echo socket'_'strncasecmp | sed 'y%./+-%__p_%'` 
2539 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
2540 echo $ac_n "(cached) $ac_c" 1>&6 
2541@@ -7999,7 +8033,7 @@ else 
2542 ac_save_LIBS="$LIBS" 
2543 LIBS="-lsocket $LIBS" 
2544 cat > conftest.$ac_ext <<EOF 
2545-#line 8003 "configure" 
2546+#line 8037 "configure" 
2547 #include "confdefs.h" 
2548 /* Override any gcc2 internal prototype to avoid an error. */ 
2549 /* We use char because int might match the return type of a gcc2 
2550@@ -8010,7 +8044,7 @@ int main() { 
2551 strncasecmp() 
2552 ; return 0; } 
2553 EOF 
2554-if { (eval echo configure:8014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2555+if { (eval echo configure:8048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2556 rm -rf conftest* 
2557 eval "ac_cv_lib_$ac_lib_var=yes" 
2558 else 
2559@@ -8034,7 +8068,7 @@ fi 
2560 fi 
2561 if test "$tcl_ok" = 0; then 
2562 echo $ac_n "checking for strncasecmp in -linet""... $ac_c" 1>&6 
2563-echo "configure:8038: checking for strncasecmp in -linet" >&5 
2564+echo "configure:8072: checking for strncasecmp in -linet" >&5 
2565 ac_lib_var=`echo inet'_'strncasecmp | sed 'y%./+-%__p_%'` 
2566 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
2567 echo $ac_n "(cached) $ac_c" 1>&6 
2568@@ -8042,7 +8076,7 @@ else 
2569 ac_save_LIBS="$LIBS" 
2570 LIBS="-linet $LIBS" 
2571 cat > conftest.$ac_ext <<EOF 
2572-#line 8046 "configure" 
2573+#line 8080 "configure" 
2574 #include "confdefs.h" 
2575 /* Override any gcc2 internal prototype to avoid an error. */ 
2576 /* We use char because int might match the return type of a gcc2 
2577@@ -8053,7 +8087,7 @@ int main() { 
2578 strncasecmp() 
2579 ; return 0; } 
2580 EOF 
2581-if { (eval echo configure:8057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2582+if { (eval echo configure:8091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2583 rm -rf conftest* 
2584 eval "ac_cv_lib_$ac_lib_var=yes" 
2585 else 
2586@@ -8091,12 +8125,12 @@ fi 
2587 #-------------------------------------------------------------------- 
2588  
2589 echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 
2590-echo "configure:8095: checking for BSDgettimeofday" >&5 
2591+echo "configure:8129: checking for BSDgettimeofday" >&5 
2592 if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then 
2593 echo $ac_n "(cached) $ac_c" 1>&6 
2594 else 
2595 cat > conftest.$ac_ext <<EOF 
2596-#line 8100 "configure" 
2597+#line 8134 "configure" 
2598 #include "confdefs.h" 
2599 /* System header to define __stub macros and hopefully few prototypes, 
2600 which can conflict with char BSDgettimeofday(); below. */ 
2601@@ -8119,7 +8153,7 @@ BSDgettimeofday(); 
2602  
2603 ; return 0; } 
2604 EOF 
2605-if { (eval echo configure:8123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2606+if { (eval echo configure:8157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2607 rm -rf conftest* 
2608 eval "ac_cv_func_BSDgettimeofday=yes" 
2609 else 
2610@@ -8141,12 +8175,12 @@ else 
2611 echo "$ac_t""no" 1>&6 
2612  
2613 echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 
2614-echo "configure:8145: checking for gettimeofday" >&5 
2615+echo "configure:8179: checking for gettimeofday" >&5 
2616 if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then 
2617 echo $ac_n "(cached) $ac_c" 1>&6 
2618 else 
2619 cat > conftest.$ac_ext <<EOF 
2620-#line 8150 "configure" 
2621+#line 8184 "configure" 
2622 #include "confdefs.h" 
2623 /* System header to define __stub macros and hopefully few prototypes, 
2624 which can conflict with char gettimeofday(); below. */ 
2625@@ -8169,7 +8203,7 @@ gettimeofday(); 
2626  
2627 ; return 0; } 
2628 EOF 
2629-if { (eval echo configure:8173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2630+if { (eval echo configure:8207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2631 rm -rf conftest* 
2632 eval "ac_cv_func_gettimeofday=yes" 
2633 else 
2634@@ -8196,13 +8230,13 @@ fi 
2635 fi 
2636  
2637 echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 
2638-echo "configure:8200: checking for gettimeofday declaration" >&5 
2639+echo "configure:8234: checking for gettimeofday declaration" >&5 
2640 if eval "test \"`echo '$''{'tcl_cv_grep_gettimeofday'+set}'`\" = set"; then 
2641 echo $ac_n "(cached) $ac_c" 1>&6 
2642 else 
2643  
2644 cat > conftest.$ac_ext <<EOF 
2645-#line 8206 "configure" 
2646+#line 8240 "configure" 
2647 #include "confdefs.h" 
2648 #include <sys/time.h> 
2649 EOF 
2650@@ -8233,7 +8267,7 @@ fi 
2651 #-------------------------------------------------------------------- 
2652  
2653 echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&6 
2654-echo "configure:8237: checking whether char is unsigned" >&5 
2655+echo "configure:8271: checking whether char is unsigned" >&5 
2656 if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then 
2657 echo $ac_n "(cached) $ac_c" 1>&6 
2658 else 
2659@@ -8240,7 +8274,7 @@ else 
2660 if test "$GCC" = yes; then 
2661 # GCC predefines this symbol on systems where it applies. 
2662 cat > conftest.$ac_ext <<EOF 
2663-#line 8244 "configure" 
2664+#line 8278 "configure" 
2665 #include "confdefs.h" 
2666 #ifdef __CHAR_UNSIGNED__ 
2667 yes 
2668@@ -8262,7 +8296,7 @@ if test "$cross_compiling" = yes; then 
2669 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } 
2670 else 
2671 cat > conftest.$ac_ext <<EOF 
2672-#line 8266 "configure" 
2673+#line 8300 "configure" 
2674 #include "confdefs.h" 
2675 /* volatile prevents gcc2 from optimizing the test away on sparcs. */ 
2676 #if !defined(__STDC__) || __STDC__ != 1 
2677@@ -8272,7 +8306,7 @@ main() { 
2678 volatile char c = 255; exit(c < 0); 
2679 } 
2680 EOF 
2681-if { (eval echo configure:8276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
2682+if { (eval echo configure:8310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
2683 then 
2684 ac_cv_c_char_unsigned=yes 
2685 else 
2686@@ -8296,13 +8330,13 @@ EOF 
2687 fi 
2688  
2689 echo $ac_n "checking signed char declarations""... $ac_c" 1>&6 
2690-echo "configure:8300: checking signed char declarations" >&5 
2691+echo "configure:8334: checking signed char declarations" >&5 
2692 if eval "test \"`echo '$''{'tcl_cv_char_signed'+set}'`\" = set"; then 
2693 echo $ac_n "(cached) $ac_c" 1>&6 
2694 else 
2695  
2696 cat > conftest.$ac_ext <<EOF 
2697-#line 8306 "configure" 
2698+#line 8340 "configure" 
2699 #include "confdefs.h" 
2700  
2701 int main() { 
2702@@ -8312,7 +8346,7 @@ int main() { 
2703  
2704 ; return 0; } 
2705 EOF 
2706-if { (eval echo configure:8316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
2707+if { (eval echo configure:8350: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
2708 rm -rf conftest* 
2709 tcl_cv_char_signed=yes 
2710 else 
2711@@ -8337,7 +8371,7 @@ fi 
2712 #-------------------------------------------------------------------- 
2713  
2714 echo $ac_n "checking for a putenv() that copies the buffer""... $ac_c" 1>&6 
2715-echo "configure:8341: checking for a putenv() that copies the buffer" >&5 
2716+echo "configure:8375: checking for a putenv() that copies the buffer" >&5 
2717 if eval "test \"`echo '$''{'tcl_cv_putenv_copy'+set}'`\" = set"; then 
2718 echo $ac_n "(cached) $ac_c" 1>&6 
2719 else 
2720@@ -8346,7 +8380,7 @@ else 
2721 tcl_cv_putenv_copy=no 
2722 else 
2723 cat > conftest.$ac_ext <<EOF 
2724-#line 8350 "configure" 
2725+#line 8384 "configure" 
2726 #include "confdefs.h" 
2727  
2728 #include <stdlib.h> 
2729@@ -8368,7 +8402,7 @@ else 
2730 } 
2731  
2732 EOF 
2733-if { (eval echo configure:8372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
2734+if { (eval echo configure:8406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
2735 then 
2736 tcl_cv_putenv_copy=no 
2737 else 
2738@@ -8408,17 +8442,17 @@ fi 
2739 if test "$langinfo_ok" = "yes"; then 
2740 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'` 
2741 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6 
2742-echo "configure:8412: checking for langinfo.h" >&5 
2743+echo "configure:8446: checking for langinfo.h" >&5 
2744 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
2745 echo $ac_n "(cached) $ac_c" 1>&6 
2746 else 
2747 cat > conftest.$ac_ext <<EOF 
2748-#line 8417 "configure" 
2749+#line 8451 "configure" 
2750 #include "confdefs.h" 
2751 #include <langinfo.h> 
2752 EOF 
2753 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
2754-{ (eval echo configure:8422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
2755+{ (eval echo configure:8456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
2756 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
2757 if test -z "$ac_err"; then 
2758 rm -rf conftest* 
2759@@ -8442,7 +8476,7 @@ fi 
2760  
2761 fi 
2762 echo $ac_n "checking whether to use nl_langinfo""... $ac_c" 1>&6 
2763-echo "configure:8446: checking whether to use nl_langinfo" >&5 
2764+echo "configure:8480: checking whether to use nl_langinfo" >&5 
2765 if test "$langinfo_ok" = "yes"; then 
2766 if eval "test \"`echo '$''{'tcl_cv_langinfo_h'+set}'`\" = set"; then 
2767 echo $ac_n "(cached) $ac_c" 1>&6 
2768@@ -8449,7 +8483,7 @@ echo "configure:8446: checking whether t 
2769 else 
2770  
2771 cat > conftest.$ac_ext <<EOF 
2772-#line 8453 "configure" 
2773+#line 8487 "configure" 
2774 #include "confdefs.h" 
2775 #include <langinfo.h> 
2776 int main() { 
2777@@ -8456,7 +8490,7 @@ int main() { 
2778 nl_langinfo(CODESET); 
2779 ; return 0; } 
2780 EOF 
2781-if { (eval echo configure:8460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
2782+if { (eval echo configure:8494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
2783 rm -rf conftest* 
2784 tcl_cv_langinfo_h=yes 
2785 else 
2786@@ -8489,17 +8523,17 @@ if test "`uname -s`" = "Darwin" ; then 
2787 do 
2788 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
2789 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
2790-echo "configure:8493: checking for $ac_hdr" >&5 
2791+echo "configure:8527: checking for $ac_hdr" >&5 
2792 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
2793 echo $ac_n "(cached) $ac_c" 1>&6 
2794 else 
2795 cat > conftest.$ac_ext <<EOF 
2796-#line 8498 "configure" 
2797+#line 8532 "configure" 
2798 #include "confdefs.h" 
2799 #include <$ac_hdr> 
2800 EOF 
2801 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
2802-{ (eval echo configure:8503: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
2803+{ (eval echo configure:8537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
2804 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
2805 if test -z "$ac_err"; then 
2806 rm -rf conftest* 
2807@@ -8528,12 +8562,12 @@ done 
2808 for ac_func in copyfile 
2809 do 
2810 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 
2811-echo "configure:8532: checking for $ac_func" >&5 
2812+echo "configure:8566: checking for $ac_func" >&5 
2813 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 
2814 echo $ac_n "(cached) $ac_c" 1>&6 
2815 else 
2816 cat > conftest.$ac_ext <<EOF 
2817-#line 8537 "configure" 
2818+#line 8571 "configure" 
2819 #include "confdefs.h" 
2820 /* System header to define __stub macros and hopefully few prototypes, 
2821 which can conflict with char $ac_func(); below. */ 
2822@@ -8556,7 +8590,7 @@ $ac_func(); 
2823  
2824 ; return 0; } 
2825 EOF 
2826-if { (eval echo configure:8560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2827+if { (eval echo configure:8594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2828 rm -rf conftest* 
2829 eval "ac_cv_func_$ac_func=yes" 
2830 else 
2831@@ -8585,17 +8619,17 @@ done 
2832 do 
2833 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
2834 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
2835-echo "configure:8589: checking for $ac_hdr" >&5 
2836+echo "configure:8623: checking for $ac_hdr" >&5 
2837 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
2838 echo $ac_n "(cached) $ac_c" 1>&6 
2839 else 
2840 cat > conftest.$ac_ext <<EOF 
2841-#line 8594 "configure" 
2842+#line 8628 "configure" 
2843 #include "confdefs.h" 
2844 #include <$ac_hdr> 
2845 EOF 
2846 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
2847-{ (eval echo configure:8599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
2848+{ (eval echo configure:8633: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
2849 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
2850 if test -z "$ac_err"; then 
2851 rm -rf conftest* 
2852@@ -8624,12 +8658,12 @@ done 
2853 for ac_func in OSSpinLockLock 
2854 do 
2855 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 
2856-echo "configure:8628: checking for $ac_func" >&5 
2857+echo "configure:8662: checking for $ac_func" >&5 
2858 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 
2859 echo $ac_n "(cached) $ac_c" 1>&6 
2860 else 
2861 cat > conftest.$ac_ext <<EOF 
2862-#line 8633 "configure" 
2863+#line 8667 "configure" 
2864 #include "confdefs.h" 
2865 /* System header to define __stub macros and hopefully few prototypes, 
2866 which can conflict with char $ac_func(); below. */ 
2867@@ -8652,7 +8686,7 @@ $ac_func(); 
2868  
2869 ; return 0; } 
2870 EOF 
2871-if { (eval echo configure:8656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2872+if { (eval echo configure:8690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2873 rm -rf conftest* 
2874 eval "ac_cv_func_$ac_func=yes" 
2875 else 
2876@@ -8679,12 +8713,12 @@ done 
2877 for ac_func in pthread_atfork 
2878 do 
2879 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 
2880-echo "configure:8683: checking for $ac_func" >&5 
2881+echo "configure:8717: checking for $ac_func" >&5 
2882 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 
2883 echo $ac_n "(cached) $ac_c" 1>&6 
2884 else 
2885 cat > conftest.$ac_ext <<EOF 
2886-#line 8688 "configure" 
2887+#line 8722 "configure" 
2888 #include "confdefs.h" 
2889 /* System header to define __stub macros and hopefully few prototypes, 
2890 which can conflict with char $ac_func(); below. */ 
2891@@ -8707,7 +8741,7 @@ $ac_func(); 
2892  
2893 ; return 0; } 
2894 EOF 
2895-if { (eval echo configure:8711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2896+if { (eval echo configure:8745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2897 rm -rf conftest* 
2898 eval "ac_cv_func_$ac_func=yes" 
2899 else 
2900@@ -8748,17 +8782,17 @@ EOF 
2901 do 
2902 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
2903 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
2904-echo "configure:8752: checking for $ac_hdr" >&5 
2905+echo "configure:8786: checking for $ac_hdr" >&5 
2906 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
2907 echo $ac_n "(cached) $ac_c" 1>&6 
2908 else 
2909 cat > conftest.$ac_ext <<EOF 
2910-#line 8757 "configure" 
2911+#line 8791 "configure" 
2912 #include "confdefs.h" 
2913 #include <$ac_hdr> 
2914 EOF 
2915 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
2916-{ (eval echo configure:8762: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
2917+{ (eval echo configure:8796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
2918 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
2919 if test -z "$ac_err"; then 
2920 rm -rf conftest* 
2921@@ -8786,7 +8820,7 @@ done 
2922  
2923 if test "$ac_cv_header_AvailabilityMacros_h" = yes; then 
2924 echo $ac_n "checking if weak import is available""... $ac_c" 1>&6 
2925-echo "configure:8790: checking if weak import is available" >&5 
2926+echo "configure:8824: checking if weak import is available" >&5 
2927 if eval "test \"`echo '$''{'tcl_cv_cc_weak_import'+set}'`\" = set"; then 
2928 echo $ac_n "(cached) $ac_c" 1>&6 
2929 else 
2930@@ -8793,7 +8827,7 @@ else 
2931  
2932 hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -Werror" 
2933 cat > conftest.$ac_ext <<EOF 
2934-#line 8797 "configure" 
2935+#line 8831 "configure" 
2936 #include "confdefs.h" 
2937  
2938 #ifdef __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ 
2939@@ -8809,7 +8843,7 @@ int main() { 
2940 rand(); 
2941 ; return 0; } 
2942 EOF 
2943-if { (eval echo configure:8813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2944+if { (eval echo configure:8847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2945 rm -rf conftest* 
2946 tcl_cv_cc_weak_import=yes 
2947 else 
2948@@ -8837,13 +8871,13 @@ fi 
2949 #-------------------------------------------------------------------- 
2950  
2951 echo $ac_n "checking for fts""... $ac_c" 1>&6 
2952-echo "configure:8841: checking for fts" >&5 
2953+echo "configure:8875: checking for fts" >&5 
2954 if eval "test \"`echo '$''{'tcl_cv_api_fts'+set}'`\" = set"; then 
2955 echo $ac_n "(cached) $ac_c" 1>&6 
2956 else 
2957  
2958 cat > conftest.$ac_ext <<EOF 
2959-#line 8847 "configure" 
2960+#line 8881 "configure" 
2961 #include "confdefs.h" 
2962  
2963 #include <sys/param.h> 
2964@@ -8858,7 +8892,7 @@ int main() { 
2965  
2966 ; return 0; } 
2967 EOF 
2968-if { (eval echo configure:8862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2969+if { (eval echo configure:8896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
2970 rm -rf conftest* 
2971 tcl_cv_api_fts=yes 
2972 else 
2973@@ -8890,17 +8924,17 @@ fi 
2974 do 
2975 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
2976 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
2977-echo "configure:8894: checking for $ac_hdr" >&5 
2978+echo "configure:8928: checking for $ac_hdr" >&5 
2979 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
2980 echo $ac_n "(cached) $ac_c" 1>&6 
2981 else 
2982 cat > conftest.$ac_ext <<EOF 
2983-#line 8899 "configure" 
2984+#line 8933 "configure" 
2985 #include "confdefs.h" 
2986 #include <$ac_hdr> 
2987 EOF 
2988 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
2989-{ (eval echo configure:8904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
2990+{ (eval echo configure:8938: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
2991 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
2992 if test -z "$ac_err"; then 
2993 rm -rf conftest* 
2994@@ -8930,17 +8964,17 @@ done 
2995 do 
2996 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
2997 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
2998-echo "configure:8934: checking for $ac_hdr" >&5 
2999+echo "configure:8968: checking for $ac_hdr" >&5 
3000 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
3001 echo $ac_n "(cached) $ac_c" 1>&6 
3002 else 
3003 cat > conftest.$ac_ext <<EOF 
3004-#line 8939 "configure" 
3005+#line 8973 "configure" 
3006 #include "confdefs.h" 
3007 #include <$ac_hdr> 
3008 EOF 
3009 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
3010-{ (eval echo configure:8944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
3011+{ (eval echo configure:8978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
3012 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
3013 if test -z "$ac_err"; then 
3014 rm -rf conftest* 
3015@@ -8968,7 +9002,7 @@ done 
3016  
3017  
3018 echo $ac_n "checking system version""... $ac_c" 1>&6 
3019-echo "configure:8972: checking system version" >&5 
3020+echo "configure:9006: checking system version" >&5 
3021 if eval "test \"`echo '$''{'tcl_cv_sys_version'+set}'`\" = set"; then 
3022 echo $ac_n "(cached) $ac_c" 1>&6 
3023 else 
3024@@ -8999,7 +9033,7 @@ echo "$ac_t""$tcl_cv_sys_version" 1>&6 
3025 system=$tcl_cv_sys_version 
3026  
3027 echo $ac_n "checking FIONBIO vs. O_NONBLOCK for nonblocking I/O""... $ac_c" 1>&6 
3028-echo "configure:9003: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 
3029+echo "configure:9037: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 
3030 case $system in 
3031 # There used to be code here to use FIONBIO under AIX. However, it 
3032 # was reported that FIONBIO doesn't work under AIX 3.2.5. Since 
3033@@ -9048,17 +9082,17 @@ fi 
3034 if test $tcl_ok = yes; then 
3035 ac_safe=`echo "sys/sdt.h" | sed 'y%./+-%__p_%'` 
3036 echo $ac_n "checking for sys/sdt.h""... $ac_c" 1>&6 
3037-echo "configure:9052: checking for sys/sdt.h" >&5 
3038+echo "configure:9086: checking for sys/sdt.h" >&5 
3039 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
3040 echo $ac_n "(cached) $ac_c" 1>&6 
3041 else 
3042 cat > conftest.$ac_ext <<EOF 
3043-#line 9057 "configure" 
3044+#line 9091 "configure" 
3045 #include "confdefs.h" 
3046 #include <sys/sdt.h> 
3047 EOF 
3048 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
3049-{ (eval echo configure:9062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
3050+{ (eval echo configure:9096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
3051 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
3052 if test -z "$ac_err"; then 
3053 rm -rf conftest* 
3054@@ -9085,7 +9119,7 @@ if test $tcl_ok = yes; then 
3055 # Extract the first word of "dtrace", so it can be a program name with args. 
3056 set dummy dtrace; ac_word=$2 
3057 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
3058-echo "configure:9089: checking for $ac_word" >&5 
3059+echo "configure:9123: checking for $ac_word" >&5 
3060 if eval "test \"`echo '$''{'ac_cv_path_DTRACE'+set}'`\" = set"; then 
3061 echo $ac_n "(cached) $ac_c" 1>&6 
3062 else 
3063@@ -9120,7 +9154,7 @@ fi 
3064 test -z "$ac_cv_path_DTRACE" && tcl_ok=no 
3065 fi 
3066 echo $ac_n "checking whether to enable DTrace support""... $ac_c" 1>&6 
3067-echo "configure:9124: checking whether to enable DTrace support" >&5 
3068+echo "configure:9158: checking whether to enable DTrace support" >&5 
3069 if test $tcl_ok = yes; then 
3070 cat >> confdefs.h <<\EOF 
3071 #define USE_DTRACE 1 
3072@@ -9163,7 +9197,7 @@ if test "`uname -s`" = "Darwin" ; then 
3073  
3074 if test "`uname -s`" = "Darwin" ; then 
3075 echo $ac_n "checking how to package libraries""... $ac_c" 1>&6 
3076-echo "configure:9167: checking how to package libraries" >&5 
3077+echo "configure:9201: checking how to package libraries" >&5 
3078 # Check whether --enable-framework or --disable-framework was given. 
3079 if test "${enable_framework+set}" = set; then 
3080 enableval="$enable_framework" 
3081@@ -9247,7 +9281,7 @@ else 
3082 TCL_LIB_FLAG="-ltcl`echo ${TCL_VERSION} | tr -d .`\${TCL_DBGX}" 173 TCL_LIB_FLAG="-ltcl`echo ${TCL_VERSION} | tr -d .`\${TCL_DBGX}"
3083 fi 174 fi
3084 TCL_BUILD_LIB_SPEC="-L`pwd` ${TCL_LIB_FLAG}" 175 TCL_BUILD_LIB_SPEC="-L`pwd` ${TCL_LIB_FLAG}"
3085- TCL_LIB_SPEC="-L${libdir} ${TCL_LIB_FLAG}" 176- TCL_LIB_SPEC="-L${libdir} ${TCL_LIB_FLAG}"
3086+ TCL_LIB_SPEC="${TCL_LIB_SPEC_RPATH} -L${libdir} ${TCL_LIB_FLAG}" 177+ TCL_LIB_SPEC="${TCL_LIB_SPEC_RPATH} -L${libdir} ${TCL_LIB_FLAG}"
3087 else 178 else
3088 TCL_BUILD_EXP_FILE="lib.exp" 179 TCL_BUILD_EXP_FILE="lib.exp"
3089 eval "TCL_EXP_FILE=libtcl${TCL_EXPORT_FILE_SUFFIX}" 180 eval "TCL_EXP_FILE=libtcl${TCL_EXPORT_FILE_SUFFIX}"
3090@@ -9278,14 +9312,24 @@ VERSION=${TCL_VERSION} 181@@ -9278,14 +9318,24 @@ VERSION=${TCL_VERSION}
3091 #-------------------------------------------------------------------- 182 #--------------------------------------------------------------------
3092  183
3093 if test "$FRAMEWORK_BUILD" = "1" ; then 184 if test "$FRAMEWORK_BUILD" = "1" ; then
3094- test -z "$TCL_PACKAGE_PATH" && \ 185- test -z "$TCL_PACKAGE_PATH" && \
3095- TCL_PACKAGE_PATH="~/Library/Tcl /Library/Tcl /Network/Library/Tcl /System/Library/Tcl ~/Library/Frameworks /Library/Frameworks /Network/Library/Frameworks /System/Library/Frameworks" 186- TCL_PACKAGE_PATH="~/Library/Tcl /Library/Tcl /Network/Library/Tcl /System/Library/Tcl ~/Library/Frameworks /Library/Frameworks /Network/Library/Frameworks /System/Library/Frameworks"
3096+ test -z "$TCL_PACKAGE_PATH_ADD" && \ 187+ test -z "$TCL_PACKAGE_PATH_ADD" && \
3097+ TCL_PACKAGE_PATH_ADD="~/Library/Tcl /Library/Tcl /Network/Library/Tcl /System/Library/Tcl ~/Library/Frameworks /Library/Frameworks /Network/Library/Frameworks /System/Library/Frameworks" 188+ TCL_PACKAGE_PATH_ADD="~/Library/Tcl /Library/Tcl /Network/Library/Tcl /System/Library/Tcl ~/Library/Frameworks /Library/Frameworks /Network/Library/Frameworks /System/Library/Frameworks"
3098 elif test "$prefix" != "$exec_prefix"; then 189 elif test "$prefix" != "$exec_prefix"; then
3099- TCL_PACKAGE_PATH="${libdir} ${prefix}/lib ${TCL_PACKAGE_PATH}" 190- TCL_PACKAGE_PATH="${libdir} ${prefix}/lib ${TCL_PACKAGE_PATH}"
3100+ TCL_PACKAGE_PATH_ADD="${libdir} ${prefix}/lib ${TCL_PACKAGE_PATH}" 191+ TCL_PACKAGE_PATH_ADD="${libdir} ${prefix}/lib ${TCL_PACKAGE_PATH}"
3101 else 192 else
3102- TCL_PACKAGE_PATH="${prefix}/lib ${TCL_PACKAGE_PATH}" 193- TCL_PACKAGE_PATH="${prefix}/lib ${TCL_PACKAGE_PATH}"
3103+ TCL_PACKAGE_PATH_ADD="${prefix}/lib ${TCL_PACKAGE_PATH}" 194+ TCL_PACKAGE_PATH_ADD="${prefix}/lib ${TCL_PACKAGE_PATH}"
@@ -3106,27 +197,27 @@ $NetBSD: patch-ab,v 1.38 2011/11/01 20:0 @@ -3106,27 +197,27 @@ $NetBSD: patch-ab,v 1.38 2011/11/01 20:0
3106+for dir in ${TCL_PACKAGE_PATH_ADD}; do 197+for dir in ${TCL_PACKAGE_PATH_ADD}; do
3107+ if test -z "${TCL_PACKAGE_PATH}"; then 198+ if test -z "${TCL_PACKAGE_PATH}"; then
3108+ TCL_PACKAGE_PATH="$dir" 199+ TCL_PACKAGE_PATH="$dir"
3109+ else 200+ else
3110+ TCL_PACKAGE_PATH="${TCL_PACKAGE_PATH} $dir" 201+ TCL_PACKAGE_PATH="${TCL_PACKAGE_PATH} $dir"
3111+ fi 202+ fi
3112+done 203+done
3113+ 204+
3114+ 205+
3115+ 206+
3116 #-------------------------------------------------------------------- 207 #--------------------------------------------------------------------
3117 # The statements below define various symbols relating to Tcl 208 # The statements below define various symbols relating to Tcl
3118 # stub support. 209 # stub support.
3119@@ -9442,34 +9486,15 @@ trap 'rm -f $CONFIG_STATUS conftest*; ex 210@@ -9442,34 +9492,15 @@ trap 'rm -f $CONFIG_STATUS conftest*; ex
3120 # Transform confdefs.h into DEFS. 211 # Transform confdefs.h into DEFS.
3121 # Protect against shell expansion while executing Makefile rules. 212 # Protect against shell expansion while executing Makefile rules.
3122 # Protect against Makefile macro expansion. 213 # Protect against Makefile macro expansion.
3123-# 214-#
3124-# If the first sed substitution is executed (which looks for macros that 215-# If the first sed substitution is executed (which looks for macros that
3125-# take arguments), then we branch to the quote section. Otherwise, 216-# take arguments), then we branch to the quote section. Otherwise,
3126-# look for a macro that doesn't take arguments. 217-# look for a macro that doesn't take arguments.
3127-cat >confdef2opt.sed <<\_ACEOF 218-cat >confdef2opt.sed <<\_ACEOF
3128-t clear 219-t clear
3129-: clear 220-: clear
3130-s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g 221-s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3131-t quote 222-t quote
3132-s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g 223-s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g

cvs diff -r1.24 -r1.25 pkgsrc/lang/tcl/patches/Attic/patch-af (expand / switch to unified diff)

--- pkgsrc/lang/tcl/patches/Attic/patch-af 2011/11/01 20:08:12 1.24
+++ pkgsrc/lang/tcl/patches/Attic/patch-af 2011/11/14 01:31:18 1.25
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1$NetBSD: patch-af,v 1.24 2011/11/01 20:08:12 bsiegert Exp $ 1$NetBSD: patch-af,v 1.25 2011/11/14 01:31:18 marino Exp $
2 2
3--- unix/tcl.m4.orig Wed Feb 6 15:38:03 2008 3--- unix/tcl.m4.orig 2008-02-06 15:38:26.000000000 +0000
4+++ unix/tcl.m4 4+++ unix/tcl.m4
5@@ -1033,6 +1033,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [ 5@@ -1033,6 +1033,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
6 # Step 3: set configuration options based on system name and version. 6 # Step 3: set configuration options based on system name and version.
7  7
8 do64bit_ok=no 8 do64bit_ok=no
9+ TCL_LIB_SPEC_RPATH="" 9+ TCL_LIB_SPEC_RPATH=""
10 LDFLAGS_ORIG="$LDFLAGS" 10 LDFLAGS_ORIG="$LDFLAGS"
11 TCL_EXPORT_FILE_SUFFIX="" 11 TCL_EXPORT_FILE_SUFFIX=""
12 UNSHARED_LIB_SUFFIX="" 12 UNSHARED_LIB_SUFFIX=""
13@@ -1263,6 +1264,21 @@ dnl AC_CHECK_TOOL(AR, ar) 13@@ -1263,6 +1264,21 @@ dnl AC_CHECK_TOOL(AR, ar)
14 LD_LIBRARY_PATH_VAR="SHLIB_PATH" 14 LD_LIBRARY_PATH_VAR="SHLIB_PATH"
15 fi 15 fi
16 ;; 16 ;;
@@ -62,91 +62,103 @@ $NetBSD: patch-af,v 1.24 2011/11/01 20:0 @@ -62,91 +62,103 @@ $NetBSD: patch-af,v 1.24 2011/11/01 20:0
62 ;; 62 ;;
63 Linux*) 63 Linux*)
64 SHLIB_CFLAGS="-fPIC" 64 SHLIB_CFLAGS="-fPIC"
65@@ -1388,6 +1413,9 @@ dnl AC_CHECK_TOOL(AR, ar) 65@@ -1388,6 +1413,9 @@ dnl AC_CHECK_TOOL(AR, ar)
66 # XIM peeking works under XFree86. 66 # XIM peeking works under XFree86.
67 AC_DEFINE(PEEK_XCLOSEIM) 67 AC_DEFINE(PEEK_XCLOSEIM)
68  68
69+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' 69+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
70+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so' 70+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
71+ TCL_LIB_VERSIONS_OK=nodots 71+ TCL_LIB_VERSIONS_OK=nodots
72 ;; 72 ;;
73 GNU*) 73 GNU*)
74 SHLIB_CFLAGS="-fPIC" 74 SHLIB_CFLAGS="-fPIC"
75@@ -1447,17 +1475,18 @@ dnl AC_CHECK_TOOL(AR, ar) 75@@ -1447,23 +1475,26 @@ dnl AC_CHECK_TOOL(AR, ar)
76 LD_SEARCH_FLAGS="" 76 LD_SEARCH_FLAGS=""
77 ;; 77 ;;
78 NetBSD-*|FreeBSD-[[1-2]].*) 78 NetBSD-*|FreeBSD-[[1-2]].*)
79+ if test "X${COMPILER_OPTIMIZATION_BUG}" = "XYES"; then 79+ if test "X${COMPILER_OPTIMIZATION_BUG}" = "XYES"; then
80+ CFLAGS_OPTIMIZE=-O0 80+ CFLAGS_OPTIMIZE=-O0
81+ fi 81+ fi
82 # Not available on all versions: check for include file. 82 # Not available on all versions: check for include file.
83 AC_CHECK_HEADER(dlfcn.h, [ 83 AC_CHECK_HEADER(dlfcn.h, [
84 # NetBSD/SPARC needs -fPIC, -fpic will not do. 84 # NetBSD/SPARC needs -fPIC, -fpic will not do.
85 SHLIB_CFLAGS="-fPIC" 85 SHLIB_CFLAGS="-fPIC"
86- SHLIB_LD="ld -Bshareable -x" 86- SHLIB_LD="ld -Bshareable -x"
87 SHLIB_LD_LIBS='${LIBS}' 87 SHLIB_LD_LIBS='${LIBS}'
88 SHLIB_SUFFIX=".so" 88 SHLIB_SUFFIX=".so"
89 DL_OBJS="tclLoadDl.o" 89 DL_OBJS="tclLoadDl.o"
90 DL_LIBS="" 90 DL_LIBS=""
91 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 91 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
92- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 92- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
93 AC_CACHE_CHECK([for ELF], tcl_cv_ld_elf, [ 93 AC_CACHE_CHECK([for ELF], tcl_cv_ld_elf, [
94 AC_EGREP_CPP(yes, [ 94 AC_EGREP_CPP(yes, [
95 #ifdef __ELF__ 95 #ifdef __ELF__
96@@ -1464,6 +1493,8 @@ dnl AC_CHECK_TOOL(AR, ar) 
97 yes 96 yes
98 #endif 97 #endif
99 ], tcl_cv_ld_elf=yes, tcl_cv_ld_elf=no)]) 98 ], tcl_cv_ld_elf=yes, tcl_cv_ld_elf=no)])
100+ SHLIB_LD='${TCL_CC} -shared -Wl,-x' 99+ SHLIB_LD='${TCL_CC} -shared -Wl,-x'
101+ LD_SEARCH_FLAGS='-Wl,-R${LIB_RUNTIME_DIR}' 100+ LD_SEARCH_FLAGS='-Wl,-R${LIB_RUNTIME_DIR}'
102 if test $tcl_cv_ld_elf = yes; then 101 if test $tcl_cv_ld_elf = yes; then
103 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so' 102 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
104 else 103 else
105@@ -1486,7 +1517,7 @@ dnl AC_CHECK_TOOL(AR, ar) 104@@ -1486,7 +1517,7 @@ dnl AC_CHECK_TOOL(AR, ar)
106 UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' 105 UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
107 TCL_LIB_VERSIONS_OK=nodots 106 TCL_LIB_VERSIONS_OK=nodots
108 ;; 107 ;;
109- OpenBSD-*) 108- OpenBSD-*)
110+ OpenBSD-*|MirBSD-*) 109+ OpenBSD-*|MirBSD-*)
111 case `arch -s` in 110 case `arch -s` in
112 m88k|vax) 111 m88k|vax)
113 SHLIB_CFLAGS="" 112 SHLIB_CFLAGS=""
114@@ -1534,7 +1565,7 @@ dnl AC_CHECK_TOOL(AR, ar) 113@@ -1534,7 +1565,7 @@ dnl AC_CHECK_TOOL(AR, ar)
115 UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' 114 UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
116 TCL_LIB_VERSIONS_OK=nodots 115 TCL_LIB_VERSIONS_OK=nodots
117 ;; 116 ;;
118- FreeBSD-*) 117- FreeBSD-*)
119+ FreeBSD-*|DragonFly-*) 118+ FreeBSD-*|DragonFly-*)
120 # FreeBSD 3.* and greater have ELF. 119 # FreeBSD 3.* and greater have ELF.
121 SHLIB_CFLAGS="-fPIC" 120 SHLIB_CFLAGS="-fPIC"
122 SHLIB_LD="ld -Bshareable -x" 121 SHLIB_LD="ld -Bshareable -x"
123@@ -1933,6 +1964,9 @@ dnl AC_CHECK_TOOL(AR, ar) 122@@ -1558,6 +1589,12 @@ dnl AC_CHECK_TOOL(AR, ar)
 123 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
 124 TCL_LIB_VERSIONS_OK=nodots
 125 ;;
 126+ DragonFly-*)
 127+ # "nodots" required to confirm to pkgsrc lang/tcl PLIST
 128+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
 129+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
 130+ TCL_LIB_VERSIONS_OK=nodots
 131+ ;;
 132 esac
 133 ;;
 134 Darwin-*)
 135@@ -1933,6 +1970,9 @@ dnl AC_CHECK_TOOL(AR, ar)
124 CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}' 136 CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
125 LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}' 137 LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
126 fi 138 fi
127+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so' 139+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
128+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' 140+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
129+ TCL_LIB_VERSIONS_OK=nodots 141+ TCL_LIB_VERSIONS_OK=nodots
130 ;; 142 ;;
131 ULTRIX-4.*) 143 ULTRIX-4.*)
132 SHLIB_CFLAGS="-G 0" 144 SHLIB_CFLAGS="-G 0"
133@@ -2091,7 +2125,7 @@ dnl # preprocessing tests use only CPPFL 145@@ -2091,7 +2131,7 @@ dnl # preprocessing tests use only CPPFL
134 ;; 146 ;;
135 IRIX*) 147 IRIX*)
136 ;; 148 ;;
137- NetBSD-*|FreeBSD-*|OpenBSD-*) 149- NetBSD-*|FreeBSD-*|OpenBSD-*)
138+ NetBSD-*|FreeBSD-*|OpenBSD-*|MirBSD-*) 150+ NetBSD-*|FreeBSD-*|OpenBSD-*|MirBSD-*)
139 ;; 151 ;;
140 Darwin-*) 152 Darwin-*)
141 ;; 153 ;;
142@@ -2117,8 +2151,8 @@ dnl # preprocessing tests use only CPPFL 154@@ -2117,8 +2157,8 @@ dnl # preprocessing tests use only CPPFL
143  155
144 if test "${SHARED_BUILD}" = "1" && test "${SHLIB_SUFFIX}" != "" ; then 156 if test "${SHARED_BUILD}" = "1" && test "${SHLIB_SUFFIX}" != "" ; then
145 LIB_SUFFIX=${SHARED_LIB_SUFFIX} 157 LIB_SUFFIX=${SHARED_LIB_SUFFIX}
146- MAKE_LIB='${SHLIB_LD} -o [$]@ ${OBJS} ${SHLIB_LD_LIBS} ${TCL_SHLIB_LD_EXTRAS} ${TK_SHLIB_LD_EXTRAS} ${LD_SEARCH_FLAGS}' 158- MAKE_LIB='${SHLIB_LD} -o [$]@ ${OBJS} ${SHLIB_LD_LIBS} ${TCL_SHLIB_LD_EXTRAS} ${TK_SHLIB_LD_EXTRAS} ${LD_SEARCH_FLAGS}'
147- INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) $(LIB_INSTALL_DIR)/$(LIB_FILE)' 159- INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) $(LIB_INSTALL_DIR)/$(LIB_FILE)'
148+ MAKE_LIB='${SHLIB_LD} -o ${@:C/\.so.*/.la/} ${OBJS:.o=.lo} ${SHLIB_LD_LIBS} ${TCL_SHLIB_LD_EXTRAS} ${TK_SHLIB_LD_EXTRAS} ${LD_SEARCH_FLAGS} -version-info 1:0' 160+ MAKE_LIB='${SHLIB_LD} -o ${@:C/\.so.*/.la/} ${OBJS:.o=.lo} ${SHLIB_LD_LIBS} ${TCL_SHLIB_LD_EXTRAS} ${TK_SHLIB_LD_EXTRAS} ${LD_SEARCH_FLAGS} -version-info 1:0'
149+ INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE:C/\.so.*/.la/) $(LIB_INSTALL_DIR)/$(LIB_FILE)' 161+ INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE:C/\.so.*/.la/) $(LIB_INSTALL_DIR)/$(LIB_FILE)'
150 else 162 else
151 LIB_SUFFIX=${UNSHARED_LIB_SUFFIX} 163 LIB_SUFFIX=${UNSHARED_LIB_SUFFIX}
152  164