~ubuntu-branches/ubuntu/hardy/lighttpd/hardy

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2007-05-01 13:15:59 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20070501131559-y8jos9wp79uf3pp4
Tags: 1.4.15-1ubuntu1
* Merge from Debian unstable. Remaining Ubuntu changes:
  - Add fam/gamin stat cache engine support
  - Clean environment in init.d script
  - Replace Depends: on perl with Depends: on libterm-readline-perl-perl
  - Make sure that upgrades succeed, even if we can't restart lighttpd
  - DebianMaintainerField update

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 lighttpd 1.4.13.
 
3
# Generated by GNU Autoconf 2.61 for lighttpd 1.4.15.
4
4
#
5
5
# Report bugs to <jan@kneschke.de>.
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
## --------------------- ##
11
12
## M4sh Initialization.  ##
12
13
## --------------------- ##
13
14
 
14
 
# Be Bourne compatible
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
 
  emulate sh
17
 
  NULLCMD=:
18
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
 
  # is contrary to our usage.  Disable this feature.
20
 
  alias -g '${1+"$@"}'='"$@"'
21
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
 
  set -o posix
23
 
fi
 
15
# Be more Bourne compatible
24
16
DUALCASE=1; export DUALCASE # for MKS sh
 
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
18
  emulate sh
 
19
  NULLCMD=:
 
20
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
21
  # is contrary to our usage.  Disable this feature.
 
22
  alias -g '${1+"$@"}'='"$@"'
 
23
  setopt NO_GLOB_SUBST
 
24
else
 
25
  case `(set -o) 2>/dev/null` in
 
26
  *posix*) set -o posix ;;
 
27
esac
 
28
 
 
29
fi
 
30
 
 
31
 
 
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
25
54
 
26
55
# Support unset when possible.
27
56
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
31
60
fi
32
61
 
33
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
 
34
96
# Work around bugs in pre-3.0 UWIN ksh.
35
 
$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
36
100
PS1='$ '
37
101
PS2='> '
38
102
PS4='+ '
46
110
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
111
    eval $as_var=C; export $as_var
48
112
  else
49
 
    $as_unset $as_var
 
113
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50
114
  fi
51
115
done
52
116
 
53
117
# Required to use basename.
54
 
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
55
120
  as_expr=expr
56
121
else
57
122
  as_expr=false
58
123
fi
59
124
 
60
 
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
61
126
  as_basename=basename
62
127
else
63
128
  as_basename=false
65
130
 
66
131
 
67
132
# Name of the executable.
68
 
as_me=`$as_basename "$0" ||
 
133
as_me=`$as_basename -- "$0" ||
69
134
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
135
         X"$0" : 'X\(//\)$' \| \
71
 
         X"$0" : 'X\(/\)$' \| \
72
 
         .     : '\(.\)' 2>/dev/null ||
 
136
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73
137
echo X/"$0" |
74
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
76
 
          /^X\/\(\/\).*/{ s//\1/; q; }
77
 
          s/.*/./; q'`
78
 
 
79
 
 
80
 
# PATH needs CR, and LINENO needs CR and PATH.
81
 
# Avoid depending upon Character Ranges.
82
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85
 
as_cr_digits='0123456789'
86
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
87
 
 
88
 
# The user is always right.
89
 
if test "${PATH_SEPARATOR+set}" != set; then
90
 
  echo "#! /bin/sh" >conf$$.sh
91
 
  echo  "exit 0"   >>conf$$.sh
92
 
  chmod +x conf$$.sh
93
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94
 
    PATH_SEPARATOR=';'
95
 
  else
96
 
    PATH_SEPARATOR=:
97
 
  fi
98
 
  rm -f conf$$.sh
99
 
fi
100
 
 
101
 
 
102
 
  as_lineno_1=$LINENO
103
 
  as_lineno_2=$LINENO
104
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
106
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107
 
  # Find who we are.  Look in the path if we contain no path at all
108
 
  # relative or not.
109
 
  case $0 in
110
 
    *[\\/]* ) as_myself=$0 ;;
111
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112
 
for as_dir in $PATH
113
 
do
114
 
  IFS=$as_save_IFS
115
 
  test -z "$as_dir" && as_dir=.
116
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117
 
done
118
 
 
119
 
       ;;
120
 
  esac
121
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
122
 
  # in which case we are not to be found in the path.
123
 
  if test "x$as_myself" = x; then
124
 
    as_myself=$0
125
 
  fi
126
 
  if test ! -f "$as_myself"; then
127
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
 
   { (exit 1); exit 1; }; }
129
 
  fi
130
 
  case $CONFIG_SHELL in
131
 
  '')
 
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=
132
223
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
225
do
135
226
  IFS=$as_save_IFS
136
227
  test -z "$as_dir" && as_dir=.
137
 
  for as_base in sh bash ksh sh5; do
138
 
         case $as_dir in
 
228
  case $as_dir in
139
229
         /*)
140
 
           if ("$as_dir/$as_base" -c '
141
 
  as_lineno_1=$LINENO
142
 
  as_lineno_2=$LINENO
143
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
145
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
 
             CONFIG_SHELL=$as_dir/$as_base
149
 
             export CONFIG_SHELL
150
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151
 
           fi;;
152
 
         esac
153
 
       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
154
234
done
155
 
;;
156
 
  esac
 
235
IFS=$as_save_IFS
 
236
 
 
237
 
 
238
      for as_shell in $as_candidate_shells $SHELL; do
 
239
         # Try only shells that exist, to save several forks.
 
240
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
241
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
243
  emulate sh
 
244
  NULLCMD=:
 
245
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
246
  # is contrary to our usage.  Disable this feature.
 
247
  alias -g '${1+"$@"}'='"$@"'
 
248
  setopt NO_GLOB_SUBST
 
249
else
 
250
  case `(set -o) 2>/dev/null` in
 
251
  *posix*) set -o posix ;;
 
252
esac
 
253
 
 
254
fi
 
255
 
 
256
 
 
257
:
 
258
_ASEOF
 
259
}; then
 
260
  CONFIG_SHELL=$as_shell
 
261
               as_have_required=yes
 
262
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
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
 
272
  *posix*) set -o posix ;;
 
273
esac
 
274
 
 
275
fi
 
276
 
 
277
 
 
278
:
 
279
(as_func_return () {
 
280
  (exit $1)
 
281
}
 
282
as_func_success () {
 
283
  as_func_return 0
 
284
}
 
285
as_func_failure () {
 
286
  as_func_return 1
 
287
}
 
288
as_func_ret_success () {
 
289
  return 0
 
290
}
 
291
as_func_ret_failure () {
 
292
  return 1
 
293
}
 
294
 
 
295
exitcode=0
 
296
if as_func_success; then
 
297
  :
 
298
else
 
299
  exitcode=1
 
300
  echo as_func_success failed.
 
301
fi
 
302
 
 
303
if as_func_failure; then
 
304
  exitcode=1
 
305
  echo as_func_failure succeeded.
 
306
fi
 
307
 
 
308
if as_func_ret_success; then
 
309
  :
 
310
else
 
311
  exitcode=1
 
312
  echo as_func_ret_success failed.
 
313
fi
 
314
 
 
315
if as_func_ret_failure; then
 
316
  exitcode=1
 
317
  echo as_func_ret_failure succeeded.
 
318
fi
 
319
 
 
320
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
321
  :
 
322
else
 
323
  exitcode=1
 
324
  echo positional parameters were not saved.
 
325
fi
 
326
 
 
327
test $exitcode = 0) || { (exit 1); exit 1; }
 
328
 
 
329
(
 
330
  as_lineno_1=$LINENO
 
331
  as_lineno_2=$LINENO
 
332
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
333
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
334
 
 
335
_ASEOF
 
336
}; then
 
337
  break
 
338
fi
 
339
 
 
340
fi
 
341
 
 
342
      done
 
343
 
 
344
      if test "x$CONFIG_SHELL" != x; then
 
345
  for as_var in BASH_ENV ENV
 
346
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
347
        done
 
348
        export CONFIG_SHELL
 
349
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
350
fi
 
351
 
 
352
 
 
353
    if test $as_have_required = no; then
 
354
  echo This script requires a shell more modern than all the
 
355
      echo shells that I found on your system.  Please install a
 
356
      echo modern shell, or manually run the script under such a
 
357
      echo shell if you do have one.
 
358
      { (exit 1); exit 1; }
 
359
fi
 
360
 
 
361
 
 
362
fi
 
363
 
 
364
fi
 
365
 
 
366
 
 
367
 
 
368
(eval "as_func_return () {
 
369
  (exit \$1)
 
370
}
 
371
as_func_success () {
 
372
  as_func_return 0
 
373
}
 
374
as_func_failure () {
 
375
  as_func_return 1
 
376
}
 
377
as_func_ret_success () {
 
378
  return 0
 
379
}
 
380
as_func_ret_failure () {
 
381
  return 1
 
382
}
 
383
 
 
384
exitcode=0
 
385
if as_func_success; then
 
386
  :
 
387
else
 
388
  exitcode=1
 
389
  echo as_func_success failed.
 
390
fi
 
391
 
 
392
if as_func_failure; then
 
393
  exitcode=1
 
394
  echo as_func_failure succeeded.
 
395
fi
 
396
 
 
397
if as_func_ret_success; then
 
398
  :
 
399
else
 
400
  exitcode=1
 
401
  echo as_func_ret_success failed.
 
402
fi
 
403
 
 
404
if as_func_ret_failure; then
 
405
  exitcode=1
 
406
  echo as_func_ret_failure succeeded.
 
407
fi
 
408
 
 
409
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
410
  :
 
411
else
 
412
  exitcode=1
 
413
  echo positional parameters were not saved.
 
414
fi
 
415
 
 
416
test \$exitcode = 0") || {
 
417
  echo No shell found that supports shell functions.
 
418
  echo Please tell autoconf@gnu.org about your system,
 
419
  echo including any error possibly output before this
 
420
  echo message
 
421
}
 
422
 
 
423
 
 
424
 
 
425
  as_lineno_1=$LINENO
 
426
  as_lineno_2=$LINENO
 
427
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
428
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
157
429
 
158
430
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
431
  # uniformly replaced by the line number.  The first 'sed' inserts a
160
 
  # line-number line before each line; the second 'sed' does the real
161
 
  # work.  The second script uses 'N' to pair each line-number line
162
 
  # with the numbered line, and appends trailing '-' during
163
 
  # substitution so that $LINENO is not a special case at line end.
 
432
  # line-number line after each line using $LINENO; the second 'sed'
 
433
  # does the real work.  The second script uses 'N' to pair each
 
434
  # line-number line with the line containing $LINENO, and appends
 
435
  # trailing '-' during substitution so that $LINENO is not a special
 
436
  # case at line end.
164
437
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166
 
  sed '=' <$as_myself |
 
438
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
439
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
440
  sed -n '
 
441
    p
 
442
    /[$]LINENO/=
 
443
  ' <$as_myself |
167
444
    sed '
 
445
      s/[$]LINENO.*/&-/
 
446
      t lineno
 
447
      b
 
448
      :lineno
168
449
      N
169
 
      s,$,-,
170
 
      : loop
171
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
450
      :loop
 
451
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
172
452
      t loop
173
 
      s,-$,,
174
 
      s,^['$as_cr_digits']*\n,,
 
453
      s/-\n.*//
175
454
    ' >$as_me.lineno &&
176
 
  chmod +x $as_me.lineno ||
 
455
  chmod +x "$as_me.lineno" ||
177
456
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
457
   { (exit 1); exit 1; }; }
179
458
 
180
459
  # Don't try to exec as it changes $[0], causing all sort of problems
181
460
  # (the dirname of $[0] is not the place where we might find the
182
 
  # original and so on.  Autoconf is especially sensible to this).
183
 
  . ./$as_me.lineno
 
461
  # original and so on.  Autoconf is especially sensitive to this).
 
462
  . "./$as_me.lineno"
184
463
  # Exit status is that of the last command.
185
464
  exit
186
465
}
187
466
 
188
467
 
189
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
 
  *c*,-n*) ECHO_N= ECHO_C='
191
 
' ECHO_T='      ' ;;
192
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
468
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
469
  as_dirname=dirname
 
470
else
 
471
  as_dirname=false
 
472
fi
 
473
 
 
474
ECHO_C= ECHO_N= ECHO_T=
 
475
case `echo -n x` in
 
476
-n*)
 
477
  case `echo 'x\c'` in
 
478
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
479
  *)   ECHO_C='\c';;
 
480
  esac;;
 
481
*)
 
482
  ECHO_N='-n';;
194
483
esac
195
484
 
196
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
485
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
486
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
197
487
  as_expr=expr
198
488
else
199
489
  as_expr=false
200
490
fi
201
491
 
202
492
rm -f conf$$ conf$$.exe conf$$.file
 
493
if test -d conf$$.dir; then
 
494
  rm -f conf$$.dir/conf$$.file
 
495
else
 
496
  rm -f conf$$.dir
 
497
  mkdir conf$$.dir
 
498
fi
203
499
echo >conf$$.file
204
500
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
 
  # We could just check for DJGPP; but this test a) works b) is more generic
206
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
 
  if test -f conf$$.exe; then
208
 
    # Don't use ln at all; we don't have any links
 
501
  as_ln_s='ln -s'
 
502
  # ... but there are two gotchas:
 
503
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
504
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
505
  # In both cases, we have to default to `cp -p'.
 
506
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
209
507
    as_ln_s='cp -p'
210
 
  else
211
 
    as_ln_s='ln -s'
212
 
  fi
213
508
elif ln conf$$.file conf$$ 2>/dev/null; then
214
509
  as_ln_s=ln
215
510
else
216
511
  as_ln_s='cp -p'
217
512
fi
218
 
rm -f conf$$ conf$$.exe conf$$.file
 
513
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
514
rmdir conf$$.dir 2>/dev/null
219
515
 
220
516
if mkdir -p . 2>/dev/null; then
221
517
  as_mkdir_p=:
224
520
  as_mkdir_p=false
225
521
fi
226
522
 
227
 
as_executable_p="test -f"
 
523
if test -x / >/dev/null 2>&1; then
 
524
  as_test_x='test -x'
 
525
else
 
526
  if ls -dL / >/dev/null 2>&1; then
 
527
    as_ls_L_option=L
 
528
  else
 
529
    as_ls_L_option=
 
530
  fi
 
531
  as_test_x='
 
532
    eval sh -c '\''
 
533
      if test -d "$1"; then
 
534
        test -d "$1/.";
 
535
      else
 
536
        case $1 in
 
537
        -*)set "./$1";;
 
538
        esac;
 
539
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
540
        ???[sx]*):;;*)false;;esac;fi
 
541
    '\'' sh
 
542
  '
 
543
fi
 
544
as_executable_p=$as_test_x
228
545
 
229
546
# Sed expression to map a string onto a valid CPP name.
230
547
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233
550
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
551
 
235
552
 
236
 
# IFS
237
 
# We need space, tab and new line, in precisely that order.
238
 
as_nl='
239
 
'
240
 
IFS="   $as_nl"
241
 
 
242
 
# CDPATH.
243
 
$as_unset CDPATH
244
 
 
245
553
 
246
554
 
247
555
# Check that we are running under the correct shell.
287
595
# find a string as large as possible, as long as the shell can cope with it
288
596
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
289
597
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
290
 
    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
291
 
       echo_test_string="`eval $cmd`" &&
 
598
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
 
599
       echo_test_string=`eval $cmd` &&
292
600
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
293
601
    then
294
602
      break
397
705
 
398
706
tagnames=${tagnames+${tagnames},}F77
399
707
 
 
708
exec 7<&0 </dev/null 6>&1
 
709
 
400
710
# Name of the host.
401
711
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
402
712
# so uname gets run too.
403
713
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
404
714
 
405
 
exec 6>&1
406
 
 
407
715
#
408
716
# Initializations.
409
717
#
410
718
ac_default_prefix=/usr/local
 
719
ac_clean_files=
411
720
ac_config_libobj_dir=.
 
721
LIBOBJS=
412
722
cross_compiling=no
413
723
subdirs=
414
724
MFLAGS=
415
725
MAKEFLAGS=
416
726
SHELL=${CONFIG_SHELL-/bin/sh}
417
727
 
418
 
# Maximum number of lines to put in a shell here document.
419
 
# This variable seems obsolete.  It should probably be removed, and
420
 
# only ac_max_sed_lines should be used.
421
 
: ${ac_max_here_lines=38}
422
 
 
423
728
# Identity of this package.
424
729
PACKAGE_NAME='lighttpd'
425
730
PACKAGE_TARNAME='lighttpd'
426
 
PACKAGE_VERSION='1.4.13'
427
 
PACKAGE_STRING='lighttpd 1.4.13'
 
731
PACKAGE_VERSION='1.4.15'
 
732
PACKAGE_STRING='lighttpd 1.4.15'
428
733
PACKAGE_BUGREPORT='jan@kneschke.de'
429
734
 
430
735
ac_unique_file="src/server.c"
431
736
# Factoring default headers for most tests.
432
737
ac_includes_default="\
433
738
#include <stdio.h>
434
 
#if HAVE_SYS_TYPES_H
 
739
#ifdef HAVE_SYS_TYPES_H
435
740
# include <sys/types.h>
436
741
#endif
437
 
#if HAVE_SYS_STAT_H
 
742
#ifdef HAVE_SYS_STAT_H
438
743
# include <sys/stat.h>
439
744
#endif
440
 
#if STDC_HEADERS
 
745
#ifdef STDC_HEADERS
441
746
# include <stdlib.h>
442
747
# include <stddef.h>
443
748
#else
444
 
# if HAVE_STDLIB_H
 
749
# ifdef HAVE_STDLIB_H
445
750
#  include <stdlib.h>
446
751
# endif
447
752
#endif
448
 
#if HAVE_STRING_H
449
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
753
#ifdef HAVE_STRING_H
 
754
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
450
755
#  include <memory.h>
451
756
# endif
452
757
# include <string.h>
453
758
#endif
454
 
#if HAVE_STRINGS_H
 
759
#ifdef HAVE_STRINGS_H
455
760
# include <strings.h>
456
761
#endif
457
 
#if HAVE_INTTYPES_H
 
762
#ifdef HAVE_INTTYPES_H
458
763
# include <inttypes.h>
459
 
#else
460
 
# if HAVE_STDINT_H
461
 
#  include <stdint.h>
462
 
# endif
463
 
#endif
464
 
#if HAVE_UNISTD_H
 
764
#endif
 
765
#ifdef HAVE_STDINT_H
 
766
# include <stdint.h>
 
767
#endif
 
768
#ifdef HAVE_UNISTD_H
465
769
# include <unistd.h>
466
770
#endif"
467
771
 
468
 
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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os 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 MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT 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 EGREP CPP LN_S NO_RDYNAMIC_TRUE NO_RDYNAMIC_FALSE U ANSI2KNR ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBOBJS MYSQL_CONFIG MYSQL_LIBS MYSQL_INCLUDE LDAP_LIB LBER_LIB ATTR_LIB DL_LIB SSL_LIB PCRECONFIG PCRE_LIB Z_LIB BZ_LIB PKG_CONFIG ac_pt_PKG_CONFIG FAM_CFLAGS FAM_LIBS XML_CFLAGS XML_LIBS SQLITE_CFLAGS SQLITE_LIBS UUID_LIBS GDBM_LIB MEMCACHE_LIB LUA_CFLAGS LUA_LIBS CRYPT_LIB SENDFILE_LIB CROSS_COMPILING_TRUE CROSS_COMPILING_FALSE CHECK_WITH_FASTCGI_TRUE CHECK_WITH_FASTCGI_FALSE LTLIBOBJS'
 
772
ac_subst_vars='SHELL
 
773
PATH_SEPARATOR
 
774
PACKAGE_NAME
 
775
PACKAGE_TARNAME
 
776
PACKAGE_VERSION
 
777
PACKAGE_STRING
 
778
PACKAGE_BUGREPORT
 
779
exec_prefix
 
780
prefix
 
781
program_transform_name
 
782
bindir
 
783
sbindir
 
784
libexecdir
 
785
datarootdir
 
786
datadir
 
787
sysconfdir
 
788
sharedstatedir
 
789
localstatedir
 
790
includedir
 
791
oldincludedir
 
792
docdir
 
793
infodir
 
794
htmldir
 
795
dvidir
 
796
pdfdir
 
797
psdir
 
798
libdir
 
799
localedir
 
800
mandir
 
801
DEFS
 
802
ECHO_C
 
803
ECHO_N
 
804
ECHO_T
 
805
LIBS
 
806
build_alias
 
807
host_alias
 
808
target_alias
 
809
build
 
810
build_cpu
 
811
build_vendor
 
812
build_os
 
813
host
 
814
host_cpu
 
815
host_vendor
 
816
host_os
 
817
target
 
818
target_cpu
 
819
target_vendor
 
820
target_os
 
821
INSTALL_PROGRAM
 
822
INSTALL_SCRIPT
 
823
INSTALL_DATA
 
824
am__isrc
 
825
CYGPATH_W
 
826
PACKAGE
 
827
VERSION
 
828
ACLOCAL
 
829
AUTOCONF
 
830
AUTOMAKE
 
831
AUTOHEADER
 
832
MAKEINFO
 
833
install_sh
 
834
STRIP
 
835
INSTALL_STRIP_PROGRAM
 
836
mkdir_p
 
837
AWK
 
838
SET_MAKE
 
839
am__leading_dot
 
840
AMTAR
 
841
am__tar
 
842
am__untar
 
843
MAINTAINER_MODE_TRUE
 
844
MAINTAINER_MODE_FALSE
 
845
MAINT
 
846
CC
 
847
CFLAGS
 
848
LDFLAGS
 
849
CPPFLAGS
 
850
ac_ct_CC
 
851
EXEEXT
 
852
OBJEXT
 
853
DEPDIR
 
854
am__include
 
855
am__quote
 
856
AMDEP_TRUE
 
857
AMDEP_FALSE
 
858
AMDEPBACKSLASH
 
859
CCDEPMODE
 
860
am__fastdepCC_TRUE
 
861
am__fastdepCC_FALSE
 
862
GREP
 
863
EGREP
 
864
CPP
 
865
LN_S
 
866
NO_RDYNAMIC_TRUE
 
867
NO_RDYNAMIC_FALSE
 
868
U
 
869
ANSI2KNR
 
870
ECHO
 
871
AR
 
872
RANLIB
 
873
CXX
 
874
CXXFLAGS
 
875
ac_ct_CXX
 
876
CXXDEPMODE
 
877
am__fastdepCXX_TRUE
 
878
am__fastdepCXX_FALSE
 
879
CXXCPP
 
880
F77
 
881
FFLAGS
 
882
ac_ct_F77
 
883
LIBTOOL
 
884
LIBOBJS
 
885
MYSQL_CONFIG
 
886
MYSQL_LIBS
 
887
MYSQL_INCLUDE
 
888
LDAP_LIB
 
889
LBER_LIB
 
890
ATTR_LIB
 
891
DL_LIB
 
892
SSL_LIB
 
893
PCRECONFIG
 
894
PCRE_LIB
 
895
Z_LIB
 
896
BZ_LIB
 
897
PKG_CONFIG
 
898
FAM_CFLAGS
 
899
FAM_LIBS
 
900
XML_CFLAGS
 
901
XML_LIBS
 
902
SQLITE_CFLAGS
 
903
SQLITE_LIBS
 
904
UUID_LIBS
 
905
GDBM_LIB
 
906
MEMCACHE_LIB
 
907
LUA_CFLAGS
 
908
LUA_LIBS
 
909
CRYPT_LIB
 
910
SENDFILE_LIB
 
911
CROSS_COMPILING_TRUE
 
912
CROSS_COMPILING_FALSE
 
913
CHECK_WITH_FASTCGI_TRUE
 
914
CHECK_WITH_FASTCGI_FALSE
 
915
LTLIBOBJS'
469
916
ac_subst_files=''
 
917
      ac_precious_vars='build_alias
 
918
host_alias
 
919
target_alias
 
920
CC
 
921
CFLAGS
 
922
LDFLAGS
 
923
LIBS
 
924
CPPFLAGS
 
925
CPP
 
926
CXX
 
927
CXXFLAGS
 
928
CCC
 
929
CXXCPP
 
930
F77
 
931
FFLAGS
 
932
PKG_CONFIG
 
933
FAM_CFLAGS
 
934
FAM_LIBS
 
935
XML_CFLAGS
 
936
XML_LIBS
 
937
SQLITE_CFLAGS
 
938
SQLITE_LIBS
 
939
LUA_CFLAGS
 
940
LUA_LIBS'
 
941
 
470
942
 
471
943
# Initialize some variables set by options.
472
944
ac_init_help=
493
965
# and all the variables that are supposed to be based on exec_prefix
494
966
# by default will actually change.
495
967
# Use braces instead of parens because sh, perl, etc. also accept them.
 
968
# (The list follows the same order as the GNU Coding Standards.)
496
969
bindir='${exec_prefix}/bin'
497
970
sbindir='${exec_prefix}/sbin'
498
971
libexecdir='${exec_prefix}/libexec'
499
 
datadir='${prefix}/share'
 
972
datarootdir='${prefix}/share'
 
973
datadir='${datarootdir}'
500
974
sysconfdir='${prefix}/etc'
501
975
sharedstatedir='${prefix}/com'
502
976
localstatedir='${prefix}/var'
503
 
libdir='${exec_prefix}/lib'
504
977
includedir='${prefix}/include'
505
978
oldincludedir='/usr/include'
506
 
infodir='${prefix}/info'
507
 
mandir='${prefix}/man'
 
979
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
980
infodir='${datarootdir}/info'
 
981
htmldir='${docdir}'
 
982
dvidir='${docdir}'
 
983
pdfdir='${docdir}'
 
984
psdir='${docdir}'
 
985
libdir='${exec_prefix}/lib'
 
986
localedir='${datarootdir}/locale'
 
987
mandir='${datarootdir}/man'
508
988
 
509
989
ac_prev=
 
990
ac_dashdash=
510
991
for ac_option
511
992
do
512
993
  # If the previous option needs an argument, assign it.
513
994
  if test -n "$ac_prev"; then
514
 
    eval "$ac_prev=\$ac_option"
 
995
    eval $ac_prev=\$ac_option
515
996
    ac_prev=
516
997
    continue
517
998
  fi
518
999
 
519
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
1000
  case $ac_option in
 
1001
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1002
  *)    ac_optarg=yes ;;
 
1003
  esac
520
1004
 
521
1005
  # Accept the important Cygnus configure options, so we can diagnose typos.
522
1006
 
523
 
  case $ac_option in
 
1007
  case $ac_dashdash$ac_option in
 
1008
  --)
 
1009
    ac_dashdash=yes ;;
524
1010
 
525
1011
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
526
1012
    ac_prev=bindir ;;
542
1028
  --config-cache | -C)
543
1029
    cache_file=config.cache ;;
544
1030
 
545
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
1031
  -datadir | --datadir | --datadi | --datad)
546
1032
    ac_prev=datadir ;;
547
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
548
 
  | --da=*)
 
1033
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
549
1034
    datadir=$ac_optarg ;;
550
1035
 
 
1036
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1037
  | --dataroo | --dataro | --datar)
 
1038
    ac_prev=datarootdir ;;
 
1039
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1040
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1041
    datarootdir=$ac_optarg ;;
 
1042
 
551
1043
  -disable-* | --disable-*)
552
1044
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
553
1045
    # Reject names that are not valid shell variable names.
554
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1046
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
555
1047
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
556
1048
   { (exit 1); exit 1; }; }
557
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
558
 
    eval "enable_$ac_feature=no" ;;
 
1049
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1050
    eval enable_$ac_feature=no ;;
 
1051
 
 
1052
  -docdir | --docdir | --docdi | --doc | --do)
 
1053
    ac_prev=docdir ;;
 
1054
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1055
    docdir=$ac_optarg ;;
 
1056
 
 
1057
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1058
    ac_prev=dvidir ;;
 
1059
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1060
    dvidir=$ac_optarg ;;
559
1061
 
560
1062
  -enable-* | --enable-*)
561
1063
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
562
1064
    # Reject names that are not valid shell variable names.
563
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1065
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
564
1066
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
565
1067
   { (exit 1); exit 1; }; }
566
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
567
 
    case $ac_option in
568
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
569
 
      *) ac_optarg=yes ;;
570
 
    esac
571
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
1068
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1069
    eval enable_$ac_feature=\$ac_optarg ;;
572
1070
 
573
1071
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
574
1072
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
595
1093
  -host=* | --host=* | --hos=* | --ho=*)
596
1094
    host_alias=$ac_optarg ;;
597
1095
 
 
1096
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1097
    ac_prev=htmldir ;;
 
1098
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1099
  | --ht=*)
 
1100
    htmldir=$ac_optarg ;;
 
1101
 
598
1102
  -includedir | --includedir | --includedi | --included | --include \
599
1103
  | --includ | --inclu | --incl | --inc)
600
1104
    ac_prev=includedir ;;
619
1123
  | --libexe=* | --libex=* | --libe=*)
620
1124
    libexecdir=$ac_optarg ;;
621
1125
 
 
1126
  -localedir | --localedir | --localedi | --localed | --locale)
 
1127
    ac_prev=localedir ;;
 
1128
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1129
    localedir=$ac_optarg ;;
 
1130
 
622
1131
  -localstatedir | --localstatedir | --localstatedi | --localstated \
623
 
  | --localstate | --localstat | --localsta | --localst \
624
 
  | --locals | --local | --loca | --loc | --lo)
 
1132
  | --localstate | --localstat | --localsta | --localst | --locals)
625
1133
    ac_prev=localstatedir ;;
626
1134
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
627
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
628
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1135
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
629
1136
    localstatedir=$ac_optarg ;;
630
1137
 
631
1138
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
690
1197
  | --progr-tra=* | --program-tr=* | --program-t=*)
691
1198
    program_transform_name=$ac_optarg ;;
692
1199
 
 
1200
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1201
    ac_prev=pdfdir ;;
 
1202
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1203
    pdfdir=$ac_optarg ;;
 
1204
 
 
1205
  -psdir | --psdir | --psdi | --psd | --ps)
 
1206
    ac_prev=psdir ;;
 
1207
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1208
    psdir=$ac_optarg ;;
 
1209
 
693
1210
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
694
1211
  | -silent | --silent | --silen | --sile | --sil)
695
1212
    silent=yes ;;
742
1259
  -with-* | --with-*)
743
1260
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
744
1261
    # Reject names that are not valid shell variable names.
745
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1262
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
746
1263
      { echo "$as_me: error: invalid package name: $ac_package" >&2
747
1264
   { (exit 1); exit 1; }; }
748
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
749
 
    case $ac_option in
750
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
751
 
      *) ac_optarg=yes ;;
752
 
    esac
753
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1265
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1266
    eval with_$ac_package=\$ac_optarg ;;
754
1267
 
755
1268
  -without-* | --without-*)
756
1269
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
757
1270
    # Reject names that are not valid shell variable names.
758
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1271
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
759
1272
      { echo "$as_me: error: invalid package name: $ac_package" >&2
760
1273
   { (exit 1); exit 1; }; }
761
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
762
 
    eval "with_$ac_package=no" ;;
 
1274
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1275
    eval with_$ac_package=no ;;
763
1276
 
764
1277
  --x)
765
1278
    # Obsolete; use --with-x.
790
1303
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
791
1304
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
792
1305
   { (exit 1); exit 1; }; }
793
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
794
 
    eval "$ac_envvar='$ac_optarg'"
 
1306
    eval $ac_envvar=\$ac_optarg
795
1307
    export $ac_envvar ;;
796
1308
 
797
1309
  *)
811
1323
   { (exit 1); exit 1; }; }
812
1324
fi
813
1325
 
814
 
# Be sure to have absolute paths.
815
 
for ac_var in exec_prefix prefix
816
 
do
817
 
  eval ac_val=$`echo $ac_var`
818
 
  case $ac_val in
819
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
820
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
821
 
   { (exit 1); exit 1; }; };;
822
 
  esac
823
 
done
824
 
 
825
 
# Be sure to have absolute paths.
826
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
827
 
              localstatedir libdir includedir oldincludedir infodir mandir
828
 
do
829
 
  eval ac_val=$`echo $ac_var`
830
 
  case $ac_val in
831
 
    [\\/$]* | ?:[\\/]* ) ;;
832
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
833
 
   { (exit 1); exit 1; }; };;
834
 
  esac
 
1326
# Be sure to have absolute directory names.
 
1327
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1328
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1329
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1330
                libdir localedir mandir
 
1331
do
 
1332
  eval ac_val=\$$ac_var
 
1333
  case $ac_val in
 
1334
    [\\/$]* | ?:[\\/]* )  continue;;
 
1335
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1336
  esac
 
1337
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1338
   { (exit 1); exit 1; }; }
835
1339
done
836
1340
 
837
1341
# There might be people who depend on the old broken behavior: `$host'
858
1362
test "$silent" = yes && exec 6>/dev/null
859
1363
 
860
1364
 
 
1365
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1366
ac_ls_di=`ls -di .` &&
 
1367
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1368
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1369
   { (exit 1); exit 1; }; }
 
1370
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1371
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1372
   { (exit 1); exit 1; }; }
 
1373
 
 
1374
 
861
1375
# Find the source files, if location was not specified.
862
1376
if test -z "$srcdir"; then
863
1377
  ac_srcdir_defaulted=yes
864
 
  # Try the directory containing this script, then its parent.
865
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1378
  # Try the directory containing this script, then the parent directory.
 
1379
  ac_confdir=`$as_dirname -- "$0" ||
866
1380
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
867
1381
         X"$0" : 'X\(//\)[^/]' \| \
868
1382
         X"$0" : 'X\(//\)$' \| \
869
 
         X"$0" : 'X\(/\)' \| \
870
 
         .     : '\(.\)' 2>/dev/null ||
 
1383
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
871
1384
echo X"$0" |
872
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
873
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
874
 
          /^X\(\/\/\)$/{ s//\1/; q; }
875
 
          /^X\(\/\).*/{ s//\1/; q; }
876
 
          s/.*/./; q'`
 
1385
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1386
            s//\1/
 
1387
            q
 
1388
          }
 
1389
          /^X\(\/\/\)[^/].*/{
 
1390
            s//\1/
 
1391
            q
 
1392
          }
 
1393
          /^X\(\/\/\)$/{
 
1394
            s//\1/
 
1395
            q
 
1396
          }
 
1397
          /^X\(\/\).*/{
 
1398
            s//\1/
 
1399
            q
 
1400
          }
 
1401
          s/.*/./; q'`
877
1402
  srcdir=$ac_confdir
878
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1403
  if test ! -r "$srcdir/$ac_unique_file"; then
879
1404
    srcdir=..
880
1405
  fi
881
1406
else
882
1407
  ac_srcdir_defaulted=no
883
1408
fi
884
 
if test ! -r $srcdir/$ac_unique_file; then
885
 
  if test "$ac_srcdir_defaulted" = yes; then
886
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
887
 
   { (exit 1); exit 1; }; }
888
 
  else
889
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
890
 
   { (exit 1); exit 1; }; }
891
 
  fi
892
 
fi
893
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
894
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
895
 
   { (exit 1); exit 1; }; }
896
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
897
 
ac_env_build_alias_set=${build_alias+set}
898
 
ac_env_build_alias_value=$build_alias
899
 
ac_cv_env_build_alias_set=${build_alias+set}
900
 
ac_cv_env_build_alias_value=$build_alias
901
 
ac_env_host_alias_set=${host_alias+set}
902
 
ac_env_host_alias_value=$host_alias
903
 
ac_cv_env_host_alias_set=${host_alias+set}
904
 
ac_cv_env_host_alias_value=$host_alias
905
 
ac_env_target_alias_set=${target_alias+set}
906
 
ac_env_target_alias_value=$target_alias
907
 
ac_cv_env_target_alias_set=${target_alias+set}
908
 
ac_cv_env_target_alias_value=$target_alias
909
 
ac_env_CC_set=${CC+set}
910
 
ac_env_CC_value=$CC
911
 
ac_cv_env_CC_set=${CC+set}
912
 
ac_cv_env_CC_value=$CC
913
 
ac_env_CFLAGS_set=${CFLAGS+set}
914
 
ac_env_CFLAGS_value=$CFLAGS
915
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
916
 
ac_cv_env_CFLAGS_value=$CFLAGS
917
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
918
 
ac_env_LDFLAGS_value=$LDFLAGS
919
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
920
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
921
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
922
 
ac_env_CPPFLAGS_value=$CPPFLAGS
923
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
924
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
925
 
ac_env_CPP_set=${CPP+set}
926
 
ac_env_CPP_value=$CPP
927
 
ac_cv_env_CPP_set=${CPP+set}
928
 
ac_cv_env_CPP_value=$CPP
929
 
ac_env_CXX_set=${CXX+set}
930
 
ac_env_CXX_value=$CXX
931
 
ac_cv_env_CXX_set=${CXX+set}
932
 
ac_cv_env_CXX_value=$CXX
933
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
934
 
ac_env_CXXFLAGS_value=$CXXFLAGS
935
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
936
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
937
 
ac_env_CXXCPP_set=${CXXCPP+set}
938
 
ac_env_CXXCPP_value=$CXXCPP
939
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
940
 
ac_cv_env_CXXCPP_value=$CXXCPP
941
 
ac_env_F77_set=${F77+set}
942
 
ac_env_F77_value=$F77
943
 
ac_cv_env_F77_set=${F77+set}
944
 
ac_cv_env_F77_value=$F77
945
 
ac_env_FFLAGS_set=${FFLAGS+set}
946
 
ac_env_FFLAGS_value=$FFLAGS
947
 
ac_cv_env_FFLAGS_set=${FFLAGS+set}
948
 
ac_cv_env_FFLAGS_value=$FFLAGS
949
 
ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
950
 
ac_env_PKG_CONFIG_value=$PKG_CONFIG
951
 
ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
952
 
ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
953
 
ac_env_FAM_CFLAGS_set=${FAM_CFLAGS+set}
954
 
ac_env_FAM_CFLAGS_value=$FAM_CFLAGS
955
 
ac_cv_env_FAM_CFLAGS_set=${FAM_CFLAGS+set}
956
 
ac_cv_env_FAM_CFLAGS_value=$FAM_CFLAGS
957
 
ac_env_FAM_LIBS_set=${FAM_LIBS+set}
958
 
ac_env_FAM_LIBS_value=$FAM_LIBS
959
 
ac_cv_env_FAM_LIBS_set=${FAM_LIBS+set}
960
 
ac_cv_env_FAM_LIBS_value=$FAM_LIBS
961
 
ac_env_XML_CFLAGS_set=${XML_CFLAGS+set}
962
 
ac_env_XML_CFLAGS_value=$XML_CFLAGS
963
 
ac_cv_env_XML_CFLAGS_set=${XML_CFLAGS+set}
964
 
ac_cv_env_XML_CFLAGS_value=$XML_CFLAGS
965
 
ac_env_XML_LIBS_set=${XML_LIBS+set}
966
 
ac_env_XML_LIBS_value=$XML_LIBS
967
 
ac_cv_env_XML_LIBS_set=${XML_LIBS+set}
968
 
ac_cv_env_XML_LIBS_value=$XML_LIBS
969
 
ac_env_SQLITE_CFLAGS_set=${SQLITE_CFLAGS+set}
970
 
ac_env_SQLITE_CFLAGS_value=$SQLITE_CFLAGS
971
 
ac_cv_env_SQLITE_CFLAGS_set=${SQLITE_CFLAGS+set}
972
 
ac_cv_env_SQLITE_CFLAGS_value=$SQLITE_CFLAGS
973
 
ac_env_SQLITE_LIBS_set=${SQLITE_LIBS+set}
974
 
ac_env_SQLITE_LIBS_value=$SQLITE_LIBS
975
 
ac_cv_env_SQLITE_LIBS_set=${SQLITE_LIBS+set}
976
 
ac_cv_env_SQLITE_LIBS_value=$SQLITE_LIBS
977
 
ac_env_LUA_CFLAGS_set=${LUA_CFLAGS+set}
978
 
ac_env_LUA_CFLAGS_value=$LUA_CFLAGS
979
 
ac_cv_env_LUA_CFLAGS_set=${LUA_CFLAGS+set}
980
 
ac_cv_env_LUA_CFLAGS_value=$LUA_CFLAGS
981
 
ac_env_LUA_LIBS_set=${LUA_LIBS+set}
982
 
ac_env_LUA_LIBS_value=$LUA_LIBS
983
 
ac_cv_env_LUA_LIBS_set=${LUA_LIBS+set}
984
 
ac_cv_env_LUA_LIBS_value=$LUA_LIBS
 
1409
if test ! -r "$srcdir/$ac_unique_file"; then
 
1410
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1411
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1412
   { (exit 1); exit 1; }; }
 
1413
fi
 
1414
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1415
ac_abs_confdir=`(
 
1416
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1417
   { (exit 1); exit 1; }; }
 
1418
        pwd)`
 
1419
# When building in place, set srcdir=.
 
1420
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1421
  srcdir=.
 
1422
fi
 
1423
# Remove unnecessary trailing slashes from srcdir.
 
1424
# Double slashes in file names in object file debugging info
 
1425
# mess up M-x gdb in Emacs.
 
1426
case $srcdir in
 
1427
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1428
esac
 
1429
for ac_var in $ac_precious_vars; do
 
1430
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1431
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1432
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1433
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1434
done
985
1435
 
986
1436
#
987
1437
# Report the --help message.
990
1440
  # Omit some internal or obsolete options to make the list less imposing.
991
1441
  # This message is too long to be a string in the A/UX 3.1 sh.
992
1442
  cat <<_ACEOF
993
 
\`configure' configures lighttpd 1.4.13 to adapt to many kinds of systems.
 
1443
\`configure' configures lighttpd 1.4.15 to adapt to many kinds of systems.
994
1444
 
995
1445
Usage: $0 [OPTION]... [VAR=VALUE]...
996
1446
 
1010
1460
  -n, --no-create         do not create output files
1011
1461
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1012
1462
 
1013
 
_ACEOF
1014
 
 
1015
 
  cat <<_ACEOF
1016
1463
Installation directories:
1017
1464
  --prefix=PREFIX         install architecture-independent files in PREFIX
1018
1465
                          [$ac_default_prefix]
1030
1477
  --bindir=DIR           user executables [EPREFIX/bin]
1031
1478
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1032
1479
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1033
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
1034
1480
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1035
1481
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1036
1482
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1037
1483
  --libdir=DIR           object code libraries [EPREFIX/lib]
1038
1484
  --includedir=DIR       C header files [PREFIX/include]
1039
1485
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1040
 
  --infodir=DIR          info documentation [PREFIX/info]
1041
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1486
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1487
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1488
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1489
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1490
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1491
  --docdir=DIR           documentation root [DATAROOTDIR/doc/lighttpd]
 
1492
  --htmldir=DIR          html documentation [DOCDIR]
 
1493
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1494
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1495
  --psdir=DIR            ps documentation [DOCDIR]
1042
1496
_ACEOF
1043
1497
 
1044
1498
  cat <<\_ACEOF
1057
1511
 
1058
1512
if test -n "$ac_init_help"; then
1059
1513
  case $ac_init_help in
1060
 
     short | recursive ) echo "Configuration of lighttpd 1.4.13:";;
 
1514
     short | recursive ) echo "Configuration of lighttpd 1.4.15:";;
1061
1515
   esac
1062
1516
  cat <<\_ACEOF
1063
1517
 
1068
1522
                          (and sometimes confusing) to the casual installer
1069
1523
  --disable-dependency-tracking  speeds up one-time build
1070
1524
  --enable-dependency-tracking   do not reject slow dependency extractors
1071
 
  --enable-static[=PKGS]
1072
 
                          build static libraries [default=no]
1073
 
  --enable-shared[=PKGS]
1074
 
                          build shared libraries [default=yes]
 
1525
  --enable-static[=PKGS]  build static libraries [default=no]
 
1526
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1075
1527
  --enable-fast-install[=PKGS]
1076
1528
                          optimize for fast installation [default=yes]
1077
1529
  --disable-libtool-lock  avoid locking (might break parallel builds)
1084
1536
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1085
1537
  --with-pic              try to use only PIC/non-PIC objects [default=use
1086
1538
                          both]
1087
 
  --with-tags[=TAGS]
1088
 
                          include additional configurations [automatic]
1089
 
  --with-mysql[=PATH]
1090
 
                          Include MySQL support. PATH is the path to
 
1539
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1540
  --with-mysql[=PATH]     Include MySQL support. PATH is the path to
1091
1541
                          'mysql_config'
1092
1542
  --with-ldap             enable LDAP support
1093
1543
  --with-attr             enable extended attribute support
1094
1544
  --with-valgrind         enable internal support for valgrind
1095
 
  --with-openssl[=DIR]
1096
 
                          Include openssl support (default no)
 
1545
  --with-openssl[=DIR]    Include openssl support (default no)
1097
1546
  --with-openssl-includes=DIR
1098
1547
                          OpenSSL includes
1099
1548
  --with-openssl-libs=DIR OpenSSL libraries
1112
1561
  CFLAGS      C compiler flags
1113
1562
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1114
1563
              nonstandard directory <lib dir>
1115
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1116
 
              headers in a nonstandard directory <include dir>
 
1564
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1565
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1566
              you have headers in a nonstandard directory <include dir>
1117
1567
  CPP         C preprocessor
1118
1568
  CXX         C++ compiler command
1119
1569
  CXXFLAGS    C++ compiler flags
1136
1586
 
1137
1587
Report bugs to <jan@kneschke.de>.
1138
1588
_ACEOF
 
1589
ac_status=$?
1139
1590
fi
1140
1591
 
1141
1592
if test "$ac_init_help" = "recursive"; then
1142
1593
  # If there are subdirs, report their specific --help.
1143
 
  ac_popdir=`pwd`
1144
1594
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1145
 
    test -d $ac_dir || continue
 
1595
    test -d "$ac_dir" || continue
1146
1596
    ac_builddir=.
1147
1597
 
1148
 
if test "$ac_dir" != .; then
 
1598
case "$ac_dir" in
 
1599
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1600
*)
1149
1601
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1150
 
  # A "../" for each directory in $ac_dir_suffix.
1151
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1152
 
else
1153
 
  ac_dir_suffix= ac_top_builddir=
1154
 
fi
 
1602
  # A ".." for each directory in $ac_dir_suffix.
 
1603
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1604
  case $ac_top_builddir_sub in
 
1605
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1606
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1607
  esac ;;
 
1608
esac
 
1609
ac_abs_top_builddir=$ac_pwd
 
1610
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1611
# for backward compatibility:
 
1612
ac_top_builddir=$ac_top_build_prefix
1155
1613
 
1156
1614
case $srcdir in
1157
 
  .)  # No --srcdir option.  We are building in place.
 
1615
  .)  # We are building in place.
1158
1616
    ac_srcdir=.
1159
 
    if test -z "$ac_top_builddir"; then
1160
 
       ac_top_srcdir=.
1161
 
    else
1162
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1163
 
    fi ;;
1164
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1617
    ac_top_srcdir=$ac_top_builddir_sub
 
1618
    ac_abs_top_srcdir=$ac_pwd ;;
 
1619
  [\\/]* | ?:[\\/]* )  # Absolute name.
1165
1620
    ac_srcdir=$srcdir$ac_dir_suffix;
1166
 
    ac_top_srcdir=$srcdir ;;
1167
 
  *) # Relative path.
1168
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1169
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1170
 
esac
1171
 
 
1172
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1173
 
# the directories may not exist.
1174
 
case `pwd` in
1175
 
.) ac_abs_builddir="$ac_dir";;
1176
 
*)
1177
 
  case "$ac_dir" in
1178
 
  .) ac_abs_builddir=`pwd`;;
1179
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1180
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1181
 
  esac;;
1182
 
esac
1183
 
case $ac_abs_builddir in
1184
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1185
 
*)
1186
 
  case ${ac_top_builddir}. in
1187
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1188
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1189
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1190
 
  esac;;
1191
 
esac
1192
 
case $ac_abs_builddir in
1193
 
.) ac_abs_srcdir=$ac_srcdir;;
1194
 
*)
1195
 
  case $ac_srcdir in
1196
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1197
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1198
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1199
 
  esac;;
1200
 
esac
1201
 
case $ac_abs_builddir in
1202
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1203
 
*)
1204
 
  case $ac_top_srcdir in
1205
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1206
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1207
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1208
 
  esac;;
1209
 
esac
1210
 
 
1211
 
    cd $ac_dir
1212
 
    # Check for guested configure; otherwise get Cygnus style configure.
1213
 
    if test -f $ac_srcdir/configure.gnu; then
1214
 
      echo
1215
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1216
 
    elif test -f $ac_srcdir/configure; then
1217
 
      echo
1218
 
      $SHELL $ac_srcdir/configure  --help=recursive
1219
 
    elif test -f $ac_srcdir/configure.ac ||
1220
 
           test -f $ac_srcdir/configure.in; then
1221
 
      echo
1222
 
      $ac_configure --help
 
1621
    ac_top_srcdir=$srcdir
 
1622
    ac_abs_top_srcdir=$srcdir ;;
 
1623
  *) # Relative name.
 
1624
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1625
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1626
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1627
esac
 
1628
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1629
 
 
1630
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1631
    # Check for guested configure.
 
1632
    if test -f "$ac_srcdir/configure.gnu"; then
 
1633
      echo &&
 
1634
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1635
    elif test -f "$ac_srcdir/configure"; then
 
1636
      echo &&
 
1637
      $SHELL "$ac_srcdir/configure" --help=recursive
1223
1638
    else
1224
1639
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1225
 
    fi
1226
 
    cd $ac_popdir
 
1640
    fi || ac_status=$?
 
1641
    cd "$ac_pwd" || { ac_status=$?; break; }
1227
1642
  done
1228
1643
fi
1229
1644
 
1230
 
test -n "$ac_init_help" && exit 0
 
1645
test -n "$ac_init_help" && exit $ac_status
1231
1646
if $ac_init_version; then
1232
1647
  cat <<\_ACEOF
1233
 
lighttpd configure 1.4.13
1234
 
generated by GNU Autoconf 2.59
 
1648
lighttpd configure 1.4.15
 
1649
generated by GNU Autoconf 2.61
1235
1650
 
1236
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1651
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1652
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1237
1653
This configure script is free software; the Free Software Foundation
1238
1654
gives unlimited permission to copy, distribute and modify it.
1239
1655
_ACEOF
1240
 
  exit 0
 
1656
  exit
1241
1657
fi
1242
 
exec 5>config.log
1243
 
cat >&5 <<_ACEOF
 
1658
cat >config.log <<_ACEOF
1244
1659
This file contains any messages produced by compilers while
1245
1660
running configure, to aid debugging if configure makes a mistake.
1246
1661
 
1247
 
It was created by lighttpd $as_me 1.4.13, which was
1248
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1662
It was created by lighttpd $as_me 1.4.15, which was
 
1663
generated by GNU Autoconf 2.61.  Invocation command line was
1249
1664
 
1250
1665
  $ $0 $@
1251
1666
 
1252
1667
_ACEOF
 
1668
exec 5>>config.log
1253
1669
{
1254
1670
cat <<_ASUNAME
1255
1671
## --------- ##
1268
1684
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1269
1685
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1270
1686
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1271
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1687
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1272
1688
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1273
1689
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1274
1690
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1282
1698
  test -z "$as_dir" && as_dir=.
1283
1699
  echo "PATH: $as_dir"
1284
1700
done
 
1701
IFS=$as_save_IFS
1285
1702
 
1286
1703
} >&5
1287
1704
 
1303
1720
ac_configure_args=
1304
1721
ac_configure_args0=
1305
1722
ac_configure_args1=
1306
 
ac_sep=
1307
1723
ac_must_keep_next=false
1308
1724
for ac_pass in 1 2
1309
1725
do
1314
1730
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1315
1731
    | -silent | --silent | --silen | --sile | --sil)
1316
1732
      continue ;;
1317
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1733
    *\'*)
1318
1734
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1319
1735
    esac
1320
1736
    case $ac_pass in
1336
1752
          -* ) ac_must_keep_next=true ;;
1337
1753
        esac
1338
1754
      fi
1339
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1340
 
      # Get rid of the leading space.
1341
 
      ac_sep=" "
 
1755
      ac_configure_args="$ac_configure_args '$ac_arg'"
1342
1756
      ;;
1343
1757
    esac
1344
1758
  done
1349
1763
# When interrupted or exit'd, cleanup temporary files, and complete
1350
1764
# config.log.  We remove comments because anyway the quotes in there
1351
1765
# would cause problems or look ugly.
1352
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1353
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1766
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1767
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1354
1768
trap 'exit_status=$?
1355
1769
  # Save into config.log some information that might help in debugging.
1356
1770
  {
1363
1777
_ASBOX
1364
1778
    echo
1365
1779
    # The following way of writing the cache mishandles newlines in values,
1366
 
{
 
1780
(
 
1781
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1782
    eval ac_val=\$$ac_var
 
1783
    case $ac_val in #(
 
1784
    *${as_nl}*)
 
1785
      case $ac_var in #(
 
1786
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1787
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1788
      esac
 
1789
      case $ac_var in #(
 
1790
      _ | IFS | as_nl) ;; #(
 
1791
      *) $as_unset $ac_var ;;
 
1792
      esac ;;
 
1793
    esac
 
1794
  done
1367
1795
  (set) 2>&1 |
1368
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1369
 
    *ac_space=\ *)
 
1796
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1797
    *${as_nl}ac_space=\ *)
1370
1798
      sed -n \
1371
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1372
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1373
 
      ;;
 
1799
        "s/'\''/'\''\\\\'\'''\''/g;
 
1800
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1801
      ;; #(
1374
1802
    *)
1375
 
      sed -n \
1376
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1803
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1377
1804
      ;;
1378
 
    esac;
1379
 
}
 
1805
    esac |
 
1806
    sort
 
1807
)
1380
1808
    echo
1381
1809
 
1382
1810
    cat <<\_ASBOX
1387
1815
    echo
1388
1816
    for ac_var in $ac_subst_vars
1389
1817
    do
1390
 
      eval ac_val=$`echo $ac_var`
1391
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1818
      eval ac_val=\$$ac_var
 
1819
      case $ac_val in
 
1820
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1821
      esac
 
1822
      echo "$ac_var='\''$ac_val'\''"
1392
1823
    done | sort
1393
1824
    echo
1394
1825
 
1395
1826
    if test -n "$ac_subst_files"; then
1396
1827
      cat <<\_ASBOX
1397
 
## ------------- ##
1398
 
## Output files. ##
1399
 
## ------------- ##
 
1828
## ------------------- ##
 
1829
## File substitutions. ##
 
1830
## ------------------- ##
1400
1831
_ASBOX
1401
1832
      echo
1402
1833
      for ac_var in $ac_subst_files
1403
1834
      do
1404
 
        eval ac_val=$`echo $ac_var`
1405
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1835
        eval ac_val=\$$ac_var
 
1836
        case $ac_val in
 
1837
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1838
        esac
 
1839
        echo "$ac_var='\''$ac_val'\''"
1406
1840
      done | sort
1407
1841
      echo
1408
1842
    fi
1414
1848
## ----------- ##
1415
1849
_ASBOX
1416
1850
      echo
1417
 
      sed "/^$/d" confdefs.h | sort
 
1851
      cat confdefs.h
1418
1852
      echo
1419
1853
    fi
1420
1854
    test "$ac_signal" != 0 &&
1421
1855
      echo "$as_me: caught signal $ac_signal"
1422
1856
    echo "$as_me: exit $exit_status"
1423
1857
  } >&5
1424
 
  rm -f core *.core &&
1425
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1858
  rm -f core *.core core.conftest.* &&
 
1859
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1426
1860
    exit $exit_status
1427
 
     ' 0
 
1861
' 0
1428
1862
for ac_signal in 1 2 13 15; do
1429
1863
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1430
1864
done
1431
1865
ac_signal=0
1432
1866
 
1433
1867
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1434
 
rm -rf conftest* confdefs.h
1435
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1436
 
echo >confdefs.h
 
1868
rm -f -r conftest* confdefs.h
1437
1869
 
1438
1870
# Predefined preprocessor variables.
1439
1871
 
1464
1896
 
1465
1897
# Let the site file select an alternate cache file if it wants to.
1466
1898
# Prefer explicitly selected file to automatically selected ones.
1467
 
if test -z "$CONFIG_SITE"; then
1468
 
  if test "x$prefix" != xNONE; then
1469
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1470
 
  else
1471
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1472
 
  fi
 
1899
if test -n "$CONFIG_SITE"; then
 
1900
  set x "$CONFIG_SITE"
 
1901
elif test "x$prefix" != xNONE; then
 
1902
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1903
else
 
1904
  set x "$ac_default_prefix/share/config.site" \
 
1905
        "$ac_default_prefix/etc/config.site"
1473
1906
fi
1474
 
for ac_site_file in $CONFIG_SITE; do
 
1907
shift
 
1908
for ac_site_file
 
1909
do
1475
1910
  if test -r "$ac_site_file"; then
1476
1911
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1477
1912
echo "$as_me: loading site script $ac_site_file" >&6;}
1487
1922
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1488
1923
echo "$as_me: loading cache $cache_file" >&6;}
1489
1924
    case $cache_file in
1490
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1491
 
      *)                      . ./$cache_file;;
 
1925
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1926
      *)                      . "./$cache_file";;
1492
1927
    esac
1493
1928
  fi
1494
1929
else
1500
1935
# Check that the precious variables saved in the cache have kept the same
1501
1936
# value.
1502
1937
ac_cache_corrupted=false
1503
 
for ac_var in `(set) 2>&1 |
1504
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1938
for ac_var in $ac_precious_vars; do
1505
1939
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1506
1940
  eval ac_new_set=\$ac_env_${ac_var}_set
1507
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1508
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1941
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1942
  eval ac_new_val=\$ac_env_${ac_var}_value
1509
1943
  case $ac_old_set,$ac_new_set in
1510
1944
    set,)
1511
1945
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1530
1964
  # Pass precious variables to config.status.
1531
1965
  if test "$ac_new_set" = set; then
1532
1966
    case $ac_new_val in
1533
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1534
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1967
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1535
1968
    *) ac_arg=$ac_var=$ac_new_val ;;
1536
1969
    esac
1537
1970
    case " $ac_configure_args " in
1548
1981
   { (exit 1); exit 1; }; }
1549
1982
fi
1550
1983
 
 
1984
 
 
1985
 
 
1986
 
 
1987
 
 
1988
 
 
1989
 
 
1990
 
 
1991
 
 
1992
 
 
1993
 
 
1994
 
 
1995
 
 
1996
 
 
1997
 
 
1998
 
 
1999
 
 
2000
 
 
2001
 
 
2002
 
 
2003
 
 
2004
 
 
2005
 
 
2006
 
 
2007
 
1551
2008
ac_ext=c
1552
2009
ac_cpp='$CPP $CPPFLAGS'
1553
2010
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1557
2014
 
1558
2015
 
1559
2016
 
1560
 
 
1561
 
 
1562
 
 
1563
 
 
1564
 
 
1565
 
 
1566
 
 
1567
 
 
1568
 
 
1569
 
 
1570
 
 
1571
 
 
1572
 
 
1573
 
 
1574
 
 
1575
 
 
1576
 
 
1577
 
 
1578
 
 
1579
 
 
1580
 
 
1581
 
 
1582
 
 
1583
 
 
1584
 
 
1585
2017
ac_aux_dir=
1586
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1587
 
  if test -f $ac_dir/install-sh; then
 
2018
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2019
  if test -f "$ac_dir/install-sh"; then
1588
2020
    ac_aux_dir=$ac_dir
1589
2021
    ac_install_sh="$ac_aux_dir/install-sh -c"
1590
2022
    break
1591
 
  elif test -f $ac_dir/install.sh; then
 
2023
  elif test -f "$ac_dir/install.sh"; then
1592
2024
    ac_aux_dir=$ac_dir
1593
2025
    ac_install_sh="$ac_aux_dir/install.sh -c"
1594
2026
    break
1595
 
  elif test -f $ac_dir/shtool; then
 
2027
  elif test -f "$ac_dir/shtool"; then
1596
2028
    ac_aux_dir=$ac_dir
1597
2029
    ac_install_sh="$ac_aux_dir/shtool install -c"
1598
2030
    break
1599
2031
  fi
1600
2032
done
1601
2033
if test -z "$ac_aux_dir"; then
1602
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1603
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
2034
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
2035
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1604
2036
   { (exit 1); exit 1; }; }
1605
2037
fi
1606
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1607
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1608
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
2038
 
 
2039
# These three variables are undocumented and unsupported,
 
2040
# and are intended to be withdrawn in a future Autoconf release.
 
2041
# They can cause serious problems if a builder's source tree is in a directory
 
2042
# whose full name contains unusual characters.
 
2043
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2044
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2045
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2046
 
1609
2047
 
1610
2048
# Make sure we can run config.sub.
1611
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
1612
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1613
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
2049
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
2050
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
2051
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1614
2052
   { (exit 1); exit 1; }; }
1615
2053
 
1616
 
echo "$as_me:$LINENO: checking build system type" >&5
1617
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
2054
{ echo "$as_me:$LINENO: checking build system type" >&5
 
2055
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1618
2056
if test "${ac_cv_build+set}" = set; then
1619
2057
  echo $ECHO_N "(cached) $ECHO_C" >&6
1620
2058
else
1621
 
  ac_cv_build_alias=$build_alias
1622
 
test -z "$ac_cv_build_alias" &&
1623
 
  ac_cv_build_alias=`$ac_config_guess`
1624
 
test -z "$ac_cv_build_alias" &&
 
2059
  ac_build_alias=$build_alias
 
2060
test "x$ac_build_alias" = x &&
 
2061
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
2062
test "x$ac_build_alias" = x &&
1625
2063
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1626
2064
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1627
2065
   { (exit 1); exit 1; }; }
1628
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1629
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1630
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
2066
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
2067
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
2068
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1631
2069
   { (exit 1); exit 1; }; }
1632
2070
 
1633
2071
fi
1634
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1635
 
echo "${ECHO_T}$ac_cv_build" >&6
 
2072
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
2073
echo "${ECHO_T}$ac_cv_build" >&6; }
 
2074
case $ac_cv_build in
 
2075
*-*-*) ;;
 
2076
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
2077
echo "$as_me: error: invalid value of canonical build" >&2;}
 
2078
   { (exit 1); exit 1; }; };;
 
2079
esac
1636
2080
build=$ac_cv_build
1637
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1638
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1639
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1640
 
 
1641
 
 
1642
 
echo "$as_me:$LINENO: checking host system type" >&5
1643
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
2081
ac_save_IFS=$IFS; IFS='-'
 
2082
set x $ac_cv_build
 
2083
shift
 
2084
build_cpu=$1
 
2085
build_vendor=$2
 
2086
shift; shift
 
2087
# Remember, the first character of IFS is used to create $*,
 
2088
# except with old shells:
 
2089
build_os=$*
 
2090
IFS=$ac_save_IFS
 
2091
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
2092
 
 
2093
 
 
2094
{ echo "$as_me:$LINENO: checking host system type" >&5
 
2095
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1644
2096
if test "${ac_cv_host+set}" = set; then
1645
2097
  echo $ECHO_N "(cached) $ECHO_C" >&6
1646
2098
else
1647
 
  ac_cv_host_alias=$host_alias
1648
 
test -z "$ac_cv_host_alias" &&
1649
 
  ac_cv_host_alias=$ac_cv_build_alias
1650
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1651
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1652
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
2099
  if test "x$host_alias" = x; then
 
2100
  ac_cv_host=$ac_cv_build
 
2101
else
 
2102
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
2103
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
2104
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1653
2105
   { (exit 1); exit 1; }; }
 
2106
fi
1654
2107
 
1655
2108
fi
1656
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1657
 
echo "${ECHO_T}$ac_cv_host" >&6
 
2109
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2110
echo "${ECHO_T}$ac_cv_host" >&6; }
 
2111
case $ac_cv_host in
 
2112
*-*-*) ;;
 
2113
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
2114
echo "$as_me: error: invalid value of canonical host" >&2;}
 
2115
   { (exit 1); exit 1; }; };;
 
2116
esac
1658
2117
host=$ac_cv_host
1659
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1660
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1661
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1662
 
 
1663
 
 
1664
 
echo "$as_me:$LINENO: checking target system type" >&5
1665
 
echo $ECHO_N "checking target system type... $ECHO_C" >&6
 
2118
ac_save_IFS=$IFS; IFS='-'
 
2119
set x $ac_cv_host
 
2120
shift
 
2121
host_cpu=$1
 
2122
host_vendor=$2
 
2123
shift; shift
 
2124
# Remember, the first character of IFS is used to create $*,
 
2125
# except with old shells:
 
2126
host_os=$*
 
2127
IFS=$ac_save_IFS
 
2128
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
2129
 
 
2130
 
 
2131
{ echo "$as_me:$LINENO: checking target system type" >&5
 
2132
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1666
2133
if test "${ac_cv_target+set}" = set; then
1667
2134
  echo $ECHO_N "(cached) $ECHO_C" >&6
1668
2135
else
1669
 
  ac_cv_target_alias=$target_alias
1670
 
test "x$ac_cv_target_alias" = "x" &&
1671
 
  ac_cv_target_alias=$ac_cv_host_alias
1672
 
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1673
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1674
 
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
 
2136
  if test "x$target_alias" = x; then
 
2137
  ac_cv_target=$ac_cv_host
 
2138
else
 
2139
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 
2140
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
 
2141
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1675
2142
   { (exit 1); exit 1; }; }
 
2143
fi
1676
2144
 
1677
2145
fi
1678
 
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1679
 
echo "${ECHO_T}$ac_cv_target" >&6
 
2146
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
 
2147
echo "${ECHO_T}$ac_cv_target" >&6; }
 
2148
case $ac_cv_target in
 
2149
*-*-*) ;;
 
2150
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
 
2151
echo "$as_me: error: invalid value of canonical target" >&2;}
 
2152
   { (exit 1); exit 1; }; };;
 
2153
esac
1680
2154
target=$ac_cv_target
1681
 
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1682
 
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1683
 
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
2155
ac_save_IFS=$IFS; IFS='-'
 
2156
set x $ac_cv_target
 
2157
shift
 
2158
target_cpu=$1
 
2159
target_vendor=$2
 
2160
shift; shift
 
2161
# Remember, the first character of IFS is used to create $*,
 
2162
# except with old shells:
 
2163
target_os=$*
 
2164
IFS=$ac_save_IFS
 
2165
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1684
2166
 
1685
2167
 
1686
2168
# The aliases save the names the user supplied, while $host etc.
1690
2172
    NONENONEs,x,x, &&
1691
2173
  program_prefix=${target_alias}-
1692
2174
 
1693
 
am__api_version="1.9"
 
2175
am__api_version='1.10'
 
2176
 
1694
2177
# Find a good install program.  We prefer a C program (faster),
1695
2178
# so one script is as good as another.  But avoid the broken or
1696
2179
# incompatible versions:
1704
2187
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1705
2188
# OS/2's system install, which has a completely different semantic
1706
2189
# ./install, which can be erroneously created by make from ./install.sh.
1707
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1708
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2190
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2191
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1709
2192
if test -z "$INSTALL"; then
1710
2193
if test "${ac_cv_path_install+set}" = set; then
1711
2194
  echo $ECHO_N "(cached) $ECHO_C" >&6
1727
2210
    # by default.
1728
2211
    for ac_prog in ginstall scoinst install; do
1729
2212
      for ac_exec_ext in '' $ac_executable_extensions; do
1730
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2213
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1731
2214
          if test $ac_prog = install &&
1732
2215
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1733
2216
            # AIX install.  It has an incompatible calling convention.
1746
2229
    ;;
1747
2230
esac
1748
2231
done
 
2232
IFS=$as_save_IFS
1749
2233
 
1750
2234
 
1751
2235
fi
1752
2236
  if test "${ac_cv_path_install+set}" = set; then
1753
2237
    INSTALL=$ac_cv_path_install
1754
2238
  else
1755
 
    # As a last resort, use the slow shell script.  We don't cache a
1756
 
    # path for INSTALL within a source directory, because that will
 
2239
    # As a last resort, use the slow shell script.  Don't cache a
 
2240
    # value for INSTALL within a source directory, because that will
1757
2241
    # break other packages using the cache if that directory is
1758
 
    # removed, or if the path is relative.
 
2242
    # removed, or if the value is a relative name.
1759
2243
    INSTALL=$ac_install_sh
1760
2244
  fi
1761
2245
fi
1762
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1763
 
echo "${ECHO_T}$INSTALL" >&6
 
2246
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2247
echo "${ECHO_T}$INSTALL" >&6; }
1764
2248
 
1765
2249
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1766
2250
# It thinks the first close brace ends the variable substitution.
1770
2254
 
1771
2255
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1772
2256
 
1773
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1774
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2257
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2258
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1775
2259
# Just in case
1776
2260
sleep 1
1777
2261
echo timestamp > conftest.file
1813
2297
Check your system clock" >&2;}
1814
2298
   { (exit 1); exit 1; }; }
1815
2299
fi
1816
 
echo "$as_me:$LINENO: result: yes" >&5
1817
 
echo "${ECHO_T}yes" >&6
 
2300
{ echo "$as_me:$LINENO: result: yes" >&5
 
2301
echo "${ECHO_T}yes" >&6; }
1818
2302
test "$program_prefix" != NONE &&
1819
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2303
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1820
2304
# Use a double $ so make ignores it.
1821
2305
test "$program_suffix" != NONE &&
1822
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
2306
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1823
2307
# Double any \ or $.  echo might interpret backslashes.
1824
2308
# By default was `s,x,x', remove it if useless.
1825
2309
cat <<\_ACEOF >conftest.sed
1826
2310
s/[\\$]/&&/g;s/;s,x,x,$//
1827
2311
_ACEOF
1828
2312
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1829
 
rm conftest.sed
 
2313
rm -f conftest.sed
1830
2314
 
1831
2315
# expand $ac_aux_dir to an absolute path
1832
2316
am_aux_dir=`cd $ac_aux_dir && pwd`
1841
2325
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1842
2326
fi
1843
2327
 
1844
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1845
 
  # We used to keeping the `.' as first argument, in order to
1846
 
  # allow $(mkdir_p) to be used without argument.  As in
1847
 
  #   $(mkdir_p) $(somedir)
1848
 
  # where $(somedir) is conditionally defined.  However this is wrong
1849
 
  # for two reasons:
1850
 
  #  1. if the package is installed by a user who cannot write `.'
1851
 
  #     make install will fail,
1852
 
  #  2. the above comment should most certainly read
1853
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
1854
 
  #     so it does not work when $(somedir) is undefined and
1855
 
  #     $(DESTDIR) is not.
1856
 
  #  To support the latter case, we have to write
1857
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1858
 
  #  so the `.' trick is pointless.
1859
 
  mkdir_p='mkdir -p --'
 
2328
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2329
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2330
if test -z "$MKDIR_P"; then
 
2331
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2332
  echo $ECHO_N "(cached) $ECHO_C" >&6
1860
2333
else
1861
 
  # On NextStep and OpenStep, the `mkdir' command does not
1862
 
  # recognize any option.  It will interpret all options as
1863
 
  # directories to create, and then abort because `.' already
1864
 
  # exists.
1865
 
  for d in ./-p ./--version;
1866
 
  do
1867
 
    test -d $d && rmdir $d
1868
 
  done
1869
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1870
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
1871
 
    mkdir_p='$(mkinstalldirs)'
 
2334
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2335
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2336
do
 
2337
  IFS=$as_save_IFS
 
2338
  test -z "$as_dir" && as_dir=.
 
2339
  for ac_prog in mkdir gmkdir; do
 
2340
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2341
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2342
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2343
             'mkdir (GNU coreutils) '* | \
 
2344
             'mkdir (coreutils) '* | \
 
2345
             'mkdir (fileutils) '4.1*)
 
2346
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2347
               break 3;;
 
2348
           esac
 
2349
         done
 
2350
       done
 
2351
done
 
2352
IFS=$as_save_IFS
 
2353
 
 
2354
fi
 
2355
 
 
2356
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2357
    MKDIR_P="$ac_cv_path_mkdir -p"
1872
2358
  else
1873
 
    mkdir_p='$(install_sh) -d'
 
2359
    # As a last resort, use the slow shell script.  Don't cache a
 
2360
    # value for MKDIR_P within a source directory, because that will
 
2361
    # break other packages using the cache if that directory is
 
2362
    # removed, or if the value is a relative name.
 
2363
    test -d ./--version && rmdir ./--version
 
2364
    MKDIR_P="$ac_install_sh -d"
1874
2365
  fi
1875
2366
fi
 
2367
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2368
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2369
 
 
2370
mkdir_p="$MKDIR_P"
 
2371
case $mkdir_p in
 
2372
  [\\/$]* | ?:[\\/]*) ;;
 
2373
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2374
esac
1876
2375
 
1877
2376
for ac_prog in gawk mawk nawk awk
1878
2377
do
1879
2378
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1880
2379
set dummy $ac_prog; ac_word=$2
1881
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1882
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2380
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2381
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1883
2382
if test "${ac_cv_prog_AWK+set}" = set; then
1884
2383
  echo $ECHO_N "(cached) $ECHO_C" >&6
1885
2384
else
1892
2391
  IFS=$as_save_IFS
1893
2392
  test -z "$as_dir" && as_dir=.
1894
2393
  for ac_exec_ext in '' $ac_executable_extensions; do
1895
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2394
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1896
2395
    ac_cv_prog_AWK="$ac_prog"
1897
2396
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1898
2397
    break 2
1899
2398
  fi
1900
2399
done
1901
2400
done
 
2401
IFS=$as_save_IFS
1902
2402
 
1903
2403
fi
1904
2404
fi
1905
2405
AWK=$ac_cv_prog_AWK
1906
2406
if test -n "$AWK"; then
1907
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1908
 
echo "${ECHO_T}$AWK" >&6
 
2407
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
2408
echo "${ECHO_T}$AWK" >&6; }
1909
2409
else
1910
 
  echo "$as_me:$LINENO: result: no" >&5
1911
 
echo "${ECHO_T}no" >&6
 
2410
  { echo "$as_me:$LINENO: result: no" >&5
 
2411
echo "${ECHO_T}no" >&6; }
1912
2412
fi
1913
2413
 
 
2414
 
1914
2415
  test -n "$AWK" && break
1915
2416
done
1916
2417
 
1917
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1918
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1919
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1920
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
2418
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2419
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
2420
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2421
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1921
2422
  echo $ECHO_N "(cached) $ECHO_C" >&6
1922
2423
else
1923
2424
  cat >conftest.make <<\_ACEOF
 
2425
SHELL = /bin/sh
1924
2426
all:
1925
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2427
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1926
2428
_ACEOF
1927
2429
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1928
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1929
 
if test -n "$ac_maketemp"; then
1930
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1931
 
else
1932
 
  eval ac_cv_prog_make_${ac_make}_set=no
1933
 
fi
 
2430
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2431
  *@@@%%%=?*=@@@%%%*)
 
2432
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2433
  *)
 
2434
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2435
esac
1934
2436
rm -f conftest.make
1935
2437
fi
1936
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1937
 
  echo "$as_me:$LINENO: result: yes" >&5
1938
 
echo "${ECHO_T}yes" >&6
 
2438
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2439
  { echo "$as_me:$LINENO: result: yes" >&5
 
2440
echo "${ECHO_T}yes" >&6; }
1939
2441
  SET_MAKE=
1940
2442
else
1941
 
  echo "$as_me:$LINENO: result: no" >&5
1942
 
echo "${ECHO_T}no" >&6
 
2443
  { echo "$as_me:$LINENO: result: no" >&5
 
2444
echo "${ECHO_T}no" >&6; }
1943
2445
  SET_MAKE="MAKE=${MAKE-make}"
1944
2446
fi
1945
2447
 
1952
2454
fi
1953
2455
rmdir .tst 2>/dev/null
1954
2456
 
1955
 
# test to see if srcdir already configured
1956
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1957
 
   test -f $srcdir/config.status; then
1958
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2457
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2458
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2459
  # is not polluted with repeated "-I."
 
2460
  am__isrc=' -I$(srcdir)'
 
2461
  # test to see if srcdir already configured
 
2462
  if test -f $srcdir/config.status; then
 
2463
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1959
2464
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1960
2465
   { (exit 1); exit 1; }; }
 
2466
  fi
1961
2467
fi
1962
2468
 
1963
2469
# test whether we have cygpath
1972
2478
 
1973
2479
# Define the identity of the package.
1974
2480
 PACKAGE='lighttpd'
1975
 
 VERSION='1.4.13'
 
2481
 VERSION='1.4.15'
1976
2482
 
1977
2483
 
1978
2484
cat >>confdefs.h <<_ACEOF
2000
2506
 
2001
2507
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2002
2508
 
2003
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
2509
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2004
2510
 
2005
2511
# Installed binaries are usually stripped using `strip' when the user
2006
2512
# run `make install-strip'.  However `strip' might not be the right
2010
2516
  if test -n "$ac_tool_prefix"; then
2011
2517
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2012
2518
set dummy ${ac_tool_prefix}strip; ac_word=$2
2013
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2014
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2519
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2520
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2015
2521
if test "${ac_cv_prog_STRIP+set}" = set; then
2016
2522
  echo $ECHO_N "(cached) $ECHO_C" >&6
2017
2523
else
2024
2530
  IFS=$as_save_IFS
2025
2531
  test -z "$as_dir" && as_dir=.
2026
2532
  for ac_exec_ext in '' $ac_executable_extensions; do
2027
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2533
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2028
2534
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2029
2535
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2030
2536
    break 2
2031
2537
  fi
2032
2538
done
2033
2539
done
 
2540
IFS=$as_save_IFS
2034
2541
 
2035
2542
fi
2036
2543
fi
2037
2544
STRIP=$ac_cv_prog_STRIP
2038
2545
if test -n "$STRIP"; then
2039
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
2040
 
echo "${ECHO_T}$STRIP" >&6
 
2546
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2547
echo "${ECHO_T}$STRIP" >&6; }
2041
2548
else
2042
 
  echo "$as_me:$LINENO: result: no" >&5
2043
 
echo "${ECHO_T}no" >&6
 
2549
  { echo "$as_me:$LINENO: result: no" >&5
 
2550
echo "${ECHO_T}no" >&6; }
2044
2551
fi
 
2552
 
2045
2553
 
2046
2554
fi
2047
2555
if test -z "$ac_cv_prog_STRIP"; then
2048
2556
  ac_ct_STRIP=$STRIP
2049
2557
  # Extract the first word of "strip", so it can be a program name with args.
2050
2558
set dummy strip; ac_word=$2
2051
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2052
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2559
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2560
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2053
2561
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2054
2562
  echo $ECHO_N "(cached) $ECHO_C" >&6
2055
2563
else
2062
2570
  IFS=$as_save_IFS
2063
2571
  test -z "$as_dir" && as_dir=.
2064
2572
  for ac_exec_ext in '' $ac_executable_extensions; do
2065
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2573
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2066
2574
    ac_cv_prog_ac_ct_STRIP="strip"
2067
2575
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2068
2576
    break 2
2069
2577
  fi
2070
2578
done
2071
2579
done
 
2580
IFS=$as_save_IFS
2072
2581
 
2073
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2074
2582
fi
2075
2583
fi
2076
2584
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2077
2585
if test -n "$ac_ct_STRIP"; then
2078
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2079
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2586
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2587
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2080
2588
else
2081
 
  echo "$as_me:$LINENO: result: no" >&5
2082
 
echo "${ECHO_T}no" >&6
 
2589
  { echo "$as_me:$LINENO: result: no" >&5
 
2590
echo "${ECHO_T}no" >&6; }
2083
2591
fi
2084
2592
 
2085
 
  STRIP=$ac_ct_STRIP
 
2593
  if test "x$ac_ct_STRIP" = x; then
 
2594
    STRIP=":"
 
2595
  else
 
2596
    case $cross_compiling:$ac_tool_warned in
 
2597
yes:)
 
2598
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2599
whose name does not start with the host triplet.  If you think this
 
2600
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2601
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2602
whose name does not start with the host triplet.  If you think this
 
2603
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2604
ac_tool_warned=yes ;;
 
2605
esac
 
2606
    STRIP=$ac_ct_STRIP
 
2607
  fi
2086
2608
else
2087
2609
  STRIP="$ac_cv_prog_STRIP"
2088
2610
fi
2089
2611
 
2090
2612
fi
2091
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
2613
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2092
2614
 
2093
2615
# We need awk for the "check" target.  The system "awk" is bad on
2094
2616
# some platforms.
2103
2625
 
2104
2626
 
2105
2627
 
2106
 
          ac_config_headers="$ac_config_headers config.h"
2107
 
 
2108
 
 
2109
 
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2110
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2111
 
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 
2628
ac_config_headers="$ac_config_headers config.h"
 
2629
 
 
2630
 
 
2631
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2632
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
2633
    # Check whether --enable-maintainer-mode was given.
2112
2634
if test "${enable_maintainer_mode+set}" = set; then
2113
 
  enableval="$enable_maintainer_mode"
2114
 
  USE_MAINTAINER_MODE=$enableval
 
2635
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2115
2636
else
2116
2637
  USE_MAINTAINER_MODE=no
2117
 
fi;
2118
 
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2119
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2120
 
 
2121
 
 
2122
 
if test $USE_MAINTAINER_MODE = yes; then
 
2638
fi
 
2639
 
 
2640
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2641
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
 
2642
   if test $USE_MAINTAINER_MODE = yes; then
2123
2643
  MAINTAINER_MODE_TRUE=
2124
2644
  MAINTAINER_MODE_FALSE='#'
2125
2645
else
2140
2660
if test -n "$ac_tool_prefix"; then
2141
2661
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2142
2662
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2143
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2144
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2663
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2664
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2145
2665
if test "${ac_cv_prog_CC+set}" = set; then
2146
2666
  echo $ECHO_N "(cached) $ECHO_C" >&6
2147
2667
else
2154
2674
  IFS=$as_save_IFS
2155
2675
  test -z "$as_dir" && as_dir=.
2156
2676
  for ac_exec_ext in '' $ac_executable_extensions; do
2157
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2677
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2158
2678
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2159
2679
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2160
2680
    break 2
2161
2681
  fi
2162
2682
done
2163
2683
done
 
2684
IFS=$as_save_IFS
2164
2685
 
2165
2686
fi
2166
2687
fi
2167
2688
CC=$ac_cv_prog_CC
2168
2689
if test -n "$CC"; then
2169
 
  echo "$as_me:$LINENO: result: $CC" >&5
2170
 
echo "${ECHO_T}$CC" >&6
 
2690
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2691
echo "${ECHO_T}$CC" >&6; }
2171
2692
else
2172
 
  echo "$as_me:$LINENO: result: no" >&5
2173
 
echo "${ECHO_T}no" >&6
 
2693
  { echo "$as_me:$LINENO: result: no" >&5
 
2694
echo "${ECHO_T}no" >&6; }
2174
2695
fi
 
2696
 
2175
2697
 
2176
2698
fi
2177
2699
if test -z "$ac_cv_prog_CC"; then
2178
2700
  ac_ct_CC=$CC
2179
2701
  # Extract the first word of "gcc", so it can be a program name with args.
2180
2702
set dummy gcc; ac_word=$2
2181
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2182
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2703
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2704
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2183
2705
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2184
2706
  echo $ECHO_N "(cached) $ECHO_C" >&6
2185
2707
else
2192
2714
  IFS=$as_save_IFS
2193
2715
  test -z "$as_dir" && as_dir=.
2194
2716
  for ac_exec_ext in '' $ac_executable_extensions; do
2195
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2717
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2196
2718
    ac_cv_prog_ac_ct_CC="gcc"
2197
2719
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2198
2720
    break 2
2199
2721
  fi
2200
2722
done
2201
2723
done
 
2724
IFS=$as_save_IFS
2202
2725
 
2203
2726
fi
2204
2727
fi
2205
2728
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2206
2729
if test -n "$ac_ct_CC"; then
2207
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2208
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2730
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2731
echo "${ECHO_T}$ac_ct_CC" >&6; }
2209
2732
else
2210
 
  echo "$as_me:$LINENO: result: no" >&5
2211
 
echo "${ECHO_T}no" >&6
 
2733
  { echo "$as_me:$LINENO: result: no" >&5
 
2734
echo "${ECHO_T}no" >&6; }
2212
2735
fi
2213
2736
 
2214
 
  CC=$ac_ct_CC
 
2737
  if test "x$ac_ct_CC" = x; then
 
2738
    CC=""
 
2739
  else
 
2740
    case $cross_compiling:$ac_tool_warned in
 
2741
yes:)
 
2742
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2743
whose name does not start with the host triplet.  If you think this
 
2744
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2745
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2746
whose name does not start with the host triplet.  If you think this
 
2747
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2748
ac_tool_warned=yes ;;
 
2749
esac
 
2750
    CC=$ac_ct_CC
 
2751
  fi
2215
2752
else
2216
2753
  CC="$ac_cv_prog_CC"
2217
2754
fi
2218
2755
 
2219
2756
if test -z "$CC"; then
2220
 
  if test -n "$ac_tool_prefix"; then
2221
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2757
          if test -n "$ac_tool_prefix"; then
 
2758
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2222
2759
set dummy ${ac_tool_prefix}cc; ac_word=$2
2223
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2224
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2760
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2761
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2225
2762
if test "${ac_cv_prog_CC+set}" = set; then
2226
2763
  echo $ECHO_N "(cached) $ECHO_C" >&6
2227
2764
else
2234
2771
  IFS=$as_save_IFS
2235
2772
  test -z "$as_dir" && as_dir=.
2236
2773
  for ac_exec_ext in '' $ac_executable_extensions; do
2237
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2774
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2238
2775
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2239
2776
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2240
2777
    break 2
2241
2778
  fi
2242
2779
done
2243
2780
done
 
2781
IFS=$as_save_IFS
2244
2782
 
2245
2783
fi
2246
2784
fi
2247
2785
CC=$ac_cv_prog_CC
2248
2786
if test -n "$CC"; then
2249
 
  echo "$as_me:$LINENO: result: $CC" >&5
2250
 
echo "${ECHO_T}$CC" >&6
2251
 
else
2252
 
  echo "$as_me:$LINENO: result: no" >&5
2253
 
echo "${ECHO_T}no" >&6
2254
 
fi
2255
 
 
2256
 
fi
2257
 
if test -z "$ac_cv_prog_CC"; then
2258
 
  ac_ct_CC=$CC
2259
 
  # Extract the first word of "cc", so it can be a program name with args.
2260
 
set dummy cc; ac_word=$2
2261
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2262
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2263
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2264
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2265
 
else
2266
 
  if test -n "$ac_ct_CC"; then
2267
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2268
 
else
2269
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2270
 
for as_dir in $PATH
2271
 
do
2272
 
  IFS=$as_save_IFS
2273
 
  test -z "$as_dir" && as_dir=.
2274
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2275
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2276
 
    ac_cv_prog_ac_ct_CC="cc"
2277
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2278
 
    break 2
 
2787
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2788
echo "${ECHO_T}$CC" >&6; }
 
2789
else
 
2790
  { echo "$as_me:$LINENO: result: no" >&5
 
2791
echo "${ECHO_T}no" >&6; }
 
2792
fi
 
2793
 
 
2794
 
2279
2795
  fi
2280
 
done
2281
 
done
2282
 
 
2283
 
fi
2284
 
fi
2285
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2286
 
if test -n "$ac_ct_CC"; then
2287
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2288
 
echo "${ECHO_T}$ac_ct_CC" >&6
2289
 
else
2290
 
  echo "$as_me:$LINENO: result: no" >&5
2291
 
echo "${ECHO_T}no" >&6
2292
 
fi
2293
 
 
2294
 
  CC=$ac_ct_CC
2295
 
else
2296
 
  CC="$ac_cv_prog_CC"
2297
 
fi
2298
 
 
2299
2796
fi
2300
2797
if test -z "$CC"; then
2301
2798
  # Extract the first word of "cc", so it can be a program name with args.
2302
2799
set dummy cc; ac_word=$2
2303
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2304
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2800
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2801
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2305
2802
if test "${ac_cv_prog_CC+set}" = set; then
2306
2803
  echo $ECHO_N "(cached) $ECHO_C" >&6
2307
2804
else
2315
2812
  IFS=$as_save_IFS
2316
2813
  test -z "$as_dir" && as_dir=.
2317
2814
  for ac_exec_ext in '' $ac_executable_extensions; do
2318
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2815
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2319
2816
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2320
2817
       ac_prog_rejected=yes
2321
2818
       continue
2326
2823
  fi
2327
2824
done
2328
2825
done
 
2826
IFS=$as_save_IFS
2329
2827
 
2330
2828
if test $ac_prog_rejected = yes; then
2331
2829
  # We found a bogon in the path, so make sure we never use it.
2343
2841
fi
2344
2842
CC=$ac_cv_prog_CC
2345
2843
if test -n "$CC"; then
2346
 
  echo "$as_me:$LINENO: result: $CC" >&5
2347
 
echo "${ECHO_T}$CC" >&6
 
2844
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2845
echo "${ECHO_T}$CC" >&6; }
2348
2846
else
2349
 
  echo "$as_me:$LINENO: result: no" >&5
2350
 
echo "${ECHO_T}no" >&6
 
2847
  { echo "$as_me:$LINENO: result: no" >&5
 
2848
echo "${ECHO_T}no" >&6; }
2351
2849
fi
 
2850
 
2352
2851
 
2353
2852
fi
2354
2853
if test -z "$CC"; then
2355
2854
  if test -n "$ac_tool_prefix"; then
2356
 
  for ac_prog in cl
 
2855
  for ac_prog in cl.exe
2357
2856
  do
2358
2857
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2359
2858
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2360
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2361
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2859
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2860
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2362
2861
if test "${ac_cv_prog_CC+set}" = set; then
2363
2862
  echo $ECHO_N "(cached) $ECHO_C" >&6
2364
2863
else
2371
2870
  IFS=$as_save_IFS
2372
2871
  test -z "$as_dir" && as_dir=.
2373
2872
  for ac_exec_ext in '' $ac_executable_extensions; do
2374
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2873
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2375
2874
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2376
2875
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2377
2876
    break 2
2378
2877
  fi
2379
2878
done
2380
2879
done
 
2880
IFS=$as_save_IFS
2381
2881
 
2382
2882
fi
2383
2883
fi
2384
2884
CC=$ac_cv_prog_CC
2385
2885
if test -n "$CC"; then
2386
 
  echo "$as_me:$LINENO: result: $CC" >&5
2387
 
echo "${ECHO_T}$CC" >&6
 
2886
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2887
echo "${ECHO_T}$CC" >&6; }
2388
2888
else
2389
 
  echo "$as_me:$LINENO: result: no" >&5
2390
 
echo "${ECHO_T}no" >&6
 
2889
  { echo "$as_me:$LINENO: result: no" >&5
 
2890
echo "${ECHO_T}no" >&6; }
2391
2891
fi
2392
2892
 
 
2893
 
2393
2894
    test -n "$CC" && break
2394
2895
  done
2395
2896
fi
2396
2897
if test -z "$CC"; then
2397
2898
  ac_ct_CC=$CC
2398
 
  for ac_prog in cl
 
2899
  for ac_prog in cl.exe
2399
2900
do
2400
2901
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2401
2902
set dummy $ac_prog; ac_word=$2
2402
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2403
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2903
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2904
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2404
2905
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2405
2906
  echo $ECHO_N "(cached) $ECHO_C" >&6
2406
2907
else
2413
2914
  IFS=$as_save_IFS
2414
2915
  test -z "$as_dir" && as_dir=.
2415
2916
  for ac_exec_ext in '' $ac_executable_extensions; do
2416
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2917
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2417
2918
    ac_cv_prog_ac_ct_CC="$ac_prog"
2418
2919
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2419
2920
    break 2
2420
2921
  fi
2421
2922
done
2422
2923
done
 
2924
IFS=$as_save_IFS
2423
2925
 
2424
2926
fi
2425
2927
fi
2426
2928
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2427
2929
if test -n "$ac_ct_CC"; then
2428
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2429
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2930
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2931
echo "${ECHO_T}$ac_ct_CC" >&6; }
2430
2932
else
2431
 
  echo "$as_me:$LINENO: result: no" >&5
2432
 
echo "${ECHO_T}no" >&6
 
2933
  { echo "$as_me:$LINENO: result: no" >&5
 
2934
echo "${ECHO_T}no" >&6; }
2433
2935
fi
2434
2936
 
 
2937
 
2435
2938
  test -n "$ac_ct_CC" && break
2436
2939
done
2437
2940
 
2438
 
  CC=$ac_ct_CC
 
2941
  if test "x$ac_ct_CC" = x; then
 
2942
    CC=""
 
2943
  else
 
2944
    case $cross_compiling:$ac_tool_warned in
 
2945
yes:)
 
2946
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2947
whose name does not start with the host triplet.  If you think this
 
2948
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2949
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2950
whose name does not start with the host triplet.  If you think this
 
2951
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2952
ac_tool_warned=yes ;;
 
2953
esac
 
2954
    CC=$ac_ct_CC
 
2955
  fi
2439
2956
fi
2440
2957
 
2441
2958
fi
2448
2965
   { (exit 1); exit 1; }; }
2449
2966
 
2450
2967
# Provide some information about the compiler.
2451
 
echo "$as_me:$LINENO:" \
2452
 
     "checking for C compiler version" >&5
 
2968
echo "$as_me:$LINENO: checking for C compiler version" >&5
2453
2969
ac_compiler=`set X $ac_compile; echo $2`
2454
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2455
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2456
 
  ac_status=$?
2457
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458
 
  (exit $ac_status); }
2459
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2460
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2461
 
  ac_status=$?
2462
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2463
 
  (exit $ac_status); }
2464
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2465
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
2970
{ (ac_try="$ac_compiler --version >&5"
 
2971
case "(($ac_try" in
 
2972
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2973
  *) ac_try_echo=$ac_try;;
 
2974
esac
 
2975
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2976
  (eval "$ac_compiler --version >&5") 2>&5
 
2977
  ac_status=$?
 
2978
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2979
  (exit $ac_status); }
 
2980
{ (ac_try="$ac_compiler -v >&5"
 
2981
case "(($ac_try" in
 
2982
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2983
  *) ac_try_echo=$ac_try;;
 
2984
esac
 
2985
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2986
  (eval "$ac_compiler -v >&5") 2>&5
 
2987
  ac_status=$?
 
2988
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2989
  (exit $ac_status); }
 
2990
{ (ac_try="$ac_compiler -V >&5"
 
2991
case "(($ac_try" in
 
2992
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2993
  *) ac_try_echo=$ac_try;;
 
2994
esac
 
2995
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2996
  (eval "$ac_compiler -V >&5") 2>&5
2466
2997
  ac_status=$?
2467
2998
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468
2999
  (exit $ac_status); }
2487
3018
# Try to create an executable without -o first, disregard a.out.
2488
3019
# It will help us diagnose broken compilers, and finding out an intuition
2489
3020
# of exeext.
2490
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2491
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
3021
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3022
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2492
3023
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2493
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2494
 
  (eval $ac_link_default) 2>&5
 
3024
#
 
3025
# List of possible output files, starting from the most likely.
 
3026
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
3027
# only as a last resort.  b.out is created by i960 compilers.
 
3028
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
3029
#
 
3030
# The IRIX 6 linker writes into existing files which may not be
 
3031
# executable, retaining their permissions.  Remove them first so a
 
3032
# subsequent execution test works.
 
3033
ac_rmfiles=
 
3034
for ac_file in $ac_files
 
3035
do
 
3036
  case $ac_file in
 
3037
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3038
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3039
  esac
 
3040
done
 
3041
rm -f $ac_rmfiles
 
3042
 
 
3043
if { (ac_try="$ac_link_default"
 
3044
case "(($ac_try" in
 
3045
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3046
  *) ac_try_echo=$ac_try;;
 
3047
esac
 
3048
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3049
  (eval "$ac_link_default") 2>&5
2495
3050
  ac_status=$?
2496
3051
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497
3052
  (exit $ac_status); }; then
2498
 
  # Find the output, starting from the most likely.  This scheme is
2499
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2500
 
# resort.
2501
 
 
2502
 
# Be careful to initialize this variable, since it used to be cached.
2503
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2504
 
ac_cv_exeext=
2505
 
# b.out is created by i960 compilers.
2506
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
3053
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3054
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3055
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3056
# so that the user can short-circuit this test for compilers unknown to
 
3057
# Autoconf.
 
3058
for ac_file in $ac_files ''
2507
3059
do
2508
3060
  test -f "$ac_file" || continue
2509
3061
  case $ac_file in
2510
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2511
 
        ;;
2512
 
    conftest.$ac_ext )
2513
 
        # This is the source file.
 
3062
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2514
3063
        ;;
2515
3064
    [ab].out )
2516
3065
        # We found the default executable, but exeext='' is most
2517
3066
        # certainly right.
2518
3067
        break;;
2519
3068
    *.* )
2520
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2521
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2522
 
        # but it would be cool to find out if it's true.  Does anybody
2523
 
        # maintain Libtool? --akim.
2524
 
        export ac_cv_exeext
 
3069
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3070
        then :; else
 
3071
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3072
        fi
 
3073
        # We set ac_cv_exeext here because the later test for it is not
 
3074
        # safe: cross compilers may not add the suffix if given an `-o'
 
3075
        # argument, so we may need to know it at that point already.
 
3076
        # Even if this section looks crufty: it has the advantage of
 
3077
        # actually working.
2525
3078
        break;;
2526
3079
    * )
2527
3080
        break;;
2528
3081
  esac
2529
3082
done
 
3083
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3084
 
2530
3085
else
 
3086
  ac_file=''
 
3087
fi
 
3088
 
 
3089
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
3090
echo "${ECHO_T}$ac_file" >&6; }
 
3091
if test -z "$ac_file"; then
2531
3092
  echo "$as_me: failed program was:" >&5
2532
3093
sed 's/^/| /' conftest.$ac_ext >&5
2533
3094
 
2539
3100
fi
2540
3101
 
2541
3102
ac_exeext=$ac_cv_exeext
2542
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2543
 
echo "${ECHO_T}$ac_file" >&6
2544
3103
 
2545
 
# Check the compiler produces executables we can run.  If not, either
 
3104
# Check that the compiler produces executables we can run.  If not, either
2546
3105
# the compiler is broken, or we cross compile.
2547
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2548
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
3106
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3107
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2549
3108
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2550
3109
# If not cross compiling, check that we can run a simple program.
2551
3110
if test "$cross_compiling" != yes; then
2552
3111
  if { ac_try='./$ac_file'
2553
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2554
 
  (eval $ac_try) 2>&5
 
3112
  { (case "(($ac_try" in
 
3113
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3114
  *) ac_try_echo=$ac_try;;
 
3115
esac
 
3116
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3117
  (eval "$ac_try") 2>&5
2555
3118
  ac_status=$?
2556
3119
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2557
3120
  (exit $ac_status); }; }; then
2570
3133
    fi
2571
3134
  fi
2572
3135
fi
2573
 
echo "$as_me:$LINENO: result: yes" >&5
2574
 
echo "${ECHO_T}yes" >&6
 
3136
{ echo "$as_me:$LINENO: result: yes" >&5
 
3137
echo "${ECHO_T}yes" >&6; }
2575
3138
 
2576
3139
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2577
3140
ac_clean_files=$ac_clean_files_save
2578
 
# Check the compiler produces executables we can run.  If not, either
 
3141
# Check that the compiler produces executables we can run.  If not, either
2579
3142
# the compiler is broken, or we cross compile.
2580
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2581
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2582
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2583
 
echo "${ECHO_T}$cross_compiling" >&6
 
3143
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3144
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
3145
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3146
echo "${ECHO_T}$cross_compiling" >&6; }
2584
3147
 
2585
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2586
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2587
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2588
 
  (eval $ac_link) 2>&5
 
3148
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3149
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
3150
if { (ac_try="$ac_link"
 
3151
case "(($ac_try" in
 
3152
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3153
  *) ac_try_echo=$ac_try;;
 
3154
esac
 
3155
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3156
  (eval "$ac_link") 2>&5
2589
3157
  ac_status=$?
2590
3158
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2591
3159
  (exit $ac_status); }; then
2596
3164
for ac_file in conftest.exe conftest conftest.*; do
2597
3165
  test -f "$ac_file" || continue
2598
3166
  case $ac_file in
2599
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
3167
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2600
3168
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2601
 
          export ac_cv_exeext
2602
3169
          break;;
2603
3170
    * ) break;;
2604
3171
  esac
2612
3179
fi
2613
3180
 
2614
3181
rm -f conftest$ac_cv_exeext
2615
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2616
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
3182
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3183
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2617
3184
 
2618
3185
rm -f conftest.$ac_ext
2619
3186
EXEEXT=$ac_cv_exeext
2620
3187
ac_exeext=$EXEEXT
2621
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2622
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
3188
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3189
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2623
3190
if test "${ac_cv_objext+set}" = set; then
2624
3191
  echo $ECHO_N "(cached) $ECHO_C" >&6
2625
3192
else
2639
3206
}
2640
3207
_ACEOF
2641
3208
rm -f conftest.o conftest.obj
2642
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2643
 
  (eval $ac_compile) 2>&5
 
3209
if { (ac_try="$ac_compile"
 
3210
case "(($ac_try" in
 
3211
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3212
  *) ac_try_echo=$ac_try;;
 
3213
esac
 
3214
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3215
  (eval "$ac_compile") 2>&5
2644
3216
  ac_status=$?
2645
3217
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646
3218
  (exit $ac_status); }; then
2647
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3219
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3220
  test -f "$ac_file" || continue;
2648
3221
  case $ac_file in
2649
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3222
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2650
3223
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2651
3224
       break;;
2652
3225
  esac
2664
3237
 
2665
3238
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2666
3239
fi
2667
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2668
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3240
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3241
echo "${ECHO_T}$ac_cv_objext" >&6; }
2669
3242
OBJEXT=$ac_cv_objext
2670
3243
ac_objext=$OBJEXT
2671
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2672
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3244
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3245
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2673
3246
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2674
3247
  echo $ECHO_N "(cached) $ECHO_C" >&6
2675
3248
else
2692
3265
}
2693
3266
_ACEOF
2694
3267
rm -f conftest.$ac_objext
2695
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2696
 
  (eval $ac_compile) 2>conftest.er1
 
3268
if { (ac_try="$ac_compile"
 
3269
case "(($ac_try" in
 
3270
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3271
  *) ac_try_echo=$ac_try;;
 
3272
esac
 
3273
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3274
  (eval "$ac_compile") 2>conftest.er1
2697
3275
  ac_status=$?
2698
3276
  grep -v '^ *+' conftest.er1 >conftest.err
2699
3277
  rm -f conftest.er1
2700
3278
  cat conftest.err >&5
2701
3279
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2702
 
  (exit $ac_status); } &&
2703
 
         { ac_try='test -z "$ac_c_werror_flag"
2704
 
                         || test ! -s conftest.err'
2705
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2706
 
  (eval $ac_try) 2>&5
2707
 
  ac_status=$?
2708
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709
 
  (exit $ac_status); }; } &&
2710
 
         { ac_try='test -s conftest.$ac_objext'
2711
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2712
 
  (eval $ac_try) 2>&5
2713
 
  ac_status=$?
2714
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715
 
  (exit $ac_status); }; }; then
 
3280
  (exit $ac_status); } && {
 
3281
         test -z "$ac_c_werror_flag" ||
 
3282
         test ! -s conftest.err
 
3283
       } && test -s conftest.$ac_objext; then
2716
3284
  ac_compiler_gnu=yes
2717
3285
else
2718
3286
  echo "$as_me: failed program was:" >&5
2719
3287
sed 's/^/| /' conftest.$ac_ext >&5
2720
3288
 
2721
 
ac_compiler_gnu=no
 
3289
        ac_compiler_gnu=no
2722
3290
fi
2723
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3291
 
 
3292
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2724
3293
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2725
3294
 
2726
3295
fi
2727
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2728
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
3296
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3297
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2729
3298
GCC=`test $ac_compiler_gnu = yes && echo yes`
2730
3299
ac_test_CFLAGS=${CFLAGS+set}
2731
3300
ac_save_CFLAGS=$CFLAGS
2732
 
CFLAGS="-g"
2733
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2734
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3301
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3302
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2735
3303
if test "${ac_cv_prog_cc_g+set}" = set; then
2736
3304
  echo $ECHO_N "(cached) $ECHO_C" >&6
2737
3305
else
2738
 
  cat >conftest.$ac_ext <<_ACEOF
2739
 
/* confdefs.h.  */
2740
 
_ACEOF
2741
 
cat confdefs.h >>conftest.$ac_ext
2742
 
cat >>conftest.$ac_ext <<_ACEOF
2743
 
/* end confdefs.h.  */
2744
 
 
2745
 
int
2746
 
main ()
2747
 
{
2748
 
 
2749
 
  ;
2750
 
  return 0;
2751
 
}
2752
 
_ACEOF
2753
 
rm -f conftest.$ac_objext
2754
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2755
 
  (eval $ac_compile) 2>conftest.er1
2756
 
  ac_status=$?
2757
 
  grep -v '^ *+' conftest.er1 >conftest.err
2758
 
  rm -f conftest.er1
2759
 
  cat conftest.err >&5
2760
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761
 
  (exit $ac_status); } &&
2762
 
         { ac_try='test -z "$ac_c_werror_flag"
2763
 
                         || test ! -s conftest.err'
2764
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2765
 
  (eval $ac_try) 2>&5
2766
 
  ac_status=$?
2767
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2768
 
  (exit $ac_status); }; } &&
2769
 
         { ac_try='test -s conftest.$ac_objext'
2770
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2771
 
  (eval $ac_try) 2>&5
2772
 
  ac_status=$?
2773
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774
 
  (exit $ac_status); }; }; then
2775
 
  ac_cv_prog_cc_g=yes
2776
 
else
2777
 
  echo "$as_me: failed program was:" >&5
2778
 
sed 's/^/| /' conftest.$ac_ext >&5
2779
 
 
2780
 
ac_cv_prog_cc_g=no
2781
 
fi
2782
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2783
 
fi
2784
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2785
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3306
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3307
   ac_c_werror_flag=yes
 
3308
   ac_cv_prog_cc_g=no
 
3309
   CFLAGS="-g"
 
3310
   cat >conftest.$ac_ext <<_ACEOF
 
3311
/* confdefs.h.  */
 
3312
_ACEOF
 
3313
cat confdefs.h >>conftest.$ac_ext
 
3314
cat >>conftest.$ac_ext <<_ACEOF
 
3315
/* end confdefs.h.  */
 
3316
 
 
3317
int
 
3318
main ()
 
3319
{
 
3320
 
 
3321
  ;
 
3322
  return 0;
 
3323
}
 
3324
_ACEOF
 
3325
rm -f conftest.$ac_objext
 
3326
if { (ac_try="$ac_compile"
 
3327
case "(($ac_try" in
 
3328
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3329
  *) ac_try_echo=$ac_try;;
 
3330
esac
 
3331
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3332
  (eval "$ac_compile") 2>conftest.er1
 
3333
  ac_status=$?
 
3334
  grep -v '^ *+' conftest.er1 >conftest.err
 
3335
  rm -f conftest.er1
 
3336
  cat conftest.err >&5
 
3337
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3338
  (exit $ac_status); } && {
 
3339
         test -z "$ac_c_werror_flag" ||
 
3340
         test ! -s conftest.err
 
3341
       } && test -s conftest.$ac_objext; then
 
3342
  ac_cv_prog_cc_g=yes
 
3343
else
 
3344
  echo "$as_me: failed program was:" >&5
 
3345
sed 's/^/| /' conftest.$ac_ext >&5
 
3346
 
 
3347
        CFLAGS=""
 
3348
      cat >conftest.$ac_ext <<_ACEOF
 
3349
/* confdefs.h.  */
 
3350
_ACEOF
 
3351
cat confdefs.h >>conftest.$ac_ext
 
3352
cat >>conftest.$ac_ext <<_ACEOF
 
3353
/* end confdefs.h.  */
 
3354
 
 
3355
int
 
3356
main ()
 
3357
{
 
3358
 
 
3359
  ;
 
3360
  return 0;
 
3361
}
 
3362
_ACEOF
 
3363
rm -f conftest.$ac_objext
 
3364
if { (ac_try="$ac_compile"
 
3365
case "(($ac_try" in
 
3366
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3367
  *) ac_try_echo=$ac_try;;
 
3368
esac
 
3369
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3370
  (eval "$ac_compile") 2>conftest.er1
 
3371
  ac_status=$?
 
3372
  grep -v '^ *+' conftest.er1 >conftest.err
 
3373
  rm -f conftest.er1
 
3374
  cat conftest.err >&5
 
3375
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3376
  (exit $ac_status); } && {
 
3377
         test -z "$ac_c_werror_flag" ||
 
3378
         test ! -s conftest.err
 
3379
       } && test -s conftest.$ac_objext; then
 
3380
  :
 
3381
else
 
3382
  echo "$as_me: failed program was:" >&5
 
3383
sed 's/^/| /' conftest.$ac_ext >&5
 
3384
 
 
3385
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3386
         CFLAGS="-g"
 
3387
         cat >conftest.$ac_ext <<_ACEOF
 
3388
/* confdefs.h.  */
 
3389
_ACEOF
 
3390
cat confdefs.h >>conftest.$ac_ext
 
3391
cat >>conftest.$ac_ext <<_ACEOF
 
3392
/* end confdefs.h.  */
 
3393
 
 
3394
int
 
3395
main ()
 
3396
{
 
3397
 
 
3398
  ;
 
3399
  return 0;
 
3400
}
 
3401
_ACEOF
 
3402
rm -f conftest.$ac_objext
 
3403
if { (ac_try="$ac_compile"
 
3404
case "(($ac_try" in
 
3405
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3406
  *) ac_try_echo=$ac_try;;
 
3407
esac
 
3408
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3409
  (eval "$ac_compile") 2>conftest.er1
 
3410
  ac_status=$?
 
3411
  grep -v '^ *+' conftest.er1 >conftest.err
 
3412
  rm -f conftest.er1
 
3413
  cat conftest.err >&5
 
3414
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3415
  (exit $ac_status); } && {
 
3416
         test -z "$ac_c_werror_flag" ||
 
3417
         test ! -s conftest.err
 
3418
       } && test -s conftest.$ac_objext; then
 
3419
  ac_cv_prog_cc_g=yes
 
3420
else
 
3421
  echo "$as_me: failed program was:" >&5
 
3422
sed 's/^/| /' conftest.$ac_ext >&5
 
3423
 
 
3424
 
 
3425
fi
 
3426
 
 
3427
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3428
fi
 
3429
 
 
3430
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3431
fi
 
3432
 
 
3433
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3434
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3435
fi
 
3436
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3437
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2786
3438
if test "$ac_test_CFLAGS" = set; then
2787
3439
  CFLAGS=$ac_save_CFLAGS
2788
3440
elif test $ac_cv_prog_cc_g = yes; then
2798
3450
    CFLAGS=
2799
3451
  fi
2800
3452
fi
2801
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2802
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2803
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
3453
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3454
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3455
if test "${ac_cv_prog_cc_c89+set}" = set; then
2804
3456
  echo $ECHO_N "(cached) $ECHO_C" >&6
2805
3457
else
2806
 
  ac_cv_prog_cc_stdc=no
 
3458
  ac_cv_prog_cc_c89=no
2807
3459
ac_save_CC=$CC
2808
3460
cat >conftest.$ac_ext <<_ACEOF
2809
3461
/* confdefs.h.  */
2837
3489
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2838
3490
   function prototypes and stuff, but not '\xHH' hex character constants.
2839
3491
   These don't provoke an error unfortunately, instead are silently treated
2840
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3492
   as 'x'.  The following induces an error, until -std is added to get
2841
3493
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2842
3494
   array size at least.  It's necessary to write '\x00'==0 to get something
2843
 
   that's true only with -std1.  */
 
3495
   that's true only with -std.  */
2844
3496
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2845
3497
 
 
3498
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3499
   inside strings and character constants.  */
 
3500
#define FOO(x) 'x'
 
3501
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3502
 
2846
3503
int test (int i, double x);
2847
3504
struct s1 {int (*f) (int a);};
2848
3505
struct s2 {int (*f) (double a);};
2857
3514
  return 0;
2858
3515
}
2859
3516
_ACEOF
2860
 
# Don't try gcc -ansi; that turns off useful extensions and
2861
 
# breaks some systems' header files.
2862
 
# AIX                   -qlanglvl=ansi
2863
 
# Ultrix and OSF/1      -std1
2864
 
# HP-UX 10.20 and later -Ae
2865
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2866
 
# SVR4                  -Xc -D__EXTENSIONS__
2867
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3517
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3518
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2868
3519
do
2869
3520
  CC="$ac_save_CC $ac_arg"
2870
3521
  rm -f conftest.$ac_objext
2871
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2872
 
  (eval $ac_compile) 2>conftest.er1
 
3522
if { (ac_try="$ac_compile"
 
3523
case "(($ac_try" in
 
3524
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3525
  *) ac_try_echo=$ac_try;;
 
3526
esac
 
3527
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3528
  (eval "$ac_compile") 2>conftest.er1
2873
3529
  ac_status=$?
2874
3530
  grep -v '^ *+' conftest.er1 >conftest.err
2875
3531
  rm -f conftest.er1
2876
3532
  cat conftest.err >&5
2877
3533
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2878
 
  (exit $ac_status); } &&
2879
 
         { ac_try='test -z "$ac_c_werror_flag"
2880
 
                         || test ! -s conftest.err'
2881
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2882
 
  (eval $ac_try) 2>&5
2883
 
  ac_status=$?
2884
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885
 
  (exit $ac_status); }; } &&
2886
 
         { ac_try='test -s conftest.$ac_objext'
2887
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2888
 
  (eval $ac_try) 2>&5
2889
 
  ac_status=$?
2890
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2891
 
  (exit $ac_status); }; }; then
2892
 
  ac_cv_prog_cc_stdc=$ac_arg
2893
 
break
 
3534
  (exit $ac_status); } && {
 
3535
         test -z "$ac_c_werror_flag" ||
 
3536
         test ! -s conftest.err
 
3537
       } && test -s conftest.$ac_objext; then
 
3538
  ac_cv_prog_cc_c89=$ac_arg
2894
3539
else
2895
3540
  echo "$as_me: failed program was:" >&5
2896
3541
sed 's/^/| /' conftest.$ac_ext >&5
2897
3542
 
 
3543
 
2898
3544
fi
2899
 
rm -f conftest.err conftest.$ac_objext
 
3545
 
 
3546
rm -f core conftest.err conftest.$ac_objext
 
3547
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2900
3548
done
2901
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3549
rm -f conftest.$ac_ext
2902
3550
CC=$ac_save_CC
2903
3551
 
2904
3552
fi
2905
 
 
2906
 
case "x$ac_cv_prog_cc_stdc" in
2907
 
  x|xno)
2908
 
    echo "$as_me:$LINENO: result: none needed" >&5
2909
 
echo "${ECHO_T}none needed" >&6 ;;
 
3553
# AC_CACHE_VAL
 
3554
case "x$ac_cv_prog_cc_c89" in
 
3555
  x)
 
3556
    { echo "$as_me:$LINENO: result: none needed" >&5
 
3557
echo "${ECHO_T}none needed" >&6; } ;;
 
3558
  xno)
 
3559
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
3560
echo "${ECHO_T}unsupported" >&6; } ;;
2910
3561
  *)
2911
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2912
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2913
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3562
    CC="$CC $ac_cv_prog_cc_c89"
 
3563
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3564
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2914
3565
esac
2915
3566
 
2916
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2917
 
# in C++ we need to declare it.  In case someone uses the same compiler
2918
 
# for both compiling C and C++ we need to have the C++ compiler decide
2919
 
# the declaration of exit, since it's the most demanding environment.
2920
 
cat >conftest.$ac_ext <<_ACEOF
2921
 
#ifndef __cplusplus
2922
 
  choke me
2923
 
#endif
2924
 
_ACEOF
2925
 
rm -f conftest.$ac_objext
2926
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2927
 
  (eval $ac_compile) 2>conftest.er1
2928
 
  ac_status=$?
2929
 
  grep -v '^ *+' conftest.er1 >conftest.err
2930
 
  rm -f conftest.er1
2931
 
  cat conftest.err >&5
2932
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933
 
  (exit $ac_status); } &&
2934
 
         { ac_try='test -z "$ac_c_werror_flag"
2935
 
                         || test ! -s conftest.err'
2936
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2937
 
  (eval $ac_try) 2>&5
2938
 
  ac_status=$?
2939
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940
 
  (exit $ac_status); }; } &&
2941
 
         { ac_try='test -s conftest.$ac_objext'
2942
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2943
 
  (eval $ac_try) 2>&5
2944
 
  ac_status=$?
2945
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946
 
  (exit $ac_status); }; }; then
2947
 
  for ac_declaration in \
2948
 
   '' \
2949
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2950
 
   'extern "C" void std::exit (int); using std::exit;' \
2951
 
   'extern "C" void exit (int) throw ();' \
2952
 
   'extern "C" void exit (int);' \
2953
 
   'void exit (int);'
2954
 
do
2955
 
  cat >conftest.$ac_ext <<_ACEOF
2956
 
/* confdefs.h.  */
2957
 
_ACEOF
2958
 
cat confdefs.h >>conftest.$ac_ext
2959
 
cat >>conftest.$ac_ext <<_ACEOF
2960
 
/* end confdefs.h.  */
2961
 
$ac_declaration
2962
 
#include <stdlib.h>
2963
 
int
2964
 
main ()
2965
 
{
2966
 
exit (42);
2967
 
  ;
2968
 
  return 0;
2969
 
}
2970
 
_ACEOF
2971
 
rm -f conftest.$ac_objext
2972
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2973
 
  (eval $ac_compile) 2>conftest.er1
2974
 
  ac_status=$?
2975
 
  grep -v '^ *+' conftest.er1 >conftest.err
2976
 
  rm -f conftest.er1
2977
 
  cat conftest.err >&5
2978
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979
 
  (exit $ac_status); } &&
2980
 
         { ac_try='test -z "$ac_c_werror_flag"
2981
 
                         || test ! -s conftest.err'
2982
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2983
 
  (eval $ac_try) 2>&5
2984
 
  ac_status=$?
2985
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986
 
  (exit $ac_status); }; } &&
2987
 
         { ac_try='test -s conftest.$ac_objext'
2988
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2989
 
  (eval $ac_try) 2>&5
2990
 
  ac_status=$?
2991
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992
 
  (exit $ac_status); }; }; then
2993
 
  :
2994
 
else
2995
 
  echo "$as_me: failed program was:" >&5
2996
 
sed 's/^/| /' conftest.$ac_ext >&5
2997
 
 
2998
 
continue
2999
 
fi
3000
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3001
 
  cat >conftest.$ac_ext <<_ACEOF
3002
 
/* confdefs.h.  */
3003
 
_ACEOF
3004
 
cat confdefs.h >>conftest.$ac_ext
3005
 
cat >>conftest.$ac_ext <<_ACEOF
3006
 
/* end confdefs.h.  */
3007
 
$ac_declaration
3008
 
int
3009
 
main ()
3010
 
{
3011
 
exit (42);
3012
 
  ;
3013
 
  return 0;
3014
 
}
3015
 
_ACEOF
3016
 
rm -f conftest.$ac_objext
3017
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3018
 
  (eval $ac_compile) 2>conftest.er1
3019
 
  ac_status=$?
3020
 
  grep -v '^ *+' conftest.er1 >conftest.err
3021
 
  rm -f conftest.er1
3022
 
  cat conftest.err >&5
3023
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024
 
  (exit $ac_status); } &&
3025
 
         { ac_try='test -z "$ac_c_werror_flag"
3026
 
                         || test ! -s conftest.err'
3027
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3028
 
  (eval $ac_try) 2>&5
3029
 
  ac_status=$?
3030
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031
 
  (exit $ac_status); }; } &&
3032
 
         { ac_try='test -s conftest.$ac_objext'
3033
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3034
 
  (eval $ac_try) 2>&5
3035
 
  ac_status=$?
3036
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037
 
  (exit $ac_status); }; }; then
3038
 
  break
3039
 
else
3040
 
  echo "$as_me: failed program was:" >&5
3041
 
sed 's/^/| /' conftest.$ac_ext >&5
3042
 
 
3043
 
fi
3044
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3045
 
done
3046
 
rm -f conftest*
3047
 
if test -n "$ac_declaration"; then
3048
 
  echo '#ifdef __cplusplus' >>confdefs.h
3049
 
  echo $ac_declaration      >>confdefs.h
3050
 
  echo '#endif'             >>confdefs.h
3051
 
fi
3052
 
 
3053
 
else
3054
 
  echo "$as_me: failed program was:" >&5
3055
 
sed 's/^/| /' conftest.$ac_ext >&5
3056
 
 
3057
 
fi
3058
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3567
 
3059
3568
ac_ext=c
3060
3569
ac_cpp='$CPP $CPPFLAGS'
3061
3570
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3063
3572
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3064
3573
DEPDIR="${am__leading_dot}deps"
3065
3574
 
3066
 
          ac_config_commands="$ac_config_commands depfiles"
 
3575
ac_config_commands="$ac_config_commands depfiles"
3067
3576
 
3068
3577
 
3069
3578
am_make=${MAKE-make}
3073
3582
.PHONY: am__doit
3074
3583
END
3075
3584
# If we don't find an include directive, just comment out the code.
3076
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3077
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
3585
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3586
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3078
3587
am__include="#"
3079
3588
am__quote=
3080
3589
_am_result=none
3101
3610
fi
3102
3611
 
3103
3612
 
3104
 
echo "$as_me:$LINENO: result: $_am_result" >&5
3105
 
echo "${ECHO_T}$_am_result" >&6
 
3613
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
3614
echo "${ECHO_T}$_am_result" >&6; }
3106
3615
rm -f confinc confmf
3107
3616
 
3108
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
3617
# Check whether --enable-dependency-tracking was given.
3109
3618
if test "${enable_dependency_tracking+set}" = set; then
3110
 
  enableval="$enable_dependency_tracking"
 
3619
  enableval=$enable_dependency_tracking;
 
3620
fi
3111
3621
 
3112
 
fi;
3113
3622
if test "x$enable_dependency_tracking" != xno; then
3114
3623
  am_depcomp="$ac_aux_dir/depcomp"
3115
3624
  AMDEPBACKSLASH='\'
3116
3625
fi
3117
 
 
3118
 
 
3119
 
if test "x$enable_dependency_tracking" != xno; then
 
3626
 if test "x$enable_dependency_tracking" != xno; then
3120
3627
  AMDEP_TRUE=
3121
3628
  AMDEP_FALSE='#'
3122
3629
else
3126
3633
 
3127
3634
 
3128
3635
 
3129
 
 
3130
3636
depcc="$CC"   am_compiler_list=
3131
3637
 
3132
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3133
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3638
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3639
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3134
3640
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3135
3641
  echo $ECHO_N "(cached) $ECHO_C" >&6
3136
3642
else
3194
3700
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3195
3701
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3196
3702
         >/dev/null 2>conftest.err &&
 
3703
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3197
3704
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3198
3705
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3199
3706
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3219
3726
fi
3220
3727
 
3221
3728
fi
3222
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3223
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3729
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3730
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3224
3731
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3225
3732
 
3226
 
 
3227
 
 
3228
 
if
 
3733
 if
3229
3734
  test "x$enable_dependency_tracking" != xno \
3230
3735
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3231
3736
  am__fastdepCC_TRUE=
3236
3741
fi
3237
3742
 
3238
3743
 
3239
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3240
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 
3744
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
3745
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3241
3746
if test "${lt_cv_path_SED+set}" = set; then
3242
3747
  echo $ECHO_N "(cached) $ECHO_C" >&6
3243
3748
else
3290
3795
fi
3291
3796
 
3292
3797
SED=$lt_cv_path_SED
3293
 
echo "$as_me:$LINENO: result: $SED" >&5
3294
 
echo "${ECHO_T}$SED" >&6
3295
 
 
3296
 
echo "$as_me:$LINENO: checking for egrep" >&5
3297
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3298
 
if test "${ac_cv_prog_egrep+set}" = set; then
3299
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3300
 
else
3301
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3302
 
    then ac_cv_prog_egrep='grep -E'
3303
 
    else ac_cv_prog_egrep='egrep'
3304
 
    fi
3305
 
fi
3306
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3307
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3308
 
 EGREP=$ac_cv_prog_egrep
3309
 
 
3310
 
 
3311
 
 
3312
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
3798
{ echo "$as_me:$LINENO: result: $SED" >&5
 
3799
echo "${ECHO_T}$SED" >&6; }
 
3800
 
 
3801
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3802
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
3803
if test "${ac_cv_path_GREP+set}" = set; then
 
3804
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3805
else
 
3806
  # Extract the first word of "grep ggrep" to use in msg output
 
3807
if test -z "$GREP"; then
 
3808
set dummy grep ggrep; ac_prog_name=$2
 
3809
if test "${ac_cv_path_GREP+set}" = set; then
 
3810
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3811
else
 
3812
  ac_path_GREP_found=false
 
3813
# Loop through the user's path and test for each of PROGNAME-LIST
 
3814
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3815
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3816
do
 
3817
  IFS=$as_save_IFS
 
3818
  test -z "$as_dir" && as_dir=.
 
3819
  for ac_prog in grep ggrep; do
 
3820
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3821
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3822
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
3823
    # Check for GNU ac_path_GREP and select it if it is found.
 
3824
  # Check for GNU $ac_path_GREP
 
3825
case `"$ac_path_GREP" --version 2>&1` in
 
3826
*GNU*)
 
3827
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
3828
*)
 
3829
  ac_count=0
 
3830
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3831
  while :
 
3832
  do
 
3833
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3834
    mv "conftest.tmp" "conftest.in"
 
3835
    cp "conftest.in" "conftest.nl"
 
3836
    echo 'GREP' >> "conftest.nl"
 
3837
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3838
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3839
    ac_count=`expr $ac_count + 1`
 
3840
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
3841
      # Best one so far, save it but keep looking for a better one
 
3842
      ac_cv_path_GREP="$ac_path_GREP"
 
3843
      ac_path_GREP_max=$ac_count
 
3844
    fi
 
3845
    # 10*(2^10) chars as input seems more than enough
 
3846
    test $ac_count -gt 10 && break
 
3847
  done
 
3848
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3849
esac
 
3850
 
 
3851
 
 
3852
    $ac_path_GREP_found && break 3
 
3853
  done
 
3854
done
 
3855
 
 
3856
done
 
3857
IFS=$as_save_IFS
 
3858
 
 
3859
 
 
3860
fi
 
3861
 
 
3862
GREP="$ac_cv_path_GREP"
 
3863
if test -z "$GREP"; then
 
3864
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3865
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3866
   { (exit 1); exit 1; }; }
 
3867
fi
 
3868
 
 
3869
else
 
3870
  ac_cv_path_GREP=$GREP
 
3871
fi
 
3872
 
 
3873
 
 
3874
fi
 
3875
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
3876
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
3877
 GREP="$ac_cv_path_GREP"
 
3878
 
 
3879
 
 
3880
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
3881
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
3882
if test "${ac_cv_path_EGREP+set}" = set; then
 
3883
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3884
else
 
3885
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
3886
   then ac_cv_path_EGREP="$GREP -E"
 
3887
   else
 
3888
     # Extract the first word of "egrep" to use in msg output
 
3889
if test -z "$EGREP"; then
 
3890
set dummy egrep; ac_prog_name=$2
 
3891
if test "${ac_cv_path_EGREP+set}" = set; then
 
3892
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3893
else
 
3894
  ac_path_EGREP_found=false
 
3895
# Loop through the user's path and test for each of PROGNAME-LIST
 
3896
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3897
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3898
do
 
3899
  IFS=$as_save_IFS
 
3900
  test -z "$as_dir" && as_dir=.
 
3901
  for ac_prog in egrep; do
 
3902
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3903
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
3904
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
3905
    # Check for GNU ac_path_EGREP and select it if it is found.
 
3906
  # Check for GNU $ac_path_EGREP
 
3907
case `"$ac_path_EGREP" --version 2>&1` in
 
3908
*GNU*)
 
3909
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
3910
*)
 
3911
  ac_count=0
 
3912
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3913
  while :
 
3914
  do
 
3915
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3916
    mv "conftest.tmp" "conftest.in"
 
3917
    cp "conftest.in" "conftest.nl"
 
3918
    echo 'EGREP' >> "conftest.nl"
 
3919
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3920
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3921
    ac_count=`expr $ac_count + 1`
 
3922
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
3923
      # Best one so far, save it but keep looking for a better one
 
3924
      ac_cv_path_EGREP="$ac_path_EGREP"
 
3925
      ac_path_EGREP_max=$ac_count
 
3926
    fi
 
3927
    # 10*(2^10) chars as input seems more than enough
 
3928
    test $ac_count -gt 10 && break
 
3929
  done
 
3930
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3931
esac
 
3932
 
 
3933
 
 
3934
    $ac_path_EGREP_found && break 3
 
3935
  done
 
3936
done
 
3937
 
 
3938
done
 
3939
IFS=$as_save_IFS
 
3940
 
 
3941
 
 
3942
fi
 
3943
 
 
3944
EGREP="$ac_cv_path_EGREP"
 
3945
if test -z "$EGREP"; then
 
3946
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3947
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3948
   { (exit 1); exit 1; }; }
 
3949
fi
 
3950
 
 
3951
else
 
3952
  ac_cv_path_EGREP=$EGREP
 
3953
fi
 
3954
 
 
3955
 
 
3956
   fi
 
3957
fi
 
3958
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
3959
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
3960
 EGREP="$ac_cv_path_EGREP"
 
3961
 
 
3962
 
 
3963
 
 
3964
# Check whether --with-gnu-ld was given.
3313
3965
if test "${with_gnu_ld+set}" = set; then
3314
 
  withval="$with_gnu_ld"
3315
 
  test "$withval" = no || with_gnu_ld=yes
 
3966
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3316
3967
else
3317
3968
  with_gnu_ld=no
3318
 
fi;
 
3969
fi
 
3970
 
3319
3971
ac_prog=ld
3320
3972
if test "$GCC" = yes; then
3321
3973
  # Check if gcc -print-prog-name=ld gives a path.
3322
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3323
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
3974
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
3975
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3324
3976
  case $host in
3325
3977
  *-*-mingw*)
3326
3978
    # gcc leaves a trailing carriage return which upsets mingw
3349
4001
    ;;
3350
4002
  esac
3351
4003
elif test "$with_gnu_ld" = yes; then
3352
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
3353
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
4004
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4005
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
3354
4006
else
3355
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3356
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
4007
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4008
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
3357
4009
fi
3358
4010
if test "${lt_cv_path_LD+set}" = set; then
3359
4011
  echo $ECHO_N "(cached) $ECHO_C" >&6
3366
4018
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3367
4019
      lt_cv_path_LD="$ac_dir/$ac_prog"
3368
4020
      # Check to see if the program is GNU ld.  I'd rather use --version,
3369
 
      # but apparently some GNU ld's only accept -v.
 
4021
      # but apparently some variants of GNU ld only accept -v.
3370
4022
      # Break only if it was the GNU/non-GNU ld that we prefer.
3371
4023
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3372
4024
      *GNU* | *'with BFD'*)
3386
4038
 
3387
4039
LD="$lt_cv_path_LD"
3388
4040
if test -n "$LD"; then
3389
 
  echo "$as_me:$LINENO: result: $LD" >&5
3390
 
echo "${ECHO_T}$LD" >&6
 
4041
  { echo "$as_me:$LINENO: result: $LD" >&5
 
4042
echo "${ECHO_T}$LD" >&6; }
3391
4043
else
3392
 
  echo "$as_me:$LINENO: result: no" >&5
3393
 
echo "${ECHO_T}no" >&6
 
4044
  { echo "$as_me:$LINENO: result: no" >&5
 
4045
echo "${ECHO_T}no" >&6; }
3394
4046
fi
3395
4047
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3396
4048
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3397
4049
   { (exit 1); exit 1; }; }
3398
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3399
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
4050
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4051
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
3400
4052
if test "${lt_cv_prog_gnu_ld+set}" = set; then
3401
4053
  echo $ECHO_N "(cached) $ECHO_C" >&6
3402
4054
else
3403
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
4055
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
3404
4056
case `$LD -v 2>&1 </dev/null` in
3405
4057
*GNU* | *'with BFD'*)
3406
4058
  lt_cv_prog_gnu_ld=yes
3410
4062
  ;;
3411
4063
esac
3412
4064
fi
3413
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3414
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
4065
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4066
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
3415
4067
with_gnu_ld=$lt_cv_prog_gnu_ld
3416
4068
 
3417
4069
 
3428
4080
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3429
4081
# OS/2's system install, which has a completely different semantic
3430
4082
# ./install, which can be erroneously created by make from ./install.sh.
3431
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3432
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
4083
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
4084
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3433
4085
if test -z "$INSTALL"; then
3434
4086
if test "${ac_cv_path_install+set}" = set; then
3435
4087
  echo $ECHO_N "(cached) $ECHO_C" >&6
3451
4103
    # by default.
3452
4104
    for ac_prog in ginstall scoinst install; do
3453
4105
      for ac_exec_ext in '' $ac_executable_extensions; do
3454
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
4106
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3455
4107
          if test $ac_prog = install &&
3456
4108
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3457
4109
            # AIX install.  It has an incompatible calling convention.
3470
4122
    ;;
3471
4123
esac
3472
4124
done
 
4125
IFS=$as_save_IFS
3473
4126
 
3474
4127
 
3475
4128
fi
3476
4129
  if test "${ac_cv_path_install+set}" = set; then
3477
4130
    INSTALL=$ac_cv_path_install
3478
4131
  else
3479
 
    # As a last resort, use the slow shell script.  We don't cache a
3480
 
    # path for INSTALL within a source directory, because that will
 
4132
    # As a last resort, use the slow shell script.  Don't cache a
 
4133
    # value for INSTALL within a source directory, because that will
3481
4134
    # break other packages using the cache if that directory is
3482
 
    # removed, or if the path is relative.
 
4135
    # removed, or if the value is a relative name.
3483
4136
    INSTALL=$ac_install_sh
3484
4137
  fi
3485
4138
fi
3486
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
3487
 
echo "${ECHO_T}$INSTALL" >&6
 
4139
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
4140
echo "${ECHO_T}$INSTALL" >&6; }
3488
4141
 
3489
4142
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3490
4143
# It thinks the first close brace ends the variable substitution.
3498
4151
do
3499
4152
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3500
4153
set dummy $ac_prog; ac_word=$2
3501
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3502
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4154
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4155
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3503
4156
if test "${ac_cv_prog_AWK+set}" = set; then
3504
4157
  echo $ECHO_N "(cached) $ECHO_C" >&6
3505
4158
else
3512
4165
  IFS=$as_save_IFS
3513
4166
  test -z "$as_dir" && as_dir=.
3514
4167
  for ac_exec_ext in '' $ac_executable_extensions; do
3515
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4168
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3516
4169
    ac_cv_prog_AWK="$ac_prog"
3517
4170
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3518
4171
    break 2
3519
4172
  fi
3520
4173
done
3521
4174
done
 
4175
IFS=$as_save_IFS
3522
4176
 
3523
4177
fi
3524
4178
fi
3525
4179
AWK=$ac_cv_prog_AWK
3526
4180
if test -n "$AWK"; then
3527
 
  echo "$as_me:$LINENO: result: $AWK" >&5
3528
 
echo "${ECHO_T}$AWK" >&6
 
4181
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
4182
echo "${ECHO_T}$AWK" >&6; }
3529
4183
else
3530
 
  echo "$as_me:$LINENO: result: no" >&5
3531
 
echo "${ECHO_T}no" >&6
 
4184
  { echo "$as_me:$LINENO: result: no" >&5
 
4185
echo "${ECHO_T}no" >&6; }
3532
4186
fi
3533
4187
 
 
4188
 
3534
4189
  test -n "$AWK" && break
3535
4190
done
3536
4191
 
3539
4194
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3540
4195
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3541
4196
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3542
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3543
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
4197
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
4198
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3544
4199
# On Suns, sometimes $CPP names a directory.
3545
4200
if test -n "$CPP" && test -d "$CPP"; then
3546
4201
  CPP=
3574
4229
#endif
3575
4230
                     Syntax error
3576
4231
_ACEOF
3577
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3578
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4232
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4233
case "(($ac_try" in
 
4234
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4235
  *) ac_try_echo=$ac_try;;
 
4236
esac
 
4237
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4238
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3579
4239
  ac_status=$?
3580
4240
  grep -v '^ *+' conftest.er1 >conftest.err
3581
4241
  rm -f conftest.er1
3582
4242
  cat conftest.err >&5
3583
4243
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3584
 
  (exit $ac_status); } >/dev/null; then
3585
 
  if test -s conftest.err; then
3586
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3587
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3588
 
  else
3589
 
    ac_cpp_err=
3590
 
  fi
3591
 
else
3592
 
  ac_cpp_err=yes
3593
 
fi
3594
 
if test -z "$ac_cpp_err"; then
 
4244
  (exit $ac_status); } >/dev/null && {
 
4245
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4246
         test ! -s conftest.err
 
4247
       }; then
3595
4248
  :
3596
4249
else
3597
4250
  echo "$as_me: failed program was:" >&5
3600
4253
  # Broken: fails on valid input.
3601
4254
continue
3602
4255
fi
 
4256
 
3603
4257
rm -f conftest.err conftest.$ac_ext
3604
4258
 
3605
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4259
  # OK, works on sane cases.  Now check whether nonexistent headers
3606
4260
  # can be detected and how.
3607
4261
  cat >conftest.$ac_ext <<_ACEOF
3608
4262
/* confdefs.h.  */
3612
4266
/* end confdefs.h.  */
3613
4267
#include <ac_nonexistent.h>
3614
4268
_ACEOF
3615
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3616
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4269
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4270
case "(($ac_try" in
 
4271
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4272
  *) ac_try_echo=$ac_try;;
 
4273
esac
 
4274
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4275
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3617
4276
  ac_status=$?
3618
4277
  grep -v '^ *+' conftest.er1 >conftest.err
3619
4278
  rm -f conftest.er1
3620
4279
  cat conftest.err >&5
3621
4280
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3622
 
  (exit $ac_status); } >/dev/null; then
3623
 
  if test -s conftest.err; then
3624
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3625
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3626
 
  else
3627
 
    ac_cpp_err=
3628
 
  fi
3629
 
else
3630
 
  ac_cpp_err=yes
3631
 
fi
3632
 
if test -z "$ac_cpp_err"; then
 
4281
  (exit $ac_status); } >/dev/null && {
 
4282
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4283
         test ! -s conftest.err
 
4284
       }; then
3633
4285
  # Broken: success on invalid input.
3634
4286
continue
3635
4287
else
3640
4292
ac_preproc_ok=:
3641
4293
break
3642
4294
fi
 
4295
 
3643
4296
rm -f conftest.err conftest.$ac_ext
3644
4297
 
3645
4298
done
3657
4310
else
3658
4311
  ac_cv_prog_CPP=$CPP
3659
4312
fi
3660
 
echo "$as_me:$LINENO: result: $CPP" >&5
3661
 
echo "${ECHO_T}$CPP" >&6
 
4313
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
4314
echo "${ECHO_T}$CPP" >&6; }
3662
4315
ac_preproc_ok=false
3663
4316
for ac_c_preproc_warn_flag in '' yes
3664
4317
do
3681
4334
#endif
3682
4335
                     Syntax error
3683
4336
_ACEOF
3684
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3685
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4337
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4338
case "(($ac_try" in
 
4339
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4340
  *) ac_try_echo=$ac_try;;
 
4341
esac
 
4342
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4343
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3686
4344
  ac_status=$?
3687
4345
  grep -v '^ *+' conftest.er1 >conftest.err
3688
4346
  rm -f conftest.er1
3689
4347
  cat conftest.err >&5
3690
4348
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3691
 
  (exit $ac_status); } >/dev/null; then
3692
 
  if test -s conftest.err; then
3693
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3694
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3695
 
  else
3696
 
    ac_cpp_err=
3697
 
  fi
3698
 
else
3699
 
  ac_cpp_err=yes
3700
 
fi
3701
 
if test -z "$ac_cpp_err"; then
 
4349
  (exit $ac_status); } >/dev/null && {
 
4350
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4351
         test ! -s conftest.err
 
4352
       }; then
3702
4353
  :
3703
4354
else
3704
4355
  echo "$as_me: failed program was:" >&5
3707
4358
  # Broken: fails on valid input.
3708
4359
continue
3709
4360
fi
 
4361
 
3710
4362
rm -f conftest.err conftest.$ac_ext
3711
4363
 
3712
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4364
  # OK, works on sane cases.  Now check whether nonexistent headers
3713
4365
  # can be detected and how.
3714
4366
  cat >conftest.$ac_ext <<_ACEOF
3715
4367
/* confdefs.h.  */
3719
4371
/* end confdefs.h.  */
3720
4372
#include <ac_nonexistent.h>
3721
4373
_ACEOF
3722
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3723
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4374
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4375
case "(($ac_try" in
 
4376
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4377
  *) ac_try_echo=$ac_try;;
 
4378
esac
 
4379
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4380
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3724
4381
  ac_status=$?
3725
4382
  grep -v '^ *+' conftest.er1 >conftest.err
3726
4383
  rm -f conftest.er1
3727
4384
  cat conftest.err >&5
3728
4385
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729
 
  (exit $ac_status); } >/dev/null; then
3730
 
  if test -s conftest.err; then
3731
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3732
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3733
 
  else
3734
 
    ac_cpp_err=
3735
 
  fi
3736
 
else
3737
 
  ac_cpp_err=yes
3738
 
fi
3739
 
if test -z "$ac_cpp_err"; then
 
4386
  (exit $ac_status); } >/dev/null && {
 
4387
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4388
         test ! -s conftest.err
 
4389
       }; then
3740
4390
  # Broken: success on invalid input.
3741
4391
continue
3742
4392
else
3747
4397
ac_preproc_ok=:
3748
4398
break
3749
4399
fi
 
4400
 
3750
4401
rm -f conftest.err conftest.$ac_ext
3751
4402
 
3752
4403
done
3768
4419
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3769
4420
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3770
4421
 
3771
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
3772
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
4422
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4423
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3773
4424
LN_S=$as_ln_s
3774
4425
if test "$LN_S" = "ln -s"; then
3775
 
  echo "$as_me:$LINENO: result: yes" >&5
3776
 
echo "${ECHO_T}yes" >&6
 
4426
  { echo "$as_me:$LINENO: result: yes" >&5
 
4427
echo "${ECHO_T}yes" >&6; }
3777
4428
else
3778
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3779
 
echo "${ECHO_T}no, using $LN_S" >&6
 
4429
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4430
echo "${ECHO_T}no, using $LN_S" >&6; }
3780
4431
fi
3781
4432
 
3782
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3783
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3784
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3785
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
4433
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
4434
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
4435
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
4436
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3786
4437
  echo $ECHO_N "(cached) $ECHO_C" >&6
3787
4438
else
3788
4439
  cat >conftest.make <<\_ACEOF
 
4440
SHELL = /bin/sh
3789
4441
all:
3790
 
        @echo 'ac_maketemp="$(MAKE)"'
 
4442
        @echo '@@@%%%=$(MAKE)=@@@%%%'
3791
4443
_ACEOF
3792
4444
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3793
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3794
 
if test -n "$ac_maketemp"; then
3795
 
  eval ac_cv_prog_make_${ac_make}_set=yes
3796
 
else
3797
 
  eval ac_cv_prog_make_${ac_make}_set=no
3798
 
fi
 
4445
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
4446
  *@@@%%%=?*=@@@%%%*)
 
4447
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
4448
  *)
 
4449
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
4450
esac
3799
4451
rm -f conftest.make
3800
4452
fi
3801
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3802
 
  echo "$as_me:$LINENO: result: yes" >&5
3803
 
echo "${ECHO_T}yes" >&6
 
4453
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
4454
  { echo "$as_me:$LINENO: result: yes" >&5
 
4455
echo "${ECHO_T}yes" >&6; }
3804
4456
  SET_MAKE=
3805
4457
else
3806
 
  echo "$as_me:$LINENO: result: no" >&5
3807
 
echo "${ECHO_T}no" >&6
 
4458
  { echo "$as_me:$LINENO: result: no" >&5
 
4459
echo "${ECHO_T}no" >&6; }
3808
4460
  SET_MAKE="MAKE=${MAKE-make}"
3809
4461
fi
3810
4462
 
3812
4464
 
3813
4465
 
3814
4466
 
3815
 
echo "$as_me:$LINENO: checking for AIX" >&5
3816
 
echo $ECHO_N "checking for AIX... $ECHO_C" >&6
 
4467
{ echo "$as_me:$LINENO: checking for AIX" >&5
 
4468
echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3817
4469
cat >conftest.$ac_ext <<_ACEOF
3818
4470
/* confdefs.h.  */
3819
4471
_ACEOF
3827
4479
_ACEOF
3828
4480
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3829
4481
  $EGREP "yes" >/dev/null 2>&1; then
3830
 
  echo "$as_me:$LINENO: result: yes" >&5
3831
 
echo "${ECHO_T}yes" >&6
 
4482
  { echo "$as_me:$LINENO: result: yes" >&5
 
4483
echo "${ECHO_T}yes" >&6; }
3832
4484
cat >>confdefs.h <<\_ACEOF
3833
4485
#define _ALL_SOURCE 1
3834
4486
_ACEOF
3835
4487
 
3836
4488
else
3837
 
  echo "$as_me:$LINENO: result: no" >&5
3838
 
echo "${ECHO_T}no" >&6
 
4489
  { echo "$as_me:$LINENO: result: no" >&5
 
4490
echo "${ECHO_T}no" >&6; }
3839
4491
fi
3840
4492
rm -f conftest*
3841
4493
 
3842
4494
 
3843
 
echo "$as_me:$LINENO: checking for library containing strerror" >&5
3844
 
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
 
4495
{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
 
4496
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
3845
4497
if test "${ac_cv_search_strerror+set}" = set; then
3846
4498
  echo $ECHO_N "(cached) $ECHO_C" >&6
3847
4499
else
3848
4500
  ac_func_search_save_LIBS=$LIBS
3849
 
ac_cv_search_strerror=no
3850
4501
cat >conftest.$ac_ext <<_ACEOF
3851
4502
/* confdefs.h.  */
3852
4503
_ACEOF
3854
4505
cat >>conftest.$ac_ext <<_ACEOF
3855
4506
/* end confdefs.h.  */
3856
4507
 
3857
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
4508
/* Override any GCC internal prototype to avoid an error.
 
4509
   Use char because int might match the return type of a GCC
 
4510
   builtin and then its argument prototype would still apply.  */
3858
4511
#ifdef __cplusplus
3859
4512
extern "C"
3860
4513
#endif
3861
 
/* We use char because int might match the return type of a gcc2
3862
 
   builtin and then its argument prototype would still apply.  */
3863
4514
char strerror ();
3864
4515
int
3865
4516
main ()
3866
4517
{
3867
 
strerror ();
 
4518
return strerror ();
3868
4519
  ;
3869
4520
  return 0;
3870
4521
}
3871
4522
_ACEOF
3872
 
rm -f conftest.$ac_objext conftest$ac_exeext
3873
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3874
 
  (eval $ac_link) 2>conftest.er1
3875
 
  ac_status=$?
3876
 
  grep -v '^ *+' conftest.er1 >conftest.err
3877
 
  rm -f conftest.er1
3878
 
  cat conftest.err >&5
3879
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3880
 
  (exit $ac_status); } &&
3881
 
         { ac_try='test -z "$ac_c_werror_flag"
3882
 
                         || test ! -s conftest.err'
3883
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3884
 
  (eval $ac_try) 2>&5
3885
 
  ac_status=$?
3886
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3887
 
  (exit $ac_status); }; } &&
3888
 
         { ac_try='test -s conftest$ac_exeext'
3889
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3890
 
  (eval $ac_try) 2>&5
3891
 
  ac_status=$?
3892
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3893
 
  (exit $ac_status); }; }; then
3894
 
  ac_cv_search_strerror="none required"
3895
 
else
3896
 
  echo "$as_me: failed program was:" >&5
3897
 
sed 's/^/| /' conftest.$ac_ext >&5
3898
 
 
3899
 
fi
3900
 
rm -f conftest.err conftest.$ac_objext \
3901
 
      conftest$ac_exeext conftest.$ac_ext
3902
 
if test "$ac_cv_search_strerror" = no; then
3903
 
  for ac_lib in cposix; do
 
4523
for ac_lib in '' cposix; do
 
4524
  if test -z "$ac_lib"; then
 
4525
    ac_res="none required"
 
4526
  else
 
4527
    ac_res=-l$ac_lib
3904
4528
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3905
 
    cat >conftest.$ac_ext <<_ACEOF
3906
 
/* confdefs.h.  */
3907
 
_ACEOF
3908
 
cat confdefs.h >>conftest.$ac_ext
3909
 
cat >>conftest.$ac_ext <<_ACEOF
3910
 
/* end confdefs.h.  */
3911
 
 
3912
 
/* Override any gcc2 internal prototype to avoid an error.  */
3913
 
#ifdef __cplusplus
3914
 
extern "C"
3915
 
#endif
3916
 
/* We use char because int might match the return type of a gcc2
3917
 
   builtin and then its argument prototype would still apply.  */
3918
 
char strerror ();
3919
 
int
3920
 
main ()
3921
 
{
3922
 
strerror ();
3923
 
  ;
3924
 
  return 0;
3925
 
}
3926
 
_ACEOF
3927
 
rm -f conftest.$ac_objext conftest$ac_exeext
3928
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3929
 
  (eval $ac_link) 2>conftest.er1
 
4529
  fi
 
4530
  rm -f conftest.$ac_objext conftest$ac_exeext
 
4531
if { (ac_try="$ac_link"
 
4532
case "(($ac_try" in
 
4533
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4534
  *) ac_try_echo=$ac_try;;
 
4535
esac
 
4536
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4537
  (eval "$ac_link") 2>conftest.er1
3930
4538
  ac_status=$?
3931
4539
  grep -v '^ *+' conftest.er1 >conftest.err
3932
4540
  rm -f conftest.er1
3933
4541
  cat conftest.err >&5
3934
4542
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3935
 
  (exit $ac_status); } &&
3936
 
         { ac_try='test -z "$ac_c_werror_flag"
3937
 
                         || test ! -s conftest.err'
3938
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3939
 
  (eval $ac_try) 2>&5
3940
 
  ac_status=$?
3941
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3942
 
  (exit $ac_status); }; } &&
3943
 
         { ac_try='test -s conftest$ac_exeext'
3944
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3945
 
  (eval $ac_try) 2>&5
3946
 
  ac_status=$?
3947
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3948
 
  (exit $ac_status); }; }; then
3949
 
  ac_cv_search_strerror="-l$ac_lib"
3950
 
break
 
4543
  (exit $ac_status); } && {
 
4544
         test -z "$ac_c_werror_flag" ||
 
4545
         test ! -s conftest.err
 
4546
       } && test -s conftest$ac_exeext &&
 
4547
       $as_test_x conftest$ac_exeext; then
 
4548
  ac_cv_search_strerror=$ac_res
3951
4549
else
3952
4550
  echo "$as_me: failed program was:" >&5
3953
4551
sed 's/^/| /' conftest.$ac_ext >&5
3954
4552
 
3955
 
fi
3956
 
rm -f conftest.err conftest.$ac_objext \
3957
 
      conftest$ac_exeext conftest.$ac_ext
3958
 
  done
3959
 
fi
 
4553
 
 
4554
fi
 
4555
 
 
4556
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
4557
      conftest$ac_exeext
 
4558
  if test "${ac_cv_search_strerror+set}" = set; then
 
4559
  break
 
4560
fi
 
4561
done
 
4562
if test "${ac_cv_search_strerror+set}" = set; then
 
4563
  :
 
4564
else
 
4565
  ac_cv_search_strerror=no
 
4566
fi
 
4567
rm conftest.$ac_ext
3960
4568
LIBS=$ac_func_search_save_LIBS
3961
4569
fi
3962
 
echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3963
 
echo "${ECHO_T}$ac_cv_search_strerror" >&6
3964
 
if test "$ac_cv_search_strerror" != no; then
3965
 
  test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
 
4570
{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 
4571
echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
 
4572
ac_res=$ac_cv_search_strerror
 
4573
if test "$ac_res" != no; then
 
4574
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3966
4575
 
3967
4576
fi
3968
4577
 
3969
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3970
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
4578
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4579
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3971
4580
if test "${ac_cv_header_stdc+set}" = set; then
3972
4581
  echo $ECHO_N "(cached) $ECHO_C" >&6
3973
4582
else
3991
4600
}
3992
4601
_ACEOF
3993
4602
rm -f conftest.$ac_objext
3994
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3995
 
  (eval $ac_compile) 2>conftest.er1
 
4603
if { (ac_try="$ac_compile"
 
4604
case "(($ac_try" in
 
4605
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4606
  *) ac_try_echo=$ac_try;;
 
4607
esac
 
4608
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4609
  (eval "$ac_compile") 2>conftest.er1
3996
4610
  ac_status=$?
3997
4611
  grep -v '^ *+' conftest.er1 >conftest.err
3998
4612
  rm -f conftest.er1
3999
4613
  cat conftest.err >&5
4000
4614
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4001
 
  (exit $ac_status); } &&
4002
 
         { ac_try='test -z "$ac_c_werror_flag"
4003
 
                         || test ! -s conftest.err'
4004
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4005
 
  (eval $ac_try) 2>&5
4006
 
  ac_status=$?
4007
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4008
 
  (exit $ac_status); }; } &&
4009
 
         { ac_try='test -s conftest.$ac_objext'
4010
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4011
 
  (eval $ac_try) 2>&5
4012
 
  ac_status=$?
4013
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4014
 
  (exit $ac_status); }; }; then
 
4615
  (exit $ac_status); } && {
 
4616
         test -z "$ac_c_werror_flag" ||
 
4617
         test ! -s conftest.err
 
4618
       } && test -s conftest.$ac_objext; then
4015
4619
  ac_cv_header_stdc=yes
4016
4620
else
4017
4621
  echo "$as_me: failed program was:" >&5
4018
4622
sed 's/^/| /' conftest.$ac_ext >&5
4019
4623
 
4020
 
ac_cv_header_stdc=no
 
4624
        ac_cv_header_stdc=no
4021
4625
fi
4022
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4626
 
 
4627
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4023
4628
 
4024
4629
if test $ac_cv_header_stdc = yes; then
4025
4630
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4075
4680
cat >>conftest.$ac_ext <<_ACEOF
4076
4681
/* end confdefs.h.  */
4077
4682
#include <ctype.h>
 
4683
#include <stdlib.h>
4078
4684
#if ((' ' & 0x0FF) == 0x020)
4079
4685
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4080
4686
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4094
4700
  for (i = 0; i < 256; i++)
4095
4701
    if (XOR (islower (i), ISLOWER (i))
4096
4702
        || toupper (i) != TOUPPER (i))
4097
 
      exit(2);
4098
 
  exit (0);
 
4703
      return 2;
 
4704
  return 0;
4099
4705
}
4100
4706
_ACEOF
4101
4707
rm -f conftest$ac_exeext
4102
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4103
 
  (eval $ac_link) 2>&5
 
4708
if { (ac_try="$ac_link"
 
4709
case "(($ac_try" in
 
4710
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4711
  *) ac_try_echo=$ac_try;;
 
4712
esac
 
4713
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4714
  (eval "$ac_link") 2>&5
4104
4715
  ac_status=$?
4105
4716
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4106
4717
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4107
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4108
 
  (eval $ac_try) 2>&5
 
4718
  { (case "(($ac_try" in
 
4719
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4720
  *) ac_try_echo=$ac_try;;
 
4721
esac
 
4722
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4723
  (eval "$ac_try") 2>&5
4109
4724
  ac_status=$?
4110
4725
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4111
4726
  (exit $ac_status); }; }; then
4118
4733
( exit $ac_status )
4119
4734
ac_cv_header_stdc=no
4120
4735
fi
4121
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4122
 
fi
4123
 
fi
4124
 
fi
4125
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4126
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
4736
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4737
fi
 
4738
 
 
4739
 
 
4740
fi
 
4741
fi
 
4742
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4743
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4127
4744
if test $ac_cv_header_stdc = yes; then
4128
4745
 
4129
4746
cat >>confdefs.h <<\_ACEOF
4146
4763
                  inttypes.h stdint.h unistd.h
4147
4764
do
4148
4765
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4149
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4150
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4151
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
4766
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4767
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4768
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4152
4769
  echo $ECHO_N "(cached) $ECHO_C" >&6
4153
4770
else
4154
4771
  cat >conftest.$ac_ext <<_ACEOF
4162
4779
#include <$ac_header>
4163
4780
_ACEOF
4164
4781
rm -f conftest.$ac_objext
4165
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4166
 
  (eval $ac_compile) 2>conftest.er1
 
4782
if { (ac_try="$ac_compile"
 
4783
case "(($ac_try" in
 
4784
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4785
  *) ac_try_echo=$ac_try;;
 
4786
esac
 
4787
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4788
  (eval "$ac_compile") 2>conftest.er1
4167
4789
  ac_status=$?
4168
4790
  grep -v '^ *+' conftest.er1 >conftest.err
4169
4791
  rm -f conftest.er1
4170
4792
  cat conftest.err >&5
4171
4793
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4172
 
  (exit $ac_status); } &&
4173
 
         { ac_try='test -z "$ac_c_werror_flag"
4174
 
                         || test ! -s conftest.err'
4175
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4176
 
  (eval $ac_try) 2>&5
4177
 
  ac_status=$?
4178
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179
 
  (exit $ac_status); }; } &&
4180
 
         { ac_try='test -s conftest.$ac_objext'
4181
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4182
 
  (eval $ac_try) 2>&5
4183
 
  ac_status=$?
4184
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4185
 
  (exit $ac_status); }; }; then
 
4794
  (exit $ac_status); } && {
 
4795
         test -z "$ac_c_werror_flag" ||
 
4796
         test ! -s conftest.err
 
4797
       } && test -s conftest.$ac_objext; then
4186
4798
  eval "$as_ac_Header=yes"
4187
4799
else
4188
4800
  echo "$as_me: failed program was:" >&5
4189
4801
sed 's/^/| /' conftest.$ac_ext >&5
4190
4802
 
4191
 
eval "$as_ac_Header=no"
4192
 
fi
4193
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4194
 
fi
4195
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4196
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
4803
        eval "$as_ac_Header=no"
 
4804
fi
 
4805
 
 
4806
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4807
fi
 
4808
ac_res=`eval echo '${'$as_ac_Header'}'`
 
4809
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
4810
echo "${ECHO_T}$ac_res" >&6; }
4197
4811
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4198
4812
  cat >>confdefs.h <<_ACEOF
4199
4813
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4205
4819
 
4206
4820
 
4207
4821
if test "${ac_cv_header_minix_config_h+set}" = set; then
4208
 
  echo "$as_me:$LINENO: checking for minix/config.h" >&5
4209
 
echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
 
4822
  { echo "$as_me:$LINENO: checking for minix/config.h" >&5
 
4823
echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4210
4824
if test "${ac_cv_header_minix_config_h+set}" = set; then
4211
4825
  echo $ECHO_N "(cached) $ECHO_C" >&6
4212
4826
fi
4213
 
echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4214
 
echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
 
4827
{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
 
4828
echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4215
4829
else
4216
4830
  # Is the header compilable?
4217
 
echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4218
 
echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
 
4831
{ echo "$as_me:$LINENO: checking minix/config.h usability" >&5
 
4832
echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
4219
4833
cat >conftest.$ac_ext <<_ACEOF
4220
4834
/* confdefs.h.  */
4221
4835
_ACEOF
4226
4840
#include <minix/config.h>
4227
4841
_ACEOF
4228
4842
rm -f conftest.$ac_objext
4229
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4230
 
  (eval $ac_compile) 2>conftest.er1
 
4843
if { (ac_try="$ac_compile"
 
4844
case "(($ac_try" in
 
4845
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4846
  *) ac_try_echo=$ac_try;;
 
4847
esac
 
4848
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4849
  (eval "$ac_compile") 2>conftest.er1
4231
4850
  ac_status=$?
4232
4851
  grep -v '^ *+' conftest.er1 >conftest.err
4233
4852
  rm -f conftest.er1
4234
4853
  cat conftest.err >&5
4235
4854
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236
 
  (exit $ac_status); } &&
4237
 
         { ac_try='test -z "$ac_c_werror_flag"
4238
 
                         || test ! -s conftest.err'
4239
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4240
 
  (eval $ac_try) 2>&5
4241
 
  ac_status=$?
4242
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243
 
  (exit $ac_status); }; } &&
4244
 
         { ac_try='test -s conftest.$ac_objext'
4245
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4246
 
  (eval $ac_try) 2>&5
4247
 
  ac_status=$?
4248
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4249
 
  (exit $ac_status); }; }; then
 
4855
  (exit $ac_status); } && {
 
4856
         test -z "$ac_c_werror_flag" ||
 
4857
         test ! -s conftest.err
 
4858
       } && test -s conftest.$ac_objext; then
4250
4859
  ac_header_compiler=yes
4251
4860
else
4252
4861
  echo "$as_me: failed program was:" >&5
4253
4862
sed 's/^/| /' conftest.$ac_ext >&5
4254
4863
 
4255
 
ac_header_compiler=no
 
4864
        ac_header_compiler=no
4256
4865
fi
4257
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4258
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4259
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
4866
 
 
4867
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4868
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
4869
echo "${ECHO_T}$ac_header_compiler" >&6; }
4260
4870
 
4261
4871
# Is the header present?
4262
 
echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4263
 
echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
 
4872
{ echo "$as_me:$LINENO: checking minix/config.h presence" >&5
 
4873
echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
4264
4874
cat >conftest.$ac_ext <<_ACEOF
4265
4875
/* confdefs.h.  */
4266
4876
_ACEOF
4269
4879
/* end confdefs.h.  */
4270
4880
#include <minix/config.h>
4271
4881
_ACEOF
4272
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4273
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4882
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4883
case "(($ac_try" in
 
4884
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4885
  *) ac_try_echo=$ac_try;;
 
4886
esac
 
4887
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4888
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4274
4889
  ac_status=$?
4275
4890
  grep -v '^ *+' conftest.er1 >conftest.err
4276
4891
  rm -f conftest.er1
4277
4892
  cat conftest.err >&5
4278
4893
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4279
 
  (exit $ac_status); } >/dev/null; then
4280
 
  if test -s conftest.err; then
4281
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4282
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4283
 
  else
4284
 
    ac_cpp_err=
4285
 
  fi
4286
 
else
4287
 
  ac_cpp_err=yes
4288
 
fi
4289
 
if test -z "$ac_cpp_err"; then
 
4894
  (exit $ac_status); } >/dev/null && {
 
4895
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4896
         test ! -s conftest.err
 
4897
       }; then
4290
4898
  ac_header_preproc=yes
4291
4899
else
4292
4900
  echo "$as_me: failed program was:" >&5
4294
4902
 
4295
4903
  ac_header_preproc=no
4296
4904
fi
 
4905
 
4297
4906
rm -f conftest.err conftest.$ac_ext
4298
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4299
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
4907
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
4908
echo "${ECHO_T}$ac_header_preproc" >&6; }
4300
4909
 
4301
4910
# So?  What about this header?
4302
4911
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4320
4929
echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4321
4930
    { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4322
4931
echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4323
 
    (
4324
 
      cat <<\_ASBOX
 
4932
    ( cat <<\_ASBOX
4325
4933
## ------------------------------ ##
4326
4934
## Report this to jan@kneschke.de ##
4327
4935
## ------------------------------ ##
4328
4936
_ASBOX
4329
 
    ) |
4330
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
4937
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4331
4938
    ;;
4332
4939
esac
4333
 
echo "$as_me:$LINENO: checking for minix/config.h" >&5
4334
 
echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
 
4940
{ echo "$as_me:$LINENO: checking for minix/config.h" >&5
 
4941
echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4335
4942
if test "${ac_cv_header_minix_config_h+set}" = set; then
4336
4943
  echo $ECHO_N "(cached) $ECHO_C" >&6
4337
4944
else
4338
4945
  ac_cv_header_minix_config_h=$ac_header_preproc
4339
4946
fi
4340
 
echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4341
 
echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
 
4947
{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
 
4948
echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4342
4949
 
4343
4950
fi
4344
4951
if test $ac_cv_header_minix_config_h = yes; then
4371
4978
        *darwin*|*cygwin*|*aix*|*mingw* ) NO_RDYNAMIC=yes;;
4372
4979
        * ) NO_RDYNAMIC=no;;
4373
4980
esac
4374
 
 
4375
 
 
4376
 
if test x$NO_RDYNAMIC = xyes; then
 
4981
 if test x$NO_RDYNAMIC = xyes; then
4377
4982
  NO_RDYNAMIC_TRUE=
4378
4983
  NO_RDYNAMIC_FALSE='#'
4379
4984
else
4384
4989
 
4385
4990
 
4386
4991
 
4387
 
echo "$as_me:$LINENO: checking for function prototypes" >&5
4388
 
echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4389
 
if test "$ac_cv_prog_cc_stdc" != no; then
4390
 
  echo "$as_me:$LINENO: result: yes" >&5
4391
 
echo "${ECHO_T}yes" >&6
 
4992
{ echo "$as_me:$LINENO: checking for function prototypes" >&5
 
4993
echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
 
4994
if test "$ac_cv_prog_cc_c89" != no; then
 
4995
  { echo "$as_me:$LINENO: result: yes" >&5
 
4996
echo "${ECHO_T}yes" >&6; }
4392
4997
 
4393
4998
cat >>confdefs.h <<\_ACEOF
4394
4999
#define PROTOTYPES 1
4400
5005
_ACEOF
4401
5006
 
4402
5007
else
4403
 
  echo "$as_me:$LINENO: result: no" >&5
4404
 
echo "${ECHO_T}no" >&6
 
5008
  { echo "$as_me:$LINENO: result: no" >&5
 
5009
echo "${ECHO_T}no" >&6; }
4405
5010
fi
4406
5011
 
4407
5012
 
4416
5021
for ac_header in string.h
4417
5022
do
4418
5023
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4419
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4420
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4421
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4422
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5024
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5025
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5026
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5027
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4423
5028
  echo $ECHO_N "(cached) $ECHO_C" >&6
4424
5029
fi
4425
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4426
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5030
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5031
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5032
echo "${ECHO_T}$ac_res" >&6; }
4427
5033
else
4428
5034
  # Is the header compilable?
4429
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4430
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
5035
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5036
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4431
5037
cat >conftest.$ac_ext <<_ACEOF
4432
5038
/* confdefs.h.  */
4433
5039
_ACEOF
4438
5044
#include <$ac_header>
4439
5045
_ACEOF
4440
5046
rm -f conftest.$ac_objext
4441
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4442
 
  (eval $ac_compile) 2>conftest.er1
 
5047
if { (ac_try="$ac_compile"
 
5048
case "(($ac_try" in
 
5049
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5050
  *) ac_try_echo=$ac_try;;
 
5051
esac
 
5052
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5053
  (eval "$ac_compile") 2>conftest.er1
4443
5054
  ac_status=$?
4444
5055
  grep -v '^ *+' conftest.er1 >conftest.err
4445
5056
  rm -f conftest.er1
4446
5057
  cat conftest.err >&5
4447
5058
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4448
 
  (exit $ac_status); } &&
4449
 
         { ac_try='test -z "$ac_c_werror_flag"
4450
 
                         || test ! -s conftest.err'
4451
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4452
 
  (eval $ac_try) 2>&5
4453
 
  ac_status=$?
4454
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4455
 
  (exit $ac_status); }; } &&
4456
 
         { ac_try='test -s conftest.$ac_objext'
4457
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4458
 
  (eval $ac_try) 2>&5
4459
 
  ac_status=$?
4460
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4461
 
  (exit $ac_status); }; }; then
 
5059
  (exit $ac_status); } && {
 
5060
         test -z "$ac_c_werror_flag" ||
 
5061
         test ! -s conftest.err
 
5062
       } && test -s conftest.$ac_objext; then
4462
5063
  ac_header_compiler=yes
4463
5064
else
4464
5065
  echo "$as_me: failed program was:" >&5
4465
5066
sed 's/^/| /' conftest.$ac_ext >&5
4466
5067
 
4467
 
ac_header_compiler=no
 
5068
        ac_header_compiler=no
4468
5069
fi
4469
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4470
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4471
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
5070
 
 
5071
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5072
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5073
echo "${ECHO_T}$ac_header_compiler" >&6; }
4472
5074
 
4473
5075
# Is the header present?
4474
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4475
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
5076
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5077
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4476
5078
cat >conftest.$ac_ext <<_ACEOF
4477
5079
/* confdefs.h.  */
4478
5080
_ACEOF
4481
5083
/* end confdefs.h.  */
4482
5084
#include <$ac_header>
4483
5085
_ACEOF
4484
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4485
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5086
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5087
case "(($ac_try" in
 
5088
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5089
  *) ac_try_echo=$ac_try;;
 
5090
esac
 
5091
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5092
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4486
5093
  ac_status=$?
4487
5094
  grep -v '^ *+' conftest.er1 >conftest.err
4488
5095
  rm -f conftest.er1
4489
5096
  cat conftest.err >&5
4490
5097
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4491
 
  (exit $ac_status); } >/dev/null; then
4492
 
  if test -s conftest.err; then
4493
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4494
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4495
 
  else
4496
 
    ac_cpp_err=
4497
 
  fi
4498
 
else
4499
 
  ac_cpp_err=yes
4500
 
fi
4501
 
if test -z "$ac_cpp_err"; then
 
5098
  (exit $ac_status); } >/dev/null && {
 
5099
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5100
         test ! -s conftest.err
 
5101
       }; then
4502
5102
  ac_header_preproc=yes
4503
5103
else
4504
5104
  echo "$as_me: failed program was:" >&5
4506
5106
 
4507
5107
  ac_header_preproc=no
4508
5108
fi
 
5109
 
4509
5110
rm -f conftest.err conftest.$ac_ext
4510
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4511
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
5111
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5112
echo "${ECHO_T}$ac_header_preproc" >&6; }
4512
5113
 
4513
5114
# So?  What about this header?
4514
5115
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4532
5133
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4533
5134
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4534
5135
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4535
 
    (
4536
 
      cat <<\_ASBOX
 
5136
    ( cat <<\_ASBOX
4537
5137
## ------------------------------ ##
4538
5138
## Report this to jan@kneschke.de ##
4539
5139
## ------------------------------ ##
4540
5140
_ASBOX
4541
 
    ) |
4542
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
5141
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4543
5142
    ;;
4544
5143
esac
4545
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4546
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4547
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5144
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5145
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5146
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4548
5147
  echo $ECHO_N "(cached) $ECHO_C" >&6
4549
5148
else
4550
5149
  eval "$as_ac_Header=\$ac_header_preproc"
4551
5150
fi
4552
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4553
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5151
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5152
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5153
echo "${ECHO_T}$ac_res" >&6; }
4554
5154
 
4555
5155
fi
4556
5156
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4564
5164
 
4565
5165
 
4566
5166
 
4567
 
# Check whether --enable-static or --disable-static was given.
 
5167
# Check whether --enable-static was given.
4568
5168
if test "${enable_static+set}" = set; then
4569
 
  enableval="$enable_static"
4570
 
  p=${PACKAGE-default}
 
5169
  enableval=$enable_static; p=${PACKAGE-default}
4571
5170
    case $enableval in
4572
5171
    yes) enable_static=yes ;;
4573
5172
    no) enable_static=no ;;
4586
5185
    esac
4587
5186
else
4588
5187
  enable_static=no
4589
 
fi;
4590
 
 
4591
 
 
4592
 
# Check whether --enable-shared or --disable-shared was given.
 
5188
fi
 
5189
 
 
5190
 
 
5191
 
 
5192
# Check whether --enable-shared was given.
4593
5193
if test "${enable_shared+set}" = set; then
4594
 
  enableval="$enable_shared"
4595
 
  p=${PACKAGE-default}
 
5194
  enableval=$enable_shared; p=${PACKAGE-default}
4596
5195
    case $enableval in
4597
5196
    yes) enable_shared=yes ;;
4598
5197
    no) enable_shared=no ;;
4611
5210
    esac
4612
5211
else
4613
5212
  enable_shared=yes
4614
 
fi;
4615
 
 
4616
 
 
4617
 
 
4618
 
 
4619
 
# Check whether --enable-fast-install or --disable-fast-install was given.
 
5213
fi
 
5214
 
 
5215
 
 
5216
 
 
5217
 
 
5218
 
 
5219
# Check whether --enable-fast-install was given.
4620
5220
if test "${enable_fast_install+set}" = set; then
4621
 
  enableval="$enable_fast_install"
4622
 
  p=${PACKAGE-default}
 
5221
  enableval=$enable_fast_install; p=${PACKAGE-default}
4623
5222
    case $enableval in
4624
5223
    yes) enable_fast_install=yes ;;
4625
5224
    no) enable_fast_install=no ;;
4638
5237
    esac
4639
5238
else
4640
5239
  enable_fast_install=yes
4641
 
fi;
4642
 
 
4643
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4644
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 
5240
fi
 
5241
 
 
5242
 
 
5243
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
5244
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4645
5245
if test "${lt_cv_ld_reload_flag+set}" = set; then
4646
5246
  echo $ECHO_N "(cached) $ECHO_C" >&6
4647
5247
else
4648
5248
  lt_cv_ld_reload_flag='-r'
4649
5249
fi
4650
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4651
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 
5250
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
5251
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4652
5252
reload_flag=$lt_cv_ld_reload_flag
4653
5253
case $reload_flag in
4654
5254
"" | " "*) ;;
4658
5258
case $host_os in
4659
5259
  darwin*)
4660
5260
    if test "$GCC" = yes; then
4661
 
      reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
 
5261
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4662
5262
    else
4663
5263
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4664
5264
    fi
4665
5265
    ;;
4666
5266
esac
4667
5267
 
4668
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4669
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
5268
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
5269
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4670
5270
if test "${lt_cv_path_NM+set}" = set; then
4671
5271
  echo $ECHO_N "(cached) $ECHO_C" >&6
4672
5272
else
4674
5274
  # Let the user override the test.
4675
5275
  lt_cv_path_NM="$NM"
4676
5276
else
4677
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4678
 
  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4679
 
    IFS="$lt_save_ifs"
4680
 
    test -z "$ac_dir" && ac_dir=.
4681
 
    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4682
 
    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4683
 
      # Check to see if the nm accepts a BSD-compat flag.
4684
 
      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4685
 
      #   nm: unknown option "B" ignored
4686
 
      # Tru64's nm complains that /dev/null is an invalid object file
4687
 
      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4688
 
      */dev/null* | *'Invalid file or object type'*)
4689
 
        lt_cv_path_NM="$tmp_nm -B"
4690
 
        break
4691
 
        ;;
4692
 
      *)
4693
 
        case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4694
 
        */dev/null*)
4695
 
          lt_cv_path_NM="$tmp_nm -p"
 
5277
  lt_nm_to_check="${ac_tool_prefix}nm"
 
5278
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
5279
    lt_nm_to_check="$lt_nm_to_check nm"
 
5280
  fi
 
5281
  for lt_tmp_nm in $lt_nm_to_check; do
 
5282
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
5283
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
5284
      IFS="$lt_save_ifs"
 
5285
      test -z "$ac_dir" && ac_dir=.
 
5286
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
5287
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
5288
        # Check to see if the nm accepts a BSD-compat flag.
 
5289
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
5290
        #   nm: unknown option "B" ignored
 
5291
        # Tru64's nm complains that /dev/null is an invalid object file
 
5292
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
5293
        */dev/null* | *'Invalid file or object type'*)
 
5294
          lt_cv_path_NM="$tmp_nm -B"
4696
5295
          break
4697
5296
          ;;
4698
5297
        *)
4699
 
          lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4700
 
          continue # so that we can try to find one that supports BSD flags
 
5298
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
5299
          */dev/null*)
 
5300
            lt_cv_path_NM="$tmp_nm -p"
 
5301
            break
 
5302
            ;;
 
5303
          *)
 
5304
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
5305
            continue # so that we can try to find one that supports BSD flags
 
5306
            ;;
 
5307
          esac
4701
5308
          ;;
4702
5309
        esac
4703
 
      esac
4704
 
    fi
 
5310
      fi
 
5311
    done
 
5312
    IFS="$lt_save_ifs"
4705
5313
  done
4706
 
  IFS="$lt_save_ifs"
4707
5314
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4708
5315
fi
4709
5316
fi
4710
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4711
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
 
5317
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
5318
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4712
5319
NM="$lt_cv_path_NM"
4713
5320
 
4714
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4715
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
5321
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
 
5322
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4716
5323
if test "${lt_cv_deplibs_check_method+set}" = set; then
4717
5324
  echo $ECHO_N "(cached) $ECHO_C" >&6
4718
5325
else
4784
5391
 
4785
5392
hpux10.20* | hpux11*)
4786
5393
  lt_cv_file_magic_cmd=/usr/bin/file
4787
 
  case "$host_cpu" in
 
5394
  case $host_cpu in
4788
5395
  ia64*)
4789
5396
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4790
5397
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4800
5407
  esac
4801
5408
  ;;
4802
5409
 
 
5410
interix3*)
 
5411
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
5412
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
5413
  ;;
 
5414
 
4803
5415
irix5* | irix6* | nonstopux*)
4804
5416
  case $LD in
4805
5417
  *-32|*"-32 ") libmagic=32-bit;;
4845
5457
  lt_cv_deplibs_check_method=pass_all
4846
5458
  ;;
4847
5459
 
4848
 
sco3.2v5*)
4849
 
  lt_cv_deplibs_check_method=pass_all
4850
 
  ;;
4851
 
 
4852
5460
solaris*)
4853
5461
  lt_cv_deplibs_check_method=pass_all
4854
5462
  ;;
4855
5463
 
4856
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
5464
sysv4 | sysv4.3*)
4857
5465
  case $host_vendor in
4858
5466
  motorola)
4859
5467
    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]'
4874
5482
  siemens)
4875
5483
    lt_cv_deplibs_check_method=pass_all
4876
5484
    ;;
 
5485
  pc)
 
5486
    lt_cv_deplibs_check_method=pass_all
 
5487
    ;;
4877
5488
  esac
4878
5489
  ;;
4879
5490
 
4880
 
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
 
5491
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4881
5492
  lt_cv_deplibs_check_method=pass_all
4882
5493
  ;;
4883
5494
esac
4884
5495
 
4885
5496
fi
4886
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4887
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
5497
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
5498
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4888
5499
file_magic_cmd=$lt_cv_file_magic_cmd
4889
5500
deplibs_check_method=$lt_cv_deplibs_check_method
4890
5501
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4894
5505
# If no C compiler was specified, use CC.
4895
5506
LTCC=${LTCC-"$CC"}
4896
5507
 
 
5508
# If no C compiler flags were specified, use CFLAGS.
 
5509
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
5510
 
4897
5511
# Allow CC to be a program name with arguments.
4898
5512
compiler=$CC
4899
5513
 
4900
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
5514
# Check whether --enable-libtool-lock was given.
4901
5515
if test "${enable_libtool_lock+set}" = set; then
4902
 
  enableval="$enable_libtool_lock"
 
5516
  enableval=$enable_libtool_lock;
 
5517
fi
4903
5518
 
4904
 
fi;
4905
5519
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4906
5520
 
4907
5521
# Some flags need to be propagated to the compiler or linker for good
4928
5542
  ;;
4929
5543
*-*-irix6*)
4930
5544
  # Find out which ABI we are using.
4931
 
  echo '#line 4931 "configure"' > conftest.$ac_ext
 
5545
  echo '#line 5545 "configure"' > conftest.$ac_ext
4932
5546
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4933
5547
  (eval $ac_compile) 2>&5
4934
5548
  ac_status=$?
4971
5585
  ac_status=$?
4972
5586
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973
5587
  (exit $ac_status); }; then
4974
 
    case "`/usr/bin/file conftest.o`" in
 
5588
    case `/usr/bin/file conftest.o` in
4975
5589
    *32-bit*)
4976
5590
      case $host in
4977
5591
        x86_64-*linux*)
5013
5627
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5014
5628
  SAVE_CFLAGS="$CFLAGS"
5015
5629
  CFLAGS="$CFLAGS -belf"
5016
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5017
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
5630
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
5631
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5018
5632
if test "${lt_cv_cc_needs_belf+set}" = set; then
5019
5633
  echo $ECHO_N "(cached) $ECHO_C" >&6
5020
5634
else
5040
5654
}
5041
5655
_ACEOF
5042
5656
rm -f conftest.$ac_objext conftest$ac_exeext
5043
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5044
 
  (eval $ac_link) 2>conftest.er1
 
5657
if { (ac_try="$ac_link"
 
5658
case "(($ac_try" in
 
5659
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5660
  *) ac_try_echo=$ac_try;;
 
5661
esac
 
5662
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5663
  (eval "$ac_link") 2>conftest.er1
5045
5664
  ac_status=$?
5046
5665
  grep -v '^ *+' conftest.er1 >conftest.err
5047
5666
  rm -f conftest.er1
5048
5667
  cat conftest.err >&5
5049
5668
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5050
 
  (exit $ac_status); } &&
5051
 
         { ac_try='test -z "$ac_c_werror_flag"
5052
 
                         || test ! -s conftest.err'
5053
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5054
 
  (eval $ac_try) 2>&5
5055
 
  ac_status=$?
5056
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5057
 
  (exit $ac_status); }; } &&
5058
 
         { ac_try='test -s conftest$ac_exeext'
5059
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5060
 
  (eval $ac_try) 2>&5
5061
 
  ac_status=$?
5062
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5063
 
  (exit $ac_status); }; }; then
 
5669
  (exit $ac_status); } && {
 
5670
         test -z "$ac_c_werror_flag" ||
 
5671
         test ! -s conftest.err
 
5672
       } && test -s conftest$ac_exeext &&
 
5673
       $as_test_x conftest$ac_exeext; then
5064
5674
  lt_cv_cc_needs_belf=yes
5065
5675
else
5066
5676
  echo "$as_me: failed program was:" >&5
5067
5677
sed 's/^/| /' conftest.$ac_ext >&5
5068
5678
 
5069
 
lt_cv_cc_needs_belf=no
 
5679
        lt_cv_cc_needs_belf=no
5070
5680
fi
5071
 
rm -f conftest.err conftest.$ac_objext \
 
5681
 
 
5682
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5072
5683
      conftest$ac_exeext conftest.$ac_ext
5073
5684
     ac_ext=c
5074
5685
ac_cpp='$CPP $CPPFLAGS'
5077
5688
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5078
5689
 
5079
5690
fi
5080
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5081
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
5691
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
5692
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5082
5693
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5083
5694
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5084
5695
    CFLAGS="$SAVE_CFLAGS"
5085
5696
  fi
5086
5697
  ;;
 
5698
sparc*-*solaris*)
 
5699
  # Find out which ABI we are using.
 
5700
  echo 'int i;' > conftest.$ac_ext
 
5701
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5702
  (eval $ac_compile) 2>&5
 
5703
  ac_status=$?
 
5704
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5705
  (exit $ac_status); }; then
 
5706
    case `/usr/bin/file conftest.o` in
 
5707
    *64-bit*)
 
5708
      case $lt_cv_prog_gnu_ld in
 
5709
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
5710
      *)    LD="${LD-ld} -64" ;;
 
5711
      esac
 
5712
      ;;
 
5713
    esac
 
5714
  fi
 
5715
  rm -rf conftest*
 
5716
  ;;
 
5717
 
5087
5718
 
5088
5719
esac
5089
5720
 
5094
5725
for ac_header in dlfcn.h
5095
5726
do
5096
5727
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5097
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5098
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
5099
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5100
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5728
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5729
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5730
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5731
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5101
5732
  echo $ECHO_N "(cached) $ECHO_C" >&6
5102
5733
fi
5103
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5104
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5734
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5735
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5736
echo "${ECHO_T}$ac_res" >&6; }
5105
5737
else
5106
5738
  # Is the header compilable?
5107
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5108
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
5739
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5740
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5109
5741
cat >conftest.$ac_ext <<_ACEOF
5110
5742
/* confdefs.h.  */
5111
5743
_ACEOF
5116
5748
#include <$ac_header>
5117
5749
_ACEOF
5118
5750
rm -f conftest.$ac_objext
5119
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5120
 
  (eval $ac_compile) 2>conftest.er1
 
5751
if { (ac_try="$ac_compile"
 
5752
case "(($ac_try" in
 
5753
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5754
  *) ac_try_echo=$ac_try;;
 
5755
esac
 
5756
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5757
  (eval "$ac_compile") 2>conftest.er1
5121
5758
  ac_status=$?
5122
5759
  grep -v '^ *+' conftest.er1 >conftest.err
5123
5760
  rm -f conftest.er1
5124
5761
  cat conftest.err >&5
5125
5762
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5126
 
  (exit $ac_status); } &&
5127
 
         { ac_try='test -z "$ac_c_werror_flag"
5128
 
                         || test ! -s conftest.err'
5129
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5130
 
  (eval $ac_try) 2>&5
5131
 
  ac_status=$?
5132
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5133
 
  (exit $ac_status); }; } &&
5134
 
         { ac_try='test -s conftest.$ac_objext'
5135
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5136
 
  (eval $ac_try) 2>&5
5137
 
  ac_status=$?
5138
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5139
 
  (exit $ac_status); }; }; then
 
5763
  (exit $ac_status); } && {
 
5764
         test -z "$ac_c_werror_flag" ||
 
5765
         test ! -s conftest.err
 
5766
       } && test -s conftest.$ac_objext; then
5140
5767
  ac_header_compiler=yes
5141
5768
else
5142
5769
  echo "$as_me: failed program was:" >&5
5143
5770
sed 's/^/| /' conftest.$ac_ext >&5
5144
5771
 
5145
 
ac_header_compiler=no
 
5772
        ac_header_compiler=no
5146
5773
fi
5147
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5148
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5149
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
5774
 
 
5775
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5776
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5777
echo "${ECHO_T}$ac_header_compiler" >&6; }
5150
5778
 
5151
5779
# Is the header present?
5152
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5153
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
5780
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5781
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5154
5782
cat >conftest.$ac_ext <<_ACEOF
5155
5783
/* confdefs.h.  */
5156
5784
_ACEOF
5159
5787
/* end confdefs.h.  */
5160
5788
#include <$ac_header>
5161
5789
_ACEOF
5162
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5163
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5790
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5791
case "(($ac_try" in
 
5792
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5793
  *) ac_try_echo=$ac_try;;
 
5794
esac
 
5795
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5796
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5164
5797
  ac_status=$?
5165
5798
  grep -v '^ *+' conftest.er1 >conftest.err
5166
5799
  rm -f conftest.er1
5167
5800
  cat conftest.err >&5
5168
5801
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5169
 
  (exit $ac_status); } >/dev/null; then
5170
 
  if test -s conftest.err; then
5171
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5172
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5173
 
  else
5174
 
    ac_cpp_err=
5175
 
  fi
5176
 
else
5177
 
  ac_cpp_err=yes
5178
 
fi
5179
 
if test -z "$ac_cpp_err"; then
 
5802
  (exit $ac_status); } >/dev/null && {
 
5803
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5804
         test ! -s conftest.err
 
5805
       }; then
5180
5806
  ac_header_preproc=yes
5181
5807
else
5182
5808
  echo "$as_me: failed program was:" >&5
5184
5810
 
5185
5811
  ac_header_preproc=no
5186
5812
fi
 
5813
 
5187
5814
rm -f conftest.err conftest.$ac_ext
5188
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5189
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
5815
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5816
echo "${ECHO_T}$ac_header_preproc" >&6; }
5190
5817
 
5191
5818
# So?  What about this header?
5192
5819
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5210
5837
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5211
5838
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5212
5839
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5213
 
    (
5214
 
      cat <<\_ASBOX
 
5840
    ( cat <<\_ASBOX
5215
5841
## ------------------------------ ##
5216
5842
## Report this to jan@kneschke.de ##
5217
5843
## ------------------------------ ##
5218
5844
_ASBOX
5219
 
    ) |
5220
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
5845
     ) | sed "s/^/$as_me: WARNING:     /" >&2
5221
5846
    ;;
5222
5847
esac
5223
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
5224
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5225
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5848
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5849
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5850
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5226
5851
  echo $ECHO_N "(cached) $ECHO_C" >&6
5227
5852
else
5228
5853
  eval "$as_ac_Header=\$ac_header_preproc"
5229
5854
fi
5230
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5231
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5855
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5856
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5857
echo "${ECHO_T}$ac_res" >&6; }
5232
5858
 
5233
5859
fi
5234
5860
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5240
5866
 
5241
5867
done
5242
5868
 
5243
 
ac_ext=cc
 
5869
ac_ext=cpp
5244
5870
ac_cpp='$CXXCPP $CPPFLAGS'
5245
5871
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5246
5872
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5247
5873
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5248
 
if test -n "$ac_tool_prefix"; then
5249
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
5874
if test -z "$CXX"; then
 
5875
  if test -n "$CCC"; then
 
5876
    CXX=$CCC
 
5877
  else
 
5878
    if test -n "$ac_tool_prefix"; then
 
5879
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5250
5880
  do
5251
5881
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5252
5882
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5253
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5254
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5883
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5884
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5255
5885
if test "${ac_cv_prog_CXX+set}" = set; then
5256
5886
  echo $ECHO_N "(cached) $ECHO_C" >&6
5257
5887
else
5264
5894
  IFS=$as_save_IFS
5265
5895
  test -z "$as_dir" && as_dir=.
5266
5896
  for ac_exec_ext in '' $ac_executable_extensions; do
5267
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5897
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5268
5898
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5269
5899
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5270
5900
    break 2
5271
5901
  fi
5272
5902
done
5273
5903
done
 
5904
IFS=$as_save_IFS
5274
5905
 
5275
5906
fi
5276
5907
fi
5277
5908
CXX=$ac_cv_prog_CXX
5278
5909
if test -n "$CXX"; then
5279
 
  echo "$as_me:$LINENO: result: $CXX" >&5
5280
 
echo "${ECHO_T}$CXX" >&6
 
5910
  { echo "$as_me:$LINENO: result: $CXX" >&5
 
5911
echo "${ECHO_T}$CXX" >&6; }
5281
5912
else
5282
 
  echo "$as_me:$LINENO: result: no" >&5
5283
 
echo "${ECHO_T}no" >&6
 
5913
  { echo "$as_me:$LINENO: result: no" >&5
 
5914
echo "${ECHO_T}no" >&6; }
5284
5915
fi
5285
5916
 
 
5917
 
5286
5918
    test -n "$CXX" && break
5287
5919
  done
5288
5920
fi
5289
5921
if test -z "$CXX"; then
5290
5922
  ac_ct_CXX=$CXX
5291
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
5923
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5292
5924
do
5293
5925
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5294
5926
set dummy $ac_prog; ac_word=$2
5295
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5296
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5927
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5928
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5297
5929
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5298
5930
  echo $ECHO_N "(cached) $ECHO_C" >&6
5299
5931
else
5306
5938
  IFS=$as_save_IFS
5307
5939
  test -z "$as_dir" && as_dir=.
5308
5940
  for ac_exec_ext in '' $ac_executable_extensions; do
5309
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5941
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5310
5942
    ac_cv_prog_ac_ct_CXX="$ac_prog"
5311
5943
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5312
5944
    break 2
5313
5945
  fi
5314
5946
done
5315
5947
done
 
5948
IFS=$as_save_IFS
5316
5949
 
5317
5950
fi
5318
5951
fi
5319
5952
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5320
5953
if test -n "$ac_ct_CXX"; then
5321
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5322
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
5954
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
5955
echo "${ECHO_T}$ac_ct_CXX" >&6; }
5323
5956
else
5324
 
  echo "$as_me:$LINENO: result: no" >&5
5325
 
echo "${ECHO_T}no" >&6
 
5957
  { echo "$as_me:$LINENO: result: no" >&5
 
5958
echo "${ECHO_T}no" >&6; }
5326
5959
fi
5327
5960
 
 
5961
 
5328
5962
  test -n "$ac_ct_CXX" && break
5329
5963
done
5330
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
5331
 
 
5332
 
  CXX=$ac_ct_CXX
5333
 
fi
5334
 
 
5335
 
 
 
5964
 
 
5965
  if test "x$ac_ct_CXX" = x; then
 
5966
    CXX="g++"
 
5967
  else
 
5968
    case $cross_compiling:$ac_tool_warned in
 
5969
yes:)
 
5970
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5971
whose name does not start with the host triplet.  If you think this
 
5972
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5973
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5974
whose name does not start with the host triplet.  If you think this
 
5975
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5976
ac_tool_warned=yes ;;
 
5977
esac
 
5978
    CXX=$ac_ct_CXX
 
5979
  fi
 
5980
fi
 
5981
 
 
5982
  fi
 
5983
fi
5336
5984
# Provide some information about the compiler.
5337
 
echo "$as_me:$LINENO:" \
5338
 
     "checking for C++ compiler version" >&5
 
5985
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5339
5986
ac_compiler=`set X $ac_compile; echo $2`
5340
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5341
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
5342
 
  ac_status=$?
5343
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5344
 
  (exit $ac_status); }
5345
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5346
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
5347
 
  ac_status=$?
5348
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349
 
  (exit $ac_status); }
5350
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5351
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
5987
{ (ac_try="$ac_compiler --version >&5"
 
5988
case "(($ac_try" in
 
5989
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5990
  *) ac_try_echo=$ac_try;;
 
5991
esac
 
5992
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5993
  (eval "$ac_compiler --version >&5") 2>&5
 
5994
  ac_status=$?
 
5995
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5996
  (exit $ac_status); }
 
5997
{ (ac_try="$ac_compiler -v >&5"
 
5998
case "(($ac_try" in
 
5999
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6000
  *) ac_try_echo=$ac_try;;
 
6001
esac
 
6002
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6003
  (eval "$ac_compiler -v >&5") 2>&5
 
6004
  ac_status=$?
 
6005
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6006
  (exit $ac_status); }
 
6007
{ (ac_try="$ac_compiler -V >&5"
 
6008
case "(($ac_try" in
 
6009
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6010
  *) ac_try_echo=$ac_try;;
 
6011
esac
 
6012
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6013
  (eval "$ac_compiler -V >&5") 2>&5
5352
6014
  ac_status=$?
5353
6015
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5354
6016
  (exit $ac_status); }
5355
6017
 
5356
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5357
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
6018
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
6019
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5358
6020
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5359
6021
  echo $ECHO_N "(cached) $ECHO_C" >&6
5360
6022
else
5377
6039
}
5378
6040
_ACEOF
5379
6041
rm -f conftest.$ac_objext
5380
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5381
 
  (eval $ac_compile) 2>conftest.er1
 
6042
if { (ac_try="$ac_compile"
 
6043
case "(($ac_try" in
 
6044
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6045
  *) ac_try_echo=$ac_try;;
 
6046
esac
 
6047
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6048
  (eval "$ac_compile") 2>conftest.er1
5382
6049
  ac_status=$?
5383
6050
  grep -v '^ *+' conftest.er1 >conftest.err
5384
6051
  rm -f conftest.er1
5385
6052
  cat conftest.err >&5
5386
6053
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5387
 
  (exit $ac_status); } &&
5388
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5389
 
                         || test ! -s conftest.err'
5390
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5391
 
  (eval $ac_try) 2>&5
5392
 
  ac_status=$?
5393
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5394
 
  (exit $ac_status); }; } &&
5395
 
         { ac_try='test -s conftest.$ac_objext'
5396
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5397
 
  (eval $ac_try) 2>&5
5398
 
  ac_status=$?
5399
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5400
 
  (exit $ac_status); }; }; then
 
6054
  (exit $ac_status); } && {
 
6055
         test -z "$ac_cxx_werror_flag" ||
 
6056
         test ! -s conftest.err
 
6057
       } && test -s conftest.$ac_objext; then
5401
6058
  ac_compiler_gnu=yes
5402
6059
else
5403
6060
  echo "$as_me: failed program was:" >&5
5404
6061
sed 's/^/| /' conftest.$ac_ext >&5
5405
6062
 
5406
 
ac_compiler_gnu=no
 
6063
        ac_compiler_gnu=no
5407
6064
fi
5408
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6065
 
 
6066
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5409
6067
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5410
6068
 
5411
6069
fi
5412
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5413
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
6070
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
6071
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5414
6072
GXX=`test $ac_compiler_gnu = yes && echo yes`
5415
6073
ac_test_CXXFLAGS=${CXXFLAGS+set}
5416
6074
ac_save_CXXFLAGS=$CXXFLAGS
5417
 
CXXFLAGS="-g"
5418
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5419
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
6075
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
6076
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5420
6077
if test "${ac_cv_prog_cxx_g+set}" = set; then
5421
6078
  echo $ECHO_N "(cached) $ECHO_C" >&6
5422
6079
else
5423
 
  cat >conftest.$ac_ext <<_ACEOF
5424
 
/* confdefs.h.  */
5425
 
_ACEOF
5426
 
cat confdefs.h >>conftest.$ac_ext
5427
 
cat >>conftest.$ac_ext <<_ACEOF
5428
 
/* end confdefs.h.  */
5429
 
 
5430
 
int
5431
 
main ()
5432
 
{
5433
 
 
5434
 
  ;
5435
 
  return 0;
5436
 
}
5437
 
_ACEOF
5438
 
rm -f conftest.$ac_objext
5439
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5440
 
  (eval $ac_compile) 2>conftest.er1
5441
 
  ac_status=$?
5442
 
  grep -v '^ *+' conftest.er1 >conftest.err
5443
 
  rm -f conftest.er1
5444
 
  cat conftest.err >&5
5445
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5446
 
  (exit $ac_status); } &&
5447
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5448
 
                         || test ! -s conftest.err'
5449
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5450
 
  (eval $ac_try) 2>&5
5451
 
  ac_status=$?
5452
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5453
 
  (exit $ac_status); }; } &&
5454
 
         { ac_try='test -s conftest.$ac_objext'
5455
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5456
 
  (eval $ac_try) 2>&5
5457
 
  ac_status=$?
5458
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5459
 
  (exit $ac_status); }; }; then
5460
 
  ac_cv_prog_cxx_g=yes
5461
 
else
5462
 
  echo "$as_me: failed program was:" >&5
5463
 
sed 's/^/| /' conftest.$ac_ext >&5
5464
 
 
5465
 
ac_cv_prog_cxx_g=no
5466
 
fi
5467
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5468
 
fi
5469
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5470
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
6080
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
6081
   ac_cxx_werror_flag=yes
 
6082
   ac_cv_prog_cxx_g=no
 
6083
   CXXFLAGS="-g"
 
6084
   cat >conftest.$ac_ext <<_ACEOF
 
6085
/* confdefs.h.  */
 
6086
_ACEOF
 
6087
cat confdefs.h >>conftest.$ac_ext
 
6088
cat >>conftest.$ac_ext <<_ACEOF
 
6089
/* end confdefs.h.  */
 
6090
 
 
6091
int
 
6092
main ()
 
6093
{
 
6094
 
 
6095
  ;
 
6096
  return 0;
 
6097
}
 
6098
_ACEOF
 
6099
rm -f conftest.$ac_objext
 
6100
if { (ac_try="$ac_compile"
 
6101
case "(($ac_try" in
 
6102
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6103
  *) ac_try_echo=$ac_try;;
 
6104
esac
 
6105
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6106
  (eval "$ac_compile") 2>conftest.er1
 
6107
  ac_status=$?
 
6108
  grep -v '^ *+' conftest.er1 >conftest.err
 
6109
  rm -f conftest.er1
 
6110
  cat conftest.err >&5
 
6111
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6112
  (exit $ac_status); } && {
 
6113
         test -z "$ac_cxx_werror_flag" ||
 
6114
         test ! -s conftest.err
 
6115
       } && test -s conftest.$ac_objext; then
 
6116
  ac_cv_prog_cxx_g=yes
 
6117
else
 
6118
  echo "$as_me: failed program was:" >&5
 
6119
sed 's/^/| /' conftest.$ac_ext >&5
 
6120
 
 
6121
        CXXFLAGS=""
 
6122
      cat >conftest.$ac_ext <<_ACEOF
 
6123
/* confdefs.h.  */
 
6124
_ACEOF
 
6125
cat confdefs.h >>conftest.$ac_ext
 
6126
cat >>conftest.$ac_ext <<_ACEOF
 
6127
/* end confdefs.h.  */
 
6128
 
 
6129
int
 
6130
main ()
 
6131
{
 
6132
 
 
6133
  ;
 
6134
  return 0;
 
6135
}
 
6136
_ACEOF
 
6137
rm -f conftest.$ac_objext
 
6138
if { (ac_try="$ac_compile"
 
6139
case "(($ac_try" in
 
6140
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6141
  *) ac_try_echo=$ac_try;;
 
6142
esac
 
6143
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6144
  (eval "$ac_compile") 2>conftest.er1
 
6145
  ac_status=$?
 
6146
  grep -v '^ *+' conftest.er1 >conftest.err
 
6147
  rm -f conftest.er1
 
6148
  cat conftest.err >&5
 
6149
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6150
  (exit $ac_status); } && {
 
6151
         test -z "$ac_cxx_werror_flag" ||
 
6152
         test ! -s conftest.err
 
6153
       } && test -s conftest.$ac_objext; then
 
6154
  :
 
6155
else
 
6156
  echo "$as_me: failed program was:" >&5
 
6157
sed 's/^/| /' conftest.$ac_ext >&5
 
6158
 
 
6159
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
6160
         CXXFLAGS="-g"
 
6161
         cat >conftest.$ac_ext <<_ACEOF
 
6162
/* confdefs.h.  */
 
6163
_ACEOF
 
6164
cat confdefs.h >>conftest.$ac_ext
 
6165
cat >>conftest.$ac_ext <<_ACEOF
 
6166
/* end confdefs.h.  */
 
6167
 
 
6168
int
 
6169
main ()
 
6170
{
 
6171
 
 
6172
  ;
 
6173
  return 0;
 
6174
}
 
6175
_ACEOF
 
6176
rm -f conftest.$ac_objext
 
6177
if { (ac_try="$ac_compile"
 
6178
case "(($ac_try" in
 
6179
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6180
  *) ac_try_echo=$ac_try;;
 
6181
esac
 
6182
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6183
  (eval "$ac_compile") 2>conftest.er1
 
6184
  ac_status=$?
 
6185
  grep -v '^ *+' conftest.er1 >conftest.err
 
6186
  rm -f conftest.er1
 
6187
  cat conftest.err >&5
 
6188
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6189
  (exit $ac_status); } && {
 
6190
         test -z "$ac_cxx_werror_flag" ||
 
6191
         test ! -s conftest.err
 
6192
       } && test -s conftest.$ac_objext; then
 
6193
  ac_cv_prog_cxx_g=yes
 
6194
else
 
6195
  echo "$as_me: failed program was:" >&5
 
6196
sed 's/^/| /' conftest.$ac_ext >&5
 
6197
 
 
6198
 
 
6199
fi
 
6200
 
 
6201
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6202
fi
 
6203
 
 
6204
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6205
fi
 
6206
 
 
6207
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6208
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
6209
fi
 
6210
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
6211
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5471
6212
if test "$ac_test_CXXFLAGS" = set; then
5472
6213
  CXXFLAGS=$ac_save_CXXFLAGS
5473
6214
elif test $ac_cv_prog_cxx_g = yes; then
5483
6224
    CXXFLAGS=
5484
6225
  fi
5485
6226
fi
5486
 
for ac_declaration in \
5487
 
   '' \
5488
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
5489
 
   'extern "C" void std::exit (int); using std::exit;' \
5490
 
   'extern "C" void exit (int) throw ();' \
5491
 
   'extern "C" void exit (int);' \
5492
 
   'void exit (int);'
5493
 
do
5494
 
  cat >conftest.$ac_ext <<_ACEOF
5495
 
/* confdefs.h.  */
5496
 
_ACEOF
5497
 
cat confdefs.h >>conftest.$ac_ext
5498
 
cat >>conftest.$ac_ext <<_ACEOF
5499
 
/* end confdefs.h.  */
5500
 
$ac_declaration
5501
 
#include <stdlib.h>
5502
 
int
5503
 
main ()
5504
 
{
5505
 
exit (42);
5506
 
  ;
5507
 
  return 0;
5508
 
}
5509
 
_ACEOF
5510
 
rm -f conftest.$ac_objext
5511
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5512
 
  (eval $ac_compile) 2>conftest.er1
5513
 
  ac_status=$?
5514
 
  grep -v '^ *+' conftest.er1 >conftest.err
5515
 
  rm -f conftest.er1
5516
 
  cat conftest.err >&5
5517
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5518
 
  (exit $ac_status); } &&
5519
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5520
 
                         || test ! -s conftest.err'
5521
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5522
 
  (eval $ac_try) 2>&5
5523
 
  ac_status=$?
5524
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5525
 
  (exit $ac_status); }; } &&
5526
 
         { ac_try='test -s conftest.$ac_objext'
5527
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5528
 
  (eval $ac_try) 2>&5
5529
 
  ac_status=$?
5530
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5531
 
  (exit $ac_status); }; }; then
5532
 
  :
5533
 
else
5534
 
  echo "$as_me: failed program was:" >&5
5535
 
sed 's/^/| /' conftest.$ac_ext >&5
5536
 
 
5537
 
continue
5538
 
fi
5539
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5540
 
  cat >conftest.$ac_ext <<_ACEOF
5541
 
/* confdefs.h.  */
5542
 
_ACEOF
5543
 
cat confdefs.h >>conftest.$ac_ext
5544
 
cat >>conftest.$ac_ext <<_ACEOF
5545
 
/* end confdefs.h.  */
5546
 
$ac_declaration
5547
 
int
5548
 
main ()
5549
 
{
5550
 
exit (42);
5551
 
  ;
5552
 
  return 0;
5553
 
}
5554
 
_ACEOF
5555
 
rm -f conftest.$ac_objext
5556
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5557
 
  (eval $ac_compile) 2>conftest.er1
5558
 
  ac_status=$?
5559
 
  grep -v '^ *+' conftest.er1 >conftest.err
5560
 
  rm -f conftest.er1
5561
 
  cat conftest.err >&5
5562
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563
 
  (exit $ac_status); } &&
5564
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5565
 
                         || test ! -s conftest.err'
5566
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5567
 
  (eval $ac_try) 2>&5
5568
 
  ac_status=$?
5569
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570
 
  (exit $ac_status); }; } &&
5571
 
         { ac_try='test -s conftest.$ac_objext'
5572
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5573
 
  (eval $ac_try) 2>&5
5574
 
  ac_status=$?
5575
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576
 
  (exit $ac_status); }; }; then
5577
 
  break
5578
 
else
5579
 
  echo "$as_me: failed program was:" >&5
5580
 
sed 's/^/| /' conftest.$ac_ext >&5
5581
 
 
5582
 
fi
5583
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5584
 
done
5585
 
rm -f conftest*
5586
 
if test -n "$ac_declaration"; then
5587
 
  echo '#ifdef __cplusplus' >>confdefs.h
5588
 
  echo $ac_declaration      >>confdefs.h
5589
 
  echo '#endif'             >>confdefs.h
5590
 
fi
5591
 
 
5592
 
ac_ext=cc
 
6227
ac_ext=cpp
5593
6228
ac_cpp='$CXXCPP $CPPFLAGS'
5594
6229
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5595
6230
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5597
6232
 
5598
6233
depcc="$CXX"  am_compiler_list=
5599
6234
 
5600
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5601
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
6235
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
6236
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5602
6237
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5603
6238
  echo $ECHO_N "(cached) $ECHO_C" >&6
5604
6239
else
5662
6297
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5663
6298
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5664
6299
         >/dev/null 2>conftest.err &&
 
6300
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5665
6301
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5666
6302
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5667
6303
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5687
6323
fi
5688
6324
 
5689
6325
fi
5690
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5691
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
6326
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
6327
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5692
6328
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5693
6329
 
5694
 
 
5695
 
 
5696
 
if
 
6330
 if
5697
6331
  test "x$enable_dependency_tracking" != xno \
5698
6332
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5699
6333
  am__fastdepCXX_TRUE=
5709
6343
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5710
6344
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5711
6345
    (test "X$CXX" != "Xg++"))) ; then
5712
 
  ac_ext=cc
 
6346
  ac_ext=cpp
5713
6347
ac_cpp='$CXXCPP $CPPFLAGS'
5714
6348
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5715
6349
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5716
6350
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5717
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5718
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
6351
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
6352
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5719
6353
if test -z "$CXXCPP"; then
5720
6354
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5721
6355
  echo $ECHO_N "(cached) $ECHO_C" >&6
5745
6379
#endif
5746
6380
                     Syntax error
5747
6381
_ACEOF
5748
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5749
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6382
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6383
case "(($ac_try" in
 
6384
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6385
  *) ac_try_echo=$ac_try;;
 
6386
esac
 
6387
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6388
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5750
6389
  ac_status=$?
5751
6390
  grep -v '^ *+' conftest.er1 >conftest.err
5752
6391
  rm -f conftest.er1
5753
6392
  cat conftest.err >&5
5754
6393
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5755
 
  (exit $ac_status); } >/dev/null; then
5756
 
  if test -s conftest.err; then
5757
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5758
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5759
 
  else
5760
 
    ac_cpp_err=
5761
 
  fi
5762
 
else
5763
 
  ac_cpp_err=yes
5764
 
fi
5765
 
if test -z "$ac_cpp_err"; then
 
6394
  (exit $ac_status); } >/dev/null && {
 
6395
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6396
         test ! -s conftest.err
 
6397
       }; then
5766
6398
  :
5767
6399
else
5768
6400
  echo "$as_me: failed program was:" >&5
5771
6403
  # Broken: fails on valid input.
5772
6404
continue
5773
6405
fi
 
6406
 
5774
6407
rm -f conftest.err conftest.$ac_ext
5775
6408
 
5776
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
6409
  # OK, works on sane cases.  Now check whether nonexistent headers
5777
6410
  # can be detected and how.
5778
6411
  cat >conftest.$ac_ext <<_ACEOF
5779
6412
/* confdefs.h.  */
5783
6416
/* end confdefs.h.  */
5784
6417
#include <ac_nonexistent.h>
5785
6418
_ACEOF
5786
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5787
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6419
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6420
case "(($ac_try" in
 
6421
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6422
  *) ac_try_echo=$ac_try;;
 
6423
esac
 
6424
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6425
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5788
6426
  ac_status=$?
5789
6427
  grep -v '^ *+' conftest.er1 >conftest.err
5790
6428
  rm -f conftest.er1
5791
6429
  cat conftest.err >&5
5792
6430
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5793
 
  (exit $ac_status); } >/dev/null; then
5794
 
  if test -s conftest.err; then
5795
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5796
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5797
 
  else
5798
 
    ac_cpp_err=
5799
 
  fi
5800
 
else
5801
 
  ac_cpp_err=yes
5802
 
fi
5803
 
if test -z "$ac_cpp_err"; then
 
6431
  (exit $ac_status); } >/dev/null && {
 
6432
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6433
         test ! -s conftest.err
 
6434
       }; then
5804
6435
  # Broken: success on invalid input.
5805
6436
continue
5806
6437
else
5811
6442
ac_preproc_ok=:
5812
6443
break
5813
6444
fi
 
6445
 
5814
6446
rm -f conftest.err conftest.$ac_ext
5815
6447
 
5816
6448
done
5828
6460
else
5829
6461
  ac_cv_prog_CXXCPP=$CXXCPP
5830
6462
fi
5831
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
5832
 
echo "${ECHO_T}$CXXCPP" >&6
 
6463
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
6464
echo "${ECHO_T}$CXXCPP" >&6; }
5833
6465
ac_preproc_ok=false
5834
6466
for ac_cxx_preproc_warn_flag in '' yes
5835
6467
do
5852
6484
#endif
5853
6485
                     Syntax error
5854
6486
_ACEOF
5855
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5856
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6487
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6488
case "(($ac_try" in
 
6489
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6490
  *) ac_try_echo=$ac_try;;
 
6491
esac
 
6492
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6493
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5857
6494
  ac_status=$?
5858
6495
  grep -v '^ *+' conftest.er1 >conftest.err
5859
6496
  rm -f conftest.er1
5860
6497
  cat conftest.err >&5
5861
6498
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5862
 
  (exit $ac_status); } >/dev/null; then
5863
 
  if test -s conftest.err; then
5864
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5865
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5866
 
  else
5867
 
    ac_cpp_err=
5868
 
  fi
5869
 
else
5870
 
  ac_cpp_err=yes
5871
 
fi
5872
 
if test -z "$ac_cpp_err"; then
 
6499
  (exit $ac_status); } >/dev/null && {
 
6500
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6501
         test ! -s conftest.err
 
6502
       }; then
5873
6503
  :
5874
6504
else
5875
6505
  echo "$as_me: failed program was:" >&5
5878
6508
  # Broken: fails on valid input.
5879
6509
continue
5880
6510
fi
 
6511
 
5881
6512
rm -f conftest.err conftest.$ac_ext
5882
6513
 
5883
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
6514
  # OK, works on sane cases.  Now check whether nonexistent headers
5884
6515
  # can be detected and how.
5885
6516
  cat >conftest.$ac_ext <<_ACEOF
5886
6517
/* confdefs.h.  */
5890
6521
/* end confdefs.h.  */
5891
6522
#include <ac_nonexistent.h>
5892
6523
_ACEOF
5893
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5894
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6524
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6525
case "(($ac_try" in
 
6526
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6527
  *) ac_try_echo=$ac_try;;
 
6528
esac
 
6529
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6530
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5895
6531
  ac_status=$?
5896
6532
  grep -v '^ *+' conftest.er1 >conftest.err
5897
6533
  rm -f conftest.er1
5898
6534
  cat conftest.err >&5
5899
6535
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5900
 
  (exit $ac_status); } >/dev/null; then
5901
 
  if test -s conftest.err; then
5902
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5903
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5904
 
  else
5905
 
    ac_cpp_err=
5906
 
  fi
5907
 
else
5908
 
  ac_cpp_err=yes
5909
 
fi
5910
 
if test -z "$ac_cpp_err"; then
 
6536
  (exit $ac_status); } >/dev/null && {
 
6537
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6538
         test ! -s conftest.err
 
6539
       }; then
5911
6540
  # Broken: success on invalid input.
5912
6541
continue
5913
6542
else
5918
6547
ac_preproc_ok=:
5919
6548
break
5920
6549
fi
 
6550
 
5921
6551
rm -f conftest.err conftest.$ac_ext
5922
6552
 
5923
6553
done
5933
6563
   { (exit 1); exit 1; }; }
5934
6564
fi
5935
6565
 
5936
 
ac_ext=cc
 
6566
ac_ext=cpp
5937
6567
ac_cpp='$CXXCPP $CPPFLAGS'
5938
6568
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5939
6569
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5947
6577
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5948
6578
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5949
6579
if test -n "$ac_tool_prefix"; then
5950
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
6580
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
5951
6581
  do
5952
6582
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5953
6583
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5954
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5955
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6584
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6585
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5956
6586
if test "${ac_cv_prog_F77+set}" = set; then
5957
6587
  echo $ECHO_N "(cached) $ECHO_C" >&6
5958
6588
else
5965
6595
  IFS=$as_save_IFS
5966
6596
  test -z "$as_dir" && as_dir=.
5967
6597
  for ac_exec_ext in '' $ac_executable_extensions; do
5968
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6598
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5969
6599
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5970
6600
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5971
6601
    break 2
5972
6602
  fi
5973
6603
done
5974
6604
done
 
6605
IFS=$as_save_IFS
5975
6606
 
5976
6607
fi
5977
6608
fi
5978
6609
F77=$ac_cv_prog_F77
5979
6610
if test -n "$F77"; then
5980
 
  echo "$as_me:$LINENO: result: $F77" >&5
5981
 
echo "${ECHO_T}$F77" >&6
 
6611
  { echo "$as_me:$LINENO: result: $F77" >&5
 
6612
echo "${ECHO_T}$F77" >&6; }
5982
6613
else
5983
 
  echo "$as_me:$LINENO: result: no" >&5
5984
 
echo "${ECHO_T}no" >&6
 
6614
  { echo "$as_me:$LINENO: result: no" >&5
 
6615
echo "${ECHO_T}no" >&6; }
5985
6616
fi
5986
6617
 
 
6618
 
5987
6619
    test -n "$F77" && break
5988
6620
  done
5989
6621
fi
5990
6622
if test -z "$F77"; then
5991
6623
  ac_ct_F77=$F77
5992
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
6624
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
5993
6625
do
5994
6626
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5995
6627
set dummy $ac_prog; ac_word=$2
5996
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5997
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6628
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6629
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5998
6630
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5999
6631
  echo $ECHO_N "(cached) $ECHO_C" >&6
6000
6632
else
6007
6639
  IFS=$as_save_IFS
6008
6640
  test -z "$as_dir" && as_dir=.
6009
6641
  for ac_exec_ext in '' $ac_executable_extensions; do
6010
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6642
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6011
6643
    ac_cv_prog_ac_ct_F77="$ac_prog"
6012
6644
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6013
6645
    break 2
6014
6646
  fi
6015
6647
done
6016
6648
done
 
6649
IFS=$as_save_IFS
6017
6650
 
6018
6651
fi
6019
6652
fi
6020
6653
ac_ct_F77=$ac_cv_prog_ac_ct_F77
6021
6654
if test -n "$ac_ct_F77"; then
6022
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6023
 
echo "${ECHO_T}$ac_ct_F77" >&6
 
6655
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
6656
echo "${ECHO_T}$ac_ct_F77" >&6; }
6024
6657
else
6025
 
  echo "$as_me:$LINENO: result: no" >&5
6026
 
echo "${ECHO_T}no" >&6
 
6658
  { echo "$as_me:$LINENO: result: no" >&5
 
6659
echo "${ECHO_T}no" >&6; }
6027
6660
fi
6028
6661
 
 
6662
 
6029
6663
  test -n "$ac_ct_F77" && break
6030
6664
done
6031
6665
 
6032
 
  F77=$ac_ct_F77
 
6666
  if test "x$ac_ct_F77" = x; then
 
6667
    F77=""
 
6668
  else
 
6669
    case $cross_compiling:$ac_tool_warned in
 
6670
yes:)
 
6671
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6672
whose name does not start with the host triplet.  If you think this
 
6673
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6674
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6675
whose name does not start with the host triplet.  If you think this
 
6676
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6677
ac_tool_warned=yes ;;
 
6678
esac
 
6679
    F77=$ac_ct_F77
 
6680
  fi
6033
6681
fi
6034
6682
 
6035
6683
 
6036
6684
# Provide some information about the compiler.
6037
 
echo "$as_me:6037:" \
6038
 
     "checking for Fortran 77 compiler version" >&5
 
6685
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6039
6686
ac_compiler=`set X $ac_compile; echo $2`
6040
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6041
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
6042
 
  ac_status=$?
6043
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6044
 
  (exit $ac_status); }
6045
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6046
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
6047
 
  ac_status=$?
6048
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6049
 
  (exit $ac_status); }
6050
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6051
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
6687
{ (ac_try="$ac_compiler --version >&5"
 
6688
case "(($ac_try" in
 
6689
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6690
  *) ac_try_echo=$ac_try;;
 
6691
esac
 
6692
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6693
  (eval "$ac_compiler --version >&5") 2>&5
 
6694
  ac_status=$?
 
6695
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6696
  (exit $ac_status); }
 
6697
{ (ac_try="$ac_compiler -v >&5"
 
6698
case "(($ac_try" in
 
6699
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6700
  *) ac_try_echo=$ac_try;;
 
6701
esac
 
6702
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6703
  (eval "$ac_compiler -v >&5") 2>&5
 
6704
  ac_status=$?
 
6705
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6706
  (exit $ac_status); }
 
6707
{ (ac_try="$ac_compiler -V >&5"
 
6708
case "(($ac_try" in
 
6709
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6710
  *) ac_try_echo=$ac_try;;
 
6711
esac
 
6712
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6713
  (eval "$ac_compiler -V >&5") 2>&5
6052
6714
  ac_status=$?
6053
6715
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6054
6716
  (exit $ac_status); }
6058
6720
# input file.  (Note that this only needs to work for GNU compilers.)
6059
6721
ac_save_ext=$ac_ext
6060
6722
ac_ext=F
6061
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6062
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 
6723
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
6724
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6063
6725
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6064
6726
  echo $ECHO_N "(cached) $ECHO_C" >&6
6065
6727
else
6072
6734
      end
6073
6735
_ACEOF
6074
6736
rm -f conftest.$ac_objext
6075
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6076
 
  (eval $ac_compile) 2>conftest.er1
 
6737
if { (ac_try="$ac_compile"
 
6738
case "(($ac_try" in
 
6739
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6740
  *) ac_try_echo=$ac_try;;
 
6741
esac
 
6742
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6743
  (eval "$ac_compile") 2>conftest.er1
6077
6744
  ac_status=$?
6078
6745
  grep -v '^ *+' conftest.er1 >conftest.err
6079
6746
  rm -f conftest.er1
6080
6747
  cat conftest.err >&5
6081
6748
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6082
 
  (exit $ac_status); } &&
6083
 
         { ac_try='test -z "$ac_f77_werror_flag"
6084
 
                         || test ! -s conftest.err'
6085
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6086
 
  (eval $ac_try) 2>&5
6087
 
  ac_status=$?
6088
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6089
 
  (exit $ac_status); }; } &&
6090
 
         { ac_try='test -s conftest.$ac_objext'
6091
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6092
 
  (eval $ac_try) 2>&5
6093
 
  ac_status=$?
6094
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6095
 
  (exit $ac_status); }; }; then
 
6749
  (exit $ac_status); } && {
 
6750
         test -z "$ac_f77_werror_flag" ||
 
6751
         test ! -s conftest.err
 
6752
       } && test -s conftest.$ac_objext; then
6096
6753
  ac_compiler_gnu=yes
6097
6754
else
6098
6755
  echo "$as_me: failed program was:" >&5
6099
6756
sed 's/^/| /' conftest.$ac_ext >&5
6100
6757
 
6101
 
ac_compiler_gnu=no
 
6758
        ac_compiler_gnu=no
6102
6759
fi
6103
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6760
 
 
6761
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6104
6762
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6105
6763
 
6106
6764
fi
6107
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6108
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 
6765
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
6766
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6109
6767
ac_ext=$ac_save_ext
6110
6768
ac_test_FFLAGS=${FFLAGS+set}
6111
6769
ac_save_FFLAGS=$FFLAGS
6112
6770
FFLAGS=
6113
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6114
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 
6771
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
6772
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6115
6773
if test "${ac_cv_prog_f77_g+set}" = set; then
6116
6774
  echo $ECHO_N "(cached) $ECHO_C" >&6
6117
6775
else
6122
6780
      end
6123
6781
_ACEOF
6124
6782
rm -f conftest.$ac_objext
6125
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6126
 
  (eval $ac_compile) 2>conftest.er1
 
6783
if { (ac_try="$ac_compile"
 
6784
case "(($ac_try" in
 
6785
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6786
  *) ac_try_echo=$ac_try;;
 
6787
esac
 
6788
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6789
  (eval "$ac_compile") 2>conftest.er1
6127
6790
  ac_status=$?
6128
6791
  grep -v '^ *+' conftest.er1 >conftest.err
6129
6792
  rm -f conftest.er1
6130
6793
  cat conftest.err >&5
6131
6794
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6132
 
  (exit $ac_status); } &&
6133
 
         { ac_try='test -z "$ac_f77_werror_flag"
6134
 
                         || test ! -s conftest.err'
6135
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6136
 
  (eval $ac_try) 2>&5
6137
 
  ac_status=$?
6138
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6139
 
  (exit $ac_status); }; } &&
6140
 
         { ac_try='test -s conftest.$ac_objext'
6141
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6142
 
  (eval $ac_try) 2>&5
6143
 
  ac_status=$?
6144
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6145
 
  (exit $ac_status); }; }; then
 
6795
  (exit $ac_status); } && {
 
6796
         test -z "$ac_f77_werror_flag" ||
 
6797
         test ! -s conftest.err
 
6798
       } && test -s conftest.$ac_objext; then
6146
6799
  ac_cv_prog_f77_g=yes
6147
6800
else
6148
6801
  echo "$as_me: failed program was:" >&5
6149
6802
sed 's/^/| /' conftest.$ac_ext >&5
6150
6803
 
6151
 
ac_cv_prog_f77_g=no
6152
 
fi
6153
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6154
 
 
6155
 
fi
6156
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6157
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 
6804
        ac_cv_prog_f77_g=no
 
6805
fi
 
6806
 
 
6807
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6808
 
 
6809
fi
 
6810
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
6811
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6158
6812
if test "$ac_test_FFLAGS" = set; then
6159
6813
  FFLAGS=$ac_save_FFLAGS
6160
6814
elif test $ac_cv_prog_f77_g = yes; then
6183
6837
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6184
6838
 
6185
6839
# find the maximum length of command line arguments
6186
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6187
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 
6840
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6841
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6188
6842
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6189
6843
  echo $ECHO_N "(cached) $ECHO_C" >&6
6190
6844
else
6231
6885
    elif test -x /usr/sbin/sysctl; then
6232
6886
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6233
6887
    else
6234
 
      lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
 
6888
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6235
6889
    fi
6236
6890
    # And add a safety zone
6237
6891
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6238
6892
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6239
6893
    ;;
 
6894
 
 
6895
  interix*)
 
6896
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
6897
    lt_cv_sys_max_cmd_len=196608
 
6898
    ;;
 
6899
 
6240
6900
  osf*)
6241
6901
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6242
6902
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6250
6910
      esac
6251
6911
    fi
6252
6912
    ;;
 
6913
  sco3.2v5*)
 
6914
    lt_cv_sys_max_cmd_len=102400
 
6915
    ;;
 
6916
  sysv5* | sco5v6* | sysv4.2uw2*)
 
6917
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
6918
    if test -n "$kargmax"; then
 
6919
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
 
6920
    else
 
6921
      lt_cv_sys_max_cmd_len=32768
 
6922
    fi
 
6923
    ;;
6253
6924
  *)
6254
6925
    # If test is not a shell built-in, we'll probably end up computing a
6255
6926
    # maximum length that is only half of the actual maximum length, but
6275
6946
fi
6276
6947
 
6277
6948
if test -n $lt_cv_sys_max_cmd_len ; then
6278
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6279
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 
6949
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6950
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6280
6951
else
6281
 
  echo "$as_me:$LINENO: result: none" >&5
6282
 
echo "${ECHO_T}none" >&6
 
6952
  { echo "$as_me:$LINENO: result: none" >&5
 
6953
echo "${ECHO_T}none" >&6; }
6283
6954
fi
6284
6955
 
6285
6956
 
6286
6957
 
6287
6958
 
6288
6959
# Check for command to grab the raw symbol name followed by C symbol from nm.
6289
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6290
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
6960
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6961
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6291
6962
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6292
6963
  echo $ECHO_N "(cached) $ECHO_C" >&6
6293
6964
else
6335
7006
osf*)
6336
7007
  symcode='[BCDEGQRST]'
6337
7008
  ;;
6338
 
solaris* | sysv5*)
 
7009
solaris*)
6339
7010
  symcode='[BDRT]'
6340
7011
  ;;
 
7012
sco3.2v5*)
 
7013
  symcode='[DT]'
 
7014
  ;;
 
7015
sysv4.2uw2*)
 
7016
  symcode='[DT]'
 
7017
  ;;
 
7018
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
7019
  symcode='[ABDT]'
 
7020
  ;;
6341
7021
sysv4)
6342
7022
  symcode='[DFNSTU]'
6343
7023
  ;;
6482
7162
  lt_cv_sys_global_symbol_to_cdecl=
6483
7163
fi
6484
7164
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6485
 
  echo "$as_me:$LINENO: result: failed" >&5
6486
 
echo "${ECHO_T}failed" >&6
 
7165
  { echo "$as_me:$LINENO: result: failed" >&5
 
7166
echo "${ECHO_T}failed" >&6; }
6487
7167
else
6488
 
  echo "$as_me:$LINENO: result: ok" >&5
6489
 
echo "${ECHO_T}ok" >&6
 
7168
  { echo "$as_me:$LINENO: result: ok" >&5
 
7169
echo "${ECHO_T}ok" >&6; }
6490
7170
fi
6491
7171
 
6492
 
echo "$as_me:$LINENO: checking for objdir" >&5
6493
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
7172
{ echo "$as_me:$LINENO: checking for objdir" >&5
 
7173
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6494
7174
if test "${lt_cv_objdir+set}" = set; then
6495
7175
  echo $ECHO_N "(cached) $ECHO_C" >&6
6496
7176
else
6504
7184
fi
6505
7185
rmdir .libs 2>/dev/null
6506
7186
fi
6507
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6508
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
7187
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
7188
echo "${ECHO_T}$lt_cv_objdir" >&6; }
6509
7189
objdir=$lt_cv_objdir
6510
7190
 
6511
7191
 
6546
7226
default_ofile=libtool
6547
7227
can_build_shared=yes
6548
7228
 
6549
 
# All known linkers require a `.a' archive for static linking (except M$VC,
 
7229
# All known linkers require a `.a' archive for static linking (except MSVC,
6550
7230
# which needs '.lib').
6551
7231
libext=a
6552
7232
ltmain="$ac_aux_dir/ltmain.sh"
6556
7236
if test -n "$ac_tool_prefix"; then
6557
7237
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6558
7238
set dummy ${ac_tool_prefix}ar; ac_word=$2
6559
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6560
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7239
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7240
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6561
7241
if test "${ac_cv_prog_AR+set}" = set; then
6562
7242
  echo $ECHO_N "(cached) $ECHO_C" >&6
6563
7243
else
6570
7250
  IFS=$as_save_IFS
6571
7251
  test -z "$as_dir" && as_dir=.
6572
7252
  for ac_exec_ext in '' $ac_executable_extensions; do
6573
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7253
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6574
7254
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6575
7255
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6576
7256
    break 2
6577
7257
  fi
6578
7258
done
6579
7259
done
 
7260
IFS=$as_save_IFS
6580
7261
 
6581
7262
fi
6582
7263
fi
6583
7264
AR=$ac_cv_prog_AR
6584
7265
if test -n "$AR"; then
6585
 
  echo "$as_me:$LINENO: result: $AR" >&5
6586
 
echo "${ECHO_T}$AR" >&6
 
7266
  { echo "$as_me:$LINENO: result: $AR" >&5
 
7267
echo "${ECHO_T}$AR" >&6; }
6587
7268
else
6588
 
  echo "$as_me:$LINENO: result: no" >&5
6589
 
echo "${ECHO_T}no" >&6
 
7269
  { echo "$as_me:$LINENO: result: no" >&5
 
7270
echo "${ECHO_T}no" >&6; }
6590
7271
fi
 
7272
 
6591
7273
 
6592
7274
fi
6593
7275
if test -z "$ac_cv_prog_AR"; then
6594
7276
  ac_ct_AR=$AR
6595
7277
  # Extract the first word of "ar", so it can be a program name with args.
6596
7278
set dummy ar; ac_word=$2
6597
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6598
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7279
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7280
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6599
7281
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6600
7282
  echo $ECHO_N "(cached) $ECHO_C" >&6
6601
7283
else
6608
7290
  IFS=$as_save_IFS
6609
7291
  test -z "$as_dir" && as_dir=.
6610
7292
  for ac_exec_ext in '' $ac_executable_extensions; do
6611
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7293
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6612
7294
    ac_cv_prog_ac_ct_AR="ar"
6613
7295
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6614
7296
    break 2
6615
7297
  fi
6616
7298
done
6617
7299
done
 
7300
IFS=$as_save_IFS
6618
7301
 
6619
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
6620
7302
fi
6621
7303
fi
6622
7304
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6623
7305
if test -n "$ac_ct_AR"; then
6624
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6625
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
7306
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
7307
echo "${ECHO_T}$ac_ct_AR" >&6; }
6626
7308
else
6627
 
  echo "$as_me:$LINENO: result: no" >&5
6628
 
echo "${ECHO_T}no" >&6
 
7309
  { echo "$as_me:$LINENO: result: no" >&5
 
7310
echo "${ECHO_T}no" >&6; }
6629
7311
fi
6630
7312
 
6631
 
  AR=$ac_ct_AR
 
7313
  if test "x$ac_ct_AR" = x; then
 
7314
    AR="false"
 
7315
  else
 
7316
    case $cross_compiling:$ac_tool_warned in
 
7317
yes:)
 
7318
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7319
whose name does not start with the host triplet.  If you think this
 
7320
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7321
echo "$as_me: 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." >&2;}
 
7324
ac_tool_warned=yes ;;
 
7325
esac
 
7326
    AR=$ac_ct_AR
 
7327
  fi
6632
7328
else
6633
7329
  AR="$ac_cv_prog_AR"
6634
7330
fi
6636
7332
if test -n "$ac_tool_prefix"; then
6637
7333
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6638
7334
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6639
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6640
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7335
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7336
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6641
7337
if test "${ac_cv_prog_RANLIB+set}" = set; then
6642
7338
  echo $ECHO_N "(cached) $ECHO_C" >&6
6643
7339
else
6650
7346
  IFS=$as_save_IFS
6651
7347
  test -z "$as_dir" && as_dir=.
6652
7348
  for ac_exec_ext in '' $ac_executable_extensions; do
6653
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7349
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6654
7350
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6655
7351
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6656
7352
    break 2
6657
7353
  fi
6658
7354
done
6659
7355
done
 
7356
IFS=$as_save_IFS
6660
7357
 
6661
7358
fi
6662
7359
fi
6663
7360
RANLIB=$ac_cv_prog_RANLIB
6664
7361
if test -n "$RANLIB"; then
6665
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
6666
 
echo "${ECHO_T}$RANLIB" >&6
 
7362
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
7363
echo "${ECHO_T}$RANLIB" >&6; }
6667
7364
else
6668
 
  echo "$as_me:$LINENO: result: no" >&5
6669
 
echo "${ECHO_T}no" >&6
 
7365
  { echo "$as_me:$LINENO: result: no" >&5
 
7366
echo "${ECHO_T}no" >&6; }
6670
7367
fi
 
7368
 
6671
7369
 
6672
7370
fi
6673
7371
if test -z "$ac_cv_prog_RANLIB"; then
6674
7372
  ac_ct_RANLIB=$RANLIB
6675
7373
  # Extract the first word of "ranlib", so it can be a program name with args.
6676
7374
set dummy ranlib; ac_word=$2
6677
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6678
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7375
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7376
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6679
7377
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6680
7378
  echo $ECHO_N "(cached) $ECHO_C" >&6
6681
7379
else
6688
7386
  IFS=$as_save_IFS
6689
7387
  test -z "$as_dir" && as_dir=.
6690
7388
  for ac_exec_ext in '' $ac_executable_extensions; do
6691
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7389
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6692
7390
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6693
7391
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6694
7392
    break 2
6695
7393
  fi
6696
7394
done
6697
7395
done
 
7396
IFS=$as_save_IFS
6698
7397
 
6699
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6700
7398
fi
6701
7399
fi
6702
7400
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6703
7401
if test -n "$ac_ct_RANLIB"; then
6704
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6705
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
7402
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
7403
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6706
7404
else
6707
 
  echo "$as_me:$LINENO: result: no" >&5
6708
 
echo "${ECHO_T}no" >&6
 
7405
  { echo "$as_me:$LINENO: result: no" >&5
 
7406
echo "${ECHO_T}no" >&6; }
6709
7407
fi
6710
7408
 
6711
 
  RANLIB=$ac_ct_RANLIB
 
7409
  if test "x$ac_ct_RANLIB" = x; then
 
7410
    RANLIB=":"
 
7411
  else
 
7412
    case $cross_compiling:$ac_tool_warned in
 
7413
yes:)
 
7414
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7415
whose name does not start with the host triplet.  If you think this
 
7416
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7417
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7418
whose name does not start with the host triplet.  If you think this
 
7419
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7420
ac_tool_warned=yes ;;
 
7421
esac
 
7422
    RANLIB=$ac_ct_RANLIB
 
7423
  fi
6712
7424
else
6713
7425
  RANLIB="$ac_cv_prog_RANLIB"
6714
7426
fi
6716
7428
if test -n "$ac_tool_prefix"; then
6717
7429
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6718
7430
set dummy ${ac_tool_prefix}strip; ac_word=$2
6719
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6720
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7431
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7432
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6721
7433
if test "${ac_cv_prog_STRIP+set}" = set; then
6722
7434
  echo $ECHO_N "(cached) $ECHO_C" >&6
6723
7435
else
6730
7442
  IFS=$as_save_IFS
6731
7443
  test -z "$as_dir" && as_dir=.
6732
7444
  for ac_exec_ext in '' $ac_executable_extensions; do
6733
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7445
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6734
7446
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6735
7447
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6736
7448
    break 2
6737
7449
  fi
6738
7450
done
6739
7451
done
 
7452
IFS=$as_save_IFS
6740
7453
 
6741
7454
fi
6742
7455
fi
6743
7456
STRIP=$ac_cv_prog_STRIP
6744
7457
if test -n "$STRIP"; then
6745
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
6746
 
echo "${ECHO_T}$STRIP" >&6
 
7458
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
7459
echo "${ECHO_T}$STRIP" >&6; }
6747
7460
else
6748
 
  echo "$as_me:$LINENO: result: no" >&5
6749
 
echo "${ECHO_T}no" >&6
 
7461
  { echo "$as_me:$LINENO: result: no" >&5
 
7462
echo "${ECHO_T}no" >&6; }
6750
7463
fi
 
7464
 
6751
7465
 
6752
7466
fi
6753
7467
if test -z "$ac_cv_prog_STRIP"; then
6754
7468
  ac_ct_STRIP=$STRIP
6755
7469
  # Extract the first word of "strip", so it can be a program name with args.
6756
7470
set dummy strip; ac_word=$2
6757
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6758
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7471
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7472
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6759
7473
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6760
7474
  echo $ECHO_N "(cached) $ECHO_C" >&6
6761
7475
else
6768
7482
  IFS=$as_save_IFS
6769
7483
  test -z "$as_dir" && as_dir=.
6770
7484
  for ac_exec_ext in '' $ac_executable_extensions; do
6771
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7485
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6772
7486
    ac_cv_prog_ac_ct_STRIP="strip"
6773
7487
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6774
7488
    break 2
6775
7489
  fi
6776
7490
done
6777
7491
done
 
7492
IFS=$as_save_IFS
6778
7493
 
6779
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6780
7494
fi
6781
7495
fi
6782
7496
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6783
7497
if test -n "$ac_ct_STRIP"; then
6784
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6785
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
7498
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
7499
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6786
7500
else
6787
 
  echo "$as_me:$LINENO: result: no" >&5
6788
 
echo "${ECHO_T}no" >&6
 
7501
  { echo "$as_me:$LINENO: result: no" >&5
 
7502
echo "${ECHO_T}no" >&6; }
6789
7503
fi
6790
7504
 
6791
 
  STRIP=$ac_ct_STRIP
 
7505
  if test "x$ac_ct_STRIP" = x; then
 
7506
    STRIP=":"
 
7507
  else
 
7508
    case $cross_compiling:$ac_tool_warned in
 
7509
yes:)
 
7510
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7511
whose name does not start with the host triplet.  If you think this
 
7512
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7513
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7514
whose name does not start with the host triplet.  If you think this
 
7515
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7516
ac_tool_warned=yes ;;
 
7517
esac
 
7518
    STRIP=$ac_ct_STRIP
 
7519
  fi
6792
7520
else
6793
7521
  STRIP="$ac_cv_prog_STRIP"
6794
7522
fi
6803
7531
test -z "$AS" && AS=as
6804
7532
test -z "$CC" && CC=cc
6805
7533
test -z "$LTCC" && LTCC=$CC
 
7534
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6806
7535
test -z "$DLLTOOL" && DLLTOOL=dlltool
6807
7536
test -z "$LD" && LD=ld
6808
7537
test -z "$LN_S" && LN_S="ln -s"
6822
7551
if test -n "$RANLIB"; then
6823
7552
  case $host_os in
6824
7553
  openbsd*)
6825
 
    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
 
7554
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6826
7555
    ;;
6827
7556
  *)
6828
 
    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
 
7557
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6829
7558
    ;;
6830
7559
  esac
6831
7560
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6846
7575
case $deplibs_check_method in
6847
7576
file_magic*)
6848
7577
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6849
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6850
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
7578
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7579
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6851
7580
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6852
7581
  echo $ECHO_N "(cached) $ECHO_C" >&6
6853
7582
else
6867
7596
      if test -n "$file_magic_test_file"; then
6868
7597
        case $deplibs_check_method in
6869
7598
        "file_magic "*)
6870
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 
7599
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6871
7600
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6872
7601
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6873
7602
            $EGREP "$file_magic_regex" > /dev/null; then
6899
7628
 
6900
7629
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6901
7630
if test -n "$MAGIC_CMD"; then
6902
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6903
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7631
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7632
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6904
7633
else
6905
 
  echo "$as_me:$LINENO: result: no" >&5
6906
 
echo "${ECHO_T}no" >&6
 
7634
  { echo "$as_me:$LINENO: result: no" >&5
 
7635
echo "${ECHO_T}no" >&6; }
6907
7636
fi
6908
7637
 
6909
7638
if test -z "$lt_cv_path_MAGIC_CMD"; then
6910
7639
  if test -n "$ac_tool_prefix"; then
6911
 
    echo "$as_me:$LINENO: checking for file" >&5
6912
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
7640
    { echo "$as_me:$LINENO: checking for file" >&5
 
7641
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6913
7642
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6914
7643
  echo $ECHO_N "(cached) $ECHO_C" >&6
6915
7644
else
6929
7658
      if test -n "$file_magic_test_file"; then
6930
7659
        case $deplibs_check_method in
6931
7660
        "file_magic "*)
6932
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 
7661
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6933
7662
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6934
7663
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6935
7664
            $EGREP "$file_magic_regex" > /dev/null; then
6961
7690
 
6962
7691
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6963
7692
if test -n "$MAGIC_CMD"; then
6964
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6965
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7693
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7694
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6966
7695
else
6967
 
  echo "$as_me:$LINENO: result: no" >&5
6968
 
echo "${ECHO_T}no" >&6
 
7696
  { echo "$as_me:$LINENO: result: no" >&5
 
7697
echo "${ECHO_T}no" >&6; }
6969
7698
fi
6970
7699
 
6971
7700
  else
6980
7709
enable_dlopen=yes
6981
7710
enable_win32_dll=no
6982
7711
 
6983
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
7712
# Check whether --enable-libtool-lock was given.
6984
7713
if test "${enable_libtool_lock+set}" = set; then
6985
 
  enableval="$enable_libtool_lock"
 
7714
  enableval=$enable_libtool_lock;
 
7715
fi
6986
7716
 
6987
 
fi;
6988
7717
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6989
7718
 
6990
7719
 
6991
 
# Check whether --with-pic or --without-pic was given.
 
7720
# Check whether --with-pic was given.
6992
7721
if test "${with_pic+set}" = set; then
6993
 
  withval="$with_pic"
6994
 
  pic_mode="$withval"
 
7722
  withval=$with_pic; pic_mode="$withval"
6995
7723
else
6996
7724
  pic_mode=default
6997
 
fi;
 
7725
fi
 
7726
 
6998
7727
test -z "$pic_mode" && pic_mode=default
6999
7728
 
7000
7729
# Use C for the default configuration in the libtool script
7024
7753
# If no C compiler was specified, use CC.
7025
7754
LTCC=${LTCC-"$CC"}
7026
7755
 
 
7756
# If no C compiler flags were specified, use CFLAGS.
 
7757
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
7758
 
7027
7759
# Allow CC to be a program name with arguments.
7028
7760
compiler=$CC
7029
7761
 
7031
7763
# save warnings/boilerplate of simple test code
7032
7764
ac_outfile=conftest.$ac_objext
7033
7765
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
7034
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
7766
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7035
7767
_lt_compiler_boilerplate=`cat conftest.err`
7036
7768
$rm conftest*
7037
7769
 
7038
7770
ac_outfile=conftest.$ac_objext
7039
7771
printf "$lt_simple_link_test_code" >conftest.$ac_ext
7040
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
7772
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7041
7773
_lt_linker_boilerplate=`cat conftest.err`
7042
7774
$rm conftest*
7043
7775
 
7044
7776
 
7045
 
#
7046
 
# Check for any special shared library compilation flags.
7047
 
#
7048
 
lt_prog_cc_shlib=
7049
 
if test "$GCC" = no; then
7050
 
  case $host_os in
7051
 
  sco3.2v5*)
7052
 
    lt_prog_cc_shlib='-belf'
7053
 
    ;;
7054
 
  esac
7055
 
fi
7056
 
if test -n "$lt_prog_cc_shlib"; then
7057
 
  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
7058
 
echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
7059
 
  if echo "$old_CC $old_CFLAGS " | grep "[      ]$lt_prog_cc_shlib[     ]" >/dev/null; then :
7060
 
  else
7061
 
    { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
7062
 
echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
7063
 
    lt_cv_prog_cc_can_build_shared=no
7064
 
  fi
7065
 
fi
7066
 
 
7067
 
 
7068
 
#
7069
 
# Check to make sure the static flag actually works.
7070
 
#
7071
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
7072
 
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
7073
 
if test "${lt_prog_compiler_static_works+set}" = set; then
7074
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7075
 
else
7076
 
  lt_prog_compiler_static_works=no
7077
 
   save_LDFLAGS="$LDFLAGS"
7078
 
   LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
7079
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
7080
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7081
 
     # The compiler can only warn and ignore the option if not recognized
7082
 
     # So say no if there are warnings
7083
 
     if test -s conftest.err; then
7084
 
       # Append any errors to the config.log.
7085
 
       cat conftest.err 1>&5
7086
 
       $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
7087
 
       $SED '/^$/d' conftest.err >conftest.er2
7088
 
       if diff conftest.exp conftest.er2 >/dev/null; then
7089
 
         lt_prog_compiler_static_works=yes
7090
 
       fi
7091
 
     else
7092
 
       lt_prog_compiler_static_works=yes
7093
 
     fi
7094
 
   fi
7095
 
   $rm conftest*
7096
 
   LDFLAGS="$save_LDFLAGS"
7097
 
 
7098
 
fi
7099
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7100
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7101
 
 
7102
 
if test x"$lt_prog_compiler_static_works" = xyes; then
7103
 
    :
7104
 
else
7105
 
    lt_prog_compiler_static=
7106
 
fi
7107
 
 
7108
 
 
7109
 
 
7110
7777
 
7111
7778
lt_prog_compiler_no_builtin_flag=
7112
7779
 
7114
7781
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7115
7782
 
7116
7783
 
7117
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7118
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
7784
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7785
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7119
7786
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7120
7787
  echo $ECHO_N "(cached) $ECHO_C" >&6
7121
7788
else
7129
7796
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7130
7797
   # The option is referenced via a variable to avoid confusing sed.
7131
7798
   lt_compile=`echo "$ac_compile" | $SED \
7132
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
7799
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7133
7800
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7134
7801
   -e 's:$: $lt_compiler_flag:'`
7135
 
   (eval echo "\"\$as_me:7135: $lt_compile\"" >&5)
 
7802
   (eval echo "\"\$as_me:7802: $lt_compile\"" >&5)
7136
7803
   (eval "$lt_compile" 2>conftest.err)
7137
7804
   ac_status=$?
7138
7805
   cat conftest.err >&5
7139
 
   echo "$as_me:7139: \$? = $ac_status" >&5
 
7806
   echo "$as_me:7806: \$? = $ac_status" >&5
7140
7807
   if (exit $ac_status) && test -s "$ac_outfile"; then
7141
7808
     # The compiler can only warn and ignore the option if not recognized
7142
7809
     # So say no if there are warnings other than the usual output.
7143
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
7144
 
     $SED '/^$/d' conftest.err >conftest.er2
7145
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
7810
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7811
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
7812
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7146
7813
       lt_cv_prog_compiler_rtti_exceptions=yes
7147
7814
     fi
7148
7815
   fi
7149
7816
   $rm conftest*
7150
7817
 
7151
7818
fi
7152
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7153
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
7819
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7820
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7154
7821
 
7155
7822
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7156
7823
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7164
7831
lt_prog_compiler_pic=
7165
7832
lt_prog_compiler_static=
7166
7833
 
7167
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7168
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
7834
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7835
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7169
7836
 
7170
7837
  if test "$GCC" = yes; then
7171
7838
    lt_prog_compiler_wl='-Wl,'
7203
7870
      lt_prog_compiler_pic='-fno-common'
7204
7871
      ;;
7205
7872
 
 
7873
    interix3*)
 
7874
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
7875
      # Instead, we relocate shared libraries at runtime.
 
7876
      ;;
 
7877
 
7206
7878
    msdosdjgpp*)
7207
7879
      # Just because we use GCC doesn't mean we suddenly get shared libraries
7208
7880
      # on systems that don't support them.
7219
7891
    hpux*)
7220
7892
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7221
7893
      # not for PA HP-UX.
7222
 
      case "$host_cpu" in
 
7894
      case $host_cpu in
7223
7895
      hppa*64*|ia64*)
7224
7896
        # +Z the default
7225
7897
        ;;
7266
7938
      lt_prog_compiler_wl='-Wl,'
7267
7939
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7268
7940
      # not for PA HP-UX.
7269
 
      case "$host_cpu" in
 
7941
      case $host_cpu in
7270
7942
      hppa*64*|ia64*)
7271
7943
        # +Z the default
7272
7944
        ;;
7296
7968
        lt_prog_compiler_pic='-KPIC'
7297
7969
        lt_prog_compiler_static='-static'
7298
7970
        ;;
7299
 
      pgcc* | pgf77* | pgf90*)
 
7971
      pgcc* | pgf77* | pgf90* | pgf95*)
7300
7972
        # Portland Group compilers (*not* the Pentium gcc compiler,
7301
7973
        # which looks to be a dead project)
7302
7974
        lt_prog_compiler_wl='-Wl,'
7303
7975
        lt_prog_compiler_pic='-fpic'
7304
 
        lt_prog_compiler_static='-static'
 
7976
        lt_prog_compiler_static='-Bstatic'
7305
7977
        ;;
7306
7978
      ccc*)
7307
7979
        lt_prog_compiler_wl='-Wl,'
7317
7989
      lt_prog_compiler_static='-non_shared'
7318
7990
      ;;
7319
7991
 
7320
 
    sco3.2v5*)
7321
 
      lt_prog_compiler_pic='-Kpic'
7322
 
      lt_prog_compiler_static='-dn'
7323
 
      ;;
7324
 
 
7325
7992
    solaris*)
7326
7993
      lt_prog_compiler_pic='-KPIC'
7327
7994
      lt_prog_compiler_static='-Bstatic'
7339
8006
      lt_prog_compiler_static='-Bstatic'
7340
8007
      ;;
7341
8008
 
7342
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
8009
    sysv4 | sysv4.2uw2* | sysv4.3*)
7343
8010
      lt_prog_compiler_wl='-Wl,'
7344
8011
      lt_prog_compiler_pic='-KPIC'
7345
8012
      lt_prog_compiler_static='-Bstatic'
7352
8019
      fi
7353
8020
      ;;
7354
8021
 
 
8022
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
8023
      lt_prog_compiler_wl='-Wl,'
 
8024
      lt_prog_compiler_pic='-KPIC'
 
8025
      lt_prog_compiler_static='-Bstatic'
 
8026
      ;;
 
8027
 
7355
8028
    unicos*)
7356
8029
      lt_prog_compiler_wl='-Wl,'
7357
8030
      lt_prog_compiler_can_build_shared=no
7368
8041
    esac
7369
8042
  fi
7370
8043
 
7371
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7372
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
8044
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
8045
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7373
8046
 
7374
8047
#
7375
8048
# Check to make sure the PIC flag actually works.
7376
8049
#
7377
8050
if test -n "$lt_prog_compiler_pic"; then
7378
8051
 
7379
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7380
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
 
8052
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8053
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7381
8054
if test "${lt_prog_compiler_pic_works+set}" = set; then
7382
8055
  echo $ECHO_N "(cached) $ECHO_C" >&6
7383
8056
else
7391
8064
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7392
8065
   # The option is referenced via a variable to avoid confusing sed.
7393
8066
   lt_compile=`echo "$ac_compile" | $SED \
7394
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
8067
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7395
8068
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7396
8069
   -e 's:$: $lt_compiler_flag:'`
7397
 
   (eval echo "\"\$as_me:7397: $lt_compile\"" >&5)
 
8070
   (eval echo "\"\$as_me:8070: $lt_compile\"" >&5)
7398
8071
   (eval "$lt_compile" 2>conftest.err)
7399
8072
   ac_status=$?
7400
8073
   cat conftest.err >&5
7401
 
   echo "$as_me:7401: \$? = $ac_status" >&5
 
8074
   echo "$as_me:8074: \$? = $ac_status" >&5
7402
8075
   if (exit $ac_status) && test -s "$ac_outfile"; then
7403
8076
     # The compiler can only warn and ignore the option if not recognized
7404
8077
     # So say no if there are warnings other than the usual output.
7405
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
7406
 
     $SED '/^$/d' conftest.err >conftest.er2
7407
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
8078
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8079
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8080
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7408
8081
       lt_prog_compiler_pic_works=yes
7409
8082
     fi
7410
8083
   fi
7411
8084
   $rm conftest*
7412
8085
 
7413
8086
fi
7414
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7415
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
8087
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
 
8088
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7416
8089
 
7417
8090
if test x"$lt_prog_compiler_pic_works" = xyes; then
7418
8091
    case $lt_prog_compiler_pic in
7425
8098
fi
7426
8099
 
7427
8100
fi
7428
 
case "$host_os" in
 
8101
case $host_os in
7429
8102
  # For platforms which do not support PIC, -DPIC is meaningless:
7430
8103
  *djgpp*)
7431
8104
    lt_prog_compiler_pic=
7435
8108
    ;;
7436
8109
esac
7437
8110
 
7438
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7439
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
8111
#
 
8112
# Check to make sure the static flag actually works.
 
8113
#
 
8114
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
8115
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8116
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
8117
if test "${lt_prog_compiler_static_works+set}" = set; then
 
8118
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8119
else
 
8120
  lt_prog_compiler_static_works=no
 
8121
   save_LDFLAGS="$LDFLAGS"
 
8122
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
8123
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
8124
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
8125
     # The linker can only warn and ignore the option if not recognized
 
8126
     # So say no if there are warnings
 
8127
     if test -s conftest.err; then
 
8128
       # Append any errors to the config.log.
 
8129
       cat conftest.err 1>&5
 
8130
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8131
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8132
       if diff conftest.exp conftest.er2 >/dev/null; then
 
8133
         lt_prog_compiler_static_works=yes
 
8134
       fi
 
8135
     else
 
8136
       lt_prog_compiler_static_works=yes
 
8137
     fi
 
8138
   fi
 
8139
   $rm conftest*
 
8140
   LDFLAGS="$save_LDFLAGS"
 
8141
 
 
8142
fi
 
8143
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 
8144
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
 
8145
 
 
8146
if test x"$lt_prog_compiler_static_works" = xyes; then
 
8147
    :
 
8148
else
 
8149
    lt_prog_compiler_static=
 
8150
fi
 
8151
 
 
8152
 
 
8153
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8154
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7440
8155
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7441
8156
  echo $ECHO_N "(cached) $ECHO_C" >&6
7442
8157
else
7453
8168
   # Note that $ac_compile itself does not contain backslashes and begins
7454
8169
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7455
8170
   lt_compile=`echo "$ac_compile" | $SED \
7456
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
8171
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7457
8172
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7458
8173
   -e 's:$: $lt_compiler_flag:'`
7459
 
   (eval echo "\"\$as_me:7459: $lt_compile\"" >&5)
 
8174
   (eval echo "\"\$as_me:8174: $lt_compile\"" >&5)
7460
8175
   (eval "$lt_compile" 2>out/conftest.err)
7461
8176
   ac_status=$?
7462
8177
   cat out/conftest.err >&5
7463
 
   echo "$as_me:7463: \$? = $ac_status" >&5
 
8178
   echo "$as_me:8178: \$? = $ac_status" >&5
7464
8179
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7465
8180
   then
7466
8181
     # The compiler can only warn and ignore the option if not recognized
7467
8182
     # So say no if there are warnings
7468
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
7469
 
     $SED '/^$/d' out/conftest.err >out/conftest.er2
7470
 
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8183
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8184
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8185
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7471
8186
       lt_cv_prog_compiler_c_o=yes
7472
8187
     fi
7473
8188
   fi
7474
 
   chmod u+w .
 
8189
   chmod u+w . 2>&5
7475
8190
   $rm conftest*
7476
8191
   # SGI C++ compiler will create directory out/ii_files/ for
7477
8192
   # template instantiation
7482
8197
   $rm conftest*
7483
8198
 
7484
8199
fi
7485
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7486
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
8200
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8201
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7487
8202
 
7488
8203
 
7489
8204
hard_links="nottested"
7490
8205
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7491
8206
  # do not overwrite the value of need_locks provided by the user
7492
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7493
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
8207
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
8208
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7494
8209
  hard_links=yes
7495
8210
  $rm conftest*
7496
8211
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7497
8212
  touch conftest.a
7498
8213
  ln conftest.a conftest.b 2>&5 || hard_links=no
7499
8214
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7500
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
7501
 
echo "${ECHO_T}$hard_links" >&6
 
8215
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
8216
echo "${ECHO_T}$hard_links" >&6; }
7502
8217
  if test "$hard_links" = no; then
7503
8218
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7504
8219
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7508
8223
  need_locks=no
7509
8224
fi
7510
8225
 
7511
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7512
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
8226
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8227
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7513
8228
 
7514
8229
  runpath_var=
7515
8230
  allow_undefined_flag=
7567
8282
      with_gnu_ld=no
7568
8283
    fi
7569
8284
    ;;
 
8285
  interix*)
 
8286
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
8287
    with_gnu_ld=yes
 
8288
    ;;
7570
8289
  openbsd*)
7571
8290
    with_gnu_ld=no
7572
8291
    ;;
7651
8370
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7652
8371
 
7653
8372
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7654
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
8373
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7655
8374
        # If the export-symbols file already is a .def file (1st line
7656
8375
        # is EXPORTS), use it as is; otherwise, prepend...
7657
8376
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7660
8379
          echo EXPORTS > $output_objdir/$soname.def;
7661
8380
          cat $export_symbols >> $output_objdir/$soname.def;
7662
8381
        fi~
7663
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 
8382
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7664
8383
      else
7665
8384
        ld_shlibs=no
7666
8385
      fi
7667
8386
      ;;
7668
8387
 
 
8388
    interix3*)
 
8389
      hardcode_direct=no
 
8390
      hardcode_shlibpath_var=no
 
8391
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8392
      export_dynamic_flag_spec='${wl}-E'
 
8393
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
8394
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
8395
      # default) and relocated if they conflict, which is a slow very memory
 
8396
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
8397
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
8398
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
8399
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
8400
      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'
 
8401
      ;;
 
8402
 
7669
8403
    linux*)
7670
8404
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7671
8405
        tmp_addflag=
7672
8406
        case $cc_basename,$host_cpu in
7673
8407
        pgcc*)                          # Portland Group C compiler
7674
 
          whole_archive_flag_spec=
 
8408
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
8409
          tmp_addflag=' $pic_flag'
7675
8410
          ;;
7676
 
        pgf77* | pgf90* )                       # Portland Group f77 and f90 compilers
7677
 
          whole_archive_flag_spec=
7678
 
          tmp_addflag=' -fpic -Mnomain' ;;
 
8411
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
8412
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
8413
          tmp_addflag=' $pic_flag -Mnomain' ;;
7679
8414
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
7680
8415
          tmp_addflag=' -i_dynamic' ;;
7681
8416
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
7706
8441
      fi
7707
8442
      ;;
7708
8443
 
7709
 
    solaris* | sysv5*)
 
8444
    solaris*)
7710
8445
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
7711
8446
        ld_shlibs=no
7712
8447
        cat <<EOF 1>&2
7727
8462
      fi
7728
8463
      ;;
7729
8464
 
 
8465
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
8466
      case `$LD -v 2>&1` in
 
8467
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
8468
        ld_shlibs=no
 
8469
        cat <<_LT_EOF 1>&2
 
8470
 
 
8471
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
8472
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
8473
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
8474
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
8475
*** your PATH or compiler configuration so that the native linker is
 
8476
*** used, and then restart.
 
8477
 
 
8478
_LT_EOF
 
8479
        ;;
 
8480
        *)
 
8481
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8482
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
8483
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
8484
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
8485
          else
 
8486
            ld_shlibs=no
 
8487
          fi
 
8488
        ;;
 
8489
      esac
 
8490
      ;;
 
8491
 
7730
8492
    sunos4*)
7731
8493
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7732
8494
      wlarc=
7760
8522
      # Note: this linker hardcodes the directories in LIBPATH if there
7761
8523
      # are no directories specified by -L.
7762
8524
      hardcode_minus_L=yes
7763
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
8525
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7764
8526
        # Neither direct hardcoding nor static linking is supported with a
7765
8527
        # broken collect2.
7766
8528
        hardcode_direct=unsupported
7794
8556
            break
7795
8557
          fi
7796
8558
          done
 
8559
          ;;
7797
8560
        esac
7798
8561
 
7799
8562
        exp_sym_flag='-bexport'
7831
8594
          hardcode_libdir_flag_spec='-L$libdir'
7832
8595
          hardcode_libdir_separator=
7833
8596
          fi
 
8597
          ;;
7834
8598
        esac
7835
8599
        shared_flag='-shared'
7836
8600
        if test "$aix_use_runtimelinking" = yes; then
7843
8607
        # chokes on -Wl,-G. The following line is correct:
7844
8608
          shared_flag='-G'
7845
8609
        else
7846
 
        if test "$aix_use_runtimelinking" = yes; then
 
8610
          if test "$aix_use_runtimelinking" = yes; then
7847
8611
            shared_flag='${wl}-G'
7848
8612
          else
7849
8613
            shared_flag='${wl}-bM:SRE'
7850
 
        fi
 
8614
          fi
7851
8615
        fi
7852
8616
      fi
7853
8617
 
7875
8639
}
7876
8640
_ACEOF
7877
8641
rm -f conftest.$ac_objext conftest$ac_exeext
7878
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7879
 
  (eval $ac_link) 2>conftest.er1
 
8642
if { (ac_try="$ac_link"
 
8643
case "(($ac_try" in
 
8644
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8645
  *) ac_try_echo=$ac_try;;
 
8646
esac
 
8647
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8648
  (eval "$ac_link") 2>conftest.er1
7880
8649
  ac_status=$?
7881
8650
  grep -v '^ *+' conftest.er1 >conftest.err
7882
8651
  rm -f conftest.er1
7883
8652
  cat conftest.err >&5
7884
8653
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7885
 
  (exit $ac_status); } &&
7886
 
         { ac_try='test -z "$ac_c_werror_flag"
7887
 
                         || test ! -s conftest.err'
7888
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7889
 
  (eval $ac_try) 2>&5
7890
 
  ac_status=$?
7891
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7892
 
  (exit $ac_status); }; } &&
7893
 
         { ac_try='test -s conftest$ac_exeext'
7894
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7895
 
  (eval $ac_try) 2>&5
7896
 
  ac_status=$?
7897
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7898
 
  (exit $ac_status); }; }; then
 
8654
  (exit $ac_status); } && {
 
8655
         test -z "$ac_c_werror_flag" ||
 
8656
         test ! -s conftest.err
 
8657
       } && test -s conftest$ac_exeext &&
 
8658
       $as_test_x conftest$ac_exeext; then
7899
8659
 
7900
8660
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7901
8661
}'`
7906
8666
  echo "$as_me: failed program was:" >&5
7907
8667
sed 's/^/| /' conftest.$ac_ext >&5
7908
8668
 
 
8669
 
7909
8670
fi
7910
 
rm -f conftest.err conftest.$ac_objext \
 
8671
 
 
8672
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7911
8673
      conftest$ac_exeext conftest.$ac_ext
7912
8674
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7913
8675
 
7914
8676
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7915
 
        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"
 
8677
        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"
7916
8678
       else
7917
8679
        if test "$host_cpu" = ia64; then
7918
8680
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7919
8681
          allow_undefined_flag="-z nodefs"
7920
 
          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"
 
8682
          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"
7921
8683
        else
7922
8684
         # Determine the default libpath from the value encoded in an empty executable.
7923
8685
         cat >conftest.$ac_ext <<_ACEOF
7936
8698
}
7937
8699
_ACEOF
7938
8700
rm -f conftest.$ac_objext conftest$ac_exeext
7939
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7940
 
  (eval $ac_link) 2>conftest.er1
 
8701
if { (ac_try="$ac_link"
 
8702
case "(($ac_try" in
 
8703
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8704
  *) ac_try_echo=$ac_try;;
 
8705
esac
 
8706
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8707
  (eval "$ac_link") 2>conftest.er1
7941
8708
  ac_status=$?
7942
8709
  grep -v '^ *+' conftest.er1 >conftest.err
7943
8710
  rm -f conftest.er1
7944
8711
  cat conftest.err >&5
7945
8712
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7946
 
  (exit $ac_status); } &&
7947
 
         { ac_try='test -z "$ac_c_werror_flag"
7948
 
                         || test ! -s conftest.err'
7949
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7950
 
  (eval $ac_try) 2>&5
7951
 
  ac_status=$?
7952
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7953
 
  (exit $ac_status); }; } &&
7954
 
         { ac_try='test -s conftest$ac_exeext'
7955
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7956
 
  (eval $ac_try) 2>&5
7957
 
  ac_status=$?
7958
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7959
 
  (exit $ac_status); }; }; then
 
8713
  (exit $ac_status); } && {
 
8714
         test -z "$ac_c_werror_flag" ||
 
8715
         test ! -s conftest.err
 
8716
       } && test -s conftest$ac_exeext &&
 
8717
       $as_test_x conftest$ac_exeext; then
7960
8718
 
7961
8719
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7962
8720
}'`
7967
8725
  echo "$as_me: failed program was:" >&5
7968
8726
sed 's/^/| /' conftest.$ac_ext >&5
7969
8727
 
 
8728
 
7970
8729
fi
7971
 
rm -f conftest.err conftest.$ac_objext \
 
8730
 
 
8731
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7972
8732
      conftest$ac_exeext conftest.$ac_ext
7973
8733
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7974
8734
 
7977
8737
          # -berok will link without error, but may produce a broken library.
7978
8738
          no_undefined_flag=' ${wl}-bernotok'
7979
8739
          allow_undefined_flag=' ${wl}-berok'
7980
 
          # -bexpall does not export symbols beginning with underscore (_)
7981
 
          always_export_symbols=yes
7982
8740
          # Exported symbols can be pulled into shared objects from archives
7983
 
          whole_archive_flag_spec=' '
 
8741
          whole_archive_flag_spec='$convenience'
7984
8742
          archive_cmds_need_lc=yes
7985
 
          # This is similar to how AIX traditionally builds it's shared libraries.
7986
 
          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'
 
8743
          # This is similar to how AIX traditionally builds its shared libraries.
 
8744
          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'
7987
8745
        fi
7988
8746
      fi
7989
8747
      ;;
8022
8780
      ;;
8023
8781
 
8024
8782
    darwin* | rhapsody*)
8025
 
      case "$host_os" in
 
8783
      case $host_os in
8026
8784
        rhapsody* | darwin1.[012])
8027
8785
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
8028
8786
         ;;
8051
8809
        output_verbose_link_cmd='echo'
8052
8810
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8053
8811
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8054
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
 
8812
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8055
8813
      archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8056
8814
      module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8057
8815
    else
8060
8818
         output_verbose_link_cmd='echo'
8061
8819
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8062
8820
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8063
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
 
8821
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8064
8822
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8065
8823
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8066
8824
          ;;
8124
8882
      export_dynamic_flag_spec='${wl}-E'
8125
8883
      ;;
8126
8884
 
8127
 
    hpux10* | hpux11*)
8128
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8129
 
        case "$host_cpu" in
8130
 
        hppa*64*|ia64*)
 
8885
    hpux10*)
 
8886
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8887
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8888
      else
 
8889
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
8890
      fi
 
8891
      if test "$with_gnu_ld" = no; then
 
8892
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8893
        hardcode_libdir_separator=:
 
8894
 
 
8895
        hardcode_direct=yes
 
8896
        export_dynamic_flag_spec='${wl}-E'
 
8897
 
 
8898
        # hardcode_minus_L: Not really in the search PATH,
 
8899
        # but as the default location of the library.
 
8900
        hardcode_minus_L=yes
 
8901
      fi
 
8902
      ;;
 
8903
 
 
8904
    hpux11*)
 
8905
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8906
        case $host_cpu in
 
8907
        hppa*64*)
8131
8908
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8132
8909
          ;;
 
8910
        ia64*)
 
8911
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
8912
          ;;
8133
8913
        *)
8134
8914
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8135
8915
          ;;
8136
8916
        esac
8137
8917
      else
8138
 
        case "$host_cpu" in
8139
 
        hppa*64*|ia64*)
8140
 
          archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8918
        case $host_cpu in
 
8919
        hppa*64*)
 
8920
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8921
          ;;
 
8922
        ia64*)
 
8923
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8141
8924
          ;;
8142
8925
        *)
8143
 
          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
8926
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8144
8927
          ;;
8145
8928
        esac
8146
8929
      fi
8147
8930
      if test "$with_gnu_ld" = no; then
8148
 
        case "$host_cpu" in
8149
 
        hppa*64*)
8150
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8931
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8932
        hardcode_libdir_separator=:
 
8933
 
 
8934
        case $host_cpu in
 
8935
        hppa*64*|ia64*)
8151
8936
          hardcode_libdir_flag_spec_ld='+b $libdir'
8152
 
          hardcode_libdir_separator=:
8153
 
          hardcode_direct=no
8154
 
          hardcode_shlibpath_var=no
8155
 
          ;;
8156
 
        ia64*)
8157
 
          hardcode_libdir_flag_spec='-L$libdir'
8158
 
          hardcode_direct=no
8159
 
          hardcode_shlibpath_var=no
8160
 
 
8161
 
          # hardcode_minus_L: Not really in the search PATH,
8162
 
          # but as the default location of the library.
8163
 
          hardcode_minus_L=yes
 
8937
          hardcode_direct=no
 
8938
          hardcode_shlibpath_var=no
8164
8939
          ;;
8165
8940
        *)
8166
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8167
 
          hardcode_libdir_separator=:
8168
8941
          hardcode_direct=yes
8169
8942
          export_dynamic_flag_spec='${wl}-E'
8170
8943
 
8266
9039
      hardcode_libdir_separator=:
8267
9040
      ;;
8268
9041
 
8269
 
    sco3.2v5*)
8270
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8271
 
      hardcode_shlibpath_var=no
8272
 
      export_dynamic_flag_spec='${wl}-Bexport'
8273
 
      runpath_var=LD_RUN_PATH
8274
 
      hardcode_runpath_var=yes
8275
 
      ;;
8276
 
 
8277
9042
    solaris*)
8278
9043
      no_undefined_flag=' -z text'
8279
9044
      if test "$GCC" = yes; then
8359
9124
      fi
8360
9125
      ;;
8361
9126
 
8362
 
    sysv4.2uw2*)
8363
 
      archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8364
 
      hardcode_direct=yes
8365
 
      hardcode_minus_L=no
8366
 
      hardcode_shlibpath_var=no
8367
 
      hardcode_runpath_var=yes
8368
 
      runpath_var=LD_RUN_PATH
8369
 
      ;;
8370
 
 
8371
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
8372
 
      no_undefined_flag='${wl}-z ${wl}text'
8373
 
      if test "$GCC" = yes; then
8374
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8375
 
      else
8376
 
        archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8377
 
      fi
8378
 
      runpath_var='LD_RUN_PATH'
8379
 
      hardcode_shlibpath_var=no
8380
 
      ;;
8381
 
 
8382
 
    sysv5*)
8383
 
      no_undefined_flag=' -z text'
8384
 
      # $CC -shared without GNU ld will not create a library from C++
8385
 
      # object files and a static libstdc++, better avoid it by now
8386
 
      archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8387
 
      archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8388
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8389
 
      hardcode_libdir_flag_spec=
8390
 
      hardcode_shlibpath_var=no
8391
 
      runpath_var='LD_RUN_PATH'
 
9127
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
9128
      no_undefined_flag='${wl}-z,text'
 
9129
      archive_cmds_need_lc=no
 
9130
      hardcode_shlibpath_var=no
 
9131
      runpath_var='LD_RUN_PATH'
 
9132
 
 
9133
      if test "$GCC" = yes; then
 
9134
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9135
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9136
      else
 
9137
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9138
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9139
      fi
 
9140
      ;;
 
9141
 
 
9142
    sysv5* | sco3.2v5* | sco5v6*)
 
9143
      # Note: We can NOT use -z defs as we might desire, because we do not
 
9144
      # link with -lc, and that would cause any symbols used from libc to
 
9145
      # always be unresolved, which means just about no library would
 
9146
      # ever link correctly.  If we're not using GNU ld we use -z text
 
9147
      # though, which does catch some bad symbols but isn't as heavy-handed
 
9148
      # as -z defs.
 
9149
      no_undefined_flag='${wl}-z,text'
 
9150
      allow_undefined_flag='${wl}-z,nodefs'
 
9151
      archive_cmds_need_lc=no
 
9152
      hardcode_shlibpath_var=no
 
9153
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
9154
      hardcode_libdir_separator=':'
 
9155
      link_all_deplibs=yes
 
9156
      export_dynamic_flag_spec='${wl}-Bexport'
 
9157
      runpath_var='LD_RUN_PATH'
 
9158
 
 
9159
      if test "$GCC" = yes; then
 
9160
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9161
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9162
      else
 
9163
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9164
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9165
      fi
8392
9166
      ;;
8393
9167
 
8394
9168
    uts4*)
8403
9177
    esac
8404
9178
  fi
8405
9179
 
8406
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8407
 
echo "${ECHO_T}$ld_shlibs" >&6
 
9180
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
9181
echo "${ECHO_T}$ld_shlibs" >&6; }
8408
9182
test "$ld_shlibs" = no && can_build_shared=no
8409
9183
 
8410
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
8411
 
if test "$GCC" = yes; then
8412
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8413
 
fi
8414
 
 
8415
9184
#
8416
9185
# Do we need to explicitly link libc?
8417
9186
#
8429
9198
      # Test whether the compiler implicitly links with -lc since on some
8430
9199
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
8431
9200
      # to ld, don't add -lc before -lgcc.
8432
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8433
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
9201
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
9202
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8434
9203
      $rm conftest*
8435
9204
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8436
9205
 
8444
9213
        libobjs=conftest.$ac_objext
8445
9214
        deplibs=
8446
9215
        wl=$lt_prog_compiler_wl
 
9216
        pic_flag=$lt_prog_compiler_pic
8447
9217
        compiler_flags=-v
8448
9218
        linker_flags=-v
8449
9219
        verstring=
8466
9236
        cat conftest.err 1>&5
8467
9237
      fi
8468
9238
      $rm conftest*
8469
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8470
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
9239
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
9240
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8471
9241
      ;;
8472
9242
    esac
8473
9243
  fi
8474
9244
  ;;
8475
9245
esac
8476
9246
 
8477
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8478
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
9247
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
9248
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8479
9249
library_names_spec=
8480
9250
libname_spec='lib$name'
8481
9251
soname_spec=
8604
9374
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8605
9375
      dldir=$destdir/`dirname \$dlpath`~
8606
9376
      test -d \$dldir || mkdir -p \$dldir~
8607
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
9377
      $install_prog $dir/$dlname \$dldir/$dlname~
 
9378
      chmod a+x \$dldir/$dlname'
8608
9379
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8609
9380
      dlpath=$dir/\$dldll~
8610
9381
       $rm \$dlpath'
8657
9428
  soname_spec='${libname}${release}${major}$shared_ext'
8658
9429
  shlibpath_overrides_runpath=yes
8659
9430
  shlibpath_var=DYLD_LIBRARY_PATH
8660
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
 
9431
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8661
9432
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8662
9433
  if test "$GCC" = yes; then
8663
9434
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
8695
9466
freebsd* | dragonfly*)
8696
9467
  # DragonFly does not have aout.  When/if they implement a new
8697
9468
  # versioning mechanism, adjust this.
8698
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
9469
  if test -x /usr/bin/objformat; then
 
9470
    objformat=`/usr/bin/objformat`
 
9471
  else
 
9472
    case $host_os in
 
9473
    freebsd[123]*) objformat=aout ;;
 
9474
    *) objformat=elf ;;
 
9475
    esac
 
9476
  fi
8699
9477
  version_type=freebsd-$objformat
8700
9478
  case $version_type in
8701
9479
    freebsd-elf*)
8717
9495
    shlibpath_overrides_runpath=yes
8718
9496
    hardcode_into_libs=yes
8719
9497
    ;;
8720
 
  *) # from 3.2 on
 
9498
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
9499
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8721
9500
    shlibpath_overrides_runpath=no
8722
9501
    hardcode_into_libs=yes
8723
9502
    ;;
 
9503
  freebsd*) # from 4.6 on
 
9504
    shlibpath_overrides_runpath=yes
 
9505
    hardcode_into_libs=yes
 
9506
    ;;
8724
9507
  esac
8725
9508
  ;;
8726
9509
 
8740
9523
  version_type=sunos
8741
9524
  need_lib_prefix=no
8742
9525
  need_version=no
8743
 
  case "$host_cpu" in
 
9526
  case $host_cpu in
8744
9527
  ia64*)
8745
9528
    shrext_cmds='.so'
8746
9529
    hardcode_into_libs=yes
8780
9563
  postinstall_cmds='chmod 555 $lib'
8781
9564
  ;;
8782
9565
 
 
9566
interix3*)
 
9567
  version_type=linux
 
9568
  need_lib_prefix=no
 
9569
  need_version=no
 
9570
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
9571
  soname_spec='${libname}${release}${shared_ext}$major'
 
9572
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
9573
  shlibpath_var=LD_LIBRARY_PATH
 
9574
  shlibpath_overrides_runpath=no
 
9575
  hardcode_into_libs=yes
 
9576
  ;;
 
9577
 
8783
9578
irix5* | irix6* | nonstopux*)
8784
9579
  case $host_os in
8785
9580
    nonstopux*) version_type=nonstopux ;;
8837
9632
  # before this can be enabled.
8838
9633
  hardcode_into_libs=yes
8839
9634
 
8840
 
  # find out which ABI we are using
8841
 
  libsuff=
8842
 
  case "$host_cpu" in
8843
 
  x86_64*|s390x*|powerpc64*)
8844
 
    echo '#line 8844 "configure"' > conftest.$ac_ext
8845
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8846
 
  (eval $ac_compile) 2>&5
8847
 
  ac_status=$?
8848
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8849
 
  (exit $ac_status); }; then
8850
 
      case `/usr/bin/file conftest.$ac_objext` in
8851
 
      *64-bit*)
8852
 
        libsuff=64
8853
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
8854
 
        ;;
8855
 
      esac
8856
 
    fi
8857
 
    rm -rf conftest*
8858
 
    ;;
8859
 
  esac
8860
 
 
8861
9635
  # Append ld.so.conf contents to the search path
8862
9636
  if test -f /etc/ld.so.conf; then
8863
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8864
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
9637
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
9638
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8865
9639
  fi
8866
9640
 
8867
9641
  # We used to test for /lib/ld.so.1 and disable shared libraries on
8922
9696
 
8923
9697
openbsd*)
8924
9698
  version_type=sunos
 
9699
  sys_lib_dlsearch_path_spec="/usr/lib"
8925
9700
  need_lib_prefix=no
8926
 
  need_version=no
 
9701
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
9702
  case $host_os in
 
9703
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
9704
    *)                         need_version=no  ;;
 
9705
  esac
8927
9706
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8928
9707
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8929
9708
  shlibpath_var=LD_LIBRARY_PATH
8961
9740
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8962
9741
  ;;
8963
9742
 
8964
 
sco3.2v5*)
8965
 
  version_type=osf
8966
 
  soname_spec='${libname}${release}${shared_ext}$major'
8967
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8968
 
  shlibpath_var=LD_LIBRARY_PATH
8969
 
  ;;
8970
 
 
8971
9743
solaris*)
8972
9744
  version_type=linux
8973
9745
  need_lib_prefix=no
8993
9765
  need_version=yes
8994
9766
  ;;
8995
9767
 
8996
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
9768
sysv4 | sysv4.3*)
8997
9769
  version_type=linux
8998
9770
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8999
9771
  soname_spec='${libname}${release}${shared_ext}$major'
9026
9798
  fi
9027
9799
  ;;
9028
9800
 
 
9801
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
9802
  version_type=freebsd-elf
 
9803
  need_lib_prefix=no
 
9804
  need_version=no
 
9805
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
9806
  soname_spec='${libname}${release}${shared_ext}$major'
 
9807
  shlibpath_var=LD_LIBRARY_PATH
 
9808
  hardcode_into_libs=yes
 
9809
  if test "$with_gnu_ld" = yes; then
 
9810
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
9811
    shlibpath_overrides_runpath=no
 
9812
  else
 
9813
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
9814
    shlibpath_overrides_runpath=yes
 
9815
    case $host_os in
 
9816
      sco3.2v5*)
 
9817
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
9818
        ;;
 
9819
    esac
 
9820
  fi
 
9821
  sys_lib_dlsearch_path_spec='/usr/lib'
 
9822
  ;;
 
9823
 
9029
9824
uts4*)
9030
9825
  version_type=linux
9031
9826
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9037
9832
  dynamic_linker=no
9038
9833
  ;;
9039
9834
esac
9040
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9041
 
echo "${ECHO_T}$dynamic_linker" >&6
 
9835
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
9836
echo "${ECHO_T}$dynamic_linker" >&6; }
9042
9837
test "$dynamic_linker" = no && can_build_shared=no
9043
9838
 
9044
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9045
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
9839
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
9840
if test "$GCC" = yes; then
 
9841
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
9842
fi
 
9843
 
 
9844
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
9845
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9046
9846
hardcode_action=
9047
9847
if test -n "$hardcode_libdir_flag_spec" || \
9048
9848
   test -n "$runpath_var" || \
9066
9866
  # directories.
9067
9867
  hardcode_action=unsupported
9068
9868
fi
9069
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
9070
 
echo "${ECHO_T}$hardcode_action" >&6
 
9869
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
9870
echo "${ECHO_T}$hardcode_action" >&6; }
9071
9871
 
9072
9872
if test "$hardcode_action" = relink; then
9073
9873
  # Fast installation is not supported
9080
9880
 
9081
9881
striplib=
9082
9882
old_striplib=
9083
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9084
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
9883
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
9884
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9085
9885
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9086
9886
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9087
9887
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9088
 
  echo "$as_me:$LINENO: result: yes" >&5
9089
 
echo "${ECHO_T}yes" >&6
 
9888
  { echo "$as_me:$LINENO: result: yes" >&5
 
9889
echo "${ECHO_T}yes" >&6; }
9090
9890
else
9091
9891
# FIXME - insert some real tests, host_os isn't really good enough
9092
9892
  case $host_os in
9093
9893
   darwin*)
9094
9894
       if test -n "$STRIP" ; then
9095
9895
         striplib="$STRIP -x"
9096
 
         echo "$as_me:$LINENO: result: yes" >&5
9097
 
echo "${ECHO_T}yes" >&6
 
9896
         { echo "$as_me:$LINENO: result: yes" >&5
 
9897
echo "${ECHO_T}yes" >&6; }
9098
9898
       else
9099
 
  echo "$as_me:$LINENO: result: no" >&5
9100
 
echo "${ECHO_T}no" >&6
 
9899
  { echo "$as_me:$LINENO: result: no" >&5
 
9900
echo "${ECHO_T}no" >&6; }
9101
9901
fi
9102
9902
       ;;
9103
9903
   *)
9104
 
  echo "$as_me:$LINENO: result: no" >&5
9105
 
echo "${ECHO_T}no" >&6
 
9904
  { echo "$as_me:$LINENO: result: no" >&5
 
9905
echo "${ECHO_T}no" >&6; }
9106
9906
    ;;
9107
9907
  esac
9108
9908
fi
9134
9934
 
9135
9935
  darwin*)
9136
9936
  # if libdl is installed we need to link against it
9137
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9138
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
9937
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9938
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9139
9939
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9140
9940
  echo $ECHO_N "(cached) $ECHO_C" >&6
9141
9941
else
9148
9948
cat >>conftest.$ac_ext <<_ACEOF
9149
9949
/* end confdefs.h.  */
9150
9950
 
9151
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9951
/* Override any GCC internal prototype to avoid an error.
 
9952
   Use char because int might match the return type of a GCC
 
9953
   builtin and then its argument prototype would still apply.  */
9152
9954
#ifdef __cplusplus
9153
9955
extern "C"
9154
9956
#endif
9155
 
/* We use char because int might match the return type of a gcc2
9156
 
   builtin and then its argument prototype would still apply.  */
9157
9957
char dlopen ();
9158
9958
int
9159
9959
main ()
9160
9960
{
9161
 
dlopen ();
 
9961
return dlopen ();
9162
9962
  ;
9163
9963
  return 0;
9164
9964
}
9165
9965
_ACEOF
9166
9966
rm -f conftest.$ac_objext conftest$ac_exeext
9167
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9168
 
  (eval $ac_link) 2>conftest.er1
 
9967
if { (ac_try="$ac_link"
 
9968
case "(($ac_try" in
 
9969
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9970
  *) ac_try_echo=$ac_try;;
 
9971
esac
 
9972
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9973
  (eval "$ac_link") 2>conftest.er1
9169
9974
  ac_status=$?
9170
9975
  grep -v '^ *+' conftest.er1 >conftest.err
9171
9976
  rm -f conftest.er1
9172
9977
  cat conftest.err >&5
9173
9978
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9174
 
  (exit $ac_status); } &&
9175
 
         { ac_try='test -z "$ac_c_werror_flag"
9176
 
                         || test ! -s conftest.err'
9177
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9178
 
  (eval $ac_try) 2>&5
9179
 
  ac_status=$?
9180
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9181
 
  (exit $ac_status); }; } &&
9182
 
         { ac_try='test -s conftest$ac_exeext'
9183
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9184
 
  (eval $ac_try) 2>&5
9185
 
  ac_status=$?
9186
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9187
 
  (exit $ac_status); }; }; then
 
9979
  (exit $ac_status); } && {
 
9980
         test -z "$ac_c_werror_flag" ||
 
9981
         test ! -s conftest.err
 
9982
       } && test -s conftest$ac_exeext &&
 
9983
       $as_test_x conftest$ac_exeext; then
9188
9984
  ac_cv_lib_dl_dlopen=yes
9189
9985
else
9190
9986
  echo "$as_me: failed program was:" >&5
9191
9987
sed 's/^/| /' conftest.$ac_ext >&5
9192
9988
 
9193
 
ac_cv_lib_dl_dlopen=no
 
9989
        ac_cv_lib_dl_dlopen=no
9194
9990
fi
9195
 
rm -f conftest.err conftest.$ac_objext \
 
9991
 
 
9992
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9196
9993
      conftest$ac_exeext conftest.$ac_ext
9197
9994
LIBS=$ac_check_lib_save_LIBS
9198
9995
fi
9199
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9200
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
9996
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9997
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9201
9998
if test $ac_cv_lib_dl_dlopen = yes; then
9202
9999
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9203
10000
else
9211
10008
   ;;
9212
10009
 
9213
10010
  *)
9214
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
9215
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
10011
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
10012
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9216
10013
if test "${ac_cv_func_shl_load+set}" = set; then
9217
10014
  echo $ECHO_N "(cached) $ECHO_C" >&6
9218
10015
else
9239
10036
 
9240
10037
#undef shl_load
9241
10038
 
9242
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10039
/* Override any GCC internal prototype to avoid an error.
 
10040
   Use char because int might match the return type of a GCC
 
10041
   builtin and then its argument prototype would still apply.  */
9243
10042
#ifdef __cplusplus
9244
10043
extern "C"
9245
 
{
9246
10044
#endif
9247
 
/* We use char because int might match the return type of a gcc2
9248
 
   builtin and then its argument prototype would still apply.  */
9249
10045
char shl_load ();
9250
10046
/* The GNU C library defines this for functions which it implements
9251
10047
    to always fail with ENOSYS.  Some functions are actually named
9252
10048
    something starting with __ and the normal name is an alias.  */
9253
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
10049
#if defined __stub_shl_load || defined __stub___shl_load
9254
10050
choke me
9255
 
#else
9256
 
char (*f) () = shl_load;
9257
 
#endif
9258
 
#ifdef __cplusplus
9259
 
}
9260
10051
#endif
9261
10052
 
9262
10053
int
9263
10054
main ()
9264
10055
{
9265
 
return f != shl_load;
 
10056
return shl_load ();
9266
10057
  ;
9267
10058
  return 0;
9268
10059
}
9269
10060
_ACEOF
9270
10061
rm -f conftest.$ac_objext conftest$ac_exeext
9271
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9272
 
  (eval $ac_link) 2>conftest.er1
 
10062
if { (ac_try="$ac_link"
 
10063
case "(($ac_try" in
 
10064
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10065
  *) ac_try_echo=$ac_try;;
 
10066
esac
 
10067
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10068
  (eval "$ac_link") 2>conftest.er1
9273
10069
  ac_status=$?
9274
10070
  grep -v '^ *+' conftest.er1 >conftest.err
9275
10071
  rm -f conftest.er1
9276
10072
  cat conftest.err >&5
9277
10073
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9278
 
  (exit $ac_status); } &&
9279
 
         { ac_try='test -z "$ac_c_werror_flag"
9280
 
                         || test ! -s conftest.err'
9281
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9282
 
  (eval $ac_try) 2>&5
9283
 
  ac_status=$?
9284
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9285
 
  (exit $ac_status); }; } &&
9286
 
         { ac_try='test -s conftest$ac_exeext'
9287
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9288
 
  (eval $ac_try) 2>&5
9289
 
  ac_status=$?
9290
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9291
 
  (exit $ac_status); }; }; then
 
10074
  (exit $ac_status); } && {
 
10075
         test -z "$ac_c_werror_flag" ||
 
10076
         test ! -s conftest.err
 
10077
       } && test -s conftest$ac_exeext &&
 
10078
       $as_test_x conftest$ac_exeext; then
9292
10079
  ac_cv_func_shl_load=yes
9293
10080
else
9294
10081
  echo "$as_me: failed program was:" >&5
9295
10082
sed 's/^/| /' conftest.$ac_ext >&5
9296
10083
 
9297
 
ac_cv_func_shl_load=no
 
10084
        ac_cv_func_shl_load=no
9298
10085
fi
9299
 
rm -f conftest.err conftest.$ac_objext \
 
10086
 
 
10087
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9300
10088
      conftest$ac_exeext conftest.$ac_ext
9301
10089
fi
9302
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9303
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
10090
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
10091
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9304
10092
if test $ac_cv_func_shl_load = yes; then
9305
10093
  lt_cv_dlopen="shl_load"
9306
10094
else
9307
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9308
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
10095
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
10096
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9309
10097
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9310
10098
  echo $ECHO_N "(cached) $ECHO_C" >&6
9311
10099
else
9318
10106
cat >>conftest.$ac_ext <<_ACEOF
9319
10107
/* end confdefs.h.  */
9320
10108
 
9321
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10109
/* Override any GCC internal prototype to avoid an error.
 
10110
   Use char because int might match the return type of a GCC
 
10111
   builtin and then its argument prototype would still apply.  */
9322
10112
#ifdef __cplusplus
9323
10113
extern "C"
9324
10114
#endif
9325
 
/* We use char because int might match the return type of a gcc2
9326
 
   builtin and then its argument prototype would still apply.  */
9327
10115
char shl_load ();
9328
10116
int
9329
10117
main ()
9330
10118
{
9331
 
shl_load ();
 
10119
return shl_load ();
9332
10120
  ;
9333
10121
  return 0;
9334
10122
}
9335
10123
_ACEOF
9336
10124
rm -f conftest.$ac_objext conftest$ac_exeext
9337
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9338
 
  (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
9339
10132
  ac_status=$?
9340
10133
  grep -v '^ *+' conftest.er1 >conftest.err
9341
10134
  rm -f conftest.er1
9342
10135
  cat conftest.err >&5
9343
10136
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9344
 
  (exit $ac_status); } &&
9345
 
         { ac_try='test -z "$ac_c_werror_flag"
9346
 
                         || test ! -s conftest.err'
9347
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9348
 
  (eval $ac_try) 2>&5
9349
 
  ac_status=$?
9350
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9351
 
  (exit $ac_status); }; } &&
9352
 
         { ac_try='test -s conftest$ac_exeext'
9353
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9354
 
  (eval $ac_try) 2>&5
9355
 
  ac_status=$?
9356
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9357
 
  (exit $ac_status); }; }; then
 
10137
  (exit $ac_status); } && {
 
10138
         test -z "$ac_c_werror_flag" ||
 
10139
         test ! -s conftest.err
 
10140
       } && test -s conftest$ac_exeext &&
 
10141
       $as_test_x conftest$ac_exeext; then
9358
10142
  ac_cv_lib_dld_shl_load=yes
9359
10143
else
9360
10144
  echo "$as_me: failed program was:" >&5
9361
10145
sed 's/^/| /' conftest.$ac_ext >&5
9362
10146
 
9363
 
ac_cv_lib_dld_shl_load=no
 
10147
        ac_cv_lib_dld_shl_load=no
9364
10148
fi
9365
 
rm -f conftest.err conftest.$ac_objext \
 
10149
 
 
10150
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9366
10151
      conftest$ac_exeext conftest.$ac_ext
9367
10152
LIBS=$ac_check_lib_save_LIBS
9368
10153
fi
9369
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9370
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
10154
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
10155
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9371
10156
if test $ac_cv_lib_dld_shl_load = yes; then
9372
10157
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9373
10158
else
9374
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
9375
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
10159
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
10160
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9376
10161
if test "${ac_cv_func_dlopen+set}" = set; then
9377
10162
  echo $ECHO_N "(cached) $ECHO_C" >&6
9378
10163
else
9399
10184
 
9400
10185
#undef dlopen
9401
10186
 
9402
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10187
/* Override any GCC internal prototype to avoid an error.
 
10188
   Use char because int might match the return type of a GCC
 
10189
   builtin and then its argument prototype would still apply.  */
9403
10190
#ifdef __cplusplus
9404
10191
extern "C"
9405
 
{
9406
10192
#endif
9407
 
/* We use char because int might match the return type of a gcc2
9408
 
   builtin and then its argument prototype would still apply.  */
9409
10193
char dlopen ();
9410
10194
/* The GNU C library defines this for functions which it implements
9411
10195
    to always fail with ENOSYS.  Some functions are actually named
9412
10196
    something starting with __ and the normal name is an alias.  */
9413
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
10197
#if defined __stub_dlopen || defined __stub___dlopen
9414
10198
choke me
9415
 
#else
9416
 
char (*f) () = dlopen;
9417
 
#endif
9418
 
#ifdef __cplusplus
9419
 
}
9420
10199
#endif
9421
10200
 
9422
10201
int
9423
10202
main ()
9424
10203
{
9425
 
return f != dlopen;
 
10204
return dlopen ();
9426
10205
  ;
9427
10206
  return 0;
9428
10207
}
9429
10208
_ACEOF
9430
10209
rm -f conftest.$ac_objext conftest$ac_exeext
9431
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9432
 
  (eval $ac_link) 2>conftest.er1
 
10210
if { (ac_try="$ac_link"
 
10211
case "(($ac_try" in
 
10212
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10213
  *) ac_try_echo=$ac_try;;
 
10214
esac
 
10215
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10216
  (eval "$ac_link") 2>conftest.er1
9433
10217
  ac_status=$?
9434
10218
  grep -v '^ *+' conftest.er1 >conftest.err
9435
10219
  rm -f conftest.er1
9436
10220
  cat conftest.err >&5
9437
10221
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9438
 
  (exit $ac_status); } &&
9439
 
         { ac_try='test -z "$ac_c_werror_flag"
9440
 
                         || test ! -s conftest.err'
9441
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9442
 
  (eval $ac_try) 2>&5
9443
 
  ac_status=$?
9444
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9445
 
  (exit $ac_status); }; } &&
9446
 
         { ac_try='test -s conftest$ac_exeext'
9447
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9448
 
  (eval $ac_try) 2>&5
9449
 
  ac_status=$?
9450
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9451
 
  (exit $ac_status); }; }; then
 
10222
  (exit $ac_status); } && {
 
10223
         test -z "$ac_c_werror_flag" ||
 
10224
         test ! -s conftest.err
 
10225
       } && test -s conftest$ac_exeext &&
 
10226
       $as_test_x conftest$ac_exeext; then
9452
10227
  ac_cv_func_dlopen=yes
9453
10228
else
9454
10229
  echo "$as_me: failed program was:" >&5
9455
10230
sed 's/^/| /' conftest.$ac_ext >&5
9456
10231
 
9457
 
ac_cv_func_dlopen=no
 
10232
        ac_cv_func_dlopen=no
9458
10233
fi
9459
 
rm -f conftest.err conftest.$ac_objext \
 
10234
 
 
10235
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9460
10236
      conftest$ac_exeext conftest.$ac_ext
9461
10237
fi
9462
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9463
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
10238
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
10239
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9464
10240
if test $ac_cv_func_dlopen = yes; then
9465
10241
  lt_cv_dlopen="dlopen"
9466
10242
else
9467
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9468
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
10243
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10244
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9469
10245
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9470
10246
  echo $ECHO_N "(cached) $ECHO_C" >&6
9471
10247
else
9478
10254
cat >>conftest.$ac_ext <<_ACEOF
9479
10255
/* end confdefs.h.  */
9480
10256
 
9481
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10257
/* Override any GCC internal prototype to avoid an error.
 
10258
   Use char because int might match the return type of a GCC
 
10259
   builtin and then its argument prototype would still apply.  */
9482
10260
#ifdef __cplusplus
9483
10261
extern "C"
9484
10262
#endif
9485
 
/* We use char because int might match the return type of a gcc2
9486
 
   builtin and then its argument prototype would still apply.  */
9487
10263
char dlopen ();
9488
10264
int
9489
10265
main ()
9490
10266
{
9491
 
dlopen ();
 
10267
return dlopen ();
9492
10268
  ;
9493
10269
  return 0;
9494
10270
}
9495
10271
_ACEOF
9496
10272
rm -f conftest.$ac_objext conftest$ac_exeext
9497
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9498
 
  (eval $ac_link) 2>conftest.er1
 
10273
if { (ac_try="$ac_link"
 
10274
case "(($ac_try" in
 
10275
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10276
  *) ac_try_echo=$ac_try;;
 
10277
esac
 
10278
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10279
  (eval "$ac_link") 2>conftest.er1
9499
10280
  ac_status=$?
9500
10281
  grep -v '^ *+' conftest.er1 >conftest.err
9501
10282
  rm -f conftest.er1
9502
10283
  cat conftest.err >&5
9503
10284
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9504
 
  (exit $ac_status); } &&
9505
 
         { ac_try='test -z "$ac_c_werror_flag"
9506
 
                         || test ! -s conftest.err'
9507
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9508
 
  (eval $ac_try) 2>&5
9509
 
  ac_status=$?
9510
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9511
 
  (exit $ac_status); }; } &&
9512
 
         { ac_try='test -s conftest$ac_exeext'
9513
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9514
 
  (eval $ac_try) 2>&5
9515
 
  ac_status=$?
9516
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9517
 
  (exit $ac_status); }; }; then
 
10285
  (exit $ac_status); } && {
 
10286
         test -z "$ac_c_werror_flag" ||
 
10287
         test ! -s conftest.err
 
10288
       } && test -s conftest$ac_exeext &&
 
10289
       $as_test_x conftest$ac_exeext; then
9518
10290
  ac_cv_lib_dl_dlopen=yes
9519
10291
else
9520
10292
  echo "$as_me: failed program was:" >&5
9521
10293
sed 's/^/| /' conftest.$ac_ext >&5
9522
10294
 
9523
 
ac_cv_lib_dl_dlopen=no
 
10295
        ac_cv_lib_dl_dlopen=no
9524
10296
fi
9525
 
rm -f conftest.err conftest.$ac_objext \
 
10297
 
 
10298
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9526
10299
      conftest$ac_exeext conftest.$ac_ext
9527
10300
LIBS=$ac_check_lib_save_LIBS
9528
10301
fi
9529
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9530
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
10302
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10303
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9531
10304
if test $ac_cv_lib_dl_dlopen = yes; then
9532
10305
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9533
10306
else
9534
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9535
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
10307
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
10308
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9536
10309
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9537
10310
  echo $ECHO_N "(cached) $ECHO_C" >&6
9538
10311
else
9545
10318
cat >>conftest.$ac_ext <<_ACEOF
9546
10319
/* end confdefs.h.  */
9547
10320
 
9548
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10321
/* Override any GCC internal prototype to avoid an error.
 
10322
   Use char because int might match the return type of a GCC
 
10323
   builtin and then its argument prototype would still apply.  */
9549
10324
#ifdef __cplusplus
9550
10325
extern "C"
9551
10326
#endif
9552
 
/* We use char because int might match the return type of a gcc2
9553
 
   builtin and then its argument prototype would still apply.  */
9554
10327
char dlopen ();
9555
10328
int
9556
10329
main ()
9557
10330
{
9558
 
dlopen ();
 
10331
return dlopen ();
9559
10332
  ;
9560
10333
  return 0;
9561
10334
}
9562
10335
_ACEOF
9563
10336
rm -f conftest.$ac_objext conftest$ac_exeext
9564
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9565
 
  (eval $ac_link) 2>conftest.er1
 
10337
if { (ac_try="$ac_link"
 
10338
case "(($ac_try" in
 
10339
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10340
  *) ac_try_echo=$ac_try;;
 
10341
esac
 
10342
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10343
  (eval "$ac_link") 2>conftest.er1
9566
10344
  ac_status=$?
9567
10345
  grep -v '^ *+' conftest.er1 >conftest.err
9568
10346
  rm -f conftest.er1
9569
10347
  cat conftest.err >&5
9570
10348
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9571
 
  (exit $ac_status); } &&
9572
 
         { ac_try='test -z "$ac_c_werror_flag"
9573
 
                         || test ! -s conftest.err'
9574
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9575
 
  (eval $ac_try) 2>&5
9576
 
  ac_status=$?
9577
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9578
 
  (exit $ac_status); }; } &&
9579
 
         { ac_try='test -s conftest$ac_exeext'
9580
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9581
 
  (eval $ac_try) 2>&5
9582
 
  ac_status=$?
9583
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9584
 
  (exit $ac_status); }; }; then
 
10349
  (exit $ac_status); } && {
 
10350
         test -z "$ac_c_werror_flag" ||
 
10351
         test ! -s conftest.err
 
10352
       } && test -s conftest$ac_exeext &&
 
10353
       $as_test_x conftest$ac_exeext; then
9585
10354
  ac_cv_lib_svld_dlopen=yes
9586
10355
else
9587
10356
  echo "$as_me: failed program was:" >&5
9588
10357
sed 's/^/| /' conftest.$ac_ext >&5
9589
10358
 
9590
 
ac_cv_lib_svld_dlopen=no
 
10359
        ac_cv_lib_svld_dlopen=no
9591
10360
fi
9592
 
rm -f conftest.err conftest.$ac_objext \
 
10361
 
 
10362
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9593
10363
      conftest$ac_exeext conftest.$ac_ext
9594
10364
LIBS=$ac_check_lib_save_LIBS
9595
10365
fi
9596
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9597
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
10366
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
10367
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9598
10368
if test $ac_cv_lib_svld_dlopen = yes; then
9599
10369
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9600
10370
else
9601
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9602
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
10371
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
10372
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9603
10373
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9604
10374
  echo $ECHO_N "(cached) $ECHO_C" >&6
9605
10375
else
9612
10382
cat >>conftest.$ac_ext <<_ACEOF
9613
10383
/* end confdefs.h.  */
9614
10384
 
9615
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10385
/* Override any GCC internal prototype to avoid an error.
 
10386
   Use char because int might match the return type of a GCC
 
10387
   builtin and then its argument prototype would still apply.  */
9616
10388
#ifdef __cplusplus
9617
10389
extern "C"
9618
10390
#endif
9619
 
/* We use char because int might match the return type of a gcc2
9620
 
   builtin and then its argument prototype would still apply.  */
9621
10391
char dld_link ();
9622
10392
int
9623
10393
main ()
9624
10394
{
9625
 
dld_link ();
 
10395
return dld_link ();
9626
10396
  ;
9627
10397
  return 0;
9628
10398
}
9629
10399
_ACEOF
9630
10400
rm -f conftest.$ac_objext conftest$ac_exeext
9631
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9632
 
  (eval $ac_link) 2>conftest.er1
 
10401
if { (ac_try="$ac_link"
 
10402
case "(($ac_try" in
 
10403
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10404
  *) ac_try_echo=$ac_try;;
 
10405
esac
 
10406
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10407
  (eval "$ac_link") 2>conftest.er1
9633
10408
  ac_status=$?
9634
10409
  grep -v '^ *+' conftest.er1 >conftest.err
9635
10410
  rm -f conftest.er1
9636
10411
  cat conftest.err >&5
9637
10412
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9638
 
  (exit $ac_status); } &&
9639
 
         { ac_try='test -z "$ac_c_werror_flag"
9640
 
                         || test ! -s conftest.err'
9641
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9642
 
  (eval $ac_try) 2>&5
9643
 
  ac_status=$?
9644
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9645
 
  (exit $ac_status); }; } &&
9646
 
         { ac_try='test -s conftest$ac_exeext'
9647
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9648
 
  (eval $ac_try) 2>&5
9649
 
  ac_status=$?
9650
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9651
 
  (exit $ac_status); }; }; then
 
10413
  (exit $ac_status); } && {
 
10414
         test -z "$ac_c_werror_flag" ||
 
10415
         test ! -s conftest.err
 
10416
       } && test -s conftest$ac_exeext &&
 
10417
       $as_test_x conftest$ac_exeext; then
9652
10418
  ac_cv_lib_dld_dld_link=yes
9653
10419
else
9654
10420
  echo "$as_me: failed program was:" >&5
9655
10421
sed 's/^/| /' conftest.$ac_ext >&5
9656
10422
 
9657
 
ac_cv_lib_dld_dld_link=no
 
10423
        ac_cv_lib_dld_dld_link=no
9658
10424
fi
9659
 
rm -f conftest.err conftest.$ac_objext \
 
10425
 
 
10426
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9660
10427
      conftest$ac_exeext conftest.$ac_ext
9661
10428
LIBS=$ac_check_lib_save_LIBS
9662
10429
fi
9663
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9664
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
10430
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
10431
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9665
10432
if test $ac_cv_lib_dld_dld_link = yes; then
9666
10433
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9667
10434
fi
9696
10463
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9697
10464
 
9698
10465
    save_LDFLAGS="$LDFLAGS"
9699
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
10466
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9700
10467
 
9701
10468
    save_LIBS="$LIBS"
9702
10469
    LIBS="$lt_cv_dlopen_libs $LIBS"
9703
10470
 
9704
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9705
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
10471
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
10472
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9706
10473
if test "${lt_cv_dlopen_self+set}" = set; then
9707
10474
  echo $ECHO_N "(cached) $ECHO_C" >&6
9708
10475
else
9712
10479
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9713
10480
  lt_status=$lt_dlunknown
9714
10481
  cat > conftest.$ac_ext <<EOF
9715
 
#line 9715 "configure"
 
10482
#line 10482 "configure"
9716
10483
#include "confdefs.h"
9717
10484
 
9718
10485
#if HAVE_DLFCN_H
9769
10536
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9770
10537
      /* dlclose (self); */
9771
10538
    }
 
10539
  else
 
10540
    puts (dlerror ());
9772
10541
 
9773
10542
    exit (status);
9774
10543
}
9778
10547
  ac_status=$?
9779
10548
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9780
10549
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9781
 
    (./conftest; exit; ) 2>/dev/null
 
10550
    (./conftest; exit; ) >&5 2>/dev/null
9782
10551
    lt_status=$?
9783
10552
    case x$lt_status in
9784
10553
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9785
10554
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9786
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
 
10555
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9787
10556
    esac
9788
10557
  else :
9789
10558
    # compilation failed
9794
10563
 
9795
10564
 
9796
10565
fi
9797
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9798
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
10566
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10567
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9799
10568
 
9800
10569
    if test "x$lt_cv_dlopen_self" = xyes; then
9801
 
      LDFLAGS="$LDFLAGS $link_static_flag"
9802
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9803
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
10570
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
10571
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10572
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9804
10573
if test "${lt_cv_dlopen_self_static+set}" = set; then
9805
10574
  echo $ECHO_N "(cached) $ECHO_C" >&6
9806
10575
else
9810
10579
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9811
10580
  lt_status=$lt_dlunknown
9812
10581
  cat > conftest.$ac_ext <<EOF
9813
 
#line 9813 "configure"
 
10582
#line 10582 "configure"
9814
10583
#include "confdefs.h"
9815
10584
 
9816
10585
#if HAVE_DLFCN_H
9867
10636
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9868
10637
      /* dlclose (self); */
9869
10638
    }
 
10639
  else
 
10640
    puts (dlerror ());
9870
10641
 
9871
10642
    exit (status);
9872
10643
}
9876
10647
  ac_status=$?
9877
10648
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9878
10649
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9879
 
    (./conftest; exit; ) 2>/dev/null
 
10650
    (./conftest; exit; ) >&5 2>/dev/null
9880
10651
    lt_status=$?
9881
10652
    case x$lt_status in
9882
10653
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9883
10654
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9884
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
 
10655
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
9885
10656
    esac
9886
10657
  else :
9887
10658
    # compilation failed
9892
10663
 
9893
10664
 
9894
10665
fi
9895
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9896
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
10666
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
10667
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9897
10668
    fi
9898
10669
 
9899
10670
    CPPFLAGS="$save_CPPFLAGS"
9914
10685
fi
9915
10686
 
9916
10687
 
9917
 
# Report which librarie types wil actually be built
9918
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9919
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9920
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
9921
 
echo "${ECHO_T}$can_build_shared" >&6
 
10688
# Report which library types will actually be built
 
10689
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
10690
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
10691
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
10692
echo "${ECHO_T}$can_build_shared" >&6; }
9922
10693
 
9923
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9924
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
10694
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
10695
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9925
10696
test "$can_build_shared" = "no" && enable_shared=no
9926
10697
 
9927
10698
# On AIX, shared libraries and static libraries use the same namespace, and
9928
10699
# are all built from PIC.
9929
 
case "$host_os" in
 
10700
case $host_os in
9930
10701
aix3*)
9931
10702
  test "$enable_shared" = yes && enable_static=no
9932
10703
  if test -n "$RANLIB"; then
9941
10712
  fi
9942
10713
    ;;
9943
10714
esac
9944
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
9945
 
echo "${ECHO_T}$enable_shared" >&6
 
10715
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
10716
echo "${ECHO_T}$enable_shared" >&6; }
9946
10717
 
9947
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9948
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
10718
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
10719
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9949
10720
# Make sure either enable_shared or enable_static is yes.
9950
10721
test "$enable_shared" = yes || enable_static=yes
9951
 
echo "$as_me:$LINENO: result: $enable_static" >&5
9952
 
echo "${ECHO_T}$enable_static" >&6
 
10722
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
10723
echo "${ECHO_T}$enable_static" >&6; }
9953
10724
 
9954
10725
# The else clause should only fire when bootstrapping the
9955
10726
# libtool distribution, otherwise you forgot to ship ltmain.sh
9964
10735
  # Now quote all the things that may contain metacharacters while being
9965
10736
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
9966
10737
  # variables and quote the copies for generation of the libtool script.
9967
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
10738
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9968
10739
    SED SHELL STRIP \
9969
10740
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9970
10741
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10130
10901
# A C compiler.
10131
10902
LTCC=$lt_LTCC
10132
10903
 
 
10904
# LTCC compiler flags.
 
10905
LTCFLAGS=$lt_LTCFLAGS
 
10906
 
10133
10907
# A language-specific compiler.
10134
10908
CC=$lt_compiler
10135
10909
 
10438
11212
CC="$lt_save_CC"
10439
11213
 
10440
11214
 
10441
 
# Check whether --with-tags or --without-tags was given.
 
11215
# Check whether --with-tags was given.
10442
11216
if test "${with_tags+set}" = set; then
10443
 
  withval="$with_tags"
10444
 
  tagnames="$withval"
10445
 
fi;
 
11217
  withval=$with_tags; tagnames="$withval"
 
11218
fi
 
11219
 
10446
11220
 
10447
11221
if test -f "$ltmain" && test -n "$tagnames"; then
10448
11222
  if test ! -f "${ofile}"; then
10460
11234
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10461
11235
    fi
10462
11236
  fi
 
11237
  if test -z "$LTCFLAGS"; then
 
11238
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
 
11239
  fi
10463
11240
 
10464
11241
  # Extract list of available tagged configurations in $ofile.
10465
11242
  # Note that this assumes the entire list is on one line.
10493
11270
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10494
11271
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10495
11272
            (test "X$CXX" != "Xg++"))) ; then
10496
 
          ac_ext=cc
 
11273
          ac_ext=cpp
10497
11274
ac_cpp='$CXXCPP $CPPFLAGS'
10498
11275
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10499
11276
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10512
11289
hardcode_libdir_flag_spec_ld_CXX=
10513
11290
hardcode_libdir_separator_CXX=
10514
11291
hardcode_minus_L_CXX=no
 
11292
hardcode_shlibpath_var_CXX=unsupported
10515
11293
hardcode_automatic_CXX=no
10516
11294
module_cmds_CXX=
10517
11295
module_expsym_cmds_CXX=
10529
11307
compiler_lib_search_path_CXX=
10530
11308
 
10531
11309
# Source file extension for C++ test sources.
10532
 
ac_ext=cc
 
11310
ac_ext=cpp
10533
11311
 
10534
11312
# Object file extension for compiled C++ test sources.
10535
11313
objext=o
10539
11317
lt_simple_compile_test_code="int some_variable = 0;\n"
10540
11318
 
10541
11319
# Code to be used in simple link tests
10542
 
lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
 
11320
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10543
11321
 
10544
11322
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
10545
11323
 
10546
11324
# If no C compiler was specified, use CC.
10547
11325
LTCC=${LTCC-"$CC"}
10548
11326
 
 
11327
# If no C compiler flags were specified, use CFLAGS.
 
11328
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
11329
 
10549
11330
# Allow CC to be a program name with arguments.
10550
11331
compiler=$CC
10551
11332
 
10553
11334
# save warnings/boilerplate of simple test code
10554
11335
ac_outfile=conftest.$ac_objext
10555
11336
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10556
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
11337
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10557
11338
_lt_compiler_boilerplate=`cat conftest.err`
10558
11339
$rm conftest*
10559
11340
 
10560
11341
ac_outfile=conftest.$ac_objext
10561
11342
printf "$lt_simple_link_test_code" >conftest.$ac_ext
10562
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
11343
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10563
11344
_lt_linker_boilerplate=`cat conftest.err`
10564
11345
$rm conftest*
10565
11346
 
10574
11355
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10575
11356
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10576
11357
else
10577
 
  unset lt_cv_prog_gnu_ld
 
11358
  $as_unset lt_cv_prog_gnu_ld
10578
11359
fi
10579
11360
if test -n "${lt_cv_path_LDCXX+set}"; then
10580
11361
  lt_cv_path_LD=$lt_cv_path_LDCXX
10581
11362
else
10582
 
  unset lt_cv_path_LD
 
11363
  $as_unset lt_cv_path_LD
10583
11364
fi
10584
11365
test -z "${LDCXX+set}" || LD=$LDCXX
10585
11366
CC=${CXX-"c++"}
10608
11389
  # Set up default GNU C++ configuration
10609
11390
 
10610
11391
 
10611
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
11392
# Check whether --with-gnu-ld was given.
10612
11393
if test "${with_gnu_ld+set}" = set; then
10613
 
  withval="$with_gnu_ld"
10614
 
  test "$withval" = no || with_gnu_ld=yes
 
11394
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10615
11395
else
10616
11396
  with_gnu_ld=no
10617
 
fi;
 
11397
fi
 
11398
 
10618
11399
ac_prog=ld
10619
11400
if test "$GCC" = yes; then
10620
11401
  # Check if gcc -print-prog-name=ld gives a path.
10621
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10622
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
11402
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
11403
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10623
11404
  case $host in
10624
11405
  *-*-mingw*)
10625
11406
    # gcc leaves a trailing carriage return which upsets mingw
10648
11429
    ;;
10649
11430
  esac
10650
11431
elif test "$with_gnu_ld" = yes; then
10651
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
10652
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
11432
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
11433
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10653
11434
else
10654
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10655
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
11435
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
11436
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10656
11437
fi
10657
11438
if test "${lt_cv_path_LD+set}" = set; then
10658
11439
  echo $ECHO_N "(cached) $ECHO_C" >&6
10665
11446
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10666
11447
      lt_cv_path_LD="$ac_dir/$ac_prog"
10667
11448
      # Check to see if the program is GNU ld.  I'd rather use --version,
10668
 
      # but apparently some GNU ld's only accept -v.
 
11449
      # but apparently some variants of GNU ld only accept -v.
10669
11450
      # Break only if it was the GNU/non-GNU ld that we prefer.
10670
11451
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10671
11452
      *GNU* | *'with BFD'*)
10685
11466
 
10686
11467
LD="$lt_cv_path_LD"
10687
11468
if test -n "$LD"; then
10688
 
  echo "$as_me:$LINENO: result: $LD" >&5
10689
 
echo "${ECHO_T}$LD" >&6
 
11469
  { echo "$as_me:$LINENO: result: $LD" >&5
 
11470
echo "${ECHO_T}$LD" >&6; }
10690
11471
else
10691
 
  echo "$as_me:$LINENO: result: no" >&5
10692
 
echo "${ECHO_T}no" >&6
 
11472
  { echo "$as_me:$LINENO: result: no" >&5
 
11473
echo "${ECHO_T}no" >&6; }
10693
11474
fi
10694
11475
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10695
11476
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10696
11477
   { (exit 1); exit 1; }; }
10697
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10698
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
11478
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
11479
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10699
11480
if test "${lt_cv_prog_gnu_ld+set}" = set; then
10700
11481
  echo $ECHO_N "(cached) $ECHO_C" >&6
10701
11482
else
10702
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
11483
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
10703
11484
case `$LD -v 2>&1 </dev/null` in
10704
11485
*GNU* | *'with BFD'*)
10705
11486
  lt_cv_prog_gnu_ld=yes
10709
11490
  ;;
10710
11491
esac
10711
11492
fi
10712
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10713
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
11493
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
11494
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10714
11495
with_gnu_ld=$lt_cv_prog_gnu_ld
10715
11496
 
10716
11497
 
10760
11541
fi
10761
11542
 
10762
11543
# PORTME: fill in a description of your system's C++ link characteristics
10763
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10764
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
11544
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
11545
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10765
11546
ld_shlibs_CXX=yes
10766
11547
case $host_os in
10767
11548
  aix3*)
10790
11571
            ;;
10791
11572
          esac
10792
11573
        done
 
11574
        ;;
10793
11575
      esac
10794
11576
 
10795
11577
      exp_sym_flag='-bexport'
10827
11609
          hardcode_libdir_flag_spec_CXX='-L$libdir'
10828
11610
          hardcode_libdir_separator_CXX=
10829
11611
        fi
 
11612
        ;;
10830
11613
      esac
10831
11614
      shared_flag='-shared'
10832
11615
      if test "$aix_use_runtimelinking" = yes; then
10871
11654
}
10872
11655
_ACEOF
10873
11656
rm -f conftest.$ac_objext conftest$ac_exeext
10874
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10875
 
  (eval $ac_link) 2>conftest.er1
 
11657
if { (ac_try="$ac_link"
 
11658
case "(($ac_try" in
 
11659
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11660
  *) ac_try_echo=$ac_try;;
 
11661
esac
 
11662
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11663
  (eval "$ac_link") 2>conftest.er1
10876
11664
  ac_status=$?
10877
11665
  grep -v '^ *+' conftest.er1 >conftest.err
10878
11666
  rm -f conftest.er1
10879
11667
  cat conftest.err >&5
10880
11668
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10881
 
  (exit $ac_status); } &&
10882
 
         { ac_try='test -z "$ac_cxx_werror_flag"
10883
 
                         || test ! -s conftest.err'
10884
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10885
 
  (eval $ac_try) 2>&5
10886
 
  ac_status=$?
10887
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10888
 
  (exit $ac_status); }; } &&
10889
 
         { ac_try='test -s conftest$ac_exeext'
10890
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10891
 
  (eval $ac_try) 2>&5
10892
 
  ac_status=$?
10893
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10894
 
  (exit $ac_status); }; }; then
 
11669
  (exit $ac_status); } && {
 
11670
         test -z "$ac_cxx_werror_flag" ||
 
11671
         test ! -s conftest.err
 
11672
       } && test -s conftest$ac_exeext &&
 
11673
       $as_test_x conftest$ac_exeext; then
10895
11674
 
10896
11675
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10897
11676
}'`
10902
11681
  echo "$as_me: failed program was:" >&5
10903
11682
sed 's/^/| /' conftest.$ac_ext >&5
10904
11683
 
 
11684
 
10905
11685
fi
10906
 
rm -f conftest.err conftest.$ac_objext \
 
11686
 
 
11687
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10907
11688
      conftest$ac_exeext conftest.$ac_ext
10908
11689
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10909
11690
 
10910
11691
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10911
11692
 
10912
 
      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"
 
11693
      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"
10913
11694
     else
10914
11695
      if test "$host_cpu" = ia64; then
10915
11696
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
10916
11697
        allow_undefined_flag_CXX="-z nodefs"
10917
 
        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"
 
11698
        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"
10918
11699
      else
10919
11700
        # Determine the default libpath from the value encoded in an empty executable.
10920
11701
        cat >conftest.$ac_ext <<_ACEOF
10933
11714
}
10934
11715
_ACEOF
10935
11716
rm -f conftest.$ac_objext conftest$ac_exeext
10936
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10937
 
  (eval $ac_link) 2>conftest.er1
 
11717
if { (ac_try="$ac_link"
 
11718
case "(($ac_try" in
 
11719
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11720
  *) ac_try_echo=$ac_try;;
 
11721
esac
 
11722
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11723
  (eval "$ac_link") 2>conftest.er1
10938
11724
  ac_status=$?
10939
11725
  grep -v '^ *+' conftest.er1 >conftest.err
10940
11726
  rm -f conftest.er1
10941
11727
  cat conftest.err >&5
10942
11728
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10943
 
  (exit $ac_status); } &&
10944
 
         { ac_try='test -z "$ac_cxx_werror_flag"
10945
 
                         || test ! -s conftest.err'
10946
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10947
 
  (eval $ac_try) 2>&5
10948
 
  ac_status=$?
10949
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10950
 
  (exit $ac_status); }; } &&
10951
 
         { ac_try='test -s conftest$ac_exeext'
10952
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10953
 
  (eval $ac_try) 2>&5
10954
 
  ac_status=$?
10955
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10956
 
  (exit $ac_status); }; }; then
 
11729
  (exit $ac_status); } && {
 
11730
         test -z "$ac_cxx_werror_flag" ||
 
11731
         test ! -s conftest.err
 
11732
       } && test -s conftest$ac_exeext &&
 
11733
       $as_test_x conftest$ac_exeext; then
10957
11734
 
10958
11735
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10959
11736
}'`
10964
11741
  echo "$as_me: failed program was:" >&5
10965
11742
sed 's/^/| /' conftest.$ac_ext >&5
10966
11743
 
 
11744
 
10967
11745
fi
10968
 
rm -f conftest.err conftest.$ac_objext \
 
11746
 
 
11747
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10969
11748
      conftest$ac_exeext conftest.$ac_ext
10970
11749
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10971
11750
 
10974
11753
        # -berok will link without error, but may produce a broken library.
10975
11754
        no_undefined_flag_CXX=' ${wl}-bernotok'
10976
11755
        allow_undefined_flag_CXX=' ${wl}-berok'
10977
 
        # -bexpall does not export symbols beginning with underscore (_)
10978
 
        always_export_symbols_CXX=yes
10979
11756
        # Exported symbols can be pulled into shared objects from archives
10980
 
        whole_archive_flag_spec_CXX=' '
 
11757
        whole_archive_flag_spec_CXX='$convenience'
10981
11758
        archive_cmds_need_lc_CXX=yes
10982
 
        # This is similar to how AIX traditionally builds it's shared libraries.
10983
 
        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'
 
11759
        # This is similar to how AIX traditionally builds its shared libraries.
 
11760
        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'
10984
11761
      fi
10985
11762
    fi
10986
11763
    ;;
 
11764
 
 
11765
  beos*)
 
11766
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
11767
      allow_undefined_flag_CXX=unsupported
 
11768
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
11769
      # support --undefined.  This deserves some investigation.  FIXME
 
11770
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11771
    else
 
11772
      ld_shlibs_CXX=no
 
11773
    fi
 
11774
    ;;
 
11775
 
10987
11776
  chorus*)
10988
11777
    case $cc_basename in
10989
11778
      *)
10993
11782
    esac
10994
11783
    ;;
10995
11784
 
10996
 
 
10997
11785
  cygwin* | mingw* | pw32*)
10998
11786
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10999
11787
    # as there is no search path for DLLs.
11003
11791
    enable_shared_with_static_runtimes_CXX=yes
11004
11792
 
11005
11793
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11006
 
      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'
 
11794
      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'
11007
11795
      # If the export-symbols file already is a .def file (1st line
11008
11796
      # is EXPORTS), use it as is; otherwise, prepend...
11009
11797
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11012
11800
        echo EXPORTS > $output_objdir/$soname.def;
11013
11801
        cat $export_symbols >> $output_objdir/$soname.def;
11014
11802
      fi~
11015
 
      $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'
 
11803
      $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'
11016
11804
    else
11017
11805
      ld_shlibs_CXX=no
11018
11806
    fi
11019
11807
  ;;
11020
11808
      darwin* | rhapsody*)
11021
 
        case "$host_os" in
 
11809
        case $host_os in
11022
11810
        rhapsody* | darwin1.[012])
11023
11811
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11024
11812
         ;;
11056
11844
          archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11057
11845
        fi
11058
11846
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11059
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
 
11847
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11060
11848
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11061
11849
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11062
11850
          else
11069
11857
         output_verbose_link_cmd='echo'
11070
11858
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11071
11859
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11072
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
 
11860
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11073
11861
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11074
11862
          module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11075
11863
          ;;
11149
11937
    ;;
11150
11938
  hpux10*|hpux11*)
11151
11939
    if test $with_gnu_ld = no; then
11152
 
      case "$host_cpu" in
11153
 
      hppa*64*)
11154
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
11940
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
11941
      hardcode_libdir_separator_CXX=:
 
11942
 
 
11943
      case $host_cpu in
 
11944
      hppa*64*|ia64*)
11155
11945
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11156
 
        hardcode_libdir_separator_CXX=:
11157
 
        ;;
11158
 
      ia64*)
11159
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
11160
11946
        ;;
11161
11947
      *)
11162
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11163
 
        hardcode_libdir_separator_CXX=:
11164
11948
        export_dynamic_flag_spec_CXX='${wl}-E'
11165
11949
        ;;
11166
11950
      esac
11167
11951
    fi
11168
 
    case "$host_cpu" in
11169
 
    hppa*64*)
11170
 
      hardcode_direct_CXX=no
11171
 
      hardcode_shlibpath_var_CXX=no
11172
 
      ;;
11173
 
    ia64*)
11174
 
      hardcode_direct_CXX=no
11175
 
      hardcode_shlibpath_var_CXX=no
11176
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
11177
 
                                              # but as the default
11178
 
                                              # location of the library.
 
11952
    case $host_cpu in
 
11953
    hppa*64*|ia64*)
 
11954
      hardcode_direct_CXX=no
 
11955
      hardcode_shlibpath_var_CXX=no
11179
11956
      ;;
11180
11957
    *)
11181
11958
      hardcode_direct_CXX=yes
11191
11968
        ld_shlibs_CXX=no
11192
11969
        ;;
11193
11970
      aCC*)
11194
 
        case "$host_cpu" in
11195
 
        hppa*64*|ia64*)
11196
 
          archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 
11971
        case $host_cpu in
 
11972
        hppa*64*)
 
11973
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
11974
          ;;
 
11975
        ia64*)
 
11976
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11197
11977
          ;;
11198
11978
        *)
11199
11979
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11212
11992
      *)
11213
11993
        if test "$GXX" = yes; then
11214
11994
          if test $with_gnu_ld = no; then
11215
 
            case "$host_cpu" in
11216
 
            ia64*|hppa*64*)
11217
 
              archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 
11995
            case $host_cpu in
 
11996
            hppa*64*)
 
11997
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
11998
              ;;
 
11999
            ia64*)
 
12000
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11218
12001
              ;;
11219
12002
            *)
11220
12003
              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'
11228
12011
        ;;
11229
12012
    esac
11230
12013
    ;;
 
12014
  interix3*)
 
12015
    hardcode_direct_CXX=no
 
12016
    hardcode_shlibpath_var_CXX=no
 
12017
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12018
    export_dynamic_flag_spec_CXX='${wl}-E'
 
12019
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
12020
    # Instead, shared libraries are loaded at an image base (0x10000000 by
 
12021
    # default) and relocated if they conflict, which is a slow very memory
 
12022
    # consuming and fragmenting process.  To avoid this, we pick a random,
 
12023
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
12024
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
12025
    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'
 
12026
    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'
 
12027
    ;;
11231
12028
  irix5* | irix6*)
11232
12029
    case $cc_basename in
11233
12030
      CC*)
11308
12105
        ;;
11309
12106
      pgCC*)
11310
12107
        # Portland Group C++ compiler
11311
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11312
 
        archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 
12108
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
12109
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11313
12110
 
11314
12111
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11315
12112
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11316
 
        whole_archive_flag_spec_CXX=''
 
12113
        whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11317
12114
        ;;
11318
12115
      cxx*)
11319
12116
        # Compaq C++
11510
12307
    # FIXME: insert proper C++ library support
11511
12308
    ld_shlibs_CXX=no
11512
12309
    ;;
11513
 
  sco*)
11514
 
    archive_cmds_need_lc_CXX=no
11515
 
    case $cc_basename in
11516
 
      CC*)
11517
 
        # FIXME: insert proper C++ library support
11518
 
        ld_shlibs_CXX=no
11519
 
        ;;
11520
 
      *)
11521
 
        # FIXME: insert proper C++ library support
11522
 
        ld_shlibs_CXX=no
11523
 
        ;;
11524
 
    esac
11525
 
    ;;
11526
12310
  sunos4*)
11527
12311
    case $cc_basename in
11528
12312
      CC*)
11545
12329
    case $cc_basename in
11546
12330
      CC*)
11547
12331
        # Sun C++ 4.2, 5.x and Centerline C++
 
12332
        archive_cmds_need_lc_CXX=yes
11548
12333
        no_undefined_flag_CXX=' -zdefs'
11549
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12334
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11550
12335
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11551
 
        $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 
12336
        $CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11552
12337
 
11553
12338
        hardcode_libdir_flag_spec_CXX='-R$libdir'
11554
12339
        hardcode_shlibpath_var_CXX=no
11568
12353
        esac
11569
12354
        link_all_deplibs_CXX=yes
11570
12355
 
11571
 
        # Commands to make compiler produce verbose output that lists
11572
 
        # what "hidden" libraries, object files and flags are used when
11573
 
        # linking a shared library.
11574
 
        #
11575
 
        # There doesn't appear to be a way to prevent this compiler from
11576
 
        # explicitly linking system object files so we need to strip them
11577
 
        # from the output so that they don't get included in the library
11578
 
        # dependencies.
11579
 
        output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
 
12356
        output_verbose_link_cmd='echo'
11580
12357
 
11581
12358
        # Archives containing C++ object files must be created using
11582
12359
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11622
12399
        ;;
11623
12400
    esac
11624
12401
    ;;
11625
 
  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
11626
 
    archive_cmds_need_lc_CXX=no
 
12402
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
12403
    no_undefined_flag_CXX='${wl}-z,text'
 
12404
    archive_cmds_need_lc_CXX=no
 
12405
    hardcode_shlibpath_var_CXX=no
 
12406
    runpath_var='LD_RUN_PATH'
 
12407
 
 
12408
    case $cc_basename in
 
12409
      CC*)
 
12410
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12411
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12412
        ;;
 
12413
      *)
 
12414
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12415
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12416
        ;;
 
12417
    esac
 
12418
    ;;
 
12419
  sysv5* | sco3.2v5* | sco5v6*)
 
12420
    # Note: We can NOT use -z defs as we might desire, because we do not
 
12421
    # link with -lc, and that would cause any symbols used from libc to
 
12422
    # always be unresolved, which means just about no library would
 
12423
    # ever link correctly.  If we're not using GNU ld we use -z text
 
12424
    # though, which does catch some bad symbols but isn't as heavy-handed
 
12425
    # as -z defs.
 
12426
    # For security reasons, it is highly recommended that you always
 
12427
    # use absolute paths for naming shared libraries, and exclude the
 
12428
    # DT_RUNPATH tag from executables and libraries.  But doing so
 
12429
    # requires that you compile everything twice, which is a pain.
 
12430
    # So that behaviour is only enabled if SCOABSPATH is set to a
 
12431
    # non-empty value in the environment.  Most likely only useful for
 
12432
    # creating official distributions of packages.
 
12433
    # This is a hack until libtool officially supports absolute path
 
12434
    # names for shared libraries.
 
12435
    no_undefined_flag_CXX='${wl}-z,text'
 
12436
    allow_undefined_flag_CXX='${wl}-z,nodefs'
 
12437
    archive_cmds_need_lc_CXX=no
 
12438
    hardcode_shlibpath_var_CXX=no
 
12439
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
12440
    hardcode_libdir_separator_CXX=':'
 
12441
    link_all_deplibs_CXX=yes
 
12442
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
 
12443
    runpath_var='LD_RUN_PATH'
 
12444
 
 
12445
    case $cc_basename in
 
12446
      CC*)
 
12447
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12448
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12449
        ;;
 
12450
      *)
 
12451
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12452
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12453
        ;;
 
12454
    esac
11627
12455
    ;;
11628
12456
  tandem*)
11629
12457
    case $cc_basename in
11647
12475
    ld_shlibs_CXX=no
11648
12476
    ;;
11649
12477
esac
11650
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11651
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
12478
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12479
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11652
12480
test "$ld_shlibs_CXX" = no && can_build_shared=no
11653
12481
 
11654
12482
GCC_CXX="$GXX"
11680
12508
  # The `*' in the case matches for architectures that use `case' in
11681
12509
  # $output_verbose_cmd can trigger glob expansion during the loop
11682
12510
  # eval without this substitution.
11683
 
  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
 
12511
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11684
12512
 
11685
12513
  for p in `eval $output_verbose_link_cmd`; do
11686
12514
    case $p in
11756
12584
 
11757
12585
$rm -f confest.$objext
11758
12586
 
 
12587
# PORTME: override above test on systems where it is broken
 
12588
case $host_os in
 
12589
interix3*)
 
12590
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
 
12591
  # hack all around it, let's just trust "g++" to DTRT.
 
12592
  predep_objects_CXX=
 
12593
  postdep_objects_CXX=
 
12594
  postdeps_CXX=
 
12595
  ;;
 
12596
 
 
12597
solaris*)
 
12598
  case $cc_basename in
 
12599
  CC*)
 
12600
    # Adding this requires a known-good setup of shared libraries for
 
12601
    # Sun compiler versions before 5.6, else PIC objects from an old
 
12602
    # archive will be linked into the output, leading to subtle bugs.
 
12603
    postdeps_CXX='-lCstd -lCrun'
 
12604
    ;;
 
12605
  esac
 
12606
  ;;
 
12607
esac
 
12608
 
 
12609
 
11759
12610
case " $postdeps_CXX " in
11760
12611
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
11761
12612
esac
11764
12615
lt_prog_compiler_pic_CXX=
11765
12616
lt_prog_compiler_static_CXX=
11766
12617
 
11767
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11768
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
12618
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
12619
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11769
12620
 
11770
12621
  # C++ specific cases for pic, static, wl, etc.
11771
12622
  if test "$GXX" = yes; then
11803
12654
      # DJGPP does not support shared libraries at all
11804
12655
      lt_prog_compiler_pic_CXX=
11805
12656
      ;;
 
12657
    interix3*)
 
12658
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
12659
      # Instead, we relocate shared libraries at runtime.
 
12660
      ;;
11806
12661
    sysv4*MP*)
11807
12662
      if test -d /usr/nec; then
11808
12663
        lt_prog_compiler_pic_CXX=-Kconform_pic
11811
12666
    hpux*)
11812
12667
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11813
12668
      # not for PA HP-UX.
11814
 
      case "$host_cpu" in
 
12669
      case $host_cpu in
11815
12670
      hppa*64*|ia64*)
11816
12671
        ;;
11817
12672
      *)
11872
12727
        case $cc_basename in
11873
12728
          CC*)
11874
12729
            lt_prog_compiler_wl_CXX='-Wl,'
11875
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
 
12730
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
11876
12731
            if test "$host_cpu" != ia64; then
11877
12732
              lt_prog_compiler_pic_CXX='+Z'
11878
12733
            fi
11879
12734
            ;;
11880
12735
          aCC*)
11881
12736
            lt_prog_compiler_wl_CXX='-Wl,'
11882
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11883
 
            case "$host_cpu" in
 
12737
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 
12738
            case $host_cpu in
11884
12739
            hppa*64*|ia64*)
11885
12740
              # +Z the default
11886
12741
              ;;
11893
12748
            ;;
11894
12749
        esac
11895
12750
        ;;
 
12751
      interix*)
 
12752
        # This is c89, which is MS Visual C++ (no shared libs)
 
12753
        # Anyone wants to do a port?
 
12754
        ;;
11896
12755
      irix5* | irix6* | nonstopux*)
11897
12756
        case $cc_basename in
11898
12757
          CC*)
11921
12780
            # Portland Group C++ compiler.
11922
12781
            lt_prog_compiler_wl_CXX='-Wl,'
11923
12782
            lt_prog_compiler_pic_CXX='-fpic'
11924
 
            lt_prog_compiler_static_CXX='-static'
 
12783
            lt_prog_compiler_static_CXX='-Bstatic'
11925
12784
            ;;
11926
12785
          cxx*)
11927
12786
            # Compaq C++
11972
12831
        ;;
11973
12832
      psos*)
11974
12833
        ;;
11975
 
      sco*)
11976
 
        case $cc_basename in
11977
 
          CC*)
11978
 
            lt_prog_compiler_pic_CXX='-fPIC'
11979
 
            ;;
11980
 
          *)
11981
 
            ;;
11982
 
        esac
11983
 
        ;;
11984
12834
      solaris*)
11985
12835
        case $cc_basename in
11986
12836
          CC*)
12022
12872
            ;;
12023
12873
        esac
12024
12874
        ;;
12025
 
      unixware*)
 
12875
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
12876
        case $cc_basename in
 
12877
          CC*)
 
12878
            lt_prog_compiler_wl_CXX='-Wl,'
 
12879
            lt_prog_compiler_pic_CXX='-KPIC'
 
12880
            lt_prog_compiler_static_CXX='-Bstatic'
 
12881
            ;;
 
12882
        esac
12026
12883
        ;;
12027
12884
      vxworks*)
12028
12885
        ;;
12032
12889
    esac
12033
12890
  fi
12034
12891
 
12035
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12036
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 
12892
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
12893
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12037
12894
 
12038
12895
#
12039
12896
# Check to make sure the PIC flag actually works.
12040
12897
#
12041
12898
if test -n "$lt_prog_compiler_pic_CXX"; then
12042
12899
 
12043
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12044
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
 
12900
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
12901
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12045
12902
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12046
12903
  echo $ECHO_N "(cached) $ECHO_C" >&6
12047
12904
else
12055
12912
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12056
12913
   # The option is referenced via a variable to avoid confusing sed.
12057
12914
   lt_compile=`echo "$ac_compile" | $SED \
12058
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
12915
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12059
12916
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12060
12917
   -e 's:$: $lt_compiler_flag:'`
12061
 
   (eval echo "\"\$as_me:12061: $lt_compile\"" >&5)
 
12918
   (eval echo "\"\$as_me:12918: $lt_compile\"" >&5)
12062
12919
   (eval "$lt_compile" 2>conftest.err)
12063
12920
   ac_status=$?
12064
12921
   cat conftest.err >&5
12065
 
   echo "$as_me:12065: \$? = $ac_status" >&5
 
12922
   echo "$as_me:12922: \$? = $ac_status" >&5
12066
12923
   if (exit $ac_status) && test -s "$ac_outfile"; then
12067
12924
     # The compiler can only warn and ignore the option if not recognized
12068
12925
     # So say no if there are warnings other than the usual output.
12069
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
12070
 
     $SED '/^$/d' conftest.err >conftest.er2
12071
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
12926
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
12927
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
12928
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12072
12929
       lt_prog_compiler_pic_works_CXX=yes
12073
12930
     fi
12074
12931
   fi
12075
12932
   $rm conftest*
12076
12933
 
12077
12934
fi
12078
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12079
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 
12935
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
 
12936
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12080
12937
 
12081
12938
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12082
12939
    case $lt_prog_compiler_pic_CXX in
12089
12946
fi
12090
12947
 
12091
12948
fi
12092
 
case "$host_os" in
 
12949
case $host_os in
12093
12950
  # For platforms which do not support PIC, -DPIC is meaningless:
12094
12951
  *djgpp*)
12095
12952
    lt_prog_compiler_pic_CXX=
12099
12956
    ;;
12100
12957
esac
12101
12958
 
12102
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12103
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
12959
#
 
12960
# Check to make sure the static flag actually works.
 
12961
#
 
12962
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
 
12963
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
12964
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
12965
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
 
12966
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12967
else
 
12968
  lt_prog_compiler_static_works_CXX=no
 
12969
   save_LDFLAGS="$LDFLAGS"
 
12970
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
12971
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
12972
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
12973
     # The linker can only warn and ignore the option if not recognized
 
12974
     # So say no if there are warnings
 
12975
     if test -s conftest.err; then
 
12976
       # Append any errors to the config.log.
 
12977
       cat conftest.err 1>&5
 
12978
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
12979
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
12980
       if diff conftest.exp conftest.er2 >/dev/null; then
 
12981
         lt_prog_compiler_static_works_CXX=yes
 
12982
       fi
 
12983
     else
 
12984
       lt_prog_compiler_static_works_CXX=yes
 
12985
     fi
 
12986
   fi
 
12987
   $rm conftest*
 
12988
   LDFLAGS="$save_LDFLAGS"
 
12989
 
 
12990
fi
 
12991
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
 
12992
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
 
12993
 
 
12994
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 
12995
    :
 
12996
else
 
12997
    lt_prog_compiler_static_CXX=
 
12998
fi
 
12999
 
 
13000
 
 
13001
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
13002
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12104
13003
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12105
13004
  echo $ECHO_N "(cached) $ECHO_C" >&6
12106
13005
else
12117
13016
   # Note that $ac_compile itself does not contain backslashes and begins
12118
13017
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12119
13018
   lt_compile=`echo "$ac_compile" | $SED \
12120
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
13019
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12121
13020
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12122
13021
   -e 's:$: $lt_compiler_flag:'`
12123
 
   (eval echo "\"\$as_me:12123: $lt_compile\"" >&5)
 
13022
   (eval echo "\"\$as_me:13022: $lt_compile\"" >&5)
12124
13023
   (eval "$lt_compile" 2>out/conftest.err)
12125
13024
   ac_status=$?
12126
13025
   cat out/conftest.err >&5
12127
 
   echo "$as_me:12127: \$? = $ac_status" >&5
 
13026
   echo "$as_me:13026: \$? = $ac_status" >&5
12128
13027
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12129
13028
   then
12130
13029
     # The compiler can only warn and ignore the option if not recognized
12131
13030
     # So say no if there are warnings
12132
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
12133
 
     $SED '/^$/d' out/conftest.err >out/conftest.er2
12134
 
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
13031
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
13032
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
13033
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12135
13034
       lt_cv_prog_compiler_c_o_CXX=yes
12136
13035
     fi
12137
13036
   fi
12138
 
   chmod u+w .
 
13037
   chmod u+w . 2>&5
12139
13038
   $rm conftest*
12140
13039
   # SGI C++ compiler will create directory out/ii_files/ for
12141
13040
   # template instantiation
12146
13045
   $rm conftest*
12147
13046
 
12148
13047
fi
12149
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12150
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 
13048
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
13049
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12151
13050
 
12152
13051
 
12153
13052
hard_links="nottested"
12154
13053
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12155
13054
  # do not overwrite the value of need_locks provided by the user
12156
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12157
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
13055
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
13056
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12158
13057
  hard_links=yes
12159
13058
  $rm conftest*
12160
13059
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12161
13060
  touch conftest.a
12162
13061
  ln conftest.a conftest.b 2>&5 || hard_links=no
12163
13062
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12164
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
12165
 
echo "${ECHO_T}$hard_links" >&6
 
13063
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
13064
echo "${ECHO_T}$hard_links" >&6; }
12166
13065
  if test "$hard_links" = no; then
12167
13066
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12168
13067
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12172
13071
  need_locks=no
12173
13072
fi
12174
13073
 
12175
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12176
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
13074
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
13075
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12177
13076
 
12178
13077
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12179
13078
  case $host_os in
12197
13096
  ;;
12198
13097
  esac
12199
13098
 
12200
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12201
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
13099
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
13100
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12202
13101
test "$ld_shlibs_CXX" = no && can_build_shared=no
12203
13102
 
12204
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12205
 
if test "$GCC" = yes; then
12206
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12207
 
fi
12208
 
 
12209
13103
#
12210
13104
# Do we need to explicitly link libc?
12211
13105
#
12223
13117
      # Test whether the compiler implicitly links with -lc since on some
12224
13118
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
12225
13119
      # to ld, don't add -lc before -lgcc.
12226
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12227
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
13120
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
13121
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12228
13122
      $rm conftest*
12229
13123
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12230
13124
 
12238
13132
        libobjs=conftest.$ac_objext
12239
13133
        deplibs=
12240
13134
        wl=$lt_prog_compiler_wl_CXX
 
13135
        pic_flag=$lt_prog_compiler_pic_CXX
12241
13136
        compiler_flags=-v
12242
13137
        linker_flags=-v
12243
13138
        verstring=
12260
13155
        cat conftest.err 1>&5
12261
13156
      fi
12262
13157
      $rm conftest*
12263
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12264
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 
13158
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
13159
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12265
13160
      ;;
12266
13161
    esac
12267
13162
  fi
12268
13163
  ;;
12269
13164
esac
12270
13165
 
12271
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12272
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
13166
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
13167
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12273
13168
library_names_spec=
12274
13169
libname_spec='lib$name'
12275
13170
soname_spec=
12398
13293
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12399
13294
      dldir=$destdir/`dirname \$dlpath`~
12400
13295
      test -d \$dldir || mkdir -p \$dldir~
12401
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
13296
      $install_prog $dir/$dlname \$dldir/$dlname~
 
13297
      chmod a+x \$dldir/$dlname'
12402
13298
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12403
13299
      dlpath=$dir/\$dldll~
12404
13300
       $rm \$dlpath'
12451
13347
  soname_spec='${libname}${release}${major}$shared_ext'
12452
13348
  shlibpath_overrides_runpath=yes
12453
13349
  shlibpath_var=DYLD_LIBRARY_PATH
12454
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
 
13350
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12455
13351
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12456
13352
  if test "$GCC" = yes; then
12457
13353
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
12489
13385
freebsd* | dragonfly*)
12490
13386
  # DragonFly does not have aout.  When/if they implement a new
12491
13387
  # versioning mechanism, adjust this.
12492
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
13388
  if test -x /usr/bin/objformat; then
 
13389
    objformat=`/usr/bin/objformat`
 
13390
  else
 
13391
    case $host_os in
 
13392
    freebsd[123]*) objformat=aout ;;
 
13393
    *) objformat=elf ;;
 
13394
    esac
 
13395
  fi
12493
13396
  version_type=freebsd-$objformat
12494
13397
  case $version_type in
12495
13398
    freebsd-elf*)
12511
13414
    shlibpath_overrides_runpath=yes
12512
13415
    hardcode_into_libs=yes
12513
13416
    ;;
12514
 
  *) # from 3.2 on
 
13417
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
13418
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12515
13419
    shlibpath_overrides_runpath=no
12516
13420
    hardcode_into_libs=yes
12517
13421
    ;;
 
13422
  freebsd*) # from 4.6 on
 
13423
    shlibpath_overrides_runpath=yes
 
13424
    hardcode_into_libs=yes
 
13425
    ;;
12518
13426
  esac
12519
13427
  ;;
12520
13428
 
12534
13442
  version_type=sunos
12535
13443
  need_lib_prefix=no
12536
13444
  need_version=no
12537
 
  case "$host_cpu" in
 
13445
  case $host_cpu in
12538
13446
  ia64*)
12539
13447
    shrext_cmds='.so'
12540
13448
    hardcode_into_libs=yes
12574
13482
  postinstall_cmds='chmod 555 $lib'
12575
13483
  ;;
12576
13484
 
 
13485
interix3*)
 
13486
  version_type=linux
 
13487
  need_lib_prefix=no
 
13488
  need_version=no
 
13489
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
13490
  soname_spec='${libname}${release}${shared_ext}$major'
 
13491
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
13492
  shlibpath_var=LD_LIBRARY_PATH
 
13493
  shlibpath_overrides_runpath=no
 
13494
  hardcode_into_libs=yes
 
13495
  ;;
 
13496
 
12577
13497
irix5* | irix6* | nonstopux*)
12578
13498
  case $host_os in
12579
13499
    nonstopux*) version_type=nonstopux ;;
12631
13551
  # before this can be enabled.
12632
13552
  hardcode_into_libs=yes
12633
13553
 
12634
 
  # find out which ABI we are using
12635
 
  libsuff=
12636
 
  case "$host_cpu" in
12637
 
  x86_64*|s390x*|powerpc64*)
12638
 
    echo '#line 12638 "configure"' > conftest.$ac_ext
12639
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12640
 
  (eval $ac_compile) 2>&5
12641
 
  ac_status=$?
12642
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12643
 
  (exit $ac_status); }; then
12644
 
      case `/usr/bin/file conftest.$ac_objext` in
12645
 
      *64-bit*)
12646
 
        libsuff=64
12647
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12648
 
        ;;
12649
 
      esac
12650
 
    fi
12651
 
    rm -rf conftest*
12652
 
    ;;
12653
 
  esac
12654
 
 
12655
13554
  # Append ld.so.conf contents to the search path
12656
13555
  if test -f /etc/ld.so.conf; then
12657
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12658
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
13556
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
13557
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12659
13558
  fi
12660
13559
 
12661
13560
  # We used to test for /lib/ld.so.1 and disable shared libraries on
12716
13615
 
12717
13616
openbsd*)
12718
13617
  version_type=sunos
 
13618
  sys_lib_dlsearch_path_spec="/usr/lib"
12719
13619
  need_lib_prefix=no
12720
 
  need_version=no
 
13620
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
13621
  case $host_os in
 
13622
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
13623
    *)                         need_version=no  ;;
 
13624
  esac
12721
13625
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12722
13626
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12723
13627
  shlibpath_var=LD_LIBRARY_PATH
12755
13659
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12756
13660
  ;;
12757
13661
 
12758
 
sco3.2v5*)
12759
 
  version_type=osf
12760
 
  soname_spec='${libname}${release}${shared_ext}$major'
12761
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12762
 
  shlibpath_var=LD_LIBRARY_PATH
12763
 
  ;;
12764
 
 
12765
13662
solaris*)
12766
13663
  version_type=linux
12767
13664
  need_lib_prefix=no
12787
13684
  need_version=yes
12788
13685
  ;;
12789
13686
 
12790
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
13687
sysv4 | sysv4.3*)
12791
13688
  version_type=linux
12792
13689
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12793
13690
  soname_spec='${libname}${release}${shared_ext}$major'
12820
13717
  fi
12821
13718
  ;;
12822
13719
 
 
13720
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
13721
  version_type=freebsd-elf
 
13722
  need_lib_prefix=no
 
13723
  need_version=no
 
13724
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
13725
  soname_spec='${libname}${release}${shared_ext}$major'
 
13726
  shlibpath_var=LD_LIBRARY_PATH
 
13727
  hardcode_into_libs=yes
 
13728
  if test "$with_gnu_ld" = yes; then
 
13729
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
13730
    shlibpath_overrides_runpath=no
 
13731
  else
 
13732
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
13733
    shlibpath_overrides_runpath=yes
 
13734
    case $host_os in
 
13735
      sco3.2v5*)
 
13736
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
13737
        ;;
 
13738
    esac
 
13739
  fi
 
13740
  sys_lib_dlsearch_path_spec='/usr/lib'
 
13741
  ;;
 
13742
 
12823
13743
uts4*)
12824
13744
  version_type=linux
12825
13745
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12831
13751
  dynamic_linker=no
12832
13752
  ;;
12833
13753
esac
12834
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12835
 
echo "${ECHO_T}$dynamic_linker" >&6
 
13754
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
13755
echo "${ECHO_T}$dynamic_linker" >&6; }
12836
13756
test "$dynamic_linker" = no && can_build_shared=no
12837
13757
 
12838
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12839
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
13758
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
13759
if test "$GCC" = yes; then
 
13760
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
13761
fi
 
13762
 
 
13763
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
13764
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12840
13765
hardcode_action_CXX=
12841
13766
if test -n "$hardcode_libdir_flag_spec_CXX" || \
12842
13767
   test -n "$runpath_var_CXX" || \
12860
13785
  # directories.
12861
13786
  hardcode_action_CXX=unsupported
12862
13787
fi
12863
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12864
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
 
13788
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
13789
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
12865
13790
 
12866
13791
if test "$hardcode_action_CXX" = relink; then
12867
13792
  # Fast installation is not supported
12872
13797
  enable_fast_install=needless
12873
13798
fi
12874
13799
 
12875
 
striplib=
12876
 
old_striplib=
12877
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12878
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
12879
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
12880
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12881
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12882
 
  echo "$as_me:$LINENO: result: yes" >&5
12883
 
echo "${ECHO_T}yes" >&6
12884
 
else
12885
 
# FIXME - insert some real tests, host_os isn't really good enough
12886
 
  case $host_os in
12887
 
   darwin*)
12888
 
       if test -n "$STRIP" ; then
12889
 
         striplib="$STRIP -x"
12890
 
         echo "$as_me:$LINENO: result: yes" >&5
12891
 
echo "${ECHO_T}yes" >&6
12892
 
       else
12893
 
  echo "$as_me:$LINENO: result: no" >&5
12894
 
echo "${ECHO_T}no" >&6
12895
 
fi
12896
 
       ;;
12897
 
   *)
12898
 
  echo "$as_me:$LINENO: result: no" >&5
12899
 
echo "${ECHO_T}no" >&6
12900
 
    ;;
12901
 
  esac
12902
 
fi
12903
 
 
12904
 
if test "x$enable_dlopen" != xyes; then
12905
 
  enable_dlopen=unknown
12906
 
  enable_dlopen_self=unknown
12907
 
  enable_dlopen_self_static=unknown
12908
 
else
12909
 
  lt_cv_dlopen=no
12910
 
  lt_cv_dlopen_libs=
12911
 
 
12912
 
  case $host_os in
12913
 
  beos*)
12914
 
    lt_cv_dlopen="load_add_on"
12915
 
    lt_cv_dlopen_libs=
12916
 
    lt_cv_dlopen_self=yes
12917
 
    ;;
12918
 
 
12919
 
  mingw* | pw32*)
12920
 
    lt_cv_dlopen="LoadLibrary"
12921
 
    lt_cv_dlopen_libs=
12922
 
   ;;
12923
 
 
12924
 
  cygwin*)
12925
 
    lt_cv_dlopen="dlopen"
12926
 
    lt_cv_dlopen_libs=
12927
 
   ;;
12928
 
 
12929
 
  darwin*)
12930
 
  # if libdl is installed we need to link against it
12931
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12932
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12933
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12934
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12935
 
else
12936
 
  ac_check_lib_save_LIBS=$LIBS
12937
 
LIBS="-ldl  $LIBS"
12938
 
cat >conftest.$ac_ext <<_ACEOF
12939
 
/* confdefs.h.  */
12940
 
_ACEOF
12941
 
cat confdefs.h >>conftest.$ac_ext
12942
 
cat >>conftest.$ac_ext <<_ACEOF
12943
 
/* end confdefs.h.  */
12944
 
 
12945
 
/* Override any gcc2 internal prototype to avoid an error.  */
12946
 
#ifdef __cplusplus
12947
 
extern "C"
12948
 
#endif
12949
 
/* We use char because int might match the return type of a gcc2
12950
 
   builtin and then its argument prototype would still apply.  */
12951
 
char dlopen ();
12952
 
int
12953
 
main ()
12954
 
{
12955
 
dlopen ();
12956
 
  ;
12957
 
  return 0;
12958
 
}
12959
 
_ACEOF
12960
 
rm -f conftest.$ac_objext conftest$ac_exeext
12961
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12962
 
  (eval $ac_link) 2>conftest.er1
12963
 
  ac_status=$?
12964
 
  grep -v '^ *+' conftest.er1 >conftest.err
12965
 
  rm -f conftest.er1
12966
 
  cat conftest.err >&5
12967
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12968
 
  (exit $ac_status); } &&
12969
 
         { ac_try='test -z "$ac_cxx_werror_flag"
12970
 
                         || test ! -s conftest.err'
12971
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12972
 
  (eval $ac_try) 2>&5
12973
 
  ac_status=$?
12974
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12975
 
  (exit $ac_status); }; } &&
12976
 
         { ac_try='test -s conftest$ac_exeext'
12977
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12978
 
  (eval $ac_try) 2>&5
12979
 
  ac_status=$?
12980
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12981
 
  (exit $ac_status); }; }; then
12982
 
  ac_cv_lib_dl_dlopen=yes
12983
 
else
12984
 
  echo "$as_me: failed program was:" >&5
12985
 
sed 's/^/| /' conftest.$ac_ext >&5
12986
 
 
12987
 
ac_cv_lib_dl_dlopen=no
12988
 
fi
12989
 
rm -f conftest.err conftest.$ac_objext \
12990
 
      conftest$ac_exeext conftest.$ac_ext
12991
 
LIBS=$ac_check_lib_save_LIBS
12992
 
fi
12993
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12994
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12995
 
if test $ac_cv_lib_dl_dlopen = yes; then
12996
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12997
 
else
12998
 
 
12999
 
    lt_cv_dlopen="dyld"
13000
 
    lt_cv_dlopen_libs=
13001
 
    lt_cv_dlopen_self=yes
13002
 
 
13003
 
fi
13004
 
 
13005
 
   ;;
13006
 
 
13007
 
  *)
13008
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
13009
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
13010
 
if test "${ac_cv_func_shl_load+set}" = set; then
13011
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13012
 
else
13013
 
  cat >conftest.$ac_ext <<_ACEOF
13014
 
/* confdefs.h.  */
13015
 
_ACEOF
13016
 
cat confdefs.h >>conftest.$ac_ext
13017
 
cat >>conftest.$ac_ext <<_ACEOF
13018
 
/* end confdefs.h.  */
13019
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
13020
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13021
 
#define shl_load innocuous_shl_load
13022
 
 
13023
 
/* System header to define __stub macros and hopefully few prototypes,
13024
 
    which can conflict with char shl_load (); below.
13025
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13026
 
    <limits.h> exists even on freestanding compilers.  */
13027
 
 
13028
 
#ifdef __STDC__
13029
 
# include <limits.h>
13030
 
#else
13031
 
# include <assert.h>
13032
 
#endif
13033
 
 
13034
 
#undef shl_load
13035
 
 
13036
 
/* Override any gcc2 internal prototype to avoid an error.  */
13037
 
#ifdef __cplusplus
13038
 
extern "C"
13039
 
{
13040
 
#endif
13041
 
/* We use char because int might match the return type of a gcc2
13042
 
   builtin and then its argument prototype would still apply.  */
13043
 
char shl_load ();
13044
 
/* The GNU C library defines this for functions which it implements
13045
 
    to always fail with ENOSYS.  Some functions are actually named
13046
 
    something starting with __ and the normal name is an alias.  */
13047
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
13048
 
choke me
13049
 
#else
13050
 
char (*f) () = shl_load;
13051
 
#endif
13052
 
#ifdef __cplusplus
13053
 
}
13054
 
#endif
13055
 
 
13056
 
int
13057
 
main ()
13058
 
{
13059
 
return f != shl_load;
13060
 
  ;
13061
 
  return 0;
13062
 
}
13063
 
_ACEOF
13064
 
rm -f conftest.$ac_objext conftest$ac_exeext
13065
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13066
 
  (eval $ac_link) 2>conftest.er1
13067
 
  ac_status=$?
13068
 
  grep -v '^ *+' conftest.er1 >conftest.err
13069
 
  rm -f conftest.er1
13070
 
  cat conftest.err >&5
13071
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13072
 
  (exit $ac_status); } &&
13073
 
         { ac_try='test -z "$ac_cxx_werror_flag"
13074
 
                         || test ! -s conftest.err'
13075
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13076
 
  (eval $ac_try) 2>&5
13077
 
  ac_status=$?
13078
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13079
 
  (exit $ac_status); }; } &&
13080
 
         { ac_try='test -s conftest$ac_exeext'
13081
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13082
 
  (eval $ac_try) 2>&5
13083
 
  ac_status=$?
13084
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13085
 
  (exit $ac_status); }; }; then
13086
 
  ac_cv_func_shl_load=yes
13087
 
else
13088
 
  echo "$as_me: failed program was:" >&5
13089
 
sed 's/^/| /' conftest.$ac_ext >&5
13090
 
 
13091
 
ac_cv_func_shl_load=no
13092
 
fi
13093
 
rm -f conftest.err conftest.$ac_objext \
13094
 
      conftest$ac_exeext conftest.$ac_ext
13095
 
fi
13096
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
13097
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
13098
 
if test $ac_cv_func_shl_load = yes; then
13099
 
  lt_cv_dlopen="shl_load"
13100
 
else
13101
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
13102
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
13103
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
13104
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13105
 
else
13106
 
  ac_check_lib_save_LIBS=$LIBS
13107
 
LIBS="-ldld  $LIBS"
13108
 
cat >conftest.$ac_ext <<_ACEOF
13109
 
/* confdefs.h.  */
13110
 
_ACEOF
13111
 
cat confdefs.h >>conftest.$ac_ext
13112
 
cat >>conftest.$ac_ext <<_ACEOF
13113
 
/* end confdefs.h.  */
13114
 
 
13115
 
/* Override any gcc2 internal prototype to avoid an error.  */
13116
 
#ifdef __cplusplus
13117
 
extern "C"
13118
 
#endif
13119
 
/* We use char because int might match the return type of a gcc2
13120
 
   builtin and then its argument prototype would still apply.  */
13121
 
char shl_load ();
13122
 
int
13123
 
main ()
13124
 
{
13125
 
shl_load ();
13126
 
  ;
13127
 
  return 0;
13128
 
}
13129
 
_ACEOF
13130
 
rm -f conftest.$ac_objext conftest$ac_exeext
13131
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13132
 
  (eval $ac_link) 2>conftest.er1
13133
 
  ac_status=$?
13134
 
  grep -v '^ *+' conftest.er1 >conftest.err
13135
 
  rm -f conftest.er1
13136
 
  cat conftest.err >&5
13137
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13138
 
  (exit $ac_status); } &&
13139
 
         { ac_try='test -z "$ac_cxx_werror_flag"
13140
 
                         || test ! -s conftest.err'
13141
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13142
 
  (eval $ac_try) 2>&5
13143
 
  ac_status=$?
13144
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145
 
  (exit $ac_status); }; } &&
13146
 
         { ac_try='test -s conftest$ac_exeext'
13147
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13148
 
  (eval $ac_try) 2>&5
13149
 
  ac_status=$?
13150
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13151
 
  (exit $ac_status); }; }; then
13152
 
  ac_cv_lib_dld_shl_load=yes
13153
 
else
13154
 
  echo "$as_me: failed program was:" >&5
13155
 
sed 's/^/| /' conftest.$ac_ext >&5
13156
 
 
13157
 
ac_cv_lib_dld_shl_load=no
13158
 
fi
13159
 
rm -f conftest.err conftest.$ac_objext \
13160
 
      conftest$ac_exeext conftest.$ac_ext
13161
 
LIBS=$ac_check_lib_save_LIBS
13162
 
fi
13163
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
13164
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
13165
 
if test $ac_cv_lib_dld_shl_load = yes; then
13166
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
13167
 
else
13168
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
13169
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
13170
 
if test "${ac_cv_func_dlopen+set}" = set; then
13171
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13172
 
else
13173
 
  cat >conftest.$ac_ext <<_ACEOF
13174
 
/* confdefs.h.  */
13175
 
_ACEOF
13176
 
cat confdefs.h >>conftest.$ac_ext
13177
 
cat >>conftest.$ac_ext <<_ACEOF
13178
 
/* end confdefs.h.  */
13179
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
13180
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13181
 
#define dlopen innocuous_dlopen
13182
 
 
13183
 
/* System header to define __stub macros and hopefully few prototypes,
13184
 
    which can conflict with char dlopen (); below.
13185
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13186
 
    <limits.h> exists even on freestanding compilers.  */
13187
 
 
13188
 
#ifdef __STDC__
13189
 
# include <limits.h>
13190
 
#else
13191
 
# include <assert.h>
13192
 
#endif
13193
 
 
13194
 
#undef dlopen
13195
 
 
13196
 
/* Override any gcc2 internal prototype to avoid an error.  */
13197
 
#ifdef __cplusplus
13198
 
extern "C"
13199
 
{
13200
 
#endif
13201
 
/* We use char because int might match the return type of a gcc2
13202
 
   builtin and then its argument prototype would still apply.  */
13203
 
char dlopen ();
13204
 
/* The GNU C library defines this for functions which it implements
13205
 
    to always fail with ENOSYS.  Some functions are actually named
13206
 
    something starting with __ and the normal name is an alias.  */
13207
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
13208
 
choke me
13209
 
#else
13210
 
char (*f) () = dlopen;
13211
 
#endif
13212
 
#ifdef __cplusplus
13213
 
}
13214
 
#endif
13215
 
 
13216
 
int
13217
 
main ()
13218
 
{
13219
 
return f != dlopen;
13220
 
  ;
13221
 
  return 0;
13222
 
}
13223
 
_ACEOF
13224
 
rm -f conftest.$ac_objext conftest$ac_exeext
13225
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13226
 
  (eval $ac_link) 2>conftest.er1
13227
 
  ac_status=$?
13228
 
  grep -v '^ *+' conftest.er1 >conftest.err
13229
 
  rm -f conftest.er1
13230
 
  cat conftest.err >&5
13231
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232
 
  (exit $ac_status); } &&
13233
 
         { ac_try='test -z "$ac_cxx_werror_flag"
13234
 
                         || test ! -s conftest.err'
13235
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13236
 
  (eval $ac_try) 2>&5
13237
 
  ac_status=$?
13238
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13239
 
  (exit $ac_status); }; } &&
13240
 
         { ac_try='test -s conftest$ac_exeext'
13241
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13242
 
  (eval $ac_try) 2>&5
13243
 
  ac_status=$?
13244
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13245
 
  (exit $ac_status); }; }; then
13246
 
  ac_cv_func_dlopen=yes
13247
 
else
13248
 
  echo "$as_me: failed program was:" >&5
13249
 
sed 's/^/| /' conftest.$ac_ext >&5
13250
 
 
13251
 
ac_cv_func_dlopen=no
13252
 
fi
13253
 
rm -f conftest.err conftest.$ac_objext \
13254
 
      conftest$ac_exeext conftest.$ac_ext
13255
 
fi
13256
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
13257
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
13258
 
if test $ac_cv_func_dlopen = yes; then
13259
 
  lt_cv_dlopen="dlopen"
13260
 
else
13261
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13262
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13263
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13264
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13265
 
else
13266
 
  ac_check_lib_save_LIBS=$LIBS
13267
 
LIBS="-ldl  $LIBS"
13268
 
cat >conftest.$ac_ext <<_ACEOF
13269
 
/* confdefs.h.  */
13270
 
_ACEOF
13271
 
cat confdefs.h >>conftest.$ac_ext
13272
 
cat >>conftest.$ac_ext <<_ACEOF
13273
 
/* end confdefs.h.  */
13274
 
 
13275
 
/* Override any gcc2 internal prototype to avoid an error.  */
13276
 
#ifdef __cplusplus
13277
 
extern "C"
13278
 
#endif
13279
 
/* We use char because int might match the return type of a gcc2
13280
 
   builtin and then its argument prototype would still apply.  */
13281
 
char dlopen ();
13282
 
int
13283
 
main ()
13284
 
{
13285
 
dlopen ();
13286
 
  ;
13287
 
  return 0;
13288
 
}
13289
 
_ACEOF
13290
 
rm -f conftest.$ac_objext conftest$ac_exeext
13291
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13292
 
  (eval $ac_link) 2>conftest.er1
13293
 
  ac_status=$?
13294
 
  grep -v '^ *+' conftest.er1 >conftest.err
13295
 
  rm -f conftest.er1
13296
 
  cat conftest.err >&5
13297
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298
 
  (exit $ac_status); } &&
13299
 
         { ac_try='test -z "$ac_cxx_werror_flag"
13300
 
                         || test ! -s conftest.err'
13301
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13302
 
  (eval $ac_try) 2>&5
13303
 
  ac_status=$?
13304
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13305
 
  (exit $ac_status); }; } &&
13306
 
         { ac_try='test -s conftest$ac_exeext'
13307
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13308
 
  (eval $ac_try) 2>&5
13309
 
  ac_status=$?
13310
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13311
 
  (exit $ac_status); }; }; then
13312
 
  ac_cv_lib_dl_dlopen=yes
13313
 
else
13314
 
  echo "$as_me: failed program was:" >&5
13315
 
sed 's/^/| /' conftest.$ac_ext >&5
13316
 
 
13317
 
ac_cv_lib_dl_dlopen=no
13318
 
fi
13319
 
rm -f conftest.err conftest.$ac_objext \
13320
 
      conftest$ac_exeext conftest.$ac_ext
13321
 
LIBS=$ac_check_lib_save_LIBS
13322
 
fi
13323
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13324
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13325
 
if test $ac_cv_lib_dl_dlopen = yes; then
13326
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13327
 
else
13328
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
13329
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
13330
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
13331
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13332
 
else
13333
 
  ac_check_lib_save_LIBS=$LIBS
13334
 
LIBS="-lsvld  $LIBS"
13335
 
cat >conftest.$ac_ext <<_ACEOF
13336
 
/* confdefs.h.  */
13337
 
_ACEOF
13338
 
cat confdefs.h >>conftest.$ac_ext
13339
 
cat >>conftest.$ac_ext <<_ACEOF
13340
 
/* end confdefs.h.  */
13341
 
 
13342
 
/* Override any gcc2 internal prototype to avoid an error.  */
13343
 
#ifdef __cplusplus
13344
 
extern "C"
13345
 
#endif
13346
 
/* We use char because int might match the return type of a gcc2
13347
 
   builtin and then its argument prototype would still apply.  */
13348
 
char dlopen ();
13349
 
int
13350
 
main ()
13351
 
{
13352
 
dlopen ();
13353
 
  ;
13354
 
  return 0;
13355
 
}
13356
 
_ACEOF
13357
 
rm -f conftest.$ac_objext conftest$ac_exeext
13358
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13359
 
  (eval $ac_link) 2>conftest.er1
13360
 
  ac_status=$?
13361
 
  grep -v '^ *+' conftest.er1 >conftest.err
13362
 
  rm -f conftest.er1
13363
 
  cat conftest.err >&5
13364
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13365
 
  (exit $ac_status); } &&
13366
 
         { ac_try='test -z "$ac_cxx_werror_flag"
13367
 
                         || test ! -s conftest.err'
13368
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13369
 
  (eval $ac_try) 2>&5
13370
 
  ac_status=$?
13371
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13372
 
  (exit $ac_status); }; } &&
13373
 
         { ac_try='test -s conftest$ac_exeext'
13374
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13375
 
  (eval $ac_try) 2>&5
13376
 
  ac_status=$?
13377
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13378
 
  (exit $ac_status); }; }; then
13379
 
  ac_cv_lib_svld_dlopen=yes
13380
 
else
13381
 
  echo "$as_me: failed program was:" >&5
13382
 
sed 's/^/| /' conftest.$ac_ext >&5
13383
 
 
13384
 
ac_cv_lib_svld_dlopen=no
13385
 
fi
13386
 
rm -f conftest.err conftest.$ac_objext \
13387
 
      conftest$ac_exeext conftest.$ac_ext
13388
 
LIBS=$ac_check_lib_save_LIBS
13389
 
fi
13390
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
13391
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
13392
 
if test $ac_cv_lib_svld_dlopen = yes; then
13393
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13394
 
else
13395
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
13396
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
13397
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
13398
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13399
 
else
13400
 
  ac_check_lib_save_LIBS=$LIBS
13401
 
LIBS="-ldld  $LIBS"
13402
 
cat >conftest.$ac_ext <<_ACEOF
13403
 
/* confdefs.h.  */
13404
 
_ACEOF
13405
 
cat confdefs.h >>conftest.$ac_ext
13406
 
cat >>conftest.$ac_ext <<_ACEOF
13407
 
/* end confdefs.h.  */
13408
 
 
13409
 
/* Override any gcc2 internal prototype to avoid an error.  */
13410
 
#ifdef __cplusplus
13411
 
extern "C"
13412
 
#endif
13413
 
/* We use char because int might match the return type of a gcc2
13414
 
   builtin and then its argument prototype would still apply.  */
13415
 
char dld_link ();
13416
 
int
13417
 
main ()
13418
 
{
13419
 
dld_link ();
13420
 
  ;
13421
 
  return 0;
13422
 
}
13423
 
_ACEOF
13424
 
rm -f conftest.$ac_objext conftest$ac_exeext
13425
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13426
 
  (eval $ac_link) 2>conftest.er1
13427
 
  ac_status=$?
13428
 
  grep -v '^ *+' conftest.er1 >conftest.err
13429
 
  rm -f conftest.er1
13430
 
  cat conftest.err >&5
13431
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13432
 
  (exit $ac_status); } &&
13433
 
         { ac_try='test -z "$ac_cxx_werror_flag"
13434
 
                         || test ! -s conftest.err'
13435
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13436
 
  (eval $ac_try) 2>&5
13437
 
  ac_status=$?
13438
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13439
 
  (exit $ac_status); }; } &&
13440
 
         { ac_try='test -s conftest$ac_exeext'
13441
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13442
 
  (eval $ac_try) 2>&5
13443
 
  ac_status=$?
13444
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13445
 
  (exit $ac_status); }; }; then
13446
 
  ac_cv_lib_dld_dld_link=yes
13447
 
else
13448
 
  echo "$as_me: failed program was:" >&5
13449
 
sed 's/^/| /' conftest.$ac_ext >&5
13450
 
 
13451
 
ac_cv_lib_dld_dld_link=no
13452
 
fi
13453
 
rm -f conftest.err conftest.$ac_objext \
13454
 
      conftest$ac_exeext conftest.$ac_ext
13455
 
LIBS=$ac_check_lib_save_LIBS
13456
 
fi
13457
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13458
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
13459
 
if test $ac_cv_lib_dld_dld_link = yes; then
13460
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
13461
 
fi
13462
 
 
13463
 
 
13464
 
fi
13465
 
 
13466
 
 
13467
 
fi
13468
 
 
13469
 
 
13470
 
fi
13471
 
 
13472
 
 
13473
 
fi
13474
 
 
13475
 
 
13476
 
fi
13477
 
 
13478
 
    ;;
13479
 
  esac
13480
 
 
13481
 
  if test "x$lt_cv_dlopen" != xno; then
13482
 
    enable_dlopen=yes
13483
 
  else
13484
 
    enable_dlopen=no
13485
 
  fi
13486
 
 
13487
 
  case $lt_cv_dlopen in
13488
 
  dlopen)
13489
 
    save_CPPFLAGS="$CPPFLAGS"
13490
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13491
 
 
13492
 
    save_LDFLAGS="$LDFLAGS"
13493
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13494
 
 
13495
 
    save_LIBS="$LIBS"
13496
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
13497
 
 
13498
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13499
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
13500
 
if test "${lt_cv_dlopen_self+set}" = set; then
13501
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13502
 
else
13503
 
          if test "$cross_compiling" = yes; then :
13504
 
  lt_cv_dlopen_self=cross
13505
 
else
13506
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13507
 
  lt_status=$lt_dlunknown
13508
 
  cat > conftest.$ac_ext <<EOF
13509
 
#line 13509 "configure"
13510
 
#include "confdefs.h"
13511
 
 
13512
 
#if HAVE_DLFCN_H
13513
 
#include <dlfcn.h>
13514
 
#endif
13515
 
 
13516
 
#include <stdio.h>
13517
 
 
13518
 
#ifdef RTLD_GLOBAL
13519
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
13520
 
#else
13521
 
#  ifdef DL_GLOBAL
13522
 
#    define LT_DLGLOBAL         DL_GLOBAL
13523
 
#  else
13524
 
#    define LT_DLGLOBAL         0
13525
 
#  endif
13526
 
#endif
13527
 
 
13528
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13529
 
   find out it does not work in some platform. */
13530
 
#ifndef LT_DLLAZY_OR_NOW
13531
 
#  ifdef RTLD_LAZY
13532
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13533
 
#  else
13534
 
#    ifdef DL_LAZY
13535
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
13536
 
#    else
13537
 
#      ifdef RTLD_NOW
13538
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
13539
 
#      else
13540
 
#        ifdef DL_NOW
13541
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
13542
 
#        else
13543
 
#          define LT_DLLAZY_OR_NOW      0
13544
 
#        endif
13545
 
#      endif
13546
 
#    endif
13547
 
#  endif
13548
 
#endif
13549
 
 
13550
 
#ifdef __cplusplus
13551
 
extern "C" void exit (int);
13552
 
#endif
13553
 
 
13554
 
void fnord() { int i=42;}
13555
 
int main ()
13556
 
{
13557
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13558
 
  int status = $lt_dlunknown;
13559
 
 
13560
 
  if (self)
13561
 
    {
13562
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13563
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13564
 
      /* dlclose (self); */
13565
 
    }
13566
 
 
13567
 
    exit (status);
13568
 
}
13569
 
EOF
13570
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13571
 
  (eval $ac_link) 2>&5
13572
 
  ac_status=$?
13573
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13574
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13575
 
    (./conftest; exit; ) 2>/dev/null
13576
 
    lt_status=$?
13577
 
    case x$lt_status in
13578
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13579
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13580
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
13581
 
    esac
13582
 
  else :
13583
 
    # compilation failed
13584
 
    lt_cv_dlopen_self=no
13585
 
  fi
13586
 
fi
13587
 
rm -fr conftest*
13588
 
 
13589
 
 
13590
 
fi
13591
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
13592
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
13593
 
 
13594
 
    if test "x$lt_cv_dlopen_self" = xyes; then
13595
 
      LDFLAGS="$LDFLAGS $link_static_flag"
13596
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13597
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
13598
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
13599
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13600
 
else
13601
 
          if test "$cross_compiling" = yes; then :
13602
 
  lt_cv_dlopen_self_static=cross
13603
 
else
13604
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13605
 
  lt_status=$lt_dlunknown
13606
 
  cat > conftest.$ac_ext <<EOF
13607
 
#line 13607 "configure"
13608
 
#include "confdefs.h"
13609
 
 
13610
 
#if HAVE_DLFCN_H
13611
 
#include <dlfcn.h>
13612
 
#endif
13613
 
 
13614
 
#include <stdio.h>
13615
 
 
13616
 
#ifdef RTLD_GLOBAL
13617
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
13618
 
#else
13619
 
#  ifdef DL_GLOBAL
13620
 
#    define LT_DLGLOBAL         DL_GLOBAL
13621
 
#  else
13622
 
#    define LT_DLGLOBAL         0
13623
 
#  endif
13624
 
#endif
13625
 
 
13626
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13627
 
   find out it does not work in some platform. */
13628
 
#ifndef LT_DLLAZY_OR_NOW
13629
 
#  ifdef RTLD_LAZY
13630
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13631
 
#  else
13632
 
#    ifdef DL_LAZY
13633
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
13634
 
#    else
13635
 
#      ifdef RTLD_NOW
13636
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
13637
 
#      else
13638
 
#        ifdef DL_NOW
13639
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
13640
 
#        else
13641
 
#          define LT_DLLAZY_OR_NOW      0
13642
 
#        endif
13643
 
#      endif
13644
 
#    endif
13645
 
#  endif
13646
 
#endif
13647
 
 
13648
 
#ifdef __cplusplus
13649
 
extern "C" void exit (int);
13650
 
#endif
13651
 
 
13652
 
void fnord() { int i=42;}
13653
 
int main ()
13654
 
{
13655
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13656
 
  int status = $lt_dlunknown;
13657
 
 
13658
 
  if (self)
13659
 
    {
13660
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13661
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13662
 
      /* dlclose (self); */
13663
 
    }
13664
 
 
13665
 
    exit (status);
13666
 
}
13667
 
EOF
13668
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13669
 
  (eval $ac_link) 2>&5
13670
 
  ac_status=$?
13671
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13672
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13673
 
    (./conftest; exit; ) 2>/dev/null
13674
 
    lt_status=$?
13675
 
    case x$lt_status in
13676
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13677
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13678
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
13679
 
    esac
13680
 
  else :
13681
 
    # compilation failed
13682
 
    lt_cv_dlopen_self_static=no
13683
 
  fi
13684
 
fi
13685
 
rm -fr conftest*
13686
 
 
13687
 
 
13688
 
fi
13689
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13690
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
13691
 
    fi
13692
 
 
13693
 
    CPPFLAGS="$save_CPPFLAGS"
13694
 
    LDFLAGS="$save_LDFLAGS"
13695
 
    LIBS="$save_LIBS"
13696
 
    ;;
13697
 
  esac
13698
 
 
13699
 
  case $lt_cv_dlopen_self in
13700
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13701
 
  *) enable_dlopen_self=unknown ;;
13702
 
  esac
13703
 
 
13704
 
  case $lt_cv_dlopen_self_static in
13705
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13706
 
  *) enable_dlopen_self_static=unknown ;;
13707
 
  esac
13708
 
fi
13709
 
 
13710
13800
 
13711
13801
# The else clause should only fire when bootstrapping the
13712
13802
# libtool distribution, otherwise you forgot to ship ltmain.sh
13721
13811
  # Now quote all the things that may contain metacharacters while being
13722
13812
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
13723
13813
  # variables and quote the copies for generation of the libtool script.
13724
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
13814
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13725
13815
    SED SHELL STRIP \
13726
13816
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13727
13817
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13839
13929
# A C compiler.
13840
13930
LTCC=$lt_LTCC
13841
13931
 
 
13932
# LTCC compiler flags.
 
13933
LTCFLAGS=$lt_LTCFLAGS
 
13934
 
13842
13935
# A language-specific compiler.
13843
13936
CC=$lt_compiler_CXX
13844
13937
 
14181
14274
# If no C compiler was specified, use CC.
14182
14275
LTCC=${LTCC-"$CC"}
14183
14276
 
 
14277
# If no C compiler flags were specified, use CFLAGS.
 
14278
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
14279
 
14184
14280
# Allow CC to be a program name with arguments.
14185
14281
compiler=$CC
14186
14282
 
14188
14284
# save warnings/boilerplate of simple test code
14189
14285
ac_outfile=conftest.$ac_objext
14190
14286
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
14191
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
14287
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14192
14288
_lt_compiler_boilerplate=`cat conftest.err`
14193
14289
$rm conftest*
14194
14290
 
14195
14291
ac_outfile=conftest.$ac_objext
14196
14292
printf "$lt_simple_link_test_code" >conftest.$ac_ext
14197
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
14293
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14198
14294
_lt_linker_boilerplate=`cat conftest.err`
14199
14295
$rm conftest*
14200
14296
 
14215
14311
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14216
14312
 
14217
14313
 
14218
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14219
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
14220
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
14221
 
echo "${ECHO_T}$can_build_shared" >&6
 
14314
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
14315
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
14316
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
14317
echo "${ECHO_T}$can_build_shared" >&6; }
14222
14318
 
14223
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14224
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
14319
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
14320
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14225
14321
test "$can_build_shared" = "no" && enable_shared=no
14226
14322
 
14227
14323
# On AIX, shared libraries and static libraries use the same namespace, and
14228
14324
# are all built from PIC.
14229
 
case "$host_os" in
 
14325
case $host_os in
14230
14326
aix3*)
14231
14327
  test "$enable_shared" = yes && enable_static=no
14232
14328
  if test -n "$RANLIB"; then
14240
14336
  fi
14241
14337
  ;;
14242
14338
esac
14243
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
14244
 
echo "${ECHO_T}$enable_shared" >&6
 
14339
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
14340
echo "${ECHO_T}$enable_shared" >&6; }
14245
14341
 
14246
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14247
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
14342
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
14343
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14248
14344
# Make sure either enable_shared or enable_static is yes.
14249
14345
test "$enable_shared" = yes || enable_static=yes
14250
 
echo "$as_me:$LINENO: result: $enable_static" >&5
14251
 
echo "${ECHO_T}$enable_static" >&6
14252
 
 
14253
 
test "$ld_shlibs_F77" = no && can_build_shared=no
 
14346
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
14347
echo "${ECHO_T}$enable_static" >&6; }
14254
14348
 
14255
14349
GCC_F77="$G77"
14256
14350
LD_F77="$LD"
14259
14353
lt_prog_compiler_pic_F77=
14260
14354
lt_prog_compiler_static_F77=
14261
14355
 
14262
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14263
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
14356
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
14357
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14264
14358
 
14265
14359
  if test "$GCC" = yes; then
14266
14360
    lt_prog_compiler_wl_F77='-Wl,'
14298
14392
      lt_prog_compiler_pic_F77='-fno-common'
14299
14393
      ;;
14300
14394
 
 
14395
    interix3*)
 
14396
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
14397
      # Instead, we relocate shared libraries at runtime.
 
14398
      ;;
 
14399
 
14301
14400
    msdosdjgpp*)
14302
14401
      # Just because we use GCC doesn't mean we suddenly get shared libraries
14303
14402
      # on systems that don't support them.
14314
14413
    hpux*)
14315
14414
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14316
14415
      # not for PA HP-UX.
14317
 
      case "$host_cpu" in
 
14416
      case $host_cpu in
14318
14417
      hppa*64*|ia64*)
14319
14418
        # +Z the default
14320
14419
        ;;
14361
14460
      lt_prog_compiler_wl_F77='-Wl,'
14362
14461
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14363
14462
      # not for PA HP-UX.
14364
 
      case "$host_cpu" in
 
14463
      case $host_cpu in
14365
14464
      hppa*64*|ia64*)
14366
14465
        # +Z the default
14367
14466
        ;;
14391
14490
        lt_prog_compiler_pic_F77='-KPIC'
14392
14491
        lt_prog_compiler_static_F77='-static'
14393
14492
        ;;
14394
 
      pgcc* | pgf77* | pgf90*)
 
14493
      pgcc* | pgf77* | pgf90* | pgf95*)
14395
14494
        # Portland Group compilers (*not* the Pentium gcc compiler,
14396
14495
        # which looks to be a dead project)
14397
14496
        lt_prog_compiler_wl_F77='-Wl,'
14398
14497
        lt_prog_compiler_pic_F77='-fpic'
14399
 
        lt_prog_compiler_static_F77='-static'
 
14498
        lt_prog_compiler_static_F77='-Bstatic'
14400
14499
        ;;
14401
14500
      ccc*)
14402
14501
        lt_prog_compiler_wl_F77='-Wl,'
14412
14511
      lt_prog_compiler_static_F77='-non_shared'
14413
14512
      ;;
14414
14513
 
14415
 
    sco3.2v5*)
14416
 
      lt_prog_compiler_pic_F77='-Kpic'
14417
 
      lt_prog_compiler_static_F77='-dn'
14418
 
      ;;
14419
 
 
14420
14514
    solaris*)
14421
14515
      lt_prog_compiler_pic_F77='-KPIC'
14422
14516
      lt_prog_compiler_static_F77='-Bstatic'
14434
14528
      lt_prog_compiler_static_F77='-Bstatic'
14435
14529
      ;;
14436
14530
 
14437
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
14531
    sysv4 | sysv4.2uw2* | sysv4.3*)
14438
14532
      lt_prog_compiler_wl_F77='-Wl,'
14439
14533
      lt_prog_compiler_pic_F77='-KPIC'
14440
14534
      lt_prog_compiler_static_F77='-Bstatic'
14447
14541
      fi
14448
14542
      ;;
14449
14543
 
 
14544
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
14545
      lt_prog_compiler_wl_F77='-Wl,'
 
14546
      lt_prog_compiler_pic_F77='-KPIC'
 
14547
      lt_prog_compiler_static_F77='-Bstatic'
 
14548
      ;;
 
14549
 
14450
14550
    unicos*)
14451
14551
      lt_prog_compiler_wl_F77='-Wl,'
14452
14552
      lt_prog_compiler_can_build_shared_F77=no
14463
14563
    esac
14464
14564
  fi
14465
14565
 
14466
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14467
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 
14566
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
14567
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14468
14568
 
14469
14569
#
14470
14570
# Check to make sure the PIC flag actually works.
14471
14571
#
14472
14572
if test -n "$lt_prog_compiler_pic_F77"; then
14473
14573
 
14474
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14475
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
 
14574
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
14575
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14476
14576
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14477
14577
  echo $ECHO_N "(cached) $ECHO_C" >&6
14478
14578
else
14486
14586
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14487
14587
   # The option is referenced via a variable to avoid confusing sed.
14488
14588
   lt_compile=`echo "$ac_compile" | $SED \
14489
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
14589
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14490
14590
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14491
14591
   -e 's:$: $lt_compiler_flag:'`
14492
 
   (eval echo "\"\$as_me:14492: $lt_compile\"" >&5)
 
14592
   (eval echo "\"\$as_me:14592: $lt_compile\"" >&5)
14493
14593
   (eval "$lt_compile" 2>conftest.err)
14494
14594
   ac_status=$?
14495
14595
   cat conftest.err >&5
14496
 
   echo "$as_me:14496: \$? = $ac_status" >&5
 
14596
   echo "$as_me:14596: \$? = $ac_status" >&5
14497
14597
   if (exit $ac_status) && test -s "$ac_outfile"; then
14498
14598
     # The compiler can only warn and ignore the option if not recognized
14499
14599
     # So say no if there are warnings other than the usual output.
14500
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
14501
 
     $SED '/^$/d' conftest.err >conftest.er2
14502
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
14600
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
14601
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
14602
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14503
14603
       lt_prog_compiler_pic_works_F77=yes
14504
14604
     fi
14505
14605
   fi
14506
14606
   $rm conftest*
14507
14607
 
14508
14608
fi
14509
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14510
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 
14609
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
 
14610
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14511
14611
 
14512
14612
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
14513
14613
    case $lt_prog_compiler_pic_F77 in
14520
14620
fi
14521
14621
 
14522
14622
fi
14523
 
case "$host_os" in
 
14623
case $host_os in
14524
14624
  # For platforms which do not support PIC, -DPIC is meaningless:
14525
14625
  *djgpp*)
14526
14626
    lt_prog_compiler_pic_F77=
14530
14630
    ;;
14531
14631
esac
14532
14632
 
14533
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14534
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
14633
#
 
14634
# Check to make sure the static flag actually works.
 
14635
#
 
14636
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
 
14637
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
14638
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
14639
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
 
14640
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14641
else
 
14642
  lt_prog_compiler_static_works_F77=no
 
14643
   save_LDFLAGS="$LDFLAGS"
 
14644
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
14645
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
14646
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
14647
     # The linker can only warn and ignore the option if not recognized
 
14648
     # So say no if there are warnings
 
14649
     if test -s conftest.err; then
 
14650
       # Append any errors to the config.log.
 
14651
       cat conftest.err 1>&5
 
14652
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
14653
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
14654
       if diff conftest.exp conftest.er2 >/dev/null; then
 
14655
         lt_prog_compiler_static_works_F77=yes
 
14656
       fi
 
14657
     else
 
14658
       lt_prog_compiler_static_works_F77=yes
 
14659
     fi
 
14660
   fi
 
14661
   $rm conftest*
 
14662
   LDFLAGS="$save_LDFLAGS"
 
14663
 
 
14664
fi
 
14665
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
 
14666
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
 
14667
 
 
14668
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
 
14669
    :
 
14670
else
 
14671
    lt_prog_compiler_static_F77=
 
14672
fi
 
14673
 
 
14674
 
 
14675
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14676
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14535
14677
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14536
14678
  echo $ECHO_N "(cached) $ECHO_C" >&6
14537
14679
else
14548
14690
   # Note that $ac_compile itself does not contain backslashes and begins
14549
14691
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14550
14692
   lt_compile=`echo "$ac_compile" | $SED \
14551
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
14693
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14552
14694
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14553
14695
   -e 's:$: $lt_compiler_flag:'`
14554
 
   (eval echo "\"\$as_me:14554: $lt_compile\"" >&5)
 
14696
   (eval echo "\"\$as_me:14696: $lt_compile\"" >&5)
14555
14697
   (eval "$lt_compile" 2>out/conftest.err)
14556
14698
   ac_status=$?
14557
14699
   cat out/conftest.err >&5
14558
 
   echo "$as_me:14558: \$? = $ac_status" >&5
 
14700
   echo "$as_me:14700: \$? = $ac_status" >&5
14559
14701
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14560
14702
   then
14561
14703
     # The compiler can only warn and ignore the option if not recognized
14562
14704
     # So say no if there are warnings
14563
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
14564
 
     $SED '/^$/d' out/conftest.err >out/conftest.er2
14565
 
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
14705
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
14706
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
14707
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14566
14708
       lt_cv_prog_compiler_c_o_F77=yes
14567
14709
     fi
14568
14710
   fi
14569
 
   chmod u+w .
 
14711
   chmod u+w . 2>&5
14570
14712
   $rm conftest*
14571
14713
   # SGI C++ compiler will create directory out/ii_files/ for
14572
14714
   # template instantiation
14577
14719
   $rm conftest*
14578
14720
 
14579
14721
fi
14580
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14581
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 
14722
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
14723
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14582
14724
 
14583
14725
 
14584
14726
hard_links="nottested"
14585
14727
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
14586
14728
  # do not overwrite the value of need_locks provided by the user
14587
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14588
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
14729
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
14730
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14589
14731
  hard_links=yes
14590
14732
  $rm conftest*
14591
14733
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14592
14734
  touch conftest.a
14593
14735
  ln conftest.a conftest.b 2>&5 || hard_links=no
14594
14736
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14595
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
14596
 
echo "${ECHO_T}$hard_links" >&6
 
14737
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
14738
echo "${ECHO_T}$hard_links" >&6; }
14597
14739
  if test "$hard_links" = no; then
14598
14740
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14599
14741
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14603
14745
  need_locks=no
14604
14746
fi
14605
14747
 
14606
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14607
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
14748
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14749
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14608
14750
 
14609
14751
  runpath_var=
14610
14752
  allow_undefined_flag_F77=
14662
14804
      with_gnu_ld=no
14663
14805
    fi
14664
14806
    ;;
 
14807
  interix*)
 
14808
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
14809
    with_gnu_ld=yes
 
14810
    ;;
14665
14811
  openbsd*)
14666
14812
    with_gnu_ld=no
14667
14813
    ;;
14746
14892
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14747
14893
 
14748
14894
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14749
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
14895
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14750
14896
        # If the export-symbols file already is a .def file (1st line
14751
14897
        # is EXPORTS), use it as is; otherwise, prepend...
14752
14898
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14755
14901
          echo EXPORTS > $output_objdir/$soname.def;
14756
14902
          cat $export_symbols >> $output_objdir/$soname.def;
14757
14903
        fi~
14758
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 
14904
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14759
14905
      else
14760
14906
        ld_shlibs_F77=no
14761
14907
      fi
14762
14908
      ;;
14763
14909
 
 
14910
    interix3*)
 
14911
      hardcode_direct_F77=no
 
14912
      hardcode_shlibpath_var_F77=no
 
14913
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
14914
      export_dynamic_flag_spec_F77='${wl}-E'
 
14915
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
14916
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
14917
      # default) and relocated if they conflict, which is a slow very memory
 
14918
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
14919
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
14920
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
14921
      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'
 
14922
      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'
 
14923
      ;;
 
14924
 
14764
14925
    linux*)
14765
14926
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14766
14927
        tmp_addflag=
14767
14928
        case $cc_basename,$host_cpu in
14768
14929
        pgcc*)                          # Portland Group C compiler
14769
 
          whole_archive_flag_spec_F77=
 
14930
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
14931
          tmp_addflag=' $pic_flag'
14770
14932
          ;;
14771
 
        pgf77* | pgf90* )                       # Portland Group f77 and f90 compilers
14772
 
          whole_archive_flag_spec_F77=
14773
 
          tmp_addflag=' -fpic -Mnomain' ;;
 
14933
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
14934
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
14935
          tmp_addflag=' $pic_flag -Mnomain' ;;
14774
14936
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
14775
14937
          tmp_addflag=' -i_dynamic' ;;
14776
14938
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
14801
14963
      fi
14802
14964
      ;;
14803
14965
 
14804
 
    solaris* | sysv5*)
 
14966
    solaris*)
14805
14967
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
14806
14968
        ld_shlibs_F77=no
14807
14969
        cat <<EOF 1>&2
14822
14984
      fi
14823
14985
      ;;
14824
14986
 
 
14987
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
14988
      case `$LD -v 2>&1` in
 
14989
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
14990
        ld_shlibs_F77=no
 
14991
        cat <<_LT_EOF 1>&2
 
14992
 
 
14993
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
14994
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
14995
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
14996
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
14997
*** your PATH or compiler configuration so that the native linker is
 
14998
*** used, and then restart.
 
14999
 
 
15000
_LT_EOF
 
15001
        ;;
 
15002
        *)
 
15003
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
15004
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
15005
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
15006
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
15007
          else
 
15008
            ld_shlibs_F77=no
 
15009
          fi
 
15010
        ;;
 
15011
      esac
 
15012
      ;;
 
15013
 
14825
15014
    sunos4*)
14826
15015
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14827
15016
      wlarc=
14855
15044
      # Note: this linker hardcodes the directories in LIBPATH if there
14856
15045
      # are no directories specified by -L.
14857
15046
      hardcode_minus_L_F77=yes
14858
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
15047
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14859
15048
        # Neither direct hardcoding nor static linking is supported with a
14860
15049
        # broken collect2.
14861
15050
        hardcode_direct_F77=unsupported
14889
15078
            break
14890
15079
          fi
14891
15080
          done
 
15081
          ;;
14892
15082
        esac
14893
15083
 
14894
15084
        exp_sym_flag='-bexport'
14926
15116
          hardcode_libdir_flag_spec_F77='-L$libdir'
14927
15117
          hardcode_libdir_separator_F77=
14928
15118
          fi
 
15119
          ;;
14929
15120
        esac
14930
15121
        shared_flag='-shared'
14931
15122
        if test "$aix_use_runtimelinking" = yes; then
14938
15129
        # chokes on -Wl,-G. The following line is correct:
14939
15130
          shared_flag='-G'
14940
15131
        else
14941
 
        if test "$aix_use_runtimelinking" = yes; then
 
15132
          if test "$aix_use_runtimelinking" = yes; then
14942
15133
            shared_flag='${wl}-G'
14943
15134
          else
14944
15135
            shared_flag='${wl}-bM:SRE'
14945
 
        fi
 
15136
          fi
14946
15137
        fi
14947
15138
      fi
14948
15139
 
14960
15151
      end
14961
15152
_ACEOF
14962
15153
rm -f conftest.$ac_objext conftest$ac_exeext
14963
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14964
 
  (eval $ac_link) 2>conftest.er1
 
15154
if { (ac_try="$ac_link"
 
15155
case "(($ac_try" in
 
15156
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15157
  *) ac_try_echo=$ac_try;;
 
15158
esac
 
15159
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15160
  (eval "$ac_link") 2>conftest.er1
14965
15161
  ac_status=$?
14966
15162
  grep -v '^ *+' conftest.er1 >conftest.err
14967
15163
  rm -f conftest.er1
14968
15164
  cat conftest.err >&5
14969
15165
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970
 
  (exit $ac_status); } &&
14971
 
         { ac_try='test -z "$ac_f77_werror_flag"
14972
 
                         || test ! -s conftest.err'
14973
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14974
 
  (eval $ac_try) 2>&5
14975
 
  ac_status=$?
14976
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14977
 
  (exit $ac_status); }; } &&
14978
 
         { ac_try='test -s conftest$ac_exeext'
14979
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14980
 
  (eval $ac_try) 2>&5
14981
 
  ac_status=$?
14982
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14983
 
  (exit $ac_status); }; }; then
 
15166
  (exit $ac_status); } && {
 
15167
         test -z "$ac_f77_werror_flag" ||
 
15168
         test ! -s conftest.err
 
15169
       } && test -s conftest$ac_exeext &&
 
15170
       $as_test_x conftest$ac_exeext; then
14984
15171
 
14985
15172
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14986
15173
}'`
14991
15178
  echo "$as_me: failed program was:" >&5
14992
15179
sed 's/^/| /' conftest.$ac_ext >&5
14993
15180
 
 
15181
 
14994
15182
fi
14995
 
rm -f conftest.err conftest.$ac_objext \
 
15183
 
 
15184
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14996
15185
      conftest$ac_exeext conftest.$ac_ext
14997
15186
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14998
15187
 
14999
15188
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15000
 
        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"
 
15189
        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"
15001
15190
       else
15002
15191
        if test "$host_cpu" = ia64; then
15003
15192
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15004
15193
          allow_undefined_flag_F77="-z nodefs"
15005
 
          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"
 
15194
          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"
15006
15195
        else
15007
15196
         # Determine the default libpath from the value encoded in an empty executable.
15008
15197
         cat >conftest.$ac_ext <<_ACEOF
15011
15200
      end
15012
15201
_ACEOF
15013
15202
rm -f conftest.$ac_objext conftest$ac_exeext
15014
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15015
 
  (eval $ac_link) 2>conftest.er1
 
15203
if { (ac_try="$ac_link"
 
15204
case "(($ac_try" in
 
15205
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15206
  *) ac_try_echo=$ac_try;;
 
15207
esac
 
15208
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15209
  (eval "$ac_link") 2>conftest.er1
15016
15210
  ac_status=$?
15017
15211
  grep -v '^ *+' conftest.er1 >conftest.err
15018
15212
  rm -f conftest.er1
15019
15213
  cat conftest.err >&5
15020
15214
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15021
 
  (exit $ac_status); } &&
15022
 
         { ac_try='test -z "$ac_f77_werror_flag"
15023
 
                         || test ! -s conftest.err'
15024
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15025
 
  (eval $ac_try) 2>&5
15026
 
  ac_status=$?
15027
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15028
 
  (exit $ac_status); }; } &&
15029
 
         { ac_try='test -s conftest$ac_exeext'
15030
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15031
 
  (eval $ac_try) 2>&5
15032
 
  ac_status=$?
15033
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034
 
  (exit $ac_status); }; }; then
 
15215
  (exit $ac_status); } && {
 
15216
         test -z "$ac_f77_werror_flag" ||
 
15217
         test ! -s conftest.err
 
15218
       } && test -s conftest$ac_exeext &&
 
15219
       $as_test_x conftest$ac_exeext; then
15035
15220
 
15036
15221
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
15037
15222
}'`
15042
15227
  echo "$as_me: failed program was:" >&5
15043
15228
sed 's/^/| /' conftest.$ac_ext >&5
15044
15229
 
 
15230
 
15045
15231
fi
15046
 
rm -f conftest.err conftest.$ac_objext \
 
15232
 
 
15233
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15047
15234
      conftest$ac_exeext conftest.$ac_ext
15048
15235
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15049
15236
 
15052
15239
          # -berok will link without error, but may produce a broken library.
15053
15240
          no_undefined_flag_F77=' ${wl}-bernotok'
15054
15241
          allow_undefined_flag_F77=' ${wl}-berok'
15055
 
          # -bexpall does not export symbols beginning with underscore (_)
15056
 
          always_export_symbols_F77=yes
15057
15242
          # Exported symbols can be pulled into shared objects from archives
15058
 
          whole_archive_flag_spec_F77=' '
 
15243
          whole_archive_flag_spec_F77='$convenience'
15059
15244
          archive_cmds_need_lc_F77=yes
15060
 
          # This is similar to how AIX traditionally builds it's shared libraries.
15061
 
          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'
 
15245
          # This is similar to how AIX traditionally builds its shared libraries.
 
15246
          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'
15062
15247
        fi
15063
15248
      fi
15064
15249
      ;;
15097
15282
      ;;
15098
15283
 
15099
15284
    darwin* | rhapsody*)
15100
 
      case "$host_os" in
 
15285
      case $host_os in
15101
15286
        rhapsody* | darwin1.[012])
15102
15287
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
15103
15288
         ;;
15126
15311
        output_verbose_link_cmd='echo'
15127
15312
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15128
15313
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15129
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
 
15314
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15130
15315
      archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15131
15316
      module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15132
15317
    else
15135
15320
         output_verbose_link_cmd='echo'
15136
15321
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15137
15322
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15138
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
 
15323
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15139
15324
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15140
15325
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15141
15326
          ;;
15199
15384
      export_dynamic_flag_spec_F77='${wl}-E'
15200
15385
      ;;
15201
15386
 
15202
 
    hpux10* | hpux11*)
15203
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15204
 
        case "$host_cpu" in
15205
 
        hppa*64*|ia64*)
 
15387
    hpux10*)
 
15388
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
15389
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
15390
      else
 
15391
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
15392
      fi
 
15393
      if test "$with_gnu_ld" = no; then
 
15394
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
15395
        hardcode_libdir_separator_F77=:
 
15396
 
 
15397
        hardcode_direct_F77=yes
 
15398
        export_dynamic_flag_spec_F77='${wl}-E'
 
15399
 
 
15400
        # hardcode_minus_L: Not really in the search PATH,
 
15401
        # but as the default location of the library.
 
15402
        hardcode_minus_L_F77=yes
 
15403
      fi
 
15404
      ;;
 
15405
 
 
15406
    hpux11*)
 
15407
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
15408
        case $host_cpu in
 
15409
        hppa*64*)
15206
15410
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15207
15411
          ;;
 
15412
        ia64*)
 
15413
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
15414
          ;;
15208
15415
        *)
15209
15416
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15210
15417
          ;;
15211
15418
        esac
15212
15419
      else
15213
 
        case "$host_cpu" in
15214
 
        hppa*64*|ia64*)
15215
 
          archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
15420
        case $host_cpu in
 
15421
        hppa*64*)
 
15422
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15423
          ;;
 
15424
        ia64*)
 
15425
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15216
15426
          ;;
15217
15427
        *)
15218
 
          archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
15428
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15219
15429
          ;;
15220
15430
        esac
15221
15431
      fi
15222
15432
      if test "$with_gnu_ld" = no; then
15223
 
        case "$host_cpu" in
15224
 
        hppa*64*)
15225
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
15433
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
15434
        hardcode_libdir_separator_F77=:
 
15435
 
 
15436
        case $host_cpu in
 
15437
        hppa*64*|ia64*)
15226
15438
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
15227
 
          hardcode_libdir_separator_F77=:
15228
 
          hardcode_direct_F77=no
15229
 
          hardcode_shlibpath_var_F77=no
15230
 
          ;;
15231
 
        ia64*)
15232
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
15233
 
          hardcode_direct_F77=no
15234
 
          hardcode_shlibpath_var_F77=no
15235
 
 
15236
 
          # hardcode_minus_L: Not really in the search PATH,
15237
 
          # but as the default location of the library.
15238
 
          hardcode_minus_L_F77=yes
 
15439
          hardcode_direct_F77=no
 
15440
          hardcode_shlibpath_var_F77=no
15239
15441
          ;;
15240
15442
        *)
15241
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15242
 
          hardcode_libdir_separator_F77=:
15243
15443
          hardcode_direct_F77=yes
15244
15444
          export_dynamic_flag_spec_F77='${wl}-E'
15245
15445
 
15341
15541
      hardcode_libdir_separator_F77=:
15342
15542
      ;;
15343
15543
 
15344
 
    sco3.2v5*)
15345
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15346
 
      hardcode_shlibpath_var_F77=no
15347
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
15348
 
      runpath_var=LD_RUN_PATH
15349
 
      hardcode_runpath_var=yes
15350
 
      ;;
15351
 
 
15352
15544
    solaris*)
15353
15545
      no_undefined_flag_F77=' -z text'
15354
15546
      if test "$GCC" = yes; then
15434
15626
      fi
15435
15627
      ;;
15436
15628
 
15437
 
    sysv4.2uw2*)
15438
 
      archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15439
 
      hardcode_direct_F77=yes
15440
 
      hardcode_minus_L_F77=no
15441
 
      hardcode_shlibpath_var_F77=no
15442
 
      hardcode_runpath_var=yes
15443
 
      runpath_var=LD_RUN_PATH
15444
 
      ;;
15445
 
 
15446
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
15447
 
      no_undefined_flag_F77='${wl}-z ${wl}text'
15448
 
      if test "$GCC" = yes; then
15449
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15450
 
      else
15451
 
        archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15452
 
      fi
15453
 
      runpath_var='LD_RUN_PATH'
15454
 
      hardcode_shlibpath_var_F77=no
15455
 
      ;;
15456
 
 
15457
 
    sysv5*)
15458
 
      no_undefined_flag_F77=' -z text'
15459
 
      # $CC -shared without GNU ld will not create a library from C++
15460
 
      # object files and a static libstdc++, better avoid it by now
15461
 
      archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15462
 
      archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15463
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15464
 
      hardcode_libdir_flag_spec_F77=
15465
 
      hardcode_shlibpath_var_F77=no
15466
 
      runpath_var='LD_RUN_PATH'
 
15629
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
15630
      no_undefined_flag_F77='${wl}-z,text'
 
15631
      archive_cmds_need_lc_F77=no
 
15632
      hardcode_shlibpath_var_F77=no
 
15633
      runpath_var='LD_RUN_PATH'
 
15634
 
 
15635
      if test "$GCC" = yes; then
 
15636
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15637
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15638
      else
 
15639
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15640
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15641
      fi
 
15642
      ;;
 
15643
 
 
15644
    sysv5* | sco3.2v5* | sco5v6*)
 
15645
      # Note: We can NOT use -z defs as we might desire, because we do not
 
15646
      # link with -lc, and that would cause any symbols used from libc to
 
15647
      # always be unresolved, which means just about no library would
 
15648
      # ever link correctly.  If we're not using GNU ld we use -z text
 
15649
      # though, which does catch some bad symbols but isn't as heavy-handed
 
15650
      # as -z defs.
 
15651
      no_undefined_flag_F77='${wl}-z,text'
 
15652
      allow_undefined_flag_F77='${wl}-z,nodefs'
 
15653
      archive_cmds_need_lc_F77=no
 
15654
      hardcode_shlibpath_var_F77=no
 
15655
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
15656
      hardcode_libdir_separator_F77=':'
 
15657
      link_all_deplibs_F77=yes
 
15658
      export_dynamic_flag_spec_F77='${wl}-Bexport'
 
15659
      runpath_var='LD_RUN_PATH'
 
15660
 
 
15661
      if test "$GCC" = yes; then
 
15662
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15663
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15664
      else
 
15665
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15666
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15667
      fi
15467
15668
      ;;
15468
15669
 
15469
15670
    uts4*)
15478
15679
    esac
15479
15680
  fi
15480
15681
 
15481
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15482
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
 
15682
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
15683
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15483
15684
test "$ld_shlibs_F77" = no && can_build_shared=no
15484
15685
 
15485
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15486
 
if test "$GCC" = yes; then
15487
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15488
 
fi
15489
 
 
15490
15686
#
15491
15687
# Do we need to explicitly link libc?
15492
15688
#
15504
15700
      # Test whether the compiler implicitly links with -lc since on some
15505
15701
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15506
15702
      # to ld, don't add -lc before -lgcc.
15507
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15508
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
15703
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
15704
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15509
15705
      $rm conftest*
15510
15706
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15511
15707
 
15519
15715
        libobjs=conftest.$ac_objext
15520
15716
        deplibs=
15521
15717
        wl=$lt_prog_compiler_wl_F77
 
15718
        pic_flag=$lt_prog_compiler_pic_F77
15522
15719
        compiler_flags=-v
15523
15720
        linker_flags=-v
15524
15721
        verstring=
15541
15738
        cat conftest.err 1>&5
15542
15739
      fi
15543
15740
      $rm conftest*
15544
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15545
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 
15741
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
15742
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15546
15743
      ;;
15547
15744
    esac
15548
15745
  fi
15549
15746
  ;;
15550
15747
esac
15551
15748
 
15552
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15553
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
15749
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
15750
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15554
15751
library_names_spec=
15555
15752
libname_spec='lib$name'
15556
15753
soname_spec=
15679
15876
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15680
15877
      dldir=$destdir/`dirname \$dlpath`~
15681
15878
      test -d \$dldir || mkdir -p \$dldir~
15682
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
15879
      $install_prog $dir/$dlname \$dldir/$dlname~
 
15880
      chmod a+x \$dldir/$dlname'
15683
15881
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15684
15882
      dlpath=$dir/\$dldll~
15685
15883
       $rm \$dlpath'
15732
15930
  soname_spec='${libname}${release}${major}$shared_ext'
15733
15931
  shlibpath_overrides_runpath=yes
15734
15932
  shlibpath_var=DYLD_LIBRARY_PATH
15735
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
 
15933
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15736
15934
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15737
15935
  if test "$GCC" = yes; then
15738
15936
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15770
15968
freebsd* | dragonfly*)
15771
15969
  # DragonFly does not have aout.  When/if they implement a new
15772
15970
  # versioning mechanism, adjust this.
15773
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
15971
  if test -x /usr/bin/objformat; then
 
15972
    objformat=`/usr/bin/objformat`
 
15973
  else
 
15974
    case $host_os in
 
15975
    freebsd[123]*) objformat=aout ;;
 
15976
    *) objformat=elf ;;
 
15977
    esac
 
15978
  fi
15774
15979
  version_type=freebsd-$objformat
15775
15980
  case $version_type in
15776
15981
    freebsd-elf*)
15792
15997
    shlibpath_overrides_runpath=yes
15793
15998
    hardcode_into_libs=yes
15794
15999
    ;;
15795
 
  *) # from 3.2 on
 
16000
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
16001
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15796
16002
    shlibpath_overrides_runpath=no
15797
16003
    hardcode_into_libs=yes
15798
16004
    ;;
 
16005
  freebsd*) # from 4.6 on
 
16006
    shlibpath_overrides_runpath=yes
 
16007
    hardcode_into_libs=yes
 
16008
    ;;
15799
16009
  esac
15800
16010
  ;;
15801
16011
 
15815
16025
  version_type=sunos
15816
16026
  need_lib_prefix=no
15817
16027
  need_version=no
15818
 
  case "$host_cpu" in
 
16028
  case $host_cpu in
15819
16029
  ia64*)
15820
16030
    shrext_cmds='.so'
15821
16031
    hardcode_into_libs=yes
15855
16065
  postinstall_cmds='chmod 555 $lib'
15856
16066
  ;;
15857
16067
 
 
16068
interix3*)
 
16069
  version_type=linux
 
16070
  need_lib_prefix=no
 
16071
  need_version=no
 
16072
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
16073
  soname_spec='${libname}${release}${shared_ext}$major'
 
16074
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
16075
  shlibpath_var=LD_LIBRARY_PATH
 
16076
  shlibpath_overrides_runpath=no
 
16077
  hardcode_into_libs=yes
 
16078
  ;;
 
16079
 
15858
16080
irix5* | irix6* | nonstopux*)
15859
16081
  case $host_os in
15860
16082
    nonstopux*) version_type=nonstopux ;;
15912
16134
  # before this can be enabled.
15913
16135
  hardcode_into_libs=yes
15914
16136
 
15915
 
  # find out which ABI we are using
15916
 
  libsuff=
15917
 
  case "$host_cpu" in
15918
 
  x86_64*|s390x*|powerpc64*)
15919
 
    echo '#line 15919 "configure"' > conftest.$ac_ext
15920
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15921
 
  (eval $ac_compile) 2>&5
15922
 
  ac_status=$?
15923
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15924
 
  (exit $ac_status); }; then
15925
 
      case `/usr/bin/file conftest.$ac_objext` in
15926
 
      *64-bit*)
15927
 
        libsuff=64
15928
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15929
 
        ;;
15930
 
      esac
15931
 
    fi
15932
 
    rm -rf conftest*
15933
 
    ;;
15934
 
  esac
15935
 
 
15936
16137
  # Append ld.so.conf contents to the search path
15937
16138
  if test -f /etc/ld.so.conf; then
15938
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15939
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
16139
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
16140
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15940
16141
  fi
15941
16142
 
15942
16143
  # We used to test for /lib/ld.so.1 and disable shared libraries on
15997
16198
 
15998
16199
openbsd*)
15999
16200
  version_type=sunos
 
16201
  sys_lib_dlsearch_path_spec="/usr/lib"
16000
16202
  need_lib_prefix=no
16001
 
  need_version=no
 
16203
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
16204
  case $host_os in
 
16205
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
16206
    *)                         need_version=no  ;;
 
16207
  esac
16002
16208
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16003
16209
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16004
16210
  shlibpath_var=LD_LIBRARY_PATH
16036
16242
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16037
16243
  ;;
16038
16244
 
16039
 
sco3.2v5*)
16040
 
  version_type=osf
16041
 
  soname_spec='${libname}${release}${shared_ext}$major'
16042
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16043
 
  shlibpath_var=LD_LIBRARY_PATH
16044
 
  ;;
16045
 
 
16046
16245
solaris*)
16047
16246
  version_type=linux
16048
16247
  need_lib_prefix=no
16068
16267
  need_version=yes
16069
16268
  ;;
16070
16269
 
16071
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
16270
sysv4 | sysv4.3*)
16072
16271
  version_type=linux
16073
16272
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16074
16273
  soname_spec='${libname}${release}${shared_ext}$major'
16101
16300
  fi
16102
16301
  ;;
16103
16302
 
 
16303
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
16304
  version_type=freebsd-elf
 
16305
  need_lib_prefix=no
 
16306
  need_version=no
 
16307
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
16308
  soname_spec='${libname}${release}${shared_ext}$major'
 
16309
  shlibpath_var=LD_LIBRARY_PATH
 
16310
  hardcode_into_libs=yes
 
16311
  if test "$with_gnu_ld" = yes; then
 
16312
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
16313
    shlibpath_overrides_runpath=no
 
16314
  else
 
16315
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
16316
    shlibpath_overrides_runpath=yes
 
16317
    case $host_os in
 
16318
      sco3.2v5*)
 
16319
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
16320
        ;;
 
16321
    esac
 
16322
  fi
 
16323
  sys_lib_dlsearch_path_spec='/usr/lib'
 
16324
  ;;
 
16325
 
16104
16326
uts4*)
16105
16327
  version_type=linux
16106
16328
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16112
16334
  dynamic_linker=no
16113
16335
  ;;
16114
16336
esac
16115
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16116
 
echo "${ECHO_T}$dynamic_linker" >&6
 
16337
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
16338
echo "${ECHO_T}$dynamic_linker" >&6; }
16117
16339
test "$dynamic_linker" = no && can_build_shared=no
16118
16340
 
16119
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16120
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
16341
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
16342
if test "$GCC" = yes; then
 
16343
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
16344
fi
 
16345
 
 
16346
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
16347
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16121
16348
hardcode_action_F77=
16122
16349
if test -n "$hardcode_libdir_flag_spec_F77" || \
16123
16350
   test -n "$runpath_var_F77" || \
16141
16368
  # directories.
16142
16369
  hardcode_action_F77=unsupported
16143
16370
fi
16144
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16145
 
echo "${ECHO_T}$hardcode_action_F77" >&6
 
16371
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
16372
echo "${ECHO_T}$hardcode_action_F77" >&6; }
16146
16373
 
16147
16374
if test "$hardcode_action_F77" = relink; then
16148
16375
  # Fast installation is not supported
16153
16380
  enable_fast_install=needless
16154
16381
fi
16155
16382
 
16156
 
striplib=
16157
 
old_striplib=
16158
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16159
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16160
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16161
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16162
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16163
 
  echo "$as_me:$LINENO: result: yes" >&5
16164
 
echo "${ECHO_T}yes" >&6
16165
 
else
16166
 
# FIXME - insert some real tests, host_os isn't really good enough
16167
 
  case $host_os in
16168
 
   darwin*)
16169
 
       if test -n "$STRIP" ; then
16170
 
         striplib="$STRIP -x"
16171
 
         echo "$as_me:$LINENO: result: yes" >&5
16172
 
echo "${ECHO_T}yes" >&6
16173
 
       else
16174
 
  echo "$as_me:$LINENO: result: no" >&5
16175
 
echo "${ECHO_T}no" >&6
16176
 
fi
16177
 
       ;;
16178
 
   *)
16179
 
  echo "$as_me:$LINENO: result: no" >&5
16180
 
echo "${ECHO_T}no" >&6
16181
 
    ;;
16182
 
  esac
16183
 
fi
16184
 
 
16185
 
 
16186
16383
 
16187
16384
# The else clause should only fire when bootstrapping the
16188
16385
# libtool distribution, otherwise you forgot to ship ltmain.sh
16197
16394
  # Now quote all the things that may contain metacharacters while being
16198
16395
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
16199
16396
  # variables and quote the copies for generation of the libtool script.
16200
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
16397
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16201
16398
    SED SHELL STRIP \
16202
16399
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16203
16400
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16315
16512
# A C compiler.
16316
16513
LTCC=$lt_LTCC
16317
16514
 
 
16515
# LTCC compiler flags.
 
16516
LTCFLAGS=$lt_LTCFLAGS
 
16517
 
16318
16518
# A language-specific compiler.
16319
16519
CC=$lt_compiler_F77
16320
16520
 
16606
16806
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16607
16807
 
16608
16808
 
16609
 
 
16610
16809
# Source file extension for Java test sources.
16611
16810
ac_ext=java
16612
16811
 
16625
16824
# If no C compiler was specified, use CC.
16626
16825
LTCC=${LTCC-"$CC"}
16627
16826
 
 
16827
# If no C compiler flags were specified, use CFLAGS.
 
16828
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
16829
 
16628
16830
# Allow CC to be a program name with arguments.
16629
16831
compiler=$CC
16630
16832
 
16632
16834
# save warnings/boilerplate of simple test code
16633
16835
ac_outfile=conftest.$ac_objext
16634
16836
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
16635
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
16837
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16636
16838
_lt_compiler_boilerplate=`cat conftest.err`
16637
16839
$rm conftest*
16638
16840
 
16639
16841
ac_outfile=conftest.$ac_objext
16640
16842
printf "$lt_simple_link_test_code" >conftest.$ac_ext
16641
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
16843
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16642
16844
_lt_linker_boilerplate=`cat conftest.err`
16643
16845
$rm conftest*
16644
16846
 
16671
16873
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
16672
16874
 
16673
16875
 
16674
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16675
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
16876
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
16877
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16676
16878
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16677
16879
  echo $ECHO_N "(cached) $ECHO_C" >&6
16678
16880
else
16686
16888
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16687
16889
   # The option is referenced via a variable to avoid confusing sed.
16688
16890
   lt_compile=`echo "$ac_compile" | $SED \
16689
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
16891
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16690
16892
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16691
16893
   -e 's:$: $lt_compiler_flag:'`
16692
 
   (eval echo "\"\$as_me:16692: $lt_compile\"" >&5)
 
16894
   (eval echo "\"\$as_me:16894: $lt_compile\"" >&5)
16693
16895
   (eval "$lt_compile" 2>conftest.err)
16694
16896
   ac_status=$?
16695
16897
   cat conftest.err >&5
16696
 
   echo "$as_me:16696: \$? = $ac_status" >&5
 
16898
   echo "$as_me:16898: \$? = $ac_status" >&5
16697
16899
   if (exit $ac_status) && test -s "$ac_outfile"; then
16698
16900
     # The compiler can only warn and ignore the option if not recognized
16699
16901
     # So say no if there are warnings other than the usual output.
16700
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
16701
 
     $SED '/^$/d' conftest.err >conftest.er2
16702
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
16902
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
16903
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
16904
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16703
16905
       lt_cv_prog_compiler_rtti_exceptions=yes
16704
16906
     fi
16705
16907
   fi
16706
16908
   $rm conftest*
16707
16909
 
16708
16910
fi
16709
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16710
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
16911
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
16912
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16711
16913
 
16712
16914
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16713
16915
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16721
16923
lt_prog_compiler_pic_GCJ=
16722
16924
lt_prog_compiler_static_GCJ=
16723
16925
 
16724
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16725
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
16926
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
16927
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16726
16928
 
16727
16929
  if test "$GCC" = yes; then
16728
16930
    lt_prog_compiler_wl_GCJ='-Wl,'
16760
16962
      lt_prog_compiler_pic_GCJ='-fno-common'
16761
16963
      ;;
16762
16964
 
 
16965
    interix3*)
 
16966
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
16967
      # Instead, we relocate shared libraries at runtime.
 
16968
      ;;
 
16969
 
16763
16970
    msdosdjgpp*)
16764
16971
      # Just because we use GCC doesn't mean we suddenly get shared libraries
16765
16972
      # on systems that don't support them.
16776
16983
    hpux*)
16777
16984
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16778
16985
      # not for PA HP-UX.
16779
 
      case "$host_cpu" in
 
16986
      case $host_cpu in
16780
16987
      hppa*64*|ia64*)
16781
16988
        # +Z the default
16782
16989
        ;;
16823
17030
      lt_prog_compiler_wl_GCJ='-Wl,'
16824
17031
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16825
17032
      # not for PA HP-UX.
16826
 
      case "$host_cpu" in
 
17033
      case $host_cpu in
16827
17034
      hppa*64*|ia64*)
16828
17035
        # +Z the default
16829
17036
        ;;
16853
17060
        lt_prog_compiler_pic_GCJ='-KPIC'
16854
17061
        lt_prog_compiler_static_GCJ='-static'
16855
17062
        ;;
16856
 
      pgcc* | pgf77* | pgf90*)
 
17063
      pgcc* | pgf77* | pgf90* | pgf95*)
16857
17064
        # Portland Group compilers (*not* the Pentium gcc compiler,
16858
17065
        # which looks to be a dead project)
16859
17066
        lt_prog_compiler_wl_GCJ='-Wl,'
16860
17067
        lt_prog_compiler_pic_GCJ='-fpic'
16861
 
        lt_prog_compiler_static_GCJ='-static'
 
17068
        lt_prog_compiler_static_GCJ='-Bstatic'
16862
17069
        ;;
16863
17070
      ccc*)
16864
17071
        lt_prog_compiler_wl_GCJ='-Wl,'
16874
17081
      lt_prog_compiler_static_GCJ='-non_shared'
16875
17082
      ;;
16876
17083
 
16877
 
    sco3.2v5*)
16878
 
      lt_prog_compiler_pic_GCJ='-Kpic'
16879
 
      lt_prog_compiler_static_GCJ='-dn'
16880
 
      ;;
16881
 
 
16882
17084
    solaris*)
16883
17085
      lt_prog_compiler_pic_GCJ='-KPIC'
16884
17086
      lt_prog_compiler_static_GCJ='-Bstatic'
16896
17098
      lt_prog_compiler_static_GCJ='-Bstatic'
16897
17099
      ;;
16898
17100
 
16899
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
17101
    sysv4 | sysv4.2uw2* | sysv4.3*)
16900
17102
      lt_prog_compiler_wl_GCJ='-Wl,'
16901
17103
      lt_prog_compiler_pic_GCJ='-KPIC'
16902
17104
      lt_prog_compiler_static_GCJ='-Bstatic'
16909
17111
      fi
16910
17112
      ;;
16911
17113
 
 
17114
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
17115
      lt_prog_compiler_wl_GCJ='-Wl,'
 
17116
      lt_prog_compiler_pic_GCJ='-KPIC'
 
17117
      lt_prog_compiler_static_GCJ='-Bstatic'
 
17118
      ;;
 
17119
 
16912
17120
    unicos*)
16913
17121
      lt_prog_compiler_wl_GCJ='-Wl,'
16914
17122
      lt_prog_compiler_can_build_shared_GCJ=no
16925
17133
    esac
16926
17134
  fi
16927
17135
 
16928
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16929
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 
17136
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
17137
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16930
17138
 
16931
17139
#
16932
17140
# Check to make sure the PIC flag actually works.
16933
17141
#
16934
17142
if test -n "$lt_prog_compiler_pic_GCJ"; then
16935
17143
 
16936
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16937
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
 
17144
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
17145
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16938
17146
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16939
17147
  echo $ECHO_N "(cached) $ECHO_C" >&6
16940
17148
else
16948
17156
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16949
17157
   # The option is referenced via a variable to avoid confusing sed.
16950
17158
   lt_compile=`echo "$ac_compile" | $SED \
16951
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
17159
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16952
17160
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16953
17161
   -e 's:$: $lt_compiler_flag:'`
16954
 
   (eval echo "\"\$as_me:16954: $lt_compile\"" >&5)
 
17162
   (eval echo "\"\$as_me:17162: $lt_compile\"" >&5)
16955
17163
   (eval "$lt_compile" 2>conftest.err)
16956
17164
   ac_status=$?
16957
17165
   cat conftest.err >&5
16958
 
   echo "$as_me:16958: \$? = $ac_status" >&5
 
17166
   echo "$as_me:17166: \$? = $ac_status" >&5
16959
17167
   if (exit $ac_status) && test -s "$ac_outfile"; then
16960
17168
     # The compiler can only warn and ignore the option if not recognized
16961
17169
     # So say no if there are warnings other than the usual output.
16962
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
16963
 
     $SED '/^$/d' conftest.err >conftest.er2
16964
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
17170
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
17171
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
17172
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16965
17173
       lt_prog_compiler_pic_works_GCJ=yes
16966
17174
     fi
16967
17175
   fi
16968
17176
   $rm conftest*
16969
17177
 
16970
17178
fi
16971
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16972
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 
17179
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
 
17180
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16973
17181
 
16974
17182
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
16975
17183
    case $lt_prog_compiler_pic_GCJ in
16982
17190
fi
16983
17191
 
16984
17192
fi
16985
 
case "$host_os" in
 
17193
case $host_os in
16986
17194
  # For platforms which do not support PIC, -DPIC is meaningless:
16987
17195
  *djgpp*)
16988
17196
    lt_prog_compiler_pic_GCJ=
16992
17200
    ;;
16993
17201
esac
16994
17202
 
16995
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16996
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
17203
#
 
17204
# Check to make sure the static flag actually works.
 
17205
#
 
17206
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
 
17207
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
17208
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
17209
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
 
17210
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17211
else
 
17212
  lt_prog_compiler_static_works_GCJ=no
 
17213
   save_LDFLAGS="$LDFLAGS"
 
17214
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
17215
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
17216
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
17217
     # The linker can only warn and ignore the option if not recognized
 
17218
     # So say no if there are warnings
 
17219
     if test -s conftest.err; then
 
17220
       # Append any errors to the config.log.
 
17221
       cat conftest.err 1>&5
 
17222
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
17223
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
17224
       if diff conftest.exp conftest.er2 >/dev/null; then
 
17225
         lt_prog_compiler_static_works_GCJ=yes
 
17226
       fi
 
17227
     else
 
17228
       lt_prog_compiler_static_works_GCJ=yes
 
17229
     fi
 
17230
   fi
 
17231
   $rm conftest*
 
17232
   LDFLAGS="$save_LDFLAGS"
 
17233
 
 
17234
fi
 
17235
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
 
17236
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
 
17237
 
 
17238
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
 
17239
    :
 
17240
else
 
17241
    lt_prog_compiler_static_GCJ=
 
17242
fi
 
17243
 
 
17244
 
 
17245
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
17246
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16997
17247
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16998
17248
  echo $ECHO_N "(cached) $ECHO_C" >&6
16999
17249
else
17010
17260
   # Note that $ac_compile itself does not contain backslashes and begins
17011
17261
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17012
17262
   lt_compile=`echo "$ac_compile" | $SED \
17013
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
17263
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17014
17264
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17015
17265
   -e 's:$: $lt_compiler_flag:'`
17016
 
   (eval echo "\"\$as_me:17016: $lt_compile\"" >&5)
 
17266
   (eval echo "\"\$as_me:17266: $lt_compile\"" >&5)
17017
17267
   (eval "$lt_compile" 2>out/conftest.err)
17018
17268
   ac_status=$?
17019
17269
   cat out/conftest.err >&5
17020
 
   echo "$as_me:17020: \$? = $ac_status" >&5
 
17270
   echo "$as_me:17270: \$? = $ac_status" >&5
17021
17271
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17022
17272
   then
17023
17273
     # The compiler can only warn and ignore the option if not recognized
17024
17274
     # So say no if there are warnings
17025
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
17026
 
     $SED '/^$/d' out/conftest.err >out/conftest.er2
17027
 
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
17275
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
17276
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
17277
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17028
17278
       lt_cv_prog_compiler_c_o_GCJ=yes
17029
17279
     fi
17030
17280
   fi
17031
 
   chmod u+w .
 
17281
   chmod u+w . 2>&5
17032
17282
   $rm conftest*
17033
17283
   # SGI C++ compiler will create directory out/ii_files/ for
17034
17284
   # template instantiation
17039
17289
   $rm conftest*
17040
17290
 
17041
17291
fi
17042
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17043
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 
17292
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
17293
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17044
17294
 
17045
17295
 
17046
17296
hard_links="nottested"
17047
17297
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
17048
17298
  # do not overwrite the value of need_locks provided by the user
17049
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17050
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
17299
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
17300
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17051
17301
  hard_links=yes
17052
17302
  $rm conftest*
17053
17303
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17054
17304
  touch conftest.a
17055
17305
  ln conftest.a conftest.b 2>&5 || hard_links=no
17056
17306
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17057
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
17058
 
echo "${ECHO_T}$hard_links" >&6
 
17307
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
17308
echo "${ECHO_T}$hard_links" >&6; }
17059
17309
  if test "$hard_links" = no; then
17060
17310
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17061
17311
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17065
17315
  need_locks=no
17066
17316
fi
17067
17317
 
17068
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17069
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
17318
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
17319
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17070
17320
 
17071
17321
  runpath_var=
17072
17322
  allow_undefined_flag_GCJ=
17124
17374
      with_gnu_ld=no
17125
17375
    fi
17126
17376
    ;;
 
17377
  interix*)
 
17378
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
17379
    with_gnu_ld=yes
 
17380
    ;;
17127
17381
  openbsd*)
17128
17382
    with_gnu_ld=no
17129
17383
    ;;
17208
17462
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17209
17463
 
17210
17464
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17211
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
17465
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17212
17466
        # If the export-symbols file already is a .def file (1st line
17213
17467
        # is EXPORTS), use it as is; otherwise, prepend...
17214
17468
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17217
17471
          echo EXPORTS > $output_objdir/$soname.def;
17218
17472
          cat $export_symbols >> $output_objdir/$soname.def;
17219
17473
        fi~
17220
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 
17474
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17221
17475
      else
17222
17476
        ld_shlibs_GCJ=no
17223
17477
      fi
17224
17478
      ;;
17225
17479
 
 
17480
    interix3*)
 
17481
      hardcode_direct_GCJ=no
 
17482
      hardcode_shlibpath_var_GCJ=no
 
17483
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
17484
      export_dynamic_flag_spec_GCJ='${wl}-E'
 
17485
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
17486
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
17487
      # default) and relocated if they conflict, which is a slow very memory
 
17488
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
17489
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
17490
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
17491
      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'
 
17492
      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'
 
17493
      ;;
 
17494
 
17226
17495
    linux*)
17227
17496
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17228
17497
        tmp_addflag=
17229
17498
        case $cc_basename,$host_cpu in
17230
17499
        pgcc*)                          # Portland Group C compiler
17231
 
          whole_archive_flag_spec_GCJ=
 
17500
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
17501
          tmp_addflag=' $pic_flag'
17232
17502
          ;;
17233
 
        pgf77* | pgf90* )                       # Portland Group f77 and f90 compilers
17234
 
          whole_archive_flag_spec_GCJ=
17235
 
          tmp_addflag=' -fpic -Mnomain' ;;
 
17503
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
17504
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
17505
          tmp_addflag=' $pic_flag -Mnomain' ;;
17236
17506
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
17237
17507
          tmp_addflag=' -i_dynamic' ;;
17238
17508
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
17263
17533
      fi
17264
17534
      ;;
17265
17535
 
17266
 
    solaris* | sysv5*)
 
17536
    solaris*)
17267
17537
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17268
17538
        ld_shlibs_GCJ=no
17269
17539
        cat <<EOF 1>&2
17284
17554
      fi
17285
17555
      ;;
17286
17556
 
 
17557
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
17558
      case `$LD -v 2>&1` in
 
17559
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
17560
        ld_shlibs_GCJ=no
 
17561
        cat <<_LT_EOF 1>&2
 
17562
 
 
17563
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
17564
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
17565
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
17566
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
17567
*** your PATH or compiler configuration so that the native linker is
 
17568
*** used, and then restart.
 
17569
 
 
17570
_LT_EOF
 
17571
        ;;
 
17572
        *)
 
17573
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
17574
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
17575
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
17576
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
17577
          else
 
17578
            ld_shlibs_GCJ=no
 
17579
          fi
 
17580
        ;;
 
17581
      esac
 
17582
      ;;
 
17583
 
17287
17584
    sunos4*)
17288
17585
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17289
17586
      wlarc=
17317
17614
      # Note: this linker hardcodes the directories in LIBPATH if there
17318
17615
      # are no directories specified by -L.
17319
17616
      hardcode_minus_L_GCJ=yes
17320
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
17617
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17321
17618
        # Neither direct hardcoding nor static linking is supported with a
17322
17619
        # broken collect2.
17323
17620
        hardcode_direct_GCJ=unsupported
17351
17648
            break
17352
17649
          fi
17353
17650
          done
 
17651
          ;;
17354
17652
        esac
17355
17653
 
17356
17654
        exp_sym_flag='-bexport'
17388
17686
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
17389
17687
          hardcode_libdir_separator_GCJ=
17390
17688
          fi
 
17689
          ;;
17391
17690
        esac
17392
17691
        shared_flag='-shared'
17393
17692
        if test "$aix_use_runtimelinking" = yes; then
17400
17699
        # chokes on -Wl,-G. The following line is correct:
17401
17700
          shared_flag='-G'
17402
17701
        else
17403
 
        if test "$aix_use_runtimelinking" = yes; then
 
17702
          if test "$aix_use_runtimelinking" = yes; then
17404
17703
            shared_flag='${wl}-G'
17405
17704
          else
17406
17705
            shared_flag='${wl}-bM:SRE'
17407
 
        fi
 
17706
          fi
17408
17707
        fi
17409
17708
      fi
17410
17709
 
17432
17731
}
17433
17732
_ACEOF
17434
17733
rm -f conftest.$ac_objext conftest$ac_exeext
17435
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17436
 
  (eval $ac_link) 2>conftest.er1
 
17734
if { (ac_try="$ac_link"
 
17735
case "(($ac_try" in
 
17736
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17737
  *) ac_try_echo=$ac_try;;
 
17738
esac
 
17739
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17740
  (eval "$ac_link") 2>conftest.er1
17437
17741
  ac_status=$?
17438
17742
  grep -v '^ *+' conftest.er1 >conftest.err
17439
17743
  rm -f conftest.er1
17440
17744
  cat conftest.err >&5
17441
17745
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17442
 
  (exit $ac_status); } &&
17443
 
         { ac_try='test -z "$ac_c_werror_flag"
17444
 
                         || test ! -s conftest.err'
17445
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17446
 
  (eval $ac_try) 2>&5
17447
 
  ac_status=$?
17448
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17449
 
  (exit $ac_status); }; } &&
17450
 
         { ac_try='test -s conftest$ac_exeext'
17451
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17452
 
  (eval $ac_try) 2>&5
17453
 
  ac_status=$?
17454
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455
 
  (exit $ac_status); }; }; then
 
17746
  (exit $ac_status); } && {
 
17747
         test -z "$ac_c_werror_flag" ||
 
17748
         test ! -s conftest.err
 
17749
       } && test -s conftest$ac_exeext &&
 
17750
       $as_test_x conftest$ac_exeext; then
17456
17751
 
17457
17752
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17458
17753
}'`
17463
17758
  echo "$as_me: failed program was:" >&5
17464
17759
sed 's/^/| /' conftest.$ac_ext >&5
17465
17760
 
 
17761
 
17466
17762
fi
17467
 
rm -f conftest.err conftest.$ac_objext \
 
17763
 
 
17764
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17468
17765
      conftest$ac_exeext conftest.$ac_ext
17469
17766
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17470
17767
 
17471
17768
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17472
 
        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"
 
17769
        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"
17473
17770
       else
17474
17771
        if test "$host_cpu" = ia64; then
17475
17772
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17476
17773
          allow_undefined_flag_GCJ="-z nodefs"
17477
 
          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"
 
17774
          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"
17478
17775
        else
17479
17776
         # Determine the default libpath from the value encoded in an empty executable.
17480
17777
         cat >conftest.$ac_ext <<_ACEOF
17493
17790
}
17494
17791
_ACEOF
17495
17792
rm -f conftest.$ac_objext conftest$ac_exeext
17496
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17497
 
  (eval $ac_link) 2>conftest.er1
 
17793
if { (ac_try="$ac_link"
 
17794
case "(($ac_try" in
 
17795
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17796
  *) ac_try_echo=$ac_try;;
 
17797
esac
 
17798
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17799
  (eval "$ac_link") 2>conftest.er1
17498
17800
  ac_status=$?
17499
17801
  grep -v '^ *+' conftest.er1 >conftest.err
17500
17802
  rm -f conftest.er1
17501
17803
  cat conftest.err >&5
17502
17804
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17503
 
  (exit $ac_status); } &&
17504
 
         { ac_try='test -z "$ac_c_werror_flag"
17505
 
                         || test ! -s conftest.err'
17506
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17507
 
  (eval $ac_try) 2>&5
17508
 
  ac_status=$?
17509
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17510
 
  (exit $ac_status); }; } &&
17511
 
         { ac_try='test -s conftest$ac_exeext'
17512
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17513
 
  (eval $ac_try) 2>&5
17514
 
  ac_status=$?
17515
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17516
 
  (exit $ac_status); }; }; then
 
17805
  (exit $ac_status); } && {
 
17806
         test -z "$ac_c_werror_flag" ||
 
17807
         test ! -s conftest.err
 
17808
       } && test -s conftest$ac_exeext &&
 
17809
       $as_test_x conftest$ac_exeext; then
17517
17810
 
17518
17811
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17519
17812
}'`
17524
17817
  echo "$as_me: failed program was:" >&5
17525
17818
sed 's/^/| /' conftest.$ac_ext >&5
17526
17819
 
 
17820
 
17527
17821
fi
17528
 
rm -f conftest.err conftest.$ac_objext \
 
17822
 
 
17823
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17529
17824
      conftest$ac_exeext conftest.$ac_ext
17530
17825
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17531
17826
 
17534
17829
          # -berok will link without error, but may produce a broken library.
17535
17830
          no_undefined_flag_GCJ=' ${wl}-bernotok'
17536
17831
          allow_undefined_flag_GCJ=' ${wl}-berok'
17537
 
          # -bexpall does not export symbols beginning with underscore (_)
17538
 
          always_export_symbols_GCJ=yes
17539
17832
          # Exported symbols can be pulled into shared objects from archives
17540
 
          whole_archive_flag_spec_GCJ=' '
 
17833
          whole_archive_flag_spec_GCJ='$convenience'
17541
17834
          archive_cmds_need_lc_GCJ=yes
17542
 
          # This is similar to how AIX traditionally builds it's shared libraries.
17543
 
          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'
 
17835
          # This is similar to how AIX traditionally builds its shared libraries.
 
17836
          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'
17544
17837
        fi
17545
17838
      fi
17546
17839
      ;;
17579
17872
      ;;
17580
17873
 
17581
17874
    darwin* | rhapsody*)
17582
 
      case "$host_os" in
 
17875
      case $host_os in
17583
17876
        rhapsody* | darwin1.[012])
17584
17877
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
17585
17878
         ;;
17608
17901
        output_verbose_link_cmd='echo'
17609
17902
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17610
17903
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17611
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
 
17904
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17612
17905
      archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17613
17906
      module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17614
17907
    else
17617
17910
         output_verbose_link_cmd='echo'
17618
17911
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17619
17912
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17620
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
 
17913
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17621
17914
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17622
17915
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17623
17916
          ;;
17681
17974
      export_dynamic_flag_spec_GCJ='${wl}-E'
17682
17975
      ;;
17683
17976
 
17684
 
    hpux10* | hpux11*)
17685
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17686
 
        case "$host_cpu" in
17687
 
        hppa*64*|ia64*)
 
17977
    hpux10*)
 
17978
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
17979
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
17980
      else
 
17981
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
17982
      fi
 
17983
      if test "$with_gnu_ld" = no; then
 
17984
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
17985
        hardcode_libdir_separator_GCJ=:
 
17986
 
 
17987
        hardcode_direct_GCJ=yes
 
17988
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
17989
 
 
17990
        # hardcode_minus_L: Not really in the search PATH,
 
17991
        # but as the default location of the library.
 
17992
        hardcode_minus_L_GCJ=yes
 
17993
      fi
 
17994
      ;;
 
17995
 
 
17996
    hpux11*)
 
17997
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
17998
        case $host_cpu in
 
17999
        hppa*64*)
17688
18000
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17689
18001
          ;;
 
18002
        ia64*)
 
18003
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
18004
          ;;
17690
18005
        *)
17691
18006
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17692
18007
          ;;
17693
18008
        esac
17694
18009
      else
17695
 
        case "$host_cpu" in
17696
 
        hppa*64*|ia64*)
17697
 
          archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
18010
        case $host_cpu in
 
18011
        hppa*64*)
 
18012
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18013
          ;;
 
18014
        ia64*)
 
18015
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17698
18016
          ;;
17699
18017
        *)
17700
 
          archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
18018
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17701
18019
          ;;
17702
18020
        esac
17703
18021
      fi
17704
18022
      if test "$with_gnu_ld" = no; then
17705
 
        case "$host_cpu" in
17706
 
        hppa*64*)
17707
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
18023
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
18024
        hardcode_libdir_separator_GCJ=:
 
18025
 
 
18026
        case $host_cpu in
 
18027
        hppa*64*|ia64*)
17708
18028
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
17709
 
          hardcode_libdir_separator_GCJ=:
17710
 
          hardcode_direct_GCJ=no
17711
 
          hardcode_shlibpath_var_GCJ=no
17712
 
          ;;
17713
 
        ia64*)
17714
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
17715
 
          hardcode_direct_GCJ=no
17716
 
          hardcode_shlibpath_var_GCJ=no
17717
 
 
17718
 
          # hardcode_minus_L: Not really in the search PATH,
17719
 
          # but as the default location of the library.
17720
 
          hardcode_minus_L_GCJ=yes
 
18029
          hardcode_direct_GCJ=no
 
18030
          hardcode_shlibpath_var_GCJ=no
17721
18031
          ;;
17722
18032
        *)
17723
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17724
 
          hardcode_libdir_separator_GCJ=:
17725
18033
          hardcode_direct_GCJ=yes
17726
18034
          export_dynamic_flag_spec_GCJ='${wl}-E'
17727
18035
 
17823
18131
      hardcode_libdir_separator_GCJ=:
17824
18132
      ;;
17825
18133
 
17826
 
    sco3.2v5*)
17827
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17828
 
      hardcode_shlibpath_var_GCJ=no
17829
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
17830
 
      runpath_var=LD_RUN_PATH
17831
 
      hardcode_runpath_var=yes
17832
 
      ;;
17833
 
 
17834
18134
    solaris*)
17835
18135
      no_undefined_flag_GCJ=' -z text'
17836
18136
      if test "$GCC" = yes; then
17916
18216
      fi
17917
18217
      ;;
17918
18218
 
17919
 
    sysv4.2uw2*)
17920
 
      archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17921
 
      hardcode_direct_GCJ=yes
17922
 
      hardcode_minus_L_GCJ=no
17923
 
      hardcode_shlibpath_var_GCJ=no
17924
 
      hardcode_runpath_var=yes
17925
 
      runpath_var=LD_RUN_PATH
17926
 
      ;;
17927
 
 
17928
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
17929
 
      no_undefined_flag_GCJ='${wl}-z ${wl}text'
17930
 
      if test "$GCC" = yes; then
17931
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17932
 
      else
17933
 
        archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17934
 
      fi
17935
 
      runpath_var='LD_RUN_PATH'
17936
 
      hardcode_shlibpath_var_GCJ=no
17937
 
      ;;
17938
 
 
17939
 
    sysv5*)
17940
 
      no_undefined_flag_GCJ=' -z text'
17941
 
      # $CC -shared without GNU ld will not create a library from C++
17942
 
      # object files and a static libstdc++, better avoid it by now
17943
 
      archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17944
 
      archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17945
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17946
 
      hardcode_libdir_flag_spec_GCJ=
17947
 
      hardcode_shlibpath_var_GCJ=no
17948
 
      runpath_var='LD_RUN_PATH'
 
18219
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
18220
      no_undefined_flag_GCJ='${wl}-z,text'
 
18221
      archive_cmds_need_lc_GCJ=no
 
18222
      hardcode_shlibpath_var_GCJ=no
 
18223
      runpath_var='LD_RUN_PATH'
 
18224
 
 
18225
      if test "$GCC" = yes; then
 
18226
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18227
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18228
      else
 
18229
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18230
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18231
      fi
 
18232
      ;;
 
18233
 
 
18234
    sysv5* | sco3.2v5* | sco5v6*)
 
18235
      # Note: We can NOT use -z defs as we might desire, because we do not
 
18236
      # link with -lc, and that would cause any symbols used from libc to
 
18237
      # always be unresolved, which means just about no library would
 
18238
      # ever link correctly.  If we're not using GNU ld we use -z text
 
18239
      # though, which does catch some bad symbols but isn't as heavy-handed
 
18240
      # as -z defs.
 
18241
      no_undefined_flag_GCJ='${wl}-z,text'
 
18242
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
 
18243
      archive_cmds_need_lc_GCJ=no
 
18244
      hardcode_shlibpath_var_GCJ=no
 
18245
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
18246
      hardcode_libdir_separator_GCJ=':'
 
18247
      link_all_deplibs_GCJ=yes
 
18248
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
 
18249
      runpath_var='LD_RUN_PATH'
 
18250
 
 
18251
      if test "$GCC" = yes; then
 
18252
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18253
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18254
      else
 
18255
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18256
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18257
      fi
17949
18258
      ;;
17950
18259
 
17951
18260
    uts4*)
17960
18269
    esac
17961
18270
  fi
17962
18271
 
17963
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17964
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 
18272
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
18273
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17965
18274
test "$ld_shlibs_GCJ" = no && can_build_shared=no
17966
18275
 
17967
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17968
 
if test "$GCC" = yes; then
17969
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17970
 
fi
17971
 
 
17972
18276
#
17973
18277
# Do we need to explicitly link libc?
17974
18278
#
17986
18290
      # Test whether the compiler implicitly links with -lc since on some
17987
18291
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17988
18292
      # to ld, don't add -lc before -lgcc.
17989
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17990
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
18293
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
18294
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17991
18295
      $rm conftest*
17992
18296
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17993
18297
 
18001
18305
        libobjs=conftest.$ac_objext
18002
18306
        deplibs=
18003
18307
        wl=$lt_prog_compiler_wl_GCJ
 
18308
        pic_flag=$lt_prog_compiler_pic_GCJ
18004
18309
        compiler_flags=-v
18005
18310
        linker_flags=-v
18006
18311
        verstring=
18023
18328
        cat conftest.err 1>&5
18024
18329
      fi
18025
18330
      $rm conftest*
18026
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18027
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 
18331
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
18332
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18028
18333
      ;;
18029
18334
    esac
18030
18335
  fi
18031
18336
  ;;
18032
18337
esac
18033
18338
 
18034
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18035
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
18339
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
18340
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18036
18341
library_names_spec=
18037
18342
libname_spec='lib$name'
18038
18343
soname_spec=
18161
18466
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18162
18467
      dldir=$destdir/`dirname \$dlpath`~
18163
18468
      test -d \$dldir || mkdir -p \$dldir~
18164
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
18469
      $install_prog $dir/$dlname \$dldir/$dlname~
 
18470
      chmod a+x \$dldir/$dlname'
18165
18471
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18166
18472
      dlpath=$dir/\$dldll~
18167
18473
       $rm \$dlpath'
18214
18520
  soname_spec='${libname}${release}${major}$shared_ext'
18215
18521
  shlibpath_overrides_runpath=yes
18216
18522
  shlibpath_var=DYLD_LIBRARY_PATH
18217
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
 
18523
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18218
18524
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18219
18525
  if test "$GCC" = yes; then
18220
18526
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
18252
18558
freebsd* | dragonfly*)
18253
18559
  # DragonFly does not have aout.  When/if they implement a new
18254
18560
  # versioning mechanism, adjust this.
18255
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
18561
  if test -x /usr/bin/objformat; then
 
18562
    objformat=`/usr/bin/objformat`
 
18563
  else
 
18564
    case $host_os in
 
18565
    freebsd[123]*) objformat=aout ;;
 
18566
    *) objformat=elf ;;
 
18567
    esac
 
18568
  fi
18256
18569
  version_type=freebsd-$objformat
18257
18570
  case $version_type in
18258
18571
    freebsd-elf*)
18274
18587
    shlibpath_overrides_runpath=yes
18275
18588
    hardcode_into_libs=yes
18276
18589
    ;;
18277
 
  *) # from 3.2 on
 
18590
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
18591
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18278
18592
    shlibpath_overrides_runpath=no
18279
18593
    hardcode_into_libs=yes
18280
18594
    ;;
 
18595
  freebsd*) # from 4.6 on
 
18596
    shlibpath_overrides_runpath=yes
 
18597
    hardcode_into_libs=yes
 
18598
    ;;
18281
18599
  esac
18282
18600
  ;;
18283
18601
 
18297
18615
  version_type=sunos
18298
18616
  need_lib_prefix=no
18299
18617
  need_version=no
18300
 
  case "$host_cpu" in
 
18618
  case $host_cpu in
18301
18619
  ia64*)
18302
18620
    shrext_cmds='.so'
18303
18621
    hardcode_into_libs=yes
18337
18655
  postinstall_cmds='chmod 555 $lib'
18338
18656
  ;;
18339
18657
 
 
18658
interix3*)
 
18659
  version_type=linux
 
18660
  need_lib_prefix=no
 
18661
  need_version=no
 
18662
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
18663
  soname_spec='${libname}${release}${shared_ext}$major'
 
18664
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
18665
  shlibpath_var=LD_LIBRARY_PATH
 
18666
  shlibpath_overrides_runpath=no
 
18667
  hardcode_into_libs=yes
 
18668
  ;;
 
18669
 
18340
18670
irix5* | irix6* | nonstopux*)
18341
18671
  case $host_os in
18342
18672
    nonstopux*) version_type=nonstopux ;;
18394
18724
  # before this can be enabled.
18395
18725
  hardcode_into_libs=yes
18396
18726
 
18397
 
  # find out which ABI we are using
18398
 
  libsuff=
18399
 
  case "$host_cpu" in
18400
 
  x86_64*|s390x*|powerpc64*)
18401
 
    echo '#line 18401 "configure"' > conftest.$ac_ext
18402
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18403
 
  (eval $ac_compile) 2>&5
18404
 
  ac_status=$?
18405
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18406
 
  (exit $ac_status); }; then
18407
 
      case `/usr/bin/file conftest.$ac_objext` in
18408
 
      *64-bit*)
18409
 
        libsuff=64
18410
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18411
 
        ;;
18412
 
      esac
18413
 
    fi
18414
 
    rm -rf conftest*
18415
 
    ;;
18416
 
  esac
18417
 
 
18418
18727
  # Append ld.so.conf contents to the search path
18419
18728
  if test -f /etc/ld.so.conf; then
18420
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18421
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
18729
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
18730
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18422
18731
  fi
18423
18732
 
18424
18733
  # We used to test for /lib/ld.so.1 and disable shared libraries on
18479
18788
 
18480
18789
openbsd*)
18481
18790
  version_type=sunos
 
18791
  sys_lib_dlsearch_path_spec="/usr/lib"
18482
18792
  need_lib_prefix=no
18483
 
  need_version=no
 
18793
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
18794
  case $host_os in
 
18795
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
18796
    *)                         need_version=no  ;;
 
18797
  esac
18484
18798
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18485
18799
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18486
18800
  shlibpath_var=LD_LIBRARY_PATH
18518
18832
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18519
18833
  ;;
18520
18834
 
18521
 
sco3.2v5*)
18522
 
  version_type=osf
18523
 
  soname_spec='${libname}${release}${shared_ext}$major'
18524
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18525
 
  shlibpath_var=LD_LIBRARY_PATH
18526
 
  ;;
18527
 
 
18528
18835
solaris*)
18529
18836
  version_type=linux
18530
18837
  need_lib_prefix=no
18550
18857
  need_version=yes
18551
18858
  ;;
18552
18859
 
18553
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
18860
sysv4 | sysv4.3*)
18554
18861
  version_type=linux
18555
18862
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18556
18863
  soname_spec='${libname}${release}${shared_ext}$major'
18583
18890
  fi
18584
18891
  ;;
18585
18892
 
 
18893
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
18894
  version_type=freebsd-elf
 
18895
  need_lib_prefix=no
 
18896
  need_version=no
 
18897
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
18898
  soname_spec='${libname}${release}${shared_ext}$major'
 
18899
  shlibpath_var=LD_LIBRARY_PATH
 
18900
  hardcode_into_libs=yes
 
18901
  if test "$with_gnu_ld" = yes; then
 
18902
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
18903
    shlibpath_overrides_runpath=no
 
18904
  else
 
18905
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
18906
    shlibpath_overrides_runpath=yes
 
18907
    case $host_os in
 
18908
      sco3.2v5*)
 
18909
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
18910
        ;;
 
18911
    esac
 
18912
  fi
 
18913
  sys_lib_dlsearch_path_spec='/usr/lib'
 
18914
  ;;
 
18915
 
18586
18916
uts4*)
18587
18917
  version_type=linux
18588
18918
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18594
18924
  dynamic_linker=no
18595
18925
  ;;
18596
18926
esac
18597
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18598
 
echo "${ECHO_T}$dynamic_linker" >&6
 
18927
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
18928
echo "${ECHO_T}$dynamic_linker" >&6; }
18599
18929
test "$dynamic_linker" = no && can_build_shared=no
18600
18930
 
18601
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18602
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
18931
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
18932
if test "$GCC" = yes; then
 
18933
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
18934
fi
 
18935
 
 
18936
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
18937
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18603
18938
hardcode_action_GCJ=
18604
18939
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18605
18940
   test -n "$runpath_var_GCJ" || \
18623
18958
  # directories.
18624
18959
  hardcode_action_GCJ=unsupported
18625
18960
fi
18626
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18627
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
 
18961
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
18962
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18628
18963
 
18629
18964
if test "$hardcode_action_GCJ" = relink; then
18630
18965
  # Fast installation is not supported
18635
18970
  enable_fast_install=needless
18636
18971
fi
18637
18972
 
18638
 
striplib=
18639
 
old_striplib=
18640
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18641
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
18642
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
18643
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
18644
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
18645
 
  echo "$as_me:$LINENO: result: yes" >&5
18646
 
echo "${ECHO_T}yes" >&6
18647
 
else
18648
 
# FIXME - insert some real tests, host_os isn't really good enough
18649
 
  case $host_os in
18650
 
   darwin*)
18651
 
       if test -n "$STRIP" ; then
18652
 
         striplib="$STRIP -x"
18653
 
         echo "$as_me:$LINENO: result: yes" >&5
18654
 
echo "${ECHO_T}yes" >&6
18655
 
       else
18656
 
  echo "$as_me:$LINENO: result: no" >&5
18657
 
echo "${ECHO_T}no" >&6
18658
 
fi
18659
 
       ;;
18660
 
   *)
18661
 
  echo "$as_me:$LINENO: result: no" >&5
18662
 
echo "${ECHO_T}no" >&6
18663
 
    ;;
18664
 
  esac
18665
 
fi
18666
 
 
18667
 
if test "x$enable_dlopen" != xyes; then
18668
 
  enable_dlopen=unknown
18669
 
  enable_dlopen_self=unknown
18670
 
  enable_dlopen_self_static=unknown
18671
 
else
18672
 
  lt_cv_dlopen=no
18673
 
  lt_cv_dlopen_libs=
18674
 
 
18675
 
  case $host_os in
18676
 
  beos*)
18677
 
    lt_cv_dlopen="load_add_on"
18678
 
    lt_cv_dlopen_libs=
18679
 
    lt_cv_dlopen_self=yes
18680
 
    ;;
18681
 
 
18682
 
  mingw* | pw32*)
18683
 
    lt_cv_dlopen="LoadLibrary"
18684
 
    lt_cv_dlopen_libs=
18685
 
   ;;
18686
 
 
18687
 
  cygwin*)
18688
 
    lt_cv_dlopen="dlopen"
18689
 
    lt_cv_dlopen_libs=
18690
 
   ;;
18691
 
 
18692
 
  darwin*)
18693
 
  # if libdl is installed we need to link against it
18694
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18695
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18696
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18697
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18698
 
else
18699
 
  ac_check_lib_save_LIBS=$LIBS
18700
 
LIBS="-ldl  $LIBS"
18701
 
cat >conftest.$ac_ext <<_ACEOF
18702
 
/* confdefs.h.  */
18703
 
_ACEOF
18704
 
cat confdefs.h >>conftest.$ac_ext
18705
 
cat >>conftest.$ac_ext <<_ACEOF
18706
 
/* end confdefs.h.  */
18707
 
 
18708
 
/* Override any gcc2 internal prototype to avoid an error.  */
18709
 
#ifdef __cplusplus
18710
 
extern "C"
18711
 
#endif
18712
 
/* We use char because int might match the return type of a gcc2
18713
 
   builtin and then its argument prototype would still apply.  */
18714
 
char dlopen ();
18715
 
int
18716
 
main ()
18717
 
{
18718
 
dlopen ();
18719
 
  ;
18720
 
  return 0;
18721
 
}
18722
 
_ACEOF
18723
 
rm -f conftest.$ac_objext conftest$ac_exeext
18724
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18725
 
  (eval $ac_link) 2>conftest.er1
18726
 
  ac_status=$?
18727
 
  grep -v '^ *+' conftest.er1 >conftest.err
18728
 
  rm -f conftest.er1
18729
 
  cat conftest.err >&5
18730
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18731
 
  (exit $ac_status); } &&
18732
 
         { ac_try='test -z "$ac_c_werror_flag"
18733
 
                         || test ! -s conftest.err'
18734
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18735
 
  (eval $ac_try) 2>&5
18736
 
  ac_status=$?
18737
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738
 
  (exit $ac_status); }; } &&
18739
 
         { ac_try='test -s conftest$ac_exeext'
18740
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18741
 
  (eval $ac_try) 2>&5
18742
 
  ac_status=$?
18743
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18744
 
  (exit $ac_status); }; }; then
18745
 
  ac_cv_lib_dl_dlopen=yes
18746
 
else
18747
 
  echo "$as_me: failed program was:" >&5
18748
 
sed 's/^/| /' conftest.$ac_ext >&5
18749
 
 
18750
 
ac_cv_lib_dl_dlopen=no
18751
 
fi
18752
 
rm -f conftest.err conftest.$ac_objext \
18753
 
      conftest$ac_exeext conftest.$ac_ext
18754
 
LIBS=$ac_check_lib_save_LIBS
18755
 
fi
18756
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18757
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18758
 
if test $ac_cv_lib_dl_dlopen = yes; then
18759
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18760
 
else
18761
 
 
18762
 
    lt_cv_dlopen="dyld"
18763
 
    lt_cv_dlopen_libs=
18764
 
    lt_cv_dlopen_self=yes
18765
 
 
18766
 
fi
18767
 
 
18768
 
   ;;
18769
 
 
18770
 
  *)
18771
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
18772
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
18773
 
if test "${ac_cv_func_shl_load+set}" = set; then
18774
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18775
 
else
18776
 
  cat >conftest.$ac_ext <<_ACEOF
18777
 
/* confdefs.h.  */
18778
 
_ACEOF
18779
 
cat confdefs.h >>conftest.$ac_ext
18780
 
cat >>conftest.$ac_ext <<_ACEOF
18781
 
/* end confdefs.h.  */
18782
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
18783
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18784
 
#define shl_load innocuous_shl_load
18785
 
 
18786
 
/* System header to define __stub macros and hopefully few prototypes,
18787
 
    which can conflict with char shl_load (); below.
18788
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18789
 
    <limits.h> exists even on freestanding compilers.  */
18790
 
 
18791
 
#ifdef __STDC__
18792
 
# include <limits.h>
18793
 
#else
18794
 
# include <assert.h>
18795
 
#endif
18796
 
 
18797
 
#undef shl_load
18798
 
 
18799
 
/* Override any gcc2 internal prototype to avoid an error.  */
18800
 
#ifdef __cplusplus
18801
 
extern "C"
18802
 
{
18803
 
#endif
18804
 
/* We use char because int might match the return type of a gcc2
18805
 
   builtin and then its argument prototype would still apply.  */
18806
 
char shl_load ();
18807
 
/* The GNU C library defines this for functions which it implements
18808
 
    to always fail with ENOSYS.  Some functions are actually named
18809
 
    something starting with __ and the normal name is an alias.  */
18810
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
18811
 
choke me
18812
 
#else
18813
 
char (*f) () = shl_load;
18814
 
#endif
18815
 
#ifdef __cplusplus
18816
 
}
18817
 
#endif
18818
 
 
18819
 
int
18820
 
main ()
18821
 
{
18822
 
return f != shl_load;
18823
 
  ;
18824
 
  return 0;
18825
 
}
18826
 
_ACEOF
18827
 
rm -f conftest.$ac_objext conftest$ac_exeext
18828
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18829
 
  (eval $ac_link) 2>conftest.er1
18830
 
  ac_status=$?
18831
 
  grep -v '^ *+' conftest.er1 >conftest.err
18832
 
  rm -f conftest.er1
18833
 
  cat conftest.err >&5
18834
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835
 
  (exit $ac_status); } &&
18836
 
         { ac_try='test -z "$ac_c_werror_flag"
18837
 
                         || test ! -s conftest.err'
18838
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18839
 
  (eval $ac_try) 2>&5
18840
 
  ac_status=$?
18841
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18842
 
  (exit $ac_status); }; } &&
18843
 
         { ac_try='test -s conftest$ac_exeext'
18844
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18845
 
  (eval $ac_try) 2>&5
18846
 
  ac_status=$?
18847
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18848
 
  (exit $ac_status); }; }; then
18849
 
  ac_cv_func_shl_load=yes
18850
 
else
18851
 
  echo "$as_me: failed program was:" >&5
18852
 
sed 's/^/| /' conftest.$ac_ext >&5
18853
 
 
18854
 
ac_cv_func_shl_load=no
18855
 
fi
18856
 
rm -f conftest.err conftest.$ac_objext \
18857
 
      conftest$ac_exeext conftest.$ac_ext
18858
 
fi
18859
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
18860
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
18861
 
if test $ac_cv_func_shl_load = yes; then
18862
 
  lt_cv_dlopen="shl_load"
18863
 
else
18864
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
18865
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
18866
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
18867
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18868
 
else
18869
 
  ac_check_lib_save_LIBS=$LIBS
18870
 
LIBS="-ldld  $LIBS"
18871
 
cat >conftest.$ac_ext <<_ACEOF
18872
 
/* confdefs.h.  */
18873
 
_ACEOF
18874
 
cat confdefs.h >>conftest.$ac_ext
18875
 
cat >>conftest.$ac_ext <<_ACEOF
18876
 
/* end confdefs.h.  */
18877
 
 
18878
 
/* Override any gcc2 internal prototype to avoid an error.  */
18879
 
#ifdef __cplusplus
18880
 
extern "C"
18881
 
#endif
18882
 
/* We use char because int might match the return type of a gcc2
18883
 
   builtin and then its argument prototype would still apply.  */
18884
 
char shl_load ();
18885
 
int
18886
 
main ()
18887
 
{
18888
 
shl_load ();
18889
 
  ;
18890
 
  return 0;
18891
 
}
18892
 
_ACEOF
18893
 
rm -f conftest.$ac_objext conftest$ac_exeext
18894
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18895
 
  (eval $ac_link) 2>conftest.er1
18896
 
  ac_status=$?
18897
 
  grep -v '^ *+' conftest.er1 >conftest.err
18898
 
  rm -f conftest.er1
18899
 
  cat conftest.err >&5
18900
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18901
 
  (exit $ac_status); } &&
18902
 
         { ac_try='test -z "$ac_c_werror_flag"
18903
 
                         || test ! -s conftest.err'
18904
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18905
 
  (eval $ac_try) 2>&5
18906
 
  ac_status=$?
18907
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18908
 
  (exit $ac_status); }; } &&
18909
 
         { ac_try='test -s conftest$ac_exeext'
18910
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18911
 
  (eval $ac_try) 2>&5
18912
 
  ac_status=$?
18913
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18914
 
  (exit $ac_status); }; }; then
18915
 
  ac_cv_lib_dld_shl_load=yes
18916
 
else
18917
 
  echo "$as_me: failed program was:" >&5
18918
 
sed 's/^/| /' conftest.$ac_ext >&5
18919
 
 
18920
 
ac_cv_lib_dld_shl_load=no
18921
 
fi
18922
 
rm -f conftest.err conftest.$ac_objext \
18923
 
      conftest$ac_exeext conftest.$ac_ext
18924
 
LIBS=$ac_check_lib_save_LIBS
18925
 
fi
18926
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
18927
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
18928
 
if test $ac_cv_lib_dld_shl_load = yes; then
18929
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
18930
 
else
18931
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
18932
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
18933
 
if test "${ac_cv_func_dlopen+set}" = set; then
18934
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18935
 
else
18936
 
  cat >conftest.$ac_ext <<_ACEOF
18937
 
/* confdefs.h.  */
18938
 
_ACEOF
18939
 
cat confdefs.h >>conftest.$ac_ext
18940
 
cat >>conftest.$ac_ext <<_ACEOF
18941
 
/* end confdefs.h.  */
18942
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
18943
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18944
 
#define dlopen innocuous_dlopen
18945
 
 
18946
 
/* System header to define __stub macros and hopefully few prototypes,
18947
 
    which can conflict with char dlopen (); below.
18948
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18949
 
    <limits.h> exists even on freestanding compilers.  */
18950
 
 
18951
 
#ifdef __STDC__
18952
 
# include <limits.h>
18953
 
#else
18954
 
# include <assert.h>
18955
 
#endif
18956
 
 
18957
 
#undef dlopen
18958
 
 
18959
 
/* Override any gcc2 internal prototype to avoid an error.  */
18960
 
#ifdef __cplusplus
18961
 
extern "C"
18962
 
{
18963
 
#endif
18964
 
/* We use char because int might match the return type of a gcc2
18965
 
   builtin and then its argument prototype would still apply.  */
18966
 
char dlopen ();
18967
 
/* The GNU C library defines this for functions which it implements
18968
 
    to always fail with ENOSYS.  Some functions are actually named
18969
 
    something starting with __ and the normal name is an alias.  */
18970
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
18971
 
choke me
18972
 
#else
18973
 
char (*f) () = dlopen;
18974
 
#endif
18975
 
#ifdef __cplusplus
18976
 
}
18977
 
#endif
18978
 
 
18979
 
int
18980
 
main ()
18981
 
{
18982
 
return f != dlopen;
18983
 
  ;
18984
 
  return 0;
18985
 
}
18986
 
_ACEOF
18987
 
rm -f conftest.$ac_objext conftest$ac_exeext
18988
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18989
 
  (eval $ac_link) 2>conftest.er1
18990
 
  ac_status=$?
18991
 
  grep -v '^ *+' conftest.er1 >conftest.err
18992
 
  rm -f conftest.er1
18993
 
  cat conftest.err >&5
18994
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995
 
  (exit $ac_status); } &&
18996
 
         { ac_try='test -z "$ac_c_werror_flag"
18997
 
                         || test ! -s conftest.err'
18998
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18999
 
  (eval $ac_try) 2>&5
19000
 
  ac_status=$?
19001
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002
 
  (exit $ac_status); }; } &&
19003
 
         { ac_try='test -s conftest$ac_exeext'
19004
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19005
 
  (eval $ac_try) 2>&5
19006
 
  ac_status=$?
19007
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19008
 
  (exit $ac_status); }; }; then
19009
 
  ac_cv_func_dlopen=yes
19010
 
else
19011
 
  echo "$as_me: failed program was:" >&5
19012
 
sed 's/^/| /' conftest.$ac_ext >&5
19013
 
 
19014
 
ac_cv_func_dlopen=no
19015
 
fi
19016
 
rm -f conftest.err conftest.$ac_objext \
19017
 
      conftest$ac_exeext conftest.$ac_ext
19018
 
fi
19019
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
19020
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
19021
 
if test $ac_cv_func_dlopen = yes; then
19022
 
  lt_cv_dlopen="dlopen"
19023
 
else
19024
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19025
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19026
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19027
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19028
 
else
19029
 
  ac_check_lib_save_LIBS=$LIBS
19030
 
LIBS="-ldl  $LIBS"
19031
 
cat >conftest.$ac_ext <<_ACEOF
19032
 
/* confdefs.h.  */
19033
 
_ACEOF
19034
 
cat confdefs.h >>conftest.$ac_ext
19035
 
cat >>conftest.$ac_ext <<_ACEOF
19036
 
/* end confdefs.h.  */
19037
 
 
19038
 
/* Override any gcc2 internal prototype to avoid an error.  */
19039
 
#ifdef __cplusplus
19040
 
extern "C"
19041
 
#endif
19042
 
/* We use char because int might match the return type of a gcc2
19043
 
   builtin and then its argument prototype would still apply.  */
19044
 
char dlopen ();
19045
 
int
19046
 
main ()
19047
 
{
19048
 
dlopen ();
19049
 
  ;
19050
 
  return 0;
19051
 
}
19052
 
_ACEOF
19053
 
rm -f conftest.$ac_objext conftest$ac_exeext
19054
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19055
 
  (eval $ac_link) 2>conftest.er1
19056
 
  ac_status=$?
19057
 
  grep -v '^ *+' conftest.er1 >conftest.err
19058
 
  rm -f conftest.er1
19059
 
  cat conftest.err >&5
19060
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061
 
  (exit $ac_status); } &&
19062
 
         { ac_try='test -z "$ac_c_werror_flag"
19063
 
                         || test ! -s conftest.err'
19064
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19065
 
  (eval $ac_try) 2>&5
19066
 
  ac_status=$?
19067
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068
 
  (exit $ac_status); }; } &&
19069
 
         { ac_try='test -s conftest$ac_exeext'
19070
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19071
 
  (eval $ac_try) 2>&5
19072
 
  ac_status=$?
19073
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19074
 
  (exit $ac_status); }; }; then
19075
 
  ac_cv_lib_dl_dlopen=yes
19076
 
else
19077
 
  echo "$as_me: failed program was:" >&5
19078
 
sed 's/^/| /' conftest.$ac_ext >&5
19079
 
 
19080
 
ac_cv_lib_dl_dlopen=no
19081
 
fi
19082
 
rm -f conftest.err conftest.$ac_objext \
19083
 
      conftest$ac_exeext conftest.$ac_ext
19084
 
LIBS=$ac_check_lib_save_LIBS
19085
 
fi
19086
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19087
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19088
 
if test $ac_cv_lib_dl_dlopen = yes; then
19089
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
19090
 
else
19091
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
19092
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
19093
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
19094
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19095
 
else
19096
 
  ac_check_lib_save_LIBS=$LIBS
19097
 
LIBS="-lsvld  $LIBS"
19098
 
cat >conftest.$ac_ext <<_ACEOF
19099
 
/* confdefs.h.  */
19100
 
_ACEOF
19101
 
cat confdefs.h >>conftest.$ac_ext
19102
 
cat >>conftest.$ac_ext <<_ACEOF
19103
 
/* end confdefs.h.  */
19104
 
 
19105
 
/* Override any gcc2 internal prototype to avoid an error.  */
19106
 
#ifdef __cplusplus
19107
 
extern "C"
19108
 
#endif
19109
 
/* We use char because int might match the return type of a gcc2
19110
 
   builtin and then its argument prototype would still apply.  */
19111
 
char dlopen ();
19112
 
int
19113
 
main ()
19114
 
{
19115
 
dlopen ();
19116
 
  ;
19117
 
  return 0;
19118
 
}
19119
 
_ACEOF
19120
 
rm -f conftest.$ac_objext conftest$ac_exeext
19121
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19122
 
  (eval $ac_link) 2>conftest.er1
19123
 
  ac_status=$?
19124
 
  grep -v '^ *+' conftest.er1 >conftest.err
19125
 
  rm -f conftest.er1
19126
 
  cat conftest.err >&5
19127
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128
 
  (exit $ac_status); } &&
19129
 
         { ac_try='test -z "$ac_c_werror_flag"
19130
 
                         || test ! -s conftest.err'
19131
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19132
 
  (eval $ac_try) 2>&5
19133
 
  ac_status=$?
19134
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19135
 
  (exit $ac_status); }; } &&
19136
 
         { ac_try='test -s conftest$ac_exeext'
19137
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19138
 
  (eval $ac_try) 2>&5
19139
 
  ac_status=$?
19140
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141
 
  (exit $ac_status); }; }; then
19142
 
  ac_cv_lib_svld_dlopen=yes
19143
 
else
19144
 
  echo "$as_me: failed program was:" >&5
19145
 
sed 's/^/| /' conftest.$ac_ext >&5
19146
 
 
19147
 
ac_cv_lib_svld_dlopen=no
19148
 
fi
19149
 
rm -f conftest.err conftest.$ac_objext \
19150
 
      conftest$ac_exeext conftest.$ac_ext
19151
 
LIBS=$ac_check_lib_save_LIBS
19152
 
fi
19153
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
19154
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
19155
 
if test $ac_cv_lib_svld_dlopen = yes; then
19156
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
19157
 
else
19158
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
19159
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
19160
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
19161
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19162
 
else
19163
 
  ac_check_lib_save_LIBS=$LIBS
19164
 
LIBS="-ldld  $LIBS"
19165
 
cat >conftest.$ac_ext <<_ACEOF
19166
 
/* confdefs.h.  */
19167
 
_ACEOF
19168
 
cat confdefs.h >>conftest.$ac_ext
19169
 
cat >>conftest.$ac_ext <<_ACEOF
19170
 
/* end confdefs.h.  */
19171
 
 
19172
 
/* Override any gcc2 internal prototype to avoid an error.  */
19173
 
#ifdef __cplusplus
19174
 
extern "C"
19175
 
#endif
19176
 
/* We use char because int might match the return type of a gcc2
19177
 
   builtin and then its argument prototype would still apply.  */
19178
 
char dld_link ();
19179
 
int
19180
 
main ()
19181
 
{
19182
 
dld_link ();
19183
 
  ;
19184
 
  return 0;
19185
 
}
19186
 
_ACEOF
19187
 
rm -f conftest.$ac_objext conftest$ac_exeext
19188
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19189
 
  (eval $ac_link) 2>conftest.er1
19190
 
  ac_status=$?
19191
 
  grep -v '^ *+' conftest.er1 >conftest.err
19192
 
  rm -f conftest.er1
19193
 
  cat conftest.err >&5
19194
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195
 
  (exit $ac_status); } &&
19196
 
         { ac_try='test -z "$ac_c_werror_flag"
19197
 
                         || test ! -s conftest.err'
19198
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19199
 
  (eval $ac_try) 2>&5
19200
 
  ac_status=$?
19201
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202
 
  (exit $ac_status); }; } &&
19203
 
         { ac_try='test -s conftest$ac_exeext'
19204
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19205
 
  (eval $ac_try) 2>&5
19206
 
  ac_status=$?
19207
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19208
 
  (exit $ac_status); }; }; then
19209
 
  ac_cv_lib_dld_dld_link=yes
19210
 
else
19211
 
  echo "$as_me: failed program was:" >&5
19212
 
sed 's/^/| /' conftest.$ac_ext >&5
19213
 
 
19214
 
ac_cv_lib_dld_dld_link=no
19215
 
fi
19216
 
rm -f conftest.err conftest.$ac_objext \
19217
 
      conftest$ac_exeext conftest.$ac_ext
19218
 
LIBS=$ac_check_lib_save_LIBS
19219
 
fi
19220
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
19221
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
19222
 
if test $ac_cv_lib_dld_dld_link = yes; then
19223
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
19224
 
fi
19225
 
 
19226
 
 
19227
 
fi
19228
 
 
19229
 
 
19230
 
fi
19231
 
 
19232
 
 
19233
 
fi
19234
 
 
19235
 
 
19236
 
fi
19237
 
 
19238
 
 
19239
 
fi
19240
 
 
19241
 
    ;;
19242
 
  esac
19243
 
 
19244
 
  if test "x$lt_cv_dlopen" != xno; then
19245
 
    enable_dlopen=yes
19246
 
  else
19247
 
    enable_dlopen=no
19248
 
  fi
19249
 
 
19250
 
  case $lt_cv_dlopen in
19251
 
  dlopen)
19252
 
    save_CPPFLAGS="$CPPFLAGS"
19253
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
19254
 
 
19255
 
    save_LDFLAGS="$LDFLAGS"
19256
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
19257
 
 
19258
 
    save_LIBS="$LIBS"
19259
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
19260
 
 
19261
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
19262
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
19263
 
if test "${lt_cv_dlopen_self+set}" = set; then
19264
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19265
 
else
19266
 
          if test "$cross_compiling" = yes; then :
19267
 
  lt_cv_dlopen_self=cross
19268
 
else
19269
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19270
 
  lt_status=$lt_dlunknown
19271
 
  cat > conftest.$ac_ext <<EOF
19272
 
#line 19272 "configure"
19273
 
#include "confdefs.h"
19274
 
 
19275
 
#if HAVE_DLFCN_H
19276
 
#include <dlfcn.h>
19277
 
#endif
19278
 
 
19279
 
#include <stdio.h>
19280
 
 
19281
 
#ifdef RTLD_GLOBAL
19282
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
19283
 
#else
19284
 
#  ifdef DL_GLOBAL
19285
 
#    define LT_DLGLOBAL         DL_GLOBAL
19286
 
#  else
19287
 
#    define LT_DLGLOBAL         0
19288
 
#  endif
19289
 
#endif
19290
 
 
19291
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19292
 
   find out it does not work in some platform. */
19293
 
#ifndef LT_DLLAZY_OR_NOW
19294
 
#  ifdef RTLD_LAZY
19295
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
19296
 
#  else
19297
 
#    ifdef DL_LAZY
19298
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
19299
 
#    else
19300
 
#      ifdef RTLD_NOW
19301
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
19302
 
#      else
19303
 
#        ifdef DL_NOW
19304
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
19305
 
#        else
19306
 
#          define LT_DLLAZY_OR_NOW      0
19307
 
#        endif
19308
 
#      endif
19309
 
#    endif
19310
 
#  endif
19311
 
#endif
19312
 
 
19313
 
#ifdef __cplusplus
19314
 
extern "C" void exit (int);
19315
 
#endif
19316
 
 
19317
 
void fnord() { int i=42;}
19318
 
int main ()
19319
 
{
19320
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19321
 
  int status = $lt_dlunknown;
19322
 
 
19323
 
  if (self)
19324
 
    {
19325
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
19326
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19327
 
      /* dlclose (self); */
19328
 
    }
19329
 
 
19330
 
    exit (status);
19331
 
}
19332
 
EOF
19333
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19334
 
  (eval $ac_link) 2>&5
19335
 
  ac_status=$?
19336
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19338
 
    (./conftest; exit; ) 2>/dev/null
19339
 
    lt_status=$?
19340
 
    case x$lt_status in
19341
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
19342
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
19343
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
19344
 
    esac
19345
 
  else :
19346
 
    # compilation failed
19347
 
    lt_cv_dlopen_self=no
19348
 
  fi
19349
 
fi
19350
 
rm -fr conftest*
19351
 
 
19352
 
 
19353
 
fi
19354
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
19355
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
19356
 
 
19357
 
    if test "x$lt_cv_dlopen_self" = xyes; then
19358
 
      LDFLAGS="$LDFLAGS $link_static_flag"
19359
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
19360
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
19361
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
19362
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19363
 
else
19364
 
          if test "$cross_compiling" = yes; then :
19365
 
  lt_cv_dlopen_self_static=cross
19366
 
else
19367
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19368
 
  lt_status=$lt_dlunknown
19369
 
  cat > conftest.$ac_ext <<EOF
19370
 
#line 19370 "configure"
19371
 
#include "confdefs.h"
19372
 
 
19373
 
#if HAVE_DLFCN_H
19374
 
#include <dlfcn.h>
19375
 
#endif
19376
 
 
19377
 
#include <stdio.h>
19378
 
 
19379
 
#ifdef RTLD_GLOBAL
19380
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
19381
 
#else
19382
 
#  ifdef DL_GLOBAL
19383
 
#    define LT_DLGLOBAL         DL_GLOBAL
19384
 
#  else
19385
 
#    define LT_DLGLOBAL         0
19386
 
#  endif
19387
 
#endif
19388
 
 
19389
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19390
 
   find out it does not work in some platform. */
19391
 
#ifndef LT_DLLAZY_OR_NOW
19392
 
#  ifdef RTLD_LAZY
19393
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
19394
 
#  else
19395
 
#    ifdef DL_LAZY
19396
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
19397
 
#    else
19398
 
#      ifdef RTLD_NOW
19399
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
19400
 
#      else
19401
 
#        ifdef DL_NOW
19402
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
19403
 
#        else
19404
 
#          define LT_DLLAZY_OR_NOW      0
19405
 
#        endif
19406
 
#      endif
19407
 
#    endif
19408
 
#  endif
19409
 
#endif
19410
 
 
19411
 
#ifdef __cplusplus
19412
 
extern "C" void exit (int);
19413
 
#endif
19414
 
 
19415
 
void fnord() { int i=42;}
19416
 
int main ()
19417
 
{
19418
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19419
 
  int status = $lt_dlunknown;
19420
 
 
19421
 
  if (self)
19422
 
    {
19423
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
19424
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19425
 
      /* dlclose (self); */
19426
 
    }
19427
 
 
19428
 
    exit (status);
19429
 
}
19430
 
EOF
19431
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19432
 
  (eval $ac_link) 2>&5
19433
 
  ac_status=$?
19434
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19436
 
    (./conftest; exit; ) 2>/dev/null
19437
 
    lt_status=$?
19438
 
    case x$lt_status in
19439
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
19440
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
19441
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
19442
 
    esac
19443
 
  else :
19444
 
    # compilation failed
19445
 
    lt_cv_dlopen_self_static=no
19446
 
  fi
19447
 
fi
19448
 
rm -fr conftest*
19449
 
 
19450
 
 
19451
 
fi
19452
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
19453
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
19454
 
    fi
19455
 
 
19456
 
    CPPFLAGS="$save_CPPFLAGS"
19457
 
    LDFLAGS="$save_LDFLAGS"
19458
 
    LIBS="$save_LIBS"
19459
 
    ;;
19460
 
  esac
19461
 
 
19462
 
  case $lt_cv_dlopen_self in
19463
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
19464
 
  *) enable_dlopen_self=unknown ;;
19465
 
  esac
19466
 
 
19467
 
  case $lt_cv_dlopen_self_static in
19468
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
19469
 
  *) enable_dlopen_self_static=unknown ;;
19470
 
  esac
19471
 
fi
19472
 
 
19473
18973
 
19474
18974
# The else clause should only fire when bootstrapping the
19475
18975
# libtool distribution, otherwise you forgot to ship ltmain.sh
19484
18984
  # Now quote all the things that may contain metacharacters while being
19485
18985
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19486
18986
  # variables and quote the copies for generation of the libtool script.
19487
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
18987
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19488
18988
    SED SHELL STRIP \
19489
18989
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19490
18990
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19602
19102
# A C compiler.
19603
19103
LTCC=$lt_LTCC
19604
19104
 
 
19105
# LTCC compiler flags.
 
19106
LTCFLAGS=$lt_LTCFLAGS
 
19107
 
19605
19108
# A language-specific compiler.
19606
19109
CC=$lt_compiler_GCJ
19607
19110
 
19892
19395
      RC)
19893
19396
 
19894
19397
 
19895
 
 
19896
19398
# Source file extension for RC test sources.
19897
19399
ac_ext=rc
19898
19400
 
19911
19413
# If no C compiler was specified, use CC.
19912
19414
LTCC=${LTCC-"$CC"}
19913
19415
 
 
19416
# If no C compiler flags were specified, use CFLAGS.
 
19417
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
19418
 
19914
19419
# Allow CC to be a program name with arguments.
19915
19420
compiler=$CC
19916
19421
 
19918
19423
# save warnings/boilerplate of simple test code
19919
19424
ac_outfile=conftest.$ac_objext
19920
19425
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
19921
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
19426
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19922
19427
_lt_compiler_boilerplate=`cat conftest.err`
19923
19428
$rm conftest*
19924
19429
 
19925
19430
ac_outfile=conftest.$ac_objext
19926
19431
printf "$lt_simple_link_test_code" >conftest.$ac_ext
19927
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
19432
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19928
19433
_lt_linker_boilerplate=`cat conftest.err`
19929
19434
$rm conftest*
19930
19435
 
19959
19464
  # Now quote all the things that may contain metacharacters while being
19960
19465
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19961
19466
  # variables and quote the copies for generation of the libtool script.
19962
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
19467
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19963
19468
    SED SHELL STRIP \
19964
19469
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19965
19470
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20077
19582
# A C compiler.
20078
19583
LTCC=$lt_LTCC
20079
19584
 
 
19585
# LTCC compiler flags.
 
19586
LTCFLAGS=$lt_LTCFLAGS
 
19587
 
20080
19588
# A language-specific compiler.
20081
19589
CC=$lt_compiler_RC
20082
19590
 
20421
19929
CPPFLAGS="${CPPFLAGS} -D_REENTRANT -D__EXTENSIONS__"
20422
19930
 
20423
19931
# Checks for header files.
20424
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20425
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
19932
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
19933
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20426
19934
if test "${ac_cv_header_stdc+set}" = set; then
20427
19935
  echo $ECHO_N "(cached) $ECHO_C" >&6
20428
19936
else
20446
19954
}
20447
19955
_ACEOF
20448
19956
rm -f conftest.$ac_objext
20449
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20450
 
  (eval $ac_compile) 2>conftest.er1
 
19957
if { (ac_try="$ac_compile"
 
19958
case "(($ac_try" in
 
19959
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19960
  *) ac_try_echo=$ac_try;;
 
19961
esac
 
19962
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19963
  (eval "$ac_compile") 2>conftest.er1
20451
19964
  ac_status=$?
20452
19965
  grep -v '^ *+' conftest.er1 >conftest.err
20453
19966
  rm -f conftest.er1
20454
19967
  cat conftest.err >&5
20455
19968
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456
 
  (exit $ac_status); } &&
20457
 
         { ac_try='test -z "$ac_c_werror_flag"
20458
 
                         || test ! -s conftest.err'
20459
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20460
 
  (eval $ac_try) 2>&5
20461
 
  ac_status=$?
20462
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20463
 
  (exit $ac_status); }; } &&
20464
 
         { ac_try='test -s conftest.$ac_objext'
20465
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20466
 
  (eval $ac_try) 2>&5
20467
 
  ac_status=$?
20468
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469
 
  (exit $ac_status); }; }; then
 
19969
  (exit $ac_status); } && {
 
19970
         test -z "$ac_c_werror_flag" ||
 
19971
         test ! -s conftest.err
 
19972
       } && test -s conftest.$ac_objext; then
20470
19973
  ac_cv_header_stdc=yes
20471
19974
else
20472
19975
  echo "$as_me: failed program was:" >&5
20473
19976
sed 's/^/| /' conftest.$ac_ext >&5
20474
19977
 
20475
 
ac_cv_header_stdc=no
 
19978
        ac_cv_header_stdc=no
20476
19979
fi
20477
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19980
 
 
19981
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20478
19982
 
20479
19983
if test $ac_cv_header_stdc = yes; then
20480
19984
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20530
20034
cat >>conftest.$ac_ext <<_ACEOF
20531
20035
/* end confdefs.h.  */
20532
20036
#include <ctype.h>
 
20037
#include <stdlib.h>
20533
20038
#if ((' ' & 0x0FF) == 0x020)
20534
20039
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20535
20040
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20549
20054
  for (i = 0; i < 256; i++)
20550
20055
    if (XOR (islower (i), ISLOWER (i))
20551
20056
        || toupper (i) != TOUPPER (i))
20552
 
      exit(2);
20553
 
  exit (0);
 
20057
      return 2;
 
20058
  return 0;
20554
20059
}
20555
20060
_ACEOF
20556
20061
rm -f conftest$ac_exeext
20557
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20558
 
  (eval $ac_link) 2>&5
 
20062
if { (ac_try="$ac_link"
 
20063
case "(($ac_try" in
 
20064
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20065
  *) ac_try_echo=$ac_try;;
 
20066
esac
 
20067
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20068
  (eval "$ac_link") 2>&5
20559
20069
  ac_status=$?
20560
20070
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20561
20071
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20562
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20563
 
  (eval $ac_try) 2>&5
 
20072
  { (case "(($ac_try" in
 
20073
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20074
  *) ac_try_echo=$ac_try;;
 
20075
esac
 
20076
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20077
  (eval "$ac_try") 2>&5
20564
20078
  ac_status=$?
20565
20079
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20566
20080
  (exit $ac_status); }; }; then
20573
20087
( exit $ac_status )
20574
20088
ac_cv_header_stdc=no
20575
20089
fi
20576
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20577
 
fi
20578
 
fi
20579
 
fi
20580
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20581
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
20090
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
20091
fi
 
20092
 
 
20093
 
 
20094
fi
 
20095
fi
 
20096
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
20097
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20582
20098
if test $ac_cv_header_stdc = yes; then
20583
20099
 
20584
20100
cat >>confdefs.h <<\_ACEOF
20587
20103
 
20588
20104
fi
20589
20105
 
20590
 
echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
20591
 
echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
 
20106
{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
 
20107
echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
20592
20108
if test "${ac_cv_header_sys_wait_h+set}" = set; then
20593
20109
  echo $ECHO_N "(cached) $ECHO_C" >&6
20594
20110
else
20601
20117
#include <sys/types.h>
20602
20118
#include <sys/wait.h>
20603
20119
#ifndef WEXITSTATUS
20604
 
# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
 
20120
# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
20605
20121
#endif
20606
20122
#ifndef WIFEXITED
20607
20123
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
20618
20134
}
20619
20135
_ACEOF
20620
20136
rm -f conftest.$ac_objext
20621
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20622
 
  (eval $ac_compile) 2>conftest.er1
 
20137
if { (ac_try="$ac_compile"
 
20138
case "(($ac_try" in
 
20139
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20140
  *) ac_try_echo=$ac_try;;
 
20141
esac
 
20142
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20143
  (eval "$ac_compile") 2>conftest.er1
20623
20144
  ac_status=$?
20624
20145
  grep -v '^ *+' conftest.er1 >conftest.err
20625
20146
  rm -f conftest.er1
20626
20147
  cat conftest.err >&5
20627
20148
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20628
 
  (exit $ac_status); } &&
20629
 
         { ac_try='test -z "$ac_c_werror_flag"
20630
 
                         || test ! -s conftest.err'
20631
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20632
 
  (eval $ac_try) 2>&5
20633
 
  ac_status=$?
20634
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20635
 
  (exit $ac_status); }; } &&
20636
 
         { ac_try='test -s conftest.$ac_objext'
20637
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20638
 
  (eval $ac_try) 2>&5
20639
 
  ac_status=$?
20640
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20641
 
  (exit $ac_status); }; }; then
 
20149
  (exit $ac_status); } && {
 
20150
         test -z "$ac_c_werror_flag" ||
 
20151
         test ! -s conftest.err
 
20152
       } && test -s conftest.$ac_objext; then
20642
20153
  ac_cv_header_sys_wait_h=yes
20643
20154
else
20644
20155
  echo "$as_me: failed program was:" >&5
20645
20156
sed 's/^/| /' conftest.$ac_ext >&5
20646
20157
 
20647
 
ac_cv_header_sys_wait_h=no
20648
 
fi
20649
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20650
 
fi
20651
 
echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
20652
 
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
 
20158
        ac_cv_header_sys_wait_h=no
 
20159
fi
 
20160
 
 
20161
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20162
fi
 
20163
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
 
20164
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
20653
20165
if test $ac_cv_header_sys_wait_h = yes; then
20654
20166
 
20655
20167
cat >>confdefs.h <<\_ACEOF
20692
20204
sys/resource.h sys/un.h syslog.h sys/prctl.h uuid/uuid.h
20693
20205
do
20694
20206
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20695
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20696
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
20697
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20698
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
20207
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20208
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20209
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
20210
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20699
20211
  echo $ECHO_N "(cached) $ECHO_C" >&6
20700
20212
fi
20701
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20702
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
20213
ac_res=`eval echo '${'$as_ac_Header'}'`
 
20214
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
20215
echo "${ECHO_T}$ac_res" >&6; }
20703
20216
else
20704
20217
  # Is the header compilable?
20705
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
20706
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
20218
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
20219
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20707
20220
cat >conftest.$ac_ext <<_ACEOF
20708
20221
/* confdefs.h.  */
20709
20222
_ACEOF
20714
20227
#include <$ac_header>
20715
20228
_ACEOF
20716
20229
rm -f conftest.$ac_objext
20717
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20718
 
  (eval $ac_compile) 2>conftest.er1
 
20230
if { (ac_try="$ac_compile"
 
20231
case "(($ac_try" in
 
20232
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20233
  *) ac_try_echo=$ac_try;;
 
20234
esac
 
20235
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20236
  (eval "$ac_compile") 2>conftest.er1
20719
20237
  ac_status=$?
20720
20238
  grep -v '^ *+' conftest.er1 >conftest.err
20721
20239
  rm -f conftest.er1
20722
20240
  cat conftest.err >&5
20723
20241
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20724
 
  (exit $ac_status); } &&
20725
 
         { ac_try='test -z "$ac_c_werror_flag"
20726
 
                         || test ! -s conftest.err'
20727
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20728
 
  (eval $ac_try) 2>&5
20729
 
  ac_status=$?
20730
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20731
 
  (exit $ac_status); }; } &&
20732
 
         { ac_try='test -s conftest.$ac_objext'
20733
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20734
 
  (eval $ac_try) 2>&5
20735
 
  ac_status=$?
20736
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20737
 
  (exit $ac_status); }; }; then
 
20242
  (exit $ac_status); } && {
 
20243
         test -z "$ac_c_werror_flag" ||
 
20244
         test ! -s conftest.err
 
20245
       } && test -s conftest.$ac_objext; then
20738
20246
  ac_header_compiler=yes
20739
20247
else
20740
20248
  echo "$as_me: failed program was:" >&5
20741
20249
sed 's/^/| /' conftest.$ac_ext >&5
20742
20250
 
20743
 
ac_header_compiler=no
 
20251
        ac_header_compiler=no
20744
20252
fi
20745
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20746
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20747
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
20253
 
 
20254
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20255
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
20256
echo "${ECHO_T}$ac_header_compiler" >&6; }
20748
20257
 
20749
20258
# Is the header present?
20750
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
20751
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
20259
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
20260
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20752
20261
cat >conftest.$ac_ext <<_ACEOF
20753
20262
/* confdefs.h.  */
20754
20263
_ACEOF
20757
20266
/* end confdefs.h.  */
20758
20267
#include <$ac_header>
20759
20268
_ACEOF
20760
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20761
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
20269
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
20270
case "(($ac_try" in
 
20271
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20272
  *) ac_try_echo=$ac_try;;
 
20273
esac
 
20274
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20275
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20762
20276
  ac_status=$?
20763
20277
  grep -v '^ *+' conftest.er1 >conftest.err
20764
20278
  rm -f conftest.er1
20765
20279
  cat conftest.err >&5
20766
20280
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767
 
  (exit $ac_status); } >/dev/null; then
20768
 
  if test -s conftest.err; then
20769
 
    ac_cpp_err=$ac_c_preproc_warn_flag
20770
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20771
 
  else
20772
 
    ac_cpp_err=
20773
 
  fi
20774
 
else
20775
 
  ac_cpp_err=yes
20776
 
fi
20777
 
if test -z "$ac_cpp_err"; then
 
20281
  (exit $ac_status); } >/dev/null && {
 
20282
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
20283
         test ! -s conftest.err
 
20284
       }; then
20778
20285
  ac_header_preproc=yes
20779
20286
else
20780
20287
  echo "$as_me: failed program was:" >&5
20782
20289
 
20783
20290
  ac_header_preproc=no
20784
20291
fi
 
20292
 
20785
20293
rm -f conftest.err conftest.$ac_ext
20786
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20787
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
20294
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
20295
echo "${ECHO_T}$ac_header_preproc" >&6; }
20788
20296
 
20789
20297
# So?  What about this header?
20790
20298
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20808
20316
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20809
20317
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20810
20318
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20811
 
    (
20812
 
      cat <<\_ASBOX
 
20319
    ( cat <<\_ASBOX
20813
20320
## ------------------------------ ##
20814
20321
## Report this to jan@kneschke.de ##
20815
20322
## ------------------------------ ##
20816
20323
_ASBOX
20817
 
    ) |
20818
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
20324
     ) | sed "s/^/$as_me: WARNING:     /" >&2
20819
20325
    ;;
20820
20326
esac
20821
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
20822
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20823
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
20327
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20328
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
20329
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20824
20330
  echo $ECHO_N "(cached) $ECHO_C" >&6
20825
20331
else
20826
20332
  eval "$as_ac_Header=\$ac_header_preproc"
20827
20333
fi
20828
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20829
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
20334
ac_res=`eval echo '${'$as_ac_Header'}'`
 
20335
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
20336
echo "${ECHO_T}$ac_res" >&6; }
20830
20337
 
20831
20338
fi
20832
20339
if test `eval echo '${'$as_ac_Header'}'` = yes; then
20840
20347
 
20841
20348
 
20842
20349
# Checks for typedefs, structures, and compiler characteristics.
20843
 
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20844
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
 
20350
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 
20351
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20845
20352
if test "${ac_cv_c_const+set}" = set; then
20846
20353
  echo $ECHO_N "(cached) $ECHO_C" >&6
20847
20354
else
20859
20366
#ifndef __cplusplus
20860
20367
  /* Ultrix mips cc rejects this.  */
20861
20368
  typedef int charset[2];
20862
 
  const charset x;
 
20369
  const charset cs;
20863
20370
  /* SunOS 4.1.1 cc rejects this.  */
20864
 
  char const *const *ccp;
20865
 
  char **p;
 
20371
  char const *const *pcpcc;
 
20372
  char **ppc;
20866
20373
  /* NEC SVR4.0.2 mips cc rejects this.  */
20867
20374
  struct point {int x, y;};
20868
20375
  static struct point const zero = {0,0};
20871
20378
     an arm of an if-expression whose if-part is not a constant
20872
20379
     expression */
20873
20380
  const char *g = "string";
20874
 
  ccp = &g + (g ? g-g : 0);
 
20381
  pcpcc = &g + (g ? g-g : 0);
20875
20382
  /* HPUX 7.0 cc rejects these. */
20876
 
  ++ccp;
20877
 
  p = (char**) ccp;
20878
 
  ccp = (char const *const *) p;
 
20383
  ++pcpcc;
 
20384
  ppc = (char**) pcpcc;
 
20385
  pcpcc = (char const *const *) ppc;
20879
20386
  { /* SCO 3.2v4 cc rejects this.  */
20880
20387
    char *t;
20881
20388
    char const *s = 0 ? (char *) 0 : (char const *) 0;
20882
20389
 
20883
20390
    *t++ = 0;
 
20391
    if (s) return 0;
20884
20392
  }
20885
20393
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
20886
20394
    int x[] = {25, 17};
20899
20407
  }
20900
20408
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20901
20409
    const int foo = 10;
 
20410
    if (!foo) return 0;
20902
20411
  }
 
20412
  return !cs[0] && !zero.x;
20903
20413
#endif
20904
20414
 
20905
20415
  ;
20907
20417
}
20908
20418
_ACEOF
20909
20419
rm -f conftest.$ac_objext
20910
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20911
 
  (eval $ac_compile) 2>conftest.er1
 
20420
if { (ac_try="$ac_compile"
 
20421
case "(($ac_try" in
 
20422
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20423
  *) ac_try_echo=$ac_try;;
 
20424
esac
 
20425
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20426
  (eval "$ac_compile") 2>conftest.er1
20912
20427
  ac_status=$?
20913
20428
  grep -v '^ *+' conftest.er1 >conftest.err
20914
20429
  rm -f conftest.er1
20915
20430
  cat conftest.err >&5
20916
20431
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20917
 
  (exit $ac_status); } &&
20918
 
         { ac_try='test -z "$ac_c_werror_flag"
20919
 
                         || test ! -s conftest.err'
20920
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20921
 
  (eval $ac_try) 2>&5
20922
 
  ac_status=$?
20923
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20924
 
  (exit $ac_status); }; } &&
20925
 
         { ac_try='test -s conftest.$ac_objext'
20926
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20927
 
  (eval $ac_try) 2>&5
20928
 
  ac_status=$?
20929
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20930
 
  (exit $ac_status); }; }; then
 
20432
  (exit $ac_status); } && {
 
20433
         test -z "$ac_c_werror_flag" ||
 
20434
         test ! -s conftest.err
 
20435
       } && test -s conftest.$ac_objext; then
20931
20436
  ac_cv_c_const=yes
20932
20437
else
20933
20438
  echo "$as_me: failed program was:" >&5
20934
20439
sed 's/^/| /' conftest.$ac_ext >&5
20935
20440
 
20936
 
ac_cv_c_const=no
20937
 
fi
20938
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20939
 
fi
20940
 
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20941
 
echo "${ECHO_T}$ac_cv_c_const" >&6
 
20441
        ac_cv_c_const=no
 
20442
fi
 
20443
 
 
20444
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20445
fi
 
20446
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 
20447
echo "${ECHO_T}$ac_cv_c_const" >&6; }
20942
20448
if test $ac_cv_c_const = no; then
20943
20449
 
20944
20450
cat >>confdefs.h <<\_ACEOF
20947
20453
 
20948
20454
fi
20949
20455
 
20950
 
echo "$as_me:$LINENO: checking for inline" >&5
20951
 
echo $ECHO_N "checking for inline... $ECHO_C" >&6
 
20456
{ echo "$as_me:$LINENO: checking for inline" >&5
 
20457
echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20952
20458
if test "${ac_cv_c_inline+set}" = set; then
20953
20459
  echo $ECHO_N "(cached) $ECHO_C" >&6
20954
20460
else
20968
20474
 
20969
20475
_ACEOF
20970
20476
rm -f conftest.$ac_objext
20971
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20972
 
  (eval $ac_compile) 2>conftest.er1
 
20477
if { (ac_try="$ac_compile"
 
20478
case "(($ac_try" in
 
20479
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20480
  *) ac_try_echo=$ac_try;;
 
20481
esac
 
20482
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20483
  (eval "$ac_compile") 2>conftest.er1
20973
20484
  ac_status=$?
20974
20485
  grep -v '^ *+' conftest.er1 >conftest.err
20975
20486
  rm -f conftest.er1
20976
20487
  cat conftest.err >&5
20977
20488
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978
 
  (exit $ac_status); } &&
20979
 
         { ac_try='test -z "$ac_c_werror_flag"
20980
 
                         || test ! -s conftest.err'
20981
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20982
 
  (eval $ac_try) 2>&5
20983
 
  ac_status=$?
20984
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20985
 
  (exit $ac_status); }; } &&
20986
 
         { ac_try='test -s conftest.$ac_objext'
20987
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20988
 
  (eval $ac_try) 2>&5
20989
 
  ac_status=$?
20990
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20991
 
  (exit $ac_status); }; }; then
20992
 
  ac_cv_c_inline=$ac_kw; break
 
20489
  (exit $ac_status); } && {
 
20490
         test -z "$ac_c_werror_flag" ||
 
20491
         test ! -s conftest.err
 
20492
       } && test -s conftest.$ac_objext; then
 
20493
  ac_cv_c_inline=$ac_kw
20993
20494
else
20994
20495
  echo "$as_me: failed program was:" >&5
20995
20496
sed 's/^/| /' conftest.$ac_ext >&5
20996
20497
 
 
20498
 
20997
20499
fi
20998
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20500
 
 
20501
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20502
  test "$ac_cv_c_inline" != no && break
20999
20503
done
21000
20504
 
21001
20505
fi
21002
 
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21003
 
echo "${ECHO_T}$ac_cv_c_inline" >&6
 
20506
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
 
20507
echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21004
20508
 
21005
20509
 
21006
20510
case $ac_cv_c_inline in
21019
20523
esac
21020
20524
 
21021
20525
 
21022
 
echo "$as_me:$LINENO: checking whether char is unsigned" >&5
21023
 
echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6
 
20526
{ echo "$as_me:$LINENO: checking whether char is unsigned" >&5
 
20527
echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6; }
21024
20528
if test "${ac_cv_c_char_unsigned+set}" = set; then
21025
20529
  echo $ECHO_N "(cached) $ECHO_C" >&6
21026
20530
else
21042
20546
}
21043
20547
_ACEOF
21044
20548
rm -f conftest.$ac_objext
21045
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21046
 
  (eval $ac_compile) 2>conftest.er1
 
20549
if { (ac_try="$ac_compile"
 
20550
case "(($ac_try" in
 
20551
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20552
  *) ac_try_echo=$ac_try;;
 
20553
esac
 
20554
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20555
  (eval "$ac_compile") 2>conftest.er1
21047
20556
  ac_status=$?
21048
20557
  grep -v '^ *+' conftest.er1 >conftest.err
21049
20558
  rm -f conftest.er1
21050
20559
  cat conftest.err >&5
21051
20560
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21052
 
  (exit $ac_status); } &&
21053
 
         { ac_try='test -z "$ac_c_werror_flag"
21054
 
                         || test ! -s conftest.err'
21055
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21056
 
  (eval $ac_try) 2>&5
21057
 
  ac_status=$?
21058
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21059
 
  (exit $ac_status); }; } &&
21060
 
         { ac_try='test -s conftest.$ac_objext'
21061
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21062
 
  (eval $ac_try) 2>&5
21063
 
  ac_status=$?
21064
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21065
 
  (exit $ac_status); }; }; then
 
20561
  (exit $ac_status); } && {
 
20562
         test -z "$ac_c_werror_flag" ||
 
20563
         test ! -s conftest.err
 
20564
       } && test -s conftest.$ac_objext; then
21066
20565
  ac_cv_c_char_unsigned=no
21067
20566
else
21068
20567
  echo "$as_me: failed program was:" >&5
21069
20568
sed 's/^/| /' conftest.$ac_ext >&5
21070
20569
 
21071
 
ac_cv_c_char_unsigned=yes
21072
 
fi
21073
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21074
 
fi
21075
 
echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5
21076
 
echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6
 
20570
        ac_cv_c_char_unsigned=yes
 
20571
fi
 
20572
 
 
20573
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20574
fi
 
20575
{ echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5
 
20576
echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6; }
21077
20577
if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
21078
20578
  cat >>confdefs.h <<\_ACEOF
21079
20579
#define __CHAR_UNSIGNED__ 1
21081
20581
 
21082
20582
fi
21083
20583
 
21084
 
echo "$as_me:$LINENO: checking for off_t" >&5
21085
 
echo $ECHO_N "checking for off_t... $ECHO_C" >&6
 
20584
{ echo "$as_me:$LINENO: checking for off_t" >&5
 
20585
echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
21086
20586
if test "${ac_cv_type_off_t+set}" = set; then
21087
20587
  echo $ECHO_N "(cached) $ECHO_C" >&6
21088
20588
else
21093
20593
cat >>conftest.$ac_ext <<_ACEOF
21094
20594
/* end confdefs.h.  */
21095
20595
$ac_includes_default
 
20596
typedef off_t ac__type_new_;
21096
20597
int
21097
20598
main ()
21098
20599
{
21099
 
if ((off_t *) 0)
 
20600
if ((ac__type_new_ *) 0)
21100
20601
  return 0;
21101
 
if (sizeof (off_t))
 
20602
if (sizeof (ac__type_new_))
21102
20603
  return 0;
21103
20604
  ;
21104
20605
  return 0;
21105
20606
}
21106
20607
_ACEOF
21107
20608
rm -f conftest.$ac_objext
21108
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21109
 
  (eval $ac_compile) 2>conftest.er1
 
20609
if { (ac_try="$ac_compile"
 
20610
case "(($ac_try" in
 
20611
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20612
  *) ac_try_echo=$ac_try;;
 
20613
esac
 
20614
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20615
  (eval "$ac_compile") 2>conftest.er1
21110
20616
  ac_status=$?
21111
20617
  grep -v '^ *+' conftest.er1 >conftest.err
21112
20618
  rm -f conftest.er1
21113
20619
  cat conftest.err >&5
21114
20620
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21115
 
  (exit $ac_status); } &&
21116
 
         { ac_try='test -z "$ac_c_werror_flag"
21117
 
                         || test ! -s conftest.err'
21118
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21119
 
  (eval $ac_try) 2>&5
21120
 
  ac_status=$?
21121
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122
 
  (exit $ac_status); }; } &&
21123
 
         { ac_try='test -s conftest.$ac_objext'
21124
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21125
 
  (eval $ac_try) 2>&5
21126
 
  ac_status=$?
21127
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21128
 
  (exit $ac_status); }; }; then
 
20621
  (exit $ac_status); } && {
 
20622
         test -z "$ac_c_werror_flag" ||
 
20623
         test ! -s conftest.err
 
20624
       } && test -s conftest.$ac_objext; then
21129
20625
  ac_cv_type_off_t=yes
21130
20626
else
21131
20627
  echo "$as_me: failed program was:" >&5
21132
20628
sed 's/^/| /' conftest.$ac_ext >&5
21133
20629
 
21134
 
ac_cv_type_off_t=no
21135
 
fi
21136
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21137
 
fi
21138
 
echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
21139
 
echo "${ECHO_T}$ac_cv_type_off_t" >&6
 
20630
        ac_cv_type_off_t=no
 
20631
fi
 
20632
 
 
20633
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20634
fi
 
20635
{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
 
20636
echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
21140
20637
if test $ac_cv_type_off_t = yes; then
21141
20638
  :
21142
20639
else
21143
20640
 
21144
20641
cat >>confdefs.h <<_ACEOF
21145
 
#define off_t long
 
20642
#define off_t long int
21146
20643
_ACEOF
21147
20644
 
21148
20645
fi
21149
20646
 
21150
 
echo "$as_me:$LINENO: checking for pid_t" >&5
21151
 
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
 
20647
{ echo "$as_me:$LINENO: checking for pid_t" >&5
 
20648
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
21152
20649
if test "${ac_cv_type_pid_t+set}" = set; then
21153
20650
  echo $ECHO_N "(cached) $ECHO_C" >&6
21154
20651
else
21159
20656
cat >>conftest.$ac_ext <<_ACEOF
21160
20657
/* end confdefs.h.  */
21161
20658
$ac_includes_default
 
20659
typedef pid_t ac__type_new_;
21162
20660
int
21163
20661
main ()
21164
20662
{
21165
 
if ((pid_t *) 0)
 
20663
if ((ac__type_new_ *) 0)
21166
20664
  return 0;
21167
 
if (sizeof (pid_t))
 
20665
if (sizeof (ac__type_new_))
21168
20666
  return 0;
21169
20667
  ;
21170
20668
  return 0;
21171
20669
}
21172
20670
_ACEOF
21173
20671
rm -f conftest.$ac_objext
21174
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21175
 
  (eval $ac_compile) 2>conftest.er1
 
20672
if { (ac_try="$ac_compile"
 
20673
case "(($ac_try" in
 
20674
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20675
  *) ac_try_echo=$ac_try;;
 
20676
esac
 
20677
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20678
  (eval "$ac_compile") 2>conftest.er1
21176
20679
  ac_status=$?
21177
20680
  grep -v '^ *+' conftest.er1 >conftest.err
21178
20681
  rm -f conftest.er1
21179
20682
  cat conftest.err >&5
21180
20683
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21181
 
  (exit $ac_status); } &&
21182
 
         { ac_try='test -z "$ac_c_werror_flag"
21183
 
                         || test ! -s conftest.err'
21184
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21185
 
  (eval $ac_try) 2>&5
21186
 
  ac_status=$?
21187
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21188
 
  (exit $ac_status); }; } &&
21189
 
         { ac_try='test -s conftest.$ac_objext'
21190
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21191
 
  (eval $ac_try) 2>&5
21192
 
  ac_status=$?
21193
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21194
 
  (exit $ac_status); }; }; then
 
20684
  (exit $ac_status); } && {
 
20685
         test -z "$ac_c_werror_flag" ||
 
20686
         test ! -s conftest.err
 
20687
       } && test -s conftest.$ac_objext; then
21195
20688
  ac_cv_type_pid_t=yes
21196
20689
else
21197
20690
  echo "$as_me: failed program was:" >&5
21198
20691
sed 's/^/| /' conftest.$ac_ext >&5
21199
20692
 
21200
 
ac_cv_type_pid_t=no
21201
 
fi
21202
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21203
 
fi
21204
 
echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
21205
 
echo "${ECHO_T}$ac_cv_type_pid_t" >&6
 
20693
        ac_cv_type_pid_t=no
 
20694
fi
 
20695
 
 
20696
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20697
fi
 
20698
{ echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
 
20699
echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
21206
20700
if test $ac_cv_type_pid_t = yes; then
21207
20701
  :
21208
20702
else
21213
20707
 
21214
20708
fi
21215
20709
 
21216
 
echo "$as_me:$LINENO: checking for size_t" >&5
21217
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
 
20710
{ echo "$as_me:$LINENO: checking for size_t" >&5
 
20711
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21218
20712
if test "${ac_cv_type_size_t+set}" = set; then
21219
20713
  echo $ECHO_N "(cached) $ECHO_C" >&6
21220
20714
else
21225
20719
cat >>conftest.$ac_ext <<_ACEOF
21226
20720
/* end confdefs.h.  */
21227
20721
$ac_includes_default
 
20722
typedef size_t ac__type_new_;
21228
20723
int
21229
20724
main ()
21230
20725
{
21231
 
if ((size_t *) 0)
 
20726
if ((ac__type_new_ *) 0)
21232
20727
  return 0;
21233
 
if (sizeof (size_t))
 
20728
if (sizeof (ac__type_new_))
21234
20729
  return 0;
21235
20730
  ;
21236
20731
  return 0;
21237
20732
}
21238
20733
_ACEOF
21239
20734
rm -f conftest.$ac_objext
21240
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21241
 
  (eval $ac_compile) 2>conftest.er1
 
20735
if { (ac_try="$ac_compile"
 
20736
case "(($ac_try" in
 
20737
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20738
  *) ac_try_echo=$ac_try;;
 
20739
esac
 
20740
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20741
  (eval "$ac_compile") 2>conftest.er1
21242
20742
  ac_status=$?
21243
20743
  grep -v '^ *+' conftest.er1 >conftest.err
21244
20744
  rm -f conftest.er1
21245
20745
  cat conftest.err >&5
21246
20746
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21247
 
  (exit $ac_status); } &&
21248
 
         { ac_try='test -z "$ac_c_werror_flag"
21249
 
                         || test ! -s conftest.err'
21250
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21251
 
  (eval $ac_try) 2>&5
21252
 
  ac_status=$?
21253
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21254
 
  (exit $ac_status); }; } &&
21255
 
         { ac_try='test -s conftest.$ac_objext'
21256
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21257
 
  (eval $ac_try) 2>&5
21258
 
  ac_status=$?
21259
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21260
 
  (exit $ac_status); }; }; then
 
20747
  (exit $ac_status); } && {
 
20748
         test -z "$ac_c_werror_flag" ||
 
20749
         test ! -s conftest.err
 
20750
       } && test -s conftest.$ac_objext; then
21261
20751
  ac_cv_type_size_t=yes
21262
20752
else
21263
20753
  echo "$as_me: failed program was:" >&5
21264
20754
sed 's/^/| /' conftest.$ac_ext >&5
21265
20755
 
21266
 
ac_cv_type_size_t=no
21267
 
fi
21268
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21269
 
fi
21270
 
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21271
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6
 
20756
        ac_cv_type_size_t=no
 
20757
fi
 
20758
 
 
20759
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20760
fi
 
20761
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
 
20762
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21272
20763
if test $ac_cv_type_size_t = yes; then
21273
20764
  :
21274
20765
else
21275
20766
 
21276
20767
cat >>confdefs.h <<_ACEOF
21277
 
#define size_t unsigned
 
20768
#define size_t unsigned int
21278
20769
_ACEOF
21279
20770
 
21280
20771
fi
21281
20772
 
21282
20773
 
21283
 
echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
21284
 
echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
 
20774
{ echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
 
20775
echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6; }
21285
20776
if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
21286
20777
  echo $ECHO_N "(cached) $ECHO_C" >&6
21287
20778
else
21304
20795
}
21305
20796
_ACEOF
21306
20797
rm -f conftest.$ac_objext
21307
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21308
 
  (eval $ac_compile) 2>conftest.er1
 
20798
if { (ac_try="$ac_compile"
 
20799
case "(($ac_try" in
 
20800
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20801
  *) ac_try_echo=$ac_try;;
 
20802
esac
 
20803
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20804
  (eval "$ac_compile") 2>conftest.er1
21309
20805
  ac_status=$?
21310
20806
  grep -v '^ *+' conftest.er1 >conftest.err
21311
20807
  rm -f conftest.er1
21312
20808
  cat conftest.err >&5
21313
20809
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21314
 
  (exit $ac_status); } &&
21315
 
         { ac_try='test -z "$ac_c_werror_flag"
21316
 
                         || test ! -s conftest.err'
21317
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21318
 
  (eval $ac_try) 2>&5
21319
 
  ac_status=$?
21320
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21321
 
  (exit $ac_status); }; } &&
21322
 
         { ac_try='test -s conftest.$ac_objext'
21323
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21324
 
  (eval $ac_try) 2>&5
21325
 
  ac_status=$?
21326
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327
 
  (exit $ac_status); }; }; then
 
20810
  (exit $ac_status); } && {
 
20811
         test -z "$ac_c_werror_flag" ||
 
20812
         test ! -s conftest.err
 
20813
       } && test -s conftest.$ac_objext; then
21328
20814
  ac_cv_member_struct_tm_tm_gmtoff=yes
21329
20815
else
21330
20816
  echo "$as_me: failed program was:" >&5
21331
20817
sed 's/^/| /' conftest.$ac_ext >&5
21332
20818
 
21333
 
cat >conftest.$ac_ext <<_ACEOF
 
20819
        cat >conftest.$ac_ext <<_ACEOF
21334
20820
/* confdefs.h.  */
21335
20821
_ACEOF
21336
20822
cat confdefs.h >>conftest.$ac_ext
21349
20835
}
21350
20836
_ACEOF
21351
20837
rm -f conftest.$ac_objext
21352
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21353
 
  (eval $ac_compile) 2>conftest.er1
 
20838
if { (ac_try="$ac_compile"
 
20839
case "(($ac_try" in
 
20840
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20841
  *) ac_try_echo=$ac_try;;
 
20842
esac
 
20843
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20844
  (eval "$ac_compile") 2>conftest.er1
21354
20845
  ac_status=$?
21355
20846
  grep -v '^ *+' conftest.er1 >conftest.err
21356
20847
  rm -f conftest.er1
21357
20848
  cat conftest.err >&5
21358
20849
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21359
 
  (exit $ac_status); } &&
21360
 
         { ac_try='test -z "$ac_c_werror_flag"
21361
 
                         || test ! -s conftest.err'
21362
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21363
 
  (eval $ac_try) 2>&5
21364
 
  ac_status=$?
21365
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21366
 
  (exit $ac_status); }; } &&
21367
 
         { ac_try='test -s conftest.$ac_objext'
21368
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21369
 
  (eval $ac_try) 2>&5
21370
 
  ac_status=$?
21371
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372
 
  (exit $ac_status); }; }; then
 
20850
  (exit $ac_status); } && {
 
20851
         test -z "$ac_c_werror_flag" ||
 
20852
         test ! -s conftest.err
 
20853
       } && test -s conftest.$ac_objext; then
21373
20854
  ac_cv_member_struct_tm_tm_gmtoff=yes
21374
20855
else
21375
20856
  echo "$as_me: failed program was:" >&5
21376
20857
sed 's/^/| /' conftest.$ac_ext >&5
21377
20858
 
21378
 
ac_cv_member_struct_tm_tm_gmtoff=no
21379
 
fi
21380
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21381
 
fi
21382
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21383
 
fi
21384
 
echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
21385
 
echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
 
20859
        ac_cv_member_struct_tm_tm_gmtoff=no
 
20860
fi
 
20861
 
 
20862
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20863
fi
 
20864
 
 
20865
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20866
fi
 
20867
{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
 
20868
echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
21386
20869
if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
21387
20870
 
21388
20871
cat >>confdefs.h <<\_ACEOF
21391
20874
 
21392
20875
fi
21393
20876
 
21394
 
echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
21395
 
echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
 
20877
{ echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
 
20878
echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6; }
21396
20879
if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
21397
20880
  echo $ECHO_N "(cached) $ECHO_C" >&6
21398
20881
else
21404
20887
/* end confdefs.h.  */
21405
20888
#include <sys/socket.h>
21406
20889
 
 
20890
typedef struct sockaddr_storage ac__type_new_;
21407
20891
int
21408
20892
main ()
21409
20893
{
21410
 
if ((struct sockaddr_storage *) 0)
 
20894
if ((ac__type_new_ *) 0)
21411
20895
  return 0;
21412
 
if (sizeof (struct sockaddr_storage))
 
20896
if (sizeof (ac__type_new_))
21413
20897
  return 0;
21414
20898
  ;
21415
20899
  return 0;
21416
20900
}
21417
20901
_ACEOF
21418
20902
rm -f conftest.$ac_objext
21419
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21420
 
  (eval $ac_compile) 2>conftest.er1
 
20903
if { (ac_try="$ac_compile"
 
20904
case "(($ac_try" in
 
20905
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20906
  *) ac_try_echo=$ac_try;;
 
20907
esac
 
20908
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20909
  (eval "$ac_compile") 2>conftest.er1
21421
20910
  ac_status=$?
21422
20911
  grep -v '^ *+' conftest.er1 >conftest.err
21423
20912
  rm -f conftest.er1
21424
20913
  cat conftest.err >&5
21425
20914
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21426
 
  (exit $ac_status); } &&
21427
 
         { ac_try='test -z "$ac_c_werror_flag"
21428
 
                         || test ! -s conftest.err'
21429
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21430
 
  (eval $ac_try) 2>&5
21431
 
  ac_status=$?
21432
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21433
 
  (exit $ac_status); }; } &&
21434
 
         { ac_try='test -s conftest.$ac_objext'
21435
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21436
 
  (eval $ac_try) 2>&5
21437
 
  ac_status=$?
21438
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21439
 
  (exit $ac_status); }; }; then
 
20915
  (exit $ac_status); } && {
 
20916
         test -z "$ac_c_werror_flag" ||
 
20917
         test ! -s conftest.err
 
20918
       } && test -s conftest.$ac_objext; then
21440
20919
  ac_cv_type_struct_sockaddr_storage=yes
21441
20920
else
21442
20921
  echo "$as_me: failed program was:" >&5
21443
20922
sed 's/^/| /' conftest.$ac_ext >&5
21444
20923
 
21445
 
ac_cv_type_struct_sockaddr_storage=no
21446
 
fi
21447
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21448
 
fi
21449
 
echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5
21450
 
echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6
 
20924
        ac_cv_type_struct_sockaddr_storage=no
 
20925
fi
 
20926
 
 
20927
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20928
fi
 
20929
{ echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5
 
20930
echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6; }
21451
20931
if test $ac_cv_type_struct_sockaddr_storage = yes; then
21452
20932
 
21453
20933
cat >>confdefs.h <<_ACEOF
21457
20937
 
21458
20938
fi
21459
20939
 
21460
 
echo "$as_me:$LINENO: checking for socklen_t" >&5
21461
 
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
 
20940
{ echo "$as_me:$LINENO: checking for socklen_t" >&5
 
20941
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
21462
20942
if test "${ac_cv_type_socklen_t+set}" = set; then
21463
20943
  echo $ECHO_N "(cached) $ECHO_C" >&6
21464
20944
else
21471
20951
#include <sys/types.h>
21472
20952
#include <sys/socket.h>
21473
20953
 
 
20954
typedef socklen_t ac__type_new_;
21474
20955
int
21475
20956
main ()
21476
20957
{
21477
 
if ((socklen_t *) 0)
 
20958
if ((ac__type_new_ *) 0)
21478
20959
  return 0;
21479
 
if (sizeof (socklen_t))
 
20960
if (sizeof (ac__type_new_))
21480
20961
  return 0;
21481
20962
  ;
21482
20963
  return 0;
21483
20964
}
21484
20965
_ACEOF
21485
20966
rm -f conftest.$ac_objext
21486
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21487
 
  (eval $ac_compile) 2>conftest.er1
 
20967
if { (ac_try="$ac_compile"
 
20968
case "(($ac_try" in
 
20969
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20970
  *) ac_try_echo=$ac_try;;
 
20971
esac
 
20972
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20973
  (eval "$ac_compile") 2>conftest.er1
21488
20974
  ac_status=$?
21489
20975
  grep -v '^ *+' conftest.er1 >conftest.err
21490
20976
  rm -f conftest.er1
21491
20977
  cat conftest.err >&5
21492
20978
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21493
 
  (exit $ac_status); } &&
21494
 
         { ac_try='test -z "$ac_c_werror_flag"
21495
 
                         || test ! -s conftest.err'
21496
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21497
 
  (eval $ac_try) 2>&5
21498
 
  ac_status=$?
21499
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21500
 
  (exit $ac_status); }; } &&
21501
 
         { ac_try='test -s conftest.$ac_objext'
21502
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21503
 
  (eval $ac_try) 2>&5
21504
 
  ac_status=$?
21505
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21506
 
  (exit $ac_status); }; }; then
 
20979
  (exit $ac_status); } && {
 
20980
         test -z "$ac_c_werror_flag" ||
 
20981
         test ! -s conftest.err
 
20982
       } && test -s conftest.$ac_objext; then
21507
20983
  ac_cv_type_socklen_t=yes
21508
20984
else
21509
20985
  echo "$as_me: failed program was:" >&5
21510
20986
sed 's/^/| /' conftest.$ac_ext >&5
21511
20987
 
21512
 
ac_cv_type_socklen_t=no
21513
 
fi
21514
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21515
 
fi
21516
 
echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
21517
 
echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
 
20988
        ac_cv_type_socklen_t=no
 
20989
fi
 
20990
 
 
20991
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20992
fi
 
20993
{ echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
 
20994
echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
21518
20995
if test $ac_cv_type_socklen_t = yes; then
21519
20996
 
21520
20997
cat >>confdefs.h <<_ACEOF
21527
21004
 
21528
21005
# Checks for library functions.
21529
21006
 
21530
 
 
21531
 
for ac_header in unistd.h vfork.h
 
21007
for ac_header in vfork.h
21532
21008
do
21533
21009
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21534
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
21535
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
21536
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21537
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
21010
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21011
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21012
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
21013
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21538
21014
  echo $ECHO_N "(cached) $ECHO_C" >&6
21539
21015
fi
21540
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21541
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21016
ac_res=`eval echo '${'$as_ac_Header'}'`
 
21017
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21018
echo "${ECHO_T}$ac_res" >&6; }
21542
21019
else
21543
21020
  # Is the header compilable?
21544
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
21545
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
21021
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
21022
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21546
21023
cat >conftest.$ac_ext <<_ACEOF
21547
21024
/* confdefs.h.  */
21548
21025
_ACEOF
21553
21030
#include <$ac_header>
21554
21031
_ACEOF
21555
21032
rm -f conftest.$ac_objext
21556
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21557
 
  (eval $ac_compile) 2>conftest.er1
 
21033
if { (ac_try="$ac_compile"
 
21034
case "(($ac_try" in
 
21035
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21036
  *) ac_try_echo=$ac_try;;
 
21037
esac
 
21038
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21039
  (eval "$ac_compile") 2>conftest.er1
21558
21040
  ac_status=$?
21559
21041
  grep -v '^ *+' conftest.er1 >conftest.err
21560
21042
  rm -f conftest.er1
21561
21043
  cat conftest.err >&5
21562
21044
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21563
 
  (exit $ac_status); } &&
21564
 
         { ac_try='test -z "$ac_c_werror_flag"
21565
 
                         || test ! -s conftest.err'
21566
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21567
 
  (eval $ac_try) 2>&5
21568
 
  ac_status=$?
21569
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21570
 
  (exit $ac_status); }; } &&
21571
 
         { ac_try='test -s conftest.$ac_objext'
21572
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21573
 
  (eval $ac_try) 2>&5
21574
 
  ac_status=$?
21575
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21576
 
  (exit $ac_status); }; }; then
 
21045
  (exit $ac_status); } && {
 
21046
         test -z "$ac_c_werror_flag" ||
 
21047
         test ! -s conftest.err
 
21048
       } && test -s conftest.$ac_objext; then
21577
21049
  ac_header_compiler=yes
21578
21050
else
21579
21051
  echo "$as_me: failed program was:" >&5
21580
21052
sed 's/^/| /' conftest.$ac_ext >&5
21581
21053
 
21582
 
ac_header_compiler=no
 
21054
        ac_header_compiler=no
21583
21055
fi
21584
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21585
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21586
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
21056
 
 
21057
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21058
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
21059
echo "${ECHO_T}$ac_header_compiler" >&6; }
21587
21060
 
21588
21061
# Is the header present?
21589
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
21590
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
21062
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
21063
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21591
21064
cat >conftest.$ac_ext <<_ACEOF
21592
21065
/* confdefs.h.  */
21593
21066
_ACEOF
21596
21069
/* end confdefs.h.  */
21597
21070
#include <$ac_header>
21598
21071
_ACEOF
21599
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21600
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
21072
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
21073
case "(($ac_try" in
 
21074
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21075
  *) ac_try_echo=$ac_try;;
 
21076
esac
 
21077
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21078
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21601
21079
  ac_status=$?
21602
21080
  grep -v '^ *+' conftest.er1 >conftest.err
21603
21081
  rm -f conftest.er1
21604
21082
  cat conftest.err >&5
21605
21083
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606
 
  (exit $ac_status); } >/dev/null; then
21607
 
  if test -s conftest.err; then
21608
 
    ac_cpp_err=$ac_c_preproc_warn_flag
21609
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21610
 
  else
21611
 
    ac_cpp_err=
21612
 
  fi
21613
 
else
21614
 
  ac_cpp_err=yes
21615
 
fi
21616
 
if test -z "$ac_cpp_err"; then
 
21084
  (exit $ac_status); } >/dev/null && {
 
21085
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
21086
         test ! -s conftest.err
 
21087
       }; then
21617
21088
  ac_header_preproc=yes
21618
21089
else
21619
21090
  echo "$as_me: failed program was:" >&5
21621
21092
 
21622
21093
  ac_header_preproc=no
21623
21094
fi
 
21095
 
21624
21096
rm -f conftest.err conftest.$ac_ext
21625
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21626
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
21097
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
21098
echo "${ECHO_T}$ac_header_preproc" >&6; }
21627
21099
 
21628
21100
# So?  What about this header?
21629
21101
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21647
21119
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21648
21120
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21649
21121
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21650
 
    (
21651
 
      cat <<\_ASBOX
 
21122
    ( cat <<\_ASBOX
21652
21123
## ------------------------------ ##
21653
21124
## Report this to jan@kneschke.de ##
21654
21125
## ------------------------------ ##
21655
21126
_ASBOX
21656
 
    ) |
21657
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
21127
     ) | sed "s/^/$as_me: WARNING:     /" >&2
21658
21128
    ;;
21659
21129
esac
21660
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
21661
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21662
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
21130
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21131
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
21132
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21663
21133
  echo $ECHO_N "(cached) $ECHO_C" >&6
21664
21134
else
21665
21135
  eval "$as_ac_Header=\$ac_header_preproc"
21666
21136
fi
21667
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21668
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21137
ac_res=`eval echo '${'$as_ac_Header'}'`
 
21138
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21139
echo "${ECHO_T}$ac_res" >&6; }
21669
21140
 
21670
21141
fi
21671
21142
if test `eval echo '${'$as_ac_Header'}'` = yes; then
21682
21153
for ac_func in fork vfork
21683
21154
do
21684
21155
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21685
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
21686
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21687
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
21156
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
21157
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
21158
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21688
21159
  echo $ECHO_N "(cached) $ECHO_C" >&6
21689
21160
else
21690
21161
  cat >conftest.$ac_ext <<_ACEOF
21710
21181
 
21711
21182
#undef $ac_func
21712
21183
 
21713
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21184
/* Override any GCC internal prototype to avoid an error.
 
21185
   Use char because int might match the return type of a GCC
 
21186
   builtin and then its argument prototype would still apply.  */
21714
21187
#ifdef __cplusplus
21715
21188
extern "C"
21716
 
{
21717
21189
#endif
21718
 
/* We use char because int might match the return type of a gcc2
21719
 
   builtin and then its argument prototype would still apply.  */
21720
21190
char $ac_func ();
21721
21191
/* The GNU C library defines this for functions which it implements
21722
21192
    to always fail with ENOSYS.  Some functions are actually named
21723
21193
    something starting with __ and the normal name is an alias.  */
21724
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
21194
#if defined __stub_$ac_func || defined __stub___$ac_func
21725
21195
choke me
21726
 
#else
21727
 
char (*f) () = $ac_func;
21728
 
#endif
21729
 
#ifdef __cplusplus
21730
 
}
21731
21196
#endif
21732
21197
 
21733
21198
int
21734
21199
main ()
21735
21200
{
21736
 
return f != $ac_func;
 
21201
return $ac_func ();
21737
21202
  ;
21738
21203
  return 0;
21739
21204
}
21740
21205
_ACEOF
21741
21206
rm -f conftest.$ac_objext conftest$ac_exeext
21742
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21743
 
  (eval $ac_link) 2>conftest.er1
 
21207
if { (ac_try="$ac_link"
 
21208
case "(($ac_try" in
 
21209
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21210
  *) ac_try_echo=$ac_try;;
 
21211
esac
 
21212
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21213
  (eval "$ac_link") 2>conftest.er1
21744
21214
  ac_status=$?
21745
21215
  grep -v '^ *+' conftest.er1 >conftest.err
21746
21216
  rm -f conftest.er1
21747
21217
  cat conftest.err >&5
21748
21218
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749
 
  (exit $ac_status); } &&
21750
 
         { ac_try='test -z "$ac_c_werror_flag"
21751
 
                         || test ! -s conftest.err'
21752
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21753
 
  (eval $ac_try) 2>&5
21754
 
  ac_status=$?
21755
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21756
 
  (exit $ac_status); }; } &&
21757
 
         { ac_try='test -s conftest$ac_exeext'
21758
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21759
 
  (eval $ac_try) 2>&5
21760
 
  ac_status=$?
21761
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21762
 
  (exit $ac_status); }; }; then
 
21219
  (exit $ac_status); } && {
 
21220
         test -z "$ac_c_werror_flag" ||
 
21221
         test ! -s conftest.err
 
21222
       } && test -s conftest$ac_exeext &&
 
21223
       $as_test_x conftest$ac_exeext; then
21763
21224
  eval "$as_ac_var=yes"
21764
21225
else
21765
21226
  echo "$as_me: failed program was:" >&5
21766
21227
sed 's/^/| /' conftest.$ac_ext >&5
21767
21228
 
21768
 
eval "$as_ac_var=no"
 
21229
        eval "$as_ac_var=no"
21769
21230
fi
21770
 
rm -f conftest.err conftest.$ac_objext \
 
21231
 
 
21232
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21771
21233
      conftest$ac_exeext conftest.$ac_ext
21772
21234
fi
21773
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21774
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
21235
ac_res=`eval echo '${'$as_ac_var'}'`
 
21236
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21237
echo "${ECHO_T}$ac_res" >&6; }
21775
21238
if test `eval echo '${'$as_ac_var'}'` = yes; then
21776
21239
  cat >>confdefs.h <<_ACEOF
21777
21240
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21781
21244
done
21782
21245
 
21783
21246
if test "x$ac_cv_func_fork" = xyes; then
21784
 
  echo "$as_me:$LINENO: checking for working fork" >&5
21785
 
echo $ECHO_N "checking for working fork... $ECHO_C" >&6
 
21247
  { echo "$as_me:$LINENO: checking for working fork" >&5
 
21248
echo $ECHO_N "checking for working fork... $ECHO_C" >&6; }
21786
21249
if test "${ac_cv_func_fork_works+set}" = set; then
21787
21250
  echo $ECHO_N "(cached) $ECHO_C" >&6
21788
21251
else
21790
21253
  ac_cv_func_fork_works=cross
21791
21254
else
21792
21255
  cat >conftest.$ac_ext <<_ACEOF
21793
 
/* By Ruediger Kuhlmann. */
21794
 
      #include <sys/types.h>
21795
 
      #if HAVE_UNISTD_H
21796
 
      # include <unistd.h>
21797
 
      #endif
21798
 
      /* Some systems only have a dummy stub for fork() */
21799
 
      int main ()
21800
 
      {
21801
 
        if (fork() < 0)
21802
 
          exit (1);
21803
 
        exit (0);
21804
 
      }
 
21256
/* confdefs.h.  */
 
21257
_ACEOF
 
21258
cat confdefs.h >>conftest.$ac_ext
 
21259
cat >>conftest.$ac_ext <<_ACEOF
 
21260
/* end confdefs.h.  */
 
21261
$ac_includes_default
 
21262
int
 
21263
main ()
 
21264
{
 
21265
 
 
21266
          /* By Ruediger Kuhlmann. */
 
21267
          return fork () < 0;
 
21268
 
 
21269
  ;
 
21270
  return 0;
 
21271
}
21805
21272
_ACEOF
21806
21273
rm -f conftest$ac_exeext
21807
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21808
 
  (eval $ac_link) 2>&5
 
21274
if { (ac_try="$ac_link"
 
21275
case "(($ac_try" in
 
21276
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21277
  *) ac_try_echo=$ac_try;;
 
21278
esac
 
21279
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21280
  (eval "$ac_link") 2>&5
21809
21281
  ac_status=$?
21810
21282
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21811
21283
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21812
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21813
 
  (eval $ac_try) 2>&5
 
21284
  { (case "(($ac_try" in
 
21285
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21286
  *) ac_try_echo=$ac_try;;
 
21287
esac
 
21288
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21289
  (eval "$ac_try") 2>&5
21814
21290
  ac_status=$?
21815
21291
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21816
21292
  (exit $ac_status); }; }; then
21823
21299
( exit $ac_status )
21824
21300
ac_cv_func_fork_works=no
21825
21301
fi
21826
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21827
 
fi
21828
 
fi
21829
 
echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
21830
 
echo "${ECHO_T}$ac_cv_func_fork_works" >&6
 
21302
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
21303
fi
 
21304
 
 
21305
 
 
21306
fi
 
21307
{ echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
 
21308
echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
21831
21309
 
21832
21310
else
21833
21311
  ac_cv_func_fork_works=$ac_cv_func_fork
21847
21325
fi
21848
21326
ac_cv_func_vfork_works=$ac_cv_func_vfork
21849
21327
if test "x$ac_cv_func_vfork" = xyes; then
21850
 
  echo "$as_me:$LINENO: checking for working vfork" >&5
21851
 
echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
 
21328
  { echo "$as_me:$LINENO: checking for working vfork" >&5
 
21329
echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; }
21852
21330
if test "${ac_cv_func_vfork_works+set}" = set; then
21853
21331
  echo $ECHO_N "(cached) $ECHO_C" >&6
21854
21332
else
21862
21340
cat >>conftest.$ac_ext <<_ACEOF
21863
21341
/* end confdefs.h.  */
21864
21342
/* Thanks to Paul Eggert for this test.  */
21865
 
#include <stdio.h>
21866
 
#include <stdlib.h>
21867
 
#include <sys/types.h>
21868
 
#include <sys/stat.h>
 
21343
$ac_includes_default
21869
21344
#include <sys/wait.h>
21870
 
#if HAVE_UNISTD_H
21871
 
# include <unistd.h>
21872
 
#endif
21873
 
#if HAVE_VFORK_H
 
21345
#ifdef HAVE_VFORK_H
21874
21346
# include <vfork.h>
21875
21347
#endif
21876
21348
/* On some sparc systems, changes by the child to local and incoming
21941
21413
 
21942
21414
    while (wait(&status) != child)
21943
21415
      ;
21944
 
    exit(
 
21416
    return (
21945
21417
         /* Was there some problem with vforking?  */
21946
21418
         child < 0
21947
21419
 
21958
21430
}
21959
21431
_ACEOF
21960
21432
rm -f conftest$ac_exeext
21961
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21962
 
  (eval $ac_link) 2>&5
 
21433
if { (ac_try="$ac_link"
 
21434
case "(($ac_try" in
 
21435
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21436
  *) ac_try_echo=$ac_try;;
 
21437
esac
 
21438
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21439
  (eval "$ac_link") 2>&5
21963
21440
  ac_status=$?
21964
21441
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21965
21442
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21966
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21967
 
  (eval $ac_try) 2>&5
 
21443
  { (case "(($ac_try" in
 
21444
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21445
  *) ac_try_echo=$ac_try;;
 
21446
esac
 
21447
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21448
  (eval "$ac_try") 2>&5
21968
21449
  ac_status=$?
21969
21450
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970
21451
  (exit $ac_status); }; }; then
21977
21458
( exit $ac_status )
21978
21459
ac_cv_func_vfork_works=no
21979
21460
fi
21980
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21981
 
fi
21982
 
fi
21983
 
echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
21984
 
echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
 
21461
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
21462
fi
 
21463
 
 
21464
 
 
21465
fi
 
21466
{ echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
 
21467
echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
21985
21468
 
21986
21469
fi;
21987
21470
if test "x$ac_cv_func_fork_works" = xcross; then
22012
21495
fi
22013
21496
 
22014
21497
#AC_FUNC_MMAP
22015
 
echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22016
 
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
 
21498
{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
 
21499
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
22017
21500
if test "${ac_cv_type_signal+set}" = set; then
22018
21501
  echo $ECHO_N "(cached) $ECHO_C" >&6
22019
21502
else
22025
21508
/* end confdefs.h.  */
22026
21509
#include <sys/types.h>
22027
21510
#include <signal.h>
22028
 
#ifdef signal
22029
 
# undef signal
22030
 
#endif
22031
 
#ifdef __cplusplus
22032
 
extern "C" void (*signal (int, void (*)(int)))(int);
22033
 
#else
22034
 
void (*signal ()) ();
22035
 
#endif
22036
21511
 
22037
21512
int
22038
21513
main ()
22039
21514
{
22040
 
int i;
 
21515
return *(signal (0, 0)) (0) == 1;
22041
21516
  ;
22042
21517
  return 0;
22043
21518
}
22044
21519
_ACEOF
22045
21520
rm -f conftest.$ac_objext
22046
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22047
 
  (eval $ac_compile) 2>conftest.er1
 
21521
if { (ac_try="$ac_compile"
 
21522
case "(($ac_try" in
 
21523
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21524
  *) ac_try_echo=$ac_try;;
 
21525
esac
 
21526
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21527
  (eval "$ac_compile") 2>conftest.er1
22048
21528
  ac_status=$?
22049
21529
  grep -v '^ *+' conftest.er1 >conftest.err
22050
21530
  rm -f conftest.er1
22051
21531
  cat conftest.err >&5
22052
21532
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22053
 
  (exit $ac_status); } &&
22054
 
         { ac_try='test -z "$ac_c_werror_flag"
22055
 
                         || test ! -s conftest.err'
22056
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22057
 
  (eval $ac_try) 2>&5
22058
 
  ac_status=$?
22059
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22060
 
  (exit $ac_status); }; } &&
22061
 
         { ac_try='test -s conftest.$ac_objext'
22062
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22063
 
  (eval $ac_try) 2>&5
22064
 
  ac_status=$?
22065
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22066
 
  (exit $ac_status); }; }; then
22067
 
  ac_cv_type_signal=void
 
21533
  (exit $ac_status); } && {
 
21534
         test -z "$ac_c_werror_flag" ||
 
21535
         test ! -s conftest.err
 
21536
       } && test -s conftest.$ac_objext; then
 
21537
  ac_cv_type_signal=int
22068
21538
else
22069
21539
  echo "$as_me: failed program was:" >&5
22070
21540
sed 's/^/| /' conftest.$ac_ext >&5
22071
21541
 
22072
 
ac_cv_type_signal=int
22073
 
fi
22074
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22075
 
fi
22076
 
echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22077
 
echo "${ECHO_T}$ac_cv_type_signal" >&6
 
21542
        ac_cv_type_signal=void
 
21543
fi
 
21544
 
 
21545
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21546
fi
 
21547
{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
 
21548
echo "${ECHO_T}$ac_cv_type_signal" >&6; }
22078
21549
 
22079
21550
cat >>confdefs.h <<_ACEOF
22080
21551
#define RETSIGTYPE $ac_cv_type_signal
22081
21552
_ACEOF
22082
21553
 
22083
21554
 
22084
 
echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
22085
 
echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6
 
21555
{ echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
 
21556
echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
22086
21557
if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
22087
21558
  echo $ECHO_N "(cached) $ECHO_C" >&6
22088
21559
else
22106
21577
     /* Linux will dereference the symlink and fail.
22107
21578
        That is better in the sense that it means we will not
22108
21579
        have to compile and use the lstat wrapper.  */
22109
 
     exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1);
 
21580
     return lstat ("conftest.sym/", &sbuf) == 0;
22110
21581
  ;
22111
21582
  return 0;
22112
21583
}
22113
21584
_ACEOF
22114
21585
rm -f conftest$ac_exeext
22115
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22116
 
  (eval $ac_link) 2>&5
 
21586
if { (ac_try="$ac_link"
 
21587
case "(($ac_try" in
 
21588
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21589
  *) ac_try_echo=$ac_try;;
 
21590
esac
 
21591
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21592
  (eval "$ac_link") 2>&5
22117
21593
  ac_status=$?
22118
21594
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22119
21595
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22120
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22121
 
  (eval $ac_try) 2>&5
 
21596
  { (case "(($ac_try" in
 
21597
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21598
  *) ac_try_echo=$ac_try;;
 
21599
esac
 
21600
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21601
  (eval "$ac_try") 2>&5
22122
21602
  ac_status=$?
22123
21603
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22124
21604
  (exit $ac_status); }; }; then
22131
21611
( exit $ac_status )
22132
21612
ac_cv_func_lstat_dereferences_slashed_symlink=no
22133
21613
fi
22134
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
21614
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22135
21615
fi
 
21616
 
 
21617
 
22136
21618
else
22137
21619
  # If the `ln -s' command failed, then we probably don't even
22138
21620
  # have an lstat function.
22141
21623
rm -f conftest.sym conftest.file
22142
21624
 
22143
21625
fi
22144
 
echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
22145
 
echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6
 
21626
{ echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
 
21627
echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
22146
21628
 
22147
21629
test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
22148
21630
 
22152
21634
 
22153
21635
 
22154
21636
if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
22155
 
  case $LIBOBJS in
22156
 
    "lstat.$ac_objext"   | \
22157
 
  *" lstat.$ac_objext"   | \
22158
 
    "lstat.$ac_objext "* | \
 
21637
  case " $LIBOBJS " in
22159
21638
  *" lstat.$ac_objext "* ) ;;
22160
 
  *) LIBOBJS="$LIBOBJS lstat.$ac_objext" ;;
 
21639
  *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
 
21640
 ;;
22161
21641
esac
22162
21642
 
22163
21643
fi
22164
21644
 
22165
 
echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
22166
 
echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6
 
21645
{ echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
 
21646
echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6; }
22167
21647
if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
22168
21648
  echo $ECHO_N "(cached) $ECHO_C" >&6
22169
21649
else
22181
21661
main ()
22182
21662
{
22183
21663
struct stat sbuf;
22184
 
  exit (stat ("", &sbuf) ? 1 : 0);
 
21664
  return stat ("", &sbuf) == 0;
22185
21665
  ;
22186
21666
  return 0;
22187
21667
}
22188
21668
_ACEOF
22189
21669
rm -f conftest$ac_exeext
22190
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22191
 
  (eval $ac_link) 2>&5
 
21670
if { (ac_try="$ac_link"
 
21671
case "(($ac_try" in
 
21672
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21673
  *) ac_try_echo=$ac_try;;
 
21674
esac
 
21675
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21676
  (eval "$ac_link") 2>&5
22192
21677
  ac_status=$?
22193
21678
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22194
21679
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22195
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22196
 
  (eval $ac_try) 2>&5
 
21680
  { (case "(($ac_try" in
 
21681
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21682
  *) ac_try_echo=$ac_try;;
 
21683
esac
 
21684
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21685
  (eval "$ac_try") 2>&5
22197
21686
  ac_status=$?
22198
21687
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22199
21688
  (exit $ac_status); }; }; then
22200
 
  ac_cv_func_stat_empty_string_bug=yes
 
21689
  ac_cv_func_stat_empty_string_bug=no
22201
21690
else
22202
21691
  echo "$as_me: program exited with status $ac_status" >&5
22203
21692
echo "$as_me: failed program was:" >&5
22204
21693
sed 's/^/| /' conftest.$ac_ext >&5
22205
21694
 
22206
21695
( exit $ac_status )
22207
 
ac_cv_func_stat_empty_string_bug=no
22208
 
fi
22209
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22210
 
fi
22211
 
fi
22212
 
echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
22213
 
echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6
 
21696
ac_cv_func_stat_empty_string_bug=yes
 
21697
fi
 
21698
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
21699
fi
 
21700
 
 
21701
 
 
21702
fi
 
21703
{ echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
 
21704
echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
22214
21705
if test $ac_cv_func_stat_empty_string_bug = yes; then
22215
 
  case $LIBOBJS in
22216
 
    "stat.$ac_objext"   | \
22217
 
  *" stat.$ac_objext"   | \
22218
 
    "stat.$ac_objext "* | \
 
21706
  case " $LIBOBJS " in
22219
21707
  *" stat.$ac_objext "* ) ;;
22220
 
  *) LIBOBJS="$LIBOBJS stat.$ac_objext" ;;
 
21708
  *) LIBOBJS="$LIBOBJS stat.$ac_objext"
 
21709
 ;;
22221
21710
esac
22222
21711
 
22223
21712
 
22231
21720
for ac_func in strftime
22232
21721
do
22233
21722
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22234
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
22235
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22236
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
21723
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
21724
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
21725
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22237
21726
  echo $ECHO_N "(cached) $ECHO_C" >&6
22238
21727
else
22239
21728
  cat >conftest.$ac_ext <<_ACEOF
22259
21748
 
22260
21749
#undef $ac_func
22261
21750
 
22262
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21751
/* Override any GCC internal prototype to avoid an error.
 
21752
   Use char because int might match the return type of a GCC
 
21753
   builtin and then its argument prototype would still apply.  */
22263
21754
#ifdef __cplusplus
22264
21755
extern "C"
22265
 
{
22266
21756
#endif
22267
 
/* We use char because int might match the return type of a gcc2
22268
 
   builtin and then its argument prototype would still apply.  */
22269
21757
char $ac_func ();
22270
21758
/* The GNU C library defines this for functions which it implements
22271
21759
    to always fail with ENOSYS.  Some functions are actually named
22272
21760
    something starting with __ and the normal name is an alias.  */
22273
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
21761
#if defined __stub_$ac_func || defined __stub___$ac_func
22274
21762
choke me
22275
 
#else
22276
 
char (*f) () = $ac_func;
22277
 
#endif
22278
 
#ifdef __cplusplus
22279
 
}
22280
21763
#endif
22281
21764
 
22282
21765
int
22283
21766
main ()
22284
21767
{
22285
 
return f != $ac_func;
 
21768
return $ac_func ();
22286
21769
  ;
22287
21770
  return 0;
22288
21771
}
22289
21772
_ACEOF
22290
21773
rm -f conftest.$ac_objext conftest$ac_exeext
22291
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22292
 
  (eval $ac_link) 2>conftest.er1
 
21774
if { (ac_try="$ac_link"
 
21775
case "(($ac_try" in
 
21776
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21777
  *) ac_try_echo=$ac_try;;
 
21778
esac
 
21779
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21780
  (eval "$ac_link") 2>conftest.er1
22293
21781
  ac_status=$?
22294
21782
  grep -v '^ *+' conftest.er1 >conftest.err
22295
21783
  rm -f conftest.er1
22296
21784
  cat conftest.err >&5
22297
21785
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22298
 
  (exit $ac_status); } &&
22299
 
         { ac_try='test -z "$ac_c_werror_flag"
22300
 
                         || test ! -s conftest.err'
22301
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22302
 
  (eval $ac_try) 2>&5
22303
 
  ac_status=$?
22304
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22305
 
  (exit $ac_status); }; } &&
22306
 
         { ac_try='test -s conftest$ac_exeext'
22307
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22308
 
  (eval $ac_try) 2>&5
22309
 
  ac_status=$?
22310
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22311
 
  (exit $ac_status); }; }; then
 
21786
  (exit $ac_status); } && {
 
21787
         test -z "$ac_c_werror_flag" ||
 
21788
         test ! -s conftest.err
 
21789
       } && test -s conftest$ac_exeext &&
 
21790
       $as_test_x conftest$ac_exeext; then
22312
21791
  eval "$as_ac_var=yes"
22313
21792
else
22314
21793
  echo "$as_me: failed program was:" >&5
22315
21794
sed 's/^/| /' conftest.$ac_ext >&5
22316
21795
 
22317
 
eval "$as_ac_var=no"
 
21796
        eval "$as_ac_var=no"
22318
21797
fi
22319
 
rm -f conftest.err conftest.$ac_objext \
 
21798
 
 
21799
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22320
21800
      conftest$ac_exeext conftest.$ac_ext
22321
21801
fi
22322
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22323
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
21802
ac_res=`eval echo '${'$as_ac_var'}'`
 
21803
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21804
echo "${ECHO_T}$ac_res" >&6; }
22324
21805
if test `eval echo '${'$as_ac_var'}'` = yes; then
22325
21806
  cat >>confdefs.h <<_ACEOF
22326
21807
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22328
21809
 
22329
21810
else
22330
21811
  # strftime is in -lintl on SCO UNIX.
22331
 
echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
22332
 
echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
 
21812
{ echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
 
21813
echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; }
22333
21814
if test "${ac_cv_lib_intl_strftime+set}" = set; then
22334
21815
  echo $ECHO_N "(cached) $ECHO_C" >&6
22335
21816
else
22342
21823
cat >>conftest.$ac_ext <<_ACEOF
22343
21824
/* end confdefs.h.  */
22344
21825
 
22345
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21826
/* Override any GCC internal prototype to avoid an error.
 
21827
   Use char because int might match the return type of a GCC
 
21828
   builtin and then its argument prototype would still apply.  */
22346
21829
#ifdef __cplusplus
22347
21830
extern "C"
22348
21831
#endif
22349
 
/* We use char because int might match the return type of a gcc2
22350
 
   builtin and then its argument prototype would still apply.  */
22351
21832
char strftime ();
22352
21833
int
22353
21834
main ()
22354
21835
{
22355
 
strftime ();
 
21836
return strftime ();
22356
21837
  ;
22357
21838
  return 0;
22358
21839
}
22359
21840
_ACEOF
22360
21841
rm -f conftest.$ac_objext conftest$ac_exeext
22361
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22362
 
  (eval $ac_link) 2>conftest.er1
 
21842
if { (ac_try="$ac_link"
 
21843
case "(($ac_try" in
 
21844
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21845
  *) ac_try_echo=$ac_try;;
 
21846
esac
 
21847
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21848
  (eval "$ac_link") 2>conftest.er1
22363
21849
  ac_status=$?
22364
21850
  grep -v '^ *+' conftest.er1 >conftest.err
22365
21851
  rm -f conftest.er1
22366
21852
  cat conftest.err >&5
22367
21853
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22368
 
  (exit $ac_status); } &&
22369
 
         { ac_try='test -z "$ac_c_werror_flag"
22370
 
                         || test ! -s conftest.err'
22371
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22372
 
  (eval $ac_try) 2>&5
22373
 
  ac_status=$?
22374
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22375
 
  (exit $ac_status); }; } &&
22376
 
         { ac_try='test -s conftest$ac_exeext'
22377
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22378
 
  (eval $ac_try) 2>&5
22379
 
  ac_status=$?
22380
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22381
 
  (exit $ac_status); }; }; then
 
21854
  (exit $ac_status); } && {
 
21855
         test -z "$ac_c_werror_flag" ||
 
21856
         test ! -s conftest.err
 
21857
       } && test -s conftest$ac_exeext &&
 
21858
       $as_test_x conftest$ac_exeext; then
22382
21859
  ac_cv_lib_intl_strftime=yes
22383
21860
else
22384
21861
  echo "$as_me: failed program was:" >&5
22385
21862
sed 's/^/| /' conftest.$ac_ext >&5
22386
21863
 
22387
 
ac_cv_lib_intl_strftime=no
 
21864
        ac_cv_lib_intl_strftime=no
22388
21865
fi
22389
 
rm -f conftest.err conftest.$ac_objext \
 
21866
 
 
21867
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22390
21868
      conftest$ac_exeext conftest.$ac_ext
22391
21869
LIBS=$ac_check_lib_save_LIBS
22392
21870
fi
22393
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
22394
 
echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
 
21871
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
 
21872
echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; }
22395
21873
if test $ac_cv_lib_intl_strftime = yes; then
22396
21874
  cat >>confdefs.h <<\_ACEOF
22397
21875
#define HAVE_STRFTIME 1
22407
21885
MYSQL_INCLUDE=""
22408
21886
MYSQL_LIBS=""
22409
21887
 
22410
 
echo "$as_me:$LINENO: checking for MySQL support" >&5
22411
 
echo $ECHO_N "checking for MySQL support... $ECHO_C" >&6
 
21888
{ echo "$as_me:$LINENO: checking for MySQL support" >&5
 
21889
echo $ECHO_N "checking for MySQL support... $ECHO_C" >&6; }
22412
21890
 
22413
 
# Check whether --with-mysql or --without-mysql was given.
 
21891
# Check whether --with-mysql was given.
22414
21892
if test "${with_mysql+set}" = set; then
22415
 
  withval="$with_mysql"
22416
 
  WITH_MYSQL=$withval
 
21893
  withval=$with_mysql; WITH_MYSQL=$withval
22417
21894
else
22418
21895
  WITH_MYSQL=no
22419
 
fi;
 
21896
fi
 
21897
 
22420
21898
 
22421
21899
if test "$WITH_MYSQL" != "no"; then
22422
 
  echo "$as_me:$LINENO: result: yes" >&5
22423
 
echo "${ECHO_T}yes" >&6
 
21900
  { echo "$as_me:$LINENO: result: yes" >&5
 
21901
echo "${ECHO_T}yes" >&6; }
22424
21902
  if test "$WITH_MYSQL" = "yes"; then
22425
21903
    # Extract the first word of "mysql_config", so it can be a program name with args.
22426
21904
set dummy mysql_config; ac_word=$2
22427
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
22428
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
21905
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21906
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22429
21907
if test "${ac_cv_path_MYSQL_CONFIG+set}" = set; then
22430
21908
  echo $ECHO_N "(cached) $ECHO_C" >&6
22431
21909
else
22440
21918
  IFS=$as_save_IFS
22441
21919
  test -z "$as_dir" && as_dir=.
22442
21920
  for ac_exec_ext in '' $ac_executable_extensions; do
22443
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
21921
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22444
21922
    ac_cv_path_MYSQL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22445
21923
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22446
21924
    break 2
22447
21925
  fi
22448
21926
done
22449
21927
done
 
21928
IFS=$as_save_IFS
22450
21929
 
22451
21930
  ;;
22452
21931
esac
22453
21932
fi
22454
21933
MYSQL_CONFIG=$ac_cv_path_MYSQL_CONFIG
22455
 
 
22456
21934
if test -n "$MYSQL_CONFIG"; then
22457
 
  echo "$as_me:$LINENO: result: $MYSQL_CONFIG" >&5
22458
 
echo "${ECHO_T}$MYSQL_CONFIG" >&6
 
21935
  { echo "$as_me:$LINENO: result: $MYSQL_CONFIG" >&5
 
21936
echo "${ECHO_T}$MYSQL_CONFIG" >&6; }
22459
21937
else
22460
 
  echo "$as_me:$LINENO: result: no" >&5
22461
 
echo "${ECHO_T}no" >&6
 
21938
  { echo "$as_me:$LINENO: result: no" >&5
 
21939
echo "${ECHO_T}no" >&6; }
22462
21940
fi
22463
21941
 
 
21942
 
22464
21943
  else
22465
21944
    MYSQL_CONFIG=$WITH_MYSQL
22466
21945
  fi
22483
21962
  fi
22484
21963
  MYSQL_LIBS="`$MYSQL_CONFIG --libs | sed s/\'//g`"
22485
21964
 
22486
 
  echo "$as_me:$LINENO: checking for MySQL includes at" >&5
22487
 
echo $ECHO_N "checking for MySQL includes at... $ECHO_C" >&6
22488
 
  echo "$as_me:$LINENO: result: $MYSQL_INCLUDE" >&5
22489
 
echo "${ECHO_T}$MYSQL_INCLUDE" >&6
 
21965
  { echo "$as_me:$LINENO: checking for MySQL includes at" >&5
 
21966
echo $ECHO_N "checking for MySQL includes at... $ECHO_C" >&6; }
 
21967
  { echo "$as_me:$LINENO: result: $MYSQL_INCLUDE" >&5
 
21968
echo "${ECHO_T}$MYSQL_INCLUDE" >&6; }
22490
21969
 
22491
 
  echo "$as_me:$LINENO: checking for MySQL libraries at" >&5
22492
 
echo $ECHO_N "checking for MySQL libraries at... $ECHO_C" >&6
22493
 
  echo "$as_me:$LINENO: result: $MYSQL_LIBS" >&5
22494
 
echo "${ECHO_T}$MYSQL_LIBS" >&6
 
21970
  { echo "$as_me:$LINENO: checking for MySQL libraries at" >&5
 
21971
echo $ECHO_N "checking for MySQL libraries at... $ECHO_C" >&6; }
 
21972
  { echo "$as_me:$LINENO: result: $MYSQL_LIBS" >&5
 
21973
echo "${ECHO_T}$MYSQL_LIBS" >&6; }
22495
21974
  old_CPPFLAGS="$CPPFLAGS"
22496
21975
  CPPFLAGS="$CPPFLAGS $MYSQL_INCLUDE"
22497
21976
 
22499
21978
for ac_header in errmsg.h mysql.h
22500
21979
do
22501
21980
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22502
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
22503
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
22504
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22505
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
21981
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21982
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21983
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
21984
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22506
21985
  echo $ECHO_N "(cached) $ECHO_C" >&6
22507
21986
fi
22508
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22509
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21987
ac_res=`eval echo '${'$as_ac_Header'}'`
 
21988
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21989
echo "${ECHO_T}$ac_res" >&6; }
22510
21990
else
22511
21991
  # Is the header compilable?
22512
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
22513
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
21992
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
21993
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22514
21994
cat >conftest.$ac_ext <<_ACEOF
22515
21995
/* confdefs.h.  */
22516
21996
_ACEOF
22521
22001
#include <$ac_header>
22522
22002
_ACEOF
22523
22003
rm -f conftest.$ac_objext
22524
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22525
 
  (eval $ac_compile) 2>conftest.er1
 
22004
if { (ac_try="$ac_compile"
 
22005
case "(($ac_try" in
 
22006
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22007
  *) ac_try_echo=$ac_try;;
 
22008
esac
 
22009
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22010
  (eval "$ac_compile") 2>conftest.er1
22526
22011
  ac_status=$?
22527
22012
  grep -v '^ *+' conftest.er1 >conftest.err
22528
22013
  rm -f conftest.er1
22529
22014
  cat conftest.err >&5
22530
22015
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531
 
  (exit $ac_status); } &&
22532
 
         { ac_try='test -z "$ac_c_werror_flag"
22533
 
                         || test ! -s conftest.err'
22534
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22535
 
  (eval $ac_try) 2>&5
22536
 
  ac_status=$?
22537
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22538
 
  (exit $ac_status); }; } &&
22539
 
         { ac_try='test -s conftest.$ac_objext'
22540
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22541
 
  (eval $ac_try) 2>&5
22542
 
  ac_status=$?
22543
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22544
 
  (exit $ac_status); }; }; then
 
22016
  (exit $ac_status); } && {
 
22017
         test -z "$ac_c_werror_flag" ||
 
22018
         test ! -s conftest.err
 
22019
       } && test -s conftest.$ac_objext; then
22545
22020
  ac_header_compiler=yes
22546
22021
else
22547
22022
  echo "$as_me: failed program was:" >&5
22548
22023
sed 's/^/| /' conftest.$ac_ext >&5
22549
22024
 
22550
 
ac_header_compiler=no
 
22025
        ac_header_compiler=no
22551
22026
fi
22552
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22553
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22554
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
22027
 
 
22028
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22029
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
22030
echo "${ECHO_T}$ac_header_compiler" >&6; }
22555
22031
 
22556
22032
# Is the header present?
22557
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
22558
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
22033
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
22034
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22559
22035
cat >conftest.$ac_ext <<_ACEOF
22560
22036
/* confdefs.h.  */
22561
22037
_ACEOF
22564
22040
/* end confdefs.h.  */
22565
22041
#include <$ac_header>
22566
22042
_ACEOF
22567
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22568
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
22043
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
22044
case "(($ac_try" in
 
22045
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22046
  *) ac_try_echo=$ac_try;;
 
22047
esac
 
22048
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22049
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22569
22050
  ac_status=$?
22570
22051
  grep -v '^ *+' conftest.er1 >conftest.err
22571
22052
  rm -f conftest.er1
22572
22053
  cat conftest.err >&5
22573
22054
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22574
 
  (exit $ac_status); } >/dev/null; then
22575
 
  if test -s conftest.err; then
22576
 
    ac_cpp_err=$ac_c_preproc_warn_flag
22577
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22578
 
  else
22579
 
    ac_cpp_err=
22580
 
  fi
22581
 
else
22582
 
  ac_cpp_err=yes
22583
 
fi
22584
 
if test -z "$ac_cpp_err"; then
 
22055
  (exit $ac_status); } >/dev/null && {
 
22056
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
22057
         test ! -s conftest.err
 
22058
       }; then
22585
22059
  ac_header_preproc=yes
22586
22060
else
22587
22061
  echo "$as_me: failed program was:" >&5
22589
22063
 
22590
22064
  ac_header_preproc=no
22591
22065
fi
 
22066
 
22592
22067
rm -f conftest.err conftest.$ac_ext
22593
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22594
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
22068
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
22069
echo "${ECHO_T}$ac_header_preproc" >&6; }
22595
22070
 
22596
22071
# So?  What about this header?
22597
22072
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22615
22090
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22616
22091
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22617
22092
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22618
 
    (
22619
 
      cat <<\_ASBOX
 
22093
    ( cat <<\_ASBOX
22620
22094
## ------------------------------ ##
22621
22095
## Report this to jan@kneschke.de ##
22622
22096
## ------------------------------ ##
22623
22097
_ASBOX
22624
 
    ) |
22625
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
22098
     ) | sed "s/^/$as_me: WARNING:     /" >&2
22626
22099
    ;;
22627
22100
esac
22628
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
22629
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22630
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
22101
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
22102
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
22103
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22631
22104
  echo $ECHO_N "(cached) $ECHO_C" >&6
22632
22105
else
22633
22106
  eval "$as_ac_Header=\$ac_header_preproc"
22634
22107
fi
22635
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22636
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
22108
ac_res=`eval echo '${'$as_ac_Header'}'`
 
22109
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22110
echo "${ECHO_T}$ac_res" >&6; }
22637
22111
 
22638
22112
fi
22639
22113
if test `eval echo '${'$as_ac_Header'}'` = yes; then
22653
22127
_ACEOF
22654
22128
 
22655
22129
else
22656
 
  echo "$as_me:$LINENO: result: no" >&5
22657
 
echo "${ECHO_T}no" >&6
 
22130
  { echo "$as_me:$LINENO: result: no" >&5
 
22131
echo "${ECHO_T}no" >&6; }
22658
22132
fi
22659
22133
 
22660
22134
 
22661
22135
 
22662
22136
 
22663
 
echo "$as_me:$LINENO: checking for LDAP support" >&5
22664
 
echo $ECHO_N "checking for LDAP support... $ECHO_C" >&6
 
22137
{ echo "$as_me:$LINENO: checking for LDAP support" >&5
 
22138
echo $ECHO_N "checking for LDAP support... $ECHO_C" >&6; }
22665
22139
 
22666
 
# Check whether --with-ldap or --without-ldap was given.
 
22140
# Check whether --with-ldap was given.
22667
22141
if test "${with_ldap+set}" = set; then
22668
 
  withval="$with_ldap"
22669
 
  WITH_LDAP=$withval
 
22142
  withval=$with_ldap; WITH_LDAP=$withval
22670
22143
else
22671
22144
  WITH_LDAP=no
22672
 
fi;
22673
 
echo "$as_me:$LINENO: result: $withval" >&5
22674
 
echo "${ECHO_T}$withval" >&6
 
22145
fi
 
22146
 
 
22147
{ echo "$as_me:$LINENO: result: $withval" >&5
 
22148
echo "${ECHO_T}$withval" >&6; }
22675
22149
if test "$WITH_LDAP" != "no"; then
22676
 
 echo "$as_me:$LINENO: checking for ldap_bind in -lldap" >&5
22677
 
echo $ECHO_N "checking for ldap_bind in -lldap... $ECHO_C" >&6
 
22150
 { echo "$as_me:$LINENO: checking for ldap_bind in -lldap" >&5
 
22151
echo $ECHO_N "checking for ldap_bind in -lldap... $ECHO_C" >&6; }
22678
22152
if test "${ac_cv_lib_ldap_ldap_bind+set}" = set; then
22679
22153
  echo $ECHO_N "(cached) $ECHO_C" >&6
22680
22154
else
22687
22161
cat >>conftest.$ac_ext <<_ACEOF
22688
22162
/* end confdefs.h.  */
22689
22163
 
22690
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22164
/* Override any GCC internal prototype to avoid an error.
 
22165
   Use char because int might match the return type of a GCC
 
22166
   builtin and then its argument prototype would still apply.  */
22691
22167
#ifdef __cplusplus
22692
22168
extern "C"
22693
22169
#endif
22694
 
/* We use char because int might match the return type of a gcc2
22695
 
   builtin and then its argument prototype would still apply.  */
22696
22170
char ldap_bind ();
22697
22171
int
22698
22172
main ()
22699
22173
{
22700
 
ldap_bind ();
 
22174
return ldap_bind ();
22701
22175
  ;
22702
22176
  return 0;
22703
22177
}
22704
22178
_ACEOF
22705
22179
rm -f conftest.$ac_objext conftest$ac_exeext
22706
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22707
 
  (eval $ac_link) 2>conftest.er1
 
22180
if { (ac_try="$ac_link"
 
22181
case "(($ac_try" in
 
22182
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22183
  *) ac_try_echo=$ac_try;;
 
22184
esac
 
22185
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22186
  (eval "$ac_link") 2>conftest.er1
22708
22187
  ac_status=$?
22709
22188
  grep -v '^ *+' conftest.er1 >conftest.err
22710
22189
  rm -f conftest.er1
22711
22190
  cat conftest.err >&5
22712
22191
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22713
 
  (exit $ac_status); } &&
22714
 
         { ac_try='test -z "$ac_c_werror_flag"
22715
 
                         || test ! -s conftest.err'
22716
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22717
 
  (eval $ac_try) 2>&5
22718
 
  ac_status=$?
22719
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22720
 
  (exit $ac_status); }; } &&
22721
 
         { ac_try='test -s conftest$ac_exeext'
22722
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22723
 
  (eval $ac_try) 2>&5
22724
 
  ac_status=$?
22725
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22726
 
  (exit $ac_status); }; }; then
 
22192
  (exit $ac_status); } && {
 
22193
         test -z "$ac_c_werror_flag" ||
 
22194
         test ! -s conftest.err
 
22195
       } && test -s conftest$ac_exeext &&
 
22196
       $as_test_x conftest$ac_exeext; then
22727
22197
  ac_cv_lib_ldap_ldap_bind=yes
22728
22198
else
22729
22199
  echo "$as_me: failed program was:" >&5
22730
22200
sed 's/^/| /' conftest.$ac_ext >&5
22731
22201
 
22732
 
ac_cv_lib_ldap_ldap_bind=no
 
22202
        ac_cv_lib_ldap_ldap_bind=no
22733
22203
fi
22734
 
rm -f conftest.err conftest.$ac_objext \
 
22204
 
 
22205
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22735
22206
      conftest$ac_exeext conftest.$ac_ext
22736
22207
LIBS=$ac_check_lib_save_LIBS
22737
22208
fi
22738
 
echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_bind" >&5
22739
 
echo "${ECHO_T}$ac_cv_lib_ldap_ldap_bind" >&6
 
22209
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_bind" >&5
 
22210
echo "${ECHO_T}$ac_cv_lib_ldap_ldap_bind" >&6; }
22740
22211
if test $ac_cv_lib_ldap_ldap_bind = yes; then
22741
22212
 
22742
22213
 
22743
22214
for ac_header in ldap.h
22744
22215
do
22745
22216
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22746
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
22747
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
22748
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22749
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
22217
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
22218
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
22219
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
22220
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22750
22221
  echo $ECHO_N "(cached) $ECHO_C" >&6
22751
22222
fi
22752
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22753
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
22223
ac_res=`eval echo '${'$as_ac_Header'}'`
 
22224
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22225
echo "${ECHO_T}$ac_res" >&6; }
22754
22226
else
22755
22227
  # Is the header compilable?
22756
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
22757
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
22228
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
22229
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22758
22230
cat >conftest.$ac_ext <<_ACEOF
22759
22231
/* confdefs.h.  */
22760
22232
_ACEOF
22765
22237
#include <$ac_header>
22766
22238
_ACEOF
22767
22239
rm -f conftest.$ac_objext
22768
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22769
 
  (eval $ac_compile) 2>conftest.er1
 
22240
if { (ac_try="$ac_compile"
 
22241
case "(($ac_try" in
 
22242
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22243
  *) ac_try_echo=$ac_try;;
 
22244
esac
 
22245
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22246
  (eval "$ac_compile") 2>conftest.er1
22770
22247
  ac_status=$?
22771
22248
  grep -v '^ *+' conftest.er1 >conftest.err
22772
22249
  rm -f conftest.er1
22773
22250
  cat conftest.err >&5
22774
22251
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22775
 
  (exit $ac_status); } &&
22776
 
         { ac_try='test -z "$ac_c_werror_flag"
22777
 
                         || test ! -s conftest.err'
22778
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22779
 
  (eval $ac_try) 2>&5
22780
 
  ac_status=$?
22781
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782
 
  (exit $ac_status); }; } &&
22783
 
         { ac_try='test -s conftest.$ac_objext'
22784
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22785
 
  (eval $ac_try) 2>&5
22786
 
  ac_status=$?
22787
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22788
 
  (exit $ac_status); }; }; then
 
22252
  (exit $ac_status); } && {
 
22253
         test -z "$ac_c_werror_flag" ||
 
22254
         test ! -s conftest.err
 
22255
       } && test -s conftest.$ac_objext; then
22789
22256
  ac_header_compiler=yes
22790
22257
else
22791
22258
  echo "$as_me: failed program was:" >&5
22792
22259
sed 's/^/| /' conftest.$ac_ext >&5
22793
22260
 
22794
 
ac_header_compiler=no
 
22261
        ac_header_compiler=no
22795
22262
fi
22796
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22797
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22798
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
22263
 
 
22264
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22265
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
22266
echo "${ECHO_T}$ac_header_compiler" >&6; }
22799
22267
 
22800
22268
# Is the header present?
22801
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
22802
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
22269
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
22270
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22803
22271
cat >conftest.$ac_ext <<_ACEOF
22804
22272
/* confdefs.h.  */
22805
22273
_ACEOF
22808
22276
/* end confdefs.h.  */
22809
22277
#include <$ac_header>
22810
22278
_ACEOF
22811
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22812
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
22279
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
22280
case "(($ac_try" in
 
22281
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22282
  *) ac_try_echo=$ac_try;;
 
22283
esac
 
22284
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22285
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22813
22286
  ac_status=$?
22814
22287
  grep -v '^ *+' conftest.er1 >conftest.err
22815
22288
  rm -f conftest.er1
22816
22289
  cat conftest.err >&5
22817
22290
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22818
 
  (exit $ac_status); } >/dev/null; then
22819
 
  if test -s conftest.err; then
22820
 
    ac_cpp_err=$ac_c_preproc_warn_flag
22821
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22822
 
  else
22823
 
    ac_cpp_err=
22824
 
  fi
22825
 
else
22826
 
  ac_cpp_err=yes
22827
 
fi
22828
 
if test -z "$ac_cpp_err"; then
 
22291
  (exit $ac_status); } >/dev/null && {
 
22292
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
22293
         test ! -s conftest.err
 
22294
       }; then
22829
22295
  ac_header_preproc=yes
22830
22296
else
22831
22297
  echo "$as_me: failed program was:" >&5
22833
22299
 
22834
22300
  ac_header_preproc=no
22835
22301
fi
 
22302
 
22836
22303
rm -f conftest.err conftest.$ac_ext
22837
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22838
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
22304
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
22305
echo "${ECHO_T}$ac_header_preproc" >&6; }
22839
22306
 
22840
22307
# So?  What about this header?
22841
22308
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22859
22326
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22860
22327
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22861
22328
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22862
 
    (
22863
 
      cat <<\_ASBOX
 
22329
    ( cat <<\_ASBOX
22864
22330
## ------------------------------ ##
22865
22331
## Report this to jan@kneschke.de ##
22866
22332
## ------------------------------ ##
22867
22333
_ASBOX
22868
 
    ) |
22869
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
22334
     ) | sed "s/^/$as_me: WARNING:     /" >&2
22870
22335
    ;;
22871
22336
esac
22872
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
22873
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22874
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
22337
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
22338
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
22339
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22875
22340
  echo $ECHO_N "(cached) $ECHO_C" >&6
22876
22341
else
22877
22342
  eval "$as_ac_Header=\$ac_header_preproc"
22878
22343
fi
22879
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22880
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
22344
ac_res=`eval echo '${'$as_ac_Header'}'`
 
22345
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22346
echo "${ECHO_T}$ac_res" >&6; }
22881
22347
 
22882
22348
fi
22883
22349
if test `eval echo '${'$as_ac_Header'}'` = yes; then
22904
22370
fi
22905
22371
 
22906
22372
 
22907
 
 echo "$as_me:$LINENO: checking for ber_printf in -llber" >&5
22908
 
echo $ECHO_N "checking for ber_printf in -llber... $ECHO_C" >&6
 
22373
 { echo "$as_me:$LINENO: checking for ber_printf in -llber" >&5
 
22374
echo $ECHO_N "checking for ber_printf in -llber... $ECHO_C" >&6; }
22909
22375
if test "${ac_cv_lib_lber_ber_printf+set}" = set; then
22910
22376
  echo $ECHO_N "(cached) $ECHO_C" >&6
22911
22377
else
22918
22384
cat >>conftest.$ac_ext <<_ACEOF
22919
22385
/* end confdefs.h.  */
22920
22386
 
22921
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22387
/* Override any GCC internal prototype to avoid an error.
 
22388
   Use char because int might match the return type of a GCC
 
22389
   builtin and then its argument prototype would still apply.  */
22922
22390
#ifdef __cplusplus
22923
22391
extern "C"
22924
22392
#endif
22925
 
/* We use char because int might match the return type of a gcc2
22926
 
   builtin and then its argument prototype would still apply.  */
22927
22393
char ber_printf ();
22928
22394
int
22929
22395
main ()
22930
22396
{
22931
 
ber_printf ();
 
22397
return ber_printf ();
22932
22398
  ;
22933
22399
  return 0;
22934
22400
}
22935
22401
_ACEOF
22936
22402
rm -f conftest.$ac_objext conftest$ac_exeext
22937
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22938
 
  (eval $ac_link) 2>conftest.er1
 
22403
if { (ac_try="$ac_link"
 
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_link") 2>conftest.er1
22939
22410
  ac_status=$?
22940
22411
  grep -v '^ *+' conftest.er1 >conftest.err
22941
22412
  rm -f conftest.er1
22942
22413
  cat conftest.err >&5
22943
22414
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22944
 
  (exit $ac_status); } &&
22945
 
         { ac_try='test -z "$ac_c_werror_flag"
22946
 
                         || test ! -s conftest.err'
22947
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22948
 
  (eval $ac_try) 2>&5
22949
 
  ac_status=$?
22950
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22951
 
  (exit $ac_status); }; } &&
22952
 
         { ac_try='test -s conftest$ac_exeext'
22953
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22954
 
  (eval $ac_try) 2>&5
22955
 
  ac_status=$?
22956
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22957
 
  (exit $ac_status); }; }; then
 
22415
  (exit $ac_status); } && {
 
22416
         test -z "$ac_c_werror_flag" ||
 
22417
         test ! -s conftest.err
 
22418
       } && test -s conftest$ac_exeext &&
 
22419
       $as_test_x conftest$ac_exeext; then
22958
22420
  ac_cv_lib_lber_ber_printf=yes
22959
22421
else
22960
22422
  echo "$as_me: failed program was:" >&5
22961
22423
sed 's/^/| /' conftest.$ac_ext >&5
22962
22424
 
22963
 
ac_cv_lib_lber_ber_printf=no
 
22425
        ac_cv_lib_lber_ber_printf=no
22964
22426
fi
22965
 
rm -f conftest.err conftest.$ac_objext \
 
22427
 
 
22428
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22966
22429
      conftest$ac_exeext conftest.$ac_ext
22967
22430
LIBS=$ac_check_lib_save_LIBS
22968
22431
fi
22969
 
echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_printf" >&5
22970
 
echo "${ECHO_T}$ac_cv_lib_lber_ber_printf" >&6
 
22432
{ echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_printf" >&5
 
22433
echo "${ECHO_T}$ac_cv_lib_lber_ber_printf" >&6; }
22971
22434
if test $ac_cv_lib_lber_ber_printf = yes; then
22972
22435
 
22973
22436
 
22974
22437
for ac_header in lber.h
22975
22438
do
22976
22439
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22977
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
22978
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
22979
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22980
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
22440
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
22441
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
22442
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
22443
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22981
22444
  echo $ECHO_N "(cached) $ECHO_C" >&6
22982
22445
fi
22983
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22984
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
22446
ac_res=`eval echo '${'$as_ac_Header'}'`
 
22447
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22448
echo "${ECHO_T}$ac_res" >&6; }
22985
22449
else
22986
22450
  # Is the header compilable?
22987
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
22988
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
22451
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
22452
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22989
22453
cat >conftest.$ac_ext <<_ACEOF
22990
22454
/* confdefs.h.  */
22991
22455
_ACEOF
22996
22460
#include <$ac_header>
22997
22461
_ACEOF
22998
22462
rm -f conftest.$ac_objext
22999
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23000
 
  (eval $ac_compile) 2>conftest.er1
 
22463
if { (ac_try="$ac_compile"
 
22464
case "(($ac_try" in
 
22465
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22466
  *) ac_try_echo=$ac_try;;
 
22467
esac
 
22468
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22469
  (eval "$ac_compile") 2>conftest.er1
23001
22470
  ac_status=$?
23002
22471
  grep -v '^ *+' conftest.er1 >conftest.err
23003
22472
  rm -f conftest.er1
23004
22473
  cat conftest.err >&5
23005
22474
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23006
 
  (exit $ac_status); } &&
23007
 
         { ac_try='test -z "$ac_c_werror_flag"
23008
 
                         || test ! -s conftest.err'
23009
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23010
 
  (eval $ac_try) 2>&5
23011
 
  ac_status=$?
23012
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23013
 
  (exit $ac_status); }; } &&
23014
 
         { ac_try='test -s conftest.$ac_objext'
23015
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23016
 
  (eval $ac_try) 2>&5
23017
 
  ac_status=$?
23018
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23019
 
  (exit $ac_status); }; }; then
 
22475
  (exit $ac_status); } && {
 
22476
         test -z "$ac_c_werror_flag" ||
 
22477
         test ! -s conftest.err
 
22478
       } && test -s conftest.$ac_objext; then
23020
22479
  ac_header_compiler=yes
23021
22480
else
23022
22481
  echo "$as_me: failed program was:" >&5
23023
22482
sed 's/^/| /' conftest.$ac_ext >&5
23024
22483
 
23025
 
ac_header_compiler=no
 
22484
        ac_header_compiler=no
23026
22485
fi
23027
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23028
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23029
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
22486
 
 
22487
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22488
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
22489
echo "${ECHO_T}$ac_header_compiler" >&6; }
23030
22490
 
23031
22491
# Is the header present?
23032
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
23033
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
22492
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
22493
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23034
22494
cat >conftest.$ac_ext <<_ACEOF
23035
22495
/* confdefs.h.  */
23036
22496
_ACEOF
23039
22499
/* end confdefs.h.  */
23040
22500
#include <$ac_header>
23041
22501
_ACEOF
23042
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23043
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
22502
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
22503
case "(($ac_try" in
 
22504
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22505
  *) ac_try_echo=$ac_try;;
 
22506
esac
 
22507
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22508
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23044
22509
  ac_status=$?
23045
22510
  grep -v '^ *+' conftest.er1 >conftest.err
23046
22511
  rm -f conftest.er1
23047
22512
  cat conftest.err >&5
23048
22513
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23049
 
  (exit $ac_status); } >/dev/null; then
23050
 
  if test -s conftest.err; then
23051
 
    ac_cpp_err=$ac_c_preproc_warn_flag
23052
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23053
 
  else
23054
 
    ac_cpp_err=
23055
 
  fi
23056
 
else
23057
 
  ac_cpp_err=yes
23058
 
fi
23059
 
if test -z "$ac_cpp_err"; then
 
22514
  (exit $ac_status); } >/dev/null && {
 
22515
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
22516
         test ! -s conftest.err
 
22517
       }; then
23060
22518
  ac_header_preproc=yes
23061
22519
else
23062
22520
  echo "$as_me: failed program was:" >&5
23064
22522
 
23065
22523
  ac_header_preproc=no
23066
22524
fi
 
22525
 
23067
22526
rm -f conftest.err conftest.$ac_ext
23068
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23069
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
22527
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
22528
echo "${ECHO_T}$ac_header_preproc" >&6; }
23070
22529
 
23071
22530
# So?  What about this header?
23072
22531
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23090
22549
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23091
22550
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23092
22551
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23093
 
    (
23094
 
      cat <<\_ASBOX
 
22552
    ( cat <<\_ASBOX
23095
22553
## ------------------------------ ##
23096
22554
## Report this to jan@kneschke.de ##
23097
22555
## ------------------------------ ##
23098
22556
_ASBOX
23099
 
    ) |
23100
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
22557
     ) | sed "s/^/$as_me: WARNING:     /" >&2
23101
22558
    ;;
23102
22559
esac
23103
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
23104
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23105
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
22560
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
22561
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
22562
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23106
22563
  echo $ECHO_N "(cached) $ECHO_C" >&6
23107
22564
else
23108
22565
  eval "$as_ac_Header=\$ac_header_preproc"
23109
22566
fi
23110
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23111
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
22567
ac_res=`eval echo '${'$as_ac_Header'}'`
 
22568
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22569
echo "${ECHO_T}$ac_res" >&6; }
23112
22570
 
23113
22571
fi
23114
22572
if test `eval echo '${'$as_ac_Header'}'` = yes; then
23137
22595
 
23138
22596
fi
23139
22597
 
23140
 
echo "$as_me:$LINENO: checking for extended attributes support" >&5
23141
 
echo $ECHO_N "checking for extended attributes support... $ECHO_C" >&6
 
22598
{ echo "$as_me:$LINENO: checking for extended attributes support" >&5
 
22599
echo $ECHO_N "checking for extended attributes support... $ECHO_C" >&6; }
23142
22600
 
23143
 
# Check whether --with-attr or --without-attr was given.
 
22601
# Check whether --with-attr was given.
23144
22602
if test "${with_attr+set}" = set; then
23145
 
  withval="$with_attr"
23146
 
  WITH_ATTR=$withval
 
22603
  withval=$with_attr; WITH_ATTR=$withval
23147
22604
else
23148
22605
  WITH_ATTR=no
23149
 
fi;
23150
 
echo "$as_me:$LINENO: result: $withval" >&5
23151
 
echo "${ECHO_T}$withval" >&6
 
22606
fi
 
22607
 
 
22608
{ echo "$as_me:$LINENO: result: $withval" >&5
 
22609
echo "${ECHO_T}$withval" >&6; }
23152
22610
if test "$WITH_ATTR" != "no"; then
23153
 
 echo "$as_me:$LINENO: checking for attr_get in -lattr" >&5
23154
 
echo $ECHO_N "checking for attr_get in -lattr... $ECHO_C" >&6
 
22611
 { echo "$as_me:$LINENO: checking for attr_get in -lattr" >&5
 
22612
echo $ECHO_N "checking for attr_get in -lattr... $ECHO_C" >&6; }
23155
22613
if test "${ac_cv_lib_attr_attr_get+set}" = set; then
23156
22614
  echo $ECHO_N "(cached) $ECHO_C" >&6
23157
22615
else
23164
22622
cat >>conftest.$ac_ext <<_ACEOF
23165
22623
/* end confdefs.h.  */
23166
22624
 
23167
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22625
/* Override any GCC internal prototype to avoid an error.
 
22626
   Use char because int might match the return type of a GCC
 
22627
   builtin and then its argument prototype would still apply.  */
23168
22628
#ifdef __cplusplus
23169
22629
extern "C"
23170
22630
#endif
23171
 
/* We use char because int might match the return type of a gcc2
23172
 
   builtin and then its argument prototype would still apply.  */
23173
22631
char attr_get ();
23174
22632
int
23175
22633
main ()
23176
22634
{
23177
 
attr_get ();
 
22635
return attr_get ();
23178
22636
  ;
23179
22637
  return 0;
23180
22638
}
23181
22639
_ACEOF
23182
22640
rm -f conftest.$ac_objext conftest$ac_exeext
23183
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23184
 
  (eval $ac_link) 2>conftest.er1
 
22641
if { (ac_try="$ac_link"
 
22642
case "(($ac_try" in
 
22643
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22644
  *) ac_try_echo=$ac_try;;
 
22645
esac
 
22646
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22647
  (eval "$ac_link") 2>conftest.er1
23185
22648
  ac_status=$?
23186
22649
  grep -v '^ *+' conftest.er1 >conftest.err
23187
22650
  rm -f conftest.er1
23188
22651
  cat conftest.err >&5
23189
22652
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23190
 
  (exit $ac_status); } &&
23191
 
         { ac_try='test -z "$ac_c_werror_flag"
23192
 
                         || test ! -s conftest.err'
23193
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23194
 
  (eval $ac_try) 2>&5
23195
 
  ac_status=$?
23196
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23197
 
  (exit $ac_status); }; } &&
23198
 
         { ac_try='test -s conftest$ac_exeext'
23199
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23200
 
  (eval $ac_try) 2>&5
23201
 
  ac_status=$?
23202
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23203
 
  (exit $ac_status); }; }; then
 
22653
  (exit $ac_status); } && {
 
22654
         test -z "$ac_c_werror_flag" ||
 
22655
         test ! -s conftest.err
 
22656
       } && test -s conftest$ac_exeext &&
 
22657
       $as_test_x conftest$ac_exeext; then
23204
22658
  ac_cv_lib_attr_attr_get=yes
23205
22659
else
23206
22660
  echo "$as_me: failed program was:" >&5
23207
22661
sed 's/^/| /' conftest.$ac_ext >&5
23208
22662
 
23209
 
ac_cv_lib_attr_attr_get=no
 
22663
        ac_cv_lib_attr_attr_get=no
23210
22664
fi
23211
 
rm -f conftest.err conftest.$ac_objext \
 
22665
 
 
22666
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23212
22667
      conftest$ac_exeext conftest.$ac_ext
23213
22668
LIBS=$ac_check_lib_save_LIBS
23214
22669
fi
23215
 
echo "$as_me:$LINENO: result: $ac_cv_lib_attr_attr_get" >&5
23216
 
echo "${ECHO_T}$ac_cv_lib_attr_attr_get" >&6
 
22670
{ echo "$as_me:$LINENO: result: $ac_cv_lib_attr_attr_get" >&5
 
22671
echo "${ECHO_T}$ac_cv_lib_attr_attr_get" >&6; }
23217
22672
if test $ac_cv_lib_attr_attr_get = yes; then
23218
22673
 
23219
22674
 
23220
22675
for ac_header in attr/attributes.h
23221
22676
do
23222
22677
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23223
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23224
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
23225
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23226
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
22678
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
22679
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
22680
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
22681
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23227
22682
  echo $ECHO_N "(cached) $ECHO_C" >&6
23228
22683
fi
23229
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23230
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
22684
ac_res=`eval echo '${'$as_ac_Header'}'`
 
22685
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22686
echo "${ECHO_T}$ac_res" >&6; }
23231
22687
else
23232
22688
  # Is the header compilable?
23233
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
23234
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
22689
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
22690
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23235
22691
cat >conftest.$ac_ext <<_ACEOF
23236
22692
/* confdefs.h.  */
23237
22693
_ACEOF
23242
22698
#include <$ac_header>
23243
22699
_ACEOF
23244
22700
rm -f conftest.$ac_objext
23245
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23246
 
  (eval $ac_compile) 2>conftest.er1
 
22701
if { (ac_try="$ac_compile"
 
22702
case "(($ac_try" in
 
22703
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22704
  *) ac_try_echo=$ac_try;;
 
22705
esac
 
22706
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22707
  (eval "$ac_compile") 2>conftest.er1
23247
22708
  ac_status=$?
23248
22709
  grep -v '^ *+' conftest.er1 >conftest.err
23249
22710
  rm -f conftest.er1
23250
22711
  cat conftest.err >&5
23251
22712
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23252
 
  (exit $ac_status); } &&
23253
 
         { ac_try='test -z "$ac_c_werror_flag"
23254
 
                         || test ! -s conftest.err'
23255
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23256
 
  (eval $ac_try) 2>&5
23257
 
  ac_status=$?
23258
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23259
 
  (exit $ac_status); }; } &&
23260
 
         { ac_try='test -s conftest.$ac_objext'
23261
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23262
 
  (eval $ac_try) 2>&5
23263
 
  ac_status=$?
23264
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23265
 
  (exit $ac_status); }; }; then
 
22713
  (exit $ac_status); } && {
 
22714
         test -z "$ac_c_werror_flag" ||
 
22715
         test ! -s conftest.err
 
22716
       } && test -s conftest.$ac_objext; then
23266
22717
  ac_header_compiler=yes
23267
22718
else
23268
22719
  echo "$as_me: failed program was:" >&5
23269
22720
sed 's/^/| /' conftest.$ac_ext >&5
23270
22721
 
23271
 
ac_header_compiler=no
 
22722
        ac_header_compiler=no
23272
22723
fi
23273
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23274
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23275
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
22724
 
 
22725
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22726
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
22727
echo "${ECHO_T}$ac_header_compiler" >&6; }
23276
22728
 
23277
22729
# Is the header present?
23278
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
23279
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
22730
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
22731
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23280
22732
cat >conftest.$ac_ext <<_ACEOF
23281
22733
/* confdefs.h.  */
23282
22734
_ACEOF
23285
22737
/* end confdefs.h.  */
23286
22738
#include <$ac_header>
23287
22739
_ACEOF
23288
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23289
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
22740
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
22741
case "(($ac_try" in
 
22742
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22743
  *) ac_try_echo=$ac_try;;
 
22744
esac
 
22745
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22746
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23290
22747
  ac_status=$?
23291
22748
  grep -v '^ *+' conftest.er1 >conftest.err
23292
22749
  rm -f conftest.er1
23293
22750
  cat conftest.err >&5
23294
22751
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23295
 
  (exit $ac_status); } >/dev/null; then
23296
 
  if test -s conftest.err; then
23297
 
    ac_cpp_err=$ac_c_preproc_warn_flag
23298
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23299
 
  else
23300
 
    ac_cpp_err=
23301
 
  fi
23302
 
else
23303
 
  ac_cpp_err=yes
23304
 
fi
23305
 
if test -z "$ac_cpp_err"; then
 
22752
  (exit $ac_status); } >/dev/null && {
 
22753
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
22754
         test ! -s conftest.err
 
22755
       }; then
23306
22756
  ac_header_preproc=yes
23307
22757
else
23308
22758
  echo "$as_me: failed program was:" >&5
23310
22760
 
23311
22761
  ac_header_preproc=no
23312
22762
fi
 
22763
 
23313
22764
rm -f conftest.err conftest.$ac_ext
23314
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23315
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
22765
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
22766
echo "${ECHO_T}$ac_header_preproc" >&6; }
23316
22767
 
23317
22768
# So?  What about this header?
23318
22769
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23336
22787
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23337
22788
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23338
22789
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23339
 
    (
23340
 
      cat <<\_ASBOX
 
22790
    ( cat <<\_ASBOX
23341
22791
## ------------------------------ ##
23342
22792
## Report this to jan@kneschke.de ##
23343
22793
## ------------------------------ ##
23344
22794
_ASBOX
23345
 
    ) |
23346
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
22795
     ) | sed "s/^/$as_me: WARNING:     /" >&2
23347
22796
    ;;
23348
22797
esac
23349
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
23350
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23351
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
22798
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
22799
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
22800
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23352
22801
  echo $ECHO_N "(cached) $ECHO_C" >&6
23353
22802
else
23354
22803
  eval "$as_ac_Header=\$ac_header_preproc"
23355
22804
fi
23356
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23357
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
22805
ac_res=`eval echo '${'$as_ac_Header'}'`
 
22806
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22807
echo "${ECHO_T}$ac_res" >&6; }
23358
22808
 
23359
22809
fi
23360
22810
if test `eval echo '${'$as_ac_Header'}'` = yes; then
23384
22834
fi
23385
22835
 
23386
22836
## openssl on solaris needs -lsocket -lnsl
23387
 
echo "$as_me:$LINENO: checking for library containing socket" >&5
23388
 
echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6
23389
 
if test "${ac_cv_search_socket+set}" = set; then
23390
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23391
 
else
23392
 
  ac_func_search_save_LIBS=$LIBS
23393
 
ac_cv_search_socket=no
23394
 
cat >conftest.$ac_ext <<_ACEOF
23395
 
/* confdefs.h.  */
23396
 
_ACEOF
23397
 
cat confdefs.h >>conftest.$ac_ext
23398
 
cat >>conftest.$ac_ext <<_ACEOF
23399
 
/* end confdefs.h.  */
23400
 
 
23401
 
/* Override any gcc2 internal prototype to avoid an error.  */
23402
 
#ifdef __cplusplus
23403
 
extern "C"
23404
 
#endif
23405
 
/* We use char because int might match the return type of a gcc2
23406
 
   builtin and then its argument prototype would still apply.  */
23407
 
char socket ();
23408
 
int
23409
 
main ()
23410
 
{
23411
 
socket ();
23412
 
  ;
23413
 
  return 0;
23414
 
}
23415
 
_ACEOF
23416
 
rm -f conftest.$ac_objext conftest$ac_exeext
23417
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23418
 
  (eval $ac_link) 2>conftest.er1
23419
 
  ac_status=$?
23420
 
  grep -v '^ *+' conftest.er1 >conftest.err
23421
 
  rm -f conftest.er1
23422
 
  cat conftest.err >&5
23423
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23424
 
  (exit $ac_status); } &&
23425
 
         { ac_try='test -z "$ac_c_werror_flag"
23426
 
                         || test ! -s conftest.err'
23427
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23428
 
  (eval $ac_try) 2>&5
23429
 
  ac_status=$?
23430
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23431
 
  (exit $ac_status); }; } &&
23432
 
         { ac_try='test -s conftest$ac_exeext'
23433
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23434
 
  (eval $ac_try) 2>&5
23435
 
  ac_status=$?
23436
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23437
 
  (exit $ac_status); }; }; then
23438
 
  ac_cv_search_socket="none required"
23439
 
else
23440
 
  echo "$as_me: failed program was:" >&5
23441
 
sed 's/^/| /' conftest.$ac_ext >&5
23442
 
 
23443
 
fi
23444
 
rm -f conftest.err conftest.$ac_objext \
23445
 
      conftest$ac_exeext conftest.$ac_ext
23446
 
if test "$ac_cv_search_socket" = no; then
23447
 
  for ac_lib in socket; do
23448
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
23449
 
    cat >conftest.$ac_ext <<_ACEOF
23450
 
/* confdefs.h.  */
23451
 
_ACEOF
23452
 
cat confdefs.h >>conftest.$ac_ext
23453
 
cat >>conftest.$ac_ext <<_ACEOF
23454
 
/* end confdefs.h.  */
23455
 
 
23456
 
/* Override any gcc2 internal prototype to avoid an error.  */
23457
 
#ifdef __cplusplus
23458
 
extern "C"
23459
 
#endif
23460
 
/* We use char because int might match the return type of a gcc2
23461
 
   builtin and then its argument prototype would still apply.  */
23462
 
char socket ();
23463
 
int
23464
 
main ()
23465
 
{
23466
 
socket ();
23467
 
  ;
23468
 
  return 0;
23469
 
}
23470
 
_ACEOF
23471
 
rm -f conftest.$ac_objext conftest$ac_exeext
23472
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23473
 
  (eval $ac_link) 2>conftest.er1
23474
 
  ac_status=$?
23475
 
  grep -v '^ *+' conftest.er1 >conftest.err
23476
 
  rm -f conftest.er1
23477
 
  cat conftest.err >&5
23478
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23479
 
  (exit $ac_status); } &&
23480
 
         { ac_try='test -z "$ac_c_werror_flag"
23481
 
                         || test ! -s conftest.err'
23482
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23483
 
  (eval $ac_try) 2>&5
23484
 
  ac_status=$?
23485
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23486
 
  (exit $ac_status); }; } &&
23487
 
         { ac_try='test -s conftest$ac_exeext'
23488
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23489
 
  (eval $ac_try) 2>&5
23490
 
  ac_status=$?
23491
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23492
 
  (exit $ac_status); }; }; then
23493
 
  ac_cv_search_socket="-l$ac_lib"
23494
 
break
23495
 
else
23496
 
  echo "$as_me: failed program was:" >&5
23497
 
sed 's/^/| /' conftest.$ac_ext >&5
23498
 
 
23499
 
fi
23500
 
rm -f conftest.err conftest.$ac_objext \
23501
 
      conftest$ac_exeext conftest.$ac_ext
23502
 
  done
23503
 
fi
23504
 
LIBS=$ac_func_search_save_LIBS
23505
 
fi
23506
 
echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
23507
 
echo "${ECHO_T}$ac_cv_search_socket" >&6
23508
 
if test "$ac_cv_search_socket" != no; then
23509
 
  test "$ac_cv_search_socket" = "none required" || LIBS="$ac_cv_search_socket $LIBS"
23510
 
 
23511
 
fi
23512
 
 
23513
 
echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
23514
 
echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
23515
 
if test "${ac_cv_search_gethostbyname+set}" = set; then
23516
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23517
 
else
23518
 
  ac_func_search_save_LIBS=$LIBS
23519
 
ac_cv_search_gethostbyname=no
23520
 
cat >conftest.$ac_ext <<_ACEOF
23521
 
/* confdefs.h.  */
23522
 
_ACEOF
23523
 
cat confdefs.h >>conftest.$ac_ext
23524
 
cat >>conftest.$ac_ext <<_ACEOF
23525
 
/* end confdefs.h.  */
23526
 
 
23527
 
/* Override any gcc2 internal prototype to avoid an error.  */
23528
 
#ifdef __cplusplus
23529
 
extern "C"
23530
 
#endif
23531
 
/* We use char because int might match the return type of a gcc2
23532
 
   builtin and then its argument prototype would still apply.  */
23533
 
char gethostbyname ();
23534
 
int
23535
 
main ()
23536
 
{
23537
 
gethostbyname ();
23538
 
  ;
23539
 
  return 0;
23540
 
}
23541
 
_ACEOF
23542
 
rm -f conftest.$ac_objext conftest$ac_exeext
23543
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23544
 
  (eval $ac_link) 2>conftest.er1
23545
 
  ac_status=$?
23546
 
  grep -v '^ *+' conftest.er1 >conftest.err
23547
 
  rm -f conftest.er1
23548
 
  cat conftest.err >&5
23549
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23550
 
  (exit $ac_status); } &&
23551
 
         { ac_try='test -z "$ac_c_werror_flag"
23552
 
                         || test ! -s conftest.err'
23553
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23554
 
  (eval $ac_try) 2>&5
23555
 
  ac_status=$?
23556
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23557
 
  (exit $ac_status); }; } &&
23558
 
         { ac_try='test -s conftest$ac_exeext'
23559
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23560
 
  (eval $ac_try) 2>&5
23561
 
  ac_status=$?
23562
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23563
 
  (exit $ac_status); }; }; then
23564
 
  ac_cv_search_gethostbyname="none required"
23565
 
else
23566
 
  echo "$as_me: failed program was:" >&5
23567
 
sed 's/^/| /' conftest.$ac_ext >&5
23568
 
 
23569
 
fi
23570
 
rm -f conftest.err conftest.$ac_objext \
23571
 
      conftest$ac_exeext conftest.$ac_ext
23572
 
if test "$ac_cv_search_gethostbyname" = no; then
23573
 
  for ac_lib in nsl socket; do
23574
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
23575
 
    cat >conftest.$ac_ext <<_ACEOF
23576
 
/* confdefs.h.  */
23577
 
_ACEOF
23578
 
cat confdefs.h >>conftest.$ac_ext
23579
 
cat >>conftest.$ac_ext <<_ACEOF
23580
 
/* end confdefs.h.  */
23581
 
 
23582
 
/* Override any gcc2 internal prototype to avoid an error.  */
23583
 
#ifdef __cplusplus
23584
 
extern "C"
23585
 
#endif
23586
 
/* We use char because int might match the return type of a gcc2
23587
 
   builtin and then its argument prototype would still apply.  */
23588
 
char gethostbyname ();
23589
 
int
23590
 
main ()
23591
 
{
23592
 
gethostbyname ();
23593
 
  ;
23594
 
  return 0;
23595
 
}
23596
 
_ACEOF
23597
 
rm -f conftest.$ac_objext conftest$ac_exeext
23598
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23599
 
  (eval $ac_link) 2>conftest.er1
23600
 
  ac_status=$?
23601
 
  grep -v '^ *+' conftest.er1 >conftest.err
23602
 
  rm -f conftest.er1
23603
 
  cat conftest.err >&5
23604
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23605
 
  (exit $ac_status); } &&
23606
 
         { ac_try='test -z "$ac_c_werror_flag"
23607
 
                         || test ! -s conftest.err'
23608
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23609
 
  (eval $ac_try) 2>&5
23610
 
  ac_status=$?
23611
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23612
 
  (exit $ac_status); }; } &&
23613
 
         { ac_try='test -s conftest$ac_exeext'
23614
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23615
 
  (eval $ac_try) 2>&5
23616
 
  ac_status=$?
23617
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23618
 
  (exit $ac_status); }; }; then
23619
 
  ac_cv_search_gethostbyname="-l$ac_lib"
23620
 
break
23621
 
else
23622
 
  echo "$as_me: failed program was:" >&5
23623
 
sed 's/^/| /' conftest.$ac_ext >&5
23624
 
 
23625
 
fi
23626
 
rm -f conftest.err conftest.$ac_objext \
23627
 
      conftest$ac_exeext conftest.$ac_ext
23628
 
  done
23629
 
fi
23630
 
LIBS=$ac_func_search_save_LIBS
23631
 
fi
23632
 
echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
23633
 
echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
23634
 
if test "$ac_cv_search_gethostbyname" != no; then
23635
 
  test "$ac_cv_search_gethostbyname" = "none required" || LIBS="$ac_cv_search_gethostbyname $LIBS"
23636
 
 
23637
 
fi
23638
 
 
23639
 
echo "$as_me:$LINENO: checking for library containing hstrerror" >&5
23640
 
echo $ECHO_N "checking for library containing hstrerror... $ECHO_C" >&6
23641
 
if test "${ac_cv_search_hstrerror+set}" = set; then
23642
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23643
 
else
23644
 
  ac_func_search_save_LIBS=$LIBS
23645
 
ac_cv_search_hstrerror=no
23646
 
cat >conftest.$ac_ext <<_ACEOF
23647
 
/* confdefs.h.  */
23648
 
_ACEOF
23649
 
cat confdefs.h >>conftest.$ac_ext
23650
 
cat >>conftest.$ac_ext <<_ACEOF
23651
 
/* end confdefs.h.  */
23652
 
 
23653
 
/* Override any gcc2 internal prototype to avoid an error.  */
23654
 
#ifdef __cplusplus
23655
 
extern "C"
23656
 
#endif
23657
 
/* We use char because int might match the return type of a gcc2
23658
 
   builtin and then its argument prototype would still apply.  */
23659
 
char hstrerror ();
23660
 
int
23661
 
main ()
23662
 
{
23663
 
hstrerror ();
23664
 
  ;
23665
 
  return 0;
23666
 
}
23667
 
_ACEOF
23668
 
rm -f conftest.$ac_objext conftest$ac_exeext
23669
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23670
 
  (eval $ac_link) 2>conftest.er1
23671
 
  ac_status=$?
23672
 
  grep -v '^ *+' conftest.er1 >conftest.err
23673
 
  rm -f conftest.er1
23674
 
  cat conftest.err >&5
23675
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23676
 
  (exit $ac_status); } &&
23677
 
         { ac_try='test -z "$ac_c_werror_flag"
23678
 
                         || test ! -s conftest.err'
23679
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23680
 
  (eval $ac_try) 2>&5
23681
 
  ac_status=$?
23682
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23683
 
  (exit $ac_status); }; } &&
23684
 
         { ac_try='test -s conftest$ac_exeext'
23685
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23686
 
  (eval $ac_try) 2>&5
23687
 
  ac_status=$?
23688
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23689
 
  (exit $ac_status); }; }; then
23690
 
  ac_cv_search_hstrerror="none required"
23691
 
else
23692
 
  echo "$as_me: failed program was:" >&5
23693
 
sed 's/^/| /' conftest.$ac_ext >&5
23694
 
 
23695
 
fi
23696
 
rm -f conftest.err conftest.$ac_objext \
23697
 
      conftest$ac_exeext conftest.$ac_ext
23698
 
if test "$ac_cv_search_hstrerror" = no; then
23699
 
  for ac_lib in resolv; do
23700
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
23701
 
    cat >conftest.$ac_ext <<_ACEOF
23702
 
/* confdefs.h.  */
23703
 
_ACEOF
23704
 
cat confdefs.h >>conftest.$ac_ext
23705
 
cat >>conftest.$ac_ext <<_ACEOF
23706
 
/* end confdefs.h.  */
23707
 
 
23708
 
/* Override any gcc2 internal prototype to avoid an error.  */
23709
 
#ifdef __cplusplus
23710
 
extern "C"
23711
 
#endif
23712
 
/* We use char because int might match the return type of a gcc2
23713
 
   builtin and then its argument prototype would still apply.  */
23714
 
char hstrerror ();
23715
 
int
23716
 
main ()
23717
 
{
23718
 
hstrerror ();
23719
 
  ;
23720
 
  return 0;
23721
 
}
23722
 
_ACEOF
23723
 
rm -f conftest.$ac_objext conftest$ac_exeext
23724
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23725
 
  (eval $ac_link) 2>conftest.er1
23726
 
  ac_status=$?
23727
 
  grep -v '^ *+' conftest.er1 >conftest.err
23728
 
  rm -f conftest.er1
23729
 
  cat conftest.err >&5
23730
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23731
 
  (exit $ac_status); } &&
23732
 
         { ac_try='test -z "$ac_c_werror_flag"
23733
 
                         || test ! -s conftest.err'
23734
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23735
 
  (eval $ac_try) 2>&5
23736
 
  ac_status=$?
23737
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23738
 
  (exit $ac_status); }; } &&
23739
 
         { ac_try='test -s conftest$ac_exeext'
23740
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23741
 
  (eval $ac_try) 2>&5
23742
 
  ac_status=$?
23743
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23744
 
  (exit $ac_status); }; }; then
23745
 
  ac_cv_search_hstrerror="-l$ac_lib"
23746
 
break
23747
 
else
23748
 
  echo "$as_me: failed program was:" >&5
23749
 
sed 's/^/| /' conftest.$ac_ext >&5
23750
 
 
23751
 
fi
23752
 
rm -f conftest.err conftest.$ac_objext \
23753
 
      conftest$ac_exeext conftest.$ac_ext
23754
 
  done
23755
 
fi
23756
 
LIBS=$ac_func_search_save_LIBS
23757
 
fi
23758
 
echo "$as_me:$LINENO: result: $ac_cv_search_hstrerror" >&5
23759
 
echo "${ECHO_T}$ac_cv_search_hstrerror" >&6
23760
 
if test "$ac_cv_search_hstrerror" != no; then
23761
 
  test "$ac_cv_search_hstrerror" = "none required" || LIBS="$ac_cv_search_hstrerror $LIBS"
 
22837
{ echo "$as_me:$LINENO: checking for library containing socket" >&5
 
22838
echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6; }
 
22839
if test "${ac_cv_search_socket+set}" = set; then
 
22840
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22841
else
 
22842
  ac_func_search_save_LIBS=$LIBS
 
22843
cat >conftest.$ac_ext <<_ACEOF
 
22844
/* confdefs.h.  */
 
22845
_ACEOF
 
22846
cat confdefs.h >>conftest.$ac_ext
 
22847
cat >>conftest.$ac_ext <<_ACEOF
 
22848
/* end confdefs.h.  */
 
22849
 
 
22850
/* Override any GCC internal prototype to avoid an error.
 
22851
   Use char because int might match the return type of a GCC
 
22852
   builtin and then its argument prototype would still apply.  */
 
22853
#ifdef __cplusplus
 
22854
extern "C"
 
22855
#endif
 
22856
char socket ();
 
22857
int
 
22858
main ()
 
22859
{
 
22860
return socket ();
 
22861
  ;
 
22862
  return 0;
 
22863
}
 
22864
_ACEOF
 
22865
for ac_lib in '' socket; do
 
22866
  if test -z "$ac_lib"; then
 
22867
    ac_res="none required"
 
22868
  else
 
22869
    ac_res=-l$ac_lib
 
22870
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
22871
  fi
 
22872
  rm -f conftest.$ac_objext conftest$ac_exeext
 
22873
if { (ac_try="$ac_link"
 
22874
case "(($ac_try" in
 
22875
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22876
  *) ac_try_echo=$ac_try;;
 
22877
esac
 
22878
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22879
  (eval "$ac_link") 2>conftest.er1
 
22880
  ac_status=$?
 
22881
  grep -v '^ *+' conftest.er1 >conftest.err
 
22882
  rm -f conftest.er1
 
22883
  cat conftest.err >&5
 
22884
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22885
  (exit $ac_status); } && {
 
22886
         test -z "$ac_c_werror_flag" ||
 
22887
         test ! -s conftest.err
 
22888
       } && test -s conftest$ac_exeext &&
 
22889
       $as_test_x conftest$ac_exeext; then
 
22890
  ac_cv_search_socket=$ac_res
 
22891
else
 
22892
  echo "$as_me: failed program was:" >&5
 
22893
sed 's/^/| /' conftest.$ac_ext >&5
 
22894
 
 
22895
 
 
22896
fi
 
22897
 
 
22898
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
22899
      conftest$ac_exeext
 
22900
  if test "${ac_cv_search_socket+set}" = set; then
 
22901
  break
 
22902
fi
 
22903
done
 
22904
if test "${ac_cv_search_socket+set}" = set; then
 
22905
  :
 
22906
else
 
22907
  ac_cv_search_socket=no
 
22908
fi
 
22909
rm conftest.$ac_ext
 
22910
LIBS=$ac_func_search_save_LIBS
 
22911
fi
 
22912
{ echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
 
22913
echo "${ECHO_T}$ac_cv_search_socket" >&6; }
 
22914
ac_res=$ac_cv_search_socket
 
22915
if test "$ac_res" != no; then
 
22916
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
22917
 
 
22918
fi
 
22919
 
 
22920
{ echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
 
22921
echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
 
22922
if test "${ac_cv_search_gethostbyname+set}" = set; then
 
22923
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22924
else
 
22925
  ac_func_search_save_LIBS=$LIBS
 
22926
cat >conftest.$ac_ext <<_ACEOF
 
22927
/* confdefs.h.  */
 
22928
_ACEOF
 
22929
cat confdefs.h >>conftest.$ac_ext
 
22930
cat >>conftest.$ac_ext <<_ACEOF
 
22931
/* end confdefs.h.  */
 
22932
 
 
22933
/* Override any GCC internal prototype to avoid an error.
 
22934
   Use char because int might match the return type of a GCC
 
22935
   builtin and then its argument prototype would still apply.  */
 
22936
#ifdef __cplusplus
 
22937
extern "C"
 
22938
#endif
 
22939
char gethostbyname ();
 
22940
int
 
22941
main ()
 
22942
{
 
22943
return gethostbyname ();
 
22944
  ;
 
22945
  return 0;
 
22946
}
 
22947
_ACEOF
 
22948
for ac_lib in '' nsl socket; do
 
22949
  if test -z "$ac_lib"; then
 
22950
    ac_res="none required"
 
22951
  else
 
22952
    ac_res=-l$ac_lib
 
22953
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
22954
  fi
 
22955
  rm -f conftest.$ac_objext conftest$ac_exeext
 
22956
if { (ac_try="$ac_link"
 
22957
case "(($ac_try" in
 
22958
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22959
  *) ac_try_echo=$ac_try;;
 
22960
esac
 
22961
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22962
  (eval "$ac_link") 2>conftest.er1
 
22963
  ac_status=$?
 
22964
  grep -v '^ *+' conftest.er1 >conftest.err
 
22965
  rm -f conftest.er1
 
22966
  cat conftest.err >&5
 
22967
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22968
  (exit $ac_status); } && {
 
22969
         test -z "$ac_c_werror_flag" ||
 
22970
         test ! -s conftest.err
 
22971
       } && test -s conftest$ac_exeext &&
 
22972
       $as_test_x conftest$ac_exeext; then
 
22973
  ac_cv_search_gethostbyname=$ac_res
 
22974
else
 
22975
  echo "$as_me: failed program was:" >&5
 
22976
sed 's/^/| /' conftest.$ac_ext >&5
 
22977
 
 
22978
 
 
22979
fi
 
22980
 
 
22981
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
22982
      conftest$ac_exeext
 
22983
  if test "${ac_cv_search_gethostbyname+set}" = set; then
 
22984
  break
 
22985
fi
 
22986
done
 
22987
if test "${ac_cv_search_gethostbyname+set}" = set; then
 
22988
  :
 
22989
else
 
22990
  ac_cv_search_gethostbyname=no
 
22991
fi
 
22992
rm conftest.$ac_ext
 
22993
LIBS=$ac_func_search_save_LIBS
 
22994
fi
 
22995
{ echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
 
22996
echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
 
22997
ac_res=$ac_cv_search_gethostbyname
 
22998
if test "$ac_res" != no; then
 
22999
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
23000
 
 
23001
fi
 
23002
 
 
23003
{ echo "$as_me:$LINENO: checking for library containing hstrerror" >&5
 
23004
echo $ECHO_N "checking for library containing hstrerror... $ECHO_C" >&6; }
 
23005
if test "${ac_cv_search_hstrerror+set}" = set; then
 
23006
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23007
else
 
23008
  ac_func_search_save_LIBS=$LIBS
 
23009
cat >conftest.$ac_ext <<_ACEOF
 
23010
/* confdefs.h.  */
 
23011
_ACEOF
 
23012
cat confdefs.h >>conftest.$ac_ext
 
23013
cat >>conftest.$ac_ext <<_ACEOF
 
23014
/* end confdefs.h.  */
 
23015
 
 
23016
/* Override any GCC internal prototype to avoid an error.
 
23017
   Use char because int might match the return type of a GCC
 
23018
   builtin and then its argument prototype would still apply.  */
 
23019
#ifdef __cplusplus
 
23020
extern "C"
 
23021
#endif
 
23022
char hstrerror ();
 
23023
int
 
23024
main ()
 
23025
{
 
23026
return hstrerror ();
 
23027
  ;
 
23028
  return 0;
 
23029
}
 
23030
_ACEOF
 
23031
for ac_lib in '' resolv; do
 
23032
  if test -z "$ac_lib"; then
 
23033
    ac_res="none required"
 
23034
  else
 
23035
    ac_res=-l$ac_lib
 
23036
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
23037
  fi
 
23038
  rm -f conftest.$ac_objext conftest$ac_exeext
 
23039
if { (ac_try="$ac_link"
 
23040
case "(($ac_try" in
 
23041
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23042
  *) ac_try_echo=$ac_try;;
 
23043
esac
 
23044
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23045
  (eval "$ac_link") 2>conftest.er1
 
23046
  ac_status=$?
 
23047
  grep -v '^ *+' conftest.er1 >conftest.err
 
23048
  rm -f conftest.er1
 
23049
  cat conftest.err >&5
 
23050
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23051
  (exit $ac_status); } && {
 
23052
         test -z "$ac_c_werror_flag" ||
 
23053
         test ! -s conftest.err
 
23054
       } && test -s conftest$ac_exeext &&
 
23055
       $as_test_x conftest$ac_exeext; then
 
23056
  ac_cv_search_hstrerror=$ac_res
 
23057
else
 
23058
  echo "$as_me: failed program was:" >&5
 
23059
sed 's/^/| /' conftest.$ac_ext >&5
 
23060
 
 
23061
 
 
23062
fi
 
23063
 
 
23064
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
23065
      conftest$ac_exeext
 
23066
  if test "${ac_cv_search_hstrerror+set}" = set; then
 
23067
  break
 
23068
fi
 
23069
done
 
23070
if test "${ac_cv_search_hstrerror+set}" = set; then
 
23071
  :
 
23072
else
 
23073
  ac_cv_search_hstrerror=no
 
23074
fi
 
23075
rm conftest.$ac_ext
 
23076
LIBS=$ac_func_search_save_LIBS
 
23077
fi
 
23078
{ echo "$as_me:$LINENO: result: $ac_cv_search_hstrerror" >&5
 
23079
echo "${ECHO_T}$ac_cv_search_hstrerror" >&6; }
 
23080
ac_res=$ac_cv_search_hstrerror
 
23081
if test "$ac_res" != no; then
 
23082
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23762
23083
 
23763
23084
fi
23764
23085
 
23765
23086
 
23766
23087
save_LIBS=$LIBS
23767
 
echo "$as_me:$LINENO: checking for library containing dlopen" >&5
23768
 
echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
 
23088
{ echo "$as_me:$LINENO: checking for library containing dlopen" >&5
 
23089
echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
23769
23090
if test "${ac_cv_search_dlopen+set}" = set; then
23770
23091
  echo $ECHO_N "(cached) $ECHO_C" >&6
23771
23092
else
23772
23093
  ac_func_search_save_LIBS=$LIBS
23773
 
ac_cv_search_dlopen=no
23774
23094
cat >conftest.$ac_ext <<_ACEOF
23775
23095
/* confdefs.h.  */
23776
23096
_ACEOF
23778
23098
cat >>conftest.$ac_ext <<_ACEOF
23779
23099
/* end confdefs.h.  */
23780
23100
 
23781
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23101
/* Override any GCC internal prototype to avoid an error.
 
23102
   Use char because int might match the return type of a GCC
 
23103
   builtin and then its argument prototype would still apply.  */
23782
23104
#ifdef __cplusplus
23783
23105
extern "C"
23784
23106
#endif
23785
 
/* We use char because int might match the return type of a gcc2
23786
 
   builtin and then its argument prototype would still apply.  */
23787
23107
char dlopen ();
23788
23108
int
23789
23109
main ()
23790
23110
{
23791
 
dlopen ();
 
23111
return dlopen ();
23792
23112
  ;
23793
23113
  return 0;
23794
23114
}
23795
23115
_ACEOF
23796
 
rm -f conftest.$ac_objext conftest$ac_exeext
23797
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23798
 
  (eval $ac_link) 2>conftest.er1
23799
 
  ac_status=$?
23800
 
  grep -v '^ *+' conftest.er1 >conftest.err
23801
 
  rm -f conftest.er1
23802
 
  cat conftest.err >&5
23803
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804
 
  (exit $ac_status); } &&
23805
 
         { ac_try='test -z "$ac_c_werror_flag"
23806
 
                         || test ! -s conftest.err'
23807
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23808
 
  (eval $ac_try) 2>&5
23809
 
  ac_status=$?
23810
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23811
 
  (exit $ac_status); }; } &&
23812
 
         { ac_try='test -s conftest$ac_exeext'
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); }; }; then
23818
 
  ac_cv_search_dlopen="none required"
23819
 
else
23820
 
  echo "$as_me: failed program was:" >&5
23821
 
sed 's/^/| /' conftest.$ac_ext >&5
23822
 
 
23823
 
fi
23824
 
rm -f conftest.err conftest.$ac_objext \
23825
 
      conftest$ac_exeext conftest.$ac_ext
23826
 
if test "$ac_cv_search_dlopen" = no; then
23827
 
  for ac_lib in dl; do
 
23116
for ac_lib in '' dl; do
 
23117
  if test -z "$ac_lib"; then
 
23118
    ac_res="none required"
 
23119
  else
 
23120
    ac_res=-l$ac_lib
23828
23121
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
23829
 
    cat >conftest.$ac_ext <<_ACEOF
23830
 
/* confdefs.h.  */
23831
 
_ACEOF
23832
 
cat confdefs.h >>conftest.$ac_ext
23833
 
cat >>conftest.$ac_ext <<_ACEOF
23834
 
/* end confdefs.h.  */
23835
 
 
23836
 
/* Override any gcc2 internal prototype to avoid an error.  */
23837
 
#ifdef __cplusplus
23838
 
extern "C"
23839
 
#endif
23840
 
/* We use char because int might match the return type of a gcc2
23841
 
   builtin and then its argument prototype would still apply.  */
23842
 
char dlopen ();
23843
 
int
23844
 
main ()
23845
 
{
23846
 
dlopen ();
23847
 
  ;
23848
 
  return 0;
23849
 
}
23850
 
_ACEOF
23851
 
rm -f conftest.$ac_objext conftest$ac_exeext
23852
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23853
 
  (eval $ac_link) 2>conftest.er1
 
23122
  fi
 
23123
  rm -f conftest.$ac_objext conftest$ac_exeext
 
23124
if { (ac_try="$ac_link"
 
23125
case "(($ac_try" in
 
23126
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23127
  *) ac_try_echo=$ac_try;;
 
23128
esac
 
23129
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23130
  (eval "$ac_link") 2>conftest.er1
23854
23131
  ac_status=$?
23855
23132
  grep -v '^ *+' conftest.er1 >conftest.err
23856
23133
  rm -f conftest.er1
23857
23134
  cat conftest.err >&5
23858
23135
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23859
 
  (exit $ac_status); } &&
23860
 
         { ac_try='test -z "$ac_c_werror_flag"
23861
 
                         || test ! -s conftest.err'
23862
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23863
 
  (eval $ac_try) 2>&5
23864
 
  ac_status=$?
23865
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23866
 
  (exit $ac_status); }; } &&
23867
 
         { ac_try='test -s conftest$ac_exeext'
23868
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23869
 
  (eval $ac_try) 2>&5
23870
 
  ac_status=$?
23871
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23872
 
  (exit $ac_status); }; }; then
23873
 
  ac_cv_search_dlopen="-l$ac_lib"
23874
 
break
 
23136
  (exit $ac_status); } && {
 
23137
         test -z "$ac_c_werror_flag" ||
 
23138
         test ! -s conftest.err
 
23139
       } && test -s conftest$ac_exeext &&
 
23140
       $as_test_x conftest$ac_exeext; then
 
23141
  ac_cv_search_dlopen=$ac_res
23875
23142
else
23876
23143
  echo "$as_me: failed program was:" >&5
23877
23144
sed 's/^/| /' conftest.$ac_ext >&5
23878
23145
 
23879
 
fi
23880
 
rm -f conftest.err conftest.$ac_objext \
23881
 
      conftest$ac_exeext conftest.$ac_ext
23882
 
  done
23883
 
fi
 
23146
 
 
23147
fi
 
23148
 
 
23149
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
23150
      conftest$ac_exeext
 
23151
  if test "${ac_cv_search_dlopen+set}" = set; then
 
23152
  break
 
23153
fi
 
23154
done
 
23155
if test "${ac_cv_search_dlopen+set}" = set; then
 
23156
  :
 
23157
else
 
23158
  ac_cv_search_dlopen=no
 
23159
fi
 
23160
rm conftest.$ac_ext
23884
23161
LIBS=$ac_func_search_save_LIBS
23885
23162
fi
23886
 
echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
23887
 
echo "${ECHO_T}$ac_cv_search_dlopen" >&6
23888
 
if test "$ac_cv_search_dlopen" != no; then
23889
 
  test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
 
23163
{ echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
 
23164
echo "${ECHO_T}$ac_cv_search_dlopen" >&6; }
 
23165
ac_res=$ac_cv_search_dlopen
 
23166
if test "$ac_res" != no; then
 
23167
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23890
23168
 
23891
23169
 
23892
23170
for ac_header in dlfcn.h
23893
23171
do
23894
23172
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23895
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23896
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
23897
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23898
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
23173
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
23174
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
23175
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
23176
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23899
23177
  echo $ECHO_N "(cached) $ECHO_C" >&6
23900
23178
fi
23901
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23902
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
23179
ac_res=`eval echo '${'$as_ac_Header'}'`
 
23180
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
23181
echo "${ECHO_T}$ac_res" >&6; }
23903
23182
else
23904
23183
  # Is the header compilable?
23905
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
23906
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
23184
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
23185
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23907
23186
cat >conftest.$ac_ext <<_ACEOF
23908
23187
/* confdefs.h.  */
23909
23188
_ACEOF
23914
23193
#include <$ac_header>
23915
23194
_ACEOF
23916
23195
rm -f conftest.$ac_objext
23917
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23918
 
  (eval $ac_compile) 2>conftest.er1
 
23196
if { (ac_try="$ac_compile"
 
23197
case "(($ac_try" in
 
23198
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23199
  *) ac_try_echo=$ac_try;;
 
23200
esac
 
23201
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23202
  (eval "$ac_compile") 2>conftest.er1
23919
23203
  ac_status=$?
23920
23204
  grep -v '^ *+' conftest.er1 >conftest.err
23921
23205
  rm -f conftest.er1
23922
23206
  cat conftest.err >&5
23923
23207
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23924
 
  (exit $ac_status); } &&
23925
 
         { ac_try='test -z "$ac_c_werror_flag"
23926
 
                         || test ! -s conftest.err'
23927
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23928
 
  (eval $ac_try) 2>&5
23929
 
  ac_status=$?
23930
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931
 
  (exit $ac_status); }; } &&
23932
 
         { ac_try='test -s conftest.$ac_objext'
23933
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23934
 
  (eval $ac_try) 2>&5
23935
 
  ac_status=$?
23936
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23937
 
  (exit $ac_status); }; }; then
 
23208
  (exit $ac_status); } && {
 
23209
         test -z "$ac_c_werror_flag" ||
 
23210
         test ! -s conftest.err
 
23211
       } && test -s conftest.$ac_objext; then
23938
23212
  ac_header_compiler=yes
23939
23213
else
23940
23214
  echo "$as_me: failed program was:" >&5
23941
23215
sed 's/^/| /' conftest.$ac_ext >&5
23942
23216
 
23943
 
ac_header_compiler=no
 
23217
        ac_header_compiler=no
23944
23218
fi
23945
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23946
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23947
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
23219
 
 
23220
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
23221
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
23222
echo "${ECHO_T}$ac_header_compiler" >&6; }
23948
23223
 
23949
23224
# Is the header present?
23950
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
23951
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
23225
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
23226
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23952
23227
cat >conftest.$ac_ext <<_ACEOF
23953
23228
/* confdefs.h.  */
23954
23229
_ACEOF
23957
23232
/* end confdefs.h.  */
23958
23233
#include <$ac_header>
23959
23234
_ACEOF
23960
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23961
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
23235
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
23236
case "(($ac_try" in
 
23237
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23238
  *) ac_try_echo=$ac_try;;
 
23239
esac
 
23240
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23241
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23962
23242
  ac_status=$?
23963
23243
  grep -v '^ *+' conftest.er1 >conftest.err
23964
23244
  rm -f conftest.er1
23965
23245
  cat conftest.err >&5
23966
23246
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23967
 
  (exit $ac_status); } >/dev/null; then
23968
 
  if test -s conftest.err; then
23969
 
    ac_cpp_err=$ac_c_preproc_warn_flag
23970
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23971
 
  else
23972
 
    ac_cpp_err=
23973
 
  fi
23974
 
else
23975
 
  ac_cpp_err=yes
23976
 
fi
23977
 
if test -z "$ac_cpp_err"; then
 
23247
  (exit $ac_status); } >/dev/null && {
 
23248
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
23249
         test ! -s conftest.err
 
23250
       }; then
23978
23251
  ac_header_preproc=yes
23979
23252
else
23980
23253
  echo "$as_me: failed program was:" >&5
23982
23255
 
23983
23256
  ac_header_preproc=no
23984
23257
fi
 
23258
 
23985
23259
rm -f conftest.err conftest.$ac_ext
23986
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23987
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
23260
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
23261
echo "${ECHO_T}$ac_header_preproc" >&6; }
23988
23262
 
23989
23263
# So?  What about this header?
23990
23264
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24008
23282
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24009
23283
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24010
23284
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24011
 
    (
24012
 
      cat <<\_ASBOX
 
23285
    ( cat <<\_ASBOX
24013
23286
## ------------------------------ ##
24014
23287
## Report this to jan@kneschke.de ##
24015
23288
## ------------------------------ ##
24016
23289
_ASBOX
24017
 
    ) |
24018
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
23290
     ) | sed "s/^/$as_me: WARNING:     /" >&2
24019
23291
    ;;
24020
23292
esac
24021
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
24022
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24023
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
23293
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
23294
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
23295
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24024
23296
  echo $ECHO_N "(cached) $ECHO_C" >&6
24025
23297
else
24026
23298
  eval "$as_ac_Header=\$ac_header_preproc"
24027
23299
fi
24028
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24029
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
23300
ac_res=`eval echo '${'$as_ac_Header'}'`
 
23301
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
23302
echo "${ECHO_T}$ac_res" >&6; }
24030
23303
 
24031
23304
fi
24032
23305
if test `eval echo '${'$as_ac_Header'}'` = yes; then
24058
23331
LIBS=$save_LIBS
24059
23332
 
24060
23333
 
24061
 
echo "$as_me:$LINENO: checking for valgrind" >&5
24062
 
echo $ECHO_N "checking for valgrind... $ECHO_C" >&6
 
23334
{ echo "$as_me:$LINENO: checking for valgrind" >&5
 
23335
echo $ECHO_N "checking for valgrind... $ECHO_C" >&6; }
24063
23336
 
24064
 
# Check whether --with-valgrind or --without-valgrind was given.
 
23337
# Check whether --with-valgrind was given.
24065
23338
if test "${with_valgrind+set}" = set; then
24066
 
  withval="$with_valgrind"
24067
 
  WITH_VALGRIND=$withval
 
23339
  withval=$with_valgrind; WITH_VALGRIND=$withval
24068
23340
else
24069
23341
  WITH_VALGRIND=no
24070
 
fi;
24071
 
echo "$as_me:$LINENO: result: $WITH_VALGRIND" >&5
24072
 
echo "${ECHO_T}$WITH_VALGRIND" >&6
 
23342
fi
 
23343
 
 
23344
{ echo "$as_me:$LINENO: result: $WITH_VALGRIND" >&5
 
23345
echo "${ECHO_T}$WITH_VALGRIND" >&6; }
24073
23346
if test "$WITH_VALGRIND" != "no"; then
24074
23347
 
24075
23348
for ac_header in valgrind/valgrind.h
24076
23349
do
24077
23350
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24078
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
24079
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
24080
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24081
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
23351
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
23352
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
23353
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
23354
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24082
23355
  echo $ECHO_N "(cached) $ECHO_C" >&6
24083
23356
fi
24084
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24085
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
23357
ac_res=`eval echo '${'$as_ac_Header'}'`
 
23358
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
23359
echo "${ECHO_T}$ac_res" >&6; }
24086
23360
else
24087
23361
  # Is the header compilable?
24088
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
24089
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
23362
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
23363
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24090
23364
cat >conftest.$ac_ext <<_ACEOF
24091
23365
/* confdefs.h.  */
24092
23366
_ACEOF
24097
23371
#include <$ac_header>
24098
23372
_ACEOF
24099
23373
rm -f conftest.$ac_objext
24100
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24101
 
  (eval $ac_compile) 2>conftest.er1
 
23374
if { (ac_try="$ac_compile"
 
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_compile") 2>conftest.er1
24102
23381
  ac_status=$?
24103
23382
  grep -v '^ *+' conftest.er1 >conftest.err
24104
23383
  rm -f conftest.er1
24105
23384
  cat conftest.err >&5
24106
23385
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24107
 
  (exit $ac_status); } &&
24108
 
         { ac_try='test -z "$ac_c_werror_flag"
24109
 
                         || test ! -s conftest.err'
24110
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24111
 
  (eval $ac_try) 2>&5
24112
 
  ac_status=$?
24113
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24114
 
  (exit $ac_status); }; } &&
24115
 
         { ac_try='test -s conftest.$ac_objext'
24116
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24117
 
  (eval $ac_try) 2>&5
24118
 
  ac_status=$?
24119
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24120
 
  (exit $ac_status); }; }; then
 
23386
  (exit $ac_status); } && {
 
23387
         test -z "$ac_c_werror_flag" ||
 
23388
         test ! -s conftest.err
 
23389
       } && test -s conftest.$ac_objext; then
24121
23390
  ac_header_compiler=yes
24122
23391
else
24123
23392
  echo "$as_me: failed program was:" >&5
24124
23393
sed 's/^/| /' conftest.$ac_ext >&5
24125
23394
 
24126
 
ac_header_compiler=no
 
23395
        ac_header_compiler=no
24127
23396
fi
24128
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24129
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24130
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
23397
 
 
23398
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
23399
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
23400
echo "${ECHO_T}$ac_header_compiler" >&6; }
24131
23401
 
24132
23402
# Is the header present?
24133
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
24134
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
23403
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
23404
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24135
23405
cat >conftest.$ac_ext <<_ACEOF
24136
23406
/* confdefs.h.  */
24137
23407
_ACEOF
24140
23410
/* end confdefs.h.  */
24141
23411
#include <$ac_header>
24142
23412
_ACEOF
24143
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24144
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
23413
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
23414
case "(($ac_try" in
 
23415
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23416
  *) ac_try_echo=$ac_try;;
 
23417
esac
 
23418
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23419
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24145
23420
  ac_status=$?
24146
23421
  grep -v '^ *+' conftest.er1 >conftest.err
24147
23422
  rm -f conftest.er1
24148
23423
  cat conftest.err >&5
24149
23424
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24150
 
  (exit $ac_status); } >/dev/null; then
24151
 
  if test -s conftest.err; then
24152
 
    ac_cpp_err=$ac_c_preproc_warn_flag
24153
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24154
 
  else
24155
 
    ac_cpp_err=
24156
 
  fi
24157
 
else
24158
 
  ac_cpp_err=yes
24159
 
fi
24160
 
if test -z "$ac_cpp_err"; then
 
23425
  (exit $ac_status); } >/dev/null && {
 
23426
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
23427
         test ! -s conftest.err
 
23428
       }; then
24161
23429
  ac_header_preproc=yes
24162
23430
else
24163
23431
  echo "$as_me: failed program was:" >&5
24165
23433
 
24166
23434
  ac_header_preproc=no
24167
23435
fi
 
23436
 
24168
23437
rm -f conftest.err conftest.$ac_ext
24169
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24170
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
23438
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
23439
echo "${ECHO_T}$ac_header_preproc" >&6; }
24171
23440
 
24172
23441
# So?  What about this header?
24173
23442
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24191
23460
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24192
23461
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24193
23462
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24194
 
    (
24195
 
      cat <<\_ASBOX
 
23463
    ( cat <<\_ASBOX
24196
23464
## ------------------------------ ##
24197
23465
## Report this to jan@kneschke.de ##
24198
23466
## ------------------------------ ##
24199
23467
_ASBOX
24200
 
    ) |
24201
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
23468
     ) | sed "s/^/$as_me: WARNING:     /" >&2
24202
23469
    ;;
24203
23470
esac
24204
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
24205
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24206
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
23471
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
23472
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
23473
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24207
23474
  echo $ECHO_N "(cached) $ECHO_C" >&6
24208
23475
else
24209
23476
  eval "$as_ac_Header=\$ac_header_preproc"
24210
23477
fi
24211
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24212
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
23478
ac_res=`eval echo '${'$as_ac_Header'}'`
 
23479
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
23480
echo "${ECHO_T}$ac_res" >&6; }
24213
23481
 
24214
23482
fi
24215
23483
if test `eval echo '${'$as_ac_Header'}'` = yes; then
24223
23491
 
24224
23492
fi
24225
23493
 
24226
 
echo "$as_me:$LINENO: checking for OpenSSL" >&5
24227
 
echo $ECHO_N "checking for OpenSSL... $ECHO_C" >&6
 
23494
{ echo "$as_me:$LINENO: checking for OpenSSL" >&5
 
23495
echo $ECHO_N "checking for OpenSSL... $ECHO_C" >&6; }
24228
23496
 
24229
 
# Check whether --with-openssl or --without-openssl was given.
 
23497
# Check whether --with-openssl was given.
24230
23498
if test "${with_openssl+set}" = set; then
24231
 
  withval="$with_openssl"
24232
 
  WITH_OPENSSL=$withval
 
23499
  withval=$with_openssl; WITH_OPENSSL=$withval
24233
23500
else
24234
23501
  WITH_OPENSSL=no
24235
 
fi;
 
23502
fi
 
23503
 
24236
23504
 
24237
23505
if test "$WITH_OPENSSL" != "no"; then
24238
23506
    use_openssl=yes
24243
23511
else
24244
23512
    use_openssl=no
24245
23513
fi
24246
 
echo "$as_me:$LINENO: result: $use_openssl" >&5
24247
 
echo "${ECHO_T}$use_openssl" >&6
24248
 
 
24249
 
 
24250
 
# Check whether --with-openssl-includes or --without-openssl-includes was given.
 
23514
{ echo "$as_me:$LINENO: result: $use_openssl" >&5
 
23515
echo "${ECHO_T}$use_openssl" >&6; }
 
23516
 
 
23517
 
 
23518
# Check whether --with-openssl-includes was given.
24251
23519
if test "${with_openssl_includes+set}" = set; then
24252
 
  withval="$with_openssl_includes"
24253
 
   use_openssl=yes CPPFLAGS="$CPPFLAGS -I$withval"
24254
 
 
24255
 
fi;
24256
 
 
24257
 
 
24258
 
# Check whether --with-openssl-libs or --without-openssl-libs was given.
 
23520
  withval=$with_openssl_includes;  use_openssl=yes CPPFLAGS="$CPPFLAGS -I$withval"
 
23521
 
 
23522
fi
 
23523
 
 
23524
 
 
23525
 
 
23526
# Check whether --with-openssl-libs was given.
24259
23527
if test "${with_openssl_libs+set}" = set; then
24260
 
  withval="$with_openssl_libs"
24261
 
   use_openssl=yes LDFLAGS="$LDFLAGS -L$withval"
24262
 
 
24263
 
fi;
24264
 
 
24265
 
 
24266
 
# Check whether --with-kerberos5 or --without-kerberos5 was given.
 
23528
  withval=$with_openssl_libs;  use_openssl=yes LDFLAGS="$LDFLAGS -L$withval"
 
23529
 
 
23530
fi
 
23531
 
 
23532
 
 
23533
 
 
23534
# Check whether --with-kerberos5 was given.
24267
23535
if test "${with_kerberos5+set}" = set; then
24268
 
  withval="$with_kerberos5"
24269
 
   use_kerberos=yes
 
23536
  withval=$with_kerberos5;  use_kerberos=yes
24270
23537
else
24271
23538
  use_kerberos=no
24272
23539
 
24273
 
fi;
 
23540
fi
 
23541
 
24274
23542
 
24275
23543
if test "x$use_openssl" = "xyes"; then
24276
23544
    if test "x$use_kerberos" != "xyes"; then
24281
23549
for ac_header in openssl/ssl.h
24282
23550
do
24283
23551
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24284
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
24285
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
24286
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24287
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
23552
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
23553
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
23554
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
23555
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24288
23556
  echo $ECHO_N "(cached) $ECHO_C" >&6
24289
23557
fi
24290
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24291
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
23558
ac_res=`eval echo '${'$as_ac_Header'}'`
 
23559
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
23560
echo "${ECHO_T}$ac_res" >&6; }
24292
23561
else
24293
23562
  # Is the header compilable?
24294
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
24295
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
23563
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
23564
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24296
23565
cat >conftest.$ac_ext <<_ACEOF
24297
23566
/* confdefs.h.  */
24298
23567
_ACEOF
24303
23572
#include <$ac_header>
24304
23573
_ACEOF
24305
23574
rm -f conftest.$ac_objext
24306
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24307
 
  (eval $ac_compile) 2>conftest.er1
 
23575
if { (ac_try="$ac_compile"
 
23576
case "(($ac_try" in
 
23577
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23578
  *) ac_try_echo=$ac_try;;
 
23579
esac
 
23580
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23581
  (eval "$ac_compile") 2>conftest.er1
24308
23582
  ac_status=$?
24309
23583
  grep -v '^ *+' conftest.er1 >conftest.err
24310
23584
  rm -f conftest.er1
24311
23585
  cat conftest.err >&5
24312
23586
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24313
 
  (exit $ac_status); } &&
24314
 
         { ac_try='test -z "$ac_c_werror_flag"
24315
 
                         || test ! -s conftest.err'
24316
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24317
 
  (eval $ac_try) 2>&5
24318
 
  ac_status=$?
24319
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24320
 
  (exit $ac_status); }; } &&
24321
 
         { ac_try='test -s conftest.$ac_objext'
24322
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24323
 
  (eval $ac_try) 2>&5
24324
 
  ac_status=$?
24325
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24326
 
  (exit $ac_status); }; }; then
 
23587
  (exit $ac_status); } && {
 
23588
         test -z "$ac_c_werror_flag" ||
 
23589
         test ! -s conftest.err
 
23590
       } && test -s conftest.$ac_objext; then
24327
23591
  ac_header_compiler=yes
24328
23592
else
24329
23593
  echo "$as_me: failed program was:" >&5
24330
23594
sed 's/^/| /' conftest.$ac_ext >&5
24331
23595
 
24332
 
ac_header_compiler=no
 
23596
        ac_header_compiler=no
24333
23597
fi
24334
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24335
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24336
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
23598
 
 
23599
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
23600
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
23601
echo "${ECHO_T}$ac_header_compiler" >&6; }
24337
23602
 
24338
23603
# Is the header present?
24339
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
24340
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
23604
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
23605
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24341
23606
cat >conftest.$ac_ext <<_ACEOF
24342
23607
/* confdefs.h.  */
24343
23608
_ACEOF
24346
23611
/* end confdefs.h.  */
24347
23612
#include <$ac_header>
24348
23613
_ACEOF
24349
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24350
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
23614
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
23615
case "(($ac_try" in
 
23616
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23617
  *) ac_try_echo=$ac_try;;
 
23618
esac
 
23619
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23620
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24351
23621
  ac_status=$?
24352
23622
  grep -v '^ *+' conftest.er1 >conftest.err
24353
23623
  rm -f conftest.er1
24354
23624
  cat conftest.err >&5
24355
23625
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24356
 
  (exit $ac_status); } >/dev/null; then
24357
 
  if test -s conftest.err; then
24358
 
    ac_cpp_err=$ac_c_preproc_warn_flag
24359
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24360
 
  else
24361
 
    ac_cpp_err=
24362
 
  fi
24363
 
else
24364
 
  ac_cpp_err=yes
24365
 
fi
24366
 
if test -z "$ac_cpp_err"; then
 
23626
  (exit $ac_status); } >/dev/null && {
 
23627
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
23628
         test ! -s conftest.err
 
23629
       }; then
24367
23630
  ac_header_preproc=yes
24368
23631
else
24369
23632
  echo "$as_me: failed program was:" >&5
24371
23634
 
24372
23635
  ac_header_preproc=no
24373
23636
fi
 
23637
 
24374
23638
rm -f conftest.err conftest.$ac_ext
24375
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24376
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
23639
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
23640
echo "${ECHO_T}$ac_header_preproc" >&6; }
24377
23641
 
24378
23642
# So?  What about this header?
24379
23643
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24397
23661
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24398
23662
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24399
23663
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24400
 
    (
24401
 
      cat <<\_ASBOX
 
23664
    ( cat <<\_ASBOX
24402
23665
## ------------------------------ ##
24403
23666
## Report this to jan@kneschke.de ##
24404
23667
## ------------------------------ ##
24405
23668
_ASBOX
24406
 
    ) |
24407
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
23669
     ) | sed "s/^/$as_me: WARNING:     /" >&2
24408
23670
    ;;
24409
23671
esac
24410
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
24411
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24412
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
23672
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
23673
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
23674
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24413
23675
  echo $ECHO_N "(cached) $ECHO_C" >&6
24414
23676
else
24415
23677
  eval "$as_ac_Header=\$ac_header_preproc"
24416
23678
fi
24417
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24418
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
23679
ac_res=`eval echo '${'$as_ac_Header'}'`
 
23680
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
23681
echo "${ECHO_T}$ac_res" >&6; }
24419
23682
 
24420
23683
fi
24421
23684
if test `eval echo '${'$as_ac_Header'}'` = yes; then
24428
23691
done
24429
23692
 
24430
23693
    OLDLIBS="$LIBS"
24431
 
    echo "$as_me:$LINENO: checking for BIO_f_base64 in -lcrypto" >&5
24432
 
echo $ECHO_N "checking for BIO_f_base64 in -lcrypto... $ECHO_C" >&6
 
23694
    { echo "$as_me:$LINENO: checking for BIO_f_base64 in -lcrypto" >&5
 
23695
echo $ECHO_N "checking for BIO_f_base64 in -lcrypto... $ECHO_C" >&6; }
24433
23696
if test "${ac_cv_lib_crypto_BIO_f_base64+set}" = set; then
24434
23697
  echo $ECHO_N "(cached) $ECHO_C" >&6
24435
23698
else
24442
23705
cat >>conftest.$ac_ext <<_ACEOF
24443
23706
/* end confdefs.h.  */
24444
23707
 
24445
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23708
/* Override any GCC internal prototype to avoid an error.
 
23709
   Use char because int might match the return type of a GCC
 
23710
   builtin and then its argument prototype would still apply.  */
24446
23711
#ifdef __cplusplus
24447
23712
extern "C"
24448
23713
#endif
24449
 
/* We use char because int might match the return type of a gcc2
24450
 
   builtin and then its argument prototype would still apply.  */
24451
23714
char BIO_f_base64 ();
24452
23715
int
24453
23716
main ()
24454
23717
{
24455
 
BIO_f_base64 ();
 
23718
return BIO_f_base64 ();
24456
23719
  ;
24457
23720
  return 0;
24458
23721
}
24459
23722
_ACEOF
24460
23723
rm -f conftest.$ac_objext conftest$ac_exeext
24461
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24462
 
  (eval $ac_link) 2>conftest.er1
 
23724
if { (ac_try="$ac_link"
 
23725
case "(($ac_try" in
 
23726
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23727
  *) ac_try_echo=$ac_try;;
 
23728
esac
 
23729
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23730
  (eval "$ac_link") 2>conftest.er1
24463
23731
  ac_status=$?
24464
23732
  grep -v '^ *+' conftest.er1 >conftest.err
24465
23733
  rm -f conftest.er1
24466
23734
  cat conftest.err >&5
24467
23735
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24468
 
  (exit $ac_status); } &&
24469
 
         { ac_try='test -z "$ac_c_werror_flag"
24470
 
                         || test ! -s conftest.err'
24471
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24472
 
  (eval $ac_try) 2>&5
24473
 
  ac_status=$?
24474
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24475
 
  (exit $ac_status); }; } &&
24476
 
         { ac_try='test -s conftest$ac_exeext'
24477
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24478
 
  (eval $ac_try) 2>&5
24479
 
  ac_status=$?
24480
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24481
 
  (exit $ac_status); }; }; then
 
23736
  (exit $ac_status); } && {
 
23737
         test -z "$ac_c_werror_flag" ||
 
23738
         test ! -s conftest.err
 
23739
       } && test -s conftest$ac_exeext &&
 
23740
       $as_test_x conftest$ac_exeext; then
24482
23741
  ac_cv_lib_crypto_BIO_f_base64=yes
24483
23742
else
24484
23743
  echo "$as_me: failed program was:" >&5
24485
23744
sed 's/^/| /' conftest.$ac_ext >&5
24486
23745
 
24487
 
ac_cv_lib_crypto_BIO_f_base64=no
 
23746
        ac_cv_lib_crypto_BIO_f_base64=no
24488
23747
fi
24489
 
rm -f conftest.err conftest.$ac_objext \
 
23748
 
 
23749
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24490
23750
      conftest$ac_exeext conftest.$ac_ext
24491
23751
LIBS=$ac_check_lib_save_LIBS
24492
23752
fi
24493
 
echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_BIO_f_base64" >&5
24494
 
echo "${ECHO_T}$ac_cv_lib_crypto_BIO_f_base64" >&6
 
23753
{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_BIO_f_base64" >&5
 
23754
echo "${ECHO_T}$ac_cv_lib_crypto_BIO_f_base64" >&6; }
24495
23755
if test $ac_cv_lib_crypto_BIO_f_base64 = yes; then
24496
23756
 
24497
 
      echo "$as_me:$LINENO: checking for SSL_new in -lssl" >&5
24498
 
echo $ECHO_N "checking for SSL_new in -lssl... $ECHO_C" >&6
 
23757
      { echo "$as_me:$LINENO: checking for SSL_new in -lssl" >&5
 
23758
echo $ECHO_N "checking for SSL_new in -lssl... $ECHO_C" >&6; }
24499
23759
if test "${ac_cv_lib_ssl_SSL_new+set}" = set; then
24500
23760
  echo $ECHO_N "(cached) $ECHO_C" >&6
24501
23761
else
24508
23768
cat >>conftest.$ac_ext <<_ACEOF
24509
23769
/* end confdefs.h.  */
24510
23770
 
24511
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23771
/* Override any GCC internal prototype to avoid an error.
 
23772
   Use char because int might match the return type of a GCC
 
23773
   builtin and then its argument prototype would still apply.  */
24512
23774
#ifdef __cplusplus
24513
23775
extern "C"
24514
23776
#endif
24515
 
/* We use char because int might match the return type of a gcc2
24516
 
   builtin and then its argument prototype would still apply.  */
24517
23777
char SSL_new ();
24518
23778
int
24519
23779
main ()
24520
23780
{
24521
 
SSL_new ();
 
23781
return SSL_new ();
24522
23782
  ;
24523
23783
  return 0;
24524
23784
}
24525
23785
_ACEOF
24526
23786
rm -f conftest.$ac_objext conftest$ac_exeext
24527
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24528
 
  (eval $ac_link) 2>conftest.er1
 
23787
if { (ac_try="$ac_link"
 
23788
case "(($ac_try" in
 
23789
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23790
  *) ac_try_echo=$ac_try;;
 
23791
esac
 
23792
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23793
  (eval "$ac_link") 2>conftest.er1
24529
23794
  ac_status=$?
24530
23795
  grep -v '^ *+' conftest.er1 >conftest.err
24531
23796
  rm -f conftest.er1
24532
23797
  cat conftest.err >&5
24533
23798
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24534
 
  (exit $ac_status); } &&
24535
 
         { ac_try='test -z "$ac_c_werror_flag"
24536
 
                         || test ! -s conftest.err'
24537
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24538
 
  (eval $ac_try) 2>&5
24539
 
  ac_status=$?
24540
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24541
 
  (exit $ac_status); }; } &&
24542
 
         { ac_try='test -s conftest$ac_exeext'
24543
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24544
 
  (eval $ac_try) 2>&5
24545
 
  ac_status=$?
24546
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24547
 
  (exit $ac_status); }; }; then
 
23799
  (exit $ac_status); } && {
 
23800
         test -z "$ac_c_werror_flag" ||
 
23801
         test ! -s conftest.err
 
23802
       } && test -s conftest$ac_exeext &&
 
23803
       $as_test_x conftest$ac_exeext; then
24548
23804
  ac_cv_lib_ssl_SSL_new=yes
24549
23805
else
24550
23806
  echo "$as_me: failed program was:" >&5
24551
23807
sed 's/^/| /' conftest.$ac_ext >&5
24552
23808
 
24553
 
ac_cv_lib_ssl_SSL_new=no
 
23809
        ac_cv_lib_ssl_SSL_new=no
24554
23810
fi
24555
 
rm -f conftest.err conftest.$ac_objext \
 
23811
 
 
23812
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24556
23813
      conftest$ac_exeext conftest.$ac_ext
24557
23814
LIBS=$ac_check_lib_save_LIBS
24558
23815
fi
24559
 
echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_new" >&5
24560
 
echo "${ECHO_T}$ac_cv_lib_ssl_SSL_new" >&6
 
23816
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_new" >&5
 
23817
echo "${ECHO_T}$ac_cv_lib_ssl_SSL_new" >&6; }
24561
23818
if test $ac_cv_lib_ssl_SSL_new = yes; then
24562
23819
   SSL_LIB="-lssl -lcrypto"
24563
23820
 
24574
23831
 
24575
23832
fi
24576
23833
 
24577
 
echo "$as_me:$LINENO: checking for perl regular expressions support" >&5
24578
 
echo $ECHO_N "checking for perl regular expressions support... $ECHO_C" >&6
 
23834
{ echo "$as_me:$LINENO: checking for perl regular expressions support" >&5
 
23835
echo $ECHO_N "checking for perl regular expressions support... $ECHO_C" >&6; }
24579
23836
 
24580
 
# Check whether --with-pcre or --without-pcre was given.
 
23837
# Check whether --with-pcre was given.
24581
23838
if test "${with_pcre+set}" = set; then
24582
 
  withval="$with_pcre"
24583
 
  WITH_PCRE=$withval
 
23839
  withval=$with_pcre; WITH_PCRE=$withval
24584
23840
else
24585
23841
  WITH_PCRE=yes
24586
 
fi;
24587
 
echo "$as_me:$LINENO: result: $WITH_PCRE" >&5
24588
 
echo "${ECHO_T}$WITH_PCRE" >&6
 
23842
fi
 
23843
 
 
23844
{ echo "$as_me:$LINENO: result: $WITH_PCRE" >&5
 
23845
echo "${ECHO_T}$WITH_PCRE" >&6; }
24589
23846
 
24590
23847
if test "x$cross_compiling" = xno -a "$WITH_PCRE" != "no"; then
24591
23848
  # Extract the first word of "pcre-config", so it can be a program name with args.
24592
23849
set dummy pcre-config; ac_word=$2
24593
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
24594
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
23850
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
23851
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24595
23852
if test "${ac_cv_path_PCRECONFIG+set}" = set; then
24596
23853
  echo $ECHO_N "(cached) $ECHO_C" >&6
24597
23854
else
24606
23863
  IFS=$as_save_IFS
24607
23864
  test -z "$as_dir" && as_dir=.
24608
23865
  for ac_exec_ext in '' $ac_executable_extensions; do
24609
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
23866
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24610
23867
    ac_cv_path_PCRECONFIG="$as_dir/$ac_word$ac_exec_ext"
24611
23868
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24612
23869
    break 2
24613
23870
  fi
24614
23871
done
24615
23872
done
 
23873
IFS=$as_save_IFS
24616
23874
 
24617
23875
  ;;
24618
23876
esac
24619
23877
fi
24620
23878
PCRECONFIG=$ac_cv_path_PCRECONFIG
24621
 
 
24622
23879
if test -n "$PCRECONFIG"; then
24623
 
  echo "$as_me:$LINENO: result: $PCRECONFIG" >&5
24624
 
echo "${ECHO_T}$PCRECONFIG" >&6
 
23880
  { echo "$as_me:$LINENO: result: $PCRECONFIG" >&5
 
23881
echo "${ECHO_T}$PCRECONFIG" >&6; }
24625
23882
else
24626
 
  echo "$as_me:$LINENO: result: no" >&5
24627
 
echo "${ECHO_T}no" >&6
 
23883
  { echo "$as_me:$LINENO: result: no" >&5
 
23884
echo "${ECHO_T}no" >&6; }
24628
23885
fi
24629
23886
 
24630
23887
 
 
23888
 
24631
23889
  if test x"$PCRECONFIG" != x; then
24632
23890
    PCRE_LIB=`$PCRECONFIG --libs`
24633
23891
    CPPFLAGS="$CPPFLAGS `$PCRECONFIG --cflags`"
24634
23892
    OLDLIBS="$LIBS"
24635
23893
    LIBS="$LIBS $PCRE_LIB"
24636
 
    echo "$as_me:$LINENO: checking for pcre_compile in -lpcre" >&5
24637
 
echo $ECHO_N "checking for pcre_compile in -lpcre... $ECHO_C" >&6
 
23894
    { echo "$as_me:$LINENO: checking for pcre_compile in -lpcre" >&5
 
23895
echo $ECHO_N "checking for pcre_compile in -lpcre... $ECHO_C" >&6; }
24638
23896
if test "${ac_cv_lib_pcre_pcre_compile+set}" = set; then
24639
23897
  echo $ECHO_N "(cached) $ECHO_C" >&6
24640
23898
else
24647
23905
cat >>conftest.$ac_ext <<_ACEOF
24648
23906
/* end confdefs.h.  */
24649
23907
 
24650
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23908
/* Override any GCC internal prototype to avoid an error.
 
23909
   Use char because int might match the return type of a GCC
 
23910
   builtin and then its argument prototype would still apply.  */
24651
23911
#ifdef __cplusplus
24652
23912
extern "C"
24653
23913
#endif
24654
 
/* We use char because int might match the return type of a gcc2
24655
 
   builtin and then its argument prototype would still apply.  */
24656
23914
char pcre_compile ();
24657
23915
int
24658
23916
main ()
24659
23917
{
24660
 
pcre_compile ();
 
23918
return pcre_compile ();
24661
23919
  ;
24662
23920
  return 0;
24663
23921
}
24664
23922
_ACEOF
24665
23923
rm -f conftest.$ac_objext conftest$ac_exeext
24666
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24667
 
  (eval $ac_link) 2>conftest.er1
 
23924
if { (ac_try="$ac_link"
 
23925
case "(($ac_try" in
 
23926
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23927
  *) ac_try_echo=$ac_try;;
 
23928
esac
 
23929
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23930
  (eval "$ac_link") 2>conftest.er1
24668
23931
  ac_status=$?
24669
23932
  grep -v '^ *+' conftest.er1 >conftest.err
24670
23933
  rm -f conftest.er1
24671
23934
  cat conftest.err >&5
24672
23935
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24673
 
  (exit $ac_status); } &&
24674
 
         { ac_try='test -z "$ac_c_werror_flag"
24675
 
                         || test ! -s conftest.err'
24676
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24677
 
  (eval $ac_try) 2>&5
24678
 
  ac_status=$?
24679
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24680
 
  (exit $ac_status); }; } &&
24681
 
         { ac_try='test -s conftest$ac_exeext'
24682
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24683
 
  (eval $ac_try) 2>&5
24684
 
  ac_status=$?
24685
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24686
 
  (exit $ac_status); }; }; then
 
23936
  (exit $ac_status); } && {
 
23937
         test -z "$ac_c_werror_flag" ||
 
23938
         test ! -s conftest.err
 
23939
       } && test -s conftest$ac_exeext &&
 
23940
       $as_test_x conftest$ac_exeext; then
24687
23941
  ac_cv_lib_pcre_pcre_compile=yes
24688
23942
else
24689
23943
  echo "$as_me: failed program was:" >&5
24690
23944
sed 's/^/| /' conftest.$ac_ext >&5
24691
23945
 
24692
 
ac_cv_lib_pcre_pcre_compile=no
 
23946
        ac_cv_lib_pcre_pcre_compile=no
24693
23947
fi
24694
 
rm -f conftest.err conftest.$ac_objext \
 
23948
 
 
23949
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24695
23950
      conftest$ac_exeext conftest.$ac_ext
24696
23951
LIBS=$ac_check_lib_save_LIBS
24697
23952
fi
24698
 
echo "$as_me:$LINENO: result: $ac_cv_lib_pcre_pcre_compile" >&5
24699
 
echo "${ECHO_T}$ac_cv_lib_pcre_pcre_compile" >&6
 
23953
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pcre_pcre_compile" >&5
 
23954
echo "${ECHO_T}$ac_cv_lib_pcre_pcre_compile" >&6; }
24700
23955
if test $ac_cv_lib_pcre_pcre_compile = yes; then
24701
23956
 
24702
23957
 
24703
23958
for ac_header in pcre.h
24704
23959
do
24705
23960
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24706
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
24707
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
24708
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24709
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
23961
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
23962
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
23963
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
23964
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24710
23965
  echo $ECHO_N "(cached) $ECHO_C" >&6
24711
23966
fi
24712
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24713
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
23967
ac_res=`eval echo '${'$as_ac_Header'}'`
 
23968
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
23969
echo "${ECHO_T}$ac_res" >&6; }
24714
23970
else
24715
23971
  # Is the header compilable?
24716
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
24717
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
23972
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
23973
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24718
23974
cat >conftest.$ac_ext <<_ACEOF
24719
23975
/* confdefs.h.  */
24720
23976
_ACEOF
24725
23981
#include <$ac_header>
24726
23982
_ACEOF
24727
23983
rm -f conftest.$ac_objext
24728
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24729
 
  (eval $ac_compile) 2>conftest.er1
 
23984
if { (ac_try="$ac_compile"
 
23985
case "(($ac_try" in
 
23986
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23987
  *) ac_try_echo=$ac_try;;
 
23988
esac
 
23989
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23990
  (eval "$ac_compile") 2>conftest.er1
24730
23991
  ac_status=$?
24731
23992
  grep -v '^ *+' conftest.er1 >conftest.err
24732
23993
  rm -f conftest.er1
24733
23994
  cat conftest.err >&5
24734
23995
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24735
 
  (exit $ac_status); } &&
24736
 
         { ac_try='test -z "$ac_c_werror_flag"
24737
 
                         || test ! -s conftest.err'
24738
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&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
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24745
 
  (eval $ac_try) 2>&5
24746
 
  ac_status=$?
24747
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24748
 
  (exit $ac_status); }; }; then
 
23996
  (exit $ac_status); } && {
 
23997
         test -z "$ac_c_werror_flag" ||
 
23998
         test ! -s conftest.err
 
23999
       } && test -s conftest.$ac_objext; then
24749
24000
  ac_header_compiler=yes
24750
24001
else
24751
24002
  echo "$as_me: failed program was:" >&5
24752
24003
sed 's/^/| /' conftest.$ac_ext >&5
24753
24004
 
24754
 
ac_header_compiler=no
 
24005
        ac_header_compiler=no
24755
24006
fi
24756
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24757
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24758
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
24007
 
 
24008
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24009
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
24010
echo "${ECHO_T}$ac_header_compiler" >&6; }
24759
24011
 
24760
24012
# Is the header present?
24761
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
24762
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
24013
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
24014
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24763
24015
cat >conftest.$ac_ext <<_ACEOF
24764
24016
/* confdefs.h.  */
24765
24017
_ACEOF
24768
24020
/* end confdefs.h.  */
24769
24021
#include <$ac_header>
24770
24022
_ACEOF
24771
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24772
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
24023
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
24024
case "(($ac_try" in
 
24025
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24026
  *) ac_try_echo=$ac_try;;
 
24027
esac
 
24028
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24029
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24773
24030
  ac_status=$?
24774
24031
  grep -v '^ *+' conftest.er1 >conftest.err
24775
24032
  rm -f conftest.er1
24776
24033
  cat conftest.err >&5
24777
24034
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24778
 
  (exit $ac_status); } >/dev/null; then
24779
 
  if test -s conftest.err; then
24780
 
    ac_cpp_err=$ac_c_preproc_warn_flag
24781
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24782
 
  else
24783
 
    ac_cpp_err=
24784
 
  fi
24785
 
else
24786
 
  ac_cpp_err=yes
24787
 
fi
24788
 
if test -z "$ac_cpp_err"; then
 
24035
  (exit $ac_status); } >/dev/null && {
 
24036
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
24037
         test ! -s conftest.err
 
24038
       }; then
24789
24039
  ac_header_preproc=yes
24790
24040
else
24791
24041
  echo "$as_me: failed program was:" >&5
24793
24043
 
24794
24044
  ac_header_preproc=no
24795
24045
fi
 
24046
 
24796
24047
rm -f conftest.err conftest.$ac_ext
24797
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24798
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
24048
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
24049
echo "${ECHO_T}$ac_header_preproc" >&6; }
24799
24050
 
24800
24051
# So?  What about this header?
24801
24052
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24819
24070
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24820
24071
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24821
24072
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24822
 
    (
24823
 
      cat <<\_ASBOX
 
24073
    ( cat <<\_ASBOX
24824
24074
## ------------------------------ ##
24825
24075
## Report this to jan@kneschke.de ##
24826
24076
## ------------------------------ ##
24827
24077
_ASBOX
24828
 
    ) |
24829
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
24078
     ) | sed "s/^/$as_me: WARNING:     /" >&2
24830
24079
    ;;
24831
24080
esac
24832
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
24833
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24834
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
24081
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
24082
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
24083
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24835
24084
  echo $ECHO_N "(cached) $ECHO_C" >&6
24836
24085
else
24837
24086
  eval "$as_ac_Header=\$ac_header_preproc"
24838
24087
fi
24839
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24840
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
24088
ac_res=`eval echo '${'$as_ac_Header'}'`
 
24089
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24090
echo "${ECHO_T}$ac_res" >&6; }
24841
24091
 
24842
24092
fi
24843
24093
if test `eval echo '${'$as_ac_Header'}'` = yes; then
24868
24118
 
24869
24119
 
24870
24120
 
24871
 
echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24872
 
echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
 
24121
{ echo "$as_me:$LINENO: checking for deflate in -lz" >&5
 
24122
echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
24873
24123
if test "${ac_cv_lib_z_deflate+set}" = set; then
24874
24124
  echo $ECHO_N "(cached) $ECHO_C" >&6
24875
24125
else
24882
24132
cat >>conftest.$ac_ext <<_ACEOF
24883
24133
/* end confdefs.h.  */
24884
24134
 
24885
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
24135
/* Override any GCC internal prototype to avoid an error.
 
24136
   Use char because int might match the return type of a GCC
 
24137
   builtin and then its argument prototype would still apply.  */
24886
24138
#ifdef __cplusplus
24887
24139
extern "C"
24888
24140
#endif
24889
 
/* We use char because int might match the return type of a gcc2
24890
 
   builtin and then its argument prototype would still apply.  */
24891
24141
char deflate ();
24892
24142
int
24893
24143
main ()
24894
24144
{
24895
 
deflate ();
 
24145
return deflate ();
24896
24146
  ;
24897
24147
  return 0;
24898
24148
}
24899
24149
_ACEOF
24900
24150
rm -f conftest.$ac_objext conftest$ac_exeext
24901
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24902
 
  (eval $ac_link) 2>conftest.er1
 
24151
if { (ac_try="$ac_link"
 
24152
case "(($ac_try" in
 
24153
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24154
  *) ac_try_echo=$ac_try;;
 
24155
esac
 
24156
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24157
  (eval "$ac_link") 2>conftest.er1
24903
24158
  ac_status=$?
24904
24159
  grep -v '^ *+' conftest.er1 >conftest.err
24905
24160
  rm -f conftest.er1
24906
24161
  cat conftest.err >&5
24907
24162
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908
 
  (exit $ac_status); } &&
24909
 
         { ac_try='test -z "$ac_c_werror_flag"
24910
 
                         || test ! -s conftest.err'
24911
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24912
 
  (eval $ac_try) 2>&5
24913
 
  ac_status=$?
24914
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915
 
  (exit $ac_status); }; } &&
24916
 
         { ac_try='test -s conftest$ac_exeext'
24917
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24918
 
  (eval $ac_try) 2>&5
24919
 
  ac_status=$?
24920
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24921
 
  (exit $ac_status); }; }; then
 
24163
  (exit $ac_status); } && {
 
24164
         test -z "$ac_c_werror_flag" ||
 
24165
         test ! -s conftest.err
 
24166
       } && test -s conftest$ac_exeext &&
 
24167
       $as_test_x conftest$ac_exeext; then
24922
24168
  ac_cv_lib_z_deflate=yes
24923
24169
else
24924
24170
  echo "$as_me: failed program was:" >&5
24925
24171
sed 's/^/| /' conftest.$ac_ext >&5
24926
24172
 
24927
 
ac_cv_lib_z_deflate=no
 
24173
        ac_cv_lib_z_deflate=no
24928
24174
fi
24929
 
rm -f conftest.err conftest.$ac_objext \
 
24175
 
 
24176
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24930
24177
      conftest$ac_exeext conftest.$ac_ext
24931
24178
LIBS=$ac_check_lib_save_LIBS
24932
24179
fi
24933
 
echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24934
 
echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
 
24180
{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
 
24181
echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
24935
24182
if test $ac_cv_lib_z_deflate = yes; then
24936
24183
 
24937
24184
 
24938
24185
for ac_header in zlib.h
24939
24186
do
24940
24187
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24941
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
24942
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
24943
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24944
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
24188
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
24189
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
24190
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
24191
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24945
24192
  echo $ECHO_N "(cached) $ECHO_C" >&6
24946
24193
fi
24947
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24948
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
24194
ac_res=`eval echo '${'$as_ac_Header'}'`
 
24195
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24196
echo "${ECHO_T}$ac_res" >&6; }
24949
24197
else
24950
24198
  # Is the header compilable?
24951
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
24952
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
24199
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
24200
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24953
24201
cat >conftest.$ac_ext <<_ACEOF
24954
24202
/* confdefs.h.  */
24955
24203
_ACEOF
24960
24208
#include <$ac_header>
24961
24209
_ACEOF
24962
24210
rm -f conftest.$ac_objext
24963
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24964
 
  (eval $ac_compile) 2>conftest.er1
 
24211
if { (ac_try="$ac_compile"
 
24212
case "(($ac_try" in
 
24213
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24214
  *) ac_try_echo=$ac_try;;
 
24215
esac
 
24216
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24217
  (eval "$ac_compile") 2>conftest.er1
24965
24218
  ac_status=$?
24966
24219
  grep -v '^ *+' conftest.er1 >conftest.err
24967
24220
  rm -f conftest.er1
24968
24221
  cat conftest.err >&5
24969
24222
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24970
 
  (exit $ac_status); } &&
24971
 
         { ac_try='test -z "$ac_c_werror_flag"
24972
 
                         || test ! -s conftest.err'
24973
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24974
 
  (eval $ac_try) 2>&5
24975
 
  ac_status=$?
24976
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24977
 
  (exit $ac_status); }; } &&
24978
 
         { ac_try='test -s conftest.$ac_objext'
24979
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24980
 
  (eval $ac_try) 2>&5
24981
 
  ac_status=$?
24982
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24983
 
  (exit $ac_status); }; }; then
 
24223
  (exit $ac_status); } && {
 
24224
         test -z "$ac_c_werror_flag" ||
 
24225
         test ! -s conftest.err
 
24226
       } && test -s conftest.$ac_objext; then
24984
24227
  ac_header_compiler=yes
24985
24228
else
24986
24229
  echo "$as_me: failed program was:" >&5
24987
24230
sed 's/^/| /' conftest.$ac_ext >&5
24988
24231
 
24989
 
ac_header_compiler=no
 
24232
        ac_header_compiler=no
24990
24233
fi
24991
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24992
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24993
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
24234
 
 
24235
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24236
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
24237
echo "${ECHO_T}$ac_header_compiler" >&6; }
24994
24238
 
24995
24239
# Is the header present?
24996
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
24997
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
24240
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
24241
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24998
24242
cat >conftest.$ac_ext <<_ACEOF
24999
24243
/* confdefs.h.  */
25000
24244
_ACEOF
25003
24247
/* end confdefs.h.  */
25004
24248
#include <$ac_header>
25005
24249
_ACEOF
25006
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25007
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
24250
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
24251
case "(($ac_try" in
 
24252
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24253
  *) ac_try_echo=$ac_try;;
 
24254
esac
 
24255
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24256
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25008
24257
  ac_status=$?
25009
24258
  grep -v '^ *+' conftest.er1 >conftest.err
25010
24259
  rm -f conftest.er1
25011
24260
  cat conftest.err >&5
25012
24261
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25013
 
  (exit $ac_status); } >/dev/null; then
25014
 
  if test -s conftest.err; then
25015
 
    ac_cpp_err=$ac_c_preproc_warn_flag
25016
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25017
 
  else
25018
 
    ac_cpp_err=
25019
 
  fi
25020
 
else
25021
 
  ac_cpp_err=yes
25022
 
fi
25023
 
if test -z "$ac_cpp_err"; then
 
24262
  (exit $ac_status); } >/dev/null && {
 
24263
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
24264
         test ! -s conftest.err
 
24265
       }; then
25024
24266
  ac_header_preproc=yes
25025
24267
else
25026
24268
  echo "$as_me: failed program was:" >&5
25028
24270
 
25029
24271
  ac_header_preproc=no
25030
24272
fi
 
24273
 
25031
24274
rm -f conftest.err conftest.$ac_ext
25032
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25033
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
24275
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
24276
echo "${ECHO_T}$ac_header_preproc" >&6; }
25034
24277
 
25035
24278
# So?  What about this header?
25036
24279
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25054
24297
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25055
24298
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25056
24299
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25057
 
    (
25058
 
      cat <<\_ASBOX
 
24300
    ( cat <<\_ASBOX
25059
24301
## ------------------------------ ##
25060
24302
## Report this to jan@kneschke.de ##
25061
24303
## ------------------------------ ##
25062
24304
_ASBOX
25063
 
    ) |
25064
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
24305
     ) | sed "s/^/$as_me: WARNING:     /" >&2
25065
24306
    ;;
25066
24307
esac
25067
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
25068
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25069
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
24308
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
24309
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
24310
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25070
24311
  echo $ECHO_N "(cached) $ECHO_C" >&6
25071
24312
else
25072
24313
  eval "$as_ac_Header=\$ac_header_preproc"
25073
24314
fi
25074
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25075
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
24315
ac_res=`eval echo '${'$as_ac_Header'}'`
 
24316
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24317
echo "${ECHO_T}$ac_res" >&6; }
25076
24318
 
25077
24319
fi
25078
24320
if test `eval echo '${'$as_ac_Header'}'` = yes; then
25100
24342
 
25101
24343
 
25102
24344
 
25103
 
echo "$as_me:$LINENO: checking for bzip2 support" >&5
25104
 
echo $ECHO_N "checking for bzip2 support... $ECHO_C" >&6
 
24345
{ echo "$as_me:$LINENO: checking for bzip2 support" >&5
 
24346
echo $ECHO_N "checking for bzip2 support... $ECHO_C" >&6; }
25105
24347
 
25106
 
# Check whether --with-bzip2 or --without-bzip2 was given.
 
24348
# Check whether --with-bzip2 was given.
25107
24349
if test "${with_bzip2+set}" = set; then
25108
 
  withval="$with_bzip2"
25109
 
  WITH_BZIP2=$withval
 
24350
  withval=$with_bzip2; WITH_BZIP2=$withval
25110
24351
else
25111
24352
  WITH_BZIP2=yes
25112
 
fi;
25113
 
echo "$as_me:$LINENO: result: $WITH_BZIP2" >&5
25114
 
echo "${ECHO_T}$WITH_BZIP2" >&6
 
24353
fi
 
24354
 
 
24355
{ echo "$as_me:$LINENO: result: $WITH_BZIP2" >&5
 
24356
echo "${ECHO_T}$WITH_BZIP2" >&6; }
25115
24357
 
25116
24358
if test "$WITH_BZIP2" != "no"; then
25117
 
  echo "$as_me:$LINENO: checking for BZ2_bzCompress in -lbz2" >&5
25118
 
echo $ECHO_N "checking for BZ2_bzCompress in -lbz2... $ECHO_C" >&6
 
24359
  { echo "$as_me:$LINENO: checking for BZ2_bzCompress in -lbz2" >&5
 
24360
echo $ECHO_N "checking for BZ2_bzCompress in -lbz2... $ECHO_C" >&6; }
25119
24361
if test "${ac_cv_lib_bz2_BZ2_bzCompress+set}" = set; then
25120
24362
  echo $ECHO_N "(cached) $ECHO_C" >&6
25121
24363
else
25128
24370
cat >>conftest.$ac_ext <<_ACEOF
25129
24371
/* end confdefs.h.  */
25130
24372
 
25131
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
24373
/* Override any GCC internal prototype to avoid an error.
 
24374
   Use char because int might match the return type of a GCC
 
24375
   builtin and then its argument prototype would still apply.  */
25132
24376
#ifdef __cplusplus
25133
24377
extern "C"
25134
24378
#endif
25135
 
/* We use char because int might match the return type of a gcc2
25136
 
   builtin and then its argument prototype would still apply.  */
25137
24379
char BZ2_bzCompress ();
25138
24380
int
25139
24381
main ()
25140
24382
{
25141
 
BZ2_bzCompress ();
 
24383
return BZ2_bzCompress ();
25142
24384
  ;
25143
24385
  return 0;
25144
24386
}
25145
24387
_ACEOF
25146
24388
rm -f conftest.$ac_objext conftest$ac_exeext
25147
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25148
 
  (eval $ac_link) 2>conftest.er1
 
24389
if { (ac_try="$ac_link"
 
24390
case "(($ac_try" in
 
24391
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24392
  *) ac_try_echo=$ac_try;;
 
24393
esac
 
24394
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24395
  (eval "$ac_link") 2>conftest.er1
25149
24396
  ac_status=$?
25150
24397
  grep -v '^ *+' conftest.er1 >conftest.err
25151
24398
  rm -f conftest.er1
25152
24399
  cat conftest.err >&5
25153
24400
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25154
 
  (exit $ac_status); } &&
25155
 
         { ac_try='test -z "$ac_c_werror_flag"
25156
 
                         || test ! -s conftest.err'
25157
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25158
 
  (eval $ac_try) 2>&5
25159
 
  ac_status=$?
25160
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25161
 
  (exit $ac_status); }; } &&
25162
 
         { ac_try='test -s conftest$ac_exeext'
25163
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25164
 
  (eval $ac_try) 2>&5
25165
 
  ac_status=$?
25166
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25167
 
  (exit $ac_status); }; }; then
 
24401
  (exit $ac_status); } && {
 
24402
         test -z "$ac_c_werror_flag" ||
 
24403
         test ! -s conftest.err
 
24404
       } && test -s conftest$ac_exeext &&
 
24405
       $as_test_x conftest$ac_exeext; then
25168
24406
  ac_cv_lib_bz2_BZ2_bzCompress=yes
25169
24407
else
25170
24408
  echo "$as_me: failed program was:" >&5
25171
24409
sed 's/^/| /' conftest.$ac_ext >&5
25172
24410
 
25173
 
ac_cv_lib_bz2_BZ2_bzCompress=no
 
24411
        ac_cv_lib_bz2_BZ2_bzCompress=no
25174
24412
fi
25175
 
rm -f conftest.err conftest.$ac_objext \
 
24413
 
 
24414
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25176
24415
      conftest$ac_exeext conftest.$ac_ext
25177
24416
LIBS=$ac_check_lib_save_LIBS
25178
24417
fi
25179
 
echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_BZ2_bzCompress" >&5
25180
 
echo "${ECHO_T}$ac_cv_lib_bz2_BZ2_bzCompress" >&6
 
24418
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_BZ2_bzCompress" >&5
 
24419
echo "${ECHO_T}$ac_cv_lib_bz2_BZ2_bzCompress" >&6; }
25181
24420
if test $ac_cv_lib_bz2_BZ2_bzCompress = yes; then
25182
24421
 
25183
24422
 
25184
24423
for ac_header in bzlib.h
25185
24424
do
25186
24425
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25187
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
25188
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
25189
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25190
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
24426
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
24427
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
24428
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
24429
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25191
24430
  echo $ECHO_N "(cached) $ECHO_C" >&6
25192
24431
fi
25193
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25194
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
24432
ac_res=`eval echo '${'$as_ac_Header'}'`
 
24433
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24434
echo "${ECHO_T}$ac_res" >&6; }
25195
24435
else
25196
24436
  # Is the header compilable?
25197
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
25198
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
24437
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
24438
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
25199
24439
cat >conftest.$ac_ext <<_ACEOF
25200
24440
/* confdefs.h.  */
25201
24441
_ACEOF
25206
24446
#include <$ac_header>
25207
24447
_ACEOF
25208
24448
rm -f conftest.$ac_objext
25209
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25210
 
  (eval $ac_compile) 2>conftest.er1
 
24449
if { (ac_try="$ac_compile"
 
24450
case "(($ac_try" in
 
24451
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24452
  *) ac_try_echo=$ac_try;;
 
24453
esac
 
24454
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24455
  (eval "$ac_compile") 2>conftest.er1
25211
24456
  ac_status=$?
25212
24457
  grep -v '^ *+' conftest.er1 >conftest.err
25213
24458
  rm -f conftest.er1
25214
24459
  cat conftest.err >&5
25215
24460
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25216
 
  (exit $ac_status); } &&
25217
 
         { ac_try='test -z "$ac_c_werror_flag"
25218
 
                         || test ! -s conftest.err'
25219
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25220
 
  (eval $ac_try) 2>&5
25221
 
  ac_status=$?
25222
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25223
 
  (exit $ac_status); }; } &&
25224
 
         { ac_try='test -s conftest.$ac_objext'
25225
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25226
 
  (eval $ac_try) 2>&5
25227
 
  ac_status=$?
25228
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25229
 
  (exit $ac_status); }; }; then
 
24461
  (exit $ac_status); } && {
 
24462
         test -z "$ac_c_werror_flag" ||
 
24463
         test ! -s conftest.err
 
24464
       } && test -s conftest.$ac_objext; then
25230
24465
  ac_header_compiler=yes
25231
24466
else
25232
24467
  echo "$as_me: failed program was:" >&5
25233
24468
sed 's/^/| /' conftest.$ac_ext >&5
25234
24469
 
25235
 
ac_header_compiler=no
 
24470
        ac_header_compiler=no
25236
24471
fi
25237
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25238
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25239
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
24472
 
 
24473
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24474
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
24475
echo "${ECHO_T}$ac_header_compiler" >&6; }
25240
24476
 
25241
24477
# Is the header present?
25242
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
25243
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
24478
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
24479
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
25244
24480
cat >conftest.$ac_ext <<_ACEOF
25245
24481
/* confdefs.h.  */
25246
24482
_ACEOF
25249
24485
/* end confdefs.h.  */
25250
24486
#include <$ac_header>
25251
24487
_ACEOF
25252
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25253
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
24488
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
24489
case "(($ac_try" in
 
24490
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24491
  *) ac_try_echo=$ac_try;;
 
24492
esac
 
24493
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24494
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25254
24495
  ac_status=$?
25255
24496
  grep -v '^ *+' conftest.er1 >conftest.err
25256
24497
  rm -f conftest.er1
25257
24498
  cat conftest.err >&5
25258
24499
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25259
 
  (exit $ac_status); } >/dev/null; then
25260
 
  if test -s conftest.err; then
25261
 
    ac_cpp_err=$ac_c_preproc_warn_flag
25262
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25263
 
  else
25264
 
    ac_cpp_err=
25265
 
  fi
25266
 
else
25267
 
  ac_cpp_err=yes
25268
 
fi
25269
 
if test -z "$ac_cpp_err"; then
 
24500
  (exit $ac_status); } >/dev/null && {
 
24501
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
24502
         test ! -s conftest.err
 
24503
       }; then
25270
24504
  ac_header_preproc=yes
25271
24505
else
25272
24506
  echo "$as_me: failed program was:" >&5
25274
24508
 
25275
24509
  ac_header_preproc=no
25276
24510
fi
 
24511
 
25277
24512
rm -f conftest.err conftest.$ac_ext
25278
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25279
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
24513
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
24514
echo "${ECHO_T}$ac_header_preproc" >&6; }
25280
24515
 
25281
24516
# So?  What about this header?
25282
24517
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25300
24535
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25301
24536
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25302
24537
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25303
 
    (
25304
 
      cat <<\_ASBOX
 
24538
    ( cat <<\_ASBOX
25305
24539
## ------------------------------ ##
25306
24540
## Report this to jan@kneschke.de ##
25307
24541
## ------------------------------ ##
25308
24542
_ASBOX
25309
 
    ) |
25310
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
24543
     ) | sed "s/^/$as_me: WARNING:     /" >&2
25311
24544
    ;;
25312
24545
esac
25313
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
25314
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25315
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
24546
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
24547
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
24548
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25316
24549
  echo $ECHO_N "(cached) $ECHO_C" >&6
25317
24550
else
25318
24551
  eval "$as_ac_Header=\$ac_header_preproc"
25319
24552
fi
25320
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25321
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
24553
ac_res=`eval echo '${'$as_ac_Header'}'`
 
24554
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24555
echo "${ECHO_T}$ac_res" >&6; }
25322
24556
 
25323
24557
fi
25324
24558
if test `eval echo '${'$as_ac_Header'}'` = yes; then
25350
24584
if test -z "$PKG_CONFIG"; then
25351
24585
  # Extract the first word of "pkg-config", so it can be a program name with args.
25352
24586
set dummy pkg-config; ac_word=$2
25353
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
25354
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
24587
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
24588
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25355
24589
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25356
24590
  echo $ECHO_N "(cached) $ECHO_C" >&6
25357
24591
else
25366
24600
  IFS=$as_save_IFS
25367
24601
  test -z "$as_dir" && as_dir=.
25368
24602
  for ac_exec_ext in '' $ac_executable_extensions; do
25369
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
24603
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25370
24604
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25371
24605
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25372
24606
    break 2
25373
24607
  fi
25374
24608
done
25375
24609
done
 
24610
IFS=$as_save_IFS
25376
24611
 
25377
24612
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25378
24613
  ;;
25379
24614
esac
25380
24615
fi
25381
24616
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25382
 
 
25383
24617
if test -n "$PKG_CONFIG"; then
25384
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25385
 
echo "${ECHO_T}$PKG_CONFIG" >&6
 
24618
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
24619
echo "${ECHO_T}$PKG_CONFIG" >&6; }
25386
24620
else
25387
 
  echo "$as_me:$LINENO: result: no" >&5
25388
 
echo "${ECHO_T}no" >&6
25389
 
fi
25390
 
 
25391
 
fi
25392
 
 
25393
 
echo "$as_me:$LINENO: checking for FAM" >&5
25394
 
echo $ECHO_N "checking for FAM... $ECHO_C" >&6
25395
 
 
25396
 
# Check whether --with-fam or --without-fam was given.
 
24621
  { echo "$as_me:$LINENO: result: no" >&5
 
24622
echo "${ECHO_T}no" >&6; }
 
24623
fi
 
24624
 
 
24625
 
 
24626
fi
 
24627
 
 
24628
{ echo "$as_me:$LINENO: checking for FAM" >&5
 
24629
echo $ECHO_N "checking for FAM... $ECHO_C" >&6; }
 
24630
 
 
24631
# Check whether --with-fam was given.
25397
24632
if test "${with_fam+set}" = set; then
25398
 
  withval="$with_fam"
25399
 
  WITH_FAM=$withval
 
24633
  withval=$with_fam; WITH_FAM=$withval
25400
24634
else
25401
24635
  WITH_FAM=no
25402
 
fi;
25403
 
echo "$as_me:$LINENO: result: $WITH_FAM" >&5
25404
 
echo "${ECHO_T}$WITH_FAM" >&6
 
24636
fi
 
24637
 
 
24638
{ echo "$as_me:$LINENO: result: $WITH_FAM" >&5
 
24639
echo "${ECHO_T}$WITH_FAM" >&6; }
25405
24640
 
25406
24641
if test "$WITH_FAM" != "no"; then
25407
 
  echo "$as_me:$LINENO: checking for FAMOpen2 in -lfam" >&5
25408
 
echo $ECHO_N "checking for FAMOpen2 in -lfam... $ECHO_C" >&6
 
24642
  { echo "$as_me:$LINENO: checking for FAMOpen2 in -lfam" >&5
 
24643
echo $ECHO_N "checking for FAMOpen2 in -lfam... $ECHO_C" >&6; }
25409
24644
if test "${ac_cv_lib_fam_FAMOpen2+set}" = set; then
25410
24645
  echo $ECHO_N "(cached) $ECHO_C" >&6
25411
24646
else
25418
24653
cat >>conftest.$ac_ext <<_ACEOF
25419
24654
/* end confdefs.h.  */
25420
24655
 
25421
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
24656
/* Override any GCC internal prototype to avoid an error.
 
24657
   Use char because int might match the return type of a GCC
 
24658
   builtin and then its argument prototype would still apply.  */
25422
24659
#ifdef __cplusplus
25423
24660
extern "C"
25424
24661
#endif
25425
 
/* We use char because int might match the return type of a gcc2
25426
 
   builtin and then its argument prototype would still apply.  */
25427
24662
char FAMOpen2 ();
25428
24663
int
25429
24664
main ()
25430
24665
{
25431
 
FAMOpen2 ();
 
24666
return FAMOpen2 ();
25432
24667
  ;
25433
24668
  return 0;
25434
24669
}
25435
24670
_ACEOF
25436
24671
rm -f conftest.$ac_objext conftest$ac_exeext
25437
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25438
 
  (eval $ac_link) 2>conftest.er1
 
24672
if { (ac_try="$ac_link"
 
24673
case "(($ac_try" in
 
24674
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24675
  *) ac_try_echo=$ac_try;;
 
24676
esac
 
24677
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24678
  (eval "$ac_link") 2>conftest.er1
25439
24679
  ac_status=$?
25440
24680
  grep -v '^ *+' conftest.er1 >conftest.err
25441
24681
  rm -f conftest.er1
25442
24682
  cat conftest.err >&5
25443
24683
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25444
 
  (exit $ac_status); } &&
25445
 
         { ac_try='test -z "$ac_c_werror_flag"
25446
 
                         || test ! -s conftest.err'
25447
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25448
 
  (eval $ac_try) 2>&5
25449
 
  ac_status=$?
25450
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25451
 
  (exit $ac_status); }; } &&
25452
 
         { ac_try='test -s conftest$ac_exeext'
25453
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25454
 
  (eval $ac_try) 2>&5
25455
 
  ac_status=$?
25456
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25457
 
  (exit $ac_status); }; }; then
 
24684
  (exit $ac_status); } && {
 
24685
         test -z "$ac_c_werror_flag" ||
 
24686
         test ! -s conftest.err
 
24687
       } && test -s conftest$ac_exeext &&
 
24688
       $as_test_x conftest$ac_exeext; then
25458
24689
  ac_cv_lib_fam_FAMOpen2=yes
25459
24690
else
25460
24691
  echo "$as_me: failed program was:" >&5
25461
24692
sed 's/^/| /' conftest.$ac_ext >&5
25462
24693
 
25463
 
ac_cv_lib_fam_FAMOpen2=no
 
24694
        ac_cv_lib_fam_FAMOpen2=no
25464
24695
fi
25465
 
rm -f conftest.err conftest.$ac_objext \
 
24696
 
 
24697
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25466
24698
      conftest$ac_exeext conftest.$ac_ext
25467
24699
LIBS=$ac_check_lib_save_LIBS
25468
24700
fi
25469
 
echo "$as_me:$LINENO: result: $ac_cv_lib_fam_FAMOpen2" >&5
25470
 
echo "${ECHO_T}$ac_cv_lib_fam_FAMOpen2" >&6
 
24701
{ echo "$as_me:$LINENO: result: $ac_cv_lib_fam_FAMOpen2" >&5
 
24702
echo "${ECHO_T}$ac_cv_lib_fam_FAMOpen2" >&6; }
25471
24703
if test $ac_cv_lib_fam_FAMOpen2 = yes; then
25472
24704
 
25473
24705
 
25474
24706
for ac_header in fam.h
25475
24707
do
25476
24708
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25477
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
25478
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
25479
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25480
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
24709
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
24710
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
24711
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
24712
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25481
24713
  echo $ECHO_N "(cached) $ECHO_C" >&6
25482
24714
fi
25483
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25484
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
24715
ac_res=`eval echo '${'$as_ac_Header'}'`
 
24716
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24717
echo "${ECHO_T}$ac_res" >&6; }
25485
24718
else
25486
24719
  # Is the header compilable?
25487
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
25488
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
24720
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
24721
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
25489
24722
cat >conftest.$ac_ext <<_ACEOF
25490
24723
/* confdefs.h.  */
25491
24724
_ACEOF
25496
24729
#include <$ac_header>
25497
24730
_ACEOF
25498
24731
rm -f conftest.$ac_objext
25499
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25500
 
  (eval $ac_compile) 2>conftest.er1
 
24732
if { (ac_try="$ac_compile"
 
24733
case "(($ac_try" in
 
24734
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24735
  *) ac_try_echo=$ac_try;;
 
24736
esac
 
24737
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24738
  (eval "$ac_compile") 2>conftest.er1
25501
24739
  ac_status=$?
25502
24740
  grep -v '^ *+' conftest.er1 >conftest.err
25503
24741
  rm -f conftest.er1
25504
24742
  cat conftest.err >&5
25505
24743
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25506
 
  (exit $ac_status); } &&
25507
 
         { ac_try='test -z "$ac_c_werror_flag"
25508
 
                         || test ! -s conftest.err'
25509
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25510
 
  (eval $ac_try) 2>&5
25511
 
  ac_status=$?
25512
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25513
 
  (exit $ac_status); }; } &&
25514
 
         { ac_try='test -s conftest.$ac_objext'
25515
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25516
 
  (eval $ac_try) 2>&5
25517
 
  ac_status=$?
25518
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25519
 
  (exit $ac_status); }; }; then
 
24744
  (exit $ac_status); } && {
 
24745
         test -z "$ac_c_werror_flag" ||
 
24746
         test ! -s conftest.err
 
24747
       } && test -s conftest.$ac_objext; then
25520
24748
  ac_header_compiler=yes
25521
24749
else
25522
24750
  echo "$as_me: failed program was:" >&5
25523
24751
sed 's/^/| /' conftest.$ac_ext >&5
25524
24752
 
25525
 
ac_header_compiler=no
 
24753
        ac_header_compiler=no
25526
24754
fi
25527
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25528
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25529
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
24755
 
 
24756
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24757
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
24758
echo "${ECHO_T}$ac_header_compiler" >&6; }
25530
24759
 
25531
24760
# Is the header present?
25532
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
25533
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
24761
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
24762
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
25534
24763
cat >conftest.$ac_ext <<_ACEOF
25535
24764
/* confdefs.h.  */
25536
24765
_ACEOF
25539
24768
/* end confdefs.h.  */
25540
24769
#include <$ac_header>
25541
24770
_ACEOF
25542
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25543
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
24771
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
24772
case "(($ac_try" in
 
24773
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24774
  *) ac_try_echo=$ac_try;;
 
24775
esac
 
24776
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24777
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25544
24778
  ac_status=$?
25545
24779
  grep -v '^ *+' conftest.er1 >conftest.err
25546
24780
  rm -f conftest.er1
25547
24781
  cat conftest.err >&5
25548
24782
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25549
 
  (exit $ac_status); } >/dev/null; then
25550
 
  if test -s conftest.err; then
25551
 
    ac_cpp_err=$ac_c_preproc_warn_flag
25552
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25553
 
  else
25554
 
    ac_cpp_err=
25555
 
  fi
25556
 
else
25557
 
  ac_cpp_err=yes
25558
 
fi
25559
 
if test -z "$ac_cpp_err"; then
 
24783
  (exit $ac_status); } >/dev/null && {
 
24784
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
24785
         test ! -s conftest.err
 
24786
       }; then
25560
24787
  ac_header_preproc=yes
25561
24788
else
25562
24789
  echo "$as_me: failed program was:" >&5
25564
24791
 
25565
24792
  ac_header_preproc=no
25566
24793
fi
 
24794
 
25567
24795
rm -f conftest.err conftest.$ac_ext
25568
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25569
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
24796
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
24797
echo "${ECHO_T}$ac_header_preproc" >&6; }
25570
24798
 
25571
24799
# So?  What about this header?
25572
24800
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25590
24818
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25591
24819
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25592
24820
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25593
 
    (
25594
 
      cat <<\_ASBOX
 
24821
    ( cat <<\_ASBOX
25595
24822
## ------------------------------ ##
25596
24823
## Report this to jan@kneschke.de ##
25597
24824
## ------------------------------ ##
25598
24825
_ASBOX
25599
 
    ) |
25600
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
24826
     ) | sed "s/^/$as_me: WARNING:     /" >&2
25601
24827
    ;;
25602
24828
esac
25603
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
25604
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25605
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
24829
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
24830
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
24831
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25606
24832
  echo $ECHO_N "(cached) $ECHO_C" >&6
25607
24833
else
25608
24834
  eval "$as_ac_Header=\$ac_header_preproc"
25609
24835
fi
25610
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25611
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
24836
ac_res=`eval echo '${'$as_ac_Header'}'`
 
24837
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24838
echo "${ECHO_T}$ac_res" >&6; }
25612
24839
 
25613
24840
fi
25614
24841
if test `eval echo '${'$as_ac_Header'}'` = yes; then
25642
24869
        if test -n "$ac_tool_prefix"; then
25643
24870
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25644
24871
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25645
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
25646
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
24872
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
24873
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25647
24874
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25648
24875
  echo $ECHO_N "(cached) $ECHO_C" >&6
25649
24876
else
25658
24885
  IFS=$as_save_IFS
25659
24886
  test -z "$as_dir" && as_dir=.
25660
24887
  for ac_exec_ext in '' $ac_executable_extensions; do
25661
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
24888
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25662
24889
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25663
24890
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25664
24891
    break 2
25665
24892
  fi
25666
24893
done
25667
24894
done
 
24895
IFS=$as_save_IFS
25668
24896
 
25669
24897
  ;;
25670
24898
esac
25671
24899
fi
25672
24900
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25673
 
 
25674
24901
if test -n "$PKG_CONFIG"; then
25675
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25676
 
echo "${ECHO_T}$PKG_CONFIG" >&6
 
24902
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
24903
echo "${ECHO_T}$PKG_CONFIG" >&6; }
25677
24904
else
25678
 
  echo "$as_me:$LINENO: result: no" >&5
25679
 
echo "${ECHO_T}no" >&6
 
24905
  { echo "$as_me:$LINENO: result: no" >&5
 
24906
echo "${ECHO_T}no" >&6; }
25680
24907
fi
 
24908
 
25681
24909
 
25682
24910
fi
25683
24911
if test -z "$ac_cv_path_PKG_CONFIG"; then
25684
24912
  ac_pt_PKG_CONFIG=$PKG_CONFIG
25685
24913
  # Extract the first word of "pkg-config", so it can be a program name with args.
25686
24914
set dummy pkg-config; ac_word=$2
25687
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
25688
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
24915
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
24916
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25689
24917
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
25690
24918
  echo $ECHO_N "(cached) $ECHO_C" >&6
25691
24919
else
25700
24928
  IFS=$as_save_IFS
25701
24929
  test -z "$as_dir" && as_dir=.
25702
24930
  for ac_exec_ext in '' $ac_executable_extensions; do
25703
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
24931
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25704
24932
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25705
24933
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25706
24934
    break 2
25707
24935
  fi
25708
24936
done
25709
24937
done
 
24938
IFS=$as_save_IFS
25710
24939
 
25711
24940
  ;;
25712
24941
esac
25713
24942
fi
25714
24943
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
25715
 
 
25716
24944
if test -n "$ac_pt_PKG_CONFIG"; then
25717
 
  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
25718
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
 
24945
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
24946
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
25719
24947
else
25720
 
  echo "$as_me:$LINENO: result: no" >&5
25721
 
echo "${ECHO_T}no" >&6
 
24948
  { echo "$as_me:$LINENO: result: no" >&5
 
24949
echo "${ECHO_T}no" >&6; }
25722
24950
fi
25723
24951
 
25724
 
  PKG_CONFIG=$ac_pt_PKG_CONFIG
 
24952
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
24953
    PKG_CONFIG=""
 
24954
  else
 
24955
    case $cross_compiling:$ac_tool_warned in
 
24956
yes:)
 
24957
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
24958
whose name does not start with the host triplet.  If you think this
 
24959
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
24960
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
24961
whose name does not start with the host triplet.  If you think this
 
24962
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
24963
ac_tool_warned=yes ;;
 
24964
esac
 
24965
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
24966
  fi
25725
24967
else
25726
24968
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
25727
24969
fi
25729
24971
fi
25730
24972
if test -n "$PKG_CONFIG"; then
25731
24973
        _pkg_min_version=0.9.0
25732
 
        echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
25733
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
 
24974
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
24975
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
25734
24976
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25735
 
                echo "$as_me:$LINENO: result: yes" >&5
25736
 
echo "${ECHO_T}yes" >&6
 
24977
                { echo "$as_me:$LINENO: result: yes" >&5
 
24978
echo "${ECHO_T}yes" >&6; }
25737
24979
        else
25738
 
                echo "$as_me:$LINENO: result: no" >&5
25739
 
echo "${ECHO_T}no" >&6
 
24980
                { echo "$as_me:$LINENO: result: no" >&5
 
24981
echo "${ECHO_T}no" >&6; }
25740
24982
                PKG_CONFIG=""
25741
24983
        fi
25742
24984
 
25743
24985
fi
25744
24986
 
25745
24987
pkg_failed=no
25746
 
echo "$as_me:$LINENO: checking for FAM" >&5
25747
 
echo $ECHO_N "checking for FAM... $ECHO_C" >&6
 
24988
{ echo "$as_me:$LINENO: checking for FAM" >&5
 
24989
echo $ECHO_N "checking for FAM... $ECHO_C" >&6; }
25748
24990
 
25749
24991
if test -n "$PKG_CONFIG"; then
25750
24992
    if test -n "$FAM_CFLAGS"; then
25848
25090
else
25849
25091
        FAM_CFLAGS=$pkg_cv_FAM_CFLAGS
25850
25092
        FAM_LIBS=$pkg_cv_FAM_LIBS
25851
 
        echo "$as_me:$LINENO: result: yes" >&5
25852
 
echo "${ECHO_T}yes" >&6
 
25093
        { echo "$as_me:$LINENO: result: yes" >&5
 
25094
echo "${ECHO_T}yes" >&6; }
25853
25095
 
25854
25096
 
25855
25097
cat >>confdefs.h <<\_ACEOF
25870
25112
for ac_func in FAMNoExists
25871
25113
do
25872
25114
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25873
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
25874
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25875
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
25115
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
25116
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
25117
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25876
25118
  echo $ECHO_N "(cached) $ECHO_C" >&6
25877
25119
else
25878
25120
  cat >conftest.$ac_ext <<_ACEOF
25898
25140
 
25899
25141
#undef $ac_func
25900
25142
 
25901
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25143
/* Override any GCC internal prototype to avoid an error.
 
25144
   Use char because int might match the return type of a GCC
 
25145
   builtin and then its argument prototype would still apply.  */
25902
25146
#ifdef __cplusplus
25903
25147
extern "C"
25904
 
{
25905
25148
#endif
25906
 
/* We use char because int might match the return type of a gcc2
25907
 
   builtin and then its argument prototype would still apply.  */
25908
25149
char $ac_func ();
25909
25150
/* The GNU C library defines this for functions which it implements
25910
25151
    to always fail with ENOSYS.  Some functions are actually named
25911
25152
    something starting with __ and the normal name is an alias.  */
25912
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
25153
#if defined __stub_$ac_func || defined __stub___$ac_func
25913
25154
choke me
25914
 
#else
25915
 
char (*f) () = $ac_func;
25916
 
#endif
25917
 
#ifdef __cplusplus
25918
 
}
25919
25155
#endif
25920
25156
 
25921
25157
int
25922
25158
main ()
25923
25159
{
25924
 
return f != $ac_func;
 
25160
return $ac_func ();
25925
25161
  ;
25926
25162
  return 0;
25927
25163
}
25928
25164
_ACEOF
25929
25165
rm -f conftest.$ac_objext conftest$ac_exeext
25930
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25931
 
  (eval $ac_link) 2>conftest.er1
 
25166
if { (ac_try="$ac_link"
 
25167
case "(($ac_try" in
 
25168
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25169
  *) ac_try_echo=$ac_try;;
 
25170
esac
 
25171
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25172
  (eval "$ac_link") 2>conftest.er1
25932
25173
  ac_status=$?
25933
25174
  grep -v '^ *+' conftest.er1 >conftest.err
25934
25175
  rm -f conftest.er1
25935
25176
  cat conftest.err >&5
25936
25177
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25937
 
  (exit $ac_status); } &&
25938
 
         { ac_try='test -z "$ac_c_werror_flag"
25939
 
                         || test ! -s conftest.err'
25940
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25941
 
  (eval $ac_try) 2>&5
25942
 
  ac_status=$?
25943
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25944
 
  (exit $ac_status); }; } &&
25945
 
         { ac_try='test -s conftest$ac_exeext'
25946
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25947
 
  (eval $ac_try) 2>&5
25948
 
  ac_status=$?
25949
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25950
 
  (exit $ac_status); }; }; then
 
25178
  (exit $ac_status); } && {
 
25179
         test -z "$ac_c_werror_flag" ||
 
25180
         test ! -s conftest.err
 
25181
       } && test -s conftest$ac_exeext &&
 
25182
       $as_test_x conftest$ac_exeext; then
25951
25183
  eval "$as_ac_var=yes"
25952
25184
else
25953
25185
  echo "$as_me: failed program was:" >&5
25954
25186
sed 's/^/| /' conftest.$ac_ext >&5
25955
25187
 
25956
 
eval "$as_ac_var=no"
 
25188
        eval "$as_ac_var=no"
25957
25189
fi
25958
 
rm -f conftest.err conftest.$ac_objext \
 
25190
 
 
25191
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25959
25192
      conftest$ac_exeext conftest.$ac_ext
25960
25193
fi
25961
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25962
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
25194
ac_res=`eval echo '${'$as_ac_var'}'`
 
25195
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
25196
echo "${ECHO_T}$ac_res" >&6; }
25963
25197
if test `eval echo '${'$as_ac_var'}'` = yes; then
25964
25198
  cat >>confdefs.h <<_ACEOF
25965
25199
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25971
25205
  LIBS=$OLD_LIBS
25972
25206
fi
25973
25207
 
25974
 
echo "$as_me:$LINENO: checking for properties in mod_webdav" >&5
25975
 
echo $ECHO_N "checking for properties in mod_webdav... $ECHO_C" >&6
 
25208
{ echo "$as_me:$LINENO: checking for properties in mod_webdav" >&5
 
25209
echo $ECHO_N "checking for properties in mod_webdav... $ECHO_C" >&6; }
25976
25210
 
25977
 
# Check whether --with-webdav-props or --without-webdav-props was given.
 
25211
# Check whether --with-webdav-props was given.
25978
25212
if test "${with_webdav_props+set}" = set; then
25979
 
  withval="$with_webdav_props"
25980
 
  WITH_WEBDAV_PROPS=$withval
 
25213
  withval=$with_webdav_props; WITH_WEBDAV_PROPS=$withval
25981
25214
else
25982
25215
  WITH_WEBDAV_PROPS=no
25983
 
fi;
25984
 
echo "$as_me:$LINENO: result: $WITH_WEBDAV_PROPS" >&5
25985
 
echo "${ECHO_T}$WITH_WEBDAV_PROPS" >&6
 
25216
fi
 
25217
 
 
25218
{ echo "$as_me:$LINENO: result: $WITH_WEBDAV_PROPS" >&5
 
25219
echo "${ECHO_T}$WITH_WEBDAV_PROPS" >&6; }
25986
25220
 
25987
25221
if test "$WITH_WEBDAV_PROPS" != "no"; then
25988
25222
 
25989
25223
pkg_failed=no
25990
 
echo "$as_me:$LINENO: checking for XML" >&5
25991
 
echo $ECHO_N "checking for XML... $ECHO_C" >&6
 
25224
{ echo "$as_me:$LINENO: checking for XML" >&5
 
25225
echo $ECHO_N "checking for XML... $ECHO_C" >&6; }
25992
25226
 
25993
25227
if test -n "$PKG_CONFIG"; then
25994
25228
    if test -n "$XML_CFLAGS"; then
26092
25326
else
26093
25327
        XML_CFLAGS=$pkg_cv_XML_CFLAGS
26094
25328
        XML_LIBS=$pkg_cv_XML_LIBS
26095
 
        echo "$as_me:$LINENO: result: yes" >&5
26096
 
echo "${ECHO_T}yes" >&6
 
25329
        { echo "$as_me:$LINENO: result: yes" >&5
 
25330
echo "${ECHO_T}yes" >&6; }
26097
25331
 
26098
25332
 
26099
25333
cat >>confdefs.h <<\_ACEOF
26109
25343
fi
26110
25344
 
26111
25345
pkg_failed=no
26112
 
echo "$as_me:$LINENO: checking for SQLITE" >&5
26113
 
echo $ECHO_N "checking for SQLITE... $ECHO_C" >&6
 
25346
{ echo "$as_me:$LINENO: checking for SQLITE" >&5
 
25347
echo $ECHO_N "checking for SQLITE... $ECHO_C" >&6; }
26114
25348
 
26115
25349
if test -n "$PKG_CONFIG"; then
26116
25350
    if test -n "$SQLITE_CFLAGS"; then
26214
25448
else
26215
25449
        SQLITE_CFLAGS=$pkg_cv_SQLITE_CFLAGS
26216
25450
        SQLITE_LIBS=$pkg_cv_SQLITE_LIBS
26217
 
        echo "$as_me:$LINENO: result: yes" >&5
26218
 
echo "${ECHO_T}yes" >&6
 
25451
        { echo "$as_me:$LINENO: result: yes" >&5
 
25452
echo "${ECHO_T}yes" >&6; }
26219
25453
 
26220
25454
 
26221
25455
cat >>confdefs.h <<\_ACEOF
26230
25464
 
26231
25465
fi
26232
25466
 
26233
 
 echo "$as_me:$LINENO: checking for locks in mod_webdav" >&5
26234
 
echo $ECHO_N "checking for locks in mod_webdav... $ECHO_C" >&6
 
25467
 { echo "$as_me:$LINENO: checking for locks in mod_webdav" >&5
 
25468
echo $ECHO_N "checking for locks in mod_webdav... $ECHO_C" >&6; }
26235
25469
 
26236
 
# Check whether --with-webdav-locks or --without-webdav-locks was given.
 
25470
# Check whether --with-webdav-locks was given.
26237
25471
if test "${with_webdav_locks+set}" = set; then
26238
 
  withval="$with_webdav_locks"
26239
 
  WITH_WEBDAV_LOCKS=$withval
 
25472
  withval=$with_webdav_locks; WITH_WEBDAV_LOCKS=$withval
26240
25473
else
26241
25474
  WITH_WEBDAV_LOCKS=no
26242
 
fi;
26243
 
 echo "$as_me:$LINENO: result: $WITH_WEBDAV_LOCKS" >&5
26244
 
echo "${ECHO_T}$WITH_WEBDAV_LOCKS" >&6
 
25475
fi
 
25476
 
 
25477
 { echo "$as_me:$LINENO: result: $WITH_WEBDAV_LOCKS" >&5
 
25478
echo "${ECHO_T}$WITH_WEBDAV_LOCKS" >&6; }
26245
25479
 
26246
25480
 if test "$WITH_WEBDAV_LOCKS" != "no"; then
26247
 
   echo "$as_me:$LINENO: checking for uuid_unparse in -luuid" >&5
26248
 
echo $ECHO_N "checking for uuid_unparse in -luuid... $ECHO_C" >&6
 
25481
   { echo "$as_me:$LINENO: checking for uuid_unparse in -luuid" >&5
 
25482
echo $ECHO_N "checking for uuid_unparse in -luuid... $ECHO_C" >&6; }
26249
25483
if test "${ac_cv_lib_uuid_uuid_unparse+set}" = set; then
26250
25484
  echo $ECHO_N "(cached) $ECHO_C" >&6
26251
25485
else
26258
25492
cat >>conftest.$ac_ext <<_ACEOF
26259
25493
/* end confdefs.h.  */
26260
25494
 
26261
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25495
/* Override any GCC internal prototype to avoid an error.
 
25496
   Use char because int might match the return type of a GCC
 
25497
   builtin and then its argument prototype would still apply.  */
26262
25498
#ifdef __cplusplus
26263
25499
extern "C"
26264
25500
#endif
26265
 
/* We use char because int might match the return type of a gcc2
26266
 
   builtin and then its argument prototype would still apply.  */
26267
25501
char uuid_unparse ();
26268
25502
int
26269
25503
main ()
26270
25504
{
26271
 
uuid_unparse ();
 
25505
return uuid_unparse ();
26272
25506
  ;
26273
25507
  return 0;
26274
25508
}
26275
25509
_ACEOF
26276
25510
rm -f conftest.$ac_objext conftest$ac_exeext
26277
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26278
 
  (eval $ac_link) 2>conftest.er1
 
25511
if { (ac_try="$ac_link"
 
25512
case "(($ac_try" in
 
25513
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25514
  *) ac_try_echo=$ac_try;;
 
25515
esac
 
25516
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25517
  (eval "$ac_link") 2>conftest.er1
26279
25518
  ac_status=$?
26280
25519
  grep -v '^ *+' conftest.er1 >conftest.err
26281
25520
  rm -f conftest.er1
26282
25521
  cat conftest.err >&5
26283
25522
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26284
 
  (exit $ac_status); } &&
26285
 
         { ac_try='test -z "$ac_c_werror_flag"
26286
 
                         || test ! -s conftest.err'
26287
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26288
 
  (eval $ac_try) 2>&5
26289
 
  ac_status=$?
26290
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26291
 
  (exit $ac_status); }; } &&
26292
 
         { ac_try='test -s conftest$ac_exeext'
26293
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26294
 
  (eval $ac_try) 2>&5
26295
 
  ac_status=$?
26296
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26297
 
  (exit $ac_status); }; }; then
 
25523
  (exit $ac_status); } && {
 
25524
         test -z "$ac_c_werror_flag" ||
 
25525
         test ! -s conftest.err
 
25526
       } && test -s conftest$ac_exeext &&
 
25527
       $as_test_x conftest$ac_exeext; then
26298
25528
  ac_cv_lib_uuid_uuid_unparse=yes
26299
25529
else
26300
25530
  echo "$as_me: failed program was:" >&5
26301
25531
sed 's/^/| /' conftest.$ac_ext >&5
26302
25532
 
26303
 
ac_cv_lib_uuid_uuid_unparse=no
 
25533
        ac_cv_lib_uuid_uuid_unparse=no
26304
25534
fi
26305
 
rm -f conftest.err conftest.$ac_objext \
 
25535
 
 
25536
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26306
25537
      conftest$ac_exeext conftest.$ac_ext
26307
25538
LIBS=$ac_check_lib_save_LIBS
26308
25539
fi
26309
 
echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_unparse" >&5
26310
 
echo "${ECHO_T}$ac_cv_lib_uuid_uuid_unparse" >&6
 
25540
{ echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_unparse" >&5
 
25541
echo "${ECHO_T}$ac_cv_lib_uuid_uuid_unparse" >&6; }
26311
25542
if test $ac_cv_lib_uuid_uuid_unparse = yes; then
26312
25543
 
26313
25544
 
26314
25545
for ac_header in uuid/uuid.h
26315
25546
do
26316
25547
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26317
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
26318
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
26319
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26320
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
25548
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
25549
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
25550
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
25551
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26321
25552
  echo $ECHO_N "(cached) $ECHO_C" >&6
26322
25553
fi
26323
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26324
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
25554
ac_res=`eval echo '${'$as_ac_Header'}'`
 
25555
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
25556
echo "${ECHO_T}$ac_res" >&6; }
26325
25557
else
26326
25558
  # Is the header compilable?
26327
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
26328
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
25559
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
25560
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26329
25561
cat >conftest.$ac_ext <<_ACEOF
26330
25562
/* confdefs.h.  */
26331
25563
_ACEOF
26336
25568
#include <$ac_header>
26337
25569
_ACEOF
26338
25570
rm -f conftest.$ac_objext
26339
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26340
 
  (eval $ac_compile) 2>conftest.er1
 
25571
if { (ac_try="$ac_compile"
 
25572
case "(($ac_try" in
 
25573
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25574
  *) ac_try_echo=$ac_try;;
 
25575
esac
 
25576
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25577
  (eval "$ac_compile") 2>conftest.er1
26341
25578
  ac_status=$?
26342
25579
  grep -v '^ *+' conftest.er1 >conftest.err
26343
25580
  rm -f conftest.er1
26344
25581
  cat conftest.err >&5
26345
25582
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26346
 
  (exit $ac_status); } &&
26347
 
         { ac_try='test -z "$ac_c_werror_flag"
26348
 
                         || test ! -s conftest.err'
26349
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26350
 
  (eval $ac_try) 2>&5
26351
 
  ac_status=$?
26352
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26353
 
  (exit $ac_status); }; } &&
26354
 
         { ac_try='test -s conftest.$ac_objext'
26355
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26356
 
  (eval $ac_try) 2>&5
26357
 
  ac_status=$?
26358
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26359
 
  (exit $ac_status); }; }; then
 
25583
  (exit $ac_status); } && {
 
25584
         test -z "$ac_c_werror_flag" ||
 
25585
         test ! -s conftest.err
 
25586
       } && test -s conftest.$ac_objext; then
26360
25587
  ac_header_compiler=yes
26361
25588
else
26362
25589
  echo "$as_me: failed program was:" >&5
26363
25590
sed 's/^/| /' conftest.$ac_ext >&5
26364
25591
 
26365
 
ac_header_compiler=no
 
25592
        ac_header_compiler=no
26366
25593
fi
26367
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26368
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26369
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
25594
 
 
25595
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
25596
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
25597
echo "${ECHO_T}$ac_header_compiler" >&6; }
26370
25598
 
26371
25599
# Is the header present?
26372
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
26373
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
25600
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
25601
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26374
25602
cat >conftest.$ac_ext <<_ACEOF
26375
25603
/* confdefs.h.  */
26376
25604
_ACEOF
26379
25607
/* end confdefs.h.  */
26380
25608
#include <$ac_header>
26381
25609
_ACEOF
26382
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26383
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
25610
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
25611
case "(($ac_try" in
 
25612
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25613
  *) ac_try_echo=$ac_try;;
 
25614
esac
 
25615
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25616
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26384
25617
  ac_status=$?
26385
25618
  grep -v '^ *+' conftest.er1 >conftest.err
26386
25619
  rm -f conftest.er1
26387
25620
  cat conftest.err >&5
26388
25621
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26389
 
  (exit $ac_status); } >/dev/null; then
26390
 
  if test -s conftest.err; then
26391
 
    ac_cpp_err=$ac_c_preproc_warn_flag
26392
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26393
 
  else
26394
 
    ac_cpp_err=
26395
 
  fi
26396
 
else
26397
 
  ac_cpp_err=yes
26398
 
fi
26399
 
if test -z "$ac_cpp_err"; then
 
25622
  (exit $ac_status); } >/dev/null && {
 
25623
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
25624
         test ! -s conftest.err
 
25625
       }; then
26400
25626
  ac_header_preproc=yes
26401
25627
else
26402
25628
  echo "$as_me: failed program was:" >&5
26404
25630
 
26405
25631
  ac_header_preproc=no
26406
25632
fi
 
25633
 
26407
25634
rm -f conftest.err conftest.$ac_ext
26408
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26409
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
25635
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
25636
echo "${ECHO_T}$ac_header_preproc" >&6; }
26410
25637
 
26411
25638
# So?  What about this header?
26412
25639
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26430
25657
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26431
25658
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26432
25659
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26433
 
    (
26434
 
      cat <<\_ASBOX
 
25660
    ( cat <<\_ASBOX
26435
25661
## ------------------------------ ##
26436
25662
## Report this to jan@kneschke.de ##
26437
25663
## ------------------------------ ##
26438
25664
_ASBOX
26439
 
    ) |
26440
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
25665
     ) | sed "s/^/$as_me: WARNING:     /" >&2
26441
25666
    ;;
26442
25667
esac
26443
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
26444
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26445
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
25668
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
25669
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
25670
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26446
25671
  echo $ECHO_N "(cached) $ECHO_C" >&6
26447
25672
else
26448
25673
  eval "$as_ac_Header=\$ac_header_preproc"
26449
25674
fi
26450
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26451
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
25675
ac_res=`eval echo '${'$as_ac_Header'}'`
 
25676
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
25677
echo "${ECHO_T}$ac_res" >&6; }
26452
25678
 
26453
25679
fi
26454
25680
if test `eval echo '${'$as_ac_Header'}'` = yes; then
26480
25706
fi
26481
25707
 
26482
25708
 
26483
 
echo "$as_me:$LINENO: checking for gdbm" >&5
26484
 
echo $ECHO_N "checking for gdbm... $ECHO_C" >&6
 
25709
{ echo "$as_me:$LINENO: checking for gdbm" >&5
 
25710
echo $ECHO_N "checking for gdbm... $ECHO_C" >&6; }
26485
25711
 
26486
 
# Check whether --with-gdbm or --without-gdbm was given.
 
25712
# Check whether --with-gdbm was given.
26487
25713
if test "${with_gdbm+set}" = set; then
26488
 
  withval="$with_gdbm"
26489
 
  WITH_GDBM=$withval
 
25714
  withval=$with_gdbm; WITH_GDBM=$withval
26490
25715
else
26491
25716
  WITH_GDBM=no
26492
 
fi;
26493
 
echo "$as_me:$LINENO: result: $WITH_GDBM" >&5
26494
 
echo "${ECHO_T}$WITH_GDBM" >&6
 
25717
fi
 
25718
 
 
25719
{ echo "$as_me:$LINENO: result: $WITH_GDBM" >&5
 
25720
echo "${ECHO_T}$WITH_GDBM" >&6; }
26495
25721
 
26496
25722
if test "$WITH_GDBM" != "no"; then
26497
 
 echo "$as_me:$LINENO: checking for gdbm_open in -lgdbm" >&5
26498
 
echo $ECHO_N "checking for gdbm_open in -lgdbm... $ECHO_C" >&6
 
25723
 { echo "$as_me:$LINENO: checking for gdbm_open in -lgdbm" >&5
 
25724
echo $ECHO_N "checking for gdbm_open in -lgdbm... $ECHO_C" >&6; }
26499
25725
if test "${ac_cv_lib_gdbm_gdbm_open+set}" = set; then
26500
25726
  echo $ECHO_N "(cached) $ECHO_C" >&6
26501
25727
else
26508
25734
cat >>conftest.$ac_ext <<_ACEOF
26509
25735
/* end confdefs.h.  */
26510
25736
 
26511
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25737
/* Override any GCC internal prototype to avoid an error.
 
25738
   Use char because int might match the return type of a GCC
 
25739
   builtin and then its argument prototype would still apply.  */
26512
25740
#ifdef __cplusplus
26513
25741
extern "C"
26514
25742
#endif
26515
 
/* We use char because int might match the return type of a gcc2
26516
 
   builtin and then its argument prototype would still apply.  */
26517
25743
char gdbm_open ();
26518
25744
int
26519
25745
main ()
26520
25746
{
26521
 
gdbm_open ();
 
25747
return gdbm_open ();
26522
25748
  ;
26523
25749
  return 0;
26524
25750
}
26525
25751
_ACEOF
26526
25752
rm -f conftest.$ac_objext conftest$ac_exeext
26527
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26528
 
  (eval $ac_link) 2>conftest.er1
 
25753
if { (ac_try="$ac_link"
 
25754
case "(($ac_try" in
 
25755
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25756
  *) ac_try_echo=$ac_try;;
 
25757
esac
 
25758
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25759
  (eval "$ac_link") 2>conftest.er1
26529
25760
  ac_status=$?
26530
25761
  grep -v '^ *+' conftest.er1 >conftest.err
26531
25762
  rm -f conftest.er1
26532
25763
  cat conftest.err >&5
26533
25764
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26534
 
  (exit $ac_status); } &&
26535
 
         { ac_try='test -z "$ac_c_werror_flag"
26536
 
                         || test ! -s conftest.err'
26537
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26538
 
  (eval $ac_try) 2>&5
26539
 
  ac_status=$?
26540
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26541
 
  (exit $ac_status); }; } &&
26542
 
         { ac_try='test -s conftest$ac_exeext'
26543
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26544
 
  (eval $ac_try) 2>&5
26545
 
  ac_status=$?
26546
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26547
 
  (exit $ac_status); }; }; then
 
25765
  (exit $ac_status); } && {
 
25766
         test -z "$ac_c_werror_flag" ||
 
25767
         test ! -s conftest.err
 
25768
       } && test -s conftest$ac_exeext &&
 
25769
       $as_test_x conftest$ac_exeext; then
26548
25770
  ac_cv_lib_gdbm_gdbm_open=yes
26549
25771
else
26550
25772
  echo "$as_me: failed program was:" >&5
26551
25773
sed 's/^/| /' conftest.$ac_ext >&5
26552
25774
 
26553
 
ac_cv_lib_gdbm_gdbm_open=no
 
25775
        ac_cv_lib_gdbm_gdbm_open=no
26554
25776
fi
26555
 
rm -f conftest.err conftest.$ac_objext \
 
25777
 
 
25778
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26556
25779
      conftest$ac_exeext conftest.$ac_ext
26557
25780
LIBS=$ac_check_lib_save_LIBS
26558
25781
fi
26559
 
echo "$as_me:$LINENO: result: $ac_cv_lib_gdbm_gdbm_open" >&5
26560
 
echo "${ECHO_T}$ac_cv_lib_gdbm_gdbm_open" >&6
 
25782
{ echo "$as_me:$LINENO: result: $ac_cv_lib_gdbm_gdbm_open" >&5
 
25783
echo "${ECHO_T}$ac_cv_lib_gdbm_gdbm_open" >&6; }
26561
25784
if test $ac_cv_lib_gdbm_gdbm_open = yes; then
26562
25785
 
26563
25786
 
26564
25787
for ac_header in gdbm.h
26565
25788
do
26566
25789
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26567
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
26568
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
26569
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26570
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
25790
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
25791
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
25792
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
25793
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26571
25794
  echo $ECHO_N "(cached) $ECHO_C" >&6
26572
25795
fi
26573
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26574
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
25796
ac_res=`eval echo '${'$as_ac_Header'}'`
 
25797
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
25798
echo "${ECHO_T}$ac_res" >&6; }
26575
25799
else
26576
25800
  # Is the header compilable?
26577
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
26578
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
25801
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
25802
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26579
25803
cat >conftest.$ac_ext <<_ACEOF
26580
25804
/* confdefs.h.  */
26581
25805
_ACEOF
26586
25810
#include <$ac_header>
26587
25811
_ACEOF
26588
25812
rm -f conftest.$ac_objext
26589
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26590
 
  (eval $ac_compile) 2>conftest.er1
 
25813
if { (ac_try="$ac_compile"
 
25814
case "(($ac_try" in
 
25815
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25816
  *) ac_try_echo=$ac_try;;
 
25817
esac
 
25818
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25819
  (eval "$ac_compile") 2>conftest.er1
26591
25820
  ac_status=$?
26592
25821
  grep -v '^ *+' conftest.er1 >conftest.err
26593
25822
  rm -f conftest.er1
26594
25823
  cat conftest.err >&5
26595
25824
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26596
 
  (exit $ac_status); } &&
26597
 
         { ac_try='test -z "$ac_c_werror_flag"
26598
 
                         || test ! -s conftest.err'
26599
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26600
 
  (eval $ac_try) 2>&5
26601
 
  ac_status=$?
26602
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26603
 
  (exit $ac_status); }; } &&
26604
 
         { ac_try='test -s conftest.$ac_objext'
26605
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26606
 
  (eval $ac_try) 2>&5
26607
 
  ac_status=$?
26608
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26609
 
  (exit $ac_status); }; }; then
 
25825
  (exit $ac_status); } && {
 
25826
         test -z "$ac_c_werror_flag" ||
 
25827
         test ! -s conftest.err
 
25828
       } && test -s conftest.$ac_objext; then
26610
25829
  ac_header_compiler=yes
26611
25830
else
26612
25831
  echo "$as_me: failed program was:" >&5
26613
25832
sed 's/^/| /' conftest.$ac_ext >&5
26614
25833
 
26615
 
ac_header_compiler=no
 
25834
        ac_header_compiler=no
26616
25835
fi
26617
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26618
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26619
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
25836
 
 
25837
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
25838
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
25839
echo "${ECHO_T}$ac_header_compiler" >&6; }
26620
25840
 
26621
25841
# Is the header present?
26622
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
26623
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
25842
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
25843
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26624
25844
cat >conftest.$ac_ext <<_ACEOF
26625
25845
/* confdefs.h.  */
26626
25846
_ACEOF
26629
25849
/* end confdefs.h.  */
26630
25850
#include <$ac_header>
26631
25851
_ACEOF
26632
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26633
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
25852
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
25853
case "(($ac_try" in
 
25854
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25855
  *) ac_try_echo=$ac_try;;
 
25856
esac
 
25857
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25858
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26634
25859
  ac_status=$?
26635
25860
  grep -v '^ *+' conftest.er1 >conftest.err
26636
25861
  rm -f conftest.er1
26637
25862
  cat conftest.err >&5
26638
25863
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26639
 
  (exit $ac_status); } >/dev/null; then
26640
 
  if test -s conftest.err; then
26641
 
    ac_cpp_err=$ac_c_preproc_warn_flag
26642
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26643
 
  else
26644
 
    ac_cpp_err=
26645
 
  fi
26646
 
else
26647
 
  ac_cpp_err=yes
26648
 
fi
26649
 
if test -z "$ac_cpp_err"; then
 
25864
  (exit $ac_status); } >/dev/null && {
 
25865
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
25866
         test ! -s conftest.err
 
25867
       }; then
26650
25868
  ac_header_preproc=yes
26651
25869
else
26652
25870
  echo "$as_me: failed program was:" >&5
26654
25872
 
26655
25873
  ac_header_preproc=no
26656
25874
fi
 
25875
 
26657
25876
rm -f conftest.err conftest.$ac_ext
26658
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26659
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
25877
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
25878
echo "${ECHO_T}$ac_header_preproc" >&6; }
26660
25879
 
26661
25880
# So?  What about this header?
26662
25881
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26680
25899
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26681
25900
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26682
25901
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26683
 
    (
26684
 
      cat <<\_ASBOX
 
25902
    ( cat <<\_ASBOX
26685
25903
## ------------------------------ ##
26686
25904
## Report this to jan@kneschke.de ##
26687
25905
## ------------------------------ ##
26688
25906
_ASBOX
26689
 
    ) |
26690
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
25907
     ) | sed "s/^/$as_me: WARNING:     /" >&2
26691
25908
    ;;
26692
25909
esac
26693
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
26694
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26695
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
25910
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
25911
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
25912
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26696
25913
  echo $ECHO_N "(cached) $ECHO_C" >&6
26697
25914
else
26698
25915
  eval "$as_ac_Header=\$ac_header_preproc"
26699
25916
fi
26700
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26701
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
25917
ac_res=`eval echo '${'$as_ac_Header'}'`
 
25918
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
25919
echo "${ECHO_T}$ac_res" >&6; }
26702
25920
 
26703
25921
fi
26704
25922
if test `eval echo '${'$as_ac_Header'}'` = yes; then
26727
25945
 
26728
25946
fi
26729
25947
 
26730
 
echo "$as_me:$LINENO: checking for memcache" >&5
26731
 
echo $ECHO_N "checking for memcache... $ECHO_C" >&6
 
25948
{ echo "$as_me:$LINENO: checking for memcache" >&5
 
25949
echo $ECHO_N "checking for memcache... $ECHO_C" >&6; }
26732
25950
 
26733
 
# Check whether --with-memcache or --without-memcache was given.
 
25951
# Check whether --with-memcache was given.
26734
25952
if test "${with_memcache+set}" = set; then
26735
 
  withval="$with_memcache"
26736
 
  WITH_MEMCACHE=$withval
 
25953
  withval=$with_memcache; WITH_MEMCACHE=$withval
26737
25954
else
26738
25955
  WITH_MEMCACHE=no
26739
 
fi;
26740
 
echo "$as_me:$LINENO: result: $WITH_MEMCACHE" >&5
26741
 
echo "${ECHO_T}$WITH_MEMCACHE" >&6
 
25956
fi
 
25957
 
 
25958
{ echo "$as_me:$LINENO: result: $WITH_MEMCACHE" >&5
 
25959
echo "${ECHO_T}$WITH_MEMCACHE" >&6; }
26742
25960
if test "$WITH_MEMCACHE" != "no"; then
26743
 
 echo "$as_me:$LINENO: checking for mc_new in -lmemcache" >&5
26744
 
echo $ECHO_N "checking for mc_new in -lmemcache... $ECHO_C" >&6
 
25961
 { echo "$as_me:$LINENO: checking for mc_new in -lmemcache" >&5
 
25962
echo $ECHO_N "checking for mc_new in -lmemcache... $ECHO_C" >&6; }
26745
25963
if test "${ac_cv_lib_memcache_mc_new+set}" = set; then
26746
25964
  echo $ECHO_N "(cached) $ECHO_C" >&6
26747
25965
else
26754
25972
cat >>conftest.$ac_ext <<_ACEOF
26755
25973
/* end confdefs.h.  */
26756
25974
 
26757
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25975
/* Override any GCC internal prototype to avoid an error.
 
25976
   Use char because int might match the return type of a GCC
 
25977
   builtin and then its argument prototype would still apply.  */
26758
25978
#ifdef __cplusplus
26759
25979
extern "C"
26760
25980
#endif
26761
 
/* We use char because int might match the return type of a gcc2
26762
 
   builtin and then its argument prototype would still apply.  */
26763
25981
char mc_new ();
26764
25982
int
26765
25983
main ()
26766
25984
{
26767
 
mc_new ();
 
25985
return mc_new ();
26768
25986
  ;
26769
25987
  return 0;
26770
25988
}
26771
25989
_ACEOF
26772
25990
rm -f conftest.$ac_objext conftest$ac_exeext
26773
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26774
 
  (eval $ac_link) 2>conftest.er1
 
25991
if { (ac_try="$ac_link"
 
25992
case "(($ac_try" in
 
25993
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25994
  *) ac_try_echo=$ac_try;;
 
25995
esac
 
25996
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25997
  (eval "$ac_link") 2>conftest.er1
26775
25998
  ac_status=$?
26776
25999
  grep -v '^ *+' conftest.er1 >conftest.err
26777
26000
  rm -f conftest.er1
26778
26001
  cat conftest.err >&5
26779
26002
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26780
 
  (exit $ac_status); } &&
26781
 
         { ac_try='test -z "$ac_c_werror_flag"
26782
 
                         || test ! -s conftest.err'
26783
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26784
 
  (eval $ac_try) 2>&5
26785
 
  ac_status=$?
26786
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26787
 
  (exit $ac_status); }; } &&
26788
 
         { ac_try='test -s conftest$ac_exeext'
26789
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26790
 
  (eval $ac_try) 2>&5
26791
 
  ac_status=$?
26792
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26793
 
  (exit $ac_status); }; }; then
 
26003
  (exit $ac_status); } && {
 
26004
         test -z "$ac_c_werror_flag" ||
 
26005
         test ! -s conftest.err
 
26006
       } && test -s conftest$ac_exeext &&
 
26007
       $as_test_x conftest$ac_exeext; then
26794
26008
  ac_cv_lib_memcache_mc_new=yes
26795
26009
else
26796
26010
  echo "$as_me: failed program was:" >&5
26797
26011
sed 's/^/| /' conftest.$ac_ext >&5
26798
26012
 
26799
 
ac_cv_lib_memcache_mc_new=no
 
26013
        ac_cv_lib_memcache_mc_new=no
26800
26014
fi
26801
 
rm -f conftest.err conftest.$ac_objext \
 
26015
 
 
26016
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26802
26017
      conftest$ac_exeext conftest.$ac_ext
26803
26018
LIBS=$ac_check_lib_save_LIBS
26804
26019
fi
26805
 
echo "$as_me:$LINENO: result: $ac_cv_lib_memcache_mc_new" >&5
26806
 
echo "${ECHO_T}$ac_cv_lib_memcache_mc_new" >&6
 
26020
{ echo "$as_me:$LINENO: result: $ac_cv_lib_memcache_mc_new" >&5
 
26021
echo "${ECHO_T}$ac_cv_lib_memcache_mc_new" >&6; }
26807
26022
if test $ac_cv_lib_memcache_mc_new = yes; then
26808
26023
 
26809
26024
 
26810
26025
for ac_header in memcache.h
26811
26026
do
26812
26027
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26813
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
26814
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
26815
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26816
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
26028
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
26029
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
26030
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
26031
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26817
26032
  echo $ECHO_N "(cached) $ECHO_C" >&6
26818
26033
fi
26819
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26820
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
26034
ac_res=`eval echo '${'$as_ac_Header'}'`
 
26035
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
26036
echo "${ECHO_T}$ac_res" >&6; }
26821
26037
else
26822
26038
  # Is the header compilable?
26823
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
26824
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
26039
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
26040
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26825
26041
cat >conftest.$ac_ext <<_ACEOF
26826
26042
/* confdefs.h.  */
26827
26043
_ACEOF
26832
26048
#include <$ac_header>
26833
26049
_ACEOF
26834
26050
rm -f conftest.$ac_objext
26835
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26836
 
  (eval $ac_compile) 2>conftest.er1
 
26051
if { (ac_try="$ac_compile"
 
26052
case "(($ac_try" in
 
26053
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26054
  *) ac_try_echo=$ac_try;;
 
26055
esac
 
26056
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26057
  (eval "$ac_compile") 2>conftest.er1
26837
26058
  ac_status=$?
26838
26059
  grep -v '^ *+' conftest.er1 >conftest.err
26839
26060
  rm -f conftest.er1
26840
26061
  cat conftest.err >&5
26841
26062
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26842
 
  (exit $ac_status); } &&
26843
 
         { ac_try='test -z "$ac_c_werror_flag"
26844
 
                         || test ! -s conftest.err'
26845
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26846
 
  (eval $ac_try) 2>&5
26847
 
  ac_status=$?
26848
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26849
 
  (exit $ac_status); }; } &&
26850
 
         { ac_try='test -s conftest.$ac_objext'
26851
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26852
 
  (eval $ac_try) 2>&5
26853
 
  ac_status=$?
26854
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26855
 
  (exit $ac_status); }; }; then
 
26063
  (exit $ac_status); } && {
 
26064
         test -z "$ac_c_werror_flag" ||
 
26065
         test ! -s conftest.err
 
26066
       } && test -s conftest.$ac_objext; then
26856
26067
  ac_header_compiler=yes
26857
26068
else
26858
26069
  echo "$as_me: failed program was:" >&5
26859
26070
sed 's/^/| /' conftest.$ac_ext >&5
26860
26071
 
26861
 
ac_header_compiler=no
 
26072
        ac_header_compiler=no
26862
26073
fi
26863
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26864
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26865
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
26074
 
 
26075
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26076
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
26077
echo "${ECHO_T}$ac_header_compiler" >&6; }
26866
26078
 
26867
26079
# Is the header present?
26868
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
26869
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
26080
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
26081
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26870
26082
cat >conftest.$ac_ext <<_ACEOF
26871
26083
/* confdefs.h.  */
26872
26084
_ACEOF
26875
26087
/* end confdefs.h.  */
26876
26088
#include <$ac_header>
26877
26089
_ACEOF
26878
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26879
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
26090
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
26091
case "(($ac_try" in
 
26092
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26093
  *) ac_try_echo=$ac_try;;
 
26094
esac
 
26095
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26096
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26880
26097
  ac_status=$?
26881
26098
  grep -v '^ *+' conftest.er1 >conftest.err
26882
26099
  rm -f conftest.er1
26883
26100
  cat conftest.err >&5
26884
26101
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26885
 
  (exit $ac_status); } >/dev/null; then
26886
 
  if test -s conftest.err; then
26887
 
    ac_cpp_err=$ac_c_preproc_warn_flag
26888
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26889
 
  else
26890
 
    ac_cpp_err=
26891
 
  fi
26892
 
else
26893
 
  ac_cpp_err=yes
26894
 
fi
26895
 
if test -z "$ac_cpp_err"; then
 
26102
  (exit $ac_status); } >/dev/null && {
 
26103
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
26104
         test ! -s conftest.err
 
26105
       }; then
26896
26106
  ac_header_preproc=yes
26897
26107
else
26898
26108
  echo "$as_me: failed program was:" >&5
26900
26110
 
26901
26111
  ac_header_preproc=no
26902
26112
fi
 
26113
 
26903
26114
rm -f conftest.err conftest.$ac_ext
26904
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26905
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
26115
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
26116
echo "${ECHO_T}$ac_header_preproc" >&6; }
26906
26117
 
26907
26118
# So?  What about this header?
26908
26119
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26926
26137
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26927
26138
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26928
26139
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26929
 
    (
26930
 
      cat <<\_ASBOX
 
26140
    ( cat <<\_ASBOX
26931
26141
## ------------------------------ ##
26932
26142
## Report this to jan@kneschke.de ##
26933
26143
## ------------------------------ ##
26934
26144
_ASBOX
26935
 
    ) |
26936
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
26145
     ) | sed "s/^/$as_me: WARNING:     /" >&2
26937
26146
    ;;
26938
26147
esac
26939
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
26940
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26941
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
26148
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
26149
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
26150
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26942
26151
  echo $ECHO_N "(cached) $ECHO_C" >&6
26943
26152
else
26944
26153
  eval "$as_ac_Header=\$ac_header_preproc"
26945
26154
fi
26946
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26947
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
26155
ac_res=`eval echo '${'$as_ac_Header'}'`
 
26156
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
26157
echo "${ECHO_T}$ac_res" >&6; }
26948
26158
 
26949
26159
fi
26950
26160
if test `eval echo '${'$as_ac_Header'}'` = yes; then
26974
26184
 
26975
26185
fi
26976
26186
 
26977
 
echo "$as_me:$LINENO: checking if lua-support is requested" >&5
26978
 
echo $ECHO_N "checking if lua-support is requested... $ECHO_C" >&6
 
26187
{ echo "$as_me:$LINENO: checking if lua-support is requested" >&5
 
26188
echo $ECHO_N "checking if lua-support is requested... $ECHO_C" >&6; }
26979
26189
 
26980
 
# Check whether --with-lua or --without-lua was given.
 
26190
# Check whether --with-lua was given.
26981
26191
if test "${with_lua+set}" = set; then
26982
 
  withval="$with_lua"
26983
 
  WITH_LUA=$withval
 
26192
  withval=$with_lua; WITH_LUA=$withval
26984
26193
else
26985
26194
  WITH_LUA=no
26986
 
fi;
26987
 
 
26988
 
echo "$as_me:$LINENO: result: $WITH_LUA" >&5
26989
 
echo "${ECHO_T}$WITH_LUA" >&6
 
26195
fi
 
26196
 
 
26197
 
 
26198
{ echo "$as_me:$LINENO: result: $WITH_LUA" >&5
 
26199
echo "${ECHO_T}$WITH_LUA" >&6; }
26990
26200
if test "$WITH_LUA" != "no"; then
26991
 
 if test "$WITH_LUA" == "yes"; then
 
26201
 if test "$WITH_LUA" = "yes"; then
26992
26202
  WITH_LUA=lua
26993
26203
 fi
26994
26204
 
26995
26205
pkg_failed=no
26996
 
echo "$as_me:$LINENO: checking for LUA" >&5
26997
 
echo $ECHO_N "checking for LUA... $ECHO_C" >&6
 
26206
{ echo "$as_me:$LINENO: checking for LUA" >&5
 
26207
echo $ECHO_N "checking for LUA... $ECHO_C" >&6; }
26998
26208
 
26999
26209
if test -n "$PKG_CONFIG"; then
27000
26210
    if test -n "$LUA_CFLAGS"; then
27098
26308
else
27099
26309
        LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
27100
26310
        LUA_LIBS=$pkg_cv_LUA_LIBS
27101
 
        echo "$as_me:$LINENO: result: yes" >&5
27102
 
echo "${ECHO_T}yes" >&6
 
26311
        { echo "$as_me:$LINENO: result: yes" >&5
 
26312
echo "${ECHO_T}yes" >&6; }
27103
26313
 
27104
26314
 
27105
26315
cat >>confdefs.h <<\_ACEOF
27119
26329
fi
27120
26330
 
27121
26331
save_LIBS=$LIBS
27122
 
echo "$as_me:$LINENO: checking for library containing crypt" >&5
27123
 
echo $ECHO_N "checking for library containing crypt... $ECHO_C" >&6
 
26332
{ echo "$as_me:$LINENO: checking for library containing crypt" >&5
 
26333
echo $ECHO_N "checking for library containing crypt... $ECHO_C" >&6; }
27124
26334
if test "${ac_cv_search_crypt+set}" = set; then
27125
26335
  echo $ECHO_N "(cached) $ECHO_C" >&6
27126
26336
else
27127
26337
  ac_func_search_save_LIBS=$LIBS
27128
 
ac_cv_search_crypt=no
27129
26338
cat >conftest.$ac_ext <<_ACEOF
27130
26339
/* confdefs.h.  */
27131
26340
_ACEOF
27133
26342
cat >>conftest.$ac_ext <<_ACEOF
27134
26343
/* end confdefs.h.  */
27135
26344
 
27136
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
26345
/* Override any GCC internal prototype to avoid an error.
 
26346
   Use char because int might match the return type of a GCC
 
26347
   builtin and then its argument prototype would still apply.  */
27137
26348
#ifdef __cplusplus
27138
26349
extern "C"
27139
26350
#endif
27140
 
/* We use char because int might match the return type of a gcc2
27141
 
   builtin and then its argument prototype would still apply.  */
27142
26351
char crypt ();
27143
26352
int
27144
26353
main ()
27145
26354
{
27146
 
crypt ();
 
26355
return crypt ();
27147
26356
  ;
27148
26357
  return 0;
27149
26358
}
27150
26359
_ACEOF
27151
 
rm -f conftest.$ac_objext conftest$ac_exeext
27152
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27153
 
  (eval $ac_link) 2>conftest.er1
27154
 
  ac_status=$?
27155
 
  grep -v '^ *+' conftest.er1 >conftest.err
27156
 
  rm -f conftest.er1
27157
 
  cat conftest.err >&5
27158
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27159
 
  (exit $ac_status); } &&
27160
 
         { ac_try='test -z "$ac_c_werror_flag"
27161
 
                         || test ! -s conftest.err'
27162
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27163
 
  (eval $ac_try) 2>&5
27164
 
  ac_status=$?
27165
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27166
 
  (exit $ac_status); }; } &&
27167
 
         { ac_try='test -s conftest$ac_exeext'
27168
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27169
 
  (eval $ac_try) 2>&5
27170
 
  ac_status=$?
27171
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27172
 
  (exit $ac_status); }; }; then
27173
 
  ac_cv_search_crypt="none required"
27174
 
else
27175
 
  echo "$as_me: failed program was:" >&5
27176
 
sed 's/^/| /' conftest.$ac_ext >&5
27177
 
 
27178
 
fi
27179
 
rm -f conftest.err conftest.$ac_objext \
27180
 
      conftest$ac_exeext conftest.$ac_ext
27181
 
if test "$ac_cv_search_crypt" = no; then
27182
 
  for ac_lib in crypt; do
 
26360
for ac_lib in '' crypt; do
 
26361
  if test -z "$ac_lib"; then
 
26362
    ac_res="none required"
 
26363
  else
 
26364
    ac_res=-l$ac_lib
27183
26365
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
27184
 
    cat >conftest.$ac_ext <<_ACEOF
27185
 
/* confdefs.h.  */
27186
 
_ACEOF
27187
 
cat confdefs.h >>conftest.$ac_ext
27188
 
cat >>conftest.$ac_ext <<_ACEOF
27189
 
/* end confdefs.h.  */
27190
 
 
27191
 
/* Override any gcc2 internal prototype to avoid an error.  */
27192
 
#ifdef __cplusplus
27193
 
extern "C"
27194
 
#endif
27195
 
/* We use char because int might match the return type of a gcc2
27196
 
   builtin and then its argument prototype would still apply.  */
27197
 
char crypt ();
27198
 
int
27199
 
main ()
27200
 
{
27201
 
crypt ();
27202
 
  ;
27203
 
  return 0;
27204
 
}
27205
 
_ACEOF
27206
 
rm -f conftest.$ac_objext conftest$ac_exeext
27207
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27208
 
  (eval $ac_link) 2>conftest.er1
 
26366
  fi
 
26367
  rm -f conftest.$ac_objext conftest$ac_exeext
 
26368
if { (ac_try="$ac_link"
 
26369
case "(($ac_try" in
 
26370
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26371
  *) ac_try_echo=$ac_try;;
 
26372
esac
 
26373
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26374
  (eval "$ac_link") 2>conftest.er1
27209
26375
  ac_status=$?
27210
26376
  grep -v '^ *+' conftest.er1 >conftest.err
27211
26377
  rm -f conftest.er1
27212
26378
  cat conftest.err >&5
27213
26379
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27214
 
  (exit $ac_status); } &&
27215
 
         { ac_try='test -z "$ac_c_werror_flag"
27216
 
                         || test ! -s conftest.err'
27217
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27218
 
  (eval $ac_try) 2>&5
27219
 
  ac_status=$?
27220
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27221
 
  (exit $ac_status); }; } &&
27222
 
         { ac_try='test -s conftest$ac_exeext'
27223
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27224
 
  (eval $ac_try) 2>&5
27225
 
  ac_status=$?
27226
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27227
 
  (exit $ac_status); }; }; then
27228
 
  ac_cv_search_crypt="-l$ac_lib"
27229
 
break
 
26380
  (exit $ac_status); } && {
 
26381
         test -z "$ac_c_werror_flag" ||
 
26382
         test ! -s conftest.err
 
26383
       } && test -s conftest$ac_exeext &&
 
26384
       $as_test_x conftest$ac_exeext; then
 
26385
  ac_cv_search_crypt=$ac_res
27230
26386
else
27231
26387
  echo "$as_me: failed program was:" >&5
27232
26388
sed 's/^/| /' conftest.$ac_ext >&5
27233
26389
 
27234
 
fi
27235
 
rm -f conftest.err conftest.$ac_objext \
27236
 
      conftest$ac_exeext conftest.$ac_ext
27237
 
  done
27238
 
fi
 
26390
 
 
26391
fi
 
26392
 
 
26393
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
26394
      conftest$ac_exeext
 
26395
  if test "${ac_cv_search_crypt+set}" = set; then
 
26396
  break
 
26397
fi
 
26398
done
 
26399
if test "${ac_cv_search_crypt+set}" = set; then
 
26400
  :
 
26401
else
 
26402
  ac_cv_search_crypt=no
 
26403
fi
 
26404
rm conftest.$ac_ext
27239
26405
LIBS=$ac_func_search_save_LIBS
27240
26406
fi
27241
 
echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5
27242
 
echo "${ECHO_T}$ac_cv_search_crypt" >&6
27243
 
if test "$ac_cv_search_crypt" != no; then
27244
 
  test "$ac_cv_search_crypt" = "none required" || LIBS="$ac_cv_search_crypt $LIBS"
 
26407
{ echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5
 
26408
echo "${ECHO_T}$ac_cv_search_crypt" >&6; }
 
26409
ac_res=$ac_cv_search_crypt
 
26410
if test "$ac_res" != no; then
 
26411
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
27245
26412
 
27246
26413
 
27247
26414
for ac_header in crypt.h
27248
26415
do
27249
26416
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27250
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
27251
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
27252
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27253
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
26417
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
26418
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
26419
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
26420
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27254
26421
  echo $ECHO_N "(cached) $ECHO_C" >&6
27255
26422
fi
27256
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27257
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
26423
ac_res=`eval echo '${'$as_ac_Header'}'`
 
26424
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
26425
echo "${ECHO_T}$ac_res" >&6; }
27258
26426
else
27259
26427
  # Is the header compilable?
27260
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
27261
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
26428
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
26429
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
27262
26430
cat >conftest.$ac_ext <<_ACEOF
27263
26431
/* confdefs.h.  */
27264
26432
_ACEOF
27269
26437
#include <$ac_header>
27270
26438
_ACEOF
27271
26439
rm -f conftest.$ac_objext
27272
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27273
 
  (eval $ac_compile) 2>conftest.er1
 
26440
if { (ac_try="$ac_compile"
 
26441
case "(($ac_try" in
 
26442
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26443
  *) ac_try_echo=$ac_try;;
 
26444
esac
 
26445
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26446
  (eval "$ac_compile") 2>conftest.er1
27274
26447
  ac_status=$?
27275
26448
  grep -v '^ *+' conftest.er1 >conftest.err
27276
26449
  rm -f conftest.er1
27277
26450
  cat conftest.err >&5
27278
26451
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27279
 
  (exit $ac_status); } &&
27280
 
         { ac_try='test -z "$ac_c_werror_flag"
27281
 
                         || test ! -s conftest.err'
27282
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27283
 
  (eval $ac_try) 2>&5
27284
 
  ac_status=$?
27285
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27286
 
  (exit $ac_status); }; } &&
27287
 
         { ac_try='test -s conftest.$ac_objext'
27288
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27289
 
  (eval $ac_try) 2>&5
27290
 
  ac_status=$?
27291
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27292
 
  (exit $ac_status); }; }; then
 
26452
  (exit $ac_status); } && {
 
26453
         test -z "$ac_c_werror_flag" ||
 
26454
         test ! -s conftest.err
 
26455
       } && test -s conftest.$ac_objext; then
27293
26456
  ac_header_compiler=yes
27294
26457
else
27295
26458
  echo "$as_me: failed program was:" >&5
27296
26459
sed 's/^/| /' conftest.$ac_ext >&5
27297
26460
 
27298
 
ac_header_compiler=no
 
26461
        ac_header_compiler=no
27299
26462
fi
27300
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27301
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27302
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
26463
 
 
26464
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26465
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
26466
echo "${ECHO_T}$ac_header_compiler" >&6; }
27303
26467
 
27304
26468
# Is the header present?
27305
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
27306
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
26469
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
26470
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
27307
26471
cat >conftest.$ac_ext <<_ACEOF
27308
26472
/* confdefs.h.  */
27309
26473
_ACEOF
27312
26476
/* end confdefs.h.  */
27313
26477
#include <$ac_header>
27314
26478
_ACEOF
27315
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27316
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
26479
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
26480
case "(($ac_try" in
 
26481
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26482
  *) ac_try_echo=$ac_try;;
 
26483
esac
 
26484
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26485
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27317
26486
  ac_status=$?
27318
26487
  grep -v '^ *+' conftest.er1 >conftest.err
27319
26488
  rm -f conftest.er1
27320
26489
  cat conftest.err >&5
27321
26490
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27322
 
  (exit $ac_status); } >/dev/null; then
27323
 
  if test -s conftest.err; then
27324
 
    ac_cpp_err=$ac_c_preproc_warn_flag
27325
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27326
 
  else
27327
 
    ac_cpp_err=
27328
 
  fi
27329
 
else
27330
 
  ac_cpp_err=yes
27331
 
fi
27332
 
if test -z "$ac_cpp_err"; then
 
26491
  (exit $ac_status); } >/dev/null && {
 
26492
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
26493
         test ! -s conftest.err
 
26494
       }; then
27333
26495
  ac_header_preproc=yes
27334
26496
else
27335
26497
  echo "$as_me: failed program was:" >&5
27337
26499
 
27338
26500
  ac_header_preproc=no
27339
26501
fi
 
26502
 
27340
26503
rm -f conftest.err conftest.$ac_ext
27341
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27342
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
26504
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
26505
echo "${ECHO_T}$ac_header_preproc" >&6; }
27343
26506
 
27344
26507
# So?  What about this header?
27345
26508
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27363
26526
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27364
26527
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27365
26528
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27366
 
    (
27367
 
      cat <<\_ASBOX
 
26529
    ( cat <<\_ASBOX
27368
26530
## ------------------------------ ##
27369
26531
## Report this to jan@kneschke.de ##
27370
26532
## ------------------------------ ##
27371
26533
_ASBOX
27372
 
    ) |
27373
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
26534
     ) | sed "s/^/$as_me: WARNING:     /" >&2
27374
26535
    ;;
27375
26536
esac
27376
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
27377
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27378
 
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 { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27379
26540
  echo $ECHO_N "(cached) $ECHO_C" >&6
27380
26541
else
27381
26542
  eval "$as_ac_Header=\$ac_header_preproc"
27382
26543
fi
27383
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27384
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
26544
ac_res=`eval echo '${'$as_ac_Header'}'`
 
26545
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
26546
echo "${ECHO_T}$ac_res" >&6; }
27385
26547
 
27386
26548
fi
27387
26549
if test `eval echo '${'$as_ac_Header'}'` = yes; then
27414
26576
 
27415
26577
 
27416
26578
save_LIBS=$LIBS
27417
 
echo "$as_me:$LINENO: checking for library containing sendfilev" >&5
27418
 
echo $ECHO_N "checking for library containing sendfilev... $ECHO_C" >&6
 
26579
{ echo "$as_me:$LINENO: checking for library containing sendfilev" >&5
 
26580
echo $ECHO_N "checking for library containing sendfilev... $ECHO_C" >&6; }
27419
26581
if test "${ac_cv_search_sendfilev+set}" = set; then
27420
26582
  echo $ECHO_N "(cached) $ECHO_C" >&6
27421
26583
else
27422
26584
  ac_func_search_save_LIBS=$LIBS
27423
 
ac_cv_search_sendfilev=no
27424
26585
cat >conftest.$ac_ext <<_ACEOF
27425
26586
/* confdefs.h.  */
27426
26587
_ACEOF
27428
26589
cat >>conftest.$ac_ext <<_ACEOF
27429
26590
/* end confdefs.h.  */
27430
26591
 
27431
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
26592
/* Override any GCC internal prototype to avoid an error.
 
26593
   Use char because int might match the return type of a GCC
 
26594
   builtin and then its argument prototype would still apply.  */
27432
26595
#ifdef __cplusplus
27433
26596
extern "C"
27434
26597
#endif
27435
 
/* We use char because int might match the return type of a gcc2
27436
 
   builtin and then its argument prototype would still apply.  */
27437
26598
char sendfilev ();
27438
26599
int
27439
26600
main ()
27440
26601
{
27441
 
sendfilev ();
 
26602
return sendfilev ();
27442
26603
  ;
27443
26604
  return 0;
27444
26605
}
27445
26606
_ACEOF
27446
 
rm -f conftest.$ac_objext conftest$ac_exeext
27447
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27448
 
  (eval $ac_link) 2>conftest.er1
27449
 
  ac_status=$?
27450
 
  grep -v '^ *+' conftest.er1 >conftest.err
27451
 
  rm -f conftest.er1
27452
 
  cat conftest.err >&5
27453
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27454
 
  (exit $ac_status); } &&
27455
 
         { ac_try='test -z "$ac_c_werror_flag"
27456
 
                         || test ! -s conftest.err'
27457
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27458
 
  (eval $ac_try) 2>&5
27459
 
  ac_status=$?
27460
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27461
 
  (exit $ac_status); }; } &&
27462
 
         { ac_try='test -s conftest$ac_exeext'
27463
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27464
 
  (eval $ac_try) 2>&5
27465
 
  ac_status=$?
27466
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27467
 
  (exit $ac_status); }; }; then
27468
 
  ac_cv_search_sendfilev="none required"
27469
 
else
27470
 
  echo "$as_me: failed program was:" >&5
27471
 
sed 's/^/| /' conftest.$ac_ext >&5
27472
 
 
27473
 
fi
27474
 
rm -f conftest.err conftest.$ac_objext \
27475
 
      conftest$ac_exeext conftest.$ac_ext
27476
 
if test "$ac_cv_search_sendfilev" = no; then
27477
 
  for ac_lib in sendfile; do
 
26607
for ac_lib in '' sendfile; do
 
26608
  if test -z "$ac_lib"; then
 
26609
    ac_res="none required"
 
26610
  else
 
26611
    ac_res=-l$ac_lib
27478
26612
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
27479
 
    cat >conftest.$ac_ext <<_ACEOF
27480
 
/* confdefs.h.  */
27481
 
_ACEOF
27482
 
cat confdefs.h >>conftest.$ac_ext
27483
 
cat >>conftest.$ac_ext <<_ACEOF
27484
 
/* end confdefs.h.  */
27485
 
 
27486
 
/* Override any gcc2 internal prototype to avoid an error.  */
27487
 
#ifdef __cplusplus
27488
 
extern "C"
27489
 
#endif
27490
 
/* We use char because int might match the return type of a gcc2
27491
 
   builtin and then its argument prototype would still apply.  */
27492
 
char sendfilev ();
27493
 
int
27494
 
main ()
27495
 
{
27496
 
sendfilev ();
27497
 
  ;
27498
 
  return 0;
27499
 
}
27500
 
_ACEOF
27501
 
rm -f conftest.$ac_objext conftest$ac_exeext
27502
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27503
 
  (eval $ac_link) 2>conftest.er1
 
26613
  fi
 
26614
  rm -f conftest.$ac_objext conftest$ac_exeext
 
26615
if { (ac_try="$ac_link"
 
26616
case "(($ac_try" in
 
26617
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26618
  *) ac_try_echo=$ac_try;;
 
26619
esac
 
26620
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26621
  (eval "$ac_link") 2>conftest.er1
27504
26622
  ac_status=$?
27505
26623
  grep -v '^ *+' conftest.er1 >conftest.err
27506
26624
  rm -f conftest.er1
27507
26625
  cat conftest.err >&5
27508
26626
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27509
 
  (exit $ac_status); } &&
27510
 
         { ac_try='test -z "$ac_c_werror_flag"
27511
 
                         || test ! -s conftest.err'
27512
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27513
 
  (eval $ac_try) 2>&5
27514
 
  ac_status=$?
27515
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27516
 
  (exit $ac_status); }; } &&
27517
 
         { ac_try='test -s conftest$ac_exeext'
27518
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27519
 
  (eval $ac_try) 2>&5
27520
 
  ac_status=$?
27521
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27522
 
  (exit $ac_status); }; }; then
27523
 
  ac_cv_search_sendfilev="-l$ac_lib"
27524
 
break
 
26627
  (exit $ac_status); } && {
 
26628
         test -z "$ac_c_werror_flag" ||
 
26629
         test ! -s conftest.err
 
26630
       } && test -s conftest$ac_exeext &&
 
26631
       $as_test_x conftest$ac_exeext; then
 
26632
  ac_cv_search_sendfilev=$ac_res
27525
26633
else
27526
26634
  echo "$as_me: failed program was:" >&5
27527
26635
sed 's/^/| /' conftest.$ac_ext >&5
27528
26636
 
27529
 
fi
27530
 
rm -f conftest.err conftest.$ac_objext \
27531
 
      conftest$ac_exeext conftest.$ac_ext
27532
 
  done
27533
 
fi
 
26637
 
 
26638
fi
 
26639
 
 
26640
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
26641
      conftest$ac_exeext
 
26642
  if test "${ac_cv_search_sendfilev+set}" = set; then
 
26643
  break
 
26644
fi
 
26645
done
 
26646
if test "${ac_cv_search_sendfilev+set}" = set; then
 
26647
  :
 
26648
else
 
26649
  ac_cv_search_sendfilev=no
 
26650
fi
 
26651
rm conftest.$ac_ext
27534
26652
LIBS=$ac_func_search_save_LIBS
27535
26653
fi
27536
 
echo "$as_me:$LINENO: result: $ac_cv_search_sendfilev" >&5
27537
 
echo "${ECHO_T}$ac_cv_search_sendfilev" >&6
27538
 
if test "$ac_cv_search_sendfilev" != no; then
27539
 
  test "$ac_cv_search_sendfilev" = "none required" || LIBS="$ac_cv_search_sendfilev $LIBS"
 
26654
{ echo "$as_me:$LINENO: result: $ac_cv_search_sendfilev" >&5
 
26655
echo "${ECHO_T}$ac_cv_search_sendfilev" >&6; }
 
26656
ac_res=$ac_cv_search_sendfilev
 
26657
if test "$ac_res" != no; then
 
26658
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
27540
26659
 
27541
26660
  if test "$ac_cv_search_sendfilev" != no; then
27542
26661
    test "$ac_cv_search_sendfilev" = "none required" || SENDFILE_LIB="$ac_cv_search_sendfilev"
27600
26719
                  writev sigaction sendfile64 send_file kqueue port_create localtime_r
27601
26720
do
27602
26721
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27603
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
27604
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27605
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
26722
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
26723
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
26724
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27606
26725
  echo $ECHO_N "(cached) $ECHO_C" >&6
27607
26726
else
27608
26727
  cat >conftest.$ac_ext <<_ACEOF
27628
26747
 
27629
26748
#undef $ac_func
27630
26749
 
27631
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
26750
/* Override any GCC internal prototype to avoid an error.
 
26751
   Use char because int might match the return type of a GCC
 
26752
   builtin and then its argument prototype would still apply.  */
27632
26753
#ifdef __cplusplus
27633
26754
extern "C"
27634
 
{
27635
26755
#endif
27636
 
/* We use char because int might match the return type of a gcc2
27637
 
   builtin and then its argument prototype would still apply.  */
27638
26756
char $ac_func ();
27639
26757
/* The GNU C library defines this for functions which it implements
27640
26758
    to always fail with ENOSYS.  Some functions are actually named
27641
26759
    something starting with __ and the normal name is an alias.  */
27642
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
26760
#if defined __stub_$ac_func || defined __stub___$ac_func
27643
26761
choke me
27644
 
#else
27645
 
char (*f) () = $ac_func;
27646
 
#endif
27647
 
#ifdef __cplusplus
27648
 
}
27649
26762
#endif
27650
26763
 
27651
26764
int
27652
26765
main ()
27653
26766
{
27654
 
return f != $ac_func;
 
26767
return $ac_func ();
27655
26768
  ;
27656
26769
  return 0;
27657
26770
}
27658
26771
_ACEOF
27659
26772
rm -f conftest.$ac_objext conftest$ac_exeext
27660
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27661
 
  (eval $ac_link) 2>conftest.er1
 
26773
if { (ac_try="$ac_link"
 
26774
case "(($ac_try" in
 
26775
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26776
  *) ac_try_echo=$ac_try;;
 
26777
esac
 
26778
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26779
  (eval "$ac_link") 2>conftest.er1
27662
26780
  ac_status=$?
27663
26781
  grep -v '^ *+' conftest.er1 >conftest.err
27664
26782
  rm -f conftest.er1
27665
26783
  cat conftest.err >&5
27666
26784
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27667
 
  (exit $ac_status); } &&
27668
 
         { ac_try='test -z "$ac_c_werror_flag"
27669
 
                         || test ! -s conftest.err'
27670
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27671
 
  (eval $ac_try) 2>&5
27672
 
  ac_status=$?
27673
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27674
 
  (exit $ac_status); }; } &&
27675
 
         { ac_try='test -s conftest$ac_exeext'
27676
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27677
 
  (eval $ac_try) 2>&5
27678
 
  ac_status=$?
27679
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27680
 
  (exit $ac_status); }; }; then
 
26785
  (exit $ac_status); } && {
 
26786
         test -z "$ac_c_werror_flag" ||
 
26787
         test ! -s conftest.err
 
26788
       } && test -s conftest$ac_exeext &&
 
26789
       $as_test_x conftest$ac_exeext; then
27681
26790
  eval "$as_ac_var=yes"
27682
26791
else
27683
26792
  echo "$as_me: failed program was:" >&5
27684
26793
sed 's/^/| /' conftest.$ac_ext >&5
27685
26794
 
27686
 
eval "$as_ac_var=no"
 
26795
        eval "$as_ac_var=no"
27687
26796
fi
27688
 
rm -f conftest.err conftest.$ac_objext \
 
26797
 
 
26798
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27689
26799
      conftest$ac_exeext conftest.$ac_ext
27690
26800
fi
27691
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27692
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
26801
ac_res=`eval echo '${'$as_ac_var'}'`
 
26802
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
26803
echo "${ECHO_T}$ac_res" >&6; }
27693
26804
if test `eval echo '${'$as_ac_var'}'` = yes; then
27694
26805
  cat >>confdefs.h <<_ACEOF
27695
26806
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27699
26810
done
27700
26811
 
27701
26812
 
27702
 
echo "$as_me:$LINENO: checking for Large File System support" >&5
27703
 
echo $ECHO_N "checking for Large File System support... $ECHO_C" >&6
27704
 
# Check whether --enable-lfs or --disable-lfs was given.
 
26813
{ echo "$as_me:$LINENO: checking for Large File System support" >&5
 
26814
echo $ECHO_N "checking for Large File System support... $ECHO_C" >&6; }
 
26815
# Check whether --enable-lfs was given.
27705
26816
if test "${enable_lfs+set}" = set; then
27706
 
  enableval="$enable_lfs"
27707
 
  case "${enableval}" in
 
26817
  enableval=$enable_lfs; case "${enableval}" in
27708
26818
   yes) CPPFLAGS="${CPPFLAGS} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES" ;;
27709
26819
    no) ;;
27710
26820
     *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-lfs" >&5
27714
26824
else
27715
26825
  CPPFLAGS="${CPPFLAGS} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES"
27716
26826
         enable_lfs=yes
27717
 
fi;
27718
 
echo "$as_me:$LINENO: result: $enableval" >&5
27719
 
echo "${ECHO_T}$enableval" >&6
27720
 
 
27721
 
echo "$as_me:$LINENO: checking for long" >&5
27722
 
echo $ECHO_N "checking for long... $ECHO_C" >&6
 
26827
fi
 
26828
 
 
26829
{ echo "$as_me:$LINENO: result: $enableval" >&5
 
26830
echo "${ECHO_T}$enableval" >&6; }
 
26831
 
 
26832
{ echo "$as_me:$LINENO: checking for long" >&5
 
26833
echo $ECHO_N "checking for long... $ECHO_C" >&6; }
27723
26834
if test "${ac_cv_type_long+set}" = set; then
27724
26835
  echo $ECHO_N "(cached) $ECHO_C" >&6
27725
26836
else
27730
26841
cat >>conftest.$ac_ext <<_ACEOF
27731
26842
/* end confdefs.h.  */
27732
26843
$ac_includes_default
 
26844
typedef long ac__type_new_;
27733
26845
int
27734
26846
main ()
27735
26847
{
27736
 
if ((long *) 0)
 
26848
if ((ac__type_new_ *) 0)
27737
26849
  return 0;
27738
 
if (sizeof (long))
 
26850
if (sizeof (ac__type_new_))
27739
26851
  return 0;
27740
26852
  ;
27741
26853
  return 0;
27742
26854
}
27743
26855
_ACEOF
27744
26856
rm -f conftest.$ac_objext
27745
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27746
 
  (eval $ac_compile) 2>conftest.er1
 
26857
if { (ac_try="$ac_compile"
 
26858
case "(($ac_try" in
 
26859
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26860
  *) ac_try_echo=$ac_try;;
 
26861
esac
 
26862
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26863
  (eval "$ac_compile") 2>conftest.er1
27747
26864
  ac_status=$?
27748
26865
  grep -v '^ *+' conftest.er1 >conftest.err
27749
26866
  rm -f conftest.er1
27750
26867
  cat conftest.err >&5
27751
26868
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27752
 
  (exit $ac_status); } &&
27753
 
         { ac_try='test -z "$ac_c_werror_flag"
27754
 
                         || test ! -s conftest.err'
27755
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27756
 
  (eval $ac_try) 2>&5
27757
 
  ac_status=$?
27758
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27759
 
  (exit $ac_status); }; } &&
27760
 
         { ac_try='test -s conftest.$ac_objext'
27761
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27762
 
  (eval $ac_try) 2>&5
27763
 
  ac_status=$?
27764
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27765
 
  (exit $ac_status); }; }; then
 
26869
  (exit $ac_status); } && {
 
26870
         test -z "$ac_c_werror_flag" ||
 
26871
         test ! -s conftest.err
 
26872
       } && test -s conftest.$ac_objext; then
27766
26873
  ac_cv_type_long=yes
27767
26874
else
27768
26875
  echo "$as_me: failed program was:" >&5
27769
26876
sed 's/^/| /' conftest.$ac_ext >&5
27770
26877
 
27771
 
ac_cv_type_long=no
27772
 
fi
27773
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27774
 
fi
27775
 
echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
27776
 
echo "${ECHO_T}$ac_cv_type_long" >&6
27777
 
 
27778
 
echo "$as_me:$LINENO: checking size of long" >&5
27779
 
echo $ECHO_N "checking size of long... $ECHO_C" >&6
 
26878
        ac_cv_type_long=no
 
26879
fi
 
26880
 
 
26881
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26882
fi
 
26883
{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
 
26884
echo "${ECHO_T}$ac_cv_type_long" >&6; }
 
26885
 
 
26886
# The cast to long int works around a bug in the HP C Compiler
 
26887
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
26888
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
26889
# This bug is HP SR number 8606223364.
 
26890
{ echo "$as_me:$LINENO: checking size of long" >&5
 
26891
echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
27780
26892
if test "${ac_cv_sizeof_long+set}" = set; then
27781
26893
  echo $ECHO_N "(cached) $ECHO_C" >&6
27782
26894
else
27783
 
  if test "$ac_cv_type_long" = yes; then
27784
 
  # The cast to unsigned long works around a bug in the HP C Compiler
27785
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27786
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27787
 
  # This bug is HP SR number 8606223364.
27788
26895
  if test "$cross_compiling" = yes; then
27789
26896
  # Depending upon the size, compute the lo and hi bounds.
27790
26897
cat >conftest.$ac_ext <<_ACEOF
27794
26901
cat >>conftest.$ac_ext <<_ACEOF
27795
26902
/* end confdefs.h.  */
27796
26903
$ac_includes_default
 
26904
   typedef long ac__type_sizeof_;
27797
26905
int
27798
26906
main ()
27799
26907
{
27800
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
 
26908
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27801
26909
test_array [0] = 0
27802
26910
 
27803
26911
  ;
27805
26913
}
27806
26914
_ACEOF
27807
26915
rm -f conftest.$ac_objext
27808
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27809
 
  (eval $ac_compile) 2>conftest.er1
 
26916
if { (ac_try="$ac_compile"
 
26917
case "(($ac_try" in
 
26918
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26919
  *) ac_try_echo=$ac_try;;
 
26920
esac
 
26921
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26922
  (eval "$ac_compile") 2>conftest.er1
27810
26923
  ac_status=$?
27811
26924
  grep -v '^ *+' conftest.er1 >conftest.err
27812
26925
  rm -f conftest.er1
27813
26926
  cat conftest.err >&5
27814
26927
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27815
 
  (exit $ac_status); } &&
27816
 
         { ac_try='test -z "$ac_c_werror_flag"
27817
 
                         || test ! -s conftest.err'
27818
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27819
 
  (eval $ac_try) 2>&5
27820
 
  ac_status=$?
27821
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27822
 
  (exit $ac_status); }; } &&
27823
 
         { ac_try='test -s conftest.$ac_objext'
27824
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27825
 
  (eval $ac_try) 2>&5
27826
 
  ac_status=$?
27827
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27828
 
  (exit $ac_status); }; }; then
 
26928
  (exit $ac_status); } && {
 
26929
         test -z "$ac_c_werror_flag" ||
 
26930
         test ! -s conftest.err
 
26931
       } && test -s conftest.$ac_objext; then
27829
26932
  ac_lo=0 ac_mid=0
27830
26933
  while :; do
27831
26934
    cat >conftest.$ac_ext <<_ACEOF
27835
26938
cat >>conftest.$ac_ext <<_ACEOF
27836
26939
/* end confdefs.h.  */
27837
26940
$ac_includes_default
 
26941
   typedef long ac__type_sizeof_;
27838
26942
int
27839
26943
main ()
27840
26944
{
27841
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
 
26945
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27842
26946
test_array [0] = 0
27843
26947
 
27844
26948
  ;
27846
26950
}
27847
26951
_ACEOF
27848
26952
rm -f conftest.$ac_objext
27849
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27850
 
  (eval $ac_compile) 2>conftest.er1
 
26953
if { (ac_try="$ac_compile"
 
26954
case "(($ac_try" in
 
26955
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26956
  *) ac_try_echo=$ac_try;;
 
26957
esac
 
26958
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26959
  (eval "$ac_compile") 2>conftest.er1
27851
26960
  ac_status=$?
27852
26961
  grep -v '^ *+' conftest.er1 >conftest.err
27853
26962
  rm -f conftest.er1
27854
26963
  cat conftest.err >&5
27855
26964
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27856
 
  (exit $ac_status); } &&
27857
 
         { ac_try='test -z "$ac_c_werror_flag"
27858
 
                         || test ! -s conftest.err'
27859
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27860
 
  (eval $ac_try) 2>&5
27861
 
  ac_status=$?
27862
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27863
 
  (exit $ac_status); }; } &&
27864
 
         { ac_try='test -s conftest.$ac_objext'
27865
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27866
 
  (eval $ac_try) 2>&5
27867
 
  ac_status=$?
27868
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27869
 
  (exit $ac_status); }; }; then
 
26965
  (exit $ac_status); } && {
 
26966
         test -z "$ac_c_werror_flag" ||
 
26967
         test ! -s conftest.err
 
26968
       } && test -s conftest.$ac_objext; then
27870
26969
  ac_hi=$ac_mid; break
27871
26970
else
27872
26971
  echo "$as_me: failed program was:" >&5
27873
26972
sed 's/^/| /' conftest.$ac_ext >&5
27874
26973
 
27875
 
ac_lo=`expr $ac_mid + 1`
27876
 
                    if test $ac_lo -le $ac_mid; then
27877
 
                      ac_lo= ac_hi=
27878
 
                      break
27879
 
                    fi
27880
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
26974
        ac_lo=`expr $ac_mid + 1`
 
26975
                        if test $ac_lo -le $ac_mid; then
 
26976
                          ac_lo= ac_hi=
 
26977
                          break
 
26978
                        fi
 
26979
                        ac_mid=`expr 2 '*' $ac_mid + 1`
27881
26980
fi
27882
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
26981
 
 
26982
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27883
26983
  done
27884
26984
else
27885
26985
  echo "$as_me: failed program was:" >&5
27886
26986
sed 's/^/| /' conftest.$ac_ext >&5
27887
26987
 
27888
 
cat >conftest.$ac_ext <<_ACEOF
 
26988
        cat >conftest.$ac_ext <<_ACEOF
27889
26989
/* confdefs.h.  */
27890
26990
_ACEOF
27891
26991
cat confdefs.h >>conftest.$ac_ext
27892
26992
cat >>conftest.$ac_ext <<_ACEOF
27893
26993
/* end confdefs.h.  */
27894
26994
$ac_includes_default
 
26995
   typedef long ac__type_sizeof_;
27895
26996
int
27896
26997
main ()
27897
26998
{
27898
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
 
26999
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27899
27000
test_array [0] = 0
27900
27001
 
27901
27002
  ;
27903
27004
}
27904
27005
_ACEOF
27905
27006
rm -f conftest.$ac_objext
27906
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27907
 
  (eval $ac_compile) 2>conftest.er1
 
27007
if { (ac_try="$ac_compile"
 
27008
case "(($ac_try" in
 
27009
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27010
  *) ac_try_echo=$ac_try;;
 
27011
esac
 
27012
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27013
  (eval "$ac_compile") 2>conftest.er1
27908
27014
  ac_status=$?
27909
27015
  grep -v '^ *+' conftest.er1 >conftest.err
27910
27016
  rm -f conftest.er1
27911
27017
  cat conftest.err >&5
27912
27018
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27913
 
  (exit $ac_status); } &&
27914
 
         { ac_try='test -z "$ac_c_werror_flag"
27915
 
                         || test ! -s conftest.err'
27916
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27917
 
  (eval $ac_try) 2>&5
27918
 
  ac_status=$?
27919
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27920
 
  (exit $ac_status); }; } &&
27921
 
         { ac_try='test -s conftest.$ac_objext'
27922
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27923
 
  (eval $ac_try) 2>&5
27924
 
  ac_status=$?
27925
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27926
 
  (exit $ac_status); }; }; then
 
27019
  (exit $ac_status); } && {
 
27020
         test -z "$ac_c_werror_flag" ||
 
27021
         test ! -s conftest.err
 
27022
       } && test -s conftest.$ac_objext; then
27927
27023
  ac_hi=-1 ac_mid=-1
27928
27024
  while :; do
27929
27025
    cat >conftest.$ac_ext <<_ACEOF
27933
27029
cat >>conftest.$ac_ext <<_ACEOF
27934
27030
/* end confdefs.h.  */
27935
27031
$ac_includes_default
 
27032
   typedef long ac__type_sizeof_;
27936
27033
int
27937
27034
main ()
27938
27035
{
27939
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
 
27036
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27940
27037
test_array [0] = 0
27941
27038
 
27942
27039
  ;
27944
27041
}
27945
27042
_ACEOF
27946
27043
rm -f conftest.$ac_objext
27947
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27948
 
  (eval $ac_compile) 2>conftest.er1
 
27044
if { (ac_try="$ac_compile"
 
27045
case "(($ac_try" in
 
27046
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27047
  *) ac_try_echo=$ac_try;;
 
27048
esac
 
27049
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27050
  (eval "$ac_compile") 2>conftest.er1
27949
27051
  ac_status=$?
27950
27052
  grep -v '^ *+' conftest.er1 >conftest.err
27951
27053
  rm -f conftest.er1
27952
27054
  cat conftest.err >&5
27953
27055
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27954
 
  (exit $ac_status); } &&
27955
 
         { ac_try='test -z "$ac_c_werror_flag"
27956
 
                         || test ! -s conftest.err'
27957
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27958
 
  (eval $ac_try) 2>&5
27959
 
  ac_status=$?
27960
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27961
 
  (exit $ac_status); }; } &&
27962
 
         { ac_try='test -s conftest.$ac_objext'
27963
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27964
 
  (eval $ac_try) 2>&5
27965
 
  ac_status=$?
27966
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27967
 
  (exit $ac_status); }; }; then
 
27056
  (exit $ac_status); } && {
 
27057
         test -z "$ac_c_werror_flag" ||
 
27058
         test ! -s conftest.err
 
27059
       } && test -s conftest.$ac_objext; then
27968
27060
  ac_lo=$ac_mid; break
27969
27061
else
27970
27062
  echo "$as_me: failed program was:" >&5
27971
27063
sed 's/^/| /' conftest.$ac_ext >&5
27972
27064
 
27973
 
ac_hi=`expr '(' $ac_mid ')' - 1`
27974
 
                       if test $ac_mid -le $ac_hi; then
27975
 
                         ac_lo= ac_hi=
27976
 
                         break
27977
 
                       fi
27978
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
27065
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
27066
                        if test $ac_mid -le $ac_hi; then
 
27067
                          ac_lo= ac_hi=
 
27068
                          break
 
27069
                        fi
 
27070
                        ac_mid=`expr 2 '*' $ac_mid`
27979
27071
fi
27980
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
27072
 
 
27073
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27981
27074
  done
27982
27075
else
27983
27076
  echo "$as_me: failed program was:" >&5
27984
27077
sed 's/^/| /' conftest.$ac_ext >&5
27985
27078
 
27986
 
ac_lo= ac_hi=
27987
 
fi
27988
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27989
 
fi
27990
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
27079
        ac_lo= ac_hi=
 
27080
fi
 
27081
 
 
27082
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
27083
fi
 
27084
 
 
27085
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27991
27086
# Binary search between lo and hi bounds.
27992
27087
while test "x$ac_lo" != "x$ac_hi"; do
27993
27088
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27998
27093
cat >>conftest.$ac_ext <<_ACEOF
27999
27094
/* end confdefs.h.  */
28000
27095
$ac_includes_default
 
27096
   typedef long ac__type_sizeof_;
28001
27097
int
28002
27098
main ()
28003
27099
{
28004
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
 
27100
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28005
27101
test_array [0] = 0
28006
27102
 
28007
27103
  ;
28009
27105
}
28010
27106
_ACEOF
28011
27107
rm -f conftest.$ac_objext
28012
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28013
 
  (eval $ac_compile) 2>conftest.er1
 
27108
if { (ac_try="$ac_compile"
 
27109
case "(($ac_try" in
 
27110
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27111
  *) ac_try_echo=$ac_try;;
 
27112
esac
 
27113
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27114
  (eval "$ac_compile") 2>conftest.er1
28014
27115
  ac_status=$?
28015
27116
  grep -v '^ *+' conftest.er1 >conftest.err
28016
27117
  rm -f conftest.er1
28017
27118
  cat conftest.err >&5
28018
27119
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28019
 
  (exit $ac_status); } &&
28020
 
         { ac_try='test -z "$ac_c_werror_flag"
28021
 
                         || test ! -s conftest.err'
28022
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28023
 
  (eval $ac_try) 2>&5
28024
 
  ac_status=$?
28025
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28026
 
  (exit $ac_status); }; } &&
28027
 
         { ac_try='test -s conftest.$ac_objext'
28028
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28029
 
  (eval $ac_try) 2>&5
28030
 
  ac_status=$?
28031
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28032
 
  (exit $ac_status); }; }; then
 
27120
  (exit $ac_status); } && {
 
27121
         test -z "$ac_c_werror_flag" ||
 
27122
         test ! -s conftest.err
 
27123
       } && test -s conftest.$ac_objext; then
28033
27124
  ac_hi=$ac_mid
28034
27125
else
28035
27126
  echo "$as_me: failed program was:" >&5
28036
27127
sed 's/^/| /' conftest.$ac_ext >&5
28037
27128
 
28038
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
27129
        ac_lo=`expr '(' $ac_mid ')' + 1`
28039
27130
fi
28040
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
27131
 
 
27132
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28041
27133
done
28042
27134
case $ac_lo in
28043
27135
?*) ac_cv_sizeof_long=$ac_lo;;
28044
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
 
27136
'') if test "$ac_cv_type_long" = yes; then
 
27137
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
28045
27138
See \`config.log' for more details." >&5
28046
 
echo "$as_me: error: cannot compute sizeof (long), 77
 
27139
echo "$as_me: error: cannot compute sizeof (long)
28047
27140
See \`config.log' for more details." >&2;}
28048
 
   { (exit 1); exit 1; }; } ;;
 
27141
   { (exit 77); exit 77; }; }
 
27142
   else
 
27143
     ac_cv_sizeof_long=0
 
27144
   fi ;;
28049
27145
esac
28050
27146
else
28051
 
  if test "$cross_compiling" = yes; then
28052
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
28053
 
See \`config.log' for more details." >&5
28054
 
echo "$as_me: error: cannot run test program while cross compiling
28055
 
See \`config.log' for more details." >&2;}
28056
 
   { (exit 1); exit 1; }; }
28057
 
else
28058
27147
  cat >conftest.$ac_ext <<_ACEOF
28059
27148
/* confdefs.h.  */
28060
27149
_ACEOF
28062
27151
cat >>conftest.$ac_ext <<_ACEOF
28063
27152
/* end confdefs.h.  */
28064
27153
$ac_includes_default
28065
 
long longval () { return (long) (sizeof (long)); }
28066
 
unsigned long ulongval () { return (long) (sizeof (long)); }
 
27154
   typedef long ac__type_sizeof_;
 
27155
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
27156
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28067
27157
#include <stdio.h>
28068
27158
#include <stdlib.h>
28069
27159
int
28072
27162
 
28073
27163
  FILE *f = fopen ("conftest.val", "w");
28074
27164
  if (! f)
28075
 
    exit (1);
28076
 
  if (((long) (sizeof (long))) < 0)
 
27165
    return 1;
 
27166
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28077
27167
    {
28078
 
      long i = longval ();
28079
 
      if (i != ((long) (sizeof (long))))
28080
 
        exit (1);
 
27168
      long int i = longval ();
 
27169
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
27170
        return 1;
28081
27171
      fprintf (f, "%ld\n", i);
28082
27172
    }
28083
27173
  else
28084
27174
    {
28085
 
      unsigned long i = ulongval ();
28086
 
      if (i != ((long) (sizeof (long))))
28087
 
        exit (1);
 
27175
      unsigned long int i = ulongval ();
 
27176
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
27177
        return 1;
28088
27178
      fprintf (f, "%lu\n", i);
28089
27179
    }
28090
 
  exit (ferror (f) || fclose (f) != 0);
 
27180
  return ferror (f) || fclose (f) != 0;
28091
27181
 
28092
27182
  ;
28093
27183
  return 0;
28094
27184
}
28095
27185
_ACEOF
28096
27186
rm -f conftest$ac_exeext
28097
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28098
 
  (eval $ac_link) 2>&5
 
27187
if { (ac_try="$ac_link"
 
27188
case "(($ac_try" in
 
27189
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27190
  *) ac_try_echo=$ac_try;;
 
27191
esac
 
27192
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27193
  (eval "$ac_link") 2>&5
28099
27194
  ac_status=$?
28100
27195
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28101
27196
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28102
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28103
 
  (eval $ac_try) 2>&5
 
27197
  { (case "(($ac_try" in
 
27198
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27199
  *) ac_try_echo=$ac_try;;
 
27200
esac
 
27201
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27202
  (eval "$ac_try") 2>&5
28104
27203
  ac_status=$?
28105
27204
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28106
27205
  (exit $ac_status); }; }; then
28111
27210
sed 's/^/| /' conftest.$ac_ext >&5
28112
27211
 
28113
27212
( exit $ac_status )
28114
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
 
27213
if test "$ac_cv_type_long" = yes; then
 
27214
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
28115
27215
See \`config.log' for more details." >&5
28116
 
echo "$as_me: error: cannot compute sizeof (long), 77
 
27216
echo "$as_me: error: cannot compute sizeof (long)
28117
27217
See \`config.log' for more details." >&2;}
28118
 
   { (exit 1); exit 1; }; }
28119
 
fi
28120
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28121
 
fi
 
27218
   { (exit 77); exit 77; }; }
 
27219
   else
 
27220
     ac_cv_sizeof_long=0
 
27221
   fi
 
27222
fi
 
27223
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28122
27224
fi
28123
27225
rm -f conftest.val
28124
 
else
28125
 
  ac_cv_sizeof_long=0
28126
 
fi
28127
 
fi
28128
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
28129
 
echo "${ECHO_T}$ac_cv_sizeof_long" >&6
 
27226
fi
 
27227
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
 
27228
echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
 
27229
 
 
27230
 
 
27231
 
28130
27232
cat >>confdefs.h <<_ACEOF
28131
27233
#define SIZEOF_LONG $ac_cv_sizeof_long
28132
27234
_ACEOF
28133
27235
 
28134
27236
 
28135
 
echo "$as_me:$LINENO: checking for off_t" >&5
28136
 
echo $ECHO_N "checking for off_t... $ECHO_C" >&6
 
27237
{ echo "$as_me:$LINENO: checking for off_t" >&5
 
27238
echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
28137
27239
if test "${ac_cv_type_off_t+set}" = set; then
28138
27240
  echo $ECHO_N "(cached) $ECHO_C" >&6
28139
27241
else
28144
27246
cat >>conftest.$ac_ext <<_ACEOF
28145
27247
/* end confdefs.h.  */
28146
27248
$ac_includes_default
 
27249
typedef off_t ac__type_new_;
28147
27250
int
28148
27251
main ()
28149
27252
{
28150
 
if ((off_t *) 0)
 
27253
if ((ac__type_new_ *) 0)
28151
27254
  return 0;
28152
 
if (sizeof (off_t))
 
27255
if (sizeof (ac__type_new_))
28153
27256
  return 0;
28154
27257
  ;
28155
27258
  return 0;
28156
27259
}
28157
27260
_ACEOF
28158
27261
rm -f conftest.$ac_objext
28159
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28160
 
  (eval $ac_compile) 2>conftest.er1
 
27262
if { (ac_try="$ac_compile"
 
27263
case "(($ac_try" in
 
27264
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27265
  *) ac_try_echo=$ac_try;;
 
27266
esac
 
27267
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27268
  (eval "$ac_compile") 2>conftest.er1
28161
27269
  ac_status=$?
28162
27270
  grep -v '^ *+' conftest.er1 >conftest.err
28163
27271
  rm -f conftest.er1
28164
27272
  cat conftest.err >&5
28165
27273
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28166
 
  (exit $ac_status); } &&
28167
 
         { ac_try='test -z "$ac_c_werror_flag"
28168
 
                         || test ! -s conftest.err'
28169
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28170
 
  (eval $ac_try) 2>&5
28171
 
  ac_status=$?
28172
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28173
 
  (exit $ac_status); }; } &&
28174
 
         { ac_try='test -s conftest.$ac_objext'
28175
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28176
 
  (eval $ac_try) 2>&5
28177
 
  ac_status=$?
28178
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28179
 
  (exit $ac_status); }; }; then
 
27274
  (exit $ac_status); } && {
 
27275
         test -z "$ac_c_werror_flag" ||
 
27276
         test ! -s conftest.err
 
27277
       } && test -s conftest.$ac_objext; then
28180
27278
  ac_cv_type_off_t=yes
28181
27279
else
28182
27280
  echo "$as_me: failed program was:" >&5
28183
27281
sed 's/^/| /' conftest.$ac_ext >&5
28184
27282
 
28185
 
ac_cv_type_off_t=no
28186
 
fi
28187
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28188
 
fi
28189
 
echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28190
 
echo "${ECHO_T}$ac_cv_type_off_t" >&6
28191
 
 
28192
 
echo "$as_me:$LINENO: checking size of off_t" >&5
28193
 
echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
 
27283
        ac_cv_type_off_t=no
 
27284
fi
 
27285
 
 
27286
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
27287
fi
 
27288
{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
 
27289
echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
 
27290
 
 
27291
# The cast to long int works around a bug in the HP C Compiler
 
27292
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
27293
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
27294
# This bug is HP SR number 8606223364.
 
27295
{ echo "$as_me:$LINENO: checking size of off_t" >&5
 
27296
echo $ECHO_N "checking size of off_t... $ECHO_C" >&6; }
28194
27297
if test "${ac_cv_sizeof_off_t+set}" = set; then
28195
27298
  echo $ECHO_N "(cached) $ECHO_C" >&6
28196
27299
else
28197
 
  if test "$ac_cv_type_off_t" = yes; then
28198
 
  # The cast to unsigned long works around a bug in the HP C Compiler
28199
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28200
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28201
 
  # This bug is HP SR number 8606223364.
28202
27300
  if test "$cross_compiling" = yes; then
28203
27301
  # Depending upon the size, compute the lo and hi bounds.
28204
27302
cat >conftest.$ac_ext <<_ACEOF
28208
27306
cat >>conftest.$ac_ext <<_ACEOF
28209
27307
/* end confdefs.h.  */
28210
27308
$ac_includes_default
 
27309
   typedef off_t ac__type_sizeof_;
28211
27310
int
28212
27311
main ()
28213
27312
{
28214
 
static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= 0)];
 
27313
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28215
27314
test_array [0] = 0
28216
27315
 
28217
27316
  ;
28219
27318
}
28220
27319
_ACEOF
28221
27320
rm -f conftest.$ac_objext
28222
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28223
 
  (eval $ac_compile) 2>conftest.er1
 
27321
if { (ac_try="$ac_compile"
 
27322
case "(($ac_try" in
 
27323
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27324
  *) ac_try_echo=$ac_try;;
 
27325
esac
 
27326
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27327
  (eval "$ac_compile") 2>conftest.er1
28224
27328
  ac_status=$?
28225
27329
  grep -v '^ *+' conftest.er1 >conftest.err
28226
27330
  rm -f conftest.er1
28227
27331
  cat conftest.err >&5
28228
27332
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28229
 
  (exit $ac_status); } &&
28230
 
         { ac_try='test -z "$ac_c_werror_flag"
28231
 
                         || test ! -s conftest.err'
28232
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28233
 
  (eval $ac_try) 2>&5
28234
 
  ac_status=$?
28235
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28236
 
  (exit $ac_status); }; } &&
28237
 
         { ac_try='test -s conftest.$ac_objext'
28238
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28239
 
  (eval $ac_try) 2>&5
28240
 
  ac_status=$?
28241
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28242
 
  (exit $ac_status); }; }; then
 
27333
  (exit $ac_status); } && {
 
27334
         test -z "$ac_c_werror_flag" ||
 
27335
         test ! -s conftest.err
 
27336
       } && test -s conftest.$ac_objext; then
28243
27337
  ac_lo=0 ac_mid=0
28244
27338
  while :; do
28245
27339
    cat >conftest.$ac_ext <<_ACEOF
28249
27343
cat >>conftest.$ac_ext <<_ACEOF
28250
27344
/* end confdefs.h.  */
28251
27345
$ac_includes_default
 
27346
   typedef off_t ac__type_sizeof_;
28252
27347
int
28253
27348
main ()
28254
27349
{
28255
 
static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
 
27350
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28256
27351
test_array [0] = 0
28257
27352
 
28258
27353
  ;
28260
27355
}
28261
27356
_ACEOF
28262
27357
rm -f conftest.$ac_objext
28263
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28264
 
  (eval $ac_compile) 2>conftest.er1
 
27358
if { (ac_try="$ac_compile"
 
27359
case "(($ac_try" in
 
27360
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27361
  *) ac_try_echo=$ac_try;;
 
27362
esac
 
27363
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27364
  (eval "$ac_compile") 2>conftest.er1
28265
27365
  ac_status=$?
28266
27366
  grep -v '^ *+' conftest.er1 >conftest.err
28267
27367
  rm -f conftest.er1
28268
27368
  cat conftest.err >&5
28269
27369
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28270
 
  (exit $ac_status); } &&
28271
 
         { ac_try='test -z "$ac_c_werror_flag"
28272
 
                         || test ! -s conftest.err'
28273
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28274
 
  (eval $ac_try) 2>&5
28275
 
  ac_status=$?
28276
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28277
 
  (exit $ac_status); }; } &&
28278
 
         { ac_try='test -s conftest.$ac_objext'
28279
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28280
 
  (eval $ac_try) 2>&5
28281
 
  ac_status=$?
28282
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28283
 
  (exit $ac_status); }; }; then
 
27370
  (exit $ac_status); } && {
 
27371
         test -z "$ac_c_werror_flag" ||
 
27372
         test ! -s conftest.err
 
27373
       } && test -s conftest.$ac_objext; then
28284
27374
  ac_hi=$ac_mid; break
28285
27375
else
28286
27376
  echo "$as_me: failed program was:" >&5
28287
27377
sed 's/^/| /' conftest.$ac_ext >&5
28288
27378
 
28289
 
ac_lo=`expr $ac_mid + 1`
28290
 
                    if test $ac_lo -le $ac_mid; then
28291
 
                      ac_lo= ac_hi=
28292
 
                      break
28293
 
                    fi
28294
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
27379
        ac_lo=`expr $ac_mid + 1`
 
27380
                        if test $ac_lo -le $ac_mid; then
 
27381
                          ac_lo= ac_hi=
 
27382
                          break
 
27383
                        fi
 
27384
                        ac_mid=`expr 2 '*' $ac_mid + 1`
28295
27385
fi
28296
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
27386
 
 
27387
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28297
27388
  done
28298
27389
else
28299
27390
  echo "$as_me: failed program was:" >&5
28300
27391
sed 's/^/| /' conftest.$ac_ext >&5
28301
27392
 
28302
 
cat >conftest.$ac_ext <<_ACEOF
 
27393
        cat >conftest.$ac_ext <<_ACEOF
28303
27394
/* confdefs.h.  */
28304
27395
_ACEOF
28305
27396
cat confdefs.h >>conftest.$ac_ext
28306
27397
cat >>conftest.$ac_ext <<_ACEOF
28307
27398
/* end confdefs.h.  */
28308
27399
$ac_includes_default
 
27400
   typedef off_t ac__type_sizeof_;
28309
27401
int
28310
27402
main ()
28311
27403
{
28312
 
static int test_array [1 - 2 * !(((long) (sizeof (off_t))) < 0)];
 
27404
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28313
27405
test_array [0] = 0
28314
27406
 
28315
27407
  ;
28317
27409
}
28318
27410
_ACEOF
28319
27411
rm -f conftest.$ac_objext
28320
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28321
 
  (eval $ac_compile) 2>conftest.er1
 
27412
if { (ac_try="$ac_compile"
 
27413
case "(($ac_try" in
 
27414
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27415
  *) ac_try_echo=$ac_try;;
 
27416
esac
 
27417
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27418
  (eval "$ac_compile") 2>conftest.er1
28322
27419
  ac_status=$?
28323
27420
  grep -v '^ *+' conftest.er1 >conftest.err
28324
27421
  rm -f conftest.er1
28325
27422
  cat conftest.err >&5
28326
27423
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28327
 
  (exit $ac_status); } &&
28328
 
         { ac_try='test -z "$ac_c_werror_flag"
28329
 
                         || test ! -s conftest.err'
28330
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28331
 
  (eval $ac_try) 2>&5
28332
 
  ac_status=$?
28333
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28334
 
  (exit $ac_status); }; } &&
28335
 
         { ac_try='test -s conftest.$ac_objext'
28336
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28337
 
  (eval $ac_try) 2>&5
28338
 
  ac_status=$?
28339
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28340
 
  (exit $ac_status); }; }; then
 
27424
  (exit $ac_status); } && {
 
27425
         test -z "$ac_c_werror_flag" ||
 
27426
         test ! -s conftest.err
 
27427
       } && test -s conftest.$ac_objext; then
28341
27428
  ac_hi=-1 ac_mid=-1
28342
27429
  while :; do
28343
27430
    cat >conftest.$ac_ext <<_ACEOF
28347
27434
cat >>conftest.$ac_ext <<_ACEOF
28348
27435
/* end confdefs.h.  */
28349
27436
$ac_includes_default
 
27437
   typedef off_t ac__type_sizeof_;
28350
27438
int
28351
27439
main ()
28352
27440
{
28353
 
static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= $ac_mid)];
 
27441
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28354
27442
test_array [0] = 0
28355
27443
 
28356
27444
  ;
28358
27446
}
28359
27447
_ACEOF
28360
27448
rm -f conftest.$ac_objext
28361
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28362
 
  (eval $ac_compile) 2>conftest.er1
 
27449
if { (ac_try="$ac_compile"
 
27450
case "(($ac_try" in
 
27451
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27452
  *) ac_try_echo=$ac_try;;
 
27453
esac
 
27454
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27455
  (eval "$ac_compile") 2>conftest.er1
28363
27456
  ac_status=$?
28364
27457
  grep -v '^ *+' conftest.er1 >conftest.err
28365
27458
  rm -f conftest.er1
28366
27459
  cat conftest.err >&5
28367
27460
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28368
 
  (exit $ac_status); } &&
28369
 
         { ac_try='test -z "$ac_c_werror_flag"
28370
 
                         || test ! -s conftest.err'
28371
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28372
 
  (eval $ac_try) 2>&5
28373
 
  ac_status=$?
28374
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28375
 
  (exit $ac_status); }; } &&
28376
 
         { ac_try='test -s conftest.$ac_objext'
28377
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28378
 
  (eval $ac_try) 2>&5
28379
 
  ac_status=$?
28380
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28381
 
  (exit $ac_status); }; }; then
 
27461
  (exit $ac_status); } && {
 
27462
         test -z "$ac_c_werror_flag" ||
 
27463
         test ! -s conftest.err
 
27464
       } && test -s conftest.$ac_objext; then
28382
27465
  ac_lo=$ac_mid; break
28383
27466
else
28384
27467
  echo "$as_me: failed program was:" >&5
28385
27468
sed 's/^/| /' conftest.$ac_ext >&5
28386
27469
 
28387
 
ac_hi=`expr '(' $ac_mid ')' - 1`
28388
 
                       if test $ac_mid -le $ac_hi; then
28389
 
                         ac_lo= ac_hi=
28390
 
                         break
28391
 
                       fi
28392
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
27470
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
27471
                        if test $ac_mid -le $ac_hi; then
 
27472
                          ac_lo= ac_hi=
 
27473
                          break
 
27474
                        fi
 
27475
                        ac_mid=`expr 2 '*' $ac_mid`
28393
27476
fi
28394
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
27477
 
 
27478
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28395
27479
  done
28396
27480
else
28397
27481
  echo "$as_me: failed program was:" >&5
28398
27482
sed 's/^/| /' conftest.$ac_ext >&5
28399
27483
 
28400
 
ac_lo= ac_hi=
28401
 
fi
28402
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28403
 
fi
28404
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
27484
        ac_lo= ac_hi=
 
27485
fi
 
27486
 
 
27487
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
27488
fi
 
27489
 
 
27490
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28405
27491
# Binary search between lo and hi bounds.
28406
27492
while test "x$ac_lo" != "x$ac_hi"; do
28407
27493
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28412
27498
cat >>conftest.$ac_ext <<_ACEOF
28413
27499
/* end confdefs.h.  */
28414
27500
$ac_includes_default
 
27501
   typedef off_t ac__type_sizeof_;
28415
27502
int
28416
27503
main ()
28417
27504
{
28418
 
static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
 
27505
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28419
27506
test_array [0] = 0
28420
27507
 
28421
27508
  ;
28423
27510
}
28424
27511
_ACEOF
28425
27512
rm -f conftest.$ac_objext
28426
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28427
 
  (eval $ac_compile) 2>conftest.er1
 
27513
if { (ac_try="$ac_compile"
 
27514
case "(($ac_try" in
 
27515
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27516
  *) ac_try_echo=$ac_try;;
 
27517
esac
 
27518
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27519
  (eval "$ac_compile") 2>conftest.er1
28428
27520
  ac_status=$?
28429
27521
  grep -v '^ *+' conftest.er1 >conftest.err
28430
27522
  rm -f conftest.er1
28431
27523
  cat conftest.err >&5
28432
27524
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28433
 
  (exit $ac_status); } &&
28434
 
         { ac_try='test -z "$ac_c_werror_flag"
28435
 
                         || test ! -s conftest.err'
28436
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28437
 
  (eval $ac_try) 2>&5
28438
 
  ac_status=$?
28439
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28440
 
  (exit $ac_status); }; } &&
28441
 
         { ac_try='test -s conftest.$ac_objext'
28442
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28443
 
  (eval $ac_try) 2>&5
28444
 
  ac_status=$?
28445
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28446
 
  (exit $ac_status); }; }; then
 
27525
  (exit $ac_status); } && {
 
27526
         test -z "$ac_c_werror_flag" ||
 
27527
         test ! -s conftest.err
 
27528
       } && test -s conftest.$ac_objext; then
28447
27529
  ac_hi=$ac_mid
28448
27530
else
28449
27531
  echo "$as_me: failed program was:" >&5
28450
27532
sed 's/^/| /' conftest.$ac_ext >&5
28451
27533
 
28452
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
27534
        ac_lo=`expr '(' $ac_mid ')' + 1`
28453
27535
fi
28454
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
27536
 
 
27537
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28455
27538
done
28456
27539
case $ac_lo in
28457
27540
?*) ac_cv_sizeof_off_t=$ac_lo;;
28458
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
 
27541
'') if test "$ac_cv_type_off_t" = yes; then
 
27542
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t)
28459
27543
See \`config.log' for more details." >&5
28460
 
echo "$as_me: error: cannot compute sizeof (off_t), 77
 
27544
echo "$as_me: error: cannot compute sizeof (off_t)
28461
27545
See \`config.log' for more details." >&2;}
28462
 
   { (exit 1); exit 1; }; } ;;
 
27546
   { (exit 77); exit 77; }; }
 
27547
   else
 
27548
     ac_cv_sizeof_off_t=0
 
27549
   fi ;;
28463
27550
esac
28464
27551
else
28465
 
  if test "$cross_compiling" = yes; then
28466
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
28467
 
See \`config.log' for more details." >&5
28468
 
echo "$as_me: error: cannot run test program while cross compiling
28469
 
See \`config.log' for more details." >&2;}
28470
 
   { (exit 1); exit 1; }; }
28471
 
else
28472
27552
  cat >conftest.$ac_ext <<_ACEOF
28473
27553
/* confdefs.h.  */
28474
27554
_ACEOF
28476
27556
cat >>conftest.$ac_ext <<_ACEOF
28477
27557
/* end confdefs.h.  */
28478
27558
$ac_includes_default
28479
 
long longval () { return (long) (sizeof (off_t)); }
28480
 
unsigned long ulongval () { return (long) (sizeof (off_t)); }
 
27559
   typedef off_t ac__type_sizeof_;
 
27560
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
27561
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28481
27562
#include <stdio.h>
28482
27563
#include <stdlib.h>
28483
27564
int
28486
27567
 
28487
27568
  FILE *f = fopen ("conftest.val", "w");
28488
27569
  if (! f)
28489
 
    exit (1);
28490
 
  if (((long) (sizeof (off_t))) < 0)
 
27570
    return 1;
 
27571
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28491
27572
    {
28492
 
      long i = longval ();
28493
 
      if (i != ((long) (sizeof (off_t))))
28494
 
        exit (1);
 
27573
      long int i = longval ();
 
27574
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
27575
        return 1;
28495
27576
      fprintf (f, "%ld\n", i);
28496
27577
    }
28497
27578
  else
28498
27579
    {
28499
 
      unsigned long i = ulongval ();
28500
 
      if (i != ((long) (sizeof (off_t))))
28501
 
        exit (1);
 
27580
      unsigned long int i = ulongval ();
 
27581
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
27582
        return 1;
28502
27583
      fprintf (f, "%lu\n", i);
28503
27584
    }
28504
 
  exit (ferror (f) || fclose (f) != 0);
 
27585
  return ferror (f) || fclose (f) != 0;
28505
27586
 
28506
27587
  ;
28507
27588
  return 0;
28508
27589
}
28509
27590
_ACEOF
28510
27591
rm -f conftest$ac_exeext
28511
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28512
 
  (eval $ac_link) 2>&5
 
27592
if { (ac_try="$ac_link"
 
27593
case "(($ac_try" in
 
27594
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27595
  *) ac_try_echo=$ac_try;;
 
27596
esac
 
27597
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27598
  (eval "$ac_link") 2>&5
28513
27599
  ac_status=$?
28514
27600
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28515
27601
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28516
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28517
 
  (eval $ac_try) 2>&5
 
27602
  { (case "(($ac_try" in
 
27603
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27604
  *) ac_try_echo=$ac_try;;
 
27605
esac
 
27606
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27607
  (eval "$ac_try") 2>&5
28518
27608
  ac_status=$?
28519
27609
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28520
27610
  (exit $ac_status); }; }; then
28525
27615
sed 's/^/| /' conftest.$ac_ext >&5
28526
27616
 
28527
27617
( exit $ac_status )
28528
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
 
27618
if test "$ac_cv_type_off_t" = yes; then
 
27619
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t)
28529
27620
See \`config.log' for more details." >&5
28530
 
echo "$as_me: error: cannot compute sizeof (off_t), 77
 
27621
echo "$as_me: error: cannot compute sizeof (off_t)
28531
27622
See \`config.log' for more details." >&2;}
28532
 
   { (exit 1); exit 1; }; }
28533
 
fi
28534
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28535
 
fi
 
27623
   { (exit 77); exit 77; }; }
 
27624
   else
 
27625
     ac_cv_sizeof_off_t=0
 
27626
   fi
 
27627
fi
 
27628
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28536
27629
fi
28537
27630
rm -f conftest.val
28538
 
else
28539
 
  ac_cv_sizeof_off_t=0
28540
 
fi
28541
 
fi
28542
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
28543
 
echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6
 
27631
fi
 
27632
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
 
27633
echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6; }
 
27634
 
 
27635
 
 
27636
 
28544
27637
cat >>confdefs.h <<_ACEOF
28545
27638
#define SIZEOF_OFF_T $ac_cv_sizeof_off_t
28546
27639
_ACEOF
28549
27642
 
28550
27643
if test "x$ac_cv_func_sendfile" = xyes; then
28551
27644
        # check if sendfile works
28552
 
        echo "$as_me:$LINENO: checking if sendfile works" >&5
28553
 
echo $ECHO_N "checking if sendfile works... $ECHO_C" >&6
 
27645
        { echo "$as_me:$LINENO: checking if sendfile works" >&5
 
27646
echo $ECHO_N "checking if sendfile works... $ECHO_C" >&6; }
28554
27647
        if test "x$cross_compiling" = xno; then
28555
27648
        if test "$cross_compiling" = yes; then
28556
27649
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
28577
27670
                    }
28578
27671
_ACEOF
28579
27672
rm -f conftest$ac_exeext
28580
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28581
 
  (eval $ac_link) 2>&5
 
27673
if { (ac_try="$ac_link"
 
27674
case "(($ac_try" in
 
27675
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27676
  *) ac_try_echo=$ac_try;;
 
27677
esac
 
27678
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27679
  (eval "$ac_link") 2>&5
28582
27680
  ac_status=$?
28583
27681
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28584
27682
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28585
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28586
 
  (eval $ac_try) 2>&5
 
27683
  { (case "(($ac_try" in
 
27684
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27685
  *) ac_try_echo=$ac_try;;
 
27686
esac
 
27687
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27688
  (eval "$ac_try") 2>&5
28587
27689
  ac_status=$?
28588
27690
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28589
27691
  (exit $ac_status); }; }; then
28590
 
  echo "$as_me:$LINENO: result: yes" >&5
28591
 
echo "${ECHO_T}yes" >&6
 
27692
  { echo "$as_me:$LINENO: result: yes" >&5
 
27693
echo "${ECHO_T}yes" >&6; }
28592
27694
else
28593
27695
  echo "$as_me: program exited with status $ac_status" >&5
28594
27696
echo "$as_me: failed program was:" >&5
28595
27697
sed 's/^/| /' conftest.$ac_ext >&5
28596
27698
 
28597
27699
( exit $ac_status )
28598
 
 echo "$as_me:$LINENO: result: no" >&5
28599
 
echo "${ECHO_T}no" >&6
 
27700
 { echo "$as_me:$LINENO: result: no" >&5
 
27701
echo "${ECHO_T}no" >&6; }
28600
27702
 
28601
27703
cat >>confdefs.h <<\_ACEOF
28602
27704
#define HAVE_SENDFILE_BROKEN 1
28603
27705
_ACEOF
28604
27706
 
28605
27707
fi
28606
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
27708
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28607
27709
fi
 
27710
 
 
27711
 
28608
27712
        else
28609
 
              echo "$as_me:$LINENO: result: no" >&5
28610
 
echo "${ECHO_T}no" >&6
 
27713
              { echo "$as_me:$LINENO: result: no" >&5
 
27714
echo "${ECHO_T}no" >&6; }
28611
27715
 
28612
27716
cat >>confdefs.h <<\_ACEOF
28613
27717
#define HAVE_SENDFILE_BROKEN 1
28617
27721
fi
28618
27722
 
28619
27723
 
28620
 
# Check whether --enable-ipv6 or --disable-ipv6 was given.
 
27724
# Check whether --enable-ipv6 was given.
28621
27725
if test "${enable_ipv6+set}" = set; then
28622
 
  enableval="$enable_ipv6"
28623
 
  case "${enableval}" in
 
27726
  enableval=$enable_ipv6; case "${enableval}" in
28624
27727
   yes) ipv6=true ;;
28625
27728
    no) ipv6=false ;;
28626
27729
     *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-ipv6" >&5
28629
27732
  esac
28630
27733
else
28631
27734
  ipv6=true
28632
 
fi;
 
27735
fi
 
27736
 
28633
27737
 
28634
27738
if test x$ipv6 = xtrue; then
28635
 
  echo "$as_me:$LINENO: checking for IPv6 support" >&5
28636
 
echo $ECHO_N "checking for IPv6 support... $ECHO_C" >&6
 
27739
  { echo "$as_me:$LINENO: checking for IPv6 support" >&5
 
27740
echo $ECHO_N "checking for IPv6 support... $ECHO_C" >&6; }
28637
27741
if test "${ac_cv_ipv6_support+set}" = set; then
28638
27742
  echo $ECHO_N "(cached) $ECHO_C" >&6
28639
27743
else
28655
27759
}
28656
27760
_ACEOF
28657
27761
rm -f conftest.$ac_objext conftest$ac_exeext
28658
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28659
 
  (eval $ac_link) 2>conftest.er1
 
27762
if { (ac_try="$ac_link"
 
27763
case "(($ac_try" in
 
27764
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27765
  *) ac_try_echo=$ac_try;;
 
27766
esac
 
27767
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27768
  (eval "$ac_link") 2>conftest.er1
28660
27769
  ac_status=$?
28661
27770
  grep -v '^ *+' conftest.er1 >conftest.err
28662
27771
  rm -f conftest.er1
28663
27772
  cat conftest.err >&5
28664
27773
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28665
 
  (exit $ac_status); } &&
28666
 
         { ac_try='test -z "$ac_c_werror_flag"
28667
 
                         || test ! -s conftest.err'
28668
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28669
 
  (eval $ac_try) 2>&5
28670
 
  ac_status=$?
28671
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28672
 
  (exit $ac_status); }; } &&
28673
 
         { ac_try='test -s conftest$ac_exeext'
28674
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28675
 
  (eval $ac_try) 2>&5
28676
 
  ac_status=$?
28677
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28678
 
  (exit $ac_status); }; }; then
 
27774
  (exit $ac_status); } && {
 
27775
         test -z "$ac_c_werror_flag" ||
 
27776
         test ! -s conftest.err
 
27777
       } && test -s conftest$ac_exeext &&
 
27778
       $as_test_x conftest$ac_exeext; then
28679
27779
  ac_cv_ipv6_support=yes
28680
27780
else
28681
27781
  echo "$as_me: failed program was:" >&5
28682
27782
sed 's/^/| /' conftest.$ac_ext >&5
28683
27783
 
28684
 
ac_cv_ipv6_support=no
 
27784
        ac_cv_ipv6_support=no
28685
27785
fi
28686
 
rm -f conftest.err conftest.$ac_objext \
 
27786
 
 
27787
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28687
27788
      conftest$ac_exeext conftest.$ac_ext
28688
27789
fi
28689
 
echo "$as_me:$LINENO: result: $ac_cv_ipv6_support" >&5
28690
 
echo "${ECHO_T}$ac_cv_ipv6_support" >&6
 
27790
{ echo "$as_me:$LINENO: result: $ac_cv_ipv6_support" >&5
 
27791
echo "${ECHO_T}$ac_cv_ipv6_support" >&6; }
28691
27792
 
28692
27793
  if test "$ac_cv_ipv6_support" = yes; then
28693
27794
 
28699
27800
fi
28700
27801
 
28701
27802
 
28702
 
 
28703
 
 
28704
 
if test "x$cross_compiling" = xyes; then
 
27803
 if test "x$cross_compiling" = xyes; then
28705
27804
  CROSS_COMPILING_TRUE=
28706
27805
  CROSS_COMPILING_FALSE='#'
28707
27806
else
28711
27810
 
28712
27811
 
28713
27812
fastcgi_found=no
28714
 
echo "$as_me:$LINENO: checking for FCGI_Accept in -lfcgi" >&5
28715
 
echo $ECHO_N "checking for FCGI_Accept in -lfcgi... $ECHO_C" >&6
 
27813
{ echo "$as_me:$LINENO: checking for FCGI_Accept in -lfcgi" >&5
 
27814
echo $ECHO_N "checking for FCGI_Accept in -lfcgi... $ECHO_C" >&6; }
28716
27815
if test "${ac_cv_lib_fcgi_FCGI_Accept+set}" = set; then
28717
27816
  echo $ECHO_N "(cached) $ECHO_C" >&6
28718
27817
else
28725
27824
cat >>conftest.$ac_ext <<_ACEOF
28726
27825
/* end confdefs.h.  */
28727
27826
 
28728
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
27827
/* Override any GCC internal prototype to avoid an error.
 
27828
   Use char because int might match the return type of a GCC
 
27829
   builtin and then its argument prototype would still apply.  */
28729
27830
#ifdef __cplusplus
28730
27831
extern "C"
28731
27832
#endif
28732
 
/* We use char because int might match the return type of a gcc2
28733
 
   builtin and then its argument prototype would still apply.  */
28734
27833
char FCGI_Accept ();
28735
27834
int
28736
27835
main ()
28737
27836
{
28738
 
FCGI_Accept ();
 
27837
return FCGI_Accept ();
28739
27838
  ;
28740
27839
  return 0;
28741
27840
}
28742
27841
_ACEOF
28743
27842
rm -f conftest.$ac_objext conftest$ac_exeext
28744
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28745
 
  (eval $ac_link) 2>conftest.er1
 
27843
if { (ac_try="$ac_link"
 
27844
case "(($ac_try" in
 
27845
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27846
  *) ac_try_echo=$ac_try;;
 
27847
esac
 
27848
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27849
  (eval "$ac_link") 2>conftest.er1
28746
27850
  ac_status=$?
28747
27851
  grep -v '^ *+' conftest.er1 >conftest.err
28748
27852
  rm -f conftest.er1
28749
27853
  cat conftest.err >&5
28750
27854
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28751
 
  (exit $ac_status); } &&
28752
 
         { ac_try='test -z "$ac_c_werror_flag"
28753
 
                         || test ! -s conftest.err'
28754
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28755
 
  (eval $ac_try) 2>&5
28756
 
  ac_status=$?
28757
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28758
 
  (exit $ac_status); }; } &&
28759
 
         { ac_try='test -s conftest$ac_exeext'
28760
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28761
 
  (eval $ac_try) 2>&5
28762
 
  ac_status=$?
28763
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28764
 
  (exit $ac_status); }; }; then
 
27855
  (exit $ac_status); } && {
 
27856
         test -z "$ac_c_werror_flag" ||
 
27857
         test ! -s conftest.err
 
27858
       } && test -s conftest$ac_exeext &&
 
27859
       $as_test_x conftest$ac_exeext; then
28765
27860
  ac_cv_lib_fcgi_FCGI_Accept=yes
28766
27861
else
28767
27862
  echo "$as_me: failed program was:" >&5
28768
27863
sed 's/^/| /' conftest.$ac_ext >&5
28769
27864
 
28770
 
ac_cv_lib_fcgi_FCGI_Accept=no
 
27865
        ac_cv_lib_fcgi_FCGI_Accept=no
28771
27866
fi
28772
 
rm -f conftest.err conftest.$ac_objext \
 
27867
 
 
27868
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28773
27869
      conftest$ac_exeext conftest.$ac_ext
28774
27870
LIBS=$ac_check_lib_save_LIBS
28775
27871
fi
28776
 
echo "$as_me:$LINENO: result: $ac_cv_lib_fcgi_FCGI_Accept" >&5
28777
 
echo "${ECHO_T}$ac_cv_lib_fcgi_FCGI_Accept" >&6
 
27872
{ echo "$as_me:$LINENO: result: $ac_cv_lib_fcgi_FCGI_Accept" >&5
 
27873
echo "${ECHO_T}$ac_cv_lib_fcgi_FCGI_Accept" >&6; }
28778
27874
if test $ac_cv_lib_fcgi_FCGI_Accept = yes; then
28779
27875
 
28780
27876
 
28782
27878
for ac_header in fastcgi.h fastcgi/fastcgi.h
28783
27879
do
28784
27880
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28785
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
28786
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
28787
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28788
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
27881
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
27882
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
27883
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
27884
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28789
27885
  echo $ECHO_N "(cached) $ECHO_C" >&6
28790
27886
fi
28791
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28792
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
27887
ac_res=`eval echo '${'$as_ac_Header'}'`
 
27888
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
27889
echo "${ECHO_T}$ac_res" >&6; }
28793
27890
else
28794
27891
  # Is the header compilable?
28795
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
28796
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
27892
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
27893
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28797
27894
cat >conftest.$ac_ext <<_ACEOF
28798
27895
/* confdefs.h.  */
28799
27896
_ACEOF
28804
27901
#include <$ac_header>
28805
27902
_ACEOF
28806
27903
rm -f conftest.$ac_objext
28807
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28808
 
  (eval $ac_compile) 2>conftest.er1
 
27904
if { (ac_try="$ac_compile"
 
27905
case "(($ac_try" in
 
27906
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27907
  *) ac_try_echo=$ac_try;;
 
27908
esac
 
27909
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27910
  (eval "$ac_compile") 2>conftest.er1
28809
27911
  ac_status=$?
28810
27912
  grep -v '^ *+' conftest.er1 >conftest.err
28811
27913
  rm -f conftest.er1
28812
27914
  cat conftest.err >&5
28813
27915
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28814
 
  (exit $ac_status); } &&
28815
 
         { ac_try='test -z "$ac_c_werror_flag"
28816
 
                         || test ! -s conftest.err'
28817
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28818
 
  (eval $ac_try) 2>&5
28819
 
  ac_status=$?
28820
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28821
 
  (exit $ac_status); }; } &&
28822
 
         { ac_try='test -s conftest.$ac_objext'
28823
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28824
 
  (eval $ac_try) 2>&5
28825
 
  ac_status=$?
28826
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28827
 
  (exit $ac_status); }; }; then
 
27916
  (exit $ac_status); } && {
 
27917
         test -z "$ac_c_werror_flag" ||
 
27918
         test ! -s conftest.err
 
27919
       } && test -s conftest.$ac_objext; then
28828
27920
  ac_header_compiler=yes
28829
27921
else
28830
27922
  echo "$as_me: failed program was:" >&5
28831
27923
sed 's/^/| /' conftest.$ac_ext >&5
28832
27924
 
28833
 
ac_header_compiler=no
 
27925
        ac_header_compiler=no
28834
27926
fi
28835
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28836
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28837
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
27927
 
 
27928
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
27929
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
27930
echo "${ECHO_T}$ac_header_compiler" >&6; }
28838
27931
 
28839
27932
# Is the header present?
28840
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
28841
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
27933
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
27934
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28842
27935
cat >conftest.$ac_ext <<_ACEOF
28843
27936
/* confdefs.h.  */
28844
27937
_ACEOF
28847
27940
/* end confdefs.h.  */
28848
27941
#include <$ac_header>
28849
27942
_ACEOF
28850
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28851
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
27943
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
27944
case "(($ac_try" in
 
27945
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27946
  *) ac_try_echo=$ac_try;;
 
27947
esac
 
27948
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27949
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28852
27950
  ac_status=$?
28853
27951
  grep -v '^ *+' conftest.er1 >conftest.err
28854
27952
  rm -f conftest.er1
28855
27953
  cat conftest.err >&5
28856
27954
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28857
 
  (exit $ac_status); } >/dev/null; then
28858
 
  if test -s conftest.err; then
28859
 
    ac_cpp_err=$ac_c_preproc_warn_flag
28860
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28861
 
  else
28862
 
    ac_cpp_err=
28863
 
  fi
28864
 
else
28865
 
  ac_cpp_err=yes
28866
 
fi
28867
 
if test -z "$ac_cpp_err"; then
 
27955
  (exit $ac_status); } >/dev/null && {
 
27956
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
27957
         test ! -s conftest.err
 
27958
       }; then
28868
27959
  ac_header_preproc=yes
28869
27960
else
28870
27961
  echo "$as_me: failed program was:" >&5
28872
27963
 
28873
27964
  ac_header_preproc=no
28874
27965
fi
 
27966
 
28875
27967
rm -f conftest.err conftest.$ac_ext
28876
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28877
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
27968
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
27969
echo "${ECHO_T}$ac_header_preproc" >&6; }
28878
27970
 
28879
27971
# So?  What about this header?
28880
27972
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28898
27990
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28899
27991
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28900
27992
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28901
 
    (
28902
 
      cat <<\_ASBOX
 
27993
    ( cat <<\_ASBOX
28903
27994
## ------------------------------ ##
28904
27995
## Report this to jan@kneschke.de ##
28905
27996
## ------------------------------ ##
28906
27997
_ASBOX
28907
 
    ) |
28908
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
27998
     ) | sed "s/^/$as_me: WARNING:     /" >&2
28909
27999
    ;;
28910
28000
esac
28911
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
28912
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28913
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
28001
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
28002
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
28003
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28914
28004
  echo $ECHO_N "(cached) $ECHO_C" >&6
28915
28005
else
28916
28006
  eval "$as_ac_Header=\$ac_header_preproc"
28917
28007
fi
28918
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28919
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
28008
ac_res=`eval echo '${'$as_ac_Header'}'`
 
28009
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
28010
echo "${ECHO_T}$ac_res" >&6; }
28920
28011
 
28921
28012
fi
28922
28013
if test `eval echo '${'$as_ac_Header'}'` = yes; then
28934
28025
fi
28935
28026
 
28936
28027
 
28937
 
 
28938
 
 
28939
 
if test "x$fastcgi_found" = xyes; then
 
28028
 if test "x$fastcgi_found" = xyes; then
28940
28029
  CHECK_WITH_FASTCGI_TRUE=
28941
28030
  CHECK_WITH_FASTCGI_FALSE='#'
28942
28031
else
28957
28046
_ACEOF
28958
28047
 
28959
28048
 
28960
 
                                                                                                                                                                          ac_config_files="$ac_config_files Makefile src/Makefile doc/Makefile tests/Makefile tests/docroot/Makefile tests/docroot/123/Makefile tests/docroot/www/Makefile tests/docroot/www/go/Makefile tests/docroot/www/indexfile/Makefile tests/docroot/www/expire/Makefile lighttpd.spec distribute.sh cygwin/Makefile cygwin/lighttpd.README openwrt/Makefile openwrt/control openwrt/lighttpd.mk"
 
28049
ac_config_files="$ac_config_files Makefile src/Makefile doc/Makefile tests/Makefile tests/docroot/Makefile tests/docroot/123/Makefile tests/docroot/www/Makefile tests/docroot/www/go/Makefile tests/docroot/www/indexfile/Makefile tests/docroot/www/expire/Makefile lighttpd.spec distribute.sh cygwin/Makefile cygwin/lighttpd.README openwrt/Makefile openwrt/control openwrt/lighttpd.mk"
28961
28050
 
28962
28051
cat >confcache <<\_ACEOF
28963
28052
# This file is a shell script that caches the results of configure
28977
28066
 
28978
28067
# The following way of writing the cache mishandles newlines in values,
28979
28068
# but we know of no workaround that is simple, portable, and efficient.
28980
 
# So, don't put newlines in cache variables' values.
 
28069
# So, we kill variables containing newlines.
28981
28070
# Ultrix sh set writes to stderr and can't be redirected directly,
28982
28071
# and sets the high bit in the cache file unless we assign to the vars.
28983
 
{
 
28072
(
 
28073
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
28074
    eval ac_val=\$$ac_var
 
28075
    case $ac_val in #(
 
28076
    *${as_nl}*)
 
28077
      case $ac_var in #(
 
28078
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
28079
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
28080
      esac
 
28081
      case $ac_var in #(
 
28082
      _ | IFS | as_nl) ;; #(
 
28083
      *) $as_unset $ac_var ;;
 
28084
      esac ;;
 
28085
    esac
 
28086
  done
 
28087
 
28984
28088
  (set) 2>&1 |
28985
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
28986
 
    *ac_space=\ *)
 
28089
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
28090
    *${as_nl}ac_space=\ *)
28987
28091
      # `set' does not quote correctly, so add quotes (double-quote
28988
28092
      # substitution turns \\\\ into \\, and sed turns \\ into \).
28989
28093
      sed -n \
28990
28094
        "s/'/'\\\\''/g;
28991
28095
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28992
 
      ;;
 
28096
      ;; #(
28993
28097
    *)
28994
28098
      # `set' quotes correctly as required by POSIX, so do not add quotes.
28995
 
      sed -n \
28996
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
28099
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
28997
28100
      ;;
28998
 
    esac;
28999
 
} |
 
28101
    esac |
 
28102
    sort
 
28103
) |
29000
28104
  sed '
 
28105
     /^ac_cv_env_/b end
29001
28106
     t clear
29002
 
     : clear
 
28107
     :clear
29003
28108
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29004
28109
     t end
29005
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29006
 
     : end' >>confcache
29007
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
29008
 
  if test -w $cache_file; then
29009
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
28110
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
28111
     :end' >>confcache
 
28112
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
28113
  if test -w "$cache_file"; then
 
28114
    test "x$cache_file" != "x/dev/null" &&
 
28115
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
28116
echo "$as_me: updating cache $cache_file" >&6;}
29010
28117
    cat confcache >$cache_file
29011
28118
  else
29012
 
    echo "not updating unwritable cache $cache_file"
 
28119
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
28120
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
29013
28121
  fi
29014
28122
fi
29015
28123
rm -f confcache
29018
28126
# Let make expand exec_prefix.
29019
28127
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
29020
28128
 
29021
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
29022
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
29023
 
# trailing colons and then remove the whole line if VPATH becomes empty
29024
 
# (actually we leave an empty line to preserve line numbers).
29025
 
if test "x$srcdir" = x.; then
29026
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
29027
 
s/:*\$(srcdir):*/:/;
29028
 
s/:*\${srcdir}:*/:/;
29029
 
s/:*@srcdir@:*/:/;
29030
 
s/^\([^=]*=[     ]*\):*/\1/;
29031
 
s/:*$//;
29032
 
s/^[^=]*=[       ]*$//;
29033
 
}'
29034
 
fi
29035
 
 
29036
28129
DEFS=-DHAVE_CONFIG_H
29037
28130
 
29038
28131
ac_libobjs=
29039
28132
ac_ltlibobjs=
29040
28133
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
29041
28134
  # 1. Remove the extension, and $U if already installed.
29042
 
  ac_i=`echo "$ac_i" |
29043
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
29044
 
  # 2. Add them.
29045
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
29046
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
28135
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
28136
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
28137
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
28138
  #    will be set to the directory where LIBOBJS objects are built.
 
28139
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
28140
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
29047
28141
done
29048
28142
LIBOBJS=$ac_libobjs
29049
28143
 
29123
28217
## M4sh Initialization.  ##
29124
28218
## --------------------- ##
29125
28219
 
29126
 
# Be Bourne compatible
 
28220
# Be more Bourne compatible
 
28221
DUALCASE=1; export DUALCASE # for MKS sh
29127
28222
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
29128
28223
  emulate sh
29129
28224
  NULLCMD=:
29130
28225
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
29131
28226
  # is contrary to our usage.  Disable this feature.
29132
28227
  alias -g '${1+"$@"}'='"$@"'
29133
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
29134
 
  set -o posix
29135
 
fi
29136
 
DUALCASE=1; export DUALCASE # for MKS sh
 
28228
  setopt NO_GLOB_SUBST
 
28229
else
 
28230
  case `(set -o) 2>/dev/null` in
 
28231
  *posix*) set -o posix ;;
 
28232
esac
 
28233
 
 
28234
fi
 
28235
 
 
28236
 
 
28237
 
 
28238
 
 
28239
# PATH needs CR
 
28240
# Avoid depending upon Character Ranges.
 
28241
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
28242
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
28243
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
28244
as_cr_digits='0123456789'
 
28245
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
28246
 
 
28247
# The user is always right.
 
28248
if test "${PATH_SEPARATOR+set}" != set; then
 
28249
  echo "#! /bin/sh" >conf$$.sh
 
28250
  echo  "exit 0"   >>conf$$.sh
 
28251
  chmod +x conf$$.sh
 
28252
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
28253
    PATH_SEPARATOR=';'
 
28254
  else
 
28255
    PATH_SEPARATOR=:
 
28256
  fi
 
28257
  rm -f conf$$.sh
 
28258
fi
29137
28259
 
29138
28260
# Support unset when possible.
29139
28261
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29143
28265
fi
29144
28266
 
29145
28267
 
 
28268
# IFS
 
28269
# We need space, tab and new line, in precisely that order.  Quoting is
 
28270
# there to prevent editors from complaining about space-tab.
 
28271
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
28272
# splitting by setting IFS to empty value.)
 
28273
as_nl='
 
28274
'
 
28275
IFS=" ""        $as_nl"
 
28276
 
 
28277
# Find who we are.  Look in the path if we contain no directory separator.
 
28278
case $0 in
 
28279
  *[\\/]* ) as_myself=$0 ;;
 
28280
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
28281
for as_dir in $PATH
 
28282
do
 
28283
  IFS=$as_save_IFS
 
28284
  test -z "$as_dir" && as_dir=.
 
28285
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
28286
done
 
28287
IFS=$as_save_IFS
 
28288
 
 
28289
     ;;
 
28290
esac
 
28291
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
28292
# in which case we are not to be found in the path.
 
28293
if test "x$as_myself" = x; then
 
28294
  as_myself=$0
 
28295
fi
 
28296
if test ! -f "$as_myself"; then
 
28297
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
28298
  { (exit 1); exit 1; }
 
28299
fi
 
28300
 
29146
28301
# Work around bugs in pre-3.0 UWIN ksh.
29147
 
$as_unset ENV MAIL MAILPATH
 
28302
for as_var in ENV MAIL MAILPATH
 
28303
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
28304
done
29148
28305
PS1='$ '
29149
28306
PS2='> '
29150
28307
PS4='+ '
29158
28315
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
29159
28316
    eval $as_var=C; export $as_var
29160
28317
  else
29161
 
    $as_unset $as_var
 
28318
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
29162
28319
  fi
29163
28320
done
29164
28321
 
29165
28322
# Required to use basename.
29166
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
28323
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
28324
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
29167
28325
  as_expr=expr
29168
28326
else
29169
28327
  as_expr=false
29170
28328
fi
29171
28329
 
29172
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
28330
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
29173
28331
  as_basename=basename
29174
28332
else
29175
28333
  as_basename=false
29177
28335
 
29178
28336
 
29179
28337
# Name of the executable.
29180
 
as_me=`$as_basename "$0" ||
 
28338
as_me=`$as_basename -- "$0" ||
29181
28339
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
29182
28340
         X"$0" : 'X\(//\)$' \| \
29183
 
         X"$0" : 'X\(/\)$' \| \
29184
 
         .     : '\(.\)' 2>/dev/null ||
 
28341
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
29185
28342
echo X/"$0" |
29186
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
29187
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
29188
 
          /^X\/\(\/\).*/{ s//\1/; q; }
29189
 
          s/.*/./; q'`
29190
 
 
29191
 
 
29192
 
# PATH needs CR, and LINENO needs CR and PATH.
29193
 
# Avoid depending upon Character Ranges.
29194
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
29195
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
29196
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
29197
 
as_cr_digits='0123456789'
29198
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
29199
 
 
29200
 
# The user is always right.
29201
 
if test "${PATH_SEPARATOR+set}" != set; then
29202
 
  echo "#! /bin/sh" >conf$$.sh
29203
 
  echo  "exit 0"   >>conf$$.sh
29204
 
  chmod +x conf$$.sh
29205
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
29206
 
    PATH_SEPARATOR=';'
29207
 
  else
29208
 
    PATH_SEPARATOR=:
29209
 
  fi
29210
 
  rm -f conf$$.sh
29211
 
fi
29212
 
 
29213
 
 
29214
 
  as_lineno_1=$LINENO
29215
 
  as_lineno_2=$LINENO
29216
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
29217
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
29218
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
29219
 
  # Find who we are.  Look in the path if we contain no path at all
29220
 
  # relative or not.
29221
 
  case $0 in
29222
 
    *[\\/]* ) as_myself=$0 ;;
29223
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29224
 
for as_dir in $PATH
29225
 
do
29226
 
  IFS=$as_save_IFS
29227
 
  test -z "$as_dir" && as_dir=.
29228
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
29229
 
done
29230
 
 
29231
 
       ;;
29232
 
  esac
29233
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
29234
 
  # in which case we are not to be found in the path.
29235
 
  if test "x$as_myself" = x; then
29236
 
    as_myself=$0
29237
 
  fi
29238
 
  if test ! -f "$as_myself"; then
29239
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
29240
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
29241
 
   { (exit 1); exit 1; }; }
29242
 
  fi
29243
 
  case $CONFIG_SHELL in
29244
 
  '')
29245
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29246
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
29247
 
do
29248
 
  IFS=$as_save_IFS
29249
 
  test -z "$as_dir" && as_dir=.
29250
 
  for as_base in sh bash ksh sh5; do
29251
 
         case $as_dir in
29252
 
         /*)
29253
 
           if ("$as_dir/$as_base" -c '
29254
 
  as_lineno_1=$LINENO
29255
 
  as_lineno_2=$LINENO
29256
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
29257
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
29258
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
29259
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
29260
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
29261
 
             CONFIG_SHELL=$as_dir/$as_base
29262
 
             export CONFIG_SHELL
29263
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
29264
 
           fi;;
29265
 
         esac
29266
 
       done
29267
 
done
29268
 
;;
29269
 
  esac
 
28343
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
28344
            s//\1/
 
28345
            q
 
28346
          }
 
28347
          /^X\/\(\/\/\)$/{
 
28348
            s//\1/
 
28349
            q
 
28350
          }
 
28351
          /^X\/\(\/\).*/{
 
28352
            s//\1/
 
28353
            q
 
28354
          }
 
28355
          s/.*/./; q'`
 
28356
 
 
28357
# CDPATH.
 
28358
$as_unset CDPATH
 
28359
 
 
28360
 
 
28361
 
 
28362
  as_lineno_1=$LINENO
 
28363
  as_lineno_2=$LINENO
 
28364
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
28365
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
29270
28366
 
29271
28367
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
29272
28368
  # uniformly replaced by the line number.  The first 'sed' inserts a
29273
 
  # line-number line before each line; the second 'sed' does the real
29274
 
  # work.  The second script uses 'N' to pair each line-number line
29275
 
  # with the numbered line, and appends trailing '-' during
29276
 
  # substitution so that $LINENO is not a special case at line end.
 
28369
  # line-number line after each line using $LINENO; the second 'sed'
 
28370
  # does the real work.  The second script uses 'N' to pair each
 
28371
  # line-number line with the line containing $LINENO, and appends
 
28372
  # trailing '-' during substitution so that $LINENO is not a special
 
28373
  # case at line end.
29277
28374
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
29278
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
29279
 
  sed '=' <$as_myself |
 
28375
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
28376
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
28377
  sed -n '
 
28378
    p
 
28379
    /[$]LINENO/=
 
28380
  ' <$as_myself |
29280
28381
    sed '
 
28382
      s/[$]LINENO.*/&-/
 
28383
      t lineno
 
28384
      b
 
28385
      :lineno
29281
28386
      N
29282
 
      s,$,-,
29283
 
      : loop
29284
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
28387
      :loop
 
28388
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
29285
28389
      t loop
29286
 
      s,-$,,
29287
 
      s,^['$as_cr_digits']*\n,,
 
28390
      s/-\n.*//
29288
28391
    ' >$as_me.lineno &&
29289
 
  chmod +x $as_me.lineno ||
29290
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
29291
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
28392
  chmod +x "$as_me.lineno" ||
 
28393
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
29292
28394
   { (exit 1); exit 1; }; }
29293
28395
 
29294
28396
  # Don't try to exec as it changes $[0], causing all sort of problems
29295
28397
  # (the dirname of $[0] is not the place where we might find the
29296
 
  # original and so on.  Autoconf is especially sensible to this).
29297
 
  . ./$as_me.lineno
 
28398
  # original and so on.  Autoconf is especially sensitive to this).
 
28399
  . "./$as_me.lineno"
29298
28400
  # Exit status is that of the last command.
29299
28401
  exit
29300
28402
}
29301
28403
 
29302
28404
 
29303
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
29304
 
  *c*,-n*) ECHO_N= ECHO_C='
29305
 
' ECHO_T='      ' ;;
29306
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
29307
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
28405
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
28406
  as_dirname=dirname
 
28407
else
 
28408
  as_dirname=false
 
28409
fi
 
28410
 
 
28411
ECHO_C= ECHO_N= ECHO_T=
 
28412
case `echo -n x` in
 
28413
-n*)
 
28414
  case `echo 'x\c'` in
 
28415
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
28416
  *)   ECHO_C='\c';;
 
28417
  esac;;
 
28418
*)
 
28419
  ECHO_N='-n';;
29308
28420
esac
29309
28421
 
29310
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
28422
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
28423
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
29311
28424
  as_expr=expr
29312
28425
else
29313
28426
  as_expr=false
29314
28427
fi
29315
28428
 
29316
28429
rm -f conf$$ conf$$.exe conf$$.file
 
28430
if test -d conf$$.dir; then
 
28431
  rm -f conf$$.dir/conf$$.file
 
28432
else
 
28433
  rm -f conf$$.dir
 
28434
  mkdir conf$$.dir
 
28435
fi
29317
28436
echo >conf$$.file
29318
28437
if ln -s conf$$.file conf$$ 2>/dev/null; then
29319
 
  # We could just check for DJGPP; but this test a) works b) is more generic
29320
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
29321
 
  if test -f conf$$.exe; then
29322
 
    # Don't use ln at all; we don't have any links
 
28438
  as_ln_s='ln -s'
 
28439
  # ... but there are two gotchas:
 
28440
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
28441
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
28442
  # In both cases, we have to default to `cp -p'.
 
28443
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
29323
28444
    as_ln_s='cp -p'
29324
 
  else
29325
 
    as_ln_s='ln -s'
29326
 
  fi
29327
28445
elif ln conf$$.file conf$$ 2>/dev/null; then
29328
28446
  as_ln_s=ln
29329
28447
else
29330
28448
  as_ln_s='cp -p'
29331
28449
fi
29332
 
rm -f conf$$ conf$$.exe conf$$.file
 
28450
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
28451
rmdir conf$$.dir 2>/dev/null
29333
28452
 
29334
28453
if mkdir -p . 2>/dev/null; then
29335
28454
  as_mkdir_p=:
29338
28457
  as_mkdir_p=false
29339
28458
fi
29340
28459
 
29341
 
as_executable_p="test -f"
 
28460
if test -x / >/dev/null 2>&1; then
 
28461
  as_test_x='test -x'
 
28462
else
 
28463
  if ls -dL / >/dev/null 2>&1; then
 
28464
    as_ls_L_option=L
 
28465
  else
 
28466
    as_ls_L_option=
 
28467
  fi
 
28468
  as_test_x='
 
28469
    eval sh -c '\''
 
28470
      if test -d "$1"; then
 
28471
        test -d "$1/.";
 
28472
      else
 
28473
        case $1 in
 
28474
        -*)set "./$1";;
 
28475
        esac;
 
28476
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
28477
        ???[sx]*):;;*)false;;esac;fi
 
28478
    '\'' sh
 
28479
  '
 
28480
fi
 
28481
as_executable_p=$as_test_x
29342
28482
 
29343
28483
# Sed expression to map a string onto a valid CPP name.
29344
28484
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
29347
28487
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
29348
28488
 
29349
28489
 
29350
 
# IFS
29351
 
# We need space, tab and new line, in precisely that order.
29352
 
as_nl='
29353
 
'
29354
 
IFS="   $as_nl"
29355
 
 
29356
 
# CDPATH.
29357
 
$as_unset CDPATH
29358
 
 
29359
28490
exec 6>&1
29360
28491
 
29361
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
28492
# Save the log message, to keep $[0] and so on meaningful, and to
29362
28493
# report actual input values of CONFIG_FILES etc. instead of their
29363
 
# values after options handling.  Logging --version etc. is OK.
29364
 
exec 5>>config.log
29365
 
{
29366
 
  echo
29367
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
29368
 
## Running $as_me. ##
29369
 
_ASBOX
29370
 
} >&5
29371
 
cat >&5 <<_CSEOF
29372
 
 
29373
 
This file was extended by lighttpd $as_me 1.4.13, which was
29374
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
28494
# values after options handling.
 
28495
ac_log="
 
28496
This file was extended by lighttpd $as_me 1.4.15, which was
 
28497
generated by GNU Autoconf 2.61.  Invocation command line was
29375
28498
 
29376
28499
  CONFIG_FILES    = $CONFIG_FILES
29377
28500
  CONFIG_HEADERS  = $CONFIG_HEADERS
29379
28502
  CONFIG_COMMANDS = $CONFIG_COMMANDS
29380
28503
  $ $0 $@
29381
28504
 
29382
 
_CSEOF
29383
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
29384
 
echo >&5
 
28505
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
28506
"
 
28507
 
29385
28508
_ACEOF
29386
28509
 
 
28510
cat >>$CONFIG_STATUS <<_ACEOF
29387
28511
# Files that config.status was made for.
29388
 
if test -n "$ac_config_files"; then
29389
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
29390
 
fi
29391
 
 
29392
 
if test -n "$ac_config_headers"; then
29393
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
29394
 
fi
29395
 
 
29396
 
if test -n "$ac_config_links"; then
29397
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
29398
 
fi
29399
 
 
29400
 
if test -n "$ac_config_commands"; then
29401
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
29402
 
fi
 
28512
config_files="$ac_config_files"
 
28513
config_headers="$ac_config_headers"
 
28514
config_commands="$ac_config_commands"
 
28515
 
 
28516
_ACEOF
29403
28517
 
29404
28518
cat >>$CONFIG_STATUS <<\_ACEOF
29405
 
 
29406
28519
ac_cs_usage="\
29407
28520
\`$as_me' instantiates files from templates according to the
29408
28521
current configuration.
29410
28523
Usage: $0 [OPTIONS] [FILE]...
29411
28524
 
29412
28525
  -h, --help       print this help, then exit
29413
 
  -V, --version    print version number, then exit
 
28526
  -V, --version    print version number and configuration settings, then exit
29414
28527
  -q, --quiet      do not print progress messages
29415
28528
  -d, --debug      don't remove temporary files
29416
28529
      --recheck    update $as_me by reconfiguring in the same conditions
29429
28542
$config_commands
29430
28543
 
29431
28544
Report bugs to <bug-autoconf@gnu.org>."
 
28545
 
29432
28546
_ACEOF
29433
 
 
29434
28547
cat >>$CONFIG_STATUS <<_ACEOF
29435
28548
ac_cs_version="\\
29436
 
lighttpd config.status 1.4.13
29437
 
configured by $0, generated by GNU Autoconf 2.59,
29438
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
28549
lighttpd config.status 1.4.15
 
28550
configured by $0, generated by GNU Autoconf 2.61,
 
28551
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
29439
28552
 
29440
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
28553
Copyright (C) 2006 Free Software Foundation, Inc.
29441
28554
This config.status script is free software; the Free Software Foundation
29442
28555
gives unlimited permission to copy, distribute and modify it."
29443
 
srcdir=$srcdir
29444
 
INSTALL="$INSTALL"
 
28556
 
 
28557
ac_pwd='$ac_pwd'
 
28558
srcdir='$srcdir'
 
28559
INSTALL='$INSTALL'
 
28560
MKDIR_P='$MKDIR_P'
29445
28561
_ACEOF
29446
28562
 
29447
28563
cat >>$CONFIG_STATUS <<\_ACEOF
29452
28568
do
29453
28569
  case $1 in
29454
28570
  --*=*)
29455
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
29456
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
28571
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
28572
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
29457
28573
    ac_shift=:
29458
28574
    ;;
29459
 
  -*)
 
28575
  *)
29460
28576
    ac_option=$1
29461
28577
    ac_optarg=$2
29462
28578
    ac_shift=shift
29463
28579
    ;;
29464
 
  *) # This is not an option, so the user has probably given explicit
29465
 
     # arguments.
29466
 
     ac_option=$1
29467
 
     ac_need_defaults=false;;
29468
28580
  esac
29469
28581
 
29470
28582
  case $ac_option in
29471
28583
  # Handling of the options.
29472
 
_ACEOF
29473
 
cat >>$CONFIG_STATUS <<\_ACEOF
29474
28584
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
29475
28585
    ac_cs_recheck=: ;;
29476
 
  --version | --vers* | -V )
29477
 
    echo "$ac_cs_version"; exit 0 ;;
29478
 
  --he | --h)
29479
 
    # Conflict between --help and --header
29480
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
29481
 
Try \`$0 --help' for more information." >&5
29482
 
echo "$as_me: error: ambiguous option: $1
29483
 
Try \`$0 --help' for more information." >&2;}
29484
 
   { (exit 1); exit 1; }; };;
29485
 
  --help | --hel | -h )
29486
 
    echo "$ac_cs_usage"; exit 0 ;;
29487
 
  --debug | --d* | -d )
 
28586
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
28587
    echo "$ac_cs_version"; exit ;;
 
28588
  --debug | --debu | --deb | --de | --d | -d )
29488
28589
    debug=: ;;
29489
28590
  --file | --fil | --fi | --f )
29490
28591
    $ac_shift
29494
28595
    $ac_shift
29495
28596
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
29496
28597
    ac_need_defaults=false;;
 
28598
  --he | --h)
 
28599
    # Conflict between --help and --header
 
28600
    { echo "$as_me: error: ambiguous option: $1
 
28601
Try \`$0 --help' for more information." >&2
 
28602
   { (exit 1); exit 1; }; };;
 
28603
  --help | --hel | -h )
 
28604
    echo "$ac_cs_usage"; exit ;;
29497
28605
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
29498
28606
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
29499
28607
    ac_cs_silent=: ;;
29500
28608
 
29501
28609
  # This is an error.
29502
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
29503
 
Try \`$0 --help' for more information." >&5
29504
 
echo "$as_me: error: unrecognized option: $1
29505
 
Try \`$0 --help' for more information." >&2;}
 
28610
  -*) { echo "$as_me: error: unrecognized option: $1
 
28611
Try \`$0 --help' for more information." >&2
29506
28612
   { (exit 1); exit 1; }; } ;;
29507
28613
 
29508
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
28614
  *) ac_config_targets="$ac_config_targets $1"
 
28615
     ac_need_defaults=false ;;
29509
28616
 
29510
28617
  esac
29511
28618
  shift
29521
28628
_ACEOF
29522
28629
cat >>$CONFIG_STATUS <<_ACEOF
29523
28630
if \$ac_cs_recheck; then
29524
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
29525
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
28631
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
28632
  CONFIG_SHELL=$SHELL
 
28633
  export CONFIG_SHELL
 
28634
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
29526
28635
fi
29527
28636
 
29528
28637
_ACEOF
 
28638
cat >>$CONFIG_STATUS <<\_ACEOF
 
28639
exec 5>>config.log
 
28640
{
 
28641
  echo
 
28642
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
28643
## Running $as_me. ##
 
28644
_ASBOX
 
28645
  echo "$ac_log"
 
28646
} >&5
29529
28647
 
 
28648
_ACEOF
29530
28649
cat >>$CONFIG_STATUS <<_ACEOF
29531
28650
#
29532
 
# INIT-COMMANDS section.
 
28651
# INIT-COMMANDS
29533
28652
#
29534
 
 
29535
28653
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
29536
28654
 
29537
28655
_ACEOF
29538
28656
 
29539
 
 
29540
 
 
29541
28657
cat >>$CONFIG_STATUS <<\_ACEOF
 
28658
 
 
28659
# Handling of arguments.
29542
28660
for ac_config_target in $ac_config_targets
29543
28661
do
29544
 
  case "$ac_config_target" in
29545
 
  # Handling of arguments.
29546
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
29547
 
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
29548
 
  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
29549
 
  "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
29550
 
  "tests/docroot/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/docroot/Makefile" ;;
29551
 
  "tests/docroot/123/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/docroot/123/Makefile" ;;
29552
 
  "tests/docroot/www/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/docroot/www/Makefile" ;;
29553
 
  "tests/docroot/www/go/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/docroot/www/go/Makefile" ;;
29554
 
  "tests/docroot/www/indexfile/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/docroot/www/indexfile/Makefile" ;;
29555
 
  "tests/docroot/www/expire/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/docroot/www/expire/Makefile" ;;
29556
 
  "lighttpd.spec" ) CONFIG_FILES="$CONFIG_FILES lighttpd.spec" ;;
29557
 
  "distribute.sh" ) CONFIG_FILES="$CONFIG_FILES distribute.sh" ;;
29558
 
  "cygwin/Makefile" ) CONFIG_FILES="$CONFIG_FILES cygwin/Makefile" ;;
29559
 
  "cygwin/lighttpd.README" ) CONFIG_FILES="$CONFIG_FILES cygwin/lighttpd.README" ;;
29560
 
  "openwrt/Makefile" ) CONFIG_FILES="$CONFIG_FILES openwrt/Makefile" ;;
29561
 
  "openwrt/control" ) CONFIG_FILES="$CONFIG_FILES openwrt/control" ;;
29562
 
  "openwrt/lighttpd.mk" ) CONFIG_FILES="$CONFIG_FILES openwrt/lighttpd.mk" ;;
29563
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
29564
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
28662
  case $ac_config_target in
 
28663
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
28664
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
28665
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
28666
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
28667
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
 
28668
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
 
28669
    "tests/docroot/Makefile") CONFIG_FILES="$CONFIG_FILES tests/docroot/Makefile" ;;
 
28670
    "tests/docroot/123/Makefile") CONFIG_FILES="$CONFIG_FILES tests/docroot/123/Makefile" ;;
 
28671
    "tests/docroot/www/Makefile") CONFIG_FILES="$CONFIG_FILES tests/docroot/www/Makefile" ;;
 
28672
    "tests/docroot/www/go/Makefile") CONFIG_FILES="$CONFIG_FILES tests/docroot/www/go/Makefile" ;;
 
28673
    "tests/docroot/www/indexfile/Makefile") CONFIG_FILES="$CONFIG_FILES tests/docroot/www/indexfile/Makefile" ;;
 
28674
    "tests/docroot/www/expire/Makefile") CONFIG_FILES="$CONFIG_FILES tests/docroot/www/expire/Makefile" ;;
 
28675
    "lighttpd.spec") CONFIG_FILES="$CONFIG_FILES lighttpd.spec" ;;
 
28676
    "distribute.sh") CONFIG_FILES="$CONFIG_FILES distribute.sh" ;;
 
28677
    "cygwin/Makefile") CONFIG_FILES="$CONFIG_FILES cygwin/Makefile" ;;
 
28678
    "cygwin/lighttpd.README") CONFIG_FILES="$CONFIG_FILES cygwin/lighttpd.README" ;;
 
28679
    "openwrt/Makefile") CONFIG_FILES="$CONFIG_FILES openwrt/Makefile" ;;
 
28680
    "openwrt/control") CONFIG_FILES="$CONFIG_FILES openwrt/control" ;;
 
28681
    "openwrt/lighttpd.mk") CONFIG_FILES="$CONFIG_FILES openwrt/lighttpd.mk" ;;
 
28682
 
29565
28683
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
29566
28684
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
29567
28685
   { (exit 1); exit 1; }; };;
29568
28686
  esac
29569
28687
done
29570
28688
 
 
28689
 
29571
28690
# If the user did not use the arguments to specify the items to instantiate,
29572
28691
# then the envvar interface is used.  Set only those that are not.
29573
28692
# We use the long form for the default assignment because of an extremely
29579
28698
fi
29580
28699
 
29581
28700
# Have a temporary directory for convenience.  Make it in the build tree
29582
 
# simply because there is no reason to put it here, and in addition,
 
28701
# simply because there is no reason against having it here, and in addition,
29583
28702
# creating and moving files from /tmp can sometimes cause problems.
29584
 
# Create a temporary directory, and hook for its removal unless debugging.
 
28703
# Hook for its removal unless debugging.
 
28704
# Note that there is a small window in which the directory will not be cleaned:
 
28705
# after its creation but before its name has been assigned to `$tmp'.
29585
28706
$debug ||
29586
28707
{
29587
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
28708
  tmp=
 
28709
  trap 'exit_status=$?
 
28710
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
28711
' 0
29588
28712
  trap '{ (exit 1); exit 1; }' 1 2 13 15
29589
28713
}
29590
 
 
29591
28714
# Create a (secure) tmp directory for tmp files.
29592
28715
 
29593
28716
{
29594
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
28717
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
29595
28718
  test -n "$tmp" && test -d "$tmp"
29596
28719
}  ||
29597
28720
{
29598
 
  tmp=./confstat$$-$RANDOM
29599
 
  (umask 077 && mkdir $tmp)
 
28721
  tmp=./conf$$-$RANDOM
 
28722
  (umask 077 && mkdir "$tmp")
29600
28723
} ||
29601
28724
{
29602
28725
   echo "$me: cannot create a temporary directory in ." >&2
29603
28726
   { (exit 1); exit 1; }
29604
28727
}
29605
28728
 
29606
 
_ACEOF
29607
 
 
29608
 
cat >>$CONFIG_STATUS <<_ACEOF
29609
 
 
29610
28729
#
29611
 
# CONFIG_FILES section.
 
28730
# Set up the sed scripts for CONFIG_FILES section.
29612
28731
#
29613
28732
 
29614
28733
# No need to generate the scripts if there are no CONFIG_FILES.
29615
28734
# This happens for instance when ./config.status config.h
29616
 
if test -n "\$CONFIG_FILES"; then
29617
 
  # Protect against being on the right side of a sed subst in config.status.
29618
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
29619
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
29620
 
s,@SHELL@,$SHELL,;t t
29621
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
29622
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
29623
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
29624
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
29625
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
29626
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
29627
 
s,@exec_prefix@,$exec_prefix,;t t
29628
 
s,@prefix@,$prefix,;t t
29629
 
s,@program_transform_name@,$program_transform_name,;t t
29630
 
s,@bindir@,$bindir,;t t
29631
 
s,@sbindir@,$sbindir,;t t
29632
 
s,@libexecdir@,$libexecdir,;t t
29633
 
s,@datadir@,$datadir,;t t
29634
 
s,@sysconfdir@,$sysconfdir,;t t
29635
 
s,@sharedstatedir@,$sharedstatedir,;t t
29636
 
s,@localstatedir@,$localstatedir,;t t
29637
 
s,@libdir@,$libdir,;t t
29638
 
s,@includedir@,$includedir,;t t
29639
 
s,@oldincludedir@,$oldincludedir,;t t
29640
 
s,@infodir@,$infodir,;t t
29641
 
s,@mandir@,$mandir,;t t
29642
 
s,@build_alias@,$build_alias,;t t
29643
 
s,@host_alias@,$host_alias,;t t
29644
 
s,@target_alias@,$target_alias,;t t
29645
 
s,@DEFS@,$DEFS,;t t
29646
 
s,@ECHO_C@,$ECHO_C,;t t
29647
 
s,@ECHO_N@,$ECHO_N,;t t
29648
 
s,@ECHO_T@,$ECHO_T,;t t
29649
 
s,@LIBS@,$LIBS,;t t
29650
 
s,@build@,$build,;t t
29651
 
s,@build_cpu@,$build_cpu,;t t
29652
 
s,@build_vendor@,$build_vendor,;t t
29653
 
s,@build_os@,$build_os,;t t
29654
 
s,@host@,$host,;t t
29655
 
s,@host_cpu@,$host_cpu,;t t
29656
 
s,@host_vendor@,$host_vendor,;t t
29657
 
s,@host_os@,$host_os,;t t
29658
 
s,@target@,$target,;t t
29659
 
s,@target_cpu@,$target_cpu,;t t
29660
 
s,@target_vendor@,$target_vendor,;t t
29661
 
s,@target_os@,$target_os,;t t
29662
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
29663
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
29664
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
29665
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
29666
 
s,@PACKAGE@,$PACKAGE,;t t
29667
 
s,@VERSION@,$VERSION,;t t
29668
 
s,@ACLOCAL@,$ACLOCAL,;t t
29669
 
s,@AUTOCONF@,$AUTOCONF,;t t
29670
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
29671
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
29672
 
s,@MAKEINFO@,$MAKEINFO,;t t
29673
 
s,@install_sh@,$install_sh,;t t
29674
 
s,@STRIP@,$STRIP,;t t
29675
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
29676
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
29677
 
s,@mkdir_p@,$mkdir_p,;t t
29678
 
s,@AWK@,$AWK,;t t
29679
 
s,@SET_MAKE@,$SET_MAKE,;t t
29680
 
s,@am__leading_dot@,$am__leading_dot,;t t
29681
 
s,@AMTAR@,$AMTAR,;t t
29682
 
s,@am__tar@,$am__tar,;t t
29683
 
s,@am__untar@,$am__untar,;t t
29684
 
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
29685
 
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
29686
 
s,@MAINT@,$MAINT,;t t
29687
 
s,@CC@,$CC,;t t
29688
 
s,@CFLAGS@,$CFLAGS,;t t
29689
 
s,@LDFLAGS@,$LDFLAGS,;t t
29690
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
29691
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
29692
 
s,@EXEEXT@,$EXEEXT,;t t
29693
 
s,@OBJEXT@,$OBJEXT,;t t
29694
 
s,@DEPDIR@,$DEPDIR,;t t
29695
 
s,@am__include@,$am__include,;t t
29696
 
s,@am__quote@,$am__quote,;t t
29697
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
29698
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
29699
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
29700
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
29701
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
29702
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
29703
 
s,@EGREP@,$EGREP,;t t
29704
 
s,@CPP@,$CPP,;t t
29705
 
s,@LN_S@,$LN_S,;t t
29706
 
s,@NO_RDYNAMIC_TRUE@,$NO_RDYNAMIC_TRUE,;t t
29707
 
s,@NO_RDYNAMIC_FALSE@,$NO_RDYNAMIC_FALSE,;t t
29708
 
s,@U@,$U,;t t
29709
 
s,@ANSI2KNR@,$ANSI2KNR,;t t
29710
 
s,@ECHO@,$ECHO,;t t
29711
 
s,@AR@,$AR,;t t
29712
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
29713
 
s,@RANLIB@,$RANLIB,;t t
29714
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
29715
 
s,@CXX@,$CXX,;t t
29716
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
29717
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
29718
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
29719
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
29720
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
29721
 
s,@CXXCPP@,$CXXCPP,;t t
29722
 
s,@F77@,$F77,;t t
29723
 
s,@FFLAGS@,$FFLAGS,;t t
29724
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
29725
 
s,@LIBTOOL@,$LIBTOOL,;t t
29726
 
s,@LIBOBJS@,$LIBOBJS,;t t
29727
 
s,@MYSQL_CONFIG@,$MYSQL_CONFIG,;t t
29728
 
s,@MYSQL_LIBS@,$MYSQL_LIBS,;t t
29729
 
s,@MYSQL_INCLUDE@,$MYSQL_INCLUDE,;t t
29730
 
s,@LDAP_LIB@,$LDAP_LIB,;t t
29731
 
s,@LBER_LIB@,$LBER_LIB,;t t
29732
 
s,@ATTR_LIB@,$ATTR_LIB,;t t
29733
 
s,@DL_LIB@,$DL_LIB,;t t
29734
 
s,@SSL_LIB@,$SSL_LIB,;t t
29735
 
s,@PCRECONFIG@,$PCRECONFIG,;t t
29736
 
s,@PCRE_LIB@,$PCRE_LIB,;t t
29737
 
s,@Z_LIB@,$Z_LIB,;t t
29738
 
s,@BZ_LIB@,$BZ_LIB,;t t
29739
 
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
29740
 
s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
29741
 
s,@FAM_CFLAGS@,$FAM_CFLAGS,;t t
29742
 
s,@FAM_LIBS@,$FAM_LIBS,;t t
29743
 
s,@XML_CFLAGS@,$XML_CFLAGS,;t t
29744
 
s,@XML_LIBS@,$XML_LIBS,;t t
29745
 
s,@SQLITE_CFLAGS@,$SQLITE_CFLAGS,;t t
29746
 
s,@SQLITE_LIBS@,$SQLITE_LIBS,;t t
29747
 
s,@UUID_LIBS@,$UUID_LIBS,;t t
29748
 
s,@GDBM_LIB@,$GDBM_LIB,;t t
29749
 
s,@MEMCACHE_LIB@,$MEMCACHE_LIB,;t t
29750
 
s,@LUA_CFLAGS@,$LUA_CFLAGS,;t t
29751
 
s,@LUA_LIBS@,$LUA_LIBS,;t t
29752
 
s,@CRYPT_LIB@,$CRYPT_LIB,;t t
29753
 
s,@SENDFILE_LIB@,$SENDFILE_LIB,;t t
29754
 
s,@CROSS_COMPILING_TRUE@,$CROSS_COMPILING_TRUE,;t t
29755
 
s,@CROSS_COMPILING_FALSE@,$CROSS_COMPILING_FALSE,;t t
29756
 
s,@CHECK_WITH_FASTCGI_TRUE@,$CHECK_WITH_FASTCGI_TRUE,;t t
29757
 
s,@CHECK_WITH_FASTCGI_FALSE@,$CHECK_WITH_FASTCGI_FALSE,;t t
29758
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
29759
 
CEOF
29760
 
 
29761
 
_ACEOF
29762
 
 
29763
 
  cat >>$CONFIG_STATUS <<\_ACEOF
29764
 
  # Split the substitutions into bite-sized pieces for seds with
29765
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
29766
 
  ac_max_sed_lines=48
29767
 
  ac_sed_frag=1 # Number of current file.
29768
 
  ac_beg=1 # First line for current file.
29769
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
29770
 
  ac_more_lines=:
29771
 
  ac_sed_cmds=
29772
 
  while $ac_more_lines; do
29773
 
    if test $ac_beg -gt 1; then
29774
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
29775
 
    else
29776
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
29777
 
    fi
29778
 
    if test ! -s $tmp/subs.frag; then
29779
 
      ac_more_lines=false
29780
 
    else
29781
 
      # The purpose of the label and of the branching condition is to
29782
 
      # speed up the sed processing (if there are no `@' at all, there
29783
 
      # is no need to browse any of the substitutions).
29784
 
      # These are the two extra sed commands mentioned above.
29785
 
      (echo ':t
29786
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
29787
 
      if test -z "$ac_sed_cmds"; then
29788
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
29789
 
      else
29790
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
29791
 
      fi
29792
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
29793
 
      ac_beg=$ac_end
29794
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
29795
 
    fi
29796
 
  done
29797
 
  if test -z "$ac_sed_cmds"; then
29798
 
    ac_sed_cmds=cat
29799
 
  fi
 
28735
if test -n "$CONFIG_FILES"; then
 
28736
 
 
28737
_ACEOF
 
28738
 
 
28739
 
 
28740
 
 
28741
ac_delim='%!_!# '
 
28742
for ac_last_try in false false false false false :; do
 
28743
  cat >conf$$subs.sed <<_ACEOF
 
28744
SHELL!$SHELL$ac_delim
 
28745
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
28746
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
28747
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
28748
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
28749
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
28750
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
28751
exec_prefix!$exec_prefix$ac_delim
 
28752
prefix!$prefix$ac_delim
 
28753
program_transform_name!$program_transform_name$ac_delim
 
28754
bindir!$bindir$ac_delim
 
28755
sbindir!$sbindir$ac_delim
 
28756
libexecdir!$libexecdir$ac_delim
 
28757
datarootdir!$datarootdir$ac_delim
 
28758
datadir!$datadir$ac_delim
 
28759
sysconfdir!$sysconfdir$ac_delim
 
28760
sharedstatedir!$sharedstatedir$ac_delim
 
28761
localstatedir!$localstatedir$ac_delim
 
28762
includedir!$includedir$ac_delim
 
28763
oldincludedir!$oldincludedir$ac_delim
 
28764
docdir!$docdir$ac_delim
 
28765
infodir!$infodir$ac_delim
 
28766
htmldir!$htmldir$ac_delim
 
28767
dvidir!$dvidir$ac_delim
 
28768
pdfdir!$pdfdir$ac_delim
 
28769
psdir!$psdir$ac_delim
 
28770
libdir!$libdir$ac_delim
 
28771
localedir!$localedir$ac_delim
 
28772
mandir!$mandir$ac_delim
 
28773
DEFS!$DEFS$ac_delim
 
28774
ECHO_C!$ECHO_C$ac_delim
 
28775
ECHO_N!$ECHO_N$ac_delim
 
28776
ECHO_T!$ECHO_T$ac_delim
 
28777
LIBS!$LIBS$ac_delim
 
28778
build_alias!$build_alias$ac_delim
 
28779
host_alias!$host_alias$ac_delim
 
28780
target_alias!$target_alias$ac_delim
 
28781
build!$build$ac_delim
 
28782
build_cpu!$build_cpu$ac_delim
 
28783
build_vendor!$build_vendor$ac_delim
 
28784
build_os!$build_os$ac_delim
 
28785
host!$host$ac_delim
 
28786
host_cpu!$host_cpu$ac_delim
 
28787
host_vendor!$host_vendor$ac_delim
 
28788
host_os!$host_os$ac_delim
 
28789
target!$target$ac_delim
 
28790
target_cpu!$target_cpu$ac_delim
 
28791
target_vendor!$target_vendor$ac_delim
 
28792
target_os!$target_os$ac_delim
 
28793
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
28794
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
28795
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
28796
am__isrc!$am__isrc$ac_delim
 
28797
CYGPATH_W!$CYGPATH_W$ac_delim
 
28798
PACKAGE!$PACKAGE$ac_delim
 
28799
VERSION!$VERSION$ac_delim
 
28800
ACLOCAL!$ACLOCAL$ac_delim
 
28801
AUTOCONF!$AUTOCONF$ac_delim
 
28802
AUTOMAKE!$AUTOMAKE$ac_delim
 
28803
AUTOHEADER!$AUTOHEADER$ac_delim
 
28804
MAKEINFO!$MAKEINFO$ac_delim
 
28805
install_sh!$install_sh$ac_delim
 
28806
STRIP!$STRIP$ac_delim
 
28807
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
28808
mkdir_p!$mkdir_p$ac_delim
 
28809
AWK!$AWK$ac_delim
 
28810
SET_MAKE!$SET_MAKE$ac_delim
 
28811
am__leading_dot!$am__leading_dot$ac_delim
 
28812
AMTAR!$AMTAR$ac_delim
 
28813
am__tar!$am__tar$ac_delim
 
28814
am__untar!$am__untar$ac_delim
 
28815
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
 
28816
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
 
28817
MAINT!$MAINT$ac_delim
 
28818
CC!$CC$ac_delim
 
28819
CFLAGS!$CFLAGS$ac_delim
 
28820
LDFLAGS!$LDFLAGS$ac_delim
 
28821
CPPFLAGS!$CPPFLAGS$ac_delim
 
28822
ac_ct_CC!$ac_ct_CC$ac_delim
 
28823
EXEEXT!$EXEEXT$ac_delim
 
28824
OBJEXT!$OBJEXT$ac_delim
 
28825
DEPDIR!$DEPDIR$ac_delim
 
28826
am__include!$am__include$ac_delim
 
28827
am__quote!$am__quote$ac_delim
 
28828
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
28829
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
28830
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
28831
CCDEPMODE!$CCDEPMODE$ac_delim
 
28832
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
28833
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
28834
GREP!$GREP$ac_delim
 
28835
EGREP!$EGREP$ac_delim
 
28836
CPP!$CPP$ac_delim
 
28837
LN_S!$LN_S$ac_delim
 
28838
NO_RDYNAMIC_TRUE!$NO_RDYNAMIC_TRUE$ac_delim
 
28839
NO_RDYNAMIC_FALSE!$NO_RDYNAMIC_FALSE$ac_delim
 
28840
U!$U$ac_delim
 
28841
_ACEOF
 
28842
 
 
28843
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
28844
    break
 
28845
  elif $ac_last_try; then
 
28846
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
28847
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
28848
   { (exit 1); exit 1; }; }
 
28849
  else
 
28850
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
28851
  fi
 
28852
done
 
28853
 
 
28854
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
28855
if test -n "$ac_eof"; then
 
28856
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
28857
  ac_eof=`expr $ac_eof + 1`
 
28858
fi
 
28859
 
 
28860
cat >>$CONFIG_STATUS <<_ACEOF
 
28861
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
28862
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
28863
_ACEOF
 
28864
sed '
 
28865
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
28866
s/^/s,@/; s/!/@,|#_!!_#|/
 
28867
:n
 
28868
t n
 
28869
s/'"$ac_delim"'$/,g/; t
 
28870
s/$/\\/; p
 
28871
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
28872
' >>$CONFIG_STATUS <conf$$subs.sed
 
28873
rm -f conf$$subs.sed
 
28874
cat >>$CONFIG_STATUS <<_ACEOF
 
28875
CEOF$ac_eof
 
28876
_ACEOF
 
28877
 
 
28878
 
 
28879
ac_delim='%!_!# '
 
28880
for ac_last_try in false false false false false :; do
 
28881
  cat >conf$$subs.sed <<_ACEOF
 
28882
ANSI2KNR!$ANSI2KNR$ac_delim
 
28883
ECHO!$ECHO$ac_delim
 
28884
AR!$AR$ac_delim
 
28885
RANLIB!$RANLIB$ac_delim
 
28886
CXX!$CXX$ac_delim
 
28887
CXXFLAGS!$CXXFLAGS$ac_delim
 
28888
ac_ct_CXX!$ac_ct_CXX$ac_delim
 
28889
CXXDEPMODE!$CXXDEPMODE$ac_delim
 
28890
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
 
28891
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
 
28892
CXXCPP!$CXXCPP$ac_delim
 
28893
F77!$F77$ac_delim
 
28894
FFLAGS!$FFLAGS$ac_delim
 
28895
ac_ct_F77!$ac_ct_F77$ac_delim
 
28896
LIBTOOL!$LIBTOOL$ac_delim
 
28897
LIBOBJS!$LIBOBJS$ac_delim
 
28898
MYSQL_CONFIG!$MYSQL_CONFIG$ac_delim
 
28899
MYSQL_LIBS!$MYSQL_LIBS$ac_delim
 
28900
MYSQL_INCLUDE!$MYSQL_INCLUDE$ac_delim
 
28901
LDAP_LIB!$LDAP_LIB$ac_delim
 
28902
LBER_LIB!$LBER_LIB$ac_delim
 
28903
ATTR_LIB!$ATTR_LIB$ac_delim
 
28904
DL_LIB!$DL_LIB$ac_delim
 
28905
SSL_LIB!$SSL_LIB$ac_delim
 
28906
PCRECONFIG!$PCRECONFIG$ac_delim
 
28907
PCRE_LIB!$PCRE_LIB$ac_delim
 
28908
Z_LIB!$Z_LIB$ac_delim
 
28909
BZ_LIB!$BZ_LIB$ac_delim
 
28910
PKG_CONFIG!$PKG_CONFIG$ac_delim
 
28911
FAM_CFLAGS!$FAM_CFLAGS$ac_delim
 
28912
FAM_LIBS!$FAM_LIBS$ac_delim
 
28913
XML_CFLAGS!$XML_CFLAGS$ac_delim
 
28914
XML_LIBS!$XML_LIBS$ac_delim
 
28915
SQLITE_CFLAGS!$SQLITE_CFLAGS$ac_delim
 
28916
SQLITE_LIBS!$SQLITE_LIBS$ac_delim
 
28917
UUID_LIBS!$UUID_LIBS$ac_delim
 
28918
GDBM_LIB!$GDBM_LIB$ac_delim
 
28919
MEMCACHE_LIB!$MEMCACHE_LIB$ac_delim
 
28920
LUA_CFLAGS!$LUA_CFLAGS$ac_delim
 
28921
LUA_LIBS!$LUA_LIBS$ac_delim
 
28922
CRYPT_LIB!$CRYPT_LIB$ac_delim
 
28923
SENDFILE_LIB!$SENDFILE_LIB$ac_delim
 
28924
CROSS_COMPILING_TRUE!$CROSS_COMPILING_TRUE$ac_delim
 
28925
CROSS_COMPILING_FALSE!$CROSS_COMPILING_FALSE$ac_delim
 
28926
CHECK_WITH_FASTCGI_TRUE!$CHECK_WITH_FASTCGI_TRUE$ac_delim
 
28927
CHECK_WITH_FASTCGI_FALSE!$CHECK_WITH_FASTCGI_FALSE$ac_delim
 
28928
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
28929
_ACEOF
 
28930
 
 
28931
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 47; then
 
28932
    break
 
28933
  elif $ac_last_try; then
 
28934
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
28935
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
28936
   { (exit 1); exit 1; }; }
 
28937
  else
 
28938
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
28939
  fi
 
28940
done
 
28941
 
 
28942
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
28943
if test -n "$ac_eof"; then
 
28944
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
28945
  ac_eof=`expr $ac_eof + 1`
 
28946
fi
 
28947
 
 
28948
cat >>$CONFIG_STATUS <<_ACEOF
 
28949
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
28950
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
28951
_ACEOF
 
28952
sed '
 
28953
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
28954
s/^/s,@/; s/!/@,|#_!!_#|/
 
28955
:n
 
28956
t n
 
28957
s/'"$ac_delim"'$/,g/; t
 
28958
s/$/\\/; p
 
28959
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
28960
' >>$CONFIG_STATUS <conf$$subs.sed
 
28961
rm -f conf$$subs.sed
 
28962
cat >>$CONFIG_STATUS <<_ACEOF
 
28963
:end
 
28964
s/|#_!!_#|//g
 
28965
CEOF$ac_eof
 
28966
_ACEOF
 
28967
 
 
28968
 
 
28969
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
28970
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
28971
# trailing colons and then remove the whole line if VPATH becomes empty
 
28972
# (actually we leave an empty line to preserve line numbers).
 
28973
if test "x$srcdir" = x.; then
 
28974
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
28975
s/:*\$(srcdir):*/:/
 
28976
s/:*\${srcdir}:*/:/
 
28977
s/:*@srcdir@:*/:/
 
28978
s/^\([^=]*=[     ]*\):*/\1/
 
28979
s/:*$//
 
28980
s/^[^=]*=[       ]*$//
 
28981
}'
 
28982
fi
 
28983
 
 
28984
cat >>$CONFIG_STATUS <<\_ACEOF
29800
28985
fi # test -n "$CONFIG_FILES"
29801
28986
 
29802
 
_ACEOF
29803
 
cat >>$CONFIG_STATUS <<\_ACEOF
29804
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
29805
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
29806
 
  case $ac_file in
29807
 
  - | *:- | *:-:* ) # input from stdin
29808
 
        cat >$tmp/stdin
29809
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
29810
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
29811
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
29812
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
29813
 
  * )   ac_file_in=$ac_file.in ;;
29814
 
  esac
29815
 
 
29816
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
29817
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
28987
 
 
28988
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
28989
do
 
28990
  case $ac_tag in
 
28991
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
28992
  esac
 
28993
  case $ac_mode$ac_tag in
 
28994
  :[FHL]*:*);;
 
28995
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
28996
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
28997
   { (exit 1); exit 1; }; };;
 
28998
  :[FH]-) ac_tag=-:-;;
 
28999
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
29000
  esac
 
29001
  ac_save_IFS=$IFS
 
29002
  IFS=:
 
29003
  set x $ac_tag
 
29004
  IFS=$ac_save_IFS
 
29005
  shift
 
29006
  ac_file=$1
 
29007
  shift
 
29008
 
 
29009
  case $ac_mode in
 
29010
  :L) ac_source=$1;;
 
29011
  :[FH])
 
29012
    ac_file_inputs=
 
29013
    for ac_f
 
29014
    do
 
29015
      case $ac_f in
 
29016
      -) ac_f="$tmp/stdin";;
 
29017
      *) # Look for the file first in the build tree, then in the source tree
 
29018
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
29019
         # because $ac_f cannot contain `:'.
 
29020
         test -f "$ac_f" ||
 
29021
           case $ac_f in
 
29022
           [\\/$]*) false;;
 
29023
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
29024
           esac ||
 
29025
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
29026
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
29027
   { (exit 1); exit 1; }; };;
 
29028
      esac
 
29029
      ac_file_inputs="$ac_file_inputs $ac_f"
 
29030
    done
 
29031
 
 
29032
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
29033
    # use $as_me), people would be surprised to read:
 
29034
    #    /* config.h.  Generated by config.status.  */
 
29035
    configure_input="Generated from "`IFS=:
 
29036
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
29037
    if test x"$ac_file" != x-; then
 
29038
      configure_input="$ac_file.  $configure_input"
 
29039
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
29040
echo "$as_me: creating $ac_file" >&6;}
 
29041
    fi
 
29042
 
 
29043
    case $ac_tag in
 
29044
    *:-:* | *:-) cat >"$tmp/stdin";;
 
29045
    esac
 
29046
    ;;
 
29047
  esac
 
29048
 
 
29049
  ac_dir=`$as_dirname -- "$ac_file" ||
29818
29050
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29819
29051
         X"$ac_file" : 'X\(//\)[^/]' \| \
29820
29052
         X"$ac_file" : 'X\(//\)$' \| \
29821
 
         X"$ac_file" : 'X\(/\)' \| \
29822
 
         .     : '\(.\)' 2>/dev/null ||
 
29053
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
29823
29054
echo X"$ac_file" |
29824
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29825
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29826
 
          /^X\(\/\/\)$/{ s//\1/; q; }
29827
 
          /^X\(\/\).*/{ s//\1/; q; }
29828
 
          s/.*/./; q'`
29829
 
  { if $as_mkdir_p; then
29830
 
    mkdir -p "$ac_dir"
29831
 
  else
29832
 
    as_dir="$ac_dir"
 
29055
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
29056
            s//\1/
 
29057
            q
 
29058
          }
 
29059
          /^X\(\/\/\)[^/].*/{
 
29060
            s//\1/
 
29061
            q
 
29062
          }
 
29063
          /^X\(\/\/\)$/{
 
29064
            s//\1/
 
29065
            q
 
29066
          }
 
29067
          /^X\(\/\).*/{
 
29068
            s//\1/
 
29069
            q
 
29070
          }
 
29071
          s/.*/./; q'`
 
29072
  { as_dir="$ac_dir"
 
29073
  case $as_dir in #(
 
29074
  -*) as_dir=./$as_dir;;
 
29075
  esac
 
29076
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
29833
29077
    as_dirs=
29834
 
    while test ! -d "$as_dir"; do
29835
 
      as_dirs="$as_dir $as_dirs"
29836
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
29078
    while :; do
 
29079
      case $as_dir in #(
 
29080
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
29081
      *) as_qdir=$as_dir;;
 
29082
      esac
 
29083
      as_dirs="'$as_qdir' $as_dirs"
 
29084
      as_dir=`$as_dirname -- "$as_dir" ||
29837
29085
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29838
29086
         X"$as_dir" : 'X\(//\)[^/]' \| \
29839
29087
         X"$as_dir" : 'X\(//\)$' \| \
29840
 
         X"$as_dir" : 'X\(/\)' \| \
29841
 
         .     : '\(.\)' 2>/dev/null ||
 
29088
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
29842
29089
echo X"$as_dir" |
29843
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29844
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29845
 
          /^X\(\/\/\)$/{ s//\1/; q; }
29846
 
          /^X\(\/\).*/{ s//\1/; q; }
29847
 
          s/.*/./; q'`
 
29090
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
29091
            s//\1/
 
29092
            q
 
29093
          }
 
29094
          /^X\(\/\/\)[^/].*/{
 
29095
            s//\1/
 
29096
            q
 
29097
          }
 
29098
          /^X\(\/\/\)$/{
 
29099
            s//\1/
 
29100
            q
 
29101
          }
 
29102
          /^X\(\/\).*/{
 
29103
            s//\1/
 
29104
            q
 
29105
          }
 
29106
          s/.*/./; q'`
 
29107
      test -d "$as_dir" && break
29848
29108
    done
29849
 
    test ! -n "$as_dirs" || mkdir $as_dirs
29850
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29851
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
29109
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
29110
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
29111
echo "$as_me: error: cannot create directory $as_dir" >&2;}
29852
29112
   { (exit 1); exit 1; }; }; }
29853
 
 
29854
29113
  ac_builddir=.
29855
29114
 
29856
 
if test "$ac_dir" != .; then
 
29115
case "$ac_dir" in
 
29116
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
29117
*)
29857
29118
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
29858
 
  # A "../" for each directory in $ac_dir_suffix.
29859
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
29860
 
else
29861
 
  ac_dir_suffix= ac_top_builddir=
29862
 
fi
 
29119
  # A ".." for each directory in $ac_dir_suffix.
 
29120
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
29121
  case $ac_top_builddir_sub in
 
29122
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
29123
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
29124
  esac ;;
 
29125
esac
 
29126
ac_abs_top_builddir=$ac_pwd
 
29127
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
29128
# for backward compatibility:
 
29129
ac_top_builddir=$ac_top_build_prefix
29863
29130
 
29864
29131
case $srcdir in
29865
 
  .)  # No --srcdir option.  We are building in place.
 
29132
  .)  # We are building in place.
29866
29133
    ac_srcdir=.
29867
 
    if test -z "$ac_top_builddir"; then
29868
 
       ac_top_srcdir=.
29869
 
    else
29870
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
29871
 
    fi ;;
29872
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
29134
    ac_top_srcdir=$ac_top_builddir_sub
 
29135
    ac_abs_top_srcdir=$ac_pwd ;;
 
29136
  [\\/]* | ?:[\\/]* )  # Absolute name.
29873
29137
    ac_srcdir=$srcdir$ac_dir_suffix;
29874
 
    ac_top_srcdir=$srcdir ;;
29875
 
  *) # Relative path.
29876
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
29877
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
29878
 
esac
29879
 
 
29880
 
# Do not use `cd foo && pwd` to compute absolute paths, because
29881
 
# the directories may not exist.
29882
 
case `pwd` in
29883
 
.) ac_abs_builddir="$ac_dir";;
29884
 
*)
29885
 
  case "$ac_dir" in
29886
 
  .) ac_abs_builddir=`pwd`;;
29887
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
29888
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
29889
 
  esac;;
29890
 
esac
29891
 
case $ac_abs_builddir in
29892
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
29893
 
*)
29894
 
  case ${ac_top_builddir}. in
29895
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
29896
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
29897
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
29898
 
  esac;;
29899
 
esac
29900
 
case $ac_abs_builddir in
29901
 
.) ac_abs_srcdir=$ac_srcdir;;
29902
 
*)
29903
 
  case $ac_srcdir in
29904
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
29905
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
29906
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
29907
 
  esac;;
29908
 
esac
29909
 
case $ac_abs_builddir in
29910
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
29911
 
*)
29912
 
  case $ac_top_srcdir in
29913
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
29914
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
29915
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
29916
 
  esac;;
29917
 
esac
29918
 
 
 
29138
    ac_top_srcdir=$srcdir
 
29139
    ac_abs_top_srcdir=$srcdir ;;
 
29140
  *) # Relative name.
 
29141
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
29142
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
29143
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
29144
esac
 
29145
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
29146
 
 
29147
 
 
29148
  case $ac_mode in
 
29149
  :F)
 
29150
  #
 
29151
  # CONFIG_FILE
 
29152
  #
29919
29153
 
29920
29154
  case $INSTALL in
29921
29155
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
29922
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
29923
 
  esac
29924
 
 
29925
 
  if test x"$ac_file" != x-; then
29926
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
29927
 
echo "$as_me: creating $ac_file" >&6;}
29928
 
    rm -f "$ac_file"
29929
 
  fi
29930
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
29931
 
  # use $as_me), people would be surprised to read:
29932
 
  #    /* config.h.  Generated by config.status.  */
29933
 
  if test x"$ac_file" = x-; then
29934
 
    configure_input=
29935
 
  else
29936
 
    configure_input="$ac_file.  "
29937
 
  fi
29938
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
29939
 
                                     sed 's,.*/,,'` by configure."
29940
 
 
29941
 
  # First look for the input files in the build tree, otherwise in the
29942
 
  # src tree.
29943
 
  ac_file_inputs=`IFS=:
29944
 
    for f in $ac_file_in; do
29945
 
      case $f in
29946
 
      -) echo $tmp/stdin ;;
29947
 
      [\\/$]*)
29948
 
         # Absolute (can't be DOS-style, as IFS=:)
29949
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29950
 
echo "$as_me: error: cannot find input file: $f" >&2;}
29951
 
   { (exit 1); exit 1; }; }
29952
 
         echo "$f";;
29953
 
      *) # Relative
29954
 
         if test -f "$f"; then
29955
 
           # Build tree
29956
 
           echo "$f"
29957
 
         elif test -f "$srcdir/$f"; then
29958
 
           # Source tree
29959
 
           echo "$srcdir/$f"
29960
 
         else
29961
 
           # /dev/null tree
29962
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29963
 
echo "$as_me: error: cannot find input file: $f" >&2;}
29964
 
   { (exit 1); exit 1; }; }
29965
 
         fi;;
29966
 
      esac
29967
 
    done` || { (exit 1); exit 1; }
29968
 
_ACEOF
 
29156
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
29157
  esac
 
29158
  ac_MKDIR_P=$MKDIR_P
 
29159
  case $MKDIR_P in
 
29160
  [\\/$]* | ?:[\\/]* ) ;;
 
29161
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
29162
  esac
 
29163
_ACEOF
 
29164
 
 
29165
cat >>$CONFIG_STATUS <<\_ACEOF
 
29166
# If the template does not know about datarootdir, expand it.
 
29167
# FIXME: This hack should be removed a few years after 2.60.
 
29168
ac_datarootdir_hack=; ac_datarootdir_seen=
 
29169
 
 
29170
case `sed -n '/datarootdir/ {
 
29171
  p
 
29172
  q
 
29173
}
 
29174
/@datadir@/p
 
29175
/@docdir@/p
 
29176
/@infodir@/p
 
29177
/@localedir@/p
 
29178
/@mandir@/p
 
29179
' $ac_file_inputs` in
 
29180
*datarootdir*) ac_datarootdir_seen=yes;;
 
29181
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
29182
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
29183
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
29184
_ACEOF
 
29185
cat >>$CONFIG_STATUS <<_ACEOF
 
29186
  ac_datarootdir_hack='
 
29187
  s&@datadir@&$datadir&g
 
29188
  s&@docdir@&$docdir&g
 
29189
  s&@infodir@&$infodir&g
 
29190
  s&@localedir@&$localedir&g
 
29191
  s&@mandir@&$mandir&g
 
29192
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
29193
esac
 
29194
_ACEOF
 
29195
 
 
29196
# Neutralize VPATH when `$srcdir' = `.'.
 
29197
# Shell code in configure.ac might set extrasub.
 
29198
# FIXME: do we really want to maintain this feature?
29969
29199
cat >>$CONFIG_STATUS <<_ACEOF
29970
29200
  sed "$ac_vpsub
29971
29201
$extrasub
29973
29203
cat >>$CONFIG_STATUS <<\_ACEOF
29974
29204
:t
29975
29205
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
29976
 
s,@configure_input@,$configure_input,;t t
29977
 
s,@srcdir@,$ac_srcdir,;t t
29978
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
29979
 
s,@top_srcdir@,$ac_top_srcdir,;t t
29980
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
29981
 
s,@builddir@,$ac_builddir,;t t
29982
 
s,@abs_builddir@,$ac_abs_builddir,;t t
29983
 
s,@top_builddir@,$ac_top_builddir,;t t
29984
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
29985
 
s,@INSTALL@,$ac_INSTALL,;t t
29986
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
29987
 
  rm -f $tmp/stdin
29988
 
  if test x"$ac_file" != x-; then
29989
 
    mv $tmp/out $ac_file
29990
 
  else
29991
 
    cat $tmp/out
29992
 
    rm -f $tmp/out
29993
 
  fi
29994
 
 
29995
 
done
 
29206
s&@configure_input@&$configure_input&;t t
 
29207
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
29208
s&@srcdir@&$ac_srcdir&;t t
 
29209
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
29210
s&@top_srcdir@&$ac_top_srcdir&;t t
 
29211
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
29212
s&@builddir@&$ac_builddir&;t t
 
29213
s&@abs_builddir@&$ac_abs_builddir&;t t
 
29214
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
29215
s&@INSTALL@&$ac_INSTALL&;t t
 
29216
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
29217
$ac_datarootdir_hack
 
29218
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
29219
 
 
29220
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
29221
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
29222
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
29223
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
29224
which seems to be undefined.  Please make sure it is defined." >&5
 
29225
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
29226
which seems to be undefined.  Please make sure it is defined." >&2;}
 
29227
 
 
29228
  rm -f "$tmp/stdin"
 
29229
  case $ac_file in
 
29230
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
29231
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
29232
  esac
 
29233
 ;;
 
29234
  :H)
 
29235
  #
 
29236
  # CONFIG_HEADER
 
29237
  #
29996
29238
_ACEOF
29997
 
cat >>$CONFIG_STATUS <<\_ACEOF
29998
 
 
29999
 
#
30000
 
# CONFIG_HEADER section.
30001
 
#
30002
 
 
30003
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
30004
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
30005
 
#
30006
 
# ac_d sets the value in "#define NAME VALUE" lines.
30007
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
30008
 
ac_dB='[         ].*$,\1#\2'
 
29239
 
 
29240
# Transform confdefs.h into a sed script `conftest.defines', that
 
29241
# substitutes the proper values into config.h.in to produce config.h.
 
29242
rm -f conftest.defines conftest.tail
 
29243
# First, append a space to every undef/define line, to ease matching.
 
29244
echo 's/$/ /' >conftest.defines
 
29245
# Then, protect against being on the right side of a sed subst, or in
 
29246
# an unquoted here document, in config.status.  If some macros were
 
29247
# called several times there might be several #defines for the same
 
29248
# symbol, which is useless.  But do not sort them, since the last
 
29249
# AC_DEFINE must be honored.
 
29250
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
29251
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
29252
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
29253
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
29254
# just an empty string.
 
29255
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
29256
ac_dB='\\)[      (].*,\\1define\\2'
30009
29257
ac_dC=' '
30010
 
ac_dD=',;t'
30011
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
30012
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
30013
 
ac_uB='$,\1#\2define\3'
30014
 
ac_uC=' '
30015
 
ac_uD=',;t'
30016
 
 
30017
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
30018
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
30019
 
  case $ac_file in
30020
 
  - | *:- | *:-:* ) # input from stdin
30021
 
        cat >$tmp/stdin
30022
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
30023
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
30024
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
30025
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
30026
 
  * )   ac_file_in=$ac_file.in ;;
30027
 
  esac
30028
 
 
30029
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
30030
 
echo "$as_me: creating $ac_file" >&6;}
30031
 
 
30032
 
  # First look for the input files in the build tree, otherwise in the
30033
 
  # src tree.
30034
 
  ac_file_inputs=`IFS=:
30035
 
    for f in $ac_file_in; do
30036
 
      case $f in
30037
 
      -) echo $tmp/stdin ;;
30038
 
      [\\/$]*)
30039
 
         # Absolute (can't be DOS-style, as IFS=:)
30040
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30041
 
echo "$as_me: error: cannot find input file: $f" >&2;}
30042
 
   { (exit 1); exit 1; }; }
30043
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
30044
 
         echo "$f";;
30045
 
      *) # Relative
30046
 
         if test -f "$f"; then
30047
 
           # Build tree
30048
 
           echo "$f"
30049
 
         elif test -f "$srcdir/$f"; then
30050
 
           # Source tree
30051
 
           echo "$srcdir/$f"
30052
 
         else
30053
 
           # /dev/null tree
30054
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30055
 
echo "$as_me: error: cannot find input file: $f" >&2;}
30056
 
   { (exit 1); exit 1; }; }
30057
 
         fi;;
30058
 
      esac
30059
 
    done` || { (exit 1); exit 1; }
30060
 
  # Remove the trailing spaces.
30061
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
30062
 
 
30063
 
_ACEOF
30064
 
 
30065
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
30066
 
# `conftest.undefs', that substitutes the proper values into
30067
 
# config.h.in to produce config.h.  The first handles `#define'
30068
 
# templates, and the second `#undef' templates.
30069
 
# And first: Protect against being on the right side of a sed subst in
30070
 
# config.status.  Protect against being in an unquoted here document
30071
 
# in config.status.
30072
 
rm -f conftest.defines conftest.undefs
30073
 
# Using a here document instead of a string reduces the quoting nightmare.
30074
 
# Putting comments in sed scripts is not portable.
30075
 
#
30076
 
# `end' is used to avoid that the second main sed command (meant for
30077
 
# 0-ary CPP macros) applies to n-ary macro definitions.
30078
 
# See the Autoconf documentation for `clear'.
30079
 
cat >confdef2sed.sed <<\_ACEOF
30080
 
s/[\\&,]/\\&/g
30081
 
s,[\\$`],\\&,g
30082
 
t clear
30083
 
: clear
30084
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
30085
 
t end
30086
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
30087
 
: end
30088
 
_ACEOF
30089
 
# If some macros were called several times there might be several times
30090
 
# the same #defines, which is useless.  Nevertheless, we may not want to
30091
 
# sort them, since we want the *last* AC-DEFINE to be honored.
30092
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
30093
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
30094
 
rm -f confdef2sed.sed
30095
 
 
30096
 
# This sed command replaces #undef with comments.  This is necessary, for
 
29258
ac_dD=' ,'
 
29259
 
 
29260
uniq confdefs.h |
 
29261
  sed -n '
 
29262
        t rset
 
29263
        :rset
 
29264
        s/^[     ]*#[    ]*define[       ][      ]*//
 
29265
        t ok
 
29266
        d
 
29267
        :ok
 
29268
        s/[\\&,]/\\&/g
 
29269
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
29270
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
29271
  ' >>conftest.defines
 
29272
 
 
29273
# Remove the space that was appended to ease matching.
 
29274
# Then replace #undef with comments.  This is necessary, for
30097
29275
# example, in the case of _POSIX_SOURCE, which is predefined and required
30098
29276
# on some systems where configure will not decide to define it.
30099
 
cat >>conftest.undefs <<\_ACEOF
30100
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
29277
# (The regexp can be short, since the line contains either #define or #undef.)
 
29278
echo 's/ $//
 
29279
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
29280
 
 
29281
# Break up conftest.defines:
 
29282
ac_max_sed_lines=50
 
29283
 
 
29284
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
29285
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
29286
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
29287
# et cetera.
 
29288
ac_in='$ac_file_inputs'
 
29289
ac_out='"$tmp/out1"'
 
29290
ac_nxt='"$tmp/out2"'
 
29291
 
 
29292
while :
 
29293
do
 
29294
  # Write a here document:
 
29295
    cat >>$CONFIG_STATUS <<_ACEOF
 
29296
    # First, check the format of the line:
 
29297
    cat >"\$tmp/defines.sed" <<\\CEOF
 
29298
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
29299
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
29300
b
 
29301
:def
30101
29302
_ACEOF
30102
 
 
30103
 
# Break up conftest.defines because some shells have a limit on the size
30104
 
# of here documents, and old seds have small limits too (100 cmds).
30105
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
30106
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
30107
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
30108
 
echo '  :' >>$CONFIG_STATUS
30109
 
rm -f conftest.tail
30110
 
while grep . conftest.defines >/dev/null
30111
 
do
30112
 
  # Write a limited-size here document to $tmp/defines.sed.
30113
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
30114
 
  # Speed up: don't consider the non `#define' lines.
30115
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
30116
 
  # Work around the forget-to-reset-the-flag bug.
30117
 
  echo 't clr' >>$CONFIG_STATUS
30118
 
  echo ': clr' >>$CONFIG_STATUS
30119
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
29303
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
30120
29304
  echo 'CEOF
30121
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
30122
 
  rm -f $tmp/in
30123
 
  mv $tmp/out $tmp/in
30124
 
' >>$CONFIG_STATUS
30125
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
29305
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
29306
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
29307
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
29308
  grep . conftest.tail >/dev/null || break
30126
29309
  rm -f conftest.defines
30127
29310
  mv conftest.tail conftest.defines
30128
29311
done
30129
 
rm -f conftest.defines
30130
 
echo '  fi # grep' >>$CONFIG_STATUS
30131
 
echo >>$CONFIG_STATUS
30132
 
 
30133
 
# Break up conftest.undefs because some shells have a limit on the size
30134
 
# of here documents, and old seds have small limits too (100 cmds).
30135
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
30136
 
rm -f conftest.tail
30137
 
while grep . conftest.undefs >/dev/null
30138
 
do
30139
 
  # Write a limited-size here document to $tmp/undefs.sed.
30140
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
30141
 
  # Speed up: don't consider the non `#undef'
30142
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
30143
 
  # Work around the forget-to-reset-the-flag bug.
30144
 
  echo 't clr' >>$CONFIG_STATUS
30145
 
  echo ': clr' >>$CONFIG_STATUS
30146
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
30147
 
  echo 'CEOF
30148
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
30149
 
  rm -f $tmp/in
30150
 
  mv $tmp/out $tmp/in
30151
 
' >>$CONFIG_STATUS
30152
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
30153
 
  rm -f conftest.undefs
30154
 
  mv conftest.tail conftest.undefs
30155
 
done
30156
 
rm -f conftest.undefs
30157
 
 
 
29312
rm -f conftest.defines conftest.tail
 
29313
 
 
29314
echo "ac_result=$ac_in" >>$CONFIG_STATUS
30158
29315
cat >>$CONFIG_STATUS <<\_ACEOF
30159
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
30160
 
  # use $as_me), people would be surprised to read:
30161
 
  #    /* config.h.  Generated by config.status.  */
30162
 
  if test x"$ac_file" = x-; then
30163
 
    echo "/* Generated by configure.  */" >$tmp/config.h
30164
 
  else
30165
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
30166
 
  fi
30167
 
  cat $tmp/in >>$tmp/config.h
30168
 
  rm -f $tmp/in
30169
29316
  if test x"$ac_file" != x-; then
30170
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
29317
    echo "/* $configure_input  */" >"$tmp/config.h"
 
29318
    cat "$ac_result" >>"$tmp/config.h"
 
29319
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
30171
29320
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
30172
29321
echo "$as_me: $ac_file is unchanged" >&6;}
30173
29322
    else
30174
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
30175
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30176
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
30177
 
         X"$ac_file" : 'X\(//\)$' \| \
30178
 
         X"$ac_file" : 'X\(/\)' \| \
30179
 
         .     : '\(.\)' 2>/dev/null ||
30180
 
echo X"$ac_file" |
30181
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30182
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30183
 
          /^X\(\/\/\)$/{ s//\1/; q; }
30184
 
          /^X\(\/\).*/{ s//\1/; q; }
30185
 
          s/.*/./; q'`
30186
 
      { if $as_mkdir_p; then
30187
 
    mkdir -p "$ac_dir"
30188
 
  else
30189
 
    as_dir="$ac_dir"
30190
 
    as_dirs=
30191
 
    while test ! -d "$as_dir"; do
30192
 
      as_dirs="$as_dir $as_dirs"
30193
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
30194
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30195
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
30196
 
         X"$as_dir" : 'X\(//\)$' \| \
30197
 
         X"$as_dir" : 'X\(/\)' \| \
30198
 
         .     : '\(.\)' 2>/dev/null ||
30199
 
echo X"$as_dir" |
30200
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30201
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30202
 
          /^X\(\/\/\)$/{ s//\1/; q; }
30203
 
          /^X\(\/\).*/{ s//\1/; q; }
30204
 
          s/.*/./; q'`
30205
 
    done
30206
 
    test ! -n "$as_dirs" || mkdir $as_dirs
30207
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30208
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30209
 
   { (exit 1); exit 1; }; }; }
30210
 
 
30211
29323
      rm -f $ac_file
30212
 
      mv $tmp/config.h $ac_file
 
29324
      mv "$tmp/config.h" $ac_file
30213
29325
    fi
30214
29326
  else
30215
 
    cat $tmp/config.h
30216
 
    rm -f $tmp/config.h
 
29327
    echo "/* $configure_input  */"
 
29328
    cat "$ac_result"
30217
29329
  fi
 
29330
  rm -f "$tmp/out12"
30218
29331
# Compute $ac_file's index in $config_headers.
30219
29332
_am_stamp_count=1
30220
29333
for _am_header in $config_headers :; do
30225
29338
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
30226
29339
  esac
30227
29340
done
30228
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 
29341
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
30229
29342
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30230
29343
         X$ac_file : 'X\(//\)[^/]' \| \
30231
29344
         X$ac_file : 'X\(//\)$' \| \
30232
 
         X$ac_file : 'X\(/\)' \| \
30233
 
         .     : '\(.\)' 2>/dev/null ||
 
29345
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
30234
29346
echo X$ac_file |
30235
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30236
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30237
 
          /^X\(\/\/\)$/{ s//\1/; q; }
30238
 
          /^X\(\/\).*/{ s//\1/; q; }
30239
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
30240
 
done
30241
 
_ACEOF
30242
 
cat >>$CONFIG_STATUS <<\_ACEOF
30243
 
 
30244
 
#
30245
 
# CONFIG_COMMANDS section.
30246
 
#
30247
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
30248
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
30249
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
30250
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
30251
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30252
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
30253
 
         X"$ac_dest" : 'X\(//\)$' \| \
30254
 
         X"$ac_dest" : 'X\(/\)' \| \
30255
 
         .     : '\(.\)' 2>/dev/null ||
30256
 
echo X"$ac_dest" |
30257
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30258
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30259
 
          /^X\(\/\/\)$/{ s//\1/; q; }
30260
 
          /^X\(\/\).*/{ s//\1/; q; }
30261
 
          s/.*/./; q'`
30262
 
  { if $as_mkdir_p; then
30263
 
    mkdir -p "$ac_dir"
30264
 
  else
30265
 
    as_dir="$ac_dir"
30266
 
    as_dirs=
30267
 
    while test ! -d "$as_dir"; do
30268
 
      as_dirs="$as_dir $as_dirs"
30269
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
30270
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30271
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
30272
 
         X"$as_dir" : 'X\(//\)$' \| \
30273
 
         X"$as_dir" : 'X\(/\)' \| \
30274
 
         .     : '\(.\)' 2>/dev/null ||
30275
 
echo X"$as_dir" |
30276
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30277
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30278
 
          /^X\(\/\/\)$/{ s//\1/; q; }
30279
 
          /^X\(\/\).*/{ s//\1/; q; }
30280
 
          s/.*/./; q'`
30281
 
    done
30282
 
    test ! -n "$as_dirs" || mkdir $as_dirs
30283
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30284
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30285
 
   { (exit 1); exit 1; }; }; }
30286
 
 
30287
 
  ac_builddir=.
30288
 
 
30289
 
if test "$ac_dir" != .; then
30290
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30291
 
  # A "../" for each directory in $ac_dir_suffix.
30292
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30293
 
else
30294
 
  ac_dir_suffix= ac_top_builddir=
30295
 
fi
30296
 
 
30297
 
case $srcdir in
30298
 
  .)  # No --srcdir option.  We are building in place.
30299
 
    ac_srcdir=.
30300
 
    if test -z "$ac_top_builddir"; then
30301
 
       ac_top_srcdir=.
30302
 
    else
30303
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
30304
 
    fi ;;
30305
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
30306
 
    ac_srcdir=$srcdir$ac_dir_suffix;
30307
 
    ac_top_srcdir=$srcdir ;;
30308
 
  *) # Relative path.
30309
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
30310
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
30311
 
esac
30312
 
 
30313
 
# Do not use `cd foo && pwd` to compute absolute paths, because
30314
 
# the directories may not exist.
30315
 
case `pwd` in
30316
 
.) ac_abs_builddir="$ac_dir";;
30317
 
*)
30318
 
  case "$ac_dir" in
30319
 
  .) ac_abs_builddir=`pwd`;;
30320
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
30321
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
30322
 
  esac;;
30323
 
esac
30324
 
case $ac_abs_builddir in
30325
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
30326
 
*)
30327
 
  case ${ac_top_builddir}. in
30328
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
30329
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
30330
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
30331
 
  esac;;
30332
 
esac
30333
 
case $ac_abs_builddir in
30334
 
.) ac_abs_srcdir=$ac_srcdir;;
30335
 
*)
30336
 
  case $ac_srcdir in
30337
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
30338
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
30339
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
30340
 
  esac;;
30341
 
esac
30342
 
case $ac_abs_builddir in
30343
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
30344
 
*)
30345
 
  case $ac_top_srcdir in
30346
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
30347
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
30348
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
30349
 
  esac;;
30350
 
esac
30351
 
 
30352
 
 
30353
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
30354
 
echo "$as_me: executing $ac_dest commands" >&6;}
30355
 
  case $ac_dest in
30356
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
29347
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
29348
            s//\1/
 
29349
            q
 
29350
          }
 
29351
          /^X\(\/\/\)[^/].*/{
 
29352
            s//\1/
 
29353
            q
 
29354
          }
 
29355
          /^X\(\/\/\)$/{
 
29356
            s//\1/
 
29357
            q
 
29358
          }
 
29359
          /^X\(\/\).*/{
 
29360
            s//\1/
 
29361
            q
 
29362
          }
 
29363
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
29364
 ;;
 
29365
 
 
29366
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
29367
echo "$as_me: executing $ac_file commands" >&6;}
 
29368
 ;;
 
29369
  esac
 
29370
 
 
29371
 
 
29372
  case $ac_file$ac_mode in
 
29373
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
30357
29374
  # Strip MF so we end up with the name of the file.
30358
29375
  mf=`echo "$mf" | sed -e 's/:.*$//'`
30359
29376
  # Check whether this is an Automake generated Makefile or not.
30361
29378
  # some people rename them; so instead we look at the file content.
30362
29379
  # Grep'ing the first line is not enough: some people post-process
30363
29380
  # each Makefile.in and add a new line on top of each file to say so.
30364
 
  # So let's grep whole file.
30365
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
30366
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
29381
  # Grep'ing the whole file is not good either: AIX grep has a line
 
29382
  # limit of 2048, but all sed's we know have understand at least 4000.
 
29383
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
 
29384
    dirpart=`$as_dirname -- "$mf" ||
30367
29385
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30368
29386
         X"$mf" : 'X\(//\)[^/]' \| \
30369
29387
         X"$mf" : 'X\(//\)$' \| \
30370
 
         X"$mf" : 'X\(/\)' \| \
30371
 
         .     : '\(.\)' 2>/dev/null ||
 
29388
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
30372
29389
echo X"$mf" |
30373
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30374
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30375
 
          /^X\(\/\/\)$/{ s//\1/; q; }
30376
 
          /^X\(\/\).*/{ s//\1/; q; }
30377
 
          s/.*/./; q'`
 
29390
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
29391
            s//\1/
 
29392
            q
 
29393
          }
 
29394
          /^X\(\/\/\)[^/].*/{
 
29395
            s//\1/
 
29396
            q
 
29397
          }
 
29398
          /^X\(\/\/\)$/{
 
29399
            s//\1/
 
29400
            q
 
29401
          }
 
29402
          /^X\(\/\).*/{
 
29403
            s//\1/
 
29404
            q
 
29405
          }
 
29406
          s/.*/./; q'`
30378
29407
  else
30379
29408
    continue
30380
29409
  fi
30396
29425
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
30397
29426
    # Make sure the directory exists.
30398
29427
    test -f "$dirpart/$file" && continue
30399
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
29428
    fdir=`$as_dirname -- "$file" ||
30400
29429
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30401
29430
         X"$file" : 'X\(//\)[^/]' \| \
30402
29431
         X"$file" : 'X\(//\)$' \| \
30403
 
         X"$file" : 'X\(/\)' \| \
30404
 
         .     : '\(.\)' 2>/dev/null ||
 
29432
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
30405
29433
echo X"$file" |
30406
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30407
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30408
 
          /^X\(\/\/\)$/{ s//\1/; q; }
30409
 
          /^X\(\/\).*/{ s//\1/; q; }
30410
 
          s/.*/./; q'`
30411
 
    { if $as_mkdir_p; then
30412
 
    mkdir -p $dirpart/$fdir
30413
 
  else
30414
 
    as_dir=$dirpart/$fdir
 
29434
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
29435
            s//\1/
 
29436
            q
 
29437
          }
 
29438
          /^X\(\/\/\)[^/].*/{
 
29439
            s//\1/
 
29440
            q
 
29441
          }
 
29442
          /^X\(\/\/\)$/{
 
29443
            s//\1/
 
29444
            q
 
29445
          }
 
29446
          /^X\(\/\).*/{
 
29447
            s//\1/
 
29448
            q
 
29449
          }
 
29450
          s/.*/./; q'`
 
29451
    { as_dir=$dirpart/$fdir
 
29452
  case $as_dir in #(
 
29453
  -*) as_dir=./$as_dir;;
 
29454
  esac
 
29455
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
30415
29456
    as_dirs=
30416
 
    while test ! -d "$as_dir"; do
30417
 
      as_dirs="$as_dir $as_dirs"
30418
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
29457
    while :; do
 
29458
      case $as_dir in #(
 
29459
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
29460
      *) as_qdir=$as_dir;;
 
29461
      esac
 
29462
      as_dirs="'$as_qdir' $as_dirs"
 
29463
      as_dir=`$as_dirname -- "$as_dir" ||
30419
29464
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30420
29465
         X"$as_dir" : 'X\(//\)[^/]' \| \
30421
29466
         X"$as_dir" : 'X\(//\)$' \| \
30422
 
         X"$as_dir" : 'X\(/\)' \| \
30423
 
         .     : '\(.\)' 2>/dev/null ||
 
29467
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
30424
29468
echo X"$as_dir" |
30425
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30426
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30427
 
          /^X\(\/\/\)$/{ s//\1/; q; }
30428
 
          /^X\(\/\).*/{ s//\1/; q; }
30429
 
          s/.*/./; q'`
 
29469
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
29470
            s//\1/
 
29471
            q
 
29472
          }
 
29473
          /^X\(\/\/\)[^/].*/{
 
29474
            s//\1/
 
29475
            q
 
29476
          }
 
29477
          /^X\(\/\/\)$/{
 
29478
            s//\1/
 
29479
            q
 
29480
          }
 
29481
          /^X\(\/\).*/{
 
29482
            s//\1/
 
29483
            q
 
29484
          }
 
29485
          s/.*/./; q'`
 
29486
      test -d "$as_dir" && break
30430
29487
    done
30431
 
    test ! -n "$as_dirs" || mkdir $as_dirs
30432
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
30433
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
29488
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
29489
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
29490
echo "$as_me: error: cannot create directory $as_dir" >&2;}
30434
29491
   { (exit 1); exit 1; }; }; }
30435
 
 
30436
29492
    # echo "creating $dirpart/$file"
30437
29493
    echo '# dummy' > "$dirpart/$file"
30438
29494
  done
30439
29495
done
30440
29496
 ;;
 
29497
 
30441
29498
  esac
30442
 
done
30443
 
_ACEOF
 
29499
done # for ac_tag
30444
29500
 
30445
 
cat >>$CONFIG_STATUS <<\_ACEOF
30446
29501
 
30447
29502
{ (exit 0); exit 0; }
30448
29503
_ACEOF
30473
29528
 
30474
29529
 
30475
29530
 
30476
 
do_build="mod_cgi mod_fastcgi mod_proxy mod_evhost mod_simple_vhost mod_access mod_alias mod_setenv mod_usertrack mod_auth mod_status mod_accesslog mod_rrdtool mod_secdownload mod_expire mod_compress mod_dirlisting mod_indexfiles mod_userdir mod_webdav mod_staticfile mod_scgi mod_flv_streaming"
 
29531
do_build="mod_cgi mod_fastcgi mod_extforward mod_proxy mod_evhost mod_simple_vhost mod_access mod_alias mod_setenv mod_usertrack mod_auth mod_status mod_accesslog mod_rrdtool mod_secdownload mod_expire mod_compress mod_dirlisting mod_indexfiles mod_userdir mod_webdav mod_staticfile mod_scgi mod_flv_streaming"
30477
29532
 
30478
29533
plugins="mod_rewrite mod_redirect mod_ssi mod_trigger_b4_dl"
30479
29534
features="regex-conditionals"