~ubuntu-branches/ubuntu/gutsy/curl/gutsy

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-06-29 15:04:24 UTC
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20060629150424-be178abcwks1n519
Tags: upstream-7.15.4
ImportĀ upstreamĀ versionĀ 7.15.4

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 curl -.
 
3
# Generated by GNU Autoconf 2.59d for curl -.
4
4
#
5
5
# Report bugs to <a suitable curl mailing list => http://curl.haxx.se/mail/>.
6
6
#
7
 
# Copyright (C) 2003 Free Software Foundation, Inc.
 
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
8
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8
9
# This configure script is free software; the Free Software Foundation
9
10
# gives unlimited permission to copy, distribute and modify it.
10
11
#
22
23
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23
24
  # is contrary to our usage.  Disable this feature.
24
25
  alias -g '${1+"$@"}'='"$@"'
25
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26
 
  set -o posix
 
26
  setopt NO_GLOB_SUBST
 
27
else
 
28
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
27
29
fi
 
30
BIN_SH=xpg4; export BIN_SH # for Tru64
28
31
DUALCASE=1; export DUALCASE # for MKS sh
29
32
 
 
33
 
 
34
# PATH needs CR
 
35
# Avoid depending upon Character Ranges.
 
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
39
as_cr_digits='0123456789'
 
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
41
 
 
42
# The user is always right.
 
43
if test "${PATH_SEPARATOR+set}" != set; then
 
44
  echo "#! /bin/sh" >conf$$.sh
 
45
  echo  "exit 0"   >>conf$$.sh
 
46
  chmod +x conf$$.sh
 
47
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
48
    PATH_SEPARATOR=';'
 
49
  else
 
50
    PATH_SEPARATOR=:
 
51
  fi
 
52
  rm -f conf$$.sh
 
53
fi
 
54
 
30
55
# Support unset when possible.
31
56
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32
57
  as_unset=unset
35
60
fi
36
61
 
37
62
 
 
63
# IFS
 
64
# We need space, tab and new line, in precisely that order.  Quoting is
 
65
# there to prevent editors from complaining about space-tab.
 
66
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
67
# splitting by setting IFS to empty value.)
 
68
as_nl='
 
69
'
 
70
IFS=" ""        $as_nl"
 
71
 
 
72
# Find who we are.  Look in the path if we contain no directory separator.
 
73
case $0 in
 
74
  *[\\/]* ) as_myself=$0 ;;
 
75
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
76
for as_dir in $PATH
 
77
do
 
78
  IFS=$as_save_IFS
 
79
  test -z "$as_dir" && as_dir=.
 
80
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
81
done
 
82
IFS=$as_save_IFS
 
83
 
 
84
     ;;
 
85
esac
 
86
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
87
# in which case we are not to be found in the path.
 
88
if test "x$as_myself" = x; then
 
89
  as_myself=$0
 
90
fi
 
91
if test ! -f "$as_myself"; then
 
92
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
93
  { (exit 1); exit 1; }
 
94
fi
 
95
 
38
96
# Work around bugs in pre-3.0 UWIN ksh.
39
 
$as_unset ENV MAIL MAILPATH
 
97
for as_var in ENV MAIL MAILPATH
 
98
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
99
done
40
100
PS1='$ '
41
101
PS2='> '
42
102
PS4='+ '
50
110
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51
111
    eval $as_var=C; export $as_var
52
112
  else
53
 
    $as_unset $as_var
 
113
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
54
114
  fi
55
115
done
56
116
 
57
117
# Required to use basename.
58
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
118
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
119
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
59
120
  as_expr=expr
60
121
else
61
122
  as_expr=false
62
123
fi
63
124
 
64
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
125
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
65
126
  as_basename=basename
66
127
else
67
128
  as_basename=false
69
130
 
70
131
 
71
132
# Name of the executable.
72
 
as_me=`$as_basename "$0" ||
 
133
as_me=`$as_basename -- "$0" ||
73
134
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
74
135
         X"$0" : 'X\(//\)$' \| \
75
 
         X"$0" : 'X\(/\)$' \| \
76
 
         .     : '\(.\)' 2>/dev/null ||
 
136
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
77
137
echo X/"$0" |
78
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
79
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
80
 
          /^X\/\(\/\).*/{ s//\1/; q; }
81
 
          s/.*/./; q'`
82
 
 
83
 
 
84
 
# PATH needs CR, and LINENO needs CR and PATH.
85
 
# Avoid depending upon Character Ranges.
86
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
87
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
88
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
89
 
as_cr_digits='0123456789'
90
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
91
 
 
92
 
# The user is always right.
93
 
if test "${PATH_SEPARATOR+set}" != set; then
94
 
  echo "#! /bin/sh" >conf$$.sh
95
 
  echo  "exit 0"   >>conf$$.sh
96
 
  chmod +x conf$$.sh
97
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
98
 
    PATH_SEPARATOR=';'
99
 
  else
100
 
    PATH_SEPARATOR=:
101
 
  fi
102
 
  rm -f conf$$.sh
103
 
fi
104
 
 
105
 
 
106
 
  as_lineno_1=$LINENO
107
 
  as_lineno_2=$LINENO
108
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
109
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
110
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
111
 
  # Find who we are.  Look in the path if we contain no path at all
112
 
  # relative or not.
113
 
  case $0 in
114
 
    *[\\/]* ) as_myself=$0 ;;
115
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
116
 
for as_dir in $PATH
117
 
do
118
 
  IFS=$as_save_IFS
119
 
  test -z "$as_dir" && as_dir=.
120
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121
 
done
122
 
 
123
 
       ;;
124
 
  esac
125
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
126
 
  # in which case we are not to be found in the path.
127
 
  if test "x$as_myself" = x; then
128
 
    as_myself=$0
129
 
  fi
130
 
  if test ! -f "$as_myself"; then
131
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
132
 
   { (exit 1); exit 1; }; }
133
 
  fi
134
 
  case $CONFIG_SHELL in
135
 
  '')
 
138
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
139
            s//\1/
 
140
            q
 
141
          }
 
142
          /^X\/\(\/\/\)$/{
 
143
            s//\1/
 
144
            q
 
145
          }
 
146
          /^X\/\(\/\).*/{
 
147
            s//\1/
 
148
            q
 
149
          }
 
150
          s/.*/./; q'`
 
151
 
 
152
# CDPATH.
 
153
$as_unset CDPATH
 
154
 
 
155
 
 
156
if test "x$CONFIG_SHELL" = x; then
 
157
  if (eval ":") 2>/dev/null; then
 
158
  as_have_required=yes
 
159
else
 
160
  as_have_required=no
 
161
fi
 
162
 
 
163
  if test $as_have_required = yes &&     (eval ":
 
164
(as_func_return () {
 
165
  (exit \$1)
 
166
}
 
167
as_func_success () {
 
168
  as_func_return 0
 
169
}
 
170
as_func_failure () {
 
171
  as_func_return 1
 
172
}
 
173
as_func_ret_success () {
 
174
  return 0
 
175
}
 
176
as_func_ret_failure () {
 
177
  return 1
 
178
}
 
179
 
 
180
exitcode=0
 
181
if as_func_success; then
 
182
  :
 
183
else
 
184
  exitcode=1
 
185
  echo as_func_success failed.
 
186
fi
 
187
 
 
188
if as_func_failure; then
 
189
  exitcode=1
 
190
  echo as_func_failure succeeded.
 
191
fi
 
192
 
 
193
if as_func_ret_success; then
 
194
  :
 
195
else
 
196
  exitcode=1
 
197
  echo as_func_ret_success failed.
 
198
fi
 
199
 
 
200
if as_func_ret_failure; then
 
201
  exitcode=1
 
202
  echo as_func_ret_failure succeeded.
 
203
fi
 
204
 
 
205
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
206
  :
 
207
else
 
208
  exitcode=1
 
209
  echo positional parameters were not saved.
 
210
fi
 
211
 
 
212
test \$exitcode = 0) || { (exit 1); exit 1; }
 
213
 
 
214
(
 
215
  as_lineno_1=\$LINENO
 
216
  as_lineno_2=\$LINENO
 
217
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
218
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
219
") 2> /dev/null; then
 
220
  :
 
221
else
 
222
  as_candidate_shells=
136
223
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
137
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
224
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
138
225
do
139
226
  IFS=$as_save_IFS
140
227
  test -z "$as_dir" && as_dir=.
141
 
  for as_base in sh bash ksh sh5; do
142
 
         case $as_dir in
 
228
  case $as_dir in
143
229
         /*)
144
 
           if ("$as_dir/$as_base" -c '
145
 
  as_lineno_1=$LINENO
146
 
  as_lineno_2=$LINENO
147
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
148
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
149
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
150
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
151
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
152
 
             CONFIG_SHELL=$as_dir/$as_base
153
 
             export CONFIG_SHELL
154
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
155
 
           fi;;
156
 
         esac
157
 
       done
 
230
           for as_base in sh bash ksh sh5; do
 
231
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
232
           done;;
 
233
       esac
158
234
done
159
 
;;
160
 
  esac
 
235
IFS=$as_save_IFS
 
236
 
 
237
 
 
238
      for as_shell in $as_candidate_shells $SHELL; do
 
239
         # Try only shells which exist, to save several forks.
 
240
         if test -f "$as_shell" &&
 
241
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
242
# Be Bourne compatible
 
243
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
244
  emulate sh
 
245
  NULLCMD=:
 
246
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
247
  # is contrary to our usage.  Disable this feature.
 
248
  alias -g '${1+"$@"}'='"$@"'
 
249
  setopt NO_GLOB_SUBST
 
250
else
 
251
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
252
fi
 
253
BIN_SH=xpg4; export BIN_SH # for Tru64
 
254
DUALCASE=1; export DUALCASE # for MKS sh
 
255
 
 
256
:
 
257
_ASEOF
 
258
}; then
 
259
  CONFIG_SHELL=$as_shell
 
260
               as_have_required=yes
 
261
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
262
# Be Bourne compatible
 
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
264
  emulate sh
 
265
  NULLCMD=:
 
266
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
267
  # is contrary to our usage.  Disable this feature.
 
268
  alias -g '${1+"$@"}'='"$@"'
 
269
  setopt NO_GLOB_SUBST
 
270
else
 
271
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
272
fi
 
273
BIN_SH=xpg4; export BIN_SH # for Tru64
 
274
DUALCASE=1; export DUALCASE # for MKS sh
 
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" || {
161
427
 
162
428
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
163
429
  # uniformly replaced by the line number.  The first 'sed' inserts a
164
 
  # line-number line before each line; the second 'sed' does the real
165
 
  # work.  The second script uses 'N' to pair each line-number line
166
 
  # with the numbered line, and appends trailing '-' during
167
 
  # 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.
168
435
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
169
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
170
 
  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 |
171
442
    sed '
 
443
      s/[$]LINENO.*/&-/
 
444
      t lineno
 
445
      b
 
446
      :lineno
172
447
      N
173
 
      s,$,-,
174
 
      : loop
175
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
448
      :loop
 
449
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
176
450
      t loop
177
 
      s,-$,,
178
 
      s,^['$as_cr_digits']*\n,,
 
451
      s/-\n.*//
179
452
    ' >$as_me.lineno &&
180
 
  chmod +x $as_me.lineno ||
 
453
  chmod +x "$as_me.lineno" ||
181
454
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
182
455
   { (exit 1); exit 1; }; }
183
456
 
184
457
  # Don't try to exec as it changes $[0], causing all sort of problems
185
458
  # (the dirname of $[0] is not the place where we might find the
186
 
  # original and so on.  Autoconf is especially sensible to this).
187
 
  . ./$as_me.lineno
 
459
  # original and so on.  Autoconf is especially sensitive to this).
 
460
  . "./$as_me.lineno"
188
461
  # Exit status is that of the last command.
189
462
  exit
190
463
}
191
464
 
192
465
 
193
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
194
 
  *c*,-n*) ECHO_N= ECHO_C='
195
 
' ECHO_T='      ' ;;
196
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
197
 
  *)       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';;
198
481
esac
199
482
 
200
 
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
201
485
  as_expr=expr
202
486
else
203
487
  as_expr=false
204
488
fi
205
489
 
206
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
207
497
echo >conf$$.file
208
498
if ln -s conf$$.file conf$$ 2>/dev/null; then
209
 
  # We could just check for DJGPP; but this test a) works b) is more generic
210
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
211
 
  if test -f conf$$.exe; then
212
 
    # 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 ||
213
505
    as_ln_s='cp -p'
214
 
  else
215
 
    as_ln_s='ln -s'
216
 
  fi
217
506
elif ln conf$$.file conf$$ 2>/dev/null; then
218
507
  as_ln_s=ln
219
508
else
220
509
  as_ln_s='cp -p'
221
510
fi
222
 
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
223
513
 
224
514
if mkdir -p . 2>/dev/null; then
225
515
  as_mkdir_p=:
228
518
  as_mkdir_p=false
229
519
fi
230
520
 
231
 
as_executable_p="test -f"
 
521
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 
522
# systems may use methods other than mode bits to determine executability.
 
523
cat >conf$$.file <<_ASEOF
 
524
#! /bin/sh
 
525
exit 0
 
526
_ASEOF
 
527
chmod +x conf$$.file
 
528
if test -x conf$$.file >/dev/null 2>&1; then
 
529
  as_executable_p="test -x"
 
530
else
 
531
  as_executable_p=:
 
532
fi
 
533
rm -f conf$$.file
232
534
 
233
535
# Sed expression to map a string onto a valid CPP name.
234
536
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
237
539
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238
540
 
239
541
 
240
 
# IFS
241
 
# We need space, tab and new line, in precisely that order.
242
 
as_nl='
243
 
'
244
 
IFS="   $as_nl"
245
 
 
246
 
# CDPATH.
247
 
$as_unset CDPATH
248
 
 
249
542
 
250
543
 
251
544
# Check that we are running under the correct shell.
401
694
 
402
695
tagnames=${tagnames+${tagnames},}F77
403
696
 
 
697
exec 7<&0 </dev/null 6>&1
 
698
 
404
699
# Name of the host.
405
700
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
406
701
# so uname gets run too.
407
702
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
408
703
 
409
 
exec 6>&1
410
 
 
411
704
#
412
705
# Initializations.
413
706
#
414
707
ac_default_prefix=/usr/local
 
708
ac_clean_files=
415
709
ac_config_libobj_dir=.
 
710
LIBOBJS=
416
711
cross_compiling=no
417
712
subdirs=
418
713
MFLAGS=
419
714
MAKEFLAGS=
420
715
SHELL=${CONFIG_SHELL-/bin/sh}
421
716
 
422
 
# Maximum number of lines to put in a shell here document.
423
 
# This variable seems obsolete.  It should probably be removed, and
424
 
# only ac_max_sed_lines should be used.
425
 
: ${ac_max_here_lines=38}
426
 
 
427
717
# Identity of this package.
428
718
PACKAGE_NAME='curl'
429
719
PACKAGE_TARNAME='curl'
460
750
#endif
461
751
#if HAVE_INTTYPES_H
462
752
# include <inttypes.h>
463
 
#else
464
 
# if HAVE_STDINT_H
465
 
#  include <stdint.h>
466
 
# endif
 
753
#endif
 
754
#if HAVE_STDINT_H
 
755
# include <stdint.h>
467
756
#endif
468
757
#if HAVE_UNISTD_H
469
758
# include <unistd.h>
470
759
#endif"
471
760
 
472
 
ac_subdirs_all="$ac_subdirs_all ares"
473
 
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 MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT SED AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar VERSIONNUM PKGADD_PKG PKGADD_NAME PKGADD_VENDOR build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP LN_S ECHO RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL NO_UNDEFINED_TRUE NO_UNDEFINED_FALSE MIMPURE_TRUE MIMPURE_FALSE CURL_DISABLE_HTTP CURL_DISABLE_GOPHER CURL_DISABLE_FTP CURL_DISABLE_FILE CURL_DISABLE_LDAP CURL_DISABLE_DICT CURL_DISABLE_TELNET CURL_DISABLE_TFTP IPV6_ENABLED KRB4_ENABLED PKGCONFIG USE_SSLEAY RANDOM_FILE USE_GNUTLS CURL_CA_BUNDLE CABUNDLE_TRUE CABUNDLE_FALSE HAVE_LIBZ HAVE_LIBZ_TRUE HAVE_LIBZ_FALSE IDN_ENABLED PERL NROFF MANOPT USE_MANUAL_TRUE USE_MANUAL_FALSE HAVE_ARES subdirs CURL_DISABLE_VERBOSE_STRINGS USE_WINDOWS_SSPI CURL_DISABLE_CRYPTO_AUTH CURL_DISABLE_COOKIES CROSSCOMPILING_TRUE CROSSCOMPILING_FALSE LIBOBJS LTLIBOBJS'
 
761
ac_subst_vars='SHELL
 
762
PATH_SEPARATOR
 
763
PACKAGE_NAME
 
764
PACKAGE_TARNAME
 
765
PACKAGE_VERSION
 
766
PACKAGE_STRING
 
767
PACKAGE_BUGREPORT
 
768
exec_prefix
 
769
prefix
 
770
program_transform_name
 
771
bindir
 
772
sbindir
 
773
libexecdir
 
774
datarootdir
 
775
datadir
 
776
sysconfdir
 
777
sharedstatedir
 
778
localstatedir
 
779
includedir
 
780
oldincludedir
 
781
docdir
 
782
infodir
 
783
htmldir
 
784
dvidir
 
785
pdfdir
 
786
psdir
 
787
libdir
 
788
localedir
 
789
mandir
 
790
DEFS
 
791
ECHO_C
 
792
ECHO_N
 
793
ECHO_T
 
794
LIBS
 
795
build_alias
 
796
host_alias
 
797
target_alias
 
798
MAINTAINER_MODE_TRUE
 
799
MAINTAINER_MODE_FALSE
 
800
MAINT
 
801
SED
 
802
AR
 
803
INSTALL_PROGRAM
 
804
INSTALL_SCRIPT
 
805
INSTALL_DATA
 
806
CYGPATH_W
 
807
PACKAGE
 
808
VERSION
 
809
ACLOCAL
 
810
AUTOCONF
 
811
AUTOMAKE
 
812
AUTOHEADER
 
813
MAKEINFO
 
814
install_sh
 
815
STRIP
 
816
INSTALL_STRIP_PROGRAM
 
817
mkdir_p
 
818
AWK
 
819
SET_MAKE
 
820
am__leading_dot
 
821
AMTAR
 
822
am__tar
 
823
am__untar
 
824
VERSIONNUM
 
825
PKGADD_PKG
 
826
PKGADD_NAME
 
827
PKGADD_VENDOR
 
828
build
 
829
build_cpu
 
830
build_vendor
 
831
build_os
 
832
host
 
833
host_cpu
 
834
host_vendor
 
835
host_os
 
836
CC
 
837
CFLAGS
 
838
LDFLAGS
 
839
CPPFLAGS
 
840
ac_ct_CC
 
841
EXEEXT
 
842
OBJEXT
 
843
DEPDIR
 
844
am__include
 
845
am__quote
 
846
AMDEP_TRUE
 
847
AMDEP_FALSE
 
848
AMDEPBACKSLASH
 
849
CCDEPMODE
 
850
am__fastdepCC_TRUE
 
851
am__fastdepCC_FALSE
 
852
CPP
 
853
GREP
 
854
EGREP
 
855
LN_S
 
856
ECHO
 
857
RANLIB
 
858
DLLTOOL
 
859
AS
 
860
OBJDUMP
 
861
CXX
 
862
CXXFLAGS
 
863
ac_ct_CXX
 
864
CXXDEPMODE
 
865
am__fastdepCXX_TRUE
 
866
am__fastdepCXX_FALSE
 
867
CXXCPP
 
868
F77
 
869
FFLAGS
 
870
ac_ct_F77
 
871
LIBTOOL
 
872
NO_UNDEFINED_TRUE
 
873
NO_UNDEFINED_FALSE
 
874
MIMPURE_TRUE
 
875
MIMPURE_FALSE
 
876
CURL_DISABLE_HTTP
 
877
CURL_DISABLE_FTP
 
878
CURL_DISABLE_FILE
 
879
CURL_DISABLE_LDAP
 
880
CURL_DISABLE_DICT
 
881
CURL_DISABLE_TELNET
 
882
CURL_DISABLE_TFTP
 
883
IPV6_ENABLED
 
884
KRB4_ENABLED
 
885
PKGCONFIG
 
886
USE_SSLEAY
 
887
RANDOM_FILE
 
888
USE_GNUTLS
 
889
CURL_CA_BUNDLE
 
890
CABUNDLE_TRUE
 
891
CABUNDLE_FALSE
 
892
HAVE_LIBZ
 
893
HAVE_LIBZ_TRUE
 
894
HAVE_LIBZ_FALSE
 
895
IDN_ENABLED
 
896
PERL
 
897
NROFF
 
898
MANOPT
 
899
USE_MANUAL_TRUE
 
900
USE_MANUAL_FALSE
 
901
HAVE_ARES
 
902
subdirs
 
903
CURL_DISABLE_VERBOSE_STRINGS
 
904
USE_WINDOWS_SSPI
 
905
CURL_DISABLE_CRYPTO_AUTH
 
906
CURL_DISABLE_COOKIES
 
907
CROSSCOMPILING_TRUE
 
908
CROSSCOMPILING_FALSE
 
909
LIBOBJS
 
910
LTLIBOBJS'
474
911
ac_subst_files=''
 
912
      ac_precious_vars='build_alias
 
913
host_alias
 
914
target_alias
 
915
CC
 
916
CFLAGS
 
917
LDFLAGS
 
918
CPPFLAGS
 
919
CPP
 
920
CXX
 
921
CXXFLAGS
 
922
CCC
 
923
CXXCPP
 
924
F77
 
925
FFLAGS'
 
926
ac_subdirs_all='ares'
475
927
 
476
928
# Initialize some variables set by options.
477
929
ac_init_help=
498
950
# and all the variables that are supposed to be based on exec_prefix
499
951
# by default will actually change.
500
952
# Use braces instead of parens because sh, perl, etc. also accept them.
 
953
# (The list follows the same order as the GNU Coding Standards.)
501
954
bindir='${exec_prefix}/bin'
502
955
sbindir='${exec_prefix}/sbin'
503
956
libexecdir='${exec_prefix}/libexec'
504
 
datadir='${prefix}/share'
 
957
datarootdir='${prefix}/share'
 
958
datadir='${datarootdir}'
505
959
sysconfdir='${prefix}/etc'
506
960
sharedstatedir='${prefix}/com'
507
961
localstatedir='${prefix}/var'
508
 
libdir='${exec_prefix}/lib'
509
962
includedir='${prefix}/include'
510
963
oldincludedir='/usr/include'
511
 
infodir='${prefix}/info'
512
 
mandir='${prefix}/man'
 
964
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
965
infodir='${datarootdir}/info'
 
966
htmldir='${docdir}'
 
967
dvidir='${docdir}'
 
968
pdfdir='${docdir}'
 
969
psdir='${docdir}'
 
970
libdir='${exec_prefix}/lib'
 
971
localedir='${datarootdir}/locale'
 
972
mandir='${datarootdir}/man'
513
973
 
514
974
ac_prev=
 
975
ac_dashdash=
515
976
for ac_option
516
977
do
517
978
  # If the previous option needs an argument, assign it.
518
979
  if test -n "$ac_prev"; then
519
 
    eval "$ac_prev=\$ac_option"
 
980
    eval $ac_prev=\$ac_option
520
981
    ac_prev=
521
982
    continue
522
983
  fi
523
984
 
524
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
985
  case $ac_option in
 
986
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
987
  *)    ac_optarg=yes ;;
 
988
  esac
525
989
 
526
990
  # Accept the important Cygnus configure options, so we can diagnose typos.
527
991
 
528
 
  case $ac_option in
 
992
  case $ac_dashdash$ac_option in
 
993
  --)
 
994
    ac_dashdash=yes ;;
529
995
 
530
996
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
531
997
    ac_prev=bindir ;;
547
1013
  --config-cache | -C)
548
1014
    cache_file=config.cache ;;
549
1015
 
550
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
1016
  -datadir | --datadir | --datadi | --datad)
551
1017
    ac_prev=datadir ;;
552
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
553
 
  | --da=*)
 
1018
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
554
1019
    datadir=$ac_optarg ;;
555
1020
 
 
1021
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1022
  | --dataroo | --dataro | --datar)
 
1023
    ac_prev=datarootdir ;;
 
1024
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1025
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1026
    datarootdir=$ac_optarg ;;
 
1027
 
556
1028
  -disable-* | --disable-*)
557
1029
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
558
1030
    # Reject names that are not valid shell variable names.
560
1032
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
561
1033
   { (exit 1); exit 1; }; }
562
1034
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
563
 
    eval "enable_$ac_feature=no" ;;
 
1035
    eval enable_$ac_feature=no ;;
 
1036
 
 
1037
  -docdir | --docdir | --docdi | --doc | --do)
 
1038
    ac_prev=docdir ;;
 
1039
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1040
    docdir=$ac_optarg ;;
 
1041
 
 
1042
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1043
    ac_prev=dvidir ;;
 
1044
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1045
    dvidir=$ac_optarg ;;
564
1046
 
565
1047
  -enable-* | --enable-*)
566
1048
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
569
1051
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
570
1052
   { (exit 1); exit 1; }; }
571
1053
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
572
 
    case $ac_option in
573
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
574
 
      *) ac_optarg=yes ;;
575
 
    esac
576
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
1054
    eval enable_$ac_feature=\$ac_optarg ;;
577
1055
 
578
1056
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
579
1057
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
600
1078
  -host=* | --host=* | --hos=* | --ho=*)
601
1079
    host_alias=$ac_optarg ;;
602
1080
 
 
1081
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1082
    ac_prev=htmldir ;;
 
1083
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1084
  | --ht=*)
 
1085
    htmldir=$ac_optarg ;;
 
1086
 
603
1087
  -includedir | --includedir | --includedi | --included | --include \
604
1088
  | --includ | --inclu | --incl | --inc)
605
1089
    ac_prev=includedir ;;
624
1108
  | --libexe=* | --libex=* | --libe=*)
625
1109
    libexecdir=$ac_optarg ;;
626
1110
 
 
1111
  -localedir | --localedir | --localedi | --localed | --locale)
 
1112
    ac_prev=localedir ;;
 
1113
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1114
    localedir=$ac_optarg ;;
 
1115
 
627
1116
  -localstatedir | --localstatedir | --localstatedi | --localstated \
628
 
  | --localstate | --localstat | --localsta | --localst \
629
 
  | --locals | --local | --loca | --loc | --lo)
 
1117
  | --localstate | --localstat | --localsta | --localst | --locals)
630
1118
    ac_prev=localstatedir ;;
631
1119
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
632
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
633
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1120
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
634
1121
    localstatedir=$ac_optarg ;;
635
1122
 
636
1123
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
695
1182
  | --progr-tra=* | --program-tr=* | --program-t=*)
696
1183
    program_transform_name=$ac_optarg ;;
697
1184
 
 
1185
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1186
    ac_prev=pdfdir ;;
 
1187
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1188
    pdfdir=$ac_optarg ;;
 
1189
 
 
1190
  -psdir | --psdir | --psdi | --psd | --ps)
 
1191
    ac_prev=psdir ;;
 
1192
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1193
    psdir=$ac_optarg ;;
 
1194
 
698
1195
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
699
1196
  | -silent | --silent | --silen | --sile | --sil)
700
1197
    silent=yes ;;
751
1248
      { echo "$as_me: error: invalid package name: $ac_package" >&2
752
1249
   { (exit 1); exit 1; }; }
753
1250
    ac_package=`echo $ac_package| sed 's/-/_/g'`
754
 
    case $ac_option in
755
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
756
 
      *) ac_optarg=yes ;;
757
 
    esac
758
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1251
    eval with_$ac_package=\$ac_optarg ;;
759
1252
 
760
1253
  -without-* | --without-*)
761
1254
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
764
1257
      { echo "$as_me: error: invalid package name: $ac_package" >&2
765
1258
   { (exit 1); exit 1; }; }
766
1259
    ac_package=`echo $ac_package | sed 's/-/_/g'`
767
 
    eval "with_$ac_package=no" ;;
 
1260
    eval with_$ac_package=no ;;
768
1261
 
769
1262
  --x)
770
1263
    # Obsolete; use --with-x.
795
1288
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
796
1289
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
797
1290
   { (exit 1); exit 1; }; }
798
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
799
 
    eval "$ac_envvar='$ac_optarg'"
 
1291
    eval $ac_envvar=\$ac_optarg
800
1292
    export $ac_envvar ;;
801
1293
 
802
1294
  *)
816
1308
   { (exit 1); exit 1; }; }
817
1309
fi
818
1310
 
819
 
# Be sure to have absolute paths.
820
 
for ac_var in exec_prefix prefix
821
 
do
822
 
  eval ac_val=$`echo $ac_var`
823
 
  case $ac_val in
824
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
825
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826
 
   { (exit 1); exit 1; }; };;
827
 
  esac
828
 
done
829
 
 
830
 
# Be sure to have absolute paths.
831
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
832
 
              localstatedir libdir includedir oldincludedir infodir mandir
833
 
do
834
 
  eval ac_val=$`echo $ac_var`
835
 
  case $ac_val in
836
 
    [\\/$]* | ?:[\\/]* ) ;;
837
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
838
 
   { (exit 1); exit 1; }; };;
839
 
  esac
 
1311
# Be sure to have absolute directory names.
 
1312
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1313
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1314
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1315
                libdir localedir mandir
 
1316
do
 
1317
  eval ac_val=\$$ac_var
 
1318
  case $ac_val in
 
1319
    [\\/$]* | ?:[\\/]* )  continue;;
 
1320
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1321
  esac
 
1322
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1323
   { (exit 1); exit 1; }; }
840
1324
done
841
1325
 
842
1326
# There might be people who depend on the old broken behavior: `$host'
863
1347
test "$silent" = yes && exec 6>/dev/null
864
1348
 
865
1349
 
 
1350
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1351
ac_ls_di=`ls -di .` &&
 
1352
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1353
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1354
   { (exit 1); exit 1; }; }
 
1355
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1356
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1357
   { (exit 1); exit 1; }; }
 
1358
 
 
1359
 
866
1360
# Find the source files, if location was not specified.
867
1361
if test -z "$srcdir"; then
868
1362
  ac_srcdir_defaulted=yes
869
 
  # Try the directory containing this script, then its parent.
870
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1363
  # Try the directory containing this script, then the parent directory.
 
1364
  ac_confdir=`$as_dirname -- "$0" ||
871
1365
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
872
1366
         X"$0" : 'X\(//\)[^/]' \| \
873
1367
         X"$0" : 'X\(//\)$' \| \
874
 
         X"$0" : 'X\(/\)' \| \
875
 
         .     : '\(.\)' 2>/dev/null ||
 
1368
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
876
1369
echo X"$0" |
877
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
878
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
879
 
          /^X\(\/\/\)$/{ s//\1/; q; }
880
 
          /^X\(\/\).*/{ s//\1/; q; }
881
 
          s/.*/./; q'`
 
1370
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1371
            s//\1/
 
1372
            q
 
1373
          }
 
1374
          /^X\(\/\/\)[^/].*/{
 
1375
            s//\1/
 
1376
            q
 
1377
          }
 
1378
          /^X\(\/\/\)$/{
 
1379
            s//\1/
 
1380
            q
 
1381
          }
 
1382
          /^X\(\/\).*/{
 
1383
            s//\1/
 
1384
            q
 
1385
          }
 
1386
          s/.*/./; q'`
882
1387
  srcdir=$ac_confdir
883
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1388
  if test ! -r "$srcdir/$ac_unique_file"; then
884
1389
    srcdir=..
885
1390
  fi
886
1391
else
887
1392
  ac_srcdir_defaulted=no
888
1393
fi
889
 
if test ! -r $srcdir/$ac_unique_file; then
890
 
  if test "$ac_srcdir_defaulted" = yes; then
891
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
892
 
   { (exit 1); exit 1; }; }
893
 
  else
894
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
895
 
   { (exit 1); exit 1; }; }
896
 
  fi
897
 
fi
898
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
899
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
900
 
   { (exit 1); exit 1; }; }
901
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
902
 
ac_env_build_alias_set=${build_alias+set}
903
 
ac_env_build_alias_value=$build_alias
904
 
ac_cv_env_build_alias_set=${build_alias+set}
905
 
ac_cv_env_build_alias_value=$build_alias
906
 
ac_env_host_alias_set=${host_alias+set}
907
 
ac_env_host_alias_value=$host_alias
908
 
ac_cv_env_host_alias_set=${host_alias+set}
909
 
ac_cv_env_host_alias_value=$host_alias
910
 
ac_env_target_alias_set=${target_alias+set}
911
 
ac_env_target_alias_value=$target_alias
912
 
ac_cv_env_target_alias_set=${target_alias+set}
913
 
ac_cv_env_target_alias_value=$target_alias
914
 
ac_env_CC_set=${CC+set}
915
 
ac_env_CC_value=$CC
916
 
ac_cv_env_CC_set=${CC+set}
917
 
ac_cv_env_CC_value=$CC
918
 
ac_env_CFLAGS_set=${CFLAGS+set}
919
 
ac_env_CFLAGS_value=$CFLAGS
920
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
921
 
ac_cv_env_CFLAGS_value=$CFLAGS
922
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
923
 
ac_env_LDFLAGS_value=$LDFLAGS
924
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
925
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
926
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
927
 
ac_env_CPPFLAGS_value=$CPPFLAGS
928
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
929
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
930
 
ac_env_CPP_set=${CPP+set}
931
 
ac_env_CPP_value=$CPP
932
 
ac_cv_env_CPP_set=${CPP+set}
933
 
ac_cv_env_CPP_value=$CPP
934
 
ac_env_CXX_set=${CXX+set}
935
 
ac_env_CXX_value=$CXX
936
 
ac_cv_env_CXX_set=${CXX+set}
937
 
ac_cv_env_CXX_value=$CXX
938
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
939
 
ac_env_CXXFLAGS_value=$CXXFLAGS
940
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
941
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
942
 
ac_env_CXXCPP_set=${CXXCPP+set}
943
 
ac_env_CXXCPP_value=$CXXCPP
944
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
945
 
ac_cv_env_CXXCPP_value=$CXXCPP
946
 
ac_env_F77_set=${F77+set}
947
 
ac_env_F77_value=$F77
948
 
ac_cv_env_F77_set=${F77+set}
949
 
ac_cv_env_F77_value=$F77
950
 
ac_env_FFLAGS_set=${FFLAGS+set}
951
 
ac_env_FFLAGS_value=$FFLAGS
952
 
ac_cv_env_FFLAGS_set=${FFLAGS+set}
953
 
ac_cv_env_FFLAGS_value=$FFLAGS
 
1394
if test ! -r "$srcdir/$ac_unique_file"; then
 
1395
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1396
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1397
   { (exit 1); exit 1; }; }
 
1398
fi
 
1399
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1400
ac_abs_confdir=`(
 
1401
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1402
   { (exit 1); exit 1; }; }
 
1403
        pwd)`
 
1404
# When building in place, set srcdir=.
 
1405
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1406
  srcdir=.
 
1407
fi
 
1408
# Remove unnecessary trailing slashes from srcdir.
 
1409
# Double slashes in file names in object file debugging info
 
1410
# mess up M-x gdb in Emacs.
 
1411
case $srcdir in
 
1412
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1413
esac
 
1414
for ac_var in $ac_precious_vars; do
 
1415
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1416
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1417
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1418
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1419
done
954
1420
 
955
1421
#
956
1422
# Report the --help message.
979
1445
  -n, --no-create         do not create output files
980
1446
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
981
1447
 
982
 
_ACEOF
983
 
 
984
 
  cat <<_ACEOF
985
1448
Installation directories:
986
1449
  --prefix=PREFIX         install architecture-independent files in PREFIX
987
1450
                          [$ac_default_prefix]
999
1462
  --bindir=DIR           user executables [EPREFIX/bin]
1000
1463
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1001
1464
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1002
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
1003
1465
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1004
1466
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1005
1467
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1006
1468
  --libdir=DIR           object code libraries [EPREFIX/lib]
1007
1469
  --includedir=DIR       C header files [PREFIX/include]
1008
1470
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1009
 
  --infodir=DIR          info documentation [PREFIX/info]
1010
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1471
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1472
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1473
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1474
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1475
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1476
  --docdir=DIR           documentation root [DATAROOTDIR/doc/curl]
 
1477
  --htmldir=DIR          html documentation [DOCDIR]
 
1478
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1479
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1480
  --psdir=DIR            ps documentation [DOCDIR]
1011
1481
_ACEOF
1012
1482
 
1013
1483
  cat <<\_ACEOF
1037
1507
  --disable-dependency-tracking  speeds up one-time build
1038
1508
  --enable-dependency-tracking   do not reject slow dependency extractors
1039
1509
  --disable-largefile     omit support for large files
1040
 
  --enable-shared[=PKGS]
1041
 
                          build shared libraries [default=yes]
1042
 
  --enable-static[=PKGS]
1043
 
                          build static libraries [default=yes]
 
1510
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1511
  --enable-static[=PKGS]  build static libraries [default=yes]
1044
1512
  --enable-fast-install[=PKGS]
1045
1513
                          optimize for fast installation [default=yes]
1046
1514
  --disable-libtool-lock  avoid locking (might break parallel builds)
1048
1516
  --disable-http          Disable HTTP support
1049
1517
  --enable-ftp            Enable FTP support
1050
1518
  --disable-ftp           Disable FTP support
1051
 
  --enable-gopher         Enable GOPHER support
1052
 
  --disable-gopher        Disable GOPHER support
1053
1519
  --enable-file           Enable FILE support
1054
1520
  --disable-file          Disable FILE support
1055
1521
  --enable-ldap           Enable LDAP support
1088
1554
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1089
1555
  --with-pic              try to use only PIC/non-PIC objects [default=use
1090
1556
                          both]
1091
 
  --with-tags[=TAGS]
1092
 
                          include additional configurations [automatic]
 
1557
  --with-tags[=TAGS]      include additional configurations [automatic]
1093
1558
  --with-ldap-lib=libname Specify name of dynamic ldap lib file
1094
1559
  --with-lber-lib=libname Specify name of dynamic lber lib file
1095
1560
  --with-krb4-includes=DIR
1101
1566
                          Specify location of GSSAPI header
1102
1567
  --with-gssapi-libs=DIR  Specify location of GSSAPI libs
1103
1568
  --with-gssapi=DIR       Where to look for GSSAPI
1104
 
  --with-ssl=PATH         where to look for SSL, PATH points to the SSL
1105
 
                          installation (default: /usr/local/ssl)
 
1569
  --with-ssl=PATH         Where to look for OpenSSL, PATH points to the SSL
 
1570
                          installation (default: /usr/local/ssl); when
 
1571
                          possible, set the PKG_CONFIG_PATH environment
 
1572
                          variable instead of using this option
1106
1573
  --without-ssl           disable SSL
1107
1574
  --with-egd-socket=FILE  Entropy Gathering Daemon socket pathname
1108
1575
  --with-random=FILE      read randomness from FILE (default=/dev/urandom)
1121
1588
  CFLAGS      C compiler flags
1122
1589
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1123
1590
              nonstandard directory <lib dir>
1124
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1125
 
              headers in a nonstandard directory <include dir>
 
1591
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1592
              you have headers in a nonstandard directory <include dir>
1126
1593
  CPP         C preprocessor
1127
1594
  CXX         C++ compiler command
1128
1595
  CXXFLAGS    C++ compiler flags
1135
1602
 
1136
1603
Report bugs to <a suitable curl mailing list => http://curl.haxx.se/mail/>.
1137
1604
_ACEOF
 
1605
ac_status=$?
1138
1606
fi
1139
1607
 
1140
1608
if test "$ac_init_help" = "recursive"; then
1141
1609
  # If there are subdirs, report their specific --help.
1142
 
  ac_popdir=`pwd`
1143
1610
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1144
 
    test -d $ac_dir || continue
 
1611
    test -d "$ac_dir" || continue
1145
1612
    ac_builddir=.
1146
1613
 
1147
 
if test "$ac_dir" != .; then
 
1614
case "$ac_dir" in
 
1615
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1616
*)
1148
1617
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1149
 
  # A "../" for each directory in $ac_dir_suffix.
1150
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1151
 
else
1152
 
  ac_dir_suffix= ac_top_builddir=
1153
 
fi
 
1618
  # A ".." for each directory in $ac_dir_suffix.
 
1619
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1620
  case $ac_top_builddir_sub in
 
1621
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1622
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1623
  esac ;;
 
1624
esac
 
1625
ac_abs_top_builddir=$ac_pwd
 
1626
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1627
# for backward compatibility:
 
1628
ac_top_builddir=$ac_top_build_prefix
1154
1629
 
1155
1630
case $srcdir in
1156
 
  .)  # No --srcdir option.  We are building in place.
 
1631
  .)  # We are building in place.
1157
1632
    ac_srcdir=.
1158
 
    if test -z "$ac_top_builddir"; then
1159
 
       ac_top_srcdir=.
1160
 
    else
1161
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1162
 
    fi ;;
1163
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1633
    ac_top_srcdir=$ac_top_builddir_sub
 
1634
    ac_abs_top_srcdir=$ac_pwd ;;
 
1635
  [\\/]* | ?:[\\/]* )  # Absolute name.
1164
1636
    ac_srcdir=$srcdir$ac_dir_suffix;
1165
 
    ac_top_srcdir=$srcdir ;;
1166
 
  *) # Relative path.
1167
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1168
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1169
 
esac
1170
 
 
1171
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1172
 
# the directories may not exist.
1173
 
case `pwd` in
1174
 
.) ac_abs_builddir="$ac_dir";;
1175
 
*)
1176
 
  case "$ac_dir" in
1177
 
  .) ac_abs_builddir=`pwd`;;
1178
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1179
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1180
 
  esac;;
1181
 
esac
1182
 
case $ac_abs_builddir in
1183
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1184
 
*)
1185
 
  case ${ac_top_builddir}. in
1186
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1187
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1188
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1189
 
  esac;;
1190
 
esac
1191
 
case $ac_abs_builddir in
1192
 
.) ac_abs_srcdir=$ac_srcdir;;
1193
 
*)
1194
 
  case $ac_srcdir in
1195
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1196
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1197
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1198
 
  esac;;
1199
 
esac
1200
 
case $ac_abs_builddir in
1201
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1202
 
*)
1203
 
  case $ac_top_srcdir in
1204
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1205
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1206
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1207
 
  esac;;
1208
 
esac
1209
 
 
1210
 
    cd $ac_dir
1211
 
    # Check for guested configure; otherwise get Cygnus style configure.
1212
 
    if test -f $ac_srcdir/configure.gnu; then
1213
 
      echo
1214
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1215
 
    elif test -f $ac_srcdir/configure; then
1216
 
      echo
1217
 
      $SHELL $ac_srcdir/configure  --help=recursive
1218
 
    elif test -f $ac_srcdir/configure.ac ||
1219
 
           test -f $ac_srcdir/configure.in; then
1220
 
      echo
1221
 
      $ac_configure --help
 
1637
    ac_top_srcdir=$srcdir
 
1638
    ac_abs_top_srcdir=$srcdir ;;
 
1639
  *) # Relative name.
 
1640
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1641
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1642
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1643
esac
 
1644
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1645
 
 
1646
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1647
    # Check for guested configure.
 
1648
    if test -f "$ac_srcdir/configure.gnu"; then
 
1649
      echo &&
 
1650
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1651
    elif test -f "$ac_srcdir/configure"; then
 
1652
      echo &&
 
1653
      $SHELL "$ac_srcdir/configure" --help=recursive
1222
1654
    else
1223
1655
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1224
 
    fi
1225
 
    cd "$ac_popdir"
 
1656
    fi || ac_status=$?
 
1657
    cd "$ac_pwd" || { ac_status=$?; break; }
1226
1658
  done
1227
1659
fi
1228
1660
 
1229
 
test -n "$ac_init_help" && exit 0
 
1661
test -n "$ac_init_help" && exit $ac_status
1230
1662
if $ac_init_version; then
1231
1663
  cat <<\_ACEOF
1232
1664
curl configure -
1233
 
generated by GNU Autoconf 2.59
 
1665
generated by GNU Autoconf 2.59d
1234
1666
 
1235
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1667
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1668
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1236
1669
This configure script is free software; the Free Software Foundation
1237
1670
gives unlimited permission to copy, distribute and modify it.
1238
1671
 
1240
1673
This configure script may be copied, distributed and modified under the
1241
1674
terms of the curl license; see COPYING for more details
1242
1675
_ACEOF
1243
 
  exit 0
 
1676
  exit
1244
1677
fi
1245
 
exec 5>config.log
1246
 
cat >&5 <<_ACEOF
 
1678
cat >config.log <<_ACEOF
1247
1679
This file contains any messages produced by compilers while
1248
1680
running configure, to aid debugging if configure makes a mistake.
1249
1681
 
1250
1682
It was created by curl $as_me -, which was
1251
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1683
generated by GNU Autoconf 2.59d.  Invocation command line was
1252
1684
 
1253
1685
  $ $0 $@
1254
1686
 
1255
1687
_ACEOF
 
1688
exec 5>>config.log
1256
1689
{
1257
1690
cat <<_ASUNAME
1258
1691
## --------- ##
1271
1704
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1272
1705
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1273
1706
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1274
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1707
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1275
1708
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1276
1709
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1277
1710
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1285
1718
  test -z "$as_dir" && as_dir=.
1286
1719
  echo "PATH: $as_dir"
1287
1720
done
 
1721
IFS=$as_save_IFS
1288
1722
 
1289
1723
} >&5
1290
1724
 
1306
1740
ac_configure_args=
1307
1741
ac_configure_args0=
1308
1742
ac_configure_args1=
1309
 
ac_sep=
1310
1743
ac_must_keep_next=false
1311
1744
for ac_pass in 1 2
1312
1745
do
1317
1750
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1318
1751
    | -silent | --silent | --silen | --sile | --sil)
1319
1752
      continue ;;
1320
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1753
    *\'*)
1321
1754
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1322
1755
    esac
1323
1756
    case $ac_pass in
1339
1772
          -* ) ac_must_keep_next=true ;;
1340
1773
        esac
1341
1774
      fi
1342
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1343
 
      # Get rid of the leading space.
1344
 
      ac_sep=" "
 
1775
      ac_configure_args="$ac_configure_args '$ac_arg'"
1345
1776
      ;;
1346
1777
    esac
1347
1778
  done
1352
1783
# When interrupted or exit'd, cleanup temporary files, and complete
1353
1784
# config.log.  We remove comments because anyway the quotes in there
1354
1785
# would cause problems or look ugly.
1355
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1356
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1786
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1787
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1357
1788
trap 'exit_status=$?
1358
1789
  # Save into config.log some information that might help in debugging.
1359
1790
  {
1366
1797
_ASBOX
1367
1798
    echo
1368
1799
    # The following way of writing the cache mishandles newlines in values,
1369
 
{
 
1800
(
 
1801
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1802
    eval ac_val=\$$ac_var
 
1803
    case $ac_val in #(
 
1804
    *${as_nl}*)
 
1805
      case $ac_var in #(
 
1806
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1807
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1808
      esac
 
1809
      case $ac_var in #(
 
1810
      _ | IFS | as_nl) ;; #(
 
1811
      *) $as_unset $ac_var ;;
 
1812
      esac ;;
 
1813
    esac
 
1814
  done
1370
1815
  (set) 2>&1 |
1371
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1372
 
    *ac_space=\ *)
 
1816
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1817
    *${as_nl}ac_space=\ *)
1373
1818
      sed -n \
1374
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1375
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1376
 
      ;;
 
1819
        "s/'\''/'\''\\\\'\'''\''/g;
 
1820
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1821
      ;; #(
1377
1822
    *)
1378
 
      sed -n \
1379
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1823
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1380
1824
      ;;
1381
 
    esac;
1382
 
}
 
1825
    esac |
 
1826
    sort
 
1827
)
1383
1828
    echo
1384
1829
 
1385
1830
    cat <<\_ASBOX
1390
1835
    echo
1391
1836
    for ac_var in $ac_subst_vars
1392
1837
    do
1393
 
      eval ac_val=$`echo $ac_var`
1394
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1838
      eval ac_val=\$$ac_var
 
1839
      case $ac_val in
 
1840
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1841
      esac
 
1842
      echo "$ac_var='\''$ac_val'\''"
1395
1843
    done | sort
1396
1844
    echo
1397
1845
 
1398
1846
    if test -n "$ac_subst_files"; then
1399
1847
      cat <<\_ASBOX
1400
 
## ------------- ##
1401
 
## Output files. ##
1402
 
## ------------- ##
 
1848
## ------------------- ##
 
1849
## File substitutions. ##
 
1850
## ------------------- ##
1403
1851
_ASBOX
1404
1852
      echo
1405
1853
      for ac_var in $ac_subst_files
1406
1854
      do
1407
 
        eval ac_val=$`echo $ac_var`
1408
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1855
        eval ac_val=\$$ac_var
 
1856
        case $ac_val in
 
1857
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1858
        esac
 
1859
        echo "$ac_var='\''$ac_val'\''"
1409
1860
      done | sort
1410
1861
      echo
1411
1862
    fi
1417
1868
## ----------- ##
1418
1869
_ASBOX
1419
1870
      echo
1420
 
      sed "/^$/d" confdefs.h | sort
 
1871
      cat confdefs.h
1421
1872
      echo
1422
1873
    fi
1423
1874
    test "$ac_signal" != 0 &&
1424
1875
      echo "$as_me: caught signal $ac_signal"
1425
1876
    echo "$as_me: exit $exit_status"
1426
1877
  } >&5
1427
 
  rm -f core *.core &&
1428
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1878
  rm -f core *.core core.conftest.* &&
 
1879
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1429
1880
    exit $exit_status
1430
 
     ' 0
 
1881
' 0
1431
1882
for ac_signal in 1 2 13 15; do
1432
1883
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1433
1884
done
1434
1885
ac_signal=0
1435
1886
 
1436
1887
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1437
 
rm -rf conftest* confdefs.h
1438
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1439
 
echo >confdefs.h
 
1888
rm -f -r conftest* confdefs.h
1440
1889
 
1441
1890
# Predefined preprocessor variables.
1442
1891
 
1467
1916
 
1468
1917
# Let the site file select an alternate cache file if it wants to.
1469
1918
# Prefer explicitly selected file to automatically selected ones.
1470
 
if test -z "$CONFIG_SITE"; then
1471
 
  if test "x$prefix" != xNONE; then
1472
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1473
 
  else
1474
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1475
 
  fi
 
1919
if test -n "$CONFIG_SITE"; then
 
1920
  set x "$CONFIG_SITE"
 
1921
elif test "x$prefix" != xNONE; then
 
1922
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1923
else
 
1924
  set x "$ac_default_prefix/share/config.site" \
 
1925
        "$ac_default_prefix/etc/config.site"
1476
1926
fi
1477
 
for ac_site_file in $CONFIG_SITE; do
 
1927
shift
 
1928
for ac_site_file
 
1929
do
1478
1930
  if test -r "$ac_site_file"; then
1479
1931
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1480
1932
echo "$as_me: loading site script $ac_site_file" >&6;}
1490
1942
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1491
1943
echo "$as_me: loading cache $cache_file" >&6;}
1492
1944
    case $cache_file in
1493
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1494
 
      *)                      . ./$cache_file;;
 
1945
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1946
      *)                      . "./$cache_file";;
1495
1947
    esac
1496
1948
  fi
1497
1949
else
1503
1955
# Check that the precious variables saved in the cache have kept the same
1504
1956
# value.
1505
1957
ac_cache_corrupted=false
1506
 
for ac_var in `(set) 2>&1 |
1507
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1958
for ac_var in $ac_precious_vars; do
1508
1959
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1509
1960
  eval ac_new_set=\$ac_env_${ac_var}_set
1510
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1511
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1961
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1962
  eval ac_new_val=\$ac_env_${ac_var}_value
1512
1963
  case $ac_old_set,$ac_new_set in
1513
1964
    set,)
1514
1965
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1533
1984
  # Pass precious variables to config.status.
1534
1985
  if test "$ac_new_set" = set; then
1535
1986
    case $ac_new_val in
1536
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1537
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1987
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1538
1988
    *) ac_arg=$ac_var=$ac_new_val ;;
1539
1989
    esac
1540
1990
    case " $ac_configure_args " in
1551
2001
   { (exit 1); exit 1; }; }
1552
2002
fi
1553
2003
 
 
2004
 
 
2005
 
 
2006
 
 
2007
 
 
2008
 
 
2009
 
 
2010
 
 
2011
 
 
2012
 
 
2013
 
 
2014
 
 
2015
 
 
2016
 
 
2017
 
 
2018
 
 
2019
 
 
2020
 
 
2021
 
 
2022
 
 
2023
 
 
2024
 
 
2025
 
 
2026
 
 
2027
 
1554
2028
ac_ext=c
1555
2029
ac_cpp='$CPP $CPPFLAGS'
1556
2030
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1562
2036
 
1563
2037
 
1564
2038
 
1565
 
 
1566
 
 
1567
 
 
1568
 
 
1569
 
 
1570
 
 
1571
 
 
1572
 
 
1573
 
 
1574
 
 
1575
 
 
1576
 
 
1577
 
 
1578
 
 
1579
 
 
1580
 
 
1581
 
 
1582
 
 
1583
 
 
1584
 
 
1585
 
 
1586
 
 
1587
 
 
1588
 
 
1589
 
 
1590
 
                    ac_config_headers="$ac_config_headers lib/config.h src/config.h"
1591
 
 
1592
 
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1593
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1594
 
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 
2039
ac_config_headers="$ac_config_headers lib/config.h src/config.h"
 
2040
 
 
2041
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2042
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
2043
    # Check whether --enable-maintainer-mode was given.
1595
2044
if test "${enable_maintainer_mode+set}" = set; then
1596
 
  enableval="$enable_maintainer_mode"
1597
 
  USE_MAINTAINER_MODE=$enableval
 
2045
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1598
2046
else
1599
2047
  USE_MAINTAINER_MODE=no
1600
 
fi;
1601
 
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1602
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
 
2048
fi
 
2049
 
 
2050
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2051
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
1603
2052
 
1604
2053
 
1605
2054
if test $USE_MAINTAINER_MODE = yes; then
1616
2065
 
1617
2066
# Extract the first word of "sed", so it can be a program name with args.
1618
2067
set dummy sed; ac_word=$2
1619
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1620
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2068
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2069
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1621
2070
if test "${ac_cv_path_SED+set}" = set; then
1622
2071
  echo $ECHO_N "(cached) $ECHO_C" >&6
1623
2072
else
1633
2082
  IFS=$as_save_IFS
1634
2083
  test -z "$as_dir" && as_dir=.
1635
2084
  for ac_exec_ext in '' $ac_executable_extensions; do
1636
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2085
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1637
2086
    ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
1638
2087
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1639
2088
    break 2
1640
2089
  fi
1641
2090
done
1642
2091
done
 
2092
IFS=$as_save_IFS
1643
2093
 
1644
2094
  test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed-was-not-found-by-configure"
1645
2095
  ;;
1646
2096
esac
1647
2097
fi
1648
2098
SED=$ac_cv_path_SED
1649
 
 
1650
2099
if test -n "$SED"; then
1651
 
  echo "$as_me:$LINENO: result: $SED" >&5
1652
 
echo "${ECHO_T}$SED" >&6
 
2100
  { echo "$as_me:$LINENO: result: $SED" >&5
 
2101
echo "${ECHO_T}$SED" >&6; }
1653
2102
else
1654
 
  echo "$as_me:$LINENO: result: no" >&5
1655
 
echo "${ECHO_T}no" >&6
 
2103
  { echo "$as_me:$LINENO: result: no" >&5
 
2104
echo "${ECHO_T}no" >&6; }
1656
2105
fi
1657
2106
 
1658
2107
 
1659
2108
 
 
2109
 
1660
2110
if test "x$SED" = "xsed-was-not-found-by-configure"; then
1661
2111
  { echo "$as_me:$LINENO: WARNING: sed was not found, this may ruin your chances to build fine" >&5
1662
2112
echo "$as_me: WARNING: sed was not found, this may ruin your chances to build fine" >&2;}
1665
2115
if test -n "$ac_tool_prefix"; then
1666
2116
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1667
2117
set dummy ${ac_tool_prefix}ar; ac_word=$2
1668
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1669
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2118
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2119
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1670
2120
if test "${ac_cv_prog_AR+set}" = set; then
1671
2121
  echo $ECHO_N "(cached) $ECHO_C" >&6
1672
2122
else
1680
2130
  IFS=$as_save_IFS
1681
2131
  test -z "$as_dir" && as_dir=.
1682
2132
  for ac_exec_ext in '' $ac_executable_extensions; do
1683
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2133
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1684
2134
    ac_cv_prog_AR="${ac_tool_prefix}ar"
1685
2135
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1686
2136
    break 2
1687
2137
  fi
1688
2138
done
1689
2139
done
 
2140
IFS=$as_save_IFS
1690
2141
 
1691
2142
fi
1692
2143
fi
1693
2144
AR=$ac_cv_prog_AR
1694
2145
if test -n "$AR"; then
1695
 
  echo "$as_me:$LINENO: result: $AR" >&5
1696
 
echo "${ECHO_T}$AR" >&6
 
2146
  { echo "$as_me:$LINENO: result: $AR" >&5
 
2147
echo "${ECHO_T}$AR" >&6; }
1697
2148
else
1698
 
  echo "$as_me:$LINENO: result: no" >&5
1699
 
echo "${ECHO_T}no" >&6
 
2149
  { echo "$as_me:$LINENO: result: no" >&5
 
2150
echo "${ECHO_T}no" >&6; }
1700
2151
fi
 
2152
 
1701
2153
 
1702
2154
fi
1703
2155
if test -z "$ac_cv_prog_AR"; then
1704
2156
  ac_ct_AR=$AR
1705
2157
  # Extract the first word of "ar", so it can be a program name with args.
1706
2158
set dummy ar; ac_word=$2
1707
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1708
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2159
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2160
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1709
2161
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
1710
2162
  echo $ECHO_N "(cached) $ECHO_C" >&6
1711
2163
else
1719
2171
  IFS=$as_save_IFS
1720
2172
  test -z "$as_dir" && as_dir=.
1721
2173
  for ac_exec_ext in '' $ac_executable_extensions; do
1722
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2174
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1723
2175
    ac_cv_prog_ac_ct_AR="ar"
1724
2176
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1725
2177
    break 2
1726
2178
  fi
1727
2179
done
1728
2180
done
 
2181
IFS=$as_save_IFS
1729
2182
 
1730
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar-was-not-found-by-configure"
1731
2183
fi
1732
2184
fi
1733
2185
ac_ct_AR=$ac_cv_prog_ac_ct_AR
1734
2186
if test -n "$ac_ct_AR"; then
1735
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
1736
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
2187
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
2188
echo "${ECHO_T}$ac_ct_AR" >&6; }
1737
2189
else
1738
 
  echo "$as_me:$LINENO: result: no" >&5
1739
 
echo "${ECHO_T}no" >&6
 
2190
  { echo "$as_me:$LINENO: result: no" >&5
 
2191
echo "${ECHO_T}no" >&6; }
1740
2192
fi
1741
2193
 
1742
 
  AR=$ac_ct_AR
 
2194
  if test "x$ac_ct_AR" = x; then
 
2195
    AR="ar-was-not-found-by-configure"
 
2196
  else
 
2197
    case $cross_compiling:$ac_tool_warned in
 
2198
yes:)
 
2199
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2200
whose name does not start with the host triplet.  If you think this
 
2201
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2202
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2203
whose name does not start with the host triplet.  If you think this
 
2204
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2205
ac_tool_warned=yes ;;
 
2206
esac
 
2207
    AR=$ac_ct_AR
 
2208
  fi
1743
2209
else
1744
2210
  AR="$ac_cv_prog_AR"
1745
2211
fi
1753
2219
VERSION=`$SED -ne 's/^#define LIBCURL_VERSION "\(.*\)"/\1/p' ${srcdir}/include/curl/curlver.h`
1754
2220
am__api_version="1.9"
1755
2221
ac_aux_dir=
1756
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1757
 
  if test -f $ac_dir/install-sh; then
 
2222
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2223
  if test -f "$ac_dir/install-sh"; then
1758
2224
    ac_aux_dir=$ac_dir
1759
2225
    ac_install_sh="$ac_aux_dir/install-sh -c"
1760
2226
    break
1761
 
  elif test -f $ac_dir/install.sh; then
 
2227
  elif test -f "$ac_dir/install.sh"; then
1762
2228
    ac_aux_dir=$ac_dir
1763
2229
    ac_install_sh="$ac_aux_dir/install.sh -c"
1764
2230
    break
1765
 
  elif test -f $ac_dir/shtool; then
 
2231
  elif test -f "$ac_dir/shtool"; then
1766
2232
    ac_aux_dir=$ac_dir
1767
2233
    ac_install_sh="$ac_aux_dir/shtool install -c"
1768
2234
    break
1769
2235
  fi
1770
2236
done
1771
2237
if test -z "$ac_aux_dir"; then
1772
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1773
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
2238
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
2239
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1774
2240
   { (exit 1); exit 1; }; }
1775
2241
fi
1776
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1777
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1778
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
2242
 
 
2243
# These three variables are undocumented and unsupported,
 
2244
# and are intended to be withdrawn in a future Autoconf release.
 
2245
# They can cause serious problems if a builder's source tree is in a directory
 
2246
# whose full name contains unusual characters.
 
2247
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2248
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2249
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2250
 
1779
2251
 
1780
2252
# Find a good install program.  We prefer a C program (faster),
1781
2253
# so one script is as good as another.  But avoid the broken or
1790
2262
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1791
2263
# OS/2's system install, which has a completely different semantic
1792
2264
# ./install, which can be erroneously created by make from ./install.sh.
1793
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1794
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2265
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2266
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1795
2267
if test -z "$INSTALL"; then
1796
2268
if test "${ac_cv_path_install+set}" = set; then
1797
2269
  echo $ECHO_N "(cached) $ECHO_C" >&6
1813
2285
    # by default.
1814
2286
    for ac_prog in ginstall scoinst install; do
1815
2287
      for ac_exec_ext in '' $ac_executable_extensions; do
1816
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2288
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1817
2289
          if test $ac_prog = install &&
1818
2290
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1819
2291
            # AIX install.  It has an incompatible calling convention.
1832
2304
    ;;
1833
2305
esac
1834
2306
done
 
2307
IFS=$as_save_IFS
1835
2308
 
1836
2309
 
1837
2310
fi
1838
2311
  if test "${ac_cv_path_install+set}" = set; then
1839
2312
    INSTALL=$ac_cv_path_install
1840
2313
  else
1841
 
    # As a last resort, use the slow shell script.  We don't cache a
1842
 
    # path for INSTALL within a source directory, because that will
 
2314
    # As a last resort, use the slow shell script.  Don't cache a
 
2315
    # value for INSTALL within a source directory, because that will
1843
2316
    # break other packages using the cache if that directory is
1844
 
    # removed, or if the path is relative.
 
2317
    # removed, or if the value is a relative name.
1845
2318
    INSTALL=$ac_install_sh
1846
2319
  fi
1847
2320
fi
1848
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1849
 
echo "${ECHO_T}$INSTALL" >&6
 
2321
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2322
echo "${ECHO_T}$INSTALL" >&6; }
1850
2323
 
1851
2324
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1852
2325
# It thinks the first close brace ends the variable substitution.
1856
2329
 
1857
2330
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1858
2331
 
1859
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1860
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2332
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2333
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1861
2334
# Just in case
1862
2335
sleep 1
1863
2336
echo timestamp > conftest.file
1899
2372
Check your system clock" >&2;}
1900
2373
   { (exit 1); exit 1; }; }
1901
2374
fi
1902
 
echo "$as_me:$LINENO: result: yes" >&5
1903
 
echo "${ECHO_T}yes" >&6
 
2375
{ echo "$as_me:$LINENO: result: yes" >&5
 
2376
echo "${ECHO_T}yes" >&6; }
1904
2377
test "$program_prefix" != NONE &&
1905
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2378
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1906
2379
# Use a double $ so make ignores it.
1907
2380
test "$program_suffix" != NONE &&
1908
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
2381
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1909
2382
# Double any \ or $.  echo might interpret backslashes.
1910
2383
# By default was `s,x,x', remove it if useless.
1911
2384
cat <<\_ACEOF >conftest.sed
1912
2385
s/[\\$]/&&/g;s/;s,x,x,$//
1913
2386
_ACEOF
1914
2387
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1915
 
rm conftest.sed
 
2388
rm -f conftest.sed
1916
2389
 
1917
2390
# expand $ac_aux_dir to an absolute path
1918
2391
am_aux_dir=`cd $ac_aux_dir && pwd`
1919
2392
 
1920
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2393
test x"${MISSING+set}" = xset || MISSING="\${SHELL} \"$am_aux_dir/missing\""
1921
2394
# Use eval to expand $SHELL
1922
2395
if eval "$MISSING --run true"; then
1923
2396
  am_missing_run="$MISSING --run "
1964
2437
do
1965
2438
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1966
2439
set dummy $ac_prog; ac_word=$2
1967
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1968
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2440
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2441
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1969
2442
if test "${ac_cv_prog_AWK+set}" = set; then
1970
2443
  echo $ECHO_N "(cached) $ECHO_C" >&6
1971
2444
else
1978
2451
  IFS=$as_save_IFS
1979
2452
  test -z "$as_dir" && as_dir=.
1980
2453
  for ac_exec_ext in '' $ac_executable_extensions; do
1981
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2454
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1982
2455
    ac_cv_prog_AWK="$ac_prog"
1983
2456
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1984
2457
    break 2
1985
2458
  fi
1986
2459
done
1987
2460
done
 
2461
IFS=$as_save_IFS
1988
2462
 
1989
2463
fi
1990
2464
fi
1991
2465
AWK=$ac_cv_prog_AWK
1992
2466
if test -n "$AWK"; then
1993
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1994
 
echo "${ECHO_T}$AWK" >&6
 
2467
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
2468
echo "${ECHO_T}$AWK" >&6; }
1995
2469
else
1996
 
  echo "$as_me:$LINENO: result: no" >&5
1997
 
echo "${ECHO_T}no" >&6
 
2470
  { echo "$as_me:$LINENO: result: no" >&5
 
2471
echo "${ECHO_T}no" >&6; }
1998
2472
fi
1999
2473
 
 
2474
 
2000
2475
  test -n "$AWK" && break
2001
2476
done
2002
2477
 
2003
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2004
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2005
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2006
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
2478
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2479
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
2480
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/^a-zA-Z0-9_/_/g'`
 
2481
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2007
2482
  echo $ECHO_N "(cached) $ECHO_C" >&6
2008
2483
else
2009
2484
  cat >conftest.make <<\_ACEOF
 
2485
SHELL = /bin/sh
2010
2486
all:
2011
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2487
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2012
2488
_ACEOF
2013
2489
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2014
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2015
 
if test -n "$ac_maketemp"; then
2016
 
  eval ac_cv_prog_make_${ac_make}_set=yes
2017
 
else
2018
 
  eval ac_cv_prog_make_${ac_make}_set=no
2019
 
fi
 
2490
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2491
  *@@@%%%=?*=@@@%%%*)
 
2492
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2493
  *)
 
2494
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2495
esac
2020
2496
rm -f conftest.make
2021
2497
fi
2022
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2023
 
  echo "$as_me:$LINENO: result: yes" >&5
2024
 
echo "${ECHO_T}yes" >&6
 
2498
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2499
  { echo "$as_me:$LINENO: result: yes" >&5
 
2500
echo "${ECHO_T}yes" >&6; }
2025
2501
  SET_MAKE=
2026
2502
else
2027
 
  echo "$as_me:$LINENO: result: no" >&5
2028
 
echo "${ECHO_T}no" >&6
 
2503
  { echo "$as_me:$LINENO: result: no" >&5
 
2504
echo "${ECHO_T}no" >&6; }
2029
2505
  SET_MAKE="MAKE=${MAKE-make}"
2030
2506
fi
2031
2507
 
2096
2572
  if test -n "$ac_tool_prefix"; then
2097
2573
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2098
2574
set dummy ${ac_tool_prefix}strip; ac_word=$2
2099
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2100
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2575
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2576
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2101
2577
if test "${ac_cv_prog_STRIP+set}" = set; then
2102
2578
  echo $ECHO_N "(cached) $ECHO_C" >&6
2103
2579
else
2110
2586
  IFS=$as_save_IFS
2111
2587
  test -z "$as_dir" && as_dir=.
2112
2588
  for ac_exec_ext in '' $ac_executable_extensions; do
2113
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2589
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2114
2590
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2115
2591
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2116
2592
    break 2
2117
2593
  fi
2118
2594
done
2119
2595
done
 
2596
IFS=$as_save_IFS
2120
2597
 
2121
2598
fi
2122
2599
fi
2123
2600
STRIP=$ac_cv_prog_STRIP
2124
2601
if test -n "$STRIP"; then
2125
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
2126
 
echo "${ECHO_T}$STRIP" >&6
 
2602
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2603
echo "${ECHO_T}$STRIP" >&6; }
2127
2604
else
2128
 
  echo "$as_me:$LINENO: result: no" >&5
2129
 
echo "${ECHO_T}no" >&6
 
2605
  { echo "$as_me:$LINENO: result: no" >&5
 
2606
echo "${ECHO_T}no" >&6; }
2130
2607
fi
 
2608
 
2131
2609
 
2132
2610
fi
2133
2611
if test -z "$ac_cv_prog_STRIP"; then
2134
2612
  ac_ct_STRIP=$STRIP
2135
2613
  # Extract the first word of "strip", so it can be a program name with args.
2136
2614
set dummy strip; ac_word=$2
2137
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2138
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2615
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2616
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2139
2617
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2140
2618
  echo $ECHO_N "(cached) $ECHO_C" >&6
2141
2619
else
2148
2626
  IFS=$as_save_IFS
2149
2627
  test -z "$as_dir" && as_dir=.
2150
2628
  for ac_exec_ext in '' $ac_executable_extensions; do
2151
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2629
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2152
2630
    ac_cv_prog_ac_ct_STRIP="strip"
2153
2631
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2154
2632
    break 2
2155
2633
  fi
2156
2634
done
2157
2635
done
 
2636
IFS=$as_save_IFS
2158
2637
 
2159
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2160
2638
fi
2161
2639
fi
2162
2640
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2163
2641
if test -n "$ac_ct_STRIP"; then
2164
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2165
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2642
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2643
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2166
2644
else
2167
 
  echo "$as_me:$LINENO: result: no" >&5
2168
 
echo "${ECHO_T}no" >&6
 
2645
  { echo "$as_me:$LINENO: result: no" >&5
 
2646
echo "${ECHO_T}no" >&6; }
2169
2647
fi
2170
2648
 
2171
 
  STRIP=$ac_ct_STRIP
 
2649
  if test "x$ac_ct_STRIP" = x; then
 
2650
    STRIP=":"
 
2651
  else
 
2652
    case $cross_compiling:$ac_tool_warned in
 
2653
yes:)
 
2654
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2655
whose name does not start with the host triplet.  If you think this
 
2656
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2657
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2658
whose name does not start with the host triplet.  If you think this
 
2659
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2660
ac_tool_warned=yes ;;
 
2661
esac
 
2662
    STRIP=$ac_ct_STRIP
 
2663
  fi
2172
2664
else
2173
2665
  STRIP="$ac_cv_prog_STRIP"
2174
2666
fi
2188
2680
 
2189
2681
 
2190
2682
 
2191
 
echo "$as_me:$LINENO: checking curl version" >&5
2192
 
echo $ECHO_N "checking curl version... $ECHO_C" >&6
2193
 
echo "$as_me:$LINENO: result: $VERSION" >&5
2194
 
echo "${ECHO_T}$VERSION" >&6
 
2683
{ echo "$as_me:$LINENO: checking curl version" >&5
 
2684
echo $ECHO_N "checking curl version... $ECHO_C" >&6; }
 
2685
{ echo "$as_me:$LINENO: result: $VERSION" >&5
 
2686
echo "${ECHO_T}$VERSION" >&6; }
2195
2687
 
2196
2688
VERSIONNUM=`$SED -ne 's/^#define LIBCURL_VERSION_NUM 0x\(.*\)/\1/p' ${srcdir}/include/curl/curlver.h`
2197
2689
 
2217
2709
 
2218
2710
 
2219
2711
# Make sure we can run config.sub.
2220
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
2221
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2222
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
2712
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
2713
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
2714
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2223
2715
   { (exit 1); exit 1; }; }
2224
2716
 
2225
 
echo "$as_me:$LINENO: checking build system type" >&5
2226
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
2717
{ echo "$as_me:$LINENO: checking build system type" >&5
 
2718
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2227
2719
if test "${ac_cv_build+set}" = set; then
2228
2720
  echo $ECHO_N "(cached) $ECHO_C" >&6
2229
2721
else
2230
 
  ac_cv_build_alias=$build_alias
2231
 
test -z "$ac_cv_build_alias" &&
2232
 
  ac_cv_build_alias=`$ac_config_guess`
2233
 
test -z "$ac_cv_build_alias" &&
 
2722
  ac_build_alias=$build_alias
 
2723
test "x$ac_build_alias" = x &&
 
2724
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
2725
test "x$ac_build_alias" = x &&
2234
2726
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2235
2727
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2236
2728
   { (exit 1); exit 1; }; }
2237
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2238
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2239
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
2729
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
2730
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
2731
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2240
2732
   { (exit 1); exit 1; }; }
2241
2733
 
2242
2734
fi
2243
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2244
 
echo "${ECHO_T}$ac_cv_build" >&6
 
2735
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
2736
echo "${ECHO_T}$ac_cv_build" >&6; }
 
2737
case $ac_cv_build in
 
2738
*-*-*) ;;
 
2739
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
2740
echo "$as_me: error: invalid value of canonical build" >&2;}
 
2741
   { (exit 1); exit 1; }; };;
 
2742
esac
2245
2743
build=$ac_cv_build
2246
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2247
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2248
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2249
 
 
2250
 
 
2251
 
echo "$as_me:$LINENO: checking host system type" >&5
2252
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
2744
ac_save_IFS=$IFS; IFS='-'
 
2745
set x $ac_cv_build
 
2746
shift
 
2747
build_cpu=$1
 
2748
build_vendor=$2
 
2749
shift; shift
 
2750
# Remember, the first character of IFS is used to create $*,
 
2751
# except with old shells:
 
2752
build_os=$*
 
2753
IFS=$ac_save_IFS
 
2754
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
2755
 
 
2756
 
 
2757
{ echo "$as_me:$LINENO: checking host system type" >&5
 
2758
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2253
2759
if test "${ac_cv_host+set}" = set; then
2254
2760
  echo $ECHO_N "(cached) $ECHO_C" >&6
2255
2761
else
2256
 
  ac_cv_host_alias=$host_alias
2257
 
test -z "$ac_cv_host_alias" &&
2258
 
  ac_cv_host_alias=$ac_cv_build_alias
2259
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2260
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2261
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
2762
  if test "x$host_alias" = x; then
 
2763
  ac_cv_host=$ac_cv_build
 
2764
else
 
2765
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
2766
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
2767
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2262
2768
   { (exit 1); exit 1; }; }
 
2769
fi
2263
2770
 
2264
2771
fi
2265
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2266
 
echo "${ECHO_T}$ac_cv_host" >&6
 
2772
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2773
echo "${ECHO_T}$ac_cv_host" >&6; }
 
2774
case $ac_cv_host in
 
2775
*-*-*) ;;
 
2776
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
2777
echo "$as_me: error: invalid value of canonical host" >&2;}
 
2778
   { (exit 1); exit 1; }; };;
 
2779
esac
2267
2780
host=$ac_cv_host
2268
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2269
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2270
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
2781
ac_save_IFS=$IFS; IFS='-'
 
2782
set x $ac_cv_host
 
2783
shift
 
2784
host_cpu=$1
 
2785
host_vendor=$2
 
2786
shift; shift
 
2787
# Remember, the first character of IFS is used to create $*,
 
2788
# except with old shells:
 
2789
host_os=$*
 
2790
IFS=$ac_save_IFS
 
2791
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2271
2792
 
2272
2793
 
2273
2794
 
2278
2799
 
2279
2800
DEPDIR="${am__leading_dot}deps"
2280
2801
 
2281
 
          ac_config_commands="$ac_config_commands depfiles"
 
2802
ac_config_commands="$ac_config_commands depfiles"
2282
2803
 
2283
2804
 
2284
2805
am_make=${MAKE-make}
2288
2809
.PHONY: am__doit
2289
2810
END
2290
2811
# If we don't find an include directive, just comment out the code.
2291
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2292
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
2812
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
2813
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2293
2814
am__include="#"
2294
2815
am__quote=
2295
2816
_am_result=none
2316
2837
fi
2317
2838
 
2318
2839
 
2319
 
echo "$as_me:$LINENO: result: $_am_result" >&5
2320
 
echo "${ECHO_T}$_am_result" >&6
 
2840
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
2841
echo "${ECHO_T}$_am_result" >&6; }
2321
2842
rm -f confinc confmf
2322
2843
 
2323
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
2844
# Check whether --enable-dependency-tracking was given.
2324
2845
if test "${enable_dependency_tracking+set}" = set; then
2325
 
  enableval="$enable_dependency_tracking"
 
2846
  enableval=$enable_dependency_tracking;
 
2847
fi
2326
2848
 
2327
 
fi;
2328
2849
if test "x$enable_dependency_tracking" != xno; then
2329
2850
  am_depcomp="$ac_aux_dir/depcomp"
2330
2851
  AMDEPBACKSLASH='\'
2349
2870
if test -n "$ac_tool_prefix"; then
2350
2871
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2351
2872
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2352
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2353
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2873
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2874
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2354
2875
if test "${ac_cv_prog_CC+set}" = set; then
2355
2876
  echo $ECHO_N "(cached) $ECHO_C" >&6
2356
2877
else
2363
2884
  IFS=$as_save_IFS
2364
2885
  test -z "$as_dir" && as_dir=.
2365
2886
  for ac_exec_ext in '' $ac_executable_extensions; do
2366
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2887
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2367
2888
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2368
2889
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2369
2890
    break 2
2370
2891
  fi
2371
2892
done
2372
2893
done
 
2894
IFS=$as_save_IFS
2373
2895
 
2374
2896
fi
2375
2897
fi
2376
2898
CC=$ac_cv_prog_CC
2377
2899
if test -n "$CC"; then
2378
 
  echo "$as_me:$LINENO: result: $CC" >&5
2379
 
echo "${ECHO_T}$CC" >&6
 
2900
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2901
echo "${ECHO_T}$CC" >&6; }
2380
2902
else
2381
 
  echo "$as_me:$LINENO: result: no" >&5
2382
 
echo "${ECHO_T}no" >&6
 
2903
  { echo "$as_me:$LINENO: result: no" >&5
 
2904
echo "${ECHO_T}no" >&6; }
2383
2905
fi
 
2906
 
2384
2907
 
2385
2908
fi
2386
2909
if test -z "$ac_cv_prog_CC"; then
2387
2910
  ac_ct_CC=$CC
2388
2911
  # Extract the first word of "gcc", so it can be a program name with args.
2389
2912
set dummy gcc; ac_word=$2
2390
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2391
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2913
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2914
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2392
2915
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2393
2916
  echo $ECHO_N "(cached) $ECHO_C" >&6
2394
2917
else
2401
2924
  IFS=$as_save_IFS
2402
2925
  test -z "$as_dir" && as_dir=.
2403
2926
  for ac_exec_ext in '' $ac_executable_extensions; do
2404
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2927
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2405
2928
    ac_cv_prog_ac_ct_CC="gcc"
2406
2929
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2407
2930
    break 2
2408
2931
  fi
2409
2932
done
2410
2933
done
 
2934
IFS=$as_save_IFS
2411
2935
 
2412
2936
fi
2413
2937
fi
2414
2938
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2415
2939
if test -n "$ac_ct_CC"; then
2416
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2417
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2940
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2941
echo "${ECHO_T}$ac_ct_CC" >&6; }
2418
2942
else
2419
 
  echo "$as_me:$LINENO: result: no" >&5
2420
 
echo "${ECHO_T}no" >&6
 
2943
  { echo "$as_me:$LINENO: result: no" >&5
 
2944
echo "${ECHO_T}no" >&6; }
2421
2945
fi
2422
2946
 
2423
 
  CC=$ac_ct_CC
 
2947
  if test "x$ac_ct_CC" = x; then
 
2948
    CC=""
 
2949
  else
 
2950
    case $cross_compiling:$ac_tool_warned in
 
2951
yes:)
 
2952
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2953
whose name does not start with the host triplet.  If you think this
 
2954
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2955
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2956
whose name does not start with the host triplet.  If you think this
 
2957
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2958
ac_tool_warned=yes ;;
 
2959
esac
 
2960
    CC=$ac_ct_CC
 
2961
  fi
2424
2962
else
2425
2963
  CC="$ac_cv_prog_CC"
2426
2964
fi
2427
2965
 
2428
2966
if test -z "$CC"; then
2429
 
  if test -n "$ac_tool_prefix"; then
2430
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2967
          if test -n "$ac_tool_prefix"; then
 
2968
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2431
2969
set dummy ${ac_tool_prefix}cc; ac_word=$2
2432
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2433
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2970
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2971
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2434
2972
if test "${ac_cv_prog_CC+set}" = set; then
2435
2973
  echo $ECHO_N "(cached) $ECHO_C" >&6
2436
2974
else
2443
2981
  IFS=$as_save_IFS
2444
2982
  test -z "$as_dir" && as_dir=.
2445
2983
  for ac_exec_ext in '' $ac_executable_extensions; do
2446
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2984
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2447
2985
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2448
2986
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2449
2987
    break 2
2450
2988
  fi
2451
2989
done
2452
2990
done
 
2991
IFS=$as_save_IFS
2453
2992
 
2454
2993
fi
2455
2994
fi
2456
2995
CC=$ac_cv_prog_CC
2457
2996
if test -n "$CC"; then
2458
 
  echo "$as_me:$LINENO: result: $CC" >&5
2459
 
echo "${ECHO_T}$CC" >&6
2460
 
else
2461
 
  echo "$as_me:$LINENO: result: no" >&5
2462
 
echo "${ECHO_T}no" >&6
2463
 
fi
2464
 
 
2465
 
fi
2466
 
if test -z "$ac_cv_prog_CC"; then
2467
 
  ac_ct_CC=$CC
2468
 
  # Extract the first word of "cc", so it can be a program name with args.
2469
 
set dummy cc; ac_word=$2
2470
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2471
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2472
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2473
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2474
 
else
2475
 
  if test -n "$ac_ct_CC"; then
2476
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2477
 
else
2478
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2479
 
for as_dir in $PATH
2480
 
do
2481
 
  IFS=$as_save_IFS
2482
 
  test -z "$as_dir" && as_dir=.
2483
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2484
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2485
 
    ac_cv_prog_ac_ct_CC="cc"
2486
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2487
 
    break 2
 
2997
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2998
echo "${ECHO_T}$CC" >&6; }
 
2999
else
 
3000
  { echo "$as_me:$LINENO: result: no" >&5
 
3001
echo "${ECHO_T}no" >&6; }
 
3002
fi
 
3003
 
 
3004
 
2488
3005
  fi
2489
 
done
2490
 
done
2491
 
 
2492
 
fi
2493
 
fi
2494
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2495
 
if test -n "$ac_ct_CC"; then
2496
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2497
 
echo "${ECHO_T}$ac_ct_CC" >&6
2498
 
else
2499
 
  echo "$as_me:$LINENO: result: no" >&5
2500
 
echo "${ECHO_T}no" >&6
2501
 
fi
2502
 
 
2503
 
  CC=$ac_ct_CC
2504
 
else
2505
 
  CC="$ac_cv_prog_CC"
2506
 
fi
2507
 
 
2508
3006
fi
2509
3007
if test -z "$CC"; then
2510
3008
  # Extract the first word of "cc", so it can be a program name with args.
2511
3009
set dummy cc; ac_word=$2
2512
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2513
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3010
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3011
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2514
3012
if test "${ac_cv_prog_CC+set}" = set; then
2515
3013
  echo $ECHO_N "(cached) $ECHO_C" >&6
2516
3014
else
2524
3022
  IFS=$as_save_IFS
2525
3023
  test -z "$as_dir" && as_dir=.
2526
3024
  for ac_exec_ext in '' $ac_executable_extensions; do
2527
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3025
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2528
3026
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2529
3027
       ac_prog_rejected=yes
2530
3028
       continue
2535
3033
  fi
2536
3034
done
2537
3035
done
 
3036
IFS=$as_save_IFS
2538
3037
 
2539
3038
if test $ac_prog_rejected = yes; then
2540
3039
  # We found a bogon in the path, so make sure we never use it.
2552
3051
fi
2553
3052
CC=$ac_cv_prog_CC
2554
3053
if test -n "$CC"; then
2555
 
  echo "$as_me:$LINENO: result: $CC" >&5
2556
 
echo "${ECHO_T}$CC" >&6
 
3054
  { echo "$as_me:$LINENO: result: $CC" >&5
 
3055
echo "${ECHO_T}$CC" >&6; }
2557
3056
else
2558
 
  echo "$as_me:$LINENO: result: no" >&5
2559
 
echo "${ECHO_T}no" >&6
 
3057
  { echo "$as_me:$LINENO: result: no" >&5
 
3058
echo "${ECHO_T}no" >&6; }
2560
3059
fi
 
3060
 
2561
3061
 
2562
3062
fi
2563
3063
if test -z "$CC"; then
2564
3064
  if test -n "$ac_tool_prefix"; then
2565
 
  for ac_prog in cl
 
3065
  for ac_prog in cl.exe
2566
3066
  do
2567
3067
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2568
3068
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2569
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2570
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3069
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3070
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2571
3071
if test "${ac_cv_prog_CC+set}" = set; then
2572
3072
  echo $ECHO_N "(cached) $ECHO_C" >&6
2573
3073
else
2580
3080
  IFS=$as_save_IFS
2581
3081
  test -z "$as_dir" && as_dir=.
2582
3082
  for ac_exec_ext in '' $ac_executable_extensions; do
2583
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3083
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2584
3084
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2585
3085
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2586
3086
    break 2
2587
3087
  fi
2588
3088
done
2589
3089
done
 
3090
IFS=$as_save_IFS
2590
3091
 
2591
3092
fi
2592
3093
fi
2593
3094
CC=$ac_cv_prog_CC
2594
3095
if test -n "$CC"; then
2595
 
  echo "$as_me:$LINENO: result: $CC" >&5
2596
 
echo "${ECHO_T}$CC" >&6
 
3096
  { echo "$as_me:$LINENO: result: $CC" >&5
 
3097
echo "${ECHO_T}$CC" >&6; }
2597
3098
else
2598
 
  echo "$as_me:$LINENO: result: no" >&5
2599
 
echo "${ECHO_T}no" >&6
 
3099
  { echo "$as_me:$LINENO: result: no" >&5
 
3100
echo "${ECHO_T}no" >&6; }
2600
3101
fi
2601
3102
 
 
3103
 
2602
3104
    test -n "$CC" && break
2603
3105
  done
2604
3106
fi
2605
3107
if test -z "$CC"; then
2606
3108
  ac_ct_CC=$CC
2607
 
  for ac_prog in cl
 
3109
  for ac_prog in cl.exe
2608
3110
do
2609
3111
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2610
3112
set dummy $ac_prog; ac_word=$2
2611
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2612
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3113
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3114
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2613
3115
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2614
3116
  echo $ECHO_N "(cached) $ECHO_C" >&6
2615
3117
else
2622
3124
  IFS=$as_save_IFS
2623
3125
  test -z "$as_dir" && as_dir=.
2624
3126
  for ac_exec_ext in '' $ac_executable_extensions; do
2625
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3127
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2626
3128
    ac_cv_prog_ac_ct_CC="$ac_prog"
2627
3129
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2628
3130
    break 2
2629
3131
  fi
2630
3132
done
2631
3133
done
 
3134
IFS=$as_save_IFS
2632
3135
 
2633
3136
fi
2634
3137
fi
2635
3138
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2636
3139
if test -n "$ac_ct_CC"; then
2637
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2638
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
3140
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3141
echo "${ECHO_T}$ac_ct_CC" >&6; }
2639
3142
else
2640
 
  echo "$as_me:$LINENO: result: no" >&5
2641
 
echo "${ECHO_T}no" >&6
 
3143
  { echo "$as_me:$LINENO: result: no" >&5
 
3144
echo "${ECHO_T}no" >&6; }
2642
3145
fi
2643
3146
 
 
3147
 
2644
3148
  test -n "$ac_ct_CC" && break
2645
3149
done
2646
3150
 
2647
 
  CC=$ac_ct_CC
 
3151
  if test "x$ac_ct_CC" = x; then
 
3152
    CC=""
 
3153
  else
 
3154
    case $cross_compiling:$ac_tool_warned in
 
3155
yes:)
 
3156
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
3157
whose name does not start with the host triplet.  If you think this
 
3158
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
3159
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
3160
whose name does not start with the host triplet.  If you think this
 
3161
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3162
ac_tool_warned=yes ;;
 
3163
esac
 
3164
    CC=$ac_ct_CC
 
3165
  fi
2648
3166
fi
2649
3167
 
2650
3168
fi
2657
3175
   { (exit 1); exit 1; }; }
2658
3176
 
2659
3177
# Provide some information about the compiler.
2660
 
echo "$as_me:$LINENO:" \
2661
 
     "checking for C compiler version" >&5
 
3178
echo "$as_me:$LINENO: checking for C compiler version" >&5
2662
3179
ac_compiler=`set X $ac_compile; echo $2`
2663
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2664
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2665
 
  ac_status=$?
2666
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2667
 
  (exit $ac_status); }
2668
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2669
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2670
 
  ac_status=$?
2671
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2672
 
  (exit $ac_status); }
2673
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2674
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
3180
{ (ac_try="$ac_compiler --version >&5"
 
3181
case "(($ac_try" in
 
3182
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3183
  *) ac_try_echo=$ac_try;;
 
3184
esac
 
3185
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3186
  (eval "$ac_compiler --version >&5") 2>&5
 
3187
  ac_status=$?
 
3188
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3189
  (exit $ac_status); }
 
3190
{ (ac_try="$ac_compiler -v >&5"
 
3191
case "(($ac_try" in
 
3192
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3193
  *) ac_try_echo=$ac_try;;
 
3194
esac
 
3195
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3196
  (eval "$ac_compiler -v >&5") 2>&5
 
3197
  ac_status=$?
 
3198
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3199
  (exit $ac_status); }
 
3200
{ (ac_try="$ac_compiler -V >&5"
 
3201
case "(($ac_try" in
 
3202
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3203
  *) ac_try_echo=$ac_try;;
 
3204
esac
 
3205
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3206
  (eval "$ac_compiler -V >&5") 2>&5
2675
3207
  ac_status=$?
2676
3208
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677
3209
  (exit $ac_status); }
2696
3228
# Try to create an executable without -o first, disregard a.out.
2697
3229
# It will help us diagnose broken compilers, and finding out an intuition
2698
3230
# of exeext.
2699
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2700
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
3231
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3232
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2701
3233
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2702
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2703
 
  (eval $ac_link_default) 2>&5
 
3234
#
 
3235
# List of possible output files, starting from the most likely.
 
3236
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
3237
# only as a last resort.  b.out is created by i960 compilers.
 
3238
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
3239
#
 
3240
# The IRIX 6 linker writes into existing files which may not be
 
3241
# executable, retaining their permissions.  Remove them first so a
 
3242
# subsequent execution test works.
 
3243
ac_rmfiles=
 
3244
for ac_file in $ac_files
 
3245
do
 
3246
  case $ac_file in
 
3247
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3248
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3249
  esac
 
3250
done
 
3251
rm -f $ac_rmfiles
 
3252
 
 
3253
if { (ac_try="$ac_link_default"
 
3254
case "(($ac_try" in
 
3255
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3256
  *) ac_try_echo=$ac_try;;
 
3257
esac
 
3258
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3259
  (eval "$ac_link_default") 2>&5
2704
3260
  ac_status=$?
2705
3261
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2706
3262
  (exit $ac_status); }; then
2707
 
  # Find the output, starting from the most likely.  This scheme is
2708
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2709
 
# resort.
2710
 
 
2711
 
# Be careful to initialize this variable, since it used to be cached.
2712
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2713
 
ac_cv_exeext=
2714
 
# b.out is created by i960 compilers.
2715
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
3263
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3264
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3265
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3266
# so that the user can short-circuit this test for compilers unknown to
 
3267
# Autoconf.
 
3268
for ac_file in $ac_files
2716
3269
do
2717
3270
  test -f "$ac_file" || continue
2718
3271
  case $ac_file in
2719
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2720
 
        ;;
2721
 
    conftest.$ac_ext )
2722
 
        # This is the source file.
 
3272
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2723
3273
        ;;
2724
3274
    [ab].out )
2725
3275
        # We found the default executable, but exeext='' is most
2726
3276
        # certainly right.
2727
3277
        break;;
2728
3278
    *.* )
2729
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2730
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2731
 
        # but it would be cool to find out if it's true.  Does anybody
2732
 
        # maintain Libtool? --akim.
2733
 
        export ac_cv_exeext
 
3279
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3280
        then :; else
 
3281
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3282
        fi
 
3283
        # We set ac_cv_exeext here because the later test for it is not
 
3284
        # safe: cross compilers may not add the suffix if given an `-o'
 
3285
        # argument, so we may need to know it at that point already.
 
3286
        # Even if this section looks crufty: it has the advantage of
 
3287
        # actually working.
2734
3288
        break;;
2735
3289
    * )
2736
3290
        break;;
2737
3291
  esac
2738
3292
done
 
3293
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3294
 
2739
3295
else
2740
3296
  echo "$as_me: failed program was:" >&5
2741
3297
sed 's/^/| /' conftest.$ac_ext >&5
2748
3304
fi
2749
3305
 
2750
3306
ac_exeext=$ac_cv_exeext
2751
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2752
 
echo "${ECHO_T}$ac_file" >&6
 
3307
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
3308
echo "${ECHO_T}$ac_file" >&6; }
2753
3309
 
2754
 
# Check the compiler produces executables we can run.  If not, either
 
3310
# Check that the compiler produces executables we can run.  If not, either
2755
3311
# the compiler is broken, or we cross compile.
2756
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2757
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
3312
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3313
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2758
3314
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2759
3315
# If not cross compiling, check that we can run a simple program.
2760
3316
if test "$cross_compiling" != yes; then
2761
3317
  if { ac_try='./$ac_file'
2762
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2763
 
  (eval $ac_try) 2>&5
 
3318
  { (case "(($ac_try" in
 
3319
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3320
  *) ac_try_echo=$ac_try;;
 
3321
esac
 
3322
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3323
  (eval "$ac_try") 2>&5
2764
3324
  ac_status=$?
2765
3325
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2766
3326
  (exit $ac_status); }; }; then
2779
3339
    fi
2780
3340
  fi
2781
3341
fi
2782
 
echo "$as_me:$LINENO: result: yes" >&5
2783
 
echo "${ECHO_T}yes" >&6
 
3342
{ echo "$as_me:$LINENO: result: yes" >&5
 
3343
echo "${ECHO_T}yes" >&6; }
2784
3344
 
2785
3345
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2786
3346
ac_clean_files=$ac_clean_files_save
2787
 
# Check the compiler produces executables we can run.  If not, either
 
3347
# Check that the compiler produces executables we can run.  If not, either
2788
3348
# the compiler is broken, or we cross compile.
2789
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2790
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2791
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2792
 
echo "${ECHO_T}$cross_compiling" >&6
 
3349
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3350
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
3351
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3352
echo "${ECHO_T}$cross_compiling" >&6; }
2793
3353
 
2794
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2795
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2796
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2797
 
  (eval $ac_link) 2>&5
 
3354
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3355
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
3356
if { (ac_try="$ac_link"
 
3357
case "(($ac_try" in
 
3358
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3359
  *) ac_try_echo=$ac_try;;
 
3360
esac
 
3361
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3362
  (eval "$ac_link") 2>&5
2798
3363
  ac_status=$?
2799
3364
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800
3365
  (exit $ac_status); }; then
2805
3370
for ac_file in conftest.exe conftest conftest.*; do
2806
3371
  test -f "$ac_file" || continue
2807
3372
  case $ac_file in
2808
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
3373
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2809
3374
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2810
 
          export ac_cv_exeext
2811
3375
          break;;
2812
3376
    * ) break;;
2813
3377
  esac
2821
3385
fi
2822
3386
 
2823
3387
rm -f conftest$ac_cv_exeext
2824
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2825
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
3388
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3389
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2826
3390
 
2827
3391
rm -f conftest.$ac_ext
2828
3392
EXEEXT=$ac_cv_exeext
2829
3393
ac_exeext=$EXEEXT
2830
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2831
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
3394
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3395
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2832
3396
if test "${ac_cv_objext+set}" = set; then
2833
3397
  echo $ECHO_N "(cached) $ECHO_C" >&6
2834
3398
else
2848
3412
}
2849
3413
_ACEOF
2850
3414
rm -f conftest.o conftest.obj
2851
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2852
 
  (eval $ac_compile) 2>&5
 
3415
if { (ac_try="$ac_compile"
 
3416
case "(($ac_try" in
 
3417
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3418
  *) ac_try_echo=$ac_try;;
 
3419
esac
 
3420
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3421
  (eval "$ac_compile") 2>&5
2853
3422
  ac_status=$?
2854
3423
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855
3424
  (exit $ac_status); }; then
2856
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3425
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3426
  test -f "$ac_file" || continue;
2857
3427
  case $ac_file in
2858
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3428
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2859
3429
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2860
3430
       break;;
2861
3431
  esac
2873
3443
 
2874
3444
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2875
3445
fi
2876
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2877
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3446
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3447
echo "${ECHO_T}$ac_cv_objext" >&6; }
2878
3448
OBJEXT=$ac_cv_objext
2879
3449
ac_objext=$OBJEXT
2880
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2881
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3450
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3451
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2882
3452
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2883
3453
  echo $ECHO_N "(cached) $ECHO_C" >&6
2884
3454
else
2901
3471
}
2902
3472
_ACEOF
2903
3473
rm -f conftest.$ac_objext
2904
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2905
 
  (eval $ac_compile) 2>conftest.er1
 
3474
if { (ac_try="$ac_compile"
 
3475
case "(($ac_try" in
 
3476
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3477
  *) ac_try_echo=$ac_try;;
 
3478
esac
 
3479
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3480
  (eval "$ac_compile") 2>conftest.er1
2906
3481
  ac_status=$?
2907
3482
  grep -v '^ *+' conftest.er1 >conftest.err
2908
3483
  rm -f conftest.er1
2909
3484
  cat conftest.err >&5
2910
3485
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911
3486
  (exit $ac_status); } &&
2912
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2913
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2914
 
  (eval $ac_try) 2>&5
 
3487
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3488
  { (case "(($ac_try" in
 
3489
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3490
  *) ac_try_echo=$ac_try;;
 
3491
esac
 
3492
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3493
  (eval "$ac_try") 2>&5
2915
3494
  ac_status=$?
2916
3495
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917
3496
  (exit $ac_status); }; } &&
2918
3497
         { ac_try='test -s conftest.$ac_objext'
2919
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2920
 
  (eval $ac_try) 2>&5
 
3498
  { (case "(($ac_try" in
 
3499
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3500
  *) ac_try_echo=$ac_try;;
 
3501
esac
 
3502
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3503
  (eval "$ac_try") 2>&5
2921
3504
  ac_status=$?
2922
3505
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923
3506
  (exit $ac_status); }; }; then
2926
3509
  echo "$as_me: failed program was:" >&5
2927
3510
sed 's/^/| /' conftest.$ac_ext >&5
2928
3511
 
2929
 
ac_compiler_gnu=no
 
3512
        ac_compiler_gnu=no
2930
3513
fi
 
3514
 
2931
3515
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2932
3516
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2933
3517
 
2934
3518
fi
2935
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2936
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
3519
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3520
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2937
3521
GCC=`test $ac_compiler_gnu = yes && echo yes`
2938
3522
ac_test_CFLAGS=${CFLAGS+set}
2939
3523
ac_save_CFLAGS=$CFLAGS
2940
 
CFLAGS="-g"
2941
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2942
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3524
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3525
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2943
3526
if test "${ac_cv_prog_cc_g+set}" = set; then
2944
3527
  echo $ECHO_N "(cached) $ECHO_C" >&6
2945
3528
else
2946
 
  cat >conftest.$ac_ext <<_ACEOF
2947
 
/* confdefs.h.  */
2948
 
_ACEOF
2949
 
cat confdefs.h >>conftest.$ac_ext
2950
 
cat >>conftest.$ac_ext <<_ACEOF
2951
 
/* end confdefs.h.  */
2952
 
 
2953
 
int
2954
 
main ()
2955
 
{
2956
 
 
2957
 
  ;
2958
 
  return 0;
2959
 
}
2960
 
_ACEOF
2961
 
rm -f conftest.$ac_objext
2962
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2963
 
  (eval $ac_compile) 2>conftest.er1
2964
 
  ac_status=$?
2965
 
  grep -v '^ *+' conftest.er1 >conftest.err
2966
 
  rm -f conftest.er1
2967
 
  cat conftest.err >&5
2968
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969
 
  (exit $ac_status); } &&
2970
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2971
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2972
 
  (eval $ac_try) 2>&5
2973
 
  ac_status=$?
2974
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975
 
  (exit $ac_status); }; } &&
2976
 
         { ac_try='test -s conftest.$ac_objext'
2977
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2978
 
  (eval $ac_try) 2>&5
2979
 
  ac_status=$?
2980
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981
 
  (exit $ac_status); }; }; then
2982
 
  ac_cv_prog_cc_g=yes
2983
 
else
2984
 
  echo "$as_me: failed program was:" >&5
2985
 
sed 's/^/| /' conftest.$ac_ext >&5
2986
 
 
2987
 
ac_cv_prog_cc_g=no
2988
 
fi
2989
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2990
 
fi
2991
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2992
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3529
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3530
   ac_c_werror_flag=yes
 
3531
   ac_cv_prog_cc_g=no
 
3532
   CFLAGS="-g"
 
3533
   cat >conftest.$ac_ext <<_ACEOF
 
3534
/* confdefs.h.  */
 
3535
_ACEOF
 
3536
cat confdefs.h >>conftest.$ac_ext
 
3537
cat >>conftest.$ac_ext <<_ACEOF
 
3538
/* end confdefs.h.  */
 
3539
 
 
3540
int
 
3541
main ()
 
3542
{
 
3543
 
 
3544
  ;
 
3545
  return 0;
 
3546
}
 
3547
_ACEOF
 
3548
rm -f conftest.$ac_objext
 
3549
if { (ac_try="$ac_compile"
 
3550
case "(($ac_try" in
 
3551
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3552
  *) ac_try_echo=$ac_try;;
 
3553
esac
 
3554
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3555
  (eval "$ac_compile") 2>conftest.er1
 
3556
  ac_status=$?
 
3557
  grep -v '^ *+' conftest.er1 >conftest.err
 
3558
  rm -f conftest.er1
 
3559
  cat conftest.err >&5
 
3560
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3561
  (exit $ac_status); } &&
 
3562
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3563
  { (case "(($ac_try" in
 
3564
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3565
  *) ac_try_echo=$ac_try;;
 
3566
esac
 
3567
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3568
  (eval "$ac_try") 2>&5
 
3569
  ac_status=$?
 
3570
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3571
  (exit $ac_status); }; } &&
 
3572
         { ac_try='test -s conftest.$ac_objext'
 
3573
  { (case "(($ac_try" in
 
3574
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3575
  *) ac_try_echo=$ac_try;;
 
3576
esac
 
3577
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3578
  (eval "$ac_try") 2>&5
 
3579
  ac_status=$?
 
3580
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3581
  (exit $ac_status); }; }; then
 
3582
  ac_cv_prog_cc_g=yes
 
3583
else
 
3584
  echo "$as_me: failed program was:" >&5
 
3585
sed 's/^/| /' conftest.$ac_ext >&5
 
3586
 
 
3587
        CFLAGS=""
 
3588
      cat >conftest.$ac_ext <<_ACEOF
 
3589
/* confdefs.h.  */
 
3590
_ACEOF
 
3591
cat confdefs.h >>conftest.$ac_ext
 
3592
cat >>conftest.$ac_ext <<_ACEOF
 
3593
/* end confdefs.h.  */
 
3594
 
 
3595
int
 
3596
main ()
 
3597
{
 
3598
 
 
3599
  ;
 
3600
  return 0;
 
3601
}
 
3602
_ACEOF
 
3603
rm -f conftest.$ac_objext
 
3604
if { (ac_try="$ac_compile"
 
3605
case "(($ac_try" in
 
3606
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3607
  *) ac_try_echo=$ac_try;;
 
3608
esac
 
3609
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3610
  (eval "$ac_compile") 2>conftest.er1
 
3611
  ac_status=$?
 
3612
  grep -v '^ *+' conftest.er1 >conftest.err
 
3613
  rm -f conftest.er1
 
3614
  cat conftest.err >&5
 
3615
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3616
  (exit $ac_status); } &&
 
3617
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3618
  { (case "(($ac_try" in
 
3619
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3620
  *) ac_try_echo=$ac_try;;
 
3621
esac
 
3622
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3623
  (eval "$ac_try") 2>&5
 
3624
  ac_status=$?
 
3625
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3626
  (exit $ac_status); }; } &&
 
3627
         { ac_try='test -s conftest.$ac_objext'
 
3628
  { (case "(($ac_try" in
 
3629
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3630
  *) ac_try_echo=$ac_try;;
 
3631
esac
 
3632
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3633
  (eval "$ac_try") 2>&5
 
3634
  ac_status=$?
 
3635
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3636
  (exit $ac_status); }; }; then
 
3637
  :
 
3638
else
 
3639
  echo "$as_me: failed program was:" >&5
 
3640
sed 's/^/| /' conftest.$ac_ext >&5
 
3641
 
 
3642
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3643
         CFLAGS="-g"
 
3644
         cat >conftest.$ac_ext <<_ACEOF
 
3645
/* confdefs.h.  */
 
3646
_ACEOF
 
3647
cat confdefs.h >>conftest.$ac_ext
 
3648
cat >>conftest.$ac_ext <<_ACEOF
 
3649
/* end confdefs.h.  */
 
3650
 
 
3651
int
 
3652
main ()
 
3653
{
 
3654
 
 
3655
  ;
 
3656
  return 0;
 
3657
}
 
3658
_ACEOF
 
3659
rm -f conftest.$ac_objext
 
3660
if { (ac_try="$ac_compile"
 
3661
case "(($ac_try" in
 
3662
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3663
  *) ac_try_echo=$ac_try;;
 
3664
esac
 
3665
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3666
  (eval "$ac_compile") 2>conftest.er1
 
3667
  ac_status=$?
 
3668
  grep -v '^ *+' conftest.er1 >conftest.err
 
3669
  rm -f conftest.er1
 
3670
  cat conftest.err >&5
 
3671
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3672
  (exit $ac_status); } &&
 
3673
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3674
  { (case "(($ac_try" in
 
3675
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3676
  *) ac_try_echo=$ac_try;;
 
3677
esac
 
3678
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3679
  (eval "$ac_try") 2>&5
 
3680
  ac_status=$?
 
3681
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3682
  (exit $ac_status); }; } &&
 
3683
         { ac_try='test -s conftest.$ac_objext'
 
3684
  { (case "(($ac_try" in
 
3685
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3686
  *) ac_try_echo=$ac_try;;
 
3687
esac
 
3688
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3689
  (eval "$ac_try") 2>&5
 
3690
  ac_status=$?
 
3691
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3692
  (exit $ac_status); }; }; then
 
3693
  ac_cv_prog_cc_g=yes
 
3694
else
 
3695
  echo "$as_me: failed program was:" >&5
 
3696
sed 's/^/| /' conftest.$ac_ext >&5
 
3697
 
 
3698
 
 
3699
fi
 
3700
 
 
3701
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3702
fi
 
3703
 
 
3704
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3705
fi
 
3706
 
 
3707
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3708
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3709
fi
 
3710
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3711
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2993
3712
if test "$ac_test_CFLAGS" = set; then
2994
3713
  CFLAGS=$ac_save_CFLAGS
2995
3714
elif test $ac_cv_prog_cc_g = yes; then
3005
3724
    CFLAGS=
3006
3725
  fi
3007
3726
fi
3008
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3009
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3010
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
3727
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3728
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3729
if test "${ac_cv_prog_cc_c89+set}" = set; then
3011
3730
  echo $ECHO_N "(cached) $ECHO_C" >&6
3012
3731
else
3013
 
  ac_cv_prog_cc_stdc=no
 
3732
  ac_cv_prog_cc_c89=no
3014
3733
ac_save_CC=$CC
3015
3734
cat >conftest.$ac_ext <<_ACEOF
3016
3735
/* confdefs.h.  */
3044
3763
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3045
3764
   function prototypes and stuff, but not '\xHH' hex character constants.
3046
3765
   These don't provoke an error unfortunately, instead are silently treated
3047
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3766
   as 'x'.  The following induces an error, until -std is added to get
3048
3767
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3049
3768
   array size at least.  It's necessary to write '\x00'==0 to get something
3050
 
   that's true only with -std1.  */
 
3769
   that's true only with -std.  */
3051
3770
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3052
3771
 
3053
3772
int test (int i, double x);
3064
3783
  return 0;
3065
3784
}
3066
3785
_ACEOF
3067
 
# Don't try gcc -ansi; that turns off useful extensions and
3068
 
# breaks some systems' header files.
3069
 
# AIX                   -qlanglvl=ansi
3070
 
# Ultrix and OSF/1      -std1
3071
 
# HP-UX 10.20 and later -Ae
3072
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
3073
 
# SVR4                  -Xc -D__EXTENSIONS__
3074
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3786
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3787
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3075
3788
do
3076
3789
  CC="$ac_save_CC $ac_arg"
3077
3790
  rm -f conftest.$ac_objext
3078
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3079
 
  (eval $ac_compile) 2>conftest.er1
 
3791
if { (ac_try="$ac_compile"
 
3792
case "(($ac_try" in
 
3793
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3794
  *) ac_try_echo=$ac_try;;
 
3795
esac
 
3796
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3797
  (eval "$ac_compile") 2>conftest.er1
3080
3798
  ac_status=$?
3081
3799
  grep -v '^ *+' conftest.er1 >conftest.err
3082
3800
  rm -f conftest.er1
3083
3801
  cat conftest.err >&5
3084
3802
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085
3803
  (exit $ac_status); } &&
3086
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3087
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3088
 
  (eval $ac_try) 2>&5
 
3804
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3805
  { (case "(($ac_try" in
 
3806
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3807
  *) ac_try_echo=$ac_try;;
 
3808
esac
 
3809
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3810
  (eval "$ac_try") 2>&5
3089
3811
  ac_status=$?
3090
3812
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3091
3813
  (exit $ac_status); }; } &&
3092
3814
         { ac_try='test -s conftest.$ac_objext'
3093
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3094
 
  (eval $ac_try) 2>&5
 
3815
  { (case "(($ac_try" in
 
3816
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3817
  *) ac_try_echo=$ac_try;;
 
3818
esac
 
3819
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3820
  (eval "$ac_try") 2>&5
3095
3821
  ac_status=$?
3096
3822
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097
3823
  (exit $ac_status); }; }; then
3098
 
  ac_cv_prog_cc_stdc=$ac_arg
3099
 
break
 
3824
  ac_cv_prog_cc_c89=$ac_arg
3100
3825
else
3101
3826
  echo "$as_me: failed program was:" >&5
3102
3827
sed 's/^/| /' conftest.$ac_ext >&5
3103
3828
 
 
3829
 
3104
3830
fi
 
3831
 
3105
3832
rm -f conftest.err conftest.$ac_objext
 
3833
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3106
3834
done
3107
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3835
rm -f conftest.$ac_ext
3108
3836
CC=$ac_save_CC
3109
3837
 
3110
3838
fi
3111
 
 
3112
 
case "x$ac_cv_prog_cc_stdc" in
3113
 
  x|xno)
3114
 
    echo "$as_me:$LINENO: result: none needed" >&5
3115
 
echo "${ECHO_T}none needed" >&6 ;;
 
3839
# AC_CACHE_VAL
 
3840
case "x$ac_cv_prog_cc_c89" in
 
3841
  x)
 
3842
    { echo "$as_me:$LINENO: result: none needed" >&5
 
3843
echo "${ECHO_T}none needed" >&6; } ;;
 
3844
  xno)
 
3845
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
3846
echo "${ECHO_T}unsupported" >&6; } ;;
3116
3847
  *)
3117
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3118
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3119
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3848
    CC="$CC $ac_cv_prog_cc_c89"
 
3849
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3850
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3120
3851
esac
3121
3852
 
3122
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
3123
 
# in C++ we need to declare it.  In case someone uses the same compiler
3124
 
# for both compiling C and C++ we need to have the C++ compiler decide
3125
 
# the declaration of exit, since it's the most demanding environment.
3126
 
cat >conftest.$ac_ext <<_ACEOF
3127
 
#ifndef __cplusplus
3128
 
  choke me
3129
 
#endif
3130
 
_ACEOF
3131
 
rm -f conftest.$ac_objext
3132
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3133
 
  (eval $ac_compile) 2>conftest.er1
3134
 
  ac_status=$?
3135
 
  grep -v '^ *+' conftest.er1 >conftest.err
3136
 
  rm -f conftest.er1
3137
 
  cat conftest.err >&5
3138
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139
 
  (exit $ac_status); } &&
3140
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3141
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3142
 
  (eval $ac_try) 2>&5
3143
 
  ac_status=$?
3144
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145
 
  (exit $ac_status); }; } &&
3146
 
         { ac_try='test -s conftest.$ac_objext'
3147
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3148
 
  (eval $ac_try) 2>&5
3149
 
  ac_status=$?
3150
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151
 
  (exit $ac_status); }; }; then
3152
 
  for ac_declaration in \
3153
 
   '' \
3154
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
3155
 
   'extern "C" void std::exit (int); using std::exit;' \
3156
 
   'extern "C" void exit (int) throw ();' \
3157
 
   'extern "C" void exit (int);' \
3158
 
   'void exit (int);'
3159
 
do
3160
 
  cat >conftest.$ac_ext <<_ACEOF
3161
 
/* confdefs.h.  */
3162
 
_ACEOF
3163
 
cat confdefs.h >>conftest.$ac_ext
3164
 
cat >>conftest.$ac_ext <<_ACEOF
3165
 
/* end confdefs.h.  */
3166
 
$ac_declaration
3167
 
#include <stdlib.h>
3168
 
int
3169
 
main ()
3170
 
{
3171
 
exit (42);
3172
 
  ;
3173
 
  return 0;
3174
 
}
3175
 
_ACEOF
3176
 
rm -f conftest.$ac_objext
3177
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3178
 
  (eval $ac_compile) 2>conftest.er1
3179
 
  ac_status=$?
3180
 
  grep -v '^ *+' conftest.er1 >conftest.err
3181
 
  rm -f conftest.er1
3182
 
  cat conftest.err >&5
3183
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184
 
  (exit $ac_status); } &&
3185
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3186
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3187
 
  (eval $ac_try) 2>&5
3188
 
  ac_status=$?
3189
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190
 
  (exit $ac_status); }; } &&
3191
 
         { ac_try='test -s conftest.$ac_objext'
3192
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3193
 
  (eval $ac_try) 2>&5
3194
 
  ac_status=$?
3195
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196
 
  (exit $ac_status); }; }; then
3197
 
  :
3198
 
else
3199
 
  echo "$as_me: failed program was:" >&5
3200
 
sed 's/^/| /' conftest.$ac_ext >&5
3201
 
 
3202
 
continue
3203
 
fi
3204
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3205
 
  cat >conftest.$ac_ext <<_ACEOF
3206
 
/* confdefs.h.  */
3207
 
_ACEOF
3208
 
cat confdefs.h >>conftest.$ac_ext
3209
 
cat >>conftest.$ac_ext <<_ACEOF
3210
 
/* end confdefs.h.  */
3211
 
$ac_declaration
3212
 
int
3213
 
main ()
3214
 
{
3215
 
exit (42);
3216
 
  ;
3217
 
  return 0;
3218
 
}
3219
 
_ACEOF
3220
 
rm -f conftest.$ac_objext
3221
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3222
 
  (eval $ac_compile) 2>conftest.er1
3223
 
  ac_status=$?
3224
 
  grep -v '^ *+' conftest.er1 >conftest.err
3225
 
  rm -f conftest.er1
3226
 
  cat conftest.err >&5
3227
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3228
 
  (exit $ac_status); } &&
3229
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3230
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3231
 
  (eval $ac_try) 2>&5
3232
 
  ac_status=$?
3233
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3234
 
  (exit $ac_status); }; } &&
3235
 
         { ac_try='test -s conftest.$ac_objext'
3236
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3237
 
  (eval $ac_try) 2>&5
3238
 
  ac_status=$?
3239
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3240
 
  (exit $ac_status); }; }; then
3241
 
  break
3242
 
else
3243
 
  echo "$as_me: failed program was:" >&5
3244
 
sed 's/^/| /' conftest.$ac_ext >&5
3245
 
 
3246
 
fi
3247
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3248
 
done
3249
 
rm -f conftest*
3250
 
if test -n "$ac_declaration"; then
3251
 
  echo '#ifdef __cplusplus' >>confdefs.h
3252
 
  echo $ac_declaration      >>confdefs.h
3253
 
  echo '#endif'             >>confdefs.h
3254
 
fi
3255
 
 
3256
 
else
3257
 
  echo "$as_me: failed program was:" >&5
3258
 
sed 's/^/| /' conftest.$ac_ext >&5
3259
 
 
3260
 
fi
3261
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3853
 
3262
3854
ac_ext=c
3263
3855
ac_cpp='$CPP $CPPFLAGS'
3264
3856
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3267
3859
 
3268
3860
depcc="$CC"   am_compiler_list=
3269
3861
 
3270
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3271
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3862
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3863
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3272
3864
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3273
3865
  echo $ECHO_N "(cached) $ECHO_C" >&6
3274
3866
else
3357
3949
fi
3358
3950
 
3359
3951
fi
3360
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3361
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3952
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3953
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3362
3954
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3363
3955
 
3364
3956
 
3380
3972
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3381
3973
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3382
3974
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3383
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3384
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
3975
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3976
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3385
3977
# On Suns, sometimes $CPP names a directory.
3386
3978
if test -n "$CPP" && test -d "$CPP"; then
3387
3979
  CPP=
3415
4007
#endif
3416
4008
                     Syntax error
3417
4009
_ACEOF
3418
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3419
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4010
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4011
case "(($ac_try" in
 
4012
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4013
  *) ac_try_echo=$ac_try;;
 
4014
esac
 
4015
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4016
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3420
4017
  ac_status=$?
3421
4018
  grep -v '^ *+' conftest.er1 >conftest.err
3422
4019
  rm -f conftest.er1
3441
4038
  # Broken: fails on valid input.
3442
4039
continue
3443
4040
fi
 
4041
 
3444
4042
rm -f conftest.err conftest.$ac_ext
3445
4043
 
3446
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4044
  # OK, works on sane cases.  Now check whether nonexistent headers
3447
4045
  # can be detected and how.
3448
4046
  cat >conftest.$ac_ext <<_ACEOF
3449
4047
/* confdefs.h.  */
3453
4051
/* end confdefs.h.  */
3454
4052
#include <ac_nonexistent.h>
3455
4053
_ACEOF
3456
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3457
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4054
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4055
case "(($ac_try" in
 
4056
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4057
  *) ac_try_echo=$ac_try;;
 
4058
esac
 
4059
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4060
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3458
4061
  ac_status=$?
3459
4062
  grep -v '^ *+' conftest.er1 >conftest.err
3460
4063
  rm -f conftest.er1
3481
4084
ac_preproc_ok=:
3482
4085
break
3483
4086
fi
 
4087
 
3484
4088
rm -f conftest.err conftest.$ac_ext
3485
4089
 
3486
4090
done
3498
4102
else
3499
4103
  ac_cv_prog_CPP=$CPP
3500
4104
fi
3501
 
echo "$as_me:$LINENO: result: $CPP" >&5
3502
 
echo "${ECHO_T}$CPP" >&6
 
4105
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
4106
echo "${ECHO_T}$CPP" >&6; }
3503
4107
ac_preproc_ok=false
3504
4108
for ac_c_preproc_warn_flag in '' yes
3505
4109
do
3522
4126
#endif
3523
4127
                     Syntax error
3524
4128
_ACEOF
3525
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3526
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4129
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4130
case "(($ac_try" in
 
4131
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4132
  *) ac_try_echo=$ac_try;;
 
4133
esac
 
4134
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4135
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3527
4136
  ac_status=$?
3528
4137
  grep -v '^ *+' conftest.er1 >conftest.err
3529
4138
  rm -f conftest.er1
3548
4157
  # Broken: fails on valid input.
3549
4158
continue
3550
4159
fi
 
4160
 
3551
4161
rm -f conftest.err conftest.$ac_ext
3552
4162
 
3553
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4163
  # OK, works on sane cases.  Now check whether nonexistent headers
3554
4164
  # can be detected and how.
3555
4165
  cat >conftest.$ac_ext <<_ACEOF
3556
4166
/* confdefs.h.  */
3560
4170
/* end confdefs.h.  */
3561
4171
#include <ac_nonexistent.h>
3562
4172
_ACEOF
3563
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3564
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4173
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4174
case "(($ac_try" in
 
4175
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4176
  *) ac_try_echo=$ac_try;;
 
4177
esac
 
4178
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4179
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3565
4180
  ac_status=$?
3566
4181
  grep -v '^ *+' conftest.er1 >conftest.err
3567
4182
  rm -f conftest.er1
3588
4203
ac_preproc_ok=:
3589
4204
break
3590
4205
fi
 
4206
 
3591
4207
rm -f conftest.err conftest.$ac_ext
3592
4208
 
3593
4209
done
3610
4226
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3611
4227
 
3612
4228
 
3613
 
echo "$as_me:$LINENO: checking for egrep" >&5
3614
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3615
 
if test "${ac_cv_prog_egrep+set}" = set; then
3616
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3617
 
else
3618
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3619
 
    then ac_cv_prog_egrep='grep -E'
3620
 
    else ac_cv_prog_egrep='egrep'
3621
 
    fi
3622
 
fi
3623
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3624
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3625
 
 EGREP=$ac_cv_prog_egrep
3626
 
 
3627
 
 
3628
 
 
3629
 
echo "$as_me:$LINENO: checking for AIX" >&5
3630
 
echo $ECHO_N "checking for AIX... $ECHO_C" >&6
 
4229
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4230
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
4231
if test "${ac_cv_path_GREP+set}" = set; then
 
4232
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4233
else
 
4234
  # Extract the first word of "grep ggrep" to use in msg output
 
4235
if test -z "$GREP"; then
 
4236
set dummy grep ggrep; ac_prog_name=$2
 
4237
if test "${ac_cv_path_GREP+set}" = set; then
 
4238
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4239
else
 
4240
  ac_path_GREP_found=false
 
4241
# Loop through the user's path and test for each of PROGNAME-LIST
 
4242
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4243
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4244
do
 
4245
  IFS=$as_save_IFS
 
4246
  test -z "$as_dir" && as_dir=.
 
4247
  for ac_prog in grep ggrep; do
 
4248
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4249
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4250
    { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
 
4251
    # Check for GNU ac_path_GREP and select it if it is found.
 
4252
  # Check for GNU $ac_path_GREP
 
4253
case `"$ac_path_GREP" --version 2>&1` in
 
4254
*GNU*)
 
4255
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4256
*)
 
4257
  ac_count=0
 
4258
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4259
  while :
 
4260
  do
 
4261
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4262
    mv "conftest.tmp" "conftest.in"
 
4263
    cp "conftest.in" "conftest.nl"
 
4264
    echo 'GREP' >> "conftest.nl"
 
4265
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4266
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4267
    ac_count=`expr $ac_count + 1`
 
4268
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4269
      # Best one so far, save it but keep looking for a better one
 
4270
      ac_cv_path_GREP="$ac_path_GREP"
 
4271
      ac_path_GREP_max=$ac_count
 
4272
    fi
 
4273
    # 10*(2^10) chars as input seems more than enough
 
4274
    test $ac_count -gt 10 && break
 
4275
  done
 
4276
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4277
esac
 
4278
 
 
4279
 
 
4280
    $ac_path_GREP_found && break 3
 
4281
  done
 
4282
done
 
4283
 
 
4284
done
 
4285
IFS=$as_save_IFS
 
4286
 
 
4287
 
 
4288
fi
 
4289
 
 
4290
GREP="$ac_cv_path_GREP"
 
4291
if test -z "$GREP"; then
 
4292
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4293
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4294
   { (exit 1); exit 1; }; }
 
4295
fi
 
4296
 
 
4297
else
 
4298
  ac_cv_path_GREP=$GREP
 
4299
fi
 
4300
 
 
4301
 
 
4302
fi
 
4303
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4304
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
4305
 GREP="$ac_cv_path_GREP"
 
4306
 
 
4307
 
 
4308
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
4309
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
4310
if test "${ac_cv_path_EGREP+set}" = set; then
 
4311
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4312
else
 
4313
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4314
   then ac_cv_path_EGREP="$GREP -E"
 
4315
   else
 
4316
     # Extract the first word of "egrep" to use in msg output
 
4317
if test -z "$EGREP"; then
 
4318
set dummy egrep; ac_prog_name=$2
 
4319
if test "${ac_cv_path_EGREP+set}" = set; then
 
4320
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4321
else
 
4322
  ac_path_EGREP_found=false
 
4323
# Loop through the user's path and test for each of PROGNAME-LIST
 
4324
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4325
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4326
do
 
4327
  IFS=$as_save_IFS
 
4328
  test -z "$as_dir" && as_dir=.
 
4329
  for ac_prog in egrep; do
 
4330
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4331
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4332
    { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
 
4333
    # Check for GNU ac_path_EGREP and select it if it is found.
 
4334
  # Check for GNU $ac_path_EGREP
 
4335
case `"$ac_path_EGREP" --version 2>&1` in
 
4336
*GNU*)
 
4337
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4338
*)
 
4339
  ac_count=0
 
4340
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4341
  while :
 
4342
  do
 
4343
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4344
    mv "conftest.tmp" "conftest.in"
 
4345
    cp "conftest.in" "conftest.nl"
 
4346
    echo 'EGREP' >> "conftest.nl"
 
4347
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4348
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4349
    ac_count=`expr $ac_count + 1`
 
4350
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4351
      # Best one so far, save it but keep looking for a better one
 
4352
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4353
      ac_path_EGREP_max=$ac_count
 
4354
    fi
 
4355
    # 10*(2^10) chars as input seems more than enough
 
4356
    test $ac_count -gt 10 && break
 
4357
  done
 
4358
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4359
esac
 
4360
 
 
4361
 
 
4362
    $ac_path_EGREP_found && break 3
 
4363
  done
 
4364
done
 
4365
 
 
4366
done
 
4367
IFS=$as_save_IFS
 
4368
 
 
4369
 
 
4370
fi
 
4371
 
 
4372
EGREP="$ac_cv_path_EGREP"
 
4373
if test -z "$EGREP"; then
 
4374
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4375
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4376
   { (exit 1); exit 1; }; }
 
4377
fi
 
4378
 
 
4379
else
 
4380
  ac_cv_path_EGREP=$EGREP
 
4381
fi
 
4382
 
 
4383
 
 
4384
   fi
 
4385
fi
 
4386
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4387
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4388
 EGREP="$ac_cv_path_EGREP"
 
4389
 
 
4390
 
 
4391
 
 
4392
{ echo "$as_me:$LINENO: checking for AIX" >&5
 
4393
echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3631
4394
cat >conftest.$ac_ext <<_ACEOF
3632
4395
/* confdefs.h.  */
3633
4396
_ACEOF
3641
4404
_ACEOF
3642
4405
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3643
4406
  $EGREP "yes" >/dev/null 2>&1; then
3644
 
  echo "$as_me:$LINENO: result: yes" >&5
3645
 
echo "${ECHO_T}yes" >&6
 
4407
  { echo "$as_me:$LINENO: result: yes" >&5
 
4408
echo "${ECHO_T}yes" >&6; }
3646
4409
cat >>confdefs.h <<\_ACEOF
3647
4410
#define _ALL_SOURCE 1
3648
4411
_ACEOF
3649
4412
 
3650
4413
else
3651
 
  echo "$as_me:$LINENO: result: no" >&5
3652
 
echo "${ECHO_T}no" >&6
 
4414
  { echo "$as_me:$LINENO: result: no" >&5
 
4415
echo "${ECHO_T}no" >&6; }
3653
4416
fi
3654
4417
rm -f conftest*
3655
4418
 
3663
4426
if test -n "$ac_tool_prefix"; then
3664
4427
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3665
4428
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3666
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3667
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4429
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4430
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3668
4431
if test "${ac_cv_prog_CC+set}" = set; then
3669
4432
  echo $ECHO_N "(cached) $ECHO_C" >&6
3670
4433
else
3677
4440
  IFS=$as_save_IFS
3678
4441
  test -z "$as_dir" && as_dir=.
3679
4442
  for ac_exec_ext in '' $ac_executable_extensions; do
3680
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4443
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3681
4444
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3682
4445
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3683
4446
    break 2
3684
4447
  fi
3685
4448
done
3686
4449
done
 
4450
IFS=$as_save_IFS
3687
4451
 
3688
4452
fi
3689
4453
fi
3690
4454
CC=$ac_cv_prog_CC
3691
4455
if test -n "$CC"; then
3692
 
  echo "$as_me:$LINENO: result: $CC" >&5
3693
 
echo "${ECHO_T}$CC" >&6
 
4456
  { echo "$as_me:$LINENO: result: $CC" >&5
 
4457
echo "${ECHO_T}$CC" >&6; }
3694
4458
else
3695
 
  echo "$as_me:$LINENO: result: no" >&5
3696
 
echo "${ECHO_T}no" >&6
 
4459
  { echo "$as_me:$LINENO: result: no" >&5
 
4460
echo "${ECHO_T}no" >&6; }
3697
4461
fi
 
4462
 
3698
4463
 
3699
4464
fi
3700
4465
if test -z "$ac_cv_prog_CC"; then
3701
4466
  ac_ct_CC=$CC
3702
4467
  # Extract the first word of "gcc", so it can be a program name with args.
3703
4468
set dummy gcc; ac_word=$2
3704
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3705
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4469
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4470
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3706
4471
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3707
4472
  echo $ECHO_N "(cached) $ECHO_C" >&6
3708
4473
else
3715
4480
  IFS=$as_save_IFS
3716
4481
  test -z "$as_dir" && as_dir=.
3717
4482
  for ac_exec_ext in '' $ac_executable_extensions; do
3718
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4483
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3719
4484
    ac_cv_prog_ac_ct_CC="gcc"
3720
4485
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3721
4486
    break 2
3722
4487
  fi
3723
4488
done
3724
4489
done
 
4490
IFS=$as_save_IFS
3725
4491
 
3726
4492
fi
3727
4493
fi
3728
4494
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3729
4495
if test -n "$ac_ct_CC"; then
3730
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3731
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
4496
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4497
echo "${ECHO_T}$ac_ct_CC" >&6; }
3732
4498
else
3733
 
  echo "$as_me:$LINENO: result: no" >&5
3734
 
echo "${ECHO_T}no" >&6
 
4499
  { echo "$as_me:$LINENO: result: no" >&5
 
4500
echo "${ECHO_T}no" >&6; }
3735
4501
fi
3736
4502
 
3737
 
  CC=$ac_ct_CC
 
4503
  if test "x$ac_ct_CC" = x; then
 
4504
    CC=""
 
4505
  else
 
4506
    case $cross_compiling:$ac_tool_warned in
 
4507
yes:)
 
4508
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
4509
whose name does not start with the host triplet.  If you think this
 
4510
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
4511
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
4512
whose name does not start with the host triplet.  If you think this
 
4513
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4514
ac_tool_warned=yes ;;
 
4515
esac
 
4516
    CC=$ac_ct_CC
 
4517
  fi
3738
4518
else
3739
4519
  CC="$ac_cv_prog_CC"
3740
4520
fi
3741
4521
 
3742
4522
if test -z "$CC"; then
3743
 
  if test -n "$ac_tool_prefix"; then
3744
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
4523
          if test -n "$ac_tool_prefix"; then
 
4524
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3745
4525
set dummy ${ac_tool_prefix}cc; ac_word=$2
3746
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3747
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4526
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4527
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3748
4528
if test "${ac_cv_prog_CC+set}" = set; then
3749
4529
  echo $ECHO_N "(cached) $ECHO_C" >&6
3750
4530
else
3757
4537
  IFS=$as_save_IFS
3758
4538
  test -z "$as_dir" && as_dir=.
3759
4539
  for ac_exec_ext in '' $ac_executable_extensions; do
3760
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4540
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3761
4541
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3762
4542
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3763
4543
    break 2
3764
4544
  fi
3765
4545
done
3766
4546
done
 
4547
IFS=$as_save_IFS
3767
4548
 
3768
4549
fi
3769
4550
fi
3770
4551
CC=$ac_cv_prog_CC
3771
4552
if test -n "$CC"; then
3772
 
  echo "$as_me:$LINENO: result: $CC" >&5
3773
 
echo "${ECHO_T}$CC" >&6
3774
 
else
3775
 
  echo "$as_me:$LINENO: result: no" >&5
3776
 
echo "${ECHO_T}no" >&6
3777
 
fi
3778
 
 
3779
 
fi
3780
 
if test -z "$ac_cv_prog_CC"; then
3781
 
  ac_ct_CC=$CC
3782
 
  # Extract the first word of "cc", so it can be a program name with args.
3783
 
set dummy cc; ac_word=$2
3784
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3785
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3786
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3787
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3788
 
else
3789
 
  if test -n "$ac_ct_CC"; then
3790
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3791
 
else
3792
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3793
 
for as_dir in $PATH
3794
 
do
3795
 
  IFS=$as_save_IFS
3796
 
  test -z "$as_dir" && as_dir=.
3797
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3798
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3799
 
    ac_cv_prog_ac_ct_CC="cc"
3800
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3801
 
    break 2
 
4553
  { echo "$as_me:$LINENO: result: $CC" >&5
 
4554
echo "${ECHO_T}$CC" >&6; }
 
4555
else
 
4556
  { echo "$as_me:$LINENO: result: no" >&5
 
4557
echo "${ECHO_T}no" >&6; }
 
4558
fi
 
4559
 
 
4560
 
3802
4561
  fi
3803
 
done
3804
 
done
3805
 
 
3806
 
fi
3807
 
fi
3808
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3809
 
if test -n "$ac_ct_CC"; then
3810
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3811
 
echo "${ECHO_T}$ac_ct_CC" >&6
3812
 
else
3813
 
  echo "$as_me:$LINENO: result: no" >&5
3814
 
echo "${ECHO_T}no" >&6
3815
 
fi
3816
 
 
3817
 
  CC=$ac_ct_CC
3818
 
else
3819
 
  CC="$ac_cv_prog_CC"
3820
 
fi
3821
 
 
3822
4562
fi
3823
4563
if test -z "$CC"; then
3824
4564
  # Extract the first word of "cc", so it can be a program name with args.
3825
4565
set dummy cc; ac_word=$2
3826
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3827
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4566
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4567
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3828
4568
if test "${ac_cv_prog_CC+set}" = set; then
3829
4569
  echo $ECHO_N "(cached) $ECHO_C" >&6
3830
4570
else
3838
4578
  IFS=$as_save_IFS
3839
4579
  test -z "$as_dir" && as_dir=.
3840
4580
  for ac_exec_ext in '' $ac_executable_extensions; do
3841
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4581
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3842
4582
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3843
4583
       ac_prog_rejected=yes
3844
4584
       continue
3849
4589
  fi
3850
4590
done
3851
4591
done
 
4592
IFS=$as_save_IFS
3852
4593
 
3853
4594
if test $ac_prog_rejected = yes; then
3854
4595
  # We found a bogon in the path, so make sure we never use it.
3866
4607
fi
3867
4608
CC=$ac_cv_prog_CC
3868
4609
if test -n "$CC"; then
3869
 
  echo "$as_me:$LINENO: result: $CC" >&5
3870
 
echo "${ECHO_T}$CC" >&6
 
4610
  { echo "$as_me:$LINENO: result: $CC" >&5
 
4611
echo "${ECHO_T}$CC" >&6; }
3871
4612
else
3872
 
  echo "$as_me:$LINENO: result: no" >&5
3873
 
echo "${ECHO_T}no" >&6
 
4613
  { echo "$as_me:$LINENO: result: no" >&5
 
4614
echo "${ECHO_T}no" >&6; }
3874
4615
fi
 
4616
 
3875
4617
 
3876
4618
fi
3877
4619
if test -z "$CC"; then
3878
4620
  if test -n "$ac_tool_prefix"; then
3879
 
  for ac_prog in cl
 
4621
  for ac_prog in cl.exe
3880
4622
  do
3881
4623
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3882
4624
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3883
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3884
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4625
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4626
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3885
4627
if test "${ac_cv_prog_CC+set}" = set; then
3886
4628
  echo $ECHO_N "(cached) $ECHO_C" >&6
3887
4629
else
3894
4636
  IFS=$as_save_IFS
3895
4637
  test -z "$as_dir" && as_dir=.
3896
4638
  for ac_exec_ext in '' $ac_executable_extensions; do
3897
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4639
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3898
4640
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3899
4641
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3900
4642
    break 2
3901
4643
  fi
3902
4644
done
3903
4645
done
 
4646
IFS=$as_save_IFS
3904
4647
 
3905
4648
fi
3906
4649
fi
3907
4650
CC=$ac_cv_prog_CC
3908
4651
if test -n "$CC"; then
3909
 
  echo "$as_me:$LINENO: result: $CC" >&5
3910
 
echo "${ECHO_T}$CC" >&6
 
4652
  { echo "$as_me:$LINENO: result: $CC" >&5
 
4653
echo "${ECHO_T}$CC" >&6; }
3911
4654
else
3912
 
  echo "$as_me:$LINENO: result: no" >&5
3913
 
echo "${ECHO_T}no" >&6
 
4655
  { echo "$as_me:$LINENO: result: no" >&5
 
4656
echo "${ECHO_T}no" >&6; }
3914
4657
fi
3915
4658
 
 
4659
 
3916
4660
    test -n "$CC" && break
3917
4661
  done
3918
4662
fi
3919
4663
if test -z "$CC"; then
3920
4664
  ac_ct_CC=$CC
3921
 
  for ac_prog in cl
 
4665
  for ac_prog in cl.exe
3922
4666
do
3923
4667
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3924
4668
set dummy $ac_prog; ac_word=$2
3925
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3926
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4669
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4670
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3927
4671
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3928
4672
  echo $ECHO_N "(cached) $ECHO_C" >&6
3929
4673
else
3936
4680
  IFS=$as_save_IFS
3937
4681
  test -z "$as_dir" && as_dir=.
3938
4682
  for ac_exec_ext in '' $ac_executable_extensions; do
3939
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4683
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3940
4684
    ac_cv_prog_ac_ct_CC="$ac_prog"
3941
4685
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3942
4686
    break 2
3943
4687
  fi
3944
4688
done
3945
4689
done
 
4690
IFS=$as_save_IFS
3946
4691
 
3947
4692
fi
3948
4693
fi
3949
4694
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3950
4695
if test -n "$ac_ct_CC"; then
3951
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3952
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
4696
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4697
echo "${ECHO_T}$ac_ct_CC" >&6; }
3953
4698
else
3954
 
  echo "$as_me:$LINENO: result: no" >&5
3955
 
echo "${ECHO_T}no" >&6
 
4699
  { echo "$as_me:$LINENO: result: no" >&5
 
4700
echo "${ECHO_T}no" >&6; }
3956
4701
fi
3957
4702
 
 
4703
 
3958
4704
  test -n "$ac_ct_CC" && break
3959
4705
done
3960
4706
 
3961
 
  CC=$ac_ct_CC
 
4707
  if test "x$ac_ct_CC" = x; then
 
4708
    CC=""
 
4709
  else
 
4710
    case $cross_compiling:$ac_tool_warned in
 
4711
yes:)
 
4712
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
4713
whose name does not start with the host triplet.  If you think this
 
4714
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
4715
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
4716
whose name does not start with the host triplet.  If you think this
 
4717
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4718
ac_tool_warned=yes ;;
 
4719
esac
 
4720
    CC=$ac_ct_CC
 
4721
  fi
3962
4722
fi
3963
4723
 
3964
4724
fi
3971
4731
   { (exit 1); exit 1; }; }
3972
4732
 
3973
4733
# Provide some information about the compiler.
3974
 
echo "$as_me:$LINENO:" \
3975
 
     "checking for C compiler version" >&5
 
4734
echo "$as_me:$LINENO: checking for C compiler version" >&5
3976
4735
ac_compiler=`set X $ac_compile; echo $2`
3977
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3978
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
3979
 
  ac_status=$?
3980
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3981
 
  (exit $ac_status); }
3982
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3983
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
3984
 
  ac_status=$?
3985
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3986
 
  (exit $ac_status); }
3987
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3988
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
4736
{ (ac_try="$ac_compiler --version >&5"
 
4737
case "(($ac_try" in
 
4738
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4739
  *) ac_try_echo=$ac_try;;
 
4740
esac
 
4741
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4742
  (eval "$ac_compiler --version >&5") 2>&5
 
4743
  ac_status=$?
 
4744
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4745
  (exit $ac_status); }
 
4746
{ (ac_try="$ac_compiler -v >&5"
 
4747
case "(($ac_try" in
 
4748
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4749
  *) ac_try_echo=$ac_try;;
 
4750
esac
 
4751
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4752
  (eval "$ac_compiler -v >&5") 2>&5
 
4753
  ac_status=$?
 
4754
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4755
  (exit $ac_status); }
 
4756
{ (ac_try="$ac_compiler -V >&5"
 
4757
case "(($ac_try" in
 
4758
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4759
  *) ac_try_echo=$ac_try;;
 
4760
esac
 
4761
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4762
  (eval "$ac_compiler -V >&5") 2>&5
3989
4763
  ac_status=$?
3990
4764
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991
4765
  (exit $ac_status); }
3992
4766
 
3993
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3994
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
4767
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
4768
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3995
4769
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3996
4770
  echo $ECHO_N "(cached) $ECHO_C" >&6
3997
4771
else
4014
4788
}
4015
4789
_ACEOF
4016
4790
rm -f conftest.$ac_objext
4017
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4018
 
  (eval $ac_compile) 2>conftest.er1
 
4791
if { (ac_try="$ac_compile"
 
4792
case "(($ac_try" in
 
4793
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4794
  *) ac_try_echo=$ac_try;;
 
4795
esac
 
4796
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4797
  (eval "$ac_compile") 2>conftest.er1
4019
4798
  ac_status=$?
4020
4799
  grep -v '^ *+' conftest.er1 >conftest.err
4021
4800
  rm -f conftest.er1
4022
4801
  cat conftest.err >&5
4023
4802
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024
4803
  (exit $ac_status); } &&
4025
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4026
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4027
 
  (eval $ac_try) 2>&5
 
4804
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
4805
  { (case "(($ac_try" in
 
4806
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4807
  *) ac_try_echo=$ac_try;;
 
4808
esac
 
4809
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4810
  (eval "$ac_try") 2>&5
4028
4811
  ac_status=$?
4029
4812
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4030
4813
  (exit $ac_status); }; } &&
4031
4814
         { ac_try='test -s conftest.$ac_objext'
4032
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4033
 
  (eval $ac_try) 2>&5
 
4815
  { (case "(($ac_try" in
 
4816
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4817
  *) ac_try_echo=$ac_try;;
 
4818
esac
 
4819
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4820
  (eval "$ac_try") 2>&5
4034
4821
  ac_status=$?
4035
4822
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4036
4823
  (exit $ac_status); }; }; then
4039
4826
  echo "$as_me: failed program was:" >&5
4040
4827
sed 's/^/| /' conftest.$ac_ext >&5
4041
4828
 
4042
 
ac_compiler_gnu=no
 
4829
        ac_compiler_gnu=no
4043
4830
fi
 
4831
 
4044
4832
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4045
4833
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4046
4834
 
4047
4835
fi
4048
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4049
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
4836
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
4837
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4050
4838
GCC=`test $ac_compiler_gnu = yes && echo yes`
4051
4839
ac_test_CFLAGS=${CFLAGS+set}
4052
4840
ac_save_CFLAGS=$CFLAGS
4053
 
CFLAGS="-g"
4054
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4055
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
4841
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
4842
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4056
4843
if test "${ac_cv_prog_cc_g+set}" = set; then
4057
4844
  echo $ECHO_N "(cached) $ECHO_C" >&6
4058
4845
else
4059
 
  cat >conftest.$ac_ext <<_ACEOF
4060
 
/* confdefs.h.  */
4061
 
_ACEOF
4062
 
cat confdefs.h >>conftest.$ac_ext
4063
 
cat >>conftest.$ac_ext <<_ACEOF
4064
 
/* end confdefs.h.  */
4065
 
 
4066
 
int
4067
 
main ()
4068
 
{
4069
 
 
4070
 
  ;
4071
 
  return 0;
4072
 
}
4073
 
_ACEOF
4074
 
rm -f conftest.$ac_objext
4075
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4076
 
  (eval $ac_compile) 2>conftest.er1
4077
 
  ac_status=$?
4078
 
  grep -v '^ *+' conftest.er1 >conftest.err
4079
 
  rm -f conftest.er1
4080
 
  cat conftest.err >&5
4081
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4082
 
  (exit $ac_status); } &&
4083
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4084
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4085
 
  (eval $ac_try) 2>&5
4086
 
  ac_status=$?
4087
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088
 
  (exit $ac_status); }; } &&
4089
 
         { ac_try='test -s conftest.$ac_objext'
4090
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4091
 
  (eval $ac_try) 2>&5
4092
 
  ac_status=$?
4093
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094
 
  (exit $ac_status); }; }; then
4095
 
  ac_cv_prog_cc_g=yes
4096
 
else
4097
 
  echo "$as_me: failed program was:" >&5
4098
 
sed 's/^/| /' conftest.$ac_ext >&5
4099
 
 
4100
 
ac_cv_prog_cc_g=no
4101
 
fi
4102
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4103
 
fi
4104
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4105
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
4846
  ac_save_c_werror_flag=$ac_c_werror_flag
 
4847
   ac_c_werror_flag=yes
 
4848
   ac_cv_prog_cc_g=no
 
4849
   CFLAGS="-g"
 
4850
   cat >conftest.$ac_ext <<_ACEOF
 
4851
/* confdefs.h.  */
 
4852
_ACEOF
 
4853
cat confdefs.h >>conftest.$ac_ext
 
4854
cat >>conftest.$ac_ext <<_ACEOF
 
4855
/* end confdefs.h.  */
 
4856
 
 
4857
int
 
4858
main ()
 
4859
{
 
4860
 
 
4861
  ;
 
4862
  return 0;
 
4863
}
 
4864
_ACEOF
 
4865
rm -f conftest.$ac_objext
 
4866
if { (ac_try="$ac_compile"
 
4867
case "(($ac_try" in
 
4868
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4869
  *) ac_try_echo=$ac_try;;
 
4870
esac
 
4871
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4872
  (eval "$ac_compile") 2>conftest.er1
 
4873
  ac_status=$?
 
4874
  grep -v '^ *+' conftest.er1 >conftest.err
 
4875
  rm -f conftest.er1
 
4876
  cat conftest.err >&5
 
4877
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4878
  (exit $ac_status); } &&
 
4879
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
4880
  { (case "(($ac_try" in
 
4881
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4882
  *) ac_try_echo=$ac_try;;
 
4883
esac
 
4884
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4885
  (eval "$ac_try") 2>&5
 
4886
  ac_status=$?
 
4887
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4888
  (exit $ac_status); }; } &&
 
4889
         { ac_try='test -s conftest.$ac_objext'
 
4890
  { (case "(($ac_try" in
 
4891
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4892
  *) ac_try_echo=$ac_try;;
 
4893
esac
 
4894
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4895
  (eval "$ac_try") 2>&5
 
4896
  ac_status=$?
 
4897
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4898
  (exit $ac_status); }; }; then
 
4899
  ac_cv_prog_cc_g=yes
 
4900
else
 
4901
  echo "$as_me: failed program was:" >&5
 
4902
sed 's/^/| /' conftest.$ac_ext >&5
 
4903
 
 
4904
        CFLAGS=""
 
4905
      cat >conftest.$ac_ext <<_ACEOF
 
4906
/* confdefs.h.  */
 
4907
_ACEOF
 
4908
cat confdefs.h >>conftest.$ac_ext
 
4909
cat >>conftest.$ac_ext <<_ACEOF
 
4910
/* end confdefs.h.  */
 
4911
 
 
4912
int
 
4913
main ()
 
4914
{
 
4915
 
 
4916
  ;
 
4917
  return 0;
 
4918
}
 
4919
_ACEOF
 
4920
rm -f conftest.$ac_objext
 
4921
if { (ac_try="$ac_compile"
 
4922
case "(($ac_try" in
 
4923
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4924
  *) ac_try_echo=$ac_try;;
 
4925
esac
 
4926
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4927
  (eval "$ac_compile") 2>conftest.er1
 
4928
  ac_status=$?
 
4929
  grep -v '^ *+' conftest.er1 >conftest.err
 
4930
  rm -f conftest.er1
 
4931
  cat conftest.err >&5
 
4932
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4933
  (exit $ac_status); } &&
 
4934
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
4935
  { (case "(($ac_try" in
 
4936
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4937
  *) ac_try_echo=$ac_try;;
 
4938
esac
 
4939
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4940
  (eval "$ac_try") 2>&5
 
4941
  ac_status=$?
 
4942
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4943
  (exit $ac_status); }; } &&
 
4944
         { ac_try='test -s conftest.$ac_objext'
 
4945
  { (case "(($ac_try" in
 
4946
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4947
  *) ac_try_echo=$ac_try;;
 
4948
esac
 
4949
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4950
  (eval "$ac_try") 2>&5
 
4951
  ac_status=$?
 
4952
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4953
  (exit $ac_status); }; }; then
 
4954
  :
 
4955
else
 
4956
  echo "$as_me: failed program was:" >&5
 
4957
sed 's/^/| /' conftest.$ac_ext >&5
 
4958
 
 
4959
        ac_c_werror_flag=$ac_save_c_werror_flag
 
4960
         CFLAGS="-g"
 
4961
         cat >conftest.$ac_ext <<_ACEOF
 
4962
/* confdefs.h.  */
 
4963
_ACEOF
 
4964
cat confdefs.h >>conftest.$ac_ext
 
4965
cat >>conftest.$ac_ext <<_ACEOF
 
4966
/* end confdefs.h.  */
 
4967
 
 
4968
int
 
4969
main ()
 
4970
{
 
4971
 
 
4972
  ;
 
4973
  return 0;
 
4974
}
 
4975
_ACEOF
 
4976
rm -f conftest.$ac_objext
 
4977
if { (ac_try="$ac_compile"
 
4978
case "(($ac_try" in
 
4979
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4980
  *) ac_try_echo=$ac_try;;
 
4981
esac
 
4982
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4983
  (eval "$ac_compile") 2>conftest.er1
 
4984
  ac_status=$?
 
4985
  grep -v '^ *+' conftest.er1 >conftest.err
 
4986
  rm -f conftest.er1
 
4987
  cat conftest.err >&5
 
4988
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4989
  (exit $ac_status); } &&
 
4990
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
4991
  { (case "(($ac_try" in
 
4992
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4993
  *) ac_try_echo=$ac_try;;
 
4994
esac
 
4995
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4996
  (eval "$ac_try") 2>&5
 
4997
  ac_status=$?
 
4998
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4999
  (exit $ac_status); }; } &&
 
5000
         { ac_try='test -s conftest.$ac_objext'
 
5001
  { (case "(($ac_try" in
 
5002
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5003
  *) ac_try_echo=$ac_try;;
 
5004
esac
 
5005
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5006
  (eval "$ac_try") 2>&5
 
5007
  ac_status=$?
 
5008
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5009
  (exit $ac_status); }; }; then
 
5010
  ac_cv_prog_cc_g=yes
 
5011
else
 
5012
  echo "$as_me: failed program was:" >&5
 
5013
sed 's/^/| /' conftest.$ac_ext >&5
 
5014
 
 
5015
 
 
5016
fi
 
5017
 
 
5018
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5019
fi
 
5020
 
 
5021
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5022
fi
 
5023
 
 
5024
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5025
   ac_c_werror_flag=$ac_save_c_werror_flag
 
5026
fi
 
5027
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
5028
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4106
5029
if test "$ac_test_CFLAGS" = set; then
4107
5030
  CFLAGS=$ac_save_CFLAGS
4108
5031
elif test $ac_cv_prog_cc_g = yes; then
4118
5041
    CFLAGS=
4119
5042
  fi
4120
5043
fi
4121
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4122
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4123
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
5044
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
5045
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
5046
if test "${ac_cv_prog_cc_c89+set}" = set; then
4124
5047
  echo $ECHO_N "(cached) $ECHO_C" >&6
4125
5048
else
4126
 
  ac_cv_prog_cc_stdc=no
 
5049
  ac_cv_prog_cc_c89=no
4127
5050
ac_save_CC=$CC
4128
5051
cat >conftest.$ac_ext <<_ACEOF
4129
5052
/* confdefs.h.  */
4157
5080
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4158
5081
   function prototypes and stuff, but not '\xHH' hex character constants.
4159
5082
   These don't provoke an error unfortunately, instead are silently treated
4160
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
5083
   as 'x'.  The following induces an error, until -std is added to get
4161
5084
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4162
5085
   array size at least.  It's necessary to write '\x00'==0 to get something
4163
 
   that's true only with -std1.  */
 
5086
   that's true only with -std.  */
4164
5087
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4165
5088
 
4166
5089
int test (int i, double x);
4177
5100
  return 0;
4178
5101
}
4179
5102
_ACEOF
4180
 
# Don't try gcc -ansi; that turns off useful extensions and
4181
 
# breaks some systems' header files.
4182
 
# AIX                   -qlanglvl=ansi
4183
 
# Ultrix and OSF/1      -std1
4184
 
# HP-UX 10.20 and later -Ae
4185
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
4186
 
# SVR4                  -Xc -D__EXTENSIONS__
4187
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
5103
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
5104
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4188
5105
do
4189
5106
  CC="$ac_save_CC $ac_arg"
4190
5107
  rm -f conftest.$ac_objext
4191
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4192
 
  (eval $ac_compile) 2>conftest.er1
 
5108
if { (ac_try="$ac_compile"
 
5109
case "(($ac_try" in
 
5110
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5111
  *) ac_try_echo=$ac_try;;
 
5112
esac
 
5113
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5114
  (eval "$ac_compile") 2>conftest.er1
4193
5115
  ac_status=$?
4194
5116
  grep -v '^ *+' conftest.er1 >conftest.err
4195
5117
  rm -f conftest.er1
4196
5118
  cat conftest.err >&5
4197
5119
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4198
5120
  (exit $ac_status); } &&
4199
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4200
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4201
 
  (eval $ac_try) 2>&5
 
5121
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5122
  { (case "(($ac_try" in
 
5123
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5124
  *) ac_try_echo=$ac_try;;
 
5125
esac
 
5126
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5127
  (eval "$ac_try") 2>&5
4202
5128
  ac_status=$?
4203
5129
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4204
5130
  (exit $ac_status); }; } &&
4205
5131
         { ac_try='test -s conftest.$ac_objext'
4206
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4207
 
  (eval $ac_try) 2>&5
 
5132
  { (case "(($ac_try" in
 
5133
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5134
  *) ac_try_echo=$ac_try;;
 
5135
esac
 
5136
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5137
  (eval "$ac_try") 2>&5
4208
5138
  ac_status=$?
4209
5139
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4210
5140
  (exit $ac_status); }; }; then
4211
 
  ac_cv_prog_cc_stdc=$ac_arg
4212
 
break
 
5141
  ac_cv_prog_cc_c89=$ac_arg
4213
5142
else
4214
5143
  echo "$as_me: failed program was:" >&5
4215
5144
sed 's/^/| /' conftest.$ac_ext >&5
4216
5145
 
 
5146
 
4217
5147
fi
 
5148
 
4218
5149
rm -f conftest.err conftest.$ac_objext
 
5150
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4219
5151
done
4220
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
5152
rm -f conftest.$ac_ext
4221
5153
CC=$ac_save_CC
4222
5154
 
4223
5155
fi
4224
 
 
4225
 
case "x$ac_cv_prog_cc_stdc" in
4226
 
  x|xno)
4227
 
    echo "$as_me:$LINENO: result: none needed" >&5
4228
 
echo "${ECHO_T}none needed" >&6 ;;
 
5156
# AC_CACHE_VAL
 
5157
case "x$ac_cv_prog_cc_c89" in
 
5158
  x)
 
5159
    { echo "$as_me:$LINENO: result: none needed" >&5
 
5160
echo "${ECHO_T}none needed" >&6; } ;;
 
5161
  xno)
 
5162
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
5163
echo "${ECHO_T}unsupported" >&6; } ;;
4229
5164
  *)
4230
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4231
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4232
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
5165
    CC="$CC $ac_cv_prog_cc_c89"
 
5166
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
5167
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4233
5168
esac
4234
5169
 
4235
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
4236
 
# in C++ we need to declare it.  In case someone uses the same compiler
4237
 
# for both compiling C and C++ we need to have the C++ compiler decide
4238
 
# the declaration of exit, since it's the most demanding environment.
4239
 
cat >conftest.$ac_ext <<_ACEOF
4240
 
#ifndef __cplusplus
4241
 
  choke me
4242
 
#endif
4243
 
_ACEOF
4244
 
rm -f conftest.$ac_objext
4245
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4246
 
  (eval $ac_compile) 2>conftest.er1
4247
 
  ac_status=$?
4248
 
  grep -v '^ *+' conftest.er1 >conftest.err
4249
 
  rm -f conftest.er1
4250
 
  cat conftest.err >&5
4251
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4252
 
  (exit $ac_status); } &&
4253
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4254
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4255
 
  (eval $ac_try) 2>&5
4256
 
  ac_status=$?
4257
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4258
 
  (exit $ac_status); }; } &&
4259
 
         { ac_try='test -s conftest.$ac_objext'
4260
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4261
 
  (eval $ac_try) 2>&5
4262
 
  ac_status=$?
4263
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4264
 
  (exit $ac_status); }; }; then
4265
 
  for ac_declaration in \
4266
 
   '' \
4267
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
4268
 
   'extern "C" void std::exit (int); using std::exit;' \
4269
 
   'extern "C" void exit (int) throw ();' \
4270
 
   'extern "C" void exit (int);' \
4271
 
   'void exit (int);'
4272
 
do
4273
 
  cat >conftest.$ac_ext <<_ACEOF
4274
 
/* confdefs.h.  */
4275
 
_ACEOF
4276
 
cat confdefs.h >>conftest.$ac_ext
4277
 
cat >>conftest.$ac_ext <<_ACEOF
4278
 
/* end confdefs.h.  */
4279
 
$ac_declaration
4280
 
#include <stdlib.h>
4281
 
int
4282
 
main ()
4283
 
{
4284
 
exit (42);
4285
 
  ;
4286
 
  return 0;
4287
 
}
4288
 
_ACEOF
4289
 
rm -f conftest.$ac_objext
4290
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4291
 
  (eval $ac_compile) 2>conftest.er1
4292
 
  ac_status=$?
4293
 
  grep -v '^ *+' conftest.er1 >conftest.err
4294
 
  rm -f conftest.er1
4295
 
  cat conftest.err >&5
4296
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4297
 
  (exit $ac_status); } &&
4298
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4299
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4300
 
  (eval $ac_try) 2>&5
4301
 
  ac_status=$?
4302
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4303
 
  (exit $ac_status); }; } &&
4304
 
         { ac_try='test -s conftest.$ac_objext'
4305
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4306
 
  (eval $ac_try) 2>&5
4307
 
  ac_status=$?
4308
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4309
 
  (exit $ac_status); }; }; then
4310
 
  :
4311
 
else
4312
 
  echo "$as_me: failed program was:" >&5
4313
 
sed 's/^/| /' conftest.$ac_ext >&5
4314
 
 
4315
 
continue
4316
 
fi
4317
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4318
 
  cat >conftest.$ac_ext <<_ACEOF
4319
 
/* confdefs.h.  */
4320
 
_ACEOF
4321
 
cat confdefs.h >>conftest.$ac_ext
4322
 
cat >>conftest.$ac_ext <<_ACEOF
4323
 
/* end confdefs.h.  */
4324
 
$ac_declaration
4325
 
int
4326
 
main ()
4327
 
{
4328
 
exit (42);
4329
 
  ;
4330
 
  return 0;
4331
 
}
4332
 
_ACEOF
4333
 
rm -f conftest.$ac_objext
4334
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4335
 
  (eval $ac_compile) 2>conftest.er1
4336
 
  ac_status=$?
4337
 
  grep -v '^ *+' conftest.er1 >conftest.err
4338
 
  rm -f conftest.er1
4339
 
  cat conftest.err >&5
4340
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4341
 
  (exit $ac_status); } &&
4342
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4343
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4344
 
  (eval $ac_try) 2>&5
4345
 
  ac_status=$?
4346
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4347
 
  (exit $ac_status); }; } &&
4348
 
         { ac_try='test -s conftest.$ac_objext'
4349
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4350
 
  (eval $ac_try) 2>&5
4351
 
  ac_status=$?
4352
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353
 
  (exit $ac_status); }; }; then
4354
 
  break
4355
 
else
4356
 
  echo "$as_me: failed program was:" >&5
4357
 
sed 's/^/| /' conftest.$ac_ext >&5
4358
 
 
4359
 
fi
4360
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4361
 
done
4362
 
rm -f conftest*
4363
 
if test -n "$ac_declaration"; then
4364
 
  echo '#ifdef __cplusplus' >>confdefs.h
4365
 
  echo $ac_declaration      >>confdefs.h
4366
 
  echo '#endif'             >>confdefs.h
4367
 
fi
4368
 
 
4369
 
else
4370
 
  echo "$as_me: failed program was:" >&5
4371
 
sed 's/^/| /' conftest.$ac_ext >&5
4372
 
 
4373
 
fi
4374
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5170
 
4375
5171
ac_ext=c
4376
5172
ac_cpp='$CPP $CPPFLAGS'
4377
5173
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4380
5176
 
4381
5177
depcc="$CC"   am_compiler_list=
4382
5178
 
4383
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4384
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
5179
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
5180
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4385
5181
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4386
5182
  echo $ECHO_N "(cached) $ECHO_C" >&6
4387
5183
else
4470
5266
fi
4471
5267
 
4472
5268
fi
4473
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4474
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
5269
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
5270
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4475
5271
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4476
5272
 
4477
5273
 
4488
5284
 
4489
5285
 
4490
5286
 
4491
 
# Check whether --enable-largefile or --disable-largefile was given.
 
5287
# Check whether --enable-largefile was given.
4492
5288
if test "${enable_largefile+set}" = set; then
4493
 
  enableval="$enable_largefile"
 
5289
  enableval=$enable_largefile;
 
5290
fi
4494
5291
 
4495
 
fi;
4496
5292
if test "$enable_largefile" != no; then
4497
5293
 
4498
 
  echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4499
 
echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
 
5294
  { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
 
5295
echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
4500
5296
if test "${ac_cv_sys_largefile_CC+set}" = set; then
4501
5297
  echo $ECHO_N "(cached) $ECHO_C" >&6
4502
5298
else
4504
5300
     if test "$GCC" != yes; then
4505
5301
       ac_save_CC=$CC
4506
5302
       while :; do
4507
 
         # IRIX 6.2 and later do not support large files by default,
4508
 
         # so use the C compiler's -n32 option if that helps.
 
5303
         # IRIX 6.2 and later do not support large files by default,
 
5304
         # so use the C compiler's -n32 option if that helps.
4509
5305
         cat >conftest.$ac_ext <<_ACEOF
4510
5306
/* confdefs.h.  */
4511
5307
_ACEOF
4529
5325
  return 0;
4530
5326
}
4531
5327
_ACEOF
4532
 
         rm -f conftest.$ac_objext
4533
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4534
 
  (eval $ac_compile) 2>conftest.er1
 
5328
         rm -f conftest.$ac_objext
 
5329
if { (ac_try="$ac_compile"
 
5330
case "(($ac_try" in
 
5331
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5332
  *) ac_try_echo=$ac_try;;
 
5333
esac
 
5334
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5335
  (eval "$ac_compile") 2>conftest.er1
4535
5336
  ac_status=$?
4536
5337
  grep -v '^ *+' conftest.er1 >conftest.err
4537
5338
  rm -f conftest.er1
4538
5339
  cat conftest.err >&5
4539
5340
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4540
5341
  (exit $ac_status); } &&
4541
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4542
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4543
 
  (eval $ac_try) 2>&5
 
5342
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5343
  { (case "(($ac_try" in
 
5344
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5345
  *) ac_try_echo=$ac_try;;
 
5346
esac
 
5347
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5348
  (eval "$ac_try") 2>&5
4544
5349
  ac_status=$?
4545
5350
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546
5351
  (exit $ac_status); }; } &&
4547
5352
         { ac_try='test -s conftest.$ac_objext'
4548
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4549
 
  (eval $ac_try) 2>&5
 
5353
  { (case "(($ac_try" in
 
5354
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5355
  *) ac_try_echo=$ac_try;;
 
5356
esac
 
5357
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5358
  (eval "$ac_try") 2>&5
4550
5359
  ac_status=$?
4551
5360
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4552
5361
  (exit $ac_status); }; }; then
4555
5364
  echo "$as_me: failed program was:" >&5
4556
5365
sed 's/^/| /' conftest.$ac_ext >&5
4557
5366
 
 
5367
 
4558
5368
fi
 
5369
 
4559
5370
rm -f conftest.err conftest.$ac_objext
4560
 
         CC="$CC -n32"
4561
 
         rm -f conftest.$ac_objext
4562
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4563
 
  (eval $ac_compile) 2>conftest.er1
 
5371
         CC="$CC -n32"
 
5372
         rm -f conftest.$ac_objext
 
5373
if { (ac_try="$ac_compile"
 
5374
case "(($ac_try" in
 
5375
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5376
  *) ac_try_echo=$ac_try;;
 
5377
esac
 
5378
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5379
  (eval "$ac_compile") 2>conftest.er1
4564
5380
  ac_status=$?
4565
5381
  grep -v '^ *+' conftest.er1 >conftest.err
4566
5382
  rm -f conftest.er1
4567
5383
  cat conftest.err >&5
4568
5384
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569
5385
  (exit $ac_status); } &&
4570
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4571
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4572
 
  (eval $ac_try) 2>&5
 
5386
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5387
  { (case "(($ac_try" in
 
5388
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5389
  *) ac_try_echo=$ac_try;;
 
5390
esac
 
5391
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5392
  (eval "$ac_try") 2>&5
4573
5393
  ac_status=$?
4574
5394
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575
5395
  (exit $ac_status); }; } &&
4576
5396
         { ac_try='test -s conftest.$ac_objext'
4577
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4578
 
  (eval $ac_try) 2>&5
 
5397
  { (case "(($ac_try" in
 
5398
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5399
  *) ac_try_echo=$ac_try;;
 
5400
esac
 
5401
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5402
  (eval "$ac_try") 2>&5
4579
5403
  ac_status=$?
4580
5404
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581
5405
  (exit $ac_status); }; }; then
4584
5408
  echo "$as_me: failed program was:" >&5
4585
5409
sed 's/^/| /' conftest.$ac_ext >&5
4586
5410
 
 
5411
 
4587
5412
fi
 
5413
 
4588
5414
rm -f conftest.err conftest.$ac_objext
4589
5415
         break
4590
5416
       done
4592
5418
       rm -f conftest.$ac_ext
4593
5419
    fi
4594
5420
fi
4595
 
echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4596
 
echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
 
5421
{ echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
 
5422
echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
4597
5423
  if test "$ac_cv_sys_largefile_CC" != no; then
4598
5424
    CC=$CC$ac_cv_sys_largefile_CC
4599
5425
  fi
4600
5426
 
4601
 
  echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4602
 
echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
 
5427
  { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
 
5428
echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
4603
5429
if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4604
5430
  echo $ECHO_N "(cached) $ECHO_C" >&6
4605
5431
else
4629
5455
}
4630
5456
_ACEOF
4631
5457
rm -f conftest.$ac_objext
4632
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4633
 
  (eval $ac_compile) 2>conftest.er1
 
5458
if { (ac_try="$ac_compile"
 
5459
case "(($ac_try" in
 
5460
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5461
  *) ac_try_echo=$ac_try;;
 
5462
esac
 
5463
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5464
  (eval "$ac_compile") 2>conftest.er1
4634
5465
  ac_status=$?
4635
5466
  grep -v '^ *+' conftest.er1 >conftest.err
4636
5467
  rm -f conftest.er1
4637
5468
  cat conftest.err >&5
4638
5469
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4639
5470
  (exit $ac_status); } &&
4640
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4641
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4642
 
  (eval $ac_try) 2>&5
 
5471
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5472
  { (case "(($ac_try" in
 
5473
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5474
  *) ac_try_echo=$ac_try;;
 
5475
esac
 
5476
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5477
  (eval "$ac_try") 2>&5
4643
5478
  ac_status=$?
4644
5479
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4645
5480
  (exit $ac_status); }; } &&
4646
5481
         { ac_try='test -s conftest.$ac_objext'
4647
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4648
 
  (eval $ac_try) 2>&5
 
5482
  { (case "(($ac_try" in
 
5483
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5484
  *) ac_try_echo=$ac_try;;
 
5485
esac
 
5486
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5487
  (eval "$ac_try") 2>&5
4649
5488
  ac_status=$?
4650
5489
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4651
5490
  (exit $ac_status); }; }; then
4654
5493
  echo "$as_me: failed program was:" >&5
4655
5494
sed 's/^/| /' conftest.$ac_ext >&5
4656
5495
 
 
5496
 
4657
5497
fi
 
5498
 
4658
5499
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4659
5500
  cat >conftest.$ac_ext <<_ACEOF
4660
5501
/* confdefs.h.  */
4681
5522
}
4682
5523
_ACEOF
4683
5524
rm -f conftest.$ac_objext
4684
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4685
 
  (eval $ac_compile) 2>conftest.er1
 
5525
if { (ac_try="$ac_compile"
 
5526
case "(($ac_try" in
 
5527
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5528
  *) ac_try_echo=$ac_try;;
 
5529
esac
 
5530
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5531
  (eval "$ac_compile") 2>conftest.er1
4686
5532
  ac_status=$?
4687
5533
  grep -v '^ *+' conftest.er1 >conftest.err
4688
5534
  rm -f conftest.er1
4689
5535
  cat conftest.err >&5
4690
5536
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691
5537
  (exit $ac_status); } &&
4692
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4693
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4694
 
  (eval $ac_try) 2>&5
 
5538
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5539
  { (case "(($ac_try" in
 
5540
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5541
  *) ac_try_echo=$ac_try;;
 
5542
esac
 
5543
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5544
  (eval "$ac_try") 2>&5
4695
5545
  ac_status=$?
4696
5546
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697
5547
  (exit $ac_status); }; } &&
4698
5548
         { ac_try='test -s conftest.$ac_objext'
4699
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4700
 
  (eval $ac_try) 2>&5
 
5549
  { (case "(($ac_try" in
 
5550
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5551
  *) ac_try_echo=$ac_try;;
 
5552
esac
 
5553
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5554
  (eval "$ac_try") 2>&5
4701
5555
  ac_status=$?
4702
5556
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703
5557
  (exit $ac_status); }; }; then
4706
5560
  echo "$as_me: failed program was:" >&5
4707
5561
sed 's/^/| /' conftest.$ac_ext >&5
4708
5562
 
 
5563
 
4709
5564
fi
 
5565
 
4710
5566
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4711
5567
  break
4712
5568
done
4713
5569
fi
4714
 
echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4715
 
echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
 
5570
{ echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
 
5571
echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
4716
5572
if test "$ac_cv_sys_file_offset_bits" != no; then
4717
5573
 
4718
5574
cat >>confdefs.h <<_ACEOF
4721
5577
 
4722
5578
fi
4723
5579
rm -f conftest*
4724
 
  echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4725
 
echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
 
5580
  { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
 
5581
echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
4726
5582
if test "${ac_cv_sys_large_files+set}" = set; then
4727
5583
  echo $ECHO_N "(cached) $ECHO_C" >&6
4728
5584
else
4752
5608
}
4753
5609
_ACEOF
4754
5610
rm -f conftest.$ac_objext
4755
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4756
 
  (eval $ac_compile) 2>conftest.er1
 
5611
if { (ac_try="$ac_compile"
 
5612
case "(($ac_try" in
 
5613
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5614
  *) ac_try_echo=$ac_try;;
 
5615
esac
 
5616
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5617
  (eval "$ac_compile") 2>conftest.er1
4757
5618
  ac_status=$?
4758
5619
  grep -v '^ *+' conftest.er1 >conftest.err
4759
5620
  rm -f conftest.er1
4760
5621
  cat conftest.err >&5
4761
5622
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762
5623
  (exit $ac_status); } &&
4763
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4764
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4765
 
  (eval $ac_try) 2>&5
 
5624
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5625
  { (case "(($ac_try" in
 
5626
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5627
  *) ac_try_echo=$ac_try;;
 
5628
esac
 
5629
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5630
  (eval "$ac_try") 2>&5
4766
5631
  ac_status=$?
4767
5632
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768
5633
  (exit $ac_status); }; } &&
4769
5634
         { ac_try='test -s conftest.$ac_objext'
4770
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4771
 
  (eval $ac_try) 2>&5
 
5635
  { (case "(($ac_try" in
 
5636
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5637
  *) ac_try_echo=$ac_try;;
 
5638
esac
 
5639
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5640
  (eval "$ac_try") 2>&5
4772
5641
  ac_status=$?
4773
5642
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4774
5643
  (exit $ac_status); }; }; then
4777
5646
  echo "$as_me: failed program was:" >&5
4778
5647
sed 's/^/| /' conftest.$ac_ext >&5
4779
5648
 
 
5649
 
4780
5650
fi
 
5651
 
4781
5652
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4782
5653
  cat >conftest.$ac_ext <<_ACEOF
4783
5654
/* confdefs.h.  */
4804
5675
}
4805
5676
_ACEOF
4806
5677
rm -f conftest.$ac_objext
4807
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4808
 
  (eval $ac_compile) 2>conftest.er1
 
5678
if { (ac_try="$ac_compile"
 
5679
case "(($ac_try" in
 
5680
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5681
  *) ac_try_echo=$ac_try;;
 
5682
esac
 
5683
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5684
  (eval "$ac_compile") 2>conftest.er1
4809
5685
  ac_status=$?
4810
5686
  grep -v '^ *+' conftest.er1 >conftest.err
4811
5687
  rm -f conftest.er1
4812
5688
  cat conftest.err >&5
4813
5689
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814
5690
  (exit $ac_status); } &&
4815
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4816
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4817
 
  (eval $ac_try) 2>&5
 
5691
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5692
  { (case "(($ac_try" in
 
5693
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5694
  *) ac_try_echo=$ac_try;;
 
5695
esac
 
5696
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5697
  (eval "$ac_try") 2>&5
4818
5698
  ac_status=$?
4819
5699
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4820
5700
  (exit $ac_status); }; } &&
4821
5701
         { ac_try='test -s conftest.$ac_objext'
4822
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4823
 
  (eval $ac_try) 2>&5
 
5702
  { (case "(($ac_try" in
 
5703
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5704
  *) ac_try_echo=$ac_try;;
 
5705
esac
 
5706
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5707
  (eval "$ac_try") 2>&5
4824
5708
  ac_status=$?
4825
5709
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4826
5710
  (exit $ac_status); }; }; then
4829
5713
  echo "$as_me: failed program was:" >&5
4830
5714
sed 's/^/| /' conftest.$ac_ext >&5
4831
5715
 
 
5716
 
4832
5717
fi
 
5718
 
4833
5719
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4834
5720
  break
4835
5721
done
4836
5722
fi
4837
 
echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4838
 
echo "${ECHO_T}$ac_cv_sys_large_files" >&6
 
5723
{ echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
 
5724
echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
4839
5725
if test "$ac_cv_sys_large_files" != no; then
4840
5726
 
4841
5727
cat >>confdefs.h <<_ACEOF
4850
5736
 
4851
5737
 
4852
5738
 
4853
 
# Check whether --enable-shared or --disable-shared was given.
 
5739
# Check whether --enable-shared was given.
4854
5740
if test "${enable_shared+set}" = set; then
4855
 
  enableval="$enable_shared"
4856
 
  p=${PACKAGE-default}
 
5741
  enableval=$enable_shared; p=${PACKAGE-default}
4857
5742
    case $enableval in
4858
5743
    yes) enable_shared=yes ;;
4859
5744
    no) enable_shared=no ;;
4872
5757
    esac
4873
5758
else
4874
5759
  enable_shared=yes
4875
 
fi;
4876
 
 
4877
 
# Check whether --enable-static or --disable-static was given.
 
5760
fi
 
5761
 
 
5762
 
 
5763
# Check whether --enable-static was given.
4878
5764
if test "${enable_static+set}" = set; then
4879
 
  enableval="$enable_static"
4880
 
  p=${PACKAGE-default}
 
5765
  enableval=$enable_static; p=${PACKAGE-default}
4881
5766
    case $enableval in
4882
5767
    yes) enable_static=yes ;;
4883
5768
    no) enable_static=no ;;
4896
5781
    esac
4897
5782
else
4898
5783
  enable_static=yes
4899
 
fi;
4900
 
 
4901
 
# Check whether --enable-fast-install or --disable-fast-install was given.
 
5784
fi
 
5785
 
 
5786
 
 
5787
# Check whether --enable-fast-install was given.
4902
5788
if test "${enable_fast_install+set}" = set; then
4903
 
  enableval="$enable_fast_install"
4904
 
  p=${PACKAGE-default}
 
5789
  enableval=$enable_fast_install; p=${PACKAGE-default}
4905
5790
    case $enableval in
4906
5791
    yes) enable_fast_install=yes ;;
4907
5792
    no) enable_fast_install=no ;;
4920
5805
    esac
4921
5806
else
4922
5807
  enable_fast_install=yes
4923
 
fi;
4924
 
 
4925
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4926
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 
5808
fi
 
5809
 
 
5810
 
 
5811
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
5812
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4927
5813
if test "${lt_cv_path_SED+set}" = set; then
4928
5814
  echo $ECHO_N "(cached) $ECHO_C" >&6
4929
5815
else
4976
5862
fi
4977
5863
 
4978
5864
SED=$lt_cv_path_SED
4979
 
echo "$as_me:$LINENO: result: $SED" >&5
4980
 
echo "${ECHO_T}$SED" >&6
4981
 
 
4982
 
 
4983
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
5865
{ echo "$as_me:$LINENO: result: $SED" >&5
 
5866
echo "${ECHO_T}$SED" >&6; }
 
5867
 
 
5868
 
 
5869
# Check whether --with-gnu-ld was given.
4984
5870
if test "${with_gnu_ld+set}" = set; then
4985
 
  withval="$with_gnu_ld"
4986
 
  test "$withval" = no || with_gnu_ld=yes
 
5871
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4987
5872
else
4988
5873
  with_gnu_ld=no
4989
 
fi;
 
5874
fi
 
5875
 
4990
5876
ac_prog=ld
4991
5877
if test "$GCC" = yes; then
4992
5878
  # Check if gcc -print-prog-name=ld gives a path.
4993
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4994
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
5879
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
5880
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4995
5881
  case $host in
4996
5882
  *-*-mingw*)
4997
5883
    # gcc leaves a trailing carriage return which upsets mingw
5020
5906
    ;;
5021
5907
  esac
5022
5908
elif test "$with_gnu_ld" = yes; then
5023
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
5024
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
5909
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
5910
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
5025
5911
else
5026
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5027
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
5912
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
5913
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
5028
5914
fi
5029
5915
if test "${lt_cv_path_LD+set}" = set; then
5030
5916
  echo $ECHO_N "(cached) $ECHO_C" >&6
5057
5943
 
5058
5944
LD="$lt_cv_path_LD"
5059
5945
if test -n "$LD"; then
5060
 
  echo "$as_me:$LINENO: result: $LD" >&5
5061
 
echo "${ECHO_T}$LD" >&6
 
5946
  { echo "$as_me:$LINENO: result: $LD" >&5
 
5947
echo "${ECHO_T}$LD" >&6; }
5062
5948
else
5063
 
  echo "$as_me:$LINENO: result: no" >&5
5064
 
echo "${ECHO_T}no" >&6
 
5949
  { echo "$as_me:$LINENO: result: no" >&5
 
5950
echo "${ECHO_T}no" >&6; }
5065
5951
fi
5066
5952
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5067
5953
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5068
5954
   { (exit 1); exit 1; }; }
5069
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5070
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
5955
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
5956
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
5071
5957
if test "${lt_cv_prog_gnu_ld+set}" = set; then
5072
5958
  echo $ECHO_N "(cached) $ECHO_C" >&6
5073
5959
else
5081
5967
  ;;
5082
5968
esac
5083
5969
fi
5084
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5085
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
5970
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
5971
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
5086
5972
with_gnu_ld=$lt_cv_prog_gnu_ld
5087
5973
 
5088
5974
 
5089
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5090
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 
5975
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
5976
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
5091
5977
if test "${lt_cv_ld_reload_flag+set}" = set; then
5092
5978
  echo $ECHO_N "(cached) $ECHO_C" >&6
5093
5979
else
5094
5980
  lt_cv_ld_reload_flag='-r'
5095
5981
fi
5096
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5097
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 
5982
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
5983
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
5098
5984
reload_flag=$lt_cv_ld_reload_flag
5099
5985
case $reload_flag in
5100
5986
"" | " "*) ;;
5104
5990
case $host_os in
5105
5991
  darwin*)
5106
5992
    if test "$GCC" = yes; then
5107
 
      reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
 
5993
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5108
5994
    else
5109
5995
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5110
5996
    fi
5111
5997
    ;;
5112
5998
esac
5113
5999
 
5114
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5115
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
6000
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
6001
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
5116
6002
if test "${lt_cv_path_NM+set}" = set; then
5117
6003
  echo $ECHO_N "(cached) $ECHO_C" >&6
5118
6004
else
5120
6006
  # Let the user override the test.
5121
6007
  lt_cv_path_NM="$NM"
5122
6008
else
5123
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5124
 
  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
5125
 
    IFS="$lt_save_ifs"
5126
 
    test -z "$ac_dir" && ac_dir=.
5127
 
    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
5128
 
    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5129
 
      # Check to see if the nm accepts a BSD-compat flag.
5130
 
      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5131
 
      #   nm: unknown option "B" ignored
5132
 
      # Tru64's nm complains that /dev/null is an invalid object file
5133
 
      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5134
 
      */dev/null* | *'Invalid file or object type'*)
5135
 
        lt_cv_path_NM="$tmp_nm -B"
5136
 
        break
5137
 
        ;;
5138
 
      *)
5139
 
        case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5140
 
        */dev/null*)
5141
 
          lt_cv_path_NM="$tmp_nm -p"
 
6009
  lt_nm_to_check="${ac_tool_prefix}nm"
 
6010
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
6011
    lt_nm_to_check="$lt_nm_to_check nm"
 
6012
  fi
 
6013
  for lt_tmp_nm in $lt_nm_to_check; do
 
6014
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
6015
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
6016
      IFS="$lt_save_ifs"
 
6017
      test -z "$ac_dir" && ac_dir=.
 
6018
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
6019
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
6020
        # Check to see if the nm accepts a BSD-compat flag.
 
6021
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
6022
        #   nm: unknown option "B" ignored
 
6023
        # Tru64's nm complains that /dev/null is an invalid object file
 
6024
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
6025
        */dev/null* | *'Invalid file or object type'*)
 
6026
          lt_cv_path_NM="$tmp_nm -B"
5142
6027
          break
5143
6028
          ;;
5144
6029
        *)
5145
 
          lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5146
 
          continue # so that we can try to find one that supports BSD flags
 
6030
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
6031
          */dev/null*)
 
6032
            lt_cv_path_NM="$tmp_nm -p"
 
6033
            break
 
6034
            ;;
 
6035
          *)
 
6036
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
6037
            continue # so that we can try to find one that supports BSD flags
 
6038
            ;;
 
6039
          esac
5147
6040
          ;;
5148
6041
        esac
5149
 
      esac
5150
 
    fi
 
6042
      fi
 
6043
    done
 
6044
    IFS="$lt_save_ifs"
5151
6045
  done
5152
 
  IFS="$lt_save_ifs"
5153
6046
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
5154
6047
fi
5155
6048
fi
5156
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5157
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
 
6049
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
6050
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
5158
6051
NM="$lt_cv_path_NM"
5159
6052
 
5160
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
5161
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
6053
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
6054
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5162
6055
LN_S=$as_ln_s
5163
6056
if test "$LN_S" = "ln -s"; then
5164
 
  echo "$as_me:$LINENO: result: yes" >&5
5165
 
echo "${ECHO_T}yes" >&6
 
6057
  { echo "$as_me:$LINENO: result: yes" >&5
 
6058
echo "${ECHO_T}yes" >&6; }
5166
6059
else
5167
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5168
 
echo "${ECHO_T}no, using $LN_S" >&6
 
6060
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
6061
echo "${ECHO_T}no, using $LN_S" >&6; }
5169
6062
fi
5170
6063
 
5171
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
5172
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
6064
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
 
6065
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
5173
6066
if test "${lt_cv_deplibs_check_method+set}" = set; then
5174
6067
  echo $ECHO_N "(cached) $ECHO_C" >&6
5175
6068
else
5219
6112
  lt_cv_deplibs_check_method=pass_all
5220
6113
  ;;
5221
6114
 
5222
 
freebsd* | kfreebsd*-gnu | dragonfly*)
 
6115
freebsd* | dragonfly*)
5223
6116
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5224
6117
    case $host_cpu in
5225
6118
    i*86 )
5257
6150
  esac
5258
6151
  ;;
5259
6152
 
 
6153
interix3*)
 
6154
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
6155
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
6156
  ;;
 
6157
 
5260
6158
irix5* | irix6* | nonstopux*)
5261
6159
  case $LD in
5262
6160
  *-32|*"-32 ") libmagic=32-bit;;
5268
6166
  ;;
5269
6167
 
5270
6168
# This must be Linux ELF.
5271
 
linux*)
 
6169
linux* | k*bsd*-gnu)
5272
6170
  lt_cv_deplibs_check_method=pass_all
5273
6171
  ;;
5274
6172
 
5275
 
netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
6173
netbsd* | netbsdelf*-gnu)
5276
6174
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5277
6175
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5278
6176
  else
5302
6200
  lt_cv_deplibs_check_method=pass_all
5303
6201
  ;;
5304
6202
 
5305
 
sco3.2v5*)
5306
 
  lt_cv_deplibs_check_method=pass_all
5307
 
  ;;
5308
 
 
5309
6203
solaris*)
5310
6204
  lt_cv_deplibs_check_method=pass_all
5311
6205
  ;;
5312
6206
 
5313
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
6207
sysv4 | sysv4.3*)
5314
6208
  case $host_vendor in
5315
6209
  motorola)
5316
6210
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5331
6225
  siemens)
5332
6226
    lt_cv_deplibs_check_method=pass_all
5333
6227
    ;;
 
6228
  pc)
 
6229
    lt_cv_deplibs_check_method=pass_all
 
6230
    ;;
5334
6231
  esac
5335
6232
  ;;
5336
6233
 
5337
 
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
 
6234
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5338
6235
  lt_cv_deplibs_check_method=pass_all
5339
6236
  ;;
5340
6237
esac
5341
6238
 
5342
6239
fi
5343
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5344
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
6240
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
6241
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
5345
6242
file_magic_cmd=$lt_cv_file_magic_cmd
5346
6243
deplibs_check_method=$lt_cv_deplibs_check_method
5347
6244
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5352
6249
# If no C compiler was specified, use CC.
5353
6250
LTCC=${LTCC-"$CC"}
5354
6251
 
 
6252
# If no C compiler flags were specified, use CFLAGS.
 
6253
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
6254
 
5355
6255
# Allow CC to be a program name with arguments.
5356
6256
compiler=$CC
5357
6257
 
5358
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
6258
# Check whether --enable-libtool-lock was given.
5359
6259
if test "${enable_libtool_lock+set}" = set; then
5360
 
  enableval="$enable_libtool_lock"
 
6260
  enableval=$enable_libtool_lock;
 
6261
fi
5361
6262
 
5362
 
fi;
5363
6263
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5364
6264
 
5365
6265
# Some flags need to be propagated to the compiler or linker for good
5386
6286
  ;;
5387
6287
*-*-irix6*)
5388
6288
  # Find out which ABI we are using.
5389
 
  echo '#line 5389 "configure"' > conftest.$ac_ext
 
6289
  echo '#line 6289 "configure"' > conftest.$ac_ext
5390
6290
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5391
6291
  (eval $ac_compile) 2>&5
5392
6292
  ac_status=$?
5471
6371
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5472
6372
  SAVE_CFLAGS="$CFLAGS"
5473
6373
  CFLAGS="$CFLAGS -belf"
5474
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5475
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
6374
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
6375
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5476
6376
if test "${lt_cv_cc_needs_belf+set}" = set; then
5477
6377
  echo $ECHO_N "(cached) $ECHO_C" >&6
5478
6378
else
5498
6398
}
5499
6399
_ACEOF
5500
6400
rm -f conftest.$ac_objext conftest$ac_exeext
5501
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5502
 
  (eval $ac_link) 2>conftest.er1
 
6401
if { (ac_try="$ac_link"
 
6402
case "(($ac_try" in
 
6403
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6404
  *) ac_try_echo=$ac_try;;
 
6405
esac
 
6406
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6407
  (eval "$ac_link") 2>conftest.er1
5503
6408
  ac_status=$?
5504
6409
  grep -v '^ *+' conftest.er1 >conftest.err
5505
6410
  rm -f conftest.er1
5506
6411
  cat conftest.err >&5
5507
6412
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5508
6413
  (exit $ac_status); } &&
5509
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5510
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5511
 
  (eval $ac_try) 2>&5
 
6414
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
6415
  { (case "(($ac_try" in
 
6416
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6417
  *) ac_try_echo=$ac_try;;
 
6418
esac
 
6419
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6420
  (eval "$ac_try") 2>&5
5512
6421
  ac_status=$?
5513
6422
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514
6423
  (exit $ac_status); }; } &&
5515
6424
         { ac_try='test -s conftest$ac_exeext'
5516
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5517
 
  (eval $ac_try) 2>&5
 
6425
  { (case "(($ac_try" in
 
6426
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6427
  *) ac_try_echo=$ac_try;;
 
6428
esac
 
6429
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6430
  (eval "$ac_try") 2>&5
5518
6431
  ac_status=$?
5519
6432
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5520
6433
  (exit $ac_status); }; }; then
5523
6436
  echo "$as_me: failed program was:" >&5
5524
6437
sed 's/^/| /' conftest.$ac_ext >&5
5525
6438
 
5526
 
lt_cv_cc_needs_belf=no
 
6439
        lt_cv_cc_needs_belf=no
5527
6440
fi
 
6441
 
5528
6442
rm -f conftest.err conftest.$ac_objext \
5529
6443
      conftest$ac_exeext conftest.$ac_ext
5530
6444
     ac_ext=c
5534
6448
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5535
6449
 
5536
6450
fi
5537
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5538
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
6451
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
6452
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5539
6453
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5540
6454
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5541
6455
    CFLAGS="$SAVE_CFLAGS"
5542
6456
  fi
5543
6457
  ;;
 
6458
sparc*-*solaris*)
 
6459
  # Find out which ABI we are using.
 
6460
  echo 'int i;' > conftest.$ac_ext
 
6461
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6462
  (eval $ac_compile) 2>&5
 
6463
  ac_status=$?
 
6464
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6465
  (exit $ac_status); }; then
 
6466
    case `/usr/bin/file conftest.o` in
 
6467
    *64-bit*)
 
6468
      case $lt_cv_prog_gnu_ld in
 
6469
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
6470
      *)    LD="${LD-ld} -64" ;;
 
6471
      esac
 
6472
      ;;
 
6473
    esac
 
6474
  fi
 
6475
  rm -rf conftest*
 
6476
  ;;
 
6477
 
5544
6478
*-*-cygwin* | *-*-mingw* | *-*-pw32*)
5545
6479
  if test -n "$ac_tool_prefix"; then
5546
6480
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5547
6481
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5548
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5549
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6482
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6483
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5550
6484
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
5551
6485
  echo $ECHO_N "(cached) $ECHO_C" >&6
5552
6486
else
5559
6493
  IFS=$as_save_IFS
5560
6494
  test -z "$as_dir" && as_dir=.
5561
6495
  for ac_exec_ext in '' $ac_executable_extensions; do
5562
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6496
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5563
6497
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5564
6498
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5565
6499
    break 2
5566
6500
  fi
5567
6501
done
5568
6502
done
 
6503
IFS=$as_save_IFS
5569
6504
 
5570
6505
fi
5571
6506
fi
5572
6507
DLLTOOL=$ac_cv_prog_DLLTOOL
5573
6508
if test -n "$DLLTOOL"; then
5574
 
  echo "$as_me:$LINENO: result: $DLLTOOL" >&5
5575
 
echo "${ECHO_T}$DLLTOOL" >&6
 
6509
  { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
 
6510
echo "${ECHO_T}$DLLTOOL" >&6; }
5576
6511
else
5577
 
  echo "$as_me:$LINENO: result: no" >&5
5578
 
echo "${ECHO_T}no" >&6
 
6512
  { echo "$as_me:$LINENO: result: no" >&5
 
6513
echo "${ECHO_T}no" >&6; }
5579
6514
fi
 
6515
 
5580
6516
 
5581
6517
fi
5582
6518
if test -z "$ac_cv_prog_DLLTOOL"; then
5583
6519
  ac_ct_DLLTOOL=$DLLTOOL
5584
6520
  # Extract the first word of "dlltool", so it can be a program name with args.
5585
6521
set dummy dlltool; ac_word=$2
5586
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5587
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6522
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6523
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5588
6524
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
5589
6525
  echo $ECHO_N "(cached) $ECHO_C" >&6
5590
6526
else
5597
6533
  IFS=$as_save_IFS
5598
6534
  test -z "$as_dir" && as_dir=.
5599
6535
  for ac_exec_ext in '' $ac_executable_extensions; do
5600
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6536
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5601
6537
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5602
6538
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5603
6539
    break 2
5604
6540
  fi
5605
6541
done
5606
6542
done
 
6543
IFS=$as_save_IFS
5607
6544
 
5608
 
  test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
5609
6545
fi
5610
6546
fi
5611
6547
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5612
6548
if test -n "$ac_ct_DLLTOOL"; then
5613
 
  echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
5614
 
echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
 
6549
  { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
 
6550
echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
5615
6551
else
5616
 
  echo "$as_me:$LINENO: result: no" >&5
5617
 
echo "${ECHO_T}no" >&6
 
6552
  { echo "$as_me:$LINENO: result: no" >&5
 
6553
echo "${ECHO_T}no" >&6; }
5618
6554
fi
5619
6555
 
5620
 
  DLLTOOL=$ac_ct_DLLTOOL
 
6556
  if test "x$ac_ct_DLLTOOL" = x; then
 
6557
    DLLTOOL="false"
 
6558
  else
 
6559
    case $cross_compiling:$ac_tool_warned in
 
6560
yes:)
 
6561
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6562
whose name does not start with the host triplet.  If you think this
 
6563
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6564
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6565
whose name does not start with the host triplet.  If you think this
 
6566
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6567
ac_tool_warned=yes ;;
 
6568
esac
 
6569
    DLLTOOL=$ac_ct_DLLTOOL
 
6570
  fi
5621
6571
else
5622
6572
  DLLTOOL="$ac_cv_prog_DLLTOOL"
5623
6573
fi
5625
6575
  if test -n "$ac_tool_prefix"; then
5626
6576
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5627
6577
set dummy ${ac_tool_prefix}as; ac_word=$2
5628
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5629
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6578
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6579
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5630
6580
if test "${ac_cv_prog_AS+set}" = set; then
5631
6581
  echo $ECHO_N "(cached) $ECHO_C" >&6
5632
6582
else
5639
6589
  IFS=$as_save_IFS
5640
6590
  test -z "$as_dir" && as_dir=.
5641
6591
  for ac_exec_ext in '' $ac_executable_extensions; do
5642
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6592
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5643
6593
    ac_cv_prog_AS="${ac_tool_prefix}as"
5644
6594
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5645
6595
    break 2
5646
6596
  fi
5647
6597
done
5648
6598
done
 
6599
IFS=$as_save_IFS
5649
6600
 
5650
6601
fi
5651
6602
fi
5652
6603
AS=$ac_cv_prog_AS
5653
6604
if test -n "$AS"; then
5654
 
  echo "$as_me:$LINENO: result: $AS" >&5
5655
 
echo "${ECHO_T}$AS" >&6
 
6605
  { echo "$as_me:$LINENO: result: $AS" >&5
 
6606
echo "${ECHO_T}$AS" >&6; }
5656
6607
else
5657
 
  echo "$as_me:$LINENO: result: no" >&5
5658
 
echo "${ECHO_T}no" >&6
 
6608
  { echo "$as_me:$LINENO: result: no" >&5
 
6609
echo "${ECHO_T}no" >&6; }
5659
6610
fi
 
6611
 
5660
6612
 
5661
6613
fi
5662
6614
if test -z "$ac_cv_prog_AS"; then
5663
6615
  ac_ct_AS=$AS
5664
6616
  # Extract the first word of "as", so it can be a program name with args.
5665
6617
set dummy as; ac_word=$2
5666
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5667
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6618
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6619
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5668
6620
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5669
6621
  echo $ECHO_N "(cached) $ECHO_C" >&6
5670
6622
else
5677
6629
  IFS=$as_save_IFS
5678
6630
  test -z "$as_dir" && as_dir=.
5679
6631
  for ac_exec_ext in '' $ac_executable_extensions; do
5680
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6632
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5681
6633
    ac_cv_prog_ac_ct_AS="as"
5682
6634
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5683
6635
    break 2
5684
6636
  fi
5685
6637
done
5686
6638
done
 
6639
IFS=$as_save_IFS
5687
6640
 
5688
 
  test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
5689
6641
fi
5690
6642
fi
5691
6643
ac_ct_AS=$ac_cv_prog_ac_ct_AS
5692
6644
if test -n "$ac_ct_AS"; then
5693
 
  echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5694
 
echo "${ECHO_T}$ac_ct_AS" >&6
 
6645
  { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
 
6646
echo "${ECHO_T}$ac_ct_AS" >&6; }
5695
6647
else
5696
 
  echo "$as_me:$LINENO: result: no" >&5
5697
 
echo "${ECHO_T}no" >&6
 
6648
  { echo "$as_me:$LINENO: result: no" >&5
 
6649
echo "${ECHO_T}no" >&6; }
5698
6650
fi
5699
6651
 
5700
 
  AS=$ac_ct_AS
 
6652
  if test "x$ac_ct_AS" = x; then
 
6653
    AS="false"
 
6654
  else
 
6655
    case $cross_compiling:$ac_tool_warned in
 
6656
yes:)
 
6657
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6658
whose name does not start with the host triplet.  If you think this
 
6659
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6660
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6661
whose name does not start with the host triplet.  If you think this
 
6662
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6663
ac_tool_warned=yes ;;
 
6664
esac
 
6665
    AS=$ac_ct_AS
 
6666
  fi
5701
6667
else
5702
6668
  AS="$ac_cv_prog_AS"
5703
6669
fi
5705
6671
  if test -n "$ac_tool_prefix"; then
5706
6672
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5707
6673
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5708
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5709
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6674
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6675
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5710
6676
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5711
6677
  echo $ECHO_N "(cached) $ECHO_C" >&6
5712
6678
else
5719
6685
  IFS=$as_save_IFS
5720
6686
  test -z "$as_dir" && as_dir=.
5721
6687
  for ac_exec_ext in '' $ac_executable_extensions; do
5722
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6688
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5723
6689
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5724
6690
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5725
6691
    break 2
5726
6692
  fi
5727
6693
done
5728
6694
done
 
6695
IFS=$as_save_IFS
5729
6696
 
5730
6697
fi
5731
6698
fi
5732
6699
OBJDUMP=$ac_cv_prog_OBJDUMP
5733
6700
if test -n "$OBJDUMP"; then
5734
 
  echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5735
 
echo "${ECHO_T}$OBJDUMP" >&6
 
6701
  { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
6702
echo "${ECHO_T}$OBJDUMP" >&6; }
5736
6703
else
5737
 
  echo "$as_me:$LINENO: result: no" >&5
5738
 
echo "${ECHO_T}no" >&6
 
6704
  { echo "$as_me:$LINENO: result: no" >&5
 
6705
echo "${ECHO_T}no" >&6; }
5739
6706
fi
 
6707
 
5740
6708
 
5741
6709
fi
5742
6710
if test -z "$ac_cv_prog_OBJDUMP"; then
5743
6711
  ac_ct_OBJDUMP=$OBJDUMP
5744
6712
  # Extract the first word of "objdump", so it can be a program name with args.
5745
6713
set dummy objdump; ac_word=$2
5746
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5747
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6714
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6715
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5748
6716
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5749
6717
  echo $ECHO_N "(cached) $ECHO_C" >&6
5750
6718
else
5757
6725
  IFS=$as_save_IFS
5758
6726
  test -z "$as_dir" && as_dir=.
5759
6727
  for ac_exec_ext in '' $ac_executable_extensions; do
5760
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6728
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5761
6729
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5762
6730
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5763
6731
    break 2
5764
6732
  fi
5765
6733
done
5766
6734
done
 
6735
IFS=$as_save_IFS
5767
6736
 
5768
 
  test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
5769
6737
fi
5770
6738
fi
5771
6739
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5772
6740
if test -n "$ac_ct_OBJDUMP"; then
5773
 
  echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5774
 
echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
 
6741
  { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
6742
echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
5775
6743
else
5776
 
  echo "$as_me:$LINENO: result: no" >&5
5777
 
echo "${ECHO_T}no" >&6
 
6744
  { echo "$as_me:$LINENO: result: no" >&5
 
6745
echo "${ECHO_T}no" >&6; }
5778
6746
fi
5779
6747
 
5780
 
  OBJDUMP=$ac_ct_OBJDUMP
 
6748
  if test "x$ac_ct_OBJDUMP" = x; then
 
6749
    OBJDUMP="false"
 
6750
  else
 
6751
    case $cross_compiling:$ac_tool_warned in
 
6752
yes:)
 
6753
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6754
whose name does not start with the host triplet.  If you think this
 
6755
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6756
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6757
whose name does not start with the host triplet.  If you think this
 
6758
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6759
ac_tool_warned=yes ;;
 
6760
esac
 
6761
    OBJDUMP=$ac_ct_OBJDUMP
 
6762
  fi
5781
6763
else
5782
6764
  OBJDUMP="$ac_cv_prog_OBJDUMP"
5783
6765
fi
5789
6771
need_locks="$enable_libtool_lock"
5790
6772
 
5791
6773
 
5792
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5793
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
6774
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
6775
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5794
6776
if test "${ac_cv_header_stdc+set}" = set; then
5795
6777
  echo $ECHO_N "(cached) $ECHO_C" >&6
5796
6778
else
5814
6796
}
5815
6797
_ACEOF
5816
6798
rm -f conftest.$ac_objext
5817
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5818
 
  (eval $ac_compile) 2>conftest.er1
 
6799
if { (ac_try="$ac_compile"
 
6800
case "(($ac_try" in
 
6801
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6802
  *) ac_try_echo=$ac_try;;
 
6803
esac
 
6804
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6805
  (eval "$ac_compile") 2>conftest.er1
5819
6806
  ac_status=$?
5820
6807
  grep -v '^ *+' conftest.er1 >conftest.err
5821
6808
  rm -f conftest.er1
5822
6809
  cat conftest.err >&5
5823
6810
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5824
6811
  (exit $ac_status); } &&
5825
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5826
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5827
 
  (eval $ac_try) 2>&5
 
6812
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
6813
  { (case "(($ac_try" in
 
6814
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6815
  *) ac_try_echo=$ac_try;;
 
6816
esac
 
6817
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6818
  (eval "$ac_try") 2>&5
5828
6819
  ac_status=$?
5829
6820
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5830
6821
  (exit $ac_status); }; } &&
5831
6822
         { ac_try='test -s conftest.$ac_objext'
5832
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5833
 
  (eval $ac_try) 2>&5
 
6823
  { (case "(($ac_try" in
 
6824
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6825
  *) ac_try_echo=$ac_try;;
 
6826
esac
 
6827
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6828
  (eval "$ac_try") 2>&5
5834
6829
  ac_status=$?
5835
6830
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5836
6831
  (exit $ac_status); }; }; then
5839
6834
  echo "$as_me: failed program was:" >&5
5840
6835
sed 's/^/| /' conftest.$ac_ext >&5
5841
6836
 
5842
 
ac_cv_header_stdc=no
 
6837
        ac_cv_header_stdc=no
5843
6838
fi
 
6839
 
5844
6840
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5845
6841
 
5846
6842
if test $ac_cv_header_stdc = yes; then
5897
6893
cat >>conftest.$ac_ext <<_ACEOF
5898
6894
/* end confdefs.h.  */
5899
6895
#include <ctype.h>
 
6896
#include <stdlib.h>
5900
6897
#if ((' ' & 0x0FF) == 0x020)
5901
6898
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5902
6899
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5916
6913
  for (i = 0; i < 256; i++)
5917
6914
    if (XOR (islower (i), ISLOWER (i))
5918
6915
        || toupper (i) != TOUPPER (i))
5919
 
      exit(2);
5920
 
  exit (0);
 
6916
      return 2;
 
6917
  return 0;
5921
6918
}
5922
6919
_ACEOF
5923
6920
rm -f conftest$ac_exeext
5924
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5925
 
  (eval $ac_link) 2>&5
 
6921
if { (ac_try="$ac_link"
 
6922
case "(($ac_try" in
 
6923
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6924
  *) ac_try_echo=$ac_try;;
 
6925
esac
 
6926
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6927
  (eval "$ac_link") 2>&5
5926
6928
  ac_status=$?
5927
6929
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5928
6930
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5929
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5930
 
  (eval $ac_try) 2>&5
 
6931
  { (case "(($ac_try" in
 
6932
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6933
  *) ac_try_echo=$ac_try;;
 
6934
esac
 
6935
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6936
  (eval "$ac_try") 2>&5
5931
6937
  ac_status=$?
5932
6938
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5933
6939
  (exit $ac_status); }; }; then
5940
6946
( exit $ac_status )
5941
6947
ac_cv_header_stdc=no
5942
6948
fi
5943
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5944
 
fi
5945
 
fi
5946
 
fi
5947
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5948
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
6949
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
6950
fi
 
6951
 
 
6952
 
 
6953
fi
 
6954
fi
 
6955
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
6956
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5949
6957
if test $ac_cv_header_stdc = yes; then
5950
6958
 
5951
6959
cat >>confdefs.h <<\_ACEOF
5968
6976
                  inttypes.h stdint.h unistd.h
5969
6977
do
5970
6978
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5971
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
5972
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5973
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
6979
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6980
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
6981
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5974
6982
  echo $ECHO_N "(cached) $ECHO_C" >&6
5975
6983
else
5976
6984
  cat >conftest.$ac_ext <<_ACEOF
5984
6992
#include <$ac_header>
5985
6993
_ACEOF
5986
6994
rm -f conftest.$ac_objext
5987
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5988
 
  (eval $ac_compile) 2>conftest.er1
 
6995
if { (ac_try="$ac_compile"
 
6996
case "(($ac_try" in
 
6997
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6998
  *) ac_try_echo=$ac_try;;
 
6999
esac
 
7000
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7001
  (eval "$ac_compile") 2>conftest.er1
5989
7002
  ac_status=$?
5990
7003
  grep -v '^ *+' conftest.er1 >conftest.err
5991
7004
  rm -f conftest.er1
5992
7005
  cat conftest.err >&5
5993
7006
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5994
7007
  (exit $ac_status); } &&
5995
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5996
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5997
 
  (eval $ac_try) 2>&5
 
7008
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
7009
  { (case "(($ac_try" in
 
7010
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7011
  *) ac_try_echo=$ac_try;;
 
7012
esac
 
7013
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7014
  (eval "$ac_try") 2>&5
5998
7015
  ac_status=$?
5999
7016
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6000
7017
  (exit $ac_status); }; } &&
6001
7018
         { ac_try='test -s conftest.$ac_objext'
6002
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6003
 
  (eval $ac_try) 2>&5
 
7019
  { (case "(($ac_try" in
 
7020
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7021
  *) ac_try_echo=$ac_try;;
 
7022
esac
 
7023
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7024
  (eval "$ac_try") 2>&5
6004
7025
  ac_status=$?
6005
7026
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6006
7027
  (exit $ac_status); }; }; then
6009
7030
  echo "$as_me: failed program was:" >&5
6010
7031
sed 's/^/| /' conftest.$ac_ext >&5
6011
7032
 
6012
 
eval "$as_ac_Header=no"
 
7033
        eval "$as_ac_Header=no"
6013
7034
fi
 
7035
 
6014
7036
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6015
7037
fi
6016
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6017
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
7038
ac_res=`eval echo '${'$as_ac_Header'}'`
 
7039
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
7040
echo "${ECHO_T}$ac_res" >&6; }
6018
7041
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6019
7042
  cat >>confdefs.h <<_ACEOF
6020
7043
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6029
7052
for ac_header in dlfcn.h
6030
7053
do
6031
7054
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6032
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6033
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
6034
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6035
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
7055
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7056
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
7057
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
7058
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6036
7059
  echo $ECHO_N "(cached) $ECHO_C" >&6
6037
7060
fi
6038
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6039
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
7061
ac_res=`eval echo '${'$as_ac_Header'}'`
 
7062
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
7063
echo "${ECHO_T}$ac_res" >&6; }
6040
7064
else
6041
7065
  # Is the header compilable?
6042
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
6043
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
7066
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
7067
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6044
7068
cat >conftest.$ac_ext <<_ACEOF
6045
7069
/* confdefs.h.  */
6046
7070
_ACEOF
6051
7075
#include <$ac_header>
6052
7076
_ACEOF
6053
7077
rm -f conftest.$ac_objext
6054
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6055
 
  (eval $ac_compile) 2>conftest.er1
 
7078
if { (ac_try="$ac_compile"
 
7079
case "(($ac_try" in
 
7080
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7081
  *) ac_try_echo=$ac_try;;
 
7082
esac
 
7083
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7084
  (eval "$ac_compile") 2>conftest.er1
6056
7085
  ac_status=$?
6057
7086
  grep -v '^ *+' conftest.er1 >conftest.err
6058
7087
  rm -f conftest.er1
6059
7088
  cat conftest.err >&5
6060
7089
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6061
7090
  (exit $ac_status); } &&
6062
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6063
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6064
 
  (eval $ac_try) 2>&5
 
7091
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
7092
  { (case "(($ac_try" in
 
7093
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7094
  *) ac_try_echo=$ac_try;;
 
7095
esac
 
7096
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7097
  (eval "$ac_try") 2>&5
6065
7098
  ac_status=$?
6066
7099
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6067
7100
  (exit $ac_status); }; } &&
6068
7101
         { ac_try='test -s conftest.$ac_objext'
6069
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6070
 
  (eval $ac_try) 2>&5
 
7102
  { (case "(($ac_try" in
 
7103
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7104
  *) ac_try_echo=$ac_try;;
 
7105
esac
 
7106
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7107
  (eval "$ac_try") 2>&5
6071
7108
  ac_status=$?
6072
7109
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6073
7110
  (exit $ac_status); }; }; then
6076
7113
  echo "$as_me: failed program was:" >&5
6077
7114
sed 's/^/| /' conftest.$ac_ext >&5
6078
7115
 
6079
 
ac_header_compiler=no
 
7116
        ac_header_compiler=no
6080
7117
fi
 
7118
 
6081
7119
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6082
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6083
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
7120
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
7121
echo "${ECHO_T}$ac_header_compiler" >&6; }
6084
7122
 
6085
7123
# Is the header present?
6086
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
6087
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
7124
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
7125
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6088
7126
cat >conftest.$ac_ext <<_ACEOF
6089
7127
/* confdefs.h.  */
6090
7128
_ACEOF
6093
7131
/* end confdefs.h.  */
6094
7132
#include <$ac_header>
6095
7133
_ACEOF
6096
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6097
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
7134
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7135
case "(($ac_try" in
 
7136
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7137
  *) ac_try_echo=$ac_try;;
 
7138
esac
 
7139
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7140
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6098
7141
  ac_status=$?
6099
7142
  grep -v '^ *+' conftest.er1 >conftest.err
6100
7143
  rm -f conftest.er1
6118
7161
 
6119
7162
  ac_header_preproc=no
6120
7163
fi
 
7164
 
6121
7165
rm -f conftest.err conftest.$ac_ext
6122
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6123
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
7166
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
7167
echo "${ECHO_T}$ac_header_preproc" >&6; }
6124
7168
 
6125
7169
# So?  What about this header?
6126
7170
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6144
7188
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6145
7189
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6146
7190
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6147
 
    (
6148
 
      cat <<\_ASBOX
 
7191
    ( cat <<\_ASBOX
6149
7192
## ------------------------------------------------------------------------ ##
6150
7193
## Report this to a suitable curl mailing list => http://curl.haxx.se/mail/ ##
6151
7194
## ------------------------------------------------------------------------ ##
6152
7195
_ASBOX
6153
 
    ) |
6154
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
7196
     ) | sed "s/^/$as_me: WARNING:     /" >&2
6155
7197
    ;;
6156
7198
esac
6157
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
6158
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6159
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
7199
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
7200
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
7201
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6160
7202
  echo $ECHO_N "(cached) $ECHO_C" >&6
6161
7203
else
6162
7204
  eval "$as_ac_Header=\$ac_header_preproc"
6163
7205
fi
6164
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6165
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
7206
ac_res=`eval echo '${'$as_ac_Header'}'`
 
7207
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
7208
echo "${ECHO_T}$ac_res" >&6; }
6166
7209
 
6167
7210
fi
6168
7211
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6174
7217
 
6175
7218
done
6176
7219
 
6177
 
ac_ext=cc
 
7220
ac_ext=cpp
6178
7221
ac_cpp='$CXXCPP $CPPFLAGS'
6179
7222
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6180
7223
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6181
7224
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6182
 
if test -n "$ac_tool_prefix"; then
6183
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
7225
if test -z "$CXX"; then
 
7226
  if test -n "$CCC"; then
 
7227
    CXX=$CCC
 
7228
  else
 
7229
    if test -n "$ac_tool_prefix"; then
 
7230
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6184
7231
  do
6185
7232
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6186
7233
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6187
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6188
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7234
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7235
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6189
7236
if test "${ac_cv_prog_CXX+set}" = set; then
6190
7237
  echo $ECHO_N "(cached) $ECHO_C" >&6
6191
7238
else
6198
7245
  IFS=$as_save_IFS
6199
7246
  test -z "$as_dir" && as_dir=.
6200
7247
  for ac_exec_ext in '' $ac_executable_extensions; do
6201
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7248
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6202
7249
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6203
7250
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6204
7251
    break 2
6205
7252
  fi
6206
7253
done
6207
7254
done
 
7255
IFS=$as_save_IFS
6208
7256
 
6209
7257
fi
6210
7258
fi
6211
7259
CXX=$ac_cv_prog_CXX
6212
7260
if test -n "$CXX"; then
6213
 
  echo "$as_me:$LINENO: result: $CXX" >&5
6214
 
echo "${ECHO_T}$CXX" >&6
 
7261
  { echo "$as_me:$LINENO: result: $CXX" >&5
 
7262
echo "${ECHO_T}$CXX" >&6; }
6215
7263
else
6216
 
  echo "$as_me:$LINENO: result: no" >&5
6217
 
echo "${ECHO_T}no" >&6
 
7264
  { echo "$as_me:$LINENO: result: no" >&5
 
7265
echo "${ECHO_T}no" >&6; }
6218
7266
fi
6219
7267
 
 
7268
 
6220
7269
    test -n "$CXX" && break
6221
7270
  done
6222
7271
fi
6223
7272
if test -z "$CXX"; then
6224
7273
  ac_ct_CXX=$CXX
6225
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
7274
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6226
7275
do
6227
7276
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6228
7277
set dummy $ac_prog; ac_word=$2
6229
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6230
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7278
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7279
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6231
7280
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6232
7281
  echo $ECHO_N "(cached) $ECHO_C" >&6
6233
7282
else
6240
7289
  IFS=$as_save_IFS
6241
7290
  test -z "$as_dir" && as_dir=.
6242
7291
  for ac_exec_ext in '' $ac_executable_extensions; do
6243
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7292
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6244
7293
    ac_cv_prog_ac_ct_CXX="$ac_prog"
6245
7294
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6246
7295
    break 2
6247
7296
  fi
6248
7297
done
6249
7298
done
 
7299
IFS=$as_save_IFS
6250
7300
 
6251
7301
fi
6252
7302
fi
6253
7303
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6254
7304
if test -n "$ac_ct_CXX"; then
6255
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6256
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
7305
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
7306
echo "${ECHO_T}$ac_ct_CXX" >&6; }
6257
7307
else
6258
 
  echo "$as_me:$LINENO: result: no" >&5
6259
 
echo "${ECHO_T}no" >&6
 
7308
  { echo "$as_me:$LINENO: result: no" >&5
 
7309
echo "${ECHO_T}no" >&6; }
6260
7310
fi
6261
7311
 
 
7312
 
6262
7313
  test -n "$ac_ct_CXX" && break
6263
7314
done
6264
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6265
 
 
6266
 
  CXX=$ac_ct_CXX
6267
 
fi
6268
 
 
6269
 
 
 
7315
 
 
7316
  if test "x$ac_ct_CXX" = x; then
 
7317
    CXX="g++"
 
7318
  else
 
7319
    case $cross_compiling:$ac_tool_warned in
 
7320
yes:)
 
7321
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7322
whose name does not start with the host triplet.  If you think this
 
7323
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7324
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7325
whose name does not start with the host triplet.  If you think this
 
7326
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7327
ac_tool_warned=yes ;;
 
7328
esac
 
7329
    CXX=$ac_ct_CXX
 
7330
  fi
 
7331
fi
 
7332
 
 
7333
  fi
 
7334
fi
6270
7335
# Provide some information about the compiler.
6271
 
echo "$as_me:$LINENO:" \
6272
 
     "checking for C++ compiler version" >&5
 
7336
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6273
7337
ac_compiler=`set X $ac_compile; echo $2`
6274
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6275
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
6276
 
  ac_status=$?
6277
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6278
 
  (exit $ac_status); }
6279
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6280
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
6281
 
  ac_status=$?
6282
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6283
 
  (exit $ac_status); }
6284
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6285
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
7338
{ (ac_try="$ac_compiler --version >&5"
 
7339
case "(($ac_try" in
 
7340
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7341
  *) ac_try_echo=$ac_try;;
 
7342
esac
 
7343
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7344
  (eval "$ac_compiler --version >&5") 2>&5
 
7345
  ac_status=$?
 
7346
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7347
  (exit $ac_status); }
 
7348
{ (ac_try="$ac_compiler -v >&5"
 
7349
case "(($ac_try" in
 
7350
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7351
  *) ac_try_echo=$ac_try;;
 
7352
esac
 
7353
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7354
  (eval "$ac_compiler -v >&5") 2>&5
 
7355
  ac_status=$?
 
7356
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7357
  (exit $ac_status); }
 
7358
{ (ac_try="$ac_compiler -V >&5"
 
7359
case "(($ac_try" in
 
7360
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7361
  *) ac_try_echo=$ac_try;;
 
7362
esac
 
7363
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7364
  (eval "$ac_compiler -V >&5") 2>&5
6286
7365
  ac_status=$?
6287
7366
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6288
7367
  (exit $ac_status); }
6289
7368
 
6290
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6291
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
7369
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
7370
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
6292
7371
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6293
7372
  echo $ECHO_N "(cached) $ECHO_C" >&6
6294
7373
else
6311
7390
}
6312
7391
_ACEOF
6313
7392
rm -f conftest.$ac_objext
6314
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6315
 
  (eval $ac_compile) 2>conftest.er1
 
7393
if { (ac_try="$ac_compile"
 
7394
case "(($ac_try" in
 
7395
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7396
  *) ac_try_echo=$ac_try;;
 
7397
esac
 
7398
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7399
  (eval "$ac_compile") 2>conftest.er1
6316
7400
  ac_status=$?
6317
7401
  grep -v '^ *+' conftest.er1 >conftest.err
6318
7402
  rm -f conftest.er1
6319
7403
  cat conftest.err >&5
6320
7404
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6321
7405
  (exit $ac_status); } &&
6322
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
6323
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6324
 
  (eval $ac_try) 2>&5
 
7406
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
7407
  { (case "(($ac_try" in
 
7408
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7409
  *) ac_try_echo=$ac_try;;
 
7410
esac
 
7411
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7412
  (eval "$ac_try") 2>&5
6325
7413
  ac_status=$?
6326
7414
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6327
7415
  (exit $ac_status); }; } &&
6328
7416
         { ac_try='test -s conftest.$ac_objext'
6329
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6330
 
  (eval $ac_try) 2>&5
 
7417
  { (case "(($ac_try" in
 
7418
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7419
  *) ac_try_echo=$ac_try;;
 
7420
esac
 
7421
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7422
  (eval "$ac_try") 2>&5
6331
7423
  ac_status=$?
6332
7424
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6333
7425
  (exit $ac_status); }; }; then
6336
7428
  echo "$as_me: failed program was:" >&5
6337
7429
sed 's/^/| /' conftest.$ac_ext >&5
6338
7430
 
6339
 
ac_compiler_gnu=no
 
7431
        ac_compiler_gnu=no
6340
7432
fi
 
7433
 
6341
7434
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6342
7435
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6343
7436
 
6344
7437
fi
6345
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6346
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
7438
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
7439
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
6347
7440
GXX=`test $ac_compiler_gnu = yes && echo yes`
6348
7441
ac_test_CXXFLAGS=${CXXFLAGS+set}
6349
7442
ac_save_CXXFLAGS=$CXXFLAGS
6350
 
CXXFLAGS="-g"
6351
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6352
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
7443
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
7444
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
6353
7445
if test "${ac_cv_prog_cxx_g+set}" = set; then
6354
7446
  echo $ECHO_N "(cached) $ECHO_C" >&6
6355
7447
else
6356
 
  cat >conftest.$ac_ext <<_ACEOF
6357
 
/* confdefs.h.  */
6358
 
_ACEOF
6359
 
cat confdefs.h >>conftest.$ac_ext
6360
 
cat >>conftest.$ac_ext <<_ACEOF
6361
 
/* end confdefs.h.  */
6362
 
 
6363
 
int
6364
 
main ()
6365
 
{
6366
 
 
6367
 
  ;
6368
 
  return 0;
6369
 
}
6370
 
_ACEOF
6371
 
rm -f conftest.$ac_objext
6372
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6373
 
  (eval $ac_compile) 2>conftest.er1
6374
 
  ac_status=$?
6375
 
  grep -v '^ *+' conftest.er1 >conftest.err
6376
 
  rm -f conftest.er1
6377
 
  cat conftest.err >&5
6378
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6379
 
  (exit $ac_status); } &&
6380
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
6381
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6382
 
  (eval $ac_try) 2>&5
6383
 
  ac_status=$?
6384
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6385
 
  (exit $ac_status); }; } &&
6386
 
         { ac_try='test -s conftest.$ac_objext'
6387
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6388
 
  (eval $ac_try) 2>&5
6389
 
  ac_status=$?
6390
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391
 
  (exit $ac_status); }; }; then
6392
 
  ac_cv_prog_cxx_g=yes
6393
 
else
6394
 
  echo "$as_me: failed program was:" >&5
6395
 
sed 's/^/| /' conftest.$ac_ext >&5
6396
 
 
6397
 
ac_cv_prog_cxx_g=no
6398
 
fi
6399
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6400
 
fi
6401
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6402
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
7448
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
7449
   ac_cxx_werror_flag=yes
 
7450
   ac_cv_prog_cxx_g=no
 
7451
   CXXFLAGS="-g"
 
7452
   cat >conftest.$ac_ext <<_ACEOF
 
7453
/* confdefs.h.  */
 
7454
_ACEOF
 
7455
cat confdefs.h >>conftest.$ac_ext
 
7456
cat >>conftest.$ac_ext <<_ACEOF
 
7457
/* end confdefs.h.  */
 
7458
 
 
7459
int
 
7460
main ()
 
7461
{
 
7462
 
 
7463
  ;
 
7464
  return 0;
 
7465
}
 
7466
_ACEOF
 
7467
rm -f conftest.$ac_objext
 
7468
if { (ac_try="$ac_compile"
 
7469
case "(($ac_try" in
 
7470
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7471
  *) ac_try_echo=$ac_try;;
 
7472
esac
 
7473
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7474
  (eval "$ac_compile") 2>conftest.er1
 
7475
  ac_status=$?
 
7476
  grep -v '^ *+' conftest.er1 >conftest.err
 
7477
  rm -f conftest.er1
 
7478
  cat conftest.err >&5
 
7479
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7480
  (exit $ac_status); } &&
 
7481
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
7482
  { (case "(($ac_try" in
 
7483
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7484
  *) ac_try_echo=$ac_try;;
 
7485
esac
 
7486
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7487
  (eval "$ac_try") 2>&5
 
7488
  ac_status=$?
 
7489
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7490
  (exit $ac_status); }; } &&
 
7491
         { ac_try='test -s conftest.$ac_objext'
 
7492
  { (case "(($ac_try" in
 
7493
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7494
  *) ac_try_echo=$ac_try;;
 
7495
esac
 
7496
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7497
  (eval "$ac_try") 2>&5
 
7498
  ac_status=$?
 
7499
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7500
  (exit $ac_status); }; }; then
 
7501
  ac_cv_prog_cxx_g=yes
 
7502
else
 
7503
  echo "$as_me: failed program was:" >&5
 
7504
sed 's/^/| /' conftest.$ac_ext >&5
 
7505
 
 
7506
        CXXFLAGS=""
 
7507
      cat >conftest.$ac_ext <<_ACEOF
 
7508
/* confdefs.h.  */
 
7509
_ACEOF
 
7510
cat confdefs.h >>conftest.$ac_ext
 
7511
cat >>conftest.$ac_ext <<_ACEOF
 
7512
/* end confdefs.h.  */
 
7513
 
 
7514
int
 
7515
main ()
 
7516
{
 
7517
 
 
7518
  ;
 
7519
  return 0;
 
7520
}
 
7521
_ACEOF
 
7522
rm -f conftest.$ac_objext
 
7523
if { (ac_try="$ac_compile"
 
7524
case "(($ac_try" in
 
7525
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7526
  *) ac_try_echo=$ac_try;;
 
7527
esac
 
7528
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7529
  (eval "$ac_compile") 2>conftest.er1
 
7530
  ac_status=$?
 
7531
  grep -v '^ *+' conftest.er1 >conftest.err
 
7532
  rm -f conftest.er1
 
7533
  cat conftest.err >&5
 
7534
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7535
  (exit $ac_status); } &&
 
7536
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
7537
  { (case "(($ac_try" in
 
7538
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7539
  *) ac_try_echo=$ac_try;;
 
7540
esac
 
7541
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7542
  (eval "$ac_try") 2>&5
 
7543
  ac_status=$?
 
7544
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7545
  (exit $ac_status); }; } &&
 
7546
         { ac_try='test -s conftest.$ac_objext'
 
7547
  { (case "(($ac_try" in
 
7548
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7549
  *) ac_try_echo=$ac_try;;
 
7550
esac
 
7551
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7552
  (eval "$ac_try") 2>&5
 
7553
  ac_status=$?
 
7554
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7555
  (exit $ac_status); }; }; then
 
7556
  :
 
7557
else
 
7558
  echo "$as_me: failed program was:" >&5
 
7559
sed 's/^/| /' conftest.$ac_ext >&5
 
7560
 
 
7561
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
7562
         CXXFLAGS="-g"
 
7563
         cat >conftest.$ac_ext <<_ACEOF
 
7564
/* confdefs.h.  */
 
7565
_ACEOF
 
7566
cat confdefs.h >>conftest.$ac_ext
 
7567
cat >>conftest.$ac_ext <<_ACEOF
 
7568
/* end confdefs.h.  */
 
7569
 
 
7570
int
 
7571
main ()
 
7572
{
 
7573
 
 
7574
  ;
 
7575
  return 0;
 
7576
}
 
7577
_ACEOF
 
7578
rm -f conftest.$ac_objext
 
7579
if { (ac_try="$ac_compile"
 
7580
case "(($ac_try" in
 
7581
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7582
  *) ac_try_echo=$ac_try;;
 
7583
esac
 
7584
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7585
  (eval "$ac_compile") 2>conftest.er1
 
7586
  ac_status=$?
 
7587
  grep -v '^ *+' conftest.er1 >conftest.err
 
7588
  rm -f conftest.er1
 
7589
  cat conftest.err >&5
 
7590
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7591
  (exit $ac_status); } &&
 
7592
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
7593
  { (case "(($ac_try" in
 
7594
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7595
  *) ac_try_echo=$ac_try;;
 
7596
esac
 
7597
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7598
  (eval "$ac_try") 2>&5
 
7599
  ac_status=$?
 
7600
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7601
  (exit $ac_status); }; } &&
 
7602
         { ac_try='test -s conftest.$ac_objext'
 
7603
  { (case "(($ac_try" in
 
7604
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7605
  *) ac_try_echo=$ac_try;;
 
7606
esac
 
7607
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7608
  (eval "$ac_try") 2>&5
 
7609
  ac_status=$?
 
7610
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7611
  (exit $ac_status); }; }; then
 
7612
  ac_cv_prog_cxx_g=yes
 
7613
else
 
7614
  echo "$as_me: failed program was:" >&5
 
7615
sed 's/^/| /' conftest.$ac_ext >&5
 
7616
 
 
7617
 
 
7618
fi
 
7619
 
 
7620
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
7621
fi
 
7622
 
 
7623
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
7624
fi
 
7625
 
 
7626
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
7627
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
7628
fi
 
7629
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
7630
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6403
7631
if test "$ac_test_CXXFLAGS" = set; then
6404
7632
  CXXFLAGS=$ac_save_CXXFLAGS
6405
7633
elif test $ac_cv_prog_cxx_g = yes; then
6415
7643
    CXXFLAGS=
6416
7644
  fi
6417
7645
fi
6418
 
for ac_declaration in \
6419
 
   '' \
6420
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
6421
 
   'extern "C" void std::exit (int); using std::exit;' \
6422
 
   'extern "C" void exit (int) throw ();' \
6423
 
   'extern "C" void exit (int);' \
6424
 
   'void exit (int);'
6425
 
do
6426
 
  cat >conftest.$ac_ext <<_ACEOF
6427
 
/* confdefs.h.  */
6428
 
_ACEOF
6429
 
cat confdefs.h >>conftest.$ac_ext
6430
 
cat >>conftest.$ac_ext <<_ACEOF
6431
 
/* end confdefs.h.  */
6432
 
$ac_declaration
6433
 
#include <stdlib.h>
6434
 
int
6435
 
main ()
6436
 
{
6437
 
exit (42);
6438
 
  ;
6439
 
  return 0;
6440
 
}
6441
 
_ACEOF
6442
 
rm -f conftest.$ac_objext
6443
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6444
 
  (eval $ac_compile) 2>conftest.er1
6445
 
  ac_status=$?
6446
 
  grep -v '^ *+' conftest.er1 >conftest.err
6447
 
  rm -f conftest.er1
6448
 
  cat conftest.err >&5
6449
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6450
 
  (exit $ac_status); } &&
6451
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
6452
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6453
 
  (eval $ac_try) 2>&5
6454
 
  ac_status=$?
6455
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456
 
  (exit $ac_status); }; } &&
6457
 
         { ac_try='test -s conftest.$ac_objext'
6458
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6459
 
  (eval $ac_try) 2>&5
6460
 
  ac_status=$?
6461
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6462
 
  (exit $ac_status); }; }; then
6463
 
  :
6464
 
else
6465
 
  echo "$as_me: failed program was:" >&5
6466
 
sed 's/^/| /' conftest.$ac_ext >&5
6467
 
 
6468
 
continue
6469
 
fi
6470
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6471
 
  cat >conftest.$ac_ext <<_ACEOF
6472
 
/* confdefs.h.  */
6473
 
_ACEOF
6474
 
cat confdefs.h >>conftest.$ac_ext
6475
 
cat >>conftest.$ac_ext <<_ACEOF
6476
 
/* end confdefs.h.  */
6477
 
$ac_declaration
6478
 
int
6479
 
main ()
6480
 
{
6481
 
exit (42);
6482
 
  ;
6483
 
  return 0;
6484
 
}
6485
 
_ACEOF
6486
 
rm -f conftest.$ac_objext
6487
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6488
 
  (eval $ac_compile) 2>conftest.er1
6489
 
  ac_status=$?
6490
 
  grep -v '^ *+' conftest.er1 >conftest.err
6491
 
  rm -f conftest.er1
6492
 
  cat conftest.err >&5
6493
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6494
 
  (exit $ac_status); } &&
6495
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
6496
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6497
 
  (eval $ac_try) 2>&5
6498
 
  ac_status=$?
6499
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6500
 
  (exit $ac_status); }; } &&
6501
 
         { ac_try='test -s conftest.$ac_objext'
6502
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6503
 
  (eval $ac_try) 2>&5
6504
 
  ac_status=$?
6505
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6506
 
  (exit $ac_status); }; }; then
6507
 
  break
6508
 
else
6509
 
  echo "$as_me: failed program was:" >&5
6510
 
sed 's/^/| /' conftest.$ac_ext >&5
6511
 
 
6512
 
fi
6513
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6514
 
done
6515
 
rm -f conftest*
6516
 
if test -n "$ac_declaration"; then
6517
 
  echo '#ifdef __cplusplus' >>confdefs.h
6518
 
  echo $ac_declaration      >>confdefs.h
6519
 
  echo '#endif'             >>confdefs.h
6520
 
fi
6521
 
 
6522
 
ac_ext=cc
 
7646
ac_ext=cpp
6523
7647
ac_cpp='$CXXCPP $CPPFLAGS'
6524
7648
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6525
7649
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6527
7651
 
6528
7652
depcc="$CXX"  am_compiler_list=
6529
7653
 
6530
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6531
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
7654
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
7655
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
6532
7656
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6533
7657
  echo $ECHO_N "(cached) $ECHO_C" >&6
6534
7658
else
6617
7741
fi
6618
7742
 
6619
7743
fi
6620
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6621
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
7744
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
7745
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
6622
7746
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6623
7747
 
6624
7748
 
6639
7763
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6640
7764
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6641
7765
    (test "X$CXX" != "Xg++"))) ; then
6642
 
  ac_ext=cc
 
7766
  ac_ext=cpp
6643
7767
ac_cpp='$CXXCPP $CPPFLAGS'
6644
7768
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6645
7769
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6646
7770
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6647
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6648
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
7771
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
7772
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6649
7773
if test -z "$CXXCPP"; then
6650
7774
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
6651
7775
  echo $ECHO_N "(cached) $ECHO_C" >&6
6675
7799
#endif
6676
7800
                     Syntax error
6677
7801
_ACEOF
6678
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6679
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
7802
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7803
case "(($ac_try" in
 
7804
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7805
  *) ac_try_echo=$ac_try;;
 
7806
esac
 
7807
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7808
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6680
7809
  ac_status=$?
6681
7810
  grep -v '^ *+' conftest.er1 >conftest.err
6682
7811
  rm -f conftest.er1
6701
7830
  # Broken: fails on valid input.
6702
7831
continue
6703
7832
fi
 
7833
 
6704
7834
rm -f conftest.err conftest.$ac_ext
6705
7835
 
6706
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
7836
  # OK, works on sane cases.  Now check whether nonexistent headers
6707
7837
  # can be detected and how.
6708
7838
  cat >conftest.$ac_ext <<_ACEOF
6709
7839
/* confdefs.h.  */
6713
7843
/* end confdefs.h.  */
6714
7844
#include <ac_nonexistent.h>
6715
7845
_ACEOF
6716
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6717
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
7846
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7847
case "(($ac_try" in
 
7848
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7849
  *) ac_try_echo=$ac_try;;
 
7850
esac
 
7851
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7852
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6718
7853
  ac_status=$?
6719
7854
  grep -v '^ *+' conftest.er1 >conftest.err
6720
7855
  rm -f conftest.er1
6741
7876
ac_preproc_ok=:
6742
7877
break
6743
7878
fi
 
7879
 
6744
7880
rm -f conftest.err conftest.$ac_ext
6745
7881
 
6746
7882
done
6758
7894
else
6759
7895
  ac_cv_prog_CXXCPP=$CXXCPP
6760
7896
fi
6761
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
6762
 
echo "${ECHO_T}$CXXCPP" >&6
 
7897
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
7898
echo "${ECHO_T}$CXXCPP" >&6; }
6763
7899
ac_preproc_ok=false
6764
7900
for ac_cxx_preproc_warn_flag in '' yes
6765
7901
do
6782
7918
#endif
6783
7919
                     Syntax error
6784
7920
_ACEOF
6785
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6786
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
7921
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7922
case "(($ac_try" in
 
7923
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7924
  *) ac_try_echo=$ac_try;;
 
7925
esac
 
7926
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7927
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6787
7928
  ac_status=$?
6788
7929
  grep -v '^ *+' conftest.er1 >conftest.err
6789
7930
  rm -f conftest.er1
6808
7949
  # Broken: fails on valid input.
6809
7950
continue
6810
7951
fi
 
7952
 
6811
7953
rm -f conftest.err conftest.$ac_ext
6812
7954
 
6813
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
7955
  # OK, works on sane cases.  Now check whether nonexistent headers
6814
7956
  # can be detected and how.
6815
7957
  cat >conftest.$ac_ext <<_ACEOF
6816
7958
/* confdefs.h.  */
6820
7962
/* end confdefs.h.  */
6821
7963
#include <ac_nonexistent.h>
6822
7964
_ACEOF
6823
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6824
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
7965
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7966
case "(($ac_try" in
 
7967
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7968
  *) ac_try_echo=$ac_try;;
 
7969
esac
 
7970
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7971
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6825
7972
  ac_status=$?
6826
7973
  grep -v '^ *+' conftest.er1 >conftest.err
6827
7974
  rm -f conftest.er1
6848
7995
ac_preproc_ok=:
6849
7996
break
6850
7997
fi
 
7998
 
6851
7999
rm -f conftest.err conftest.$ac_ext
6852
8000
 
6853
8001
done
6863
8011
   { (exit 1); exit 1; }; }
6864
8012
fi
6865
8013
 
6866
 
ac_ext=cc
 
8014
ac_ext=cpp
6867
8015
ac_cpp='$CXXCPP $CPPFLAGS'
6868
8016
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6869
8017
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6877
8025
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6878
8026
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6879
8027
if test -n "$ac_tool_prefix"; then
6880
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
8028
  for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
6881
8029
  do
6882
8030
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6883
8031
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6884
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6885
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8032
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8033
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6886
8034
if test "${ac_cv_prog_F77+set}" = set; then
6887
8035
  echo $ECHO_N "(cached) $ECHO_C" >&6
6888
8036
else
6895
8043
  IFS=$as_save_IFS
6896
8044
  test -z "$as_dir" && as_dir=.
6897
8045
  for ac_exec_ext in '' $ac_executable_extensions; do
6898
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8046
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6899
8047
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
6900
8048
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6901
8049
    break 2
6902
8050
  fi
6903
8051
done
6904
8052
done
 
8053
IFS=$as_save_IFS
6905
8054
 
6906
8055
fi
6907
8056
fi
6908
8057
F77=$ac_cv_prog_F77
6909
8058
if test -n "$F77"; then
6910
 
  echo "$as_me:$LINENO: result: $F77" >&5
6911
 
echo "${ECHO_T}$F77" >&6
 
8059
  { echo "$as_me:$LINENO: result: $F77" >&5
 
8060
echo "${ECHO_T}$F77" >&6; }
6912
8061
else
6913
 
  echo "$as_me:$LINENO: result: no" >&5
6914
 
echo "${ECHO_T}no" >&6
 
8062
  { echo "$as_me:$LINENO: result: no" >&5
 
8063
echo "${ECHO_T}no" >&6; }
6915
8064
fi
6916
8065
 
 
8066
 
6917
8067
    test -n "$F77" && break
6918
8068
  done
6919
8069
fi
6920
8070
if test -z "$F77"; then
6921
8071
  ac_ct_F77=$F77
6922
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
8072
  for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
6923
8073
do
6924
8074
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6925
8075
set dummy $ac_prog; ac_word=$2
6926
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6927
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8076
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8077
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6928
8078
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6929
8079
  echo $ECHO_N "(cached) $ECHO_C" >&6
6930
8080
else
6937
8087
  IFS=$as_save_IFS
6938
8088
  test -z "$as_dir" && as_dir=.
6939
8089
  for ac_exec_ext in '' $ac_executable_extensions; do
6940
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8090
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6941
8091
    ac_cv_prog_ac_ct_F77="$ac_prog"
6942
8092
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6943
8093
    break 2
6944
8094
  fi
6945
8095
done
6946
8096
done
 
8097
IFS=$as_save_IFS
6947
8098
 
6948
8099
fi
6949
8100
fi
6950
8101
ac_ct_F77=$ac_cv_prog_ac_ct_F77
6951
8102
if test -n "$ac_ct_F77"; then
6952
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6953
 
echo "${ECHO_T}$ac_ct_F77" >&6
 
8103
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
8104
echo "${ECHO_T}$ac_ct_F77" >&6; }
6954
8105
else
6955
 
  echo "$as_me:$LINENO: result: no" >&5
6956
 
echo "${ECHO_T}no" >&6
 
8106
  { echo "$as_me:$LINENO: result: no" >&5
 
8107
echo "${ECHO_T}no" >&6; }
6957
8108
fi
6958
8109
 
 
8110
 
6959
8111
  test -n "$ac_ct_F77" && break
6960
8112
done
6961
8113
 
6962
 
  F77=$ac_ct_F77
 
8114
  if test "x$ac_ct_F77" = x; then
 
8115
    F77=""
 
8116
  else
 
8117
    case $cross_compiling:$ac_tool_warned in
 
8118
yes:)
 
8119
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8120
whose name does not start with the host triplet.  If you think this
 
8121
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
8122
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8123
whose name does not start with the host triplet.  If you think this
 
8124
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8125
ac_tool_warned=yes ;;
 
8126
esac
 
8127
    F77=$ac_ct_F77
 
8128
  fi
6963
8129
fi
6964
8130
 
6965
8131
 
6966
8132
# Provide some information about the compiler.
6967
 
echo "$as_me:6967:" \
6968
 
     "checking for Fortran 77 compiler version" >&5
 
8133
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6969
8134
ac_compiler=`set X $ac_compile; echo $2`
6970
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6971
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
6972
 
  ac_status=$?
6973
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974
 
  (exit $ac_status); }
6975
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6976
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
6977
 
  ac_status=$?
6978
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6979
 
  (exit $ac_status); }
6980
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6981
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
8135
{ (ac_try="$ac_compiler --version >&5"
 
8136
case "(($ac_try" in
 
8137
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8138
  *) ac_try_echo=$ac_try;;
 
8139
esac
 
8140
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8141
  (eval "$ac_compiler --version >&5") 2>&5
 
8142
  ac_status=$?
 
8143
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8144
  (exit $ac_status); }
 
8145
{ (ac_try="$ac_compiler -v >&5"
 
8146
case "(($ac_try" in
 
8147
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8148
  *) ac_try_echo=$ac_try;;
 
8149
esac
 
8150
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8151
  (eval "$ac_compiler -v >&5") 2>&5
 
8152
  ac_status=$?
 
8153
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8154
  (exit $ac_status); }
 
8155
{ (ac_try="$ac_compiler -V >&5"
 
8156
case "(($ac_try" in
 
8157
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8158
  *) ac_try_echo=$ac_try;;
 
8159
esac
 
8160
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8161
  (eval "$ac_compiler -V >&5") 2>&5
6982
8162
  ac_status=$?
6983
8163
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6984
8164
  (exit $ac_status); }
6988
8168
# input file.  (Note that this only needs to work for GNU compilers.)
6989
8169
ac_save_ext=$ac_ext
6990
8170
ac_ext=F
6991
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6992
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 
8171
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
8172
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6993
8173
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6994
8174
  echo $ECHO_N "(cached) $ECHO_C" >&6
6995
8175
else
7002
8182
      end
7003
8183
_ACEOF
7004
8184
rm -f conftest.$ac_objext
7005
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7006
 
  (eval $ac_compile) 2>conftest.er1
 
8185
if { (ac_try="$ac_compile"
 
8186
case "(($ac_try" in
 
8187
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8188
  *) ac_try_echo=$ac_try;;
 
8189
esac
 
8190
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8191
  (eval "$ac_compile") 2>conftest.er1
7007
8192
  ac_status=$?
7008
8193
  grep -v '^ *+' conftest.er1 >conftest.err
7009
8194
  rm -f conftest.er1
7010
8195
  cat conftest.err >&5
7011
8196
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7012
8197
  (exit $ac_status); } &&
7013
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
7014
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7015
 
  (eval $ac_try) 2>&5
 
8198
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
8199
  { (case "(($ac_try" in
 
8200
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8201
  *) ac_try_echo=$ac_try;;
 
8202
esac
 
8203
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8204
  (eval "$ac_try") 2>&5
7016
8205
  ac_status=$?
7017
8206
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7018
8207
  (exit $ac_status); }; } &&
7019
8208
         { ac_try='test -s conftest.$ac_objext'
7020
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7021
 
  (eval $ac_try) 2>&5
 
8209
  { (case "(($ac_try" in
 
8210
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8211
  *) ac_try_echo=$ac_try;;
 
8212
esac
 
8213
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8214
  (eval "$ac_try") 2>&5
7022
8215
  ac_status=$?
7023
8216
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7024
8217
  (exit $ac_status); }; }; then
7027
8220
  echo "$as_me: failed program was:" >&5
7028
8221
sed 's/^/| /' conftest.$ac_ext >&5
7029
8222
 
7030
 
ac_compiler_gnu=no
 
8223
        ac_compiler_gnu=no
7031
8224
fi
 
8225
 
7032
8226
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7033
8227
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7034
8228
 
7035
8229
fi
7036
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7037
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 
8230
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
8231
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
7038
8232
ac_ext=$ac_save_ext
7039
8233
ac_test_FFLAGS=${FFLAGS+set}
7040
8234
ac_save_FFLAGS=$FFLAGS
7041
8235
FFLAGS=
7042
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7043
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 
8236
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
8237
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
7044
8238
if test "${ac_cv_prog_f77_g+set}" = set; then
7045
8239
  echo $ECHO_N "(cached) $ECHO_C" >&6
7046
8240
else
7051
8245
      end
7052
8246
_ACEOF
7053
8247
rm -f conftest.$ac_objext
7054
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7055
 
  (eval $ac_compile) 2>conftest.er1
 
8248
if { (ac_try="$ac_compile"
 
8249
case "(($ac_try" in
 
8250
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8251
  *) ac_try_echo=$ac_try;;
 
8252
esac
 
8253
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8254
  (eval "$ac_compile") 2>conftest.er1
7056
8255
  ac_status=$?
7057
8256
  grep -v '^ *+' conftest.er1 >conftest.err
7058
8257
  rm -f conftest.er1
7059
8258
  cat conftest.err >&5
7060
8259
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7061
8260
  (exit $ac_status); } &&
7062
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
7063
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7064
 
  (eval $ac_try) 2>&5
 
8261
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
8262
  { (case "(($ac_try" in
 
8263
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8264
  *) ac_try_echo=$ac_try;;
 
8265
esac
 
8266
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8267
  (eval "$ac_try") 2>&5
7065
8268
  ac_status=$?
7066
8269
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7067
8270
  (exit $ac_status); }; } &&
7068
8271
         { ac_try='test -s conftest.$ac_objext'
7069
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7070
 
  (eval $ac_try) 2>&5
 
8272
  { (case "(($ac_try" in
 
8273
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8274
  *) ac_try_echo=$ac_try;;
 
8275
esac
 
8276
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8277
  (eval "$ac_try") 2>&5
7071
8278
  ac_status=$?
7072
8279
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7073
8280
  (exit $ac_status); }; }; then
7076
8283
  echo "$as_me: failed program was:" >&5
7077
8284
sed 's/^/| /' conftest.$ac_ext >&5
7078
8285
 
7079
 
ac_cv_prog_f77_g=no
 
8286
        ac_cv_prog_f77_g=no
7080
8287
fi
 
8288
 
7081
8289
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7082
8290
 
7083
8291
fi
7084
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7085
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 
8292
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
8293
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
7086
8294
if test "$ac_test_FFLAGS" = set; then
7087
8295
  FFLAGS=$ac_save_FFLAGS
7088
8296
elif test $ac_cv_prog_f77_g = yes; then
7111
8319
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
7112
8320
 
7113
8321
# find the maximum length of command line arguments
7114
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7115
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 
8322
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
8323
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
7116
8324
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7117
8325
  echo $ECHO_N "(cached) $ECHO_C" >&6
7118
8326
else
7165
8373
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7166
8374
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7167
8375
    ;;
 
8376
 
 
8377
  interix*)
 
8378
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
8379
    lt_cv_sys_max_cmd_len=196608
 
8380
    ;;
 
8381
 
7168
8382
  osf*)
7169
8383
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7170
8384
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7178
8392
      esac
7179
8393
    fi
7180
8394
    ;;
 
8395
  sco3.2v5*)
 
8396
    lt_cv_sys_max_cmd_len=102400
 
8397
    ;;
 
8398
  sysv5* | sco5v6* | sysv4.2uw2*)
 
8399
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
8400
    if test -n "$kargmax"; then
 
8401
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
 
8402
    else
 
8403
      lt_cv_sys_max_cmd_len=32768
 
8404
    fi
 
8405
    ;;
7181
8406
  *)
7182
8407
    # If test is not a shell built-in, we'll probably end up computing a
7183
8408
    # maximum length that is only half of the actual maximum length, but
7203
8428
fi
7204
8429
 
7205
8430
if test -n $lt_cv_sys_max_cmd_len ; then
7206
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7207
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 
8431
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
8432
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
7208
8433
else
7209
 
  echo "$as_me:$LINENO: result: none" >&5
7210
 
echo "${ECHO_T}none" >&6
 
8434
  { echo "$as_me:$LINENO: result: none" >&5
 
8435
echo "${ECHO_T}none" >&6; }
7211
8436
fi
7212
8437
 
7213
8438
 
7214
8439
 
7215
8440
 
7216
8441
# Check for command to grab the raw symbol name followed by C symbol from nm.
7217
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7218
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
8442
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
8443
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
7219
8444
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7220
8445
  echo $ECHO_N "(cached) $ECHO_C" >&6
7221
8446
else
7250
8475
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7251
8476
  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
7252
8477
  ;;
7253
 
linux*)
 
8478
linux* | k*bsd*-gnu)
7254
8479
  if test "$host_cpu" = ia64; then
7255
8480
    symcode='[ABCDGIRSTW]'
7256
8481
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7263
8488
osf*)
7264
8489
  symcode='[BCDEGQRST]'
7265
8490
  ;;
7266
 
solaris* | sysv5*)
 
8491
solaris*)
7267
8492
  symcode='[BDRT]'
7268
8493
  ;;
 
8494
sco3.2v5*)
 
8495
  symcode='[DT]'
 
8496
  ;;
 
8497
sysv4.2uw2*)
 
8498
  symcode='[DT]'
 
8499
  ;;
 
8500
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
8501
  symcode='[ABDT]'
 
8502
  ;;
7269
8503
sysv4)
7270
8504
  symcode='[DFNSTU]'
7271
8505
  ;;
7410
8644
  lt_cv_sys_global_symbol_to_cdecl=
7411
8645
fi
7412
8646
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7413
 
  echo "$as_me:$LINENO: result: failed" >&5
7414
 
echo "${ECHO_T}failed" >&6
 
8647
  { echo "$as_me:$LINENO: result: failed" >&5
 
8648
echo "${ECHO_T}failed" >&6; }
7415
8649
else
7416
 
  echo "$as_me:$LINENO: result: ok" >&5
7417
 
echo "${ECHO_T}ok" >&6
 
8650
  { echo "$as_me:$LINENO: result: ok" >&5
 
8651
echo "${ECHO_T}ok" >&6; }
7418
8652
fi
7419
8653
 
7420
 
echo "$as_me:$LINENO: checking for objdir" >&5
7421
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
8654
{ echo "$as_me:$LINENO: checking for objdir" >&5
 
8655
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7422
8656
if test "${lt_cv_objdir+set}" = set; then
7423
8657
  echo $ECHO_N "(cached) $ECHO_C" >&6
7424
8658
else
7432
8666
fi
7433
8667
rmdir .libs 2>/dev/null
7434
8668
fi
7435
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7436
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
8669
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
8670
echo "${ECHO_T}$lt_cv_objdir" >&6; }
7437
8671
objdir=$lt_cv_objdir
7438
8672
 
7439
8673
 
7484
8718
if test -n "$ac_tool_prefix"; then
7485
8719
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7486
8720
set dummy ${ac_tool_prefix}ar; ac_word=$2
7487
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7488
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8721
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8722
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7489
8723
if test "${ac_cv_prog_AR+set}" = set; then
7490
8724
  echo $ECHO_N "(cached) $ECHO_C" >&6
7491
8725
else
7498
8732
  IFS=$as_save_IFS
7499
8733
  test -z "$as_dir" && as_dir=.
7500
8734
  for ac_exec_ext in '' $ac_executable_extensions; do
7501
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8735
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7502
8736
    ac_cv_prog_AR="${ac_tool_prefix}ar"
7503
8737
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7504
8738
    break 2
7505
8739
  fi
7506
8740
done
7507
8741
done
 
8742
IFS=$as_save_IFS
7508
8743
 
7509
8744
fi
7510
8745
fi
7511
8746
AR=$ac_cv_prog_AR
7512
8747
if test -n "$AR"; then
7513
 
  echo "$as_me:$LINENO: result: $AR" >&5
7514
 
echo "${ECHO_T}$AR" >&6
 
8748
  { echo "$as_me:$LINENO: result: $AR" >&5
 
8749
echo "${ECHO_T}$AR" >&6; }
7515
8750
else
7516
 
  echo "$as_me:$LINENO: result: no" >&5
7517
 
echo "${ECHO_T}no" >&6
 
8751
  { echo "$as_me:$LINENO: result: no" >&5
 
8752
echo "${ECHO_T}no" >&6; }
7518
8753
fi
 
8754
 
7519
8755
 
7520
8756
fi
7521
8757
if test -z "$ac_cv_prog_AR"; then
7522
8758
  ac_ct_AR=$AR
7523
8759
  # Extract the first word of "ar", so it can be a program name with args.
7524
8760
set dummy ar; ac_word=$2
7525
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7526
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8761
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8762
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7527
8763
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7528
8764
  echo $ECHO_N "(cached) $ECHO_C" >&6
7529
8765
else
7536
8772
  IFS=$as_save_IFS
7537
8773
  test -z "$as_dir" && as_dir=.
7538
8774
  for ac_exec_ext in '' $ac_executable_extensions; do
7539
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8775
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7540
8776
    ac_cv_prog_ac_ct_AR="ar"
7541
8777
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7542
8778
    break 2
7543
8779
  fi
7544
8780
done
7545
8781
done
 
8782
IFS=$as_save_IFS
7546
8783
 
7547
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
7548
8784
fi
7549
8785
fi
7550
8786
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7551
8787
if test -n "$ac_ct_AR"; then
7552
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7553
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
8788
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
8789
echo "${ECHO_T}$ac_ct_AR" >&6; }
7554
8790
else
7555
 
  echo "$as_me:$LINENO: result: no" >&5
7556
 
echo "${ECHO_T}no" >&6
 
8791
  { echo "$as_me:$LINENO: result: no" >&5
 
8792
echo "${ECHO_T}no" >&6; }
7557
8793
fi
7558
8794
 
7559
 
  AR=$ac_ct_AR
 
8795
  if test "x$ac_ct_AR" = x; then
 
8796
    AR="false"
 
8797
  else
 
8798
    case $cross_compiling:$ac_tool_warned in
 
8799
yes:)
 
8800
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8801
whose name does not start with the host triplet.  If you think this
 
8802
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
8803
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8804
whose name does not start with the host triplet.  If you think this
 
8805
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8806
ac_tool_warned=yes ;;
 
8807
esac
 
8808
    AR=$ac_ct_AR
 
8809
  fi
7560
8810
else
7561
8811
  AR="$ac_cv_prog_AR"
7562
8812
fi
7564
8814
if test -n "$ac_tool_prefix"; then
7565
8815
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7566
8816
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7567
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7568
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8817
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8818
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7569
8819
if test "${ac_cv_prog_RANLIB+set}" = set; then
7570
8820
  echo $ECHO_N "(cached) $ECHO_C" >&6
7571
8821
else
7578
8828
  IFS=$as_save_IFS
7579
8829
  test -z "$as_dir" && as_dir=.
7580
8830
  for ac_exec_ext in '' $ac_executable_extensions; do
7581
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8831
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7582
8832
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7583
8833
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7584
8834
    break 2
7585
8835
  fi
7586
8836
done
7587
8837
done
 
8838
IFS=$as_save_IFS
7588
8839
 
7589
8840
fi
7590
8841
fi
7591
8842
RANLIB=$ac_cv_prog_RANLIB
7592
8843
if test -n "$RANLIB"; then
7593
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
7594
 
echo "${ECHO_T}$RANLIB" >&6
 
8844
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
8845
echo "${ECHO_T}$RANLIB" >&6; }
7595
8846
else
7596
 
  echo "$as_me:$LINENO: result: no" >&5
7597
 
echo "${ECHO_T}no" >&6
 
8847
  { echo "$as_me:$LINENO: result: no" >&5
 
8848
echo "${ECHO_T}no" >&6; }
7598
8849
fi
 
8850
 
7599
8851
 
7600
8852
fi
7601
8853
if test -z "$ac_cv_prog_RANLIB"; then
7602
8854
  ac_ct_RANLIB=$RANLIB
7603
8855
  # Extract the first word of "ranlib", so it can be a program name with args.
7604
8856
set dummy ranlib; ac_word=$2
7605
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7606
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8857
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8858
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7607
8859
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7608
8860
  echo $ECHO_N "(cached) $ECHO_C" >&6
7609
8861
else
7616
8868
  IFS=$as_save_IFS
7617
8869
  test -z "$as_dir" && as_dir=.
7618
8870
  for ac_exec_ext in '' $ac_executable_extensions; do
7619
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8871
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7620
8872
    ac_cv_prog_ac_ct_RANLIB="ranlib"
7621
8873
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7622
8874
    break 2
7623
8875
  fi
7624
8876
done
7625
8877
done
 
8878
IFS=$as_save_IFS
7626
8879
 
7627
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
7628
8880
fi
7629
8881
fi
7630
8882
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7631
8883
if test -n "$ac_ct_RANLIB"; then
7632
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7633
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
8884
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
8885
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7634
8886
else
7635
 
  echo "$as_me:$LINENO: result: no" >&5
7636
 
echo "${ECHO_T}no" >&6
 
8887
  { echo "$as_me:$LINENO: result: no" >&5
 
8888
echo "${ECHO_T}no" >&6; }
7637
8889
fi
7638
8890
 
7639
 
  RANLIB=$ac_ct_RANLIB
 
8891
  if test "x$ac_ct_RANLIB" = x; then
 
8892
    RANLIB=":"
 
8893
  else
 
8894
    case $cross_compiling:$ac_tool_warned in
 
8895
yes:)
 
8896
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8897
whose name does not start with the host triplet.  If you think this
 
8898
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
8899
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8900
whose name does not start with the host triplet.  If you think this
 
8901
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8902
ac_tool_warned=yes ;;
 
8903
esac
 
8904
    RANLIB=$ac_ct_RANLIB
 
8905
  fi
7640
8906
else
7641
8907
  RANLIB="$ac_cv_prog_RANLIB"
7642
8908
fi
7644
8910
if test -n "$ac_tool_prefix"; then
7645
8911
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7646
8912
set dummy ${ac_tool_prefix}strip; ac_word=$2
7647
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7648
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8913
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8914
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7649
8915
if test "${ac_cv_prog_STRIP+set}" = set; then
7650
8916
  echo $ECHO_N "(cached) $ECHO_C" >&6
7651
8917
else
7658
8924
  IFS=$as_save_IFS
7659
8925
  test -z "$as_dir" && as_dir=.
7660
8926
  for ac_exec_ext in '' $ac_executable_extensions; do
7661
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8927
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7662
8928
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7663
8929
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7664
8930
    break 2
7665
8931
  fi
7666
8932
done
7667
8933
done
 
8934
IFS=$as_save_IFS
7668
8935
 
7669
8936
fi
7670
8937
fi
7671
8938
STRIP=$ac_cv_prog_STRIP
7672
8939
if test -n "$STRIP"; then
7673
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
7674
 
echo "${ECHO_T}$STRIP" >&6
 
8940
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
8941
echo "${ECHO_T}$STRIP" >&6; }
7675
8942
else
7676
 
  echo "$as_me:$LINENO: result: no" >&5
7677
 
echo "${ECHO_T}no" >&6
 
8943
  { echo "$as_me:$LINENO: result: no" >&5
 
8944
echo "${ECHO_T}no" >&6; }
7678
8945
fi
 
8946
 
7679
8947
 
7680
8948
fi
7681
8949
if test -z "$ac_cv_prog_STRIP"; then
7682
8950
  ac_ct_STRIP=$STRIP
7683
8951
  # Extract the first word of "strip", so it can be a program name with args.
7684
8952
set dummy strip; ac_word=$2
7685
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7686
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8953
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8954
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7687
8955
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7688
8956
  echo $ECHO_N "(cached) $ECHO_C" >&6
7689
8957
else
7696
8964
  IFS=$as_save_IFS
7697
8965
  test -z "$as_dir" && as_dir=.
7698
8966
  for ac_exec_ext in '' $ac_executable_extensions; do
7699
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8967
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7700
8968
    ac_cv_prog_ac_ct_STRIP="strip"
7701
8969
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7702
8970
    break 2
7703
8971
  fi
7704
8972
done
7705
8973
done
 
8974
IFS=$as_save_IFS
7706
8975
 
7707
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
7708
8976
fi
7709
8977
fi
7710
8978
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7711
8979
if test -n "$ac_ct_STRIP"; then
7712
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7713
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
8980
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
8981
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7714
8982
else
7715
 
  echo "$as_me:$LINENO: result: no" >&5
7716
 
echo "${ECHO_T}no" >&6
 
8983
  { echo "$as_me:$LINENO: result: no" >&5
 
8984
echo "${ECHO_T}no" >&6; }
7717
8985
fi
7718
8986
 
7719
 
  STRIP=$ac_ct_STRIP
 
8987
  if test "x$ac_ct_STRIP" = x; then
 
8988
    STRIP=":"
 
8989
  else
 
8990
    case $cross_compiling:$ac_tool_warned in
 
8991
yes:)
 
8992
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8993
whose name does not start with the host triplet.  If you think this
 
8994
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
8995
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8996
whose name does not start with the host triplet.  If you think this
 
8997
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8998
ac_tool_warned=yes ;;
 
8999
esac
 
9000
    STRIP=$ac_ct_STRIP
 
9001
  fi
7720
9002
else
7721
9003
  STRIP="$ac_cv_prog_STRIP"
7722
9004
fi
7731
9013
test -z "$AS" && AS=as
7732
9014
test -z "$CC" && CC=cc
7733
9015
test -z "$LTCC" && LTCC=$CC
 
9016
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7734
9017
test -z "$DLLTOOL" && DLLTOOL=dlltool
7735
9018
test -z "$LD" && LD=ld
7736
9019
test -z "$LN_S" && LN_S="ln -s"
7750
9033
if test -n "$RANLIB"; then
7751
9034
  case $host_os in
7752
9035
  openbsd*)
7753
 
    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
 
9036
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7754
9037
    ;;
7755
9038
  *)
7756
 
    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
 
9039
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7757
9040
    ;;
7758
9041
  esac
7759
9042
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7774
9057
case $deplibs_check_method in
7775
9058
file_magic*)
7776
9059
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7777
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7778
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
9060
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
9061
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7779
9062
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7780
9063
  echo $ECHO_N "(cached) $ECHO_C" >&6
7781
9064
else
7827
9110
 
7828
9111
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7829
9112
if test -n "$MAGIC_CMD"; then
7830
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7831
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
9113
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
9114
echo "${ECHO_T}$MAGIC_CMD" >&6; }
7832
9115
else
7833
 
  echo "$as_me:$LINENO: result: no" >&5
7834
 
echo "${ECHO_T}no" >&6
 
9116
  { echo "$as_me:$LINENO: result: no" >&5
 
9117
echo "${ECHO_T}no" >&6; }
7835
9118
fi
7836
9119
 
7837
9120
if test -z "$lt_cv_path_MAGIC_CMD"; then
7838
9121
  if test -n "$ac_tool_prefix"; then
7839
 
    echo "$as_me:$LINENO: checking for file" >&5
7840
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
9122
    { echo "$as_me:$LINENO: checking for file" >&5
 
9123
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7841
9124
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7842
9125
  echo $ECHO_N "(cached) $ECHO_C" >&6
7843
9126
else
7889
9172
 
7890
9173
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7891
9174
if test -n "$MAGIC_CMD"; then
7892
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7893
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
9175
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
9176
echo "${ECHO_T}$MAGIC_CMD" >&6; }
7894
9177
else
7895
 
  echo "$as_me:$LINENO: result: no" >&5
7896
 
echo "${ECHO_T}no" >&6
 
9178
  { echo "$as_me:$LINENO: result: no" >&5
 
9179
echo "${ECHO_T}no" >&6; }
7897
9180
fi
7898
9181
 
7899
9182
  else
7908
9191
enable_dlopen=no
7909
9192
enable_win32_dll=yes
7910
9193
 
7911
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
9194
# Check whether --enable-libtool-lock was given.
7912
9195
if test "${enable_libtool_lock+set}" = set; then
7913
 
  enableval="$enable_libtool_lock"
 
9196
  enableval=$enable_libtool_lock;
 
9197
fi
7914
9198
 
7915
 
fi;
7916
9199
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7917
9200
 
7918
9201
 
7919
 
# Check whether --with-pic or --without-pic was given.
 
9202
# Check whether --with-pic was given.
7920
9203
if test "${with_pic+set}" = set; then
7921
 
  withval="$with_pic"
7922
 
  pic_mode="$withval"
 
9204
  withval=$with_pic; pic_mode="$withval"
7923
9205
else
7924
9206
  pic_mode=default
7925
 
fi;
 
9207
fi
 
9208
 
7926
9209
test -z "$pic_mode" && pic_mode=default
7927
9210
 
7928
9211
# Use C for the default configuration in the libtool script
7952
9235
# If no C compiler was specified, use CC.
7953
9236
LTCC=${LTCC-"$CC"}
7954
9237
 
 
9238
# If no C compiler flags were specified, use CFLAGS.
 
9239
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
9240
 
7955
9241
# Allow CC to be a program name with arguments.
7956
9242
compiler=$CC
7957
9243
 
7959
9245
# save warnings/boilerplate of simple test code
7960
9246
ac_outfile=conftest.$ac_objext
7961
9247
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
7962
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
9248
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7963
9249
_lt_compiler_boilerplate=`cat conftest.err`
7964
9250
$rm conftest*
7965
9251
 
7966
9252
ac_outfile=conftest.$ac_objext
7967
9253
printf "$lt_simple_link_test_code" >conftest.$ac_ext
7968
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
9254
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7969
9255
_lt_linker_boilerplate=`cat conftest.err`
7970
9256
$rm conftest*
7971
9257
 
7972
9258
 
7973
 
#
7974
 
# Check for any special shared library compilation flags.
7975
 
#
7976
 
lt_prog_cc_shlib=
7977
 
if test "$GCC" = no; then
7978
 
  case $host_os in
7979
 
  sco3.2v5*)
7980
 
    lt_prog_cc_shlib='-belf'
7981
 
    ;;
7982
 
  esac
7983
 
fi
7984
 
if test -n "$lt_prog_cc_shlib"; then
7985
 
  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
7986
 
echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
7987
 
  if echo "$old_CC $old_CFLAGS " | grep "[      ]$lt_prog_cc_shlib[     ]" >/dev/null; then :
7988
 
  else
7989
 
    { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
7990
 
echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
7991
 
    lt_cv_prog_cc_can_build_shared=no
7992
 
  fi
7993
 
fi
7994
 
 
7995
 
 
7996
 
#
7997
 
# Check to make sure the static flag actually works.
7998
 
#
7999
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
8000
 
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
8001
 
if test "${lt_prog_compiler_static_works+set}" = set; then
8002
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8003
 
else
8004
 
  lt_prog_compiler_static_works=no
8005
 
   save_LDFLAGS="$LDFLAGS"
8006
 
   LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
8007
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
8008
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8009
 
     # The linker can only warn and ignore the option if not recognized
8010
 
     # So say no if there are warnings
8011
 
     if test -s conftest.err; then
8012
 
       # Append any errors to the config.log.
8013
 
       cat conftest.err 1>&5
8014
 
       $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
8015
 
       $SED '/^$/d' conftest.err >conftest.er2
8016
 
       if diff conftest.exp conftest.er2 >/dev/null; then
8017
 
         lt_prog_compiler_static_works=yes
8018
 
       fi
8019
 
     else
8020
 
       lt_prog_compiler_static_works=yes
8021
 
     fi
8022
 
   fi
8023
 
   $rm conftest*
8024
 
   LDFLAGS="$save_LDFLAGS"
8025
 
 
8026
 
fi
8027
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
8028
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
8029
 
 
8030
 
if test x"$lt_prog_compiler_static_works" = xyes; then
8031
 
    :
8032
 
else
8033
 
    lt_prog_compiler_static=
8034
 
fi
8035
 
 
8036
 
 
8037
 
 
8038
9259
 
8039
9260
lt_prog_compiler_no_builtin_flag=
8040
9261
 
8042
9263
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8043
9264
 
8044
9265
 
8045
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8046
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
9266
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
9267
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
8047
9268
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8048
9269
  echo $ECHO_N "(cached) $ECHO_C" >&6
8049
9270
else
8060
9281
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8061
9282
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8062
9283
   -e 's:$: $lt_compiler_flag:'`
8063
 
   (eval echo "\"\$as_me:8063: $lt_compile\"" >&5)
 
9284
   (eval echo "\"\$as_me:9284: $lt_compile\"" >&5)
8064
9285
   (eval "$lt_compile" 2>conftest.err)
8065
9286
   ac_status=$?
8066
9287
   cat conftest.err >&5
8067
 
   echo "$as_me:8067: \$? = $ac_status" >&5
 
9288
   echo "$as_me:9288: \$? = $ac_status" >&5
8068
9289
   if (exit $ac_status) && test -s "$ac_outfile"; then
8069
9290
     # The compiler can only warn and ignore the option if not recognized
8070
9291
     # So say no if there are warnings other than the usual output.
8071
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
8072
 
     $SED '/^$/d' conftest.err >conftest.er2
8073
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
9292
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
9293
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9294
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8074
9295
       lt_cv_prog_compiler_rtti_exceptions=yes
8075
9296
     fi
8076
9297
   fi
8077
9298
   $rm conftest*
8078
9299
 
8079
9300
fi
8080
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8081
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
9301
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
9302
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8082
9303
 
8083
9304
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8084
9305
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8092
9313
lt_prog_compiler_pic=
8093
9314
lt_prog_compiler_static=
8094
9315
 
8095
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8096
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
9316
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
9317
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
8097
9318
 
8098
9319
  if test "$GCC" = yes; then
8099
9320
    lt_prog_compiler_wl='-Wl,'
8131
9352
      lt_prog_compiler_pic='-fno-common'
8132
9353
      ;;
8133
9354
 
 
9355
    interix3*)
 
9356
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
9357
      # Instead, we relocate shared libraries at runtime.
 
9358
      ;;
 
9359
 
8134
9360
    msdosdjgpp*)
8135
9361
      # Just because we use GCC doesn't mean we suddenly get shared libraries
8136
9362
      # on systems that don't support them.
8217
9443
      lt_prog_compiler_static='-Bstatic'
8218
9444
      ;;
8219
9445
 
8220
 
    linux*)
 
9446
    linux* | k*bsd*-gnu)
8221
9447
      case $cc_basename in
8222
9448
      icc* | ecc*)
8223
9449
        lt_prog_compiler_wl='-Wl,'
8245
9471
      lt_prog_compiler_static='-non_shared'
8246
9472
      ;;
8247
9473
 
8248
 
    sco3.2v5*)
8249
 
      lt_prog_compiler_pic='-Kpic'
8250
 
      lt_prog_compiler_static='-dn'
8251
 
      ;;
8252
 
 
8253
9474
    solaris*)
8254
9475
      lt_prog_compiler_pic='-KPIC'
8255
9476
      lt_prog_compiler_static='-Bstatic'
8267
9488
      lt_prog_compiler_static='-Bstatic'
8268
9489
      ;;
8269
9490
 
8270
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
9491
    sysv4 | sysv4.2uw2* | sysv4.3*)
8271
9492
      lt_prog_compiler_wl='-Wl,'
8272
9493
      lt_prog_compiler_pic='-KPIC'
8273
9494
      lt_prog_compiler_static='-Bstatic'
8280
9501
      fi
8281
9502
      ;;
8282
9503
 
 
9504
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
9505
      lt_prog_compiler_wl='-Wl,'
 
9506
      lt_prog_compiler_pic='-KPIC'
 
9507
      lt_prog_compiler_static='-Bstatic'
 
9508
      ;;
 
9509
 
8283
9510
    unicos*)
8284
9511
      lt_prog_compiler_wl='-Wl,'
8285
9512
      lt_prog_compiler_can_build_shared=no
8296
9523
    esac
8297
9524
  fi
8298
9525
 
8299
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8300
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
9526
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
9527
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
8301
9528
 
8302
9529
#
8303
9530
# Check to make sure the PIC flag actually works.
8304
9531
#
8305
9532
if test -n "$lt_prog_compiler_pic"; then
8306
9533
 
8307
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8308
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
 
9534
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
9535
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
8309
9536
if test "${lt_prog_compiler_pic_works+set}" = set; then
8310
9537
  echo $ECHO_N "(cached) $ECHO_C" >&6
8311
9538
else
8322
9549
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8323
9550
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8324
9551
   -e 's:$: $lt_compiler_flag:'`
8325
 
   (eval echo "\"\$as_me:8325: $lt_compile\"" >&5)
 
9552
   (eval echo "\"\$as_me:9552: $lt_compile\"" >&5)
8326
9553
   (eval "$lt_compile" 2>conftest.err)
8327
9554
   ac_status=$?
8328
9555
   cat conftest.err >&5
8329
 
   echo "$as_me:8329: \$? = $ac_status" >&5
 
9556
   echo "$as_me:9556: \$? = $ac_status" >&5
8330
9557
   if (exit $ac_status) && test -s "$ac_outfile"; then
8331
9558
     # The compiler can only warn and ignore the option if not recognized
8332
9559
     # So say no if there are warnings other than the usual output.
8333
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
8334
 
     $SED '/^$/d' conftest.err >conftest.er2
8335
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
9560
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
9561
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9562
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8336
9563
       lt_prog_compiler_pic_works=yes
8337
9564
     fi
8338
9565
   fi
8339
9566
   $rm conftest*
8340
9567
 
8341
9568
fi
8342
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
8343
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
9569
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
 
9570
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
8344
9571
 
8345
9572
if test x"$lt_prog_compiler_pic_works" = xyes; then
8346
9573
    case $lt_prog_compiler_pic in
8363
9590
    ;;
8364
9591
esac
8365
9592
 
8366
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8367
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
9593
#
 
9594
# Check to make sure the static flag actually works.
 
9595
#
 
9596
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
9597
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
9598
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
9599
if test "${lt_prog_compiler_static_works+set}" = set; then
 
9600
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9601
else
 
9602
  lt_prog_compiler_static_works=no
 
9603
   save_LDFLAGS="$LDFLAGS"
 
9604
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
9605
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
9606
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
9607
     # The linker can only warn and ignore the option if not recognized
 
9608
     # So say no if there are warnings
 
9609
     if test -s conftest.err; then
 
9610
       # Append any errors to the config.log.
 
9611
       cat conftest.err 1>&5
 
9612
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
9613
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9614
       if diff conftest.exp conftest.er2 >/dev/null; then
 
9615
         lt_prog_compiler_static_works=yes
 
9616
       fi
 
9617
     else
 
9618
       lt_prog_compiler_static_works=yes
 
9619
     fi
 
9620
   fi
 
9621
   $rm conftest*
 
9622
   LDFLAGS="$save_LDFLAGS"
 
9623
 
 
9624
fi
 
9625
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 
9626
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
 
9627
 
 
9628
if test x"$lt_prog_compiler_static_works" = xyes; then
 
9629
    :
 
9630
else
 
9631
    lt_prog_compiler_static=
 
9632
fi
 
9633
 
 
9634
 
 
9635
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9636
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8368
9637
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8369
9638
  echo $ECHO_N "(cached) $ECHO_C" >&6
8370
9639
else
8384
9653
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8385
9654
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8386
9655
   -e 's:$: $lt_compiler_flag:'`
8387
 
   (eval echo "\"\$as_me:8387: $lt_compile\"" >&5)
 
9656
   (eval echo "\"\$as_me:9656: $lt_compile\"" >&5)
8388
9657
   (eval "$lt_compile" 2>out/conftest.err)
8389
9658
   ac_status=$?
8390
9659
   cat out/conftest.err >&5
8391
 
   echo "$as_me:8391: \$? = $ac_status" >&5
 
9660
   echo "$as_me:9660: \$? = $ac_status" >&5
8392
9661
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8393
9662
   then
8394
9663
     # The compiler can only warn and ignore the option if not recognized
8395
9664
     # So say no if there are warnings
8396
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
8397
 
     $SED '/^$/d' out/conftest.err >out/conftest.er2
8398
 
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9665
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9666
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9667
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8399
9668
       lt_cv_prog_compiler_c_o=yes
8400
9669
     fi
8401
9670
   fi
8410
9679
   $rm conftest*
8411
9680
 
8412
9681
fi
8413
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8414
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
9682
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9683
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8415
9684
 
8416
9685
 
8417
9686
hard_links="nottested"
8418
9687
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8419
9688
  # do not overwrite the value of need_locks provided by the user
8420
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8421
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
9689
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
9690
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8422
9691
  hard_links=yes
8423
9692
  $rm conftest*
8424
9693
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8425
9694
  touch conftest.a
8426
9695
  ln conftest.a conftest.b 2>&5 || hard_links=no
8427
9696
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8428
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
8429
 
echo "${ECHO_T}$hard_links" >&6
 
9697
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
9698
echo "${ECHO_T}$hard_links" >&6; }
8430
9699
  if test "$hard_links" = no; then
8431
9700
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8432
9701
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8436
9705
  need_locks=no
8437
9706
fi
8438
9707
 
8439
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8440
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
9708
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9709
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8441
9710
 
8442
9711
  runpath_var=
8443
9712
  allow_undefined_flag=
8495
9764
      with_gnu_ld=no
8496
9765
    fi
8497
9766
    ;;
 
9767
  interix*)
 
9768
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
9769
    with_gnu_ld=yes
 
9770
    ;;
8498
9771
  openbsd*)
8499
9772
    with_gnu_ld=no
8500
9773
    ;;
8579
9852
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
8580
9853
 
8581
9854
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
8582
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
9855
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8583
9856
        # If the export-symbols file already is a .def file (1st line
8584
9857
        # is EXPORTS), use it as is; otherwise, prepend...
8585
9858
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8588
9861
          echo EXPORTS > $output_objdir/$soname.def;
8589
9862
          cat $export_symbols >> $output_objdir/$soname.def;
8590
9863
        fi~
8591
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 
9864
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8592
9865
      else
8593
9866
        ld_shlibs=no
8594
9867
      fi
8595
9868
      ;;
8596
9869
 
8597
 
    linux*)
 
9870
    interix3*)
 
9871
      hardcode_direct=no
 
9872
      hardcode_shlibpath_var=no
 
9873
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9874
      export_dynamic_flag_spec='${wl}-E'
 
9875
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
9876
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
9877
      # default) and relocated if they conflict, which is a slow very memory
 
9878
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
9879
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
9880
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
9881
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
9882
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
9883
      ;;
 
9884
 
 
9885
    linux* | k*bsd*-gnu)
8598
9886
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8599
9887
        tmp_addflag=
8600
9888
        case $cc_basename,$host_cpu in
8626
9914
      fi
8627
9915
      ;;
8628
9916
 
8629
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
9917
    netbsd* | netbsdelf*-gnu)
8630
9918
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8631
9919
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8632
9920
        wlarc=
8636
9924
      fi
8637
9925
      ;;
8638
9926
 
8639
 
    solaris* | sysv5*)
 
9927
    solaris*)
8640
9928
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
8641
9929
        ld_shlibs=no
8642
9930
        cat <<EOF 1>&2
8657
9945
      fi
8658
9946
      ;;
8659
9947
 
 
9948
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
9949
      case `$LD -v 2>&1` in
 
9950
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
9951
        ld_shlibs=no
 
9952
        cat <<_LT_EOF 1>&2
 
9953
 
 
9954
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
9955
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
9956
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
9957
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
9958
*** your PATH or compiler configuration so that the native linker is
 
9959
*** used, and then restart.
 
9960
 
 
9961
_LT_EOF
 
9962
        ;;
 
9963
        *)
 
9964
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9965
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
9966
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
9967
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
9968
          else
 
9969
            ld_shlibs=no
 
9970
          fi
 
9971
        ;;
 
9972
      esac
 
9973
      ;;
 
9974
 
8660
9975
    sunos4*)
8661
9976
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8662
9977
      wlarc=
8690
10005
      # Note: this linker hardcodes the directories in LIBPATH if there
8691
10006
      # are no directories specified by -L.
8692
10007
      hardcode_minus_L=yes
8693
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
10008
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8694
10009
        # Neither direct hardcoding nor static linking is supported with a
8695
10010
        # broken collect2.
8696
10011
        hardcode_direct=unsupported
8724
10039
            break
8725
10040
          fi
8726
10041
          done
 
10042
          ;;
8727
10043
        esac
8728
10044
 
8729
10045
        exp_sym_flag='-bexport'
8761
10077
          hardcode_libdir_flag_spec='-L$libdir'
8762
10078
          hardcode_libdir_separator=
8763
10079
          fi
 
10080
          ;;
8764
10081
        esac
8765
10082
        shared_flag='-shared'
8766
10083
        if test "$aix_use_runtimelinking" = yes; then
8773
10090
        # chokes on -Wl,-G. The following line is correct:
8774
10091
          shared_flag='-G'
8775
10092
        else
8776
 
        if test "$aix_use_runtimelinking" = yes; then
 
10093
          if test "$aix_use_runtimelinking" = yes; then
8777
10094
            shared_flag='${wl}-G'
8778
10095
          else
8779
10096
            shared_flag='${wl}-bM:SRE'
8780
 
        fi
 
10097
          fi
8781
10098
        fi
8782
10099
      fi
8783
10100
 
8805
10122
}
8806
10123
_ACEOF
8807
10124
rm -f conftest.$ac_objext conftest$ac_exeext
8808
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8809
 
  (eval $ac_link) 2>conftest.er1
 
10125
if { (ac_try="$ac_link"
 
10126
case "(($ac_try" in
 
10127
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10128
  *) ac_try_echo=$ac_try;;
 
10129
esac
 
10130
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10131
  (eval "$ac_link") 2>conftest.er1
8810
10132
  ac_status=$?
8811
10133
  grep -v '^ *+' conftest.er1 >conftest.err
8812
10134
  rm -f conftest.er1
8813
10135
  cat conftest.err >&5
8814
10136
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8815
10137
  (exit $ac_status); } &&
8816
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8817
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8818
 
  (eval $ac_try) 2>&5
 
10138
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10139
  { (case "(($ac_try" in
 
10140
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10141
  *) ac_try_echo=$ac_try;;
 
10142
esac
 
10143
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10144
  (eval "$ac_try") 2>&5
8819
10145
  ac_status=$?
8820
10146
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821
10147
  (exit $ac_status); }; } &&
8822
10148
         { ac_try='test -s conftest$ac_exeext'
8823
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8824
 
  (eval $ac_try) 2>&5
 
10149
  { (case "(($ac_try" in
 
10150
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10151
  *) ac_try_echo=$ac_try;;
 
10152
esac
 
10153
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10154
  (eval "$ac_try") 2>&5
8825
10155
  ac_status=$?
8826
10156
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8827
10157
  (exit $ac_status); }; }; then
8835
10165
  echo "$as_me: failed program was:" >&5
8836
10166
sed 's/^/| /' conftest.$ac_ext >&5
8837
10167
 
 
10168
 
8838
10169
fi
 
10170
 
8839
10171
rm -f conftest.err conftest.$ac_objext \
8840
10172
      conftest$ac_exeext conftest.$ac_ext
8841
10173
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8842
10174
 
8843
10175
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8844
 
        archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
10176
        archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8845
10177
       else
8846
10178
        if test "$host_cpu" = ia64; then
8847
10179
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8848
10180
          allow_undefined_flag="-z nodefs"
8849
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
10181
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
8850
10182
        else
8851
10183
         # Determine the default libpath from the value encoded in an empty executable.
8852
10184
         cat >conftest.$ac_ext <<_ACEOF
8865
10197
}
8866
10198
_ACEOF
8867
10199
rm -f conftest.$ac_objext conftest$ac_exeext
8868
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8869
 
  (eval $ac_link) 2>conftest.er1
 
10200
if { (ac_try="$ac_link"
 
10201
case "(($ac_try" in
 
10202
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10203
  *) ac_try_echo=$ac_try;;
 
10204
esac
 
10205
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10206
  (eval "$ac_link") 2>conftest.er1
8870
10207
  ac_status=$?
8871
10208
  grep -v '^ *+' conftest.er1 >conftest.err
8872
10209
  rm -f conftest.er1
8873
10210
  cat conftest.err >&5
8874
10211
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8875
10212
  (exit $ac_status); } &&
8876
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8877
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8878
 
  (eval $ac_try) 2>&5
 
10213
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10214
  { (case "(($ac_try" in
 
10215
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10216
  *) ac_try_echo=$ac_try;;
 
10217
esac
 
10218
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10219
  (eval "$ac_try") 2>&5
8879
10220
  ac_status=$?
8880
10221
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8881
10222
  (exit $ac_status); }; } &&
8882
10223
         { ac_try='test -s conftest$ac_exeext'
8883
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8884
 
  (eval $ac_try) 2>&5
 
10224
  { (case "(($ac_try" in
 
10225
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10226
  *) ac_try_echo=$ac_try;;
 
10227
esac
 
10228
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10229
  (eval "$ac_try") 2>&5
8885
10230
  ac_status=$?
8886
10231
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8887
10232
  (exit $ac_status); }; }; then
8895
10240
  echo "$as_me: failed program was:" >&5
8896
10241
sed 's/^/| /' conftest.$ac_ext >&5
8897
10242
 
 
10243
 
8898
10244
fi
 
10245
 
8899
10246
rm -f conftest.err conftest.$ac_objext \
8900
10247
      conftest$ac_exeext conftest.$ac_ext
8901
10248
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8905
10252
          # -berok will link without error, but may produce a broken library.
8906
10253
          no_undefined_flag=' ${wl}-bernotok'
8907
10254
          allow_undefined_flag=' ${wl}-berok'
8908
 
          # -bexpall does not export symbols beginning with underscore (_)
8909
 
          always_export_symbols=yes
8910
10255
          # Exported symbols can be pulled into shared objects from archives
8911
 
          whole_archive_flag_spec=' '
 
10256
          whole_archive_flag_spec='$convenience'
8912
10257
          archive_cmds_need_lc=yes
8913
10258
          # This is similar to how AIX traditionally builds its shared libraries.
8914
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
10259
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8915
10260
        fi
8916
10261
      fi
8917
10262
      ;;
9029
10374
      ;;
9030
10375
 
9031
10376
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9032
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
10377
    freebsd* | dragonfly*)
9033
10378
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9034
10379
      hardcode_libdir_flag_spec='-R$libdir'
9035
10380
      hardcode_direct=yes
9052
10397
      export_dynamic_flag_spec='${wl}-E'
9053
10398
      ;;
9054
10399
 
9055
 
    hpux10* | hpux11*)
 
10400
    hpux10*)
 
10401
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
10402
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10403
      else
 
10404
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
10405
      fi
 
10406
      if test "$with_gnu_ld" = no; then
 
10407
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
10408
        hardcode_libdir_separator=:
 
10409
 
 
10410
        hardcode_direct=yes
 
10411
        export_dynamic_flag_spec='${wl}-E'
 
10412
 
 
10413
        # hardcode_minus_L: Not really in the search PATH,
 
10414
        # but as the default location of the library.
 
10415
        hardcode_minus_L=yes
 
10416
      fi
 
10417
      ;;
 
10418
 
 
10419
    hpux11*)
9056
10420
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9057
10421
        case $host_cpu in
9058
 
        hppa*64*|ia64*)
 
10422
        hppa*64*)
9059
10423
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9060
10424
          ;;
 
10425
        ia64*)
 
10426
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
10427
          ;;
9061
10428
        *)
9062
10429
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9063
10430
          ;;
9064
10431
        esac
9065
10432
      else
9066
10433
        case $host_cpu in
9067
 
        hppa*64*|ia64*)
9068
 
          archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10434
        hppa*64*)
 
10435
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10436
          ;;
 
10437
        ia64*)
 
10438
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9069
10439
          ;;
9070
10440
        *)
9071
 
          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
10441
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9072
10442
          ;;
9073
10443
        esac
9074
10444
      fi
9075
10445
      if test "$with_gnu_ld" = no; then
 
10446
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
10447
        hardcode_libdir_separator=:
 
10448
 
9076
10449
        case $host_cpu in
9077
 
        hppa*64*)
9078
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
10450
        hppa*64*|ia64*)
9079
10451
          hardcode_libdir_flag_spec_ld='+b $libdir'
9080
 
          hardcode_libdir_separator=:
9081
 
          hardcode_direct=no
9082
 
          hardcode_shlibpath_var=no
9083
 
          ;;
9084
 
        ia64*)
9085
 
          hardcode_libdir_flag_spec='-L$libdir'
9086
 
          hardcode_direct=no
9087
 
          hardcode_shlibpath_var=no
9088
 
 
9089
 
          # hardcode_minus_L: Not really in the search PATH,
9090
 
          # but as the default location of the library.
9091
 
          hardcode_minus_L=yes
 
10452
          hardcode_direct=no
 
10453
          hardcode_shlibpath_var=no
9092
10454
          ;;
9093
10455
        *)
9094
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9095
 
          hardcode_libdir_separator=:
9096
10456
          hardcode_direct=yes
9097
10457
          export_dynamic_flag_spec='${wl}-E'
9098
10458
 
9116
10476
      link_all_deplibs=yes
9117
10477
      ;;
9118
10478
 
9119
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
10479
    netbsd* | netbsdelf*-gnu)
9120
10480
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9121
10481
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9122
10482
      else
9194
10554
      hardcode_libdir_separator=:
9195
10555
      ;;
9196
10556
 
9197
 
    sco3.2v5*)
9198
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9199
 
      hardcode_shlibpath_var=no
9200
 
      export_dynamic_flag_spec='${wl}-Bexport'
9201
 
      runpath_var=LD_RUN_PATH
9202
 
      hardcode_runpath_var=yes
9203
 
      ;;
9204
 
 
9205
10557
    solaris*)
9206
10558
      no_undefined_flag=' -z text'
9207
10559
      if test "$GCC" = yes; then
9287
10639
      fi
9288
10640
      ;;
9289
10641
 
9290
 
    sysv4.2uw2*)
9291
 
      archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9292
 
      hardcode_direct=yes
9293
 
      hardcode_minus_L=no
9294
 
      hardcode_shlibpath_var=no
9295
 
      hardcode_runpath_var=yes
9296
 
      runpath_var=LD_RUN_PATH
9297
 
      ;;
9298
 
 
9299
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
9300
 
      no_undefined_flag='${wl}-z ${wl}text'
9301
 
      if test "$GCC" = yes; then
9302
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9303
 
      else
9304
 
        archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9305
 
      fi
9306
 
      runpath_var='LD_RUN_PATH'
9307
 
      hardcode_shlibpath_var=no
9308
 
      ;;
9309
 
 
9310
 
    sysv5*)
9311
 
      no_undefined_flag=' -z text'
9312
 
      # $CC -shared without GNU ld will not create a library from C++
9313
 
      # object files and a static libstdc++, better avoid it by now
9314
 
      archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9315
 
      archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9316
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9317
 
      hardcode_libdir_flag_spec=
9318
 
      hardcode_shlibpath_var=no
9319
 
      runpath_var='LD_RUN_PATH'
 
10642
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
10643
      no_undefined_flag='${wl}-z,text'
 
10644
      archive_cmds_need_lc=no
 
10645
      hardcode_shlibpath_var=no
 
10646
      runpath_var='LD_RUN_PATH'
 
10647
 
 
10648
      if test "$GCC" = yes; then
 
10649
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10650
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10651
      else
 
10652
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10653
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10654
      fi
 
10655
      ;;
 
10656
 
 
10657
    sysv5* | sco3.2v5* | sco5v6*)
 
10658
      # Note: We can NOT use -z defs as we might desire, because we do not
 
10659
      # link with -lc, and that would cause any symbols used from libc to
 
10660
      # always be unresolved, which means just about no library would
 
10661
      # ever link correctly.  If we're not using GNU ld we use -z text
 
10662
      # though, which does catch some bad symbols but isn't as heavy-handed
 
10663
      # as -z defs.
 
10664
      no_undefined_flag='${wl}-z,text'
 
10665
      allow_undefined_flag='${wl}-z,nodefs'
 
10666
      archive_cmds_need_lc=no
 
10667
      hardcode_shlibpath_var=no
 
10668
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
10669
      hardcode_libdir_separator=':'
 
10670
      link_all_deplibs=yes
 
10671
      export_dynamic_flag_spec='${wl}-Bexport'
 
10672
      runpath_var='LD_RUN_PATH'
 
10673
 
 
10674
      if test "$GCC" = yes; then
 
10675
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10676
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10677
      else
 
10678
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10679
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10680
      fi
9320
10681
      ;;
9321
10682
 
9322
10683
    uts4*)
9331
10692
    esac
9332
10693
  fi
9333
10694
 
9334
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9335
 
echo "${ECHO_T}$ld_shlibs" >&6
 
10695
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
10696
echo "${ECHO_T}$ld_shlibs" >&6; }
9336
10697
test "$ld_shlibs" = no && can_build_shared=no
9337
10698
 
9338
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9339
 
if test "$GCC" = yes; then
9340
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9341
 
fi
9342
 
 
9343
10699
#
9344
10700
# Do we need to explicitly link libc?
9345
10701
#
9357
10713
      # Test whether the compiler implicitly links with -lc since on some
9358
10714
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9359
10715
      # to ld, don't add -lc before -lgcc.
9360
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9361
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
10716
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
10717
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9362
10718
      $rm conftest*
9363
10719
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
9364
10720
 
9372
10728
        libobjs=conftest.$ac_objext
9373
10729
        deplibs=
9374
10730
        wl=$lt_prog_compiler_wl
 
10731
        pic_flag=$lt_prog_compiler_pic
9375
10732
        compiler_flags=-v
9376
10733
        linker_flags=-v
9377
10734
        verstring=
9394
10751
        cat conftest.err 1>&5
9395
10752
      fi
9396
10753
      $rm conftest*
9397
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9398
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
10754
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
10755
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9399
10756
      ;;
9400
10757
    esac
9401
10758
  fi
9402
10759
  ;;
9403
10760
esac
9404
10761
 
9405
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9406
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
10762
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
10763
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9407
10764
library_names_spec=
9408
10765
libname_spec='lib$name'
9409
10766
soname_spec=
9609
10966
  dynamic_linker=no
9610
10967
  ;;
9611
10968
 
9612
 
kfreebsd*-gnu)
9613
 
  version_type=linux
9614
 
  need_lib_prefix=no
9615
 
  need_version=no
9616
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9617
 
  soname_spec='${libname}${release}${shared_ext}$major'
9618
 
  shlibpath_var=LD_LIBRARY_PATH
9619
 
  shlibpath_overrides_runpath=no
9620
 
  hardcode_into_libs=yes
9621
 
  dynamic_linker='GNU ld.so'
9622
 
  ;;
9623
 
 
9624
10969
freebsd* | dragonfly*)
9625
10970
  # DragonFly does not have aout.  When/if they implement a new
9626
10971
  # versioning mechanism, adjust this.
9653
10998
    shlibpath_overrides_runpath=yes
9654
10999
    hardcode_into_libs=yes
9655
11000
    ;;
9656
 
  *) # from 3.2 on
 
11001
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
11002
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9657
11003
    shlibpath_overrides_runpath=no
9658
11004
    hardcode_into_libs=yes
9659
11005
    ;;
 
11006
  freebsd*) # from 4.6 on
 
11007
    shlibpath_overrides_runpath=yes
 
11008
    hardcode_into_libs=yes
 
11009
    ;;
9660
11010
  esac
9661
11011
  ;;
9662
11012
 
9716
11066
  postinstall_cmds='chmod 555 $lib'
9717
11067
  ;;
9718
11068
 
 
11069
interix3*)
 
11070
  version_type=linux
 
11071
  need_lib_prefix=no
 
11072
  need_version=no
 
11073
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
11074
  soname_spec='${libname}${release}${shared_ext}$major'
 
11075
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
11076
  shlibpath_var=LD_LIBRARY_PATH
 
11077
  shlibpath_overrides_runpath=no
 
11078
  hardcode_into_libs=yes
 
11079
  ;;
 
11080
 
9719
11081
irix5* | irix6* | nonstopux*)
9720
11082
  case $host_os in
9721
11083
    nonstopux*) version_type=nonstopux ;;
9759
11121
  ;;
9760
11122
 
9761
11123
# This must be Linux ELF.
9762
 
linux*)
 
11124
linux* | k*bsd*-gnu)
9763
11125
  version_type=linux
9764
11126
  need_lib_prefix=no
9765
11127
  need_version=no
9800
11162
  dynamic_linker='NetBSD ld.elf_so'
9801
11163
  ;;
9802
11164
 
9803
 
knetbsd*-gnu)
9804
 
  version_type=linux
9805
 
  need_lib_prefix=no
9806
 
  need_version=no
9807
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9808
 
  soname_spec='${libname}${release}${shared_ext}$major'
9809
 
  shlibpath_var=LD_LIBRARY_PATH
9810
 
  shlibpath_overrides_runpath=no
9811
 
  hardcode_into_libs=yes
9812
 
  dynamic_linker='GNU ld.so'
9813
 
  ;;
9814
 
 
9815
11165
netbsd*)
9816
11166
  version_type=sunos
9817
11167
  need_lib_prefix=no
9849
11199
 
9850
11200
openbsd*)
9851
11201
  version_type=sunos
 
11202
  sys_lib_dlsearch_path_spec="/usr/lib"
9852
11203
  need_lib_prefix=no
9853
11204
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9854
11205
  case $host_os in
9892
11243
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9893
11244
  ;;
9894
11245
 
9895
 
sco3.2v5*)
9896
 
  version_type=osf
9897
 
  soname_spec='${libname}${release}${shared_ext}$major'
9898
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9899
 
  shlibpath_var=LD_LIBRARY_PATH
9900
 
  ;;
9901
 
 
9902
11246
solaris*)
9903
11247
  version_type=linux
9904
11248
  need_lib_prefix=no
9924
11268
  need_version=yes
9925
11269
  ;;
9926
11270
 
9927
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
11271
sysv4 | sysv4.3*)
9928
11272
  version_type=linux
9929
11273
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9930
11274
  soname_spec='${libname}${release}${shared_ext}$major'
9957
11301
  fi
9958
11302
  ;;
9959
11303
 
 
11304
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
11305
  version_type=freebsd-elf
 
11306
  need_lib_prefix=no
 
11307
  need_version=no
 
11308
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
11309
  soname_spec='${libname}${release}${shared_ext}$major'
 
11310
  shlibpath_var=LD_LIBRARY_PATH
 
11311
  hardcode_into_libs=yes
 
11312
  if test "$with_gnu_ld" = yes; then
 
11313
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
11314
    shlibpath_overrides_runpath=no
 
11315
  else
 
11316
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
11317
    shlibpath_overrides_runpath=yes
 
11318
    case $host_os in
 
11319
      sco3.2v5*)
 
11320
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
11321
        ;;
 
11322
    esac
 
11323
  fi
 
11324
  sys_lib_dlsearch_path_spec='/usr/lib'
 
11325
  ;;
 
11326
 
9960
11327
uts4*)
9961
11328
  version_type=linux
9962
11329
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9968
11335
  dynamic_linker=no
9969
11336
  ;;
9970
11337
esac
9971
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9972
 
echo "${ECHO_T}$dynamic_linker" >&6
 
11338
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
11339
echo "${ECHO_T}$dynamic_linker" >&6; }
9973
11340
test "$dynamic_linker" = no && can_build_shared=no
9974
11341
 
9975
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9976
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
11342
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
11343
if test "$GCC" = yes; then
 
11344
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
11345
fi
 
11346
 
 
11347
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
11348
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9977
11349
hardcode_action=
9978
11350
if test -n "$hardcode_libdir_flag_spec" || \
9979
11351
   test -n "$runpath_var" || \
9997
11369
  # directories.
9998
11370
  hardcode_action=unsupported
9999
11371
fi
10000
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
10001
 
echo "${ECHO_T}$hardcode_action" >&6
 
11372
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
11373
echo "${ECHO_T}$hardcode_action" >&6; }
10002
11374
 
10003
11375
if test "$hardcode_action" = relink; then
10004
11376
  # Fast installation is not supported
10011
11383
 
10012
11384
striplib=
10013
11385
old_striplib=
10014
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10015
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
11386
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
11387
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10016
11388
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10017
11389
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10018
11390
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10019
 
  echo "$as_me:$LINENO: result: yes" >&5
10020
 
echo "${ECHO_T}yes" >&6
 
11391
  { echo "$as_me:$LINENO: result: yes" >&5
 
11392
echo "${ECHO_T}yes" >&6; }
10021
11393
else
10022
11394
# FIXME - insert some real tests, host_os isn't really good enough
10023
11395
  case $host_os in
10024
11396
   darwin*)
10025
11397
       if test -n "$STRIP" ; then
10026
11398
         striplib="$STRIP -x"
10027
 
         echo "$as_me:$LINENO: result: yes" >&5
10028
 
echo "${ECHO_T}yes" >&6
 
11399
         { echo "$as_me:$LINENO: result: yes" >&5
 
11400
echo "${ECHO_T}yes" >&6; }
10029
11401
       else
10030
 
  echo "$as_me:$LINENO: result: no" >&5
10031
 
echo "${ECHO_T}no" >&6
 
11402
  { echo "$as_me:$LINENO: result: no" >&5
 
11403
echo "${ECHO_T}no" >&6; }
10032
11404
fi
10033
11405
       ;;
10034
11406
   *)
10035
 
  echo "$as_me:$LINENO: result: no" >&5
10036
 
echo "${ECHO_T}no" >&6
 
11407
  { echo "$as_me:$LINENO: result: no" >&5
 
11408
echo "${ECHO_T}no" >&6; }
10037
11409
    ;;
10038
11410
  esac
10039
11411
fi
10065
11437
 
10066
11438
  darwin*)
10067
11439
  # if libdl is installed we need to link against it
10068
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10069
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
11440
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11441
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10070
11442
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10071
11443
  echo $ECHO_N "(cached) $ECHO_C" >&6
10072
11444
else
10079
11451
cat >>conftest.$ac_ext <<_ACEOF
10080
11452
/* end confdefs.h.  */
10081
11453
 
10082
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
11454
/* Override any GCC internal prototype to avoid an error.
 
11455
   Use char because int might match the return type of a GCC
 
11456
   builtin and then its argument prototype would still apply.  */
10083
11457
#ifdef __cplusplus
10084
11458
extern "C"
10085
11459
#endif
10086
 
/* We use char because int might match the return type of a gcc2
10087
 
   builtin and then its argument prototype would still apply.  */
10088
11460
char dlopen ();
10089
11461
int
10090
11462
main ()
10091
11463
{
10092
 
dlopen ();
 
11464
return dlopen ();
10093
11465
  ;
10094
11466
  return 0;
10095
11467
}
10096
11468
_ACEOF
10097
11469
rm -f conftest.$ac_objext conftest$ac_exeext
10098
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10099
 
  (eval $ac_link) 2>conftest.er1
 
11470
if { (ac_try="$ac_link"
 
11471
case "(($ac_try" in
 
11472
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11473
  *) ac_try_echo=$ac_try;;
 
11474
esac
 
11475
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11476
  (eval "$ac_link") 2>conftest.er1
10100
11477
  ac_status=$?
10101
11478
  grep -v '^ *+' conftest.er1 >conftest.err
10102
11479
  rm -f conftest.er1
10103
11480
  cat conftest.err >&5
10104
11481
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10105
11482
  (exit $ac_status); } &&
10106
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10107
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10108
 
  (eval $ac_try) 2>&5
 
11483
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
11484
  { (case "(($ac_try" in
 
11485
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11486
  *) ac_try_echo=$ac_try;;
 
11487
esac
 
11488
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11489
  (eval "$ac_try") 2>&5
10109
11490
  ac_status=$?
10110
11491
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10111
11492
  (exit $ac_status); }; } &&
10112
11493
         { ac_try='test -s conftest$ac_exeext'
10113
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10114
 
  (eval $ac_try) 2>&5
 
11494
  { (case "(($ac_try" in
 
11495
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11496
  *) ac_try_echo=$ac_try;;
 
11497
esac
 
11498
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11499
  (eval "$ac_try") 2>&5
10115
11500
  ac_status=$?
10116
11501
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10117
11502
  (exit $ac_status); }; }; then
10120
11505
  echo "$as_me: failed program was:" >&5
10121
11506
sed 's/^/| /' conftest.$ac_ext >&5
10122
11507
 
10123
 
ac_cv_lib_dl_dlopen=no
 
11508
        ac_cv_lib_dl_dlopen=no
10124
11509
fi
 
11510
 
10125
11511
rm -f conftest.err conftest.$ac_objext \
10126
11512
      conftest$ac_exeext conftest.$ac_ext
10127
11513
LIBS=$ac_check_lib_save_LIBS
10128
11514
fi
10129
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10130
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
11515
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11516
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10131
11517
if test $ac_cv_lib_dl_dlopen = yes; then
10132
11518
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10133
11519
else
10141
11527
   ;;
10142
11528
 
10143
11529
  *)
10144
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
10145
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
11530
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
11531
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10146
11532
if test "${ac_cv_func_shl_load+set}" = set; then
10147
11533
  echo $ECHO_N "(cached) $ECHO_C" >&6
10148
11534
else
10169
11555
 
10170
11556
#undef shl_load
10171
11557
 
10172
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
11558
/* Override any GCC internal prototype to avoid an error.
 
11559
   Use char because int might match the return type of a GCC
 
11560
   builtin and then its argument prototype would still apply.  */
10173
11561
#ifdef __cplusplus
10174
11562
extern "C"
10175
 
{
10176
11563
#endif
10177
 
/* We use char because int might match the return type of a gcc2
10178
 
   builtin and then its argument prototype would still apply.  */
10179
11564
char shl_load ();
10180
11565
/* The GNU C library defines this for functions which it implements
10181
11566
    to always fail with ENOSYS.  Some functions are actually named
10182
11567
    something starting with __ and the normal name is an alias.  */
10183
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
11568
#if defined __stub_shl_load || defined __stub___shl_load
10184
11569
choke me
10185
 
#else
10186
 
char (*f) () = shl_load;
10187
 
#endif
10188
 
#ifdef __cplusplus
10189
 
}
10190
11570
#endif
10191
11571
 
10192
11572
int
10193
11573
main ()
10194
11574
{
10195
 
return f != shl_load;
 
11575
return shl_load ();
10196
11576
  ;
10197
11577
  return 0;
10198
11578
}
10199
11579
_ACEOF
10200
11580
rm -f conftest.$ac_objext conftest$ac_exeext
10201
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10202
 
  (eval $ac_link) 2>conftest.er1
 
11581
if { (ac_try="$ac_link"
 
11582
case "(($ac_try" in
 
11583
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11584
  *) ac_try_echo=$ac_try;;
 
11585
esac
 
11586
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11587
  (eval "$ac_link") 2>conftest.er1
10203
11588
  ac_status=$?
10204
11589
  grep -v '^ *+' conftest.er1 >conftest.err
10205
11590
  rm -f conftest.er1
10206
11591
  cat conftest.err >&5
10207
11592
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10208
11593
  (exit $ac_status); } &&
10209
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10210
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10211
 
  (eval $ac_try) 2>&5
 
11594
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
11595
  { (case "(($ac_try" in
 
11596
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11597
  *) ac_try_echo=$ac_try;;
 
11598
esac
 
11599
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11600
  (eval "$ac_try") 2>&5
10212
11601
  ac_status=$?
10213
11602
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10214
11603
  (exit $ac_status); }; } &&
10215
11604
         { ac_try='test -s conftest$ac_exeext'
10216
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10217
 
  (eval $ac_try) 2>&5
 
11605
  { (case "(($ac_try" in
 
11606
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11607
  *) ac_try_echo=$ac_try;;
 
11608
esac
 
11609
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11610
  (eval "$ac_try") 2>&5
10218
11611
  ac_status=$?
10219
11612
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10220
11613
  (exit $ac_status); }; }; then
10223
11616
  echo "$as_me: failed program was:" >&5
10224
11617
sed 's/^/| /' conftest.$ac_ext >&5
10225
11618
 
10226
 
ac_cv_func_shl_load=no
 
11619
        ac_cv_func_shl_load=no
10227
11620
fi
 
11621
 
10228
11622
rm -f conftest.err conftest.$ac_objext \
10229
11623
      conftest$ac_exeext conftest.$ac_ext
10230
11624
fi
10231
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10232
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
11625
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
11626
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10233
11627
if test $ac_cv_func_shl_load = yes; then
10234
11628
  lt_cv_dlopen="shl_load"
10235
11629
else
10236
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10237
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
11630
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
11631
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10238
11632
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10239
11633
  echo $ECHO_N "(cached) $ECHO_C" >&6
10240
11634
else
10247
11641
cat >>conftest.$ac_ext <<_ACEOF
10248
11642
/* end confdefs.h.  */
10249
11643
 
10250
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
11644
/* Override any GCC internal prototype to avoid an error.
 
11645
   Use char because int might match the return type of a GCC
 
11646
   builtin and then its argument prototype would still apply.  */
10251
11647
#ifdef __cplusplus
10252
11648
extern "C"
10253
11649
#endif
10254
 
/* We use char because int might match the return type of a gcc2
10255
 
   builtin and then its argument prototype would still apply.  */
10256
11650
char shl_load ();
10257
11651
int
10258
11652
main ()
10259
11653
{
10260
 
shl_load ();
 
11654
return shl_load ();
10261
11655
  ;
10262
11656
  return 0;
10263
11657
}
10264
11658
_ACEOF
10265
11659
rm -f conftest.$ac_objext conftest$ac_exeext
10266
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10267
 
  (eval $ac_link) 2>conftest.er1
 
11660
if { (ac_try="$ac_link"
 
11661
case "(($ac_try" in
 
11662
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11663
  *) ac_try_echo=$ac_try;;
 
11664
esac
 
11665
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11666
  (eval "$ac_link") 2>conftest.er1
10268
11667
  ac_status=$?
10269
11668
  grep -v '^ *+' conftest.er1 >conftest.err
10270
11669
  rm -f conftest.er1
10271
11670
  cat conftest.err >&5
10272
11671
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10273
11672
  (exit $ac_status); } &&
10274
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10275
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10276
 
  (eval $ac_try) 2>&5
 
11673
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
11674
  { (case "(($ac_try" in
 
11675
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11676
  *) ac_try_echo=$ac_try;;
 
11677
esac
 
11678
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11679
  (eval "$ac_try") 2>&5
10277
11680
  ac_status=$?
10278
11681
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10279
11682
  (exit $ac_status); }; } &&
10280
11683
         { ac_try='test -s conftest$ac_exeext'
10281
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10282
 
  (eval $ac_try) 2>&5
 
11684
  { (case "(($ac_try" in
 
11685
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11686
  *) ac_try_echo=$ac_try;;
 
11687
esac
 
11688
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11689
  (eval "$ac_try") 2>&5
10283
11690
  ac_status=$?
10284
11691
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10285
11692
  (exit $ac_status); }; }; then
10288
11695
  echo "$as_me: failed program was:" >&5
10289
11696
sed 's/^/| /' conftest.$ac_ext >&5
10290
11697
 
10291
 
ac_cv_lib_dld_shl_load=no
 
11698
        ac_cv_lib_dld_shl_load=no
10292
11699
fi
 
11700
 
10293
11701
rm -f conftest.err conftest.$ac_objext \
10294
11702
      conftest$ac_exeext conftest.$ac_ext
10295
11703
LIBS=$ac_check_lib_save_LIBS
10296
11704
fi
10297
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10298
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
11705
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
11706
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10299
11707
if test $ac_cv_lib_dld_shl_load = yes; then
10300
11708
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10301
11709
else
10302
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
10303
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
11710
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
11711
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10304
11712
if test "${ac_cv_func_dlopen+set}" = set; then
10305
11713
  echo $ECHO_N "(cached) $ECHO_C" >&6
10306
11714
else
10327
11735
 
10328
11736
#undef dlopen
10329
11737
 
10330
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
11738
/* Override any GCC internal prototype to avoid an error.
 
11739
   Use char because int might match the return type of a GCC
 
11740
   builtin and then its argument prototype would still apply.  */
10331
11741
#ifdef __cplusplus
10332
11742
extern "C"
10333
 
{
10334
11743
#endif
10335
 
/* We use char because int might match the return type of a gcc2
10336
 
   builtin and then its argument prototype would still apply.  */
10337
11744
char dlopen ();
10338
11745
/* The GNU C library defines this for functions which it implements
10339
11746
    to always fail with ENOSYS.  Some functions are actually named
10340
11747
    something starting with __ and the normal name is an alias.  */
10341
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
11748
#if defined __stub_dlopen || defined __stub___dlopen
10342
11749
choke me
10343
 
#else
10344
 
char (*f) () = dlopen;
10345
 
#endif
10346
 
#ifdef __cplusplus
10347
 
}
10348
11750
#endif
10349
11751
 
10350
11752
int
10351
11753
main ()
10352
11754
{
10353
 
return f != dlopen;
 
11755
return dlopen ();
10354
11756
  ;
10355
11757
  return 0;
10356
11758
}
10357
11759
_ACEOF
10358
11760
rm -f conftest.$ac_objext conftest$ac_exeext
10359
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10360
 
  (eval $ac_link) 2>conftest.er1
 
11761
if { (ac_try="$ac_link"
 
11762
case "(($ac_try" in
 
11763
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11764
  *) ac_try_echo=$ac_try;;
 
11765
esac
 
11766
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11767
  (eval "$ac_link") 2>conftest.er1
10361
11768
  ac_status=$?
10362
11769
  grep -v '^ *+' conftest.er1 >conftest.err
10363
11770
  rm -f conftest.er1
10364
11771
  cat conftest.err >&5
10365
11772
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10366
11773
  (exit $ac_status); } &&
10367
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10368
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10369
 
  (eval $ac_try) 2>&5
 
11774
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
11775
  { (case "(($ac_try" in
 
11776
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11777
  *) ac_try_echo=$ac_try;;
 
11778
esac
 
11779
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11780
  (eval "$ac_try") 2>&5
10370
11781
  ac_status=$?
10371
11782
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10372
11783
  (exit $ac_status); }; } &&
10373
11784
         { ac_try='test -s conftest$ac_exeext'
10374
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10375
 
  (eval $ac_try) 2>&5
 
11785
  { (case "(($ac_try" in
 
11786
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11787
  *) ac_try_echo=$ac_try;;
 
11788
esac
 
11789
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11790
  (eval "$ac_try") 2>&5
10376
11791
  ac_status=$?
10377
11792
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10378
11793
  (exit $ac_status); }; }; then
10381
11796
  echo "$as_me: failed program was:" >&5
10382
11797
sed 's/^/| /' conftest.$ac_ext >&5
10383
11798
 
10384
 
ac_cv_func_dlopen=no
 
11799
        ac_cv_func_dlopen=no
10385
11800
fi
 
11801
 
10386
11802
rm -f conftest.err conftest.$ac_objext \
10387
11803
      conftest$ac_exeext conftest.$ac_ext
10388
11804
fi
10389
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10390
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
11805
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
11806
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10391
11807
if test $ac_cv_func_dlopen = yes; then
10392
11808
  lt_cv_dlopen="dlopen"
10393
11809
else
10394
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10395
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
11810
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11811
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10396
11812
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10397
11813
  echo $ECHO_N "(cached) $ECHO_C" >&6
10398
11814
else
10405
11821
cat >>conftest.$ac_ext <<_ACEOF
10406
11822
/* end confdefs.h.  */
10407
11823
 
10408
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
11824
/* Override any GCC internal prototype to avoid an error.
 
11825
   Use char because int might match the return type of a GCC
 
11826
   builtin and then its argument prototype would still apply.  */
10409
11827
#ifdef __cplusplus
10410
11828
extern "C"
10411
11829
#endif
10412
 
/* We use char because int might match the return type of a gcc2
10413
 
   builtin and then its argument prototype would still apply.  */
10414
11830
char dlopen ();
10415
11831
int
10416
11832
main ()
10417
11833
{
10418
 
dlopen ();
 
11834
return dlopen ();
10419
11835
  ;
10420
11836
  return 0;
10421
11837
}
10422
11838
_ACEOF
10423
11839
rm -f conftest.$ac_objext conftest$ac_exeext
10424
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10425
 
  (eval $ac_link) 2>conftest.er1
 
11840
if { (ac_try="$ac_link"
 
11841
case "(($ac_try" in
 
11842
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11843
  *) ac_try_echo=$ac_try;;
 
11844
esac
 
11845
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11846
  (eval "$ac_link") 2>conftest.er1
10426
11847
  ac_status=$?
10427
11848
  grep -v '^ *+' conftest.er1 >conftest.err
10428
11849
  rm -f conftest.er1
10429
11850
  cat conftest.err >&5
10430
11851
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10431
11852
  (exit $ac_status); } &&
10432
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10433
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10434
 
  (eval $ac_try) 2>&5
 
11853
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
11854
  { (case "(($ac_try" in
 
11855
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11856
  *) ac_try_echo=$ac_try;;
 
11857
esac
 
11858
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11859
  (eval "$ac_try") 2>&5
10435
11860
  ac_status=$?
10436
11861
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10437
11862
  (exit $ac_status); }; } &&
10438
11863
         { ac_try='test -s conftest$ac_exeext'
10439
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10440
 
  (eval $ac_try) 2>&5
 
11864
  { (case "(($ac_try" in
 
11865
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11866
  *) ac_try_echo=$ac_try;;
 
11867
esac
 
11868
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11869
  (eval "$ac_try") 2>&5
10441
11870
  ac_status=$?
10442
11871
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10443
11872
  (exit $ac_status); }; }; then
10446
11875
  echo "$as_me: failed program was:" >&5
10447
11876
sed 's/^/| /' conftest.$ac_ext >&5
10448
11877
 
10449
 
ac_cv_lib_dl_dlopen=no
 
11878
        ac_cv_lib_dl_dlopen=no
10450
11879
fi
 
11880
 
10451
11881
rm -f conftest.err conftest.$ac_objext \
10452
11882
      conftest$ac_exeext conftest.$ac_ext
10453
11883
LIBS=$ac_check_lib_save_LIBS
10454
11884
fi
10455
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10456
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
11885
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11886
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10457
11887
if test $ac_cv_lib_dl_dlopen = yes; then
10458
11888
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10459
11889
else
10460
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10461
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
11890
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
11891
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10462
11892
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10463
11893
  echo $ECHO_N "(cached) $ECHO_C" >&6
10464
11894
else
10471
11901
cat >>conftest.$ac_ext <<_ACEOF
10472
11902
/* end confdefs.h.  */
10473
11903
 
10474
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
11904
/* Override any GCC internal prototype to avoid an error.
 
11905
   Use char because int might match the return type of a GCC
 
11906
   builtin and then its argument prototype would still apply.  */
10475
11907
#ifdef __cplusplus
10476
11908
extern "C"
10477
11909
#endif
10478
 
/* We use char because int might match the return type of a gcc2
10479
 
   builtin and then its argument prototype would still apply.  */
10480
11910
char dlopen ();
10481
11911
int
10482
11912
main ()
10483
11913
{
10484
 
dlopen ();
 
11914
return dlopen ();
10485
11915
  ;
10486
11916
  return 0;
10487
11917
}
10488
11918
_ACEOF
10489
11919
rm -f conftest.$ac_objext conftest$ac_exeext
10490
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10491
 
  (eval $ac_link) 2>conftest.er1
 
11920
if { (ac_try="$ac_link"
 
11921
case "(($ac_try" in
 
11922
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11923
  *) ac_try_echo=$ac_try;;
 
11924
esac
 
11925
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11926
  (eval "$ac_link") 2>conftest.er1
10492
11927
  ac_status=$?
10493
11928
  grep -v '^ *+' conftest.er1 >conftest.err
10494
11929
  rm -f conftest.er1
10495
11930
  cat conftest.err >&5
10496
11931
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497
11932
  (exit $ac_status); } &&
10498
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10499
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10500
 
  (eval $ac_try) 2>&5
 
11933
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
11934
  { (case "(($ac_try" in
 
11935
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11936
  *) ac_try_echo=$ac_try;;
 
11937
esac
 
11938
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11939
  (eval "$ac_try") 2>&5
10501
11940
  ac_status=$?
10502
11941
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10503
11942
  (exit $ac_status); }; } &&
10504
11943
         { ac_try='test -s conftest$ac_exeext'
10505
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10506
 
  (eval $ac_try) 2>&5
 
11944
  { (case "(($ac_try" in
 
11945
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11946
  *) ac_try_echo=$ac_try;;
 
11947
esac
 
11948
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11949
  (eval "$ac_try") 2>&5
10507
11950
  ac_status=$?
10508
11951
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509
11952
  (exit $ac_status); }; }; then
10512
11955
  echo "$as_me: failed program was:" >&5
10513
11956
sed 's/^/| /' conftest.$ac_ext >&5
10514
11957
 
10515
 
ac_cv_lib_svld_dlopen=no
 
11958
        ac_cv_lib_svld_dlopen=no
10516
11959
fi
 
11960
 
10517
11961
rm -f conftest.err conftest.$ac_objext \
10518
11962
      conftest$ac_exeext conftest.$ac_ext
10519
11963
LIBS=$ac_check_lib_save_LIBS
10520
11964
fi
10521
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10522
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
11965
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
11966
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10523
11967
if test $ac_cv_lib_svld_dlopen = yes; then
10524
11968
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10525
11969
else
10526
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10527
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
11970
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
11971
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10528
11972
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10529
11973
  echo $ECHO_N "(cached) $ECHO_C" >&6
10530
11974
else
10537
11981
cat >>conftest.$ac_ext <<_ACEOF
10538
11982
/* end confdefs.h.  */
10539
11983
 
10540
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
11984
/* Override any GCC internal prototype to avoid an error.
 
11985
   Use char because int might match the return type of a GCC
 
11986
   builtin and then its argument prototype would still apply.  */
10541
11987
#ifdef __cplusplus
10542
11988
extern "C"
10543
11989
#endif
10544
 
/* We use char because int might match the return type of a gcc2
10545
 
   builtin and then its argument prototype would still apply.  */
10546
11990
char dld_link ();
10547
11991
int
10548
11992
main ()
10549
11993
{
10550
 
dld_link ();
 
11994
return dld_link ();
10551
11995
  ;
10552
11996
  return 0;
10553
11997
}
10554
11998
_ACEOF
10555
11999
rm -f conftest.$ac_objext conftest$ac_exeext
10556
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10557
 
  (eval $ac_link) 2>conftest.er1
 
12000
if { (ac_try="$ac_link"
 
12001
case "(($ac_try" in
 
12002
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12003
  *) ac_try_echo=$ac_try;;
 
12004
esac
 
12005
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12006
  (eval "$ac_link") 2>conftest.er1
10558
12007
  ac_status=$?
10559
12008
  grep -v '^ *+' conftest.er1 >conftest.err
10560
12009
  rm -f conftest.er1
10561
12010
  cat conftest.err >&5
10562
12011
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10563
12012
  (exit $ac_status); } &&
10564
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10565
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10566
 
  (eval $ac_try) 2>&5
 
12013
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
12014
  { (case "(($ac_try" in
 
12015
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12016
  *) ac_try_echo=$ac_try;;
 
12017
esac
 
12018
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12019
  (eval "$ac_try") 2>&5
10567
12020
  ac_status=$?
10568
12021
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10569
12022
  (exit $ac_status); }; } &&
10570
12023
         { ac_try='test -s conftest$ac_exeext'
10571
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10572
 
  (eval $ac_try) 2>&5
 
12024
  { (case "(($ac_try" in
 
12025
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12026
  *) ac_try_echo=$ac_try;;
 
12027
esac
 
12028
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12029
  (eval "$ac_try") 2>&5
10573
12030
  ac_status=$?
10574
12031
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10575
12032
  (exit $ac_status); }; }; then
10578
12035
  echo "$as_me: failed program was:" >&5
10579
12036
sed 's/^/| /' conftest.$ac_ext >&5
10580
12037
 
10581
 
ac_cv_lib_dld_dld_link=no
 
12038
        ac_cv_lib_dld_dld_link=no
10582
12039
fi
 
12040
 
10583
12041
rm -f conftest.err conftest.$ac_objext \
10584
12042
      conftest$ac_exeext conftest.$ac_ext
10585
12043
LIBS=$ac_check_lib_save_LIBS
10586
12044
fi
10587
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10588
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
12045
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
12046
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10589
12047
if test $ac_cv_lib_dld_dld_link = yes; then
10590
12048
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10591
12049
fi
10620
12078
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10621
12079
 
10622
12080
    save_LDFLAGS="$LDFLAGS"
10623
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
12081
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10624
12082
 
10625
12083
    save_LIBS="$LIBS"
10626
12084
    LIBS="$lt_cv_dlopen_libs $LIBS"
10627
12085
 
10628
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10629
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
12086
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
12087
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10630
12088
if test "${lt_cv_dlopen_self+set}" = set; then
10631
12089
  echo $ECHO_N "(cached) $ECHO_C" >&6
10632
12090
else
10636
12094
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10637
12095
  lt_status=$lt_dlunknown
10638
12096
  cat > conftest.$ac_ext <<EOF
10639
 
#line 10639 "configure"
 
12097
#line 12097 "configure"
10640
12098
#include "confdefs.h"
10641
12099
 
10642
12100
#if HAVE_DLFCN_H
10693
12151
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10694
12152
      /* dlclose (self); */
10695
12153
    }
 
12154
  else
 
12155
    puts (dlerror ());
10696
12156
 
10697
12157
    exit (status);
10698
12158
}
10707
12167
    case x$lt_status in
10708
12168
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10709
12169
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10710
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
 
12170
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10711
12171
    esac
10712
12172
  else :
10713
12173
    # compilation failed
10718
12178
 
10719
12179
 
10720
12180
fi
10721
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10722
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
12181
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
12182
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10723
12183
 
10724
12184
    if test "x$lt_cv_dlopen_self" = xyes; then
10725
 
      LDFLAGS="$LDFLAGS $link_static_flag"
10726
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10727
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
12185
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
12186
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
12187
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10728
12188
if test "${lt_cv_dlopen_self_static+set}" = set; then
10729
12189
  echo $ECHO_N "(cached) $ECHO_C" >&6
10730
12190
else
10734
12194
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10735
12195
  lt_status=$lt_dlunknown
10736
12196
  cat > conftest.$ac_ext <<EOF
10737
 
#line 10737 "configure"
 
12197
#line 12197 "configure"
10738
12198
#include "confdefs.h"
10739
12199
 
10740
12200
#if HAVE_DLFCN_H
10791
12251
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10792
12252
      /* dlclose (self); */
10793
12253
    }
 
12254
  else
 
12255
    puts (dlerror ());
10794
12256
 
10795
12257
    exit (status);
10796
12258
}
10805
12267
    case x$lt_status in
10806
12268
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10807
12269
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10808
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
 
12270
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10809
12271
    esac
10810
12272
  else :
10811
12273
    # compilation failed
10816
12278
 
10817
12279
 
10818
12280
fi
10819
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10820
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
12281
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
12282
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10821
12283
    fi
10822
12284
 
10823
12285
    CPPFLAGS="$save_CPPFLAGS"
10838
12300
fi
10839
12301
 
10840
12302
 
10841
 
# Report which librarie types wil actually be built
10842
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10843
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10844
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
10845
 
echo "${ECHO_T}$can_build_shared" >&6
 
12303
# Report which library types will actually be built
 
12304
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
12305
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
12306
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
12307
echo "${ECHO_T}$can_build_shared" >&6; }
10846
12308
 
10847
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10848
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
12309
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
12310
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10849
12311
test "$can_build_shared" = "no" && enable_shared=no
10850
12312
 
10851
12313
# On AIX, shared libraries and static libraries use the same namespace, and
10865
12327
  fi
10866
12328
    ;;
10867
12329
esac
10868
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
10869
 
echo "${ECHO_T}$enable_shared" >&6
 
12330
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
12331
echo "${ECHO_T}$enable_shared" >&6; }
10870
12332
 
10871
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10872
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
12333
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
12334
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10873
12335
# Make sure either enable_shared or enable_static is yes.
10874
12336
test "$enable_shared" = yes || enable_static=yes
10875
 
echo "$as_me:$LINENO: result: $enable_static" >&5
10876
 
echo "${ECHO_T}$enable_static" >&6
 
12337
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
12338
echo "${ECHO_T}$enable_static" >&6; }
10877
12339
 
10878
12340
# The else clause should only fire when bootstrapping the
10879
12341
# libtool distribution, otherwise you forgot to ship ltmain.sh
10888
12350
  # Now quote all the things that may contain metacharacters while being
10889
12351
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
10890
12352
  # variables and quote the copies for generation of the libtool script.
10891
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
12353
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10892
12354
    SED SHELL STRIP \
10893
12355
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10894
12356
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11054
12516
# A C compiler.
11055
12517
LTCC=$lt_LTCC
11056
12518
 
 
12519
# LTCC compiler flags.
 
12520
LTCFLAGS=$lt_LTCFLAGS
 
12521
 
11057
12522
# A language-specific compiler.
11058
12523
CC=$lt_compiler
11059
12524
 
11362
12827
CC="$lt_save_CC"
11363
12828
 
11364
12829
 
11365
 
# Check whether --with-tags or --without-tags was given.
 
12830
# Check whether --with-tags was given.
11366
12831
if test "${with_tags+set}" = set; then
11367
 
  withval="$with_tags"
11368
 
  tagnames="$withval"
11369
 
fi;
 
12832
  withval=$with_tags; tagnames="$withval"
 
12833
fi
 
12834
 
11370
12835
 
11371
12836
if test -f "$ltmain" && test -n "$tagnames"; then
11372
12837
  if test ! -f "${ofile}"; then
11384
12849
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
11385
12850
    fi
11386
12851
  fi
 
12852
  if test -z "$LTCFLAGS"; then
 
12853
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
 
12854
  fi
11387
12855
 
11388
12856
  # Extract list of available tagged configurations in $ofile.
11389
12857
  # Note that this assumes the entire list is on one line.
11417
12885
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11418
12886
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11419
12887
            (test "X$CXX" != "Xg++"))) ; then
11420
 
          ac_ext=cc
 
12888
          ac_ext=cpp
11421
12889
ac_cpp='$CXXCPP $CPPFLAGS'
11422
12890
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11423
12891
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11436
12904
hardcode_libdir_flag_spec_ld_CXX=
11437
12905
hardcode_libdir_separator_CXX=
11438
12906
hardcode_minus_L_CXX=no
 
12907
hardcode_shlibpath_var_CXX=unsupported
11439
12908
hardcode_automatic_CXX=no
11440
12909
module_cmds_CXX=
11441
12910
module_expsym_cmds_CXX=
11463
12932
lt_simple_compile_test_code="int some_variable = 0;\n"
11464
12933
 
11465
12934
# Code to be used in simple link tests
11466
 
lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
 
12935
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
11467
12936
 
11468
12937
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11469
12938
 
11470
12939
# If no C compiler was specified, use CC.
11471
12940
LTCC=${LTCC-"$CC"}
11472
12941
 
 
12942
# If no C compiler flags were specified, use CFLAGS.
 
12943
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
12944
 
11473
12945
# Allow CC to be a program name with arguments.
11474
12946
compiler=$CC
11475
12947
 
11477
12949
# save warnings/boilerplate of simple test code
11478
12950
ac_outfile=conftest.$ac_objext
11479
12951
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
11480
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
12952
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11481
12953
_lt_compiler_boilerplate=`cat conftest.err`
11482
12954
$rm conftest*
11483
12955
 
11484
12956
ac_outfile=conftest.$ac_objext
11485
12957
printf "$lt_simple_link_test_code" >conftest.$ac_ext
11486
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
12958
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11487
12959
_lt_linker_boilerplate=`cat conftest.err`
11488
12960
$rm conftest*
11489
12961
 
11498
12970
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11499
12971
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11500
12972
else
11501
 
  unset lt_cv_prog_gnu_ld
 
12973
  $as_unset lt_cv_prog_gnu_ld
11502
12974
fi
11503
12975
if test -n "${lt_cv_path_LDCXX+set}"; then
11504
12976
  lt_cv_path_LD=$lt_cv_path_LDCXX
11505
12977
else
11506
 
  unset lt_cv_path_LD
 
12978
  $as_unset lt_cv_path_LD
11507
12979
fi
11508
12980
test -z "${LDCXX+set}" || LD=$LDCXX
11509
12981
CC=${CXX-"c++"}
11532
13004
  # Set up default GNU C++ configuration
11533
13005
 
11534
13006
 
11535
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
13007
# Check whether --with-gnu-ld was given.
11536
13008
if test "${with_gnu_ld+set}" = set; then
11537
 
  withval="$with_gnu_ld"
11538
 
  test "$withval" = no || with_gnu_ld=yes
 
13009
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11539
13010
else
11540
13011
  with_gnu_ld=no
11541
 
fi;
 
13012
fi
 
13013
 
11542
13014
ac_prog=ld
11543
13015
if test "$GCC" = yes; then
11544
13016
  # Check if gcc -print-prog-name=ld gives a path.
11545
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11546
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
13017
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
13018
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11547
13019
  case $host in
11548
13020
  *-*-mingw*)
11549
13021
    # gcc leaves a trailing carriage return which upsets mingw
11572
13044
    ;;
11573
13045
  esac
11574
13046
elif test "$with_gnu_ld" = yes; then
11575
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
11576
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
13047
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
13048
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11577
13049
else
11578
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11579
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
13050
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
13051
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11580
13052
fi
11581
13053
if test "${lt_cv_path_LD+set}" = set; then
11582
13054
  echo $ECHO_N "(cached) $ECHO_C" >&6
11609
13081
 
11610
13082
LD="$lt_cv_path_LD"
11611
13083
if test -n "$LD"; then
11612
 
  echo "$as_me:$LINENO: result: $LD" >&5
11613
 
echo "${ECHO_T}$LD" >&6
 
13084
  { echo "$as_me:$LINENO: result: $LD" >&5
 
13085
echo "${ECHO_T}$LD" >&6; }
11614
13086
else
11615
 
  echo "$as_me:$LINENO: result: no" >&5
11616
 
echo "${ECHO_T}no" >&6
 
13087
  { echo "$as_me:$LINENO: result: no" >&5
 
13088
echo "${ECHO_T}no" >&6; }
11617
13089
fi
11618
13090
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11619
13091
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11620
13092
   { (exit 1); exit 1; }; }
11621
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11622
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
13093
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
13094
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11623
13095
if test "${lt_cv_prog_gnu_ld+set}" = set; then
11624
13096
  echo $ECHO_N "(cached) $ECHO_C" >&6
11625
13097
else
11633
13105
  ;;
11634
13106
esac
11635
13107
fi
11636
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11637
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
13108
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
13109
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11638
13110
with_gnu_ld=$lt_cv_prog_gnu_ld
11639
13111
 
11640
13112
 
11684
13156
fi
11685
13157
 
11686
13158
# PORTME: fill in a description of your system's C++ link characteristics
11687
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11688
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
13159
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
13160
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11689
13161
ld_shlibs_CXX=yes
11690
13162
case $host_os in
11691
13163
  aix3*)
11714
13186
            ;;
11715
13187
          esac
11716
13188
        done
 
13189
        ;;
11717
13190
      esac
11718
13191
 
11719
13192
      exp_sym_flag='-bexport'
11751
13224
          hardcode_libdir_flag_spec_CXX='-L$libdir'
11752
13225
          hardcode_libdir_separator_CXX=
11753
13226
        fi
 
13227
        ;;
11754
13228
      esac
11755
13229
      shared_flag='-shared'
11756
13230
      if test "$aix_use_runtimelinking" = yes; then
11795
13269
}
11796
13270
_ACEOF
11797
13271
rm -f conftest.$ac_objext conftest$ac_exeext
11798
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11799
 
  (eval $ac_link) 2>conftest.er1
 
13272
if { (ac_try="$ac_link"
 
13273
case "(($ac_try" in
 
13274
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13275
  *) ac_try_echo=$ac_try;;
 
13276
esac
 
13277
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13278
  (eval "$ac_link") 2>conftest.er1
11800
13279
  ac_status=$?
11801
13280
  grep -v '^ *+' conftest.er1 >conftest.err
11802
13281
  rm -f conftest.er1
11803
13282
  cat conftest.err >&5
11804
13283
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11805
13284
  (exit $ac_status); } &&
11806
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
11807
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11808
 
  (eval $ac_try) 2>&5
 
13285
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
13286
  { (case "(($ac_try" in
 
13287
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13288
  *) ac_try_echo=$ac_try;;
 
13289
esac
 
13290
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13291
  (eval "$ac_try") 2>&5
11809
13292
  ac_status=$?
11810
13293
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11811
13294
  (exit $ac_status); }; } &&
11812
13295
         { ac_try='test -s conftest$ac_exeext'
11813
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11814
 
  (eval $ac_try) 2>&5
 
13296
  { (case "(($ac_try" in
 
13297
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13298
  *) ac_try_echo=$ac_try;;
 
13299
esac
 
13300
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13301
  (eval "$ac_try") 2>&5
11815
13302
  ac_status=$?
11816
13303
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11817
13304
  (exit $ac_status); }; }; then
11825
13312
  echo "$as_me: failed program was:" >&5
11826
13313
sed 's/^/| /' conftest.$ac_ext >&5
11827
13314
 
 
13315
 
11828
13316
fi
 
13317
 
11829
13318
rm -f conftest.err conftest.$ac_objext \
11830
13319
      conftest$ac_exeext conftest.$ac_ext
11831
13320
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11832
13321
 
11833
13322
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11834
13323
 
11835
 
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
13324
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11836
13325
     else
11837
13326
      if test "$host_cpu" = ia64; then
11838
13327
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11839
13328
        allow_undefined_flag_CXX="-z nodefs"
11840
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
13329
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
11841
13330
      else
11842
13331
        # Determine the default libpath from the value encoded in an empty executable.
11843
13332
        cat >conftest.$ac_ext <<_ACEOF
11856
13345
}
11857
13346
_ACEOF
11858
13347
rm -f conftest.$ac_objext conftest$ac_exeext
11859
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11860
 
  (eval $ac_link) 2>conftest.er1
 
13348
if { (ac_try="$ac_link"
 
13349
case "(($ac_try" in
 
13350
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13351
  *) ac_try_echo=$ac_try;;
 
13352
esac
 
13353
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13354
  (eval "$ac_link") 2>conftest.er1
11861
13355
  ac_status=$?
11862
13356
  grep -v '^ *+' conftest.er1 >conftest.err
11863
13357
  rm -f conftest.er1
11864
13358
  cat conftest.err >&5
11865
13359
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11866
13360
  (exit $ac_status); } &&
11867
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
11868
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11869
 
  (eval $ac_try) 2>&5
 
13361
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
13362
  { (case "(($ac_try" in
 
13363
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13364
  *) ac_try_echo=$ac_try;;
 
13365
esac
 
13366
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13367
  (eval "$ac_try") 2>&5
11870
13368
  ac_status=$?
11871
13369
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11872
13370
  (exit $ac_status); }; } &&
11873
13371
         { ac_try='test -s conftest$ac_exeext'
11874
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11875
 
  (eval $ac_try) 2>&5
 
13372
  { (case "(($ac_try" in
 
13373
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13374
  *) ac_try_echo=$ac_try;;
 
13375
esac
 
13376
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13377
  (eval "$ac_try") 2>&5
11876
13378
  ac_status=$?
11877
13379
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11878
13380
  (exit $ac_status); }; }; then
11886
13388
  echo "$as_me: failed program was:" >&5
11887
13389
sed 's/^/| /' conftest.$ac_ext >&5
11888
13390
 
 
13391
 
11889
13392
fi
 
13393
 
11890
13394
rm -f conftest.err conftest.$ac_objext \
11891
13395
      conftest$ac_exeext conftest.$ac_ext
11892
13396
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11896
13400
        # -berok will link without error, but may produce a broken library.
11897
13401
        no_undefined_flag_CXX=' ${wl}-bernotok'
11898
13402
        allow_undefined_flag_CXX=' ${wl}-berok'
11899
 
        # -bexpall does not export symbols beginning with underscore (_)
11900
 
        always_export_symbols_CXX=yes
11901
13403
        # Exported symbols can be pulled into shared objects from archives
11902
 
        whole_archive_flag_spec_CXX=' '
 
13404
        whole_archive_flag_spec_CXX='$convenience'
11903
13405
        archive_cmds_need_lc_CXX=yes
11904
13406
        # This is similar to how AIX traditionally builds its shared libraries.
11905
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
13407
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11906
13408
      fi
11907
13409
    fi
11908
13410
    ;;
 
13411
 
 
13412
  beos*)
 
13413
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
13414
      allow_undefined_flag_CXX=unsupported
 
13415
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
13416
      # support --undefined.  This deserves some investigation.  FIXME
 
13417
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13418
    else
 
13419
      ld_shlibs_CXX=no
 
13420
    fi
 
13421
    ;;
 
13422
 
11909
13423
  chorus*)
11910
13424
    case $cc_basename in
11911
13425
      *)
11915
13429
    esac
11916
13430
    ;;
11917
13431
 
11918
 
 
11919
13432
  cygwin* | mingw* | pw32*)
11920
13433
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11921
13434
    # as there is no search path for DLLs.
11925
13438
    enable_shared_with_static_runtimes_CXX=yes
11926
13439
 
11927
13440
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11928
 
      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
13441
      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11929
13442
      # If the export-symbols file already is a .def file (1st line
11930
13443
      # is EXPORTS), use it as is; otherwise, prepend...
11931
13444
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11934
13447
        echo EXPORTS > $output_objdir/$soname.def;
11935
13448
        cat $export_symbols >> $output_objdir/$soname.def;
11936
13449
      fi~
11937
 
      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
13450
      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11938
13451
    else
11939
13452
      ld_shlibs_CXX=no
11940
13453
    fi
12026
13539
  freebsd-elf*)
12027
13540
    archive_cmds_need_lc_CXX=no
12028
13541
    ;;
12029
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
 
13542
  freebsd* | dragonfly*)
12030
13543
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12031
13544
    # conventions
12032
13545
    ld_shlibs_CXX=yes
12071
13584
    ;;
12072
13585
  hpux10*|hpux11*)
12073
13586
    if test $with_gnu_ld = no; then
 
13587
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
13588
      hardcode_libdir_separator_CXX=:
 
13589
 
12074
13590
      case $host_cpu in
12075
 
      hppa*64*)
12076
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
13591
      hppa*64*|ia64*)
12077
13592
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
12078
 
        hardcode_libdir_separator_CXX=:
12079
 
        ;;
12080
 
      ia64*)
12081
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
12082
13593
        ;;
12083
13594
      *)
12084
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12085
 
        hardcode_libdir_separator_CXX=:
12086
13595
        export_dynamic_flag_spec_CXX='${wl}-E'
12087
13596
        ;;
12088
13597
      esac
12089
13598
    fi
12090
13599
    case $host_cpu in
12091
 
    hppa*64*)
12092
 
      hardcode_direct_CXX=no
12093
 
      hardcode_shlibpath_var_CXX=no
12094
 
      ;;
12095
 
    ia64*)
12096
 
      hardcode_direct_CXX=no
12097
 
      hardcode_shlibpath_var_CXX=no
12098
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
12099
 
                                              # but as the default
12100
 
                                              # location of the library.
 
13600
    hppa*64*|ia64*)
 
13601
      hardcode_direct_CXX=no
 
13602
      hardcode_shlibpath_var_CXX=no
12101
13603
      ;;
12102
13604
    *)
12103
13605
      hardcode_direct_CXX=yes
12114
13616
        ;;
12115
13617
      aCC*)
12116
13618
        case $host_cpu in
12117
 
        hppa*64*|ia64*)
12118
 
          archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 
13619
        hppa*64*)
 
13620
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13621
          ;;
 
13622
        ia64*)
 
13623
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12119
13624
          ;;
12120
13625
        *)
12121
13626
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12135
13640
        if test "$GXX" = yes; then
12136
13641
          if test $with_gnu_ld = no; then
12137
13642
            case $host_cpu in
12138
 
            ia64*|hppa*64*)
12139
 
              archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 
13643
            hppa*64*)
 
13644
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13645
              ;;
 
13646
            ia64*)
 
13647
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12140
13648
              ;;
12141
13649
            *)
12142
13650
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12150
13658
        ;;
12151
13659
    esac
12152
13660
    ;;
 
13661
  interix3*)
 
13662
    hardcode_direct_CXX=no
 
13663
    hardcode_shlibpath_var_CXX=no
 
13664
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13665
    export_dynamic_flag_spec_CXX='${wl}-E'
 
13666
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
13667
    # Instead, shared libraries are loaded at an image base (0x10000000 by
 
13668
    # default) and relocated if they conflict, which is a slow very memory
 
13669
    # consuming and fragmenting process.  To avoid this, we pick a random,
 
13670
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
13671
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
13672
    archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
13673
    archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
13674
    ;;
12153
13675
  irix5* | irix6*)
12154
13676
    case $cc_basename in
12155
13677
      CC*)
12176
13698
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12177
13699
    hardcode_libdir_separator_CXX=:
12178
13700
    ;;
12179
 
  linux*)
 
13701
  linux* | k*bsd*-gnu)
12180
13702
    case $cc_basename in
12181
13703
      KCC*)
12182
13704
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12278
13800
        ;;
12279
13801
    esac
12280
13802
    ;;
12281
 
  netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
13803
  netbsd* | netbsdelf*-gnu)
12282
13804
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12283
13805
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12284
13806
      wlarc=
12432
13954
    # FIXME: insert proper C++ library support
12433
13955
    ld_shlibs_CXX=no
12434
13956
    ;;
12435
 
  sco*)
12436
 
    archive_cmds_need_lc_CXX=no
12437
 
    case $cc_basename in
12438
 
      CC*)
12439
 
        # FIXME: insert proper C++ library support
12440
 
        ld_shlibs_CXX=no
12441
 
        ;;
12442
 
      *)
12443
 
        # FIXME: insert proper C++ library support
12444
 
        ld_shlibs_CXX=no
12445
 
        ;;
12446
 
    esac
12447
 
    ;;
12448
13957
  sunos4*)
12449
13958
    case $cc_basename in
12450
13959
      CC*)
12537
14046
        ;;
12538
14047
    esac
12539
14048
    ;;
12540
 
  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
12541
 
    archive_cmds_need_lc_CXX=no
 
14049
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
14050
    no_undefined_flag_CXX='${wl}-z,text'
 
14051
    archive_cmds_need_lc_CXX=no
 
14052
    hardcode_shlibpath_var_CXX=no
 
14053
    runpath_var='LD_RUN_PATH'
 
14054
 
 
14055
    case $cc_basename in
 
14056
      CC*)
 
14057
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14058
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14059
        ;;
 
14060
      *)
 
14061
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14062
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14063
        ;;
 
14064
    esac
 
14065
    ;;
 
14066
  sysv5* | sco3.2v5* | sco5v6*)
 
14067
    # Note: We can NOT use -z defs as we might desire, because we do not
 
14068
    # link with -lc, and that would cause any symbols used from libc to
 
14069
    # always be unresolved, which means just about no library would
 
14070
    # ever link correctly.  If we're not using GNU ld we use -z text
 
14071
    # though, which does catch some bad symbols but isn't as heavy-handed
 
14072
    # as -z defs.
 
14073
    # For security reasons, it is highly recommended that you always
 
14074
    # use absolute paths for naming shared libraries, and exclude the
 
14075
    # DT_RUNPATH tag from executables and libraries.  But doing so
 
14076
    # requires that you compile everything twice, which is a pain.
 
14077
    # So that behaviour is only enabled if SCOABSPATH is set to a
 
14078
    # non-empty value in the environment.  Most likely only useful for
 
14079
    # creating official distributions of packages.
 
14080
    # This is a hack until libtool officially supports absolute path
 
14081
    # names for shared libraries.
 
14082
    no_undefined_flag_CXX='${wl}-z,text'
 
14083
    allow_undefined_flag_CXX='${wl}-z,nodefs'
 
14084
    archive_cmds_need_lc_CXX=no
 
14085
    hardcode_shlibpath_var_CXX=no
 
14086
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
14087
    hardcode_libdir_separator_CXX=':'
 
14088
    link_all_deplibs_CXX=yes
 
14089
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
 
14090
    runpath_var='LD_RUN_PATH'
 
14091
 
 
14092
    case $cc_basename in
 
14093
      CC*)
 
14094
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14095
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14096
        ;;
 
14097
      *)
 
14098
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14099
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14100
        ;;
 
14101
    esac
12542
14102
    ;;
12543
14103
  tandem*)
12544
14104
    case $cc_basename in
12562
14122
    ld_shlibs_CXX=no
12563
14123
    ;;
12564
14124
esac
12565
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12566
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
14125
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
14126
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12567
14127
test "$ld_shlibs_CXX" = no && can_build_shared=no
12568
14128
 
12569
14129
GCC_CXX="$GXX"
12673
14233
 
12674
14234
# PORTME: override above test on systems where it is broken
12675
14235
case $host_os in
 
14236
interix3*)
 
14237
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
 
14238
  # hack all around it, let's just trust "g++" to DTRT.
 
14239
  predep_objects_CXX=
 
14240
  postdep_objects_CXX=
 
14241
  postdeps_CXX=
 
14242
  ;;
 
14243
 
12676
14244
solaris*)
12677
14245
  case $cc_basename in
12678
14246
  CC*)
12682
14250
    postdeps_CXX='-lCstd -lCrun'
12683
14251
    ;;
12684
14252
  esac
 
14253
  ;;
12685
14254
esac
12686
14255
 
12687
14256
 
12693
14262
lt_prog_compiler_pic_CXX=
12694
14263
lt_prog_compiler_static_CXX=
12695
14264
 
12696
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12697
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
14265
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
14266
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12698
14267
 
12699
14268
  # C++ specific cases for pic, static, wl, etc.
12700
14269
  if test "$GXX" = yes; then
12732
14301
      # DJGPP does not support shared libraries at all
12733
14302
      lt_prog_compiler_pic_CXX=
12734
14303
      ;;
 
14304
    interix3*)
 
14305
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
14306
      # Instead, we relocate shared libraries at runtime.
 
14307
      ;;
12735
14308
    sysv4*MP*)
12736
14309
      if test -d /usr/nec; then
12737
14310
        lt_prog_compiler_pic_CXX=-Kconform_pic
12794
14367
            ;;
12795
14368
        esac
12796
14369
        ;;
12797
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
 
14370
      freebsd* | dragonfly*)
12798
14371
        # FreeBSD uses GNU C++
12799
14372
        ;;
12800
14373
      hpux9* | hpux10* | hpux11*)
12801
14374
        case $cc_basename in
12802
14375
          CC*)
12803
14376
            lt_prog_compiler_wl_CXX='-Wl,'
12804
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
 
14377
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12805
14378
            if test "$host_cpu" != ia64; then
12806
14379
              lt_prog_compiler_pic_CXX='+Z'
12807
14380
            fi
12808
14381
            ;;
12809
14382
          aCC*)
12810
14383
            lt_prog_compiler_wl_CXX='-Wl,'
12811
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
 
14384
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12812
14385
            case $host_cpu in
12813
14386
            hppa*64*|ia64*)
12814
14387
              # +Z the default
12822
14395
            ;;
12823
14396
        esac
12824
14397
        ;;
 
14398
      interix*)
 
14399
        # This is c89, which is MS Visual C++ (no shared libs)
 
14400
        # Anyone wants to do a port?
 
14401
        ;;
12825
14402
      irix5* | irix6* | nonstopux*)
12826
14403
        case $cc_basename in
12827
14404
          CC*)
12833
14410
            ;;
12834
14411
        esac
12835
14412
        ;;
12836
 
      linux*)
 
14413
      linux* | k*bsd*-gnu)
12837
14414
        case $cc_basename in
12838
14415
          KCC*)
12839
14416
            # KAI C++ Compiler
12876
14453
            ;;
12877
14454
        esac
12878
14455
        ;;
12879
 
      netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
14456
      netbsd* | netbsdelf*-gnu)
12880
14457
        ;;
12881
14458
      osf3* | osf4* | osf5*)
12882
14459
        case $cc_basename in
12901
14478
        ;;
12902
14479
      psos*)
12903
14480
        ;;
12904
 
      sco*)
12905
 
        case $cc_basename in
12906
 
          CC*)
12907
 
            lt_prog_compiler_pic_CXX='-fPIC'
12908
 
            ;;
12909
 
          *)
12910
 
            ;;
12911
 
        esac
12912
 
        ;;
12913
14481
      solaris*)
12914
14482
        case $cc_basename in
12915
14483
          CC*)
12951
14519
            ;;
12952
14520
        esac
12953
14521
        ;;
12954
 
      unixware*)
 
14522
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
14523
        case $cc_basename in
 
14524
          CC*)
 
14525
            lt_prog_compiler_wl_CXX='-Wl,'
 
14526
            lt_prog_compiler_pic_CXX='-KPIC'
 
14527
            lt_prog_compiler_static_CXX='-Bstatic'
 
14528
            ;;
 
14529
        esac
12955
14530
        ;;
12956
14531
      vxworks*)
12957
14532
        ;;
12961
14536
    esac
12962
14537
  fi
12963
14538
 
12964
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12965
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 
14539
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
14540
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12966
14541
 
12967
14542
#
12968
14543
# Check to make sure the PIC flag actually works.
12969
14544
#
12970
14545
if test -n "$lt_prog_compiler_pic_CXX"; then
12971
14546
 
12972
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12973
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
 
14547
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
14548
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12974
14549
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12975
14550
  echo $ECHO_N "(cached) $ECHO_C" >&6
12976
14551
else
12987
14562
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12988
14563
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12989
14564
   -e 's:$: $lt_compiler_flag:'`
12990
 
   (eval echo "\"\$as_me:12990: $lt_compile\"" >&5)
 
14565
   (eval echo "\"\$as_me:14565: $lt_compile\"" >&5)
12991
14566
   (eval "$lt_compile" 2>conftest.err)
12992
14567
   ac_status=$?
12993
14568
   cat conftest.err >&5
12994
 
   echo "$as_me:12994: \$? = $ac_status" >&5
 
14569
   echo "$as_me:14569: \$? = $ac_status" >&5
12995
14570
   if (exit $ac_status) && test -s "$ac_outfile"; then
12996
14571
     # The compiler can only warn and ignore the option if not recognized
12997
14572
     # So say no if there are warnings other than the usual output.
12998
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
12999
 
     $SED '/^$/d' conftest.err >conftest.er2
13000
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
14573
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
14574
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
14575
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13001
14576
       lt_prog_compiler_pic_works_CXX=yes
13002
14577
     fi
13003
14578
   fi
13004
14579
   $rm conftest*
13005
14580
 
13006
14581
fi
13007
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13008
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 
14582
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
 
14583
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
13009
14584
 
13010
14585
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
13011
14586
    case $lt_prog_compiler_pic_CXX in
13028
14603
    ;;
13029
14604
esac
13030
14605
 
13031
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13032
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
14606
#
 
14607
# Check to make sure the static flag actually works.
 
14608
#
 
14609
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
 
14610
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
14611
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
14612
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
 
14613
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14614
else
 
14615
  lt_prog_compiler_static_works_CXX=no
 
14616
   save_LDFLAGS="$LDFLAGS"
 
14617
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
14618
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
14619
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
14620
     # The linker can only warn and ignore the option if not recognized
 
14621
     # So say no if there are warnings
 
14622
     if test -s conftest.err; then
 
14623
       # Append any errors to the config.log.
 
14624
       cat conftest.err 1>&5
 
14625
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
14626
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
14627
       if diff conftest.exp conftest.er2 >/dev/null; then
 
14628
         lt_prog_compiler_static_works_CXX=yes
 
14629
       fi
 
14630
     else
 
14631
       lt_prog_compiler_static_works_CXX=yes
 
14632
     fi
 
14633
   fi
 
14634
   $rm conftest*
 
14635
   LDFLAGS="$save_LDFLAGS"
 
14636
 
 
14637
fi
 
14638
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
 
14639
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
 
14640
 
 
14641
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 
14642
    :
 
14643
else
 
14644
    lt_prog_compiler_static_CXX=
 
14645
fi
 
14646
 
 
14647
 
 
14648
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14649
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13033
14650
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13034
14651
  echo $ECHO_N "(cached) $ECHO_C" >&6
13035
14652
else
13049
14666
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13050
14667
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13051
14668
   -e 's:$: $lt_compiler_flag:'`
13052
 
   (eval echo "\"\$as_me:13052: $lt_compile\"" >&5)
 
14669
   (eval echo "\"\$as_me:14669: $lt_compile\"" >&5)
13053
14670
   (eval "$lt_compile" 2>out/conftest.err)
13054
14671
   ac_status=$?
13055
14672
   cat out/conftest.err >&5
13056
 
   echo "$as_me:13056: \$? = $ac_status" >&5
 
14673
   echo "$as_me:14673: \$? = $ac_status" >&5
13057
14674
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13058
14675
   then
13059
14676
     # The compiler can only warn and ignore the option if not recognized
13060
14677
     # So say no if there are warnings
13061
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
13062
 
     $SED '/^$/d' out/conftest.err >out/conftest.er2
13063
 
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
14678
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
14679
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
14680
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13064
14681
       lt_cv_prog_compiler_c_o_CXX=yes
13065
14682
     fi
13066
14683
   fi
13075
14692
   $rm conftest*
13076
14693
 
13077
14694
fi
13078
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13079
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 
14695
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
14696
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
13080
14697
 
13081
14698
 
13082
14699
hard_links="nottested"
13083
14700
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13084
14701
  # do not overwrite the value of need_locks provided by the user
13085
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13086
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
14702
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
14703
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13087
14704
  hard_links=yes
13088
14705
  $rm conftest*
13089
14706
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13090
14707
  touch conftest.a
13091
14708
  ln conftest.a conftest.b 2>&5 || hard_links=no
13092
14709
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13093
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
13094
 
echo "${ECHO_T}$hard_links" >&6
 
14710
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
14711
echo "${ECHO_T}$hard_links" >&6; }
13095
14712
  if test "$hard_links" = no; then
13096
14713
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13097
14714
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13101
14718
  need_locks=no
13102
14719
fi
13103
14720
 
13104
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13105
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
14721
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14722
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13106
14723
 
13107
14724
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13108
14725
  case $host_os in
13121
14738
  cygwin* | mingw*)
13122
14739
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13123
14740
  ;;
13124
 
  linux*)
 
14741
  linux* | k*bsd*-gnu)
13125
14742
    link_all_deplibs_CXX=no
13126
14743
  ;;
13127
14744
  *)
13129
14746
  ;;
13130
14747
  esac
13131
14748
 
13132
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13133
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
14749
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
14750
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13134
14751
test "$ld_shlibs_CXX" = no && can_build_shared=no
13135
14752
 
13136
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13137
 
if test "$GCC" = yes; then
13138
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13139
 
fi
13140
 
 
13141
14753
#
13142
14754
# Do we need to explicitly link libc?
13143
14755
#
13155
14767
      # Test whether the compiler implicitly links with -lc since on some
13156
14768
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
13157
14769
      # to ld, don't add -lc before -lgcc.
13158
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13159
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
14770
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
14771
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13160
14772
      $rm conftest*
13161
14773
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13162
14774
 
13170
14782
        libobjs=conftest.$ac_objext
13171
14783
        deplibs=
13172
14784
        wl=$lt_prog_compiler_wl_CXX
 
14785
        pic_flag=$lt_prog_compiler_pic_CXX
13173
14786
        compiler_flags=-v
13174
14787
        linker_flags=-v
13175
14788
        verstring=
13192
14805
        cat conftest.err 1>&5
13193
14806
      fi
13194
14807
      $rm conftest*
13195
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13196
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 
14808
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
14809
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
13197
14810
      ;;
13198
14811
    esac
13199
14812
  fi
13200
14813
  ;;
13201
14814
esac
13202
14815
 
13203
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13204
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
14816
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
14817
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13205
14818
library_names_spec=
13206
14819
libname_spec='lib$name'
13207
14820
soname_spec=
13407
15020
  dynamic_linker=no
13408
15021
  ;;
13409
15022
 
13410
 
kfreebsd*-gnu)
13411
 
  version_type=linux
13412
 
  need_lib_prefix=no
13413
 
  need_version=no
13414
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13415
 
  soname_spec='${libname}${release}${shared_ext}$major'
13416
 
  shlibpath_var=LD_LIBRARY_PATH
13417
 
  shlibpath_overrides_runpath=no
13418
 
  hardcode_into_libs=yes
13419
 
  dynamic_linker='GNU ld.so'
13420
 
  ;;
13421
 
 
13422
15023
freebsd* | dragonfly*)
13423
15024
  # DragonFly does not have aout.  When/if they implement a new
13424
15025
  # versioning mechanism, adjust this.
13451
15052
    shlibpath_overrides_runpath=yes
13452
15053
    hardcode_into_libs=yes
13453
15054
    ;;
13454
 
  *) # from 3.2 on
 
15055
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
15056
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13455
15057
    shlibpath_overrides_runpath=no
13456
15058
    hardcode_into_libs=yes
13457
15059
    ;;
 
15060
  freebsd*) # from 4.6 on
 
15061
    shlibpath_overrides_runpath=yes
 
15062
    hardcode_into_libs=yes
 
15063
    ;;
13458
15064
  esac
13459
15065
  ;;
13460
15066
 
13514
15120
  postinstall_cmds='chmod 555 $lib'
13515
15121
  ;;
13516
15122
 
 
15123
interix3*)
 
15124
  version_type=linux
 
15125
  need_lib_prefix=no
 
15126
  need_version=no
 
15127
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
15128
  soname_spec='${libname}${release}${shared_ext}$major'
 
15129
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
15130
  shlibpath_var=LD_LIBRARY_PATH
 
15131
  shlibpath_overrides_runpath=no
 
15132
  hardcode_into_libs=yes
 
15133
  ;;
 
15134
 
13517
15135
irix5* | irix6* | nonstopux*)
13518
15136
  case $host_os in
13519
15137
    nonstopux*) version_type=nonstopux ;;
13557
15175
  ;;
13558
15176
 
13559
15177
# This must be Linux ELF.
13560
 
linux*)
 
15178
linux* | k*bsd*-gnu)
13561
15179
  version_type=linux
13562
15180
  need_lib_prefix=no
13563
15181
  need_version=no
13598
15216
  dynamic_linker='NetBSD ld.elf_so'
13599
15217
  ;;
13600
15218
 
13601
 
knetbsd*-gnu)
13602
 
  version_type=linux
13603
 
  need_lib_prefix=no
13604
 
  need_version=no
13605
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13606
 
  soname_spec='${libname}${release}${shared_ext}$major'
13607
 
  shlibpath_var=LD_LIBRARY_PATH
13608
 
  shlibpath_overrides_runpath=no
13609
 
  hardcode_into_libs=yes
13610
 
  dynamic_linker='GNU ld.so'
13611
 
  ;;
13612
 
 
13613
15219
netbsd*)
13614
15220
  version_type=sunos
13615
15221
  need_lib_prefix=no
13647
15253
 
13648
15254
openbsd*)
13649
15255
  version_type=sunos
 
15256
  sys_lib_dlsearch_path_spec="/usr/lib"
13650
15257
  need_lib_prefix=no
13651
15258
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13652
15259
  case $host_os in
13690
15297
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13691
15298
  ;;
13692
15299
 
13693
 
sco3.2v5*)
13694
 
  version_type=osf
13695
 
  soname_spec='${libname}${release}${shared_ext}$major'
13696
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13697
 
  shlibpath_var=LD_LIBRARY_PATH
13698
 
  ;;
13699
 
 
13700
15300
solaris*)
13701
15301
  version_type=linux
13702
15302
  need_lib_prefix=no
13722
15322
  need_version=yes
13723
15323
  ;;
13724
15324
 
13725
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
15325
sysv4 | sysv4.3*)
13726
15326
  version_type=linux
13727
15327
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13728
15328
  soname_spec='${libname}${release}${shared_ext}$major'
13755
15355
  fi
13756
15356
  ;;
13757
15357
 
 
15358
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
15359
  version_type=freebsd-elf
 
15360
  need_lib_prefix=no
 
15361
  need_version=no
 
15362
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
15363
  soname_spec='${libname}${release}${shared_ext}$major'
 
15364
  shlibpath_var=LD_LIBRARY_PATH
 
15365
  hardcode_into_libs=yes
 
15366
  if test "$with_gnu_ld" = yes; then
 
15367
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
15368
    shlibpath_overrides_runpath=no
 
15369
  else
 
15370
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
15371
    shlibpath_overrides_runpath=yes
 
15372
    case $host_os in
 
15373
      sco3.2v5*)
 
15374
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
15375
        ;;
 
15376
    esac
 
15377
  fi
 
15378
  sys_lib_dlsearch_path_spec='/usr/lib'
 
15379
  ;;
 
15380
 
13758
15381
uts4*)
13759
15382
  version_type=linux
13760
15383
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13766
15389
  dynamic_linker=no
13767
15390
  ;;
13768
15391
esac
13769
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13770
 
echo "${ECHO_T}$dynamic_linker" >&6
 
15392
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
15393
echo "${ECHO_T}$dynamic_linker" >&6; }
13771
15394
test "$dynamic_linker" = no && can_build_shared=no
13772
15395
 
13773
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13774
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
15396
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
15397
if test "$GCC" = yes; then
 
15398
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
15399
fi
 
15400
 
 
15401
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
15402
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13775
15403
hardcode_action_CXX=
13776
15404
if test -n "$hardcode_libdir_flag_spec_CXX" || \
13777
15405
   test -n "$runpath_var_CXX" || \
13795
15423
  # directories.
13796
15424
  hardcode_action_CXX=unsupported
13797
15425
fi
13798
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13799
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
 
15426
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
15427
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13800
15428
 
13801
15429
if test "$hardcode_action_CXX" = relink; then
13802
15430
  # Fast installation is not supported
13807
15435
  enable_fast_install=needless
13808
15436
fi
13809
15437
 
13810
 
striplib=
13811
 
old_striplib=
13812
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
13813
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
13814
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
13815
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13816
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13817
 
  echo "$as_me:$LINENO: result: yes" >&5
13818
 
echo "${ECHO_T}yes" >&6
13819
 
else
13820
 
# FIXME - insert some real tests, host_os isn't really good enough
13821
 
  case $host_os in
13822
 
   darwin*)
13823
 
       if test -n "$STRIP" ; then
13824
 
         striplib="$STRIP -x"
13825
 
         echo "$as_me:$LINENO: result: yes" >&5
13826
 
echo "${ECHO_T}yes" >&6
13827
 
       else
13828
 
  echo "$as_me:$LINENO: result: no" >&5
13829
 
echo "${ECHO_T}no" >&6
13830
 
fi
13831
 
       ;;
13832
 
   *)
13833
 
  echo "$as_me:$LINENO: result: no" >&5
13834
 
echo "${ECHO_T}no" >&6
13835
 
    ;;
13836
 
  esac
13837
 
fi
13838
 
 
13839
 
if test "x$enable_dlopen" != xyes; then
13840
 
  enable_dlopen=unknown
13841
 
  enable_dlopen_self=unknown
13842
 
  enable_dlopen_self_static=unknown
13843
 
else
13844
 
  lt_cv_dlopen=no
13845
 
  lt_cv_dlopen_libs=
13846
 
 
13847
 
  case $host_os in
13848
 
  beos*)
13849
 
    lt_cv_dlopen="load_add_on"
13850
 
    lt_cv_dlopen_libs=
13851
 
    lt_cv_dlopen_self=yes
13852
 
    ;;
13853
 
 
13854
 
  mingw* | pw32*)
13855
 
    lt_cv_dlopen="LoadLibrary"
13856
 
    lt_cv_dlopen_libs=
13857
 
   ;;
13858
 
 
13859
 
  cygwin*)
13860
 
    lt_cv_dlopen="dlopen"
13861
 
    lt_cv_dlopen_libs=
13862
 
   ;;
13863
 
 
13864
 
  darwin*)
13865
 
  # if libdl is installed we need to link against it
13866
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13867
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13868
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13869
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13870
 
else
13871
 
  ac_check_lib_save_LIBS=$LIBS
13872
 
LIBS="-ldl  $LIBS"
13873
 
cat >conftest.$ac_ext <<_ACEOF
13874
 
/* confdefs.h.  */
13875
 
_ACEOF
13876
 
cat confdefs.h >>conftest.$ac_ext
13877
 
cat >>conftest.$ac_ext <<_ACEOF
13878
 
/* end confdefs.h.  */
13879
 
 
13880
 
/* Override any gcc2 internal prototype to avoid an error.  */
13881
 
#ifdef __cplusplus
13882
 
extern "C"
13883
 
#endif
13884
 
/* We use char because int might match the return type of a gcc2
13885
 
   builtin and then its argument prototype would still apply.  */
13886
 
char dlopen ();
13887
 
int
13888
 
main ()
13889
 
{
13890
 
dlopen ();
13891
 
  ;
13892
 
  return 0;
13893
 
}
13894
 
_ACEOF
13895
 
rm -f conftest.$ac_objext conftest$ac_exeext
13896
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13897
 
  (eval $ac_link) 2>conftest.er1
13898
 
  ac_status=$?
13899
 
  grep -v '^ *+' conftest.er1 >conftest.err
13900
 
  rm -f conftest.er1
13901
 
  cat conftest.err >&5
13902
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13903
 
  (exit $ac_status); } &&
13904
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
13905
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13906
 
  (eval $ac_try) 2>&5
13907
 
  ac_status=$?
13908
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13909
 
  (exit $ac_status); }; } &&
13910
 
         { ac_try='test -s conftest$ac_exeext'
13911
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13912
 
  (eval $ac_try) 2>&5
13913
 
  ac_status=$?
13914
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915
 
  (exit $ac_status); }; }; then
13916
 
  ac_cv_lib_dl_dlopen=yes
13917
 
else
13918
 
  echo "$as_me: failed program was:" >&5
13919
 
sed 's/^/| /' conftest.$ac_ext >&5
13920
 
 
13921
 
ac_cv_lib_dl_dlopen=no
13922
 
fi
13923
 
rm -f conftest.err conftest.$ac_objext \
13924
 
      conftest$ac_exeext conftest.$ac_ext
13925
 
LIBS=$ac_check_lib_save_LIBS
13926
 
fi
13927
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13928
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13929
 
if test $ac_cv_lib_dl_dlopen = yes; then
13930
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13931
 
else
13932
 
 
13933
 
    lt_cv_dlopen="dyld"
13934
 
    lt_cv_dlopen_libs=
13935
 
    lt_cv_dlopen_self=yes
13936
 
 
13937
 
fi
13938
 
 
13939
 
   ;;
13940
 
 
13941
 
  *)
13942
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
13943
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
13944
 
if test "${ac_cv_func_shl_load+set}" = set; then
13945
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13946
 
else
13947
 
  cat >conftest.$ac_ext <<_ACEOF
13948
 
/* confdefs.h.  */
13949
 
_ACEOF
13950
 
cat confdefs.h >>conftest.$ac_ext
13951
 
cat >>conftest.$ac_ext <<_ACEOF
13952
 
/* end confdefs.h.  */
13953
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
13954
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13955
 
#define shl_load innocuous_shl_load
13956
 
 
13957
 
/* System header to define __stub macros and hopefully few prototypes,
13958
 
    which can conflict with char shl_load (); below.
13959
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13960
 
    <limits.h> exists even on freestanding compilers.  */
13961
 
 
13962
 
#ifdef __STDC__
13963
 
# include <limits.h>
13964
 
#else
13965
 
# include <assert.h>
13966
 
#endif
13967
 
 
13968
 
#undef shl_load
13969
 
 
13970
 
/* Override any gcc2 internal prototype to avoid an error.  */
13971
 
#ifdef __cplusplus
13972
 
extern "C"
13973
 
{
13974
 
#endif
13975
 
/* We use char because int might match the return type of a gcc2
13976
 
   builtin and then its argument prototype would still apply.  */
13977
 
char shl_load ();
13978
 
/* The GNU C library defines this for functions which it implements
13979
 
    to always fail with ENOSYS.  Some functions are actually named
13980
 
    something starting with __ and the normal name is an alias.  */
13981
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
13982
 
choke me
13983
 
#else
13984
 
char (*f) () = shl_load;
13985
 
#endif
13986
 
#ifdef __cplusplus
13987
 
}
13988
 
#endif
13989
 
 
13990
 
int
13991
 
main ()
13992
 
{
13993
 
return f != shl_load;
13994
 
  ;
13995
 
  return 0;
13996
 
}
13997
 
_ACEOF
13998
 
rm -f conftest.$ac_objext conftest$ac_exeext
13999
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14000
 
  (eval $ac_link) 2>conftest.er1
14001
 
  ac_status=$?
14002
 
  grep -v '^ *+' conftest.er1 >conftest.err
14003
 
  rm -f conftest.er1
14004
 
  cat conftest.err >&5
14005
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14006
 
  (exit $ac_status); } &&
14007
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
14008
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14009
 
  (eval $ac_try) 2>&5
14010
 
  ac_status=$?
14011
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14012
 
  (exit $ac_status); }; } &&
14013
 
         { ac_try='test -s conftest$ac_exeext'
14014
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14015
 
  (eval $ac_try) 2>&5
14016
 
  ac_status=$?
14017
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14018
 
  (exit $ac_status); }; }; then
14019
 
  ac_cv_func_shl_load=yes
14020
 
else
14021
 
  echo "$as_me: failed program was:" >&5
14022
 
sed 's/^/| /' conftest.$ac_ext >&5
14023
 
 
14024
 
ac_cv_func_shl_load=no
14025
 
fi
14026
 
rm -f conftest.err conftest.$ac_objext \
14027
 
      conftest$ac_exeext conftest.$ac_ext
14028
 
fi
14029
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
14030
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
14031
 
if test $ac_cv_func_shl_load = yes; then
14032
 
  lt_cv_dlopen="shl_load"
14033
 
else
14034
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
14035
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
14036
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
14037
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14038
 
else
14039
 
  ac_check_lib_save_LIBS=$LIBS
14040
 
LIBS="-ldld  $LIBS"
14041
 
cat >conftest.$ac_ext <<_ACEOF
14042
 
/* confdefs.h.  */
14043
 
_ACEOF
14044
 
cat confdefs.h >>conftest.$ac_ext
14045
 
cat >>conftest.$ac_ext <<_ACEOF
14046
 
/* end confdefs.h.  */
14047
 
 
14048
 
/* Override any gcc2 internal prototype to avoid an error.  */
14049
 
#ifdef __cplusplus
14050
 
extern "C"
14051
 
#endif
14052
 
/* We use char because int might match the return type of a gcc2
14053
 
   builtin and then its argument prototype would still apply.  */
14054
 
char shl_load ();
14055
 
int
14056
 
main ()
14057
 
{
14058
 
shl_load ();
14059
 
  ;
14060
 
  return 0;
14061
 
}
14062
 
_ACEOF
14063
 
rm -f conftest.$ac_objext conftest$ac_exeext
14064
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14065
 
  (eval $ac_link) 2>conftest.er1
14066
 
  ac_status=$?
14067
 
  grep -v '^ *+' conftest.er1 >conftest.err
14068
 
  rm -f conftest.er1
14069
 
  cat conftest.err >&5
14070
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14071
 
  (exit $ac_status); } &&
14072
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
14073
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14074
 
  (eval $ac_try) 2>&5
14075
 
  ac_status=$?
14076
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14077
 
  (exit $ac_status); }; } &&
14078
 
         { ac_try='test -s conftest$ac_exeext'
14079
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14080
 
  (eval $ac_try) 2>&5
14081
 
  ac_status=$?
14082
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083
 
  (exit $ac_status); }; }; then
14084
 
  ac_cv_lib_dld_shl_load=yes
14085
 
else
14086
 
  echo "$as_me: failed program was:" >&5
14087
 
sed 's/^/| /' conftest.$ac_ext >&5
14088
 
 
14089
 
ac_cv_lib_dld_shl_load=no
14090
 
fi
14091
 
rm -f conftest.err conftest.$ac_objext \
14092
 
      conftest$ac_exeext conftest.$ac_ext
14093
 
LIBS=$ac_check_lib_save_LIBS
14094
 
fi
14095
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
14096
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
14097
 
if test $ac_cv_lib_dld_shl_load = yes; then
14098
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
14099
 
else
14100
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
14101
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
14102
 
if test "${ac_cv_func_dlopen+set}" = set; then
14103
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14104
 
else
14105
 
  cat >conftest.$ac_ext <<_ACEOF
14106
 
/* confdefs.h.  */
14107
 
_ACEOF
14108
 
cat confdefs.h >>conftest.$ac_ext
14109
 
cat >>conftest.$ac_ext <<_ACEOF
14110
 
/* end confdefs.h.  */
14111
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
14112
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14113
 
#define dlopen innocuous_dlopen
14114
 
 
14115
 
/* System header to define __stub macros and hopefully few prototypes,
14116
 
    which can conflict with char dlopen (); below.
14117
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14118
 
    <limits.h> exists even on freestanding compilers.  */
14119
 
 
14120
 
#ifdef __STDC__
14121
 
# include <limits.h>
14122
 
#else
14123
 
# include <assert.h>
14124
 
#endif
14125
 
 
14126
 
#undef dlopen
14127
 
 
14128
 
/* Override any gcc2 internal prototype to avoid an error.  */
14129
 
#ifdef __cplusplus
14130
 
extern "C"
14131
 
{
14132
 
#endif
14133
 
/* We use char because int might match the return type of a gcc2
14134
 
   builtin and then its argument prototype would still apply.  */
14135
 
char dlopen ();
14136
 
/* The GNU C library defines this for functions which it implements
14137
 
    to always fail with ENOSYS.  Some functions are actually named
14138
 
    something starting with __ and the normal name is an alias.  */
14139
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
14140
 
choke me
14141
 
#else
14142
 
char (*f) () = dlopen;
14143
 
#endif
14144
 
#ifdef __cplusplus
14145
 
}
14146
 
#endif
14147
 
 
14148
 
int
14149
 
main ()
14150
 
{
14151
 
return f != dlopen;
14152
 
  ;
14153
 
  return 0;
14154
 
}
14155
 
_ACEOF
14156
 
rm -f conftest.$ac_objext conftest$ac_exeext
14157
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14158
 
  (eval $ac_link) 2>conftest.er1
14159
 
  ac_status=$?
14160
 
  grep -v '^ *+' conftest.er1 >conftest.err
14161
 
  rm -f conftest.er1
14162
 
  cat conftest.err >&5
14163
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14164
 
  (exit $ac_status); } &&
14165
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
14166
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14167
 
  (eval $ac_try) 2>&5
14168
 
  ac_status=$?
14169
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14170
 
  (exit $ac_status); }; } &&
14171
 
         { ac_try='test -s conftest$ac_exeext'
14172
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14173
 
  (eval $ac_try) 2>&5
14174
 
  ac_status=$?
14175
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176
 
  (exit $ac_status); }; }; then
14177
 
  ac_cv_func_dlopen=yes
14178
 
else
14179
 
  echo "$as_me: failed program was:" >&5
14180
 
sed 's/^/| /' conftest.$ac_ext >&5
14181
 
 
14182
 
ac_cv_func_dlopen=no
14183
 
fi
14184
 
rm -f conftest.err conftest.$ac_objext \
14185
 
      conftest$ac_exeext conftest.$ac_ext
14186
 
fi
14187
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
14188
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
14189
 
if test $ac_cv_func_dlopen = yes; then
14190
 
  lt_cv_dlopen="dlopen"
14191
 
else
14192
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14193
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
14194
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14195
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14196
 
else
14197
 
  ac_check_lib_save_LIBS=$LIBS
14198
 
LIBS="-ldl  $LIBS"
14199
 
cat >conftest.$ac_ext <<_ACEOF
14200
 
/* confdefs.h.  */
14201
 
_ACEOF
14202
 
cat confdefs.h >>conftest.$ac_ext
14203
 
cat >>conftest.$ac_ext <<_ACEOF
14204
 
/* end confdefs.h.  */
14205
 
 
14206
 
/* Override any gcc2 internal prototype to avoid an error.  */
14207
 
#ifdef __cplusplus
14208
 
extern "C"
14209
 
#endif
14210
 
/* We use char because int might match the return type of a gcc2
14211
 
   builtin and then its argument prototype would still apply.  */
14212
 
char dlopen ();
14213
 
int
14214
 
main ()
14215
 
{
14216
 
dlopen ();
14217
 
  ;
14218
 
  return 0;
14219
 
}
14220
 
_ACEOF
14221
 
rm -f conftest.$ac_objext conftest$ac_exeext
14222
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14223
 
  (eval $ac_link) 2>conftest.er1
14224
 
  ac_status=$?
14225
 
  grep -v '^ *+' conftest.er1 >conftest.err
14226
 
  rm -f conftest.er1
14227
 
  cat conftest.err >&5
14228
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14229
 
  (exit $ac_status); } &&
14230
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
14231
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14232
 
  (eval $ac_try) 2>&5
14233
 
  ac_status=$?
14234
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14235
 
  (exit $ac_status); }; } &&
14236
 
         { ac_try='test -s conftest$ac_exeext'
14237
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14238
 
  (eval $ac_try) 2>&5
14239
 
  ac_status=$?
14240
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14241
 
  (exit $ac_status); }; }; then
14242
 
  ac_cv_lib_dl_dlopen=yes
14243
 
else
14244
 
  echo "$as_me: failed program was:" >&5
14245
 
sed 's/^/| /' conftest.$ac_ext >&5
14246
 
 
14247
 
ac_cv_lib_dl_dlopen=no
14248
 
fi
14249
 
rm -f conftest.err conftest.$ac_objext \
14250
 
      conftest$ac_exeext conftest.$ac_ext
14251
 
LIBS=$ac_check_lib_save_LIBS
14252
 
fi
14253
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14254
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
14255
 
if test $ac_cv_lib_dl_dlopen = yes; then
14256
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14257
 
else
14258
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
14259
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
14260
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
14261
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14262
 
else
14263
 
  ac_check_lib_save_LIBS=$LIBS
14264
 
LIBS="-lsvld  $LIBS"
14265
 
cat >conftest.$ac_ext <<_ACEOF
14266
 
/* confdefs.h.  */
14267
 
_ACEOF
14268
 
cat confdefs.h >>conftest.$ac_ext
14269
 
cat >>conftest.$ac_ext <<_ACEOF
14270
 
/* end confdefs.h.  */
14271
 
 
14272
 
/* Override any gcc2 internal prototype to avoid an error.  */
14273
 
#ifdef __cplusplus
14274
 
extern "C"
14275
 
#endif
14276
 
/* We use char because int might match the return type of a gcc2
14277
 
   builtin and then its argument prototype would still apply.  */
14278
 
char dlopen ();
14279
 
int
14280
 
main ()
14281
 
{
14282
 
dlopen ();
14283
 
  ;
14284
 
  return 0;
14285
 
}
14286
 
_ACEOF
14287
 
rm -f conftest.$ac_objext conftest$ac_exeext
14288
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14289
 
  (eval $ac_link) 2>conftest.er1
14290
 
  ac_status=$?
14291
 
  grep -v '^ *+' conftest.er1 >conftest.err
14292
 
  rm -f conftest.er1
14293
 
  cat conftest.err >&5
14294
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295
 
  (exit $ac_status); } &&
14296
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
14297
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14298
 
  (eval $ac_try) 2>&5
14299
 
  ac_status=$?
14300
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14301
 
  (exit $ac_status); }; } &&
14302
 
         { ac_try='test -s conftest$ac_exeext'
14303
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14304
 
  (eval $ac_try) 2>&5
14305
 
  ac_status=$?
14306
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14307
 
  (exit $ac_status); }; }; then
14308
 
  ac_cv_lib_svld_dlopen=yes
14309
 
else
14310
 
  echo "$as_me: failed program was:" >&5
14311
 
sed 's/^/| /' conftest.$ac_ext >&5
14312
 
 
14313
 
ac_cv_lib_svld_dlopen=no
14314
 
fi
14315
 
rm -f conftest.err conftest.$ac_objext \
14316
 
      conftest$ac_exeext conftest.$ac_ext
14317
 
LIBS=$ac_check_lib_save_LIBS
14318
 
fi
14319
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
14320
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
14321
 
if test $ac_cv_lib_svld_dlopen = yes; then
14322
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
14323
 
else
14324
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
14325
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
14326
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
14327
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14328
 
else
14329
 
  ac_check_lib_save_LIBS=$LIBS
14330
 
LIBS="-ldld  $LIBS"
14331
 
cat >conftest.$ac_ext <<_ACEOF
14332
 
/* confdefs.h.  */
14333
 
_ACEOF
14334
 
cat confdefs.h >>conftest.$ac_ext
14335
 
cat >>conftest.$ac_ext <<_ACEOF
14336
 
/* end confdefs.h.  */
14337
 
 
14338
 
/* Override any gcc2 internal prototype to avoid an error.  */
14339
 
#ifdef __cplusplus
14340
 
extern "C"
14341
 
#endif
14342
 
/* We use char because int might match the return type of a gcc2
14343
 
   builtin and then its argument prototype would still apply.  */
14344
 
char dld_link ();
14345
 
int
14346
 
main ()
14347
 
{
14348
 
dld_link ();
14349
 
  ;
14350
 
  return 0;
14351
 
}
14352
 
_ACEOF
14353
 
rm -f conftest.$ac_objext conftest$ac_exeext
14354
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14355
 
  (eval $ac_link) 2>conftest.er1
14356
 
  ac_status=$?
14357
 
  grep -v '^ *+' conftest.er1 >conftest.err
14358
 
  rm -f conftest.er1
14359
 
  cat conftest.err >&5
14360
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14361
 
  (exit $ac_status); } &&
14362
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
14363
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14364
 
  (eval $ac_try) 2>&5
14365
 
  ac_status=$?
14366
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14367
 
  (exit $ac_status); }; } &&
14368
 
         { ac_try='test -s conftest$ac_exeext'
14369
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14370
 
  (eval $ac_try) 2>&5
14371
 
  ac_status=$?
14372
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14373
 
  (exit $ac_status); }; }; then
14374
 
  ac_cv_lib_dld_dld_link=yes
14375
 
else
14376
 
  echo "$as_me: failed program was:" >&5
14377
 
sed 's/^/| /' conftest.$ac_ext >&5
14378
 
 
14379
 
ac_cv_lib_dld_dld_link=no
14380
 
fi
14381
 
rm -f conftest.err conftest.$ac_objext \
14382
 
      conftest$ac_exeext conftest.$ac_ext
14383
 
LIBS=$ac_check_lib_save_LIBS
14384
 
fi
14385
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
14386
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
14387
 
if test $ac_cv_lib_dld_dld_link = yes; then
14388
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
14389
 
fi
14390
 
 
14391
 
 
14392
 
fi
14393
 
 
14394
 
 
14395
 
fi
14396
 
 
14397
 
 
14398
 
fi
14399
 
 
14400
 
 
14401
 
fi
14402
 
 
14403
 
 
14404
 
fi
14405
 
 
14406
 
    ;;
14407
 
  esac
14408
 
 
14409
 
  if test "x$lt_cv_dlopen" != xno; then
14410
 
    enable_dlopen=yes
14411
 
  else
14412
 
    enable_dlopen=no
14413
 
  fi
14414
 
 
14415
 
  case $lt_cv_dlopen in
14416
 
  dlopen)
14417
 
    save_CPPFLAGS="$CPPFLAGS"
14418
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14419
 
 
14420
 
    save_LDFLAGS="$LDFLAGS"
14421
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14422
 
 
14423
 
    save_LIBS="$LIBS"
14424
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
14425
 
 
14426
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
14427
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
14428
 
if test "${lt_cv_dlopen_self+set}" = set; then
14429
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14430
 
else
14431
 
          if test "$cross_compiling" = yes; then :
14432
 
  lt_cv_dlopen_self=cross
14433
 
else
14434
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14435
 
  lt_status=$lt_dlunknown
14436
 
  cat > conftest.$ac_ext <<EOF
14437
 
#line 14437 "configure"
14438
 
#include "confdefs.h"
14439
 
 
14440
 
#if HAVE_DLFCN_H
14441
 
#include <dlfcn.h>
14442
 
#endif
14443
 
 
14444
 
#include <stdio.h>
14445
 
 
14446
 
#ifdef RTLD_GLOBAL
14447
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
14448
 
#else
14449
 
#  ifdef DL_GLOBAL
14450
 
#    define LT_DLGLOBAL         DL_GLOBAL
14451
 
#  else
14452
 
#    define LT_DLGLOBAL         0
14453
 
#  endif
14454
 
#endif
14455
 
 
14456
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14457
 
   find out it does not work in some platform. */
14458
 
#ifndef LT_DLLAZY_OR_NOW
14459
 
#  ifdef RTLD_LAZY
14460
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
14461
 
#  else
14462
 
#    ifdef DL_LAZY
14463
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
14464
 
#    else
14465
 
#      ifdef RTLD_NOW
14466
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
14467
 
#      else
14468
 
#        ifdef DL_NOW
14469
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
14470
 
#        else
14471
 
#          define LT_DLLAZY_OR_NOW      0
14472
 
#        endif
14473
 
#      endif
14474
 
#    endif
14475
 
#  endif
14476
 
#endif
14477
 
 
14478
 
#ifdef __cplusplus
14479
 
extern "C" void exit (int);
14480
 
#endif
14481
 
 
14482
 
void fnord() { int i=42;}
14483
 
int main ()
14484
 
{
14485
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14486
 
  int status = $lt_dlunknown;
14487
 
 
14488
 
  if (self)
14489
 
    {
14490
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
14491
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14492
 
      /* dlclose (self); */
14493
 
    }
14494
 
 
14495
 
    exit (status);
14496
 
}
14497
 
EOF
14498
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14499
 
  (eval $ac_link) 2>&5
14500
 
  ac_status=$?
14501
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14502
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
14503
 
    (./conftest; exit; ) >&5 2>/dev/null
14504
 
    lt_status=$?
14505
 
    case x$lt_status in
14506
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14507
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14508
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
14509
 
    esac
14510
 
  else :
14511
 
    # compilation failed
14512
 
    lt_cv_dlopen_self=no
14513
 
  fi
14514
 
fi
14515
 
rm -fr conftest*
14516
 
 
14517
 
 
14518
 
fi
14519
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
14520
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
14521
 
 
14522
 
    if test "x$lt_cv_dlopen_self" = xyes; then
14523
 
      LDFLAGS="$LDFLAGS $link_static_flag"
14524
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
14525
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
14526
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
14527
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14528
 
else
14529
 
          if test "$cross_compiling" = yes; then :
14530
 
  lt_cv_dlopen_self_static=cross
14531
 
else
14532
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14533
 
  lt_status=$lt_dlunknown
14534
 
  cat > conftest.$ac_ext <<EOF
14535
 
#line 14535 "configure"
14536
 
#include "confdefs.h"
14537
 
 
14538
 
#if HAVE_DLFCN_H
14539
 
#include <dlfcn.h>
14540
 
#endif
14541
 
 
14542
 
#include <stdio.h>
14543
 
 
14544
 
#ifdef RTLD_GLOBAL
14545
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
14546
 
#else
14547
 
#  ifdef DL_GLOBAL
14548
 
#    define LT_DLGLOBAL         DL_GLOBAL
14549
 
#  else
14550
 
#    define LT_DLGLOBAL         0
14551
 
#  endif
14552
 
#endif
14553
 
 
14554
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14555
 
   find out it does not work in some platform. */
14556
 
#ifndef LT_DLLAZY_OR_NOW
14557
 
#  ifdef RTLD_LAZY
14558
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
14559
 
#  else
14560
 
#    ifdef DL_LAZY
14561
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
14562
 
#    else
14563
 
#      ifdef RTLD_NOW
14564
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
14565
 
#      else
14566
 
#        ifdef DL_NOW
14567
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
14568
 
#        else
14569
 
#          define LT_DLLAZY_OR_NOW      0
14570
 
#        endif
14571
 
#      endif
14572
 
#    endif
14573
 
#  endif
14574
 
#endif
14575
 
 
14576
 
#ifdef __cplusplus
14577
 
extern "C" void exit (int);
14578
 
#endif
14579
 
 
14580
 
void fnord() { int i=42;}
14581
 
int main ()
14582
 
{
14583
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14584
 
  int status = $lt_dlunknown;
14585
 
 
14586
 
  if (self)
14587
 
    {
14588
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
14589
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14590
 
      /* dlclose (self); */
14591
 
    }
14592
 
 
14593
 
    exit (status);
14594
 
}
14595
 
EOF
14596
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14597
 
  (eval $ac_link) 2>&5
14598
 
  ac_status=$?
14599
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14600
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
14601
 
    (./conftest; exit; ) >&5 2>/dev/null
14602
 
    lt_status=$?
14603
 
    case x$lt_status in
14604
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14605
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14606
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
14607
 
    esac
14608
 
  else :
14609
 
    # compilation failed
14610
 
    lt_cv_dlopen_self_static=no
14611
 
  fi
14612
 
fi
14613
 
rm -fr conftest*
14614
 
 
14615
 
 
14616
 
fi
14617
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
14618
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
14619
 
    fi
14620
 
 
14621
 
    CPPFLAGS="$save_CPPFLAGS"
14622
 
    LDFLAGS="$save_LDFLAGS"
14623
 
    LIBS="$save_LIBS"
14624
 
    ;;
14625
 
  esac
14626
 
 
14627
 
  case $lt_cv_dlopen_self in
14628
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14629
 
  *) enable_dlopen_self=unknown ;;
14630
 
  esac
14631
 
 
14632
 
  case $lt_cv_dlopen_self_static in
14633
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14634
 
  *) enable_dlopen_self_static=unknown ;;
14635
 
  esac
14636
 
fi
14637
 
 
14638
15438
 
14639
15439
# The else clause should only fire when bootstrapping the
14640
15440
# libtool distribution, otherwise you forgot to ship ltmain.sh
14649
15449
  # Now quote all the things that may contain metacharacters while being
14650
15450
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
14651
15451
  # variables and quote the copies for generation of the libtool script.
14652
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
15452
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14653
15453
    SED SHELL STRIP \
14654
15454
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14655
15455
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14767
15567
# A C compiler.
14768
15568
LTCC=$lt_LTCC
14769
15569
 
 
15570
# LTCC compiler flags.
 
15571
LTCFLAGS=$lt_LTCFLAGS
 
15572
 
14770
15573
# A language-specific compiler.
14771
15574
CC=$lt_compiler_CXX
14772
15575
 
15109
15912
# If no C compiler was specified, use CC.
15110
15913
LTCC=${LTCC-"$CC"}
15111
15914
 
 
15915
# If no C compiler flags were specified, use CFLAGS.
 
15916
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
15917
 
15112
15918
# Allow CC to be a program name with arguments.
15113
15919
compiler=$CC
15114
15920
 
15116
15922
# save warnings/boilerplate of simple test code
15117
15923
ac_outfile=conftest.$ac_objext
15118
15924
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
15119
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
15925
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15120
15926
_lt_compiler_boilerplate=`cat conftest.err`
15121
15927
$rm conftest*
15122
15928
 
15123
15929
ac_outfile=conftest.$ac_objext
15124
15930
printf "$lt_simple_link_test_code" >conftest.$ac_ext
15125
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
15931
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15126
15932
_lt_linker_boilerplate=`cat conftest.err`
15127
15933
$rm conftest*
15128
15934
 
15143
15949
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15144
15950
 
15145
15951
 
15146
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15147
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
15148
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
15149
 
echo "${ECHO_T}$can_build_shared" >&6
 
15952
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
15953
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
15954
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
15955
echo "${ECHO_T}$can_build_shared" >&6; }
15150
15956
 
15151
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15152
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
15957
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
15958
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
15153
15959
test "$can_build_shared" = "no" && enable_shared=no
15154
15960
 
15155
15961
# On AIX, shared libraries and static libraries use the same namespace, and
15168
15974
  fi
15169
15975
  ;;
15170
15976
esac
15171
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
15172
 
echo "${ECHO_T}$enable_shared" >&6
 
15977
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
15978
echo "${ECHO_T}$enable_shared" >&6; }
15173
15979
 
15174
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15175
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
15980
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
15981
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
15176
15982
# Make sure either enable_shared or enable_static is yes.
15177
15983
test "$enable_shared" = yes || enable_static=yes
15178
 
echo "$as_me:$LINENO: result: $enable_static" >&5
15179
 
echo "${ECHO_T}$enable_static" >&6
15180
 
 
15181
 
test "$ld_shlibs_F77" = no && can_build_shared=no
 
15984
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
15985
echo "${ECHO_T}$enable_static" >&6; }
15182
15986
 
15183
15987
GCC_F77="$G77"
15184
15988
LD_F77="$LD"
15187
15991
lt_prog_compiler_pic_F77=
15188
15992
lt_prog_compiler_static_F77=
15189
15993
 
15190
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15191
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
15994
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
15995
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15192
15996
 
15193
15997
  if test "$GCC" = yes; then
15194
15998
    lt_prog_compiler_wl_F77='-Wl,'
15226
16030
      lt_prog_compiler_pic_F77='-fno-common'
15227
16031
      ;;
15228
16032
 
 
16033
    interix3*)
 
16034
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
16035
      # Instead, we relocate shared libraries at runtime.
 
16036
      ;;
 
16037
 
15229
16038
    msdosdjgpp*)
15230
16039
      # Just because we use GCC doesn't mean we suddenly get shared libraries
15231
16040
      # on systems that don't support them.
15312
16121
      lt_prog_compiler_static_F77='-Bstatic'
15313
16122
      ;;
15314
16123
 
15315
 
    linux*)
 
16124
    linux* | k*bsd*-gnu)
15316
16125
      case $cc_basename in
15317
16126
      icc* | ecc*)
15318
16127
        lt_prog_compiler_wl_F77='-Wl,'
15340
16149
      lt_prog_compiler_static_F77='-non_shared'
15341
16150
      ;;
15342
16151
 
15343
 
    sco3.2v5*)
15344
 
      lt_prog_compiler_pic_F77='-Kpic'
15345
 
      lt_prog_compiler_static_F77='-dn'
15346
 
      ;;
15347
 
 
15348
16152
    solaris*)
15349
16153
      lt_prog_compiler_pic_F77='-KPIC'
15350
16154
      lt_prog_compiler_static_F77='-Bstatic'
15362
16166
      lt_prog_compiler_static_F77='-Bstatic'
15363
16167
      ;;
15364
16168
 
15365
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
16169
    sysv4 | sysv4.2uw2* | sysv4.3*)
15366
16170
      lt_prog_compiler_wl_F77='-Wl,'
15367
16171
      lt_prog_compiler_pic_F77='-KPIC'
15368
16172
      lt_prog_compiler_static_F77='-Bstatic'
15375
16179
      fi
15376
16180
      ;;
15377
16181
 
 
16182
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
16183
      lt_prog_compiler_wl_F77='-Wl,'
 
16184
      lt_prog_compiler_pic_F77='-KPIC'
 
16185
      lt_prog_compiler_static_F77='-Bstatic'
 
16186
      ;;
 
16187
 
15378
16188
    unicos*)
15379
16189
      lt_prog_compiler_wl_F77='-Wl,'
15380
16190
      lt_prog_compiler_can_build_shared_F77=no
15391
16201
    esac
15392
16202
  fi
15393
16203
 
15394
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15395
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 
16204
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
16205
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
15396
16206
 
15397
16207
#
15398
16208
# Check to make sure the PIC flag actually works.
15399
16209
#
15400
16210
if test -n "$lt_prog_compiler_pic_F77"; then
15401
16211
 
15402
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15403
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
 
16212
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
16213
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
15404
16214
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
15405
16215
  echo $ECHO_N "(cached) $ECHO_C" >&6
15406
16216
else
15417
16227
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15418
16228
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15419
16229
   -e 's:$: $lt_compiler_flag:'`
15420
 
   (eval echo "\"\$as_me:15420: $lt_compile\"" >&5)
 
16230
   (eval echo "\"\$as_me:16230: $lt_compile\"" >&5)
15421
16231
   (eval "$lt_compile" 2>conftest.err)
15422
16232
   ac_status=$?
15423
16233
   cat conftest.err >&5
15424
 
   echo "$as_me:15424: \$? = $ac_status" >&5
 
16234
   echo "$as_me:16234: \$? = $ac_status" >&5
15425
16235
   if (exit $ac_status) && test -s "$ac_outfile"; then
15426
16236
     # The compiler can only warn and ignore the option if not recognized
15427
16237
     # So say no if there are warnings other than the usual output.
15428
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
15429
 
     $SED '/^$/d' conftest.err >conftest.er2
15430
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
16238
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
16239
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
16240
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15431
16241
       lt_prog_compiler_pic_works_F77=yes
15432
16242
     fi
15433
16243
   fi
15434
16244
   $rm conftest*
15435
16245
 
15436
16246
fi
15437
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15438
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 
16247
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
 
16248
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
15439
16249
 
15440
16250
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
15441
16251
    case $lt_prog_compiler_pic_F77 in
15458
16268
    ;;
15459
16269
esac
15460
16270
 
15461
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15462
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
16271
#
 
16272
# Check to make sure the static flag actually works.
 
16273
#
 
16274
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
 
16275
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
16276
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
16277
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
 
16278
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16279
else
 
16280
  lt_prog_compiler_static_works_F77=no
 
16281
   save_LDFLAGS="$LDFLAGS"
 
16282
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
16283
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
16284
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
16285
     # The linker can only warn and ignore the option if not recognized
 
16286
     # So say no if there are warnings
 
16287
     if test -s conftest.err; then
 
16288
       # Append any errors to the config.log.
 
16289
       cat conftest.err 1>&5
 
16290
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
16291
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
16292
       if diff conftest.exp conftest.er2 >/dev/null; then
 
16293
         lt_prog_compiler_static_works_F77=yes
 
16294
       fi
 
16295
     else
 
16296
       lt_prog_compiler_static_works_F77=yes
 
16297
     fi
 
16298
   fi
 
16299
   $rm conftest*
 
16300
   LDFLAGS="$save_LDFLAGS"
 
16301
 
 
16302
fi
 
16303
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
 
16304
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
 
16305
 
 
16306
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
 
16307
    :
 
16308
else
 
16309
    lt_prog_compiler_static_F77=
 
16310
fi
 
16311
 
 
16312
 
 
16313
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
16314
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15463
16315
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15464
16316
  echo $ECHO_N "(cached) $ECHO_C" >&6
15465
16317
else
15479
16331
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15480
16332
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15481
16333
   -e 's:$: $lt_compiler_flag:'`
15482
 
   (eval echo "\"\$as_me:15482: $lt_compile\"" >&5)
 
16334
   (eval echo "\"\$as_me:16334: $lt_compile\"" >&5)
15483
16335
   (eval "$lt_compile" 2>out/conftest.err)
15484
16336
   ac_status=$?
15485
16337
   cat out/conftest.err >&5
15486
 
   echo "$as_me:15486: \$? = $ac_status" >&5
 
16338
   echo "$as_me:16338: \$? = $ac_status" >&5
15487
16339
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15488
16340
   then
15489
16341
     # The compiler can only warn and ignore the option if not recognized
15490
16342
     # So say no if there are warnings
15491
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
15492
 
     $SED '/^$/d' out/conftest.err >out/conftest.er2
15493
 
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
16343
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
16344
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
16345
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15494
16346
       lt_cv_prog_compiler_c_o_F77=yes
15495
16347
     fi
15496
16348
   fi
15505
16357
   $rm conftest*
15506
16358
 
15507
16359
fi
15508
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15509
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 
16360
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
16361
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
15510
16362
 
15511
16363
 
15512
16364
hard_links="nottested"
15513
16365
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
15514
16366
  # do not overwrite the value of need_locks provided by the user
15515
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15516
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
16367
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
16368
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15517
16369
  hard_links=yes
15518
16370
  $rm conftest*
15519
16371
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15520
16372
  touch conftest.a
15521
16373
  ln conftest.a conftest.b 2>&5 || hard_links=no
15522
16374
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15523
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
15524
 
echo "${ECHO_T}$hard_links" >&6
 
16375
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
16376
echo "${ECHO_T}$hard_links" >&6; }
15525
16377
  if test "$hard_links" = no; then
15526
16378
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15527
16379
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15531
16383
  need_locks=no
15532
16384
fi
15533
16385
 
15534
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15535
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
16386
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
16387
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15536
16388
 
15537
16389
  runpath_var=
15538
16390
  allow_undefined_flag_F77=
15590
16442
      with_gnu_ld=no
15591
16443
    fi
15592
16444
    ;;
 
16445
  interix*)
 
16446
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
16447
    with_gnu_ld=yes
 
16448
    ;;
15593
16449
  openbsd*)
15594
16450
    with_gnu_ld=no
15595
16451
    ;;
15674
16530
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15675
16531
 
15676
16532
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15677
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
16533
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15678
16534
        # If the export-symbols file already is a .def file (1st line
15679
16535
        # is EXPORTS), use it as is; otherwise, prepend...
15680
16536
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15683
16539
          echo EXPORTS > $output_objdir/$soname.def;
15684
16540
          cat $export_symbols >> $output_objdir/$soname.def;
15685
16541
        fi~
15686
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 
16542
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15687
16543
      else
15688
16544
        ld_shlibs_F77=no
15689
16545
      fi
15690
16546
      ;;
15691
16547
 
15692
 
    linux*)
 
16548
    interix3*)
 
16549
      hardcode_direct_F77=no
 
16550
      hardcode_shlibpath_var_F77=no
 
16551
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
16552
      export_dynamic_flag_spec_F77='${wl}-E'
 
16553
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
16554
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
16555
      # default) and relocated if they conflict, which is a slow very memory
 
16556
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
16557
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
16558
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
16559
      archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
16560
      archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
16561
      ;;
 
16562
 
 
16563
    linux* | k*bsd*-gnu)
15693
16564
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15694
16565
        tmp_addflag=
15695
16566
        case $cc_basename,$host_cpu in
15721
16592
      fi
15722
16593
      ;;
15723
16594
 
15724
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
16595
    netbsd* | netbsdelf*-gnu)
15725
16596
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15726
16597
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15727
16598
        wlarc=
15731
16602
      fi
15732
16603
      ;;
15733
16604
 
15734
 
    solaris* | sysv5*)
 
16605
    solaris*)
15735
16606
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15736
16607
        ld_shlibs_F77=no
15737
16608
        cat <<EOF 1>&2
15752
16623
      fi
15753
16624
      ;;
15754
16625
 
 
16626
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
16627
      case `$LD -v 2>&1` in
 
16628
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
16629
        ld_shlibs_F77=no
 
16630
        cat <<_LT_EOF 1>&2
 
16631
 
 
16632
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
16633
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
16634
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
16635
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
16636
*** your PATH or compiler configuration so that the native linker is
 
16637
*** used, and then restart.
 
16638
 
 
16639
_LT_EOF
 
16640
        ;;
 
16641
        *)
 
16642
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
16643
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
16644
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
16645
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
16646
          else
 
16647
            ld_shlibs_F77=no
 
16648
          fi
 
16649
        ;;
 
16650
      esac
 
16651
      ;;
 
16652
 
15755
16653
    sunos4*)
15756
16654
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15757
16655
      wlarc=
15785
16683
      # Note: this linker hardcodes the directories in LIBPATH if there
15786
16684
      # are no directories specified by -L.
15787
16685
      hardcode_minus_L_F77=yes
15788
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
16686
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15789
16687
        # Neither direct hardcoding nor static linking is supported with a
15790
16688
        # broken collect2.
15791
16689
        hardcode_direct_F77=unsupported
15819
16717
            break
15820
16718
          fi
15821
16719
          done
 
16720
          ;;
15822
16721
        esac
15823
16722
 
15824
16723
        exp_sym_flag='-bexport'
15856
16755
          hardcode_libdir_flag_spec_F77='-L$libdir'
15857
16756
          hardcode_libdir_separator_F77=
15858
16757
          fi
 
16758
          ;;
15859
16759
        esac
15860
16760
        shared_flag='-shared'
15861
16761
        if test "$aix_use_runtimelinking" = yes; then
15868
16768
        # chokes on -Wl,-G. The following line is correct:
15869
16769
          shared_flag='-G'
15870
16770
        else
15871
 
        if test "$aix_use_runtimelinking" = yes; then
 
16771
          if test "$aix_use_runtimelinking" = yes; then
15872
16772
            shared_flag='${wl}-G'
15873
16773
          else
15874
16774
            shared_flag='${wl}-bM:SRE'
15875
 
        fi
 
16775
          fi
15876
16776
        fi
15877
16777
      fi
15878
16778
 
15890
16790
      end
15891
16791
_ACEOF
15892
16792
rm -f conftest.$ac_objext conftest$ac_exeext
15893
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15894
 
  (eval $ac_link) 2>conftest.er1
 
16793
if { (ac_try="$ac_link"
 
16794
case "(($ac_try" in
 
16795
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16796
  *) ac_try_echo=$ac_try;;
 
16797
esac
 
16798
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16799
  (eval "$ac_link") 2>conftest.er1
15895
16800
  ac_status=$?
15896
16801
  grep -v '^ *+' conftest.er1 >conftest.err
15897
16802
  rm -f conftest.er1
15898
16803
  cat conftest.err >&5
15899
16804
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15900
16805
  (exit $ac_status); } &&
15901
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
15902
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15903
 
  (eval $ac_try) 2>&5
 
16806
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
16807
  { (case "(($ac_try" in
 
16808
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16809
  *) ac_try_echo=$ac_try;;
 
16810
esac
 
16811
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16812
  (eval "$ac_try") 2>&5
15904
16813
  ac_status=$?
15905
16814
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906
16815
  (exit $ac_status); }; } &&
15907
16816
         { ac_try='test -s conftest$ac_exeext'
15908
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15909
 
  (eval $ac_try) 2>&5
 
16817
  { (case "(($ac_try" in
 
16818
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16819
  *) ac_try_echo=$ac_try;;
 
16820
esac
 
16821
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16822
  (eval "$ac_try") 2>&5
15910
16823
  ac_status=$?
15911
16824
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912
16825
  (exit $ac_status); }; }; then
15920
16833
  echo "$as_me: failed program was:" >&5
15921
16834
sed 's/^/| /' conftest.$ac_ext >&5
15922
16835
 
 
16836
 
15923
16837
fi
 
16838
 
15924
16839
rm -f conftest.err conftest.$ac_objext \
15925
16840
      conftest$ac_exeext conftest.$ac_ext
15926
16841
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15927
16842
 
15928
16843
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15929
 
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
16844
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15930
16845
       else
15931
16846
        if test "$host_cpu" = ia64; then
15932
16847
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15933
16848
          allow_undefined_flag_F77="-z nodefs"
15934
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
16849
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
15935
16850
        else
15936
16851
         # Determine the default libpath from the value encoded in an empty executable.
15937
16852
         cat >conftest.$ac_ext <<_ACEOF
15940
16855
      end
15941
16856
_ACEOF
15942
16857
rm -f conftest.$ac_objext conftest$ac_exeext
15943
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15944
 
  (eval $ac_link) 2>conftest.er1
 
16858
if { (ac_try="$ac_link"
 
16859
case "(($ac_try" in
 
16860
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16861
  *) ac_try_echo=$ac_try;;
 
16862
esac
 
16863
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16864
  (eval "$ac_link") 2>conftest.er1
15945
16865
  ac_status=$?
15946
16866
  grep -v '^ *+' conftest.er1 >conftest.err
15947
16867
  rm -f conftest.er1
15948
16868
  cat conftest.err >&5
15949
16869
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15950
16870
  (exit $ac_status); } &&
15951
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
15952
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15953
 
  (eval $ac_try) 2>&5
 
16871
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
16872
  { (case "(($ac_try" in
 
16873
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16874
  *) ac_try_echo=$ac_try;;
 
16875
esac
 
16876
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16877
  (eval "$ac_try") 2>&5
15954
16878
  ac_status=$?
15955
16879
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15956
16880
  (exit $ac_status); }; } &&
15957
16881
         { ac_try='test -s conftest$ac_exeext'
15958
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15959
 
  (eval $ac_try) 2>&5
 
16882
  { (case "(($ac_try" in
 
16883
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16884
  *) ac_try_echo=$ac_try;;
 
16885
esac
 
16886
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16887
  (eval "$ac_try") 2>&5
15960
16888
  ac_status=$?
15961
16889
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15962
16890
  (exit $ac_status); }; }; then
15970
16898
  echo "$as_me: failed program was:" >&5
15971
16899
sed 's/^/| /' conftest.$ac_ext >&5
15972
16900
 
 
16901
 
15973
16902
fi
 
16903
 
15974
16904
rm -f conftest.err conftest.$ac_objext \
15975
16905
      conftest$ac_exeext conftest.$ac_ext
15976
16906
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15980
16910
          # -berok will link without error, but may produce a broken library.
15981
16911
          no_undefined_flag_F77=' ${wl}-bernotok'
15982
16912
          allow_undefined_flag_F77=' ${wl}-berok'
15983
 
          # -bexpall does not export symbols beginning with underscore (_)
15984
 
          always_export_symbols_F77=yes
15985
16913
          # Exported symbols can be pulled into shared objects from archives
15986
 
          whole_archive_flag_spec_F77=' '
 
16914
          whole_archive_flag_spec_F77='$convenience'
15987
16915
          archive_cmds_need_lc_F77=yes
15988
16916
          # This is similar to how AIX traditionally builds its shared libraries.
15989
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
16917
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
15990
16918
        fi
15991
16919
      fi
15992
16920
      ;;
16104
17032
      ;;
16105
17033
 
16106
17034
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16107
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
17035
    freebsd* | dragonfly*)
16108
17036
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16109
17037
      hardcode_libdir_flag_spec_F77='-R$libdir'
16110
17038
      hardcode_direct_F77=yes
16127
17055
      export_dynamic_flag_spec_F77='${wl}-E'
16128
17056
      ;;
16129
17057
 
16130
 
    hpux10* | hpux11*)
 
17058
    hpux10*)
 
17059
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
17060
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
17061
      else
 
17062
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
17063
      fi
 
17064
      if test "$with_gnu_ld" = no; then
 
17065
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
17066
        hardcode_libdir_separator_F77=:
 
17067
 
 
17068
        hardcode_direct_F77=yes
 
17069
        export_dynamic_flag_spec_F77='${wl}-E'
 
17070
 
 
17071
        # hardcode_minus_L: Not really in the search PATH,
 
17072
        # but as the default location of the library.
 
17073
        hardcode_minus_L_F77=yes
 
17074
      fi
 
17075
      ;;
 
17076
 
 
17077
    hpux11*)
16131
17078
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16132
17079
        case $host_cpu in
16133
 
        hppa*64*|ia64*)
 
17080
        hppa*64*)
16134
17081
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16135
17082
          ;;
 
17083
        ia64*)
 
17084
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
17085
          ;;
16136
17086
        *)
16137
17087
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16138
17088
          ;;
16139
17089
        esac
16140
17090
      else
16141
17091
        case $host_cpu in
16142
 
        hppa*64*|ia64*)
16143
 
          archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
17092
        hppa*64*)
 
17093
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17094
          ;;
 
17095
        ia64*)
 
17096
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16144
17097
          ;;
16145
17098
        *)
16146
 
          archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
17099
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16147
17100
          ;;
16148
17101
        esac
16149
17102
      fi
16150
17103
      if test "$with_gnu_ld" = no; then
 
17104
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
17105
        hardcode_libdir_separator_F77=:
 
17106
 
16151
17107
        case $host_cpu in
16152
 
        hppa*64*)
16153
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
17108
        hppa*64*|ia64*)
16154
17109
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
16155
 
          hardcode_libdir_separator_F77=:
16156
 
          hardcode_direct_F77=no
16157
 
          hardcode_shlibpath_var_F77=no
16158
 
          ;;
16159
 
        ia64*)
16160
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
16161
 
          hardcode_direct_F77=no
16162
 
          hardcode_shlibpath_var_F77=no
16163
 
 
16164
 
          # hardcode_minus_L: Not really in the search PATH,
16165
 
          # but as the default location of the library.
16166
 
          hardcode_minus_L_F77=yes
 
17110
          hardcode_direct_F77=no
 
17111
          hardcode_shlibpath_var_F77=no
16167
17112
          ;;
16168
17113
        *)
16169
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16170
 
          hardcode_libdir_separator_F77=:
16171
17114
          hardcode_direct_F77=yes
16172
17115
          export_dynamic_flag_spec_F77='${wl}-E'
16173
17116
 
16191
17134
      link_all_deplibs_F77=yes
16192
17135
      ;;
16193
17136
 
16194
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
17137
    netbsd* | netbsdelf*-gnu)
16195
17138
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16196
17139
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
16197
17140
      else
16269
17212
      hardcode_libdir_separator_F77=:
16270
17213
      ;;
16271
17214
 
16272
 
    sco3.2v5*)
16273
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16274
 
      hardcode_shlibpath_var_F77=no
16275
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
16276
 
      runpath_var=LD_RUN_PATH
16277
 
      hardcode_runpath_var=yes
16278
 
      ;;
16279
 
 
16280
17215
    solaris*)
16281
17216
      no_undefined_flag_F77=' -z text'
16282
17217
      if test "$GCC" = yes; then
16362
17297
      fi
16363
17298
      ;;
16364
17299
 
16365
 
    sysv4.2uw2*)
16366
 
      archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16367
 
      hardcode_direct_F77=yes
16368
 
      hardcode_minus_L_F77=no
16369
 
      hardcode_shlibpath_var_F77=no
16370
 
      hardcode_runpath_var=yes
16371
 
      runpath_var=LD_RUN_PATH
16372
 
      ;;
16373
 
 
16374
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
16375
 
      no_undefined_flag_F77='${wl}-z ${wl}text'
16376
 
      if test "$GCC" = yes; then
16377
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16378
 
      else
16379
 
        archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16380
 
      fi
16381
 
      runpath_var='LD_RUN_PATH'
16382
 
      hardcode_shlibpath_var_F77=no
16383
 
      ;;
16384
 
 
16385
 
    sysv5*)
16386
 
      no_undefined_flag_F77=' -z text'
16387
 
      # $CC -shared without GNU ld will not create a library from C++
16388
 
      # object files and a static libstdc++, better avoid it by now
16389
 
      archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16390
 
      archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16391
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16392
 
      hardcode_libdir_flag_spec_F77=
16393
 
      hardcode_shlibpath_var_F77=no
16394
 
      runpath_var='LD_RUN_PATH'
 
17300
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
17301
      no_undefined_flag_F77='${wl}-z,text'
 
17302
      archive_cmds_need_lc_F77=no
 
17303
      hardcode_shlibpath_var_F77=no
 
17304
      runpath_var='LD_RUN_PATH'
 
17305
 
 
17306
      if test "$GCC" = yes; then
 
17307
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17308
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17309
      else
 
17310
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17311
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17312
      fi
 
17313
      ;;
 
17314
 
 
17315
    sysv5* | sco3.2v5* | sco5v6*)
 
17316
      # Note: We can NOT use -z defs as we might desire, because we do not
 
17317
      # link with -lc, and that would cause any symbols used from libc to
 
17318
      # always be unresolved, which means just about no library would
 
17319
      # ever link correctly.  If we're not using GNU ld we use -z text
 
17320
      # though, which does catch some bad symbols but isn't as heavy-handed
 
17321
      # as -z defs.
 
17322
      no_undefined_flag_F77='${wl}-z,text'
 
17323
      allow_undefined_flag_F77='${wl}-z,nodefs'
 
17324
      archive_cmds_need_lc_F77=no
 
17325
      hardcode_shlibpath_var_F77=no
 
17326
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
17327
      hardcode_libdir_separator_F77=':'
 
17328
      link_all_deplibs_F77=yes
 
17329
      export_dynamic_flag_spec_F77='${wl}-Bexport'
 
17330
      runpath_var='LD_RUN_PATH'
 
17331
 
 
17332
      if test "$GCC" = yes; then
 
17333
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17334
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17335
      else
 
17336
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17337
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17338
      fi
16395
17339
      ;;
16396
17340
 
16397
17341
    uts4*)
16406
17350
    esac
16407
17351
  fi
16408
17352
 
16409
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16410
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
 
17353
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
17354
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
16411
17355
test "$ld_shlibs_F77" = no && can_build_shared=no
16412
17356
 
16413
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16414
 
if test "$GCC" = yes; then
16415
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16416
 
fi
16417
 
 
16418
17357
#
16419
17358
# Do we need to explicitly link libc?
16420
17359
#
16432
17371
      # Test whether the compiler implicitly links with -lc since on some
16433
17372
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16434
17373
      # to ld, don't add -lc before -lgcc.
16435
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16436
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
17374
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
17375
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16437
17376
      $rm conftest*
16438
17377
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16439
17378
 
16447
17386
        libobjs=conftest.$ac_objext
16448
17387
        deplibs=
16449
17388
        wl=$lt_prog_compiler_wl_F77
 
17389
        pic_flag=$lt_prog_compiler_pic_F77
16450
17390
        compiler_flags=-v
16451
17391
        linker_flags=-v
16452
17392
        verstring=
16469
17409
        cat conftest.err 1>&5
16470
17410
      fi
16471
17411
      $rm conftest*
16472
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16473
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 
17412
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
17413
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
16474
17414
      ;;
16475
17415
    esac
16476
17416
  fi
16477
17417
  ;;
16478
17418
esac
16479
17419
 
16480
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16481
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
17420
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
17421
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16482
17422
library_names_spec=
16483
17423
libname_spec='lib$name'
16484
17424
soname_spec=
16684
17624
  dynamic_linker=no
16685
17625
  ;;
16686
17626
 
16687
 
kfreebsd*-gnu)
16688
 
  version_type=linux
16689
 
  need_lib_prefix=no
16690
 
  need_version=no
16691
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16692
 
  soname_spec='${libname}${release}${shared_ext}$major'
16693
 
  shlibpath_var=LD_LIBRARY_PATH
16694
 
  shlibpath_overrides_runpath=no
16695
 
  hardcode_into_libs=yes
16696
 
  dynamic_linker='GNU ld.so'
16697
 
  ;;
16698
 
 
16699
17627
freebsd* | dragonfly*)
16700
17628
  # DragonFly does not have aout.  When/if they implement a new
16701
17629
  # versioning mechanism, adjust this.
16728
17656
    shlibpath_overrides_runpath=yes
16729
17657
    hardcode_into_libs=yes
16730
17658
    ;;
16731
 
  *) # from 3.2 on
 
17659
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
17660
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16732
17661
    shlibpath_overrides_runpath=no
16733
17662
    hardcode_into_libs=yes
16734
17663
    ;;
 
17664
  freebsd*) # from 4.6 on
 
17665
    shlibpath_overrides_runpath=yes
 
17666
    hardcode_into_libs=yes
 
17667
    ;;
16735
17668
  esac
16736
17669
  ;;
16737
17670
 
16791
17724
  postinstall_cmds='chmod 555 $lib'
16792
17725
  ;;
16793
17726
 
 
17727
interix3*)
 
17728
  version_type=linux
 
17729
  need_lib_prefix=no
 
17730
  need_version=no
 
17731
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
17732
  soname_spec='${libname}${release}${shared_ext}$major'
 
17733
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
17734
  shlibpath_var=LD_LIBRARY_PATH
 
17735
  shlibpath_overrides_runpath=no
 
17736
  hardcode_into_libs=yes
 
17737
  ;;
 
17738
 
16794
17739
irix5* | irix6* | nonstopux*)
16795
17740
  case $host_os in
16796
17741
    nonstopux*) version_type=nonstopux ;;
16834
17779
  ;;
16835
17780
 
16836
17781
# This must be Linux ELF.
16837
 
linux*)
 
17782
linux* | k*bsd*-gnu)
16838
17783
  version_type=linux
16839
17784
  need_lib_prefix=no
16840
17785
  need_version=no
16875
17820
  dynamic_linker='NetBSD ld.elf_so'
16876
17821
  ;;
16877
17822
 
16878
 
knetbsd*-gnu)
16879
 
  version_type=linux
16880
 
  need_lib_prefix=no
16881
 
  need_version=no
16882
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16883
 
  soname_spec='${libname}${release}${shared_ext}$major'
16884
 
  shlibpath_var=LD_LIBRARY_PATH
16885
 
  shlibpath_overrides_runpath=no
16886
 
  hardcode_into_libs=yes
16887
 
  dynamic_linker='GNU ld.so'
16888
 
  ;;
16889
 
 
16890
17823
netbsd*)
16891
17824
  version_type=sunos
16892
17825
  need_lib_prefix=no
16924
17857
 
16925
17858
openbsd*)
16926
17859
  version_type=sunos
 
17860
  sys_lib_dlsearch_path_spec="/usr/lib"
16927
17861
  need_lib_prefix=no
16928
17862
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16929
17863
  case $host_os in
16967
17901
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16968
17902
  ;;
16969
17903
 
16970
 
sco3.2v5*)
16971
 
  version_type=osf
16972
 
  soname_spec='${libname}${release}${shared_ext}$major'
16973
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16974
 
  shlibpath_var=LD_LIBRARY_PATH
16975
 
  ;;
16976
 
 
16977
17904
solaris*)
16978
17905
  version_type=linux
16979
17906
  need_lib_prefix=no
16999
17926
  need_version=yes
17000
17927
  ;;
17001
17928
 
17002
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
17929
sysv4 | sysv4.3*)
17003
17930
  version_type=linux
17004
17931
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17005
17932
  soname_spec='${libname}${release}${shared_ext}$major'
17032
17959
  fi
17033
17960
  ;;
17034
17961
 
 
17962
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
17963
  version_type=freebsd-elf
 
17964
  need_lib_prefix=no
 
17965
  need_version=no
 
17966
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
17967
  soname_spec='${libname}${release}${shared_ext}$major'
 
17968
  shlibpath_var=LD_LIBRARY_PATH
 
17969
  hardcode_into_libs=yes
 
17970
  if test "$with_gnu_ld" = yes; then
 
17971
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
17972
    shlibpath_overrides_runpath=no
 
17973
  else
 
17974
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
17975
    shlibpath_overrides_runpath=yes
 
17976
    case $host_os in
 
17977
      sco3.2v5*)
 
17978
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
17979
        ;;
 
17980
    esac
 
17981
  fi
 
17982
  sys_lib_dlsearch_path_spec='/usr/lib'
 
17983
  ;;
 
17984
 
17035
17985
uts4*)
17036
17986
  version_type=linux
17037
17987
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17043
17993
  dynamic_linker=no
17044
17994
  ;;
17045
17995
esac
17046
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17047
 
echo "${ECHO_T}$dynamic_linker" >&6
 
17996
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
17997
echo "${ECHO_T}$dynamic_linker" >&6; }
17048
17998
test "$dynamic_linker" = no && can_build_shared=no
17049
17999
 
17050
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17051
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
18000
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
18001
if test "$GCC" = yes; then
 
18002
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
18003
fi
 
18004
 
 
18005
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
18006
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17052
18007
hardcode_action_F77=
17053
18008
if test -n "$hardcode_libdir_flag_spec_F77" || \
17054
18009
   test -n "$runpath_var_F77" || \
17072
18027
  # directories.
17073
18028
  hardcode_action_F77=unsupported
17074
18029
fi
17075
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
17076
 
echo "${ECHO_T}$hardcode_action_F77" >&6
 
18030
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
18031
echo "${ECHO_T}$hardcode_action_F77" >&6; }
17077
18032
 
17078
18033
if test "$hardcode_action_F77" = relink; then
17079
18034
  # Fast installation is not supported
17084
18039
  enable_fast_install=needless
17085
18040
fi
17086
18041
 
17087
 
striplib=
17088
 
old_striplib=
17089
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17090
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17091
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
17092
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
17093
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
17094
 
  echo "$as_me:$LINENO: result: yes" >&5
17095
 
echo "${ECHO_T}yes" >&6
17096
 
else
17097
 
# FIXME - insert some real tests, host_os isn't really good enough
17098
 
  case $host_os in
17099
 
   darwin*)
17100
 
       if test -n "$STRIP" ; then
17101
 
         striplib="$STRIP -x"
17102
 
         echo "$as_me:$LINENO: result: yes" >&5
17103
 
echo "${ECHO_T}yes" >&6
17104
 
       else
17105
 
  echo "$as_me:$LINENO: result: no" >&5
17106
 
echo "${ECHO_T}no" >&6
17107
 
fi
17108
 
       ;;
17109
 
   *)
17110
 
  echo "$as_me:$LINENO: result: no" >&5
17111
 
echo "${ECHO_T}no" >&6
17112
 
    ;;
17113
 
  esac
17114
 
fi
17115
 
 
17116
 
 
17117
18042
 
17118
18043
# The else clause should only fire when bootstrapping the
17119
18044
# libtool distribution, otherwise you forgot to ship ltmain.sh
17128
18053
  # Now quote all the things that may contain metacharacters while being
17129
18054
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
17130
18055
  # variables and quote the copies for generation of the libtool script.
17131
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
18056
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17132
18057
    SED SHELL STRIP \
17133
18058
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17134
18059
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17246
18171
# A C compiler.
17247
18172
LTCC=$lt_LTCC
17248
18173
 
 
18174
# LTCC compiler flags.
 
18175
LTCFLAGS=$lt_LTCFLAGS
 
18176
 
17249
18177
# A language-specific compiler.
17250
18178
CC=$lt_compiler_F77
17251
18179
 
17537
18465
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17538
18466
 
17539
18467
 
17540
 
 
17541
18468
# Source file extension for Java test sources.
17542
18469
ac_ext=java
17543
18470
 
17556
18483
# If no C compiler was specified, use CC.
17557
18484
LTCC=${LTCC-"$CC"}
17558
18485
 
 
18486
# If no C compiler flags were specified, use CFLAGS.
 
18487
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
18488
 
17559
18489
# Allow CC to be a program name with arguments.
17560
18490
compiler=$CC
17561
18491
 
17563
18493
# save warnings/boilerplate of simple test code
17564
18494
ac_outfile=conftest.$ac_objext
17565
18495
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
17566
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
18496
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17567
18497
_lt_compiler_boilerplate=`cat conftest.err`
17568
18498
$rm conftest*
17569
18499
 
17570
18500
ac_outfile=conftest.$ac_objext
17571
18501
printf "$lt_simple_link_test_code" >conftest.$ac_ext
17572
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
18502
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17573
18503
_lt_linker_boilerplate=`cat conftest.err`
17574
18504
$rm conftest*
17575
18505
 
17602
18532
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
17603
18533
 
17604
18534
 
17605
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17606
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
18535
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
18536
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
17607
18537
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17608
18538
  echo $ECHO_N "(cached) $ECHO_C" >&6
17609
18539
else
17620
18550
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17621
18551
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17622
18552
   -e 's:$: $lt_compiler_flag:'`
17623
 
   (eval echo "\"\$as_me:17623: $lt_compile\"" >&5)
 
18553
   (eval echo "\"\$as_me:18553: $lt_compile\"" >&5)
17624
18554
   (eval "$lt_compile" 2>conftest.err)
17625
18555
   ac_status=$?
17626
18556
   cat conftest.err >&5
17627
 
   echo "$as_me:17627: \$? = $ac_status" >&5
 
18557
   echo "$as_me:18557: \$? = $ac_status" >&5
17628
18558
   if (exit $ac_status) && test -s "$ac_outfile"; then
17629
18559
     # The compiler can only warn and ignore the option if not recognized
17630
18560
     # So say no if there are warnings other than the usual output.
17631
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
17632
 
     $SED '/^$/d' conftest.err >conftest.er2
17633
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
18561
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
18562
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
18563
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17634
18564
       lt_cv_prog_compiler_rtti_exceptions=yes
17635
18565
     fi
17636
18566
   fi
17637
18567
   $rm conftest*
17638
18568
 
17639
18569
fi
17640
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17641
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
18570
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
18571
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17642
18572
 
17643
18573
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
17644
18574
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17652
18582
lt_prog_compiler_pic_GCJ=
17653
18583
lt_prog_compiler_static_GCJ=
17654
18584
 
17655
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17656
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
18585
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
18586
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
17657
18587
 
17658
18588
  if test "$GCC" = yes; then
17659
18589
    lt_prog_compiler_wl_GCJ='-Wl,'
17691
18621
      lt_prog_compiler_pic_GCJ='-fno-common'
17692
18622
      ;;
17693
18623
 
 
18624
    interix3*)
 
18625
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
18626
      # Instead, we relocate shared libraries at runtime.
 
18627
      ;;
 
18628
 
17694
18629
    msdosdjgpp*)
17695
18630
      # Just because we use GCC doesn't mean we suddenly get shared libraries
17696
18631
      # on systems that don't support them.
17777
18712
      lt_prog_compiler_static_GCJ='-Bstatic'
17778
18713
      ;;
17779
18714
 
17780
 
    linux*)
 
18715
    linux* | k*bsd*-gnu)
17781
18716
      case $cc_basename in
17782
18717
      icc* | ecc*)
17783
18718
        lt_prog_compiler_wl_GCJ='-Wl,'
17805
18740
      lt_prog_compiler_static_GCJ='-non_shared'
17806
18741
      ;;
17807
18742
 
17808
 
    sco3.2v5*)
17809
 
      lt_prog_compiler_pic_GCJ='-Kpic'
17810
 
      lt_prog_compiler_static_GCJ='-dn'
17811
 
      ;;
17812
 
 
17813
18743
    solaris*)
17814
18744
      lt_prog_compiler_pic_GCJ='-KPIC'
17815
18745
      lt_prog_compiler_static_GCJ='-Bstatic'
17827
18757
      lt_prog_compiler_static_GCJ='-Bstatic'
17828
18758
      ;;
17829
18759
 
17830
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
18760
    sysv4 | sysv4.2uw2* | sysv4.3*)
17831
18761
      lt_prog_compiler_wl_GCJ='-Wl,'
17832
18762
      lt_prog_compiler_pic_GCJ='-KPIC'
17833
18763
      lt_prog_compiler_static_GCJ='-Bstatic'
17840
18770
      fi
17841
18771
      ;;
17842
18772
 
 
18773
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
18774
      lt_prog_compiler_wl_GCJ='-Wl,'
 
18775
      lt_prog_compiler_pic_GCJ='-KPIC'
 
18776
      lt_prog_compiler_static_GCJ='-Bstatic'
 
18777
      ;;
 
18778
 
17843
18779
    unicos*)
17844
18780
      lt_prog_compiler_wl_GCJ='-Wl,'
17845
18781
      lt_prog_compiler_can_build_shared_GCJ=no
17856
18792
    esac
17857
18793
  fi
17858
18794
 
17859
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17860
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 
18795
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
18796
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
17861
18797
 
17862
18798
#
17863
18799
# Check to make sure the PIC flag actually works.
17864
18800
#
17865
18801
if test -n "$lt_prog_compiler_pic_GCJ"; then
17866
18802
 
17867
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17868
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
 
18803
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
18804
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17869
18805
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
17870
18806
  echo $ECHO_N "(cached) $ECHO_C" >&6
17871
18807
else
17882
18818
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17883
18819
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17884
18820
   -e 's:$: $lt_compiler_flag:'`
17885
 
   (eval echo "\"\$as_me:17885: $lt_compile\"" >&5)
 
18821
   (eval echo "\"\$as_me:18821: $lt_compile\"" >&5)
17886
18822
   (eval "$lt_compile" 2>conftest.err)
17887
18823
   ac_status=$?
17888
18824
   cat conftest.err >&5
17889
 
   echo "$as_me:17889: \$? = $ac_status" >&5
 
18825
   echo "$as_me:18825: \$? = $ac_status" >&5
17890
18826
   if (exit $ac_status) && test -s "$ac_outfile"; then
17891
18827
     # The compiler can only warn and ignore the option if not recognized
17892
18828
     # So say no if there are warnings other than the usual output.
17893
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
17894
 
     $SED '/^$/d' conftest.err >conftest.er2
17895
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
18829
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
18830
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
18831
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17896
18832
       lt_prog_compiler_pic_works_GCJ=yes
17897
18833
     fi
17898
18834
   fi
17899
18835
   $rm conftest*
17900
18836
 
17901
18837
fi
17902
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
17903
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 
18838
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
 
18839
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
17904
18840
 
17905
18841
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
17906
18842
    case $lt_prog_compiler_pic_GCJ in
17923
18859
    ;;
17924
18860
esac
17925
18861
 
17926
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17927
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
18862
#
 
18863
# Check to make sure the static flag actually works.
 
18864
#
 
18865
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
 
18866
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
18867
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
18868
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
 
18869
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18870
else
 
18871
  lt_prog_compiler_static_works_GCJ=no
 
18872
   save_LDFLAGS="$LDFLAGS"
 
18873
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
18874
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
18875
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
18876
     # The linker can only warn and ignore the option if not recognized
 
18877
     # So say no if there are warnings
 
18878
     if test -s conftest.err; then
 
18879
       # Append any errors to the config.log.
 
18880
       cat conftest.err 1>&5
 
18881
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
18882
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
18883
       if diff conftest.exp conftest.er2 >/dev/null; then
 
18884
         lt_prog_compiler_static_works_GCJ=yes
 
18885
       fi
 
18886
     else
 
18887
       lt_prog_compiler_static_works_GCJ=yes
 
18888
     fi
 
18889
   fi
 
18890
   $rm conftest*
 
18891
   LDFLAGS="$save_LDFLAGS"
 
18892
 
 
18893
fi
 
18894
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
 
18895
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
 
18896
 
 
18897
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
 
18898
    :
 
18899
else
 
18900
    lt_prog_compiler_static_GCJ=
 
18901
fi
 
18902
 
 
18903
 
 
18904
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
18905
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17928
18906
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17929
18907
  echo $ECHO_N "(cached) $ECHO_C" >&6
17930
18908
else
17944
18922
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17945
18923
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17946
18924
   -e 's:$: $lt_compiler_flag:'`
17947
 
   (eval echo "\"\$as_me:17947: $lt_compile\"" >&5)
 
18925
   (eval echo "\"\$as_me:18925: $lt_compile\"" >&5)
17948
18926
   (eval "$lt_compile" 2>out/conftest.err)
17949
18927
   ac_status=$?
17950
18928
   cat out/conftest.err >&5
17951
 
   echo "$as_me:17951: \$? = $ac_status" >&5
 
18929
   echo "$as_me:18929: \$? = $ac_status" >&5
17952
18930
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17953
18931
   then
17954
18932
     # The compiler can only warn and ignore the option if not recognized
17955
18933
     # So say no if there are warnings
17956
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
17957
 
     $SED '/^$/d' out/conftest.err >out/conftest.er2
17958
 
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
18934
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
18935
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
18936
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17959
18937
       lt_cv_prog_compiler_c_o_GCJ=yes
17960
18938
     fi
17961
18939
   fi
17970
18948
   $rm conftest*
17971
18949
 
17972
18950
fi
17973
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17974
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 
18951
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
18952
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17975
18953
 
17976
18954
 
17977
18955
hard_links="nottested"
17978
18956
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
17979
18957
  # do not overwrite the value of need_locks provided by the user
17980
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17981
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
18958
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
18959
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17982
18960
  hard_links=yes
17983
18961
  $rm conftest*
17984
18962
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17985
18963
  touch conftest.a
17986
18964
  ln conftest.a conftest.b 2>&5 || hard_links=no
17987
18965
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17988
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
17989
 
echo "${ECHO_T}$hard_links" >&6
 
18966
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
18967
echo "${ECHO_T}$hard_links" >&6; }
17990
18968
  if test "$hard_links" = no; then
17991
18969
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17992
18970
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17996
18974
  need_locks=no
17997
18975
fi
17998
18976
 
17999
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18000
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
18977
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
18978
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18001
18979
 
18002
18980
  runpath_var=
18003
18981
  allow_undefined_flag_GCJ=
18055
19033
      with_gnu_ld=no
18056
19034
    fi
18057
19035
    ;;
 
19036
  interix*)
 
19037
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
19038
    with_gnu_ld=yes
 
19039
    ;;
18058
19040
  openbsd*)
18059
19041
    with_gnu_ld=no
18060
19042
    ;;
18139
19121
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
18140
19122
 
18141
19123
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18142
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
19124
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18143
19125
        # If the export-symbols file already is a .def file (1st line
18144
19126
        # is EXPORTS), use it as is; otherwise, prepend...
18145
19127
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18148
19130
          echo EXPORTS > $output_objdir/$soname.def;
18149
19131
          cat $export_symbols >> $output_objdir/$soname.def;
18150
19132
        fi~
18151
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 
19133
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18152
19134
      else
18153
19135
        ld_shlibs_GCJ=no
18154
19136
      fi
18155
19137
      ;;
18156
19138
 
18157
 
    linux*)
 
19139
    interix3*)
 
19140
      hardcode_direct_GCJ=no
 
19141
      hardcode_shlibpath_var_GCJ=no
 
19142
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
19143
      export_dynamic_flag_spec_GCJ='${wl}-E'
 
19144
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
19145
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
19146
      # default) and relocated if they conflict, which is a slow very memory
 
19147
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
19148
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
19149
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
19150
      archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
19151
      archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
19152
      ;;
 
19153
 
 
19154
    linux* | k*bsd*-gnu)
18158
19155
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18159
19156
        tmp_addflag=
18160
19157
        case $cc_basename,$host_cpu in
18186
19183
      fi
18187
19184
      ;;
18188
19185
 
18189
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
19186
    netbsd* | netbsdelf*-gnu)
18190
19187
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18191
19188
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18192
19189
        wlarc=
18196
19193
      fi
18197
19194
      ;;
18198
19195
 
18199
 
    solaris* | sysv5*)
 
19196
    solaris*)
18200
19197
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
18201
19198
        ld_shlibs_GCJ=no
18202
19199
        cat <<EOF 1>&2
18217
19214
      fi
18218
19215
      ;;
18219
19216
 
 
19217
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
19218
      case `$LD -v 2>&1` in
 
19219
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
19220
        ld_shlibs_GCJ=no
 
19221
        cat <<_LT_EOF 1>&2
 
19222
 
 
19223
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
19224
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
19225
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
19226
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
19227
*** your PATH or compiler configuration so that the native linker is
 
19228
*** used, and then restart.
 
19229
 
 
19230
_LT_EOF
 
19231
        ;;
 
19232
        *)
 
19233
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
19234
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
19235
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
19236
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
19237
          else
 
19238
            ld_shlibs_GCJ=no
 
19239
          fi
 
19240
        ;;
 
19241
      esac
 
19242
      ;;
 
19243
 
18220
19244
    sunos4*)
18221
19245
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18222
19246
      wlarc=
18250
19274
      # Note: this linker hardcodes the directories in LIBPATH if there
18251
19275
      # are no directories specified by -L.
18252
19276
      hardcode_minus_L_GCJ=yes
18253
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
19277
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18254
19278
        # Neither direct hardcoding nor static linking is supported with a
18255
19279
        # broken collect2.
18256
19280
        hardcode_direct_GCJ=unsupported
18284
19308
            break
18285
19309
          fi
18286
19310
          done
 
19311
          ;;
18287
19312
        esac
18288
19313
 
18289
19314
        exp_sym_flag='-bexport'
18321
19346
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
18322
19347
          hardcode_libdir_separator_GCJ=
18323
19348
          fi
 
19349
          ;;
18324
19350
        esac
18325
19351
        shared_flag='-shared'
18326
19352
        if test "$aix_use_runtimelinking" = yes; then
18333
19359
        # chokes on -Wl,-G. The following line is correct:
18334
19360
          shared_flag='-G'
18335
19361
        else
18336
 
        if test "$aix_use_runtimelinking" = yes; then
 
19362
          if test "$aix_use_runtimelinking" = yes; then
18337
19363
            shared_flag='${wl}-G'
18338
19364
          else
18339
19365
            shared_flag='${wl}-bM:SRE'
18340
 
        fi
 
19366
          fi
18341
19367
        fi
18342
19368
      fi
18343
19369
 
18365
19391
}
18366
19392
_ACEOF
18367
19393
rm -f conftest.$ac_objext conftest$ac_exeext
18368
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18369
 
  (eval $ac_link) 2>conftest.er1
 
19394
if { (ac_try="$ac_link"
 
19395
case "(($ac_try" in
 
19396
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19397
  *) ac_try_echo=$ac_try;;
 
19398
esac
 
19399
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19400
  (eval "$ac_link") 2>conftest.er1
18370
19401
  ac_status=$?
18371
19402
  grep -v '^ *+' conftest.er1 >conftest.err
18372
19403
  rm -f conftest.er1
18373
19404
  cat conftest.err >&5
18374
19405
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18375
19406
  (exit $ac_status); } &&
18376
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18377
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18378
 
  (eval $ac_try) 2>&5
 
19407
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
19408
  { (case "(($ac_try" in
 
19409
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19410
  *) ac_try_echo=$ac_try;;
 
19411
esac
 
19412
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19413
  (eval "$ac_try") 2>&5
18379
19414
  ac_status=$?
18380
19415
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18381
19416
  (exit $ac_status); }; } &&
18382
19417
         { ac_try='test -s conftest$ac_exeext'
18383
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18384
 
  (eval $ac_try) 2>&5
 
19418
  { (case "(($ac_try" in
 
19419
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19420
  *) ac_try_echo=$ac_try;;
 
19421
esac
 
19422
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19423
  (eval "$ac_try") 2>&5
18385
19424
  ac_status=$?
18386
19425
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18387
19426
  (exit $ac_status); }; }; then
18395
19434
  echo "$as_me: failed program was:" >&5
18396
19435
sed 's/^/| /' conftest.$ac_ext >&5
18397
19436
 
 
19437
 
18398
19438
fi
 
19439
 
18399
19440
rm -f conftest.err conftest.$ac_objext \
18400
19441
      conftest$ac_exeext conftest.$ac_ext
18401
19442
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18402
19443
 
18403
19444
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18404
 
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
19445
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
18405
19446
       else
18406
19447
        if test "$host_cpu" = ia64; then
18407
19448
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18408
19449
          allow_undefined_flag_GCJ="-z nodefs"
18409
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
19450
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
18410
19451
        else
18411
19452
         # Determine the default libpath from the value encoded in an empty executable.
18412
19453
         cat >conftest.$ac_ext <<_ACEOF
18425
19466
}
18426
19467
_ACEOF
18427
19468
rm -f conftest.$ac_objext conftest$ac_exeext
18428
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18429
 
  (eval $ac_link) 2>conftest.er1
 
19469
if { (ac_try="$ac_link"
 
19470
case "(($ac_try" in
 
19471
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19472
  *) ac_try_echo=$ac_try;;
 
19473
esac
 
19474
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19475
  (eval "$ac_link") 2>conftest.er1
18430
19476
  ac_status=$?
18431
19477
  grep -v '^ *+' conftest.er1 >conftest.err
18432
19478
  rm -f conftest.er1
18433
19479
  cat conftest.err >&5
18434
19480
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435
19481
  (exit $ac_status); } &&
18436
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18437
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18438
 
  (eval $ac_try) 2>&5
 
19482
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
19483
  { (case "(($ac_try" in
 
19484
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19485
  *) ac_try_echo=$ac_try;;
 
19486
esac
 
19487
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19488
  (eval "$ac_try") 2>&5
18439
19489
  ac_status=$?
18440
19490
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441
19491
  (exit $ac_status); }; } &&
18442
19492
         { ac_try='test -s conftest$ac_exeext'
18443
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18444
 
  (eval $ac_try) 2>&5
 
19493
  { (case "(($ac_try" in
 
19494
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19495
  *) ac_try_echo=$ac_try;;
 
19496
esac
 
19497
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19498
  (eval "$ac_try") 2>&5
18445
19499
  ac_status=$?
18446
19500
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18447
19501
  (exit $ac_status); }; }; then
18455
19509
  echo "$as_me: failed program was:" >&5
18456
19510
sed 's/^/| /' conftest.$ac_ext >&5
18457
19511
 
 
19512
 
18458
19513
fi
 
19514
 
18459
19515
rm -f conftest.err conftest.$ac_objext \
18460
19516
      conftest$ac_exeext conftest.$ac_ext
18461
19517
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18465
19521
          # -berok will link without error, but may produce a broken library.
18466
19522
          no_undefined_flag_GCJ=' ${wl}-bernotok'
18467
19523
          allow_undefined_flag_GCJ=' ${wl}-berok'
18468
 
          # -bexpall does not export symbols beginning with underscore (_)
18469
 
          always_export_symbols_GCJ=yes
18470
19524
          # Exported symbols can be pulled into shared objects from archives
18471
 
          whole_archive_flag_spec_GCJ=' '
 
19525
          whole_archive_flag_spec_GCJ='$convenience'
18472
19526
          archive_cmds_need_lc_GCJ=yes
18473
19527
          # This is similar to how AIX traditionally builds its shared libraries.
18474
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
19528
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
18475
19529
        fi
18476
19530
      fi
18477
19531
      ;;
18589
19643
      ;;
18590
19644
 
18591
19645
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18592
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
19646
    freebsd* | dragonfly*)
18593
19647
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18594
19648
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18595
19649
      hardcode_direct_GCJ=yes
18612
19666
      export_dynamic_flag_spec_GCJ='${wl}-E'
18613
19667
      ;;
18614
19668
 
18615
 
    hpux10* | hpux11*)
 
19669
    hpux10*)
 
19670
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
19671
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
19672
      else
 
19673
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
19674
      fi
 
19675
      if test "$with_gnu_ld" = no; then
 
19676
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
19677
        hardcode_libdir_separator_GCJ=:
 
19678
 
 
19679
        hardcode_direct_GCJ=yes
 
19680
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
19681
 
 
19682
        # hardcode_minus_L: Not really in the search PATH,
 
19683
        # but as the default location of the library.
 
19684
        hardcode_minus_L_GCJ=yes
 
19685
      fi
 
19686
      ;;
 
19687
 
 
19688
    hpux11*)
18616
19689
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18617
19690
        case $host_cpu in
18618
 
        hppa*64*|ia64*)
 
19691
        hppa*64*)
18619
19692
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18620
19693
          ;;
 
19694
        ia64*)
 
19695
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
19696
          ;;
18621
19697
        *)
18622
19698
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18623
19699
          ;;
18624
19700
        esac
18625
19701
      else
18626
19702
        case $host_cpu in
18627
 
        hppa*64*|ia64*)
18628
 
          archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
19703
        hppa*64*)
 
19704
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
19705
          ;;
 
19706
        ia64*)
 
19707
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18629
19708
          ;;
18630
19709
        *)
18631
 
          archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
19710
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18632
19711
          ;;
18633
19712
        esac
18634
19713
      fi
18635
19714
      if test "$with_gnu_ld" = no; then
 
19715
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
19716
        hardcode_libdir_separator_GCJ=:
 
19717
 
18636
19718
        case $host_cpu in
18637
 
        hppa*64*)
18638
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
19719
        hppa*64*|ia64*)
18639
19720
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
18640
 
          hardcode_libdir_separator_GCJ=:
18641
 
          hardcode_direct_GCJ=no
18642
 
          hardcode_shlibpath_var_GCJ=no
18643
 
          ;;
18644
 
        ia64*)
18645
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
18646
 
          hardcode_direct_GCJ=no
18647
 
          hardcode_shlibpath_var_GCJ=no
18648
 
 
18649
 
          # hardcode_minus_L: Not really in the search PATH,
18650
 
          # but as the default location of the library.
18651
 
          hardcode_minus_L_GCJ=yes
 
19721
          hardcode_direct_GCJ=no
 
19722
          hardcode_shlibpath_var_GCJ=no
18652
19723
          ;;
18653
19724
        *)
18654
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18655
 
          hardcode_libdir_separator_GCJ=:
18656
19725
          hardcode_direct_GCJ=yes
18657
19726
          export_dynamic_flag_spec_GCJ='${wl}-E'
18658
19727
 
18676
19745
      link_all_deplibs_GCJ=yes
18677
19746
      ;;
18678
19747
 
18679
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
19748
    netbsd* | netbsdelf*-gnu)
18680
19749
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18681
19750
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
18682
19751
      else
18754
19823
      hardcode_libdir_separator_GCJ=:
18755
19824
      ;;
18756
19825
 
18757
 
    sco3.2v5*)
18758
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18759
 
      hardcode_shlibpath_var_GCJ=no
18760
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
18761
 
      runpath_var=LD_RUN_PATH
18762
 
      hardcode_runpath_var=yes
18763
 
      ;;
18764
 
 
18765
19826
    solaris*)
18766
19827
      no_undefined_flag_GCJ=' -z text'
18767
19828
      if test "$GCC" = yes; then
18847
19908
      fi
18848
19909
      ;;
18849
19910
 
18850
 
    sysv4.2uw2*)
18851
 
      archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18852
 
      hardcode_direct_GCJ=yes
18853
 
      hardcode_minus_L_GCJ=no
18854
 
      hardcode_shlibpath_var_GCJ=no
18855
 
      hardcode_runpath_var=yes
18856
 
      runpath_var=LD_RUN_PATH
18857
 
      ;;
18858
 
 
18859
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
18860
 
      no_undefined_flag_GCJ='${wl}-z ${wl}text'
18861
 
      if test "$GCC" = yes; then
18862
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18863
 
      else
18864
 
        archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18865
 
      fi
18866
 
      runpath_var='LD_RUN_PATH'
18867
 
      hardcode_shlibpath_var_GCJ=no
18868
 
      ;;
18869
 
 
18870
 
    sysv5*)
18871
 
      no_undefined_flag_GCJ=' -z text'
18872
 
      # $CC -shared without GNU ld will not create a library from C++
18873
 
      # object files and a static libstdc++, better avoid it by now
18874
 
      archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18875
 
      archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18876
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18877
 
      hardcode_libdir_flag_spec_GCJ=
18878
 
      hardcode_shlibpath_var_GCJ=no
18879
 
      runpath_var='LD_RUN_PATH'
 
19911
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
19912
      no_undefined_flag_GCJ='${wl}-z,text'
 
19913
      archive_cmds_need_lc_GCJ=no
 
19914
      hardcode_shlibpath_var_GCJ=no
 
19915
      runpath_var='LD_RUN_PATH'
 
19916
 
 
19917
      if test "$GCC" = yes; then
 
19918
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
19919
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
19920
      else
 
19921
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
19922
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
19923
      fi
 
19924
      ;;
 
19925
 
 
19926
    sysv5* | sco3.2v5* | sco5v6*)
 
19927
      # Note: We can NOT use -z defs as we might desire, because we do not
 
19928
      # link with -lc, and that would cause any symbols used from libc to
 
19929
      # always be unresolved, which means just about no library would
 
19930
      # ever link correctly.  If we're not using GNU ld we use -z text
 
19931
      # though, which does catch some bad symbols but isn't as heavy-handed
 
19932
      # as -z defs.
 
19933
      no_undefined_flag_GCJ='${wl}-z,text'
 
19934
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
 
19935
      archive_cmds_need_lc_GCJ=no
 
19936
      hardcode_shlibpath_var_GCJ=no
 
19937
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
19938
      hardcode_libdir_separator_GCJ=':'
 
19939
      link_all_deplibs_GCJ=yes
 
19940
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
 
19941
      runpath_var='LD_RUN_PATH'
 
19942
 
 
19943
      if test "$GCC" = yes; then
 
19944
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
19945
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
19946
      else
 
19947
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
19948
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
19949
      fi
18880
19950
      ;;
18881
19951
 
18882
19952
    uts4*)
18891
19961
    esac
18892
19962
  fi
18893
19963
 
18894
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18895
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 
19964
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
19965
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18896
19966
test "$ld_shlibs_GCJ" = no && can_build_shared=no
18897
19967
 
18898
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18899
 
if test "$GCC" = yes; then
18900
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18901
 
fi
18902
 
 
18903
19968
#
18904
19969
# Do we need to explicitly link libc?
18905
19970
#
18917
19982
      # Test whether the compiler implicitly links with -lc since on some
18918
19983
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
18919
19984
      # to ld, don't add -lc before -lgcc.
18920
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18921
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
19985
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
19986
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18922
19987
      $rm conftest*
18923
19988
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18924
19989
 
18932
19997
        libobjs=conftest.$ac_objext
18933
19998
        deplibs=
18934
19999
        wl=$lt_prog_compiler_wl_GCJ
 
20000
        pic_flag=$lt_prog_compiler_pic_GCJ
18935
20001
        compiler_flags=-v
18936
20002
        linker_flags=-v
18937
20003
        verstring=
18954
20020
        cat conftest.err 1>&5
18955
20021
      fi
18956
20022
      $rm conftest*
18957
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18958
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 
20023
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
20024
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18959
20025
      ;;
18960
20026
    esac
18961
20027
  fi
18962
20028
  ;;
18963
20029
esac
18964
20030
 
18965
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18966
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
20031
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
20032
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18967
20033
library_names_spec=
18968
20034
libname_spec='lib$name'
18969
20035
soname_spec=
19169
20235
  dynamic_linker=no
19170
20236
  ;;
19171
20237
 
19172
 
kfreebsd*-gnu)
19173
 
  version_type=linux
19174
 
  need_lib_prefix=no
19175
 
  need_version=no
19176
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19177
 
  soname_spec='${libname}${release}${shared_ext}$major'
19178
 
  shlibpath_var=LD_LIBRARY_PATH
19179
 
  shlibpath_overrides_runpath=no
19180
 
  hardcode_into_libs=yes
19181
 
  dynamic_linker='GNU ld.so'
19182
 
  ;;
19183
 
 
19184
20238
freebsd* | dragonfly*)
19185
20239
  # DragonFly does not have aout.  When/if they implement a new
19186
20240
  # versioning mechanism, adjust this.
19213
20267
    shlibpath_overrides_runpath=yes
19214
20268
    hardcode_into_libs=yes
19215
20269
    ;;
19216
 
  *) # from 3.2 on
 
20270
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
20271
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
19217
20272
    shlibpath_overrides_runpath=no
19218
20273
    hardcode_into_libs=yes
19219
20274
    ;;
 
20275
  freebsd*) # from 4.6 on
 
20276
    shlibpath_overrides_runpath=yes
 
20277
    hardcode_into_libs=yes
 
20278
    ;;
19220
20279
  esac
19221
20280
  ;;
19222
20281
 
19276
20335
  postinstall_cmds='chmod 555 $lib'
19277
20336
  ;;
19278
20337
 
 
20338
interix3*)
 
20339
  version_type=linux
 
20340
  need_lib_prefix=no
 
20341
  need_version=no
 
20342
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
20343
  soname_spec='${libname}${release}${shared_ext}$major'
 
20344
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
20345
  shlibpath_var=LD_LIBRARY_PATH
 
20346
  shlibpath_overrides_runpath=no
 
20347
  hardcode_into_libs=yes
 
20348
  ;;
 
20349
 
19279
20350
irix5* | irix6* | nonstopux*)
19280
20351
  case $host_os in
19281
20352
    nonstopux*) version_type=nonstopux ;;
19319
20390
  ;;
19320
20391
 
19321
20392
# This must be Linux ELF.
19322
 
linux*)
 
20393
linux* | k*bsd*-gnu)
19323
20394
  version_type=linux
19324
20395
  need_lib_prefix=no
19325
20396
  need_version=no
19360
20431
  dynamic_linker='NetBSD ld.elf_so'
19361
20432
  ;;
19362
20433
 
19363
 
knetbsd*-gnu)
19364
 
  version_type=linux
19365
 
  need_lib_prefix=no
19366
 
  need_version=no
19367
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19368
 
  soname_spec='${libname}${release}${shared_ext}$major'
19369
 
  shlibpath_var=LD_LIBRARY_PATH
19370
 
  shlibpath_overrides_runpath=no
19371
 
  hardcode_into_libs=yes
19372
 
  dynamic_linker='GNU ld.so'
19373
 
  ;;
19374
 
 
19375
20434
netbsd*)
19376
20435
  version_type=sunos
19377
20436
  need_lib_prefix=no
19409
20468
 
19410
20469
openbsd*)
19411
20470
  version_type=sunos
 
20471
  sys_lib_dlsearch_path_spec="/usr/lib"
19412
20472
  need_lib_prefix=no
19413
20473
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19414
20474
  case $host_os in
19452
20512
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19453
20513
  ;;
19454
20514
 
19455
 
sco3.2v5*)
19456
 
  version_type=osf
19457
 
  soname_spec='${libname}${release}${shared_ext}$major'
19458
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19459
 
  shlibpath_var=LD_LIBRARY_PATH
19460
 
  ;;
19461
 
 
19462
20515
solaris*)
19463
20516
  version_type=linux
19464
20517
  need_lib_prefix=no
19484
20537
  need_version=yes
19485
20538
  ;;
19486
20539
 
19487
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
20540
sysv4 | sysv4.3*)
19488
20541
  version_type=linux
19489
20542
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19490
20543
  soname_spec='${libname}${release}${shared_ext}$major'
19517
20570
  fi
19518
20571
  ;;
19519
20572
 
 
20573
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
20574
  version_type=freebsd-elf
 
20575
  need_lib_prefix=no
 
20576
  need_version=no
 
20577
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
20578
  soname_spec='${libname}${release}${shared_ext}$major'
 
20579
  shlibpath_var=LD_LIBRARY_PATH
 
20580
  hardcode_into_libs=yes
 
20581
  if test "$with_gnu_ld" = yes; then
 
20582
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
20583
    shlibpath_overrides_runpath=no
 
20584
  else
 
20585
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
20586
    shlibpath_overrides_runpath=yes
 
20587
    case $host_os in
 
20588
      sco3.2v5*)
 
20589
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
20590
        ;;
 
20591
    esac
 
20592
  fi
 
20593
  sys_lib_dlsearch_path_spec='/usr/lib'
 
20594
  ;;
 
20595
 
19520
20596
uts4*)
19521
20597
  version_type=linux
19522
20598
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19528
20604
  dynamic_linker=no
19529
20605
  ;;
19530
20606
esac
19531
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19532
 
echo "${ECHO_T}$dynamic_linker" >&6
 
20607
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
20608
echo "${ECHO_T}$dynamic_linker" >&6; }
19533
20609
test "$dynamic_linker" = no && can_build_shared=no
19534
20610
 
19535
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19536
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
20611
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
20612
if test "$GCC" = yes; then
 
20613
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
20614
fi
 
20615
 
 
20616
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
20617
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19537
20618
hardcode_action_GCJ=
19538
20619
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19539
20620
   test -n "$runpath_var_GCJ" || \
19557
20638
  # directories.
19558
20639
  hardcode_action_GCJ=unsupported
19559
20640
fi
19560
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19561
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
 
20641
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
20642
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
19562
20643
 
19563
20644
if test "$hardcode_action_GCJ" = relink; then
19564
20645
  # Fast installation is not supported
19569
20650
  enable_fast_install=needless
19570
20651
fi
19571
20652
 
19572
 
striplib=
19573
 
old_striplib=
19574
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
19575
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
19576
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
19577
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
19578
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
19579
 
  echo "$as_me:$LINENO: result: yes" >&5
19580
 
echo "${ECHO_T}yes" >&6
19581
 
else
19582
 
# FIXME - insert some real tests, host_os isn't really good enough
19583
 
  case $host_os in
19584
 
   darwin*)
19585
 
       if test -n "$STRIP" ; then
19586
 
         striplib="$STRIP -x"
19587
 
         echo "$as_me:$LINENO: result: yes" >&5
19588
 
echo "${ECHO_T}yes" >&6
19589
 
       else
19590
 
  echo "$as_me:$LINENO: result: no" >&5
19591
 
echo "${ECHO_T}no" >&6
19592
 
fi
19593
 
       ;;
19594
 
   *)
19595
 
  echo "$as_me:$LINENO: result: no" >&5
19596
 
echo "${ECHO_T}no" >&6
19597
 
    ;;
19598
 
  esac
19599
 
fi
19600
 
 
19601
 
if test "x$enable_dlopen" != xyes; then
19602
 
  enable_dlopen=unknown
19603
 
  enable_dlopen_self=unknown
19604
 
  enable_dlopen_self_static=unknown
19605
 
else
19606
 
  lt_cv_dlopen=no
19607
 
  lt_cv_dlopen_libs=
19608
 
 
19609
 
  case $host_os in
19610
 
  beos*)
19611
 
    lt_cv_dlopen="load_add_on"
19612
 
    lt_cv_dlopen_libs=
19613
 
    lt_cv_dlopen_self=yes
19614
 
    ;;
19615
 
 
19616
 
  mingw* | pw32*)
19617
 
    lt_cv_dlopen="LoadLibrary"
19618
 
    lt_cv_dlopen_libs=
19619
 
   ;;
19620
 
 
19621
 
  cygwin*)
19622
 
    lt_cv_dlopen="dlopen"
19623
 
    lt_cv_dlopen_libs=
19624
 
   ;;
19625
 
 
19626
 
  darwin*)
19627
 
  # if libdl is installed we need to link against it
19628
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19629
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19630
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19631
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19632
 
else
19633
 
  ac_check_lib_save_LIBS=$LIBS
19634
 
LIBS="-ldl  $LIBS"
19635
 
cat >conftest.$ac_ext <<_ACEOF
19636
 
/* confdefs.h.  */
19637
 
_ACEOF
19638
 
cat confdefs.h >>conftest.$ac_ext
19639
 
cat >>conftest.$ac_ext <<_ACEOF
19640
 
/* end confdefs.h.  */
19641
 
 
19642
 
/* Override any gcc2 internal prototype to avoid an error.  */
19643
 
#ifdef __cplusplus
19644
 
extern "C"
19645
 
#endif
19646
 
/* We use char because int might match the return type of a gcc2
19647
 
   builtin and then its argument prototype would still apply.  */
19648
 
char dlopen ();
19649
 
int
19650
 
main ()
19651
 
{
19652
 
dlopen ();
19653
 
  ;
19654
 
  return 0;
19655
 
}
19656
 
_ACEOF
19657
 
rm -f conftest.$ac_objext conftest$ac_exeext
19658
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19659
 
  (eval $ac_link) 2>conftest.er1
19660
 
  ac_status=$?
19661
 
  grep -v '^ *+' conftest.er1 >conftest.err
19662
 
  rm -f conftest.er1
19663
 
  cat conftest.err >&5
19664
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19665
 
  (exit $ac_status); } &&
19666
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19667
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19668
 
  (eval $ac_try) 2>&5
19669
 
  ac_status=$?
19670
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19671
 
  (exit $ac_status); }; } &&
19672
 
         { ac_try='test -s conftest$ac_exeext'
19673
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19674
 
  (eval $ac_try) 2>&5
19675
 
  ac_status=$?
19676
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19677
 
  (exit $ac_status); }; }; then
19678
 
  ac_cv_lib_dl_dlopen=yes
19679
 
else
19680
 
  echo "$as_me: failed program was:" >&5
19681
 
sed 's/^/| /' conftest.$ac_ext >&5
19682
 
 
19683
 
ac_cv_lib_dl_dlopen=no
19684
 
fi
19685
 
rm -f conftest.err conftest.$ac_objext \
19686
 
      conftest$ac_exeext conftest.$ac_ext
19687
 
LIBS=$ac_check_lib_save_LIBS
19688
 
fi
19689
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19690
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19691
 
if test $ac_cv_lib_dl_dlopen = yes; then
19692
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
19693
 
else
19694
 
 
19695
 
    lt_cv_dlopen="dyld"
19696
 
    lt_cv_dlopen_libs=
19697
 
    lt_cv_dlopen_self=yes
19698
 
 
19699
 
fi
19700
 
 
19701
 
   ;;
19702
 
 
19703
 
  *)
19704
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
19705
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
19706
 
if test "${ac_cv_func_shl_load+set}" = set; then
19707
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19708
 
else
19709
 
  cat >conftest.$ac_ext <<_ACEOF
19710
 
/* confdefs.h.  */
19711
 
_ACEOF
19712
 
cat confdefs.h >>conftest.$ac_ext
19713
 
cat >>conftest.$ac_ext <<_ACEOF
19714
 
/* end confdefs.h.  */
19715
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
19716
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19717
 
#define shl_load innocuous_shl_load
19718
 
 
19719
 
/* System header to define __stub macros and hopefully few prototypes,
19720
 
    which can conflict with char shl_load (); below.
19721
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19722
 
    <limits.h> exists even on freestanding compilers.  */
19723
 
 
19724
 
#ifdef __STDC__
19725
 
# include <limits.h>
19726
 
#else
19727
 
# include <assert.h>
19728
 
#endif
19729
 
 
19730
 
#undef shl_load
19731
 
 
19732
 
/* Override any gcc2 internal prototype to avoid an error.  */
19733
 
#ifdef __cplusplus
19734
 
extern "C"
19735
 
{
19736
 
#endif
19737
 
/* We use char because int might match the return type of a gcc2
19738
 
   builtin and then its argument prototype would still apply.  */
19739
 
char shl_load ();
19740
 
/* The GNU C library defines this for functions which it implements
19741
 
    to always fail with ENOSYS.  Some functions are actually named
19742
 
    something starting with __ and the normal name is an alias.  */
19743
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
19744
 
choke me
19745
 
#else
19746
 
char (*f) () = shl_load;
19747
 
#endif
19748
 
#ifdef __cplusplus
19749
 
}
19750
 
#endif
19751
 
 
19752
 
int
19753
 
main ()
19754
 
{
19755
 
return f != shl_load;
19756
 
  ;
19757
 
  return 0;
19758
 
}
19759
 
_ACEOF
19760
 
rm -f conftest.$ac_objext conftest$ac_exeext
19761
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19762
 
  (eval $ac_link) 2>conftest.er1
19763
 
  ac_status=$?
19764
 
  grep -v '^ *+' conftest.er1 >conftest.err
19765
 
  rm -f conftest.er1
19766
 
  cat conftest.err >&5
19767
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768
 
  (exit $ac_status); } &&
19769
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19770
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19771
 
  (eval $ac_try) 2>&5
19772
 
  ac_status=$?
19773
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774
 
  (exit $ac_status); }; } &&
19775
 
         { ac_try='test -s conftest$ac_exeext'
19776
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19777
 
  (eval $ac_try) 2>&5
19778
 
  ac_status=$?
19779
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19780
 
  (exit $ac_status); }; }; then
19781
 
  ac_cv_func_shl_load=yes
19782
 
else
19783
 
  echo "$as_me: failed program was:" >&5
19784
 
sed 's/^/| /' conftest.$ac_ext >&5
19785
 
 
19786
 
ac_cv_func_shl_load=no
19787
 
fi
19788
 
rm -f conftest.err conftest.$ac_objext \
19789
 
      conftest$ac_exeext conftest.$ac_ext
19790
 
fi
19791
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
19792
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
19793
 
if test $ac_cv_func_shl_load = yes; then
19794
 
  lt_cv_dlopen="shl_load"
19795
 
else
19796
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
19797
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
19798
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
19799
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19800
 
else
19801
 
  ac_check_lib_save_LIBS=$LIBS
19802
 
LIBS="-ldld  $LIBS"
19803
 
cat >conftest.$ac_ext <<_ACEOF
19804
 
/* confdefs.h.  */
19805
 
_ACEOF
19806
 
cat confdefs.h >>conftest.$ac_ext
19807
 
cat >>conftest.$ac_ext <<_ACEOF
19808
 
/* end confdefs.h.  */
19809
 
 
19810
 
/* Override any gcc2 internal prototype to avoid an error.  */
19811
 
#ifdef __cplusplus
19812
 
extern "C"
19813
 
#endif
19814
 
/* We use char because int might match the return type of a gcc2
19815
 
   builtin and then its argument prototype would still apply.  */
19816
 
char shl_load ();
19817
 
int
19818
 
main ()
19819
 
{
19820
 
shl_load ();
19821
 
  ;
19822
 
  return 0;
19823
 
}
19824
 
_ACEOF
19825
 
rm -f conftest.$ac_objext conftest$ac_exeext
19826
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19827
 
  (eval $ac_link) 2>conftest.er1
19828
 
  ac_status=$?
19829
 
  grep -v '^ *+' conftest.er1 >conftest.err
19830
 
  rm -f conftest.er1
19831
 
  cat conftest.err >&5
19832
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19833
 
  (exit $ac_status); } &&
19834
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19835
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19836
 
  (eval $ac_try) 2>&5
19837
 
  ac_status=$?
19838
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839
 
  (exit $ac_status); }; } &&
19840
 
         { ac_try='test -s conftest$ac_exeext'
19841
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19842
 
  (eval $ac_try) 2>&5
19843
 
  ac_status=$?
19844
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19845
 
  (exit $ac_status); }; }; then
19846
 
  ac_cv_lib_dld_shl_load=yes
19847
 
else
19848
 
  echo "$as_me: failed program was:" >&5
19849
 
sed 's/^/| /' conftest.$ac_ext >&5
19850
 
 
19851
 
ac_cv_lib_dld_shl_load=no
19852
 
fi
19853
 
rm -f conftest.err conftest.$ac_objext \
19854
 
      conftest$ac_exeext conftest.$ac_ext
19855
 
LIBS=$ac_check_lib_save_LIBS
19856
 
fi
19857
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
19858
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
19859
 
if test $ac_cv_lib_dld_shl_load = yes; then
19860
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
19861
 
else
19862
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
19863
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
19864
 
if test "${ac_cv_func_dlopen+set}" = set; then
19865
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19866
 
else
19867
 
  cat >conftest.$ac_ext <<_ACEOF
19868
 
/* confdefs.h.  */
19869
 
_ACEOF
19870
 
cat confdefs.h >>conftest.$ac_ext
19871
 
cat >>conftest.$ac_ext <<_ACEOF
19872
 
/* end confdefs.h.  */
19873
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
19874
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19875
 
#define dlopen innocuous_dlopen
19876
 
 
19877
 
/* System header to define __stub macros and hopefully few prototypes,
19878
 
    which can conflict with char dlopen (); below.
19879
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19880
 
    <limits.h> exists even on freestanding compilers.  */
19881
 
 
19882
 
#ifdef __STDC__
19883
 
# include <limits.h>
19884
 
#else
19885
 
# include <assert.h>
19886
 
#endif
19887
 
 
19888
 
#undef dlopen
19889
 
 
19890
 
/* Override any gcc2 internal prototype to avoid an error.  */
19891
 
#ifdef __cplusplus
19892
 
extern "C"
19893
 
{
19894
 
#endif
19895
 
/* We use char because int might match the return type of a gcc2
19896
 
   builtin and then its argument prototype would still apply.  */
19897
 
char dlopen ();
19898
 
/* The GNU C library defines this for functions which it implements
19899
 
    to always fail with ENOSYS.  Some functions are actually named
19900
 
    something starting with __ and the normal name is an alias.  */
19901
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
19902
 
choke me
19903
 
#else
19904
 
char (*f) () = dlopen;
19905
 
#endif
19906
 
#ifdef __cplusplus
19907
 
}
19908
 
#endif
19909
 
 
19910
 
int
19911
 
main ()
19912
 
{
19913
 
return f != dlopen;
19914
 
  ;
19915
 
  return 0;
19916
 
}
19917
 
_ACEOF
19918
 
rm -f conftest.$ac_objext conftest$ac_exeext
19919
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19920
 
  (eval $ac_link) 2>conftest.er1
19921
 
  ac_status=$?
19922
 
  grep -v '^ *+' conftest.er1 >conftest.err
19923
 
  rm -f conftest.er1
19924
 
  cat conftest.err >&5
19925
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926
 
  (exit $ac_status); } &&
19927
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19928
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19929
 
  (eval $ac_try) 2>&5
19930
 
  ac_status=$?
19931
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932
 
  (exit $ac_status); }; } &&
19933
 
         { ac_try='test -s conftest$ac_exeext'
19934
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19935
 
  (eval $ac_try) 2>&5
19936
 
  ac_status=$?
19937
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938
 
  (exit $ac_status); }; }; then
19939
 
  ac_cv_func_dlopen=yes
19940
 
else
19941
 
  echo "$as_me: failed program was:" >&5
19942
 
sed 's/^/| /' conftest.$ac_ext >&5
19943
 
 
19944
 
ac_cv_func_dlopen=no
19945
 
fi
19946
 
rm -f conftest.err conftest.$ac_objext \
19947
 
      conftest$ac_exeext conftest.$ac_ext
19948
 
fi
19949
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
19950
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
19951
 
if test $ac_cv_func_dlopen = yes; then
19952
 
  lt_cv_dlopen="dlopen"
19953
 
else
19954
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19955
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19956
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19957
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19958
 
else
19959
 
  ac_check_lib_save_LIBS=$LIBS
19960
 
LIBS="-ldl  $LIBS"
19961
 
cat >conftest.$ac_ext <<_ACEOF
19962
 
/* confdefs.h.  */
19963
 
_ACEOF
19964
 
cat confdefs.h >>conftest.$ac_ext
19965
 
cat >>conftest.$ac_ext <<_ACEOF
19966
 
/* end confdefs.h.  */
19967
 
 
19968
 
/* Override any gcc2 internal prototype to avoid an error.  */
19969
 
#ifdef __cplusplus
19970
 
extern "C"
19971
 
#endif
19972
 
/* We use char because int might match the return type of a gcc2
19973
 
   builtin and then its argument prototype would still apply.  */
19974
 
char dlopen ();
19975
 
int
19976
 
main ()
19977
 
{
19978
 
dlopen ();
19979
 
  ;
19980
 
  return 0;
19981
 
}
19982
 
_ACEOF
19983
 
rm -f conftest.$ac_objext conftest$ac_exeext
19984
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19985
 
  (eval $ac_link) 2>conftest.er1
19986
 
  ac_status=$?
19987
 
  grep -v '^ *+' conftest.er1 >conftest.err
19988
 
  rm -f conftest.er1
19989
 
  cat conftest.err >&5
19990
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19991
 
  (exit $ac_status); } &&
19992
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19993
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19994
 
  (eval $ac_try) 2>&5
19995
 
  ac_status=$?
19996
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19997
 
  (exit $ac_status); }; } &&
19998
 
         { ac_try='test -s conftest$ac_exeext'
19999
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20000
 
  (eval $ac_try) 2>&5
20001
 
  ac_status=$?
20002
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20003
 
  (exit $ac_status); }; }; then
20004
 
  ac_cv_lib_dl_dlopen=yes
20005
 
else
20006
 
  echo "$as_me: failed program was:" >&5
20007
 
sed 's/^/| /' conftest.$ac_ext >&5
20008
 
 
20009
 
ac_cv_lib_dl_dlopen=no
20010
 
fi
20011
 
rm -f conftest.err conftest.$ac_objext \
20012
 
      conftest$ac_exeext conftest.$ac_ext
20013
 
LIBS=$ac_check_lib_save_LIBS
20014
 
fi
20015
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
20016
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
20017
 
if test $ac_cv_lib_dl_dlopen = yes; then
20018
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
20019
 
else
20020
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
20021
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
20022
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
20023
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20024
 
else
20025
 
  ac_check_lib_save_LIBS=$LIBS
20026
 
LIBS="-lsvld  $LIBS"
20027
 
cat >conftest.$ac_ext <<_ACEOF
20028
 
/* confdefs.h.  */
20029
 
_ACEOF
20030
 
cat confdefs.h >>conftest.$ac_ext
20031
 
cat >>conftest.$ac_ext <<_ACEOF
20032
 
/* end confdefs.h.  */
20033
 
 
20034
 
/* Override any gcc2 internal prototype to avoid an error.  */
20035
 
#ifdef __cplusplus
20036
 
extern "C"
20037
 
#endif
20038
 
/* We use char because int might match the return type of a gcc2
20039
 
   builtin and then its argument prototype would still apply.  */
20040
 
char dlopen ();
20041
 
int
20042
 
main ()
20043
 
{
20044
 
dlopen ();
20045
 
  ;
20046
 
  return 0;
20047
 
}
20048
 
_ACEOF
20049
 
rm -f conftest.$ac_objext conftest$ac_exeext
20050
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20051
 
  (eval $ac_link) 2>conftest.er1
20052
 
  ac_status=$?
20053
 
  grep -v '^ *+' conftest.er1 >conftest.err
20054
 
  rm -f conftest.er1
20055
 
  cat conftest.err >&5
20056
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20057
 
  (exit $ac_status); } &&
20058
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20059
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20060
 
  (eval $ac_try) 2>&5
20061
 
  ac_status=$?
20062
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20063
 
  (exit $ac_status); }; } &&
20064
 
         { ac_try='test -s conftest$ac_exeext'
20065
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20066
 
  (eval $ac_try) 2>&5
20067
 
  ac_status=$?
20068
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20069
 
  (exit $ac_status); }; }; then
20070
 
  ac_cv_lib_svld_dlopen=yes
20071
 
else
20072
 
  echo "$as_me: failed program was:" >&5
20073
 
sed 's/^/| /' conftest.$ac_ext >&5
20074
 
 
20075
 
ac_cv_lib_svld_dlopen=no
20076
 
fi
20077
 
rm -f conftest.err conftest.$ac_objext \
20078
 
      conftest$ac_exeext conftest.$ac_ext
20079
 
LIBS=$ac_check_lib_save_LIBS
20080
 
fi
20081
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
20082
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
20083
 
if test $ac_cv_lib_svld_dlopen = yes; then
20084
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
20085
 
else
20086
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
20087
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
20088
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
20089
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20090
 
else
20091
 
  ac_check_lib_save_LIBS=$LIBS
20092
 
LIBS="-ldld  $LIBS"
20093
 
cat >conftest.$ac_ext <<_ACEOF
20094
 
/* confdefs.h.  */
20095
 
_ACEOF
20096
 
cat confdefs.h >>conftest.$ac_ext
20097
 
cat >>conftest.$ac_ext <<_ACEOF
20098
 
/* end confdefs.h.  */
20099
 
 
20100
 
/* Override any gcc2 internal prototype to avoid an error.  */
20101
 
#ifdef __cplusplus
20102
 
extern "C"
20103
 
#endif
20104
 
/* We use char because int might match the return type of a gcc2
20105
 
   builtin and then its argument prototype would still apply.  */
20106
 
char dld_link ();
20107
 
int
20108
 
main ()
20109
 
{
20110
 
dld_link ();
20111
 
  ;
20112
 
  return 0;
20113
 
}
20114
 
_ACEOF
20115
 
rm -f conftest.$ac_objext conftest$ac_exeext
20116
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20117
 
  (eval $ac_link) 2>conftest.er1
20118
 
  ac_status=$?
20119
 
  grep -v '^ *+' conftest.er1 >conftest.err
20120
 
  rm -f conftest.er1
20121
 
  cat conftest.err >&5
20122
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20123
 
  (exit $ac_status); } &&
20124
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20125
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20126
 
  (eval $ac_try) 2>&5
20127
 
  ac_status=$?
20128
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129
 
  (exit $ac_status); }; } &&
20130
 
         { ac_try='test -s conftest$ac_exeext'
20131
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20132
 
  (eval $ac_try) 2>&5
20133
 
  ac_status=$?
20134
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20135
 
  (exit $ac_status); }; }; then
20136
 
  ac_cv_lib_dld_dld_link=yes
20137
 
else
20138
 
  echo "$as_me: failed program was:" >&5
20139
 
sed 's/^/| /' conftest.$ac_ext >&5
20140
 
 
20141
 
ac_cv_lib_dld_dld_link=no
20142
 
fi
20143
 
rm -f conftest.err conftest.$ac_objext \
20144
 
      conftest$ac_exeext conftest.$ac_ext
20145
 
LIBS=$ac_check_lib_save_LIBS
20146
 
fi
20147
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
20148
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
20149
 
if test $ac_cv_lib_dld_dld_link = yes; then
20150
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
20151
 
fi
20152
 
 
20153
 
 
20154
 
fi
20155
 
 
20156
 
 
20157
 
fi
20158
 
 
20159
 
 
20160
 
fi
20161
 
 
20162
 
 
20163
 
fi
20164
 
 
20165
 
 
20166
 
fi
20167
 
 
20168
 
    ;;
20169
 
  esac
20170
 
 
20171
 
  if test "x$lt_cv_dlopen" != xno; then
20172
 
    enable_dlopen=yes
20173
 
  else
20174
 
    enable_dlopen=no
20175
 
  fi
20176
 
 
20177
 
  case $lt_cv_dlopen in
20178
 
  dlopen)
20179
 
    save_CPPFLAGS="$CPPFLAGS"
20180
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
20181
 
 
20182
 
    save_LDFLAGS="$LDFLAGS"
20183
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
20184
 
 
20185
 
    save_LIBS="$LIBS"
20186
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
20187
 
 
20188
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
20189
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
20190
 
if test "${lt_cv_dlopen_self+set}" = set; then
20191
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20192
 
else
20193
 
          if test "$cross_compiling" = yes; then :
20194
 
  lt_cv_dlopen_self=cross
20195
 
else
20196
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
20197
 
  lt_status=$lt_dlunknown
20198
 
  cat > conftest.$ac_ext <<EOF
20199
 
#line 20199 "configure"
20200
 
#include "confdefs.h"
20201
 
 
20202
 
#if HAVE_DLFCN_H
20203
 
#include <dlfcn.h>
20204
 
#endif
20205
 
 
20206
 
#include <stdio.h>
20207
 
 
20208
 
#ifdef RTLD_GLOBAL
20209
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
20210
 
#else
20211
 
#  ifdef DL_GLOBAL
20212
 
#    define LT_DLGLOBAL         DL_GLOBAL
20213
 
#  else
20214
 
#    define LT_DLGLOBAL         0
20215
 
#  endif
20216
 
#endif
20217
 
 
20218
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
20219
 
   find out it does not work in some platform. */
20220
 
#ifndef LT_DLLAZY_OR_NOW
20221
 
#  ifdef RTLD_LAZY
20222
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
20223
 
#  else
20224
 
#    ifdef DL_LAZY
20225
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
20226
 
#    else
20227
 
#      ifdef RTLD_NOW
20228
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
20229
 
#      else
20230
 
#        ifdef DL_NOW
20231
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
20232
 
#        else
20233
 
#          define LT_DLLAZY_OR_NOW      0
20234
 
#        endif
20235
 
#      endif
20236
 
#    endif
20237
 
#  endif
20238
 
#endif
20239
 
 
20240
 
#ifdef __cplusplus
20241
 
extern "C" void exit (int);
20242
 
#endif
20243
 
 
20244
 
void fnord() { int i=42;}
20245
 
int main ()
20246
 
{
20247
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
20248
 
  int status = $lt_dlunknown;
20249
 
 
20250
 
  if (self)
20251
 
    {
20252
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
20253
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
20254
 
      /* dlclose (self); */
20255
 
    }
20256
 
 
20257
 
    exit (status);
20258
 
}
20259
 
EOF
20260
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20261
 
  (eval $ac_link) 2>&5
20262
 
  ac_status=$?
20263
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20264
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
20265
 
    (./conftest; exit; ) >&5 2>/dev/null
20266
 
    lt_status=$?
20267
 
    case x$lt_status in
20268
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
20269
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
20270
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
20271
 
    esac
20272
 
  else :
20273
 
    # compilation failed
20274
 
    lt_cv_dlopen_self=no
20275
 
  fi
20276
 
fi
20277
 
rm -fr conftest*
20278
 
 
20279
 
 
20280
 
fi
20281
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
20282
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
20283
 
 
20284
 
    if test "x$lt_cv_dlopen_self" = xyes; then
20285
 
      LDFLAGS="$LDFLAGS $link_static_flag"
20286
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
20287
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
20288
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
20289
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20290
 
else
20291
 
          if test "$cross_compiling" = yes; then :
20292
 
  lt_cv_dlopen_self_static=cross
20293
 
else
20294
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
20295
 
  lt_status=$lt_dlunknown
20296
 
  cat > conftest.$ac_ext <<EOF
20297
 
#line 20297 "configure"
20298
 
#include "confdefs.h"
20299
 
 
20300
 
#if HAVE_DLFCN_H
20301
 
#include <dlfcn.h>
20302
 
#endif
20303
 
 
20304
 
#include <stdio.h>
20305
 
 
20306
 
#ifdef RTLD_GLOBAL
20307
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
20308
 
#else
20309
 
#  ifdef DL_GLOBAL
20310
 
#    define LT_DLGLOBAL         DL_GLOBAL
20311
 
#  else
20312
 
#    define LT_DLGLOBAL         0
20313
 
#  endif
20314
 
#endif
20315
 
 
20316
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
20317
 
   find out it does not work in some platform. */
20318
 
#ifndef LT_DLLAZY_OR_NOW
20319
 
#  ifdef RTLD_LAZY
20320
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
20321
 
#  else
20322
 
#    ifdef DL_LAZY
20323
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
20324
 
#    else
20325
 
#      ifdef RTLD_NOW
20326
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
20327
 
#      else
20328
 
#        ifdef DL_NOW
20329
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
20330
 
#        else
20331
 
#          define LT_DLLAZY_OR_NOW      0
20332
 
#        endif
20333
 
#      endif
20334
 
#    endif
20335
 
#  endif
20336
 
#endif
20337
 
 
20338
 
#ifdef __cplusplus
20339
 
extern "C" void exit (int);
20340
 
#endif
20341
 
 
20342
 
void fnord() { int i=42;}
20343
 
int main ()
20344
 
{
20345
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
20346
 
  int status = $lt_dlunknown;
20347
 
 
20348
 
  if (self)
20349
 
    {
20350
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
20351
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
20352
 
      /* dlclose (self); */
20353
 
    }
20354
 
 
20355
 
    exit (status);
20356
 
}
20357
 
EOF
20358
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20359
 
  (eval $ac_link) 2>&5
20360
 
  ac_status=$?
20361
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
20363
 
    (./conftest; exit; ) >&5 2>/dev/null
20364
 
    lt_status=$?
20365
 
    case x$lt_status in
20366
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
20367
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
20368
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
20369
 
    esac
20370
 
  else :
20371
 
    # compilation failed
20372
 
    lt_cv_dlopen_self_static=no
20373
 
  fi
20374
 
fi
20375
 
rm -fr conftest*
20376
 
 
20377
 
 
20378
 
fi
20379
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
20380
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
20381
 
    fi
20382
 
 
20383
 
    CPPFLAGS="$save_CPPFLAGS"
20384
 
    LDFLAGS="$save_LDFLAGS"
20385
 
    LIBS="$save_LIBS"
20386
 
    ;;
20387
 
  esac
20388
 
 
20389
 
  case $lt_cv_dlopen_self in
20390
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
20391
 
  *) enable_dlopen_self=unknown ;;
20392
 
  esac
20393
 
 
20394
 
  case $lt_cv_dlopen_self_static in
20395
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
20396
 
  *) enable_dlopen_self_static=unknown ;;
20397
 
  esac
20398
 
fi
20399
 
 
20400
20653
 
20401
20654
# The else clause should only fire when bootstrapping the
20402
20655
# libtool distribution, otherwise you forgot to ship ltmain.sh
20411
20664
  # Now quote all the things that may contain metacharacters while being
20412
20665
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
20413
20666
  # variables and quote the copies for generation of the libtool script.
20414
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
20667
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20415
20668
    SED SHELL STRIP \
20416
20669
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20417
20670
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20529
20782
# A C compiler.
20530
20783
LTCC=$lt_LTCC
20531
20784
 
 
20785
# LTCC compiler flags.
 
20786
LTCFLAGS=$lt_LTCFLAGS
 
20787
 
20532
20788
# A language-specific compiler.
20533
20789
CC=$lt_compiler_GCJ
20534
20790
 
20819
21075
      RC)
20820
21076
 
20821
21077
 
20822
 
 
20823
21078
# Source file extension for RC test sources.
20824
21079
ac_ext=rc
20825
21080
 
20838
21093
# If no C compiler was specified, use CC.
20839
21094
LTCC=${LTCC-"$CC"}
20840
21095
 
 
21096
# If no C compiler flags were specified, use CFLAGS.
 
21097
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
21098
 
20841
21099
# Allow CC to be a program name with arguments.
20842
21100
compiler=$CC
20843
21101
 
20845
21103
# save warnings/boilerplate of simple test code
20846
21104
ac_outfile=conftest.$ac_objext
20847
21105
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
20848
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
21106
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20849
21107
_lt_compiler_boilerplate=`cat conftest.err`
20850
21108
$rm conftest*
20851
21109
 
20852
21110
ac_outfile=conftest.$ac_objext
20853
21111
printf "$lt_simple_link_test_code" >conftest.$ac_ext
20854
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
21112
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20855
21113
_lt_linker_boilerplate=`cat conftest.err`
20856
21114
$rm conftest*
20857
21115
 
20886
21144
  # Now quote all the things that may contain metacharacters while being
20887
21145
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
20888
21146
  # variables and quote the copies for generation of the libtool script.
20889
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
21147
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20890
21148
    SED SHELL STRIP \
20891
21149
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20892
21150
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21004
21262
# A C compiler.
21005
21263
LTCC=$lt_LTCC
21006
21264
 
 
21265
# LTCC compiler flags.
 
21266
LTCFLAGS=$lt_LTCFLAGS
 
21267
 
21007
21268
# A language-specific compiler.
21008
21269
CC=$lt_compiler_RC
21009
21270
 
21345
21606
 
21346
21607
 
21347
21608
 
21348
 
echo "$as_me:$LINENO: checking if we need -no-undefined" >&5
21349
 
echo $ECHO_N "checking if we need -no-undefined... $ECHO_C" >&6
 
21609
{ echo "$as_me:$LINENO: checking if we need -no-undefined" >&5
 
21610
echo $ECHO_N "checking if we need -no-undefined... $ECHO_C" >&6; }
21350
21611
case $host in
21351
21612
  *-*-cygwin | *-*-mingw* | *-*-pw32*)
21352
21613
    need_no_undefined=yes
21355
21616
    need_no_undefined=no
21356
21617
    ;;
21357
21618
esac
21358
 
echo "$as_me:$LINENO: result: $need_no_undefined" >&5
21359
 
echo "${ECHO_T}$need_no_undefined" >&6
 
21619
{ echo "$as_me:$LINENO: result: $need_no_undefined" >&5
 
21620
echo "${ECHO_T}$need_no_undefined" >&6; }
21360
21621
 
21361
21622
 
21362
21623
if test x$need_no_undefined = xyes; then
21368
21629
fi
21369
21630
 
21370
21631
 
21371
 
echo "$as_me:$LINENO: checking if we need -mimpure-text" >&5
21372
 
echo $ECHO_N "checking if we need -mimpure-text... $ECHO_C" >&6
 
21632
{ echo "$as_me:$LINENO: checking if we need -mimpure-text" >&5
 
21633
echo $ECHO_N "checking if we need -mimpure-text... $ECHO_C" >&6; }
21373
21634
mimpure=no
21374
21635
case $host in
21375
21636
  *-*-solaris2*)
21380
21641
  *)
21381
21642
    ;;
21382
21643
esac
21383
 
echo "$as_me:$LINENO: result: $mimpure" >&5
21384
 
echo "${ECHO_T}$mimpure" >&6
 
21644
{ echo "$as_me:$LINENO: result: $mimpure" >&5
 
21645
echo "${ECHO_T}$mimpure" >&6; }
21385
21646
 
21386
21647
 
21387
21648
if test x$mimpure = xyes; then
21393
21654
fi
21394
21655
 
21395
21656
 
21396
 
echo "$as_me:$LINENO: checking if we need BUILDING_LIBCURL" >&5
21397
 
echo $ECHO_N "checking if we need BUILDING_LIBCURL... $ECHO_C" >&6
 
21657
{ echo "$as_me:$LINENO: checking if we need BUILDING_LIBCURL" >&5
 
21658
echo $ECHO_N "checking if we need BUILDING_LIBCURL... $ECHO_C" >&6; }
21398
21659
case $host in
21399
21660
  *-*-mingw*)
21400
21661
 
21402
21663
#define BUILDING_LIBCURL 1
21403
21664
_ACEOF
21404
21665
 
21405
 
    echo "$as_me:$LINENO: result: yes" >&5
21406
 
echo "${ECHO_T}yes" >&6
21407
 
    echo "$as_me:$LINENO: checking if we need CURL_STATICLIB" >&5
21408
 
echo $ECHO_N "checking if we need CURL_STATICLIB... $ECHO_C" >&6
 
21666
    { echo "$as_me:$LINENO: result: yes" >&5
 
21667
echo "${ECHO_T}yes" >&6; }
 
21668
    { echo "$as_me:$LINENO: checking if we need CURL_STATICLIB" >&5
 
21669
echo $ECHO_N "checking if we need CURL_STATICLIB... $ECHO_C" >&6; }
21409
21670
    if test "X$enable_shared" = "Xno"
21410
21671
    then
21411
21672
 
21413
21674
#define CURL_STATICLIB 1
21414
21675
_ACEOF
21415
21676
 
21416
 
      echo "$as_me:$LINENO: result: yes" >&5
21417
 
echo "${ECHO_T}yes" >&6
 
21677
      { echo "$as_me:$LINENO: result: yes" >&5
 
21678
echo "${ECHO_T}yes" >&6; }
21418
21679
    else
21419
 
      echo "$as_me:$LINENO: result: no" >&5
21420
 
echo "${ECHO_T}no" >&6
 
21680
      { echo "$as_me:$LINENO: result: no" >&5
 
21681
echo "${ECHO_T}no" >&6; }
21421
21682
    fi
21422
21683
    ;;
21423
21684
  *)
21424
 
    echo "$as_me:$LINENO: result: no" >&5
21425
 
echo "${ECHO_T}no" >&6
 
21685
    { echo "$as_me:$LINENO: result: no" >&5
 
21686
echo "${ECHO_T}no" >&6; }
21426
21687
    ;;
21427
21688
esac
21428
21689
 
21429
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
21430
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
21431
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
21432
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
21690
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
21691
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
21692
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/^a-zA-Z0-9_/_/g'`
 
21693
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
21433
21694
  echo $ECHO_N "(cached) $ECHO_C" >&6
21434
21695
else
21435
21696
  cat >conftest.make <<\_ACEOF
 
21697
SHELL = /bin/sh
21436
21698
all:
21437
 
        @echo 'ac_maketemp="$(MAKE)"'
 
21699
        @echo '@@@%%%=$(MAKE)=@@@%%%'
21438
21700
_ACEOF
21439
21701
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21440
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
21441
 
if test -n "$ac_maketemp"; then
21442
 
  eval ac_cv_prog_make_${ac_make}_set=yes
21443
 
else
21444
 
  eval ac_cv_prog_make_${ac_make}_set=no
21445
 
fi
 
21702
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
21703
  *@@@%%%=?*=@@@%%%*)
 
21704
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
21705
  *)
 
21706
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
21707
esac
21446
21708
rm -f conftest.make
21447
21709
fi
21448
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
21449
 
  echo "$as_me:$LINENO: result: yes" >&5
21450
 
echo "${ECHO_T}yes" >&6
 
21710
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
21711
  { echo "$as_me:$LINENO: result: yes" >&5
 
21712
echo "${ECHO_T}yes" >&6; }
21451
21713
  SET_MAKE=
21452
21714
else
21453
 
  echo "$as_me:$LINENO: result: no" >&5
21454
 
echo "${ECHO_T}no" >&6
 
21715
  { echo "$as_me:$LINENO: result: no" >&5
 
21716
echo "${ECHO_T}no" >&6; }
21455
21717
  SET_MAKE="MAKE=${MAKE-make}"
21456
21718
fi
21457
21719
 
21458
21720
 
21459
 
echo "$as_me:$LINENO: checking whether to support http" >&5
21460
 
echo $ECHO_N "checking whether to support http... $ECHO_C" >&6
21461
 
# Check whether --enable-http or --disable-http was given.
 
21721
 
 
21722
 
 
21723
  { echo "$as_me:$LINENO: checking for windows.h" >&5
 
21724
echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
 
21725
if test "${ac_cv_header_windows_h+set}" = set; then
 
21726
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21727
else
 
21728
 
 
21729
    cat >conftest.$ac_ext <<_ACEOF
 
21730
 
 
21731
      /* confdefs.h.  */
 
21732
_ACEOF
 
21733
cat confdefs.h >>conftest.$ac_ext
 
21734
cat >>conftest.$ac_ext <<_ACEOF
 
21735
/* end confdefs.h.  */
 
21736
 
 
21737
#undef inline
 
21738
#ifndef WIN32_LEAN_AND_MEAN
 
21739
#define WIN32_LEAN_AND_MEAN
 
21740
#endif
 
21741
#include <windows.h>
 
21742
 
 
21743
int
 
21744
main ()
 
21745
{
 
21746
 
 
21747
        int dummy=2*WINVER;
 
21748
 
 
21749
  ;
 
21750
  return 0;
 
21751
}
 
21752
 
 
21753
_ACEOF
 
21754
rm -f conftest.$ac_objext
 
21755
if { (ac_try="$ac_compile"
 
21756
case "(($ac_try" in
 
21757
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21758
  *) ac_try_echo=$ac_try;;
 
21759
esac
 
21760
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21761
  (eval "$ac_compile") 2>conftest.er1
 
21762
  ac_status=$?
 
21763
  grep -v '^ *+' conftest.er1 >conftest.err
 
21764
  rm -f conftest.er1
 
21765
  cat conftest.err >&5
 
21766
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21767
  (exit $ac_status); } &&
 
21768
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21769
  { (case "(($ac_try" in
 
21770
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21771
  *) ac_try_echo=$ac_try;;
 
21772
esac
 
21773
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21774
  (eval "$ac_try") 2>&5
 
21775
  ac_status=$?
 
21776
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21777
  (exit $ac_status); }; } &&
 
21778
         { ac_try='test -s conftest.$ac_objext'
 
21779
  { (case "(($ac_try" in
 
21780
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21781
  *) ac_try_echo=$ac_try;;
 
21782
esac
 
21783
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21784
  (eval "$ac_try") 2>&5
 
21785
  ac_status=$?
 
21786
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21787
  (exit $ac_status); }; }; then
 
21788
 
 
21789
      ac_cv_header_windows_h="yes"
 
21790
 
 
21791
else
 
21792
  echo "$as_me: failed program was:" >&5
 
21793
sed 's/^/| /' conftest.$ac_ext >&5
 
21794
 
 
21795
 
 
21796
      ac_cv_header_windows_h="no"
 
21797
 
 
21798
fi
 
21799
 
 
21800
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21801
 
 
21802
fi
 
21803
{ echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
 
21804
echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
 
21805
  if test "x$ac_cv_header_windows_h" = "xyes"; then
 
21806
 
 
21807
cat >>confdefs.h <<_ACEOF
 
21808
#define HAVE_WINDOWS_H 1
 
21809
_ACEOF
 
21810
 
 
21811
 
 
21812
cat >>confdefs.h <<_ACEOF
 
21813
#define WIN32_LEAN_AND_MEAN 1
 
21814
_ACEOF
 
21815
 
 
21816
  fi
 
21817
 
 
21818
 
 
21819
    { echo "$as_me:$LINENO: checking for winsock.h" >&5
 
21820
echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; }
 
21821
if test "${ac_cv_header_winsock_h+set}" = set; then
 
21822
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21823
else
 
21824
 
 
21825
    cat >conftest.$ac_ext <<_ACEOF
 
21826
 
 
21827
      /* confdefs.h.  */
 
21828
_ACEOF
 
21829
cat confdefs.h >>conftest.$ac_ext
 
21830
cat >>conftest.$ac_ext <<_ACEOF
 
21831
/* end confdefs.h.  */
 
21832
 
 
21833
#undef inline
 
21834
#ifndef WIN32_LEAN_AND_MEAN
 
21835
#define WIN32_LEAN_AND_MEAN
 
21836
#endif
 
21837
#include <windows.h>
 
21838
#include <winsock.h>
 
21839
 
 
21840
int
 
21841
main ()
 
21842
{
 
21843
 
 
21844
        int dummy=WSACleanup();
 
21845
 
 
21846
  ;
 
21847
  return 0;
 
21848
}
 
21849
 
 
21850
_ACEOF
 
21851
rm -f conftest.$ac_objext
 
21852
if { (ac_try="$ac_compile"
 
21853
case "(($ac_try" in
 
21854
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21855
  *) ac_try_echo=$ac_try;;
 
21856
esac
 
21857
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21858
  (eval "$ac_compile") 2>conftest.er1
 
21859
  ac_status=$?
 
21860
  grep -v '^ *+' conftest.er1 >conftest.err
 
21861
  rm -f conftest.er1
 
21862
  cat conftest.err >&5
 
21863
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21864
  (exit $ac_status); } &&
 
21865
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21866
  { (case "(($ac_try" in
 
21867
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21868
  *) ac_try_echo=$ac_try;;
 
21869
esac
 
21870
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21871
  (eval "$ac_try") 2>&5
 
21872
  ac_status=$?
 
21873
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21874
  (exit $ac_status); }; } &&
 
21875
         { ac_try='test -s conftest.$ac_objext'
 
21876
  { (case "(($ac_try" in
 
21877
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21878
  *) ac_try_echo=$ac_try;;
 
21879
esac
 
21880
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21881
  (eval "$ac_try") 2>&5
 
21882
  ac_status=$?
 
21883
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21884
  (exit $ac_status); }; }; then
 
21885
 
 
21886
      ac_cv_header_winsock_h="yes"
 
21887
 
 
21888
else
 
21889
  echo "$as_me: failed program was:" >&5
 
21890
sed 's/^/| /' conftest.$ac_ext >&5
 
21891
 
 
21892
 
 
21893
      ac_cv_header_winsock_h="no"
 
21894
 
 
21895
fi
 
21896
 
 
21897
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21898
 
 
21899
fi
 
21900
{ echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5
 
21901
echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; }
 
21902
  if test "x$ac_cv_header_winsock_h" = "xyes"; then
 
21903
 
 
21904
cat >>confdefs.h <<_ACEOF
 
21905
#define HAVE_WINSOCK_H 1
 
21906
_ACEOF
 
21907
 
 
21908
  fi
 
21909
 
 
21910
 
 
21911
    { echo "$as_me:$LINENO: checking for winsock2.h" >&5
 
21912
echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; }
 
21913
if test "${ac_cv_header_winsock2_h+set}" = set; then
 
21914
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21915
else
 
21916
 
 
21917
    cat >conftest.$ac_ext <<_ACEOF
 
21918
 
 
21919
      /* confdefs.h.  */
 
21920
_ACEOF
 
21921
cat confdefs.h >>conftest.$ac_ext
 
21922
cat >>conftest.$ac_ext <<_ACEOF
 
21923
/* end confdefs.h.  */
 
21924
 
 
21925
#undef inline
 
21926
#ifndef WIN32_LEAN_AND_MEAN
 
21927
#define WIN32_LEAN_AND_MEAN
 
21928
#endif
 
21929
#include <windows.h>
 
21930
#include <winsock2.h>
 
21931
 
 
21932
int
 
21933
main ()
 
21934
{
 
21935
 
 
21936
        int dummy=2*IPPROTO_ESP;
 
21937
 
 
21938
  ;
 
21939
  return 0;
 
21940
}
 
21941
 
 
21942
_ACEOF
 
21943
rm -f conftest.$ac_objext
 
21944
if { (ac_try="$ac_compile"
 
21945
case "(($ac_try" in
 
21946
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21947
  *) ac_try_echo=$ac_try;;
 
21948
esac
 
21949
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21950
  (eval "$ac_compile") 2>conftest.er1
 
21951
  ac_status=$?
 
21952
  grep -v '^ *+' conftest.er1 >conftest.err
 
21953
  rm -f conftest.er1
 
21954
  cat conftest.err >&5
 
21955
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21956
  (exit $ac_status); } &&
 
21957
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21958
  { (case "(($ac_try" in
 
21959
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21960
  *) ac_try_echo=$ac_try;;
 
21961
esac
 
21962
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21963
  (eval "$ac_try") 2>&5
 
21964
  ac_status=$?
 
21965
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21966
  (exit $ac_status); }; } &&
 
21967
         { ac_try='test -s conftest.$ac_objext'
 
21968
  { (case "(($ac_try" in
 
21969
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21970
  *) ac_try_echo=$ac_try;;
 
21971
esac
 
21972
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21973
  (eval "$ac_try") 2>&5
 
21974
  ac_status=$?
 
21975
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21976
  (exit $ac_status); }; }; then
 
21977
 
 
21978
      ac_cv_header_winsock2_h="yes"
 
21979
 
 
21980
else
 
21981
  echo "$as_me: failed program was:" >&5
 
21982
sed 's/^/| /' conftest.$ac_ext >&5
 
21983
 
 
21984
 
 
21985
      ac_cv_header_winsock2_h="no"
 
21986
 
 
21987
fi
 
21988
 
 
21989
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21990
 
 
21991
fi
 
21992
{ echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5
 
21993
echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; }
 
21994
  if test "x$ac_cv_header_winsock2_h" = "xyes"; then
 
21995
 
 
21996
cat >>confdefs.h <<_ACEOF
 
21997
#define HAVE_WINSOCK2_H 1
 
21998
_ACEOF
 
21999
 
 
22000
  fi
 
22001
 
 
22002
 
 
22003
    { echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5
 
22004
echo $ECHO_N "checking for ws2tcpip.h... $ECHO_C" >&6; }
 
22005
if test "${ac_cv_header_ws2tcpip_h+set}" = set; then
 
22006
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22007
else
 
22008
 
 
22009
    cat >conftest.$ac_ext <<_ACEOF
 
22010
 
 
22011
      /* confdefs.h.  */
 
22012
_ACEOF
 
22013
cat confdefs.h >>conftest.$ac_ext
 
22014
cat >>conftest.$ac_ext <<_ACEOF
 
22015
/* end confdefs.h.  */
 
22016
 
 
22017
#undef inline
 
22018
#ifndef WIN32_LEAN_AND_MEAN
 
22019
#define WIN32_LEAN_AND_MEAN
 
22020
#endif
 
22021
#include <windows.h>
 
22022
#include <winsock2.h>
 
22023
#include <ws2tcpip.h>
 
22024
 
 
22025
int
 
22026
main ()
 
22027
{
 
22028
 
 
22029
        int dummy=2*IP_PKTINFO;
 
22030
 
 
22031
  ;
 
22032
  return 0;
 
22033
}
 
22034
 
 
22035
_ACEOF
 
22036
rm -f conftest.$ac_objext
 
22037
if { (ac_try="$ac_compile"
 
22038
case "(($ac_try" in
 
22039
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22040
  *) ac_try_echo=$ac_try;;
 
22041
esac
 
22042
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22043
  (eval "$ac_compile") 2>conftest.er1
 
22044
  ac_status=$?
 
22045
  grep -v '^ *+' conftest.er1 >conftest.err
 
22046
  rm -f conftest.er1
 
22047
  cat conftest.err >&5
 
22048
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22049
  (exit $ac_status); } &&
 
22050
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22051
  { (case "(($ac_try" in
 
22052
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22053
  *) ac_try_echo=$ac_try;;
 
22054
esac
 
22055
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22056
  (eval "$ac_try") 2>&5
 
22057
  ac_status=$?
 
22058
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22059
  (exit $ac_status); }; } &&
 
22060
         { ac_try='test -s conftest.$ac_objext'
 
22061
  { (case "(($ac_try" in
 
22062
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22063
  *) ac_try_echo=$ac_try;;
 
22064
esac
 
22065
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22066
  (eval "$ac_try") 2>&5
 
22067
  ac_status=$?
 
22068
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22069
  (exit $ac_status); }; }; then
 
22070
 
 
22071
      ac_cv_header_ws2tcpip_h="yes"
 
22072
 
 
22073
else
 
22074
  echo "$as_me: failed program was:" >&5
 
22075
sed 's/^/| /' conftest.$ac_ext >&5
 
22076
 
 
22077
 
 
22078
      ac_cv_header_ws2tcpip_h="no"
 
22079
 
 
22080
fi
 
22081
 
 
22082
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22083
 
 
22084
fi
 
22085
{ echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5
 
22086
echo "${ECHO_T}$ac_cv_header_ws2tcpip_h" >&6; }
 
22087
  if test "x$ac_cv_header_ws2tcpip_h" = "xyes"; then
 
22088
 
 
22089
cat >>confdefs.h <<_ACEOF
 
22090
#define HAVE_WS2TCPIP_H 1
 
22091
_ACEOF
 
22092
 
 
22093
  fi
 
22094
 
 
22095
 
 
22096
 
 
22097
{ echo "$as_me:$LINENO: checking whether to support http" >&5
 
22098
echo $ECHO_N "checking whether to support http... $ECHO_C" >&6; }
 
22099
# Check whether --enable-http was given.
21462
22100
if test "${enable_http+set}" = set; then
21463
 
  enableval="$enable_http"
21464
 
   case "$enableval" in
 
22101
  enableval=$enable_http;  case "$enableval" in
21465
22102
  no)
21466
 
       echo "$as_me:$LINENO: result: no" >&5
21467
 
echo "${ECHO_T}no" >&6
 
22103
       { echo "$as_me:$LINENO: result: no" >&5
 
22104
echo "${ECHO_T}no" >&6; }
21468
22105
 
21469
22106
cat >>confdefs.h <<\_ACEOF
21470
22107
#define CURL_DISABLE_HTTP 1
21471
22108
_ACEOF
21472
22109
 
21473
 
       { echo "$as_me:$LINENO: WARNING: disable HTTP disables FTP over proxy and GOPHER too" >&5
21474
 
echo "$as_me: WARNING: disable HTTP disables FTP over proxy and GOPHER too" >&2;}
21475
 
 
21476
 
cat >>confdefs.h <<\_ACEOF
21477
 
#define CURL_DISABLE_GOPHER 1
21478
 
_ACEOF
21479
 
 
 
22110
       { echo "$as_me:$LINENO: WARNING: disable HTTP disables FTP over proxy" >&5
 
22111
echo "$as_me: WARNING: disable HTTP disables FTP over proxy" >&2;}
21480
22112
       CURL_DISABLE_HTTP=1
21481
22113
 
21482
 
       CURL_DISABLE_GOPHER=1
21483
 
 
21484
22114
       ;;
21485
 
  *)   echo "$as_me:$LINENO: result: yes" >&5
21486
 
echo "${ECHO_T}yes" >&6
 
22115
  *)   { echo "$as_me:$LINENO: result: yes" >&5
 
22116
echo "${ECHO_T}yes" >&6; }
21487
22117
       ;;
21488
22118
  esac
21489
22119
else
21490
 
  echo "$as_me:$LINENO: result: yes" >&5
21491
 
echo "${ECHO_T}yes" >&6
21492
 
 
21493
 
fi;
21494
 
echo "$as_me:$LINENO: checking whether to support ftp" >&5
21495
 
echo $ECHO_N "checking whether to support ftp... $ECHO_C" >&6
21496
 
# Check whether --enable-ftp or --disable-ftp was given.
 
22120
  { echo "$as_me:$LINENO: result: yes" >&5
 
22121
echo "${ECHO_T}yes" >&6; }
 
22122
 
 
22123
fi
 
22124
 
 
22125
{ echo "$as_me:$LINENO: checking whether to support ftp" >&5
 
22126
echo $ECHO_N "checking whether to support ftp... $ECHO_C" >&6; }
 
22127
# Check whether --enable-ftp was given.
21497
22128
if test "${enable_ftp+set}" = set; then
21498
 
  enableval="$enable_ftp"
21499
 
   case "$enableval" in
 
22129
  enableval=$enable_ftp;  case "$enableval" in
21500
22130
  no)
21501
 
       echo "$as_me:$LINENO: result: no" >&5
21502
 
echo "${ECHO_T}no" >&6
 
22131
       { echo "$as_me:$LINENO: result: no" >&5
 
22132
echo "${ECHO_T}no" >&6; }
21503
22133
 
21504
22134
cat >>confdefs.h <<\_ACEOF
21505
22135
#define CURL_DISABLE_FTP 1
21508
22138
       CURL_DISABLE_FTP=1
21509
22139
 
21510
22140
       ;;
21511
 
  *)   echo "$as_me:$LINENO: result: yes" >&5
21512
 
echo "${ECHO_T}yes" >&6
21513
 
       ;;
21514
 
  esac
21515
 
else
21516
 
  echo "$as_me:$LINENO: result: yes" >&5
21517
 
echo "${ECHO_T}yes" >&6
21518
 
 
21519
 
fi;
21520
 
echo "$as_me:$LINENO: checking whether to support gopher" >&5
21521
 
echo $ECHO_N "checking whether to support gopher... $ECHO_C" >&6
21522
 
# Check whether --enable-gopher or --disable-gopher was given.
21523
 
if test "${enable_gopher+set}" = set; then
21524
 
  enableval="$enable_gopher"
21525
 
   case "$enableval" in
21526
 
  no)
21527
 
       echo "$as_me:$LINENO: result: no" >&5
21528
 
echo "${ECHO_T}no" >&6
21529
 
 
21530
 
cat >>confdefs.h <<\_ACEOF
21531
 
#define CURL_DISABLE_GOPHER 1
21532
 
_ACEOF
21533
 
 
21534
 
       CURL_DISABLE_GOPHER=1
21535
 
 
21536
 
       ;;
21537
 
  *)   echo "$as_me:$LINENO: result: yes" >&5
21538
 
echo "${ECHO_T}yes" >&6
21539
 
       ;;
21540
 
  esac
21541
 
else
21542
 
  echo "$as_me:$LINENO: result: yes" >&5
21543
 
echo "${ECHO_T}yes" >&6
21544
 
 
21545
 
fi;
21546
 
echo "$as_me:$LINENO: checking whether to support file" >&5
21547
 
echo $ECHO_N "checking whether to support file... $ECHO_C" >&6
21548
 
# Check whether --enable-file or --disable-file was given.
 
22141
  *)   { echo "$as_me:$LINENO: result: yes" >&5
 
22142
echo "${ECHO_T}yes" >&6; }
 
22143
       ;;
 
22144
  esac
 
22145
else
 
22146
  { echo "$as_me:$LINENO: result: yes" >&5
 
22147
echo "${ECHO_T}yes" >&6; }
 
22148
 
 
22149
fi
 
22150
 
 
22151
{ echo "$as_me:$LINENO: checking whether to support file" >&5
 
22152
echo $ECHO_N "checking whether to support file... $ECHO_C" >&6; }
 
22153
# Check whether --enable-file was given.
21549
22154
if test "${enable_file+set}" = set; then
21550
 
  enableval="$enable_file"
21551
 
   case "$enableval" in
 
22155
  enableval=$enable_file;  case "$enableval" in
21552
22156
  no)
21553
 
       echo "$as_me:$LINENO: result: no" >&5
21554
 
echo "${ECHO_T}no" >&6
 
22157
       { echo "$as_me:$LINENO: result: no" >&5
 
22158
echo "${ECHO_T}no" >&6; }
21555
22159
 
21556
22160
cat >>confdefs.h <<\_ACEOF
21557
22161
#define CURL_DISABLE_FILE 1
21560
22164
       CURL_DISABLE_FILE=1
21561
22165
 
21562
22166
       ;;
21563
 
  *)   echo "$as_me:$LINENO: result: yes" >&5
21564
 
echo "${ECHO_T}yes" >&6
 
22167
  *)   { echo "$as_me:$LINENO: result: yes" >&5
 
22168
echo "${ECHO_T}yes" >&6; }
21565
22169
       ;;
21566
22170
  esac
21567
22171
else
21568
 
  echo "$as_me:$LINENO: result: yes" >&5
21569
 
echo "${ECHO_T}yes" >&6
21570
 
 
21571
 
fi;
21572
 
echo "$as_me:$LINENO: checking whether to support ldap" >&5
21573
 
echo $ECHO_N "checking whether to support ldap... $ECHO_C" >&6
21574
 
# Check whether --enable-ldap or --disable-ldap was given.
 
22172
  { echo "$as_me:$LINENO: result: yes" >&5
 
22173
echo "${ECHO_T}yes" >&6; }
 
22174
 
 
22175
fi
 
22176
 
 
22177
{ echo "$as_me:$LINENO: checking whether to support ldap" >&5
 
22178
echo $ECHO_N "checking whether to support ldap... $ECHO_C" >&6; }
 
22179
# Check whether --enable-ldap was given.
21575
22180
if test "${enable_ldap+set}" = set; then
21576
 
  enableval="$enable_ldap"
21577
 
   case "$enableval" in
 
22181
  enableval=$enable_ldap;  case "$enableval" in
21578
22182
  no)
21579
 
       echo "$as_me:$LINENO: result: no" >&5
21580
 
echo "${ECHO_T}no" >&6
 
22183
       { echo "$as_me:$LINENO: result: no" >&5
 
22184
echo "${ECHO_T}no" >&6; }
21581
22185
 
21582
22186
cat >>confdefs.h <<\_ACEOF
21583
22187
#define CURL_DISABLE_LDAP 1
21586
22190
       CURL_DISABLE_LDAP=1
21587
22191
 
21588
22192
       ;;
21589
 
  *)   echo "$as_me:$LINENO: result: yes" >&5
21590
 
echo "${ECHO_T}yes" >&6
 
22193
  *)   { echo "$as_me:$LINENO: result: yes" >&5
 
22194
echo "${ECHO_T}yes" >&6; }
21591
22195
       ;;
21592
22196
  esac
21593
22197
else
21594
 
  echo "$as_me:$LINENO: result: yes" >&5
21595
 
echo "${ECHO_T}yes" >&6
21596
 
 
21597
 
fi;
21598
 
echo "$as_me:$LINENO: checking whether to support dict" >&5
21599
 
echo $ECHO_N "checking whether to support dict... $ECHO_C" >&6
21600
 
# Check whether --enable-dict or --disable-dict was given.
 
22198
  { echo "$as_me:$LINENO: result: yes" >&5
 
22199
echo "${ECHO_T}yes" >&6; }
 
22200
 
 
22201
fi
 
22202
 
 
22203
{ echo "$as_me:$LINENO: checking whether to support dict" >&5
 
22204
echo $ECHO_N "checking whether to support dict... $ECHO_C" >&6; }
 
22205
# Check whether --enable-dict was given.
21601
22206
if test "${enable_dict+set}" = set; then
21602
 
  enableval="$enable_dict"
21603
 
   case "$enableval" in
 
22207
  enableval=$enable_dict;  case "$enableval" in
21604
22208
  no)
21605
 
       echo "$as_me:$LINENO: result: no" >&5
21606
 
echo "${ECHO_T}no" >&6
 
22209
       { echo "$as_me:$LINENO: result: no" >&5
 
22210
echo "${ECHO_T}no" >&6; }
21607
22211
 
21608
22212
cat >>confdefs.h <<\_ACEOF
21609
22213
#define CURL_DISABLE_DICT 1
21612
22216
       CURL_DISABLE_DICT=1
21613
22217
 
21614
22218
       ;;
21615
 
  *)   echo "$as_me:$LINENO: result: yes" >&5
21616
 
echo "${ECHO_T}yes" >&6
 
22219
  *)   { echo "$as_me:$LINENO: result: yes" >&5
 
22220
echo "${ECHO_T}yes" >&6; }
21617
22221
       ;;
21618
22222
  esac
21619
22223
else
21620
 
  echo "$as_me:$LINENO: result: yes" >&5
21621
 
echo "${ECHO_T}yes" >&6
21622
 
 
21623
 
fi;
21624
 
echo "$as_me:$LINENO: checking whether to support telnet" >&5
21625
 
echo $ECHO_N "checking whether to support telnet... $ECHO_C" >&6
21626
 
# Check whether --enable-telnet or --disable-telnet was given.
 
22224
  { echo "$as_me:$LINENO: result: yes" >&5
 
22225
echo "${ECHO_T}yes" >&6; }
 
22226
 
 
22227
fi
 
22228
 
 
22229
{ echo "$as_me:$LINENO: checking whether to support telnet" >&5
 
22230
echo $ECHO_N "checking whether to support telnet... $ECHO_C" >&6; }
 
22231
# Check whether --enable-telnet was given.
21627
22232
if test "${enable_telnet+set}" = set; then
21628
 
  enableval="$enable_telnet"
21629
 
   case "$enableval" in
 
22233
  enableval=$enable_telnet;  case "$enableval" in
21630
22234
  no)
21631
 
       echo "$as_me:$LINENO: result: no" >&5
21632
 
echo "${ECHO_T}no" >&6
 
22235
       { echo "$as_me:$LINENO: result: no" >&5
 
22236
echo "${ECHO_T}no" >&6; }
21633
22237
 
21634
22238
cat >>confdefs.h <<\_ACEOF
21635
22239
#define CURL_DISABLE_TELNET 1
21638
22242
       CURL_DISABLE_TELNET=1
21639
22243
 
21640
22244
       ;;
21641
 
  *)   echo "$as_me:$LINENO: result: yes" >&5
21642
 
echo "${ECHO_T}yes" >&6
 
22245
  *)   { echo "$as_me:$LINENO: result: yes" >&5
 
22246
echo "${ECHO_T}yes" >&6; }
21643
22247
       ;;
21644
22248
  esac
21645
22249
else
21646
 
  echo "$as_me:$LINENO: result: yes" >&5
21647
 
echo "${ECHO_T}yes" >&6
21648
 
 
21649
 
fi;
21650
 
echo "$as_me:$LINENO: checking whether to support tftp" >&5
21651
 
echo $ECHO_N "checking whether to support tftp... $ECHO_C" >&6
21652
 
# Check whether --enable-tftp or --disable-tftp was given.
 
22250
  { echo "$as_me:$LINENO: result: yes" >&5
 
22251
echo "${ECHO_T}yes" >&6; }
 
22252
 
 
22253
fi
 
22254
 
 
22255
{ echo "$as_me:$LINENO: checking whether to support tftp" >&5
 
22256
echo $ECHO_N "checking whether to support tftp... $ECHO_C" >&6; }
 
22257
# Check whether --enable-tftp was given.
21653
22258
if test "${enable_tftp+set}" = set; then
21654
 
  enableval="$enable_tftp"
21655
 
   case "$enableval" in
 
22259
  enableval=$enable_tftp;  case "$enableval" in
21656
22260
  no)
21657
 
       echo "$as_me:$LINENO: result: no" >&5
21658
 
echo "${ECHO_T}no" >&6
 
22261
       { echo "$as_me:$LINENO: result: no" >&5
 
22262
echo "${ECHO_T}no" >&6; }
21659
22263
 
21660
22264
cat >>confdefs.h <<\_ACEOF
21661
22265
#define CURL_DISABLE_TFTP 1
21664
22268
       CURL_DISABLE_TFTP=1
21665
22269
 
21666
22270
       ;;
21667
 
  *)   echo "$as_me:$LINENO: result: yes" >&5
21668
 
echo "${ECHO_T}yes" >&6
 
22271
  *)   { echo "$as_me:$LINENO: result: yes" >&5
 
22272
echo "${ECHO_T}yes" >&6; }
21669
22273
       ;;
21670
22274
  esac
21671
22275
else
21672
 
  echo "$as_me:$LINENO: result: yes" >&5
21673
 
echo "${ECHO_T}yes" >&6
21674
 
 
21675
 
fi;
21676
 
 
21677
 
 
21678
 
echo "$as_me:$LINENO: checking whether to provide built-in manual" >&5
21679
 
echo $ECHO_N "checking whether to provide built-in manual... $ECHO_C" >&6
21680
 
# Check whether --enable-manual or --disable-manual was given.
 
22276
  { echo "$as_me:$LINENO: result: yes" >&5
 
22277
echo "${ECHO_T}yes" >&6; }
 
22278
 
 
22279
fi
 
22280
 
 
22281
 
 
22282
 
 
22283
{ echo "$as_me:$LINENO: checking whether to provide built-in manual" >&5
 
22284
echo $ECHO_N "checking whether to provide built-in manual... $ECHO_C" >&6; }
 
22285
# Check whether --enable-manual was given.
21681
22286
if test "${enable_manual+set}" = set; then
21682
 
  enableval="$enable_manual"
21683
 
   case "$enableval" in
 
22287
  enableval=$enable_manual;  case "$enableval" in
21684
22288
  no)
21685
 
       echo "$as_me:$LINENO: result: no" >&5
21686
 
echo "${ECHO_T}no" >&6
 
22289
       { echo "$as_me:$LINENO: result: no" >&5
 
22290
echo "${ECHO_T}no" >&6; }
21687
22291
       ;;
21688
 
  *)   echo "$as_me:$LINENO: result: yes" >&5
21689
 
echo "${ECHO_T}yes" >&6
 
22292
  *)   { echo "$as_me:$LINENO: result: yes" >&5
 
22293
echo "${ECHO_T}yes" >&6; }
21690
22294
       USE_MANUAL="1"
21691
22295
       ;;
21692
22296
  esac
21693
22297
else
21694
 
  echo "$as_me:$LINENO: result: yes" >&5
21695
 
echo "${ECHO_T}yes" >&6
 
22298
  { echo "$as_me:$LINENO: result: yes" >&5
 
22299
echo "${ECHO_T}yes" >&6; }
21696
22300
       USE_MANUAL="1"
21697
22301
 
21698
 
fi;
21699
 
 
21700
 
 
21701
 
 
21702
 
echo "$as_me:$LINENO: checking for gethostbyname" >&5
21703
 
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
 
22302
fi
 
22303
 
 
22304
 
 
22305
 
 
22306
    ICC="no"
 
22307
    { echo "$as_me:$LINENO: checking for icc in use" >&5
 
22308
echo $ECHO_N "checking for icc in use... $ECHO_C" >&6; }
 
22309
    if test "$GCC" = "yes"; then
 
22310
              cat >conftest.$ac_ext <<_ACEOF
 
22311
/* confdefs.h.  */
 
22312
_ACEOF
 
22313
cat confdefs.h >>conftest.$ac_ext
 
22314
cat >>conftest.$ac_ext <<_ACEOF
 
22315
/* end confdefs.h.  */
 
22316
__INTEL_COMPILER
 
22317
_ACEOF
 
22318
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
22319
  $EGREP "^__INTEL_COMPILER" >/dev/null 2>&1; then
 
22320
                    ICC="no"
 
22321
else
 
22322
           ICC="yes"
 
22323
         { echo "$as_me:$LINENO: result: yes" >&5
 
22324
echo "${ECHO_T}yes" >&6; }
 
22325
         CFLAGS="$CFLAGS -we 147"
 
22326
 
 
22327
fi
 
22328
rm -f conftest*
 
22329
 
 
22330
    fi
 
22331
    if test "$ICC" = "no"; then
 
22332
        # this is not ICC
 
22333
        { echo "$as_me:$LINENO: result: no" >&5
 
22334
echo "${ECHO_T}no" >&6; }
 
22335
    fi
 
22336
 
 
22337
 
 
22338
 
 
22339
{ echo "$as_me:$LINENO: checking for gethostbyname" >&5
 
22340
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
21704
22341
if test "${ac_cv_func_gethostbyname+set}" = set; then
21705
22342
  echo $ECHO_N "(cached) $ECHO_C" >&6
21706
22343
else
21727
22364
 
21728
22365
#undef gethostbyname
21729
22366
 
21730
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22367
/* Override any GCC internal prototype to avoid an error.
 
22368
   Use char because int might match the return type of a GCC
 
22369
   builtin and then its argument prototype would still apply.  */
21731
22370
#ifdef __cplusplus
21732
22371
extern "C"
21733
 
{
21734
22372
#endif
21735
 
/* We use char because int might match the return type of a gcc2
21736
 
   builtin and then its argument prototype would still apply.  */
21737
22373
char gethostbyname ();
21738
22374
/* The GNU C library defines this for functions which it implements
21739
22375
    to always fail with ENOSYS.  Some functions are actually named
21740
22376
    something starting with __ and the normal name is an alias.  */
21741
 
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
 
22377
#if defined __stub_gethostbyname || defined __stub___gethostbyname
21742
22378
choke me
21743
 
#else
21744
 
char (*f) () = gethostbyname;
21745
 
#endif
21746
 
#ifdef __cplusplus
21747
 
}
21748
22379
#endif
21749
22380
 
21750
22381
int
21751
22382
main ()
21752
22383
{
21753
 
return f != gethostbyname;
 
22384
return gethostbyname ();
21754
22385
  ;
21755
22386
  return 0;
21756
22387
}
21757
22388
_ACEOF
21758
22389
rm -f conftest.$ac_objext conftest$ac_exeext
21759
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21760
 
  (eval $ac_link) 2>conftest.er1
 
22390
if { (ac_try="$ac_link"
 
22391
case "(($ac_try" in
 
22392
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22393
  *) ac_try_echo=$ac_try;;
 
22394
esac
 
22395
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22396
  (eval "$ac_link") 2>conftest.er1
21761
22397
  ac_status=$?
21762
22398
  grep -v '^ *+' conftest.er1 >conftest.err
21763
22399
  rm -f conftest.er1
21764
22400
  cat conftest.err >&5
21765
22401
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21766
22402
  (exit $ac_status); } &&
21767
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21768
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21769
 
  (eval $ac_try) 2>&5
 
22403
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22404
  { (case "(($ac_try" in
 
22405
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22406
  *) ac_try_echo=$ac_try;;
 
22407
esac
 
22408
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22409
  (eval "$ac_try") 2>&5
21770
22410
  ac_status=$?
21771
22411
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21772
22412
  (exit $ac_status); }; } &&
21773
22413
         { ac_try='test -s conftest$ac_exeext'
21774
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21775
 
  (eval $ac_try) 2>&5
 
22414
  { (case "(($ac_try" in
 
22415
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22416
  *) ac_try_echo=$ac_try;;
 
22417
esac
 
22418
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22419
  (eval "$ac_try") 2>&5
21776
22420
  ac_status=$?
21777
22421
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21778
22422
  (exit $ac_status); }; }; then
21781
22425
  echo "$as_me: failed program was:" >&5
21782
22426
sed 's/^/| /' conftest.$ac_ext >&5
21783
22427
 
21784
 
ac_cv_func_gethostbyname=no
 
22428
        ac_cv_func_gethostbyname=no
21785
22429
fi
 
22430
 
21786
22431
rm -f conftest.err conftest.$ac_objext \
21787
22432
      conftest$ac_exeext conftest.$ac_ext
21788
22433
fi
21789
 
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21790
 
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
 
22434
{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
 
22435
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
21791
22436
if test $ac_cv_func_gethostbyname = yes; then
21792
22437
  HAVE_GETHOSTBYNAME="1"
21793
22438
 
21794
22439
else
21795
 
   echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21796
 
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
 
22440
   { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
 
22441
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
21797
22442
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21798
22443
  echo $ECHO_N "(cached) $ECHO_C" >&6
21799
22444
else
21806
22451
cat >>conftest.$ac_ext <<_ACEOF
21807
22452
/* end confdefs.h.  */
21808
22453
 
21809
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22454
/* Override any GCC internal prototype to avoid an error.
 
22455
   Use char because int might match the return type of a GCC
 
22456
   builtin and then its argument prototype would still apply.  */
21810
22457
#ifdef __cplusplus
21811
22458
extern "C"
21812
22459
#endif
21813
 
/* We use char because int might match the return type of a gcc2
21814
 
   builtin and then its argument prototype would still apply.  */
21815
22460
char gethostbyname ();
21816
22461
int
21817
22462
main ()
21818
22463
{
21819
 
gethostbyname ();
 
22464
return gethostbyname ();
21820
22465
  ;
21821
22466
  return 0;
21822
22467
}
21823
22468
_ACEOF
21824
22469
rm -f conftest.$ac_objext conftest$ac_exeext
21825
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21826
 
  (eval $ac_link) 2>conftest.er1
 
22470
if { (ac_try="$ac_link"
 
22471
case "(($ac_try" in
 
22472
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22473
  *) ac_try_echo=$ac_try;;
 
22474
esac
 
22475
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22476
  (eval "$ac_link") 2>conftest.er1
21827
22477
  ac_status=$?
21828
22478
  grep -v '^ *+' conftest.er1 >conftest.err
21829
22479
  rm -f conftest.er1
21830
22480
  cat conftest.err >&5
21831
22481
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832
22482
  (exit $ac_status); } &&
21833
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21834
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21835
 
  (eval $ac_try) 2>&5
 
22483
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22484
  { (case "(($ac_try" in
 
22485
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22486
  *) ac_try_echo=$ac_try;;
 
22487
esac
 
22488
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22489
  (eval "$ac_try") 2>&5
21836
22490
  ac_status=$?
21837
22491
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21838
22492
  (exit $ac_status); }; } &&
21839
22493
         { ac_try='test -s conftest$ac_exeext'
21840
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21841
 
  (eval $ac_try) 2>&5
 
22494
  { (case "(($ac_try" in
 
22495
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22496
  *) ac_try_echo=$ac_try;;
 
22497
esac
 
22498
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22499
  (eval "$ac_try") 2>&5
21842
22500
  ac_status=$?
21843
22501
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21844
22502
  (exit $ac_status); }; }; then
21847
22505
  echo "$as_me: failed program was:" >&5
21848
22506
sed 's/^/| /' conftest.$ac_ext >&5
21849
22507
 
21850
 
ac_cv_lib_nsl_gethostbyname=no
 
22508
        ac_cv_lib_nsl_gethostbyname=no
21851
22509
fi
 
22510
 
21852
22511
rm -f conftest.err conftest.$ac_objext \
21853
22512
      conftest$ac_exeext conftest.$ac_ext
21854
22513
LIBS=$ac_check_lib_save_LIBS
21855
22514
fi
21856
 
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21857
 
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
 
22515
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
 
22516
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
21858
22517
if test $ac_cv_lib_nsl_gethostbyname = yes; then
21859
22518
  HAVE_GETHOSTBYNAME="1"
21860
22519
                             LIBS="$LIBS -lnsl"
21867
22526
 
21868
22527
if test "$HAVE_GETHOSTBYNAME" != "1"
21869
22528
then
21870
 
    echo "$as_me:$LINENO: checking for gethostbyname in -lsocket" >&5
21871
 
echo $ECHO_N "checking for gethostbyname in -lsocket... $ECHO_C" >&6
 
22529
    { echo "$as_me:$LINENO: checking for gethostbyname in -lsocket" >&5
 
22530
echo $ECHO_N "checking for gethostbyname in -lsocket... $ECHO_C" >&6; }
21872
22531
if test "${ac_cv_lib_socket_gethostbyname+set}" = set; then
21873
22532
  echo $ECHO_N "(cached) $ECHO_C" >&6
21874
22533
else
21881
22540
cat >>conftest.$ac_ext <<_ACEOF
21882
22541
/* end confdefs.h.  */
21883
22542
 
21884
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22543
/* Override any GCC internal prototype to avoid an error.
 
22544
   Use char because int might match the return type of a GCC
 
22545
   builtin and then its argument prototype would still apply.  */
21885
22546
#ifdef __cplusplus
21886
22547
extern "C"
21887
22548
#endif
21888
 
/* We use char because int might match the return type of a gcc2
21889
 
   builtin and then its argument prototype would still apply.  */
21890
22549
char gethostbyname ();
21891
22550
int
21892
22551
main ()
21893
22552
{
21894
 
gethostbyname ();
 
22553
return gethostbyname ();
21895
22554
  ;
21896
22555
  return 0;
21897
22556
}
21898
22557
_ACEOF
21899
22558
rm -f conftest.$ac_objext conftest$ac_exeext
21900
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21901
 
  (eval $ac_link) 2>conftest.er1
 
22559
if { (ac_try="$ac_link"
 
22560
case "(($ac_try" in
 
22561
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22562
  *) ac_try_echo=$ac_try;;
 
22563
esac
 
22564
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22565
  (eval "$ac_link") 2>conftest.er1
21902
22566
  ac_status=$?
21903
22567
  grep -v '^ *+' conftest.er1 >conftest.err
21904
22568
  rm -f conftest.er1
21905
22569
  cat conftest.err >&5
21906
22570
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21907
22571
  (exit $ac_status); } &&
21908
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21909
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21910
 
  (eval $ac_try) 2>&5
 
22572
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22573
  { (case "(($ac_try" in
 
22574
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22575
  *) ac_try_echo=$ac_try;;
 
22576
esac
 
22577
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22578
  (eval "$ac_try") 2>&5
21911
22579
  ac_status=$?
21912
22580
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21913
22581
  (exit $ac_status); }; } &&
21914
22582
         { ac_try='test -s conftest$ac_exeext'
21915
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21916
 
  (eval $ac_try) 2>&5
 
22583
  { (case "(($ac_try" in
 
22584
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22585
  *) ac_try_echo=$ac_try;;
 
22586
esac
 
22587
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22588
  (eval "$ac_try") 2>&5
21917
22589
  ac_status=$?
21918
22590
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21919
22591
  (exit $ac_status); }; }; then
21922
22594
  echo "$as_me: failed program was:" >&5
21923
22595
sed 's/^/| /' conftest.$ac_ext >&5
21924
22596
 
21925
 
ac_cv_lib_socket_gethostbyname=no
 
22597
        ac_cv_lib_socket_gethostbyname=no
21926
22598
fi
 
22599
 
21927
22600
rm -f conftest.err conftest.$ac_objext \
21928
22601
      conftest$ac_exeext conftest.$ac_ext
21929
22602
LIBS=$ac_check_lib_save_LIBS
21930
22603
fi
21931
 
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_gethostbyname" >&5
21932
 
echo "${ECHO_T}$ac_cv_lib_socket_gethostbyname" >&6
 
22604
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_gethostbyname" >&5
 
22605
echo "${ECHO_T}$ac_cv_lib_socket_gethostbyname" >&6; }
21933
22606
if test $ac_cv_lib_socket_gethostbyname = yes; then
21934
22607
  HAVE_GETHOSTBYNAME="1"
21935
22608
               LIBS="$LIBS -lsocket"
21940
22613
 
21941
22614
if test "$HAVE_GETHOSTBYNAME" != "1"
21942
22615
then
21943
 
  echo "$as_me:$LINENO: checking for gethostbyname with both nsl and socket libs" >&5
21944
 
echo $ECHO_N "checking for gethostbyname with both nsl and socket libs... $ECHO_C" >&6
 
22616
  { echo "$as_me:$LINENO: checking for gethostbyname with both nsl and socket libs" >&5
 
22617
echo $ECHO_N "checking for gethostbyname with both nsl and socket libs... $ECHO_C" >&6; }
21945
22618
  my_ac_save_LIBS=$LIBS
21946
22619
  LIBS="-lnsl -lsocket $LIBS"
21947
22620
  cat >conftest.$ac_ext <<_ACEOF
21960
22633
}
21961
22634
_ACEOF
21962
22635
rm -f conftest.$ac_objext conftest$ac_exeext
21963
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21964
 
  (eval $ac_link) 2>conftest.er1
 
22636
if { (ac_try="$ac_link"
 
22637
case "(($ac_try" in
 
22638
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22639
  *) ac_try_echo=$ac_try;;
 
22640
esac
 
22641
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22642
  (eval "$ac_link") 2>conftest.er1
21965
22643
  ac_status=$?
21966
22644
  grep -v '^ *+' conftest.er1 >conftest.err
21967
22645
  rm -f conftest.er1
21968
22646
  cat conftest.err >&5
21969
22647
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970
22648
  (exit $ac_status); } &&
21971
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21972
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21973
 
  (eval $ac_try) 2>&5
 
22649
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22650
  { (case "(($ac_try" in
 
22651
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22652
  *) ac_try_echo=$ac_try;;
 
22653
esac
 
22654
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22655
  (eval "$ac_try") 2>&5
21974
22656
  ac_status=$?
21975
22657
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21976
22658
  (exit $ac_status); }; } &&
21977
22659
         { ac_try='test -s conftest$ac_exeext'
21978
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21979
 
  (eval $ac_try) 2>&5
 
22660
  { (case "(($ac_try" in
 
22661
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22662
  *) ac_try_echo=$ac_try;;
 
22663
esac
 
22664
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22665
  (eval "$ac_try") 2>&5
21980
22666
  ac_status=$?
21981
22667
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21982
22668
  (exit $ac_status); }; }; then
21983
22669
                HAVE_GETHOSTBYNAME="1"
21984
 
             echo "$as_me:$LINENO: result: yes" >&5
21985
 
echo "${ECHO_T}yes" >&6
 
22670
             { echo "$as_me:$LINENO: result: yes" >&5
 
22671
echo "${ECHO_T}yes" >&6; }
21986
22672
else
21987
22673
  echo "$as_me: failed program was:" >&5
21988
22674
sed 's/^/| /' conftest.$ac_ext >&5
21989
22675
 
21990
 
              echo "$as_me:$LINENO: result: no" >&5
21991
 
echo "${ECHO_T}no" >&6
 
22676
                      { echo "$as_me:$LINENO: result: no" >&5
 
22677
echo "${ECHO_T}no" >&6; }
21992
22678
                          LIBS=$my_ac_save_LIBS
21993
22679
 
21994
22680
fi
 
22681
 
21995
22682
rm -f conftest.err conftest.$ac_objext \
21996
22683
      conftest$ac_exeext conftest.$ac_ext
21997
22684
fi
21998
22685
 
21999
22686
if test "$HAVE_GETHOSTBYNAME" != "1"
22000
22687
then
22001
 
    echo "$as_me:$LINENO: checking for gethostbyname in ws2_32" >&5
22002
 
echo $ECHO_N "checking for gethostbyname in ws2_32... $ECHO_C" >&6
 
22688
    { echo "$as_me:$LINENO: checking for gethostbyname in ws2_32" >&5
 
22689
echo $ECHO_N "checking for gethostbyname in ws2_32... $ECHO_C" >&6; }
22003
22690
  my_ac_save_LIBS=$LIBS
22004
22691
  LIBS="-lws2_32 $LIBS"
22005
22692
  cat >conftest.$ac_ext <<_ACEOF
22018
22705
}
22019
22706
_ACEOF
22020
22707
rm -f conftest.$ac_objext conftest$ac_exeext
22021
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22022
 
  (eval $ac_link) 2>conftest.er1
 
22708
if { (ac_try="$ac_link"
 
22709
case "(($ac_try" in
 
22710
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22711
  *) ac_try_echo=$ac_try;;
 
22712
esac
 
22713
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22714
  (eval "$ac_link") 2>conftest.er1
22023
22715
  ac_status=$?
22024
22716
  grep -v '^ *+' conftest.er1 >conftest.err
22025
22717
  rm -f conftest.er1
22026
22718
  cat conftest.err >&5
22027
22719
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22028
22720
  (exit $ac_status); } &&
22029
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22030
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22031
 
  (eval $ac_try) 2>&5
 
22721
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22722
  { (case "(($ac_try" in
 
22723
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22724
  *) ac_try_echo=$ac_try;;
 
22725
esac
 
22726
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22727
  (eval "$ac_try") 2>&5
22032
22728
  ac_status=$?
22033
22729
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22034
22730
  (exit $ac_status); }; } &&
22035
22731
         { ac_try='test -s conftest$ac_exeext'
22036
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22037
 
  (eval $ac_try) 2>&5
 
22732
  { (case "(($ac_try" in
 
22733
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22734
  *) ac_try_echo=$ac_try;;
 
22735
esac
 
22736
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22737
  (eval "$ac_try") 2>&5
22038
22738
  ac_status=$?
22039
22739
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22040
22740
  (exit $ac_status); }; }; then
22041
22741
                  ws2="yes"
22042
 
               echo "$as_me:$LINENO: result: yes" >&5
22043
 
echo "${ECHO_T}yes" >&6
 
22742
               { echo "$as_me:$LINENO: result: yes" >&5
 
22743
echo "${ECHO_T}yes" >&6; }
22044
22744
               HAVE_GETHOSTBYNAME="1"
22045
22745
else
22046
22746
  echo "$as_me: failed program was:" >&5
22047
22747
sed 's/^/| /' conftest.$ac_ext >&5
22048
22748
 
22049
 
                LIBS=$my_ac_save_LIBS
22050
 
               echo "$as_me:$LINENO: result: no" >&5
22051
 
echo "${ECHO_T}no" >&6
 
22749
                        LIBS=$my_ac_save_LIBS
 
22750
               { echo "$as_me:$LINENO: result: no" >&5
 
22751
echo "${ECHO_T}no" >&6; }
22052
22752
 
22053
22753
fi
 
22754
 
22054
22755
rm -f conftest.err conftest.$ac_objext \
22055
22756
      conftest$ac_exeext conftest.$ac_ext
22056
22757
fi
22057
22758
 
22058
22759
if test "$HAVE_GETHOSTBYNAME" != "1"
22059
22760
then
22060
 
    echo "$as_me:$LINENO: checking for gethostbyname in -lnet" >&5
22061
 
echo $ECHO_N "checking for gethostbyname in -lnet... $ECHO_C" >&6
 
22761
    { echo "$as_me:$LINENO: checking for gethostbyname in -lnet" >&5
 
22762
echo $ECHO_N "checking for gethostbyname in -lnet... $ECHO_C" >&6; }
22062
22763
if test "${ac_cv_lib_net_gethostbyname+set}" = set; then
22063
22764
  echo $ECHO_N "(cached) $ECHO_C" >&6
22064
22765
else
22071
22772
cat >>conftest.$ac_ext <<_ACEOF
22072
22773
/* end confdefs.h.  */
22073
22774
 
22074
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22775
/* Override any GCC internal prototype to avoid an error.
 
22776
   Use char because int might match the return type of a GCC
 
22777
   builtin and then its argument prototype would still apply.  */
22075
22778
#ifdef __cplusplus
22076
22779
extern "C"
22077
22780
#endif
22078
 
/* We use char because int might match the return type of a gcc2
22079
 
   builtin and then its argument prototype would still apply.  */
22080
22781
char gethostbyname ();
22081
22782
int
22082
22783
main ()
22083
22784
{
22084
 
gethostbyname ();
 
22785
return gethostbyname ();
22085
22786
  ;
22086
22787
  return 0;
22087
22788
}
22088
22789
_ACEOF
22089
22790
rm -f conftest.$ac_objext conftest$ac_exeext
22090
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22091
 
  (eval $ac_link) 2>conftest.er1
 
22791
if { (ac_try="$ac_link"
 
22792
case "(($ac_try" in
 
22793
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22794
  *) ac_try_echo=$ac_try;;
 
22795
esac
 
22796
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22797
  (eval "$ac_link") 2>conftest.er1
22092
22798
  ac_status=$?
22093
22799
  grep -v '^ *+' conftest.er1 >conftest.err
22094
22800
  rm -f conftest.er1
22095
22801
  cat conftest.err >&5
22096
22802
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22097
22803
  (exit $ac_status); } &&
22098
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22099
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22100
 
  (eval $ac_try) 2>&5
 
22804
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22805
  { (case "(($ac_try" in
 
22806
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22807
  *) ac_try_echo=$ac_try;;
 
22808
esac
 
22809
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22810
  (eval "$ac_try") 2>&5
22101
22811
  ac_status=$?
22102
22812
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22103
22813
  (exit $ac_status); }; } &&
22104
22814
         { ac_try='test -s conftest$ac_exeext'
22105
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22106
 
  (eval $ac_try) 2>&5
 
22815
  { (case "(($ac_try" in
 
22816
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22817
  *) ac_try_echo=$ac_try;;
 
22818
esac
 
22819
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22820
  (eval "$ac_try") 2>&5
22107
22821
  ac_status=$?
22108
22822
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22109
22823
  (exit $ac_status); }; }; then
22112
22826
  echo "$as_me: failed program was:" >&5
22113
22827
sed 's/^/| /' conftest.$ac_ext >&5
22114
22828
 
22115
 
ac_cv_lib_net_gethostbyname=no
 
22829
        ac_cv_lib_net_gethostbyname=no
22116
22830
fi
 
22831
 
22117
22832
rm -f conftest.err conftest.$ac_objext \
22118
22833
      conftest$ac_exeext conftest.$ac_ext
22119
22834
LIBS=$ac_check_lib_save_LIBS
22120
22835
fi
22121
 
echo "$as_me:$LINENO: result: $ac_cv_lib_net_gethostbyname" >&5
22122
 
echo "${ECHO_T}$ac_cv_lib_net_gethostbyname" >&6
 
22836
{ echo "$as_me:$LINENO: result: $ac_cv_lib_net_gethostbyname" >&5
 
22837
echo "${ECHO_T}$ac_cv_lib_net_gethostbyname" >&6; }
22123
22838
if test $ac_cv_lib_net_gethostbyname = yes; then
22124
22839
  HAVE_GETHOSTBYNAME="1"
22125
22840
               LIBS="$LIBS -lnet"
22141
22856
   { (exit 1); exit 1; }; }
22142
22857
fi
22143
22858
 
22144
 
echo "$as_me:$LINENO: checking for strcasecmp" >&5
22145
 
echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6
 
22859
{ echo "$as_me:$LINENO: checking for strcasecmp" >&5
 
22860
echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6; }
22146
22861
if test "${ac_cv_func_strcasecmp+set}" = set; then
22147
22862
  echo $ECHO_N "(cached) $ECHO_C" >&6
22148
22863
else
22169
22884
 
22170
22885
#undef strcasecmp
22171
22886
 
22172
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22887
/* Override any GCC internal prototype to avoid an error.
 
22888
   Use char because int might match the return type of a GCC
 
22889
   builtin and then its argument prototype would still apply.  */
22173
22890
#ifdef __cplusplus
22174
22891
extern "C"
22175
 
{
22176
22892
#endif
22177
 
/* We use char because int might match the return type of a gcc2
22178
 
   builtin and then its argument prototype would still apply.  */
22179
22893
char strcasecmp ();
22180
22894
/* The GNU C library defines this for functions which it implements
22181
22895
    to always fail with ENOSYS.  Some functions are actually named
22182
22896
    something starting with __ and the normal name is an alias.  */
22183
 
#if defined (__stub_strcasecmp) || defined (__stub___strcasecmp)
 
22897
#if defined __stub_strcasecmp || defined __stub___strcasecmp
22184
22898
choke me
22185
 
#else
22186
 
char (*f) () = strcasecmp;
22187
 
#endif
22188
 
#ifdef __cplusplus
22189
 
}
22190
22899
#endif
22191
22900
 
22192
22901
int
22193
22902
main ()
22194
22903
{
22195
 
return f != strcasecmp;
 
22904
return strcasecmp ();
22196
22905
  ;
22197
22906
  return 0;
22198
22907
}
22199
22908
_ACEOF
22200
22909
rm -f conftest.$ac_objext conftest$ac_exeext
22201
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22202
 
  (eval $ac_link) 2>conftest.er1
 
22910
if { (ac_try="$ac_link"
 
22911
case "(($ac_try" in
 
22912
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22913
  *) ac_try_echo=$ac_try;;
 
22914
esac
 
22915
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22916
  (eval "$ac_link") 2>conftest.er1
22203
22917
  ac_status=$?
22204
22918
  grep -v '^ *+' conftest.er1 >conftest.err
22205
22919
  rm -f conftest.er1
22206
22920
  cat conftest.err >&5
22207
22921
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22208
22922
  (exit $ac_status); } &&
22209
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22210
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22211
 
  (eval $ac_try) 2>&5
 
22923
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22924
  { (case "(($ac_try" in
 
22925
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22926
  *) ac_try_echo=$ac_try;;
 
22927
esac
 
22928
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22929
  (eval "$ac_try") 2>&5
22212
22930
  ac_status=$?
22213
22931
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22214
22932
  (exit $ac_status); }; } &&
22215
22933
         { ac_try='test -s conftest$ac_exeext'
22216
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22217
 
  (eval $ac_try) 2>&5
 
22934
  { (case "(($ac_try" in
 
22935
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22936
  *) ac_try_echo=$ac_try;;
 
22937
esac
 
22938
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22939
  (eval "$ac_try") 2>&5
22218
22940
  ac_status=$?
22219
22941
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220
22942
  (exit $ac_status); }; }; then
22223
22945
  echo "$as_me: failed program was:" >&5
22224
22946
sed 's/^/| /' conftest.$ac_ext >&5
22225
22947
 
22226
 
ac_cv_func_strcasecmp=no
 
22948
        ac_cv_func_strcasecmp=no
22227
22949
fi
 
22950
 
22228
22951
rm -f conftest.err conftest.$ac_objext \
22229
22952
      conftest$ac_exeext conftest.$ac_ext
22230
22953
fi
22231
 
echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5
22232
 
echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6
 
22954
{ echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5
 
22955
echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6; }
22233
22956
if test $ac_cv_func_strcasecmp = yes; then
22234
22957
  :
22235
22958
else
22236
22959
 
22237
 
echo "$as_me:$LINENO: checking for strcasecmp in -lresolve" >&5
22238
 
echo $ECHO_N "checking for strcasecmp in -lresolve... $ECHO_C" >&6
 
22960
{ echo "$as_me:$LINENO: checking for strcasecmp in -lresolve" >&5
 
22961
echo $ECHO_N "checking for strcasecmp in -lresolve... $ECHO_C" >&6; }
22239
22962
if test "${ac_cv_lib_resolve_strcasecmp+set}" = set; then
22240
22963
  echo $ECHO_N "(cached) $ECHO_C" >&6
22241
22964
else
22248
22971
cat >>conftest.$ac_ext <<_ACEOF
22249
22972
/* end confdefs.h.  */
22250
22973
 
22251
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22974
/* Override any GCC internal prototype to avoid an error.
 
22975
   Use char because int might match the return type of a GCC
 
22976
   builtin and then its argument prototype would still apply.  */
22252
22977
#ifdef __cplusplus
22253
22978
extern "C"
22254
22979
#endif
22255
 
/* We use char because int might match the return type of a gcc2
22256
 
   builtin and then its argument prototype would still apply.  */
22257
22980
char strcasecmp ();
22258
22981
int
22259
22982
main ()
22260
22983
{
22261
 
strcasecmp ();
 
22984
return strcasecmp ();
22262
22985
  ;
22263
22986
  return 0;
22264
22987
}
22265
22988
_ACEOF
22266
22989
rm -f conftest.$ac_objext conftest$ac_exeext
22267
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22268
 
  (eval $ac_link) 2>conftest.er1
 
22990
if { (ac_try="$ac_link"
 
22991
case "(($ac_try" in
 
22992
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22993
  *) ac_try_echo=$ac_try;;
 
22994
esac
 
22995
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22996
  (eval "$ac_link") 2>conftest.er1
22269
22997
  ac_status=$?
22270
22998
  grep -v '^ *+' conftest.er1 >conftest.err
22271
22999
  rm -f conftest.er1
22272
23000
  cat conftest.err >&5
22273
23001
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22274
23002
  (exit $ac_status); } &&
22275
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22276
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22277
 
  (eval $ac_try) 2>&5
 
23003
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
23004
  { (case "(($ac_try" in
 
23005
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23006
  *) ac_try_echo=$ac_try;;
 
23007
esac
 
23008
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23009
  (eval "$ac_try") 2>&5
22278
23010
  ac_status=$?
22279
23011
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22280
23012
  (exit $ac_status); }; } &&
22281
23013
         { ac_try='test -s conftest$ac_exeext'
22282
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22283
 
  (eval $ac_try) 2>&5
 
23014
  { (case "(($ac_try" in
 
23015
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23016
  *) ac_try_echo=$ac_try;;
 
23017
esac
 
23018
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23019
  (eval "$ac_try") 2>&5
22284
23020
  ac_status=$?
22285
23021
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22286
23022
  (exit $ac_status); }; }; then
22289
23025
  echo "$as_me: failed program was:" >&5
22290
23026
sed 's/^/| /' conftest.$ac_ext >&5
22291
23027
 
22292
 
ac_cv_lib_resolve_strcasecmp=no
 
23028
        ac_cv_lib_resolve_strcasecmp=no
22293
23029
fi
 
23030
 
22294
23031
rm -f conftest.err conftest.$ac_objext \
22295
23032
      conftest$ac_exeext conftest.$ac_ext
22296
23033
LIBS=$ac_check_lib_save_LIBS
22297
23034
fi
22298
 
echo "$as_me:$LINENO: result: $ac_cv_lib_resolve_strcasecmp" >&5
22299
 
echo "${ECHO_T}$ac_cv_lib_resolve_strcasecmp" >&6
 
23035
{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolve_strcasecmp" >&5
 
23036
echo "${ECHO_T}$ac_cv_lib_resolve_strcasecmp" >&6; }
22300
23037
if test $ac_cv_lib_resolve_strcasecmp = yes; then
22301
23038
  cat >>confdefs.h <<_ACEOF
22302
23039
#define HAVE_LIBRESOLVE 1
22310
23047
 
22311
23048
 
22312
23049
if test "$ac_cv_lib_resolve_strcasecmp" = "$ac_cv_func_strcasecmp"; then
22313
 
  echo "$as_me:$LINENO: checking for strcasecmp in -lresolve" >&5
22314
 
echo $ECHO_N "checking for strcasecmp in -lresolve... $ECHO_C" >&6
 
23050
  { echo "$as_me:$LINENO: checking for strcasecmp in -lresolve" >&5
 
23051
echo $ECHO_N "checking for strcasecmp in -lresolve... $ECHO_C" >&6; }
22315
23052
if test "${ac_cv_lib_resolve_strcasecmp+set}" = set; then
22316
23053
  echo $ECHO_N "(cached) $ECHO_C" >&6
22317
23054
else
22324
23061
cat >>conftest.$ac_ext <<_ACEOF
22325
23062
/* end confdefs.h.  */
22326
23063
 
22327
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23064
/* Override any GCC internal prototype to avoid an error.
 
23065
   Use char because int might match the return type of a GCC
 
23066
   builtin and then its argument prototype would still apply.  */
22328
23067
#ifdef __cplusplus
22329
23068
extern "C"
22330
23069
#endif
22331
 
/* We use char because int might match the return type of a gcc2
22332
 
   builtin and then its argument prototype would still apply.  */
22333
23070
char strcasecmp ();
22334
23071
int
22335
23072
main ()
22336
23073
{
22337
 
strcasecmp ();
 
23074
return strcasecmp ();
22338
23075
  ;
22339
23076
  return 0;
22340
23077
}
22341
23078
_ACEOF
22342
23079
rm -f conftest.$ac_objext conftest$ac_exeext
22343
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22344
 
  (eval $ac_link) 2>conftest.er1
 
23080
if { (ac_try="$ac_link"
 
23081
case "(($ac_try" in
 
23082
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23083
  *) ac_try_echo=$ac_try;;
 
23084
esac
 
23085
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23086
  (eval "$ac_link") 2>conftest.er1
22345
23087
  ac_status=$?
22346
23088
  grep -v '^ *+' conftest.er1 >conftest.err
22347
23089
  rm -f conftest.er1
22348
23090
  cat conftest.err >&5
22349
23091
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22350
23092
  (exit $ac_status); } &&
22351
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22352
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22353
 
  (eval $ac_try) 2>&5
 
23093
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
23094
  { (case "(($ac_try" in
 
23095
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23096
  *) ac_try_echo=$ac_try;;
 
23097
esac
 
23098
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23099
  (eval "$ac_try") 2>&5
22354
23100
  ac_status=$?
22355
23101
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22356
23102
  (exit $ac_status); }; } &&
22357
23103
         { ac_try='test -s conftest$ac_exeext'
22358
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22359
 
  (eval $ac_try) 2>&5
 
23104
  { (case "(($ac_try" in
 
23105
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23106
  *) ac_try_echo=$ac_try;;
 
23107
esac
 
23108
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23109
  (eval "$ac_try") 2>&5
22360
23110
  ac_status=$?
22361
23111
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22362
23112
  (exit $ac_status); }; }; then
22365
23115
  echo "$as_me: failed program was:" >&5
22366
23116
sed 's/^/| /' conftest.$ac_ext >&5
22367
23117
 
22368
 
ac_cv_lib_resolve_strcasecmp=no
 
23118
        ac_cv_lib_resolve_strcasecmp=no
22369
23119
fi
 
23120
 
22370
23121
rm -f conftest.err conftest.$ac_objext \
22371
23122
      conftest$ac_exeext conftest.$ac_ext
22372
23123
LIBS=$ac_check_lib_save_LIBS
22373
23124
fi
22374
 
echo "$as_me:$LINENO: result: $ac_cv_lib_resolve_strcasecmp" >&5
22375
 
echo "${ECHO_T}$ac_cv_lib_resolve_strcasecmp" >&6
 
23125
{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolve_strcasecmp" >&5
 
23126
echo "${ECHO_T}$ac_cv_lib_resolve_strcasecmp" >&6; }
22376
23127
if test $ac_cv_lib_resolve_strcasecmp = yes; then
22377
23128
  LIBS="-lresolve $LIBS"
22378
23129
fi
22379
23130
 
22380
23131
fi
22381
23132
 
22382
 
echo "$as_me:$LINENO: checking for connect" >&5
22383
 
echo $ECHO_N "checking for connect... $ECHO_C" >&6
 
23133
{ echo "$as_me:$LINENO: checking for connect" >&5
 
23134
echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
22384
23135
if test "${ac_cv_func_connect+set}" = set; then
22385
23136
  echo $ECHO_N "(cached) $ECHO_C" >&6
22386
23137
else
22407
23158
 
22408
23159
#undef connect
22409
23160
 
22410
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23161
/* Override any GCC internal prototype to avoid an error.
 
23162
   Use char because int might match the return type of a GCC
 
23163
   builtin and then its argument prototype would still apply.  */
22411
23164
#ifdef __cplusplus
22412
23165
extern "C"
22413
 
{
22414
23166
#endif
22415
 
/* We use char because int might match the return type of a gcc2
22416
 
   builtin and then its argument prototype would still apply.  */
22417
23167
char connect ();
22418
23168
/* The GNU C library defines this for functions which it implements
22419
23169
    to always fail with ENOSYS.  Some functions are actually named
22420
23170
    something starting with __ and the normal name is an alias.  */
22421
 
#if defined (__stub_connect) || defined (__stub___connect)
 
23171
#if defined __stub_connect || defined __stub___connect
22422
23172
choke me
22423
 
#else
22424
 
char (*f) () = connect;
22425
 
#endif
22426
 
#ifdef __cplusplus
22427
 
}
22428
23173
#endif
22429
23174
 
22430
23175
int
22431
23176
main ()
22432
23177
{
22433
 
return f != connect;
 
23178
return connect ();
22434
23179
  ;
22435
23180
  return 0;
22436
23181
}
22437
23182
_ACEOF
22438
23183
rm -f conftest.$ac_objext conftest$ac_exeext
22439
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22440
 
  (eval $ac_link) 2>conftest.er1
 
23184
if { (ac_try="$ac_link"
 
23185
case "(($ac_try" in
 
23186
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23187
  *) ac_try_echo=$ac_try;;
 
23188
esac
 
23189
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23190
  (eval "$ac_link") 2>conftest.er1
22441
23191
  ac_status=$?
22442
23192
  grep -v '^ *+' conftest.er1 >conftest.err
22443
23193
  rm -f conftest.er1
22444
23194
  cat conftest.err >&5
22445
23195
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446
23196
  (exit $ac_status); } &&
22447
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22448
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22449
 
  (eval $ac_try) 2>&5
 
23197
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
23198
  { (case "(($ac_try" in
 
23199
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23200
  *) ac_try_echo=$ac_try;;
 
23201
esac
 
23202
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23203
  (eval "$ac_try") 2>&5
22450
23204
  ac_status=$?
22451
23205
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22452
23206
  (exit $ac_status); }; } &&
22453
23207
         { ac_try='test -s conftest$ac_exeext'
22454
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22455
 
  (eval $ac_try) 2>&5
 
23208
  { (case "(($ac_try" in
 
23209
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23210
  *) ac_try_echo=$ac_try;;
 
23211
esac
 
23212
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23213
  (eval "$ac_try") 2>&5
22456
23214
  ac_status=$?
22457
23215
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22458
23216
  (exit $ac_status); }; }; then
22461
23219
  echo "$as_me: failed program was:" >&5
22462
23220
sed 's/^/| /' conftest.$ac_ext >&5
22463
23221
 
22464
 
ac_cv_func_connect=no
 
23222
        ac_cv_func_connect=no
22465
23223
fi
 
23224
 
22466
23225
rm -f conftest.err conftest.$ac_objext \
22467
23226
      conftest$ac_exeext conftest.$ac_ext
22468
23227
fi
22469
 
echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22470
 
echo "${ECHO_T}$ac_cv_func_connect" >&6
 
23228
{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
 
23229
echo "${ECHO_T}$ac_cv_func_connect" >&6; }
22471
23230
if test $ac_cv_func_connect = yes; then
22472
23231
  :
22473
23232
else
22474
23233
 
22475
 
echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22476
 
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
 
23234
{ echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
 
23235
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
22477
23236
if test "${ac_cv_lib_socket_connect+set}" = set; then
22478
23237
  echo $ECHO_N "(cached) $ECHO_C" >&6
22479
23238
else
22486
23245
cat >>conftest.$ac_ext <<_ACEOF
22487
23246
/* end confdefs.h.  */
22488
23247
 
22489
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23248
/* Override any GCC internal prototype to avoid an error.
 
23249
   Use char because int might match the return type of a GCC
 
23250
   builtin and then its argument prototype would still apply.  */
22490
23251
#ifdef __cplusplus
22491
23252
extern "C"
22492
23253
#endif
22493
 
/* We use char because int might match the return type of a gcc2
22494
 
   builtin and then its argument prototype would still apply.  */
22495
23254
char connect ();
22496
23255
int
22497
23256
main ()
22498
23257
{
22499
 
connect ();
 
23258
return connect ();
22500
23259
  ;
22501
23260
  return 0;
22502
23261
}
22503
23262
_ACEOF
22504
23263
rm -f conftest.$ac_objext conftest$ac_exeext
22505
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22506
 
  (eval $ac_link) 2>conftest.er1
 
23264
if { (ac_try="$ac_link"
 
23265
case "(($ac_try" in
 
23266
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23267
  *) ac_try_echo=$ac_try;;
 
23268
esac
 
23269
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23270
  (eval "$ac_link") 2>conftest.er1
22507
23271
  ac_status=$?
22508
23272
  grep -v '^ *+' conftest.er1 >conftest.err
22509
23273
  rm -f conftest.er1
22510
23274
  cat conftest.err >&5
22511
23275
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512
23276
  (exit $ac_status); } &&
22513
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22514
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22515
 
  (eval $ac_try) 2>&5
 
23277
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
23278
  { (case "(($ac_try" in
 
23279
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23280
  *) ac_try_echo=$ac_try;;
 
23281
esac
 
23282
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23283
  (eval "$ac_try") 2>&5
22516
23284
  ac_status=$?
22517
23285
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22518
23286
  (exit $ac_status); }; } &&
22519
23287
         { ac_try='test -s conftest$ac_exeext'
22520
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22521
 
  (eval $ac_try) 2>&5
 
23288
  { (case "(($ac_try" in
 
23289
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23290
  *) ac_try_echo=$ac_try;;
 
23291
esac
 
23292
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23293
  (eval "$ac_try") 2>&5
22522
23294
  ac_status=$?
22523
23295
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22524
23296
  (exit $ac_status); }; }; then
22527
23299
  echo "$as_me: failed program was:" >&5
22528
23300
sed 's/^/| /' conftest.$ac_ext >&5
22529
23301
 
22530
 
ac_cv_lib_socket_connect=no
 
23302
        ac_cv_lib_socket_connect=no
22531
23303
fi
 
23304
 
22532
23305
rm -f conftest.err conftest.$ac_objext \
22533
23306
      conftest$ac_exeext conftest.$ac_ext
22534
23307
LIBS=$ac_check_lib_save_LIBS
22535
23308
fi
22536
 
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22537
 
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
 
23309
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
 
23310
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
22538
23311
if test $ac_cv_lib_socket_connect = yes; then
22539
23312
  cat >>confdefs.h <<_ACEOF
22540
23313
#define HAVE_LIBSOCKET 1
22547
23320
fi
22548
23321
 
22549
23322
 
22550
 
echo "$as_me:$LINENO: checking for dlclose" >&5
22551
 
echo $ECHO_N "checking for dlclose... $ECHO_C" >&6
 
23323
{ echo "$as_me:$LINENO: checking for dlclose" >&5
 
23324
echo $ECHO_N "checking for dlclose... $ECHO_C" >&6; }
22552
23325
if test "${ac_cv_func_dlclose+set}" = set; then
22553
23326
  echo $ECHO_N "(cached) $ECHO_C" >&6
22554
23327
else
22575
23348
 
22576
23349
#undef dlclose
22577
23350
 
22578
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23351
/* Override any GCC internal prototype to avoid an error.
 
23352
   Use char because int might match the return type of a GCC
 
23353
   builtin and then its argument prototype would still apply.  */
22579
23354
#ifdef __cplusplus
22580
23355
extern "C"
22581
 
{
22582
23356
#endif
22583
 
/* We use char because int might match the return type of a gcc2
22584
 
   builtin and then its argument prototype would still apply.  */
22585
23357
char dlclose ();
22586
23358
/* The GNU C library defines this for functions which it implements
22587
23359
    to always fail with ENOSYS.  Some functions are actually named
22588
23360
    something starting with __ and the normal name is an alias.  */
22589
 
#if defined (__stub_dlclose) || defined (__stub___dlclose)
 
23361
#if defined __stub_dlclose || defined __stub___dlclose
22590
23362
choke me
22591
 
#else
22592
 
char (*f) () = dlclose;
22593
 
#endif
22594
 
#ifdef __cplusplus
22595
 
}
22596
23363
#endif
22597
23364
 
22598
23365
int
22599
23366
main ()
22600
23367
{
22601
 
return f != dlclose;
 
23368
return dlclose ();
22602
23369
  ;
22603
23370
  return 0;
22604
23371
}
22605
23372
_ACEOF
22606
23373
rm -f conftest.$ac_objext conftest$ac_exeext
22607
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22608
 
  (eval $ac_link) 2>conftest.er1
 
23374
if { (ac_try="$ac_link"
 
23375
case "(($ac_try" in
 
23376
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23377
  *) ac_try_echo=$ac_try;;
 
23378
esac
 
23379
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23380
  (eval "$ac_link") 2>conftest.er1
22609
23381
  ac_status=$?
22610
23382
  grep -v '^ *+' conftest.er1 >conftest.err
22611
23383
  rm -f conftest.er1
22612
23384
  cat conftest.err >&5
22613
23385
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22614
23386
  (exit $ac_status); } &&
22615
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22616
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22617
 
  (eval $ac_try) 2>&5
 
23387
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
23388
  { (case "(($ac_try" in
 
23389
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23390
  *) ac_try_echo=$ac_try;;
 
23391
esac
 
23392
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23393
  (eval "$ac_try") 2>&5
22618
23394
  ac_status=$?
22619
23395
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22620
23396
  (exit $ac_status); }; } &&
22621
23397
         { ac_try='test -s conftest$ac_exeext'
22622
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22623
 
  (eval $ac_try) 2>&5
 
23398
  { (case "(($ac_try" in
 
23399
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23400
  *) ac_try_echo=$ac_try;;
 
23401
esac
 
23402
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23403
  (eval "$ac_try") 2>&5
22624
23404
  ac_status=$?
22625
23405
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22626
23406
  (exit $ac_status); }; }; then
22629
23409
  echo "$as_me: failed program was:" >&5
22630
23410
sed 's/^/| /' conftest.$ac_ext >&5
22631
23411
 
22632
 
ac_cv_func_dlclose=no
 
23412
        ac_cv_func_dlclose=no
22633
23413
fi
 
23414
 
22634
23415
rm -f conftest.err conftest.$ac_objext \
22635
23416
      conftest$ac_exeext conftest.$ac_ext
22636
23417
fi
22637
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlclose" >&5
22638
 
echo "${ECHO_T}$ac_cv_func_dlclose" >&6
 
23418
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlclose" >&5
 
23419
echo "${ECHO_T}$ac_cv_func_dlclose" >&6; }
22639
23420
if test $ac_cv_func_dlclose = yes; then
22640
23421
  :
22641
23422
else
22642
23423
 
22643
 
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
22644
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
23424
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
23425
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
22645
23426
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
22646
23427
  echo $ECHO_N "(cached) $ECHO_C" >&6
22647
23428
else
22654
23435
cat >>conftest.$ac_ext <<_ACEOF
22655
23436
/* end confdefs.h.  */
22656
23437
 
22657
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23438
/* Override any GCC internal prototype to avoid an error.
 
23439
   Use char because int might match the return type of a GCC
 
23440
   builtin and then its argument prototype would still apply.  */
22658
23441
#ifdef __cplusplus
22659
23442
extern "C"
22660
23443
#endif
22661
 
/* We use char because int might match the return type of a gcc2
22662
 
   builtin and then its argument prototype would still apply.  */
22663
23444
char dlopen ();
22664
23445
int
22665
23446
main ()
22666
23447
{
22667
 
dlopen ();
 
23448
return dlopen ();
22668
23449
  ;
22669
23450
  return 0;
22670
23451
}
22671
23452
_ACEOF
22672
23453
rm -f conftest.$ac_objext conftest$ac_exeext
22673
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22674
 
  (eval $ac_link) 2>conftest.er1
 
23454
if { (ac_try="$ac_link"
 
23455
case "(($ac_try" in
 
23456
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23457
  *) ac_try_echo=$ac_try;;
 
23458
esac
 
23459
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23460
  (eval "$ac_link") 2>conftest.er1
22675
23461
  ac_status=$?
22676
23462
  grep -v '^ *+' conftest.er1 >conftest.err
22677
23463
  rm -f conftest.er1
22678
23464
  cat conftest.err >&5
22679
23465
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22680
23466
  (exit $ac_status); } &&
22681
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22682
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22683
 
  (eval $ac_try) 2>&5
 
23467
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
23468
  { (case "(($ac_try" in
 
23469
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23470
  *) ac_try_echo=$ac_try;;
 
23471
esac
 
23472
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23473
  (eval "$ac_try") 2>&5
22684
23474
  ac_status=$?
22685
23475
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22686
23476
  (exit $ac_status); }; } &&
22687
23477
         { ac_try='test -s conftest$ac_exeext'
22688
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22689
 
  (eval $ac_try) 2>&5
 
23478
  { (case "(($ac_try" in
 
23479
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23480
  *) ac_try_echo=$ac_try;;
 
23481
esac
 
23482
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23483
  (eval "$ac_try") 2>&5
22690
23484
  ac_status=$?
22691
23485
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22692
23486
  (exit $ac_status); }; }; then
22695
23489
  echo "$as_me: failed program was:" >&5
22696
23490
sed 's/^/| /' conftest.$ac_ext >&5
22697
23491
 
22698
 
ac_cv_lib_dl_dlopen=no
 
23492
        ac_cv_lib_dl_dlopen=no
22699
23493
fi
 
23494
 
22700
23495
rm -f conftest.err conftest.$ac_objext \
22701
23496
      conftest$ac_exeext conftest.$ac_ext
22702
23497
LIBS=$ac_check_lib_save_LIBS
22703
23498
fi
22704
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
22705
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
23499
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
23500
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
22706
23501
if test $ac_cv_lib_dl_dlopen = yes; then
22707
23502
  cat >>confdefs.h <<_ACEOF
22708
23503
#define HAVE_LIBDL 1
22715
23510
fi
22716
23511
 
22717
23512
 
22718
 
echo "$as_me:$LINENO: checking whether to use libgcc" >&5
22719
 
echo $ECHO_N "checking whether to use libgcc... $ECHO_C" >&6
22720
 
# Check whether --enable-libgcc or --disable-libgcc was given.
 
23513
{ echo "$as_me:$LINENO: checking whether to use libgcc" >&5
 
23514
echo $ECHO_N "checking whether to use libgcc... $ECHO_C" >&6; }
 
23515
# Check whether --enable-libgcc was given.
22721
23516
if test "${enable_libgcc+set}" = set; then
22722
 
  enableval="$enable_libgcc"
22723
 
   case "$enableval" in
 
23517
  enableval=$enable_libgcc;  case "$enableval" in
22724
23518
  yes)
22725
23519
        LIBS="$LIBS -lgcc"
22726
 
       echo "$as_me:$LINENO: result: yes" >&5
22727
 
echo "${ECHO_T}yes" >&6
 
23520
       { echo "$as_me:$LINENO: result: yes" >&5
 
23521
echo "${ECHO_T}yes" >&6; }
22728
23522
       ;;
22729
 
  *)   echo "$as_me:$LINENO: result: no" >&5
22730
 
echo "${ECHO_T}no" >&6
 
23523
  *)   { echo "$as_me:$LINENO: result: no" >&5
 
23524
echo "${ECHO_T}no" >&6; }
22731
23525
       ;;
22732
23526
  esac
22733
23527
else
22734
 
  echo "$as_me:$LINENO: result: no" >&5
22735
 
echo "${ECHO_T}no" >&6
22736
 
 
22737
 
fi;
 
23528
  { echo "$as_me:$LINENO: result: no" >&5
 
23529
echo "${ECHO_T}no" >&6; }
 
23530
 
 
23531
fi
 
23532
 
22738
23533
 
22739
23534
 
22740
23535
LDAPLIBNAME=""
22741
23536
 
22742
 
# Check whether --with-ldap-lib or --without-ldap-lib was given.
 
23537
# Check whether --with-ldap-lib was given.
22743
23538
if test "${with_ldap_lib+set}" = set; then
22744
 
  withval="$with_ldap_lib"
22745
 
  LDAPLIBNAME="$withval"
22746
 
fi;
 
23539
  withval=$with_ldap_lib; LDAPLIBNAME="$withval"
 
23540
fi
 
23541
 
22747
23542
 
22748
23543
LBERLIBNAME=""
22749
23544
 
22750
 
# Check whether --with-lber-lib or --without-lber-lib was given.
 
23545
# Check whether --with-lber-lib was given.
22751
23546
if test "${with_lber_lib+set}" = set; then
22752
 
  withval="$with_lber_lib"
22753
 
  LBERLIBNAME="$withval"
22754
 
fi;
 
23547
  withval=$with_lber_lib; LBERLIBNAME="$withval"
 
23548
fi
 
23549
 
22755
23550
 
22756
23551
if test x$CURL_DISABLE_LDAP != x1 ; then
22757
23552
 
22769
23564
#define DL_LDAP_FILE "$LDAPLIBNAME"
22770
23565
_ACEOF
22771
23566
 
22772
 
    echo "$as_me:$LINENO: checking name of dynamic library ldap" >&5
22773
 
echo $ECHO_N "checking name of dynamic library ldap... $ECHO_C" >&6
22774
 
    echo "$as_me:$LINENO: result: $LDAPLIBNAME" >&5
22775
 
echo "${ECHO_T}$LDAPLIBNAME" >&6
 
23567
    { echo "$as_me:$LINENO: checking name of dynamic library ldap" >&5
 
23568
echo $ECHO_N "checking name of dynamic library ldap... $ECHO_C" >&6; }
 
23569
    { echo "$as_me:$LINENO: result: $LDAPLIBNAME" >&5
 
23570
echo "${ECHO_T}$LDAPLIBNAME" >&6; }
22776
23571
  else
22777
23572
 
22778
 
echo "$as_me:$LINENO: checking name of dynamic library ldap" >&5
22779
 
echo $ECHO_N "checking name of dynamic library ldap... $ECHO_C" >&6
 
23573
{ echo "$as_me:$LINENO: checking name of dynamic library ldap" >&5
 
23574
echo $ECHO_N "checking name of dynamic library ldap... $ECHO_C" >&6; }
22780
23575
test -z "$shared_ext" && shared_ext="$shrext_cmds"
22781
23576
test -z "$shared_ext" && shared_ext="$shrext"
22782
23577
test -z "$shared_ext" && shared_ext=".so"
22795
23590
#define DL_LDAP_FILE "$DLGUESSSOFILE"
22796
23591
_ACEOF
22797
23592
 
22798
 
  echo "$as_me:$LINENO: result: $DLGUESSSOFILE (guess while cross-compiling)" >&5
22799
 
echo "${ECHO_T}$DLGUESSSOFILE (guess while cross-compiling)" >&6
 
23593
  { echo "$as_me:$LINENO: result: $DLGUESSSOFILE (guess while cross-compiling)" >&5
 
23594
echo "${ECHO_T}$DLGUESSSOFILE (guess while cross-compiling)" >&6; }
22800
23595
else
22801
23596
 
22802
23597
  DLFOUNDFILE=""
22821
23616
#define DL_LDAP_FILE "$DLFOUNDFILE"
22822
23617
_ACEOF
22823
23618
 
22824
 
  echo "$as_me:$LINENO: result: $DLFOUNDFILE" >&5
22825
 
echo "${ECHO_T}$DLFOUNDFILE" >&6
 
23619
  { echo "$as_me:$LINENO: result: $DLFOUNDFILE" >&5
 
23620
echo "${ECHO_T}$DLFOUNDFILE" >&6; }
22826
23621
fi
22827
23622
 
22828
23623
  fi
22834
23629
_ACEOF
22835
23630
 
22836
23631
    fi
22837
 
    echo "$as_me:$LINENO: checking name of dynamic library lber" >&5
22838
 
echo $ECHO_N "checking name of dynamic library lber... $ECHO_C" >&6
22839
 
    echo "$as_me:$LINENO: result: $LBERLIBNAME" >&5
22840
 
echo "${ECHO_T}$LBERLIBNAME" >&6
 
23632
    { echo "$as_me:$LINENO: checking name of dynamic library lber" >&5
 
23633
echo $ECHO_N "checking name of dynamic library lber... $ECHO_C" >&6; }
 
23634
    { echo "$as_me:$LINENO: result: $LBERLIBNAME" >&5
 
23635
echo "${ECHO_T}$LBERLIBNAME" >&6; }
22841
23636
  else
22842
23637
 
22843
 
echo "$as_me:$LINENO: checking name of dynamic library lber" >&5
22844
 
echo $ECHO_N "checking name of dynamic library lber... $ECHO_C" >&6
 
23638
{ echo "$as_me:$LINENO: checking name of dynamic library lber" >&5
 
23639
echo $ECHO_N "checking name of dynamic library lber... $ECHO_C" >&6; }
22845
23640
test -z "$shared_ext" && shared_ext="$shrext_cmds"
22846
23641
test -z "$shared_ext" && shared_ext="$shrext"
22847
23642
test -z "$shared_ext" && shared_ext=".so"
22860
23655
#define DL_LBER_FILE "$DLGUESSSOFILE"
22861
23656
_ACEOF
22862
23657
 
22863
 
  echo "$as_me:$LINENO: result: $DLGUESSSOFILE (guess while cross-compiling)" >&5
22864
 
echo "${ECHO_T}$DLGUESSSOFILE (guess while cross-compiling)" >&6
 
23658
  { echo "$as_me:$LINENO: result: $DLGUESSSOFILE (guess while cross-compiling)" >&5
 
23659
echo "${ECHO_T}$DLGUESSSOFILE (guess while cross-compiling)" >&6; }
22865
23660
else
22866
23661
 
22867
23662
  DLFOUNDFILE=""
22886
23681
#define DL_LBER_FILE "$DLFOUNDFILE"
22887
23682
_ACEOF
22888
23683
 
22889
 
  echo "$as_me:$LINENO: result: $DLFOUNDFILE" >&5
22890
 
echo "${ECHO_T}$DLFOUNDFILE" >&6
 
23684
  { echo "$as_me:$LINENO: result: $DLFOUNDFILE" >&5
 
23685
echo "${ECHO_T}$DLFOUNDFILE" >&6; }
22891
23686
fi
22892
23687
 
22893
23688
  fi
22894
23689
fi
22895
23690
 
22896
23691
 
22897
 
echo "$as_me:$LINENO: checking for timeGetTime in winmm" >&5
22898
 
echo $ECHO_N "checking for timeGetTime in winmm... $ECHO_C" >&6
22899
 
my_ac_save_LIBS=$LIBS
22900
 
LIBS="-lwinmm $LIBS"
22901
 
cat >conftest.$ac_ext <<_ACEOF
 
23692
case $host in
 
23693
  *-*-cygwin*)
 
23694
                        ;;
 
23695
  *)
 
23696
    { echo "$as_me:$LINENO: checking for timeGetTime in winmm" >&5
 
23697
echo $ECHO_N "checking for timeGetTime in winmm... $ECHO_C" >&6; }
 
23698
    my_ac_save_LIBS=$LIBS
 
23699
    LIBS="-lwinmm $LIBS"
 
23700
    cat >conftest.$ac_ext <<_ACEOF
22902
23701
/* confdefs.h.  */
22903
23702
_ACEOF
22904
23703
cat confdefs.h >>conftest.$ac_ext
22905
23704
cat >>conftest.$ac_ext <<_ACEOF
22906
23705
/* end confdefs.h.  */
22907
23706
#include <windef.h>
22908
 
             #include <mmsystem.h>
 
23707
                 #include <mmsystem.h>
22909
23708
 
22910
23709
int
22911
23710
main ()
22916
23715
}
22917
23716
_ACEOF
22918
23717
rm -f conftest.$ac_objext conftest$ac_exeext
22919
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22920
 
  (eval $ac_link) 2>conftest.er1
 
23718
if { (ac_try="$ac_link"
 
23719
case "(($ac_try" in
 
23720
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23721
  *) ac_try_echo=$ac_try;;
 
23722
esac
 
23723
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23724
  (eval "$ac_link") 2>conftest.er1
22921
23725
  ac_status=$?
22922
23726
  grep -v '^ *+' conftest.er1 >conftest.err
22923
23727
  rm -f conftest.er1
22924
23728
  cat conftest.err >&5
22925
23729
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22926
23730
  (exit $ac_status); } &&
22927
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22928
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22929
 
  (eval $ac_try) 2>&5
 
23731
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
23732
  { (case "(($ac_try" in
 
23733
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23734
  *) ac_try_echo=$ac_try;;
 
23735
esac
 
23736
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23737
  (eval "$ac_try") 2>&5
22930
23738
  ac_status=$?
22931
23739
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22932
23740
  (exit $ac_status); }; } &&
22933
23741
         { ac_try='test -s conftest$ac_exeext'
22934
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22935
 
  (eval $ac_try) 2>&5
 
23742
  { (case "(($ac_try" in
 
23743
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23744
  *) ac_try_echo=$ac_try;;
 
23745
esac
 
23746
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23747
  (eval "$ac_try") 2>&5
22936
23748
  ac_status=$?
22937
23749
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22938
23750
  (exit $ac_status); }; }; then
22939
 
                echo "$as_me:$LINENO: result: yes" >&5
22940
 
echo "${ECHO_T}yes" >&6
 
23751
                    { echo "$as_me:$LINENO: result: yes" >&5
 
23752
echo "${ECHO_T}yes" >&6; }
22941
23753
 
22942
23754
else
22943
23755
  echo "$as_me: failed program was:" >&5
22944
23756
sed 's/^/| /' conftest.$ac_ext >&5
22945
23757
 
22946
 
              LIBS=$my_ac_save_LIBS
22947
 
             echo "$as_me:$LINENO: result: no" >&5
22948
 
echo "${ECHO_T}no" >&6
 
23758
                          LIBS=$my_ac_save_LIBS
 
23759
                 { echo "$as_me:$LINENO: result: no" >&5
 
23760
echo "${ECHO_T}no" >&6; }
22949
23761
 
22950
23762
fi
 
23763
 
22951
23764
rm -f conftest.err conftest.$ac_objext \
22952
23765
      conftest$ac_exeext conftest.$ac_ext
22953
 
 
22954
 
 
22955
 
echo "$as_me:$LINENO: checking whether to enable ipv6" >&5
22956
 
echo $ECHO_N "checking whether to enable ipv6... $ECHO_C" >&6
22957
 
# Check whether --enable-ipv6 or --disable-ipv6 was given.
 
23766
    ;;
 
23767
esac
 
23768
 
 
23769
 
 
23770
{ echo "$as_me:$LINENO: checking whether to enable ipv6" >&5
 
23771
echo $ECHO_N "checking whether to enable ipv6... $ECHO_C" >&6; }
 
23772
# Check whether --enable-ipv6 was given.
22958
23773
if test "${enable_ipv6+set}" = set; then
22959
 
  enableval="$enable_ipv6"
22960
 
   case "$enableval" in
 
23774
  enableval=$enable_ipv6;  case "$enableval" in
22961
23775
  no)
22962
 
       echo "$as_me:$LINENO: result: no" >&5
22963
 
echo "${ECHO_T}no" >&6
 
23776
       { echo "$as_me:$LINENO: result: no" >&5
 
23777
echo "${ECHO_T}no" >&6; }
22964
23778
       ipv6=no
22965
23779
       ;;
22966
 
  *)   echo "$as_me:$LINENO: result: yes" >&5
22967
 
echo "${ECHO_T}yes" >&6
 
23780
  *)   { echo "$as_me:$LINENO: result: yes" >&5
 
23781
echo "${ECHO_T}yes" >&6; }
22968
23782
       ipv6=yes
22969
23783
       ;;
22970
23784
  esac
22971
23785
else
22972
23786
  if test "$cross_compiling" = yes; then
22973
 
  echo "$as_me:$LINENO: result: no" >&5
22974
 
echo "${ECHO_T}no" >&6
 
23787
  { echo "$as_me:$LINENO: result: no" >&5
 
23788
echo "${ECHO_T}no" >&6; }
22975
23789
  ipv6=no
22976
23790
 
22977
23791
else
22994
23808
 
22995
23809
_ACEOF
22996
23810
rm -f conftest$ac_exeext
22997
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22998
 
  (eval $ac_link) 2>&5
 
23811
if { (ac_try="$ac_link"
 
23812
case "(($ac_try" in
 
23813
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23814
  *) ac_try_echo=$ac_try;;
 
23815
esac
 
23816
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23817
  (eval "$ac_link") 2>&5
22999
23818
  ac_status=$?
23000
23819
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23001
23820
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23002
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23003
 
  (eval $ac_try) 2>&5
 
23821
  { (case "(($ac_try" in
 
23822
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23823
  *) ac_try_echo=$ac_try;;
 
23824
esac
 
23825
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23826
  (eval "$ac_try") 2>&5
23004
23827
  ac_status=$?
23005
23828
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23006
23829
  (exit $ac_status); }; }; then
23007
 
  echo "$as_me:$LINENO: result: yes" >&5
23008
 
echo "${ECHO_T}yes" >&6
 
23830
  { echo "$as_me:$LINENO: result: yes" >&5
 
23831
echo "${ECHO_T}yes" >&6; }
23009
23832
  ipv6=yes
23010
23833
else
23011
23834
  echo "$as_me: program exited with status $ac_status" >&5
23013
23836
sed 's/^/| /' conftest.$ac_ext >&5
23014
23837
 
23015
23838
( exit $ac_status )
23016
 
echo "$as_me:$LINENO: result: no" >&5
23017
 
echo "${ECHO_T}no" >&6
 
23839
{ echo "$as_me:$LINENO: result: no" >&5
 
23840
echo "${ECHO_T}no" >&6; }
23018
23841
  ipv6=no
23019
23842
fi
23020
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23021
 
fi
23022
 
fi;
 
23843
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
23844
fi
 
23845
 
 
23846
 
 
23847
fi
 
23848
 
23023
23849
 
23024
23850
if test "$ipv6" = "yes"; then
23025
23851
  curl_ipv6_msg="enabled"
23026
23852
 
23027
23853
 
23028
 
  echo "$as_me:$LINENO: checking for working getaddrinfo" >&5
23029
 
echo $ECHO_N "checking for working getaddrinfo... $ECHO_C" >&6
 
23854
  { echo "$as_me:$LINENO: checking for working getaddrinfo" >&5
 
23855
echo $ECHO_N "checking for working getaddrinfo... $ECHO_C" >&6; }
23030
23856
if test "${ac_cv_working_getaddrinfo+set}" = set; then
23031
23857
  echo $ECHO_N "(cached) $ECHO_C" >&6
23032
23858
else
23065
23891
 
23066
23892
_ACEOF
23067
23893
rm -f conftest$ac_exeext
23068
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23069
 
  (eval $ac_link) 2>&5
 
23894
if { (ac_try="$ac_link"
 
23895
case "(($ac_try" in
 
23896
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23897
  *) ac_try_echo=$ac_try;;
 
23898
esac
 
23899
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23900
  (eval "$ac_link") 2>&5
23070
23901
  ac_status=$?
23071
23902
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23072
23903
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23073
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23074
 
  (eval $ac_try) 2>&5
 
23904
  { (case "(($ac_try" in
 
23905
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23906
  *) ac_try_echo=$ac_try;;
 
23907
esac
 
23908
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23909
  (eval "$ac_try") 2>&5
23075
23910
  ac_status=$?
23076
23911
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077
23912
  (exit $ac_status); }; }; then
23088
23923
  ac_cv_working_getaddrinfo="no"
23089
23924
 
23090
23925
fi
23091
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23092
 
fi
23093
 
fi
23094
 
echo "$as_me:$LINENO: result: $ac_cv_working_getaddrinfo" >&5
23095
 
echo "${ECHO_T}$ac_cv_working_getaddrinfo" >&6
 
23926
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
23927
fi
 
23928
 
 
23929
 
 
23930
fi
 
23931
{ echo "$as_me:$LINENO: result: $ac_cv_working_getaddrinfo" >&5
 
23932
echo "${ECHO_T}$ac_cv_working_getaddrinfo" >&6; }
23096
23933
if test "$ac_cv_working_getaddrinfo" = "yes"; then
23097
23934
 
23098
23935
cat >>confdefs.h <<\_ACEOF
23111
23948
 
23112
23949
 
23113
23950
 
23114
 
  echo "$as_me:$LINENO: checking for working NI_WITHSCOPEID" >&5
23115
 
echo $ECHO_N "checking for working NI_WITHSCOPEID... $ECHO_C" >&6
 
23951
  { echo "$as_me:$LINENO: checking for working NI_WITHSCOPEID" >&5
 
23952
echo $ECHO_N "checking for working NI_WITHSCOPEID... $ECHO_C" >&6; }
23116
23953
if test "${ac_cv_working_ni_withscopeid+set}" = set; then
23117
23954
  echo $ECHO_N "(cached) $ECHO_C" >&6
23118
23955
else
23192
24029
 
23193
24030
_ACEOF
23194
24031
rm -f conftest$ac_exeext
23195
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23196
 
  (eval $ac_link) 2>&5
 
24032
if { (ac_try="$ac_link"
 
24033
case "(($ac_try" in
 
24034
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24035
  *) ac_try_echo=$ac_try;;
 
24036
esac
 
24037
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24038
  (eval "$ac_link") 2>&5
23197
24039
  ac_status=$?
23198
24040
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23199
24041
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23200
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23201
 
  (eval $ac_try) 2>&5
 
24042
  { (case "(($ac_try" in
 
24043
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24044
  *) ac_try_echo=$ac_try;;
 
24045
esac
 
24046
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24047
  (eval "$ac_try") 2>&5
23202
24048
  ac_status=$?
23203
24049
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23204
24050
  (exit $ac_status); }; }; then
23211
24057
( exit $ac_status )
23212
24058
 ac_cv_working_ni_withscopeid="no"
23213
24059
fi
23214
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23215
 
fi
23216
 
 
23217
 
fi
23218
 
echo "$as_me:$LINENO: result: $ac_cv_working_ni_withscopeid" >&5
23219
 
echo "${ECHO_T}$ac_cv_working_ni_withscopeid" >&6
 
24060
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
24061
fi
 
24062
 
 
24063
 
 
24064
 
 
24065
fi
 
24066
{ echo "$as_me:$LINENO: result: $ac_cv_working_ni_withscopeid" >&5
 
24067
echo "${ECHO_T}$ac_cv_working_ni_withscopeid" >&6; }
23220
24068
if test "$ac_cv_working_ni_withscopeid" = "yes"; then
23221
24069
 
23222
24070
cat >>confdefs.h <<\_ACEOF
23228
24076
 
23229
24077
fi
23230
24078
 
23231
 
# Check whether --enable-nonblocking or --disable-nonblocking was given.
 
24079
# Check whether --enable-nonblocking was given.
23232
24080
if test "${enable_nonblocking+set}" = set; then
23233
 
  enableval="$enable_nonblocking"
23234
 
 
 
24081
  enableval=$enable_nonblocking;
23235
24082
  if test "$enableval" = "no" ; then
23236
24083
    { echo "$as_me:$LINENO: WARNING: non-blocking sockets disabled" >&5
23237
24084
echo "$as_me: WARNING: non-blocking sockets disabled" >&2;}
23242
24089
 
23243
24090
  else
23244
24091
 
23245
 
  echo "$as_me:$LINENO: checking non-blocking sockets style" >&5
23246
 
echo $ECHO_N "checking non-blocking sockets style... $ECHO_C" >&6
23247
 
 
23248
 
  cat >conftest.$ac_ext <<_ACEOF
23249
 
/* confdefs.h.  */
23250
 
_ACEOF
23251
 
cat confdefs.h >>conftest.$ac_ext
23252
 
cat >>conftest.$ac_ext <<_ACEOF
23253
 
/* end confdefs.h.  */
23254
 
 
23255
 
/* headers for O_NONBLOCK test */
23256
 
#include <sys/types.h>
23257
 
#include <unistd.h>
23258
 
#include <fcntl.h>
23259
 
 
23260
 
int
23261
 
main ()
23262
 
{
23263
 
 
23264
 
/* try to compile O_NONBLOCK */
23265
 
 
23266
 
#if defined(sun) || defined(__sun__) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
23267
 
# if defined(__SVR4) || defined(__srv4__)
23268
 
#  define PLATFORM_SOLARIS
23269
 
# else
23270
 
#  define PLATFORM_SUNOS4
23271
 
# endif
23272
 
#endif
23273
 
#if (defined(_AIX) || defined(__xlC__)) && !defined(_AIX4)
23274
 
# define PLATFORM_AIX_V3
23275
 
#endif
23276
 
 
23277
 
#if defined(PLATFORM_SUNOS4) || defined(PLATFORM_AIX_V3) || defined(__BEOS__)
23278
 
#error "O_NONBLOCK does not work on this platform"
23279
 
#endif
23280
 
  int socket;
23281
 
  int flags = fcntl(socket, F_SETFL, flags | O_NONBLOCK);
23282
 
 
23283
 
  ;
23284
 
  return 0;
23285
 
}
23286
 
_ACEOF
23287
 
rm -f conftest.$ac_objext
23288
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23289
 
  (eval $ac_compile) 2>conftest.er1
23290
 
  ac_status=$?
23291
 
  grep -v '^ *+' conftest.er1 >conftest.err
23292
 
  rm -f conftest.er1
23293
 
  cat conftest.err >&5
23294
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23295
 
  (exit $ac_status); } &&
23296
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23297
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23298
 
  (eval $ac_try) 2>&5
23299
 
  ac_status=$?
23300
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23301
 
  (exit $ac_status); }; } &&
23302
 
         { ac_try='test -s conftest.$ac_objext'
23303
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23304
 
  (eval $ac_try) 2>&5
23305
 
  ac_status=$?
23306
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23307
 
  (exit $ac_status); }; }; then
23308
 
 
23309
 
nonblock="O_NONBLOCK"
23310
 
 
23311
 
cat >>confdefs.h <<\_ACEOF
23312
 
#define HAVE_O_NONBLOCK 1
23313
 
_ACEOF
23314
 
 
23315
 
 
23316
 
else
23317
 
  echo "$as_me: failed program was:" >&5
23318
 
sed 's/^/| /' conftest.$ac_ext >&5
23319
 
 
23320
 
 
23321
 
 
23322
 
  cat >conftest.$ac_ext <<_ACEOF
23323
 
/* confdefs.h.  */
23324
 
_ACEOF
23325
 
cat confdefs.h >>conftest.$ac_ext
23326
 
cat >>conftest.$ac_ext <<_ACEOF
23327
 
/* end confdefs.h.  */
23328
 
 
23329
 
/* headers for FIONBIO test */
23330
 
#include <unistd.h>
23331
 
#include <stropts.h>
23332
 
 
23333
 
int
23334
 
main ()
23335
 
{
23336
 
 
23337
 
/* FIONBIO source test (old-style unix) */
23338
 
 int socket;
23339
 
 int flags = ioctl(socket, FIONBIO, &flags);
23340
 
 
23341
 
  ;
23342
 
  return 0;
23343
 
}
23344
 
_ACEOF
23345
 
rm -f conftest.$ac_objext
23346
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23347
 
  (eval $ac_compile) 2>conftest.er1
23348
 
  ac_status=$?
23349
 
  grep -v '^ *+' conftest.er1 >conftest.err
23350
 
  rm -f conftest.er1
23351
 
  cat conftest.err >&5
23352
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23353
 
  (exit $ac_status); } &&
23354
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23355
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23356
 
  (eval $ac_try) 2>&5
23357
 
  ac_status=$?
23358
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23359
 
  (exit $ac_status); }; } &&
23360
 
         { ac_try='test -s conftest.$ac_objext'
23361
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23362
 
  (eval $ac_try) 2>&5
23363
 
  ac_status=$?
23364
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23365
 
  (exit $ac_status); }; }; then
23366
 
 
23367
 
nonblock="FIONBIO"
23368
 
 
23369
 
cat >>confdefs.h <<\_ACEOF
23370
 
#define HAVE_FIONBIO 1
23371
 
_ACEOF
23372
 
 
23373
 
 
23374
 
else
23375
 
  echo "$as_me: failed program was:" >&5
23376
 
sed 's/^/| /' conftest.$ac_ext >&5
23377
 
 
23378
 
 
23379
 
 
23380
 
  cat >conftest.$ac_ext <<_ACEOF
23381
 
/* confdefs.h.  */
23382
 
_ACEOF
23383
 
cat confdefs.h >>conftest.$ac_ext
23384
 
cat >>conftest.$ac_ext <<_ACEOF
23385
 
/* end confdefs.h.  */
23386
 
 
23387
 
/* headers for ioctlsocket test (cygwin?) */
23388
 
#include <windows.h>
23389
 
 
23390
 
int
23391
 
main ()
23392
 
{
23393
 
 
23394
 
/* ioctlsocket source code */
23395
 
 int socket;
23396
 
 unsigned long flags = ioctlsocket(socket, FIONBIO, &flags);
23397
 
 
23398
 
  ;
23399
 
  return 0;
23400
 
}
23401
 
_ACEOF
23402
 
rm -f conftest.$ac_objext
23403
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23404
 
  (eval $ac_compile) 2>conftest.er1
23405
 
  ac_status=$?
23406
 
  grep -v '^ *+' conftest.er1 >conftest.err
23407
 
  rm -f conftest.er1
23408
 
  cat conftest.err >&5
23409
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23410
 
  (exit $ac_status); } &&
23411
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23412
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23413
 
  (eval $ac_try) 2>&5
23414
 
  ac_status=$?
23415
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416
 
  (exit $ac_status); }; } &&
23417
 
         { ac_try='test -s conftest.$ac_objext'
23418
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23419
 
  (eval $ac_try) 2>&5
23420
 
  ac_status=$?
23421
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23422
 
  (exit $ac_status); }; }; then
23423
 
 
23424
 
nonblock="ioctlsocket"
23425
 
 
23426
 
cat >>confdefs.h <<\_ACEOF
23427
 
#define HAVE_IOCTLSOCKET 1
23428
 
_ACEOF
23429
 
 
23430
 
 
23431
 
else
23432
 
  echo "$as_me: failed program was:" >&5
23433
 
sed 's/^/| /' conftest.$ac_ext >&5
23434
 
 
23435
 
 
23436
 
 
23437
 
  cat >conftest.$ac_ext <<_ACEOF
23438
 
/* confdefs.h.  */
23439
 
_ACEOF
23440
 
cat confdefs.h >>conftest.$ac_ext
23441
 
cat >>conftest.$ac_ext <<_ACEOF
23442
 
/* end confdefs.h.  */
23443
 
 
23444
 
/* headers for IoctlSocket test (Amiga?) */
23445
 
#include <sys/ioctl.h>
23446
 
 
23447
 
int
23448
 
main ()
23449
 
{
23450
 
 
23451
 
/* IoctlSocket source code */
23452
 
 int socket;
23453
 
 int flags = IoctlSocket(socket, FIONBIO, (long)1);
23454
 
 
23455
 
  ;
23456
 
  return 0;
23457
 
}
23458
 
_ACEOF
23459
 
rm -f conftest.$ac_objext conftest$ac_exeext
23460
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23461
 
  (eval $ac_link) 2>conftest.er1
23462
 
  ac_status=$?
23463
 
  grep -v '^ *+' conftest.er1 >conftest.err
23464
 
  rm -f conftest.er1
23465
 
  cat conftest.err >&5
23466
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23467
 
  (exit $ac_status); } &&
23468
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23469
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23470
 
  (eval $ac_try) 2>&5
23471
 
  ac_status=$?
23472
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23473
 
  (exit $ac_status); }; } &&
23474
 
         { ac_try='test -s conftest$ac_exeext'
23475
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23476
 
  (eval $ac_try) 2>&5
23477
 
  ac_status=$?
23478
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23479
 
  (exit $ac_status); }; }; then
23480
 
 
23481
 
nonblock="IoctlSocket"
23482
 
 
23483
 
cat >>confdefs.h <<\_ACEOF
23484
 
#define HAVE_IOCTLSOCKET_CASE 1
23485
 
_ACEOF
23486
 
 
23487
 
 
23488
 
else
23489
 
  echo "$as_me: failed program was:" >&5
23490
 
sed 's/^/| /' conftest.$ac_ext >&5
23491
 
 
23492
 
 
23493
 
  cat >conftest.$ac_ext <<_ACEOF
23494
 
/* confdefs.h.  */
23495
 
_ACEOF
23496
 
cat confdefs.h >>conftest.$ac_ext
23497
 
cat >>conftest.$ac_ext <<_ACEOF
23498
 
/* end confdefs.h.  */
23499
 
 
23500
 
/* headers for SO_NONBLOCK test (BeOS) */
23501
 
#include <socket.h>
23502
 
 
23503
 
int
23504
 
main ()
23505
 
{
23506
 
 
23507
 
/* SO_NONBLOCK source code */
23508
 
 long b = 1;
23509
 
 int socket;
23510
 
 int flags = setsockopt(socket, SOL_SOCKET, SO_NONBLOCK, &b, sizeof(b));
23511
 
 
23512
 
  ;
23513
 
  return 0;
23514
 
}
23515
 
_ACEOF
23516
 
rm -f conftest.$ac_objext
23517
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23518
 
  (eval $ac_compile) 2>conftest.er1
23519
 
  ac_status=$?
23520
 
  grep -v '^ *+' conftest.er1 >conftest.err
23521
 
  rm -f conftest.er1
23522
 
  cat conftest.err >&5
23523
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23524
 
  (exit $ac_status); } &&
23525
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23526
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23527
 
  (eval $ac_try) 2>&5
23528
 
  ac_status=$?
23529
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23530
 
  (exit $ac_status); }; } &&
23531
 
         { ac_try='test -s conftest.$ac_objext'
23532
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23533
 
  (eval $ac_try) 2>&5
23534
 
  ac_status=$?
23535
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536
 
  (exit $ac_status); }; }; then
23537
 
 
23538
 
nonblock="SO_NONBLOCK"
23539
 
 
23540
 
cat >>confdefs.h <<\_ACEOF
23541
 
#define HAVE_SO_NONBLOCK 1
23542
 
_ACEOF
23543
 
 
23544
 
 
23545
 
else
23546
 
  echo "$as_me: failed program was:" >&5
23547
 
sed 's/^/| /' conftest.$ac_ext >&5
23548
 
 
23549
 
 
23550
 
nonblock="nada"
23551
 
 
23552
 
cat >>confdefs.h <<\_ACEOF
23553
 
#define HAVE_DISABLED_NONBLOCKING 1
23554
 
_ACEOF
23555
 
 
23556
 
 
23557
 
fi
23558
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23559
 
 
23560
 
 
23561
 
fi
23562
 
rm -f conftest.err conftest.$ac_objext \
23563
 
      conftest$ac_exeext conftest.$ac_ext
23564
 
 
23565
 
 
23566
 
fi
23567
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23568
 
 
23569
 
 
23570
 
fi
23571
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23572
 
 
23573
 
 
23574
 
fi
23575
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23576
 
  echo "$as_me:$LINENO: result: $nonblock" >&5
23577
 
echo "${ECHO_T}$nonblock" >&6
23578
 
 
23579
 
  if test "$nonblock" = "nada"; then
23580
 
    { echo "$as_me:$LINENO: WARNING: non-block sockets disabled" >&5
23581
 
echo "$as_me: WARNING: non-block sockets disabled" >&2;}
23582
 
  fi
23583
 
 
23584
 
  fi
23585
 
 
23586
 
else
23587
 
 
23588
 
 
23589
 
  echo "$as_me:$LINENO: checking non-blocking sockets style" >&5
23590
 
echo $ECHO_N "checking non-blocking sockets style... $ECHO_C" >&6
23591
 
 
23592
 
  cat >conftest.$ac_ext <<_ACEOF
23593
 
/* confdefs.h.  */
23594
 
_ACEOF
23595
 
cat confdefs.h >>conftest.$ac_ext
23596
 
cat >>conftest.$ac_ext <<_ACEOF
23597
 
/* end confdefs.h.  */
23598
 
 
23599
 
/* headers for O_NONBLOCK test */
23600
 
#include <sys/types.h>
23601
 
#include <unistd.h>
23602
 
#include <fcntl.h>
23603
 
 
23604
 
int
23605
 
main ()
23606
 
{
23607
 
 
23608
 
/* try to compile O_NONBLOCK */
23609
 
 
23610
 
#if defined(sun) || defined(__sun__) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
23611
 
# if defined(__SVR4) || defined(__srv4__)
23612
 
#  define PLATFORM_SOLARIS
23613
 
# else
23614
 
#  define PLATFORM_SUNOS4
23615
 
# endif
23616
 
#endif
23617
 
#if (defined(_AIX) || defined(__xlC__)) && !defined(_AIX4)
23618
 
# define PLATFORM_AIX_V3
23619
 
#endif
23620
 
 
23621
 
#if defined(PLATFORM_SUNOS4) || defined(PLATFORM_AIX_V3) || defined(__BEOS__)
23622
 
#error "O_NONBLOCK does not work on this platform"
23623
 
#endif
23624
 
  int socket;
23625
 
  int flags = fcntl(socket, F_SETFL, flags | O_NONBLOCK);
23626
 
 
23627
 
  ;
23628
 
  return 0;
23629
 
}
23630
 
_ACEOF
23631
 
rm -f conftest.$ac_objext
23632
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23633
 
  (eval $ac_compile) 2>conftest.er1
23634
 
  ac_status=$?
23635
 
  grep -v '^ *+' conftest.er1 >conftest.err
23636
 
  rm -f conftest.er1
23637
 
  cat conftest.err >&5
23638
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23639
 
  (exit $ac_status); } &&
23640
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23641
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23642
 
  (eval $ac_try) 2>&5
23643
 
  ac_status=$?
23644
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23645
 
  (exit $ac_status); }; } &&
23646
 
         { ac_try='test -s conftest.$ac_objext'
23647
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23648
 
  (eval $ac_try) 2>&5
23649
 
  ac_status=$?
23650
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23651
 
  (exit $ac_status); }; }; then
23652
 
 
23653
 
nonblock="O_NONBLOCK"
23654
 
 
23655
 
cat >>confdefs.h <<\_ACEOF
23656
 
#define HAVE_O_NONBLOCK 1
23657
 
_ACEOF
23658
 
 
23659
 
 
23660
 
else
23661
 
  echo "$as_me: failed program was:" >&5
23662
 
sed 's/^/| /' conftest.$ac_ext >&5
23663
 
 
23664
 
 
23665
 
 
23666
 
  cat >conftest.$ac_ext <<_ACEOF
23667
 
/* confdefs.h.  */
23668
 
_ACEOF
23669
 
cat confdefs.h >>conftest.$ac_ext
23670
 
cat >>conftest.$ac_ext <<_ACEOF
23671
 
/* end confdefs.h.  */
23672
 
 
23673
 
/* headers for FIONBIO test */
23674
 
#include <unistd.h>
23675
 
#include <stropts.h>
23676
 
 
23677
 
int
23678
 
main ()
23679
 
{
23680
 
 
23681
 
/* FIONBIO source test (old-style unix) */
23682
 
 int socket;
23683
 
 int flags = ioctl(socket, FIONBIO, &flags);
23684
 
 
23685
 
  ;
23686
 
  return 0;
23687
 
}
23688
 
_ACEOF
23689
 
rm -f conftest.$ac_objext
23690
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23691
 
  (eval $ac_compile) 2>conftest.er1
23692
 
  ac_status=$?
23693
 
  grep -v '^ *+' conftest.er1 >conftest.err
23694
 
  rm -f conftest.er1
23695
 
  cat conftest.err >&5
23696
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23697
 
  (exit $ac_status); } &&
23698
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23699
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23700
 
  (eval $ac_try) 2>&5
23701
 
  ac_status=$?
23702
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23703
 
  (exit $ac_status); }; } &&
23704
 
         { ac_try='test -s conftest.$ac_objext'
23705
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23706
 
  (eval $ac_try) 2>&5
23707
 
  ac_status=$?
23708
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23709
 
  (exit $ac_status); }; }; then
23710
 
 
23711
 
nonblock="FIONBIO"
23712
 
 
23713
 
cat >>confdefs.h <<\_ACEOF
23714
 
#define HAVE_FIONBIO 1
23715
 
_ACEOF
23716
 
 
23717
 
 
23718
 
else
23719
 
  echo "$as_me: failed program was:" >&5
23720
 
sed 's/^/| /' conftest.$ac_ext >&5
23721
 
 
23722
 
 
23723
 
 
23724
 
  cat >conftest.$ac_ext <<_ACEOF
23725
 
/* confdefs.h.  */
23726
 
_ACEOF
23727
 
cat confdefs.h >>conftest.$ac_ext
23728
 
cat >>conftest.$ac_ext <<_ACEOF
23729
 
/* end confdefs.h.  */
23730
 
 
23731
 
/* headers for ioctlsocket test (cygwin?) */
23732
 
#include <windows.h>
23733
 
 
23734
 
int
23735
 
main ()
23736
 
{
23737
 
 
23738
 
/* ioctlsocket source code */
23739
 
 int socket;
23740
 
 unsigned long flags = ioctlsocket(socket, FIONBIO, &flags);
23741
 
 
23742
 
  ;
23743
 
  return 0;
23744
 
}
23745
 
_ACEOF
23746
 
rm -f conftest.$ac_objext
23747
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23748
 
  (eval $ac_compile) 2>conftest.er1
23749
 
  ac_status=$?
23750
 
  grep -v '^ *+' conftest.er1 >conftest.err
23751
 
  rm -f conftest.er1
23752
 
  cat conftest.err >&5
23753
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23754
 
  (exit $ac_status); } &&
23755
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23756
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23757
 
  (eval $ac_try) 2>&5
23758
 
  ac_status=$?
23759
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23760
 
  (exit $ac_status); }; } &&
23761
 
         { ac_try='test -s conftest.$ac_objext'
23762
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23763
 
  (eval $ac_try) 2>&5
23764
 
  ac_status=$?
23765
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23766
 
  (exit $ac_status); }; }; then
23767
 
 
23768
 
nonblock="ioctlsocket"
23769
 
 
23770
 
cat >>confdefs.h <<\_ACEOF
23771
 
#define HAVE_IOCTLSOCKET 1
23772
 
_ACEOF
23773
 
 
23774
 
 
23775
 
else
23776
 
  echo "$as_me: failed program was:" >&5
23777
 
sed 's/^/| /' conftest.$ac_ext >&5
23778
 
 
23779
 
 
23780
 
 
23781
 
  cat >conftest.$ac_ext <<_ACEOF
23782
 
/* confdefs.h.  */
23783
 
_ACEOF
23784
 
cat confdefs.h >>conftest.$ac_ext
23785
 
cat >>conftest.$ac_ext <<_ACEOF
23786
 
/* end confdefs.h.  */
23787
 
 
23788
 
/* headers for IoctlSocket test (Amiga?) */
23789
 
#include <sys/ioctl.h>
23790
 
 
23791
 
int
23792
 
main ()
23793
 
{
23794
 
 
23795
 
/* IoctlSocket source code */
23796
 
 int socket;
23797
 
 int flags = IoctlSocket(socket, FIONBIO, (long)1);
23798
 
 
23799
 
  ;
23800
 
  return 0;
23801
 
}
23802
 
_ACEOF
23803
 
rm -f conftest.$ac_objext conftest$ac_exeext
23804
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23805
 
  (eval $ac_link) 2>conftest.er1
23806
 
  ac_status=$?
23807
 
  grep -v '^ *+' conftest.er1 >conftest.err
23808
 
  rm -f conftest.er1
23809
 
  cat conftest.err >&5
23810
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23811
 
  (exit $ac_status); } &&
23812
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23813
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23814
 
  (eval $ac_try) 2>&5
23815
 
  ac_status=$?
23816
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23817
 
  (exit $ac_status); }; } &&
23818
 
         { ac_try='test -s conftest$ac_exeext'
23819
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23820
 
  (eval $ac_try) 2>&5
23821
 
  ac_status=$?
23822
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23823
 
  (exit $ac_status); }; }; then
23824
 
 
23825
 
nonblock="IoctlSocket"
23826
 
 
23827
 
cat >>confdefs.h <<\_ACEOF
23828
 
#define HAVE_IOCTLSOCKET_CASE 1
23829
 
_ACEOF
23830
 
 
23831
 
 
23832
 
else
23833
 
  echo "$as_me: failed program was:" >&5
23834
 
sed 's/^/| /' conftest.$ac_ext >&5
23835
 
 
23836
 
 
23837
 
  cat >conftest.$ac_ext <<_ACEOF
23838
 
/* confdefs.h.  */
23839
 
_ACEOF
23840
 
cat confdefs.h >>conftest.$ac_ext
23841
 
cat >>conftest.$ac_ext <<_ACEOF
23842
 
/* end confdefs.h.  */
23843
 
 
23844
 
/* headers for SO_NONBLOCK test (BeOS) */
23845
 
#include <socket.h>
23846
 
 
23847
 
int
23848
 
main ()
23849
 
{
23850
 
 
23851
 
/* SO_NONBLOCK source code */
23852
 
 long b = 1;
23853
 
 int socket;
23854
 
 int flags = setsockopt(socket, SOL_SOCKET, SO_NONBLOCK, &b, sizeof(b));
23855
 
 
23856
 
  ;
23857
 
  return 0;
23858
 
}
23859
 
_ACEOF
23860
 
rm -f conftest.$ac_objext
23861
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23862
 
  (eval $ac_compile) 2>conftest.er1
23863
 
  ac_status=$?
23864
 
  grep -v '^ *+' conftest.er1 >conftest.err
23865
 
  rm -f conftest.er1
23866
 
  cat conftest.err >&5
23867
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23868
 
  (exit $ac_status); } &&
23869
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23870
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23871
 
  (eval $ac_try) 2>&5
23872
 
  ac_status=$?
23873
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874
 
  (exit $ac_status); }; } &&
23875
 
         { ac_try='test -s conftest.$ac_objext'
23876
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23877
 
  (eval $ac_try) 2>&5
23878
 
  ac_status=$?
23879
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23880
 
  (exit $ac_status); }; }; then
23881
 
 
23882
 
nonblock="SO_NONBLOCK"
23883
 
 
23884
 
cat >>confdefs.h <<\_ACEOF
23885
 
#define HAVE_SO_NONBLOCK 1
23886
 
_ACEOF
23887
 
 
23888
 
 
23889
 
else
23890
 
  echo "$as_me: failed program was:" >&5
23891
 
sed 's/^/| /' conftest.$ac_ext >&5
23892
 
 
23893
 
 
23894
 
nonblock="nada"
23895
 
 
23896
 
cat >>confdefs.h <<\_ACEOF
23897
 
#define HAVE_DISABLED_NONBLOCKING 1
23898
 
_ACEOF
23899
 
 
23900
 
 
23901
 
fi
23902
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23903
 
 
23904
 
 
23905
 
fi
23906
 
rm -f conftest.err conftest.$ac_objext \
23907
 
      conftest$ac_exeext conftest.$ac_ext
23908
 
 
23909
 
 
23910
 
fi
23911
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23912
 
 
23913
 
 
23914
 
fi
23915
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23916
 
 
23917
 
 
23918
 
fi
23919
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23920
 
  echo "$as_me:$LINENO: result: $nonblock" >&5
23921
 
echo "${ECHO_T}$nonblock" >&6
23922
 
 
23923
 
  if test "$nonblock" = "nada"; then
23924
 
    { echo "$as_me:$LINENO: WARNING: non-block sockets disabled" >&5
23925
 
echo "$as_me: WARNING: non-block sockets disabled" >&2;}
23926
 
  fi
23927
 
 
23928
 
 
23929
 
fi;
23930
 
 
23931
 
 
23932
 
echo "$as_me:$LINENO: checking if argv can be written to" >&5
23933
 
echo $ECHO_N "checking if argv can be written to... $ECHO_C" >&6
 
24092
  { echo "$as_me:$LINENO: checking non-blocking sockets style" >&5
 
24093
echo $ECHO_N "checking non-blocking sockets style... $ECHO_C" >&6; }
 
24094
 
 
24095
  cat >conftest.$ac_ext <<_ACEOF
 
24096
/* confdefs.h.  */
 
24097
_ACEOF
 
24098
cat confdefs.h >>conftest.$ac_ext
 
24099
cat >>conftest.$ac_ext <<_ACEOF
 
24100
/* end confdefs.h.  */
 
24101
 
 
24102
/* headers for O_NONBLOCK test */
 
24103
#include <sys/types.h>
 
24104
#include <unistd.h>
 
24105
#include <fcntl.h>
 
24106
 
 
24107
int
 
24108
main ()
 
24109
{
 
24110
 
 
24111
/* try to compile O_NONBLOCK */
 
24112
 
 
24113
#if defined(sun) || defined(__sun__) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
 
24114
# if defined(__SVR4) || defined(__srv4__)
 
24115
#  define PLATFORM_SOLARIS
 
24116
# else
 
24117
#  define PLATFORM_SUNOS4
 
24118
# endif
 
24119
#endif
 
24120
#if (defined(_AIX) || defined(__xlC__)) && !defined(_AIX4)
 
24121
# define PLATFORM_AIX_V3
 
24122
#endif
 
24123
 
 
24124
#if defined(PLATFORM_SUNOS4) || defined(PLATFORM_AIX_V3) || defined(__BEOS__)
 
24125
#error "O_NONBLOCK does not work on this platform"
 
24126
#endif
 
24127
  int socket;
 
24128
  int flags = fcntl(socket, F_SETFL, flags | O_NONBLOCK);
 
24129
 
 
24130
  ;
 
24131
  return 0;
 
24132
}
 
24133
_ACEOF
 
24134
rm -f conftest.$ac_objext
 
24135
if { (ac_try="$ac_compile"
 
24136
case "(($ac_try" in
 
24137
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24138
  *) ac_try_echo=$ac_try;;
 
24139
esac
 
24140
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24141
  (eval "$ac_compile") 2>conftest.er1
 
24142
  ac_status=$?
 
24143
  grep -v '^ *+' conftest.er1 >conftest.err
 
24144
  rm -f conftest.er1
 
24145
  cat conftest.err >&5
 
24146
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24147
  (exit $ac_status); } &&
 
24148
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
24149
  { (case "(($ac_try" in
 
24150
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24151
  *) ac_try_echo=$ac_try;;
 
24152
esac
 
24153
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24154
  (eval "$ac_try") 2>&5
 
24155
  ac_status=$?
 
24156
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24157
  (exit $ac_status); }; } &&
 
24158
         { ac_try='test -s conftest.$ac_objext'
 
24159
  { (case "(($ac_try" in
 
24160
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24161
  *) ac_try_echo=$ac_try;;
 
24162
esac
 
24163
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24164
  (eval "$ac_try") 2>&5
 
24165
  ac_status=$?
 
24166
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24167
  (exit $ac_status); }; }; then
 
24168
 
 
24169
nonblock="O_NONBLOCK"
 
24170
 
 
24171
cat >>confdefs.h <<\_ACEOF
 
24172
#define HAVE_O_NONBLOCK 1
 
24173
_ACEOF
 
24174
 
 
24175
 
 
24176
else
 
24177
  echo "$as_me: failed program was:" >&5
 
24178
sed 's/^/| /' conftest.$ac_ext >&5
 
24179
 
 
24180
 
 
24181
 
 
24182
  cat >conftest.$ac_ext <<_ACEOF
 
24183
/* confdefs.h.  */
 
24184
_ACEOF
 
24185
cat confdefs.h >>conftest.$ac_ext
 
24186
cat >>conftest.$ac_ext <<_ACEOF
 
24187
/* end confdefs.h.  */
 
24188
 
 
24189
/* headers for FIONBIO test */
 
24190
#include <unistd.h>
 
24191
#include <stropts.h>
 
24192
 
 
24193
int
 
24194
main ()
 
24195
{
 
24196
 
 
24197
/* FIONBIO source test (old-style unix) */
 
24198
 int socket;
 
24199
 int flags = ioctl(socket, FIONBIO, &flags);
 
24200
 
 
24201
  ;
 
24202
  return 0;
 
24203
}
 
24204
_ACEOF
 
24205
rm -f conftest.$ac_objext
 
24206
if { (ac_try="$ac_compile"
 
24207
case "(($ac_try" in
 
24208
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24209
  *) ac_try_echo=$ac_try;;
 
24210
esac
 
24211
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24212
  (eval "$ac_compile") 2>conftest.er1
 
24213
  ac_status=$?
 
24214
  grep -v '^ *+' conftest.er1 >conftest.err
 
24215
  rm -f conftest.er1
 
24216
  cat conftest.err >&5
 
24217
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24218
  (exit $ac_status); } &&
 
24219
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
24220
  { (case "(($ac_try" in
 
24221
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24222
  *) ac_try_echo=$ac_try;;
 
24223
esac
 
24224
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24225
  (eval "$ac_try") 2>&5
 
24226
  ac_status=$?
 
24227
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24228
  (exit $ac_status); }; } &&
 
24229
         { ac_try='test -s conftest.$ac_objext'
 
24230
  { (case "(($ac_try" in
 
24231
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24232
  *) ac_try_echo=$ac_try;;
 
24233
esac
 
24234
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24235
  (eval "$ac_try") 2>&5
 
24236
  ac_status=$?
 
24237
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24238
  (exit $ac_status); }; }; then
 
24239
 
 
24240
nonblock="FIONBIO"
 
24241
 
 
24242
cat >>confdefs.h <<\_ACEOF
 
24243
#define HAVE_FIONBIO 1
 
24244
_ACEOF
 
24245
 
 
24246
 
 
24247
else
 
24248
  echo "$as_me: failed program was:" >&5
 
24249
sed 's/^/| /' conftest.$ac_ext >&5
 
24250
 
 
24251
 
 
24252
 
 
24253
  cat >conftest.$ac_ext <<_ACEOF
 
24254
/* confdefs.h.  */
 
24255
_ACEOF
 
24256
cat confdefs.h >>conftest.$ac_ext
 
24257
cat >>conftest.$ac_ext <<_ACEOF
 
24258
/* end confdefs.h.  */
 
24259
 
 
24260
/* headers for ioctlsocket test (Windows) */
 
24261
#undef inline
 
24262
#ifdef HAVE_WINDOWS_H
 
24263
#ifndef WIN32_LEAN_AND_MEAN
 
24264
#define WIN32_LEAN_AND_MEAN
 
24265
#endif
 
24266
#include <windows.h>
 
24267
#ifdef HAVE_WINSOCK2_H
 
24268
#include <winsock2.h>
 
24269
#else
 
24270
#ifdef HAVE_WINSOCK_H
 
24271
#include <winsock.h>
 
24272
#endif
 
24273
#endif
 
24274
#endif
 
24275
 
 
24276
int
 
24277
main ()
 
24278
{
 
24279
 
 
24280
/* ioctlsocket source code */
 
24281
 SOCKET sd;
 
24282
 unsigned long flags = 0;
 
24283
 sd = socket(0, 0, 0);
 
24284
 ioctlsocket(sd, FIONBIO, &flags);
 
24285
 
 
24286
  ;
 
24287
  return 0;
 
24288
}
 
24289
_ACEOF
 
24290
rm -f conftest.$ac_objext
 
24291
if { (ac_try="$ac_compile"
 
24292
case "(($ac_try" in
 
24293
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24294
  *) ac_try_echo=$ac_try;;
 
24295
esac
 
24296
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24297
  (eval "$ac_compile") 2>conftest.er1
 
24298
  ac_status=$?
 
24299
  grep -v '^ *+' conftest.er1 >conftest.err
 
24300
  rm -f conftest.er1
 
24301
  cat conftest.err >&5
 
24302
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24303
  (exit $ac_status); } &&
 
24304
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
24305
  { (case "(($ac_try" in
 
24306
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24307
  *) ac_try_echo=$ac_try;;
 
24308
esac
 
24309
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24310
  (eval "$ac_try") 2>&5
 
24311
  ac_status=$?
 
24312
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24313
  (exit $ac_status); }; } &&
 
24314
         { ac_try='test -s conftest.$ac_objext'
 
24315
  { (case "(($ac_try" in
 
24316
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24317
  *) ac_try_echo=$ac_try;;
 
24318
esac
 
24319
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24320
  (eval "$ac_try") 2>&5
 
24321
  ac_status=$?
 
24322
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24323
  (exit $ac_status); }; }; then
 
24324
 
 
24325
nonblock="ioctlsocket"
 
24326
 
 
24327
cat >>confdefs.h <<\_ACEOF
 
24328
#define HAVE_IOCTLSOCKET 1
 
24329
_ACEOF
 
24330
 
 
24331
 
 
24332
else
 
24333
  echo "$as_me: failed program was:" >&5
 
24334
sed 's/^/| /' conftest.$ac_ext >&5
 
24335
 
 
24336
 
 
24337
 
 
24338
  cat >conftest.$ac_ext <<_ACEOF
 
24339
/* confdefs.h.  */
 
24340
_ACEOF
 
24341
cat confdefs.h >>conftest.$ac_ext
 
24342
cat >>conftest.$ac_ext <<_ACEOF
 
24343
/* end confdefs.h.  */
 
24344
 
 
24345
/* headers for IoctlSocket test (Amiga?) */
 
24346
#include <sys/ioctl.h>
 
24347
 
 
24348
int
 
24349
main ()
 
24350
{
 
24351
 
 
24352
/* IoctlSocket source code */
 
24353
 int socket;
 
24354
 int flags = IoctlSocket(socket, FIONBIO, (long)1);
 
24355
 
 
24356
  ;
 
24357
  return 0;
 
24358
}
 
24359
_ACEOF
 
24360
rm -f conftest.$ac_objext conftest$ac_exeext
 
24361
if { (ac_try="$ac_link"
 
24362
case "(($ac_try" in
 
24363
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24364
  *) ac_try_echo=$ac_try;;
 
24365
esac
 
24366
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24367
  (eval "$ac_link") 2>conftest.er1
 
24368
  ac_status=$?
 
24369
  grep -v '^ *+' conftest.er1 >conftest.err
 
24370
  rm -f conftest.er1
 
24371
  cat conftest.err >&5
 
24372
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24373
  (exit $ac_status); } &&
 
24374
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
24375
  { (case "(($ac_try" in
 
24376
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24377
  *) ac_try_echo=$ac_try;;
 
24378
esac
 
24379
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24380
  (eval "$ac_try") 2>&5
 
24381
  ac_status=$?
 
24382
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24383
  (exit $ac_status); }; } &&
 
24384
         { ac_try='test -s conftest$ac_exeext'
 
24385
  { (case "(($ac_try" in
 
24386
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24387
  *) ac_try_echo=$ac_try;;
 
24388
esac
 
24389
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24390
  (eval "$ac_try") 2>&5
 
24391
  ac_status=$?
 
24392
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24393
  (exit $ac_status); }; }; then
 
24394
 
 
24395
nonblock="IoctlSocket"
 
24396
 
 
24397
cat >>confdefs.h <<\_ACEOF
 
24398
#define HAVE_IOCTLSOCKET_CASE 1
 
24399
_ACEOF
 
24400
 
 
24401
 
 
24402
else
 
24403
  echo "$as_me: failed program was:" >&5
 
24404
sed 's/^/| /' conftest.$ac_ext >&5
 
24405
 
 
24406
 
 
24407
  cat >conftest.$ac_ext <<_ACEOF
 
24408
/* confdefs.h.  */
 
24409
_ACEOF
 
24410
cat confdefs.h >>conftest.$ac_ext
 
24411
cat >>conftest.$ac_ext <<_ACEOF
 
24412
/* end confdefs.h.  */
 
24413
 
 
24414
/* headers for SO_NONBLOCK test (BeOS) */
 
24415
#include <socket.h>
 
24416
 
 
24417
int
 
24418
main ()
 
24419
{
 
24420
 
 
24421
/* SO_NONBLOCK source code */
 
24422
 long b = 1;
 
24423
 int socket;
 
24424
 int flags = setsockopt(socket, SOL_SOCKET, SO_NONBLOCK, &b, sizeof(b));
 
24425
 
 
24426
  ;
 
24427
  return 0;
 
24428
}
 
24429
_ACEOF
 
24430
rm -f conftest.$ac_objext
 
24431
if { (ac_try="$ac_compile"
 
24432
case "(($ac_try" in
 
24433
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24434
  *) ac_try_echo=$ac_try;;
 
24435
esac
 
24436
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24437
  (eval "$ac_compile") 2>conftest.er1
 
24438
  ac_status=$?
 
24439
  grep -v '^ *+' conftest.er1 >conftest.err
 
24440
  rm -f conftest.er1
 
24441
  cat conftest.err >&5
 
24442
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24443
  (exit $ac_status); } &&
 
24444
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
24445
  { (case "(($ac_try" in
 
24446
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24447
  *) ac_try_echo=$ac_try;;
 
24448
esac
 
24449
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24450
  (eval "$ac_try") 2>&5
 
24451
  ac_status=$?
 
24452
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24453
  (exit $ac_status); }; } &&
 
24454
         { ac_try='test -s conftest.$ac_objext'
 
24455
  { (case "(($ac_try" in
 
24456
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24457
  *) ac_try_echo=$ac_try;;
 
24458
esac
 
24459
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24460
  (eval "$ac_try") 2>&5
 
24461
  ac_status=$?
 
24462
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24463
  (exit $ac_status); }; }; then
 
24464
 
 
24465
nonblock="SO_NONBLOCK"
 
24466
 
 
24467
cat >>confdefs.h <<\_ACEOF
 
24468
#define HAVE_SO_NONBLOCK 1
 
24469
_ACEOF
 
24470
 
 
24471
 
 
24472
else
 
24473
  echo "$as_me: failed program was:" >&5
 
24474
sed 's/^/| /' conftest.$ac_ext >&5
 
24475
 
 
24476
 
 
24477
nonblock="nada"
 
24478
 
 
24479
cat >>confdefs.h <<\_ACEOF
 
24480
#define HAVE_DISABLED_NONBLOCKING 1
 
24481
_ACEOF
 
24482
 
 
24483
 
 
24484
fi
 
24485
 
 
24486
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24487
 
 
24488
 
 
24489
fi
 
24490
 
 
24491
rm -f conftest.err conftest.$ac_objext \
 
24492
      conftest$ac_exeext conftest.$ac_ext
 
24493
 
 
24494
 
 
24495
fi
 
24496
 
 
24497
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24498
 
 
24499
 
 
24500
fi
 
24501
 
 
24502
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24503
 
 
24504
 
 
24505
fi
 
24506
 
 
24507
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24508
  { echo "$as_me:$LINENO: result: $nonblock" >&5
 
24509
echo "${ECHO_T}$nonblock" >&6; }
 
24510
 
 
24511
  if test "$nonblock" = "nada"; then
 
24512
    { echo "$as_me:$LINENO: WARNING: non-block sockets disabled" >&5
 
24513
echo "$as_me: WARNING: non-block sockets disabled" >&2;}
 
24514
  fi
 
24515
 
 
24516
  fi
 
24517
 
 
24518
else
 
24519
 
 
24520
 
 
24521
  { echo "$as_me:$LINENO: checking non-blocking sockets style" >&5
 
24522
echo $ECHO_N "checking non-blocking sockets style... $ECHO_C" >&6; }
 
24523
 
 
24524
  cat >conftest.$ac_ext <<_ACEOF
 
24525
/* confdefs.h.  */
 
24526
_ACEOF
 
24527
cat confdefs.h >>conftest.$ac_ext
 
24528
cat >>conftest.$ac_ext <<_ACEOF
 
24529
/* end confdefs.h.  */
 
24530
 
 
24531
/* headers for O_NONBLOCK test */
 
24532
#include <sys/types.h>
 
24533
#include <unistd.h>
 
24534
#include <fcntl.h>
 
24535
 
 
24536
int
 
24537
main ()
 
24538
{
 
24539
 
 
24540
/* try to compile O_NONBLOCK */
 
24541
 
 
24542
#if defined(sun) || defined(__sun__) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
 
24543
# if defined(__SVR4) || defined(__srv4__)
 
24544
#  define PLATFORM_SOLARIS
 
24545
# else
 
24546
#  define PLATFORM_SUNOS4
 
24547
# endif
 
24548
#endif
 
24549
#if (defined(_AIX) || defined(__xlC__)) && !defined(_AIX4)
 
24550
# define PLATFORM_AIX_V3
 
24551
#endif
 
24552
 
 
24553
#if defined(PLATFORM_SUNOS4) || defined(PLATFORM_AIX_V3) || defined(__BEOS__)
 
24554
#error "O_NONBLOCK does not work on this platform"
 
24555
#endif
 
24556
  int socket;
 
24557
  int flags = fcntl(socket, F_SETFL, flags | O_NONBLOCK);
 
24558
 
 
24559
  ;
 
24560
  return 0;
 
24561
}
 
24562
_ACEOF
 
24563
rm -f conftest.$ac_objext
 
24564
if { (ac_try="$ac_compile"
 
24565
case "(($ac_try" in
 
24566
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24567
  *) ac_try_echo=$ac_try;;
 
24568
esac
 
24569
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24570
  (eval "$ac_compile") 2>conftest.er1
 
24571
  ac_status=$?
 
24572
  grep -v '^ *+' conftest.er1 >conftest.err
 
24573
  rm -f conftest.er1
 
24574
  cat conftest.err >&5
 
24575
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24576
  (exit $ac_status); } &&
 
24577
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
24578
  { (case "(($ac_try" in
 
24579
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24580
  *) ac_try_echo=$ac_try;;
 
24581
esac
 
24582
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24583
  (eval "$ac_try") 2>&5
 
24584
  ac_status=$?
 
24585
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24586
  (exit $ac_status); }; } &&
 
24587
         { ac_try='test -s conftest.$ac_objext'
 
24588
  { (case "(($ac_try" in
 
24589
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24590
  *) ac_try_echo=$ac_try;;
 
24591
esac
 
24592
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24593
  (eval "$ac_try") 2>&5
 
24594
  ac_status=$?
 
24595
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24596
  (exit $ac_status); }; }; then
 
24597
 
 
24598
nonblock="O_NONBLOCK"
 
24599
 
 
24600
cat >>confdefs.h <<\_ACEOF
 
24601
#define HAVE_O_NONBLOCK 1
 
24602
_ACEOF
 
24603
 
 
24604
 
 
24605
else
 
24606
  echo "$as_me: failed program was:" >&5
 
24607
sed 's/^/| /' conftest.$ac_ext >&5
 
24608
 
 
24609
 
 
24610
 
 
24611
  cat >conftest.$ac_ext <<_ACEOF
 
24612
/* confdefs.h.  */
 
24613
_ACEOF
 
24614
cat confdefs.h >>conftest.$ac_ext
 
24615
cat >>conftest.$ac_ext <<_ACEOF
 
24616
/* end confdefs.h.  */
 
24617
 
 
24618
/* headers for FIONBIO test */
 
24619
#include <unistd.h>
 
24620
#include <stropts.h>
 
24621
 
 
24622
int
 
24623
main ()
 
24624
{
 
24625
 
 
24626
/* FIONBIO source test (old-style unix) */
 
24627
 int socket;
 
24628
 int flags = ioctl(socket, FIONBIO, &flags);
 
24629
 
 
24630
  ;
 
24631
  return 0;
 
24632
}
 
24633
_ACEOF
 
24634
rm -f conftest.$ac_objext
 
24635
if { (ac_try="$ac_compile"
 
24636
case "(($ac_try" in
 
24637
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24638
  *) ac_try_echo=$ac_try;;
 
24639
esac
 
24640
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24641
  (eval "$ac_compile") 2>conftest.er1
 
24642
  ac_status=$?
 
24643
  grep -v '^ *+' conftest.er1 >conftest.err
 
24644
  rm -f conftest.er1
 
24645
  cat conftest.err >&5
 
24646
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24647
  (exit $ac_status); } &&
 
24648
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
24649
  { (case "(($ac_try" in
 
24650
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24651
  *) ac_try_echo=$ac_try;;
 
24652
esac
 
24653
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24654
  (eval "$ac_try") 2>&5
 
24655
  ac_status=$?
 
24656
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24657
  (exit $ac_status); }; } &&
 
24658
         { ac_try='test -s conftest.$ac_objext'
 
24659
  { (case "(($ac_try" in
 
24660
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24661
  *) ac_try_echo=$ac_try;;
 
24662
esac
 
24663
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24664
  (eval "$ac_try") 2>&5
 
24665
  ac_status=$?
 
24666
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24667
  (exit $ac_status); }; }; then
 
24668
 
 
24669
nonblock="FIONBIO"
 
24670
 
 
24671
cat >>confdefs.h <<\_ACEOF
 
24672
#define HAVE_FIONBIO 1
 
24673
_ACEOF
 
24674
 
 
24675
 
 
24676
else
 
24677
  echo "$as_me: failed program was:" >&5
 
24678
sed 's/^/| /' conftest.$ac_ext >&5
 
24679
 
 
24680
 
 
24681
 
 
24682
  cat >conftest.$ac_ext <<_ACEOF
 
24683
/* confdefs.h.  */
 
24684
_ACEOF
 
24685
cat confdefs.h >>conftest.$ac_ext
 
24686
cat >>conftest.$ac_ext <<_ACEOF
 
24687
/* end confdefs.h.  */
 
24688
 
 
24689
/* headers for ioctlsocket test (Windows) */
 
24690
#undef inline
 
24691
#ifdef HAVE_WINDOWS_H
 
24692
#ifndef WIN32_LEAN_AND_MEAN
 
24693
#define WIN32_LEAN_AND_MEAN
 
24694
#endif
 
24695
#include <windows.h>
 
24696
#ifdef HAVE_WINSOCK2_H
 
24697
#include <winsock2.h>
 
24698
#else
 
24699
#ifdef HAVE_WINSOCK_H
 
24700
#include <winsock.h>
 
24701
#endif
 
24702
#endif
 
24703
#endif
 
24704
 
 
24705
int
 
24706
main ()
 
24707
{
 
24708
 
 
24709
/* ioctlsocket source code */
 
24710
 SOCKET sd;
 
24711
 unsigned long flags = 0;
 
24712
 sd = socket(0, 0, 0);
 
24713
 ioctlsocket(sd, FIONBIO, &flags);
 
24714
 
 
24715
  ;
 
24716
  return 0;
 
24717
}
 
24718
_ACEOF
 
24719
rm -f conftest.$ac_objext
 
24720
if { (ac_try="$ac_compile"
 
24721
case "(($ac_try" in
 
24722
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24723
  *) ac_try_echo=$ac_try;;
 
24724
esac
 
24725
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24726
  (eval "$ac_compile") 2>conftest.er1
 
24727
  ac_status=$?
 
24728
  grep -v '^ *+' conftest.er1 >conftest.err
 
24729
  rm -f conftest.er1
 
24730
  cat conftest.err >&5
 
24731
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24732
  (exit $ac_status); } &&
 
24733
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
24734
  { (case "(($ac_try" in
 
24735
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24736
  *) ac_try_echo=$ac_try;;
 
24737
esac
 
24738
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24739
  (eval "$ac_try") 2>&5
 
24740
  ac_status=$?
 
24741
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24742
  (exit $ac_status); }; } &&
 
24743
         { ac_try='test -s conftest.$ac_objext'
 
24744
  { (case "(($ac_try" in
 
24745
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24746
  *) ac_try_echo=$ac_try;;
 
24747
esac
 
24748
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24749
  (eval "$ac_try") 2>&5
 
24750
  ac_status=$?
 
24751
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24752
  (exit $ac_status); }; }; then
 
24753
 
 
24754
nonblock="ioctlsocket"
 
24755
 
 
24756
cat >>confdefs.h <<\_ACEOF
 
24757
#define HAVE_IOCTLSOCKET 1
 
24758
_ACEOF
 
24759
 
 
24760
 
 
24761
else
 
24762
  echo "$as_me: failed program was:" >&5
 
24763
sed 's/^/| /' conftest.$ac_ext >&5
 
24764
 
 
24765
 
 
24766
 
 
24767
  cat >conftest.$ac_ext <<_ACEOF
 
24768
/* confdefs.h.  */
 
24769
_ACEOF
 
24770
cat confdefs.h >>conftest.$ac_ext
 
24771
cat >>conftest.$ac_ext <<_ACEOF
 
24772
/* end confdefs.h.  */
 
24773
 
 
24774
/* headers for IoctlSocket test (Amiga?) */
 
24775
#include <sys/ioctl.h>
 
24776
 
 
24777
int
 
24778
main ()
 
24779
{
 
24780
 
 
24781
/* IoctlSocket source code */
 
24782
 int socket;
 
24783
 int flags = IoctlSocket(socket, FIONBIO, (long)1);
 
24784
 
 
24785
  ;
 
24786
  return 0;
 
24787
}
 
24788
_ACEOF
 
24789
rm -f conftest.$ac_objext conftest$ac_exeext
 
24790
if { (ac_try="$ac_link"
 
24791
case "(($ac_try" in
 
24792
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24793
  *) ac_try_echo=$ac_try;;
 
24794
esac
 
24795
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24796
  (eval "$ac_link") 2>conftest.er1
 
24797
  ac_status=$?
 
24798
  grep -v '^ *+' conftest.er1 >conftest.err
 
24799
  rm -f conftest.er1
 
24800
  cat conftest.err >&5
 
24801
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24802
  (exit $ac_status); } &&
 
24803
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
24804
  { (case "(($ac_try" in
 
24805
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24806
  *) ac_try_echo=$ac_try;;
 
24807
esac
 
24808
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24809
  (eval "$ac_try") 2>&5
 
24810
  ac_status=$?
 
24811
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24812
  (exit $ac_status); }; } &&
 
24813
         { ac_try='test -s conftest$ac_exeext'
 
24814
  { (case "(($ac_try" in
 
24815
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24816
  *) ac_try_echo=$ac_try;;
 
24817
esac
 
24818
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24819
  (eval "$ac_try") 2>&5
 
24820
  ac_status=$?
 
24821
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24822
  (exit $ac_status); }; }; then
 
24823
 
 
24824
nonblock="IoctlSocket"
 
24825
 
 
24826
cat >>confdefs.h <<\_ACEOF
 
24827
#define HAVE_IOCTLSOCKET_CASE 1
 
24828
_ACEOF
 
24829
 
 
24830
 
 
24831
else
 
24832
  echo "$as_me: failed program was:" >&5
 
24833
sed 's/^/| /' conftest.$ac_ext >&5
 
24834
 
 
24835
 
 
24836
  cat >conftest.$ac_ext <<_ACEOF
 
24837
/* confdefs.h.  */
 
24838
_ACEOF
 
24839
cat confdefs.h >>conftest.$ac_ext
 
24840
cat >>conftest.$ac_ext <<_ACEOF
 
24841
/* end confdefs.h.  */
 
24842
 
 
24843
/* headers for SO_NONBLOCK test (BeOS) */
 
24844
#include <socket.h>
 
24845
 
 
24846
int
 
24847
main ()
 
24848
{
 
24849
 
 
24850
/* SO_NONBLOCK source code */
 
24851
 long b = 1;
 
24852
 int socket;
 
24853
 int flags = setsockopt(socket, SOL_SOCKET, SO_NONBLOCK, &b, sizeof(b));
 
24854
 
 
24855
  ;
 
24856
  return 0;
 
24857
}
 
24858
_ACEOF
 
24859
rm -f conftest.$ac_objext
 
24860
if { (ac_try="$ac_compile"
 
24861
case "(($ac_try" in
 
24862
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24863
  *) ac_try_echo=$ac_try;;
 
24864
esac
 
24865
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24866
  (eval "$ac_compile") 2>conftest.er1
 
24867
  ac_status=$?
 
24868
  grep -v '^ *+' conftest.er1 >conftest.err
 
24869
  rm -f conftest.er1
 
24870
  cat conftest.err >&5
 
24871
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24872
  (exit $ac_status); } &&
 
24873
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
24874
  { (case "(($ac_try" in
 
24875
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24876
  *) ac_try_echo=$ac_try;;
 
24877
esac
 
24878
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24879
  (eval "$ac_try") 2>&5
 
24880
  ac_status=$?
 
24881
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24882
  (exit $ac_status); }; } &&
 
24883
         { ac_try='test -s conftest.$ac_objext'
 
24884
  { (case "(($ac_try" in
 
24885
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24886
  *) ac_try_echo=$ac_try;;
 
24887
esac
 
24888
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24889
  (eval "$ac_try") 2>&5
 
24890
  ac_status=$?
 
24891
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24892
  (exit $ac_status); }; }; then
 
24893
 
 
24894
nonblock="SO_NONBLOCK"
 
24895
 
 
24896
cat >>confdefs.h <<\_ACEOF
 
24897
#define HAVE_SO_NONBLOCK 1
 
24898
_ACEOF
 
24899
 
 
24900
 
 
24901
else
 
24902
  echo "$as_me: failed program was:" >&5
 
24903
sed 's/^/| /' conftest.$ac_ext >&5
 
24904
 
 
24905
 
 
24906
nonblock="nada"
 
24907
 
 
24908
cat >>confdefs.h <<\_ACEOF
 
24909
#define HAVE_DISABLED_NONBLOCKING 1
 
24910
_ACEOF
 
24911
 
 
24912
 
 
24913
fi
 
24914
 
 
24915
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24916
 
 
24917
 
 
24918
fi
 
24919
 
 
24920
rm -f conftest.err conftest.$ac_objext \
 
24921
      conftest$ac_exeext conftest.$ac_ext
 
24922
 
 
24923
 
 
24924
fi
 
24925
 
 
24926
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24927
 
 
24928
 
 
24929
fi
 
24930
 
 
24931
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24932
 
 
24933
 
 
24934
fi
 
24935
 
 
24936
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24937
  { echo "$as_me:$LINENO: result: $nonblock" >&5
 
24938
echo "${ECHO_T}$nonblock" >&6; }
 
24939
 
 
24940
  if test "$nonblock" = "nada"; then
 
24941
    { echo "$as_me:$LINENO: WARNING: non-block sockets disabled" >&5
 
24942
echo "$as_me: WARNING: non-block sockets disabled" >&2;}
 
24943
  fi
 
24944
 
 
24945
 
 
24946
fi
 
24947
 
 
24948
 
 
24949
 
 
24950
{ echo "$as_me:$LINENO: checking if argv can be written to" >&5
 
24951
echo $ECHO_N "checking if argv can be written to... $ECHO_C" >&6; }
23934
24952
if test "${curl_cv_writable_argv+set}" = set; then
23935
24953
  echo $ECHO_N "(cached) $ECHO_C" >&6
23936
24954
else
23947
24965
 
23948
24966
_ACEOF
23949
24967
rm -f conftest$ac_exeext
23950
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23951
 
  (eval $ac_link) 2>&5
 
24968
if { (ac_try="$ac_link"
 
24969
case "(($ac_try" in
 
24970
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24971
  *) ac_try_echo=$ac_try;;
 
24972
esac
 
24973
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24974
  (eval "$ac_link") 2>&5
23952
24975
  ac_status=$?
23953
24976
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23954
24977
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23955
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23956
 
  (eval $ac_try) 2>&5
 
24978
  { (case "(($ac_try" in
 
24979
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24980
  *) ac_try_echo=$ac_try;;
 
24981
esac
 
24982
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24983
  (eval "$ac_try") 2>&5
23957
24984
  ac_status=$?
23958
24985
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23959
24986
  (exit $ac_status); }; }; then
23966
24993
( exit $ac_status )
23967
24994
curl_cv_writable_argv=no
23968
24995
fi
23969
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
24996
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23970
24997
fi
 
24998
 
 
24999
 
23971
25000
 
23972
25001
fi
23973
25002
 
23978
25007
#define HAVE_WRITABLE_ARGV 1
23979
25008
_ACEOF
23980
25009
 
23981
 
        echo "$as_me:$LINENO: result: yes" >&5
23982
 
echo "${ECHO_T}yes" >&6
 
25010
        { echo "$as_me:$LINENO: result: yes" >&5
 
25011
echo "${ECHO_T}yes" >&6; }
23983
25012
        ;;
23984
25013
no)
23985
 
        echo "$as_me:$LINENO: result: no" >&5
23986
 
echo "${ECHO_T}no" >&6
 
25014
        { echo "$as_me:$LINENO: result: no" >&5
 
25015
echo "${ECHO_T}no" >&6; }
23987
25016
        ;;
23988
25017
*)
23989
 
        echo "$as_me:$LINENO: result: no" >&5
23990
 
echo "${ECHO_T}no" >&6
 
25018
        { echo "$as_me:$LINENO: result: no" >&5
 
25019
echo "${ECHO_T}no" >&6; }
23991
25020
        { echo "$as_me:$LINENO: WARNING: the previous check could not be made default was used" >&5
23992
25021
echo "$as_me: WARNING: the previous check could not be made default was used" >&2;}
23993
25022
        ;;
23995
25024
 
23996
25025
 
23997
25026
 
23998
 
# Check whether --with-krb4-includes or --without-krb4-includes was given.
 
25027
# Check whether --with-krb4-includes was given.
23999
25028
if test "${with_krb4_includes+set}" = set; then
24000
 
  withval="$with_krb4_includes"
24001
 
 
 
25029
  withval=$with_krb4_includes;
24002
25030
 CPPFLAGS="$CPPFLAGS -I$withval"
24003
25031
 KRB4INC="$withval"
24004
25032
 want_krb4=yes
24005
25033
 
24006
 
fi;
24007
 
 
24008
 
 
24009
 
# Check whether --with-krb4-libs or --without-krb4-libs was given.
 
25034
fi
 
25035
 
 
25036
 
 
25037
 
 
25038
# Check whether --with-krb4-libs was given.
24010
25039
if test "${with_krb4_libs+set}" = set; then
24011
 
  withval="$with_krb4_libs"
24012
 
 
 
25040
  withval=$with_krb4_libs;
24013
25041
 LDFLAGS="$LDFLAGS -L$withval"
24014
25042
 KRB4LIB="$withval"
24015
25043
 want_krb4=yes
24016
25044
 
24017
 
fi;
 
25045
fi
 
25046
 
24018
25047
 
24019
25048
 
24020
25049
OPT_KRB4=off
24021
25050
 
24022
 
# Check whether --with-krb4 or --without-krb4 was given.
 
25051
# Check whether --with-krb4 was given.
24023
25052
if test "${with_krb4+set}" = set; then
24024
 
  withval="$with_krb4"
24025
 
 
 
25053
  withval=$with_krb4;
24026
25054
  OPT_KRB4="$withval"
24027
25055
  if test X"$OPT_KRB4" != Xno; then
24028
25056
    want_krb4="yes"
24034
25062
    fi
24035
25063
  fi
24036
25064
 
24037
 
fi;
24038
 
 
24039
 
echo "$as_me:$LINENO: checking if Kerberos4 support is requested" >&5
24040
 
echo $ECHO_N "checking if Kerberos4 support is requested... $ECHO_C" >&6
 
25065
fi
 
25066
 
 
25067
 
 
25068
{ echo "$as_me:$LINENO: checking if Kerberos4 support is requested" >&5
 
25069
echo $ECHO_N "checking if Kerberos4 support is requested... $ECHO_C" >&6; }
24041
25070
 
24042
25071
if test "$want_krb4" = yes
24043
25072
then
24045
25074
    echo krb4 is not compatible with IPv6
24046
25075
    exit 1
24047
25076
  fi
24048
 
  echo "$as_me:$LINENO: result: yes" >&5
24049
 
echo "${ECHO_T}yes" >&6
24050
 
 
24051
 
 
24052
 
  echo "$as_me:$LINENO: checking where to look for Kerberos4" >&5
24053
 
echo $ECHO_N "checking where to look for Kerberos4... $ECHO_C" >&6
 
25077
  { echo "$as_me:$LINENO: result: yes" >&5
 
25078
echo "${ECHO_T}yes" >&6; }
 
25079
 
 
25080
 
 
25081
  { echo "$as_me:$LINENO: checking where to look for Kerberos4" >&5
 
25082
echo $ECHO_N "checking where to look for Kerberos4... $ECHO_C" >&6; }
24054
25083
  if test X"$OPT_KRB4" = Xyes
24055
25084
  then
24056
 
    echo "$as_me:$LINENO: result: defaults" >&5
24057
 
echo "${ECHO_T}defaults" >&6
 
25085
    { echo "$as_me:$LINENO: result: defaults" >&5
 
25086
echo "${ECHO_T}defaults" >&6; }
24058
25087
  else
24059
 
    echo "$as_me:$LINENO: result: libs in $KRB4LIB, headers in $KRB4INC" >&5
24060
 
echo "${ECHO_T}libs in $KRB4LIB, headers in $KRB4INC" >&6
 
25088
    { echo "$as_me:$LINENO: result: libs in $KRB4LIB, headers in $KRB4INC" >&5
 
25089
echo "${ECHO_T}libs in $KRB4LIB, headers in $KRB4INC" >&6; }
24061
25090
  fi
24062
25091
 
24063
 
    echo "$as_me:$LINENO: checking for des_pcbc_encrypt in -ldes" >&5
24064
 
echo $ECHO_N "checking for des_pcbc_encrypt in -ldes... $ECHO_C" >&6
 
25092
    { echo "$as_me:$LINENO: checking for des_pcbc_encrypt in -ldes" >&5
 
25093
echo $ECHO_N "checking for des_pcbc_encrypt in -ldes... $ECHO_C" >&6; }
24065
25094
if test "${ac_cv_lib_des_des_pcbc_encrypt+set}" = set; then
24066
25095
  echo $ECHO_N "(cached) $ECHO_C" >&6
24067
25096
else
24074
25103
cat >>conftest.$ac_ext <<_ACEOF
24075
25104
/* end confdefs.h.  */
24076
25105
 
24077
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25106
/* Override any GCC internal prototype to avoid an error.
 
25107
   Use char because int might match the return type of a GCC
 
25108
   builtin and then its argument prototype would still apply.  */
24078
25109
#ifdef __cplusplus
24079
25110
extern "C"
24080
25111
#endif
24081
 
/* We use char because int might match the return type of a gcc2
24082
 
   builtin and then its argument prototype would still apply.  */
24083
25112
char des_pcbc_encrypt ();
24084
25113
int
24085
25114
main ()
24086
25115
{
24087
 
des_pcbc_encrypt ();
 
25116
return des_pcbc_encrypt ();
24088
25117
  ;
24089
25118
  return 0;
24090
25119
}
24091
25120
_ACEOF
24092
25121
rm -f conftest.$ac_objext conftest$ac_exeext
24093
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24094
 
  (eval $ac_link) 2>conftest.er1
 
25122
if { (ac_try="$ac_link"
 
25123
case "(($ac_try" in
 
25124
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25125
  *) ac_try_echo=$ac_try;;
 
25126
esac
 
25127
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25128
  (eval "$ac_link") 2>conftest.er1
24095
25129
  ac_status=$?
24096
25130
  grep -v '^ *+' conftest.er1 >conftest.err
24097
25131
  rm -f conftest.er1
24098
25132
  cat conftest.err >&5
24099
25133
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24100
25134
  (exit $ac_status); } &&
24101
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
24102
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24103
 
  (eval $ac_try) 2>&5
 
25135
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
25136
  { (case "(($ac_try" in
 
25137
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25138
  *) ac_try_echo=$ac_try;;
 
25139
esac
 
25140
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25141
  (eval "$ac_try") 2>&5
24104
25142
  ac_status=$?
24105
25143
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24106
25144
  (exit $ac_status); }; } &&
24107
25145
         { ac_try='test -s conftest$ac_exeext'
24108
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24109
 
  (eval $ac_try) 2>&5
 
25146
  { (case "(($ac_try" in
 
25147
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25148
  *) ac_try_echo=$ac_try;;
 
25149
esac
 
25150
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25151
  (eval "$ac_try") 2>&5
24110
25152
  ac_status=$?
24111
25153
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24112
25154
  (exit $ac_status); }; }; then
24115
25157
  echo "$as_me: failed program was:" >&5
24116
25158
sed 's/^/| /' conftest.$ac_ext >&5
24117
25159
 
24118
 
ac_cv_lib_des_des_pcbc_encrypt=no
 
25160
        ac_cv_lib_des_des_pcbc_encrypt=no
24119
25161
fi
 
25162
 
24120
25163
rm -f conftest.err conftest.$ac_objext \
24121
25164
      conftest$ac_exeext conftest.$ac_ext
24122
25165
LIBS=$ac_check_lib_save_LIBS
24123
25166
fi
24124
 
echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_pcbc_encrypt" >&5
24125
 
echo "${ECHO_T}$ac_cv_lib_des_des_pcbc_encrypt" >&6
 
25167
{ echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_pcbc_encrypt" >&5
 
25168
echo "${ECHO_T}$ac_cv_lib_des_des_pcbc_encrypt" >&6; }
24126
25169
if test $ac_cv_lib_des_des_pcbc_encrypt = yes; then
24127
25170
 
24128
25171
 
24129
25172
for ac_header in des.h
24130
25173
do
24131
25174
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24132
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
24133
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
24134
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24135
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
25175
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
25176
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
25177
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
25178
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24136
25179
  echo $ECHO_N "(cached) $ECHO_C" >&6
24137
25180
fi
24138
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24139
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
25181
ac_res=`eval echo '${'$as_ac_Header'}'`
 
25182
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
25183
echo "${ECHO_T}$ac_res" >&6; }
24140
25184
else
24141
25185
  # Is the header compilable?
24142
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
24143
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
25186
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
25187
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24144
25188
cat >conftest.$ac_ext <<_ACEOF
24145
25189
/* confdefs.h.  */
24146
25190
_ACEOF
24151
25195
#include <$ac_header>
24152
25196
_ACEOF
24153
25197
rm -f conftest.$ac_objext
24154
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24155
 
  (eval $ac_compile) 2>conftest.er1
 
25198
if { (ac_try="$ac_compile"
 
25199
case "(($ac_try" in
 
25200
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25201
  *) ac_try_echo=$ac_try;;
 
25202
esac
 
25203
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25204
  (eval "$ac_compile") 2>conftest.er1
24156
25205
  ac_status=$?
24157
25206
  grep -v '^ *+' conftest.er1 >conftest.err
24158
25207
  rm -f conftest.er1
24159
25208
  cat conftest.err >&5
24160
25209
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24161
25210
  (exit $ac_status); } &&
24162
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
24163
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24164
 
  (eval $ac_try) 2>&5
 
25211
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
25212
  { (case "(($ac_try" in
 
25213
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25214
  *) ac_try_echo=$ac_try;;
 
25215
esac
 
25216
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25217
  (eval "$ac_try") 2>&5
24165
25218
  ac_status=$?
24166
25219
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24167
25220
  (exit $ac_status); }; } &&
24168
25221
         { ac_try='test -s conftest.$ac_objext'
24169
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24170
 
  (eval $ac_try) 2>&5
 
25222
  { (case "(($ac_try" in
 
25223
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25224
  *) ac_try_echo=$ac_try;;
 
25225
esac
 
25226
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25227
  (eval "$ac_try") 2>&5
24171
25228
  ac_status=$?
24172
25229
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24173
25230
  (exit $ac_status); }; }; then
24176
25233
  echo "$as_me: failed program was:" >&5
24177
25234
sed 's/^/| /' conftest.$ac_ext >&5
24178
25235
 
24179
 
ac_header_compiler=no
 
25236
        ac_header_compiler=no
24180
25237
fi
 
25238
 
24181
25239
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24182
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24183
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
25240
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
25241
echo "${ECHO_T}$ac_header_compiler" >&6; }
24184
25242
 
24185
25243
# Is the header present?
24186
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
24187
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
25244
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
25245
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24188
25246
cat >conftest.$ac_ext <<_ACEOF
24189
25247
/* confdefs.h.  */
24190
25248
_ACEOF
24193
25251
/* end confdefs.h.  */
24194
25252
#include <$ac_header>
24195
25253
_ACEOF
24196
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24197
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
25254
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
25255
case "(($ac_try" in
 
25256
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25257
  *) ac_try_echo=$ac_try;;
 
25258
esac
 
25259
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25260
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24198
25261
  ac_status=$?
24199
25262
  grep -v '^ *+' conftest.er1 >conftest.err
24200
25263
  rm -f conftest.er1
24218
25281
 
24219
25282
  ac_header_preproc=no
24220
25283
fi
 
25284
 
24221
25285
rm -f conftest.err conftest.$ac_ext
24222
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24223
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
25286
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
25287
echo "${ECHO_T}$ac_header_preproc" >&6; }
24224
25288
 
24225
25289
# So?  What about this header?
24226
25290
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24244
25308
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24245
25309
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24246
25310
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24247
 
    (
24248
 
      cat <<\_ASBOX
 
25311
    ( cat <<\_ASBOX
24249
25312
## ------------------------------------------------------------------------ ##
24250
25313
## Report this to a suitable curl mailing list => http://curl.haxx.se/mail/ ##
24251
25314
## ------------------------------------------------------------------------ ##
24252
25315
_ASBOX
24253
 
    ) |
24254
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
25316
     ) | sed "s/^/$as_me: WARNING:     /" >&2
24255
25317
    ;;
24256
25318
esac
24257
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
24258
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24259
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
25319
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
25320
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
25321
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24260
25322
  echo $ECHO_N "(cached) $ECHO_C" >&6
24261
25323
else
24262
25324
  eval "$as_ac_Header=\$ac_header_preproc"
24263
25325
fi
24264
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24265
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
25326
ac_res=`eval echo '${'$as_ac_Header'}'`
 
25327
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
25328
echo "${ECHO_T}$ac_res" >&6; }
24266
25329
 
24267
25330
fi
24268
25331
if test `eval echo '${'$as_ac_Header'}'` = yes; then
24275
25338
done
24276
25339
 
24277
25340
 
24278
 
        echo "$as_me:$LINENO: checking for res_search" >&5
24279
 
echo $ECHO_N "checking for res_search... $ECHO_C" >&6
 
25341
        { echo "$as_me:$LINENO: checking for res_search" >&5
 
25342
echo $ECHO_N "checking for res_search... $ECHO_C" >&6; }
24280
25343
if test "${ac_cv_func_res_search+set}" = set; then
24281
25344
  echo $ECHO_N "(cached) $ECHO_C" >&6
24282
25345
else
24303
25366
 
24304
25367
#undef res_search
24305
25368
 
24306
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25369
/* Override any GCC internal prototype to avoid an error.
 
25370
   Use char because int might match the return type of a GCC
 
25371
   builtin and then its argument prototype would still apply.  */
24307
25372
#ifdef __cplusplus
24308
25373
extern "C"
24309
 
{
24310
25374
#endif
24311
 
/* We use char because int might match the return type of a gcc2
24312
 
   builtin and then its argument prototype would still apply.  */
24313
25375
char res_search ();
24314
25376
/* The GNU C library defines this for functions which it implements
24315
25377
    to always fail with ENOSYS.  Some functions are actually named
24316
25378
    something starting with __ and the normal name is an alias.  */
24317
 
#if defined (__stub_res_search) || defined (__stub___res_search)
 
25379
#if defined __stub_res_search || defined __stub___res_search
24318
25380
choke me
24319
 
#else
24320
 
char (*f) () = res_search;
24321
 
#endif
24322
 
#ifdef __cplusplus
24323
 
}
24324
25381
#endif
24325
25382
 
24326
25383
int
24327
25384
main ()
24328
25385
{
24329
 
return f != res_search;
 
25386
return res_search ();
24330
25387
  ;
24331
25388
  return 0;
24332
25389
}
24333
25390
_ACEOF
24334
25391
rm -f conftest.$ac_objext conftest$ac_exeext
24335
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24336
 
  (eval $ac_link) 2>conftest.er1
 
25392
if { (ac_try="$ac_link"
 
25393
case "(($ac_try" in
 
25394
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25395
  *) ac_try_echo=$ac_try;;
 
25396
esac
 
25397
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25398
  (eval "$ac_link") 2>conftest.er1
24337
25399
  ac_status=$?
24338
25400
  grep -v '^ *+' conftest.er1 >conftest.err
24339
25401
  rm -f conftest.er1
24340
25402
  cat conftest.err >&5
24341
25403
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24342
25404
  (exit $ac_status); } &&
24343
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
24344
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24345
 
  (eval $ac_try) 2>&5
 
25405
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
25406
  { (case "(($ac_try" in
 
25407
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25408
  *) ac_try_echo=$ac_try;;
 
25409
esac
 
25410
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25411
  (eval "$ac_try") 2>&5
24346
25412
  ac_status=$?
24347
25413
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24348
25414
  (exit $ac_status); }; } &&
24349
25415
         { ac_try='test -s conftest$ac_exeext'
24350
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24351
 
  (eval $ac_try) 2>&5
 
25416
  { (case "(($ac_try" in
 
25417
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25418
  *) ac_try_echo=$ac_try;;
 
25419
esac
 
25420
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25421
  (eval "$ac_try") 2>&5
24352
25422
  ac_status=$?
24353
25423
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24354
25424
  (exit $ac_status); }; }; then
24357
25427
  echo "$as_me: failed program was:" >&5
24358
25428
sed 's/^/| /' conftest.$ac_ext >&5
24359
25429
 
24360
 
ac_cv_func_res_search=no
 
25430
        ac_cv_func_res_search=no
24361
25431
fi
 
25432
 
24362
25433
rm -f conftest.err conftest.$ac_objext \
24363
25434
      conftest$ac_exeext conftest.$ac_ext
24364
25435
fi
24365
 
echo "$as_me:$LINENO: result: $ac_cv_func_res_search" >&5
24366
 
echo "${ECHO_T}$ac_cv_func_res_search" >&6
 
25436
{ echo "$as_me:$LINENO: result: $ac_cv_func_res_search" >&5
 
25437
echo "${ECHO_T}$ac_cv_func_res_search" >&6; }
24367
25438
if test $ac_cv_func_res_search = yes; then
24368
25439
  :
24369
25440
else
24370
25441
 
24371
 
echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5
24372
 
echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6
 
25442
{ echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5
 
25443
echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6; }
24373
25444
if test "${ac_cv_lib_resolv_res_search+set}" = set; then
24374
25445
  echo $ECHO_N "(cached) $ECHO_C" >&6
24375
25446
else
24382
25453
cat >>conftest.$ac_ext <<_ACEOF
24383
25454
/* end confdefs.h.  */
24384
25455
 
24385
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25456
/* Override any GCC internal prototype to avoid an error.
 
25457
   Use char because int might match the return type of a GCC
 
25458
   builtin and then its argument prototype would still apply.  */
24386
25459
#ifdef __cplusplus
24387
25460
extern "C"
24388
25461
#endif
24389
 
/* We use char because int might match the return type of a gcc2
24390
 
   builtin and then its argument prototype would still apply.  */
24391
25462
char res_search ();
24392
25463
int
24393
25464
main ()
24394
25465
{
24395
 
res_search ();
 
25466
return res_search ();
24396
25467
  ;
24397
25468
  return 0;
24398
25469
}
24399
25470
_ACEOF
24400
25471
rm -f conftest.$ac_objext conftest$ac_exeext
24401
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24402
 
  (eval $ac_link) 2>conftest.er1
 
25472
if { (ac_try="$ac_link"
 
25473
case "(($ac_try" in
 
25474
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25475
  *) ac_try_echo=$ac_try;;
 
25476
esac
 
25477
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25478
  (eval "$ac_link") 2>conftest.er1
24403
25479
  ac_status=$?
24404
25480
  grep -v '^ *+' conftest.er1 >conftest.err
24405
25481
  rm -f conftest.er1
24406
25482
  cat conftest.err >&5
24407
25483
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24408
25484
  (exit $ac_status); } &&
24409
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
24410
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24411
 
  (eval $ac_try) 2>&5
 
25485
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
25486
  { (case "(($ac_try" in
 
25487
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25488
  *) ac_try_echo=$ac_try;;
 
25489
esac
 
25490
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25491
  (eval "$ac_try") 2>&5
24412
25492
  ac_status=$?
24413
25493
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24414
25494
  (exit $ac_status); }; } &&
24415
25495
         { ac_try='test -s conftest$ac_exeext'
24416
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24417
 
  (eval $ac_try) 2>&5
 
25496
  { (case "(($ac_try" in
 
25497
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25498
  *) ac_try_echo=$ac_try;;
 
25499
esac
 
25500
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25501
  (eval "$ac_try") 2>&5
24418
25502
  ac_status=$?
24419
25503
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24420
25504
  (exit $ac_status); }; }; then
24423
25507
  echo "$as_me: failed program was:" >&5
24424
25508
sed 's/^/| /' conftest.$ac_ext >&5
24425
25509
 
24426
 
ac_cv_lib_resolv_res_search=no
 
25510
        ac_cv_lib_resolv_res_search=no
24427
25511
fi
 
25512
 
24428
25513
rm -f conftest.err conftest.$ac_objext \
24429
25514
      conftest$ac_exeext conftest.$ac_ext
24430
25515
LIBS=$ac_check_lib_save_LIBS
24431
25516
fi
24432
 
echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5
24433
 
echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6
 
25517
{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5
 
25518
echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6; }
24434
25519
if test $ac_cv_lib_resolv_res_search = yes; then
24435
25520
  cat >>confdefs.h <<_ACEOF
24436
25521
#define HAVE_LIBRESOLV 1
24443
25528
fi
24444
25529
 
24445
25530
 
24446
 
        echo "$as_me:$LINENO: checking for krb_net_read in -lkrb" >&5
24447
 
echo $ECHO_N "checking for krb_net_read in -lkrb... $ECHO_C" >&6
 
25531
        { echo "$as_me:$LINENO: checking for krb_net_read in -lkrb" >&5
 
25532
echo $ECHO_N "checking for krb_net_read in -lkrb... $ECHO_C" >&6; }
24448
25533
if test "${ac_cv_lib_krb_krb_net_read+set}" = set; then
24449
25534
  echo $ECHO_N "(cached) $ECHO_C" >&6
24450
25535
else
24457
25542
cat >>conftest.$ac_ext <<_ACEOF
24458
25543
/* end confdefs.h.  */
24459
25544
 
24460
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25545
/* Override any GCC internal prototype to avoid an error.
 
25546
   Use char because int might match the return type of a GCC
 
25547
   builtin and then its argument prototype would still apply.  */
24461
25548
#ifdef __cplusplus
24462
25549
extern "C"
24463
25550
#endif
24464
 
/* We use char because int might match the return type of a gcc2
24465
 
   builtin and then its argument prototype would still apply.  */
24466
25551
char krb_net_read ();
24467
25552
int
24468
25553
main ()
24469
25554
{
24470
 
krb_net_read ();
 
25555
return krb_net_read ();
24471
25556
  ;
24472
25557
  return 0;
24473
25558
}
24474
25559
_ACEOF
24475
25560
rm -f conftest.$ac_objext conftest$ac_exeext
24476
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24477
 
  (eval $ac_link) 2>conftest.er1
 
25561
if { (ac_try="$ac_link"
 
25562
case "(($ac_try" in
 
25563
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25564
  *) ac_try_echo=$ac_try;;
 
25565
esac
 
25566
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25567
  (eval "$ac_link") 2>conftest.er1
24478
25568
  ac_status=$?
24479
25569
  grep -v '^ *+' conftest.er1 >conftest.err
24480
25570
  rm -f conftest.er1
24481
25571
  cat conftest.err >&5
24482
25572
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24483
25573
  (exit $ac_status); } &&
24484
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
24485
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24486
 
  (eval $ac_try) 2>&5
 
25574
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
25575
  { (case "(($ac_try" in
 
25576
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25577
  *) ac_try_echo=$ac_try;;
 
25578
esac
 
25579
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25580
  (eval "$ac_try") 2>&5
24487
25581
  ac_status=$?
24488
25582
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24489
25583
  (exit $ac_status); }; } &&
24490
25584
         { ac_try='test -s conftest$ac_exeext'
24491
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24492
 
  (eval $ac_try) 2>&5
 
25585
  { (case "(($ac_try" in
 
25586
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25587
  *) ac_try_echo=$ac_try;;
 
25588
esac
 
25589
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25590
  (eval "$ac_try") 2>&5
24493
25591
  ac_status=$?
24494
25592
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24495
25593
  (exit $ac_status); }; }; then
24498
25596
  echo "$as_me: failed program was:" >&5
24499
25597
sed 's/^/| /' conftest.$ac_ext >&5
24500
25598
 
24501
 
ac_cv_lib_krb_krb_net_read=no
 
25599
        ac_cv_lib_krb_krb_net_read=no
24502
25600
fi
 
25601
 
24503
25602
rm -f conftest.err conftest.$ac_objext \
24504
25603
      conftest$ac_exeext conftest.$ac_ext
24505
25604
LIBS=$ac_check_lib_save_LIBS
24506
25605
fi
24507
 
echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_net_read" >&5
24508
 
echo "${ECHO_T}$ac_cv_lib_krb_krb_net_read" >&6
 
25606
{ echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_net_read" >&5
 
25607
echo "${ECHO_T}$ac_cv_lib_krb_krb_net_read" >&6; }
24509
25608
if test $ac_cv_lib_krb_krb_net_read = yes; then
24510
25609
 
24511
25610
 
24512
25611
for ac_header in krb.h
24513
25612
do
24514
25613
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24515
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
24516
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
24517
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24518
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
25614
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
25615
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
25616
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
25617
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24519
25618
  echo $ECHO_N "(cached) $ECHO_C" >&6
24520
25619
fi
24521
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24522
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
25620
ac_res=`eval echo '${'$as_ac_Header'}'`
 
25621
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
25622
echo "${ECHO_T}$ac_res" >&6; }
24523
25623
else
24524
25624
  # Is the header compilable?
24525
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
24526
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
25625
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
25626
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24527
25627
cat >conftest.$ac_ext <<_ACEOF
24528
25628
/* confdefs.h.  */
24529
25629
_ACEOF
24534
25634
#include <$ac_header>
24535
25635
_ACEOF
24536
25636
rm -f conftest.$ac_objext
24537
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24538
 
  (eval $ac_compile) 2>conftest.er1
 
25637
if { (ac_try="$ac_compile"
 
25638
case "(($ac_try" in
 
25639
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25640
  *) ac_try_echo=$ac_try;;
 
25641
esac
 
25642
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25643
  (eval "$ac_compile") 2>conftest.er1
24539
25644
  ac_status=$?
24540
25645
  grep -v '^ *+' conftest.er1 >conftest.err
24541
25646
  rm -f conftest.er1
24542
25647
  cat conftest.err >&5
24543
25648
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24544
25649
  (exit $ac_status); } &&
24545
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
24546
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24547
 
  (eval $ac_try) 2>&5
 
25650
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
25651
  { (case "(($ac_try" in
 
25652
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25653
  *) ac_try_echo=$ac_try;;
 
25654
esac
 
25655
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25656
  (eval "$ac_try") 2>&5
24548
25657
  ac_status=$?
24549
25658
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24550
25659
  (exit $ac_status); }; } &&
24551
25660
         { ac_try='test -s conftest.$ac_objext'
24552
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24553
 
  (eval $ac_try) 2>&5
 
25661
  { (case "(($ac_try" in
 
25662
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25663
  *) ac_try_echo=$ac_try;;
 
25664
esac
 
25665
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25666
  (eval "$ac_try") 2>&5
24554
25667
  ac_status=$?
24555
25668
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24556
25669
  (exit $ac_status); }; }; then
24559
25672
  echo "$as_me: failed program was:" >&5
24560
25673
sed 's/^/| /' conftest.$ac_ext >&5
24561
25674
 
24562
 
ac_header_compiler=no
 
25675
        ac_header_compiler=no
24563
25676
fi
 
25677
 
24564
25678
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24565
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24566
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
25679
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
25680
echo "${ECHO_T}$ac_header_compiler" >&6; }
24567
25681
 
24568
25682
# Is the header present?
24569
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
24570
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
25683
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
25684
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24571
25685
cat >conftest.$ac_ext <<_ACEOF
24572
25686
/* confdefs.h.  */
24573
25687
_ACEOF
24576
25690
/* end confdefs.h.  */
24577
25691
#include <$ac_header>
24578
25692
_ACEOF
24579
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24580
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
25693
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
25694
case "(($ac_try" in
 
25695
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25696
  *) ac_try_echo=$ac_try;;
 
25697
esac
 
25698
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25699
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24581
25700
  ac_status=$?
24582
25701
  grep -v '^ *+' conftest.er1 >conftest.err
24583
25702
  rm -f conftest.er1
24601
25720
 
24602
25721
  ac_header_preproc=no
24603
25722
fi
 
25723
 
24604
25724
rm -f conftest.err conftest.$ac_ext
24605
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24606
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
25725
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
25726
echo "${ECHO_T}$ac_header_preproc" >&6; }
24607
25727
 
24608
25728
# So?  What about this header?
24609
25729
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24627
25747
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24628
25748
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24629
25749
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24630
 
    (
24631
 
      cat <<\_ASBOX
 
25750
    ( cat <<\_ASBOX
24632
25751
## ------------------------------------------------------------------------ ##
24633
25752
## Report this to a suitable curl mailing list => http://curl.haxx.se/mail/ ##
24634
25753
## ------------------------------------------------------------------------ ##
24635
25754
_ASBOX
24636
 
    ) |
24637
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
25755
     ) | sed "s/^/$as_me: WARNING:     /" >&2
24638
25756
    ;;
24639
25757
esac
24640
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
24641
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24642
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
25758
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
25759
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
25760
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24643
25761
  echo $ECHO_N "(cached) $ECHO_C" >&6
24644
25762
else
24645
25763
  eval "$as_ac_Header=\$ac_header_preproc"
24646
25764
fi
24647
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24648
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
25765
ac_res=`eval echo '${'$as_ac_Header'}'`
 
25766
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
25767
echo "${ECHO_T}$ac_res" >&6; }
24649
25768
 
24650
25769
fi
24651
25770
if test `eval echo '${'$as_ac_Header'}'` = yes; then
24664
25783
for ac_func in krb_get_our_ip_for_realm
24665
25784
do
24666
25785
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24667
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
24668
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24669
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
25786
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
25787
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
25788
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24670
25789
  echo $ECHO_N "(cached) $ECHO_C" >&6
24671
25790
else
24672
25791
  cat >conftest.$ac_ext <<_ACEOF
24692
25811
 
24693
25812
#undef $ac_func
24694
25813
 
24695
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25814
/* Override any GCC internal prototype to avoid an error.
 
25815
   Use char because int might match the return type of a GCC
 
25816
   builtin and then its argument prototype would still apply.  */
24696
25817
#ifdef __cplusplus
24697
25818
extern "C"
24698
 
{
24699
25819
#endif
24700
 
/* We use char because int might match the return type of a gcc2
24701
 
   builtin and then its argument prototype would still apply.  */
24702
25820
char $ac_func ();
24703
25821
/* The GNU C library defines this for functions which it implements
24704
25822
    to always fail with ENOSYS.  Some functions are actually named
24705
25823
    something starting with __ and the normal name is an alias.  */
24706
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
25824
#if defined __stub_$ac_func || defined __stub___$ac_func
24707
25825
choke me
24708
 
#else
24709
 
char (*f) () = $ac_func;
24710
 
#endif
24711
 
#ifdef __cplusplus
24712
 
}
24713
25826
#endif
24714
25827
 
24715
25828
int
24716
25829
main ()
24717
25830
{
24718
 
return f != $ac_func;
 
25831
return $ac_func ();
24719
25832
  ;
24720
25833
  return 0;
24721
25834
}
24722
25835
_ACEOF
24723
25836
rm -f conftest.$ac_objext conftest$ac_exeext
24724
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24725
 
  (eval $ac_link) 2>conftest.er1
 
25837
if { (ac_try="$ac_link"
 
25838
case "(($ac_try" in
 
25839
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25840
  *) ac_try_echo=$ac_try;;
 
25841
esac
 
25842
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25843
  (eval "$ac_link") 2>conftest.er1
24726
25844
  ac_status=$?
24727
25845
  grep -v '^ *+' conftest.er1 >conftest.err
24728
25846
  rm -f conftest.er1
24729
25847
  cat conftest.err >&5
24730
25848
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24731
25849
  (exit $ac_status); } &&
24732
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
24733
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24734
 
  (eval $ac_try) 2>&5
 
25850
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
25851
  { (case "(($ac_try" in
 
25852
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25853
  *) ac_try_echo=$ac_try;;
 
25854
esac
 
25855
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25856
  (eval "$ac_try") 2>&5
24735
25857
  ac_status=$?
24736
25858
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24737
25859
  (exit $ac_status); }; } &&
24738
25860
         { ac_try='test -s conftest$ac_exeext'
24739
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24740
 
  (eval $ac_try) 2>&5
 
25861
  { (case "(($ac_try" in
 
25862
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25863
  *) ac_try_echo=$ac_try;;
 
25864
esac
 
25865
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25866
  (eval "$ac_try") 2>&5
24741
25867
  ac_status=$?
24742
25868
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24743
25869
  (exit $ac_status); }; }; then
24746
25872
  echo "$as_me: failed program was:" >&5
24747
25873
sed 's/^/| /' conftest.$ac_ext >&5
24748
25874
 
24749
 
eval "$as_ac_var=no"
 
25875
        eval "$as_ac_var=no"
24750
25876
fi
 
25877
 
24751
25878
rm -f conftest.err conftest.$ac_objext \
24752
25879
      conftest$ac_exeext conftest.$ac_ext
24753
25880
fi
24754
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24755
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
25881
ac_res=`eval echo '${'$as_ac_var'}'`
 
25882
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
25883
echo "${ECHO_T}$ac_res" >&6; }
24756
25884
if test `eval echo '${'$as_ac_var'}'` = yes; then
24757
25885
  cat >>confdefs.h <<_ACEOF
24758
25886
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24777
25905
for ac_func in strlcpy
24778
25906
do
24779
25907
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24780
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
24781
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24782
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
25908
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
25909
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
25910
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24783
25911
  echo $ECHO_N "(cached) $ECHO_C" >&6
24784
25912
else
24785
25913
  cat >conftest.$ac_ext <<_ACEOF
24805
25933
 
24806
25934
#undef $ac_func
24807
25935
 
24808
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25936
/* Override any GCC internal prototype to avoid an error.
 
25937
   Use char because int might match the return type of a GCC
 
25938
   builtin and then its argument prototype would still apply.  */
24809
25939
#ifdef __cplusplus
24810
25940
extern "C"
24811
 
{
24812
25941
#endif
24813
 
/* We use char because int might match the return type of a gcc2
24814
 
   builtin and then its argument prototype would still apply.  */
24815
25942
char $ac_func ();
24816
25943
/* The GNU C library defines this for functions which it implements
24817
25944
    to always fail with ENOSYS.  Some functions are actually named
24818
25945
    something starting with __ and the normal name is an alias.  */
24819
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
25946
#if defined __stub_$ac_func || defined __stub___$ac_func
24820
25947
choke me
24821
 
#else
24822
 
char (*f) () = $ac_func;
24823
 
#endif
24824
 
#ifdef __cplusplus
24825
 
}
24826
25948
#endif
24827
25949
 
24828
25950
int
24829
25951
main ()
24830
25952
{
24831
 
return f != $ac_func;
 
25953
return $ac_func ();
24832
25954
  ;
24833
25955
  return 0;
24834
25956
}
24835
25957
_ACEOF
24836
25958
rm -f conftest.$ac_objext conftest$ac_exeext
24837
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24838
 
  (eval $ac_link) 2>conftest.er1
 
25959
if { (ac_try="$ac_link"
 
25960
case "(($ac_try" in
 
25961
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25962
  *) ac_try_echo=$ac_try;;
 
25963
esac
 
25964
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25965
  (eval "$ac_link") 2>conftest.er1
24839
25966
  ac_status=$?
24840
25967
  grep -v '^ *+' conftest.er1 >conftest.err
24841
25968
  rm -f conftest.er1
24842
25969
  cat conftest.err >&5
24843
25970
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24844
25971
  (exit $ac_status); } &&
24845
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
24846
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24847
 
  (eval $ac_try) 2>&5
 
25972
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
25973
  { (case "(($ac_try" in
 
25974
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25975
  *) ac_try_echo=$ac_try;;
 
25976
esac
 
25977
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25978
  (eval "$ac_try") 2>&5
24848
25979
  ac_status=$?
24849
25980
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24850
25981
  (exit $ac_status); }; } &&
24851
25982
         { ac_try='test -s conftest$ac_exeext'
24852
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24853
 
  (eval $ac_try) 2>&5
 
25983
  { (case "(($ac_try" in
 
25984
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25985
  *) ac_try_echo=$ac_try;;
 
25986
esac
 
25987
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25988
  (eval "$ac_try") 2>&5
24854
25989
  ac_status=$?
24855
25990
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24856
25991
  (exit $ac_status); }; }; then
24859
25994
  echo "$as_me: failed program was:" >&5
24860
25995
sed 's/^/| /' conftest.$ac_ext >&5
24861
25996
 
24862
 
eval "$as_ac_var=no"
 
25997
        eval "$as_ac_var=no"
24863
25998
fi
 
25999
 
24864
26000
rm -f conftest.err conftest.$ac_objext \
24865
26001
      conftest$ac_exeext conftest.$ac_ext
24866
26002
fi
24867
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24868
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
26003
ac_res=`eval echo '${'$as_ac_var'}'`
 
26004
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
26005
echo "${ECHO_T}$ac_res" >&6; }
24869
26006
if test `eval echo '${'$as_ac_var'}'` = yes; then
24870
26007
  cat >>confdefs.h <<_ACEOF
24871
26008
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24882
26019
fi
24883
26020
 
24884
26021
else
24885
 
  echo "$as_me:$LINENO: result: no" >&5
24886
 
echo "${ECHO_T}no" >&6
 
26022
  { echo "$as_me:$LINENO: result: no" >&5
 
26023
echo "${ECHO_T}no" >&6; }
24887
26024
fi
24888
26025
 
24889
26026
 
24890
26027
 
24891
 
# Check whether --with-spnego or --without-spnego was given.
 
26028
# Check whether --with-spnego was given.
24892
26029
if test "${with_spnego+set}" = set; then
24893
 
  withval="$with_spnego"
24894
 
 
 
26030
  withval=$with_spnego;
24895
26031
  SPNEGO_ROOT="$withval"
24896
26032
  if test x"$SPNEGO_ROOT" != xno; then
24897
26033
    want_spnego="yes"
24898
26034
  fi
24899
26035
 
24900
 
fi;
24901
 
 
24902
 
echo "$as_me:$LINENO: checking if SPNEGO support is requested" >&5
24903
 
echo $ECHO_N "checking if SPNEGO support is requested... $ECHO_C" >&6
 
26036
fi
 
26037
 
 
26038
 
 
26039
{ echo "$as_me:$LINENO: checking if SPNEGO support is requested" >&5
 
26040
echo $ECHO_N "checking if SPNEGO support is requested... $ECHO_C" >&6; }
24904
26041
if test x"$want_spnego" = xyes; then
24905
26042
 
24906
26043
  if test X"$SPNEGO_ROOT" = Xyes; then
24907
26044
     { { echo "$as_me:$LINENO: error: FBOpenSSL libs and/or directories were not found where specified!" >&5
24908
26045
echo "$as_me: error: FBOpenSSL libs and/or directories were not found where specified!" >&2;}
24909
26046
   { (exit 1); exit 1; }; }
24910
 
     echo "$as_me:$LINENO: result: no" >&5
24911
 
echo "${ECHO_T}no" >&6
 
26047
     { echo "$as_me:$LINENO: result: no" >&5
 
26048
echo "${ECHO_T}no" >&6; }
24912
26049
  else
24913
26050
     if test -z "$SPNEGO_LIB_DIR"; then
24914
26051
        LDFLAGS="$LDFLAGS -L$SPNEGO_ROOT -lfbopenssl"
24916
26053
        LDFLAGS="$LDFLAGS $SPNEGO_LIB_DIR"
24917
26054
     fi
24918
26055
 
24919
 
     echo "$as_me:$LINENO: result: yes" >&5
24920
 
echo "${ECHO_T}yes" >&6
 
26056
     { echo "$as_me:$LINENO: result: yes" >&5
 
26057
echo "${ECHO_T}yes" >&6; }
24921
26058
 
24922
26059
cat >>confdefs.h <<\_ACEOF
24923
26060
#define HAVE_SPNEGO 1
24926
26063
     curl_spnego_msg="enabled"
24927
26064
  fi
24928
26065
else
24929
 
  echo "$as_me:$LINENO: result: no" >&5
24930
 
echo "${ECHO_T}no" >&6
 
26066
  { echo "$as_me:$LINENO: result: no" >&5
 
26067
echo "${ECHO_T}no" >&6; }
24931
26068
fi
24932
26069
 
24933
26070
 
24934
26071
 
24935
 
# Check whether --with-gssapi-includes or --without-gssapi-includes was given.
 
26072
# Check whether --with-gssapi-includes was given.
24936
26073
if test "${with_gssapi_includes+set}" = set; then
24937
 
  withval="$with_gssapi_includes"
24938
 
   GSSAPI_INCS="-I$withval"
 
26074
  withval=$with_gssapi_includes;  GSSAPI_INCS="-I$withval"
24939
26075
    want_gss="yes"
24940
26076
 
24941
 
fi;
24942
 
 
24943
 
 
24944
 
# Check whether --with-gssapi-libs or --without-gssapi-libs was given.
 
26077
fi
 
26078
 
 
26079
 
 
26080
 
 
26081
# Check whether --with-gssapi-libs was given.
24945
26082
if test "${with_gssapi_libs+set}" = set; then
24946
 
  withval="$with_gssapi_libs"
24947
 
   GSSAPI_LIBS="-L$withval"
 
26083
  withval=$with_gssapi_libs;  GSSAPI_LIBS="-L$withval"
24948
26084
    want_gss="yes"
24949
26085
 
24950
 
fi;
24951
 
 
24952
 
 
24953
 
# Check whether --with-gssapi or --without-gssapi was given.
 
26086
fi
 
26087
 
 
26088
 
 
26089
 
 
26090
# Check whether --with-gssapi was given.
24954
26091
if test "${with_gssapi+set}" = set; then
24955
 
  withval="$with_gssapi"
24956
 
 
 
26092
  withval=$with_gssapi;
24957
26093
  GSSAPI_ROOT="$withval"
24958
26094
  if test x"$GSSAPI_ROOT" != xno; then
24959
26095
    want_gss="yes"
24960
26096
  fi
24961
26097
 
24962
 
fi;
 
26098
fi
 
26099
 
24963
26100
 
24964
26101
save_CPPFLAGS="$CPPFLAGS"
24965
 
echo "$as_me:$LINENO: checking if GSSAPI support is requested" >&5
24966
 
echo $ECHO_N "checking if GSSAPI support is requested... $ECHO_C" >&6
 
26102
{ echo "$as_me:$LINENO: checking if GSSAPI support is requested" >&5
 
26103
echo $ECHO_N "checking if GSSAPI support is requested... $ECHO_C" >&6; }
24967
26104
if test x"$want_gss" = xyes; then
24968
 
  echo "$as_me:$LINENO: result: yes" >&5
24969
 
echo "${ECHO_T}yes" >&6
 
26105
  { echo "$as_me:$LINENO: result: yes" >&5
 
26106
echo "${ECHO_T}yes" >&6; }
24970
26107
 
24971
26108
  if test -z "$GSSAPI_INCS"; then
24972
26109
     if test -f "$GSSAPI_ROOT/bin/krb5-config"; then
24978
26115
  CPPFLAGS="$CPPFLAGS $GSSAPI_INCS"
24979
26116
 
24980
26117
  if test "${ac_cv_header_gss_h+set}" = set; then
24981
 
  echo "$as_me:$LINENO: checking for gss.h" >&5
24982
 
echo $ECHO_N "checking for gss.h... $ECHO_C" >&6
 
26118
  { echo "$as_me:$LINENO: checking for gss.h" >&5
 
26119
echo $ECHO_N "checking for gss.h... $ECHO_C" >&6; }
24983
26120
if test "${ac_cv_header_gss_h+set}" = set; then
24984
26121
  echo $ECHO_N "(cached) $ECHO_C" >&6
24985
26122
fi
24986
 
echo "$as_me:$LINENO: result: $ac_cv_header_gss_h" >&5
24987
 
echo "${ECHO_T}$ac_cv_header_gss_h" >&6
 
26123
{ echo "$as_me:$LINENO: result: $ac_cv_header_gss_h" >&5
 
26124
echo "${ECHO_T}$ac_cv_header_gss_h" >&6; }
24988
26125
else
24989
26126
  # Is the header compilable?
24990
 
echo "$as_me:$LINENO: checking gss.h usability" >&5
24991
 
echo $ECHO_N "checking gss.h usability... $ECHO_C" >&6
 
26127
{ echo "$as_me:$LINENO: checking gss.h usability" >&5
 
26128
echo $ECHO_N "checking gss.h usability... $ECHO_C" >&6; }
24992
26129
cat >conftest.$ac_ext <<_ACEOF
24993
26130
/* confdefs.h.  */
24994
26131
_ACEOF
24999
26136
#include <gss.h>
25000
26137
_ACEOF
25001
26138
rm -f conftest.$ac_objext
25002
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25003
 
  (eval $ac_compile) 2>conftest.er1
 
26139
if { (ac_try="$ac_compile"
 
26140
case "(($ac_try" in
 
26141
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26142
  *) ac_try_echo=$ac_try;;
 
26143
esac
 
26144
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26145
  (eval "$ac_compile") 2>conftest.er1
25004
26146
  ac_status=$?
25005
26147
  grep -v '^ *+' conftest.er1 >conftest.err
25006
26148
  rm -f conftest.er1
25007
26149
  cat conftest.err >&5
25008
26150
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25009
26151
  (exit $ac_status); } &&
25010
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
25011
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25012
 
  (eval $ac_try) 2>&5
 
26152
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
26153
  { (case "(($ac_try" in
 
26154
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26155
  *) ac_try_echo=$ac_try;;
 
26156
esac
 
26157
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26158
  (eval "$ac_try") 2>&5
25013
26159
  ac_status=$?
25014
26160
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25015
26161
  (exit $ac_status); }; } &&
25016
26162
         { ac_try='test -s conftest.$ac_objext'
25017
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25018
 
  (eval $ac_try) 2>&5
 
26163
  { (case "(($ac_try" in
 
26164
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26165
  *) ac_try_echo=$ac_try;;
 
26166
esac
 
26167
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26168
  (eval "$ac_try") 2>&5
25019
26169
  ac_status=$?
25020
26170
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25021
26171
  (exit $ac_status); }; }; then
25024
26174
  echo "$as_me: failed program was:" >&5
25025
26175
sed 's/^/| /' conftest.$ac_ext >&5
25026
26176
 
25027
 
ac_header_compiler=no
 
26177
        ac_header_compiler=no
25028
26178
fi
 
26179
 
25029
26180
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25030
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25031
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
26181
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
26182
echo "${ECHO_T}$ac_header_compiler" >&6; }
25032
26183
 
25033
26184
# Is the header present?
25034
 
echo "$as_me:$LINENO: checking gss.h presence" >&5
25035
 
echo $ECHO_N "checking gss.h presence... $ECHO_C" >&6
 
26185
{ echo "$as_me:$LINENO: checking gss.h presence" >&5
 
26186
echo $ECHO_N "checking gss.h presence... $ECHO_C" >&6; }
25036
26187
cat >conftest.$ac_ext <<_ACEOF
25037
26188
/* confdefs.h.  */
25038
26189
_ACEOF
25041
26192
/* end confdefs.h.  */
25042
26193
#include <gss.h>
25043
26194
_ACEOF
25044
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25045
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
26195
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
26196
case "(($ac_try" in
 
26197
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26198
  *) ac_try_echo=$ac_try;;
 
26199
esac
 
26200
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26201
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25046
26202
  ac_status=$?
25047
26203
  grep -v '^ *+' conftest.er1 >conftest.err
25048
26204
  rm -f conftest.er1
25066
26222
 
25067
26223
  ac_header_preproc=no
25068
26224
fi
 
26225
 
25069
26226
rm -f conftest.err conftest.$ac_ext
25070
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25071
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
26227
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
26228
echo "${ECHO_T}$ac_header_preproc" >&6; }
25072
26229
 
25073
26230
# So?  What about this header?
25074
26231
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25092
26249
echo "$as_me: WARNING: gss.h: proceeding with the preprocessor's result" >&2;}
25093
26250
    { echo "$as_me:$LINENO: WARNING: gss.h: in the future, the compiler will take precedence" >&5
25094
26251
echo "$as_me: WARNING: gss.h: in the future, the compiler will take precedence" >&2;}
25095
 
    (
25096
 
      cat <<\_ASBOX
 
26252
    ( cat <<\_ASBOX
25097
26253
## ------------------------------------------------------------------------ ##
25098
26254
## Report this to a suitable curl mailing list => http://curl.haxx.se/mail/ ##
25099
26255
## ------------------------------------------------------------------------ ##
25100
26256
_ASBOX
25101
 
    ) |
25102
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
26257
     ) | sed "s/^/$as_me: WARNING:     /" >&2
25103
26258
    ;;
25104
26259
esac
25105
 
echo "$as_me:$LINENO: checking for gss.h" >&5
25106
 
echo $ECHO_N "checking for gss.h... $ECHO_C" >&6
 
26260
{ echo "$as_me:$LINENO: checking for gss.h" >&5
 
26261
echo $ECHO_N "checking for gss.h... $ECHO_C" >&6; }
25107
26262
if test "${ac_cv_header_gss_h+set}" = set; then
25108
26263
  echo $ECHO_N "(cached) $ECHO_C" >&6
25109
26264
else
25110
26265
  ac_cv_header_gss_h=$ac_header_preproc
25111
26266
fi
25112
 
echo "$as_me:$LINENO: result: $ac_cv_header_gss_h" >&5
25113
 
echo "${ECHO_T}$ac_cv_header_gss_h" >&6
 
26267
{ echo "$as_me:$LINENO: result: $ac_cv_header_gss_h" >&5
 
26268
echo "${ECHO_T}$ac_cv_header_gss_h" >&6; }
25114
26269
 
25115
26270
fi
25116
26271
if test $ac_cv_header_gss_h = yes; then
25125
26280
else
25126
26281
 
25127
26282
            if test "${ac_cv_header_gssapi_h+set}" = set; then
25128
 
  echo "$as_me:$LINENO: checking for gssapi.h" >&5
25129
 
echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6
 
26283
  { echo "$as_me:$LINENO: checking for gssapi.h" >&5
 
26284
echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6; }
25130
26285
if test "${ac_cv_header_gssapi_h+set}" = set; then
25131
26286
  echo $ECHO_N "(cached) $ECHO_C" >&6
25132
26287
fi
25133
 
echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_h" >&5
25134
 
echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6
 
26288
{ echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_h" >&5
 
26289
echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6; }
25135
26290
else
25136
26291
  # Is the header compilable?
25137
 
echo "$as_me:$LINENO: checking gssapi.h usability" >&5
25138
 
echo $ECHO_N "checking gssapi.h usability... $ECHO_C" >&6
 
26292
{ echo "$as_me:$LINENO: checking gssapi.h usability" >&5
 
26293
echo $ECHO_N "checking gssapi.h usability... $ECHO_C" >&6; }
25139
26294
cat >conftest.$ac_ext <<_ACEOF
25140
26295
/* confdefs.h.  */
25141
26296
_ACEOF
25146
26301
#include <gssapi.h>
25147
26302
_ACEOF
25148
26303
rm -f conftest.$ac_objext
25149
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25150
 
  (eval $ac_compile) 2>conftest.er1
 
26304
if { (ac_try="$ac_compile"
 
26305
case "(($ac_try" in
 
26306
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26307
  *) ac_try_echo=$ac_try;;
 
26308
esac
 
26309
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26310
  (eval "$ac_compile") 2>conftest.er1
25151
26311
  ac_status=$?
25152
26312
  grep -v '^ *+' conftest.er1 >conftest.err
25153
26313
  rm -f conftest.er1
25154
26314
  cat conftest.err >&5
25155
26315
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25156
26316
  (exit $ac_status); } &&
25157
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
25158
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25159
 
  (eval $ac_try) 2>&5
 
26317
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
26318
  { (case "(($ac_try" in
 
26319
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26320
  *) ac_try_echo=$ac_try;;
 
26321
esac
 
26322
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26323
  (eval "$ac_try") 2>&5
25160
26324
  ac_status=$?
25161
26325
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25162
26326
  (exit $ac_status); }; } &&
25163
26327
         { ac_try='test -s conftest.$ac_objext'
25164
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25165
 
  (eval $ac_try) 2>&5
 
26328
  { (case "(($ac_try" in
 
26329
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26330
  *) ac_try_echo=$ac_try;;
 
26331
esac
 
26332
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26333
  (eval "$ac_try") 2>&5
25166
26334
  ac_status=$?
25167
26335
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25168
26336
  (exit $ac_status); }; }; then
25171
26339
  echo "$as_me: failed program was:" >&5
25172
26340
sed 's/^/| /' conftest.$ac_ext >&5
25173
26341
 
25174
 
ac_header_compiler=no
 
26342
        ac_header_compiler=no
25175
26343
fi
 
26344
 
25176
26345
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25177
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25178
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
26346
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
26347
echo "${ECHO_T}$ac_header_compiler" >&6; }
25179
26348
 
25180
26349
# Is the header present?
25181
 
echo "$as_me:$LINENO: checking gssapi.h presence" >&5
25182
 
echo $ECHO_N "checking gssapi.h presence... $ECHO_C" >&6
 
26350
{ echo "$as_me:$LINENO: checking gssapi.h presence" >&5
 
26351
echo $ECHO_N "checking gssapi.h presence... $ECHO_C" >&6; }
25183
26352
cat >conftest.$ac_ext <<_ACEOF
25184
26353
/* confdefs.h.  */
25185
26354
_ACEOF
25188
26357
/* end confdefs.h.  */
25189
26358
#include <gssapi.h>
25190
26359
_ACEOF
25191
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25192
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
26360
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
26361
case "(($ac_try" in
 
26362
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26363
  *) ac_try_echo=$ac_try;;
 
26364
esac
 
26365
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26366
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25193
26367
  ac_status=$?
25194
26368
  grep -v '^ *+' conftest.er1 >conftest.err
25195
26369
  rm -f conftest.er1
25213
26387
 
25214
26388
  ac_header_preproc=no
25215
26389
fi
 
26390
 
25216
26391
rm -f conftest.err conftest.$ac_ext
25217
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25218
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
26392
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
26393
echo "${ECHO_T}$ac_header_preproc" >&6; }
25219
26394
 
25220
26395
# So?  What about this header?
25221
26396
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25239
26414
echo "$as_me: WARNING: gssapi.h: proceeding with the preprocessor's result" >&2;}
25240
26415
    { echo "$as_me:$LINENO: WARNING: gssapi.h: in the future, the compiler will take precedence" >&5
25241
26416
echo "$as_me: WARNING: gssapi.h: in the future, the compiler will take precedence" >&2;}
25242
 
    (
25243
 
      cat <<\_ASBOX
 
26417
    ( cat <<\_ASBOX
25244
26418
## ------------------------------------------------------------------------ ##
25245
26419
## Report this to a suitable curl mailing list => http://curl.haxx.se/mail/ ##
25246
26420
## ------------------------------------------------------------------------ ##
25247
26421
_ASBOX
25248
 
    ) |
25249
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
26422
     ) | sed "s/^/$as_me: WARNING:     /" >&2
25250
26423
    ;;
25251
26424
esac
25252
 
echo "$as_me:$LINENO: checking for gssapi.h" >&5
25253
 
echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6
 
26425
{ echo "$as_me:$LINENO: checking for gssapi.h" >&5
 
26426
echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6; }
25254
26427
if test "${ac_cv_header_gssapi_h+set}" = set; then
25255
26428
  echo $ECHO_N "(cached) $ECHO_C" >&6
25256
26429
else
25257
26430
  ac_cv_header_gssapi_h=$ac_header_preproc
25258
26431
fi
25259
 
echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_h" >&5
25260
 
echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6
 
26432
{ echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_h" >&5
 
26433
echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6; }
25261
26434
 
25262
26435
fi
25263
26436
if test $ac_cv_header_gssapi_h = yes; then
25271
26444
else
25272
26445
 
25273
26446
                    if test "${ac_cv_header_gssapi_gssapi_h+set}" = set; then
25274
 
  echo "$as_me:$LINENO: checking for gssapi/gssapi.h" >&5
25275
 
echo $ECHO_N "checking for gssapi/gssapi.h... $ECHO_C" >&6
 
26447
  { echo "$as_me:$LINENO: checking for gssapi/gssapi.h" >&5
 
26448
echo $ECHO_N "checking for gssapi/gssapi.h... $ECHO_C" >&6; }
25276
26449
if test "${ac_cv_header_gssapi_gssapi_h+set}" = set; then
25277
26450
  echo $ECHO_N "(cached) $ECHO_C" >&6
25278
26451
fi
25279
 
echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_gssapi_h" >&5
25280
 
echo "${ECHO_T}$ac_cv_header_gssapi_gssapi_h" >&6
 
26452
{ echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_gssapi_h" >&5
 
26453
echo "${ECHO_T}$ac_cv_header_gssapi_gssapi_h" >&6; }
25281
26454
else
25282
26455
  # Is the header compilable?
25283
 
echo "$as_me:$LINENO: checking gssapi/gssapi.h usability" >&5
25284
 
echo $ECHO_N "checking gssapi/gssapi.h usability... $ECHO_C" >&6
 
26456
{ echo "$as_me:$LINENO: checking gssapi/gssapi.h usability" >&5
 
26457
echo $ECHO_N "checking gssapi/gssapi.h usability... $ECHO_C" >&6; }
25285
26458
cat >conftest.$ac_ext <<_ACEOF
25286
26459
/* confdefs.h.  */
25287
26460
_ACEOF
25292
26465
#include <gssapi/gssapi.h>
25293
26466
_ACEOF
25294
26467
rm -f conftest.$ac_objext
25295
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25296
 
  (eval $ac_compile) 2>conftest.er1
 
26468
if { (ac_try="$ac_compile"
 
26469
case "(($ac_try" in
 
26470
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26471
  *) ac_try_echo=$ac_try;;
 
26472
esac
 
26473
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26474
  (eval "$ac_compile") 2>conftest.er1
25297
26475
  ac_status=$?
25298
26476
  grep -v '^ *+' conftest.er1 >conftest.err
25299
26477
  rm -f conftest.er1
25300
26478
  cat conftest.err >&5
25301
26479
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25302
26480
  (exit $ac_status); } &&
25303
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
25304
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25305
 
  (eval $ac_try) 2>&5
 
26481
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
26482
  { (case "(($ac_try" in
 
26483
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26484
  *) ac_try_echo=$ac_try;;
 
26485
esac
 
26486
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26487
  (eval "$ac_try") 2>&5
25306
26488
  ac_status=$?
25307
26489
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25308
26490
  (exit $ac_status); }; } &&
25309
26491
         { ac_try='test -s conftest.$ac_objext'
25310
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25311
 
  (eval $ac_try) 2>&5
 
26492
  { (case "(($ac_try" in
 
26493
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26494
  *) ac_try_echo=$ac_try;;
 
26495
esac
 
26496
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26497
  (eval "$ac_try") 2>&5
25312
26498
  ac_status=$?
25313
26499
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25314
26500
  (exit $ac_status); }; }; then
25317
26503
  echo "$as_me: failed program was:" >&5
25318
26504
sed 's/^/| /' conftest.$ac_ext >&5
25319
26505
 
25320
 
ac_header_compiler=no
 
26506
        ac_header_compiler=no
25321
26507
fi
 
26508
 
25322
26509
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25323
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25324
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
26510
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
26511
echo "${ECHO_T}$ac_header_compiler" >&6; }
25325
26512
 
25326
26513
# Is the header present?
25327
 
echo "$as_me:$LINENO: checking gssapi/gssapi.h presence" >&5
25328
 
echo $ECHO_N "checking gssapi/gssapi.h presence... $ECHO_C" >&6
 
26514
{ echo "$as_me:$LINENO: checking gssapi/gssapi.h presence" >&5
 
26515
echo $ECHO_N "checking gssapi/gssapi.h presence... $ECHO_C" >&6; }
25329
26516
cat >conftest.$ac_ext <<_ACEOF
25330
26517
/* confdefs.h.  */
25331
26518
_ACEOF
25334
26521
/* end confdefs.h.  */
25335
26522
#include <gssapi/gssapi.h>
25336
26523
_ACEOF
25337
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25338
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
26524
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
26525
case "(($ac_try" in
 
26526
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26527
  *) ac_try_echo=$ac_try;;
 
26528
esac
 
26529
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26530
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25339
26531
  ac_status=$?
25340
26532
  grep -v '^ *+' conftest.er1 >conftest.err
25341
26533
  rm -f conftest.er1
25359
26551
 
25360
26552
  ac_header_preproc=no
25361
26553
fi
 
26554
 
25362
26555
rm -f conftest.err conftest.$ac_ext
25363
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25364
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
26556
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
26557
echo "${ECHO_T}$ac_header_preproc" >&6; }
25365
26558
 
25366
26559
# So?  What about this header?
25367
26560
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25385
26578
echo "$as_me: WARNING: gssapi/gssapi.h: proceeding with the preprocessor's result" >&2;}
25386
26579
    { echo "$as_me:$LINENO: WARNING: gssapi/gssapi.h: in the future, the compiler will take precedence" >&5
25387
26580
echo "$as_me: WARNING: gssapi/gssapi.h: in the future, the compiler will take precedence" >&2;}
25388
 
    (
25389
 
      cat <<\_ASBOX
 
26581
    ( cat <<\_ASBOX
25390
26582
## ------------------------------------------------------------------------ ##
25391
26583
## Report this to a suitable curl mailing list => http://curl.haxx.se/mail/ ##
25392
26584
## ------------------------------------------------------------------------ ##
25393
26585
_ASBOX
25394
 
    ) |
25395
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
26586
     ) | sed "s/^/$as_me: WARNING:     /" >&2
25396
26587
    ;;
25397
26588
esac
25398
 
echo "$as_me:$LINENO: checking for gssapi/gssapi.h" >&5
25399
 
echo $ECHO_N "checking for gssapi/gssapi.h... $ECHO_C" >&6
 
26589
{ echo "$as_me:$LINENO: checking for gssapi/gssapi.h" >&5
 
26590
echo $ECHO_N "checking for gssapi/gssapi.h... $ECHO_C" >&6; }
25400
26591
if test "${ac_cv_header_gssapi_gssapi_h+set}" = set; then
25401
26592
  echo $ECHO_N "(cached) $ECHO_C" >&6
25402
26593
else
25403
26594
  ac_cv_header_gssapi_gssapi_h=$ac_header_preproc
25404
26595
fi
25405
 
echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_gssapi_h" >&5
25406
 
echo "${ECHO_T}$ac_cv_header_gssapi_gssapi_h" >&6
 
26596
{ echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_gssapi_h" >&5
 
26597
echo "${ECHO_T}$ac_cv_header_gssapi_gssapi_h" >&6; }
25407
26598
 
25408
26599
fi
25409
26600
if test $ac_cv_header_gssapi_gssapi_h = yes; then
25435
26626
 
25436
26627
 
25437
26628
else
25438
 
  echo "$as_me:$LINENO: result: no" >&5
25439
 
echo "${ECHO_T}no" >&6
 
26629
  { echo "$as_me:$LINENO: result: no" >&5
 
26630
echo "${ECHO_T}no" >&6; }
25440
26631
fi
25441
26632
if test x"$want_gss" = xyes; then
25442
26633
 
25470
26661
OPT_SSL=off
25471
26662
ca="no"
25472
26663
 
25473
 
# Check whether --with-ssl or --without-ssl was given.
 
26664
# Check whether --with-ssl was given.
25474
26665
if test "${with_ssl+set}" = set; then
25475
 
  withval="$with_ssl"
25476
 
  OPT_SSL=$withval
25477
 
fi;
 
26666
  withval=$with_ssl; OPT_SSL=$withval
 
26667
fi
 
26668
 
25478
26669
 
25479
26670
if test X"$OPT_SSL" != Xno; then
25480
26671
    CLEANLDFLAGS="$LDFLAGS"
25509
26700
 
25510
26701
    # Extract the first word of "pkg-config", so it can be a program name with args.
25511
26702
set dummy pkg-config; ac_word=$2
25512
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
25513
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
26703
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
26704
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25514
26705
if test "${ac_cv_path_PKGCONFIG+set}" = set; then
25515
26706
  echo $ECHO_N "(cached) $ECHO_C" >&6
25516
26707
else
25526
26717
  IFS=$as_save_IFS
25527
26718
  test -z "$as_dir" && as_dir=.
25528
26719
  for ac_exec_ext in '' $ac_executable_extensions; do
25529
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
26720
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
25530
26721
    ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
25531
26722
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25532
26723
    break 2
25533
26724
  fi
25534
26725
done
25535
26726
done
 
26727
IFS=$as_save_IFS
25536
26728
 
25537
26729
  test -z "$ac_cv_path_PKGCONFIG" && ac_cv_path_PKGCONFIG="no"
25538
26730
  ;;
25539
26731
esac
25540
26732
fi
25541
26733
PKGCONFIG=$ac_cv_path_PKGCONFIG
25542
 
 
25543
26734
if test -n "$PKGCONFIG"; then
25544
 
  echo "$as_me:$LINENO: result: $PKGCONFIG" >&5
25545
 
echo "${ECHO_T}$PKGCONFIG" >&6
 
26735
  { echo "$as_me:$LINENO: result: $PKGCONFIG" >&5
 
26736
echo "${ECHO_T}$PKGCONFIG" >&6; }
25546
26737
else
25547
 
  echo "$as_me:$LINENO: result: no" >&5
25548
 
echo "${ECHO_T}no" >&6
 
26738
  { echo "$as_me:$LINENO: result: no" >&5
 
26739
echo "${ECHO_T}no" >&6; }
25549
26740
fi
25550
26741
 
 
26742
 
25551
26743
    if test "$PKGCONFIG" != "no" ; then
25552
 
      echo "$as_me:$LINENO: checking OpenSSL options with pkg-config" >&5
25553
 
echo $ECHO_N "checking OpenSSL options with pkg-config... $ECHO_C" >&6
 
26744
      { echo "$as_me:$LINENO: checking OpenSSL options with pkg-config" >&5
 
26745
echo $ECHO_N "checking OpenSSL options with pkg-config... $ECHO_C" >&6; }
25554
26746
 
25555
26747
      $PKGCONFIG --exists openssl
25556
26748
      SSL_EXISTS=$?
25565
26757
                LIBS="$LIBS $SSL_LIBS"
25566
26758
        CPPFLAGS="$CPPFLAGS $SSL_CPPFLAGS"
25567
26759
        LDFLAGS="$LDFLAGS $SSL_LDFLAGS"
25568
 
        echo "$as_me:$LINENO: result: found" >&5
25569
 
echo "${ECHO_T}found" >&6
 
26760
        { echo "$as_me:$LINENO: result: found" >&5
 
26761
echo "${ECHO_T}found" >&6; }
25570
26762
      else
25571
 
        echo "$as_me:$LINENO: result: no" >&5
25572
 
echo "${ECHO_T}no" >&6
 
26763
        { echo "$as_me:$LINENO: result: no" >&5
 
26764
echo "${ECHO_T}no" >&6; }
25573
26765
      fi
25574
26766
    fi
25575
26767
  fi
25576
26768
 
25577
 
    echo "$as_me:$LINENO: checking for gdi32" >&5
25578
 
echo $ECHO_N "checking for gdi32... $ECHO_C" >&6
25579
 
  my_ac_save_LIBS=$LIBS
25580
 
  LIBS="-lgdi32 $LIBS"
25581
 
  cat >conftest.$ac_ext <<_ACEOF
 
26769
    case $host in
 
26770
    *-*-cygwin*)
 
26771
                  ;;
 
26772
    *)
 
26773
      { echo "$as_me:$LINENO: checking for gdi32" >&5
 
26774
echo $ECHO_N "checking for gdi32... $ECHO_C" >&6; }
 
26775
      my_ac_save_LIBS=$LIBS
 
26776
      LIBS="-lgdi32 $LIBS"
 
26777
      cat >conftest.$ac_ext <<_ACEOF
25582
26778
/* confdefs.h.  */
25583
26779
_ACEOF
25584
26780
cat confdefs.h >>conftest.$ac_ext
25585
26781
cat >>conftest.$ac_ext <<_ACEOF
25586
26782
/* end confdefs.h.  */
25587
26783
#include <windef.h>
25588
 
               #include <wingdi.h>
 
26784
                   #include <wingdi.h>
25589
26785
int
25590
26786
main ()
25591
26787
{
25595
26791
}
25596
26792
_ACEOF
25597
26793
rm -f conftest.$ac_objext conftest$ac_exeext
25598
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25599
 
  (eval $ac_link) 2>conftest.er1
 
26794
if { (ac_try="$ac_link"
 
26795
case "(($ac_try" in
 
26796
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26797
  *) ac_try_echo=$ac_try;;
 
26798
esac
 
26799
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26800
  (eval "$ac_link") 2>conftest.er1
25600
26801
  ac_status=$?
25601
26802
  grep -v '^ *+' conftest.er1 >conftest.err
25602
26803
  rm -f conftest.er1
25603
26804
  cat conftest.err >&5
25604
26805
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25605
26806
  (exit $ac_status); } &&
25606
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
25607
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25608
 
  (eval $ac_try) 2>&5
 
26807
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
26808
  { (case "(($ac_try" in
 
26809
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26810
  *) ac_try_echo=$ac_try;;
 
26811
esac
 
26812
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26813
  (eval "$ac_try") 2>&5
25609
26814
  ac_status=$?
25610
26815
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25611
26816
  (exit $ac_status); }; } &&
25612
26817
         { ac_try='test -s conftest$ac_exeext'
25613
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25614
 
  (eval $ac_try) 2>&5
 
26818
  { (case "(($ac_try" in
 
26819
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26820
  *) ac_try_echo=$ac_try;;
 
26821
esac
 
26822
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26823
  (eval "$ac_try") 2>&5
25615
26824
  ac_status=$?
25616
26825
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25617
26826
  (exit $ac_status); }; }; then
25618
 
                  echo "$as_me:$LINENO: result: yes" >&5
25619
 
echo "${ECHO_T}yes" >&6
 
26827
                      { echo "$as_me:$LINENO: result: yes" >&5
 
26828
echo "${ECHO_T}yes" >&6; }
25620
26829
else
25621
26830
  echo "$as_me: failed program was:" >&5
25622
26831
sed 's/^/| /' conftest.$ac_ext >&5
25623
26832
 
25624
 
                LIBS=$my_ac_save_LIBS
25625
 
               echo "$as_me:$LINENO: result: no" >&5
25626
 
echo "${ECHO_T}no" >&6
 
26833
                            LIBS=$my_ac_save_LIBS
 
26834
                   { echo "$as_me:$LINENO: result: no" >&5
 
26835
echo "${ECHO_T}no" >&6; }
25627
26836
 
25628
26837
fi
 
26838
 
25629
26839
rm -f conftest.err conftest.$ac_objext \
25630
26840
      conftest$ac_exeext conftest.$ac_ext
 
26841
      ;;
 
26842
  esac
25631
26843
 
25632
 
  echo "$as_me:$LINENO: checking for CRYPTO_lock in -lcrypto" >&5
25633
 
echo $ECHO_N "checking for CRYPTO_lock in -lcrypto... $ECHO_C" >&6
 
26844
  { echo "$as_me:$LINENO: checking for CRYPTO_lock in -lcrypto" >&5
 
26845
echo $ECHO_N "checking for CRYPTO_lock in -lcrypto... $ECHO_C" >&6; }
25634
26846
if test "${ac_cv_lib_crypto_CRYPTO_lock+set}" = set; then
25635
26847
  echo $ECHO_N "(cached) $ECHO_C" >&6
25636
26848
else
25643
26855
cat >>conftest.$ac_ext <<_ACEOF
25644
26856
/* end confdefs.h.  */
25645
26857
 
25646
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
26858
/* Override any GCC internal prototype to avoid an error.
 
26859
   Use char because int might match the return type of a GCC
 
26860
   builtin and then its argument prototype would still apply.  */
25647
26861
#ifdef __cplusplus
25648
26862
extern "C"
25649
26863
#endif
25650
 
/* We use char because int might match the return type of a gcc2
25651
 
   builtin and then its argument prototype would still apply.  */
25652
26864
char CRYPTO_lock ();
25653
26865
int
25654
26866
main ()
25655
26867
{
25656
 
CRYPTO_lock ();
 
26868
return CRYPTO_lock ();
25657
26869
  ;
25658
26870
  return 0;
25659
26871
}
25660
26872
_ACEOF
25661
26873
rm -f conftest.$ac_objext conftest$ac_exeext
25662
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25663
 
  (eval $ac_link) 2>conftest.er1
 
26874
if { (ac_try="$ac_link"
 
26875
case "(($ac_try" in
 
26876
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26877
  *) ac_try_echo=$ac_try;;
 
26878
esac
 
26879
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26880
  (eval "$ac_link") 2>conftest.er1
25664
26881
  ac_status=$?
25665
26882
  grep -v '^ *+' conftest.er1 >conftest.err
25666
26883
  rm -f conftest.er1
25667
26884
  cat conftest.err >&5
25668
26885
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25669
26886
  (exit $ac_status); } &&
25670
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
25671
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25672
 
  (eval $ac_try) 2>&5
 
26887
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
26888
  { (case "(($ac_try" in
 
26889
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26890
  *) ac_try_echo=$ac_try;;
 
26891
esac
 
26892
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26893
  (eval "$ac_try") 2>&5
25673
26894
  ac_status=$?
25674
26895
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25675
26896
  (exit $ac_status); }; } &&
25676
26897
         { ac_try='test -s conftest$ac_exeext'
25677
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25678
 
  (eval $ac_try) 2>&5
 
26898
  { (case "(($ac_try" in
 
26899
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26900
  *) ac_try_echo=$ac_try;;
 
26901
esac
 
26902
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26903
  (eval "$ac_try") 2>&5
25679
26904
  ac_status=$?
25680
26905
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25681
26906
  (exit $ac_status); }; }; then
25684
26909
  echo "$as_me: failed program was:" >&5
25685
26910
sed 's/^/| /' conftest.$ac_ext >&5
25686
26911
 
25687
 
ac_cv_lib_crypto_CRYPTO_lock=no
 
26912
        ac_cv_lib_crypto_CRYPTO_lock=no
25688
26913
fi
 
26914
 
25689
26915
rm -f conftest.err conftest.$ac_objext \
25690
26916
      conftest$ac_exeext conftest.$ac_ext
25691
26917
LIBS=$ac_check_lib_save_LIBS
25692
26918
fi
25693
 
echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_CRYPTO_lock" >&5
25694
 
echo "${ECHO_T}$ac_cv_lib_crypto_CRYPTO_lock" >&6
 
26919
{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_CRYPTO_lock" >&5
 
26920
echo "${ECHO_T}$ac_cv_lib_crypto_CRYPTO_lock" >&6; }
25695
26921
if test $ac_cv_lib_crypto_CRYPTO_lock = yes; then
25696
26922
 
25697
26923
     HAVECRYPTO="yes"
25701
26927
 
25702
26928
     LDFLAGS="$CLEANLDFLAGS -L$LIB_OPENSSL"
25703
26929
     CPPFLAGS="$CLEANCPPFLAGS -I$PREFIX_OPENSSL/include/openssl -I$PREFIX_OPENSSL/include"
25704
 
     echo "$as_me:$LINENO: checking for CRYPTO_add_lock in -lcrypto" >&5
25705
 
echo $ECHO_N "checking for CRYPTO_add_lock in -lcrypto... $ECHO_C" >&6
 
26930
     { echo "$as_me:$LINENO: checking for CRYPTO_add_lock in -lcrypto" >&5
 
26931
echo $ECHO_N "checking for CRYPTO_add_lock in -lcrypto... $ECHO_C" >&6; }
25706
26932
if test "${ac_cv_lib_crypto_CRYPTO_add_lock+set}" = set; then
25707
26933
  echo $ECHO_N "(cached) $ECHO_C" >&6
25708
26934
else
25715
26941
cat >>conftest.$ac_ext <<_ACEOF
25716
26942
/* end confdefs.h.  */
25717
26943
 
25718
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
26944
/* Override any GCC internal prototype to avoid an error.
 
26945
   Use char because int might match the return type of a GCC
 
26946
   builtin and then its argument prototype would still apply.  */
25719
26947
#ifdef __cplusplus
25720
26948
extern "C"
25721
26949
#endif
25722
 
/* We use char because int might match the return type of a gcc2
25723
 
   builtin and then its argument prototype would still apply.  */
25724
26950
char CRYPTO_add_lock ();
25725
26951
int
25726
26952
main ()
25727
26953
{
25728
 
CRYPTO_add_lock ();
 
26954
return CRYPTO_add_lock ();
25729
26955
  ;
25730
26956
  return 0;
25731
26957
}
25732
26958
_ACEOF
25733
26959
rm -f conftest.$ac_objext conftest$ac_exeext
25734
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25735
 
  (eval $ac_link) 2>conftest.er1
 
26960
if { (ac_try="$ac_link"
 
26961
case "(($ac_try" in
 
26962
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26963
  *) ac_try_echo=$ac_try;;
 
26964
esac
 
26965
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26966
  (eval "$ac_link") 2>conftest.er1
25736
26967
  ac_status=$?
25737
26968
  grep -v '^ *+' conftest.er1 >conftest.err
25738
26969
  rm -f conftest.er1
25739
26970
  cat conftest.err >&5
25740
26971
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25741
26972
  (exit $ac_status); } &&
25742
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
25743
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25744
 
  (eval $ac_try) 2>&5
 
26973
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
26974
  { (case "(($ac_try" in
 
26975
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26976
  *) ac_try_echo=$ac_try;;
 
26977
esac
 
26978
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26979
  (eval "$ac_try") 2>&5
25745
26980
  ac_status=$?
25746
26981
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25747
26982
  (exit $ac_status); }; } &&
25748
26983
         { ac_try='test -s conftest$ac_exeext'
25749
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25750
 
  (eval $ac_try) 2>&5
 
26984
  { (case "(($ac_try" in
 
26985
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26986
  *) ac_try_echo=$ac_try;;
 
26987
esac
 
26988
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26989
  (eval "$ac_try") 2>&5
25751
26990
  ac_status=$?
25752
26991
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25753
26992
  (exit $ac_status); }; }; then
25756
26995
  echo "$as_me: failed program was:" >&5
25757
26996
sed 's/^/| /' conftest.$ac_ext >&5
25758
26997
 
25759
 
ac_cv_lib_crypto_CRYPTO_add_lock=no
 
26998
        ac_cv_lib_crypto_CRYPTO_add_lock=no
25760
26999
fi
 
27000
 
25761
27001
rm -f conftest.err conftest.$ac_objext \
25762
27002
      conftest$ac_exeext conftest.$ac_ext
25763
27003
LIBS=$ac_check_lib_save_LIBS
25764
27004
fi
25765
 
echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_CRYPTO_add_lock" >&5
25766
 
echo "${ECHO_T}$ac_cv_lib_crypto_CRYPTO_add_lock" >&6
 
27005
{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_CRYPTO_add_lock" >&5
 
27006
echo "${ECHO_T}$ac_cv_lib_crypto_CRYPTO_add_lock" >&6; }
25767
27007
if test $ac_cv_lib_crypto_CRYPTO_add_lock = yes; then
25768
27008
 
25769
27009
       HAVECRYPTO="yes"
25784
27024
  if test X"$HAVECRYPTO" = X"yes"; then
25785
27025
 
25786
27026
 
25787
 
echo "$as_me:$LINENO: checking for SSL_connect in -lssl" >&5
25788
 
echo $ECHO_N "checking for SSL_connect in -lssl... $ECHO_C" >&6
 
27027
{ echo "$as_me:$LINENO: checking for SSL_connect in -lssl" >&5
 
27028
echo $ECHO_N "checking for SSL_connect in -lssl... $ECHO_C" >&6; }
25789
27029
if test "${ac_cv_lib_ssl_SSL_connect+set}" = set; then
25790
27030
  echo $ECHO_N "(cached) $ECHO_C" >&6
25791
27031
else
25798
27038
cat >>conftest.$ac_ext <<_ACEOF
25799
27039
/* end confdefs.h.  */
25800
27040
 
25801
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
27041
/* Override any GCC internal prototype to avoid an error.
 
27042
   Use char because int might match the return type of a GCC
 
27043
   builtin and then its argument prototype would still apply.  */
25802
27044
#ifdef __cplusplus
25803
27045
extern "C"
25804
27046
#endif
25805
 
/* We use char because int might match the return type of a gcc2
25806
 
   builtin and then its argument prototype would still apply.  */
25807
27047
char SSL_connect ();
25808
27048
int
25809
27049
main ()
25810
27050
{
25811
 
SSL_connect ();
 
27051
return SSL_connect ();
25812
27052
  ;
25813
27053
  return 0;
25814
27054
}
25815
27055
_ACEOF
25816
27056
rm -f conftest.$ac_objext conftest$ac_exeext
25817
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25818
 
  (eval $ac_link) 2>conftest.er1
 
27057
if { (ac_try="$ac_link"
 
27058
case "(($ac_try" in
 
27059
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27060
  *) ac_try_echo=$ac_try;;
 
27061
esac
 
27062
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27063
  (eval "$ac_link") 2>conftest.er1
25819
27064
  ac_status=$?
25820
27065
  grep -v '^ *+' conftest.er1 >conftest.err
25821
27066
  rm -f conftest.er1
25822
27067
  cat conftest.err >&5
25823
27068
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25824
27069
  (exit $ac_status); } &&
25825
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
25826
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25827
 
  (eval $ac_try) 2>&5
 
27070
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
27071
  { (case "(($ac_try" in
 
27072
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27073
  *) ac_try_echo=$ac_try;;
 
27074
esac
 
27075
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27076
  (eval "$ac_try") 2>&5
25828
27077
  ac_status=$?
25829
27078
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25830
27079
  (exit $ac_status); }; } &&
25831
27080
         { ac_try='test -s conftest$ac_exeext'
25832
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25833
 
  (eval $ac_try) 2>&5
 
27081
  { (case "(($ac_try" in
 
27082
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27083
  *) ac_try_echo=$ac_try;;
 
27084
esac
 
27085
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27086
  (eval "$ac_try") 2>&5
25834
27087
  ac_status=$?
25835
27088
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25836
27089
  (exit $ac_status); }; }; then
25839
27092
  echo "$as_me: failed program was:" >&5
25840
27093
sed 's/^/| /' conftest.$ac_ext >&5
25841
27094
 
25842
 
ac_cv_lib_ssl_SSL_connect=no
 
27095
        ac_cv_lib_ssl_SSL_connect=no
25843
27096
fi
 
27097
 
25844
27098
rm -f conftest.err conftest.$ac_objext \
25845
27099
      conftest$ac_exeext conftest.$ac_ext
25846
27100
LIBS=$ac_check_lib_save_LIBS
25847
27101
fi
25848
 
echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_connect" >&5
25849
 
echo "${ECHO_T}$ac_cv_lib_ssl_SSL_connect" >&6
 
27102
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_connect" >&5
 
27103
echo "${ECHO_T}$ac_cv_lib_ssl_SSL_connect" >&6; }
25850
27104
if test $ac_cv_lib_ssl_SSL_connect = yes; then
25851
27105
  cat >>confdefs.h <<_ACEOF
25852
27106
#define HAVE_LIBSSL 1
25858
27112
 
25859
27113
 
25860
27114
    if test "$ac_cv_lib_ssl_SSL_connect" != yes; then
25861
 
                echo "$as_me:$LINENO: checking for ssl with RSAglue/rsaref libs in use" >&5
25862
 
echo $ECHO_N "checking for ssl with RSAglue/rsaref libs in use... $ECHO_C" >&6;
 
27115
                { echo "$as_me:$LINENO: checking for ssl with RSAglue/rsaref libs in use" >&5
 
27116
echo $ECHO_N "checking for ssl with RSAglue/rsaref libs in use... $ECHO_C" >&6; };
25863
27117
        OLIBS=$LIBS
25864
27118
        LIBS="$LIBS -lRSAglue -lrsaref"
25865
27119
 
25866
 
echo "$as_me:$LINENO: checking for SSL_connect in -lssl" >&5
25867
 
echo $ECHO_N "checking for SSL_connect in -lssl... $ECHO_C" >&6
 
27120
{ echo "$as_me:$LINENO: checking for SSL_connect in -lssl" >&5
 
27121
echo $ECHO_N "checking for SSL_connect in -lssl... $ECHO_C" >&6; }
25868
27122
if test "${ac_cv_lib_ssl_SSL_connect+set}" = set; then
25869
27123
  echo $ECHO_N "(cached) $ECHO_C" >&6
25870
27124
else
25877
27131
cat >>conftest.$ac_ext <<_ACEOF
25878
27132
/* end confdefs.h.  */
25879
27133
 
25880
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
27134
/* Override any GCC internal prototype to avoid an error.
 
27135
   Use char because int might match the return type of a GCC
 
27136
   builtin and then its argument prototype would still apply.  */
25881
27137
#ifdef __cplusplus
25882
27138
extern "C"
25883
27139
#endif
25884
 
/* We use char because int might match the return type of a gcc2
25885
 
   builtin and then its argument prototype would still apply.  */
25886
27140
char SSL_connect ();
25887
27141
int
25888
27142
main ()
25889
27143
{
25890
 
SSL_connect ();
 
27144
return SSL_connect ();
25891
27145
  ;
25892
27146
  return 0;
25893
27147
}
25894
27148
_ACEOF
25895
27149
rm -f conftest.$ac_objext conftest$ac_exeext
25896
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25897
 
  (eval $ac_link) 2>conftest.er1
 
27150
if { (ac_try="$ac_link"
 
27151
case "(($ac_try" in
 
27152
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27153
  *) ac_try_echo=$ac_try;;
 
27154
esac
 
27155
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27156
  (eval "$ac_link") 2>conftest.er1
25898
27157
  ac_status=$?
25899
27158
  grep -v '^ *+' conftest.er1 >conftest.err
25900
27159
  rm -f conftest.er1
25901
27160
  cat conftest.err >&5
25902
27161
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25903
27162
  (exit $ac_status); } &&
25904
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
25905
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25906
 
  (eval $ac_try) 2>&5
 
27163
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
27164
  { (case "(($ac_try" in
 
27165
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27166
  *) ac_try_echo=$ac_try;;
 
27167
esac
 
27168
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27169
  (eval "$ac_try") 2>&5
25907
27170
  ac_status=$?
25908
27171
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25909
27172
  (exit $ac_status); }; } &&
25910
27173
         { ac_try='test -s conftest$ac_exeext'
25911
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25912
 
  (eval $ac_try) 2>&5
 
27174
  { (case "(($ac_try" in
 
27175
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27176
  *) ac_try_echo=$ac_try;;
 
27177
esac
 
27178
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27179
  (eval "$ac_try") 2>&5
25913
27180
  ac_status=$?
25914
27181
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25915
27182
  (exit $ac_status); }; }; then
25918
27185
  echo "$as_me: failed program was:" >&5
25919
27186
sed 's/^/| /' conftest.$ac_ext >&5
25920
27187
 
25921
 
ac_cv_lib_ssl_SSL_connect=no
 
27188
        ac_cv_lib_ssl_SSL_connect=no
25922
27189
fi
 
27190
 
25923
27191
rm -f conftest.err conftest.$ac_objext \
25924
27192
      conftest$ac_exeext conftest.$ac_ext
25925
27193
LIBS=$ac_check_lib_save_LIBS
25926
27194
fi
25927
 
echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_connect" >&5
25928
 
echo "${ECHO_T}$ac_cv_lib_ssl_SSL_connect" >&6
 
27195
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_connect" >&5
 
27196
echo "${ECHO_T}$ac_cv_lib_ssl_SSL_connect" >&6; }
25929
27197
if test $ac_cv_lib_ssl_SSL_connect = yes; then
25930
27198
  cat >>confdefs.h <<_ACEOF
25931
27199
#define HAVE_LIBSSL 1
25936
27204
fi
25937
27205
 
25938
27206
        if test "$ac_cv_lib_ssl_SSL_connect" != yes; then
25939
 
                        echo "$as_me:$LINENO: result: no" >&5
25940
 
echo "${ECHO_T}no" >&6
 
27207
                        { echo "$as_me:$LINENO: result: no" >&5
 
27208
echo "${ECHO_T}no" >&6; }
25941
27209
            LIBS=$OLIBS
25942
27210
        else
25943
 
            echo "$as_me:$LINENO: result: yes" >&5
25944
 
echo "${ECHO_T}yes" >&6
 
27211
            { echo "$as_me:$LINENO: result: yes" >&5
 
27212
echo "${ECHO_T}yes" >&6; }
25945
27213
        fi
25946
27214
 
25947
27215
    else
25956
27224
                       openssl/pem.h openssl/ssl.h openssl/err.h
25957
27225
do
25958
27226
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25959
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
25960
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
25961
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25962
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
27227
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
27228
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
27229
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
27230
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25963
27231
  echo $ECHO_N "(cached) $ECHO_C" >&6
25964
27232
fi
25965
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25966
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
27233
ac_res=`eval echo '${'$as_ac_Header'}'`
 
27234
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
27235
echo "${ECHO_T}$ac_res" >&6; }
25967
27236
else
25968
27237
  # Is the header compilable?
25969
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
25970
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
27238
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
27239
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
25971
27240
cat >conftest.$ac_ext <<_ACEOF
25972
27241
/* confdefs.h.  */
25973
27242
_ACEOF
25978
27247
#include <$ac_header>
25979
27248
_ACEOF
25980
27249
rm -f conftest.$ac_objext
25981
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25982
 
  (eval $ac_compile) 2>conftest.er1
 
27250
if { (ac_try="$ac_compile"
 
27251
case "(($ac_try" in
 
27252
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27253
  *) ac_try_echo=$ac_try;;
 
27254
esac
 
27255
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27256
  (eval "$ac_compile") 2>conftest.er1
25983
27257
  ac_status=$?
25984
27258
  grep -v '^ *+' conftest.er1 >conftest.err
25985
27259
  rm -f conftest.er1
25986
27260
  cat conftest.err >&5
25987
27261
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25988
27262
  (exit $ac_status); } &&
25989
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
25990
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25991
 
  (eval $ac_try) 2>&5
 
27263
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
27264
  { (case "(($ac_try" in
 
27265
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27266
  *) ac_try_echo=$ac_try;;
 
27267
esac
 
27268
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27269
  (eval "$ac_try") 2>&5
25992
27270
  ac_status=$?
25993
27271
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25994
27272
  (exit $ac_status); }; } &&
25995
27273
         { ac_try='test -s conftest.$ac_objext'
25996
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25997
 
  (eval $ac_try) 2>&5
 
27274
  { (case "(($ac_try" in
 
27275
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27276
  *) ac_try_echo=$ac_try;;
 
27277
esac
 
27278
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27279
  (eval "$ac_try") 2>&5
25998
27280
  ac_status=$?
25999
27281
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26000
27282
  (exit $ac_status); }; }; then
26003
27285
  echo "$as_me: failed program was:" >&5
26004
27286
sed 's/^/| /' conftest.$ac_ext >&5
26005
27287
 
26006
 
ac_header_compiler=no
 
27288
        ac_header_compiler=no
26007
27289
fi
 
27290
 
26008
27291
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26009
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26010
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
27292
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
27293
echo "${ECHO_T}$ac_header_compiler" >&6; }
26011
27294
 
26012
27295
# Is the header present?
26013
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
26014
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
27296
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
27297
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26015
27298
cat >conftest.$ac_ext <<_ACEOF
26016
27299
/* confdefs.h.  */
26017
27300
_ACEOF
26020
27303
/* end confdefs.h.  */
26021
27304
#include <$ac_header>
26022
27305
_ACEOF
26023
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26024
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
27306
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
27307
case "(($ac_try" in
 
27308
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27309
  *) ac_try_echo=$ac_try;;
 
27310
esac
 
27311
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27312
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26025
27313
  ac_status=$?
26026
27314
  grep -v '^ *+' conftest.er1 >conftest.err
26027
27315
  rm -f conftest.er1
26045
27333
 
26046
27334
  ac_header_preproc=no
26047
27335
fi
 
27336
 
26048
27337
rm -f conftest.err conftest.$ac_ext
26049
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26050
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
27338
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
27339
echo "${ECHO_T}$ac_header_preproc" >&6; }
26051
27340
 
26052
27341
# So?  What about this header?
26053
27342
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26071
27360
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26072
27361
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26073
27362
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26074
 
    (
26075
 
      cat <<\_ASBOX
 
27363
    ( cat <<\_ASBOX
26076
27364
## ------------------------------------------------------------------------ ##
26077
27365
## Report this to a suitable curl mailing list => http://curl.haxx.se/mail/ ##
26078
27366
## ------------------------------------------------------------------------ ##
26079
27367
_ASBOX
26080
 
    ) |
26081
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
27368
     ) | sed "s/^/$as_me: WARNING:     /" >&2
26082
27369
    ;;
26083
27370
esac
26084
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
26085
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26086
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
27371
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
27372
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
27373
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26087
27374
  echo $ECHO_N "(cached) $ECHO_C" >&6
26088
27375
else
26089
27376
  eval "$as_ac_Header=\$ac_header_preproc"
26090
27377
fi
26091
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26092
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
27378
ac_res=`eval echo '${'$as_ac_Header'}'`
 
27379
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
27380
echo "${ECHO_T}$ac_res" >&6; }
26093
27381
 
26094
27382
fi
26095
27383
if test `eval echo '${'$as_ac_Header'}'` = yes; then
26118
27406
for ac_header in x509.h rsa.h crypto.h pem.h ssl.h err.h
26119
27407
do
26120
27408
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26121
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
26122
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
26123
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26124
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
27409
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
27410
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
27411
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
27412
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26125
27413
  echo $ECHO_N "(cached) $ECHO_C" >&6
26126
27414
fi
26127
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26128
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
27415
ac_res=`eval echo '${'$as_ac_Header'}'`
 
27416
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
27417
echo "${ECHO_T}$ac_res" >&6; }
26129
27418
else
26130
27419
  # Is the header compilable?
26131
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
26132
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
27420
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
27421
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26133
27422
cat >conftest.$ac_ext <<_ACEOF
26134
27423
/* confdefs.h.  */
26135
27424
_ACEOF
26140
27429
#include <$ac_header>
26141
27430
_ACEOF
26142
27431
rm -f conftest.$ac_objext
26143
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26144
 
  (eval $ac_compile) 2>conftest.er1
 
27432
if { (ac_try="$ac_compile"
 
27433
case "(($ac_try" in
 
27434
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27435
  *) ac_try_echo=$ac_try;;
 
27436
esac
 
27437
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27438
  (eval "$ac_compile") 2>conftest.er1
26145
27439
  ac_status=$?
26146
27440
  grep -v '^ *+' conftest.er1 >conftest.err
26147
27441
  rm -f conftest.er1
26148
27442
  cat conftest.err >&5
26149
27443
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150
27444
  (exit $ac_status); } &&
26151
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
26152
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26153
 
  (eval $ac_try) 2>&5
 
27445
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
27446
  { (case "(($ac_try" in
 
27447
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27448
  *) ac_try_echo=$ac_try;;
 
27449
esac
 
27450
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27451
  (eval "$ac_try") 2>&5
26154
27452
  ac_status=$?
26155
27453
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26156
27454
  (exit $ac_status); }; } &&
26157
27455
         { ac_try='test -s conftest.$ac_objext'
26158
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26159
 
  (eval $ac_try) 2>&5
 
27456
  { (case "(($ac_try" in
 
27457
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27458
  *) ac_try_echo=$ac_try;;
 
27459
esac
 
27460
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27461
  (eval "$ac_try") 2>&5
26160
27462
  ac_status=$?
26161
27463
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26162
27464
  (exit $ac_status); }; }; then
26165
27467
  echo "$as_me: failed program was:" >&5
26166
27468
sed 's/^/| /' conftest.$ac_ext >&5
26167
27469
 
26168
 
ac_header_compiler=no
 
27470
        ac_header_compiler=no
26169
27471
fi
 
27472
 
26170
27473
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26171
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26172
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
27474
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
27475
echo "${ECHO_T}$ac_header_compiler" >&6; }
26173
27476
 
26174
27477
# Is the header present?
26175
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
26176
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
27478
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
27479
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26177
27480
cat >conftest.$ac_ext <<_ACEOF
26178
27481
/* confdefs.h.  */
26179
27482
_ACEOF
26182
27485
/* end confdefs.h.  */
26183
27486
#include <$ac_header>
26184
27487
_ACEOF
26185
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26186
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
27488
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
27489
case "(($ac_try" in
 
27490
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27491
  *) ac_try_echo=$ac_try;;
 
27492
esac
 
27493
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27494
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26187
27495
  ac_status=$?
26188
27496
  grep -v '^ *+' conftest.er1 >conftest.err
26189
27497
  rm -f conftest.er1
26207
27515
 
26208
27516
  ac_header_preproc=no
26209
27517
fi
 
27518
 
26210
27519
rm -f conftest.err conftest.$ac_ext
26211
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26212
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
27520
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
27521
echo "${ECHO_T}$ac_header_preproc" >&6; }
26213
27522
 
26214
27523
# So?  What about this header?
26215
27524
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26233
27542
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26234
27543
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26235
27544
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26236
 
    (
26237
 
      cat <<\_ASBOX
 
27545
    ( cat <<\_ASBOX
26238
27546
## ------------------------------------------------------------------------ ##
26239
27547
## Report this to a suitable curl mailing list => http://curl.haxx.se/mail/ ##
26240
27548
## ------------------------------------------------------------------------ ##
26241
27549
_ASBOX
26242
 
    ) |
26243
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
27550
     ) | sed "s/^/$as_me: WARNING:     /" >&2
26244
27551
    ;;
26245
27552
esac
26246
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
26247
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26248
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
27553
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
27554
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
27555
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26249
27556
  echo $ECHO_N "(cached) $ECHO_C" >&6
26250
27557
else
26251
27558
  eval "$as_ac_Header=\$ac_header_preproc"
26252
27559
fi
26253
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26254
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
27560
ac_res=`eval echo '${'$as_ac_Header'}'`
 
27561
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
27562
echo "${ECHO_T}$ac_res" >&6; }
26255
27563
 
26256
27564
fi
26257
27565
if test `eval echo '${'$as_ac_Header'}'` = yes; then
26258
27566
  cat >>confdefs.h <<_ACEOF
26259
27567
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26260
27568
_ACEOF
26261
 
 curl_ssl_msg="enabled (OpenSSL)"
 
27569
 
 
27570
fi
 
27571
 
 
27572
done
 
27573
 
 
27574
 
 
27575
        if test $ac_cv_header_x509_h = yes &&
 
27576
           test $ac_cv_header_crypto_h = yes &&
 
27577
           test $ac_cv_header_ssl_h = yes; then
 
27578
                    curl_ssl_msg="enabled (OpenSSL)"
26262
27579
          OPENSSL_ENABLED=1
26263
 
fi
26264
 
 
26265
 
done
26266
 
 
 
27580
        fi
26267
27581
      fi
26268
27582
    fi
26269
27583
 
26278
27592
for ac_header in openssl/pkcs12.h
26279
27593
do
26280
27594
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26281
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
26282
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
26283
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26284
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
27595
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
27596
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
27597
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
27598
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26285
27599
  echo $ECHO_N "(cached) $ECHO_C" >&6
26286
27600
fi
26287
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26288
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
27601
ac_res=`eval echo '${'$as_ac_Header'}'`
 
27602
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
27603
echo "${ECHO_T}$ac_res" >&6; }
26289
27604
else
26290
27605
  # Is the header compilable?
26291
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
26292
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
27606
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
27607
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26293
27608
cat >conftest.$ac_ext <<_ACEOF
26294
27609
/* confdefs.h.  */
26295
27610
_ACEOF
26300
27615
#include <$ac_header>
26301
27616
_ACEOF
26302
27617
rm -f conftest.$ac_objext
26303
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26304
 
  (eval $ac_compile) 2>conftest.er1
 
27618
if { (ac_try="$ac_compile"
 
27619
case "(($ac_try" in
 
27620
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27621
  *) ac_try_echo=$ac_try;;
 
27622
esac
 
27623
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27624
  (eval "$ac_compile") 2>conftest.er1
26305
27625
  ac_status=$?
26306
27626
  grep -v '^ *+' conftest.er1 >conftest.err
26307
27627
  rm -f conftest.er1
26308
27628
  cat conftest.err >&5
26309
27629
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26310
27630
  (exit $ac_status); } &&
26311
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
26312
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26313
 
  (eval $ac_try) 2>&5
 
27631
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
27632
  { (case "(($ac_try" in
 
27633
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27634
  *) ac_try_echo=$ac_try;;
 
27635
esac
 
27636
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27637
  (eval "$ac_try") 2>&5
26314
27638
  ac_status=$?
26315
27639
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26316
27640
  (exit $ac_status); }; } &&
26317
27641
         { ac_try='test -s conftest.$ac_objext'
26318
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26319
 
  (eval $ac_try) 2>&5
 
27642
  { (case "(($ac_try" in
 
27643
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27644
  *) ac_try_echo=$ac_try;;
 
27645
esac
 
27646
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27647
  (eval "$ac_try") 2>&5
26320
27648
  ac_status=$?
26321
27649
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26322
27650
  (exit $ac_status); }; }; then
26325
27653
  echo "$as_me: failed program was:" >&5
26326
27654
sed 's/^/| /' conftest.$ac_ext >&5
26327
27655
 
26328
 
ac_header_compiler=no
 
27656
        ac_header_compiler=no
26329
27657
fi
 
27658
 
26330
27659
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26331
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26332
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
27660
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
27661
echo "${ECHO_T}$ac_header_compiler" >&6; }
26333
27662
 
26334
27663
# Is the header present?
26335
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
26336
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
27664
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
27665
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26337
27666
cat >conftest.$ac_ext <<_ACEOF
26338
27667
/* confdefs.h.  */
26339
27668
_ACEOF
26342
27671
/* end confdefs.h.  */
26343
27672
#include <$ac_header>
26344
27673
_ACEOF
26345
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26346
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
27674
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
27675
case "(($ac_try" in
 
27676
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27677
  *) ac_try_echo=$ac_try;;
 
27678
esac
 
27679
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27680
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26347
27681
  ac_status=$?
26348
27682
  grep -v '^ *+' conftest.er1 >conftest.err
26349
27683
  rm -f conftest.er1
26367
27701
 
26368
27702
  ac_header_preproc=no
26369
27703
fi
 
27704
 
26370
27705
rm -f conftest.err conftest.$ac_ext
26371
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26372
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
27706
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
27707
echo "${ECHO_T}$ac_header_preproc" >&6; }
26373
27708
 
26374
27709
# So?  What about this header?
26375
27710
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26393
27728
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26394
27729
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26395
27730
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26396
 
    (
26397
 
      cat <<\_ASBOX
 
27731
    ( cat <<\_ASBOX
26398
27732
## ------------------------------------------------------------------------ ##
26399
27733
## Report this to a suitable curl mailing list => http://curl.haxx.se/mail/ ##
26400
27734
## ------------------------------------------------------------------------ ##
26401
27735
_ASBOX
26402
 
    ) |
26403
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
27736
     ) | sed "s/^/$as_me: WARNING:     /" >&2
26404
27737
    ;;
26405
27738
esac
26406
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
26407
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26408
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
27739
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
27740
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
27741
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26409
27742
  echo $ECHO_N "(cached) $ECHO_C" >&6
26410
27743
else
26411
27744
  eval "$as_ac_Header=\$ac_header_preproc"
26412
27745
fi
26413
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26414
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
27746
ac_res=`eval echo '${'$as_ac_Header'}'`
 
27747
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
27748
echo "${ECHO_T}$ac_res" >&6; }
26415
27749
 
26416
27750
fi
26417
27751
if test `eval echo '${'$as_ac_Header'}'` = yes; then
26438
27772
  fi
26439
27773
 
26440
27774
  if test X"$OPENSSL_ENABLED" = X"1"; then
26441
 
            echo "$as_me:$LINENO: checking for ENGINE_init" >&5
26442
 
echo $ECHO_N "checking for ENGINE_init... $ECHO_C" >&6
 
27775
            { echo "$as_me:$LINENO: checking for ENGINE_init" >&5
 
27776
echo $ECHO_N "checking for ENGINE_init... $ECHO_C" >&6; }
26443
27777
if test "${ac_cv_func_ENGINE_init+set}" = set; then
26444
27778
  echo $ECHO_N "(cached) $ECHO_C" >&6
26445
27779
else
26466
27800
 
26467
27801
#undef ENGINE_init
26468
27802
 
26469
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
27803
/* Override any GCC internal prototype to avoid an error.
 
27804
   Use char because int might match the return type of a GCC
 
27805
   builtin and then its argument prototype would still apply.  */
26470
27806
#ifdef __cplusplus
26471
27807
extern "C"
26472
 
{
26473
27808
#endif
26474
 
/* We use char because int might match the return type of a gcc2
26475
 
   builtin and then its argument prototype would still apply.  */
26476
27809
char ENGINE_init ();
26477
27810
/* The GNU C library defines this for functions which it implements
26478
27811
    to always fail with ENOSYS.  Some functions are actually named
26479
27812
    something starting with __ and the normal name is an alias.  */
26480
 
#if defined (__stub_ENGINE_init) || defined (__stub___ENGINE_init)
 
27813
#if defined __stub_ENGINE_init || defined __stub___ENGINE_init
26481
27814
choke me
26482
 
#else
26483
 
char (*f) () = ENGINE_init;
26484
 
#endif
26485
 
#ifdef __cplusplus
26486
 
}
26487
27815
#endif
26488
27816
 
26489
27817
int
26490
27818
main ()
26491
27819
{
26492
 
return f != ENGINE_init;
 
27820
return ENGINE_init ();
26493
27821
  ;
26494
27822
  return 0;
26495
27823
}
26496
27824
_ACEOF
26497
27825
rm -f conftest.$ac_objext conftest$ac_exeext
26498
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26499
 
  (eval $ac_link) 2>conftest.er1
 
27826
if { (ac_try="$ac_link"
 
27827
case "(($ac_try" in
 
27828
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27829
  *) ac_try_echo=$ac_try;;
 
27830
esac
 
27831
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27832
  (eval "$ac_link") 2>conftest.er1
26500
27833
  ac_status=$?
26501
27834
  grep -v '^ *+' conftest.er1 >conftest.err
26502
27835
  rm -f conftest.er1
26503
27836
  cat conftest.err >&5
26504
27837
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26505
27838
  (exit $ac_status); } &&
26506
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
26507
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26508
 
  (eval $ac_try) 2>&5
 
27839
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
27840
  { (case "(($ac_try" in
 
27841
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27842
  *) ac_try_echo=$ac_try;;
 
27843
esac
 
27844
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27845
  (eval "$ac_try") 2>&5
26509
27846
  ac_status=$?
26510
27847
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26511
27848
  (exit $ac_status); }; } &&
26512
27849
         { ac_try='test -s conftest$ac_exeext'
26513
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26514
 
  (eval $ac_try) 2>&5
 
27850
  { (case "(($ac_try" in
 
27851
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27852
  *) ac_try_echo=$ac_try;;
 
27853
esac
 
27854
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27855
  (eval "$ac_try") 2>&5
26515
27856
  ac_status=$?
26516
27857
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517
27858
  (exit $ac_status); }; }; then
26520
27861
  echo "$as_me: failed program was:" >&5
26521
27862
sed 's/^/| /' conftest.$ac_ext >&5
26522
27863
 
26523
 
ac_cv_func_ENGINE_init=no
 
27864
        ac_cv_func_ENGINE_init=no
26524
27865
fi
 
27866
 
26525
27867
rm -f conftest.err conftest.$ac_objext \
26526
27868
      conftest$ac_exeext conftest.$ac_ext
26527
27869
fi
26528
 
echo "$as_me:$LINENO: result: $ac_cv_func_ENGINE_init" >&5
26529
 
echo "${ECHO_T}$ac_cv_func_ENGINE_init" >&6
 
27870
{ echo "$as_me:$LINENO: result: $ac_cv_func_ENGINE_init" >&5
 
27871
echo "${ECHO_T}$ac_cv_func_ENGINE_init" >&6; }
26530
27872
if test $ac_cv_func_ENGINE_init = yes; then
26531
27873
 
26532
27874
 
26533
27875
for ac_header in openssl/engine.h
26534
27876
do
26535
27877
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26536
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
26537
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
26538
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26539
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
27878
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
27879
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
27880
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
27881
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26540
27882
  echo $ECHO_N "(cached) $ECHO_C" >&6
26541
27883
fi
26542
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26543
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
27884
ac_res=`eval echo '${'$as_ac_Header'}'`
 
27885
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
27886
echo "${ECHO_T}$ac_res" >&6; }
26544
27887
else
26545
27888
  # Is the header compilable?
26546
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
26547
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
27889
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
27890
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26548
27891
cat >conftest.$ac_ext <<_ACEOF
26549
27892
/* confdefs.h.  */
26550
27893
_ACEOF
26555
27898
#include <$ac_header>
26556
27899
_ACEOF
26557
27900
rm -f conftest.$ac_objext
26558
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26559
 
  (eval $ac_compile) 2>conftest.er1
 
27901
if { (ac_try="$ac_compile"
 
27902
case "(($ac_try" in
 
27903
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27904
  *) ac_try_echo=$ac_try;;
 
27905
esac
 
27906
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27907
  (eval "$ac_compile") 2>conftest.er1
26560
27908
  ac_status=$?
26561
27909
  grep -v '^ *+' conftest.er1 >conftest.err
26562
27910
  rm -f conftest.er1
26563
27911
  cat conftest.err >&5
26564
27912
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26565
27913
  (exit $ac_status); } &&
26566
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
26567
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26568
 
  (eval $ac_try) 2>&5
 
27914
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
27915
  { (case "(($ac_try" in
 
27916
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27917
  *) ac_try_echo=$ac_try;;
 
27918
esac
 
27919
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27920
  (eval "$ac_try") 2>&5
26569
27921
  ac_status=$?
26570
27922
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26571
27923
  (exit $ac_status); }; } &&
26572
27924
         { ac_try='test -s conftest.$ac_objext'
26573
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26574
 
  (eval $ac_try) 2>&5
 
27925
  { (case "(($ac_try" in
 
27926
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27927
  *) ac_try_echo=$ac_try;;
 
27928
esac
 
27929
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27930
  (eval "$ac_try") 2>&5
26575
27931
  ac_status=$?
26576
27932
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26577
27933
  (exit $ac_status); }; }; then
26580
27936
  echo "$as_me: failed program was:" >&5
26581
27937
sed 's/^/| /' conftest.$ac_ext >&5
26582
27938
 
26583
 
ac_header_compiler=no
 
27939
        ac_header_compiler=no
26584
27940
fi
 
27941
 
26585
27942
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26586
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26587
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
27943
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
27944
echo "${ECHO_T}$ac_header_compiler" >&6; }
26588
27945
 
26589
27946
# Is the header present?
26590
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
26591
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
27947
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
27948
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26592
27949
cat >conftest.$ac_ext <<_ACEOF
26593
27950
/* confdefs.h.  */
26594
27951
_ACEOF
26597
27954
/* end confdefs.h.  */
26598
27955
#include <$ac_header>
26599
27956
_ACEOF
26600
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26601
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
27957
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
27958
case "(($ac_try" in
 
27959
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27960
  *) ac_try_echo=$ac_try;;
 
27961
esac
 
27962
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27963
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26602
27964
  ac_status=$?
26603
27965
  grep -v '^ *+' conftest.er1 >conftest.err
26604
27966
  rm -f conftest.er1
26622
27984
 
26623
27985
  ac_header_preproc=no
26624
27986
fi
 
27987
 
26625
27988
rm -f conftest.err conftest.$ac_ext
26626
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26627
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
27989
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
27990
echo "${ECHO_T}$ac_header_preproc" >&6; }
26628
27991
 
26629
27992
# So?  What about this header?
26630
27993
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26648
28011
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26649
28012
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26650
28013
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26651
 
    (
26652
 
      cat <<\_ASBOX
 
28014
    ( cat <<\_ASBOX
26653
28015
## ------------------------------------------------------------------------ ##
26654
28016
## Report this to a suitable curl mailing list => http://curl.haxx.se/mail/ ##
26655
28017
## ------------------------------------------------------------------------ ##
26656
28018
_ASBOX
26657
 
    ) |
26658
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
28019
     ) | sed "s/^/$as_me: WARNING:     /" >&2
26659
28020
    ;;
26660
28021
esac
26661
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
26662
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26663
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
28022
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
28023
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
28024
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26664
28025
  echo $ECHO_N "(cached) $ECHO_C" >&6
26665
28026
else
26666
28027
  eval "$as_ac_Header=\$ac_header_preproc"
26667
28028
fi
26668
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26669
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
28029
ac_res=`eval echo '${'$as_ac_Header'}'`
 
28030
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
28031
echo "${ECHO_T}$ac_res" >&6; }
26670
28032
 
26671
28033
fi
26672
28034
if test `eval echo '${'$as_ac_Header'}'` = yes; then
26682
28044
for ac_func in ENGINE_load_builtin_engines
26683
28045
do
26684
28046
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26685
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
26686
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26687
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
28047
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
28048
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
28049
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26688
28050
  echo $ECHO_N "(cached) $ECHO_C" >&6
26689
28051
else
26690
28052
  cat >conftest.$ac_ext <<_ACEOF
26710
28072
 
26711
28073
#undef $ac_func
26712
28074
 
26713
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
28075
/* Override any GCC internal prototype to avoid an error.
 
28076
   Use char because int might match the return type of a GCC
 
28077
   builtin and then its argument prototype would still apply.  */
26714
28078
#ifdef __cplusplus
26715
28079
extern "C"
26716
 
{
26717
28080
#endif
26718
 
/* We use char because int might match the return type of a gcc2
26719
 
   builtin and then its argument prototype would still apply.  */
26720
28081
char $ac_func ();
26721
28082
/* The GNU C library defines this for functions which it implements
26722
28083
    to always fail with ENOSYS.  Some functions are actually named
26723
28084
    something starting with __ and the normal name is an alias.  */
26724
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
28085
#if defined __stub_$ac_func || defined __stub___$ac_func
26725
28086
choke me
26726
 
#else
26727
 
char (*f) () = $ac_func;
26728
 
#endif
26729
 
#ifdef __cplusplus
26730
 
}
26731
28087
#endif
26732
28088
 
26733
28089
int
26734
28090
main ()
26735
28091
{
26736
 
return f != $ac_func;
 
28092
return $ac_func ();
26737
28093
  ;
26738
28094
  return 0;
26739
28095
}
26740
28096
_ACEOF
26741
28097
rm -f conftest.$ac_objext conftest$ac_exeext
26742
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26743
 
  (eval $ac_link) 2>conftest.er1
 
28098
if { (ac_try="$ac_link"
 
28099
case "(($ac_try" in
 
28100
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28101
  *) ac_try_echo=$ac_try;;
 
28102
esac
 
28103
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28104
  (eval "$ac_link") 2>conftest.er1
26744
28105
  ac_status=$?
26745
28106
  grep -v '^ *+' conftest.er1 >conftest.err
26746
28107
  rm -f conftest.er1
26747
28108
  cat conftest.err >&5
26748
28109
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26749
28110
  (exit $ac_status); } &&
26750
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
26751
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26752
 
  (eval $ac_try) 2>&5
 
28111
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
28112
  { (case "(($ac_try" in
 
28113
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28114
  *) ac_try_echo=$ac_try;;
 
28115
esac
 
28116
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28117
  (eval "$ac_try") 2>&5
26753
28118
  ac_status=$?
26754
28119
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26755
28120
  (exit $ac_status); }; } &&
26756
28121
         { ac_try='test -s conftest$ac_exeext'
26757
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26758
 
  (eval $ac_try) 2>&5
 
28122
  { (case "(($ac_try" in
 
28123
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28124
  *) ac_try_echo=$ac_try;;
 
28125
esac
 
28126
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28127
  (eval "$ac_try") 2>&5
26759
28128
  ac_status=$?
26760
28129
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26761
28130
  (exit $ac_status); }; }; then
26764
28133
  echo "$as_me: failed program was:" >&5
26765
28134
sed 's/^/| /' conftest.$ac_ext >&5
26766
28135
 
26767
 
eval "$as_ac_var=no"
 
28136
        eval "$as_ac_var=no"
26768
28137
fi
 
28138
 
26769
28139
rm -f conftest.err conftest.$ac_objext \
26770
28140
      conftest$ac_exeext conftest.$ac_ext
26771
28141
fi
26772
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26773
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
28142
ac_res=`eval echo '${'$as_ac_var'}'`
 
28143
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
28144
echo "${ECHO_T}$ac_res" >&6; }
26774
28145
if test `eval echo '${'$as_ac_var'}'` = yes; then
26775
28146
  cat >>confdefs.h <<_ACEOF
26776
28147
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26794
28165
                    CRYPTO_cleanup_all_ex_data
26795
28166
do
26796
28167
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26797
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
26798
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26799
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
28168
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
28169
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
28170
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26800
28171
  echo $ECHO_N "(cached) $ECHO_C" >&6
26801
28172
else
26802
28173
  cat >conftest.$ac_ext <<_ACEOF
26822
28193
 
26823
28194
#undef $ac_func
26824
28195
 
26825
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
28196
/* Override any GCC internal prototype to avoid an error.
 
28197
   Use char because int might match the return type of a GCC
 
28198
   builtin and then its argument prototype would still apply.  */
26826
28199
#ifdef __cplusplus
26827
28200
extern "C"
26828
 
{
26829
28201
#endif
26830
 
/* We use char because int might match the return type of a gcc2
26831
 
   builtin and then its argument prototype would still apply.  */
26832
28202
char $ac_func ();
26833
28203
/* The GNU C library defines this for functions which it implements
26834
28204
    to always fail with ENOSYS.  Some functions are actually named
26835
28205
    something starting with __ and the normal name is an alias.  */
26836
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
28206
#if defined __stub_$ac_func || defined __stub___$ac_func
26837
28207
choke me
26838
 
#else
26839
 
char (*f) () = $ac_func;
26840
 
#endif
26841
 
#ifdef __cplusplus
26842
 
}
26843
28208
#endif
26844
28209
 
26845
28210
int
26846
28211
main ()
26847
28212
{
26848
 
return f != $ac_func;
 
28213
return $ac_func ();
26849
28214
  ;
26850
28215
  return 0;
26851
28216
}
26852
28217
_ACEOF
26853
28218
rm -f conftest.$ac_objext conftest$ac_exeext
26854
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26855
 
  (eval $ac_link) 2>conftest.er1
 
28219
if { (ac_try="$ac_link"
 
28220
case "(($ac_try" in
 
28221
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28222
  *) ac_try_echo=$ac_try;;
 
28223
esac
 
28224
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28225
  (eval "$ac_link") 2>conftest.er1
26856
28226
  ac_status=$?
26857
28227
  grep -v '^ *+' conftest.er1 >conftest.err
26858
28228
  rm -f conftest.er1
26859
28229
  cat conftest.err >&5
26860
28230
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26861
28231
  (exit $ac_status); } &&
26862
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
26863
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26864
 
  (eval $ac_try) 2>&5
 
28232
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
28233
  { (case "(($ac_try" in
 
28234
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28235
  *) ac_try_echo=$ac_try;;
 
28236
esac
 
28237
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28238
  (eval "$ac_try") 2>&5
26865
28239
  ac_status=$?
26866
28240
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26867
28241
  (exit $ac_status); }; } &&
26868
28242
         { ac_try='test -s conftest$ac_exeext'
26869
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26870
 
  (eval $ac_try) 2>&5
 
28243
  { (case "(($ac_try" in
 
28244
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28245
  *) ac_try_echo=$ac_try;;
 
28246
esac
 
28247
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28248
  (eval "$ac_try") 2>&5
26871
28249
  ac_status=$?
26872
28250
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26873
28251
  (exit $ac_status); }; }; then
26876
28254
  echo "$as_me: failed program was:" >&5
26877
28255
sed 's/^/| /' conftest.$ac_ext >&5
26878
28256
 
26879
 
eval "$as_ac_var=no"
 
28257
        eval "$as_ac_var=no"
26880
28258
fi
 
28259
 
26881
28260
rm -f conftest.err conftest.$ac_objext \
26882
28261
      conftest$ac_exeext conftest.$ac_ext
26883
28262
fi
26884
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26885
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
28263
ac_res=`eval echo '${'$as_ac_var'}'`
 
28264
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
28265
echo "${ECHO_T}$ac_res" >&6; }
26886
28266
if test `eval echo '${'$as_ac_var'}'` = yes; then
26887
28267
  cat >>confdefs.h <<_ACEOF
26888
28268
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26909
28289
 
26910
28290
if test X"$OPENSSL_ENABLED" = X"1"; then
26911
28291
 
26912
 
# Check whether --with-egd-socket or --without-egd-socket was given.
 
28292
# Check whether --with-egd-socket was given.
26913
28293
if test "${with_egd_socket+set}" = set; then
26914
 
  withval="$with_egd_socket"
26915
 
   EGD_SOCKET="$withval"
26916
 
 
26917
 
fi;
 
28294
  withval=$with_egd_socket;  EGD_SOCKET="$withval"
 
28295
 
 
28296
fi
 
28297
 
26918
28298
  if test -n "$EGD_SOCKET" ; then
26919
28299
 
26920
28300
cat >>confdefs.h <<_ACEOF
26924
28304
  fi
26925
28305
 
26926
28306
 
26927
 
# Check whether --with-random or --without-random was given.
 
28307
# Check whether --with-random was given.
26928
28308
if test "${with_random+set}" = set; then
26929
 
  withval="$with_random"
26930
 
   RANDOM_FILE="$withval"
 
28309
  withval=$with_random;  RANDOM_FILE="$withval"
26931
28310
else
26932
28311
 
26933
 
                    echo "$as_me:$LINENO: checking for \"/dev/urandom\"" >&5
26934
 
echo $ECHO_N "checking for \"/dev/urandom\"... $ECHO_C" >&6
 
28312
                    { echo "$as_me:$LINENO: checking for \"/dev/urandom\"" >&5
 
28313
echo $ECHO_N "checking for \"/dev/urandom\"... $ECHO_C" >&6; }
26935
28314
if test "${ac_cv_file___dev_urandom_+set}" = set; then
26936
28315
  echo $ECHO_N "(cached) $ECHO_C" >&6
26937
28316
else
26945
28324
  ac_cv_file___dev_urandom_=no
26946
28325
fi
26947
28326
fi
26948
 
echo "$as_me:$LINENO: result: $ac_cv_file___dev_urandom_" >&5
26949
 
echo "${ECHO_T}$ac_cv_file___dev_urandom_" >&6
 
28327
{ echo "$as_me:$LINENO: result: $ac_cv_file___dev_urandom_" >&5
 
28328
echo "${ECHO_T}$ac_cv_file___dev_urandom_" >&6; }
26950
28329
if test $ac_cv_file___dev_urandom_ = yes; then
26951
28330
   RANDOM_FILE="/dev/urandom"
26952
28331
fi
26953
28332
 
26954
28333
 
26955
28334
 
26956
 
fi;
 
28335
fi
 
28336
 
26957
28337
  if test -n "$RANDOM_FILE" && test X"$RANDOM_FILE" != Xno ; then
26958
28338
 
26959
28339
 
26968
28348
OPT_GNUTLS=no
26969
28349
 
26970
28350
 
26971
 
# Check whether --with-gnutls or --without-gnutls was given.
 
28351
# Check whether --with-gnutls was given.
26972
28352
if test "${with_gnutls+set}" = set; then
26973
 
  withval="$with_gnutls"
26974
 
  OPT_GNUTLS=$withval
26975
 
fi;
 
28353
  withval=$with_gnutls; OPT_GNUTLS=$withval
 
28354
fi
 
28355
 
26976
28356
 
26977
28357
if test "$OPENSSL_ENABLED" != "1"; then
26978
28358
 
26996
28376
    fi
26997
28377
    if test -n "$addlib"; then
26998
28378
 
26999
 
      CLEANLDFLAGS="$LDFLAGS"
 
28379
      CLEANLIBS="$LIBS"
27000
28380
      CLEANCPPFLAGS="$CPPFLAGS"
27001
28381
 
27002
 
      LDFLAGS="$LDFLAGS $addlib"
 
28382
      LIBS="$LIBS $addlib"
27003
28383
      if test "$addcflags" != "-I/usr/include"; then
27004
28384
         CPPFLAGS="$CPPFLAGS $addcflags"
27005
28385
      fi
27006
28386
 
27007
 
      echo "$as_me:$LINENO: checking for gnutls_check_version in -lgnutls" >&5
27008
 
echo $ECHO_N "checking for gnutls_check_version in -lgnutls... $ECHO_C" >&6
 
28387
      { echo "$as_me:$LINENO: checking for gnutls_check_version in -lgnutls" >&5
 
28388
echo $ECHO_N "checking for gnutls_check_version in -lgnutls... $ECHO_C" >&6; }
27009
28389
if test "${ac_cv_lib_gnutls_gnutls_check_version+set}" = set; then
27010
28390
  echo $ECHO_N "(cached) $ECHO_C" >&6
27011
28391
else
27018
28398
cat >>conftest.$ac_ext <<_ACEOF
27019
28399
/* end confdefs.h.  */
27020
28400
 
27021
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
28401
/* Override any GCC internal prototype to avoid an error.
 
28402
   Use char because int might match the return type of a GCC
 
28403
   builtin and then its argument prototype would still apply.  */
27022
28404
#ifdef __cplusplus
27023
28405
extern "C"
27024
28406
#endif
27025
 
/* We use char because int might match the return type of a gcc2
27026
 
   builtin and then its argument prototype would still apply.  */
27027
28407
char gnutls_check_version ();
27028
28408
int
27029
28409
main ()
27030
28410
{
27031
 
gnutls_check_version ();
 
28411
return gnutls_check_version ();
27032
28412
  ;
27033
28413
  return 0;
27034
28414
}
27035
28415
_ACEOF
27036
28416
rm -f conftest.$ac_objext conftest$ac_exeext
27037
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27038
 
  (eval $ac_link) 2>conftest.er1
 
28417
if { (ac_try="$ac_link"
 
28418
case "(($ac_try" in
 
28419
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28420
  *) ac_try_echo=$ac_try;;
 
28421
esac
 
28422
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28423
  (eval "$ac_link") 2>conftest.er1
27039
28424
  ac_status=$?
27040
28425
  grep -v '^ *+' conftest.er1 >conftest.err
27041
28426
  rm -f conftest.er1
27042
28427
  cat conftest.err >&5
27043
28428
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27044
28429
  (exit $ac_status); } &&
27045
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
27046
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27047
 
  (eval $ac_try) 2>&5
 
28430
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
28431
  { (case "(($ac_try" in
 
28432
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28433
  *) ac_try_echo=$ac_try;;
 
28434
esac
 
28435
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28436
  (eval "$ac_try") 2>&5
27048
28437
  ac_status=$?
27049
28438
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27050
28439
  (exit $ac_status); }; } &&
27051
28440
         { ac_try='test -s conftest$ac_exeext'
27052
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27053
 
  (eval $ac_try) 2>&5
 
28441
  { (case "(($ac_try" in
 
28442
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28443
  *) ac_try_echo=$ac_try;;
 
28444
esac
 
28445
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28446
  (eval "$ac_try") 2>&5
27054
28447
  ac_status=$?
27055
28448
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27056
28449
  (exit $ac_status); }; }; then
27059
28452
  echo "$as_me: failed program was:" >&5
27060
28453
sed 's/^/| /' conftest.$ac_ext >&5
27061
28454
 
27062
 
ac_cv_lib_gnutls_gnutls_check_version=no
 
28455
        ac_cv_lib_gnutls_gnutls_check_version=no
27063
28456
fi
 
28457
 
27064
28458
rm -f conftest.err conftest.$ac_objext \
27065
28459
      conftest$ac_exeext conftest.$ac_ext
27066
28460
LIBS=$ac_check_lib_save_LIBS
27067
28461
fi
27068
 
echo "$as_me:$LINENO: result: $ac_cv_lib_gnutls_gnutls_check_version" >&5
27069
 
echo "${ECHO_T}$ac_cv_lib_gnutls_gnutls_check_version" >&6
 
28462
{ echo "$as_me:$LINENO: result: $ac_cv_lib_gnutls_gnutls_check_version" >&5
 
28463
echo "${ECHO_T}$ac_cv_lib_gnutls_gnutls_check_version" >&6; }
27070
28464
if test $ac_cv_lib_gnutls_gnutls_check_version = yes; then
27071
28465
 
27072
28466
 
27081
28475
 
27082
28476
else
27083
28477
 
27084
 
         LDFLAGS="$CLEANLDFLAGS"
 
28478
         LIBS="$CLEANLIBS"
27085
28479
         CPPFLAGS="$CLEANCPPFLAGS"
27086
28480
 
27087
28481
fi
27112
28506
 
27113
28507
if test X"$USE_GNUTLS$OPENSSL_ENABLED" != "X"; then
27114
28508
 
27115
 
  echo "$as_me:$LINENO: checking CA cert bundle install path" >&5
27116
 
echo $ECHO_N "checking CA cert bundle install path... $ECHO_C" >&6
27117
 
 
27118
 
 
27119
 
# Check whether --with-ca-bundle or --without-ca-bundle was given.
 
28509
  { echo "$as_me:$LINENO: checking CA cert bundle install path" >&5
 
28510
echo $ECHO_N "checking CA cert bundle install path... $ECHO_C" >&6; }
 
28511
 
 
28512
 
 
28513
# Check whether --with-ca-bundle was given.
27120
28514
if test "${with_ca_bundle+set}" = set; then
27121
 
  withval="$with_ca_bundle"
27122
 
   ca="$withval"
 
28515
  withval=$with_ca_bundle;  ca="$withval"
27123
28516
else
27124
28517
 
27125
28518
      if test "x$prefix" != xNONE; then
27128
28521
        ca="$ac_default_prefix/share/curl/curl-ca-bundle.crt"
27129
28522
      fi
27130
28523
 
27131
 
fi;
 
28524
fi
 
28525
 
27132
28526
 
27133
28527
    if test "x$ca" != "xno"; then
27134
28528
      CURL_CA_BUNDLE='"'$ca'"'
27135
28529
 
27136
28530
    fi
27137
 
    echo "$as_me:$LINENO: result: $ca" >&5
27138
 
echo "${ECHO_T}$ca" >&6
 
28531
    { echo "$as_me:$LINENO: result: $ca" >&5
 
28532
echo "${ECHO_T}$ca" >&6; }
27139
28533
fi
27140
28534
 
27141
28535
 
27156
28550
_cppflags=$CPPFLAGS
27157
28551
_ldflags=$LDFLAGS
27158
28552
 
27159
 
# Check whether --with-zlib or --without-zlib was given.
 
28553
# Check whether --with-zlib was given.
27160
28554
if test "${with_zlib+set}" = set; then
27161
 
  withval="$with_zlib"
27162
 
  OPT_ZLIB="$withval"
27163
 
fi;
 
28555
  withval=$with_zlib; OPT_ZLIB="$withval"
 
28556
fi
 
28557
 
27164
28558
 
27165
28559
if test "$OPT_ZLIB" = "no" ; then
27166
28560
    { echo "$as_me:$LINENO: WARNING: zlib disabled" >&5
27172
28566
 
27173
28567
  if test -z "$OPT_ZLIB" ; then
27174
28568
 
27175
 
    echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
27176
 
echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6
 
28569
    { echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
 
28570
echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6; }
27177
28571
if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
27178
28572
  echo $ECHO_N "(cached) $ECHO_C" >&6
27179
28573
else
27186
28580
cat >>conftest.$ac_ext <<_ACEOF
27187
28581
/* end confdefs.h.  */
27188
28582
 
27189
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
28583
/* Override any GCC internal prototype to avoid an error.
 
28584
   Use char because int might match the return type of a GCC
 
28585
   builtin and then its argument prototype would still apply.  */
27190
28586
#ifdef __cplusplus
27191
28587
extern "C"
27192
28588
#endif
27193
 
/* We use char because int might match the return type of a gcc2
27194
 
   builtin and then its argument prototype would still apply.  */
27195
28589
char inflateEnd ();
27196
28590
int
27197
28591
main ()
27198
28592
{
27199
 
inflateEnd ();
 
28593
return inflateEnd ();
27200
28594
  ;
27201
28595
  return 0;
27202
28596
}
27203
28597
_ACEOF
27204
28598
rm -f conftest.$ac_objext conftest$ac_exeext
27205
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27206
 
  (eval $ac_link) 2>conftest.er1
 
28599
if { (ac_try="$ac_link"
 
28600
case "(($ac_try" in
 
28601
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28602
  *) ac_try_echo=$ac_try;;
 
28603
esac
 
28604
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28605
  (eval "$ac_link") 2>conftest.er1
27207
28606
  ac_status=$?
27208
28607
  grep -v '^ *+' conftest.er1 >conftest.err
27209
28608
  rm -f conftest.er1
27210
28609
  cat conftest.err >&5
27211
28610
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27212
28611
  (exit $ac_status); } &&
27213
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
27214
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27215
 
  (eval $ac_try) 2>&5
 
28612
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
28613
  { (case "(($ac_try" in
 
28614
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28615
  *) ac_try_echo=$ac_try;;
 
28616
esac
 
28617
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28618
  (eval "$ac_try") 2>&5
27216
28619
  ac_status=$?
27217
28620
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27218
28621
  (exit $ac_status); }; } &&
27219
28622
         { ac_try='test -s conftest$ac_exeext'
27220
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27221
 
  (eval $ac_try) 2>&5
 
28623
  { (case "(($ac_try" in
 
28624
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28625
  *) ac_try_echo=$ac_try;;
 
28626
esac
 
28627
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28628
  (eval "$ac_try") 2>&5
27222
28629
  ac_status=$?
27223
28630
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27224
28631
  (exit $ac_status); }; }; then
27227
28634
  echo "$as_me: failed program was:" >&5
27228
28635
sed 's/^/| /' conftest.$ac_ext >&5
27229
28636
 
27230
 
ac_cv_lib_z_inflateEnd=no
 
28637
        ac_cv_lib_z_inflateEnd=no
27231
28638
fi
 
28639
 
27232
28640
rm -f conftest.err conftest.$ac_objext \
27233
28641
      conftest$ac_exeext conftest.$ac_ext
27234
28642
LIBS=$ac_check_lib_save_LIBS
27235
28643
fi
27236
 
echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
27237
 
echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6
 
28644
{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
 
28645
echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6; }
27238
28646
if test $ac_cv_lib_z_inflateEnd = yes; then
27239
28647
                     HAVE_LIBZ="1"
27240
28648
else
27250
28658
  fi
27251
28659
 
27252
28660
  if test "${ac_cv_header_zlib_h+set}" = set; then
27253
 
  echo "$as_me:$LINENO: checking for zlib.h" >&5
27254
 
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
 
28661
  { echo "$as_me:$LINENO: checking for zlib.h" >&5
 
28662
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27255
28663
if test "${ac_cv_header_zlib_h+set}" = set; then
27256
28664
  echo $ECHO_N "(cached) $ECHO_C" >&6
27257
28665
fi
27258
 
echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27259
 
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
 
28666
{ echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
 
28667
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27260
28668
else
27261
28669
  # Is the header compilable?
27262
 
echo "$as_me:$LINENO: checking zlib.h usability" >&5
27263
 
echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
 
28670
{ echo "$as_me:$LINENO: checking zlib.h usability" >&5
 
28671
echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; }
27264
28672
cat >conftest.$ac_ext <<_ACEOF
27265
28673
/* confdefs.h.  */
27266
28674
_ACEOF
27271
28679
#include <zlib.h>
27272
28680
_ACEOF
27273
28681
rm -f conftest.$ac_objext
27274
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27275
 
  (eval $ac_compile) 2>conftest.er1
 
28682
if { (ac_try="$ac_compile"
 
28683
case "(($ac_try" in
 
28684
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28685
  *) ac_try_echo=$ac_try;;
 
28686
esac
 
28687
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28688
  (eval "$ac_compile") 2>conftest.er1
27276
28689
  ac_status=$?
27277
28690
  grep -v '^ *+' conftest.er1 >conftest.err
27278
28691
  rm -f conftest.er1
27279
28692
  cat conftest.err >&5
27280
28693
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27281
28694
  (exit $ac_status); } &&
27282
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
27283
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27284
 
  (eval $ac_try) 2>&5
 
28695
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
28696
  { (case "(($ac_try" in
 
28697
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28698
  *) ac_try_echo=$ac_try;;
 
28699
esac
 
28700
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28701
  (eval "$ac_try") 2>&5
27285
28702
  ac_status=$?
27286
28703
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27287
28704
  (exit $ac_status); }; } &&
27288
28705
         { ac_try='test -s conftest.$ac_objext'
27289
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27290
 
  (eval $ac_try) 2>&5
 
28706
  { (case "(($ac_try" in
 
28707
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28708
  *) ac_try_echo=$ac_try;;
 
28709
esac
 
28710
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28711
  (eval "$ac_try") 2>&5
27291
28712
  ac_status=$?
27292
28713
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27293
28714
  (exit $ac_status); }; }; then
27296
28717
  echo "$as_me: failed program was:" >&5
27297
28718
sed 's/^/| /' conftest.$ac_ext >&5
27298
28719
 
27299
 
ac_header_compiler=no
 
28720
        ac_header_compiler=no
27300
28721
fi
 
28722
 
27301
28723
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27302
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27303
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
28724
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
28725
echo "${ECHO_T}$ac_header_compiler" >&6; }
27304
28726
 
27305
28727
# Is the header present?
27306
 
echo "$as_me:$LINENO: checking zlib.h presence" >&5
27307
 
echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
 
28728
{ echo "$as_me:$LINENO: checking zlib.h presence" >&5
 
28729
echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; }
27308
28730
cat >conftest.$ac_ext <<_ACEOF
27309
28731
/* confdefs.h.  */
27310
28732
_ACEOF
27313
28735
/* end confdefs.h.  */
27314
28736
#include <zlib.h>
27315
28737
_ACEOF
27316
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27317
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
28738
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
28739
case "(($ac_try" in
 
28740
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28741
  *) ac_try_echo=$ac_try;;
 
28742
esac
 
28743
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28744
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27318
28745
  ac_status=$?
27319
28746
  grep -v '^ *+' conftest.er1 >conftest.err
27320
28747
  rm -f conftest.er1
27338
28765
 
27339
28766
  ac_header_preproc=no
27340
28767
fi
 
28768
 
27341
28769
rm -f conftest.err conftest.$ac_ext
27342
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27343
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
28770
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
28771
echo "${ECHO_T}$ac_header_preproc" >&6; }
27344
28772
 
27345
28773
# So?  What about this header?
27346
28774
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27364
28792
echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
27365
28793
    { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
27366
28794
echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
27367
 
    (
27368
 
      cat <<\_ASBOX
 
28795
    ( cat <<\_ASBOX
27369
28796
## ------------------------------------------------------------------------ ##
27370
28797
## Report this to a suitable curl mailing list => http://curl.haxx.se/mail/ ##
27371
28798
## ------------------------------------------------------------------------ ##
27372
28799
_ASBOX
27373
 
    ) |
27374
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
28800
     ) | sed "s/^/$as_me: WARNING:     /" >&2
27375
28801
    ;;
27376
28802
esac
27377
 
echo "$as_me:$LINENO: checking for zlib.h" >&5
27378
 
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
 
28803
{ echo "$as_me:$LINENO: checking for zlib.h" >&5
 
28804
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27379
28805
if test "${ac_cv_header_zlib_h+set}" = set; then
27380
28806
  echo $ECHO_N "(cached) $ECHO_C" >&6
27381
28807
else
27382
28808
  ac_cv_header_zlib_h=$ac_header_preproc
27383
28809
fi
27384
 
echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27385
 
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
 
28810
{ echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
 
28811
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27386
28812
 
27387
28813
fi
27388
28814
if test $ac_cv_header_zlib_h = yes; then
27389
28815
 
27390
28816
        HAVE_ZLIB_H="1"
27391
28817
        if test "$HAVE_LIBZ" != "1"; then
27392
 
      echo "$as_me:$LINENO: checking for gzread in -lz" >&5
27393
 
echo $ECHO_N "checking for gzread in -lz... $ECHO_C" >&6
 
28818
      { echo "$as_me:$LINENO: checking for gzread in -lz" >&5
 
28819
echo $ECHO_N "checking for gzread in -lz... $ECHO_C" >&6; }
27394
28820
if test "${ac_cv_lib_z_gzread+set}" = set; then
27395
28821
  echo $ECHO_N "(cached) $ECHO_C" >&6
27396
28822
else
27403
28829
cat >>conftest.$ac_ext <<_ACEOF
27404
28830
/* end confdefs.h.  */
27405
28831
 
27406
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
28832
/* Override any GCC internal prototype to avoid an error.
 
28833
   Use char because int might match the return type of a GCC
 
28834
   builtin and then its argument prototype would still apply.  */
27407
28835
#ifdef __cplusplus
27408
28836
extern "C"
27409
28837
#endif
27410
 
/* We use char because int might match the return type of a gcc2
27411
 
   builtin and then its argument prototype would still apply.  */
27412
28838
char gzread ();
27413
28839
int
27414
28840
main ()
27415
28841
{
27416
 
gzread ();
 
28842
return gzread ();
27417
28843
  ;
27418
28844
  return 0;
27419
28845
}
27420
28846
_ACEOF
27421
28847
rm -f conftest.$ac_objext conftest$ac_exeext
27422
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27423
 
  (eval $ac_link) 2>conftest.er1
 
28848
if { (ac_try="$ac_link"
 
28849
case "(($ac_try" in
 
28850
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28851
  *) ac_try_echo=$ac_try;;
 
28852
esac
 
28853
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28854
  (eval "$ac_link") 2>conftest.er1
27424
28855
  ac_status=$?
27425
28856
  grep -v '^ *+' conftest.er1 >conftest.err
27426
28857
  rm -f conftest.er1
27427
28858
  cat conftest.err >&5
27428
28859
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27429
28860
  (exit $ac_status); } &&
27430
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
27431
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27432
 
  (eval $ac_try) 2>&5
 
28861
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
28862
  { (case "(($ac_try" in
 
28863
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28864
  *) ac_try_echo=$ac_try;;
 
28865
esac
 
28866
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28867
  (eval "$ac_try") 2>&5
27433
28868
  ac_status=$?
27434
28869
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27435
28870
  (exit $ac_status); }; } &&
27436
28871
         { ac_try='test -s conftest$ac_exeext'
27437
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27438
 
  (eval $ac_try) 2>&5
 
28872
  { (case "(($ac_try" in
 
28873
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28874
  *) ac_try_echo=$ac_try;;
 
28875
esac
 
28876
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28877
  (eval "$ac_try") 2>&5
27439
28878
  ac_status=$?
27440
28879
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27441
28880
  (exit $ac_status); }; }; then
27444
28883
  echo "$as_me: failed program was:" >&5
27445
28884
sed 's/^/| /' conftest.$ac_ext >&5
27446
28885
 
27447
 
ac_cv_lib_z_gzread=no
 
28886
        ac_cv_lib_z_gzread=no
27448
28887
fi
 
28888
 
27449
28889
rm -f conftest.err conftest.$ac_objext \
27450
28890
      conftest$ac_exeext conftest.$ac_ext
27451
28891
LIBS=$ac_check_lib_save_LIBS
27452
28892
fi
27453
 
echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzread" >&5
27454
 
echo "${ECHO_T}$ac_cv_lib_z_gzread" >&6
 
28893
{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzread" >&5
 
28894
echo "${ECHO_T}$ac_cv_lib_z_gzread" >&6; }
27455
28895
if test $ac_cv_lib_z_gzread = yes; then
27456
28896
 
27457
28897
                                      HAVE_LIBZ="1"
27514
28954
fi
27515
28955
 
27516
28956
 
27517
 
echo "$as_me:$LINENO: checking whether to build with libidn" >&5
27518
 
echo $ECHO_N "checking whether to build with libidn... $ECHO_C" >&6
 
28957
{ echo "$as_me:$LINENO: checking whether to build with libidn" >&5
 
28958
echo $ECHO_N "checking whether to build with libidn... $ECHO_C" >&6; }
27519
28959
 
27520
 
# Check whether --with-libidn or --without-libidn was given.
 
28960
# Check whether --with-libidn was given.
27521
28961
if test "${with_libidn+set}" = set; then
27522
 
  withval="$with_libidn"
27523
 
  LIBIDN="$withval"
27524
 
fi;
 
28962
  withval=$with_libidn; LIBIDN="$withval"
 
28963
fi
 
28964
 
27525
28965
 
27526
28966
case "$LIBIDN" in
27527
28967
  no)
27528
 
       echo "$as_me:$LINENO: result: no" >&5
27529
 
echo "${ECHO_T}no" >&6
 
28968
       { echo "$as_me:$LINENO: result: no" >&5
 
28969
echo "${ECHO_T}no" >&6; }
27530
28970
       ;;
27531
 
  *)   echo "$as_me:$LINENO: result: yes" >&5
27532
 
echo "${ECHO_T}yes" >&6
 
28971
  *)   { echo "$as_me:$LINENO: result: yes" >&5
 
28972
echo "${ECHO_T}yes" >&6; }
27533
28973
 
27534
28974
       idn=""
27535
28975
              if test -n "$LIBIDN"; then
27540
28980
            CPPFLAGS="$CPPFLAGS -I$LIBIDN/include"
27541
28981
            idn="yes"
27542
28982
 
27543
 
echo "$as_me:$LINENO: checking for idna_to_ascii_4i in -lidn" >&5
27544
 
echo $ECHO_N "checking for idna_to_ascii_4i in -lidn... $ECHO_C" >&6
 
28983
{ echo "$as_me:$LINENO: checking for idna_to_ascii_4i in -lidn" >&5
 
28984
echo $ECHO_N "checking for idna_to_ascii_4i in -lidn... $ECHO_C" >&6; }
27545
28985
if test "${ac_cv_lib_idn_idna_to_ascii_4i+set}" = set; then
27546
28986
  echo $ECHO_N "(cached) $ECHO_C" >&6
27547
28987
else
27554
28994
cat >>conftest.$ac_ext <<_ACEOF
27555
28995
/* end confdefs.h.  */
27556
28996
 
27557
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
28997
/* Override any GCC internal prototype to avoid an error.
 
28998
   Use char because int might match the return type of a GCC
 
28999
   builtin and then its argument prototype would still apply.  */
27558
29000
#ifdef __cplusplus
27559
29001
extern "C"
27560
29002
#endif
27561
 
/* We use char because int might match the return type of a gcc2
27562
 
   builtin and then its argument prototype would still apply.  */
27563
29003
char idna_to_ascii_4i ();
27564
29004
int
27565
29005
main ()
27566
29006
{
27567
 
idna_to_ascii_4i ();
 
29007
return idna_to_ascii_4i ();
27568
29008
  ;
27569
29009
  return 0;
27570
29010
}
27571
29011
_ACEOF
27572
29012
rm -f conftest.$ac_objext conftest$ac_exeext
27573
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27574
 
  (eval $ac_link) 2>conftest.er1
 
29013
if { (ac_try="$ac_link"
 
29014
case "(($ac_try" in
 
29015
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29016
  *) ac_try_echo=$ac_try;;
 
29017
esac
 
29018
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29019
  (eval "$ac_link") 2>conftest.er1
27575
29020
  ac_status=$?
27576
29021
  grep -v '^ *+' conftest.er1 >conftest.err
27577
29022
  rm -f conftest.er1
27578
29023
  cat conftest.err >&5
27579
29024
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27580
29025
  (exit $ac_status); } &&
27581
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
27582
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27583
 
  (eval $ac_try) 2>&5
 
29026
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
29027
  { (case "(($ac_try" in
 
29028
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29029
  *) ac_try_echo=$ac_try;;
 
29030
esac
 
29031
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29032
  (eval "$ac_try") 2>&5
27584
29033
  ac_status=$?
27585
29034
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27586
29035
  (exit $ac_status); }; } &&
27587
29036
         { ac_try='test -s conftest$ac_exeext'
27588
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27589
 
  (eval $ac_try) 2>&5
 
29037
  { (case "(($ac_try" in
 
29038
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29039
  *) ac_try_echo=$ac_try;;
 
29040
esac
 
29041
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29042
  (eval "$ac_try") 2>&5
27590
29043
  ac_status=$?
27591
29044
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27592
29045
  (exit $ac_status); }; }; then
27595
29048
  echo "$as_me: failed program was:" >&5
27596
29049
sed 's/^/| /' conftest.$ac_ext >&5
27597
29050
 
27598
 
ac_cv_lib_idn_idna_to_ascii_4i=no
 
29051
        ac_cv_lib_idn_idna_to_ascii_4i=no
27599
29052
fi
 
29053
 
27600
29054
rm -f conftest.err conftest.$ac_objext \
27601
29055
      conftest$ac_exeext conftest.$ac_ext
27602
29056
LIBS=$ac_check_lib_save_LIBS
27603
29057
fi
27604
 
echo "$as_me:$LINENO: result: $ac_cv_lib_idn_idna_to_ascii_4i" >&5
27605
 
echo "${ECHO_T}$ac_cv_lib_idn_idna_to_ascii_4i" >&6
 
29058
{ echo "$as_me:$LINENO: result: $ac_cv_lib_idn_idna_to_ascii_4i" >&5
 
29059
echo "${ECHO_T}$ac_cv_lib_idn_idna_to_ascii_4i" >&6; }
27606
29060
if test $ac_cv_lib_idn_idna_to_ascii_4i = yes; then
27607
29061
  cat >>confdefs.h <<_ACEOF
27608
29062
#define HAVE_LIBIDN 1
27622
29076
       if test "x$idn" != "xyes"; then
27623
29077
                    idn="yes"
27624
29078
 
27625
 
echo "$as_me:$LINENO: checking for idna_to_ascii_lz in -lidn" >&5
27626
 
echo $ECHO_N "checking for idna_to_ascii_lz in -lidn... $ECHO_C" >&6
 
29079
{ echo "$as_me:$LINENO: checking for idna_to_ascii_lz in -lidn" >&5
 
29080
echo $ECHO_N "checking for idna_to_ascii_lz in -lidn... $ECHO_C" >&6; }
27627
29081
if test "${ac_cv_lib_idn_idna_to_ascii_lz+set}" = set; then
27628
29082
  echo $ECHO_N "(cached) $ECHO_C" >&6
27629
29083
else
27636
29090
cat >>conftest.$ac_ext <<_ACEOF
27637
29091
/* end confdefs.h.  */
27638
29092
 
27639
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
29093
/* Override any GCC internal prototype to avoid an error.
 
29094
   Use char because int might match the return type of a GCC
 
29095
   builtin and then its argument prototype would still apply.  */
27640
29096
#ifdef __cplusplus
27641
29097
extern "C"
27642
29098
#endif
27643
 
/* We use char because int might match the return type of a gcc2
27644
 
   builtin and then its argument prototype would still apply.  */
27645
29099
char idna_to_ascii_lz ();
27646
29100
int
27647
29101
main ()
27648
29102
{
27649
 
idna_to_ascii_lz ();
 
29103
return idna_to_ascii_lz ();
27650
29104
  ;
27651
29105
  return 0;
27652
29106
}
27653
29107
_ACEOF
27654
29108
rm -f conftest.$ac_objext conftest$ac_exeext
27655
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27656
 
  (eval $ac_link) 2>conftest.er1
 
29109
if { (ac_try="$ac_link"
 
29110
case "(($ac_try" in
 
29111
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29112
  *) ac_try_echo=$ac_try;;
 
29113
esac
 
29114
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29115
  (eval "$ac_link") 2>conftest.er1
27657
29116
  ac_status=$?
27658
29117
  grep -v '^ *+' conftest.er1 >conftest.err
27659
29118
  rm -f conftest.er1
27660
29119
  cat conftest.err >&5
27661
29120
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27662
29121
  (exit $ac_status); } &&
27663
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
27664
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27665
 
  (eval $ac_try) 2>&5
 
29122
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
29123
  { (case "(($ac_try" in
 
29124
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29125
  *) ac_try_echo=$ac_try;;
 
29126
esac
 
29127
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29128
  (eval "$ac_try") 2>&5
27666
29129
  ac_status=$?
27667
29130
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27668
29131
  (exit $ac_status); }; } &&
27669
29132
         { ac_try='test -s conftest$ac_exeext'
27670
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27671
 
  (eval $ac_try) 2>&5
 
29133
  { (case "(($ac_try" in
 
29134
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29135
  *) ac_try_echo=$ac_try;;
 
29136
esac
 
29137
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29138
  (eval "$ac_try") 2>&5
27672
29139
  ac_status=$?
27673
29140
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27674
29141
  (exit $ac_status); }; }; then
27677
29144
  echo "$as_me: failed program was:" >&5
27678
29145
sed 's/^/| /' conftest.$ac_ext >&5
27679
29146
 
27680
 
ac_cv_lib_idn_idna_to_ascii_lz=no
 
29147
        ac_cv_lib_idn_idna_to_ascii_lz=no
27681
29148
fi
 
29149
 
27682
29150
rm -f conftest.err conftest.$ac_objext \
27683
29151
      conftest$ac_exeext conftest.$ac_ext
27684
29152
LIBS=$ac_check_lib_save_LIBS
27685
29153
fi
27686
 
echo "$as_me:$LINENO: result: $ac_cv_lib_idn_idna_to_ascii_lz" >&5
27687
 
echo "${ECHO_T}$ac_cv_lib_idn_idna_to_ascii_lz" >&6
 
29154
{ echo "$as_me:$LINENO: result: $ac_cv_lib_idn_idna_to_ascii_lz" >&5
 
29155
echo "${ECHO_T}$ac_cv_lib_idn_idna_to_ascii_lz" >&6; }
27688
29156
if test $ac_cv_lib_idn_idna_to_ascii_lz = yes; then
27689
29157
  cat >>confdefs.h <<_ACEOF
27690
29158
#define HAVE_LIBIDN 1
27708
29176
for ac_func in idn_free idna_strerror tld_strerror
27709
29177
do
27710
29178
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27711
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
27712
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27713
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
29179
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
29180
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
29181
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27714
29182
  echo $ECHO_N "(cached) $ECHO_C" >&6
27715
29183
else
27716
29184
  cat >conftest.$ac_ext <<_ACEOF
27736
29204
 
27737
29205
#undef $ac_func
27738
29206
 
27739
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
29207
/* Override any GCC internal prototype to avoid an error.
 
29208
   Use char because int might match the return type of a GCC
 
29209
   builtin and then its argument prototype would still apply.  */
27740
29210
#ifdef __cplusplus
27741
29211
extern "C"
27742
 
{
27743
29212
#endif
27744
 
/* We use char because int might match the return type of a gcc2
27745
 
   builtin and then its argument prototype would still apply.  */
27746
29213
char $ac_func ();
27747
29214
/* The GNU C library defines this for functions which it implements
27748
29215
    to always fail with ENOSYS.  Some functions are actually named
27749
29216
    something starting with __ and the normal name is an alias.  */
27750
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
29217
#if defined __stub_$ac_func || defined __stub___$ac_func
27751
29218
choke me
27752
 
#else
27753
 
char (*f) () = $ac_func;
27754
 
#endif
27755
 
#ifdef __cplusplus
27756
 
}
27757
29219
#endif
27758
29220
 
27759
29221
int
27760
29222
main ()
27761
29223
{
27762
 
return f != $ac_func;
 
29224
return $ac_func ();
27763
29225
  ;
27764
29226
  return 0;
27765
29227
}
27766
29228
_ACEOF
27767
29229
rm -f conftest.$ac_objext conftest$ac_exeext
27768
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27769
 
  (eval $ac_link) 2>conftest.er1
 
29230
if { (ac_try="$ac_link"
 
29231
case "(($ac_try" in
 
29232
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29233
  *) ac_try_echo=$ac_try;;
 
29234
esac
 
29235
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29236
  (eval "$ac_link") 2>conftest.er1
27770
29237
  ac_status=$?
27771
29238
  grep -v '^ *+' conftest.er1 >conftest.err
27772
29239
  rm -f conftest.er1
27773
29240
  cat conftest.err >&5
27774
29241
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27775
29242
  (exit $ac_status); } &&
27776
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
27777
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27778
 
  (eval $ac_try) 2>&5
 
29243
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
29244
  { (case "(($ac_try" in
 
29245
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29246
  *) ac_try_echo=$ac_try;;
 
29247
esac
 
29248
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29249
  (eval "$ac_try") 2>&5
27779
29250
  ac_status=$?
27780
29251
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27781
29252
  (exit $ac_status); }; } &&
27782
29253
         { ac_try='test -s conftest$ac_exeext'
27783
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27784
 
  (eval $ac_try) 2>&5
 
29254
  { (case "(($ac_try" in
 
29255
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29256
  *) ac_try_echo=$ac_try;;
 
29257
esac
 
29258
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29259
  (eval "$ac_try") 2>&5
27785
29260
  ac_status=$?
27786
29261
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27787
29262
  (exit $ac_status); }; }; then
27790
29265
  echo "$as_me: failed program was:" >&5
27791
29266
sed 's/^/| /' conftest.$ac_ext >&5
27792
29267
 
27793
 
eval "$as_ac_var=no"
 
29268
        eval "$as_ac_var=no"
27794
29269
fi
 
29270
 
27795
29271
rm -f conftest.err conftest.$ac_objext \
27796
29272
      conftest$ac_exeext conftest.$ac_ext
27797
29273
fi
27798
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27799
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
29274
ac_res=`eval echo '${'$as_ac_var'}'`
 
29275
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
29276
echo "${ECHO_T}$ac_res" >&6; }
27800
29277
if test `eval echo '${'$as_ac_var'}'` = yes; then
27801
29278
  cat >>confdefs.h <<_ACEOF
27802
29279
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27810
29287
for ac_header in idn-free.h tld.h
27811
29288
do
27812
29289
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27813
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
27814
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
27815
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27816
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
29290
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
29291
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
29292
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
29293
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27817
29294
  echo $ECHO_N "(cached) $ECHO_C" >&6
27818
29295
fi
27819
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27820
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
29296
ac_res=`eval echo '${'$as_ac_Header'}'`
 
29297
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
29298
echo "${ECHO_T}$ac_res" >&6; }
27821
29299
else
27822
29300
  # Is the header compilable?
27823
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
27824
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
29301
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
29302
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
27825
29303
cat >conftest.$ac_ext <<_ACEOF
27826
29304
/* confdefs.h.  */
27827
29305
_ACEOF
27832
29310
#include <$ac_header>
27833
29311
_ACEOF
27834
29312
rm -f conftest.$ac_objext
27835
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27836
 
  (eval $ac_compile) 2>conftest.er1
 
29313
if { (ac_try="$ac_compile"
 
29314
case "(($ac_try" in
 
29315
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29316
  *) ac_try_echo=$ac_try;;
 
29317
esac
 
29318
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29319
  (eval "$ac_compile") 2>conftest.er1
27837
29320
  ac_status=$?
27838
29321
  grep -v '^ *+' conftest.er1 >conftest.err
27839
29322
  rm -f conftest.er1
27840
29323
  cat conftest.err >&5
27841
29324
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27842
29325
  (exit $ac_status); } &&
27843
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
27844
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27845
 
  (eval $ac_try) 2>&5
 
29326
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
29327
  { (case "(($ac_try" in
 
29328
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29329
  *) ac_try_echo=$ac_try;;
 
29330
esac
 
29331
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29332
  (eval "$ac_try") 2>&5
27846
29333
  ac_status=$?
27847
29334
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27848
29335
  (exit $ac_status); }; } &&
27849
29336
         { ac_try='test -s conftest.$ac_objext'
27850
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27851
 
  (eval $ac_try) 2>&5
 
29337
  { (case "(($ac_try" in
 
29338
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29339
  *) ac_try_echo=$ac_try;;
 
29340
esac
 
29341
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29342
  (eval "$ac_try") 2>&5
27852
29343
  ac_status=$?
27853
29344
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27854
29345
  (exit $ac_status); }; }; then
27857
29348
  echo "$as_me: failed program was:" >&5
27858
29349
sed 's/^/| /' conftest.$ac_ext >&5
27859
29350
 
27860
 
ac_header_compiler=no
 
29351
        ac_header_compiler=no
27861
29352
fi
 
29353
 
27862
29354
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27863
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27864
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
29355
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
29356
echo "${ECHO_T}$ac_header_compiler" >&6; }
27865
29357
 
27866
29358
# Is the header present?
27867
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
27868
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
29359
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
29360
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
27869
29361
cat >conftest.$ac_ext <<_ACEOF
27870
29362
/* confdefs.h.  */
27871
29363
_ACEOF
27874
29366
/* end confdefs.h.  */
27875
29367
#include <$ac_header>
27876
29368
_ACEOF
27877
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27878
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
29369
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
29370
case "(($ac_try" in
 
29371
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29372
  *) ac_try_echo=$ac_try;;
 
29373
esac
 
29374
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29375
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27879
29376
  ac_status=$?
27880
29377
  grep -v '^ *+' conftest.er1 >conftest.err
27881
29378
  rm -f conftest.er1
27899
29396
 
27900
29397
  ac_header_preproc=no
27901
29398
fi
 
29399
 
27902
29400
rm -f conftest.err conftest.$ac_ext
27903
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27904
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
29401
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
29402
echo "${ECHO_T}$ac_header_preproc" >&6; }
27905
29403
 
27906
29404
# So?  What about this header?
27907
29405
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27925
29423
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27926
29424
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27927
29425
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27928
 
    (
27929
 
      cat <<\_ASBOX
 
29426
    ( cat <<\_ASBOX
27930
29427
## ------------------------------------------------------------------------ ##
27931
29428
## Report this to a suitable curl mailing list => http://curl.haxx.se/mail/ ##
27932
29429
## ------------------------------------------------------------------------ ##
27933
29430
_ASBOX
27934
 
    ) |
27935
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
29431
     ) | sed "s/^/$as_me: WARNING:     /" >&2
27936
29432
    ;;
27937
29433
esac
27938
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
27939
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27940
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
29434
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
29435
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
29436
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27941
29437
  echo $ECHO_N "(cached) $ECHO_C" >&6
27942
29438
else
27943
29439
  eval "$as_ac_Header=\$ac_header_preproc"
27944
29440
fi
27945
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27946
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
29441
ac_res=`eval echo '${'$as_ac_Header'}'`
 
29442
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
29443
echo "${ECHO_T}$ac_res" >&6; }
27947
29444
 
27948
29445
fi
27949
29446
if test `eval echo '${'$as_ac_Header'}'` = yes; then
27962
29459
 
27963
29460
OPT_THREAD=on
27964
29461
 
27965
 
echo "$as_me:$LINENO: checking AIX 4.3 or later" >&5
27966
 
echo $ECHO_N "checking AIX 4.3 or later... $ECHO_C" >&6
 
29462
{ echo "$as_me:$LINENO: checking AIX 4.3 or later" >&5
 
29463
echo $ECHO_N "checking AIX 4.3 or later... $ECHO_C" >&6; }
27967
29464
cat >conftest.$ac_ext <<_ACEOF
27968
29465
 
27969
29466
#if defined(_AIX) && defined(_AIX43)
27973
29470
#endif
27974
29471
 
27975
29472
_ACEOF
27976
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27977
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
29473
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
29474
case "(($ac_try" in
 
29475
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29476
  *) ac_try_echo=$ac_try;;
 
29477
esac
 
29478
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29479
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27978
29480
  ac_status=$?
27979
29481
  grep -v '^ *+' conftest.er1 >conftest.err
27980
29482
  rm -f conftest.er1
27991
29493
  ac_cpp_err=yes
27992
29494
fi
27993
29495
if test -z "$ac_cpp_err"; then
27994
 
   echo "$as_me:$LINENO: result: yes" >&5
27995
 
echo "${ECHO_T}yes" >&6
 
29496
   { echo "$as_me:$LINENO: result: yes" >&5
 
29497
echo "${ECHO_T}yes" >&6; }
27996
29498
   RECENTAIX=yes
27997
29499
   OPT_THREAD=off
27998
29500
else
27999
29501
  echo "$as_me: failed program was:" >&5
28000
29502
sed 's/^/| /' conftest.$ac_ext >&5
28001
29503
 
28002
 
   echo "$as_me:$LINENO: result: no" >&5
28003
 
echo "${ECHO_T}no" >&6
 
29504
   { echo "$as_me:$LINENO: result: no" >&5
 
29505
echo "${ECHO_T}no" >&6; }
28004
29506
 
28005
29507
fi
 
29508
 
28006
29509
rm -f conftest.err conftest.$ac_ext
28007
29510
 
28008
 
# Check whether --enable-thread or --disable-thread was given.
 
29511
# Check whether --enable-thread was given.
28009
29512
if test "${enable_thread+set}" = set; then
28010
 
  enableval="$enable_thread"
28011
 
   case "$enableval" in
 
29513
  enableval=$enable_thread;  case "$enableval" in
28012
29514
  no)
28013
29515
    OPT_THREAD=off
28014
29516
    { echo "$as_me:$LINENO: WARNING: libcurl will not get built using thread-safe functions" >&5
28019
29521
  esac
28020
29522
 
28021
29523
 
28022
 
fi;
 
29524
fi
 
29525
 
28023
29526
 
28024
29527
if test X"$OPT_THREAD" = Xoff
28025
29528
then
28035
29538
for ac_func in gethostbyname_r
28036
29539
do
28037
29540
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28038
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
28039
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28040
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
29541
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
29542
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
29543
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28041
29544
  echo $ECHO_N "(cached) $ECHO_C" >&6
28042
29545
else
28043
29546
  cat >conftest.$ac_ext <<_ACEOF
28063
29566
 
28064
29567
#undef $ac_func
28065
29568
 
28066
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
29569
/* Override any GCC internal prototype to avoid an error.
 
29570
   Use char because int might match the return type of a GCC
 
29571
   builtin and then its argument prototype would still apply.  */
28067
29572
#ifdef __cplusplus
28068
29573
extern "C"
28069
 
{
28070
29574
#endif
28071
 
/* We use char because int might match the return type of a gcc2
28072
 
   builtin and then its argument prototype would still apply.  */
28073
29575
char $ac_func ();
28074
29576
/* The GNU C library defines this for functions which it implements
28075
29577
    to always fail with ENOSYS.  Some functions are actually named
28076
29578
    something starting with __ and the normal name is an alias.  */
28077
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
29579
#if defined __stub_$ac_func || defined __stub___$ac_func
28078
29580
choke me
28079
 
#else
28080
 
char (*f) () = $ac_func;
28081
 
#endif
28082
 
#ifdef __cplusplus
28083
 
}
28084
29581
#endif
28085
29582
 
28086
29583
int
28087
29584
main ()
28088
29585
{
28089
 
return f != $ac_func;
 
29586
return $ac_func ();
28090
29587
  ;
28091
29588
  return 0;
28092
29589
}
28093
29590
_ACEOF
28094
29591
rm -f conftest.$ac_objext conftest$ac_exeext
28095
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28096
 
  (eval $ac_link) 2>conftest.er1
 
29592
if { (ac_try="$ac_link"
 
29593
case "(($ac_try" in
 
29594
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29595
  *) ac_try_echo=$ac_try;;
 
29596
esac
 
29597
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29598
  (eval "$ac_link") 2>conftest.er1
28097
29599
  ac_status=$?
28098
29600
  grep -v '^ *+' conftest.er1 >conftest.err
28099
29601
  rm -f conftest.er1
28100
29602
  cat conftest.err >&5
28101
29603
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28102
29604
  (exit $ac_status); } &&
28103
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
28104
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28105
 
  (eval $ac_try) 2>&5
 
29605
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
29606
  { (case "(($ac_try" in
 
29607
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29608
  *) ac_try_echo=$ac_try;;
 
29609
esac
 
29610
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29611
  (eval "$ac_try") 2>&5
28106
29612
  ac_status=$?
28107
29613
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28108
29614
  (exit $ac_status); }; } &&
28109
29615
         { ac_try='test -s conftest$ac_exeext'
28110
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28111
 
  (eval $ac_try) 2>&5
 
29616
  { (case "(($ac_try" in
 
29617
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29618
  *) ac_try_echo=$ac_try;;
 
29619
esac
 
29620
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29621
  (eval "$ac_try") 2>&5
28112
29622
  ac_status=$?
28113
29623
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28114
29624
  (exit $ac_status); }; }; then
28117
29627
  echo "$as_me: failed program was:" >&5
28118
29628
sed 's/^/| /' conftest.$ac_ext >&5
28119
29629
 
28120
 
eval "$as_ac_var=no"
 
29630
        eval "$as_ac_var=no"
28121
29631
fi
 
29632
 
28122
29633
rm -f conftest.err conftest.$ac_objext \
28123
29634
      conftest$ac_exeext conftest.$ac_ext
28124
29635
fi
28125
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28126
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
29636
ac_res=`eval echo '${'$as_ac_var'}'`
 
29637
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
29638
echo "${ECHO_T}$ac_res" >&6; }
28127
29639
if test `eval echo '${'$as_ac_var'}'` = yes; then
28128
29640
  cat >>confdefs.h <<_ACEOF
28129
29641
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28130
29642
_ACEOF
28131
29643
 
28132
 
    echo "$as_me:$LINENO: checking if gethostbyname_r takes 3 arguments" >&5
28133
 
echo $ECHO_N "checking if gethostbyname_r takes 3 arguments... $ECHO_C" >&6
 
29644
    { echo "$as_me:$LINENO: checking if gethostbyname_r takes 3 arguments" >&5
 
29645
echo $ECHO_N "checking if gethostbyname_r takes 3 arguments... $ECHO_C" >&6; }
28134
29646
    cat >conftest.$ac_ext <<_ACEOF
28135
29647
/* confdefs.h.  */
28136
29648
_ACEOF
28157
29669
}
28158
29670
_ACEOF
28159
29671
rm -f conftest.$ac_objext
28160
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28161
 
  (eval $ac_compile) 2>conftest.er1
 
29672
if { (ac_try="$ac_compile"
 
29673
case "(($ac_try" in
 
29674
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29675
  *) ac_try_echo=$ac_try;;
 
29676
esac
 
29677
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29678
  (eval "$ac_compile") 2>conftest.er1
28162
29679
  ac_status=$?
28163
29680
  grep -v '^ *+' conftest.er1 >conftest.err
28164
29681
  rm -f conftest.er1
28165
29682
  cat conftest.err >&5
28166
29683
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28167
29684
  (exit $ac_status); } &&
28168
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
28169
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28170
 
  (eval $ac_try) 2>&5
 
29685
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
29686
  { (case "(($ac_try" in
 
29687
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29688
  *) ac_try_echo=$ac_try;;
 
29689
esac
 
29690
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29691
  (eval "$ac_try") 2>&5
28171
29692
  ac_status=$?
28172
29693
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28173
29694
  (exit $ac_status); }; } &&
28174
29695
         { ac_try='test -s conftest.$ac_objext'
28175
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28176
 
  (eval $ac_try) 2>&5
 
29696
  { (case "(($ac_try" in
 
29697
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29698
  *) ac_try_echo=$ac_try;;
 
29699
esac
 
29700
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29701
  (eval "$ac_try") 2>&5
28177
29702
  ac_status=$?
28178
29703
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28179
29704
  (exit $ac_status); }; }; then
28180
29705
 
28181
 
      echo "$as_me:$LINENO: result: yes" >&5
28182
 
echo "${ECHO_T}yes" >&6
 
29706
      { echo "$as_me:$LINENO: result: yes" >&5
 
29707
echo "${ECHO_T}yes" >&6; }
28183
29708
 
28184
29709
cat >>confdefs.h <<\_ACEOF
28185
29710
#define HAVE_GETHOSTBYNAME_R_3 1
28191
29716
sed 's/^/| /' conftest.$ac_ext >&5
28192
29717
 
28193
29718
 
28194
 
      echo "$as_me:$LINENO: result: no" >&5
28195
 
echo "${ECHO_T}no" >&6
28196
 
      echo "$as_me:$LINENO: checking if gethostbyname_r with -D_REENTRANT takes 3 arguments" >&5
28197
 
echo $ECHO_N "checking if gethostbyname_r with -D_REENTRANT takes 3 arguments... $ECHO_C" >&6
 
29719
      { echo "$as_me:$LINENO: result: no" >&5
 
29720
echo "${ECHO_T}no" >&6; }
 
29721
      { echo "$as_me:$LINENO: checking if gethostbyname_r with -D_REENTRANT takes 3 arguments" >&5
 
29722
echo $ECHO_N "checking if gethostbyname_r with -D_REENTRANT takes 3 arguments... $ECHO_C" >&6; }
28198
29723
      cat >conftest.$ac_ext <<_ACEOF
28199
29724
/* confdefs.h.  */
28200
29725
_ACEOF
28223
29748
}
28224
29749
_ACEOF
28225
29750
rm -f conftest.$ac_objext
28226
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28227
 
  (eval $ac_compile) 2>conftest.er1
 
29751
if { (ac_try="$ac_compile"
 
29752
case "(($ac_try" in
 
29753
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29754
  *) ac_try_echo=$ac_try;;
 
29755
esac
 
29756
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29757
  (eval "$ac_compile") 2>conftest.er1
28228
29758
  ac_status=$?
28229
29759
  grep -v '^ *+' conftest.er1 >conftest.err
28230
29760
  rm -f conftest.er1
28231
29761
  cat conftest.err >&5
28232
29762
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28233
29763
  (exit $ac_status); } &&
28234
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
28235
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28236
 
  (eval $ac_try) 2>&5
 
29764
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
29765
  { (case "(($ac_try" in
 
29766
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29767
  *) ac_try_echo=$ac_try;;
 
29768
esac
 
29769
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29770
  (eval "$ac_try") 2>&5
28237
29771
  ac_status=$?
28238
29772
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28239
29773
  (exit $ac_status); }; } &&
28240
29774
         { ac_try='test -s conftest.$ac_objext'
28241
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28242
 
  (eval $ac_try) 2>&5
 
29775
  { (case "(($ac_try" in
 
29776
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29777
  *) ac_try_echo=$ac_try;;
 
29778
esac
 
29779
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29780
  (eval "$ac_try") 2>&5
28243
29781
  ac_status=$?
28244
29782
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28245
29783
  (exit $ac_status); }; }; then
28246
29784
 
28247
 
        echo "$as_me:$LINENO: result: yes" >&5
28248
 
echo "${ECHO_T}yes" >&6
 
29785
        { echo "$as_me:$LINENO: result: yes" >&5
 
29786
echo "${ECHO_T}yes" >&6; }
28249
29787
 
28250
29788
cat >>confdefs.h <<\_ACEOF
28251
29789
#define HAVE_GETHOSTBYNAME_R_3 1
28262
29800
sed 's/^/| /' conftest.$ac_ext >&5
28263
29801
 
28264
29802
 
28265
 
        echo "$as_me:$LINENO: result: no" >&5
28266
 
echo "${ECHO_T}no" >&6
28267
 
        echo "$as_me:$LINENO: checking if gethostbyname_r takes 5 arguments" >&5
28268
 
echo $ECHO_N "checking if gethostbyname_r takes 5 arguments... $ECHO_C" >&6
 
29803
        { echo "$as_me:$LINENO: result: no" >&5
 
29804
echo "${ECHO_T}no" >&6; }
 
29805
        { echo "$as_me:$LINENO: checking if gethostbyname_r takes 5 arguments" >&5
 
29806
echo $ECHO_N "checking if gethostbyname_r takes 5 arguments... $ECHO_C" >&6; }
28269
29807
        cat >conftest.$ac_ext <<_ACEOF
28270
29808
/* confdefs.h.  */
28271
29809
_ACEOF
28290
29828
}
28291
29829
_ACEOF
28292
29830
rm -f conftest.$ac_objext
28293
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28294
 
  (eval $ac_compile) 2>conftest.er1
 
29831
if { (ac_try="$ac_compile"
 
29832
case "(($ac_try" in
 
29833
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29834
  *) ac_try_echo=$ac_try;;
 
29835
esac
 
29836
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29837
  (eval "$ac_compile") 2>conftest.er1
28295
29838
  ac_status=$?
28296
29839
  grep -v '^ *+' conftest.er1 >conftest.err
28297
29840
  rm -f conftest.er1
28298
29841
  cat conftest.err >&5
28299
29842
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28300
29843
  (exit $ac_status); } &&
28301
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
28302
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28303
 
  (eval $ac_try) 2>&5
 
29844
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
29845
  { (case "(($ac_try" in
 
29846
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29847
  *) ac_try_echo=$ac_try;;
 
29848
esac
 
29849
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29850
  (eval "$ac_try") 2>&5
28304
29851
  ac_status=$?
28305
29852
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28306
29853
  (exit $ac_status); }; } &&
28307
29854
         { ac_try='test -s conftest.$ac_objext'
28308
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28309
 
  (eval $ac_try) 2>&5
 
29855
  { (case "(($ac_try" in
 
29856
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29857
  *) ac_try_echo=$ac_try;;
 
29858
esac
 
29859
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29860
  (eval "$ac_try") 2>&5
28310
29861
  ac_status=$?
28311
29862
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28312
29863
  (exit $ac_status); }; }; then
28313
29864
 
28314
 
          echo "$as_me:$LINENO: result: yes" >&5
28315
 
echo "${ECHO_T}yes" >&6
 
29865
          { echo "$as_me:$LINENO: result: yes" >&5
 
29866
echo "${ECHO_T}yes" >&6; }
28316
29867
 
28317
29868
cat >>confdefs.h <<\_ACEOF
28318
29869
#define HAVE_GETHOSTBYNAME_R_5 1
28324
29875
sed 's/^/| /' conftest.$ac_ext >&5
28325
29876
 
28326
29877
 
28327
 
          echo "$as_me:$LINENO: result: no" >&5
28328
 
echo "${ECHO_T}no" >&6
28329
 
          echo "$as_me:$LINENO: checking if gethostbyname_r takes 6 arguments" >&5
28330
 
echo $ECHO_N "checking if gethostbyname_r takes 6 arguments... $ECHO_C" >&6
 
29878
          { echo "$as_me:$LINENO: result: no" >&5
 
29879
echo "${ECHO_T}no" >&6; }
 
29880
          { echo "$as_me:$LINENO: checking if gethostbyname_r takes 6 arguments" >&5
 
29881
echo $ECHO_N "checking if gethostbyname_r takes 6 arguments... $ECHO_C" >&6; }
28331
29882
          cat >conftest.$ac_ext <<_ACEOF
28332
29883
/* confdefs.h.  */
28333
29884
_ACEOF
28353
29904
}
28354
29905
_ACEOF
28355
29906
rm -f conftest.$ac_objext
28356
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28357
 
  (eval $ac_compile) 2>conftest.er1
 
29907
if { (ac_try="$ac_compile"
 
29908
case "(($ac_try" in
 
29909
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29910
  *) ac_try_echo=$ac_try;;
 
29911
esac
 
29912
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29913
  (eval "$ac_compile") 2>conftest.er1
28358
29914
  ac_status=$?
28359
29915
  grep -v '^ *+' conftest.er1 >conftest.err
28360
29916
  rm -f conftest.er1
28361
29917
  cat conftest.err >&5
28362
29918
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28363
29919
  (exit $ac_status); } &&
28364
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
28365
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28366
 
  (eval $ac_try) 2>&5
 
29920
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
29921
  { (case "(($ac_try" in
 
29922
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29923
  *) ac_try_echo=$ac_try;;
 
29924
esac
 
29925
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29926
  (eval "$ac_try") 2>&5
28367
29927
  ac_status=$?
28368
29928
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28369
29929
  (exit $ac_status); }; } &&
28370
29930
         { ac_try='test -s conftest.$ac_objext'
28371
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28372
 
  (eval $ac_try) 2>&5
 
29931
  { (case "(($ac_try" in
 
29932
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29933
  *) ac_try_echo=$ac_try;;
 
29934
esac
 
29935
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29936
  (eval "$ac_try") 2>&5
28373
29937
  ac_status=$?
28374
29938
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28375
29939
  (exit $ac_status); }; }; then
28376
29940
 
28377
 
            echo "$as_me:$LINENO: result: yes" >&5
28378
 
echo "${ECHO_T}yes" >&6
 
29941
            { echo "$as_me:$LINENO: result: yes" >&5
 
29942
echo "${ECHO_T}yes" >&6; }
28379
29943
 
28380
29944
cat >>confdefs.h <<\_ACEOF
28381
29945
#define HAVE_GETHOSTBYNAME_R_6 1
28387
29951
sed 's/^/| /' conftest.$ac_ext >&5
28388
29952
 
28389
29953
 
28390
 
            echo "$as_me:$LINENO: result: no" >&5
28391
 
echo "${ECHO_T}no" >&6
 
29954
            { echo "$as_me:$LINENO: result: no" >&5
 
29955
echo "${ECHO_T}no" >&6; }
28392
29956
            have_missing_r_funcs="$have_missing_r_funcs gethostbyname_r"
28393
29957
fi
28394
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28395
 
fi
28396
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28397
 
fi
28398
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28399
 
fi
 
29958
 
 
29959
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
29960
fi
 
29961
 
 
29962
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
29963
fi
 
29964
 
 
29965
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
29966
fi
 
29967
 
28400
29968
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28401
29969
fi
28402
29970
done
28418
29986
for ac_func in inet_ntoa_r
28419
29987
do
28420
29988
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28421
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
28422
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28423
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
29989
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
29990
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
29991
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28424
29992
  echo $ECHO_N "(cached) $ECHO_C" >&6
28425
29993
else
28426
29994
  cat >conftest.$ac_ext <<_ACEOF
28446
30014
 
28447
30015
#undef $ac_func
28448
30016
 
28449
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
30017
/* Override any GCC internal prototype to avoid an error.
 
30018
   Use char because int might match the return type of a GCC
 
30019
   builtin and then its argument prototype would still apply.  */
28450
30020
#ifdef __cplusplus
28451
30021
extern "C"
28452
 
{
28453
30022
#endif
28454
 
/* We use char because int might match the return type of a gcc2
28455
 
   builtin and then its argument prototype would still apply.  */
28456
30023
char $ac_func ();
28457
30024
/* The GNU C library defines this for functions which it implements
28458
30025
    to always fail with ENOSYS.  Some functions are actually named
28459
30026
    something starting with __ and the normal name is an alias.  */
28460
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
30027
#if defined __stub_$ac_func || defined __stub___$ac_func
28461
30028
choke me
28462
 
#else
28463
 
char (*f) () = $ac_func;
28464
 
#endif
28465
 
#ifdef __cplusplus
28466
 
}
28467
30029
#endif
28468
30030
 
28469
30031
int
28470
30032
main ()
28471
30033
{
28472
 
return f != $ac_func;
 
30034
return $ac_func ();
28473
30035
  ;
28474
30036
  return 0;
28475
30037
}
28476
30038
_ACEOF
28477
30039
rm -f conftest.$ac_objext conftest$ac_exeext
28478
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28479
 
  (eval $ac_link) 2>conftest.er1
 
30040
if { (ac_try="$ac_link"
 
30041
case "(($ac_try" in
 
30042
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30043
  *) ac_try_echo=$ac_try;;
 
30044
esac
 
30045
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30046
  (eval "$ac_link") 2>conftest.er1
28480
30047
  ac_status=$?
28481
30048
  grep -v '^ *+' conftest.er1 >conftest.err
28482
30049
  rm -f conftest.er1
28483
30050
  cat conftest.err >&5
28484
30051
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28485
30052
  (exit $ac_status); } &&
28486
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
28487
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28488
 
  (eval $ac_try) 2>&5
 
30053
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
30054
  { (case "(($ac_try" in
 
30055
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30056
  *) ac_try_echo=$ac_try;;
 
30057
esac
 
30058
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30059
  (eval "$ac_try") 2>&5
28489
30060
  ac_status=$?
28490
30061
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28491
30062
  (exit $ac_status); }; } &&
28492
30063
         { ac_try='test -s conftest$ac_exeext'
28493
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28494
 
  (eval $ac_try) 2>&5
 
30064
  { (case "(($ac_try" in
 
30065
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30066
  *) ac_try_echo=$ac_try;;
 
30067
esac
 
30068
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30069
  (eval "$ac_try") 2>&5
28495
30070
  ac_status=$?
28496
30071
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28497
30072
  (exit $ac_status); }; }; then
28500
30075
  echo "$as_me: failed program was:" >&5
28501
30076
sed 's/^/| /' conftest.$ac_ext >&5
28502
30077
 
28503
 
eval "$as_ac_var=no"
 
30078
        eval "$as_ac_var=no"
28504
30079
fi
 
30080
 
28505
30081
rm -f conftest.err conftest.$ac_objext \
28506
30082
      conftest$ac_exeext conftest.$ac_ext
28507
30083
fi
28508
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28509
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
30084
ac_res=`eval echo '${'$as_ac_var'}'`
 
30085
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
30086
echo "${ECHO_T}$ac_res" >&6; }
28510
30087
if test `eval echo '${'$as_ac_var'}'` = yes; then
28511
30088
  cat >>confdefs.h <<_ACEOF
28512
30089
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28513
30090
_ACEOF
28514
30091
 
28515
 
    echo "$as_me:$LINENO: checking whether inet_ntoa_r is declared" >&5
28516
 
echo $ECHO_N "checking whether inet_ntoa_r is declared... $ECHO_C" >&6
 
30092
    { echo "$as_me:$LINENO: checking whether inet_ntoa_r is declared" >&5
 
30093
echo $ECHO_N "checking whether inet_ntoa_r is declared... $ECHO_C" >&6; }
28517
30094
    cat >conftest.$ac_ext <<_ACEOF
28518
30095
/* confdefs.h.  */
28519
30096
_ACEOF
28531
30108
#define HAVE_INET_NTOA_R_DECL 1
28532
30109
_ACEOF
28533
30110
 
28534
 
      echo "$as_me:$LINENO: result: yes" >&5
28535
 
echo "${ECHO_T}yes" >&6
 
30111
      { echo "$as_me:$LINENO: result: yes" >&5
 
30112
echo "${ECHO_T}yes" >&6; }
28536
30113
else
28537
30114
 
28538
 
      echo "$as_me:$LINENO: result: no" >&5
28539
 
echo "${ECHO_T}no" >&6
28540
 
      echo "$as_me:$LINENO: checking whether inet_ntoa_r with -D_REENTRANT is declared" >&5
28541
 
echo $ECHO_N "checking whether inet_ntoa_r with -D_REENTRANT is declared... $ECHO_C" >&6
 
30115
      { echo "$as_me:$LINENO: result: no" >&5
 
30116
echo "${ECHO_T}no" >&6; }
 
30117
      { echo "$as_me:$LINENO: checking whether inet_ntoa_r with -D_REENTRANT is declared" >&5
 
30118
echo $ECHO_N "checking whether inet_ntoa_r with -D_REENTRANT is declared... $ECHO_C" >&6; }
28542
30119
      cat >conftest.$ac_ext <<_ACEOF
28543
30120
/* confdefs.h.  */
28544
30121
_ACEOF
28562
30139
#define NEED_REENTRANT 1
28563
30140
_ACEOF
28564
30141
 
28565
 
        echo "$as_me:$LINENO: result: yes" >&5
28566
 
echo "${ECHO_T}yes" >&6
 
30142
        { echo "$as_me:$LINENO: result: yes" >&5
 
30143
echo "${ECHO_T}yes" >&6; }
28567
30144
else
28568
 
  echo "$as_me:$LINENO: result: no" >&5
28569
 
echo "${ECHO_T}no" >&6
 
30145
  { echo "$as_me:$LINENO: result: no" >&5
 
30146
echo "${ECHO_T}no" >&6; }
28570
30147
fi
28571
30148
rm -f conftest*
28572
30149
 
28583
30160
for ac_func in localtime_r
28584
30161
do
28585
30162
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28586
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
28587
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28588
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
30163
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
30164
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
30165
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28589
30166
  echo $ECHO_N "(cached) $ECHO_C" >&6
28590
30167
else
28591
30168
  cat >conftest.$ac_ext <<_ACEOF
28611
30188
 
28612
30189
#undef $ac_func
28613
30190
 
28614
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
30191
/* Override any GCC internal prototype to avoid an error.
 
30192
   Use char because int might match the return type of a GCC
 
30193
   builtin and then its argument prototype would still apply.  */
28615
30194
#ifdef __cplusplus
28616
30195
extern "C"
28617
 
{
28618
30196
#endif
28619
 
/* We use char because int might match the return type of a gcc2
28620
 
   builtin and then its argument prototype would still apply.  */
28621
30197
char $ac_func ();
28622
30198
/* The GNU C library defines this for functions which it implements
28623
30199
    to always fail with ENOSYS.  Some functions are actually named
28624
30200
    something starting with __ and the normal name is an alias.  */
28625
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
30201
#if defined __stub_$ac_func || defined __stub___$ac_func
28626
30202
choke me
28627
 
#else
28628
 
char (*f) () = $ac_func;
28629
 
#endif
28630
 
#ifdef __cplusplus
28631
 
}
28632
30203
#endif
28633
30204
 
28634
30205
int
28635
30206
main ()
28636
30207
{
28637
 
return f != $ac_func;
 
30208
return $ac_func ();
28638
30209
  ;
28639
30210
  return 0;
28640
30211
}
28641
30212
_ACEOF
28642
30213
rm -f conftest.$ac_objext conftest$ac_exeext
28643
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28644
 
  (eval $ac_link) 2>conftest.er1
 
30214
if { (ac_try="$ac_link"
 
30215
case "(($ac_try" in
 
30216
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30217
  *) ac_try_echo=$ac_try;;
 
30218
esac
 
30219
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30220
  (eval "$ac_link") 2>conftest.er1
28645
30221
  ac_status=$?
28646
30222
  grep -v '^ *+' conftest.er1 >conftest.err
28647
30223
  rm -f conftest.er1
28648
30224
  cat conftest.err >&5
28649
30225
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28650
30226
  (exit $ac_status); } &&
28651
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
28652
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28653
 
  (eval $ac_try) 2>&5
 
30227
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
30228
  { (case "(($ac_try" in
 
30229
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30230
  *) ac_try_echo=$ac_try;;
 
30231
esac
 
30232
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30233
  (eval "$ac_try") 2>&5
28654
30234
  ac_status=$?
28655
30235
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28656
30236
  (exit $ac_status); }; } &&
28657
30237
         { ac_try='test -s conftest$ac_exeext'
28658
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28659
 
  (eval $ac_try) 2>&5
 
30238
  { (case "(($ac_try" in
 
30239
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30240
  *) ac_try_echo=$ac_try;;
 
30241
esac
 
30242
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30243
  (eval "$ac_try") 2>&5
28660
30244
  ac_status=$?
28661
30245
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28662
30246
  (exit $ac_status); }; }; then
28665
30249
  echo "$as_me: failed program was:" >&5
28666
30250
sed 's/^/| /' conftest.$ac_ext >&5
28667
30251
 
28668
 
eval "$as_ac_var=no"
 
30252
        eval "$as_ac_var=no"
28669
30253
fi
 
30254
 
28670
30255
rm -f conftest.err conftest.$ac_objext \
28671
30256
      conftest$ac_exeext conftest.$ac_ext
28672
30257
fi
28673
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28674
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
30258
ac_res=`eval echo '${'$as_ac_var'}'`
 
30259
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
30260
echo "${ECHO_T}$ac_res" >&6; }
28675
30261
if test `eval echo '${'$as_ac_var'}'` = yes; then
28676
30262
  cat >>confdefs.h <<_ACEOF
28677
30263
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28678
30264
_ACEOF
28679
30265
 
28680
 
    echo "$as_me:$LINENO: checking whether localtime_r is declared" >&5
28681
 
echo $ECHO_N "checking whether localtime_r is declared... $ECHO_C" >&6
 
30266
    { echo "$as_me:$LINENO: checking whether localtime_r is declared" >&5
 
30267
echo $ECHO_N "checking whether localtime_r is declared... $ECHO_C" >&6; }
28682
30268
    cat >conftest.$ac_ext <<_ACEOF
28683
30269
/* confdefs.h.  */
28684
30270
_ACEOF
28691
30277
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28692
30278
  $EGREP "localtime_r" >/dev/null 2>&1; then
28693
30279
 
28694
 
      echo "$as_me:$LINENO: result: yes" >&5
28695
 
echo "${ECHO_T}yes" >&6
 
30280
      { echo "$as_me:$LINENO: result: yes" >&5
 
30281
echo "${ECHO_T}yes" >&6; }
28696
30282
else
28697
30283
 
28698
 
      echo "$as_me:$LINENO: result: no" >&5
28699
 
echo "${ECHO_T}no" >&6
28700
 
      echo "$as_me:$LINENO: checking whether localtime_r with -D_REENTRANT is declared" >&5
28701
 
echo $ECHO_N "checking whether localtime_r with -D_REENTRANT is declared... $ECHO_C" >&6
 
30284
      { echo "$as_me:$LINENO: result: no" >&5
 
30285
echo "${ECHO_T}no" >&6; }
 
30286
      { echo "$as_me:$LINENO: checking whether localtime_r with -D_REENTRANT is declared" >&5
 
30287
echo $ECHO_N "checking whether localtime_r with -D_REENTRANT is declared... $ECHO_C" >&6; }
28702
30288
      cat >conftest.$ac_ext <<_ACEOF
28703
30289
/* confdefs.h.  */
28704
30290
_ACEOF
28716
30302
#define NEED_REENTRANT 1
28717
30303
_ACEOF
28718
30304
 
28719
 
        echo "$as_me:$LINENO: result: yes" >&5
28720
 
echo "${ECHO_T}yes" >&6
 
30305
        { echo "$as_me:$LINENO: result: yes" >&5
 
30306
echo "${ECHO_T}yes" >&6; }
28721
30307
else
28722
 
  echo "$as_me:$LINENO: result: no" >&5
28723
 
echo "${ECHO_T}no" >&6
 
30308
  { echo "$as_me:$LINENO: result: no" >&5
 
30309
echo "${ECHO_T}no" >&6; }
28724
30310
fi
28725
30311
rm -f conftest*
28726
30312
 
28737
30323
for ac_func in strerror_r
28738
30324
do
28739
30325
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28740
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
28741
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28742
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
30326
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
30327
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
30328
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28743
30329
  echo $ECHO_N "(cached) $ECHO_C" >&6
28744
30330
else
28745
30331
  cat >conftest.$ac_ext <<_ACEOF
28765
30351
 
28766
30352
#undef $ac_func
28767
30353
 
28768
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
30354
/* Override any GCC internal prototype to avoid an error.
 
30355
   Use char because int might match the return type of a GCC
 
30356
   builtin and then its argument prototype would still apply.  */
28769
30357
#ifdef __cplusplus
28770
30358
extern "C"
28771
 
{
28772
30359
#endif
28773
 
/* We use char because int might match the return type of a gcc2
28774
 
   builtin and then its argument prototype would still apply.  */
28775
30360
char $ac_func ();
28776
30361
/* The GNU C library defines this for functions which it implements
28777
30362
    to always fail with ENOSYS.  Some functions are actually named
28778
30363
    something starting with __ and the normal name is an alias.  */
28779
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
30364
#if defined __stub_$ac_func || defined __stub___$ac_func
28780
30365
choke me
28781
 
#else
28782
 
char (*f) () = $ac_func;
28783
 
#endif
28784
 
#ifdef __cplusplus
28785
 
}
28786
30366
#endif
28787
30367
 
28788
30368
int
28789
30369
main ()
28790
30370
{
28791
 
return f != $ac_func;
 
30371
return $ac_func ();
28792
30372
  ;
28793
30373
  return 0;
28794
30374
}
28795
30375
_ACEOF
28796
30376
rm -f conftest.$ac_objext conftest$ac_exeext
28797
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28798
 
  (eval $ac_link) 2>conftest.er1
 
30377
if { (ac_try="$ac_link"
 
30378
case "(($ac_try" in
 
30379
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30380
  *) ac_try_echo=$ac_try;;
 
30381
esac
 
30382
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30383
  (eval "$ac_link") 2>conftest.er1
28799
30384
  ac_status=$?
28800
30385
  grep -v '^ *+' conftest.er1 >conftest.err
28801
30386
  rm -f conftest.er1
28802
30387
  cat conftest.err >&5
28803
30388
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28804
30389
  (exit $ac_status); } &&
28805
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
28806
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28807
 
  (eval $ac_try) 2>&5
 
30390
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
30391
  { (case "(($ac_try" in
 
30392
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30393
  *) ac_try_echo=$ac_try;;
 
30394
esac
 
30395
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30396
  (eval "$ac_try") 2>&5
28808
30397
  ac_status=$?
28809
30398
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28810
30399
  (exit $ac_status); }; } &&
28811
30400
         { ac_try='test -s conftest$ac_exeext'
28812
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28813
 
  (eval $ac_try) 2>&5
 
30401
  { (case "(($ac_try" in
 
30402
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30403
  *) ac_try_echo=$ac_try;;
 
30404
esac
 
30405
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30406
  (eval "$ac_try") 2>&5
28814
30407
  ac_status=$?
28815
30408
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28816
30409
  (exit $ac_status); }; }; then
28819
30412
  echo "$as_me: failed program was:" >&5
28820
30413
sed 's/^/| /' conftest.$ac_ext >&5
28821
30414
 
28822
 
eval "$as_ac_var=no"
 
30415
        eval "$as_ac_var=no"
28823
30416
fi
 
30417
 
28824
30418
rm -f conftest.err conftest.$ac_objext \
28825
30419
      conftest$ac_exeext conftest.$ac_ext
28826
30420
fi
28827
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28828
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
30421
ac_res=`eval echo '${'$as_ac_var'}'`
 
30422
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
30423
echo "${ECHO_T}$ac_res" >&6; }
28829
30424
if test `eval echo '${'$as_ac_var'}'` = yes; then
28830
30425
  cat >>confdefs.h <<_ACEOF
28831
30426
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28837
30432
 
28838
30433
  if test "x$ac_cv_func_strerror_r" = "xyes"; then
28839
30434
 
28840
 
    echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5
28841
 
echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6
 
30435
    { echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5
 
30436
echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6; }
28842
30437
    cat >conftest.$ac_ext <<_ACEOF
28843
30438
/* confdefs.h.  */
28844
30439
_ACEOF
28851
30446
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28852
30447
  $EGREP "strerror_r" >/dev/null 2>&1; then
28853
30448
 
28854
 
      echo "$as_me:$LINENO: result: yes" >&5
28855
 
echo "${ECHO_T}yes" >&6
 
30449
      { echo "$as_me:$LINENO: result: yes" >&5
 
30450
echo "${ECHO_T}yes" >&6; }
28856
30451
else
28857
30452
 
28858
 
      echo "$as_me:$LINENO: result: no" >&5
28859
 
echo "${ECHO_T}no" >&6
28860
 
      echo "$as_me:$LINENO: checking whether strerror_r with -D_REENTRANT is declared" >&5
28861
 
echo $ECHO_N "checking whether strerror_r with -D_REENTRANT is declared... $ECHO_C" >&6
 
30453
      { echo "$as_me:$LINENO: result: no" >&5
 
30454
echo "${ECHO_T}no" >&6; }
 
30455
      { echo "$as_me:$LINENO: checking whether strerror_r with -D_REENTRANT is declared" >&5
 
30456
echo $ECHO_N "checking whether strerror_r with -D_REENTRANT is declared... $ECHO_C" >&6; }
28862
30457
      cat >conftest.$ac_ext <<_ACEOF
28863
30458
/* confdefs.h.  */
28864
30459
_ACEOF
28873
30468
  $EGREP "strerror_r" >/dev/null 2>&1; then
28874
30469
 
28875
30470
        CPPFLAGS="-D_REENTRANT $CPPFLAGS"
28876
 
        echo "$as_me:$LINENO: result: yes" >&5
28877
 
echo "${ECHO_T}yes" >&6
 
30471
        { echo "$as_me:$LINENO: result: yes" >&5
 
30472
echo "${ECHO_T}yes" >&6; }
28878
30473
else
28879
 
  echo "$as_me:$LINENO: result: no" >&5
28880
 
echo "${ECHO_T}no" >&6
 
30474
  { echo "$as_me:$LINENO: result: no" >&5
 
30475
echo "${ECHO_T}no" >&6; }
28881
30476
 
28882
30477
cat >>confdefs.h <<\_ACEOF
28883
30478
#define HAVE_NO_STRERROR_R_DECL 1
28890
30485
fi
28891
30486
rm -f conftest*
28892
30487
 
28893
 
        echo "$as_me:$LINENO: checking for a glibc strerror_r API" >&5
28894
 
echo $ECHO_N "checking for a glibc strerror_r API... $ECHO_C" >&6
 
30488
        { echo "$as_me:$LINENO: checking for a glibc strerror_r API" >&5
 
30489
echo $ECHO_N "checking for a glibc strerror_r API... $ECHO_C" >&6; }
28895
30490
    if test "$cross_compiling" = yes; then
28896
30491
      cat >conftest.$ac_ext <<_ACEOF
28897
30492
/* confdefs.h.  */
28914
30509
#define HAVE_GLIBC_STRERROR_R 1
28915
30510
_ACEOF
28916
30511
 
28917
 
      echo "$as_me:$LINENO: result: yes" >&5
28918
 
echo "${ECHO_T}yes" >&6
 
30512
      { echo "$as_me:$LINENO: result: yes" >&5
 
30513
echo "${ECHO_T}yes" >&6; }
28919
30514
else
28920
30515
  { echo "$as_me:$LINENO: cannot determine strerror_r() style: edit lib/config.h manually!" >&5
28921
30516
echo "$as_me: cannot determine strerror_r() style: edit lib/config.h manually!" >&6;}
28946
30541
 
28947
30542
_ACEOF
28948
30543
rm -f conftest$ac_exeext
28949
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28950
 
  (eval $ac_link) 2>&5
 
30544
if { (ac_try="$ac_link"
 
30545
case "(($ac_try" in
 
30546
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30547
  *) ac_try_echo=$ac_try;;
 
30548
esac
 
30549
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30550
  (eval "$ac_link") 2>&5
28951
30551
  ac_status=$?
28952
30552
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28953
30553
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28954
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28955
 
  (eval $ac_try) 2>&5
 
30554
  { (case "(($ac_try" in
 
30555
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30556
  *) ac_try_echo=$ac_try;;
 
30557
esac
 
30558
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30559
  (eval "$ac_try") 2>&5
28956
30560
  ac_status=$?
28957
30561
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28958
30562
  (exit $ac_status); }; }; then
28962
30566
#define HAVE_GLIBC_STRERROR_R 1
28963
30567
_ACEOF
28964
30568
 
28965
 
    echo "$as_me:$LINENO: result: yes" >&5
28966
 
echo "${ECHO_T}yes" >&6
 
30569
    { echo "$as_me:$LINENO: result: yes" >&5
 
30570
echo "${ECHO_T}yes" >&6; }
28967
30571
else
28968
30572
  echo "$as_me: program exited with status $ac_status" >&5
28969
30573
echo "$as_me: failed program was:" >&5
28970
30574
sed 's/^/| /' conftest.$ac_ext >&5
28971
30575
 
28972
30576
( exit $ac_status )
28973
 
echo "$as_me:$LINENO: result: no" >&5
28974
 
echo "${ECHO_T}no" >&6
28975
 
fi
28976
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28977
 
fi
 
30577
{ echo "$as_me:$LINENO: result: no" >&5
 
30578
echo "${ECHO_T}no" >&6; }
 
30579
fi
 
30580
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
30581
fi
 
30582
 
 
30583
 
28978
30584
 
28979
30585
    if test -z "$GLIBC_STRERROR_R"; then
28980
30586
 
28981
 
      echo "$as_me:$LINENO: checking for a POSIX strerror_r API" >&5
28982
 
echo $ECHO_N "checking for a POSIX strerror_r API... $ECHO_C" >&6
 
30587
      { echo "$as_me:$LINENO: checking for a POSIX strerror_r API" >&5
 
30588
echo $ECHO_N "checking for a POSIX strerror_r API... $ECHO_C" >&6; }
28983
30589
      if test "$cross_compiling" = yes; then
28984
30590
        { echo "$as_me:$LINENO: cannot determine strerror_r() style: edit lib/config.h manually!" >&5
28985
30591
echo "$as_me: cannot determine strerror_r() style: edit lib/config.h manually!" >&6;}
29008
30614
 
29009
30615
_ACEOF
29010
30616
rm -f conftest$ac_exeext
29011
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29012
 
  (eval $ac_link) 2>&5
 
30617
if { (ac_try="$ac_link"
 
30618
case "(($ac_try" in
 
30619
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30620
  *) ac_try_echo=$ac_try;;
 
30621
esac
 
30622
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30623
  (eval "$ac_link") 2>&5
29013
30624
  ac_status=$?
29014
30625
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29015
30626
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29016
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29017
 
  (eval $ac_try) 2>&5
 
30627
  { (case "(($ac_try" in
 
30628
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30629
  *) ac_try_echo=$ac_try;;
 
30630
esac
 
30631
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30632
  (eval "$ac_try") 2>&5
29018
30633
  ac_status=$?
29019
30634
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29020
30635
  (exit $ac_status); }; }; then
29023
30638
#define HAVE_POSIX_STRERROR_R 1
29024
30639
_ACEOF
29025
30640
 
29026
 
      echo "$as_me:$LINENO: result: yes" >&5
29027
 
echo "${ECHO_T}yes" >&6
 
30641
      { echo "$as_me:$LINENO: result: yes" >&5
 
30642
echo "${ECHO_T}yes" >&6; }
29028
30643
else
29029
30644
  echo "$as_me: program exited with status $ac_status" >&5
29030
30645
echo "$as_me: failed program was:" >&5
29031
30646
sed 's/^/| /' conftest.$ac_ext >&5
29032
30647
 
29033
30648
( exit $ac_status )
29034
 
echo "$as_me:$LINENO: result: no" >&5
29035
 
echo "${ECHO_T}no" >&6
29036
 
fi
29037
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29038
 
fi
 
30649
{ echo "$as_me:$LINENO: result: no" >&5
 
30650
echo "${ECHO_T}no" >&6; }
 
30651
fi
 
30652
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
30653
fi
 
30654
 
 
30655
 
29039
30656
 
29040
30657
    fi
29041
30658
  fi
29054
30671
_ACEOF
29055
30672
 
29056
30673
 
29057
 
      echo "$as_me:$LINENO: checking if this is the xlc compiler" >&5
29058
 
echo $ECHO_N "checking if this is the xlc compiler... $ECHO_C" >&6
 
30674
      { echo "$as_me:$LINENO: checking if this is the xlc compiler" >&5
 
30675
echo $ECHO_N "checking if this is the xlc compiler... $ECHO_C" >&6; }
29059
30676
  cat >conftest.$ac_ext <<_ACEOF
29060
30677
/* confdefs.h.  */
29061
30678
_ACEOF
29067
30684
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29068
30685
  $EGREP "^__xlC__" >/dev/null 2>&1; then
29069
30686
                    XLC="no"
29070
 
         echo "$as_me:$LINENO: result: no" >&5
29071
 
echo "${ECHO_T}no" >&6
 
30687
         { echo "$as_me:$LINENO: result: no" >&5
 
30688
echo "${ECHO_T}no" >&6; }
29072
30689
else
29073
30690
           XLC="yes"
29074
 
         echo "$as_me:$LINENO: result: yes" >&5
29075
 
echo "${ECHO_T}yes" >&6
 
30691
         { echo "$as_me:$LINENO: result: yes" >&5
 
30692
echo "${ECHO_T}yes" >&6; }
29076
30693
         CFLAGS="$CFLAGS -qthreaded"
29077
30694
 
29078
30695
fi
29085
30702
for ac_func in localtime_r
29086
30703
do
29087
30704
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29088
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
29089
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29090
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
30705
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
30706
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
30707
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29091
30708
  echo $ECHO_N "(cached) $ECHO_C" >&6
29092
30709
else
29093
30710
  cat >conftest.$ac_ext <<_ACEOF
29113
30730
 
29114
30731
#undef $ac_func
29115
30732
 
29116
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
30733
/* Override any GCC internal prototype to avoid an error.
 
30734
   Use char because int might match the return type of a GCC
 
30735
   builtin and then its argument prototype would still apply.  */
29117
30736
#ifdef __cplusplus
29118
30737
extern "C"
29119
 
{
29120
30738
#endif
29121
 
/* We use char because int might match the return type of a gcc2
29122
 
   builtin and then its argument prototype would still apply.  */
29123
30739
char $ac_func ();
29124
30740
/* The GNU C library defines this for functions which it implements
29125
30741
    to always fail with ENOSYS.  Some functions are actually named
29126
30742
    something starting with __ and the normal name is an alias.  */
29127
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
30743
#if defined __stub_$ac_func || defined __stub___$ac_func
29128
30744
choke me
29129
 
#else
29130
 
char (*f) () = $ac_func;
29131
 
#endif
29132
 
#ifdef __cplusplus
29133
 
}
29134
30745
#endif
29135
30746
 
29136
30747
int
29137
30748
main ()
29138
30749
{
29139
 
return f != $ac_func;
 
30750
return $ac_func ();
29140
30751
  ;
29141
30752
  return 0;
29142
30753
}
29143
30754
_ACEOF
29144
30755
rm -f conftest.$ac_objext conftest$ac_exeext
29145
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29146
 
  (eval $ac_link) 2>conftest.er1
 
30756
if { (ac_try="$ac_link"
 
30757
case "(($ac_try" in
 
30758
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30759
  *) ac_try_echo=$ac_try;;
 
30760
esac
 
30761
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30762
  (eval "$ac_link") 2>conftest.er1
29147
30763
  ac_status=$?
29148
30764
  grep -v '^ *+' conftest.er1 >conftest.err
29149
30765
  rm -f conftest.er1
29150
30766
  cat conftest.err >&5
29151
30767
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29152
30768
  (exit $ac_status); } &&
29153
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
29154
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29155
 
  (eval $ac_try) 2>&5
 
30769
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
30770
  { (case "(($ac_try" in
 
30771
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30772
  *) ac_try_echo=$ac_try;;
 
30773
esac
 
30774
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30775
  (eval "$ac_try") 2>&5
29156
30776
  ac_status=$?
29157
30777
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29158
30778
  (exit $ac_status); }; } &&
29159
30779
         { ac_try='test -s conftest$ac_exeext'
29160
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29161
 
  (eval $ac_try) 2>&5
 
30780
  { (case "(($ac_try" in
 
30781
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30782
  *) ac_try_echo=$ac_try;;
 
30783
esac
 
30784
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30785
  (eval "$ac_try") 2>&5
29162
30786
  ac_status=$?
29163
30787
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29164
30788
  (exit $ac_status); }; }; then
29167
30791
  echo "$as_me: failed program was:" >&5
29168
30792
sed 's/^/| /' conftest.$ac_ext >&5
29169
30793
 
29170
 
eval "$as_ac_var=no"
 
30794
        eval "$as_ac_var=no"
29171
30795
fi
 
30796
 
29172
30797
rm -f conftest.err conftest.$ac_objext \
29173
30798
      conftest$ac_exeext conftest.$ac_ext
29174
30799
fi
29175
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29176
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
30800
ac_res=`eval echo '${'$as_ac_var'}'`
 
30801
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
30802
echo "${ECHO_T}$ac_res" >&6; }
29177
30803
if test `eval echo '${'$as_ac_var'}'` = yes; then
29178
30804
  cat >>confdefs.h <<_ACEOF
29179
30805
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29180
30806
_ACEOF
29181
30807
 
29182
 
    echo "$as_me:$LINENO: checking whether localtime_r is declared" >&5
29183
 
echo $ECHO_N "checking whether localtime_r is declared... $ECHO_C" >&6
 
30808
    { echo "$as_me:$LINENO: checking whether localtime_r is declared" >&5
 
30809
echo $ECHO_N "checking whether localtime_r is declared... $ECHO_C" >&6; }
29184
30810
    cat >conftest.$ac_ext <<_ACEOF
29185
30811
/* confdefs.h.  */
29186
30812
_ACEOF
29193
30819
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29194
30820
  $EGREP "localtime_r" >/dev/null 2>&1; then
29195
30821
 
29196
 
      echo "$as_me:$LINENO: result: yes" >&5
29197
 
echo "${ECHO_T}yes" >&6
 
30822
      { echo "$as_me:$LINENO: result: yes" >&5
 
30823
echo "${ECHO_T}yes" >&6; }
29198
30824
else
29199
30825
 
29200
 
      echo "$as_me:$LINENO: result: no" >&5
29201
 
echo "${ECHO_T}no" >&6
29202
 
      echo "$as_me:$LINENO: checking whether localtime_r with -D_REENTRANT is declared" >&5
29203
 
echo $ECHO_N "checking whether localtime_r with -D_REENTRANT is declared... $ECHO_C" >&6
 
30826
      { echo "$as_me:$LINENO: result: no" >&5
 
30827
echo "${ECHO_T}no" >&6; }
 
30828
      { echo "$as_me:$LINENO: checking whether localtime_r with -D_REENTRANT is declared" >&5
 
30829
echo $ECHO_N "checking whether localtime_r with -D_REENTRANT is declared... $ECHO_C" >&6; }
29204
30830
      cat >conftest.$ac_ext <<_ACEOF
29205
30831
/* confdefs.h.  */
29206
30832
_ACEOF
29218
30844
#define NEED_REENTRANT 1
29219
30845
_ACEOF
29220
30846
 
29221
 
        echo "$as_me:$LINENO: result: yes" >&5
29222
 
echo "${ECHO_T}yes" >&6
 
30847
        { echo "$as_me:$LINENO: result: yes" >&5
 
30848
echo "${ECHO_T}yes" >&6; }
29223
30849
else
29224
 
  echo "$as_me:$LINENO: result: no" >&5
29225
 
echo "${ECHO_T}no" >&6
 
30850
  { echo "$as_me:$LINENO: result: no" >&5
 
30851
echo "${ECHO_T}no" >&6; }
29226
30852
fi
29227
30853
rm -f conftest*
29228
30854
 
29239
30865
for ac_func in strerror_r
29240
30866
do
29241
30867
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29242
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
29243
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29244
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
30868
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
30869
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
30870
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29245
30871
  echo $ECHO_N "(cached) $ECHO_C" >&6
29246
30872
else
29247
30873
  cat >conftest.$ac_ext <<_ACEOF
29267
30893
 
29268
30894
#undef $ac_func
29269
30895
 
29270
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
30896
/* Override any GCC internal prototype to avoid an error.
 
30897
   Use char because int might match the return type of a GCC
 
30898
   builtin and then its argument prototype would still apply.  */
29271
30899
#ifdef __cplusplus
29272
30900
extern "C"
29273
 
{
29274
30901
#endif
29275
 
/* We use char because int might match the return type of a gcc2
29276
 
   builtin and then its argument prototype would still apply.  */
29277
30902
char $ac_func ();
29278
30903
/* The GNU C library defines this for functions which it implements
29279
30904
    to always fail with ENOSYS.  Some functions are actually named
29280
30905
    something starting with __ and the normal name is an alias.  */
29281
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
30906
#if defined __stub_$ac_func || defined __stub___$ac_func
29282
30907
choke me
29283
 
#else
29284
 
char (*f) () = $ac_func;
29285
 
#endif
29286
 
#ifdef __cplusplus
29287
 
}
29288
30908
#endif
29289
30909
 
29290
30910
int
29291
30911
main ()
29292
30912
{
29293
 
return f != $ac_func;
 
30913
return $ac_func ();
29294
30914
  ;
29295
30915
  return 0;
29296
30916
}
29297
30917
_ACEOF
29298
30918
rm -f conftest.$ac_objext conftest$ac_exeext
29299
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29300
 
  (eval $ac_link) 2>conftest.er1
 
30919
if { (ac_try="$ac_link"
 
30920
case "(($ac_try" in
 
30921
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30922
  *) ac_try_echo=$ac_try;;
 
30923
esac
 
30924
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30925
  (eval "$ac_link") 2>conftest.er1
29301
30926
  ac_status=$?
29302
30927
  grep -v '^ *+' conftest.er1 >conftest.err
29303
30928
  rm -f conftest.er1
29304
30929
  cat conftest.err >&5
29305
30930
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29306
30931
  (exit $ac_status); } &&
29307
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
29308
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29309
 
  (eval $ac_try) 2>&5
 
30932
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
30933
  { (case "(($ac_try" in
 
30934
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30935
  *) ac_try_echo=$ac_try;;
 
30936
esac
 
30937
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30938
  (eval "$ac_try") 2>&5
29310
30939
  ac_status=$?
29311
30940
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29312
30941
  (exit $ac_status); }; } &&
29313
30942
         { ac_try='test -s conftest$ac_exeext'
29314
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29315
 
  (eval $ac_try) 2>&5
 
30943
  { (case "(($ac_try" in
 
30944
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30945
  *) ac_try_echo=$ac_try;;
 
30946
esac
 
30947
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30948
  (eval "$ac_try") 2>&5
29316
30949
  ac_status=$?
29317
30950
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29318
30951
  (exit $ac_status); }; }; then
29321
30954
  echo "$as_me: failed program was:" >&5
29322
30955
sed 's/^/| /' conftest.$ac_ext >&5
29323
30956
 
29324
 
eval "$as_ac_var=no"
 
30957
        eval "$as_ac_var=no"
29325
30958
fi
 
30959
 
29326
30960
rm -f conftest.err conftest.$ac_objext \
29327
30961
      conftest$ac_exeext conftest.$ac_ext
29328
30962
fi
29329
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29330
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
30963
ac_res=`eval echo '${'$as_ac_var'}'`
 
30964
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
30965
echo "${ECHO_T}$ac_res" >&6; }
29331
30966
if test `eval echo '${'$as_ac_var'}'` = yes; then
29332
30967
  cat >>confdefs.h <<_ACEOF
29333
30968
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29339
30974
 
29340
30975
  if test "x$ac_cv_func_strerror_r" = "xyes"; then
29341
30976
 
29342
 
    echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5
29343
 
echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6
 
30977
    { echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5
 
30978
echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6; }
29344
30979
    cat >conftest.$ac_ext <<_ACEOF
29345
30980
/* confdefs.h.  */
29346
30981
_ACEOF
29353
30988
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29354
30989
  $EGREP "strerror_r" >/dev/null 2>&1; then
29355
30990
 
29356
 
      echo "$as_me:$LINENO: result: yes" >&5
29357
 
echo "${ECHO_T}yes" >&6
 
30991
      { echo "$as_me:$LINENO: result: yes" >&5
 
30992
echo "${ECHO_T}yes" >&6; }
29358
30993
else
29359
30994
 
29360
 
      echo "$as_me:$LINENO: result: no" >&5
29361
 
echo "${ECHO_T}no" >&6
29362
 
      echo "$as_me:$LINENO: checking whether strerror_r with -D_REENTRANT is declared" >&5
29363
 
echo $ECHO_N "checking whether strerror_r with -D_REENTRANT is declared... $ECHO_C" >&6
 
30995
      { echo "$as_me:$LINENO: result: no" >&5
 
30996
echo "${ECHO_T}no" >&6; }
 
30997
      { echo "$as_me:$LINENO: checking whether strerror_r with -D_REENTRANT is declared" >&5
 
30998
echo $ECHO_N "checking whether strerror_r with -D_REENTRANT is declared... $ECHO_C" >&6; }
29364
30999
      cat >conftest.$ac_ext <<_ACEOF
29365
31000
/* confdefs.h.  */
29366
31001
_ACEOF
29375
31010
  $EGREP "strerror_r" >/dev/null 2>&1; then
29376
31011
 
29377
31012
        CPPFLAGS="-D_REENTRANT $CPPFLAGS"
29378
 
        echo "$as_me:$LINENO: result: yes" >&5
29379
 
echo "${ECHO_T}yes" >&6
 
31013
        { echo "$as_me:$LINENO: result: yes" >&5
 
31014
echo "${ECHO_T}yes" >&6; }
29380
31015
else
29381
 
  echo "$as_me:$LINENO: result: no" >&5
29382
 
echo "${ECHO_T}no" >&6
 
31016
  { echo "$as_me:$LINENO: result: no" >&5
 
31017
echo "${ECHO_T}no" >&6; }
29383
31018
 
29384
31019
cat >>confdefs.h <<\_ACEOF
29385
31020
#define HAVE_NO_STRERROR_R_DECL 1
29392
31027
fi
29393
31028
rm -f conftest*
29394
31029
 
29395
 
        echo "$as_me:$LINENO: checking for a glibc strerror_r API" >&5
29396
 
echo $ECHO_N "checking for a glibc strerror_r API... $ECHO_C" >&6
 
31030
        { echo "$as_me:$LINENO: checking for a glibc strerror_r API" >&5
 
31031
echo $ECHO_N "checking for a glibc strerror_r API... $ECHO_C" >&6; }
29397
31032
    if test "$cross_compiling" = yes; then
29398
31033
      cat >conftest.$ac_ext <<_ACEOF
29399
31034
/* confdefs.h.  */
29416
31051
#define HAVE_GLIBC_STRERROR_R 1
29417
31052
_ACEOF
29418
31053
 
29419
 
      echo "$as_me:$LINENO: result: yes" >&5
29420
 
echo "${ECHO_T}yes" >&6
 
31054
      { echo "$as_me:$LINENO: result: yes" >&5
 
31055
echo "${ECHO_T}yes" >&6; }
29421
31056
else
29422
31057
  { echo "$as_me:$LINENO: cannot determine strerror_r() style: edit lib/config.h manually!" >&5
29423
31058
echo "$as_me: cannot determine strerror_r() style: edit lib/config.h manually!" >&6;}
29448
31083
 
29449
31084
_ACEOF
29450
31085
rm -f conftest$ac_exeext
29451
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29452
 
  (eval $ac_link) 2>&5
 
31086
if { (ac_try="$ac_link"
 
31087
case "(($ac_try" in
 
31088
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31089
  *) ac_try_echo=$ac_try;;
 
31090
esac
 
31091
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31092
  (eval "$ac_link") 2>&5
29453
31093
  ac_status=$?
29454
31094
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29455
31095
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29456
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29457
 
  (eval $ac_try) 2>&5
 
31096
  { (case "(($ac_try" in
 
31097
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31098
  *) ac_try_echo=$ac_try;;
 
31099
esac
 
31100
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31101
  (eval "$ac_try") 2>&5
29458
31102
  ac_status=$?
29459
31103
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29460
31104
  (exit $ac_status); }; }; then
29464
31108
#define HAVE_GLIBC_STRERROR_R 1
29465
31109
_ACEOF
29466
31110
 
29467
 
    echo "$as_me:$LINENO: result: yes" >&5
29468
 
echo "${ECHO_T}yes" >&6
 
31111
    { echo "$as_me:$LINENO: result: yes" >&5
 
31112
echo "${ECHO_T}yes" >&6; }
29469
31113
else
29470
31114
  echo "$as_me: program exited with status $ac_status" >&5
29471
31115
echo "$as_me: failed program was:" >&5
29472
31116
sed 's/^/| /' conftest.$ac_ext >&5
29473
31117
 
29474
31118
( exit $ac_status )
29475
 
echo "$as_me:$LINENO: result: no" >&5
29476
 
echo "${ECHO_T}no" >&6
29477
 
fi
29478
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29479
 
fi
 
31119
{ echo "$as_me:$LINENO: result: no" >&5
 
31120
echo "${ECHO_T}no" >&6; }
 
31121
fi
 
31122
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
31123
fi
 
31124
 
 
31125
 
29480
31126
 
29481
31127
    if test -z "$GLIBC_STRERROR_R"; then
29482
31128
 
29483
 
      echo "$as_me:$LINENO: checking for a POSIX strerror_r API" >&5
29484
 
echo $ECHO_N "checking for a POSIX strerror_r API... $ECHO_C" >&6
 
31129
      { echo "$as_me:$LINENO: checking for a POSIX strerror_r API" >&5
 
31130
echo $ECHO_N "checking for a POSIX strerror_r API... $ECHO_C" >&6; }
29485
31131
      if test "$cross_compiling" = yes; then
29486
31132
        { echo "$as_me:$LINENO: cannot determine strerror_r() style: edit lib/config.h manually!" >&5
29487
31133
echo "$as_me: cannot determine strerror_r() style: edit lib/config.h manually!" >&6;}
29510
31156
 
29511
31157
_ACEOF
29512
31158
rm -f conftest$ac_exeext
29513
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29514
 
  (eval $ac_link) 2>&5
 
31159
if { (ac_try="$ac_link"
 
31160
case "(($ac_try" in
 
31161
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31162
  *) ac_try_echo=$ac_try;;
 
31163
esac
 
31164
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31165
  (eval "$ac_link") 2>&5
29515
31166
  ac_status=$?
29516
31167
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29517
31168
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29518
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29519
 
  (eval $ac_try) 2>&5
 
31169
  { (case "(($ac_try" in
 
31170
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31171
  *) ac_try_echo=$ac_try;;
 
31172
esac
 
31173
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31174
  (eval "$ac_try") 2>&5
29520
31175
  ac_status=$?
29521
31176
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29522
31177
  (exit $ac_status); }; }; then
29525
31180
#define HAVE_POSIX_STRERROR_R 1
29526
31181
_ACEOF
29527
31182
 
29528
 
      echo "$as_me:$LINENO: result: yes" >&5
29529
 
echo "${ECHO_T}yes" >&6
 
31183
      { echo "$as_me:$LINENO: result: yes" >&5
 
31184
echo "${ECHO_T}yes" >&6; }
29530
31185
else
29531
31186
  echo "$as_me: program exited with status $ac_status" >&5
29532
31187
echo "$as_me: failed program was:" >&5
29533
31188
sed 's/^/| /' conftest.$ac_ext >&5
29534
31189
 
29535
31190
( exit $ac_status )
29536
 
echo "$as_me:$LINENO: result: no" >&5
29537
 
echo "${ECHO_T}no" >&6
29538
 
fi
29539
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29540
 
fi
 
31191
{ echo "$as_me:$LINENO: result: no" >&5
 
31192
echo "${ECHO_T}no" >&6; }
 
31193
fi
 
31194
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
31195
fi
 
31196
 
 
31197
 
29541
31198
 
29542
31199
    fi
29543
31200
  fi
29551
31208
  if test x$checkfor_gmtime_r = xyes; then
29552
31209
 
29553
31210
 
29554
 
    echo "$as_me:$LINENO: checking if gmtime_r exists and works" >&5
29555
 
echo $ECHO_N "checking if gmtime_r exists and works... $ECHO_C" >&6
 
31211
    { echo "$as_me:$LINENO: checking if gmtime_r exists and works" >&5
 
31212
echo $ECHO_N "checking if gmtime_r exists and works... $ECHO_C" >&6; }
29556
31213
    if test "$cross_compiling" = yes; then
29557
 
      ]
 
31214
       echo "hej"
 
31215
 
29558
31216
else
29559
31217
  cat >conftest.$ac_ext <<_ACEOF
29560
31218
 
29575
31233
 
29576
31234
_ACEOF
29577
31235
rm -f conftest$ac_exeext
29578
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29579
 
  (eval $ac_link) 2>&5
 
31236
if { (ac_try="$ac_link"
 
31237
case "(($ac_try" in
 
31238
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31239
  *) ac_try_echo=$ac_try;;
 
31240
esac
 
31241
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31242
  (eval "$ac_link") 2>&5
29580
31243
  ac_status=$?
29581
31244
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29582
31245
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29583
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29584
 
  (eval $ac_try) 2>&5
 
31246
  { (case "(($ac_try" in
 
31247
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31248
  *) ac_try_echo=$ac_try;;
 
31249
esac
 
31250
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31251
  (eval "$ac_try") 2>&5
29585
31252
  ac_status=$?
29586
31253
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29587
31254
  (exit $ac_status); }; }; then
29588
 
       echo "$as_me:$LINENO: result: yes" >&5
29589
 
echo "${ECHO_T}yes" >&6
 
31255
       { echo "$as_me:$LINENO: result: yes" >&5
 
31256
echo "${ECHO_T}yes" >&6; }
29590
31257
 
29591
31258
cat >>confdefs.h <<\_ACEOF
29592
31259
#define HAVE_GMTIME_R 1
29599
31266
sed 's/^/| /' conftest.$ac_ext >&5
29600
31267
 
29601
31268
( exit $ac_status )
29602
 
     echo "$as_me:$LINENO: result: no" >&5
29603
 
echo "${ECHO_T}no" >&6
29604
 
 
29605
 
fi
29606
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29607
 
fi
 
31269
     { echo "$as_me:$LINENO: result: no" >&5
 
31270
echo "${ECHO_T}no" >&6; }
 
31271
 
 
31272
fi
 
31273
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
31274
fi
 
31275
 
 
31276
 
29608
31277
  fi
29609
31278
else
29610
31279
 
29611
31280
for ac_func in gmtime_r
29612
31281
do
29613
31282
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29614
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
29615
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29616
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
31283
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
31284
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
31285
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29617
31286
  echo $ECHO_N "(cached) $ECHO_C" >&6
29618
31287
else
29619
31288
  cat >conftest.$ac_ext <<_ACEOF
29639
31308
 
29640
31309
#undef $ac_func
29641
31310
 
29642
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
31311
/* Override any GCC internal prototype to avoid an error.
 
31312
   Use char because int might match the return type of a GCC
 
31313
   builtin and then its argument prototype would still apply.  */
29643
31314
#ifdef __cplusplus
29644
31315
extern "C"
29645
 
{
29646
31316
#endif
29647
 
/* We use char because int might match the return type of a gcc2
29648
 
   builtin and then its argument prototype would still apply.  */
29649
31317
char $ac_func ();
29650
31318
/* The GNU C library defines this for functions which it implements
29651
31319
    to always fail with ENOSYS.  Some functions are actually named
29652
31320
    something starting with __ and the normal name is an alias.  */
29653
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
31321
#if defined __stub_$ac_func || defined __stub___$ac_func
29654
31322
choke me
29655
 
#else
29656
 
char (*f) () = $ac_func;
29657
 
#endif
29658
 
#ifdef __cplusplus
29659
 
}
29660
31323
#endif
29661
31324
 
29662
31325
int
29663
31326
main ()
29664
31327
{
29665
 
return f != $ac_func;
 
31328
return $ac_func ();
29666
31329
  ;
29667
31330
  return 0;
29668
31331
}
29669
31332
_ACEOF
29670
31333
rm -f conftest.$ac_objext conftest$ac_exeext
29671
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29672
 
  (eval $ac_link) 2>conftest.er1
 
31334
if { (ac_try="$ac_link"
 
31335
case "(($ac_try" in
 
31336
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31337
  *) ac_try_echo=$ac_try;;
 
31338
esac
 
31339
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31340
  (eval "$ac_link") 2>conftest.er1
29673
31341
  ac_status=$?
29674
31342
  grep -v '^ *+' conftest.er1 >conftest.err
29675
31343
  rm -f conftest.er1
29676
31344
  cat conftest.err >&5
29677
31345
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29678
31346
  (exit $ac_status); } &&
29679
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
29680
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29681
 
  (eval $ac_try) 2>&5
 
31347
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
31348
  { (case "(($ac_try" in
 
31349
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31350
  *) ac_try_echo=$ac_try;;
 
31351
esac
 
31352
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31353
  (eval "$ac_try") 2>&5
29682
31354
  ac_status=$?
29683
31355
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29684
31356
  (exit $ac_status); }; } &&
29685
31357
         { ac_try='test -s conftest$ac_exeext'
29686
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29687
 
  (eval $ac_try) 2>&5
 
31358
  { (case "(($ac_try" in
 
31359
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31360
  *) ac_try_echo=$ac_try;;
 
31361
esac
 
31362
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31363
  (eval "$ac_try") 2>&5
29688
31364
  ac_status=$?
29689
31365
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29690
31366
  (exit $ac_status); }; }; then
29693
31369
  echo "$as_me: failed program was:" >&5
29694
31370
sed 's/^/| /' conftest.$ac_ext >&5
29695
31371
 
29696
 
eval "$as_ac_var=no"
 
31372
        eval "$as_ac_var=no"
29697
31373
fi
 
31374
 
29698
31375
rm -f conftest.err conftest.$ac_objext \
29699
31376
      conftest$ac_exeext conftest.$ac_ext
29700
31377
fi
29701
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29702
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
31378
ac_res=`eval echo '${'$as_ac_var'}'`
 
31379
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
31380
echo "${ECHO_T}$ac_res" >&6; }
29703
31381
if test `eval echo '${'$as_ac_var'}'` = yes; then
29704
31382
  cat >>confdefs.h <<_ACEOF
29705
31383
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29712
31390
 
29713
31391
 
29714
31392
 
29715
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
29716
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
31393
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
31394
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
29717
31395
if test "${ac_cv_header_stdc+set}" = set; then
29718
31396
  echo $ECHO_N "(cached) $ECHO_C" >&6
29719
31397
else
29737
31415
}
29738
31416
_ACEOF
29739
31417
rm -f conftest.$ac_objext
29740
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29741
 
  (eval $ac_compile) 2>conftest.er1
 
31418
if { (ac_try="$ac_compile"
 
31419
case "(($ac_try" in
 
31420
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31421
  *) ac_try_echo=$ac_try;;
 
31422
esac
 
31423
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31424
  (eval "$ac_compile") 2>conftest.er1
29742
31425
  ac_status=$?
29743
31426
  grep -v '^ *+' conftest.er1 >conftest.err
29744
31427
  rm -f conftest.er1
29745
31428
  cat conftest.err >&5
29746
31429
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29747
31430
  (exit $ac_status); } &&
29748
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
29749
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29750
 
  (eval $ac_try) 2>&5
 
31431
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
31432
  { (case "(($ac_try" in
 
31433
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31434
  *) ac_try_echo=$ac_try;;
 
31435
esac
 
31436
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31437
  (eval "$ac_try") 2>&5
29751
31438
  ac_status=$?
29752
31439
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29753
31440
  (exit $ac_status); }; } &&
29754
31441
         { ac_try='test -s conftest.$ac_objext'
29755
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29756
 
  (eval $ac_try) 2>&5
 
31442
  { (case "(($ac_try" in
 
31443
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31444
  *) ac_try_echo=$ac_try;;
 
31445
esac
 
31446
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31447
  (eval "$ac_try") 2>&5
29757
31448
  ac_status=$?
29758
31449
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29759
31450
  (exit $ac_status); }; }; then
29762
31453
  echo "$as_me: failed program was:" >&5
29763
31454
sed 's/^/| /' conftest.$ac_ext >&5
29764
31455
 
29765
 
ac_cv_header_stdc=no
 
31456
        ac_cv_header_stdc=no
29766
31457
fi
 
31458
 
29767
31459
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29768
31460
 
29769
31461
if test $ac_cv_header_stdc = yes; then
29820
31512
cat >>conftest.$ac_ext <<_ACEOF
29821
31513
/* end confdefs.h.  */
29822
31514
#include <ctype.h>
 
31515
#include <stdlib.h>
29823
31516
#if ((' ' & 0x0FF) == 0x020)
29824
31517
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
29825
31518
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
29839
31532
  for (i = 0; i < 256; i++)
29840
31533
    if (XOR (islower (i), ISLOWER (i))
29841
31534
        || toupper (i) != TOUPPER (i))
29842
 
      exit(2);
29843
 
  exit (0);
 
31535
      return 2;
 
31536
  return 0;
29844
31537
}
29845
31538
_ACEOF
29846
31539
rm -f conftest$ac_exeext
29847
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29848
 
  (eval $ac_link) 2>&5
 
31540
if { (ac_try="$ac_link"
 
31541
case "(($ac_try" in
 
31542
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31543
  *) ac_try_echo=$ac_try;;
 
31544
esac
 
31545
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31546
  (eval "$ac_link") 2>&5
29849
31547
  ac_status=$?
29850
31548
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29851
31549
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29852
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29853
 
  (eval $ac_try) 2>&5
 
31550
  { (case "(($ac_try" in
 
31551
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31552
  *) ac_try_echo=$ac_try;;
 
31553
esac
 
31554
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31555
  (eval "$ac_try") 2>&5
29854
31556
  ac_status=$?
29855
31557
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29856
31558
  (exit $ac_status); }; }; then
29863
31565
( exit $ac_status )
29864
31566
ac_cv_header_stdc=no
29865
31567
fi
29866
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29867
 
fi
29868
 
fi
29869
 
fi
29870
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
29871
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
31568
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
31569
fi
 
31570
 
 
31571
 
 
31572
fi
 
31573
fi
 
31574
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
31575
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
29872
31576
if test $ac_cv_header_stdc = yes; then
29873
31577
 
29874
31578
cat >>confdefs.h <<\_ACEOF
29916
31620
 
29917
31621
 
29918
31622
 
29919
 
 
29920
31623
for ac_header in sys/types.h \
29921
31624
        sys/time.h \
29922
31625
        sys/select.h \
29941
31644
        fcntl.h \
29942
31645
        dlfcn.h \
29943
31646
        alloca.h \
29944
 
        winsock.h \
29945
 
        winsock2.h \
29946
31647
        time.h \
29947
31648
        io.h \
29948
31649
        pwd.h \
29958
31659
        setjmp.h
29959
31660
do
29960
31661
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29961
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
29962
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29963
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
31662
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
31663
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
31664
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29964
31665
  echo $ECHO_N "(cached) $ECHO_C" >&6
29965
31666
else
29966
31667
  cat >conftest.$ac_ext <<_ACEOF
29991
31692
#include <$ac_header>
29992
31693
_ACEOF
29993
31694
rm -f conftest.$ac_objext
29994
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29995
 
  (eval $ac_compile) 2>conftest.er1
 
31695
if { (ac_try="$ac_compile"
 
31696
case "(($ac_try" in
 
31697
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31698
  *) ac_try_echo=$ac_try;;
 
31699
esac
 
31700
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31701
  (eval "$ac_compile") 2>conftest.er1
29996
31702
  ac_status=$?
29997
31703
  grep -v '^ *+' conftest.er1 >conftest.err
29998
31704
  rm -f conftest.er1
29999
31705
  cat conftest.err >&5
30000
31706
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30001
31707
  (exit $ac_status); } &&
30002
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
30003
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30004
 
  (eval $ac_try) 2>&5
 
31708
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
31709
  { (case "(($ac_try" in
 
31710
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31711
  *) ac_try_echo=$ac_try;;
 
31712
esac
 
31713
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31714
  (eval "$ac_try") 2>&5
30005
31715
  ac_status=$?
30006
31716
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30007
31717
  (exit $ac_status); }; } &&
30008
31718
         { ac_try='test -s conftest.$ac_objext'
30009
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30010
 
  (eval $ac_try) 2>&5
 
31719
  { (case "(($ac_try" in
 
31720
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31721
  *) ac_try_echo=$ac_try;;
 
31722
esac
 
31723
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31724
  (eval "$ac_try") 2>&5
30011
31725
  ac_status=$?
30012
31726
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30013
31727
  (exit $ac_status); }; }; then
30016
31730
  echo "$as_me: failed program was:" >&5
30017
31731
sed 's/^/| /' conftest.$ac_ext >&5
30018
31732
 
30019
 
eval "$as_ac_Header=no"
 
31733
        eval "$as_ac_Header=no"
30020
31734
fi
 
31735
 
30021
31736
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30022
31737
fi
30023
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30024
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
31738
ac_res=`eval echo '${'$as_ac_Header'}'`
 
31739
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
31740
echo "${ECHO_T}$ac_res" >&6; }
30025
31741
if test `eval echo '${'$as_ac_Header'}'` = yes; then
30026
31742
  cat >>confdefs.h <<_ACEOF
30027
31743
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30032
31748
done
30033
31749
 
30034
31750
 
30035
 
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
30036
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
 
31751
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 
31752
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
30037
31753
if test "${ac_cv_c_const+set}" = set; then
30038
31754
  echo $ECHO_N "(cached) $ECHO_C" >&6
30039
31755
else
30073
31789
    char const *s = 0 ? (char *) 0 : (char const *) 0;
30074
31790
 
30075
31791
    *t++ = 0;
 
31792
    if (s) return 0;
30076
31793
  }
30077
31794
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
30078
31795
    int x[] = {25, 17};
30091
31808
  }
30092
31809
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
30093
31810
    const int foo = 10;
 
31811
    if (!foo) return 0;
30094
31812
  }
 
31813
  return !x[0] && !zero.x;
30095
31814
#endif
30096
31815
 
30097
31816
  ;
30099
31818
}
30100
31819
_ACEOF
30101
31820
rm -f conftest.$ac_objext
30102
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30103
 
  (eval $ac_compile) 2>conftest.er1
 
31821
if { (ac_try="$ac_compile"
 
31822
case "(($ac_try" in
 
31823
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31824
  *) ac_try_echo=$ac_try;;
 
31825
esac
 
31826
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31827
  (eval "$ac_compile") 2>conftest.er1
30104
31828
  ac_status=$?
30105
31829
  grep -v '^ *+' conftest.er1 >conftest.err
30106
31830
  rm -f conftest.er1
30107
31831
  cat conftest.err >&5
30108
31832
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30109
31833
  (exit $ac_status); } &&
30110
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
30111
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30112
 
  (eval $ac_try) 2>&5
 
31834
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
31835
  { (case "(($ac_try" in
 
31836
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31837
  *) ac_try_echo=$ac_try;;
 
31838
esac
 
31839
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31840
  (eval "$ac_try") 2>&5
30113
31841
  ac_status=$?
30114
31842
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30115
31843
  (exit $ac_status); }; } &&
30116
31844
         { ac_try='test -s conftest.$ac_objext'
30117
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30118
 
  (eval $ac_try) 2>&5
 
31845
  { (case "(($ac_try" in
 
31846
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31847
  *) ac_try_echo=$ac_try;;
 
31848
esac
 
31849
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31850
  (eval "$ac_try") 2>&5
30119
31851
  ac_status=$?
30120
31852
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30121
31853
  (exit $ac_status); }; }; then
30124
31856
  echo "$as_me: failed program was:" >&5
30125
31857
sed 's/^/| /' conftest.$ac_ext >&5
30126
31858
 
30127
 
ac_cv_c_const=no
 
31859
        ac_cv_c_const=no
30128
31860
fi
 
31861
 
30129
31862
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30130
31863
fi
30131
 
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
30132
 
echo "${ECHO_T}$ac_cv_c_const" >&6
 
31864
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 
31865
echo "${ECHO_T}$ac_cv_c_const" >&6; }
30133
31866
if test $ac_cv_c_const = no; then
30134
31867
 
30135
31868
cat >>confdefs.h <<\_ACEOF
30138
31871
 
30139
31872
fi
30140
31873
 
30141
 
echo "$as_me:$LINENO: checking for size_t" >&5
30142
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
 
31874
{ echo "$as_me:$LINENO: checking for size_t" >&5
 
31875
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
30143
31876
if test "${ac_cv_type_size_t+set}" = set; then
30144
31877
  echo $ECHO_N "(cached) $ECHO_C" >&6
30145
31878
else
30150
31883
cat >>conftest.$ac_ext <<_ACEOF
30151
31884
/* end confdefs.h.  */
30152
31885
$ac_includes_default
 
31886
typedef size_t ac__type_new_;
30153
31887
int
30154
31888
main ()
30155
31889
{
30156
 
if ((size_t *) 0)
 
31890
if ((ac__type_new_ *) 0)
30157
31891
  return 0;
30158
 
if (sizeof (size_t))
 
31892
if (sizeof (ac__type_new_))
30159
31893
  return 0;
30160
31894
  ;
30161
31895
  return 0;
30162
31896
}
30163
31897
_ACEOF
30164
31898
rm -f conftest.$ac_objext
30165
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30166
 
  (eval $ac_compile) 2>conftest.er1
 
31899
if { (ac_try="$ac_compile"
 
31900
case "(($ac_try" in
 
31901
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31902
  *) ac_try_echo=$ac_try;;
 
31903
esac
 
31904
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31905
  (eval "$ac_compile") 2>conftest.er1
30167
31906
  ac_status=$?
30168
31907
  grep -v '^ *+' conftest.er1 >conftest.err
30169
31908
  rm -f conftest.er1
30170
31909
  cat conftest.err >&5
30171
31910
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30172
31911
  (exit $ac_status); } &&
30173
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
30174
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30175
 
  (eval $ac_try) 2>&5
 
31912
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
31913
  { (case "(($ac_try" in
 
31914
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31915
  *) ac_try_echo=$ac_try;;
 
31916
esac
 
31917
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31918
  (eval "$ac_try") 2>&5
30176
31919
  ac_status=$?
30177
31920
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30178
31921
  (exit $ac_status); }; } &&
30179
31922
         { ac_try='test -s conftest.$ac_objext'
30180
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30181
 
  (eval $ac_try) 2>&5
 
31923
  { (case "(($ac_try" in
 
31924
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31925
  *) ac_try_echo=$ac_try;;
 
31926
esac
 
31927
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31928
  (eval "$ac_try") 2>&5
30182
31929
  ac_status=$?
30183
31930
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30184
31931
  (exit $ac_status); }; }; then
30187
31934
  echo "$as_me: failed program was:" >&5
30188
31935
sed 's/^/| /' conftest.$ac_ext >&5
30189
31936
 
30190
 
ac_cv_type_size_t=no
 
31937
        ac_cv_type_size_t=no
30191
31938
fi
 
31939
 
30192
31940
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30193
31941
fi
30194
 
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30195
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6
 
31942
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
 
31943
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
30196
31944
if test $ac_cv_type_size_t = yes; then
30197
31945
  :
30198
31946
else
30199
31947
 
30200
31948
cat >>confdefs.h <<_ACEOF
30201
 
#define size_t unsigned
 
31949
#define size_t unsigned int
30202
31950
_ACEOF
30203
31951
 
30204
31952
fi
30205
31953
 
30206
 
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
30207
 
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
 
31954
{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
 
31955
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
30208
31956
if test "${ac_cv_header_time+set}" = set; then
30209
31957
  echo $ECHO_N "(cached) $ECHO_C" >&6
30210
31958
else
30228
31976
}
30229
31977
_ACEOF
30230
31978
rm -f conftest.$ac_objext
30231
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30232
 
  (eval $ac_compile) 2>conftest.er1
 
31979
if { (ac_try="$ac_compile"
 
31980
case "(($ac_try" in
 
31981
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31982
  *) ac_try_echo=$ac_try;;
 
31983
esac
 
31984
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31985
  (eval "$ac_compile") 2>conftest.er1
30233
31986
  ac_status=$?
30234
31987
  grep -v '^ *+' conftest.er1 >conftest.err
30235
31988
  rm -f conftest.er1
30236
31989
  cat conftest.err >&5
30237
31990
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30238
31991
  (exit $ac_status); } &&
30239
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
30240
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30241
 
  (eval $ac_try) 2>&5
 
31992
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
31993
  { (case "(($ac_try" in
 
31994
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31995
  *) ac_try_echo=$ac_try;;
 
31996
esac
 
31997
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31998
  (eval "$ac_try") 2>&5
30242
31999
  ac_status=$?
30243
32000
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30244
32001
  (exit $ac_status); }; } &&
30245
32002
         { ac_try='test -s conftest.$ac_objext'
30246
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30247
 
  (eval $ac_try) 2>&5
 
32003
  { (case "(($ac_try" in
 
32004
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32005
  *) ac_try_echo=$ac_try;;
 
32006
esac
 
32007
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32008
  (eval "$ac_try") 2>&5
30248
32009
  ac_status=$?
30249
32010
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30250
32011
  (exit $ac_status); }; }; then
30253
32014
  echo "$as_me: failed program was:" >&5
30254
32015
sed 's/^/| /' conftest.$ac_ext >&5
30255
32016
 
30256
 
ac_cv_header_time=no
 
32017
        ac_cv_header_time=no
30257
32018
fi
 
32019
 
30258
32020
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30259
32021
fi
30260
 
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
30261
 
echo "${ECHO_T}$ac_cv_header_time" >&6
 
32022
{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
 
32023
echo "${ECHO_T}$ac_cv_header_time" >&6; }
30262
32024
if test $ac_cv_header_time = yes; then
30263
32025
 
30264
32026
cat >>confdefs.h <<\_ACEOF
30268
32030
fi
30269
32031
 
30270
32032
 
30271
 
echo "$as_me:$LINENO: checking for curl_off_t" >&5
30272
 
echo $ECHO_N "checking for curl_off_t... $ECHO_C" >&6
 
32033
{ echo "$as_me:$LINENO: checking for curl_off_t" >&5
 
32034
echo $ECHO_N "checking for curl_off_t... $ECHO_C" >&6; }
30273
32035
if test "${ac_cv_type_curl_off_t+set}" = set; then
30274
32036
  echo $ECHO_N "(cached) $ECHO_C" >&6
30275
32037
else
30284
32046
#include "$srcdir/include/curl/curl.h"
30285
32047
 
30286
32048
 
 
32049
typedef curl_off_t ac__type_new_;
30287
32050
int
30288
32051
main ()
30289
32052
{
30290
 
if ((curl_off_t *) 0)
 
32053
if ((ac__type_new_ *) 0)
30291
32054
  return 0;
30292
 
if (sizeof (curl_off_t))
 
32055
if (sizeof (ac__type_new_))
30293
32056
  return 0;
30294
32057
  ;
30295
32058
  return 0;
30296
32059
}
30297
32060
_ACEOF
30298
32061
rm -f conftest.$ac_objext
30299
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30300
 
  (eval $ac_compile) 2>conftest.er1
 
32062
if { (ac_try="$ac_compile"
 
32063
case "(($ac_try" in
 
32064
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32065
  *) ac_try_echo=$ac_try;;
 
32066
esac
 
32067
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32068
  (eval "$ac_compile") 2>conftest.er1
30301
32069
  ac_status=$?
30302
32070
  grep -v '^ *+' conftest.er1 >conftest.err
30303
32071
  rm -f conftest.er1
30304
32072
  cat conftest.err >&5
30305
32073
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30306
32074
  (exit $ac_status); } &&
30307
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
30308
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30309
 
  (eval $ac_try) 2>&5
 
32075
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
32076
  { (case "(($ac_try" in
 
32077
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32078
  *) ac_try_echo=$ac_try;;
 
32079
esac
 
32080
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32081
  (eval "$ac_try") 2>&5
30310
32082
  ac_status=$?
30311
32083
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30312
32084
  (exit $ac_status); }; } &&
30313
32085
         { ac_try='test -s conftest.$ac_objext'
30314
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30315
 
  (eval $ac_try) 2>&5
 
32086
  { (case "(($ac_try" in
 
32087
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32088
  *) ac_try_echo=$ac_try;;
 
32089
esac
 
32090
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32091
  (eval "$ac_try") 2>&5
30316
32092
  ac_status=$?
30317
32093
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30318
32094
  (exit $ac_status); }; }; then
30321
32097
  echo "$as_me: failed program was:" >&5
30322
32098
sed 's/^/| /' conftest.$ac_ext >&5
30323
32099
 
30324
 
ac_cv_type_curl_off_t=no
 
32100
        ac_cv_type_curl_off_t=no
30325
32101
fi
 
32102
 
30326
32103
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30327
32104
fi
30328
 
echo "$as_me:$LINENO: result: $ac_cv_type_curl_off_t" >&5
30329
 
echo "${ECHO_T}$ac_cv_type_curl_off_t" >&6
 
32105
{ echo "$as_me:$LINENO: result: $ac_cv_type_curl_off_t" >&5
 
32106
echo "${ECHO_T}$ac_cv_type_curl_off_t" >&6; }
30330
32107
 
30331
 
echo "$as_me:$LINENO: checking size of curl_off_t" >&5
30332
 
echo $ECHO_N "checking size of curl_off_t... $ECHO_C" >&6
 
32108
{ echo "$as_me:$LINENO: checking size of curl_off_t" >&5
 
32109
echo $ECHO_N "checking size of curl_off_t... $ECHO_C" >&6; }
30333
32110
if test "${ac_cv_sizeof_curl_off_t+set}" = set; then
30334
32111
  echo $ECHO_N "(cached) $ECHO_C" >&6
30335
32112
else
30336
32113
  if test "$ac_cv_type_curl_off_t" = yes; then
30337
 
  # The cast to unsigned long works around a bug in the HP C Compiler
 
32114
  # The cast to long int works around a bug in the HP C Compiler
30338
32115
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
30339
32116
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
30340
32117
  # This bug is HP SR number 8606223364.
30351
32128
#include "$srcdir/include/curl/curl.h"
30352
32129
 
30353
32130
 
 
32131
                   typedef curl_off_t ac__type_sizeof_;
30354
32132
int
30355
32133
main ()
30356
32134
{
30357
 
static int test_array [1 - 2 * !(((long) (sizeof (curl_off_t))) >= 0)];
 
32135
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
30358
32136
test_array [0] = 0
30359
32137
 
30360
32138
  ;
30362
32140
}
30363
32141
_ACEOF
30364
32142
rm -f conftest.$ac_objext
30365
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30366
 
  (eval $ac_compile) 2>conftest.er1
 
32143
if { (ac_try="$ac_compile"
 
32144
case "(($ac_try" in
 
32145
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32146
  *) ac_try_echo=$ac_try;;
 
32147
esac
 
32148
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32149
  (eval "$ac_compile") 2>conftest.er1
30367
32150
  ac_status=$?
30368
32151
  grep -v '^ *+' conftest.er1 >conftest.err
30369
32152
  rm -f conftest.er1
30370
32153
  cat conftest.err >&5
30371
32154
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372
32155
  (exit $ac_status); } &&
30373
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
30374
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30375
 
  (eval $ac_try) 2>&5
 
32156
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
32157
  { (case "(($ac_try" in
 
32158
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32159
  *) ac_try_echo=$ac_try;;
 
32160
esac
 
32161
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32162
  (eval "$ac_try") 2>&5
30376
32163
  ac_status=$?
30377
32164
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30378
32165
  (exit $ac_status); }; } &&
30379
32166
         { ac_try='test -s conftest.$ac_objext'
30380
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30381
 
  (eval $ac_try) 2>&5
 
32167
  { (case "(($ac_try" in
 
32168
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32169
  *) ac_try_echo=$ac_try;;
 
32170
esac
 
32171
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32172
  (eval "$ac_try") 2>&5
30382
32173
  ac_status=$?
30383
32174
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30384
32175
  (exit $ac_status); }; }; then
30395
32186
#include "$srcdir/include/curl/curl.h"
30396
32187
 
30397
32188
 
 
32189
                   typedef curl_off_t ac__type_sizeof_;
30398
32190
int
30399
32191
main ()
30400
32192
{
30401
 
static int test_array [1 - 2 * !(((long) (sizeof (curl_off_t))) <= $ac_mid)];
 
32193
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
30402
32194
test_array [0] = 0
30403
32195
 
30404
32196
  ;
30406
32198
}
30407
32199
_ACEOF
30408
32200
rm -f conftest.$ac_objext
30409
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30410
 
  (eval $ac_compile) 2>conftest.er1
 
32201
if { (ac_try="$ac_compile"
 
32202
case "(($ac_try" in
 
32203
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32204
  *) ac_try_echo=$ac_try;;
 
32205
esac
 
32206
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32207
  (eval "$ac_compile") 2>conftest.er1
30411
32208
  ac_status=$?
30412
32209
  grep -v '^ *+' conftest.er1 >conftest.err
30413
32210
  rm -f conftest.er1
30414
32211
  cat conftest.err >&5
30415
32212
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30416
32213
  (exit $ac_status); } &&
30417
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
30418
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30419
 
  (eval $ac_try) 2>&5
 
32214
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
32215
  { (case "(($ac_try" in
 
32216
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32217
  *) ac_try_echo=$ac_try;;
 
32218
esac
 
32219
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32220
  (eval "$ac_try") 2>&5
30420
32221
  ac_status=$?
30421
32222
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30422
32223
  (exit $ac_status); }; } &&
30423
32224
         { ac_try='test -s conftest.$ac_objext'
30424
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30425
 
  (eval $ac_try) 2>&5
 
32225
  { (case "(($ac_try" in
 
32226
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32227
  *) ac_try_echo=$ac_try;;
 
32228
esac
 
32229
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32230
  (eval "$ac_try") 2>&5
30426
32231
  ac_status=$?
30427
32232
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30428
32233
  (exit $ac_status); }; }; then
30431
32236
  echo "$as_me: failed program was:" >&5
30432
32237
sed 's/^/| /' conftest.$ac_ext >&5
30433
32238
 
30434
 
ac_lo=`expr $ac_mid + 1`
30435
 
                    if test $ac_lo -le $ac_mid; then
30436
 
                      ac_lo= ac_hi=
30437
 
                      break
30438
 
                    fi
30439
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
32239
        ac_lo=`expr $ac_mid + 1`
 
32240
                        if test $ac_lo -le $ac_mid; then
 
32241
                          ac_lo= ac_hi=
 
32242
                          break
 
32243
                        fi
 
32244
                        ac_mid=`expr 2 '*' $ac_mid + 1`
30440
32245
fi
 
32246
 
30441
32247
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30442
32248
  done
30443
32249
else
30444
32250
  echo "$as_me: failed program was:" >&5
30445
32251
sed 's/^/| /' conftest.$ac_ext >&5
30446
32252
 
30447
 
cat >conftest.$ac_ext <<_ACEOF
 
32253
        cat >conftest.$ac_ext <<_ACEOF
30448
32254
/* confdefs.h.  */
30449
32255
_ACEOF
30450
32256
cat confdefs.h >>conftest.$ac_ext
30455
32261
#include "$srcdir/include/curl/curl.h"
30456
32262
 
30457
32263
 
 
32264
                   typedef curl_off_t ac__type_sizeof_;
30458
32265
int
30459
32266
main ()
30460
32267
{
30461
 
static int test_array [1 - 2 * !(((long) (sizeof (curl_off_t))) < 0)];
 
32268
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
30462
32269
test_array [0] = 0
30463
32270
 
30464
32271
  ;
30466
32273
}
30467
32274
_ACEOF
30468
32275
rm -f conftest.$ac_objext
30469
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30470
 
  (eval $ac_compile) 2>conftest.er1
 
32276
if { (ac_try="$ac_compile"
 
32277
case "(($ac_try" in
 
32278
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32279
  *) ac_try_echo=$ac_try;;
 
32280
esac
 
32281
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32282
  (eval "$ac_compile") 2>conftest.er1
30471
32283
  ac_status=$?
30472
32284
  grep -v '^ *+' conftest.er1 >conftest.err
30473
32285
  rm -f conftest.er1
30474
32286
  cat conftest.err >&5
30475
32287
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30476
32288
  (exit $ac_status); } &&
30477
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
30478
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30479
 
  (eval $ac_try) 2>&5
 
32289
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
32290
  { (case "(($ac_try" in
 
32291
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32292
  *) ac_try_echo=$ac_try;;
 
32293
esac
 
32294
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32295
  (eval "$ac_try") 2>&5
30480
32296
  ac_status=$?
30481
32297
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30482
32298
  (exit $ac_status); }; } &&
30483
32299
         { ac_try='test -s conftest.$ac_objext'
30484
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30485
 
  (eval $ac_try) 2>&5
 
32300
  { (case "(($ac_try" in
 
32301
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32302
  *) ac_try_echo=$ac_try;;
 
32303
esac
 
32304
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32305
  (eval "$ac_try") 2>&5
30486
32306
  ac_status=$?
30487
32307
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30488
32308
  (exit $ac_status); }; }; then
30499
32319
#include "$srcdir/include/curl/curl.h"
30500
32320
 
30501
32321
 
 
32322
                   typedef curl_off_t ac__type_sizeof_;
30502
32323
int
30503
32324
main ()
30504
32325
{
30505
 
static int test_array [1 - 2 * !(((long) (sizeof (curl_off_t))) >= $ac_mid)];
 
32326
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
30506
32327
test_array [0] = 0
30507
32328
 
30508
32329
  ;
30510
32331
}
30511
32332
_ACEOF
30512
32333
rm -f conftest.$ac_objext
30513
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30514
 
  (eval $ac_compile) 2>conftest.er1
 
32334
if { (ac_try="$ac_compile"
 
32335
case "(($ac_try" in
 
32336
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32337
  *) ac_try_echo=$ac_try;;
 
32338
esac
 
32339
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32340
  (eval "$ac_compile") 2>conftest.er1
30515
32341
  ac_status=$?
30516
32342
  grep -v '^ *+' conftest.er1 >conftest.err
30517
32343
  rm -f conftest.er1
30518
32344
  cat conftest.err >&5
30519
32345
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30520
32346
  (exit $ac_status); } &&
30521
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
30522
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30523
 
  (eval $ac_try) 2>&5
 
32347
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
32348
  { (case "(($ac_try" in
 
32349
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32350
  *) ac_try_echo=$ac_try;;
 
32351
esac
 
32352
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32353
  (eval "$ac_try") 2>&5
30524
32354
  ac_status=$?
30525
32355
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30526
32356
  (exit $ac_status); }; } &&
30527
32357
         { ac_try='test -s conftest.$ac_objext'
30528
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30529
 
  (eval $ac_try) 2>&5
 
32358
  { (case "(($ac_try" in
 
32359
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32360
  *) ac_try_echo=$ac_try;;
 
32361
esac
 
32362
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32363
  (eval "$ac_try") 2>&5
30530
32364
  ac_status=$?
30531
32365
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30532
32366
  (exit $ac_status); }; }; then
30535
32369
  echo "$as_me: failed program was:" >&5
30536
32370
sed 's/^/| /' conftest.$ac_ext >&5
30537
32371
 
30538
 
ac_hi=`expr '(' $ac_mid ')' - 1`
30539
 
                       if test $ac_mid -le $ac_hi; then
30540
 
                         ac_lo= ac_hi=
30541
 
                         break
30542
 
                       fi
30543
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
32372
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
32373
                        if test $ac_mid -le $ac_hi; then
 
32374
                          ac_lo= ac_hi=
 
32375
                          break
 
32376
                        fi
 
32377
                        ac_mid=`expr 2 '*' $ac_mid`
30544
32378
fi
 
32379
 
30545
32380
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30546
32381
  done
30547
32382
else
30548
32383
  echo "$as_me: failed program was:" >&5
30549
32384
sed 's/^/| /' conftest.$ac_ext >&5
30550
32385
 
30551
 
ac_lo= ac_hi=
 
32386
        ac_lo= ac_hi=
30552
32387
fi
 
32388
 
30553
32389
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30554
32390
fi
 
32391
 
30555
32392
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30556
32393
# Binary search between lo and hi bounds.
30557
32394
while test "x$ac_lo" != "x$ac_hi"; do
30567
32404
#include "$srcdir/include/curl/curl.h"
30568
32405
 
30569
32406
 
 
32407
                   typedef curl_off_t ac__type_sizeof_;
30570
32408
int
30571
32409
main ()
30572
32410
{
30573
 
static int test_array [1 - 2 * !(((long) (sizeof (curl_off_t))) <= $ac_mid)];
 
32411
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
30574
32412
test_array [0] = 0
30575
32413
 
30576
32414
  ;
30578
32416
}
30579
32417
_ACEOF
30580
32418
rm -f conftest.$ac_objext
30581
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30582
 
  (eval $ac_compile) 2>conftest.er1
 
32419
if { (ac_try="$ac_compile"
 
32420
case "(($ac_try" in
 
32421
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32422
  *) ac_try_echo=$ac_try;;
 
32423
esac
 
32424
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32425
  (eval "$ac_compile") 2>conftest.er1
30583
32426
  ac_status=$?
30584
32427
  grep -v '^ *+' conftest.er1 >conftest.err
30585
32428
  rm -f conftest.er1
30586
32429
  cat conftest.err >&5
30587
32430
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30588
32431
  (exit $ac_status); } &&
30589
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
30590
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30591
 
  (eval $ac_try) 2>&5
 
32432
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
32433
  { (case "(($ac_try" in
 
32434
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32435
  *) ac_try_echo=$ac_try;;
 
32436
esac
 
32437
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32438
  (eval "$ac_try") 2>&5
30592
32439
  ac_status=$?
30593
32440
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30594
32441
  (exit $ac_status); }; } &&
30595
32442
         { ac_try='test -s conftest.$ac_objext'
30596
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30597
 
  (eval $ac_try) 2>&5
 
32443
  { (case "(($ac_try" in
 
32444
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32445
  *) ac_try_echo=$ac_try;;
 
32446
esac
 
32447
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32448
  (eval "$ac_try") 2>&5
30598
32449
  ac_status=$?
30599
32450
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30600
32451
  (exit $ac_status); }; }; then
30603
32454
  echo "$as_me: failed program was:" >&5
30604
32455
sed 's/^/| /' conftest.$ac_ext >&5
30605
32456
 
30606
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
32457
        ac_lo=`expr '(' $ac_mid ')' + 1`
30607
32458
fi
 
32459
 
30608
32460
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30609
32461
done
30610
32462
case $ac_lo in
30611
32463
?*) ac_cv_sizeof_curl_off_t=$ac_lo;;
30612
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (curl_off_t), 77
 
32464
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (curl_off_t)
30613
32465
See \`config.log' for more details." >&5
30614
 
echo "$as_me: error: cannot compute sizeof (curl_off_t), 77
 
32466
echo "$as_me: error: cannot compute sizeof (curl_off_t)
30615
32467
See \`config.log' for more details." >&2;}
30616
 
   { (exit 1); exit 1; }; } ;;
 
32468
   { (exit 77); exit 77; }; } ;;
30617
32469
esac
30618
32470
else
30619
 
  if test "$cross_compiling" = yes; then
30620
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
30621
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
30622
 
   { (exit 1); exit 1; }; }
30623
 
else
30624
32471
  cat >conftest.$ac_ext <<_ACEOF
30625
32472
/* confdefs.h.  */
30626
32473
_ACEOF
30632
32479
#include "$srcdir/include/curl/curl.h"
30633
32480
 
30634
32481
 
30635
 
long longval () { return (long) (sizeof (curl_off_t)); }
30636
 
unsigned long ulongval () { return (long) (sizeof (curl_off_t)); }
 
32482
                   typedef curl_off_t ac__type_sizeof_;
 
32483
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
32484
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
30637
32485
#include <stdio.h>
30638
32486
#include <stdlib.h>
30639
32487
int
30642
32490
 
30643
32491
  FILE *f = fopen ("conftest.val", "w");
30644
32492
  if (! f)
30645
 
    exit (1);
30646
 
  if (((long) (sizeof (curl_off_t))) < 0)
 
32493
    return 1;
 
32494
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
30647
32495
    {
30648
 
      long i = longval ();
30649
 
      if (i != ((long) (sizeof (curl_off_t))))
30650
 
        exit (1);
 
32496
      long int i = longval ();
 
32497
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
32498
        return 1;
30651
32499
      fprintf (f, "%ld\n", i);
30652
32500
    }
30653
32501
  else
30654
32502
    {
30655
 
      unsigned long i = ulongval ();
30656
 
      if (i != ((long) (sizeof (curl_off_t))))
30657
 
        exit (1);
 
32503
      unsigned long int i = ulongval ();
 
32504
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
32505
        return 1;
30658
32506
      fprintf (f, "%lu\n", i);
30659
32507
    }
30660
 
  exit (ferror (f) || fclose (f) != 0);
 
32508
  return ferror (f) || fclose (f) != 0;
30661
32509
 
30662
32510
  ;
30663
32511
  return 0;
30664
32512
}
30665
32513
_ACEOF
30666
32514
rm -f conftest$ac_exeext
30667
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30668
 
  (eval $ac_link) 2>&5
 
32515
if { (ac_try="$ac_link"
 
32516
case "(($ac_try" in
 
32517
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32518
  *) ac_try_echo=$ac_try;;
 
32519
esac
 
32520
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32521
  (eval "$ac_link") 2>&5
30669
32522
  ac_status=$?
30670
32523
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30671
32524
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30672
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30673
 
  (eval $ac_try) 2>&5
 
32525
  { (case "(($ac_try" in
 
32526
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32527
  *) ac_try_echo=$ac_try;;
 
32528
esac
 
32529
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32530
  (eval "$ac_try") 2>&5
30674
32531
  ac_status=$?
30675
32532
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30676
32533
  (exit $ac_status); }; }; then
30681
32538
sed 's/^/| /' conftest.$ac_ext >&5
30682
32539
 
30683
32540
( exit $ac_status )
30684
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (curl_off_t), 77
 
32541
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (curl_off_t)
30685
32542
See \`config.log' for more details." >&5
30686
 
echo "$as_me: error: cannot compute sizeof (curl_off_t), 77
 
32543
echo "$as_me: error: cannot compute sizeof (curl_off_t)
30687
32544
See \`config.log' for more details." >&2;}
30688
 
   { (exit 1); exit 1; }; }
30689
 
fi
30690
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30691
 
fi
 
32545
   { (exit 77); exit 77; }; }
 
32546
fi
 
32547
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30692
32548
fi
30693
32549
rm -f conftest.val
30694
32550
else
30695
32551
  ac_cv_sizeof_curl_off_t=0
30696
32552
fi
30697
32553
fi
30698
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_curl_off_t" >&5
30699
 
echo "${ECHO_T}$ac_cv_sizeof_curl_off_t" >&6
 
32554
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_curl_off_t" >&5
 
32555
echo "${ECHO_T}$ac_cv_sizeof_curl_off_t" >&6; }
30700
32556
cat >>confdefs.h <<_ACEOF
30701
32557
#define SIZEOF_CURL_OFF_T $ac_cv_sizeof_curl_off_t
30702
32558
_ACEOF
30703
32559
 
30704
32560
 
30705
 
echo "$as_me:$LINENO: checking for size_t" >&5
30706
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
 
32561
{ echo "$as_me:$LINENO: checking for size_t" >&5
 
32562
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
30707
32563
if test "${ac_cv_type_size_t+set}" = set; then
30708
32564
  echo $ECHO_N "(cached) $ECHO_C" >&6
30709
32565
else
30714
32570
cat >>conftest.$ac_ext <<_ACEOF
30715
32571
/* end confdefs.h.  */
30716
32572
$ac_includes_default
 
32573
typedef size_t ac__type_new_;
30717
32574
int
30718
32575
main ()
30719
32576
{
30720
 
if ((size_t *) 0)
 
32577
if ((ac__type_new_ *) 0)
30721
32578
  return 0;
30722
 
if (sizeof (size_t))
 
32579
if (sizeof (ac__type_new_))
30723
32580
  return 0;
30724
32581
  ;
30725
32582
  return 0;
30726
32583
}
30727
32584
_ACEOF
30728
32585
rm -f conftest.$ac_objext
30729
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30730
 
  (eval $ac_compile) 2>conftest.er1
 
32586
if { (ac_try="$ac_compile"
 
32587
case "(($ac_try" in
 
32588
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32589
  *) ac_try_echo=$ac_try;;
 
32590
esac
 
32591
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32592
  (eval "$ac_compile") 2>conftest.er1
30731
32593
  ac_status=$?
30732
32594
  grep -v '^ *+' conftest.er1 >conftest.err
30733
32595
  rm -f conftest.er1
30734
32596
  cat conftest.err >&5
30735
32597
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30736
32598
  (exit $ac_status); } &&
30737
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
30738
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30739
 
  (eval $ac_try) 2>&5
 
32599
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
32600
  { (case "(($ac_try" in
 
32601
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32602
  *) ac_try_echo=$ac_try;;
 
32603
esac
 
32604
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32605
  (eval "$ac_try") 2>&5
30740
32606
  ac_status=$?
30741
32607
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30742
32608
  (exit $ac_status); }; } &&
30743
32609
         { ac_try='test -s conftest.$ac_objext'
30744
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30745
 
  (eval $ac_try) 2>&5
 
32610
  { (case "(($ac_try" in
 
32611
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32612
  *) ac_try_echo=$ac_try;;
 
32613
esac
 
32614
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32615
  (eval "$ac_try") 2>&5
30746
32616
  ac_status=$?
30747
32617
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30748
32618
  (exit $ac_status); }; }; then
30751
32621
  echo "$as_me: failed program was:" >&5
30752
32622
sed 's/^/| /' conftest.$ac_ext >&5
30753
32623
 
30754
 
ac_cv_type_size_t=no
 
32624
        ac_cv_type_size_t=no
30755
32625
fi
 
32626
 
30756
32627
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30757
32628
fi
30758
 
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30759
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6
 
32629
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
 
32630
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
30760
32631
 
30761
 
echo "$as_me:$LINENO: checking size of size_t" >&5
30762
 
echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
 
32632
{ echo "$as_me:$LINENO: checking size of size_t" >&5
 
32633
echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
30763
32634
if test "${ac_cv_sizeof_size_t+set}" = set; then
30764
32635
  echo $ECHO_N "(cached) $ECHO_C" >&6
30765
32636
else
30766
32637
  if test "$ac_cv_type_size_t" = yes; then
30767
 
  # The cast to unsigned long works around a bug in the HP C Compiler
 
32638
  # The cast to long int works around a bug in the HP C Compiler
30768
32639
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
30769
32640
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
30770
32641
  # This bug is HP SR number 8606223364.
30777
32648
cat >>conftest.$ac_ext <<_ACEOF
30778
32649
/* end confdefs.h.  */
30779
32650
$ac_includes_default
 
32651
                   typedef size_t ac__type_sizeof_;
30780
32652
int
30781
32653
main ()
30782
32654
{
30783
 
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
 
32655
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
30784
32656
test_array [0] = 0
30785
32657
 
30786
32658
  ;
30788
32660
}
30789
32661
_ACEOF
30790
32662
rm -f conftest.$ac_objext
30791
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30792
 
  (eval $ac_compile) 2>conftest.er1
 
32663
if { (ac_try="$ac_compile"
 
32664
case "(($ac_try" in
 
32665
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32666
  *) ac_try_echo=$ac_try;;
 
32667
esac
 
32668
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32669
  (eval "$ac_compile") 2>conftest.er1
30793
32670
  ac_status=$?
30794
32671
  grep -v '^ *+' conftest.er1 >conftest.err
30795
32672
  rm -f conftest.er1
30796
32673
  cat conftest.err >&5
30797
32674
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30798
32675
  (exit $ac_status); } &&
30799
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
30800
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30801
 
  (eval $ac_try) 2>&5
 
32676
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
32677
  { (case "(($ac_try" in
 
32678
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32679
  *) ac_try_echo=$ac_try;;
 
32680
esac
 
32681
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32682
  (eval "$ac_try") 2>&5
30802
32683
  ac_status=$?
30803
32684
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30804
32685
  (exit $ac_status); }; } &&
30805
32686
         { ac_try='test -s conftest.$ac_objext'
30806
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30807
 
  (eval $ac_try) 2>&5
 
32687
  { (case "(($ac_try" in
 
32688
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32689
  *) ac_try_echo=$ac_try;;
 
32690
esac
 
32691
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32692
  (eval "$ac_try") 2>&5
30808
32693
  ac_status=$?
30809
32694
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30810
32695
  (exit $ac_status); }; }; then
30817
32702
cat >>conftest.$ac_ext <<_ACEOF
30818
32703
/* end confdefs.h.  */
30819
32704
$ac_includes_default
 
32705
                   typedef size_t ac__type_sizeof_;
30820
32706
int
30821
32707
main ()
30822
32708
{
30823
 
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
 
32709
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
30824
32710
test_array [0] = 0
30825
32711
 
30826
32712
  ;
30828
32714
}
30829
32715
_ACEOF
30830
32716
rm -f conftest.$ac_objext
30831
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30832
 
  (eval $ac_compile) 2>conftest.er1
 
32717
if { (ac_try="$ac_compile"
 
32718
case "(($ac_try" in
 
32719
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32720
  *) ac_try_echo=$ac_try;;
 
32721
esac
 
32722
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32723
  (eval "$ac_compile") 2>conftest.er1
30833
32724
  ac_status=$?
30834
32725
  grep -v '^ *+' conftest.er1 >conftest.err
30835
32726
  rm -f conftest.er1
30836
32727
  cat conftest.err >&5
30837
32728
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30838
32729
  (exit $ac_status); } &&
30839
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
30840
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30841
 
  (eval $ac_try) 2>&5
 
32730
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
32731
  { (case "(($ac_try" in
 
32732
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32733
  *) ac_try_echo=$ac_try;;
 
32734
esac
 
32735
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32736
  (eval "$ac_try") 2>&5
30842
32737
  ac_status=$?
30843
32738
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30844
32739
  (exit $ac_status); }; } &&
30845
32740
         { ac_try='test -s conftest.$ac_objext'
30846
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30847
 
  (eval $ac_try) 2>&5
 
32741
  { (case "(($ac_try" in
 
32742
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32743
  *) ac_try_echo=$ac_try;;
 
32744
esac
 
32745
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32746
  (eval "$ac_try") 2>&5
30848
32747
  ac_status=$?
30849
32748
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30850
32749
  (exit $ac_status); }; }; then
30853
32752
  echo "$as_me: failed program was:" >&5
30854
32753
sed 's/^/| /' conftest.$ac_ext >&5
30855
32754
 
30856
 
ac_lo=`expr $ac_mid + 1`
30857
 
                    if test $ac_lo -le $ac_mid; then
30858
 
                      ac_lo= ac_hi=
30859
 
                      break
30860
 
                    fi
30861
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
32755
        ac_lo=`expr $ac_mid + 1`
 
32756
                        if test $ac_lo -le $ac_mid; then
 
32757
                          ac_lo= ac_hi=
 
32758
                          break
 
32759
                        fi
 
32760
                        ac_mid=`expr 2 '*' $ac_mid + 1`
30862
32761
fi
 
32762
 
30863
32763
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30864
32764
  done
30865
32765
else
30866
32766
  echo "$as_me: failed program was:" >&5
30867
32767
sed 's/^/| /' conftest.$ac_ext >&5
30868
32768
 
30869
 
cat >conftest.$ac_ext <<_ACEOF
 
32769
        cat >conftest.$ac_ext <<_ACEOF
30870
32770
/* confdefs.h.  */
30871
32771
_ACEOF
30872
32772
cat confdefs.h >>conftest.$ac_ext
30873
32773
cat >>conftest.$ac_ext <<_ACEOF
30874
32774
/* end confdefs.h.  */
30875
32775
$ac_includes_default
 
32776
                   typedef size_t ac__type_sizeof_;
30876
32777
int
30877
32778
main ()
30878
32779
{
30879
 
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
 
32780
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
30880
32781
test_array [0] = 0
30881
32782
 
30882
32783
  ;
30884
32785
}
30885
32786
_ACEOF
30886
32787
rm -f conftest.$ac_objext
30887
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30888
 
  (eval $ac_compile) 2>conftest.er1
 
32788
if { (ac_try="$ac_compile"
 
32789
case "(($ac_try" in
 
32790
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32791
  *) ac_try_echo=$ac_try;;
 
32792
esac
 
32793
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32794
  (eval "$ac_compile") 2>conftest.er1
30889
32795
  ac_status=$?
30890
32796
  grep -v '^ *+' conftest.er1 >conftest.err
30891
32797
  rm -f conftest.er1
30892
32798
  cat conftest.err >&5
30893
32799
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30894
32800
  (exit $ac_status); } &&
30895
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
30896
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30897
 
  (eval $ac_try) 2>&5
 
32801
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
32802
  { (case "(($ac_try" in
 
32803
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32804
  *) ac_try_echo=$ac_try;;
 
32805
esac
 
32806
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32807
  (eval "$ac_try") 2>&5
30898
32808
  ac_status=$?
30899
32809
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30900
32810
  (exit $ac_status); }; } &&
30901
32811
         { ac_try='test -s conftest.$ac_objext'
30902
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30903
 
  (eval $ac_try) 2>&5
 
32812
  { (case "(($ac_try" in
 
32813
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32814
  *) ac_try_echo=$ac_try;;
 
32815
esac
 
32816
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32817
  (eval "$ac_try") 2>&5
30904
32818
  ac_status=$?
30905
32819
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30906
32820
  (exit $ac_status); }; }; then
30913
32827
cat >>conftest.$ac_ext <<_ACEOF
30914
32828
/* end confdefs.h.  */
30915
32829
$ac_includes_default
 
32830
                   typedef size_t ac__type_sizeof_;
30916
32831
int
30917
32832
main ()
30918
32833
{
30919
 
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
 
32834
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
30920
32835
test_array [0] = 0
30921
32836
 
30922
32837
  ;
30924
32839
}
30925
32840
_ACEOF
30926
32841
rm -f conftest.$ac_objext
30927
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30928
 
  (eval $ac_compile) 2>conftest.er1
 
32842
if { (ac_try="$ac_compile"
 
32843
case "(($ac_try" in
 
32844
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32845
  *) ac_try_echo=$ac_try;;
 
32846
esac
 
32847
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32848
  (eval "$ac_compile") 2>conftest.er1
30929
32849
  ac_status=$?
30930
32850
  grep -v '^ *+' conftest.er1 >conftest.err
30931
32851
  rm -f conftest.er1
30932
32852
  cat conftest.err >&5
30933
32853
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30934
32854
  (exit $ac_status); } &&
30935
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
30936
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30937
 
  (eval $ac_try) 2>&5
 
32855
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
32856
  { (case "(($ac_try" in
 
32857
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32858
  *) ac_try_echo=$ac_try;;
 
32859
esac
 
32860
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32861
  (eval "$ac_try") 2>&5
30938
32862
  ac_status=$?
30939
32863
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30940
32864
  (exit $ac_status); }; } &&
30941
32865
         { ac_try='test -s conftest.$ac_objext'
30942
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30943
 
  (eval $ac_try) 2>&5
 
32866
  { (case "(($ac_try" in
 
32867
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32868
  *) ac_try_echo=$ac_try;;
 
32869
esac
 
32870
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32871
  (eval "$ac_try") 2>&5
30944
32872
  ac_status=$?
30945
32873
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30946
32874
  (exit $ac_status); }; }; then
30949
32877
  echo "$as_me: failed program was:" >&5
30950
32878
sed 's/^/| /' conftest.$ac_ext >&5
30951
32879
 
30952
 
ac_hi=`expr '(' $ac_mid ')' - 1`
30953
 
                       if test $ac_mid -le $ac_hi; then
30954
 
                         ac_lo= ac_hi=
30955
 
                         break
30956
 
                       fi
30957
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
32880
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
32881
                        if test $ac_mid -le $ac_hi; then
 
32882
                          ac_lo= ac_hi=
 
32883
                          break
 
32884
                        fi
 
32885
                        ac_mid=`expr 2 '*' $ac_mid`
30958
32886
fi
 
32887
 
30959
32888
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30960
32889
  done
30961
32890
else
30962
32891
  echo "$as_me: failed program was:" >&5
30963
32892
sed 's/^/| /' conftest.$ac_ext >&5
30964
32893
 
30965
 
ac_lo= ac_hi=
 
32894
        ac_lo= ac_hi=
30966
32895
fi
 
32896
 
30967
32897
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30968
32898
fi
 
32899
 
30969
32900
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30970
32901
# Binary search between lo and hi bounds.
30971
32902
while test "x$ac_lo" != "x$ac_hi"; do
30977
32908
cat >>conftest.$ac_ext <<_ACEOF
30978
32909
/* end confdefs.h.  */
30979
32910
$ac_includes_default
 
32911
                   typedef size_t ac__type_sizeof_;
30980
32912
int
30981
32913
main ()
30982
32914
{
30983
 
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
 
32915
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
30984
32916
test_array [0] = 0
30985
32917
 
30986
32918
  ;
30988
32920
}
30989
32921
_ACEOF
30990
32922
rm -f conftest.$ac_objext
30991
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30992
 
  (eval $ac_compile) 2>conftest.er1
 
32923
if { (ac_try="$ac_compile"
 
32924
case "(($ac_try" in
 
32925
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32926
  *) ac_try_echo=$ac_try;;
 
32927
esac
 
32928
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32929
  (eval "$ac_compile") 2>conftest.er1
30993
32930
  ac_status=$?
30994
32931
  grep -v '^ *+' conftest.er1 >conftest.err
30995
32932
  rm -f conftest.er1
30996
32933
  cat conftest.err >&5
30997
32934
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30998
32935
  (exit $ac_status); } &&
30999
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
31000
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31001
 
  (eval $ac_try) 2>&5
 
32936
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
32937
  { (case "(($ac_try" in
 
32938
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32939
  *) ac_try_echo=$ac_try;;
 
32940
esac
 
32941
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32942
  (eval "$ac_try") 2>&5
31002
32943
  ac_status=$?
31003
32944
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31004
32945
  (exit $ac_status); }; } &&
31005
32946
         { ac_try='test -s conftest.$ac_objext'
31006
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31007
 
  (eval $ac_try) 2>&5
 
32947
  { (case "(($ac_try" in
 
32948
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32949
  *) ac_try_echo=$ac_try;;
 
32950
esac
 
32951
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32952
  (eval "$ac_try") 2>&5
31008
32953
  ac_status=$?
31009
32954
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31010
32955
  (exit $ac_status); }; }; then
31013
32958
  echo "$as_me: failed program was:" >&5
31014
32959
sed 's/^/| /' conftest.$ac_ext >&5
31015
32960
 
31016
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
32961
        ac_lo=`expr '(' $ac_mid ')' + 1`
31017
32962
fi
 
32963
 
31018
32964
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31019
32965
done
31020
32966
case $ac_lo in
31021
32967
?*) ac_cv_sizeof_size_t=$ac_lo;;
31022
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
 
32968
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
31023
32969
See \`config.log' for more details." >&5
31024
 
echo "$as_me: error: cannot compute sizeof (size_t), 77
 
32970
echo "$as_me: error: cannot compute sizeof (size_t)
31025
32971
See \`config.log' for more details." >&2;}
31026
 
   { (exit 1); exit 1; }; } ;;
 
32972
   { (exit 77); exit 77; }; } ;;
31027
32973
esac
31028
32974
else
31029
 
  if test "$cross_compiling" = yes; then
31030
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
31031
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
31032
 
   { (exit 1); exit 1; }; }
31033
 
else
31034
32975
  cat >conftest.$ac_ext <<_ACEOF
31035
32976
/* confdefs.h.  */
31036
32977
_ACEOF
31038
32979
cat >>conftest.$ac_ext <<_ACEOF
31039
32980
/* end confdefs.h.  */
31040
32981
$ac_includes_default
31041
 
long longval () { return (long) (sizeof (size_t)); }
31042
 
unsigned long ulongval () { return (long) (sizeof (size_t)); }
 
32982
                   typedef size_t ac__type_sizeof_;
 
32983
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
32984
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
31043
32985
#include <stdio.h>
31044
32986
#include <stdlib.h>
31045
32987
int
31048
32990
 
31049
32991
  FILE *f = fopen ("conftest.val", "w");
31050
32992
  if (! f)
31051
 
    exit (1);
31052
 
  if (((long) (sizeof (size_t))) < 0)
 
32993
    return 1;
 
32994
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
31053
32995
    {
31054
 
      long i = longval ();
31055
 
      if (i != ((long) (sizeof (size_t))))
31056
 
        exit (1);
 
32996
      long int i = longval ();
 
32997
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
32998
        return 1;
31057
32999
      fprintf (f, "%ld\n", i);
31058
33000
    }
31059
33001
  else
31060
33002
    {
31061
 
      unsigned long i = ulongval ();
31062
 
      if (i != ((long) (sizeof (size_t))))
31063
 
        exit (1);
 
33003
      unsigned long int i = ulongval ();
 
33004
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
33005
        return 1;
31064
33006
      fprintf (f, "%lu\n", i);
31065
33007
    }
31066
 
  exit (ferror (f) || fclose (f) != 0);
 
33008
  return ferror (f) || fclose (f) != 0;
31067
33009
 
31068
33010
  ;
31069
33011
  return 0;
31070
33012
}
31071
33013
_ACEOF
31072
33014
rm -f conftest$ac_exeext
31073
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31074
 
  (eval $ac_link) 2>&5
 
33015
if { (ac_try="$ac_link"
 
33016
case "(($ac_try" in
 
33017
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33018
  *) ac_try_echo=$ac_try;;
 
33019
esac
 
33020
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33021
  (eval "$ac_link") 2>&5
31075
33022
  ac_status=$?
31076
33023
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31077
33024
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31078
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31079
 
  (eval $ac_try) 2>&5
 
33025
  { (case "(($ac_try" in
 
33026
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33027
  *) ac_try_echo=$ac_try;;
 
33028
esac
 
33029
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33030
  (eval "$ac_try") 2>&5
31080
33031
  ac_status=$?
31081
33032
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31082
33033
  (exit $ac_status); }; }; then
31087
33038
sed 's/^/| /' conftest.$ac_ext >&5
31088
33039
 
31089
33040
( exit $ac_status )
31090
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
 
33041
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
31091
33042
See \`config.log' for more details." >&5
31092
 
echo "$as_me: error: cannot compute sizeof (size_t), 77
 
33043
echo "$as_me: error: cannot compute sizeof (size_t)
31093
33044
See \`config.log' for more details." >&2;}
31094
 
   { (exit 1); exit 1; }; }
31095
 
fi
31096
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31097
 
fi
 
33045
   { (exit 77); exit 77; }; }
 
33046
fi
 
33047
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31098
33048
fi
31099
33049
rm -f conftest.val
31100
33050
else
31101
33051
  ac_cv_sizeof_size_t=0
31102
33052
fi
31103
33053
fi
31104
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
31105
 
echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
 
33054
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
 
33055
echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
31106
33056
cat >>confdefs.h <<_ACEOF
31107
33057
#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
31108
33058
_ACEOF
31109
33059
 
31110
33060
 
31111
 
echo "$as_me:$LINENO: checking for long" >&5
31112
 
echo $ECHO_N "checking for long... $ECHO_C" >&6
 
33061
{ echo "$as_me:$LINENO: checking for long" >&5
 
33062
echo $ECHO_N "checking for long... $ECHO_C" >&6; }
31113
33063
if test "${ac_cv_type_long+set}" = set; then
31114
33064
  echo $ECHO_N "(cached) $ECHO_C" >&6
31115
33065
else
31120
33070
cat >>conftest.$ac_ext <<_ACEOF
31121
33071
/* end confdefs.h.  */
31122
33072
$ac_includes_default
 
33073
typedef long ac__type_new_;
31123
33074
int
31124
33075
main ()
31125
33076
{
31126
 
if ((long *) 0)
 
33077
if ((ac__type_new_ *) 0)
31127
33078
  return 0;
31128
 
if (sizeof (long))
 
33079
if (sizeof (ac__type_new_))
31129
33080
  return 0;
31130
33081
  ;
31131
33082
  return 0;
31132
33083
}
31133
33084
_ACEOF
31134
33085
rm -f conftest.$ac_objext
31135
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31136
 
  (eval $ac_compile) 2>conftest.er1
 
33086
if { (ac_try="$ac_compile"
 
33087
case "(($ac_try" in
 
33088
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33089
  *) ac_try_echo=$ac_try;;
 
33090
esac
 
33091
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33092
  (eval "$ac_compile") 2>conftest.er1
31137
33093
  ac_status=$?
31138
33094
  grep -v '^ *+' conftest.er1 >conftest.err
31139
33095
  rm -f conftest.er1
31140
33096
  cat conftest.err >&5
31141
33097
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31142
33098
  (exit $ac_status); } &&
31143
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
31144
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31145
 
  (eval $ac_try) 2>&5
 
33099
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
33100
  { (case "(($ac_try" in
 
33101
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33102
  *) ac_try_echo=$ac_try;;
 
33103
esac
 
33104
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33105
  (eval "$ac_try") 2>&5
31146
33106
  ac_status=$?
31147
33107
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31148
33108
  (exit $ac_status); }; } &&
31149
33109
         { ac_try='test -s conftest.$ac_objext'
31150
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31151
 
  (eval $ac_try) 2>&5
 
33110
  { (case "(($ac_try" in
 
33111
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33112
  *) ac_try_echo=$ac_try;;
 
33113
esac
 
33114
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33115
  (eval "$ac_try") 2>&5
31152
33116
  ac_status=$?
31153
33117
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31154
33118
  (exit $ac_status); }; }; then
31157
33121
  echo "$as_me: failed program was:" >&5
31158
33122
sed 's/^/| /' conftest.$ac_ext >&5
31159
33123
 
31160
 
ac_cv_type_long=no
 
33124
        ac_cv_type_long=no
31161
33125
fi
 
33126
 
31162
33127
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31163
33128
fi
31164
 
echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
31165
 
echo "${ECHO_T}$ac_cv_type_long" >&6
 
33129
{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
 
33130
echo "${ECHO_T}$ac_cv_type_long" >&6; }
31166
33131
 
31167
 
echo "$as_me:$LINENO: checking size of long" >&5
31168
 
echo $ECHO_N "checking size of long... $ECHO_C" >&6
 
33132
{ echo "$as_me:$LINENO: checking size of long" >&5
 
33133
echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
31169
33134
if test "${ac_cv_sizeof_long+set}" = set; then
31170
33135
  echo $ECHO_N "(cached) $ECHO_C" >&6
31171
33136
else
31172
33137
  if test "$ac_cv_type_long" = yes; then
31173
 
  # The cast to unsigned long works around a bug in the HP C Compiler
 
33138
  # The cast to long int works around a bug in the HP C Compiler
31174
33139
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
31175
33140
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
31176
33141
  # This bug is HP SR number 8606223364.
31183
33148
cat >>conftest.$ac_ext <<_ACEOF
31184
33149
/* end confdefs.h.  */
31185
33150
$ac_includes_default
 
33151
                   typedef long ac__type_sizeof_;
31186
33152
int
31187
33153
main ()
31188
33154
{
31189
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
 
33155
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
31190
33156
test_array [0] = 0
31191
33157
 
31192
33158
  ;
31194
33160
}
31195
33161
_ACEOF
31196
33162
rm -f conftest.$ac_objext
31197
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31198
 
  (eval $ac_compile) 2>conftest.er1
 
33163
if { (ac_try="$ac_compile"
 
33164
case "(($ac_try" in
 
33165
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33166
  *) ac_try_echo=$ac_try;;
 
33167
esac
 
33168
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33169
  (eval "$ac_compile") 2>conftest.er1
31199
33170
  ac_status=$?
31200
33171
  grep -v '^ *+' conftest.er1 >conftest.err
31201
33172
  rm -f conftest.er1
31202
33173
  cat conftest.err >&5
31203
33174
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31204
33175
  (exit $ac_status); } &&
31205
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
31206
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31207
 
  (eval $ac_try) 2>&5
 
33176
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
33177
  { (case "(($ac_try" in
 
33178
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33179
  *) ac_try_echo=$ac_try;;
 
33180
esac
 
33181
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33182
  (eval "$ac_try") 2>&5
31208
33183
  ac_status=$?
31209
33184
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31210
33185
  (exit $ac_status); }; } &&
31211
33186
         { ac_try='test -s conftest.$ac_objext'
31212
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31213
 
  (eval $ac_try) 2>&5
 
33187
  { (case "(($ac_try" in
 
33188
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33189
  *) ac_try_echo=$ac_try;;
 
33190
esac
 
33191
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33192
  (eval "$ac_try") 2>&5
31214
33193
  ac_status=$?
31215
33194
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31216
33195
  (exit $ac_status); }; }; then
31223
33202
cat >>conftest.$ac_ext <<_ACEOF
31224
33203
/* end confdefs.h.  */
31225
33204
$ac_includes_default
 
33205
                   typedef long ac__type_sizeof_;
31226
33206
int
31227
33207
main ()
31228
33208
{
31229
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
 
33209
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
31230
33210
test_array [0] = 0
31231
33211
 
31232
33212
  ;
31234
33214
}
31235
33215
_ACEOF
31236
33216
rm -f conftest.$ac_objext
31237
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31238
 
  (eval $ac_compile) 2>conftest.er1
 
33217
if { (ac_try="$ac_compile"
 
33218
case "(($ac_try" in
 
33219
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33220
  *) ac_try_echo=$ac_try;;
 
33221
esac
 
33222
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33223
  (eval "$ac_compile") 2>conftest.er1
31239
33224
  ac_status=$?
31240
33225
  grep -v '^ *+' conftest.er1 >conftest.err
31241
33226
  rm -f conftest.er1
31242
33227
  cat conftest.err >&5
31243
33228
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31244
33229
  (exit $ac_status); } &&
31245
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
31246
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31247
 
  (eval $ac_try) 2>&5
 
33230
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
33231
  { (case "(($ac_try" in
 
33232
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33233
  *) ac_try_echo=$ac_try;;
 
33234
esac
 
33235
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33236
  (eval "$ac_try") 2>&5
31248
33237
  ac_status=$?
31249
33238
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31250
33239
  (exit $ac_status); }; } &&
31251
33240
         { ac_try='test -s conftest.$ac_objext'
31252
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31253
 
  (eval $ac_try) 2>&5
 
33241
  { (case "(($ac_try" in
 
33242
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33243
  *) ac_try_echo=$ac_try;;
 
33244
esac
 
33245
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33246
  (eval "$ac_try") 2>&5
31254
33247
  ac_status=$?
31255
33248
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31256
33249
  (exit $ac_status); }; }; then
31259
33252
  echo "$as_me: failed program was:" >&5
31260
33253
sed 's/^/| /' conftest.$ac_ext >&5
31261
33254
 
31262
 
ac_lo=`expr $ac_mid + 1`
31263
 
                    if test $ac_lo -le $ac_mid; then
31264
 
                      ac_lo= ac_hi=
31265
 
                      break
31266
 
                    fi
31267
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
33255
        ac_lo=`expr $ac_mid + 1`
 
33256
                        if test $ac_lo -le $ac_mid; then
 
33257
                          ac_lo= ac_hi=
 
33258
                          break
 
33259
                        fi
 
33260
                        ac_mid=`expr 2 '*' $ac_mid + 1`
31268
33261
fi
 
33262
 
31269
33263
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31270
33264
  done
31271
33265
else
31272
33266
  echo "$as_me: failed program was:" >&5
31273
33267
sed 's/^/| /' conftest.$ac_ext >&5
31274
33268
 
31275
 
cat >conftest.$ac_ext <<_ACEOF
 
33269
        cat >conftest.$ac_ext <<_ACEOF
31276
33270
/* confdefs.h.  */
31277
33271
_ACEOF
31278
33272
cat confdefs.h >>conftest.$ac_ext
31279
33273
cat >>conftest.$ac_ext <<_ACEOF
31280
33274
/* end confdefs.h.  */
31281
33275
$ac_includes_default
 
33276
                   typedef long ac__type_sizeof_;
31282
33277
int
31283
33278
main ()
31284
33279
{
31285
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
 
33280
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
31286
33281
test_array [0] = 0
31287
33282
 
31288
33283
  ;
31290
33285
}
31291
33286
_ACEOF
31292
33287
rm -f conftest.$ac_objext
31293
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31294
 
  (eval $ac_compile) 2>conftest.er1
 
33288
if { (ac_try="$ac_compile"
 
33289
case "(($ac_try" in
 
33290
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33291
  *) ac_try_echo=$ac_try;;
 
33292
esac
 
33293
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33294
  (eval "$ac_compile") 2>conftest.er1
31295
33295
  ac_status=$?
31296
33296
  grep -v '^ *+' conftest.er1 >conftest.err
31297
33297
  rm -f conftest.er1
31298
33298
  cat conftest.err >&5
31299
33299
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31300
33300
  (exit $ac_status); } &&
31301
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
31302
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31303
 
  (eval $ac_try) 2>&5
 
33301
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
33302
  { (case "(($ac_try" in
 
33303
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33304
  *) ac_try_echo=$ac_try;;
 
33305
esac
 
33306
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33307
  (eval "$ac_try") 2>&5
31304
33308
  ac_status=$?
31305
33309
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31306
33310
  (exit $ac_status); }; } &&
31307
33311
         { ac_try='test -s conftest.$ac_objext'
31308
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31309
 
  (eval $ac_try) 2>&5
 
33312
  { (case "(($ac_try" in
 
33313
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33314
  *) ac_try_echo=$ac_try;;
 
33315
esac
 
33316
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33317
  (eval "$ac_try") 2>&5
31310
33318
  ac_status=$?
31311
33319
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31312
33320
  (exit $ac_status); }; }; then
31319
33327
cat >>conftest.$ac_ext <<_ACEOF
31320
33328
/* end confdefs.h.  */
31321
33329
$ac_includes_default
 
33330
                   typedef long ac__type_sizeof_;
31322
33331
int
31323
33332
main ()
31324
33333
{
31325
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
 
33334
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
31326
33335
test_array [0] = 0
31327
33336
 
31328
33337
  ;
31330
33339
}
31331
33340
_ACEOF
31332
33341
rm -f conftest.$ac_objext
31333
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31334
 
  (eval $ac_compile) 2>conftest.er1
 
33342
if { (ac_try="$ac_compile"
 
33343
case "(($ac_try" in
 
33344
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33345
  *) ac_try_echo=$ac_try;;
 
33346
esac
 
33347
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33348
  (eval "$ac_compile") 2>conftest.er1
31335
33349
  ac_status=$?
31336
33350
  grep -v '^ *+' conftest.er1 >conftest.err
31337
33351
  rm -f conftest.er1
31338
33352
  cat conftest.err >&5
31339
33353
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31340
33354
  (exit $ac_status); } &&
31341
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
31342
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31343
 
  (eval $ac_try) 2>&5
 
33355
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
33356
  { (case "(($ac_try" in
 
33357
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33358
  *) ac_try_echo=$ac_try;;
 
33359
esac
 
33360
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33361
  (eval "$ac_try") 2>&5
31344
33362
  ac_status=$?
31345
33363
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31346
33364
  (exit $ac_status); }; } &&
31347
33365
         { ac_try='test -s conftest.$ac_objext'
31348
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31349
 
  (eval $ac_try) 2>&5
 
33366
  { (case "(($ac_try" in
 
33367
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33368
  *) ac_try_echo=$ac_try;;
 
33369
esac
 
33370
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33371
  (eval "$ac_try") 2>&5
31350
33372
  ac_status=$?
31351
33373
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31352
33374
  (exit $ac_status); }; }; then
31355
33377
  echo "$as_me: failed program was:" >&5
31356
33378
sed 's/^/| /' conftest.$ac_ext >&5
31357
33379
 
31358
 
ac_hi=`expr '(' $ac_mid ')' - 1`
31359
 
                       if test $ac_mid -le $ac_hi; then
31360
 
                         ac_lo= ac_hi=
31361
 
                         break
31362
 
                       fi
31363
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
33380
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
33381
                        if test $ac_mid -le $ac_hi; then
 
33382
                          ac_lo= ac_hi=
 
33383
                          break
 
33384
                        fi
 
33385
                        ac_mid=`expr 2 '*' $ac_mid`
31364
33386
fi
 
33387
 
31365
33388
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31366
33389
  done
31367
33390
else
31368
33391
  echo "$as_me: failed program was:" >&5
31369
33392
sed 's/^/| /' conftest.$ac_ext >&5
31370
33393
 
31371
 
ac_lo= ac_hi=
 
33394
        ac_lo= ac_hi=
31372
33395
fi
 
33396
 
31373
33397
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31374
33398
fi
 
33399
 
31375
33400
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31376
33401
# Binary search between lo and hi bounds.
31377
33402
while test "x$ac_lo" != "x$ac_hi"; do
31383
33408
cat >>conftest.$ac_ext <<_ACEOF
31384
33409
/* end confdefs.h.  */
31385
33410
$ac_includes_default
 
33411
                   typedef long ac__type_sizeof_;
31386
33412
int
31387
33413
main ()
31388
33414
{
31389
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
 
33415
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
31390
33416
test_array [0] = 0
31391
33417
 
31392
33418
  ;
31394
33420
}
31395
33421
_ACEOF
31396
33422
rm -f conftest.$ac_objext
31397
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31398
 
  (eval $ac_compile) 2>conftest.er1
 
33423
if { (ac_try="$ac_compile"
 
33424
case "(($ac_try" in
 
33425
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33426
  *) ac_try_echo=$ac_try;;
 
33427
esac
 
33428
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33429
  (eval "$ac_compile") 2>conftest.er1
31399
33430
  ac_status=$?
31400
33431
  grep -v '^ *+' conftest.er1 >conftest.err
31401
33432
  rm -f conftest.er1
31402
33433
  cat conftest.err >&5
31403
33434
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31404
33435
  (exit $ac_status); } &&
31405
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
31406
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31407
 
  (eval $ac_try) 2>&5
 
33436
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
33437
  { (case "(($ac_try" in
 
33438
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33439
  *) ac_try_echo=$ac_try;;
 
33440
esac
 
33441
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33442
  (eval "$ac_try") 2>&5
31408
33443
  ac_status=$?
31409
33444
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31410
33445
  (exit $ac_status); }; } &&
31411
33446
         { ac_try='test -s conftest.$ac_objext'
31412
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31413
 
  (eval $ac_try) 2>&5
 
33447
  { (case "(($ac_try" in
 
33448
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33449
  *) ac_try_echo=$ac_try;;
 
33450
esac
 
33451
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33452
  (eval "$ac_try") 2>&5
31414
33453
  ac_status=$?
31415
33454
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31416
33455
  (exit $ac_status); }; }; then
31419
33458
  echo "$as_me: failed program was:" >&5
31420
33459
sed 's/^/| /' conftest.$ac_ext >&5
31421
33460
 
31422
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
33461
        ac_lo=`expr '(' $ac_mid ')' + 1`
31423
33462
fi
 
33463
 
31424
33464
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31425
33465
done
31426
33466
case $ac_lo in
31427
33467
?*) ac_cv_sizeof_long=$ac_lo;;
31428
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
 
33468
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
31429
33469
See \`config.log' for more details." >&5
31430
 
echo "$as_me: error: cannot compute sizeof (long), 77
 
33470
echo "$as_me: error: cannot compute sizeof (long)
31431
33471
See \`config.log' for more details." >&2;}
31432
 
   { (exit 1); exit 1; }; } ;;
 
33472
   { (exit 77); exit 77; }; } ;;
31433
33473
esac
31434
33474
else
31435
 
  if test "$cross_compiling" = yes; then
31436
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
31437
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
31438
 
   { (exit 1); exit 1; }; }
31439
 
else
31440
33475
  cat >conftest.$ac_ext <<_ACEOF
31441
33476
/* confdefs.h.  */
31442
33477
_ACEOF
31444
33479
cat >>conftest.$ac_ext <<_ACEOF
31445
33480
/* end confdefs.h.  */
31446
33481
$ac_includes_default
31447
 
long longval () { return (long) (sizeof (long)); }
31448
 
unsigned long ulongval () { return (long) (sizeof (long)); }
 
33482
                   typedef long ac__type_sizeof_;
 
33483
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
33484
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
31449
33485
#include <stdio.h>
31450
33486
#include <stdlib.h>
31451
33487
int
31454
33490
 
31455
33491
  FILE *f = fopen ("conftest.val", "w");
31456
33492
  if (! f)
31457
 
    exit (1);
31458
 
  if (((long) (sizeof (long))) < 0)
 
33493
    return 1;
 
33494
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
31459
33495
    {
31460
 
      long i = longval ();
31461
 
      if (i != ((long) (sizeof (long))))
31462
 
        exit (1);
 
33496
      long int i = longval ();
 
33497
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
33498
        return 1;
31463
33499
      fprintf (f, "%ld\n", i);
31464
33500
    }
31465
33501
  else
31466
33502
    {
31467
 
      unsigned long i = ulongval ();
31468
 
      if (i != ((long) (sizeof (long))))
31469
 
        exit (1);
 
33503
      unsigned long int i = ulongval ();
 
33504
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
33505
        return 1;
31470
33506
      fprintf (f, "%lu\n", i);
31471
33507
    }
31472
 
  exit (ferror (f) || fclose (f) != 0);
 
33508
  return ferror (f) || fclose (f) != 0;
31473
33509
 
31474
33510
  ;
31475
33511
  return 0;
31476
33512
}
31477
33513
_ACEOF
31478
33514
rm -f conftest$ac_exeext
31479
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31480
 
  (eval $ac_link) 2>&5
 
33515
if { (ac_try="$ac_link"
 
33516
case "(($ac_try" in
 
33517
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33518
  *) ac_try_echo=$ac_try;;
 
33519
esac
 
33520
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33521
  (eval "$ac_link") 2>&5
31481
33522
  ac_status=$?
31482
33523
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31483
33524
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31484
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31485
 
  (eval $ac_try) 2>&5
 
33525
  { (case "(($ac_try" in
 
33526
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33527
  *) ac_try_echo=$ac_try;;
 
33528
esac
 
33529
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33530
  (eval "$ac_try") 2>&5
31486
33531
  ac_status=$?
31487
33532
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31488
33533
  (exit $ac_status); }; }; then
31493
33538
sed 's/^/| /' conftest.$ac_ext >&5
31494
33539
 
31495
33540
( exit $ac_status )
31496
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
 
33541
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
31497
33542
See \`config.log' for more details." >&5
31498
 
echo "$as_me: error: cannot compute sizeof (long), 77
 
33543
echo "$as_me: error: cannot compute sizeof (long)
31499
33544
See \`config.log' for more details." >&2;}
31500
 
   { (exit 1); exit 1; }; }
31501
 
fi
31502
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31503
 
fi
 
33545
   { (exit 77); exit 77; }; }
 
33546
fi
 
33547
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31504
33548
fi
31505
33549
rm -f conftest.val
31506
33550
else
31507
33551
  ac_cv_sizeof_long=0
31508
33552
fi
31509
33553
fi
31510
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
31511
 
echo "${ECHO_T}$ac_cv_sizeof_long" >&6
 
33554
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
 
33555
echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
31512
33556
cat >>confdefs.h <<_ACEOF
31513
33557
#define SIZEOF_LONG $ac_cv_sizeof_long
31514
33558
_ACEOF
31515
33559
 
31516
33560
 
31517
 
echo "$as_me:$LINENO: checking for time_t" >&5
31518
 
echo $ECHO_N "checking for time_t... $ECHO_C" >&6
 
33561
{ echo "$as_me:$LINENO: checking for time_t" >&5
 
33562
echo $ECHO_N "checking for time_t... $ECHO_C" >&6; }
31519
33563
if test "${ac_cv_type_time_t+set}" = set; then
31520
33564
  echo $ECHO_N "(cached) $ECHO_C" >&6
31521
33565
else
31526
33570
cat >>conftest.$ac_ext <<_ACEOF
31527
33571
/* end confdefs.h.  */
31528
33572
$ac_includes_default
 
33573
typedef time_t ac__type_new_;
31529
33574
int
31530
33575
main ()
31531
33576
{
31532
 
if ((time_t *) 0)
 
33577
if ((ac__type_new_ *) 0)
31533
33578
  return 0;
31534
 
if (sizeof (time_t))
 
33579
if (sizeof (ac__type_new_))
31535
33580
  return 0;
31536
33581
  ;
31537
33582
  return 0;
31538
33583
}
31539
33584
_ACEOF
31540
33585
rm -f conftest.$ac_objext
31541
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31542
 
  (eval $ac_compile) 2>conftest.er1
 
33586
if { (ac_try="$ac_compile"
 
33587
case "(($ac_try" in
 
33588
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33589
  *) ac_try_echo=$ac_try;;
 
33590
esac
 
33591
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33592
  (eval "$ac_compile") 2>conftest.er1
31543
33593
  ac_status=$?
31544
33594
  grep -v '^ *+' conftest.er1 >conftest.err
31545
33595
  rm -f conftest.er1
31546
33596
  cat conftest.err >&5
31547
33597
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31548
33598
  (exit $ac_status); } &&
31549
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
31550
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31551
 
  (eval $ac_try) 2>&5
 
33599
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
33600
  { (case "(($ac_try" in
 
33601
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33602
  *) ac_try_echo=$ac_try;;
 
33603
esac
 
33604
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33605
  (eval "$ac_try") 2>&5
31552
33606
  ac_status=$?
31553
33607
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31554
33608
  (exit $ac_status); }; } &&
31555
33609
         { ac_try='test -s conftest.$ac_objext'
31556
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31557
 
  (eval $ac_try) 2>&5
 
33610
  { (case "(($ac_try" in
 
33611
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33612
  *) ac_try_echo=$ac_try;;
 
33613
esac
 
33614
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33615
  (eval "$ac_try") 2>&5
31558
33616
  ac_status=$?
31559
33617
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31560
33618
  (exit $ac_status); }; }; then
31563
33621
  echo "$as_me: failed program was:" >&5
31564
33622
sed 's/^/| /' conftest.$ac_ext >&5
31565
33623
 
31566
 
ac_cv_type_time_t=no
 
33624
        ac_cv_type_time_t=no
31567
33625
fi
 
33626
 
31568
33627
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31569
33628
fi
31570
 
echo "$as_me:$LINENO: result: $ac_cv_type_time_t" >&5
31571
 
echo "${ECHO_T}$ac_cv_type_time_t" >&6
 
33629
{ echo "$as_me:$LINENO: result: $ac_cv_type_time_t" >&5
 
33630
echo "${ECHO_T}$ac_cv_type_time_t" >&6; }
31572
33631
 
31573
 
echo "$as_me:$LINENO: checking size of time_t" >&5
31574
 
echo $ECHO_N "checking size of time_t... $ECHO_C" >&6
 
33632
{ echo "$as_me:$LINENO: checking size of time_t" >&5
 
33633
echo $ECHO_N "checking size of time_t... $ECHO_C" >&6; }
31575
33634
if test "${ac_cv_sizeof_time_t+set}" = set; then
31576
33635
  echo $ECHO_N "(cached) $ECHO_C" >&6
31577
33636
else
31578
33637
  if test "$ac_cv_type_time_t" = yes; then
31579
 
  # The cast to unsigned long works around a bug in the HP C Compiler
 
33638
  # The cast to long int works around a bug in the HP C Compiler
31580
33639
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
31581
33640
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
31582
33641
  # This bug is HP SR number 8606223364.
31589
33648
cat >>conftest.$ac_ext <<_ACEOF
31590
33649
/* end confdefs.h.  */
31591
33650
$ac_includes_default
 
33651
                   typedef time_t ac__type_sizeof_;
31592
33652
int
31593
33653
main ()
31594
33654
{
31595
 
static int test_array [1 - 2 * !(((long) (sizeof (time_t))) >= 0)];
 
33655
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
31596
33656
test_array [0] = 0
31597
33657
 
31598
33658
  ;
31600
33660
}
31601
33661
_ACEOF
31602
33662
rm -f conftest.$ac_objext
31603
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31604
 
  (eval $ac_compile) 2>conftest.er1
 
33663
if { (ac_try="$ac_compile"
 
33664
case "(($ac_try" in
 
33665
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33666
  *) ac_try_echo=$ac_try;;
 
33667
esac
 
33668
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33669
  (eval "$ac_compile") 2>conftest.er1
31605
33670
  ac_status=$?
31606
33671
  grep -v '^ *+' conftest.er1 >conftest.err
31607
33672
  rm -f conftest.er1
31608
33673
  cat conftest.err >&5
31609
33674
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31610
33675
  (exit $ac_status); } &&
31611
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
31612
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31613
 
  (eval $ac_try) 2>&5
 
33676
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
33677
  { (case "(($ac_try" in
 
33678
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33679
  *) ac_try_echo=$ac_try;;
 
33680
esac
 
33681
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33682
  (eval "$ac_try") 2>&5
31614
33683
  ac_status=$?
31615
33684
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31616
33685
  (exit $ac_status); }; } &&
31617
33686
         { ac_try='test -s conftest.$ac_objext'
31618
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31619
 
  (eval $ac_try) 2>&5
 
33687
  { (case "(($ac_try" in
 
33688
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33689
  *) ac_try_echo=$ac_try;;
 
33690
esac
 
33691
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33692
  (eval "$ac_try") 2>&5
31620
33693
  ac_status=$?
31621
33694
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31622
33695
  (exit $ac_status); }; }; then
31629
33702
cat >>conftest.$ac_ext <<_ACEOF
31630
33703
/* end confdefs.h.  */
31631
33704
$ac_includes_default
 
33705
                   typedef time_t ac__type_sizeof_;
31632
33706
int
31633
33707
main ()
31634
33708
{
31635
 
static int test_array [1 - 2 * !(((long) (sizeof (time_t))) <= $ac_mid)];
 
33709
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
31636
33710
test_array [0] = 0
31637
33711
 
31638
33712
  ;
31640
33714
}
31641
33715
_ACEOF
31642
33716
rm -f conftest.$ac_objext
31643
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31644
 
  (eval $ac_compile) 2>conftest.er1
 
33717
if { (ac_try="$ac_compile"
 
33718
case "(($ac_try" in
 
33719
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33720
  *) ac_try_echo=$ac_try;;
 
33721
esac
 
33722
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33723
  (eval "$ac_compile") 2>conftest.er1
31645
33724
  ac_status=$?
31646
33725
  grep -v '^ *+' conftest.er1 >conftest.err
31647
33726
  rm -f conftest.er1
31648
33727
  cat conftest.err >&5
31649
33728
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31650
33729
  (exit $ac_status); } &&
31651
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
31652
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31653
 
  (eval $ac_try) 2>&5
 
33730
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
33731
  { (case "(($ac_try" in
 
33732
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33733
  *) ac_try_echo=$ac_try;;
 
33734
esac
 
33735
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33736
  (eval "$ac_try") 2>&5
31654
33737
  ac_status=$?
31655
33738
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31656
33739
  (exit $ac_status); }; } &&
31657
33740
         { ac_try='test -s conftest.$ac_objext'
31658
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31659
 
  (eval $ac_try) 2>&5
 
33741
  { (case "(($ac_try" in
 
33742
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33743
  *) ac_try_echo=$ac_try;;
 
33744
esac
 
33745
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33746
  (eval "$ac_try") 2>&5
31660
33747
  ac_status=$?
31661
33748
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31662
33749
  (exit $ac_status); }; }; then
31665
33752
  echo "$as_me: failed program was:" >&5
31666
33753
sed 's/^/| /' conftest.$ac_ext >&5
31667
33754
 
31668
 
ac_lo=`expr $ac_mid + 1`
31669
 
                    if test $ac_lo -le $ac_mid; then
31670
 
                      ac_lo= ac_hi=
31671
 
                      break
31672
 
                    fi
31673
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
33755
        ac_lo=`expr $ac_mid + 1`
 
33756
                        if test $ac_lo -le $ac_mid; then
 
33757
                          ac_lo= ac_hi=
 
33758
                          break
 
33759
                        fi
 
33760
                        ac_mid=`expr 2 '*' $ac_mid + 1`
31674
33761
fi
 
33762
 
31675
33763
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31676
33764
  done
31677
33765
else
31678
33766
  echo "$as_me: failed program was:" >&5
31679
33767
sed 's/^/| /' conftest.$ac_ext >&5
31680
33768
 
31681
 
cat >conftest.$ac_ext <<_ACEOF
 
33769
        cat >conftest.$ac_ext <<_ACEOF
31682
33770
/* confdefs.h.  */
31683
33771
_ACEOF
31684
33772
cat confdefs.h >>conftest.$ac_ext
31685
33773
cat >>conftest.$ac_ext <<_ACEOF
31686
33774
/* end confdefs.h.  */
31687
33775
$ac_includes_default
 
33776
                   typedef time_t ac__type_sizeof_;
31688
33777
int
31689
33778
main ()
31690
33779
{
31691
 
static int test_array [1 - 2 * !(((long) (sizeof (time_t))) < 0)];
 
33780
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
31692
33781
test_array [0] = 0
31693
33782
 
31694
33783
  ;
31696
33785
}
31697
33786
_ACEOF
31698
33787
rm -f conftest.$ac_objext
31699
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31700
 
  (eval $ac_compile) 2>conftest.er1
 
33788
if { (ac_try="$ac_compile"
 
33789
case "(($ac_try" in
 
33790
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33791
  *) ac_try_echo=$ac_try;;
 
33792
esac
 
33793
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33794
  (eval "$ac_compile") 2>conftest.er1
31701
33795
  ac_status=$?
31702
33796
  grep -v '^ *+' conftest.er1 >conftest.err
31703
33797
  rm -f conftest.er1
31704
33798
  cat conftest.err >&5
31705
33799
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31706
33800
  (exit $ac_status); } &&
31707
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
31708
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31709
 
  (eval $ac_try) 2>&5
 
33801
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
33802
  { (case "(($ac_try" in
 
33803
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33804
  *) ac_try_echo=$ac_try;;
 
33805
esac
 
33806
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33807
  (eval "$ac_try") 2>&5
31710
33808
  ac_status=$?
31711
33809
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31712
33810
  (exit $ac_status); }; } &&
31713
33811
         { ac_try='test -s conftest.$ac_objext'
31714
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31715
 
  (eval $ac_try) 2>&5
 
33812
  { (case "(($ac_try" in
 
33813
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33814
  *) ac_try_echo=$ac_try;;
 
33815
esac
 
33816
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33817
  (eval "$ac_try") 2>&5
31716
33818
  ac_status=$?
31717
33819
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31718
33820
  (exit $ac_status); }; }; then
31725
33827
cat >>conftest.$ac_ext <<_ACEOF
31726
33828
/* end confdefs.h.  */
31727
33829
$ac_includes_default
 
33830
                   typedef time_t ac__type_sizeof_;
31728
33831
int
31729
33832
main ()
31730
33833
{
31731
 
static int test_array [1 - 2 * !(((long) (sizeof (time_t))) >= $ac_mid)];
 
33834
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
31732
33835
test_array [0] = 0
31733
33836
 
31734
33837
  ;
31736
33839
}
31737
33840
_ACEOF
31738
33841
rm -f conftest.$ac_objext
31739
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31740
 
  (eval $ac_compile) 2>conftest.er1
 
33842
if { (ac_try="$ac_compile"
 
33843
case "(($ac_try" in
 
33844
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33845
  *) ac_try_echo=$ac_try;;
 
33846
esac
 
33847
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33848
  (eval "$ac_compile") 2>conftest.er1
31741
33849
  ac_status=$?
31742
33850
  grep -v '^ *+' conftest.er1 >conftest.err
31743
33851
  rm -f conftest.er1
31744
33852
  cat conftest.err >&5
31745
33853
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31746
33854
  (exit $ac_status); } &&
31747
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
31748
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31749
 
  (eval $ac_try) 2>&5
 
33855
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
33856
  { (case "(($ac_try" in
 
33857
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33858
  *) ac_try_echo=$ac_try;;
 
33859
esac
 
33860
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33861
  (eval "$ac_try") 2>&5
31750
33862
  ac_status=$?
31751
33863
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31752
33864
  (exit $ac_status); }; } &&
31753
33865
         { ac_try='test -s conftest.$ac_objext'
31754
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31755
 
  (eval $ac_try) 2>&5
 
33866
  { (case "(($ac_try" in
 
33867
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33868
  *) ac_try_echo=$ac_try;;
 
33869
esac
 
33870
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33871
  (eval "$ac_try") 2>&5
31756
33872
  ac_status=$?
31757
33873
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31758
33874
  (exit $ac_status); }; }; then
31761
33877
  echo "$as_me: failed program was:" >&5
31762
33878
sed 's/^/| /' conftest.$ac_ext >&5
31763
33879
 
31764
 
ac_hi=`expr '(' $ac_mid ')' - 1`
31765
 
                       if test $ac_mid -le $ac_hi; then
31766
 
                         ac_lo= ac_hi=
31767
 
                         break
31768
 
                       fi
31769
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
33880
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
33881
                        if test $ac_mid -le $ac_hi; then
 
33882
                          ac_lo= ac_hi=
 
33883
                          break
 
33884
                        fi
 
33885
                        ac_mid=`expr 2 '*' $ac_mid`
31770
33886
fi
 
33887
 
31771
33888
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31772
33889
  done
31773
33890
else
31774
33891
  echo "$as_me: failed program was:" >&5
31775
33892
sed 's/^/| /' conftest.$ac_ext >&5
31776
33893
 
31777
 
ac_lo= ac_hi=
 
33894
        ac_lo= ac_hi=
31778
33895
fi
 
33896
 
31779
33897
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31780
33898
fi
 
33899
 
31781
33900
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31782
33901
# Binary search between lo and hi bounds.
31783
33902
while test "x$ac_lo" != "x$ac_hi"; do
31789
33908
cat >>conftest.$ac_ext <<_ACEOF
31790
33909
/* end confdefs.h.  */
31791
33910
$ac_includes_default
 
33911
                   typedef time_t ac__type_sizeof_;
31792
33912
int
31793
33913
main ()
31794
33914
{
31795
 
static int test_array [1 - 2 * !(((long) (sizeof (time_t))) <= $ac_mid)];
 
33915
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
31796
33916
test_array [0] = 0
31797
33917
 
31798
33918
  ;
31800
33920
}
31801
33921
_ACEOF
31802
33922
rm -f conftest.$ac_objext
31803
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31804
 
  (eval $ac_compile) 2>conftest.er1
 
33923
if { (ac_try="$ac_compile"
 
33924
case "(($ac_try" in
 
33925
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33926
  *) ac_try_echo=$ac_try;;
 
33927
esac
 
33928
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33929
  (eval "$ac_compile") 2>conftest.er1
31805
33930
  ac_status=$?
31806
33931
  grep -v '^ *+' conftest.er1 >conftest.err
31807
33932
  rm -f conftest.er1
31808
33933
  cat conftest.err >&5
31809
33934
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31810
33935
  (exit $ac_status); } &&
31811
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
31812
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31813
 
  (eval $ac_try) 2>&5
 
33936
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
33937
  { (case "(($ac_try" in
 
33938
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33939
  *) ac_try_echo=$ac_try;;
 
33940
esac
 
33941
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33942
  (eval "$ac_try") 2>&5
31814
33943
  ac_status=$?
31815
33944
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31816
33945
  (exit $ac_status); }; } &&
31817
33946
         { ac_try='test -s conftest.$ac_objext'
31818
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31819
 
  (eval $ac_try) 2>&5
 
33947
  { (case "(($ac_try" in
 
33948
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33949
  *) ac_try_echo=$ac_try;;
 
33950
esac
 
33951
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33952
  (eval "$ac_try") 2>&5
31820
33953
  ac_status=$?
31821
33954
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31822
33955
  (exit $ac_status); }; }; then
31825
33958
  echo "$as_me: failed program was:" >&5
31826
33959
sed 's/^/| /' conftest.$ac_ext >&5
31827
33960
 
31828
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
33961
        ac_lo=`expr '(' $ac_mid ')' + 1`
31829
33962
fi
 
33963
 
31830
33964
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31831
33965
done
31832
33966
case $ac_lo in
31833
33967
?*) ac_cv_sizeof_time_t=$ac_lo;;
31834
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (time_t), 77
 
33968
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (time_t)
31835
33969
See \`config.log' for more details." >&5
31836
 
echo "$as_me: error: cannot compute sizeof (time_t), 77
 
33970
echo "$as_me: error: cannot compute sizeof (time_t)
31837
33971
See \`config.log' for more details." >&2;}
31838
 
   { (exit 1); exit 1; }; } ;;
 
33972
   { (exit 77); exit 77; }; } ;;
31839
33973
esac
31840
33974
else
31841
 
  if test "$cross_compiling" = yes; then
31842
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
31843
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
31844
 
   { (exit 1); exit 1; }; }
31845
 
else
31846
33975
  cat >conftest.$ac_ext <<_ACEOF
31847
33976
/* confdefs.h.  */
31848
33977
_ACEOF
31850
33979
cat >>conftest.$ac_ext <<_ACEOF
31851
33980
/* end confdefs.h.  */
31852
33981
$ac_includes_default
31853
 
long longval () { return (long) (sizeof (time_t)); }
31854
 
unsigned long ulongval () { return (long) (sizeof (time_t)); }
 
33982
                   typedef time_t ac__type_sizeof_;
 
33983
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
33984
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
31855
33985
#include <stdio.h>
31856
33986
#include <stdlib.h>
31857
33987
int
31860
33990
 
31861
33991
  FILE *f = fopen ("conftest.val", "w");
31862
33992
  if (! f)
31863
 
    exit (1);
31864
 
  if (((long) (sizeof (time_t))) < 0)
 
33993
    return 1;
 
33994
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
31865
33995
    {
31866
 
      long i = longval ();
31867
 
      if (i != ((long) (sizeof (time_t))))
31868
 
        exit (1);
 
33996
      long int i = longval ();
 
33997
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
33998
        return 1;
31869
33999
      fprintf (f, "%ld\n", i);
31870
34000
    }
31871
34001
  else
31872
34002
    {
31873
 
      unsigned long i = ulongval ();
31874
 
      if (i != ((long) (sizeof (time_t))))
31875
 
        exit (1);
 
34003
      unsigned long int i = ulongval ();
 
34004
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
34005
        return 1;
31876
34006
      fprintf (f, "%lu\n", i);
31877
34007
    }
31878
 
  exit (ferror (f) || fclose (f) != 0);
 
34008
  return ferror (f) || fclose (f) != 0;
31879
34009
 
31880
34010
  ;
31881
34011
  return 0;
31882
34012
}
31883
34013
_ACEOF
31884
34014
rm -f conftest$ac_exeext
31885
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31886
 
  (eval $ac_link) 2>&5
 
34015
if { (ac_try="$ac_link"
 
34016
case "(($ac_try" in
 
34017
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34018
  *) ac_try_echo=$ac_try;;
 
34019
esac
 
34020
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34021
  (eval "$ac_link") 2>&5
31887
34022
  ac_status=$?
31888
34023
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31889
34024
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31890
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31891
 
  (eval $ac_try) 2>&5
 
34025
  { (case "(($ac_try" in
 
34026
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34027
  *) ac_try_echo=$ac_try;;
 
34028
esac
 
34029
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34030
  (eval "$ac_try") 2>&5
31892
34031
  ac_status=$?
31893
34032
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31894
34033
  (exit $ac_status); }; }; then
31899
34038
sed 's/^/| /' conftest.$ac_ext >&5
31900
34039
 
31901
34040
( exit $ac_status )
31902
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (time_t), 77
 
34041
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (time_t)
31903
34042
See \`config.log' for more details." >&5
31904
 
echo "$as_me: error: cannot compute sizeof (time_t), 77
 
34043
echo "$as_me: error: cannot compute sizeof (time_t)
31905
34044
See \`config.log' for more details." >&2;}
31906
 
   { (exit 1); exit 1; }; }
31907
 
fi
31908
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31909
 
fi
 
34045
   { (exit 77); exit 77; }; }
 
34046
fi
 
34047
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31910
34048
fi
31911
34049
rm -f conftest.val
31912
34050
else
31913
34051
  ac_cv_sizeof_time_t=0
31914
34052
fi
31915
34053
fi
31916
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_time_t" >&5
31917
 
echo "${ECHO_T}$ac_cv_sizeof_time_t" >&6
 
34054
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_time_t" >&5
 
34055
echo "${ECHO_T}$ac_cv_sizeof_time_t" >&6; }
31918
34056
cat >>confdefs.h <<_ACEOF
31919
34057
#define SIZEOF_TIME_T $ac_cv_sizeof_time_t
31920
34058
_ACEOF
31921
34059
 
31922
34060
 
31923
34061
 
31924
 
echo "$as_me:$LINENO: checking for long long" >&5
31925
 
echo $ECHO_N "checking for long long... $ECHO_C" >&6
 
34062
{ echo "$as_me:$LINENO: checking for long long" >&5
 
34063
echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
31926
34064
if test "${ac_cv_type_long_long+set}" = set; then
31927
34065
  echo $ECHO_N "(cached) $ECHO_C" >&6
31928
34066
else
31933
34071
cat >>conftest.$ac_ext <<_ACEOF
31934
34072
/* end confdefs.h.  */
31935
34073
$ac_includes_default
 
34074
typedef long long ac__type_new_;
31936
34075
int
31937
34076
main ()
31938
34077
{
31939
 
if ((long long *) 0)
 
34078
if ((ac__type_new_ *) 0)
31940
34079
  return 0;
31941
 
if (sizeof (long long))
 
34080
if (sizeof (ac__type_new_))
31942
34081
  return 0;
31943
34082
  ;
31944
34083
  return 0;
31945
34084
}
31946
34085
_ACEOF
31947
34086
rm -f conftest.$ac_objext
31948
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31949
 
  (eval $ac_compile) 2>conftest.er1
 
34087
if { (ac_try="$ac_compile"
 
34088
case "(($ac_try" in
 
34089
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34090
  *) ac_try_echo=$ac_try;;
 
34091
esac
 
34092
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34093
  (eval "$ac_compile") 2>conftest.er1
31950
34094
  ac_status=$?
31951
34095
  grep -v '^ *+' conftest.er1 >conftest.err
31952
34096
  rm -f conftest.er1
31953
34097
  cat conftest.err >&5
31954
34098
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31955
34099
  (exit $ac_status); } &&
31956
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
31957
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31958
 
  (eval $ac_try) 2>&5
 
34100
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
34101
  { (case "(($ac_try" in
 
34102
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34103
  *) ac_try_echo=$ac_try;;
 
34104
esac
 
34105
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34106
  (eval "$ac_try") 2>&5
31959
34107
  ac_status=$?
31960
34108
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31961
34109
  (exit $ac_status); }; } &&
31962
34110
         { ac_try='test -s conftest.$ac_objext'
31963
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31964
 
  (eval $ac_try) 2>&5
 
34111
  { (case "(($ac_try" in
 
34112
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34113
  *) ac_try_echo=$ac_try;;
 
34114
esac
 
34115
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34116
  (eval "$ac_try") 2>&5
31965
34117
  ac_status=$?
31966
34118
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31967
34119
  (exit $ac_status); }; }; then
31970
34122
  echo "$as_me: failed program was:" >&5
31971
34123
sed 's/^/| /' conftest.$ac_ext >&5
31972
34124
 
31973
 
ac_cv_type_long_long=no
 
34125
        ac_cv_type_long_long=no
31974
34126
fi
 
34127
 
31975
34128
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31976
34129
fi
31977
 
echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
31978
 
echo "${ECHO_T}$ac_cv_type_long_long" >&6
 
34130
{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
 
34131
echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
31979
34132
if test $ac_cv_type_long_long = yes; then
31980
34133
 
31981
34134
cat >>confdefs.h <<\_ACEOF
31988
34141
 
31989
34142
 
31990
34143
if test "xyes" = "x$longlong"; then
31991
 
  echo "$as_me:$LINENO: checking if numberLL works" >&5
31992
 
echo $ECHO_N "checking if numberLL works... $ECHO_C" >&6
 
34144
  { echo "$as_me:$LINENO: checking if numberLL works" >&5
 
34145
echo $ECHO_N "checking if numberLL works... $ECHO_C" >&6; }
31993
34146
  cat >conftest.$ac_ext <<_ACEOF
31994
34147
long long val = 1000LL;
31995
34148
_ACEOF
31996
34149
rm -f conftest.$ac_objext
31997
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31998
 
  (eval $ac_compile) 2>conftest.er1
 
34150
if { (ac_try="$ac_compile"
 
34151
case "(($ac_try" in
 
34152
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34153
  *) ac_try_echo=$ac_try;;
 
34154
esac
 
34155
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34156
  (eval "$ac_compile") 2>conftest.er1
31999
34157
  ac_status=$?
32000
34158
  grep -v '^ *+' conftest.er1 >conftest.err
32001
34159
  rm -f conftest.er1
32002
34160
  cat conftest.err >&5
32003
34161
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32004
34162
  (exit $ac_status); } &&
32005
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
32006
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32007
 
  (eval $ac_try) 2>&5
 
34163
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
34164
  { (case "(($ac_try" in
 
34165
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34166
  *) ac_try_echo=$ac_try;;
 
34167
esac
 
34168
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34169
  (eval "$ac_try") 2>&5
32008
34170
  ac_status=$?
32009
34171
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32010
34172
  (exit $ac_status); }; } &&
32011
34173
         { ac_try='test -s conftest.$ac_objext'
32012
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32013
 
  (eval $ac_try) 2>&5
 
34174
  { (case "(($ac_try" in
 
34175
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34176
  *) ac_try_echo=$ac_try;;
 
34177
esac
 
34178
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34179
  (eval "$ac_try") 2>&5
32014
34180
  ac_status=$?
32015
34181
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32016
34182
  (exit $ac_status); }; }; then
32019
34185
#define HAVE_LL 1
32020
34186
_ACEOF
32021
34187
 
32022
 
   echo "$as_me:$LINENO: result: yes" >&5
32023
 
echo "${ECHO_T}yes" >&6
 
34188
   { echo "$as_me:$LINENO: result: yes" >&5
 
34189
echo "${ECHO_T}yes" >&6; }
32024
34190
else
32025
34191
  echo "$as_me: failed program was:" >&5
32026
34192
sed 's/^/| /' conftest.$ac_ext >&5
32027
34193
 
32028
 
echo "$as_me:$LINENO: result: no" >&5
32029
 
echo "${ECHO_T}no" >&6
 
34194
        { echo "$as_me:$LINENO: result: no" >&5
 
34195
echo "${ECHO_T}no" >&6; }
32030
34196
 
32031
34197
fi
 
34198
 
32032
34199
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32033
34200
fi
32034
34201
 
32035
34202
 
32036
34203
# check for ssize_t
32037
 
echo "$as_me:$LINENO: checking for ssize_t" >&5
32038
 
echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
 
34204
{ echo "$as_me:$LINENO: checking for ssize_t" >&5
 
34205
echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
32039
34206
if test "${ac_cv_type_ssize_t+set}" = set; then
32040
34207
  echo $ECHO_N "(cached) $ECHO_C" >&6
32041
34208
else
32046
34213
cat >>conftest.$ac_ext <<_ACEOF
32047
34214
/* end confdefs.h.  */
32048
34215
$ac_includes_default
 
34216
typedef ssize_t ac__type_new_;
32049
34217
int
32050
34218
main ()
32051
34219
{
32052
 
if ((ssize_t *) 0)
 
34220
if ((ac__type_new_ *) 0)
32053
34221
  return 0;
32054
 
if (sizeof (ssize_t))
 
34222
if (sizeof (ac__type_new_))
32055
34223
  return 0;
32056
34224
  ;
32057
34225
  return 0;
32058
34226
}
32059
34227
_ACEOF
32060
34228
rm -f conftest.$ac_objext
32061
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32062
 
  (eval $ac_compile) 2>conftest.er1
 
34229
if { (ac_try="$ac_compile"
 
34230
case "(($ac_try" in
 
34231
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34232
  *) ac_try_echo=$ac_try;;
 
34233
esac
 
34234
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34235
  (eval "$ac_compile") 2>conftest.er1
32063
34236
  ac_status=$?
32064
34237
  grep -v '^ *+' conftest.er1 >conftest.err
32065
34238
  rm -f conftest.er1
32066
34239
  cat conftest.err >&5
32067
34240
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32068
34241
  (exit $ac_status); } &&
32069
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
32070
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32071
 
  (eval $ac_try) 2>&5
 
34242
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
34243
  { (case "(($ac_try" in
 
34244
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34245
  *) ac_try_echo=$ac_try;;
 
34246
esac
 
34247
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34248
  (eval "$ac_try") 2>&5
32072
34249
  ac_status=$?
32073
34250
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32074
34251
  (exit $ac_status); }; } &&
32075
34252
         { ac_try='test -s conftest.$ac_objext'
32076
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32077
 
  (eval $ac_try) 2>&5
 
34253
  { (case "(($ac_try" in
 
34254
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34255
  *) ac_try_echo=$ac_try;;
 
34256
esac
 
34257
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34258
  (eval "$ac_try") 2>&5
32078
34259
  ac_status=$?
32079
34260
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32080
34261
  (exit $ac_status); }; }; then
32083
34264
  echo "$as_me: failed program was:" >&5
32084
34265
sed 's/^/| /' conftest.$ac_ext >&5
32085
34266
 
32086
 
ac_cv_type_ssize_t=no
 
34267
        ac_cv_type_ssize_t=no
32087
34268
fi
 
34269
 
32088
34270
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32089
34271
fi
32090
 
echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32091
 
echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
 
34272
{ echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
 
34273
echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
32092
34274
if test $ac_cv_type_ssize_t = yes; then
32093
34275
  :
32094
34276
else
32100
34282
fi
32101
34283
 
32102
34284
 
 
34285
# Check for socklen_t or equivalent
32103
34286
 
32104
 
   echo "$as_me:$LINENO: checking for socklen_t" >&5
32105
 
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
 
34287
    { echo "$as_me:$LINENO: checking for socklen_t" >&5
 
34288
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
32106
34289
if test "${ac_cv_type_socklen_t+set}" = set; then
32107
34290
  echo $ECHO_N "(cached) $ECHO_C" >&6
32108
34291
else
32112
34295
cat confdefs.h >>conftest.$ac_ext
32113
34296
cat >>conftest.$ac_ext <<_ACEOF
32114
34297
/* end confdefs.h.  */
 
34298
 
 
34299
#undef inline
 
34300
#ifdef HAVE_WINDOWS_H
 
34301
#ifndef WIN32_LEAN_AND_MEAN
 
34302
#define WIN32_LEAN_AND_MEAN
 
34303
#endif
 
34304
#include <windows.h>
 
34305
#ifdef HAVE_WINSOCK2_H
 
34306
#include <winsock2.h>
 
34307
#ifdef HAVE_WS2TCPIP_H
 
34308
#include <ws2tcpip.h>
 
34309
#endif
 
34310
#endif
 
34311
#else
 
34312
#ifdef HAVE_SYS_TYPES_H
32115
34313
#include <sys/types.h>
 
34314
#endif
 
34315
#ifdef HAVE_SYS_SOCKET_H
32116
34316
#include <sys/socket.h>
32117
 
 
 
34317
#endif
 
34318
#endif
 
34319
 
 
34320
 
 
34321
typedef socklen_t ac__type_new_;
32118
34322
int
32119
34323
main ()
32120
34324
{
32121
 
if ((socklen_t *) 0)
 
34325
if ((ac__type_new_ *) 0)
32122
34326
  return 0;
32123
 
if (sizeof (socklen_t))
 
34327
if (sizeof (ac__type_new_))
32124
34328
  return 0;
32125
34329
  ;
32126
34330
  return 0;
32127
34331
}
32128
34332
_ACEOF
32129
34333
rm -f conftest.$ac_objext
32130
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32131
 
  (eval $ac_compile) 2>conftest.er1
 
34334
if { (ac_try="$ac_compile"
 
34335
case "(($ac_try" in
 
34336
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34337
  *) ac_try_echo=$ac_try;;
 
34338
esac
 
34339
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34340
  (eval "$ac_compile") 2>conftest.er1
32132
34341
  ac_status=$?
32133
34342
  grep -v '^ *+' conftest.er1 >conftest.err
32134
34343
  rm -f conftest.er1
32135
34344
  cat conftest.err >&5
32136
34345
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32137
34346
  (exit $ac_status); } &&
32138
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
32139
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32140
 
  (eval $ac_try) 2>&5
 
34347
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
34348
  { (case "(($ac_try" in
 
34349
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34350
  *) ac_try_echo=$ac_try;;
 
34351
esac
 
34352
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34353
  (eval "$ac_try") 2>&5
32141
34354
  ac_status=$?
32142
34355
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32143
34356
  (exit $ac_status); }; } &&
32144
34357
         { ac_try='test -s conftest.$ac_objext'
32145
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32146
 
  (eval $ac_try) 2>&5
 
34358
  { (case "(($ac_try" in
 
34359
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34360
  *) ac_try_echo=$ac_try;;
 
34361
esac
 
34362
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34363
  (eval "$ac_try") 2>&5
32147
34364
  ac_status=$?
32148
34365
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32149
34366
  (exit $ac_status); }; }; then
32152
34369
  echo "$as_me: failed program was:" >&5
32153
34370
sed 's/^/| /' conftest.$ac_ext >&5
32154
34371
 
32155
 
ac_cv_type_socklen_t=no
 
34372
        ac_cv_type_socklen_t=no
32156
34373
fi
 
34374
 
32157
34375
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32158
34376
fi
32159
 
echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
32160
 
echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
 
34377
{ echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
 
34378
echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
32161
34379
if test $ac_cv_type_socklen_t = yes; then
32162
34380
  :
32163
34381
else
32164
34382
 
32165
 
      echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5
32166
 
echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6
32167
 
      if test "${curl_cv_socklen_t_equiv+set}" = set; then
 
34383
    { echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5
 
34384
echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6; }
 
34385
if test "${curl_cv_socklen_t_equiv+set}" = set; then
32168
34386
  echo $ECHO_N "(cached) $ECHO_C" >&6
32169
34387
else
32170
34388
 
32171
 
         # Systems have either "struct sockaddr *" or
32172
 
         # "void *" as the second argument to getpeername
32173
 
         curl_cv_socklen_t_equiv=
32174
 
         for arg2 in "struct sockaddr" void; do
32175
 
            for t in int size_t unsigned long "unsigned long"; do
32176
 
               cat >conftest.$ac_ext <<_ACEOF
32177
 
/* confdefs.h.  */
 
34389
      curl_cv_socklen_t_equiv="unknown"
 
34390
      for arg2 in "struct sockaddr" void; do
 
34391
        for t in int size_t unsigned long "unsigned long"; do
 
34392
          cat >conftest.$ac_ext <<_ACEOF
 
34393
 
 
34394
            /* confdefs.h.  */
32178
34395
_ACEOF
32179
34396
cat confdefs.h >>conftest.$ac_ext
32180
34397
cat >>conftest.$ac_ext <<_ACEOF
32181
34398
/* end confdefs.h.  */
32182
34399
 
32183
 
                  #ifdef HAVE_SYS_TYPES_H
32184
 
                  #include <sys/types.h>
32185
 
                  #endif
32186
 
                  #ifdef HAVE_SYS_SOCKET_H
32187
 
                  #include <sys/socket.h>
32188
 
                  #endif
32189
 
 
32190
 
                  int getpeername (int, $arg2 *, $t *);
 
34400
#undef inline
 
34401
#ifdef HAVE_WINDOWS_H
 
34402
#ifndef WIN32_LEAN_AND_MEAN
 
34403
#define WIN32_LEAN_AND_MEAN
 
34404
#endif
 
34405
#include <windows.h>
 
34406
#ifdef HAVE_WINSOCK2_H
 
34407
#include <winsock2.h>
 
34408
#else
 
34409
#ifdef HAVE_WINSOCK_H
 
34410
#include <winsock.h>
 
34411
#endif
 
34412
#endif
 
34413
#else
 
34414
#ifdef HAVE_SYS_TYPES_H
 
34415
#include <sys/types.h>
 
34416
#endif
 
34417
#ifdef HAVE_SYS_SOCKET_H
 
34418
#include <sys/socket.h>
 
34419
#endif
 
34420
#endif
 
34421
              int getpeername (int, $arg2 *, $t *);
32191
34422
 
32192
34423
int
32193
34424
main ()
32194
34425
{
32195
34426
 
32196
 
                  $t len;
32197
 
                  getpeername(0,0,&len);
 
34427
              $t len=0;
 
34428
              getpeername(0,0,&len);
32198
34429
 
32199
34430
  ;
32200
34431
  return 0;
32201
34432
}
 
34433
 
32202
34434
_ACEOF
32203
34435
rm -f conftest.$ac_objext
32204
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32205
 
  (eval $ac_compile) 2>conftest.er1
 
34436
if { (ac_try="$ac_compile"
 
34437
case "(($ac_try" in
 
34438
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34439
  *) ac_try_echo=$ac_try;;
 
34440
esac
 
34441
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34442
  (eval "$ac_compile") 2>conftest.er1
32206
34443
  ac_status=$?
32207
34444
  grep -v '^ *+' conftest.er1 >conftest.err
32208
34445
  rm -f conftest.er1
32209
34446
  cat conftest.err >&5
32210
34447
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32211
34448
  (exit $ac_status); } &&
32212
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
32213
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32214
 
  (eval $ac_try) 2>&5
 
34449
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
34450
  { (case "(($ac_try" in
 
34451
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34452
  *) ac_try_echo=$ac_try;;
 
34453
esac
 
34454
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34455
  (eval "$ac_try") 2>&5
32215
34456
  ac_status=$?
32216
34457
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32217
34458
  (exit $ac_status); }; } &&
32218
34459
         { ac_try='test -s conftest.$ac_objext'
32219
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32220
 
  (eval $ac_try) 2>&5
 
34460
  { (case "(($ac_try" in
 
34461
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34462
  *) ac_try_echo=$ac_try;;
 
34463
esac
 
34464
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34465
  (eval "$ac_try") 2>&5
32221
34466
  ac_status=$?
32222
34467
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32223
34468
  (exit $ac_status); }; }; then
32224
34469
 
32225
 
                  curl_cv_socklen_t_equiv="$t"
32226
 
                  break
 
34470
             curl_cv_socklen_t_equiv="$t"
 
34471
             break 2
32227
34472
 
32228
34473
else
32229
34474
  echo "$as_me: failed program was:" >&5
32230
34475
sed 's/^/| /' conftest.$ac_ext >&5
32231
34476
 
 
34477
 
32232
34478
fi
 
34479
 
32233
34480
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32234
 
            done
32235
 
         done
 
34481
        done
 
34482
      done
32236
34483
 
32237
 
         if test "x$curl_cv_socklen_t_equiv" = x; then
32238
 
            { { echo "$as_me:$LINENO: error: Cannot find a type to use in place of socklen_t" >&5
 
34484
fi
 
34485
{ echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5
 
34486
echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6; }
 
34487
    if test "$curl_cv_socklen_t_equiv" = "unknown"; then
 
34488
      { { echo "$as_me:$LINENO: error: Cannot find a type to use in place of socklen_t" >&5
32239
34489
echo "$as_me: error: Cannot find a type to use in place of socklen_t" >&2;}
32240
34490
   { (exit 1); exit 1; }; }
32241
 
         fi
32242
 
 
32243
 
fi
32244
 
 
32245
 
      echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5
32246
 
echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6
 
34491
    else
32247
34492
 
32248
34493
cat >>confdefs.h <<_ACEOF
32249
34494
#define socklen_t $curl_cv_socklen_t_equiv
32250
34495
_ACEOF
32251
34496
 
 
34497
    fi
 
34498
 
32252
34499
fi
32253
34500
 
32254
34501
 
32255
34502
 
32256
 
   echo "$as_me:$LINENO: checking for in_addr_t" >&5
32257
 
echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6
 
34503
 
 
34504
   { echo "$as_me:$LINENO: checking for in_addr_t" >&5
 
34505
echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6; }
32258
34506
if test "${ac_cv_type_in_addr_t+set}" = set; then
32259
34507
  echo $ECHO_N "(cached) $ECHO_C" >&6
32260
34508
else
32264
34512
cat confdefs.h >>conftest.$ac_ext
32265
34513
cat >>conftest.$ac_ext <<_ACEOF
32266
34514
/* end confdefs.h.  */
 
34515
 
 
34516
#undef inline
 
34517
#ifdef HAVE_WINDOWS_H
 
34518
#ifndef WIN32_LEAN_AND_MEAN
 
34519
#define WIN32_LEAN_AND_MEAN
 
34520
#endif
 
34521
#include <windows.h>
 
34522
#ifdef HAVE_WINSOCK2_H
 
34523
#include <winsock2.h>
 
34524
#else
 
34525
#ifdef HAVE_WINSOCK_H
 
34526
#include <winsock.h>
 
34527
#endif
 
34528
#endif
 
34529
#else
 
34530
#ifdef HAVE_SYS_TYPES_H
32267
34531
#include <sys/types.h>
 
34532
#endif
 
34533
#ifdef HAVE_SYS_SOCKET_H
32268
34534
#include <sys/socket.h>
 
34535
#endif
 
34536
#ifdef HAVE_NETINET_IN_H
 
34537
#include <netinet/in.h>
 
34538
#endif
 
34539
#ifdef HAVE_ARPA_INET_H
32269
34540
#include <arpa/inet.h>
32270
 
 
 
34541
#endif
 
34542
#endif
 
34543
 
 
34544
 
 
34545
typedef in_addr_t ac__type_new_;
32271
34546
int
32272
34547
main ()
32273
34548
{
32274
 
if ((in_addr_t *) 0)
 
34549
if ((ac__type_new_ *) 0)
32275
34550
  return 0;
32276
 
if (sizeof (in_addr_t))
 
34551
if (sizeof (ac__type_new_))
32277
34552
  return 0;
32278
34553
  ;
32279
34554
  return 0;
32280
34555
}
32281
34556
_ACEOF
32282
34557
rm -f conftest.$ac_objext
32283
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32284
 
  (eval $ac_compile) 2>conftest.er1
 
34558
if { (ac_try="$ac_compile"
 
34559
case "(($ac_try" in
 
34560
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34561
  *) ac_try_echo=$ac_try;;
 
34562
esac
 
34563
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34564
  (eval "$ac_compile") 2>conftest.er1
32285
34565
  ac_status=$?
32286
34566
  grep -v '^ *+' conftest.er1 >conftest.err
32287
34567
  rm -f conftest.er1
32288
34568
  cat conftest.err >&5
32289
34569
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32290
34570
  (exit $ac_status); } &&
32291
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
32292
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32293
 
  (eval $ac_try) 2>&5
 
34571
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
34572
  { (case "(($ac_try" in
 
34573
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34574
  *) ac_try_echo=$ac_try;;
 
34575
esac
 
34576
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34577
  (eval "$ac_try") 2>&5
32294
34578
  ac_status=$?
32295
34579
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32296
34580
  (exit $ac_status); }; } &&
32297
34581
         { ac_try='test -s conftest.$ac_objext'
32298
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32299
 
  (eval $ac_try) 2>&5
 
34582
  { (case "(($ac_try" in
 
34583
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34584
  *) ac_try_echo=$ac_try;;
 
34585
esac
 
34586
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34587
  (eval "$ac_try") 2>&5
32300
34588
  ac_status=$?
32301
34589
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32302
34590
  (exit $ac_status); }; }; then
32305
34593
  echo "$as_me: failed program was:" >&5
32306
34594
sed 's/^/| /' conftest.$ac_ext >&5
32307
34595
 
32308
 
ac_cv_type_in_addr_t=no
 
34596
        ac_cv_type_in_addr_t=no
32309
34597
fi
 
34598
 
32310
34599
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32311
34600
fi
32312
 
echo "$as_me:$LINENO: result: $ac_cv_type_in_addr_t" >&5
32313
 
echo "${ECHO_T}$ac_cv_type_in_addr_t" >&6
 
34601
{ echo "$as_me:$LINENO: result: $ac_cv_type_in_addr_t" >&5
 
34602
echo "${ECHO_T}$ac_cv_type_in_addr_t" >&6; }
32314
34603
if test $ac_cv_type_in_addr_t = yes; then
32315
34604
  :
32316
34605
else
32317
34606
 
32318
 
      echo "$as_me:$LINENO: checking for in_addr_t equivalent" >&5
32319
 
echo $ECHO_N "checking for in_addr_t equivalent... $ECHO_C" >&6
 
34607
      { echo "$as_me:$LINENO: checking for in_addr_t equivalent" >&5
 
34608
echo $ECHO_N "checking for in_addr_t equivalent... $ECHO_C" >&6; }
32320
34609
      if test "${curl_cv_in_addr_t_equiv+set}" = set; then
32321
34610
  echo $ECHO_N "(cached) $ECHO_C" >&6
32322
34611
else
32330
34619
cat >>conftest.$ac_ext <<_ACEOF
32331
34620
/* end confdefs.h.  */
32332
34621
 
32333
 
               #ifdef HAVE_SYS_TYPES_H
32334
 
               #include <sys/types.h>
32335
 
               #endif
32336
 
               #ifdef HAVE_SYS_SOCKET_H
32337
 
               #include <sys/socket.h>
32338
 
               #endif
32339
 
               #ifdef HAVE_ARPA_INET_H
32340
 
               #include <arpa/inet.h>
32341
 
               #endif
 
34622
#undef inline
 
34623
#ifdef HAVE_WINDOWS_H
 
34624
#ifndef WIN32_LEAN_AND_MEAN
 
34625
#define WIN32_LEAN_AND_MEAN
 
34626
#endif
 
34627
#include <windows.h>
 
34628
#ifdef HAVE_WINSOCK2_H
 
34629
#include <winsock2.h>
 
34630
#else
 
34631
#ifdef HAVE_WINSOCK_H
 
34632
#include <winsock.h>
 
34633
#endif
 
34634
#endif
 
34635
#else
 
34636
#ifdef HAVE_SYS_TYPES_H
 
34637
#include <sys/types.h>
 
34638
#endif
 
34639
#ifdef HAVE_SYS_SOCKET_H
 
34640
#include <sys/socket.h>
 
34641
#endif
 
34642
#ifdef HAVE_NETINET_IN_H
 
34643
#include <netinet/in.h>
 
34644
#endif
 
34645
#ifdef HAVE_ARPA_INET_H
 
34646
#include <arpa/inet.h>
 
34647
#endif
 
34648
#endif
32342
34649
 
32343
34650
int
32344
34651
main ()
32351
34658
}
32352
34659
_ACEOF
32353
34660
rm -f conftest.$ac_objext
32354
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32355
 
  (eval $ac_compile) 2>conftest.er1
 
34661
if { (ac_try="$ac_compile"
 
34662
case "(($ac_try" in
 
34663
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34664
  *) ac_try_echo=$ac_try;;
 
34665
esac
 
34666
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34667
  (eval "$ac_compile") 2>conftest.er1
32356
34668
  ac_status=$?
32357
34669
  grep -v '^ *+' conftest.er1 >conftest.err
32358
34670
  rm -f conftest.er1
32359
34671
  cat conftest.err >&5
32360
34672
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32361
34673
  (exit $ac_status); } &&
32362
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
32363
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32364
 
  (eval $ac_try) 2>&5
 
34674
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
34675
  { (case "(($ac_try" in
 
34676
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34677
  *) ac_try_echo=$ac_try;;
 
34678
esac
 
34679
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34680
  (eval "$ac_try") 2>&5
32365
34681
  ac_status=$?
32366
34682
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32367
34683
  (exit $ac_status); }; } &&
32368
34684
         { ac_try='test -s conftest.$ac_objext'
32369
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32370
 
  (eval $ac_try) 2>&5
 
34685
  { (case "(($ac_try" in
 
34686
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34687
  *) ac_try_echo=$ac_try;;
 
34688
esac
 
34689
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34690
  (eval "$ac_try") 2>&5
32371
34691
  ac_status=$?
32372
34692
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32373
34693
  (exit $ac_status); }; }; then
32379
34699
  echo "$as_me: failed program was:" >&5
32380
34700
sed 's/^/| /' conftest.$ac_ext >&5
32381
34701
 
 
34702
 
32382
34703
fi
 
34704
 
32383
34705
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32384
34706
         done
32385
34707
 
32391
34713
 
32392
34714
fi
32393
34715
 
32394
 
      echo "$as_me:$LINENO: result: $curl_cv_in_addr_t_equiv" >&5
32395
 
echo "${ECHO_T}$curl_cv_in_addr_t_equiv" >&6
 
34716
      { echo "$as_me:$LINENO: result: $curl_cv_in_addr_t_equiv" >&5
 
34717
echo "${ECHO_T}$curl_cv_in_addr_t_equiv" >&6; }
32396
34718
 
32397
34719
cat >>confdefs.h <<_ACEOF
32398
34720
#define in_addr_t $curl_cv_in_addr_t_equiv
32402
34724
 
32403
34725
 
32404
34726
 
32405
 
 
32406
 
   echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
32407
 
echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
 
34727
   { echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
 
34728
echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6; }
32408
34729
if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
32409
34730
  echo $ECHO_N "(cached) $ECHO_C" >&6
32410
34731
else
32415
34736
cat >>conftest.$ac_ext <<_ACEOF
32416
34737
/* end confdefs.h.  */
32417
34738
 
 
34739
#undef inline
 
34740
#ifdef HAVE_WINDOWS_H
 
34741
#ifndef WIN32_LEAN_AND_MEAN
 
34742
#define WIN32_LEAN_AND_MEAN
 
34743
#endif
 
34744
#include <windows.h>
 
34745
#ifdef HAVE_WINSOCK2_H
 
34746
#include <winsock2.h>
 
34747
#endif
 
34748
#else
32418
34749
#ifdef HAVE_SYS_TYPES_H
32419
34750
#include <sys/types.h>
32420
34751
#endif
32427
34758
#ifdef HAVE_ARPA_INET_H
32428
34759
#include <arpa/inet.h>
32429
34760
#endif
32430
 
#ifdef HAVE_WINSOCK2_H
32431
 
#include <winsock2.h>
32432
34761
#endif
32433
34762
 
32434
34763
 
 
34764
typedef struct sockaddr_storage ac__type_new_;
32435
34765
int
32436
34766
main ()
32437
34767
{
32438
 
if ((struct sockaddr_storage *) 0)
 
34768
if ((ac__type_new_ *) 0)
32439
34769
  return 0;
32440
 
if (sizeof (struct sockaddr_storage))
 
34770
if (sizeof (ac__type_new_))
32441
34771
  return 0;
32442
34772
  ;
32443
34773
  return 0;
32444
34774
}
32445
34775
_ACEOF
32446
34776
rm -f conftest.$ac_objext
32447
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32448
 
  (eval $ac_compile) 2>conftest.er1
 
34777
if { (ac_try="$ac_compile"
 
34778
case "(($ac_try" in
 
34779
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34780
  *) ac_try_echo=$ac_try;;
 
34781
esac
 
34782
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34783
  (eval "$ac_compile") 2>conftest.er1
32449
34784
  ac_status=$?
32450
34785
  grep -v '^ *+' conftest.er1 >conftest.err
32451
34786
  rm -f conftest.er1
32452
34787
  cat conftest.err >&5
32453
34788
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32454
34789
  (exit $ac_status); } &&
32455
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
32456
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32457
 
  (eval $ac_try) 2>&5
 
34790
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
34791
  { (case "(($ac_try" in
 
34792
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34793
  *) ac_try_echo=$ac_try;;
 
34794
esac
 
34795
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34796
  (eval "$ac_try") 2>&5
32458
34797
  ac_status=$?
32459
34798
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32460
34799
  (exit $ac_status); }; } &&
32461
34800
         { ac_try='test -s conftest.$ac_objext'
32462
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32463
 
  (eval $ac_try) 2>&5
 
34801
  { (case "(($ac_try" in
 
34802
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34803
  *) ac_try_echo=$ac_try;;
 
34804
esac
 
34805
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34806
  (eval "$ac_try") 2>&5
32464
34807
  ac_status=$?
32465
34808
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32466
34809
  (exit $ac_status); }; }; then
32469
34812
  echo "$as_me: failed program was:" >&5
32470
34813
sed 's/^/| /' conftest.$ac_ext >&5
32471
34814
 
32472
 
ac_cv_type_struct_sockaddr_storage=no
 
34815
        ac_cv_type_struct_sockaddr_storage=no
32473
34816
fi
 
34817
 
32474
34818
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32475
34819
fi
32476
 
echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5
32477
 
echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6
 
34820
{ echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5
 
34821
echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6; }
32478
34822
if test $ac_cv_type_struct_sockaddr_storage = yes; then
32479
34823
 
32480
34824
cat >>confdefs.h <<\_ACEOF
32487
34831
 
32488
34832
 
32489
34833
 
32490
 
 
32491
34834
for ac_header in sys/select.h sys/socket.h
32492
34835
do
32493
34836
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32494
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
32495
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
32496
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32497
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
34837
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
34838
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
34839
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
34840
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32498
34841
  echo $ECHO_N "(cached) $ECHO_C" >&6
32499
34842
fi
32500
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32501
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
34843
ac_res=`eval echo '${'$as_ac_Header'}'`
 
34844
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
34845
echo "${ECHO_T}$ac_res" >&6; }
32502
34846
else
32503
34847
  # Is the header compilable?
32504
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
32505
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
34848
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
34849
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
32506
34850
cat >conftest.$ac_ext <<_ACEOF
32507
34851
/* confdefs.h.  */
32508
34852
_ACEOF
32513
34857
#include <$ac_header>
32514
34858
_ACEOF
32515
34859
rm -f conftest.$ac_objext
32516
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32517
 
  (eval $ac_compile) 2>conftest.er1
 
34860
if { (ac_try="$ac_compile"
 
34861
case "(($ac_try" in
 
34862
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34863
  *) ac_try_echo=$ac_try;;
 
34864
esac
 
34865
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34866
  (eval "$ac_compile") 2>conftest.er1
32518
34867
  ac_status=$?
32519
34868
  grep -v '^ *+' conftest.er1 >conftest.err
32520
34869
  rm -f conftest.er1
32521
34870
  cat conftest.err >&5
32522
34871
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32523
34872
  (exit $ac_status); } &&
32524
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
32525
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32526
 
  (eval $ac_try) 2>&5
 
34873
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
34874
  { (case "(($ac_try" in
 
34875
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34876
  *) ac_try_echo=$ac_try;;
 
34877
esac
 
34878
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34879
  (eval "$ac_try") 2>&5
32527
34880
  ac_status=$?
32528
34881
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32529
34882
  (exit $ac_status); }; } &&
32530
34883
         { ac_try='test -s conftest.$ac_objext'
32531
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32532
 
  (eval $ac_try) 2>&5
 
34884
  { (case "(($ac_try" in
 
34885
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34886
  *) ac_try_echo=$ac_try;;
 
34887
esac
 
34888
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34889
  (eval "$ac_try") 2>&5
32533
34890
  ac_status=$?
32534
34891
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32535
34892
  (exit $ac_status); }; }; then
32538
34895
  echo "$as_me: failed program was:" >&5
32539
34896
sed 's/^/| /' conftest.$ac_ext >&5
32540
34897
 
32541
 
ac_header_compiler=no
 
34898
        ac_header_compiler=no
32542
34899
fi
 
34900
 
32543
34901
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32544
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32545
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
34902
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
34903
echo "${ECHO_T}$ac_header_compiler" >&6; }
32546
34904
 
32547
34905
# Is the header present?
32548
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
32549
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
34906
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
34907
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
32550
34908
cat >conftest.$ac_ext <<_ACEOF
32551
34909
/* confdefs.h.  */
32552
34910
_ACEOF
32555
34913
/* end confdefs.h.  */
32556
34914
#include <$ac_header>
32557
34915
_ACEOF
32558
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32559
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
34916
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
34917
case "(($ac_try" in
 
34918
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
34919
  *) ac_try_echo=$ac_try;;
 
34920
esac
 
34921
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
34922
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32560
34923
  ac_status=$?
32561
34924
  grep -v '^ *+' conftest.er1 >conftest.err
32562
34925
  rm -f conftest.er1
32580
34943
 
32581
34944
  ac_header_preproc=no
32582
34945
fi
 
34946
 
32583
34947
rm -f conftest.err conftest.$ac_ext
32584
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32585
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
34948
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
34949
echo "${ECHO_T}$ac_header_preproc" >&6; }
32586
34950
 
32587
34951
# So?  What about this header?
32588
34952
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32606
34970
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32607
34971
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32608
34972
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32609
 
    (
32610
 
      cat <<\_ASBOX
 
34973
    ( cat <<\_ASBOX
32611
34974
## ------------------------------------------------------------------------ ##
32612
34975
## Report this to a suitable curl mailing list => http://curl.haxx.se/mail/ ##
32613
34976
## ------------------------------------------------------------------------ ##
32614
34977
_ASBOX
32615
 
    ) |
32616
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
34978
     ) | sed "s/^/$as_me: WARNING:     /" >&2
32617
34979
    ;;
32618
34980
esac
32619
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
32620
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32621
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
34981
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
34982
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
34983
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32622
34984
  echo $ECHO_N "(cached) $ECHO_C" >&6
32623
34985
else
32624
34986
  eval "$as_ac_Header=\$ac_header_preproc"
32625
34987
fi
32626
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32627
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
34988
ac_res=`eval echo '${'$as_ac_Header'}'`
 
34989
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
34990
echo "${ECHO_T}$ac_res" >&6; }
32628
34991
 
32629
34992
fi
32630
34993
if test `eval echo '${'$as_ac_Header'}'` = yes; then
32636
34999
 
32637
35000
done
32638
35001
 
32639
 
echo "$as_me:$LINENO: checking types of arguments for select" >&5
32640
 
echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6
 
35002
{ echo "$as_me:$LINENO: checking types of arguments for select" >&5
 
35003
echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6; }
32641
35004
if test "${ac_cv_func_select_args+set}" = set; then
32642
35005
  echo $ECHO_N "(cached) $ECHO_C" >&6
32643
35006
else
32644
35007
  for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
32645
 
 for ac_arg1 in 'int' 'size_t' 'unsigned long' 'unsigned'; do
 
35008
 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
32646
35009
  for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
32647
35010
   cat >conftest.$ac_ext <<_ACEOF
32648
35011
/* confdefs.h.  */
32669
35032
}
32670
35033
_ACEOF
32671
35034
rm -f conftest.$ac_objext
32672
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32673
 
  (eval $ac_compile) 2>conftest.er1
 
35035
if { (ac_try="$ac_compile"
 
35036
case "(($ac_try" in
 
35037
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35038
  *) ac_try_echo=$ac_try;;
 
35039
esac
 
35040
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35041
  (eval "$ac_compile") 2>conftest.er1
32674
35042
  ac_status=$?
32675
35043
  grep -v '^ *+' conftest.er1 >conftest.err
32676
35044
  rm -f conftest.er1
32677
35045
  cat conftest.err >&5
32678
35046
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32679
35047
  (exit $ac_status); } &&
32680
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
32681
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32682
 
  (eval $ac_try) 2>&5
 
35048
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
35049
  { (case "(($ac_try" in
 
35050
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35051
  *) ac_try_echo=$ac_try;;
 
35052
esac
 
35053
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35054
  (eval "$ac_try") 2>&5
32683
35055
  ac_status=$?
32684
35056
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32685
35057
  (exit $ac_status); }; } &&
32686
35058
         { ac_try='test -s conftest.$ac_objext'
32687
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32688
 
  (eval $ac_try) 2>&5
 
35059
  { (case "(($ac_try" in
 
35060
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35061
  *) ac_try_echo=$ac_try;;
 
35062
esac
 
35063
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35064
  (eval "$ac_try") 2>&5
32689
35065
  ac_status=$?
32690
35066
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32691
35067
  (exit $ac_status); }; }; then
32694
35070
  echo "$as_me: failed program was:" >&5
32695
35071
sed 's/^/| /' conftest.$ac_ext >&5
32696
35072
 
 
35073
 
32697
35074
fi
 
35075
 
32698
35076
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32699
35077
  done
32700
35078
 done
32703
35081
: ${ac_cv_func_select_args='int,int *,struct timeval *'}
32704
35082
 
32705
35083
fi
32706
 
echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
32707
 
echo "${ECHO_T}$ac_cv_func_select_args" >&6
 
35084
{ echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
 
35085
echo "${ECHO_T}$ac_cv_func_select_args" >&6; }
32708
35086
ac_save_IFS=$IFS; IFS=','
32709
35087
set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
32710
35088
IFS=$ac_save_IFS
32727
35105
rm -f conftest*
32728
35106
 
32729
35107
 
32730
 
echo "$as_me:$LINENO: checking return type of signal handlers" >&5
32731
 
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
 
35108
{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
 
35109
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
32732
35110
if test "${ac_cv_type_signal+set}" = set; then
32733
35111
  echo $ECHO_N "(cached) $ECHO_C" >&6
32734
35112
else
32740
35118
/* end confdefs.h.  */
32741
35119
#include <sys/types.h>
32742
35120
#include <signal.h>
32743
 
#ifdef signal
32744
 
# undef signal
32745
 
#endif
32746
 
#ifdef __cplusplus
32747
 
extern "C" void (*signal (int, void (*)(int)))(int);
32748
 
#else
32749
 
void (*signal ()) ();
32750
 
#endif
32751
35121
 
32752
35122
int
32753
35123
main ()
32754
35124
{
32755
 
int i;
 
35125
return *(signal (0, 0)) (0) == 1;
32756
35126
  ;
32757
35127
  return 0;
32758
35128
}
32759
35129
_ACEOF
32760
35130
rm -f conftest.$ac_objext
32761
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32762
 
  (eval $ac_compile) 2>conftest.er1
 
35131
if { (ac_try="$ac_compile"
 
35132
case "(($ac_try" in
 
35133
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35134
  *) ac_try_echo=$ac_try;;
 
35135
esac
 
35136
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35137
  (eval "$ac_compile") 2>conftest.er1
32763
35138
  ac_status=$?
32764
35139
  grep -v '^ *+' conftest.er1 >conftest.err
32765
35140
  rm -f conftest.er1
32766
35141
  cat conftest.err >&5
32767
35142
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32768
35143
  (exit $ac_status); } &&
32769
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
32770
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32771
 
  (eval $ac_try) 2>&5
 
35144
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
35145
  { (case "(($ac_try" in
 
35146
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35147
  *) ac_try_echo=$ac_try;;
 
35148
esac
 
35149
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35150
  (eval "$ac_try") 2>&5
32772
35151
  ac_status=$?
32773
35152
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32774
35153
  (exit $ac_status); }; } &&
32775
35154
         { ac_try='test -s conftest.$ac_objext'
32776
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32777
 
  (eval $ac_try) 2>&5
 
35155
  { (case "(($ac_try" in
 
35156
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35157
  *) ac_try_echo=$ac_try;;
 
35158
esac
 
35159
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35160
  (eval "$ac_try") 2>&5
32778
35161
  ac_status=$?
32779
35162
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32780
35163
  (exit $ac_status); }; }; then
32781
 
  ac_cv_type_signal=void
 
35164
  ac_cv_type_signal=int
32782
35165
else
32783
35166
  echo "$as_me: failed program was:" >&5
32784
35167
sed 's/^/| /' conftest.$ac_ext >&5
32785
35168
 
32786
 
ac_cv_type_signal=int
 
35169
        ac_cv_type_signal=void
32787
35170
fi
 
35171
 
32788
35172
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32789
35173
fi
32790
 
echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
32791
 
echo "${ECHO_T}$ac_cv_type_signal" >&6
 
35174
{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
 
35175
echo "${ECHO_T}$ac_cv_type_signal" >&6; }
32792
35176
 
32793
35177
cat >>confdefs.h <<_ACEOF
32794
35178
#define RETSIGTYPE $ac_cv_type_signal
32837
35221
 
32838
35222
 
32839
35223
 
 
35224
 
 
35225
 
32840
35226
for ac_func in strtoll \
32841
35227
                socket \
32842
35228
                select \
32869
35255
                ftruncate \
32870
35256
                pipe \
32871
35257
                poll \
 
35258
                getprotobyname \
32872
35259
                getrlimit \
32873
 
                setrlimit
 
35260
                setrlimit \
 
35261
                fork
32874
35262
do
32875
35263
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32876
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
32877
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32878
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
35264
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
35265
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
35266
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32879
35267
  echo $ECHO_N "(cached) $ECHO_C" >&6
32880
35268
else
32881
35269
  cat >conftest.$ac_ext <<_ACEOF
32901
35289
 
32902
35290
#undef $ac_func
32903
35291
 
32904
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
35292
/* Override any GCC internal prototype to avoid an error.
 
35293
   Use char because int might match the return type of a GCC
 
35294
   builtin and then its argument prototype would still apply.  */
32905
35295
#ifdef __cplusplus
32906
35296
extern "C"
32907
 
{
32908
35297
#endif
32909
 
/* We use char because int might match the return type of a gcc2
32910
 
   builtin and then its argument prototype would still apply.  */
32911
35298
char $ac_func ();
32912
35299
/* The GNU C library defines this for functions which it implements
32913
35300
    to always fail with ENOSYS.  Some functions are actually named
32914
35301
    something starting with __ and the normal name is an alias.  */
32915
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
35302
#if defined __stub_$ac_func || defined __stub___$ac_func
32916
35303
choke me
32917
 
#else
32918
 
char (*f) () = $ac_func;
32919
 
#endif
32920
 
#ifdef __cplusplus
32921
 
}
32922
35304
#endif
32923
35305
 
32924
35306
int
32925
35307
main ()
32926
35308
{
32927
 
return f != $ac_func;
 
35309
return $ac_func ();
32928
35310
  ;
32929
35311
  return 0;
32930
35312
}
32931
35313
_ACEOF
32932
35314
rm -f conftest.$ac_objext conftest$ac_exeext
32933
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32934
 
  (eval $ac_link) 2>conftest.er1
 
35315
if { (ac_try="$ac_link"
 
35316
case "(($ac_try" in
 
35317
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35318
  *) ac_try_echo=$ac_try;;
 
35319
esac
 
35320
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35321
  (eval "$ac_link") 2>conftest.er1
32935
35322
  ac_status=$?
32936
35323
  grep -v '^ *+' conftest.er1 >conftest.err
32937
35324
  rm -f conftest.er1
32938
35325
  cat conftest.err >&5
32939
35326
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32940
35327
  (exit $ac_status); } &&
32941
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
32942
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32943
 
  (eval $ac_try) 2>&5
 
35328
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
35329
  { (case "(($ac_try" in
 
35330
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35331
  *) ac_try_echo=$ac_try;;
 
35332
esac
 
35333
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35334
  (eval "$ac_try") 2>&5
32944
35335
  ac_status=$?
32945
35336
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32946
35337
  (exit $ac_status); }; } &&
32947
35338
         { ac_try='test -s conftest$ac_exeext'
32948
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32949
 
  (eval $ac_try) 2>&5
 
35339
  { (case "(($ac_try" in
 
35340
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35341
  *) ac_try_echo=$ac_try;;
 
35342
esac
 
35343
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35344
  (eval "$ac_try") 2>&5
32950
35345
  ac_status=$?
32951
35346
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32952
35347
  (exit $ac_status); }; }; then
32955
35350
  echo "$as_me: failed program was:" >&5
32956
35351
sed 's/^/| /' conftest.$ac_ext >&5
32957
35352
 
32958
 
eval "$as_ac_var=no"
 
35353
        eval "$as_ac_var=no"
32959
35354
fi
 
35355
 
32960
35356
rm -f conftest.err conftest.$ac_objext \
32961
35357
      conftest$ac_exeext conftest.$ac_ext
32962
35358
fi
32963
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32964
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
35359
ac_res=`eval echo '${'$as_ac_var'}'`
 
35360
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
35361
echo "${ECHO_T}$ac_res" >&6; }
32965
35362
if test `eval echo '${'$as_ac_var'}'` = yes; then
32966
35363
  cat >>confdefs.h <<_ACEOF
32967
35364
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32971
35368
  func="$ac_func"
32972
35369
eval skipcheck=\$skipcheck_$func
32973
35370
if test "x$skipcheck" != "xyes"; then
32974
 
  echo "$as_me:$LINENO: checking deeper for $func" >&5
32975
 
echo $ECHO_N "checking deeper for $func... $ECHO_C" >&6
 
35371
  { echo "$as_me:$LINENO: checking deeper for $func" >&5
 
35372
echo $ECHO_N "checking deeper for $func... $ECHO_C" >&6; }
32976
35373
  cat >conftest.$ac_ext <<_ACEOF
32977
35374
/* confdefs.h.  */
32978
35375
_ACEOF
32989
35386
}
32990
35387
_ACEOF
32991
35388
rm -f conftest.$ac_objext conftest$ac_exeext
32992
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32993
 
  (eval $ac_link) 2>conftest.er1
 
35389
if { (ac_try="$ac_link"
 
35390
case "(($ac_try" in
 
35391
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35392
  *) ac_try_echo=$ac_try;;
 
35393
esac
 
35394
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35395
  (eval "$ac_link") 2>conftest.er1
32994
35396
  ac_status=$?
32995
35397
  grep -v '^ *+' conftest.er1 >conftest.err
32996
35398
  rm -f conftest.er1
32997
35399
  cat conftest.err >&5
32998
35400
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32999
35401
  (exit $ac_status); } &&
33000
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
33001
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33002
 
  (eval $ac_try) 2>&5
 
35402
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
35403
  { (case "(($ac_try" in
 
35404
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35405
  *) ac_try_echo=$ac_try;;
 
35406
esac
 
35407
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35408
  (eval "$ac_try") 2>&5
33003
35409
  ac_status=$?
33004
35410
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33005
35411
  (exit $ac_status); }; } &&
33006
35412
         { ac_try='test -s conftest$ac_exeext'
33007
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33008
 
  (eval $ac_try) 2>&5
 
35413
  { (case "(($ac_try" in
 
35414
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35415
  *) ac_try_echo=$ac_try;;
 
35416
esac
 
35417
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35418
  (eval "$ac_try") 2>&5
33009
35419
  ac_status=$?
33010
35420
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33011
35421
  (exit $ac_status); }; }; then
33012
 
  echo "$as_me:$LINENO: result: yes!" >&5
33013
 
echo "${ECHO_T}yes!" >&6
 
35422
  { echo "$as_me:$LINENO: result: yes!" >&5
 
35423
echo "${ECHO_T}yes!" >&6; }
33014
35424
               eval "ac_cv_func_$func=yes"
33015
35425
               def=`echo "HAVE_$func" | tr 'a-z' 'A-Z'`
33016
35426
 
33022
35432
  echo "$as_me: failed program was:" >&5
33023
35433
sed 's/^/| /' conftest.$ac_ext >&5
33024
35434
 
33025
 
echo "$as_me:$LINENO: result: but still no" >&5
33026
 
echo "${ECHO_T}but still no" >&6
 
35435
        { echo "$as_me:$LINENO: result: but still no" >&5
 
35436
echo "${ECHO_T}but still no" >&6; }
33027
35437
 
33028
35438
fi
 
35439
 
33029
35440
rm -f conftest.err conftest.$ac_objext \
33030
35441
      conftest$ac_exeext conftest.$ac_ext
33031
35442
fi
33034
35445
done
33035
35446
 
33036
35447
 
33037
 
if test "$ac_cv_func_select" != "yes"; then
33038
 
  echo "$as_me:$LINENO: checking for select in ws2_32" >&5
33039
 
echo $ECHO_N "checking for select in ws2_32... $ECHO_C" >&6
 
35448
if test "$ac_cv_func_select" = "no"; then
 
35449
  { echo "$as_me:$LINENO: checking for select in ws2_32" >&5
 
35450
echo $ECHO_N "checking for select in ws2_32... $ECHO_C" >&6; }
33040
35451
  cat >conftest.$ac_ext <<_ACEOF
33041
35452
/* confdefs.h.  */
33042
35453
_ACEOF
33043
35454
cat confdefs.h >>conftest.$ac_ext
33044
35455
cat >>conftest.$ac_ext <<_ACEOF
33045
35456
/* end confdefs.h.  */
 
35457
 
 
35458
#undef inline
 
35459
#ifdef HAVE_WINDOWS_H
 
35460
#ifndef WIN32_LEAN_AND_MEAN
 
35461
#define WIN32_LEAN_AND_MEAN
 
35462
#endif
 
35463
#include <windows.h>
 
35464
#ifdef HAVE_WINSOCK2_H
33046
35465
#include <winsock2.h>
 
35466
#else
 
35467
#ifdef HAVE_WINSOCK_H
 
35468
#include <winsock.h>
 
35469
#endif
 
35470
#endif
 
35471
#endif
 
35472
 
33047
35473
int
33048
35474
main ()
33049
35475
{
33050
 
select(0,(fd_set *)NULL,(fd_set *)NULL,(fd_set *)NULL,(struct timeval *)NULL);
 
35476
 
 
35477
      select(0,(fd_set *)NULL,(fd_set *)NULL,(fd_set *)NULL,(struct timeval *)NULL);
 
35478
 
33051
35479
  ;
33052
35480
  return 0;
33053
35481
}
33054
35482
_ACEOF
33055
35483
rm -f conftest.$ac_objext conftest$ac_exeext
33056
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33057
 
  (eval $ac_link) 2>conftest.er1
 
35484
if { (ac_try="$ac_link"
 
35485
case "(($ac_try" in
 
35486
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35487
  *) ac_try_echo=$ac_try;;
 
35488
esac
 
35489
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35490
  (eval "$ac_link") 2>conftest.er1
33058
35491
  ac_status=$?
33059
35492
  grep -v '^ *+' conftest.er1 >conftest.err
33060
35493
  rm -f conftest.er1
33061
35494
  cat conftest.err >&5
33062
35495
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33063
35496
  (exit $ac_status); } &&
33064
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
33065
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33066
 
  (eval $ac_try) 2>&5
 
35497
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
35498
  { (case "(($ac_try" in
 
35499
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35500
  *) ac_try_echo=$ac_try;;
 
35501
esac
 
35502
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35503
  (eval "$ac_try") 2>&5
33067
35504
  ac_status=$?
33068
35505
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33069
35506
  (exit $ac_status); }; } &&
33070
35507
         { ac_try='test -s conftest$ac_exeext'
33071
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33072
 
  (eval $ac_try) 2>&5
 
35508
  { (case "(($ac_try" in
 
35509
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35510
  *) ac_try_echo=$ac_try;;
 
35511
esac
 
35512
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35513
  (eval "$ac_try") 2>&5
33073
35514
  ac_status=$?
33074
35515
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33075
35516
  (exit $ac_status); }; }; then
33076
 
                  echo "$as_me:$LINENO: result: yes" >&5
33077
 
echo "${ECHO_T}yes" >&6
33078
 
               HAVE_SELECT="1"
33079
 
               cat >>confdefs.h <<_ACEOF
 
35517
 
 
35518
      { echo "$as_me:$LINENO: result: yes" >&5
 
35519
echo "${ECHO_T}yes" >&6; }
 
35520
      HAVE_SELECT="1"
 
35521
 
 
35522
cat >>confdefs.h <<_ACEOF
33080
35523
#define HAVE_SELECT 1
33081
35524
_ACEOF
33082
35525
 
 
35526
 
33083
35527
else
33084
35528
  echo "$as_me: failed program was:" >&5
33085
35529
sed 's/^/| /' conftest.$ac_ext >&5
33086
35530
 
33087
 
{ { echo "$as_me:$LINENO: error: You can't compile without a select" >&5
 
35531
 
 
35532
      { { echo "$as_me:$LINENO: error: You can't compile without a select" >&5
33088
35533
echo "$as_me: error: You can't compile without a select" >&2;}
33089
35534
   { (exit 1); exit 1; }; }
33090
35535
 
33091
35536
fi
 
35537
 
33092
35538
rm -f conftest.err conftest.$ac_objext \
33093
35539
      conftest$ac_exeext conftest.$ac_ext
33094
35540
fi
33095
35541
 
33096
35542
if test "$ac_cv_func_sigsetjmp" != "yes"; then
33097
 
  echo "$as_me:$LINENO: checking for sigsetjmp defined as macro" >&5
33098
 
echo $ECHO_N "checking for sigsetjmp defined as macro... $ECHO_C" >&6
 
35543
  { echo "$as_me:$LINENO: checking for sigsetjmp defined as macro" >&5
 
35544
echo $ECHO_N "checking for sigsetjmp defined as macro... $ECHO_C" >&6; }
33099
35545
  cat >conftest.$ac_ext <<_ACEOF
33100
35546
/* confdefs.h.  */
33101
35547
_ACEOF
33113
35559
}
33114
35560
_ACEOF
33115
35561
rm -f conftest.$ac_objext conftest$ac_exeext
33116
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33117
 
  (eval $ac_link) 2>conftest.er1
 
35562
if { (ac_try="$ac_link"
 
35563
case "(($ac_try" in
 
35564
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35565
  *) ac_try_echo=$ac_try;;
 
35566
esac
 
35567
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35568
  (eval "$ac_link") 2>conftest.er1
33118
35569
  ac_status=$?
33119
35570
  grep -v '^ *+' conftest.er1 >conftest.err
33120
35571
  rm -f conftest.er1
33121
35572
  cat conftest.err >&5
33122
35573
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33123
35574
  (exit $ac_status); } &&
33124
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
33125
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33126
 
  (eval $ac_try) 2>&5
 
35575
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
35576
  { (case "(($ac_try" in
 
35577
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35578
  *) ac_try_echo=$ac_try;;
 
35579
esac
 
35580
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35581
  (eval "$ac_try") 2>&5
33127
35582
  ac_status=$?
33128
35583
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33129
35584
  (exit $ac_status); }; } &&
33130
35585
         { ac_try='test -s conftest$ac_exeext'
33131
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33132
 
  (eval $ac_try) 2>&5
 
35586
  { (case "(($ac_try" in
 
35587
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35588
  *) ac_try_echo=$ac_try;;
 
35589
esac
 
35590
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35591
  (eval "$ac_try") 2>&5
33133
35592
  ac_status=$?
33134
35593
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33135
35594
  (exit $ac_status); }; }; then
33136
 
  echo "$as_me:$LINENO: result: yes" >&5
33137
 
echo "${ECHO_T}yes" >&6
 
35595
  { echo "$as_me:$LINENO: result: yes" >&5
 
35596
echo "${ECHO_T}yes" >&6; }
33138
35597
 
33139
35598
cat >>confdefs.h <<\_ACEOF
33140
35599
#define HAVE_SIGSETJMP 1
33144
35603
  echo "$as_me: failed program was:" >&5
33145
35604
sed 's/^/| /' conftest.$ac_ext >&5
33146
35605
 
33147
 
echo "$as_me:$LINENO: result: no" >&5
33148
 
echo "${ECHO_T}no" >&6
 
35606
        { echo "$as_me:$LINENO: result: no" >&5
 
35607
echo "${ECHO_T}no" >&6; }
33149
35608
 
33150
35609
fi
 
35610
 
33151
35611
rm -f conftest.err conftest.$ac_objext \
33152
35612
      conftest$ac_exeext conftest.$ac_ext
33153
35613
fi
33154
35614
 
33155
 
echo "$as_me:$LINENO: checking whether basename is declared" >&5
33156
 
echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
 
35615
{ echo "$as_me:$LINENO: checking whether basename is declared" >&5
 
35616
echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6; }
33157
35617
if test "${ac_cv_have_decl_basename+set}" = set; then
33158
35618
  echo $ECHO_N "(cached) $ECHO_C" >&6
33159
35619
else
33179
35639
{
33180
35640
#ifndef basename
33181
35641
  char *p = (char *) basename;
 
35642
  return !p;
33182
35643
#endif
33183
35644
 
33184
35645
  ;
33186
35647
}
33187
35648
_ACEOF
33188
35649
rm -f conftest.$ac_objext
33189
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33190
 
  (eval $ac_compile) 2>conftest.er1
 
35650
if { (ac_try="$ac_compile"
 
35651
case "(($ac_try" in
 
35652
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35653
  *) ac_try_echo=$ac_try;;
 
35654
esac
 
35655
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35656
  (eval "$ac_compile") 2>conftest.er1
33191
35657
  ac_status=$?
33192
35658
  grep -v '^ *+' conftest.er1 >conftest.err
33193
35659
  rm -f conftest.er1
33194
35660
  cat conftest.err >&5
33195
35661
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33196
35662
  (exit $ac_status); } &&
33197
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
33198
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33199
 
  (eval $ac_try) 2>&5
 
35663
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
35664
  { (case "(($ac_try" in
 
35665
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35666
  *) ac_try_echo=$ac_try;;
 
35667
esac
 
35668
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35669
  (eval "$ac_try") 2>&5
33200
35670
  ac_status=$?
33201
35671
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33202
35672
  (exit $ac_status); }; } &&
33203
35673
         { ac_try='test -s conftest.$ac_objext'
33204
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33205
 
  (eval $ac_try) 2>&5
 
35674
  { (case "(($ac_try" in
 
35675
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35676
  *) ac_try_echo=$ac_try;;
 
35677
esac
 
35678
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35679
  (eval "$ac_try") 2>&5
33206
35680
  ac_status=$?
33207
35681
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33208
35682
  (exit $ac_status); }; }; then
33211
35685
  echo "$as_me: failed program was:" >&5
33212
35686
sed 's/^/| /' conftest.$ac_ext >&5
33213
35687
 
33214
 
ac_cv_have_decl_basename=no
 
35688
        ac_cv_have_decl_basename=no
33215
35689
fi
 
35690
 
33216
35691
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33217
35692
fi
33218
 
echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
33219
 
echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
 
35693
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
 
35694
echo "${ECHO_T}$ac_cv_have_decl_basename" >&6; }
33220
35695
if test $ac_cv_have_decl_basename = yes; then
33221
35696
  :
33222
35697
else
33228
35703
fi
33229
35704
 
33230
35705
 
33231
 
echo "$as_me:$LINENO: checking whether inet_pton is declared" >&5
33232
 
echo $ECHO_N "checking whether inet_pton is declared... $ECHO_C" >&6
 
35706
{ echo "$as_me:$LINENO: checking whether inet_pton is declared" >&5
 
35707
echo $ECHO_N "checking whether inet_pton is declared... $ECHO_C" >&6; }
33233
35708
if test "${ac_cv_have_decl_inet_pton+set}" = set; then
33234
35709
  echo $ECHO_N "(cached) $ECHO_C" >&6
33235
35710
else
33251
35726
{
33252
35727
#ifndef inet_pton
33253
35728
  char *p = (char *) inet_pton;
 
35729
  return !p;
33254
35730
#endif
33255
35731
 
33256
35732
  ;
33258
35734
}
33259
35735
_ACEOF
33260
35736
rm -f conftest.$ac_objext
33261
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33262
 
  (eval $ac_compile) 2>conftest.er1
 
35737
if { (ac_try="$ac_compile"
 
35738
case "(($ac_try" in
 
35739
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35740
  *) ac_try_echo=$ac_try;;
 
35741
esac
 
35742
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35743
  (eval "$ac_compile") 2>conftest.er1
33263
35744
  ac_status=$?
33264
35745
  grep -v '^ *+' conftest.er1 >conftest.err
33265
35746
  rm -f conftest.er1
33266
35747
  cat conftest.err >&5
33267
35748
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33268
35749
  (exit $ac_status); } &&
33269
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
33270
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33271
 
  (eval $ac_try) 2>&5
 
35750
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
35751
  { (case "(($ac_try" in
 
35752
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35753
  *) ac_try_echo=$ac_try;;
 
35754
esac
 
35755
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35756
  (eval "$ac_try") 2>&5
33272
35757
  ac_status=$?
33273
35758
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33274
35759
  (exit $ac_status); }; } &&
33275
35760
         { ac_try='test -s conftest.$ac_objext'
33276
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33277
 
  (eval $ac_try) 2>&5
 
35761
  { (case "(($ac_try" in
 
35762
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35763
  *) ac_try_echo=$ac_try;;
 
35764
esac
 
35765
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35766
  (eval "$ac_try") 2>&5
33278
35767
  ac_status=$?
33279
35768
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33280
35769
  (exit $ac_status); }; }; then
33283
35772
  echo "$as_me: failed program was:" >&5
33284
35773
sed 's/^/| /' conftest.$ac_ext >&5
33285
35774
 
33286
 
ac_cv_have_decl_inet_pton=no
 
35775
        ac_cv_have_decl_inet_pton=no
33287
35776
fi
 
35777
 
33288
35778
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33289
35779
fi
33290
 
echo "$as_me:$LINENO: result: $ac_cv_have_decl_inet_pton" >&5
33291
 
echo "${ECHO_T}$ac_cv_have_decl_inet_pton" >&6
 
35780
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_inet_pton" >&5
 
35781
echo "${ECHO_T}$ac_cv_have_decl_inet_pton" >&6; }
33292
35782
if test $ac_cv_have_decl_inet_pton = yes; then
33293
35783
  :
33294
35784
else
33300
35790
fi
33301
35791
 
33302
35792
 
33303
 
echo "$as_me:$LINENO: checking if we are Mac OS X (to disable poll)" >&5
33304
 
echo $ECHO_N "checking if we are Mac OS X (to disable poll)... $ECHO_C" >&6
 
35793
 
 
35794
 
 
35795
 
 
35796
 
 
35797
for ac_header in sys/types.h sys/socket.h netdb.h
 
35798
do
 
35799
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
35800
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
35801
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
35802
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
35803
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
35804
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
35805
fi
 
35806
ac_res=`eval echo '${'$as_ac_Header'}'`
 
35807
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
35808
echo "${ECHO_T}$ac_res" >&6; }
 
35809
else
 
35810
  # Is the header compilable?
 
35811
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
35812
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
35813
cat >conftest.$ac_ext <<_ACEOF
 
35814
/* confdefs.h.  */
 
35815
_ACEOF
 
35816
cat confdefs.h >>conftest.$ac_ext
 
35817
cat >>conftest.$ac_ext <<_ACEOF
 
35818
/* end confdefs.h.  */
 
35819
$ac_includes_default
 
35820
#include <$ac_header>
 
35821
_ACEOF
 
35822
rm -f conftest.$ac_objext
 
35823
if { (ac_try="$ac_compile"
 
35824
case "(($ac_try" in
 
35825
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35826
  *) ac_try_echo=$ac_try;;
 
35827
esac
 
35828
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35829
  (eval "$ac_compile") 2>conftest.er1
 
35830
  ac_status=$?
 
35831
  grep -v '^ *+' conftest.er1 >conftest.err
 
35832
  rm -f conftest.er1
 
35833
  cat conftest.err >&5
 
35834
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35835
  (exit $ac_status); } &&
 
35836
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
35837
  { (case "(($ac_try" in
 
35838
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35839
  *) ac_try_echo=$ac_try;;
 
35840
esac
 
35841
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35842
  (eval "$ac_try") 2>&5
 
35843
  ac_status=$?
 
35844
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35845
  (exit $ac_status); }; } &&
 
35846
         { ac_try='test -s conftest.$ac_objext'
 
35847
  { (case "(($ac_try" in
 
35848
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35849
  *) ac_try_echo=$ac_try;;
 
35850
esac
 
35851
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35852
  (eval "$ac_try") 2>&5
 
35853
  ac_status=$?
 
35854
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35855
  (exit $ac_status); }; }; then
 
35856
  ac_header_compiler=yes
 
35857
else
 
35858
  echo "$as_me: failed program was:" >&5
 
35859
sed 's/^/| /' conftest.$ac_ext >&5
 
35860
 
 
35861
        ac_header_compiler=no
 
35862
fi
 
35863
 
 
35864
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
35865
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
35866
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
35867
 
 
35868
# Is the header present?
 
35869
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
35870
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
35871
cat >conftest.$ac_ext <<_ACEOF
 
35872
/* confdefs.h.  */
 
35873
_ACEOF
 
35874
cat confdefs.h >>conftest.$ac_ext
 
35875
cat >>conftest.$ac_ext <<_ACEOF
 
35876
/* end confdefs.h.  */
 
35877
#include <$ac_header>
 
35878
_ACEOF
 
35879
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
35880
case "(($ac_try" in
 
35881
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35882
  *) ac_try_echo=$ac_try;;
 
35883
esac
 
35884
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35885
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
35886
  ac_status=$?
 
35887
  grep -v '^ *+' conftest.er1 >conftest.err
 
35888
  rm -f conftest.er1
 
35889
  cat conftest.err >&5
 
35890
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
35891
  (exit $ac_status); } >/dev/null; then
 
35892
  if test -s conftest.err; then
 
35893
    ac_cpp_err=$ac_c_preproc_warn_flag
 
35894
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
35895
  else
 
35896
    ac_cpp_err=
 
35897
  fi
 
35898
else
 
35899
  ac_cpp_err=yes
 
35900
fi
 
35901
if test -z "$ac_cpp_err"; then
 
35902
  ac_header_preproc=yes
 
35903
else
 
35904
  echo "$as_me: failed program was:" >&5
 
35905
sed 's/^/| /' conftest.$ac_ext >&5
 
35906
 
 
35907
  ac_header_preproc=no
 
35908
fi
 
35909
 
 
35910
rm -f conftest.err conftest.$ac_ext
 
35911
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
35912
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
35913
 
 
35914
# So?  What about this header?
 
35915
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
35916
  yes:no: )
 
35917
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
35918
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
35919
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
35920
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
35921
    ac_header_preproc=yes
 
35922
    ;;
 
35923
  no:yes:* )
 
35924
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
35925
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
35926
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
35927
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
35928
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
35929
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
35930
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
35931
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
35932
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
35933
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
35934
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
35935
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
35936
    ( cat <<\_ASBOX
 
35937
## ------------------------------------------------------------------------ ##
 
35938
## Report this to a suitable curl mailing list => http://curl.haxx.se/mail/ ##
 
35939
## ------------------------------------------------------------------------ ##
 
35940
_ASBOX
 
35941
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
35942
    ;;
 
35943
esac
 
35944
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
35945
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
35946
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
35947
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
35948
else
 
35949
  eval "$as_ac_Header=\$ac_header_preproc"
 
35950
fi
 
35951
ac_res=`eval echo '${'$as_ac_Header'}'`
 
35952
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
35953
echo "${ECHO_T}$ac_res" >&6; }
 
35954
 
 
35955
fi
 
35956
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
35957
  cat >>confdefs.h <<_ACEOF
 
35958
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
35959
_ACEOF
 
35960
 
 
35961
fi
 
35962
 
 
35963
done
 
35964
 
 
35965
  #
 
35966
  { echo "$as_me:$LINENO: checking for getnameinfo" >&5
 
35967
echo $ECHO_N "checking for getnameinfo... $ECHO_C" >&6; }
 
35968
  cat >conftest.$ac_ext <<_ACEOF
 
35969
 
 
35970
      /* confdefs.h.  */
 
35971
_ACEOF
 
35972
cat confdefs.h >>conftest.$ac_ext
 
35973
cat >>conftest.$ac_ext <<_ACEOF
 
35974
/* end confdefs.h.  */
 
35975
/* Define getnameinfo to an innocuous variant, in case <limits.h> declares getnameinfo.
 
35976
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
35977
#define getnameinfo innocuous_getnameinfo
 
35978
 
 
35979
/* System header to define __stub macros and hopefully few prototypes,
 
35980
    which can conflict with char getnameinfo (); below.
 
35981
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
35982
    <limits.h> exists even on freestanding compilers.  */
 
35983
 
 
35984
#ifdef __STDC__
 
35985
# include <limits.h>
 
35986
#else
 
35987
# include <assert.h>
 
35988
#endif
 
35989
 
 
35990
#undef getnameinfo
 
35991
 
 
35992
/* Override any GCC internal prototype to avoid an error.
 
35993
   Use char because int might match the return type of a GCC
 
35994
   builtin and then its argument prototype would still apply.  */
 
35995
#ifdef __cplusplus
 
35996
extern "C"
 
35997
#endif
 
35998
char getnameinfo ();
 
35999
/* The GNU C library defines this for functions which it implements
 
36000
    to always fail with ENOSYS.  Some functions are actually named
 
36001
    something starting with __ and the normal name is an alias.  */
 
36002
#if defined __stub_getnameinfo || defined __stub___getnameinfo
 
36003
choke me
 
36004
#endif
 
36005
 
 
36006
int
 
36007
main ()
 
36008
{
 
36009
return getnameinfo ();
 
36010
  ;
 
36011
  return 0;
 
36012
}
 
36013
 
 
36014
_ACEOF
 
36015
rm -f conftest.$ac_objext conftest$ac_exeext
 
36016
if { (ac_try="$ac_link"
 
36017
case "(($ac_try" in
 
36018
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
36019
  *) ac_try_echo=$ac_try;;
 
36020
esac
 
36021
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
36022
  (eval "$ac_link") 2>conftest.er1
 
36023
  ac_status=$?
 
36024
  grep -v '^ *+' conftest.er1 >conftest.err
 
36025
  rm -f conftest.er1
 
36026
  cat conftest.err >&5
 
36027
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36028
  (exit $ac_status); } &&
 
36029
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
36030
  { (case "(($ac_try" in
 
36031
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
36032
  *) ac_try_echo=$ac_try;;
 
36033
esac
 
36034
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
36035
  (eval "$ac_try") 2>&5
 
36036
  ac_status=$?
 
36037
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36038
  (exit $ac_status); }; } &&
 
36039
         { ac_try='test -s conftest$ac_exeext'
 
36040
  { (case "(($ac_try" in
 
36041
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
36042
  *) ac_try_echo=$ac_try;;
 
36043
esac
 
36044
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
36045
  (eval "$ac_try") 2>&5
 
36046
  ac_status=$?
 
36047
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36048
  (exit $ac_status); }; }; then
 
36049
 
 
36050
      { echo "$as_me:$LINENO: result: yes" >&5
 
36051
echo "${ECHO_T}yes" >&6; }
 
36052
      curl_cv_getnameinfo="yes"
 
36053
 
 
36054
else
 
36055
  echo "$as_me: failed program was:" >&5
 
36056
sed 's/^/| /' conftest.$ac_ext >&5
 
36057
 
 
36058
 
 
36059
      { echo "$as_me:$LINENO: result: no" >&5
 
36060
echo "${ECHO_T}no" >&6; }
 
36061
      curl_cv_getnameinfo="no"
 
36062
 
 
36063
fi
 
36064
 
 
36065
rm -f conftest.err conftest.$ac_objext \
 
36066
      conftest$ac_exeext conftest.$ac_ext
 
36067
  #
 
36068
  if test "$curl_cv_getnameinfo" != "yes"; then
 
36069
    { echo "$as_me:$LINENO: checking deeper for getnameinfo" >&5
 
36070
echo $ECHO_N "checking deeper for getnameinfo... $ECHO_C" >&6; }
 
36071
    cat >conftest.$ac_ext <<_ACEOF
 
36072
/* confdefs.h.  */
 
36073
_ACEOF
 
36074
cat confdefs.h >>conftest.$ac_ext
 
36075
cat >>conftest.$ac_ext <<_ACEOF
 
36076
/* end confdefs.h.  */
 
36077
 
 
36078
 
 
36079
int
 
36080
main ()
 
36081
{
 
36082
 
 
36083
        getnameinfo();
 
36084
 
 
36085
  ;
 
36086
  return 0;
 
36087
}
 
36088
_ACEOF
 
36089
rm -f conftest.$ac_objext conftest$ac_exeext
 
36090
if { (ac_try="$ac_link"
 
36091
case "(($ac_try" in
 
36092
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
36093
  *) ac_try_echo=$ac_try;;
 
36094
esac
 
36095
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
36096
  (eval "$ac_link") 2>conftest.er1
 
36097
  ac_status=$?
 
36098
  grep -v '^ *+' conftest.er1 >conftest.err
 
36099
  rm -f conftest.er1
 
36100
  cat conftest.err >&5
 
36101
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36102
  (exit $ac_status); } &&
 
36103
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
36104
  { (case "(($ac_try" in
 
36105
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
36106
  *) ac_try_echo=$ac_try;;
 
36107
esac
 
36108
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
36109
  (eval "$ac_try") 2>&5
 
36110
  ac_status=$?
 
36111
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36112
  (exit $ac_status); }; } &&
 
36113
         { ac_try='test -s conftest$ac_exeext'
 
36114
  { (case "(($ac_try" in
 
36115
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
36116
  *) ac_try_echo=$ac_try;;
 
36117
esac
 
36118
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
36119
  (eval "$ac_try") 2>&5
 
36120
  ac_status=$?
 
36121
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36122
  (exit $ac_status); }; }; then
 
36123
 
 
36124
        { echo "$as_me:$LINENO: result: yes" >&5
 
36125
echo "${ECHO_T}yes" >&6; }
 
36126
        curl_cv_getnameinfo="yes"
 
36127
 
 
36128
else
 
36129
  echo "$as_me: failed program was:" >&5
 
36130
sed 's/^/| /' conftest.$ac_ext >&5
 
36131
 
 
36132
 
 
36133
        { echo "$as_me:$LINENO: result: but still no" >&5
 
36134
echo "${ECHO_T}but still no" >&6; }
 
36135
        curl_cv_getnameinfo="no"
 
36136
 
 
36137
fi
 
36138
 
 
36139
rm -f conftest.err conftest.$ac_objext \
 
36140
      conftest$ac_exeext conftest.$ac_ext
 
36141
  fi
 
36142
  #
 
36143
  if test "$curl_cv_getnameinfo" != "yes"; then
 
36144
    { echo "$as_me:$LINENO: checking deeper and deeper for getnameinfo" >&5
 
36145
echo $ECHO_N "checking deeper and deeper for getnameinfo... $ECHO_C" >&6; }
 
36146
    cat >conftest.$ac_ext <<_ACEOF
 
36147
/* confdefs.h.  */
 
36148
_ACEOF
 
36149
cat confdefs.h >>conftest.$ac_ext
 
36150
cat >>conftest.$ac_ext <<_ACEOF
 
36151
/* end confdefs.h.  */
 
36152
 
 
36153
#undef inline
 
36154
#ifdef HAVE_WINDOWS_H
 
36155
#ifndef WIN32_LEAN_AND_MEAN
 
36156
#define WIN32_LEAN_AND_MEAN
 
36157
#endif
 
36158
#include <windows.h>
 
36159
#ifdef HAVE_WINSOCK2_H
 
36160
#include <winsock2.h>
 
36161
#ifdef HAVE_WS2TCPIP_H
 
36162
#include <ws2tcpip.h>
 
36163
#endif
 
36164
#endif
 
36165
#else
 
36166
#ifdef HAVE_SYS_TYPES_H
 
36167
#include <sys/types.h>
 
36168
#endif
 
36169
#ifdef HAVE_SYS_SOCKET_H
 
36170
#include <sys/socket.h>
 
36171
#endif
 
36172
#ifdef HAVE_NETDB_H
 
36173
#include <netdb.h>
 
36174
#endif
 
36175
#endif
 
36176
 
 
36177
int
 
36178
main ()
 
36179
{
 
36180
 
 
36181
        getnameinfo(0, 0, 0, 0, 0, 0, 0);
 
36182
 
 
36183
  ;
 
36184
  return 0;
 
36185
}
 
36186
_ACEOF
 
36187
rm -f conftest.$ac_objext conftest$ac_exeext
 
36188
if { (ac_try="$ac_link"
 
36189
case "(($ac_try" in
 
36190
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
36191
  *) ac_try_echo=$ac_try;;
 
36192
esac
 
36193
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
36194
  (eval "$ac_link") 2>conftest.er1
 
36195
  ac_status=$?
 
36196
  grep -v '^ *+' conftest.er1 >conftest.err
 
36197
  rm -f conftest.er1
 
36198
  cat conftest.err >&5
 
36199
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36200
  (exit $ac_status); } &&
 
36201
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
36202
  { (case "(($ac_try" in
 
36203
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
36204
  *) ac_try_echo=$ac_try;;
 
36205
esac
 
36206
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
36207
  (eval "$ac_try") 2>&5
 
36208
  ac_status=$?
 
36209
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36210
  (exit $ac_status); }; } &&
 
36211
         { ac_try='test -s conftest$ac_exeext'
 
36212
  { (case "(($ac_try" in
 
36213
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
36214
  *) ac_try_echo=$ac_try;;
 
36215
esac
 
36216
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
36217
  (eval "$ac_try") 2>&5
 
36218
  ac_status=$?
 
36219
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36220
  (exit $ac_status); }; }; then
 
36221
 
 
36222
        { echo "$as_me:$LINENO: result: yes" >&5
 
36223
echo "${ECHO_T}yes" >&6; }
 
36224
        curl_cv_getnameinfo="yes"
 
36225
 
 
36226
else
 
36227
  echo "$as_me: failed program was:" >&5
 
36228
sed 's/^/| /' conftest.$ac_ext >&5
 
36229
 
 
36230
 
 
36231
        { echo "$as_me:$LINENO: result: but still no" >&5
 
36232
echo "${ECHO_T}but still no" >&6; }
 
36233
        curl_cv_getnameinfo="no"
 
36234
 
 
36235
fi
 
36236
 
 
36237
rm -f conftest.err conftest.$ac_objext \
 
36238
      conftest$ac_exeext conftest.$ac_ext
 
36239
  fi
 
36240
  #
 
36241
  if test "$curl_cv_getnameinfo" = "yes"; then
 
36242
    { echo "$as_me:$LINENO: checking types of arguments for getnameinfo" >&5
 
36243
echo $ECHO_N "checking types of arguments for getnameinfo... $ECHO_C" >&6; }
 
36244
if test "${curl_cv_func_getnameinfo_args+set}" = set; then
 
36245
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
36246
else
 
36247
 
 
36248
      curl_cv_func_getnameinfo_args="unknown"
 
36249
      for gni_arg1 in 'struct sockaddr *' 'const struct sockaddr *' 'void *'; do
 
36250
        for gni_arg2 in 'socklen_t' 'size_t' 'int'; do
 
36251
          for gni_arg46 in 'size_t' 'int' 'socklen_t' 'unsigned int' 'DWORD'; do
 
36252
            for gni_arg7 in 'int' 'unsigned int'; do
 
36253
              cat >conftest.$ac_ext <<_ACEOF
 
36254
 
 
36255
                /* confdefs.h.  */
 
36256
_ACEOF
 
36257
cat confdefs.h >>conftest.$ac_ext
 
36258
cat >>conftest.$ac_ext <<_ACEOF
 
36259
/* end confdefs.h.  */
 
36260
 
 
36261
#undef inline
 
36262
#ifdef HAVE_WINDOWS_H
 
36263
#ifndef WIN32_LEAN_AND_MEAN
 
36264
#define WIN32_LEAN_AND_MEAN
 
36265
#endif
 
36266
#if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
 
36267
#undef _WIN32_WINNT
 
36268
#define _WIN32_WINNT 0x0501
 
36269
#endif
 
36270
#include <windows.h>
 
36271
#ifdef HAVE_WINSOCK2_H
 
36272
#include <winsock2.h>
 
36273
#ifdef HAVE_WS2TCPIP_H
 
36274
#include <ws2tcpip.h>
 
36275
#endif
 
36276
#endif
 
36277
#define GNICALLCONV WSAAPI
 
36278
#else
 
36279
#ifdef HAVE_SYS_TYPES_H
 
36280
#include <sys/types.h>
 
36281
#endif
 
36282
#ifdef HAVE_SYS_SOCKET_H
 
36283
#include <sys/socket.h>
 
36284
#endif
 
36285
#ifdef HAVE_NETDB_H
 
36286
#include <netdb.h>
 
36287
#endif
 
36288
#define GNICALLCONV
 
36289
#endif
 
36290
                  extern int GNICALLCONV getnameinfo($gni_arg1, $gni_arg2,
 
36291
                                         char *, $gni_arg46,
 
36292
                                         char *, $gni_arg46,
 
36293
                                         $gni_arg7);
 
36294
 
 
36295
int
 
36296
main ()
 
36297
{
 
36298
 
 
36299
                  $gni_arg2 salen=0;
 
36300
                  $gni_arg46 hostlen=0;
 
36301
                  $gni_arg46 servlen=0;
 
36302
                  $gni_arg7 flags=0;
 
36303
                  int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
 
36304
 
 
36305
  ;
 
36306
  return 0;
 
36307
}
 
36308
 
 
36309
_ACEOF
 
36310
rm -f conftest.$ac_objext
 
36311
if { (ac_try="$ac_compile"
 
36312
case "(($ac_try" in
 
36313
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
36314
  *) ac_try_echo=$ac_try;;
 
36315
esac
 
36316
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
36317
  (eval "$ac_compile") 2>conftest.er1
 
36318
  ac_status=$?
 
36319
  grep -v '^ *+' conftest.er1 >conftest.err
 
36320
  rm -f conftest.er1
 
36321
  cat conftest.err >&5
 
36322
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36323
  (exit $ac_status); } &&
 
36324
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
36325
  { (case "(($ac_try" in
 
36326
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
36327
  *) ac_try_echo=$ac_try;;
 
36328
esac
 
36329
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
36330
  (eval "$ac_try") 2>&5
 
36331
  ac_status=$?
 
36332
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36333
  (exit $ac_status); }; } &&
 
36334
         { ac_try='test -s conftest.$ac_objext'
 
36335
  { (case "(($ac_try" in
 
36336
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
36337
  *) ac_try_echo=$ac_try;;
 
36338
esac
 
36339
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
36340
  (eval "$ac_try") 2>&5
 
36341
  ac_status=$?
 
36342
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
36343
  (exit $ac_status); }; }; then
 
36344
 
 
36345
                 curl_cv_func_getnameinfo_args="$gni_arg1,$gni_arg2,$gni_arg46,$gni_arg7"
 
36346
                 break 4
 
36347
 
 
36348
else
 
36349
  echo "$as_me: failed program was:" >&5
 
36350
sed 's/^/| /' conftest.$ac_ext >&5
 
36351
 
 
36352
 
 
36353
fi
 
36354
 
 
36355
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
36356
            done
 
36357
          done
 
36358
        done
 
36359
      done
 
36360
 
 
36361
fi
 
36362
{ echo "$as_me:$LINENO: result: $curl_cv_func_getnameinfo_args" >&5
 
36363
echo "${ECHO_T}$curl_cv_func_getnameinfo_args" >&6; } # AC_CACHE_CHECK
 
36364
    if test "$curl_cv_func_getnameinfo_args" = "unknown"; then
 
36365
      { echo "$as_me:$LINENO: WARNING: Cannot find proper types to use for getnameinfo args" >&5
 
36366
echo "$as_me: WARNING: Cannot find proper types to use for getnameinfo args" >&2;}
 
36367
      { echo "$as_me:$LINENO: WARNING: HAVE_GETNAMEINFO will not be defined" >&5
 
36368
echo "$as_me: WARNING: HAVE_GETNAMEINFO will not be defined" >&2;}
 
36369
    else
 
36370
      gni_prev_IFS=$IFS; IFS=','
 
36371
      set dummy `echo "$curl_cv_func_getnameinfo_args" | sed 's/\*/\*/g'`
 
36372
      IFS=$gni_prev_IFS
 
36373
      shift
 
36374
 
 
36375
cat >>confdefs.h <<_ACEOF
 
36376
#define GETNAMEINFO_TYPE_ARG1 $1
 
36377
_ACEOF
 
36378
 
 
36379
 
 
36380
cat >>confdefs.h <<_ACEOF
 
36381
#define GETNAMEINFO_TYPE_ARG2 $2
 
36382
_ACEOF
 
36383
 
 
36384
 
 
36385
cat >>confdefs.h <<_ACEOF
 
36386
#define GETNAMEINFO_TYPE_ARG46 $3
 
36387
_ACEOF
 
36388
 
 
36389
 
 
36390
cat >>confdefs.h <<_ACEOF
 
36391
#define GETNAMEINFO_TYPE_ARG7 $4
 
36392
_ACEOF
 
36393
 
 
36394
 
 
36395
cat >>confdefs.h <<_ACEOF
 
36396
#define HAVE_GETNAMEINFO 1
 
36397
_ACEOF
 
36398
 
 
36399
      ac_cv_func_getnameinfo="yes"
 
36400
    fi
 
36401
  fi
 
36402
 
 
36403
 
 
36404
{ echo "$as_me:$LINENO: checking if we are Mac OS X (to disable poll)" >&5
 
36405
echo $ECHO_N "checking if we are Mac OS X (to disable poll)... $ECHO_C" >&6; }
33305
36406
disable_poll=no
33306
36407
case $host in
33307
36408
  *-*-darwin*)
33310
36411
  *)
33311
36412
    ;;
33312
36413
esac
33313
 
echo "$as_me:$LINENO: result: $disable_poll" >&5
33314
 
echo "${ECHO_T}$disable_poll" >&6
 
36414
{ echo "$as_me:$LINENO: result: $disable_poll" >&5
 
36415
echo "${ECHO_T}$disable_poll" >&6; }
33315
36416
 
33316
36417
if test "$disable_poll" = "no"; then
33317
36418
 
33318
36419
      if test "$ac_cv_func_poll" = "yes"; then
33319
 
    echo "$as_me:$LINENO: checking if poll works with NULL inputs" >&5
33320
 
echo $ECHO_N "checking if poll works with NULL inputs... $ECHO_C" >&6
 
36420
    { echo "$as_me:$LINENO: checking if poll works with NULL inputs" >&5
 
36421
echo $ECHO_N "checking if poll works with NULL inputs... $ECHO_C" >&6; }
33321
36422
    if test "$cross_compiling" = yes; then
33322
 
  echo "$as_me:$LINENO: result: cross-compiling assumes yes" >&5
33323
 
echo "${ECHO_T}cross-compiling assumes yes" >&6
 
36423
  { echo "$as_me:$LINENO: result: cross-compiling assumes yes" >&5
 
36424
echo "${ECHO_T}cross-compiling assumes yes" >&6; }
33324
36425
 
33325
36426
cat >>confdefs.h <<\_ACEOF
33326
36427
#define HAVE_POLL_FINE 1
33342
36443
 
33343
36444
_ACEOF
33344
36445
rm -f conftest$ac_exeext
33345
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33346
 
  (eval $ac_link) 2>&5
 
36446
if { (ac_try="$ac_link"
 
36447
case "(($ac_try" in
 
36448
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
36449
  *) ac_try_echo=$ac_try;;
 
36450
esac
 
36451
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
36452
  (eval "$ac_link") 2>&5
33347
36453
  ac_status=$?
33348
36454
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33349
36455
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33350
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33351
 
  (eval $ac_try) 2>&5
 
36456
  { (case "(($ac_try" in
 
36457
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
36458
  *) ac_try_echo=$ac_try;;
 
36459
esac
 
36460
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
36461
  (eval "$ac_try") 2>&5
33352
36462
  ac_status=$?
33353
36463
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33354
36464
  (exit $ac_status); }; }; then
33355
 
  echo "$as_me:$LINENO: result: yes" >&5
33356
 
echo "${ECHO_T}yes" >&6
 
36465
  { echo "$as_me:$LINENO: result: yes" >&5
 
36466
echo "${ECHO_T}yes" >&6; }
33357
36467
 
33358
36468
cat >>confdefs.h <<\_ACEOF
33359
36469
#define HAVE_POLL_FINE 1
33365
36475
sed 's/^/| /' conftest.$ac_ext >&5
33366
36476
 
33367
36477
( exit $ac_status )
33368
 
echo "$as_me:$LINENO: result: no" >&5
33369
 
echo "${ECHO_T}no" >&6
33370
 
fi
33371
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33372
 
fi   fi fi
 
36478
{ echo "$as_me:$LINENO: result: no" >&5
 
36479
echo "${ECHO_T}no" >&6; }
 
36480
fi
 
36481
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
36482
fi
 
36483
 
 
36484
   fi fi
33373
36485
 
33374
36486
# Extract the first word of "perl", so it can be a program name with args.
33375
36487
set dummy perl; ac_word=$2
33376
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
33377
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
36488
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
36489
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33378
36490
if test "${ac_cv_path_PERL+set}" = set; then
33379
36491
  echo $ECHO_N "(cached) $ECHO_C" >&6
33380
36492
else
33390
36502
  IFS=$as_save_IFS
33391
36503
  test -z "$as_dir" && as_dir=.
33392
36504
  for ac_exec_ext in '' $ac_executable_extensions; do
33393
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
36505
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
33394
36506
    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
33395
36507
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33396
36508
    break 2
33397
36509
  fi
33398
36510
done
33399
36511
done
 
36512
IFS=$as_save_IFS
33400
36513
 
33401
36514
  ;;
33402
36515
esac
33403
36516
fi
33404
36517
PERL=$ac_cv_path_PERL
33405
 
 
33406
36518
if test -n "$PERL"; then
33407
 
  echo "$as_me:$LINENO: result: $PERL" >&5
33408
 
echo "${ECHO_T}$PERL" >&6
 
36519
  { echo "$as_me:$LINENO: result: $PERL" >&5
 
36520
echo "${ECHO_T}$PERL" >&6; }
33409
36521
else
33410
 
  echo "$as_me:$LINENO: result: no" >&5
33411
 
echo "${ECHO_T}no" >&6
 
36522
  { echo "$as_me:$LINENO: result: no" >&5
 
36523
echo "${ECHO_T}no" >&6; }
33412
36524
fi
33413
36525
 
33414
36526
 
33415
36527
 
 
36528
 
33416
36529
for ac_prog in gnroff nroff
33417
36530
do
33418
36531
  # Extract the first word of "$ac_prog", so it can be a program name with args.
33419
36532
set dummy $ac_prog; ac_word=$2
33420
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
33421
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
36533
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
36534
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33422
36535
if test "${ac_cv_path_NROFF+set}" = set; then
33423
36536
  echo $ECHO_N "(cached) $ECHO_C" >&6
33424
36537
else
33434
36547
  IFS=$as_save_IFS
33435
36548
  test -z "$as_dir" && as_dir=.
33436
36549
  for ac_exec_ext in '' $ac_executable_extensions; do
33437
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
36550
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
33438
36551
    ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext"
33439
36552
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33440
36553
    break 2
33441
36554
  fi
33442
36555
done
33443
36556
done
 
36557
IFS=$as_save_IFS
33444
36558
 
33445
36559
  ;;
33446
36560
esac
33447
36561
fi
33448
36562
NROFF=$ac_cv_path_NROFF
33449
 
 
33450
36563
if test -n "$NROFF"; then
33451
 
  echo "$as_me:$LINENO: result: $NROFF" >&5
33452
 
echo "${ECHO_T}$NROFF" >&6
 
36564
  { echo "$as_me:$LINENO: result: $NROFF" >&5
 
36565
echo "${ECHO_T}$NROFF" >&6; }
33453
36566
else
33454
 
  echo "$as_me:$LINENO: result: no" >&5
33455
 
echo "${ECHO_T}no" >&6
 
36567
  { echo "$as_me:$LINENO: result: no" >&5
 
36568
echo "${ECHO_T}no" >&6; }
33456
36569
fi
33457
36570
 
 
36571
 
33458
36572
  test -n "$NROFF" && break
33459
36573
done
33460
36574
 
33462
36576
 
33463
36577
if test -n "$NROFF"; then
33464
36578
 
33465
 
  echo "$as_me:$LINENO: checking how to use *nroff to get plain text from man pages" >&5
33466
 
echo $ECHO_N "checking how to use *nroff to get plain text from man pages... $ECHO_C" >&6
 
36579
  { echo "$as_me:$LINENO: checking how to use *nroff to get plain text from man pages" >&5
 
36580
echo $ECHO_N "checking how to use *nroff to get plain text from man pages... $ECHO_C" >&6; }
33467
36581
  MANOPT="-man"
33468
36582
  mancheck=`echo foo | $NROFF $MANOPT 2>/dev/null`
33469
36583
  if test -z "$mancheck"; then
33471
36585
   mancheck=`echo foo | $NROFF $MANOPT 2>/dev/null`
33472
36586
    if test -z "$mancheck"; then
33473
36587
      MANOPT=""
33474
 
      echo "$as_me:$LINENO: result: failed" >&5
33475
 
echo "${ECHO_T}failed" >&6
 
36588
      { echo "$as_me:$LINENO: result: failed" >&5
 
36589
echo "${ECHO_T}failed" >&6; }
33476
36590
      { echo "$as_me:$LINENO: WARNING: found no *nroff option to get plaintext from man pages" >&5
33477
36591
echo "$as_me: WARNING: found no *nroff option to get plaintext from man pages" >&2;}
33478
36592
    else
33479
 
      echo "$as_me:$LINENO: result: $MANOPT" >&5
33480
 
echo "${ECHO_T}$MANOPT" >&6
 
36593
      { echo "$as_me:$LINENO: result: $MANOPT" >&5
 
36594
echo "${ECHO_T}$MANOPT" >&6; }
33481
36595
    fi
33482
36596
  else
33483
 
    echo "$as_me:$LINENO: result: $MANOPT" >&5
33484
 
echo "${ECHO_T}$MANOPT" >&6
 
36597
    { echo "$as_me:$LINENO: result: $MANOPT" >&5
 
36598
echo "${ECHO_T}$MANOPT" >&6; }
33485
36599
  fi
33486
36600
 
33487
36601
fi
33514
36628
fi
33515
36629
 
33516
36630
 
33517
 
echo "$as_me:$LINENO: checking whether to enable ares" >&5
33518
 
echo $ECHO_N "checking whether to enable ares... $ECHO_C" >&6
33519
 
# Check whether --enable-ares or --disable-ares was given.
 
36631
{ echo "$as_me:$LINENO: checking whether to enable ares" >&5
 
36632
echo $ECHO_N "checking whether to enable ares... $ECHO_C" >&6; }
 
36633
# Check whether --enable-ares was given.
33520
36634
if test "${enable_ares+set}" = set; then
33521
 
  enableval="$enable_ares"
33522
 
   case "$enableval" in
 
36635
  enableval=$enable_ares;  case "$enableval" in
33523
36636
  no)
33524
 
       echo "$as_me:$LINENO: result: no" >&5
33525
 
echo "${ECHO_T}no" >&6
 
36637
       { echo "$as_me:$LINENO: result: no" >&5
 
36638
echo "${ECHO_T}no" >&6; }
33526
36639
       ;;
33527
 
  *)   echo "$as_me:$LINENO: result: yes" >&5
33528
 
echo "${ECHO_T}yes" >&6
 
36640
  *)   { echo "$as_me:$LINENO: result: yes" >&5
 
36641
echo "${ECHO_T}yes" >&6; }
33529
36642
 
33530
36643
       if test "x$IPV6_ENABLED" = "x1"; then
33531
36644
         { echo "$as_me:$LINENO: ares may not work properly with ipv6" >&5
33546
36659
                                   if test "x$enableval" = "xyes" ; then
33547
36660
         if test -d "$srcdir/ares"; then
33548
36661
            aresembedded="yes"
33549
 
 
33550
 
 
33551
 
subdirs="$subdirs ares"
 
36662
            subdirs="$subdirs ares"
33552
36663
 
33553
36664
            aresinc=`cd $srcdir/ares && pwd`
33554
36665
            CPPFLAGS="$CPPFLAGS -I$aresinc"
33562
36673
       fi
33563
36674
 
33564
36675
       if test -z "$aresembedded"; then
33565
 
                                    echo "$as_me:$LINENO: checking that c-ares is good and recent enough" >&5
33566
 
echo $ECHO_N "checking that c-ares is good and recent enough... $ECHO_C" >&6
 
36676
                                    { echo "$as_me:$LINENO: checking that c-ares is good and recent enough" >&5
 
36677
echo $ECHO_N "checking that c-ares is good and recent enough... $ECHO_C" >&6; }
33567
36678
         cat >conftest.$ac_ext <<_ACEOF
33568
36679
 
33569
36680
#include <ares.h>
33581
36692
 
33582
36693
_ACEOF
33583
36694
rm -f conftest.$ac_objext conftest$ac_exeext
33584
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33585
 
  (eval $ac_link) 2>conftest.er1
 
36695
if { (ac_try="$ac_link"
 
36696
case "(($ac_try" in
 
36697
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
36698
  *) ac_try_echo=$ac_try;;
 
36699
esac
 
36700
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
36701
  (eval "$ac_link") 2>conftest.er1
33586
36702
  ac_status=$?
33587
36703
  grep -v '^ *+' conftest.er1 >conftest.err
33588
36704
  rm -f conftest.er1
33589
36705
  cat conftest.err >&5
33590
36706
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33591
36707
  (exit $ac_status); } &&
33592
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
33593
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33594
 
  (eval $ac_try) 2>&5
 
36708
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
36709
  { (case "(($ac_try" in
 
36710
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
36711
  *) ac_try_echo=$ac_try;;
 
36712
esac
 
36713
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
36714
  (eval "$ac_try") 2>&5
33595
36715
  ac_status=$?
33596
36716
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33597
36717
  (exit $ac_status); }; } &&
33598
36718
         { ac_try='test -s conftest$ac_exeext'
33599
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33600
 
  (eval $ac_try) 2>&5
 
36719
  { (case "(($ac_try" in
 
36720
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
36721
  *) ac_try_echo=$ac_try;;
 
36722
esac
 
36723
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
36724
  (eval "$ac_try") 2>&5
33601
36725
  ac_status=$?
33602
36726
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33603
36727
  (exit $ac_status); }; }; then
33604
 
  echo "$as_me:$LINENO: result: yes" >&5
33605
 
echo "${ECHO_T}yes" >&6
 
36728
  { echo "$as_me:$LINENO: result: yes" >&5
 
36729
echo "${ECHO_T}yes" >&6; }
33606
36730
else
33607
36731
  echo "$as_me: failed program was:" >&5
33608
36732
sed 's/^/| /' conftest.$ac_ext >&5
33609
36733
 
33610
 
echo "$as_me:$LINENO: result: no" >&5
33611
 
echo "${ECHO_T}no" >&6
 
36734
        { echo "$as_me:$LINENO: result: no" >&5
 
36735
echo "${ECHO_T}no" >&6; }
33612
36736
          { { echo "$as_me:$LINENO: error: c-ares library defective or too old" >&5
33613
36737
echo "$as_me: error: c-ares library defective or too old" >&2;}
33614
36738
   { (exit 1); exit 1; }; }
33615
36739
 
33616
36740
fi
 
36741
 
33617
36742
rm -f conftest.err conftest.$ac_objext \
33618
36743
      conftest$ac_exeext conftest.$ac_ext
33619
36744
       fi
33620
36745
       ;;
33621
36746
  esac
33622
36747
else
33623
 
  echo "$as_me:$LINENO: result: no" >&5
33624
 
echo "${ECHO_T}no" >&6
33625
 
 
33626
 
fi;
33627
 
 
33628
 
echo "$as_me:$LINENO: checking whether to enable verbose strings" >&5
33629
 
echo $ECHO_N "checking whether to enable verbose strings... $ECHO_C" >&6
33630
 
# Check whether --enable-verbose or --disable-verbose was given.
 
36748
  { echo "$as_me:$LINENO: result: no" >&5
 
36749
echo "${ECHO_T}no" >&6; }
 
36750
 
 
36751
fi
 
36752
 
 
36753
 
 
36754
{ echo "$as_me:$LINENO: checking whether to enable verbose strings" >&5
 
36755
echo $ECHO_N "checking whether to enable verbose strings... $ECHO_C" >&6; }
 
36756
# Check whether --enable-verbose was given.
33631
36757
if test "${enable_verbose+set}" = set; then
33632
 
  enableval="$enable_verbose"
33633
 
   case "$enableval" in
 
36758
  enableval=$enable_verbose;  case "$enableval" in
33634
36759
  no)
33635
 
       echo "$as_me:$LINENO: result: no" >&5
33636
 
echo "${ECHO_T}no" >&6
 
36760
       { echo "$as_me:$LINENO: result: no" >&5
 
36761
echo "${ECHO_T}no" >&6; }
33637
36762
 
33638
36763
cat >>confdefs.h <<\_ACEOF
33639
36764
#define CURL_DISABLE_VERBOSE_STRINGS 1
33642
36767
 
33643
36768
       curl_verbose_msg="no"
33644
36769
       ;;
33645
 
  *)   echo "$as_me:$LINENO: result: yes" >&5
33646
 
echo "${ECHO_T}yes" >&6
 
36770
  *)   { echo "$as_me:$LINENO: result: yes" >&5
 
36771
echo "${ECHO_T}yes" >&6; }
33647
36772
       ;;
33648
36773
  esac
33649
36774
else
33650
 
  echo "$as_me:$LINENO: result: yes" >&5
33651
 
echo "${ECHO_T}yes" >&6
33652
 
 
33653
 
fi;
33654
 
 
33655
 
echo "$as_me:$LINENO: checking whether to enable SSPI support (win32 builds only)" >&5
33656
 
echo $ECHO_N "checking whether to enable SSPI support (win32 builds only)... $ECHO_C" >&6
33657
 
# Check whether --enable-sspi or --disable-sspi was given.
 
36775
  { echo "$as_me:$LINENO: result: yes" >&5
 
36776
echo "${ECHO_T}yes" >&6; }
 
36777
 
 
36778
fi
 
36779
 
 
36780
 
 
36781
{ echo "$as_me:$LINENO: checking whether to enable SSPI support (win32 builds only)" >&5
 
36782
echo $ECHO_N "checking whether to enable SSPI support (win32 builds only)... $ECHO_C" >&6; }
 
36783
# Check whether --enable-sspi was given.
33658
36784
if test "${enable_sspi+set}" = set; then
33659
 
  enableval="$enable_sspi"
33660
 
   case "$enableval" in
 
36785
  enableval=$enable_sspi;  case "$enableval" in
33661
36786
  yes)
33662
 
       echo "$as_me:$LINENO: result: yes" >&5
33663
 
echo "${ECHO_T}yes" >&6
 
36787
       { echo "$as_me:$LINENO: result: yes" >&5
 
36788
echo "${ECHO_T}yes" >&6; }
33664
36789
 
33665
36790
cat >>confdefs.h <<\_ACEOF
33666
36791
#define USE_WINDOWS_SSPI 1
33670
36795
       curl_sspi_msg="yes"
33671
36796
       ;;
33672
36797
  *)
33673
 
       echo "$as_me:$LINENO: result: no" >&5
33674
 
echo "${ECHO_T}no" >&6
 
36798
       { echo "$as_me:$LINENO: result: no" >&5
 
36799
echo "${ECHO_T}no" >&6; }
33675
36800
       ;;
33676
36801
  esac
33677
36802
else
33678
 
  echo "$as_me:$LINENO: result: no" >&5
33679
 
echo "${ECHO_T}no" >&6
33680
 
 
33681
 
fi;
33682
 
 
33683
 
echo "$as_me:$LINENO: checking whether to enable debug options" >&5
33684
 
echo $ECHO_N "checking whether to enable debug options... $ECHO_C" >&6
33685
 
# Check whether --enable-debug or --disable-debug was given.
 
36803
  { echo "$as_me:$LINENO: result: no" >&5
 
36804
echo "${ECHO_T}no" >&6; }
 
36805
 
 
36806
fi
 
36807
 
 
36808
 
 
36809
{ echo "$as_me:$LINENO: checking whether to enable debug options" >&5
 
36810
echo $ECHO_N "checking whether to enable debug options... $ECHO_C" >&6; }
 
36811
# Check whether --enable-debug was given.
33686
36812
if test "${enable_debug+set}" = set; then
33687
 
  enableval="$enable_debug"
33688
 
   case "$enableval" in
 
36813
  enableval=$enable_debug;  case "$enableval" in
33689
36814
  no)
33690
 
       echo "$as_me:$LINENO: result: no" >&5
33691
 
echo "${ECHO_T}no" >&6
 
36815
       { echo "$as_me:$LINENO: result: no" >&5
 
36816
echo "${ECHO_T}no" >&6; }
33692
36817
       ;;
33693
 
  *)   echo "$as_me:$LINENO: result: yes" >&5
33694
 
echo "${ECHO_T}yes" >&6
 
36818
  *)   { echo "$as_me:$LINENO: result: yes" >&5
 
36819
echo "${ECHO_T}yes" >&6; }
33695
36820
 
33696
36821
    CPPFLAGS="$CPPFLAGS -DCURLDEBUG"
33697
36822
    CFLAGS="$CFLAGS -g"
33698
36823
 
33699
36824
 
33700
 
    if test "$GCC" = "yes"; then
33701
 
 
33702
 
              echo "$as_me:$LINENO: checking gcc version" >&5
33703
 
echo $ECHO_N "checking gcc version... $ECHO_C" >&6
 
36825
    if test "z$ICC" = "z"; then
 
36826
 
 
36827
    ICC="no"
 
36828
    { echo "$as_me:$LINENO: checking for icc in use" >&5
 
36829
echo $ECHO_N "checking for icc in use... $ECHO_C" >&6; }
 
36830
    if test "$GCC" = "yes"; then
 
36831
              cat >conftest.$ac_ext <<_ACEOF
 
36832
/* confdefs.h.  */
 
36833
_ACEOF
 
36834
cat confdefs.h >>conftest.$ac_ext
 
36835
cat >>conftest.$ac_ext <<_ACEOF
 
36836
/* end confdefs.h.  */
 
36837
__INTEL_COMPILER
 
36838
_ACEOF
 
36839
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
36840
  $EGREP "^__INTEL_COMPILER" >/dev/null 2>&1; then
 
36841
                    ICC="no"
 
36842
else
 
36843
           ICC="yes"
 
36844
         { echo "$as_me:$LINENO: result: yes" >&5
 
36845
echo "${ECHO_T}yes" >&6; }
 
36846
 
 
36847
 
 
36848
fi
 
36849
rm -f conftest*
 
36850
 
 
36851
    fi
 
36852
    if test "$ICC" = "no"; then
 
36853
        # this is not ICC
 
36854
        { echo "$as_me:$LINENO: result: no" >&5
 
36855
echo "${ECHO_T}no" >&6; }
 
36856
    fi
 
36857
 
 
36858
    fi
 
36859
 
 
36860
    if test "$GCC" = "yes"; then
 
36861
 
 
36862
              { echo "$as_me:$LINENO: checking gcc version" >&5
 
36863
echo $ECHO_N "checking gcc version... $ECHO_C" >&6; }
33704
36864
       gccver=`$CC -dumpversion`
33705
36865
       num1=`echo $gccver | cut -d . -f1`
33706
36866
       num2=`echo $gccver | cut -d . -f2`
33707
36867
       gccnum=`(expr $num1 "*" 100 + $num2) 2>/dev/null`
33708
 
       echo "$as_me:$LINENO: result: $gccver" >&5
33709
 
echo "${ECHO_T}$gccver" >&6
33710
 
 
33711
 
       echo "$as_me:$LINENO: checking if this is icc in disguise" >&5
33712
 
echo $ECHO_N "checking if this is icc in disguise... $ECHO_C" >&6
33713
 
       cat >conftest.$ac_ext <<_ACEOF
33714
 
/* confdefs.h.  */
33715
 
_ACEOF
33716
 
cat confdefs.h >>conftest.$ac_ext
33717
 
cat >>conftest.$ac_ext <<_ACEOF
33718
 
/* end confdefs.h.  */
33719
 
__INTEL_COMPILER
33720
 
_ACEOF
33721
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33722
 
  $EGREP "^__INTEL_COMPILER" >/dev/null 2>&1; then
33723
 
                    ICC="no"
33724
 
         echo "$as_me:$LINENO: result: no" >&5
33725
 
echo "${ECHO_T}no" >&6
33726
 
else
33727
 
           ICC="yes"
33728
 
         echo "$as_me:$LINENO: result: yes" >&5
33729
 
echo "${ECHO_T}yes" >&6
33730
 
 
33731
 
fi
33732
 
rm -f conftest*
33733
 
 
 
36868
       { echo "$as_me:$LINENO: result: $gccver" >&5
 
36869
echo "${ECHO_T}$gccver" >&6; }
33734
36870
 
33735
36871
       if test "$ICC" = "yes"; then
33736
36872
 
33806
36942
  esac
33807
36943
 
33808
36944
else
33809
 
  echo "$as_me:$LINENO: result: no" >&5
33810
 
echo "${ECHO_T}no" >&6
33811
 
 
33812
 
fi;
33813
 
 
33814
 
echo "$as_me:$LINENO: checking whether to enable cryptographic authentication methods" >&5
33815
 
echo $ECHO_N "checking whether to enable cryptographic authentication methods... $ECHO_C" >&6
33816
 
# Check whether --enable-crypto-auth or --disable-crypto-auth was given.
 
36945
  { echo "$as_me:$LINENO: result: no" >&5
 
36946
echo "${ECHO_T}no" >&6; }
 
36947
 
 
36948
fi
 
36949
 
 
36950
 
 
36951
{ echo "$as_me:$LINENO: checking whether to enable cryptographic authentication methods" >&5
 
36952
echo $ECHO_N "checking whether to enable cryptographic authentication methods... $ECHO_C" >&6; }
 
36953
# Check whether --enable-crypto-auth was given.
33817
36954
if test "${enable_crypto_auth+set}" = set; then
33818
 
  enableval="$enable_crypto_auth"
33819
 
   case "$enableval" in
 
36955
  enableval=$enable_crypto_auth;  case "$enableval" in
33820
36956
  no)
33821
 
       echo "$as_me:$LINENO: result: no" >&5
33822
 
echo "${ECHO_T}no" >&6
 
36957
       { echo "$as_me:$LINENO: result: no" >&5
 
36958
echo "${ECHO_T}no" >&6; }
33823
36959
 
33824
36960
cat >>confdefs.h <<\_ACEOF
33825
36961
#define CURL_DISABLE_CRYPTO_AUTH 1
33827
36963
 
33828
36964
 
33829
36965
       ;;
33830
 
  *)   echo "$as_me:$LINENO: result: yes" >&5
33831
 
echo "${ECHO_T}yes" >&6
 
36966
  *)   { echo "$as_me:$LINENO: result: yes" >&5
 
36967
echo "${ECHO_T}yes" >&6; }
33832
36968
       ;;
33833
36969
  esac
33834
36970
else
33835
 
  echo "$as_me:$LINENO: result: yes" >&5
33836
 
echo "${ECHO_T}yes" >&6
33837
 
 
33838
 
fi;
33839
 
 
33840
 
echo "$as_me:$LINENO: checking whether to enable support for cookies" >&5
33841
 
echo $ECHO_N "checking whether to enable support for cookies... $ECHO_C" >&6
33842
 
# Check whether --enable-cookies or --disable-cookies was given.
 
36971
  { echo "$as_me:$LINENO: result: yes" >&5
 
36972
echo "${ECHO_T}yes" >&6; }
 
36973
 
 
36974
fi
 
36975
 
 
36976
 
 
36977
{ echo "$as_me:$LINENO: checking whether to enable support for cookies" >&5
 
36978
echo $ECHO_N "checking whether to enable support for cookies... $ECHO_C" >&6; }
 
36979
# Check whether --enable-cookies was given.
33843
36980
if test "${enable_cookies+set}" = set; then
33844
 
  enableval="$enable_cookies"
33845
 
   case "$enableval" in
 
36981
  enableval=$enable_cookies;  case "$enableval" in
33846
36982
  no)
33847
 
       echo "$as_me:$LINENO: result: no" >&5
33848
 
echo "${ECHO_T}no" >&6
 
36983
       { echo "$as_me:$LINENO: result: no" >&5
 
36984
echo "${ECHO_T}no" >&6; }
33849
36985
 
33850
36986
cat >>confdefs.h <<\_ACEOF
33851
36987
#define CURL_DISABLE_COOKIES 1
33853
36989
 
33854
36990
 
33855
36991
       ;;
33856
 
  *)   echo "$as_me:$LINENO: result: yes" >&5
33857
 
echo "${ECHO_T}yes" >&6
 
36992
  *)   { echo "$as_me:$LINENO: result: yes" >&5
 
36993
echo "${ECHO_T}yes" >&6; }
33858
36994
       ;;
33859
36995
  esac
33860
36996
else
33861
 
  echo "$as_me:$LINENO: result: yes" >&5
33862
 
echo "${ECHO_T}yes" >&6
33863
 
 
33864
 
fi;
 
36997
  { echo "$as_me:$LINENO: result: yes" >&5
 
36998
echo "${ECHO_T}yes" >&6; }
 
36999
 
 
37000
fi
 
37001
 
33865
37002
 
33866
37003
if test "x$ws2" = "xyes"; then
33867
37004
 
33881
37018
fi
33882
37019
 
33883
37020
 
33884
 
                                                                                                                                                                                                                                                                    ac_config_files="$ac_config_files Makefile docs/Makefile docs/examples/Makefile docs/libcurl/Makefile include/Makefile include/curl/Makefile src/Makefile lib/Makefile tests/Makefile tests/data/Makefile tests/server/Makefile tests/libtest/Makefile packages/Makefile packages/Win32/Makefile packages/Win32/cygwin/Makefile packages/Linux/Makefile packages/Linux/RPM/Makefile packages/Linux/RPM/curl.spec packages/Linux/RPM/curl-ssl.spec packages/Solaris/Makefile packages/DOS/Makefile packages/EPM/curl.list packages/EPM/Makefile packages/vms/Makefile curl-config libcurl.pc"
 
37021
ac_config_files="$ac_config_files Makefile docs/Makefile docs/examples/Makefile docs/libcurl/Makefile include/Makefile include/curl/Makefile src/Makefile lib/Makefile tests/Makefile tests/data/Makefile tests/server/Makefile tests/libtest/Makefile packages/Makefile packages/Win32/Makefile packages/Win32/cygwin/Makefile packages/Linux/Makefile packages/Linux/RPM/Makefile packages/Linux/RPM/curl.spec packages/Linux/RPM/curl-ssl.spec packages/Solaris/Makefile packages/DOS/Makefile packages/EPM/curl.list packages/EPM/Makefile packages/vms/Makefile packages/AIX/Makefile packages/AIX/RPM/Makefile packages/AIX/RPM/curl.spec curl-config libcurl.pc"
33885
37022
 
33886
37023
cat >confcache <<\_ACEOF
33887
37024
# This file is a shell script that caches the results of configure
33901
37038
 
33902
37039
# The following way of writing the cache mishandles newlines in values,
33903
37040
# but we know of no workaround that is simple, portable, and efficient.
33904
 
# So, don't put newlines in cache variables' values.
 
37041
# So, we kill variables containing newlines.
33905
37042
# Ultrix sh set writes to stderr and can't be redirected directly,
33906
37043
# and sets the high bit in the cache file unless we assign to the vars.
33907
 
{
 
37044
(
 
37045
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
37046
    eval ac_val=\$$ac_var
 
37047
    case $ac_val in #(
 
37048
    *${as_nl}*)
 
37049
      case $ac_var in #(
 
37050
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
37051
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
37052
      esac
 
37053
      case $ac_var in #(
 
37054
      _ | IFS | as_nl) ;; #(
 
37055
      *) $as_unset $ac_var ;;
 
37056
      esac ;;
 
37057
    esac
 
37058
  done
 
37059
 
33908
37060
  (set) 2>&1 |
33909
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
33910
 
    *ac_space=\ *)
 
37061
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
37062
    *${as_nl}ac_space=\ *)
33911
37063
      # `set' does not quote correctly, so add quotes (double-quote
33912
37064
      # substitution turns \\\\ into \\, and sed turns \\ into \).
33913
37065
      sed -n \
33914
37066
        "s/'/'\\\\''/g;
33915
37067
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33916
 
      ;;
 
37068
      ;; #(
33917
37069
    *)
33918
37070
      # `set' quotes correctly as required by POSIX, so do not add quotes.
33919
 
      sed -n \
33920
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
37071
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
33921
37072
      ;;
33922
 
    esac;
33923
 
} |
 
37073
    esac |
 
37074
    sort
 
37075
) |
33924
37076
  sed '
 
37077
     /^ac_cv_env_/b end
33925
37078
     t clear
33926
 
     : clear
 
37079
     :clear
33927
37080
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33928
37081
     t end
33929
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33930
 
     : end' >>confcache
33931
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
33932
 
  if test -w $cache_file; then
33933
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
37082
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
37083
     :end' >>confcache
 
37084
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
37085
  if test -w "$cache_file"; then
 
37086
    test "x$cache_file" != "x/dev/null" &&
 
37087
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
37088
echo "$as_me: updating cache $cache_file" >&6;}
33934
37089
    cat confcache >$cache_file
33935
37090
  else
33936
 
    echo "not updating unwritable cache $cache_file"
 
37091
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
37092
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
33937
37093
  fi
33938
37094
fi
33939
37095
rm -f confcache
33942
37098
# Let make expand exec_prefix.
33943
37099
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33944
37100
 
33945
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
33946
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
33947
 
# trailing colons and then remove the whole line if VPATH becomes empty
33948
 
# (actually we leave an empty line to preserve line numbers).
33949
 
if test "x$srcdir" = x.; then
33950
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
33951
 
s/:*\$(srcdir):*/:/;
33952
 
s/:*\${srcdir}:*/:/;
33953
 
s/:*@srcdir@:*/:/;
33954
 
s/^\([^=]*=[     ]*\):*/\1/;
33955
 
s/:*$//;
33956
 
s/^[^=]*=[       ]*$//;
33957
 
}'
33958
 
fi
33959
 
 
33960
37101
DEFS=-DHAVE_CONFIG_H
33961
37102
 
33962
37103
ac_libobjs=
33963
37104
ac_ltlibobjs=
33964
37105
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33965
37106
  # 1. Remove the extension, and $U if already installed.
33966
 
  ac_i=`echo "$ac_i" |
33967
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
33968
 
  # 2. Add them.
33969
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
33970
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
37107
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
37108
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
37109
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
37110
  #    will be set to the directory where LIBOBJS objects are built.
 
37111
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
37112
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
33971
37113
done
33972
37114
LIBOBJS=$ac_libobjs
33973
37115
 
34082
37224
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34083
37225
  # is contrary to our usage.  Disable this feature.
34084
37226
  alias -g '${1+"$@"}'='"$@"'
34085
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
34086
 
  set -o posix
 
37227
  setopt NO_GLOB_SUBST
 
37228
else
 
37229
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
34087
37230
fi
 
37231
BIN_SH=xpg4; export BIN_SH # for Tru64
34088
37232
DUALCASE=1; export DUALCASE # for MKS sh
34089
37233
 
 
37234
 
 
37235
# PATH needs CR
 
37236
# Avoid depending upon Character Ranges.
 
37237
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
37238
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
37239
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
37240
as_cr_digits='0123456789'
 
37241
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
37242
 
 
37243
# The user is always right.
 
37244
if test "${PATH_SEPARATOR+set}" != set; then
 
37245
  echo "#! /bin/sh" >conf$$.sh
 
37246
  echo  "exit 0"   >>conf$$.sh
 
37247
  chmod +x conf$$.sh
 
37248
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
37249
    PATH_SEPARATOR=';'
 
37250
  else
 
37251
    PATH_SEPARATOR=:
 
37252
  fi
 
37253
  rm -f conf$$.sh
 
37254
fi
 
37255
 
34090
37256
# Support unset when possible.
34091
37257
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34092
37258
  as_unset=unset
34095
37261
fi
34096
37262
 
34097
37263
 
 
37264
# IFS
 
37265
# We need space, tab and new line, in precisely that order.  Quoting is
 
37266
# there to prevent editors from complaining about space-tab.
 
37267
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
37268
# splitting by setting IFS to empty value.)
 
37269
as_nl='
 
37270
'
 
37271
IFS=" ""        $as_nl"
 
37272
 
 
37273
# Find who we are.  Look in the path if we contain no directory separator.
 
37274
case $0 in
 
37275
  *[\\/]* ) as_myself=$0 ;;
 
37276
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
37277
for as_dir in $PATH
 
37278
do
 
37279
  IFS=$as_save_IFS
 
37280
  test -z "$as_dir" && as_dir=.
 
37281
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
37282
done
 
37283
IFS=$as_save_IFS
 
37284
 
 
37285
     ;;
 
37286
esac
 
37287
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
37288
# in which case we are not to be found in the path.
 
37289
if test "x$as_myself" = x; then
 
37290
  as_myself=$0
 
37291
fi
 
37292
if test ! -f "$as_myself"; then
 
37293
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
37294
  { (exit 1); exit 1; }
 
37295
fi
 
37296
 
34098
37297
# Work around bugs in pre-3.0 UWIN ksh.
34099
 
$as_unset ENV MAIL MAILPATH
 
37298
for as_var in ENV MAIL MAILPATH
 
37299
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
37300
done
34100
37301
PS1='$ '
34101
37302
PS2='> '
34102
37303
PS4='+ '
34110
37311
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
34111
37312
    eval $as_var=C; export $as_var
34112
37313
  else
34113
 
    $as_unset $as_var
 
37314
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
34114
37315
  fi
34115
37316
done
34116
37317
 
34117
37318
# Required to use basename.
34118
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
37319
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
37320
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
34119
37321
  as_expr=expr
34120
37322
else
34121
37323
  as_expr=false
34122
37324
fi
34123
37325
 
34124
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
37326
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
34125
37327
  as_basename=basename
34126
37328
else
34127
37329
  as_basename=false
34129
37331
 
34130
37332
 
34131
37333
# Name of the executable.
34132
 
as_me=`$as_basename "$0" ||
 
37334
as_me=`$as_basename -- "$0" ||
34133
37335
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34134
37336
         X"$0" : 'X\(//\)$' \| \
34135
 
         X"$0" : 'X\(/\)$' \| \
34136
 
         .     : '\(.\)' 2>/dev/null ||
 
37337
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
34137
37338
echo X/"$0" |
34138
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
34139
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
34140
 
          /^X\/\(\/\).*/{ s//\1/; q; }
34141
 
          s/.*/./; q'`
34142
 
 
34143
 
 
34144
 
# PATH needs CR, and LINENO needs CR and PATH.
34145
 
# Avoid depending upon Character Ranges.
34146
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34147
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34148
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34149
 
as_cr_digits='0123456789'
34150
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
34151
 
 
34152
 
# The user is always right.
34153
 
if test "${PATH_SEPARATOR+set}" != set; then
34154
 
  echo "#! /bin/sh" >conf$$.sh
34155
 
  echo  "exit 0"   >>conf$$.sh
34156
 
  chmod +x conf$$.sh
34157
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
34158
 
    PATH_SEPARATOR=';'
34159
 
  else
34160
 
    PATH_SEPARATOR=:
34161
 
  fi
34162
 
  rm -f conf$$.sh
34163
 
fi
34164
 
 
34165
 
 
34166
 
  as_lineno_1=$LINENO
34167
 
  as_lineno_2=$LINENO
34168
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34169
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
34170
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
34171
 
  # Find who we are.  Look in the path if we contain no path at all
34172
 
  # relative or not.
34173
 
  case $0 in
34174
 
    *[\\/]* ) as_myself=$0 ;;
34175
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34176
 
for as_dir in $PATH
34177
 
do
34178
 
  IFS=$as_save_IFS
34179
 
  test -z "$as_dir" && as_dir=.
34180
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
34181
 
done
34182
 
 
34183
 
       ;;
34184
 
  esac
34185
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
34186
 
  # in which case we are not to be found in the path.
34187
 
  if test "x$as_myself" = x; then
34188
 
    as_myself=$0
34189
 
  fi
34190
 
  if test ! -f "$as_myself"; then
34191
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
34192
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
34193
 
   { (exit 1); exit 1; }; }
34194
 
  fi
34195
 
  case $CONFIG_SHELL in
34196
 
  '')
34197
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34198
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
34199
 
do
34200
 
  IFS=$as_save_IFS
34201
 
  test -z "$as_dir" && as_dir=.
34202
 
  for as_base in sh bash ksh sh5; do
34203
 
         case $as_dir in
34204
 
         /*)
34205
 
           if ("$as_dir/$as_base" -c '
34206
 
  as_lineno_1=$LINENO
34207
 
  as_lineno_2=$LINENO
34208
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34209
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
34210
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
34211
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
34212
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
34213
 
             CONFIG_SHELL=$as_dir/$as_base
34214
 
             export CONFIG_SHELL
34215
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
34216
 
           fi;;
34217
 
         esac
34218
 
       done
34219
 
done
34220
 
;;
34221
 
  esac
 
37339
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
37340
            s//\1/
 
37341
            q
 
37342
          }
 
37343
          /^X\/\(\/\/\)$/{
 
37344
            s//\1/
 
37345
            q
 
37346
          }
 
37347
          /^X\/\(\/\).*/{
 
37348
            s//\1/
 
37349
            q
 
37350
          }
 
37351
          s/.*/./; q'`
 
37352
 
 
37353
# CDPATH.
 
37354
$as_unset CDPATH
 
37355
 
 
37356
 
 
37357
 
 
37358
  as_lineno_1=$LINENO
 
37359
  as_lineno_2=$LINENO
 
37360
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
37361
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
34222
37362
 
34223
37363
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
34224
37364
  # uniformly replaced by the line number.  The first 'sed' inserts a
34225
 
  # line-number line before each line; the second 'sed' does the real
34226
 
  # work.  The second script uses 'N' to pair each line-number line
34227
 
  # with the numbered line, and appends trailing '-' during
34228
 
  # substitution so that $LINENO is not a special case at line end.
 
37365
  # line-number line after each line using $LINENO; the second 'sed'
 
37366
  # does the real work.  The second script uses 'N' to pair each
 
37367
  # line-number line with the line containing $LINENO, and appends
 
37368
  # trailing '-' during substitution so that $LINENO is not a special
 
37369
  # case at line end.
34229
37370
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
34230
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
34231
 
  sed '=' <$as_myself |
 
37371
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
37372
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
37373
  sed -n '
 
37374
    p
 
37375
    /[$]LINENO/=
 
37376
  ' <$as_myself |
34232
37377
    sed '
 
37378
      s/[$]LINENO.*/&-/
 
37379
      t lineno
 
37380
      b
 
37381
      :lineno
34233
37382
      N
34234
 
      s,$,-,
34235
 
      : loop
34236
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
37383
      :loop
 
37384
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
34237
37385
      t loop
34238
 
      s,-$,,
34239
 
      s,^['$as_cr_digits']*\n,,
 
37386
      s/-\n.*//
34240
37387
    ' >$as_me.lineno &&
34241
 
  chmod +x $as_me.lineno ||
34242
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
34243
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
37388
  chmod +x "$as_me.lineno" ||
 
37389
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
34244
37390
   { (exit 1); exit 1; }; }
34245
37391
 
34246
37392
  # Don't try to exec as it changes $[0], causing all sort of problems
34247
37393
  # (the dirname of $[0] is not the place where we might find the
34248
 
  # original and so on.  Autoconf is especially sensible to this).
34249
 
  . ./$as_me.lineno
 
37394
  # original and so on.  Autoconf is especially sensitive to this).
 
37395
  . "./$as_me.lineno"
34250
37396
  # Exit status is that of the last command.
34251
37397
  exit
34252
37398
}
34253
37399
 
34254
37400
 
34255
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
34256
 
  *c*,-n*) ECHO_N= ECHO_C='
34257
 
' ECHO_T='      ' ;;
34258
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
34259
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
37401
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
37402
  as_dirname=dirname
 
37403
else
 
37404
  as_dirname=false
 
37405
fi
 
37406
 
 
37407
ECHO_C= ECHO_N= ECHO_T=
 
37408
case `echo -n x` in
 
37409
-n*)
 
37410
  case `echo 'x\c'` in
 
37411
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
37412
  *)   ECHO_C='\c';;
 
37413
  esac;;
 
37414
*)
 
37415
  ECHO_N='-n';;
34260
37416
esac
34261
37417
 
34262
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
37418
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
37419
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
34263
37420
  as_expr=expr
34264
37421
else
34265
37422
  as_expr=false
34266
37423
fi
34267
37424
 
34268
37425
rm -f conf$$ conf$$.exe conf$$.file
 
37426
if test -d conf$$.dir; then
 
37427
  rm -f conf$$.dir/conf$$.file
 
37428
else
 
37429
  rm -f conf$$.dir
 
37430
  mkdir conf$$.dir
 
37431
fi
34269
37432
echo >conf$$.file
34270
37433
if ln -s conf$$.file conf$$ 2>/dev/null; then
34271
 
  # We could just check for DJGPP; but this test a) works b) is more generic
34272
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
34273
 
  if test -f conf$$.exe; then
34274
 
    # Don't use ln at all; we don't have any links
 
37434
  as_ln_s='ln -s'
 
37435
  # ... but there are two gotchas:
 
37436
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
37437
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
37438
  # In both cases, we have to default to `cp -p'.
 
37439
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
34275
37440
    as_ln_s='cp -p'
34276
 
  else
34277
 
    as_ln_s='ln -s'
34278
 
  fi
34279
37441
elif ln conf$$.file conf$$ 2>/dev/null; then
34280
37442
  as_ln_s=ln
34281
37443
else
34282
37444
  as_ln_s='cp -p'
34283
37445
fi
34284
 
rm -f conf$$ conf$$.exe conf$$.file
 
37446
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
37447
rmdir conf$$.dir 2>/dev/null
34285
37448
 
34286
37449
if mkdir -p . 2>/dev/null; then
34287
37450
  as_mkdir_p=:
34290
37453
  as_mkdir_p=false
34291
37454
fi
34292
37455
 
34293
 
as_executable_p="test -f"
 
37456
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 
37457
# systems may use methods other than mode bits to determine executability.
 
37458
cat >conf$$.file <<_ASEOF
 
37459
#! /bin/sh
 
37460
exit 0
 
37461
_ASEOF
 
37462
chmod +x conf$$.file
 
37463
if test -x conf$$.file >/dev/null 2>&1; then
 
37464
  as_executable_p="test -x"
 
37465
else
 
37466
  as_executable_p=:
 
37467
fi
 
37468
rm -f conf$$.file
34294
37469
 
34295
37470
# Sed expression to map a string onto a valid CPP name.
34296
37471
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34299
37474
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34300
37475
 
34301
37476
 
34302
 
# IFS
34303
 
# We need space, tab and new line, in precisely that order.
34304
 
as_nl='
34305
 
'
34306
 
IFS="   $as_nl"
34307
 
 
34308
 
# CDPATH.
34309
 
$as_unset CDPATH
34310
 
 
34311
37477
exec 6>&1
34312
37478
 
34313
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
37479
# Save the log message, to keep $[0] and so on meaningful, and to
34314
37480
# report actual input values of CONFIG_FILES etc. instead of their
34315
 
# values after options handling.  Logging --version etc. is OK.
34316
 
exec 5>>config.log
34317
 
{
34318
 
  echo
34319
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34320
 
## Running $as_me. ##
34321
 
_ASBOX
34322
 
} >&5
34323
 
cat >&5 <<_CSEOF
34324
 
 
 
37481
# values after options handling.
 
37482
ac_log="
34325
37483
This file was extended by curl $as_me -, which was
34326
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
37484
generated by GNU Autoconf 2.59d.  Invocation command line was
34327
37485
 
34328
37486
  CONFIG_FILES    = $CONFIG_FILES
34329
37487
  CONFIG_HEADERS  = $CONFIG_HEADERS
34331
37489
  CONFIG_COMMANDS = $CONFIG_COMMANDS
34332
37490
  $ $0 $@
34333
37491
 
34334
 
_CSEOF
34335
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
34336
 
echo >&5
 
37492
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
37493
"
 
37494
 
34337
37495
_ACEOF
34338
37496
 
 
37497
cat >>$CONFIG_STATUS <<_ACEOF
34339
37498
# Files that config.status was made for.
34340
 
if test -n "$ac_config_files"; then
34341
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
34342
 
fi
34343
 
 
34344
 
if test -n "$ac_config_headers"; then
34345
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
34346
 
fi
34347
 
 
34348
 
if test -n "$ac_config_links"; then
34349
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
34350
 
fi
34351
 
 
34352
 
if test -n "$ac_config_commands"; then
34353
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
34354
 
fi
 
37499
config_files="$ac_config_files"
 
37500
config_headers="$ac_config_headers"
 
37501
config_commands="$ac_config_commands"
 
37502
 
 
37503
_ACEOF
34355
37504
 
34356
37505
cat >>$CONFIG_STATUS <<\_ACEOF
34357
 
 
34358
37506
ac_cs_usage="\
34359
37507
\`$as_me' instantiates files from templates according to the
34360
37508
current configuration.
34381
37529
$config_commands
34382
37530
 
34383
37531
Report bugs to <bug-autoconf@gnu.org>."
 
37532
 
34384
37533
_ACEOF
34385
 
 
34386
37534
cat >>$CONFIG_STATUS <<_ACEOF
34387
37535
ac_cs_version="\\
34388
37536
curl config.status -
34389
 
configured by $0, generated by GNU Autoconf 2.59,
34390
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
37537
configured by $0, generated by GNU Autoconf 2.59d,
 
37538
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
34391
37539
 
34392
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
37540
Copyright (C) 2006 Free Software Foundation, Inc.
34393
37541
This config.status script is free software; the Free Software Foundation
34394
37542
gives unlimited permission to copy, distribute and modify it."
34395
 
srcdir=$srcdir
34396
 
INSTALL="$INSTALL"
 
37543
 
 
37544
ac_pwd='$ac_pwd'
 
37545
srcdir='$srcdir'
 
37546
INSTALL='$INSTALL'
34397
37547
_ACEOF
34398
37548
 
34399
37549
cat >>$CONFIG_STATUS <<\_ACEOF
34404
37554
do
34405
37555
  case $1 in
34406
37556
  --*=*)
34407
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
34408
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
37557
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
37558
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
34409
37559
    ac_shift=:
34410
37560
    ;;
34411
 
  -*)
 
37561
  *)
34412
37562
    ac_option=$1
34413
37563
    ac_optarg=$2
34414
37564
    ac_shift=shift
34415
37565
    ;;
34416
 
  *) # This is not an option, so the user has probably given explicit
34417
 
     # arguments.
34418
 
     ac_option=$1
34419
 
     ac_need_defaults=false;;
34420
37566
  esac
34421
37567
 
34422
37568
  case $ac_option in
34423
37569
  # Handling of the options.
34424
 
_ACEOF
34425
 
cat >>$CONFIG_STATUS <<\_ACEOF
34426
37570
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
34427
37571
    ac_cs_recheck=: ;;
34428
 
  --version | --vers* | -V )
34429
 
    echo "$ac_cs_version"; exit 0 ;;
34430
 
  --he | --h)
34431
 
    # Conflict between --help and --header
34432
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
34433
 
Try \`$0 --help' for more information." >&5
34434
 
echo "$as_me: error: ambiguous option: $1
34435
 
Try \`$0 --help' for more information." >&2;}
34436
 
   { (exit 1); exit 1; }; };;
34437
 
  --help | --hel | -h )
34438
 
    echo "$ac_cs_usage"; exit 0 ;;
34439
 
  --debug | --d* | -d )
 
37572
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
37573
    echo "$ac_cs_version"; exit ;;
 
37574
  --debug | --debu | --deb | --de | --d | -d )
34440
37575
    debug=: ;;
34441
37576
  --file | --fil | --fi | --f )
34442
37577
    $ac_shift
34446
37581
    $ac_shift
34447
37582
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
34448
37583
    ac_need_defaults=false;;
 
37584
  --he | --h)
 
37585
    # Conflict between --help and --header
 
37586
    { echo "$as_me: error: ambiguous option: $1
 
37587
Try \`$0 --help' for more information." >&2
 
37588
   { (exit 1); exit 1; }; };;
 
37589
  --help | --hel | -h )
 
37590
    echo "$ac_cs_usage"; exit ;;
34449
37591
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
34450
37592
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
34451
37593
    ac_cs_silent=: ;;
34452
37594
 
34453
37595
  # This is an error.
34454
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
34455
 
Try \`$0 --help' for more information." >&5
34456
 
echo "$as_me: error: unrecognized option: $1
34457
 
Try \`$0 --help' for more information." >&2;}
 
37596
  -*) { echo "$as_me: error: unrecognized option: $1
 
37597
Try \`$0 --help' for more information." >&2
34458
37598
   { (exit 1); exit 1; }; } ;;
34459
37599
 
34460
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
37600
  *) ac_config_targets="$ac_config_targets $1"
 
37601
     ac_need_defaults=false ;;
34461
37602
 
34462
37603
  esac
34463
37604
  shift
34473
37614
_ACEOF
34474
37615
cat >>$CONFIG_STATUS <<_ACEOF
34475
37616
if \$ac_cs_recheck; then
34476
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
34477
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
37617
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
37618
  CONFIG_SHELL=$SHELL
 
37619
  export CONFIG_SHELL
 
37620
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34478
37621
fi
34479
37622
 
34480
37623
_ACEOF
 
37624
cat >>$CONFIG_STATUS <<\_ACEOF
 
37625
exec 5>>config.log
 
37626
{
 
37627
  echo
 
37628
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
37629
## Running $as_me. ##
 
37630
_ASBOX
 
37631
  echo "$ac_log"
 
37632
} >&5
34481
37633
 
 
37634
_ACEOF
34482
37635
cat >>$CONFIG_STATUS <<_ACEOF
34483
37636
#
34484
 
# INIT-COMMANDS section.
 
37637
# INIT-COMMANDS
34485
37638
#
34486
 
 
34487
37639
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
34488
37640
 
34489
37641
_ACEOF
34490
37642
 
34491
 
 
34492
 
 
34493
37643
cat >>$CONFIG_STATUS <<\_ACEOF
 
37644
 
 
37645
# Handling of arguments.
34494
37646
for ac_config_target in $ac_config_targets
34495
37647
do
34496
 
  case "$ac_config_target" in
34497
 
  # Handling of arguments.
34498
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
34499
 
  "docs/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
34500
 
  "docs/examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/examples/Makefile" ;;
34501
 
  "docs/libcurl/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/libcurl/Makefile" ;;
34502
 
  "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
34503
 
  "include/curl/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/curl/Makefile" ;;
34504
 
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
34505
 
  "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
34506
 
  "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
34507
 
  "tests/data/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/data/Makefile" ;;
34508
 
  "tests/server/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/server/Makefile" ;;
34509
 
  "tests/libtest/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/libtest/Makefile" ;;
34510
 
  "packages/Makefile" ) CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;
34511
 
  "packages/Win32/Makefile" ) CONFIG_FILES="$CONFIG_FILES packages/Win32/Makefile" ;;
34512
 
  "packages/Win32/cygwin/Makefile" ) CONFIG_FILES="$CONFIG_FILES packages/Win32/cygwin/Makefile" ;;
34513
 
  "packages/Linux/Makefile" ) CONFIG_FILES="$CONFIG_FILES packages/Linux/Makefile" ;;
34514
 
  "packages/Linux/RPM/Makefile" ) CONFIG_FILES="$CONFIG_FILES packages/Linux/RPM/Makefile" ;;
34515
 
  "packages/Linux/RPM/curl.spec" ) CONFIG_FILES="$CONFIG_FILES packages/Linux/RPM/curl.spec" ;;
34516
 
  "packages/Linux/RPM/curl-ssl.spec" ) CONFIG_FILES="$CONFIG_FILES packages/Linux/RPM/curl-ssl.spec" ;;
34517
 
  "packages/Solaris/Makefile" ) CONFIG_FILES="$CONFIG_FILES packages/Solaris/Makefile" ;;
34518
 
  "packages/DOS/Makefile" ) CONFIG_FILES="$CONFIG_FILES packages/DOS/Makefile" ;;
34519
 
  "packages/EPM/curl.list" ) CONFIG_FILES="$CONFIG_FILES packages/EPM/curl.list" ;;
34520
 
  "packages/EPM/Makefile" ) CONFIG_FILES="$CONFIG_FILES packages/EPM/Makefile" ;;
34521
 
  "packages/vms/Makefile" ) CONFIG_FILES="$CONFIG_FILES packages/vms/Makefile" ;;
34522
 
  "curl-config" ) CONFIG_FILES="$CONFIG_FILES curl-config" ;;
34523
 
  "libcurl.pc" ) CONFIG_FILES="$CONFIG_FILES libcurl.pc" ;;
34524
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
34525
 
  "lib/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/config.h" ;;
34526
 
  "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
 
37648
  case $ac_config_target in
 
37649
    "lib/config.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/config.h" ;;
 
37650
    "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
 
37651
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
37652
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
37653
    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
 
37654
    "docs/examples/Makefile") CONFIG_FILES="$CONFIG_FILES docs/examples/Makefile" ;;
 
37655
    "docs/libcurl/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libcurl/Makefile" ;;
 
37656
    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
 
37657
    "include/curl/Makefile") CONFIG_FILES="$CONFIG_FILES include/curl/Makefile" ;;
 
37658
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
37659
    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
 
37660
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
 
37661
    "tests/data/Makefile") CONFIG_FILES="$CONFIG_FILES tests/data/Makefile" ;;
 
37662
    "tests/server/Makefile") CONFIG_FILES="$CONFIG_FILES tests/server/Makefile" ;;
 
37663
    "tests/libtest/Makefile") CONFIG_FILES="$CONFIG_FILES tests/libtest/Makefile" ;;
 
37664
    "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;
 
37665
    "packages/Win32/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Win32/Makefile" ;;
 
37666
    "packages/Win32/cygwin/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Win32/cygwin/Makefile" ;;
 
37667
    "packages/Linux/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Linux/Makefile" ;;
 
37668
    "packages/Linux/RPM/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Linux/RPM/Makefile" ;;
 
37669
    "packages/Linux/RPM/curl.spec") CONFIG_FILES="$CONFIG_FILES packages/Linux/RPM/curl.spec" ;;
 
37670
    "packages/Linux/RPM/curl-ssl.spec") CONFIG_FILES="$CONFIG_FILES packages/Linux/RPM/curl-ssl.spec" ;;
 
37671
    "packages/Solaris/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Solaris/Makefile" ;;
 
37672
    "packages/DOS/Makefile") CONFIG_FILES="$CONFIG_FILES packages/DOS/Makefile" ;;
 
37673
    "packages/EPM/curl.list") CONFIG_FILES="$CONFIG_FILES packages/EPM/curl.list" ;;
 
37674
    "packages/EPM/Makefile") CONFIG_FILES="$CONFIG_FILES packages/EPM/Makefile" ;;
 
37675
    "packages/vms/Makefile") CONFIG_FILES="$CONFIG_FILES packages/vms/Makefile" ;;
 
37676
    "packages/AIX/Makefile") CONFIG_FILES="$CONFIG_FILES packages/AIX/Makefile" ;;
 
37677
    "packages/AIX/RPM/Makefile") CONFIG_FILES="$CONFIG_FILES packages/AIX/RPM/Makefile" ;;
 
37678
    "packages/AIX/RPM/curl.spec") CONFIG_FILES="$CONFIG_FILES packages/AIX/RPM/curl.spec" ;;
 
37679
    "curl-config") CONFIG_FILES="$CONFIG_FILES curl-config" ;;
 
37680
    "libcurl.pc") CONFIG_FILES="$CONFIG_FILES libcurl.pc" ;;
 
37681
 
34527
37682
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
34528
37683
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
34529
37684
   { (exit 1); exit 1; }; };;
34530
37685
  esac
34531
37686
done
34532
37687
 
 
37688
 
34533
37689
# If the user did not use the arguments to specify the items to instantiate,
34534
37690
# then the envvar interface is used.  Set only those that are not.
34535
37691
# We use the long form for the default assignment because of an extremely
34541
37697
fi
34542
37698
 
34543
37699
# Have a temporary directory for convenience.  Make it in the build tree
34544
 
# simply because there is no reason to put it here, and in addition,
 
37700
# simply because there is no reason against having it here, and in addition,
34545
37701
# creating and moving files from /tmp can sometimes cause problems.
34546
 
# Create a temporary directory, and hook for its removal unless debugging.
 
37702
# Hook for its removal unless debugging.
 
37703
# Note that there is a small window in which the directory will not be cleaned:
 
37704
# after its creation but before its name has been assigned to `$tmp'.
34547
37705
$debug ||
34548
37706
{
34549
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
37707
  tmp=
 
37708
  trap 'exit_status=$?
 
37709
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
37710
' 0
34550
37711
  trap '{ (exit 1); exit 1; }' 1 2 13 15
34551
37712
}
34552
 
 
34553
37713
# Create a (secure) tmp directory for tmp files.
34554
37714
 
34555
37715
{
34556
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
37716
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
34557
37717
  test -n "$tmp" && test -d "$tmp"
34558
37718
}  ||
34559
37719
{
34560
 
  tmp=./confstat$$-$RANDOM
34561
 
  (umask 077 && mkdir $tmp)
 
37720
  tmp=./conf$$-$RANDOM
 
37721
  (umask 077 && mkdir "$tmp")
34562
37722
} ||
34563
37723
{
34564
37724
   echo "$me: cannot create a temporary directory in ." >&2
34565
37725
   { (exit 1); exit 1; }
34566
37726
}
34567
37727
 
34568
 
_ACEOF
34569
 
 
34570
 
cat >>$CONFIG_STATUS <<_ACEOF
34571
 
 
34572
37728
#
34573
 
# CONFIG_FILES section.
 
37729
# Set up the sed scripts for CONFIG_FILES section.
34574
37730
#
34575
37731
 
34576
37732
# No need to generate the scripts if there are no CONFIG_FILES.
34577
37733
# This happens for instance when ./config.status config.h
34578
 
if test -n "\$CONFIG_FILES"; then
34579
 
  # Protect against being on the right side of a sed subst in config.status.
34580
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
34581
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
34582
 
s,@SHELL@,$SHELL,;t t
34583
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
34584
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
34585
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
34586
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
34587
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
34588
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
34589
 
s,@exec_prefix@,$exec_prefix,;t t
34590
 
s,@prefix@,$prefix,;t t
34591
 
s,@program_transform_name@,$program_transform_name,;t t
34592
 
s,@bindir@,$bindir,;t t
34593
 
s,@sbindir@,$sbindir,;t t
34594
 
s,@libexecdir@,$libexecdir,;t t
34595
 
s,@datadir@,$datadir,;t t
34596
 
s,@sysconfdir@,$sysconfdir,;t t
34597
 
s,@sharedstatedir@,$sharedstatedir,;t t
34598
 
s,@localstatedir@,$localstatedir,;t t
34599
 
s,@libdir@,$libdir,;t t
34600
 
s,@includedir@,$includedir,;t t
34601
 
s,@oldincludedir@,$oldincludedir,;t t
34602
 
s,@infodir@,$infodir,;t t
34603
 
s,@mandir@,$mandir,;t t
34604
 
s,@build_alias@,$build_alias,;t t
34605
 
s,@host_alias@,$host_alias,;t t
34606
 
s,@target_alias@,$target_alias,;t t
34607
 
s,@DEFS@,$DEFS,;t t
34608
 
s,@ECHO_C@,$ECHO_C,;t t
34609
 
s,@ECHO_N@,$ECHO_N,;t t
34610
 
s,@ECHO_T@,$ECHO_T,;t t
34611
 
s,@LIBS@,$LIBS,;t t
34612
 
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
34613
 
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
34614
 
s,@MAINT@,$MAINT,;t t
34615
 
s,@SED@,$SED,;t t
34616
 
s,@AR@,$AR,;t t
34617
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
34618
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
34619
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
34620
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
34621
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
34622
 
s,@PACKAGE@,$PACKAGE,;t t
34623
 
s,@VERSION@,$VERSION,;t t
34624
 
s,@ACLOCAL@,$ACLOCAL,;t t
34625
 
s,@AUTOCONF@,$AUTOCONF,;t t
34626
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
34627
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
34628
 
s,@MAKEINFO@,$MAKEINFO,;t t
34629
 
s,@install_sh@,$install_sh,;t t
34630
 
s,@STRIP@,$STRIP,;t t
34631
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
34632
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
34633
 
s,@mkdir_p@,$mkdir_p,;t t
34634
 
s,@AWK@,$AWK,;t t
34635
 
s,@SET_MAKE@,$SET_MAKE,;t t
34636
 
s,@am__leading_dot@,$am__leading_dot,;t t
34637
 
s,@AMTAR@,$AMTAR,;t t
34638
 
s,@am__tar@,$am__tar,;t t
34639
 
s,@am__untar@,$am__untar,;t t
34640
 
s,@VERSIONNUM@,$VERSIONNUM,;t t
34641
 
s,@PKGADD_PKG@,$PKGADD_PKG,;t t
34642
 
s,@PKGADD_NAME@,$PKGADD_NAME,;t t
34643
 
s,@PKGADD_VENDOR@,$PKGADD_VENDOR,;t t
34644
 
s,@build@,$build,;t t
34645
 
s,@build_cpu@,$build_cpu,;t t
34646
 
s,@build_vendor@,$build_vendor,;t t
34647
 
s,@build_os@,$build_os,;t t
34648
 
s,@host@,$host,;t t
34649
 
s,@host_cpu@,$host_cpu,;t t
34650
 
s,@host_vendor@,$host_vendor,;t t
34651
 
s,@host_os@,$host_os,;t t
34652
 
s,@CC@,$CC,;t t
34653
 
s,@CFLAGS@,$CFLAGS,;t t
34654
 
s,@LDFLAGS@,$LDFLAGS,;t t
34655
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
34656
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
34657
 
s,@EXEEXT@,$EXEEXT,;t t
34658
 
s,@OBJEXT@,$OBJEXT,;t t
34659
 
s,@DEPDIR@,$DEPDIR,;t t
34660
 
s,@am__include@,$am__include,;t t
34661
 
s,@am__quote@,$am__quote,;t t
34662
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
34663
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
34664
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
34665
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
34666
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
34667
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
34668
 
s,@CPP@,$CPP,;t t
34669
 
s,@EGREP@,$EGREP,;t t
34670
 
s,@LN_S@,$LN_S,;t t
34671
 
s,@ECHO@,$ECHO,;t t
34672
 
s,@RANLIB@,$RANLIB,;t t
34673
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
34674
 
s,@DLLTOOL@,$DLLTOOL,;t t
34675
 
s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
34676
 
s,@AS@,$AS,;t t
34677
 
s,@ac_ct_AS@,$ac_ct_AS,;t t
34678
 
s,@OBJDUMP@,$OBJDUMP,;t t
34679
 
s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
34680
 
s,@CXX@,$CXX,;t t
34681
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
34682
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
34683
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
34684
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
34685
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
34686
 
s,@CXXCPP@,$CXXCPP,;t t
34687
 
s,@F77@,$F77,;t t
34688
 
s,@FFLAGS@,$FFLAGS,;t t
34689
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
34690
 
s,@LIBTOOL@,$LIBTOOL,;t t
34691
 
s,@NO_UNDEFINED_TRUE@,$NO_UNDEFINED_TRUE,;t t
34692
 
s,@NO_UNDEFINED_FALSE@,$NO_UNDEFINED_FALSE,;t t
34693
 
s,@MIMPURE_TRUE@,$MIMPURE_TRUE,;t t
34694
 
s,@MIMPURE_FALSE@,$MIMPURE_FALSE,;t t
34695
 
s,@CURL_DISABLE_HTTP@,$CURL_DISABLE_HTTP,;t t
34696
 
s,@CURL_DISABLE_GOPHER@,$CURL_DISABLE_GOPHER,;t t
34697
 
s,@CURL_DISABLE_FTP@,$CURL_DISABLE_FTP,;t t
34698
 
s,@CURL_DISABLE_FILE@,$CURL_DISABLE_FILE,;t t
34699
 
s,@CURL_DISABLE_LDAP@,$CURL_DISABLE_LDAP,;t t
34700
 
s,@CURL_DISABLE_DICT@,$CURL_DISABLE_DICT,;t t
34701
 
s,@CURL_DISABLE_TELNET@,$CURL_DISABLE_TELNET,;t t
34702
 
s,@CURL_DISABLE_TFTP@,$CURL_DISABLE_TFTP,;t t
34703
 
s,@IPV6_ENABLED@,$IPV6_ENABLED,;t t
34704
 
s,@KRB4_ENABLED@,$KRB4_ENABLED,;t t
34705
 
s,@PKGCONFIG@,$PKGCONFIG,;t t
34706
 
s,@USE_SSLEAY@,$USE_SSLEAY,;t t
34707
 
s,@RANDOM_FILE@,$RANDOM_FILE,;t t
34708
 
s,@USE_GNUTLS@,$USE_GNUTLS,;t t
34709
 
s,@CURL_CA_BUNDLE@,$CURL_CA_BUNDLE,;t t
34710
 
s,@CABUNDLE_TRUE@,$CABUNDLE_TRUE,;t t
34711
 
s,@CABUNDLE_FALSE@,$CABUNDLE_FALSE,;t t
34712
 
s,@HAVE_LIBZ@,$HAVE_LIBZ,;t t
34713
 
s,@HAVE_LIBZ_TRUE@,$HAVE_LIBZ_TRUE,;t t
34714
 
s,@HAVE_LIBZ_FALSE@,$HAVE_LIBZ_FALSE,;t t
34715
 
s,@IDN_ENABLED@,$IDN_ENABLED,;t t
34716
 
s,@PERL@,$PERL,;t t
34717
 
s,@NROFF@,$NROFF,;t t
34718
 
s,@MANOPT@,$MANOPT,;t t
34719
 
s,@USE_MANUAL_TRUE@,$USE_MANUAL_TRUE,;t t
34720
 
s,@USE_MANUAL_FALSE@,$USE_MANUAL_FALSE,;t t
34721
 
s,@HAVE_ARES@,$HAVE_ARES,;t t
34722
 
s,@subdirs@,$subdirs,;t t
34723
 
s,@CURL_DISABLE_VERBOSE_STRINGS@,$CURL_DISABLE_VERBOSE_STRINGS,;t t
34724
 
s,@USE_WINDOWS_SSPI@,$USE_WINDOWS_SSPI,;t t
34725
 
s,@CURL_DISABLE_CRYPTO_AUTH@,$CURL_DISABLE_CRYPTO_AUTH,;t t
34726
 
s,@CURL_DISABLE_COOKIES@,$CURL_DISABLE_COOKIES,;t t
34727
 
s,@CROSSCOMPILING_TRUE@,$CROSSCOMPILING_TRUE,;t t
34728
 
s,@CROSSCOMPILING_FALSE@,$CROSSCOMPILING_FALSE,;t t
34729
 
s,@LIBOBJS@,$LIBOBJS,;t t
34730
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
34731
 
CEOF
34732
 
 
34733
 
_ACEOF
34734
 
 
34735
 
  cat >>$CONFIG_STATUS <<\_ACEOF
34736
 
  # Split the substitutions into bite-sized pieces for seds with
34737
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
34738
 
  ac_max_sed_lines=48
34739
 
  ac_sed_frag=1 # Number of current file.
34740
 
  ac_beg=1 # First line for current file.
34741
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
34742
 
  ac_more_lines=:
34743
 
  ac_sed_cmds=
34744
 
  while $ac_more_lines; do
34745
 
    if test $ac_beg -gt 1; then
34746
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
34747
 
    else
34748
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
34749
 
    fi
34750
 
    if test ! -s $tmp/subs.frag; then
34751
 
      ac_more_lines=false
34752
 
    else
34753
 
      # The purpose of the label and of the branching condition is to
34754
 
      # speed up the sed processing (if there are no `@' at all, there
34755
 
      # is no need to browse any of the substitutions).
34756
 
      # These are the two extra sed commands mentioned above.
34757
 
      (echo ':t
34758
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
34759
 
      if test -z "$ac_sed_cmds"; then
34760
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
34761
 
      else
34762
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
34763
 
      fi
34764
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
34765
 
      ac_beg=$ac_end
34766
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
34767
 
    fi
34768
 
  done
34769
 
  if test -z "$ac_sed_cmds"; then
34770
 
    ac_sed_cmds=cat
34771
 
  fi
 
37734
if test -n "$CONFIG_FILES"; then
 
37735
 
 
37736
_ACEOF
 
37737
 
 
37738
 
 
37739
 
 
37740
ac_delim='%!_!# '
 
37741
for ac_last_try in false false false false false :; do
 
37742
  cat >conf$$subs.sed <<_ACEOF
 
37743
SHELL!$SHELL$ac_delim
 
37744
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
37745
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
37746
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
37747
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
37748
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
37749
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
37750
exec_prefix!$exec_prefix$ac_delim
 
37751
prefix!$prefix$ac_delim
 
37752
program_transform_name!$program_transform_name$ac_delim
 
37753
bindir!$bindir$ac_delim
 
37754
sbindir!$sbindir$ac_delim
 
37755
libexecdir!$libexecdir$ac_delim
 
37756
datarootdir!$datarootdir$ac_delim
 
37757
datadir!$datadir$ac_delim
 
37758
sysconfdir!$sysconfdir$ac_delim
 
37759
sharedstatedir!$sharedstatedir$ac_delim
 
37760
localstatedir!$localstatedir$ac_delim
 
37761
includedir!$includedir$ac_delim
 
37762
oldincludedir!$oldincludedir$ac_delim
 
37763
docdir!$docdir$ac_delim
 
37764
infodir!$infodir$ac_delim
 
37765
htmldir!$htmldir$ac_delim
 
37766
dvidir!$dvidir$ac_delim
 
37767
pdfdir!$pdfdir$ac_delim
 
37768
psdir!$psdir$ac_delim
 
37769
libdir!$libdir$ac_delim
 
37770
localedir!$localedir$ac_delim
 
37771
mandir!$mandir$ac_delim
 
37772
DEFS!$DEFS$ac_delim
 
37773
ECHO_C!$ECHO_C$ac_delim
 
37774
ECHO_N!$ECHO_N$ac_delim
 
37775
ECHO_T!$ECHO_T$ac_delim
 
37776
LIBS!$LIBS$ac_delim
 
37777
build_alias!$build_alias$ac_delim
 
37778
host_alias!$host_alias$ac_delim
 
37779
target_alias!$target_alias$ac_delim
 
37780
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
 
37781
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
 
37782
MAINT!$MAINT$ac_delim
 
37783
SED!$SED$ac_delim
 
37784
AR!$AR$ac_delim
 
37785
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
37786
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
37787
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
37788
CYGPATH_W!$CYGPATH_W$ac_delim
 
37789
PACKAGE!$PACKAGE$ac_delim
 
37790
VERSION!$VERSION$ac_delim
 
37791
ACLOCAL!$ACLOCAL$ac_delim
 
37792
AUTOCONF!$AUTOCONF$ac_delim
 
37793
AUTOMAKE!$AUTOMAKE$ac_delim
 
37794
AUTOHEADER!$AUTOHEADER$ac_delim
 
37795
MAKEINFO!$MAKEINFO$ac_delim
 
37796
install_sh!$install_sh$ac_delim
 
37797
STRIP!$STRIP$ac_delim
 
37798
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
37799
mkdir_p!$mkdir_p$ac_delim
 
37800
AWK!$AWK$ac_delim
 
37801
SET_MAKE!$SET_MAKE$ac_delim
 
37802
am__leading_dot!$am__leading_dot$ac_delim
 
37803
AMTAR!$AMTAR$ac_delim
 
37804
am__tar!$am__tar$ac_delim
 
37805
am__untar!$am__untar$ac_delim
 
37806
VERSIONNUM!$VERSIONNUM$ac_delim
 
37807
PKGADD_PKG!$PKGADD_PKG$ac_delim
 
37808
PKGADD_NAME!$PKGADD_NAME$ac_delim
 
37809
PKGADD_VENDOR!$PKGADD_VENDOR$ac_delim
 
37810
build!$build$ac_delim
 
37811
build_cpu!$build_cpu$ac_delim
 
37812
build_vendor!$build_vendor$ac_delim
 
37813
build_os!$build_os$ac_delim
 
37814
host!$host$ac_delim
 
37815
host_cpu!$host_cpu$ac_delim
 
37816
host_vendor!$host_vendor$ac_delim
 
37817
host_os!$host_os$ac_delim
 
37818
CC!$CC$ac_delim
 
37819
CFLAGS!$CFLAGS$ac_delim
 
37820
LDFLAGS!$LDFLAGS$ac_delim
 
37821
CPPFLAGS!$CPPFLAGS$ac_delim
 
37822
ac_ct_CC!$ac_ct_CC$ac_delim
 
37823
EXEEXT!$EXEEXT$ac_delim
 
37824
OBJEXT!$OBJEXT$ac_delim
 
37825
DEPDIR!$DEPDIR$ac_delim
 
37826
am__include!$am__include$ac_delim
 
37827
am__quote!$am__quote$ac_delim
 
37828
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
37829
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
37830
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
37831
CCDEPMODE!$CCDEPMODE$ac_delim
 
37832
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
37833
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
37834
CPP!$CPP$ac_delim
 
37835
GREP!$GREP$ac_delim
 
37836
EGREP!$EGREP$ac_delim
 
37837
LN_S!$LN_S$ac_delim
 
37838
ECHO!$ECHO$ac_delim
 
37839
RANLIB!$RANLIB$ac_delim
 
37840
_ACEOF
 
37841
 
 
37842
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
37843
    break
 
37844
  elif $ac_last_try; then
 
37845
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
37846
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
37847
   { (exit 1); exit 1; }; }
 
37848
  else
 
37849
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
37850
  fi
 
37851
done
 
37852
 
 
37853
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
37854
if test -n "$ac_eof"; then
 
37855
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
37856
  ac_eof=`expr $ac_eof + 1`
 
37857
fi
 
37858
 
 
37859
cat >>$CONFIG_STATUS <<_ACEOF
 
37860
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
37861
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
37862
_ACEOF
 
37863
sed '
 
37864
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
37865
s/^/s,@/; s/!/@,|#_!!_#|/
 
37866
:n
 
37867
t n
 
37868
s/'"$ac_delim"'$/,g/; t
 
37869
s/$/\\/; p
 
37870
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
37871
' >>$CONFIG_STATUS <conf$$subs.sed
 
37872
rm -f conf$$subs.sed
 
37873
cat >>$CONFIG_STATUS <<_ACEOF
 
37874
CEOF$ac_eof
 
37875
_ACEOF
 
37876
 
 
37877
 
 
37878
ac_delim='%!_!# '
 
37879
for ac_last_try in false false false false false :; do
 
37880
  cat >conf$$subs.sed <<_ACEOF
 
37881
DLLTOOL!$DLLTOOL$ac_delim
 
37882
AS!$AS$ac_delim
 
37883
OBJDUMP!$OBJDUMP$ac_delim
 
37884
CXX!$CXX$ac_delim
 
37885
CXXFLAGS!$CXXFLAGS$ac_delim
 
37886
ac_ct_CXX!$ac_ct_CXX$ac_delim
 
37887
CXXDEPMODE!$CXXDEPMODE$ac_delim
 
37888
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
 
37889
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
 
37890
CXXCPP!$CXXCPP$ac_delim
 
37891
F77!$F77$ac_delim
 
37892
FFLAGS!$FFLAGS$ac_delim
 
37893
ac_ct_F77!$ac_ct_F77$ac_delim
 
37894
LIBTOOL!$LIBTOOL$ac_delim
 
37895
NO_UNDEFINED_TRUE!$NO_UNDEFINED_TRUE$ac_delim
 
37896
NO_UNDEFINED_FALSE!$NO_UNDEFINED_FALSE$ac_delim
 
37897
MIMPURE_TRUE!$MIMPURE_TRUE$ac_delim
 
37898
MIMPURE_FALSE!$MIMPURE_FALSE$ac_delim
 
37899
CURL_DISABLE_HTTP!$CURL_DISABLE_HTTP$ac_delim
 
37900
CURL_DISABLE_FTP!$CURL_DISABLE_FTP$ac_delim
 
37901
CURL_DISABLE_FILE!$CURL_DISABLE_FILE$ac_delim
 
37902
CURL_DISABLE_LDAP!$CURL_DISABLE_LDAP$ac_delim
 
37903
CURL_DISABLE_DICT!$CURL_DISABLE_DICT$ac_delim
 
37904
CURL_DISABLE_TELNET!$CURL_DISABLE_TELNET$ac_delim
 
37905
CURL_DISABLE_TFTP!$CURL_DISABLE_TFTP$ac_delim
 
37906
IPV6_ENABLED!$IPV6_ENABLED$ac_delim
 
37907
KRB4_ENABLED!$KRB4_ENABLED$ac_delim
 
37908
PKGCONFIG!$PKGCONFIG$ac_delim
 
37909
USE_SSLEAY!$USE_SSLEAY$ac_delim
 
37910
RANDOM_FILE!$RANDOM_FILE$ac_delim
 
37911
USE_GNUTLS!$USE_GNUTLS$ac_delim
 
37912
CURL_CA_BUNDLE!$CURL_CA_BUNDLE$ac_delim
 
37913
CABUNDLE_TRUE!$CABUNDLE_TRUE$ac_delim
 
37914
CABUNDLE_FALSE!$CABUNDLE_FALSE$ac_delim
 
37915
HAVE_LIBZ!$HAVE_LIBZ$ac_delim
 
37916
HAVE_LIBZ_TRUE!$HAVE_LIBZ_TRUE$ac_delim
 
37917
HAVE_LIBZ_FALSE!$HAVE_LIBZ_FALSE$ac_delim
 
37918
IDN_ENABLED!$IDN_ENABLED$ac_delim
 
37919
PERL!$PERL$ac_delim
 
37920
NROFF!$NROFF$ac_delim
 
37921
MANOPT!$MANOPT$ac_delim
 
37922
USE_MANUAL_TRUE!$USE_MANUAL_TRUE$ac_delim
 
37923
USE_MANUAL_FALSE!$USE_MANUAL_FALSE$ac_delim
 
37924
HAVE_ARES!$HAVE_ARES$ac_delim
 
37925
subdirs!$subdirs$ac_delim
 
37926
CURL_DISABLE_VERBOSE_STRINGS!$CURL_DISABLE_VERBOSE_STRINGS$ac_delim
 
37927
USE_WINDOWS_SSPI!$USE_WINDOWS_SSPI$ac_delim
 
37928
CURL_DISABLE_CRYPTO_AUTH!$CURL_DISABLE_CRYPTO_AUTH$ac_delim
 
37929
CURL_DISABLE_COOKIES!$CURL_DISABLE_COOKIES$ac_delim
 
37930
CROSSCOMPILING_TRUE!$CROSSCOMPILING_TRUE$ac_delim
 
37931
CROSSCOMPILING_FALSE!$CROSSCOMPILING_FALSE$ac_delim
 
37932
LIBOBJS!$LIBOBJS$ac_delim
 
37933
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
37934
_ACEOF
 
37935
 
 
37936
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 53; then
 
37937
    break
 
37938
  elif $ac_last_try; then
 
37939
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
37940
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
37941
   { (exit 1); exit 1; }; }
 
37942
  else
 
37943
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
37944
  fi
 
37945
done
 
37946
 
 
37947
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
37948
if test -n "$ac_eof"; then
 
37949
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
37950
  ac_eof=`expr $ac_eof + 1`
 
37951
fi
 
37952
 
 
37953
cat >>$CONFIG_STATUS <<_ACEOF
 
37954
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
37955
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
37956
_ACEOF
 
37957
sed '
 
37958
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
37959
s/^/s,@/; s/!/@,|#_!!_#|/
 
37960
:n
 
37961
t n
 
37962
s/'"$ac_delim"'$/,g/; t
 
37963
s/$/\\/; p
 
37964
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
37965
' >>$CONFIG_STATUS <conf$$subs.sed
 
37966
rm -f conf$$subs.sed
 
37967
cat >>$CONFIG_STATUS <<_ACEOF
 
37968
:end
 
37969
s/|#_!!_#|//g
 
37970
CEOF$ac_eof
 
37971
_ACEOF
 
37972
 
 
37973
 
 
37974
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
37975
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
37976
# trailing colons and then remove the whole line if VPATH becomes empty
 
37977
# (actually we leave an empty line to preserve line numbers).
 
37978
if test "x$srcdir" = x.; then
 
37979
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
37980
s/:*\$(srcdir):*/:/
 
37981
s/:*\${srcdir}:*/:/
 
37982
s/:*@srcdir@:*/:/
 
37983
s/^\([^=]*=[     ]*\):*/\1/
 
37984
s/:*$//
 
37985
s/^[^=]*=[       ]*$//
 
37986
}'
 
37987
fi
 
37988
 
 
37989
cat >>$CONFIG_STATUS <<\_ACEOF
34772
37990
fi # test -n "$CONFIG_FILES"
34773
37991
 
34774
 
_ACEOF
34775
 
cat >>$CONFIG_STATUS <<\_ACEOF
34776
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
34777
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34778
 
  case $ac_file in
34779
 
  - | *:- | *:-:* ) # input from stdin
34780
 
        cat >$tmp/stdin
34781
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34782
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34783
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34784
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34785
 
  * )   ac_file_in=$ac_file.in ;;
34786
 
  esac
34787
 
 
34788
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
34789
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
37992
 
 
37993
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
37994
do
 
37995
  case $ac_tag in
 
37996
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
37997
  esac
 
37998
  case $ac_mode$ac_tag in
 
37999
  :[FHL]*:*);;
 
38000
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
38001
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
38002
   { (exit 1); exit 1; }; };;
 
38003
  :[FH]-) ac_tag=-:-;;
 
38004
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
38005
  esac
 
38006
  ac_save_IFS=$IFS
 
38007
  IFS=:
 
38008
  set x $ac_tag
 
38009
  IFS=$ac_save_IFS
 
38010
  shift
 
38011
  ac_file=$1
 
38012
  shift
 
38013
 
 
38014
  case $ac_mode in
 
38015
  :L) ac_source=$1;;
 
38016
  :[FH])
 
38017
    ac_file_inputs=
 
38018
    for ac_f
 
38019
    do
 
38020
      case $ac_f in
 
38021
      -) ac_f="$tmp/stdin";;
 
38022
      *) # Look for the file first in the build tree, then in the source tree
 
38023
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
38024
         # because $ac_f cannot contain `:'.
 
38025
         test -f "$ac_f" ||
 
38026
           case $ac_f in
 
38027
           [\\/$]*) false;;
 
38028
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
38029
           esac ||
 
38030
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
38031
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
38032
   { (exit 1); exit 1; }; };;
 
38033
      esac
 
38034
      ac_file_inputs="$ac_file_inputs $ac_f"
 
38035
    done
 
38036
 
 
38037
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
38038
    # use $as_me), people would be surprised to read:
 
38039
    #    /* config.h.  Generated by config.status.  */
 
38040
    configure_input="Generated from "`IFS=:
 
38041
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
38042
    if test x"$ac_file" != x-; then
 
38043
      configure_input="$ac_file.  $configure_input"
 
38044
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
38045
echo "$as_me: creating $ac_file" >&6;}
 
38046
    fi
 
38047
 
 
38048
    case $ac_tag in
 
38049
    *:-:* | *:-) cat >"$tmp/stdin";;
 
38050
    esac
 
38051
    ;;
 
38052
  esac
 
38053
 
 
38054
  ac_dir=`$as_dirname -- "$ac_file" ||
34790
38055
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34791
38056
         X"$ac_file" : 'X\(//\)[^/]' \| \
34792
38057
         X"$ac_file" : 'X\(//\)$' \| \
34793
 
         X"$ac_file" : 'X\(/\)' \| \
34794
 
         .     : '\(.\)' 2>/dev/null ||
 
38058
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
34795
38059
echo X"$ac_file" |
34796
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34797
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34798
 
          /^X\(\/\/\)$/{ s//\1/; q; }
34799
 
          /^X\(\/\).*/{ s//\1/; q; }
34800
 
          s/.*/./; q'`
34801
 
  { if $as_mkdir_p; then
34802
 
    mkdir -p "$ac_dir"
34803
 
  else
34804
 
    as_dir="$ac_dir"
 
38060
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
38061
            s//\1/
 
38062
            q
 
38063
          }
 
38064
          /^X\(\/\/\)[^/].*/{
 
38065
            s//\1/
 
38066
            q
 
38067
          }
 
38068
          /^X\(\/\/\)$/{
 
38069
            s//\1/
 
38070
            q
 
38071
          }
 
38072
          /^X\(\/\).*/{
 
38073
            s//\1/
 
38074
            q
 
38075
          }
 
38076
          s/.*/./; q'`
 
38077
  { as_dir="$ac_dir"
 
38078
  case $as_dir in #(
 
38079
  -*) as_dir=./$as_dir;;
 
38080
  esac
 
38081
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
34805
38082
    as_dirs=
34806
 
    while test ! -d "$as_dir"; do
34807
 
      as_dirs="$as_dir $as_dirs"
34808
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
38083
    while :; do
 
38084
      case $as_dir in #(
 
38085
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
38086
      *) as_qdir=$as_dir;;
 
38087
      esac
 
38088
      as_dirs="'$as_qdir' $as_dirs"
 
38089
      as_dir=`$as_dirname -- "$as_dir" ||
34809
38090
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34810
38091
         X"$as_dir" : 'X\(//\)[^/]' \| \
34811
38092
         X"$as_dir" : 'X\(//\)$' \| \
34812
 
         X"$as_dir" : 'X\(/\)' \| \
34813
 
         .     : '\(.\)' 2>/dev/null ||
 
38093
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34814
38094
echo X"$as_dir" |
34815
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34816
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34817
 
          /^X\(\/\/\)$/{ s//\1/; q; }
34818
 
          /^X\(\/\).*/{ s//\1/; q; }
34819
 
          s/.*/./; q'`
 
38095
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
38096
            s//\1/
 
38097
            q
 
38098
          }
 
38099
          /^X\(\/\/\)[^/].*/{
 
38100
            s//\1/
 
38101
            q
 
38102
          }
 
38103
          /^X\(\/\/\)$/{
 
38104
            s//\1/
 
38105
            q
 
38106
          }
 
38107
          /^X\(\/\).*/{
 
38108
            s//\1/
 
38109
            q
 
38110
          }
 
38111
          s/.*/./; q'`
 
38112
      test -d "$as_dir" && break
34820
38113
    done
34821
 
    test ! -n "$as_dirs" || mkdir $as_dirs
34822
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34823
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
38114
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
38115
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
38116
echo "$as_me: error: cannot create directory $as_dir" >&2;}
34824
38117
   { (exit 1); exit 1; }; }; }
34825
 
 
34826
38118
  ac_builddir=.
34827
38119
 
34828
 
if test "$ac_dir" != .; then
 
38120
case "$ac_dir" in
 
38121
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
38122
*)
34829
38123
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34830
 
  # A "../" for each directory in $ac_dir_suffix.
34831
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
34832
 
else
34833
 
  ac_dir_suffix= ac_top_builddir=
34834
 
fi
 
38124
  # A ".." for each directory in $ac_dir_suffix.
 
38125
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
38126
  case $ac_top_builddir_sub in
 
38127
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
38128
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
38129
  esac ;;
 
38130
esac
 
38131
ac_abs_top_builddir=$ac_pwd
 
38132
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
38133
# for backward compatibility:
 
38134
ac_top_builddir=$ac_top_build_prefix
34835
38135
 
34836
38136
case $srcdir in
34837
 
  .)  # No --srcdir option.  We are building in place.
 
38137
  .)  # We are building in place.
34838
38138
    ac_srcdir=.
34839
 
    if test -z "$ac_top_builddir"; then
34840
 
       ac_top_srcdir=.
34841
 
    else
34842
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
34843
 
    fi ;;
34844
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
38139
    ac_top_srcdir=$ac_top_builddir_sub
 
38140
    ac_abs_top_srcdir=$ac_pwd ;;
 
38141
  [\\/]* | ?:[\\/]* )  # Absolute name.
34845
38142
    ac_srcdir=$srcdir$ac_dir_suffix;
34846
 
    ac_top_srcdir=$srcdir ;;
34847
 
  *) # Relative path.
34848
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
34849
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
34850
 
esac
34851
 
 
34852
 
# Do not use `cd foo && pwd` to compute absolute paths, because
34853
 
# the directories may not exist.
34854
 
case `pwd` in
34855
 
.) ac_abs_builddir="$ac_dir";;
34856
 
*)
34857
 
  case "$ac_dir" in
34858
 
  .) ac_abs_builddir=`pwd`;;
34859
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
34860
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
34861
 
  esac;;
34862
 
esac
34863
 
case $ac_abs_builddir in
34864
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
34865
 
*)
34866
 
  case ${ac_top_builddir}. in
34867
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
34868
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
34869
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
34870
 
  esac;;
34871
 
esac
34872
 
case $ac_abs_builddir in
34873
 
.) ac_abs_srcdir=$ac_srcdir;;
34874
 
*)
34875
 
  case $ac_srcdir in
34876
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
34877
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
34878
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
34879
 
  esac;;
34880
 
esac
34881
 
case $ac_abs_builddir in
34882
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
34883
 
*)
34884
 
  case $ac_top_srcdir in
34885
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
34886
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
34887
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
34888
 
  esac;;
34889
 
esac
34890
 
 
 
38143
    ac_top_srcdir=$srcdir
 
38144
    ac_abs_top_srcdir=$srcdir ;;
 
38145
  *) # Relative name.
 
38146
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
38147
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
38148
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
38149
esac
 
38150
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
38151
 
 
38152
 
 
38153
  case $ac_mode in
 
38154
  :F)
 
38155
  #
 
38156
  # CONFIG_FILE
 
38157
  #
34891
38158
 
34892
38159
  case $INSTALL in
34893
38160
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
34894
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
38161
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
34895
38162
  esac
34896
 
 
34897
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
34898
 
  # use $as_me), people would be surprised to read:
34899
 
  #    /* config.h.  Generated by config.status.  */
34900
 
  if test x"$ac_file" = x-; then
34901
 
    configure_input=
34902
 
  else
34903
 
    configure_input="$ac_file.  "
34904
 
  fi
34905
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
34906
 
                                     sed 's,.*/,,'` by configure."
34907
 
 
34908
 
  # First look for the input files in the build tree, otherwise in the
34909
 
  # src tree.
34910
 
  ac_file_inputs=`IFS=:
34911
 
    for f in $ac_file_in; do
34912
 
      case $f in
34913
 
      -) echo $tmp/stdin ;;
34914
 
      [\\/$]*)
34915
 
         # Absolute (can't be DOS-style, as IFS=:)
34916
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34917
 
echo "$as_me: error: cannot find input file: $f" >&2;}
34918
 
   { (exit 1); exit 1; }; }
34919
 
         echo "$f";;
34920
 
      *) # Relative
34921
 
         if test -f "$f"; then
34922
 
           # Build tree
34923
 
           echo "$f"
34924
 
         elif test -f "$srcdir/$f"; then
34925
 
           # Source tree
34926
 
           echo "$srcdir/$f"
34927
 
         else
34928
 
           # /dev/null tree
34929
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34930
 
echo "$as_me: error: cannot find input file: $f" >&2;}
34931
 
   { (exit 1); exit 1; }; }
34932
 
         fi;;
34933
 
      esac
34934
 
    done` || { (exit 1); exit 1; }
34935
 
 
34936
 
  if test x"$ac_file" != x-; then
34937
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
34938
 
echo "$as_me: creating $ac_file" >&6;}
34939
 
    rm -f "$ac_file"
34940
 
  fi
34941
 
_ACEOF
 
38163
_ACEOF
 
38164
 
 
38165
cat >>$CONFIG_STATUS <<\_ACEOF
 
38166
# If the template does not know about datarootdir, expand it.
 
38167
# FIXME: This hack should be removed a few years after 2.60.
 
38168
ac_datarootdir_hack=; ac_datarootdir_seen=
 
38169
 
 
38170
case `sed -n '/datarootdir/ {
 
38171
  p
 
38172
  q
 
38173
}
 
38174
/@datadir@/p
 
38175
/@docdir@/p
 
38176
/@infodir@/p
 
38177
/@localedir@/p
 
38178
/@mandir@/p
 
38179
' $ac_file_inputs` in
 
38180
*datarootdir*) ac_datarootdir_seen=yes;;
 
38181
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
38182
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
38183
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
38184
_ACEOF
 
38185
cat >>$CONFIG_STATUS <<_ACEOF
 
38186
  ac_datarootdir_hack='
 
38187
  s&@datadir@&$datadir&g
 
38188
  s&@docdir@&$docdir&g
 
38189
  s&@infodir@&$infodir&g
 
38190
  s&@localedir@&$localedir&g
 
38191
  s&@mandir@&$mandir&g
 
38192
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
38193
esac
 
38194
_ACEOF
 
38195
 
 
38196
# Neutralize VPATH when `$srcdir' = `.'.
 
38197
# Shell code in configure.ac might set extrasub.
 
38198
# FIXME: do we really want to maintain this feature?
34942
38199
cat >>$CONFIG_STATUS <<_ACEOF
34943
38200
  sed "$ac_vpsub
34944
38201
$extrasub
34946
38203
cat >>$CONFIG_STATUS <<\_ACEOF
34947
38204
:t
34948
38205
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34949
 
s,@configure_input@,$configure_input,;t t
34950
 
s,@srcdir@,$ac_srcdir,;t t
34951
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
34952
 
s,@top_srcdir@,$ac_top_srcdir,;t t
34953
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
34954
 
s,@builddir@,$ac_builddir,;t t
34955
 
s,@abs_builddir@,$ac_abs_builddir,;t t
34956
 
s,@top_builddir@,$ac_top_builddir,;t t
34957
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
34958
 
s,@INSTALL@,$ac_INSTALL,;t t
34959
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
34960
 
  rm -f $tmp/stdin
34961
 
  if test x"$ac_file" != x-; then
34962
 
    mv $tmp/out $ac_file
34963
 
  else
34964
 
    cat $tmp/out
34965
 
    rm -f $tmp/out
34966
 
  fi
34967
 
 
34968
 
done
 
38206
s&@configure_input@&$configure_input&;t t
 
38207
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
38208
s&@srcdir@&$ac_srcdir&;t t
 
38209
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
38210
s&@top_srcdir@&$ac_top_srcdir&;t t
 
38211
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
38212
s&@builddir@&$ac_builddir&;t t
 
38213
s&@abs_builddir@&$ac_abs_builddir&;t t
 
38214
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
38215
s&@INSTALL@&$ac_INSTALL&;t t
 
38216
$ac_datarootdir_hack
 
38217
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
38218
 
 
38219
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
38220
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
38221
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
38222
which seems to be undefined.  Please make sure it is defined." >&5
 
38223
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
38224
which seems to be undefined.  Please make sure it is defined." >&2;}
 
38225
 
 
38226
  rm -f "$tmp/stdin"
 
38227
  case $ac_file in
 
38228
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
38229
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
38230
  esac
 
38231
 ;;
 
38232
  :H)
 
38233
  #
 
38234
  # CONFIG_HEADER
 
38235
  #
34969
38236
_ACEOF
34970
 
cat >>$CONFIG_STATUS <<\_ACEOF
34971
 
 
34972
 
#
34973
 
# CONFIG_HEADER section.
34974
 
#
34975
 
 
34976
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
34977
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
34978
 
#
34979
 
# ac_d sets the value in "#define NAME VALUE" lines.
34980
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
34981
 
ac_dB='[         ].*$,\1#\2'
 
38237
 
 
38238
# Transform confdefs.h into a sed script `conftest.defines', that
 
38239
# substitutes the proper values into config.h.in to produce config.h.
 
38240
rm -f conftest.defines conftest.tail
 
38241
# First, append a space to every undef/define line, to ease matching.
 
38242
echo 's/$/ /' >conftest.defines
 
38243
# Then, protect against being on the right side of a sed subst, or in
 
38244
# an unquoted here document, in config.status.  If some macros were
 
38245
# called several times there might be several #defines for the same
 
38246
# symbol, which is useless.  But do not sort them, since the last
 
38247
# AC_DEFINE must be honored.
 
38248
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
38249
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
38250
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
38251
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
38252
# just an empty string.
 
38253
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
38254
ac_dB='\\)[      (].*,\\1define\\2'
34982
38255
ac_dC=' '
34983
 
ac_dD=',;t'
34984
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
34985
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
34986
 
ac_uB='$,\1#\2define\3'
34987
 
ac_uC=' '
34988
 
ac_uD=',;t'
34989
 
 
34990
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
34991
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34992
 
  case $ac_file in
34993
 
  - | *:- | *:-:* ) # input from stdin
34994
 
        cat >$tmp/stdin
34995
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34996
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34997
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34998
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34999
 
  * )   ac_file_in=$ac_file.in ;;
35000
 
  esac
35001
 
 
35002
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
35003
 
echo "$as_me: creating $ac_file" >&6;}
35004
 
 
35005
 
  # First look for the input files in the build tree, otherwise in the
35006
 
  # src tree.
35007
 
  ac_file_inputs=`IFS=:
35008
 
    for f in $ac_file_in; do
35009
 
      case $f in
35010
 
      -) echo $tmp/stdin ;;
35011
 
      [\\/$]*)
35012
 
         # Absolute (can't be DOS-style, as IFS=:)
35013
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35014
 
echo "$as_me: error: cannot find input file: $f" >&2;}
35015
 
   { (exit 1); exit 1; }; }
35016
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
35017
 
         echo "$f";;
35018
 
      *) # Relative
35019
 
         if test -f "$f"; then
35020
 
           # Build tree
35021
 
           echo "$f"
35022
 
         elif test -f "$srcdir/$f"; then
35023
 
           # Source tree
35024
 
           echo "$srcdir/$f"
35025
 
         else
35026
 
           # /dev/null tree
35027
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35028
 
echo "$as_me: error: cannot find input file: $f" >&2;}
35029
 
   { (exit 1); exit 1; }; }
35030
 
         fi;;
35031
 
      esac
35032
 
    done` || { (exit 1); exit 1; }
35033
 
  # Remove the trailing spaces.
35034
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
35035
 
 
35036
 
_ACEOF
35037
 
 
35038
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
35039
 
# `conftest.undefs', that substitutes the proper values into
35040
 
# config.h.in to produce config.h.  The first handles `#define'
35041
 
# templates, and the second `#undef' templates.
35042
 
# And first: Protect against being on the right side of a sed subst in
35043
 
# config.status.  Protect against being in an unquoted here document
35044
 
# in config.status.
35045
 
rm -f conftest.defines conftest.undefs
35046
 
# Using a here document instead of a string reduces the quoting nightmare.
35047
 
# Putting comments in sed scripts is not portable.
35048
 
#
35049
 
# `end' is used to avoid that the second main sed command (meant for
35050
 
# 0-ary CPP macros) applies to n-ary macro definitions.
35051
 
# See the Autoconf documentation for `clear'.
35052
 
cat >confdef2sed.sed <<\_ACEOF
35053
 
s/[\\&,]/\\&/g
35054
 
s,[\\$`],\\&,g
35055
 
t clear
35056
 
: clear
35057
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
35058
 
t end
35059
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
35060
 
: end
35061
 
_ACEOF
35062
 
# If some macros were called several times there might be several times
35063
 
# the same #defines, which is useless.  Nevertheless, we may not want to
35064
 
# sort them, since we want the *last* AC-DEFINE to be honored.
35065
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
35066
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
35067
 
rm -f confdef2sed.sed
35068
 
 
35069
 
# This sed command replaces #undef with comments.  This is necessary, for
 
38256
ac_dD=' ,'
 
38257
 
 
38258
uniq confdefs.h |
 
38259
  sed -n '
 
38260
        t rset
 
38261
        :rset
 
38262
        s/^[     ]*#[    ]*define[       ][      ]*//
 
38263
        t ok
 
38264
        d
 
38265
        :ok
 
38266
        s/[\\&,]/\\&/g
 
38267
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
38268
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
38269
  ' >>conftest.defines
 
38270
 
 
38271
# Remove the space that was appended to ease matching.
 
38272
# Then replace #undef with comments.  This is necessary, for
35070
38273
# example, in the case of _POSIX_SOURCE, which is predefined and required
35071
38274
# on some systems where configure will not decide to define it.
35072
 
cat >>conftest.undefs <<\_ACEOF
35073
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
38275
# (The regexp can be short, since the line contains either #define or #undef.)
 
38276
echo 's/ $//
 
38277
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
38278
 
 
38279
# Break up conftest.defines:
 
38280
ac_max_sed_lines=50
 
38281
 
 
38282
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
38283
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
38284
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
38285
# et cetera.
 
38286
ac_in='$ac_file_inputs'
 
38287
ac_out='"$tmp/out1"'
 
38288
ac_nxt='"$tmp/out2"'
 
38289
 
 
38290
while :
 
38291
do
 
38292
  # Write a here document:
 
38293
    cat >>$CONFIG_STATUS <<_ACEOF
 
38294
    # First, check the format of the line:
 
38295
    cat >"\$tmp/defines.sed" <<\\CEOF
 
38296
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
38297
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
38298
b
 
38299
:def
35074
38300
_ACEOF
35075
 
 
35076
 
# Break up conftest.defines because some shells have a limit on the size
35077
 
# of here documents, and old seds have small limits too (100 cmds).
35078
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
35079
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
35080
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
35081
 
echo '  :' >>$CONFIG_STATUS
35082
 
rm -f conftest.tail
35083
 
while grep . conftest.defines >/dev/null
35084
 
do
35085
 
  # Write a limited-size here document to $tmp/defines.sed.
35086
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
35087
 
  # Speed up: don't consider the non `#define' lines.
35088
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
35089
 
  # Work around the forget-to-reset-the-flag bug.
35090
 
  echo 't clr' >>$CONFIG_STATUS
35091
 
  echo ': clr' >>$CONFIG_STATUS
35092
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
38301
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
35093
38302
  echo 'CEOF
35094
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
35095
 
  rm -f $tmp/in
35096
 
  mv $tmp/out $tmp/in
35097
 
' >>$CONFIG_STATUS
35098
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
38303
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
38304
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
38305
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
38306
  grep . conftest.tail >/dev/null || break
35099
38307
  rm -f conftest.defines
35100
38308
  mv conftest.tail conftest.defines
35101
38309
done
35102
 
rm -f conftest.defines
35103
 
echo '  fi # grep' >>$CONFIG_STATUS
35104
 
echo >>$CONFIG_STATUS
35105
 
 
35106
 
# Break up conftest.undefs because some shells have a limit on the size
35107
 
# of here documents, and old seds have small limits too (100 cmds).
35108
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
35109
 
rm -f conftest.tail
35110
 
while grep . conftest.undefs >/dev/null
35111
 
do
35112
 
  # Write a limited-size here document to $tmp/undefs.sed.
35113
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
35114
 
  # Speed up: don't consider the non `#undef'
35115
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
35116
 
  # Work around the forget-to-reset-the-flag bug.
35117
 
  echo 't clr' >>$CONFIG_STATUS
35118
 
  echo ': clr' >>$CONFIG_STATUS
35119
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
35120
 
  echo 'CEOF
35121
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
35122
 
  rm -f $tmp/in
35123
 
  mv $tmp/out $tmp/in
35124
 
' >>$CONFIG_STATUS
35125
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
35126
 
  rm -f conftest.undefs
35127
 
  mv conftest.tail conftest.undefs
35128
 
done
35129
 
rm -f conftest.undefs
35130
 
 
 
38310
rm -f conftest.defines conftest.tail
 
38311
 
 
38312
echo "ac_result=$ac_in" >>$CONFIG_STATUS
35131
38313
cat >>$CONFIG_STATUS <<\_ACEOF
35132
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
35133
 
  # use $as_me), people would be surprised to read:
35134
 
  #    /* config.h.  Generated by config.status.  */
35135
 
  if test x"$ac_file" = x-; then
35136
 
    echo "/* Generated by configure.  */" >$tmp/config.h
35137
 
  else
35138
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
35139
 
  fi
35140
 
  cat $tmp/in >>$tmp/config.h
35141
 
  rm -f $tmp/in
35142
38314
  if test x"$ac_file" != x-; then
35143
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
38315
    echo "/* $configure_input  */" >"$tmp/config.h"
 
38316
    cat "$ac_result" >>"$tmp/config.h"
 
38317
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
35144
38318
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35145
38319
echo "$as_me: $ac_file is unchanged" >&6;}
35146
38320
    else
35147
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35148
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35149
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
35150
 
         X"$ac_file" : 'X\(//\)$' \| \
35151
 
         X"$ac_file" : 'X\(/\)' \| \
35152
 
         .     : '\(.\)' 2>/dev/null ||
35153
 
echo X"$ac_file" |
35154
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35155
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35156
 
          /^X\(\/\/\)$/{ s//\1/; q; }
35157
 
          /^X\(\/\).*/{ s//\1/; q; }
35158
 
          s/.*/./; q'`
35159
 
      { if $as_mkdir_p; then
35160
 
    mkdir -p "$ac_dir"
35161
 
  else
35162
 
    as_dir="$ac_dir"
35163
 
    as_dirs=
35164
 
    while test ! -d "$as_dir"; do
35165
 
      as_dirs="$as_dir $as_dirs"
35166
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
35167
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35168
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
35169
 
         X"$as_dir" : 'X\(//\)$' \| \
35170
 
         X"$as_dir" : 'X\(/\)' \| \
35171
 
         .     : '\(.\)' 2>/dev/null ||
35172
 
echo X"$as_dir" |
35173
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35174
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35175
 
          /^X\(\/\/\)$/{ s//\1/; q; }
35176
 
          /^X\(\/\).*/{ s//\1/; q; }
35177
 
          s/.*/./; q'`
35178
 
    done
35179
 
    test ! -n "$as_dirs" || mkdir $as_dirs
35180
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35181
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35182
 
   { (exit 1); exit 1; }; }; }
35183
 
 
35184
38321
      rm -f $ac_file
35185
 
      mv $tmp/config.h $ac_file
 
38322
      mv "$tmp/config.h" $ac_file
35186
38323
    fi
35187
38324
  else
35188
 
    cat $tmp/config.h
35189
 
    rm -f $tmp/config.h
 
38325
    echo "/* $configure_input  */"
 
38326
    cat "$ac_result"
35190
38327
  fi
 
38328
  rm -f "$tmp/out12"
35191
38329
# Compute $ac_file's index in $config_headers.
35192
38330
_am_stamp_count=1
35193
38331
for _am_header in $config_headers :; do
35198
38336
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
35199
38337
  esac
35200
38338
done
35201
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 
38339
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
35202
38340
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35203
38341
         X$ac_file : 'X\(//\)[^/]' \| \
35204
38342
         X$ac_file : 'X\(//\)$' \| \
35205
 
         X$ac_file : 'X\(/\)' \| \
35206
 
         .     : '\(.\)' 2>/dev/null ||
 
38343
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
35207
38344
echo X$ac_file |
35208
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35209
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35210
 
          /^X\(\/\/\)$/{ s//\1/; q; }
35211
 
          /^X\(\/\).*/{ s//\1/; q; }
35212
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
35213
 
done
35214
 
_ACEOF
35215
 
cat >>$CONFIG_STATUS <<\_ACEOF
35216
 
 
35217
 
#
35218
 
# CONFIG_COMMANDS section.
35219
 
#
35220
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
35221
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
35222
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
35223
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
35224
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35225
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
35226
 
         X"$ac_dest" : 'X\(//\)$' \| \
35227
 
         X"$ac_dest" : 'X\(/\)' \| \
35228
 
         .     : '\(.\)' 2>/dev/null ||
35229
 
echo X"$ac_dest" |
35230
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35231
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35232
 
          /^X\(\/\/\)$/{ s//\1/; q; }
35233
 
          /^X\(\/\).*/{ s//\1/; q; }
35234
 
          s/.*/./; q'`
35235
 
  { if $as_mkdir_p; then
35236
 
    mkdir -p "$ac_dir"
35237
 
  else
35238
 
    as_dir="$ac_dir"
35239
 
    as_dirs=
35240
 
    while test ! -d "$as_dir"; do
35241
 
      as_dirs="$as_dir $as_dirs"
35242
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
35243
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35244
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
35245
 
         X"$as_dir" : 'X\(//\)$' \| \
35246
 
         X"$as_dir" : 'X\(/\)' \| \
35247
 
         .     : '\(.\)' 2>/dev/null ||
35248
 
echo X"$as_dir" |
35249
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35250
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35251
 
          /^X\(\/\/\)$/{ s//\1/; q; }
35252
 
          /^X\(\/\).*/{ s//\1/; q; }
35253
 
          s/.*/./; q'`
35254
 
    done
35255
 
    test ! -n "$as_dirs" || mkdir $as_dirs
35256
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35257
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35258
 
   { (exit 1); exit 1; }; }; }
35259
 
 
35260
 
  ac_builddir=.
35261
 
 
35262
 
if test "$ac_dir" != .; then
35263
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35264
 
  # A "../" for each directory in $ac_dir_suffix.
35265
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35266
 
else
35267
 
  ac_dir_suffix= ac_top_builddir=
35268
 
fi
35269
 
 
35270
 
case $srcdir in
35271
 
  .)  # No --srcdir option.  We are building in place.
35272
 
    ac_srcdir=.
35273
 
    if test -z "$ac_top_builddir"; then
35274
 
       ac_top_srcdir=.
35275
 
    else
35276
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35277
 
    fi ;;
35278
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
35279
 
    ac_srcdir=$srcdir$ac_dir_suffix;
35280
 
    ac_top_srcdir=$srcdir ;;
35281
 
  *) # Relative path.
35282
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35283
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
35284
 
esac
35285
 
 
35286
 
# Do not use `cd foo && pwd` to compute absolute paths, because
35287
 
# the directories may not exist.
35288
 
case `pwd` in
35289
 
.) ac_abs_builddir="$ac_dir";;
35290
 
*)
35291
 
  case "$ac_dir" in
35292
 
  .) ac_abs_builddir=`pwd`;;
35293
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
35294
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
35295
 
  esac;;
35296
 
esac
35297
 
case $ac_abs_builddir in
35298
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
35299
 
*)
35300
 
  case ${ac_top_builddir}. in
35301
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
35302
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
35303
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
35304
 
  esac;;
35305
 
esac
35306
 
case $ac_abs_builddir in
35307
 
.) ac_abs_srcdir=$ac_srcdir;;
35308
 
*)
35309
 
  case $ac_srcdir in
35310
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
35311
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
35312
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
35313
 
  esac;;
35314
 
esac
35315
 
case $ac_abs_builddir in
35316
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
35317
 
*)
35318
 
  case $ac_top_srcdir in
35319
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
35320
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
35321
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
35322
 
  esac;;
35323
 
esac
35324
 
 
35325
 
 
35326
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
35327
 
echo "$as_me: executing $ac_dest commands" >&6;}
35328
 
  case $ac_dest in
35329
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
38345
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
38346
            s//\1/
 
38347
            q
 
38348
          }
 
38349
          /^X\(\/\/\)[^/].*/{
 
38350
            s//\1/
 
38351
            q
 
38352
          }
 
38353
          /^X\(\/\/\)$/{
 
38354
            s//\1/
 
38355
            q
 
38356
          }
 
38357
          /^X\(\/\).*/{
 
38358
            s//\1/
 
38359
            q
 
38360
          }
 
38361
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
38362
 ;;
 
38363
 
 
38364
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
38365
echo "$as_me: executing $ac_file commands" >&6;}
 
38366
 ;;
 
38367
  esac
 
38368
 
 
38369
 
 
38370
  case $ac_file$ac_mode in
 
38371
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
35330
38372
  # Strip MF so we end up with the name of the file.
35331
38373
  mf=`echo "$mf" | sed -e 's/:.*$//'`
35332
38374
  # Check whether this is an Automake generated Makefile or not.
35336
38378
  # each Makefile.in and add a new line on top of each file to say so.
35337
38379
  # So let's grep whole file.
35338
38380
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
35339
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
38381
    dirpart=`$as_dirname -- "$mf" ||
35340
38382
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35341
38383
         X"$mf" : 'X\(//\)[^/]' \| \
35342
38384
         X"$mf" : 'X\(//\)$' \| \
35343
 
         X"$mf" : 'X\(/\)' \| \
35344
 
         .     : '\(.\)' 2>/dev/null ||
 
38385
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
35345
38386
echo X"$mf" |
35346
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35347
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35348
 
          /^X\(\/\/\)$/{ s//\1/; q; }
35349
 
          /^X\(\/\).*/{ s//\1/; q; }
35350
 
          s/.*/./; q'`
 
38387
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
38388
            s//\1/
 
38389
            q
 
38390
          }
 
38391
          /^X\(\/\/\)[^/].*/{
 
38392
            s//\1/
 
38393
            q
 
38394
          }
 
38395
          /^X\(\/\/\)$/{
 
38396
            s//\1/
 
38397
            q
 
38398
          }
 
38399
          /^X\(\/\).*/{
 
38400
            s//\1/
 
38401
            q
 
38402
          }
 
38403
          s/.*/./; q'`
35351
38404
  else
35352
38405
    continue
35353
38406
  fi
35369
38422
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
35370
38423
    # Make sure the directory exists.
35371
38424
    test -f "$dirpart/$file" && continue
35372
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
38425
    fdir=`$as_dirname -- "$file" ||
35373
38426
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35374
38427
         X"$file" : 'X\(//\)[^/]' \| \
35375
38428
         X"$file" : 'X\(//\)$' \| \
35376
 
         X"$file" : 'X\(/\)' \| \
35377
 
         .     : '\(.\)' 2>/dev/null ||
 
38429
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
35378
38430
echo X"$file" |
35379
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35380
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35381
 
          /^X\(\/\/\)$/{ s//\1/; q; }
35382
 
          /^X\(\/\).*/{ s//\1/; q; }
35383
 
          s/.*/./; q'`
35384
 
    { if $as_mkdir_p; then
35385
 
    mkdir -p $dirpart/$fdir
35386
 
  else
35387
 
    as_dir=$dirpart/$fdir
 
38431
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
38432
            s//\1/
 
38433
            q
 
38434
          }
 
38435
          /^X\(\/\/\)[^/].*/{
 
38436
            s//\1/
 
38437
            q
 
38438
          }
 
38439
          /^X\(\/\/\)$/{
 
38440
            s//\1/
 
38441
            q
 
38442
          }
 
38443
          /^X\(\/\).*/{
 
38444
            s//\1/
 
38445
            q
 
38446
          }
 
38447
          s/.*/./; q'`
 
38448
    { as_dir=$dirpart/$fdir
 
38449
  case $as_dir in #(
 
38450
  -*) as_dir=./$as_dir;;
 
38451
  esac
 
38452
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
35388
38453
    as_dirs=
35389
 
    while test ! -d "$as_dir"; do
35390
 
      as_dirs="$as_dir $as_dirs"
35391
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
38454
    while :; do
 
38455
      case $as_dir in #(
 
38456
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
38457
      *) as_qdir=$as_dir;;
 
38458
      esac
 
38459
      as_dirs="'$as_qdir' $as_dirs"
 
38460
      as_dir=`$as_dirname -- "$as_dir" ||
35392
38461
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35393
38462
         X"$as_dir" : 'X\(//\)[^/]' \| \
35394
38463
         X"$as_dir" : 'X\(//\)$' \| \
35395
 
         X"$as_dir" : 'X\(/\)' \| \
35396
 
         .     : '\(.\)' 2>/dev/null ||
 
38464
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
35397
38465
echo X"$as_dir" |
35398
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35399
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35400
 
          /^X\(\/\/\)$/{ s//\1/; q; }
35401
 
          /^X\(\/\).*/{ s//\1/; q; }
35402
 
          s/.*/./; q'`
 
38466
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
38467
            s//\1/
 
38468
            q
 
38469
          }
 
38470
          /^X\(\/\/\)[^/].*/{
 
38471
            s//\1/
 
38472
            q
 
38473
          }
 
38474
          /^X\(\/\/\)$/{
 
38475
            s//\1/
 
38476
            q
 
38477
          }
 
38478
          /^X\(\/\).*/{
 
38479
            s//\1/
 
38480
            q
 
38481
          }
 
38482
          s/.*/./; q'`
 
38483
      test -d "$as_dir" && break
35403
38484
    done
35404
 
    test ! -n "$as_dirs" || mkdir $as_dirs
35405
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
35406
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
38485
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
38486
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
38487
echo "$as_me: error: cannot create directory $as_dir" >&2;}
35407
38488
   { (exit 1); exit 1; }; }; }
35408
 
 
35409
38489
    # echo "creating $dirpart/$file"
35410
38490
    echo '# dummy' > "$dirpart/$file"
35411
38491
  done
35412
38492
done
35413
38493
 ;;
 
38494
 
35414
38495
  esac
35415
 
done
35416
 
_ACEOF
 
38496
done # for ac_tag
35417
38497
 
35418
 
cat >>$CONFIG_STATUS <<\_ACEOF
35419
38498
 
35420
38499
{ (exit 0); exit 0; }
35421
38500
_ACEOF
35452
38531
  # Remove --cache-file and --srcdir arguments so they do not pile up.
35453
38532
  ac_sub_configure_args=
35454
38533
  ac_prev=
35455
 
  for ac_arg in $ac_configure_args; do
 
38534
  eval "set x $ac_configure_args"
 
38535
  shift
 
38536
  for ac_arg
 
38537
  do
35456
38538
    if test -n "$ac_prev"; then
35457
38539
      ac_prev=
35458
38540
      continue
35475
38557
      ac_prev=prefix ;;
35476
38558
    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
35477
38559
      ;;
35478
 
    *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
 
38560
    *)
 
38561
      case $ac_arg in
 
38562
      *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
38563
      esac
 
38564
      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
35479
38565
    esac
35480
38566
  done
35481
38567
 
35482
38568
  # Always prepend --prefix to ensure using the same prefix
35483
38569
  # in subdir configurations.
35484
 
  ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
 
38570
  ac_arg="--prefix=$prefix"
 
38571
  case $ac_arg in
 
38572
  *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
38573
  esac
 
38574
  ac_sub_configure_args="$ac_arg $ac_sub_configure_args"
35485
38575
 
35486
38576
  ac_popdir=`pwd`
35487
38577
  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
35488
38578
 
35489
38579
    # Do not complain, so a configure script can configure whichever
35490
38580
    # parts of a large source tree are present.
35491
 
    test -d $srcdir/$ac_dir || continue
 
38581
    test -d "$srcdir/$ac_dir" || continue
35492
38582
 
35493
 
    { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
35494
 
echo "$as_me: configuring in $ac_dir" >&6;}
35495
 
    { if $as_mkdir_p; then
35496
 
    mkdir -p "$ac_dir"
35497
 
  else
35498
 
    as_dir="$ac_dir"
 
38583
    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
 
38584
    echo "$as_me:$LINENO: $ac_msg" >&5
 
38585
    echo "$ac_msg" >&6
 
38586
    { as_dir="$ac_dir"
 
38587
  case $as_dir in #(
 
38588
  -*) as_dir=./$as_dir;;
 
38589
  esac
 
38590
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
35499
38591
    as_dirs=
35500
 
    while test ! -d "$as_dir"; do
35501
 
      as_dirs="$as_dir $as_dirs"
35502
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
38592
    while :; do
 
38593
      case $as_dir in #(
 
38594
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
38595
      *) as_qdir=$as_dir;;
 
38596
      esac
 
38597
      as_dirs="'$as_qdir' $as_dirs"
 
38598
      as_dir=`$as_dirname -- "$as_dir" ||
35503
38599
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35504
38600
         X"$as_dir" : 'X\(//\)[^/]' \| \
35505
38601
         X"$as_dir" : 'X\(//\)$' \| \
35506
 
         X"$as_dir" : 'X\(/\)' \| \
35507
 
         .     : '\(.\)' 2>/dev/null ||
 
38602
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
35508
38603
echo X"$as_dir" |
35509
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35510
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35511
 
          /^X\(\/\/\)$/{ s//\1/; q; }
35512
 
          /^X\(\/\).*/{ s//\1/; q; }
35513
 
          s/.*/./; q'`
 
38604
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
38605
            s//\1/
 
38606
            q
 
38607
          }
 
38608
          /^X\(\/\/\)[^/].*/{
 
38609
            s//\1/
 
38610
            q
 
38611
          }
 
38612
          /^X\(\/\/\)$/{
 
38613
            s//\1/
 
38614
            q
 
38615
          }
 
38616
          /^X\(\/\).*/{
 
38617
            s//\1/
 
38618
            q
 
38619
          }
 
38620
          s/.*/./; q'`
 
38621
      test -d "$as_dir" && break
35514
38622
    done
35515
 
    test ! -n "$as_dirs" || mkdir $as_dirs
35516
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35517
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
38623
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
38624
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
38625
echo "$as_me: error: cannot create directory $as_dir" >&2;}
35518
38626
   { (exit 1); exit 1; }; }; }
35519
 
 
35520
38627
    ac_builddir=.
35521
38628
 
35522
 
if test "$ac_dir" != .; then
 
38629
case "$ac_dir" in
 
38630
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
38631
*)
35523
38632
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35524
 
  # A "../" for each directory in $ac_dir_suffix.
35525
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35526
 
else
35527
 
  ac_dir_suffix= ac_top_builddir=
35528
 
fi
 
38633
  # A ".." for each directory in $ac_dir_suffix.
 
38634
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
38635
  case $ac_top_builddir_sub in
 
38636
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
38637
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
38638
  esac ;;
 
38639
esac
 
38640
ac_abs_top_builddir=$ac_pwd
 
38641
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
38642
# for backward compatibility:
 
38643
ac_top_builddir=$ac_top_build_prefix
35529
38644
 
35530
38645
case $srcdir in
35531
 
  .)  # No --srcdir option.  We are building in place.
 
38646
  .)  # We are building in place.
35532
38647
    ac_srcdir=.
35533
 
    if test -z "$ac_top_builddir"; then
35534
 
       ac_top_srcdir=.
35535
 
    else
35536
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35537
 
    fi ;;
35538
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
38648
    ac_top_srcdir=$ac_top_builddir_sub
 
38649
    ac_abs_top_srcdir=$ac_pwd ;;
 
38650
  [\\/]* | ?:[\\/]* )  # Absolute name.
35539
38651
    ac_srcdir=$srcdir$ac_dir_suffix;
35540
 
    ac_top_srcdir=$srcdir ;;
35541
 
  *) # Relative path.
35542
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35543
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
35544
 
esac
35545
 
 
35546
 
# Do not use `cd foo && pwd` to compute absolute paths, because
35547
 
# the directories may not exist.
35548
 
case `pwd` in
35549
 
.) ac_abs_builddir="$ac_dir";;
35550
 
*)
35551
 
  case "$ac_dir" in
35552
 
  .) ac_abs_builddir=`pwd`;;
35553
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
35554
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
35555
 
  esac;;
35556
 
esac
35557
 
case $ac_abs_builddir in
35558
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
35559
 
*)
35560
 
  case ${ac_top_builddir}. in
35561
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
35562
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
35563
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
35564
 
  esac;;
35565
 
esac
35566
 
case $ac_abs_builddir in
35567
 
.) ac_abs_srcdir=$ac_srcdir;;
35568
 
*)
35569
 
  case $ac_srcdir in
35570
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
35571
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
35572
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
35573
 
  esac;;
35574
 
esac
35575
 
case $ac_abs_builddir in
35576
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
35577
 
*)
35578
 
  case $ac_top_srcdir in
35579
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
35580
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
35581
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
35582
 
  esac;;
35583
 
esac
35584
 
 
35585
 
 
35586
 
    cd $ac_dir
 
38652
    ac_top_srcdir=$srcdir
 
38653
    ac_abs_top_srcdir=$srcdir ;;
 
38654
  *) # Relative name.
 
38655
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
38656
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
38657
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
38658
esac
 
38659
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
38660
 
 
38661
 
 
38662
    cd "$ac_dir"
35587
38663
 
35588
38664
    # Check for guested configure; otherwise get Cygnus style configure.
35589
 
    if test -f $ac_srcdir/configure.gnu; then
35590
 
      ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
35591
 
    elif test -f $ac_srcdir/configure; then
35592
 
      ac_sub_configure="$SHELL '$ac_srcdir/configure'"
35593
 
    elif test -f $ac_srcdir/configure.in; then
35594
 
      ac_sub_configure=$ac_configure
 
38665
    if test -f "$ac_srcdir/configure.gnu"; then
 
38666
      ac_sub_configure=$ac_srcdir/configure.gnu
 
38667
    elif test -f "$ac_srcdir/configure"; then
 
38668
      ac_sub_configure=$ac_srcdir/configure
 
38669
    elif test -f "$ac_srcdir/configure.in"; then
 
38670
      # This should be Cygnus configure.
 
38671
      ac_sub_configure=$ac_aux_dir/configure
35595
38672
    else
35596
38673
      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
35597
38674
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
35603
38680
      # Make the cache file name correct relative to the subdirectory.
35604
38681
      case $cache_file in
35605
38682
      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
35606
 
      *) # Relative path.
35607
 
        ac_sub_cache_file=$ac_top_builddir$cache_file ;;
 
38683
      *) # Relative name.
 
38684
        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
35608
38685
      esac
35609
38686
 
35610
 
      { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
35611
 
echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
 
38687
      { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
 
38688
echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
35612
38689
      # The eval makes quoting arguments work.
35613
 
      eval $ac_sub_configure $ac_sub_configure_args \
35614
 
           --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
 
38690
      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
 
38691
           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
35615
38692
        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
35616
38693
echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
35617
38694
   { (exit 1); exit 1; }; }