~ubuntu-branches/debian/wheezy/tclcurl/wheezy

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Sven Hoexter
  • Date: 2009-08-05 21:30:47 UTC
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20090805213047-8ehkloq11ex7rqhp
ImportĀ upstreamĀ versionĀ 7.19.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.59 for TclCurl 7.17.1.
 
3
# Generated by GNU Autoconf 2.61 for TclCurl 7.19.0.
4
4
#
5
 
# Copyright (C) 2003 Free Software Foundation, Inc.
 
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
6
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6
7
# This configure script is free software; the Free Software Foundation
7
8
# gives unlimited permission to copy, distribute and modify it.
8
9
## --------------------- ##
9
10
## M4sh Initialization.  ##
10
11
## --------------------- ##
11
12
 
12
 
# Be Bourne compatible
13
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14
 
  emulate sh
15
 
  NULLCMD=:
16
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17
 
  # is contrary to our usage.  Disable this feature.
18
 
  alias -g '${1+"$@"}'='"$@"'
19
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20
 
  set -o posix
21
 
fi
 
13
# Be more Bourne compatible
22
14
DUALCASE=1; export DUALCASE # for MKS sh
 
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
16
  emulate sh
 
17
  NULLCMD=:
 
18
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
19
  # is contrary to our usage.  Disable this feature.
 
20
  alias -g '${1+"$@"}'='"$@"'
 
21
  setopt NO_GLOB_SUBST
 
22
else
 
23
  case `(set -o) 2>/dev/null` in
 
24
  *posix*) set -o posix ;;
 
25
esac
 
26
 
 
27
fi
 
28
 
 
29
 
 
30
 
 
31
 
 
32
# PATH needs CR
 
33
# Avoid depending upon Character Ranges.
 
34
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
37
as_cr_digits='0123456789'
 
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
39
 
 
40
# The user is always right.
 
41
if test "${PATH_SEPARATOR+set}" != set; then
 
42
  echo "#! /bin/sh" >conf$$.sh
 
43
  echo  "exit 0"   >>conf$$.sh
 
44
  chmod +x conf$$.sh
 
45
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
46
    PATH_SEPARATOR=';'
 
47
  else
 
48
    PATH_SEPARATOR=:
 
49
  fi
 
50
  rm -f conf$$.sh
 
51
fi
23
52
 
24
53
# Support unset when possible.
25
54
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29
58
fi
30
59
 
31
60
 
 
61
# IFS
 
62
# We need space, tab and new line, in precisely that order.  Quoting is
 
63
# there to prevent editors from complaining about space-tab.
 
64
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
65
# splitting by setting IFS to empty value.)
 
66
as_nl='
 
67
'
 
68
IFS=" ""        $as_nl"
 
69
 
 
70
# Find who we are.  Look in the path if we contain no directory separator.
 
71
case $0 in
 
72
  *[\\/]* ) as_myself=$0 ;;
 
73
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
74
for as_dir in $PATH
 
75
do
 
76
  IFS=$as_save_IFS
 
77
  test -z "$as_dir" && as_dir=.
 
78
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
79
done
 
80
IFS=$as_save_IFS
 
81
 
 
82
     ;;
 
83
esac
 
84
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
85
# in which case we are not to be found in the path.
 
86
if test "x$as_myself" = x; then
 
87
  as_myself=$0
 
88
fi
 
89
if test ! -f "$as_myself"; then
 
90
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
91
  { (exit 1); exit 1; }
 
92
fi
 
93
 
32
94
# Work around bugs in pre-3.0 UWIN ksh.
33
 
$as_unset ENV MAIL MAILPATH
 
95
for as_var in ENV MAIL MAILPATH
 
96
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
97
done
34
98
PS1='$ '
35
99
PS2='> '
36
100
PS4='+ '
44
108
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
109
    eval $as_var=C; export $as_var
46
110
  else
47
 
    $as_unset $as_var
 
111
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
48
112
  fi
49
113
done
50
114
 
51
115
# Required to use basename.
52
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
116
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
117
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
53
118
  as_expr=expr
54
119
else
55
120
  as_expr=false
56
121
fi
57
122
 
58
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
123
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59
124
  as_basename=basename
60
125
else
61
126
  as_basename=false
63
128
 
64
129
 
65
130
# Name of the executable.
66
 
as_me=`$as_basename "$0" ||
 
131
as_me=`$as_basename -- "$0" ||
67
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
133
         X"$0" : 'X\(//\)$' \| \
69
 
         X"$0" : 'X\(/\)$' \| \
70
 
         .     : '\(.\)' 2>/dev/null ||
 
134
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
71
135
echo X/"$0" |
72
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
74
 
          /^X\/\(\/\).*/{ s//\1/; q; }
75
 
          s/.*/./; q'`
76
 
 
77
 
 
78
 
# PATH needs CR, and LINENO needs CR and PATH.
79
 
# Avoid depending upon Character Ranges.
80
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
 
as_cr_digits='0123456789'
84
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
85
 
 
86
 
# The user is always right.
87
 
if test "${PATH_SEPARATOR+set}" != set; then
88
 
  echo "#! /bin/sh" >conf$$.sh
89
 
  echo  "exit 0"   >>conf$$.sh
90
 
  chmod +x conf$$.sh
91
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92
 
    PATH_SEPARATOR=';'
93
 
  else
94
 
    PATH_SEPARATOR=:
95
 
  fi
96
 
  rm -f conf$$.sh
97
 
fi
98
 
 
99
 
 
100
 
  as_lineno_1=$LINENO
101
 
  as_lineno_2=$LINENO
102
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
104
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105
 
  # Find who we are.  Look in the path if we contain no path at all
106
 
  # relative or not.
107
 
  case $0 in
108
 
    *[\\/]* ) as_myself=$0 ;;
109
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110
 
for as_dir in $PATH
111
 
do
112
 
  IFS=$as_save_IFS
113
 
  test -z "$as_dir" && as_dir=.
114
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115
 
done
116
 
 
117
 
       ;;
118
 
  esac
119
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
120
 
  # in which case we are not to be found in the path.
121
 
  if test "x$as_myself" = x; then
122
 
    as_myself=$0
123
 
  fi
124
 
  if test ! -f "$as_myself"; then
125
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
 
   { (exit 1); exit 1; }; }
127
 
  fi
128
 
  case $CONFIG_SHELL in
129
 
  '')
 
136
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
137
            s//\1/
 
138
            q
 
139
          }
 
140
          /^X\/\(\/\/\)$/{
 
141
            s//\1/
 
142
            q
 
143
          }
 
144
          /^X\/\(\/\).*/{
 
145
            s//\1/
 
146
            q
 
147
          }
 
148
          s/.*/./; q'`
 
149
 
 
150
# CDPATH.
 
151
$as_unset CDPATH
 
152
 
 
153
 
 
154
if test "x$CONFIG_SHELL" = x; then
 
155
  if (eval ":") 2>/dev/null; then
 
156
  as_have_required=yes
 
157
else
 
158
  as_have_required=no
 
159
fi
 
160
 
 
161
  if test $as_have_required = yes &&     (eval ":
 
162
(as_func_return () {
 
163
  (exit \$1)
 
164
}
 
165
as_func_success () {
 
166
  as_func_return 0
 
167
}
 
168
as_func_failure () {
 
169
  as_func_return 1
 
170
}
 
171
as_func_ret_success () {
 
172
  return 0
 
173
}
 
174
as_func_ret_failure () {
 
175
  return 1
 
176
}
 
177
 
 
178
exitcode=0
 
179
if as_func_success; then
 
180
  :
 
181
else
 
182
  exitcode=1
 
183
  echo as_func_success failed.
 
184
fi
 
185
 
 
186
if as_func_failure; then
 
187
  exitcode=1
 
188
  echo as_func_failure succeeded.
 
189
fi
 
190
 
 
191
if as_func_ret_success; then
 
192
  :
 
193
else
 
194
  exitcode=1
 
195
  echo as_func_ret_success failed.
 
196
fi
 
197
 
 
198
if as_func_ret_failure; then
 
199
  exitcode=1
 
200
  echo as_func_ret_failure succeeded.
 
201
fi
 
202
 
 
203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
204
  :
 
205
else
 
206
  exitcode=1
 
207
  echo positional parameters were not saved.
 
208
fi
 
209
 
 
210
test \$exitcode = 0) || { (exit 1); exit 1; }
 
211
 
 
212
(
 
213
  as_lineno_1=\$LINENO
 
214
  as_lineno_2=\$LINENO
 
215
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
216
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
217
") 2> /dev/null; then
 
218
  :
 
219
else
 
220
  as_candidate_shells=
130
221
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132
223
do
133
224
  IFS=$as_save_IFS
134
225
  test -z "$as_dir" && as_dir=.
135
 
  for as_base in sh bash ksh sh5; do
136
 
         case $as_dir in
 
226
  case $as_dir in
137
227
         /*)
138
 
           if ("$as_dir/$as_base" -c '
139
 
  as_lineno_1=$LINENO
140
 
  as_lineno_2=$LINENO
141
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
143
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
 
             CONFIG_SHELL=$as_dir/$as_base
147
 
             export CONFIG_SHELL
148
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149
 
           fi;;
150
 
         esac
151
 
       done
 
228
           for as_base in sh bash ksh sh5; do
 
229
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
230
           done;;
 
231
       esac
152
232
done
153
 
;;
154
 
  esac
 
233
IFS=$as_save_IFS
 
234
 
 
235
 
 
236
      for as_shell in $as_candidate_shells $SHELL; do
 
237
         # Try only shells that exist, to save several forks.
 
238
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
239
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
241
  emulate sh
 
242
  NULLCMD=:
 
243
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
244
  # is contrary to our usage.  Disable this feature.
 
245
  alias -g '${1+"$@"}'='"$@"'
 
246
  setopt NO_GLOB_SUBST
 
247
else
 
248
  case `(set -o) 2>/dev/null` in
 
249
  *posix*) set -o posix ;;
 
250
esac
 
251
 
 
252
fi
 
253
 
 
254
 
 
255
:
 
256
_ASEOF
 
257
}; then
 
258
  CONFIG_SHELL=$as_shell
 
259
               as_have_required=yes
 
260
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
262
  emulate sh
 
263
  NULLCMD=:
 
264
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
265
  # is contrary to our usage.  Disable this feature.
 
266
  alias -g '${1+"$@"}'='"$@"'
 
267
  setopt NO_GLOB_SUBST
 
268
else
 
269
  case `(set -o) 2>/dev/null` in
 
270
  *posix*) set -o posix ;;
 
271
esac
 
272
 
 
273
fi
 
274
 
 
275
 
 
276
:
 
277
(as_func_return () {
 
278
  (exit $1)
 
279
}
 
280
as_func_success () {
 
281
  as_func_return 0
 
282
}
 
283
as_func_failure () {
 
284
  as_func_return 1
 
285
}
 
286
as_func_ret_success () {
 
287
  return 0
 
288
}
 
289
as_func_ret_failure () {
 
290
  return 1
 
291
}
 
292
 
 
293
exitcode=0
 
294
if as_func_success; then
 
295
  :
 
296
else
 
297
  exitcode=1
 
298
  echo as_func_success failed.
 
299
fi
 
300
 
 
301
if as_func_failure; then
 
302
  exitcode=1
 
303
  echo as_func_failure succeeded.
 
304
fi
 
305
 
 
306
if as_func_ret_success; then
 
307
  :
 
308
else
 
309
  exitcode=1
 
310
  echo as_func_ret_success failed.
 
311
fi
 
312
 
 
313
if as_func_ret_failure; then
 
314
  exitcode=1
 
315
  echo as_func_ret_failure succeeded.
 
316
fi
 
317
 
 
318
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
319
  :
 
320
else
 
321
  exitcode=1
 
322
  echo positional parameters were not saved.
 
323
fi
 
324
 
 
325
test $exitcode = 0) || { (exit 1); exit 1; }
 
326
 
 
327
(
 
328
  as_lineno_1=$LINENO
 
329
  as_lineno_2=$LINENO
 
330
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
331
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
332
 
 
333
_ASEOF
 
334
}; then
 
335
  break
 
336
fi
 
337
 
 
338
fi
 
339
 
 
340
      done
 
341
 
 
342
      if test "x$CONFIG_SHELL" != x; then
 
343
  for as_var in BASH_ENV ENV
 
344
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
345
        done
 
346
        export CONFIG_SHELL
 
347
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
348
fi
 
349
 
 
350
 
 
351
    if test $as_have_required = no; then
 
352
  echo This script requires a shell more modern than all the
 
353
      echo shells that I found on your system.  Please install a
 
354
      echo modern shell, or manually run the script under such a
 
355
      echo shell if you do have one.
 
356
      { (exit 1); exit 1; }
 
357
fi
 
358
 
 
359
 
 
360
fi
 
361
 
 
362
fi
 
363
 
 
364
 
 
365
 
 
366
(eval "as_func_return () {
 
367
  (exit \$1)
 
368
}
 
369
as_func_success () {
 
370
  as_func_return 0
 
371
}
 
372
as_func_failure () {
 
373
  as_func_return 1
 
374
}
 
375
as_func_ret_success () {
 
376
  return 0
 
377
}
 
378
as_func_ret_failure () {
 
379
  return 1
 
380
}
 
381
 
 
382
exitcode=0
 
383
if as_func_success; then
 
384
  :
 
385
else
 
386
  exitcode=1
 
387
  echo as_func_success failed.
 
388
fi
 
389
 
 
390
if as_func_failure; then
 
391
  exitcode=1
 
392
  echo as_func_failure succeeded.
 
393
fi
 
394
 
 
395
if as_func_ret_success; then
 
396
  :
 
397
else
 
398
  exitcode=1
 
399
  echo as_func_ret_success failed.
 
400
fi
 
401
 
 
402
if as_func_ret_failure; then
 
403
  exitcode=1
 
404
  echo as_func_ret_failure succeeded.
 
405
fi
 
406
 
 
407
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
408
  :
 
409
else
 
410
  exitcode=1
 
411
  echo positional parameters were not saved.
 
412
fi
 
413
 
 
414
test \$exitcode = 0") || {
 
415
  echo No shell found that supports shell functions.
 
416
  echo Please tell autoconf@gnu.org about your system,
 
417
  echo including any error possibly output before this
 
418
  echo message
 
419
}
 
420
 
 
421
 
 
422
 
 
423
  as_lineno_1=$LINENO
 
424
  as_lineno_2=$LINENO
 
425
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
426
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
155
427
 
156
428
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
429
  # uniformly replaced by the line number.  The first 'sed' inserts a
158
 
  # line-number line before each line; the second 'sed' does the real
159
 
  # work.  The second script uses 'N' to pair each line-number line
160
 
  # with the numbered line, and appends trailing '-' during
161
 
  # substitution so that $LINENO is not a special case at line end.
 
430
  # line-number line after each line using $LINENO; the second 'sed'
 
431
  # does the real work.  The second script uses 'N' to pair each
 
432
  # line-number line with the line containing $LINENO, and appends
 
433
  # trailing '-' during substitution so that $LINENO is not a special
 
434
  # case at line end.
162
435
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164
 
  sed '=' <$as_myself |
 
436
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
437
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
438
  sed -n '
 
439
    p
 
440
    /[$]LINENO/=
 
441
  ' <$as_myself |
165
442
    sed '
 
443
      s/[$]LINENO.*/&-/
 
444
      t lineno
 
445
      b
 
446
      :lineno
166
447
      N
167
 
      s,$,-,
168
 
      : loop
169
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
448
      :loop
 
449
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
170
450
      t loop
171
 
      s,-$,,
172
 
      s,^['$as_cr_digits']*\n,,
 
451
      s/-\n.*//
173
452
    ' >$as_me.lineno &&
174
 
  chmod +x $as_me.lineno ||
 
453
  chmod +x "$as_me.lineno" ||
175
454
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
455
   { (exit 1); exit 1; }; }
177
456
 
178
457
  # Don't try to exec as it changes $[0], causing all sort of problems
179
458
  # (the dirname of $[0] is not the place where we might find the
180
 
  # original and so on.  Autoconf is especially sensible to this).
181
 
  . ./$as_me.lineno
 
459
  # original and so on.  Autoconf is especially sensitive to this).
 
460
  . "./$as_me.lineno"
182
461
  # Exit status is that of the last command.
183
462
  exit
184
463
}
185
464
 
186
465
 
187
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
 
  *c*,-n*) ECHO_N= ECHO_C='
189
 
' ECHO_T='      ' ;;
190
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
466
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
467
  as_dirname=dirname
 
468
else
 
469
  as_dirname=false
 
470
fi
 
471
 
 
472
ECHO_C= ECHO_N= ECHO_T=
 
473
case `echo -n x` in
 
474
-n*)
 
475
  case `echo 'x\c'` in
 
476
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
477
  *)   ECHO_C='\c';;
 
478
  esac;;
 
479
*)
 
480
  ECHO_N='-n';;
192
481
esac
193
482
 
194
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
483
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
484
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
195
485
  as_expr=expr
196
486
else
197
487
  as_expr=false
198
488
fi
199
489
 
200
490
rm -f conf$$ conf$$.exe conf$$.file
 
491
if test -d conf$$.dir; then
 
492
  rm -f conf$$.dir/conf$$.file
 
493
else
 
494
  rm -f conf$$.dir
 
495
  mkdir conf$$.dir
 
496
fi
201
497
echo >conf$$.file
202
498
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
 
  # We could just check for DJGPP; but this test a) works b) is more generic
204
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
 
  if test -f conf$$.exe; then
206
 
    # Don't use ln at all; we don't have any links
 
499
  as_ln_s='ln -s'
 
500
  # ... but there are two gotchas:
 
501
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
502
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
503
  # In both cases, we have to default to `cp -p'.
 
504
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
207
505
    as_ln_s='cp -p'
208
 
  else
209
 
    as_ln_s='ln -s'
210
 
  fi
211
506
elif ln conf$$.file conf$$ 2>/dev/null; then
212
507
  as_ln_s=ln
213
508
else
214
509
  as_ln_s='cp -p'
215
510
fi
216
 
rm -f conf$$ conf$$.exe conf$$.file
 
511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
512
rmdir conf$$.dir 2>/dev/null
217
513
 
218
514
if mkdir -p . 2>/dev/null; then
219
515
  as_mkdir_p=:
222
518
  as_mkdir_p=false
223
519
fi
224
520
 
225
 
as_executable_p="test -f"
 
521
if test -x / >/dev/null 2>&1; then
 
522
  as_test_x='test -x'
 
523
else
 
524
  if ls -dL / >/dev/null 2>&1; then
 
525
    as_ls_L_option=L
 
526
  else
 
527
    as_ls_L_option=
 
528
  fi
 
529
  as_test_x='
 
530
    eval sh -c '\''
 
531
      if test -d "$1"; then
 
532
        test -d "$1/.";
 
533
      else
 
534
        case $1 in
 
535
        -*)set "./$1";;
 
536
        esac;
 
537
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
538
        ???[sx]*):;;*)false;;esac;fi
 
539
    '\'' sh
 
540
  '
 
541
fi
 
542
as_executable_p=$as_test_x
226
543
 
227
544
# Sed expression to map a string onto a valid CPP name.
228
545
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
548
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
549
 
233
550
 
234
 
# IFS
235
 
# We need space, tab and new line, in precisely that order.
236
 
as_nl='
237
 
'
238
 
IFS="   $as_nl"
239
 
 
240
 
# CDPATH.
241
 
$as_unset CDPATH
242
 
 
 
551
 
 
552
exec 7<&0 </dev/null 6>&1
243
553
 
244
554
# Name of the host.
245
555
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246
556
# so uname gets run too.
247
557
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
558
 
249
 
exec 6>&1
250
 
 
251
559
#
252
560
# Initializations.
253
561
#
254
562
ac_default_prefix=/usr/local
 
563
ac_clean_files=
255
564
ac_config_libobj_dir=.
 
565
LIBOBJS=
256
566
cross_compiling=no
257
567
subdirs=
258
568
MFLAGS=
259
569
MAKEFLAGS=
260
570
SHELL=${CONFIG_SHELL-/bin/sh}
261
571
 
262
 
# Maximum number of lines to put in a shell here document.
263
 
# This variable seems obsolete.  It should probably be removed, and
264
 
# only ac_max_sed_lines should be used.
265
 
: ${ac_max_here_lines=38}
266
 
 
267
572
# Identity of this package.
268
573
PACKAGE_NAME='TclCurl'
269
574
PACKAGE_TARNAME='tclcurl'
270
 
PACKAGE_VERSION='7.17.1'
271
 
PACKAGE_STRING='TclCurl 7.17.1'
 
575
PACKAGE_VERSION='7.19.0'
 
576
PACKAGE_STRING='TclCurl 7.19.0'
272
577
PACKAGE_BUGREPORT=''
273
578
 
274
579
# Factoring default headers for most tests.
275
580
ac_includes_default="\
276
581
#include <stdio.h>
277
 
#if HAVE_SYS_TYPES_H
 
582
#ifdef HAVE_SYS_TYPES_H
278
583
# include <sys/types.h>
279
584
#endif
280
 
#if HAVE_SYS_STAT_H
 
585
#ifdef HAVE_SYS_STAT_H
281
586
# include <sys/stat.h>
282
587
#endif
283
 
#if STDC_HEADERS
 
588
#ifdef STDC_HEADERS
284
589
# include <stdlib.h>
285
590
# include <stddef.h>
286
591
#else
287
 
# if HAVE_STDLIB_H
 
592
# ifdef HAVE_STDLIB_H
288
593
#  include <stdlib.h>
289
594
# endif
290
595
#endif
291
 
#if HAVE_STRING_H
292
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
596
#ifdef HAVE_STRING_H
 
597
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
293
598
#  include <memory.h>
294
599
# endif
295
600
# include <string.h>
296
601
#endif
297
 
#if HAVE_STRINGS_H
 
602
#ifdef HAVE_STRINGS_H
298
603
# include <strings.h>
299
604
#endif
300
 
#if HAVE_INTTYPES_H
 
605
#ifdef HAVE_INTTYPES_H
301
606
# include <inttypes.h>
302
 
#else
303
 
# if HAVE_STDINT_H
304
 
#  include <stdint.h>
305
 
# endif
306
 
#endif
307
 
#if HAVE_UNISTD_H
 
607
#endif
 
608
#ifdef HAVE_STDINT_H
 
609
# include <stdint.h>
 
610
#endif
 
611
#ifdef HAVE_UNISTD_H
308
612
# include <unistd.h>
309
613
#endif"
310
614
 
311
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CYGPATH EXEEXT PKG_LIB_FILE PKG_STUB_LIB_FILE PKG_STUB_SOURCES PKG_STUB_OBJECTS PKG_TCL_SOURCES PKG_HEADERS PKG_INCLUDES PKG_LIBS PKG_CFLAGS TCL_VERSION TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCL_LIBS TCL_DEFS TCL_EXTRA_CFLAGS TCL_LD_FLAGS TCL_SHLIB_LD_LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC OBJEXT CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE RANLIB ac_ct_RANLIB EGREP MATH_LIBS PKG_SOURCES PKG_OBJECTS TCLCURL_SCRIPTS curl CLEANFILES TCL_INCLUDES TCL_THREADS SHARED_BUILD AR CELIB_DIR LIBOBJS DL_LIBS CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING STLIB_LD SHLIB_LD SHLIB_LD_LIBS SHLIB_CFLAGS LD_LIBRARY_PATH_VAR TCL_DBGX CFLAGS_DEFAULT LDFLAGS_DEFAULT MAKE_LIB MAKE_SHARED_LIB MAKE_STATIC_LIB MAKE_STUB_LIB RANLIB_STUB TCLSH_PROG LTLIBOBJS'
 
615
ac_subst_vars='SHELL
 
616
PATH_SEPARATOR
 
617
PACKAGE_NAME
 
618
PACKAGE_TARNAME
 
619
PACKAGE_VERSION
 
620
PACKAGE_STRING
 
621
PACKAGE_BUGREPORT
 
622
exec_prefix
 
623
prefix
 
624
program_transform_name
 
625
bindir
 
626
sbindir
 
627
libexecdir
 
628
datarootdir
 
629
datadir
 
630
sysconfdir
 
631
sharedstatedir
 
632
localstatedir
 
633
includedir
 
634
oldincludedir
 
635
docdir
 
636
infodir
 
637
htmldir
 
638
dvidir
 
639
pdfdir
 
640
psdir
 
641
libdir
 
642
localedir
 
643
mandir
 
644
DEFS
 
645
ECHO_C
 
646
ECHO_N
 
647
ECHO_T
 
648
LIBS
 
649
build_alias
 
650
host_alias
 
651
target_alias
 
652
CYGPATH
 
653
EXEEXT
 
654
PKG_LIB_FILE
 
655
PKG_STUB_LIB_FILE
 
656
PKG_STUB_SOURCES
 
657
PKG_STUB_OBJECTS
 
658
PKG_TCL_SOURCES
 
659
PKG_HEADERS
 
660
PKG_INCLUDES
 
661
PKG_LIBS
 
662
PKG_CFLAGS
 
663
TCL_VERSION
 
664
TCL_BIN_DIR
 
665
TCL_SRC_DIR
 
666
TCL_LIB_FILE
 
667
TCL_LIB_FLAG
 
668
TCL_LIB_SPEC
 
669
TCL_STUB_LIB_FILE
 
670
TCL_STUB_LIB_FLAG
 
671
TCL_STUB_LIB_SPEC
 
672
TCL_LIBS
 
673
TCL_DEFS
 
674
TCL_EXTRA_CFLAGS
 
675
TCL_LD_FLAGS
 
676
TCL_SHLIB_LD_LIBS
 
677
CC
 
678
CFLAGS
 
679
LDFLAGS
 
680
CPPFLAGS
 
681
ac_ct_CC
 
682
OBJEXT
 
683
CPP
 
684
INSTALL_PROGRAM
 
685
INSTALL_SCRIPT
 
686
INSTALL_DATA
 
687
SET_MAKE
 
688
RANLIB
 
689
GREP
 
690
EGREP
 
691
MATH_LIBS
 
692
PKG_SOURCES
 
693
PKG_OBJECTS
 
694
TCLCURL_SCRIPTS
 
695
curl
 
696
CLEANFILES
 
697
TCL_INCLUDES
 
698
TCL_THREADS
 
699
SHARED_BUILD
 
700
AR
 
701
CELIB_DIR
 
702
LIBOBJS
 
703
DL_LIBS
 
704
CFLAGS_DEBUG
 
705
CFLAGS_OPTIMIZE
 
706
CFLAGS_WARNING
 
707
STLIB_LD
 
708
SHLIB_LD
 
709
SHLIB_LD_LIBS
 
710
SHLIB_CFLAGS
 
711
LD_LIBRARY_PATH_VAR
 
712
TCL_DBGX
 
713
CFLAGS_DEFAULT
 
714
LDFLAGS_DEFAULT
 
715
MAKE_LIB
 
716
MAKE_SHARED_LIB
 
717
MAKE_STATIC_LIB
 
718
MAKE_STUB_LIB
 
719
RANLIB_STUB
 
720
TCLSH_PROG
 
721
LTLIBOBJS'
312
722
ac_subst_files=''
 
723
      ac_precious_vars='build_alias
 
724
host_alias
 
725
target_alias
 
726
CC
 
727
CFLAGS
 
728
LDFLAGS
 
729
LIBS
 
730
CPPFLAGS
 
731
CPP'
 
732
 
313
733
 
314
734
# Initialize some variables set by options.
315
735
ac_init_help=
336
756
# and all the variables that are supposed to be based on exec_prefix
337
757
# by default will actually change.
338
758
# Use braces instead of parens because sh, perl, etc. also accept them.
 
759
# (The list follows the same order as the GNU Coding Standards.)
339
760
bindir='${exec_prefix}/bin'
340
761
sbindir='${exec_prefix}/sbin'
341
762
libexecdir='${exec_prefix}/libexec'
342
 
datadir='${prefix}/share'
 
763
datarootdir='${prefix}/share'
 
764
datadir='${datarootdir}'
343
765
sysconfdir='${prefix}/etc'
344
766
sharedstatedir='${prefix}/com'
345
767
localstatedir='${prefix}/var'
346
 
libdir='${exec_prefix}/lib'
347
768
includedir='${prefix}/include'
348
769
oldincludedir='/usr/include'
349
 
infodir='${prefix}/info'
350
 
mandir='${prefix}/man'
 
770
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
771
infodir='${datarootdir}/info'
 
772
htmldir='${docdir}'
 
773
dvidir='${docdir}'
 
774
pdfdir='${docdir}'
 
775
psdir='${docdir}'
 
776
libdir='${exec_prefix}/lib'
 
777
localedir='${datarootdir}/locale'
 
778
mandir='${datarootdir}/man'
351
779
 
352
780
ac_prev=
 
781
ac_dashdash=
353
782
for ac_option
354
783
do
355
784
  # If the previous option needs an argument, assign it.
356
785
  if test -n "$ac_prev"; then
357
 
    eval "$ac_prev=\$ac_option"
 
786
    eval $ac_prev=\$ac_option
358
787
    ac_prev=
359
788
    continue
360
789
  fi
361
790
 
362
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
791
  case $ac_option in
 
792
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
793
  *)    ac_optarg=yes ;;
 
794
  esac
363
795
 
364
796
  # Accept the important Cygnus configure options, so we can diagnose typos.
365
797
 
366
 
  case $ac_option in
 
798
  case $ac_dashdash$ac_option in
 
799
  --)
 
800
    ac_dashdash=yes ;;
367
801
 
368
802
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
369
803
    ac_prev=bindir ;;
385
819
  --config-cache | -C)
386
820
    cache_file=config.cache ;;
387
821
 
388
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
822
  -datadir | --datadir | --datadi | --datad)
389
823
    ac_prev=datadir ;;
390
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
391
 
  | --da=*)
 
824
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
392
825
    datadir=$ac_optarg ;;
393
826
 
 
827
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
828
  | --dataroo | --dataro | --datar)
 
829
    ac_prev=datarootdir ;;
 
830
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
831
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
832
    datarootdir=$ac_optarg ;;
 
833
 
394
834
  -disable-* | --disable-*)
395
835
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396
836
    # Reject names that are not valid shell variable names.
397
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
837
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
398
838
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399
839
   { (exit 1); exit 1; }; }
400
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401
 
    eval "enable_$ac_feature=no" ;;
 
840
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
841
    eval enable_$ac_feature=no ;;
 
842
 
 
843
  -docdir | --docdir | --docdi | --doc | --do)
 
844
    ac_prev=docdir ;;
 
845
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
846
    docdir=$ac_optarg ;;
 
847
 
 
848
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
849
    ac_prev=dvidir ;;
 
850
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
851
    dvidir=$ac_optarg ;;
402
852
 
403
853
  -enable-* | --enable-*)
404
854
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405
855
    # Reject names that are not valid shell variable names.
406
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
856
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
407
857
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408
858
   { (exit 1); exit 1; }; }
409
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
410
 
    case $ac_option in
411
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
412
 
      *) ac_optarg=yes ;;
413
 
    esac
414
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
859
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
860
    eval enable_$ac_feature=\$ac_optarg ;;
415
861
 
416
862
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417
863
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
438
884
  -host=* | --host=* | --hos=* | --ho=*)
439
885
    host_alias=$ac_optarg ;;
440
886
 
 
887
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
888
    ac_prev=htmldir ;;
 
889
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
890
  | --ht=*)
 
891
    htmldir=$ac_optarg ;;
 
892
 
441
893
  -includedir | --includedir | --includedi | --included | --include \
442
894
  | --includ | --inclu | --incl | --inc)
443
895
    ac_prev=includedir ;;
462
914
  | --libexe=* | --libex=* | --libe=*)
463
915
    libexecdir=$ac_optarg ;;
464
916
 
 
917
  -localedir | --localedir | --localedi | --localed | --locale)
 
918
    ac_prev=localedir ;;
 
919
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
920
    localedir=$ac_optarg ;;
 
921
 
465
922
  -localstatedir | --localstatedir | --localstatedi | --localstated \
466
 
  | --localstate | --localstat | --localsta | --localst \
467
 
  | --locals | --local | --loca | --loc | --lo)
 
923
  | --localstate | --localstat | --localsta | --localst | --locals)
468
924
    ac_prev=localstatedir ;;
469
925
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
926
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
472
927
    localstatedir=$ac_optarg ;;
473
928
 
474
929
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
533
988
  | --progr-tra=* | --program-tr=* | --program-t=*)
534
989
    program_transform_name=$ac_optarg ;;
535
990
 
 
991
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
992
    ac_prev=pdfdir ;;
 
993
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
994
    pdfdir=$ac_optarg ;;
 
995
 
 
996
  -psdir | --psdir | --psdi | --psd | --ps)
 
997
    ac_prev=psdir ;;
 
998
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
999
    psdir=$ac_optarg ;;
 
1000
 
536
1001
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537
1002
  | -silent | --silent | --silen | --sile | --sil)
538
1003
    silent=yes ;;
585
1050
  -with-* | --with-*)
586
1051
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587
1052
    # Reject names that are not valid shell variable names.
588
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1053
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
589
1054
      { echo "$as_me: error: invalid package name: $ac_package" >&2
590
1055
   { (exit 1); exit 1; }; }
591
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
592
 
    case $ac_option in
593
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
594
 
      *) ac_optarg=yes ;;
595
 
    esac
596
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1056
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1057
    eval with_$ac_package=\$ac_optarg ;;
597
1058
 
598
1059
  -without-* | --without-*)
599
1060
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600
1061
    # Reject names that are not valid shell variable names.
601
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1062
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
602
1063
      { echo "$as_me: error: invalid package name: $ac_package" >&2
603
1064
   { (exit 1); exit 1; }; }
604
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
605
 
    eval "with_$ac_package=no" ;;
 
1065
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1066
    eval with_$ac_package=no ;;
606
1067
 
607
1068
  --x)
608
1069
    # Obsolete; use --with-x.
633
1094
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634
1095
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635
1096
   { (exit 1); exit 1; }; }
636
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637
 
    eval "$ac_envvar='$ac_optarg'"
 
1097
    eval $ac_envvar=\$ac_optarg
638
1098
    export $ac_envvar ;;
639
1099
 
640
1100
  *)
654
1114
   { (exit 1); exit 1; }; }
655
1115
fi
656
1116
 
657
 
# Be sure to have absolute paths.
658
 
for ac_var in exec_prefix prefix
659
 
do
660
 
  eval ac_val=$`echo $ac_var`
661
 
  case $ac_val in
662
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664
 
   { (exit 1); exit 1; }; };;
665
 
  esac
666
 
done
667
 
 
668
 
# Be sure to have absolute paths.
669
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670
 
              localstatedir libdir includedir oldincludedir infodir mandir
671
 
do
672
 
  eval ac_val=$`echo $ac_var`
673
 
  case $ac_val in
674
 
    [\\/$]* | ?:[\\/]* ) ;;
675
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676
 
   { (exit 1); exit 1; }; };;
677
 
  esac
 
1117
# Be sure to have absolute directory names.
 
1118
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1119
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1120
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1121
                libdir localedir mandir
 
1122
do
 
1123
  eval ac_val=\$$ac_var
 
1124
  case $ac_val in
 
1125
    [\\/$]* | ?:[\\/]* )  continue;;
 
1126
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1127
  esac
 
1128
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1129
   { (exit 1); exit 1; }; }
678
1130
done
679
1131
 
680
1132
# There might be people who depend on the old broken behavior: `$host'
701
1153
test "$silent" = yes && exec 6>/dev/null
702
1154
 
703
1155
 
 
1156
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1157
ac_ls_di=`ls -di .` &&
 
1158
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1159
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1160
   { (exit 1); exit 1; }; }
 
1161
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1162
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1163
   { (exit 1); exit 1; }; }
 
1164
 
 
1165
 
704
1166
# Find the source files, if location was not specified.
705
1167
if test -z "$srcdir"; then
706
1168
  ac_srcdir_defaulted=yes
707
 
  # Try the directory containing this script, then its parent.
708
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1169
  # Try the directory containing this script, then the parent directory.
 
1170
  ac_confdir=`$as_dirname -- "$0" ||
709
1171
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710
1172
         X"$0" : 'X\(//\)[^/]' \| \
711
1173
         X"$0" : 'X\(//\)$' \| \
712
 
         X"$0" : 'X\(/\)' \| \
713
 
         .     : '\(.\)' 2>/dev/null ||
 
1174
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
714
1175
echo X"$0" |
715
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717
 
          /^X\(\/\/\)$/{ s//\1/; q; }
718
 
          /^X\(\/\).*/{ s//\1/; q; }
719
 
          s/.*/./; q'`
 
1176
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1177
            s//\1/
 
1178
            q
 
1179
          }
 
1180
          /^X\(\/\/\)[^/].*/{
 
1181
            s//\1/
 
1182
            q
 
1183
          }
 
1184
          /^X\(\/\/\)$/{
 
1185
            s//\1/
 
1186
            q
 
1187
          }
 
1188
          /^X\(\/\).*/{
 
1189
            s//\1/
 
1190
            q
 
1191
          }
 
1192
          s/.*/./; q'`
720
1193
  srcdir=$ac_confdir
721
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1194
  if test ! -r "$srcdir/$ac_unique_file"; then
722
1195
    srcdir=..
723
1196
  fi
724
1197
else
725
1198
  ac_srcdir_defaulted=no
726
1199
fi
727
 
if test ! -r $srcdir/$ac_unique_file; then
728
 
  if test "$ac_srcdir_defaulted" = yes; then
729
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730
 
   { (exit 1); exit 1; }; }
731
 
  else
732
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733
 
   { (exit 1); exit 1; }; }
734
 
  fi
735
 
fi
736
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738
 
   { (exit 1); exit 1; }; }
739
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740
 
ac_env_build_alias_set=${build_alias+set}
741
 
ac_env_build_alias_value=$build_alias
742
 
ac_cv_env_build_alias_set=${build_alias+set}
743
 
ac_cv_env_build_alias_value=$build_alias
744
 
ac_env_host_alias_set=${host_alias+set}
745
 
ac_env_host_alias_value=$host_alias
746
 
ac_cv_env_host_alias_set=${host_alias+set}
747
 
ac_cv_env_host_alias_value=$host_alias
748
 
ac_env_target_alias_set=${target_alias+set}
749
 
ac_env_target_alias_value=$target_alias
750
 
ac_cv_env_target_alias_set=${target_alias+set}
751
 
ac_cv_env_target_alias_value=$target_alias
752
 
ac_env_CC_set=${CC+set}
753
 
ac_env_CC_value=$CC
754
 
ac_cv_env_CC_set=${CC+set}
755
 
ac_cv_env_CC_value=$CC
756
 
ac_env_CFLAGS_set=${CFLAGS+set}
757
 
ac_env_CFLAGS_value=$CFLAGS
758
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
759
 
ac_cv_env_CFLAGS_value=$CFLAGS
760
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
761
 
ac_env_LDFLAGS_value=$LDFLAGS
762
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
764
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
765
 
ac_env_CPPFLAGS_value=$CPPFLAGS
766
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
767
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
768
 
ac_env_CPP_set=${CPP+set}
769
 
ac_env_CPP_value=$CPP
770
 
ac_cv_env_CPP_set=${CPP+set}
771
 
ac_cv_env_CPP_value=$CPP
 
1200
if test ! -r "$srcdir/$ac_unique_file"; then
 
1201
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1202
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1203
   { (exit 1); exit 1; }; }
 
1204
fi
 
1205
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1206
ac_abs_confdir=`(
 
1207
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1208
   { (exit 1); exit 1; }; }
 
1209
        pwd)`
 
1210
# When building in place, set srcdir=.
 
1211
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1212
  srcdir=.
 
1213
fi
 
1214
# Remove unnecessary trailing slashes from srcdir.
 
1215
# Double slashes in file names in object file debugging info
 
1216
# mess up M-x gdb in Emacs.
 
1217
case $srcdir in
 
1218
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1219
esac
 
1220
for ac_var in $ac_precious_vars; do
 
1221
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1222
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1223
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1224
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1225
done
772
1226
 
773
1227
#
774
1228
# Report the --help message.
777
1231
  # Omit some internal or obsolete options to make the list less imposing.
778
1232
  # This message is too long to be a string in the A/UX 3.1 sh.
779
1233
  cat <<_ACEOF
780
 
\`configure' configures TclCurl 7.17.1 to adapt to many kinds of systems.
 
1234
\`configure' configures TclCurl 7.19.0 to adapt to many kinds of systems.
781
1235
 
782
1236
Usage: $0 [OPTION]... [VAR=VALUE]...
783
1237
 
797
1251
  -n, --no-create         do not create output files
798
1252
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
799
1253
 
800
 
_ACEOF
801
 
 
802
 
  cat <<_ACEOF
803
1254
Installation directories:
804
1255
  --prefix=PREFIX         install architecture-independent files in PREFIX
805
1256
                          [$ac_default_prefix]
817
1268
  --bindir=DIR           user executables [EPREFIX/bin]
818
1269
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
819
1270
  --libexecdir=DIR       program executables [EPREFIX/libexec]
820
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
821
1271
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
822
1272
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
823
1273
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
824
1274
  --libdir=DIR           object code libraries [EPREFIX/lib]
825
1275
  --includedir=DIR       C header files [PREFIX/include]
826
1276
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
827
 
  --infodir=DIR          info documentation [PREFIX/info]
828
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1277
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1278
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1279
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1280
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1281
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1282
  --docdir=DIR           documentation root [DATAROOTDIR/doc/tclcurl]
 
1283
  --htmldir=DIR          html documentation [DOCDIR]
 
1284
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1285
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1286
  --psdir=DIR            ps documentation [DOCDIR]
829
1287
_ACEOF
830
1288
 
831
1289
  cat <<\_ACEOF
834
1292
 
835
1293
if test -n "$ac_init_help"; then
836
1294
  case $ac_init_help in
837
 
     short | recursive ) echo "Configuration of TclCurl 7.17.1:";;
 
1295
     short | recursive ) echo "Configuration of TclCurl 7.19.0:";;
838
1296
   esac
839
1297
  cat <<\_ACEOF
840
1298
 
866
1324
  CFLAGS      C compiler flags
867
1325
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
868
1326
              nonstandard directory <lib dir>
869
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
870
 
              headers in a nonstandard directory <include dir>
 
1327
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1328
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1329
              you have headers in a nonstandard directory <include dir>
871
1330
  CPP         C preprocessor
872
1331
 
873
1332
Use these variables to override the choices made by `configure' or to help
874
1333
it to find libraries and programs with nonstandard names/locations.
875
1334
 
876
1335
_ACEOF
 
1336
ac_status=$?
877
1337
fi
878
1338
 
879
1339
if test "$ac_init_help" = "recursive"; then
880
1340
  # If there are subdirs, report their specific --help.
881
 
  ac_popdir=`pwd`
882
1341
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
883
 
    test -d $ac_dir || continue
 
1342
    test -d "$ac_dir" || continue
884
1343
    ac_builddir=.
885
1344
 
886
 
if test "$ac_dir" != .; then
 
1345
case "$ac_dir" in
 
1346
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1347
*)
887
1348
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
888
 
  # A "../" for each directory in $ac_dir_suffix.
889
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
890
 
else
891
 
  ac_dir_suffix= ac_top_builddir=
892
 
fi
 
1349
  # A ".." for each directory in $ac_dir_suffix.
 
1350
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1351
  case $ac_top_builddir_sub in
 
1352
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1353
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1354
  esac ;;
 
1355
esac
 
1356
ac_abs_top_builddir=$ac_pwd
 
1357
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1358
# for backward compatibility:
 
1359
ac_top_builddir=$ac_top_build_prefix
893
1360
 
894
1361
case $srcdir in
895
 
  .)  # No --srcdir option.  We are building in place.
 
1362
  .)  # We are building in place.
896
1363
    ac_srcdir=.
897
 
    if test -z "$ac_top_builddir"; then
898
 
       ac_top_srcdir=.
899
 
    else
900
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
901
 
    fi ;;
902
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1364
    ac_top_srcdir=$ac_top_builddir_sub
 
1365
    ac_abs_top_srcdir=$ac_pwd ;;
 
1366
  [\\/]* | ?:[\\/]* )  # Absolute name.
903
1367
    ac_srcdir=$srcdir$ac_dir_suffix;
904
 
    ac_top_srcdir=$srcdir ;;
905
 
  *) # Relative path.
906
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
907
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
908
 
esac
909
 
 
910
 
# Do not use `cd foo && pwd` to compute absolute paths, because
911
 
# the directories may not exist.
912
 
case `pwd` in
913
 
.) ac_abs_builddir="$ac_dir";;
914
 
*)
915
 
  case "$ac_dir" in
916
 
  .) ac_abs_builddir=`pwd`;;
917
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
918
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
919
 
  esac;;
920
 
esac
921
 
case $ac_abs_builddir in
922
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
923
 
*)
924
 
  case ${ac_top_builddir}. in
925
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
926
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
927
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
928
 
  esac;;
929
 
esac
930
 
case $ac_abs_builddir in
931
 
.) ac_abs_srcdir=$ac_srcdir;;
932
 
*)
933
 
  case $ac_srcdir in
934
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
935
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
936
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
937
 
  esac;;
938
 
esac
939
 
case $ac_abs_builddir in
940
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
941
 
*)
942
 
  case $ac_top_srcdir in
943
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
944
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
945
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
946
 
  esac;;
947
 
esac
948
 
 
949
 
    cd $ac_dir
950
 
    # Check for guested configure; otherwise get Cygnus style configure.
951
 
    if test -f $ac_srcdir/configure.gnu; then
952
 
      echo
953
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
954
 
    elif test -f $ac_srcdir/configure; then
955
 
      echo
956
 
      $SHELL $ac_srcdir/configure  --help=recursive
957
 
    elif test -f $ac_srcdir/configure.ac ||
958
 
           test -f $ac_srcdir/configure.in; then
959
 
      echo
960
 
      $ac_configure --help
 
1368
    ac_top_srcdir=$srcdir
 
1369
    ac_abs_top_srcdir=$srcdir ;;
 
1370
  *) # Relative name.
 
1371
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1372
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1373
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1374
esac
 
1375
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1376
 
 
1377
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1378
    # Check for guested configure.
 
1379
    if test -f "$ac_srcdir/configure.gnu"; then
 
1380
      echo &&
 
1381
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1382
    elif test -f "$ac_srcdir/configure"; then
 
1383
      echo &&
 
1384
      $SHELL "$ac_srcdir/configure" --help=recursive
961
1385
    else
962
1386
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
963
 
    fi
964
 
    cd $ac_popdir
 
1387
    fi || ac_status=$?
 
1388
    cd "$ac_pwd" || { ac_status=$?; break; }
965
1389
  done
966
1390
fi
967
1391
 
968
 
test -n "$ac_init_help" && exit 0
 
1392
test -n "$ac_init_help" && exit $ac_status
969
1393
if $ac_init_version; then
970
1394
  cat <<\_ACEOF
971
 
TclCurl configure 7.17.1
972
 
generated by GNU Autoconf 2.59
 
1395
TclCurl configure 7.19.0
 
1396
generated by GNU Autoconf 2.61
973
1397
 
974
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1398
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1399
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
975
1400
This configure script is free software; the Free Software Foundation
976
1401
gives unlimited permission to copy, distribute and modify it.
977
1402
_ACEOF
978
 
  exit 0
 
1403
  exit
979
1404
fi
980
 
exec 5>config.log
981
 
cat >&5 <<_ACEOF
 
1405
cat >config.log <<_ACEOF
982
1406
This file contains any messages produced by compilers while
983
1407
running configure, to aid debugging if configure makes a mistake.
984
1408
 
985
 
It was created by TclCurl $as_me 7.17.1, which was
986
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1409
It was created by TclCurl $as_me 7.19.0, which was
 
1410
generated by GNU Autoconf 2.61.  Invocation command line was
987
1411
 
988
1412
  $ $0 $@
989
1413
 
990
1414
_ACEOF
 
1415
exec 5>>config.log
991
1416
{
992
1417
cat <<_ASUNAME
993
1418
## --------- ##
1006
1431
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1007
1432
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1008
1433
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1009
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1434
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1010
1435
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1011
1436
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1012
1437
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1020
1445
  test -z "$as_dir" && as_dir=.
1021
1446
  echo "PATH: $as_dir"
1022
1447
done
 
1448
IFS=$as_save_IFS
1023
1449
 
1024
1450
} >&5
1025
1451
 
1041
1467
ac_configure_args=
1042
1468
ac_configure_args0=
1043
1469
ac_configure_args1=
1044
 
ac_sep=
1045
1470
ac_must_keep_next=false
1046
1471
for ac_pass in 1 2
1047
1472
do
1052
1477
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1053
1478
    | -silent | --silent | --silen | --sile | --sil)
1054
1479
      continue ;;
1055
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1480
    *\'*)
1056
1481
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1057
1482
    esac
1058
1483
    case $ac_pass in
1074
1499
          -* ) ac_must_keep_next=true ;;
1075
1500
        esac
1076
1501
      fi
1077
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1078
 
      # Get rid of the leading space.
1079
 
      ac_sep=" "
 
1502
      ac_configure_args="$ac_configure_args '$ac_arg'"
1080
1503
      ;;
1081
1504
    esac
1082
1505
  done
1087
1510
# When interrupted or exit'd, cleanup temporary files, and complete
1088
1511
# config.log.  We remove comments because anyway the quotes in there
1089
1512
# would cause problems or look ugly.
1090
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1091
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1513
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1514
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1092
1515
trap 'exit_status=$?
1093
1516
  # Save into config.log some information that might help in debugging.
1094
1517
  {
1101
1524
_ASBOX
1102
1525
    echo
1103
1526
    # The following way of writing the cache mishandles newlines in values,
1104
 
{
 
1527
(
 
1528
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1529
    eval ac_val=\$$ac_var
 
1530
    case $ac_val in #(
 
1531
    *${as_nl}*)
 
1532
      case $ac_var in #(
 
1533
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1534
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1535
      esac
 
1536
      case $ac_var in #(
 
1537
      _ | IFS | as_nl) ;; #(
 
1538
      *) $as_unset $ac_var ;;
 
1539
      esac ;;
 
1540
    esac
 
1541
  done
1105
1542
  (set) 2>&1 |
1106
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1107
 
    *ac_space=\ *)
 
1543
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1544
    *${as_nl}ac_space=\ *)
1108
1545
      sed -n \
1109
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1110
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1111
 
      ;;
 
1546
        "s/'\''/'\''\\\\'\'''\''/g;
 
1547
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1548
      ;; #(
1112
1549
    *)
1113
 
      sed -n \
1114
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1550
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1115
1551
      ;;
1116
 
    esac;
1117
 
}
 
1552
    esac |
 
1553
    sort
 
1554
)
1118
1555
    echo
1119
1556
 
1120
1557
    cat <<\_ASBOX
1125
1562
    echo
1126
1563
    for ac_var in $ac_subst_vars
1127
1564
    do
1128
 
      eval ac_val=$`echo $ac_var`
1129
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1565
      eval ac_val=\$$ac_var
 
1566
      case $ac_val in
 
1567
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1568
      esac
 
1569
      echo "$ac_var='\''$ac_val'\''"
1130
1570
    done | sort
1131
1571
    echo
1132
1572
 
1133
1573
    if test -n "$ac_subst_files"; then
1134
1574
      cat <<\_ASBOX
1135
 
## ------------- ##
1136
 
## Output files. ##
1137
 
## ------------- ##
 
1575
## ------------------- ##
 
1576
## File substitutions. ##
 
1577
## ------------------- ##
1138
1578
_ASBOX
1139
1579
      echo
1140
1580
      for ac_var in $ac_subst_files
1141
1581
      do
1142
 
        eval ac_val=$`echo $ac_var`
1143
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1582
        eval ac_val=\$$ac_var
 
1583
        case $ac_val in
 
1584
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1585
        esac
 
1586
        echo "$ac_var='\''$ac_val'\''"
1144
1587
      done | sort
1145
1588
      echo
1146
1589
    fi
1152
1595
## ----------- ##
1153
1596
_ASBOX
1154
1597
      echo
1155
 
      sed "/^$/d" confdefs.h | sort
 
1598
      cat confdefs.h
1156
1599
      echo
1157
1600
    fi
1158
1601
    test "$ac_signal" != 0 &&
1159
1602
      echo "$as_me: caught signal $ac_signal"
1160
1603
    echo "$as_me: exit $exit_status"
1161
1604
  } >&5
1162
 
  rm -f core *.core &&
1163
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1605
  rm -f core *.core core.conftest.* &&
 
1606
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1164
1607
    exit $exit_status
1165
 
     ' 0
 
1608
' 0
1166
1609
for ac_signal in 1 2 13 15; do
1167
1610
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1168
1611
done
1169
1612
ac_signal=0
1170
1613
 
1171
1614
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1172
 
rm -rf conftest* confdefs.h
1173
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1174
 
echo >confdefs.h
 
1615
rm -f -r conftest* confdefs.h
1175
1616
 
1176
1617
# Predefined preprocessor variables.
1177
1618
 
1202
1643
 
1203
1644
# Let the site file select an alternate cache file if it wants to.
1204
1645
# Prefer explicitly selected file to automatically selected ones.
1205
 
if test -z "$CONFIG_SITE"; then
1206
 
  if test "x$prefix" != xNONE; then
1207
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1208
 
  else
1209
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1210
 
  fi
 
1646
if test -n "$CONFIG_SITE"; then
 
1647
  set x "$CONFIG_SITE"
 
1648
elif test "x$prefix" != xNONE; then
 
1649
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1650
else
 
1651
  set x "$ac_default_prefix/share/config.site" \
 
1652
        "$ac_default_prefix/etc/config.site"
1211
1653
fi
1212
 
for ac_site_file in $CONFIG_SITE; do
 
1654
shift
 
1655
for ac_site_file
 
1656
do
1213
1657
  if test -r "$ac_site_file"; then
1214
1658
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1215
1659
echo "$as_me: loading site script $ac_site_file" >&6;}
1225
1669
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1226
1670
echo "$as_me: loading cache $cache_file" >&6;}
1227
1671
    case $cache_file in
1228
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1229
 
      *)                      . ./$cache_file;;
 
1672
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1673
      *)                      . "./$cache_file";;
1230
1674
    esac
1231
1675
  fi
1232
1676
else
1238
1682
# Check that the precious variables saved in the cache have kept the same
1239
1683
# value.
1240
1684
ac_cache_corrupted=false
1241
 
for ac_var in `(set) 2>&1 |
1242
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1685
for ac_var in $ac_precious_vars; do
1243
1686
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1244
1687
  eval ac_new_set=\$ac_env_${ac_var}_set
1245
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1246
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1688
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1689
  eval ac_new_val=\$ac_env_${ac_var}_value
1247
1690
  case $ac_old_set,$ac_new_set in
1248
1691
    set,)
1249
1692
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1268
1711
  # Pass precious variables to config.status.
1269
1712
  if test "$ac_new_set" = set; then
1270
1713
    case $ac_new_val in
1271
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1272
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1714
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1273
1715
    *) ac_arg=$ac_var=$ac_new_val ;;
1274
1716
    esac
1275
1717
    case " $ac_configure_args " in
1286
1728
   { (exit 1); exit 1; }; }
1287
1729
fi
1288
1730
 
 
1731
 
 
1732
 
 
1733
 
 
1734
 
 
1735
 
 
1736
 
 
1737
 
 
1738
 
 
1739
 
 
1740
 
 
1741
 
 
1742
 
 
1743
 
 
1744
 
 
1745
 
 
1746
 
 
1747
 
 
1748
 
 
1749
 
 
1750
 
 
1751
 
 
1752
 
 
1753
 
 
1754
 
1289
1755
ac_ext=c
1290
1756
ac_cpp='$CPP $CPPFLAGS'
1291
1757
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1294
1760
 
1295
1761
 
1296
1762
 
1297
 
 
1298
 
 
1299
 
 
1300
 
 
1301
 
 
1302
 
 
1303
 
 
1304
 
 
1305
 
 
1306
 
 
1307
 
 
1308
 
 
1309
 
 
1310
 
 
1311
 
 
1312
 
 
1313
 
 
1314
 
 
1315
 
 
1316
 
 
1317
 
 
1318
 
 
1319
 
 
1320
 
 
1321
 
 
1322
1763
#--------------------------------------------------------------------
1323
1764
# Call TEA_INIT as the first TEA_ macro to set up initial vars.
1324
1765
# This will define a ${TEA_PLATFORM} variable == "unix" or "windows"
1330
1771
    # are compatible with.
1331
1772
    TEA_VERSION="3.6"
1332
1773
 
1333
 
    echo "$as_me:$LINENO: checking for correct TEA configuration" >&5
1334
 
echo $ECHO_N "checking for correct TEA configuration... $ECHO_C" >&6
 
1774
    { echo "$as_me:$LINENO: checking for correct TEA configuration" >&5
 
1775
echo $ECHO_N "checking for correct TEA configuration... $ECHO_C" >&6; }
1335
1776
    if test x"${PACKAGE_NAME}" = x ; then
1336
1777
        { { echo "$as_me:$LINENO: error:
1337
1778
The PACKAGE_NAME variable must be defined by your TEA configure.in" >&5
1346
1787
TEA version not specified." >&2;}
1347
1788
   { (exit 1); exit 1; }; }
1348
1789
    elif test "3.6" != "${TEA_VERSION}" ; then
1349
 
        echo "$as_me:$LINENO: result: warning: requested TEA version \"3.6\", have \"${TEA_VERSION}\"" >&5
1350
 
echo "${ECHO_T}warning: requested TEA version \"3.6\", have \"${TEA_VERSION}\"" >&6
 
1790
        { echo "$as_me:$LINENO: result: warning: requested TEA version \"3.6\", have \"${TEA_VERSION}\"" >&5
 
1791
echo "${ECHO_T}warning: requested TEA version \"3.6\", have \"${TEA_VERSION}\"" >&6; }
1351
1792
    else
1352
 
        echo "$as_me:$LINENO: result: ok (TEA ${TEA_VERSION})" >&5
1353
 
echo "${ECHO_T}ok (TEA ${TEA_VERSION})" >&6
 
1793
        { echo "$as_me:$LINENO: result: ok (TEA ${TEA_VERSION})" >&5
 
1794
echo "${ECHO_T}ok (TEA ${TEA_VERSION})" >&6; }
1354
1795
    fi
1355
1796
    case "`uname -s`" in
1356
1797
        *win32*|*WIN32*|*CYGWIN_NT*|*CYGWIN_9*|*CYGWIN_ME*|*MINGW32_*)
1357
1798
            # Extract the first word of "cygpath", so it can be a program name with args.
1358
1799
set dummy cygpath; ac_word=$2
1359
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1360
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1800
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1801
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1361
1802
if test "${ac_cv_prog_CYGPATH+set}" = set; then
1362
1803
  echo $ECHO_N "(cached) $ECHO_C" >&6
1363
1804
else
1370
1811
  IFS=$as_save_IFS
1371
1812
  test -z "$as_dir" && as_dir=.
1372
1813
  for ac_exec_ext in '' $ac_executable_extensions; do
1373
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1814
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1374
1815
    ac_cv_prog_CYGPATH="cygpath -w"
1375
1816
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1376
1817
    break 2
1377
1818
  fi
1378
1819
done
1379
1820
done
 
1821
IFS=$as_save_IFS
1380
1822
 
1381
1823
  test -z "$ac_cv_prog_CYGPATH" && ac_cv_prog_CYGPATH="echo"
1382
1824
fi
1383
1825
fi
1384
1826
CYGPATH=$ac_cv_prog_CYGPATH
1385
1827
if test -n "$CYGPATH"; then
1386
 
  echo "$as_me:$LINENO: result: $CYGPATH" >&5
1387
 
echo "${ECHO_T}$CYGPATH" >&6
 
1828
  { echo "$as_me:$LINENO: result: $CYGPATH" >&5
 
1829
echo "${ECHO_T}$CYGPATH" >&6; }
1388
1830
else
1389
 
  echo "$as_me:$LINENO: result: no" >&5
1390
 
echo "${ECHO_T}no" >&6
 
1831
  { echo "$as_me:$LINENO: result: no" >&5
 
1832
echo "${ECHO_T}no" >&6; }
1391
1833
fi
1392
1834
 
 
1835
 
1393
1836
            EXEEXT=".exe"
1394
1837
            TEA_PLATFORM="windows"
1395
1838
            ;;
1429
1872
 
1430
1873
 
1431
1874
ac_aux_dir=
1432
 
for ac_dir in tclconfig $srcdir/tclconfig; do
1433
 
  if test -f $ac_dir/install-sh; then
 
1875
for ac_dir in tclconfig "$srcdir"/tclconfig; do
 
1876
  if test -f "$ac_dir/install-sh"; then
1434
1877
    ac_aux_dir=$ac_dir
1435
1878
    ac_install_sh="$ac_aux_dir/install-sh -c"
1436
1879
    break
1437
 
  elif test -f $ac_dir/install.sh; then
 
1880
  elif test -f "$ac_dir/install.sh"; then
1438
1881
    ac_aux_dir=$ac_dir
1439
1882
    ac_install_sh="$ac_aux_dir/install.sh -c"
1440
1883
    break
1441
 
  elif test -f $ac_dir/shtool; then
 
1884
  elif test -f "$ac_dir/shtool"; then
1442
1885
    ac_aux_dir=$ac_dir
1443
1886
    ac_install_sh="$ac_aux_dir/shtool install -c"
1444
1887
    break
1445
1888
  fi
1446
1889
done
1447
1890
if test -z "$ac_aux_dir"; then
1448
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tclconfig $srcdir/tclconfig" >&5
1449
 
echo "$as_me: error: cannot find install-sh or install.sh in tclconfig $srcdir/tclconfig" >&2;}
 
1891
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tclconfig \"$srcdir\"/tclconfig" >&5
 
1892
echo "$as_me: error: cannot find install-sh or install.sh in tclconfig \"$srcdir\"/tclconfig" >&2;}
1450
1893
   { (exit 1); exit 1; }; }
1451
1894
fi
1452
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1453
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1454
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
1895
 
 
1896
# These three variables are undocumented and unsupported,
 
1897
# and are intended to be withdrawn in a future Autoconf release.
 
1898
# They can cause serious problems if a builder's source tree is in a directory
 
1899
# whose full name contains unusual characters.
 
1900
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
1901
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
1902
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
1903
 
1455
1904
 
1456
1905
 
1457
1906
#--------------------------------------------------------------------
1470
1919
        # we reset no_tcl in case something fails here
1471
1920
        no_tcl=true
1472
1921
 
1473
 
# Check whether --with-tcl or --without-tcl was given.
 
1922
# Check whether --with-tcl was given.
1474
1923
if test "${with_tcl+set}" = set; then
1475
 
  withval="$with_tcl"
1476
 
  with_tclconfig=${withval}
1477
 
fi;
1478
 
        echo "$as_me:$LINENO: checking for Tcl configuration" >&5
1479
 
echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6
 
1924
  withval=$with_tcl; with_tclconfig=${withval}
 
1925
fi
 
1926
 
 
1927
        { echo "$as_me:$LINENO: checking for Tcl configuration" >&5
 
1928
echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6; }
1480
1929
        if test "${ac_cv_c_tclconfig+set}" = set; then
1481
1930
  echo $ECHO_N "(cached) $ECHO_C" >&6
1482
1931
else
1591
2040
        else
1592
2041
            no_tcl=
1593
2042
            TCL_BIN_DIR=${ac_cv_c_tclconfig}
1594
 
            echo "$as_me:$LINENO: result: found ${TCL_BIN_DIR}/tclConfig.sh" >&5
1595
 
echo "${ECHO_T}found ${TCL_BIN_DIR}/tclConfig.sh" >&6
 
2043
            { echo "$as_me:$LINENO: result: found ${TCL_BIN_DIR}/tclConfig.sh" >&5
 
2044
echo "${ECHO_T}found ${TCL_BIN_DIR}/tclConfig.sh" >&6; }
1596
2045
        fi
1597
2046
    fi
1598
2047
 
1599
2048
 
1600
 
    echo "$as_me:$LINENO: checking for existence of ${TCL_BIN_DIR}/tclConfig.sh" >&5
1601
 
echo $ECHO_N "checking for existence of ${TCL_BIN_DIR}/tclConfig.sh... $ECHO_C" >&6
 
2049
    { echo "$as_me:$LINENO: checking for existence of ${TCL_BIN_DIR}/tclConfig.sh" >&5
 
2050
echo $ECHO_N "checking for existence of ${TCL_BIN_DIR}/tclConfig.sh... $ECHO_C" >&6; }
1602
2051
 
1603
2052
    if test -f "${TCL_BIN_DIR}/tclConfig.sh" ; then
1604
 
        echo "$as_me:$LINENO: result: loading" >&5
1605
 
echo "${ECHO_T}loading" >&6
 
2053
        { echo "$as_me:$LINENO: result: loading" >&5
 
2054
echo "${ECHO_T}loading" >&6; }
1606
2055
        . ${TCL_BIN_DIR}/tclConfig.sh
1607
2056
    else
1608
 
        echo "$as_me:$LINENO: result: could not find ${TCL_BIN_DIR}/tclConfig.sh" >&5
1609
 
echo "${ECHO_T}could not find ${TCL_BIN_DIR}/tclConfig.sh" >&6
 
2057
        { echo "$as_me:$LINENO: result: could not find ${TCL_BIN_DIR}/tclConfig.sh" >&5
 
2058
echo "${ECHO_T}could not find ${TCL_BIN_DIR}/tclConfig.sh" >&6; }
1610
2059
    fi
1611
2060
 
1612
2061
    # eval is required to do the TCL_DBGX substitution
1728
2177
if test -n "$ac_tool_prefix"; then
1729
2178
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1730
2179
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1731
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1732
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2180
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2181
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1733
2182
if test "${ac_cv_prog_CC+set}" = set; then
1734
2183
  echo $ECHO_N "(cached) $ECHO_C" >&6
1735
2184
else
1742
2191
  IFS=$as_save_IFS
1743
2192
  test -z "$as_dir" && as_dir=.
1744
2193
  for ac_exec_ext in '' $ac_executable_extensions; do
1745
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2194
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1746
2195
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1747
2196
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1748
2197
    break 2
1749
2198
  fi
1750
2199
done
1751
2200
done
 
2201
IFS=$as_save_IFS
1752
2202
 
1753
2203
fi
1754
2204
fi
1755
2205
CC=$ac_cv_prog_CC
1756
2206
if test -n "$CC"; then
1757
 
  echo "$as_me:$LINENO: result: $CC" >&5
1758
 
echo "${ECHO_T}$CC" >&6
 
2207
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2208
echo "${ECHO_T}$CC" >&6; }
1759
2209
else
1760
 
  echo "$as_me:$LINENO: result: no" >&5
1761
 
echo "${ECHO_T}no" >&6
 
2210
  { echo "$as_me:$LINENO: result: no" >&5
 
2211
echo "${ECHO_T}no" >&6; }
1762
2212
fi
 
2213
 
1763
2214
 
1764
2215
fi
1765
2216
if test -z "$ac_cv_prog_CC"; then
1766
2217
  ac_ct_CC=$CC
1767
2218
  # Extract the first word of "gcc", so it can be a program name with args.
1768
2219
set dummy gcc; ac_word=$2
1769
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1770
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2220
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2221
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1771
2222
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1772
2223
  echo $ECHO_N "(cached) $ECHO_C" >&6
1773
2224
else
1780
2231
  IFS=$as_save_IFS
1781
2232
  test -z "$as_dir" && as_dir=.
1782
2233
  for ac_exec_ext in '' $ac_executable_extensions; do
1783
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2234
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1784
2235
    ac_cv_prog_ac_ct_CC="gcc"
1785
2236
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1786
2237
    break 2
1787
2238
  fi
1788
2239
done
1789
2240
done
 
2241
IFS=$as_save_IFS
1790
2242
 
1791
2243
fi
1792
2244
fi
1793
2245
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1794
2246
if test -n "$ac_ct_CC"; then
1795
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1796
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2247
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2248
echo "${ECHO_T}$ac_ct_CC" >&6; }
1797
2249
else
1798
 
  echo "$as_me:$LINENO: result: no" >&5
1799
 
echo "${ECHO_T}no" >&6
 
2250
  { echo "$as_me:$LINENO: result: no" >&5
 
2251
echo "${ECHO_T}no" >&6; }
1800
2252
fi
1801
2253
 
1802
 
  CC=$ac_ct_CC
 
2254
  if test "x$ac_ct_CC" = x; then
 
2255
    CC=""
 
2256
  else
 
2257
    case $cross_compiling:$ac_tool_warned in
 
2258
yes:)
 
2259
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2260
whose name does not start with the host triplet.  If you think this
 
2261
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2262
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2263
whose name does not start with the host triplet.  If you think this
 
2264
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2265
ac_tool_warned=yes ;;
 
2266
esac
 
2267
    CC=$ac_ct_CC
 
2268
  fi
1803
2269
else
1804
2270
  CC="$ac_cv_prog_CC"
1805
2271
fi
1806
2272
 
1807
2273
if test -z "$CC"; then
1808
 
  if test -n "$ac_tool_prefix"; then
1809
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2274
          if test -n "$ac_tool_prefix"; then
 
2275
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1810
2276
set dummy ${ac_tool_prefix}cc; ac_word=$2
1811
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1812
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2277
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2278
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1813
2279
if test "${ac_cv_prog_CC+set}" = set; then
1814
2280
  echo $ECHO_N "(cached) $ECHO_C" >&6
1815
2281
else
1822
2288
  IFS=$as_save_IFS
1823
2289
  test -z "$as_dir" && as_dir=.
1824
2290
  for ac_exec_ext in '' $ac_executable_extensions; do
1825
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2291
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1826
2292
    ac_cv_prog_CC="${ac_tool_prefix}cc"
1827
2293
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1828
2294
    break 2
1829
2295
  fi
1830
2296
done
1831
2297
done
 
2298
IFS=$as_save_IFS
1832
2299
 
1833
2300
fi
1834
2301
fi
1835
2302
CC=$ac_cv_prog_CC
1836
2303
if test -n "$CC"; then
1837
 
  echo "$as_me:$LINENO: result: $CC" >&5
1838
 
echo "${ECHO_T}$CC" >&6
1839
 
else
1840
 
  echo "$as_me:$LINENO: result: no" >&5
1841
 
echo "${ECHO_T}no" >&6
1842
 
fi
1843
 
 
1844
 
fi
1845
 
if test -z "$ac_cv_prog_CC"; then
1846
 
  ac_ct_CC=$CC
1847
 
  # Extract the first word of "cc", so it can be a program name with args.
1848
 
set dummy cc; ac_word=$2
1849
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1850
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1851
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1852
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1853
 
else
1854
 
  if test -n "$ac_ct_CC"; then
1855
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1856
 
else
1857
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1858
 
for as_dir in $PATH
1859
 
do
1860
 
  IFS=$as_save_IFS
1861
 
  test -z "$as_dir" && as_dir=.
1862
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1863
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1864
 
    ac_cv_prog_ac_ct_CC="cc"
1865
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1866
 
    break 2
 
2304
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2305
echo "${ECHO_T}$CC" >&6; }
 
2306
else
 
2307
  { echo "$as_me:$LINENO: result: no" >&5
 
2308
echo "${ECHO_T}no" >&6; }
 
2309
fi
 
2310
 
 
2311
 
1867
2312
  fi
1868
 
done
1869
 
done
1870
 
 
1871
 
fi
1872
 
fi
1873
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1874
 
if test -n "$ac_ct_CC"; then
1875
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1876
 
echo "${ECHO_T}$ac_ct_CC" >&6
1877
 
else
1878
 
  echo "$as_me:$LINENO: result: no" >&5
1879
 
echo "${ECHO_T}no" >&6
1880
 
fi
1881
 
 
1882
 
  CC=$ac_ct_CC
1883
 
else
1884
 
  CC="$ac_cv_prog_CC"
1885
 
fi
1886
 
 
1887
2313
fi
1888
2314
if test -z "$CC"; then
1889
2315
  # Extract the first word of "cc", so it can be a program name with args.
1890
2316
set dummy cc; ac_word=$2
1891
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1892
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2317
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2318
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1893
2319
if test "${ac_cv_prog_CC+set}" = set; then
1894
2320
  echo $ECHO_N "(cached) $ECHO_C" >&6
1895
2321
else
1903
2329
  IFS=$as_save_IFS
1904
2330
  test -z "$as_dir" && as_dir=.
1905
2331
  for ac_exec_ext in '' $ac_executable_extensions; do
1906
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2332
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1907
2333
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1908
2334
       ac_prog_rejected=yes
1909
2335
       continue
1914
2340
  fi
1915
2341
done
1916
2342
done
 
2343
IFS=$as_save_IFS
1917
2344
 
1918
2345
if test $ac_prog_rejected = yes; then
1919
2346
  # We found a bogon in the path, so make sure we never use it.
1931
2358
fi
1932
2359
CC=$ac_cv_prog_CC
1933
2360
if test -n "$CC"; then
1934
 
  echo "$as_me:$LINENO: result: $CC" >&5
1935
 
echo "${ECHO_T}$CC" >&6
 
2361
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2362
echo "${ECHO_T}$CC" >&6; }
1936
2363
else
1937
 
  echo "$as_me:$LINENO: result: no" >&5
1938
 
echo "${ECHO_T}no" >&6
 
2364
  { echo "$as_me:$LINENO: result: no" >&5
 
2365
echo "${ECHO_T}no" >&6; }
1939
2366
fi
 
2367
 
1940
2368
 
1941
2369
fi
1942
2370
if test -z "$CC"; then
1943
2371
  if test -n "$ac_tool_prefix"; then
1944
 
  for ac_prog in cl
 
2372
  for ac_prog in cl.exe
1945
2373
  do
1946
2374
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1947
2375
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1948
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1949
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2376
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2377
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1950
2378
if test "${ac_cv_prog_CC+set}" = set; then
1951
2379
  echo $ECHO_N "(cached) $ECHO_C" >&6
1952
2380
else
1959
2387
  IFS=$as_save_IFS
1960
2388
  test -z "$as_dir" && as_dir=.
1961
2389
  for ac_exec_ext in '' $ac_executable_extensions; do
1962
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2390
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1963
2391
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1964
2392
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1965
2393
    break 2
1966
2394
  fi
1967
2395
done
1968
2396
done
 
2397
IFS=$as_save_IFS
1969
2398
 
1970
2399
fi
1971
2400
fi
1972
2401
CC=$ac_cv_prog_CC
1973
2402
if test -n "$CC"; then
1974
 
  echo "$as_me:$LINENO: result: $CC" >&5
1975
 
echo "${ECHO_T}$CC" >&6
 
2403
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2404
echo "${ECHO_T}$CC" >&6; }
1976
2405
else
1977
 
  echo "$as_me:$LINENO: result: no" >&5
1978
 
echo "${ECHO_T}no" >&6
 
2406
  { echo "$as_me:$LINENO: result: no" >&5
 
2407
echo "${ECHO_T}no" >&6; }
1979
2408
fi
1980
2409
 
 
2410
 
1981
2411
    test -n "$CC" && break
1982
2412
  done
1983
2413
fi
1984
2414
if test -z "$CC"; then
1985
2415
  ac_ct_CC=$CC
1986
 
  for ac_prog in cl
 
2416
  for ac_prog in cl.exe
1987
2417
do
1988
2418
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1989
2419
set dummy $ac_prog; ac_word=$2
1990
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1991
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2420
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2421
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1992
2422
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1993
2423
  echo $ECHO_N "(cached) $ECHO_C" >&6
1994
2424
else
2001
2431
  IFS=$as_save_IFS
2002
2432
  test -z "$as_dir" && as_dir=.
2003
2433
  for ac_exec_ext in '' $ac_executable_extensions; do
2004
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2434
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2005
2435
    ac_cv_prog_ac_ct_CC="$ac_prog"
2006
2436
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2007
2437
    break 2
2008
2438
  fi
2009
2439
done
2010
2440
done
 
2441
IFS=$as_save_IFS
2011
2442
 
2012
2443
fi
2013
2444
fi
2014
2445
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2015
2446
if test -n "$ac_ct_CC"; then
2016
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2017
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2447
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2448
echo "${ECHO_T}$ac_ct_CC" >&6; }
2018
2449
else
2019
 
  echo "$as_me:$LINENO: result: no" >&5
2020
 
echo "${ECHO_T}no" >&6
 
2450
  { echo "$as_me:$LINENO: result: no" >&5
 
2451
echo "${ECHO_T}no" >&6; }
2021
2452
fi
2022
2453
 
 
2454
 
2023
2455
  test -n "$ac_ct_CC" && break
2024
2456
done
2025
2457
 
2026
 
  CC=$ac_ct_CC
 
2458
  if test "x$ac_ct_CC" = x; then
 
2459
    CC=""
 
2460
  else
 
2461
    case $cross_compiling:$ac_tool_warned in
 
2462
yes:)
 
2463
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2464
whose name does not start with the host triplet.  If you think this
 
2465
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2466
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2467
whose name does not start with the host triplet.  If you think this
 
2468
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2469
ac_tool_warned=yes ;;
 
2470
esac
 
2471
    CC=$ac_ct_CC
 
2472
  fi
2027
2473
fi
2028
2474
 
2029
2475
fi
2036
2482
   { (exit 1); exit 1; }; }
2037
2483
 
2038
2484
# Provide some information about the compiler.
2039
 
echo "$as_me:$LINENO:" \
2040
 
     "checking for C compiler version" >&5
 
2485
echo "$as_me:$LINENO: checking for C compiler version" >&5
2041
2486
ac_compiler=`set X $ac_compile; echo $2`
2042
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2043
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2044
 
  ac_status=$?
2045
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2046
 
  (exit $ac_status); }
2047
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2048
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2049
 
  ac_status=$?
2050
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2051
 
  (exit $ac_status); }
2052
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2053
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
2487
{ (ac_try="$ac_compiler --version >&5"
 
2488
case "(($ac_try" in
 
2489
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2490
  *) ac_try_echo=$ac_try;;
 
2491
esac
 
2492
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2493
  (eval "$ac_compiler --version >&5") 2>&5
 
2494
  ac_status=$?
 
2495
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2496
  (exit $ac_status); }
 
2497
{ (ac_try="$ac_compiler -v >&5"
 
2498
case "(($ac_try" in
 
2499
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2500
  *) ac_try_echo=$ac_try;;
 
2501
esac
 
2502
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2503
  (eval "$ac_compiler -v >&5") 2>&5
 
2504
  ac_status=$?
 
2505
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2506
  (exit $ac_status); }
 
2507
{ (ac_try="$ac_compiler -V >&5"
 
2508
case "(($ac_try" in
 
2509
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2510
  *) ac_try_echo=$ac_try;;
 
2511
esac
 
2512
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2513
  (eval "$ac_compiler -V >&5") 2>&5
2054
2514
  ac_status=$?
2055
2515
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2056
2516
  (exit $ac_status); }
2075
2535
# Try to create an executable without -o first, disregard a.out.
2076
2536
# It will help us diagnose broken compilers, and finding out an intuition
2077
2537
# of exeext.
2078
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2079
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
2538
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2539
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2080
2540
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2081
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2082
 
  (eval $ac_link_default) 2>&5
 
2541
#
 
2542
# List of possible output files, starting from the most likely.
 
2543
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
2544
# only as a last resort.  b.out is created by i960 compilers.
 
2545
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
2546
#
 
2547
# The IRIX 6 linker writes into existing files which may not be
 
2548
# executable, retaining their permissions.  Remove them first so a
 
2549
# subsequent execution test works.
 
2550
ac_rmfiles=
 
2551
for ac_file in $ac_files
 
2552
do
 
2553
  case $ac_file in
 
2554
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2555
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2556
  esac
 
2557
done
 
2558
rm -f $ac_rmfiles
 
2559
 
 
2560
if { (ac_try="$ac_link_default"
 
2561
case "(($ac_try" in
 
2562
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2563
  *) ac_try_echo=$ac_try;;
 
2564
esac
 
2565
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2566
  (eval "$ac_link_default") 2>&5
2083
2567
  ac_status=$?
2084
2568
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2085
2569
  (exit $ac_status); }; then
2086
 
  # Find the output, starting from the most likely.  This scheme is
2087
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2088
 
# resort.
2089
 
 
2090
 
# Be careful to initialize this variable, since it used to be cached.
2091
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2092
 
ac_cv_exeext=
2093
 
# b.out is created by i960 compilers.
2094
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
2570
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
2571
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
2572
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
2573
# so that the user can short-circuit this test for compilers unknown to
 
2574
# Autoconf.
 
2575
for ac_file in $ac_files ''
2095
2576
do
2096
2577
  test -f "$ac_file" || continue
2097
2578
  case $ac_file in
2098
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2099
 
        ;;
2100
 
    conftest.$ac_ext )
2101
 
        # This is the source file.
 
2579
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2102
2580
        ;;
2103
2581
    [ab].out )
2104
2582
        # We found the default executable, but exeext='' is most
2105
2583
        # certainly right.
2106
2584
        break;;
2107
2585
    *.* )
2108
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2109
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2110
 
        # but it would be cool to find out if it's true.  Does anybody
2111
 
        # maintain Libtool? --akim.
2112
 
        export ac_cv_exeext
 
2586
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2587
        then :; else
 
2588
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2589
        fi
 
2590
        # We set ac_cv_exeext here because the later test for it is not
 
2591
        # safe: cross compilers may not add the suffix if given an `-o'
 
2592
        # argument, so we may need to know it at that point already.
 
2593
        # Even if this section looks crufty: it has the advantage of
 
2594
        # actually working.
2113
2595
        break;;
2114
2596
    * )
2115
2597
        break;;
2116
2598
  esac
2117
2599
done
 
2600
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
2601
 
2118
2602
else
 
2603
  ac_file=''
 
2604
fi
 
2605
 
 
2606
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
2607
echo "${ECHO_T}$ac_file" >&6; }
 
2608
if test -z "$ac_file"; then
2119
2609
  echo "$as_me: failed program was:" >&5
2120
2610
sed 's/^/| /' conftest.$ac_ext >&5
2121
2611
 
2127
2617
fi
2128
2618
 
2129
2619
ac_exeext=$ac_cv_exeext
2130
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2131
 
echo "${ECHO_T}$ac_file" >&6
2132
2620
 
2133
 
# Check the compiler produces executables we can run.  If not, either
 
2621
# Check that the compiler produces executables we can run.  If not, either
2134
2622
# the compiler is broken, or we cross compile.
2135
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2136
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
2623
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2624
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2137
2625
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2138
2626
# If not cross compiling, check that we can run a simple program.
2139
2627
if test "$cross_compiling" != yes; then
2140
2628
  if { ac_try='./$ac_file'
2141
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2142
 
  (eval $ac_try) 2>&5
 
2629
  { (case "(($ac_try" in
 
2630
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2631
  *) ac_try_echo=$ac_try;;
 
2632
esac
 
2633
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2634
  (eval "$ac_try") 2>&5
2143
2635
  ac_status=$?
2144
2636
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2145
2637
  (exit $ac_status); }; }; then
2158
2650
    fi
2159
2651
  fi
2160
2652
fi
2161
 
echo "$as_me:$LINENO: result: yes" >&5
2162
 
echo "${ECHO_T}yes" >&6
 
2653
{ echo "$as_me:$LINENO: result: yes" >&5
 
2654
echo "${ECHO_T}yes" >&6; }
2163
2655
 
2164
2656
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2165
2657
ac_clean_files=$ac_clean_files_save
2166
 
# Check the compiler produces executables we can run.  If not, either
 
2658
# Check that the compiler produces executables we can run.  If not, either
2167
2659
# the compiler is broken, or we cross compile.
2168
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2169
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2170
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2171
 
echo "${ECHO_T}$cross_compiling" >&6
 
2660
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2661
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
2662
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2663
echo "${ECHO_T}$cross_compiling" >&6; }
2172
2664
 
2173
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2174
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2175
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2176
 
  (eval $ac_link) 2>&5
 
2665
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2666
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
2667
if { (ac_try="$ac_link"
 
2668
case "(($ac_try" in
 
2669
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2670
  *) ac_try_echo=$ac_try;;
 
2671
esac
 
2672
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2673
  (eval "$ac_link") 2>&5
2177
2674
  ac_status=$?
2178
2675
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2179
2676
  (exit $ac_status); }; then
2184
2681
for ac_file in conftest.exe conftest conftest.*; do
2185
2682
  test -f "$ac_file" || continue
2186
2683
  case $ac_file in
2187
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
2684
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2188
2685
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2189
 
          export ac_cv_exeext
2190
2686
          break;;
2191
2687
    * ) break;;
2192
2688
  esac
2200
2696
fi
2201
2697
 
2202
2698
rm -f conftest$ac_cv_exeext
2203
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2204
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
2699
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2700
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2205
2701
 
2206
2702
rm -f conftest.$ac_ext
2207
2703
EXEEXT=$ac_cv_exeext
2208
2704
ac_exeext=$EXEEXT
2209
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2210
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
2705
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2706
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2211
2707
if test "${ac_cv_objext+set}" = set; then
2212
2708
  echo $ECHO_N "(cached) $ECHO_C" >&6
2213
2709
else
2227
2723
}
2228
2724
_ACEOF
2229
2725
rm -f conftest.o conftest.obj
2230
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2231
 
  (eval $ac_compile) 2>&5
 
2726
if { (ac_try="$ac_compile"
 
2727
case "(($ac_try" in
 
2728
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2729
  *) ac_try_echo=$ac_try;;
 
2730
esac
 
2731
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2732
  (eval "$ac_compile") 2>&5
2232
2733
  ac_status=$?
2233
2734
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2234
2735
  (exit $ac_status); }; then
2235
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
2736
  for ac_file in conftest.o conftest.obj conftest.*; do
 
2737
  test -f "$ac_file" || continue;
2236
2738
  case $ac_file in
2237
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
2739
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2238
2740
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2239
2741
       break;;
2240
2742
  esac
2252
2754
 
2253
2755
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2254
2756
fi
2255
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2256
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
2757
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2758
echo "${ECHO_T}$ac_cv_objext" >&6; }
2257
2759
OBJEXT=$ac_cv_objext
2258
2760
ac_objext=$OBJEXT
2259
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2260
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
2761
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
2762
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2261
2763
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2262
2764
  echo $ECHO_N "(cached) $ECHO_C" >&6
2263
2765
else
2280
2782
}
2281
2783
_ACEOF
2282
2784
rm -f conftest.$ac_objext
2283
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2284
 
  (eval $ac_compile) 2>conftest.er1
 
2785
if { (ac_try="$ac_compile"
 
2786
case "(($ac_try" in
 
2787
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2788
  *) ac_try_echo=$ac_try;;
 
2789
esac
 
2790
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2791
  (eval "$ac_compile") 2>conftest.er1
2285
2792
  ac_status=$?
2286
2793
  grep -v '^ *+' conftest.er1 >conftest.err
2287
2794
  rm -f conftest.er1
2288
2795
  cat conftest.err >&5
2289
2796
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2290
 
  (exit $ac_status); } &&
2291
 
         { ac_try='test -z "$ac_c_werror_flag"
2292
 
                         || test ! -s conftest.err'
2293
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2294
 
  (eval $ac_try) 2>&5
2295
 
  ac_status=$?
2296
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2297
 
  (exit $ac_status); }; } &&
2298
 
         { ac_try='test -s conftest.$ac_objext'
2299
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2300
 
  (eval $ac_try) 2>&5
2301
 
  ac_status=$?
2302
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2303
 
  (exit $ac_status); }; }; then
 
2797
  (exit $ac_status); } && {
 
2798
         test -z "$ac_c_werror_flag" ||
 
2799
         test ! -s conftest.err
 
2800
       } && test -s conftest.$ac_objext; then
2304
2801
  ac_compiler_gnu=yes
2305
2802
else
2306
2803
  echo "$as_me: failed program was:" >&5
2307
2804
sed 's/^/| /' conftest.$ac_ext >&5
2308
2805
 
2309
 
ac_compiler_gnu=no
 
2806
        ac_compiler_gnu=no
2310
2807
fi
2311
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2808
 
 
2809
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2312
2810
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2313
2811
 
2314
2812
fi
2315
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2316
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
2813
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
2814
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2317
2815
GCC=`test $ac_compiler_gnu = yes && echo yes`
2318
2816
ac_test_CFLAGS=${CFLAGS+set}
2319
2817
ac_save_CFLAGS=$CFLAGS
2320
 
CFLAGS="-g"
2321
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2322
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
2818
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
2819
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2323
2820
if test "${ac_cv_prog_cc_g+set}" = set; then
2324
2821
  echo $ECHO_N "(cached) $ECHO_C" >&6
2325
2822
else
2326
 
  cat >conftest.$ac_ext <<_ACEOF
2327
 
/* confdefs.h.  */
2328
 
_ACEOF
2329
 
cat confdefs.h >>conftest.$ac_ext
2330
 
cat >>conftest.$ac_ext <<_ACEOF
2331
 
/* end confdefs.h.  */
2332
 
 
2333
 
int
2334
 
main ()
2335
 
{
2336
 
 
2337
 
  ;
2338
 
  return 0;
2339
 
}
2340
 
_ACEOF
2341
 
rm -f conftest.$ac_objext
2342
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2343
 
  (eval $ac_compile) 2>conftest.er1
2344
 
  ac_status=$?
2345
 
  grep -v '^ *+' conftest.er1 >conftest.err
2346
 
  rm -f conftest.er1
2347
 
  cat conftest.err >&5
2348
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2349
 
  (exit $ac_status); } &&
2350
 
         { ac_try='test -z "$ac_c_werror_flag"
2351
 
                         || test ! -s conftest.err'
2352
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2353
 
  (eval $ac_try) 2>&5
2354
 
  ac_status=$?
2355
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356
 
  (exit $ac_status); }; } &&
2357
 
         { ac_try='test -s conftest.$ac_objext'
2358
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2359
 
  (eval $ac_try) 2>&5
2360
 
  ac_status=$?
2361
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362
 
  (exit $ac_status); }; }; then
2363
 
  ac_cv_prog_cc_g=yes
2364
 
else
2365
 
  echo "$as_me: failed program was:" >&5
2366
 
sed 's/^/| /' conftest.$ac_ext >&5
2367
 
 
2368
 
ac_cv_prog_cc_g=no
2369
 
fi
2370
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2371
 
fi
2372
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2373
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
2823
  ac_save_c_werror_flag=$ac_c_werror_flag
 
2824
   ac_c_werror_flag=yes
 
2825
   ac_cv_prog_cc_g=no
 
2826
   CFLAGS="-g"
 
2827
   cat >conftest.$ac_ext <<_ACEOF
 
2828
/* confdefs.h.  */
 
2829
_ACEOF
 
2830
cat confdefs.h >>conftest.$ac_ext
 
2831
cat >>conftest.$ac_ext <<_ACEOF
 
2832
/* end confdefs.h.  */
 
2833
 
 
2834
int
 
2835
main ()
 
2836
{
 
2837
 
 
2838
  ;
 
2839
  return 0;
 
2840
}
 
2841
_ACEOF
 
2842
rm -f conftest.$ac_objext
 
2843
if { (ac_try="$ac_compile"
 
2844
case "(($ac_try" in
 
2845
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2846
  *) ac_try_echo=$ac_try;;
 
2847
esac
 
2848
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2849
  (eval "$ac_compile") 2>conftest.er1
 
2850
  ac_status=$?
 
2851
  grep -v '^ *+' conftest.er1 >conftest.err
 
2852
  rm -f conftest.er1
 
2853
  cat conftest.err >&5
 
2854
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2855
  (exit $ac_status); } && {
 
2856
         test -z "$ac_c_werror_flag" ||
 
2857
         test ! -s conftest.err
 
2858
       } && test -s conftest.$ac_objext; then
 
2859
  ac_cv_prog_cc_g=yes
 
2860
else
 
2861
  echo "$as_me: failed program was:" >&5
 
2862
sed 's/^/| /' conftest.$ac_ext >&5
 
2863
 
 
2864
        CFLAGS=""
 
2865
      cat >conftest.$ac_ext <<_ACEOF
 
2866
/* confdefs.h.  */
 
2867
_ACEOF
 
2868
cat confdefs.h >>conftest.$ac_ext
 
2869
cat >>conftest.$ac_ext <<_ACEOF
 
2870
/* end confdefs.h.  */
 
2871
 
 
2872
int
 
2873
main ()
 
2874
{
 
2875
 
 
2876
  ;
 
2877
  return 0;
 
2878
}
 
2879
_ACEOF
 
2880
rm -f conftest.$ac_objext
 
2881
if { (ac_try="$ac_compile"
 
2882
case "(($ac_try" in
 
2883
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2884
  *) ac_try_echo=$ac_try;;
 
2885
esac
 
2886
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2887
  (eval "$ac_compile") 2>conftest.er1
 
2888
  ac_status=$?
 
2889
  grep -v '^ *+' conftest.er1 >conftest.err
 
2890
  rm -f conftest.er1
 
2891
  cat conftest.err >&5
 
2892
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2893
  (exit $ac_status); } && {
 
2894
         test -z "$ac_c_werror_flag" ||
 
2895
         test ! -s conftest.err
 
2896
       } && test -s conftest.$ac_objext; then
 
2897
  :
 
2898
else
 
2899
  echo "$as_me: failed program was:" >&5
 
2900
sed 's/^/| /' conftest.$ac_ext >&5
 
2901
 
 
2902
        ac_c_werror_flag=$ac_save_c_werror_flag
 
2903
         CFLAGS="-g"
 
2904
         cat >conftest.$ac_ext <<_ACEOF
 
2905
/* confdefs.h.  */
 
2906
_ACEOF
 
2907
cat confdefs.h >>conftest.$ac_ext
 
2908
cat >>conftest.$ac_ext <<_ACEOF
 
2909
/* end confdefs.h.  */
 
2910
 
 
2911
int
 
2912
main ()
 
2913
{
 
2914
 
 
2915
  ;
 
2916
  return 0;
 
2917
}
 
2918
_ACEOF
 
2919
rm -f conftest.$ac_objext
 
2920
if { (ac_try="$ac_compile"
 
2921
case "(($ac_try" in
 
2922
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2923
  *) ac_try_echo=$ac_try;;
 
2924
esac
 
2925
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2926
  (eval "$ac_compile") 2>conftest.er1
 
2927
  ac_status=$?
 
2928
  grep -v '^ *+' conftest.er1 >conftest.err
 
2929
  rm -f conftest.er1
 
2930
  cat conftest.err >&5
 
2931
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2932
  (exit $ac_status); } && {
 
2933
         test -z "$ac_c_werror_flag" ||
 
2934
         test ! -s conftest.err
 
2935
       } && test -s conftest.$ac_objext; then
 
2936
  ac_cv_prog_cc_g=yes
 
2937
else
 
2938
  echo "$as_me: failed program was:" >&5
 
2939
sed 's/^/| /' conftest.$ac_ext >&5
 
2940
 
 
2941
 
 
2942
fi
 
2943
 
 
2944
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2945
fi
 
2946
 
 
2947
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2948
fi
 
2949
 
 
2950
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2951
   ac_c_werror_flag=$ac_save_c_werror_flag
 
2952
fi
 
2953
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
2954
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2374
2955
if test "$ac_test_CFLAGS" = set; then
2375
2956
  CFLAGS=$ac_save_CFLAGS
2376
2957
elif test $ac_cv_prog_cc_g = yes; then
2386
2967
    CFLAGS=
2387
2968
  fi
2388
2969
fi
2389
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2390
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2391
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
2970
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
2971
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
2972
if test "${ac_cv_prog_cc_c89+set}" = set; then
2392
2973
  echo $ECHO_N "(cached) $ECHO_C" >&6
2393
2974
else
2394
 
  ac_cv_prog_cc_stdc=no
 
2975
  ac_cv_prog_cc_c89=no
2395
2976
ac_save_CC=$CC
2396
2977
cat >conftest.$ac_ext <<_ACEOF
2397
2978
/* confdefs.h.  */
2425
3006
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2426
3007
   function prototypes and stuff, but not '\xHH' hex character constants.
2427
3008
   These don't provoke an error unfortunately, instead are silently treated
2428
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3009
   as 'x'.  The following induces an error, until -std is added to get
2429
3010
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2430
3011
   array size at least.  It's necessary to write '\x00'==0 to get something
2431
 
   that's true only with -std1.  */
 
3012
   that's true only with -std.  */
2432
3013
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2433
3014
 
 
3015
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3016
   inside strings and character constants.  */
 
3017
#define FOO(x) 'x'
 
3018
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3019
 
2434
3020
int test (int i, double x);
2435
3021
struct s1 {int (*f) (int a);};
2436
3022
struct s2 {int (*f) (double a);};
2445
3031
  return 0;
2446
3032
}
2447
3033
_ACEOF
2448
 
# Don't try gcc -ansi; that turns off useful extensions and
2449
 
# breaks some systems' header files.
2450
 
# AIX                   -qlanglvl=ansi
2451
 
# Ultrix and OSF/1      -std1
2452
 
# HP-UX 10.20 and later -Ae
2453
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2454
 
# SVR4                  -Xc -D__EXTENSIONS__
2455
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3034
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3035
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2456
3036
do
2457
3037
  CC="$ac_save_CC $ac_arg"
2458
3038
  rm -f conftest.$ac_objext
2459
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2460
 
  (eval $ac_compile) 2>conftest.er1
 
3039
if { (ac_try="$ac_compile"
 
3040
case "(($ac_try" in
 
3041
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3042
  *) ac_try_echo=$ac_try;;
 
3043
esac
 
3044
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3045
  (eval "$ac_compile") 2>conftest.er1
2461
3046
  ac_status=$?
2462
3047
  grep -v '^ *+' conftest.er1 >conftest.err
2463
3048
  rm -f conftest.er1
2464
3049
  cat conftest.err >&5
2465
3050
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466
 
  (exit $ac_status); } &&
2467
 
         { ac_try='test -z "$ac_c_werror_flag"
2468
 
                         || test ! -s conftest.err'
2469
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2470
 
  (eval $ac_try) 2>&5
2471
 
  ac_status=$?
2472
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2473
 
  (exit $ac_status); }; } &&
2474
 
         { ac_try='test -s conftest.$ac_objext'
2475
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2476
 
  (eval $ac_try) 2>&5
2477
 
  ac_status=$?
2478
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2479
 
  (exit $ac_status); }; }; then
2480
 
  ac_cv_prog_cc_stdc=$ac_arg
2481
 
break
 
3051
  (exit $ac_status); } && {
 
3052
         test -z "$ac_c_werror_flag" ||
 
3053
         test ! -s conftest.err
 
3054
       } && test -s conftest.$ac_objext; then
 
3055
  ac_cv_prog_cc_c89=$ac_arg
2482
3056
else
2483
3057
  echo "$as_me: failed program was:" >&5
2484
3058
sed 's/^/| /' conftest.$ac_ext >&5
2485
3059
 
 
3060
 
2486
3061
fi
2487
 
rm -f conftest.err conftest.$ac_objext
 
3062
 
 
3063
rm -f core conftest.err conftest.$ac_objext
 
3064
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2488
3065
done
2489
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3066
rm -f conftest.$ac_ext
2490
3067
CC=$ac_save_CC
2491
3068
 
2492
3069
fi
2493
 
 
2494
 
case "x$ac_cv_prog_cc_stdc" in
2495
 
  x|xno)
2496
 
    echo "$as_me:$LINENO: result: none needed" >&5
2497
 
echo "${ECHO_T}none needed" >&6 ;;
 
3070
# AC_CACHE_VAL
 
3071
case "x$ac_cv_prog_cc_c89" in
 
3072
  x)
 
3073
    { echo "$as_me:$LINENO: result: none needed" >&5
 
3074
echo "${ECHO_T}none needed" >&6; } ;;
 
3075
  xno)
 
3076
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
3077
echo "${ECHO_T}unsupported" >&6; } ;;
2498
3078
  *)
2499
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2500
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2501
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3079
    CC="$CC $ac_cv_prog_cc_c89"
 
3080
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3081
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2502
3082
esac
2503
3083
 
2504
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2505
 
# in C++ we need to declare it.  In case someone uses the same compiler
2506
 
# for both compiling C and C++ we need to have the C++ compiler decide
2507
 
# the declaration of exit, since it's the most demanding environment.
2508
 
cat >conftest.$ac_ext <<_ACEOF
2509
 
#ifndef __cplusplus
2510
 
  choke me
2511
 
#endif
2512
 
_ACEOF
2513
 
rm -f conftest.$ac_objext
2514
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2515
 
  (eval $ac_compile) 2>conftest.er1
2516
 
  ac_status=$?
2517
 
  grep -v '^ *+' conftest.er1 >conftest.err
2518
 
  rm -f conftest.er1
2519
 
  cat conftest.err >&5
2520
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521
 
  (exit $ac_status); } &&
2522
 
         { ac_try='test -z "$ac_c_werror_flag"
2523
 
                         || test ! -s conftest.err'
2524
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2525
 
  (eval $ac_try) 2>&5
2526
 
  ac_status=$?
2527
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528
 
  (exit $ac_status); }; } &&
2529
 
         { ac_try='test -s conftest.$ac_objext'
2530
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2531
 
  (eval $ac_try) 2>&5
2532
 
  ac_status=$?
2533
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534
 
  (exit $ac_status); }; }; then
2535
 
  for ac_declaration in \
2536
 
   '' \
2537
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2538
 
   'extern "C" void std::exit (int); using std::exit;' \
2539
 
   'extern "C" void exit (int) throw ();' \
2540
 
   'extern "C" void exit (int);' \
2541
 
   'void exit (int);'
2542
 
do
2543
 
  cat >conftest.$ac_ext <<_ACEOF
2544
 
/* confdefs.h.  */
2545
 
_ACEOF
2546
 
cat confdefs.h >>conftest.$ac_ext
2547
 
cat >>conftest.$ac_ext <<_ACEOF
2548
 
/* end confdefs.h.  */
2549
 
$ac_declaration
2550
 
#include <stdlib.h>
2551
 
int
2552
 
main ()
2553
 
{
2554
 
exit (42);
2555
 
  ;
2556
 
  return 0;
2557
 
}
2558
 
_ACEOF
2559
 
rm -f conftest.$ac_objext
2560
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2561
 
  (eval $ac_compile) 2>conftest.er1
2562
 
  ac_status=$?
2563
 
  grep -v '^ *+' conftest.er1 >conftest.err
2564
 
  rm -f conftest.er1
2565
 
  cat conftest.err >&5
2566
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2567
 
  (exit $ac_status); } &&
2568
 
         { ac_try='test -z "$ac_c_werror_flag"
2569
 
                         || test ! -s conftest.err'
2570
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2571
 
  (eval $ac_try) 2>&5
2572
 
  ac_status=$?
2573
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574
 
  (exit $ac_status); }; } &&
2575
 
         { ac_try='test -s conftest.$ac_objext'
2576
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2577
 
  (eval $ac_try) 2>&5
2578
 
  ac_status=$?
2579
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580
 
  (exit $ac_status); }; }; then
2581
 
  :
2582
 
else
2583
 
  echo "$as_me: failed program was:" >&5
2584
 
sed 's/^/| /' conftest.$ac_ext >&5
2585
 
 
2586
 
continue
2587
 
fi
2588
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2589
 
  cat >conftest.$ac_ext <<_ACEOF
2590
 
/* confdefs.h.  */
2591
 
_ACEOF
2592
 
cat confdefs.h >>conftest.$ac_ext
2593
 
cat >>conftest.$ac_ext <<_ACEOF
2594
 
/* end confdefs.h.  */
2595
 
$ac_declaration
2596
 
int
2597
 
main ()
2598
 
{
2599
 
exit (42);
2600
 
  ;
2601
 
  return 0;
2602
 
}
2603
 
_ACEOF
2604
 
rm -f conftest.$ac_objext
2605
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2606
 
  (eval $ac_compile) 2>conftest.er1
2607
 
  ac_status=$?
2608
 
  grep -v '^ *+' conftest.er1 >conftest.err
2609
 
  rm -f conftest.er1
2610
 
  cat conftest.err >&5
2611
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2612
 
  (exit $ac_status); } &&
2613
 
         { ac_try='test -z "$ac_c_werror_flag"
2614
 
                         || test ! -s conftest.err'
2615
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2616
 
  (eval $ac_try) 2>&5
2617
 
  ac_status=$?
2618
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2619
 
  (exit $ac_status); }; } &&
2620
 
         { ac_try='test -s conftest.$ac_objext'
2621
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2622
 
  (eval $ac_try) 2>&5
2623
 
  ac_status=$?
2624
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625
 
  (exit $ac_status); }; }; then
2626
 
  break
2627
 
else
2628
 
  echo "$as_me: failed program was:" >&5
2629
 
sed 's/^/| /' conftest.$ac_ext >&5
2630
 
 
2631
 
fi
2632
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2633
 
done
2634
 
rm -f conftest*
2635
 
if test -n "$ac_declaration"; then
2636
 
  echo '#ifdef __cplusplus' >>confdefs.h
2637
 
  echo $ac_declaration      >>confdefs.h
2638
 
  echo '#endif'             >>confdefs.h
2639
 
fi
2640
 
 
2641
 
else
2642
 
  echo "$as_me: failed program was:" >&5
2643
 
sed 's/^/| /' conftest.$ac_ext >&5
2644
 
 
2645
 
fi
2646
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3084
 
2647
3085
ac_ext=c
2648
3086
ac_cpp='$CPP $CPPFLAGS'
2649
3087
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2655
3093
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2656
3094
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2657
3095
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2658
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2659
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
3096
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3097
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2660
3098
# On Suns, sometimes $CPP names a directory.
2661
3099
if test -n "$CPP" && test -d "$CPP"; then
2662
3100
  CPP=
2690
3128
#endif
2691
3129
                     Syntax error
2692
3130
_ACEOF
2693
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2694
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3131
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3132
case "(($ac_try" in
 
3133
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3134
  *) ac_try_echo=$ac_try;;
 
3135
esac
 
3136
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3137
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2695
3138
  ac_status=$?
2696
3139
  grep -v '^ *+' conftest.er1 >conftest.err
2697
3140
  rm -f conftest.er1
2698
3141
  cat conftest.err >&5
2699
3142
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700
 
  (exit $ac_status); } >/dev/null; then
2701
 
  if test -s conftest.err; then
2702
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2703
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2704
 
  else
2705
 
    ac_cpp_err=
2706
 
  fi
2707
 
else
2708
 
  ac_cpp_err=yes
2709
 
fi
2710
 
if test -z "$ac_cpp_err"; then
 
3143
  (exit $ac_status); } >/dev/null && {
 
3144
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3145
         test ! -s conftest.err
 
3146
       }; then
2711
3147
  :
2712
3148
else
2713
3149
  echo "$as_me: failed program was:" >&5
2716
3152
  # Broken: fails on valid input.
2717
3153
continue
2718
3154
fi
 
3155
 
2719
3156
rm -f conftest.err conftest.$ac_ext
2720
3157
 
2721
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
3158
  # OK, works on sane cases.  Now check whether nonexistent headers
2722
3159
  # can be detected and how.
2723
3160
  cat >conftest.$ac_ext <<_ACEOF
2724
3161
/* confdefs.h.  */
2728
3165
/* end confdefs.h.  */
2729
3166
#include <ac_nonexistent.h>
2730
3167
_ACEOF
2731
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2732
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3168
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3169
case "(($ac_try" in
 
3170
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3171
  *) ac_try_echo=$ac_try;;
 
3172
esac
 
3173
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3174
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2733
3175
  ac_status=$?
2734
3176
  grep -v '^ *+' conftest.er1 >conftest.err
2735
3177
  rm -f conftest.er1
2736
3178
  cat conftest.err >&5
2737
3179
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738
 
  (exit $ac_status); } >/dev/null; then
2739
 
  if test -s conftest.err; then
2740
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2741
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2742
 
  else
2743
 
    ac_cpp_err=
2744
 
  fi
2745
 
else
2746
 
  ac_cpp_err=yes
2747
 
fi
2748
 
if test -z "$ac_cpp_err"; then
 
3180
  (exit $ac_status); } >/dev/null && {
 
3181
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3182
         test ! -s conftest.err
 
3183
       }; then
2749
3184
  # Broken: success on invalid input.
2750
3185
continue
2751
3186
else
2756
3191
ac_preproc_ok=:
2757
3192
break
2758
3193
fi
 
3194
 
2759
3195
rm -f conftest.err conftest.$ac_ext
2760
3196
 
2761
3197
done
2773
3209
else
2774
3210
  ac_cv_prog_CPP=$CPP
2775
3211
fi
2776
 
echo "$as_me:$LINENO: result: $CPP" >&5
2777
 
echo "${ECHO_T}$CPP" >&6
 
3212
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
3213
echo "${ECHO_T}$CPP" >&6; }
2778
3214
ac_preproc_ok=false
2779
3215
for ac_c_preproc_warn_flag in '' yes
2780
3216
do
2797
3233
#endif
2798
3234
                     Syntax error
2799
3235
_ACEOF
2800
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2801
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3236
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3237
case "(($ac_try" in
 
3238
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3239
  *) ac_try_echo=$ac_try;;
 
3240
esac
 
3241
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3242
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2802
3243
  ac_status=$?
2803
3244
  grep -v '^ *+' conftest.er1 >conftest.err
2804
3245
  rm -f conftest.er1
2805
3246
  cat conftest.err >&5
2806
3247
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2807
 
  (exit $ac_status); } >/dev/null; then
2808
 
  if test -s conftest.err; then
2809
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2810
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2811
 
  else
2812
 
    ac_cpp_err=
2813
 
  fi
2814
 
else
2815
 
  ac_cpp_err=yes
2816
 
fi
2817
 
if test -z "$ac_cpp_err"; then
 
3248
  (exit $ac_status); } >/dev/null && {
 
3249
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3250
         test ! -s conftest.err
 
3251
       }; then
2818
3252
  :
2819
3253
else
2820
3254
  echo "$as_me: failed program was:" >&5
2823
3257
  # Broken: fails on valid input.
2824
3258
continue
2825
3259
fi
 
3260
 
2826
3261
rm -f conftest.err conftest.$ac_ext
2827
3262
 
2828
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
3263
  # OK, works on sane cases.  Now check whether nonexistent headers
2829
3264
  # can be detected and how.
2830
3265
  cat >conftest.$ac_ext <<_ACEOF
2831
3266
/* confdefs.h.  */
2835
3270
/* end confdefs.h.  */
2836
3271
#include <ac_nonexistent.h>
2837
3272
_ACEOF
2838
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2839
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3273
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3274
case "(($ac_try" in
 
3275
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3276
  *) ac_try_echo=$ac_try;;
 
3277
esac
 
3278
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3279
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2840
3280
  ac_status=$?
2841
3281
  grep -v '^ *+' conftest.er1 >conftest.err
2842
3282
  rm -f conftest.er1
2843
3283
  cat conftest.err >&5
2844
3284
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845
 
  (exit $ac_status); } >/dev/null; then
2846
 
  if test -s conftest.err; then
2847
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2848
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2849
 
  else
2850
 
    ac_cpp_err=
2851
 
  fi
2852
 
else
2853
 
  ac_cpp_err=yes
2854
 
fi
2855
 
if test -z "$ac_cpp_err"; then
 
3285
  (exit $ac_status); } >/dev/null && {
 
3286
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3287
         test ! -s conftest.err
 
3288
       }; then
2856
3289
  # Broken: success on invalid input.
2857
3290
continue
2858
3291
else
2863
3296
ac_preproc_ok=:
2864
3297
break
2865
3298
fi
 
3299
 
2866
3300
rm -f conftest.err conftest.$ac_ext
2867
3301
 
2868
3302
done
2898
3332
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2899
3333
# OS/2's system install, which has a completely different semantic
2900
3334
# ./install, which can be erroneously created by make from ./install.sh.
2901
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2902
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
3335
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
3336
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2903
3337
if test -z "$INSTALL"; then
2904
3338
if test "${ac_cv_path_install+set}" = set; then
2905
3339
  echo $ECHO_N "(cached) $ECHO_C" >&6
2921
3355
    # by default.
2922
3356
    for ac_prog in ginstall scoinst install; do
2923
3357
      for ac_exec_ext in '' $ac_executable_extensions; do
2924
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
3358
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2925
3359
          if test $ac_prog = install &&
2926
3360
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2927
3361
            # AIX install.  It has an incompatible calling convention.
2940
3374
    ;;
2941
3375
esac
2942
3376
done
 
3377
IFS=$as_save_IFS
2943
3378
 
2944
3379
 
2945
3380
fi
2946
3381
  if test "${ac_cv_path_install+set}" = set; then
2947
3382
    INSTALL=$ac_cv_path_install
2948
3383
  else
2949
 
    # As a last resort, use the slow shell script.  We don't cache a
2950
 
    # path for INSTALL within a source directory, because that will
 
3384
    # As a last resort, use the slow shell script.  Don't cache a
 
3385
    # value for INSTALL within a source directory, because that will
2951
3386
    # break other packages using the cache if that directory is
2952
 
    # removed, or if the path is relative.
 
3387
    # removed, or if the value is a relative name.
2953
3388
    INSTALL=$ac_install_sh
2954
3389
  fi
2955
3390
fi
2956
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
2957
 
echo "${ECHO_T}$INSTALL" >&6
 
3391
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
3392
echo "${ECHO_T}$INSTALL" >&6; }
2958
3393
 
2959
3394
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2960
3395
# It thinks the first close brace ends the variable substitution.
2969
3404
    # Checks to see if the make program sets the $MAKE variable.
2970
3405
    #--------------------------------------------------------------------
2971
3406
 
2972
 
    echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2973
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2974
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2975
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
3407
    { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
3408
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
3409
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
3410
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2976
3411
  echo $ECHO_N "(cached) $ECHO_C" >&6
2977
3412
else
2978
3413
  cat >conftest.make <<\_ACEOF
 
3414
SHELL = /bin/sh
2979
3415
all:
2980
 
        @echo 'ac_maketemp="$(MAKE)"'
 
3416
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2981
3417
_ACEOF
2982
3418
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2983
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2984
 
if test -n "$ac_maketemp"; then
2985
 
  eval ac_cv_prog_make_${ac_make}_set=yes
2986
 
else
2987
 
  eval ac_cv_prog_make_${ac_make}_set=no
2988
 
fi
 
3419
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
3420
  *@@@%%%=?*=@@@%%%*)
 
3421
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
3422
  *)
 
3423
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
3424
esac
2989
3425
rm -f conftest.make
2990
3426
fi
2991
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2992
 
  echo "$as_me:$LINENO: result: yes" >&5
2993
 
echo "${ECHO_T}yes" >&6
 
3427
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
3428
  { echo "$as_me:$LINENO: result: yes" >&5
 
3429
echo "${ECHO_T}yes" >&6; }
2994
3430
  SET_MAKE=
2995
3431
else
2996
 
  echo "$as_me:$LINENO: result: no" >&5
2997
 
echo "${ECHO_T}no" >&6
 
3432
  { echo "$as_me:$LINENO: result: no" >&5
 
3433
echo "${ECHO_T}no" >&6; }
2998
3434
  SET_MAKE="MAKE=${MAKE-make}"
2999
3435
fi
3000
3436
 
3006
3442
    if test -n "$ac_tool_prefix"; then
3007
3443
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3008
3444
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3009
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3010
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3445
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3446
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3011
3447
if test "${ac_cv_prog_RANLIB+set}" = set; then
3012
3448
  echo $ECHO_N "(cached) $ECHO_C" >&6
3013
3449
else
3020
3456
  IFS=$as_save_IFS
3021
3457
  test -z "$as_dir" && as_dir=.
3022
3458
  for ac_exec_ext in '' $ac_executable_extensions; do
3023
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3459
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3024
3460
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3025
3461
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3026
3462
    break 2
3027
3463
  fi
3028
3464
done
3029
3465
done
 
3466
IFS=$as_save_IFS
3030
3467
 
3031
3468
fi
3032
3469
fi
3033
3470
RANLIB=$ac_cv_prog_RANLIB
3034
3471
if test -n "$RANLIB"; then
3035
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
3036
 
echo "${ECHO_T}$RANLIB" >&6
 
3472
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
3473
echo "${ECHO_T}$RANLIB" >&6; }
3037
3474
else
3038
 
  echo "$as_me:$LINENO: result: no" >&5
3039
 
echo "${ECHO_T}no" >&6
 
3475
  { echo "$as_me:$LINENO: result: no" >&5
 
3476
echo "${ECHO_T}no" >&6; }
3040
3477
fi
 
3478
 
3041
3479
 
3042
3480
fi
3043
3481
if test -z "$ac_cv_prog_RANLIB"; then
3044
3482
  ac_ct_RANLIB=$RANLIB
3045
3483
  # Extract the first word of "ranlib", so it can be a program name with args.
3046
3484
set dummy ranlib; ac_word=$2
3047
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3048
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3485
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3486
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3049
3487
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3050
3488
  echo $ECHO_N "(cached) $ECHO_C" >&6
3051
3489
else
3058
3496
  IFS=$as_save_IFS
3059
3497
  test -z "$as_dir" && as_dir=.
3060
3498
  for ac_exec_ext in '' $ac_executable_extensions; do
3061
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3499
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3062
3500
    ac_cv_prog_ac_ct_RANLIB="ranlib"
3063
3501
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3064
3502
    break 2
3065
3503
  fi
3066
3504
done
3067
3505
done
 
3506
IFS=$as_save_IFS
3068
3507
 
3069
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3070
3508
fi
3071
3509
fi
3072
3510
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3073
3511
if test -n "$ac_ct_RANLIB"; then
3074
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3075
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
3512
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
3513
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3076
3514
else
3077
 
  echo "$as_me:$LINENO: result: no" >&5
3078
 
echo "${ECHO_T}no" >&6
 
3515
  { echo "$as_me:$LINENO: result: no" >&5
 
3516
echo "${ECHO_T}no" >&6; }
3079
3517
fi
3080
3518
 
3081
 
  RANLIB=$ac_ct_RANLIB
 
3519
  if test "x$ac_ct_RANLIB" = x; then
 
3520
    RANLIB=":"
 
3521
  else
 
3522
    case $cross_compiling:$ac_tool_warned in
 
3523
yes:)
 
3524
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
3525
whose name does not start with the host triplet.  If you think this
 
3526
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
3527
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
3528
whose name does not start with the host triplet.  If you think this
 
3529
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3530
ac_tool_warned=yes ;;
 
3531
esac
 
3532
    RANLIB=$ac_ct_RANLIB
 
3533
  fi
3082
3534
else
3083
3535
  RANLIB="$ac_cv_prog_RANLIB"
3084
3536
fi
3093
3545
 
3094
3546
 
3095
3547
 
3096
 
echo "$as_me:$LINENO: checking for egrep" >&5
3097
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3098
 
if test "${ac_cv_prog_egrep+set}" = set; then
3099
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3100
 
else
3101
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3102
 
    then ac_cv_prog_egrep='grep -E'
3103
 
    else ac_cv_prog_egrep='egrep'
3104
 
    fi
3105
 
fi
3106
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3107
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3108
 
 EGREP=$ac_cv_prog_egrep
3109
 
 
3110
 
 
3111
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3112
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
3548
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3549
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
3550
if test "${ac_cv_path_GREP+set}" = set; then
 
3551
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3552
else
 
3553
  # Extract the first word of "grep ggrep" to use in msg output
 
3554
if test -z "$GREP"; then
 
3555
set dummy grep ggrep; ac_prog_name=$2
 
3556
if test "${ac_cv_path_GREP+set}" = set; then
 
3557
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3558
else
 
3559
  ac_path_GREP_found=false
 
3560
# Loop through the user's path and test for each of PROGNAME-LIST
 
3561
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3562
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3563
do
 
3564
  IFS=$as_save_IFS
 
3565
  test -z "$as_dir" && as_dir=.
 
3566
  for ac_prog in grep ggrep; do
 
3567
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3568
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3569
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
3570
    # Check for GNU ac_path_GREP and select it if it is found.
 
3571
  # Check for GNU $ac_path_GREP
 
3572
case `"$ac_path_GREP" --version 2>&1` in
 
3573
*GNU*)
 
3574
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
3575
*)
 
3576
  ac_count=0
 
3577
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3578
  while :
 
3579
  do
 
3580
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3581
    mv "conftest.tmp" "conftest.in"
 
3582
    cp "conftest.in" "conftest.nl"
 
3583
    echo 'GREP' >> "conftest.nl"
 
3584
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3585
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3586
    ac_count=`expr $ac_count + 1`
 
3587
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
3588
      # Best one so far, save it but keep looking for a better one
 
3589
      ac_cv_path_GREP="$ac_path_GREP"
 
3590
      ac_path_GREP_max=$ac_count
 
3591
    fi
 
3592
    # 10*(2^10) chars as input seems more than enough
 
3593
    test $ac_count -gt 10 && break
 
3594
  done
 
3595
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3596
esac
 
3597
 
 
3598
 
 
3599
    $ac_path_GREP_found && break 3
 
3600
  done
 
3601
done
 
3602
 
 
3603
done
 
3604
IFS=$as_save_IFS
 
3605
 
 
3606
 
 
3607
fi
 
3608
 
 
3609
GREP="$ac_cv_path_GREP"
 
3610
if test -z "$GREP"; then
 
3611
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3612
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3613
   { (exit 1); exit 1; }; }
 
3614
fi
 
3615
 
 
3616
else
 
3617
  ac_cv_path_GREP=$GREP
 
3618
fi
 
3619
 
 
3620
 
 
3621
fi
 
3622
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
3623
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
3624
 GREP="$ac_cv_path_GREP"
 
3625
 
 
3626
 
 
3627
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
3628
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
3629
if test "${ac_cv_path_EGREP+set}" = set; then
 
3630
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3631
else
 
3632
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
3633
   then ac_cv_path_EGREP="$GREP -E"
 
3634
   else
 
3635
     # Extract the first word of "egrep" to use in msg output
 
3636
if test -z "$EGREP"; then
 
3637
set dummy egrep; ac_prog_name=$2
 
3638
if test "${ac_cv_path_EGREP+set}" = set; then
 
3639
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3640
else
 
3641
  ac_path_EGREP_found=false
 
3642
# Loop through the user's path and test for each of PROGNAME-LIST
 
3643
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3644
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3645
do
 
3646
  IFS=$as_save_IFS
 
3647
  test -z "$as_dir" && as_dir=.
 
3648
  for ac_prog in egrep; do
 
3649
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3650
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
3651
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
3652
    # Check for GNU ac_path_EGREP and select it if it is found.
 
3653
  # Check for GNU $ac_path_EGREP
 
3654
case `"$ac_path_EGREP" --version 2>&1` in
 
3655
*GNU*)
 
3656
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
3657
*)
 
3658
  ac_count=0
 
3659
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3660
  while :
 
3661
  do
 
3662
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3663
    mv "conftest.tmp" "conftest.in"
 
3664
    cp "conftest.in" "conftest.nl"
 
3665
    echo 'EGREP' >> "conftest.nl"
 
3666
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3667
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3668
    ac_count=`expr $ac_count + 1`
 
3669
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
3670
      # Best one so far, save it but keep looking for a better one
 
3671
      ac_cv_path_EGREP="$ac_path_EGREP"
 
3672
      ac_path_EGREP_max=$ac_count
 
3673
    fi
 
3674
    # 10*(2^10) chars as input seems more than enough
 
3675
    test $ac_count -gt 10 && break
 
3676
  done
 
3677
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3678
esac
 
3679
 
 
3680
 
 
3681
    $ac_path_EGREP_found && break 3
 
3682
  done
 
3683
done
 
3684
 
 
3685
done
 
3686
IFS=$as_save_IFS
 
3687
 
 
3688
 
 
3689
fi
 
3690
 
 
3691
EGREP="$ac_cv_path_EGREP"
 
3692
if test -z "$EGREP"; then
 
3693
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3694
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3695
   { (exit 1); exit 1; }; }
 
3696
fi
 
3697
 
 
3698
else
 
3699
  ac_cv_path_EGREP=$EGREP
 
3700
fi
 
3701
 
 
3702
 
 
3703
   fi
 
3704
fi
 
3705
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
3706
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
3707
 EGREP="$ac_cv_path_EGREP"
 
3708
 
 
3709
 
 
3710
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
3711
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3113
3712
if test "${ac_cv_header_stdc+set}" = set; then
3114
3713
  echo $ECHO_N "(cached) $ECHO_C" >&6
3115
3714
else
3133
3732
}
3134
3733
_ACEOF
3135
3734
rm -f conftest.$ac_objext
3136
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3137
 
  (eval $ac_compile) 2>conftest.er1
 
3735
if { (ac_try="$ac_compile"
 
3736
case "(($ac_try" in
 
3737
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3738
  *) ac_try_echo=$ac_try;;
 
3739
esac
 
3740
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3741
  (eval "$ac_compile") 2>conftest.er1
3138
3742
  ac_status=$?
3139
3743
  grep -v '^ *+' conftest.er1 >conftest.err
3140
3744
  rm -f conftest.er1
3141
3745
  cat conftest.err >&5
3142
3746
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143
 
  (exit $ac_status); } &&
3144
 
         { ac_try='test -z "$ac_c_werror_flag"
3145
 
                         || test ! -s conftest.err'
3146
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3147
 
  (eval $ac_try) 2>&5
3148
 
  ac_status=$?
3149
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150
 
  (exit $ac_status); }; } &&
3151
 
         { ac_try='test -s conftest.$ac_objext'
3152
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3153
 
  (eval $ac_try) 2>&5
3154
 
  ac_status=$?
3155
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156
 
  (exit $ac_status); }; }; then
 
3747
  (exit $ac_status); } && {
 
3748
         test -z "$ac_c_werror_flag" ||
 
3749
         test ! -s conftest.err
 
3750
       } && test -s conftest.$ac_objext; then
3157
3751
  ac_cv_header_stdc=yes
3158
3752
else
3159
3753
  echo "$as_me: failed program was:" >&5
3160
3754
sed 's/^/| /' conftest.$ac_ext >&5
3161
3755
 
3162
 
ac_cv_header_stdc=no
 
3756
        ac_cv_header_stdc=no
3163
3757
fi
3164
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3758
 
 
3759
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3165
3760
 
3166
3761
if test $ac_cv_header_stdc = yes; then
3167
3762
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3217
3812
cat >>conftest.$ac_ext <<_ACEOF
3218
3813
/* end confdefs.h.  */
3219
3814
#include <ctype.h>
 
3815
#include <stdlib.h>
3220
3816
#if ((' ' & 0x0FF) == 0x020)
3221
3817
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3222
3818
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3236
3832
  for (i = 0; i < 256; i++)
3237
3833
    if (XOR (islower (i), ISLOWER (i))
3238
3834
        || toupper (i) != TOUPPER (i))
3239
 
      exit(2);
3240
 
  exit (0);
 
3835
      return 2;
 
3836
  return 0;
3241
3837
}
3242
3838
_ACEOF
3243
3839
rm -f conftest$ac_exeext
3244
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3245
 
  (eval $ac_link) 2>&5
 
3840
if { (ac_try="$ac_link"
 
3841
case "(($ac_try" in
 
3842
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3843
  *) ac_try_echo=$ac_try;;
 
3844
esac
 
3845
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3846
  (eval "$ac_link") 2>&5
3246
3847
  ac_status=$?
3247
3848
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248
3849
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3249
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3250
 
  (eval $ac_try) 2>&5
 
3850
  { (case "(($ac_try" in
 
3851
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3852
  *) ac_try_echo=$ac_try;;
 
3853
esac
 
3854
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3855
  (eval "$ac_try") 2>&5
3251
3856
  ac_status=$?
3252
3857
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3253
3858
  (exit $ac_status); }; }; then
3260
3865
( exit $ac_status )
3261
3866
ac_cv_header_stdc=no
3262
3867
fi
3263
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3264
 
fi
3265
 
fi
3266
 
fi
3267
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3268
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
3868
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3869
fi
 
3870
 
 
3871
 
 
3872
fi
 
3873
fi
 
3874
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
3875
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3269
3876
if test $ac_cv_header_stdc = yes; then
3270
3877
 
3271
3878
cat >>confdefs.h <<\_ACEOF
3288
3895
                  inttypes.h stdint.h unistd.h
3289
3896
do
3290
3897
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3291
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
3292
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3293
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
3898
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
3899
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
3900
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3294
3901
  echo $ECHO_N "(cached) $ECHO_C" >&6
3295
3902
else
3296
3903
  cat >conftest.$ac_ext <<_ACEOF
3304
3911
#include <$ac_header>
3305
3912
_ACEOF
3306
3913
rm -f conftest.$ac_objext
3307
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3308
 
  (eval $ac_compile) 2>conftest.er1
 
3914
if { (ac_try="$ac_compile"
 
3915
case "(($ac_try" in
 
3916
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3917
  *) ac_try_echo=$ac_try;;
 
3918
esac
 
3919
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3920
  (eval "$ac_compile") 2>conftest.er1
3309
3921
  ac_status=$?
3310
3922
  grep -v '^ *+' conftest.er1 >conftest.err
3311
3923
  rm -f conftest.er1
3312
3924
  cat conftest.err >&5
3313
3925
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314
 
  (exit $ac_status); } &&
3315
 
         { ac_try='test -z "$ac_c_werror_flag"
3316
 
                         || test ! -s conftest.err'
3317
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3318
 
  (eval $ac_try) 2>&5
3319
 
  ac_status=$?
3320
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321
 
  (exit $ac_status); }; } &&
3322
 
         { ac_try='test -s conftest.$ac_objext'
3323
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3324
 
  (eval $ac_try) 2>&5
3325
 
  ac_status=$?
3326
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327
 
  (exit $ac_status); }; }; then
 
3926
  (exit $ac_status); } && {
 
3927
         test -z "$ac_c_werror_flag" ||
 
3928
         test ! -s conftest.err
 
3929
       } && test -s conftest.$ac_objext; then
3328
3930
  eval "$as_ac_Header=yes"
3329
3931
else
3330
3932
  echo "$as_me: failed program was:" >&5
3331
3933
sed 's/^/| /' conftest.$ac_ext >&5
3332
3934
 
3333
 
eval "$as_ac_Header=no"
3334
 
fi
3335
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3336
 
fi
3337
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3338
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
3935
        eval "$as_ac_Header=no"
 
3936
fi
 
3937
 
 
3938
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3939
fi
 
3940
ac_res=`eval echo '${'$as_ac_Header'}'`
 
3941
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
3942
echo "${ECHO_T}$ac_res" >&6; }
3339
3943
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3340
3944
  cat >>confdefs.h <<_ACEOF
3341
3945
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3356
3960
    #------------------------------------------------------------------------
3357
3961
 
3358
3962
    if test -z "$no_pipe" -a -n "$GCC"; then
3359
 
        echo "$as_me:$LINENO: checking if the compiler understands -pipe" >&5
3360
 
echo $ECHO_N "checking if the compiler understands -pipe... $ECHO_C" >&6
 
3963
        { echo "$as_me:$LINENO: checking if the compiler understands -pipe" >&5
 
3964
echo $ECHO_N "checking if the compiler understands -pipe... $ECHO_C" >&6; }
3361
3965
if test "${tcl_cv_cc_pipe+set}" = set; then
3362
3966
  echo $ECHO_N "(cached) $ECHO_C" >&6
3363
3967
else
3379
3983
}
3380
3984
_ACEOF
3381
3985
rm -f conftest.$ac_objext
3382
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3383
 
  (eval $ac_compile) 2>conftest.er1
 
3986
if { (ac_try="$ac_compile"
 
3987
case "(($ac_try" in
 
3988
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3989
  *) ac_try_echo=$ac_try;;
 
3990
esac
 
3991
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3992
  (eval "$ac_compile") 2>conftest.er1
3384
3993
  ac_status=$?
3385
3994
  grep -v '^ *+' conftest.er1 >conftest.err
3386
3995
  rm -f conftest.er1
3387
3996
  cat conftest.err >&5
3388
3997
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389
 
  (exit $ac_status); } &&
3390
 
         { ac_try='test -z "$ac_c_werror_flag"
3391
 
                         || test ! -s conftest.err'
3392
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3393
 
  (eval $ac_try) 2>&5
3394
 
  ac_status=$?
3395
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3396
 
  (exit $ac_status); }; } &&
3397
 
         { ac_try='test -s conftest.$ac_objext'
3398
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3399
 
  (eval $ac_try) 2>&5
3400
 
  ac_status=$?
3401
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402
 
  (exit $ac_status); }; }; then
 
3998
  (exit $ac_status); } && {
 
3999
         test -z "$ac_c_werror_flag" ||
 
4000
         test ! -s conftest.err
 
4001
       } && test -s conftest.$ac_objext; then
3403
4002
  tcl_cv_cc_pipe=yes
3404
4003
else
3405
4004
  echo "$as_me: failed program was:" >&5
3406
4005
sed 's/^/| /' conftest.$ac_ext >&5
3407
4006
 
3408
 
tcl_cv_cc_pipe=no
 
4007
        tcl_cv_cc_pipe=no
3409
4008
fi
3410
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4009
 
 
4010
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3411
4011
            CFLAGS=$hold_cflags
3412
4012
fi
3413
 
echo "$as_me:$LINENO: result: $tcl_cv_cc_pipe" >&5
3414
 
echo "${ECHO_T}$tcl_cv_cc_pipe" >&6
 
4013
{ echo "$as_me:$LINENO: result: $tcl_cv_cc_pipe" >&5
 
4014
echo "${ECHO_T}$tcl_cv_cc_pipe" >&6; }
3415
4015
        if test $tcl_cv_cc_pipe = yes; then
3416
4016
            CFLAGS="$CFLAGS -pipe"
3417
4017
        fi
3421
4021
    # Common compiler flag setup
3422
4022
    #--------------------------------------------------------------------
3423
4023
 
3424
 
    echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
3425
 
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
 
4024
    { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
 
4025
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
3426
4026
if test "${ac_cv_c_bigendian+set}" = set; then
3427
4027
  echo $ECHO_N "(cached) $ECHO_C" >&6
3428
4028
else
3439
4039
int
3440
4040
main ()
3441
4041
{
3442
 
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
 
4042
#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
 
4043
        && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
3443
4044
 bogus endian macros
3444
4045
#endif
3445
4046
 
3448
4049
}
3449
4050
_ACEOF
3450
4051
rm -f conftest.$ac_objext
3451
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3452
 
  (eval $ac_compile) 2>conftest.er1
 
4052
if { (ac_try="$ac_compile"
 
4053
case "(($ac_try" in
 
4054
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4055
  *) ac_try_echo=$ac_try;;
 
4056
esac
 
4057
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4058
  (eval "$ac_compile") 2>conftest.er1
3453
4059
  ac_status=$?
3454
4060
  grep -v '^ *+' conftest.er1 >conftest.err
3455
4061
  rm -f conftest.er1
3456
4062
  cat conftest.err >&5
3457
4063
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3458
 
  (exit $ac_status); } &&
3459
 
         { ac_try='test -z "$ac_c_werror_flag"
3460
 
                         || test ! -s conftest.err'
3461
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3462
 
  (eval $ac_try) 2>&5
3463
 
  ac_status=$?
3464
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465
 
  (exit $ac_status); }; } &&
3466
 
         { ac_try='test -s conftest.$ac_objext'
3467
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3468
 
  (eval $ac_try) 2>&5
3469
 
  ac_status=$?
3470
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3471
 
  (exit $ac_status); }; }; then
 
4064
  (exit $ac_status); } && {
 
4065
         test -z "$ac_c_werror_flag" ||
 
4066
         test ! -s conftest.err
 
4067
       } && test -s conftest.$ac_objext; then
3472
4068
  # It does; now see whether it defined to BIG_ENDIAN or not.
3473
4069
cat >conftest.$ac_ext <<_ACEOF
3474
4070
/* confdefs.h.  */
3491
4087
}
3492
4088
_ACEOF
3493
4089
rm -f conftest.$ac_objext
3494
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3495
 
  (eval $ac_compile) 2>conftest.er1
 
4090
if { (ac_try="$ac_compile"
 
4091
case "(($ac_try" in
 
4092
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4093
  *) ac_try_echo=$ac_try;;
 
4094
esac
 
4095
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4096
  (eval "$ac_compile") 2>conftest.er1
3496
4097
  ac_status=$?
3497
4098
  grep -v '^ *+' conftest.er1 >conftest.err
3498
4099
  rm -f conftest.er1
3499
4100
  cat conftest.err >&5
3500
4101
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501
 
  (exit $ac_status); } &&
3502
 
         { ac_try='test -z "$ac_c_werror_flag"
3503
 
                         || test ! -s conftest.err'
3504
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3505
 
  (eval $ac_try) 2>&5
3506
 
  ac_status=$?
3507
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3508
 
  (exit $ac_status); }; } &&
3509
 
         { ac_try='test -s conftest.$ac_objext'
3510
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3511
 
  (eval $ac_try) 2>&5
3512
 
  ac_status=$?
3513
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514
 
  (exit $ac_status); }; }; then
 
4102
  (exit $ac_status); } && {
 
4103
         test -z "$ac_c_werror_flag" ||
 
4104
         test ! -s conftest.err
 
4105
       } && test -s conftest.$ac_objext; then
3515
4106
  ac_cv_c_bigendian=yes
3516
4107
else
3517
4108
  echo "$as_me: failed program was:" >&5
3518
4109
sed 's/^/| /' conftest.$ac_ext >&5
3519
4110
 
3520
 
ac_cv_c_bigendian=no
 
4111
        ac_cv_c_bigendian=no
3521
4112
fi
3522
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4113
 
 
4114
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523
4115
else
3524
4116
  echo "$as_me: failed program was:" >&5
3525
4117
sed 's/^/| /' conftest.$ac_ext >&5
3526
4118
 
3527
 
# It does not; compile a test program.
 
4119
        # It does not; compile a test program.
3528
4120
if test "$cross_compiling" = yes; then
3529
4121
  # try to guess the endianness by grepping values into an object file
3530
4122
  ac_cv_c_bigendian=unknown
3534
4126
cat confdefs.h >>conftest.$ac_ext
3535
4127
cat >>conftest.$ac_ext <<_ACEOF
3536
4128
/* end confdefs.h.  */
3537
 
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
3538
 
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 
4129
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 
4130
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
3539
4131
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
3540
 
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3541
 
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
 
4132
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
 
4133
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3542
4134
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
3543
4135
int
3544
4136
main ()
3549
4141
}
3550
4142
_ACEOF
3551
4143
rm -f conftest.$ac_objext
3552
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3553
 
  (eval $ac_compile) 2>conftest.er1
 
4144
if { (ac_try="$ac_compile"
 
4145
case "(($ac_try" in
 
4146
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4147
  *) ac_try_echo=$ac_try;;
 
4148
esac
 
4149
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4150
  (eval "$ac_compile") 2>conftest.er1
3554
4151
  ac_status=$?
3555
4152
  grep -v '^ *+' conftest.er1 >conftest.err
3556
4153
  rm -f conftest.er1
3557
4154
  cat conftest.err >&5
3558
4155
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559
 
  (exit $ac_status); } &&
3560
 
         { ac_try='test -z "$ac_c_werror_flag"
3561
 
                         || test ! -s conftest.err'
3562
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3563
 
  (eval $ac_try) 2>&5
3564
 
  ac_status=$?
3565
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3566
 
  (exit $ac_status); }; } &&
3567
 
         { ac_try='test -s conftest.$ac_objext'
3568
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3569
 
  (eval $ac_try) 2>&5
3570
 
  ac_status=$?
3571
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3572
 
  (exit $ac_status); }; }; then
 
4156
  (exit $ac_status); } && {
 
4157
         test -z "$ac_c_werror_flag" ||
 
4158
         test ! -s conftest.err
 
4159
       } && test -s conftest.$ac_objext; then
3573
4160
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
3574
4161
  ac_cv_c_bigendian=yes
3575
4162
fi
3585
4172
  echo "$as_me: failed program was:" >&5
3586
4173
sed 's/^/| /' conftest.$ac_ext >&5
3587
4174
 
 
4175
 
3588
4176
fi
3589
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4177
 
 
4178
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3590
4179
else
3591
4180
  cat >conftest.$ac_ext <<_ACEOF
3592
4181
/* confdefs.h.  */
3594
4183
cat confdefs.h >>conftest.$ac_ext
3595
4184
cat >>conftest.$ac_ext <<_ACEOF
3596
4185
/* end confdefs.h.  */
 
4186
$ac_includes_default
3597
4187
int
3598
4188
main ()
3599
4189
{
 
4190
 
3600
4191
  /* Are we little or big endian?  From Harbison&Steele.  */
3601
4192
  union
3602
4193
  {
3603
 
    long l;
3604
 
    char c[sizeof (long)];
 
4194
    long int l;
 
4195
    char c[sizeof (long int)];
3605
4196
  } u;
3606
4197
  u.l = 1;
3607
 
  exit (u.c[sizeof (long) - 1] == 1);
 
4198
  return u.c[sizeof (long int) - 1] == 1;
 
4199
 
 
4200
  ;
 
4201
  return 0;
3608
4202
}
3609
4203
_ACEOF
3610
4204
rm -f conftest$ac_exeext
3611
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3612
 
  (eval $ac_link) 2>&5
 
4205
if { (ac_try="$ac_link"
 
4206
case "(($ac_try" in
 
4207
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4208
  *) ac_try_echo=$ac_try;;
 
4209
esac
 
4210
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4211
  (eval "$ac_link") 2>&5
3613
4212
  ac_status=$?
3614
4213
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615
4214
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3616
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3617
 
  (eval $ac_try) 2>&5
 
4215
  { (case "(($ac_try" in
 
4216
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4217
  *) ac_try_echo=$ac_try;;
 
4218
esac
 
4219
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4220
  (eval "$ac_try") 2>&5
3618
4221
  ac_status=$?
3619
4222
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3620
4223
  (exit $ac_status); }; }; then
3627
4230
( exit $ac_status )
3628
4231
ac_cv_c_bigendian=yes
3629
4232
fi
3630
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3631
 
fi
3632
 
fi
3633
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3634
 
fi
3635
 
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
3636
 
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
 
4233
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4234
fi
 
4235
 
 
4236
 
 
4237
fi
 
4238
 
 
4239
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4240
fi
 
4241
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
 
4242
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
3637
4243
case $ac_cv_c_bigendian in
3638
4244
  yes)
3639
4245
 
3660
4266
    # right (and it must appear before "-lm").
3661
4267
    #--------------------------------------------------------------------
3662
4268
 
3663
 
    echo "$as_me:$LINENO: checking for sin" >&5
3664
 
echo $ECHO_N "checking for sin... $ECHO_C" >&6
 
4269
    { echo "$as_me:$LINENO: checking for sin" >&5
 
4270
echo $ECHO_N "checking for sin... $ECHO_C" >&6; }
3665
4271
if test "${ac_cv_func_sin+set}" = set; then
3666
4272
  echo $ECHO_N "(cached) $ECHO_C" >&6
3667
4273
else
3688
4294
 
3689
4295
#undef sin
3690
4296
 
3691
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
4297
/* Override any GCC internal prototype to avoid an error.
 
4298
   Use char because int might match the return type of a GCC
 
4299
   builtin and then its argument prototype would still apply.  */
3692
4300
#ifdef __cplusplus
3693
4301
extern "C"
3694
 
{
3695
4302
#endif
3696
 
/* We use char because int might match the return type of a gcc2
3697
 
   builtin and then its argument prototype would still apply.  */
3698
4303
char sin ();
3699
4304
/* The GNU C library defines this for functions which it implements
3700
4305
    to always fail with ENOSYS.  Some functions are actually named
3701
4306
    something starting with __ and the normal name is an alias.  */
3702
 
#if defined (__stub_sin) || defined (__stub___sin)
 
4307
#if defined __stub_sin || defined __stub___sin
3703
4308
choke me
3704
 
#else
3705
 
char (*f) () = sin;
3706
 
#endif
3707
 
#ifdef __cplusplus
3708
 
}
3709
4309
#endif
3710
4310
 
3711
4311
int
3712
4312
main ()
3713
4313
{
3714
 
return f != sin;
 
4314
return sin ();
3715
4315
  ;
3716
4316
  return 0;
3717
4317
}
3718
4318
_ACEOF
3719
4319
rm -f conftest.$ac_objext conftest$ac_exeext
3720
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3721
 
  (eval $ac_link) 2>conftest.er1
 
4320
if { (ac_try="$ac_link"
 
4321
case "(($ac_try" in
 
4322
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4323
  *) ac_try_echo=$ac_try;;
 
4324
esac
 
4325
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4326
  (eval "$ac_link") 2>conftest.er1
3722
4327
  ac_status=$?
3723
4328
  grep -v '^ *+' conftest.er1 >conftest.err
3724
4329
  rm -f conftest.er1
3725
4330
  cat conftest.err >&5
3726
4331
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727
 
  (exit $ac_status); } &&
3728
 
         { ac_try='test -z "$ac_c_werror_flag"
3729
 
                         || test ! -s conftest.err'
3730
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3731
 
  (eval $ac_try) 2>&5
3732
 
  ac_status=$?
3733
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734
 
  (exit $ac_status); }; } &&
3735
 
         { ac_try='test -s conftest$ac_exeext'
3736
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3737
 
  (eval $ac_try) 2>&5
3738
 
  ac_status=$?
3739
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3740
 
  (exit $ac_status); }; }; then
 
4332
  (exit $ac_status); } && {
 
4333
         test -z "$ac_c_werror_flag" ||
 
4334
         test ! -s conftest.err
 
4335
       } && test -s conftest$ac_exeext &&
 
4336
       $as_test_x conftest$ac_exeext; then
3741
4337
  ac_cv_func_sin=yes
3742
4338
else
3743
4339
  echo "$as_me: failed program was:" >&5
3744
4340
sed 's/^/| /' conftest.$ac_ext >&5
3745
4341
 
3746
 
ac_cv_func_sin=no
 
4342
        ac_cv_func_sin=no
3747
4343
fi
3748
 
rm -f conftest.err conftest.$ac_objext \
 
4344
 
 
4345
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3749
4346
      conftest$ac_exeext conftest.$ac_ext
3750
4347
fi
3751
 
echo "$as_me:$LINENO: result: $ac_cv_func_sin" >&5
3752
 
echo "${ECHO_T}$ac_cv_func_sin" >&6
 
4348
{ echo "$as_me:$LINENO: result: $ac_cv_func_sin" >&5
 
4349
echo "${ECHO_T}$ac_cv_func_sin" >&6; }
3753
4350
if test $ac_cv_func_sin = yes; then
3754
4351
  MATH_LIBS=""
3755
4352
else
3756
4353
  MATH_LIBS="-lm"
3757
4354
fi
3758
4355
 
3759
 
    echo "$as_me:$LINENO: checking for main in -lieee" >&5
3760
 
echo $ECHO_N "checking for main in -lieee... $ECHO_C" >&6
 
4356
    { echo "$as_me:$LINENO: checking for main in -lieee" >&5
 
4357
echo $ECHO_N "checking for main in -lieee... $ECHO_C" >&6; }
3761
4358
if test "${ac_cv_lib_ieee_main+set}" = set; then
3762
4359
  echo $ECHO_N "(cached) $ECHO_C" >&6
3763
4360
else
3774
4371
int
3775
4372
main ()
3776
4373
{
3777
 
main ();
 
4374
return main ();
3778
4375
  ;
3779
4376
  return 0;
3780
4377
}
3781
4378
_ACEOF
3782
4379
rm -f conftest.$ac_objext conftest$ac_exeext
3783
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3784
 
  (eval $ac_link) 2>conftest.er1
 
4380
if { (ac_try="$ac_link"
 
4381
case "(($ac_try" in
 
4382
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4383
  *) ac_try_echo=$ac_try;;
 
4384
esac
 
4385
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4386
  (eval "$ac_link") 2>conftest.er1
3785
4387
  ac_status=$?
3786
4388
  grep -v '^ *+' conftest.er1 >conftest.err
3787
4389
  rm -f conftest.er1
3788
4390
  cat conftest.err >&5
3789
4391
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3790
 
  (exit $ac_status); } &&
3791
 
         { ac_try='test -z "$ac_c_werror_flag"
3792
 
                         || test ! -s conftest.err'
3793
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3794
 
  (eval $ac_try) 2>&5
3795
 
  ac_status=$?
3796
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3797
 
  (exit $ac_status); }; } &&
3798
 
         { ac_try='test -s conftest$ac_exeext'
3799
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3800
 
  (eval $ac_try) 2>&5
3801
 
  ac_status=$?
3802
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803
 
  (exit $ac_status); }; }; then
 
4392
  (exit $ac_status); } && {
 
4393
         test -z "$ac_c_werror_flag" ||
 
4394
         test ! -s conftest.err
 
4395
       } && test -s conftest$ac_exeext &&
 
4396
       $as_test_x conftest$ac_exeext; then
3804
4397
  ac_cv_lib_ieee_main=yes
3805
4398
else
3806
4399
  echo "$as_me: failed program was:" >&5
3807
4400
sed 's/^/| /' conftest.$ac_ext >&5
3808
4401
 
3809
 
ac_cv_lib_ieee_main=no
 
4402
        ac_cv_lib_ieee_main=no
3810
4403
fi
3811
 
rm -f conftest.err conftest.$ac_objext \
 
4404
 
 
4405
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3812
4406
      conftest$ac_exeext conftest.$ac_ext
3813
4407
LIBS=$ac_check_lib_save_LIBS
3814
4408
fi
3815
 
echo "$as_me:$LINENO: result: $ac_cv_lib_ieee_main" >&5
3816
 
echo "${ECHO_T}$ac_cv_lib_ieee_main" >&6
 
4409
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ieee_main" >&5
 
4410
echo "${ECHO_T}$ac_cv_lib_ieee_main" >&6; }
3817
4411
if test $ac_cv_lib_ieee_main = yes; then
3818
4412
  MATH_LIBS="-lieee $MATH_LIBS"
3819
4413
fi
3824
4418
    # needs net/errno.h to define the socket-related error codes.
3825
4419
    #--------------------------------------------------------------------
3826
4420
 
3827
 
    echo "$as_me:$LINENO: checking for main in -linet" >&5
3828
 
echo $ECHO_N "checking for main in -linet... $ECHO_C" >&6
 
4421
    { echo "$as_me:$LINENO: checking for main in -linet" >&5
 
4422
echo $ECHO_N "checking for main in -linet... $ECHO_C" >&6; }
3829
4423
if test "${ac_cv_lib_inet_main+set}" = set; then
3830
4424
  echo $ECHO_N "(cached) $ECHO_C" >&6
3831
4425
else
3842
4436
int
3843
4437
main ()
3844
4438
{
3845
 
main ();
 
4439
return main ();
3846
4440
  ;
3847
4441
  return 0;
3848
4442
}
3849
4443
_ACEOF
3850
4444
rm -f conftest.$ac_objext conftest$ac_exeext
3851
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3852
 
  (eval $ac_link) 2>conftest.er1
 
4445
if { (ac_try="$ac_link"
 
4446
case "(($ac_try" in
 
4447
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4448
  *) ac_try_echo=$ac_try;;
 
4449
esac
 
4450
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4451
  (eval "$ac_link") 2>conftest.er1
3853
4452
  ac_status=$?
3854
4453
  grep -v '^ *+' conftest.er1 >conftest.err
3855
4454
  rm -f conftest.er1
3856
4455
  cat conftest.err >&5
3857
4456
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858
 
  (exit $ac_status); } &&
3859
 
         { ac_try='test -z "$ac_c_werror_flag"
3860
 
                         || test ! -s conftest.err'
3861
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3862
 
  (eval $ac_try) 2>&5
3863
 
  ac_status=$?
3864
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3865
 
  (exit $ac_status); }; } &&
3866
 
         { ac_try='test -s conftest$ac_exeext'
3867
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3868
 
  (eval $ac_try) 2>&5
3869
 
  ac_status=$?
3870
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3871
 
  (exit $ac_status); }; }; then
 
4457
  (exit $ac_status); } && {
 
4458
         test -z "$ac_c_werror_flag" ||
 
4459
         test ! -s conftest.err
 
4460
       } && test -s conftest$ac_exeext &&
 
4461
       $as_test_x conftest$ac_exeext; then
3872
4462
  ac_cv_lib_inet_main=yes
3873
4463
else
3874
4464
  echo "$as_me: failed program was:" >&5
3875
4465
sed 's/^/| /' conftest.$ac_ext >&5
3876
4466
 
3877
 
ac_cv_lib_inet_main=no
 
4467
        ac_cv_lib_inet_main=no
3878
4468
fi
3879
 
rm -f conftest.err conftest.$ac_objext \
 
4469
 
 
4470
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3880
4471
      conftest$ac_exeext conftest.$ac_ext
3881
4472
LIBS=$ac_check_lib_save_LIBS
3882
4473
fi
3883
 
echo "$as_me:$LINENO: result: $ac_cv_lib_inet_main" >&5
3884
 
echo "${ECHO_T}$ac_cv_lib_inet_main" >&6
 
4474
{ echo "$as_me:$LINENO: result: $ac_cv_lib_inet_main" >&5
 
4475
echo "${ECHO_T}$ac_cv_lib_inet_main" >&6; }
3885
4476
if test $ac_cv_lib_inet_main = yes; then
3886
4477
  LIBS="$LIBS -linet"
3887
4478
fi
3888
4479
 
3889
4480
    if test "${ac_cv_header_net_errno_h+set}" = set; then
3890
 
  echo "$as_me:$LINENO: checking for net/errno.h" >&5
3891
 
echo $ECHO_N "checking for net/errno.h... $ECHO_C" >&6
 
4481
  { echo "$as_me:$LINENO: checking for net/errno.h" >&5
 
4482
echo $ECHO_N "checking for net/errno.h... $ECHO_C" >&6; }
3892
4483
if test "${ac_cv_header_net_errno_h+set}" = set; then
3893
4484
  echo $ECHO_N "(cached) $ECHO_C" >&6
3894
4485
fi
3895
 
echo "$as_me:$LINENO: result: $ac_cv_header_net_errno_h" >&5
3896
 
echo "${ECHO_T}$ac_cv_header_net_errno_h" >&6
 
4486
{ echo "$as_me:$LINENO: result: $ac_cv_header_net_errno_h" >&5
 
4487
echo "${ECHO_T}$ac_cv_header_net_errno_h" >&6; }
3897
4488
else
3898
4489
  # Is the header compilable?
3899
 
echo "$as_me:$LINENO: checking net/errno.h usability" >&5
3900
 
echo $ECHO_N "checking net/errno.h usability... $ECHO_C" >&6
 
4490
{ echo "$as_me:$LINENO: checking net/errno.h usability" >&5
 
4491
echo $ECHO_N "checking net/errno.h usability... $ECHO_C" >&6; }
3901
4492
cat >conftest.$ac_ext <<_ACEOF
3902
4493
/* confdefs.h.  */
3903
4494
_ACEOF
3908
4499
#include <net/errno.h>
3909
4500
_ACEOF
3910
4501
rm -f conftest.$ac_objext
3911
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3912
 
  (eval $ac_compile) 2>conftest.er1
 
4502
if { (ac_try="$ac_compile"
 
4503
case "(($ac_try" in
 
4504
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4505
  *) ac_try_echo=$ac_try;;
 
4506
esac
 
4507
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4508
  (eval "$ac_compile") 2>conftest.er1
3913
4509
  ac_status=$?
3914
4510
  grep -v '^ *+' conftest.er1 >conftest.err
3915
4511
  rm -f conftest.er1
3916
4512
  cat conftest.err >&5
3917
4513
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3918
 
  (exit $ac_status); } &&
3919
 
         { ac_try='test -z "$ac_c_werror_flag"
3920
 
                         || test ! -s conftest.err'
3921
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3922
 
  (eval $ac_try) 2>&5
3923
 
  ac_status=$?
3924
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925
 
  (exit $ac_status); }; } &&
3926
 
         { ac_try='test -s conftest.$ac_objext'
3927
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3928
 
  (eval $ac_try) 2>&5
3929
 
  ac_status=$?
3930
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931
 
  (exit $ac_status); }; }; then
 
4514
  (exit $ac_status); } && {
 
4515
         test -z "$ac_c_werror_flag" ||
 
4516
         test ! -s conftest.err
 
4517
       } && test -s conftest.$ac_objext; then
3932
4518
  ac_header_compiler=yes
3933
4519
else
3934
4520
  echo "$as_me: failed program was:" >&5
3935
4521
sed 's/^/| /' conftest.$ac_ext >&5
3936
4522
 
3937
 
ac_header_compiler=no
 
4523
        ac_header_compiler=no
3938
4524
fi
3939
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3940
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3941
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
4525
 
 
4526
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4527
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
4528
echo "${ECHO_T}$ac_header_compiler" >&6; }
3942
4529
 
3943
4530
# Is the header present?
3944
 
echo "$as_me:$LINENO: checking net/errno.h presence" >&5
3945
 
echo $ECHO_N "checking net/errno.h presence... $ECHO_C" >&6
 
4531
{ echo "$as_me:$LINENO: checking net/errno.h presence" >&5
 
4532
echo $ECHO_N "checking net/errno.h presence... $ECHO_C" >&6; }
3946
4533
cat >conftest.$ac_ext <<_ACEOF
3947
4534
/* confdefs.h.  */
3948
4535
_ACEOF
3951
4538
/* end confdefs.h.  */
3952
4539
#include <net/errno.h>
3953
4540
_ACEOF
3954
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3955
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4541
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4542
case "(($ac_try" in
 
4543
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4544
  *) ac_try_echo=$ac_try;;
 
4545
esac
 
4546
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4547
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3956
4548
  ac_status=$?
3957
4549
  grep -v '^ *+' conftest.er1 >conftest.err
3958
4550
  rm -f conftest.er1
3959
4551
  cat conftest.err >&5
3960
4552
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961
 
  (exit $ac_status); } >/dev/null; then
3962
 
  if test -s conftest.err; then
3963
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3964
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3965
 
  else
3966
 
    ac_cpp_err=
3967
 
  fi
3968
 
else
3969
 
  ac_cpp_err=yes
3970
 
fi
3971
 
if test -z "$ac_cpp_err"; then
 
4553
  (exit $ac_status); } >/dev/null && {
 
4554
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4555
         test ! -s conftest.err
 
4556
       }; then
3972
4557
  ac_header_preproc=yes
3973
4558
else
3974
4559
  echo "$as_me: failed program was:" >&5
3976
4561
 
3977
4562
  ac_header_preproc=no
3978
4563
fi
 
4564
 
3979
4565
rm -f conftest.err conftest.$ac_ext
3980
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3981
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
4566
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
4567
echo "${ECHO_T}$ac_header_preproc" >&6; }
3982
4568
 
3983
4569
# So?  What about this header?
3984
4570
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4002
4588
echo "$as_me: WARNING: net/errno.h: proceeding with the preprocessor's result" >&2;}
4003
4589
    { echo "$as_me:$LINENO: WARNING: net/errno.h: in the future, the compiler will take precedence" >&5
4004
4590
echo "$as_me: WARNING: net/errno.h: in the future, the compiler will take precedence" >&2;}
4005
 
    (
4006
 
      cat <<\_ASBOX
4007
 
## ---------------------------------- ##
4008
 
## Report this to the TclCurl lists.  ##
4009
 
## ---------------------------------- ##
4010
 
_ASBOX
4011
 
    ) |
4012
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
4591
 
4013
4592
    ;;
4014
4593
esac
4015
 
echo "$as_me:$LINENO: checking for net/errno.h" >&5
4016
 
echo $ECHO_N "checking for net/errno.h... $ECHO_C" >&6
 
4594
{ echo "$as_me:$LINENO: checking for net/errno.h" >&5
 
4595
echo $ECHO_N "checking for net/errno.h... $ECHO_C" >&6; }
4017
4596
if test "${ac_cv_header_net_errno_h+set}" = set; then
4018
4597
  echo $ECHO_N "(cached) $ECHO_C" >&6
4019
4598
else
4020
4599
  ac_cv_header_net_errno_h=$ac_header_preproc
4021
4600
fi
4022
 
echo "$as_me:$LINENO: result: $ac_cv_header_net_errno_h" >&5
4023
 
echo "${ECHO_T}$ac_cv_header_net_errno_h" >&6
 
4601
{ echo "$as_me:$LINENO: result: $ac_cv_header_net_errno_h" >&5
 
4602
echo "${ECHO_T}$ac_cv_header_net_errno_h" >&6; }
4024
4603
 
4025
4604
fi
4026
4605
if test $ac_cv_header_net_errno_h = yes; then
4053
4632
    #--------------------------------------------------------------------
4054
4633
 
4055
4634
    tcl_checkBoth=0
4056
 
    echo "$as_me:$LINENO: checking for connect" >&5
4057
 
echo $ECHO_N "checking for connect... $ECHO_C" >&6
 
4635
    { echo "$as_me:$LINENO: checking for connect" >&5
 
4636
echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4058
4637
if test "${ac_cv_func_connect+set}" = set; then
4059
4638
  echo $ECHO_N "(cached) $ECHO_C" >&6
4060
4639
else
4081
4660
 
4082
4661
#undef connect
4083
4662
 
4084
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
4663
/* Override any GCC internal prototype to avoid an error.
 
4664
   Use char because int might match the return type of a GCC
 
4665
   builtin and then its argument prototype would still apply.  */
4085
4666
#ifdef __cplusplus
4086
4667
extern "C"
4087
 
{
4088
4668
#endif
4089
 
/* We use char because int might match the return type of a gcc2
4090
 
   builtin and then its argument prototype would still apply.  */
4091
4669
char connect ();
4092
4670
/* The GNU C library defines this for functions which it implements
4093
4671
    to always fail with ENOSYS.  Some functions are actually named
4094
4672
    something starting with __ and the normal name is an alias.  */
4095
 
#if defined (__stub_connect) || defined (__stub___connect)
 
4673
#if defined __stub_connect || defined __stub___connect
4096
4674
choke me
4097
 
#else
4098
 
char (*f) () = connect;
4099
 
#endif
4100
 
#ifdef __cplusplus
4101
 
}
4102
4675
#endif
4103
4676
 
4104
4677
int
4105
4678
main ()
4106
4679
{
4107
 
return f != connect;
 
4680
return connect ();
4108
4681
  ;
4109
4682
  return 0;
4110
4683
}
4111
4684
_ACEOF
4112
4685
rm -f conftest.$ac_objext conftest$ac_exeext
4113
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4114
 
  (eval $ac_link) 2>conftest.er1
 
4686
if { (ac_try="$ac_link"
 
4687
case "(($ac_try" in
 
4688
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4689
  *) ac_try_echo=$ac_try;;
 
4690
esac
 
4691
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4692
  (eval "$ac_link") 2>conftest.er1
4115
4693
  ac_status=$?
4116
4694
  grep -v '^ *+' conftest.er1 >conftest.err
4117
4695
  rm -f conftest.er1
4118
4696
  cat conftest.err >&5
4119
4697
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4120
 
  (exit $ac_status); } &&
4121
 
         { ac_try='test -z "$ac_c_werror_flag"
4122
 
                         || test ! -s conftest.err'
4123
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4124
 
  (eval $ac_try) 2>&5
4125
 
  ac_status=$?
4126
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4127
 
  (exit $ac_status); }; } &&
4128
 
         { ac_try='test -s conftest$ac_exeext'
4129
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4130
 
  (eval $ac_try) 2>&5
4131
 
  ac_status=$?
4132
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4133
 
  (exit $ac_status); }; }; then
 
4698
  (exit $ac_status); } && {
 
4699
         test -z "$ac_c_werror_flag" ||
 
4700
         test ! -s conftest.err
 
4701
       } && test -s conftest$ac_exeext &&
 
4702
       $as_test_x conftest$ac_exeext; then
4134
4703
  ac_cv_func_connect=yes
4135
4704
else
4136
4705
  echo "$as_me: failed program was:" >&5
4137
4706
sed 's/^/| /' conftest.$ac_ext >&5
4138
4707
 
4139
 
ac_cv_func_connect=no
 
4708
        ac_cv_func_connect=no
4140
4709
fi
4141
 
rm -f conftest.err conftest.$ac_objext \
 
4710
 
 
4711
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4142
4712
      conftest$ac_exeext conftest.$ac_ext
4143
4713
fi
4144
 
echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4145
 
echo "${ECHO_T}$ac_cv_func_connect" >&6
 
4714
{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
 
4715
echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4146
4716
if test $ac_cv_func_connect = yes; then
4147
4717
  tcl_checkSocket=0
4148
4718
else
4150
4720
fi
4151
4721
 
4152
4722
    if test "$tcl_checkSocket" = 1; then
4153
 
        echo "$as_me:$LINENO: checking for setsockopt" >&5
4154
 
echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
 
4723
        { echo "$as_me:$LINENO: checking for setsockopt" >&5
 
4724
echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6; }
4155
4725
if test "${ac_cv_func_setsockopt+set}" = set; then
4156
4726
  echo $ECHO_N "(cached) $ECHO_C" >&6
4157
4727
else
4178
4748
 
4179
4749
#undef setsockopt
4180
4750
 
4181
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
4751
/* Override any GCC internal prototype to avoid an error.
 
4752
   Use char because int might match the return type of a GCC
 
4753
   builtin and then its argument prototype would still apply.  */
4182
4754
#ifdef __cplusplus
4183
4755
extern "C"
4184
 
{
4185
4756
#endif
4186
 
/* We use char because int might match the return type of a gcc2
4187
 
   builtin and then its argument prototype would still apply.  */
4188
4757
char setsockopt ();
4189
4758
/* The GNU C library defines this for functions which it implements
4190
4759
    to always fail with ENOSYS.  Some functions are actually named
4191
4760
    something starting with __ and the normal name is an alias.  */
4192
 
#if defined (__stub_setsockopt) || defined (__stub___setsockopt)
 
4761
#if defined __stub_setsockopt || defined __stub___setsockopt
4193
4762
choke me
4194
 
#else
4195
 
char (*f) () = setsockopt;
4196
 
#endif
4197
 
#ifdef __cplusplus
4198
 
}
4199
4763
#endif
4200
4764
 
4201
4765
int
4202
4766
main ()
4203
4767
{
4204
 
return f != setsockopt;
 
4768
return setsockopt ();
4205
4769
  ;
4206
4770
  return 0;
4207
4771
}
4208
4772
_ACEOF
4209
4773
rm -f conftest.$ac_objext conftest$ac_exeext
4210
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4211
 
  (eval $ac_link) 2>conftest.er1
 
4774
if { (ac_try="$ac_link"
 
4775
case "(($ac_try" in
 
4776
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4777
  *) ac_try_echo=$ac_try;;
 
4778
esac
 
4779
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4780
  (eval "$ac_link") 2>conftest.er1
4212
4781
  ac_status=$?
4213
4782
  grep -v '^ *+' conftest.er1 >conftest.err
4214
4783
  rm -f conftest.er1
4215
4784
  cat conftest.err >&5
4216
4785
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217
 
  (exit $ac_status); } &&
4218
 
         { ac_try='test -z "$ac_c_werror_flag"
4219
 
                         || test ! -s conftest.err'
4220
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4221
 
  (eval $ac_try) 2>&5
4222
 
  ac_status=$?
4223
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224
 
  (exit $ac_status); }; } &&
4225
 
         { ac_try='test -s conftest$ac_exeext'
4226
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4227
 
  (eval $ac_try) 2>&5
4228
 
  ac_status=$?
4229
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4230
 
  (exit $ac_status); }; }; then
 
4786
  (exit $ac_status); } && {
 
4787
         test -z "$ac_c_werror_flag" ||
 
4788
         test ! -s conftest.err
 
4789
       } && test -s conftest$ac_exeext &&
 
4790
       $as_test_x conftest$ac_exeext; then
4231
4791
  ac_cv_func_setsockopt=yes
4232
4792
else
4233
4793
  echo "$as_me: failed program was:" >&5
4234
4794
sed 's/^/| /' conftest.$ac_ext >&5
4235
4795
 
4236
 
ac_cv_func_setsockopt=no
 
4796
        ac_cv_func_setsockopt=no
4237
4797
fi
4238
 
rm -f conftest.err conftest.$ac_objext \
 
4798
 
 
4799
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4239
4800
      conftest$ac_exeext conftest.$ac_ext
4240
4801
fi
4241
 
echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5
4242
 
echo "${ECHO_T}$ac_cv_func_setsockopt" >&6
 
4802
{ echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5
 
4803
echo "${ECHO_T}$ac_cv_func_setsockopt" >&6; }
4243
4804
if test $ac_cv_func_setsockopt = yes; then
4244
4805
  :
4245
4806
else
4246
 
  echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5
4247
 
echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6
 
4807
  { echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5
 
4808
echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6; }
4248
4809
if test "${ac_cv_lib_socket_setsockopt+set}" = set; then
4249
4810
  echo $ECHO_N "(cached) $ECHO_C" >&6
4250
4811
else
4257
4818
cat >>conftest.$ac_ext <<_ACEOF
4258
4819
/* end confdefs.h.  */
4259
4820
 
4260
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
4821
/* Override any GCC internal prototype to avoid an error.
 
4822
   Use char because int might match the return type of a GCC
 
4823
   builtin and then its argument prototype would still apply.  */
4261
4824
#ifdef __cplusplus
4262
4825
extern "C"
4263
4826
#endif
4264
 
/* We use char because int might match the return type of a gcc2
4265
 
   builtin and then its argument prototype would still apply.  */
4266
4827
char setsockopt ();
4267
4828
int
4268
4829
main ()
4269
4830
{
4270
 
setsockopt ();
 
4831
return setsockopt ();
4271
4832
  ;
4272
4833
  return 0;
4273
4834
}
4274
4835
_ACEOF
4275
4836
rm -f conftest.$ac_objext conftest$ac_exeext
4276
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4277
 
  (eval $ac_link) 2>conftest.er1
 
4837
if { (ac_try="$ac_link"
 
4838
case "(($ac_try" in
 
4839
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4840
  *) ac_try_echo=$ac_try;;
 
4841
esac
 
4842
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4843
  (eval "$ac_link") 2>conftest.er1
4278
4844
  ac_status=$?
4279
4845
  grep -v '^ *+' conftest.er1 >conftest.err
4280
4846
  rm -f conftest.er1
4281
4847
  cat conftest.err >&5
4282
4848
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4283
 
  (exit $ac_status); } &&
4284
 
         { ac_try='test -z "$ac_c_werror_flag"
4285
 
                         || test ! -s conftest.err'
4286
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4287
 
  (eval $ac_try) 2>&5
4288
 
  ac_status=$?
4289
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4290
 
  (exit $ac_status); }; } &&
4291
 
         { ac_try='test -s conftest$ac_exeext'
4292
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4293
 
  (eval $ac_try) 2>&5
4294
 
  ac_status=$?
4295
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4296
 
  (exit $ac_status); }; }; then
 
4849
  (exit $ac_status); } && {
 
4850
         test -z "$ac_c_werror_flag" ||
 
4851
         test ! -s conftest.err
 
4852
       } && test -s conftest$ac_exeext &&
 
4853
       $as_test_x conftest$ac_exeext; then
4297
4854
  ac_cv_lib_socket_setsockopt=yes
4298
4855
else
4299
4856
  echo "$as_me: failed program was:" >&5
4300
4857
sed 's/^/| /' conftest.$ac_ext >&5
4301
4858
 
4302
 
ac_cv_lib_socket_setsockopt=no
 
4859
        ac_cv_lib_socket_setsockopt=no
4303
4860
fi
4304
 
rm -f conftest.err conftest.$ac_objext \
 
4861
 
 
4862
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4305
4863
      conftest$ac_exeext conftest.$ac_ext
4306
4864
LIBS=$ac_check_lib_save_LIBS
4307
4865
fi
4308
 
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
4309
 
echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6
 
4866
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
 
4867
echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6; }
4310
4868
if test $ac_cv_lib_socket_setsockopt = yes; then
4311
4869
  LIBS="$LIBS -lsocket"
4312
4870
else
4319
4877
    if test "$tcl_checkBoth" = 1; then
4320
4878
        tk_oldLibs=$LIBS
4321
4879
        LIBS="$LIBS -lsocket -lnsl"
4322
 
        echo "$as_me:$LINENO: checking for accept" >&5
4323
 
echo $ECHO_N "checking for accept... $ECHO_C" >&6
 
4880
        { echo "$as_me:$LINENO: checking for accept" >&5
 
4881
echo $ECHO_N "checking for accept... $ECHO_C" >&6; }
4324
4882
if test "${ac_cv_func_accept+set}" = set; then
4325
4883
  echo $ECHO_N "(cached) $ECHO_C" >&6
4326
4884
else
4347
4905
 
4348
4906
#undef accept
4349
4907
 
4350
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
4908
/* Override any GCC internal prototype to avoid an error.
 
4909
   Use char because int might match the return type of a GCC
 
4910
   builtin and then its argument prototype would still apply.  */
4351
4911
#ifdef __cplusplus
4352
4912
extern "C"
4353
 
{
4354
4913
#endif
4355
 
/* We use char because int might match the return type of a gcc2
4356
 
   builtin and then its argument prototype would still apply.  */
4357
4914
char accept ();
4358
4915
/* The GNU C library defines this for functions which it implements
4359
4916
    to always fail with ENOSYS.  Some functions are actually named
4360
4917
    something starting with __ and the normal name is an alias.  */
4361
 
#if defined (__stub_accept) || defined (__stub___accept)
 
4918
#if defined __stub_accept || defined __stub___accept
4362
4919
choke me
4363
 
#else
4364
 
char (*f) () = accept;
4365
 
#endif
4366
 
#ifdef __cplusplus
4367
 
}
4368
4920
#endif
4369
4921
 
4370
4922
int
4371
4923
main ()
4372
4924
{
4373
 
return f != accept;
 
4925
return accept ();
4374
4926
  ;
4375
4927
  return 0;
4376
4928
}
4377
4929
_ACEOF
4378
4930
rm -f conftest.$ac_objext conftest$ac_exeext
4379
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4380
 
  (eval $ac_link) 2>conftest.er1
 
4931
if { (ac_try="$ac_link"
 
4932
case "(($ac_try" in
 
4933
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4934
  *) ac_try_echo=$ac_try;;
 
4935
esac
 
4936
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4937
  (eval "$ac_link") 2>conftest.er1
4381
4938
  ac_status=$?
4382
4939
  grep -v '^ *+' conftest.er1 >conftest.err
4383
4940
  rm -f conftest.er1
4384
4941
  cat conftest.err >&5
4385
4942
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4386
 
  (exit $ac_status); } &&
4387
 
         { ac_try='test -z "$ac_c_werror_flag"
4388
 
                         || test ! -s conftest.err'
4389
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4390
 
  (eval $ac_try) 2>&5
4391
 
  ac_status=$?
4392
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4393
 
  (exit $ac_status); }; } &&
4394
 
         { ac_try='test -s conftest$ac_exeext'
4395
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4396
 
  (eval $ac_try) 2>&5
4397
 
  ac_status=$?
4398
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4399
 
  (exit $ac_status); }; }; then
 
4943
  (exit $ac_status); } && {
 
4944
         test -z "$ac_c_werror_flag" ||
 
4945
         test ! -s conftest.err
 
4946
       } && test -s conftest$ac_exeext &&
 
4947
       $as_test_x conftest$ac_exeext; then
4400
4948
  ac_cv_func_accept=yes
4401
4949
else
4402
4950
  echo "$as_me: failed program was:" >&5
4403
4951
sed 's/^/| /' conftest.$ac_ext >&5
4404
4952
 
4405
 
ac_cv_func_accept=no
 
4953
        ac_cv_func_accept=no
4406
4954
fi
4407
 
rm -f conftest.err conftest.$ac_objext \
 
4955
 
 
4956
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4408
4957
      conftest$ac_exeext conftest.$ac_ext
4409
4958
fi
4410
 
echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
4411
 
echo "${ECHO_T}$ac_cv_func_accept" >&6
 
4959
{ echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
 
4960
echo "${ECHO_T}$ac_cv_func_accept" >&6; }
4412
4961
if test $ac_cv_func_accept = yes; then
4413
4962
  tcl_checkNsl=0
4414
4963
else
4416
4965
fi
4417
4966
 
4418
4967
    fi
4419
 
    echo "$as_me:$LINENO: checking for gethostbyname" >&5
4420
 
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
 
4968
    { echo "$as_me:$LINENO: checking for gethostbyname" >&5
 
4969
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4421
4970
if test "${ac_cv_func_gethostbyname+set}" = set; then
4422
4971
  echo $ECHO_N "(cached) $ECHO_C" >&6
4423
4972
else
4444
4993
 
4445
4994
#undef gethostbyname
4446
4995
 
4447
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
4996
/* Override any GCC internal prototype to avoid an error.
 
4997
   Use char because int might match the return type of a GCC
 
4998
   builtin and then its argument prototype would still apply.  */
4448
4999
#ifdef __cplusplus
4449
5000
extern "C"
4450
 
{
4451
5001
#endif
4452
 
/* We use char because int might match the return type of a gcc2
4453
 
   builtin and then its argument prototype would still apply.  */
4454
5002
char gethostbyname ();
4455
5003
/* The GNU C library defines this for functions which it implements
4456
5004
    to always fail with ENOSYS.  Some functions are actually named
4457
5005
    something starting with __ and the normal name is an alias.  */
4458
 
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
 
5006
#if defined __stub_gethostbyname || defined __stub___gethostbyname
4459
5007
choke me
4460
 
#else
4461
 
char (*f) () = gethostbyname;
4462
 
#endif
4463
 
#ifdef __cplusplus
4464
 
}
4465
5008
#endif
4466
5009
 
4467
5010
int
4468
5011
main ()
4469
5012
{
4470
 
return f != gethostbyname;
 
5013
return gethostbyname ();
4471
5014
  ;
4472
5015
  return 0;
4473
5016
}
4474
5017
_ACEOF
4475
5018
rm -f conftest.$ac_objext conftest$ac_exeext
4476
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4477
 
  (eval $ac_link) 2>conftest.er1
 
5019
if { (ac_try="$ac_link"
 
5020
case "(($ac_try" in
 
5021
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5022
  *) ac_try_echo=$ac_try;;
 
5023
esac
 
5024
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5025
  (eval "$ac_link") 2>conftest.er1
4478
5026
  ac_status=$?
4479
5027
  grep -v '^ *+' conftest.er1 >conftest.err
4480
5028
  rm -f conftest.er1
4481
5029
  cat conftest.err >&5
4482
5030
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4483
 
  (exit $ac_status); } &&
4484
 
         { ac_try='test -z "$ac_c_werror_flag"
4485
 
                         || test ! -s conftest.err'
4486
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4487
 
  (eval $ac_try) 2>&5
4488
 
  ac_status=$?
4489
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490
 
  (exit $ac_status); }; } &&
4491
 
         { ac_try='test -s conftest$ac_exeext'
4492
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4493
 
  (eval $ac_try) 2>&5
4494
 
  ac_status=$?
4495
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4496
 
  (exit $ac_status); }; }; then
 
5031
  (exit $ac_status); } && {
 
5032
         test -z "$ac_c_werror_flag" ||
 
5033
         test ! -s conftest.err
 
5034
       } && test -s conftest$ac_exeext &&
 
5035
       $as_test_x conftest$ac_exeext; then
4497
5036
  ac_cv_func_gethostbyname=yes
4498
5037
else
4499
5038
  echo "$as_me: failed program was:" >&5
4500
5039
sed 's/^/| /' conftest.$ac_ext >&5
4501
5040
 
4502
 
ac_cv_func_gethostbyname=no
 
5041
        ac_cv_func_gethostbyname=no
4503
5042
fi
4504
 
rm -f conftest.err conftest.$ac_objext \
 
5043
 
 
5044
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4505
5045
      conftest$ac_exeext conftest.$ac_ext
4506
5046
fi
4507
 
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4508
 
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
 
5047
{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
 
5048
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4509
5049
if test $ac_cv_func_gethostbyname = yes; then
4510
5050
  :
4511
5051
else
4512
 
  echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4513
 
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
 
5052
  { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
 
5053
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4514
5054
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4515
5055
  echo $ECHO_N "(cached) $ECHO_C" >&6
4516
5056
else
4523
5063
cat >>conftest.$ac_ext <<_ACEOF
4524
5064
/* end confdefs.h.  */
4525
5065
 
4526
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
5066
/* Override any GCC internal prototype to avoid an error.
 
5067
   Use char because int might match the return type of a GCC
 
5068
   builtin and then its argument prototype would still apply.  */
4527
5069
#ifdef __cplusplus
4528
5070
extern "C"
4529
5071
#endif
4530
 
/* We use char because int might match the return type of a gcc2
4531
 
   builtin and then its argument prototype would still apply.  */
4532
5072
char gethostbyname ();
4533
5073
int
4534
5074
main ()
4535
5075
{
4536
 
gethostbyname ();
 
5076
return gethostbyname ();
4537
5077
  ;
4538
5078
  return 0;
4539
5079
}
4540
5080
_ACEOF
4541
5081
rm -f conftest.$ac_objext conftest$ac_exeext
4542
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4543
 
  (eval $ac_link) 2>conftest.er1
 
5082
if { (ac_try="$ac_link"
 
5083
case "(($ac_try" in
 
5084
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5085
  *) ac_try_echo=$ac_try;;
 
5086
esac
 
5087
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5088
  (eval "$ac_link") 2>conftest.er1
4544
5089
  ac_status=$?
4545
5090
  grep -v '^ *+' conftest.er1 >conftest.err
4546
5091
  rm -f conftest.er1
4547
5092
  cat conftest.err >&5
4548
5093
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549
 
  (exit $ac_status); } &&
4550
 
         { ac_try='test -z "$ac_c_werror_flag"
4551
 
                         || test ! -s conftest.err'
4552
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4553
 
  (eval $ac_try) 2>&5
4554
 
  ac_status=$?
4555
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556
 
  (exit $ac_status); }; } &&
4557
 
         { ac_try='test -s conftest$ac_exeext'
4558
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4559
 
  (eval $ac_try) 2>&5
4560
 
  ac_status=$?
4561
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4562
 
  (exit $ac_status); }; }; then
 
5094
  (exit $ac_status); } && {
 
5095
         test -z "$ac_c_werror_flag" ||
 
5096
         test ! -s conftest.err
 
5097
       } && test -s conftest$ac_exeext &&
 
5098
       $as_test_x conftest$ac_exeext; then
4563
5099
  ac_cv_lib_nsl_gethostbyname=yes
4564
5100
else
4565
5101
  echo "$as_me: failed program was:" >&5
4566
5102
sed 's/^/| /' conftest.$ac_ext >&5
4567
5103
 
4568
 
ac_cv_lib_nsl_gethostbyname=no
 
5104
        ac_cv_lib_nsl_gethostbyname=no
4569
5105
fi
4570
 
rm -f conftest.err conftest.$ac_objext \
 
5106
 
 
5107
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4571
5108
      conftest$ac_exeext conftest.$ac_ext
4572
5109
LIBS=$ac_check_lib_save_LIBS
4573
5110
fi
4574
 
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4575
 
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
 
5111
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
 
5112
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4576
5113
if test $ac_cv_lib_nsl_gethostbyname = yes; then
4577
5114
  LIBS="$LIBS -lnsl"
4578
5115
fi
4588
5125
 
4589
5126
 
4590
5127
 
4591
 
    echo "$as_me:$LINENO: checking dirent.h" >&5
4592
 
echo $ECHO_N "checking dirent.h... $ECHO_C" >&6
 
5128
    { echo "$as_me:$LINENO: checking dirent.h" >&5
 
5129
echo $ECHO_N "checking dirent.h... $ECHO_C" >&6; }
4593
5130
if test "${tcl_cv_dirent_h+set}" = set; then
4594
5131
  echo $ECHO_N "(cached) $ECHO_C" >&6
4595
5132
else
4629
5166
}
4630
5167
_ACEOF
4631
5168
rm -f conftest.$ac_objext conftest$ac_exeext
4632
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4633
 
  (eval $ac_link) 2>conftest.er1
 
5169
if { (ac_try="$ac_link"
 
5170
case "(($ac_try" in
 
5171
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5172
  *) ac_try_echo=$ac_try;;
 
5173
esac
 
5174
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5175
  (eval "$ac_link") 2>conftest.er1
4634
5176
  ac_status=$?
4635
5177
  grep -v '^ *+' conftest.er1 >conftest.err
4636
5178
  rm -f conftest.er1
4637
5179
  cat conftest.err >&5
4638
5180
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4639
 
  (exit $ac_status); } &&
4640
 
         { ac_try='test -z "$ac_c_werror_flag"
4641
 
                         || test ! -s conftest.err'
4642
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4643
 
  (eval $ac_try) 2>&5
4644
 
  ac_status=$?
4645
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4646
 
  (exit $ac_status); }; } &&
4647
 
         { ac_try='test -s conftest$ac_exeext'
4648
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4649
 
  (eval $ac_try) 2>&5
4650
 
  ac_status=$?
4651
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4652
 
  (exit $ac_status); }; }; then
 
5181
  (exit $ac_status); } && {
 
5182
         test -z "$ac_c_werror_flag" ||
 
5183
         test ! -s conftest.err
 
5184
       } && test -s conftest$ac_exeext &&
 
5185
       $as_test_x conftest$ac_exeext; then
4653
5186
  tcl_cv_dirent_h=yes
4654
5187
else
4655
5188
  echo "$as_me: failed program was:" >&5
4656
5189
sed 's/^/| /' conftest.$ac_ext >&5
4657
5190
 
4658
 
tcl_cv_dirent_h=no
 
5191
        tcl_cv_dirent_h=no
4659
5192
fi
4660
 
rm -f conftest.err conftest.$ac_objext \
 
5193
 
 
5194
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4661
5195
      conftest$ac_exeext conftest.$ac_ext
4662
5196
fi
4663
 
echo "$as_me:$LINENO: result: $tcl_cv_dirent_h" >&5
4664
 
echo "${ECHO_T}$tcl_cv_dirent_h" >&6
 
5197
{ echo "$as_me:$LINENO: result: $tcl_cv_dirent_h" >&5
 
5198
echo "${ECHO_T}$tcl_cv_dirent_h" >&6; }
4665
5199
 
4666
5200
    if test $tcl_cv_dirent_h = no; then
4667
5201
 
4672
5206
    fi
4673
5207
 
4674
5208
    if test "${ac_cv_header_errno_h+set}" = set; then
4675
 
  echo "$as_me:$LINENO: checking for errno.h" >&5
4676
 
echo $ECHO_N "checking for errno.h... $ECHO_C" >&6
 
5209
  { echo "$as_me:$LINENO: checking for errno.h" >&5
 
5210
echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; }
4677
5211
if test "${ac_cv_header_errno_h+set}" = set; then
4678
5212
  echo $ECHO_N "(cached) $ECHO_C" >&6
4679
5213
fi
4680
 
echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5
4681
 
echo "${ECHO_T}$ac_cv_header_errno_h" >&6
 
5214
{ echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5
 
5215
echo "${ECHO_T}$ac_cv_header_errno_h" >&6; }
4682
5216
else
4683
5217
  # Is the header compilable?
4684
 
echo "$as_me:$LINENO: checking errno.h usability" >&5
4685
 
echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6
 
5218
{ echo "$as_me:$LINENO: checking errno.h usability" >&5
 
5219
echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6; }
4686
5220
cat >conftest.$ac_ext <<_ACEOF
4687
5221
/* confdefs.h.  */
4688
5222
_ACEOF
4693
5227
#include <errno.h>
4694
5228
_ACEOF
4695
5229
rm -f conftest.$ac_objext
4696
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4697
 
  (eval $ac_compile) 2>conftest.er1
 
5230
if { (ac_try="$ac_compile"
 
5231
case "(($ac_try" in
 
5232
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5233
  *) ac_try_echo=$ac_try;;
 
5234
esac
 
5235
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5236
  (eval "$ac_compile") 2>conftest.er1
4698
5237
  ac_status=$?
4699
5238
  grep -v '^ *+' conftest.er1 >conftest.err
4700
5239
  rm -f conftest.er1
4701
5240
  cat conftest.err >&5
4702
5241
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703
 
  (exit $ac_status); } &&
4704
 
         { ac_try='test -z "$ac_c_werror_flag"
4705
 
                         || test ! -s conftest.err'
4706
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4707
 
  (eval $ac_try) 2>&5
4708
 
  ac_status=$?
4709
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4710
 
  (exit $ac_status); }; } &&
4711
 
         { ac_try='test -s conftest.$ac_objext'
4712
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4713
 
  (eval $ac_try) 2>&5
4714
 
  ac_status=$?
4715
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4716
 
  (exit $ac_status); }; }; then
 
5242
  (exit $ac_status); } && {
 
5243
         test -z "$ac_c_werror_flag" ||
 
5244
         test ! -s conftest.err
 
5245
       } && test -s conftest.$ac_objext; then
4717
5246
  ac_header_compiler=yes
4718
5247
else
4719
5248
  echo "$as_me: failed program was:" >&5
4720
5249
sed 's/^/| /' conftest.$ac_ext >&5
4721
5250
 
4722
 
ac_header_compiler=no
 
5251
        ac_header_compiler=no
4723
5252
fi
4724
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4725
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4726
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
5253
 
 
5254
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5255
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5256
echo "${ECHO_T}$ac_header_compiler" >&6; }
4727
5257
 
4728
5258
# Is the header present?
4729
 
echo "$as_me:$LINENO: checking errno.h presence" >&5
4730
 
echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6
 
5259
{ echo "$as_me:$LINENO: checking errno.h presence" >&5
 
5260
echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6; }
4731
5261
cat >conftest.$ac_ext <<_ACEOF
4732
5262
/* confdefs.h.  */
4733
5263
_ACEOF
4736
5266
/* end confdefs.h.  */
4737
5267
#include <errno.h>
4738
5268
_ACEOF
4739
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4740
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5269
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5270
case "(($ac_try" in
 
5271
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5272
  *) ac_try_echo=$ac_try;;
 
5273
esac
 
5274
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5275
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4741
5276
  ac_status=$?
4742
5277
  grep -v '^ *+' conftest.er1 >conftest.err
4743
5278
  rm -f conftest.er1
4744
5279
  cat conftest.err >&5
4745
5280
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746
 
  (exit $ac_status); } >/dev/null; then
4747
 
  if test -s conftest.err; then
4748
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4749
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4750
 
  else
4751
 
    ac_cpp_err=
4752
 
  fi
4753
 
else
4754
 
  ac_cpp_err=yes
4755
 
fi
4756
 
if test -z "$ac_cpp_err"; then
 
5281
  (exit $ac_status); } >/dev/null && {
 
5282
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5283
         test ! -s conftest.err
 
5284
       }; then
4757
5285
  ac_header_preproc=yes
4758
5286
else
4759
5287
  echo "$as_me: failed program was:" >&5
4761
5289
 
4762
5290
  ac_header_preproc=no
4763
5291
fi
 
5292
 
4764
5293
rm -f conftest.err conftest.$ac_ext
4765
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4766
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
5294
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5295
echo "${ECHO_T}$ac_header_preproc" >&6; }
4767
5296
 
4768
5297
# So?  What about this header?
4769
5298
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4787
5316
echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;}
4788
5317
    { echo "$as_me:$LINENO: WARNING: errno.h: in the future, the compiler will take precedence" >&5
4789
5318
echo "$as_me: WARNING: errno.h: in the future, the compiler will take precedence" >&2;}
4790
 
    (
4791
 
      cat <<\_ASBOX
4792
 
## ---------------------------------- ##
4793
 
## Report this to the TclCurl lists.  ##
4794
 
## ---------------------------------- ##
4795
 
_ASBOX
4796
 
    ) |
4797
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
5319
 
4798
5320
    ;;
4799
5321
esac
4800
 
echo "$as_me:$LINENO: checking for errno.h" >&5
4801
 
echo $ECHO_N "checking for errno.h... $ECHO_C" >&6
 
5322
{ echo "$as_me:$LINENO: checking for errno.h" >&5
 
5323
echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; }
4802
5324
if test "${ac_cv_header_errno_h+set}" = set; then
4803
5325
  echo $ECHO_N "(cached) $ECHO_C" >&6
4804
5326
else
4805
5327
  ac_cv_header_errno_h=$ac_header_preproc
4806
5328
fi
4807
 
echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5
4808
 
echo "${ECHO_T}$ac_cv_header_errno_h" >&6
 
5329
{ echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5
 
5330
echo "${ECHO_T}$ac_cv_header_errno_h" >&6; }
4809
5331
 
4810
5332
fi
4811
5333
if test $ac_cv_header_errno_h = yes; then
4820
5342
 
4821
5343
 
4822
5344
    if test "${ac_cv_header_float_h+set}" = set; then
4823
 
  echo "$as_me:$LINENO: checking for float.h" >&5
4824
 
echo $ECHO_N "checking for float.h... $ECHO_C" >&6
 
5345
  { echo "$as_me:$LINENO: checking for float.h" >&5
 
5346
echo $ECHO_N "checking for float.h... $ECHO_C" >&6; }
4825
5347
if test "${ac_cv_header_float_h+set}" = set; then
4826
5348
  echo $ECHO_N "(cached) $ECHO_C" >&6
4827
5349
fi
4828
 
echo "$as_me:$LINENO: result: $ac_cv_header_float_h" >&5
4829
 
echo "${ECHO_T}$ac_cv_header_float_h" >&6
 
5350
{ echo "$as_me:$LINENO: result: $ac_cv_header_float_h" >&5
 
5351
echo "${ECHO_T}$ac_cv_header_float_h" >&6; }
4830
5352
else
4831
5353
  # Is the header compilable?
4832
 
echo "$as_me:$LINENO: checking float.h usability" >&5
4833
 
echo $ECHO_N "checking float.h usability... $ECHO_C" >&6
 
5354
{ echo "$as_me:$LINENO: checking float.h usability" >&5
 
5355
echo $ECHO_N "checking float.h usability... $ECHO_C" >&6; }
4834
5356
cat >conftest.$ac_ext <<_ACEOF
4835
5357
/* confdefs.h.  */
4836
5358
_ACEOF
4841
5363
#include <float.h>
4842
5364
_ACEOF
4843
5365
rm -f conftest.$ac_objext
4844
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4845
 
  (eval $ac_compile) 2>conftest.er1
 
5366
if { (ac_try="$ac_compile"
 
5367
case "(($ac_try" in
 
5368
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5369
  *) ac_try_echo=$ac_try;;
 
5370
esac
 
5371
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5372
  (eval "$ac_compile") 2>conftest.er1
4846
5373
  ac_status=$?
4847
5374
  grep -v '^ *+' conftest.er1 >conftest.err
4848
5375
  rm -f conftest.er1
4849
5376
  cat conftest.err >&5
4850
5377
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4851
 
  (exit $ac_status); } &&
4852
 
         { ac_try='test -z "$ac_c_werror_flag"
4853
 
                         || test ! -s conftest.err'
4854
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4855
 
  (eval $ac_try) 2>&5
4856
 
  ac_status=$?
4857
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4858
 
  (exit $ac_status); }; } &&
4859
 
         { ac_try='test -s conftest.$ac_objext'
4860
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4861
 
  (eval $ac_try) 2>&5
4862
 
  ac_status=$?
4863
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4864
 
  (exit $ac_status); }; }; then
 
5378
  (exit $ac_status); } && {
 
5379
         test -z "$ac_c_werror_flag" ||
 
5380
         test ! -s conftest.err
 
5381
       } && test -s conftest.$ac_objext; then
4865
5382
  ac_header_compiler=yes
4866
5383
else
4867
5384
  echo "$as_me: failed program was:" >&5
4868
5385
sed 's/^/| /' conftest.$ac_ext >&5
4869
5386
 
4870
 
ac_header_compiler=no
 
5387
        ac_header_compiler=no
4871
5388
fi
4872
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4873
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4874
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
5389
 
 
5390
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5391
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5392
echo "${ECHO_T}$ac_header_compiler" >&6; }
4875
5393
 
4876
5394
# Is the header present?
4877
 
echo "$as_me:$LINENO: checking float.h presence" >&5
4878
 
echo $ECHO_N "checking float.h presence... $ECHO_C" >&6
 
5395
{ echo "$as_me:$LINENO: checking float.h presence" >&5
 
5396
echo $ECHO_N "checking float.h presence... $ECHO_C" >&6; }
4879
5397
cat >conftest.$ac_ext <<_ACEOF
4880
5398
/* confdefs.h.  */
4881
5399
_ACEOF
4884
5402
/* end confdefs.h.  */
4885
5403
#include <float.h>
4886
5404
_ACEOF
4887
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4888
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5405
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5406
case "(($ac_try" in
 
5407
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5408
  *) ac_try_echo=$ac_try;;
 
5409
esac
 
5410
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5411
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4889
5412
  ac_status=$?
4890
5413
  grep -v '^ *+' conftest.er1 >conftest.err
4891
5414
  rm -f conftest.er1
4892
5415
  cat conftest.err >&5
4893
5416
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4894
 
  (exit $ac_status); } >/dev/null; then
4895
 
  if test -s conftest.err; then
4896
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4897
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4898
 
  else
4899
 
    ac_cpp_err=
4900
 
  fi
4901
 
else
4902
 
  ac_cpp_err=yes
4903
 
fi
4904
 
if test -z "$ac_cpp_err"; then
 
5417
  (exit $ac_status); } >/dev/null && {
 
5418
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5419
         test ! -s conftest.err
 
5420
       }; then
4905
5421
  ac_header_preproc=yes
4906
5422
else
4907
5423
  echo "$as_me: failed program was:" >&5
4909
5425
 
4910
5426
  ac_header_preproc=no
4911
5427
fi
 
5428
 
4912
5429
rm -f conftest.err conftest.$ac_ext
4913
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4914
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
5430
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5431
echo "${ECHO_T}$ac_header_preproc" >&6; }
4915
5432
 
4916
5433
# So?  What about this header?
4917
5434
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4935
5452
echo "$as_me: WARNING: float.h: proceeding with the preprocessor's result" >&2;}
4936
5453
    { echo "$as_me:$LINENO: WARNING: float.h: in the future, the compiler will take precedence" >&5
4937
5454
echo "$as_me: WARNING: float.h: in the future, the compiler will take precedence" >&2;}
4938
 
    (
4939
 
      cat <<\_ASBOX
4940
 
## ---------------------------------- ##
4941
 
## Report this to the TclCurl lists.  ##
4942
 
## ---------------------------------- ##
4943
 
_ASBOX
4944
 
    ) |
4945
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
5455
 
4946
5456
    ;;
4947
5457
esac
4948
 
echo "$as_me:$LINENO: checking for float.h" >&5
4949
 
echo $ECHO_N "checking for float.h... $ECHO_C" >&6
 
5458
{ echo "$as_me:$LINENO: checking for float.h" >&5
 
5459
echo $ECHO_N "checking for float.h... $ECHO_C" >&6; }
4950
5460
if test "${ac_cv_header_float_h+set}" = set; then
4951
5461
  echo $ECHO_N "(cached) $ECHO_C" >&6
4952
5462
else
4953
5463
  ac_cv_header_float_h=$ac_header_preproc
4954
5464
fi
4955
 
echo "$as_me:$LINENO: result: $ac_cv_header_float_h" >&5
4956
 
echo "${ECHO_T}$ac_cv_header_float_h" >&6
 
5465
{ echo "$as_me:$LINENO: result: $ac_cv_header_float_h" >&5
 
5466
echo "${ECHO_T}$ac_cv_header_float_h" >&6; }
4957
5467
 
4958
5468
fi
4959
5469
if test $ac_cv_header_float_h = yes; then
4968
5478
 
4969
5479
 
4970
5480
    if test "${ac_cv_header_values_h+set}" = set; then
4971
 
  echo "$as_me:$LINENO: checking for values.h" >&5
4972
 
echo $ECHO_N "checking for values.h... $ECHO_C" >&6
 
5481
  { echo "$as_me:$LINENO: checking for values.h" >&5
 
5482
echo $ECHO_N "checking for values.h... $ECHO_C" >&6; }
4973
5483
if test "${ac_cv_header_values_h+set}" = set; then
4974
5484
  echo $ECHO_N "(cached) $ECHO_C" >&6
4975
5485
fi
4976
 
echo "$as_me:$LINENO: result: $ac_cv_header_values_h" >&5
4977
 
echo "${ECHO_T}$ac_cv_header_values_h" >&6
 
5486
{ echo "$as_me:$LINENO: result: $ac_cv_header_values_h" >&5
 
5487
echo "${ECHO_T}$ac_cv_header_values_h" >&6; }
4978
5488
else
4979
5489
  # Is the header compilable?
4980
 
echo "$as_me:$LINENO: checking values.h usability" >&5
4981
 
echo $ECHO_N "checking values.h usability... $ECHO_C" >&6
 
5490
{ echo "$as_me:$LINENO: checking values.h usability" >&5
 
5491
echo $ECHO_N "checking values.h usability... $ECHO_C" >&6; }
4982
5492
cat >conftest.$ac_ext <<_ACEOF
4983
5493
/* confdefs.h.  */
4984
5494
_ACEOF
4989
5499
#include <values.h>
4990
5500
_ACEOF
4991
5501
rm -f conftest.$ac_objext
4992
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4993
 
  (eval $ac_compile) 2>conftest.er1
 
5502
if { (ac_try="$ac_compile"
 
5503
case "(($ac_try" in
 
5504
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5505
  *) ac_try_echo=$ac_try;;
 
5506
esac
 
5507
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5508
  (eval "$ac_compile") 2>conftest.er1
4994
5509
  ac_status=$?
4995
5510
  grep -v '^ *+' conftest.er1 >conftest.err
4996
5511
  rm -f conftest.er1
4997
5512
  cat conftest.err >&5
4998
5513
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4999
 
  (exit $ac_status); } &&
5000
 
         { ac_try='test -z "$ac_c_werror_flag"
5001
 
                         || test ! -s conftest.err'
5002
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5003
 
  (eval $ac_try) 2>&5
5004
 
  ac_status=$?
5005
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5006
 
  (exit $ac_status); }; } &&
5007
 
         { ac_try='test -s conftest.$ac_objext'
5008
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5009
 
  (eval $ac_try) 2>&5
5010
 
  ac_status=$?
5011
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012
 
  (exit $ac_status); }; }; then
 
5514
  (exit $ac_status); } && {
 
5515
         test -z "$ac_c_werror_flag" ||
 
5516
         test ! -s conftest.err
 
5517
       } && test -s conftest.$ac_objext; then
5013
5518
  ac_header_compiler=yes
5014
5519
else
5015
5520
  echo "$as_me: failed program was:" >&5
5016
5521
sed 's/^/| /' conftest.$ac_ext >&5
5017
5522
 
5018
 
ac_header_compiler=no
 
5523
        ac_header_compiler=no
5019
5524
fi
5020
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5021
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5022
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
5525
 
 
5526
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5527
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5528
echo "${ECHO_T}$ac_header_compiler" >&6; }
5023
5529
 
5024
5530
# Is the header present?
5025
 
echo "$as_me:$LINENO: checking values.h presence" >&5
5026
 
echo $ECHO_N "checking values.h presence... $ECHO_C" >&6
 
5531
{ echo "$as_me:$LINENO: checking values.h presence" >&5
 
5532
echo $ECHO_N "checking values.h presence... $ECHO_C" >&6; }
5027
5533
cat >conftest.$ac_ext <<_ACEOF
5028
5534
/* confdefs.h.  */
5029
5535
_ACEOF
5032
5538
/* end confdefs.h.  */
5033
5539
#include <values.h>
5034
5540
_ACEOF
5035
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5036
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5541
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5542
case "(($ac_try" in
 
5543
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5544
  *) ac_try_echo=$ac_try;;
 
5545
esac
 
5546
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5547
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5037
5548
  ac_status=$?
5038
5549
  grep -v '^ *+' conftest.er1 >conftest.err
5039
5550
  rm -f conftest.er1
5040
5551
  cat conftest.err >&5
5041
5552
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5042
 
  (exit $ac_status); } >/dev/null; then
5043
 
  if test -s conftest.err; then
5044
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5045
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5046
 
  else
5047
 
    ac_cpp_err=
5048
 
  fi
5049
 
else
5050
 
  ac_cpp_err=yes
5051
 
fi
5052
 
if test -z "$ac_cpp_err"; then
 
5553
  (exit $ac_status); } >/dev/null && {
 
5554
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5555
         test ! -s conftest.err
 
5556
       }; then
5053
5557
  ac_header_preproc=yes
5054
5558
else
5055
5559
  echo "$as_me: failed program was:" >&5
5057
5561
 
5058
5562
  ac_header_preproc=no
5059
5563
fi
 
5564
 
5060
5565
rm -f conftest.err conftest.$ac_ext
5061
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5062
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
5566
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5567
echo "${ECHO_T}$ac_header_preproc" >&6; }
5063
5568
 
5064
5569
# So?  What about this header?
5065
5570
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5083
5588
echo "$as_me: WARNING: values.h: proceeding with the preprocessor's result" >&2;}
5084
5589
    { echo "$as_me:$LINENO: WARNING: values.h: in the future, the compiler will take precedence" >&5
5085
5590
echo "$as_me: WARNING: values.h: in the future, the compiler will take precedence" >&2;}
5086
 
    (
5087
 
      cat <<\_ASBOX
5088
 
## ---------------------------------- ##
5089
 
## Report this to the TclCurl lists.  ##
5090
 
## ---------------------------------- ##
5091
 
_ASBOX
5092
 
    ) |
5093
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
5591
 
5094
5592
    ;;
5095
5593
esac
5096
 
echo "$as_me:$LINENO: checking for values.h" >&5
5097
 
echo $ECHO_N "checking for values.h... $ECHO_C" >&6
 
5594
{ echo "$as_me:$LINENO: checking for values.h" >&5
 
5595
echo $ECHO_N "checking for values.h... $ECHO_C" >&6; }
5098
5596
if test "${ac_cv_header_values_h+set}" = set; then
5099
5597
  echo $ECHO_N "(cached) $ECHO_C" >&6
5100
5598
else
5101
5599
  ac_cv_header_values_h=$ac_header_preproc
5102
5600
fi
5103
 
echo "$as_me:$LINENO: result: $ac_cv_header_values_h" >&5
5104
 
echo "${ECHO_T}$ac_cv_header_values_h" >&6
 
5601
{ echo "$as_me:$LINENO: result: $ac_cv_header_values_h" >&5
 
5602
echo "${ECHO_T}$ac_cv_header_values_h" >&6; }
5105
5603
 
5106
5604
fi
5107
5605
if test $ac_cv_header_values_h = yes; then
5116
5614
 
5117
5615
 
5118
5616
    if test "${ac_cv_header_limits_h+set}" = set; then
5119
 
  echo "$as_me:$LINENO: checking for limits.h" >&5
5120
 
echo $ECHO_N "checking for limits.h... $ECHO_C" >&6
 
5617
  { echo "$as_me:$LINENO: checking for limits.h" >&5
 
5618
echo $ECHO_N "checking for limits.h... $ECHO_C" >&6; }
5121
5619
if test "${ac_cv_header_limits_h+set}" = set; then
5122
5620
  echo $ECHO_N "(cached) $ECHO_C" >&6
5123
5621
fi
5124
 
echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5
5125
 
echo "${ECHO_T}$ac_cv_header_limits_h" >&6
 
5622
{ echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5
 
5623
echo "${ECHO_T}$ac_cv_header_limits_h" >&6; }
5126
5624
else
5127
5625
  # Is the header compilable?
5128
 
echo "$as_me:$LINENO: checking limits.h usability" >&5
5129
 
echo $ECHO_N "checking limits.h usability... $ECHO_C" >&6
 
5626
{ echo "$as_me:$LINENO: checking limits.h usability" >&5
 
5627
echo $ECHO_N "checking limits.h usability... $ECHO_C" >&6; }
5130
5628
cat >conftest.$ac_ext <<_ACEOF
5131
5629
/* confdefs.h.  */
5132
5630
_ACEOF
5137
5635
#include <limits.h>
5138
5636
_ACEOF
5139
5637
rm -f conftest.$ac_objext
5140
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5141
 
  (eval $ac_compile) 2>conftest.er1
 
5638
if { (ac_try="$ac_compile"
 
5639
case "(($ac_try" in
 
5640
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5641
  *) ac_try_echo=$ac_try;;
 
5642
esac
 
5643
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5644
  (eval "$ac_compile") 2>conftest.er1
5142
5645
  ac_status=$?
5143
5646
  grep -v '^ *+' conftest.er1 >conftest.err
5144
5647
  rm -f conftest.er1
5145
5648
  cat conftest.err >&5
5146
5649
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5147
 
  (exit $ac_status); } &&
5148
 
         { ac_try='test -z "$ac_c_werror_flag"
5149
 
                         || test ! -s conftest.err'
5150
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5151
 
  (eval $ac_try) 2>&5
5152
 
  ac_status=$?
5153
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5154
 
  (exit $ac_status); }; } &&
5155
 
         { ac_try='test -s conftest.$ac_objext'
5156
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5157
 
  (eval $ac_try) 2>&5
5158
 
  ac_status=$?
5159
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160
 
  (exit $ac_status); }; }; then
 
5650
  (exit $ac_status); } && {
 
5651
         test -z "$ac_c_werror_flag" ||
 
5652
         test ! -s conftest.err
 
5653
       } && test -s conftest.$ac_objext; then
5161
5654
  ac_header_compiler=yes
5162
5655
else
5163
5656
  echo "$as_me: failed program was:" >&5
5164
5657
sed 's/^/| /' conftest.$ac_ext >&5
5165
5658
 
5166
 
ac_header_compiler=no
 
5659
        ac_header_compiler=no
5167
5660
fi
5168
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5169
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5170
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
5661
 
 
5662
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5663
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5664
echo "${ECHO_T}$ac_header_compiler" >&6; }
5171
5665
 
5172
5666
# Is the header present?
5173
 
echo "$as_me:$LINENO: checking limits.h presence" >&5
5174
 
echo $ECHO_N "checking limits.h presence... $ECHO_C" >&6
 
5667
{ echo "$as_me:$LINENO: checking limits.h presence" >&5
 
5668
echo $ECHO_N "checking limits.h presence... $ECHO_C" >&6; }
5175
5669
cat >conftest.$ac_ext <<_ACEOF
5176
5670
/* confdefs.h.  */
5177
5671
_ACEOF
5180
5674
/* end confdefs.h.  */
5181
5675
#include <limits.h>
5182
5676
_ACEOF
5183
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5184
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5677
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5678
case "(($ac_try" in
 
5679
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5680
  *) ac_try_echo=$ac_try;;
 
5681
esac
 
5682
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5683
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5185
5684
  ac_status=$?
5186
5685
  grep -v '^ *+' conftest.er1 >conftest.err
5187
5686
  rm -f conftest.er1
5188
5687
  cat conftest.err >&5
5189
5688
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5190
 
  (exit $ac_status); } >/dev/null; then
5191
 
  if test -s conftest.err; then
5192
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5193
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5194
 
  else
5195
 
    ac_cpp_err=
5196
 
  fi
5197
 
else
5198
 
  ac_cpp_err=yes
5199
 
fi
5200
 
if test -z "$ac_cpp_err"; then
 
5689
  (exit $ac_status); } >/dev/null && {
 
5690
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5691
         test ! -s conftest.err
 
5692
       }; then
5201
5693
  ac_header_preproc=yes
5202
5694
else
5203
5695
  echo "$as_me: failed program was:" >&5
5205
5697
 
5206
5698
  ac_header_preproc=no
5207
5699
fi
 
5700
 
5208
5701
rm -f conftest.err conftest.$ac_ext
5209
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5210
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
5702
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5703
echo "${ECHO_T}$ac_header_preproc" >&6; }
5211
5704
 
5212
5705
# So?  What about this header?
5213
5706
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5231
5724
echo "$as_me: WARNING: limits.h: proceeding with the preprocessor's result" >&2;}
5232
5725
    { echo "$as_me:$LINENO: WARNING: limits.h: in the future, the compiler will take precedence" >&5
5233
5726
echo "$as_me: WARNING: limits.h: in the future, the compiler will take precedence" >&2;}
5234
 
    (
5235
 
      cat <<\_ASBOX
5236
 
## ---------------------------------- ##
5237
 
## Report this to the TclCurl lists.  ##
5238
 
## ---------------------------------- ##
5239
 
_ASBOX
5240
 
    ) |
5241
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
5727
 
5242
5728
    ;;
5243
5729
esac
5244
 
echo "$as_me:$LINENO: checking for limits.h" >&5
5245
 
echo $ECHO_N "checking for limits.h... $ECHO_C" >&6
 
5730
{ echo "$as_me:$LINENO: checking for limits.h" >&5
 
5731
echo $ECHO_N "checking for limits.h... $ECHO_C" >&6; }
5246
5732
if test "${ac_cv_header_limits_h+set}" = set; then
5247
5733
  echo $ECHO_N "(cached) $ECHO_C" >&6
5248
5734
else
5249
5735
  ac_cv_header_limits_h=$ac_header_preproc
5250
5736
fi
5251
 
echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5
5252
 
echo "${ECHO_T}$ac_cv_header_limits_h" >&6
 
5737
{ echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5
 
5738
echo "${ECHO_T}$ac_cv_header_limits_h" >&6; }
5253
5739
 
5254
5740
fi
5255
5741
if test $ac_cv_header_limits_h = yes; then
5268
5754
 
5269
5755
 
5270
5756
    if test "${ac_cv_header_stdlib_h+set}" = set; then
5271
 
  echo "$as_me:$LINENO: checking for stdlib.h" >&5
5272
 
echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6
 
5757
  { echo "$as_me:$LINENO: checking for stdlib.h" >&5
 
5758
echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; }
5273
5759
if test "${ac_cv_header_stdlib_h+set}" = set; then
5274
5760
  echo $ECHO_N "(cached) $ECHO_C" >&6
5275
5761
fi
5276
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5
5277
 
echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6
 
5762
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5
 
5763
echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; }
5278
5764
else
5279
5765
  # Is the header compilable?
5280
 
echo "$as_me:$LINENO: checking stdlib.h usability" >&5
5281
 
echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6
 
5766
{ echo "$as_me:$LINENO: checking stdlib.h usability" >&5
 
5767
echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6; }
5282
5768
cat >conftest.$ac_ext <<_ACEOF
5283
5769
/* confdefs.h.  */
5284
5770
_ACEOF
5289
5775
#include <stdlib.h>
5290
5776
_ACEOF
5291
5777
rm -f conftest.$ac_objext
5292
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5293
 
  (eval $ac_compile) 2>conftest.er1
 
5778
if { (ac_try="$ac_compile"
 
5779
case "(($ac_try" in
 
5780
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5781
  *) ac_try_echo=$ac_try;;
 
5782
esac
 
5783
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5784
  (eval "$ac_compile") 2>conftest.er1
5294
5785
  ac_status=$?
5295
5786
  grep -v '^ *+' conftest.er1 >conftest.err
5296
5787
  rm -f conftest.er1
5297
5788
  cat conftest.err >&5
5298
5789
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5299
 
  (exit $ac_status); } &&
5300
 
         { ac_try='test -z "$ac_c_werror_flag"
5301
 
                         || test ! -s conftest.err'
5302
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5303
 
  (eval $ac_try) 2>&5
5304
 
  ac_status=$?
5305
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5306
 
  (exit $ac_status); }; } &&
5307
 
         { ac_try='test -s conftest.$ac_objext'
5308
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5309
 
  (eval $ac_try) 2>&5
5310
 
  ac_status=$?
5311
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5312
 
  (exit $ac_status); }; }; then
 
5790
  (exit $ac_status); } && {
 
5791
         test -z "$ac_c_werror_flag" ||
 
5792
         test ! -s conftest.err
 
5793
       } && test -s conftest.$ac_objext; then
5313
5794
  ac_header_compiler=yes
5314
5795
else
5315
5796
  echo "$as_me: failed program was:" >&5
5316
5797
sed 's/^/| /' conftest.$ac_ext >&5
5317
5798
 
5318
 
ac_header_compiler=no
 
5799
        ac_header_compiler=no
5319
5800
fi
5320
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5321
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5322
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
5801
 
 
5802
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5803
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5804
echo "${ECHO_T}$ac_header_compiler" >&6; }
5323
5805
 
5324
5806
# Is the header present?
5325
 
echo "$as_me:$LINENO: checking stdlib.h presence" >&5
5326
 
echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6
 
5807
{ echo "$as_me:$LINENO: checking stdlib.h presence" >&5
 
5808
echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6; }
5327
5809
cat >conftest.$ac_ext <<_ACEOF
5328
5810
/* confdefs.h.  */
5329
5811
_ACEOF
5332
5814
/* end confdefs.h.  */
5333
5815
#include <stdlib.h>
5334
5816
_ACEOF
5335
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5336
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5817
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5818
case "(($ac_try" in
 
5819
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5820
  *) ac_try_echo=$ac_try;;
 
5821
esac
 
5822
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5823
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5337
5824
  ac_status=$?
5338
5825
  grep -v '^ *+' conftest.er1 >conftest.err
5339
5826
  rm -f conftest.er1
5340
5827
  cat conftest.err >&5
5341
5828
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5342
 
  (exit $ac_status); } >/dev/null; then
5343
 
  if test -s conftest.err; then
5344
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5345
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5346
 
  else
5347
 
    ac_cpp_err=
5348
 
  fi
5349
 
else
5350
 
  ac_cpp_err=yes
5351
 
fi
5352
 
if test -z "$ac_cpp_err"; then
 
5829
  (exit $ac_status); } >/dev/null && {
 
5830
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5831
         test ! -s conftest.err
 
5832
       }; then
5353
5833
  ac_header_preproc=yes
5354
5834
else
5355
5835
  echo "$as_me: failed program was:" >&5
5357
5837
 
5358
5838
  ac_header_preproc=no
5359
5839
fi
 
5840
 
5360
5841
rm -f conftest.err conftest.$ac_ext
5361
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5362
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
5842
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5843
echo "${ECHO_T}$ac_header_preproc" >&6; }
5363
5844
 
5364
5845
# So?  What about this header?
5365
5846
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5383
5864
echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;}
5384
5865
    { echo "$as_me:$LINENO: WARNING: stdlib.h: in the future, the compiler will take precedence" >&5
5385
5866
echo "$as_me: WARNING: stdlib.h: in the future, the compiler will take precedence" >&2;}
5386
 
    (
5387
 
      cat <<\_ASBOX
5388
 
## ---------------------------------- ##
5389
 
## Report this to the TclCurl lists.  ##
5390
 
## ---------------------------------- ##
5391
 
_ASBOX
5392
 
    ) |
5393
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
5867
 
5394
5868
    ;;
5395
5869
esac
5396
 
echo "$as_me:$LINENO: checking for stdlib.h" >&5
5397
 
echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6
 
5870
{ echo "$as_me:$LINENO: checking for stdlib.h" >&5
 
5871
echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; }
5398
5872
if test "${ac_cv_header_stdlib_h+set}" = set; then
5399
5873
  echo $ECHO_N "(cached) $ECHO_C" >&6
5400
5874
else
5401
5875
  ac_cv_header_stdlib_h=$ac_header_preproc
5402
5876
fi
5403
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5
5404
 
echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6
 
5877
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5
 
5878
echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; }
5405
5879
 
5406
5880
fi
5407
5881
if test $ac_cv_header_stdlib_h = yes; then
5470
5944
 
5471
5945
    fi
5472
5946
    if test "${ac_cv_header_string_h+set}" = set; then
5473
 
  echo "$as_me:$LINENO: checking for string.h" >&5
5474
 
echo $ECHO_N "checking for string.h... $ECHO_C" >&6
 
5947
  { echo "$as_me:$LINENO: checking for string.h" >&5
 
5948
echo $ECHO_N "checking for string.h... $ECHO_C" >&6; }
5475
5949
if test "${ac_cv_header_string_h+set}" = set; then
5476
5950
  echo $ECHO_N "(cached) $ECHO_C" >&6
5477
5951
fi
5478
 
echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5
5479
 
echo "${ECHO_T}$ac_cv_header_string_h" >&6
 
5952
{ echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5
 
5953
echo "${ECHO_T}$ac_cv_header_string_h" >&6; }
5480
5954
else
5481
5955
  # Is the header compilable?
5482
 
echo "$as_me:$LINENO: checking string.h usability" >&5
5483
 
echo $ECHO_N "checking string.h usability... $ECHO_C" >&6
 
5956
{ echo "$as_me:$LINENO: checking string.h usability" >&5
 
5957
echo $ECHO_N "checking string.h usability... $ECHO_C" >&6; }
5484
5958
cat >conftest.$ac_ext <<_ACEOF
5485
5959
/* confdefs.h.  */
5486
5960
_ACEOF
5491
5965
#include <string.h>
5492
5966
_ACEOF
5493
5967
rm -f conftest.$ac_objext
5494
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5495
 
  (eval $ac_compile) 2>conftest.er1
 
5968
if { (ac_try="$ac_compile"
 
5969
case "(($ac_try" in
 
5970
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5971
  *) ac_try_echo=$ac_try;;
 
5972
esac
 
5973
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5974
  (eval "$ac_compile") 2>conftest.er1
5496
5975
  ac_status=$?
5497
5976
  grep -v '^ *+' conftest.er1 >conftest.err
5498
5977
  rm -f conftest.er1
5499
5978
  cat conftest.err >&5
5500
5979
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5501
 
  (exit $ac_status); } &&
5502
 
         { ac_try='test -z "$ac_c_werror_flag"
5503
 
                         || test ! -s conftest.err'
5504
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5505
 
  (eval $ac_try) 2>&5
5506
 
  ac_status=$?
5507
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5508
 
  (exit $ac_status); }; } &&
5509
 
         { ac_try='test -s conftest.$ac_objext'
5510
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5511
 
  (eval $ac_try) 2>&5
5512
 
  ac_status=$?
5513
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514
 
  (exit $ac_status); }; }; then
 
5980
  (exit $ac_status); } && {
 
5981
         test -z "$ac_c_werror_flag" ||
 
5982
         test ! -s conftest.err
 
5983
       } && test -s conftest.$ac_objext; then
5515
5984
  ac_header_compiler=yes
5516
5985
else
5517
5986
  echo "$as_me: failed program was:" >&5
5518
5987
sed 's/^/| /' conftest.$ac_ext >&5
5519
5988
 
5520
 
ac_header_compiler=no
 
5989
        ac_header_compiler=no
5521
5990
fi
5522
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5523
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5524
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
5991
 
 
5992
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5993
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5994
echo "${ECHO_T}$ac_header_compiler" >&6; }
5525
5995
 
5526
5996
# Is the header present?
5527
 
echo "$as_me:$LINENO: checking string.h presence" >&5
5528
 
echo $ECHO_N "checking string.h presence... $ECHO_C" >&6
 
5997
{ echo "$as_me:$LINENO: checking string.h presence" >&5
 
5998
echo $ECHO_N "checking string.h presence... $ECHO_C" >&6; }
5529
5999
cat >conftest.$ac_ext <<_ACEOF
5530
6000
/* confdefs.h.  */
5531
6001
_ACEOF
5534
6004
/* end confdefs.h.  */
5535
6005
#include <string.h>
5536
6006
_ACEOF
5537
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5538
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6007
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6008
case "(($ac_try" in
 
6009
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6010
  *) ac_try_echo=$ac_try;;
 
6011
esac
 
6012
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6013
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5539
6014
  ac_status=$?
5540
6015
  grep -v '^ *+' conftest.er1 >conftest.err
5541
6016
  rm -f conftest.er1
5542
6017
  cat conftest.err >&5
5543
6018
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544
 
  (exit $ac_status); } >/dev/null; then
5545
 
  if test -s conftest.err; then
5546
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5547
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5548
 
  else
5549
 
    ac_cpp_err=
5550
 
  fi
5551
 
else
5552
 
  ac_cpp_err=yes
5553
 
fi
5554
 
if test -z "$ac_cpp_err"; then
 
6019
  (exit $ac_status); } >/dev/null && {
 
6020
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6021
         test ! -s conftest.err
 
6022
       }; then
5555
6023
  ac_header_preproc=yes
5556
6024
else
5557
6025
  echo "$as_me: failed program was:" >&5
5559
6027
 
5560
6028
  ac_header_preproc=no
5561
6029
fi
 
6030
 
5562
6031
rm -f conftest.err conftest.$ac_ext
5563
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5564
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
6032
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
6033
echo "${ECHO_T}$ac_header_preproc" >&6; }
5565
6034
 
5566
6035
# So?  What about this header?
5567
6036
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5585
6054
echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;}
5586
6055
    { echo "$as_me:$LINENO: WARNING: string.h: in the future, the compiler will take precedence" >&5
5587
6056
echo "$as_me: WARNING: string.h: in the future, the compiler will take precedence" >&2;}
5588
 
    (
5589
 
      cat <<\_ASBOX
5590
 
## ---------------------------------- ##
5591
 
## Report this to the TclCurl lists.  ##
5592
 
## ---------------------------------- ##
5593
 
_ASBOX
5594
 
    ) |
5595
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
6057
 
5596
6058
    ;;
5597
6059
esac
5598
 
echo "$as_me:$LINENO: checking for string.h" >&5
5599
 
echo $ECHO_N "checking for string.h... $ECHO_C" >&6
 
6060
{ echo "$as_me:$LINENO: checking for string.h" >&5
 
6061
echo $ECHO_N "checking for string.h... $ECHO_C" >&6; }
5600
6062
if test "${ac_cv_header_string_h+set}" = set; then
5601
6063
  echo $ECHO_N "(cached) $ECHO_C" >&6
5602
6064
else
5603
6065
  ac_cv_header_string_h=$ac_header_preproc
5604
6066
fi
5605
 
echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5
5606
 
echo "${ECHO_T}$ac_cv_header_string_h" >&6
 
6067
{ echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5
 
6068
echo "${ECHO_T}$ac_cv_header_string_h" >&6; }
5607
6069
 
5608
6070
fi
5609
6071
if test $ac_cv_header_string_h = yes; then
5660
6122
    fi
5661
6123
 
5662
6124
    if test "${ac_cv_header_sys_wait_h+set}" = set; then
5663
 
  echo "$as_me:$LINENO: checking for sys/wait.h" >&5
5664
 
echo $ECHO_N "checking for sys/wait.h... $ECHO_C" >&6
 
6125
  { echo "$as_me:$LINENO: checking for sys/wait.h" >&5
 
6126
echo $ECHO_N "checking for sys/wait.h... $ECHO_C" >&6; }
5665
6127
if test "${ac_cv_header_sys_wait_h+set}" = set; then
5666
6128
  echo $ECHO_N "(cached) $ECHO_C" >&6
5667
6129
fi
5668
 
echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5669
 
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
 
6130
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
 
6131
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
5670
6132
else
5671
6133
  # Is the header compilable?
5672
 
echo "$as_me:$LINENO: checking sys/wait.h usability" >&5
5673
 
echo $ECHO_N "checking sys/wait.h usability... $ECHO_C" >&6
 
6134
{ echo "$as_me:$LINENO: checking sys/wait.h usability" >&5
 
6135
echo $ECHO_N "checking sys/wait.h usability... $ECHO_C" >&6; }
5674
6136
cat >conftest.$ac_ext <<_ACEOF
5675
6137
/* confdefs.h.  */
5676
6138
_ACEOF
5681
6143
#include <sys/wait.h>
5682
6144
_ACEOF
5683
6145
rm -f conftest.$ac_objext
5684
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5685
 
  (eval $ac_compile) 2>conftest.er1
 
6146
if { (ac_try="$ac_compile"
 
6147
case "(($ac_try" in
 
6148
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6149
  *) ac_try_echo=$ac_try;;
 
6150
esac
 
6151
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6152
  (eval "$ac_compile") 2>conftest.er1
5686
6153
  ac_status=$?
5687
6154
  grep -v '^ *+' conftest.er1 >conftest.err
5688
6155
  rm -f conftest.er1
5689
6156
  cat conftest.err >&5
5690
6157
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5691
 
  (exit $ac_status); } &&
5692
 
         { ac_try='test -z "$ac_c_werror_flag"
5693
 
                         || test ! -s conftest.err'
5694
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5695
 
  (eval $ac_try) 2>&5
5696
 
  ac_status=$?
5697
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5698
 
  (exit $ac_status); }; } &&
5699
 
         { ac_try='test -s conftest.$ac_objext'
5700
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5701
 
  (eval $ac_try) 2>&5
5702
 
  ac_status=$?
5703
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5704
 
  (exit $ac_status); }; }; then
 
6158
  (exit $ac_status); } && {
 
6159
         test -z "$ac_c_werror_flag" ||
 
6160
         test ! -s conftest.err
 
6161
       } && test -s conftest.$ac_objext; then
5705
6162
  ac_header_compiler=yes
5706
6163
else
5707
6164
  echo "$as_me: failed program was:" >&5
5708
6165
sed 's/^/| /' conftest.$ac_ext >&5
5709
6166
 
5710
 
ac_header_compiler=no
 
6167
        ac_header_compiler=no
5711
6168
fi
5712
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5713
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5714
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
6169
 
 
6170
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6171
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
6172
echo "${ECHO_T}$ac_header_compiler" >&6; }
5715
6173
 
5716
6174
# Is the header present?
5717
 
echo "$as_me:$LINENO: checking sys/wait.h presence" >&5
5718
 
echo $ECHO_N "checking sys/wait.h presence... $ECHO_C" >&6
 
6175
{ echo "$as_me:$LINENO: checking sys/wait.h presence" >&5
 
6176
echo $ECHO_N "checking sys/wait.h presence... $ECHO_C" >&6; }
5719
6177
cat >conftest.$ac_ext <<_ACEOF
5720
6178
/* confdefs.h.  */
5721
6179
_ACEOF
5724
6182
/* end confdefs.h.  */
5725
6183
#include <sys/wait.h>
5726
6184
_ACEOF
5727
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5728
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6185
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6186
case "(($ac_try" in
 
6187
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6188
  *) ac_try_echo=$ac_try;;
 
6189
esac
 
6190
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6191
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5729
6192
  ac_status=$?
5730
6193
  grep -v '^ *+' conftest.er1 >conftest.err
5731
6194
  rm -f conftest.er1
5732
6195
  cat conftest.err >&5
5733
6196
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5734
 
  (exit $ac_status); } >/dev/null; then
5735
 
  if test -s conftest.err; then
5736
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5737
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5738
 
  else
5739
 
    ac_cpp_err=
5740
 
  fi
5741
 
else
5742
 
  ac_cpp_err=yes
5743
 
fi
5744
 
if test -z "$ac_cpp_err"; then
 
6197
  (exit $ac_status); } >/dev/null && {
 
6198
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6199
         test ! -s conftest.err
 
6200
       }; then
5745
6201
  ac_header_preproc=yes
5746
6202
else
5747
6203
  echo "$as_me: failed program was:" >&5
5749
6205
 
5750
6206
  ac_header_preproc=no
5751
6207
fi
 
6208
 
5752
6209
rm -f conftest.err conftest.$ac_ext
5753
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5754
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
6210
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
6211
echo "${ECHO_T}$ac_header_preproc" >&6; }
5755
6212
 
5756
6213
# So?  What about this header?
5757
6214
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5775
6232
echo "$as_me: WARNING: sys/wait.h: proceeding with the preprocessor's result" >&2;}
5776
6233
    { echo "$as_me:$LINENO: WARNING: sys/wait.h: in the future, the compiler will take precedence" >&5
5777
6234
echo "$as_me: WARNING: sys/wait.h: in the future, the compiler will take precedence" >&2;}
5778
 
    (
5779
 
      cat <<\_ASBOX
5780
 
## ---------------------------------- ##
5781
 
## Report this to the TclCurl lists.  ##
5782
 
## ---------------------------------- ##
5783
 
_ASBOX
5784
 
    ) |
5785
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
6235
 
5786
6236
    ;;
5787
6237
esac
5788
 
echo "$as_me:$LINENO: checking for sys/wait.h" >&5
5789
 
echo $ECHO_N "checking for sys/wait.h... $ECHO_C" >&6
 
6238
{ echo "$as_me:$LINENO: checking for sys/wait.h" >&5
 
6239
echo $ECHO_N "checking for sys/wait.h... $ECHO_C" >&6; }
5790
6240
if test "${ac_cv_header_sys_wait_h+set}" = set; then
5791
6241
  echo $ECHO_N "(cached) $ECHO_C" >&6
5792
6242
else
5793
6243
  ac_cv_header_sys_wait_h=$ac_header_preproc
5794
6244
fi
5795
 
echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5796
 
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
 
6245
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
 
6246
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
5797
6247
 
5798
6248
fi
5799
6249
if test $ac_cv_header_sys_wait_h = yes; then
5808
6258
 
5809
6259
 
5810
6260
    if test "${ac_cv_header_dlfcn_h+set}" = set; then
5811
 
  echo "$as_me:$LINENO: checking for dlfcn.h" >&5
5812
 
echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6
 
6261
  { echo "$as_me:$LINENO: checking for dlfcn.h" >&5
 
6262
echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; }
5813
6263
if test "${ac_cv_header_dlfcn_h+set}" = set; then
5814
6264
  echo $ECHO_N "(cached) $ECHO_C" >&6
5815
6265
fi
5816
 
echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
5817
 
echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6
 
6266
{ echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
 
6267
echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; }
5818
6268
else
5819
6269
  # Is the header compilable?
5820
 
echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
5821
 
echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6
 
6270
{ echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
 
6271
echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6; }
5822
6272
cat >conftest.$ac_ext <<_ACEOF
5823
6273
/* confdefs.h.  */
5824
6274
_ACEOF
5829
6279
#include <dlfcn.h>
5830
6280
_ACEOF
5831
6281
rm -f conftest.$ac_objext
5832
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5833
 
  (eval $ac_compile) 2>conftest.er1
 
6282
if { (ac_try="$ac_compile"
 
6283
case "(($ac_try" in
 
6284
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6285
  *) ac_try_echo=$ac_try;;
 
6286
esac
 
6287
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6288
  (eval "$ac_compile") 2>conftest.er1
5834
6289
  ac_status=$?
5835
6290
  grep -v '^ *+' conftest.er1 >conftest.err
5836
6291
  rm -f conftest.er1
5837
6292
  cat conftest.err >&5
5838
6293
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5839
 
  (exit $ac_status); } &&
5840
 
         { ac_try='test -z "$ac_c_werror_flag"
5841
 
                         || test ! -s conftest.err'
5842
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5843
 
  (eval $ac_try) 2>&5
5844
 
  ac_status=$?
5845
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5846
 
  (exit $ac_status); }; } &&
5847
 
         { ac_try='test -s conftest.$ac_objext'
5848
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5849
 
  (eval $ac_try) 2>&5
5850
 
  ac_status=$?
5851
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5852
 
  (exit $ac_status); }; }; then
 
6294
  (exit $ac_status); } && {
 
6295
         test -z "$ac_c_werror_flag" ||
 
6296
         test ! -s conftest.err
 
6297
       } && test -s conftest.$ac_objext; then
5853
6298
  ac_header_compiler=yes
5854
6299
else
5855
6300
  echo "$as_me: failed program was:" >&5
5856
6301
sed 's/^/| /' conftest.$ac_ext >&5
5857
6302
 
5858
 
ac_header_compiler=no
 
6303
        ac_header_compiler=no
5859
6304
fi
5860
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5861
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5862
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
6305
 
 
6306
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6307
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
6308
echo "${ECHO_T}$ac_header_compiler" >&6; }
5863
6309
 
5864
6310
# Is the header present?
5865
 
echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
5866
 
echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6
 
6311
{ echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
 
6312
echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6; }
5867
6313
cat >conftest.$ac_ext <<_ACEOF
5868
6314
/* confdefs.h.  */
5869
6315
_ACEOF
5872
6318
/* end confdefs.h.  */
5873
6319
#include <dlfcn.h>
5874
6320
_ACEOF
5875
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5876
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6321
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6322
case "(($ac_try" in
 
6323
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6324
  *) ac_try_echo=$ac_try;;
 
6325
esac
 
6326
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6327
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5877
6328
  ac_status=$?
5878
6329
  grep -v '^ *+' conftest.er1 >conftest.err
5879
6330
  rm -f conftest.er1
5880
6331
  cat conftest.err >&5
5881
6332
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5882
 
  (exit $ac_status); } >/dev/null; then
5883
 
  if test -s conftest.err; then
5884
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5885
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5886
 
  else
5887
 
    ac_cpp_err=
5888
 
  fi
5889
 
else
5890
 
  ac_cpp_err=yes
5891
 
fi
5892
 
if test -z "$ac_cpp_err"; then
 
6333
  (exit $ac_status); } >/dev/null && {
 
6334
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6335
         test ! -s conftest.err
 
6336
       }; then
5893
6337
  ac_header_preproc=yes
5894
6338
else
5895
6339
  echo "$as_me: failed program was:" >&5
5897
6341
 
5898
6342
  ac_header_preproc=no
5899
6343
fi
 
6344
 
5900
6345
rm -f conftest.err conftest.$ac_ext
5901
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5902
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
6346
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
6347
echo "${ECHO_T}$ac_header_preproc" >&6; }
5903
6348
 
5904
6349
# So?  What about this header?
5905
6350
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5923
6368
echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
5924
6369
    { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
5925
6370
echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
5926
 
    (
5927
 
      cat <<\_ASBOX
5928
 
## ---------------------------------- ##
5929
 
## Report this to the TclCurl lists.  ##
5930
 
## ---------------------------------- ##
5931
 
_ASBOX
5932
 
    ) |
5933
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
6371
 
5934
6372
    ;;
5935
6373
esac
5936
 
echo "$as_me:$LINENO: checking for dlfcn.h" >&5
5937
 
echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6
 
6374
{ echo "$as_me:$LINENO: checking for dlfcn.h" >&5
 
6375
echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; }
5938
6376
if test "${ac_cv_header_dlfcn_h+set}" = set; then
5939
6377
  echo $ECHO_N "(cached) $ECHO_C" >&6
5940
6378
else
5941
6379
  ac_cv_header_dlfcn_h=$ac_header_preproc
5942
6380
fi
5943
 
echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
5944
 
echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6
 
6381
{ echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
 
6382
echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; }
5945
6383
 
5946
6384
fi
5947
6385
if test $ac_cv_header_dlfcn_h = yes; then
5961
6399
for ac_header in sys/param.h
5962
6400
do
5963
6401
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5964
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5965
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
5966
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5967
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
6402
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
6403
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6404
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
6405
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5968
6406
  echo $ECHO_N "(cached) $ECHO_C" >&6
5969
6407
fi
5970
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5971
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
6408
ac_res=`eval echo '${'$as_ac_Header'}'`
 
6409
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
6410
echo "${ECHO_T}$ac_res" >&6; }
5972
6411
else
5973
6412
  # Is the header compilable?
5974
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5975
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
6413
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
6414
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5976
6415
cat >conftest.$ac_ext <<_ACEOF
5977
6416
/* confdefs.h.  */
5978
6417
_ACEOF
5983
6422
#include <$ac_header>
5984
6423
_ACEOF
5985
6424
rm -f conftest.$ac_objext
5986
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5987
 
  (eval $ac_compile) 2>conftest.er1
 
6425
if { (ac_try="$ac_compile"
 
6426
case "(($ac_try" in
 
6427
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6428
  *) ac_try_echo=$ac_try;;
 
6429
esac
 
6430
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6431
  (eval "$ac_compile") 2>conftest.er1
5988
6432
  ac_status=$?
5989
6433
  grep -v '^ *+' conftest.er1 >conftest.err
5990
6434
  rm -f conftest.er1
5991
6435
  cat conftest.err >&5
5992
6436
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5993
 
  (exit $ac_status); } &&
5994
 
         { ac_try='test -z "$ac_c_werror_flag"
5995
 
                         || test ! -s conftest.err'
5996
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5997
 
  (eval $ac_try) 2>&5
5998
 
  ac_status=$?
5999
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6000
 
  (exit $ac_status); }; } &&
6001
 
         { ac_try='test -s conftest.$ac_objext'
6002
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6003
 
  (eval $ac_try) 2>&5
6004
 
  ac_status=$?
6005
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6006
 
  (exit $ac_status); }; }; then
 
6437
  (exit $ac_status); } && {
 
6438
         test -z "$ac_c_werror_flag" ||
 
6439
         test ! -s conftest.err
 
6440
       } && test -s conftest.$ac_objext; then
6007
6441
  ac_header_compiler=yes
6008
6442
else
6009
6443
  echo "$as_me: failed program was:" >&5
6010
6444
sed 's/^/| /' conftest.$ac_ext >&5
6011
6445
 
6012
 
ac_header_compiler=no
 
6446
        ac_header_compiler=no
6013
6447
fi
6014
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6015
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6016
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
6448
 
 
6449
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6450
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
6451
echo "${ECHO_T}$ac_header_compiler" >&6; }
6017
6452
 
6018
6453
# Is the header present?
6019
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
6020
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
6454
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
6455
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6021
6456
cat >conftest.$ac_ext <<_ACEOF
6022
6457
/* confdefs.h.  */
6023
6458
_ACEOF
6026
6461
/* end confdefs.h.  */
6027
6462
#include <$ac_header>
6028
6463
_ACEOF
6029
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6030
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6464
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6465
case "(($ac_try" in
 
6466
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6467
  *) ac_try_echo=$ac_try;;
 
6468
esac
 
6469
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6470
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6031
6471
  ac_status=$?
6032
6472
  grep -v '^ *+' conftest.er1 >conftest.err
6033
6473
  rm -f conftest.er1
6034
6474
  cat conftest.err >&5
6035
6475
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6036
 
  (exit $ac_status); } >/dev/null; then
6037
 
  if test -s conftest.err; then
6038
 
    ac_cpp_err=$ac_c_preproc_warn_flag
6039
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6040
 
  else
6041
 
    ac_cpp_err=
6042
 
  fi
6043
 
else
6044
 
  ac_cpp_err=yes
6045
 
fi
6046
 
if test -z "$ac_cpp_err"; then
 
6476
  (exit $ac_status); } >/dev/null && {
 
6477
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6478
         test ! -s conftest.err
 
6479
       }; then
6047
6480
  ac_header_preproc=yes
6048
6481
else
6049
6482
  echo "$as_me: failed program was:" >&5
6051
6484
 
6052
6485
  ac_header_preproc=no
6053
6486
fi
 
6487
 
6054
6488
rm -f conftest.err conftest.$ac_ext
6055
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6056
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
6489
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
6490
echo "${ECHO_T}$ac_header_preproc" >&6; }
6057
6491
 
6058
6492
# So?  What about this header?
6059
6493
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6077
6511
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6078
6512
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6079
6513
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6080
 
    (
6081
 
      cat <<\_ASBOX
6082
 
## ---------------------------------- ##
6083
 
## Report this to the TclCurl lists.  ##
6084
 
## ---------------------------------- ##
6085
 
_ASBOX
6086
 
    ) |
6087
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
6514
 
6088
6515
    ;;
6089
6516
esac
6090
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
6091
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6092
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
6517
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6518
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
6519
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6093
6520
  echo $ECHO_N "(cached) $ECHO_C" >&6
6094
6521
else
6095
6522
  eval "$as_ac_Header=\$ac_header_preproc"
6096
6523
fi
6097
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6098
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
6524
ac_res=`eval echo '${'$as_ac_Header'}'`
 
6525
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
6526
echo "${ECHO_T}$ac_res" >&6; }
6099
6527
 
6100
6528
fi
6101
6529
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6168
6596
#--------------------------------------------------------------------
6169
6597
 
6170
6598
 
6171
 
# Check whether --with-curlprefix or --without-curlprefix was given.
 
6599
# Check whether --with-curlprefix was given.
6172
6600
if test "${with_curlprefix+set}" = set; then
6173
 
  withval="$with_curlprefix"
6174
 
 
 
6601
  withval=$with_curlprefix;
6175
6602
    curlprefix=$withval
6176
6603
    curlpath=$curlprefix/bin
6177
6604
    # Extract the first word of "curl", so it can be a program name with args.
6178
6605
set dummy curl; ac_word=$2
6179
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6180
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6606
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6607
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6181
6608
if test "${ac_cv_prog_curl+set}" = set; then
6182
6609
  echo $ECHO_N "(cached) $ECHO_C" >&6
6183
6610
else
6190
6617
  IFS=$as_save_IFS
6191
6618
  test -z "$as_dir" && as_dir=.
6192
6619
  for ac_exec_ext in '' $ac_executable_extensions; do
6193
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6620
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6194
6621
    ac_cv_prog_curl="yes"
6195
6622
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6196
6623
    break 2
6197
6624
  fi
6198
6625
done
6199
6626
done
 
6627
IFS=$as_save_IFS
6200
6628
 
6201
6629
  test -z "$ac_cv_prog_curl" && ac_cv_prog_curl="no"
6202
6630
fi
6203
6631
fi
6204
6632
curl=$ac_cv_prog_curl
6205
6633
if test -n "$curl"; then
6206
 
  echo "$as_me:$LINENO: result: $curl" >&5
6207
 
echo "${ECHO_T}$curl" >&6
 
6634
  { echo "$as_me:$LINENO: result: $curl" >&5
 
6635
echo "${ECHO_T}$curl" >&6; }
6208
6636
else
6209
 
  echo "$as_me:$LINENO: result: no" >&5
6210
 
echo "${ECHO_T}no" >&6
 
6637
  { echo "$as_me:$LINENO: result: no" >&5
 
6638
echo "${ECHO_T}no" >&6; }
6211
6639
fi
6212
6640
 
 
6641
 
6213
6642
    if test "x$curl" = xno ; then
6214
6643
       { { echo "$as_me:$LINENO: error: can not find cURL in $curlpath" >&5
6215
6644
echo "$as_me: error: can not find cURL in $curlpath" >&2;}
6220
6649
 
6221
6650
    # Extract the first word of "curl-config", so it can be a program name with args.
6222
6651
set dummy curl-config; ac_word=$2
6223
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6224
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6652
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6653
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6225
6654
if test "${ac_cv_prog_curl+set}" = set; then
6226
6655
  echo $ECHO_N "(cached) $ECHO_C" >&6
6227
6656
else
6234
6663
  IFS=$as_save_IFS
6235
6664
  test -z "$as_dir" && as_dir=.
6236
6665
  for ac_exec_ext in '' $ac_executable_extensions; do
6237
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6666
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6238
6667
    ac_cv_prog_curl="yes"
6239
6668
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6240
6669
    break 2
6241
6670
  fi
6242
6671
done
6243
6672
done
 
6673
IFS=$as_save_IFS
6244
6674
 
6245
6675
  test -z "$ac_cv_prog_curl" && ac_cv_prog_curl="no"
6246
6676
fi
6247
6677
fi
6248
6678
curl=$ac_cv_prog_curl
6249
6679
if test -n "$curl"; then
6250
 
  echo "$as_me:$LINENO: result: $curl" >&5
6251
 
echo "${ECHO_T}$curl" >&6
 
6680
  { echo "$as_me:$LINENO: result: $curl" >&5
 
6681
echo "${ECHO_T}$curl" >&6; }
6252
6682
else
6253
 
  echo "$as_me:$LINENO: result: no" >&5
6254
 
echo "${ECHO_T}no" >&6
 
6683
  { echo "$as_me:$LINENO: result: no" >&5
 
6684
echo "${ECHO_T}no" >&6; }
6255
6685
fi
6256
6686
 
 
6687
 
6257
6688
    if test "x$curl" = xno ; then
6258
6689
        { { echo "$as_me:$LINENO: error: can not find cURL or libcurl... go to http://curl.haxx.se/ to download and then install it first" >&5
6259
6690
echo "$as_me: error: can not find cURL or libcurl... go to http://curl.haxx.se/ to download and then install it first" >&2;}
6263
6694
        curlpath=$curlprefix/bin
6264
6695
    fi
6265
6696
 
6266
 
fi;
6267
 
 
6268
 
 
6269
 
# Check whether --with-curlinclude or --without-curlinclude was given.
 
6697
fi
 
6698
 
 
6699
 
 
6700
 
 
6701
# Check whether --with-curlinclude was given.
6270
6702
if test "${with_curlinclude+set}" = set; then
6271
 
  withval="$with_curlinclude"
6272
 
 
 
6703
  withval=$with_curlinclude;
6273
6704
 
6274
6705
    vars="-I$withval"
6275
6706
    for i in $vars; do
6290
6721
 
6291
6722
     curlinclude=$curlprefix/include
6292
6723
 
6293
 
fi;
 
6724
fi
 
6725
 
6294
6726
 
6295
6727
if test "${ac_cv_header_curl_curl_h+set}" = set; then
6296
 
  echo "$as_me:$LINENO: checking for curl/curl.h" >&5
6297
 
echo $ECHO_N "checking for curl/curl.h... $ECHO_C" >&6
 
6728
  { echo "$as_me:$LINENO: checking for curl/curl.h" >&5
 
6729
echo $ECHO_N "checking for curl/curl.h... $ECHO_C" >&6; }
6298
6730
if test "${ac_cv_header_curl_curl_h+set}" = set; then
6299
6731
  echo $ECHO_N "(cached) $ECHO_C" >&6
6300
6732
fi
6301
 
echo "$as_me:$LINENO: result: $ac_cv_header_curl_curl_h" >&5
6302
 
echo "${ECHO_T}$ac_cv_header_curl_curl_h" >&6
 
6733
{ echo "$as_me:$LINENO: result: $ac_cv_header_curl_curl_h" >&5
 
6734
echo "${ECHO_T}$ac_cv_header_curl_curl_h" >&6; }
6303
6735
else
6304
6736
  # Is the header compilable?
6305
 
echo "$as_me:$LINENO: checking curl/curl.h usability" >&5
6306
 
echo $ECHO_N "checking curl/curl.h usability... $ECHO_C" >&6
 
6737
{ echo "$as_me:$LINENO: checking curl/curl.h usability" >&5
 
6738
echo $ECHO_N "checking curl/curl.h usability... $ECHO_C" >&6; }
6307
6739
cat >conftest.$ac_ext <<_ACEOF
6308
6740
/* confdefs.h.  */
6309
6741
_ACEOF
6314
6746
#include <curl/curl.h>
6315
6747
_ACEOF
6316
6748
rm -f conftest.$ac_objext
6317
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6318
 
  (eval $ac_compile) 2>conftest.er1
 
6749
if { (ac_try="$ac_compile"
 
6750
case "(($ac_try" in
 
6751
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6752
  *) ac_try_echo=$ac_try;;
 
6753
esac
 
6754
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6755
  (eval "$ac_compile") 2>conftest.er1
6319
6756
  ac_status=$?
6320
6757
  grep -v '^ *+' conftest.er1 >conftest.err
6321
6758
  rm -f conftest.er1
6322
6759
  cat conftest.err >&5
6323
6760
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6324
 
  (exit $ac_status); } &&
6325
 
         { ac_try='test -z "$ac_c_werror_flag"
6326
 
                         || test ! -s conftest.err'
6327
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6328
 
  (eval $ac_try) 2>&5
6329
 
  ac_status=$?
6330
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6331
 
  (exit $ac_status); }; } &&
6332
 
         { ac_try='test -s conftest.$ac_objext'
6333
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6334
 
  (eval $ac_try) 2>&5
6335
 
  ac_status=$?
6336
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6337
 
  (exit $ac_status); }; }; then
 
6761
  (exit $ac_status); } && {
 
6762
         test -z "$ac_c_werror_flag" ||
 
6763
         test ! -s conftest.err
 
6764
       } && test -s conftest.$ac_objext; then
6338
6765
  ac_header_compiler=yes
6339
6766
else
6340
6767
  echo "$as_me: failed program was:" >&5
6341
6768
sed 's/^/| /' conftest.$ac_ext >&5
6342
6769
 
6343
 
ac_header_compiler=no
 
6770
        ac_header_compiler=no
6344
6771
fi
6345
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6346
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6347
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
6772
 
 
6773
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6774
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
6775
echo "${ECHO_T}$ac_header_compiler" >&6; }
6348
6776
 
6349
6777
# Is the header present?
6350
 
echo "$as_me:$LINENO: checking curl/curl.h presence" >&5
6351
 
echo $ECHO_N "checking curl/curl.h presence... $ECHO_C" >&6
 
6778
{ echo "$as_me:$LINENO: checking curl/curl.h presence" >&5
 
6779
echo $ECHO_N "checking curl/curl.h presence... $ECHO_C" >&6; }
6352
6780
cat >conftest.$ac_ext <<_ACEOF
6353
6781
/* confdefs.h.  */
6354
6782
_ACEOF
6357
6785
/* end confdefs.h.  */
6358
6786
#include <curl/curl.h>
6359
6787
_ACEOF
6360
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6361
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6788
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6789
case "(($ac_try" in
 
6790
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6791
  *) ac_try_echo=$ac_try;;
 
6792
esac
 
6793
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6794
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6362
6795
  ac_status=$?
6363
6796
  grep -v '^ *+' conftest.er1 >conftest.err
6364
6797
  rm -f conftest.er1
6365
6798
  cat conftest.err >&5
6366
6799
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6367
 
  (exit $ac_status); } >/dev/null; then
6368
 
  if test -s conftest.err; then
6369
 
    ac_cpp_err=$ac_c_preproc_warn_flag
6370
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6371
 
  else
6372
 
    ac_cpp_err=
6373
 
  fi
6374
 
else
6375
 
  ac_cpp_err=yes
6376
 
fi
6377
 
if test -z "$ac_cpp_err"; then
 
6800
  (exit $ac_status); } >/dev/null && {
 
6801
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6802
         test ! -s conftest.err
 
6803
       }; then
6378
6804
  ac_header_preproc=yes
6379
6805
else
6380
6806
  echo "$as_me: failed program was:" >&5
6382
6808
 
6383
6809
  ac_header_preproc=no
6384
6810
fi
 
6811
 
6385
6812
rm -f conftest.err conftest.$ac_ext
6386
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6387
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
6813
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
6814
echo "${ECHO_T}$ac_header_preproc" >&6; }
6388
6815
 
6389
6816
# So?  What about this header?
6390
6817
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6408
6835
echo "$as_me: WARNING: curl/curl.h: proceeding with the preprocessor's result" >&2;}
6409
6836
    { echo "$as_me:$LINENO: WARNING: curl/curl.h: in the future, the compiler will take precedence" >&5
6410
6837
echo "$as_me: WARNING: curl/curl.h: in the future, the compiler will take precedence" >&2;}
6411
 
    (
6412
 
      cat <<\_ASBOX
6413
 
## ---------------------------------- ##
6414
 
## Report this to the TclCurl lists.  ##
6415
 
## ---------------------------------- ##
6416
 
_ASBOX
6417
 
    ) |
6418
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
6838
 
6419
6839
    ;;
6420
6840
esac
6421
 
echo "$as_me:$LINENO: checking for curl/curl.h" >&5
6422
 
echo $ECHO_N "checking for curl/curl.h... $ECHO_C" >&6
 
6841
{ echo "$as_me:$LINENO: checking for curl/curl.h" >&5
 
6842
echo $ECHO_N "checking for curl/curl.h... $ECHO_C" >&6; }
6423
6843
if test "${ac_cv_header_curl_curl_h+set}" = set; then
6424
6844
  echo $ECHO_N "(cached) $ECHO_C" >&6
6425
6845
else
6426
6846
  ac_cv_header_curl_curl_h=$ac_header_preproc
6427
6847
fi
6428
 
echo "$as_me:$LINENO: result: $ac_cv_header_curl_curl_h" >&5
6429
 
echo "${ECHO_T}$ac_cv_header_curl_curl_h" >&6
 
6848
{ echo "$as_me:$LINENO: result: $ac_cv_header_curl_curl_h" >&5
 
6849
echo "${ECHO_T}$ac_cv_header_curl_curl_h" >&6; }
6430
6850
 
6431
6851
fi
6432
6852
if test $ac_cv_header_curl_curl_h = yes; then
6437
6857
 
6438
6858
 
6439
6859
if test "x$headercurl" = xno ; then
6440
 
    echo "$as_me:$LINENO: checking checking for headers at $curlinclude" >&5
6441
 
echo $ECHO_N "checking checking for headers at $curlinclude... $ECHO_C" >&6
 
6860
    { echo "$as_me:$LINENO: checking checking for headers at $curlinclude" >&5
 
6861
echo $ECHO_N "checking checking for headers at $curlinclude... $ECHO_C" >&6; }
6442
6862
    if test  ! -r $curlinclude/curl/curl.h  ; then
6443
6863
        { { echo "$as_me:$LINENO: error: cURL headers not found, you may need to install a curl-devel package" >&5
6444
6864
echo "$as_me: error: cURL headers not found, you may need to install a curl-devel package" >&2;}
6445
6865
   { (exit 1); exit 1; }; }
6446
6866
    fi
6447
 
    echo "$as_me:$LINENO: result: found" >&5
6448
 
echo "${ECHO_T}found" >&6
 
6867
    { echo "$as_me:$LINENO: result: found" >&5
 
6868
echo "${ECHO_T}found" >&6; }
6449
6869
fi
6450
6870
 
6451
6871
 
6452
 
# Check whether --with-libcurl or --without-libcurl was given.
 
6872
# Check whether --with-libcurl was given.
6453
6873
if test "${with_libcurl+set}" = set; then
6454
 
  withval="$with_libcurl"
6455
 
 
 
6874
  withval=$with_libcurl;
6456
6875
 
6457
6876
    vars="-L$withval"
6458
6877
    for i in $vars; do
6479
6898
 
6480
6899
 
6481
6900
 
6482
 
fi;
6483
 
 
6484
 
echo "$as_me:$LINENO: checking if libcurl version is recent enough" >&5
6485
 
echo $ECHO_N "checking if libcurl version is recent enough... $ECHO_C" >&6
6486
 
CURL_VERSION=`$curlpath/curl-config --checkfor 7.17.1`
 
6901
fi
 
6902
 
 
6903
 
 
6904
{ echo "$as_me:$LINENO: checking if libcurl version is recent enough" >&5
 
6905
echo $ECHO_N "checking if libcurl version is recent enough... $ECHO_C" >&6; }
 
6906
CURL_VERSION=`$curlpath/curl-config --checkfor 7.19.0`
6487
6907
if test "${CURL_VERSION}" != "" ; then
6488
6908
    echo ${CURL_VERSION}
6489
6909
    { { echo "$as_me:$LINENO: error: libcurl version too old, please upgrade" >&5
6490
6910
echo "$as_me: error: libcurl version too old, please upgrade" >&2;}
6491
6911
   { (exit 1); exit 1; }; }
6492
6912
fi
6493
 
echo "$as_me:$LINENO: result: yes" >&5
6494
 
echo "${ECHO_T}yes" >&6
 
6913
{ echo "$as_me:$LINENO: result: yes" >&5
 
6914
echo "${ECHO_T}yes" >&6; }
6495
6915
 
6496
6916
 
6497
6917
    vars="`$curlpath/curl-config --libs`"
6544
6964
#--------------------------------------------------------------------
6545
6965
 
6546
6966
 
6547
 
    echo "$as_me:$LINENO: checking for Tcl public headers" >&5
6548
 
echo $ECHO_N "checking for Tcl public headers... $ECHO_C" >&6
6549
 
 
6550
 
 
6551
 
# Check whether --with-tclinclude or --without-tclinclude was given.
 
6967
    { echo "$as_me:$LINENO: checking for Tcl public headers" >&5
 
6968
echo $ECHO_N "checking for Tcl public headers... $ECHO_C" >&6; }
 
6969
 
 
6970
 
 
6971
# Check whether --with-tclinclude was given.
6552
6972
if test "${with_tclinclude+set}" = set; then
6553
 
  withval="$with_tclinclude"
6554
 
  with_tclinclude=${withval}
6555
 
fi;
 
6973
  withval=$with_tclinclude; with_tclinclude=${withval}
 
6974
fi
 
6975
 
6556
6976
 
6557
6977
    if test "${ac_cv_c_tclh+set}" = set; then
6558
6978
  echo $ECHO_N "(cached) $ECHO_C" >&6
6618
7038
echo "$as_me: error: tcl.h not found.  Please specify its location with --with-tclinclude" >&2;}
6619
7039
   { (exit 1); exit 1; }; }
6620
7040
    else
6621
 
        echo "$as_me:$LINENO: result: ${ac_cv_c_tclh}" >&5
6622
 
echo "${ECHO_T}${ac_cv_c_tclh}" >&6
 
7041
        { echo "$as_me:$LINENO: result: ${ac_cv_c_tclh}" >&5
 
7042
echo "${ECHO_T}${ac_cv_c_tclh}" >&6; }
6623
7043
    fi
6624
7044
 
6625
7045
    # Convert to a native path and substitute into the output files.
6637
7057
#--------------------------------------------------------------------
6638
7058
 
6639
7059
 
6640
 
    # Check whether --enable-threads or --disable-threads was given.
 
7060
    # Check whether --enable-threads was given.
6641
7061
if test "${enable_threads+set}" = set; then
6642
 
  enableval="$enable_threads"
6643
 
  tcl_ok=$enableval
 
7062
  enableval=$enable_threads; tcl_ok=$enableval
6644
7063
else
6645
7064
  tcl_ok=yes
6646
 
fi;
 
7065
fi
 
7066
 
6647
7067
 
6648
7068
    if test "${enable_threads+set}" = set; then
6649
7069
        enableval="$enable_threads"
6682
7102
#define _THREAD_SAFE 1
6683
7103
_ACEOF
6684
7104
 
6685
 
            echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
6686
 
echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6
 
7105
            { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
 
7106
echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6; }
6687
7107
if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
6688
7108
  echo $ECHO_N "(cached) $ECHO_C" >&6
6689
7109
else
6696
7116
cat >>conftest.$ac_ext <<_ACEOF
6697
7117
/* end confdefs.h.  */
6698
7118
 
6699
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
7119
/* Override any GCC internal prototype to avoid an error.
 
7120
   Use char because int might match the return type of a GCC
 
7121
   builtin and then its argument prototype would still apply.  */
6700
7122
#ifdef __cplusplus
6701
7123
extern "C"
6702
7124
#endif
6703
 
/* We use char because int might match the return type of a gcc2
6704
 
   builtin and then its argument prototype would still apply.  */
6705
7125
char pthread_mutex_init ();
6706
7126
int
6707
7127
main ()
6708
7128
{
6709
 
pthread_mutex_init ();
 
7129
return pthread_mutex_init ();
6710
7130
  ;
6711
7131
  return 0;
6712
7132
}
6713
7133
_ACEOF
6714
7134
rm -f conftest.$ac_objext conftest$ac_exeext
6715
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6716
 
  (eval $ac_link) 2>conftest.er1
 
7135
if { (ac_try="$ac_link"
 
7136
case "(($ac_try" in
 
7137
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7138
  *) ac_try_echo=$ac_try;;
 
7139
esac
 
7140
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7141
  (eval "$ac_link") 2>conftest.er1
6717
7142
  ac_status=$?
6718
7143
  grep -v '^ *+' conftest.er1 >conftest.err
6719
7144
  rm -f conftest.er1
6720
7145
  cat conftest.err >&5
6721
7146
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6722
 
  (exit $ac_status); } &&
6723
 
         { ac_try='test -z "$ac_c_werror_flag"
6724
 
                         || test ! -s conftest.err'
6725
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6726
 
  (eval $ac_try) 2>&5
6727
 
  ac_status=$?
6728
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6729
 
  (exit $ac_status); }; } &&
6730
 
         { ac_try='test -s conftest$ac_exeext'
6731
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6732
 
  (eval $ac_try) 2>&5
6733
 
  ac_status=$?
6734
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6735
 
  (exit $ac_status); }; }; then
 
7147
  (exit $ac_status); } && {
 
7148
         test -z "$ac_c_werror_flag" ||
 
7149
         test ! -s conftest.err
 
7150
       } && test -s conftest$ac_exeext &&
 
7151
       $as_test_x conftest$ac_exeext; then
6736
7152
  ac_cv_lib_pthread_pthread_mutex_init=yes
6737
7153
else
6738
7154
  echo "$as_me: failed program was:" >&5
6739
7155
sed 's/^/| /' conftest.$ac_ext >&5
6740
7156
 
6741
 
ac_cv_lib_pthread_pthread_mutex_init=no
 
7157
        ac_cv_lib_pthread_pthread_mutex_init=no
6742
7158
fi
6743
 
rm -f conftest.err conftest.$ac_objext \
 
7159
 
 
7160
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6744
7161
      conftest$ac_exeext conftest.$ac_ext
6745
7162
LIBS=$ac_check_lib_save_LIBS
6746
7163
fi
6747
 
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
6748
 
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6
 
7164
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
 
7165
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
6749
7166
if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
6750
7167
  tcl_ok=yes
6751
7168
else
6758
7175
                # defined.  We could alternatively do an AC_TRY_COMPILE with
6759
7176
                # pthread.h, but that will work with libpthread really doesn't
6760
7177
                # exist, like AIX 4.2.  [Bug: 4359]
6761
 
                echo "$as_me:$LINENO: checking for __pthread_mutex_init in -lpthread" >&5
6762
 
echo $ECHO_N "checking for __pthread_mutex_init in -lpthread... $ECHO_C" >&6
 
7178
                { echo "$as_me:$LINENO: checking for __pthread_mutex_init in -lpthread" >&5
 
7179
echo $ECHO_N "checking for __pthread_mutex_init in -lpthread... $ECHO_C" >&6; }
6763
7180
if test "${ac_cv_lib_pthread___pthread_mutex_init+set}" = set; then
6764
7181
  echo $ECHO_N "(cached) $ECHO_C" >&6
6765
7182
else
6772
7189
cat >>conftest.$ac_ext <<_ACEOF
6773
7190
/* end confdefs.h.  */
6774
7191
 
6775
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
7192
/* Override any GCC internal prototype to avoid an error.
 
7193
   Use char because int might match the return type of a GCC
 
7194
   builtin and then its argument prototype would still apply.  */
6776
7195
#ifdef __cplusplus
6777
7196
extern "C"
6778
7197
#endif
6779
 
/* We use char because int might match the return type of a gcc2
6780
 
   builtin and then its argument prototype would still apply.  */
6781
7198
char __pthread_mutex_init ();
6782
7199
int
6783
7200
main ()
6784
7201
{
6785
 
__pthread_mutex_init ();
 
7202
return __pthread_mutex_init ();
6786
7203
  ;
6787
7204
  return 0;
6788
7205
}
6789
7206
_ACEOF
6790
7207
rm -f conftest.$ac_objext conftest$ac_exeext
6791
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6792
 
  (eval $ac_link) 2>conftest.er1
 
7208
if { (ac_try="$ac_link"
 
7209
case "(($ac_try" in
 
7210
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7211
  *) ac_try_echo=$ac_try;;
 
7212
esac
 
7213
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7214
  (eval "$ac_link") 2>conftest.er1
6793
7215
  ac_status=$?
6794
7216
  grep -v '^ *+' conftest.er1 >conftest.err
6795
7217
  rm -f conftest.er1
6796
7218
  cat conftest.err >&5
6797
7219
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6798
 
  (exit $ac_status); } &&
6799
 
         { ac_try='test -z "$ac_c_werror_flag"
6800
 
                         || test ! -s conftest.err'
6801
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6802
 
  (eval $ac_try) 2>&5
6803
 
  ac_status=$?
6804
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6805
 
  (exit $ac_status); }; } &&
6806
 
         { ac_try='test -s conftest$ac_exeext'
6807
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6808
 
  (eval $ac_try) 2>&5
6809
 
  ac_status=$?
6810
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6811
 
  (exit $ac_status); }; }; then
 
7220
  (exit $ac_status); } && {
 
7221
         test -z "$ac_c_werror_flag" ||
 
7222
         test ! -s conftest.err
 
7223
       } && test -s conftest$ac_exeext &&
 
7224
       $as_test_x conftest$ac_exeext; then
6812
7225
  ac_cv_lib_pthread___pthread_mutex_init=yes
6813
7226
else
6814
7227
  echo "$as_me: failed program was:" >&5
6815
7228
sed 's/^/| /' conftest.$ac_ext >&5
6816
7229
 
6817
 
ac_cv_lib_pthread___pthread_mutex_init=no
 
7230
        ac_cv_lib_pthread___pthread_mutex_init=no
6818
7231
fi
6819
 
rm -f conftest.err conftest.$ac_objext \
 
7232
 
 
7233
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6820
7234
      conftest$ac_exeext conftest.$ac_ext
6821
7235
LIBS=$ac_check_lib_save_LIBS
6822
7236
fi
6823
 
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread___pthread_mutex_init" >&5
6824
 
echo "${ECHO_T}$ac_cv_lib_pthread___pthread_mutex_init" >&6
 
7237
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread___pthread_mutex_init" >&5
 
7238
echo "${ECHO_T}$ac_cv_lib_pthread___pthread_mutex_init" >&6; }
6825
7239
if test $ac_cv_lib_pthread___pthread_mutex_init = yes; then
6826
7240
  tcl_ok=yes
6827
7241
else
6834
7248
                # The space is needed
6835
7249
                THREADS_LIBS=" -lpthread"
6836
7250
            else
6837
 
                echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthreads" >&5
6838
 
echo $ECHO_N "checking for pthread_mutex_init in -lpthreads... $ECHO_C" >&6
 
7251
                { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthreads" >&5
 
7252
echo $ECHO_N "checking for pthread_mutex_init in -lpthreads... $ECHO_C" >&6; }
6839
7253
if test "${ac_cv_lib_pthreads_pthread_mutex_init+set}" = set; then
6840
7254
  echo $ECHO_N "(cached) $ECHO_C" >&6
6841
7255
else
6848
7262
cat >>conftest.$ac_ext <<_ACEOF
6849
7263
/* end confdefs.h.  */
6850
7264
 
6851
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
7265
/* Override any GCC internal prototype to avoid an error.
 
7266
   Use char because int might match the return type of a GCC
 
7267
   builtin and then its argument prototype would still apply.  */
6852
7268
#ifdef __cplusplus
6853
7269
extern "C"
6854
7270
#endif
6855
 
/* We use char because int might match the return type of a gcc2
6856
 
   builtin and then its argument prototype would still apply.  */
6857
7271
char pthread_mutex_init ();
6858
7272
int
6859
7273
main ()
6860
7274
{
6861
 
pthread_mutex_init ();
 
7275
return pthread_mutex_init ();
6862
7276
  ;
6863
7277
  return 0;
6864
7278
}
6865
7279
_ACEOF
6866
7280
rm -f conftest.$ac_objext conftest$ac_exeext
6867
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6868
 
  (eval $ac_link) 2>conftest.er1
 
7281
if { (ac_try="$ac_link"
 
7282
case "(($ac_try" in
 
7283
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7284
  *) ac_try_echo=$ac_try;;
 
7285
esac
 
7286
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7287
  (eval "$ac_link") 2>conftest.er1
6869
7288
  ac_status=$?
6870
7289
  grep -v '^ *+' conftest.er1 >conftest.err
6871
7290
  rm -f conftest.er1
6872
7291
  cat conftest.err >&5
6873
7292
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6874
 
  (exit $ac_status); } &&
6875
 
         { ac_try='test -z "$ac_c_werror_flag"
6876
 
                         || test ! -s conftest.err'
6877
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6878
 
  (eval $ac_try) 2>&5
6879
 
  ac_status=$?
6880
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6881
 
  (exit $ac_status); }; } &&
6882
 
         { ac_try='test -s conftest$ac_exeext'
6883
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6884
 
  (eval $ac_try) 2>&5
6885
 
  ac_status=$?
6886
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6887
 
  (exit $ac_status); }; }; then
 
7293
  (exit $ac_status); } && {
 
7294
         test -z "$ac_c_werror_flag" ||
 
7295
         test ! -s conftest.err
 
7296
       } && test -s conftest$ac_exeext &&
 
7297
       $as_test_x conftest$ac_exeext; then
6888
7298
  ac_cv_lib_pthreads_pthread_mutex_init=yes
6889
7299
else
6890
7300
  echo "$as_me: failed program was:" >&5
6891
7301
sed 's/^/| /' conftest.$ac_ext >&5
6892
7302
 
6893
 
ac_cv_lib_pthreads_pthread_mutex_init=no
 
7303
        ac_cv_lib_pthreads_pthread_mutex_init=no
6894
7304
fi
6895
 
rm -f conftest.err conftest.$ac_objext \
 
7305
 
 
7306
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6896
7307
      conftest$ac_exeext conftest.$ac_ext
6897
7308
LIBS=$ac_check_lib_save_LIBS
6898
7309
fi
6899
 
echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_mutex_init" >&5
6900
 
echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_mutex_init" >&6
 
7310
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_mutex_init" >&5
 
7311
echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_mutex_init" >&6; }
6901
7312
if test $ac_cv_lib_pthreads_pthread_mutex_init = yes; then
6902
7313
  tcl_ok=yes
6903
7314
else
6908
7319
                    # The space is needed
6909
7320
                    THREADS_LIBS=" -lpthreads"
6910
7321
                else
6911
 
                    echo "$as_me:$LINENO: checking for pthread_mutex_init in -lc" >&5
6912
 
echo $ECHO_N "checking for pthread_mutex_init in -lc... $ECHO_C" >&6
 
7322
                    { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lc" >&5
 
7323
echo $ECHO_N "checking for pthread_mutex_init in -lc... $ECHO_C" >&6; }
6913
7324
if test "${ac_cv_lib_c_pthread_mutex_init+set}" = set; then
6914
7325
  echo $ECHO_N "(cached) $ECHO_C" >&6
6915
7326
else
6922
7333
cat >>conftest.$ac_ext <<_ACEOF
6923
7334
/* end confdefs.h.  */
6924
7335
 
6925
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
7336
/* Override any GCC internal prototype to avoid an error.
 
7337
   Use char because int might match the return type of a GCC
 
7338
   builtin and then its argument prototype would still apply.  */
6926
7339
#ifdef __cplusplus
6927
7340
extern "C"
6928
7341
#endif
6929
 
/* We use char because int might match the return type of a gcc2
6930
 
   builtin and then its argument prototype would still apply.  */
6931
7342
char pthread_mutex_init ();
6932
7343
int
6933
7344
main ()
6934
7345
{
6935
 
pthread_mutex_init ();
 
7346
return pthread_mutex_init ();
6936
7347
  ;
6937
7348
  return 0;
6938
7349
}
6939
7350
_ACEOF
6940
7351
rm -f conftest.$ac_objext conftest$ac_exeext
6941
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6942
 
  (eval $ac_link) 2>conftest.er1
 
7352
if { (ac_try="$ac_link"
 
7353
case "(($ac_try" in
 
7354
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7355
  *) ac_try_echo=$ac_try;;
 
7356
esac
 
7357
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7358
  (eval "$ac_link") 2>conftest.er1
6943
7359
  ac_status=$?
6944
7360
  grep -v '^ *+' conftest.er1 >conftest.err
6945
7361
  rm -f conftest.er1
6946
7362
  cat conftest.err >&5
6947
7363
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6948
 
  (exit $ac_status); } &&
6949
 
         { ac_try='test -z "$ac_c_werror_flag"
6950
 
                         || test ! -s conftest.err'
6951
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6952
 
  (eval $ac_try) 2>&5
6953
 
  ac_status=$?
6954
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6955
 
  (exit $ac_status); }; } &&
6956
 
         { ac_try='test -s conftest$ac_exeext'
6957
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6958
 
  (eval $ac_try) 2>&5
6959
 
  ac_status=$?
6960
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6961
 
  (exit $ac_status); }; }; then
 
7364
  (exit $ac_status); } && {
 
7365
         test -z "$ac_c_werror_flag" ||
 
7366
         test ! -s conftest.err
 
7367
       } && test -s conftest$ac_exeext &&
 
7368
       $as_test_x conftest$ac_exeext; then
6962
7369
  ac_cv_lib_c_pthread_mutex_init=yes
6963
7370
else
6964
7371
  echo "$as_me: failed program was:" >&5
6965
7372
sed 's/^/| /' conftest.$ac_ext >&5
6966
7373
 
6967
 
ac_cv_lib_c_pthread_mutex_init=no
 
7374
        ac_cv_lib_c_pthread_mutex_init=no
6968
7375
fi
6969
 
rm -f conftest.err conftest.$ac_objext \
 
7376
 
 
7377
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6970
7378
      conftest$ac_exeext conftest.$ac_ext
6971
7379
LIBS=$ac_check_lib_save_LIBS
6972
7380
fi
6973
 
echo "$as_me:$LINENO: result: $ac_cv_lib_c_pthread_mutex_init" >&5
6974
 
echo "${ECHO_T}$ac_cv_lib_c_pthread_mutex_init" >&6
 
7381
{ echo "$as_me:$LINENO: result: $ac_cv_lib_c_pthread_mutex_init" >&5
 
7382
echo "${ECHO_T}$ac_cv_lib_c_pthread_mutex_init" >&6; }
6975
7383
if test $ac_cv_lib_c_pthread_mutex_init = yes; then
6976
7384
  tcl_ok=yes
6977
7385
else
6979
7387
fi
6980
7388
 
6981
7389
                    if test "$tcl_ok" = "no"; then
6982
 
                        echo "$as_me:$LINENO: checking for pthread_mutex_init in -lc_r" >&5
6983
 
echo $ECHO_N "checking for pthread_mutex_init in -lc_r... $ECHO_C" >&6
 
7390
                        { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lc_r" >&5
 
7391
echo $ECHO_N "checking for pthread_mutex_init in -lc_r... $ECHO_C" >&6; }
6984
7392
if test "${ac_cv_lib_c_r_pthread_mutex_init+set}" = set; then
6985
7393
  echo $ECHO_N "(cached) $ECHO_C" >&6
6986
7394
else
6993
7401
cat >>conftest.$ac_ext <<_ACEOF
6994
7402
/* end confdefs.h.  */
6995
7403
 
6996
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
7404
/* Override any GCC internal prototype to avoid an error.
 
7405
   Use char because int might match the return type of a GCC
 
7406
   builtin and then its argument prototype would still apply.  */
6997
7407
#ifdef __cplusplus
6998
7408
extern "C"
6999
7409
#endif
7000
 
/* We use char because int might match the return type of a gcc2
7001
 
   builtin and then its argument prototype would still apply.  */
7002
7410
char pthread_mutex_init ();
7003
7411
int
7004
7412
main ()
7005
7413
{
7006
 
pthread_mutex_init ();
 
7414
return pthread_mutex_init ();
7007
7415
  ;
7008
7416
  return 0;
7009
7417
}
7010
7418
_ACEOF
7011
7419
rm -f conftest.$ac_objext conftest$ac_exeext
7012
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7013
 
  (eval $ac_link) 2>conftest.er1
 
7420
if { (ac_try="$ac_link"
 
7421
case "(($ac_try" in
 
7422
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7423
  *) ac_try_echo=$ac_try;;
 
7424
esac
 
7425
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7426
  (eval "$ac_link") 2>conftest.er1
7014
7427
  ac_status=$?
7015
7428
  grep -v '^ *+' conftest.er1 >conftest.err
7016
7429
  rm -f conftest.er1
7017
7430
  cat conftest.err >&5
7018
7431
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7019
 
  (exit $ac_status); } &&
7020
 
         { ac_try='test -z "$ac_c_werror_flag"
7021
 
                         || test ! -s conftest.err'
7022
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7023
 
  (eval $ac_try) 2>&5
7024
 
  ac_status=$?
7025
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7026
 
  (exit $ac_status); }; } &&
7027
 
         { ac_try='test -s conftest$ac_exeext'
7028
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7029
 
  (eval $ac_try) 2>&5
7030
 
  ac_status=$?
7031
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7032
 
  (exit $ac_status); }; }; then
 
7432
  (exit $ac_status); } && {
 
7433
         test -z "$ac_c_werror_flag" ||
 
7434
         test ! -s conftest.err
 
7435
       } && test -s conftest$ac_exeext &&
 
7436
       $as_test_x conftest$ac_exeext; then
7033
7437
  ac_cv_lib_c_r_pthread_mutex_init=yes
7034
7438
else
7035
7439
  echo "$as_me: failed program was:" >&5
7036
7440
sed 's/^/| /' conftest.$ac_ext >&5
7037
7441
 
7038
 
ac_cv_lib_c_r_pthread_mutex_init=no
 
7442
        ac_cv_lib_c_r_pthread_mutex_init=no
7039
7443
fi
7040
 
rm -f conftest.err conftest.$ac_objext \
 
7444
 
 
7445
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7041
7446
      conftest$ac_exeext conftest.$ac_ext
7042
7447
LIBS=$ac_check_lib_save_LIBS
7043
7448
fi
7044
 
echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_mutex_init" >&5
7045
 
echo "${ECHO_T}$ac_cv_lib_c_r_pthread_mutex_init" >&6
 
7449
{ echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_mutex_init" >&5
 
7450
echo "${ECHO_T}$ac_cv_lib_c_r_pthread_mutex_init" >&6; }
7046
7451
if test $ac_cv_lib_c_r_pthread_mutex_init = yes; then
7047
7452
  tcl_ok=yes
7048
7453
else
7065
7470
        TCL_THREADS=0
7066
7471
    fi
7067
7472
    # Do checking message here to not mess up interleaved configure output
7068
 
    echo "$as_me:$LINENO: checking for building with threads" >&5
7069
 
echo $ECHO_N "checking for building with threads... $ECHO_C" >&6
 
7473
    { echo "$as_me:$LINENO: checking for building with threads" >&5
 
7474
echo $ECHO_N "checking for building with threads... $ECHO_C" >&6; }
7070
7475
    if test "${TCL_THREADS}" = 1; then
7071
7476
 
7072
7477
cat >>confdefs.h <<\_ACEOF
7073
7478
#define TCL_THREADS 1
7074
7479
_ACEOF
7075
7480
 
7076
 
        echo "$as_me:$LINENO: result: yes (default)" >&5
7077
 
echo "${ECHO_T}yes (default)" >&6
 
7481
        { echo "$as_me:$LINENO: result: yes (default)" >&5
 
7482
echo "${ECHO_T}yes (default)" >&6; }
7078
7483
    else
7079
 
        echo "$as_me:$LINENO: result: no" >&5
7080
 
echo "${ECHO_T}no" >&6
 
7484
        { echo "$as_me:$LINENO: result: no" >&5
 
7485
echo "${ECHO_T}no" >&6; }
7081
7486
    fi
7082
7487
    # TCL_THREADS sanity checking.  See if our request for building with
7083
7488
    # threads is the same as the way Tcl was built.  If not, warn the user.
7114
7519
#--------------------------------------------------------------------
7115
7520
 
7116
7521
 
7117
 
    echo "$as_me:$LINENO: checking how to build libraries" >&5
7118
 
echo $ECHO_N "checking how to build libraries... $ECHO_C" >&6
7119
 
    # Check whether --enable-shared or --disable-shared was given.
 
7522
    { echo "$as_me:$LINENO: checking how to build libraries" >&5
 
7523
echo $ECHO_N "checking how to build libraries... $ECHO_C" >&6; }
 
7524
    # Check whether --enable-shared was given.
7120
7525
if test "${enable_shared+set}" = set; then
7121
 
  enableval="$enable_shared"
7122
 
  tcl_ok=$enableval
 
7526
  enableval=$enable_shared; tcl_ok=$enableval
7123
7527
else
7124
7528
  tcl_ok=yes
7125
 
fi;
 
7529
fi
 
7530
 
7126
7531
 
7127
7532
    if test "${enable_shared+set}" = set; then
7128
7533
        enableval="$enable_shared"
7132
7537
    fi
7133
7538
 
7134
7539
    if test "$tcl_ok" = "yes" ; then
7135
 
        echo "$as_me:$LINENO: result: shared" >&5
7136
 
echo "${ECHO_T}shared" >&6
 
7540
        { echo "$as_me:$LINENO: result: shared" >&5
 
7541
echo "${ECHO_T}shared" >&6; }
7137
7542
        SHARED_BUILD=1
7138
7543
    else
7139
 
        echo "$as_me:$LINENO: result: static" >&5
7140
 
echo "${ECHO_T}static" >&6
 
7544
        { echo "$as_me:$LINENO: result: static" >&5
 
7545
echo "${ECHO_T}static" >&6; }
7141
7546
        SHARED_BUILD=0
7142
7547
 
7143
7548
cat >>confdefs.h <<\_ACEOF
7159
7564
 
7160
7565
    # Step 0.a: Enable 64 bit support?
7161
7566
 
7162
 
    echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
7163
 
echo $ECHO_N "checking if 64bit support is requested... $ECHO_C" >&6
7164
 
    # Check whether --enable-64bit or --disable-64bit was given.
 
7567
    { echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
 
7568
echo $ECHO_N "checking if 64bit support is requested... $ECHO_C" >&6; }
 
7569
    # Check whether --enable-64bit was given.
7165
7570
if test "${enable_64bit+set}" = set; then
7166
 
  enableval="$enable_64bit"
7167
 
  do64bit=$enableval
 
7571
  enableval=$enable_64bit; do64bit=$enableval
7168
7572
else
7169
7573
  do64bit=no
7170
 
fi;
7171
 
    echo "$as_me:$LINENO: result: $do64bit" >&5
7172
 
echo "${ECHO_T}$do64bit" >&6
 
7574
fi
 
7575
 
 
7576
    { echo "$as_me:$LINENO: result: $do64bit" >&5
 
7577
echo "${ECHO_T}$do64bit" >&6; }
7173
7578
 
7174
7579
    # Step 0.b: Enable Solaris 64 bit VIS support?
7175
7580
 
7176
 
    echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
7177
 
echo $ECHO_N "checking if 64bit Sparc VIS support is requested... $ECHO_C" >&6
7178
 
    # Check whether --enable-64bit-vis or --disable-64bit-vis was given.
 
7581
    { echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
 
7582
echo $ECHO_N "checking if 64bit Sparc VIS support is requested... $ECHO_C" >&6; }
 
7583
    # Check whether --enable-64bit-vis was given.
7179
7584
if test "${enable_64bit_vis+set}" = set; then
7180
 
  enableval="$enable_64bit_vis"
7181
 
  do64bitVIS=$enableval
 
7585
  enableval=$enable_64bit_vis; do64bitVIS=$enableval
7182
7586
else
7183
7587
  do64bitVIS=no
7184
 
fi;
7185
 
    echo "$as_me:$LINENO: result: $do64bitVIS" >&5
7186
 
echo "${ECHO_T}$do64bitVIS" >&6
 
7588
fi
 
7589
 
 
7590
    { echo "$as_me:$LINENO: result: $do64bitVIS" >&5
 
7591
echo "${ECHO_T}$do64bitVIS" >&6; }
7187
7592
 
7188
7593
    if test "$do64bitVIS" = "yes"; then
7189
7594
        # Force 64bit on with VIS
7193
7598
    # Step 0.c: Cross-compiling options for Windows/CE builds?
7194
7599
 
7195
7600
    if test "${TEA_PLATFORM}" = "windows" ; then
7196
 
        echo "$as_me:$LINENO: checking if Windows/CE build is requested" >&5
7197
 
echo $ECHO_N "checking if Windows/CE build is requested... $ECHO_C" >&6
7198
 
        # Check whether --enable-wince or --disable-wince was given.
 
7601
        { echo "$as_me:$LINENO: checking if Windows/CE build is requested" >&5
 
7602
echo $ECHO_N "checking if Windows/CE build is requested... $ECHO_C" >&6; }
 
7603
        # Check whether --enable-wince was given.
7199
7604
if test "${enable_wince+set}" = set; then
7200
 
  enableval="$enable_wince"
7201
 
  doWince=$enableval
 
7605
  enableval=$enable_wince; doWince=$enableval
7202
7606
else
7203
7607
  doWince=no
7204
 
fi;
7205
 
        echo "$as_me:$LINENO: result: $doWince" >&5
7206
 
echo "${ECHO_T}$doWince" >&6
 
7608
fi
 
7609
 
 
7610
        { echo "$as_me:$LINENO: result: $doWince" >&5
 
7611
echo "${ECHO_T}$doWince" >&6; }
7207
7612
    fi
7208
7613
 
7209
7614
    # Step 1: set the variable "system" to hold the name and version number
7210
7615
    # for the system.
7211
7616
 
7212
7617
 
7213
 
    echo "$as_me:$LINENO: checking system version" >&5
7214
 
echo $ECHO_N "checking system version... $ECHO_C" >&6
 
7618
    { echo "$as_me:$LINENO: checking system version" >&5
 
7619
echo $ECHO_N "checking system version... $ECHO_C" >&6; }
7215
7620
if test "${tcl_cv_sys_version+set}" = set; then
7216
7621
  echo $ECHO_N "(cached) $ECHO_C" >&6
7217
7622
else
7240
7645
        fi
7241
7646
 
7242
7647
fi
7243
 
echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
7244
 
echo "${ECHO_T}$tcl_cv_sys_version" >&6
 
7648
{ echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
 
7649
echo "${ECHO_T}$tcl_cv_sys_version" >&6; }
7245
7650
    system=$tcl_cv_sys_version
7246
7651
 
7247
7652
 
7248
7653
    # Step 2: check for existence of -ldl library.  This is needed because
7249
7654
    # Linux can use either -ldl or -ldld for dynamic loading.
7250
7655
 
7251
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
7252
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
7656
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
7657
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
7253
7658
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
7254
7659
  echo $ECHO_N "(cached) $ECHO_C" >&6
7255
7660
else
7262
7667
cat >>conftest.$ac_ext <<_ACEOF
7263
7668
/* end confdefs.h.  */
7264
7669
 
7265
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
7670
/* Override any GCC internal prototype to avoid an error.
 
7671
   Use char because int might match the return type of a GCC
 
7672
   builtin and then its argument prototype would still apply.  */
7266
7673
#ifdef __cplusplus
7267
7674
extern "C"
7268
7675
#endif
7269
 
/* We use char because int might match the return type of a gcc2
7270
 
   builtin and then its argument prototype would still apply.  */
7271
7676
char dlopen ();
7272
7677
int
7273
7678
main ()
7274
7679
{
7275
 
dlopen ();
 
7680
return dlopen ();
7276
7681
  ;
7277
7682
  return 0;
7278
7683
}
7279
7684
_ACEOF
7280
7685
rm -f conftest.$ac_objext conftest$ac_exeext
7281
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7282
 
  (eval $ac_link) 2>conftest.er1
 
7686
if { (ac_try="$ac_link"
 
7687
case "(($ac_try" in
 
7688
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7689
  *) ac_try_echo=$ac_try;;
 
7690
esac
 
7691
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7692
  (eval "$ac_link") 2>conftest.er1
7283
7693
  ac_status=$?
7284
7694
  grep -v '^ *+' conftest.er1 >conftest.err
7285
7695
  rm -f conftest.er1
7286
7696
  cat conftest.err >&5
7287
7697
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7288
 
  (exit $ac_status); } &&
7289
 
         { ac_try='test -z "$ac_c_werror_flag"
7290
 
                         || test ! -s conftest.err'
7291
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7292
 
  (eval $ac_try) 2>&5
7293
 
  ac_status=$?
7294
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7295
 
  (exit $ac_status); }; } &&
7296
 
         { ac_try='test -s conftest$ac_exeext'
7297
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7298
 
  (eval $ac_try) 2>&5
7299
 
  ac_status=$?
7300
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7301
 
  (exit $ac_status); }; }; then
 
7698
  (exit $ac_status); } && {
 
7699
         test -z "$ac_c_werror_flag" ||
 
7700
         test ! -s conftest.err
 
7701
       } && test -s conftest$ac_exeext &&
 
7702
       $as_test_x conftest$ac_exeext; then
7302
7703
  ac_cv_lib_dl_dlopen=yes
7303
7704
else
7304
7705
  echo "$as_me: failed program was:" >&5
7305
7706
sed 's/^/| /' conftest.$ac_ext >&5
7306
7707
 
7307
 
ac_cv_lib_dl_dlopen=no
 
7708
        ac_cv_lib_dl_dlopen=no
7308
7709
fi
7309
 
rm -f conftest.err conftest.$ac_objext \
 
7710
 
 
7711
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7310
7712
      conftest$ac_exeext conftest.$ac_ext
7311
7713
LIBS=$ac_check_lib_save_LIBS
7312
7714
fi
7313
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
7314
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
7715
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
7716
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
7315
7717
if test $ac_cv_lib_dl_dlopen = yes; then
7316
7718
  have_dl=yes
7317
7719
else
7351
7753
    TCL_EXP_FILE=""
7352
7754
    # Extract the first word of "ar", so it can be a program name with args.
7353
7755
set dummy ar; ac_word=$2
7354
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7355
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7756
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7757
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7356
7758
if test "${ac_cv_prog_AR+set}" = set; then
7357
7759
  echo $ECHO_N "(cached) $ECHO_C" >&6
7358
7760
else
7365
7767
  IFS=$as_save_IFS
7366
7768
  test -z "$as_dir" && as_dir=.
7367
7769
  for ac_exec_ext in '' $ac_executable_extensions; do
7368
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7770
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7369
7771
    ac_cv_prog_AR="ar"
7370
7772
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7371
7773
    break 2
7372
7774
  fi
7373
7775
done
7374
7776
done
 
7777
IFS=$as_save_IFS
7375
7778
 
7376
7779
fi
7377
7780
fi
7378
7781
AR=$ac_cv_prog_AR
7379
7782
if test -n "$AR"; then
7380
 
  echo "$as_me:$LINENO: result: $AR" >&5
7381
 
echo "${ECHO_T}$AR" >&6
 
7783
  { echo "$as_me:$LINENO: result: $AR" >&5
 
7784
echo "${ECHO_T}$AR" >&6; }
7382
7785
else
7383
 
  echo "$as_me:$LINENO: result: no" >&5
7384
 
echo "${ECHO_T}no" >&6
 
7786
  { echo "$as_me:$LINENO: result: no" >&5
 
7787
echo "${ECHO_T}no" >&6; }
7385
7788
fi
7386
7789
 
 
7790
 
7387
7791
    STLIB_LD='${AR} cr'
7388
7792
    LD_LIBRARY_PATH_VAR="LD_LIBRARY_PATH"
7389
7793
    case $system in
7417
7821
echo "$as_me: WARNING: Ensure latest Platform SDK is installed" >&2;}
7418
7822
                    do64bit="no"
7419
7823
                else
7420
 
                    echo "$as_me:$LINENO: result:    Using 64-bit $MACHINE mode" >&5
7421
 
echo "${ECHO_T}   Using 64-bit $MACHINE mode" >&6
 
7824
                    { echo "$as_me:$LINENO: result:    Using 64-bit $MACHINE mode" >&5
 
7825
echo "${ECHO_T}   Using 64-bit $MACHINE mode" >&6; }
7422
7826
                    do64bit_ok="yes"
7423
7827
                fi
7424
7828
            fi
7442
7846
        # we reset no_celib in case something fails here
7443
7847
        no_celib=true
7444
7848
 
7445
 
# Check whether --with-celib or --without-celib was given.
 
7849
# Check whether --with-celib was given.
7446
7850
if test "${with_celib+set}" = set; then
7447
 
  withval="$with_celib"
7448
 
  with_celibconfig=${withval}
7449
 
fi;
7450
 
        echo "$as_me:$LINENO: checking for Windows/CE celib directory" >&5
7451
 
echo $ECHO_N "checking for Windows/CE celib directory... $ECHO_C" >&6
 
7851
  withval=$with_celib; with_celibconfig=${withval}
 
7852
fi
 
7853
 
 
7854
        { echo "$as_me:$LINENO: checking for Windows/CE celib directory" >&5
 
7855
echo $ECHO_N "checking for Windows/CE celib directory... $ECHO_C" >&6; }
7452
7856
        if test "${ac_cv_c_celibconfig+set}" = set; then
7453
7857
  echo $ECHO_N "(cached) $ECHO_C" >&6
7454
7858
else
7493
7897
            no_celib=
7494
7898
            CELIB_DIR=${ac_cv_c_celibconfig}
7495
7899
            CELIB_DIR=`echo "$CELIB_DIR" | sed -e 's!\\\!/!g'`
7496
 
            echo "$as_me:$LINENO: result: found $CELIB_DIR" >&5
7497
 
echo "${ECHO_T}found $CELIB_DIR" >&6
 
7900
            { echo "$as_me:$LINENO: result: found $CELIB_DIR" >&5
 
7901
echo "${ECHO_T}found $CELIB_DIR" >&6; }
7498
7902
        fi
7499
7903
    fi
7500
7904
 
7675
8079
                        CC=${CC}_r
7676
8080
                        ;;
7677
8081
                esac
7678
 
                echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
7679
 
echo "${ECHO_T}Using $CC for compiling with threads" >&6
 
8082
                { echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
 
8083
echo "${ECHO_T}Using $CC for compiling with threads" >&6; }
7680
8084
            fi
7681
8085
            LIBS="$LIBS -lc"
7682
8086
            SHLIB_CFLAGS=""
7728
8132
 
7729
8133
            # AIX v<=4.1 has some different flags than 4.2+
7730
8134
            if test "$system" = "AIX-4.1" -o "`uname -v`" -lt "4" ; then
7731
 
                case $LIBOBJS in
7732
 
    "tclLoadAix.$ac_objext"   | \
7733
 
  *" tclLoadAix.$ac_objext"   | \
7734
 
    "tclLoadAix.$ac_objext "* | \
 
8135
                case " $LIBOBJS " in
7735
8136
  *" tclLoadAix.$ac_objext "* ) ;;
7736
 
  *) LIBOBJS="$LIBOBJS tclLoadAix.$ac_objext" ;;
 
8137
  *) LIBOBJS="$LIBOBJS tclLoadAix.$ac_objext"
 
8138
 ;;
7737
8139
esac
7738
8140
 
7739
8141
                DL_LIBS="-lld"
7751
8153
            # deduce the timezone by comparing the localtime result on a
7752
8154
            # known GMT value.
7753
8155
 
7754
 
            echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
7755
 
echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6
 
8156
            { echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
 
8157
echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6; }
7756
8158
if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then
7757
8159
  echo $ECHO_N "(cached) $ECHO_C" >&6
7758
8160
else
7765
8167
cat >>conftest.$ac_ext <<_ACEOF
7766
8168
/* end confdefs.h.  */
7767
8169
 
7768
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
8170
/* Override any GCC internal prototype to avoid an error.
 
8171
   Use char because int might match the return type of a GCC
 
8172
   builtin and then its argument prototype would still apply.  */
7769
8173
#ifdef __cplusplus
7770
8174
extern "C"
7771
8175
#endif
7772
 
/* We use char because int might match the return type of a gcc2
7773
 
   builtin and then its argument prototype would still apply.  */
7774
8176
char gettimeofday ();
7775
8177
int
7776
8178
main ()
7777
8179
{
7778
 
gettimeofday ();
 
8180
return gettimeofday ();
7779
8181
  ;
7780
8182
  return 0;
7781
8183
}
7782
8184
_ACEOF
7783
8185
rm -f conftest.$ac_objext conftest$ac_exeext
7784
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7785
 
  (eval $ac_link) 2>conftest.er1
 
8186
if { (ac_try="$ac_link"
 
8187
case "(($ac_try" in
 
8188
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8189
  *) ac_try_echo=$ac_try;;
 
8190
esac
 
8191
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8192
  (eval "$ac_link") 2>conftest.er1
7786
8193
  ac_status=$?
7787
8194
  grep -v '^ *+' conftest.er1 >conftest.err
7788
8195
  rm -f conftest.er1
7789
8196
  cat conftest.err >&5
7790
8197
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7791
 
  (exit $ac_status); } &&
7792
 
         { ac_try='test -z "$ac_c_werror_flag"
7793
 
                         || test ! -s conftest.err'
7794
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7795
 
  (eval $ac_try) 2>&5
7796
 
  ac_status=$?
7797
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7798
 
  (exit $ac_status); }; } &&
7799
 
         { ac_try='test -s conftest$ac_exeext'
7800
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7801
 
  (eval $ac_try) 2>&5
7802
 
  ac_status=$?
7803
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7804
 
  (exit $ac_status); }; }; then
 
8198
  (exit $ac_status); } && {
 
8199
         test -z "$ac_c_werror_flag" ||
 
8200
         test ! -s conftest.err
 
8201
       } && test -s conftest$ac_exeext &&
 
8202
       $as_test_x conftest$ac_exeext; then
7805
8203
  ac_cv_lib_bsd_gettimeofday=yes
7806
8204
else
7807
8205
  echo "$as_me: failed program was:" >&5
7808
8206
sed 's/^/| /' conftest.$ac_ext >&5
7809
8207
 
7810
 
ac_cv_lib_bsd_gettimeofday=no
 
8208
        ac_cv_lib_bsd_gettimeofday=no
7811
8209
fi
7812
 
rm -f conftest.err conftest.$ac_objext \
 
8210
 
 
8211
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7813
8212
      conftest$ac_exeext conftest.$ac_ext
7814
8213
LIBS=$ac_check_lib_save_LIBS
7815
8214
fi
7816
 
echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
7817
 
echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6
 
8215
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
 
8216
echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6; }
7818
8217
if test $ac_cv_lib_bsd_gettimeofday = yes; then
7819
8218
  libbsd=yes
7820
8219
else
7843
8242
            # -lsocket, even if the network functions are in -lnet which
7844
8243
            # is always linked to, for compatibility.
7845
8244
            #-----------------------------------------------------------
7846
 
            echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
7847
 
echo $ECHO_N "checking for inet_ntoa in -lbind... $ECHO_C" >&6
 
8245
            { echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
 
8246
echo $ECHO_N "checking for inet_ntoa in -lbind... $ECHO_C" >&6; }
7848
8247
if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then
7849
8248
  echo $ECHO_N "(cached) $ECHO_C" >&6
7850
8249
else
7857
8256
cat >>conftest.$ac_ext <<_ACEOF
7858
8257
/* end confdefs.h.  */
7859
8258
 
7860
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
8259
/* Override any GCC internal prototype to avoid an error.
 
8260
   Use char because int might match the return type of a GCC
 
8261
   builtin and then its argument prototype would still apply.  */
7861
8262
#ifdef __cplusplus
7862
8263
extern "C"
7863
8264
#endif
7864
 
/* We use char because int might match the return type of a gcc2
7865
 
   builtin and then its argument prototype would still apply.  */
7866
8265
char inet_ntoa ();
7867
8266
int
7868
8267
main ()
7869
8268
{
7870
 
inet_ntoa ();
 
8269
return inet_ntoa ();
7871
8270
  ;
7872
8271
  return 0;
7873
8272
}
7874
8273
_ACEOF
7875
8274
rm -f conftest.$ac_objext conftest$ac_exeext
7876
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7877
 
  (eval $ac_link) 2>conftest.er1
 
8275
if { (ac_try="$ac_link"
 
8276
case "(($ac_try" in
 
8277
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8278
  *) ac_try_echo=$ac_try;;
 
8279
esac
 
8280
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8281
  (eval "$ac_link") 2>conftest.er1
7878
8282
  ac_status=$?
7879
8283
  grep -v '^ *+' conftest.er1 >conftest.err
7880
8284
  rm -f conftest.er1
7881
8285
  cat conftest.err >&5
7882
8286
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7883
 
  (exit $ac_status); } &&
7884
 
         { ac_try='test -z "$ac_c_werror_flag"
7885
 
                         || test ! -s conftest.err'
7886
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7887
 
  (eval $ac_try) 2>&5
7888
 
  ac_status=$?
7889
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7890
 
  (exit $ac_status); }; } &&
7891
 
         { ac_try='test -s conftest$ac_exeext'
7892
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7893
 
  (eval $ac_try) 2>&5
7894
 
  ac_status=$?
7895
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7896
 
  (exit $ac_status); }; }; then
 
8287
  (exit $ac_status); } && {
 
8288
         test -z "$ac_c_werror_flag" ||
 
8289
         test ! -s conftest.err
 
8290
       } && test -s conftest$ac_exeext &&
 
8291
       $as_test_x conftest$ac_exeext; then
7897
8292
  ac_cv_lib_bind_inet_ntoa=yes
7898
8293
else
7899
8294
  echo "$as_me: failed program was:" >&5
7900
8295
sed 's/^/| /' conftest.$ac_ext >&5
7901
8296
 
7902
 
ac_cv_lib_bind_inet_ntoa=no
 
8297
        ac_cv_lib_bind_inet_ntoa=no
7903
8298
fi
7904
 
rm -f conftest.err conftest.$ac_objext \
 
8299
 
 
8300
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7905
8301
      conftest$ac_exeext conftest.$ac_ext
7906
8302
LIBS=$ac_check_lib_save_LIBS
7907
8303
fi
7908
 
echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
7909
 
echo "${ECHO_T}$ac_cv_lib_bind_inet_ntoa" >&6
 
8304
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
 
8305
echo "${ECHO_T}$ac_cv_lib_bind_inet_ntoa" >&6; }
7910
8306
if test $ac_cv_lib_bind_inet_ntoa = yes; then
7911
8307
  LIBS="$LIBS -lbind -lsocket"
7912
8308
fi
7959
8355
            else
7960
8356
                SHLIB_SUFFIX=".sl"
7961
8357
            fi
7962
 
            echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
7963
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
8358
            { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
8359
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
7964
8360
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
7965
8361
  echo $ECHO_N "(cached) $ECHO_C" >&6
7966
8362
else
7973
8369
cat >>conftest.$ac_ext <<_ACEOF
7974
8370
/* end confdefs.h.  */
7975
8371
 
7976
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
8372
/* Override any GCC internal prototype to avoid an error.
 
8373
   Use char because int might match the return type of a GCC
 
8374
   builtin and then its argument prototype would still apply.  */
7977
8375
#ifdef __cplusplus
7978
8376
extern "C"
7979
8377
#endif
7980
 
/* We use char because int might match the return type of a gcc2
7981
 
   builtin and then its argument prototype would still apply.  */
7982
8378
char shl_load ();
7983
8379
int
7984
8380
main ()
7985
8381
{
7986
 
shl_load ();
 
8382
return shl_load ();
7987
8383
  ;
7988
8384
  return 0;
7989
8385
}
7990
8386
_ACEOF
7991
8387
rm -f conftest.$ac_objext conftest$ac_exeext
7992
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7993
 
  (eval $ac_link) 2>conftest.er1
 
8388
if { (ac_try="$ac_link"
 
8389
case "(($ac_try" in
 
8390
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8391
  *) ac_try_echo=$ac_try;;
 
8392
esac
 
8393
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8394
  (eval "$ac_link") 2>conftest.er1
7994
8395
  ac_status=$?
7995
8396
  grep -v '^ *+' conftest.er1 >conftest.err
7996
8397
  rm -f conftest.er1
7997
8398
  cat conftest.err >&5
7998
8399
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7999
 
  (exit $ac_status); } &&
8000
 
         { ac_try='test -z "$ac_c_werror_flag"
8001
 
                         || test ! -s conftest.err'
8002
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8003
 
  (eval $ac_try) 2>&5
8004
 
  ac_status=$?
8005
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8006
 
  (exit $ac_status); }; } &&
8007
 
         { ac_try='test -s conftest$ac_exeext'
8008
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8009
 
  (eval $ac_try) 2>&5
8010
 
  ac_status=$?
8011
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8012
 
  (exit $ac_status); }; }; then
 
8400
  (exit $ac_status); } && {
 
8401
         test -z "$ac_c_werror_flag" ||
 
8402
         test ! -s conftest.err
 
8403
       } && test -s conftest$ac_exeext &&
 
8404
       $as_test_x conftest$ac_exeext; then
8013
8405
  ac_cv_lib_dld_shl_load=yes
8014
8406
else
8015
8407
  echo "$as_me: failed program was:" >&5
8016
8408
sed 's/^/| /' conftest.$ac_ext >&5
8017
8409
 
8018
 
ac_cv_lib_dld_shl_load=no
 
8410
        ac_cv_lib_dld_shl_load=no
8019
8411
fi
8020
 
rm -f conftest.err conftest.$ac_objext \
 
8412
 
 
8413
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8021
8414
      conftest$ac_exeext conftest.$ac_ext
8022
8415
LIBS=$ac_check_lib_save_LIBS
8023
8416
fi
8024
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8025
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
8417
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
8418
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
8026
8419
if test $ac_cv_lib_dld_shl_load = yes; then
8027
8420
  tcl_ok=yes
8028
8421
else
8076
8469
            ;;
8077
8470
        HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*)
8078
8471
            SHLIB_SUFFIX=".sl"
8079
 
            echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8080
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
8472
            { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
8473
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
8081
8474
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8082
8475
  echo $ECHO_N "(cached) $ECHO_C" >&6
8083
8476
else
8090
8483
cat >>conftest.$ac_ext <<_ACEOF
8091
8484
/* end confdefs.h.  */
8092
8485
 
8093
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
8486
/* Override any GCC internal prototype to avoid an error.
 
8487
   Use char because int might match the return type of a GCC
 
8488
   builtin and then its argument prototype would still apply.  */
8094
8489
#ifdef __cplusplus
8095
8490
extern "C"
8096
8491
#endif
8097
 
/* We use char because int might match the return type of a gcc2
8098
 
   builtin and then its argument prototype would still apply.  */
8099
8492
char shl_load ();
8100
8493
int
8101
8494
main ()
8102
8495
{
8103
 
shl_load ();
 
8496
return shl_load ();
8104
8497
  ;
8105
8498
  return 0;
8106
8499
}
8107
8500
_ACEOF
8108
8501
rm -f conftest.$ac_objext conftest$ac_exeext
8109
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8110
 
  (eval $ac_link) 2>conftest.er1
 
8502
if { (ac_try="$ac_link"
 
8503
case "(($ac_try" in
 
8504
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8505
  *) ac_try_echo=$ac_try;;
 
8506
esac
 
8507
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8508
  (eval "$ac_link") 2>conftest.er1
8111
8509
  ac_status=$?
8112
8510
  grep -v '^ *+' conftest.er1 >conftest.err
8113
8511
  rm -f conftest.er1
8114
8512
  cat conftest.err >&5
8115
8513
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8116
 
  (exit $ac_status); } &&
8117
 
         { ac_try='test -z "$ac_c_werror_flag"
8118
 
                         || test ! -s conftest.err'
8119
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8120
 
  (eval $ac_try) 2>&5
8121
 
  ac_status=$?
8122
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8123
 
  (exit $ac_status); }; } &&
8124
 
         { ac_try='test -s conftest$ac_exeext'
8125
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8126
 
  (eval $ac_try) 2>&5
8127
 
  ac_status=$?
8128
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8129
 
  (exit $ac_status); }; }; then
 
8514
  (exit $ac_status); } && {
 
8515
         test -z "$ac_c_werror_flag" ||
 
8516
         test ! -s conftest.err
 
8517
       } && test -s conftest$ac_exeext &&
 
8518
       $as_test_x conftest$ac_exeext; then
8130
8519
  ac_cv_lib_dld_shl_load=yes
8131
8520
else
8132
8521
  echo "$as_me: failed program was:" >&5
8133
8522
sed 's/^/| /' conftest.$ac_ext >&5
8134
8523
 
8135
 
ac_cv_lib_dld_shl_load=no
 
8524
        ac_cv_lib_dld_shl_load=no
8136
8525
fi
8137
 
rm -f conftest.err conftest.$ac_objext \
 
8526
 
 
8527
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8138
8528
      conftest$ac_exeext conftest.$ac_ext
8139
8529
LIBS=$ac_check_lib_save_LIBS
8140
8530
fi
8141
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8142
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
8531
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
8532
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
8143
8533
if test $ac_cv_lib_dld_shl_load = yes; then
8144
8534
  tcl_ok=yes
8145
8535
else
8239
8629
                CFLAGS="$CFLAGS -mieee"
8240
8630
            fi
8241
8631
            if test $do64bit = yes; then
8242
 
                echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
8243
 
echo $ECHO_N "checking if compiler accepts -m64 flag... $ECHO_C" >&6
 
8632
                { echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
 
8633
echo $ECHO_N "checking if compiler accepts -m64 flag... $ECHO_C" >&6; }
8244
8634
if test "${tcl_cv_cc_m64+set}" = set; then
8245
8635
  echo $ECHO_N "(cached) $ECHO_C" >&6
8246
8636
else
8263
8653
}
8264
8654
_ACEOF
8265
8655
rm -f conftest.$ac_objext conftest$ac_exeext
8266
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8267
 
  (eval $ac_link) 2>conftest.er1
 
8656
if { (ac_try="$ac_link"
 
8657
case "(($ac_try" in
 
8658
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8659
  *) ac_try_echo=$ac_try;;
 
8660
esac
 
8661
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8662
  (eval "$ac_link") 2>conftest.er1
8268
8663
  ac_status=$?
8269
8664
  grep -v '^ *+' conftest.er1 >conftest.err
8270
8665
  rm -f conftest.er1
8271
8666
  cat conftest.err >&5
8272
8667
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8273
 
  (exit $ac_status); } &&
8274
 
         { ac_try='test -z "$ac_c_werror_flag"
8275
 
                         || test ! -s conftest.err'
8276
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8277
 
  (eval $ac_try) 2>&5
8278
 
  ac_status=$?
8279
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8280
 
  (exit $ac_status); }; } &&
8281
 
         { ac_try='test -s conftest$ac_exeext'
8282
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8283
 
  (eval $ac_try) 2>&5
8284
 
  ac_status=$?
8285
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8286
 
  (exit $ac_status); }; }; then
 
8668
  (exit $ac_status); } && {
 
8669
         test -z "$ac_c_werror_flag" ||
 
8670
         test ! -s conftest.err
 
8671
       } && test -s conftest$ac_exeext &&
 
8672
       $as_test_x conftest$ac_exeext; then
8287
8673
  tcl_cv_cc_m64=yes
8288
8674
else
8289
8675
  echo "$as_me: failed program was:" >&5
8290
8676
sed 's/^/| /' conftest.$ac_ext >&5
8291
8677
 
8292
 
tcl_cv_cc_m64=no
 
8678
        tcl_cv_cc_m64=no
8293
8679
fi
8294
 
rm -f conftest.err conftest.$ac_objext \
 
8680
 
 
8681
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8295
8682
      conftest$ac_exeext conftest.$ac_ext
8296
8683
                    CFLAGS=$hold_cflags
8297
8684
fi
8298
 
echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5
8299
 
echo "${ECHO_T}$tcl_cv_cc_m64" >&6
 
8685
{ echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5
 
8686
echo "${ECHO_T}$tcl_cv_cc_m64" >&6; }
8300
8687
                if test $tcl_cv_cc_m64 = yes; then
8301
8688
                    CFLAGS="$CFLAGS -m64"
8302
8689
                    do64bit_ok=yes
8373
8760
            DL_LIBS=""
8374
8761
            CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
8375
8762
            LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
8376
 
            echo "$as_me:$LINENO: checking for ELF" >&5
8377
 
echo $ECHO_N "checking for ELF... $ECHO_C" >&6
 
8763
            { echo "$as_me:$LINENO: checking for ELF" >&5
 
8764
echo $ECHO_N "checking for ELF... $ECHO_C" >&6; }
8378
8765
if test "${tcl_cv_ld_elf+set}" = set; then
8379
8766
  echo $ECHO_N "(cached) $ECHO_C" >&6
8380
8767
else
8400
8787
rm -f conftest*
8401
8788
 
8402
8789
fi
8403
 
echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
8404
 
echo "${ECHO_T}$tcl_cv_ld_elf" >&6
 
8790
{ echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
 
8791
echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }
8405
8792
            if test $tcl_cv_ld_elf = yes; then
8406
8793
                SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so'
8407
8794
            else
8429
8816
            CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
8430
8817
            LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
8431
8818
            SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0'
8432
 
            echo "$as_me:$LINENO: checking for ELF" >&5
8433
 
echo $ECHO_N "checking for ELF... $ECHO_C" >&6
 
8819
            { echo "$as_me:$LINENO: checking for ELF" >&5
 
8820
echo $ECHO_N "checking for ELF... $ECHO_C" >&6; }
8434
8821
if test "${tcl_cv_ld_elf+set}" = set; then
8435
8822
  echo $ECHO_N "(cached) $ECHO_C" >&6
8436
8823
else
8456
8843
rm -f conftest*
8457
8844
 
8458
8845
fi
8459
 
echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
8460
 
echo "${ECHO_T}$tcl_cv_ld_elf" >&6
 
8846
{ echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
 
8847
echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }
8461
8848
            if test $tcl_cv_ld_elf = yes; then
8462
8849
                LDFLAGS=-Wl,-export-dynamic
8463
8850
            else
8509
8896
            if test $do64bit = yes; then
8510
8897
                case `arch` in
8511
8898
                    ppc)
8512
 
                        echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5
8513
 
echo $ECHO_N "checking if compiler accepts -arch ppc64 flag... $ECHO_C" >&6
 
8899
                        { echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5
 
8900
echo $ECHO_N "checking if compiler accepts -arch ppc64 flag... $ECHO_C" >&6; }
8514
8901
if test "${tcl_cv_cc_arch_ppc64+set}" = set; then
8515
8902
  echo $ECHO_N "(cached) $ECHO_C" >&6
8516
8903
else
8533
8920
}
8534
8921
_ACEOF
8535
8922
rm -f conftest.$ac_objext conftest$ac_exeext
8536
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8537
 
  (eval $ac_link) 2>conftest.er1
 
8923
if { (ac_try="$ac_link"
 
8924
case "(($ac_try" in
 
8925
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8926
  *) ac_try_echo=$ac_try;;
 
8927
esac
 
8928
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8929
  (eval "$ac_link") 2>conftest.er1
8538
8930
  ac_status=$?
8539
8931
  grep -v '^ *+' conftest.er1 >conftest.err
8540
8932
  rm -f conftest.er1
8541
8933
  cat conftest.err >&5
8542
8934
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8543
 
  (exit $ac_status); } &&
8544
 
         { ac_try='test -z "$ac_c_werror_flag"
8545
 
                         || test ! -s conftest.err'
8546
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8547
 
  (eval $ac_try) 2>&5
8548
 
  ac_status=$?
8549
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8550
 
  (exit $ac_status); }; } &&
8551
 
         { ac_try='test -s conftest$ac_exeext'
8552
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8553
 
  (eval $ac_try) 2>&5
8554
 
  ac_status=$?
8555
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8556
 
  (exit $ac_status); }; }; then
 
8935
  (exit $ac_status); } && {
 
8936
         test -z "$ac_c_werror_flag" ||
 
8937
         test ! -s conftest.err
 
8938
       } && test -s conftest$ac_exeext &&
 
8939
       $as_test_x conftest$ac_exeext; then
8557
8940
  tcl_cv_cc_arch_ppc64=yes
8558
8941
else
8559
8942
  echo "$as_me: failed program was:" >&5
8560
8943
sed 's/^/| /' conftest.$ac_ext >&5
8561
8944
 
8562
 
tcl_cv_cc_arch_ppc64=no
 
8945
        tcl_cv_cc_arch_ppc64=no
8563
8946
fi
8564
 
rm -f conftest.err conftest.$ac_objext \
 
8947
 
 
8948
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8565
8949
      conftest$ac_exeext conftest.$ac_ext
8566
8950
                            CFLAGS=$hold_cflags
8567
8951
fi
8568
 
echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5
8569
 
echo "${ECHO_T}$tcl_cv_cc_arch_ppc64" >&6
 
8952
{ echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5
 
8953
echo "${ECHO_T}$tcl_cv_cc_arch_ppc64" >&6; }
8570
8954
                        if test $tcl_cv_cc_arch_ppc64 = yes; then
8571
8955
                            CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
8572
8956
                            do64bit_ok=yes
8573
8957
                        fi;;
8574
8958
                    i386)
8575
 
                        echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5
8576
 
echo $ECHO_N "checking if compiler accepts -arch x86_64 flag... $ECHO_C" >&6
 
8959
                        { echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5
 
8960
echo $ECHO_N "checking if compiler accepts -arch x86_64 flag... $ECHO_C" >&6; }
8577
8961
if test "${tcl_cv_cc_arch_x86_64+set}" = set; then
8578
8962
  echo $ECHO_N "(cached) $ECHO_C" >&6
8579
8963
else
8596
8980
}
8597
8981
_ACEOF
8598
8982
rm -f conftest.$ac_objext conftest$ac_exeext
8599
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8600
 
  (eval $ac_link) 2>conftest.er1
 
8983
if { (ac_try="$ac_link"
 
8984
case "(($ac_try" in
 
8985
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8986
  *) ac_try_echo=$ac_try;;
 
8987
esac
 
8988
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8989
  (eval "$ac_link") 2>conftest.er1
8601
8990
  ac_status=$?
8602
8991
  grep -v '^ *+' conftest.er1 >conftest.err
8603
8992
  rm -f conftest.er1
8604
8993
  cat conftest.err >&5
8605
8994
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8606
 
  (exit $ac_status); } &&
8607
 
         { ac_try='test -z "$ac_c_werror_flag"
8608
 
                         || test ! -s conftest.err'
8609
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8610
 
  (eval $ac_try) 2>&5
8611
 
  ac_status=$?
8612
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8613
 
  (exit $ac_status); }; } &&
8614
 
         { ac_try='test -s conftest$ac_exeext'
8615
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8616
 
  (eval $ac_try) 2>&5
8617
 
  ac_status=$?
8618
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8619
 
  (exit $ac_status); }; }; then
 
8995
  (exit $ac_status); } && {
 
8996
         test -z "$ac_c_werror_flag" ||
 
8997
         test ! -s conftest.err
 
8998
       } && test -s conftest$ac_exeext &&
 
8999
       $as_test_x conftest$ac_exeext; then
8620
9000
  tcl_cv_cc_arch_x86_64=yes
8621
9001
else
8622
9002
  echo "$as_me: failed program was:" >&5
8623
9003
sed 's/^/| /' conftest.$ac_ext >&5
8624
9004
 
8625
 
tcl_cv_cc_arch_x86_64=no
 
9005
        tcl_cv_cc_arch_x86_64=no
8626
9006
fi
8627
 
rm -f conftest.err conftest.$ac_objext \
 
9007
 
 
9008
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8628
9009
      conftest$ac_exeext conftest.$ac_ext
8629
9010
                            CFLAGS=$hold_cflags
8630
9011
fi
8631
 
echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5
8632
 
echo "${ECHO_T}$tcl_cv_cc_arch_x86_64" >&6
 
9012
{ echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5
 
9013
echo "${ECHO_T}$tcl_cv_cc_arch_x86_64" >&6; }
8633
9014
                        if test $tcl_cv_cc_arch_x86_64 = yes; then
8634
9015
                            CFLAGS="$CFLAGS -arch x86_64"
8635
9016
                            do64bit_ok=yes
8646
9027
            fi
8647
9028
            # TEA specific: use LDFLAGS_DEFAULT instead of LDFLAGS here:
8648
9029
            SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS_DEFAULT}'
8649
 
            echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
8650
 
echo $ECHO_N "checking if ld accepts -single_module flag... $ECHO_C" >&6
 
9030
            { echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
 
9031
echo $ECHO_N "checking if ld accepts -single_module flag... $ECHO_C" >&6; }
8651
9032
if test "${tcl_cv_ld_single_module+set}" = set; then
8652
9033
  echo $ECHO_N "(cached) $ECHO_C" >&6
8653
9034
else
8670
9051
}
8671
9052
_ACEOF
8672
9053
rm -f conftest.$ac_objext conftest$ac_exeext
8673
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8674
 
  (eval $ac_link) 2>conftest.er1
 
9054
if { (ac_try="$ac_link"
 
9055
case "(($ac_try" in
 
9056
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9057
  *) ac_try_echo=$ac_try;;
 
9058
esac
 
9059
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9060
  (eval "$ac_link") 2>conftest.er1
8675
9061
  ac_status=$?
8676
9062
  grep -v '^ *+' conftest.er1 >conftest.err
8677
9063
  rm -f conftest.er1
8678
9064
  cat conftest.err >&5
8679
9065
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680
 
  (exit $ac_status); } &&
8681
 
         { ac_try='test -z "$ac_c_werror_flag"
8682
 
                         || test ! -s conftest.err'
8683
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8684
 
  (eval $ac_try) 2>&5
8685
 
  ac_status=$?
8686
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8687
 
  (exit $ac_status); }; } &&
8688
 
         { ac_try='test -s conftest$ac_exeext'
8689
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8690
 
  (eval $ac_try) 2>&5
8691
 
  ac_status=$?
8692
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8693
 
  (exit $ac_status); }; }; then
 
9066
  (exit $ac_status); } && {
 
9067
         test -z "$ac_c_werror_flag" ||
 
9068
         test ! -s conftest.err
 
9069
       } && test -s conftest$ac_exeext &&
 
9070
       $as_test_x conftest$ac_exeext; then
8694
9071
  tcl_cv_ld_single_module=yes
8695
9072
else
8696
9073
  echo "$as_me: failed program was:" >&5
8697
9074
sed 's/^/| /' conftest.$ac_ext >&5
8698
9075
 
8699
 
tcl_cv_ld_single_module=no
 
9076
        tcl_cv_ld_single_module=no
8700
9077
fi
8701
 
rm -f conftest.err conftest.$ac_objext \
 
9078
 
 
9079
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8702
9080
      conftest$ac_exeext conftest.$ac_ext
8703
9081
                LDFLAGS=$hold_ldflags
8704
9082
fi
8705
 
echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
8706
 
echo "${ECHO_T}$tcl_cv_ld_single_module" >&6
 
9083
{ echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
 
9084
echo "${ECHO_T}$tcl_cv_ld_single_module" >&6; }
8707
9085
            if test $tcl_cv_ld_single_module = yes; then
8708
9086
                SHLIB_LD="${SHLIB_LD} -Wl,-single_module"
8709
9087
            fi
8716
9094
                "`echo "${CPPFLAGS}" | awk -F '-mmacosx-version-min=10\\.' '{print int($2)}'`" -lt 4 && \
8717
9095
                LDFLAGS="$LDFLAGS -prebind"
8718
9096
            LDFLAGS="$LDFLAGS -headerpad_max_install_names"
8719
 
            echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
8720
 
echo $ECHO_N "checking if ld accepts -search_paths_first flag... $ECHO_C" >&6
 
9097
            { echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
 
9098
echo $ECHO_N "checking if ld accepts -search_paths_first flag... $ECHO_C" >&6; }
8721
9099
if test "${tcl_cv_ld_search_paths_first+set}" = set; then
8722
9100
  echo $ECHO_N "(cached) $ECHO_C" >&6
8723
9101
else
8740
9118
}
8741
9119
_ACEOF
8742
9120
rm -f conftest.$ac_objext conftest$ac_exeext
8743
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8744
 
  (eval $ac_link) 2>conftest.er1
 
9121
if { (ac_try="$ac_link"
 
9122
case "(($ac_try" in
 
9123
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9124
  *) ac_try_echo=$ac_try;;
 
9125
esac
 
9126
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9127
  (eval "$ac_link") 2>conftest.er1
8745
9128
  ac_status=$?
8746
9129
  grep -v '^ *+' conftest.er1 >conftest.err
8747
9130
  rm -f conftest.er1
8748
9131
  cat conftest.err >&5
8749
9132
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8750
 
  (exit $ac_status); } &&
8751
 
         { ac_try='test -z "$ac_c_werror_flag"
8752
 
                         || test ! -s conftest.err'
8753
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8754
 
  (eval $ac_try) 2>&5
8755
 
  ac_status=$?
8756
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8757
 
  (exit $ac_status); }; } &&
8758
 
         { ac_try='test -s conftest$ac_exeext'
8759
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8760
 
  (eval $ac_try) 2>&5
8761
 
  ac_status=$?
8762
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8763
 
  (exit $ac_status); }; }; then
 
9133
  (exit $ac_status); } && {
 
9134
         test -z "$ac_c_werror_flag" ||
 
9135
         test ! -s conftest.err
 
9136
       } && test -s conftest$ac_exeext &&
 
9137
       $as_test_x conftest$ac_exeext; then
8764
9138
  tcl_cv_ld_search_paths_first=yes
8765
9139
else
8766
9140
  echo "$as_me: failed program was:" >&5
8767
9141
sed 's/^/| /' conftest.$ac_ext >&5
8768
9142
 
8769
 
tcl_cv_ld_search_paths_first=no
 
9143
        tcl_cv_ld_search_paths_first=no
8770
9144
fi
8771
 
rm -f conftest.err conftest.$ac_objext \
 
9145
 
 
9146
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8772
9147
      conftest$ac_exeext conftest.$ac_ext
8773
9148
                LDFLAGS=$hold_ldflags
8774
9149
fi
8775
 
echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
8776
 
echo "${ECHO_T}$tcl_cv_ld_search_paths_first" >&6
 
9150
{ echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
 
9151
echo "${ECHO_T}$tcl_cv_ld_search_paths_first" >&6; }
8777
9152
            if test $tcl_cv_ld_search_paths_first = yes; then
8778
9153
                LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
8779
9154
            fi
9057
9432
            DL_LIBS="-ldl"
9058
9433
            # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers
9059
9434
            # that don't grok the -Bexport option.  Test that it does.
9060
 
            echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
9061
 
echo $ECHO_N "checking for ld accepts -Bexport flag... $ECHO_C" >&6
 
9435
            { echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
 
9436
echo $ECHO_N "checking for ld accepts -Bexport flag... $ECHO_C" >&6; }
9062
9437
if test "${tcl_cv_ld_Bexport+set}" = set; then
9063
9438
  echo $ECHO_N "(cached) $ECHO_C" >&6
9064
9439
else
9081
9456
}
9082
9457
_ACEOF
9083
9458
rm -f conftest.$ac_objext conftest$ac_exeext
9084
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9085
 
  (eval $ac_link) 2>conftest.er1
 
9459
if { (ac_try="$ac_link"
 
9460
case "(($ac_try" in
 
9461
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9462
  *) ac_try_echo=$ac_try;;
 
9463
esac
 
9464
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9465
  (eval "$ac_link") 2>conftest.er1
9086
9466
  ac_status=$?
9087
9467
  grep -v '^ *+' conftest.er1 >conftest.err
9088
9468
  rm -f conftest.er1
9089
9469
  cat conftest.err >&5
9090
9470
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9091
 
  (exit $ac_status); } &&
9092
 
         { ac_try='test -z "$ac_c_werror_flag"
9093
 
                         || test ! -s conftest.err'
9094
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9095
 
  (eval $ac_try) 2>&5
9096
 
  ac_status=$?
9097
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9098
 
  (exit $ac_status); }; } &&
9099
 
         { ac_try='test -s conftest$ac_exeext'
9100
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9101
 
  (eval $ac_try) 2>&5
9102
 
  ac_status=$?
9103
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9104
 
  (exit $ac_status); }; }; then
 
9471
  (exit $ac_status); } && {
 
9472
         test -z "$ac_c_werror_flag" ||
 
9473
         test ! -s conftest.err
 
9474
       } && test -s conftest$ac_exeext &&
 
9475
       $as_test_x conftest$ac_exeext; then
9105
9476
  tcl_cv_ld_Bexport=yes
9106
9477
else
9107
9478
  echo "$as_me: failed program was:" >&5
9108
9479
sed 's/^/| /' conftest.$ac_ext >&5
9109
9480
 
9110
 
tcl_cv_ld_Bexport=no
 
9481
        tcl_cv_ld_Bexport=no
9111
9482
fi
9112
 
rm -f conftest.err conftest.$ac_objext \
 
9483
 
 
9484
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9113
9485
      conftest$ac_exeext conftest.$ac_ext
9114
9486
                LDFLAGS=$hold_ldflags
9115
9487
fi
9116
 
echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
9117
 
echo "${ECHO_T}$tcl_cv_ld_Bexport" >&6
 
9488
{ echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
 
9489
echo "${ECHO_T}$tcl_cv_ld_Bexport" >&6; }
9118
9490
            if test $tcl_cv_ld_Bexport = yes; then
9119
9491
                LDFLAGS="$LDFLAGS -Wl,-Bexport"
9120
9492
            fi
9132
9504
 
9133
9505
    # Step 4: disable dynamic loading if requested via a command-line switch.
9134
9506
 
9135
 
    # Check whether --enable-load or --disable-load was given.
 
9507
    # Check whether --enable-load was given.
9136
9508
if test "${enable_load+set}" = set; then
9137
 
  enableval="$enable_load"
9138
 
  tcl_ok=$enableval
 
9509
  enableval=$enable_load; tcl_ok=$enableval
9139
9510
else
9140
9511
  tcl_ok=yes
9141
 
fi;
 
9512
fi
 
9513
 
9142
9514
    if test "$tcl_ok" = "no"; then
9143
9515
        DL_OBJS=""
9144
9516
    fi
9212
9584
    # These must be called after we do the basic CFLAGS checks and
9213
9585
    # verify any possible 64-bit or similar switches are necessary
9214
9586
 
9215
 
    echo "$as_me:$LINENO: checking for required early compiler flags" >&5
9216
 
echo $ECHO_N "checking for required early compiler flags... $ECHO_C" >&6
 
9587
    { echo "$as_me:$LINENO: checking for required early compiler flags" >&5
 
9588
echo $ECHO_N "checking for required early compiler flags... $ECHO_C" >&6; }
9217
9589
    tcl_flags=""
9218
9590
 
9219
9591
    if test "${tcl_cv_flag__isoc99_source+set}" = set; then
9235
9607
}
9236
9608
_ACEOF
9237
9609
rm -f conftest.$ac_objext
9238
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9239
 
  (eval $ac_compile) 2>conftest.er1
 
9610
if { (ac_try="$ac_compile"
 
9611
case "(($ac_try" in
 
9612
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9613
  *) ac_try_echo=$ac_try;;
 
9614
esac
 
9615
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9616
  (eval "$ac_compile") 2>conftest.er1
9240
9617
  ac_status=$?
9241
9618
  grep -v '^ *+' conftest.er1 >conftest.err
9242
9619
  rm -f conftest.er1
9243
9620
  cat conftest.err >&5
9244
9621
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9245
 
  (exit $ac_status); } &&
9246
 
         { ac_try='test -z "$ac_c_werror_flag"
9247
 
                         || test ! -s conftest.err'
9248
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9249
 
  (eval $ac_try) 2>&5
9250
 
  ac_status=$?
9251
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9252
 
  (exit $ac_status); }; } &&
9253
 
         { ac_try='test -s conftest.$ac_objext'
9254
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9255
 
  (eval $ac_try) 2>&5
9256
 
  ac_status=$?
9257
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9258
 
  (exit $ac_status); }; }; then
 
9622
  (exit $ac_status); } && {
 
9623
         test -z "$ac_c_werror_flag" ||
 
9624
         test ! -s conftest.err
 
9625
       } && test -s conftest.$ac_objext; then
9259
9626
  tcl_cv_flag__isoc99_source=no
9260
9627
else
9261
9628
  echo "$as_me: failed program was:" >&5
9262
9629
sed 's/^/| /' conftest.$ac_ext >&5
9263
9630
 
9264
 
cat >conftest.$ac_ext <<_ACEOF
 
9631
        cat >conftest.$ac_ext <<_ACEOF
9265
9632
/* confdefs.h.  */
9266
9633
_ACEOF
9267
9634
cat confdefs.h >>conftest.$ac_ext
9278
9645
}
9279
9646
_ACEOF
9280
9647
rm -f conftest.$ac_objext
9281
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9282
 
  (eval $ac_compile) 2>conftest.er1
 
9648
if { (ac_try="$ac_compile"
 
9649
case "(($ac_try" in
 
9650
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9651
  *) ac_try_echo=$ac_try;;
 
9652
esac
 
9653
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9654
  (eval "$ac_compile") 2>conftest.er1
9283
9655
  ac_status=$?
9284
9656
  grep -v '^ *+' conftest.er1 >conftest.err
9285
9657
  rm -f conftest.er1
9286
9658
  cat conftest.err >&5
9287
9659
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9288
 
  (exit $ac_status); } &&
9289
 
         { ac_try='test -z "$ac_c_werror_flag"
9290
 
                         || test ! -s conftest.err'
9291
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9292
 
  (eval $ac_try) 2>&5
9293
 
  ac_status=$?
9294
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9295
 
  (exit $ac_status); }; } &&
9296
 
         { ac_try='test -s conftest.$ac_objext'
9297
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9298
 
  (eval $ac_try) 2>&5
9299
 
  ac_status=$?
9300
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301
 
  (exit $ac_status); }; }; then
 
9660
  (exit $ac_status); } && {
 
9661
         test -z "$ac_c_werror_flag" ||
 
9662
         test ! -s conftest.err
 
9663
       } && test -s conftest.$ac_objext; then
9302
9664
  tcl_cv_flag__isoc99_source=yes
9303
9665
else
9304
9666
  echo "$as_me: failed program was:" >&5
9305
9667
sed 's/^/| /' conftest.$ac_ext >&5
9306
9668
 
9307
 
tcl_cv_flag__isoc99_source=no
9308
 
fi
9309
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9310
 
fi
9311
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
9669
        tcl_cv_flag__isoc99_source=no
 
9670
fi
 
9671
 
 
9672
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9673
fi
 
9674
 
 
9675
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9312
9676
fi
9313
9677
 
9314
9678
    if test "x${tcl_cv_flag__isoc99_source}" = "xyes" ; then
9340
9704
}
9341
9705
_ACEOF
9342
9706
rm -f conftest.$ac_objext
9343
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9344
 
  (eval $ac_compile) 2>conftest.er1
 
9707
if { (ac_try="$ac_compile"
 
9708
case "(($ac_try" in
 
9709
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9710
  *) ac_try_echo=$ac_try;;
 
9711
esac
 
9712
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9713
  (eval "$ac_compile") 2>conftest.er1
9345
9714
  ac_status=$?
9346
9715
  grep -v '^ *+' conftest.er1 >conftest.err
9347
9716
  rm -f conftest.er1
9348
9717
  cat conftest.err >&5
9349
9718
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9350
 
  (exit $ac_status); } &&
9351
 
         { ac_try='test -z "$ac_c_werror_flag"
9352
 
                         || test ! -s conftest.err'
9353
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9354
 
  (eval $ac_try) 2>&5
9355
 
  ac_status=$?
9356
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9357
 
  (exit $ac_status); }; } &&
9358
 
         { ac_try='test -s conftest.$ac_objext'
9359
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9360
 
  (eval $ac_try) 2>&5
9361
 
  ac_status=$?
9362
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9363
 
  (exit $ac_status); }; }; then
 
9719
  (exit $ac_status); } && {
 
9720
         test -z "$ac_c_werror_flag" ||
 
9721
         test ! -s conftest.err
 
9722
       } && test -s conftest.$ac_objext; then
9364
9723
  tcl_cv_flag__largefile64_source=no
9365
9724
else
9366
9725
  echo "$as_me: failed program was:" >&5
9367
9726
sed 's/^/| /' conftest.$ac_ext >&5
9368
9727
 
9369
 
cat >conftest.$ac_ext <<_ACEOF
 
9728
        cat >conftest.$ac_ext <<_ACEOF
9370
9729
/* confdefs.h.  */
9371
9730
_ACEOF
9372
9731
cat confdefs.h >>conftest.$ac_ext
9383
9742
}
9384
9743
_ACEOF
9385
9744
rm -f conftest.$ac_objext
9386
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9387
 
  (eval $ac_compile) 2>conftest.er1
 
9745
if { (ac_try="$ac_compile"
 
9746
case "(($ac_try" in
 
9747
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9748
  *) ac_try_echo=$ac_try;;
 
9749
esac
 
9750
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9751
  (eval "$ac_compile") 2>conftest.er1
9388
9752
  ac_status=$?
9389
9753
  grep -v '^ *+' conftest.er1 >conftest.err
9390
9754
  rm -f conftest.er1
9391
9755
  cat conftest.err >&5
9392
9756
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9393
 
  (exit $ac_status); } &&
9394
 
         { ac_try='test -z "$ac_c_werror_flag"
9395
 
                         || test ! -s conftest.err'
9396
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9397
 
  (eval $ac_try) 2>&5
9398
 
  ac_status=$?
9399
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9400
 
  (exit $ac_status); }; } &&
9401
 
         { ac_try='test -s conftest.$ac_objext'
9402
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9403
 
  (eval $ac_try) 2>&5
9404
 
  ac_status=$?
9405
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9406
 
  (exit $ac_status); }; }; then
 
9757
  (exit $ac_status); } && {
 
9758
         test -z "$ac_c_werror_flag" ||
 
9759
         test ! -s conftest.err
 
9760
       } && test -s conftest.$ac_objext; then
9407
9761
  tcl_cv_flag__largefile64_source=yes
9408
9762
else
9409
9763
  echo "$as_me: failed program was:" >&5
9410
9764
sed 's/^/| /' conftest.$ac_ext >&5
9411
9765
 
9412
 
tcl_cv_flag__largefile64_source=no
9413
 
fi
9414
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9415
 
fi
9416
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
9766
        tcl_cv_flag__largefile64_source=no
 
9767
fi
 
9768
 
 
9769
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9770
fi
 
9771
 
 
9772
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9417
9773
fi
9418
9774
 
9419
9775
    if test "x${tcl_cv_flag__largefile64_source}" = "xyes" ; then
9445
9801
}
9446
9802
_ACEOF
9447
9803
rm -f conftest.$ac_objext
9448
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9449
 
  (eval $ac_compile) 2>conftest.er1
 
9804
if { (ac_try="$ac_compile"
 
9805
case "(($ac_try" in
 
9806
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9807
  *) ac_try_echo=$ac_try;;
 
9808
esac
 
9809
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9810
  (eval "$ac_compile") 2>conftest.er1
9450
9811
  ac_status=$?
9451
9812
  grep -v '^ *+' conftest.er1 >conftest.err
9452
9813
  rm -f conftest.er1
9453
9814
  cat conftest.err >&5
9454
9815
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9455
 
  (exit $ac_status); } &&
9456
 
         { ac_try='test -z "$ac_c_werror_flag"
9457
 
                         || test ! -s conftest.err'
9458
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9459
 
  (eval $ac_try) 2>&5
9460
 
  ac_status=$?
9461
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9462
 
  (exit $ac_status); }; } &&
9463
 
         { ac_try='test -s conftest.$ac_objext'
9464
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9465
 
  (eval $ac_try) 2>&5
9466
 
  ac_status=$?
9467
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9468
 
  (exit $ac_status); }; }; then
 
9816
  (exit $ac_status); } && {
 
9817
         test -z "$ac_c_werror_flag" ||
 
9818
         test ! -s conftest.err
 
9819
       } && test -s conftest.$ac_objext; then
9469
9820
  tcl_cv_flag__largefile_source64=no
9470
9821
else
9471
9822
  echo "$as_me: failed program was:" >&5
9472
9823
sed 's/^/| /' conftest.$ac_ext >&5
9473
9824
 
9474
 
cat >conftest.$ac_ext <<_ACEOF
 
9825
        cat >conftest.$ac_ext <<_ACEOF
9475
9826
/* confdefs.h.  */
9476
9827
_ACEOF
9477
9828
cat confdefs.h >>conftest.$ac_ext
9488
9839
}
9489
9840
_ACEOF
9490
9841
rm -f conftest.$ac_objext
9491
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9492
 
  (eval $ac_compile) 2>conftest.er1
 
9842
if { (ac_try="$ac_compile"
 
9843
case "(($ac_try" in
 
9844
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9845
  *) ac_try_echo=$ac_try;;
 
9846
esac
 
9847
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9848
  (eval "$ac_compile") 2>conftest.er1
9493
9849
  ac_status=$?
9494
9850
  grep -v '^ *+' conftest.er1 >conftest.err
9495
9851
  rm -f conftest.er1
9496
9852
  cat conftest.err >&5
9497
9853
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9498
 
  (exit $ac_status); } &&
9499
 
         { ac_try='test -z "$ac_c_werror_flag"
9500
 
                         || test ! -s conftest.err'
9501
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9502
 
  (eval $ac_try) 2>&5
9503
 
  ac_status=$?
9504
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9505
 
  (exit $ac_status); }; } &&
9506
 
         { ac_try='test -s conftest.$ac_objext'
9507
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9508
 
  (eval $ac_try) 2>&5
9509
 
  ac_status=$?
9510
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9511
 
  (exit $ac_status); }; }; then
 
9854
  (exit $ac_status); } && {
 
9855
         test -z "$ac_c_werror_flag" ||
 
9856
         test ! -s conftest.err
 
9857
       } && test -s conftest.$ac_objext; then
9512
9858
  tcl_cv_flag__largefile_source64=yes
9513
9859
else
9514
9860
  echo "$as_me: failed program was:" >&5
9515
9861
sed 's/^/| /' conftest.$ac_ext >&5
9516
9862
 
9517
 
tcl_cv_flag__largefile_source64=no
9518
 
fi
9519
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9520
 
fi
9521
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
9863
        tcl_cv_flag__largefile_source64=no
 
9864
fi
 
9865
 
 
9866
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9867
fi
 
9868
 
 
9869
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9522
9870
fi
9523
9871
 
9524
9872
    if test "x${tcl_cv_flag__largefile_source64}" = "xyes" ; then
9531
9879
    fi
9532
9880
 
9533
9881
    if test "x${tcl_flags}" = "x" ; then
9534
 
        echo "$as_me:$LINENO: result: none" >&5
9535
 
echo "${ECHO_T}none" >&6
 
9882
        { echo "$as_me:$LINENO: result: none" >&5
 
9883
echo "${ECHO_T}none" >&6; }
9536
9884
    else
9537
 
        echo "$as_me:$LINENO: result: ${tcl_flags}" >&5
9538
 
echo "${ECHO_T}${tcl_flags}" >&6
 
9885
        { echo "$as_me:$LINENO: result: ${tcl_flags}" >&5
 
9886
echo "${ECHO_T}${tcl_flags}" >&6; }
9539
9887
    fi
9540
9888
 
9541
9889
 
9542
 
    echo "$as_me:$LINENO: checking for 64-bit integer type" >&5
9543
 
echo $ECHO_N "checking for 64-bit integer type... $ECHO_C" >&6
 
9890
    { echo "$as_me:$LINENO: checking for 64-bit integer type" >&5
 
9891
echo $ECHO_N "checking for 64-bit integer type... $ECHO_C" >&6; }
9544
9892
    if test "${tcl_cv_type_64bit+set}" = set; then
9545
9893
  echo $ECHO_N "(cached) $ECHO_C" >&6
9546
9894
else
9563
9911
}
9564
9912
_ACEOF
9565
9913
rm -f conftest.$ac_objext
9566
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9567
 
  (eval $ac_compile) 2>conftest.er1
 
9914
if { (ac_try="$ac_compile"
 
9915
case "(($ac_try" in
 
9916
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9917
  *) ac_try_echo=$ac_try;;
 
9918
esac
 
9919
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9920
  (eval "$ac_compile") 2>conftest.er1
9568
9921
  ac_status=$?
9569
9922
  grep -v '^ *+' conftest.er1 >conftest.err
9570
9923
  rm -f conftest.er1
9571
9924
  cat conftest.err >&5
9572
9925
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9573
 
  (exit $ac_status); } &&
9574
 
         { ac_try='test -z "$ac_c_werror_flag"
9575
 
                         || test ! -s conftest.err'
9576
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9577
 
  (eval $ac_try) 2>&5
9578
 
  ac_status=$?
9579
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9580
 
  (exit $ac_status); }; } &&
9581
 
         { ac_try='test -s conftest.$ac_objext'
9582
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9583
 
  (eval $ac_try) 2>&5
9584
 
  ac_status=$?
9585
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9586
 
  (exit $ac_status); }; }; then
 
9926
  (exit $ac_status); } && {
 
9927
         test -z "$ac_c_werror_flag" ||
 
9928
         test ! -s conftest.err
 
9929
       } && test -s conftest.$ac_objext; then
9587
9930
  tcl_type_64bit=__int64
9588
9931
else
9589
9932
  echo "$as_me: failed program was:" >&5
9590
9933
sed 's/^/| /' conftest.$ac_ext >&5
9591
9934
 
9592
 
tcl_type_64bit="long long"
 
9935
        tcl_type_64bit="long long"
9593
9936
fi
9594
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
9937
 
 
9938
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9595
9939
        # See if we should use long anyway  Note that we substitute in the
9596
9940
        # type that is our current guess for a 64-bit type inside this check
9597
9941
        # program, so it should be modified only carefully...
9613
9957
}
9614
9958
_ACEOF
9615
9959
rm -f conftest.$ac_objext
9616
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9617
 
  (eval $ac_compile) 2>conftest.er1
 
9960
if { (ac_try="$ac_compile"
 
9961
case "(($ac_try" in
 
9962
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9963
  *) ac_try_echo=$ac_try;;
 
9964
esac
 
9965
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9966
  (eval "$ac_compile") 2>conftest.er1
9618
9967
  ac_status=$?
9619
9968
  grep -v '^ *+' conftest.er1 >conftest.err
9620
9969
  rm -f conftest.er1
9621
9970
  cat conftest.err >&5
9622
9971
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623
 
  (exit $ac_status); } &&
9624
 
         { ac_try='test -z "$ac_c_werror_flag"
9625
 
                         || test ! -s conftest.err'
9626
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9627
 
  (eval $ac_try) 2>&5
9628
 
  ac_status=$?
9629
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9630
 
  (exit $ac_status); }; } &&
9631
 
         { ac_try='test -s conftest.$ac_objext'
9632
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9633
 
  (eval $ac_try) 2>&5
9634
 
  ac_status=$?
9635
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9636
 
  (exit $ac_status); }; }; then
 
9972
  (exit $ac_status); } && {
 
9973
         test -z "$ac_c_werror_flag" ||
 
9974
         test ! -s conftest.err
 
9975
       } && test -s conftest.$ac_objext; then
9637
9976
  tcl_cv_type_64bit=${tcl_type_64bit}
9638
9977
else
9639
9978
  echo "$as_me: failed program was:" >&5
9640
9979
sed 's/^/| /' conftest.$ac_ext >&5
9641
9980
 
 
9981
 
9642
9982
fi
9643
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
9983
 
 
9984
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9644
9985
fi
9645
9986
 
9646
9987
    if test "${tcl_cv_type_64bit}" = none ; then
9649
9990
#define TCL_WIDE_INT_IS_LONG 1
9650
9991
_ACEOF
9651
9992
 
9652
 
        echo "$as_me:$LINENO: result: using long" >&5
9653
 
echo "${ECHO_T}using long" >&6
 
9993
        { echo "$as_me:$LINENO: result: using long" >&5
 
9994
echo "${ECHO_T}using long" >&6; }
9654
9995
    elif test "${tcl_cv_type_64bit}" = "__int64" \
9655
9996
                -a "${TEA_PLATFORM}" = "windows" ; then
9656
9997
        # We actually want to use the default tcl.h checks in this
9657
9998
        # case to handle both TCL_WIDE_INT_TYPE and TCL_LL_MODIFIER*
9658
 
        echo "$as_me:$LINENO: result: using Tcl header defaults" >&5
9659
 
echo "${ECHO_T}using Tcl header defaults" >&6
 
9999
        { echo "$as_me:$LINENO: result: using Tcl header defaults" >&5
 
10000
echo "${ECHO_T}using Tcl header defaults" >&6; }
9660
10001
    else
9661
10002
 
9662
10003
cat >>confdefs.h <<_ACEOF
9663
10004
#define TCL_WIDE_INT_TYPE ${tcl_cv_type_64bit}
9664
10005
_ACEOF
9665
10006
 
9666
 
        echo "$as_me:$LINENO: result: ${tcl_cv_type_64bit}" >&5
9667
 
echo "${ECHO_T}${tcl_cv_type_64bit}" >&6
 
10007
        { echo "$as_me:$LINENO: result: ${tcl_cv_type_64bit}" >&5
 
10008
echo "${ECHO_T}${tcl_cv_type_64bit}" >&6; }
9668
10009
 
9669
10010
        # Now check for auxiliary declarations
9670
 
        echo "$as_me:$LINENO: checking for struct dirent64" >&5
9671
 
echo $ECHO_N "checking for struct dirent64... $ECHO_C" >&6
 
10011
        { echo "$as_me:$LINENO: checking for struct dirent64" >&5
 
10012
echo $ECHO_N "checking for struct dirent64... $ECHO_C" >&6; }
9672
10013
if test "${tcl_cv_struct_dirent64+set}" = set; then
9673
10014
  echo $ECHO_N "(cached) $ECHO_C" >&6
9674
10015
else
9690
10031
}
9691
10032
_ACEOF
9692
10033
rm -f conftest.$ac_objext
9693
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9694
 
  (eval $ac_compile) 2>conftest.er1
 
10034
if { (ac_try="$ac_compile"
 
10035
case "(($ac_try" in
 
10036
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10037
  *) ac_try_echo=$ac_try;;
 
10038
esac
 
10039
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10040
  (eval "$ac_compile") 2>conftest.er1
9695
10041
  ac_status=$?
9696
10042
  grep -v '^ *+' conftest.er1 >conftest.err
9697
10043
  rm -f conftest.er1
9698
10044
  cat conftest.err >&5
9699
10045
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9700
 
  (exit $ac_status); } &&
9701
 
         { ac_try='test -z "$ac_c_werror_flag"
9702
 
                         || test ! -s conftest.err'
9703
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9704
 
  (eval $ac_try) 2>&5
9705
 
  ac_status=$?
9706
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9707
 
  (exit $ac_status); }; } &&
9708
 
         { ac_try='test -s conftest.$ac_objext'
9709
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9710
 
  (eval $ac_try) 2>&5
9711
 
  ac_status=$?
9712
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9713
 
  (exit $ac_status); }; }; then
 
10046
  (exit $ac_status); } && {
 
10047
         test -z "$ac_c_werror_flag" ||
 
10048
         test ! -s conftest.err
 
10049
       } && test -s conftest.$ac_objext; then
9714
10050
  tcl_cv_struct_dirent64=yes
9715
10051
else
9716
10052
  echo "$as_me: failed program was:" >&5
9717
10053
sed 's/^/| /' conftest.$ac_ext >&5
9718
10054
 
9719
 
tcl_cv_struct_dirent64=no
9720
 
fi
9721
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9722
 
fi
9723
 
echo "$as_me:$LINENO: result: $tcl_cv_struct_dirent64" >&5
9724
 
echo "${ECHO_T}$tcl_cv_struct_dirent64" >&6
 
10055
        tcl_cv_struct_dirent64=no
 
10056
fi
 
10057
 
 
10058
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10059
fi
 
10060
{ echo "$as_me:$LINENO: result: $tcl_cv_struct_dirent64" >&5
 
10061
echo "${ECHO_T}$tcl_cv_struct_dirent64" >&6; }
9725
10062
        if test "x${tcl_cv_struct_dirent64}" = "xyes" ; then
9726
10063
 
9727
10064
cat >>confdefs.h <<\_ACEOF
9730
10067
 
9731
10068
        fi
9732
10069
 
9733
 
        echo "$as_me:$LINENO: checking for struct stat64" >&5
9734
 
echo $ECHO_N "checking for struct stat64... $ECHO_C" >&6
 
10070
        { echo "$as_me:$LINENO: checking for struct stat64" >&5
 
10071
echo $ECHO_N "checking for struct stat64... $ECHO_C" >&6; }
9735
10072
if test "${tcl_cv_struct_stat64+set}" = set; then
9736
10073
  echo $ECHO_N "(cached) $ECHO_C" >&6
9737
10074
else
9753
10090
}
9754
10091
_ACEOF
9755
10092
rm -f conftest.$ac_objext
9756
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9757
 
  (eval $ac_compile) 2>conftest.er1
 
10093
if { (ac_try="$ac_compile"
 
10094
case "(($ac_try" in
 
10095
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10096
  *) ac_try_echo=$ac_try;;
 
10097
esac
 
10098
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10099
  (eval "$ac_compile") 2>conftest.er1
9758
10100
  ac_status=$?
9759
10101
  grep -v '^ *+' conftest.er1 >conftest.err
9760
10102
  rm -f conftest.er1
9761
10103
  cat conftest.err >&5
9762
10104
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9763
 
  (exit $ac_status); } &&
9764
 
         { ac_try='test -z "$ac_c_werror_flag"
9765
 
                         || test ! -s conftest.err'
9766
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9767
 
  (eval $ac_try) 2>&5
9768
 
  ac_status=$?
9769
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9770
 
  (exit $ac_status); }; } &&
9771
 
         { ac_try='test -s conftest.$ac_objext'
9772
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9773
 
  (eval $ac_try) 2>&5
9774
 
  ac_status=$?
9775
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9776
 
  (exit $ac_status); }; }; then
 
10105
  (exit $ac_status); } && {
 
10106
         test -z "$ac_c_werror_flag" ||
 
10107
         test ! -s conftest.err
 
10108
       } && test -s conftest.$ac_objext; then
9777
10109
  tcl_cv_struct_stat64=yes
9778
10110
else
9779
10111
  echo "$as_me: failed program was:" >&5
9780
10112
sed 's/^/| /' conftest.$ac_ext >&5
9781
10113
 
9782
 
tcl_cv_struct_stat64=no
9783
 
fi
9784
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9785
 
fi
9786
 
echo "$as_me:$LINENO: result: $tcl_cv_struct_stat64" >&5
9787
 
echo "${ECHO_T}$tcl_cv_struct_stat64" >&6
 
10114
        tcl_cv_struct_stat64=no
 
10115
fi
 
10116
 
 
10117
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10118
fi
 
10119
{ echo "$as_me:$LINENO: result: $tcl_cv_struct_stat64" >&5
 
10120
echo "${ECHO_T}$tcl_cv_struct_stat64" >&6; }
9788
10121
        if test "x${tcl_cv_struct_stat64}" = "xyes" ; then
9789
10122
 
9790
10123
cat >>confdefs.h <<\_ACEOF
9798
10131
for ac_func in open64 lseek64
9799
10132
do
9800
10133
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9801
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
9802
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9803
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
10134
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
10135
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
10136
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9804
10137
  echo $ECHO_N "(cached) $ECHO_C" >&6
9805
10138
else
9806
10139
  cat >conftest.$ac_ext <<_ACEOF
9826
10159
 
9827
10160
#undef $ac_func
9828
10161
 
9829
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10162
/* Override any GCC internal prototype to avoid an error.
 
10163
   Use char because int might match the return type of a GCC
 
10164
   builtin and then its argument prototype would still apply.  */
9830
10165
#ifdef __cplusplus
9831
10166
extern "C"
9832
 
{
9833
10167
#endif
9834
 
/* We use char because int might match the return type of a gcc2
9835
 
   builtin and then its argument prototype would still apply.  */
9836
10168
char $ac_func ();
9837
10169
/* The GNU C library defines this for functions which it implements
9838
10170
    to always fail with ENOSYS.  Some functions are actually named
9839
10171
    something starting with __ and the normal name is an alias.  */
9840
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
10172
#if defined __stub_$ac_func || defined __stub___$ac_func
9841
10173
choke me
9842
 
#else
9843
 
char (*f) () = $ac_func;
9844
 
#endif
9845
 
#ifdef __cplusplus
9846
 
}
9847
10174
#endif
9848
10175
 
9849
10176
int
9850
10177
main ()
9851
10178
{
9852
 
return f != $ac_func;
 
10179
return $ac_func ();
9853
10180
  ;
9854
10181
  return 0;
9855
10182
}
9856
10183
_ACEOF
9857
10184
rm -f conftest.$ac_objext conftest$ac_exeext
9858
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9859
 
  (eval $ac_link) 2>conftest.er1
 
10185
if { (ac_try="$ac_link"
 
10186
case "(($ac_try" in
 
10187
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10188
  *) ac_try_echo=$ac_try;;
 
10189
esac
 
10190
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10191
  (eval "$ac_link") 2>conftest.er1
9860
10192
  ac_status=$?
9861
10193
  grep -v '^ *+' conftest.er1 >conftest.err
9862
10194
  rm -f conftest.er1
9863
10195
  cat conftest.err >&5
9864
10196
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9865
 
  (exit $ac_status); } &&
9866
 
         { ac_try='test -z "$ac_c_werror_flag"
9867
 
                         || test ! -s conftest.err'
9868
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9869
 
  (eval $ac_try) 2>&5
9870
 
  ac_status=$?
9871
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9872
 
  (exit $ac_status); }; } &&
9873
 
         { ac_try='test -s conftest$ac_exeext'
9874
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9875
 
  (eval $ac_try) 2>&5
9876
 
  ac_status=$?
9877
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9878
 
  (exit $ac_status); }; }; then
 
10197
  (exit $ac_status); } && {
 
10198
         test -z "$ac_c_werror_flag" ||
 
10199
         test ! -s conftest.err
 
10200
       } && test -s conftest$ac_exeext &&
 
10201
       $as_test_x conftest$ac_exeext; then
9879
10202
  eval "$as_ac_var=yes"
9880
10203
else
9881
10204
  echo "$as_me: failed program was:" >&5
9882
10205
sed 's/^/| /' conftest.$ac_ext >&5
9883
10206
 
9884
 
eval "$as_ac_var=no"
 
10207
        eval "$as_ac_var=no"
9885
10208
fi
9886
 
rm -f conftest.err conftest.$ac_objext \
 
10209
 
 
10210
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9887
10211
      conftest$ac_exeext conftest.$ac_ext
9888
10212
fi
9889
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9890
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
10213
ac_res=`eval echo '${'$as_ac_var'}'`
 
10214
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
10215
echo "${ECHO_T}$ac_res" >&6; }
9891
10216
if test `eval echo '${'$as_ac_var'}'` = yes; then
9892
10217
  cat >>confdefs.h <<_ACEOF
9893
10218
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9896
10221
fi
9897
10222
done
9898
10223
 
9899
 
        echo "$as_me:$LINENO: checking for off64_t" >&5
9900
 
echo $ECHO_N "checking for off64_t... $ECHO_C" >&6
 
10224
        { echo "$as_me:$LINENO: checking for off64_t" >&5
 
10225
echo $ECHO_N "checking for off64_t... $ECHO_C" >&6; }
9901
10226
        if test "${tcl_cv_type_off64_t+set}" = set; then
9902
10227
  echo $ECHO_N "(cached) $ECHO_C" >&6
9903
10228
else
9919
10244
}
9920
10245
_ACEOF
9921
10246
rm -f conftest.$ac_objext
9922
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9923
 
  (eval $ac_compile) 2>conftest.er1
 
10247
if { (ac_try="$ac_compile"
 
10248
case "(($ac_try" in
 
10249
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10250
  *) ac_try_echo=$ac_try;;
 
10251
esac
 
10252
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10253
  (eval "$ac_compile") 2>conftest.er1
9924
10254
  ac_status=$?
9925
10255
  grep -v '^ *+' conftest.er1 >conftest.err
9926
10256
  rm -f conftest.er1
9927
10257
  cat conftest.err >&5
9928
10258
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9929
 
  (exit $ac_status); } &&
9930
 
         { ac_try='test -z "$ac_c_werror_flag"
9931
 
                         || test ! -s conftest.err'
9932
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9933
 
  (eval $ac_try) 2>&5
9934
 
  ac_status=$?
9935
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9936
 
  (exit $ac_status); }; } &&
9937
 
         { ac_try='test -s conftest.$ac_objext'
9938
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9939
 
  (eval $ac_try) 2>&5
9940
 
  ac_status=$?
9941
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9942
 
  (exit $ac_status); }; }; then
 
10259
  (exit $ac_status); } && {
 
10260
         test -z "$ac_c_werror_flag" ||
 
10261
         test ! -s conftest.err
 
10262
       } && test -s conftest.$ac_objext; then
9943
10263
  tcl_cv_type_off64_t=yes
9944
10264
else
9945
10265
  echo "$as_me: failed program was:" >&5
9946
10266
sed 's/^/| /' conftest.$ac_ext >&5
9947
10267
 
9948
 
tcl_cv_type_off64_t=no
 
10268
        tcl_cv_type_off64_t=no
9949
10269
fi
9950
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
10270
 
 
10271
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9951
10272
fi
9952
10273
 
9953
10274
                        if test "x${tcl_cv_type_off64_t}" = "xyes" && \
9958
10279
#define HAVE_TYPE_OFF64_T 1
9959
10280
_ACEOF
9960
10281
 
9961
 
            echo "$as_me:$LINENO: result: yes" >&5
9962
 
echo "${ECHO_T}yes" >&6
 
10282
            { echo "$as_me:$LINENO: result: yes" >&5
 
10283
echo "${ECHO_T}yes" >&6; }
9963
10284
        else
9964
 
            echo "$as_me:$LINENO: result: no" >&5
9965
 
echo "${ECHO_T}no" >&6
 
10285
            { echo "$as_me:$LINENO: result: no" >&5
 
10286
echo "${ECHO_T}no" >&6; }
9966
10287
        fi
9967
10288
    fi
9968
10289
 
9974
10295
 
9975
10296
 
9976
10297
 
9977
 
    echo "$as_me:$LINENO: checking for build with symbols" >&5
9978
 
echo $ECHO_N "checking for build with symbols... $ECHO_C" >&6
9979
 
    # Check whether --enable-symbols or --disable-symbols was given.
 
10298
    { echo "$as_me:$LINENO: checking for build with symbols" >&5
 
10299
echo $ECHO_N "checking for build with symbols... $ECHO_C" >&6; }
 
10300
    # Check whether --enable-symbols was given.
9980
10301
if test "${enable_symbols+set}" = set; then
9981
 
  enableval="$enable_symbols"
9982
 
  tcl_ok=$enableval
 
10302
  enableval=$enable_symbols; tcl_ok=$enableval
9983
10303
else
9984
10304
  tcl_ok=no
9985
 
fi;
 
10305
fi
 
10306
 
9986
10307
    DBGX=""
9987
10308
    if test "$tcl_ok" = "no"; then
9988
10309
        CFLAGS_DEFAULT="${CFLAGS_OPTIMIZE}"
9989
10310
        LDFLAGS_DEFAULT="${LDFLAGS_OPTIMIZE}"
9990
 
        echo "$as_me:$LINENO: result: no" >&5
9991
 
echo "${ECHO_T}no" >&6
 
10311
        { echo "$as_me:$LINENO: result: no" >&5
 
10312
echo "${ECHO_T}no" >&6; }
9992
10313
    else
9993
10314
        CFLAGS_DEFAULT="${CFLAGS_DEBUG}"
9994
10315
        LDFLAGS_DEFAULT="${LDFLAGS_DEBUG}"
9995
10316
        if test "$tcl_ok" = "yes"; then
9996
 
            echo "$as_me:$LINENO: result: yes (standard debugging)" >&5
9997
 
echo "${ECHO_T}yes (standard debugging)" >&6
 
10317
            { echo "$as_me:$LINENO: result: yes (standard debugging)" >&5
 
10318
echo "${ECHO_T}yes (standard debugging)" >&6; }
9998
10319
        fi
9999
10320
    fi
10000
10321
    if test "${TEA_PLATFORM}" != "windows" ; then
10015
10336
 
10016
10337
    if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then
10017
10338
        if test "$tcl_ok" = "all"; then
10018
 
            echo "$as_me:$LINENO: result: enabled symbols mem debugging" >&5
10019
 
echo "${ECHO_T}enabled symbols mem debugging" >&6
 
10339
            { echo "$as_me:$LINENO: result: enabled symbols mem debugging" >&5
 
10340
echo "${ECHO_T}enabled symbols mem debugging" >&6; }
10020
10341
        else
10021
 
            echo "$as_me:$LINENO: result: enabled $tcl_ok debugging" >&5
10022
 
echo "${ECHO_T}enabled $tcl_ok debugging" >&6
 
10342
            { echo "$as_me:$LINENO: result: enabled $tcl_ok debugging" >&5
 
10343
echo "${ECHO_T}enabled $tcl_ok debugging" >&6; }
10023
10344
        fi
10024
10345
    fi
10025
10346
 
10125
10446
#--------------------------------------------------------------------
10126
10447
 
10127
10448
 
10128
 
    echo "$as_me:$LINENO: checking for tclsh" >&5
10129
 
echo $ECHO_N "checking for tclsh... $ECHO_C" >&6
 
10449
    { echo "$as_me:$LINENO: checking for tclsh" >&5
 
10450
echo $ECHO_N "checking for tclsh... $ECHO_C" >&6; }
10130
10451
    if test -f "${TCL_BIN_DIR}/Makefile" ; then
10131
10452
        # tclConfig.sh is in Tcl build directory
10132
10453
        if test "${TEA_PLATFORM}" = "windows"; then
10152
10473
        done
10153
10474
        TCLSH_PROG="${REAL_TCL_BIN_DIR}/${TCLSH_PROG}"
10154
10475
    fi
10155
 
    echo "$as_me:$LINENO: result: ${TCLSH_PROG}" >&5
10156
 
echo "${ECHO_T}${TCLSH_PROG}" >&6
 
10476
    { echo "$as_me:$LINENO: result: ${TCLSH_PROG}" >&5
 
10477
echo "${ECHO_T}${TCLSH_PROG}" >&6; }
10157
10478
 
10158
10479
 
10159
10480
 
10163
10484
# which require substituting th AC variables in.  Include these here.
10164
10485
#--------------------------------------------------------------------
10165
10486
 
10166
 
                    ac_config_files="$ac_config_files Makefile pkgIndex.tcl"
 
10487
ac_config_files="$ac_config_files Makefile pkgIndex.tcl"
 
10488
 
10167
10489
cat >confcache <<\_ACEOF
10168
10490
# This file is a shell script that caches the results of configure
10169
10491
# tests run on this system so they can be shared between configure
10182
10504
 
10183
10505
# The following way of writing the cache mishandles newlines in values,
10184
10506
# but we know of no workaround that is simple, portable, and efficient.
10185
 
# So, don't put newlines in cache variables' values.
 
10507
# So, we kill variables containing newlines.
10186
10508
# Ultrix sh set writes to stderr and can't be redirected directly,
10187
10509
# and sets the high bit in the cache file unless we assign to the vars.
10188
 
{
 
10510
(
 
10511
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
10512
    eval ac_val=\$$ac_var
 
10513
    case $ac_val in #(
 
10514
    *${as_nl}*)
 
10515
      case $ac_var in #(
 
10516
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
10517
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
10518
      esac
 
10519
      case $ac_var in #(
 
10520
      _ | IFS | as_nl) ;; #(
 
10521
      *) $as_unset $ac_var ;;
 
10522
      esac ;;
 
10523
    esac
 
10524
  done
 
10525
 
10189
10526
  (set) 2>&1 |
10190
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
10191
 
    *ac_space=\ *)
 
10527
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
10528
    *${as_nl}ac_space=\ *)
10192
10529
      # `set' does not quote correctly, so add quotes (double-quote
10193
10530
      # substitution turns \\\\ into \\, and sed turns \\ into \).
10194
10531
      sed -n \
10195
10532
        "s/'/'\\\\''/g;
10196
10533
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10197
 
      ;;
 
10534
      ;; #(
10198
10535
    *)
10199
10536
      # `set' quotes correctly as required by POSIX, so do not add quotes.
10200
 
      sed -n \
10201
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
10537
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10202
10538
      ;;
10203
 
    esac;
10204
 
} |
 
10539
    esac |
 
10540
    sort
 
10541
) |
10205
10542
  sed '
 
10543
     /^ac_cv_env_/b end
10206
10544
     t clear
10207
 
     : clear
 
10545
     :clear
10208
10546
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10209
10547
     t end
10210
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10211
 
     : end' >>confcache
10212
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
10213
 
  if test -w $cache_file; then
10214
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
10548
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
10549
     :end' >>confcache
 
10550
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
10551
  if test -w "$cache_file"; then
 
10552
    test "x$cache_file" != "x/dev/null" &&
 
10553
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
10554
echo "$as_me: updating cache $cache_file" >&6;}
10215
10555
    cat confcache >$cache_file
10216
10556
  else
10217
 
    echo "not updating unwritable cache $cache_file"
 
10557
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
10558
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10218
10559
  fi
10219
10560
fi
10220
10561
rm -f confcache
10223
10564
# Let make expand exec_prefix.
10224
10565
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10225
10566
 
10226
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
10227
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10228
 
# trailing colons and then remove the whole line if VPATH becomes empty
10229
 
# (actually we leave an empty line to preserve line numbers).
10230
 
if test "x$srcdir" = x.; then
10231
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
10232
 
s/:*\$(srcdir):*/:/;
10233
 
s/:*\${srcdir}:*/:/;
10234
 
s/:*@srcdir@:*/:/;
10235
 
s/^\([^=]*=[     ]*\):*/\1/;
10236
 
s/:*$//;
10237
 
s/^[^=]*=[       ]*$//;
10238
 
}'
10239
 
fi
10240
 
 
10241
10567
# Transform confdefs.h into DEFS.
10242
10568
# Protect against shell expansion while executing Makefile rules.
10243
10569
# Protect against Makefile macro expansion.
10244
10570
#
10245
10571
# If the first sed substitution is executed (which looks for macros that
10246
 
# take arguments), then we branch to the quote section.  Otherwise,
 
10572
# take arguments), then branch to the quote section.  Otherwise,
10247
10573
# look for a macro that doesn't take arguments.
10248
 
cat >confdef2opt.sed <<\_ACEOF
 
10574
ac_script='
10249
10575
t clear
10250
 
: clear
10251
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
10252
 
t quote
10253
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
10254
 
t quote
10255
 
d
10256
 
: quote
10257
 
s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
10258
 
s,\[,\\&,g
10259
 
s,\],\\&,g
10260
 
s,\$,$$,g
10261
 
p
10262
 
_ACEOF
10263
 
# We use echo to avoid assuming a particular line-breaking character.
10264
 
# The extra dot is to prevent the shell from consuming trailing
10265
 
# line-breaks from the sub-command output.  A line-break within
10266
 
# single-quotes doesn't work because, if this script is created in a
10267
 
# platform that uses two characters for line-breaks (e.g., DOS), tr
10268
 
# would break.
10269
 
ac_LF_and_DOT=`echo; echo .`
10270
 
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
10271
 
rm -f confdef2opt.sed
 
10576
:clear
 
10577
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
 
10578
t quote
 
10579
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
 
10580
t quote
 
10581
b any
 
10582
:quote
 
10583
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
 
10584
s/\[/\\&/g
 
10585
s/\]/\\&/g
 
10586
s/\$/$$/g
 
10587
H
 
10588
:any
 
10589
${
 
10590
        g
 
10591
        s/^\n//
 
10592
        s/\n/ /g
 
10593
        p
 
10594
}
 
10595
'
 
10596
DEFS=`sed -n "$ac_script" confdefs.h`
10272
10597
 
10273
10598
 
10274
10599
ac_libobjs=
10275
10600
ac_ltlibobjs=
10276
10601
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10277
10602
  # 1. Remove the extension, and $U if already installed.
10278
 
  ac_i=`echo "$ac_i" |
10279
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
10280
 
  # 2. Add them.
10281
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
10282
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
10603
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
10604
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
10605
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
10606
  #    will be set to the directory where LIBOBJS objects are built.
 
10607
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
10608
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
10283
10609
done
10284
10610
LIBOBJS=$ac_libobjs
10285
10611
 
10311
10637
## M4sh Initialization.  ##
10312
10638
## --------------------- ##
10313
10639
 
10314
 
# Be Bourne compatible
 
10640
# Be more Bourne compatible
 
10641
DUALCASE=1; export DUALCASE # for MKS sh
10315
10642
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10316
10643
  emulate sh
10317
10644
  NULLCMD=:
10318
10645
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10319
10646
  # is contrary to our usage.  Disable this feature.
10320
10647
  alias -g '${1+"$@"}'='"$@"'
10321
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
10322
 
  set -o posix
10323
 
fi
10324
 
DUALCASE=1; export DUALCASE # for MKS sh
 
10648
  setopt NO_GLOB_SUBST
 
10649
else
 
10650
  case `(set -o) 2>/dev/null` in
 
10651
  *posix*) set -o posix ;;
 
10652
esac
 
10653
 
 
10654
fi
 
10655
 
 
10656
 
 
10657
 
 
10658
 
 
10659
# PATH needs CR
 
10660
# Avoid depending upon Character Ranges.
 
10661
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
10662
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
10663
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
10664
as_cr_digits='0123456789'
 
10665
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
10666
 
 
10667
# The user is always right.
 
10668
if test "${PATH_SEPARATOR+set}" != set; then
 
10669
  echo "#! /bin/sh" >conf$$.sh
 
10670
  echo  "exit 0"   >>conf$$.sh
 
10671
  chmod +x conf$$.sh
 
10672
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
10673
    PATH_SEPARATOR=';'
 
10674
  else
 
10675
    PATH_SEPARATOR=:
 
10676
  fi
 
10677
  rm -f conf$$.sh
 
10678
fi
10325
10679
 
10326
10680
# Support unset when possible.
10327
10681
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10331
10685
fi
10332
10686
 
10333
10687
 
 
10688
# IFS
 
10689
# We need space, tab and new line, in precisely that order.  Quoting is
 
10690
# there to prevent editors from complaining about space-tab.
 
10691
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
10692
# splitting by setting IFS to empty value.)
 
10693
as_nl='
 
10694
'
 
10695
IFS=" ""        $as_nl"
 
10696
 
 
10697
# Find who we are.  Look in the path if we contain no directory separator.
 
10698
case $0 in
 
10699
  *[\\/]* ) as_myself=$0 ;;
 
10700
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10701
for as_dir in $PATH
 
10702
do
 
10703
  IFS=$as_save_IFS
 
10704
  test -z "$as_dir" && as_dir=.
 
10705
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
10706
done
 
10707
IFS=$as_save_IFS
 
10708
 
 
10709
     ;;
 
10710
esac
 
10711
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
10712
# in which case we are not to be found in the path.
 
10713
if test "x$as_myself" = x; then
 
10714
  as_myself=$0
 
10715
fi
 
10716
if test ! -f "$as_myself"; then
 
10717
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
10718
  { (exit 1); exit 1; }
 
10719
fi
 
10720
 
10334
10721
# Work around bugs in pre-3.0 UWIN ksh.
10335
 
$as_unset ENV MAIL MAILPATH
 
10722
for as_var in ENV MAIL MAILPATH
 
10723
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
10724
done
10336
10725
PS1='$ '
10337
10726
PS2='> '
10338
10727
PS4='+ '
10346
10735
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10347
10736
    eval $as_var=C; export $as_var
10348
10737
  else
10349
 
    $as_unset $as_var
 
10738
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
10350
10739
  fi
10351
10740
done
10352
10741
 
10353
10742
# Required to use basename.
10354
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
10743
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
10744
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
10355
10745
  as_expr=expr
10356
10746
else
10357
10747
  as_expr=false
10358
10748
fi
10359
10749
 
10360
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
10750
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10361
10751
  as_basename=basename
10362
10752
else
10363
10753
  as_basename=false
10365
10755
 
10366
10756
 
10367
10757
# Name of the executable.
10368
 
as_me=`$as_basename "$0" ||
 
10758
as_me=`$as_basename -- "$0" ||
10369
10759
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10370
10760
         X"$0" : 'X\(//\)$' \| \
10371
 
         X"$0" : 'X\(/\)$' \| \
10372
 
         .     : '\(.\)' 2>/dev/null ||
 
10761
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10373
10762
echo X/"$0" |
10374
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
10375
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
10376
 
          /^X\/\(\/\).*/{ s//\1/; q; }
10377
 
          s/.*/./; q'`
10378
 
 
10379
 
 
10380
 
# PATH needs CR, and LINENO needs CR and PATH.
10381
 
# Avoid depending upon Character Ranges.
10382
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10383
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10384
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10385
 
as_cr_digits='0123456789'
10386
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
10387
 
 
10388
 
# The user is always right.
10389
 
if test "${PATH_SEPARATOR+set}" != set; then
10390
 
  echo "#! /bin/sh" >conf$$.sh
10391
 
  echo  "exit 0"   >>conf$$.sh
10392
 
  chmod +x conf$$.sh
10393
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10394
 
    PATH_SEPARATOR=';'
10395
 
  else
10396
 
    PATH_SEPARATOR=:
10397
 
  fi
10398
 
  rm -f conf$$.sh
10399
 
fi
10400
 
 
10401
 
 
10402
 
  as_lineno_1=$LINENO
10403
 
  as_lineno_2=$LINENO
10404
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10405
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
10406
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
10407
 
  # Find who we are.  Look in the path if we contain no path at all
10408
 
  # relative or not.
10409
 
  case $0 in
10410
 
    *[\\/]* ) as_myself=$0 ;;
10411
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10412
 
for as_dir in $PATH
10413
 
do
10414
 
  IFS=$as_save_IFS
10415
 
  test -z "$as_dir" && as_dir=.
10416
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10417
 
done
10418
 
 
10419
 
       ;;
10420
 
  esac
10421
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
10422
 
  # in which case we are not to be found in the path.
10423
 
  if test "x$as_myself" = x; then
10424
 
    as_myself=$0
10425
 
  fi
10426
 
  if test ! -f "$as_myself"; then
10427
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
10428
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
10429
 
   { (exit 1); exit 1; }; }
10430
 
  fi
10431
 
  case $CONFIG_SHELL in
10432
 
  '')
10433
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10434
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
10435
 
do
10436
 
  IFS=$as_save_IFS
10437
 
  test -z "$as_dir" && as_dir=.
10438
 
  for as_base in sh bash ksh sh5; do
10439
 
         case $as_dir in
10440
 
         /*)
10441
 
           if ("$as_dir/$as_base" -c '
10442
 
  as_lineno_1=$LINENO
10443
 
  as_lineno_2=$LINENO
10444
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10445
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
10446
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
10447
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
10448
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
10449
 
             CONFIG_SHELL=$as_dir/$as_base
10450
 
             export CONFIG_SHELL
10451
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
10452
 
           fi;;
10453
 
         esac
10454
 
       done
10455
 
done
10456
 
;;
10457
 
  esac
 
10763
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
10764
            s//\1/
 
10765
            q
 
10766
          }
 
10767
          /^X\/\(\/\/\)$/{
 
10768
            s//\1/
 
10769
            q
 
10770
          }
 
10771
          /^X\/\(\/\).*/{
 
10772
            s//\1/
 
10773
            q
 
10774
          }
 
10775
          s/.*/./; q'`
 
10776
 
 
10777
# CDPATH.
 
10778
$as_unset CDPATH
 
10779
 
 
10780
 
 
10781
 
 
10782
  as_lineno_1=$LINENO
 
10783
  as_lineno_2=$LINENO
 
10784
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
10785
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
10458
10786
 
10459
10787
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10460
10788
  # uniformly replaced by the line number.  The first 'sed' inserts a
10461
 
  # line-number line before each line; the second 'sed' does the real
10462
 
  # work.  The second script uses 'N' to pair each line-number line
10463
 
  # with the numbered line, and appends trailing '-' during
10464
 
  # substitution so that $LINENO is not a special case at line end.
 
10789
  # line-number line after each line using $LINENO; the second 'sed'
 
10790
  # does the real work.  The second script uses 'N' to pair each
 
10791
  # line-number line with the line containing $LINENO, and appends
 
10792
  # trailing '-' during substitution so that $LINENO is not a special
 
10793
  # case at line end.
10465
10794
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10466
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
10467
 
  sed '=' <$as_myself |
 
10795
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
10796
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
10797
  sed -n '
 
10798
    p
 
10799
    /[$]LINENO/=
 
10800
  ' <$as_myself |
10468
10801
    sed '
 
10802
      s/[$]LINENO.*/&-/
 
10803
      t lineno
 
10804
      b
 
10805
      :lineno
10469
10806
      N
10470
 
      s,$,-,
10471
 
      : loop
10472
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
10807
      :loop
 
10808
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10473
10809
      t loop
10474
 
      s,-$,,
10475
 
      s,^['$as_cr_digits']*\n,,
 
10810
      s/-\n.*//
10476
10811
    ' >$as_me.lineno &&
10477
 
  chmod +x $as_me.lineno ||
10478
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
10479
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
10812
  chmod +x "$as_me.lineno" ||
 
10813
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10480
10814
   { (exit 1); exit 1; }; }
10481
10815
 
10482
10816
  # Don't try to exec as it changes $[0], causing all sort of problems
10483
10817
  # (the dirname of $[0] is not the place where we might find the
10484
 
  # original and so on.  Autoconf is especially sensible to this).
10485
 
  . ./$as_me.lineno
 
10818
  # original and so on.  Autoconf is especially sensitive to this).
 
10819
  . "./$as_me.lineno"
10486
10820
  # Exit status is that of the last command.
10487
10821
  exit
10488
10822
}
10489
10823
 
10490
10824
 
10491
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
10492
 
  *c*,-n*) ECHO_N= ECHO_C='
10493
 
' ECHO_T='      ' ;;
10494
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
10495
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
10825
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
10826
  as_dirname=dirname
 
10827
else
 
10828
  as_dirname=false
 
10829
fi
 
10830
 
 
10831
ECHO_C= ECHO_N= ECHO_T=
 
10832
case `echo -n x` in
 
10833
-n*)
 
10834
  case `echo 'x\c'` in
 
10835
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
10836
  *)   ECHO_C='\c';;
 
10837
  esac;;
 
10838
*)
 
10839
  ECHO_N='-n';;
10496
10840
esac
10497
10841
 
10498
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
10842
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
10843
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
10499
10844
  as_expr=expr
10500
10845
else
10501
10846
  as_expr=false
10502
10847
fi
10503
10848
 
10504
10849
rm -f conf$$ conf$$.exe conf$$.file
 
10850
if test -d conf$$.dir; then
 
10851
  rm -f conf$$.dir/conf$$.file
 
10852
else
 
10853
  rm -f conf$$.dir
 
10854
  mkdir conf$$.dir
 
10855
fi
10505
10856
echo >conf$$.file
10506
10857
if ln -s conf$$.file conf$$ 2>/dev/null; then
10507
 
  # We could just check for DJGPP; but this test a) works b) is more generic
10508
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
10509
 
  if test -f conf$$.exe; then
10510
 
    # Don't use ln at all; we don't have any links
 
10858
  as_ln_s='ln -s'
 
10859
  # ... but there are two gotchas:
 
10860
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
10861
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
10862
  # In both cases, we have to default to `cp -p'.
 
10863
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10511
10864
    as_ln_s='cp -p'
10512
 
  else
10513
 
    as_ln_s='ln -s'
10514
 
  fi
10515
10865
elif ln conf$$.file conf$$ 2>/dev/null; then
10516
10866
  as_ln_s=ln
10517
10867
else
10518
10868
  as_ln_s='cp -p'
10519
10869
fi
10520
 
rm -f conf$$ conf$$.exe conf$$.file
 
10870
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
10871
rmdir conf$$.dir 2>/dev/null
10521
10872
 
10522
10873
if mkdir -p . 2>/dev/null; then
10523
10874
  as_mkdir_p=:
10526
10877
  as_mkdir_p=false
10527
10878
fi
10528
10879
 
10529
 
as_executable_p="test -f"
 
10880
if test -x / >/dev/null 2>&1; then
 
10881
  as_test_x='test -x'
 
10882
else
 
10883
  if ls -dL / >/dev/null 2>&1; then
 
10884
    as_ls_L_option=L
 
10885
  else
 
10886
    as_ls_L_option=
 
10887
  fi
 
10888
  as_test_x='
 
10889
    eval sh -c '\''
 
10890
      if test -d "$1"; then
 
10891
        test -d "$1/.";
 
10892
      else
 
10893
        case $1 in
 
10894
        -*)set "./$1";;
 
10895
        esac;
 
10896
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
10897
        ???[sx]*):;;*)false;;esac;fi
 
10898
    '\'' sh
 
10899
  '
 
10900
fi
 
10901
as_executable_p=$as_test_x
10530
10902
 
10531
10903
# Sed expression to map a string onto a valid CPP name.
10532
10904
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10535
10907
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10536
10908
 
10537
10909
 
10538
 
# IFS
10539
 
# We need space, tab and new line, in precisely that order.
10540
 
as_nl='
10541
 
'
10542
 
IFS="   $as_nl"
10543
 
 
10544
 
# CDPATH.
10545
 
$as_unset CDPATH
10546
 
 
10547
10910
exec 6>&1
10548
10911
 
10549
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
10912
# Save the log message, to keep $[0] and so on meaningful, and to
10550
10913
# report actual input values of CONFIG_FILES etc. instead of their
10551
 
# values after options handling.  Logging --version etc. is OK.
10552
 
exec 5>>config.log
10553
 
{
10554
 
  echo
10555
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10556
 
## Running $as_me. ##
10557
 
_ASBOX
10558
 
} >&5
10559
 
cat >&5 <<_CSEOF
10560
 
 
10561
 
This file was extended by TclCurl $as_me 7.17.1, which was
10562
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
10914
# values after options handling.
 
10915
ac_log="
 
10916
This file was extended by TclCurl $as_me 7.19.0, which was
 
10917
generated by GNU Autoconf 2.61.  Invocation command line was
10563
10918
 
10564
10919
  CONFIG_FILES    = $CONFIG_FILES
10565
10920
  CONFIG_HEADERS  = $CONFIG_HEADERS
10567
10922
  CONFIG_COMMANDS = $CONFIG_COMMANDS
10568
10923
  $ $0 $@
10569
10924
 
10570
 
_CSEOF
10571
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
10572
 
echo >&5
 
10925
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
10926
"
 
10927
 
10573
10928
_ACEOF
10574
10929
 
 
10930
cat >>$CONFIG_STATUS <<_ACEOF
10575
10931
# Files that config.status was made for.
10576
 
if test -n "$ac_config_files"; then
10577
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
10578
 
fi
10579
 
 
10580
 
if test -n "$ac_config_headers"; then
10581
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
10582
 
fi
10583
 
 
10584
 
if test -n "$ac_config_links"; then
10585
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
10586
 
fi
10587
 
 
10588
 
if test -n "$ac_config_commands"; then
10589
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
10590
 
fi
 
10932
config_files="$ac_config_files"
 
10933
 
 
10934
_ACEOF
10591
10935
 
10592
10936
cat >>$CONFIG_STATUS <<\_ACEOF
10593
 
 
10594
10937
ac_cs_usage="\
10595
10938
\`$as_me' instantiates files from templates according to the
10596
10939
current configuration.
10598
10941
Usage: $0 [OPTIONS] [FILE]...
10599
10942
 
10600
10943
  -h, --help       print this help, then exit
10601
 
  -V, --version    print version number, then exit
 
10944
  -V, --version    print version number and configuration settings, then exit
10602
10945
  -q, --quiet      do not print progress messages
10603
10946
  -d, --debug      don't remove temporary files
10604
10947
      --recheck    update $as_me by reconfiguring in the same conditions
10609
10952
$config_files
10610
10953
 
10611
10954
Report bugs to <bug-autoconf@gnu.org>."
 
10955
 
10612
10956
_ACEOF
10613
 
 
10614
10957
cat >>$CONFIG_STATUS <<_ACEOF
10615
10958
ac_cs_version="\\
10616
 
TclCurl config.status 7.17.1
10617
 
configured by $0, generated by GNU Autoconf 2.59,
10618
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
10959
TclCurl config.status 7.19.0
 
10960
configured by $0, generated by GNU Autoconf 2.61,
 
10961
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10619
10962
 
10620
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
10963
Copyright (C) 2006 Free Software Foundation, Inc.
10621
10964
This config.status script is free software; the Free Software Foundation
10622
10965
gives unlimited permission to copy, distribute and modify it."
10623
 
srcdir=$srcdir
10624
 
INSTALL="$INSTALL"
 
10966
 
 
10967
ac_pwd='$ac_pwd'
 
10968
srcdir='$srcdir'
 
10969
INSTALL='$INSTALL'
10625
10970
_ACEOF
10626
10971
 
10627
10972
cat >>$CONFIG_STATUS <<\_ACEOF
10632
10977
do
10633
10978
  case $1 in
10634
10979
  --*=*)
10635
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
10636
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
10980
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
10981
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10637
10982
    ac_shift=:
10638
10983
    ;;
10639
 
  -*)
 
10984
  *)
10640
10985
    ac_option=$1
10641
10986
    ac_optarg=$2
10642
10987
    ac_shift=shift
10643
10988
    ;;
10644
 
  *) # This is not an option, so the user has probably given explicit
10645
 
     # arguments.
10646
 
     ac_option=$1
10647
 
     ac_need_defaults=false;;
10648
10989
  esac
10649
10990
 
10650
10991
  case $ac_option in
10651
10992
  # Handling of the options.
10652
 
_ACEOF
10653
 
cat >>$CONFIG_STATUS <<\_ACEOF
10654
10993
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10655
10994
    ac_cs_recheck=: ;;
10656
 
  --version | --vers* | -V )
10657
 
    echo "$ac_cs_version"; exit 0 ;;
10658
 
  --he | --h)
10659
 
    # Conflict between --help and --header
10660
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
10661
 
Try \`$0 --help' for more information." >&5
10662
 
echo "$as_me: error: ambiguous option: $1
10663
 
Try \`$0 --help' for more information." >&2;}
10664
 
   { (exit 1); exit 1; }; };;
10665
 
  --help | --hel | -h )
10666
 
    echo "$ac_cs_usage"; exit 0 ;;
10667
 
  --debug | --d* | -d )
 
10995
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
10996
    echo "$ac_cs_version"; exit ;;
 
10997
  --debug | --debu | --deb | --de | --d | -d )
10668
10998
    debug=: ;;
10669
10999
  --file | --fil | --fi | --f )
10670
11000
    $ac_shift
10671
11001
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
10672
11002
    ac_need_defaults=false;;
10673
 
  --header | --heade | --head | --hea )
10674
 
    $ac_shift
10675
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
10676
 
    ac_need_defaults=false;;
 
11003
  --he | --h |  --help | --hel | -h )
 
11004
    echo "$ac_cs_usage"; exit ;;
10677
11005
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10678
11006
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
10679
11007
    ac_cs_silent=: ;;
10680
11008
 
10681
11009
  # This is an error.
10682
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
10683
 
Try \`$0 --help' for more information." >&5
10684
 
echo "$as_me: error: unrecognized option: $1
10685
 
Try \`$0 --help' for more information." >&2;}
 
11010
  -*) { echo "$as_me: error: unrecognized option: $1
 
11011
Try \`$0 --help' for more information." >&2
10686
11012
   { (exit 1); exit 1; }; } ;;
10687
11013
 
10688
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
11014
  *) ac_config_targets="$ac_config_targets $1"
 
11015
     ac_need_defaults=false ;;
10689
11016
 
10690
11017
  esac
10691
11018
  shift
10701
11028
_ACEOF
10702
11029
cat >>$CONFIG_STATUS <<_ACEOF
10703
11030
if \$ac_cs_recheck; then
10704
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10705
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
11031
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
11032
  CONFIG_SHELL=$SHELL
 
11033
  export CONFIG_SHELL
 
11034
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10706
11035
fi
10707
11036
 
10708
11037
_ACEOF
10709
 
 
10710
 
 
10711
 
 
10712
 
 
10713
 
 
10714
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
11038
cat >>$CONFIG_STATUS <<\_ACEOF
 
11039
exec 5>>config.log
 
11040
{
 
11041
  echo
 
11042
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
11043
## Running $as_me. ##
 
11044
_ASBOX
 
11045
  echo "$ac_log"
 
11046
} >&5
 
11047
 
 
11048
_ACEOF
 
11049
cat >>$CONFIG_STATUS <<_ACEOF
 
11050
_ACEOF
 
11051
 
 
11052
cat >>$CONFIG_STATUS <<\_ACEOF
 
11053
 
 
11054
# Handling of arguments.
10715
11055
for ac_config_target in $ac_config_targets
10716
11056
do
10717
 
  case "$ac_config_target" in
10718
 
  # Handling of arguments.
10719
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10720
 
  "pkgIndex.tcl" ) CONFIG_FILES="$CONFIG_FILES pkgIndex.tcl" ;;
 
11057
  case $ac_config_target in
 
11058
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
11059
    "pkgIndex.tcl") CONFIG_FILES="$CONFIG_FILES pkgIndex.tcl" ;;
 
11060
 
10721
11061
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10722
11062
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10723
11063
   { (exit 1); exit 1; }; };;
10724
11064
  esac
10725
11065
done
10726
11066
 
 
11067
 
10727
11068
# If the user did not use the arguments to specify the items to instantiate,
10728
11069
# then the envvar interface is used.  Set only those that are not.
10729
11070
# We use the long form for the default assignment because of an extremely
10733
11074
fi
10734
11075
 
10735
11076
# Have a temporary directory for convenience.  Make it in the build tree
10736
 
# simply because there is no reason to put it here, and in addition,
 
11077
# simply because there is no reason against having it here, and in addition,
10737
11078
# creating and moving files from /tmp can sometimes cause problems.
10738
 
# Create a temporary directory, and hook for its removal unless debugging.
 
11079
# Hook for its removal unless debugging.
 
11080
# Note that there is a small window in which the directory will not be cleaned:
 
11081
# after its creation but before its name has been assigned to `$tmp'.
10739
11082
$debug ||
10740
11083
{
10741
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
11084
  tmp=
 
11085
  trap 'exit_status=$?
 
11086
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
11087
' 0
10742
11088
  trap '{ (exit 1); exit 1; }' 1 2 13 15
10743
11089
}
10744
 
 
10745
11090
# Create a (secure) tmp directory for tmp files.
10746
11091
 
10747
11092
{
10748
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
11093
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10749
11094
  test -n "$tmp" && test -d "$tmp"
10750
11095
}  ||
10751
11096
{
10752
 
  tmp=./confstat$$-$RANDOM
10753
 
  (umask 077 && mkdir $tmp)
 
11097
  tmp=./conf$$-$RANDOM
 
11098
  (umask 077 && mkdir "$tmp")
10754
11099
} ||
10755
11100
{
10756
11101
   echo "$me: cannot create a temporary directory in ." >&2
10757
11102
   { (exit 1); exit 1; }
10758
11103
}
10759
11104
 
10760
 
_ACEOF
10761
 
 
10762
 
cat >>$CONFIG_STATUS <<_ACEOF
10763
 
 
10764
11105
#
10765
 
# CONFIG_FILES section.
 
11106
# Set up the sed scripts for CONFIG_FILES section.
10766
11107
#
10767
11108
 
10768
11109
# No need to generate the scripts if there are no CONFIG_FILES.
10769
11110
# This happens for instance when ./config.status config.h
10770
 
if test -n "\$CONFIG_FILES"; then
10771
 
  # Protect against being on the right side of a sed subst in config.status.
10772
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
10773
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
10774
 
s,@SHELL@,$SHELL,;t t
10775
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
10776
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
10777
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
10778
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
10779
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
10780
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
10781
 
s,@exec_prefix@,$exec_prefix,;t t
10782
 
s,@prefix@,$prefix,;t t
10783
 
s,@program_transform_name@,$program_transform_name,;t t
10784
 
s,@bindir@,$bindir,;t t
10785
 
s,@sbindir@,$sbindir,;t t
10786
 
s,@libexecdir@,$libexecdir,;t t
10787
 
s,@datadir@,$datadir,;t t
10788
 
s,@sysconfdir@,$sysconfdir,;t t
10789
 
s,@sharedstatedir@,$sharedstatedir,;t t
10790
 
s,@localstatedir@,$localstatedir,;t t
10791
 
s,@libdir@,$libdir,;t t
10792
 
s,@includedir@,$includedir,;t t
10793
 
s,@oldincludedir@,$oldincludedir,;t t
10794
 
s,@infodir@,$infodir,;t t
10795
 
s,@mandir@,$mandir,;t t
10796
 
s,@build_alias@,$build_alias,;t t
10797
 
s,@host_alias@,$host_alias,;t t
10798
 
s,@target_alias@,$target_alias,;t t
10799
 
s,@DEFS@,$DEFS,;t t
10800
 
s,@ECHO_C@,$ECHO_C,;t t
10801
 
s,@ECHO_N@,$ECHO_N,;t t
10802
 
s,@ECHO_T@,$ECHO_T,;t t
10803
 
s,@LIBS@,$LIBS,;t t
10804
 
s,@CYGPATH@,$CYGPATH,;t t
10805
 
s,@EXEEXT@,$EXEEXT,;t t
10806
 
s,@PKG_LIB_FILE@,$PKG_LIB_FILE,;t t
10807
 
s,@PKG_STUB_LIB_FILE@,$PKG_STUB_LIB_FILE,;t t
10808
 
s,@PKG_STUB_SOURCES@,$PKG_STUB_SOURCES,;t t
10809
 
s,@PKG_STUB_OBJECTS@,$PKG_STUB_OBJECTS,;t t
10810
 
s,@PKG_TCL_SOURCES@,$PKG_TCL_SOURCES,;t t
10811
 
s,@PKG_HEADERS@,$PKG_HEADERS,;t t
10812
 
s,@PKG_INCLUDES@,$PKG_INCLUDES,;t t
10813
 
s,@PKG_LIBS@,$PKG_LIBS,;t t
10814
 
s,@PKG_CFLAGS@,$PKG_CFLAGS,;t t
10815
 
s,@TCL_VERSION@,$TCL_VERSION,;t t
10816
 
s,@TCL_BIN_DIR@,$TCL_BIN_DIR,;t t
10817
 
s,@TCL_SRC_DIR@,$TCL_SRC_DIR,;t t
10818
 
s,@TCL_LIB_FILE@,$TCL_LIB_FILE,;t t
10819
 
s,@TCL_LIB_FLAG@,$TCL_LIB_FLAG,;t t
10820
 
s,@TCL_LIB_SPEC@,$TCL_LIB_SPEC,;t t
10821
 
s,@TCL_STUB_LIB_FILE@,$TCL_STUB_LIB_FILE,;t t
10822
 
s,@TCL_STUB_LIB_FLAG@,$TCL_STUB_LIB_FLAG,;t t
10823
 
s,@TCL_STUB_LIB_SPEC@,$TCL_STUB_LIB_SPEC,;t t
10824
 
s,@TCL_LIBS@,$TCL_LIBS,;t t
10825
 
s,@TCL_DEFS@,$TCL_DEFS,;t t
10826
 
s,@TCL_EXTRA_CFLAGS@,$TCL_EXTRA_CFLAGS,;t t
10827
 
s,@TCL_LD_FLAGS@,$TCL_LD_FLAGS,;t t
10828
 
s,@TCL_SHLIB_LD_LIBS@,$TCL_SHLIB_LD_LIBS,;t t
10829
 
s,@CC@,$CC,;t t
10830
 
s,@CFLAGS@,$CFLAGS,;t t
10831
 
s,@LDFLAGS@,$LDFLAGS,;t t
10832
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
10833
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
10834
 
s,@OBJEXT@,$OBJEXT,;t t
10835
 
s,@CPP@,$CPP,;t t
10836
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
10837
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
10838
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
10839
 
s,@SET_MAKE@,$SET_MAKE,;t t
10840
 
s,@RANLIB@,$RANLIB,;t t
10841
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
10842
 
s,@EGREP@,$EGREP,;t t
10843
 
s,@MATH_LIBS@,$MATH_LIBS,;t t
10844
 
s,@PKG_SOURCES@,$PKG_SOURCES,;t t
10845
 
s,@PKG_OBJECTS@,$PKG_OBJECTS,;t t
10846
 
s,@TCLCURL_SCRIPTS@,$TCLCURL_SCRIPTS,;t t
10847
 
s,@curl@,$curl,;t t
10848
 
s,@CLEANFILES@,$CLEANFILES,;t t
10849
 
s,@TCL_INCLUDES@,$TCL_INCLUDES,;t t
10850
 
s,@TCL_THREADS@,$TCL_THREADS,;t t
10851
 
s,@SHARED_BUILD@,$SHARED_BUILD,;t t
10852
 
s,@AR@,$AR,;t t
10853
 
s,@CELIB_DIR@,$CELIB_DIR,;t t
10854
 
s,@LIBOBJS@,$LIBOBJS,;t t
10855
 
s,@DL_LIBS@,$DL_LIBS,;t t
10856
 
s,@CFLAGS_DEBUG@,$CFLAGS_DEBUG,;t t
10857
 
s,@CFLAGS_OPTIMIZE@,$CFLAGS_OPTIMIZE,;t t
10858
 
s,@CFLAGS_WARNING@,$CFLAGS_WARNING,;t t
10859
 
s,@STLIB_LD@,$STLIB_LD,;t t
10860
 
s,@SHLIB_LD@,$SHLIB_LD,;t t
10861
 
s,@SHLIB_LD_LIBS@,$SHLIB_LD_LIBS,;t t
10862
 
s,@SHLIB_CFLAGS@,$SHLIB_CFLAGS,;t t
10863
 
s,@LD_LIBRARY_PATH_VAR@,$LD_LIBRARY_PATH_VAR,;t t
10864
 
s,@TCL_DBGX@,$TCL_DBGX,;t t
10865
 
s,@CFLAGS_DEFAULT@,$CFLAGS_DEFAULT,;t t
10866
 
s,@LDFLAGS_DEFAULT@,$LDFLAGS_DEFAULT,;t t
10867
 
s,@MAKE_LIB@,$MAKE_LIB,;t t
10868
 
s,@MAKE_SHARED_LIB@,$MAKE_SHARED_LIB,;t t
10869
 
s,@MAKE_STATIC_LIB@,$MAKE_STATIC_LIB,;t t
10870
 
s,@MAKE_STUB_LIB@,$MAKE_STUB_LIB,;t t
10871
 
s,@RANLIB_STUB@,$RANLIB_STUB,;t t
10872
 
s,@TCLSH_PROG@,$TCLSH_PROG,;t t
10873
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10874
 
CEOF
10875
 
 
10876
 
_ACEOF
10877
 
 
10878
 
  cat >>$CONFIG_STATUS <<\_ACEOF
10879
 
  # Split the substitutions into bite-sized pieces for seds with
10880
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
10881
 
  ac_max_sed_lines=48
10882
 
  ac_sed_frag=1 # Number of current file.
10883
 
  ac_beg=1 # First line for current file.
10884
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
10885
 
  ac_more_lines=:
10886
 
  ac_sed_cmds=
10887
 
  while $ac_more_lines; do
10888
 
    if test $ac_beg -gt 1; then
10889
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
10890
 
    else
10891
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
10892
 
    fi
10893
 
    if test ! -s $tmp/subs.frag; then
10894
 
      ac_more_lines=false
10895
 
    else
10896
 
      # The purpose of the label and of the branching condition is to
10897
 
      # speed up the sed processing (if there are no `@' at all, there
10898
 
      # is no need to browse any of the substitutions).
10899
 
      # These are the two extra sed commands mentioned above.
10900
 
      (echo ':t
10901
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
10902
 
      if test -z "$ac_sed_cmds"; then
10903
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
10904
 
      else
10905
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
10906
 
      fi
10907
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
10908
 
      ac_beg=$ac_end
10909
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
10910
 
    fi
10911
 
  done
10912
 
  if test -z "$ac_sed_cmds"; then
10913
 
    ac_sed_cmds=cat
10914
 
  fi
 
11111
if test -n "$CONFIG_FILES"; then
 
11112
 
 
11113
_ACEOF
 
11114
 
 
11115
 
 
11116
 
 
11117
ac_delim='%!_!# '
 
11118
for ac_last_try in false false false false false :; do
 
11119
  cat >conf$$subs.sed <<_ACEOF
 
11120
SHELL!$SHELL$ac_delim
 
11121
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
11122
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
11123
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
11124
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
11125
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
11126
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
11127
exec_prefix!$exec_prefix$ac_delim
 
11128
prefix!$prefix$ac_delim
 
11129
program_transform_name!$program_transform_name$ac_delim
 
11130
bindir!$bindir$ac_delim
 
11131
sbindir!$sbindir$ac_delim
 
11132
libexecdir!$libexecdir$ac_delim
 
11133
datarootdir!$datarootdir$ac_delim
 
11134
datadir!$datadir$ac_delim
 
11135
sysconfdir!$sysconfdir$ac_delim
 
11136
sharedstatedir!$sharedstatedir$ac_delim
 
11137
localstatedir!$localstatedir$ac_delim
 
11138
includedir!$includedir$ac_delim
 
11139
oldincludedir!$oldincludedir$ac_delim
 
11140
docdir!$docdir$ac_delim
 
11141
infodir!$infodir$ac_delim
 
11142
htmldir!$htmldir$ac_delim
 
11143
dvidir!$dvidir$ac_delim
 
11144
pdfdir!$pdfdir$ac_delim
 
11145
psdir!$psdir$ac_delim
 
11146
libdir!$libdir$ac_delim
 
11147
localedir!$localedir$ac_delim
 
11148
mandir!$mandir$ac_delim
 
11149
DEFS!$DEFS$ac_delim
 
11150
ECHO_C!$ECHO_C$ac_delim
 
11151
ECHO_N!$ECHO_N$ac_delim
 
11152
ECHO_T!$ECHO_T$ac_delim
 
11153
LIBS!$LIBS$ac_delim
 
11154
build_alias!$build_alias$ac_delim
 
11155
host_alias!$host_alias$ac_delim
 
11156
target_alias!$target_alias$ac_delim
 
11157
CYGPATH!$CYGPATH$ac_delim
 
11158
EXEEXT!$EXEEXT$ac_delim
 
11159
PKG_LIB_FILE!$PKG_LIB_FILE$ac_delim
 
11160
PKG_STUB_LIB_FILE!$PKG_STUB_LIB_FILE$ac_delim
 
11161
PKG_STUB_SOURCES!$PKG_STUB_SOURCES$ac_delim
 
11162
PKG_STUB_OBJECTS!$PKG_STUB_OBJECTS$ac_delim
 
11163
PKG_TCL_SOURCES!$PKG_TCL_SOURCES$ac_delim
 
11164
PKG_HEADERS!$PKG_HEADERS$ac_delim
 
11165
PKG_INCLUDES!$PKG_INCLUDES$ac_delim
 
11166
PKG_LIBS!$PKG_LIBS$ac_delim
 
11167
PKG_CFLAGS!$PKG_CFLAGS$ac_delim
 
11168
TCL_VERSION!$TCL_VERSION$ac_delim
 
11169
TCL_BIN_DIR!$TCL_BIN_DIR$ac_delim
 
11170
TCL_SRC_DIR!$TCL_SRC_DIR$ac_delim
 
11171
TCL_LIB_FILE!$TCL_LIB_FILE$ac_delim
 
11172
TCL_LIB_FLAG!$TCL_LIB_FLAG$ac_delim
 
11173
TCL_LIB_SPEC!$TCL_LIB_SPEC$ac_delim
 
11174
TCL_STUB_LIB_FILE!$TCL_STUB_LIB_FILE$ac_delim
 
11175
TCL_STUB_LIB_FLAG!$TCL_STUB_LIB_FLAG$ac_delim
 
11176
TCL_STUB_LIB_SPEC!$TCL_STUB_LIB_SPEC$ac_delim
 
11177
TCL_LIBS!$TCL_LIBS$ac_delim
 
11178
TCL_DEFS!$TCL_DEFS$ac_delim
 
11179
TCL_EXTRA_CFLAGS!$TCL_EXTRA_CFLAGS$ac_delim
 
11180
TCL_LD_FLAGS!$TCL_LD_FLAGS$ac_delim
 
11181
TCL_SHLIB_LD_LIBS!$TCL_SHLIB_LD_LIBS$ac_delim
 
11182
CC!$CC$ac_delim
 
11183
CFLAGS!$CFLAGS$ac_delim
 
11184
LDFLAGS!$LDFLAGS$ac_delim
 
11185
CPPFLAGS!$CPPFLAGS$ac_delim
 
11186
ac_ct_CC!$ac_ct_CC$ac_delim
 
11187
OBJEXT!$OBJEXT$ac_delim
 
11188
CPP!$CPP$ac_delim
 
11189
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
11190
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
11191
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
11192
SET_MAKE!$SET_MAKE$ac_delim
 
11193
RANLIB!$RANLIB$ac_delim
 
11194
GREP!$GREP$ac_delim
 
11195
EGREP!$EGREP$ac_delim
 
11196
MATH_LIBS!$MATH_LIBS$ac_delim
 
11197
PKG_SOURCES!$PKG_SOURCES$ac_delim
 
11198
PKG_OBJECTS!$PKG_OBJECTS$ac_delim
 
11199
TCLCURL_SCRIPTS!$TCLCURL_SCRIPTS$ac_delim
 
11200
curl!$curl$ac_delim
 
11201
CLEANFILES!$CLEANFILES$ac_delim
 
11202
TCL_INCLUDES!$TCL_INCLUDES$ac_delim
 
11203
TCL_THREADS!$TCL_THREADS$ac_delim
 
11204
SHARED_BUILD!$SHARED_BUILD$ac_delim
 
11205
AR!$AR$ac_delim
 
11206
CELIB_DIR!$CELIB_DIR$ac_delim
 
11207
LIBOBJS!$LIBOBJS$ac_delim
 
11208
DL_LIBS!$DL_LIBS$ac_delim
 
11209
CFLAGS_DEBUG!$CFLAGS_DEBUG$ac_delim
 
11210
CFLAGS_OPTIMIZE!$CFLAGS_OPTIMIZE$ac_delim
 
11211
CFLAGS_WARNING!$CFLAGS_WARNING$ac_delim
 
11212
STLIB_LD!$STLIB_LD$ac_delim
 
11213
SHLIB_LD!$SHLIB_LD$ac_delim
 
11214
SHLIB_LD_LIBS!$SHLIB_LD_LIBS$ac_delim
 
11215
SHLIB_CFLAGS!$SHLIB_CFLAGS$ac_delim
 
11216
LD_LIBRARY_PATH_VAR!$LD_LIBRARY_PATH_VAR$ac_delim
 
11217
_ACEOF
 
11218
 
 
11219
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
11220
    break
 
11221
  elif $ac_last_try; then
 
11222
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
11223
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
11224
   { (exit 1); exit 1; }; }
 
11225
  else
 
11226
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
11227
  fi
 
11228
done
 
11229
 
 
11230
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
11231
if test -n "$ac_eof"; then
 
11232
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
11233
  ac_eof=`expr $ac_eof + 1`
 
11234
fi
 
11235
 
 
11236
cat >>$CONFIG_STATUS <<_ACEOF
 
11237
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
11238
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
11239
_ACEOF
 
11240
sed '
 
11241
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
11242
s/^/s,@/; s/!/@,|#_!!_#|/
 
11243
:n
 
11244
t n
 
11245
s/'"$ac_delim"'$/,g/; t
 
11246
s/$/\\/; p
 
11247
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
11248
' >>$CONFIG_STATUS <conf$$subs.sed
 
11249
rm -f conf$$subs.sed
 
11250
cat >>$CONFIG_STATUS <<_ACEOF
 
11251
CEOF$ac_eof
 
11252
_ACEOF
 
11253
 
 
11254
 
 
11255
ac_delim='%!_!# '
 
11256
for ac_last_try in false false false false false :; do
 
11257
  cat >conf$$subs.sed <<_ACEOF
 
11258
TCL_DBGX!$TCL_DBGX$ac_delim
 
11259
CFLAGS_DEFAULT!$CFLAGS_DEFAULT$ac_delim
 
11260
LDFLAGS_DEFAULT!$LDFLAGS_DEFAULT$ac_delim
 
11261
MAKE_LIB!$MAKE_LIB$ac_delim
 
11262
MAKE_SHARED_LIB!$MAKE_SHARED_LIB$ac_delim
 
11263
MAKE_STATIC_LIB!$MAKE_STATIC_LIB$ac_delim
 
11264
MAKE_STUB_LIB!$MAKE_STUB_LIB$ac_delim
 
11265
RANLIB_STUB!$RANLIB_STUB$ac_delim
 
11266
TCLSH_PROG!$TCLSH_PROG$ac_delim
 
11267
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
11268
_ACEOF
 
11269
 
 
11270
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
 
11271
    break
 
11272
  elif $ac_last_try; then
 
11273
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
11274
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
11275
   { (exit 1); exit 1; }; }
 
11276
  else
 
11277
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
11278
  fi
 
11279
done
 
11280
 
 
11281
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
11282
if test -n "$ac_eof"; then
 
11283
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
11284
  ac_eof=`expr $ac_eof + 1`
 
11285
fi
 
11286
 
 
11287
cat >>$CONFIG_STATUS <<_ACEOF
 
11288
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
11289
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
11290
_ACEOF
 
11291
sed '
 
11292
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
11293
s/^/s,@/; s/!/@,|#_!!_#|/
 
11294
:n
 
11295
t n
 
11296
s/'"$ac_delim"'$/,g/; t
 
11297
s/$/\\/; p
 
11298
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
11299
' >>$CONFIG_STATUS <conf$$subs.sed
 
11300
rm -f conf$$subs.sed
 
11301
cat >>$CONFIG_STATUS <<_ACEOF
 
11302
:end
 
11303
s/|#_!!_#|//g
 
11304
CEOF$ac_eof
 
11305
_ACEOF
 
11306
 
 
11307
 
 
11308
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
11309
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
11310
# trailing colons and then remove the whole line if VPATH becomes empty
 
11311
# (actually we leave an empty line to preserve line numbers).
 
11312
if test "x$srcdir" = x.; then
 
11313
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
11314
s/:*\$(srcdir):*/:/
 
11315
s/:*\${srcdir}:*/:/
 
11316
s/:*@srcdir@:*/:/
 
11317
s/^\([^=]*=[     ]*\):*/\1/
 
11318
s/:*$//
 
11319
s/^[^=]*=[       ]*$//
 
11320
}'
 
11321
fi
 
11322
 
 
11323
cat >>$CONFIG_STATUS <<\_ACEOF
10915
11324
fi # test -n "$CONFIG_FILES"
10916
11325
 
10917
 
_ACEOF
10918
 
cat >>$CONFIG_STATUS <<\_ACEOF
10919
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
10920
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10921
 
  case $ac_file in
10922
 
  - | *:- | *:-:* ) # input from stdin
10923
 
        cat >$tmp/stdin
10924
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10925
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10926
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10927
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10928
 
  * )   ac_file_in=$ac_file.in ;;
10929
 
  esac
10930
 
 
10931
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
10932
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
11326
 
 
11327
for ac_tag in  :F $CONFIG_FILES
 
11328
do
 
11329
  case $ac_tag in
 
11330
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
11331
  esac
 
11332
  case $ac_mode$ac_tag in
 
11333
  :[FHL]*:*);;
 
11334
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
11335
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
11336
   { (exit 1); exit 1; }; };;
 
11337
  :[FH]-) ac_tag=-:-;;
 
11338
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
11339
  esac
 
11340
  ac_save_IFS=$IFS
 
11341
  IFS=:
 
11342
  set x $ac_tag
 
11343
  IFS=$ac_save_IFS
 
11344
  shift
 
11345
  ac_file=$1
 
11346
  shift
 
11347
 
 
11348
  case $ac_mode in
 
11349
  :L) ac_source=$1;;
 
11350
  :[FH])
 
11351
    ac_file_inputs=
 
11352
    for ac_f
 
11353
    do
 
11354
      case $ac_f in
 
11355
      -) ac_f="$tmp/stdin";;
 
11356
      *) # Look for the file first in the build tree, then in the source tree
 
11357
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
11358
         # because $ac_f cannot contain `:'.
 
11359
         test -f "$ac_f" ||
 
11360
           case $ac_f in
 
11361
           [\\/$]*) false;;
 
11362
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
11363
           esac ||
 
11364
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
11365
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
11366
   { (exit 1); exit 1; }; };;
 
11367
      esac
 
11368
      ac_file_inputs="$ac_file_inputs $ac_f"
 
11369
    done
 
11370
 
 
11371
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
11372
    # use $as_me), people would be surprised to read:
 
11373
    #    /* config.h.  Generated by config.status.  */
 
11374
    configure_input="Generated from "`IFS=:
 
11375
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
11376
    if test x"$ac_file" != x-; then
 
11377
      configure_input="$ac_file.  $configure_input"
 
11378
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
11379
echo "$as_me: creating $ac_file" >&6;}
 
11380
    fi
 
11381
 
 
11382
    case $ac_tag in
 
11383
    *:-:* | *:-) cat >"$tmp/stdin";;
 
11384
    esac
 
11385
    ;;
 
11386
  esac
 
11387
 
 
11388
  ac_dir=`$as_dirname -- "$ac_file" ||
10933
11389
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10934
11390
         X"$ac_file" : 'X\(//\)[^/]' \| \
10935
11391
         X"$ac_file" : 'X\(//\)$' \| \
10936
 
         X"$ac_file" : 'X\(/\)' \| \
10937
 
         .     : '\(.\)' 2>/dev/null ||
 
11392
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10938
11393
echo X"$ac_file" |
10939
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10940
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10941
 
          /^X\(\/\/\)$/{ s//\1/; q; }
10942
 
          /^X\(\/\).*/{ s//\1/; q; }
10943
 
          s/.*/./; q'`
10944
 
  { if $as_mkdir_p; then
10945
 
    mkdir -p "$ac_dir"
10946
 
  else
10947
 
    as_dir="$ac_dir"
 
11394
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
11395
            s//\1/
 
11396
            q
 
11397
          }
 
11398
          /^X\(\/\/\)[^/].*/{
 
11399
            s//\1/
 
11400
            q
 
11401
          }
 
11402
          /^X\(\/\/\)$/{
 
11403
            s//\1/
 
11404
            q
 
11405
          }
 
11406
          /^X\(\/\).*/{
 
11407
            s//\1/
 
11408
            q
 
11409
          }
 
11410
          s/.*/./; q'`
 
11411
  { as_dir="$ac_dir"
 
11412
  case $as_dir in #(
 
11413
  -*) as_dir=./$as_dir;;
 
11414
  esac
 
11415
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
10948
11416
    as_dirs=
10949
 
    while test ! -d "$as_dir"; do
10950
 
      as_dirs="$as_dir $as_dirs"
10951
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
11417
    while :; do
 
11418
      case $as_dir in #(
 
11419
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
11420
      *) as_qdir=$as_dir;;
 
11421
      esac
 
11422
      as_dirs="'$as_qdir' $as_dirs"
 
11423
      as_dir=`$as_dirname -- "$as_dir" ||
10952
11424
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10953
11425
         X"$as_dir" : 'X\(//\)[^/]' \| \
10954
11426
         X"$as_dir" : 'X\(//\)$' \| \
10955
 
         X"$as_dir" : 'X\(/\)' \| \
10956
 
         .     : '\(.\)' 2>/dev/null ||
 
11427
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10957
11428
echo X"$as_dir" |
10958
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10959
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10960
 
          /^X\(\/\/\)$/{ s//\1/; q; }
10961
 
          /^X\(\/\).*/{ s//\1/; q; }
10962
 
          s/.*/./; q'`
 
11429
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
11430
            s//\1/
 
11431
            q
 
11432
          }
 
11433
          /^X\(\/\/\)[^/].*/{
 
11434
            s//\1/
 
11435
            q
 
11436
          }
 
11437
          /^X\(\/\/\)$/{
 
11438
            s//\1/
 
11439
            q
 
11440
          }
 
11441
          /^X\(\/\).*/{
 
11442
            s//\1/
 
11443
            q
 
11444
          }
 
11445
          s/.*/./; q'`
 
11446
      test -d "$as_dir" && break
10963
11447
    done
10964
 
    test ! -n "$as_dirs" || mkdir $as_dirs
10965
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10966
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
11448
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
11449
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
11450
echo "$as_me: error: cannot create directory $as_dir" >&2;}
10967
11451
   { (exit 1); exit 1; }; }; }
10968
 
 
10969
11452
  ac_builddir=.
10970
11453
 
10971
 
if test "$ac_dir" != .; then
 
11454
case "$ac_dir" in
 
11455
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
11456
*)
10972
11457
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10973
 
  # A "../" for each directory in $ac_dir_suffix.
10974
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10975
 
else
10976
 
  ac_dir_suffix= ac_top_builddir=
10977
 
fi
 
11458
  # A ".." for each directory in $ac_dir_suffix.
 
11459
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
11460
  case $ac_top_builddir_sub in
 
11461
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
11462
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
11463
  esac ;;
 
11464
esac
 
11465
ac_abs_top_builddir=$ac_pwd
 
11466
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
11467
# for backward compatibility:
 
11468
ac_top_builddir=$ac_top_build_prefix
10978
11469
 
10979
11470
case $srcdir in
10980
 
  .)  # No --srcdir option.  We are building in place.
 
11471
  .)  # We are building in place.
10981
11472
    ac_srcdir=.
10982
 
    if test -z "$ac_top_builddir"; then
10983
 
       ac_top_srcdir=.
10984
 
    else
10985
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
10986
 
    fi ;;
10987
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
11473
    ac_top_srcdir=$ac_top_builddir_sub
 
11474
    ac_abs_top_srcdir=$ac_pwd ;;
 
11475
  [\\/]* | ?:[\\/]* )  # Absolute name.
10988
11476
    ac_srcdir=$srcdir$ac_dir_suffix;
10989
 
    ac_top_srcdir=$srcdir ;;
10990
 
  *) # Relative path.
10991
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10992
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
10993
 
esac
10994
 
 
10995
 
# Do not use `cd foo && pwd` to compute absolute paths, because
10996
 
# the directories may not exist.
10997
 
case `pwd` in
10998
 
.) ac_abs_builddir="$ac_dir";;
10999
 
*)
11000
 
  case "$ac_dir" in
11001
 
  .) ac_abs_builddir=`pwd`;;
11002
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11003
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
11004
 
  esac;;
11005
 
esac
11006
 
case $ac_abs_builddir in
11007
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
11008
 
*)
11009
 
  case ${ac_top_builddir}. in
11010
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
11011
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11012
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11013
 
  esac;;
11014
 
esac
11015
 
case $ac_abs_builddir in
11016
 
.) ac_abs_srcdir=$ac_srcdir;;
11017
 
*)
11018
 
  case $ac_srcdir in
11019
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
11020
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11021
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11022
 
  esac;;
11023
 
esac
11024
 
case $ac_abs_builddir in
11025
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
11026
 
*)
11027
 
  case $ac_top_srcdir in
11028
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
11029
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11030
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11031
 
  esac;;
11032
 
esac
11033
 
 
 
11477
    ac_top_srcdir=$srcdir
 
11478
    ac_abs_top_srcdir=$srcdir ;;
 
11479
  *) # Relative name.
 
11480
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
11481
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
11482
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
11483
esac
 
11484
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
11485
 
 
11486
 
 
11487
  case $ac_mode in
 
11488
  :F)
 
11489
  #
 
11490
  # CONFIG_FILE
 
11491
  #
11034
11492
 
11035
11493
  case $INSTALL in
11036
11494
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11037
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
11495
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
11038
11496
  esac
11039
 
 
11040
 
  if test x"$ac_file" != x-; then
11041
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
11042
 
echo "$as_me: creating $ac_file" >&6;}
11043
 
    rm -f "$ac_file"
11044
 
  fi
11045
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
11046
 
  # use $as_me), people would be surprised to read:
11047
 
  #    /* config.h.  Generated by config.status.  */
11048
 
  if test x"$ac_file" = x-; then
11049
 
    configure_input=
11050
 
  else
11051
 
    configure_input="$ac_file.  "
11052
 
  fi
11053
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
11054
 
                                     sed 's,.*/,,'` by configure."
11055
 
 
11056
 
  # First look for the input files in the build tree, otherwise in the
11057
 
  # src tree.
11058
 
  ac_file_inputs=`IFS=:
11059
 
    for f in $ac_file_in; do
11060
 
      case $f in
11061
 
      -) echo $tmp/stdin ;;
11062
 
      [\\/$]*)
11063
 
         # Absolute (can't be DOS-style, as IFS=:)
11064
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11065
 
echo "$as_me: error: cannot find input file: $f" >&2;}
11066
 
   { (exit 1); exit 1; }; }
11067
 
         echo "$f";;
11068
 
      *) # Relative
11069
 
         if test -f "$f"; then
11070
 
           # Build tree
11071
 
           echo "$f"
11072
 
         elif test -f "$srcdir/$f"; then
11073
 
           # Source tree
11074
 
           echo "$srcdir/$f"
11075
 
         else
11076
 
           # /dev/null tree
11077
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11078
 
echo "$as_me: error: cannot find input file: $f" >&2;}
11079
 
   { (exit 1); exit 1; }; }
11080
 
         fi;;
11081
 
      esac
11082
 
    done` || { (exit 1); exit 1; }
11083
 
_ACEOF
 
11497
_ACEOF
 
11498
 
 
11499
cat >>$CONFIG_STATUS <<\_ACEOF
 
11500
# If the template does not know about datarootdir, expand it.
 
11501
# FIXME: This hack should be removed a few years after 2.60.
 
11502
ac_datarootdir_hack=; ac_datarootdir_seen=
 
11503
 
 
11504
case `sed -n '/datarootdir/ {
 
11505
  p
 
11506
  q
 
11507
}
 
11508
/@datadir@/p
 
11509
/@docdir@/p
 
11510
/@infodir@/p
 
11511
/@localedir@/p
 
11512
/@mandir@/p
 
11513
' $ac_file_inputs` in
 
11514
*datarootdir*) ac_datarootdir_seen=yes;;
 
11515
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
11516
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
11517
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
11518
_ACEOF
 
11519
cat >>$CONFIG_STATUS <<_ACEOF
 
11520
  ac_datarootdir_hack='
 
11521
  s&@datadir@&$datadir&g
 
11522
  s&@docdir@&$docdir&g
 
11523
  s&@infodir@&$infodir&g
 
11524
  s&@localedir@&$localedir&g
 
11525
  s&@mandir@&$mandir&g
 
11526
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
11527
esac
 
11528
_ACEOF
 
11529
 
 
11530
# Neutralize VPATH when `$srcdir' = `.'.
 
11531
# Shell code in configure.ac might set extrasub.
 
11532
# FIXME: do we really want to maintain this feature?
11084
11533
cat >>$CONFIG_STATUS <<_ACEOF
11085
11534
  sed "$ac_vpsub
11086
11535
$extrasub
11088
11537
cat >>$CONFIG_STATUS <<\_ACEOF
11089
11538
:t
11090
11539
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11091
 
s,@configure_input@,$configure_input,;t t
11092
 
s,@srcdir@,$ac_srcdir,;t t
11093
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
11094
 
s,@top_srcdir@,$ac_top_srcdir,;t t
11095
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
11096
 
s,@builddir@,$ac_builddir,;t t
11097
 
s,@abs_builddir@,$ac_abs_builddir,;t t
11098
 
s,@top_builddir@,$ac_top_builddir,;t t
11099
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
11100
 
s,@INSTALL@,$ac_INSTALL,;t t
11101
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11102
 
  rm -f $tmp/stdin
11103
 
  if test x"$ac_file" != x-; then
11104
 
    mv $tmp/out $ac_file
11105
 
  else
11106
 
    cat $tmp/out
11107
 
    rm -f $tmp/out
11108
 
  fi
11109
 
 
11110
 
done
11111
 
_ACEOF
11112
 
 
11113
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
11540
s&@configure_input@&$configure_input&;t t
 
11541
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
11542
s&@srcdir@&$ac_srcdir&;t t
 
11543
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
11544
s&@top_srcdir@&$ac_top_srcdir&;t t
 
11545
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
11546
s&@builddir@&$ac_builddir&;t t
 
11547
s&@abs_builddir@&$ac_abs_builddir&;t t
 
11548
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
11549
s&@INSTALL@&$ac_INSTALL&;t t
 
11550
$ac_datarootdir_hack
 
11551
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
11552
 
 
11553
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
11554
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
11555
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
11556
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
11557
which seems to be undefined.  Please make sure it is defined." >&5
 
11558
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
11559
which seems to be undefined.  Please make sure it is defined." >&2;}
 
11560
 
 
11561
  rm -f "$tmp/stdin"
 
11562
  case $ac_file in
 
11563
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
11564
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
11565
  esac
 
11566
 ;;
 
11567
 
 
11568
 
 
11569
 
 
11570
  esac
 
11571
 
 
11572
done # for ac_tag
 
11573
 
11114
11574
 
11115
11575
{ (exit 0); exit 0; }
11116
11576
_ACEOF