1
diff -ur expect-5.31.orig/configure expect-5.31/configure
2
--- expect-5.31.orig/configure Mon Mar 6 09:25:50 2000
3
+++ expect-5.31/configure Sat Apr 8 11:39:49 2000
6
--enable-shared build libexpect as a shared library"
8
+ --enable-stubs use Tcl stubs, if available"
10
--with-x whether or not to use X (default yes)"
12
--with-tkinclude directory where tk private headers are"
14
# Extract the first word of "autoconf", so it can be a program name with args.
15
set dummy autoconf; ac_word=$2
16
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
17
-echo "configure:566: checking for $ac_word" >&5
18
+echo "configure:568: checking for $ac_word" >&5
19
if eval "test \"`echo '$''{'ac_cv_prog_found'+set}'`\" = set"; then
20
echo $ac_n "(cached) $ac_c" 1>&6
25
echo $ac_n "checking configure up to date""... $ac_c" 1>&6
26
-echo "configure:594: checking configure up to date" >&5
27
+echo "configure:596: checking configure up to date" >&5
28
for i in `ls -tr ${srcdir}/configure ${srcdir}/configure.in ${srcdir}/Makefile.in` ; do
34
echo $ac_n "checking host system type""... $ac_c" 1>&6
35
-echo "configure:655: checking host system type" >&5
36
+echo "configure:657: checking host system type" >&5
41
echo "$ac_t""$host" 1>&6
43
echo $ac_n "checking target system type""... $ac_c" 1>&6
44
-echo "configure:676: checking target system type" >&5
45
+echo "configure:678: checking target system type" >&5
48
case "$target_alias" in
50
echo "$ac_t""$target" 1>&6
52
echo $ac_n "checking build system type""... $ac_c" 1>&6
53
-echo "configure:694: checking build system type" >&5
54
+echo "configure:696: checking build system type" >&5
57
case "$build_alias" in
59
# alternatives, so take user's choice or whatever we're using here and
60
# allow it to be seen by Make.
61
echo $ac_n "checking shell to use within Make""... $ac_c" 1>&6
62
-echo "configure:724: checking shell to use within Make" >&5
63
+echo "configure:726: checking shell to use within Make" >&5
64
EXP_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
65
echo "$ac_t""$CONFIG_SHELL" 1>&6
68
# Extract the first word of "gcc", so it can be a program name with args.
69
set dummy gcc; ac_word=$2
70
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
71
-echo "configure:758: checking for $ac_word" >&5
72
+echo "configure:760: checking for $ac_word" >&5
73
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
74
echo $ac_n "(cached) $ac_c" 1>&6
77
# Extract the first word of "cc", so it can be a program name with args.
78
set dummy cc; ac_word=$2
79
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
80
-echo "configure:788: checking for $ac_word" >&5
81
+echo "configure:790: checking for $ac_word" >&5
82
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
83
echo $ac_n "(cached) $ac_c" 1>&6
86
# Extract the first word of "cl", so it can be a program name with args.
87
set dummy cl; ac_word=$2
88
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
89
-echo "configure:839: checking for $ac_word" >&5
90
+echo "configure:841: checking for $ac_word" >&5
91
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
92
echo $ac_n "(cached) $ac_c" 1>&6
97
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
98
-echo "configure:871: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
99
+echo "configure:873: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
102
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
103
@@ -878,12 +880,12 @@
105
cat > conftest.$ac_ext << EOF
107
-#line 882 "configure"
108
+#line 884 "configure"
109
#include "confdefs.h"
113
-if { (eval echo configure:887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
114
+if { (eval echo configure:889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
115
ac_cv_prog_cc_works=yes
116
# If we can't run a trivial program, we are probably using a cross compiler.
117
if (./conftest; exit) 2>/dev/null; then
118
@@ -909,12 +911,12 @@
119
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
121
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
122
-echo "configure:913: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
123
+echo "configure:915: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
124
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
125
cross_compiling=$ac_cv_prog_cc_cross
127
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
128
-echo "configure:918: checking whether we are using GNU C" >&5
129
+echo "configure:920: checking whether we are using GNU C" >&5
130
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
131
echo $ac_n "(cached) $ac_c" 1>&6
137
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
138
+if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:929: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
143
ac_save_CFLAGS="$CFLAGS"
145
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
146
-echo "configure:946: checking whether ${CC-cc} accepts -g" >&5
147
+echo "configure:948: checking whether ${CC-cc} accepts -g" >&5
148
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
149
echo $ac_n "(cached) $ac_c" 1>&6
154
echo $ac_n "checking for building with threads""... $ac_c" 1>&6
155
-echo "configure:986: checking for building with threads" >&5
156
+echo "configure:988: checking for building with threads" >&5
157
# Check whether --enable-threads or --disable-threads was given.
158
if test "${enable_threads+set}" = set; then
159
enableval="$enable_threads"
160
@@ -1035,7 +1037,7 @@
163
echo $ac_n "checking for Tcl configuration""... $ac_c" 1>&6
164
-echo "configure:1039: checking for Tcl configuration" >&5
165
+echo "configure:1041: checking for Tcl configuration" >&5
166
if eval "test \"`echo '$''{'ac_cv_c_tclconfig'+set}'`\" = set"; then
167
echo $ac_n "(cached) $ac_c" 1>&6
169
@@ -1128,16 +1130,16 @@
170
# eval used to expand out TCL_DBGX
171
eval "LIBS=\"$TCL_BUILD_LIB_SPEC $TCL_LIBS\""
172
echo $ac_n "checking Tcl build library""... $ac_c" 1>&6
173
-echo "configure:1132: checking Tcl build library" >&5
174
+echo "configure:1134: checking Tcl build library" >&5
175
echo "$ac_t""$LIBS" 1>&6
177
echo $ac_n "checking for Tcl_CreateCommand""... $ac_c" 1>&6
178
-echo "configure:1136: checking for Tcl_CreateCommand" >&5
179
+echo "configure:1138: checking for Tcl_CreateCommand" >&5
180
if eval "test \"`echo '$''{'ac_cv_func_Tcl_CreateCommand'+set}'`\" = set"; then
181
echo $ac_n "(cached) $ac_c" 1>&6
183
cat > conftest.$ac_ext <<EOF
184
-#line 1141 "configure"
185
+#line 1143 "configure"
186
#include "confdefs.h"
187
/* System header to define __stub macros and hopefully few prototypes,
188
which can conflict with char Tcl_CreateCommand(); below. */
189
@@ -1160,7 +1162,7 @@
193
-if { (eval echo configure:1164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
194
+if { (eval echo configure:1166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
196
eval "ac_cv_func_Tcl_CreateCommand=yes"
198
@@ -1176,7 +1178,7 @@
199
echo "$ac_t""yes" 1>&6
201
echo $ac_n "checking if Tcl library build specification is valid""... $ac_c" 1>&6
202
-echo "configure:1180: checking if Tcl library build specification is valid" >&5
203
+echo "configure:1182: checking if Tcl library build specification is valid" >&5
204
echo "$ac_t""yes" 1>&6
207
@@ -1186,7 +1188,7 @@
208
# Can't pull the following CHECKING call out since it will be
209
# broken up by the CHECK_FUNC just above.
210
echo $ac_n "checking if Tcl library build specification is valid""... $ac_c" 1>&6
211
-echo "configure:1190: checking if Tcl library build specification is valid" >&5
212
+echo "configure:1192: checking if Tcl library build specification is valid" >&5
213
echo "$ac_t""no" 1>&6
216
@@ -1218,7 +1220,7 @@
219
echo $ac_n "checking for Tk configuration""... $ac_c" 1>&6
220
-echo "configure:1222: checking for Tk configuration" >&5
221
+echo "configure:1224: checking for Tk configuration" >&5
222
if eval "test \"`echo '$''{'ac_cv_c_tkconfig'+set}'`\" = set"; then
223
echo $ac_n "(cached) $ac_c" 1>&6
225
@@ -1307,12 +1309,12 @@
226
# eval used to expand out TK_DBGX
227
eval "LIBS=\"$TK_BUILD_LIB_SPEC $TCL_BUILD_LIB_SPEC $TK_LIBS\""
228
echo $ac_n "checking for Tk_Init""... $ac_c" 1>&6
229
-echo "configure:1311: checking for Tk_Init" >&5
230
+echo "configure:1313: checking for Tk_Init" >&5
231
if eval "test \"`echo '$''{'ac_cv_func_Tk_Init'+set}'`\" = set"; then
232
echo $ac_n "(cached) $ac_c" 1>&6
234
cat > conftest.$ac_ext <<EOF
235
-#line 1316 "configure"
236
+#line 1318 "configure"
237
#include "confdefs.h"
238
/* System header to define __stub macros and hopefully few prototypes,
239
which can conflict with char Tk_Init(); below. */
240
@@ -1335,7 +1337,7 @@
244
-if { (eval echo configure:1339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
245
+if { (eval echo configure:1341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
247
eval "ac_cv_func_Tk_Init=yes"
249
@@ -1351,7 +1353,7 @@
250
echo "$ac_t""yes" 1>&6
252
echo $ac_n "checking if Tk library build specification is valid""... $ac_c" 1>&6
253
-echo "configure:1355: checking if Tk library build specification is valid" >&5
254
+echo "configure:1357: checking if Tk library build specification is valid" >&5
255
echo "$ac_t""yes" 1>&6
258
@@ -1361,7 +1363,7 @@
259
# Can't pull the following CHECKING call out since it will be
260
# broken up by the CHECK_FUNC just above.
261
echo $ac_n "checking if Tk library build specification is valid""... $ac_c" 1>&6
262
-echo "configure:1365: checking if Tk library build specification is valid" >&5
263
+echo "configure:1367: checking if Tk library build specification is valid" >&5
264
echo "$ac_t""no" 1>&6
267
@@ -1376,16 +1378,16 @@
269
# If we cannot compile and link a trivial program, we can't expect anything to work
270
echo $ac_n "checking whether the compiler ($CC) actually works""... $ac_c" 1>&6
271
-echo "configure:1380: checking whether the compiler ($CC) actually works" >&5
272
+echo "configure:1382: checking whether the compiler ($CC) actually works" >&5
273
cat > conftest.$ac_ext <<EOF
274
-#line 1382 "configure"
275
+#line 1384 "configure"
276
#include "confdefs.h"
279
/* don't need anything here */
282
-if { (eval echo configure:1389: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
283
+if { (eval echo configure:1391: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
287
@@ -1397,14 +1399,14 @@
290
cat > conftest.$ac_ext <<EOF
291
-#line 1401 "configure"
292
+#line 1403 "configure"
293
#include "confdefs.h"
296
/* don't need anything here */
299
-if { (eval echo configure:1408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
300
+if { (eval echo configure:1410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
304
@@ -1438,7 +1440,7 @@
305
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
306
# ./install, which can be erroneously created by make from ./install.sh.
307
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
308
-echo "configure:1442: checking for a BSD compatible install" >&5
309
+echo "configure:1444: checking for a BSD compatible install" >&5
310
if test -z "$INSTALL"; then
311
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
312
echo $ac_n "(cached) $ac_c" 1>&6
313
@@ -1495,7 +1497,7 @@
314
# Extract the first word of "ranlib", so it can be a program name with args.
315
set dummy ranlib; ac_word=$2
316
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
317
-echo "configure:1499: checking for $ac_word" >&5
318
+echo "configure:1501: checking for $ac_word" >&5
319
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
320
echo $ac_n "(cached) $ac_c" 1>&6
322
@@ -1535,7 +1537,7 @@
323
# This modifies the value of $CC to have the POSIX flag added
324
# so it'll configure correctly
325
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
326
-echo "configure:1539: checking how to run the C preprocessor" >&5
327
+echo "configure:1541: checking how to run the C preprocessor" >&5
328
# On Suns, sometimes $CPP names a directory.
329
if test -n "$CPP" && test -d "$CPP"; then
331
@@ -1550,13 +1552,13 @@
332
# On the NeXT, cc -E runs the code through the compiler's parser,
333
# not just through cpp.
334
cat > conftest.$ac_ext <<EOF
335
-#line 1554 "configure"
336
+#line 1556 "configure"
337
#include "confdefs.h"
341
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
342
-{ (eval echo configure:1560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
343
+{ (eval echo configure:1562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
344
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
345
if test -z "$ac_err"; then
347
@@ -1567,13 +1569,13 @@
349
CPP="${CC-cc} -E -traditional-cpp"
350
cat > conftest.$ac_ext <<EOF
351
-#line 1571 "configure"
352
+#line 1573 "configure"
353
#include "confdefs.h"
357
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
358
-{ (eval echo configure:1577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
359
+{ (eval echo configure:1579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
360
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
361
if test -z "$ac_err"; then
363
@@ -1584,13 +1586,13 @@
365
CPP="${CC-cc} -nologo -E"
366
cat > conftest.$ac_ext <<EOF
367
-#line 1588 "configure"
368
+#line 1590 "configure"
369
#include "confdefs.h"
373
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
374
-{ (eval echo configure:1594: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
375
+{ (eval echo configure:1596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
376
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
377
if test -z "$ac_err"; then
379
@@ -1616,12 +1618,12 @@
382
echo $ac_n "checking if running LynxOS""... $ac_c" 1>&6
383
-echo "configure:1620: checking if running LynxOS" >&5
384
+echo "configure:1622: checking if running LynxOS" >&5
385
if eval "test \"`echo '$''{'ac_cv_os_lynx'+set}'`\" = set"; then
386
echo $ac_n "(cached) $ac_c" 1>&6
388
cat > conftest.$ac_ext <<EOF
389
-#line 1625 "configure"
390
+#line 1627 "configure"
391
#include "confdefs.h"
393
* The old Lynx "cc" only defines "Lynx", but the newer one uses "__Lynx__"
394
@@ -1651,12 +1653,12 @@
397
echo $ac_n "checking whether -mposix or -X is available""... $ac_c" 1>&6
398
-echo "configure:1655: checking whether -mposix or -X is available" >&5
399
+echo "configure:1657: checking whether -mposix or -X is available" >&5
400
if eval "test \"`echo '$''{'ac_cv_c_posix_flag'+set}'`\" = set"; then
401
echo $ac_n "(cached) $ac_c" 1>&6
403
cat > conftest.$ac_ext <<EOF
404
-#line 1660 "configure"
405
+#line 1662 "configure"
406
#include "confdefs.h"
409
@@ -1672,7 +1674,7 @@
413
-if { (eval echo configure:1676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
414
+if { (eval echo configure:1678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
416
ac_cv_c_posix_flag=" -mposix"
418
@@ -1692,12 +1694,12 @@
421
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
422
-echo "configure:1696: checking for ANSI C header files" >&5
423
+echo "configure:1698: checking for ANSI C header files" >&5
424
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
425
echo $ac_n "(cached) $ac_c" 1>&6
427
cat > conftest.$ac_ext <<EOF
428
-#line 1701 "configure"
429
+#line 1703 "configure"
430
#include "confdefs.h"
433
@@ -1705,7 +1707,7 @@
436
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
437
-{ (eval echo configure:1709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
438
+{ (eval echo configure:1711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
439
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
440
if test -z "$ac_err"; then
442
@@ -1722,7 +1724,7 @@
443
if test $ac_cv_header_stdc = yes; then
444
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
445
cat > conftest.$ac_ext <<EOF
446
-#line 1726 "configure"
447
+#line 1728 "configure"
448
#include "confdefs.h"
451
@@ -1740,7 +1742,7 @@
452
if test $ac_cv_header_stdc = yes; then
453
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
454
cat > conftest.$ac_ext <<EOF
455
-#line 1744 "configure"
456
+#line 1746 "configure"
457
#include "confdefs.h"
460
@@ -1761,7 +1763,7 @@
463
cat > conftest.$ac_ext <<EOF
464
-#line 1765 "configure"
465
+#line 1767 "configure"
466
#include "confdefs.h"
468
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
469
@@ -1772,7 +1774,7 @@
473
-if { (eval echo configure:1776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
474
+if { (eval echo configure:1778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
478
@@ -1796,12 +1798,12 @@
481
echo $ac_n "checking for pid_t""... $ac_c" 1>&6
482
-echo "configure:1800: checking for pid_t" >&5
483
+echo "configure:1802: checking for pid_t" >&5
484
if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
485
echo $ac_n "(cached) $ac_c" 1>&6
487
cat > conftest.$ac_ext <<EOF
488
-#line 1805 "configure"
489
+#line 1807 "configure"
490
#include "confdefs.h"
491
#include <sys/types.h>
493
@@ -1829,12 +1831,12 @@
496
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
497
-echo "configure:1833: checking return type of signal handlers" >&5
498
+echo "configure:1835: checking return type of signal handlers" >&5
499
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
500
echo $ac_n "(cached) $ac_c" 1>&6
502
cat > conftest.$ac_ext <<EOF
503
-#line 1838 "configure"
504
+#line 1840 "configure"
505
#include "confdefs.h"
506
#include <sys/types.h>
508
@@ -1851,7 +1853,7 @@
512
-if { (eval echo configure:1855: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
513
+if { (eval echo configure:1857: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
515
ac_cv_type_signal=void
517
@@ -1870,12 +1872,12 @@
520
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
521
-echo "configure:1874: checking whether time.h and sys/time.h may both be included" >&5
522
+echo "configure:1876: checking whether time.h and sys/time.h may both be included" >&5
523
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
524
echo $ac_n "(cached) $ac_c" 1>&6
526
cat > conftest.$ac_ext <<EOF
527
-#line 1879 "configure"
528
+#line 1881 "configure"
529
#include "confdefs.h"
530
#include <sys/types.h>
531
#include <sys/time.h>
532
@@ -1884,7 +1886,7 @@
536
-if { (eval echo configure:1888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
537
+if { (eval echo configure:1890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
539
ac_cv_header_time=yes
541
@@ -1905,12 +1907,12 @@
544
echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
545
-echo "configure:1909: checking for sys/wait.h that is POSIX.1 compatible" >&5
546
+echo "configure:1911: checking for sys/wait.h that is POSIX.1 compatible" >&5
547
if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
548
echo $ac_n "(cached) $ac_c" 1>&6
550
cat > conftest.$ac_ext <<EOF
551
-#line 1914 "configure"
552
+#line 1916 "configure"
553
#include "confdefs.h"
554
#include <sys/types.h>
555
#include <sys/wait.h>
556
@@ -1926,7 +1928,7 @@
557
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
560
-if { (eval echo configure:1930: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
561
+if { (eval echo configure:1932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
563
ac_cv_header_sys_wait_h=yes
565
@@ -1968,7 +1970,7 @@
568
echo $ac_n "checking if running Mach""... $ac_c" 1>&6
569
-echo "configure:1972: checking if running Mach" >&5
570
+echo "configure:1974: checking if running Mach" >&5
573
# Both Next and pure Mach behave identically with respect
574
@@ -1984,7 +1986,7 @@
577
echo $ac_n "checking if running MachTen""... $ac_c" 1>&6
578
-echo "configure:1988: checking if running MachTen" >&5
579
+echo "configure:1990: checking if running MachTen" >&5
580
# yet another Mach clone
581
if test -r /MachTen ; then
582
echo "$ac_t""yes" 1>&6
583
@@ -1994,7 +1996,7 @@
586
echo $ac_n "checking if on Pyramid""... $ac_c" 1>&6
587
-echo "configure:1998: checking if on Pyramid" >&5
588
+echo "configure:2000: checking if on Pyramid" >&5
589
if test -r /bin/pyr ; then
590
echo "$ac_t""yes" 1>&6
592
@@ -2004,7 +2006,7 @@
595
echo $ac_n "checking if on Apollo""... $ac_c" 1>&6
596
-echo "configure:2008: checking if on Apollo" >&5
597
+echo "configure:2010: checking if on Apollo" >&5
598
if test -r /usr/apollo/bin ; then
599
echo "$ac_t""yes" 1>&6
601
@@ -2014,7 +2016,7 @@
604
echo $ac_n "checking if on Interactive""... $ac_c" 1>&6
605
-echo "configure:2018: checking if on Interactive" >&5
606
+echo "configure:2020: checking if on Interactive" >&5
607
if test "x`(uname -s) 2>/dev/null`" = xIUNIX; then
608
echo "$ac_t""yes" 1>&6
610
@@ -2024,7 +2026,7 @@
613
echo $ac_n "checking if stty reads stdout""... $ac_c" 1>&6
614
-echo "configure:2028: checking if stty reads stdout" >&5
615
+echo "configure:2030: checking if stty reads stdout" >&5
617
# On some systems stty can't be run in the background (svr4) or get it
618
# wrong because they fail to complain (next, mach), so don't attempt
619
@@ -2080,7 +2082,7 @@
620
# Solaris 2.4 and later requires __EXTENSIONS__ in order to see all sorts
621
# of traditional but nonstandard stuff in header files.
622
echo $ac_n "checking if running Solaris""... $ac_c" 1>&6
623
-echo "configure:2084: checking if running Solaris" >&5
624
+echo "configure:2086: checking if running Solaris" >&5
627
*-*-solaris*) solaris=1;;
628
@@ -2100,12 +2102,12 @@
629
# On a few systems, libm.a is the same as libc.a
630
# Don't bother to test against Tcl and Tk libs, they always include -lm
631
echo $ac_n "checking for sin""... $ac_c" 1>&6
632
-echo "configure:2104: checking for sin" >&5
633
+echo "configure:2106: checking for sin" >&5
634
if eval "test \"`echo '$''{'ac_cv_func_sin'+set}'`\" = set"; then
635
echo $ac_n "(cached) $ac_c" 1>&6
637
cat > conftest.$ac_ext <<EOF
638
-#line 2109 "configure"
639
+#line 2111 "configure"
640
#include "confdefs.h"
641
/* System header to define __stub macros and hopefully few prototypes,
642
which can conflict with char sin(); below. */
643
@@ -2128,7 +2130,7 @@
647
-if { (eval echo configure:2132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
648
+if { (eval echo configure:2134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
650
eval "ac_cv_func_sin=yes"
652
@@ -2158,12 +2160,12 @@
654
LIBS=$EXP_AND_TCL_LIBS
655
echo $ac_n "checking for strftime""... $ac_c" 1>&6
656
-echo "configure:2162: checking for strftime" >&5
657
+echo "configure:2164: checking for strftime" >&5
658
if eval "test \"`echo '$''{'ac_cv_func_strftime'+set}'`\" = set"; then
659
echo $ac_n "(cached) $ac_c" 1>&6
661
cat > conftest.$ac_ext <<EOF
662
-#line 2167 "configure"
663
+#line 2169 "configure"
664
#include "confdefs.h"
665
/* System header to define __stub macros and hopefully few prototypes,
666
which can conflict with char strftime(); below. */
667
@@ -2186,7 +2188,7 @@
671
-if { (eval echo configure:2190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
672
+if { (eval echo configure:2192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
674
eval "ac_cv_func_strftime=yes"
676
@@ -2226,7 +2228,7 @@
679
echo $ac_n "checking for Tcl private headers""... $ac_c" 1>&6
680
-echo "configure:2230: checking for Tcl private headers" >&5
681
+echo "configure:2232: checking for Tcl private headers" >&5
682
# Check whether --with-tclinclude or --without-tclinclude was given.
683
if test "${with_tclinclude+set}" = set; then
684
withval="$with_tclinclude"
685
@@ -2297,17 +2299,17 @@
686
if test x"${ac_cv_c_tclh}" = x ; then
687
ac_safe=`echo "tclInt.h" | sed 'y%./+-%__p_%'`
688
echo $ac_n "checking for tclInt.h""... $ac_c" 1>&6
689
-echo "configure:2301: checking for tclInt.h" >&5
690
+echo "configure:2303: checking for tclInt.h" >&5
691
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
692
echo $ac_n "(cached) $ac_c" 1>&6
694
cat > conftest.$ac_ext <<EOF
695
-#line 2306 "configure"
696
+#line 2308 "configure"
697
#include "confdefs.h"
700
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
701
-{ (eval echo configure:2311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
702
+{ (eval echo configure:2313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
703
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
704
if test -z "$ac_err"; then
706
@@ -2368,7 +2370,7 @@
708
# have to know whether we're generating shared libs before configuring debugger
709
echo $ac_n "checking type of library to build""... $ac_c" 1>&6
710
-echo "configure:2372: checking type of library to build" >&5
711
+echo "configure:2374: checking type of library to build" >&5
712
# Check whether --enable-shared or --disable-shared was given.
713
if test "${enable_shared+set}" = set; then
714
enableval="$enable_shared"
715
@@ -2383,6 +2385,24 @@
716
echo "$ac_t""unshared" 1>&6
719
+# now see if we can/should use Tcl stubs
720
+echo $ac_n "checking whether to use Tcl stubs""... $ac_c" 1>&6
721
+echo "configure:2391: checking whether to use Tcl stubs" >&5
722
+# Check whether --enable-stubs or --disable-stubs was given.
723
+if test "${enable_stubs+set}" = set; then
724
+ enableval="$enable_stubs"
725
+ enable_stubs=$enableval
730
+if test "$enable_shared" = "yes" && test "$enable_stubs" = "yes" && test "x${TCL_SUPPORTS_STUBS}" = "x1"; then
731
+ echo "$ac_t""yes" 1>&6
732
+ EXP_CFLAGS="$EXP_CFLAGS -DUSE_TCL_STUBS"
734
+ echo "$ac_t""no" 1>&6
738
# Now that we've found the Tcl sources, configure the debugger
739
# this is a little tricky because it has its own configure script
740
@@ -2447,12 +2467,12 @@
741
# required by Sequent ptx2
742
unset ac_cv_func_gethostname
743
echo $ac_n "checking for gethostname""... $ac_c" 1>&6
744
-echo "configure:2451: checking for gethostname" >&5
745
+echo "configure:2471: checking for gethostname" >&5
746
if eval "test \"`echo '$''{'ac_cv_func_gethostname'+set}'`\" = set"; then
747
echo $ac_n "(cached) $ac_c" 1>&6
749
cat > conftest.$ac_ext <<EOF
750
-#line 2456 "configure"
751
+#line 2476 "configure"
752
#include "confdefs.h"
753
/* System header to define __stub macros and hopefully few prototypes,
754
which can conflict with char gethostname(); below. */
755
@@ -2475,7 +2495,7 @@
759
-if { (eval echo configure:2479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
760
+if { (eval echo configure:2499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
762
eval "ac_cv_func_gethostname=yes"
764
@@ -2498,7 +2518,7 @@
765
if test $gethostname -eq 0 ; then
766
unset ac_cv_lib_inet_gethostname
767
echo $ac_n "checking for gethostname in -linet""... $ac_c" 1>&6
768
-echo "configure:2502: checking for gethostname in -linet" >&5
769
+echo "configure:2522: checking for gethostname in -linet" >&5
770
ac_lib_var=`echo inet'_'gethostname | sed 'y%./+-%__p_%'`
771
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
772
echo $ac_n "(cached) $ac_c" 1>&6
773
@@ -2506,7 +2526,7 @@
776
cat > conftest.$ac_ext <<EOF
777
-#line 2510 "configure"
778
+#line 2530 "configure"
779
#include "confdefs.h"
780
/* Override any gcc2 internal prototype to avoid an error. */
781
/* We use char because int might match the return type of a gcc2
782
@@ -2517,7 +2537,7 @@
786
-if { (eval echo configure:2521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
787
+if { (eval echo configure:2541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
789
eval "ac_cv_lib_$ac_lib_var=yes"
791
@@ -2543,12 +2563,12 @@
792
LIBS=$EXP_AND_TCL_LIBS
793
unset ac_cv_func_gethostname
794
echo $ac_n "checking for gethostname""... $ac_c" 1>&6
795
-echo "configure:2547: checking for gethostname" >&5
796
+echo "configure:2567: checking for gethostname" >&5
797
if eval "test \"`echo '$''{'ac_cv_func_gethostname'+set}'`\" = set"; then
798
echo $ac_n "(cached) $ac_c" 1>&6
800
cat > conftest.$ac_ext <<EOF
801
-#line 2552 "configure"
802
+#line 2572 "configure"
803
#include "confdefs.h"
804
/* System header to define __stub macros and hopefully few prototypes,
805
which can conflict with char gethostname(); below. */
806
@@ -2571,7 +2591,7 @@
810
-if { (eval echo configure:2575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
811
+if { (eval echo configure:2595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
813
eval "ac_cv_func_gethostname=yes"
815
@@ -2594,7 +2614,7 @@
816
if test $gethostname -eq 0 ; then
817
unset ac_cv_lib_inet_gethostname
818
echo $ac_n "checking for gethostname in -linet""... $ac_c" 1>&6
819
-echo "configure:2598: checking for gethostname in -linet" >&5
820
+echo "configure:2618: checking for gethostname in -linet" >&5
821
ac_lib_var=`echo inet'_'gethostname | sed 'y%./+-%__p_%'`
822
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
823
echo $ac_n "(cached) $ac_c" 1>&6
824
@@ -2602,7 +2622,7 @@
827
cat > conftest.$ac_ext <<EOF
828
-#line 2606 "configure"
829
+#line 2626 "configure"
830
#include "confdefs.h"
831
/* Override any gcc2 internal prototype to avoid an error. */
832
/* We use char because int might match the return type of a gcc2
833
@@ -2613,7 +2633,7 @@
837
-if { (eval echo configure:2617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
838
+if { (eval echo configure:2637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
840
eval "ac_cv_lib_$ac_lib_var=yes"
842
@@ -2639,12 +2659,12 @@
843
LIBS=$EXP_AND_TK_LIBS
844
unset ac_cv_func_gethostname
845
echo $ac_n "checking for gethostname""... $ac_c" 1>&6
846
-echo "configure:2643: checking for gethostname" >&5
847
+echo "configure:2663: checking for gethostname" >&5
848
if eval "test \"`echo '$''{'ac_cv_func_gethostname'+set}'`\" = set"; then
849
echo $ac_n "(cached) $ac_c" 1>&6
851
cat > conftest.$ac_ext <<EOF
852
-#line 2648 "configure"
853
+#line 2668 "configure"
854
#include "confdefs.h"
855
/* System header to define __stub macros and hopefully few prototypes,
856
which can conflict with char gethostname(); below. */
857
@@ -2667,7 +2687,7 @@
861
-if { (eval echo configure:2671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
862
+if { (eval echo configure:2691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
864
eval "ac_cv_func_gethostname=yes"
866
@@ -2690,7 +2710,7 @@
867
if test $gethostname -eq 0 ; then
868
unset ac_cv_lib_inet_gethostname
869
echo $ac_n "checking for gethostname in -linet""... $ac_c" 1>&6
870
-echo "configure:2694: checking for gethostname in -linet" >&5
871
+echo "configure:2714: checking for gethostname in -linet" >&5
872
ac_lib_var=`echo inet'_'gethostname | sed 'y%./+-%__p_%'`
873
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
874
echo $ac_n "(cached) $ac_c" 1>&6
875
@@ -2698,7 +2718,7 @@
878
cat > conftest.$ac_ext <<EOF
879
-#line 2702 "configure"
880
+#line 2722 "configure"
881
#include "confdefs.h"
882
/* Override any gcc2 internal prototype to avoid an error. */
883
/* We use char because int might match the return type of a gcc2
884
@@ -2709,7 +2729,7 @@
888
-if { (eval echo configure:2713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
889
+if { (eval echo configure:2733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
891
eval "ac_cv_lib_$ac_lib_var=yes"
893
@@ -2738,12 +2758,12 @@
894
# required by Fischman's ISC 4.0
895
unset ac_cv_func_socket
896
echo $ac_n "checking for socket""... $ac_c" 1>&6
897
-echo "configure:2742: checking for socket" >&5
898
+echo "configure:2762: checking for socket" >&5
899
if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
900
echo $ac_n "(cached) $ac_c" 1>&6
902
cat > conftest.$ac_ext <<EOF
903
-#line 2747 "configure"
904
+#line 2767 "configure"
905
#include "confdefs.h"
906
/* System header to define __stub macros and hopefully few prototypes,
907
which can conflict with char socket(); below. */
908
@@ -2766,7 +2786,7 @@
912
-if { (eval echo configure:2770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
913
+if { (eval echo configure:2790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
915
eval "ac_cv_func_socket=yes"
917
@@ -2789,7 +2809,7 @@
918
if test $socket -eq 0 ; then
919
unset ac_cv_lib_inet_socket
920
echo $ac_n "checking for socket in -linet""... $ac_c" 1>&6
921
-echo "configure:2793: checking for socket in -linet" >&5
922
+echo "configure:2813: checking for socket in -linet" >&5
923
ac_lib_var=`echo inet'_'socket | sed 'y%./+-%__p_%'`
924
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
925
echo $ac_n "(cached) $ac_c" 1>&6
926
@@ -2797,7 +2817,7 @@
929
cat > conftest.$ac_ext <<EOF
930
-#line 2801 "configure"
931
+#line 2821 "configure"
932
#include "confdefs.h"
933
/* Override any gcc2 internal prototype to avoid an error. */
934
/* We use char because int might match the return type of a gcc2
935
@@ -2808,7 +2828,7 @@
939
-if { (eval echo configure:2812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
940
+if { (eval echo configure:2832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
942
eval "ac_cv_lib_$ac_lib_var=yes"
944
@@ -2834,12 +2854,12 @@
945
LIBS=$EXP_AND_TCL_LIBS
946
unset ac_cv_func_socket
947
echo $ac_n "checking for socket""... $ac_c" 1>&6
948
-echo "configure:2838: checking for socket" >&5
949
+echo "configure:2858: checking for socket" >&5
950
if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
951
echo $ac_n "(cached) $ac_c" 1>&6
953
cat > conftest.$ac_ext <<EOF
954
-#line 2843 "configure"
955
+#line 2863 "configure"
956
#include "confdefs.h"
957
/* System header to define __stub macros and hopefully few prototypes,
958
which can conflict with char socket(); below. */
959
@@ -2862,7 +2882,7 @@
963
-if { (eval echo configure:2866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
964
+if { (eval echo configure:2886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
966
eval "ac_cv_func_socket=yes"
968
@@ -2885,7 +2905,7 @@
969
if test $socket -eq 0 ; then
970
unset ac_cv_lib_inet_socket
971
echo $ac_n "checking for socket in -linet""... $ac_c" 1>&6
972
-echo "configure:2889: checking for socket in -linet" >&5
973
+echo "configure:2909: checking for socket in -linet" >&5
974
ac_lib_var=`echo inet'_'socket | sed 'y%./+-%__p_%'`
975
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
976
echo $ac_n "(cached) $ac_c" 1>&6
977
@@ -2893,7 +2913,7 @@
980
cat > conftest.$ac_ext <<EOF
981
-#line 2897 "configure"
982
+#line 2917 "configure"
983
#include "confdefs.h"
984
/* Override any gcc2 internal prototype to avoid an error. */
985
/* We use char because int might match the return type of a gcc2
986
@@ -2904,7 +2924,7 @@
990
-if { (eval echo configure:2908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
991
+if { (eval echo configure:2928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
993
eval "ac_cv_lib_$ac_lib_var=yes"
995
@@ -2930,12 +2950,12 @@
996
LIBS=$EXP_AND_TK_LIBS
997
unset ac_cv_func_socket
998
echo $ac_n "checking for socket""... $ac_c" 1>&6
999
-echo "configure:2934: checking for socket" >&5
1000
+echo "configure:2954: checking for socket" >&5
1001
if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
1002
echo $ac_n "(cached) $ac_c" 1>&6
1004
cat > conftest.$ac_ext <<EOF
1005
-#line 2939 "configure"
1006
+#line 2959 "configure"
1007
#include "confdefs.h"
1008
/* System header to define __stub macros and hopefully few prototypes,
1009
which can conflict with char socket(); below. */
1010
@@ -2958,7 +2978,7 @@
1014
-if { (eval echo configure:2962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1015
+if { (eval echo configure:2982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1017
eval "ac_cv_func_socket=yes"
1019
@@ -2981,7 +3001,7 @@
1020
if test $socket -eq 0 ; then
1021
unset ac_cv_lib_inet_socket
1022
echo $ac_n "checking for socket in -linet""... $ac_c" 1>&6
1023
-echo "configure:2985: checking for socket in -linet" >&5
1024
+echo "configure:3005: checking for socket in -linet" >&5
1025
ac_lib_var=`echo inet'_'socket | sed 'y%./+-%__p_%'`
1026
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1027
echo $ac_n "(cached) $ac_c" 1>&6
1028
@@ -2989,7 +3009,7 @@
1029
ac_save_LIBS="$LIBS"
1031
cat > conftest.$ac_ext <<EOF
1032
-#line 2993 "configure"
1033
+#line 3013 "configure"
1034
#include "confdefs.h"
1035
/* Override any gcc2 internal prototype to avoid an error. */
1036
/* We use char because int might match the return type of a gcc2
1037
@@ -3000,7 +3020,7 @@
1041
-if { (eval echo configure:3004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1042
+if { (eval echo configure:3024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1044
eval "ac_cv_lib_$ac_lib_var=yes"
1046
@@ -3028,12 +3048,12 @@
1047
######################################################################
1048
unset ac_cv_func_select
1049
echo $ac_n "checking for select""... $ac_c" 1>&6
1050
-echo "configure:3032: checking for select" >&5
1051
+echo "configure:3052: checking for select" >&5
1052
if eval "test \"`echo '$''{'ac_cv_func_select'+set}'`\" = set"; then
1053
echo $ac_n "(cached) $ac_c" 1>&6
1055
cat > conftest.$ac_ext <<EOF
1056
-#line 3037 "configure"
1057
+#line 3057 "configure"
1058
#include "confdefs.h"
1059
/* System header to define __stub macros and hopefully few prototypes,
1060
which can conflict with char select(); below. */
1061
@@ -3056,7 +3076,7 @@
1065
-if { (eval echo configure:3060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1066
+if { (eval echo configure:3080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1068
eval "ac_cv_func_select=yes"
1070
@@ -3079,7 +3099,7 @@
1071
if test $select -eq 0 ; then
1072
unset ac_cv_lib_inet_select
1073
echo $ac_n "checking for select in -linet""... $ac_c" 1>&6
1074
-echo "configure:3083: checking for select in -linet" >&5
1075
+echo "configure:3103: checking for select in -linet" >&5
1076
ac_lib_var=`echo inet'_'select | sed 'y%./+-%__p_%'`
1077
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1078
echo $ac_n "(cached) $ac_c" 1>&6
1079
@@ -3087,7 +3107,7 @@
1080
ac_save_LIBS="$LIBS"
1082
cat > conftest.$ac_ext <<EOF
1083
-#line 3091 "configure"
1084
+#line 3111 "configure"
1085
#include "confdefs.h"
1086
/* Override any gcc2 internal prototype to avoid an error. */
1087
/* We use char because int might match the return type of a gcc2
1088
@@ -3098,7 +3118,7 @@
1092
-if { (eval echo configure:3102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1093
+if { (eval echo configure:3122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1095
eval "ac_cv_lib_$ac_lib_var=yes"
1097
@@ -3124,12 +3144,12 @@
1098
LIBS=$EXP_AND_TCL_LIBS
1099
unset ac_cv_func_select
1100
echo $ac_n "checking for select""... $ac_c" 1>&6
1101
-echo "configure:3128: checking for select" >&5
1102
+echo "configure:3148: checking for select" >&5
1103
if eval "test \"`echo '$''{'ac_cv_func_select'+set}'`\" = set"; then
1104
echo $ac_n "(cached) $ac_c" 1>&6
1106
cat > conftest.$ac_ext <<EOF
1107
-#line 3133 "configure"
1108
+#line 3153 "configure"
1109
#include "confdefs.h"
1110
/* System header to define __stub macros and hopefully few prototypes,
1111
which can conflict with char select(); below. */
1112
@@ -3152,7 +3172,7 @@
1116
-if { (eval echo configure:3156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1117
+if { (eval echo configure:3176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1119
eval "ac_cv_func_select=yes"
1121
@@ -3175,7 +3195,7 @@
1122
if test $select -eq 0 ; then
1123
unset ac_cv_lib_inet_select
1124
echo $ac_n "checking for select in -linet""... $ac_c" 1>&6
1125
-echo "configure:3179: checking for select in -linet" >&5
1126
+echo "configure:3199: checking for select in -linet" >&5
1127
ac_lib_var=`echo inet'_'select | sed 'y%./+-%__p_%'`
1128
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1129
echo $ac_n "(cached) $ac_c" 1>&6
1130
@@ -3183,7 +3203,7 @@
1131
ac_save_LIBS="$LIBS"
1133
cat > conftest.$ac_ext <<EOF
1134
-#line 3187 "configure"
1135
+#line 3207 "configure"
1136
#include "confdefs.h"
1137
/* Override any gcc2 internal prototype to avoid an error. */
1138
/* We use char because int might match the return type of a gcc2
1139
@@ -3194,7 +3214,7 @@
1143
-if { (eval echo configure:3198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1144
+if { (eval echo configure:3218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1146
eval "ac_cv_lib_$ac_lib_var=yes"
1148
@@ -3220,12 +3240,12 @@
1149
LIBS=$EXP_AND_TK_LIBS
1150
unset ac_cv_func_select
1151
echo $ac_n "checking for select""... $ac_c" 1>&6
1152
-echo "configure:3224: checking for select" >&5
1153
+echo "configure:3244: checking for select" >&5
1154
if eval "test \"`echo '$''{'ac_cv_func_select'+set}'`\" = set"; then
1155
echo $ac_n "(cached) $ac_c" 1>&6
1157
cat > conftest.$ac_ext <<EOF
1158
-#line 3229 "configure"
1159
+#line 3249 "configure"
1160
#include "confdefs.h"
1161
/* System header to define __stub macros and hopefully few prototypes,
1162
which can conflict with char select(); below. */
1163
@@ -3248,7 +3268,7 @@
1167
-if { (eval echo configure:3252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1168
+if { (eval echo configure:3272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1170
eval "ac_cv_func_select=yes"
1172
@@ -3271,7 +3291,7 @@
1173
if test $select -eq 0 ; then
1174
unset ac_cv_lib_inet_select
1175
echo $ac_n "checking for select in -linet""... $ac_c" 1>&6
1176
-echo "configure:3275: checking for select in -linet" >&5
1177
+echo "configure:3295: checking for select in -linet" >&5
1178
ac_lib_var=`echo inet'_'select | sed 'y%./+-%__p_%'`
1179
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1180
echo $ac_n "(cached) $ac_c" 1>&6
1181
@@ -3279,7 +3299,7 @@
1182
ac_save_LIBS="$LIBS"
1184
cat > conftest.$ac_ext <<EOF
1185
-#line 3283 "configure"
1186
+#line 3303 "configure"
1187
#include "confdefs.h"
1188
/* Override any gcc2 internal prototype to avoid an error. */
1189
/* We use char because int might match the return type of a gcc2
1190
@@ -3290,7 +3310,7 @@
1194
-if { (eval echo configure:3294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1195
+if { (eval echo configure:3314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1197
eval "ac_cv_lib_$ac_lib_var=yes"
1199
@@ -3318,12 +3338,12 @@
1200
######################################################################
1201
unset ac_cv_func_getpseudotty
1202
echo $ac_n "checking for getpseudotty""... $ac_c" 1>&6
1203
-echo "configure:3322: checking for getpseudotty" >&5
1204
+echo "configure:3342: checking for getpseudotty" >&5
1205
if eval "test \"`echo '$''{'ac_cv_func_getpseudotty'+set}'`\" = set"; then
1206
echo $ac_n "(cached) $ac_c" 1>&6
1208
cat > conftest.$ac_ext <<EOF
1209
-#line 3327 "configure"
1210
+#line 3347 "configure"
1211
#include "confdefs.h"
1212
/* System header to define __stub macros and hopefully few prototypes,
1213
which can conflict with char getpseudotty(); below. */
1214
@@ -3346,7 +3366,7 @@
1218
-if { (eval echo configure:3350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1219
+if { (eval echo configure:3370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1221
eval "ac_cv_func_getpseudotty=yes"
1223
@@ -3369,7 +3389,7 @@
1224
if test $getpseudotty -eq 0 ; then
1225
unset ac_cv_lib_seq_getpseudotty
1226
echo $ac_n "checking for getpseudotty in -lseq""... $ac_c" 1>&6
1227
-echo "configure:3373: checking for getpseudotty in -lseq" >&5
1228
+echo "configure:3393: checking for getpseudotty in -lseq" >&5
1229
ac_lib_var=`echo seq'_'getpseudotty | sed 'y%./+-%__p_%'`
1230
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1231
echo $ac_n "(cached) $ac_c" 1>&6
1232
@@ -3377,7 +3397,7 @@
1233
ac_save_LIBS="$LIBS"
1235
cat > conftest.$ac_ext <<EOF
1236
-#line 3381 "configure"
1237
+#line 3401 "configure"
1238
#include "confdefs.h"
1239
/* Override any gcc2 internal prototype to avoid an error. */
1240
/* We use char because int might match the return type of a gcc2
1241
@@ -3388,7 +3408,7 @@
1245
-if { (eval echo configure:3392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1246
+if { (eval echo configure:3412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1248
eval "ac_cv_lib_$ac_lib_var=yes"
1250
@@ -3421,12 +3441,12 @@
1251
LIBS=$EXP_AND_TCL_LIBS
1252
unset ac_cv_func_getpseudotty
1253
echo $ac_n "checking for getpseudotty""... $ac_c" 1>&6
1254
-echo "configure:3425: checking for getpseudotty" >&5
1255
+echo "configure:3445: checking for getpseudotty" >&5
1256
if eval "test \"`echo '$''{'ac_cv_func_getpseudotty'+set}'`\" = set"; then
1257
echo $ac_n "(cached) $ac_c" 1>&6
1259
cat > conftest.$ac_ext <<EOF
1260
-#line 3430 "configure"
1261
+#line 3450 "configure"
1262
#include "confdefs.h"
1263
/* System header to define __stub macros and hopefully few prototypes,
1264
which can conflict with char getpseudotty(); below. */
1265
@@ -3449,7 +3469,7 @@
1269
-if { (eval echo configure:3453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1270
+if { (eval echo configure:3473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1272
eval "ac_cv_func_getpseudotty=yes"
1274
@@ -3472,7 +3492,7 @@
1275
if test $getpseudotty -eq 0 ; then
1276
unset ac_cv_lib_seq_getpseudotty
1277
echo $ac_n "checking for getpseudotty in -lseq""... $ac_c" 1>&6
1278
-echo "configure:3476: checking for getpseudotty in -lseq" >&5
1279
+echo "configure:3496: checking for getpseudotty in -lseq" >&5
1280
ac_lib_var=`echo seq'_'getpseudotty | sed 'y%./+-%__p_%'`
1281
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1282
echo $ac_n "(cached) $ac_c" 1>&6
1283
@@ -3480,7 +3500,7 @@
1284
ac_save_LIBS="$LIBS"
1286
cat > conftest.$ac_ext <<EOF
1287
-#line 3484 "configure"
1288
+#line 3504 "configure"
1289
#include "confdefs.h"
1290
/* Override any gcc2 internal prototype to avoid an error. */
1291
/* We use char because int might match the return type of a gcc2
1292
@@ -3491,7 +3511,7 @@
1296
-if { (eval echo configure:3495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1297
+if { (eval echo configure:3515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1299
eval "ac_cv_lib_$ac_lib_var=yes"
1301
@@ -3524,12 +3544,12 @@
1302
LIBS=$EXP_AND_TK_LIBS
1303
unset ac_cv_func_getpseudotty
1304
echo $ac_n "checking for getpseudotty""... $ac_c" 1>&6
1305
-echo "configure:3528: checking for getpseudotty" >&5
1306
+echo "configure:3548: checking for getpseudotty" >&5
1307
if eval "test \"`echo '$''{'ac_cv_func_getpseudotty'+set}'`\" = set"; then
1308
echo $ac_n "(cached) $ac_c" 1>&6
1310
cat > conftest.$ac_ext <<EOF
1311
-#line 3533 "configure"
1312
+#line 3553 "configure"
1313
#include "confdefs.h"
1314
/* System header to define __stub macros and hopefully few prototypes,
1315
which can conflict with char getpseudotty(); below. */
1316
@@ -3552,7 +3572,7 @@
1320
-if { (eval echo configure:3556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1321
+if { (eval echo configure:3576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1323
eval "ac_cv_func_getpseudotty=yes"
1325
@@ -3575,7 +3595,7 @@
1326
if test $getpseudotty -eq 0 ; then
1327
unset ac_cv_lib_seq_getpseudotty
1328
echo $ac_n "checking for getpseudotty in -lseq""... $ac_c" 1>&6
1329
-echo "configure:3579: checking for getpseudotty in -lseq" >&5
1330
+echo "configure:3599: checking for getpseudotty in -lseq" >&5
1331
ac_lib_var=`echo seq'_'getpseudotty | sed 'y%./+-%__p_%'`
1332
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1333
echo $ac_n "(cached) $ac_c" 1>&6
1334
@@ -3583,7 +3603,7 @@
1335
ac_save_LIBS="$LIBS"
1337
cat > conftest.$ac_ext <<EOF
1338
-#line 3587 "configure"
1339
+#line 3607 "configure"
1340
#include "confdefs.h"
1341
/* Override any gcc2 internal prototype to avoid an error. */
1342
/* We use char because int might match the return type of a gcc2
1343
@@ -3594,7 +3614,7 @@
1347
-if { (eval echo configure:3598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1348
+if { (eval echo configure:3618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1350
eval "ac_cv_lib_$ac_lib_var=yes"
1352
@@ -3630,12 +3650,12 @@
1353
# Check for FreeBSD/NetBSD openpty()
1354
unset ac_cv_func_openpty
1355
echo $ac_n "checking for openpty""... $ac_c" 1>&6
1356
-echo "configure:3634: checking for openpty" >&5
1357
+echo "configure:3654: checking for openpty" >&5
1358
if eval "test \"`echo '$''{'ac_cv_func_openpty'+set}'`\" = set"; then
1359
echo $ac_n "(cached) $ac_c" 1>&6
1361
cat > conftest.$ac_ext <<EOF
1362
-#line 3639 "configure"
1363
+#line 3659 "configure"
1364
#include "confdefs.h"
1365
/* System header to define __stub macros and hopefully few prototypes,
1366
which can conflict with char openpty(); below. */
1367
@@ -3658,7 +3678,7 @@
1371
-if { (eval echo configure:3662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1372
+if { (eval echo configure:3682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1374
eval "ac_cv_func_openpty=yes"
1376
@@ -3681,7 +3701,7 @@
1377
if test $openpty -eq 0 ; then
1378
unset ac_cv_lib_util_openpty
1379
echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6
1380
-echo "configure:3685: checking for openpty in -lutil" >&5
1381
+echo "configure:3705: checking for openpty in -lutil" >&5
1382
ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'`
1383
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1384
echo $ac_n "(cached) $ac_c" 1>&6
1385
@@ -3689,7 +3709,7 @@
1386
ac_save_LIBS="$LIBS"
1388
cat > conftest.$ac_ext <<EOF
1389
-#line 3693 "configure"
1390
+#line 3713 "configure"
1391
#include "confdefs.h"
1392
/* Override any gcc2 internal prototype to avoid an error. */
1393
/* We use char because int might match the return type of a gcc2
1394
@@ -3700,7 +3720,7 @@
1398
-if { (eval echo configure:3704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1399
+if { (eval echo configure:3724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1401
eval "ac_cv_lib_$ac_lib_var=yes"
1403
@@ -3735,12 +3755,12 @@
1404
LIBS=$EXP_AND_TCL_LIBS
1405
unset ac_cv_func_openpty
1406
echo $ac_n "checking for openpty""... $ac_c" 1>&6
1407
-echo "configure:3739: checking for openpty" >&5
1408
+echo "configure:3759: checking for openpty" >&5
1409
if eval "test \"`echo '$''{'ac_cv_func_openpty'+set}'`\" = set"; then
1410
echo $ac_n "(cached) $ac_c" 1>&6
1412
cat > conftest.$ac_ext <<EOF
1413
-#line 3744 "configure"
1414
+#line 3764 "configure"
1415
#include "confdefs.h"
1416
/* System header to define __stub macros and hopefully few prototypes,
1417
which can conflict with char openpty(); below. */
1418
@@ -3763,7 +3783,7 @@
1422
-if { (eval echo configure:3767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1423
+if { (eval echo configure:3787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1425
eval "ac_cv_func_openpty=yes"
1427
@@ -3786,7 +3806,7 @@
1428
if test $openpty -eq 0 ; then
1429
unset ac_cv_lib_util_openpty
1430
echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6
1431
-echo "configure:3790: checking for openpty in -lutil" >&5
1432
+echo "configure:3810: checking for openpty in -lutil" >&5
1433
ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'`
1434
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1435
echo $ac_n "(cached) $ac_c" 1>&6
1436
@@ -3794,7 +3814,7 @@
1437
ac_save_LIBS="$LIBS"
1439
cat > conftest.$ac_ext <<EOF
1440
-#line 3798 "configure"
1441
+#line 3818 "configure"
1442
#include "confdefs.h"
1443
/* Override any gcc2 internal prototype to avoid an error. */
1444
/* We use char because int might match the return type of a gcc2
1445
@@ -3805,7 +3825,7 @@
1449
-if { (eval echo configure:3809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1450
+if { (eval echo configure:3829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1452
eval "ac_cv_lib_$ac_lib_var=yes"
1454
@@ -3837,12 +3857,12 @@
1455
LIBS=$EXP_AND_TK_LIBS
1456
unset ac_cv_func_openpty
1457
echo $ac_n "checking for openpty""... $ac_c" 1>&6
1458
-echo "configure:3841: checking for openpty" >&5
1459
+echo "configure:3861: checking for openpty" >&5
1460
if eval "test \"`echo '$''{'ac_cv_func_openpty'+set}'`\" = set"; then
1461
echo $ac_n "(cached) $ac_c" 1>&6
1463
cat > conftest.$ac_ext <<EOF
1464
-#line 3846 "configure"
1465
+#line 3866 "configure"
1466
#include "confdefs.h"
1467
/* System header to define __stub macros and hopefully few prototypes,
1468
which can conflict with char openpty(); below. */
1469
@@ -3865,7 +3885,7 @@
1473
-if { (eval echo configure:3869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1474
+if { (eval echo configure:3889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1476
eval "ac_cv_func_openpty=yes"
1478
@@ -3888,7 +3908,7 @@
1479
if test $openpty -eq 0 ; then
1480
unset ac_cv_lib_util_openpty
1481
echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6
1482
-echo "configure:3892: checking for openpty in -lutil" >&5
1483
+echo "configure:3912: checking for openpty in -lutil" >&5
1484
ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'`
1485
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1486
echo $ac_n "(cached) $ac_c" 1>&6
1487
@@ -3896,7 +3916,7 @@
1488
ac_save_LIBS="$LIBS"
1490
cat > conftest.$ac_ext <<EOF
1491
-#line 3900 "configure"
1492
+#line 3920 "configure"
1493
#include "confdefs.h"
1494
/* Override any gcc2 internal prototype to avoid an error. */
1495
/* We use char because int might match the return type of a gcc2
1496
@@ -3907,7 +3927,7 @@
1500
-if { (eval echo configure:3911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1501
+if { (eval echo configure:3931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1503
eval "ac_cv_lib_$ac_lib_var=yes"
1505
@@ -3945,7 +3965,7 @@
1506
# Hand patches to library/func checking.
1508
echo $ac_n "checking if running Sequent running SVR4""... $ac_c" 1>&6
1509
-echo "configure:3949: checking if running Sequent running SVR4" >&5
1510
+echo "configure:3969: checking if running Sequent running SVR4" >&5
1511
if test "$host_alias" = "i386-sequent-sysv4" ; then
1512
EXP_AND_TCL_LIBS="-lnsl -lsocket -lm"
1513
echo "$ac_t""yes" 1>&6
1514
@@ -3959,17 +3979,17 @@
1516
ac_safe=`echo "sys/sysmacros.h" | sed 'y%./+-%__p_%'`
1517
echo $ac_n "checking for sys/sysmacros.h""... $ac_c" 1>&6
1518
-echo "configure:3963: checking for sys/sysmacros.h" >&5
1519
+echo "configure:3983: checking for sys/sysmacros.h" >&5
1520
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1521
echo $ac_n "(cached) $ac_c" 1>&6
1523
cat > conftest.$ac_ext <<EOF
1524
-#line 3968 "configure"
1525
+#line 3988 "configure"
1526
#include "confdefs.h"
1527
#include <sys/sysmacros.h>
1529
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1530
-{ (eval echo configure:3973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1531
+{ (eval echo configure:3993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1532
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1533
if test -z "$ac_err"; then
1535
@@ -3995,17 +4015,17 @@
1537
ac_safe=`echo "stdlib.h" | sed 'y%./+-%__p_%'`
1538
echo $ac_n "checking for stdlib.h""... $ac_c" 1>&6
1539
-echo "configure:3999: checking for stdlib.h" >&5
1540
+echo "configure:4019: checking for stdlib.h" >&5
1541
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1542
echo $ac_n "(cached) $ac_c" 1>&6
1544
cat > conftest.$ac_ext <<EOF
1545
-#line 4004 "configure"
1546
+#line 4024 "configure"
1547
#include "confdefs.h"
1550
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1551
-{ (eval echo configure:4009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1552
+{ (eval echo configure:4029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1553
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1554
if test -z "$ac_err"; then
1556
@@ -4032,17 +4052,17 @@
1558
ac_safe=`echo "inttypes.h" | sed 'y%./+-%__p_%'`
1559
echo $ac_n "checking for inttypes.h""... $ac_c" 1>&6
1560
-echo "configure:4036: checking for inttypes.h" >&5
1561
+echo "configure:4056: checking for inttypes.h" >&5
1562
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1563
echo $ac_n "(cached) $ac_c" 1>&6
1565
cat > conftest.$ac_ext <<EOF
1566
-#line 4041 "configure"
1567
+#line 4061 "configure"
1568
#include "confdefs.h"
1569
#include <inttypes.h>
1571
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1572
-{ (eval echo configure:4046: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1573
+{ (eval echo configure:4066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1574
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1575
if test -z "$ac_err"; then
1577
@@ -4072,17 +4092,17 @@
1579
ac_safe=`echo "varargs.h" | sed 'y%./+-%__p_%'`
1580
echo $ac_n "checking for varargs.h""... $ac_c" 1>&6
1581
-echo "configure:4076: checking for varargs.h" >&5
1582
+echo "configure:4096: checking for varargs.h" >&5
1583
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1584
echo $ac_n "(cached) $ac_c" 1>&6
1586
cat > conftest.$ac_ext <<EOF
1587
-#line 4081 "configure"
1588
+#line 4101 "configure"
1589
#include "confdefs.h"
1590
#include <varargs.h>
1592
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1593
-{ (eval echo configure:4086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1594
+{ (eval echo configure:4106: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1595
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1596
if test -z "$ac_err"; then
1598
@@ -4108,17 +4128,17 @@
1600
ac_safe=`echo "unistd.h" | sed 'y%./+-%__p_%'`
1601
echo $ac_n "checking for unistd.h""... $ac_c" 1>&6
1602
-echo "configure:4112: checking for unistd.h" >&5
1603
+echo "configure:4132: checking for unistd.h" >&5
1604
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1605
echo $ac_n "(cached) $ac_c" 1>&6
1607
cat > conftest.$ac_ext <<EOF
1608
-#line 4117 "configure"
1609
+#line 4137 "configure"
1610
#include "confdefs.h"
1613
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1614
-{ (eval echo configure:4122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1615
+{ (eval echo configure:4142: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1616
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1617
if test -z "$ac_err"; then
1619
@@ -4144,17 +4164,17 @@
1621
ac_safe=`echo "sys/stropts.h" | sed 'y%./+-%__p_%'`
1622
echo $ac_n "checking for sys/stropts.h""... $ac_c" 1>&6
1623
-echo "configure:4148: checking for sys/stropts.h" >&5
1624
+echo "configure:4168: checking for sys/stropts.h" >&5
1625
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1626
echo $ac_n "(cached) $ac_c" 1>&6
1628
cat > conftest.$ac_ext <<EOF
1629
-#line 4153 "configure"
1630
+#line 4173 "configure"
1631
#include "confdefs.h"
1632
#include <sys/stropts.h>
1634
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1635
-{ (eval echo configure:4158: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1636
+{ (eval echo configure:4178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1637
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1638
if test -z "$ac_err"; then
1640
@@ -4180,17 +4200,17 @@
1642
ac_safe=`echo "sys/sysconfig.h" | sed 'y%./+-%__p_%'`
1643
echo $ac_n "checking for sys/sysconfig.h""... $ac_c" 1>&6
1644
-echo "configure:4184: checking for sys/sysconfig.h" >&5
1645
+echo "configure:4204: checking for sys/sysconfig.h" >&5
1646
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1647
echo $ac_n "(cached) $ac_c" 1>&6
1649
cat > conftest.$ac_ext <<EOF
1650
-#line 4189 "configure"
1651
+#line 4209 "configure"
1652
#include "confdefs.h"
1653
#include <sys/sysconfig.h>
1655
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1656
-{ (eval echo configure:4194: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1657
+{ (eval echo configure:4214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1658
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1659
if test -z "$ac_err"; then
1661
@@ -4216,17 +4236,17 @@
1663
ac_safe=`echo "sys/fcntl.h" | sed 'y%./+-%__p_%'`
1664
echo $ac_n "checking for sys/fcntl.h""... $ac_c" 1>&6
1665
-echo "configure:4220: checking for sys/fcntl.h" >&5
1666
+echo "configure:4240: checking for sys/fcntl.h" >&5
1667
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1668
echo $ac_n "(cached) $ac_c" 1>&6
1670
cat > conftest.$ac_ext <<EOF
1671
-#line 4225 "configure"
1672
+#line 4245 "configure"
1673
#include "confdefs.h"
1674
#include <sys/fcntl.h>
1676
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1677
-{ (eval echo configure:4230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1678
+{ (eval echo configure:4250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1679
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1680
if test -z "$ac_err"; then
1682
@@ -4252,17 +4272,17 @@
1684
ac_safe=`echo "sys/select.h" | sed 'y%./+-%__p_%'`
1685
echo $ac_n "checking for sys/select.h""... $ac_c" 1>&6
1686
-echo "configure:4256: checking for sys/select.h" >&5
1687
+echo "configure:4276: checking for sys/select.h" >&5
1688
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1689
echo $ac_n "(cached) $ac_c" 1>&6
1691
cat > conftest.$ac_ext <<EOF
1692
-#line 4261 "configure"
1693
+#line 4281 "configure"
1694
#include "confdefs.h"
1695
#include <sys/select.h>
1697
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1698
-{ (eval echo configure:4266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1699
+{ (eval echo configure:4286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1700
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1701
if test -z "$ac_err"; then
1703
@@ -4288,17 +4308,17 @@
1705
ac_safe=`echo "sys/time.h" | sed 'y%./+-%__p_%'`
1706
echo $ac_n "checking for sys/time.h""... $ac_c" 1>&6
1707
-echo "configure:4292: checking for sys/time.h" >&5
1708
+echo "configure:4312: checking for sys/time.h" >&5
1709
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1710
echo $ac_n "(cached) $ac_c" 1>&6
1712
cat > conftest.$ac_ext <<EOF
1713
-#line 4297 "configure"
1714
+#line 4317 "configure"
1715
#include "confdefs.h"
1716
#include <sys/time.h>
1718
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1719
-{ (eval echo configure:4302: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1720
+{ (eval echo configure:4322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1721
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1722
if test -z "$ac_err"; then
1724
@@ -4324,17 +4344,17 @@
1726
ac_safe=`echo "sys/ptem.h" | sed 'y%./+-%__p_%'`
1727
echo $ac_n "checking for sys/ptem.h""... $ac_c" 1>&6
1728
-echo "configure:4328: checking for sys/ptem.h" >&5
1729
+echo "configure:4348: checking for sys/ptem.h" >&5
1730
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1731
echo $ac_n "(cached) $ac_c" 1>&6
1733
cat > conftest.$ac_ext <<EOF
1734
-#line 4333 "configure"
1735
+#line 4353 "configure"
1736
#include "confdefs.h"
1737
#include <sys/ptem.h>
1739
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1740
-{ (eval echo configure:4338: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1741
+{ (eval echo configure:4358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1742
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1743
if test -z "$ac_err"; then
1745
@@ -4360,17 +4380,17 @@
1747
ac_safe=`echo "sys/strredir.h" | sed 'y%./+-%__p_%'`
1748
echo $ac_n "checking for sys/strredir.h""... $ac_c" 1>&6
1749
-echo "configure:4364: checking for sys/strredir.h" >&5
1750
+echo "configure:4384: checking for sys/strredir.h" >&5
1751
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1752
echo $ac_n "(cached) $ac_c" 1>&6
1754
cat > conftest.$ac_ext <<EOF
1755
-#line 4369 "configure"
1756
+#line 4389 "configure"
1757
#include "confdefs.h"
1758
#include <sys/strredir.h>
1760
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1761
-{ (eval echo configure:4374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1762
+{ (eval echo configure:4394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1763
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1764
if test -z "$ac_err"; then
1766
@@ -4396,17 +4416,17 @@
1768
ac_safe=`echo "sys/strpty.h" | sed 'y%./+-%__p_%'`
1769
echo $ac_n "checking for sys/strpty.h""... $ac_c" 1>&6
1770
-echo "configure:4400: checking for sys/strpty.h" >&5
1771
+echo "configure:4420: checking for sys/strpty.h" >&5
1772
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1773
echo $ac_n "(cached) $ac_c" 1>&6
1775
cat > conftest.$ac_ext <<EOF
1776
-#line 4405 "configure"
1777
+#line 4425 "configure"
1778
#include "confdefs.h"
1779
#include <sys/strpty.h>
1781
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1782
-{ (eval echo configure:4410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1783
+{ (eval echo configure:4430: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1784
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1785
if test -z "$ac_err"; then
1787
@@ -4433,7 +4453,7 @@
1790
echo $ac_n "checking for sys/bsdtypes.h""... $ac_c" 1>&6
1791
-echo "configure:4437: checking for sys/bsdtypes.h" >&5
1792
+echo "configure:4457: checking for sys/bsdtypes.h" >&5
1793
if test "ISC_${ISC}" = "ISC_1" ; then
1794
echo "$ac_t""yes" 1>&6
1795
# if on ISC 1, we need <sys/bsdtypes.h> to get FD_SET macros
1796
@@ -4441,17 +4461,17 @@
1798
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1799
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1800
-echo "configure:4445: checking for $ac_hdr" >&5
1801
+echo "configure:4465: checking for $ac_hdr" >&5
1802
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1803
echo $ac_n "(cached) $ac_c" 1>&6
1805
cat > conftest.$ac_ext <<EOF
1806
-#line 4450 "configure"
1807
+#line 4470 "configure"
1808
#include "confdefs.h"
1811
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1812
-{ (eval echo configure:4455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1813
+{ (eval echo configure:4475: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1814
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1815
if test -z "$ac_err"; then
1817
@@ -4485,12 +4505,12 @@
1818
# Look for functions that may be missing
1820
echo $ac_n "checking for memmove""... $ac_c" 1>&6
1821
-echo "configure:4489: checking for memmove" >&5
1822
+echo "configure:4509: checking for memmove" >&5
1823
if eval "test \"`echo '$''{'ac_cv_func_memmove'+set}'`\" = set"; then
1824
echo $ac_n "(cached) $ac_c" 1>&6
1826
cat > conftest.$ac_ext <<EOF
1827
-#line 4494 "configure"
1828
+#line 4514 "configure"
1829
#include "confdefs.h"
1830
/* System header to define __stub macros and hopefully few prototypes,
1831
which can conflict with char memmove(); below. */
1832
@@ -4513,7 +4533,7 @@
1836
-if { (eval echo configure:4517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1837
+if { (eval echo configure:4537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1839
eval "ac_cv_func_memmove=yes"
1841
@@ -4536,12 +4556,12 @@
1844
echo $ac_n "checking for sysconf""... $ac_c" 1>&6
1845
-echo "configure:4540: checking for sysconf" >&5
1846
+echo "configure:4560: checking for sysconf" >&5
1847
if eval "test \"`echo '$''{'ac_cv_func_sysconf'+set}'`\" = set"; then
1848
echo $ac_n "(cached) $ac_c" 1>&6
1850
cat > conftest.$ac_ext <<EOF
1851
-#line 4545 "configure"
1852
+#line 4565 "configure"
1853
#include "confdefs.h"
1854
/* System header to define __stub macros and hopefully few prototypes,
1855
which can conflict with char sysconf(); below. */
1856
@@ -4564,7 +4584,7 @@
1860
-if { (eval echo configure:4568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1861
+if { (eval echo configure:4588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1863
eval "ac_cv_func_sysconf=yes"
1865
@@ -4587,12 +4607,12 @@
1868
echo $ac_n "checking for strftime""... $ac_c" 1>&6
1869
-echo "configure:4591: checking for strftime" >&5
1870
+echo "configure:4611: checking for strftime" >&5
1871
if eval "test \"`echo '$''{'ac_cv_func_strftime'+set}'`\" = set"; then
1872
echo $ac_n "(cached) $ac_c" 1>&6
1874
cat > conftest.$ac_ext <<EOF
1875
-#line 4596 "configure"
1876
+#line 4616 "configure"
1877
#include "confdefs.h"
1878
/* System header to define __stub macros and hopefully few prototypes,
1879
which can conflict with char strftime(); below. */
1880
@@ -4615,7 +4635,7 @@
1884
-if { (eval echo configure:4619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1885
+if { (eval echo configure:4639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1887
eval "ac_cv_func_strftime=yes"
1889
@@ -4638,12 +4658,12 @@
1892
echo $ac_n "checking for strchr""... $ac_c" 1>&6
1893
-echo "configure:4642: checking for strchr" >&5
1894
+echo "configure:4662: checking for strchr" >&5
1895
if eval "test \"`echo '$''{'ac_cv_func_strchr'+set}'`\" = set"; then
1896
echo $ac_n "(cached) $ac_c" 1>&6
1898
cat > conftest.$ac_ext <<EOF
1899
-#line 4647 "configure"
1900
+#line 4667 "configure"
1901
#include "confdefs.h"
1902
/* System header to define __stub macros and hopefully few prototypes,
1903
which can conflict with char strchr(); below. */
1904
@@ -4666,7 +4686,7 @@
1908
-if { (eval echo configure:4670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1909
+if { (eval echo configure:4690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1911
eval "ac_cv_func_strchr=yes"
1913
@@ -4689,12 +4709,12 @@
1916
echo $ac_n "checking for timezone""... $ac_c" 1>&6
1917
-echo "configure:4693: checking for timezone" >&5
1918
+echo "configure:4713: checking for timezone" >&5
1919
if eval "test \"`echo '$''{'ac_cv_func_timezone'+set}'`\" = set"; then
1920
echo $ac_n "(cached) $ac_c" 1>&6
1922
cat > conftest.$ac_ext <<EOF
1923
-#line 4698 "configure"
1924
+#line 4718 "configure"
1925
#include "confdefs.h"
1926
/* System header to define __stub macros and hopefully few prototypes,
1927
which can conflict with char timezone(); below. */
1928
@@ -4717,7 +4737,7 @@
1932
-if { (eval echo configure:4721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1933
+if { (eval echo configure:4741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1935
eval "ac_cv_func_timezone=yes"
1937
@@ -4740,12 +4760,12 @@
1940
echo $ac_n "checking for siglongjmp""... $ac_c" 1>&6
1941
-echo "configure:4744: checking for siglongjmp" >&5
1942
+echo "configure:4764: checking for siglongjmp" >&5
1943
if eval "test \"`echo '$''{'ac_cv_func_siglongjmp'+set}'`\" = set"; then
1944
echo $ac_n "(cached) $ac_c" 1>&6
1946
cat > conftest.$ac_ext <<EOF
1947
-#line 4749 "configure"
1948
+#line 4769 "configure"
1949
#include "confdefs.h"
1950
/* System header to define __stub macros and hopefully few prototypes,
1951
which can conflict with char siglongjmp(); below. */
1952
@@ -4768,7 +4788,7 @@
1956
-if { (eval echo configure:4772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1957
+if { (eval echo configure:4792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1959
eval "ac_cv_func_siglongjmp=yes"
1961
@@ -4795,9 +4815,9 @@
1962
# because Unixware 2.0 handles it specially and refuses to compile
1963
# autoconf's automatic test that is a call with no arguments
1964
echo $ac_n "checking for memcpy""... $ac_c" 1>&6
1965
-echo "configure:4799: checking for memcpy" >&5
1966
+echo "configure:4819: checking for memcpy" >&5
1967
cat > conftest.$ac_ext <<EOF
1968
-#line 4801 "configure"
1969
+#line 4821 "configure"
1970
#include "confdefs.h"
1973
@@ -4807,7 +4827,7 @@
1977
-if { (eval echo configure:4811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1978
+if { (eval echo configure:4831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1980
echo "$ac_t""yes" 1>&6
1981
cat >> confdefs.h <<\EOF
1982
@@ -4829,13 +4849,13 @@
1983
# and if so that WNOHANG is not defined. The only place I've
1985
echo $ac_n "checking if WNOHANG requires _POSIX_SOURCE""... $ac_c" 1>&6
1986
-echo "configure:4833: checking if WNOHANG requires _POSIX_SOURCE" >&5
1987
+echo "configure:4853: checking if WNOHANG requires _POSIX_SOURCE" >&5
1988
if test "$cross_compiling" = yes; then
1989
{ echo "configure: error: Expect can't be cross compiled" 1>&2; exit 1; }
1992
cat > conftest.$ac_ext <<EOF
1993
-#line 4839 "configure"
1994
+#line 4859 "configure"
1995
#include "confdefs.h"
1997
#include <sys/wait.h>
1998
@@ -4847,7 +4867,7 @@
2002
-if { (eval echo configure:4851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2003
+if { (eval echo configure:4871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2005
echo "$ac_t""yes" 1>&6
2006
cat >> confdefs.h <<\EOF
2007
@@ -4867,14 +4887,14 @@
2010
echo $ac_n "checking if any value exists for WNOHANG""... $ac_c" 1>&6
2011
-echo "configure:4871: checking if any value exists for WNOHANG" >&5
2012
+echo "configure:4891: checking if any value exists for WNOHANG" >&5
2014
if test "$cross_compiling" = yes; then
2015
{ echo "configure: error: Expect can't be cross compiled" 1>&2; exit 1; }
2018
cat > conftest.$ac_ext <<EOF
2019
-#line 4878 "configure"
2020
+#line 4898 "configure"
2021
#include "confdefs.h"
2024
@@ -4890,7 +4910,7 @@
2028
-if { (eval echo configure:4894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2029
+if { (eval echo configure:4914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2031
echo "$ac_t""yes" 1>&6
2032
cat >> confdefs.h <<EOF
2033
@@ -4923,9 +4943,9 @@
2034
#--------------------------------------------------------------------
2036
echo $ac_n "checking union wait""... $ac_c" 1>&6
2037
-echo "configure:4927: checking union wait" >&5
2038
+echo "configure:4947: checking union wait" >&5
2039
cat > conftest.$ac_ext <<EOF
2040
-#line 4929 "configure"
2041
+#line 4949 "configure"
2042
#include "confdefs.h"
2043
#include <sys/types.h>
2044
#include <sys/wait.h>
2045
@@ -4937,7 +4957,7 @@
2049
-if { (eval echo configure:4941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2050
+if { (eval echo configure:4961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2054
@@ -4967,7 +4987,7 @@
2055
# Pattern matching on int could be loosened.
2056
# Can't use ac_header_egrep since that doesn't see prototypes with K&R cpp.
2057
echo $ac_n "checking mask type of select""... $ac_c" 1>&6
2058
-echo "configure:4971: checking mask type of select" >&5
2059
+echo "configure:4991: checking mask type of select" >&5
2060
if egrep "select\(size_t, int" /usr/include/sys/time.h >/dev/null 2>&1; then
2061
echo "$ac_t""int" 1>&6
2062
cat >> confdefs.h <<\EOF
2063
@@ -4981,13 +5001,13 @@
2065
# FIXME: check if alarm exists
2066
echo $ac_n "checking if signals need to be re-armed""... $ac_c" 1>&6
2067
-echo "configure:4985: checking if signals need to be re-armed" >&5
2068
+echo "configure:5005: checking if signals need to be re-armed" >&5
2069
if test "$cross_compiling" = yes; then
2070
echo "configure: warning: Expect can't be cross compiled" 1>&2
2073
cat > conftest.$ac_ext <<EOF
2074
-#line 4991 "configure"
2075
+#line 5011 "configure"
2076
#include "confdefs.h"
2079
@@ -5026,7 +5046,7 @@
2083
-if { (eval echo configure:5030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2084
+if { (eval echo configure:5050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2086
echo "$ac_t""yes" 1>&6
2087
cat >> confdefs.h <<\EOF
2088
@@ -5057,7 +5077,7 @@
2089
# so check for it. Unfortunately, there is no header so the only
2090
# reasonable way to make sure is to look it we are on a Convex.
2091
echo $ac_n "checking if on Convex""... $ac_c" 1>&6
2092
-echo "configure:5061: checking if on Convex" >&5
2093
+echo "configure:5081: checking if on Convex" >&5
2096
c[12]-*-*) convex=1;;
2097
@@ -5076,7 +5096,7 @@
2098
EXP_LDFLAGS="$LDFLAGS"
2100
echo $ac_n "checking if on NeXT""... $ac_c" 1>&6
2101
-echo "configure:5080: checking if on NeXT" >&5
2102
+echo "configure:5100: checking if on NeXT" >&5
2103
if test -r /NextApps ; then
2104
echo "$ac_t""yes" 1>&6
2105
# "-m" flag suppresses complaints about multiple strtod
2106
@@ -5087,7 +5107,7 @@
2109
echo $ac_n "checking if on HP""... $ac_c" 1>&6
2110
-echo "configure:5091: checking if on HP" >&5
2111
+echo "configure:5111: checking if on HP" >&5
2112
if test "x`(uname) 2>/dev/null`" = xHP-UX; then
2113
echo "$ac_t""yes" 1>&6
2115
@@ -5097,7 +5117,7 @@
2118
echo $ac_n "checking sane default stty arguments""... $ac_c" 1>&6
2119
-echo "configure:5101: checking sane default stty arguments" >&5
2120
+echo "configure:5121: checking sane default stty arguments" >&5
2121
DEFAULT_STTY_ARGS="sane"
2123
if test $mach -eq 1 ; then
2124
@@ -5115,7 +5135,7 @@
2125
# work, but ac_test_program does.
2127
echo $ac_n "checking for HP style pty allocation""... $ac_c" 1>&6
2128
-echo "configure:5119: checking for HP style pty allocation" >&5
2129
+echo "configure:5139: checking for HP style pty allocation" >&5
2130
# following test fails on DECstations and other things that don't grok -c
2131
# but that's ok, since they don't have PTYMs anyway
2132
if test -r /dev/ptym/ptyp0 2>/dev/null ; then
2133
@@ -5129,9 +5149,9 @@
2136
echo $ac_n "checking for HP style pty trapping""... $ac_c" 1>&6
2137
-echo "configure:5133: checking for HP style pty trapping" >&5
2138
+echo "configure:5153: checking for HP style pty trapping" >&5
2139
cat > conftest.$ac_ext <<EOF
2140
-#line 5135 "configure"
2141
+#line 5155 "configure"
2142
#include "confdefs.h"
2143
#include <sys/ptyio.h>
2145
@@ -5153,7 +5173,7 @@
2148
echo $ac_n "checking for AIX new-style pty allocation""... $ac_c" 1>&6
2149
-echo "configure:5157: checking for AIX new-style pty allocation" >&5
2150
+echo "configure:5177: checking for AIX new-style pty allocation" >&5
2151
if test -r /dev/ptc -a -r /dev/pts ; then
2152
echo "$ac_t""yes" 1>&6
2153
cat >> confdefs.h <<\EOF
2154
@@ -5165,7 +5185,7 @@
2157
echo $ac_n "checking for SGI old-style pty allocation""... $ac_c" 1>&6
2158
-echo "configure:5169: checking for SGI old-style pty allocation" >&5
2159
+echo "configure:5189: checking for SGI old-style pty allocation" >&5
2160
if test -r /dev/ptc -a ! -r /dev/pts ; then
2161
echo "$ac_t""yes" 1>&6
2162
cat >> confdefs.h <<\EOF
2163
@@ -5182,7 +5202,7 @@
2164
# anyway. So we chose these, which have a special numbering scheme.
2166
echo $ac_n "checking for SCO style pty allocation""... $ac_c" 1>&6
2167
-echo "configure:5186: checking for SCO style pty allocation" >&5
2168
+echo "configure:5206: checking for SCO style pty allocation" >&5
2171
*-sco3.2v[45]*) sco_clist_ptys=1 svr4_ptys_broken=1;;
2172
@@ -5199,7 +5219,7 @@
2175
echo $ac_n "checking for SVR4 style pty allocation""... $ac_c" 1>&6
2176
-echo "configure:5203: checking for SVR4 style pty allocation" >&5
2177
+echo "configure:5223: checking for SVR4 style pty allocation" >&5
2178
if test -r /dev/ptmx -a "x$svr4_ptys_broken" = x ; then
2179
echo "$ac_t""yes" 1>&6
2180
cat >> confdefs.h <<\EOF
2181
@@ -5208,12 +5228,12 @@
2183
# aargg. Some systems need libpt.a to use /dev/ptmx
2184
echo $ac_n "checking for ptsname""... $ac_c" 1>&6
2185
-echo "configure:5212: checking for ptsname" >&5
2186
+echo "configure:5232: checking for ptsname" >&5
2187
if eval "test \"`echo '$''{'ac_cv_func_ptsname'+set}'`\" = set"; then
2188
echo $ac_n "(cached) $ac_c" 1>&6
2190
cat > conftest.$ac_ext <<EOF
2191
-#line 5217 "configure"
2192
+#line 5237 "configure"
2193
#include "confdefs.h"
2194
/* System header to define __stub macros and hopefully few prototypes,
2195
which can conflict with char ptsname(); below. */
2196
@@ -5236,7 +5256,7 @@
2200
-if { (eval echo configure:5240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2201
+if { (eval echo configure:5260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2203
eval "ac_cv_func_ptsname=yes"
2205
@@ -5258,12 +5278,12 @@
2207
# I've never seen Tcl or Tk include -lpt so don't bother with explicit test
2208
echo $ac_n "checking for ptsname""... $ac_c" 1>&6
2209
-echo "configure:5262: checking for ptsname" >&5
2210
+echo "configure:5282: checking for ptsname" >&5
2211
if eval "test \"`echo '$''{'ac_cv_func_ptsname'+set}'`\" = set"; then
2212
echo $ac_n "(cached) $ac_c" 1>&6
2214
cat > conftest.$ac_ext <<EOF
2215
-#line 5267 "configure"
2216
+#line 5287 "configure"
2217
#include "confdefs.h"
2218
/* System header to define __stub macros and hopefully few prototypes,
2219
which can conflict with char ptsname(); below. */
2220
@@ -5286,7 +5306,7 @@
2224
-if { (eval echo configure:5290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2225
+if { (eval echo configure:5310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2227
eval "ac_cv_func_ptsname=yes"
2229
@@ -5307,12 +5327,12 @@
2232
echo $ac_n "checking for ptsname""... $ac_c" 1>&6
2233
-echo "configure:5311: checking for ptsname" >&5
2234
+echo "configure:5331: checking for ptsname" >&5
2235
if eval "test \"`echo '$''{'ac_cv_func_ptsname'+set}'`\" = set"; then
2236
echo $ac_n "(cached) $ac_c" 1>&6
2238
cat > conftest.$ac_ext <<EOF
2239
-#line 5316 "configure"
2240
+#line 5336 "configure"
2241
#include "confdefs.h"
2242
/* System header to define __stub macros and hopefully few prototypes,
2243
which can conflict with char ptsname(); below. */
2244
@@ -5335,7 +5355,7 @@
2248
-if { (eval echo configure:5339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2249
+if { (eval echo configure:5359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2251
eval "ac_cv_func_ptsname=yes"
2253
@@ -5362,7 +5382,7 @@
2254
# In OSF/1 case, SVR4 are somewhat different.
2255
# Gregory Depp <depp@osf.org> 17Aug93
2256
echo $ac_n "checking for OSF/1 style pty allocation""... $ac_c" 1>&6
2257
-echo "configure:5366: checking for OSF/1 style pty allocation" >&5
2258
+echo "configure:5386: checking for OSF/1 style pty allocation" >&5
2259
if test -r /dev/ptmx_bsd ; then
2260
cat >> confdefs.h <<\EOF
2261
#define HAVE_PTMX_BSD 1
2262
@@ -5376,12 +5396,12 @@
2265
echo $ac_n "checking for tcgetattr""... $ac_c" 1>&6
2266
-echo "configure:5380: checking for tcgetattr" >&5
2267
+echo "configure:5400: checking for tcgetattr" >&5
2268
if eval "test \"`echo '$''{'ac_cv_func_tcgetattr'+set}'`\" = set"; then
2269
echo $ac_n "(cached) $ac_c" 1>&6
2271
cat > conftest.$ac_ext <<EOF
2272
-#line 5385 "configure"
2273
+#line 5405 "configure"
2274
#include "confdefs.h"
2275
/* System header to define __stub macros and hopefully few prototypes,
2276
which can conflict with char tcgetattr(); below. */
2277
@@ -5404,7 +5424,7 @@
2281
-if { (eval echo configure:5408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2282
+if { (eval echo configure:5428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2284
eval "ac_cv_func_tcgetattr=yes"
2286
@@ -5424,12 +5444,12 @@
2289
echo $ac_n "checking for tcsetattr""... $ac_c" 1>&6
2290
-echo "configure:5428: checking for tcsetattr" >&5
2291
+echo "configure:5448: checking for tcsetattr" >&5
2292
if eval "test \"`echo '$''{'ac_cv_func_tcsetattr'+set}'`\" = set"; then
2293
echo $ac_n "(cached) $ac_c" 1>&6
2295
cat > conftest.$ac_ext <<EOF
2296
-#line 5433 "configure"
2297
+#line 5453 "configure"
2298
#include "confdefs.h"
2299
/* System header to define __stub macros and hopefully few prototypes,
2300
which can conflict with char tcsetattr(); below. */
2301
@@ -5452,7 +5472,7 @@
2305
-if { (eval echo configure:5456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2306
+if { (eval echo configure:5476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2308
eval "ac_cv_func_tcsetattr=yes"
2310
@@ -5484,13 +5504,13 @@
2312
# first check for the pure bsd
2313
echo $ac_n "checking for struct sgttyb""... $ac_c" 1>&6
2314
-echo "configure:5488: checking for struct sgttyb" >&5
2315
+echo "configure:5508: checking for struct sgttyb" >&5
2316
if test "$cross_compiling" = yes; then
2317
{ echo "configure: error: Expect can't be cross compiled" 1>&2; exit 1; }
2320
cat > conftest.$ac_ext <<EOF
2321
-#line 5494 "configure"
2322
+#line 5514 "configure"
2323
#include "confdefs.h"
2326
@@ -5500,7 +5520,7 @@
2330
-if { (eval echo configure:5504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2331
+if { (eval echo configure:5524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2333
echo "$ac_t""yes" 1>&6
2334
cat >> confdefs.h <<\EOF
2335
@@ -5529,13 +5549,13 @@
2336
# since that just controls which of pty_XXXX.c file is use and
2337
# pty_termios.c is set up to handle pty_termio.
2338
echo $ac_n "checking for struct termio""... $ac_c" 1>&6
2339
-echo "configure:5533: checking for struct termio" >&5
2340
+echo "configure:5553: checking for struct termio" >&5
2341
if test "$cross_compiling" = yes; then
2342
{ echo "configure: error: Expect can't be cross compiled" 1>&2; exit 1; }
2345
cat > conftest.$ac_ext <<EOF
2346
-#line 5539 "configure"
2347
+#line 5559 "configure"
2348
#include "confdefs.h"
2351
@@ -5544,7 +5564,7 @@
2355
-if { (eval echo configure:5548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2356
+if { (eval echo configure:5568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2358
cat >> confdefs.h <<\EOF
2359
#define HAVE_TERMIO 1
2360
@@ -5566,13 +5586,13 @@
2362
# now check for the new style ttys (not yet posix)
2363
echo $ac_n "checking for struct termios""... $ac_c" 1>&6
2364
-echo "configure:5570: checking for struct termios" >&5
2365
+echo "configure:5590: checking for struct termios" >&5
2366
if test "$cross_compiling" = yes; then
2367
{ echo "configure: error: Expect can't be cross compiled" 1>&2; exit 1; }
2370
cat > conftest.$ac_ext <<EOF
2371
-#line 5576 "configure"
2372
+#line 5596 "configure"
2373
#include "confdefs.h"
2375
/* including termios.h on Solaris 5.6 fails unless inttypes.h included */
2376
@@ -5586,7 +5606,7 @@
2380
-if { (eval echo configure:5590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2381
+if { (eval echo configure:5610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2383
cat >> confdefs.h <<\EOF
2384
#define HAVE_TERMIOS 1
2385
@@ -5608,13 +5628,13 @@
2388
echo $ac_n "checking if TCGETS or TCGETA in termios.h""... $ac_c" 1>&6
2389
-echo "configure:5612: checking if TCGETS or TCGETA in termios.h" >&5
2390
+echo "configure:5632: checking if TCGETS or TCGETA in termios.h" >&5
2391
if test "$cross_compiling" = yes; then
2392
{ echo "configure: error: Expect can't be cross compiled" 1>&2; exit 1; }
2395
cat > conftest.$ac_ext <<EOF
2396
-#line 5618 "configure"
2397
+#line 5638 "configure"
2398
#include "confdefs.h"
2400
/* including termios.h on Solaris 5.6 fails unless inttypes.h included */
2401
@@ -5630,7 +5650,7 @@
2405
-if { (eval echo configure:5634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2406
+if { (eval echo configure:5654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2408
cat >> confdefs.h <<\EOF
2409
#define HAVE_TCGETS_OR_TCGETA_IN_TERMIOS_H 1
2410
@@ -5650,13 +5670,13 @@
2413
echo $ac_n "checking if TIOCGWINSZ in termios.h""... $ac_c" 1>&6
2414
-echo "configure:5654: checking if TIOCGWINSZ in termios.h" >&5
2415
+echo "configure:5674: checking if TIOCGWINSZ in termios.h" >&5
2416
if test "$cross_compiling" = yes; then
2417
{ echo "configure: error: Expect can't be cross compiled" 1>&2; exit 1; }
2420
cat > conftest.$ac_ext <<EOF
2421
-#line 5660 "configure"
2422
+#line 5680 "configure"
2423
#include "confdefs.h"
2425
/* including termios.h on Solaris 5.6 fails unless inttypes.h included */
2426
@@ -5672,7 +5692,7 @@
2430
-if { (eval echo configure:5676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2431
+if { (eval echo configure:5696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2433
cat >> confdefs.h <<\EOF
2434
#define HAVE_TIOCGWINSZ_IN_TERMIOS_H 1
2435
@@ -5693,14 +5713,14 @@
2437
# finally check for Cray style ttys
2438
echo $ac_n "checking for Cray-style ptys""... $ac_c" 1>&6
2439
-echo "configure:5697: checking for Cray-style ptys" >&5
2440
+echo "configure:5717: checking for Cray-style ptys" >&5
2442
if test "$cross_compiling" = yes; then
2443
{ echo "configure: error: Expect can't be cross compiled" 1>&2; exit 1; }
2446
cat > conftest.$ac_ext <<EOF
2447
-#line 5704 "configure"
2448
+#line 5724 "configure"
2449
#include "confdefs.h"
2452
@@ -5712,7 +5732,7 @@
2456
-if { (eval echo configure:5716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2457
+if { (eval echo configure:5736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2461
@@ -5737,12 +5757,12 @@
2463
unset ac_cv_func_select
2464
echo $ac_n "checking for select""... $ac_c" 1>&6
2465
-echo "configure:5741: checking for select" >&5
2466
+echo "configure:5761: checking for select" >&5
2467
if eval "test \"`echo '$''{'ac_cv_func_select'+set}'`\" = set"; then
2468
echo $ac_n "(cached) $ac_c" 1>&6
2470
cat > conftest.$ac_ext <<EOF
2471
-#line 5746 "configure"
2472
+#line 5766 "configure"
2473
#include "confdefs.h"
2474
/* System header to define __stub macros and hopefully few prototypes,
2475
which can conflict with char select(); below. */
2476
@@ -5765,7 +5785,7 @@
2480
-if { (eval echo configure:5769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2481
+if { (eval echo configure:5789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2483
eval "ac_cv_func_select=yes"
2485
@@ -5785,12 +5805,12 @@
2488
echo $ac_n "checking for poll""... $ac_c" 1>&6
2489
-echo "configure:5789: checking for poll" >&5
2490
+echo "configure:5809: checking for poll" >&5
2491
if eval "test \"`echo '$''{'ac_cv_func_poll'+set}'`\" = set"; then
2492
echo $ac_n "(cached) $ac_c" 1>&6
2494
cat > conftest.$ac_ext <<EOF
2495
-#line 5794 "configure"
2496
+#line 5814 "configure"
2497
#include "confdefs.h"
2498
/* System header to define __stub macros and hopefully few prototypes,
2499
which can conflict with char poll(); below. */
2500
@@ -5813,7 +5833,7 @@
2504
-if { (eval echo configure:5817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2505
+if { (eval echo configure:5837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2507
eval "ac_cv_func_poll=yes"
2509
@@ -5833,7 +5853,7 @@
2512
echo $ac_n "checking event handling""... $ac_c" 1>&6
2513
-echo "configure:5837: checking event handling" >&5
2514
+echo "configure:5857: checking event handling" >&5
2515
if test $select -eq 1 ; then
2518
@@ -5855,12 +5875,12 @@
2519
for ac_func in _getpty
2521
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2522
-echo "configure:5859: checking for $ac_func" >&5
2523
+echo "configure:5879: checking for $ac_func" >&5
2524
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2525
echo $ac_n "(cached) $ac_c" 1>&6
2527
cat > conftest.$ac_ext <<EOF
2528
-#line 5864 "configure"
2529
+#line 5884 "configure"
2530
#include "confdefs.h"
2531
/* System header to define __stub macros and hopefully few prototypes,
2532
which can conflict with char $ac_func(); below. */
2533
@@ -5883,7 +5903,7 @@
2537
-if { (eval echo configure:5887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2538
+if { (eval echo configure:5907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2540
eval "ac_cv_func_$ac_func=yes"
2542
@@ -5910,12 +5930,12 @@
2543
for ac_func in getpty
2545
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2546
-echo "configure:5914: checking for $ac_func" >&5
2547
+echo "configure:5934: checking for $ac_func" >&5
2548
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2549
echo $ac_n "(cached) $ac_c" 1>&6
2551
cat > conftest.$ac_ext <<EOF
2552
-#line 5919 "configure"
2553
+#line 5939 "configure"
2554
#include "confdefs.h"
2555
/* System header to define __stub macros and hopefully few prototypes,
2556
which can conflict with char $ac_func(); below. */
2557
@@ -5938,7 +5958,7 @@
2561
-if { (eval echo configure:5942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2562
+if { (eval echo configure:5962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2564
eval "ac_cv_func_$ac_func=yes"
2566
@@ -5965,7 +5985,7 @@
2568
# following test sets SETPGRP_VOID if setpgrp takes 0 args, else takes 2
2569
echo $ac_n "checking whether setpgrp takes no argument""... $ac_c" 1>&6
2570
-echo "configure:5969: checking whether setpgrp takes no argument" >&5
2571
+echo "configure:5989: checking whether setpgrp takes no argument" >&5
2572
if eval "test \"`echo '$''{'ac_cv_func_setpgrp_void'+set}'`\" = set"; then
2573
echo $ac_n "(cached) $ac_c" 1>&6
2575
@@ -5973,7 +5993,7 @@
2576
{ echo "configure: error: cannot check setpgrp if cross compiling" 1>&2; exit 1; }
2578
cat > conftest.$ac_ext <<EOF
2579
-#line 5977 "configure"
2580
+#line 5997 "configure"
2581
#include "confdefs.h"
2583
#ifdef HAVE_UNISTD_H
2584
@@ -5993,7 +6013,7 @@
2588
-if { (eval echo configure:5997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2589
+if { (eval echo configure:6017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2591
ac_cv_func_setpgrp_void=no
2593
@@ -6021,13 +6041,13 @@
2594
# check for timezones
2596
echo $ac_n "checking for SV-style timezone""... $ac_c" 1>&6
2597
-echo "configure:6025: checking for SV-style timezone" >&5
2598
+echo "configure:6045: checking for SV-style timezone" >&5
2599
if test "$cross_compiling" = yes; then
2600
{ echo "configure: error: Expect can't be cross compiled" 1>&2; exit 1; }
2603
cat > conftest.$ac_ext <<EOF
2604
-#line 6031 "configure"
2605
+#line 6051 "configure"
2606
#include "confdefs.h"
2608
extern char *tzname[2];
2609
@@ -6040,7 +6060,7 @@
2613
-if { (eval echo configure:6044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2614
+if { (eval echo configure:6064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2616
cat >> confdefs.h <<\EOF
2617
#define HAVE_SV_TIMEZONE 1
2618
@@ -6086,7 +6106,7 @@
2621
echo $ac_n "checking for Tk private headers""... $ac_c" 1>&6
2622
-echo "configure:6090: checking for Tk private headers" >&5
2623
+echo "configure:6110: checking for Tk private headers" >&5
2624
# Check whether --with-tkinclude or --without-tkinclude was given.
2625
if test "${with_tkinclude+set}" = set; then
2626
withval="$with_tkinclude"
2627
@@ -6157,17 +6177,17 @@
2628
if test x"${ac_cv_c_tkh}" = x ; then
2629
ac_safe=`echo "tk.h" | sed 'y%./+-%__p_%'`
2630
echo $ac_n "checking for tk.h""... $ac_c" 1>&6
2631
-echo "configure:6161: checking for tk.h" >&5
2632
+echo "configure:6181: checking for tk.h" >&5
2633
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2634
echo $ac_n "(cached) $ac_c" 1>&6
2636
cat > conftest.$ac_ext <<EOF
2637
-#line 6166 "configure"
2638
+#line 6186 "configure"
2639
#include "confdefs.h"
2642
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2643
-{ (eval echo configure:6171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2644
+{ (eval echo configure:6191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2645
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2646
if test -z "$ac_err"; then
2648
@@ -6266,7 +6286,7 @@
2649
# also remove dots on systems that don't support filenames > 14
2650
# (are there systems which support shared libs and restrict filename lengths!?)
2651
echo $ac_n "checking for long file names""... $ac_c" 1>&6
2652
-echo "configure:6270: checking for long file names" >&5
2653
+echo "configure:6290: checking for long file names" >&5
2654
if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
2655
echo $ac_n "(cached) $ac_c" 1>&6
2657
@@ -6323,7 +6343,7 @@
2658
# and expect without (and vice versa?)
2660
echo $ac_n "checking for type of library to build""... $ac_c" 1>&6
2661
-echo "configure:6327: checking for type of library to build" >&5
2662
+echo "configure:6347: checking for type of library to build" >&5
2663
if test "$enable_shared" = "yes" && test "x${TCL_SHLIB_SUFFIX}" != "x" ; then
2664
EXP_SHLIB_CFLAGS=$TCL_SHLIB_CFLAGS
2665
eval "EXP_SHARED_LIB_FILE=libexpect${TCL_SHARED_LIB_SUFFIX}"
2666
@@ -6348,7 +6368,11 @@
2668
# seems a little strange to build in Tcl's build-lib, but
2669
# that's what Tk does.
2670
- EXP_SHLIB_LD_LIBS="$TCL_BUILD_LIB_SPEC $TCL_DL_LIBS $LIBS -lc"
2671
+ if test "$enable_stubs" = "yes"; then
2672
+ EXP_SHLIB_LD_LIBS="$TCL_BUILD_STUB_LIB_SPEC $TCL_DL_LIBS $LIBS $LIBS -lc"
2674
+ EXP_SHLIB_LD_LIBS="$TCL_BUILD_LIB_SPEC $TCL_DL_LIBS $LIBS -lc"
2678
#--------------------------------------------------------------------
2679
diff -ur expect-5.31.orig/configure.in expect-5.31/configure.in
2680
--- expect-5.31.orig/configure.in Mon Mar 6 09:25:14 2000
2681
+++ expect-5.31/configure.in Sat Apr 8 11:39:43 2000
2682
@@ -310,6 +310,18 @@
2683
AC_MSG_RESULT(unshared)
2686
+# now see if we can/should use Tcl stubs
2687
+AC_MSG_CHECKING([whether to use Tcl stubs])
2688
+AC_ARG_ENABLE(stubs,
2689
+ [ --enable-stubs use Tcl stubs, if available],
2690
+ [enable_stubs=$enableval], [enable_stubs=no])
2691
+if test "$enable_shared" = "yes" && test "$enable_stubs" = "yes" && test "x${TCL_SUPPORTS_STUBS}" = "x1"; then
2692
+ AC_MSG_RESULT(yes)
2693
+ EXP_CFLAGS="$EXP_CFLAGS -DUSE_TCL_STUBS"
2699
# Now that we've found the Tcl sources, configure the debugger
2700
# this is a little tricky because it has its own configure script
2701
@@ -1162,7 +1174,11 @@
2703
# seems a little strange to build in Tcl's build-lib, but
2704
# that's what Tk does.
2705
- EXP_SHLIB_LD_LIBS="$TCL_BUILD_LIB_SPEC $TCL_DL_LIBS $LIBS -lc"
2706
+ if test "$enable_stubs" = "yes"; then
2707
+ EXP_SHLIB_LD_LIBS="$TCL_BUILD_STUB_LIB_SPEC $TCL_DL_LIBS $LIBS $LIBS -lc"
2709
+ EXP_SHLIB_LD_LIBS="$TCL_BUILD_LIB_SPEC $TCL_DL_LIBS $LIBS -lc"
2713
#--------------------------------------------------------------------
2714
diff -ur expect-5.31.orig/exp_command.c expect-5.31/exp_command.c
2715
--- expect-5.31.orig/exp_command.c Tue Feb 1 00:38:43 2000
2716
+++ expect-5.31/exp_command.c Sat Apr 8 01:34:41 2000
2717
@@ -123,6 +123,10 @@
2718
static Tcl_HashTable slaveNames;
2719
#endif /* HAVE_PTYTRAP */
2721
+/* These save the original functions so they can be used later. */
2722
+Tcl_CmdInfo exp_close_info;
2723
+Tcl_CmdInfo exp_return_info;
2725
typedef struct ThreadSpecificData {
2727
* List of all exp channels currently open. This is per thread and is
2728
@@ -2284,12 +2288,9 @@
2729
/* Historical note: we used "close" long before there was a */
2730
/* Tcl builtin by the same name. */
2733
Tcl_ResetResult(interp);
2734
- if (0 == Tcl_GetCommandInfo(interp,"close",&info)) {
2735
- info.clientData = 0;
2737
- return(Tcl_CloseObjCmd(info.clientData,interp,objc_orig,objv_orig));
2739
+ return(exp_close_info.objProc(exp_close_info.objClientData,interp,objc_orig,objv_orig));
2743
@@ -2934,7 +2935,7 @@
2744
/* if successful (i.e., TCL_RETURN is returned) */
2745
/* modify the result, so that we will handle it specially */
2747
- int result = Tcl_ReturnObjCmd(clientData,interp,objc,objv);
2748
+ int result = exp_return_info.objProc(exp_return_info.objClientData,interp,objc,objv);
2749
if (result == TCL_RETURN)
2750
result = EXP_TCL_RETURN;
2752
diff -ur expect-5.31.orig/exp_command.h expect-5.31/exp_command.h
2753
--- expect-5.31.orig/exp_command.h Mon Jan 31 23:33:52 2000
2754
+++ expect-5.31/exp_command.h Fri Apr 7 23:58:45 2000
2756
EXTERN int exp_default_parity;
2757
EXTERN int exp_default_rm_nulls;
2759
+EXTERN Tcl_CmdInfo exp_close_info;
2760
+EXTERN Tcl_CmdInfo exp_return_info;
2762
EXTERN int exp_one_arg_braced _ANSI_ARGS_((Tcl_Obj *));
2763
EXTERN int exp_eval_with_one_arg _ANSI_ARGS_((ClientData,
2764
Tcl_Interp *, struct Tcl_Obj * CONST objv[]));
2765
diff -ur expect-5.31.orig/exp_main_exp.c expect-5.31/exp_main_exp.c
2766
--- expect-5.31.orig/exp_main_exp.c Mon Jan 10 12:24:45 2000
2767
+++ expect-5.31/exp_main_exp.c Fri Apr 7 23:37:27 2000
2769
would appreciate credit if this program or parts of it are used.
2772
+/* Don't use stubs since we are in the main application. */
2773
+#undef USE_TCL_STUBS
2775
#include "expect_cf.h"
2778
diff -ur expect-5.31.orig/exp_main_sub.c expect-5.31/exp_main_sub.c
2779
--- expect-5.31.orig/exp_main_sub.c Mon Jan 31 22:43:01 2000
2780
+++ expect-5.31/exp_main_sub.c Sat Apr 8 00:08:26 2000
2782
char *dot = strchr(TCL_VERSION,'.');
2783
int tcl_minor = atoi(dot+1);
2785
+#ifndef USE_TCL_STUBS
2786
if (tcl_major < NEED_TCL_MAJOR ||
2787
(tcl_major == NEED_TCL_MAJOR && tcl_minor < NEED_TCL_MINOR)) {
2788
sprintf(interp->result,
2789
@@ -487,6 +488,19 @@
2790
if (Tcl_PkgRequire(interp, "Tcl", TCL_VERSION, 0) == NULL) {
2794
+ if (Tcl_InitStubs(interp, "8.1", 0) == NULL) {
2799
+ if (Tcl_GetCommandInfo(interp, "close", &exp_close_info) == 0) {
2802
+ if (Tcl_GetCommandInfo(interp, "return", &exp_return_info) == 0) {
2806
if (Tcl_PkgProvide(interp, "Expect", EXP_VERSION) != TCL_OK) {
2809
diff -ur expect-5.31.orig/exp_main_tk.c expect-5.31/exp_main_tk.c
2810
--- expect-5.31.orig/exp_main_tk.c Mon Jan 10 12:24:45 2000
2811
+++ expect-5.31/exp_main_tk.c Sat Apr 8 00:47:31 2000
2813
static char sccsid[] = "@(#) tkAppInit.c 1.19 95/12/23 17:09:24";
2814
#endif /* not lint */
2816
+/* Don't use stubs since we are in the main application. */
2817
+#undef USE_TCL_STUBS