~ubuntu-branches/ubuntu/trusty/swish-e/trusty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Ludovic Drolez
  • Date: 2009-11-05 16:23:33 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20091105162333-9xf7dmhhhvt97bvw
Tags: 2.4.7-1
* New upstream release
* Added Japanese and Russian debconf translations. Closes: #543187, #512987

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.61.
 
3
# Generated by GNU Autoconf 2.59.
4
4
#
5
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
5
# Copyright (C) 2003 Free Software Foundation, Inc.
7
6
# This configure script is free software; the Free Software Foundation
8
7
# gives unlimited permission to copy, distribute and modify it.
9
8
## --------------------- ##
10
9
## M4sh Initialization.  ##
11
10
## --------------------- ##
12
11
 
13
 
# Be more Bourne compatible
 
12
# Be Bourne compatible
 
13
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
14
  emulate sh
 
15
  NULLCMD=:
 
16
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
17
  # is contrary to our usage.  Disable this feature.
 
18
  alias -g '${1+"$@"}'='"$@"'
 
19
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
 
20
  set -o posix
 
21
fi
14
22
DUALCASE=1; export DUALCASE # for MKS sh
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
 
  emulate sh
17
 
  NULLCMD=:
18
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
 
  # is contrary to our usage.  Disable this feature.
20
 
  alias -g '${1+"$@"}'='"$@"'
21
 
  setopt NO_GLOB_SUBST
22
 
else
23
 
  case `(set -o) 2>/dev/null` in
24
 
  *posix*) set -o posix ;;
25
 
esac
26
 
 
27
 
fi
28
 
 
29
 
 
30
 
 
31
 
 
32
 
# PATH needs CR
33
 
# Avoid depending upon Character Ranges.
34
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
 
as_cr_digits='0123456789'
38
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
39
 
 
40
 
# The user is always right.
41
 
if test "${PATH_SEPARATOR+set}" != set; then
42
 
  echo "#! /bin/sh" >conf$$.sh
43
 
  echo  "exit 0"   >>conf$$.sh
44
 
  chmod +x conf$$.sh
45
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46
 
    PATH_SEPARATOR=';'
47
 
  else
48
 
    PATH_SEPARATOR=:
49
 
  fi
50
 
  rm -f conf$$.sh
51
 
fi
52
23
 
53
24
# Support unset when possible.
54
25
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58
29
fi
59
30
 
60
31
 
61
 
# IFS
62
 
# We need space, tab and new line, in precisely that order.  Quoting is
63
 
# there to prevent editors from complaining about space-tab.
64
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
 
# splitting by setting IFS to empty value.)
66
 
as_nl='
67
 
'
68
 
IFS=" ""        $as_nl"
69
 
 
70
 
# Find who we are.  Look in the path if we contain no directory separator.
71
 
case $0 in
72
 
  *[\\/]* ) as_myself=$0 ;;
73
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74
 
for as_dir in $PATH
75
 
do
76
 
  IFS=$as_save_IFS
77
 
  test -z "$as_dir" && as_dir=.
78
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79
 
done
80
 
IFS=$as_save_IFS
81
 
 
82
 
     ;;
83
 
esac
84
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
85
 
# in which case we are not to be found in the path.
86
 
if test "x$as_myself" = x; then
87
 
  as_myself=$0
88
 
fi
89
 
if test ! -f "$as_myself"; then
90
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91
 
  { (exit 1); exit 1; }
92
 
fi
93
 
 
94
32
# Work around bugs in pre-3.0 UWIN ksh.
95
 
for as_var in ENV MAIL MAILPATH
96
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97
 
done
 
33
$as_unset ENV MAIL MAILPATH
98
34
PS1='$ '
99
35
PS2='> '
100
36
PS4='+ '
108
44
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
45
    eval $as_var=C; export $as_var
110
46
  else
111
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
47
    $as_unset $as_var
112
48
  fi
113
49
done
114
50
 
115
51
# Required to use basename.
116
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
117
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
52
if expr a : '\(a\)' >/dev/null 2>&1; then
118
53
  as_expr=expr
119
54
else
120
55
  as_expr=false
121
56
fi
122
57
 
123
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
58
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
124
59
  as_basename=basename
125
60
else
126
61
  as_basename=false
128
63
 
129
64
 
130
65
# Name of the executable.
131
 
as_me=`$as_basename -- "$0" ||
 
66
as_me=`$as_basename "$0" ||
132
67
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
68
         X"$0" : 'X\(//\)$' \| \
134
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
69
         X"$0" : 'X\(/\)$' \| \
 
70
         .     : '\(.\)' 2>/dev/null ||
135
71
echo X/"$0" |
136
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
137
 
            s//\1/
138
 
            q
139
 
          }
140
 
          /^X\/\(\/\/\)$/{
141
 
            s//\1/
142
 
            q
143
 
          }
144
 
          /^X\/\(\/\).*/{
145
 
            s//\1/
146
 
            q
147
 
          }
148
 
          s/.*/./; q'`
149
 
 
150
 
# CDPATH.
151
 
$as_unset CDPATH
152
 
 
153
 
 
154
 
if test "x$CONFIG_SHELL" = x; then
155
 
  if (eval ":") 2>/dev/null; then
156
 
  as_have_required=yes
157
 
else
158
 
  as_have_required=no
159
 
fi
160
 
 
161
 
  if test $as_have_required = yes &&     (eval ":
162
 
(as_func_return () {
163
 
  (exit \$1)
164
 
}
165
 
as_func_success () {
166
 
  as_func_return 0
167
 
}
168
 
as_func_failure () {
169
 
  as_func_return 1
170
 
}
171
 
as_func_ret_success () {
172
 
  return 0
173
 
}
174
 
as_func_ret_failure () {
175
 
  return 1
176
 
}
177
 
 
178
 
exitcode=0
179
 
if as_func_success; then
180
 
  :
181
 
else
182
 
  exitcode=1
183
 
  echo as_func_success failed.
184
 
fi
185
 
 
186
 
if as_func_failure; then
187
 
  exitcode=1
188
 
  echo as_func_failure succeeded.
189
 
fi
190
 
 
191
 
if as_func_ret_success; then
192
 
  :
193
 
else
194
 
  exitcode=1
195
 
  echo as_func_ret_success failed.
196
 
fi
197
 
 
198
 
if as_func_ret_failure; then
199
 
  exitcode=1
200
 
  echo as_func_ret_failure succeeded.
201
 
fi
202
 
 
203
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204
 
  :
205
 
else
206
 
  exitcode=1
207
 
  echo positional parameters were not saved.
208
 
fi
209
 
 
210
 
test \$exitcode = 0) || { (exit 1); exit 1; }
211
 
 
212
 
(
213
 
  as_lineno_1=\$LINENO
214
 
  as_lineno_2=\$LINENO
215
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217
 
") 2> /dev/null; then
218
 
  :
219
 
else
220
 
  as_candidate_shells=
 
72
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 
73
          /^X\/\(\/\/\)$/{ s//\1/; q; }
 
74
          /^X\/\(\/\).*/{ s//\1/; q; }
 
75
          s/.*/./; q'`
 
76
 
 
77
 
 
78
# PATH needs CR, and LINENO needs CR and PATH.
 
79
# Avoid depending upon Character Ranges.
 
80
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
81
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
82
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
83
as_cr_digits='0123456789'
 
84
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
85
 
 
86
# The user is always right.
 
87
if test "${PATH_SEPARATOR+set}" != set; then
 
88
  echo "#! /bin/sh" >conf$$.sh
 
89
  echo  "exit 0"   >>conf$$.sh
 
90
  chmod +x conf$$.sh
 
91
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
92
    PATH_SEPARATOR=';'
 
93
  else
 
94
    PATH_SEPARATOR=:
 
95
  fi
 
96
  rm -f conf$$.sh
 
97
fi
 
98
 
 
99
 
 
100
  as_lineno_1=$LINENO
 
101
  as_lineno_2=$LINENO
 
102
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
103
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
104
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
 
105
  # Find who we are.  Look in the path if we contain no path at all
 
106
  # relative or not.
 
107
  case $0 in
 
108
    *[\\/]* ) as_myself=$0 ;;
 
109
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
110
for as_dir in $PATH
 
111
do
 
112
  IFS=$as_save_IFS
 
113
  test -z "$as_dir" && as_dir=.
 
114
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
115
done
 
116
 
 
117
       ;;
 
118
  esac
 
119
  # We did not find ourselves, most probably we were run as `sh COMMAND'
 
120
  # in which case we are not to be found in the path.
 
121
  if test "x$as_myself" = x; then
 
122
    as_myself=$0
 
123
  fi
 
124
  if test ! -f "$as_myself"; then
 
125
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
 
126
   { (exit 1); exit 1; }; }
 
127
  fi
 
128
  case $CONFIG_SHELL in
 
129
  '')
221
130
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222
131
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223
132
do
224
133
  IFS=$as_save_IFS
225
134
  test -z "$as_dir" && as_dir=.
226
 
  case $as_dir in
 
135
  for as_base in sh bash ksh sh5; do
 
136
         case $as_dir in
227
137
         /*)
228
 
           for as_base in sh bash ksh sh5; do
229
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230
 
           done;;
231
 
       esac
 
138
           if ("$as_dir/$as_base" -c '
 
139
  as_lineno_1=$LINENO
 
140
  as_lineno_2=$LINENO
 
141
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
142
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
143
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 
144
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 
145
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
 
146
             CONFIG_SHELL=$as_dir/$as_base
 
147
             export CONFIG_SHELL
 
148
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 
149
           fi;;
 
150
         esac
 
151
       done
232
152
done
233
 
IFS=$as_save_IFS
234
 
 
235
 
 
236
 
      for as_shell in $as_candidate_shells $SHELL; do
237
 
         # Try only shells that exist, to save several forks.
238
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
240
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241
 
  emulate sh
242
 
  NULLCMD=:
243
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244
 
  # is contrary to our usage.  Disable this feature.
245
 
  alias -g '${1+"$@"}'='"$@"'
246
 
  setopt NO_GLOB_SUBST
247
 
else
248
 
  case `(set -o) 2>/dev/null` in
249
 
  *posix*) set -o posix ;;
250
 
esac
251
 
 
252
 
fi
253
 
 
254
 
 
255
 
:
256
 
_ASEOF
257
 
}; then
258
 
  CONFIG_SHELL=$as_shell
259
 
               as_have_required=yes
260
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
261
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
 
  emulate sh
263
 
  NULLCMD=:
264
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265
 
  # is contrary to our usage.  Disable this feature.
266
 
  alias -g '${1+"$@"}'='"$@"'
267
 
  setopt NO_GLOB_SUBST
268
 
else
269
 
  case `(set -o) 2>/dev/null` in
270
 
  *posix*) set -o posix ;;
271
 
esac
272
 
 
273
 
fi
274
 
 
275
 
 
276
 
:
277
 
(as_func_return () {
278
 
  (exit $1)
279
 
}
280
 
as_func_success () {
281
 
  as_func_return 0
282
 
}
283
 
as_func_failure () {
284
 
  as_func_return 1
285
 
}
286
 
as_func_ret_success () {
287
 
  return 0
288
 
}
289
 
as_func_ret_failure () {
290
 
  return 1
291
 
}
292
 
 
293
 
exitcode=0
294
 
if as_func_success; then
295
 
  :
296
 
else
297
 
  exitcode=1
298
 
  echo as_func_success failed.
299
 
fi
300
 
 
301
 
if as_func_failure; then
302
 
  exitcode=1
303
 
  echo as_func_failure succeeded.
304
 
fi
305
 
 
306
 
if as_func_ret_success; then
307
 
  :
308
 
else
309
 
  exitcode=1
310
 
  echo as_func_ret_success failed.
311
 
fi
312
 
 
313
 
if as_func_ret_failure; then
314
 
  exitcode=1
315
 
  echo as_func_ret_failure succeeded.
316
 
fi
317
 
 
318
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
319
 
  :
320
 
else
321
 
  exitcode=1
322
 
  echo positional parameters were not saved.
323
 
fi
324
 
 
325
 
test $exitcode = 0) || { (exit 1); exit 1; }
326
 
 
327
 
(
328
 
  as_lineno_1=$LINENO
329
 
  as_lineno_2=$LINENO
330
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
331
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
 
 
333
 
_ASEOF
334
 
}; then
335
 
  break
336
 
fi
337
 
 
338
 
fi
339
 
 
340
 
      done
341
 
 
342
 
      if test "x$CONFIG_SHELL" != x; then
343
 
  for as_var in BASH_ENV ENV
344
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345
 
        done
346
 
        export CONFIG_SHELL
347
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348
 
fi
349
 
 
350
 
 
351
 
    if test $as_have_required = no; then
352
 
  echo This script requires a shell more modern than all the
353
 
      echo shells that I found on your system.  Please install a
354
 
      echo modern shell, or manually run the script under such a
355
 
      echo shell if you do have one.
356
 
      { (exit 1); exit 1; }
357
 
fi
358
 
 
359
 
 
360
 
fi
361
 
 
362
 
fi
363
 
 
364
 
 
365
 
 
366
 
(eval "as_func_return () {
367
 
  (exit \$1)
368
 
}
369
 
as_func_success () {
370
 
  as_func_return 0
371
 
}
372
 
as_func_failure () {
373
 
  as_func_return 1
374
 
}
375
 
as_func_ret_success () {
376
 
  return 0
377
 
}
378
 
as_func_ret_failure () {
379
 
  return 1
380
 
}
381
 
 
382
 
exitcode=0
383
 
if as_func_success; then
384
 
  :
385
 
else
386
 
  exitcode=1
387
 
  echo as_func_success failed.
388
 
fi
389
 
 
390
 
if as_func_failure; then
391
 
  exitcode=1
392
 
  echo as_func_failure succeeded.
393
 
fi
394
 
 
395
 
if as_func_ret_success; then
396
 
  :
397
 
else
398
 
  exitcode=1
399
 
  echo as_func_ret_success failed.
400
 
fi
401
 
 
402
 
if as_func_ret_failure; then
403
 
  exitcode=1
404
 
  echo as_func_ret_failure succeeded.
405
 
fi
406
 
 
407
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408
 
  :
409
 
else
410
 
  exitcode=1
411
 
  echo positional parameters were not saved.
412
 
fi
413
 
 
414
 
test \$exitcode = 0") || {
415
 
  echo No shell found that supports shell functions.
416
 
  echo Please tell autoconf@gnu.org about your system,
417
 
  echo including any error possibly output before this
418
 
  echo message
419
 
}
420
 
 
421
 
 
422
 
 
423
 
  as_lineno_1=$LINENO
424
 
  as_lineno_2=$LINENO
425
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
426
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 
153
;;
 
154
  esac
427
155
 
428
156
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429
157
  # uniformly replaced by the line number.  The first 'sed' inserts a
430
 
  # line-number line after each line using $LINENO; the second 'sed'
431
 
  # does the real work.  The second script uses 'N' to pair each
432
 
  # line-number line with the line containing $LINENO, and appends
433
 
  # trailing '-' during substitution so that $LINENO is not a special
434
 
  # case at line end.
 
158
  # line-number line before each line; the second 'sed' does the real
 
159
  # work.  The second script uses 'N' to pair each line-number line
 
160
  # with the numbered line, and appends trailing '-' during
 
161
  # substitution so that $LINENO is not a special case at line end.
435
162
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
437
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
438
 
  sed -n '
439
 
    p
440
 
    /[$]LINENO/=
441
 
  ' <$as_myself |
 
163
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
 
164
  sed '=' <$as_myself |
442
165
    sed '
443
 
      s/[$]LINENO.*/&-/
444
 
      t lineno
445
 
      b
446
 
      :lineno
447
166
      N
448
 
      :loop
449
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
167
      s,$,-,
 
168
      : loop
 
169
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
450
170
      t loop
451
 
      s/-\n.*//
 
171
      s,-$,,
 
172
      s,^['$as_cr_digits']*\n,,
452
173
    ' >$as_me.lineno &&
453
 
  chmod +x "$as_me.lineno" ||
 
174
  chmod +x $as_me.lineno ||
454
175
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
176
   { (exit 1); exit 1; }; }
456
177
 
457
178
  # Don't try to exec as it changes $[0], causing all sort of problems
458
179
  # (the dirname of $[0] is not the place where we might find the
459
 
  # original and so on.  Autoconf is especially sensitive to this).
460
 
  . "./$as_me.lineno"
 
180
  # original and so on.  Autoconf is especially sensible to this).
 
181
  . ./$as_me.lineno
461
182
  # Exit status is that of the last command.
462
183
  exit
463
184
}
464
185
 
465
186
 
466
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467
 
  as_dirname=dirname
468
 
else
469
 
  as_dirname=false
470
 
fi
471
 
 
472
 
ECHO_C= ECHO_N= ECHO_T=
473
 
case `echo -n x` in
474
 
-n*)
475
 
  case `echo 'x\c'` in
476
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
477
 
  *)   ECHO_C='\c';;
478
 
  esac;;
479
 
*)
480
 
  ECHO_N='-n';;
 
187
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 
188
  *c*,-n*) ECHO_N= ECHO_C='
 
189
' ECHO_T='      ' ;;
 
190
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 
191
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
481
192
esac
482
193
 
483
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
194
if expr a : '\(a\)' >/dev/null 2>&1; then
485
195
  as_expr=expr
486
196
else
487
197
  as_expr=false
488
198
fi
489
199
 
490
200
rm -f conf$$ conf$$.exe conf$$.file
491
 
if test -d conf$$.dir; then
492
 
  rm -f conf$$.dir/conf$$.file
493
 
else
494
 
  rm -f conf$$.dir
495
 
  mkdir conf$$.dir
496
 
fi
497
201
echo >conf$$.file
498
202
if ln -s conf$$.file conf$$ 2>/dev/null; then
499
 
  as_ln_s='ln -s'
500
 
  # ... but there are two gotchas:
501
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
 
  # In both cases, we have to default to `cp -p'.
504
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
203
  # We could just check for DJGPP; but this test a) works b) is more generic
 
204
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
 
205
  if test -f conf$$.exe; then
 
206
    # Don't use ln at all; we don't have any links
505
207
    as_ln_s='cp -p'
 
208
  else
 
209
    as_ln_s='ln -s'
 
210
  fi
506
211
elif ln conf$$.file conf$$ 2>/dev/null; then
507
212
  as_ln_s=ln
508
213
else
509
214
  as_ln_s='cp -p'
510
215
fi
511
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512
 
rmdir conf$$.dir 2>/dev/null
 
216
rm -f conf$$ conf$$.exe conf$$.file
513
217
 
514
218
if mkdir -p . 2>/dev/null; then
515
219
  as_mkdir_p=:
518
222
  as_mkdir_p=false
519
223
fi
520
224
 
521
 
if test -x / >/dev/null 2>&1; then
522
 
  as_test_x='test -x'
523
 
else
524
 
  if ls -dL / >/dev/null 2>&1; then
525
 
    as_ls_L_option=L
526
 
  else
527
 
    as_ls_L_option=
528
 
  fi
529
 
  as_test_x='
530
 
    eval sh -c '\''
531
 
      if test -d "$1"; then
532
 
        test -d "$1/.";
533
 
      else
534
 
        case $1 in
535
 
        -*)set "./$1";;
536
 
        esac;
537
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538
 
        ???[sx]*):;;*)false;;esac;fi
539
 
    '\'' sh
540
 
  '
541
 
fi
542
 
as_executable_p=$as_test_x
 
225
as_executable_p="test -f"
543
226
 
544
227
# Sed expression to map a string onto a valid CPP name.
545
228
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
231
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
232
 
550
233
 
 
234
# IFS
 
235
# We need space, tab and new line, in precisely that order.
 
236
as_nl='
 
237
'
 
238
IFS="   $as_nl"
 
239
 
 
240
# CDPATH.
 
241
$as_unset CDPATH
 
242
 
551
243
 
552
244
 
553
245
# Check that we are running under the correct shell.
703
395
 
704
396
tagnames=${tagnames+${tagnames},}F77
705
397
 
706
 
exec 7<&0 </dev/null 6>&1
707
 
 
708
398
# Name of the host.
709
399
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
710
400
# so uname gets run too.
711
401
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
712
402
 
 
403
exec 6>&1
 
404
 
713
405
#
714
406
# Initializations.
715
407
#
716
408
ac_default_prefix=/usr/local
717
 
ac_clean_files=
718
409
ac_config_libobj_dir=.
719
 
LIBOBJS=
720
410
cross_compiling=no
721
411
subdirs=
722
412
MFLAGS=
723
413
MAKEFLAGS=
724
414
SHELL=${CONFIG_SHELL-/bin/sh}
725
415
 
 
416
# Maximum number of lines to put in a shell here document.
 
417
# This variable seems obsolete.  It should probably be removed, and
 
418
# only ac_max_sed_lines should be used.
 
419
: ${ac_max_here_lines=38}
 
420
 
726
421
# Identity of this package.
727
422
PACKAGE_NAME=
728
423
PACKAGE_TARNAME=
734
429
# Factoring default headers for most tests.
735
430
ac_includes_default="\
736
431
#include <stdio.h>
737
 
#ifdef HAVE_SYS_TYPES_H
 
432
#if HAVE_SYS_TYPES_H
738
433
# include <sys/types.h>
739
434
#endif
740
 
#ifdef HAVE_SYS_STAT_H
 
435
#if HAVE_SYS_STAT_H
741
436
# include <sys/stat.h>
742
437
#endif
743
 
#ifdef STDC_HEADERS
 
438
#if STDC_HEADERS
744
439
# include <stdlib.h>
745
440
# include <stddef.h>
746
441
#else
747
 
# ifdef HAVE_STDLIB_H
 
442
# if HAVE_STDLIB_H
748
443
#  include <stdlib.h>
749
444
# endif
750
445
#endif
751
 
#ifdef HAVE_STRING_H
752
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
446
#if HAVE_STRING_H
 
447
# if !STDC_HEADERS && HAVE_MEMORY_H
753
448
#  include <memory.h>
754
449
# endif
755
450
# include <string.h>
756
451
#endif
757
 
#ifdef HAVE_STRINGS_H
 
452
#if HAVE_STRINGS_H
758
453
# include <strings.h>
759
454
#endif
760
 
#ifdef HAVE_INTTYPES_H
 
455
#if HAVE_INTTYPES_H
761
456
# include <inttypes.h>
762
 
#endif
763
 
#ifdef HAVE_STDINT_H
764
 
# include <stdint.h>
765
 
#endif
766
 
#ifdef HAVE_UNISTD_H
 
457
#else
 
458
# if HAVE_STDINT_H
 
459
#  include <stdint.h>
 
460
# endif
 
461
#endif
 
462
#if HAVE_UNISTD_H
767
463
# include <unistd.h>
768
464
#endif"
769
465
 
770
 
ac_subst_vars='SHELL
771
 
PATH_SEPARATOR
772
 
PACKAGE_NAME
773
 
PACKAGE_TARNAME
774
 
PACKAGE_VERSION
775
 
PACKAGE_STRING
776
 
PACKAGE_BUGREPORT
777
 
exec_prefix
778
 
prefix
779
 
program_transform_name
780
 
bindir
781
 
sbindir
782
 
libexecdir
783
 
datarootdir
784
 
datadir
785
 
sysconfdir
786
 
sharedstatedir
787
 
localstatedir
788
 
includedir
789
 
oldincludedir
790
 
docdir
791
 
infodir
792
 
htmldir
793
 
dvidir
794
 
pdfdir
795
 
psdir
796
 
libdir
797
 
localedir
798
 
mandir
799
 
DEFS
800
 
ECHO_C
801
 
ECHO_N
802
 
ECHO_T
803
 
LIBS
804
 
build_alias
805
 
host_alias
806
 
target_alias
807
 
BUILDDOCS_TRUE
808
 
BUILDDOCS_FALSE
809
 
INSTALLDOCS_TRUE
810
 
INSTALLDOCS_FALSE
811
 
SWISH_WEB
812
 
INSTALL_PROGRAM
813
 
INSTALL_SCRIPT
814
 
INSTALL_DATA
815
 
CYGPATH_W
816
 
PACKAGE
817
 
VERSION
818
 
ACLOCAL
819
 
AUTOCONF
820
 
AUTOMAKE
821
 
AUTOHEADER
822
 
MAKEINFO
823
 
install_sh
824
 
STRIP
825
 
INSTALL_STRIP_PROGRAM
826
 
mkdir_p
827
 
AWK
828
 
SET_MAKE
829
 
am__leading_dot
830
 
AMTAR
831
 
am__tar
832
 
am__untar
833
 
CC
834
 
CFLAGS
835
 
LDFLAGS
836
 
CPPFLAGS
837
 
ac_ct_CC
838
 
EXEEXT
839
 
OBJEXT
840
 
DEPDIR
841
 
am__include
842
 
am__quote
843
 
AMDEP_TRUE
844
 
AMDEP_FALSE
845
 
AMDEPBACKSLASH
846
 
CCDEPMODE
847
 
am__fastdepCC_TRUE
848
 
am__fastdepCC_FALSE
849
 
build
850
 
build_cpu
851
 
build_vendor
852
 
build_os
853
 
host
854
 
host_cpu
855
 
host_vendor
856
 
host_os
857
 
GREP
858
 
EGREP
859
 
LN_S
860
 
ECHO
861
 
AR
862
 
RANLIB
863
 
DLLTOOL
864
 
AS
865
 
OBJDUMP
866
 
CPP
867
 
CXX
868
 
CXXFLAGS
869
 
ac_ct_CXX
870
 
CXXDEPMODE
871
 
am__fastdepCXX_TRUE
872
 
am__fastdepCXX_FALSE
873
 
CXXCPP
874
 
F77
875
 
FFLAGS
876
 
ac_ct_F77
877
 
LIBTOOL
878
 
MAINTAINER_MODE_TRUE
879
 
MAINTAINER_MODE_FALSE
880
 
MAINT
881
 
PERL
882
 
POD2MAN
883
 
ALLOCA
884
 
LIBOBJS
885
 
XML2_CONFIG
886
 
LIBXML_REQUIRED_VERSION
887
 
LIBXML2_OBJS
888
 
LIBXML2_LIB
889
 
LIBXML2_CFLAGS
890
 
BTREE_OBJS
891
 
Z_CFLAGS
892
 
Z_LIBS
893
 
PCRE_CONFIG
894
 
PCRE_REQUIRED_VERSION
895
 
PCRE_CFLAGS
896
 
PCRE_LIBS
897
 
LTLIBOBJS'
 
466
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 BUILDDOCS_TRUE BUILDDOCS_FALSE INSTALLDOCS_TRUE INSTALLDOCS_FALSE SWISH_WEB 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 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT PERL POD2MAN ALLOCA LIBOBJS XML2_CONFIG LIBXML_REQUIRED_VERSION LIBXML2_OBJS LIBXML2_LIB LIBXML2_CFLAGS BTREE_OBJS Z_CFLAGS Z_LIBS PCRE_CONFIG PCRE_REQUIRED_VERSION PCRE_CFLAGS PCRE_LIBS LARGEFILES_MACROS LTLIBOBJS'
898
467
ac_subst_files=''
899
 
      ac_precious_vars='build_alias
900
 
host_alias
901
 
target_alias
902
 
CC
903
 
CFLAGS
904
 
LDFLAGS
905
 
LIBS
906
 
CPPFLAGS
907
 
CPP
908
 
CXX
909
 
CXXFLAGS
910
 
CCC
911
 
CXXCPP
912
 
F77
913
 
FFLAGS'
914
 
 
915
468
 
916
469
# Initialize some variables set by options.
917
470
ac_init_help=
938
491
# and all the variables that are supposed to be based on exec_prefix
939
492
# by default will actually change.
940
493
# Use braces instead of parens because sh, perl, etc. also accept them.
941
 
# (The list follows the same order as the GNU Coding Standards.)
942
494
bindir='${exec_prefix}/bin'
943
495
sbindir='${exec_prefix}/sbin'
944
496
libexecdir='${exec_prefix}/libexec'
945
 
datarootdir='${prefix}/share'
946
 
datadir='${datarootdir}'
 
497
datadir='${prefix}/share'
947
498
sysconfdir='${prefix}/etc'
948
499
sharedstatedir='${prefix}/com'
949
500
localstatedir='${prefix}/var'
 
501
libdir='${exec_prefix}/lib'
950
502
includedir='${prefix}/include'
951
503
oldincludedir='/usr/include'
952
 
docdir='${datarootdir}/doc/${PACKAGE}'
953
 
infodir='${datarootdir}/info'
954
 
htmldir='${docdir}'
955
 
dvidir='${docdir}'
956
 
pdfdir='${docdir}'
957
 
psdir='${docdir}'
958
 
libdir='${exec_prefix}/lib'
959
 
localedir='${datarootdir}/locale'
960
 
mandir='${datarootdir}/man'
 
504
infodir='${prefix}/info'
 
505
mandir='${prefix}/man'
961
506
 
962
507
ac_prev=
963
 
ac_dashdash=
964
508
for ac_option
965
509
do
966
510
  # If the previous option needs an argument, assign it.
967
511
  if test -n "$ac_prev"; then
968
 
    eval $ac_prev=\$ac_option
 
512
    eval "$ac_prev=\$ac_option"
969
513
    ac_prev=
970
514
    continue
971
515
  fi
972
516
 
973
 
  case $ac_option in
974
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
975
 
  *)    ac_optarg=yes ;;
976
 
  esac
 
517
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
977
518
 
978
519
  # Accept the important Cygnus configure options, so we can diagnose typos.
979
520
 
980
 
  case $ac_dashdash$ac_option in
981
 
  --)
982
 
    ac_dashdash=yes ;;
 
521
  case $ac_option in
983
522
 
984
523
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
985
524
    ac_prev=bindir ;;
1001
540
  --config-cache | -C)
1002
541
    cache_file=config.cache ;;
1003
542
 
1004
 
  -datadir | --datadir | --datadi | --datad)
 
543
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
1005
544
    ac_prev=datadir ;;
1006
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
545
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
 
546
  | --da=*)
1007
547
    datadir=$ac_optarg ;;
1008
548
 
1009
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1010
 
  | --dataroo | --dataro | --datar)
1011
 
    ac_prev=datarootdir ;;
1012
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1013
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1014
 
    datarootdir=$ac_optarg ;;
1015
 
 
1016
549
  -disable-* | --disable-*)
1017
550
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1018
551
    # Reject names that are not valid shell variable names.
1019
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
552
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1020
553
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1021
554
   { (exit 1); exit 1; }; }
1022
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1023
 
    eval enable_$ac_feature=no ;;
1024
 
 
1025
 
  -docdir | --docdir | --docdi | --doc | --do)
1026
 
    ac_prev=docdir ;;
1027
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1028
 
    docdir=$ac_optarg ;;
1029
 
 
1030
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1031
 
    ac_prev=dvidir ;;
1032
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1033
 
    dvidir=$ac_optarg ;;
 
555
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
556
    eval "enable_$ac_feature=no" ;;
1034
557
 
1035
558
  -enable-* | --enable-*)
1036
559
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1037
560
    # Reject names that are not valid shell variable names.
1038
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
561
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1039
562
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1040
563
   { (exit 1); exit 1; }; }
1041
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1042
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
564
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
565
    case $ac_option in
 
566
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
 
567
      *) ac_optarg=yes ;;
 
568
    esac
 
569
    eval "enable_$ac_feature='$ac_optarg'" ;;
1043
570
 
1044
571
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1045
572
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1066
593
  -host=* | --host=* | --hos=* | --ho=*)
1067
594
    host_alias=$ac_optarg ;;
1068
595
 
1069
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1070
 
    ac_prev=htmldir ;;
1071
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1072
 
  | --ht=*)
1073
 
    htmldir=$ac_optarg ;;
1074
 
 
1075
596
  -includedir | --includedir | --includedi | --included | --include \
1076
597
  | --includ | --inclu | --incl | --inc)
1077
598
    ac_prev=includedir ;;
1096
617
  | --libexe=* | --libex=* | --libe=*)
1097
618
    libexecdir=$ac_optarg ;;
1098
619
 
1099
 
  -localedir | --localedir | --localedi | --localed | --locale)
1100
 
    ac_prev=localedir ;;
1101
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1102
 
    localedir=$ac_optarg ;;
1103
 
 
1104
620
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1105
 
  | --localstate | --localstat | --localsta | --localst | --locals)
 
621
  | --localstate | --localstat | --localsta | --localst \
 
622
  | --locals | --local | --loca | --loc | --lo)
1106
623
    ac_prev=localstatedir ;;
1107
624
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1108
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
625
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
 
626
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1109
627
    localstatedir=$ac_optarg ;;
1110
628
 
1111
629
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1170
688
  | --progr-tra=* | --program-tr=* | --program-t=*)
1171
689
    program_transform_name=$ac_optarg ;;
1172
690
 
1173
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1174
 
    ac_prev=pdfdir ;;
1175
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1176
 
    pdfdir=$ac_optarg ;;
1177
 
 
1178
 
  -psdir | --psdir | --psdi | --psd | --ps)
1179
 
    ac_prev=psdir ;;
1180
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1181
 
    psdir=$ac_optarg ;;
1182
 
 
1183
691
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1184
692
  | -silent | --silent | --silen | --sile | --sil)
1185
693
    silent=yes ;;
1232
740
  -with-* | --with-*)
1233
741
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1234
742
    # Reject names that are not valid shell variable names.
1235
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
743
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1236
744
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1237
745
   { (exit 1); exit 1; }; }
1238
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1239
 
    eval with_$ac_package=\$ac_optarg ;;
 
746
    ac_package=`echo $ac_package| sed 's/-/_/g'`
 
747
    case $ac_option in
 
748
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
 
749
      *) ac_optarg=yes ;;
 
750
    esac
 
751
    eval "with_$ac_package='$ac_optarg'" ;;
1240
752
 
1241
753
  -without-* | --without-*)
1242
754
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1243
755
    # Reject names that are not valid shell variable names.
1244
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
756
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1245
757
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1246
758
   { (exit 1); exit 1; }; }
1247
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1248
 
    eval with_$ac_package=no ;;
 
759
    ac_package=`echo $ac_package | sed 's/-/_/g'`
 
760
    eval "with_$ac_package=no" ;;
1249
761
 
1250
762
  --x)
1251
763
    # Obsolete; use --with-x.
1276
788
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1277
789
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1278
790
   { (exit 1); exit 1; }; }
1279
 
    eval $ac_envvar=\$ac_optarg
 
791
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
 
792
    eval "$ac_envvar='$ac_optarg'"
1280
793
    export $ac_envvar ;;
1281
794
 
1282
795
  *)
1296
809
   { (exit 1); exit 1; }; }
1297
810
fi
1298
811
 
1299
 
# Be sure to have absolute directory names.
1300
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1301
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1302
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1303
 
                libdir localedir mandir
1304
 
do
1305
 
  eval ac_val=\$$ac_var
1306
 
  case $ac_val in
1307
 
    [\\/$]* | ?:[\\/]* )  continue;;
1308
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1309
 
  esac
1310
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1311
 
   { (exit 1); exit 1; }; }
 
812
# Be sure to have absolute paths.
 
813
for ac_var in exec_prefix prefix
 
814
do
 
815
  eval ac_val=$`echo $ac_var`
 
816
  case $ac_val in
 
817
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
 
818
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
819
   { (exit 1); exit 1; }; };;
 
820
  esac
 
821
done
 
822
 
 
823
# Be sure to have absolute paths.
 
824
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
 
825
              localstatedir libdir includedir oldincludedir infodir mandir
 
826
do
 
827
  eval ac_val=$`echo $ac_var`
 
828
  case $ac_val in
 
829
    [\\/$]* | ?:[\\/]* ) ;;
 
830
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
831
   { (exit 1); exit 1; }; };;
 
832
  esac
1312
833
done
1313
834
 
1314
835
# There might be people who depend on the old broken behavior: `$host'
1335
856
test "$silent" = yes && exec 6>/dev/null
1336
857
 
1337
858
 
1338
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1339
 
ac_ls_di=`ls -di .` &&
1340
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1341
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
1342
 
   { (exit 1); exit 1; }; }
1343
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1344
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1345
 
   { (exit 1); exit 1; }; }
1346
 
 
1347
 
 
1348
859
# Find the source files, if location was not specified.
1349
860
if test -z "$srcdir"; then
1350
861
  ac_srcdir_defaulted=yes
1351
 
  # Try the directory containing this script, then the parent directory.
1352
 
  ac_confdir=`$as_dirname -- "$0" ||
 
862
  # Try the directory containing this script, then its parent.
 
863
  ac_confdir=`(dirname "$0") 2>/dev/null ||
1353
864
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1354
865
         X"$0" : 'X\(//\)[^/]' \| \
1355
866
         X"$0" : 'X\(//\)$' \| \
1356
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
867
         X"$0" : 'X\(/\)' \| \
 
868
         .     : '\(.\)' 2>/dev/null ||
1357
869
echo X"$0" |
1358
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1359
 
            s//\1/
1360
 
            q
1361
 
          }
1362
 
          /^X\(\/\/\)[^/].*/{
1363
 
            s//\1/
1364
 
            q
1365
 
          }
1366
 
          /^X\(\/\/\)$/{
1367
 
            s//\1/
1368
 
            q
1369
 
          }
1370
 
          /^X\(\/\).*/{
1371
 
            s//\1/
1372
 
            q
1373
 
          }
1374
 
          s/.*/./; q'`
 
870
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
871
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
872
          /^X\(\/\/\)$/{ s//\1/; q; }
 
873
          /^X\(\/\).*/{ s//\1/; q; }
 
874
          s/.*/./; q'`
1375
875
  srcdir=$ac_confdir
1376
 
  if test ! -r "$srcdir/$ac_unique_file"; then
 
876
  if test ! -r $srcdir/$ac_unique_file; then
1377
877
    srcdir=..
1378
878
  fi
1379
879
else
1380
880
  ac_srcdir_defaulted=no
1381
881
fi
1382
 
if test ! -r "$srcdir/$ac_unique_file"; then
1383
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1384
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1385
 
   { (exit 1); exit 1; }; }
1386
 
fi
1387
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1388
 
ac_abs_confdir=`(
1389
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1390
 
   { (exit 1); exit 1; }; }
1391
 
        pwd)`
1392
 
# When building in place, set srcdir=.
1393
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1394
 
  srcdir=.
1395
 
fi
1396
 
# Remove unnecessary trailing slashes from srcdir.
1397
 
# Double slashes in file names in object file debugging info
1398
 
# mess up M-x gdb in Emacs.
1399
 
case $srcdir in
1400
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1401
 
esac
1402
 
for ac_var in $ac_precious_vars; do
1403
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1404
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1405
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1406
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1407
 
done
 
882
if test ! -r $srcdir/$ac_unique_file; then
 
883
  if test "$ac_srcdir_defaulted" = yes; then
 
884
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
 
885
   { (exit 1); exit 1; }; }
 
886
  else
 
887
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
888
   { (exit 1); exit 1; }; }
 
889
  fi
 
890
fi
 
891
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
 
892
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
 
893
   { (exit 1); exit 1; }; }
 
894
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
 
895
ac_env_build_alias_set=${build_alias+set}
 
896
ac_env_build_alias_value=$build_alias
 
897
ac_cv_env_build_alias_set=${build_alias+set}
 
898
ac_cv_env_build_alias_value=$build_alias
 
899
ac_env_host_alias_set=${host_alias+set}
 
900
ac_env_host_alias_value=$host_alias
 
901
ac_cv_env_host_alias_set=${host_alias+set}
 
902
ac_cv_env_host_alias_value=$host_alias
 
903
ac_env_target_alias_set=${target_alias+set}
 
904
ac_env_target_alias_value=$target_alias
 
905
ac_cv_env_target_alias_set=${target_alias+set}
 
906
ac_cv_env_target_alias_value=$target_alias
 
907
ac_env_CC_set=${CC+set}
 
908
ac_env_CC_value=$CC
 
909
ac_cv_env_CC_set=${CC+set}
 
910
ac_cv_env_CC_value=$CC
 
911
ac_env_CFLAGS_set=${CFLAGS+set}
 
912
ac_env_CFLAGS_value=$CFLAGS
 
913
ac_cv_env_CFLAGS_set=${CFLAGS+set}
 
914
ac_cv_env_CFLAGS_value=$CFLAGS
 
915
ac_env_LDFLAGS_set=${LDFLAGS+set}
 
916
ac_env_LDFLAGS_value=$LDFLAGS
 
917
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
 
918
ac_cv_env_LDFLAGS_value=$LDFLAGS
 
919
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
 
920
ac_env_CPPFLAGS_value=$CPPFLAGS
 
921
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
 
922
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
 
923
ac_env_CPP_set=${CPP+set}
 
924
ac_env_CPP_value=$CPP
 
925
ac_cv_env_CPP_set=${CPP+set}
 
926
ac_cv_env_CPP_value=$CPP
 
927
ac_env_CXX_set=${CXX+set}
 
928
ac_env_CXX_value=$CXX
 
929
ac_cv_env_CXX_set=${CXX+set}
 
930
ac_cv_env_CXX_value=$CXX
 
931
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
 
932
ac_env_CXXFLAGS_value=$CXXFLAGS
 
933
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
 
934
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
 
935
ac_env_CXXCPP_set=${CXXCPP+set}
 
936
ac_env_CXXCPP_value=$CXXCPP
 
937
ac_cv_env_CXXCPP_set=${CXXCPP+set}
 
938
ac_cv_env_CXXCPP_value=$CXXCPP
 
939
ac_env_F77_set=${F77+set}
 
940
ac_env_F77_value=$F77
 
941
ac_cv_env_F77_set=${F77+set}
 
942
ac_cv_env_F77_value=$F77
 
943
ac_env_FFLAGS_set=${FFLAGS+set}
 
944
ac_env_FFLAGS_value=$FFLAGS
 
945
ac_cv_env_FFLAGS_set=${FFLAGS+set}
 
946
ac_cv_env_FFLAGS_value=$FFLAGS
1408
947
 
1409
948
#
1410
949
# Report the --help message.
1433
972
  -n, --no-create         do not create output files
1434
973
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1435
974
 
 
975
_ACEOF
 
976
 
 
977
  cat <<_ACEOF
1436
978
Installation directories:
1437
979
  --prefix=PREFIX         install architecture-independent files in PREFIX
1438
980
                          [$ac_default_prefix]
1450
992
  --bindir=DIR           user executables [EPREFIX/bin]
1451
993
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1452
994
  --libexecdir=DIR       program executables [EPREFIX/libexec]
 
995
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
1453
996
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1454
997
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1455
998
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1456
999
  --libdir=DIR           object code libraries [EPREFIX/lib]
1457
1000
  --includedir=DIR       C header files [PREFIX/include]
1458
1001
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1459
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1460
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1461
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1462
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1463
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1464
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1465
 
  --htmldir=DIR          html documentation [DOCDIR]
1466
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1467
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1468
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1002
  --infodir=DIR          info documentation [PREFIX/info]
 
1003
  --mandir=DIR           man documentation [PREFIX/man]
1469
1004
_ACEOF
1470
1005
 
1471
1006
  cat <<\_ACEOF
1491
1026
  --enable-daystamp       Adds today's date to version
1492
1027
  --disable-dependency-tracking  speeds up one-time build
1493
1028
  --enable-dependency-tracking   do not reject slow dependency extractors
1494
 
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1495
 
  --enable-static[=PKGS]  build static libraries [default=yes]
 
1029
  --enable-shared[=PKGS]
 
1030
                          build shared libraries [default=yes]
 
1031
  --enable-static[=PKGS]
 
1032
                          build static libraries [default=yes]
1496
1033
  --enable-fast-install[=PKGS]
1497
1034
                          optimize for fast installation [default=yes]
1498
1035
  --disable-libtool-lock  avoid locking (might break parallel builds)
1500
1037
                          (and sometimes confusing) to the casual installer
1501
1038
  --enable-incremental    ** developer use only **
1502
1039
  --enable-psortarray     ** and use ARRAY persort arrays (if incremental)
 
1040
  --disable-largefile     omit support for large files
1503
1041
  --enable-memdebug       (developers only) checks for memory consistency on
1504
1042
                          alloc/free using guards
1505
1043
  --enable-memtrace       (developers only) checks for unfreed memory, and
1514
1052
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1515
1053
  --with-pic              try to use only PIC/non-PIC objects [default=use
1516
1054
                          both]
1517
 
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1055
  --with-tags[=TAGS]
 
1056
                          include additional configurations [automatic]
1518
1057
  --with-libxml2=DIR      use libxml2 in DIR (YES if found)
1519
1058
  --with-zlib[=DIR]       use libz in DIR
1520
1059
  --with-pcre=DIR         use pcre in DIR (YES if found)
1524
1063
  CFLAGS      C compiler flags
1525
1064
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1526
1065
              nonstandard directory <lib dir>
1527
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1528
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1529
 
              you have headers in a nonstandard directory <include dir>
 
1066
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
 
1067
              headers in a nonstandard directory <include dir>
1530
1068
  CPP         C preprocessor
1531
1069
  CXX         C++ compiler command
1532
1070
  CXXFLAGS    C++ compiler flags
1538
1076
it to find libraries and programs with nonstandard names/locations.
1539
1077
 
1540
1078
_ACEOF
1541
 
ac_status=$?
1542
1079
fi
1543
1080
 
1544
1081
if test "$ac_init_help" = "recursive"; then
1545
1082
  # If there are subdirs, report their specific --help.
 
1083
  ac_popdir=`pwd`
1546
1084
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1547
 
    test -d "$ac_dir" || continue
 
1085
    test -d $ac_dir || continue
1548
1086
    ac_builddir=.
1549
1087
 
1550
 
case "$ac_dir" in
1551
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1552
 
*)
 
1088
if test "$ac_dir" != .; then
1553
1089
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1554
 
  # A ".." for each directory in $ac_dir_suffix.
1555
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1556
 
  case $ac_top_builddir_sub in
1557
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1558
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1559
 
  esac ;;
1560
 
esac
1561
 
ac_abs_top_builddir=$ac_pwd
1562
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1563
 
# for backward compatibility:
1564
 
ac_top_builddir=$ac_top_build_prefix
 
1090
  # A "../" for each directory in $ac_dir_suffix.
 
1091
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
1092
else
 
1093
  ac_dir_suffix= ac_top_builddir=
 
1094
fi
1565
1095
 
1566
1096
case $srcdir in
1567
 
  .)  # We are building in place.
 
1097
  .)  # No --srcdir option.  We are building in place.
1568
1098
    ac_srcdir=.
1569
 
    ac_top_srcdir=$ac_top_builddir_sub
1570
 
    ac_abs_top_srcdir=$ac_pwd ;;
1571
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1099
    if test -z "$ac_top_builddir"; then
 
1100
       ac_top_srcdir=.
 
1101
    else
 
1102
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
1103
    fi ;;
 
1104
  [\\/]* | ?:[\\/]* )  # Absolute path.
1572
1105
    ac_srcdir=$srcdir$ac_dir_suffix;
1573
 
    ac_top_srcdir=$srcdir
1574
 
    ac_abs_top_srcdir=$srcdir ;;
1575
 
  *) # Relative name.
1576
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1577
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1578
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1579
 
esac
1580
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1581
 
 
1582
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1583
 
    # Check for guested configure.
1584
 
    if test -f "$ac_srcdir/configure.gnu"; then
1585
 
      echo &&
1586
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1587
 
    elif test -f "$ac_srcdir/configure"; then
1588
 
      echo &&
1589
 
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1106
    ac_top_srcdir=$srcdir ;;
 
1107
  *) # Relative path.
 
1108
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
1109
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
1110
esac
 
1111
 
 
1112
# Do not use `cd foo && pwd` to compute absolute paths, because
 
1113
# the directories may not exist.
 
1114
case `pwd` in
 
1115
.) ac_abs_builddir="$ac_dir";;
 
1116
*)
 
1117
  case "$ac_dir" in
 
1118
  .) ac_abs_builddir=`pwd`;;
 
1119
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
1120
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
1121
  esac;;
 
1122
esac
 
1123
case $ac_abs_builddir in
 
1124
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
1125
*)
 
1126
  case ${ac_top_builddir}. in
 
1127
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
1128
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
1129
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
1130
  esac;;
 
1131
esac
 
1132
case $ac_abs_builddir in
 
1133
.) ac_abs_srcdir=$ac_srcdir;;
 
1134
*)
 
1135
  case $ac_srcdir in
 
1136
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
1137
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
1138
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
1139
  esac;;
 
1140
esac
 
1141
case $ac_abs_builddir in
 
1142
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
1143
*)
 
1144
  case $ac_top_srcdir in
 
1145
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
1146
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
1147
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
1148
  esac;;
 
1149
esac
 
1150
 
 
1151
    cd $ac_dir
 
1152
    # Check for guested configure; otherwise get Cygnus style configure.
 
1153
    if test -f $ac_srcdir/configure.gnu; then
 
1154
      echo
 
1155
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
 
1156
    elif test -f $ac_srcdir/configure; then
 
1157
      echo
 
1158
      $SHELL $ac_srcdir/configure  --help=recursive
 
1159
    elif test -f $ac_srcdir/configure.ac ||
 
1160
           test -f $ac_srcdir/configure.in; then
 
1161
      echo
 
1162
      $ac_configure --help
1590
1163
    else
1591
1164
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1592
 
    fi || ac_status=$?
1593
 
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1165
    fi
 
1166
    cd $ac_popdir
1594
1167
  done
1595
1168
fi
1596
1169
 
1597
 
test -n "$ac_init_help" && exit $ac_status
 
1170
test -n "$ac_init_help" && exit 0
1598
1171
if $ac_init_version; then
1599
1172
  cat <<\_ACEOF
1600
 
configure
1601
 
generated by GNU Autoconf 2.61
1602
1173
 
1603
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1604
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1174
Copyright (C) 2003 Free Software Foundation, Inc.
1605
1175
This configure script is free software; the Free Software Foundation
1606
1176
gives unlimited permission to copy, distribute and modify it.
1607
1177
_ACEOF
1608
 
  exit
 
1178
  exit 0
1609
1179
fi
1610
 
cat >config.log <<_ACEOF
 
1180
exec 5>config.log
 
1181
cat >&5 <<_ACEOF
1611
1182
This file contains any messages produced by compilers while
1612
1183
running configure, to aid debugging if configure makes a mistake.
1613
1184
 
1614
1185
It was created by $as_me, which was
1615
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
1186
generated by GNU Autoconf 2.59.  Invocation command line was
1616
1187
 
1617
1188
  $ $0 $@
1618
1189
 
1619
1190
_ACEOF
1620
 
exec 5>>config.log
1621
1191
{
1622
1192
cat <<_ASUNAME
1623
1193
## --------- ##
1636
1206
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1637
1207
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1638
1208
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1639
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
1209
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1640
1210
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1641
1211
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1642
1212
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1650
1220
  test -z "$as_dir" && as_dir=.
1651
1221
  echo "PATH: $as_dir"
1652
1222
done
1653
 
IFS=$as_save_IFS
1654
1223
 
1655
1224
} >&5
1656
1225
 
1672
1241
ac_configure_args=
1673
1242
ac_configure_args0=
1674
1243
ac_configure_args1=
 
1244
ac_sep=
1675
1245
ac_must_keep_next=false
1676
1246
for ac_pass in 1 2
1677
1247
do
1682
1252
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1683
1253
    | -silent | --silent | --silen | --sile | --sil)
1684
1254
      continue ;;
1685
 
    *\'*)
 
1255
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1686
1256
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1687
1257
    esac
1688
1258
    case $ac_pass in
1704
1274
          -* ) ac_must_keep_next=true ;;
1705
1275
        esac
1706
1276
      fi
1707
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1277
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 
1278
      # Get rid of the leading space.
 
1279
      ac_sep=" "
1708
1280
      ;;
1709
1281
    esac
1710
1282
  done
1715
1287
# When interrupted or exit'd, cleanup temporary files, and complete
1716
1288
# config.log.  We remove comments because anyway the quotes in there
1717
1289
# would cause problems or look ugly.
1718
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
1719
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
1290
# WARNING: Be sure not to use single quotes in there, as some shells,
 
1291
# such as our DU 5.0 friend, will then `close' the trap.
1720
1292
trap 'exit_status=$?
1721
1293
  # Save into config.log some information that might help in debugging.
1722
1294
  {
1729
1301
_ASBOX
1730
1302
    echo
1731
1303
    # The following way of writing the cache mishandles newlines in values,
1732
 
(
1733
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1734
 
    eval ac_val=\$$ac_var
1735
 
    case $ac_val in #(
1736
 
    *${as_nl}*)
1737
 
      case $ac_var in #(
1738
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1739
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1740
 
      esac
1741
 
      case $ac_var in #(
1742
 
      _ | IFS | as_nl) ;; #(
1743
 
      *) $as_unset $ac_var ;;
1744
 
      esac ;;
1745
 
    esac
1746
 
  done
 
1304
{
1747
1305
  (set) 2>&1 |
1748
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1749
 
    *${as_nl}ac_space=\ *)
 
1306
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
 
1307
    *ac_space=\ *)
1750
1308
      sed -n \
1751
 
        "s/'\''/'\''\\\\'\'''\''/g;
1752
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1753
 
      ;; #(
 
1309
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
1310
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
1311
      ;;
1754
1312
    *)
1755
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
1313
      sed -n \
 
1314
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1756
1315
      ;;
1757
 
    esac |
1758
 
    sort
1759
 
)
 
1316
    esac;
 
1317
}
1760
1318
    echo
1761
1319
 
1762
1320
    cat <<\_ASBOX
1767
1325
    echo
1768
1326
    for ac_var in $ac_subst_vars
1769
1327
    do
1770
 
      eval ac_val=\$$ac_var
1771
 
      case $ac_val in
1772
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1773
 
      esac
1774
 
      echo "$ac_var='\''$ac_val'\''"
 
1328
      eval ac_val=$`echo $ac_var`
 
1329
      echo "$ac_var='"'"'$ac_val'"'"'"
1775
1330
    done | sort
1776
1331
    echo
1777
1332
 
1778
1333
    if test -n "$ac_subst_files"; then
1779
1334
      cat <<\_ASBOX
1780
 
## ------------------- ##
1781
 
## File substitutions. ##
1782
 
## ------------------- ##
 
1335
## ------------- ##
 
1336
## Output files. ##
 
1337
## ------------- ##
1783
1338
_ASBOX
1784
1339
      echo
1785
1340
      for ac_var in $ac_subst_files
1786
1341
      do
1787
 
        eval ac_val=\$$ac_var
1788
 
        case $ac_val in
1789
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1790
 
        esac
1791
 
        echo "$ac_var='\''$ac_val'\''"
 
1342
        eval ac_val=$`echo $ac_var`
 
1343
        echo "$ac_var='"'"'$ac_val'"'"'"
1792
1344
      done | sort
1793
1345
      echo
1794
1346
    fi
1800
1352
## ----------- ##
1801
1353
_ASBOX
1802
1354
      echo
1803
 
      cat confdefs.h
 
1355
      sed "/^$/d" confdefs.h | sort
1804
1356
      echo
1805
1357
    fi
1806
1358
    test "$ac_signal" != 0 &&
1807
1359
      echo "$as_me: caught signal $ac_signal"
1808
1360
    echo "$as_me: exit $exit_status"
1809
1361
  } >&5
1810
 
  rm -f core *.core core.conftest.* &&
1811
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
1362
  rm -f core *.core &&
 
1363
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1812
1364
    exit $exit_status
1813
 
' 0
 
1365
     ' 0
1814
1366
for ac_signal in 1 2 13 15; do
1815
1367
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1816
1368
done
1817
1369
ac_signal=0
1818
1370
 
1819
1371
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1820
 
rm -f -r conftest* confdefs.h
 
1372
rm -rf conftest* confdefs.h
 
1373
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
 
1374
echo >confdefs.h
1821
1375
 
1822
1376
# Predefined preprocessor variables.
1823
1377
 
1848
1402
 
1849
1403
# Let the site file select an alternate cache file if it wants to.
1850
1404
# Prefer explicitly selected file to automatically selected ones.
1851
 
if test -n "$CONFIG_SITE"; then
1852
 
  set x "$CONFIG_SITE"
1853
 
elif test "x$prefix" != xNONE; then
1854
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1855
 
else
1856
 
  set x "$ac_default_prefix/share/config.site" \
1857
 
        "$ac_default_prefix/etc/config.site"
 
1405
if test -z "$CONFIG_SITE"; then
 
1406
  if test "x$prefix" != xNONE; then
 
1407
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
 
1408
  else
 
1409
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
 
1410
  fi
1858
1411
fi
1859
 
shift
1860
 
for ac_site_file
1861
 
do
 
1412
for ac_site_file in $CONFIG_SITE; do
1862
1413
  if test -r "$ac_site_file"; then
1863
1414
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1864
1415
echo "$as_me: loading site script $ac_site_file" >&6;}
1874
1425
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1875
1426
echo "$as_me: loading cache $cache_file" >&6;}
1876
1427
    case $cache_file in
1877
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1878
 
      *)                      . "./$cache_file";;
 
1428
      [\\/]* | ?:[\\/]* ) . $cache_file;;
 
1429
      *)                      . ./$cache_file;;
1879
1430
    esac
1880
1431
  fi
1881
1432
else
1887
1438
# Check that the precious variables saved in the cache have kept the same
1888
1439
# value.
1889
1440
ac_cache_corrupted=false
1890
 
for ac_var in $ac_precious_vars; do
 
1441
for ac_var in `(set) 2>&1 |
 
1442
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1891
1443
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1892
1444
  eval ac_new_set=\$ac_env_${ac_var}_set
1893
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1894
 
  eval ac_new_val=\$ac_env_${ac_var}_value
 
1445
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
 
1446
  eval ac_new_val="\$ac_env_${ac_var}_value"
1895
1447
  case $ac_old_set,$ac_new_set in
1896
1448
    set,)
1897
1449
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1916
1468
  # Pass precious variables to config.status.
1917
1469
  if test "$ac_new_set" = set; then
1918
1470
    case $ac_new_val in
1919
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1471
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1472
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1920
1473
    *) ac_arg=$ac_var=$ac_new_val ;;
1921
1474
    esac
1922
1475
    case " $ac_configure_args " in
1933
1486
   { (exit 1); exit 1; }; }
1934
1487
fi
1935
1488
 
1936
 
 
1937
 
 
1938
 
 
1939
 
 
1940
 
 
1941
 
 
1942
 
 
1943
 
 
1944
 
 
1945
 
 
1946
 
 
1947
 
 
1948
 
 
1949
 
 
1950
 
 
1951
 
 
1952
1489
ac_ext=c
1953
1490
ac_cpp='$CPP $CPPFLAGS'
1954
1491
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1956
1493
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1957
1494
 
1958
1495
 
 
1496
 
 
1497
 
 
1498
 
 
1499
 
 
1500
 
 
1501
 
 
1502
 
 
1503
 
 
1504
 
 
1505
 
 
1506
 
 
1507
 
 
1508
 
 
1509
 
 
1510
 
 
1511
 
 
1512
 
1959
1513
ac_aux_dir=
1960
 
for ac_dir in config "$srcdir"/config; do
1961
 
  if test -f "$ac_dir/install-sh"; then
 
1514
for ac_dir in config $srcdir/config; do
 
1515
  if test -f $ac_dir/install-sh; then
1962
1516
    ac_aux_dir=$ac_dir
1963
1517
    ac_install_sh="$ac_aux_dir/install-sh -c"
1964
1518
    break
1965
 
  elif test -f "$ac_dir/install.sh"; then
 
1519
  elif test -f $ac_dir/install.sh; then
1966
1520
    ac_aux_dir=$ac_dir
1967
1521
    ac_install_sh="$ac_aux_dir/install.sh -c"
1968
1522
    break
1969
 
  elif test -f "$ac_dir/shtool"; then
 
1523
  elif test -f $ac_dir/shtool; then
1970
1524
    ac_aux_dir=$ac_dir
1971
1525
    ac_install_sh="$ac_aux_dir/shtool install -c"
1972
1526
    break
1973
1527
  fi
1974
1528
done
1975
1529
if test -z "$ac_aux_dir"; then
1976
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
1977
 
echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
 
1530
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
 
1531
echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1978
1532
   { (exit 1); exit 1; }; }
1979
1533
fi
1980
 
 
1981
 
# These three variables are undocumented and unsupported,
1982
 
# and are intended to be withdrawn in a future Autoconf release.
1983
 
# They can cause serious problems if a builder's source tree is in a directory
1984
 
# whose full name contains unusual characters.
1985
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1986
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1987
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1988
 
 
 
1534
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
 
1535
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 
1536
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1989
1537
 
1990
1538
 
1991
1539
PACKAGE=swish-e
1992
1540
 
1993
1541
MAJOR_VERSION=2
1994
1542
MINOR_VERSION=4
1995
 
MICRO_VERSION=5
 
1543
MICRO_VERSION=7
1996
1544
INTERFACE_AGE=0
1997
1545
BINARY_AGE=0
1998
1546
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION
2024
1572
fi
2025
1573
 
2026
1574
 
2027
 
# Check whether --with-website was given.
 
1575
# Check whether --with-website or --without-website was given.
2028
1576
if test "${with_website+set}" = set; then
2029
 
  withval=$with_website;
 
1577
  withval="$with_website"
 
1578
 
2030
1579
else
2031
1580
  withval=no
2032
 
fi
2033
 
 
 
1581
fi;
2034
1582
 
2035
1583
if test "x$withval" != "xno"; then
2036
1584
        SWISH_WEB="$withval/bin/build"
2043
1591
else
2044
1592
    # Extract the first word of "build-swish-docs", so it can be a program name with args.
2045
1593
set dummy build-swish-docs; ac_word=$2
2046
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2047
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
1594
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1595
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2048
1596
if test "${ac_cv_path_SWISH_WEB+set}" = set; then
2049
1597
  echo $ECHO_N "(cached) $ECHO_C" >&6
2050
1598
else
2059
1607
  IFS=$as_save_IFS
2060
1608
  test -z "$as_dir" && as_dir=.
2061
1609
  for ac_exec_ext in '' $ac_executable_extensions; do
2062
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1610
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2063
1611
    ac_cv_path_SWISH_WEB="$as_dir/$ac_word$ac_exec_ext"
2064
1612
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2065
1613
    break 2
2066
1614
  fi
2067
1615
done
2068
1616
done
2069
 
IFS=$as_save_IFS
2070
1617
 
2071
1618
  ;;
2072
1619
esac
2073
1620
fi
2074
1621
SWISH_WEB=$ac_cv_path_SWISH_WEB
 
1622
 
2075
1623
if test -n "$SWISH_WEB"; then
2076
 
  { echo "$as_me:$LINENO: result: $SWISH_WEB" >&5
2077
 
echo "${ECHO_T}$SWISH_WEB" >&6; }
 
1624
  echo "$as_me:$LINENO: result: $SWISH_WEB" >&5
 
1625
echo "${ECHO_T}$SWISH_WEB" >&6
2078
1626
else
2079
 
  { echo "$as_me:$LINENO: result: no" >&5
2080
 
echo "${ECHO_T}no" >&6; }
 
1627
  echo "$as_me:$LINENO: result: no" >&5
 
1628
echo "${ECHO_T}no" >&6
2081
1629
fi
2082
 
 
2083
1630
 
2084
1631
fi
2085
1632
 
2088
1635
    SWISH_WEB_CHK=`$SWISH_WEB -check`
2089
1636
 
2090
1637
    if test "x$SWISH_WEB_CHK" = xa-ok; then
2091
 
        { echo "$as_me:$LINENO: result: Building html docs with $SWISH_WEB" >&5
2092
 
echo "${ECHO_T}Building html docs with $SWISH_WEB" >&6; }
 
1638
        echo "$as_me:$LINENO: result: Building html docs with $SWISH_WEB" >&5
 
1639
echo "${ECHO_T}Building html docs with $SWISH_WEB" >&6
2093
1640
 
2094
1641
 
2095
1642
 
2141
1688
 
2142
1689
 
2143
1690
 
2144
 
# Check whether --enable-daystamp was given.
 
1691
# Check whether --enable-daystamp or --disable-daystamp was given.
2145
1692
if test "${enable_daystamp+set}" = set; then
2146
 
  enableval=$enable_daystamp; daystamp=yes
2147
 
fi
2148
 
 
 
1693
  enableval="$enable_daystamp"
 
1694
  daystamp=yes
 
1695
fi;
2149
1696
 
2150
1697
if test x$daystamp = xyes; then
2151
1698
        TODAY=`/bin/date +%Y-%m-%d`
2154
1701
 
2155
1702
 
2156
1703
 
2157
 
ac_config_headers="$ac_config_headers src/acconfig.h"
 
1704
          ac_config_headers="$ac_config_headers src/acconfig.h"
2158
1705
 
2159
1706
 
2160
1707
am__api_version="1.9"
2171
1718
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2172
1719
# OS/2's system install, which has a completely different semantic
2173
1720
# ./install, which can be erroneously created by make from ./install.sh.
2174
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2175
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
1721
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
1722
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2176
1723
if test -z "$INSTALL"; then
2177
1724
if test "${ac_cv_path_install+set}" = set; then
2178
1725
  echo $ECHO_N "(cached) $ECHO_C" >&6
2194
1741
    # by default.
2195
1742
    for ac_prog in ginstall scoinst install; do
2196
1743
      for ac_exec_ext in '' $ac_executable_extensions; do
2197
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
1744
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2198
1745
          if test $ac_prog = install &&
2199
1746
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2200
1747
            # AIX install.  It has an incompatible calling convention.
2213
1760
    ;;
2214
1761
esac
2215
1762
done
2216
 
IFS=$as_save_IFS
2217
1763
 
2218
1764
 
2219
1765
fi
2220
1766
  if test "${ac_cv_path_install+set}" = set; then
2221
1767
    INSTALL=$ac_cv_path_install
2222
1768
  else
2223
 
    # As a last resort, use the slow shell script.  Don't cache a
2224
 
    # value for INSTALL within a source directory, because that will
 
1769
    # As a last resort, use the slow shell script.  We don't cache a
 
1770
    # path for INSTALL within a source directory, because that will
2225
1771
    # break other packages using the cache if that directory is
2226
 
    # removed, or if the value is a relative name.
 
1772
    # removed, or if the path is relative.
2227
1773
    INSTALL=$ac_install_sh
2228
1774
  fi
2229
1775
fi
2230
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2231
 
echo "${ECHO_T}$INSTALL" >&6; }
 
1776
echo "$as_me:$LINENO: result: $INSTALL" >&5
 
1777
echo "${ECHO_T}$INSTALL" >&6
2232
1778
 
2233
1779
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2234
1780
# It thinks the first close brace ends the variable substitution.
2238
1784
 
2239
1785
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2240
1786
 
2241
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2242
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
1787
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
1788
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2243
1789
# Just in case
2244
1790
sleep 1
2245
1791
echo timestamp > conftest.file
2281
1827
Check your system clock" >&2;}
2282
1828
   { (exit 1); exit 1; }; }
2283
1829
fi
2284
 
{ echo "$as_me:$LINENO: result: yes" >&5
2285
 
echo "${ECHO_T}yes" >&6; }
 
1830
echo "$as_me:$LINENO: result: yes" >&5
 
1831
echo "${ECHO_T}yes" >&6
2286
1832
test "$program_prefix" != NONE &&
2287
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
1833
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
2288
1834
# Use a double $ so make ignores it.
2289
1835
test "$program_suffix" != NONE &&
2290
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
1836
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2291
1837
# Double any \ or $.  echo might interpret backslashes.
2292
1838
# By default was `s,x,x', remove it if useless.
2293
1839
cat <<\_ACEOF >conftest.sed
2294
1840
s/[\\$]/&&/g;s/;s,x,x,$//
2295
1841
_ACEOF
2296
1842
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2297
 
rm -f conftest.sed
 
1843
rm conftest.sed
2298
1844
 
2299
1845
# expand $ac_aux_dir to an absolute path
2300
1846
am_aux_dir=`cd $ac_aux_dir && pwd`
2346
1892
do
2347
1893
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2348
1894
set dummy $ac_prog; ac_word=$2
2349
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2350
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
1895
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1896
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2351
1897
if test "${ac_cv_prog_AWK+set}" = set; then
2352
1898
  echo $ECHO_N "(cached) $ECHO_C" >&6
2353
1899
else
2360
1906
  IFS=$as_save_IFS
2361
1907
  test -z "$as_dir" && as_dir=.
2362
1908
  for ac_exec_ext in '' $ac_executable_extensions; do
2363
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1909
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2364
1910
    ac_cv_prog_AWK="$ac_prog"
2365
1911
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2366
1912
    break 2
2367
1913
  fi
2368
1914
done
2369
1915
done
2370
 
IFS=$as_save_IFS
2371
1916
 
2372
1917
fi
2373
1918
fi
2374
1919
AWK=$ac_cv_prog_AWK
2375
1920
if test -n "$AWK"; then
2376
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2377
 
echo "${ECHO_T}$AWK" >&6; }
 
1921
  echo "$as_me:$LINENO: result: $AWK" >&5
 
1922
echo "${ECHO_T}$AWK" >&6
2378
1923
else
2379
 
  { echo "$as_me:$LINENO: result: no" >&5
2380
 
echo "${ECHO_T}no" >&6; }
 
1924
  echo "$as_me:$LINENO: result: no" >&5
 
1925
echo "${ECHO_T}no" >&6
2381
1926
fi
2382
1927
 
2383
 
 
2384
1928
  test -n "$AWK" && break
2385
1929
done
2386
1930
 
2387
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2388
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2389
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2390
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
1931
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
1932
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
 
1933
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
 
1934
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2391
1935
  echo $ECHO_N "(cached) $ECHO_C" >&6
2392
1936
else
2393
1937
  cat >conftest.make <<\_ACEOF
2394
 
SHELL = /bin/sh
2395
1938
all:
2396
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
1939
        @echo 'ac_maketemp="$(MAKE)"'
2397
1940
_ACEOF
2398
1941
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2399
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2400
 
  *@@@%%%=?*=@@@%%%*)
2401
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2402
 
  *)
2403
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2404
 
esac
 
1942
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 
1943
if test -n "$ac_maketemp"; then
 
1944
  eval ac_cv_prog_make_${ac_make}_set=yes
 
1945
else
 
1946
  eval ac_cv_prog_make_${ac_make}_set=no
 
1947
fi
2405
1948
rm -f conftest.make
2406
1949
fi
2407
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2408
 
  { echo "$as_me:$LINENO: result: yes" >&5
2409
 
echo "${ECHO_T}yes" >&6; }
 
1950
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 
1951
  echo "$as_me:$LINENO: result: yes" >&5
 
1952
echo "${ECHO_T}yes" >&6
2410
1953
  SET_MAKE=
2411
1954
else
2412
 
  { echo "$as_me:$LINENO: result: no" >&5
2413
 
echo "${ECHO_T}no" >&6; }
 
1955
  echo "$as_me:$LINENO: result: no" >&5
 
1956
echo "${ECHO_T}no" >&6
2414
1957
  SET_MAKE="MAKE=${MAKE-make}"
2415
1958
fi
2416
1959
 
2481
2024
  if test -n "$ac_tool_prefix"; then
2482
2025
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2483
2026
set dummy ${ac_tool_prefix}strip; ac_word=$2
2484
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2485
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2027
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2028
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2486
2029
if test "${ac_cv_prog_STRIP+set}" = set; then
2487
2030
  echo $ECHO_N "(cached) $ECHO_C" >&6
2488
2031
else
2495
2038
  IFS=$as_save_IFS
2496
2039
  test -z "$as_dir" && as_dir=.
2497
2040
  for ac_exec_ext in '' $ac_executable_extensions; do
2498
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2041
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2499
2042
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2500
2043
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2501
2044
    break 2
2502
2045
  fi
2503
2046
done
2504
2047
done
2505
 
IFS=$as_save_IFS
2506
2048
 
2507
2049
fi
2508
2050
fi
2509
2051
STRIP=$ac_cv_prog_STRIP
2510
2052
if test -n "$STRIP"; then
2511
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2512
 
echo "${ECHO_T}$STRIP" >&6; }
 
2053
  echo "$as_me:$LINENO: result: $STRIP" >&5
 
2054
echo "${ECHO_T}$STRIP" >&6
2513
2055
else
2514
 
  { echo "$as_me:$LINENO: result: no" >&5
2515
 
echo "${ECHO_T}no" >&6; }
 
2056
  echo "$as_me:$LINENO: result: no" >&5
 
2057
echo "${ECHO_T}no" >&6
2516
2058
fi
2517
 
 
2518
2059
 
2519
2060
fi
2520
2061
if test -z "$ac_cv_prog_STRIP"; then
2521
2062
  ac_ct_STRIP=$STRIP
2522
2063
  # Extract the first word of "strip", so it can be a program name with args.
2523
2064
set dummy strip; ac_word=$2
2524
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2525
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2065
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2066
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2526
2067
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2527
2068
  echo $ECHO_N "(cached) $ECHO_C" >&6
2528
2069
else
2535
2076
  IFS=$as_save_IFS
2536
2077
  test -z "$as_dir" && as_dir=.
2537
2078
  for ac_exec_ext in '' $ac_executable_extensions; do
2538
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2079
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2539
2080
    ac_cv_prog_ac_ct_STRIP="strip"
2540
2081
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2541
2082
    break 2
2542
2083
  fi
2543
2084
done
2544
2085
done
2545
 
IFS=$as_save_IFS
2546
2086
 
 
2087
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2547
2088
fi
2548
2089
fi
2549
2090
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2550
2091
if test -n "$ac_ct_STRIP"; then
2551
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2552
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
2092
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2093
echo "${ECHO_T}$ac_ct_STRIP" >&6
2553
2094
else
2554
 
  { echo "$as_me:$LINENO: result: no" >&5
2555
 
echo "${ECHO_T}no" >&6; }
 
2095
  echo "$as_me:$LINENO: result: no" >&5
 
2096
echo "${ECHO_T}no" >&6
2556
2097
fi
2557
2098
 
2558
 
  if test "x$ac_ct_STRIP" = x; then
2559
 
    STRIP=":"
2560
 
  else
2561
 
    case $cross_compiling:$ac_tool_warned in
2562
 
yes:)
2563
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2564
 
whose name does not start with the host triplet.  If you think this
2565
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2566
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2567
 
whose name does not start with the host triplet.  If you think this
2568
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2569
 
ac_tool_warned=yes ;;
2570
 
esac
2571
 
    STRIP=$ac_ct_STRIP
2572
 
  fi
 
2099
  STRIP=$ac_ct_STRIP
2573
2100
else
2574
2101
  STRIP="$ac_cv_prog_STRIP"
2575
2102
fi
2598
2125
if test -n "$ac_tool_prefix"; then
2599
2126
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2600
2127
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2601
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2602
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2128
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2129
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2603
2130
if test "${ac_cv_prog_CC+set}" = set; then
2604
2131
  echo $ECHO_N "(cached) $ECHO_C" >&6
2605
2132
else
2612
2139
  IFS=$as_save_IFS
2613
2140
  test -z "$as_dir" && as_dir=.
2614
2141
  for ac_exec_ext in '' $ac_executable_extensions; do
2615
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2142
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2616
2143
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2617
2144
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2618
2145
    break 2
2619
2146
  fi
2620
2147
done
2621
2148
done
2622
 
IFS=$as_save_IFS
2623
2149
 
2624
2150
fi
2625
2151
fi
2626
2152
CC=$ac_cv_prog_CC
2627
2153
if test -n "$CC"; then
2628
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2629
 
echo "${ECHO_T}$CC" >&6; }
 
2154
  echo "$as_me:$LINENO: result: $CC" >&5
 
2155
echo "${ECHO_T}$CC" >&6
2630
2156
else
2631
 
  { echo "$as_me:$LINENO: result: no" >&5
2632
 
echo "${ECHO_T}no" >&6; }
 
2157
  echo "$as_me:$LINENO: result: no" >&5
 
2158
echo "${ECHO_T}no" >&6
2633
2159
fi
2634
 
 
2635
2160
 
2636
2161
fi
2637
2162
if test -z "$ac_cv_prog_CC"; then
2638
2163
  ac_ct_CC=$CC
2639
2164
  # Extract the first word of "gcc", so it can be a program name with args.
2640
2165
set dummy gcc; ac_word=$2
2641
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2642
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2166
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2167
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2643
2168
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2644
2169
  echo $ECHO_N "(cached) $ECHO_C" >&6
2645
2170
else
2652
2177
  IFS=$as_save_IFS
2653
2178
  test -z "$as_dir" && as_dir=.
2654
2179
  for ac_exec_ext in '' $ac_executable_extensions; do
2655
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2180
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2656
2181
    ac_cv_prog_ac_ct_CC="gcc"
2657
2182
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2658
2183
    break 2
2659
2184
  fi
2660
2185
done
2661
2186
done
2662
 
IFS=$as_save_IFS
2663
2187
 
2664
2188
fi
2665
2189
fi
2666
2190
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2667
2191
if test -n "$ac_ct_CC"; then
2668
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2669
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2192
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2193
echo "${ECHO_T}$ac_ct_CC" >&6
2670
2194
else
2671
 
  { echo "$as_me:$LINENO: result: no" >&5
2672
 
echo "${ECHO_T}no" >&6; }
 
2195
  echo "$as_me:$LINENO: result: no" >&5
 
2196
echo "${ECHO_T}no" >&6
2673
2197
fi
2674
2198
 
2675
 
  if test "x$ac_ct_CC" = x; then
2676
 
    CC=""
2677
 
  else
2678
 
    case $cross_compiling:$ac_tool_warned in
2679
 
yes:)
2680
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2681
 
whose name does not start with the host triplet.  If you think this
2682
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2683
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2684
 
whose name does not start with the host triplet.  If you think this
2685
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2686
 
ac_tool_warned=yes ;;
2687
 
esac
2688
 
    CC=$ac_ct_CC
2689
 
  fi
 
2199
  CC=$ac_ct_CC
2690
2200
else
2691
2201
  CC="$ac_cv_prog_CC"
2692
2202
fi
2693
2203
 
2694
2204
if test -z "$CC"; then
2695
 
          if test -n "$ac_tool_prefix"; then
2696
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2205
  if test -n "$ac_tool_prefix"; then
 
2206
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2697
2207
set dummy ${ac_tool_prefix}cc; ac_word=$2
2698
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2699
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2208
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2209
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2700
2210
if test "${ac_cv_prog_CC+set}" = set; then
2701
2211
  echo $ECHO_N "(cached) $ECHO_C" >&6
2702
2212
else
2709
2219
  IFS=$as_save_IFS
2710
2220
  test -z "$as_dir" && as_dir=.
2711
2221
  for ac_exec_ext in '' $ac_executable_extensions; do
2712
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2222
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2713
2223
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2714
2224
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2715
2225
    break 2
2716
2226
  fi
2717
2227
done
2718
2228
done
2719
 
IFS=$as_save_IFS
2720
2229
 
2721
2230
fi
2722
2231
fi
2723
2232
CC=$ac_cv_prog_CC
2724
2233
if test -n "$CC"; then
2725
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2726
 
echo "${ECHO_T}$CC" >&6; }
2727
 
else
2728
 
  { echo "$as_me:$LINENO: result: no" >&5
2729
 
echo "${ECHO_T}no" >&6; }
2730
 
fi
2731
 
 
2732
 
 
 
2234
  echo "$as_me:$LINENO: result: $CC" >&5
 
2235
echo "${ECHO_T}$CC" >&6
 
2236
else
 
2237
  echo "$as_me:$LINENO: result: no" >&5
 
2238
echo "${ECHO_T}no" >&6
 
2239
fi
 
2240
 
 
2241
fi
 
2242
if test -z "$ac_cv_prog_CC"; then
 
2243
  ac_ct_CC=$CC
 
2244
  # Extract the first word of "cc", so it can be a program name with args.
 
2245
set dummy cc; ac_word=$2
 
2246
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2247
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2248
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2249
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2250
else
 
2251
  if test -n "$ac_ct_CC"; then
 
2252
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2253
else
 
2254
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2255
for as_dir in $PATH
 
2256
do
 
2257
  IFS=$as_save_IFS
 
2258
  test -z "$as_dir" && as_dir=.
 
2259
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2260
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2261
    ac_cv_prog_ac_ct_CC="cc"
 
2262
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2263
    break 2
2733
2264
  fi
 
2265
done
 
2266
done
 
2267
 
 
2268
fi
 
2269
fi
 
2270
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
2271
if test -n "$ac_ct_CC"; then
 
2272
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2273
echo "${ECHO_T}$ac_ct_CC" >&6
 
2274
else
 
2275
  echo "$as_me:$LINENO: result: no" >&5
 
2276
echo "${ECHO_T}no" >&6
 
2277
fi
 
2278
 
 
2279
  CC=$ac_ct_CC
 
2280
else
 
2281
  CC="$ac_cv_prog_CC"
 
2282
fi
 
2283
 
2734
2284
fi
2735
2285
if test -z "$CC"; then
2736
2286
  # Extract the first word of "cc", so it can be a program name with args.
2737
2287
set dummy cc; ac_word=$2
2738
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2739
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2288
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2289
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2740
2290
if test "${ac_cv_prog_CC+set}" = set; then
2741
2291
  echo $ECHO_N "(cached) $ECHO_C" >&6
2742
2292
else
2750
2300
  IFS=$as_save_IFS
2751
2301
  test -z "$as_dir" && as_dir=.
2752
2302
  for ac_exec_ext in '' $ac_executable_extensions; do
2753
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2303
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2754
2304
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2755
2305
       ac_prog_rejected=yes
2756
2306
       continue
2761
2311
  fi
2762
2312
done
2763
2313
done
2764
 
IFS=$as_save_IFS
2765
2314
 
2766
2315
if test $ac_prog_rejected = yes; then
2767
2316
  # We found a bogon in the path, so make sure we never use it.
2779
2328
fi
2780
2329
CC=$ac_cv_prog_CC
2781
2330
if test -n "$CC"; then
2782
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2783
 
echo "${ECHO_T}$CC" >&6; }
 
2331
  echo "$as_me:$LINENO: result: $CC" >&5
 
2332
echo "${ECHO_T}$CC" >&6
2784
2333
else
2785
 
  { echo "$as_me:$LINENO: result: no" >&5
2786
 
echo "${ECHO_T}no" >&6; }
 
2334
  echo "$as_me:$LINENO: result: no" >&5
 
2335
echo "${ECHO_T}no" >&6
2787
2336
fi
2788
 
 
2789
2337
 
2790
2338
fi
2791
2339
if test -z "$CC"; then
2792
2340
  if test -n "$ac_tool_prefix"; then
2793
 
  for ac_prog in cl.exe
 
2341
  for ac_prog in cl
2794
2342
  do
2795
2343
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2796
2344
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2797
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2798
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2345
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2346
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2799
2347
if test "${ac_cv_prog_CC+set}" = set; then
2800
2348
  echo $ECHO_N "(cached) $ECHO_C" >&6
2801
2349
else
2808
2356
  IFS=$as_save_IFS
2809
2357
  test -z "$as_dir" && as_dir=.
2810
2358
  for ac_exec_ext in '' $ac_executable_extensions; do
2811
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2359
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2812
2360
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2813
2361
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2814
2362
    break 2
2815
2363
  fi
2816
2364
done
2817
2365
done
2818
 
IFS=$as_save_IFS
2819
2366
 
2820
2367
fi
2821
2368
fi
2822
2369
CC=$ac_cv_prog_CC
2823
2370
if test -n "$CC"; then
2824
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2825
 
echo "${ECHO_T}$CC" >&6; }
 
2371
  echo "$as_me:$LINENO: result: $CC" >&5
 
2372
echo "${ECHO_T}$CC" >&6
2826
2373
else
2827
 
  { echo "$as_me:$LINENO: result: no" >&5
2828
 
echo "${ECHO_T}no" >&6; }
 
2374
  echo "$as_me:$LINENO: result: no" >&5
 
2375
echo "${ECHO_T}no" >&6
2829
2376
fi
2830
2377
 
2831
 
 
2832
2378
    test -n "$CC" && break
2833
2379
  done
2834
2380
fi
2835
2381
if test -z "$CC"; then
2836
2382
  ac_ct_CC=$CC
2837
 
  for ac_prog in cl.exe
 
2383
  for ac_prog in cl
2838
2384
do
2839
2385
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2840
2386
set dummy $ac_prog; ac_word=$2
2841
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2842
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2387
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2388
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2843
2389
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2844
2390
  echo $ECHO_N "(cached) $ECHO_C" >&6
2845
2391
else
2852
2398
  IFS=$as_save_IFS
2853
2399
  test -z "$as_dir" && as_dir=.
2854
2400
  for ac_exec_ext in '' $ac_executable_extensions; do
2855
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2401
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2856
2402
    ac_cv_prog_ac_ct_CC="$ac_prog"
2857
2403
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2858
2404
    break 2
2859
2405
  fi
2860
2406
done
2861
2407
done
2862
 
IFS=$as_save_IFS
2863
2408
 
2864
2409
fi
2865
2410
fi
2866
2411
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2867
2412
if test -n "$ac_ct_CC"; then
2868
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2869
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2413
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2414
echo "${ECHO_T}$ac_ct_CC" >&6
2870
2415
else
2871
 
  { echo "$as_me:$LINENO: result: no" >&5
2872
 
echo "${ECHO_T}no" >&6; }
 
2416
  echo "$as_me:$LINENO: result: no" >&5
 
2417
echo "${ECHO_T}no" >&6
2873
2418
fi
2874
2419
 
2875
 
 
2876
2420
  test -n "$ac_ct_CC" && break
2877
2421
done
2878
2422
 
2879
 
  if test "x$ac_ct_CC" = x; then
2880
 
    CC=""
2881
 
  else
2882
 
    case $cross_compiling:$ac_tool_warned in
2883
 
yes:)
2884
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2885
 
whose name does not start with the host triplet.  If you think this
2886
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2887
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2888
 
whose name does not start with the host triplet.  If you think this
2889
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2890
 
ac_tool_warned=yes ;;
2891
 
esac
2892
 
    CC=$ac_ct_CC
2893
 
  fi
 
2423
  CC=$ac_ct_CC
2894
2424
fi
2895
2425
 
2896
2426
fi
2903
2433
   { (exit 1); exit 1; }; }
2904
2434
 
2905
2435
# Provide some information about the compiler.
2906
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
 
2436
echo "$as_me:$LINENO:" \
 
2437
     "checking for C compiler version" >&5
2907
2438
ac_compiler=`set X $ac_compile; echo $2`
2908
 
{ (ac_try="$ac_compiler --version >&5"
2909
 
case "(($ac_try" in
2910
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2911
 
  *) ac_try_echo=$ac_try;;
2912
 
esac
2913
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2914
 
  (eval "$ac_compiler --version >&5") 2>&5
2915
 
  ac_status=$?
2916
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917
 
  (exit $ac_status); }
2918
 
{ (ac_try="$ac_compiler -v >&5"
2919
 
case "(($ac_try" in
2920
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2921
 
  *) ac_try_echo=$ac_try;;
2922
 
esac
2923
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2924
 
  (eval "$ac_compiler -v >&5") 2>&5
2925
 
  ac_status=$?
2926
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927
 
  (exit $ac_status); }
2928
 
{ (ac_try="$ac_compiler -V >&5"
2929
 
case "(($ac_try" in
2930
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2931
 
  *) ac_try_echo=$ac_try;;
2932
 
esac
2933
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2934
 
  (eval "$ac_compiler -V >&5") 2>&5
 
2439
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 
2440
  (eval $ac_compiler --version </dev/null >&5) 2>&5
 
2441
  ac_status=$?
 
2442
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2443
  (exit $ac_status); }
 
2444
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 
2445
  (eval $ac_compiler -v </dev/null >&5) 2>&5
 
2446
  ac_status=$?
 
2447
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2448
  (exit $ac_status); }
 
2449
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 
2450
  (eval $ac_compiler -V </dev/null >&5) 2>&5
2935
2451
  ac_status=$?
2936
2452
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937
2453
  (exit $ac_status); }
2956
2472
# Try to create an executable without -o first, disregard a.out.
2957
2473
# It will help us diagnose broken compilers, and finding out an intuition
2958
2474
# of exeext.
2959
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2960
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
 
2475
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2476
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2961
2477
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2962
 
#
2963
 
# List of possible output files, starting from the most likely.
2964
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2965
 
# only as a last resort.  b.out is created by i960 compilers.
2966
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2967
 
#
2968
 
# The IRIX 6 linker writes into existing files which may not be
2969
 
# executable, retaining their permissions.  Remove them first so a
2970
 
# subsequent execution test works.
2971
 
ac_rmfiles=
2972
 
for ac_file in $ac_files
2973
 
do
2974
 
  case $ac_file in
2975
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2976
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2977
 
  esac
2978
 
done
2979
 
rm -f $ac_rmfiles
2980
 
 
2981
 
if { (ac_try="$ac_link_default"
2982
 
case "(($ac_try" in
2983
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2984
 
  *) ac_try_echo=$ac_try;;
2985
 
esac
2986
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2987
 
  (eval "$ac_link_default") 2>&5
 
2478
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
 
2479
  (eval $ac_link_default) 2>&5
2988
2480
  ac_status=$?
2989
2481
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2990
2482
  (exit $ac_status); }; then
2991
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2992
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2993
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2994
 
# so that the user can short-circuit this test for compilers unknown to
2995
 
# Autoconf.
2996
 
for ac_file in $ac_files ''
 
2483
  # Find the output, starting from the most likely.  This scheme is
 
2484
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
 
2485
# resort.
 
2486
 
 
2487
# Be careful to initialize this variable, since it used to be cached.
 
2488
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
 
2489
ac_cv_exeext=
 
2490
# b.out is created by i960 compilers.
 
2491
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2997
2492
do
2998
2493
  test -f "$ac_file" || continue
2999
2494
  case $ac_file in
3000
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
2495
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
 
2496
        ;;
 
2497
    conftest.$ac_ext )
 
2498
        # This is the source file.
3001
2499
        ;;
3002
2500
    [ab].out )
3003
2501
        # We found the default executable, but exeext='' is most
3004
2502
        # certainly right.
3005
2503
        break;;
3006
2504
    *.* )
3007
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3008
 
        then :; else
3009
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3010
 
        fi
3011
 
        # We set ac_cv_exeext here because the later test for it is not
3012
 
        # safe: cross compilers may not add the suffix if given an `-o'
3013
 
        # argument, so we may need to know it at that point already.
3014
 
        # Even if this section looks crufty: it has the advantage of
3015
 
        # actually working.
 
2505
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2506
        # FIXME: I believe we export ac_cv_exeext for Libtool,
 
2507
        # but it would be cool to find out if it's true.  Does anybody
 
2508
        # maintain Libtool? --akim.
 
2509
        export ac_cv_exeext
3016
2510
        break;;
3017
2511
    * )
3018
2512
        break;;
3019
2513
  esac
3020
2514
done
3021
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3022
 
 
3023
2515
else
3024
 
  ac_file=''
3025
 
fi
3026
 
 
3027
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3028
 
echo "${ECHO_T}$ac_file" >&6; }
3029
 
if test -z "$ac_file"; then
3030
2516
  echo "$as_me: failed program was:" >&5
3031
2517
sed 's/^/| /' conftest.$ac_ext >&5
3032
2518
 
3038
2524
fi
3039
2525
 
3040
2526
ac_exeext=$ac_cv_exeext
 
2527
echo "$as_me:$LINENO: result: $ac_file" >&5
 
2528
echo "${ECHO_T}$ac_file" >&6
3041
2529
 
3042
 
# Check that the compiler produces executables we can run.  If not, either
 
2530
# Check the compiler produces executables we can run.  If not, either
3043
2531
# the compiler is broken, or we cross compile.
3044
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3045
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 
2532
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2533
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3046
2534
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3047
2535
# If not cross compiling, check that we can run a simple program.
3048
2536
if test "$cross_compiling" != yes; then
3049
2537
  if { ac_try='./$ac_file'
3050
 
  { (case "(($ac_try" in
3051
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3052
 
  *) ac_try_echo=$ac_try;;
3053
 
esac
3054
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3055
 
  (eval "$ac_try") 2>&5
 
2538
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2539
  (eval $ac_try) 2>&5
3056
2540
  ac_status=$?
3057
2541
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3058
2542
  (exit $ac_status); }; }; then
3071
2555
    fi
3072
2556
  fi
3073
2557
fi
3074
 
{ echo "$as_me:$LINENO: result: yes" >&5
3075
 
echo "${ECHO_T}yes" >&6; }
 
2558
echo "$as_me:$LINENO: result: yes" >&5
 
2559
echo "${ECHO_T}yes" >&6
3076
2560
 
3077
2561
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3078
2562
ac_clean_files=$ac_clean_files_save
3079
 
# Check that the compiler produces executables we can run.  If not, either
 
2563
# Check the compiler produces executables we can run.  If not, either
3080
2564
# the compiler is broken, or we cross compile.
3081
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3082
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3083
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3084
 
echo "${ECHO_T}$cross_compiling" >&6; }
 
2565
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2566
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
 
2567
echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2568
echo "${ECHO_T}$cross_compiling" >&6
3085
2569
 
3086
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3087
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3088
 
if { (ac_try="$ac_link"
3089
 
case "(($ac_try" in
3090
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3091
 
  *) ac_try_echo=$ac_try;;
3092
 
esac
3093
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3094
 
  (eval "$ac_link") 2>&5
 
2570
echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2571
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
 
2572
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
2573
  (eval $ac_link) 2>&5
3095
2574
  ac_status=$?
3096
2575
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097
2576
  (exit $ac_status); }; then
3102
2581
for ac_file in conftest.exe conftest conftest.*; do
3103
2582
  test -f "$ac_file" || continue
3104
2583
  case $ac_file in
3105
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2584
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3106
2585
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2586
          export ac_cv_exeext
3107
2587
          break;;
3108
2588
    * ) break;;
3109
2589
  esac
3117
2597
fi
3118
2598
 
3119
2599
rm -f conftest$ac_cv_exeext
3120
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3121
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
2600
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2601
echo "${ECHO_T}$ac_cv_exeext" >&6
3122
2602
 
3123
2603
rm -f conftest.$ac_ext
3124
2604
EXEEXT=$ac_cv_exeext
3125
2605
ac_exeext=$EXEEXT
3126
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3127
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 
2606
echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2607
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3128
2608
if test "${ac_cv_objext+set}" = set; then
3129
2609
  echo $ECHO_N "(cached) $ECHO_C" >&6
3130
2610
else
3144
2624
}
3145
2625
_ACEOF
3146
2626
rm -f conftest.o conftest.obj
3147
 
if { (ac_try="$ac_compile"
3148
 
case "(($ac_try" in
3149
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3150
 
  *) ac_try_echo=$ac_try;;
3151
 
esac
3152
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3153
 
  (eval "$ac_compile") 2>&5
 
2627
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2628
  (eval $ac_compile) 2>&5
3154
2629
  ac_status=$?
3155
2630
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156
2631
  (exit $ac_status); }; then
3157
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3158
 
  test -f "$ac_file" || continue;
 
2632
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3159
2633
  case $ac_file in
3160
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
2634
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3161
2635
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3162
2636
       break;;
3163
2637
  esac
3175
2649
 
3176
2650
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3177
2651
fi
3178
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3179
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
2652
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2653
echo "${ECHO_T}$ac_cv_objext" >&6
3180
2654
OBJEXT=$ac_cv_objext
3181
2655
ac_objext=$OBJEXT
3182
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3183
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
2656
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
2657
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3184
2658
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3185
2659
  echo $ECHO_N "(cached) $ECHO_C" >&6
3186
2660
else
3203
2677
}
3204
2678
_ACEOF
3205
2679
rm -f conftest.$ac_objext
3206
 
if { (ac_try="$ac_compile"
3207
 
case "(($ac_try" in
3208
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3209
 
  *) ac_try_echo=$ac_try;;
3210
 
esac
3211
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3212
 
  (eval "$ac_compile") 2>conftest.er1
 
2680
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2681
  (eval $ac_compile) 2>conftest.er1
3213
2682
  ac_status=$?
3214
2683
  grep -v '^ *+' conftest.er1 >conftest.err
3215
2684
  rm -f conftest.er1
3216
2685
  cat conftest.err >&5
3217
2686
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3218
 
  (exit $ac_status); } && {
3219
 
         test -z "$ac_c_werror_flag" ||
3220
 
         test ! -s conftest.err
3221
 
       } && test -s conftest.$ac_objext; then
 
2687
  (exit $ac_status); } &&
 
2688
         { ac_try='test -z "$ac_c_werror_flag"
 
2689
                         || test ! -s conftest.err'
 
2690
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2691
  (eval $ac_try) 2>&5
 
2692
  ac_status=$?
 
2693
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2694
  (exit $ac_status); }; } &&
 
2695
         { ac_try='test -s conftest.$ac_objext'
 
2696
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2697
  (eval $ac_try) 2>&5
 
2698
  ac_status=$?
 
2699
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2700
  (exit $ac_status); }; }; then
3222
2701
  ac_compiler_gnu=yes
3223
2702
else
3224
2703
  echo "$as_me: failed program was:" >&5
3225
2704
sed 's/^/| /' conftest.$ac_ext >&5
3226
2705
 
3227
 
        ac_compiler_gnu=no
 
2706
ac_compiler_gnu=no
3228
2707
fi
3229
 
 
3230
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2708
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3231
2709
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3232
2710
 
3233
2711
fi
3234
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3235
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
 
2712
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
2713
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3236
2714
GCC=`test $ac_compiler_gnu = yes && echo yes`
3237
2715
ac_test_CFLAGS=${CFLAGS+set}
3238
2716
ac_save_CFLAGS=$CFLAGS
3239
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3240
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
2717
CFLAGS="-g"
 
2718
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
2719
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3241
2720
if test "${ac_cv_prog_cc_g+set}" = set; then
3242
2721
  echo $ECHO_N "(cached) $ECHO_C" >&6
3243
2722
else
3244
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3245
 
   ac_c_werror_flag=yes
3246
 
   ac_cv_prog_cc_g=no
3247
 
   CFLAGS="-g"
3248
 
   cat >conftest.$ac_ext <<_ACEOF
3249
 
/* confdefs.h.  */
3250
 
_ACEOF
3251
 
cat confdefs.h >>conftest.$ac_ext
3252
 
cat >>conftest.$ac_ext <<_ACEOF
3253
 
/* end confdefs.h.  */
3254
 
 
3255
 
int
3256
 
main ()
3257
 
{
3258
 
 
3259
 
  ;
3260
 
  return 0;
3261
 
}
3262
 
_ACEOF
3263
 
rm -f conftest.$ac_objext
3264
 
if { (ac_try="$ac_compile"
3265
 
case "(($ac_try" in
3266
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3267
 
  *) ac_try_echo=$ac_try;;
3268
 
esac
3269
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3270
 
  (eval "$ac_compile") 2>conftest.er1
3271
 
  ac_status=$?
3272
 
  grep -v '^ *+' conftest.er1 >conftest.err
3273
 
  rm -f conftest.er1
3274
 
  cat conftest.err >&5
3275
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3276
 
  (exit $ac_status); } && {
3277
 
         test -z "$ac_c_werror_flag" ||
3278
 
         test ! -s conftest.err
3279
 
       } && test -s conftest.$ac_objext; then
3280
 
  ac_cv_prog_cc_g=yes
3281
 
else
3282
 
  echo "$as_me: failed program was:" >&5
3283
 
sed 's/^/| /' conftest.$ac_ext >&5
3284
 
 
3285
 
        CFLAGS=""
3286
 
      cat >conftest.$ac_ext <<_ACEOF
3287
 
/* confdefs.h.  */
3288
 
_ACEOF
3289
 
cat confdefs.h >>conftest.$ac_ext
3290
 
cat >>conftest.$ac_ext <<_ACEOF
3291
 
/* end confdefs.h.  */
3292
 
 
3293
 
int
3294
 
main ()
3295
 
{
3296
 
 
3297
 
  ;
3298
 
  return 0;
3299
 
}
3300
 
_ACEOF
3301
 
rm -f conftest.$ac_objext
3302
 
if { (ac_try="$ac_compile"
3303
 
case "(($ac_try" in
3304
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3305
 
  *) ac_try_echo=$ac_try;;
3306
 
esac
3307
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3308
 
  (eval "$ac_compile") 2>conftest.er1
3309
 
  ac_status=$?
3310
 
  grep -v '^ *+' conftest.er1 >conftest.err
3311
 
  rm -f conftest.er1
3312
 
  cat conftest.err >&5
3313
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314
 
  (exit $ac_status); } && {
3315
 
         test -z "$ac_c_werror_flag" ||
3316
 
         test ! -s conftest.err
3317
 
       } && test -s conftest.$ac_objext; then
3318
 
  :
3319
 
else
3320
 
  echo "$as_me: failed program was:" >&5
3321
 
sed 's/^/| /' conftest.$ac_ext >&5
3322
 
 
3323
 
        ac_c_werror_flag=$ac_save_c_werror_flag
3324
 
         CFLAGS="-g"
3325
 
         cat >conftest.$ac_ext <<_ACEOF
3326
 
/* confdefs.h.  */
3327
 
_ACEOF
3328
 
cat confdefs.h >>conftest.$ac_ext
3329
 
cat >>conftest.$ac_ext <<_ACEOF
3330
 
/* end confdefs.h.  */
3331
 
 
3332
 
int
3333
 
main ()
3334
 
{
3335
 
 
3336
 
  ;
3337
 
  return 0;
3338
 
}
3339
 
_ACEOF
3340
 
rm -f conftest.$ac_objext
3341
 
if { (ac_try="$ac_compile"
3342
 
case "(($ac_try" in
3343
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3344
 
  *) ac_try_echo=$ac_try;;
3345
 
esac
3346
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3347
 
  (eval "$ac_compile") 2>conftest.er1
3348
 
  ac_status=$?
3349
 
  grep -v '^ *+' conftest.er1 >conftest.err
3350
 
  rm -f conftest.er1
3351
 
  cat conftest.err >&5
3352
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3353
 
  (exit $ac_status); } && {
3354
 
         test -z "$ac_c_werror_flag" ||
3355
 
         test ! -s conftest.err
3356
 
       } && test -s conftest.$ac_objext; then
3357
 
  ac_cv_prog_cc_g=yes
3358
 
else
3359
 
  echo "$as_me: failed program was:" >&5
3360
 
sed 's/^/| /' conftest.$ac_ext >&5
3361
 
 
3362
 
 
3363
 
fi
3364
 
 
3365
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3366
 
fi
3367
 
 
3368
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3369
 
fi
3370
 
 
3371
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3372
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3373
 
fi
3374
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3375
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
2723
  cat >conftest.$ac_ext <<_ACEOF
 
2724
/* confdefs.h.  */
 
2725
_ACEOF
 
2726
cat confdefs.h >>conftest.$ac_ext
 
2727
cat >>conftest.$ac_ext <<_ACEOF
 
2728
/* end confdefs.h.  */
 
2729
 
 
2730
int
 
2731
main ()
 
2732
{
 
2733
 
 
2734
  ;
 
2735
  return 0;
 
2736
}
 
2737
_ACEOF
 
2738
rm -f conftest.$ac_objext
 
2739
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2740
  (eval $ac_compile) 2>conftest.er1
 
2741
  ac_status=$?
 
2742
  grep -v '^ *+' conftest.er1 >conftest.err
 
2743
  rm -f conftest.er1
 
2744
  cat conftest.err >&5
 
2745
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2746
  (exit $ac_status); } &&
 
2747
         { ac_try='test -z "$ac_c_werror_flag"
 
2748
                         || test ! -s conftest.err'
 
2749
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2750
  (eval $ac_try) 2>&5
 
2751
  ac_status=$?
 
2752
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2753
  (exit $ac_status); }; } &&
 
2754
         { ac_try='test -s conftest.$ac_objext'
 
2755
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2756
  (eval $ac_try) 2>&5
 
2757
  ac_status=$?
 
2758
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2759
  (exit $ac_status); }; }; then
 
2760
  ac_cv_prog_cc_g=yes
 
2761
else
 
2762
  echo "$as_me: failed program was:" >&5
 
2763
sed 's/^/| /' conftest.$ac_ext >&5
 
2764
 
 
2765
ac_cv_prog_cc_g=no
 
2766
fi
 
2767
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2768
fi
 
2769
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
2770
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3376
2771
if test "$ac_test_CFLAGS" = set; then
3377
2772
  CFLAGS=$ac_save_CFLAGS
3378
2773
elif test $ac_cv_prog_cc_g = yes; then
3388
2783
    CFLAGS=
3389
2784
  fi
3390
2785
fi
3391
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3392
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3393
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
2786
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 
2787
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 
2788
if test "${ac_cv_prog_cc_stdc+set}" = set; then
3394
2789
  echo $ECHO_N "(cached) $ECHO_C" >&6
3395
2790
else
3396
 
  ac_cv_prog_cc_c89=no
 
2791
  ac_cv_prog_cc_stdc=no
3397
2792
ac_save_CC=$CC
3398
2793
cat >conftest.$ac_ext <<_ACEOF
3399
2794
/* confdefs.h.  */
3427
2822
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3428
2823
   function prototypes and stuff, but not '\xHH' hex character constants.
3429
2824
   These don't provoke an error unfortunately, instead are silently treated
3430
 
   as 'x'.  The following induces an error, until -std is added to get
 
2825
   as 'x'.  The following induces an error, until -std1 is added to get
3431
2826
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3432
2827
   array size at least.  It's necessary to write '\x00'==0 to get something
3433
 
   that's true only with -std.  */
 
2828
   that's true only with -std1.  */
3434
2829
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3435
2830
 
3436
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3437
 
   inside strings and character constants.  */
3438
 
#define FOO(x) 'x'
3439
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3440
 
 
3441
2831
int test (int i, double x);
3442
2832
struct s1 {int (*f) (int a);};
3443
2833
struct s2 {int (*f) (double a);};
3452
2842
  return 0;
3453
2843
}
3454
2844
_ACEOF
3455
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3456
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
2845
# Don't try gcc -ansi; that turns off useful extensions and
 
2846
# breaks some systems' header files.
 
2847
# AIX                   -qlanglvl=ansi
 
2848
# Ultrix and OSF/1      -std1
 
2849
# HP-UX 10.20 and later -Ae
 
2850
# HP-UX older versions  -Aa -D_HPUX_SOURCE
 
2851
# SVR4                  -Xc -D__EXTENSIONS__
 
2852
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3457
2853
do
3458
2854
  CC="$ac_save_CC $ac_arg"
3459
2855
  rm -f conftest.$ac_objext
3460
 
if { (ac_try="$ac_compile"
3461
 
case "(($ac_try" in
3462
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3463
 
  *) ac_try_echo=$ac_try;;
3464
 
esac
3465
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3466
 
  (eval "$ac_compile") 2>conftest.er1
 
2856
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2857
  (eval $ac_compile) 2>conftest.er1
3467
2858
  ac_status=$?
3468
2859
  grep -v '^ *+' conftest.er1 >conftest.err
3469
2860
  rm -f conftest.er1
3470
2861
  cat conftest.err >&5
3471
2862
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472
 
  (exit $ac_status); } && {
3473
 
         test -z "$ac_c_werror_flag" ||
3474
 
         test ! -s conftest.err
3475
 
       } && test -s conftest.$ac_objext; then
3476
 
  ac_cv_prog_cc_c89=$ac_arg
 
2863
  (exit $ac_status); } &&
 
2864
         { ac_try='test -z "$ac_c_werror_flag"
 
2865
                         || test ! -s conftest.err'
 
2866
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2867
  (eval $ac_try) 2>&5
 
2868
  ac_status=$?
 
2869
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2870
  (exit $ac_status); }; } &&
 
2871
         { ac_try='test -s conftest.$ac_objext'
 
2872
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2873
  (eval $ac_try) 2>&5
 
2874
  ac_status=$?
 
2875
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2876
  (exit $ac_status); }; }; then
 
2877
  ac_cv_prog_cc_stdc=$ac_arg
 
2878
break
3477
2879
else
3478
2880
  echo "$as_me: failed program was:" >&5
3479
2881
sed 's/^/| /' conftest.$ac_ext >&5
3480
2882
 
3481
 
 
3482
2883
fi
3483
 
 
3484
 
rm -f core conftest.err conftest.$ac_objext
3485
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
2884
rm -f conftest.err conftest.$ac_objext
3486
2885
done
3487
 
rm -f conftest.$ac_ext
 
2886
rm -f conftest.$ac_ext conftest.$ac_objext
3488
2887
CC=$ac_save_CC
3489
2888
 
3490
2889
fi
3491
 
# AC_CACHE_VAL
3492
 
case "x$ac_cv_prog_cc_c89" in
3493
 
  x)
3494
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3495
 
echo "${ECHO_T}none needed" >&6; } ;;
3496
 
  xno)
3497
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3498
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
2890
 
 
2891
case "x$ac_cv_prog_cc_stdc" in
 
2892
  x|xno)
 
2893
    echo "$as_me:$LINENO: result: none needed" >&5
 
2894
echo "${ECHO_T}none needed" >&6 ;;
3499
2895
  *)
3500
 
    CC="$CC $ac_cv_prog_cc_c89"
3501
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3502
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
2896
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 
2897
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 
2898
    CC="$CC $ac_cv_prog_cc_stdc" ;;
3503
2899
esac
3504
2900
 
3505
 
 
 
2901
# Some people use a C++ compiler to compile C.  Since we use `exit',
 
2902
# in C++ we need to declare it.  In case someone uses the same compiler
 
2903
# for both compiling C and C++ we need to have the C++ compiler decide
 
2904
# the declaration of exit, since it's the most demanding environment.
 
2905
cat >conftest.$ac_ext <<_ACEOF
 
2906
#ifndef __cplusplus
 
2907
  choke me
 
2908
#endif
 
2909
_ACEOF
 
2910
rm -f conftest.$ac_objext
 
2911
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2912
  (eval $ac_compile) 2>conftest.er1
 
2913
  ac_status=$?
 
2914
  grep -v '^ *+' conftest.er1 >conftest.err
 
2915
  rm -f conftest.er1
 
2916
  cat conftest.err >&5
 
2917
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2918
  (exit $ac_status); } &&
 
2919
         { ac_try='test -z "$ac_c_werror_flag"
 
2920
                         || test ! -s conftest.err'
 
2921
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2922
  (eval $ac_try) 2>&5
 
2923
  ac_status=$?
 
2924
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2925
  (exit $ac_status); }; } &&
 
2926
         { ac_try='test -s conftest.$ac_objext'
 
2927
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2928
  (eval $ac_try) 2>&5
 
2929
  ac_status=$?
 
2930
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2931
  (exit $ac_status); }; }; then
 
2932
  for ac_declaration in \
 
2933
   '' \
 
2934
   'extern "C" void std::exit (int) throw (); using std::exit;' \
 
2935
   'extern "C" void std::exit (int); using std::exit;' \
 
2936
   'extern "C" void exit (int) throw ();' \
 
2937
   'extern "C" void exit (int);' \
 
2938
   'void exit (int);'
 
2939
do
 
2940
  cat >conftest.$ac_ext <<_ACEOF
 
2941
/* confdefs.h.  */
 
2942
_ACEOF
 
2943
cat confdefs.h >>conftest.$ac_ext
 
2944
cat >>conftest.$ac_ext <<_ACEOF
 
2945
/* end confdefs.h.  */
 
2946
$ac_declaration
 
2947
#include <stdlib.h>
 
2948
int
 
2949
main ()
 
2950
{
 
2951
exit (42);
 
2952
  ;
 
2953
  return 0;
 
2954
}
 
2955
_ACEOF
 
2956
rm -f conftest.$ac_objext
 
2957
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2958
  (eval $ac_compile) 2>conftest.er1
 
2959
  ac_status=$?
 
2960
  grep -v '^ *+' conftest.er1 >conftest.err
 
2961
  rm -f conftest.er1
 
2962
  cat conftest.err >&5
 
2963
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2964
  (exit $ac_status); } &&
 
2965
         { ac_try='test -z "$ac_c_werror_flag"
 
2966
                         || test ! -s conftest.err'
 
2967
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2968
  (eval $ac_try) 2>&5
 
2969
  ac_status=$?
 
2970
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2971
  (exit $ac_status); }; } &&
 
2972
         { ac_try='test -s conftest.$ac_objext'
 
2973
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2974
  (eval $ac_try) 2>&5
 
2975
  ac_status=$?
 
2976
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2977
  (exit $ac_status); }; }; then
 
2978
  :
 
2979
else
 
2980
  echo "$as_me: failed program was:" >&5
 
2981
sed 's/^/| /' conftest.$ac_ext >&5
 
2982
 
 
2983
continue
 
2984
fi
 
2985
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2986
  cat >conftest.$ac_ext <<_ACEOF
 
2987
/* confdefs.h.  */
 
2988
_ACEOF
 
2989
cat confdefs.h >>conftest.$ac_ext
 
2990
cat >>conftest.$ac_ext <<_ACEOF
 
2991
/* end confdefs.h.  */
 
2992
$ac_declaration
 
2993
int
 
2994
main ()
 
2995
{
 
2996
exit (42);
 
2997
  ;
 
2998
  return 0;
 
2999
}
 
3000
_ACEOF
 
3001
rm -f conftest.$ac_objext
 
3002
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3003
  (eval $ac_compile) 2>conftest.er1
 
3004
  ac_status=$?
 
3005
  grep -v '^ *+' conftest.er1 >conftest.err
 
3006
  rm -f conftest.er1
 
3007
  cat conftest.err >&5
 
3008
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3009
  (exit $ac_status); } &&
 
3010
         { ac_try='test -z "$ac_c_werror_flag"
 
3011
                         || test ! -s conftest.err'
 
3012
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3013
  (eval $ac_try) 2>&5
 
3014
  ac_status=$?
 
3015
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3016
  (exit $ac_status); }; } &&
 
3017
         { ac_try='test -s conftest.$ac_objext'
 
3018
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3019
  (eval $ac_try) 2>&5
 
3020
  ac_status=$?
 
3021
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3022
  (exit $ac_status); }; }; then
 
3023
  break
 
3024
else
 
3025
  echo "$as_me: failed program was:" >&5
 
3026
sed 's/^/| /' conftest.$ac_ext >&5
 
3027
 
 
3028
fi
 
3029
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3030
done
 
3031
rm -f conftest*
 
3032
if test -n "$ac_declaration"; then
 
3033
  echo '#ifdef __cplusplus' >>confdefs.h
 
3034
  echo $ac_declaration      >>confdefs.h
 
3035
  echo '#endif'             >>confdefs.h
 
3036
fi
 
3037
 
 
3038
else
 
3039
  echo "$as_me: failed program was:" >&5
 
3040
sed 's/^/| /' conftest.$ac_ext >&5
 
3041
 
 
3042
fi
 
3043
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3506
3044
ac_ext=c
3507
3045
ac_cpp='$CPP $CPPFLAGS'
3508
3046
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3510
3048
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3511
3049
DEPDIR="${am__leading_dot}deps"
3512
3050
 
3513
 
ac_config_commands="$ac_config_commands depfiles"
 
3051
          ac_config_commands="$ac_config_commands depfiles"
3514
3052
 
3515
3053
 
3516
3054
am_make=${MAKE-make}
3520
3058
.PHONY: am__doit
3521
3059
END
3522
3060
# If we don't find an include directive, just comment out the code.
3523
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3524
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
3061
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3062
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3525
3063
am__include="#"
3526
3064
am__quote=
3527
3065
_am_result=none
3548
3086
fi
3549
3087
 
3550
3088
 
3551
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3552
 
echo "${ECHO_T}$_am_result" >&6; }
 
3089
echo "$as_me:$LINENO: result: $_am_result" >&5
 
3090
echo "${ECHO_T}$_am_result" >&6
3553
3091
rm -f confinc confmf
3554
3092
 
3555
 
# Check whether --enable-dependency-tracking was given.
 
3093
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3556
3094
if test "${enable_dependency_tracking+set}" = set; then
3557
 
  enableval=$enable_dependency_tracking;
3558
 
fi
 
3095
  enableval="$enable_dependency_tracking"
3559
3096
 
 
3097
fi;
3560
3098
if test "x$enable_dependency_tracking" != xno; then
3561
3099
  am_depcomp="$ac_aux_dir/depcomp"
3562
3100
  AMDEPBACKSLASH='\'
3576
3114
 
3577
3115
depcc="$CC"   am_compiler_list=
3578
3116
 
3579
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3580
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
3117
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3118
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3581
3119
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3582
3120
  echo $ECHO_N "(cached) $ECHO_C" >&6
3583
3121
else
3666
3204
fi
3667
3205
 
3668
3206
fi
3669
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3670
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
3207
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3208
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3671
3209
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3672
3210
 
3673
3211
 
3691
3229
if test -n "$ac_tool_prefix"; then
3692
3230
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3693
3231
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3694
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3695
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3232
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3233
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3696
3234
if test "${ac_cv_prog_CC+set}" = set; then
3697
3235
  echo $ECHO_N "(cached) $ECHO_C" >&6
3698
3236
else
3705
3243
  IFS=$as_save_IFS
3706
3244
  test -z "$as_dir" && as_dir=.
3707
3245
  for ac_exec_ext in '' $ac_executable_extensions; do
3708
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3246
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3709
3247
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3710
3248
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3711
3249
    break 2
3712
3250
  fi
3713
3251
done
3714
3252
done
3715
 
IFS=$as_save_IFS
3716
3253
 
3717
3254
fi
3718
3255
fi
3719
3256
CC=$ac_cv_prog_CC
3720
3257
if test -n "$CC"; then
3721
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3722
 
echo "${ECHO_T}$CC" >&6; }
 
3258
  echo "$as_me:$LINENO: result: $CC" >&5
 
3259
echo "${ECHO_T}$CC" >&6
3723
3260
else
3724
 
  { echo "$as_me:$LINENO: result: no" >&5
3725
 
echo "${ECHO_T}no" >&6; }
 
3261
  echo "$as_me:$LINENO: result: no" >&5
 
3262
echo "${ECHO_T}no" >&6
3726
3263
fi
3727
 
 
3728
3264
 
3729
3265
fi
3730
3266
if test -z "$ac_cv_prog_CC"; then
3731
3267
  ac_ct_CC=$CC
3732
3268
  # Extract the first word of "gcc", so it can be a program name with args.
3733
3269
set dummy gcc; ac_word=$2
3734
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3735
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3270
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3271
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3736
3272
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3737
3273
  echo $ECHO_N "(cached) $ECHO_C" >&6
3738
3274
else
3745
3281
  IFS=$as_save_IFS
3746
3282
  test -z "$as_dir" && as_dir=.
3747
3283
  for ac_exec_ext in '' $ac_executable_extensions; do
3748
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3284
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3749
3285
    ac_cv_prog_ac_ct_CC="gcc"
3750
3286
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3751
3287
    break 2
3752
3288
  fi
3753
3289
done
3754
3290
done
3755
 
IFS=$as_save_IFS
3756
3291
 
3757
3292
fi
3758
3293
fi
3759
3294
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3760
3295
if test -n "$ac_ct_CC"; then
3761
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3762
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
3296
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3297
echo "${ECHO_T}$ac_ct_CC" >&6
3763
3298
else
3764
 
  { echo "$as_me:$LINENO: result: no" >&5
3765
 
echo "${ECHO_T}no" >&6; }
 
3299
  echo "$as_me:$LINENO: result: no" >&5
 
3300
echo "${ECHO_T}no" >&6
3766
3301
fi
3767
3302
 
3768
 
  if test "x$ac_ct_CC" = x; then
3769
 
    CC=""
3770
 
  else
3771
 
    case $cross_compiling:$ac_tool_warned in
3772
 
yes:)
3773
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3774
 
whose name does not start with the host triplet.  If you think this
3775
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3776
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3777
 
whose name does not start with the host triplet.  If you think this
3778
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3779
 
ac_tool_warned=yes ;;
3780
 
esac
3781
 
    CC=$ac_ct_CC
3782
 
  fi
 
3303
  CC=$ac_ct_CC
3783
3304
else
3784
3305
  CC="$ac_cv_prog_CC"
3785
3306
fi
3786
3307
 
3787
3308
if test -z "$CC"; then
3788
 
          if test -n "$ac_tool_prefix"; then
3789
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3309
  if test -n "$ac_tool_prefix"; then
 
3310
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3790
3311
set dummy ${ac_tool_prefix}cc; ac_word=$2
3791
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3792
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3312
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3313
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3793
3314
if test "${ac_cv_prog_CC+set}" = set; then
3794
3315
  echo $ECHO_N "(cached) $ECHO_C" >&6
3795
3316
else
3802
3323
  IFS=$as_save_IFS
3803
3324
  test -z "$as_dir" && as_dir=.
3804
3325
  for ac_exec_ext in '' $ac_executable_extensions; do
3805
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3326
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3806
3327
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3807
3328
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3808
3329
    break 2
3809
3330
  fi
3810
3331
done
3811
3332
done
3812
 
IFS=$as_save_IFS
3813
3333
 
3814
3334
fi
3815
3335
fi
3816
3336
CC=$ac_cv_prog_CC
3817
3337
if test -n "$CC"; then
3818
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3819
 
echo "${ECHO_T}$CC" >&6; }
3820
 
else
3821
 
  { echo "$as_me:$LINENO: result: no" >&5
3822
 
echo "${ECHO_T}no" >&6; }
3823
 
fi
3824
 
 
3825
 
 
 
3338
  echo "$as_me:$LINENO: result: $CC" >&5
 
3339
echo "${ECHO_T}$CC" >&6
 
3340
else
 
3341
  echo "$as_me:$LINENO: result: no" >&5
 
3342
echo "${ECHO_T}no" >&6
 
3343
fi
 
3344
 
 
3345
fi
 
3346
if test -z "$ac_cv_prog_CC"; then
 
3347
  ac_ct_CC=$CC
 
3348
  # Extract the first word of "cc", so it can be a program name with args.
 
3349
set dummy cc; ac_word=$2
 
3350
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3351
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3352
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3353
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3354
else
 
3355
  if test -n "$ac_ct_CC"; then
 
3356
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3357
else
 
3358
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3359
for as_dir in $PATH
 
3360
do
 
3361
  IFS=$as_save_IFS
 
3362
  test -z "$as_dir" && as_dir=.
 
3363
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3364
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3365
    ac_cv_prog_ac_ct_CC="cc"
 
3366
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3367
    break 2
3826
3368
  fi
 
3369
done
 
3370
done
 
3371
 
 
3372
fi
 
3373
fi
 
3374
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3375
if test -n "$ac_ct_CC"; then
 
3376
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3377
echo "${ECHO_T}$ac_ct_CC" >&6
 
3378
else
 
3379
  echo "$as_me:$LINENO: result: no" >&5
 
3380
echo "${ECHO_T}no" >&6
 
3381
fi
 
3382
 
 
3383
  CC=$ac_ct_CC
 
3384
else
 
3385
  CC="$ac_cv_prog_CC"
 
3386
fi
 
3387
 
3827
3388
fi
3828
3389
if test -z "$CC"; then
3829
3390
  # Extract the first word of "cc", so it can be a program name with args.
3830
3391
set dummy cc; ac_word=$2
3831
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3832
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3392
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3393
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3833
3394
if test "${ac_cv_prog_CC+set}" = set; then
3834
3395
  echo $ECHO_N "(cached) $ECHO_C" >&6
3835
3396
else
3843
3404
  IFS=$as_save_IFS
3844
3405
  test -z "$as_dir" && as_dir=.
3845
3406
  for ac_exec_ext in '' $ac_executable_extensions; do
3846
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3407
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3847
3408
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3848
3409
       ac_prog_rejected=yes
3849
3410
       continue
3854
3415
  fi
3855
3416
done
3856
3417
done
3857
 
IFS=$as_save_IFS
3858
3418
 
3859
3419
if test $ac_prog_rejected = yes; then
3860
3420
  # We found a bogon in the path, so make sure we never use it.
3872
3432
fi
3873
3433
CC=$ac_cv_prog_CC
3874
3434
if test -n "$CC"; then
3875
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3876
 
echo "${ECHO_T}$CC" >&6; }
 
3435
  echo "$as_me:$LINENO: result: $CC" >&5
 
3436
echo "${ECHO_T}$CC" >&6
3877
3437
else
3878
 
  { echo "$as_me:$LINENO: result: no" >&5
3879
 
echo "${ECHO_T}no" >&6; }
 
3438
  echo "$as_me:$LINENO: result: no" >&5
 
3439
echo "${ECHO_T}no" >&6
3880
3440
fi
3881
 
 
3882
3441
 
3883
3442
fi
3884
3443
if test -z "$CC"; then
3885
3444
  if test -n "$ac_tool_prefix"; then
3886
 
  for ac_prog in cl.exe
 
3445
  for ac_prog in cl
3887
3446
  do
3888
3447
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3889
3448
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3890
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3891
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3449
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3450
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3892
3451
if test "${ac_cv_prog_CC+set}" = set; then
3893
3452
  echo $ECHO_N "(cached) $ECHO_C" >&6
3894
3453
else
3901
3460
  IFS=$as_save_IFS
3902
3461
  test -z "$as_dir" && as_dir=.
3903
3462
  for ac_exec_ext in '' $ac_executable_extensions; do
3904
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3463
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3905
3464
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3906
3465
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3907
3466
    break 2
3908
3467
  fi
3909
3468
done
3910
3469
done
3911
 
IFS=$as_save_IFS
3912
3470
 
3913
3471
fi
3914
3472
fi
3915
3473
CC=$ac_cv_prog_CC
3916
3474
if test -n "$CC"; then
3917
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3918
 
echo "${ECHO_T}$CC" >&6; }
 
3475
  echo "$as_me:$LINENO: result: $CC" >&5
 
3476
echo "${ECHO_T}$CC" >&6
3919
3477
else
3920
 
  { echo "$as_me:$LINENO: result: no" >&5
3921
 
echo "${ECHO_T}no" >&6; }
 
3478
  echo "$as_me:$LINENO: result: no" >&5
 
3479
echo "${ECHO_T}no" >&6
3922
3480
fi
3923
3481
 
3924
 
 
3925
3482
    test -n "$CC" && break
3926
3483
  done
3927
3484
fi
3928
3485
if test -z "$CC"; then
3929
3486
  ac_ct_CC=$CC
3930
 
  for ac_prog in cl.exe
 
3487
  for ac_prog in cl
3931
3488
do
3932
3489
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3933
3490
set dummy $ac_prog; ac_word=$2
3934
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3935
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3491
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3492
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3936
3493
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3937
3494
  echo $ECHO_N "(cached) $ECHO_C" >&6
3938
3495
else
3945
3502
  IFS=$as_save_IFS
3946
3503
  test -z "$as_dir" && as_dir=.
3947
3504
  for ac_exec_ext in '' $ac_executable_extensions; do
3948
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3505
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3949
3506
    ac_cv_prog_ac_ct_CC="$ac_prog"
3950
3507
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3951
3508
    break 2
3952
3509
  fi
3953
3510
done
3954
3511
done
3955
 
IFS=$as_save_IFS
3956
3512
 
3957
3513
fi
3958
3514
fi
3959
3515
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3960
3516
if test -n "$ac_ct_CC"; then
3961
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3962
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
3517
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3518
echo "${ECHO_T}$ac_ct_CC" >&6
3963
3519
else
3964
 
  { echo "$as_me:$LINENO: result: no" >&5
3965
 
echo "${ECHO_T}no" >&6; }
 
3520
  echo "$as_me:$LINENO: result: no" >&5
 
3521
echo "${ECHO_T}no" >&6
3966
3522
fi
3967
3523
 
3968
 
 
3969
3524
  test -n "$ac_ct_CC" && break
3970
3525
done
3971
3526
 
3972
 
  if test "x$ac_ct_CC" = x; then
3973
 
    CC=""
3974
 
  else
3975
 
    case $cross_compiling:$ac_tool_warned in
3976
 
yes:)
3977
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3978
 
whose name does not start with the host triplet.  If you think this
3979
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3980
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3981
 
whose name does not start with the host triplet.  If you think this
3982
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3983
 
ac_tool_warned=yes ;;
3984
 
esac
3985
 
    CC=$ac_ct_CC
3986
 
  fi
 
3527
  CC=$ac_ct_CC
3987
3528
fi
3988
3529
 
3989
3530
fi
3996
3537
   { (exit 1); exit 1; }; }
3997
3538
 
3998
3539
# Provide some information about the compiler.
3999
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3540
echo "$as_me:$LINENO:" \
 
3541
     "checking for C compiler version" >&5
4000
3542
ac_compiler=`set X $ac_compile; echo $2`
4001
 
{ (ac_try="$ac_compiler --version >&5"
4002
 
case "(($ac_try" in
4003
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4004
 
  *) ac_try_echo=$ac_try;;
4005
 
esac
4006
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4007
 
  (eval "$ac_compiler --version >&5") 2>&5
4008
 
  ac_status=$?
4009
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010
 
  (exit $ac_status); }
4011
 
{ (ac_try="$ac_compiler -v >&5"
4012
 
case "(($ac_try" in
4013
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4014
 
  *) ac_try_echo=$ac_try;;
4015
 
esac
4016
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4017
 
  (eval "$ac_compiler -v >&5") 2>&5
4018
 
  ac_status=$?
4019
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4020
 
  (exit $ac_status); }
4021
 
{ (ac_try="$ac_compiler -V >&5"
4022
 
case "(($ac_try" in
4023
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4024
 
  *) ac_try_echo=$ac_try;;
4025
 
esac
4026
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4027
 
  (eval "$ac_compiler -V >&5") 2>&5
 
3543
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 
3544
  (eval $ac_compiler --version </dev/null >&5) 2>&5
 
3545
  ac_status=$?
 
3546
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3547
  (exit $ac_status); }
 
3548
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 
3549
  (eval $ac_compiler -v </dev/null >&5) 2>&5
 
3550
  ac_status=$?
 
3551
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3552
  (exit $ac_status); }
 
3553
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 
3554
  (eval $ac_compiler -V </dev/null >&5) 2>&5
4028
3555
  ac_status=$?
4029
3556
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4030
3557
  (exit $ac_status); }
4031
3558
 
4032
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4033
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
3559
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3560
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4034
3561
if test "${ac_cv_c_compiler_gnu+set}" = set; then
4035
3562
  echo $ECHO_N "(cached) $ECHO_C" >&6
4036
3563
else
4053
3580
}
4054
3581
_ACEOF
4055
3582
rm -f conftest.$ac_objext
4056
 
if { (ac_try="$ac_compile"
4057
 
case "(($ac_try" in
4058
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4059
 
  *) ac_try_echo=$ac_try;;
4060
 
esac
4061
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4062
 
  (eval "$ac_compile") 2>conftest.er1
 
3583
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3584
  (eval $ac_compile) 2>conftest.er1
4063
3585
  ac_status=$?
4064
3586
  grep -v '^ *+' conftest.er1 >conftest.err
4065
3587
  rm -f conftest.er1
4066
3588
  cat conftest.err >&5
4067
3589
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068
 
  (exit $ac_status); } && {
4069
 
         test -z "$ac_c_werror_flag" ||
4070
 
         test ! -s conftest.err
4071
 
       } && test -s conftest.$ac_objext; then
 
3590
  (exit $ac_status); } &&
 
3591
         { ac_try='test -z "$ac_c_werror_flag"
 
3592
                         || test ! -s conftest.err'
 
3593
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3594
  (eval $ac_try) 2>&5
 
3595
  ac_status=$?
 
3596
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3597
  (exit $ac_status); }; } &&
 
3598
         { ac_try='test -s conftest.$ac_objext'
 
3599
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3600
  (eval $ac_try) 2>&5
 
3601
  ac_status=$?
 
3602
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3603
  (exit $ac_status); }; }; then
4072
3604
  ac_compiler_gnu=yes
4073
3605
else
4074
3606
  echo "$as_me: failed program was:" >&5
4075
3607
sed 's/^/| /' conftest.$ac_ext >&5
4076
3608
 
4077
 
        ac_compiler_gnu=no
 
3609
ac_compiler_gnu=no
4078
3610
fi
4079
 
 
4080
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3611
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4081
3612
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4082
3613
 
4083
3614
fi
4084
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4085
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
 
3615
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3616
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4086
3617
GCC=`test $ac_compiler_gnu = yes && echo yes`
4087
3618
ac_test_CFLAGS=${CFLAGS+set}
4088
3619
ac_save_CFLAGS=$CFLAGS
4089
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4090
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
3620
CFLAGS="-g"
 
3621
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3622
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4091
3623
if test "${ac_cv_prog_cc_g+set}" = set; then
4092
3624
  echo $ECHO_N "(cached) $ECHO_C" >&6
4093
3625
else
4094
 
  ac_save_c_werror_flag=$ac_c_werror_flag
4095
 
   ac_c_werror_flag=yes
4096
 
   ac_cv_prog_cc_g=no
4097
 
   CFLAGS="-g"
4098
 
   cat >conftest.$ac_ext <<_ACEOF
4099
 
/* confdefs.h.  */
4100
 
_ACEOF
4101
 
cat confdefs.h >>conftest.$ac_ext
4102
 
cat >>conftest.$ac_ext <<_ACEOF
4103
 
/* end confdefs.h.  */
4104
 
 
4105
 
int
4106
 
main ()
4107
 
{
4108
 
 
4109
 
  ;
4110
 
  return 0;
4111
 
}
4112
 
_ACEOF
4113
 
rm -f conftest.$ac_objext
4114
 
if { (ac_try="$ac_compile"
4115
 
case "(($ac_try" in
4116
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4117
 
  *) ac_try_echo=$ac_try;;
4118
 
esac
4119
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4120
 
  (eval "$ac_compile") 2>conftest.er1
4121
 
  ac_status=$?
4122
 
  grep -v '^ *+' conftest.er1 >conftest.err
4123
 
  rm -f conftest.er1
4124
 
  cat conftest.err >&5
4125
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4126
 
  (exit $ac_status); } && {
4127
 
         test -z "$ac_c_werror_flag" ||
4128
 
         test ! -s conftest.err
4129
 
       } && test -s conftest.$ac_objext; then
4130
 
  ac_cv_prog_cc_g=yes
4131
 
else
4132
 
  echo "$as_me: failed program was:" >&5
4133
 
sed 's/^/| /' conftest.$ac_ext >&5
4134
 
 
4135
 
        CFLAGS=""
4136
 
      cat >conftest.$ac_ext <<_ACEOF
4137
 
/* confdefs.h.  */
4138
 
_ACEOF
4139
 
cat confdefs.h >>conftest.$ac_ext
4140
 
cat >>conftest.$ac_ext <<_ACEOF
4141
 
/* end confdefs.h.  */
4142
 
 
4143
 
int
4144
 
main ()
4145
 
{
4146
 
 
4147
 
  ;
4148
 
  return 0;
4149
 
}
4150
 
_ACEOF
4151
 
rm -f conftest.$ac_objext
4152
 
if { (ac_try="$ac_compile"
4153
 
case "(($ac_try" in
4154
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4155
 
  *) ac_try_echo=$ac_try;;
4156
 
esac
4157
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4158
 
  (eval "$ac_compile") 2>conftest.er1
4159
 
  ac_status=$?
4160
 
  grep -v '^ *+' conftest.er1 >conftest.err
4161
 
  rm -f conftest.er1
4162
 
  cat conftest.err >&5
4163
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4164
 
  (exit $ac_status); } && {
4165
 
         test -z "$ac_c_werror_flag" ||
4166
 
         test ! -s conftest.err
4167
 
       } && test -s conftest.$ac_objext; then
4168
 
  :
4169
 
else
4170
 
  echo "$as_me: failed program was:" >&5
4171
 
sed 's/^/| /' conftest.$ac_ext >&5
4172
 
 
4173
 
        ac_c_werror_flag=$ac_save_c_werror_flag
4174
 
         CFLAGS="-g"
4175
 
         cat >conftest.$ac_ext <<_ACEOF
4176
 
/* confdefs.h.  */
4177
 
_ACEOF
4178
 
cat confdefs.h >>conftest.$ac_ext
4179
 
cat >>conftest.$ac_ext <<_ACEOF
4180
 
/* end confdefs.h.  */
4181
 
 
4182
 
int
4183
 
main ()
4184
 
{
4185
 
 
4186
 
  ;
4187
 
  return 0;
4188
 
}
4189
 
_ACEOF
4190
 
rm -f conftest.$ac_objext
4191
 
if { (ac_try="$ac_compile"
4192
 
case "(($ac_try" in
4193
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4194
 
  *) ac_try_echo=$ac_try;;
4195
 
esac
4196
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4197
 
  (eval "$ac_compile") 2>conftest.er1
4198
 
  ac_status=$?
4199
 
  grep -v '^ *+' conftest.er1 >conftest.err
4200
 
  rm -f conftest.er1
4201
 
  cat conftest.err >&5
4202
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4203
 
  (exit $ac_status); } && {
4204
 
         test -z "$ac_c_werror_flag" ||
4205
 
         test ! -s conftest.err
4206
 
       } && test -s conftest.$ac_objext; then
4207
 
  ac_cv_prog_cc_g=yes
4208
 
else
4209
 
  echo "$as_me: failed program was:" >&5
4210
 
sed 's/^/| /' conftest.$ac_ext >&5
4211
 
 
4212
 
 
4213
 
fi
4214
 
 
4215
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4216
 
fi
4217
 
 
4218
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4219
 
fi
4220
 
 
4221
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4222
 
   ac_c_werror_flag=$ac_save_c_werror_flag
4223
 
fi
4224
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4225
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
3626
  cat >conftest.$ac_ext <<_ACEOF
 
3627
/* confdefs.h.  */
 
3628
_ACEOF
 
3629
cat confdefs.h >>conftest.$ac_ext
 
3630
cat >>conftest.$ac_ext <<_ACEOF
 
3631
/* end confdefs.h.  */
 
3632
 
 
3633
int
 
3634
main ()
 
3635
{
 
3636
 
 
3637
  ;
 
3638
  return 0;
 
3639
}
 
3640
_ACEOF
 
3641
rm -f conftest.$ac_objext
 
3642
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3643
  (eval $ac_compile) 2>conftest.er1
 
3644
  ac_status=$?
 
3645
  grep -v '^ *+' conftest.er1 >conftest.err
 
3646
  rm -f conftest.er1
 
3647
  cat conftest.err >&5
 
3648
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3649
  (exit $ac_status); } &&
 
3650
         { ac_try='test -z "$ac_c_werror_flag"
 
3651
                         || test ! -s conftest.err'
 
3652
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3653
  (eval $ac_try) 2>&5
 
3654
  ac_status=$?
 
3655
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3656
  (exit $ac_status); }; } &&
 
3657
         { ac_try='test -s conftest.$ac_objext'
 
3658
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3659
  (eval $ac_try) 2>&5
 
3660
  ac_status=$?
 
3661
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3662
  (exit $ac_status); }; }; then
 
3663
  ac_cv_prog_cc_g=yes
 
3664
else
 
3665
  echo "$as_me: failed program was:" >&5
 
3666
sed 's/^/| /' conftest.$ac_ext >&5
 
3667
 
 
3668
ac_cv_prog_cc_g=no
 
3669
fi
 
3670
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3671
fi
 
3672
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3673
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4226
3674
if test "$ac_test_CFLAGS" = set; then
4227
3675
  CFLAGS=$ac_save_CFLAGS
4228
3676
elif test $ac_cv_prog_cc_g = yes; then
4238
3686
    CFLAGS=
4239
3687
  fi
4240
3688
fi
4241
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4242
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4243
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3689
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 
3690
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 
3691
if test "${ac_cv_prog_cc_stdc+set}" = set; then
4244
3692
  echo $ECHO_N "(cached) $ECHO_C" >&6
4245
3693
else
4246
 
  ac_cv_prog_cc_c89=no
 
3694
  ac_cv_prog_cc_stdc=no
4247
3695
ac_save_CC=$CC
4248
3696
cat >conftest.$ac_ext <<_ACEOF
4249
3697
/* confdefs.h.  */
4277
3725
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4278
3726
   function prototypes and stuff, but not '\xHH' hex character constants.
4279
3727
   These don't provoke an error unfortunately, instead are silently treated
4280
 
   as 'x'.  The following induces an error, until -std is added to get
 
3728
   as 'x'.  The following induces an error, until -std1 is added to get
4281
3729
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4282
3730
   array size at least.  It's necessary to write '\x00'==0 to get something
4283
 
   that's true only with -std.  */
 
3731
   that's true only with -std1.  */
4284
3732
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4285
3733
 
4286
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4287
 
   inside strings and character constants.  */
4288
 
#define FOO(x) 'x'
4289
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4290
 
 
4291
3734
int test (int i, double x);
4292
3735
struct s1 {int (*f) (int a);};
4293
3736
struct s2 {int (*f) (double a);};
4302
3745
  return 0;
4303
3746
}
4304
3747
_ACEOF
4305
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4306
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3748
# Don't try gcc -ansi; that turns off useful extensions and
 
3749
# breaks some systems' header files.
 
3750
# AIX                   -qlanglvl=ansi
 
3751
# Ultrix and OSF/1      -std1
 
3752
# HP-UX 10.20 and later -Ae
 
3753
# HP-UX older versions  -Aa -D_HPUX_SOURCE
 
3754
# SVR4                  -Xc -D__EXTENSIONS__
 
3755
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4307
3756
do
4308
3757
  CC="$ac_save_CC $ac_arg"
4309
3758
  rm -f conftest.$ac_objext
4310
 
if { (ac_try="$ac_compile"
4311
 
case "(($ac_try" in
4312
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4313
 
  *) ac_try_echo=$ac_try;;
4314
 
esac
4315
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4316
 
  (eval "$ac_compile") 2>conftest.er1
 
3759
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3760
  (eval $ac_compile) 2>conftest.er1
4317
3761
  ac_status=$?
4318
3762
  grep -v '^ *+' conftest.er1 >conftest.err
4319
3763
  rm -f conftest.er1
4320
3764
  cat conftest.err >&5
4321
3765
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322
 
  (exit $ac_status); } && {
4323
 
         test -z "$ac_c_werror_flag" ||
4324
 
         test ! -s conftest.err
4325
 
       } && test -s conftest.$ac_objext; then
4326
 
  ac_cv_prog_cc_c89=$ac_arg
 
3766
  (exit $ac_status); } &&
 
3767
         { ac_try='test -z "$ac_c_werror_flag"
 
3768
                         || test ! -s conftest.err'
 
3769
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3770
  (eval $ac_try) 2>&5
 
3771
  ac_status=$?
 
3772
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3773
  (exit $ac_status); }; } &&
 
3774
         { ac_try='test -s conftest.$ac_objext'
 
3775
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3776
  (eval $ac_try) 2>&5
 
3777
  ac_status=$?
 
3778
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3779
  (exit $ac_status); }; }; then
 
3780
  ac_cv_prog_cc_stdc=$ac_arg
 
3781
break
4327
3782
else
4328
3783
  echo "$as_me: failed program was:" >&5
4329
3784
sed 's/^/| /' conftest.$ac_ext >&5
4330
3785
 
4331
 
 
4332
3786
fi
4333
 
 
4334
 
rm -f core conftest.err conftest.$ac_objext
4335
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
3787
rm -f conftest.err conftest.$ac_objext
4336
3788
done
4337
 
rm -f conftest.$ac_ext
 
3789
rm -f conftest.$ac_ext conftest.$ac_objext
4338
3790
CC=$ac_save_CC
4339
3791
 
4340
3792
fi
4341
 
# AC_CACHE_VAL
4342
 
case "x$ac_cv_prog_cc_c89" in
4343
 
  x)
4344
 
    { echo "$as_me:$LINENO: result: none needed" >&5
4345
 
echo "${ECHO_T}none needed" >&6; } ;;
4346
 
  xno)
4347
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
4348
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
3793
 
 
3794
case "x$ac_cv_prog_cc_stdc" in
 
3795
  x|xno)
 
3796
    echo "$as_me:$LINENO: result: none needed" >&5
 
3797
echo "${ECHO_T}none needed" >&6 ;;
4349
3798
  *)
4350
 
    CC="$CC $ac_cv_prog_cc_c89"
4351
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4352
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
3799
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 
3800
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 
3801
    CC="$CC $ac_cv_prog_cc_stdc" ;;
4353
3802
esac
4354
3803
 
4355
 
 
 
3804
# Some people use a C++ compiler to compile C.  Since we use `exit',
 
3805
# in C++ we need to declare it.  In case someone uses the same compiler
 
3806
# for both compiling C and C++ we need to have the C++ compiler decide
 
3807
# the declaration of exit, since it's the most demanding environment.
 
3808
cat >conftest.$ac_ext <<_ACEOF
 
3809
#ifndef __cplusplus
 
3810
  choke me
 
3811
#endif
 
3812
_ACEOF
 
3813
rm -f conftest.$ac_objext
 
3814
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3815
  (eval $ac_compile) 2>conftest.er1
 
3816
  ac_status=$?
 
3817
  grep -v '^ *+' conftest.er1 >conftest.err
 
3818
  rm -f conftest.er1
 
3819
  cat conftest.err >&5
 
3820
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3821
  (exit $ac_status); } &&
 
3822
         { ac_try='test -z "$ac_c_werror_flag"
 
3823
                         || test ! -s conftest.err'
 
3824
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3825
  (eval $ac_try) 2>&5
 
3826
  ac_status=$?
 
3827
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3828
  (exit $ac_status); }; } &&
 
3829
         { ac_try='test -s conftest.$ac_objext'
 
3830
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3831
  (eval $ac_try) 2>&5
 
3832
  ac_status=$?
 
3833
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3834
  (exit $ac_status); }; }; then
 
3835
  for ac_declaration in \
 
3836
   '' \
 
3837
   'extern "C" void std::exit (int) throw (); using std::exit;' \
 
3838
   'extern "C" void std::exit (int); using std::exit;' \
 
3839
   'extern "C" void exit (int) throw ();' \
 
3840
   'extern "C" void exit (int);' \
 
3841
   'void exit (int);'
 
3842
do
 
3843
  cat >conftest.$ac_ext <<_ACEOF
 
3844
/* confdefs.h.  */
 
3845
_ACEOF
 
3846
cat confdefs.h >>conftest.$ac_ext
 
3847
cat >>conftest.$ac_ext <<_ACEOF
 
3848
/* end confdefs.h.  */
 
3849
$ac_declaration
 
3850
#include <stdlib.h>
 
3851
int
 
3852
main ()
 
3853
{
 
3854
exit (42);
 
3855
  ;
 
3856
  return 0;
 
3857
}
 
3858
_ACEOF
 
3859
rm -f conftest.$ac_objext
 
3860
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3861
  (eval $ac_compile) 2>conftest.er1
 
3862
  ac_status=$?
 
3863
  grep -v '^ *+' conftest.er1 >conftest.err
 
3864
  rm -f conftest.er1
 
3865
  cat conftest.err >&5
 
3866
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3867
  (exit $ac_status); } &&
 
3868
         { ac_try='test -z "$ac_c_werror_flag"
 
3869
                         || test ! -s conftest.err'
 
3870
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3871
  (eval $ac_try) 2>&5
 
3872
  ac_status=$?
 
3873
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3874
  (exit $ac_status); }; } &&
 
3875
         { ac_try='test -s conftest.$ac_objext'
 
3876
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3877
  (eval $ac_try) 2>&5
 
3878
  ac_status=$?
 
3879
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3880
  (exit $ac_status); }; }; then
 
3881
  :
 
3882
else
 
3883
  echo "$as_me: failed program was:" >&5
 
3884
sed 's/^/| /' conftest.$ac_ext >&5
 
3885
 
 
3886
continue
 
3887
fi
 
3888
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3889
  cat >conftest.$ac_ext <<_ACEOF
 
3890
/* confdefs.h.  */
 
3891
_ACEOF
 
3892
cat confdefs.h >>conftest.$ac_ext
 
3893
cat >>conftest.$ac_ext <<_ACEOF
 
3894
/* end confdefs.h.  */
 
3895
$ac_declaration
 
3896
int
 
3897
main ()
 
3898
{
 
3899
exit (42);
 
3900
  ;
 
3901
  return 0;
 
3902
}
 
3903
_ACEOF
 
3904
rm -f conftest.$ac_objext
 
3905
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3906
  (eval $ac_compile) 2>conftest.er1
 
3907
  ac_status=$?
 
3908
  grep -v '^ *+' conftest.er1 >conftest.err
 
3909
  rm -f conftest.er1
 
3910
  cat conftest.err >&5
 
3911
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3912
  (exit $ac_status); } &&
 
3913
         { ac_try='test -z "$ac_c_werror_flag"
 
3914
                         || test ! -s conftest.err'
 
3915
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3916
  (eval $ac_try) 2>&5
 
3917
  ac_status=$?
 
3918
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3919
  (exit $ac_status); }; } &&
 
3920
         { ac_try='test -s conftest.$ac_objext'
 
3921
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3922
  (eval $ac_try) 2>&5
 
3923
  ac_status=$?
 
3924
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3925
  (exit $ac_status); }; }; then
 
3926
  break
 
3927
else
 
3928
  echo "$as_me: failed program was:" >&5
 
3929
sed 's/^/| /' conftest.$ac_ext >&5
 
3930
 
 
3931
fi
 
3932
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3933
done
 
3934
rm -f conftest*
 
3935
if test -n "$ac_declaration"; then
 
3936
  echo '#ifdef __cplusplus' >>confdefs.h
 
3937
  echo $ac_declaration      >>confdefs.h
 
3938
  echo '#endif'             >>confdefs.h
 
3939
fi
 
3940
 
 
3941
else
 
3942
  echo "$as_me: failed program was:" >&5
 
3943
sed 's/^/| /' conftest.$ac_ext >&5
 
3944
 
 
3945
fi
 
3946
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4356
3947
ac_ext=c
4357
3948
ac_cpp='$CPP $CPPFLAGS'
4358
3949
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4361
3952
 
4362
3953
depcc="$CC"   am_compiler_list=
4363
3954
 
4364
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4365
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
3955
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3956
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4366
3957
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4367
3958
  echo $ECHO_N "(cached) $ECHO_C" >&6
4368
3959
else
4451
4042
fi
4452
4043
 
4453
4044
fi
4454
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4455
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
4045
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4046
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
4456
4047
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4457
4048
 
4458
4049
 
4472
4063
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
4473
4064
 
4474
4065
 
4475
 
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4476
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
 
4066
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 
4067
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4477
4068
if test "${ac_cv_c_const+set}" = set; then
4478
4069
  echo $ECHO_N "(cached) $ECHO_C" >&6
4479
4070
else
4491
4082
#ifndef __cplusplus
4492
4083
  /* Ultrix mips cc rejects this.  */
4493
4084
  typedef int charset[2];
4494
 
  const charset cs;
 
4085
  const charset x;
4495
4086
  /* SunOS 4.1.1 cc rejects this.  */
4496
 
  char const *const *pcpcc;
4497
 
  char **ppc;
 
4087
  char const *const *ccp;
 
4088
  char **p;
4498
4089
  /* NEC SVR4.0.2 mips cc rejects this.  */
4499
4090
  struct point {int x, y;};
4500
4091
  static struct point const zero = {0,0};
4503
4094
     an arm of an if-expression whose if-part is not a constant
4504
4095
     expression */
4505
4096
  const char *g = "string";
4506
 
  pcpcc = &g + (g ? g-g : 0);
 
4097
  ccp = &g + (g ? g-g : 0);
4507
4098
  /* HPUX 7.0 cc rejects these. */
4508
 
  ++pcpcc;
4509
 
  ppc = (char**) pcpcc;
4510
 
  pcpcc = (char const *const *) ppc;
 
4099
  ++ccp;
 
4100
  p = (char**) ccp;
 
4101
  ccp = (char const *const *) p;
4511
4102
  { /* SCO 3.2v4 cc rejects this.  */
4512
4103
    char *t;
4513
4104
    char const *s = 0 ? (char *) 0 : (char const *) 0;
4514
4105
 
4515
4106
    *t++ = 0;
4516
 
    if (s) return 0;
4517
4107
  }
4518
4108
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
4519
4109
    int x[] = {25, 17};
4532
4122
  }
4533
4123
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4534
4124
    const int foo = 10;
4535
 
    if (!foo) return 0;
4536
4125
  }
4537
 
  return !cs[0] && !zero.x;
4538
4126
#endif
4539
4127
 
4540
4128
  ;
4542
4130
}
4543
4131
_ACEOF
4544
4132
rm -f conftest.$ac_objext
4545
 
if { (ac_try="$ac_compile"
4546
 
case "(($ac_try" in
4547
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4548
 
  *) ac_try_echo=$ac_try;;
4549
 
esac
4550
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4551
 
  (eval "$ac_compile") 2>conftest.er1
 
4133
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
4134
  (eval $ac_compile) 2>conftest.er1
4552
4135
  ac_status=$?
4553
4136
  grep -v '^ *+' conftest.er1 >conftest.err
4554
4137
  rm -f conftest.er1
4555
4138
  cat conftest.err >&5
4556
4139
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4557
 
  (exit $ac_status); } && {
4558
 
         test -z "$ac_c_werror_flag" ||
4559
 
         test ! -s conftest.err
4560
 
       } && test -s conftest.$ac_objext; then
 
4140
  (exit $ac_status); } &&
 
4141
         { ac_try='test -z "$ac_c_werror_flag"
 
4142
                         || test ! -s conftest.err'
 
4143
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4144
  (eval $ac_try) 2>&5
 
4145
  ac_status=$?
 
4146
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4147
  (exit $ac_status); }; } &&
 
4148
         { ac_try='test -s conftest.$ac_objext'
 
4149
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4150
  (eval $ac_try) 2>&5
 
4151
  ac_status=$?
 
4152
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4153
  (exit $ac_status); }; }; then
4561
4154
  ac_cv_c_const=yes
4562
4155
else
4563
4156
  echo "$as_me: failed program was:" >&5
4564
4157
sed 's/^/| /' conftest.$ac_ext >&5
4565
4158
 
4566
 
        ac_cv_c_const=no
4567
 
fi
4568
 
 
4569
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4570
 
fi
4571
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4572
 
echo "${ECHO_T}$ac_cv_c_const" >&6; }
 
4159
ac_cv_c_const=no
 
4160
fi
 
4161
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4162
fi
 
4163
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 
4164
echo "${ECHO_T}$ac_cv_c_const" >&6
4573
4165
if test $ac_cv_c_const = no; then
4574
4166
 
4575
4167
cat >>confdefs.h <<\_ACEOF
4580
4172
 
4581
4173
 
4582
4174
 
4583
 
# Check whether --enable-shared was given.
 
4175
# Check whether --enable-shared or --disable-shared was given.
4584
4176
if test "${enable_shared+set}" = set; then
4585
 
  enableval=$enable_shared; p=${PACKAGE-default}
 
4177
  enableval="$enable_shared"
 
4178
  p=${PACKAGE-default}
4586
4179
    case $enableval in
4587
4180
    yes) enable_shared=yes ;;
4588
4181
    no) enable_shared=no ;;
4601
4194
    esac
4602
4195
else
4603
4196
  enable_shared=yes
4604
 
fi
4605
 
 
4606
 
 
4607
 
# Check whether --enable-static was given.
 
4197
fi;
 
4198
 
 
4199
# Check whether --enable-static or --disable-static was given.
4608
4200
if test "${enable_static+set}" = set; then
4609
 
  enableval=$enable_static; p=${PACKAGE-default}
 
4201
  enableval="$enable_static"
 
4202
  p=${PACKAGE-default}
4610
4203
    case $enableval in
4611
4204
    yes) enable_static=yes ;;
4612
4205
    no) enable_static=no ;;
4625
4218
    esac
4626
4219
else
4627
4220
  enable_static=yes
4628
 
fi
4629
 
 
4630
 
 
4631
 
# Check whether --enable-fast-install was given.
 
4221
fi;
 
4222
 
 
4223
# Check whether --enable-fast-install or --disable-fast-install was given.
4632
4224
if test "${enable_fast_install+set}" = set; then
4633
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
4225
  enableval="$enable_fast_install"
 
4226
  p=${PACKAGE-default}
4634
4227
    case $enableval in
4635
4228
    yes) enable_fast_install=yes ;;
4636
4229
    no) enable_fast_install=no ;;
4649
4242
    esac
4650
4243
else
4651
4244
  enable_fast_install=yes
4652
 
fi
4653
 
 
 
4245
fi;
4654
4246
 
4655
4247
# Make sure we can run config.sub.
4656
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4657
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4658
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 
4248
$ac_config_sub sun4 >/dev/null 2>&1 ||
 
4249
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
 
4250
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
4659
4251
   { (exit 1); exit 1; }; }
4660
4252
 
4661
 
{ echo "$as_me:$LINENO: checking build system type" >&5
4662
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
 
4253
echo "$as_me:$LINENO: checking build system type" >&5
 
4254
echo $ECHO_N "checking build system type... $ECHO_C" >&6
4663
4255
if test "${ac_cv_build+set}" = set; then
4664
4256
  echo $ECHO_N "(cached) $ECHO_C" >&6
4665
4257
else
4666
 
  ac_build_alias=$build_alias
4667
 
test "x$ac_build_alias" = x &&
4668
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4669
 
test "x$ac_build_alias" = x &&
 
4258
  ac_cv_build_alias=$build_alias
 
4259
test -z "$ac_cv_build_alias" &&
 
4260
  ac_cv_build_alias=`$ac_config_guess`
 
4261
test -z "$ac_cv_build_alias" &&
4670
4262
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4671
4263
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4672
4264
   { (exit 1); exit 1; }; }
4673
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4674
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4675
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 
4265
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
 
4266
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
 
4267
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
4676
4268
   { (exit 1); exit 1; }; }
4677
4269
 
4678
4270
fi
4679
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4680
 
echo "${ECHO_T}$ac_cv_build" >&6; }
4681
 
case $ac_cv_build in
4682
 
*-*-*) ;;
4683
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4684
 
echo "$as_me: error: invalid value of canonical build" >&2;}
4685
 
   { (exit 1); exit 1; }; };;
4686
 
esac
 
4271
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
4272
echo "${ECHO_T}$ac_cv_build" >&6
4687
4273
build=$ac_cv_build
4688
 
ac_save_IFS=$IFS; IFS='-'
4689
 
set x $ac_cv_build
4690
 
shift
4691
 
build_cpu=$1
4692
 
build_vendor=$2
4693
 
shift; shift
4694
 
# Remember, the first character of IFS is used to create $*,
4695
 
# except with old shells:
4696
 
build_os=$*
4697
 
IFS=$ac_save_IFS
4698
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4699
 
 
4700
 
 
4701
 
{ echo "$as_me:$LINENO: checking host system type" >&5
4702
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 
4274
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 
4275
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 
4276
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
4277
 
 
4278
 
 
4279
echo "$as_me:$LINENO: checking host system type" >&5
 
4280
echo $ECHO_N "checking host system type... $ECHO_C" >&6
4703
4281
if test "${ac_cv_host+set}" = set; then
4704
4282
  echo $ECHO_N "(cached) $ECHO_C" >&6
4705
4283
else
4706
 
  if test "x$host_alias" = x; then
4707
 
  ac_cv_host=$ac_cv_build
4708
 
else
4709
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4710
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4711
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
4284
  ac_cv_host_alias=$host_alias
 
4285
test -z "$ac_cv_host_alias" &&
 
4286
  ac_cv_host_alias=$ac_cv_build_alias
 
4287
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
 
4288
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
 
4289
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
4712
4290
   { (exit 1); exit 1; }; }
4713
 
fi
4714
4291
 
4715
4292
fi
4716
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4717
 
echo "${ECHO_T}$ac_cv_host" >&6; }
4718
 
case $ac_cv_host in
4719
 
*-*-*) ;;
4720
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4721
 
echo "$as_me: error: invalid value of canonical host" >&2;}
4722
 
   { (exit 1); exit 1; }; };;
4723
 
esac
 
4293
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
4294
echo "${ECHO_T}$ac_cv_host" >&6
4724
4295
host=$ac_cv_host
4725
 
ac_save_IFS=$IFS; IFS='-'
4726
 
set x $ac_cv_host
4727
 
shift
4728
 
host_cpu=$1
4729
 
host_vendor=$2
4730
 
shift; shift
4731
 
# Remember, the first character of IFS is used to create $*,
4732
 
# except with old shells:
4733
 
host_os=$*
4734
 
IFS=$ac_save_IFS
4735
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4736
 
 
4737
 
 
4738
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4739
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
 
4296
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 
4297
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 
4298
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
4299
 
 
4300
 
 
4301
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4302
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4740
4303
if test "${lt_cv_path_SED+set}" = set; then
4741
4304
  echo $ECHO_N "(cached) $ECHO_C" >&6
4742
4305
else
4789
4352
fi
4790
4353
 
4791
4354
SED=$lt_cv_path_SED
4792
 
{ echo "$as_me:$LINENO: result: $SED" >&5
4793
 
echo "${ECHO_T}$SED" >&6; }
4794
 
 
4795
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4796
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4797
 
if test "${ac_cv_path_GREP+set}" = set; then
4798
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4799
 
else
4800
 
  # Extract the first word of "grep ggrep" to use in msg output
4801
 
if test -z "$GREP"; then
4802
 
set dummy grep ggrep; ac_prog_name=$2
4803
 
if test "${ac_cv_path_GREP+set}" = set; then
4804
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4805
 
else
4806
 
  ac_path_GREP_found=false
4807
 
# Loop through the user's path and test for each of PROGNAME-LIST
4808
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4809
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4810
 
do
4811
 
  IFS=$as_save_IFS
4812
 
  test -z "$as_dir" && as_dir=.
4813
 
  for ac_prog in grep ggrep; do
4814
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4815
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4816
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4817
 
    # Check for GNU ac_path_GREP and select it if it is found.
4818
 
  # Check for GNU $ac_path_GREP
4819
 
case `"$ac_path_GREP" --version 2>&1` in
4820
 
*GNU*)
4821
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4822
 
*)
4823
 
  ac_count=0
4824
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4825
 
  while :
4826
 
  do
4827
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4828
 
    mv "conftest.tmp" "conftest.in"
4829
 
    cp "conftest.in" "conftest.nl"
4830
 
    echo 'GREP' >> "conftest.nl"
4831
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4832
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4833
 
    ac_count=`expr $ac_count + 1`
4834
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4835
 
      # Best one so far, save it but keep looking for a better one
4836
 
      ac_cv_path_GREP="$ac_path_GREP"
4837
 
      ac_path_GREP_max=$ac_count
4838
 
    fi
4839
 
    # 10*(2^10) chars as input seems more than enough
4840
 
    test $ac_count -gt 10 && break
4841
 
  done
4842
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4843
 
esac
4844
 
 
4845
 
 
4846
 
    $ac_path_GREP_found && break 3
4847
 
  done
4848
 
done
4849
 
 
4850
 
done
4851
 
IFS=$as_save_IFS
4852
 
 
4853
 
 
4854
 
fi
4855
 
 
4856
 
GREP="$ac_cv_path_GREP"
4857
 
if test -z "$GREP"; then
4858
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4859
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4860
 
   { (exit 1); exit 1; }; }
4861
 
fi
4862
 
 
4863
 
else
4864
 
  ac_cv_path_GREP=$GREP
4865
 
fi
4866
 
 
4867
 
 
4868
 
fi
4869
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4870
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4871
 
 GREP="$ac_cv_path_GREP"
4872
 
 
4873
 
 
4874
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
4875
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4876
 
if test "${ac_cv_path_EGREP+set}" = set; then
4877
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4878
 
else
4879
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4880
 
   then ac_cv_path_EGREP="$GREP -E"
4881
 
   else
4882
 
     # Extract the first word of "egrep" to use in msg output
4883
 
if test -z "$EGREP"; then
4884
 
set dummy egrep; ac_prog_name=$2
4885
 
if test "${ac_cv_path_EGREP+set}" = set; then
4886
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4887
 
else
4888
 
  ac_path_EGREP_found=false
4889
 
# Loop through the user's path and test for each of PROGNAME-LIST
4890
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4891
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4892
 
do
4893
 
  IFS=$as_save_IFS
4894
 
  test -z "$as_dir" && as_dir=.
4895
 
  for ac_prog in egrep; do
4896
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4897
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4898
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4899
 
    # Check for GNU ac_path_EGREP and select it if it is found.
4900
 
  # Check for GNU $ac_path_EGREP
4901
 
case `"$ac_path_EGREP" --version 2>&1` in
4902
 
*GNU*)
4903
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4904
 
*)
4905
 
  ac_count=0
4906
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4907
 
  while :
4908
 
  do
4909
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4910
 
    mv "conftest.tmp" "conftest.in"
4911
 
    cp "conftest.in" "conftest.nl"
4912
 
    echo 'EGREP' >> "conftest.nl"
4913
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4914
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4915
 
    ac_count=`expr $ac_count + 1`
4916
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4917
 
      # Best one so far, save it but keep looking for a better one
4918
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4919
 
      ac_path_EGREP_max=$ac_count
4920
 
    fi
4921
 
    # 10*(2^10) chars as input seems more than enough
4922
 
    test $ac_count -gt 10 && break
4923
 
  done
4924
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4925
 
esac
4926
 
 
4927
 
 
4928
 
    $ac_path_EGREP_found && break 3
4929
 
  done
4930
 
done
4931
 
 
4932
 
done
4933
 
IFS=$as_save_IFS
4934
 
 
4935
 
 
4936
 
fi
4937
 
 
4938
 
EGREP="$ac_cv_path_EGREP"
4939
 
if test -z "$EGREP"; then
4940
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4941
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4942
 
   { (exit 1); exit 1; }; }
4943
 
fi
4944
 
 
4945
 
else
4946
 
  ac_cv_path_EGREP=$EGREP
4947
 
fi
4948
 
 
4949
 
 
4950
 
   fi
4951
 
fi
4952
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4953
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4954
 
 EGREP="$ac_cv_path_EGREP"
4955
 
 
4956
 
 
4957
 
 
4958
 
# Check whether --with-gnu-ld was given.
 
4355
echo "$as_me:$LINENO: result: $SED" >&5
 
4356
echo "${ECHO_T}$SED" >&6
 
4357
 
 
4358
echo "$as_me:$LINENO: checking for egrep" >&5
 
4359
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
 
4360
if test "${ac_cv_prog_egrep+set}" = set; then
 
4361
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4362
else
 
4363
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
 
4364
    then ac_cv_prog_egrep='grep -E'
 
4365
    else ac_cv_prog_egrep='egrep'
 
4366
    fi
 
4367
fi
 
4368
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
 
4369
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 
4370
 EGREP=$ac_cv_prog_egrep
 
4371
 
 
4372
 
 
4373
 
 
4374
# Check whether --with-gnu-ld or --without-gnu-ld was given.
4959
4375
if test "${with_gnu_ld+set}" = set; then
4960
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
4376
  withval="$with_gnu_ld"
 
4377
  test "$withval" = no || with_gnu_ld=yes
4961
4378
else
4962
4379
  with_gnu_ld=no
4963
 
fi
4964
 
 
 
4380
fi;
4965
4381
ac_prog=ld
4966
4382
if test "$GCC" = yes; then
4967
4383
  # Check if gcc -print-prog-name=ld gives a path.
4968
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4969
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
4384
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4385
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4970
4386
  case $host in
4971
4387
  *-*-mingw*)
4972
4388
    # gcc leaves a trailing carriage return which upsets mingw
4995
4411
    ;;
4996
4412
  esac
4997
4413
elif test "$with_gnu_ld" = yes; then
4998
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
4999
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
4414
  echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4415
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5000
4416
else
5001
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5002
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
4417
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4418
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5003
4419
fi
5004
4420
if test "${lt_cv_path_LD+set}" = set; then
5005
4421
  echo $ECHO_N "(cached) $ECHO_C" >&6
5032
4448
 
5033
4449
LD="$lt_cv_path_LD"
5034
4450
if test -n "$LD"; then
5035
 
  { echo "$as_me:$LINENO: result: $LD" >&5
5036
 
echo "${ECHO_T}$LD" >&6; }
 
4451
  echo "$as_me:$LINENO: result: $LD" >&5
 
4452
echo "${ECHO_T}$LD" >&6
5037
4453
else
5038
 
  { echo "$as_me:$LINENO: result: no" >&5
5039
 
echo "${ECHO_T}no" >&6; }
 
4454
  echo "$as_me:$LINENO: result: no" >&5
 
4455
echo "${ECHO_T}no" >&6
5040
4456
fi
5041
4457
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5042
4458
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5043
4459
   { (exit 1); exit 1; }; }
5044
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5045
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
 
4460
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4461
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5046
4462
if test "${lt_cv_prog_gnu_ld+set}" = set; then
5047
4463
  echo $ECHO_N "(cached) $ECHO_C" >&6
5048
4464
else
5056
4472
  ;;
5057
4473
esac
5058
4474
fi
5059
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5060
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
4475
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4476
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5061
4477
with_gnu_ld=$lt_cv_prog_gnu_ld
5062
4478
 
5063
4479
 
5064
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5065
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
 
4480
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4481
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5066
4482
if test "${lt_cv_ld_reload_flag+set}" = set; then
5067
4483
  echo $ECHO_N "(cached) $ECHO_C" >&6
5068
4484
else
5069
4485
  lt_cv_ld_reload_flag='-r'
5070
4486
fi
5071
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5072
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
 
4487
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
4488
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5073
4489
reload_flag=$lt_cv_ld_reload_flag
5074
4490
case $reload_flag in
5075
4491
"" | " "*) ;;
5086
4502
    ;;
5087
4503
esac
5088
4504
 
5089
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5090
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
 
4505
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
4506
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5091
4507
if test "${lt_cv_path_NM+set}" = set; then
5092
4508
  echo $ECHO_N "(cached) $ECHO_C" >&6
5093
4509
else
5135
4551
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
5136
4552
fi
5137
4553
fi
5138
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5139
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
 
4554
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4555
echo "${ECHO_T}$lt_cv_path_NM" >&6
5140
4556
NM="$lt_cv_path_NM"
5141
4557
 
5142
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
5143
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 
4558
echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4559
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5144
4560
LN_S=$as_ln_s
5145
4561
if test "$LN_S" = "ln -s"; then
5146
 
  { echo "$as_me:$LINENO: result: yes" >&5
5147
 
echo "${ECHO_T}yes" >&6; }
 
4562
  echo "$as_me:$LINENO: result: yes" >&5
 
4563
echo "${ECHO_T}yes" >&6
5148
4564
else
5149
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5150
 
echo "${ECHO_T}no, using $LN_S" >&6; }
 
4565
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4566
echo "${ECHO_T}no, using $LN_S" >&6
5151
4567
fi
5152
4568
 
5153
 
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
5154
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
 
4569
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
 
4570
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
5155
4571
if test "${lt_cv_deplibs_check_method+set}" = set; then
5156
4572
  echo $ECHO_N "(cached) $ECHO_C" >&6
5157
4573
else
5201
4617
  lt_cv_deplibs_check_method=pass_all
5202
4618
  ;;
5203
4619
 
5204
 
freebsd* | dragonfly*)
 
4620
freebsd* | kfreebsd*-gnu | dragonfly*)
5205
4621
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5206
4622
    case $host_cpu in
5207
4623
    i*86 )
5255
4671
  ;;
5256
4672
 
5257
4673
# This must be Linux ELF.
5258
 
linux* | k*bsd*-gnu)
 
4674
linux*)
5259
4675
  lt_cv_deplibs_check_method=pass_all
5260
4676
  ;;
5261
4677
 
5262
 
netbsd* | netbsdelf*-gnu)
 
4678
netbsd*)
5263
4679
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5264
4680
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5265
4681
  else
5326
4742
esac
5327
4743
 
5328
4744
fi
5329
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5330
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
 
4745
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
4746
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5331
4747
file_magic_cmd=$lt_cv_file_magic_cmd
5332
4748
deplibs_check_method=$lt_cv_deplibs_check_method
5333
4749
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5344
4760
# Allow CC to be a program name with arguments.
5345
4761
compiler=$CC
5346
4762
 
5347
 
# Check whether --enable-libtool-lock was given.
 
4763
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5348
4764
if test "${enable_libtool_lock+set}" = set; then
5349
 
  enableval=$enable_libtool_lock;
5350
 
fi
 
4765
  enableval="$enable_libtool_lock"
5351
4766
 
 
4767
fi;
5352
4768
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5353
4769
 
5354
4770
# Some flags need to be propagated to the compiler or linker for good
5375
4791
  ;;
5376
4792
*-*-irix6*)
5377
4793
  # Find out which ABI we are using.
5378
 
  echo '#line 5378 "configure"' > conftest.$ac_ext
 
4794
  echo '#line 4794 "configure"' > conftest.$ac_ext
5379
4795
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5380
4796
  (eval $ac_compile) 2>&5
5381
4797
  ac_status=$?
5460
4876
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5461
4877
  SAVE_CFLAGS="$CFLAGS"
5462
4878
  CFLAGS="$CFLAGS -belf"
5463
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5464
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
 
4879
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
4880
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5465
4881
if test "${lt_cv_cc_needs_belf+set}" = set; then
5466
4882
  echo $ECHO_N "(cached) $ECHO_C" >&6
5467
4883
else
5487
4903
}
5488
4904
_ACEOF
5489
4905
rm -f conftest.$ac_objext conftest$ac_exeext
5490
 
if { (ac_try="$ac_link"
5491
 
case "(($ac_try" in
5492
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5493
 
  *) ac_try_echo=$ac_try;;
5494
 
esac
5495
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5496
 
  (eval "$ac_link") 2>conftest.er1
 
4906
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
4907
  (eval $ac_link) 2>conftest.er1
5497
4908
  ac_status=$?
5498
4909
  grep -v '^ *+' conftest.er1 >conftest.err
5499
4910
  rm -f conftest.er1
5500
4911
  cat conftest.err >&5
5501
4912
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5502
 
  (exit $ac_status); } && {
5503
 
         test -z "$ac_c_werror_flag" ||
5504
 
         test ! -s conftest.err
5505
 
       } && test -s conftest$ac_exeext &&
5506
 
       $as_test_x conftest$ac_exeext; then
 
4913
  (exit $ac_status); } &&
 
4914
         { ac_try='test -z "$ac_c_werror_flag"
 
4915
                         || test ! -s conftest.err'
 
4916
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4917
  (eval $ac_try) 2>&5
 
4918
  ac_status=$?
 
4919
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4920
  (exit $ac_status); }; } &&
 
4921
         { ac_try='test -s conftest$ac_exeext'
 
4922
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4923
  (eval $ac_try) 2>&5
 
4924
  ac_status=$?
 
4925
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4926
  (exit $ac_status); }; }; then
5507
4927
  lt_cv_cc_needs_belf=yes
5508
4928
else
5509
4929
  echo "$as_me: failed program was:" >&5
5510
4930
sed 's/^/| /' conftest.$ac_ext >&5
5511
4931
 
5512
 
        lt_cv_cc_needs_belf=no
 
4932
lt_cv_cc_needs_belf=no
5513
4933
fi
5514
 
 
5515
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
4934
rm -f conftest.err conftest.$ac_objext \
5516
4935
      conftest$ac_exeext conftest.$ac_ext
5517
4936
     ac_ext=c
5518
4937
ac_cpp='$CPP $CPPFLAGS'
5521
4940
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5522
4941
 
5523
4942
fi
5524
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5525
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
 
4943
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
4944
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5526
4945
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5527
4946
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5528
4947
    CFLAGS="$SAVE_CFLAGS"
5552
4971
  if test -n "$ac_tool_prefix"; then
5553
4972
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5554
4973
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5555
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5556
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4974
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4975
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5557
4976
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
5558
4977
  echo $ECHO_N "(cached) $ECHO_C" >&6
5559
4978
else
5566
4985
  IFS=$as_save_IFS
5567
4986
  test -z "$as_dir" && as_dir=.
5568
4987
  for ac_exec_ext in '' $ac_executable_extensions; do
5569
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4988
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5570
4989
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5571
4990
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5572
4991
    break 2
5573
4992
  fi
5574
4993
done
5575
4994
done
5576
 
IFS=$as_save_IFS
5577
4995
 
5578
4996
fi
5579
4997
fi
5580
4998
DLLTOOL=$ac_cv_prog_DLLTOOL
5581
4999
if test -n "$DLLTOOL"; then
5582
 
  { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
5583
 
echo "${ECHO_T}$DLLTOOL" >&6; }
 
5000
  echo "$as_me:$LINENO: result: $DLLTOOL" >&5
 
5001
echo "${ECHO_T}$DLLTOOL" >&6
5584
5002
else
5585
 
  { echo "$as_me:$LINENO: result: no" >&5
5586
 
echo "${ECHO_T}no" >&6; }
 
5003
  echo "$as_me:$LINENO: result: no" >&5
 
5004
echo "${ECHO_T}no" >&6
5587
5005
fi
5588
 
 
5589
5006
 
5590
5007
fi
5591
5008
if test -z "$ac_cv_prog_DLLTOOL"; then
5592
5009
  ac_ct_DLLTOOL=$DLLTOOL
5593
5010
  # Extract the first word of "dlltool", so it can be a program name with args.
5594
5011
set dummy dlltool; ac_word=$2
5595
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5596
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5012
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5013
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5597
5014
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
5598
5015
  echo $ECHO_N "(cached) $ECHO_C" >&6
5599
5016
else
5606
5023
  IFS=$as_save_IFS
5607
5024
  test -z "$as_dir" && as_dir=.
5608
5025
  for ac_exec_ext in '' $ac_executable_extensions; do
5609
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5026
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5610
5027
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5611
5028
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5612
5029
    break 2
5613
5030
  fi
5614
5031
done
5615
5032
done
5616
 
IFS=$as_save_IFS
5617
5033
 
 
5034
  test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
5618
5035
fi
5619
5036
fi
5620
5037
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5621
5038
if test -n "$ac_ct_DLLTOOL"; then
5622
 
  { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
5623
 
echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
 
5039
  echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
 
5040
echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
5624
5041
else
5625
 
  { echo "$as_me:$LINENO: result: no" >&5
5626
 
echo "${ECHO_T}no" >&6; }
 
5042
  echo "$as_me:$LINENO: result: no" >&5
 
5043
echo "${ECHO_T}no" >&6
5627
5044
fi
5628
5045
 
5629
 
  if test "x$ac_ct_DLLTOOL" = x; then
5630
 
    DLLTOOL="false"
5631
 
  else
5632
 
    case $cross_compiling:$ac_tool_warned in
5633
 
yes:)
5634
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5635
 
whose name does not start with the host triplet.  If you think this
5636
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5637
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5638
 
whose name does not start with the host triplet.  If you think this
5639
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5640
 
ac_tool_warned=yes ;;
5641
 
esac
5642
 
    DLLTOOL=$ac_ct_DLLTOOL
5643
 
  fi
 
5046
  DLLTOOL=$ac_ct_DLLTOOL
5644
5047
else
5645
5048
  DLLTOOL="$ac_cv_prog_DLLTOOL"
5646
5049
fi
5648
5051
  if test -n "$ac_tool_prefix"; then
5649
5052
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5650
5053
set dummy ${ac_tool_prefix}as; ac_word=$2
5651
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5652
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5054
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5055
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5653
5056
if test "${ac_cv_prog_AS+set}" = set; then
5654
5057
  echo $ECHO_N "(cached) $ECHO_C" >&6
5655
5058
else
5662
5065
  IFS=$as_save_IFS
5663
5066
  test -z "$as_dir" && as_dir=.
5664
5067
  for ac_exec_ext in '' $ac_executable_extensions; do
5665
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5068
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5666
5069
    ac_cv_prog_AS="${ac_tool_prefix}as"
5667
5070
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5668
5071
    break 2
5669
5072
  fi
5670
5073
done
5671
5074
done
5672
 
IFS=$as_save_IFS
5673
5075
 
5674
5076
fi
5675
5077
fi
5676
5078
AS=$ac_cv_prog_AS
5677
5079
if test -n "$AS"; then
5678
 
  { echo "$as_me:$LINENO: result: $AS" >&5
5679
 
echo "${ECHO_T}$AS" >&6; }
 
5080
  echo "$as_me:$LINENO: result: $AS" >&5
 
5081
echo "${ECHO_T}$AS" >&6
5680
5082
else
5681
 
  { echo "$as_me:$LINENO: result: no" >&5
5682
 
echo "${ECHO_T}no" >&6; }
 
5083
  echo "$as_me:$LINENO: result: no" >&5
 
5084
echo "${ECHO_T}no" >&6
5683
5085
fi
5684
 
 
5685
5086
 
5686
5087
fi
5687
5088
if test -z "$ac_cv_prog_AS"; then
5688
5089
  ac_ct_AS=$AS
5689
5090
  # Extract the first word of "as", so it can be a program name with args.
5690
5091
set dummy as; ac_word=$2
5691
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5692
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5092
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5093
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5693
5094
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5694
5095
  echo $ECHO_N "(cached) $ECHO_C" >&6
5695
5096
else
5702
5103
  IFS=$as_save_IFS
5703
5104
  test -z "$as_dir" && as_dir=.
5704
5105
  for ac_exec_ext in '' $ac_executable_extensions; do
5705
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5106
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5706
5107
    ac_cv_prog_ac_ct_AS="as"
5707
5108
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5708
5109
    break 2
5709
5110
  fi
5710
5111
done
5711
5112
done
5712
 
IFS=$as_save_IFS
5713
5113
 
 
5114
  test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
5714
5115
fi
5715
5116
fi
5716
5117
ac_ct_AS=$ac_cv_prog_ac_ct_AS
5717
5118
if test -n "$ac_ct_AS"; then
5718
 
  { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5719
 
echo "${ECHO_T}$ac_ct_AS" >&6; }
 
5119
  echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
 
5120
echo "${ECHO_T}$ac_ct_AS" >&6
5720
5121
else
5721
 
  { echo "$as_me:$LINENO: result: no" >&5
5722
 
echo "${ECHO_T}no" >&6; }
 
5122
  echo "$as_me:$LINENO: result: no" >&5
 
5123
echo "${ECHO_T}no" >&6
5723
5124
fi
5724
5125
 
5725
 
  if test "x$ac_ct_AS" = x; then
5726
 
    AS="false"
5727
 
  else
5728
 
    case $cross_compiling:$ac_tool_warned in
5729
 
yes:)
5730
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5731
 
whose name does not start with the host triplet.  If you think this
5732
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5733
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5734
 
whose name does not start with the host triplet.  If you think this
5735
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5736
 
ac_tool_warned=yes ;;
5737
 
esac
5738
 
    AS=$ac_ct_AS
5739
 
  fi
 
5126
  AS=$ac_ct_AS
5740
5127
else
5741
5128
  AS="$ac_cv_prog_AS"
5742
5129
fi
5744
5131
  if test -n "$ac_tool_prefix"; then
5745
5132
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5746
5133
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5747
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5748
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5134
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5135
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5749
5136
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5750
5137
  echo $ECHO_N "(cached) $ECHO_C" >&6
5751
5138
else
5758
5145
  IFS=$as_save_IFS
5759
5146
  test -z "$as_dir" && as_dir=.
5760
5147
  for ac_exec_ext in '' $ac_executable_extensions; do
5761
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5148
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5762
5149
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5763
5150
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5764
5151
    break 2
5765
5152
  fi
5766
5153
done
5767
5154
done
5768
 
IFS=$as_save_IFS
5769
5155
 
5770
5156
fi
5771
5157
fi
5772
5158
OBJDUMP=$ac_cv_prog_OBJDUMP
5773
5159
if test -n "$OBJDUMP"; then
5774
 
  { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5775
 
echo "${ECHO_T}$OBJDUMP" >&6; }
 
5160
  echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
5161
echo "${ECHO_T}$OBJDUMP" >&6
5776
5162
else
5777
 
  { echo "$as_me:$LINENO: result: no" >&5
5778
 
echo "${ECHO_T}no" >&6; }
 
5163
  echo "$as_me:$LINENO: result: no" >&5
 
5164
echo "${ECHO_T}no" >&6
5779
5165
fi
5780
 
 
5781
5166
 
5782
5167
fi
5783
5168
if test -z "$ac_cv_prog_OBJDUMP"; then
5784
5169
  ac_ct_OBJDUMP=$OBJDUMP
5785
5170
  # Extract the first word of "objdump", so it can be a program name with args.
5786
5171
set dummy objdump; ac_word=$2
5787
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5788
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5172
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5173
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5789
5174
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5790
5175
  echo $ECHO_N "(cached) $ECHO_C" >&6
5791
5176
else
5798
5183
  IFS=$as_save_IFS
5799
5184
  test -z "$as_dir" && as_dir=.
5800
5185
  for ac_exec_ext in '' $ac_executable_extensions; do
5801
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5186
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5802
5187
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5803
5188
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5804
5189
    break 2
5805
5190
  fi
5806
5191
done
5807
5192
done
5808
 
IFS=$as_save_IFS
5809
5193
 
 
5194
  test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
5810
5195
fi
5811
5196
fi
5812
5197
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5813
5198
if test -n "$ac_ct_OBJDUMP"; then
5814
 
  { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5815
 
echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
 
5199
  echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
5200
echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
5816
5201
else
5817
 
  { echo "$as_me:$LINENO: result: no" >&5
5818
 
echo "${ECHO_T}no" >&6; }
 
5202
  echo "$as_me:$LINENO: result: no" >&5
 
5203
echo "${ECHO_T}no" >&6
5819
5204
fi
5820
5205
 
5821
 
  if test "x$ac_ct_OBJDUMP" = x; then
5822
 
    OBJDUMP="false"
5823
 
  else
5824
 
    case $cross_compiling:$ac_tool_warned in
5825
 
yes:)
5826
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5827
 
whose name does not start with the host triplet.  If you think this
5828
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5829
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5830
 
whose name does not start with the host triplet.  If you think this
5831
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5832
 
ac_tool_warned=yes ;;
5833
 
esac
5834
 
    OBJDUMP=$ac_ct_OBJDUMP
5835
 
  fi
 
5206
  OBJDUMP=$ac_ct_OBJDUMP
5836
5207
else
5837
5208
  OBJDUMP="$ac_cv_prog_OBJDUMP"
5838
5209
fi
5849
5220
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5850
5221
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5851
5222
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5852
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5853
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 
5223
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
5224
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5854
5225
# On Suns, sometimes $CPP names a directory.
5855
5226
if test -n "$CPP" && test -d "$CPP"; then
5856
5227
  CPP=
5884
5255
#endif
5885
5256
                     Syntax error
5886
5257
_ACEOF
5887
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5888
 
case "(($ac_try" in
5889
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5890
 
  *) ac_try_echo=$ac_try;;
5891
 
esac
5892
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5893
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
5258
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
5259
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5894
5260
  ac_status=$?
5895
5261
  grep -v '^ *+' conftest.er1 >conftest.err
5896
5262
  rm -f conftest.er1
5897
5263
  cat conftest.err >&5
5898
5264
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5899
 
  (exit $ac_status); } >/dev/null && {
5900
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5901
 
         test ! -s conftest.err
5902
 
       }; then
 
5265
  (exit $ac_status); } >/dev/null; then
 
5266
  if test -s conftest.err; then
 
5267
    ac_cpp_err=$ac_c_preproc_warn_flag
 
5268
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
5269
  else
 
5270
    ac_cpp_err=
 
5271
  fi
 
5272
else
 
5273
  ac_cpp_err=yes
 
5274
fi
 
5275
if test -z "$ac_cpp_err"; then
5903
5276
  :
5904
5277
else
5905
5278
  echo "$as_me: failed program was:" >&5
5908
5281
  # Broken: fails on valid input.
5909
5282
continue
5910
5283
fi
5911
 
 
5912
5284
rm -f conftest.err conftest.$ac_ext
5913
5285
 
5914
 
  # OK, works on sane cases.  Now check whether nonexistent headers
 
5286
  # OK, works on sane cases.  Now check whether non-existent headers
5915
5287
  # can be detected and how.
5916
5288
  cat >conftest.$ac_ext <<_ACEOF
5917
5289
/* confdefs.h.  */
5921
5293
/* end confdefs.h.  */
5922
5294
#include <ac_nonexistent.h>
5923
5295
_ACEOF
5924
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5925
 
case "(($ac_try" in
5926
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5927
 
  *) ac_try_echo=$ac_try;;
5928
 
esac
5929
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5930
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
5296
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
5297
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5931
5298
  ac_status=$?
5932
5299
  grep -v '^ *+' conftest.er1 >conftest.err
5933
5300
  rm -f conftest.er1
5934
5301
  cat conftest.err >&5
5935
5302
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5936
 
  (exit $ac_status); } >/dev/null && {
5937
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5938
 
         test ! -s conftest.err
5939
 
       }; then
 
5303
  (exit $ac_status); } >/dev/null; then
 
5304
  if test -s conftest.err; then
 
5305
    ac_cpp_err=$ac_c_preproc_warn_flag
 
5306
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
5307
  else
 
5308
    ac_cpp_err=
 
5309
  fi
 
5310
else
 
5311
  ac_cpp_err=yes
 
5312
fi
 
5313
if test -z "$ac_cpp_err"; then
5940
5314
  # Broken: success on invalid input.
5941
5315
continue
5942
5316
else
5947
5321
ac_preproc_ok=:
5948
5322
break
5949
5323
fi
5950
 
 
5951
5324
rm -f conftest.err conftest.$ac_ext
5952
5325
 
5953
5326
done
5965
5338
else
5966
5339
  ac_cv_prog_CPP=$CPP
5967
5340
fi
5968
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
5969
 
echo "${ECHO_T}$CPP" >&6; }
 
5341
echo "$as_me:$LINENO: result: $CPP" >&5
 
5342
echo "${ECHO_T}$CPP" >&6
5970
5343
ac_preproc_ok=false
5971
5344
for ac_c_preproc_warn_flag in '' yes
5972
5345
do
5989
5362
#endif
5990
5363
                     Syntax error
5991
5364
_ACEOF
5992
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5993
 
case "(($ac_try" in
5994
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5995
 
  *) ac_try_echo=$ac_try;;
5996
 
esac
5997
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5998
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
5365
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
5366
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5999
5367
  ac_status=$?
6000
5368
  grep -v '^ *+' conftest.er1 >conftest.err
6001
5369
  rm -f conftest.er1
6002
5370
  cat conftest.err >&5
6003
5371
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6004
 
  (exit $ac_status); } >/dev/null && {
6005
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6006
 
         test ! -s conftest.err
6007
 
       }; then
 
5372
  (exit $ac_status); } >/dev/null; then
 
5373
  if test -s conftest.err; then
 
5374
    ac_cpp_err=$ac_c_preproc_warn_flag
 
5375
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
5376
  else
 
5377
    ac_cpp_err=
 
5378
  fi
 
5379
else
 
5380
  ac_cpp_err=yes
 
5381
fi
 
5382
if test -z "$ac_cpp_err"; then
6008
5383
  :
6009
5384
else
6010
5385
  echo "$as_me: failed program was:" >&5
6013
5388
  # Broken: fails on valid input.
6014
5389
continue
6015
5390
fi
6016
 
 
6017
5391
rm -f conftest.err conftest.$ac_ext
6018
5392
 
6019
 
  # OK, works on sane cases.  Now check whether nonexistent headers
 
5393
  # OK, works on sane cases.  Now check whether non-existent headers
6020
5394
  # can be detected and how.
6021
5395
  cat >conftest.$ac_ext <<_ACEOF
6022
5396
/* confdefs.h.  */
6026
5400
/* end confdefs.h.  */
6027
5401
#include <ac_nonexistent.h>
6028
5402
_ACEOF
6029
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6030
 
case "(($ac_try" in
6031
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6032
 
  *) ac_try_echo=$ac_try;;
6033
 
esac
6034
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6035
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
5403
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
5404
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6036
5405
  ac_status=$?
6037
5406
  grep -v '^ *+' conftest.er1 >conftest.err
6038
5407
  rm -f conftest.er1
6039
5408
  cat conftest.err >&5
6040
5409
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6041
 
  (exit $ac_status); } >/dev/null && {
6042
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6043
 
         test ! -s conftest.err
6044
 
       }; then
 
5410
  (exit $ac_status); } >/dev/null; then
 
5411
  if test -s conftest.err; then
 
5412
    ac_cpp_err=$ac_c_preproc_warn_flag
 
5413
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
5414
  else
 
5415
    ac_cpp_err=
 
5416
  fi
 
5417
else
 
5418
  ac_cpp_err=yes
 
5419
fi
 
5420
if test -z "$ac_cpp_err"; then
6045
5421
  # Broken: success on invalid input.
6046
5422
continue
6047
5423
else
6052
5428
ac_preproc_ok=:
6053
5429
break
6054
5430
fi
6055
 
 
6056
5431
rm -f conftest.err conftest.$ac_ext
6057
5432
 
6058
5433
done
6075
5450
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6076
5451
 
6077
5452
 
6078
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6079
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
5453
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
5454
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6080
5455
if test "${ac_cv_header_stdc+set}" = set; then
6081
5456
  echo $ECHO_N "(cached) $ECHO_C" >&6
6082
5457
else
6100
5475
}
6101
5476
_ACEOF
6102
5477
rm -f conftest.$ac_objext
6103
 
if { (ac_try="$ac_compile"
6104
 
case "(($ac_try" in
6105
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6106
 
  *) ac_try_echo=$ac_try;;
6107
 
esac
6108
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6109
 
  (eval "$ac_compile") 2>conftest.er1
 
5478
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5479
  (eval $ac_compile) 2>conftest.er1
6110
5480
  ac_status=$?
6111
5481
  grep -v '^ *+' conftest.er1 >conftest.err
6112
5482
  rm -f conftest.er1
6113
5483
  cat conftest.err >&5
6114
5484
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6115
 
  (exit $ac_status); } && {
6116
 
         test -z "$ac_c_werror_flag" ||
6117
 
         test ! -s conftest.err
6118
 
       } && test -s conftest.$ac_objext; then
 
5485
  (exit $ac_status); } &&
 
5486
         { ac_try='test -z "$ac_c_werror_flag"
 
5487
                         || test ! -s conftest.err'
 
5488
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5489
  (eval $ac_try) 2>&5
 
5490
  ac_status=$?
 
5491
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5492
  (exit $ac_status); }; } &&
 
5493
         { ac_try='test -s conftest.$ac_objext'
 
5494
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5495
  (eval $ac_try) 2>&5
 
5496
  ac_status=$?
 
5497
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5498
  (exit $ac_status); }; }; then
6119
5499
  ac_cv_header_stdc=yes
6120
5500
else
6121
5501
  echo "$as_me: failed program was:" >&5
6122
5502
sed 's/^/| /' conftest.$ac_ext >&5
6123
5503
 
6124
 
        ac_cv_header_stdc=no
 
5504
ac_cv_header_stdc=no
6125
5505
fi
6126
 
 
6127
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5506
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6128
5507
 
6129
5508
if test $ac_cv_header_stdc = yes; then
6130
5509
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6180
5559
cat >>conftest.$ac_ext <<_ACEOF
6181
5560
/* end confdefs.h.  */
6182
5561
#include <ctype.h>
6183
 
#include <stdlib.h>
6184
5562
#if ((' ' & 0x0FF) == 0x020)
6185
5563
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6186
5564
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6200
5578
  for (i = 0; i < 256; i++)
6201
5579
    if (XOR (islower (i), ISLOWER (i))
6202
5580
        || toupper (i) != TOUPPER (i))
6203
 
      return 2;
6204
 
  return 0;
 
5581
      exit(2);
 
5582
  exit (0);
6205
5583
}
6206
5584
_ACEOF
6207
5585
rm -f conftest$ac_exeext
6208
 
if { (ac_try="$ac_link"
6209
 
case "(($ac_try" in
6210
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6211
 
  *) ac_try_echo=$ac_try;;
6212
 
esac
6213
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6214
 
  (eval "$ac_link") 2>&5
 
5586
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
5587
  (eval $ac_link) 2>&5
6215
5588
  ac_status=$?
6216
5589
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6217
5590
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6218
 
  { (case "(($ac_try" in
6219
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6220
 
  *) ac_try_echo=$ac_try;;
6221
 
esac
6222
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6223
 
  (eval "$ac_try") 2>&5
 
5591
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5592
  (eval $ac_try) 2>&5
6224
5593
  ac_status=$?
6225
5594
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6226
5595
  (exit $ac_status); }; }; then
6233
5602
( exit $ac_status )
6234
5603
ac_cv_header_stdc=no
6235
5604
fi
6236
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6237
 
fi
6238
 
 
6239
 
 
6240
 
fi
6241
 
fi
6242
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6243
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
5605
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
5606
fi
 
5607
fi
 
5608
fi
 
5609
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
5610
echo "${ECHO_T}$ac_cv_header_stdc" >&6
6244
5611
if test $ac_cv_header_stdc = yes; then
6245
5612
 
6246
5613
cat >>confdefs.h <<\_ACEOF
6263
5630
                  inttypes.h stdint.h unistd.h
6264
5631
do
6265
5632
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6266
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6267
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6268
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5633
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5634
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
5635
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6269
5636
  echo $ECHO_N "(cached) $ECHO_C" >&6
6270
5637
else
6271
5638
  cat >conftest.$ac_ext <<_ACEOF
6279
5646
#include <$ac_header>
6280
5647
_ACEOF
6281
5648
rm -f conftest.$ac_objext
6282
 
if { (ac_try="$ac_compile"
6283
 
case "(($ac_try" in
6284
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6285
 
  *) ac_try_echo=$ac_try;;
6286
 
esac
6287
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6288
 
  (eval "$ac_compile") 2>conftest.er1
 
5649
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5650
  (eval $ac_compile) 2>conftest.er1
6289
5651
  ac_status=$?
6290
5652
  grep -v '^ *+' conftest.er1 >conftest.err
6291
5653
  rm -f conftest.er1
6292
5654
  cat conftest.err >&5
6293
5655
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6294
 
  (exit $ac_status); } && {
6295
 
         test -z "$ac_c_werror_flag" ||
6296
 
         test ! -s conftest.err
6297
 
       } && test -s conftest.$ac_objext; then
 
5656
  (exit $ac_status); } &&
 
5657
         { ac_try='test -z "$ac_c_werror_flag"
 
5658
                         || test ! -s conftest.err'
 
5659
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5660
  (eval $ac_try) 2>&5
 
5661
  ac_status=$?
 
5662
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5663
  (exit $ac_status); }; } &&
 
5664
         { ac_try='test -s conftest.$ac_objext'
 
5665
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5666
  (eval $ac_try) 2>&5
 
5667
  ac_status=$?
 
5668
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5669
  (exit $ac_status); }; }; then
6298
5670
  eval "$as_ac_Header=yes"
6299
5671
else
6300
5672
  echo "$as_me: failed program was:" >&5
6301
5673
sed 's/^/| /' conftest.$ac_ext >&5
6302
5674
 
6303
 
        eval "$as_ac_Header=no"
6304
 
fi
6305
 
 
6306
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6307
 
fi
6308
 
ac_res=`eval echo '${'$as_ac_Header'}'`
6309
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6310
 
echo "${ECHO_T}$ac_res" >&6; }
 
5675
eval "$as_ac_Header=no"
 
5676
fi
 
5677
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5678
fi
 
5679
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
5680
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6311
5681
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6312
5682
  cat >>confdefs.h <<_ACEOF
6313
5683
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6322
5692
for ac_header in dlfcn.h
6323
5693
do
6324
5694
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6325
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6326
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
6327
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6328
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5695
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5696
  echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5697
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
5698
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6329
5699
  echo $ECHO_N "(cached) $ECHO_C" >&6
6330
5700
fi
6331
 
ac_res=`eval echo '${'$as_ac_Header'}'`
6332
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6333
 
echo "${ECHO_T}$ac_res" >&6; }
 
5701
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
5702
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6334
5703
else
6335
5704
  # Is the header compilable?
6336
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6337
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
5705
echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5706
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6338
5707
cat >conftest.$ac_ext <<_ACEOF
6339
5708
/* confdefs.h.  */
6340
5709
_ACEOF
6345
5714
#include <$ac_header>
6346
5715
_ACEOF
6347
5716
rm -f conftest.$ac_objext
6348
 
if { (ac_try="$ac_compile"
6349
 
case "(($ac_try" in
6350
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6351
 
  *) ac_try_echo=$ac_try;;
6352
 
esac
6353
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6354
 
  (eval "$ac_compile") 2>conftest.er1
 
5717
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5718
  (eval $ac_compile) 2>conftest.er1
6355
5719
  ac_status=$?
6356
5720
  grep -v '^ *+' conftest.er1 >conftest.err
6357
5721
  rm -f conftest.er1
6358
5722
  cat conftest.err >&5
6359
5723
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6360
 
  (exit $ac_status); } && {
6361
 
         test -z "$ac_c_werror_flag" ||
6362
 
         test ! -s conftest.err
6363
 
       } && test -s conftest.$ac_objext; then
 
5724
  (exit $ac_status); } &&
 
5725
         { ac_try='test -z "$ac_c_werror_flag"
 
5726
                         || test ! -s conftest.err'
 
5727
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5728
  (eval $ac_try) 2>&5
 
5729
  ac_status=$?
 
5730
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5731
  (exit $ac_status); }; } &&
 
5732
         { ac_try='test -s conftest.$ac_objext'
 
5733
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5734
  (eval $ac_try) 2>&5
 
5735
  ac_status=$?
 
5736
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5737
  (exit $ac_status); }; }; then
6364
5738
  ac_header_compiler=yes
6365
5739
else
6366
5740
  echo "$as_me: failed program was:" >&5
6367
5741
sed 's/^/| /' conftest.$ac_ext >&5
6368
5742
 
6369
 
        ac_header_compiler=no
 
5743
ac_header_compiler=no
6370
5744
fi
6371
 
 
6372
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6373
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6374
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
5745
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5746
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5747
echo "${ECHO_T}$ac_header_compiler" >&6
6375
5748
 
6376
5749
# Is the header present?
6377
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6378
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
5750
echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5751
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6379
5752
cat >conftest.$ac_ext <<_ACEOF
6380
5753
/* confdefs.h.  */
6381
5754
_ACEOF
6384
5757
/* end confdefs.h.  */
6385
5758
#include <$ac_header>
6386
5759
_ACEOF
6387
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6388
 
case "(($ac_try" in
6389
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6390
 
  *) ac_try_echo=$ac_try;;
6391
 
esac
6392
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6393
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
5760
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
5761
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6394
5762
  ac_status=$?
6395
5763
  grep -v '^ *+' conftest.er1 >conftest.err
6396
5764
  rm -f conftest.er1
6397
5765
  cat conftest.err >&5
6398
5766
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6399
 
  (exit $ac_status); } >/dev/null && {
6400
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6401
 
         test ! -s conftest.err
6402
 
       }; then
 
5767
  (exit $ac_status); } >/dev/null; then
 
5768
  if test -s conftest.err; then
 
5769
    ac_cpp_err=$ac_c_preproc_warn_flag
 
5770
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
5771
  else
 
5772
    ac_cpp_err=
 
5773
  fi
 
5774
else
 
5775
  ac_cpp_err=yes
 
5776
fi
 
5777
if test -z "$ac_cpp_err"; then
6403
5778
  ac_header_preproc=yes
6404
5779
else
6405
5780
  echo "$as_me: failed program was:" >&5
6407
5782
 
6408
5783
  ac_header_preproc=no
6409
5784
fi
6410
 
 
6411
5785
rm -f conftest.err conftest.$ac_ext
6412
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6413
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
5786
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5787
echo "${ECHO_T}$ac_header_preproc" >&6
6414
5788
 
6415
5789
# So?  What about this header?
6416
5790
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6434
5808
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6435
5809
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6436
5810
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6437
 
 
 
5811
    (
 
5812
      cat <<\_ASBOX
 
5813
## ------------------------------------------ ##
 
5814
## Report this to the AC_PACKAGE_NAME lists.  ##
 
5815
## ------------------------------------------ ##
 
5816
_ASBOX
 
5817
    ) |
 
5818
      sed "s/^/$as_me: WARNING:     /" >&2
6438
5819
    ;;
6439
5820
esac
6440
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6441
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6442
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5821
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5822
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
5823
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6443
5824
  echo $ECHO_N "(cached) $ECHO_C" >&6
6444
5825
else
6445
5826
  eval "$as_ac_Header=\$ac_header_preproc"
6446
5827
fi
6447
 
ac_res=`eval echo '${'$as_ac_Header'}'`
6448
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6449
 
echo "${ECHO_T}$ac_res" >&6; }
 
5828
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
5829
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6450
5830
 
6451
5831
fi
6452
5832
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6458
5838
 
6459
5839
done
6460
5840
 
6461
 
ac_ext=cpp
 
5841
ac_ext=cc
6462
5842
ac_cpp='$CXXCPP $CPPFLAGS'
6463
5843
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6464
5844
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6465
5845
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6466
 
if test -z "$CXX"; then
6467
 
  if test -n "$CCC"; then
6468
 
    CXX=$CCC
6469
 
  else
6470
 
    if test -n "$ac_tool_prefix"; then
6471
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
5846
if test -n "$ac_tool_prefix"; then
 
5847
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6472
5848
  do
6473
5849
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6474
5850
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6475
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6476
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5851
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5852
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6477
5853
if test "${ac_cv_prog_CXX+set}" = set; then
6478
5854
  echo $ECHO_N "(cached) $ECHO_C" >&6
6479
5855
else
6486
5862
  IFS=$as_save_IFS
6487
5863
  test -z "$as_dir" && as_dir=.
6488
5864
  for ac_exec_ext in '' $ac_executable_extensions; do
6489
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5865
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6490
5866
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6491
5867
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6492
5868
    break 2
6493
5869
  fi
6494
5870
done
6495
5871
done
6496
 
IFS=$as_save_IFS
6497
5872
 
6498
5873
fi
6499
5874
fi
6500
5875
CXX=$ac_cv_prog_CXX
6501
5876
if test -n "$CXX"; then
6502
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
6503
 
echo "${ECHO_T}$CXX" >&6; }
 
5877
  echo "$as_me:$LINENO: result: $CXX" >&5
 
5878
echo "${ECHO_T}$CXX" >&6
6504
5879
else
6505
 
  { echo "$as_me:$LINENO: result: no" >&5
6506
 
echo "${ECHO_T}no" >&6; }
 
5880
  echo "$as_me:$LINENO: result: no" >&5
 
5881
echo "${ECHO_T}no" >&6
6507
5882
fi
6508
5883
 
6509
 
 
6510
5884
    test -n "$CXX" && break
6511
5885
  done
6512
5886
fi
6513
5887
if test -z "$CXX"; then
6514
5888
  ac_ct_CXX=$CXX
6515
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
5889
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6516
5890
do
6517
5891
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6518
5892
set dummy $ac_prog; ac_word=$2
6519
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6520
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5893
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5894
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6521
5895
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6522
5896
  echo $ECHO_N "(cached) $ECHO_C" >&6
6523
5897
else
6530
5904
  IFS=$as_save_IFS
6531
5905
  test -z "$as_dir" && as_dir=.
6532
5906
  for ac_exec_ext in '' $ac_executable_extensions; do
6533
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5907
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6534
5908
    ac_cv_prog_ac_ct_CXX="$ac_prog"
6535
5909
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6536
5910
    break 2
6537
5911
  fi
6538
5912
done
6539
5913
done
6540
 
IFS=$as_save_IFS
6541
5914
 
6542
5915
fi
6543
5916
fi
6544
5917
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6545
5918
if test -n "$ac_ct_CXX"; then
6546
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6547
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
 
5919
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
5920
echo "${ECHO_T}$ac_ct_CXX" >&6
6548
5921
else
6549
 
  { echo "$as_me:$LINENO: result: no" >&5
6550
 
echo "${ECHO_T}no" >&6; }
 
5922
  echo "$as_me:$LINENO: result: no" >&5
 
5923
echo "${ECHO_T}no" >&6
6551
5924
fi
6552
5925
 
6553
 
 
6554
5926
  test -n "$ac_ct_CXX" && break
6555
5927
done
6556
 
 
6557
 
  if test "x$ac_ct_CXX" = x; then
6558
 
    CXX="g++"
6559
 
  else
6560
 
    case $cross_compiling:$ac_tool_warned in
6561
 
yes:)
6562
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6563
 
whose name does not start with the host triplet.  If you think this
6564
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6565
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6566
 
whose name does not start with the host triplet.  If you think this
6567
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6568
 
ac_tool_warned=yes ;;
6569
 
esac
6570
 
    CXX=$ac_ct_CXX
6571
 
  fi
6572
 
fi
6573
 
 
6574
 
  fi
6575
 
fi
 
5928
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
 
5929
 
 
5930
  CXX=$ac_ct_CXX
 
5931
fi
 
5932
 
 
5933
 
6576
5934
# Provide some information about the compiler.
6577
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 
5935
echo "$as_me:$LINENO:" \
 
5936
     "checking for C++ compiler version" >&5
6578
5937
ac_compiler=`set X $ac_compile; echo $2`
6579
 
{ (ac_try="$ac_compiler --version >&5"
6580
 
case "(($ac_try" in
6581
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6582
 
  *) ac_try_echo=$ac_try;;
6583
 
esac
6584
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6585
 
  (eval "$ac_compiler --version >&5") 2>&5
6586
 
  ac_status=$?
6587
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6588
 
  (exit $ac_status); }
6589
 
{ (ac_try="$ac_compiler -v >&5"
6590
 
case "(($ac_try" in
6591
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6592
 
  *) ac_try_echo=$ac_try;;
6593
 
esac
6594
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6595
 
  (eval "$ac_compiler -v >&5") 2>&5
6596
 
  ac_status=$?
6597
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6598
 
  (exit $ac_status); }
6599
 
{ (ac_try="$ac_compiler -V >&5"
6600
 
case "(($ac_try" in
6601
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6602
 
  *) ac_try_echo=$ac_try;;
6603
 
esac
6604
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6605
 
  (eval "$ac_compiler -V >&5") 2>&5
 
5938
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 
5939
  (eval $ac_compiler --version </dev/null >&5) 2>&5
 
5940
  ac_status=$?
 
5941
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5942
  (exit $ac_status); }
 
5943
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 
5944
  (eval $ac_compiler -v </dev/null >&5) 2>&5
 
5945
  ac_status=$?
 
5946
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5947
  (exit $ac_status); }
 
5948
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 
5949
  (eval $ac_compiler -V </dev/null >&5) 2>&5
6606
5950
  ac_status=$?
6607
5951
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6608
5952
  (exit $ac_status); }
6609
5953
 
6610
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6611
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
 
5954
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
5955
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6612
5956
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6613
5957
  echo $ECHO_N "(cached) $ECHO_C" >&6
6614
5958
else
6631
5975
}
6632
5976
_ACEOF
6633
5977
rm -f conftest.$ac_objext
6634
 
if { (ac_try="$ac_compile"
6635
 
case "(($ac_try" in
6636
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6637
 
  *) ac_try_echo=$ac_try;;
6638
 
esac
6639
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6640
 
  (eval "$ac_compile") 2>conftest.er1
 
5978
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5979
  (eval $ac_compile) 2>conftest.er1
6641
5980
  ac_status=$?
6642
5981
  grep -v '^ *+' conftest.er1 >conftest.err
6643
5982
  rm -f conftest.er1
6644
5983
  cat conftest.err >&5
6645
5984
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6646
 
  (exit $ac_status); } && {
6647
 
         test -z "$ac_cxx_werror_flag" ||
6648
 
         test ! -s conftest.err
6649
 
       } && test -s conftest.$ac_objext; then
 
5985
  (exit $ac_status); } &&
 
5986
         { ac_try='test -z "$ac_cxx_werror_flag"
 
5987
                         || test ! -s conftest.err'
 
5988
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5989
  (eval $ac_try) 2>&5
 
5990
  ac_status=$?
 
5991
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5992
  (exit $ac_status); }; } &&
 
5993
         { ac_try='test -s conftest.$ac_objext'
 
5994
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5995
  (eval $ac_try) 2>&5
 
5996
  ac_status=$?
 
5997
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5998
  (exit $ac_status); }; }; then
6650
5999
  ac_compiler_gnu=yes
6651
6000
else
6652
6001
  echo "$as_me: failed program was:" >&5
6653
6002
sed 's/^/| /' conftest.$ac_ext >&5
6654
6003
 
6655
 
        ac_compiler_gnu=no
 
6004
ac_compiler_gnu=no
6656
6005
fi
6657
 
 
6658
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6006
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6659
6007
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6660
6008
 
6661
6009
fi
6662
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6663
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
 
6010
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
6011
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6664
6012
GXX=`test $ac_compiler_gnu = yes && echo yes`
6665
6013
ac_test_CXXFLAGS=${CXXFLAGS+set}
6666
6014
ac_save_CXXFLAGS=$CXXFLAGS
6667
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6668
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
 
6015
CXXFLAGS="-g"
 
6016
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
6017
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6669
6018
if test "${ac_cv_prog_cxx_g+set}" = set; then
6670
6019
  echo $ECHO_N "(cached) $ECHO_C" >&6
6671
6020
else
6672
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6673
 
   ac_cxx_werror_flag=yes
6674
 
   ac_cv_prog_cxx_g=no
6675
 
   CXXFLAGS="-g"
6676
 
   cat >conftest.$ac_ext <<_ACEOF
6677
 
/* confdefs.h.  */
6678
 
_ACEOF
6679
 
cat confdefs.h >>conftest.$ac_ext
6680
 
cat >>conftest.$ac_ext <<_ACEOF
6681
 
/* end confdefs.h.  */
6682
 
 
6683
 
int
6684
 
main ()
6685
 
{
6686
 
 
6687
 
  ;
6688
 
  return 0;
6689
 
}
6690
 
_ACEOF
6691
 
rm -f conftest.$ac_objext
6692
 
if { (ac_try="$ac_compile"
6693
 
case "(($ac_try" in
6694
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6695
 
  *) ac_try_echo=$ac_try;;
6696
 
esac
6697
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6698
 
  (eval "$ac_compile") 2>conftest.er1
6699
 
  ac_status=$?
6700
 
  grep -v '^ *+' conftest.er1 >conftest.err
6701
 
  rm -f conftest.er1
6702
 
  cat conftest.err >&5
6703
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6704
 
  (exit $ac_status); } && {
6705
 
         test -z "$ac_cxx_werror_flag" ||
6706
 
         test ! -s conftest.err
6707
 
       } && test -s conftest.$ac_objext; then
6708
 
  ac_cv_prog_cxx_g=yes
6709
 
else
6710
 
  echo "$as_me: failed program was:" >&5
6711
 
sed 's/^/| /' conftest.$ac_ext >&5
6712
 
 
6713
 
        CXXFLAGS=""
6714
 
      cat >conftest.$ac_ext <<_ACEOF
6715
 
/* confdefs.h.  */
6716
 
_ACEOF
6717
 
cat confdefs.h >>conftest.$ac_ext
6718
 
cat >>conftest.$ac_ext <<_ACEOF
6719
 
/* end confdefs.h.  */
6720
 
 
6721
 
int
6722
 
main ()
6723
 
{
6724
 
 
6725
 
  ;
6726
 
  return 0;
6727
 
}
6728
 
_ACEOF
6729
 
rm -f conftest.$ac_objext
6730
 
if { (ac_try="$ac_compile"
6731
 
case "(($ac_try" in
6732
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6733
 
  *) ac_try_echo=$ac_try;;
6734
 
esac
6735
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6736
 
  (eval "$ac_compile") 2>conftest.er1
6737
 
  ac_status=$?
6738
 
  grep -v '^ *+' conftest.er1 >conftest.err
6739
 
  rm -f conftest.er1
6740
 
  cat conftest.err >&5
6741
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6742
 
  (exit $ac_status); } && {
6743
 
         test -z "$ac_cxx_werror_flag" ||
6744
 
         test ! -s conftest.err
6745
 
       } && test -s conftest.$ac_objext; then
6746
 
  :
6747
 
else
6748
 
  echo "$as_me: failed program was:" >&5
6749
 
sed 's/^/| /' conftest.$ac_ext >&5
6750
 
 
6751
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6752
 
         CXXFLAGS="-g"
6753
 
         cat >conftest.$ac_ext <<_ACEOF
6754
 
/* confdefs.h.  */
6755
 
_ACEOF
6756
 
cat confdefs.h >>conftest.$ac_ext
6757
 
cat >>conftest.$ac_ext <<_ACEOF
6758
 
/* end confdefs.h.  */
6759
 
 
6760
 
int
6761
 
main ()
6762
 
{
6763
 
 
6764
 
  ;
6765
 
  return 0;
6766
 
}
6767
 
_ACEOF
6768
 
rm -f conftest.$ac_objext
6769
 
if { (ac_try="$ac_compile"
6770
 
case "(($ac_try" in
6771
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6772
 
  *) ac_try_echo=$ac_try;;
6773
 
esac
6774
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6775
 
  (eval "$ac_compile") 2>conftest.er1
6776
 
  ac_status=$?
6777
 
  grep -v '^ *+' conftest.er1 >conftest.err
6778
 
  rm -f conftest.er1
6779
 
  cat conftest.err >&5
6780
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6781
 
  (exit $ac_status); } && {
6782
 
         test -z "$ac_cxx_werror_flag" ||
6783
 
         test ! -s conftest.err
6784
 
       } && test -s conftest.$ac_objext; then
6785
 
  ac_cv_prog_cxx_g=yes
6786
 
else
6787
 
  echo "$as_me: failed program was:" >&5
6788
 
sed 's/^/| /' conftest.$ac_ext >&5
6789
 
 
6790
 
 
6791
 
fi
6792
 
 
6793
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6794
 
fi
6795
 
 
6796
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6797
 
fi
6798
 
 
6799
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6800
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6801
 
fi
6802
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6803
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
 
6021
  cat >conftest.$ac_ext <<_ACEOF
 
6022
/* confdefs.h.  */
 
6023
_ACEOF
 
6024
cat confdefs.h >>conftest.$ac_ext
 
6025
cat >>conftest.$ac_ext <<_ACEOF
 
6026
/* end confdefs.h.  */
 
6027
 
 
6028
int
 
6029
main ()
 
6030
{
 
6031
 
 
6032
  ;
 
6033
  return 0;
 
6034
}
 
6035
_ACEOF
 
6036
rm -f conftest.$ac_objext
 
6037
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6038
  (eval $ac_compile) 2>conftest.er1
 
6039
  ac_status=$?
 
6040
  grep -v '^ *+' conftest.er1 >conftest.err
 
6041
  rm -f conftest.er1
 
6042
  cat conftest.err >&5
 
6043
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6044
  (exit $ac_status); } &&
 
6045
         { ac_try='test -z "$ac_cxx_werror_flag"
 
6046
                         || test ! -s conftest.err'
 
6047
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6048
  (eval $ac_try) 2>&5
 
6049
  ac_status=$?
 
6050
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6051
  (exit $ac_status); }; } &&
 
6052
         { ac_try='test -s conftest.$ac_objext'
 
6053
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6054
  (eval $ac_try) 2>&5
 
6055
  ac_status=$?
 
6056
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6057
  (exit $ac_status); }; }; then
 
6058
  ac_cv_prog_cxx_g=yes
 
6059
else
 
6060
  echo "$as_me: failed program was:" >&5
 
6061
sed 's/^/| /' conftest.$ac_ext >&5
 
6062
 
 
6063
ac_cv_prog_cxx_g=no
 
6064
fi
 
6065
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6066
fi
 
6067
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
6068
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6804
6069
if test "$ac_test_CXXFLAGS" = set; then
6805
6070
  CXXFLAGS=$ac_save_CXXFLAGS
6806
6071
elif test $ac_cv_prog_cxx_g = yes; then
6816
6081
    CXXFLAGS=
6817
6082
  fi
6818
6083
fi
6819
 
ac_ext=cpp
 
6084
for ac_declaration in \
 
6085
   '' \
 
6086
   'extern "C" void std::exit (int) throw (); using std::exit;' \
 
6087
   'extern "C" void std::exit (int); using std::exit;' \
 
6088
   'extern "C" void exit (int) throw ();' \
 
6089
   'extern "C" void exit (int);' \
 
6090
   'void exit (int);'
 
6091
do
 
6092
  cat >conftest.$ac_ext <<_ACEOF
 
6093
/* confdefs.h.  */
 
6094
_ACEOF
 
6095
cat confdefs.h >>conftest.$ac_ext
 
6096
cat >>conftest.$ac_ext <<_ACEOF
 
6097
/* end confdefs.h.  */
 
6098
$ac_declaration
 
6099
#include <stdlib.h>
 
6100
int
 
6101
main ()
 
6102
{
 
6103
exit (42);
 
6104
  ;
 
6105
  return 0;
 
6106
}
 
6107
_ACEOF
 
6108
rm -f conftest.$ac_objext
 
6109
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6110
  (eval $ac_compile) 2>conftest.er1
 
6111
  ac_status=$?
 
6112
  grep -v '^ *+' conftest.er1 >conftest.err
 
6113
  rm -f conftest.er1
 
6114
  cat conftest.err >&5
 
6115
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6116
  (exit $ac_status); } &&
 
6117
         { ac_try='test -z "$ac_cxx_werror_flag"
 
6118
                         || test ! -s conftest.err'
 
6119
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6120
  (eval $ac_try) 2>&5
 
6121
  ac_status=$?
 
6122
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6123
  (exit $ac_status); }; } &&
 
6124
         { ac_try='test -s conftest.$ac_objext'
 
6125
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6126
  (eval $ac_try) 2>&5
 
6127
  ac_status=$?
 
6128
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6129
  (exit $ac_status); }; }; then
 
6130
  :
 
6131
else
 
6132
  echo "$as_me: failed program was:" >&5
 
6133
sed 's/^/| /' conftest.$ac_ext >&5
 
6134
 
 
6135
continue
 
6136
fi
 
6137
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6138
  cat >conftest.$ac_ext <<_ACEOF
 
6139
/* confdefs.h.  */
 
6140
_ACEOF
 
6141
cat confdefs.h >>conftest.$ac_ext
 
6142
cat >>conftest.$ac_ext <<_ACEOF
 
6143
/* end confdefs.h.  */
 
6144
$ac_declaration
 
6145
int
 
6146
main ()
 
6147
{
 
6148
exit (42);
 
6149
  ;
 
6150
  return 0;
 
6151
}
 
6152
_ACEOF
 
6153
rm -f conftest.$ac_objext
 
6154
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6155
  (eval $ac_compile) 2>conftest.er1
 
6156
  ac_status=$?
 
6157
  grep -v '^ *+' conftest.er1 >conftest.err
 
6158
  rm -f conftest.er1
 
6159
  cat conftest.err >&5
 
6160
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6161
  (exit $ac_status); } &&
 
6162
         { ac_try='test -z "$ac_cxx_werror_flag"
 
6163
                         || test ! -s conftest.err'
 
6164
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6165
  (eval $ac_try) 2>&5
 
6166
  ac_status=$?
 
6167
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6168
  (exit $ac_status); }; } &&
 
6169
         { ac_try='test -s conftest.$ac_objext'
 
6170
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6171
  (eval $ac_try) 2>&5
 
6172
  ac_status=$?
 
6173
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6174
  (exit $ac_status); }; }; then
 
6175
  break
 
6176
else
 
6177
  echo "$as_me: failed program was:" >&5
 
6178
sed 's/^/| /' conftest.$ac_ext >&5
 
6179
 
 
6180
fi
 
6181
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6182
done
 
6183
rm -f conftest*
 
6184
if test -n "$ac_declaration"; then
 
6185
  echo '#ifdef __cplusplus' >>confdefs.h
 
6186
  echo $ac_declaration      >>confdefs.h
 
6187
  echo '#endif'             >>confdefs.h
 
6188
fi
 
6189
 
 
6190
ac_ext=cc
6820
6191
ac_cpp='$CXXCPP $CPPFLAGS'
6821
6192
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6822
6193
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6824
6195
 
6825
6196
depcc="$CXX"  am_compiler_list=
6826
6197
 
6827
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6828
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
6198
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
6199
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6829
6200
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6830
6201
  echo $ECHO_N "(cached) $ECHO_C" >&6
6831
6202
else
6914
6285
fi
6915
6286
 
6916
6287
fi
6917
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6918
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
 
6288
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
6289
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
6919
6290
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6920
6291
 
6921
6292
 
6936
6307
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6937
6308
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6938
6309
    (test "X$CXX" != "Xg++"))) ; then
6939
 
  ac_ext=cpp
 
6310
  ac_ext=cc
6940
6311
ac_cpp='$CXXCPP $CPPFLAGS'
6941
6312
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6942
6313
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6943
6314
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6944
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6945
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
 
6315
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
6316
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6946
6317
if test -z "$CXXCPP"; then
6947
6318
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
6948
6319
  echo $ECHO_N "(cached) $ECHO_C" >&6
6972
6343
#endif
6973
6344
                     Syntax error
6974
6345
_ACEOF
6975
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6976
 
case "(($ac_try" in
6977
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6978
 
  *) ac_try_echo=$ac_try;;
6979
 
esac
6980
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6981
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6346
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
6347
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6982
6348
  ac_status=$?
6983
6349
  grep -v '^ *+' conftest.er1 >conftest.err
6984
6350
  rm -f conftest.er1
6985
6351
  cat conftest.err >&5
6986
6352
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6987
 
  (exit $ac_status); } >/dev/null && {
6988
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6989
 
         test ! -s conftest.err
6990
 
       }; then
 
6353
  (exit $ac_status); } >/dev/null; then
 
6354
  if test -s conftest.err; then
 
6355
    ac_cpp_err=$ac_cxx_preproc_warn_flag
 
6356
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 
6357
  else
 
6358
    ac_cpp_err=
 
6359
  fi
 
6360
else
 
6361
  ac_cpp_err=yes
 
6362
fi
 
6363
if test -z "$ac_cpp_err"; then
6991
6364
  :
6992
6365
else
6993
6366
  echo "$as_me: failed program was:" >&5
6996
6369
  # Broken: fails on valid input.
6997
6370
continue
6998
6371
fi
6999
 
 
7000
6372
rm -f conftest.err conftest.$ac_ext
7001
6373
 
7002
 
  # OK, works on sane cases.  Now check whether nonexistent headers
 
6374
  # OK, works on sane cases.  Now check whether non-existent headers
7003
6375
  # can be detected and how.
7004
6376
  cat >conftest.$ac_ext <<_ACEOF
7005
6377
/* confdefs.h.  */
7009
6381
/* end confdefs.h.  */
7010
6382
#include <ac_nonexistent.h>
7011
6383
_ACEOF
7012
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7013
 
case "(($ac_try" in
7014
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7015
 
  *) ac_try_echo=$ac_try;;
7016
 
esac
7017
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7018
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6384
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
6385
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7019
6386
  ac_status=$?
7020
6387
  grep -v '^ *+' conftest.er1 >conftest.err
7021
6388
  rm -f conftest.er1
7022
6389
  cat conftest.err >&5
7023
6390
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7024
 
  (exit $ac_status); } >/dev/null && {
7025
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7026
 
         test ! -s conftest.err
7027
 
       }; then
 
6391
  (exit $ac_status); } >/dev/null; then
 
6392
  if test -s conftest.err; then
 
6393
    ac_cpp_err=$ac_cxx_preproc_warn_flag
 
6394
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 
6395
  else
 
6396
    ac_cpp_err=
 
6397
  fi
 
6398
else
 
6399
  ac_cpp_err=yes
 
6400
fi
 
6401
if test -z "$ac_cpp_err"; then
7028
6402
  # Broken: success on invalid input.
7029
6403
continue
7030
6404
else
7035
6409
ac_preproc_ok=:
7036
6410
break
7037
6411
fi
7038
 
 
7039
6412
rm -f conftest.err conftest.$ac_ext
7040
6413
 
7041
6414
done
7053
6426
else
7054
6427
  ac_cv_prog_CXXCPP=$CXXCPP
7055
6428
fi
7056
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
7057
 
echo "${ECHO_T}$CXXCPP" >&6; }
 
6429
echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
6430
echo "${ECHO_T}$CXXCPP" >&6
7058
6431
ac_preproc_ok=false
7059
6432
for ac_cxx_preproc_warn_flag in '' yes
7060
6433
do
7077
6450
#endif
7078
6451
                     Syntax error
7079
6452
_ACEOF
7080
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7081
 
case "(($ac_try" in
7082
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7083
 
  *) ac_try_echo=$ac_try;;
7084
 
esac
7085
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7086
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6453
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
6454
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7087
6455
  ac_status=$?
7088
6456
  grep -v '^ *+' conftest.er1 >conftest.err
7089
6457
  rm -f conftest.er1
7090
6458
  cat conftest.err >&5
7091
6459
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7092
 
  (exit $ac_status); } >/dev/null && {
7093
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7094
 
         test ! -s conftest.err
7095
 
       }; then
 
6460
  (exit $ac_status); } >/dev/null; then
 
6461
  if test -s conftest.err; then
 
6462
    ac_cpp_err=$ac_cxx_preproc_warn_flag
 
6463
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 
6464
  else
 
6465
    ac_cpp_err=
 
6466
  fi
 
6467
else
 
6468
  ac_cpp_err=yes
 
6469
fi
 
6470
if test -z "$ac_cpp_err"; then
7096
6471
  :
7097
6472
else
7098
6473
  echo "$as_me: failed program was:" >&5
7101
6476
  # Broken: fails on valid input.
7102
6477
continue
7103
6478
fi
7104
 
 
7105
6479
rm -f conftest.err conftest.$ac_ext
7106
6480
 
7107
 
  # OK, works on sane cases.  Now check whether nonexistent headers
 
6481
  # OK, works on sane cases.  Now check whether non-existent headers
7108
6482
  # can be detected and how.
7109
6483
  cat >conftest.$ac_ext <<_ACEOF
7110
6484
/* confdefs.h.  */
7114
6488
/* end confdefs.h.  */
7115
6489
#include <ac_nonexistent.h>
7116
6490
_ACEOF
7117
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7118
 
case "(($ac_try" in
7119
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7120
 
  *) ac_try_echo=$ac_try;;
7121
 
esac
7122
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7123
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6491
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
6492
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7124
6493
  ac_status=$?
7125
6494
  grep -v '^ *+' conftest.er1 >conftest.err
7126
6495
  rm -f conftest.er1
7127
6496
  cat conftest.err >&5
7128
6497
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7129
 
  (exit $ac_status); } >/dev/null && {
7130
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7131
 
         test ! -s conftest.err
7132
 
       }; then
 
6498
  (exit $ac_status); } >/dev/null; then
 
6499
  if test -s conftest.err; then
 
6500
    ac_cpp_err=$ac_cxx_preproc_warn_flag
 
6501
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 
6502
  else
 
6503
    ac_cpp_err=
 
6504
  fi
 
6505
else
 
6506
  ac_cpp_err=yes
 
6507
fi
 
6508
if test -z "$ac_cpp_err"; then
7133
6509
  # Broken: success on invalid input.
7134
6510
continue
7135
6511
else
7140
6516
ac_preproc_ok=:
7141
6517
break
7142
6518
fi
7143
 
 
7144
6519
rm -f conftest.err conftest.$ac_ext
7145
6520
 
7146
6521
done
7156
6531
   { (exit 1); exit 1; }; }
7157
6532
fi
7158
6533
 
7159
 
ac_ext=cpp
 
6534
ac_ext=cc
7160
6535
ac_cpp='$CXXCPP $CPPFLAGS'
7161
6536
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7162
6537
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7170
6545
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7171
6546
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
7172
6547
if test -n "$ac_tool_prefix"; then
7173
 
  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
 
6548
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
7174
6549
  do
7175
6550
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7176
6551
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7177
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7178
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6552
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6553
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7179
6554
if test "${ac_cv_prog_F77+set}" = set; then
7180
6555
  echo $ECHO_N "(cached) $ECHO_C" >&6
7181
6556
else
7188
6563
  IFS=$as_save_IFS
7189
6564
  test -z "$as_dir" && as_dir=.
7190
6565
  for ac_exec_ext in '' $ac_executable_extensions; do
7191
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6566
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7192
6567
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
7193
6568
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7194
6569
    break 2
7195
6570
  fi
7196
6571
done
7197
6572
done
7198
 
IFS=$as_save_IFS
7199
6573
 
7200
6574
fi
7201
6575
fi
7202
6576
F77=$ac_cv_prog_F77
7203
6577
if test -n "$F77"; then
7204
 
  { echo "$as_me:$LINENO: result: $F77" >&5
7205
 
echo "${ECHO_T}$F77" >&6; }
 
6578
  echo "$as_me:$LINENO: result: $F77" >&5
 
6579
echo "${ECHO_T}$F77" >&6
7206
6580
else
7207
 
  { echo "$as_me:$LINENO: result: no" >&5
7208
 
echo "${ECHO_T}no" >&6; }
 
6581
  echo "$as_me:$LINENO: result: no" >&5
 
6582
echo "${ECHO_T}no" >&6
7209
6583
fi
7210
6584
 
7211
 
 
7212
6585
    test -n "$F77" && break
7213
6586
  done
7214
6587
fi
7215
6588
if test -z "$F77"; then
7216
6589
  ac_ct_F77=$F77
7217
 
  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
 
6590
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
7218
6591
do
7219
6592
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7220
6593
set dummy $ac_prog; ac_word=$2
7221
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7222
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6594
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6595
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7223
6596
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7224
6597
  echo $ECHO_N "(cached) $ECHO_C" >&6
7225
6598
else
7232
6605
  IFS=$as_save_IFS
7233
6606
  test -z "$as_dir" && as_dir=.
7234
6607
  for ac_exec_ext in '' $ac_executable_extensions; do
7235
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6608
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7236
6609
    ac_cv_prog_ac_ct_F77="$ac_prog"
7237
6610
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7238
6611
    break 2
7239
6612
  fi
7240
6613
done
7241
6614
done
7242
 
IFS=$as_save_IFS
7243
6615
 
7244
6616
fi
7245
6617
fi
7246
6618
ac_ct_F77=$ac_cv_prog_ac_ct_F77
7247
6619
if test -n "$ac_ct_F77"; then
7248
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7249
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
 
6620
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
6621
echo "${ECHO_T}$ac_ct_F77" >&6
7250
6622
else
7251
 
  { echo "$as_me:$LINENO: result: no" >&5
7252
 
echo "${ECHO_T}no" >&6; }
 
6623
  echo "$as_me:$LINENO: result: no" >&5
 
6624
echo "${ECHO_T}no" >&6
7253
6625
fi
7254
6626
 
7255
 
 
7256
6627
  test -n "$ac_ct_F77" && break
7257
6628
done
7258
6629
 
7259
 
  if test "x$ac_ct_F77" = x; then
7260
 
    F77=""
7261
 
  else
7262
 
    case $cross_compiling:$ac_tool_warned in
7263
 
yes:)
7264
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7265
 
whose name does not start with the host triplet.  If you think this
7266
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7267
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7268
 
whose name does not start with the host triplet.  If you think this
7269
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7270
 
ac_tool_warned=yes ;;
7271
 
esac
7272
 
    F77=$ac_ct_F77
7273
 
  fi
 
6630
  F77=$ac_ct_F77
7274
6631
fi
7275
6632
 
7276
6633
 
7277
6634
# Provide some information about the compiler.
7278
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
 
6635
echo "$as_me:6635:" \
 
6636
     "checking for Fortran 77 compiler version" >&5
7279
6637
ac_compiler=`set X $ac_compile; echo $2`
7280
 
{ (ac_try="$ac_compiler --version >&5"
7281
 
case "(($ac_try" in
7282
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7283
 
  *) ac_try_echo=$ac_try;;
7284
 
esac
7285
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7286
 
  (eval "$ac_compiler --version >&5") 2>&5
7287
 
  ac_status=$?
7288
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7289
 
  (exit $ac_status); }
7290
 
{ (ac_try="$ac_compiler -v >&5"
7291
 
case "(($ac_try" in
7292
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7293
 
  *) ac_try_echo=$ac_try;;
7294
 
esac
7295
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7296
 
  (eval "$ac_compiler -v >&5") 2>&5
7297
 
  ac_status=$?
7298
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7299
 
  (exit $ac_status); }
7300
 
{ (ac_try="$ac_compiler -V >&5"
7301
 
case "(($ac_try" in
7302
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7303
 
  *) ac_try_echo=$ac_try;;
7304
 
esac
7305
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7306
 
  (eval "$ac_compiler -V >&5") 2>&5
 
6638
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 
6639
  (eval $ac_compiler --version </dev/null >&5) 2>&5
 
6640
  ac_status=$?
 
6641
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6642
  (exit $ac_status); }
 
6643
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 
6644
  (eval $ac_compiler -v </dev/null >&5) 2>&5
 
6645
  ac_status=$?
 
6646
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6647
  (exit $ac_status); }
 
6648
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 
6649
  (eval $ac_compiler -V </dev/null >&5) 2>&5
7307
6650
  ac_status=$?
7308
6651
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7309
6652
  (exit $ac_status); }
7313
6656
# input file.  (Note that this only needs to work for GNU compilers.)
7314
6657
ac_save_ext=$ac_ext
7315
6658
ac_ext=F
7316
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7317
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
 
6659
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
6660
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
7318
6661
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7319
6662
  echo $ECHO_N "(cached) $ECHO_C" >&6
7320
6663
else
7327
6670
      end
7328
6671
_ACEOF
7329
6672
rm -f conftest.$ac_objext
7330
 
if { (ac_try="$ac_compile"
7331
 
case "(($ac_try" in
7332
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7333
 
  *) ac_try_echo=$ac_try;;
7334
 
esac
7335
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7336
 
  (eval "$ac_compile") 2>conftest.er1
 
6673
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6674
  (eval $ac_compile) 2>conftest.er1
7337
6675
  ac_status=$?
7338
6676
  grep -v '^ *+' conftest.er1 >conftest.err
7339
6677
  rm -f conftest.er1
7340
6678
  cat conftest.err >&5
7341
6679
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7342
 
  (exit $ac_status); } && {
7343
 
         test -z "$ac_f77_werror_flag" ||
7344
 
         test ! -s conftest.err
7345
 
       } && test -s conftest.$ac_objext; then
 
6680
  (exit $ac_status); } &&
 
6681
         { ac_try='test -z "$ac_f77_werror_flag"
 
6682
                         || test ! -s conftest.err'
 
6683
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6684
  (eval $ac_try) 2>&5
 
6685
  ac_status=$?
 
6686
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6687
  (exit $ac_status); }; } &&
 
6688
         { ac_try='test -s conftest.$ac_objext'
 
6689
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6690
  (eval $ac_try) 2>&5
 
6691
  ac_status=$?
 
6692
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6693
  (exit $ac_status); }; }; then
7346
6694
  ac_compiler_gnu=yes
7347
6695
else
7348
6696
  echo "$as_me: failed program was:" >&5
7349
6697
sed 's/^/| /' conftest.$ac_ext >&5
7350
6698
 
7351
 
        ac_compiler_gnu=no
 
6699
ac_compiler_gnu=no
7352
6700
fi
7353
 
 
7354
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6701
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7355
6702
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7356
6703
 
7357
6704
fi
7358
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7359
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
 
6705
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
6706
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
7360
6707
ac_ext=$ac_save_ext
7361
6708
ac_test_FFLAGS=${FFLAGS+set}
7362
6709
ac_save_FFLAGS=$FFLAGS
7363
6710
FFLAGS=
7364
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7365
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
 
6711
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
6712
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
7366
6713
if test "${ac_cv_prog_f77_g+set}" = set; then
7367
6714
  echo $ECHO_N "(cached) $ECHO_C" >&6
7368
6715
else
7373
6720
      end
7374
6721
_ACEOF
7375
6722
rm -f conftest.$ac_objext
7376
 
if { (ac_try="$ac_compile"
7377
 
case "(($ac_try" in
7378
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7379
 
  *) ac_try_echo=$ac_try;;
7380
 
esac
7381
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7382
 
  (eval "$ac_compile") 2>conftest.er1
 
6723
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6724
  (eval $ac_compile) 2>conftest.er1
7383
6725
  ac_status=$?
7384
6726
  grep -v '^ *+' conftest.er1 >conftest.err
7385
6727
  rm -f conftest.er1
7386
6728
  cat conftest.err >&5
7387
6729
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7388
 
  (exit $ac_status); } && {
7389
 
         test -z "$ac_f77_werror_flag" ||
7390
 
         test ! -s conftest.err
7391
 
       } && test -s conftest.$ac_objext; then
 
6730
  (exit $ac_status); } &&
 
6731
         { ac_try='test -z "$ac_f77_werror_flag"
 
6732
                         || test ! -s conftest.err'
 
6733
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6734
  (eval $ac_try) 2>&5
 
6735
  ac_status=$?
 
6736
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6737
  (exit $ac_status); }; } &&
 
6738
         { ac_try='test -s conftest.$ac_objext'
 
6739
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6740
  (eval $ac_try) 2>&5
 
6741
  ac_status=$?
 
6742
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6743
  (exit $ac_status); }; }; then
7392
6744
  ac_cv_prog_f77_g=yes
7393
6745
else
7394
6746
  echo "$as_me: failed program was:" >&5
7395
6747
sed 's/^/| /' conftest.$ac_ext >&5
7396
6748
 
7397
 
        ac_cv_prog_f77_g=no
7398
 
fi
7399
 
 
7400
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7401
 
 
7402
 
fi
7403
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7404
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
 
6749
ac_cv_prog_f77_g=no
 
6750
fi
 
6751
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6752
 
 
6753
fi
 
6754
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
6755
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
7405
6756
if test "$ac_test_FFLAGS" = set; then
7406
6757
  FFLAGS=$ac_save_FFLAGS
7407
6758
elif test $ac_cv_prog_f77_g = yes; then
7430
6781
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
7431
6782
 
7432
6783
# find the maximum length of command line arguments
7433
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7434
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
 
6784
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6785
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
7435
6786
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7436
6787
  echo $ECHO_N "(cached) $ECHO_C" >&6
7437
6788
else
7539
6890
fi
7540
6891
 
7541
6892
if test -n $lt_cv_sys_max_cmd_len ; then
7542
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7543
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
 
6893
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6894
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
7544
6895
else
7545
 
  { echo "$as_me:$LINENO: result: none" >&5
7546
 
echo "${ECHO_T}none" >&6; }
 
6896
  echo "$as_me:$LINENO: result: none" >&5
 
6897
echo "${ECHO_T}none" >&6
7547
6898
fi
7548
6899
 
7549
6900
 
7550
6901
 
7551
6902
 
7552
6903
# Check for command to grab the raw symbol name followed by C symbol from nm.
7553
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7554
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
 
6904
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6905
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
7555
6906
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7556
6907
  echo $ECHO_N "(cached) $ECHO_C" >&6
7557
6908
else
7586
6937
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7587
6938
  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
7588
6939
  ;;
7589
 
linux* | k*bsd*-gnu)
 
6940
linux*)
7590
6941
  if test "$host_cpu" = ia64; then
7591
6942
    symcode='[ABCDGIRSTW]'
7592
6943
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7755
7106
  lt_cv_sys_global_symbol_to_cdecl=
7756
7107
fi
7757
7108
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7758
 
  { echo "$as_me:$LINENO: result: failed" >&5
7759
 
echo "${ECHO_T}failed" >&6; }
 
7109
  echo "$as_me:$LINENO: result: failed" >&5
 
7110
echo "${ECHO_T}failed" >&6
7760
7111
else
7761
 
  { echo "$as_me:$LINENO: result: ok" >&5
7762
 
echo "${ECHO_T}ok" >&6; }
 
7112
  echo "$as_me:$LINENO: result: ok" >&5
 
7113
echo "${ECHO_T}ok" >&6
7763
7114
fi
7764
7115
 
7765
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
7766
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
 
7116
echo "$as_me:$LINENO: checking for objdir" >&5
 
7117
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
7767
7118
if test "${lt_cv_objdir+set}" = set; then
7768
7119
  echo $ECHO_N "(cached) $ECHO_C" >&6
7769
7120
else
7777
7128
fi
7778
7129
rmdir .libs 2>/dev/null
7779
7130
fi
7780
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7781
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
 
7131
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
7132
echo "${ECHO_T}$lt_cv_objdir" >&6
7782
7133
objdir=$lt_cv_objdir
7783
7134
 
7784
7135
 
7829
7180
if test -n "$ac_tool_prefix"; then
7830
7181
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7831
7182
set dummy ${ac_tool_prefix}ar; ac_word=$2
7832
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7833
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7183
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7184
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7834
7185
if test "${ac_cv_prog_AR+set}" = set; then
7835
7186
  echo $ECHO_N "(cached) $ECHO_C" >&6
7836
7187
else
7843
7194
  IFS=$as_save_IFS
7844
7195
  test -z "$as_dir" && as_dir=.
7845
7196
  for ac_exec_ext in '' $ac_executable_extensions; do
7846
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7197
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7847
7198
    ac_cv_prog_AR="${ac_tool_prefix}ar"
7848
7199
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7849
7200
    break 2
7850
7201
  fi
7851
7202
done
7852
7203
done
7853
 
IFS=$as_save_IFS
7854
7204
 
7855
7205
fi
7856
7206
fi
7857
7207
AR=$ac_cv_prog_AR
7858
7208
if test -n "$AR"; then
7859
 
  { echo "$as_me:$LINENO: result: $AR" >&5
7860
 
echo "${ECHO_T}$AR" >&6; }
 
7209
  echo "$as_me:$LINENO: result: $AR" >&5
 
7210
echo "${ECHO_T}$AR" >&6
7861
7211
else
7862
 
  { echo "$as_me:$LINENO: result: no" >&5
7863
 
echo "${ECHO_T}no" >&6; }
 
7212
  echo "$as_me:$LINENO: result: no" >&5
 
7213
echo "${ECHO_T}no" >&6
7864
7214
fi
7865
 
 
7866
7215
 
7867
7216
fi
7868
7217
if test -z "$ac_cv_prog_AR"; then
7869
7218
  ac_ct_AR=$AR
7870
7219
  # Extract the first word of "ar", so it can be a program name with args.
7871
7220
set dummy ar; ac_word=$2
7872
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7873
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7221
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7222
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7874
7223
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7875
7224
  echo $ECHO_N "(cached) $ECHO_C" >&6
7876
7225
else
7883
7232
  IFS=$as_save_IFS
7884
7233
  test -z "$as_dir" && as_dir=.
7885
7234
  for ac_exec_ext in '' $ac_executable_extensions; do
7886
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7235
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7887
7236
    ac_cv_prog_ac_ct_AR="ar"
7888
7237
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7889
7238
    break 2
7890
7239
  fi
7891
7240
done
7892
7241
done
7893
 
IFS=$as_save_IFS
7894
7242
 
 
7243
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
7895
7244
fi
7896
7245
fi
7897
7246
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7898
7247
if test -n "$ac_ct_AR"; then
7899
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7900
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
 
7248
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
7249
echo "${ECHO_T}$ac_ct_AR" >&6
7901
7250
else
7902
 
  { echo "$as_me:$LINENO: result: no" >&5
7903
 
echo "${ECHO_T}no" >&6; }
 
7251
  echo "$as_me:$LINENO: result: no" >&5
 
7252
echo "${ECHO_T}no" >&6
7904
7253
fi
7905
7254
 
7906
 
  if test "x$ac_ct_AR" = x; then
7907
 
    AR="false"
7908
 
  else
7909
 
    case $cross_compiling:$ac_tool_warned in
7910
 
yes:)
7911
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7912
 
whose name does not start with the host triplet.  If you think this
7913
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7914
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7915
 
whose name does not start with the host triplet.  If you think this
7916
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7917
 
ac_tool_warned=yes ;;
7918
 
esac
7919
 
    AR=$ac_ct_AR
7920
 
  fi
 
7255
  AR=$ac_ct_AR
7921
7256
else
7922
7257
  AR="$ac_cv_prog_AR"
7923
7258
fi
7925
7260
if test -n "$ac_tool_prefix"; then
7926
7261
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7927
7262
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7928
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7929
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7263
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7264
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7930
7265
if test "${ac_cv_prog_RANLIB+set}" = set; then
7931
7266
  echo $ECHO_N "(cached) $ECHO_C" >&6
7932
7267
else
7939
7274
  IFS=$as_save_IFS
7940
7275
  test -z "$as_dir" && as_dir=.
7941
7276
  for ac_exec_ext in '' $ac_executable_extensions; do
7942
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7277
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7943
7278
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7944
7279
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7945
7280
    break 2
7946
7281
  fi
7947
7282
done
7948
7283
done
7949
 
IFS=$as_save_IFS
7950
7284
 
7951
7285
fi
7952
7286
fi
7953
7287
RANLIB=$ac_cv_prog_RANLIB
7954
7288
if test -n "$RANLIB"; then
7955
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
7956
 
echo "${ECHO_T}$RANLIB" >&6; }
 
7289
  echo "$as_me:$LINENO: result: $RANLIB" >&5
 
7290
echo "${ECHO_T}$RANLIB" >&6
7957
7291
else
7958
 
  { echo "$as_me:$LINENO: result: no" >&5
7959
 
echo "${ECHO_T}no" >&6; }
 
7292
  echo "$as_me:$LINENO: result: no" >&5
 
7293
echo "${ECHO_T}no" >&6
7960
7294
fi
7961
 
 
7962
7295
 
7963
7296
fi
7964
7297
if test -z "$ac_cv_prog_RANLIB"; then
7965
7298
  ac_ct_RANLIB=$RANLIB
7966
7299
  # Extract the first word of "ranlib", so it can be a program name with args.
7967
7300
set dummy ranlib; ac_word=$2
7968
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7969
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7301
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7302
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7970
7303
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7971
7304
  echo $ECHO_N "(cached) $ECHO_C" >&6
7972
7305
else
7979
7312
  IFS=$as_save_IFS
7980
7313
  test -z "$as_dir" && as_dir=.
7981
7314
  for ac_exec_ext in '' $ac_executable_extensions; do
7982
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7315
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7983
7316
    ac_cv_prog_ac_ct_RANLIB="ranlib"
7984
7317
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7985
7318
    break 2
7986
7319
  fi
7987
7320
done
7988
7321
done
7989
 
IFS=$as_save_IFS
7990
7322
 
 
7323
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
7991
7324
fi
7992
7325
fi
7993
7326
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7994
7327
if test -n "$ac_ct_RANLIB"; then
7995
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7996
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
 
7328
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
7329
echo "${ECHO_T}$ac_ct_RANLIB" >&6
7997
7330
else
7998
 
  { echo "$as_me:$LINENO: result: no" >&5
7999
 
echo "${ECHO_T}no" >&6; }
 
7331
  echo "$as_me:$LINENO: result: no" >&5
 
7332
echo "${ECHO_T}no" >&6
8000
7333
fi
8001
7334
 
8002
 
  if test "x$ac_ct_RANLIB" = x; then
8003
 
    RANLIB=":"
8004
 
  else
8005
 
    case $cross_compiling:$ac_tool_warned in
8006
 
yes:)
8007
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8008
 
whose name does not start with the host triplet.  If you think this
8009
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
8010
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8011
 
whose name does not start with the host triplet.  If you think this
8012
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8013
 
ac_tool_warned=yes ;;
8014
 
esac
8015
 
    RANLIB=$ac_ct_RANLIB
8016
 
  fi
 
7335
  RANLIB=$ac_ct_RANLIB
8017
7336
else
8018
7337
  RANLIB="$ac_cv_prog_RANLIB"
8019
7338
fi
8021
7340
if test -n "$ac_tool_prefix"; then
8022
7341
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8023
7342
set dummy ${ac_tool_prefix}strip; ac_word=$2
8024
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8025
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7343
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7344
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8026
7345
if test "${ac_cv_prog_STRIP+set}" = set; then
8027
7346
  echo $ECHO_N "(cached) $ECHO_C" >&6
8028
7347
else
8035
7354
  IFS=$as_save_IFS
8036
7355
  test -z "$as_dir" && as_dir=.
8037
7356
  for ac_exec_ext in '' $ac_executable_extensions; do
8038
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7357
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8039
7358
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8040
7359
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8041
7360
    break 2
8042
7361
  fi
8043
7362
done
8044
7363
done
8045
 
IFS=$as_save_IFS
8046
7364
 
8047
7365
fi
8048
7366
fi
8049
7367
STRIP=$ac_cv_prog_STRIP
8050
7368
if test -n "$STRIP"; then
8051
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
8052
 
echo "${ECHO_T}$STRIP" >&6; }
 
7369
  echo "$as_me:$LINENO: result: $STRIP" >&5
 
7370
echo "${ECHO_T}$STRIP" >&6
8053
7371
else
8054
 
  { echo "$as_me:$LINENO: result: no" >&5
8055
 
echo "${ECHO_T}no" >&6; }
 
7372
  echo "$as_me:$LINENO: result: no" >&5
 
7373
echo "${ECHO_T}no" >&6
8056
7374
fi
8057
 
 
8058
7375
 
8059
7376
fi
8060
7377
if test -z "$ac_cv_prog_STRIP"; then
8061
7378
  ac_ct_STRIP=$STRIP
8062
7379
  # Extract the first word of "strip", so it can be a program name with args.
8063
7380
set dummy strip; ac_word=$2
8064
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8065
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7381
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7382
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8066
7383
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8067
7384
  echo $ECHO_N "(cached) $ECHO_C" >&6
8068
7385
else
8075
7392
  IFS=$as_save_IFS
8076
7393
  test -z "$as_dir" && as_dir=.
8077
7394
  for ac_exec_ext in '' $ac_executable_extensions; do
8078
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7395
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8079
7396
    ac_cv_prog_ac_ct_STRIP="strip"
8080
7397
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8081
7398
    break 2
8082
7399
  fi
8083
7400
done
8084
7401
done
8085
 
IFS=$as_save_IFS
8086
7402
 
 
7403
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
8087
7404
fi
8088
7405
fi
8089
7406
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8090
7407
if test -n "$ac_ct_STRIP"; then
8091
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8092
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
7408
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
7409
echo "${ECHO_T}$ac_ct_STRIP" >&6
8093
7410
else
8094
 
  { echo "$as_me:$LINENO: result: no" >&5
8095
 
echo "${ECHO_T}no" >&6; }
 
7411
  echo "$as_me:$LINENO: result: no" >&5
 
7412
echo "${ECHO_T}no" >&6
8096
7413
fi
8097
7414
 
8098
 
  if test "x$ac_ct_STRIP" = x; then
8099
 
    STRIP=":"
8100
 
  else
8101
 
    case $cross_compiling:$ac_tool_warned in
8102
 
yes:)
8103
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8104
 
whose name does not start with the host triplet.  If you think this
8105
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
8106
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8107
 
whose name does not start with the host triplet.  If you think this
8108
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8109
 
ac_tool_warned=yes ;;
8110
 
esac
8111
 
    STRIP=$ac_ct_STRIP
8112
 
  fi
 
7415
  STRIP=$ac_ct_STRIP
8113
7416
else
8114
7417
  STRIP="$ac_cv_prog_STRIP"
8115
7418
fi
8168
7471
case $deplibs_check_method in
8169
7472
file_magic*)
8170
7473
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8171
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8172
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
 
7474
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7475
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
8173
7476
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8174
7477
  echo $ECHO_N "(cached) $ECHO_C" >&6
8175
7478
else
8221
7524
 
8222
7525
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8223
7526
if test -n "$MAGIC_CMD"; then
8224
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8225
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
7527
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7528
echo "${ECHO_T}$MAGIC_CMD" >&6
8226
7529
else
8227
 
  { echo "$as_me:$LINENO: result: no" >&5
8228
 
echo "${ECHO_T}no" >&6; }
 
7530
  echo "$as_me:$LINENO: result: no" >&5
 
7531
echo "${ECHO_T}no" >&6
8229
7532
fi
8230
7533
 
8231
7534
if test -z "$lt_cv_path_MAGIC_CMD"; then
8232
7535
  if test -n "$ac_tool_prefix"; then
8233
 
    { echo "$as_me:$LINENO: checking for file" >&5
8234
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
 
7536
    echo "$as_me:$LINENO: checking for file" >&5
 
7537
echo $ECHO_N "checking for file... $ECHO_C" >&6
8235
7538
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8236
7539
  echo $ECHO_N "(cached) $ECHO_C" >&6
8237
7540
else
8283
7586
 
8284
7587
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8285
7588
if test -n "$MAGIC_CMD"; then
8286
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8287
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
7589
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7590
echo "${ECHO_T}$MAGIC_CMD" >&6
8288
7591
else
8289
 
  { echo "$as_me:$LINENO: result: no" >&5
8290
 
echo "${ECHO_T}no" >&6; }
 
7592
  echo "$as_me:$LINENO: result: no" >&5
 
7593
echo "${ECHO_T}no" >&6
8291
7594
fi
8292
7595
 
8293
7596
  else
8302
7605
enable_dlopen=no
8303
7606
enable_win32_dll=yes
8304
7607
 
8305
 
# Check whether --enable-libtool-lock was given.
 
7608
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
8306
7609
if test "${enable_libtool_lock+set}" = set; then
8307
 
  enableval=$enable_libtool_lock;
8308
 
fi
 
7610
  enableval="$enable_libtool_lock"
8309
7611
 
 
7612
fi;
8310
7613
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8311
7614
 
8312
7615
 
8313
 
# Check whether --with-pic was given.
 
7616
# Check whether --with-pic or --without-pic was given.
8314
7617
if test "${with_pic+set}" = set; then
8315
 
  withval=$with_pic; pic_mode="$withval"
 
7618
  withval="$with_pic"
 
7619
  pic_mode="$withval"
8316
7620
else
8317
7621
  pic_mode=default
8318
 
fi
8319
 
 
 
7622
fi;
8320
7623
test -z "$pic_mode" && pic_mode=default
8321
7624
 
8322
7625
# Use C for the default configuration in the libtool script
8374
7677
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8375
7678
 
8376
7679
 
8377
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8378
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
 
7680
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7681
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
8379
7682
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8380
7683
  echo $ECHO_N "(cached) $ECHO_C" >&6
8381
7684
else
8392
7695
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8393
7696
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8394
7697
   -e 's:$: $lt_compiler_flag:'`
8395
 
   (eval echo "\"\$as_me:8395: $lt_compile\"" >&5)
 
7698
   (eval echo "\"\$as_me:7698: $lt_compile\"" >&5)
8396
7699
   (eval "$lt_compile" 2>conftest.err)
8397
7700
   ac_status=$?
8398
7701
   cat conftest.err >&5
8399
 
   echo "$as_me:8399: \$? = $ac_status" >&5
 
7702
   echo "$as_me:7702: \$? = $ac_status" >&5
8400
7703
   if (exit $ac_status) && test -s "$ac_outfile"; then
8401
7704
     # The compiler can only warn and ignore the option if not recognized
8402
7705
     # So say no if there are warnings other than the usual output.
8409
7712
   $rm conftest*
8410
7713
 
8411
7714
fi
8412
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8413
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
7715
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7716
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
8414
7717
 
8415
7718
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8416
7719
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8424
7727
lt_prog_compiler_pic=
8425
7728
lt_prog_compiler_static=
8426
7729
 
8427
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8428
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
7730
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7731
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
8429
7732
 
8430
7733
  if test "$GCC" = yes; then
8431
7734
    lt_prog_compiler_wl='-Wl,'
8554
7857
      lt_prog_compiler_static='-Bstatic'
8555
7858
      ;;
8556
7859
 
8557
 
    linux* | k*bsd*-gnu)
 
7860
    linux*)
8558
7861
      case $cc_basename in
8559
7862
      icc* | ecc*)
8560
7863
        lt_prog_compiler_wl='-Wl,'
8634
7937
    esac
8635
7938
  fi
8636
7939
 
8637
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8638
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
 
7940
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
7941
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
8639
7942
 
8640
7943
#
8641
7944
# Check to make sure the PIC flag actually works.
8642
7945
#
8643
7946
if test -n "$lt_prog_compiler_pic"; then
8644
7947
 
8645
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8646
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
 
7948
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7949
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
8647
7950
if test "${lt_prog_compiler_pic_works+set}" = set; then
8648
7951
  echo $ECHO_N "(cached) $ECHO_C" >&6
8649
7952
else
8660
7963
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8661
7964
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8662
7965
   -e 's:$: $lt_compiler_flag:'`
8663
 
   (eval echo "\"\$as_me:8663: $lt_compile\"" >&5)
 
7966
   (eval echo "\"\$as_me:7966: $lt_compile\"" >&5)
8664
7967
   (eval "$lt_compile" 2>conftest.err)
8665
7968
   ac_status=$?
8666
7969
   cat conftest.err >&5
8667
 
   echo "$as_me:8667: \$? = $ac_status" >&5
 
7970
   echo "$as_me:7970: \$? = $ac_status" >&5
8668
7971
   if (exit $ac_status) && test -s "$ac_outfile"; then
8669
7972
     # The compiler can only warn and ignore the option if not recognized
8670
7973
     # So say no if there are warnings other than the usual output.
8677
7980
   $rm conftest*
8678
7981
 
8679
7982
fi
8680
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
8681
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
 
7983
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
 
7984
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
8682
7985
 
8683
7986
if test x"$lt_prog_compiler_pic_works" = xyes; then
8684
7987
    case $lt_prog_compiler_pic in
8705
8008
# Check to make sure the static flag actually works.
8706
8009
#
8707
8010
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8708
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8709
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
8011
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8012
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
8710
8013
if test "${lt_prog_compiler_static_works+set}" = set; then
8711
8014
  echo $ECHO_N "(cached) $ECHO_C" >&6
8712
8015
else
8733
8036
   LDFLAGS="$save_LDFLAGS"
8734
8037
 
8735
8038
fi
8736
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
8737
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
 
8039
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 
8040
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
8738
8041
 
8739
8042
if test x"$lt_prog_compiler_static_works" = xyes; then
8740
8043
    :
8743
8046
fi
8744
8047
 
8745
8048
 
8746
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8747
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 
8049
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8050
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8748
8051
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8749
8052
  echo $ECHO_N "(cached) $ECHO_C" >&6
8750
8053
else
8764
8067
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8765
8068
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8766
8069
   -e 's:$: $lt_compiler_flag:'`
8767
 
   (eval echo "\"\$as_me:8767: $lt_compile\"" >&5)
 
8070
   (eval echo "\"\$as_me:8070: $lt_compile\"" >&5)
8768
8071
   (eval "$lt_compile" 2>out/conftest.err)
8769
8072
   ac_status=$?
8770
8073
   cat out/conftest.err >&5
8771
 
   echo "$as_me:8771: \$? = $ac_status" >&5
 
8074
   echo "$as_me:8074: \$? = $ac_status" >&5
8772
8075
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8773
8076
   then
8774
8077
     # The compiler can only warn and ignore the option if not recognized
8790
8093
   $rm conftest*
8791
8094
 
8792
8095
fi
8793
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8794
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
8096
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8097
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8795
8098
 
8796
8099
 
8797
8100
hard_links="nottested"
8798
8101
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8799
8102
  # do not overwrite the value of need_locks provided by the user
8800
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8801
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
8103
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
8104
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8802
8105
  hard_links=yes
8803
8106
  $rm conftest*
8804
8107
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8805
8108
  touch conftest.a
8806
8109
  ln conftest.a conftest.b 2>&5 || hard_links=no
8807
8110
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8808
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
8809
 
echo "${ECHO_T}$hard_links" >&6; }
 
8111
  echo "$as_me:$LINENO: result: $hard_links" >&5
 
8112
echo "${ECHO_T}$hard_links" >&6
8810
8113
  if test "$hard_links" = no; then
8811
8114
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8812
8115
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8816
8119
  need_locks=no
8817
8120
fi
8818
8121
 
8819
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8820
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
8122
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8123
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8821
8124
 
8822
8125
  runpath_var=
8823
8126
  allow_undefined_flag=
8993
8296
      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'
8994
8297
      ;;
8995
8298
 
8996
 
    linux* | k*bsd*-gnu)
 
8299
    linux*)
8997
8300
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8998
8301
        tmp_addflag=
8999
8302
        case $cc_basename,$host_cpu in
9019
8322
  $echo "local: *; };" >> $output_objdir/$libname.ver~
9020
8323
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9021
8324
        fi
9022
 
        link_all_deplibs=no
9023
8325
      else
9024
8326
        ld_shlibs=no
9025
8327
      fi
9026
8328
      ;;
9027
8329
 
9028
 
    netbsd* | netbsdelf*-gnu)
 
8330
    netbsd*)
9029
8331
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9030
8332
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9031
8333
        wlarc=
9233
8535
}
9234
8536
_ACEOF
9235
8537
rm -f conftest.$ac_objext conftest$ac_exeext
9236
 
if { (ac_try="$ac_link"
9237
 
case "(($ac_try" in
9238
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9239
 
  *) ac_try_echo=$ac_try;;
9240
 
esac
9241
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9242
 
  (eval "$ac_link") 2>conftest.er1
 
8538
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
8539
  (eval $ac_link) 2>conftest.er1
9243
8540
  ac_status=$?
9244
8541
  grep -v '^ *+' conftest.er1 >conftest.err
9245
8542
  rm -f conftest.er1
9246
8543
  cat conftest.err >&5
9247
8544
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9248
 
  (exit $ac_status); } && {
9249
 
         test -z "$ac_c_werror_flag" ||
9250
 
         test ! -s conftest.err
9251
 
       } && test -s conftest$ac_exeext &&
9252
 
       $as_test_x conftest$ac_exeext; then
 
8545
  (exit $ac_status); } &&
 
8546
         { ac_try='test -z "$ac_c_werror_flag"
 
8547
                         || test ! -s conftest.err'
 
8548
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8549
  (eval $ac_try) 2>&5
 
8550
  ac_status=$?
 
8551
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8552
  (exit $ac_status); }; } &&
 
8553
         { ac_try='test -s conftest$ac_exeext'
 
8554
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8555
  (eval $ac_try) 2>&5
 
8556
  ac_status=$?
 
8557
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8558
  (exit $ac_status); }; }; then
9253
8559
 
9254
8560
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9255
8561
}'`
9260
8566
  echo "$as_me: failed program was:" >&5
9261
8567
sed 's/^/| /' conftest.$ac_ext >&5
9262
8568
 
9263
 
 
9264
8569
fi
9265
 
 
9266
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
8570
rm -f conftest.err conftest.$ac_objext \
9267
8571
      conftest$ac_exeext conftest.$ac_ext
9268
8572
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9269
8573
 
9292
8596
}
9293
8597
_ACEOF
9294
8598
rm -f conftest.$ac_objext conftest$ac_exeext
9295
 
if { (ac_try="$ac_link"
9296
 
case "(($ac_try" in
9297
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9298
 
  *) ac_try_echo=$ac_try;;
9299
 
esac
9300
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9301
 
  (eval "$ac_link") 2>conftest.er1
 
8599
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
8600
  (eval $ac_link) 2>conftest.er1
9302
8601
  ac_status=$?
9303
8602
  grep -v '^ *+' conftest.er1 >conftest.err
9304
8603
  rm -f conftest.er1
9305
8604
  cat conftest.err >&5
9306
8605
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9307
 
  (exit $ac_status); } && {
9308
 
         test -z "$ac_c_werror_flag" ||
9309
 
         test ! -s conftest.err
9310
 
       } && test -s conftest$ac_exeext &&
9311
 
       $as_test_x conftest$ac_exeext; then
 
8606
  (exit $ac_status); } &&
 
8607
         { ac_try='test -z "$ac_c_werror_flag"
 
8608
                         || test ! -s conftest.err'
 
8609
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8610
  (eval $ac_try) 2>&5
 
8611
  ac_status=$?
 
8612
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8613
  (exit $ac_status); }; } &&
 
8614
         { ac_try='test -s conftest$ac_exeext'
 
8615
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8616
  (eval $ac_try) 2>&5
 
8617
  ac_status=$?
 
8618
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8619
  (exit $ac_status); }; }; then
9312
8620
 
9313
8621
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9314
8622
}'`
9319
8627
  echo "$as_me: failed program was:" >&5
9320
8628
sed 's/^/| /' conftest.$ac_ext >&5
9321
8629
 
9322
 
 
9323
8630
fi
9324
 
 
9325
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
8631
rm -f conftest.err conftest.$ac_objext \
9326
8632
      conftest$ac_exeext conftest.$ac_ext
9327
8633
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9328
8634
 
9453
8759
      ;;
9454
8760
 
9455
8761
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9456
 
    freebsd* | dragonfly*)
 
8762
    freebsd* | kfreebsd*-gnu | dragonfly*)
9457
8763
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9458
8764
      hardcode_libdir_flag_spec='-R$libdir'
9459
8765
      hardcode_direct=yes
9555
8861
      link_all_deplibs=yes
9556
8862
      ;;
9557
8863
 
9558
 
    netbsd* | netbsdelf*-gnu)
 
8864
    netbsd*)
9559
8865
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9560
8866
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9561
8867
      else
9771
9077
    esac
9772
9078
  fi
9773
9079
 
9774
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9775
 
echo "${ECHO_T}$ld_shlibs" >&6; }
 
9080
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
9081
echo "${ECHO_T}$ld_shlibs" >&6
9776
9082
test "$ld_shlibs" = no && can_build_shared=no
9777
9083
 
9778
9084
#
9792
9098
      # Test whether the compiler implicitly links with -lc since on some
9793
9099
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9794
9100
      # to ld, don't add -lc before -lgcc.
9795
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9796
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 
9101
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
9102
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9797
9103
      $rm conftest*
9798
9104
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
9799
9105
 
9830
9136
        cat conftest.err 1>&5
9831
9137
      fi
9832
9138
      $rm conftest*
9833
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9834
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
 
9139
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
9140
echo "${ECHO_T}$archive_cmds_need_lc" >&6
9835
9141
      ;;
9836
9142
    esac
9837
9143
  fi
9838
9144
  ;;
9839
9145
esac
9840
9146
 
9841
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9842
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
9147
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
9148
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9843
9149
library_names_spec=
9844
9150
libname_spec='lib$name'
9845
9151
soname_spec=
10045
9351
  dynamic_linker=no
10046
9352
  ;;
10047
9353
 
 
9354
kfreebsd*-gnu)
 
9355
  version_type=linux
 
9356
  need_lib_prefix=no
 
9357
  need_version=no
 
9358
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
9359
  soname_spec='${libname}${release}${shared_ext}$major'
 
9360
  shlibpath_var=LD_LIBRARY_PATH
 
9361
  shlibpath_overrides_runpath=no
 
9362
  hardcode_into_libs=yes
 
9363
  dynamic_linker='GNU ld.so'
 
9364
  ;;
 
9365
 
10048
9366
freebsd* | dragonfly*)
10049
9367
  # DragonFly does not have aout.  When/if they implement a new
10050
9368
  # versioning mechanism, adjust this.
10200
9518
  ;;
10201
9519
 
10202
9520
# This must be Linux ELF.
10203
 
linux* | k*bsd*-gnu)
 
9521
linux*)
10204
9522
  version_type=linux
10205
9523
  need_lib_prefix=no
10206
9524
  need_version=no
10229
9547
  dynamic_linker='GNU/Linux ld.so'
10230
9548
  ;;
10231
9549
 
10232
 
netbsdelf*-gnu)
 
9550
knetbsd*-gnu)
10233
9551
  version_type=linux
10234
9552
  need_lib_prefix=no
10235
9553
  need_version=no
10238
9556
  shlibpath_var=LD_LIBRARY_PATH
10239
9557
  shlibpath_overrides_runpath=no
10240
9558
  hardcode_into_libs=yes
10241
 
  dynamic_linker='NetBSD ld.elf_so'
 
9559
  dynamic_linker='GNU ld.so'
10242
9560
  ;;
10243
9561
 
10244
9562
netbsd*)
10414
9732
  dynamic_linker=no
10415
9733
  ;;
10416
9734
esac
10417
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10418
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
9735
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
9736
echo "${ECHO_T}$dynamic_linker" >&6
10419
9737
test "$dynamic_linker" = no && can_build_shared=no
10420
9738
 
10421
9739
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10423
9741
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10424
9742
fi
10425
9743
 
10426
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10427
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
9744
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
9745
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10428
9746
hardcode_action=
10429
9747
if test -n "$hardcode_libdir_flag_spec" || \
10430
9748
   test -n "$runpath_var" || \
10448
9766
  # directories.
10449
9767
  hardcode_action=unsupported
10450
9768
fi
10451
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
10452
 
echo "${ECHO_T}$hardcode_action" >&6; }
 
9769
echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
9770
echo "${ECHO_T}$hardcode_action" >&6
10453
9771
 
10454
9772
if test "$hardcode_action" = relink; then
10455
9773
  # Fast installation is not supported
10462
9780
 
10463
9781
striplib=
10464
9782
old_striplib=
10465
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10466
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
 
9783
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
9784
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10467
9785
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10468
9786
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10469
9787
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10470
 
  { echo "$as_me:$LINENO: result: yes" >&5
10471
 
echo "${ECHO_T}yes" >&6; }
 
9788
  echo "$as_me:$LINENO: result: yes" >&5
 
9789
echo "${ECHO_T}yes" >&6
10472
9790
else
10473
9791
# FIXME - insert some real tests, host_os isn't really good enough
10474
9792
  case $host_os in
10475
9793
   darwin*)
10476
9794
       if test -n "$STRIP" ; then
10477
9795
         striplib="$STRIP -x"
10478
 
         { echo "$as_me:$LINENO: result: yes" >&5
10479
 
echo "${ECHO_T}yes" >&6; }
 
9796
         echo "$as_me:$LINENO: result: yes" >&5
 
9797
echo "${ECHO_T}yes" >&6
10480
9798
       else
10481
 
  { echo "$as_me:$LINENO: result: no" >&5
10482
 
echo "${ECHO_T}no" >&6; }
 
9799
  echo "$as_me:$LINENO: result: no" >&5
 
9800
echo "${ECHO_T}no" >&6
10483
9801
fi
10484
9802
       ;;
10485
9803
   *)
10486
 
  { echo "$as_me:$LINENO: result: no" >&5
10487
 
echo "${ECHO_T}no" >&6; }
 
9804
  echo "$as_me:$LINENO: result: no" >&5
 
9805
echo "${ECHO_T}no" >&6
10488
9806
    ;;
10489
9807
  esac
10490
9808
fi
10516
9834
 
10517
9835
  darwin*)
10518
9836
  # if libdl is installed we need to link against it
10519
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10520
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
9837
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9838
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10521
9839
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10522
9840
  echo $ECHO_N "(cached) $ECHO_C" >&6
10523
9841
else
10530
9848
cat >>conftest.$ac_ext <<_ACEOF
10531
9849
/* end confdefs.h.  */
10532
9850
 
10533
 
/* Override any GCC internal prototype to avoid an error.
10534
 
   Use char because int might match the return type of a GCC
10535
 
   builtin and then its argument prototype would still apply.  */
 
9851
/* Override any gcc2 internal prototype to avoid an error.  */
10536
9852
#ifdef __cplusplus
10537
9853
extern "C"
10538
9854
#endif
 
9855
/* We use char because int might match the return type of a gcc2
 
9856
   builtin and then its argument prototype would still apply.  */
10539
9857
char dlopen ();
10540
9858
int
10541
9859
main ()
10542
9860
{
10543
 
return dlopen ();
 
9861
dlopen ();
10544
9862
  ;
10545
9863
  return 0;
10546
9864
}
10547
9865
_ACEOF
10548
9866
rm -f conftest.$ac_objext conftest$ac_exeext
10549
 
if { (ac_try="$ac_link"
10550
 
case "(($ac_try" in
10551
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10552
 
  *) ac_try_echo=$ac_try;;
10553
 
esac
10554
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10555
 
  (eval "$ac_link") 2>conftest.er1
 
9867
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
9868
  (eval $ac_link) 2>conftest.er1
10556
9869
  ac_status=$?
10557
9870
  grep -v '^ *+' conftest.er1 >conftest.err
10558
9871
  rm -f conftest.er1
10559
9872
  cat conftest.err >&5
10560
9873
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10561
 
  (exit $ac_status); } && {
10562
 
         test -z "$ac_c_werror_flag" ||
10563
 
         test ! -s conftest.err
10564
 
       } && test -s conftest$ac_exeext &&
10565
 
       $as_test_x conftest$ac_exeext; then
 
9874
  (exit $ac_status); } &&
 
9875
         { ac_try='test -z "$ac_c_werror_flag"
 
9876
                         || test ! -s conftest.err'
 
9877
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
9878
  (eval $ac_try) 2>&5
 
9879
  ac_status=$?
 
9880
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9881
  (exit $ac_status); }; } &&
 
9882
         { ac_try='test -s conftest$ac_exeext'
 
9883
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
9884
  (eval $ac_try) 2>&5
 
9885
  ac_status=$?
 
9886
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9887
  (exit $ac_status); }; }; then
10566
9888
  ac_cv_lib_dl_dlopen=yes
10567
9889
else
10568
9890
  echo "$as_me: failed program was:" >&5
10569
9891
sed 's/^/| /' conftest.$ac_ext >&5
10570
9892
 
10571
 
        ac_cv_lib_dl_dlopen=no
 
9893
ac_cv_lib_dl_dlopen=no
10572
9894
fi
10573
 
 
10574
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
9895
rm -f conftest.err conftest.$ac_objext \
10575
9896
      conftest$ac_exeext conftest.$ac_ext
10576
9897
LIBS=$ac_check_lib_save_LIBS
10577
9898
fi
10578
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10579
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
 
9899
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9900
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10580
9901
if test $ac_cv_lib_dl_dlopen = yes; then
10581
9902
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10582
9903
else
10590
9911
   ;;
10591
9912
 
10592
9913
  *)
10593
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
10594
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
 
9914
    echo "$as_me:$LINENO: checking for shl_load" >&5
 
9915
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10595
9916
if test "${ac_cv_func_shl_load+set}" = set; then
10596
9917
  echo $ECHO_N "(cached) $ECHO_C" >&6
10597
9918
else
10618
9939
 
10619
9940
#undef shl_load
10620
9941
 
10621
 
/* Override any GCC internal prototype to avoid an error.
10622
 
   Use char because int might match the return type of a GCC
 
9942
/* Override any gcc2 internal prototype to avoid an error.  */
 
9943
#ifdef __cplusplus
 
9944
extern "C"
 
9945
{
 
9946
#endif
 
9947
/* We use char because int might match the return type of a gcc2
10623
9948
   builtin and then its argument prototype would still apply.  */
10624
 
#ifdef __cplusplus
10625
 
extern "C"
10626
 
#endif
10627
9949
char shl_load ();
10628
9950
/* The GNU C library defines this for functions which it implements
10629
9951
    to always fail with ENOSYS.  Some functions are actually named
10630
9952
    something starting with __ and the normal name is an alias.  */
10631
 
#if defined __stub_shl_load || defined __stub___shl_load
 
9953
#if defined (__stub_shl_load) || defined (__stub___shl_load)
10632
9954
choke me
 
9955
#else
 
9956
char (*f) () = shl_load;
 
9957
#endif
 
9958
#ifdef __cplusplus
 
9959
}
10633
9960
#endif
10634
9961
 
10635
9962
int
10636
9963
main ()
10637
9964
{
10638
 
return shl_load ();
 
9965
return f != shl_load;
10639
9966
  ;
10640
9967
  return 0;
10641
9968
}
10642
9969
_ACEOF
10643
9970
rm -f conftest.$ac_objext conftest$ac_exeext
10644
 
if { (ac_try="$ac_link"
10645
 
case "(($ac_try" in
10646
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10647
 
  *) ac_try_echo=$ac_try;;
10648
 
esac
10649
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10650
 
  (eval "$ac_link") 2>conftest.er1
 
9971
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
9972
  (eval $ac_link) 2>conftest.er1
10651
9973
  ac_status=$?
10652
9974
  grep -v '^ *+' conftest.er1 >conftest.err
10653
9975
  rm -f conftest.er1
10654
9976
  cat conftest.err >&5
10655
9977
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10656
 
  (exit $ac_status); } && {
10657
 
         test -z "$ac_c_werror_flag" ||
10658
 
         test ! -s conftest.err
10659
 
       } && test -s conftest$ac_exeext &&
10660
 
       $as_test_x conftest$ac_exeext; then
 
9978
  (exit $ac_status); } &&
 
9979
         { ac_try='test -z "$ac_c_werror_flag"
 
9980
                         || test ! -s conftest.err'
 
9981
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
9982
  (eval $ac_try) 2>&5
 
9983
  ac_status=$?
 
9984
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9985
  (exit $ac_status); }; } &&
 
9986
         { ac_try='test -s conftest$ac_exeext'
 
9987
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
9988
  (eval $ac_try) 2>&5
 
9989
  ac_status=$?
 
9990
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9991
  (exit $ac_status); }; }; then
10661
9992
  ac_cv_func_shl_load=yes
10662
9993
else
10663
9994
  echo "$as_me: failed program was:" >&5
10664
9995
sed 's/^/| /' conftest.$ac_ext >&5
10665
9996
 
10666
 
        ac_cv_func_shl_load=no
 
9997
ac_cv_func_shl_load=no
10667
9998
fi
10668
 
 
10669
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
9999
rm -f conftest.err conftest.$ac_objext \
10670
10000
      conftest$ac_exeext conftest.$ac_ext
10671
10001
fi
10672
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10673
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
 
10002
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
10003
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10674
10004
if test $ac_cv_func_shl_load = yes; then
10675
10005
  lt_cv_dlopen="shl_load"
10676
10006
else
10677
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10678
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
 
10007
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
10008
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10679
10009
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10680
10010
  echo $ECHO_N "(cached) $ECHO_C" >&6
10681
10011
else
10688
10018
cat >>conftest.$ac_ext <<_ACEOF
10689
10019
/* end confdefs.h.  */
10690
10020
 
10691
 
/* Override any GCC internal prototype to avoid an error.
10692
 
   Use char because int might match the return type of a GCC
10693
 
   builtin and then its argument prototype would still apply.  */
 
10021
/* Override any gcc2 internal prototype to avoid an error.  */
10694
10022
#ifdef __cplusplus
10695
10023
extern "C"
10696
10024
#endif
 
10025
/* We use char because int might match the return type of a gcc2
 
10026
   builtin and then its argument prototype would still apply.  */
10697
10027
char shl_load ();
10698
10028
int
10699
10029
main ()
10700
10030
{
10701
 
return shl_load ();
 
10031
shl_load ();
10702
10032
  ;
10703
10033
  return 0;
10704
10034
}
10705
10035
_ACEOF
10706
10036
rm -f conftest.$ac_objext conftest$ac_exeext
10707
 
if { (ac_try="$ac_link"
10708
 
case "(($ac_try" in
10709
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10710
 
  *) ac_try_echo=$ac_try;;
10711
 
esac
10712
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10713
 
  (eval "$ac_link") 2>conftest.er1
 
10037
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10038
  (eval $ac_link) 2>conftest.er1
10714
10039
  ac_status=$?
10715
10040
  grep -v '^ *+' conftest.er1 >conftest.err
10716
10041
  rm -f conftest.er1
10717
10042
  cat conftest.err >&5
10718
10043
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10719
 
  (exit $ac_status); } && {
10720
 
         test -z "$ac_c_werror_flag" ||
10721
 
         test ! -s conftest.err
10722
 
       } && test -s conftest$ac_exeext &&
10723
 
       $as_test_x conftest$ac_exeext; then
 
10044
  (exit $ac_status); } &&
 
10045
         { ac_try='test -z "$ac_c_werror_flag"
 
10046
                         || test ! -s conftest.err'
 
10047
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
10048
  (eval $ac_try) 2>&5
 
10049
  ac_status=$?
 
10050
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10051
  (exit $ac_status); }; } &&
 
10052
         { ac_try='test -s conftest$ac_exeext'
 
10053
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
10054
  (eval $ac_try) 2>&5
 
10055
  ac_status=$?
 
10056
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10057
  (exit $ac_status); }; }; then
10724
10058
  ac_cv_lib_dld_shl_load=yes
10725
10059
else
10726
10060
  echo "$as_me: failed program was:" >&5
10727
10061
sed 's/^/| /' conftest.$ac_ext >&5
10728
10062
 
10729
 
        ac_cv_lib_dld_shl_load=no
 
10063
ac_cv_lib_dld_shl_load=no
10730
10064
fi
10731
 
 
10732
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10065
rm -f conftest.err conftest.$ac_objext \
10733
10066
      conftest$ac_exeext conftest.$ac_ext
10734
10067
LIBS=$ac_check_lib_save_LIBS
10735
10068
fi
10736
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10737
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
 
10069
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
10070
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10738
10071
if test $ac_cv_lib_dld_shl_load = yes; then
10739
10072
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10740
10073
else
10741
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
10742
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
 
10074
  echo "$as_me:$LINENO: checking for dlopen" >&5
 
10075
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10743
10076
if test "${ac_cv_func_dlopen+set}" = set; then
10744
10077
  echo $ECHO_N "(cached) $ECHO_C" >&6
10745
10078
else
10766
10099
 
10767
10100
#undef dlopen
10768
10101
 
10769
 
/* Override any GCC internal prototype to avoid an error.
10770
 
   Use char because int might match the return type of a GCC
 
10102
/* Override any gcc2 internal prototype to avoid an error.  */
 
10103
#ifdef __cplusplus
 
10104
extern "C"
 
10105
{
 
10106
#endif
 
10107
/* We use char because int might match the return type of a gcc2
10771
10108
   builtin and then its argument prototype would still apply.  */
10772
 
#ifdef __cplusplus
10773
 
extern "C"
10774
 
#endif
10775
10109
char dlopen ();
10776
10110
/* The GNU C library defines this for functions which it implements
10777
10111
    to always fail with ENOSYS.  Some functions are actually named
10778
10112
    something starting with __ and the normal name is an alias.  */
10779
 
#if defined __stub_dlopen || defined __stub___dlopen
 
10113
#if defined (__stub_dlopen) || defined (__stub___dlopen)
10780
10114
choke me
 
10115
#else
 
10116
char (*f) () = dlopen;
 
10117
#endif
 
10118
#ifdef __cplusplus
 
10119
}
10781
10120
#endif
10782
10121
 
10783
10122
int
10784
10123
main ()
10785
10124
{
10786
 
return dlopen ();
 
10125
return f != dlopen;
10787
10126
  ;
10788
10127
  return 0;
10789
10128
}
10790
10129
_ACEOF
10791
10130
rm -f conftest.$ac_objext conftest$ac_exeext
10792
 
if { (ac_try="$ac_link"
10793
 
case "(($ac_try" in
10794
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10795
 
  *) ac_try_echo=$ac_try;;
10796
 
esac
10797
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10798
 
  (eval "$ac_link") 2>conftest.er1
 
10131
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10132
  (eval $ac_link) 2>conftest.er1
10799
10133
  ac_status=$?
10800
10134
  grep -v '^ *+' conftest.er1 >conftest.err
10801
10135
  rm -f conftest.er1
10802
10136
  cat conftest.err >&5
10803
10137
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10804
 
  (exit $ac_status); } && {
10805
 
         test -z "$ac_c_werror_flag" ||
10806
 
         test ! -s conftest.err
10807
 
       } && test -s conftest$ac_exeext &&
10808
 
       $as_test_x conftest$ac_exeext; then
 
10138
  (exit $ac_status); } &&
 
10139
         { ac_try='test -z "$ac_c_werror_flag"
 
10140
                         || test ! -s conftest.err'
 
10141
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
10142
  (eval $ac_try) 2>&5
 
10143
  ac_status=$?
 
10144
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10145
  (exit $ac_status); }; } &&
 
10146
         { ac_try='test -s conftest$ac_exeext'
 
10147
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
10148
  (eval $ac_try) 2>&5
 
10149
  ac_status=$?
 
10150
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10151
  (exit $ac_status); }; }; then
10809
10152
  ac_cv_func_dlopen=yes
10810
10153
else
10811
10154
  echo "$as_me: failed program was:" >&5
10812
10155
sed 's/^/| /' conftest.$ac_ext >&5
10813
10156
 
10814
 
        ac_cv_func_dlopen=no
 
10157
ac_cv_func_dlopen=no
10815
10158
fi
10816
 
 
10817
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10159
rm -f conftest.err conftest.$ac_objext \
10818
10160
      conftest$ac_exeext conftest.$ac_ext
10819
10161
fi
10820
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10821
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
 
10162
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
10163
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10822
10164
if test $ac_cv_func_dlopen = yes; then
10823
10165
  lt_cv_dlopen="dlopen"
10824
10166
else
10825
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10826
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
10167
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10168
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10827
10169
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10828
10170
  echo $ECHO_N "(cached) $ECHO_C" >&6
10829
10171
else
10836
10178
cat >>conftest.$ac_ext <<_ACEOF
10837
10179
/* end confdefs.h.  */
10838
10180
 
10839
 
/* Override any GCC internal prototype to avoid an error.
10840
 
   Use char because int might match the return type of a GCC
10841
 
   builtin and then its argument prototype would still apply.  */
 
10181
/* Override any gcc2 internal prototype to avoid an error.  */
10842
10182
#ifdef __cplusplus
10843
10183
extern "C"
10844
10184
#endif
 
10185
/* We use char because int might match the return type of a gcc2
 
10186
   builtin and then its argument prototype would still apply.  */
10845
10187
char dlopen ();
10846
10188
int
10847
10189
main ()
10848
10190
{
10849
 
return dlopen ();
 
10191
dlopen ();
10850
10192
  ;
10851
10193
  return 0;
10852
10194
}
10853
10195
_ACEOF
10854
10196
rm -f conftest.$ac_objext conftest$ac_exeext
10855
 
if { (ac_try="$ac_link"
10856
 
case "(($ac_try" in
10857
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10858
 
  *) ac_try_echo=$ac_try;;
10859
 
esac
10860
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10861
 
  (eval "$ac_link") 2>conftest.er1
 
10197
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10198
  (eval $ac_link) 2>conftest.er1
10862
10199
  ac_status=$?
10863
10200
  grep -v '^ *+' conftest.er1 >conftest.err
10864
10201
  rm -f conftest.er1
10865
10202
  cat conftest.err >&5
10866
10203
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10867
 
  (exit $ac_status); } && {
10868
 
         test -z "$ac_c_werror_flag" ||
10869
 
         test ! -s conftest.err
10870
 
       } && test -s conftest$ac_exeext &&
10871
 
       $as_test_x conftest$ac_exeext; then
 
10204
  (exit $ac_status); } &&
 
10205
         { ac_try='test -z "$ac_c_werror_flag"
 
10206
                         || test ! -s conftest.err'
 
10207
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
10208
  (eval $ac_try) 2>&5
 
10209
  ac_status=$?
 
10210
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10211
  (exit $ac_status); }; } &&
 
10212
         { ac_try='test -s conftest$ac_exeext'
 
10213
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
10214
  (eval $ac_try) 2>&5
 
10215
  ac_status=$?
 
10216
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10217
  (exit $ac_status); }; }; then
10872
10218
  ac_cv_lib_dl_dlopen=yes
10873
10219
else
10874
10220
  echo "$as_me: failed program was:" >&5
10875
10221
sed 's/^/| /' conftest.$ac_ext >&5
10876
10222
 
10877
 
        ac_cv_lib_dl_dlopen=no
 
10223
ac_cv_lib_dl_dlopen=no
10878
10224
fi
10879
 
 
10880
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10225
rm -f conftest.err conftest.$ac_objext \
10881
10226
      conftest$ac_exeext conftest.$ac_ext
10882
10227
LIBS=$ac_check_lib_save_LIBS
10883
10228
fi
10884
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10885
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
 
10229
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10230
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10886
10231
if test $ac_cv_lib_dl_dlopen = yes; then
10887
10232
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10888
10233
else
10889
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10890
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
 
10234
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
10235
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10891
10236
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10892
10237
  echo $ECHO_N "(cached) $ECHO_C" >&6
10893
10238
else
10900
10245
cat >>conftest.$ac_ext <<_ACEOF
10901
10246
/* end confdefs.h.  */
10902
10247
 
10903
 
/* Override any GCC internal prototype to avoid an error.
10904
 
   Use char because int might match the return type of a GCC
10905
 
   builtin and then its argument prototype would still apply.  */
 
10248
/* Override any gcc2 internal prototype to avoid an error.  */
10906
10249
#ifdef __cplusplus
10907
10250
extern "C"
10908
10251
#endif
 
10252
/* We use char because int might match the return type of a gcc2
 
10253
   builtin and then its argument prototype would still apply.  */
10909
10254
char dlopen ();
10910
10255
int
10911
10256
main ()
10912
10257
{
10913
 
return dlopen ();
 
10258
dlopen ();
10914
10259
  ;
10915
10260
  return 0;
10916
10261
}
10917
10262
_ACEOF
10918
10263
rm -f conftest.$ac_objext conftest$ac_exeext
10919
 
if { (ac_try="$ac_link"
10920
 
case "(($ac_try" in
10921
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10922
 
  *) ac_try_echo=$ac_try;;
10923
 
esac
10924
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10925
 
  (eval "$ac_link") 2>conftest.er1
 
10264
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10265
  (eval $ac_link) 2>conftest.er1
10926
10266
  ac_status=$?
10927
10267
  grep -v '^ *+' conftest.er1 >conftest.err
10928
10268
  rm -f conftest.er1
10929
10269
  cat conftest.err >&5
10930
10270
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10931
 
  (exit $ac_status); } && {
10932
 
         test -z "$ac_c_werror_flag" ||
10933
 
         test ! -s conftest.err
10934
 
       } && test -s conftest$ac_exeext &&
10935
 
       $as_test_x conftest$ac_exeext; then
 
10271
  (exit $ac_status); } &&
 
10272
         { ac_try='test -z "$ac_c_werror_flag"
 
10273
                         || test ! -s conftest.err'
 
10274
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
10275
  (eval $ac_try) 2>&5
 
10276
  ac_status=$?
 
10277
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10278
  (exit $ac_status); }; } &&
 
10279
         { ac_try='test -s conftest$ac_exeext'
 
10280
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
10281
  (eval $ac_try) 2>&5
 
10282
  ac_status=$?
 
10283
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10284
  (exit $ac_status); }; }; then
10936
10285
  ac_cv_lib_svld_dlopen=yes
10937
10286
else
10938
10287
  echo "$as_me: failed program was:" >&5
10939
10288
sed 's/^/| /' conftest.$ac_ext >&5
10940
10289
 
10941
 
        ac_cv_lib_svld_dlopen=no
 
10290
ac_cv_lib_svld_dlopen=no
10942
10291
fi
10943
 
 
10944
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10292
rm -f conftest.err conftest.$ac_objext \
10945
10293
      conftest$ac_exeext conftest.$ac_ext
10946
10294
LIBS=$ac_check_lib_save_LIBS
10947
10295
fi
10948
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10949
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
 
10296
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
10297
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10950
10298
if test $ac_cv_lib_svld_dlopen = yes; then
10951
10299
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10952
10300
else
10953
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10954
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
 
10301
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
10302
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10955
10303
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10956
10304
  echo $ECHO_N "(cached) $ECHO_C" >&6
10957
10305
else
10964
10312
cat >>conftest.$ac_ext <<_ACEOF
10965
10313
/* end confdefs.h.  */
10966
10314
 
10967
 
/* Override any GCC internal prototype to avoid an error.
10968
 
   Use char because int might match the return type of a GCC
10969
 
   builtin and then its argument prototype would still apply.  */
 
10315
/* Override any gcc2 internal prototype to avoid an error.  */
10970
10316
#ifdef __cplusplus
10971
10317
extern "C"
10972
10318
#endif
 
10319
/* We use char because int might match the return type of a gcc2
 
10320
   builtin and then its argument prototype would still apply.  */
10973
10321
char dld_link ();
10974
10322
int
10975
10323
main ()
10976
10324
{
10977
 
return dld_link ();
 
10325
dld_link ();
10978
10326
  ;
10979
10327
  return 0;
10980
10328
}
10981
10329
_ACEOF
10982
10330
rm -f conftest.$ac_objext conftest$ac_exeext
10983
 
if { (ac_try="$ac_link"
10984
 
case "(($ac_try" in
10985
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10986
 
  *) ac_try_echo=$ac_try;;
10987
 
esac
10988
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10989
 
  (eval "$ac_link") 2>conftest.er1
 
10331
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10332
  (eval $ac_link) 2>conftest.er1
10990
10333
  ac_status=$?
10991
10334
  grep -v '^ *+' conftest.er1 >conftest.err
10992
10335
  rm -f conftest.er1
10993
10336
  cat conftest.err >&5
10994
10337
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10995
 
  (exit $ac_status); } && {
10996
 
         test -z "$ac_c_werror_flag" ||
10997
 
         test ! -s conftest.err
10998
 
       } && test -s conftest$ac_exeext &&
10999
 
       $as_test_x conftest$ac_exeext; then
 
10338
  (exit $ac_status); } &&
 
10339
         { ac_try='test -z "$ac_c_werror_flag"
 
10340
                         || test ! -s conftest.err'
 
10341
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
10342
  (eval $ac_try) 2>&5
 
10343
  ac_status=$?
 
10344
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10345
  (exit $ac_status); }; } &&
 
10346
         { ac_try='test -s conftest$ac_exeext'
 
10347
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
10348
  (eval $ac_try) 2>&5
 
10349
  ac_status=$?
 
10350
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10351
  (exit $ac_status); }; }; then
11000
10352
  ac_cv_lib_dld_dld_link=yes
11001
10353
else
11002
10354
  echo "$as_me: failed program was:" >&5
11003
10355
sed 's/^/| /' conftest.$ac_ext >&5
11004
10356
 
11005
 
        ac_cv_lib_dld_dld_link=no
 
10357
ac_cv_lib_dld_dld_link=no
11006
10358
fi
11007
 
 
11008
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10359
rm -f conftest.err conftest.$ac_objext \
11009
10360
      conftest$ac_exeext conftest.$ac_ext
11010
10361
LIBS=$ac_check_lib_save_LIBS
11011
10362
fi
11012
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11013
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
 
10363
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
10364
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11014
10365
if test $ac_cv_lib_dld_dld_link = yes; then
11015
10366
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
11016
10367
fi
11050
10401
    save_LIBS="$LIBS"
11051
10402
    LIBS="$lt_cv_dlopen_libs $LIBS"
11052
10403
 
11053
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11054
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
 
10404
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
10405
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
11055
10406
if test "${lt_cv_dlopen_self+set}" = set; then
11056
10407
  echo $ECHO_N "(cached) $ECHO_C" >&6
11057
10408
else
11061
10412
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11062
10413
  lt_status=$lt_dlunknown
11063
10414
  cat > conftest.$ac_ext <<EOF
11064
 
#line 11064 "configure"
 
10415
#line 10415 "configure"
11065
10416
#include "confdefs.h"
11066
10417
 
11067
10418
#if HAVE_DLFCN_H
11145
10496
 
11146
10497
 
11147
10498
fi
11148
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11149
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
 
10499
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10500
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
11150
10501
 
11151
10502
    if test "x$lt_cv_dlopen_self" = xyes; then
11152
10503
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11153
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11154
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
 
10504
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10505
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
11155
10506
if test "${lt_cv_dlopen_self_static+set}" = set; then
11156
10507
  echo $ECHO_N "(cached) $ECHO_C" >&6
11157
10508
else
11161
10512
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11162
10513
  lt_status=$lt_dlunknown
11163
10514
  cat > conftest.$ac_ext <<EOF
11164
 
#line 11164 "configure"
 
10515
#line 10515 "configure"
11165
10516
#include "confdefs.h"
11166
10517
 
11167
10518
#if HAVE_DLFCN_H
11245
10596
 
11246
10597
 
11247
10598
fi
11248
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11249
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
 
10599
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
10600
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11250
10601
    fi
11251
10602
 
11252
10603
    CPPFLAGS="$save_CPPFLAGS"
11268
10619
 
11269
10620
 
11270
10621
# Report which library types will actually be built
11271
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11272
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11273
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
11274
 
echo "${ECHO_T}$can_build_shared" >&6; }
 
10622
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
10623
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
 
10624
echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
10625
echo "${ECHO_T}$can_build_shared" >&6
11275
10626
 
11276
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11277
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
 
10627
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
10628
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11278
10629
test "$can_build_shared" = "no" && enable_shared=no
11279
10630
 
11280
10631
# On AIX, shared libraries and static libraries use the same namespace, and
11294
10645
  fi
11295
10646
    ;;
11296
10647
esac
11297
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
11298
 
echo "${ECHO_T}$enable_shared" >&6; }
 
10648
echo "$as_me:$LINENO: result: $enable_shared" >&5
 
10649
echo "${ECHO_T}$enable_shared" >&6
11299
10650
 
11300
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11301
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
 
10651
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
10652
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11302
10653
# Make sure either enable_shared or enable_static is yes.
11303
10654
test "$enable_shared" = yes || enable_static=yes
11304
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
11305
 
echo "${ECHO_T}$enable_static" >&6; }
 
10655
echo "$as_me:$LINENO: result: $enable_static" >&5
 
10656
echo "${ECHO_T}$enable_static" >&6
11306
10657
 
11307
10658
# The else clause should only fire when bootstrapping the
11308
10659
# libtool distribution, otherwise you forgot to ship ltmain.sh
11794
11145
CC="$lt_save_CC"
11795
11146
 
11796
11147
 
11797
 
# Check whether --with-tags was given.
 
11148
# Check whether --with-tags or --without-tags was given.
11798
11149
if test "${with_tags+set}" = set; then
11799
 
  withval=$with_tags; tagnames="$withval"
11800
 
fi
11801
 
 
 
11150
  withval="$with_tags"
 
11151
  tagnames="$withval"
 
11152
fi;
11802
11153
 
11803
11154
if test -f "$ltmain" && test -n "$tagnames"; then
11804
11155
  if test ! -f "${ofile}"; then
11852
11203
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11853
11204
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11854
11205
            (test "X$CXX" != "Xg++"))) ; then
11855
 
          ac_ext=cpp
 
11206
          ac_ext=cc
11856
11207
ac_cpp='$CXXCPP $CPPFLAGS'
11857
11208
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11858
11209
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11971
11322
  # Set up default GNU C++ configuration
11972
11323
 
11973
11324
 
11974
 
# Check whether --with-gnu-ld was given.
 
11325
# Check whether --with-gnu-ld or --without-gnu-ld was given.
11975
11326
if test "${with_gnu_ld+set}" = set; then
11976
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
11327
  withval="$with_gnu_ld"
 
11328
  test "$withval" = no || with_gnu_ld=yes
11977
11329
else
11978
11330
  with_gnu_ld=no
11979
 
fi
11980
 
 
 
11331
fi;
11981
11332
ac_prog=ld
11982
11333
if test "$GCC" = yes; then
11983
11334
  # Check if gcc -print-prog-name=ld gives a path.
11984
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11985
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
11335
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
11336
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
11986
11337
  case $host in
11987
11338
  *-*-mingw*)
11988
11339
    # gcc leaves a trailing carriage return which upsets mingw
12011
11362
    ;;
12012
11363
  esac
12013
11364
elif test "$with_gnu_ld" = yes; then
12014
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
12015
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
11365
  echo "$as_me:$LINENO: checking for GNU ld" >&5
 
11366
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
12016
11367
else
12017
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12018
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
11368
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
11369
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
12019
11370
fi
12020
11371
if test "${lt_cv_path_LD+set}" = set; then
12021
11372
  echo $ECHO_N "(cached) $ECHO_C" >&6
12048
11399
 
12049
11400
LD="$lt_cv_path_LD"
12050
11401
if test -n "$LD"; then
12051
 
  { echo "$as_me:$LINENO: result: $LD" >&5
12052
 
echo "${ECHO_T}$LD" >&6; }
 
11402
  echo "$as_me:$LINENO: result: $LD" >&5
 
11403
echo "${ECHO_T}$LD" >&6
12053
11404
else
12054
 
  { echo "$as_me:$LINENO: result: no" >&5
12055
 
echo "${ECHO_T}no" >&6; }
 
11405
  echo "$as_me:$LINENO: result: no" >&5
 
11406
echo "${ECHO_T}no" >&6
12056
11407
fi
12057
11408
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12058
11409
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12059
11410
   { (exit 1); exit 1; }; }
12060
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12061
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
 
11411
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
11412
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
12062
11413
if test "${lt_cv_prog_gnu_ld+set}" = set; then
12063
11414
  echo $ECHO_N "(cached) $ECHO_C" >&6
12064
11415
else
12072
11423
  ;;
12073
11424
esac
12074
11425
fi
12075
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12076
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
11426
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
11427
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
12077
11428
with_gnu_ld=$lt_cv_prog_gnu_ld
12078
11429
 
12079
11430
 
12123
11474
fi
12124
11475
 
12125
11476
# PORTME: fill in a description of your system's C++ link characteristics
12126
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12127
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
11477
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
11478
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12128
11479
ld_shlibs_CXX=yes
12129
11480
case $host_os in
12130
11481
  aix3*)
12236
11587
}
12237
11588
_ACEOF
12238
11589
rm -f conftest.$ac_objext conftest$ac_exeext
12239
 
if { (ac_try="$ac_link"
12240
 
case "(($ac_try" in
12241
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12242
 
  *) ac_try_echo=$ac_try;;
12243
 
esac
12244
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12245
 
  (eval "$ac_link") 2>conftest.er1
 
11590
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11591
  (eval $ac_link) 2>conftest.er1
12246
11592
  ac_status=$?
12247
11593
  grep -v '^ *+' conftest.er1 >conftest.err
12248
11594
  rm -f conftest.er1
12249
11595
  cat conftest.err >&5
12250
11596
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12251
 
  (exit $ac_status); } && {
12252
 
         test -z "$ac_cxx_werror_flag" ||
12253
 
         test ! -s conftest.err
12254
 
       } && test -s conftest$ac_exeext &&
12255
 
       $as_test_x conftest$ac_exeext; then
 
11597
  (exit $ac_status); } &&
 
11598
         { ac_try='test -z "$ac_cxx_werror_flag"
 
11599
                         || test ! -s conftest.err'
 
11600
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
11601
  (eval $ac_try) 2>&5
 
11602
  ac_status=$?
 
11603
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11604
  (exit $ac_status); }; } &&
 
11605
         { ac_try='test -s conftest$ac_exeext'
 
11606
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
11607
  (eval $ac_try) 2>&5
 
11608
  ac_status=$?
 
11609
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11610
  (exit $ac_status); }; }; then
12256
11611
 
12257
11612
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12258
11613
}'`
12263
11618
  echo "$as_me: failed program was:" >&5
12264
11619
sed 's/^/| /' conftest.$ac_ext >&5
12265
11620
 
12266
 
 
12267
11621
fi
12268
 
 
12269
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11622
rm -f conftest.err conftest.$ac_objext \
12270
11623
      conftest$ac_exeext conftest.$ac_ext
12271
11624
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12272
11625
 
12296
11649
}
12297
11650
_ACEOF
12298
11651
rm -f conftest.$ac_objext conftest$ac_exeext
12299
 
if { (ac_try="$ac_link"
12300
 
case "(($ac_try" in
12301
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12302
 
  *) ac_try_echo=$ac_try;;
12303
 
esac
12304
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12305
 
  (eval "$ac_link") 2>conftest.er1
 
11652
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11653
  (eval $ac_link) 2>conftest.er1
12306
11654
  ac_status=$?
12307
11655
  grep -v '^ *+' conftest.er1 >conftest.err
12308
11656
  rm -f conftest.er1
12309
11657
  cat conftest.err >&5
12310
11658
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12311
 
  (exit $ac_status); } && {
12312
 
         test -z "$ac_cxx_werror_flag" ||
12313
 
         test ! -s conftest.err
12314
 
       } && test -s conftest$ac_exeext &&
12315
 
       $as_test_x conftest$ac_exeext; then
 
11659
  (exit $ac_status); } &&
 
11660
         { ac_try='test -z "$ac_cxx_werror_flag"
 
11661
                         || test ! -s conftest.err'
 
11662
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
11663
  (eval $ac_try) 2>&5
 
11664
  ac_status=$?
 
11665
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11666
  (exit $ac_status); }; } &&
 
11667
         { ac_try='test -s conftest$ac_exeext'
 
11668
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
11669
  (eval $ac_try) 2>&5
 
11670
  ac_status=$?
 
11671
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11672
  (exit $ac_status); }; }; then
12316
11673
 
12317
11674
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12318
11675
}'`
12323
11680
  echo "$as_me: failed program was:" >&5
12324
11681
sed 's/^/| /' conftest.$ac_ext >&5
12325
11682
 
12326
 
 
12327
11683
fi
12328
 
 
12329
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11684
rm -f conftest.err conftest.$ac_objext \
12330
11685
      conftest$ac_exeext conftest.$ac_ext
12331
11686
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12332
11687
 
12474
11829
  freebsd-elf*)
12475
11830
    archive_cmds_need_lc_CXX=no
12476
11831
    ;;
12477
 
  freebsd* | dragonfly*)
 
11832
  freebsd* | kfreebsd*-gnu | dragonfly*)
12478
11833
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12479
11834
    # conventions
12480
11835
    ld_shlibs_CXX=yes
12633
11988
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12634
11989
    hardcode_libdir_separator_CXX=:
12635
11990
    ;;
12636
 
  linux* | k*bsd*-gnu)
 
11991
  linux*)
12637
11992
    case $cc_basename in
12638
11993
      KCC*)
12639
11994
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12735
12090
        ;;
12736
12091
    esac
12737
12092
    ;;
12738
 
  netbsd* | netbsdelf*-gnu)
 
12093
  netbsd*)
12739
12094
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12740
12095
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12741
12096
      wlarc=
13057
12412
    ld_shlibs_CXX=no
13058
12413
    ;;
13059
12414
esac
13060
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13061
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
 
12415
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12416
echo "${ECHO_T}$ld_shlibs_CXX" >&6
13062
12417
test "$ld_shlibs_CXX" = no && can_build_shared=no
13063
12418
 
13064
12419
GCC_CXX="$GXX"
13197
12552
lt_prog_compiler_pic_CXX=
13198
12553
lt_prog_compiler_static_CXX=
13199
12554
 
13200
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13201
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
12555
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
12556
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13202
12557
 
13203
12558
  # C++ specific cases for pic, static, wl, etc.
13204
12559
  if test "$GXX" = yes; then
13302
12657
            ;;
13303
12658
        esac
13304
12659
        ;;
13305
 
      freebsd* | dragonfly*)
 
12660
      freebsd* | kfreebsd*-gnu | dragonfly*)
13306
12661
        # FreeBSD uses GNU C++
13307
12662
        ;;
13308
12663
      hpux9* | hpux10* | hpux11*)
13345
12700
            ;;
13346
12701
        esac
13347
12702
        ;;
13348
 
      linux* | k*bsd*-gnu)
 
12703
      linux*)
13349
12704
        case $cc_basename in
13350
12705
          KCC*)
13351
12706
            # KAI C++ Compiler
13388
12743
            ;;
13389
12744
        esac
13390
12745
        ;;
13391
 
      netbsd* | netbsdelf*-gnu)
 
12746
      netbsd*)
13392
12747
        ;;
13393
12748
      osf3* | osf4* | osf5*)
13394
12749
        case $cc_basename in
13471
12826
    esac
13472
12827
  fi
13473
12828
 
13474
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13475
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
 
12829
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
12830
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
13476
12831
 
13477
12832
#
13478
12833
# Check to make sure the PIC flag actually works.
13479
12834
#
13480
12835
if test -n "$lt_prog_compiler_pic_CXX"; then
13481
12836
 
13482
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13483
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
 
12837
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
12838
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
13484
12839
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
13485
12840
  echo $ECHO_N "(cached) $ECHO_C" >&6
13486
12841
else
13497
12852
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13498
12853
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13499
12854
   -e 's:$: $lt_compiler_flag:'`
13500
 
   (eval echo "\"\$as_me:13500: $lt_compile\"" >&5)
 
12855
   (eval echo "\"\$as_me:12855: $lt_compile\"" >&5)
13501
12856
   (eval "$lt_compile" 2>conftest.err)
13502
12857
   ac_status=$?
13503
12858
   cat conftest.err >&5
13504
 
   echo "$as_me:13504: \$? = $ac_status" >&5
 
12859
   echo "$as_me:12859: \$? = $ac_status" >&5
13505
12860
   if (exit $ac_status) && test -s "$ac_outfile"; then
13506
12861
     # The compiler can only warn and ignore the option if not recognized
13507
12862
     # So say no if there are warnings other than the usual output.
13514
12869
   $rm conftest*
13515
12870
 
13516
12871
fi
13517
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13518
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
 
12872
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
 
12873
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
13519
12874
 
13520
12875
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
13521
12876
    case $lt_prog_compiler_pic_CXX in
13542
12897
# Check to make sure the static flag actually works.
13543
12898
#
13544
12899
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13545
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13546
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
12900
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
12901
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13547
12902
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
13548
12903
  echo $ECHO_N "(cached) $ECHO_C" >&6
13549
12904
else
13570
12925
   LDFLAGS="$save_LDFLAGS"
13571
12926
 
13572
12927
fi
13573
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
13574
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
 
12928
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
 
12929
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
13575
12930
 
13576
12931
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
13577
12932
    :
13580
12935
fi
13581
12936
 
13582
12937
 
13583
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13584
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 
12938
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
12939
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13585
12940
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13586
12941
  echo $ECHO_N "(cached) $ECHO_C" >&6
13587
12942
else
13601
12956
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13602
12957
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13603
12958
   -e 's:$: $lt_compiler_flag:'`
13604
 
   (eval echo "\"\$as_me:13604: $lt_compile\"" >&5)
 
12959
   (eval echo "\"\$as_me:12959: $lt_compile\"" >&5)
13605
12960
   (eval "$lt_compile" 2>out/conftest.err)
13606
12961
   ac_status=$?
13607
12962
   cat out/conftest.err >&5
13608
 
   echo "$as_me:13608: \$? = $ac_status" >&5
 
12963
   echo "$as_me:12963: \$? = $ac_status" >&5
13609
12964
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13610
12965
   then
13611
12966
     # The compiler can only warn and ignore the option if not recognized
13627
12982
   $rm conftest*
13628
12983
 
13629
12984
fi
13630
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13631
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
12985
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
12986
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13632
12987
 
13633
12988
 
13634
12989
hard_links="nottested"
13635
12990
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13636
12991
  # do not overwrite the value of need_locks provided by the user
13637
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13638
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
12992
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
12993
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13639
12994
  hard_links=yes
13640
12995
  $rm conftest*
13641
12996
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13642
12997
  touch conftest.a
13643
12998
  ln conftest.a conftest.b 2>&5 || hard_links=no
13644
12999
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13645
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
13646
 
echo "${ECHO_T}$hard_links" >&6; }
 
13000
  echo "$as_me:$LINENO: result: $hard_links" >&5
 
13001
echo "${ECHO_T}$hard_links" >&6
13647
13002
  if test "$hard_links" = no; then
13648
13003
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13649
13004
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13653
13008
  need_locks=no
13654
13009
fi
13655
13010
 
13656
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13657
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
13011
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
13012
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13658
13013
 
13659
13014
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13660
13015
  case $host_os in
13673
13028
  cygwin* | mingw*)
13674
13029
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13675
13030
  ;;
13676
 
  linux* | k*bsd*-gnu)
13677
 
    link_all_deplibs_CXX=no
13678
 
  ;;
13679
13031
  *)
13680
13032
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13681
13033
  ;;
13682
13034
  esac
13683
13035
 
13684
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13685
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
 
13036
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
13037
echo "${ECHO_T}$ld_shlibs_CXX" >&6
13686
13038
test "$ld_shlibs_CXX" = no && can_build_shared=no
13687
13039
 
13688
13040
#
13702
13054
      # Test whether the compiler implicitly links with -lc since on some
13703
13055
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
13704
13056
      # to ld, don't add -lc before -lgcc.
13705
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13706
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 
13057
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
13058
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13707
13059
      $rm conftest*
13708
13060
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13709
13061
 
13740
13092
        cat conftest.err 1>&5
13741
13093
      fi
13742
13094
      $rm conftest*
13743
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13744
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
 
13095
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
13096
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
13745
13097
      ;;
13746
13098
    esac
13747
13099
  fi
13748
13100
  ;;
13749
13101
esac
13750
13102
 
13751
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13752
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
13103
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
13104
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13753
13105
library_names_spec=
13754
13106
libname_spec='lib$name'
13755
13107
soname_spec=
13955
13307
  dynamic_linker=no
13956
13308
  ;;
13957
13309
 
 
13310
kfreebsd*-gnu)
 
13311
  version_type=linux
 
13312
  need_lib_prefix=no
 
13313
  need_version=no
 
13314
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
13315
  soname_spec='${libname}${release}${shared_ext}$major'
 
13316
  shlibpath_var=LD_LIBRARY_PATH
 
13317
  shlibpath_overrides_runpath=no
 
13318
  hardcode_into_libs=yes
 
13319
  dynamic_linker='GNU ld.so'
 
13320
  ;;
 
13321
 
13958
13322
freebsd* | dragonfly*)
13959
13323
  # DragonFly does not have aout.  When/if they implement a new
13960
13324
  # versioning mechanism, adjust this.
14110
13474
  ;;
14111
13475
 
14112
13476
# This must be Linux ELF.
14113
 
linux* | k*bsd*-gnu)
 
13477
linux*)
14114
13478
  version_type=linux
14115
13479
  need_lib_prefix=no
14116
13480
  need_version=no
14139
13503
  dynamic_linker='GNU/Linux ld.so'
14140
13504
  ;;
14141
13505
 
14142
 
netbsdelf*-gnu)
 
13506
knetbsd*-gnu)
14143
13507
  version_type=linux
14144
13508
  need_lib_prefix=no
14145
13509
  need_version=no
14148
13512
  shlibpath_var=LD_LIBRARY_PATH
14149
13513
  shlibpath_overrides_runpath=no
14150
13514
  hardcode_into_libs=yes
14151
 
  dynamic_linker='NetBSD ld.elf_so'
 
13515
  dynamic_linker='GNU ld.so'
14152
13516
  ;;
14153
13517
 
14154
13518
netbsd*)
14324
13688
  dynamic_linker=no
14325
13689
  ;;
14326
13690
esac
14327
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14328
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
13691
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
13692
echo "${ECHO_T}$dynamic_linker" >&6
14329
13693
test "$dynamic_linker" = no && can_build_shared=no
14330
13694
 
14331
13695
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14333
13697
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14334
13698
fi
14335
13699
 
14336
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14337
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
13700
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
13701
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14338
13702
hardcode_action_CXX=
14339
13703
if test -n "$hardcode_libdir_flag_spec_CXX" || \
14340
13704
   test -n "$runpath_var_CXX" || \
14358
13722
  # directories.
14359
13723
  hardcode_action_CXX=unsupported
14360
13724
fi
14361
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14362
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
 
13725
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
13726
echo "${ECHO_T}$hardcode_action_CXX" >&6
14363
13727
 
14364
13728
if test "$hardcode_action_CXX" = relink; then
14365
13729
  # Fast installation is not supported
14884
14248
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14885
14249
 
14886
14250
 
14887
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14888
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14889
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
14890
 
echo "${ECHO_T}$can_build_shared" >&6; }
 
14251
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
14252
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
 
14253
echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
14254
echo "${ECHO_T}$can_build_shared" >&6
14891
14255
 
14892
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14893
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
 
14256
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
14257
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
14894
14258
test "$can_build_shared" = "no" && enable_shared=no
14895
14259
 
14896
14260
# On AIX, shared libraries and static libraries use the same namespace, and
14909
14273
  fi
14910
14274
  ;;
14911
14275
esac
14912
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
14913
 
echo "${ECHO_T}$enable_shared" >&6; }
 
14276
echo "$as_me:$LINENO: result: $enable_shared" >&5
 
14277
echo "${ECHO_T}$enable_shared" >&6
14914
14278
 
14915
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14916
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
 
14279
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
14280
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
14917
14281
# Make sure either enable_shared or enable_static is yes.
14918
14282
test "$enable_shared" = yes || enable_static=yes
14919
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
14920
 
echo "${ECHO_T}$enable_static" >&6; }
 
14283
echo "$as_me:$LINENO: result: $enable_static" >&5
 
14284
echo "${ECHO_T}$enable_static" >&6
14921
14285
 
14922
14286
GCC_F77="$G77"
14923
14287
LD_F77="$LD"
14926
14290
lt_prog_compiler_pic_F77=
14927
14291
lt_prog_compiler_static_F77=
14928
14292
 
14929
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14930
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
14293
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
14294
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
14931
14295
 
14932
14296
  if test "$GCC" = yes; then
14933
14297
    lt_prog_compiler_wl_F77='-Wl,'
15056
14420
      lt_prog_compiler_static_F77='-Bstatic'
15057
14421
      ;;
15058
14422
 
15059
 
    linux* | k*bsd*-gnu)
 
14423
    linux*)
15060
14424
      case $cc_basename in
15061
14425
      icc* | ecc*)
15062
14426
        lt_prog_compiler_wl_F77='-Wl,'
15136
14500
    esac
15137
14501
  fi
15138
14502
 
15139
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15140
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
 
14503
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
14504
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
15141
14505
 
15142
14506
#
15143
14507
# Check to make sure the PIC flag actually works.
15144
14508
#
15145
14509
if test -n "$lt_prog_compiler_pic_F77"; then
15146
14510
 
15147
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15148
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
 
14511
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
14512
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
15149
14513
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
15150
14514
  echo $ECHO_N "(cached) $ECHO_C" >&6
15151
14515
else
15162
14526
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15163
14527
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15164
14528
   -e 's:$: $lt_compiler_flag:'`
15165
 
   (eval echo "\"\$as_me:15165: $lt_compile\"" >&5)
 
14529
   (eval echo "\"\$as_me:14529: $lt_compile\"" >&5)
15166
14530
   (eval "$lt_compile" 2>conftest.err)
15167
14531
   ac_status=$?
15168
14532
   cat conftest.err >&5
15169
 
   echo "$as_me:15169: \$? = $ac_status" >&5
 
14533
   echo "$as_me:14533: \$? = $ac_status" >&5
15170
14534
   if (exit $ac_status) && test -s "$ac_outfile"; then
15171
14535
     # The compiler can only warn and ignore the option if not recognized
15172
14536
     # So say no if there are warnings other than the usual output.
15179
14543
   $rm conftest*
15180
14544
 
15181
14545
fi
15182
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15183
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
 
14546
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
 
14547
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
15184
14548
 
15185
14549
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
15186
14550
    case $lt_prog_compiler_pic_F77 in
15207
14571
# Check to make sure the static flag actually works.
15208
14572
#
15209
14573
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
15210
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15211
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
14574
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
14575
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
15212
14576
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
15213
14577
  echo $ECHO_N "(cached) $ECHO_C" >&6
15214
14578
else
15235
14599
   LDFLAGS="$save_LDFLAGS"
15236
14600
 
15237
14601
fi
15238
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
15239
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
 
14602
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
 
14603
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
15240
14604
 
15241
14605
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
15242
14606
    :
15245
14609
fi
15246
14610
 
15247
14611
 
15248
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15249
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 
14612
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14613
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15250
14614
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15251
14615
  echo $ECHO_N "(cached) $ECHO_C" >&6
15252
14616
else
15266
14630
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15267
14631
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15268
14632
   -e 's:$: $lt_compiler_flag:'`
15269
 
   (eval echo "\"\$as_me:15269: $lt_compile\"" >&5)
 
14633
   (eval echo "\"\$as_me:14633: $lt_compile\"" >&5)
15270
14634
   (eval "$lt_compile" 2>out/conftest.err)
15271
14635
   ac_status=$?
15272
14636
   cat out/conftest.err >&5
15273
 
   echo "$as_me:15273: \$? = $ac_status" >&5
 
14637
   echo "$as_me:14637: \$? = $ac_status" >&5
15274
14638
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15275
14639
   then
15276
14640
     # The compiler can only warn and ignore the option if not recognized
15292
14656
   $rm conftest*
15293
14657
 
15294
14658
fi
15295
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15296
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
 
14659
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
14660
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
15297
14661
 
15298
14662
 
15299
14663
hard_links="nottested"
15300
14664
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
15301
14665
  # do not overwrite the value of need_locks provided by the user
15302
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15303
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
14666
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
14667
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15304
14668
  hard_links=yes
15305
14669
  $rm conftest*
15306
14670
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15307
14671
  touch conftest.a
15308
14672
  ln conftest.a conftest.b 2>&5 || hard_links=no
15309
14673
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15310
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
15311
 
echo "${ECHO_T}$hard_links" >&6; }
 
14674
  echo "$as_me:$LINENO: result: $hard_links" >&5
 
14675
echo "${ECHO_T}$hard_links" >&6
15312
14676
  if test "$hard_links" = no; then
15313
14677
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15314
14678
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15318
14682
  need_locks=no
15319
14683
fi
15320
14684
 
15321
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15322
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
14685
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14686
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15323
14687
 
15324
14688
  runpath_var=
15325
14689
  allow_undefined_flag_F77=
15495
14859
      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'
15496
14860
      ;;
15497
14861
 
15498
 
    linux* | k*bsd*-gnu)
 
14862
    linux*)
15499
14863
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15500
14864
        tmp_addflag=
15501
14865
        case $cc_basename,$host_cpu in
15521
14885
  $echo "local: *; };" >> $output_objdir/$libname.ver~
15522
14886
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15523
14887
        fi
15524
 
        link_all_deplibs_F77=no
15525
14888
      else
15526
14889
        ld_shlibs_F77=no
15527
14890
      fi
15528
14891
      ;;
15529
14892
 
15530
 
    netbsd* | netbsdelf*-gnu)
 
14893
    netbsd*)
15531
14894
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15532
14895
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15533
14896
        wlarc=
15725
15088
      end
15726
15089
_ACEOF
15727
15090
rm -f conftest.$ac_objext conftest$ac_exeext
15728
 
if { (ac_try="$ac_link"
15729
 
case "(($ac_try" in
15730
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15731
 
  *) ac_try_echo=$ac_try;;
15732
 
esac
15733
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15734
 
  (eval "$ac_link") 2>conftest.er1
 
15091
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
15092
  (eval $ac_link) 2>conftest.er1
15735
15093
  ac_status=$?
15736
15094
  grep -v '^ *+' conftest.er1 >conftest.err
15737
15095
  rm -f conftest.er1
15738
15096
  cat conftest.err >&5
15739
15097
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15740
 
  (exit $ac_status); } && {
15741
 
         test -z "$ac_f77_werror_flag" ||
15742
 
         test ! -s conftest.err
15743
 
       } && test -s conftest$ac_exeext &&
15744
 
       $as_test_x conftest$ac_exeext; then
 
15098
  (exit $ac_status); } &&
 
15099
         { ac_try='test -z "$ac_f77_werror_flag"
 
15100
                         || test ! -s conftest.err'
 
15101
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15102
  (eval $ac_try) 2>&5
 
15103
  ac_status=$?
 
15104
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15105
  (exit $ac_status); }; } &&
 
15106
         { ac_try='test -s conftest$ac_exeext'
 
15107
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15108
  (eval $ac_try) 2>&5
 
15109
  ac_status=$?
 
15110
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15111
  (exit $ac_status); }; }; then
15745
15112
 
15746
15113
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
15747
15114
}'`
15752
15119
  echo "$as_me: failed program was:" >&5
15753
15120
sed 's/^/| /' conftest.$ac_ext >&5
15754
15121
 
15755
 
 
15756
15122
fi
15757
 
 
15758
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
15123
rm -f conftest.err conftest.$ac_objext \
15759
15124
      conftest$ac_exeext conftest.$ac_ext
15760
15125
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15761
15126
 
15774
15139
      end
15775
15140
_ACEOF
15776
15141
rm -f conftest.$ac_objext conftest$ac_exeext
15777
 
if { (ac_try="$ac_link"
15778
 
case "(($ac_try" in
15779
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15780
 
  *) ac_try_echo=$ac_try;;
15781
 
esac
15782
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15783
 
  (eval "$ac_link") 2>conftest.er1
 
15142
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
15143
  (eval $ac_link) 2>conftest.er1
15784
15144
  ac_status=$?
15785
15145
  grep -v '^ *+' conftest.er1 >conftest.err
15786
15146
  rm -f conftest.er1
15787
15147
  cat conftest.err >&5
15788
15148
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15789
 
  (exit $ac_status); } && {
15790
 
         test -z "$ac_f77_werror_flag" ||
15791
 
         test ! -s conftest.err
15792
 
       } && test -s conftest$ac_exeext &&
15793
 
       $as_test_x conftest$ac_exeext; then
 
15149
  (exit $ac_status); } &&
 
15150
         { ac_try='test -z "$ac_f77_werror_flag"
 
15151
                         || test ! -s conftest.err'
 
15152
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15153
  (eval $ac_try) 2>&5
 
15154
  ac_status=$?
 
15155
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15156
  (exit $ac_status); }; } &&
 
15157
         { ac_try='test -s conftest$ac_exeext'
 
15158
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15159
  (eval $ac_try) 2>&5
 
15160
  ac_status=$?
 
15161
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15162
  (exit $ac_status); }; }; then
15794
15163
 
15795
15164
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
15796
15165
}'`
15801
15170
  echo "$as_me: failed program was:" >&5
15802
15171
sed 's/^/| /' conftest.$ac_ext >&5
15803
15172
 
15804
 
 
15805
15173
fi
15806
 
 
15807
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
15174
rm -f conftest.err conftest.$ac_objext \
15808
15175
      conftest$ac_exeext conftest.$ac_ext
15809
15176
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15810
15177
 
15935
15302
      ;;
15936
15303
 
15937
15304
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15938
 
    freebsd* | dragonfly*)
 
15305
    freebsd* | kfreebsd*-gnu | dragonfly*)
15939
15306
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15940
15307
      hardcode_libdir_flag_spec_F77='-R$libdir'
15941
15308
      hardcode_direct_F77=yes
16037
15404
      link_all_deplibs_F77=yes
16038
15405
      ;;
16039
15406
 
16040
 
    netbsd* | netbsdelf*-gnu)
 
15407
    netbsd*)
16041
15408
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16042
15409
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
16043
15410
      else
16253
15620
    esac
16254
15621
  fi
16255
15622
 
16256
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16257
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
 
15623
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
15624
echo "${ECHO_T}$ld_shlibs_F77" >&6
16258
15625
test "$ld_shlibs_F77" = no && can_build_shared=no
16259
15626
 
16260
15627
#
16274
15641
      # Test whether the compiler implicitly links with -lc since on some
16275
15642
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16276
15643
      # to ld, don't add -lc before -lgcc.
16277
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16278
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 
15644
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
15645
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16279
15646
      $rm conftest*
16280
15647
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16281
15648
 
16312
15679
        cat conftest.err 1>&5
16313
15680
      fi
16314
15681
      $rm conftest*
16315
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16316
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
 
15682
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
15683
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
16317
15684
      ;;
16318
15685
    esac
16319
15686
  fi
16320
15687
  ;;
16321
15688
esac
16322
15689
 
16323
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16324
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
15690
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
15691
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16325
15692
library_names_spec=
16326
15693
libname_spec='lib$name'
16327
15694
soname_spec=
16527
15894
  dynamic_linker=no
16528
15895
  ;;
16529
15896
 
 
15897
kfreebsd*-gnu)
 
15898
  version_type=linux
 
15899
  need_lib_prefix=no
 
15900
  need_version=no
 
15901
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
15902
  soname_spec='${libname}${release}${shared_ext}$major'
 
15903
  shlibpath_var=LD_LIBRARY_PATH
 
15904
  shlibpath_overrides_runpath=no
 
15905
  hardcode_into_libs=yes
 
15906
  dynamic_linker='GNU ld.so'
 
15907
  ;;
 
15908
 
16530
15909
freebsd* | dragonfly*)
16531
15910
  # DragonFly does not have aout.  When/if they implement a new
16532
15911
  # versioning mechanism, adjust this.
16682
16061
  ;;
16683
16062
 
16684
16063
# This must be Linux ELF.
16685
 
linux* | k*bsd*-gnu)
 
16064
linux*)
16686
16065
  version_type=linux
16687
16066
  need_lib_prefix=no
16688
16067
  need_version=no
16711
16090
  dynamic_linker='GNU/Linux ld.so'
16712
16091
  ;;
16713
16092
 
16714
 
netbsdelf*-gnu)
 
16093
knetbsd*-gnu)
16715
16094
  version_type=linux
16716
16095
  need_lib_prefix=no
16717
16096
  need_version=no
16720
16099
  shlibpath_var=LD_LIBRARY_PATH
16721
16100
  shlibpath_overrides_runpath=no
16722
16101
  hardcode_into_libs=yes
16723
 
  dynamic_linker='NetBSD ld.elf_so'
 
16102
  dynamic_linker='GNU ld.so'
16724
16103
  ;;
16725
16104
 
16726
16105
netbsd*)
16896
16275
  dynamic_linker=no
16897
16276
  ;;
16898
16277
esac
16899
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16900
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
16278
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
16279
echo "${ECHO_T}$dynamic_linker" >&6
16901
16280
test "$dynamic_linker" = no && can_build_shared=no
16902
16281
 
16903
16282
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16905
16284
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16906
16285
fi
16907
16286
 
16908
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16909
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
16287
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
16288
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16910
16289
hardcode_action_F77=
16911
16290
if test -n "$hardcode_libdir_flag_spec_F77" || \
16912
16291
   test -n "$runpath_var_F77" || \
16930
16309
  # directories.
16931
16310
  hardcode_action_F77=unsupported
16932
16311
fi
16933
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16934
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
 
16312
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
16313
echo "${ECHO_T}$hardcode_action_F77" >&6
16935
16314
 
16936
16315
if test "$hardcode_action_F77" = relink; then
16937
16316
  # Fast installation is not supported
17368
16747
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17369
16748
 
17370
16749
 
 
16750
 
17371
16751
# Source file extension for Java test sources.
17372
16752
ac_ext=java
17373
16753
 
17435
16815
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
17436
16816
 
17437
16817
 
17438
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17439
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
 
16818
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
16819
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
17440
16820
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17441
16821
  echo $ECHO_N "(cached) $ECHO_C" >&6
17442
16822
else
17453
16833
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17454
16834
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17455
16835
   -e 's:$: $lt_compiler_flag:'`
17456
 
   (eval echo "\"\$as_me:17456: $lt_compile\"" >&5)
 
16836
   (eval echo "\"\$as_me:16836: $lt_compile\"" >&5)
17457
16837
   (eval "$lt_compile" 2>conftest.err)
17458
16838
   ac_status=$?
17459
16839
   cat conftest.err >&5
17460
 
   echo "$as_me:17460: \$? = $ac_status" >&5
 
16840
   echo "$as_me:16840: \$? = $ac_status" >&5
17461
16841
   if (exit $ac_status) && test -s "$ac_outfile"; then
17462
16842
     # The compiler can only warn and ignore the option if not recognized
17463
16843
     # So say no if there are warnings other than the usual output.
17470
16850
   $rm conftest*
17471
16851
 
17472
16852
fi
17473
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17474
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
16853
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
16854
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
17475
16855
 
17476
16856
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
17477
16857
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17485
16865
lt_prog_compiler_pic_GCJ=
17486
16866
lt_prog_compiler_static_GCJ=
17487
16867
 
17488
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17489
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
16868
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
16869
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17490
16870
 
17491
16871
  if test "$GCC" = yes; then
17492
16872
    lt_prog_compiler_wl_GCJ='-Wl,'
17615
16995
      lt_prog_compiler_static_GCJ='-Bstatic'
17616
16996
      ;;
17617
16997
 
17618
 
    linux* | k*bsd*-gnu)
 
16998
    linux*)
17619
16999
      case $cc_basename in
17620
17000
      icc* | ecc*)
17621
17001
        lt_prog_compiler_wl_GCJ='-Wl,'
17695
17075
    esac
17696
17076
  fi
17697
17077
 
17698
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17699
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
 
17078
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
17079
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
17700
17080
 
17701
17081
#
17702
17082
# Check to make sure the PIC flag actually works.
17703
17083
#
17704
17084
if test -n "$lt_prog_compiler_pic_GCJ"; then
17705
17085
 
17706
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17707
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
 
17086
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
17087
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
17708
17088
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
17709
17089
  echo $ECHO_N "(cached) $ECHO_C" >&6
17710
17090
else
17721
17101
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17722
17102
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17723
17103
   -e 's:$: $lt_compiler_flag:'`
17724
 
   (eval echo "\"\$as_me:17724: $lt_compile\"" >&5)
 
17104
   (eval echo "\"\$as_me:17104: $lt_compile\"" >&5)
17725
17105
   (eval "$lt_compile" 2>conftest.err)
17726
17106
   ac_status=$?
17727
17107
   cat conftest.err >&5
17728
 
   echo "$as_me:17728: \$? = $ac_status" >&5
 
17108
   echo "$as_me:17108: \$? = $ac_status" >&5
17729
17109
   if (exit $ac_status) && test -s "$ac_outfile"; then
17730
17110
     # The compiler can only warn and ignore the option if not recognized
17731
17111
     # So say no if there are warnings other than the usual output.
17738
17118
   $rm conftest*
17739
17119
 
17740
17120
fi
17741
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
17742
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
 
17121
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
 
17122
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
17743
17123
 
17744
17124
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
17745
17125
    case $lt_prog_compiler_pic_GCJ in
17766
17146
# Check to make sure the static flag actually works.
17767
17147
#
17768
17148
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
17769
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17770
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
17149
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
17150
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
17771
17151
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
17772
17152
  echo $ECHO_N "(cached) $ECHO_C" >&6
17773
17153
else
17794
17174
   LDFLAGS="$save_LDFLAGS"
17795
17175
 
17796
17176
fi
17797
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
17798
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
 
17177
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
 
17178
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
17799
17179
 
17800
17180
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
17801
17181
    :
17804
17184
fi
17805
17185
 
17806
17186
 
17807
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17808
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 
17187
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
17188
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
17809
17189
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17810
17190
  echo $ECHO_N "(cached) $ECHO_C" >&6
17811
17191
else
17825
17205
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17826
17206
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17827
17207
   -e 's:$: $lt_compiler_flag:'`
17828
 
   (eval echo "\"\$as_me:17828: $lt_compile\"" >&5)
 
17208
   (eval echo "\"\$as_me:17208: $lt_compile\"" >&5)
17829
17209
   (eval "$lt_compile" 2>out/conftest.err)
17830
17210
   ac_status=$?
17831
17211
   cat out/conftest.err >&5
17832
 
   echo "$as_me:17832: \$? = $ac_status" >&5
 
17212
   echo "$as_me:17212: \$? = $ac_status" >&5
17833
17213
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17834
17214
   then
17835
17215
     # The compiler can only warn and ignore the option if not recognized
17851
17231
   $rm conftest*
17852
17232
 
17853
17233
fi
17854
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17855
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
 
17234
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
17235
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
17856
17236
 
17857
17237
 
17858
17238
hard_links="nottested"
17859
17239
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
17860
17240
  # do not overwrite the value of need_locks provided by the user
17861
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17862
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
17241
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
17242
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
17863
17243
  hard_links=yes
17864
17244
  $rm conftest*
17865
17245
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17866
17246
  touch conftest.a
17867
17247
  ln conftest.a conftest.b 2>&5 || hard_links=no
17868
17248
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17869
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
17870
 
echo "${ECHO_T}$hard_links" >&6; }
 
17249
  echo "$as_me:$LINENO: result: $hard_links" >&5
 
17250
echo "${ECHO_T}$hard_links" >&6
17871
17251
  if test "$hard_links" = no; then
17872
17252
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17873
17253
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17877
17257
  need_locks=no
17878
17258
fi
17879
17259
 
17880
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17881
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
17260
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
17261
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
17882
17262
 
17883
17263
  runpath_var=
17884
17264
  allow_undefined_flag_GCJ=
18054
17434
      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'
18055
17435
      ;;
18056
17436
 
18057
 
    linux* | k*bsd*-gnu)
 
17437
    linux*)
18058
17438
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18059
17439
        tmp_addflag=
18060
17440
        case $cc_basename,$host_cpu in
18080
17460
  $echo "local: *; };" >> $output_objdir/$libname.ver~
18081
17461
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18082
17462
        fi
18083
 
        link_all_deplibs_GCJ=no
18084
17463
      else
18085
17464
        ld_shlibs_GCJ=no
18086
17465
      fi
18087
17466
      ;;
18088
17467
 
18089
 
    netbsd* | netbsdelf*-gnu)
 
17468
    netbsd*)
18090
17469
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18091
17470
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18092
17471
        wlarc=
18294
17673
}
18295
17674
_ACEOF
18296
17675
rm -f conftest.$ac_objext conftest$ac_exeext
18297
 
if { (ac_try="$ac_link"
18298
 
case "(($ac_try" in
18299
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18300
 
  *) ac_try_echo=$ac_try;;
18301
 
esac
18302
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18303
 
  (eval "$ac_link") 2>conftest.er1
 
17676
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
17677
  (eval $ac_link) 2>conftest.er1
18304
17678
  ac_status=$?
18305
17679
  grep -v '^ *+' conftest.er1 >conftest.err
18306
17680
  rm -f conftest.er1
18307
17681
  cat conftest.err >&5
18308
17682
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309
 
  (exit $ac_status); } && {
18310
 
         test -z "$ac_c_werror_flag" ||
18311
 
         test ! -s conftest.err
18312
 
       } && test -s conftest$ac_exeext &&
18313
 
       $as_test_x conftest$ac_exeext; then
 
17683
  (exit $ac_status); } &&
 
17684
         { ac_try='test -z "$ac_c_werror_flag"
 
17685
                         || test ! -s conftest.err'
 
17686
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17687
  (eval $ac_try) 2>&5
 
17688
  ac_status=$?
 
17689
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17690
  (exit $ac_status); }; } &&
 
17691
         { ac_try='test -s conftest$ac_exeext'
 
17692
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17693
  (eval $ac_try) 2>&5
 
17694
  ac_status=$?
 
17695
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17696
  (exit $ac_status); }; }; then
18314
17697
 
18315
17698
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
18316
17699
}'`
18321
17704
  echo "$as_me: failed program was:" >&5
18322
17705
sed 's/^/| /' conftest.$ac_ext >&5
18323
17706
 
18324
 
 
18325
17707
fi
18326
 
 
18327
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
17708
rm -f conftest.err conftest.$ac_objext \
18328
17709
      conftest$ac_exeext conftest.$ac_ext
18329
17710
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18330
17711
 
18353
17734
}
18354
17735
_ACEOF
18355
17736
rm -f conftest.$ac_objext conftest$ac_exeext
18356
 
if { (ac_try="$ac_link"
18357
 
case "(($ac_try" in
18358
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18359
 
  *) ac_try_echo=$ac_try;;
18360
 
esac
18361
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18362
 
  (eval "$ac_link") 2>conftest.er1
 
17737
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
17738
  (eval $ac_link) 2>conftest.er1
18363
17739
  ac_status=$?
18364
17740
  grep -v '^ *+' conftest.er1 >conftest.err
18365
17741
  rm -f conftest.er1
18366
17742
  cat conftest.err >&5
18367
17743
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18368
 
  (exit $ac_status); } && {
18369
 
         test -z "$ac_c_werror_flag" ||
18370
 
         test ! -s conftest.err
18371
 
       } && test -s conftest$ac_exeext &&
18372
 
       $as_test_x conftest$ac_exeext; then
 
17744
  (exit $ac_status); } &&
 
17745
         { ac_try='test -z "$ac_c_werror_flag"
 
17746
                         || test ! -s conftest.err'
 
17747
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17748
  (eval $ac_try) 2>&5
 
17749
  ac_status=$?
 
17750
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17751
  (exit $ac_status); }; } &&
 
17752
         { ac_try='test -s conftest$ac_exeext'
 
17753
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
17754
  (eval $ac_try) 2>&5
 
17755
  ac_status=$?
 
17756
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17757
  (exit $ac_status); }; }; then
18373
17758
 
18374
17759
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
18375
17760
}'`
18380
17765
  echo "$as_me: failed program was:" >&5
18381
17766
sed 's/^/| /' conftest.$ac_ext >&5
18382
17767
 
18383
 
 
18384
17768
fi
18385
 
 
18386
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
17769
rm -f conftest.err conftest.$ac_objext \
18387
17770
      conftest$ac_exeext conftest.$ac_ext
18388
17771
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18389
17772
 
18514
17897
      ;;
18515
17898
 
18516
17899
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18517
 
    freebsd* | dragonfly*)
 
17900
    freebsd* | kfreebsd*-gnu | dragonfly*)
18518
17901
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18519
17902
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18520
17903
      hardcode_direct_GCJ=yes
18616
17999
      link_all_deplibs_GCJ=yes
18617
18000
      ;;
18618
18001
 
18619
 
    netbsd* | netbsdelf*-gnu)
 
18002
    netbsd*)
18620
18003
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18621
18004
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
18622
18005
      else
18832
18215
    esac
18833
18216
  fi
18834
18217
 
18835
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18836
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
 
18218
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
18219
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
18837
18220
test "$ld_shlibs_GCJ" = no && can_build_shared=no
18838
18221
 
18839
18222
#
18853
18236
      # Test whether the compiler implicitly links with -lc since on some
18854
18237
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
18855
18238
      # to ld, don't add -lc before -lgcc.
18856
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18857
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 
18239
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
18240
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
18858
18241
      $rm conftest*
18859
18242
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18860
18243
 
18891
18274
        cat conftest.err 1>&5
18892
18275
      fi
18893
18276
      $rm conftest*
18894
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18895
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
 
18277
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
18278
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
18896
18279
      ;;
18897
18280
    esac
18898
18281
  fi
18899
18282
  ;;
18900
18283
esac
18901
18284
 
18902
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18903
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
18285
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
18286
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
18904
18287
library_names_spec=
18905
18288
libname_spec='lib$name'
18906
18289
soname_spec=
19106
18489
  dynamic_linker=no
19107
18490
  ;;
19108
18491
 
 
18492
kfreebsd*-gnu)
 
18493
  version_type=linux
 
18494
  need_lib_prefix=no
 
18495
  need_version=no
 
18496
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
18497
  soname_spec='${libname}${release}${shared_ext}$major'
 
18498
  shlibpath_var=LD_LIBRARY_PATH
 
18499
  shlibpath_overrides_runpath=no
 
18500
  hardcode_into_libs=yes
 
18501
  dynamic_linker='GNU ld.so'
 
18502
  ;;
 
18503
 
19109
18504
freebsd* | dragonfly*)
19110
18505
  # DragonFly does not have aout.  When/if they implement a new
19111
18506
  # versioning mechanism, adjust this.
19261
18656
  ;;
19262
18657
 
19263
18658
# This must be Linux ELF.
19264
 
linux* | k*bsd*-gnu)
 
18659
linux*)
19265
18660
  version_type=linux
19266
18661
  need_lib_prefix=no
19267
18662
  need_version=no
19290
18685
  dynamic_linker='GNU/Linux ld.so'
19291
18686
  ;;
19292
18687
 
19293
 
netbsdelf*-gnu)
 
18688
knetbsd*-gnu)
19294
18689
  version_type=linux
19295
18690
  need_lib_prefix=no
19296
18691
  need_version=no
19299
18694
  shlibpath_var=LD_LIBRARY_PATH
19300
18695
  shlibpath_overrides_runpath=no
19301
18696
  hardcode_into_libs=yes
19302
 
  dynamic_linker='NetBSD ld.elf_so'
 
18697
  dynamic_linker='GNU ld.so'
19303
18698
  ;;
19304
18699
 
19305
18700
netbsd*)
19475
18870
  dynamic_linker=no
19476
18871
  ;;
19477
18872
esac
19478
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19479
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
18873
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
18874
echo "${ECHO_T}$dynamic_linker" >&6
19480
18875
test "$dynamic_linker" = no && can_build_shared=no
19481
18876
 
19482
18877
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19484
18879
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19485
18880
fi
19486
18881
 
19487
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19488
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
18882
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
18883
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
19489
18884
hardcode_action_GCJ=
19490
18885
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19491
18886
   test -n "$runpath_var_GCJ" || \
19509
18904
  # directories.
19510
18905
  hardcode_action_GCJ=unsupported
19511
18906
fi
19512
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19513
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
 
18907
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
18908
echo "${ECHO_T}$hardcode_action_GCJ" >&6
19514
18909
 
19515
18910
if test "$hardcode_action_GCJ" = relink; then
19516
18911
  # Fast installation is not supported
19946
19341
      RC)
19947
19342
 
19948
19343
 
 
19344
 
19949
19345
# Source file extension for RC test sources.
19950
19346
ac_ext=rc
19951
19347
 
20481
19877
 
20482
19878
 
20483
19879
 
20484
 
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
20485
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
20486
 
    # Check whether --enable-maintainer-mode was given.
 
19880
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
19881
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
 
19882
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
20487
19883
if test "${enable_maintainer_mode+set}" = set; then
20488
 
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 
19884
  enableval="$enable_maintainer_mode"
 
19885
  USE_MAINTAINER_MODE=$enableval
20489
19886
else
20490
19887
  USE_MAINTAINER_MODE=no
20491
 
fi
20492
 
 
20493
 
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
20494
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
 
19888
fi;
 
19889
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
19890
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
20495
19891
 
20496
19892
 
20497
19893
if test $USE_MAINTAINER_MODE = yes; then
20508
19904
 
20509
19905
 
20510
19906
 
20511
 
{ echo "$as_me:$LINENO: checking for BSDgettimeofday" >&5
20512
 
echo $ECHO_N "checking for BSDgettimeofday... $ECHO_C" >&6; }
 
19907
echo "$as_me:$LINENO: checking for BSDgettimeofday" >&5
 
19908
echo $ECHO_N "checking for BSDgettimeofday... $ECHO_C" >&6
20513
19909
if test "${ac_cv_func_BSDgettimeofday+set}" = set; then
20514
19910
  echo $ECHO_N "(cached) $ECHO_C" >&6
20515
19911
else
20536
19932
 
20537
19933
#undef BSDgettimeofday
20538
19934
 
20539
 
/* Override any GCC internal prototype to avoid an error.
20540
 
   Use char because int might match the return type of a GCC
20541
 
   builtin and then its argument prototype would still apply.  */
 
19935
/* Override any gcc2 internal prototype to avoid an error.  */
20542
19936
#ifdef __cplusplus
20543
19937
extern "C"
 
19938
{
20544
19939
#endif
 
19940
/* We use char because int might match the return type of a gcc2
 
19941
   builtin and then its argument prototype would still apply.  */
20545
19942
char BSDgettimeofday ();
20546
19943
/* The GNU C library defines this for functions which it implements
20547
19944
    to always fail with ENOSYS.  Some functions are actually named
20548
19945
    something starting with __ and the normal name is an alias.  */
20549
 
#if defined __stub_BSDgettimeofday || defined __stub___BSDgettimeofday
 
19946
#if defined (__stub_BSDgettimeofday) || defined (__stub___BSDgettimeofday)
20550
19947
choke me
 
19948
#else
 
19949
char (*f) () = BSDgettimeofday;
 
19950
#endif
 
19951
#ifdef __cplusplus
 
19952
}
20551
19953
#endif
20552
19954
 
20553
19955
int
20554
19956
main ()
20555
19957
{
20556
 
return BSDgettimeofday ();
 
19958
return f != BSDgettimeofday;
20557
19959
  ;
20558
19960
  return 0;
20559
19961
}
20560
19962
_ACEOF
20561
19963
rm -f conftest.$ac_objext conftest$ac_exeext
20562
 
if { (ac_try="$ac_link"
20563
 
case "(($ac_try" in
20564
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20565
 
  *) ac_try_echo=$ac_try;;
20566
 
esac
20567
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20568
 
  (eval "$ac_link") 2>conftest.er1
 
19964
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
19965
  (eval $ac_link) 2>conftest.er1
20569
19966
  ac_status=$?
20570
19967
  grep -v '^ *+' conftest.er1 >conftest.err
20571
19968
  rm -f conftest.er1
20572
19969
  cat conftest.err >&5
20573
19970
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20574
 
  (exit $ac_status); } && {
20575
 
         test -z "$ac_c_werror_flag" ||
20576
 
         test ! -s conftest.err
20577
 
       } && test -s conftest$ac_exeext &&
20578
 
       $as_test_x conftest$ac_exeext; then
 
19971
  (exit $ac_status); } &&
 
19972
         { ac_try='test -z "$ac_c_werror_flag"
 
19973
                         || test ! -s conftest.err'
 
19974
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19975
  (eval $ac_try) 2>&5
 
19976
  ac_status=$?
 
19977
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19978
  (exit $ac_status); }; } &&
 
19979
         { ac_try='test -s conftest$ac_exeext'
 
19980
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19981
  (eval $ac_try) 2>&5
 
19982
  ac_status=$?
 
19983
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19984
  (exit $ac_status); }; }; then
20579
19985
  ac_cv_func_BSDgettimeofday=yes
20580
19986
else
20581
19987
  echo "$as_me: failed program was:" >&5
20582
19988
sed 's/^/| /' conftest.$ac_ext >&5
20583
19989
 
20584
 
        ac_cv_func_BSDgettimeofday=no
 
19990
ac_cv_func_BSDgettimeofday=no
20585
19991
fi
20586
 
 
20587
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
19992
rm -f conftest.err conftest.$ac_objext \
20588
19993
      conftest$ac_exeext conftest.$ac_ext
20589
19994
fi
20590
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_BSDgettimeofday" >&5
20591
 
echo "${ECHO_T}$ac_cv_func_BSDgettimeofday" >&6; }
 
19995
echo "$as_me:$LINENO: result: $ac_cv_func_BSDgettimeofday" >&5
 
19996
echo "${ECHO_T}$ac_cv_func_BSDgettimeofday" >&6
20592
19997
if test $ac_cv_func_BSDgettimeofday = yes; then
20593
19998
 
20594
19999
cat >>confdefs.h <<\_ACEOF
20596
20001
_ACEOF
20597
20002
 
20598
20003
else
20599
 
  { echo "$as_me:$LINENO: checking for gettimeofday" >&5
20600
 
echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6; }
 
20004
  echo "$as_me:$LINENO: checking for gettimeofday" >&5
 
20005
echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
20601
20006
if test "${ac_cv_func_gettimeofday+set}" = set; then
20602
20007
  echo $ECHO_N "(cached) $ECHO_C" >&6
20603
20008
else
20624
20029
 
20625
20030
#undef gettimeofday
20626
20031
 
20627
 
/* Override any GCC internal prototype to avoid an error.
20628
 
   Use char because int might match the return type of a GCC
20629
 
   builtin and then its argument prototype would still apply.  */
 
20032
/* Override any gcc2 internal prototype to avoid an error.  */
20630
20033
#ifdef __cplusplus
20631
20034
extern "C"
 
20035
{
20632
20036
#endif
 
20037
/* We use char because int might match the return type of a gcc2
 
20038
   builtin and then its argument prototype would still apply.  */
20633
20039
char gettimeofday ();
20634
20040
/* The GNU C library defines this for functions which it implements
20635
20041
    to always fail with ENOSYS.  Some functions are actually named
20636
20042
    something starting with __ and the normal name is an alias.  */
20637
 
#if defined __stub_gettimeofday || defined __stub___gettimeofday
 
20043
#if defined (__stub_gettimeofday) || defined (__stub___gettimeofday)
20638
20044
choke me
 
20045
#else
 
20046
char (*f) () = gettimeofday;
 
20047
#endif
 
20048
#ifdef __cplusplus
 
20049
}
20639
20050
#endif
20640
20051
 
20641
20052
int
20642
20053
main ()
20643
20054
{
20644
 
return gettimeofday ();
 
20055
return f != gettimeofday;
20645
20056
  ;
20646
20057
  return 0;
20647
20058
}
20648
20059
_ACEOF
20649
20060
rm -f conftest.$ac_objext conftest$ac_exeext
20650
 
if { (ac_try="$ac_link"
20651
 
case "(($ac_try" in
20652
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20653
 
  *) ac_try_echo=$ac_try;;
20654
 
esac
20655
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20656
 
  (eval "$ac_link") 2>conftest.er1
 
20061
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
20062
  (eval $ac_link) 2>conftest.er1
20657
20063
  ac_status=$?
20658
20064
  grep -v '^ *+' conftest.er1 >conftest.err
20659
20065
  rm -f conftest.er1
20660
20066
  cat conftest.err >&5
20661
20067
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662
 
  (exit $ac_status); } && {
20663
 
         test -z "$ac_c_werror_flag" ||
20664
 
         test ! -s conftest.err
20665
 
       } && test -s conftest$ac_exeext &&
20666
 
       $as_test_x conftest$ac_exeext; then
 
20068
  (exit $ac_status); } &&
 
20069
         { ac_try='test -z "$ac_c_werror_flag"
 
20070
                         || test ! -s conftest.err'
 
20071
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20072
  (eval $ac_try) 2>&5
 
20073
  ac_status=$?
 
20074
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20075
  (exit $ac_status); }; } &&
 
20076
         { ac_try='test -s conftest$ac_exeext'
 
20077
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20078
  (eval $ac_try) 2>&5
 
20079
  ac_status=$?
 
20080
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20081
  (exit $ac_status); }; }; then
20667
20082
  ac_cv_func_gettimeofday=yes
20668
20083
else
20669
20084
  echo "$as_me: failed program was:" >&5
20670
20085
sed 's/^/| /' conftest.$ac_ext >&5
20671
20086
 
20672
 
        ac_cv_func_gettimeofday=no
 
20087
ac_cv_func_gettimeofday=no
20673
20088
fi
20674
 
 
20675
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20089
rm -f conftest.err conftest.$ac_objext \
20676
20090
      conftest$ac_exeext conftest.$ac_ext
20677
20091
fi
20678
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_gettimeofday" >&5
20679
 
echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6; }
 
20092
echo "$as_me:$LINENO: result: $ac_cv_func_gettimeofday" >&5
 
20093
echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6
20680
20094
if test $ac_cv_func_gettimeofday = yes; then
20681
20095
  :
20682
20096
else
20693
20107
 
20694
20108
 
20695
20109
 
20696
 
{ echo "$as_me:$LINENO: checking whether #! works in shell scripts" >&5
20697
 
echo $ECHO_N "checking whether #! works in shell scripts... $ECHO_C" >&6; }
 
20110
echo "$as_me:$LINENO: checking whether #! works in shell scripts" >&5
 
20111
echo $ECHO_N "checking whether #! works in shell scripts... $ECHO_C" >&6
20698
20112
if test "${ac_cv_sys_interpreter+set}" = set; then
20699
20113
  echo $ECHO_N "(cached) $ECHO_C" >&6
20700
20114
else
20702
20116
exit 69
20703
20117
' >conftest
20704
20118
chmod u+x conftest
20705
 
(SHELL=/bin/sh; export SHELL; ./conftest >/dev/null 2>&1)
 
20119
(SHELL=/bin/sh; export SHELL; ./conftest >/dev/null)
20706
20120
if test $? -ne 69; then
20707
20121
   ac_cv_sys_interpreter=yes
20708
20122
else
20710
20124
fi
20711
20125
rm -f conftest
20712
20126
fi
20713
 
{ echo "$as_me:$LINENO: result: $ac_cv_sys_interpreter" >&5
20714
 
echo "${ECHO_T}$ac_cv_sys_interpreter" >&6; }
 
20127
echo "$as_me:$LINENO: result: $ac_cv_sys_interpreter" >&5
 
20128
echo "${ECHO_T}$ac_cv_sys_interpreter" >&6
20715
20129
interpval=$ac_cv_sys_interpreter
20716
20130
 
20717
20131
 
20718
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
20719
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
20720
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
20721
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
20132
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
20133
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
 
20134
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
 
20135
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
20722
20136
  echo $ECHO_N "(cached) $ECHO_C" >&6
20723
20137
else
20724
20138
  cat >conftest.make <<\_ACEOF
20725
 
SHELL = /bin/sh
20726
20139
all:
20727
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
20140
        @echo 'ac_maketemp="$(MAKE)"'
20728
20141
_ACEOF
20729
20142
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20730
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
20731
 
  *@@@%%%=?*=@@@%%%*)
20732
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
20733
 
  *)
20734
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
20735
 
esac
 
20143
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 
20144
if test -n "$ac_maketemp"; then
 
20145
  eval ac_cv_prog_make_${ac_make}_set=yes
 
20146
else
 
20147
  eval ac_cv_prog_make_${ac_make}_set=no
 
20148
fi
20736
20149
rm -f conftest.make
20737
20150
fi
20738
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
20739
 
  { echo "$as_me:$LINENO: result: yes" >&5
20740
 
echo "${ECHO_T}yes" >&6; }
 
20151
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 
20152
  echo "$as_me:$LINENO: result: yes" >&5
 
20153
echo "${ECHO_T}yes" >&6
20741
20154
  SET_MAKE=
20742
20155
else
20743
 
  { echo "$as_me:$LINENO: result: no" >&5
20744
 
echo "${ECHO_T}no" >&6; }
 
20156
  echo "$as_me:$LINENO: result: no" >&5
 
20157
echo "${ECHO_T}no" >&6
20745
20158
  SET_MAKE="MAKE=${MAKE-make}"
20746
20159
fi
20747
20160
 
20748
20161
 
20749
20162
# Extract the first word of "perl", so it can be a program name with args.
20750
20163
set dummy perl; ac_word=$2
20751
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20752
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
20164
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20165
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20753
20166
if test "${ac_cv_path_PERL+set}" = set; then
20754
20167
  echo $ECHO_N "(cached) $ECHO_C" >&6
20755
20168
else
20764
20177
  IFS=$as_save_IFS
20765
20178
  test -z "$as_dir" && as_dir=.
20766
20179
  for ac_exec_ext in '' $ac_executable_extensions; do
20767
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
20180
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20768
20181
    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
20769
20182
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20770
20183
    break 2
20771
20184
  fi
20772
20185
done
20773
20186
done
20774
 
IFS=$as_save_IFS
20775
20187
 
20776
20188
  test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
20777
20189
  ;;
20778
20190
esac
20779
20191
fi
20780
20192
PERL=$ac_cv_path_PERL
 
20193
 
20781
20194
if test -n "$PERL"; then
20782
 
  { echo "$as_me:$LINENO: result: $PERL" >&5
20783
 
echo "${ECHO_T}$PERL" >&6; }
 
20195
  echo "$as_me:$LINENO: result: $PERL" >&5
 
20196
echo "${ECHO_T}$PERL" >&6
20784
20197
else
20785
 
  { echo "$as_me:$LINENO: result: no" >&5
20786
 
echo "${ECHO_T}no" >&6; }
 
20198
  echo "$as_me:$LINENO: result: no" >&5
 
20199
echo "${ECHO_T}no" >&6
20787
20200
fi
20788
20201
 
20789
 
 
20790
20202
if test "$PERL" = "false"; then
20791
20203
    { echo "$as_me:$LINENO: WARNING: perl was not found - needed for script shebang lines" >&5
20792
20204
echo "$as_me: WARNING: perl was not found - needed for script shebang lines" >&2;}
20795
20207
 
20796
20208
# Extract the first word of "pod2man", so it can be a program name with args.
20797
20209
set dummy pod2man; ac_word=$2
20798
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20799
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
20210
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20211
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20800
20212
if test "${ac_cv_prog_POD2MAN+set}" = set; then
20801
20213
  echo $ECHO_N "(cached) $ECHO_C" >&6
20802
20214
else
20809
20221
  IFS=$as_save_IFS
20810
20222
  test -z "$as_dir" && as_dir=.
20811
20223
  for ac_exec_ext in '' $ac_executable_extensions; do
20812
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
20224
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20813
20225
    ac_cv_prog_POD2MAN="pod2man"
20814
20226
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20815
20227
    break 2
20816
20228
  fi
20817
20229
done
20818
20230
done
20819
 
IFS=$as_save_IFS
20820
20231
 
20821
20232
  test -z "$ac_cv_prog_POD2MAN" && ac_cv_prog_POD2MAN="false"
20822
20233
fi
20823
20234
fi
20824
20235
POD2MAN=$ac_cv_prog_POD2MAN
20825
20236
if test -n "$POD2MAN"; then
20826
 
  { echo "$as_me:$LINENO: result: $POD2MAN" >&5
20827
 
echo "${ECHO_T}$POD2MAN" >&6; }
 
20237
  echo "$as_me:$LINENO: result: $POD2MAN" >&5
 
20238
echo "${ECHO_T}$POD2MAN" >&6
20828
20239
else
20829
 
  { echo "$as_me:$LINENO: result: no" >&5
20830
 
echo "${ECHO_T}no" >&6; }
 
20240
  echo "$as_me:$LINENO: result: no" >&5
 
20241
echo "${ECHO_T}no" >&6
20831
20242
fi
20832
20243
 
20833
 
 
20834
20244
if test "$POD2MAN" = "false"; then
20835
20245
        { echo "$as_me:$LINENO: WARNING: pod2man was not found - needed for building man pages" >&5
20836
20246
echo "$as_me: WARNING: pod2man was not found - needed for building man pages" >&2;}
20849
20259
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
20850
20260
# OS/2's system install, which has a completely different semantic
20851
20261
# ./install, which can be erroneously created by make from ./install.sh.
20852
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
20853
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
20262
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
20263
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
20854
20264
if test -z "$INSTALL"; then
20855
20265
if test "${ac_cv_path_install+set}" = set; then
20856
20266
  echo $ECHO_N "(cached) $ECHO_C" >&6
20872
20282
    # by default.
20873
20283
    for ac_prog in ginstall scoinst install; do
20874
20284
      for ac_exec_ext in '' $ac_executable_extensions; do
20875
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
20285
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
20876
20286
          if test $ac_prog = install &&
20877
20287
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
20878
20288
            # AIX install.  It has an incompatible calling convention.
20891
20301
    ;;
20892
20302
esac
20893
20303
done
20894
 
IFS=$as_save_IFS
20895
20304
 
20896
20305
 
20897
20306
fi
20898
20307
  if test "${ac_cv_path_install+set}" = set; then
20899
20308
    INSTALL=$ac_cv_path_install
20900
20309
  else
20901
 
    # As a last resort, use the slow shell script.  Don't cache a
20902
 
    # value for INSTALL within a source directory, because that will
 
20310
    # As a last resort, use the slow shell script.  We don't cache a
 
20311
    # path for INSTALL within a source directory, because that will
20903
20312
    # break other packages using the cache if that directory is
20904
 
    # removed, or if the value is a relative name.
 
20313
    # removed, or if the path is relative.
20905
20314
    INSTALL=$ac_install_sh
20906
20315
  fi
20907
20316
fi
20908
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
20909
 
echo "${ECHO_T}$INSTALL" >&6; }
 
20317
echo "$as_me:$LINENO: result: $INSTALL" >&5
 
20318
echo "${ECHO_T}$INSTALL" >&6
20910
20319
 
20911
20320
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
20912
20321
# It thinks the first close brace ends the variable substitution.
20926
20335
if test -n "$ac_tool_prefix"; then
20927
20336
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
20928
20337
set dummy ${ac_tool_prefix}gcc; ac_word=$2
20929
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20930
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
20338
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20339
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20931
20340
if test "${ac_cv_prog_CC+set}" = set; then
20932
20341
  echo $ECHO_N "(cached) $ECHO_C" >&6
20933
20342
else
20940
20349
  IFS=$as_save_IFS
20941
20350
  test -z "$as_dir" && as_dir=.
20942
20351
  for ac_exec_ext in '' $ac_executable_extensions; do
20943
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
20352
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20944
20353
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
20945
20354
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20946
20355
    break 2
20947
20356
  fi
20948
20357
done
20949
20358
done
20950
 
IFS=$as_save_IFS
20951
20359
 
20952
20360
fi
20953
20361
fi
20954
20362
CC=$ac_cv_prog_CC
20955
20363
if test -n "$CC"; then
20956
 
  { echo "$as_me:$LINENO: result: $CC" >&5
20957
 
echo "${ECHO_T}$CC" >&6; }
 
20364
  echo "$as_me:$LINENO: result: $CC" >&5
 
20365
echo "${ECHO_T}$CC" >&6
20958
20366
else
20959
 
  { echo "$as_me:$LINENO: result: no" >&5
20960
 
echo "${ECHO_T}no" >&6; }
 
20367
  echo "$as_me:$LINENO: result: no" >&5
 
20368
echo "${ECHO_T}no" >&6
20961
20369
fi
20962
 
 
20963
20370
 
20964
20371
fi
20965
20372
if test -z "$ac_cv_prog_CC"; then
20966
20373
  ac_ct_CC=$CC
20967
20374
  # Extract the first word of "gcc", so it can be a program name with args.
20968
20375
set dummy gcc; ac_word=$2
20969
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20970
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
20376
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20377
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20971
20378
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
20972
20379
  echo $ECHO_N "(cached) $ECHO_C" >&6
20973
20380
else
20980
20387
  IFS=$as_save_IFS
20981
20388
  test -z "$as_dir" && as_dir=.
20982
20389
  for ac_exec_ext in '' $ac_executable_extensions; do
20983
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
20390
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20984
20391
    ac_cv_prog_ac_ct_CC="gcc"
20985
20392
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20986
20393
    break 2
20987
20394
  fi
20988
20395
done
20989
20396
done
20990
 
IFS=$as_save_IFS
20991
20397
 
20992
20398
fi
20993
20399
fi
20994
20400
ac_ct_CC=$ac_cv_prog_ac_ct_CC
20995
20401
if test -n "$ac_ct_CC"; then
20996
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
20997
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
20402
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
20403
echo "${ECHO_T}$ac_ct_CC" >&6
20998
20404
else
20999
 
  { echo "$as_me:$LINENO: result: no" >&5
21000
 
echo "${ECHO_T}no" >&6; }
 
20405
  echo "$as_me:$LINENO: result: no" >&5
 
20406
echo "${ECHO_T}no" >&6
21001
20407
fi
21002
20408
 
21003
 
  if test "x$ac_ct_CC" = x; then
21004
 
    CC=""
21005
 
  else
21006
 
    case $cross_compiling:$ac_tool_warned in
21007
 
yes:)
21008
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
21009
 
whose name does not start with the host triplet.  If you think this
21010
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
21011
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
21012
 
whose name does not start with the host triplet.  If you think this
21013
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
21014
 
ac_tool_warned=yes ;;
21015
 
esac
21016
 
    CC=$ac_ct_CC
21017
 
  fi
 
20409
  CC=$ac_ct_CC
21018
20410
else
21019
20411
  CC="$ac_cv_prog_CC"
21020
20412
fi
21021
20413
 
21022
20414
if test -z "$CC"; then
21023
 
          if test -n "$ac_tool_prefix"; then
21024
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
20415
  if test -n "$ac_tool_prefix"; then
 
20416
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
21025
20417
set dummy ${ac_tool_prefix}cc; ac_word=$2
21026
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21027
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
20418
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20419
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21028
20420
if test "${ac_cv_prog_CC+set}" = set; then
21029
20421
  echo $ECHO_N "(cached) $ECHO_C" >&6
21030
20422
else
21037
20429
  IFS=$as_save_IFS
21038
20430
  test -z "$as_dir" && as_dir=.
21039
20431
  for ac_exec_ext in '' $ac_executable_extensions; do
21040
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
20432
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21041
20433
    ac_cv_prog_CC="${ac_tool_prefix}cc"
21042
20434
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21043
20435
    break 2
21044
20436
  fi
21045
20437
done
21046
20438
done
21047
 
IFS=$as_save_IFS
21048
20439
 
21049
20440
fi
21050
20441
fi
21051
20442
CC=$ac_cv_prog_CC
21052
20443
if test -n "$CC"; then
21053
 
  { echo "$as_me:$LINENO: result: $CC" >&5
21054
 
echo "${ECHO_T}$CC" >&6; }
21055
 
else
21056
 
  { echo "$as_me:$LINENO: result: no" >&5
21057
 
echo "${ECHO_T}no" >&6; }
21058
 
fi
21059
 
 
21060
 
 
 
20444
  echo "$as_me:$LINENO: result: $CC" >&5
 
20445
echo "${ECHO_T}$CC" >&6
 
20446
else
 
20447
  echo "$as_me:$LINENO: result: no" >&5
 
20448
echo "${ECHO_T}no" >&6
 
20449
fi
 
20450
 
 
20451
fi
 
20452
if test -z "$ac_cv_prog_CC"; then
 
20453
  ac_ct_CC=$CC
 
20454
  # Extract the first word of "cc", so it can be a program name with args.
 
20455
set dummy cc; ac_word=$2
 
20456
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20457
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20458
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
20459
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20460
else
 
20461
  if test -n "$ac_ct_CC"; then
 
20462
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
20463
else
 
20464
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
20465
for as_dir in $PATH
 
20466
do
 
20467
  IFS=$as_save_IFS
 
20468
  test -z "$as_dir" && as_dir=.
 
20469
  for ac_exec_ext in '' $ac_executable_extensions; do
 
20470
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20471
    ac_cv_prog_ac_ct_CC="cc"
 
20472
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20473
    break 2
21061
20474
  fi
 
20475
done
 
20476
done
 
20477
 
 
20478
fi
 
20479
fi
 
20480
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
20481
if test -n "$ac_ct_CC"; then
 
20482
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
20483
echo "${ECHO_T}$ac_ct_CC" >&6
 
20484
else
 
20485
  echo "$as_me:$LINENO: result: no" >&5
 
20486
echo "${ECHO_T}no" >&6
 
20487
fi
 
20488
 
 
20489
  CC=$ac_ct_CC
 
20490
else
 
20491
  CC="$ac_cv_prog_CC"
 
20492
fi
 
20493
 
21062
20494
fi
21063
20495
if test -z "$CC"; then
21064
20496
  # Extract the first word of "cc", so it can be a program name with args.
21065
20497
set dummy cc; ac_word=$2
21066
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21067
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
20498
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20499
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21068
20500
if test "${ac_cv_prog_CC+set}" = set; then
21069
20501
  echo $ECHO_N "(cached) $ECHO_C" >&6
21070
20502
else
21078
20510
  IFS=$as_save_IFS
21079
20511
  test -z "$as_dir" && as_dir=.
21080
20512
  for ac_exec_ext in '' $ac_executable_extensions; do
21081
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
20513
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21082
20514
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
21083
20515
       ac_prog_rejected=yes
21084
20516
       continue
21089
20521
  fi
21090
20522
done
21091
20523
done
21092
 
IFS=$as_save_IFS
21093
20524
 
21094
20525
if test $ac_prog_rejected = yes; then
21095
20526
  # We found a bogon in the path, so make sure we never use it.
21107
20538
fi
21108
20539
CC=$ac_cv_prog_CC
21109
20540
if test -n "$CC"; then
21110
 
  { echo "$as_me:$LINENO: result: $CC" >&5
21111
 
echo "${ECHO_T}$CC" >&6; }
 
20541
  echo "$as_me:$LINENO: result: $CC" >&5
 
20542
echo "${ECHO_T}$CC" >&6
21112
20543
else
21113
 
  { echo "$as_me:$LINENO: result: no" >&5
21114
 
echo "${ECHO_T}no" >&6; }
 
20544
  echo "$as_me:$LINENO: result: no" >&5
 
20545
echo "${ECHO_T}no" >&6
21115
20546
fi
21116
 
 
21117
20547
 
21118
20548
fi
21119
20549
if test -z "$CC"; then
21120
20550
  if test -n "$ac_tool_prefix"; then
21121
 
  for ac_prog in cl.exe
 
20551
  for ac_prog in cl
21122
20552
  do
21123
20553
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21124
20554
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
21125
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21126
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
20555
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20556
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21127
20557
if test "${ac_cv_prog_CC+set}" = set; then
21128
20558
  echo $ECHO_N "(cached) $ECHO_C" >&6
21129
20559
else
21136
20566
  IFS=$as_save_IFS
21137
20567
  test -z "$as_dir" && as_dir=.
21138
20568
  for ac_exec_ext in '' $ac_executable_extensions; do
21139
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
20569
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21140
20570
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
21141
20571
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21142
20572
    break 2
21143
20573
  fi
21144
20574
done
21145
20575
done
21146
 
IFS=$as_save_IFS
21147
20576
 
21148
20577
fi
21149
20578
fi
21150
20579
CC=$ac_cv_prog_CC
21151
20580
if test -n "$CC"; then
21152
 
  { echo "$as_me:$LINENO: result: $CC" >&5
21153
 
echo "${ECHO_T}$CC" >&6; }
 
20581
  echo "$as_me:$LINENO: result: $CC" >&5
 
20582
echo "${ECHO_T}$CC" >&6
21154
20583
else
21155
 
  { echo "$as_me:$LINENO: result: no" >&5
21156
 
echo "${ECHO_T}no" >&6; }
 
20584
  echo "$as_me:$LINENO: result: no" >&5
 
20585
echo "${ECHO_T}no" >&6
21157
20586
fi
21158
20587
 
21159
 
 
21160
20588
    test -n "$CC" && break
21161
20589
  done
21162
20590
fi
21163
20591
if test -z "$CC"; then
21164
20592
  ac_ct_CC=$CC
21165
 
  for ac_prog in cl.exe
 
20593
  for ac_prog in cl
21166
20594
do
21167
20595
  # Extract the first word of "$ac_prog", so it can be a program name with args.
21168
20596
set dummy $ac_prog; ac_word=$2
21169
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21170
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
20597
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20598
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21171
20599
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
21172
20600
  echo $ECHO_N "(cached) $ECHO_C" >&6
21173
20601
else
21180
20608
  IFS=$as_save_IFS
21181
20609
  test -z "$as_dir" && as_dir=.
21182
20610
  for ac_exec_ext in '' $ac_executable_extensions; do
21183
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
20611
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21184
20612
    ac_cv_prog_ac_ct_CC="$ac_prog"
21185
20613
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21186
20614
    break 2
21187
20615
  fi
21188
20616
done
21189
20617
done
21190
 
IFS=$as_save_IFS
21191
20618
 
21192
20619
fi
21193
20620
fi
21194
20621
ac_ct_CC=$ac_cv_prog_ac_ct_CC
21195
20622
if test -n "$ac_ct_CC"; then
21196
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
21197
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
20623
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
20624
echo "${ECHO_T}$ac_ct_CC" >&6
21198
20625
else
21199
 
  { echo "$as_me:$LINENO: result: no" >&5
21200
 
echo "${ECHO_T}no" >&6; }
 
20626
  echo "$as_me:$LINENO: result: no" >&5
 
20627
echo "${ECHO_T}no" >&6
21201
20628
fi
21202
20629
 
21203
 
 
21204
20630
  test -n "$ac_ct_CC" && break
21205
20631
done
21206
20632
 
21207
 
  if test "x$ac_ct_CC" = x; then
21208
 
    CC=""
21209
 
  else
21210
 
    case $cross_compiling:$ac_tool_warned in
21211
 
yes:)
21212
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
21213
 
whose name does not start with the host triplet.  If you think this
21214
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
21215
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
21216
 
whose name does not start with the host triplet.  If you think this
21217
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
21218
 
ac_tool_warned=yes ;;
21219
 
esac
21220
 
    CC=$ac_ct_CC
21221
 
  fi
 
20633
  CC=$ac_ct_CC
21222
20634
fi
21223
20635
 
21224
20636
fi
21231
20643
   { (exit 1); exit 1; }; }
21232
20644
 
21233
20645
# Provide some information about the compiler.
21234
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
 
20646
echo "$as_me:$LINENO:" \
 
20647
     "checking for C compiler version" >&5
21235
20648
ac_compiler=`set X $ac_compile; echo $2`
21236
 
{ (ac_try="$ac_compiler --version >&5"
21237
 
case "(($ac_try" in
21238
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21239
 
  *) ac_try_echo=$ac_try;;
21240
 
esac
21241
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21242
 
  (eval "$ac_compiler --version >&5") 2>&5
21243
 
  ac_status=$?
21244
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21245
 
  (exit $ac_status); }
21246
 
{ (ac_try="$ac_compiler -v >&5"
21247
 
case "(($ac_try" in
21248
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21249
 
  *) ac_try_echo=$ac_try;;
21250
 
esac
21251
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21252
 
  (eval "$ac_compiler -v >&5") 2>&5
21253
 
  ac_status=$?
21254
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21255
 
  (exit $ac_status); }
21256
 
{ (ac_try="$ac_compiler -V >&5"
21257
 
case "(($ac_try" in
21258
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21259
 
  *) ac_try_echo=$ac_try;;
21260
 
esac
21261
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21262
 
  (eval "$ac_compiler -V >&5") 2>&5
 
20649
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 
20650
  (eval $ac_compiler --version </dev/null >&5) 2>&5
 
20651
  ac_status=$?
 
20652
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20653
  (exit $ac_status); }
 
20654
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 
20655
  (eval $ac_compiler -v </dev/null >&5) 2>&5
 
20656
  ac_status=$?
 
20657
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20658
  (exit $ac_status); }
 
20659
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 
20660
  (eval $ac_compiler -V </dev/null >&5) 2>&5
21263
20661
  ac_status=$?
21264
20662
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21265
20663
  (exit $ac_status); }
21266
20664
 
21267
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
21268
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
20665
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
20666
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
21269
20667
if test "${ac_cv_c_compiler_gnu+set}" = set; then
21270
20668
  echo $ECHO_N "(cached) $ECHO_C" >&6
21271
20669
else
21288
20686
}
21289
20687
_ACEOF
21290
20688
rm -f conftest.$ac_objext
21291
 
if { (ac_try="$ac_compile"
21292
 
case "(($ac_try" in
21293
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21294
 
  *) ac_try_echo=$ac_try;;
21295
 
esac
21296
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21297
 
  (eval "$ac_compile") 2>conftest.er1
 
20689
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
20690
  (eval $ac_compile) 2>conftest.er1
21298
20691
  ac_status=$?
21299
20692
  grep -v '^ *+' conftest.er1 >conftest.err
21300
20693
  rm -f conftest.er1
21301
20694
  cat conftest.err >&5
21302
20695
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21303
 
  (exit $ac_status); } && {
21304
 
         test -z "$ac_c_werror_flag" ||
21305
 
         test ! -s conftest.err
21306
 
       } && test -s conftest.$ac_objext; then
 
20696
  (exit $ac_status); } &&
 
20697
         { ac_try='test -z "$ac_c_werror_flag"
 
20698
                         || test ! -s conftest.err'
 
20699
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20700
  (eval $ac_try) 2>&5
 
20701
  ac_status=$?
 
20702
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20703
  (exit $ac_status); }; } &&
 
20704
         { ac_try='test -s conftest.$ac_objext'
 
20705
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20706
  (eval $ac_try) 2>&5
 
20707
  ac_status=$?
 
20708
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20709
  (exit $ac_status); }; }; then
21307
20710
  ac_compiler_gnu=yes
21308
20711
else
21309
20712
  echo "$as_me: failed program was:" >&5
21310
20713
sed 's/^/| /' conftest.$ac_ext >&5
21311
20714
 
21312
 
        ac_compiler_gnu=no
 
20715
ac_compiler_gnu=no
21313
20716
fi
21314
 
 
21315
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20717
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21316
20718
ac_cv_c_compiler_gnu=$ac_compiler_gnu
21317
20719
 
21318
20720
fi
21319
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
21320
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
 
20721
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
20722
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
21321
20723
GCC=`test $ac_compiler_gnu = yes && echo yes`
21322
20724
ac_test_CFLAGS=${CFLAGS+set}
21323
20725
ac_save_CFLAGS=$CFLAGS
21324
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
21325
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
20726
CFLAGS="-g"
 
20727
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
20728
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
21326
20729
if test "${ac_cv_prog_cc_g+set}" = set; then
21327
20730
  echo $ECHO_N "(cached) $ECHO_C" >&6
21328
20731
else
21329
 
  ac_save_c_werror_flag=$ac_c_werror_flag
21330
 
   ac_c_werror_flag=yes
21331
 
   ac_cv_prog_cc_g=no
21332
 
   CFLAGS="-g"
21333
 
   cat >conftest.$ac_ext <<_ACEOF
21334
 
/* confdefs.h.  */
21335
 
_ACEOF
21336
 
cat confdefs.h >>conftest.$ac_ext
21337
 
cat >>conftest.$ac_ext <<_ACEOF
21338
 
/* end confdefs.h.  */
21339
 
 
21340
 
int
21341
 
main ()
21342
 
{
21343
 
 
21344
 
  ;
21345
 
  return 0;
21346
 
}
21347
 
_ACEOF
21348
 
rm -f conftest.$ac_objext
21349
 
if { (ac_try="$ac_compile"
21350
 
case "(($ac_try" in
21351
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21352
 
  *) ac_try_echo=$ac_try;;
21353
 
esac
21354
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21355
 
  (eval "$ac_compile") 2>conftest.er1
21356
 
  ac_status=$?
21357
 
  grep -v '^ *+' conftest.er1 >conftest.err
21358
 
  rm -f conftest.er1
21359
 
  cat conftest.err >&5
21360
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21361
 
  (exit $ac_status); } && {
21362
 
         test -z "$ac_c_werror_flag" ||
21363
 
         test ! -s conftest.err
21364
 
       } && test -s conftest.$ac_objext; then
21365
 
  ac_cv_prog_cc_g=yes
21366
 
else
21367
 
  echo "$as_me: failed program was:" >&5
21368
 
sed 's/^/| /' conftest.$ac_ext >&5
21369
 
 
21370
 
        CFLAGS=""
21371
 
      cat >conftest.$ac_ext <<_ACEOF
21372
 
/* confdefs.h.  */
21373
 
_ACEOF
21374
 
cat confdefs.h >>conftest.$ac_ext
21375
 
cat >>conftest.$ac_ext <<_ACEOF
21376
 
/* end confdefs.h.  */
21377
 
 
21378
 
int
21379
 
main ()
21380
 
{
21381
 
 
21382
 
  ;
21383
 
  return 0;
21384
 
}
21385
 
_ACEOF
21386
 
rm -f conftest.$ac_objext
21387
 
if { (ac_try="$ac_compile"
21388
 
case "(($ac_try" in
21389
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21390
 
  *) ac_try_echo=$ac_try;;
21391
 
esac
21392
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21393
 
  (eval "$ac_compile") 2>conftest.er1
21394
 
  ac_status=$?
21395
 
  grep -v '^ *+' conftest.er1 >conftest.err
21396
 
  rm -f conftest.er1
21397
 
  cat conftest.err >&5
21398
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399
 
  (exit $ac_status); } && {
21400
 
         test -z "$ac_c_werror_flag" ||
21401
 
         test ! -s conftest.err
21402
 
       } && test -s conftest.$ac_objext; then
21403
 
  :
21404
 
else
21405
 
  echo "$as_me: failed program was:" >&5
21406
 
sed 's/^/| /' conftest.$ac_ext >&5
21407
 
 
21408
 
        ac_c_werror_flag=$ac_save_c_werror_flag
21409
 
         CFLAGS="-g"
21410
 
         cat >conftest.$ac_ext <<_ACEOF
21411
 
/* confdefs.h.  */
21412
 
_ACEOF
21413
 
cat confdefs.h >>conftest.$ac_ext
21414
 
cat >>conftest.$ac_ext <<_ACEOF
21415
 
/* end confdefs.h.  */
21416
 
 
21417
 
int
21418
 
main ()
21419
 
{
21420
 
 
21421
 
  ;
21422
 
  return 0;
21423
 
}
21424
 
_ACEOF
21425
 
rm -f conftest.$ac_objext
21426
 
if { (ac_try="$ac_compile"
21427
 
case "(($ac_try" in
21428
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21429
 
  *) ac_try_echo=$ac_try;;
21430
 
esac
21431
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21432
 
  (eval "$ac_compile") 2>conftest.er1
21433
 
  ac_status=$?
21434
 
  grep -v '^ *+' conftest.er1 >conftest.err
21435
 
  rm -f conftest.er1
21436
 
  cat conftest.err >&5
21437
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438
 
  (exit $ac_status); } && {
21439
 
         test -z "$ac_c_werror_flag" ||
21440
 
         test ! -s conftest.err
21441
 
       } && test -s conftest.$ac_objext; then
21442
 
  ac_cv_prog_cc_g=yes
21443
 
else
21444
 
  echo "$as_me: failed program was:" >&5
21445
 
sed 's/^/| /' conftest.$ac_ext >&5
21446
 
 
21447
 
 
21448
 
fi
21449
 
 
21450
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21451
 
fi
21452
 
 
21453
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21454
 
fi
21455
 
 
21456
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21457
 
   ac_c_werror_flag=$ac_save_c_werror_flag
21458
 
fi
21459
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
21460
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
20732
  cat >conftest.$ac_ext <<_ACEOF
 
20733
/* confdefs.h.  */
 
20734
_ACEOF
 
20735
cat confdefs.h >>conftest.$ac_ext
 
20736
cat >>conftest.$ac_ext <<_ACEOF
 
20737
/* end confdefs.h.  */
 
20738
 
 
20739
int
 
20740
main ()
 
20741
{
 
20742
 
 
20743
  ;
 
20744
  return 0;
 
20745
}
 
20746
_ACEOF
 
20747
rm -f conftest.$ac_objext
 
20748
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
20749
  (eval $ac_compile) 2>conftest.er1
 
20750
  ac_status=$?
 
20751
  grep -v '^ *+' conftest.er1 >conftest.err
 
20752
  rm -f conftest.er1
 
20753
  cat conftest.err >&5
 
20754
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20755
  (exit $ac_status); } &&
 
20756
         { ac_try='test -z "$ac_c_werror_flag"
 
20757
                         || test ! -s conftest.err'
 
20758
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20759
  (eval $ac_try) 2>&5
 
20760
  ac_status=$?
 
20761
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20762
  (exit $ac_status); }; } &&
 
20763
         { ac_try='test -s conftest.$ac_objext'
 
20764
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20765
  (eval $ac_try) 2>&5
 
20766
  ac_status=$?
 
20767
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20768
  (exit $ac_status); }; }; then
 
20769
  ac_cv_prog_cc_g=yes
 
20770
else
 
20771
  echo "$as_me: failed program was:" >&5
 
20772
sed 's/^/| /' conftest.$ac_ext >&5
 
20773
 
 
20774
ac_cv_prog_cc_g=no
 
20775
fi
 
20776
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20777
fi
 
20778
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
20779
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
21461
20780
if test "$ac_test_CFLAGS" = set; then
21462
20781
  CFLAGS=$ac_save_CFLAGS
21463
20782
elif test $ac_cv_prog_cc_g = yes; then
21473
20792
    CFLAGS=
21474
20793
  fi
21475
20794
fi
21476
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
21477
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
21478
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
20795
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 
20796
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 
20797
if test "${ac_cv_prog_cc_stdc+set}" = set; then
21479
20798
  echo $ECHO_N "(cached) $ECHO_C" >&6
21480
20799
else
21481
 
  ac_cv_prog_cc_c89=no
 
20800
  ac_cv_prog_cc_stdc=no
21482
20801
ac_save_CC=$CC
21483
20802
cat >conftest.$ac_ext <<_ACEOF
21484
20803
/* confdefs.h.  */
21512
20831
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
21513
20832
   function prototypes and stuff, but not '\xHH' hex character constants.
21514
20833
   These don't provoke an error unfortunately, instead are silently treated
21515
 
   as 'x'.  The following induces an error, until -std is added to get
 
20834
   as 'x'.  The following induces an error, until -std1 is added to get
21516
20835
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
21517
20836
   array size at least.  It's necessary to write '\x00'==0 to get something
21518
 
   that's true only with -std.  */
 
20837
   that's true only with -std1.  */
21519
20838
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
21520
20839
 
21521
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
21522
 
   inside strings and character constants.  */
21523
 
#define FOO(x) 'x'
21524
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
21525
 
 
21526
20840
int test (int i, double x);
21527
20841
struct s1 {int (*f) (int a);};
21528
20842
struct s2 {int (*f) (double a);};
21537
20851
  return 0;
21538
20852
}
21539
20853
_ACEOF
21540
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
21541
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
20854
# Don't try gcc -ansi; that turns off useful extensions and
 
20855
# breaks some systems' header files.
 
20856
# AIX                   -qlanglvl=ansi
 
20857
# Ultrix and OSF/1      -std1
 
20858
# HP-UX 10.20 and later -Ae
 
20859
# HP-UX older versions  -Aa -D_HPUX_SOURCE
 
20860
# SVR4                  -Xc -D__EXTENSIONS__
 
20861
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
21542
20862
do
21543
20863
  CC="$ac_save_CC $ac_arg"
21544
20864
  rm -f conftest.$ac_objext
21545
 
if { (ac_try="$ac_compile"
21546
 
case "(($ac_try" in
21547
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21548
 
  *) ac_try_echo=$ac_try;;
21549
 
esac
21550
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21551
 
  (eval "$ac_compile") 2>conftest.er1
 
20865
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
20866
  (eval $ac_compile) 2>conftest.er1
21552
20867
  ac_status=$?
21553
20868
  grep -v '^ *+' conftest.er1 >conftest.err
21554
20869
  rm -f conftest.er1
21555
20870
  cat conftest.err >&5
21556
20871
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21557
 
  (exit $ac_status); } && {
21558
 
         test -z "$ac_c_werror_flag" ||
21559
 
         test ! -s conftest.err
21560
 
       } && test -s conftest.$ac_objext; then
21561
 
  ac_cv_prog_cc_c89=$ac_arg
 
20872
  (exit $ac_status); } &&
 
20873
         { ac_try='test -z "$ac_c_werror_flag"
 
20874
                         || test ! -s conftest.err'
 
20875
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20876
  (eval $ac_try) 2>&5
 
20877
  ac_status=$?
 
20878
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20879
  (exit $ac_status); }; } &&
 
20880
         { ac_try='test -s conftest.$ac_objext'
 
20881
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20882
  (eval $ac_try) 2>&5
 
20883
  ac_status=$?
 
20884
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20885
  (exit $ac_status); }; }; then
 
20886
  ac_cv_prog_cc_stdc=$ac_arg
 
20887
break
21562
20888
else
21563
20889
  echo "$as_me: failed program was:" >&5
21564
20890
sed 's/^/| /' conftest.$ac_ext >&5
21565
20891
 
21566
 
 
21567
20892
fi
21568
 
 
21569
 
rm -f core conftest.err conftest.$ac_objext
21570
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
20893
rm -f conftest.err conftest.$ac_objext
21571
20894
done
21572
 
rm -f conftest.$ac_ext
 
20895
rm -f conftest.$ac_ext conftest.$ac_objext
21573
20896
CC=$ac_save_CC
21574
20897
 
21575
20898
fi
21576
 
# AC_CACHE_VAL
21577
 
case "x$ac_cv_prog_cc_c89" in
21578
 
  x)
21579
 
    { echo "$as_me:$LINENO: result: none needed" >&5
21580
 
echo "${ECHO_T}none needed" >&6; } ;;
21581
 
  xno)
21582
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
21583
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
20899
 
 
20900
case "x$ac_cv_prog_cc_stdc" in
 
20901
  x|xno)
 
20902
    echo "$as_me:$LINENO: result: none needed" >&5
 
20903
echo "${ECHO_T}none needed" >&6 ;;
21584
20904
  *)
21585
 
    CC="$CC $ac_cv_prog_cc_c89"
21586
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
21587
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
20905
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 
20906
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 
20907
    CC="$CC $ac_cv_prog_cc_stdc" ;;
21588
20908
esac
21589
20909
 
21590
 
 
 
20910
# Some people use a C++ compiler to compile C.  Since we use `exit',
 
20911
# in C++ we need to declare it.  In case someone uses the same compiler
 
20912
# for both compiling C and C++ we need to have the C++ compiler decide
 
20913
# the declaration of exit, since it's the most demanding environment.
 
20914
cat >conftest.$ac_ext <<_ACEOF
 
20915
#ifndef __cplusplus
 
20916
  choke me
 
20917
#endif
 
20918
_ACEOF
 
20919
rm -f conftest.$ac_objext
 
20920
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
20921
  (eval $ac_compile) 2>conftest.er1
 
20922
  ac_status=$?
 
20923
  grep -v '^ *+' conftest.er1 >conftest.err
 
20924
  rm -f conftest.er1
 
20925
  cat conftest.err >&5
 
20926
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20927
  (exit $ac_status); } &&
 
20928
         { ac_try='test -z "$ac_c_werror_flag"
 
20929
                         || test ! -s conftest.err'
 
20930
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20931
  (eval $ac_try) 2>&5
 
20932
  ac_status=$?
 
20933
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20934
  (exit $ac_status); }; } &&
 
20935
         { ac_try='test -s conftest.$ac_objext'
 
20936
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20937
  (eval $ac_try) 2>&5
 
20938
  ac_status=$?
 
20939
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20940
  (exit $ac_status); }; }; then
 
20941
  for ac_declaration in \
 
20942
   '' \
 
20943
   'extern "C" void std::exit (int) throw (); using std::exit;' \
 
20944
   'extern "C" void std::exit (int); using std::exit;' \
 
20945
   'extern "C" void exit (int) throw ();' \
 
20946
   'extern "C" void exit (int);' \
 
20947
   'void exit (int);'
 
20948
do
 
20949
  cat >conftest.$ac_ext <<_ACEOF
 
20950
/* confdefs.h.  */
 
20951
_ACEOF
 
20952
cat confdefs.h >>conftest.$ac_ext
 
20953
cat >>conftest.$ac_ext <<_ACEOF
 
20954
/* end confdefs.h.  */
 
20955
$ac_declaration
 
20956
#include <stdlib.h>
 
20957
int
 
20958
main ()
 
20959
{
 
20960
exit (42);
 
20961
  ;
 
20962
  return 0;
 
20963
}
 
20964
_ACEOF
 
20965
rm -f conftest.$ac_objext
 
20966
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
20967
  (eval $ac_compile) 2>conftest.er1
 
20968
  ac_status=$?
 
20969
  grep -v '^ *+' conftest.er1 >conftest.err
 
20970
  rm -f conftest.er1
 
20971
  cat conftest.err >&5
 
20972
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20973
  (exit $ac_status); } &&
 
20974
         { ac_try='test -z "$ac_c_werror_flag"
 
20975
                         || test ! -s conftest.err'
 
20976
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20977
  (eval $ac_try) 2>&5
 
20978
  ac_status=$?
 
20979
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20980
  (exit $ac_status); }; } &&
 
20981
         { ac_try='test -s conftest.$ac_objext'
 
20982
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20983
  (eval $ac_try) 2>&5
 
20984
  ac_status=$?
 
20985
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20986
  (exit $ac_status); }; }; then
 
20987
  :
 
20988
else
 
20989
  echo "$as_me: failed program was:" >&5
 
20990
sed 's/^/| /' conftest.$ac_ext >&5
 
20991
 
 
20992
continue
 
20993
fi
 
20994
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20995
  cat >conftest.$ac_ext <<_ACEOF
 
20996
/* confdefs.h.  */
 
20997
_ACEOF
 
20998
cat confdefs.h >>conftest.$ac_ext
 
20999
cat >>conftest.$ac_ext <<_ACEOF
 
21000
/* end confdefs.h.  */
 
21001
$ac_declaration
 
21002
int
 
21003
main ()
 
21004
{
 
21005
exit (42);
 
21006
  ;
 
21007
  return 0;
 
21008
}
 
21009
_ACEOF
 
21010
rm -f conftest.$ac_objext
 
21011
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
21012
  (eval $ac_compile) 2>conftest.er1
 
21013
  ac_status=$?
 
21014
  grep -v '^ *+' conftest.er1 >conftest.err
 
21015
  rm -f conftest.er1
 
21016
  cat conftest.err >&5
 
21017
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21018
  (exit $ac_status); } &&
 
21019
         { ac_try='test -z "$ac_c_werror_flag"
 
21020
                         || test ! -s conftest.err'
 
21021
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21022
  (eval $ac_try) 2>&5
 
21023
  ac_status=$?
 
21024
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21025
  (exit $ac_status); }; } &&
 
21026
         { ac_try='test -s conftest.$ac_objext'
 
21027
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21028
  (eval $ac_try) 2>&5
 
21029
  ac_status=$?
 
21030
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21031
  (exit $ac_status); }; }; then
 
21032
  break
 
21033
else
 
21034
  echo "$as_me: failed program was:" >&5
 
21035
sed 's/^/| /' conftest.$ac_ext >&5
 
21036
 
 
21037
fi
 
21038
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21039
done
 
21040
rm -f conftest*
 
21041
if test -n "$ac_declaration"; then
 
21042
  echo '#ifdef __cplusplus' >>confdefs.h
 
21043
  echo $ac_declaration      >>confdefs.h
 
21044
  echo '#endif'             >>confdefs.h
 
21045
fi
 
21046
 
 
21047
else
 
21048
  echo "$as_me: failed program was:" >&5
 
21049
sed 's/^/| /' conftest.$ac_ext >&5
 
21050
 
 
21051
fi
 
21052
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21591
21053
ac_ext=c
21592
21054
ac_cpp='$CPP $CPPFLAGS'
21593
21055
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21596
21058
 
21597
21059
depcc="$CC"   am_compiler_list=
21598
21060
 
21599
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
21600
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
21061
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
21062
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
21601
21063
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
21602
21064
  echo $ECHO_N "(cached) $ECHO_C" >&6
21603
21065
else
21686
21148
fi
21687
21149
 
21688
21150
fi
21689
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
21690
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
21151
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
21152
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
21691
21153
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
21692
21154
 
21693
21155
 
21705
21167
 
21706
21168
 
21707
21169
 
21708
 
{ echo "$as_me:$LINENO: checking for vsnprintf in -lsnprintf" >&5
21709
 
echo $ECHO_N "checking for vsnprintf in -lsnprintf... $ECHO_C" >&6; }
 
21170
echo "$as_me:$LINENO: checking for vsnprintf in -lsnprintf" >&5
 
21171
echo $ECHO_N "checking for vsnprintf in -lsnprintf... $ECHO_C" >&6
21710
21172
if test "${ac_cv_lib_snprintf_vsnprintf+set}" = set; then
21711
21173
  echo $ECHO_N "(cached) $ECHO_C" >&6
21712
21174
else
21719
21181
cat >>conftest.$ac_ext <<_ACEOF
21720
21182
/* end confdefs.h.  */
21721
21183
 
21722
 
/* Override any GCC internal prototype to avoid an error.
21723
 
   Use char because int might match the return type of a GCC
21724
 
   builtin and then its argument prototype would still apply.  */
 
21184
/* Override any gcc2 internal prototype to avoid an error.  */
21725
21185
#ifdef __cplusplus
21726
21186
extern "C"
21727
21187
#endif
 
21188
/* We use char because int might match the return type of a gcc2
 
21189
   builtin and then its argument prototype would still apply.  */
21728
21190
char vsnprintf ();
21729
21191
int
21730
21192
main ()
21731
21193
{
21732
 
return vsnprintf ();
 
21194
vsnprintf ();
21733
21195
  ;
21734
21196
  return 0;
21735
21197
}
21736
21198
_ACEOF
21737
21199
rm -f conftest.$ac_objext conftest$ac_exeext
21738
 
if { (ac_try="$ac_link"
21739
 
case "(($ac_try" in
21740
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21741
 
  *) ac_try_echo=$ac_try;;
21742
 
esac
21743
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21744
 
  (eval "$ac_link") 2>conftest.er1
 
21200
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
21201
  (eval $ac_link) 2>conftest.er1
21745
21202
  ac_status=$?
21746
21203
  grep -v '^ *+' conftest.er1 >conftest.err
21747
21204
  rm -f conftest.er1
21748
21205
  cat conftest.err >&5
21749
21206
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21750
 
  (exit $ac_status); } && {
21751
 
         test -z "$ac_c_werror_flag" ||
21752
 
         test ! -s conftest.err
21753
 
       } && test -s conftest$ac_exeext &&
21754
 
       $as_test_x conftest$ac_exeext; then
 
21207
  (exit $ac_status); } &&
 
21208
         { ac_try='test -z "$ac_c_werror_flag"
 
21209
                         || test ! -s conftest.err'
 
21210
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21211
  (eval $ac_try) 2>&5
 
21212
  ac_status=$?
 
21213
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21214
  (exit $ac_status); }; } &&
 
21215
         { ac_try='test -s conftest$ac_exeext'
 
21216
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21217
  (eval $ac_try) 2>&5
 
21218
  ac_status=$?
 
21219
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21220
  (exit $ac_status); }; }; then
21755
21221
  ac_cv_lib_snprintf_vsnprintf=yes
21756
21222
else
21757
21223
  echo "$as_me: failed program was:" >&5
21758
21224
sed 's/^/| /' conftest.$ac_ext >&5
21759
21225
 
21760
 
        ac_cv_lib_snprintf_vsnprintf=no
 
21226
ac_cv_lib_snprintf_vsnprintf=no
21761
21227
fi
21762
 
 
21763
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
21228
rm -f conftest.err conftest.$ac_objext \
21764
21229
      conftest$ac_exeext conftest.$ac_ext
21765
21230
LIBS=$ac_check_lib_save_LIBS
21766
21231
fi
21767
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_snprintf_vsnprintf" >&5
21768
 
echo "${ECHO_T}$ac_cv_lib_snprintf_vsnprintf" >&6; }
 
21232
echo "$as_me:$LINENO: result: $ac_cv_lib_snprintf_vsnprintf" >&5
 
21233
echo "${ECHO_T}$ac_cv_lib_snprintf_vsnprintf" >&6
21769
21234
if test $ac_cv_lib_snprintf_vsnprintf = yes; then
21770
21235
  cat >>confdefs.h <<_ACEOF
21771
21236
#define HAVE_LIBSNPRINTF 1
21784
21249
ac_header_dirent=no
21785
21250
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
21786
21251
  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
21787
 
{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
21788
 
echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
21789
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21252
echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
 
21253
echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
 
21254
if eval "test \"\${$as_ac_Header+set}\" = set"; then
21790
21255
  echo $ECHO_N "(cached) $ECHO_C" >&6
21791
21256
else
21792
21257
  cat >conftest.$ac_ext <<_ACEOF
21808
21273
}
21809
21274
_ACEOF
21810
21275
rm -f conftest.$ac_objext
21811
 
if { (ac_try="$ac_compile"
21812
 
case "(($ac_try" in
21813
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21814
 
  *) ac_try_echo=$ac_try;;
21815
 
esac
21816
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21817
 
  (eval "$ac_compile") 2>conftest.er1
 
21276
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
21277
  (eval $ac_compile) 2>conftest.er1
21818
21278
  ac_status=$?
21819
21279
  grep -v '^ *+' conftest.er1 >conftest.err
21820
21280
  rm -f conftest.er1
21821
21281
  cat conftest.err >&5
21822
21282
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21823
 
  (exit $ac_status); } && {
21824
 
         test -z "$ac_c_werror_flag" ||
21825
 
         test ! -s conftest.err
21826
 
       } && test -s conftest.$ac_objext; then
 
21283
  (exit $ac_status); } &&
 
21284
         { ac_try='test -z "$ac_c_werror_flag"
 
21285
                         || test ! -s conftest.err'
 
21286
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21287
  (eval $ac_try) 2>&5
 
21288
  ac_status=$?
 
21289
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21290
  (exit $ac_status); }; } &&
 
21291
         { ac_try='test -s conftest.$ac_objext'
 
21292
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21293
  (eval $ac_try) 2>&5
 
21294
  ac_status=$?
 
21295
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21296
  (exit $ac_status); }; }; then
21827
21297
  eval "$as_ac_Header=yes"
21828
21298
else
21829
21299
  echo "$as_me: failed program was:" >&5
21830
21300
sed 's/^/| /' conftest.$ac_ext >&5
21831
21301
 
21832
 
        eval "$as_ac_Header=no"
21833
 
fi
21834
 
 
21835
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21836
 
fi
21837
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21838
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21839
 
echo "${ECHO_T}$ac_res" >&6; }
 
21302
eval "$as_ac_Header=no"
 
21303
fi
 
21304
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21305
fi
 
21306
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
21307
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21840
21308
if test `eval echo '${'$as_ac_Header'}'` = yes; then
21841
21309
  cat >>confdefs.h <<_ACEOF
21842
21310
#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
21848
21316
done
21849
21317
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
21850
21318
if test $ac_header_dirent = dirent.h; then
21851
 
  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
21852
 
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
21853
 
if test "${ac_cv_search_opendir+set}" = set; then
21854
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21855
 
else
21856
 
  ac_func_search_save_LIBS=$LIBS
21857
 
cat >conftest.$ac_ext <<_ACEOF
21858
 
/* confdefs.h.  */
21859
 
_ACEOF
21860
 
cat confdefs.h >>conftest.$ac_ext
21861
 
cat >>conftest.$ac_ext <<_ACEOF
21862
 
/* end confdefs.h.  */
21863
 
 
21864
 
/* Override any GCC internal prototype to avoid an error.
21865
 
   Use char because int might match the return type of a GCC
21866
 
   builtin and then its argument prototype would still apply.  */
21867
 
#ifdef __cplusplus
21868
 
extern "C"
21869
 
#endif
21870
 
char opendir ();
21871
 
int
21872
 
main ()
21873
 
{
21874
 
return opendir ();
21875
 
  ;
21876
 
  return 0;
21877
 
}
21878
 
_ACEOF
21879
 
for ac_lib in '' dir; do
21880
 
  if test -z "$ac_lib"; then
21881
 
    ac_res="none required"
21882
 
  else
21883
 
    ac_res=-l$ac_lib
21884
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21885
 
  fi
21886
 
  rm -f conftest.$ac_objext conftest$ac_exeext
21887
 
if { (ac_try="$ac_link"
21888
 
case "(($ac_try" in
21889
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21890
 
  *) ac_try_echo=$ac_try;;
21891
 
esac
21892
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21893
 
  (eval "$ac_link") 2>conftest.er1
21894
 
  ac_status=$?
21895
 
  grep -v '^ *+' conftest.er1 >conftest.err
21896
 
  rm -f conftest.er1
21897
 
  cat conftest.err >&5
21898
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21899
 
  (exit $ac_status); } && {
21900
 
         test -z "$ac_c_werror_flag" ||
21901
 
         test ! -s conftest.err
21902
 
       } && test -s conftest$ac_exeext &&
21903
 
       $as_test_x conftest$ac_exeext; then
21904
 
  ac_cv_search_opendir=$ac_res
21905
 
else
21906
 
  echo "$as_me: failed program was:" >&5
21907
 
sed 's/^/| /' conftest.$ac_ext >&5
21908
 
 
21909
 
 
21910
 
fi
21911
 
 
21912
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21913
 
      conftest$ac_exeext
21914
 
  if test "${ac_cv_search_opendir+set}" = set; then
21915
 
  break
21916
 
fi
21917
 
done
21918
 
if test "${ac_cv_search_opendir+set}" = set; then
21919
 
  :
21920
 
else
21921
 
  ac_cv_search_opendir=no
21922
 
fi
21923
 
rm conftest.$ac_ext
21924
 
LIBS=$ac_func_search_save_LIBS
21925
 
fi
21926
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
21927
 
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
21928
 
ac_res=$ac_cv_search_opendir
21929
 
if test "$ac_res" != no; then
21930
 
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21931
 
 
21932
 
fi
21933
 
 
21934
 
else
21935
 
  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
21936
 
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
21937
 
if test "${ac_cv_search_opendir+set}" = set; then
21938
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21939
 
else
21940
 
  ac_func_search_save_LIBS=$LIBS
21941
 
cat >conftest.$ac_ext <<_ACEOF
21942
 
/* confdefs.h.  */
21943
 
_ACEOF
21944
 
cat confdefs.h >>conftest.$ac_ext
21945
 
cat >>conftest.$ac_ext <<_ACEOF
21946
 
/* end confdefs.h.  */
21947
 
 
21948
 
/* Override any GCC internal prototype to avoid an error.
21949
 
   Use char because int might match the return type of a GCC
21950
 
   builtin and then its argument prototype would still apply.  */
21951
 
#ifdef __cplusplus
21952
 
extern "C"
21953
 
#endif
21954
 
char opendir ();
21955
 
int
21956
 
main ()
21957
 
{
21958
 
return opendir ();
21959
 
  ;
21960
 
  return 0;
21961
 
}
21962
 
_ACEOF
21963
 
for ac_lib in '' x; do
21964
 
  if test -z "$ac_lib"; then
21965
 
    ac_res="none required"
21966
 
  else
21967
 
    ac_res=-l$ac_lib
21968
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21969
 
  fi
21970
 
  rm -f conftest.$ac_objext conftest$ac_exeext
21971
 
if { (ac_try="$ac_link"
21972
 
case "(($ac_try" in
21973
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21974
 
  *) ac_try_echo=$ac_try;;
21975
 
esac
21976
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21977
 
  (eval "$ac_link") 2>conftest.er1
21978
 
  ac_status=$?
21979
 
  grep -v '^ *+' conftest.er1 >conftest.err
21980
 
  rm -f conftest.er1
21981
 
  cat conftest.err >&5
21982
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21983
 
  (exit $ac_status); } && {
21984
 
         test -z "$ac_c_werror_flag" ||
21985
 
         test ! -s conftest.err
21986
 
       } && test -s conftest$ac_exeext &&
21987
 
       $as_test_x conftest$ac_exeext; then
21988
 
  ac_cv_search_opendir=$ac_res
21989
 
else
21990
 
  echo "$as_me: failed program was:" >&5
21991
 
sed 's/^/| /' conftest.$ac_ext >&5
21992
 
 
21993
 
 
21994
 
fi
21995
 
 
21996
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21997
 
      conftest$ac_exeext
21998
 
  if test "${ac_cv_search_opendir+set}" = set; then
21999
 
  break
22000
 
fi
22001
 
done
22002
 
if test "${ac_cv_search_opendir+set}" = set; then
22003
 
  :
22004
 
else
22005
 
  ac_cv_search_opendir=no
22006
 
fi
22007
 
rm conftest.$ac_ext
22008
 
LIBS=$ac_func_search_save_LIBS
22009
 
fi
22010
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
22011
 
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
22012
 
ac_res=$ac_cv_search_opendir
22013
 
if test "$ac_res" != no; then
22014
 
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
22015
 
 
22016
 
fi
22017
 
 
22018
 
fi
22019
 
 
22020
 
 
22021
 
{ echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
22022
 
echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
 
21319
  echo "$as_me:$LINENO: checking for library containing opendir" >&5
 
21320
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
 
21321
if test "${ac_cv_search_opendir+set}" = set; then
 
21322
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21323
else
 
21324
  ac_func_search_save_LIBS=$LIBS
 
21325
ac_cv_search_opendir=no
 
21326
cat >conftest.$ac_ext <<_ACEOF
 
21327
/* confdefs.h.  */
 
21328
_ACEOF
 
21329
cat confdefs.h >>conftest.$ac_ext
 
21330
cat >>conftest.$ac_ext <<_ACEOF
 
21331
/* end confdefs.h.  */
 
21332
 
 
21333
/* Override any gcc2 internal prototype to avoid an error.  */
 
21334
#ifdef __cplusplus
 
21335
extern "C"
 
21336
#endif
 
21337
/* We use char because int might match the return type of a gcc2
 
21338
   builtin and then its argument prototype would still apply.  */
 
21339
char opendir ();
 
21340
int
 
21341
main ()
 
21342
{
 
21343
opendir ();
 
21344
  ;
 
21345
  return 0;
 
21346
}
 
21347
_ACEOF
 
21348
rm -f conftest.$ac_objext conftest$ac_exeext
 
21349
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
21350
  (eval $ac_link) 2>conftest.er1
 
21351
  ac_status=$?
 
21352
  grep -v '^ *+' conftest.er1 >conftest.err
 
21353
  rm -f conftest.er1
 
21354
  cat conftest.err >&5
 
21355
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21356
  (exit $ac_status); } &&
 
21357
         { ac_try='test -z "$ac_c_werror_flag"
 
21358
                         || test ! -s conftest.err'
 
21359
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21360
  (eval $ac_try) 2>&5
 
21361
  ac_status=$?
 
21362
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21363
  (exit $ac_status); }; } &&
 
21364
         { ac_try='test -s conftest$ac_exeext'
 
21365
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21366
  (eval $ac_try) 2>&5
 
21367
  ac_status=$?
 
21368
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21369
  (exit $ac_status); }; }; then
 
21370
  ac_cv_search_opendir="none required"
 
21371
else
 
21372
  echo "$as_me: failed program was:" >&5
 
21373
sed 's/^/| /' conftest.$ac_ext >&5
 
21374
 
 
21375
fi
 
21376
rm -f conftest.err conftest.$ac_objext \
 
21377
      conftest$ac_exeext conftest.$ac_ext
 
21378
if test "$ac_cv_search_opendir" = no; then
 
21379
  for ac_lib in dir; do
 
21380
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
21381
    cat >conftest.$ac_ext <<_ACEOF
 
21382
/* confdefs.h.  */
 
21383
_ACEOF
 
21384
cat confdefs.h >>conftest.$ac_ext
 
21385
cat >>conftest.$ac_ext <<_ACEOF
 
21386
/* end confdefs.h.  */
 
21387
 
 
21388
/* Override any gcc2 internal prototype to avoid an error.  */
 
21389
#ifdef __cplusplus
 
21390
extern "C"
 
21391
#endif
 
21392
/* We use char because int might match the return type of a gcc2
 
21393
   builtin and then its argument prototype would still apply.  */
 
21394
char opendir ();
 
21395
int
 
21396
main ()
 
21397
{
 
21398
opendir ();
 
21399
  ;
 
21400
  return 0;
 
21401
}
 
21402
_ACEOF
 
21403
rm -f conftest.$ac_objext conftest$ac_exeext
 
21404
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
21405
  (eval $ac_link) 2>conftest.er1
 
21406
  ac_status=$?
 
21407
  grep -v '^ *+' conftest.er1 >conftest.err
 
21408
  rm -f conftest.er1
 
21409
  cat conftest.err >&5
 
21410
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21411
  (exit $ac_status); } &&
 
21412
         { ac_try='test -z "$ac_c_werror_flag"
 
21413
                         || test ! -s conftest.err'
 
21414
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21415
  (eval $ac_try) 2>&5
 
21416
  ac_status=$?
 
21417
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21418
  (exit $ac_status); }; } &&
 
21419
         { ac_try='test -s conftest$ac_exeext'
 
21420
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21421
  (eval $ac_try) 2>&5
 
21422
  ac_status=$?
 
21423
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21424
  (exit $ac_status); }; }; then
 
21425
  ac_cv_search_opendir="-l$ac_lib"
 
21426
break
 
21427
else
 
21428
  echo "$as_me: failed program was:" >&5
 
21429
sed 's/^/| /' conftest.$ac_ext >&5
 
21430
 
 
21431
fi
 
21432
rm -f conftest.err conftest.$ac_objext \
 
21433
      conftest$ac_exeext conftest.$ac_ext
 
21434
  done
 
21435
fi
 
21436
LIBS=$ac_func_search_save_LIBS
 
21437
fi
 
21438
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
 
21439
echo "${ECHO_T}$ac_cv_search_opendir" >&6
 
21440
if test "$ac_cv_search_opendir" != no; then
 
21441
  test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
 
21442
 
 
21443
fi
 
21444
 
 
21445
else
 
21446
  echo "$as_me:$LINENO: checking for library containing opendir" >&5
 
21447
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
 
21448
if test "${ac_cv_search_opendir+set}" = set; then
 
21449
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21450
else
 
21451
  ac_func_search_save_LIBS=$LIBS
 
21452
ac_cv_search_opendir=no
 
21453
cat >conftest.$ac_ext <<_ACEOF
 
21454
/* confdefs.h.  */
 
21455
_ACEOF
 
21456
cat confdefs.h >>conftest.$ac_ext
 
21457
cat >>conftest.$ac_ext <<_ACEOF
 
21458
/* end confdefs.h.  */
 
21459
 
 
21460
/* Override any gcc2 internal prototype to avoid an error.  */
 
21461
#ifdef __cplusplus
 
21462
extern "C"
 
21463
#endif
 
21464
/* We use char because int might match the return type of a gcc2
 
21465
   builtin and then its argument prototype would still apply.  */
 
21466
char opendir ();
 
21467
int
 
21468
main ()
 
21469
{
 
21470
opendir ();
 
21471
  ;
 
21472
  return 0;
 
21473
}
 
21474
_ACEOF
 
21475
rm -f conftest.$ac_objext conftest$ac_exeext
 
21476
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
21477
  (eval $ac_link) 2>conftest.er1
 
21478
  ac_status=$?
 
21479
  grep -v '^ *+' conftest.er1 >conftest.err
 
21480
  rm -f conftest.er1
 
21481
  cat conftest.err >&5
 
21482
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21483
  (exit $ac_status); } &&
 
21484
         { ac_try='test -z "$ac_c_werror_flag"
 
21485
                         || test ! -s conftest.err'
 
21486
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21487
  (eval $ac_try) 2>&5
 
21488
  ac_status=$?
 
21489
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21490
  (exit $ac_status); }; } &&
 
21491
         { ac_try='test -s conftest$ac_exeext'
 
21492
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21493
  (eval $ac_try) 2>&5
 
21494
  ac_status=$?
 
21495
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21496
  (exit $ac_status); }; }; then
 
21497
  ac_cv_search_opendir="none required"
 
21498
else
 
21499
  echo "$as_me: failed program was:" >&5
 
21500
sed 's/^/| /' conftest.$ac_ext >&5
 
21501
 
 
21502
fi
 
21503
rm -f conftest.err conftest.$ac_objext \
 
21504
      conftest$ac_exeext conftest.$ac_ext
 
21505
if test "$ac_cv_search_opendir" = no; then
 
21506
  for ac_lib in x; do
 
21507
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
21508
    cat >conftest.$ac_ext <<_ACEOF
 
21509
/* confdefs.h.  */
 
21510
_ACEOF
 
21511
cat confdefs.h >>conftest.$ac_ext
 
21512
cat >>conftest.$ac_ext <<_ACEOF
 
21513
/* end confdefs.h.  */
 
21514
 
 
21515
/* Override any gcc2 internal prototype to avoid an error.  */
 
21516
#ifdef __cplusplus
 
21517
extern "C"
 
21518
#endif
 
21519
/* We use char because int might match the return type of a gcc2
 
21520
   builtin and then its argument prototype would still apply.  */
 
21521
char opendir ();
 
21522
int
 
21523
main ()
 
21524
{
 
21525
opendir ();
 
21526
  ;
 
21527
  return 0;
 
21528
}
 
21529
_ACEOF
 
21530
rm -f conftest.$ac_objext conftest$ac_exeext
 
21531
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
21532
  (eval $ac_link) 2>conftest.er1
 
21533
  ac_status=$?
 
21534
  grep -v '^ *+' conftest.er1 >conftest.err
 
21535
  rm -f conftest.er1
 
21536
  cat conftest.err >&5
 
21537
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21538
  (exit $ac_status); } &&
 
21539
         { ac_try='test -z "$ac_c_werror_flag"
 
21540
                         || test ! -s conftest.err'
 
21541
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21542
  (eval $ac_try) 2>&5
 
21543
  ac_status=$?
 
21544
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21545
  (exit $ac_status); }; } &&
 
21546
         { ac_try='test -s conftest$ac_exeext'
 
21547
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21548
  (eval $ac_try) 2>&5
 
21549
  ac_status=$?
 
21550
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21551
  (exit $ac_status); }; }; then
 
21552
  ac_cv_search_opendir="-l$ac_lib"
 
21553
break
 
21554
else
 
21555
  echo "$as_me: failed program was:" >&5
 
21556
sed 's/^/| /' conftest.$ac_ext >&5
 
21557
 
 
21558
fi
 
21559
rm -f conftest.err conftest.$ac_objext \
 
21560
      conftest$ac_exeext conftest.$ac_ext
 
21561
  done
 
21562
fi
 
21563
LIBS=$ac_func_search_save_LIBS
 
21564
fi
 
21565
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
 
21566
echo "${ECHO_T}$ac_cv_search_opendir" >&6
 
21567
if test "$ac_cv_search_opendir" != no; then
 
21568
  test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
 
21569
 
 
21570
fi
 
21571
 
 
21572
fi
 
21573
 
 
21574
 
 
21575
echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
 
21576
echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
22023
21577
if test "${ac_cv_header_stat_broken+set}" = set; then
22024
21578
  echo $ECHO_N "(cached) $ECHO_C" >&6
22025
21579
else
22032
21586
#include <sys/types.h>
22033
21587
#include <sys/stat.h>
22034
21588
 
22035
 
#if defined S_ISBLK && defined S_IFDIR
22036
 
extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
22037
 
#endif
22038
 
 
22039
 
#if defined S_ISBLK && defined S_IFCHR
22040
 
extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
22041
 
#endif
22042
 
 
22043
 
#if defined S_ISLNK && defined S_IFREG
22044
 
extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
22045
 
#endif
22046
 
 
22047
 
#if defined S_ISSOCK && defined S_IFREG
22048
 
extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
 
21589
#if defined(S_ISBLK) && defined(S_IFDIR)
 
21590
# if S_ISBLK (S_IFDIR)
 
21591
You lose.
 
21592
# endif
 
21593
#endif
 
21594
 
 
21595
#if defined(S_ISBLK) && defined(S_IFCHR)
 
21596
# if S_ISBLK (S_IFCHR)
 
21597
You lose.
 
21598
# endif
 
21599
#endif
 
21600
 
 
21601
#if defined(S_ISLNK) && defined(S_IFREG)
 
21602
# if S_ISLNK (S_IFREG)
 
21603
You lose.
 
21604
# endif
 
21605
#endif
 
21606
 
 
21607
#if defined(S_ISSOCK) && defined(S_IFREG)
 
21608
# if S_ISSOCK (S_IFREG)
 
21609
You lose.
 
21610
# endif
22049
21611
#endif
22050
21612
 
22051
21613
_ACEOF
22052
 
rm -f conftest.$ac_objext
22053
 
if { (ac_try="$ac_compile"
22054
 
case "(($ac_try" in
22055
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22056
 
  *) ac_try_echo=$ac_try;;
22057
 
esac
22058
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22059
 
  (eval "$ac_compile") 2>conftest.er1
22060
 
  ac_status=$?
22061
 
  grep -v '^ *+' conftest.er1 >conftest.err
22062
 
  rm -f conftest.er1
22063
 
  cat conftest.err >&5
22064
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22065
 
  (exit $ac_status); } && {
22066
 
         test -z "$ac_c_werror_flag" ||
22067
 
         test ! -s conftest.err
22068
 
       } && test -s conftest.$ac_objext; then
 
21614
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
21615
  $EGREP "You lose" >/dev/null 2>&1; then
 
21616
  ac_cv_header_stat_broken=yes
 
21617
else
22069
21618
  ac_cv_header_stat_broken=no
22070
 
else
22071
 
  echo "$as_me: failed program was:" >&5
22072
 
sed 's/^/| /' conftest.$ac_ext >&5
22073
 
 
22074
 
        ac_cv_header_stat_broken=yes
22075
 
fi
22076
 
 
22077
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22078
 
fi
22079
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
22080
 
echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
 
21619
fi
 
21620
rm -f conftest*
 
21621
 
 
21622
fi
 
21623
echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
 
21624
echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
22081
21625
if test $ac_cv_header_stat_broken = yes; then
22082
21626
 
22083
21627
cat >>confdefs.h <<\_ACEOF
22086
21630
 
22087
21631
fi
22088
21632
 
22089
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
22090
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
21633
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
21634
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
22091
21635
if test "${ac_cv_header_stdc+set}" = set; then
22092
21636
  echo $ECHO_N "(cached) $ECHO_C" >&6
22093
21637
else
22111
21655
}
22112
21656
_ACEOF
22113
21657
rm -f conftest.$ac_objext
22114
 
if { (ac_try="$ac_compile"
22115
 
case "(($ac_try" in
22116
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22117
 
  *) ac_try_echo=$ac_try;;
22118
 
esac
22119
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22120
 
  (eval "$ac_compile") 2>conftest.er1
 
21658
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
21659
  (eval $ac_compile) 2>conftest.er1
22121
21660
  ac_status=$?
22122
21661
  grep -v '^ *+' conftest.er1 >conftest.err
22123
21662
  rm -f conftest.er1
22124
21663
  cat conftest.err >&5
22125
21664
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126
 
  (exit $ac_status); } && {
22127
 
         test -z "$ac_c_werror_flag" ||
22128
 
         test ! -s conftest.err
22129
 
       } && test -s conftest.$ac_objext; then
 
21665
  (exit $ac_status); } &&
 
21666
         { ac_try='test -z "$ac_c_werror_flag"
 
21667
                         || test ! -s conftest.err'
 
21668
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21669
  (eval $ac_try) 2>&5
 
21670
  ac_status=$?
 
21671
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21672
  (exit $ac_status); }; } &&
 
21673
         { ac_try='test -s conftest.$ac_objext'
 
21674
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21675
  (eval $ac_try) 2>&5
 
21676
  ac_status=$?
 
21677
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21678
  (exit $ac_status); }; }; then
22130
21679
  ac_cv_header_stdc=yes
22131
21680
else
22132
21681
  echo "$as_me: failed program was:" >&5
22133
21682
sed 's/^/| /' conftest.$ac_ext >&5
22134
21683
 
22135
 
        ac_cv_header_stdc=no
 
21684
ac_cv_header_stdc=no
22136
21685
fi
22137
 
 
22138
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21686
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22139
21687
 
22140
21688
if test $ac_cv_header_stdc = yes; then
22141
21689
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
22191
21739
cat >>conftest.$ac_ext <<_ACEOF
22192
21740
/* end confdefs.h.  */
22193
21741
#include <ctype.h>
22194
 
#include <stdlib.h>
22195
21742
#if ((' ' & 0x0FF) == 0x020)
22196
21743
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
22197
21744
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
22211
21758
  for (i = 0; i < 256; i++)
22212
21759
    if (XOR (islower (i), ISLOWER (i))
22213
21760
        || toupper (i) != TOUPPER (i))
22214
 
      return 2;
22215
 
  return 0;
 
21761
      exit(2);
 
21762
  exit (0);
22216
21763
}
22217
21764
_ACEOF
22218
21765
rm -f conftest$ac_exeext
22219
 
if { (ac_try="$ac_link"
22220
 
case "(($ac_try" in
22221
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22222
 
  *) ac_try_echo=$ac_try;;
22223
 
esac
22224
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22225
 
  (eval "$ac_link") 2>&5
 
21766
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
21767
  (eval $ac_link) 2>&5
22226
21768
  ac_status=$?
22227
21769
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22228
21770
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22229
 
  { (case "(($ac_try" in
22230
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22231
 
  *) ac_try_echo=$ac_try;;
22232
 
esac
22233
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22234
 
  (eval "$ac_try") 2>&5
 
21771
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21772
  (eval $ac_try) 2>&5
22235
21773
  ac_status=$?
22236
21774
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237
21775
  (exit $ac_status); }; }; then
22244
21782
( exit $ac_status )
22245
21783
ac_cv_header_stdc=no
22246
21784
fi
22247
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22248
 
fi
22249
 
 
22250
 
 
22251
 
fi
22252
 
fi
22253
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
22254
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
21785
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
21786
fi
 
21787
fi
 
21788
fi
 
21789
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
21790
echo "${ECHO_T}$ac_cv_header_stdc" >&6
22255
21791
if test $ac_cv_header_stdc = yes; then
22256
21792
 
22257
21793
cat >>confdefs.h <<\_ACEOF
22269
21805
for ac_header in unistd.h stdlib.h string.h sys/timeb.h windows.h
22270
21806
do
22271
21807
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22272
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22273
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
22274
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22275
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21808
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
21809
  echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21810
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
21811
if eval "test \"\${$as_ac_Header+set}\" = set"; then
22276
21812
  echo $ECHO_N "(cached) $ECHO_C" >&6
22277
21813
fi
22278
 
ac_res=`eval echo '${'$as_ac_Header'}'`
22279
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22280
 
echo "${ECHO_T}$ac_res" >&6; }
 
21814
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
21815
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22281
21816
else
22282
21817
  # Is the header compilable?
22283
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
22284
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
21818
echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
21819
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22285
21820
cat >conftest.$ac_ext <<_ACEOF
22286
21821
/* confdefs.h.  */
22287
21822
_ACEOF
22292
21827
#include <$ac_header>
22293
21828
_ACEOF
22294
21829
rm -f conftest.$ac_objext
22295
 
if { (ac_try="$ac_compile"
22296
 
case "(($ac_try" in
22297
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22298
 
  *) ac_try_echo=$ac_try;;
22299
 
esac
22300
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22301
 
  (eval "$ac_compile") 2>conftest.er1
 
21830
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
21831
  (eval $ac_compile) 2>conftest.er1
22302
21832
  ac_status=$?
22303
21833
  grep -v '^ *+' conftest.er1 >conftest.err
22304
21834
  rm -f conftest.er1
22305
21835
  cat conftest.err >&5
22306
21836
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22307
 
  (exit $ac_status); } && {
22308
 
         test -z "$ac_c_werror_flag" ||
22309
 
         test ! -s conftest.err
22310
 
       } && test -s conftest.$ac_objext; then
 
21837
  (exit $ac_status); } &&
 
21838
         { ac_try='test -z "$ac_c_werror_flag"
 
21839
                         || test ! -s conftest.err'
 
21840
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21841
  (eval $ac_try) 2>&5
 
21842
  ac_status=$?
 
21843
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21844
  (exit $ac_status); }; } &&
 
21845
         { ac_try='test -s conftest.$ac_objext'
 
21846
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21847
  (eval $ac_try) 2>&5
 
21848
  ac_status=$?
 
21849
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21850
  (exit $ac_status); }; }; then
22311
21851
  ac_header_compiler=yes
22312
21852
else
22313
21853
  echo "$as_me: failed program was:" >&5
22314
21854
sed 's/^/| /' conftest.$ac_ext >&5
22315
21855
 
22316
 
        ac_header_compiler=no
 
21856
ac_header_compiler=no
22317
21857
fi
22318
 
 
22319
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22320
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22321
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
21858
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21859
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
21860
echo "${ECHO_T}$ac_header_compiler" >&6
22322
21861
 
22323
21862
# Is the header present?
22324
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
22325
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
21863
echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
21864
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22326
21865
cat >conftest.$ac_ext <<_ACEOF
22327
21866
/* confdefs.h.  */
22328
21867
_ACEOF
22331
21870
/* end confdefs.h.  */
22332
21871
#include <$ac_header>
22333
21872
_ACEOF
22334
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
22335
 
case "(($ac_try" in
22336
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22337
 
  *) ac_try_echo=$ac_try;;
22338
 
esac
22339
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22340
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
21873
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
21874
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22341
21875
  ac_status=$?
22342
21876
  grep -v '^ *+' conftest.er1 >conftest.err
22343
21877
  rm -f conftest.er1
22344
21878
  cat conftest.err >&5
22345
21879
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346
 
  (exit $ac_status); } >/dev/null && {
22347
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22348
 
         test ! -s conftest.err
22349
 
       }; then
 
21880
  (exit $ac_status); } >/dev/null; then
 
21881
  if test -s conftest.err; then
 
21882
    ac_cpp_err=$ac_c_preproc_warn_flag
 
21883
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
21884
  else
 
21885
    ac_cpp_err=
 
21886
  fi
 
21887
else
 
21888
  ac_cpp_err=yes
 
21889
fi
 
21890
if test -z "$ac_cpp_err"; then
22350
21891
  ac_header_preproc=yes
22351
21892
else
22352
21893
  echo "$as_me: failed program was:" >&5
22354
21895
 
22355
21896
  ac_header_preproc=no
22356
21897
fi
22357
 
 
22358
21898
rm -f conftest.err conftest.$ac_ext
22359
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22360
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
21899
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
21900
echo "${ECHO_T}$ac_header_preproc" >&6
22361
21901
 
22362
21902
# So?  What about this header?
22363
21903
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22381
21921
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22382
21922
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22383
21923
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22384
 
 
 
21924
    (
 
21925
      cat <<\_ASBOX
 
21926
## ------------------------------------------ ##
 
21927
## Report this to the AC_PACKAGE_NAME lists.  ##
 
21928
## ------------------------------------------ ##
 
21929
_ASBOX
 
21930
    ) |
 
21931
      sed "s/^/$as_me: WARNING:     /" >&2
22385
21932
    ;;
22386
21933
esac
22387
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
22388
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22389
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21934
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21935
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
21936
if eval "test \"\${$as_ac_Header+set}\" = set"; then
22390
21937
  echo $ECHO_N "(cached) $ECHO_C" >&6
22391
21938
else
22392
21939
  eval "$as_ac_Header=\$ac_header_preproc"
22393
21940
fi
22394
 
ac_res=`eval echo '${'$as_ac_Header'}'`
22395
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22396
 
echo "${ECHO_T}$ac_res" >&6; }
 
21941
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
21942
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22397
21943
 
22398
21944
fi
22399
21945
if test `eval echo '${'$as_ac_Header'}'` = yes; then
22410
21956
for ac_header in sys/resource.h sys/param.h
22411
21957
do
22412
21958
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22413
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22414
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
22415
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22416
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21959
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
21960
  echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21961
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
21962
if eval "test \"\${$as_ac_Header+set}\" = set"; then
22417
21963
  echo $ECHO_N "(cached) $ECHO_C" >&6
22418
21964
fi
22419
 
ac_res=`eval echo '${'$as_ac_Header'}'`
22420
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22421
 
echo "${ECHO_T}$ac_res" >&6; }
 
21965
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
21966
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22422
21967
else
22423
21968
  # Is the header compilable?
22424
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
22425
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
21969
echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
21970
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22426
21971
cat >conftest.$ac_ext <<_ACEOF
22427
21972
/* confdefs.h.  */
22428
21973
_ACEOF
22433
21978
#include <$ac_header>
22434
21979
_ACEOF
22435
21980
rm -f conftest.$ac_objext
22436
 
if { (ac_try="$ac_compile"
22437
 
case "(($ac_try" in
22438
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22439
 
  *) ac_try_echo=$ac_try;;
22440
 
esac
22441
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22442
 
  (eval "$ac_compile") 2>conftest.er1
 
21981
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
21982
  (eval $ac_compile) 2>conftest.er1
22443
21983
  ac_status=$?
22444
21984
  grep -v '^ *+' conftest.er1 >conftest.err
22445
21985
  rm -f conftest.er1
22446
21986
  cat conftest.err >&5
22447
21987
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22448
 
  (exit $ac_status); } && {
22449
 
         test -z "$ac_c_werror_flag" ||
22450
 
         test ! -s conftest.err
22451
 
       } && test -s conftest.$ac_objext; then
 
21988
  (exit $ac_status); } &&
 
21989
         { ac_try='test -z "$ac_c_werror_flag"
 
21990
                         || test ! -s conftest.err'
 
21991
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21992
  (eval $ac_try) 2>&5
 
21993
  ac_status=$?
 
21994
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21995
  (exit $ac_status); }; } &&
 
21996
         { ac_try='test -s conftest.$ac_objext'
 
21997
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21998
  (eval $ac_try) 2>&5
 
21999
  ac_status=$?
 
22000
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22001
  (exit $ac_status); }; }; then
22452
22002
  ac_header_compiler=yes
22453
22003
else
22454
22004
  echo "$as_me: failed program was:" >&5
22455
22005
sed 's/^/| /' conftest.$ac_ext >&5
22456
22006
 
22457
 
        ac_header_compiler=no
 
22007
ac_header_compiler=no
22458
22008
fi
22459
 
 
22460
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22461
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22462
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
22009
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22010
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
22011
echo "${ECHO_T}$ac_header_compiler" >&6
22463
22012
 
22464
22013
# Is the header present?
22465
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
22466
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
22014
echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
22015
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22467
22016
cat >conftest.$ac_ext <<_ACEOF
22468
22017
/* confdefs.h.  */
22469
22018
_ACEOF
22472
22021
/* end confdefs.h.  */
22473
22022
#include <$ac_header>
22474
22023
_ACEOF
22475
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
22476
 
case "(($ac_try" in
22477
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22478
 
  *) ac_try_echo=$ac_try;;
22479
 
esac
22480
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22481
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
22024
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
22025
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22482
22026
  ac_status=$?
22483
22027
  grep -v '^ *+' conftest.er1 >conftest.err
22484
22028
  rm -f conftest.er1
22485
22029
  cat conftest.err >&5
22486
22030
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22487
 
  (exit $ac_status); } >/dev/null && {
22488
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22489
 
         test ! -s conftest.err
22490
 
       }; then
 
22031
  (exit $ac_status); } >/dev/null; then
 
22032
  if test -s conftest.err; then
 
22033
    ac_cpp_err=$ac_c_preproc_warn_flag
 
22034
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
22035
  else
 
22036
    ac_cpp_err=
 
22037
  fi
 
22038
else
 
22039
  ac_cpp_err=yes
 
22040
fi
 
22041
if test -z "$ac_cpp_err"; then
22491
22042
  ac_header_preproc=yes
22492
22043
else
22493
22044
  echo "$as_me: failed program was:" >&5
22495
22046
 
22496
22047
  ac_header_preproc=no
22497
22048
fi
22498
 
 
22499
22049
rm -f conftest.err conftest.$ac_ext
22500
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22501
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
22050
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
22051
echo "${ECHO_T}$ac_header_preproc" >&6
22502
22052
 
22503
22053
# So?  What about this header?
22504
22054
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22522
22072
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22523
22073
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22524
22074
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22525
 
 
 
22075
    (
 
22076
      cat <<\_ASBOX
 
22077
## ------------------------------------------ ##
 
22078
## Report this to the AC_PACKAGE_NAME lists.  ##
 
22079
## ------------------------------------------ ##
 
22080
_ASBOX
 
22081
    ) |
 
22082
      sed "s/^/$as_me: WARNING:     /" >&2
22526
22083
    ;;
22527
22084
esac
22528
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
22529
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22530
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
22085
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
22086
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
22087
if eval "test \"\${$as_ac_Header+set}\" = set"; then
22531
22088
  echo $ECHO_N "(cached) $ECHO_C" >&6
22532
22089
else
22533
22090
  eval "$as_ac_Header=\$ac_header_preproc"
22534
22091
fi
22535
 
ac_res=`eval echo '${'$as_ac_Header'}'`
22536
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22537
 
echo "${ECHO_T}$ac_res" >&6; }
 
22092
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
22093
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22538
22094
 
22539
22095
fi
22540
22096
if test `eval echo '${'$as_ac_Header'}'` = yes; then
22547
22103
done
22548
22104
 
22549
22105
 
22550
 
{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
22551
 
echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
 
22106
echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
 
22107
echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
22552
22108
if test "${ac_cv_header_sys_wait_h+set}" = set; then
22553
22109
  echo $ECHO_N "(cached) $ECHO_C" >&6
22554
22110
else
22561
22117
#include <sys/types.h>
22562
22118
#include <sys/wait.h>
22563
22119
#ifndef WEXITSTATUS
22564
 
# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
 
22120
# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
22565
22121
#endif
22566
22122
#ifndef WIFEXITED
22567
22123
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
22578
22134
}
22579
22135
_ACEOF
22580
22136
rm -f conftest.$ac_objext
22581
 
if { (ac_try="$ac_compile"
22582
 
case "(($ac_try" in
22583
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22584
 
  *) ac_try_echo=$ac_try;;
22585
 
esac
22586
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22587
 
  (eval "$ac_compile") 2>conftest.er1
 
22137
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
22138
  (eval $ac_compile) 2>conftest.er1
22588
22139
  ac_status=$?
22589
22140
  grep -v '^ *+' conftest.er1 >conftest.err
22590
22141
  rm -f conftest.er1
22591
22142
  cat conftest.err >&5
22592
22143
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22593
 
  (exit $ac_status); } && {
22594
 
         test -z "$ac_c_werror_flag" ||
22595
 
         test ! -s conftest.err
22596
 
       } && test -s conftest.$ac_objext; then
 
22144
  (exit $ac_status); } &&
 
22145
         { ac_try='test -z "$ac_c_werror_flag"
 
22146
                         || test ! -s conftest.err'
 
22147
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22148
  (eval $ac_try) 2>&5
 
22149
  ac_status=$?
 
22150
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22151
  (exit $ac_status); }; } &&
 
22152
         { ac_try='test -s conftest.$ac_objext'
 
22153
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22154
  (eval $ac_try) 2>&5
 
22155
  ac_status=$?
 
22156
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22157
  (exit $ac_status); }; }; then
22597
22158
  ac_cv_header_sys_wait_h=yes
22598
22159
else
22599
22160
  echo "$as_me: failed program was:" >&5
22600
22161
sed 's/^/| /' conftest.$ac_ext >&5
22601
22162
 
22602
 
        ac_cv_header_sys_wait_h=no
22603
 
fi
22604
 
 
22605
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22606
 
fi
22607
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
22608
 
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
 
22163
ac_cv_header_sys_wait_h=no
 
22164
fi
 
22165
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22166
fi
 
22167
echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
 
22168
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
22609
22169
if test $ac_cv_header_sys_wait_h = yes; then
22610
22170
 
22611
22171
cat >>confdefs.h <<\_ACEOF
22615
22175
fi
22616
22176
 
22617
22177
 
22618
 
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
22619
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
 
22178
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 
22179
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
22620
22180
if test "${ac_cv_c_const+set}" = set; then
22621
22181
  echo $ECHO_N "(cached) $ECHO_C" >&6
22622
22182
else
22634
22194
#ifndef __cplusplus
22635
22195
  /* Ultrix mips cc rejects this.  */
22636
22196
  typedef int charset[2];
22637
 
  const charset cs;
 
22197
  const charset x;
22638
22198
  /* SunOS 4.1.1 cc rejects this.  */
22639
 
  char const *const *pcpcc;
22640
 
  char **ppc;
 
22199
  char const *const *ccp;
 
22200
  char **p;
22641
22201
  /* NEC SVR4.0.2 mips cc rejects this.  */
22642
22202
  struct point {int x, y;};
22643
22203
  static struct point const zero = {0,0};
22646
22206
     an arm of an if-expression whose if-part is not a constant
22647
22207
     expression */
22648
22208
  const char *g = "string";
22649
 
  pcpcc = &g + (g ? g-g : 0);
 
22209
  ccp = &g + (g ? g-g : 0);
22650
22210
  /* HPUX 7.0 cc rejects these. */
22651
 
  ++pcpcc;
22652
 
  ppc = (char**) pcpcc;
22653
 
  pcpcc = (char const *const *) ppc;
 
22211
  ++ccp;
 
22212
  p = (char**) ccp;
 
22213
  ccp = (char const *const *) p;
22654
22214
  { /* SCO 3.2v4 cc rejects this.  */
22655
22215
    char *t;
22656
22216
    char const *s = 0 ? (char *) 0 : (char const *) 0;
22657
22217
 
22658
22218
    *t++ = 0;
22659
 
    if (s) return 0;
22660
22219
  }
22661
22220
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
22662
22221
    int x[] = {25, 17};
22675
22234
  }
22676
22235
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
22677
22236
    const int foo = 10;
22678
 
    if (!foo) return 0;
22679
22237
  }
22680
 
  return !cs[0] && !zero.x;
22681
22238
#endif
22682
22239
 
22683
22240
  ;
22685
22242
}
22686
22243
_ACEOF
22687
22244
rm -f conftest.$ac_objext
22688
 
if { (ac_try="$ac_compile"
22689
 
case "(($ac_try" in
22690
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22691
 
  *) ac_try_echo=$ac_try;;
22692
 
esac
22693
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22694
 
  (eval "$ac_compile") 2>conftest.er1
 
22245
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
22246
  (eval $ac_compile) 2>conftest.er1
22695
22247
  ac_status=$?
22696
22248
  grep -v '^ *+' conftest.er1 >conftest.err
22697
22249
  rm -f conftest.er1
22698
22250
  cat conftest.err >&5
22699
22251
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22700
 
  (exit $ac_status); } && {
22701
 
         test -z "$ac_c_werror_flag" ||
22702
 
         test ! -s conftest.err
22703
 
       } && test -s conftest.$ac_objext; then
 
22252
  (exit $ac_status); } &&
 
22253
         { ac_try='test -z "$ac_c_werror_flag"
 
22254
                         || test ! -s conftest.err'
 
22255
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22256
  (eval $ac_try) 2>&5
 
22257
  ac_status=$?
 
22258
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22259
  (exit $ac_status); }; } &&
 
22260
         { ac_try='test -s conftest.$ac_objext'
 
22261
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22262
  (eval $ac_try) 2>&5
 
22263
  ac_status=$?
 
22264
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22265
  (exit $ac_status); }; }; then
22704
22266
  ac_cv_c_const=yes
22705
22267
else
22706
22268
  echo "$as_me: failed program was:" >&5
22707
22269
sed 's/^/| /' conftest.$ac_ext >&5
22708
22270
 
22709
 
        ac_cv_c_const=no
22710
 
fi
22711
 
 
22712
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22713
 
fi
22714
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
22715
 
echo "${ECHO_T}$ac_cv_c_const" >&6; }
 
22271
ac_cv_c_const=no
 
22272
fi
 
22273
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22274
fi
 
22275
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 
22276
echo "${ECHO_T}$ac_cv_c_const" >&6
22716
22277
if test $ac_cv_c_const = no; then
22717
22278
 
22718
22279
cat >>confdefs.h <<\_ACEOF
22721
22282
 
22722
22283
fi
22723
22284
 
22724
 
{ echo "$as_me:$LINENO: checking for pid_t" >&5
22725
 
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
 
22285
echo "$as_me:$LINENO: checking for pid_t" >&5
 
22286
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
22726
22287
if test "${ac_cv_type_pid_t+set}" = set; then
22727
22288
  echo $ECHO_N "(cached) $ECHO_C" >&6
22728
22289
else
22733
22294
cat >>conftest.$ac_ext <<_ACEOF
22734
22295
/* end confdefs.h.  */
22735
22296
$ac_includes_default
22736
 
typedef pid_t ac__type_new_;
22737
22297
int
22738
22298
main ()
22739
22299
{
22740
 
if ((ac__type_new_ *) 0)
 
22300
if ((pid_t *) 0)
22741
22301
  return 0;
22742
 
if (sizeof (ac__type_new_))
 
22302
if (sizeof (pid_t))
22743
22303
  return 0;
22744
22304
  ;
22745
22305
  return 0;
22746
22306
}
22747
22307
_ACEOF
22748
22308
rm -f conftest.$ac_objext
22749
 
if { (ac_try="$ac_compile"
22750
 
case "(($ac_try" in
22751
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22752
 
  *) ac_try_echo=$ac_try;;
22753
 
esac
22754
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22755
 
  (eval "$ac_compile") 2>conftest.er1
 
22309
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
22310
  (eval $ac_compile) 2>conftest.er1
22756
22311
  ac_status=$?
22757
22312
  grep -v '^ *+' conftest.er1 >conftest.err
22758
22313
  rm -f conftest.er1
22759
22314
  cat conftest.err >&5
22760
22315
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22761
 
  (exit $ac_status); } && {
22762
 
         test -z "$ac_c_werror_flag" ||
22763
 
         test ! -s conftest.err
22764
 
       } && test -s conftest.$ac_objext; then
 
22316
  (exit $ac_status); } &&
 
22317
         { ac_try='test -z "$ac_c_werror_flag"
 
22318
                         || test ! -s conftest.err'
 
22319
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22320
  (eval $ac_try) 2>&5
 
22321
  ac_status=$?
 
22322
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22323
  (exit $ac_status); }; } &&
 
22324
         { ac_try='test -s conftest.$ac_objext'
 
22325
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22326
  (eval $ac_try) 2>&5
 
22327
  ac_status=$?
 
22328
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22329
  (exit $ac_status); }; }; then
22765
22330
  ac_cv_type_pid_t=yes
22766
22331
else
22767
22332
  echo "$as_me: failed program was:" >&5
22768
22333
sed 's/^/| /' conftest.$ac_ext >&5
22769
22334
 
22770
 
        ac_cv_type_pid_t=no
22771
 
fi
22772
 
 
22773
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22774
 
fi
22775
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
22776
 
echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
 
22335
ac_cv_type_pid_t=no
 
22336
fi
 
22337
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22338
fi
 
22339
echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
 
22340
echo "${ECHO_T}$ac_cv_type_pid_t" >&6
22777
22341
if test $ac_cv_type_pid_t = yes; then
22778
22342
  :
22779
22343
else
22784
22348
 
22785
22349
fi
22786
22350
 
22787
 
{ echo "$as_me:$LINENO: checking for size_t" >&5
22788
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
 
22351
echo "$as_me:$LINENO: checking for size_t" >&5
 
22352
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
22789
22353
if test "${ac_cv_type_size_t+set}" = set; then
22790
22354
  echo $ECHO_N "(cached) $ECHO_C" >&6
22791
22355
else
22796
22360
cat >>conftest.$ac_ext <<_ACEOF
22797
22361
/* end confdefs.h.  */
22798
22362
$ac_includes_default
22799
 
typedef size_t ac__type_new_;
22800
22363
int
22801
22364
main ()
22802
22365
{
22803
 
if ((ac__type_new_ *) 0)
 
22366
if ((size_t *) 0)
22804
22367
  return 0;
22805
 
if (sizeof (ac__type_new_))
 
22368
if (sizeof (size_t))
22806
22369
  return 0;
22807
22370
  ;
22808
22371
  return 0;
22809
22372
}
22810
22373
_ACEOF
22811
22374
rm -f conftest.$ac_objext
22812
 
if { (ac_try="$ac_compile"
22813
 
case "(($ac_try" in
22814
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22815
 
  *) ac_try_echo=$ac_try;;
22816
 
esac
22817
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22818
 
  (eval "$ac_compile") 2>conftest.er1
 
22375
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
22376
  (eval $ac_compile) 2>conftest.er1
22819
22377
  ac_status=$?
22820
22378
  grep -v '^ *+' conftest.er1 >conftest.err
22821
22379
  rm -f conftest.er1
22822
22380
  cat conftest.err >&5
22823
22381
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22824
 
  (exit $ac_status); } && {
22825
 
         test -z "$ac_c_werror_flag" ||
22826
 
         test ! -s conftest.err
22827
 
       } && test -s conftest.$ac_objext; then
 
22382
  (exit $ac_status); } &&
 
22383
         { ac_try='test -z "$ac_c_werror_flag"
 
22384
                         || test ! -s conftest.err'
 
22385
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22386
  (eval $ac_try) 2>&5
 
22387
  ac_status=$?
 
22388
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22389
  (exit $ac_status); }; } &&
 
22390
         { ac_try='test -s conftest.$ac_objext'
 
22391
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22392
  (eval $ac_try) 2>&5
 
22393
  ac_status=$?
 
22394
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22395
  (exit $ac_status); }; }; then
22828
22396
  ac_cv_type_size_t=yes
22829
22397
else
22830
22398
  echo "$as_me: failed program was:" >&5
22831
22399
sed 's/^/| /' conftest.$ac_ext >&5
22832
22400
 
22833
 
        ac_cv_type_size_t=no
22834
 
fi
22835
 
 
22836
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22837
 
fi
22838
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22839
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
 
22401
ac_cv_type_size_t=no
 
22402
fi
 
22403
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22404
fi
 
22405
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
 
22406
echo "${ECHO_T}$ac_cv_type_size_t" >&6
22840
22407
if test $ac_cv_type_size_t = yes; then
22841
22408
  :
22842
22409
else
22843
22410
 
22844
22411
cat >>confdefs.h <<_ACEOF
22845
 
#define size_t unsigned int
 
22412
#define size_t unsigned
22846
22413
_ACEOF
22847
22414
 
22848
22415
fi
22849
22416
 
22850
 
{ echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
22851
 
echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
 
22417
echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
 
22418
echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
22852
22419
if test "${ac_cv_struct_tm+set}" = set; then
22853
22420
  echo $ECHO_N "(cached) $ECHO_C" >&6
22854
22421
else
22864
22431
int
22865
22432
main ()
22866
22433
{
22867
 
struct tm tm;
22868
 
                                     int *p = &tm.tm_sec;
22869
 
                                     return !p;
 
22434
struct tm *tp; tp->tm_sec;
22870
22435
  ;
22871
22436
  return 0;
22872
22437
}
22873
22438
_ACEOF
22874
22439
rm -f conftest.$ac_objext
22875
 
if { (ac_try="$ac_compile"
22876
 
case "(($ac_try" in
22877
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22878
 
  *) ac_try_echo=$ac_try;;
22879
 
esac
22880
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22881
 
  (eval "$ac_compile") 2>conftest.er1
 
22440
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
22441
  (eval $ac_compile) 2>conftest.er1
22882
22442
  ac_status=$?
22883
22443
  grep -v '^ *+' conftest.er1 >conftest.err
22884
22444
  rm -f conftest.er1
22885
22445
  cat conftest.err >&5
22886
22446
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22887
 
  (exit $ac_status); } && {
22888
 
         test -z "$ac_c_werror_flag" ||
22889
 
         test ! -s conftest.err
22890
 
       } && test -s conftest.$ac_objext; then
 
22447
  (exit $ac_status); } &&
 
22448
         { ac_try='test -z "$ac_c_werror_flag"
 
22449
                         || test ! -s conftest.err'
 
22450
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22451
  (eval $ac_try) 2>&5
 
22452
  ac_status=$?
 
22453
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22454
  (exit $ac_status); }; } &&
 
22455
         { ac_try='test -s conftest.$ac_objext'
 
22456
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22457
  (eval $ac_try) 2>&5
 
22458
  ac_status=$?
 
22459
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22460
  (exit $ac_status); }; }; then
22891
22461
  ac_cv_struct_tm=time.h
22892
22462
else
22893
22463
  echo "$as_me: failed program was:" >&5
22894
22464
sed 's/^/| /' conftest.$ac_ext >&5
22895
22465
 
22896
 
        ac_cv_struct_tm=sys/time.h
22897
 
fi
22898
 
 
22899
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22900
 
fi
22901
 
{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
22902
 
echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
 
22466
ac_cv_struct_tm=sys/time.h
 
22467
fi
 
22468
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22469
fi
 
22470
echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
 
22471
echo "${ECHO_T}$ac_cv_struct_tm" >&6
22903
22472
if test $ac_cv_struct_tm = sys/time.h; then
22904
22473
 
22905
22474
cat >>confdefs.h <<\_ACEOF
22911
22480
 
22912
22481
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
22913
22482
# for constant arguments.  Useless!
22914
 
{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
22915
 
echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
 
22483
echo "$as_me:$LINENO: checking for working alloca.h" >&5
 
22484
echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
22916
22485
if test "${ac_cv_working_alloca_h+set}" = set; then
22917
22486
  echo $ECHO_N "(cached) $ECHO_C" >&6
22918
22487
else
22927
22496
main ()
22928
22497
{
22929
22498
char *p = (char *) alloca (2 * sizeof (int));
22930
 
                          if (p) return 0;
22931
22499
  ;
22932
22500
  return 0;
22933
22501
}
22934
22502
_ACEOF
22935
22503
rm -f conftest.$ac_objext conftest$ac_exeext
22936
 
if { (ac_try="$ac_link"
22937
 
case "(($ac_try" in
22938
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22939
 
  *) ac_try_echo=$ac_try;;
22940
 
esac
22941
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22942
 
  (eval "$ac_link") 2>conftest.er1
 
22504
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
22505
  (eval $ac_link) 2>conftest.er1
22943
22506
  ac_status=$?
22944
22507
  grep -v '^ *+' conftest.er1 >conftest.err
22945
22508
  rm -f conftest.er1
22946
22509
  cat conftest.err >&5
22947
22510
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22948
 
  (exit $ac_status); } && {
22949
 
         test -z "$ac_c_werror_flag" ||
22950
 
         test ! -s conftest.err
22951
 
       } && test -s conftest$ac_exeext &&
22952
 
       $as_test_x conftest$ac_exeext; then
 
22511
  (exit $ac_status); } &&
 
22512
         { ac_try='test -z "$ac_c_werror_flag"
 
22513
                         || test ! -s conftest.err'
 
22514
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22515
  (eval $ac_try) 2>&5
 
22516
  ac_status=$?
 
22517
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22518
  (exit $ac_status); }; } &&
 
22519
         { ac_try='test -s conftest$ac_exeext'
 
22520
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22521
  (eval $ac_try) 2>&5
 
22522
  ac_status=$?
 
22523
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22524
  (exit $ac_status); }; }; then
22953
22525
  ac_cv_working_alloca_h=yes
22954
22526
else
22955
22527
  echo "$as_me: failed program was:" >&5
22956
22528
sed 's/^/| /' conftest.$ac_ext >&5
22957
22529
 
22958
 
        ac_cv_working_alloca_h=no
 
22530
ac_cv_working_alloca_h=no
22959
22531
fi
22960
 
 
22961
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
22532
rm -f conftest.err conftest.$ac_objext \
22962
22533
      conftest$ac_exeext conftest.$ac_ext
22963
22534
fi
22964
 
{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
22965
 
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
 
22535
echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
 
22536
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
22966
22537
if test $ac_cv_working_alloca_h = yes; then
22967
22538
 
22968
22539
cat >>confdefs.h <<\_ACEOF
22971
22542
 
22972
22543
fi
22973
22544
 
22974
 
{ echo "$as_me:$LINENO: checking for alloca" >&5
22975
 
echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
 
22545
echo "$as_me:$LINENO: checking for alloca" >&5
 
22546
echo $ECHO_N "checking for alloca... $ECHO_C" >&6
22976
22547
if test "${ac_cv_func_alloca_works+set}" = set; then
22977
22548
  echo $ECHO_N "(cached) $ECHO_C" >&6
22978
22549
else
22989
22560
#  include <malloc.h>
22990
22561
#  define alloca _alloca
22991
22562
# else
22992
 
#  ifdef HAVE_ALLOCA_H
 
22563
#  if HAVE_ALLOCA_H
22993
22564
#   include <alloca.h>
22994
22565
#  else
22995
22566
#   ifdef _AIX
23007
22578
main ()
23008
22579
{
23009
22580
char *p = (char *) alloca (1);
23010
 
                                    if (p) return 0;
23011
22581
  ;
23012
22582
  return 0;
23013
22583
}
23014
22584
_ACEOF
23015
22585
rm -f conftest.$ac_objext conftest$ac_exeext
23016
 
if { (ac_try="$ac_link"
23017
 
case "(($ac_try" in
23018
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23019
 
  *) ac_try_echo=$ac_try;;
23020
 
esac
23021
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23022
 
  (eval "$ac_link") 2>conftest.er1
 
22586
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
22587
  (eval $ac_link) 2>conftest.er1
23023
22588
  ac_status=$?
23024
22589
  grep -v '^ *+' conftest.er1 >conftest.err
23025
22590
  rm -f conftest.er1
23026
22591
  cat conftest.err >&5
23027
22592
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23028
 
  (exit $ac_status); } && {
23029
 
         test -z "$ac_c_werror_flag" ||
23030
 
         test ! -s conftest.err
23031
 
       } && test -s conftest$ac_exeext &&
23032
 
       $as_test_x conftest$ac_exeext; then
 
22593
  (exit $ac_status); } &&
 
22594
         { ac_try='test -z "$ac_c_werror_flag"
 
22595
                         || test ! -s conftest.err'
 
22596
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22597
  (eval $ac_try) 2>&5
 
22598
  ac_status=$?
 
22599
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22600
  (exit $ac_status); }; } &&
 
22601
         { ac_try='test -s conftest$ac_exeext'
 
22602
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22603
  (eval $ac_try) 2>&5
 
22604
  ac_status=$?
 
22605
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22606
  (exit $ac_status); }; }; then
23033
22607
  ac_cv_func_alloca_works=yes
23034
22608
else
23035
22609
  echo "$as_me: failed program was:" >&5
23036
22610
sed 's/^/| /' conftest.$ac_ext >&5
23037
22611
 
23038
 
        ac_cv_func_alloca_works=no
 
22612
ac_cv_func_alloca_works=no
23039
22613
fi
23040
 
 
23041
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
22614
rm -f conftest.err conftest.$ac_objext \
23042
22615
      conftest$ac_exeext conftest.$ac_ext
23043
22616
fi
23044
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
23045
 
echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
 
22617
echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
 
22618
echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
23046
22619
 
23047
22620
if test $ac_cv_func_alloca_works = yes; then
23048
22621
 
23056
22629
# contain a buggy version.  If you still want to use their alloca,
23057
22630
# use ar to extract alloca.o from them instead of compiling alloca.c.
23058
22631
 
23059
 
ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
 
22632
ALLOCA=alloca.$ac_objext
23060
22633
 
23061
22634
cat >>confdefs.h <<\_ACEOF
23062
22635
#define C_ALLOCA 1
23063
22636
_ACEOF
23064
22637
 
23065
22638
 
23066
 
{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
23067
 
echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
 
22639
echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
 
22640
echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
23068
22641
if test "${ac_cv_os_cray+set}" = set; then
23069
22642
  echo $ECHO_N "(cached) $ECHO_C" >&6
23070
22643
else
23074
22647
cat confdefs.h >>conftest.$ac_ext
23075
22648
cat >>conftest.$ac_ext <<_ACEOF
23076
22649
/* end confdefs.h.  */
23077
 
#if defined CRAY && ! defined CRAY2
 
22650
#if defined(CRAY) && ! defined(CRAY2)
23078
22651
webecray
23079
22652
#else
23080
22653
wenotbecray
23090
22663
rm -f conftest*
23091
22664
 
23092
22665
fi
23093
 
{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
23094
 
echo "${ECHO_T}$ac_cv_os_cray" >&6; }
 
22666
echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
 
22667
echo "${ECHO_T}$ac_cv_os_cray" >&6
23095
22668
if test $ac_cv_os_cray = yes; then
23096
22669
  for ac_func in _getb67 GETB67 getb67; do
23097
22670
    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23098
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
23099
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
23100
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
22671
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
22672
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
22673
if eval "test \"\${$as_ac_var+set}\" = set"; then
23101
22674
  echo $ECHO_N "(cached) $ECHO_C" >&6
23102
22675
else
23103
22676
  cat >conftest.$ac_ext <<_ACEOF
23123
22696
 
23124
22697
#undef $ac_func
23125
22698
 
23126
 
/* Override any GCC internal prototype to avoid an error.
23127
 
   Use char because int might match the return type of a GCC
 
22699
/* Override any gcc2 internal prototype to avoid an error.  */
 
22700
#ifdef __cplusplus
 
22701
extern "C"
 
22702
{
 
22703
#endif
 
22704
/* We use char because int might match the return type of a gcc2
23128
22705
   builtin and then its argument prototype would still apply.  */
23129
 
#ifdef __cplusplus
23130
 
extern "C"
23131
 
#endif
23132
22706
char $ac_func ();
23133
22707
/* The GNU C library defines this for functions which it implements
23134
22708
    to always fail with ENOSYS.  Some functions are actually named
23135
22709
    something starting with __ and the normal name is an alias.  */
23136
 
#if defined __stub_$ac_func || defined __stub___$ac_func
 
22710
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23137
22711
choke me
 
22712
#else
 
22713
char (*f) () = $ac_func;
 
22714
#endif
 
22715
#ifdef __cplusplus
 
22716
}
23138
22717
#endif
23139
22718
 
23140
22719
int
23141
22720
main ()
23142
22721
{
23143
 
return $ac_func ();
 
22722
return f != $ac_func;
23144
22723
  ;
23145
22724
  return 0;
23146
22725
}
23147
22726
_ACEOF
23148
22727
rm -f conftest.$ac_objext conftest$ac_exeext
23149
 
if { (ac_try="$ac_link"
23150
 
case "(($ac_try" in
23151
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23152
 
  *) ac_try_echo=$ac_try;;
23153
 
esac
23154
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23155
 
  (eval "$ac_link") 2>conftest.er1
 
22728
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
22729
  (eval $ac_link) 2>conftest.er1
23156
22730
  ac_status=$?
23157
22731
  grep -v '^ *+' conftest.er1 >conftest.err
23158
22732
  rm -f conftest.er1
23159
22733
  cat conftest.err >&5
23160
22734
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23161
 
  (exit $ac_status); } && {
23162
 
         test -z "$ac_c_werror_flag" ||
23163
 
         test ! -s conftest.err
23164
 
       } && test -s conftest$ac_exeext &&
23165
 
       $as_test_x conftest$ac_exeext; then
 
22735
  (exit $ac_status); } &&
 
22736
         { ac_try='test -z "$ac_c_werror_flag"
 
22737
                         || test ! -s conftest.err'
 
22738
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22739
  (eval $ac_try) 2>&5
 
22740
  ac_status=$?
 
22741
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22742
  (exit $ac_status); }; } &&
 
22743
         { ac_try='test -s conftest$ac_exeext'
 
22744
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22745
  (eval $ac_try) 2>&5
 
22746
  ac_status=$?
 
22747
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22748
  (exit $ac_status); }; }; then
23166
22749
  eval "$as_ac_var=yes"
23167
22750
else
23168
22751
  echo "$as_me: failed program was:" >&5
23169
22752
sed 's/^/| /' conftest.$ac_ext >&5
23170
22753
 
23171
 
        eval "$as_ac_var=no"
 
22754
eval "$as_ac_var=no"
23172
22755
fi
23173
 
 
23174
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
22756
rm -f conftest.err conftest.$ac_objext \
23175
22757
      conftest$ac_exeext conftest.$ac_ext
23176
22758
fi
23177
 
ac_res=`eval echo '${'$as_ac_var'}'`
23178
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
23179
 
echo "${ECHO_T}$ac_res" >&6; }
 
22759
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
22760
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23180
22761
if test `eval echo '${'$as_ac_var'}'` = yes; then
23181
22762
 
23182
22763
cat >>confdefs.h <<_ACEOF
23189
22770
  done
23190
22771
fi
23191
22772
 
23192
 
{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
23193
 
echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
 
22773
echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
 
22774
echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
23194
22775
if test "${ac_cv_c_stack_direction+set}" = set; then
23195
22776
  echo $ECHO_N "(cached) $ECHO_C" >&6
23196
22777
else
23203
22784
cat confdefs.h >>conftest.$ac_ext
23204
22785
cat >>conftest.$ac_ext <<_ACEOF
23205
22786
/* end confdefs.h.  */
23206
 
$ac_includes_default
23207
22787
int
23208
22788
find_stack_direction ()
23209
22789
{
23221
22801
int
23222
22802
main ()
23223
22803
{
23224
 
  return find_stack_direction () < 0;
 
22804
  exit (find_stack_direction () < 0);
23225
22805
}
23226
22806
_ACEOF
23227
22807
rm -f conftest$ac_exeext
23228
 
if { (ac_try="$ac_link"
23229
 
case "(($ac_try" in
23230
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23231
 
  *) ac_try_echo=$ac_try;;
23232
 
esac
23233
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23234
 
  (eval "$ac_link") 2>&5
 
22808
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
22809
  (eval $ac_link) 2>&5
23235
22810
  ac_status=$?
23236
22811
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23237
22812
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23238
 
  { (case "(($ac_try" in
23239
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23240
 
  *) ac_try_echo=$ac_try;;
23241
 
esac
23242
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23243
 
  (eval "$ac_try") 2>&5
 
22813
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22814
  (eval $ac_try) 2>&5
23244
22815
  ac_status=$?
23245
22816
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23246
22817
  (exit $ac_status); }; }; then
23253
22824
( exit $ac_status )
23254
22825
ac_cv_c_stack_direction=-1
23255
22826
fi
23256
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23257
 
fi
23258
 
 
23259
 
 
23260
 
fi
23261
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
23262
 
echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
 
22827
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
22828
fi
 
22829
fi
 
22830
echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
 
22831
echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
23263
22832
 
23264
22833
cat >>confdefs.h <<_ACEOF
23265
22834
#define STACK_DIRECTION $ac_cv_c_stack_direction
23272
22841
for ac_func in strftime
23273
22842
do
23274
22843
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23275
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
23276
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
23277
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
22844
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
22845
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
22846
if eval "test \"\${$as_ac_var+set}\" = set"; then
23278
22847
  echo $ECHO_N "(cached) $ECHO_C" >&6
23279
22848
else
23280
22849
  cat >conftest.$ac_ext <<_ACEOF
23300
22869
 
23301
22870
#undef $ac_func
23302
22871
 
23303
 
/* Override any GCC internal prototype to avoid an error.
23304
 
   Use char because int might match the return type of a GCC
 
22872
/* Override any gcc2 internal prototype to avoid an error.  */
 
22873
#ifdef __cplusplus
 
22874
extern "C"
 
22875
{
 
22876
#endif
 
22877
/* We use char because int might match the return type of a gcc2
23305
22878
   builtin and then its argument prototype would still apply.  */
23306
 
#ifdef __cplusplus
23307
 
extern "C"
23308
 
#endif
23309
22879
char $ac_func ();
23310
22880
/* The GNU C library defines this for functions which it implements
23311
22881
    to always fail with ENOSYS.  Some functions are actually named
23312
22882
    something starting with __ and the normal name is an alias.  */
23313
 
#if defined __stub_$ac_func || defined __stub___$ac_func
 
22883
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23314
22884
choke me
 
22885
#else
 
22886
char (*f) () = $ac_func;
 
22887
#endif
 
22888
#ifdef __cplusplus
 
22889
}
23315
22890
#endif
23316
22891
 
23317
22892
int
23318
22893
main ()
23319
22894
{
23320
 
return $ac_func ();
 
22895
return f != $ac_func;
23321
22896
  ;
23322
22897
  return 0;
23323
22898
}
23324
22899
_ACEOF
23325
22900
rm -f conftest.$ac_objext conftest$ac_exeext
23326
 
if { (ac_try="$ac_link"
23327
 
case "(($ac_try" in
23328
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23329
 
  *) ac_try_echo=$ac_try;;
23330
 
esac
23331
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23332
 
  (eval "$ac_link") 2>conftest.er1
 
22901
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
22902
  (eval $ac_link) 2>conftest.er1
23333
22903
  ac_status=$?
23334
22904
  grep -v '^ *+' conftest.er1 >conftest.err
23335
22905
  rm -f conftest.er1
23336
22906
  cat conftest.err >&5
23337
22907
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23338
 
  (exit $ac_status); } && {
23339
 
         test -z "$ac_c_werror_flag" ||
23340
 
         test ! -s conftest.err
23341
 
       } && test -s conftest$ac_exeext &&
23342
 
       $as_test_x conftest$ac_exeext; then
 
22908
  (exit $ac_status); } &&
 
22909
         { ac_try='test -z "$ac_c_werror_flag"
 
22910
                         || test ! -s conftest.err'
 
22911
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22912
  (eval $ac_try) 2>&5
 
22913
  ac_status=$?
 
22914
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22915
  (exit $ac_status); }; } &&
 
22916
         { ac_try='test -s conftest$ac_exeext'
 
22917
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22918
  (eval $ac_try) 2>&5
 
22919
  ac_status=$?
 
22920
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22921
  (exit $ac_status); }; }; then
23343
22922
  eval "$as_ac_var=yes"
23344
22923
else
23345
22924
  echo "$as_me: failed program was:" >&5
23346
22925
sed 's/^/| /' conftest.$ac_ext >&5
23347
22926
 
23348
 
        eval "$as_ac_var=no"
 
22927
eval "$as_ac_var=no"
23349
22928
fi
23350
 
 
23351
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
22929
rm -f conftest.err conftest.$ac_objext \
23352
22930
      conftest$ac_exeext conftest.$ac_ext
23353
22931
fi
23354
 
ac_res=`eval echo '${'$as_ac_var'}'`
23355
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
23356
 
echo "${ECHO_T}$ac_res" >&6; }
 
22932
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
22933
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23357
22934
if test `eval echo '${'$as_ac_var'}'` = yes; then
23358
22935
  cat >>confdefs.h <<_ACEOF
23359
22936
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23361
22938
 
23362
22939
else
23363
22940
  # strftime is in -lintl on SCO UNIX.
23364
 
{ echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
23365
 
echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; }
 
22941
echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
 
22942
echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
23366
22943
if test "${ac_cv_lib_intl_strftime+set}" = set; then
23367
22944
  echo $ECHO_N "(cached) $ECHO_C" >&6
23368
22945
else
23375
22952
cat >>conftest.$ac_ext <<_ACEOF
23376
22953
/* end confdefs.h.  */
23377
22954
 
23378
 
/* Override any GCC internal prototype to avoid an error.
23379
 
   Use char because int might match the return type of a GCC
23380
 
   builtin and then its argument prototype would still apply.  */
 
22955
/* Override any gcc2 internal prototype to avoid an error.  */
23381
22956
#ifdef __cplusplus
23382
22957
extern "C"
23383
22958
#endif
 
22959
/* We use char because int might match the return type of a gcc2
 
22960
   builtin and then its argument prototype would still apply.  */
23384
22961
char strftime ();
23385
22962
int
23386
22963
main ()
23387
22964
{
23388
 
return strftime ();
 
22965
strftime ();
23389
22966
  ;
23390
22967
  return 0;
23391
22968
}
23392
22969
_ACEOF
23393
22970
rm -f conftest.$ac_objext conftest$ac_exeext
23394
 
if { (ac_try="$ac_link"
23395
 
case "(($ac_try" in
23396
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23397
 
  *) ac_try_echo=$ac_try;;
23398
 
esac
23399
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23400
 
  (eval "$ac_link") 2>conftest.er1
 
22971
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
22972
  (eval $ac_link) 2>conftest.er1
23401
22973
  ac_status=$?
23402
22974
  grep -v '^ *+' conftest.er1 >conftest.err
23403
22975
  rm -f conftest.er1
23404
22976
  cat conftest.err >&5
23405
22977
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23406
 
  (exit $ac_status); } && {
23407
 
         test -z "$ac_c_werror_flag" ||
23408
 
         test ! -s conftest.err
23409
 
       } && test -s conftest$ac_exeext &&
23410
 
       $as_test_x conftest$ac_exeext; then
 
22978
  (exit $ac_status); } &&
 
22979
         { ac_try='test -z "$ac_c_werror_flag"
 
22980
                         || test ! -s conftest.err'
 
22981
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22982
  (eval $ac_try) 2>&5
 
22983
  ac_status=$?
 
22984
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22985
  (exit $ac_status); }; } &&
 
22986
         { ac_try='test -s conftest$ac_exeext'
 
22987
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22988
  (eval $ac_try) 2>&5
 
22989
  ac_status=$?
 
22990
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22991
  (exit $ac_status); }; }; then
23411
22992
  ac_cv_lib_intl_strftime=yes
23412
22993
else
23413
22994
  echo "$as_me: failed program was:" >&5
23414
22995
sed 's/^/| /' conftest.$ac_ext >&5
23415
22996
 
23416
 
        ac_cv_lib_intl_strftime=no
 
22997
ac_cv_lib_intl_strftime=no
23417
22998
fi
23418
 
 
23419
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
22999
rm -f conftest.err conftest.$ac_objext \
23420
23000
      conftest$ac_exeext conftest.$ac_ext
23421
23001
LIBS=$ac_check_lib_save_LIBS
23422
23002
fi
23423
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
23424
 
echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; }
 
23003
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
 
23004
echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
23425
23005
if test $ac_cv_lib_intl_strftime = yes; then
23426
23006
  cat >>confdefs.h <<\_ACEOF
23427
23007
#define HAVE_STRFTIME 1
23437
23017
for ac_func in vprintf
23438
23018
do
23439
23019
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23440
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
23441
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
23442
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
23020
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
23021
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
23022
if eval "test \"\${$as_ac_var+set}\" = set"; then
23443
23023
  echo $ECHO_N "(cached) $ECHO_C" >&6
23444
23024
else
23445
23025
  cat >conftest.$ac_ext <<_ACEOF
23465
23045
 
23466
23046
#undef $ac_func
23467
23047
 
23468
 
/* Override any GCC internal prototype to avoid an error.
23469
 
   Use char because int might match the return type of a GCC
 
23048
/* Override any gcc2 internal prototype to avoid an error.  */
 
23049
#ifdef __cplusplus
 
23050
extern "C"
 
23051
{
 
23052
#endif
 
23053
/* We use char because int might match the return type of a gcc2
23470
23054
   builtin and then its argument prototype would still apply.  */
23471
 
#ifdef __cplusplus
23472
 
extern "C"
23473
 
#endif
23474
23055
char $ac_func ();
23475
23056
/* The GNU C library defines this for functions which it implements
23476
23057
    to always fail with ENOSYS.  Some functions are actually named
23477
23058
    something starting with __ and the normal name is an alias.  */
23478
 
#if defined __stub_$ac_func || defined __stub___$ac_func
 
23059
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23479
23060
choke me
 
23061
#else
 
23062
char (*f) () = $ac_func;
 
23063
#endif
 
23064
#ifdef __cplusplus
 
23065
}
23480
23066
#endif
23481
23067
 
23482
23068
int
23483
23069
main ()
23484
23070
{
23485
 
return $ac_func ();
 
23071
return f != $ac_func;
23486
23072
  ;
23487
23073
  return 0;
23488
23074
}
23489
23075
_ACEOF
23490
23076
rm -f conftest.$ac_objext conftest$ac_exeext
23491
 
if { (ac_try="$ac_link"
23492
 
case "(($ac_try" in
23493
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23494
 
  *) ac_try_echo=$ac_try;;
23495
 
esac
23496
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23497
 
  (eval "$ac_link") 2>conftest.er1
 
23077
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
23078
  (eval $ac_link) 2>conftest.er1
23498
23079
  ac_status=$?
23499
23080
  grep -v '^ *+' conftest.er1 >conftest.err
23500
23081
  rm -f conftest.er1
23501
23082
  cat conftest.err >&5
23502
23083
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23503
 
  (exit $ac_status); } && {
23504
 
         test -z "$ac_c_werror_flag" ||
23505
 
         test ! -s conftest.err
23506
 
       } && test -s conftest$ac_exeext &&
23507
 
       $as_test_x conftest$ac_exeext; then
 
23084
  (exit $ac_status); } &&
 
23085
         { ac_try='test -z "$ac_c_werror_flag"
 
23086
                         || test ! -s conftest.err'
 
23087
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23088
  (eval $ac_try) 2>&5
 
23089
  ac_status=$?
 
23090
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23091
  (exit $ac_status); }; } &&
 
23092
         { ac_try='test -s conftest$ac_exeext'
 
23093
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23094
  (eval $ac_try) 2>&5
 
23095
  ac_status=$?
 
23096
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23097
  (exit $ac_status); }; }; then
23508
23098
  eval "$as_ac_var=yes"
23509
23099
else
23510
23100
  echo "$as_me: failed program was:" >&5
23511
23101
sed 's/^/| /' conftest.$ac_ext >&5
23512
23102
 
23513
 
        eval "$as_ac_var=no"
 
23103
eval "$as_ac_var=no"
23514
23104
fi
23515
 
 
23516
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
23105
rm -f conftest.err conftest.$ac_objext \
23517
23106
      conftest$ac_exeext conftest.$ac_ext
23518
23107
fi
23519
 
ac_res=`eval echo '${'$as_ac_var'}'`
23520
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
23521
 
echo "${ECHO_T}$ac_res" >&6; }
 
23108
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
23109
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23522
23110
if test `eval echo '${'$as_ac_var'}'` = yes; then
23523
23111
  cat >>confdefs.h <<_ACEOF
23524
23112
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23525
23113
_ACEOF
23526
23114
 
23527
 
{ echo "$as_me:$LINENO: checking for _doprnt" >&5
23528
 
echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
 
23115
echo "$as_me:$LINENO: checking for _doprnt" >&5
 
23116
echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
23529
23117
if test "${ac_cv_func__doprnt+set}" = set; then
23530
23118
  echo $ECHO_N "(cached) $ECHO_C" >&6
23531
23119
else
23552
23140
 
23553
23141
#undef _doprnt
23554
23142
 
23555
 
/* Override any GCC internal prototype to avoid an error.
23556
 
   Use char because int might match the return type of a GCC
23557
 
   builtin and then its argument prototype would still apply.  */
 
23143
/* Override any gcc2 internal prototype to avoid an error.  */
23558
23144
#ifdef __cplusplus
23559
23145
extern "C"
 
23146
{
23560
23147
#endif
 
23148
/* We use char because int might match the return type of a gcc2
 
23149
   builtin and then its argument prototype would still apply.  */
23561
23150
char _doprnt ();
23562
23151
/* The GNU C library defines this for functions which it implements
23563
23152
    to always fail with ENOSYS.  Some functions are actually named
23564
23153
    something starting with __ and the normal name is an alias.  */
23565
 
#if defined __stub__doprnt || defined __stub____doprnt
 
23154
#if defined (__stub__doprnt) || defined (__stub____doprnt)
23566
23155
choke me
 
23156
#else
 
23157
char (*f) () = _doprnt;
 
23158
#endif
 
23159
#ifdef __cplusplus
 
23160
}
23567
23161
#endif
23568
23162
 
23569
23163
int
23570
23164
main ()
23571
23165
{
23572
 
return _doprnt ();
 
23166
return f != _doprnt;
23573
23167
  ;
23574
23168
  return 0;
23575
23169
}
23576
23170
_ACEOF
23577
23171
rm -f conftest.$ac_objext conftest$ac_exeext
23578
 
if { (ac_try="$ac_link"
23579
 
case "(($ac_try" in
23580
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23581
 
  *) ac_try_echo=$ac_try;;
23582
 
esac
23583
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23584
 
  (eval "$ac_link") 2>conftest.er1
 
23172
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
23173
  (eval $ac_link) 2>conftest.er1
23585
23174
  ac_status=$?
23586
23175
  grep -v '^ *+' conftest.er1 >conftest.err
23587
23176
  rm -f conftest.er1
23588
23177
  cat conftest.err >&5
23589
23178
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23590
 
  (exit $ac_status); } && {
23591
 
         test -z "$ac_c_werror_flag" ||
23592
 
         test ! -s conftest.err
23593
 
       } && test -s conftest$ac_exeext &&
23594
 
       $as_test_x conftest$ac_exeext; then
 
23179
  (exit $ac_status); } &&
 
23180
         { ac_try='test -z "$ac_c_werror_flag"
 
23181
                         || test ! -s conftest.err'
 
23182
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23183
  (eval $ac_try) 2>&5
 
23184
  ac_status=$?
 
23185
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23186
  (exit $ac_status); }; } &&
 
23187
         { ac_try='test -s conftest$ac_exeext'
 
23188
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23189
  (eval $ac_try) 2>&5
 
23190
  ac_status=$?
 
23191
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23192
  (exit $ac_status); }; }; then
23595
23193
  ac_cv_func__doprnt=yes
23596
23194
else
23597
23195
  echo "$as_me: failed program was:" >&5
23598
23196
sed 's/^/| /' conftest.$ac_ext >&5
23599
23197
 
23600
 
        ac_cv_func__doprnt=no
 
23198
ac_cv_func__doprnt=no
23601
23199
fi
23602
 
 
23603
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
23200
rm -f conftest.err conftest.$ac_objext \
23604
23201
      conftest$ac_exeext conftest.$ac_ext
23605
23202
fi
23606
 
{ echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
23607
 
echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
 
23203
echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
 
23204
echo "${ECHO_T}$ac_cv_func__doprnt" >&6
23608
23205
if test $ac_cv_func__doprnt = yes; then
23609
23206
 
23610
23207
cat >>confdefs.h <<\_ACEOF
23618
23215
 
23619
23216
 
23620
23217
 
23621
 
for ac_header in vfork.h
 
23218
 
 
23219
for ac_header in unistd.h vfork.h
23622
23220
do
23623
23221
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23624
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23625
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
23626
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23627
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
23222
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
23223
  echo "$as_me:$LINENO: checking for $ac_header" >&5
 
23224
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
23225
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23628
23226
  echo $ECHO_N "(cached) $ECHO_C" >&6
23629
23227
fi
23630
 
ac_res=`eval echo '${'$as_ac_Header'}'`
23631
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
23632
 
echo "${ECHO_T}$ac_res" >&6; }
 
23228
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
23229
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23633
23230
else
23634
23231
  # Is the header compilable?
23635
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
23636
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
23232
echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
23233
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23637
23234
cat >conftest.$ac_ext <<_ACEOF
23638
23235
/* confdefs.h.  */
23639
23236
_ACEOF
23644
23241
#include <$ac_header>
23645
23242
_ACEOF
23646
23243
rm -f conftest.$ac_objext
23647
 
if { (ac_try="$ac_compile"
23648
 
case "(($ac_try" in
23649
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23650
 
  *) ac_try_echo=$ac_try;;
23651
 
esac
23652
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23653
 
  (eval "$ac_compile") 2>conftest.er1
 
23244
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
23245
  (eval $ac_compile) 2>conftest.er1
23654
23246
  ac_status=$?
23655
23247
  grep -v '^ *+' conftest.er1 >conftest.err
23656
23248
  rm -f conftest.er1
23657
23249
  cat conftest.err >&5
23658
23250
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23659
 
  (exit $ac_status); } && {
23660
 
         test -z "$ac_c_werror_flag" ||
23661
 
         test ! -s conftest.err
23662
 
       } && test -s conftest.$ac_objext; then
 
23251
  (exit $ac_status); } &&
 
23252
         { ac_try='test -z "$ac_c_werror_flag"
 
23253
                         || test ! -s conftest.err'
 
23254
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23255
  (eval $ac_try) 2>&5
 
23256
  ac_status=$?
 
23257
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23258
  (exit $ac_status); }; } &&
 
23259
         { ac_try='test -s conftest.$ac_objext'
 
23260
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23261
  (eval $ac_try) 2>&5
 
23262
  ac_status=$?
 
23263
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23264
  (exit $ac_status); }; }; then
23663
23265
  ac_header_compiler=yes
23664
23266
else
23665
23267
  echo "$as_me: failed program was:" >&5
23666
23268
sed 's/^/| /' conftest.$ac_ext >&5
23667
23269
 
23668
 
        ac_header_compiler=no
 
23270
ac_header_compiler=no
23669
23271
fi
23670
 
 
23671
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23672
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23673
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
23272
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23273
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
23274
echo "${ECHO_T}$ac_header_compiler" >&6
23674
23275
 
23675
23276
# Is the header present?
23676
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
23677
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
23277
echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
23278
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23678
23279
cat >conftest.$ac_ext <<_ACEOF
23679
23280
/* confdefs.h.  */
23680
23281
_ACEOF
23683
23284
/* end confdefs.h.  */
23684
23285
#include <$ac_header>
23685
23286
_ACEOF
23686
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
23687
 
case "(($ac_try" in
23688
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23689
 
  *) ac_try_echo=$ac_try;;
23690
 
esac
23691
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23692
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
23287
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
23288
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23693
23289
  ac_status=$?
23694
23290
  grep -v '^ *+' conftest.er1 >conftest.err
23695
23291
  rm -f conftest.er1
23696
23292
  cat conftest.err >&5
23697
23293
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23698
 
  (exit $ac_status); } >/dev/null && {
23699
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23700
 
         test ! -s conftest.err
23701
 
       }; then
 
23294
  (exit $ac_status); } >/dev/null; then
 
23295
  if test -s conftest.err; then
 
23296
    ac_cpp_err=$ac_c_preproc_warn_flag
 
23297
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
23298
  else
 
23299
    ac_cpp_err=
 
23300
  fi
 
23301
else
 
23302
  ac_cpp_err=yes
 
23303
fi
 
23304
if test -z "$ac_cpp_err"; then
23702
23305
  ac_header_preproc=yes
23703
23306
else
23704
23307
  echo "$as_me: failed program was:" >&5
23706
23309
 
23707
23310
  ac_header_preproc=no
23708
23311
fi
23709
 
 
23710
23312
rm -f conftest.err conftest.$ac_ext
23711
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23712
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
23313
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
23314
echo "${ECHO_T}$ac_header_preproc" >&6
23713
23315
 
23714
23316
# So?  What about this header?
23715
23317
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23733
23335
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23734
23336
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23735
23337
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23736
 
 
 
23338
    (
 
23339
      cat <<\_ASBOX
 
23340
## ------------------------------------------ ##
 
23341
## Report this to the AC_PACKAGE_NAME lists.  ##
 
23342
## ------------------------------------------ ##
 
23343
_ASBOX
 
23344
    ) |
 
23345
      sed "s/^/$as_me: WARNING:     /" >&2
23737
23346
    ;;
23738
23347
esac
23739
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
23740
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23741
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
23348
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
23349
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
23350
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23742
23351
  echo $ECHO_N "(cached) $ECHO_C" >&6
23743
23352
else
23744
23353
  eval "$as_ac_Header=\$ac_header_preproc"
23745
23354
fi
23746
 
ac_res=`eval echo '${'$as_ac_Header'}'`
23747
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
23748
 
echo "${ECHO_T}$ac_res" >&6; }
 
23355
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
23356
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23749
23357
 
23750
23358
fi
23751
23359
if test `eval echo '${'$as_ac_Header'}'` = yes; then
23762
23370
for ac_func in fork vfork
23763
23371
do
23764
23372
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23765
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
23766
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
23767
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
23373
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
23374
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
23375
if eval "test \"\${$as_ac_var+set}\" = set"; then
23768
23376
  echo $ECHO_N "(cached) $ECHO_C" >&6
23769
23377
else
23770
23378
  cat >conftest.$ac_ext <<_ACEOF
23790
23398
 
23791
23399
#undef $ac_func
23792
23400
 
23793
 
/* Override any GCC internal prototype to avoid an error.
23794
 
   Use char because int might match the return type of a GCC
 
23401
/* Override any gcc2 internal prototype to avoid an error.  */
 
23402
#ifdef __cplusplus
 
23403
extern "C"
 
23404
{
 
23405
#endif
 
23406
/* We use char because int might match the return type of a gcc2
23795
23407
   builtin and then its argument prototype would still apply.  */
23796
 
#ifdef __cplusplus
23797
 
extern "C"
23798
 
#endif
23799
23408
char $ac_func ();
23800
23409
/* The GNU C library defines this for functions which it implements
23801
23410
    to always fail with ENOSYS.  Some functions are actually named
23802
23411
    something starting with __ and the normal name is an alias.  */
23803
 
#if defined __stub_$ac_func || defined __stub___$ac_func
 
23412
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23804
23413
choke me
 
23414
#else
 
23415
char (*f) () = $ac_func;
 
23416
#endif
 
23417
#ifdef __cplusplus
 
23418
}
23805
23419
#endif
23806
23420
 
23807
23421
int
23808
23422
main ()
23809
23423
{
23810
 
return $ac_func ();
 
23424
return f != $ac_func;
23811
23425
  ;
23812
23426
  return 0;
23813
23427
}
23814
23428
_ACEOF
23815
23429
rm -f conftest.$ac_objext conftest$ac_exeext
23816
 
if { (ac_try="$ac_link"
23817
 
case "(($ac_try" in
23818
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23819
 
  *) ac_try_echo=$ac_try;;
23820
 
esac
23821
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23822
 
  (eval "$ac_link") 2>conftest.er1
 
23430
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
23431
  (eval $ac_link) 2>conftest.er1
23823
23432
  ac_status=$?
23824
23433
  grep -v '^ *+' conftest.er1 >conftest.err
23825
23434
  rm -f conftest.er1
23826
23435
  cat conftest.err >&5
23827
23436
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23828
 
  (exit $ac_status); } && {
23829
 
         test -z "$ac_c_werror_flag" ||
23830
 
         test ! -s conftest.err
23831
 
       } && test -s conftest$ac_exeext &&
23832
 
       $as_test_x conftest$ac_exeext; then
 
23437
  (exit $ac_status); } &&
 
23438
         { ac_try='test -z "$ac_c_werror_flag"
 
23439
                         || test ! -s conftest.err'
 
23440
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23441
  (eval $ac_try) 2>&5
 
23442
  ac_status=$?
 
23443
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23444
  (exit $ac_status); }; } &&
 
23445
         { ac_try='test -s conftest$ac_exeext'
 
23446
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23447
  (eval $ac_try) 2>&5
 
23448
  ac_status=$?
 
23449
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23450
  (exit $ac_status); }; }; then
23833
23451
  eval "$as_ac_var=yes"
23834
23452
else
23835
23453
  echo "$as_me: failed program was:" >&5
23836
23454
sed 's/^/| /' conftest.$ac_ext >&5
23837
23455
 
23838
 
        eval "$as_ac_var=no"
 
23456
eval "$as_ac_var=no"
23839
23457
fi
23840
 
 
23841
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
23458
rm -f conftest.err conftest.$ac_objext \
23842
23459
      conftest$ac_exeext conftest.$ac_ext
23843
23460
fi
23844
 
ac_res=`eval echo '${'$as_ac_var'}'`
23845
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
23846
 
echo "${ECHO_T}$ac_res" >&6; }
 
23461
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
23462
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23847
23463
if test `eval echo '${'$as_ac_var'}'` = yes; then
23848
23464
  cat >>confdefs.h <<_ACEOF
23849
23465
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23853
23469
done
23854
23470
 
23855
23471
if test "x$ac_cv_func_fork" = xyes; then
23856
 
  { echo "$as_me:$LINENO: checking for working fork" >&5
23857
 
echo $ECHO_N "checking for working fork... $ECHO_C" >&6; }
 
23472
  echo "$as_me:$LINENO: checking for working fork" >&5
 
23473
echo $ECHO_N "checking for working fork... $ECHO_C" >&6
23858
23474
if test "${ac_cv_func_fork_works+set}" = set; then
23859
23475
  echo $ECHO_N "(cached) $ECHO_C" >&6
23860
23476
else
23862
23478
  ac_cv_func_fork_works=cross
23863
23479
else
23864
23480
  cat >conftest.$ac_ext <<_ACEOF
23865
 
/* confdefs.h.  */
23866
 
_ACEOF
23867
 
cat confdefs.h >>conftest.$ac_ext
23868
 
cat >>conftest.$ac_ext <<_ACEOF
23869
 
/* end confdefs.h.  */
23870
 
$ac_includes_default
23871
 
int
23872
 
main ()
23873
 
{
23874
 
 
23875
 
          /* By Ruediger Kuhlmann. */
23876
 
          return fork () < 0;
23877
 
 
23878
 
  ;
23879
 
  return 0;
23880
 
}
 
23481
/* By Ruediger Kuhlmann. */
 
23482
      #include <sys/types.h>
 
23483
      #if HAVE_UNISTD_H
 
23484
      # include <unistd.h>
 
23485
      #endif
 
23486
      /* Some systems only have a dummy stub for fork() */
 
23487
      int main ()
 
23488
      {
 
23489
        if (fork() < 0)
 
23490
          exit (1);
 
23491
        exit (0);
 
23492
      }
23881
23493
_ACEOF
23882
23494
rm -f conftest$ac_exeext
23883
 
if { (ac_try="$ac_link"
23884
 
case "(($ac_try" in
23885
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23886
 
  *) ac_try_echo=$ac_try;;
23887
 
esac
23888
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23889
 
  (eval "$ac_link") 2>&5
 
23495
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
23496
  (eval $ac_link) 2>&5
23890
23497
  ac_status=$?
23891
23498
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23892
23499
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23893
 
  { (case "(($ac_try" in
23894
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23895
 
  *) ac_try_echo=$ac_try;;
23896
 
esac
23897
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23898
 
  (eval "$ac_try") 2>&5
 
23500
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23501
  (eval $ac_try) 2>&5
23899
23502
  ac_status=$?
23900
23503
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23901
23504
  (exit $ac_status); }; }; then
23908
23511
( exit $ac_status )
23909
23512
ac_cv_func_fork_works=no
23910
23513
fi
23911
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23912
 
fi
23913
 
 
23914
 
 
23915
 
fi
23916
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
23917
 
echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
 
23514
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
23515
fi
 
23516
fi
 
23517
echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
 
23518
echo "${ECHO_T}$ac_cv_func_fork_works" >&6
23918
23519
 
23919
23520
else
23920
23521
  ac_cv_func_fork_works=$ac_cv_func_fork
23934
23535
fi
23935
23536
ac_cv_func_vfork_works=$ac_cv_func_vfork
23936
23537
if test "x$ac_cv_func_vfork" = xyes; then
23937
 
  { echo "$as_me:$LINENO: checking for working vfork" >&5
23938
 
echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; }
 
23538
  echo "$as_me:$LINENO: checking for working vfork" >&5
 
23539
echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
23939
23540
if test "${ac_cv_func_vfork_works+set}" = set; then
23940
23541
  echo $ECHO_N "(cached) $ECHO_C" >&6
23941
23542
else
23949
23550
cat >>conftest.$ac_ext <<_ACEOF
23950
23551
/* end confdefs.h.  */
23951
23552
/* Thanks to Paul Eggert for this test.  */
23952
 
$ac_includes_default
 
23553
#include <stdio.h>
 
23554
#include <stdlib.h>
 
23555
#include <sys/types.h>
 
23556
#include <sys/stat.h>
23953
23557
#include <sys/wait.h>
23954
 
#ifdef HAVE_VFORK_H
 
23558
#if HAVE_UNISTD_H
 
23559
# include <unistd.h>
 
23560
#endif
 
23561
#if HAVE_VFORK_H
23955
23562
# include <vfork.h>
23956
23563
#endif
23957
23564
/* On some sparc systems, changes by the child to local and incoming
24022
23629
 
24023
23630
    while (wait(&status) != child)
24024
23631
      ;
24025
 
    return (
 
23632
    exit(
24026
23633
         /* Was there some problem with vforking?  */
24027
23634
         child < 0
24028
23635
 
24039
23646
}
24040
23647
_ACEOF
24041
23648
rm -f conftest$ac_exeext
24042
 
if { (ac_try="$ac_link"
24043
 
case "(($ac_try" in
24044
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24045
 
  *) ac_try_echo=$ac_try;;
24046
 
esac
24047
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24048
 
  (eval "$ac_link") 2>&5
 
23649
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
23650
  (eval $ac_link) 2>&5
24049
23651
  ac_status=$?
24050
23652
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24051
23653
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24052
 
  { (case "(($ac_try" in
24053
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24054
 
  *) ac_try_echo=$ac_try;;
24055
 
esac
24056
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24057
 
  (eval "$ac_try") 2>&5
 
23654
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23655
  (eval $ac_try) 2>&5
24058
23656
  ac_status=$?
24059
23657
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24060
23658
  (exit $ac_status); }; }; then
24067
23665
( exit $ac_status )
24068
23666
ac_cv_func_vfork_works=no
24069
23667
fi
24070
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24071
 
fi
24072
 
 
24073
 
 
24074
 
fi
24075
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
24076
 
echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
 
23668
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
23669
fi
 
23670
fi
 
23671
echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
 
23672
echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
24077
23673
 
24078
23674
fi;
24079
23675
if test "x$ac_cv_func_fork_works" = xcross; then
24108
23704
for ac_func in waitpid kill
24109
23705
do
24110
23706
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24111
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
24112
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24113
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
23707
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
23708
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
23709
if eval "test \"\${$as_ac_var+set}\" = set"; then
24114
23710
  echo $ECHO_N "(cached) $ECHO_C" >&6
24115
23711
else
24116
23712
  cat >conftest.$ac_ext <<_ACEOF
24136
23732
 
24137
23733
#undef $ac_func
24138
23734
 
24139
 
/* Override any GCC internal prototype to avoid an error.
24140
 
   Use char because int might match the return type of a GCC
 
23735
/* Override any gcc2 internal prototype to avoid an error.  */
 
23736
#ifdef __cplusplus
 
23737
extern "C"
 
23738
{
 
23739
#endif
 
23740
/* We use char because int might match the return type of a gcc2
24141
23741
   builtin and then its argument prototype would still apply.  */
24142
 
#ifdef __cplusplus
24143
 
extern "C"
24144
 
#endif
24145
23742
char $ac_func ();
24146
23743
/* The GNU C library defines this for functions which it implements
24147
23744
    to always fail with ENOSYS.  Some functions are actually named
24148
23745
    something starting with __ and the normal name is an alias.  */
24149
 
#if defined __stub_$ac_func || defined __stub___$ac_func
 
23746
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24150
23747
choke me
 
23748
#else
 
23749
char (*f) () = $ac_func;
 
23750
#endif
 
23751
#ifdef __cplusplus
 
23752
}
24151
23753
#endif
24152
23754
 
24153
23755
int
24154
23756
main ()
24155
23757
{
24156
 
return $ac_func ();
 
23758
return f != $ac_func;
24157
23759
  ;
24158
23760
  return 0;
24159
23761
}
24160
23762
_ACEOF
24161
23763
rm -f conftest.$ac_objext conftest$ac_exeext
24162
 
if { (ac_try="$ac_link"
24163
 
case "(($ac_try" in
24164
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24165
 
  *) ac_try_echo=$ac_try;;
24166
 
esac
24167
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24168
 
  (eval "$ac_link") 2>conftest.er1
 
23764
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
23765
  (eval $ac_link) 2>conftest.er1
24169
23766
  ac_status=$?
24170
23767
  grep -v '^ *+' conftest.er1 >conftest.err
24171
23768
  rm -f conftest.er1
24172
23769
  cat conftest.err >&5
24173
23770
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24174
 
  (exit $ac_status); } && {
24175
 
         test -z "$ac_c_werror_flag" ||
24176
 
         test ! -s conftest.err
24177
 
       } && test -s conftest$ac_exeext &&
24178
 
       $as_test_x conftest$ac_exeext; then
 
23771
  (exit $ac_status); } &&
 
23772
         { ac_try='test -z "$ac_c_werror_flag"
 
23773
                         || test ! -s conftest.err'
 
23774
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23775
  (eval $ac_try) 2>&5
 
23776
  ac_status=$?
 
23777
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23778
  (exit $ac_status); }; } &&
 
23779
         { ac_try='test -s conftest$ac_exeext'
 
23780
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23781
  (eval $ac_try) 2>&5
 
23782
  ac_status=$?
 
23783
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23784
  (exit $ac_status); }; }; then
24179
23785
  eval "$as_ac_var=yes"
24180
23786
else
24181
23787
  echo "$as_me: failed program was:" >&5
24182
23788
sed 's/^/| /' conftest.$ac_ext >&5
24183
23789
 
24184
 
        eval "$as_ac_var=no"
 
23790
eval "$as_ac_var=no"
24185
23791
fi
24186
 
 
24187
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
23792
rm -f conftest.err conftest.$ac_objext \
24188
23793
      conftest$ac_exeext conftest.$ac_ext
24189
23794
fi
24190
 
ac_res=`eval echo '${'$as_ac_var'}'`
24191
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24192
 
echo "${ECHO_T}$ac_res" >&6; }
 
23795
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
23796
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24193
23797
if test `eval echo '${'$as_ac_var'}'` = yes; then
24194
23798
  cat >>confdefs.h <<_ACEOF
24195
23799
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24204
23808
 
24205
23809
 
24206
23810
 
24207
 
 
24208
 
for ac_func in re_comp regcomp strdup strstr lstat setenv access
 
23811
for ac_func in re_comp regcomp strdup strstr lstat access
24209
23812
do
24210
23813
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24211
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
24212
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24213
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
23814
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
23815
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
23816
if eval "test \"\${$as_ac_var+set}\" = set"; then
24214
23817
  echo $ECHO_N "(cached) $ECHO_C" >&6
24215
23818
else
24216
23819
  cat >conftest.$ac_ext <<_ACEOF
24236
23839
 
24237
23840
#undef $ac_func
24238
23841
 
24239
 
/* Override any GCC internal prototype to avoid an error.
24240
 
   Use char because int might match the return type of a GCC
 
23842
/* Override any gcc2 internal prototype to avoid an error.  */
 
23843
#ifdef __cplusplus
 
23844
extern "C"
 
23845
{
 
23846
#endif
 
23847
/* We use char because int might match the return type of a gcc2
24241
23848
   builtin and then its argument prototype would still apply.  */
24242
 
#ifdef __cplusplus
24243
 
extern "C"
24244
 
#endif
24245
23849
char $ac_func ();
24246
23850
/* The GNU C library defines this for functions which it implements
24247
23851
    to always fail with ENOSYS.  Some functions are actually named
24248
23852
    something starting with __ and the normal name is an alias.  */
24249
 
#if defined __stub_$ac_func || defined __stub___$ac_func
 
23853
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24250
23854
choke me
 
23855
#else
 
23856
char (*f) () = $ac_func;
 
23857
#endif
 
23858
#ifdef __cplusplus
 
23859
}
24251
23860
#endif
24252
23861
 
24253
23862
int
24254
23863
main ()
24255
23864
{
24256
 
return $ac_func ();
 
23865
return f != $ac_func;
24257
23866
  ;
24258
23867
  return 0;
24259
23868
}
24260
23869
_ACEOF
24261
23870
rm -f conftest.$ac_objext conftest$ac_exeext
24262
 
if { (ac_try="$ac_link"
24263
 
case "(($ac_try" in
24264
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24265
 
  *) ac_try_echo=$ac_try;;
24266
 
esac
24267
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24268
 
  (eval "$ac_link") 2>conftest.er1
 
23871
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
23872
  (eval $ac_link) 2>conftest.er1
24269
23873
  ac_status=$?
24270
23874
  grep -v '^ *+' conftest.er1 >conftest.err
24271
23875
  rm -f conftest.er1
24272
23876
  cat conftest.err >&5
24273
23877
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24274
 
  (exit $ac_status); } && {
24275
 
         test -z "$ac_c_werror_flag" ||
24276
 
         test ! -s conftest.err
24277
 
       } && test -s conftest$ac_exeext &&
24278
 
       $as_test_x conftest$ac_exeext; then
 
23878
  (exit $ac_status); } &&
 
23879
         { ac_try='test -z "$ac_c_werror_flag"
 
23880
                         || test ! -s conftest.err'
 
23881
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23882
  (eval $ac_try) 2>&5
 
23883
  ac_status=$?
 
23884
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23885
  (exit $ac_status); }; } &&
 
23886
         { ac_try='test -s conftest$ac_exeext'
 
23887
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23888
  (eval $ac_try) 2>&5
 
23889
  ac_status=$?
 
23890
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23891
  (exit $ac_status); }; }; then
24279
23892
  eval "$as_ac_var=yes"
24280
23893
else
24281
23894
  echo "$as_me: failed program was:" >&5
24282
23895
sed 's/^/| /' conftest.$ac_ext >&5
24283
23896
 
24284
 
        eval "$as_ac_var=no"
 
23897
eval "$as_ac_var=no"
24285
23898
fi
24286
 
 
24287
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
23899
rm -f conftest.err conftest.$ac_objext \
24288
23900
      conftest$ac_exeext conftest.$ac_ext
24289
23901
fi
24290
 
ac_res=`eval echo '${'$as_ac_var'}'`
24291
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24292
 
echo "${ECHO_T}$ac_res" >&6; }
 
23902
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
23903
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24293
23904
if test `eval echo '${'$as_ac_var'}'` = yes; then
24294
23905
  cat >>confdefs.h <<_ACEOF
24295
23906
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24303
23914
for ac_func in strchr memcpy
24304
23915
do
24305
23916
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24306
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
24307
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24308
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
23917
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
23918
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
23919
if eval "test \"\${$as_ac_var+set}\" = set"; then
24309
23920
  echo $ECHO_N "(cached) $ECHO_C" >&6
24310
23921
else
24311
23922
  cat >conftest.$ac_ext <<_ACEOF
24331
23942
 
24332
23943
#undef $ac_func
24333
23944
 
24334
 
/* Override any GCC internal prototype to avoid an error.
24335
 
   Use char because int might match the return type of a GCC
 
23945
/* Override any gcc2 internal prototype to avoid an error.  */
 
23946
#ifdef __cplusplus
 
23947
extern "C"
 
23948
{
 
23949
#endif
 
23950
/* We use char because int might match the return type of a gcc2
24336
23951
   builtin and then its argument prototype would still apply.  */
24337
 
#ifdef __cplusplus
24338
 
extern "C"
24339
 
#endif
24340
23952
char $ac_func ();
24341
23953
/* The GNU C library defines this for functions which it implements
24342
23954
    to always fail with ENOSYS.  Some functions are actually named
24343
23955
    something starting with __ and the normal name is an alias.  */
24344
 
#if defined __stub_$ac_func || defined __stub___$ac_func
 
23956
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24345
23957
choke me
 
23958
#else
 
23959
char (*f) () = $ac_func;
 
23960
#endif
 
23961
#ifdef __cplusplus
 
23962
}
24346
23963
#endif
24347
23964
 
24348
23965
int
24349
23966
main ()
24350
23967
{
24351
 
return $ac_func ();
 
23968
return f != $ac_func;
24352
23969
  ;
24353
23970
  return 0;
24354
23971
}
24355
23972
_ACEOF
24356
23973
rm -f conftest.$ac_objext conftest$ac_exeext
24357
 
if { (ac_try="$ac_link"
24358
 
case "(($ac_try" in
24359
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24360
 
  *) ac_try_echo=$ac_try;;
24361
 
esac
24362
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24363
 
  (eval "$ac_link") 2>conftest.er1
 
23974
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
23975
  (eval $ac_link) 2>conftest.er1
24364
23976
  ac_status=$?
24365
23977
  grep -v '^ *+' conftest.er1 >conftest.err
24366
23978
  rm -f conftest.er1
24367
23979
  cat conftest.err >&5
24368
23980
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24369
 
  (exit $ac_status); } && {
24370
 
         test -z "$ac_c_werror_flag" ||
24371
 
         test ! -s conftest.err
24372
 
       } && test -s conftest$ac_exeext &&
24373
 
       $as_test_x conftest$ac_exeext; then
 
23981
  (exit $ac_status); } &&
 
23982
         { ac_try='test -z "$ac_c_werror_flag"
 
23983
                         || test ! -s conftest.err'
 
23984
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23985
  (eval $ac_try) 2>&5
 
23986
  ac_status=$?
 
23987
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23988
  (exit $ac_status); }; } &&
 
23989
         { ac_try='test -s conftest$ac_exeext'
 
23990
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23991
  (eval $ac_try) 2>&5
 
23992
  ac_status=$?
 
23993
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23994
  (exit $ac_status); }; }; then
24374
23995
  eval "$as_ac_var=yes"
24375
23996
else
24376
23997
  echo "$as_me: failed program was:" >&5
24377
23998
sed 's/^/| /' conftest.$ac_ext >&5
24378
23999
 
24379
 
        eval "$as_ac_var=no"
 
24000
eval "$as_ac_var=no"
24380
24001
fi
24381
 
 
24382
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
24002
rm -f conftest.err conftest.$ac_objext \
24383
24003
      conftest$ac_exeext conftest.$ac_ext
24384
24004
fi
24385
 
ac_res=`eval echo '${'$as_ac_var'}'`
24386
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24387
 
echo "${ECHO_T}$ac_res" >&6; }
 
24005
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
24006
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24388
24007
if test `eval echo '${'$as_ac_var'}'` = yes; then
24389
24008
  cat >>confdefs.h <<_ACEOF
24390
24009
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24399
24018
for ac_func in clock times getrusage
24400
24019
do
24401
24020
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24402
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
24403
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24404
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
24021
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
24022
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
24023
if eval "test \"\${$as_ac_var+set}\" = set"; then
24405
24024
  echo $ECHO_N "(cached) $ECHO_C" >&6
24406
24025
else
24407
24026
  cat >conftest.$ac_ext <<_ACEOF
24427
24046
 
24428
24047
#undef $ac_func
24429
24048
 
24430
 
/* Override any GCC internal prototype to avoid an error.
24431
 
   Use char because int might match the return type of a GCC
 
24049
/* Override any gcc2 internal prototype to avoid an error.  */
 
24050
#ifdef __cplusplus
 
24051
extern "C"
 
24052
{
 
24053
#endif
 
24054
/* We use char because int might match the return type of a gcc2
24432
24055
   builtin and then its argument prototype would still apply.  */
24433
 
#ifdef __cplusplus
24434
 
extern "C"
24435
 
#endif
24436
24056
char $ac_func ();
24437
24057
/* The GNU C library defines this for functions which it implements
24438
24058
    to always fail with ENOSYS.  Some functions are actually named
24439
24059
    something starting with __ and the normal name is an alias.  */
24440
 
#if defined __stub_$ac_func || defined __stub___$ac_func
 
24060
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24441
24061
choke me
 
24062
#else
 
24063
char (*f) () = $ac_func;
 
24064
#endif
 
24065
#ifdef __cplusplus
 
24066
}
24442
24067
#endif
24443
24068
 
24444
24069
int
24445
24070
main ()
24446
24071
{
24447
 
return $ac_func ();
 
24072
return f != $ac_func;
24448
24073
  ;
24449
24074
  return 0;
24450
24075
}
24451
24076
_ACEOF
24452
24077
rm -f conftest.$ac_objext conftest$ac_exeext
24453
 
if { (ac_try="$ac_link"
24454
 
case "(($ac_try" in
24455
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24456
 
  *) ac_try_echo=$ac_try;;
24457
 
esac
24458
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24459
 
  (eval "$ac_link") 2>conftest.er1
 
24078
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
24079
  (eval $ac_link) 2>conftest.er1
24460
24080
  ac_status=$?
24461
24081
  grep -v '^ *+' conftest.er1 >conftest.err
24462
24082
  rm -f conftest.er1
24463
24083
  cat conftest.err >&5
24464
24084
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24465
 
  (exit $ac_status); } && {
24466
 
         test -z "$ac_c_werror_flag" ||
24467
 
         test ! -s conftest.err
24468
 
       } && test -s conftest$ac_exeext &&
24469
 
       $as_test_x conftest$ac_exeext; then
 
24085
  (exit $ac_status); } &&
 
24086
         { ac_try='test -z "$ac_c_werror_flag"
 
24087
                         || test ! -s conftest.err'
 
24088
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24089
  (eval $ac_try) 2>&5
 
24090
  ac_status=$?
 
24091
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24092
  (exit $ac_status); }; } &&
 
24093
         { ac_try='test -s conftest$ac_exeext'
 
24094
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24095
  (eval $ac_try) 2>&5
 
24096
  ac_status=$?
 
24097
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24098
  (exit $ac_status); }; }; then
24470
24099
  eval "$as_ac_var=yes"
24471
24100
else
24472
24101
  echo "$as_me: failed program was:" >&5
24473
24102
sed 's/^/| /' conftest.$ac_ext >&5
24474
24103
 
24475
 
        eval "$as_ac_var=no"
 
24104
eval "$as_ac_var=no"
24476
24105
fi
24477
 
 
24478
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
24106
rm -f conftest.err conftest.$ac_objext \
24479
24107
      conftest$ac_exeext conftest.$ac_ext
24480
24108
fi
24481
 
ac_res=`eval echo '${'$as_ac_var'}'`
24482
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24483
 
echo "${ECHO_T}$ac_res" >&6; }
 
24109
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
24110
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24484
24111
if test `eval echo '${'$as_ac_var'}'` = yes; then
24485
24112
  cat >>confdefs.h <<_ACEOF
24486
24113
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24490
24117
done
24491
24118
 
24492
24119
 
24493
 
{ echo "$as_me:$LINENO: checking for log in -lm" >&5
24494
 
echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6; }
 
24120
echo "$as_me:$LINENO: checking for log in -lm" >&5
 
24121
echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
24495
24122
if test "${ac_cv_lib_m_log+set}" = set; then
24496
24123
  echo $ECHO_N "(cached) $ECHO_C" >&6
24497
24124
else
24504
24131
cat >>conftest.$ac_ext <<_ACEOF
24505
24132
/* end confdefs.h.  */
24506
24133
 
24507
 
/* Override any GCC internal prototype to avoid an error.
24508
 
   Use char because int might match the return type of a GCC
24509
 
   builtin and then its argument prototype would still apply.  */
 
24134
/* Override any gcc2 internal prototype to avoid an error.  */
24510
24135
#ifdef __cplusplus
24511
24136
extern "C"
24512
24137
#endif
 
24138
/* We use char because int might match the return type of a gcc2
 
24139
   builtin and then its argument prototype would still apply.  */
24513
24140
char log ();
24514
24141
int
24515
24142
main ()
24516
24143
{
24517
 
return log ();
 
24144
log ();
24518
24145
  ;
24519
24146
  return 0;
24520
24147
}
24521
24148
_ACEOF
24522
24149
rm -f conftest.$ac_objext conftest$ac_exeext
24523
 
if { (ac_try="$ac_link"
24524
 
case "(($ac_try" in
24525
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24526
 
  *) ac_try_echo=$ac_try;;
24527
 
esac
24528
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24529
 
  (eval "$ac_link") 2>conftest.er1
 
24150
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
24151
  (eval $ac_link) 2>conftest.er1
24530
24152
  ac_status=$?
24531
24153
  grep -v '^ *+' conftest.er1 >conftest.err
24532
24154
  rm -f conftest.er1
24533
24155
  cat conftest.err >&5
24534
24156
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24535
 
  (exit $ac_status); } && {
24536
 
         test -z "$ac_c_werror_flag" ||
24537
 
         test ! -s conftest.err
24538
 
       } && test -s conftest$ac_exeext &&
24539
 
       $as_test_x conftest$ac_exeext; then
 
24157
  (exit $ac_status); } &&
 
24158
         { ac_try='test -z "$ac_c_werror_flag"
 
24159
                         || test ! -s conftest.err'
 
24160
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24161
  (eval $ac_try) 2>&5
 
24162
  ac_status=$?
 
24163
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24164
  (exit $ac_status); }; } &&
 
24165
         { ac_try='test -s conftest$ac_exeext'
 
24166
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24167
  (eval $ac_try) 2>&5
 
24168
  ac_status=$?
 
24169
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24170
  (exit $ac_status); }; }; then
24540
24171
  ac_cv_lib_m_log=yes
24541
24172
else
24542
24173
  echo "$as_me: failed program was:" >&5
24543
24174
sed 's/^/| /' conftest.$ac_ext >&5
24544
24175
 
24545
 
        ac_cv_lib_m_log=no
 
24176
ac_cv_lib_m_log=no
24546
24177
fi
24547
 
 
24548
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
24178
rm -f conftest.err conftest.$ac_objext \
24549
24179
      conftest$ac_exeext conftest.$ac_ext
24550
24180
LIBS=$ac_check_lib_save_LIBS
24551
24181
fi
24552
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
24553
 
echo "${ECHO_T}$ac_cv_lib_m_log" >&6; }
 
24182
echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
 
24183
echo "${ECHO_T}$ac_cv_lib_m_log" >&6
24554
24184
if test $ac_cv_lib_m_log = yes; then
24555
24185
  cat >>confdefs.h <<_ACEOF
24556
24186
#define HAVE_LIBM 1
24561
24191
fi
24562
24192
 
24563
24193
 
24564
 
{ echo "$as_me:$LINENO: checking for working strcoll" >&5
24565
 
echo $ECHO_N "checking for working strcoll... $ECHO_C" >&6; }
 
24194
echo "$as_me:$LINENO: checking for working strcoll" >&5
 
24195
echo $ECHO_N "checking for working strcoll... $ECHO_C" >&6
24566
24196
if test "${ac_cv_func_strcoll_works+set}" = set; then
24567
24197
  echo $ECHO_N "(cached) $ECHO_C" >&6
24568
24198
else
24579
24209
int
24580
24210
main ()
24581
24211
{
24582
 
return (strcoll ("abc", "def") >= 0 ||
 
24212
exit (strcoll ("abc", "def") >= 0 ||
24583
24213
         strcoll ("ABC", "DEF") >= 0 ||
24584
24214
         strcoll ("123", "456") >= 0)
24585
24215
  ;
24587
24217
}
24588
24218
_ACEOF
24589
24219
rm -f conftest$ac_exeext
24590
 
if { (ac_try="$ac_link"
24591
 
case "(($ac_try" in
24592
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24593
 
  *) ac_try_echo=$ac_try;;
24594
 
esac
24595
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24596
 
  (eval "$ac_link") 2>&5
 
24220
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
24221
  (eval $ac_link) 2>&5
24597
24222
  ac_status=$?
24598
24223
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24599
24224
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24600
 
  { (case "(($ac_try" in
24601
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24602
 
  *) ac_try_echo=$ac_try;;
24603
 
esac
24604
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24605
 
  (eval "$ac_try") 2>&5
 
24225
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24226
  (eval $ac_try) 2>&5
24606
24227
  ac_status=$?
24607
24228
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24608
24229
  (exit $ac_status); }; }; then
24615
24236
( exit $ac_status )
24616
24237
ac_cv_func_strcoll_works=no
24617
24238
fi
24618
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24619
 
fi
24620
 
 
24621
 
 
24622
 
fi
24623
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_strcoll_works" >&5
24624
 
echo "${ECHO_T}$ac_cv_func_strcoll_works" >&6; }
 
24239
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
24240
fi
 
24241
fi
 
24242
echo "$as_me:$LINENO: result: $ac_cv_func_strcoll_works" >&5
 
24243
echo "${ECHO_T}$ac_cv_func_strcoll_works" >&6
24625
24244
if test $ac_cv_func_strcoll_works = yes; then
24626
24245
 
24627
24246
cat >>confdefs.h <<\_ACEOF
24631
24250
fi
24632
24251
 
24633
24252
 
24634
 
{ echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
24635
 
echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
 
24253
echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
 
24254
echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
24636
24255
if test "${ac_cv_type_uid_t+set}" = set; then
24637
24256
  echo $ECHO_N "(cached) $ECHO_C" >&6
24638
24257
else
24654
24273
rm -f conftest*
24655
24274
 
24656
24275
fi
24657
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
24658
 
echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
 
24276
echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
 
24277
echo "${ECHO_T}$ac_cv_type_uid_t" >&6
24659
24278
if test $ac_cv_type_uid_t = no; then
24660
24279
 
24661
24280
cat >>confdefs.h <<\_ACEOF
24669
24288
 
24670
24289
fi
24671
24290
 
24672
 
{ echo "$as_me:$LINENO: checking type of array argument to getgroups" >&5
24673
 
echo $ECHO_N "checking type of array argument to getgroups... $ECHO_C" >&6; }
 
24291
echo "$as_me:$LINENO: checking type of array argument to getgroups" >&5
 
24292
echo $ECHO_N "checking type of array argument to getgroups... $ECHO_C" >&6
24674
24293
if test "${ac_cv_type_getgroups+set}" = set; then
24675
24294
  echo $ECHO_N "(cached) $ECHO_C" >&6
24676
24295
else
24684
24303
cat >>conftest.$ac_ext <<_ACEOF
24685
24304
/* end confdefs.h.  */
24686
24305
/* Thanks to Mike Rendell for this test.  */
24687
 
$ac_includes_default
 
24306
#include <sys/types.h>
24688
24307
#define NGID 256
24689
24308
#undef MAX
24690
24309
#define MAX(x, y) ((x) > (y) ? (x) : (y))
24694
24313
{
24695
24314
  gid_t gidset[NGID];
24696
24315
  int i, n;
24697
 
  union { gid_t gval; long int lval; }  val;
 
24316
  union { gid_t gval; long lval; }  val;
24698
24317
 
24699
24318
  val.lval = -1;
24700
24319
  for (i = 0; i < NGID; i++)
24702
24321
  n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
24703
24322
                 gidset);
24704
24323
  /* Exit non-zero if getgroups seems to require an array of ints.  This
24705
 
     happens when gid_t is short int but getgroups modifies an array
24706
 
     of ints.  */
24707
 
  return n > 0 && gidset[n] != val.gval;
 
24324
     happens when gid_t is short but getgroups modifies an array of ints.  */
 
24325
  exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
24708
24326
}
24709
24327
_ACEOF
24710
24328
rm -f conftest$ac_exeext
24711
 
if { (ac_try="$ac_link"
24712
 
case "(($ac_try" in
24713
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24714
 
  *) ac_try_echo=$ac_try;;
24715
 
esac
24716
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24717
 
  (eval "$ac_link") 2>&5
 
24329
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
24330
  (eval $ac_link) 2>&5
24718
24331
  ac_status=$?
24719
24332
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24720
24333
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24721
 
  { (case "(($ac_try" in
24722
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24723
 
  *) ac_try_echo=$ac_try;;
24724
 
esac
24725
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24726
 
  (eval "$ac_try") 2>&5
 
24334
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24335
  (eval $ac_try) 2>&5
24727
24336
  ac_status=$?
24728
24337
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24729
24338
  (exit $ac_status); }; }; then
24736
24345
( exit $ac_status )
24737
24346
ac_cv_type_getgroups=int
24738
24347
fi
24739
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
24348
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24740
24349
fi
24741
 
 
24742
 
 
24743
24350
if test $ac_cv_type_getgroups = cross; then
24744
24351
        cat >conftest.$ac_ext <<_ACEOF
24745
24352
/* confdefs.h.  */
24760
24367
 
24761
24368
fi
24762
24369
fi
24763
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_getgroups" >&5
24764
 
echo "${ECHO_T}$ac_cv_type_getgroups" >&6; }
 
24370
echo "$as_me:$LINENO: result: $ac_cv_type_getgroups" >&5
 
24371
echo "${ECHO_T}$ac_cv_type_getgroups" >&6
24765
24372
 
24766
24373
cat >>confdefs.h <<_ACEOF
24767
24374
#define GETGROUPS_T $ac_cv_type_getgroups
24768
24375
_ACEOF
24769
24376
 
24770
24377
 
24771
 
{ echo "$as_me:$LINENO: checking for getgroups" >&5
24772
 
echo $ECHO_N "checking for getgroups... $ECHO_C" >&6; }
 
24378
echo "$as_me:$LINENO: checking for getgroups" >&5
 
24379
echo $ECHO_N "checking for getgroups... $ECHO_C" >&6
24773
24380
if test "${ac_cv_func_getgroups+set}" = set; then
24774
24381
  echo $ECHO_N "(cached) $ECHO_C" >&6
24775
24382
else
24796
24403
 
24797
24404
#undef getgroups
24798
24405
 
24799
 
/* Override any GCC internal prototype to avoid an error.
24800
 
   Use char because int might match the return type of a GCC
 
24406
/* Override any gcc2 internal prototype to avoid an error.  */
 
24407
#ifdef __cplusplus
 
24408
extern "C"
 
24409
{
 
24410
#endif
 
24411
/* We use char because int might match the return type of a gcc2
24801
24412
   builtin and then its argument prototype would still apply.  */
24802
 
#ifdef __cplusplus
24803
 
extern "C"
24804
 
#endif
24805
24413
char getgroups ();
24806
24414
/* The GNU C library defines this for functions which it implements
24807
24415
    to always fail with ENOSYS.  Some functions are actually named
24808
24416
    something starting with __ and the normal name is an alias.  */
24809
 
#if defined __stub_getgroups || defined __stub___getgroups
 
24417
#if defined (__stub_getgroups) || defined (__stub___getgroups)
24810
24418
choke me
 
24419
#else
 
24420
char (*f) () = getgroups;
 
24421
#endif
 
24422
#ifdef __cplusplus
 
24423
}
24811
24424
#endif
24812
24425
 
24813
24426
int
24814
24427
main ()
24815
24428
{
24816
 
return getgroups ();
 
24429
return f != getgroups;
24817
24430
  ;
24818
24431
  return 0;
24819
24432
}
24820
24433
_ACEOF
24821
24434
rm -f conftest.$ac_objext conftest$ac_exeext
24822
 
if { (ac_try="$ac_link"
24823
 
case "(($ac_try" in
24824
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24825
 
  *) ac_try_echo=$ac_try;;
24826
 
esac
24827
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24828
 
  (eval "$ac_link") 2>conftest.er1
 
24435
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
24436
  (eval $ac_link) 2>conftest.er1
24829
24437
  ac_status=$?
24830
24438
  grep -v '^ *+' conftest.er1 >conftest.err
24831
24439
  rm -f conftest.er1
24832
24440
  cat conftest.err >&5
24833
24441
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24834
 
  (exit $ac_status); } && {
24835
 
         test -z "$ac_c_werror_flag" ||
24836
 
         test ! -s conftest.err
24837
 
       } && test -s conftest$ac_exeext &&
24838
 
       $as_test_x conftest$ac_exeext; then
 
24442
  (exit $ac_status); } &&
 
24443
         { ac_try='test -z "$ac_c_werror_flag"
 
24444
                         || test ! -s conftest.err'
 
24445
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24446
  (eval $ac_try) 2>&5
 
24447
  ac_status=$?
 
24448
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24449
  (exit $ac_status); }; } &&
 
24450
         { ac_try='test -s conftest$ac_exeext'
 
24451
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24452
  (eval $ac_try) 2>&5
 
24453
  ac_status=$?
 
24454
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24455
  (exit $ac_status); }; }; then
24839
24456
  ac_cv_func_getgroups=yes
24840
24457
else
24841
24458
  echo "$as_me: failed program was:" >&5
24842
24459
sed 's/^/| /' conftest.$ac_ext >&5
24843
24460
 
24844
 
        ac_cv_func_getgroups=no
 
24461
ac_cv_func_getgroups=no
24845
24462
fi
24846
 
 
24847
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
24463
rm -f conftest.err conftest.$ac_objext \
24848
24464
      conftest$ac_exeext conftest.$ac_ext
24849
24465
fi
24850
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_getgroups" >&5
24851
 
echo "${ECHO_T}$ac_cv_func_getgroups" >&6; }
 
24466
echo "$as_me:$LINENO: result: $ac_cv_func_getgroups" >&5
 
24467
echo "${ECHO_T}$ac_cv_func_getgroups" >&6
24852
24468
 
24853
24469
 
24854
24470
# If we don't yet have getgroups, see if it's in -lbsd.
24855
24471
# This is reported to be necessary on an ITOS 3000WS running SEIUX 3.1.
24856
24472
ac_save_LIBS=$LIBS
24857
24473
if test $ac_cv_func_getgroups = no; then
24858
 
  { echo "$as_me:$LINENO: checking for getgroups in -lbsd" >&5
24859
 
echo $ECHO_N "checking for getgroups in -lbsd... $ECHO_C" >&6; }
 
24474
  echo "$as_me:$LINENO: checking for getgroups in -lbsd" >&5
 
24475
echo $ECHO_N "checking for getgroups in -lbsd... $ECHO_C" >&6
24860
24476
if test "${ac_cv_lib_bsd_getgroups+set}" = set; then
24861
24477
  echo $ECHO_N "(cached) $ECHO_C" >&6
24862
24478
else
24869
24485
cat >>conftest.$ac_ext <<_ACEOF
24870
24486
/* end confdefs.h.  */
24871
24487
 
24872
 
/* Override any GCC internal prototype to avoid an error.
24873
 
   Use char because int might match the return type of a GCC
24874
 
   builtin and then its argument prototype would still apply.  */
 
24488
/* Override any gcc2 internal prototype to avoid an error.  */
24875
24489
#ifdef __cplusplus
24876
24490
extern "C"
24877
24491
#endif
 
24492
/* We use char because int might match the return type of a gcc2
 
24493
   builtin and then its argument prototype would still apply.  */
24878
24494
char getgroups ();
24879
24495
int
24880
24496
main ()
24881
24497
{
24882
 
return getgroups ();
 
24498
getgroups ();
24883
24499
  ;
24884
24500
  return 0;
24885
24501
}
24886
24502
_ACEOF
24887
24503
rm -f conftest.$ac_objext conftest$ac_exeext
24888
 
if { (ac_try="$ac_link"
24889
 
case "(($ac_try" in
24890
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24891
 
  *) ac_try_echo=$ac_try;;
24892
 
esac
24893
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24894
 
  (eval "$ac_link") 2>conftest.er1
 
24504
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
24505
  (eval $ac_link) 2>conftest.er1
24895
24506
  ac_status=$?
24896
24507
  grep -v '^ *+' conftest.er1 >conftest.err
24897
24508
  rm -f conftest.er1
24898
24509
  cat conftest.err >&5
24899
24510
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24900
 
  (exit $ac_status); } && {
24901
 
         test -z "$ac_c_werror_flag" ||
24902
 
         test ! -s conftest.err
24903
 
       } && test -s conftest$ac_exeext &&
24904
 
       $as_test_x conftest$ac_exeext; then
 
24511
  (exit $ac_status); } &&
 
24512
         { ac_try='test -z "$ac_c_werror_flag"
 
24513
                         || test ! -s conftest.err'
 
24514
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24515
  (eval $ac_try) 2>&5
 
24516
  ac_status=$?
 
24517
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24518
  (exit $ac_status); }; } &&
 
24519
         { ac_try='test -s conftest$ac_exeext'
 
24520
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24521
  (eval $ac_try) 2>&5
 
24522
  ac_status=$?
 
24523
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24524
  (exit $ac_status); }; }; then
24905
24525
  ac_cv_lib_bsd_getgroups=yes
24906
24526
else
24907
24527
  echo "$as_me: failed program was:" >&5
24908
24528
sed 's/^/| /' conftest.$ac_ext >&5
24909
24529
 
24910
 
        ac_cv_lib_bsd_getgroups=no
 
24530
ac_cv_lib_bsd_getgroups=no
24911
24531
fi
24912
 
 
24913
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
24532
rm -f conftest.err conftest.$ac_objext \
24914
24533
      conftest$ac_exeext conftest.$ac_ext
24915
24534
LIBS=$ac_check_lib_save_LIBS
24916
24535
fi
24917
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_getgroups" >&5
24918
 
echo "${ECHO_T}$ac_cv_lib_bsd_getgroups" >&6; }
 
24536
echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_getgroups" >&5
 
24537
echo "${ECHO_T}$ac_cv_lib_bsd_getgroups" >&6
24919
24538
if test $ac_cv_lib_bsd_getgroups = yes; then
24920
24539
  GETGROUPS_LIB=-lbsd
24921
24540
fi
24925
24544
# Run the program to test the functionality of the system-supplied
24926
24545
# getgroups function only if there is such a function.
24927
24546
if test $ac_cv_func_getgroups = yes; then
24928
 
  { echo "$as_me:$LINENO: checking for working getgroups" >&5
24929
 
echo $ECHO_N "checking for working getgroups... $ECHO_C" >&6; }
 
24547
  echo "$as_me:$LINENO: checking for working getgroups" >&5
 
24548
echo $ECHO_N "checking for working getgroups... $ECHO_C" >&6
24930
24549
if test "${ac_cv_func_getgroups_works+set}" = set; then
24931
24550
  echo $ECHO_N "(cached) $ECHO_C" >&6
24932
24551
else
24944
24563
main ()
24945
24564
{
24946
24565
/* On Ultrix 4.3, getgroups (0, 0) always fails.  */
24947
 
       return getgroups (0, 0) == -1;
 
24566
       exit (getgroups (0, 0) == -1 ? 1 : 0);
24948
24567
  ;
24949
24568
  return 0;
24950
24569
}
24951
24570
_ACEOF
24952
24571
rm -f conftest$ac_exeext
24953
 
if { (ac_try="$ac_link"
24954
 
case "(($ac_try" in
24955
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24956
 
  *) ac_try_echo=$ac_try;;
24957
 
esac
24958
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24959
 
  (eval "$ac_link") 2>&5
 
24572
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
24573
  (eval $ac_link) 2>&5
24960
24574
  ac_status=$?
24961
24575
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24962
24576
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24963
 
  { (case "(($ac_try" in
24964
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24965
 
  *) ac_try_echo=$ac_try;;
24966
 
esac
24967
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24968
 
  (eval "$ac_try") 2>&5
 
24577
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24578
  (eval $ac_try) 2>&5
24969
24579
  ac_status=$?
24970
24580
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24971
24581
  (exit $ac_status); }; }; then
24978
24588
( exit $ac_status )
24979
24589
ac_cv_func_getgroups_works=no
24980
24590
fi
24981
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24982
 
fi
24983
 
 
24984
 
 
24985
 
 
24986
 
fi
24987
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_getgroups_works" >&5
24988
 
echo "${ECHO_T}$ac_cv_func_getgroups_works" >&6; }
 
24591
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
24592
fi
 
24593
 
 
24594
fi
 
24595
echo "$as_me:$LINENO: result: $ac_cv_func_getgroups_works" >&5
 
24596
echo "${ECHO_T}$ac_cv_func_getgroups_works" >&6
24989
24597
  if test $ac_cv_func_getgroups_works = yes; then
24990
24598
 
24991
24599
cat >>confdefs.h <<\_ACEOF
24997
24605
LIBS=$ac_save_LIBS
24998
24606
 
24999
24607
 
25000
 
{ echo "$as_me:$LINENO: checking type of array argument to getgroups" >&5
25001
 
echo $ECHO_N "checking type of array argument to getgroups... $ECHO_C" >&6; }
 
24608
echo "$as_me:$LINENO: checking type of array argument to getgroups" >&5
 
24609
echo $ECHO_N "checking type of array argument to getgroups... $ECHO_C" >&6
25002
24610
if test "${ac_cv_type_getgroups+set}" = set; then
25003
24611
  echo $ECHO_N "(cached) $ECHO_C" >&6
25004
24612
else
25012
24620
cat >>conftest.$ac_ext <<_ACEOF
25013
24621
/* end confdefs.h.  */
25014
24622
/* Thanks to Mike Rendell for this test.  */
25015
 
$ac_includes_default
 
24623
#include <sys/types.h>
25016
24624
#define NGID 256
25017
24625
#undef MAX
25018
24626
#define MAX(x, y) ((x) > (y) ? (x) : (y))
25022
24630
{
25023
24631
  gid_t gidset[NGID];
25024
24632
  int i, n;
25025
 
  union { gid_t gval; long int lval; }  val;
 
24633
  union { gid_t gval; long lval; }  val;
25026
24634
 
25027
24635
  val.lval = -1;
25028
24636
  for (i = 0; i < NGID; i++)
25030
24638
  n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
25031
24639
                 gidset);
25032
24640
  /* Exit non-zero if getgroups seems to require an array of ints.  This
25033
 
     happens when gid_t is short int but getgroups modifies an array
25034
 
     of ints.  */
25035
 
  return n > 0 && gidset[n] != val.gval;
 
24641
     happens when gid_t is short but getgroups modifies an array of ints.  */
 
24642
  exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
25036
24643
}
25037
24644
_ACEOF
25038
24645
rm -f conftest$ac_exeext
25039
 
if { (ac_try="$ac_link"
25040
 
case "(($ac_try" in
25041
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25042
 
  *) ac_try_echo=$ac_try;;
25043
 
esac
25044
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25045
 
  (eval "$ac_link") 2>&5
 
24646
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
24647
  (eval $ac_link) 2>&5
25046
24648
  ac_status=$?
25047
24649
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25048
24650
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25049
 
  { (case "(($ac_try" in
25050
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25051
 
  *) ac_try_echo=$ac_try;;
25052
 
esac
25053
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25054
 
  (eval "$ac_try") 2>&5
 
24651
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24652
  (eval $ac_try) 2>&5
25055
24653
  ac_status=$?
25056
24654
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25057
24655
  (exit $ac_status); }; }; then
25064
24662
( exit $ac_status )
25065
24663
ac_cv_type_getgroups=int
25066
24664
fi
25067
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
24665
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25068
24666
fi
25069
 
 
25070
 
 
25071
24667
if test $ac_cv_type_getgroups = cross; then
25072
24668
        cat >conftest.$ac_ext <<_ACEOF
25073
24669
/* confdefs.h.  */
25088
24684
 
25089
24685
fi
25090
24686
fi
25091
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_getgroups" >&5
25092
 
echo "${ECHO_T}$ac_cv_type_getgroups" >&6; }
 
24687
echo "$as_me:$LINENO: result: $ac_cv_type_getgroups" >&5
 
24688
echo "${ECHO_T}$ac_cv_type_getgroups" >&6
25093
24689
 
25094
24690
cat >>confdefs.h <<_ACEOF
25095
24691
#define GETGROUPS_T $ac_cv_type_getgroups
25102
24698
for ac_func in vsnprintf mkstemp
25103
24699
do
25104
24700
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25105
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
25106
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25107
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
24701
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
24702
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
24703
if eval "test \"\${$as_ac_var+set}\" = set"; then
25108
24704
  echo $ECHO_N "(cached) $ECHO_C" >&6
25109
24705
else
25110
24706
  cat >conftest.$ac_ext <<_ACEOF
25130
24726
 
25131
24727
#undef $ac_func
25132
24728
 
25133
 
/* Override any GCC internal prototype to avoid an error.
25134
 
   Use char because int might match the return type of a GCC
 
24729
/* Override any gcc2 internal prototype to avoid an error.  */
 
24730
#ifdef __cplusplus
 
24731
extern "C"
 
24732
{
 
24733
#endif
 
24734
/* We use char because int might match the return type of a gcc2
25135
24735
   builtin and then its argument prototype would still apply.  */
25136
 
#ifdef __cplusplus
25137
 
extern "C"
25138
 
#endif
25139
24736
char $ac_func ();
25140
24737
/* The GNU C library defines this for functions which it implements
25141
24738
    to always fail with ENOSYS.  Some functions are actually named
25142
24739
    something starting with __ and the normal name is an alias.  */
25143
 
#if defined __stub_$ac_func || defined __stub___$ac_func
 
24740
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25144
24741
choke me
 
24742
#else
 
24743
char (*f) () = $ac_func;
 
24744
#endif
 
24745
#ifdef __cplusplus
 
24746
}
25145
24747
#endif
25146
24748
 
25147
24749
int
25148
24750
main ()
25149
24751
{
25150
 
return $ac_func ();
 
24752
return f != $ac_func;
25151
24753
  ;
25152
24754
  return 0;
25153
24755
}
25154
24756
_ACEOF
25155
24757
rm -f conftest.$ac_objext conftest$ac_exeext
25156
 
if { (ac_try="$ac_link"
25157
 
case "(($ac_try" in
25158
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25159
 
  *) ac_try_echo=$ac_try;;
25160
 
esac
25161
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25162
 
  (eval "$ac_link") 2>conftest.er1
 
24758
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
24759
  (eval $ac_link) 2>conftest.er1
25163
24760
  ac_status=$?
25164
24761
  grep -v '^ *+' conftest.er1 >conftest.err
25165
24762
  rm -f conftest.er1
25166
24763
  cat conftest.err >&5
25167
24764
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25168
 
  (exit $ac_status); } && {
25169
 
         test -z "$ac_c_werror_flag" ||
25170
 
         test ! -s conftest.err
25171
 
       } && test -s conftest$ac_exeext &&
25172
 
       $as_test_x conftest$ac_exeext; then
 
24765
  (exit $ac_status); } &&
 
24766
         { ac_try='test -z "$ac_c_werror_flag"
 
24767
                         || test ! -s conftest.err'
 
24768
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24769
  (eval $ac_try) 2>&5
 
24770
  ac_status=$?
 
24771
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24772
  (exit $ac_status); }; } &&
 
24773
         { ac_try='test -s conftest$ac_exeext'
 
24774
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24775
  (eval $ac_try) 2>&5
 
24776
  ac_status=$?
 
24777
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24778
  (exit $ac_status); }; }; then
25173
24779
  eval "$as_ac_var=yes"
25174
24780
else
25175
24781
  echo "$as_me: failed program was:" >&5
25176
24782
sed 's/^/| /' conftest.$ac_ext >&5
25177
24783
 
25178
 
        eval "$as_ac_var=no"
 
24784
eval "$as_ac_var=no"
25179
24785
fi
25180
 
 
25181
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
24786
rm -f conftest.err conftest.$ac_objext \
25182
24787
      conftest$ac_exeext conftest.$ac_ext
25183
24788
fi
25184
 
ac_res=`eval echo '${'$as_ac_var'}'`
25185
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
25186
 
echo "${ECHO_T}$ac_res" >&6; }
 
24789
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
24790
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25187
24791
if test `eval echo '${'$as_ac_var'}'` = yes; then
25188
24792
  cat >>confdefs.h <<_ACEOF
25189
24793
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25190
24794
_ACEOF
25191
24795
 
25192
24796
else
25193
 
  case " $LIBOBJS " in
 
24797
  case $LIBOBJS in
 
24798
    "$ac_func.$ac_objext"   | \
 
24799
  *" $ac_func.$ac_objext"   | \
 
24800
    "$ac_func.$ac_objext "* | \
25194
24801
  *" $ac_func.$ac_objext "* ) ;;
25195
 
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
25196
 
 ;;
 
24802
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
25197
24803
esac
25198
24804
 
25199
24805
fi
25205
24811
LIBXML_REQUIRED_VERSION=2.4.3
25206
24812
 
25207
24813
 
25208
 
# Check whether --with-libxml2 was given.
 
24814
# Check whether --with-libxml2 or --without-libxml2 was given.
25209
24815
if test "${with_libxml2+set}" = set; then
25210
 
  withval=$with_libxml2;
 
24816
  withval="$with_libxml2"
 
24817
 
25211
24818
else
25212
24819
  withval=maybe
25213
 
fi
25214
 
 
 
24820
fi;
25215
24821
 
25216
24822
if test "$withval" != "no"; then
25217
24823
        XML2_CONFIG="no"
25219
24825
        XML2_CONFIG_PATH="$withval/bin"
25220
24826
        # Extract the first word of "xml2-config", so it can be a program name with args.
25221
24827
set dummy xml2-config; ac_word=$2
25222
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25223
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
24828
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
24829
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25224
24830
if test "${ac_cv_path_XML2_CONFIG+set}" = set; then
25225
24831
  echo $ECHO_N "(cached) $ECHO_C" >&6
25226
24832
else
25235
24841
  IFS=$as_save_IFS
25236
24842
  test -z "$as_dir" && as_dir=.
25237
24843
  for ac_exec_ext in '' $ac_executable_extensions; do
25238
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
24844
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25239
24845
    ac_cv_path_XML2_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25240
24846
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25241
24847
    break 2
25242
24848
  fi
25243
24849
done
25244
24850
done
25245
 
IFS=$as_save_IFS
25246
24851
 
25247
24852
  test -z "$ac_cv_path_XML2_CONFIG" && ac_cv_path_XML2_CONFIG=""no""
25248
24853
  ;;
25249
24854
esac
25250
24855
fi
25251
24856
XML2_CONFIG=$ac_cv_path_XML2_CONFIG
 
24857
 
25252
24858
if test -n "$XML2_CONFIG"; then
25253
 
  { echo "$as_me:$LINENO: result: $XML2_CONFIG" >&5
25254
 
echo "${ECHO_T}$XML2_CONFIG" >&6; }
 
24859
  echo "$as_me:$LINENO: result: $XML2_CONFIG" >&5
 
24860
echo "${ECHO_T}$XML2_CONFIG" >&6
25255
24861
else
25256
 
  { echo "$as_me:$LINENO: result: no" >&5
25257
 
echo "${ECHO_T}no" >&6; }
 
24862
  echo "$as_me:$LINENO: result: no" >&5
 
24863
echo "${ECHO_T}no" >&6
25258
24864
fi
25259
24865
 
25260
 
 
25261
24866
    else
25262
24867
        XML2_CONFIG_PATH=$PATH
25263
24868
        # Extract the first word of "xml2-config", so it can be a program name with args.
25264
24869
set dummy xml2-config; ac_word=$2
25265
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25266
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
24870
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
24871
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25267
24872
if test "${ac_cv_path_XML2_CONFIG+set}" = set; then
25268
24873
  echo $ECHO_N "(cached) $ECHO_C" >&6
25269
24874
else
25278
24883
  IFS=$as_save_IFS
25279
24884
  test -z "$as_dir" && as_dir=.
25280
24885
  for ac_exec_ext in '' $ac_executable_extensions; do
25281
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
24886
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25282
24887
    ac_cv_path_XML2_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25283
24888
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25284
24889
    break 2
25285
24890
  fi
25286
24891
done
25287
24892
done
25288
 
IFS=$as_save_IFS
25289
24893
 
25290
24894
  test -z "$ac_cv_path_XML2_CONFIG" && ac_cv_path_XML2_CONFIG=""no""
25291
24895
  ;;
25292
24896
esac
25293
24897
fi
25294
24898
XML2_CONFIG=$ac_cv_path_XML2_CONFIG
 
24899
 
25295
24900
if test -n "$XML2_CONFIG"; then
25296
 
  { echo "$as_me:$LINENO: result: $XML2_CONFIG" >&5
25297
 
echo "${ECHO_T}$XML2_CONFIG" >&6; }
 
24901
  echo "$as_me:$LINENO: result: $XML2_CONFIG" >&5
 
24902
echo "${ECHO_T}$XML2_CONFIG" >&6
25298
24903
else
25299
 
  { echo "$as_me:$LINENO: result: no" >&5
25300
 
echo "${ECHO_T}no" >&6; }
 
24904
  echo "$as_me:$LINENO: result: no" >&5
 
24905
echo "${ECHO_T}no" >&6
25301
24906
fi
25302
24907
 
25303
 
 
25304
24908
    fi
25305
24909
 
25306
24910
        if test "$XML2_CONFIG" = "no"; then
25315
24919
fi
25316
24920
 
25317
24921
if test "$withval" = "no"; then
25318
 
    { echo "$as_me:$LINENO: result: Not building with libxml2 - use --with-libxml2 to enable" >&5
25319
 
echo "${ECHO_T}Not building with libxml2 - use --with-libxml2 to enable" >&6; }
 
24922
    echo "$as_me:$LINENO: result: Not building with libxml2 - use --with-libxml2 to enable" >&5
 
24923
echo "${ECHO_T}Not building with libxml2 - use --with-libxml2 to enable" >&6
25320
24924
else
25321
24925
 
25322
24926
 
25323
 
    { echo "$as_me:$LINENO: checking for libxml libraries >= $LIBXML_REQUIRED_VERSION" >&5
25324
 
echo $ECHO_N "checking for libxml libraries >= $LIBXML_REQUIRED_VERSION... $ECHO_C" >&6; }
 
24927
    echo "$as_me:$LINENO: checking for libxml libraries >= $LIBXML_REQUIRED_VERSION" >&5
 
24928
echo $ECHO_N "checking for libxml libraries >= $LIBXML_REQUIRED_VERSION... $ECHO_C" >&6
25325
24929
 
25326
24930
 
25327
24931
 
25332
24936
    if test "$vers" -ge `echo $LIBXML_REQUIRED_VERSION | sed -e 's/libxml //' | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`;then
25333
24937
        LIBXML2_LIB="`$XML2_CONFIG --libs`"
25334
24938
        LIBXML2_CFLAGS="`$XML2_CONFIG --cflags`"
25335
 
        { echo "$as_me:$LINENO: result: found version $XML2_VERSION" >&5
25336
 
echo "${ECHO_T}found version $XML2_VERSION" >&6; }
 
24939
        echo "$as_me:$LINENO: result: found version $XML2_VERSION" >&5
 
24940
echo "${ECHO_T}found version $XML2_VERSION" >&6
25337
24941
    else
25338
24942
        { { echo "$as_me:$LINENO: error: You need at least libxml2 $LIBXML_REQUIRED_VERSION for this version of swish" >&5
25339
24943
echo "$as_me: error: You need at least libxml2 $LIBXML_REQUIRED_VERSION for this version of swish" >&2;}
25355
24959
 
25356
24960
 
25357
24961
 
25358
 
# Check whether --enable-incremental was given.
 
24962
# Check whether --enable-incremental or --disable-incremental was given.
25359
24963
if test "${enable_incremental+set}" = set; then
25360
 
  enableval=$enable_incremental; btree=yes
25361
 
fi
25362
 
 
25363
 
 
25364
 
# Check whether --enable-psortarray was given.
 
24964
  enableval="$enable_incremental"
 
24965
  btree=yes
 
24966
fi;
 
24967
 
 
24968
# Check whether --enable-psortarray or --disable-psortarray was given.
25365
24969
if test "${enable_psortarray+set}" = set; then
25366
 
  enableval=$enable_psortarray; psortarray=yes
25367
 
fi
25368
 
 
 
24970
  enableval="$enable_psortarray"
 
24971
  psortarray=yes
 
24972
fi;
25369
24973
 
25370
24974
if test x$btree = xyes; then
25371
24975
    { echo "$as_me:$LINENO: WARNING: ** Buidling with developer only incremental indexing code **" >&5
25395
24999
 
25396
25000
 
25397
25001
 
25398
 
# Check whether --with-zlib was given.
 
25002
# Check whether --with-zlib or --without-zlib was given.
25399
25003
if test "${with_zlib+set}" = set; then
25400
 
  withval=$with_zlib;
 
25004
  withval="$with_zlib"
 
25005
 
25401
25006
  if test "$withval" != "no" -a "$withval" != "yes"; then
25402
25007
    Z_DIR=$withval
25403
25008
    CPPFLAGS="${CPPFLAGS} -I$withval/include"
25404
25009
    LDFLAGS="${LDFLAGS} -L$withval/lib"
25405
25010
  fi
25406
25011
 
25407
 
fi
25408
 
 
 
25012
fi;
25409
25013
if test "$with_zlib" = "no"; then
25410
25014
    echo "Disabling compression support"
25411
25015
else
25413
25017
for ac_header in zlib.h
25414
25018
do
25415
25019
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25416
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25417
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
25418
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25419
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
25020
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
25021
  echo "$as_me:$LINENO: checking for $ac_header" >&5
 
25022
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
25023
if eval "test \"\${$as_ac_Header+set}\" = set"; then
25420
25024
  echo $ECHO_N "(cached) $ECHO_C" >&6
25421
25025
fi
25422
 
ac_res=`eval echo '${'$as_ac_Header'}'`
25423
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
25424
 
echo "${ECHO_T}$ac_res" >&6; }
 
25026
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
25027
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25425
25028
else
25426
25029
  # Is the header compilable?
25427
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
25428
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
25030
echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
25031
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25429
25032
cat >conftest.$ac_ext <<_ACEOF
25430
25033
/* confdefs.h.  */
25431
25034
_ACEOF
25436
25039
#include <$ac_header>
25437
25040
_ACEOF
25438
25041
rm -f conftest.$ac_objext
25439
 
if { (ac_try="$ac_compile"
25440
 
case "(($ac_try" in
25441
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25442
 
  *) ac_try_echo=$ac_try;;
25443
 
esac
25444
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25445
 
  (eval "$ac_compile") 2>conftest.er1
 
25042
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
25043
  (eval $ac_compile) 2>conftest.er1
25446
25044
  ac_status=$?
25447
25045
  grep -v '^ *+' conftest.er1 >conftest.err
25448
25046
  rm -f conftest.er1
25449
25047
  cat conftest.err >&5
25450
25048
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25451
 
  (exit $ac_status); } && {
25452
 
         test -z "$ac_c_werror_flag" ||
25453
 
         test ! -s conftest.err
25454
 
       } && test -s conftest.$ac_objext; then
 
25049
  (exit $ac_status); } &&
 
25050
         { ac_try='test -z "$ac_c_werror_flag"
 
25051
                         || test ! -s conftest.err'
 
25052
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25053
  (eval $ac_try) 2>&5
 
25054
  ac_status=$?
 
25055
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25056
  (exit $ac_status); }; } &&
 
25057
         { ac_try='test -s conftest.$ac_objext'
 
25058
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25059
  (eval $ac_try) 2>&5
 
25060
  ac_status=$?
 
25061
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25062
  (exit $ac_status); }; }; then
25455
25063
  ac_header_compiler=yes
25456
25064
else
25457
25065
  echo "$as_me: failed program was:" >&5
25458
25066
sed 's/^/| /' conftest.$ac_ext >&5
25459
25067
 
25460
 
        ac_header_compiler=no
 
25068
ac_header_compiler=no
25461
25069
fi
25462
 
 
25463
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25464
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25465
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
25070
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25071
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
25072
echo "${ECHO_T}$ac_header_compiler" >&6
25466
25073
 
25467
25074
# Is the header present?
25468
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
25469
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
25075
echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
25076
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25470
25077
cat >conftest.$ac_ext <<_ACEOF
25471
25078
/* confdefs.h.  */
25472
25079
_ACEOF
25475
25082
/* end confdefs.h.  */
25476
25083
#include <$ac_header>
25477
25084
_ACEOF
25478
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
25479
 
case "(($ac_try" in
25480
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25481
 
  *) ac_try_echo=$ac_try;;
25482
 
esac
25483
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25484
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
25085
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
25086
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25485
25087
  ac_status=$?
25486
25088
  grep -v '^ *+' conftest.er1 >conftest.err
25487
25089
  rm -f conftest.er1
25488
25090
  cat conftest.err >&5
25489
25091
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25490
 
  (exit $ac_status); } >/dev/null && {
25491
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25492
 
         test ! -s conftest.err
25493
 
       }; then
 
25092
  (exit $ac_status); } >/dev/null; then
 
25093
  if test -s conftest.err; then
 
25094
    ac_cpp_err=$ac_c_preproc_warn_flag
 
25095
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
25096
  else
 
25097
    ac_cpp_err=
 
25098
  fi
 
25099
else
 
25100
  ac_cpp_err=yes
 
25101
fi
 
25102
if test -z "$ac_cpp_err"; then
25494
25103
  ac_header_preproc=yes
25495
25104
else
25496
25105
  echo "$as_me: failed program was:" >&5
25498
25107
 
25499
25108
  ac_header_preproc=no
25500
25109
fi
25501
 
 
25502
25110
rm -f conftest.err conftest.$ac_ext
25503
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25504
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
25111
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
25112
echo "${ECHO_T}$ac_header_preproc" >&6
25505
25113
 
25506
25114
# So?  What about this header?
25507
25115
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25525
25133
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25526
25134
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25527
25135
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25528
 
 
 
25136
    (
 
25137
      cat <<\_ASBOX
 
25138
## ------------------------------------------ ##
 
25139
## Report this to the AC_PACKAGE_NAME lists.  ##
 
25140
## ------------------------------------------ ##
 
25141
_ASBOX
 
25142
    ) |
 
25143
      sed "s/^/$as_me: WARNING:     /" >&2
25529
25144
    ;;
25530
25145
esac
25531
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
25532
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25533
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
25146
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
25147
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
25148
if eval "test \"\${$as_ac_Header+set}\" = set"; then
25534
25149
  echo $ECHO_N "(cached) $ECHO_C" >&6
25535
25150
else
25536
25151
  eval "$as_ac_Header=\$ac_header_preproc"
25537
25152
fi
25538
 
ac_res=`eval echo '${'$as_ac_Header'}'`
25539
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
25540
 
echo "${ECHO_T}$ac_res" >&6; }
 
25153
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
25154
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25541
25155
 
25542
25156
fi
25543
25157
if test `eval echo '${'$as_ac_Header'}'` = yes; then
25544
25158
  cat >>confdefs.h <<_ACEOF
25545
25159
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25546
25160
_ACEOF
25547
 
 { echo "$as_me:$LINENO: checking for gzread in -lz" >&5
25548
 
echo $ECHO_N "checking for gzread in -lz... $ECHO_C" >&6; }
 
25161
 echo "$as_me:$LINENO: checking for gzread in -lz" >&5
 
25162
echo $ECHO_N "checking for gzread in -lz... $ECHO_C" >&6
25549
25163
if test "${ac_cv_lib_z_gzread+set}" = set; then
25550
25164
  echo $ECHO_N "(cached) $ECHO_C" >&6
25551
25165
else
25558
25172
cat >>conftest.$ac_ext <<_ACEOF
25559
25173
/* end confdefs.h.  */
25560
25174
 
25561
 
/* Override any GCC internal prototype to avoid an error.
25562
 
   Use char because int might match the return type of a GCC
25563
 
   builtin and then its argument prototype would still apply.  */
 
25175
/* Override any gcc2 internal prototype to avoid an error.  */
25564
25176
#ifdef __cplusplus
25565
25177
extern "C"
25566
25178
#endif
 
25179
/* We use char because int might match the return type of a gcc2
 
25180
   builtin and then its argument prototype would still apply.  */
25567
25181
char gzread ();
25568
25182
int
25569
25183
main ()
25570
25184
{
25571
 
return gzread ();
 
25185
gzread ();
25572
25186
  ;
25573
25187
  return 0;
25574
25188
}
25575
25189
_ACEOF
25576
25190
rm -f conftest.$ac_objext conftest$ac_exeext
25577
 
if { (ac_try="$ac_link"
25578
 
case "(($ac_try" in
25579
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25580
 
  *) ac_try_echo=$ac_try;;
25581
 
esac
25582
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25583
 
  (eval "$ac_link") 2>conftest.er1
 
25191
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
25192
  (eval $ac_link) 2>conftest.er1
25584
25193
  ac_status=$?
25585
25194
  grep -v '^ *+' conftest.er1 >conftest.err
25586
25195
  rm -f conftest.er1
25587
25196
  cat conftest.err >&5
25588
25197
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25589
 
  (exit $ac_status); } && {
25590
 
         test -z "$ac_c_werror_flag" ||
25591
 
         test ! -s conftest.err
25592
 
       } && test -s conftest$ac_exeext &&
25593
 
       $as_test_x conftest$ac_exeext; then
 
25198
  (exit $ac_status); } &&
 
25199
         { ac_try='test -z "$ac_c_werror_flag"
 
25200
                         || test ! -s conftest.err'
 
25201
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25202
  (eval $ac_try) 2>&5
 
25203
  ac_status=$?
 
25204
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25205
  (exit $ac_status); }; } &&
 
25206
         { ac_try='test -s conftest$ac_exeext'
 
25207
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25208
  (eval $ac_try) 2>&5
 
25209
  ac_status=$?
 
25210
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25211
  (exit $ac_status); }; }; then
25594
25212
  ac_cv_lib_z_gzread=yes
25595
25213
else
25596
25214
  echo "$as_me: failed program was:" >&5
25597
25215
sed 's/^/| /' conftest.$ac_ext >&5
25598
25216
 
25599
 
        ac_cv_lib_z_gzread=no
 
25217
ac_cv_lib_z_gzread=no
25600
25218
fi
25601
 
 
25602
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
25219
rm -f conftest.err conftest.$ac_objext \
25603
25220
      conftest$ac_exeext conftest.$ac_ext
25604
25221
LIBS=$ac_check_lib_save_LIBS
25605
25222
fi
25606
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzread" >&5
25607
 
echo "${ECHO_T}$ac_cv_lib_z_gzread" >&6; }
 
25223
echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzread" >&5
 
25224
echo "${ECHO_T}$ac_cv_lib_z_gzread" >&6
25608
25225
if test $ac_cv_lib_z_gzread = yes; then
25609
25226
 
25610
25227
 
25631
25248
 
25632
25249
fi
25633
25250
 
 
25251
if test "x${target}" == "xi586-mingw32msvc"; then
 
25252
     Z_LIBS="-L${Z_DIR}/lib -R${Z_DIR}/lib -lzdll"
 
25253
fi
 
25254
 
 
25255
echo "Z_LIBS = $Z_LIBS"
 
25256
 
 
25257
 
25634
25258
 
25635
25259
 
25636
25260
 
25641
25265
 
25642
25266
PCRE_REQUIRED_VERSION=3.4
25643
25267
 
25644
 
# Check whether --with-pcre was given.
 
25268
# Check whether --with-pcre or --without-pcre was given.
25645
25269
if test "${with_pcre+set}" = set; then
25646
 
  withval=$with_pcre;
 
25270
  withval="$with_pcre"
 
25271
 
25647
25272
else
25648
25273
  withval=no
25649
 
fi
25650
 
 
 
25274
fi;
25651
25275
 
25652
25276
if test "$withval" != "no"; then
25653
25277
        PCRE_CONFIG="no"
25655
25279
        PCRE_CONFIG_PATH="$withval/bin"
25656
25280
        # Extract the first word of "pcre-config", so it can be a program name with args.
25657
25281
set dummy pcre-config; ac_word=$2
25658
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25659
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
25282
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
25283
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25660
25284
if test "${ac_cv_path_PCRE_CONFIG+set}" = set; then
25661
25285
  echo $ECHO_N "(cached) $ECHO_C" >&6
25662
25286
else
25671
25295
  IFS=$as_save_IFS
25672
25296
  test -z "$as_dir" && as_dir=.
25673
25297
  for ac_exec_ext in '' $ac_executable_extensions; do
25674
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
25298
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25675
25299
    ac_cv_path_PCRE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25676
25300
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25677
25301
    break 2
25678
25302
  fi
25679
25303
done
25680
25304
done
25681
 
IFS=$as_save_IFS
25682
25305
 
25683
25306
  test -z "$ac_cv_path_PCRE_CONFIG" && ac_cv_path_PCRE_CONFIG=""no""
25684
25307
  ;;
25685
25308
esac
25686
25309
fi
25687
25310
PCRE_CONFIG=$ac_cv_path_PCRE_CONFIG
 
25311
 
25688
25312
if test -n "$PCRE_CONFIG"; then
25689
 
  { echo "$as_me:$LINENO: result: $PCRE_CONFIG" >&5
25690
 
echo "${ECHO_T}$PCRE_CONFIG" >&6; }
 
25313
  echo "$as_me:$LINENO: result: $PCRE_CONFIG" >&5
 
25314
echo "${ECHO_T}$PCRE_CONFIG" >&6
25691
25315
else
25692
 
  { echo "$as_me:$LINENO: result: no" >&5
25693
 
echo "${ECHO_T}no" >&6; }
 
25316
  echo "$as_me:$LINENO: result: no" >&5
 
25317
echo "${ECHO_T}no" >&6
25694
25318
fi
25695
25319
 
25696
 
 
25697
25320
    else
25698
25321
        PCRE_CONFIG_PATH=$PATH
25699
25322
        # Extract the first word of "pcre-config", so it can be a program name with args.
25700
25323
set dummy pcre-config; ac_word=$2
25701
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25702
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
25324
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
25325
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25703
25326
if test "${ac_cv_path_PCRE_CONFIG+set}" = set; then
25704
25327
  echo $ECHO_N "(cached) $ECHO_C" >&6
25705
25328
else
25714
25337
  IFS=$as_save_IFS
25715
25338
  test -z "$as_dir" && as_dir=.
25716
25339
  for ac_exec_ext in '' $ac_executable_extensions; do
25717
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
25340
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25718
25341
    ac_cv_path_PCRE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25719
25342
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25720
25343
    break 2
25721
25344
  fi
25722
25345
done
25723
25346
done
25724
 
IFS=$as_save_IFS
25725
25347
 
25726
25348
  test -z "$ac_cv_path_PCRE_CONFIG" && ac_cv_path_PCRE_CONFIG=""no""
25727
25349
  ;;
25728
25350
esac
25729
25351
fi
25730
25352
PCRE_CONFIG=$ac_cv_path_PCRE_CONFIG
 
25353
 
25731
25354
if test -n "$PCRE_CONFIG"; then
25732
 
  { echo "$as_me:$LINENO: result: $PCRE_CONFIG" >&5
25733
 
echo "${ECHO_T}$PCRE_CONFIG" >&6; }
 
25355
  echo "$as_me:$LINENO: result: $PCRE_CONFIG" >&5
 
25356
echo "${ECHO_T}$PCRE_CONFIG" >&6
25734
25357
else
25735
 
  { echo "$as_me:$LINENO: result: no" >&5
25736
 
echo "${ECHO_T}no" >&6; }
 
25358
  echo "$as_me:$LINENO: result: no" >&5
 
25359
echo "${ECHO_T}no" >&6
25737
25360
fi
25738
25361
 
25739
 
 
25740
25362
    fi
25741
25363
 
25742
25364
        if test "$PCRE_CONFIG" = "no"; then
25752
25374
 
25753
25375
if test "$withval" != "no"; then
25754
25376
 
25755
 
    { echo "$as_me:$LINENO: checking for libpcre libraries >= $PCRE_REQUIRED_VERSION" >&5
25756
 
echo $ECHO_N "checking for libpcre libraries >= $PCRE_REQUIRED_VERSION... $ECHO_C" >&6; }
25757
 
 
25758
 
 
25759
 
 
25760
 
 
25761
 
    vers=`$PCRE_CONFIG --version | sed -e 's/libxml //' | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
 
25377
    echo "$as_me:$LINENO: checking for libpcre libraries >= $PCRE_REQUIRED_VERSION" >&5
 
25378
echo $ECHO_N "checking for libpcre libraries >= $PCRE_REQUIRED_VERSION... $ECHO_C" >&6
 
25379
 
 
25380
 
 
25381
 
 
25382
 
 
25383
    vers=`$PCRE_CONFIG --version | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
25762
25384
    PCRE_VERSION=`$PCRE_CONFIG --version`
25763
25385
 
25764
 
    if test "$vers" -ge `echo $PCRE_REQUIRED_VERSION | sed -e 's/libxml //' | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`;then
 
25386
    if test "$vers" -ge `echo $PCRE_REQUIRED_VERSION | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`;then
25765
25387
        PCRE_LIBS="`$PCRE_CONFIG --libs-posix`"
25766
25388
        PCRE_CFLAGS="`$PCRE_CONFIG --cflags-posix`"
25767
 
        { echo "$as_me:$LINENO: result: found version $PCRE_VERSION" >&5
25768
 
echo "${ECHO_T}found version $PCRE_VERSION" >&6; }
 
25389
        echo "$as_me:$LINENO: result: found version $PCRE_VERSION" >&5
 
25390
echo "${ECHO_T}found version $PCRE_VERSION" >&6
25769
25391
    else
25770
25392
        { { echo "$as_me:$LINENO: error: You need at least libpcre $PCRE_REQUIRED_VERSION for this version of swish" >&5
25771
25393
echo "$as_me: error: You need at least libpcre $PCRE_REQUIRED_VERSION for this version of swish" >&2;}
25780
25402
_ACEOF
25781
25403
 
25782
25404
else
25783
 
    { echo "$as_me:$LINENO: result: Not building with perl compatible regex - use --with-pcre to enable" >&5
25784
 
echo "${ECHO_T}Not building with perl compatible regex - use --with-pcre to enable" >&6; }
25785
 
fi
 
25405
    echo "$as_me:$LINENO: result: Not building with perl compatible regex - use --with-pcre to enable" >&5
 
25406
echo "${ECHO_T}Not building with perl compatible regex - use --with-pcre to enable" >&6
 
25407
fi
 
25408
 
 
25409
# Check whether --enable-largefile or --disable-largefile was given.
 
25410
if test "${enable_largefile+set}" = set; then
 
25411
  enableval="$enable_largefile"
 
25412
 
 
25413
fi;
 
25414
if test "$enable_largefile" != no; then
 
25415
 
 
25416
  echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
 
25417
echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
 
25418
if test "${ac_cv_sys_largefile_CC+set}" = set; then
 
25419
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25420
else
 
25421
  ac_cv_sys_largefile_CC=no
 
25422
     if test "$GCC" != yes; then
 
25423
       ac_save_CC=$CC
 
25424
       while :; do
 
25425
         # IRIX 6.2 and later do not support large files by default,
 
25426
         # so use the C compiler's -n32 option if that helps.
 
25427
         cat >conftest.$ac_ext <<_ACEOF
 
25428
/* confdefs.h.  */
 
25429
_ACEOF
 
25430
cat confdefs.h >>conftest.$ac_ext
 
25431
cat >>conftest.$ac_ext <<_ACEOF
 
25432
/* end confdefs.h.  */
 
25433
#include <sys/types.h>
 
25434
 /* Check that off_t can represent 2**63 - 1 correctly.
 
25435
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
 
25436
    since some C++ compilers masquerading as C compilers
 
25437
    incorrectly reject 9223372036854775807.  */
 
25438
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
 
25439
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
 
25440
                       && LARGE_OFF_T % 2147483647 == 1)
 
25441
                      ? 1 : -1];
 
25442
int
 
25443
main ()
 
25444
{
 
25445
 
 
25446
  ;
 
25447
  return 0;
 
25448
}
 
25449
_ACEOF
 
25450
         rm -f conftest.$ac_objext
 
25451
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
25452
  (eval $ac_compile) 2>conftest.er1
 
25453
  ac_status=$?
 
25454
  grep -v '^ *+' conftest.er1 >conftest.err
 
25455
  rm -f conftest.er1
 
25456
  cat conftest.err >&5
 
25457
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25458
  (exit $ac_status); } &&
 
25459
         { ac_try='test -z "$ac_c_werror_flag"
 
25460
                         || test ! -s conftest.err'
 
25461
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25462
  (eval $ac_try) 2>&5
 
25463
  ac_status=$?
 
25464
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25465
  (exit $ac_status); }; } &&
 
25466
         { ac_try='test -s conftest.$ac_objext'
 
25467
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25468
  (eval $ac_try) 2>&5
 
25469
  ac_status=$?
 
25470
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25471
  (exit $ac_status); }; }; then
 
25472
  break
 
25473
else
 
25474
  echo "$as_me: failed program was:" >&5
 
25475
sed 's/^/| /' conftest.$ac_ext >&5
 
25476
 
 
25477
fi
 
25478
rm -f conftest.err conftest.$ac_objext
 
25479
         CC="$CC -n32"
 
25480
         rm -f conftest.$ac_objext
 
25481
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
25482
  (eval $ac_compile) 2>conftest.er1
 
25483
  ac_status=$?
 
25484
  grep -v '^ *+' conftest.er1 >conftest.err
 
25485
  rm -f conftest.er1
 
25486
  cat conftest.err >&5
 
25487
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25488
  (exit $ac_status); } &&
 
25489
         { ac_try='test -z "$ac_c_werror_flag"
 
25490
                         || test ! -s conftest.err'
 
25491
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25492
  (eval $ac_try) 2>&5
 
25493
  ac_status=$?
 
25494
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25495
  (exit $ac_status); }; } &&
 
25496
         { ac_try='test -s conftest.$ac_objext'
 
25497
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25498
  (eval $ac_try) 2>&5
 
25499
  ac_status=$?
 
25500
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25501
  (exit $ac_status); }; }; then
 
25502
  ac_cv_sys_largefile_CC=' -n32'; break
 
25503
else
 
25504
  echo "$as_me: failed program was:" >&5
 
25505
sed 's/^/| /' conftest.$ac_ext >&5
 
25506
 
 
25507
fi
 
25508
rm -f conftest.err conftest.$ac_objext
 
25509
         break
 
25510
       done
 
25511
       CC=$ac_save_CC
 
25512
       rm -f conftest.$ac_ext
 
25513
    fi
 
25514
fi
 
25515
echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
 
25516
echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
 
25517
  if test "$ac_cv_sys_largefile_CC" != no; then
 
25518
    CC=$CC$ac_cv_sys_largefile_CC
 
25519
  fi
 
25520
 
 
25521
  echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
 
25522
echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
 
25523
if test "${ac_cv_sys_file_offset_bits+set}" = set; then
 
25524
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25525
else
 
25526
  while :; do
 
25527
  ac_cv_sys_file_offset_bits=no
 
25528
  cat >conftest.$ac_ext <<_ACEOF
 
25529
/* confdefs.h.  */
 
25530
_ACEOF
 
25531
cat confdefs.h >>conftest.$ac_ext
 
25532
cat >>conftest.$ac_ext <<_ACEOF
 
25533
/* end confdefs.h.  */
 
25534
#include <sys/types.h>
 
25535
 /* Check that off_t can represent 2**63 - 1 correctly.
 
25536
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
 
25537
    since some C++ compilers masquerading as C compilers
 
25538
    incorrectly reject 9223372036854775807.  */
 
25539
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
 
25540
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
 
25541
                       && LARGE_OFF_T % 2147483647 == 1)
 
25542
                      ? 1 : -1];
 
25543
int
 
25544
main ()
 
25545
{
 
25546
 
 
25547
  ;
 
25548
  return 0;
 
25549
}
 
25550
_ACEOF
 
25551
rm -f conftest.$ac_objext
 
25552
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
25553
  (eval $ac_compile) 2>conftest.er1
 
25554
  ac_status=$?
 
25555
  grep -v '^ *+' conftest.er1 >conftest.err
 
25556
  rm -f conftest.er1
 
25557
  cat conftest.err >&5
 
25558
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25559
  (exit $ac_status); } &&
 
25560
         { ac_try='test -z "$ac_c_werror_flag"
 
25561
                         || test ! -s conftest.err'
 
25562
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25563
  (eval $ac_try) 2>&5
 
25564
  ac_status=$?
 
25565
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25566
  (exit $ac_status); }; } &&
 
25567
         { ac_try='test -s conftest.$ac_objext'
 
25568
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25569
  (eval $ac_try) 2>&5
 
25570
  ac_status=$?
 
25571
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25572
  (exit $ac_status); }; }; then
 
25573
  break
 
25574
else
 
25575
  echo "$as_me: failed program was:" >&5
 
25576
sed 's/^/| /' conftest.$ac_ext >&5
 
25577
 
 
25578
fi
 
25579
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25580
  cat >conftest.$ac_ext <<_ACEOF
 
25581
/* confdefs.h.  */
 
25582
_ACEOF
 
25583
cat confdefs.h >>conftest.$ac_ext
 
25584
cat >>conftest.$ac_ext <<_ACEOF
 
25585
/* end confdefs.h.  */
 
25586
#define _FILE_OFFSET_BITS 64
 
25587
#include <sys/types.h>
 
25588
 /* Check that off_t can represent 2**63 - 1 correctly.
 
25589
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
 
25590
    since some C++ compilers masquerading as C compilers
 
25591
    incorrectly reject 9223372036854775807.  */
 
25592
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
 
25593
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
 
25594
                       && LARGE_OFF_T % 2147483647 == 1)
 
25595
                      ? 1 : -1];
 
25596
int
 
25597
main ()
 
25598
{
 
25599
 
 
25600
  ;
 
25601
  return 0;
 
25602
}
 
25603
_ACEOF
 
25604
rm -f conftest.$ac_objext
 
25605
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
25606
  (eval $ac_compile) 2>conftest.er1
 
25607
  ac_status=$?
 
25608
  grep -v '^ *+' conftest.er1 >conftest.err
 
25609
  rm -f conftest.er1
 
25610
  cat conftest.err >&5
 
25611
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25612
  (exit $ac_status); } &&
 
25613
         { ac_try='test -z "$ac_c_werror_flag"
 
25614
                         || test ! -s conftest.err'
 
25615
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25616
  (eval $ac_try) 2>&5
 
25617
  ac_status=$?
 
25618
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25619
  (exit $ac_status); }; } &&
 
25620
         { ac_try='test -s conftest.$ac_objext'
 
25621
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25622
  (eval $ac_try) 2>&5
 
25623
  ac_status=$?
 
25624
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25625
  (exit $ac_status); }; }; then
 
25626
  ac_cv_sys_file_offset_bits=64; break
 
25627
else
 
25628
  echo "$as_me: failed program was:" >&5
 
25629
sed 's/^/| /' conftest.$ac_ext >&5
 
25630
 
 
25631
fi
 
25632
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25633
  break
 
25634
done
 
25635
fi
 
25636
echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
 
25637
echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
 
25638
if test "$ac_cv_sys_file_offset_bits" != no; then
 
25639
 
 
25640
cat >>confdefs.h <<_ACEOF
 
25641
#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
 
25642
_ACEOF
 
25643
 
 
25644
fi
 
25645
rm -f conftest*
 
25646
  echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
 
25647
echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
 
25648
if test "${ac_cv_sys_large_files+set}" = set; then
 
25649
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25650
else
 
25651
  while :; do
 
25652
  ac_cv_sys_large_files=no
 
25653
  cat >conftest.$ac_ext <<_ACEOF
 
25654
/* confdefs.h.  */
 
25655
_ACEOF
 
25656
cat confdefs.h >>conftest.$ac_ext
 
25657
cat >>conftest.$ac_ext <<_ACEOF
 
25658
/* end confdefs.h.  */
 
25659
#include <sys/types.h>
 
25660
 /* Check that off_t can represent 2**63 - 1 correctly.
 
25661
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
 
25662
    since some C++ compilers masquerading as C compilers
 
25663
    incorrectly reject 9223372036854775807.  */
 
25664
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
 
25665
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
 
25666
                       && LARGE_OFF_T % 2147483647 == 1)
 
25667
                      ? 1 : -1];
 
25668
int
 
25669
main ()
 
25670
{
 
25671
 
 
25672
  ;
 
25673
  return 0;
 
25674
}
 
25675
_ACEOF
 
25676
rm -f conftest.$ac_objext
 
25677
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
25678
  (eval $ac_compile) 2>conftest.er1
 
25679
  ac_status=$?
 
25680
  grep -v '^ *+' conftest.er1 >conftest.err
 
25681
  rm -f conftest.er1
 
25682
  cat conftest.err >&5
 
25683
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25684
  (exit $ac_status); } &&
 
25685
         { ac_try='test -z "$ac_c_werror_flag"
 
25686
                         || test ! -s conftest.err'
 
25687
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25688
  (eval $ac_try) 2>&5
 
25689
  ac_status=$?
 
25690
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25691
  (exit $ac_status); }; } &&
 
25692
         { ac_try='test -s conftest.$ac_objext'
 
25693
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25694
  (eval $ac_try) 2>&5
 
25695
  ac_status=$?
 
25696
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25697
  (exit $ac_status); }; }; then
 
25698
  break
 
25699
else
 
25700
  echo "$as_me: failed program was:" >&5
 
25701
sed 's/^/| /' conftest.$ac_ext >&5
 
25702
 
 
25703
fi
 
25704
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25705
  cat >conftest.$ac_ext <<_ACEOF
 
25706
/* confdefs.h.  */
 
25707
_ACEOF
 
25708
cat confdefs.h >>conftest.$ac_ext
 
25709
cat >>conftest.$ac_ext <<_ACEOF
 
25710
/* end confdefs.h.  */
 
25711
#define _LARGE_FILES 1
 
25712
#include <sys/types.h>
 
25713
 /* Check that off_t can represent 2**63 - 1 correctly.
 
25714
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
 
25715
    since some C++ compilers masquerading as C compilers
 
25716
    incorrectly reject 9223372036854775807.  */
 
25717
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
 
25718
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
 
25719
                       && LARGE_OFF_T % 2147483647 == 1)
 
25720
                      ? 1 : -1];
 
25721
int
 
25722
main ()
 
25723
{
 
25724
 
 
25725
  ;
 
25726
  return 0;
 
25727
}
 
25728
_ACEOF
 
25729
rm -f conftest.$ac_objext
 
25730
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
25731
  (eval $ac_compile) 2>conftest.er1
 
25732
  ac_status=$?
 
25733
  grep -v '^ *+' conftest.er1 >conftest.err
 
25734
  rm -f conftest.er1
 
25735
  cat conftest.err >&5
 
25736
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25737
  (exit $ac_status); } &&
 
25738
         { ac_try='test -z "$ac_c_werror_flag"
 
25739
                         || test ! -s conftest.err'
 
25740
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25741
  (eval $ac_try) 2>&5
 
25742
  ac_status=$?
 
25743
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25744
  (exit $ac_status); }; } &&
 
25745
         { ac_try='test -s conftest.$ac_objext'
 
25746
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25747
  (eval $ac_try) 2>&5
 
25748
  ac_status=$?
 
25749
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25750
  (exit $ac_status); }; }; then
 
25751
  ac_cv_sys_large_files=1; break
 
25752
else
 
25753
  echo "$as_me: failed program was:" >&5
 
25754
sed 's/^/| /' conftest.$ac_ext >&5
 
25755
 
 
25756
fi
 
25757
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25758
  break
 
25759
done
 
25760
fi
 
25761
echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
 
25762
echo "${ECHO_T}$ac_cv_sys_large_files" >&6
 
25763
if test "$ac_cv_sys_large_files" != no; then
 
25764
 
 
25765
cat >>confdefs.h <<_ACEOF
 
25766
#define _LARGE_FILES $ac_cv_sys_large_files
 
25767
_ACEOF
 
25768
 
 
25769
fi
 
25770
rm -f conftest*
 
25771
fi
 
25772
 
 
25773
{ echo "$as_me:$LINENO: fileoffset bits = ${ac_cv_sys_file_offset_bits}" >&5
 
25774
echo "$as_me: fileoffset bits = ${ac_cv_sys_file_offset_bits}" >&6;}
 
25775
if test "x${ac_cv_sys_file_offset_bits}" == "x64" ;
 
25776
then
 
25777
        LARGEFILES_MACROS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits"
 
25778
fi
 
25779
 
25786
25780
 
25787
25781
CPPFLAGS=${_cppflags}
25788
25782
LDFLAGS=${_ldflags}
25795
25789
fi
25796
25790
 
25797
25791
 
25798
 
 { echo "$as_me:$LINENO: checking config option memdebug for setting MEM_DEBUG" >&5
25799
 
echo $ECHO_N "checking config option memdebug for setting MEM_DEBUG... $ECHO_C" >&6; }
25800
 
        # Check whether --enable-memdebug was given.
 
25792
 echo "$as_me:$LINENO: checking config option memdebug for setting MEM_DEBUG" >&5
 
25793
echo $ECHO_N "checking config option memdebug for setting MEM_DEBUG... $ECHO_C" >&6
 
25794
        # Check whether --enable-memdebug or --disable-memdebug was given.
25801
25795
if test "${enable_memdebug+set}" = set; then
25802
 
  enableval=$enable_memdebug;
 
25796
  enableval="$enable_memdebug"
 
25797
 
25803
25798
else
25804
25799
  enableval=no
25805
 
fi
25806
 
 
25807
 
        { echo "$as_me:$LINENO: result: $enableval" >&5
25808
 
echo "${ECHO_T}$enableval" >&6; }
 
25800
fi;
 
25801
        echo "$as_me:$LINENO: result: $enableval" >&5
 
25802
echo "${ECHO_T}$enableval" >&6
25809
25803
        if test x"$enableval" != xno ; then
25810
25804
 
25811
25805
cat >>confdefs.h <<\_ACEOF
25813
25807
_ACEOF
25814
25808
 
25815
25809
        fi
25816
 
 { echo "$as_me:$LINENO: checking config option memtrace for setting MEM_TRACE" >&5
25817
 
echo $ECHO_N "checking config option memtrace for setting MEM_TRACE... $ECHO_C" >&6; }
25818
 
        # Check whether --enable-memtrace was given.
 
25810
 echo "$as_me:$LINENO: checking config option memtrace for setting MEM_TRACE" >&5
 
25811
echo $ECHO_N "checking config option memtrace for setting MEM_TRACE... $ECHO_C" >&6
 
25812
        # Check whether --enable-memtrace or --disable-memtrace was given.
25819
25813
if test "${enable_memtrace+set}" = set; then
25820
 
  enableval=$enable_memtrace;
 
25814
  enableval="$enable_memtrace"
 
25815
 
25821
25816
else
25822
25817
  enableval=no
25823
 
fi
25824
 
 
25825
 
        { echo "$as_me:$LINENO: result: $enableval" >&5
25826
 
echo "${ECHO_T}$enableval" >&6; }
 
25818
fi;
 
25819
        echo "$as_me:$LINENO: result: $enableval" >&5
 
25820
echo "${ECHO_T}$enableval" >&6
25827
25821
        if test x"$enableval" != xno ; then
25828
25822
 
25829
25823
cat >>confdefs.h <<\_ACEOF
25831
25825
_ACEOF
25832
25826
 
25833
25827
        fi
25834
 
 { echo "$as_me:$LINENO: checking config option memstats for setting MEM_STATISTICS" >&5
25835
 
echo $ECHO_N "checking config option memstats for setting MEM_STATISTICS... $ECHO_C" >&6; }
25836
 
        # Check whether --enable-memstats was given.
 
25828
 echo "$as_me:$LINENO: checking config option memstats for setting MEM_STATISTICS" >&5
 
25829
echo $ECHO_N "checking config option memstats for setting MEM_STATISTICS... $ECHO_C" >&6
 
25830
        # Check whether --enable-memstats or --disable-memstats was given.
25837
25831
if test "${enable_memstats+set}" = set; then
25838
 
  enableval=$enable_memstats;
 
25832
  enableval="$enable_memstats"
 
25833
 
25839
25834
else
25840
25835
  enableval=no
25841
 
fi
25842
 
 
25843
 
        { echo "$as_me:$LINENO: result: $enableval" >&5
25844
 
echo "${ECHO_T}$enableval" >&6; }
 
25836
fi;
 
25837
        echo "$as_me:$LINENO: result: $enableval" >&5
 
25838
echo "${ECHO_T}$enableval" >&6
25845
25839
        if test x"$enableval" != xno ; then
25846
25840
 
25847
25841
cat >>confdefs.h <<\_ACEOF
25853
25847
 
25854
25848
 
25855
25849
 
25856
 
ac_config_files="$ac_config_files Makefile html/Makefile pod/Makefile man/Makefile src/Makefile src/expat/Makefile src/replace/Makefile src/snowball/Makefile rpm/swish-e.spec tests/Makefile example/Makefile prog-bin/Makefile filters/Makefile filters/SWISH/Makefile conf/Makefile filter-bin/Makefile swish-e.pc swish-config"
 
25850
                                                                                                                                                                                    ac_config_files="$ac_config_files Makefile html/Makefile pod/Makefile man/Makefile src/Makefile src/expat/Makefile src/replace/Makefile src/snowball/Makefile rpm/swish-e.spec tests/Makefile example/Makefile prog-bin/Makefile filters/Makefile filters/SWISH/Makefile conf/Makefile filter-bin/Makefile swish-e.pc swish-config"
25857
25851
 
25858
25852
cat >confcache <<\_ACEOF
25859
25853
# This file is a shell script that caches the results of configure
25873
25867
 
25874
25868
# The following way of writing the cache mishandles newlines in values,
25875
25869
# but we know of no workaround that is simple, portable, and efficient.
25876
 
# So, we kill variables containing newlines.
 
25870
# So, don't put newlines in cache variables' values.
25877
25871
# Ultrix sh set writes to stderr and can't be redirected directly,
25878
25872
# and sets the high bit in the cache file unless we assign to the vars.
25879
 
(
25880
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25881
 
    eval ac_val=\$$ac_var
25882
 
    case $ac_val in #(
25883
 
    *${as_nl}*)
25884
 
      case $ac_var in #(
25885
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25886
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25887
 
      esac
25888
 
      case $ac_var in #(
25889
 
      _ | IFS | as_nl) ;; #(
25890
 
      *) $as_unset $ac_var ;;
25891
 
      esac ;;
25892
 
    esac
25893
 
  done
25894
 
 
 
25873
{
25895
25874
  (set) 2>&1 |
25896
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
25897
 
    *${as_nl}ac_space=\ *)
 
25875
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
 
25876
    *ac_space=\ *)
25898
25877
      # `set' does not quote correctly, so add quotes (double-quote
25899
25878
      # substitution turns \\\\ into \\, and sed turns \\ into \).
25900
25879
      sed -n \
25901
25880
        "s/'/'\\\\''/g;
25902
25881
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25903
 
      ;; #(
 
25882
      ;;
25904
25883
    *)
25905
25884
      # `set' quotes correctly as required by POSIX, so do not add quotes.
25906
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
25885
      sed -n \
 
25886
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
25907
25887
      ;;
25908
 
    esac |
25909
 
    sort
25910
 
) |
 
25888
    esac;
 
25889
} |
25911
25890
  sed '
25912
 
     /^ac_cv_env_/b end
25913
25891
     t clear
25914
 
     :clear
 
25892
     : clear
25915
25893
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25916
25894
     t end
25917
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25918
 
     :end' >>confcache
25919
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25920
 
  if test -w "$cache_file"; then
25921
 
    test "x$cache_file" != "x/dev/null" &&
25922
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25923
 
echo "$as_me: updating cache $cache_file" >&6;}
 
25895
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
25896
     : end' >>confcache
 
25897
if diff $cache_file confcache >/dev/null 2>&1; then :; else
 
25898
  if test -w $cache_file; then
 
25899
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
25924
25900
    cat confcache >$cache_file
25925
25901
  else
25926
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25927
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
25902
    echo "not updating unwritable cache $cache_file"
25928
25903
  fi
25929
25904
fi
25930
25905
rm -f confcache
25933
25908
# Let make expand exec_prefix.
25934
25909
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25935
25910
 
 
25911
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
25912
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
25913
# trailing colons and then remove the whole line if VPATH becomes empty
 
25914
# (actually we leave an empty line to preserve line numbers).
 
25915
if test "x$srcdir" = x.; then
 
25916
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
25917
s/:*\$(srcdir):*/:/;
 
25918
s/:*\${srcdir}:*/:/;
 
25919
s/:*@srcdir@:*/:/;
 
25920
s/^\([^=]*=[     ]*\):*/\1/;
 
25921
s/:*$//;
 
25922
s/^[^=]*=[       ]*$//;
 
25923
}'
 
25924
fi
 
25925
 
25936
25926
DEFS=-DHAVE_CONFIG_H
25937
25927
 
25938
25928
ac_libobjs=
25939
25929
ac_ltlibobjs=
25940
25930
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25941
25931
  # 1. Remove the extension, and $U if already installed.
25942
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25943
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
25944
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
25945
 
  #    will be set to the directory where LIBOBJS objects are built.
25946
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25947
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
25932
  ac_i=`echo "$ac_i" |
 
25933
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 
25934
  # 2. Add them.
 
25935
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
 
25936
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
25948
25937
done
25949
25938
LIBOBJS=$ac_libobjs
25950
25939
 
26052
26041
## M4sh Initialization.  ##
26053
26042
## --------------------- ##
26054
26043
 
26055
 
# Be more Bourne compatible
26056
 
DUALCASE=1; export DUALCASE # for MKS sh
 
26044
# Be Bourne compatible
26057
26045
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
26058
26046
  emulate sh
26059
26047
  NULLCMD=:
26060
26048
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
26061
26049
  # is contrary to our usage.  Disable this feature.
26062
26050
  alias -g '${1+"$@"}'='"$@"'
26063
 
  setopt NO_GLOB_SUBST
26064
 
else
26065
 
  case `(set -o) 2>/dev/null` in
26066
 
  *posix*) set -o posix ;;
26067
 
esac
26068
 
 
26069
 
fi
26070
 
 
26071
 
 
26072
 
 
26073
 
 
26074
 
# PATH needs CR
26075
 
# Avoid depending upon Character Ranges.
26076
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26077
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26078
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26079
 
as_cr_digits='0123456789'
26080
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
26081
 
 
26082
 
# The user is always right.
26083
 
if test "${PATH_SEPARATOR+set}" != set; then
26084
 
  echo "#! /bin/sh" >conf$$.sh
26085
 
  echo  "exit 0"   >>conf$$.sh
26086
 
  chmod +x conf$$.sh
26087
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26088
 
    PATH_SEPARATOR=';'
26089
 
  else
26090
 
    PATH_SEPARATOR=:
26091
 
  fi
26092
 
  rm -f conf$$.sh
26093
 
fi
 
26051
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
 
26052
  set -o posix
 
26053
fi
 
26054
DUALCASE=1; export DUALCASE # for MKS sh
26094
26055
 
26095
26056
# Support unset when possible.
26096
26057
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26100
26061
fi
26101
26062
 
26102
26063
 
26103
 
# IFS
26104
 
# We need space, tab and new line, in precisely that order.  Quoting is
26105
 
# there to prevent editors from complaining about space-tab.
26106
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
26107
 
# splitting by setting IFS to empty value.)
26108
 
as_nl='
26109
 
'
26110
 
IFS=" ""        $as_nl"
26111
 
 
26112
 
# Find who we are.  Look in the path if we contain no directory separator.
26113
 
case $0 in
26114
 
  *[\\/]* ) as_myself=$0 ;;
26115
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26116
 
for as_dir in $PATH
26117
 
do
26118
 
  IFS=$as_save_IFS
26119
 
  test -z "$as_dir" && as_dir=.
26120
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26121
 
done
26122
 
IFS=$as_save_IFS
26123
 
 
26124
 
     ;;
26125
 
esac
26126
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
26127
 
# in which case we are not to be found in the path.
26128
 
if test "x$as_myself" = x; then
26129
 
  as_myself=$0
26130
 
fi
26131
 
if test ! -f "$as_myself"; then
26132
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26133
 
  { (exit 1); exit 1; }
26134
 
fi
26135
 
 
26136
26064
# Work around bugs in pre-3.0 UWIN ksh.
26137
 
for as_var in ENV MAIL MAILPATH
26138
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
26139
 
done
 
26065
$as_unset ENV MAIL MAILPATH
26140
26066
PS1='$ '
26141
26067
PS2='> '
26142
26068
PS4='+ '
26150
26076
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
26151
26077
    eval $as_var=C; export $as_var
26152
26078
  else
26153
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
26079
    $as_unset $as_var
26154
26080
  fi
26155
26081
done
26156
26082
 
26157
26083
# Required to use basename.
26158
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
26159
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
26084
if expr a : '\(a\)' >/dev/null 2>&1; then
26160
26085
  as_expr=expr
26161
26086
else
26162
26087
  as_expr=false
26163
26088
fi
26164
26089
 
26165
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
26090
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
26166
26091
  as_basename=basename
26167
26092
else
26168
26093
  as_basename=false
26170
26095
 
26171
26096
 
26172
26097
# Name of the executable.
26173
 
as_me=`$as_basename -- "$0" ||
 
26098
as_me=`$as_basename "$0" ||
26174
26099
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26175
26100
         X"$0" : 'X\(//\)$' \| \
26176
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
26101
         X"$0" : 'X\(/\)$' \| \
 
26102
         .     : '\(.\)' 2>/dev/null ||
26177
26103
echo X/"$0" |
26178
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
26179
 
            s//\1/
26180
 
            q
26181
 
          }
26182
 
          /^X\/\(\/\/\)$/{
26183
 
            s//\1/
26184
 
            q
26185
 
          }
26186
 
          /^X\/\(\/\).*/{
26187
 
            s//\1/
26188
 
            q
26189
 
          }
26190
 
          s/.*/./; q'`
26191
 
 
26192
 
# CDPATH.
26193
 
$as_unset CDPATH
26194
 
 
26195
 
 
26196
 
 
26197
 
  as_lineno_1=$LINENO
26198
 
  as_lineno_2=$LINENO
26199
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
26200
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 
26104
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 
26105
          /^X\/\(\/\/\)$/{ s//\1/; q; }
 
26106
          /^X\/\(\/\).*/{ s//\1/; q; }
 
26107
          s/.*/./; q'`
 
26108
 
 
26109
 
 
26110
# PATH needs CR, and LINENO needs CR and PATH.
 
26111
# Avoid depending upon Character Ranges.
 
26112
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
26113
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
26114
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
26115
as_cr_digits='0123456789'
 
26116
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
26117
 
 
26118
# The user is always right.
 
26119
if test "${PATH_SEPARATOR+set}" != set; then
 
26120
  echo "#! /bin/sh" >conf$$.sh
 
26121
  echo  "exit 0"   >>conf$$.sh
 
26122
  chmod +x conf$$.sh
 
26123
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
26124
    PATH_SEPARATOR=';'
 
26125
  else
 
26126
    PATH_SEPARATOR=:
 
26127
  fi
 
26128
  rm -f conf$$.sh
 
26129
fi
 
26130
 
 
26131
 
 
26132
  as_lineno_1=$LINENO
 
26133
  as_lineno_2=$LINENO
 
26134
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
26135
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
26136
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
 
26137
  # Find who we are.  Look in the path if we contain no path at all
 
26138
  # relative or not.
 
26139
  case $0 in
 
26140
    *[\\/]* ) as_myself=$0 ;;
 
26141
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
26142
for as_dir in $PATH
 
26143
do
 
26144
  IFS=$as_save_IFS
 
26145
  test -z "$as_dir" && as_dir=.
 
26146
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
26147
done
 
26148
 
 
26149
       ;;
 
26150
  esac
 
26151
  # We did not find ourselves, most probably we were run as `sh COMMAND'
 
26152
  # in which case we are not to be found in the path.
 
26153
  if test "x$as_myself" = x; then
 
26154
    as_myself=$0
 
26155
  fi
 
26156
  if test ! -f "$as_myself"; then
 
26157
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
 
26158
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
 
26159
   { (exit 1); exit 1; }; }
 
26160
  fi
 
26161
  case $CONFIG_SHELL in
 
26162
  '')
 
26163
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
26164
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
26165
do
 
26166
  IFS=$as_save_IFS
 
26167
  test -z "$as_dir" && as_dir=.
 
26168
  for as_base in sh bash ksh sh5; do
 
26169
         case $as_dir in
 
26170
         /*)
 
26171
           if ("$as_dir/$as_base" -c '
 
26172
  as_lineno_1=$LINENO
 
26173
  as_lineno_2=$LINENO
 
26174
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
26175
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
26176
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 
26177
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 
26178
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
 
26179
             CONFIG_SHELL=$as_dir/$as_base
 
26180
             export CONFIG_SHELL
 
26181
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 
26182
           fi;;
 
26183
         esac
 
26184
       done
 
26185
done
 
26186
;;
 
26187
  esac
26201
26188
 
26202
26189
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
26203
26190
  # uniformly replaced by the line number.  The first 'sed' inserts a
26204
 
  # line-number line after each line using $LINENO; the second 'sed'
26205
 
  # does the real work.  The second script uses 'N' to pair each
26206
 
  # line-number line with the line containing $LINENO, and appends
26207
 
  # trailing '-' during substitution so that $LINENO is not a special
26208
 
  # case at line end.
 
26191
  # line-number line before each line; the second 'sed' does the real
 
26192
  # work.  The second script uses 'N' to pair each line-number line
 
26193
  # with the numbered line, and appends trailing '-' during
 
26194
  # substitution so that $LINENO is not a special case at line end.
26209
26195
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
26210
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
26211
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
26212
 
  sed -n '
26213
 
    p
26214
 
    /[$]LINENO/=
26215
 
  ' <$as_myself |
 
26196
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
 
26197
  sed '=' <$as_myself |
26216
26198
    sed '
26217
 
      s/[$]LINENO.*/&-/
26218
 
      t lineno
26219
 
      b
26220
 
      :lineno
26221
26199
      N
26222
 
      :loop
26223
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
26200
      s,$,-,
 
26201
      : loop
 
26202
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
26224
26203
      t loop
26225
 
      s/-\n.*//
 
26204
      s,-$,,
 
26205
      s,^['$as_cr_digits']*\n,,
26226
26206
    ' >$as_me.lineno &&
26227
 
  chmod +x "$as_me.lineno" ||
26228
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
26207
  chmod +x $as_me.lineno ||
 
26208
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
 
26209
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
26229
26210
   { (exit 1); exit 1; }; }
26230
26211
 
26231
26212
  # Don't try to exec as it changes $[0], causing all sort of problems
26232
26213
  # (the dirname of $[0] is not the place where we might find the
26233
 
  # original and so on.  Autoconf is especially sensitive to this).
26234
 
  . "./$as_me.lineno"
 
26214
  # original and so on.  Autoconf is especially sensible to this).
 
26215
  . ./$as_me.lineno
26235
26216
  # Exit status is that of the last command.
26236
26217
  exit
26237
26218
}
26238
26219
 
26239
26220
 
26240
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26241
 
  as_dirname=dirname
26242
 
else
26243
 
  as_dirname=false
26244
 
fi
26245
 
 
26246
 
ECHO_C= ECHO_N= ECHO_T=
26247
 
case `echo -n x` in
26248
 
-n*)
26249
 
  case `echo 'x\c'` in
26250
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
26251
 
  *)   ECHO_C='\c';;
26252
 
  esac;;
26253
 
*)
26254
 
  ECHO_N='-n';;
 
26221
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 
26222
  *c*,-n*) ECHO_N= ECHO_C='
 
26223
' ECHO_T='      ' ;;
 
26224
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 
26225
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
26255
26226
esac
26256
26227
 
26257
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
26258
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
26228
if expr a : '\(a\)' >/dev/null 2>&1; then
26259
26229
  as_expr=expr
26260
26230
else
26261
26231
  as_expr=false
26262
26232
fi
26263
26233
 
26264
26234
rm -f conf$$ conf$$.exe conf$$.file
26265
 
if test -d conf$$.dir; then
26266
 
  rm -f conf$$.dir/conf$$.file
26267
 
else
26268
 
  rm -f conf$$.dir
26269
 
  mkdir conf$$.dir
26270
 
fi
26271
26235
echo >conf$$.file
26272
26236
if ln -s conf$$.file conf$$ 2>/dev/null; then
26273
 
  as_ln_s='ln -s'
26274
 
  # ... but there are two gotchas:
26275
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26276
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26277
 
  # In both cases, we have to default to `cp -p'.
26278
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
26237
  # We could just check for DJGPP; but this test a) works b) is more generic
 
26238
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
 
26239
  if test -f conf$$.exe; then
 
26240
    # Don't use ln at all; we don't have any links
26279
26241
    as_ln_s='cp -p'
 
26242
  else
 
26243
    as_ln_s='ln -s'
 
26244
  fi
26280
26245
elif ln conf$$.file conf$$ 2>/dev/null; then
26281
26246
  as_ln_s=ln
26282
26247
else
26283
26248
  as_ln_s='cp -p'
26284
26249
fi
26285
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26286
 
rmdir conf$$.dir 2>/dev/null
 
26250
rm -f conf$$ conf$$.exe conf$$.file
26287
26251
 
26288
26252
if mkdir -p . 2>/dev/null; then
26289
26253
  as_mkdir_p=:
26292
26256
  as_mkdir_p=false
26293
26257
fi
26294
26258
 
26295
 
if test -x / >/dev/null 2>&1; then
26296
 
  as_test_x='test -x'
26297
 
else
26298
 
  if ls -dL / >/dev/null 2>&1; then
26299
 
    as_ls_L_option=L
26300
 
  else
26301
 
    as_ls_L_option=
26302
 
  fi
26303
 
  as_test_x='
26304
 
    eval sh -c '\''
26305
 
      if test -d "$1"; then
26306
 
        test -d "$1/.";
26307
 
      else
26308
 
        case $1 in
26309
 
        -*)set "./$1";;
26310
 
        esac;
26311
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
26312
 
        ???[sx]*):;;*)false;;esac;fi
26313
 
    '\'' sh
26314
 
  '
26315
 
fi
26316
 
as_executable_p=$as_test_x
 
26259
as_executable_p="test -f"
26317
26260
 
26318
26261
# Sed expression to map a string onto a valid CPP name.
26319
26262
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26322
26265
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26323
26266
 
26324
26267
 
 
26268
# IFS
 
26269
# We need space, tab and new line, in precisely that order.
 
26270
as_nl='
 
26271
'
 
26272
IFS="   $as_nl"
 
26273
 
 
26274
# CDPATH.
 
26275
$as_unset CDPATH
 
26276
 
26325
26277
exec 6>&1
26326
26278
 
26327
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
26279
# Open the log real soon, to keep \$[0] and so on meaningful, and to
26328
26280
# report actual input values of CONFIG_FILES etc. instead of their
26329
 
# values after options handling.
26330
 
ac_log="
 
26281
# values after options handling.  Logging --version etc. is OK.
 
26282
exec 5>>config.log
 
26283
{
 
26284
  echo
 
26285
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
26286
## Running $as_me. ##
 
26287
_ASBOX
 
26288
} >&5
 
26289
cat >&5 <<_CSEOF
 
26290
 
26331
26291
This file was extended by $as_me, which was
26332
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
26292
generated by GNU Autoconf 2.59.  Invocation command line was
26333
26293
 
26334
26294
  CONFIG_FILES    = $CONFIG_FILES
26335
26295
  CONFIG_HEADERS  = $CONFIG_HEADERS
26337
26297
  CONFIG_COMMANDS = $CONFIG_COMMANDS
26338
26298
  $ $0 $@
26339
26299
 
26340
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
26341
 
"
26342
 
 
 
26300
_CSEOF
 
26301
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
 
26302
echo >&5
26343
26303
_ACEOF
26344
26304
 
26345
 
cat >>$CONFIG_STATUS <<_ACEOF
26346
26305
# Files that config.status was made for.
26347
 
config_files="$ac_config_files"
26348
 
config_headers="$ac_config_headers"
26349
 
config_commands="$ac_config_commands"
26350
 
 
26351
 
_ACEOF
 
26306
if test -n "$ac_config_files"; then
 
26307
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
 
26308
fi
 
26309
 
 
26310
if test -n "$ac_config_headers"; then
 
26311
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
 
26312
fi
 
26313
 
 
26314
if test -n "$ac_config_links"; then
 
26315
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
 
26316
fi
 
26317
 
 
26318
if test -n "$ac_config_commands"; then
 
26319
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
 
26320
fi
26352
26321
 
26353
26322
cat >>$CONFIG_STATUS <<\_ACEOF
 
26323
 
26354
26324
ac_cs_usage="\
26355
26325
\`$as_me' instantiates files from templates according to the
26356
26326
current configuration.
26358
26328
Usage: $0 [OPTIONS] [FILE]...
26359
26329
 
26360
26330
  -h, --help       print this help, then exit
26361
 
  -V, --version    print version number and configuration settings, then exit
 
26331
  -V, --version    print version number, then exit
26362
26332
  -q, --quiet      do not print progress messages
26363
26333
  -d, --debug      don't remove temporary files
26364
26334
      --recheck    update $as_me by reconfiguring in the same conditions
26377
26347
$config_commands
26378
26348
 
26379
26349
Report bugs to <bug-autoconf@gnu.org>."
 
26350
_ACEOF
26380
26351
 
26381
 
_ACEOF
26382
26352
cat >>$CONFIG_STATUS <<_ACEOF
26383
26353
ac_cs_version="\\
26384
26354
config.status
26385
 
configured by $0, generated by GNU Autoconf 2.61,
26386
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
26355
configured by $0, generated by GNU Autoconf 2.59,
 
26356
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
26387
26357
 
26388
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
26358
Copyright (C) 2003 Free Software Foundation, Inc.
26389
26359
This config.status script is free software; the Free Software Foundation
26390
26360
gives unlimited permission to copy, distribute and modify it."
26391
 
 
26392
 
ac_pwd='$ac_pwd'
26393
 
srcdir='$srcdir'
26394
 
INSTALL='$INSTALL'
 
26361
srcdir=$srcdir
 
26362
INSTALL="$INSTALL"
26395
26363
_ACEOF
26396
26364
 
26397
26365
cat >>$CONFIG_STATUS <<\_ACEOF
26402
26370
do
26403
26371
  case $1 in
26404
26372
  --*=*)
26405
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
26406
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
26373
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
 
26374
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
26407
26375
    ac_shift=:
26408
26376
    ;;
26409
 
  *)
 
26377
  -*)
26410
26378
    ac_option=$1
26411
26379
    ac_optarg=$2
26412
26380
    ac_shift=shift
26413
26381
    ;;
 
26382
  *) # This is not an option, so the user has probably given explicit
 
26383
     # arguments.
 
26384
     ac_option=$1
 
26385
     ac_need_defaults=false;;
26414
26386
  esac
26415
26387
 
26416
26388
  case $ac_option in
26417
26389
  # Handling of the options.
 
26390
_ACEOF
 
26391
cat >>$CONFIG_STATUS <<\_ACEOF
26418
26392
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26419
26393
    ac_cs_recheck=: ;;
26420
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26421
 
    echo "$ac_cs_version"; exit ;;
26422
 
  --debug | --debu | --deb | --de | --d | -d )
 
26394
  --version | --vers* | -V )
 
26395
    echo "$ac_cs_version"; exit 0 ;;
 
26396
  --he | --h)
 
26397
    # Conflict between --help and --header
 
26398
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
 
26399
Try \`$0 --help' for more information." >&5
 
26400
echo "$as_me: error: ambiguous option: $1
 
26401
Try \`$0 --help' for more information." >&2;}
 
26402
   { (exit 1); exit 1; }; };;
 
26403
  --help | --hel | -h )
 
26404
    echo "$ac_cs_usage"; exit 0 ;;
 
26405
  --debug | --d* | -d )
26423
26406
    debug=: ;;
26424
26407
  --file | --fil | --fi | --f )
26425
26408
    $ac_shift
26429
26412
    $ac_shift
26430
26413
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
26431
26414
    ac_need_defaults=false;;
26432
 
  --he | --h)
26433
 
    # Conflict between --help and --header
26434
 
    { echo "$as_me: error: ambiguous option: $1
26435
 
Try \`$0 --help' for more information." >&2
26436
 
   { (exit 1); exit 1; }; };;
26437
 
  --help | --hel | -h )
26438
 
    echo "$ac_cs_usage"; exit ;;
26439
26415
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26440
26416
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
26441
26417
    ac_cs_silent=: ;;
26442
26418
 
26443
26419
  # This is an error.
26444
 
  -*) { echo "$as_me: error: unrecognized option: $1
26445
 
Try \`$0 --help' for more information." >&2
 
26420
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
 
26421
Try \`$0 --help' for more information." >&5
 
26422
echo "$as_me: error: unrecognized option: $1
 
26423
Try \`$0 --help' for more information." >&2;}
26446
26424
   { (exit 1); exit 1; }; } ;;
26447
26425
 
26448
 
  *) ac_config_targets="$ac_config_targets $1"
26449
 
     ac_need_defaults=false ;;
 
26426
  *) ac_config_targets="$ac_config_targets $1" ;;
26450
26427
 
26451
26428
  esac
26452
26429
  shift
26462
26439
_ACEOF
26463
26440
cat >>$CONFIG_STATUS <<_ACEOF
26464
26441
if \$ac_cs_recheck; then
26465
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
26466
 
  CONFIG_SHELL=$SHELL
26467
 
  export CONFIG_SHELL
26468
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
26442
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
26443
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26469
26444
fi
26470
26445
 
26471
26446
_ACEOF
26472
 
cat >>$CONFIG_STATUS <<\_ACEOF
26473
 
exec 5>>config.log
26474
 
{
26475
 
  echo
26476
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26477
 
## Running $as_me. ##
26478
 
_ASBOX
26479
 
  echo "$ac_log"
26480
 
} >&5
26481
26447
 
26482
 
_ACEOF
26483
26448
cat >>$CONFIG_STATUS <<_ACEOF
26484
26449
#
26485
 
# INIT-COMMANDS
 
26450
# INIT-COMMANDS section.
26486
26451
#
 
26452
 
26487
26453
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26488
26454
 
26489
26455
_ACEOF
26490
26456
 
 
26457
 
 
26458
 
26491
26459
cat >>$CONFIG_STATUS <<\_ACEOF
26492
 
 
26493
 
# Handling of arguments.
26494
26460
for ac_config_target in $ac_config_targets
26495
26461
do
26496
 
  case $ac_config_target in
26497
 
    "src/acconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS src/acconfig.h" ;;
26498
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26499
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26500
 
    "html/Makefile") CONFIG_FILES="$CONFIG_FILES html/Makefile" ;;
26501
 
    "pod/Makefile") CONFIG_FILES="$CONFIG_FILES pod/Makefile" ;;
26502
 
    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
26503
 
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
26504
 
    "src/expat/Makefile") CONFIG_FILES="$CONFIG_FILES src/expat/Makefile" ;;
26505
 
    "src/replace/Makefile") CONFIG_FILES="$CONFIG_FILES src/replace/Makefile" ;;
26506
 
    "src/snowball/Makefile") CONFIG_FILES="$CONFIG_FILES src/snowball/Makefile" ;;
26507
 
    "rpm/swish-e.spec") CONFIG_FILES="$CONFIG_FILES rpm/swish-e.spec" ;;
26508
 
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
26509
 
    "example/Makefile") CONFIG_FILES="$CONFIG_FILES example/Makefile" ;;
26510
 
    "prog-bin/Makefile") CONFIG_FILES="$CONFIG_FILES prog-bin/Makefile" ;;
26511
 
    "filters/Makefile") CONFIG_FILES="$CONFIG_FILES filters/Makefile" ;;
26512
 
    "filters/SWISH/Makefile") CONFIG_FILES="$CONFIG_FILES filters/SWISH/Makefile" ;;
26513
 
    "conf/Makefile") CONFIG_FILES="$CONFIG_FILES conf/Makefile" ;;
26514
 
    "filter-bin/Makefile") CONFIG_FILES="$CONFIG_FILES filter-bin/Makefile" ;;
26515
 
    "swish-e.pc") CONFIG_FILES="$CONFIG_FILES swish-e.pc" ;;
26516
 
    "swish-config") CONFIG_FILES="$CONFIG_FILES swish-config" ;;
26517
 
 
 
26462
  case "$ac_config_target" in
 
26463
  # Handling of arguments.
 
26464
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
26465
  "html/Makefile" ) CONFIG_FILES="$CONFIG_FILES html/Makefile" ;;
 
26466
  "pod/Makefile" ) CONFIG_FILES="$CONFIG_FILES pod/Makefile" ;;
 
26467
  "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
 
26468
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
26469
  "src/expat/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/expat/Makefile" ;;
 
26470
  "src/replace/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/replace/Makefile" ;;
 
26471
  "src/snowball/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/snowball/Makefile" ;;
 
26472
  "rpm/swish-e.spec" ) CONFIG_FILES="$CONFIG_FILES rpm/swish-e.spec" ;;
 
26473
  "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
 
26474
  "example/Makefile" ) CONFIG_FILES="$CONFIG_FILES example/Makefile" ;;
 
26475
  "prog-bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES prog-bin/Makefile" ;;
 
26476
  "filters/Makefile" ) CONFIG_FILES="$CONFIG_FILES filters/Makefile" ;;
 
26477
  "filters/SWISH/Makefile" ) CONFIG_FILES="$CONFIG_FILES filters/SWISH/Makefile" ;;
 
26478
  "conf/Makefile" ) CONFIG_FILES="$CONFIG_FILES conf/Makefile" ;;
 
26479
  "filter-bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES filter-bin/Makefile" ;;
 
26480
  "swish-e.pc" ) CONFIG_FILES="$CONFIG_FILES swish-e.pc" ;;
 
26481
  "swish-config" ) CONFIG_FILES="$CONFIG_FILES swish-config" ;;
 
26482
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
26483
  "src/acconfig.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/acconfig.h" ;;
26518
26484
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
26519
26485
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26520
26486
   { (exit 1); exit 1; }; };;
26521
26487
  esac
26522
26488
done
26523
26489
 
26524
 
 
26525
26490
# If the user did not use the arguments to specify the items to instantiate,
26526
26491
# then the envvar interface is used.  Set only those that are not.
26527
26492
# We use the long form for the default assignment because of an extremely
26533
26498
fi
26534
26499
 
26535
26500
# Have a temporary directory for convenience.  Make it in the build tree
26536
 
# simply because there is no reason against having it here, and in addition,
 
26501
# simply because there is no reason to put it here, and in addition,
26537
26502
# creating and moving files from /tmp can sometimes cause problems.
26538
 
# Hook for its removal unless debugging.
26539
 
# Note that there is a small window in which the directory will not be cleaned:
26540
 
# after its creation but before its name has been assigned to `$tmp'.
 
26503
# Create a temporary directory, and hook for its removal unless debugging.
26541
26504
$debug ||
26542
26505
{
26543
 
  tmp=
26544
 
  trap 'exit_status=$?
26545
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26546
 
' 0
 
26506
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
26547
26507
  trap '{ (exit 1); exit 1; }' 1 2 13 15
26548
26508
}
 
26509
 
26549
26510
# Create a (secure) tmp directory for tmp files.
26550
26511
 
26551
26512
{
26552
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
26513
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
26553
26514
  test -n "$tmp" && test -d "$tmp"
26554
26515
}  ||
26555
26516
{
26556
 
  tmp=./conf$$-$RANDOM
26557
 
  (umask 077 && mkdir "$tmp")
 
26517
  tmp=./confstat$$-$RANDOM
 
26518
  (umask 077 && mkdir $tmp)
26558
26519
} ||
26559
26520
{
26560
26521
   echo "$me: cannot create a temporary directory in ." >&2
26561
26522
   { (exit 1); exit 1; }
26562
26523
}
26563
26524
 
 
26525
_ACEOF
 
26526
 
 
26527
cat >>$CONFIG_STATUS <<_ACEOF
 
26528
 
26564
26529
#
26565
 
# Set up the sed scripts for CONFIG_FILES section.
 
26530
# CONFIG_FILES section.
26566
26531
#
26567
26532
 
26568
26533
# No need to generate the scripts if there are no CONFIG_FILES.
26569
26534
# This happens for instance when ./config.status config.h
26570
 
if test -n "$CONFIG_FILES"; then
26571
 
 
26572
 
_ACEOF
26573
 
 
26574
 
 
26575
 
 
26576
 
ac_delim='%!_!# '
26577
 
for ac_last_try in false false false false false :; do
26578
 
  cat >conf$$subs.sed <<_ACEOF
26579
 
SHELL!$SHELL$ac_delim
26580
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
26581
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
26582
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
26583
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
26584
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
26585
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
26586
 
exec_prefix!$exec_prefix$ac_delim
26587
 
prefix!$prefix$ac_delim
26588
 
program_transform_name!$program_transform_name$ac_delim
26589
 
bindir!$bindir$ac_delim
26590
 
sbindir!$sbindir$ac_delim
26591
 
libexecdir!$libexecdir$ac_delim
26592
 
datarootdir!$datarootdir$ac_delim
26593
 
datadir!$datadir$ac_delim
26594
 
sysconfdir!$sysconfdir$ac_delim
26595
 
sharedstatedir!$sharedstatedir$ac_delim
26596
 
localstatedir!$localstatedir$ac_delim
26597
 
includedir!$includedir$ac_delim
26598
 
oldincludedir!$oldincludedir$ac_delim
26599
 
docdir!$docdir$ac_delim
26600
 
infodir!$infodir$ac_delim
26601
 
htmldir!$htmldir$ac_delim
26602
 
dvidir!$dvidir$ac_delim
26603
 
pdfdir!$pdfdir$ac_delim
26604
 
psdir!$psdir$ac_delim
26605
 
libdir!$libdir$ac_delim
26606
 
localedir!$localedir$ac_delim
26607
 
mandir!$mandir$ac_delim
26608
 
DEFS!$DEFS$ac_delim
26609
 
ECHO_C!$ECHO_C$ac_delim
26610
 
ECHO_N!$ECHO_N$ac_delim
26611
 
ECHO_T!$ECHO_T$ac_delim
26612
 
LIBS!$LIBS$ac_delim
26613
 
build_alias!$build_alias$ac_delim
26614
 
host_alias!$host_alias$ac_delim
26615
 
target_alias!$target_alias$ac_delim
26616
 
BUILDDOCS_TRUE!$BUILDDOCS_TRUE$ac_delim
26617
 
BUILDDOCS_FALSE!$BUILDDOCS_FALSE$ac_delim
26618
 
INSTALLDOCS_TRUE!$INSTALLDOCS_TRUE$ac_delim
26619
 
INSTALLDOCS_FALSE!$INSTALLDOCS_FALSE$ac_delim
26620
 
SWISH_WEB!$SWISH_WEB$ac_delim
26621
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
26622
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
26623
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
26624
 
CYGPATH_W!$CYGPATH_W$ac_delim
26625
 
PACKAGE!$PACKAGE$ac_delim
26626
 
VERSION!$VERSION$ac_delim
26627
 
ACLOCAL!$ACLOCAL$ac_delim
26628
 
AUTOCONF!$AUTOCONF$ac_delim
26629
 
AUTOMAKE!$AUTOMAKE$ac_delim
26630
 
AUTOHEADER!$AUTOHEADER$ac_delim
26631
 
MAKEINFO!$MAKEINFO$ac_delim
26632
 
install_sh!$install_sh$ac_delim
26633
 
STRIP!$STRIP$ac_delim
26634
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
26635
 
mkdir_p!$mkdir_p$ac_delim
26636
 
AWK!$AWK$ac_delim
26637
 
SET_MAKE!$SET_MAKE$ac_delim
26638
 
am__leading_dot!$am__leading_dot$ac_delim
26639
 
AMTAR!$AMTAR$ac_delim
26640
 
am__tar!$am__tar$ac_delim
26641
 
am__untar!$am__untar$ac_delim
26642
 
CC!$CC$ac_delim
26643
 
CFLAGS!$CFLAGS$ac_delim
26644
 
LDFLAGS!$LDFLAGS$ac_delim
26645
 
CPPFLAGS!$CPPFLAGS$ac_delim
26646
 
ac_ct_CC!$ac_ct_CC$ac_delim
26647
 
EXEEXT!$EXEEXT$ac_delim
26648
 
OBJEXT!$OBJEXT$ac_delim
26649
 
DEPDIR!$DEPDIR$ac_delim
26650
 
am__include!$am__include$ac_delim
26651
 
am__quote!$am__quote$ac_delim
26652
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
26653
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
26654
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
26655
 
CCDEPMODE!$CCDEPMODE$ac_delim
26656
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
26657
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
26658
 
build!$build$ac_delim
26659
 
build_cpu!$build_cpu$ac_delim
26660
 
build_vendor!$build_vendor$ac_delim
26661
 
build_os!$build_os$ac_delim
26662
 
host!$host$ac_delim
26663
 
host_cpu!$host_cpu$ac_delim
26664
 
host_vendor!$host_vendor$ac_delim
26665
 
host_os!$host_os$ac_delim
26666
 
GREP!$GREP$ac_delim
26667
 
EGREP!$EGREP$ac_delim
26668
 
LN_S!$LN_S$ac_delim
26669
 
ECHO!$ECHO$ac_delim
26670
 
AR!$AR$ac_delim
26671
 
RANLIB!$RANLIB$ac_delim
26672
 
DLLTOOL!$DLLTOOL$ac_delim
26673
 
AS!$AS$ac_delim
26674
 
OBJDUMP!$OBJDUMP$ac_delim
26675
 
CPP!$CPP$ac_delim
26676
 
_ACEOF
26677
 
 
26678
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
26679
 
    break
26680
 
  elif $ac_last_try; then
26681
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26682
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26683
 
   { (exit 1); exit 1; }; }
26684
 
  else
26685
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26686
 
  fi
26687
 
done
26688
 
 
26689
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26690
 
if test -n "$ac_eof"; then
26691
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26692
 
  ac_eof=`expr $ac_eof + 1`
26693
 
fi
26694
 
 
26695
 
cat >>$CONFIG_STATUS <<_ACEOF
26696
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
26697
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26698
 
_ACEOF
26699
 
sed '
26700
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26701
 
s/^/s,@/; s/!/@,|#_!!_#|/
26702
 
:n
26703
 
t n
26704
 
s/'"$ac_delim"'$/,g/; t
26705
 
s/$/\\/; p
26706
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26707
 
' >>$CONFIG_STATUS <conf$$subs.sed
26708
 
rm -f conf$$subs.sed
26709
 
cat >>$CONFIG_STATUS <<_ACEOF
26710
 
CEOF$ac_eof
26711
 
_ACEOF
26712
 
 
26713
 
 
26714
 
ac_delim='%!_!# '
26715
 
for ac_last_try in false false false false false :; do
26716
 
  cat >conf$$subs.sed <<_ACEOF
26717
 
CXX!$CXX$ac_delim
26718
 
CXXFLAGS!$CXXFLAGS$ac_delim
26719
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
26720
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
26721
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
26722
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
26723
 
CXXCPP!$CXXCPP$ac_delim
26724
 
F77!$F77$ac_delim
26725
 
FFLAGS!$FFLAGS$ac_delim
26726
 
ac_ct_F77!$ac_ct_F77$ac_delim
26727
 
LIBTOOL!$LIBTOOL$ac_delim
26728
 
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
26729
 
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
26730
 
MAINT!$MAINT$ac_delim
26731
 
PERL!$PERL$ac_delim
26732
 
POD2MAN!$POD2MAN$ac_delim
26733
 
ALLOCA!$ALLOCA$ac_delim
26734
 
LIBOBJS!$LIBOBJS$ac_delim
26735
 
XML2_CONFIG!$XML2_CONFIG$ac_delim
26736
 
LIBXML_REQUIRED_VERSION!$LIBXML_REQUIRED_VERSION$ac_delim
26737
 
LIBXML2_OBJS!$LIBXML2_OBJS$ac_delim
26738
 
LIBXML2_LIB!$LIBXML2_LIB$ac_delim
26739
 
LIBXML2_CFLAGS!$LIBXML2_CFLAGS$ac_delim
26740
 
BTREE_OBJS!$BTREE_OBJS$ac_delim
26741
 
Z_CFLAGS!$Z_CFLAGS$ac_delim
26742
 
Z_LIBS!$Z_LIBS$ac_delim
26743
 
PCRE_CONFIG!$PCRE_CONFIG$ac_delim
26744
 
PCRE_REQUIRED_VERSION!$PCRE_REQUIRED_VERSION$ac_delim
26745
 
PCRE_CFLAGS!$PCRE_CFLAGS$ac_delim
26746
 
PCRE_LIBS!$PCRE_LIBS$ac_delim
26747
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
26748
 
_ACEOF
26749
 
 
26750
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 31; then
26751
 
    break
26752
 
  elif $ac_last_try; then
26753
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26754
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26755
 
   { (exit 1); exit 1; }; }
26756
 
  else
26757
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26758
 
  fi
26759
 
done
26760
 
 
26761
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26762
 
if test -n "$ac_eof"; then
26763
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26764
 
  ac_eof=`expr $ac_eof + 1`
26765
 
fi
26766
 
 
26767
 
cat >>$CONFIG_STATUS <<_ACEOF
26768
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
26769
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
26770
 
_ACEOF
26771
 
sed '
26772
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26773
 
s/^/s,@/; s/!/@,|#_!!_#|/
26774
 
:n
26775
 
t n
26776
 
s/'"$ac_delim"'$/,g/; t
26777
 
s/$/\\/; p
26778
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26779
 
' >>$CONFIG_STATUS <conf$$subs.sed
26780
 
rm -f conf$$subs.sed
26781
 
cat >>$CONFIG_STATUS <<_ACEOF
26782
 
:end
26783
 
s/|#_!!_#|//g
26784
 
CEOF$ac_eof
26785
 
_ACEOF
26786
 
 
26787
 
 
26788
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
26789
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26790
 
# trailing colons and then remove the whole line if VPATH becomes empty
26791
 
# (actually we leave an empty line to preserve line numbers).
26792
 
if test "x$srcdir" = x.; then
26793
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
26794
 
s/:*\$(srcdir):*/:/
26795
 
s/:*\${srcdir}:*/:/
26796
 
s/:*@srcdir@:*/:/
26797
 
s/^\([^=]*=[     ]*\):*/\1/
26798
 
s/:*$//
26799
 
s/^[^=]*=[       ]*$//
26800
 
}'
26801
 
fi
26802
 
 
26803
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
26535
if test -n "\$CONFIG_FILES"; then
 
26536
  # Protect against being on the right side of a sed subst in config.status.
 
26537
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
 
26538
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
 
26539
s,@SHELL@,$SHELL,;t t
 
26540
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
 
26541
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
 
26542
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
 
26543
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
 
26544
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
 
26545
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
 
26546
s,@exec_prefix@,$exec_prefix,;t t
 
26547
s,@prefix@,$prefix,;t t
 
26548
s,@program_transform_name@,$program_transform_name,;t t
 
26549
s,@bindir@,$bindir,;t t
 
26550
s,@sbindir@,$sbindir,;t t
 
26551
s,@libexecdir@,$libexecdir,;t t
 
26552
s,@datadir@,$datadir,;t t
 
26553
s,@sysconfdir@,$sysconfdir,;t t
 
26554
s,@sharedstatedir@,$sharedstatedir,;t t
 
26555
s,@localstatedir@,$localstatedir,;t t
 
26556
s,@libdir@,$libdir,;t t
 
26557
s,@includedir@,$includedir,;t t
 
26558
s,@oldincludedir@,$oldincludedir,;t t
 
26559
s,@infodir@,$infodir,;t t
 
26560
s,@mandir@,$mandir,;t t
 
26561
s,@build_alias@,$build_alias,;t t
 
26562
s,@host_alias@,$host_alias,;t t
 
26563
s,@target_alias@,$target_alias,;t t
 
26564
s,@DEFS@,$DEFS,;t t
 
26565
s,@ECHO_C@,$ECHO_C,;t t
 
26566
s,@ECHO_N@,$ECHO_N,;t t
 
26567
s,@ECHO_T@,$ECHO_T,;t t
 
26568
s,@LIBS@,$LIBS,;t t
 
26569
s,@BUILDDOCS_TRUE@,$BUILDDOCS_TRUE,;t t
 
26570
s,@BUILDDOCS_FALSE@,$BUILDDOCS_FALSE,;t t
 
26571
s,@INSTALLDOCS_TRUE@,$INSTALLDOCS_TRUE,;t t
 
26572
s,@INSTALLDOCS_FALSE@,$INSTALLDOCS_FALSE,;t t
 
26573
s,@SWISH_WEB@,$SWISH_WEB,;t t
 
26574
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
 
26575
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
 
26576
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
 
26577
s,@CYGPATH_W@,$CYGPATH_W,;t t
 
26578
s,@PACKAGE@,$PACKAGE,;t t
 
26579
s,@VERSION@,$VERSION,;t t
 
26580
s,@ACLOCAL@,$ACLOCAL,;t t
 
26581
s,@AUTOCONF@,$AUTOCONF,;t t
 
26582
s,@AUTOMAKE@,$AUTOMAKE,;t t
 
26583
s,@AUTOHEADER@,$AUTOHEADER,;t t
 
26584
s,@MAKEINFO@,$MAKEINFO,;t t
 
26585
s,@install_sh@,$install_sh,;t t
 
26586
s,@STRIP@,$STRIP,;t t
 
26587
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
 
26588
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
 
26589
s,@mkdir_p@,$mkdir_p,;t t
 
26590
s,@AWK@,$AWK,;t t
 
26591
s,@SET_MAKE@,$SET_MAKE,;t t
 
26592
s,@am__leading_dot@,$am__leading_dot,;t t
 
26593
s,@AMTAR@,$AMTAR,;t t
 
26594
s,@am__tar@,$am__tar,;t t
 
26595
s,@am__untar@,$am__untar,;t t
 
26596
s,@CC@,$CC,;t t
 
26597
s,@CFLAGS@,$CFLAGS,;t t
 
26598
s,@LDFLAGS@,$LDFLAGS,;t t
 
26599
s,@CPPFLAGS@,$CPPFLAGS,;t t
 
26600
s,@ac_ct_CC@,$ac_ct_CC,;t t
 
26601
s,@EXEEXT@,$EXEEXT,;t t
 
26602
s,@OBJEXT@,$OBJEXT,;t t
 
26603
s,@DEPDIR@,$DEPDIR,;t t
 
26604
s,@am__include@,$am__include,;t t
 
26605
s,@am__quote@,$am__quote,;t t
 
26606
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
 
26607
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
 
26608
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
 
26609
s,@CCDEPMODE@,$CCDEPMODE,;t t
 
26610
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
 
26611
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
 
26612
s,@build@,$build,;t t
 
26613
s,@build_cpu@,$build_cpu,;t t
 
26614
s,@build_vendor@,$build_vendor,;t t
 
26615
s,@build_os@,$build_os,;t t
 
26616
s,@host@,$host,;t t
 
26617
s,@host_cpu@,$host_cpu,;t t
 
26618
s,@host_vendor@,$host_vendor,;t t
 
26619
s,@host_os@,$host_os,;t t
 
26620
s,@EGREP@,$EGREP,;t t
 
26621
s,@LN_S@,$LN_S,;t t
 
26622
s,@ECHO@,$ECHO,;t t
 
26623
s,@AR@,$AR,;t t
 
26624
s,@ac_ct_AR@,$ac_ct_AR,;t t
 
26625
s,@RANLIB@,$RANLIB,;t t
 
26626
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
 
26627
s,@DLLTOOL@,$DLLTOOL,;t t
 
26628
s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
 
26629
s,@AS@,$AS,;t t
 
26630
s,@ac_ct_AS@,$ac_ct_AS,;t t
 
26631
s,@OBJDUMP@,$OBJDUMP,;t t
 
26632
s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
 
26633
s,@CPP@,$CPP,;t t
 
26634
s,@CXX@,$CXX,;t t
 
26635
s,@CXXFLAGS@,$CXXFLAGS,;t t
 
26636
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
 
26637
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
 
26638
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
 
26639
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
 
26640
s,@CXXCPP@,$CXXCPP,;t t
 
26641
s,@F77@,$F77,;t t
 
26642
s,@FFLAGS@,$FFLAGS,;t t
 
26643
s,@ac_ct_F77@,$ac_ct_F77,;t t
 
26644
s,@LIBTOOL@,$LIBTOOL,;t t
 
26645
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
 
26646
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
 
26647
s,@MAINT@,$MAINT,;t t
 
26648
s,@PERL@,$PERL,;t t
 
26649
s,@POD2MAN@,$POD2MAN,;t t
 
26650
s,@ALLOCA@,$ALLOCA,;t t
 
26651
s,@LIBOBJS@,$LIBOBJS,;t t
 
26652
s,@XML2_CONFIG@,$XML2_CONFIG,;t t
 
26653
s,@LIBXML_REQUIRED_VERSION@,$LIBXML_REQUIRED_VERSION,;t t
 
26654
s,@LIBXML2_OBJS@,$LIBXML2_OBJS,;t t
 
26655
s,@LIBXML2_LIB@,$LIBXML2_LIB,;t t
 
26656
s,@LIBXML2_CFLAGS@,$LIBXML2_CFLAGS,;t t
 
26657
s,@BTREE_OBJS@,$BTREE_OBJS,;t t
 
26658
s,@Z_CFLAGS@,$Z_CFLAGS,;t t
 
26659
s,@Z_LIBS@,$Z_LIBS,;t t
 
26660
s,@PCRE_CONFIG@,$PCRE_CONFIG,;t t
 
26661
s,@PCRE_REQUIRED_VERSION@,$PCRE_REQUIRED_VERSION,;t t
 
26662
s,@PCRE_CFLAGS@,$PCRE_CFLAGS,;t t
 
26663
s,@PCRE_LIBS@,$PCRE_LIBS,;t t
 
26664
s,@LARGEFILES_MACROS@,$LARGEFILES_MACROS,;t t
 
26665
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
 
26666
CEOF
 
26667
 
 
26668
_ACEOF
 
26669
 
 
26670
  cat >>$CONFIG_STATUS <<\_ACEOF
 
26671
  # Split the substitutions into bite-sized pieces for seds with
 
26672
  # small command number limits, like on Digital OSF/1 and HP-UX.
 
26673
  ac_max_sed_lines=48
 
26674
  ac_sed_frag=1 # Number of current file.
 
26675
  ac_beg=1 # First line for current file.
 
26676
  ac_end=$ac_max_sed_lines # Line after last line for current file.
 
26677
  ac_more_lines=:
 
26678
  ac_sed_cmds=
 
26679
  while $ac_more_lines; do
 
26680
    if test $ac_beg -gt 1; then
 
26681
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 
26682
    else
 
26683
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 
26684
    fi
 
26685
    if test ! -s $tmp/subs.frag; then
 
26686
      ac_more_lines=false
 
26687
    else
 
26688
      # The purpose of the label and of the branching condition is to
 
26689
      # speed up the sed processing (if there are no `@' at all, there
 
26690
      # is no need to browse any of the substitutions).
 
26691
      # These are the two extra sed commands mentioned above.
 
26692
      (echo ':t
 
26693
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
 
26694
      if test -z "$ac_sed_cmds"; then
 
26695
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 
26696
      else
 
26697
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
26698
      fi
 
26699
      ac_sed_frag=`expr $ac_sed_frag + 1`
 
26700
      ac_beg=$ac_end
 
26701
      ac_end=`expr $ac_end + $ac_max_sed_lines`
 
26702
    fi
 
26703
  done
 
26704
  if test -z "$ac_sed_cmds"; then
 
26705
    ac_sed_cmds=cat
 
26706
  fi
26804
26707
fi # test -n "$CONFIG_FILES"
26805
26708
 
26806
 
 
26807
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
26808
 
do
26809
 
  case $ac_tag in
26810
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
26811
 
  esac
26812
 
  case $ac_mode$ac_tag in
26813
 
  :[FHL]*:*);;
26814
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
26815
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
26816
 
   { (exit 1); exit 1; }; };;
26817
 
  :[FH]-) ac_tag=-:-;;
26818
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26819
 
  esac
26820
 
  ac_save_IFS=$IFS
26821
 
  IFS=:
26822
 
  set x $ac_tag
26823
 
  IFS=$ac_save_IFS
26824
 
  shift
26825
 
  ac_file=$1
26826
 
  shift
26827
 
 
26828
 
  case $ac_mode in
26829
 
  :L) ac_source=$1;;
26830
 
  :[FH])
26831
 
    ac_file_inputs=
26832
 
    for ac_f
26833
 
    do
26834
 
      case $ac_f in
26835
 
      -) ac_f="$tmp/stdin";;
26836
 
      *) # Look for the file first in the build tree, then in the source tree
26837
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
26838
 
         # because $ac_f cannot contain `:'.
26839
 
         test -f "$ac_f" ||
26840
 
           case $ac_f in
26841
 
           [\\/$]*) false;;
26842
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26843
 
           esac ||
26844
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
26845
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
26846
 
   { (exit 1); exit 1; }; };;
26847
 
      esac
26848
 
      ac_file_inputs="$ac_file_inputs $ac_f"
26849
 
    done
26850
 
 
26851
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
26852
 
    # use $as_me), people would be surprised to read:
26853
 
    #    /* config.h.  Generated by config.status.  */
26854
 
    configure_input="Generated from "`IFS=:
26855
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
26856
 
    if test x"$ac_file" != x-; then
26857
 
      configure_input="$ac_file.  $configure_input"
26858
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
26859
 
echo "$as_me: creating $ac_file" >&6;}
26860
 
    fi
26861
 
 
26862
 
    case $ac_tag in
26863
 
    *:-:* | *:-) cat >"$tmp/stdin";;
26864
 
    esac
26865
 
    ;;
26866
 
  esac
26867
 
 
26868
 
  ac_dir=`$as_dirname -- "$ac_file" ||
 
26709
_ACEOF
 
26710
cat >>$CONFIG_STATUS <<\_ACEOF
 
26711
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
 
26712
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 
26713
  case $ac_file in
 
26714
  - | *:- | *:-:* ) # input from stdin
 
26715
        cat >$tmp/stdin
 
26716
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
26717
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
26718
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
26719
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
26720
  * )   ac_file_in=$ac_file.in ;;
 
26721
  esac
 
26722
 
 
26723
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
 
26724
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
26869
26725
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26870
26726
         X"$ac_file" : 'X\(//\)[^/]' \| \
26871
26727
         X"$ac_file" : 'X\(//\)$' \| \
26872
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
26728
         X"$ac_file" : 'X\(/\)' \| \
 
26729
         .     : '\(.\)' 2>/dev/null ||
26873
26730
echo X"$ac_file" |
26874
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26875
 
            s//\1/
26876
 
            q
26877
 
          }
26878
 
          /^X\(\/\/\)[^/].*/{
26879
 
            s//\1/
26880
 
            q
26881
 
          }
26882
 
          /^X\(\/\/\)$/{
26883
 
            s//\1/
26884
 
            q
26885
 
          }
26886
 
          /^X\(\/\).*/{
26887
 
            s//\1/
26888
 
            q
26889
 
          }
26890
 
          s/.*/./; q'`
26891
 
  { as_dir="$ac_dir"
26892
 
  case $as_dir in #(
26893
 
  -*) as_dir=./$as_dir;;
26894
 
  esac
26895
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 
26731
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
26732
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
26733
          /^X\(\/\/\)$/{ s//\1/; q; }
 
26734
          /^X\(\/\).*/{ s//\1/; q; }
 
26735
          s/.*/./; q'`
 
26736
  { if $as_mkdir_p; then
 
26737
    mkdir -p "$ac_dir"
 
26738
  else
 
26739
    as_dir="$ac_dir"
26896
26740
    as_dirs=
26897
 
    while :; do
26898
 
      case $as_dir in #(
26899
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
26900
 
      *) as_qdir=$as_dir;;
26901
 
      esac
26902
 
      as_dirs="'$as_qdir' $as_dirs"
26903
 
      as_dir=`$as_dirname -- "$as_dir" ||
 
26741
    while test ! -d "$as_dir"; do
 
26742
      as_dirs="$as_dir $as_dirs"
 
26743
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
26904
26744
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26905
26745
         X"$as_dir" : 'X\(//\)[^/]' \| \
26906
26746
         X"$as_dir" : 'X\(//\)$' \| \
26907
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
26747
         X"$as_dir" : 'X\(/\)' \| \
 
26748
         .     : '\(.\)' 2>/dev/null ||
26908
26749
echo X"$as_dir" |
26909
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26910
 
            s//\1/
26911
 
            q
26912
 
          }
26913
 
          /^X\(\/\/\)[^/].*/{
26914
 
            s//\1/
26915
 
            q
26916
 
          }
26917
 
          /^X\(\/\/\)$/{
26918
 
            s//\1/
26919
 
            q
26920
 
          }
26921
 
          /^X\(\/\).*/{
26922
 
            s//\1/
26923
 
            q
26924
 
          }
26925
 
          s/.*/./; q'`
26926
 
      test -d "$as_dir" && break
 
26750
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
26751
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
26752
          /^X\(\/\/\)$/{ s//\1/; q; }
 
26753
          /^X\(\/\).*/{ s//\1/; q; }
 
26754
          s/.*/./; q'`
26927
26755
    done
26928
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
26929
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
26930
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
26756
    test ! -n "$as_dirs" || mkdir $as_dirs
 
26757
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
26758
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
26931
26759
   { (exit 1); exit 1; }; }; }
 
26760
 
26932
26761
  ac_builddir=.
26933
26762
 
26934
 
case "$ac_dir" in
26935
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26936
 
*)
 
26763
if test "$ac_dir" != .; then
26937
26764
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
26938
 
  # A ".." for each directory in $ac_dir_suffix.
26939
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
26940
 
  case $ac_top_builddir_sub in
26941
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26942
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
26943
 
  esac ;;
26944
 
esac
26945
 
ac_abs_top_builddir=$ac_pwd
26946
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
26947
 
# for backward compatibility:
26948
 
ac_top_builddir=$ac_top_build_prefix
 
26765
  # A "../" for each directory in $ac_dir_suffix.
 
26766
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
26767
else
 
26768
  ac_dir_suffix= ac_top_builddir=
 
26769
fi
26949
26770
 
26950
26771
case $srcdir in
26951
 
  .)  # We are building in place.
 
26772
  .)  # No --srcdir option.  We are building in place.
26952
26773
    ac_srcdir=.
26953
 
    ac_top_srcdir=$ac_top_builddir_sub
26954
 
    ac_abs_top_srcdir=$ac_pwd ;;
26955
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
26774
    if test -z "$ac_top_builddir"; then
 
26775
       ac_top_srcdir=.
 
26776
    else
 
26777
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
26778
    fi ;;
 
26779
  [\\/]* | ?:[\\/]* )  # Absolute path.
26956
26780
    ac_srcdir=$srcdir$ac_dir_suffix;
26957
 
    ac_top_srcdir=$srcdir
26958
 
    ac_abs_top_srcdir=$srcdir ;;
26959
 
  *) # Relative name.
26960
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
26961
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
26962
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
26963
 
esac
26964
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
26965
 
 
26966
 
 
26967
 
  case $ac_mode in
26968
 
  :F)
26969
 
  #
26970
 
  # CONFIG_FILE
26971
 
  #
 
26781
    ac_top_srcdir=$srcdir ;;
 
26782
  *) # Relative path.
 
26783
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
26784
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
26785
esac
 
26786
 
 
26787
# Do not use `cd foo && pwd` to compute absolute paths, because
 
26788
# the directories may not exist.
 
26789
case `pwd` in
 
26790
.) ac_abs_builddir="$ac_dir";;
 
26791
*)
 
26792
  case "$ac_dir" in
 
26793
  .) ac_abs_builddir=`pwd`;;
 
26794
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
26795
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
26796
  esac;;
 
26797
esac
 
26798
case $ac_abs_builddir in
 
26799
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
26800
*)
 
26801
  case ${ac_top_builddir}. in
 
26802
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
26803
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
26804
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
26805
  esac;;
 
26806
esac
 
26807
case $ac_abs_builddir in
 
26808
.) ac_abs_srcdir=$ac_srcdir;;
 
26809
*)
 
26810
  case $ac_srcdir in
 
26811
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
26812
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
26813
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
26814
  esac;;
 
26815
esac
 
26816
case $ac_abs_builddir in
 
26817
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
26818
*)
 
26819
  case $ac_top_srcdir in
 
26820
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
26821
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
26822
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
26823
  esac;;
 
26824
esac
 
26825
 
26972
26826
 
26973
26827
  case $INSTALL in
26974
26828
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26975
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
26829
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
26976
26830
  esac
26977
 
_ACEOF
26978
 
 
26979
 
cat >>$CONFIG_STATUS <<\_ACEOF
26980
 
# If the template does not know about datarootdir, expand it.
26981
 
# FIXME: This hack should be removed a few years after 2.60.
26982
 
ac_datarootdir_hack=; ac_datarootdir_seen=
26983
 
 
26984
 
case `sed -n '/datarootdir/ {
26985
 
  p
26986
 
  q
26987
 
}
26988
 
/@datadir@/p
26989
 
/@docdir@/p
26990
 
/@infodir@/p
26991
 
/@localedir@/p
26992
 
/@mandir@/p
26993
 
' $ac_file_inputs` in
26994
 
*datarootdir*) ac_datarootdir_seen=yes;;
26995
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
26996
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26997
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26998
 
_ACEOF
26999
 
cat >>$CONFIG_STATUS <<_ACEOF
27000
 
  ac_datarootdir_hack='
27001
 
  s&@datadir@&$datadir&g
27002
 
  s&@docdir@&$docdir&g
27003
 
  s&@infodir@&$infodir&g
27004
 
  s&@localedir@&$localedir&g
27005
 
  s&@mandir@&$mandir&g
27006
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
27007
 
esac
27008
 
_ACEOF
27009
 
 
27010
 
# Neutralize VPATH when `$srcdir' = `.'.
27011
 
# Shell code in configure.ac might set extrasub.
27012
 
# FIXME: do we really want to maintain this feature?
 
26831
 
 
26832
  if test x"$ac_file" != x-; then
 
26833
    { echo "$as_me:$LINENO: creating $ac_file" >&5
 
26834
echo "$as_me: creating $ac_file" >&6;}
 
26835
    rm -f "$ac_file"
 
26836
  fi
 
26837
  # Let's still pretend it is `configure' which instantiates (i.e., don't
 
26838
  # use $as_me), people would be surprised to read:
 
26839
  #    /* config.h.  Generated by config.status.  */
 
26840
  if test x"$ac_file" = x-; then
 
26841
    configure_input=
 
26842
  else
 
26843
    configure_input="$ac_file.  "
 
26844
  fi
 
26845
  configure_input=$configure_input"Generated from `echo $ac_file_in |
 
26846
                                     sed 's,.*/,,'` by configure."
 
26847
 
 
26848
  # First look for the input files in the build tree, otherwise in the
 
26849
  # src tree.
 
26850
  ac_file_inputs=`IFS=:
 
26851
    for f in $ac_file_in; do
 
26852
      case $f in
 
26853
      -) echo $tmp/stdin ;;
 
26854
      [\\/$]*)
 
26855
         # Absolute (can't be DOS-style, as IFS=:)
 
26856
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
26857
echo "$as_me: error: cannot find input file: $f" >&2;}
 
26858
   { (exit 1); exit 1; }; }
 
26859
         echo "$f";;
 
26860
      *) # Relative
 
26861
         if test -f "$f"; then
 
26862
           # Build tree
 
26863
           echo "$f"
 
26864
         elif test -f "$srcdir/$f"; then
 
26865
           # Source tree
 
26866
           echo "$srcdir/$f"
 
26867
         else
 
26868
           # /dev/null tree
 
26869
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
26870
echo "$as_me: error: cannot find input file: $f" >&2;}
 
26871
   { (exit 1); exit 1; }; }
 
26872
         fi;;
 
26873
      esac
 
26874
    done` || { (exit 1); exit 1; }
 
26875
_ACEOF
27013
26876
cat >>$CONFIG_STATUS <<_ACEOF
27014
26877
  sed "$ac_vpsub
27015
26878
$extrasub
27017
26880
cat >>$CONFIG_STATUS <<\_ACEOF
27018
26881
:t
27019
26882
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27020
 
s&@configure_input@&$configure_input&;t t
27021
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
27022
 
s&@srcdir@&$ac_srcdir&;t t
27023
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
27024
 
s&@top_srcdir@&$ac_top_srcdir&;t t
27025
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27026
 
s&@builddir@&$ac_builddir&;t t
27027
 
s&@abs_builddir@&$ac_abs_builddir&;t t
27028
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27029
 
s&@INSTALL@&$ac_INSTALL&;t t
27030
 
$ac_datarootdir_hack
27031
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
27032
 
 
27033
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27034
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
27035
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
27036
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27037
 
which seems to be undefined.  Please make sure it is defined." >&5
27038
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27039
 
which seems to be undefined.  Please make sure it is defined." >&2;}
27040
 
 
27041
 
  rm -f "$tmp/stdin"
27042
 
  case $ac_file in
27043
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
27044
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
27045
 
  esac
27046
 
 ;;
27047
 
  :H)
27048
 
  #
27049
 
  # CONFIG_HEADER
27050
 
  #
 
26883
s,@configure_input@,$configure_input,;t t
 
26884
s,@srcdir@,$ac_srcdir,;t t
 
26885
s,@abs_srcdir@,$ac_abs_srcdir,;t t
 
26886
s,@top_srcdir@,$ac_top_srcdir,;t t
 
26887
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
 
26888
s,@builddir@,$ac_builddir,;t t
 
26889
s,@abs_builddir@,$ac_abs_builddir,;t t
 
26890
s,@top_builddir@,$ac_top_builddir,;t t
 
26891
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
 
26892
s,@INSTALL@,$ac_INSTALL,;t t
 
26893
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
 
26894
  rm -f $tmp/stdin
 
26895
  if test x"$ac_file" != x-; then
 
26896
    mv $tmp/out $ac_file
 
26897
  else
 
26898
    cat $tmp/out
 
26899
    rm -f $tmp/out
 
26900
  fi
 
26901
 
 
26902
done
27051
26903
_ACEOF
27052
 
 
27053
 
# Transform confdefs.h into a sed script `conftest.defines', that
27054
 
# substitutes the proper values into config.h.in to produce config.h.
27055
 
rm -f conftest.defines conftest.tail
27056
 
# First, append a space to every undef/define line, to ease matching.
27057
 
echo 's/$/ /' >conftest.defines
27058
 
# Then, protect against being on the right side of a sed subst, or in
27059
 
# an unquoted here document, in config.status.  If some macros were
27060
 
# called several times there might be several #defines for the same
27061
 
# symbol, which is useless.  But do not sort them, since the last
27062
 
# AC_DEFINE must be honored.
27063
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27064
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
27065
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
27066
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
27067
 
# just an empty string.
27068
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
27069
 
ac_dB='\\)[      (].*,\\1define\\2'
 
26904
cat >>$CONFIG_STATUS <<\_ACEOF
 
26905
 
 
26906
#
 
26907
# CONFIG_HEADER section.
 
26908
#
 
26909
 
 
26910
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
 
26911
# NAME is the cpp macro being defined and VALUE is the value it is being given.
 
26912
#
 
26913
# ac_d sets the value in "#define NAME VALUE" lines.
 
26914
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
 
26915
ac_dB='[         ].*$,\1#\2'
27070
26916
ac_dC=' '
27071
 
ac_dD=' ,'
27072
 
 
27073
 
uniq confdefs.h |
27074
 
  sed -n '
27075
 
        t rset
27076
 
        :rset
27077
 
        s/^[     ]*#[    ]*define[       ][      ]*//
27078
 
        t ok
27079
 
        d
27080
 
        :ok
27081
 
        s/[\\&,]/\\&/g
27082
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
27083
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
27084
 
  ' >>conftest.defines
27085
 
 
27086
 
# Remove the space that was appended to ease matching.
27087
 
# Then replace #undef with comments.  This is necessary, for
 
26917
ac_dD=',;t'
 
26918
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
 
26919
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
 
26920
ac_uB='$,\1#\2define\3'
 
26921
ac_uC=' '
 
26922
ac_uD=',;t'
 
26923
 
 
26924
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
 
26925
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 
26926
  case $ac_file in
 
26927
  - | *:- | *:-:* ) # input from stdin
 
26928
        cat >$tmp/stdin
 
26929
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
26930
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
26931
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
26932
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
26933
  * )   ac_file_in=$ac_file.in ;;
 
26934
  esac
 
26935
 
 
26936
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
 
26937
echo "$as_me: creating $ac_file" >&6;}
 
26938
 
 
26939
  # First look for the input files in the build tree, otherwise in the
 
26940
  # src tree.
 
26941
  ac_file_inputs=`IFS=:
 
26942
    for f in $ac_file_in; do
 
26943
      case $f in
 
26944
      -) echo $tmp/stdin ;;
 
26945
      [\\/$]*)
 
26946
         # Absolute (can't be DOS-style, as IFS=:)
 
26947
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
26948
echo "$as_me: error: cannot find input file: $f" >&2;}
 
26949
   { (exit 1); exit 1; }; }
 
26950
         # Do quote $f, to prevent DOS paths from being IFS'd.
 
26951
         echo "$f";;
 
26952
      *) # Relative
 
26953
         if test -f "$f"; then
 
26954
           # Build tree
 
26955
           echo "$f"
 
26956
         elif test -f "$srcdir/$f"; then
 
26957
           # Source tree
 
26958
           echo "$srcdir/$f"
 
26959
         else
 
26960
           # /dev/null tree
 
26961
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
26962
echo "$as_me: error: cannot find input file: $f" >&2;}
 
26963
   { (exit 1); exit 1; }; }
 
26964
         fi;;
 
26965
      esac
 
26966
    done` || { (exit 1); exit 1; }
 
26967
  # Remove the trailing spaces.
 
26968
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
 
26969
 
 
26970
_ACEOF
 
26971
 
 
26972
# Transform confdefs.h into two sed scripts, `conftest.defines' and
 
26973
# `conftest.undefs', that substitutes the proper values into
 
26974
# config.h.in to produce config.h.  The first handles `#define'
 
26975
# templates, and the second `#undef' templates.
 
26976
# And first: Protect against being on the right side of a sed subst in
 
26977
# config.status.  Protect against being in an unquoted here document
 
26978
# in config.status.
 
26979
rm -f conftest.defines conftest.undefs
 
26980
# Using a here document instead of a string reduces the quoting nightmare.
 
26981
# Putting comments in sed scripts is not portable.
 
26982
#
 
26983
# `end' is used to avoid that the second main sed command (meant for
 
26984
# 0-ary CPP macros) applies to n-ary macro definitions.
 
26985
# See the Autoconf documentation for `clear'.
 
26986
cat >confdef2sed.sed <<\_ACEOF
 
26987
s/[\\&,]/\\&/g
 
26988
s,[\\$`],\\&,g
 
26989
t clear
 
26990
: clear
 
26991
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
 
26992
t end
 
26993
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
 
26994
: end
 
26995
_ACEOF
 
26996
# If some macros were called several times there might be several times
 
26997
# the same #defines, which is useless.  Nevertheless, we may not want to
 
26998
# sort them, since we want the *last* AC-DEFINE to be honored.
 
26999
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
 
27000
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
 
27001
rm -f confdef2sed.sed
 
27002
 
 
27003
# This sed command replaces #undef with comments.  This is necessary, for
27088
27004
# example, in the case of _POSIX_SOURCE, which is predefined and required
27089
27005
# on some systems where configure will not decide to define it.
27090
 
# (The regexp can be short, since the line contains either #define or #undef.)
27091
 
echo 's/ $//
27092
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
27093
 
 
27094
 
# Break up conftest.defines:
27095
 
ac_max_sed_lines=50
27096
 
 
27097
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
27098
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
27099
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
27100
 
# et cetera.
27101
 
ac_in='$ac_file_inputs'
27102
 
ac_out='"$tmp/out1"'
27103
 
ac_nxt='"$tmp/out2"'
27104
 
 
27105
 
while :
 
27006
cat >>conftest.undefs <<\_ACEOF
 
27007
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
27008
_ACEOF
 
27009
 
 
27010
# Break up conftest.defines because some shells have a limit on the size
 
27011
# of here documents, and old seds have small limits too (100 cmds).
 
27012
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
 
27013
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
 
27014
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
 
27015
echo '  :' >>$CONFIG_STATUS
 
27016
rm -f conftest.tail
 
27017
while grep . conftest.defines >/dev/null
27106
27018
do
27107
 
  # Write a here document:
27108
 
    cat >>$CONFIG_STATUS <<_ACEOF
27109
 
    # First, check the format of the line:
27110
 
    cat >"\$tmp/defines.sed" <<\\CEOF
27111
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
27112
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
27113
 
b
27114
 
:def
27115
 
_ACEOF
27116
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
 
27019
  # Write a limited-size here document to $tmp/defines.sed.
 
27020
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
 
27021
  # Speed up: don't consider the non `#define' lines.
 
27022
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
 
27023
  # Work around the forget-to-reset-the-flag bug.
 
27024
  echo 't clr' >>$CONFIG_STATUS
 
27025
  echo ': clr' >>$CONFIG_STATUS
 
27026
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
27117
27027
  echo 'CEOF
27118
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
27119
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
27120
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
27121
 
  grep . conftest.tail >/dev/null || break
 
27028
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
 
27029
  rm -f $tmp/in
 
27030
  mv $tmp/out $tmp/in
 
27031
' >>$CONFIG_STATUS
 
27032
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
27122
27033
  rm -f conftest.defines
27123
27034
  mv conftest.tail conftest.defines
27124
27035
done
27125
 
rm -f conftest.defines conftest.tail
27126
 
 
27127
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
 
27036
rm -f conftest.defines
 
27037
echo '  fi # grep' >>$CONFIG_STATUS
 
27038
echo >>$CONFIG_STATUS
 
27039
 
 
27040
# Break up conftest.undefs because some shells have a limit on the size
 
27041
# of here documents, and old seds have small limits too (100 cmds).
 
27042
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
 
27043
rm -f conftest.tail
 
27044
while grep . conftest.undefs >/dev/null
 
27045
do
 
27046
  # Write a limited-size here document to $tmp/undefs.sed.
 
27047
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
 
27048
  # Speed up: don't consider the non `#undef'
 
27049
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
 
27050
  # Work around the forget-to-reset-the-flag bug.
 
27051
  echo 't clr' >>$CONFIG_STATUS
 
27052
  echo ': clr' >>$CONFIG_STATUS
 
27053
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
 
27054
  echo 'CEOF
 
27055
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
 
27056
  rm -f $tmp/in
 
27057
  mv $tmp/out $tmp/in
 
27058
' >>$CONFIG_STATUS
 
27059
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
 
27060
  rm -f conftest.undefs
 
27061
  mv conftest.tail conftest.undefs
 
27062
done
 
27063
rm -f conftest.undefs
 
27064
 
27128
27065
cat >>$CONFIG_STATUS <<\_ACEOF
 
27066
  # Let's still pretend it is `configure' which instantiates (i.e., don't
 
27067
  # use $as_me), people would be surprised to read:
 
27068
  #    /* config.h.  Generated by config.status.  */
 
27069
  if test x"$ac_file" = x-; then
 
27070
    echo "/* Generated by configure.  */" >$tmp/config.h
 
27071
  else
 
27072
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
 
27073
  fi
 
27074
  cat $tmp/in >>$tmp/config.h
 
27075
  rm -f $tmp/in
27129
27076
  if test x"$ac_file" != x-; then
27130
 
    echo "/* $configure_input  */" >"$tmp/config.h"
27131
 
    cat "$ac_result" >>"$tmp/config.h"
27132
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
 
27077
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
27133
27078
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
27134
27079
echo "$as_me: $ac_file is unchanged" >&6;}
27135
27080
    else
 
27081
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
27082
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
27083
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
27084
         X"$ac_file" : 'X\(//\)$' \| \
 
27085
         X"$ac_file" : 'X\(/\)' \| \
 
27086
         .     : '\(.\)' 2>/dev/null ||
 
27087
echo X"$ac_file" |
 
27088
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
27089
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
27090
          /^X\(\/\/\)$/{ s//\1/; q; }
 
27091
          /^X\(\/\).*/{ s//\1/; q; }
 
27092
          s/.*/./; q'`
 
27093
      { if $as_mkdir_p; then
 
27094
    mkdir -p "$ac_dir"
 
27095
  else
 
27096
    as_dir="$ac_dir"
 
27097
    as_dirs=
 
27098
    while test ! -d "$as_dir"; do
 
27099
      as_dirs="$as_dir $as_dirs"
 
27100
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
27101
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
27102
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
27103
         X"$as_dir" : 'X\(//\)$' \| \
 
27104
         X"$as_dir" : 'X\(/\)' \| \
 
27105
         .     : '\(.\)' 2>/dev/null ||
 
27106
echo X"$as_dir" |
 
27107
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
27108
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
27109
          /^X\(\/\/\)$/{ s//\1/; q; }
 
27110
          /^X\(\/\).*/{ s//\1/; q; }
 
27111
          s/.*/./; q'`
 
27112
    done
 
27113
    test ! -n "$as_dirs" || mkdir $as_dirs
 
27114
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
27115
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
27116
   { (exit 1); exit 1; }; }; }
 
27117
 
27136
27118
      rm -f $ac_file
27137
 
      mv "$tmp/config.h" $ac_file
 
27119
      mv $tmp/config.h $ac_file
27138
27120
    fi
27139
27121
  else
27140
 
    echo "/* $configure_input  */"
27141
 
    cat "$ac_result"
 
27122
    cat $tmp/config.h
 
27123
    rm -f $tmp/config.h
27142
27124
  fi
27143
 
  rm -f "$tmp/out12"
27144
27125
# Compute $ac_file's index in $config_headers.
27145
27126
_am_stamp_count=1
27146
27127
for _am_header in $config_headers :; do
27151
27132
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
27152
27133
  esac
27153
27134
done
27154
 
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
 
27135
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
27155
27136
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27156
27137
         X$ac_file : 'X\(//\)[^/]' \| \
27157
27138
         X$ac_file : 'X\(//\)$' \| \
27158
 
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
 
27139
         X$ac_file : 'X\(/\)' \| \
 
27140
         .     : '\(.\)' 2>/dev/null ||
27159
27141
echo X$ac_file |
27160
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27161
 
            s//\1/
27162
 
            q
27163
 
          }
27164
 
          /^X\(\/\/\)[^/].*/{
27165
 
            s//\1/
27166
 
            q
27167
 
          }
27168
 
          /^X\(\/\/\)$/{
27169
 
            s//\1/
27170
 
            q
27171
 
          }
27172
 
          /^X\(\/\).*/{
27173
 
            s//\1/
27174
 
            q
27175
 
          }
27176
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
27177
 
 ;;
27178
 
 
27179
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
27180
 
echo "$as_me: executing $ac_file commands" >&6;}
27181
 
 ;;
27182
 
  esac
27183
 
 
27184
 
 
27185
 
  case $ac_file$ac_mode in
27186
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
27142
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
27143
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
27144
          /^X\(\/\/\)$/{ s//\1/; q; }
 
27145
          /^X\(\/\).*/{ s//\1/; q; }
 
27146
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
27147
done
 
27148
_ACEOF
 
27149
cat >>$CONFIG_STATUS <<\_ACEOF
 
27150
 
 
27151
#
 
27152
# CONFIG_COMMANDS section.
 
27153
#
 
27154
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
 
27155
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
 
27156
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
27157
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
 
27158
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
27159
         X"$ac_dest" : 'X\(//\)[^/]' \| \
 
27160
         X"$ac_dest" : 'X\(//\)$' \| \
 
27161
         X"$ac_dest" : 'X\(/\)' \| \
 
27162
         .     : '\(.\)' 2>/dev/null ||
 
27163
echo X"$ac_dest" |
 
27164
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
27165
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
27166
          /^X\(\/\/\)$/{ s//\1/; q; }
 
27167
          /^X\(\/\).*/{ s//\1/; q; }
 
27168
          s/.*/./; q'`
 
27169
  { if $as_mkdir_p; then
 
27170
    mkdir -p "$ac_dir"
 
27171
  else
 
27172
    as_dir="$ac_dir"
 
27173
    as_dirs=
 
27174
    while test ! -d "$as_dir"; do
 
27175
      as_dirs="$as_dir $as_dirs"
 
27176
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
27177
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
27178
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
27179
         X"$as_dir" : 'X\(//\)$' \| \
 
27180
         X"$as_dir" : 'X\(/\)' \| \
 
27181
         .     : '\(.\)' 2>/dev/null ||
 
27182
echo X"$as_dir" |
 
27183
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
27184
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
27185
          /^X\(\/\/\)$/{ s//\1/; q; }
 
27186
          /^X\(\/\).*/{ s//\1/; q; }
 
27187
          s/.*/./; q'`
 
27188
    done
 
27189
    test ! -n "$as_dirs" || mkdir $as_dirs
 
27190
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
27191
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
27192
   { (exit 1); exit 1; }; }; }
 
27193
 
 
27194
  ac_builddir=.
 
27195
 
 
27196
if test "$ac_dir" != .; then
 
27197
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
27198
  # A "../" for each directory in $ac_dir_suffix.
 
27199
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
27200
else
 
27201
  ac_dir_suffix= ac_top_builddir=
 
27202
fi
 
27203
 
 
27204
case $srcdir in
 
27205
  .)  # No --srcdir option.  We are building in place.
 
27206
    ac_srcdir=.
 
27207
    if test -z "$ac_top_builddir"; then
 
27208
       ac_top_srcdir=.
 
27209
    else
 
27210
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
27211
    fi ;;
 
27212
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
27213
    ac_srcdir=$srcdir$ac_dir_suffix;
 
27214
    ac_top_srcdir=$srcdir ;;
 
27215
  *) # Relative path.
 
27216
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
27217
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
27218
esac
 
27219
 
 
27220
# Do not use `cd foo && pwd` to compute absolute paths, because
 
27221
# the directories may not exist.
 
27222
case `pwd` in
 
27223
.) ac_abs_builddir="$ac_dir";;
 
27224
*)
 
27225
  case "$ac_dir" in
 
27226
  .) ac_abs_builddir=`pwd`;;
 
27227
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
27228
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
27229
  esac;;
 
27230
esac
 
27231
case $ac_abs_builddir in
 
27232
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
27233
*)
 
27234
  case ${ac_top_builddir}. in
 
27235
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
27236
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
27237
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
27238
  esac;;
 
27239
esac
 
27240
case $ac_abs_builddir in
 
27241
.) ac_abs_srcdir=$ac_srcdir;;
 
27242
*)
 
27243
  case $ac_srcdir in
 
27244
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
27245
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
27246
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
27247
  esac;;
 
27248
esac
 
27249
case $ac_abs_builddir in
 
27250
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
27251
*)
 
27252
  case $ac_top_srcdir in
 
27253
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
27254
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
27255
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
27256
  esac;;
 
27257
esac
 
27258
 
 
27259
 
 
27260
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
 
27261
echo "$as_me: executing $ac_dest commands" >&6;}
 
27262
  case $ac_dest in
 
27263
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
27187
27264
  # Strip MF so we end up with the name of the file.
27188
27265
  mf=`echo "$mf" | sed -e 's/:.*$//'`
27189
27266
  # Check whether this is an Automake generated Makefile or not.
27193
27270
  # each Makefile.in and add a new line on top of each file to say so.
27194
27271
  # So let's grep whole file.
27195
27272
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
27196
 
    dirpart=`$as_dirname -- "$mf" ||
 
27273
    dirpart=`(dirname "$mf") 2>/dev/null ||
27197
27274
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27198
27275
         X"$mf" : 'X\(//\)[^/]' \| \
27199
27276
         X"$mf" : 'X\(//\)$' \| \
27200
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
27277
         X"$mf" : 'X\(/\)' \| \
 
27278
         .     : '\(.\)' 2>/dev/null ||
27201
27279
echo X"$mf" |
27202
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27203
 
            s//\1/
27204
 
            q
27205
 
          }
27206
 
          /^X\(\/\/\)[^/].*/{
27207
 
            s//\1/
27208
 
            q
27209
 
          }
27210
 
          /^X\(\/\/\)$/{
27211
 
            s//\1/
27212
 
            q
27213
 
          }
27214
 
          /^X\(\/\).*/{
27215
 
            s//\1/
27216
 
            q
27217
 
          }
27218
 
          s/.*/./; q'`
 
27280
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
27281
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
27282
          /^X\(\/\/\)$/{ s//\1/; q; }
 
27283
          /^X\(\/\).*/{ s//\1/; q; }
 
27284
          s/.*/./; q'`
27219
27285
  else
27220
27286
    continue
27221
27287
  fi
27237
27303
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27238
27304
    # Make sure the directory exists.
27239
27305
    test -f "$dirpart/$file" && continue
27240
 
    fdir=`$as_dirname -- "$file" ||
 
27306
    fdir=`(dirname "$file") 2>/dev/null ||
27241
27307
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27242
27308
         X"$file" : 'X\(//\)[^/]' \| \
27243
27309
         X"$file" : 'X\(//\)$' \| \
27244
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
27310
         X"$file" : 'X\(/\)' \| \
 
27311
         .     : '\(.\)' 2>/dev/null ||
27245
27312
echo X"$file" |
27246
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27247
 
            s//\1/
27248
 
            q
27249
 
          }
27250
 
          /^X\(\/\/\)[^/].*/{
27251
 
            s//\1/
27252
 
            q
27253
 
          }
27254
 
          /^X\(\/\/\)$/{
27255
 
            s//\1/
27256
 
            q
27257
 
          }
27258
 
          /^X\(\/\).*/{
27259
 
            s//\1/
27260
 
            q
27261
 
          }
27262
 
          s/.*/./; q'`
27263
 
    { as_dir=$dirpart/$fdir
27264
 
  case $as_dir in #(
27265
 
  -*) as_dir=./$as_dir;;
27266
 
  esac
27267
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 
27313
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
27314
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
27315
          /^X\(\/\/\)$/{ s//\1/; q; }
 
27316
          /^X\(\/\).*/{ s//\1/; q; }
 
27317
          s/.*/./; q'`
 
27318
    { if $as_mkdir_p; then
 
27319
    mkdir -p $dirpart/$fdir
 
27320
  else
 
27321
    as_dir=$dirpart/$fdir
27268
27322
    as_dirs=
27269
 
    while :; do
27270
 
      case $as_dir in #(
27271
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27272
 
      *) as_qdir=$as_dir;;
27273
 
      esac
27274
 
      as_dirs="'$as_qdir' $as_dirs"
27275
 
      as_dir=`$as_dirname -- "$as_dir" ||
 
27323
    while test ! -d "$as_dir"; do
 
27324
      as_dirs="$as_dir $as_dirs"
 
27325
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
27276
27326
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27277
27327
         X"$as_dir" : 'X\(//\)[^/]' \| \
27278
27328
         X"$as_dir" : 'X\(//\)$' \| \
27279
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
27329
         X"$as_dir" : 'X\(/\)' \| \
 
27330
         .     : '\(.\)' 2>/dev/null ||
27280
27331
echo X"$as_dir" |
27281
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27282
 
            s//\1/
27283
 
            q
27284
 
          }
27285
 
          /^X\(\/\/\)[^/].*/{
27286
 
            s//\1/
27287
 
            q
27288
 
          }
27289
 
          /^X\(\/\/\)$/{
27290
 
            s//\1/
27291
 
            q
27292
 
          }
27293
 
          /^X\(\/\).*/{
27294
 
            s//\1/
27295
 
            q
27296
 
          }
27297
 
          s/.*/./; q'`
27298
 
      test -d "$as_dir" && break
 
27332
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
27333
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
27334
          /^X\(\/\/\)$/{ s//\1/; q; }
 
27335
          /^X\(\/\).*/{ s//\1/; q; }
 
27336
          s/.*/./; q'`
27299
27337
    done
27300
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
27301
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27302
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
27338
    test ! -n "$as_dirs" || mkdir $as_dirs
 
27339
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
 
27340
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
27303
27341
   { (exit 1); exit 1; }; }; }
 
27342
 
27304
27343
    # echo "creating $dirpart/$file"
27305
27344
    echo '# dummy' > "$dirpart/$file"
27306
27345
  done
27307
27346
done
27308
27347
 ;;
27309
 
 
27310
27348
  esac
27311
 
done # for ac_tag
 
27349
done
 
27350
_ACEOF
27312
27351
 
 
27352
cat >>$CONFIG_STATUS <<\_ACEOF
27313
27353
 
27314
27354
{ (exit 0); exit 0; }
27315
27355
_ACEOF