~ubuntu-branches/ubuntu/raring/clucene-core/raring-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2009-08-19 08:51:17 UTC
  • mfrom: (5.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090819085117-v306opb2w81n44e0
Tags: 0.9.21b-2
* Restore libclucene0ldbl package name. (Closes: #542337)
* Bump Standards-Version to 3.8.3 (no changes needed).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.59.
 
3
# Generated by GNU Autoconf 2.61.
4
4
#
5
 
# Copyright (C) 2003 Free Software Foundation, Inc.
 
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
6
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6
7
# This configure script is free software; the Free Software Foundation
7
8
# gives unlimited permission to copy, distribute and modify it.
8
9
## --------------------- ##
9
10
## M4sh Initialization.  ##
10
11
## --------------------- ##
11
12
 
12
 
# Be Bourne compatible
13
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14
 
  emulate sh
15
 
  NULLCMD=:
16
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17
 
  # is contrary to our usage.  Disable this feature.
18
 
  alias -g '${1+"$@"}'='"$@"'
19
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20
 
  set -o posix
21
 
fi
 
13
# Be more Bourne compatible
22
14
DUALCASE=1; export DUALCASE # for MKS sh
 
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
16
  emulate sh
 
17
  NULLCMD=:
 
18
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
19
  # is contrary to our usage.  Disable this feature.
 
20
  alias -g '${1+"$@"}'='"$@"'
 
21
  setopt NO_GLOB_SUBST
 
22
else
 
23
  case `(set -o) 2>/dev/null` in
 
24
  *posix*) set -o posix ;;
 
25
esac
 
26
 
 
27
fi
 
28
 
 
29
 
 
30
 
 
31
 
 
32
# PATH needs CR
 
33
# Avoid depending upon Character Ranges.
 
34
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
37
as_cr_digits='0123456789'
 
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
39
 
 
40
# The user is always right.
 
41
if test "${PATH_SEPARATOR+set}" != set; then
 
42
  echo "#! /bin/sh" >conf$$.sh
 
43
  echo  "exit 0"   >>conf$$.sh
 
44
  chmod +x conf$$.sh
 
45
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
46
    PATH_SEPARATOR=';'
 
47
  else
 
48
    PATH_SEPARATOR=:
 
49
  fi
 
50
  rm -f conf$$.sh
 
51
fi
23
52
 
24
53
# Support unset when possible.
25
54
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29
58
fi
30
59
 
31
60
 
 
61
# IFS
 
62
# We need space, tab and new line, in precisely that order.  Quoting is
 
63
# there to prevent editors from complaining about space-tab.
 
64
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
65
# splitting by setting IFS to empty value.)
 
66
as_nl='
 
67
'
 
68
IFS=" ""        $as_nl"
 
69
 
 
70
# Find who we are.  Look in the path if we contain no directory separator.
 
71
case $0 in
 
72
  *[\\/]* ) as_myself=$0 ;;
 
73
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
74
for as_dir in $PATH
 
75
do
 
76
  IFS=$as_save_IFS
 
77
  test -z "$as_dir" && as_dir=.
 
78
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
79
done
 
80
IFS=$as_save_IFS
 
81
 
 
82
     ;;
 
83
esac
 
84
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
85
# in which case we are not to be found in the path.
 
86
if test "x$as_myself" = x; then
 
87
  as_myself=$0
 
88
fi
 
89
if test ! -f "$as_myself"; then
 
90
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
91
  { (exit 1); exit 1; }
 
92
fi
 
93
 
32
94
# Work around bugs in pre-3.0 UWIN ksh.
33
 
$as_unset ENV MAIL MAILPATH
 
95
for as_var in ENV MAIL MAILPATH
 
96
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
97
done
34
98
PS1='$ '
35
99
PS2='> '
36
100
PS4='+ '
44
108
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
109
    eval $as_var=C; export $as_var
46
110
  else
47
 
    $as_unset $as_var
 
111
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
48
112
  fi
49
113
done
50
114
 
51
115
# Required to use basename.
52
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
116
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
117
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
53
118
  as_expr=expr
54
119
else
55
120
  as_expr=false
56
121
fi
57
122
 
58
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
123
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59
124
  as_basename=basename
60
125
else
61
126
  as_basename=false
63
128
 
64
129
 
65
130
# Name of the executable.
66
 
as_me=`$as_basename "$0" ||
 
131
as_me=`$as_basename -- "$0" ||
67
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
133
         X"$0" : 'X\(//\)$' \| \
69
 
         X"$0" : 'X\(/\)$' \| \
70
 
         .     : '\(.\)' 2>/dev/null ||
 
134
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
71
135
echo X/"$0" |
72
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
74
 
          /^X\/\(\/\).*/{ s//\1/; q; }
75
 
          s/.*/./; q'`
76
 
 
77
 
 
78
 
# PATH needs CR, and LINENO needs CR and PATH.
79
 
# Avoid depending upon Character Ranges.
80
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
 
as_cr_digits='0123456789'
84
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
85
 
 
86
 
# The user is always right.
87
 
if test "${PATH_SEPARATOR+set}" != set; then
88
 
  echo "#! /bin/sh" >conf$$.sh
89
 
  echo  "exit 0"   >>conf$$.sh
90
 
  chmod +x conf$$.sh
91
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92
 
    PATH_SEPARATOR=';'
93
 
  else
94
 
    PATH_SEPARATOR=:
95
 
  fi
96
 
  rm -f conf$$.sh
97
 
fi
98
 
 
99
 
 
100
 
  as_lineno_1=$LINENO
101
 
  as_lineno_2=$LINENO
102
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
104
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105
 
  # Find who we are.  Look in the path if we contain no path at all
106
 
  # relative or not.
107
 
  case $0 in
108
 
    *[\\/]* ) as_myself=$0 ;;
109
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110
 
for as_dir in $PATH
111
 
do
112
 
  IFS=$as_save_IFS
113
 
  test -z "$as_dir" && as_dir=.
114
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115
 
done
116
 
 
117
 
       ;;
118
 
  esac
119
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
120
 
  # in which case we are not to be found in the path.
121
 
  if test "x$as_myself" = x; then
122
 
    as_myself=$0
123
 
  fi
124
 
  if test ! -f "$as_myself"; then
125
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
 
   { (exit 1); exit 1; }; }
127
 
  fi
128
 
  case $CONFIG_SHELL in
129
 
  '')
 
136
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
137
            s//\1/
 
138
            q
 
139
          }
 
140
          /^X\/\(\/\/\)$/{
 
141
            s//\1/
 
142
            q
 
143
          }
 
144
          /^X\/\(\/\).*/{
 
145
            s//\1/
 
146
            q
 
147
          }
 
148
          s/.*/./; q'`
 
149
 
 
150
# CDPATH.
 
151
$as_unset CDPATH
 
152
 
 
153
 
 
154
if test "x$CONFIG_SHELL" = x; then
 
155
  if (eval ":") 2>/dev/null; then
 
156
  as_have_required=yes
 
157
else
 
158
  as_have_required=no
 
159
fi
 
160
 
 
161
  if test $as_have_required = yes &&     (eval ":
 
162
(as_func_return () {
 
163
  (exit \$1)
 
164
}
 
165
as_func_success () {
 
166
  as_func_return 0
 
167
}
 
168
as_func_failure () {
 
169
  as_func_return 1
 
170
}
 
171
as_func_ret_success () {
 
172
  return 0
 
173
}
 
174
as_func_ret_failure () {
 
175
  return 1
 
176
}
 
177
 
 
178
exitcode=0
 
179
if as_func_success; then
 
180
  :
 
181
else
 
182
  exitcode=1
 
183
  echo as_func_success failed.
 
184
fi
 
185
 
 
186
if as_func_failure; then
 
187
  exitcode=1
 
188
  echo as_func_failure succeeded.
 
189
fi
 
190
 
 
191
if as_func_ret_success; then
 
192
  :
 
193
else
 
194
  exitcode=1
 
195
  echo as_func_ret_success failed.
 
196
fi
 
197
 
 
198
if as_func_ret_failure; then
 
199
  exitcode=1
 
200
  echo as_func_ret_failure succeeded.
 
201
fi
 
202
 
 
203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
204
  :
 
205
else
 
206
  exitcode=1
 
207
  echo positional parameters were not saved.
 
208
fi
 
209
 
 
210
test \$exitcode = 0) || { (exit 1); exit 1; }
 
211
 
 
212
(
 
213
  as_lineno_1=\$LINENO
 
214
  as_lineno_2=\$LINENO
 
215
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
216
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
217
") 2> /dev/null; then
 
218
  :
 
219
else
 
220
  as_candidate_shells=
130
221
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132
223
do
133
224
  IFS=$as_save_IFS
134
225
  test -z "$as_dir" && as_dir=.
135
 
  for as_base in sh bash ksh sh5; do
136
 
         case $as_dir in
 
226
  case $as_dir in
137
227
         /*)
138
 
           if ("$as_dir/$as_base" -c '
139
 
  as_lineno_1=$LINENO
140
 
  as_lineno_2=$LINENO
141
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
143
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
 
             CONFIG_SHELL=$as_dir/$as_base
147
 
             export CONFIG_SHELL
148
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149
 
           fi;;
150
 
         esac
151
 
       done
 
228
           for as_base in sh bash ksh sh5; do
 
229
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
230
           done;;
 
231
       esac
152
232
done
153
 
;;
154
 
  esac
 
233
IFS=$as_save_IFS
 
234
 
 
235
 
 
236
      for as_shell in $as_candidate_shells $SHELL; do
 
237
         # Try only shells that exist, to save several forks.
 
238
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
239
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
241
  emulate sh
 
242
  NULLCMD=:
 
243
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
244
  # is contrary to our usage.  Disable this feature.
 
245
  alias -g '${1+"$@"}'='"$@"'
 
246
  setopt NO_GLOB_SUBST
 
247
else
 
248
  case `(set -o) 2>/dev/null` in
 
249
  *posix*) set -o posix ;;
 
250
esac
 
251
 
 
252
fi
 
253
 
 
254
 
 
255
:
 
256
_ASEOF
 
257
}; then
 
258
  CONFIG_SHELL=$as_shell
 
259
               as_have_required=yes
 
260
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
262
  emulate sh
 
263
  NULLCMD=:
 
264
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
265
  # is contrary to our usage.  Disable this feature.
 
266
  alias -g '${1+"$@"}'='"$@"'
 
267
  setopt NO_GLOB_SUBST
 
268
else
 
269
  case `(set -o) 2>/dev/null` in
 
270
  *posix*) set -o posix ;;
 
271
esac
 
272
 
 
273
fi
 
274
 
 
275
 
 
276
:
 
277
(as_func_return () {
 
278
  (exit $1)
 
279
}
 
280
as_func_success () {
 
281
  as_func_return 0
 
282
}
 
283
as_func_failure () {
 
284
  as_func_return 1
 
285
}
 
286
as_func_ret_success () {
 
287
  return 0
 
288
}
 
289
as_func_ret_failure () {
 
290
  return 1
 
291
}
 
292
 
 
293
exitcode=0
 
294
if as_func_success; then
 
295
  :
 
296
else
 
297
  exitcode=1
 
298
  echo as_func_success failed.
 
299
fi
 
300
 
 
301
if as_func_failure; then
 
302
  exitcode=1
 
303
  echo as_func_failure succeeded.
 
304
fi
 
305
 
 
306
if as_func_ret_success; then
 
307
  :
 
308
else
 
309
  exitcode=1
 
310
  echo as_func_ret_success failed.
 
311
fi
 
312
 
 
313
if as_func_ret_failure; then
 
314
  exitcode=1
 
315
  echo as_func_ret_failure succeeded.
 
316
fi
 
317
 
 
318
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
319
  :
 
320
else
 
321
  exitcode=1
 
322
  echo positional parameters were not saved.
 
323
fi
 
324
 
 
325
test $exitcode = 0) || { (exit 1); exit 1; }
 
326
 
 
327
(
 
328
  as_lineno_1=$LINENO
 
329
  as_lineno_2=$LINENO
 
330
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
331
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
332
 
 
333
_ASEOF
 
334
}; then
 
335
  break
 
336
fi
 
337
 
 
338
fi
 
339
 
 
340
      done
 
341
 
 
342
      if test "x$CONFIG_SHELL" != x; then
 
343
  for as_var in BASH_ENV ENV
 
344
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
345
        done
 
346
        export CONFIG_SHELL
 
347
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
348
fi
 
349
 
 
350
 
 
351
    if test $as_have_required = no; then
 
352
  echo This script requires a shell more modern than all the
 
353
      echo shells that I found on your system.  Please install a
 
354
      echo modern shell, or manually run the script under such a
 
355
      echo shell if you do have one.
 
356
      { (exit 1); exit 1; }
 
357
fi
 
358
 
 
359
 
 
360
fi
 
361
 
 
362
fi
 
363
 
 
364
 
 
365
 
 
366
(eval "as_func_return () {
 
367
  (exit \$1)
 
368
}
 
369
as_func_success () {
 
370
  as_func_return 0
 
371
}
 
372
as_func_failure () {
 
373
  as_func_return 1
 
374
}
 
375
as_func_ret_success () {
 
376
  return 0
 
377
}
 
378
as_func_ret_failure () {
 
379
  return 1
 
380
}
 
381
 
 
382
exitcode=0
 
383
if as_func_success; then
 
384
  :
 
385
else
 
386
  exitcode=1
 
387
  echo as_func_success failed.
 
388
fi
 
389
 
 
390
if as_func_failure; then
 
391
  exitcode=1
 
392
  echo as_func_failure succeeded.
 
393
fi
 
394
 
 
395
if as_func_ret_success; then
 
396
  :
 
397
else
 
398
  exitcode=1
 
399
  echo as_func_ret_success failed.
 
400
fi
 
401
 
 
402
if as_func_ret_failure; then
 
403
  exitcode=1
 
404
  echo as_func_ret_failure succeeded.
 
405
fi
 
406
 
 
407
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
408
  :
 
409
else
 
410
  exitcode=1
 
411
  echo positional parameters were not saved.
 
412
fi
 
413
 
 
414
test \$exitcode = 0") || {
 
415
  echo No shell found that supports shell functions.
 
416
  echo Please tell autoconf@gnu.org about your system,
 
417
  echo including any error possibly output before this
 
418
  echo message
 
419
}
 
420
 
 
421
 
 
422
 
 
423
  as_lineno_1=$LINENO
 
424
  as_lineno_2=$LINENO
 
425
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
426
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
155
427
 
156
428
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
429
  # uniformly replaced by the line number.  The first 'sed' inserts a
158
 
  # line-number line before each line; the second 'sed' does the real
159
 
  # work.  The second script uses 'N' to pair each line-number line
160
 
  # with the numbered line, and appends trailing '-' during
161
 
  # substitution so that $LINENO is not a special case at line end.
 
430
  # line-number line after each line using $LINENO; the second 'sed'
 
431
  # does the real work.  The second script uses 'N' to pair each
 
432
  # line-number line with the line containing $LINENO, and appends
 
433
  # trailing '-' during substitution so that $LINENO is not a special
 
434
  # case at line end.
162
435
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164
 
  sed '=' <$as_myself |
 
436
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
437
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
438
  sed -n '
 
439
    p
 
440
    /[$]LINENO/=
 
441
  ' <$as_myself |
165
442
    sed '
 
443
      s/[$]LINENO.*/&-/
 
444
      t lineno
 
445
      b
 
446
      :lineno
166
447
      N
167
 
      s,$,-,
168
 
      : loop
169
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
448
      :loop
 
449
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
170
450
      t loop
171
 
      s,-$,,
172
 
      s,^['$as_cr_digits']*\n,,
 
451
      s/-\n.*//
173
452
    ' >$as_me.lineno &&
174
 
  chmod +x $as_me.lineno ||
 
453
  chmod +x "$as_me.lineno" ||
175
454
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
455
   { (exit 1); exit 1; }; }
177
456
 
178
457
  # Don't try to exec as it changes $[0], causing all sort of problems
179
458
  # (the dirname of $[0] is not the place where we might find the
180
 
  # original and so on.  Autoconf is especially sensible to this).
181
 
  . ./$as_me.lineno
 
459
  # original and so on.  Autoconf is especially sensitive to this).
 
460
  . "./$as_me.lineno"
182
461
  # Exit status is that of the last command.
183
462
  exit
184
463
}
185
464
 
186
465
 
187
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
 
  *c*,-n*) ECHO_N= ECHO_C='
189
 
' ECHO_T='      ' ;;
190
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
466
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
467
  as_dirname=dirname
 
468
else
 
469
  as_dirname=false
 
470
fi
 
471
 
 
472
ECHO_C= ECHO_N= ECHO_T=
 
473
case `echo -n x` in
 
474
-n*)
 
475
  case `echo 'x\c'` in
 
476
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
477
  *)   ECHO_C='\c';;
 
478
  esac;;
 
479
*)
 
480
  ECHO_N='-n';;
192
481
esac
193
482
 
194
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
483
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
484
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
195
485
  as_expr=expr
196
486
else
197
487
  as_expr=false
198
488
fi
199
489
 
200
490
rm -f conf$$ conf$$.exe conf$$.file
 
491
if test -d conf$$.dir; then
 
492
  rm -f conf$$.dir/conf$$.file
 
493
else
 
494
  rm -f conf$$.dir
 
495
  mkdir conf$$.dir
 
496
fi
201
497
echo >conf$$.file
202
498
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
 
  # We could just check for DJGPP; but this test a) works b) is more generic
204
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
 
  if test -f conf$$.exe; then
206
 
    # Don't use ln at all; we don't have any links
 
499
  as_ln_s='ln -s'
 
500
  # ... but there are two gotchas:
 
501
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
502
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
503
  # In both cases, we have to default to `cp -p'.
 
504
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
207
505
    as_ln_s='cp -p'
208
 
  else
209
 
    as_ln_s='ln -s'
210
 
  fi
211
506
elif ln conf$$.file conf$$ 2>/dev/null; then
212
507
  as_ln_s=ln
213
508
else
214
509
  as_ln_s='cp -p'
215
510
fi
216
 
rm -f conf$$ conf$$.exe conf$$.file
 
511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
512
rmdir conf$$.dir 2>/dev/null
217
513
 
218
514
if mkdir -p . 2>/dev/null; then
219
515
  as_mkdir_p=:
222
518
  as_mkdir_p=false
223
519
fi
224
520
 
225
 
as_executable_p="test -f"
 
521
if test -x / >/dev/null 2>&1; then
 
522
  as_test_x='test -x'
 
523
else
 
524
  if ls -dL / >/dev/null 2>&1; then
 
525
    as_ls_L_option=L
 
526
  else
 
527
    as_ls_L_option=
 
528
  fi
 
529
  as_test_x='
 
530
    eval sh -c '\''
 
531
      if test -d "$1"; then
 
532
        test -d "$1/.";
 
533
      else
 
534
        case $1 in
 
535
        -*)set "./$1";;
 
536
        esac;
 
537
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
538
        ???[sx]*):;;*)false;;esac;fi
 
539
    '\'' sh
 
540
  '
 
541
fi
 
542
as_executable_p=$as_test_x
226
543
 
227
544
# Sed expression to map a string onto a valid CPP name.
228
545
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
548
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
549
 
233
550
 
234
 
# IFS
235
 
# We need space, tab and new line, in precisely that order.
236
 
as_nl='
237
 
'
238
 
IFS="   $as_nl"
239
 
 
240
 
# CDPATH.
241
 
$as_unset CDPATH
242
 
 
243
551
 
244
552
 
245
553
# Check that we are running under the correct shell.
285
593
# find a string as large as possible, as long as the shell can cope with it
286
594
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287
595
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288
 
    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
289
 
       echo_test_string="`eval $cmd`" &&
 
596
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
 
597
       echo_test_string=`eval $cmd` &&
290
598
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
291
599
    then
292
600
      break
395
703
 
396
704
tagnames=${tagnames+${tagnames},}F77
397
705
 
 
706
exec 7<&0 </dev/null 6>&1
 
707
 
398
708
# Name of the host.
399
709
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
400
710
# so uname gets run too.
401
711
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
402
712
 
403
 
exec 6>&1
404
 
 
405
713
#
406
714
# Initializations.
407
715
#
408
716
ac_default_prefix=/usr/local
 
717
ac_clean_files=
409
718
ac_config_libobj_dir=.
 
719
LIBOBJS=
410
720
cross_compiling=no
411
721
subdirs=
412
722
MFLAGS=
413
723
MAKEFLAGS=
414
724
SHELL=${CONFIG_SHELL-/bin/sh}
415
725
 
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
 
 
421
726
# Identity of this package.
422
727
PACKAGE_NAME=
423
728
PACKAGE_TARNAME=
430
735
# Factoring default headers for most tests.
431
736
ac_includes_default="\
432
737
#include <stdio.h>
433
 
#if HAVE_SYS_TYPES_H
 
738
#ifdef HAVE_SYS_TYPES_H
434
739
# include <sys/types.h>
435
740
#endif
436
 
#if HAVE_SYS_STAT_H
 
741
#ifdef HAVE_SYS_STAT_H
437
742
# include <sys/stat.h>
438
743
#endif
439
 
#if STDC_HEADERS
 
744
#ifdef STDC_HEADERS
440
745
# include <stdlib.h>
441
746
# include <stddef.h>
442
747
#else
443
 
# if HAVE_STDLIB_H
 
748
# ifdef HAVE_STDLIB_H
444
749
#  include <stdlib.h>
445
750
# endif
446
751
#endif
447
 
#if HAVE_STRING_H
448
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
752
#ifdef HAVE_STRING_H
 
753
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
449
754
#  include <memory.h>
450
755
# endif
451
756
# include <string.h>
452
757
#endif
453
 
#if HAVE_STRINGS_H
 
758
#ifdef HAVE_STRINGS_H
454
759
# include <strings.h>
455
760
#endif
456
 
#if HAVE_INTTYPES_H
 
761
#ifdef HAVE_INTTYPES_H
457
762
# include <inttypes.h>
458
 
#else
459
 
# if HAVE_STDINT_H
460
 
#  include <stdint.h>
461
 
# endif
462
 
#endif
463
 
#if HAVE_UNISTD_H
 
763
#endif
 
764
#ifdef HAVE_STDINT_H
 
765
# include <stdint.h>
 
766
#endif
 
767
#ifdef HAVE_UNISTD_H
464
768
# include <unistd.h>
465
769
#endif"
466
770
 
467
 
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 CLLIB_VERSION 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 CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_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 CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL acx_pthread_config PTHREAD_CC PTHREAD_LIBS PTHREAD_CFLAGS DOXYGEN DOT enable_doxygen enable_dot POW_LIB LIBOBJS LTLIBOBJS'
 
771
ac_subst_vars='SHELL
 
772
PATH_SEPARATOR
 
773
PACKAGE_NAME
 
774
PACKAGE_TARNAME
 
775
PACKAGE_VERSION
 
776
PACKAGE_STRING
 
777
PACKAGE_BUGREPORT
 
778
exec_prefix
 
779
prefix
 
780
program_transform_name
 
781
bindir
 
782
sbindir
 
783
libexecdir
 
784
datarootdir
 
785
datadir
 
786
sysconfdir
 
787
sharedstatedir
 
788
localstatedir
 
789
includedir
 
790
oldincludedir
 
791
docdir
 
792
infodir
 
793
htmldir
 
794
dvidir
 
795
pdfdir
 
796
psdir
 
797
libdir
 
798
localedir
 
799
mandir
 
800
DEFS
 
801
ECHO_C
 
802
ECHO_N
 
803
ECHO_T
 
804
LIBS
 
805
build_alias
 
806
host_alias
 
807
target_alias
 
808
CLLIB_VERSION
 
809
INSTALL_PROGRAM
 
810
INSTALL_SCRIPT
 
811
INSTALL_DATA
 
812
CYGPATH_W
 
813
PACKAGE
 
814
VERSION
 
815
ACLOCAL
 
816
AUTOCONF
 
817
AUTOMAKE
 
818
AUTOHEADER
 
819
MAKEINFO
 
820
install_sh
 
821
STRIP
 
822
INSTALL_STRIP_PROGRAM
 
823
mkdir_p
 
824
AWK
 
825
SET_MAKE
 
826
am__leading_dot
 
827
AMTAR
 
828
am__tar
 
829
am__untar
 
830
CC
 
831
CFLAGS
 
832
LDFLAGS
 
833
CPPFLAGS
 
834
ac_ct_CC
 
835
EXEEXT
 
836
OBJEXT
 
837
DEPDIR
 
838
am__include
 
839
am__quote
 
840
AMDEP_TRUE
 
841
AMDEP_FALSE
 
842
AMDEPBACKSLASH
 
843
CCDEPMODE
 
844
am__fastdepCC_TRUE
 
845
am__fastdepCC_FALSE
 
846
CXX
 
847
CXXFLAGS
 
848
ac_ct_CXX
 
849
CXXDEPMODE
 
850
am__fastdepCXX_TRUE
 
851
am__fastdepCXX_FALSE
 
852
build
 
853
build_cpu
 
854
build_vendor
 
855
build_os
 
856
host
 
857
host_cpu
 
858
host_vendor
 
859
host_os
 
860
SED
 
861
GREP
 
862
EGREP
 
863
LN_S
 
864
ECHO
 
865
AR
 
866
RANLIB
 
867
DSYMUTIL
 
868
NMEDIT
 
869
CPP
 
870
CXXCPP
 
871
F77
 
872
FFLAGS
 
873
ac_ct_F77
 
874
LIBTOOL
 
875
acx_pthread_config
 
876
PTHREAD_CC
 
877
PTHREAD_LIBS
 
878
PTHREAD_CFLAGS
 
879
DOXYGEN
 
880
DOT
 
881
enable_doxygen
 
882
enable_dot
 
883
POW_LIB
 
884
LIBOBJS
 
885
LTLIBOBJS'
468
886
ac_subst_files=''
 
887
      ac_precious_vars='build_alias
 
888
host_alias
 
889
target_alias
 
890
CC
 
891
CFLAGS
 
892
LDFLAGS
 
893
LIBS
 
894
CPPFLAGS
 
895
CXX
 
896
CXXFLAGS
 
897
CCC
 
898
CPP
 
899
CXXCPP
 
900
F77
 
901
FFLAGS'
 
902
 
469
903
 
470
904
# Initialize some variables set by options.
471
905
ac_init_help=
492
926
# and all the variables that are supposed to be based on exec_prefix
493
927
# by default will actually change.
494
928
# Use braces instead of parens because sh, perl, etc. also accept them.
 
929
# (The list follows the same order as the GNU Coding Standards.)
495
930
bindir='${exec_prefix}/bin'
496
931
sbindir='${exec_prefix}/sbin'
497
932
libexecdir='${exec_prefix}/libexec'
498
 
datadir='${prefix}/share'
 
933
datarootdir='${prefix}/share'
 
934
datadir='${datarootdir}'
499
935
sysconfdir='${prefix}/etc'
500
936
sharedstatedir='${prefix}/com'
501
937
localstatedir='${prefix}/var'
502
 
libdir='${exec_prefix}/lib'
503
938
includedir='${prefix}/include'
504
939
oldincludedir='/usr/include'
505
 
infodir='${prefix}/info'
506
 
mandir='${prefix}/man'
 
940
docdir='${datarootdir}/doc/${PACKAGE}'
 
941
infodir='${datarootdir}/info'
 
942
htmldir='${docdir}'
 
943
dvidir='${docdir}'
 
944
pdfdir='${docdir}'
 
945
psdir='${docdir}'
 
946
libdir='${exec_prefix}/lib'
 
947
localedir='${datarootdir}/locale'
 
948
mandir='${datarootdir}/man'
507
949
 
508
950
ac_prev=
 
951
ac_dashdash=
509
952
for ac_option
510
953
do
511
954
  # If the previous option needs an argument, assign it.
512
955
  if test -n "$ac_prev"; then
513
 
    eval "$ac_prev=\$ac_option"
 
956
    eval $ac_prev=\$ac_option
514
957
    ac_prev=
515
958
    continue
516
959
  fi
517
960
 
518
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
961
  case $ac_option in
 
962
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
963
  *)    ac_optarg=yes ;;
 
964
  esac
519
965
 
520
966
  # Accept the important Cygnus configure options, so we can diagnose typos.
521
967
 
522
 
  case $ac_option in
 
968
  case $ac_dashdash$ac_option in
 
969
  --)
 
970
    ac_dashdash=yes ;;
523
971
 
524
972
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
525
973
    ac_prev=bindir ;;
541
989
  --config-cache | -C)
542
990
    cache_file=config.cache ;;
543
991
 
544
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
992
  -datadir | --datadir | --datadi | --datad)
545
993
    ac_prev=datadir ;;
546
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
547
 
  | --da=*)
 
994
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
548
995
    datadir=$ac_optarg ;;
549
996
 
 
997
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
998
  | --dataroo | --dataro | --datar)
 
999
    ac_prev=datarootdir ;;
 
1000
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1001
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1002
    datarootdir=$ac_optarg ;;
 
1003
 
550
1004
  -disable-* | --disable-*)
551
1005
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
552
1006
    # Reject names that are not valid shell variable names.
553
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1007
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
554
1008
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
555
1009
   { (exit 1); exit 1; }; }
556
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
557
 
    eval "enable_$ac_feature=no" ;;
 
1010
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1011
    eval enable_$ac_feature=no ;;
 
1012
 
 
1013
  -docdir | --docdir | --docdi | --doc | --do)
 
1014
    ac_prev=docdir ;;
 
1015
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1016
    docdir=$ac_optarg ;;
 
1017
 
 
1018
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1019
    ac_prev=dvidir ;;
 
1020
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1021
    dvidir=$ac_optarg ;;
558
1022
 
559
1023
  -enable-* | --enable-*)
560
1024
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
561
1025
    # Reject names that are not valid shell variable names.
562
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1026
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
563
1027
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
564
1028
   { (exit 1); exit 1; }; }
565
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
566
 
    case $ac_option in
567
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
568
 
      *) ac_optarg=yes ;;
569
 
    esac
570
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
1029
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1030
    eval enable_$ac_feature=\$ac_optarg ;;
571
1031
 
572
1032
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
573
1033
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
594
1054
  -host=* | --host=* | --hos=* | --ho=*)
595
1055
    host_alias=$ac_optarg ;;
596
1056
 
 
1057
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1058
    ac_prev=htmldir ;;
 
1059
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1060
  | --ht=*)
 
1061
    htmldir=$ac_optarg ;;
 
1062
 
597
1063
  -includedir | --includedir | --includedi | --included | --include \
598
1064
  | --includ | --inclu | --incl | --inc)
599
1065
    ac_prev=includedir ;;
618
1084
  | --libexe=* | --libex=* | --libe=*)
619
1085
    libexecdir=$ac_optarg ;;
620
1086
 
 
1087
  -localedir | --localedir | --localedi | --localed | --locale)
 
1088
    ac_prev=localedir ;;
 
1089
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1090
    localedir=$ac_optarg ;;
 
1091
 
621
1092
  -localstatedir | --localstatedir | --localstatedi | --localstated \
622
 
  | --localstate | --localstat | --localsta | --localst \
623
 
  | --locals | --local | --loca | --loc | --lo)
 
1093
  | --localstate | --localstat | --localsta | --localst | --locals)
624
1094
    ac_prev=localstatedir ;;
625
1095
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
626
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
627
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1096
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
628
1097
    localstatedir=$ac_optarg ;;
629
1098
 
630
1099
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
689
1158
  | --progr-tra=* | --program-tr=* | --program-t=*)
690
1159
    program_transform_name=$ac_optarg ;;
691
1160
 
 
1161
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1162
    ac_prev=pdfdir ;;
 
1163
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1164
    pdfdir=$ac_optarg ;;
 
1165
 
 
1166
  -psdir | --psdir | --psdi | --psd | --ps)
 
1167
    ac_prev=psdir ;;
 
1168
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1169
    psdir=$ac_optarg ;;
 
1170
 
692
1171
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
693
1172
  | -silent | --silent | --silen | --sile | --sil)
694
1173
    silent=yes ;;
741
1220
  -with-* | --with-*)
742
1221
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
743
1222
    # Reject names that are not valid shell variable names.
744
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1223
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
745
1224
      { echo "$as_me: error: invalid package name: $ac_package" >&2
746
1225
   { (exit 1); exit 1; }; }
747
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
748
 
    case $ac_option in
749
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
750
 
      *) ac_optarg=yes ;;
751
 
    esac
752
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1226
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1227
    eval with_$ac_package=\$ac_optarg ;;
753
1228
 
754
1229
  -without-* | --without-*)
755
1230
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
756
1231
    # Reject names that are not valid shell variable names.
757
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1232
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
758
1233
      { echo "$as_me: error: invalid package name: $ac_package" >&2
759
1234
   { (exit 1); exit 1; }; }
760
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
761
 
    eval "with_$ac_package=no" ;;
 
1235
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1236
    eval with_$ac_package=no ;;
762
1237
 
763
1238
  --x)
764
1239
    # Obsolete; use --with-x.
789
1264
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
790
1265
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
791
1266
   { (exit 1); exit 1; }; }
792
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
793
 
    eval "$ac_envvar='$ac_optarg'"
 
1267
    eval $ac_envvar=\$ac_optarg
794
1268
    export $ac_envvar ;;
795
1269
 
796
1270
  *)
810
1284
   { (exit 1); exit 1; }; }
811
1285
fi
812
1286
 
813
 
# Be sure to have absolute paths.
814
 
for ac_var in exec_prefix prefix
815
 
do
816
 
  eval ac_val=$`echo $ac_var`
817
 
  case $ac_val in
818
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
819
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
820
 
   { (exit 1); exit 1; }; };;
821
 
  esac
822
 
done
823
 
 
824
 
# Be sure to have absolute paths.
825
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
826
 
              localstatedir libdir includedir oldincludedir infodir mandir
827
 
do
828
 
  eval ac_val=$`echo $ac_var`
829
 
  case $ac_val in
830
 
    [\\/$]* | ?:[\\/]* ) ;;
831
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
832
 
   { (exit 1); exit 1; }; };;
833
 
  esac
 
1287
# Be sure to have absolute directory names.
 
1288
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1289
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1290
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1291
                libdir localedir mandir
 
1292
do
 
1293
  eval ac_val=\$$ac_var
 
1294
  case $ac_val in
 
1295
    [\\/$]* | ?:[\\/]* )  continue;;
 
1296
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1297
  esac
 
1298
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1299
   { (exit 1); exit 1; }; }
834
1300
done
835
1301
 
836
1302
# There might be people who depend on the old broken behavior: `$host'
857
1323
test "$silent" = yes && exec 6>/dev/null
858
1324
 
859
1325
 
 
1326
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1327
ac_ls_di=`ls -di .` &&
 
1328
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1329
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1330
   { (exit 1); exit 1; }; }
 
1331
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1332
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1333
   { (exit 1); exit 1; }; }
 
1334
 
 
1335
 
860
1336
# Find the source files, if location was not specified.
861
1337
if test -z "$srcdir"; then
862
1338
  ac_srcdir_defaulted=yes
863
 
  # Try the directory containing this script, then its parent.
864
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1339
  # Try the directory containing this script, then the parent directory.
 
1340
  ac_confdir=`$as_dirname -- "$0" ||
865
1341
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866
1342
         X"$0" : 'X\(//\)[^/]' \| \
867
1343
         X"$0" : 'X\(//\)$' \| \
868
 
         X"$0" : 'X\(/\)' \| \
869
 
         .     : '\(.\)' 2>/dev/null ||
 
1344
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
870
1345
echo X"$0" |
871
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
872
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
873
 
          /^X\(\/\/\)$/{ s//\1/; q; }
874
 
          /^X\(\/\).*/{ s//\1/; q; }
875
 
          s/.*/./; q'`
 
1346
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1347
            s//\1/
 
1348
            q
 
1349
          }
 
1350
          /^X\(\/\/\)[^/].*/{
 
1351
            s//\1/
 
1352
            q
 
1353
          }
 
1354
          /^X\(\/\/\)$/{
 
1355
            s//\1/
 
1356
            q
 
1357
          }
 
1358
          /^X\(\/\).*/{
 
1359
            s//\1/
 
1360
            q
 
1361
          }
 
1362
          s/.*/./; q'`
876
1363
  srcdir=$ac_confdir
877
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1364
  if test ! -r "$srcdir/$ac_unique_file"; then
878
1365
    srcdir=..
879
1366
  fi
880
1367
else
881
1368
  ac_srcdir_defaulted=no
882
1369
fi
883
 
if test ! -r $srcdir/$ac_unique_file; then
884
 
  if test "$ac_srcdir_defaulted" = yes; then
885
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
886
 
   { (exit 1); exit 1; }; }
887
 
  else
888
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
889
 
   { (exit 1); exit 1; }; }
890
 
  fi
891
 
fi
892
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
893
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
894
 
   { (exit 1); exit 1; }; }
895
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
896
 
ac_env_build_alias_set=${build_alias+set}
897
 
ac_env_build_alias_value=$build_alias
898
 
ac_cv_env_build_alias_set=${build_alias+set}
899
 
ac_cv_env_build_alias_value=$build_alias
900
 
ac_env_host_alias_set=${host_alias+set}
901
 
ac_env_host_alias_value=$host_alias
902
 
ac_cv_env_host_alias_set=${host_alias+set}
903
 
ac_cv_env_host_alias_value=$host_alias
904
 
ac_env_target_alias_set=${target_alias+set}
905
 
ac_env_target_alias_value=$target_alias
906
 
ac_cv_env_target_alias_set=${target_alias+set}
907
 
ac_cv_env_target_alias_value=$target_alias
908
 
ac_env_CC_set=${CC+set}
909
 
ac_env_CC_value=$CC
910
 
ac_cv_env_CC_set=${CC+set}
911
 
ac_cv_env_CC_value=$CC
912
 
ac_env_CFLAGS_set=${CFLAGS+set}
913
 
ac_env_CFLAGS_value=$CFLAGS
914
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
915
 
ac_cv_env_CFLAGS_value=$CFLAGS
916
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
917
 
ac_env_LDFLAGS_value=$LDFLAGS
918
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
919
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
920
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
921
 
ac_env_CPPFLAGS_value=$CPPFLAGS
922
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
923
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
924
 
ac_env_CXX_set=${CXX+set}
925
 
ac_env_CXX_value=$CXX
926
 
ac_cv_env_CXX_set=${CXX+set}
927
 
ac_cv_env_CXX_value=$CXX
928
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
929
 
ac_env_CXXFLAGS_value=$CXXFLAGS
930
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
931
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
932
 
ac_env_CPP_set=${CPP+set}
933
 
ac_env_CPP_value=$CPP
934
 
ac_cv_env_CPP_set=${CPP+set}
935
 
ac_cv_env_CPP_value=$CPP
936
 
ac_env_CXXCPP_set=${CXXCPP+set}
937
 
ac_env_CXXCPP_value=$CXXCPP
938
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
939
 
ac_cv_env_CXXCPP_value=$CXXCPP
940
 
ac_env_F77_set=${F77+set}
941
 
ac_env_F77_value=$F77
942
 
ac_cv_env_F77_set=${F77+set}
943
 
ac_cv_env_F77_value=$F77
944
 
ac_env_FFLAGS_set=${FFLAGS+set}
945
 
ac_env_FFLAGS_value=$FFLAGS
946
 
ac_cv_env_FFLAGS_set=${FFLAGS+set}
947
 
ac_cv_env_FFLAGS_value=$FFLAGS
 
1370
if test ! -r "$srcdir/$ac_unique_file"; then
 
1371
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1372
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1373
   { (exit 1); exit 1; }; }
 
1374
fi
 
1375
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1376
ac_abs_confdir=`(
 
1377
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1378
   { (exit 1); exit 1; }; }
 
1379
        pwd)`
 
1380
# When building in place, set srcdir=.
 
1381
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1382
  srcdir=.
 
1383
fi
 
1384
# Remove unnecessary trailing slashes from srcdir.
 
1385
# Double slashes in file names in object file debugging info
 
1386
# mess up M-x gdb in Emacs.
 
1387
case $srcdir in
 
1388
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1389
esac
 
1390
for ac_var in $ac_precious_vars; do
 
1391
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1392
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1393
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1394
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1395
done
948
1396
 
949
1397
#
950
1398
# Report the --help message.
973
1421
  -n, --no-create         do not create output files
974
1422
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
975
1423
 
976
 
_ACEOF
977
 
 
978
 
  cat <<_ACEOF
979
1424
Installation directories:
980
1425
  --prefix=PREFIX         install architecture-independent files in PREFIX
981
1426
                          [$ac_default_prefix]
993
1438
  --bindir=DIR           user executables [EPREFIX/bin]
994
1439
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
995
1440
  --libexecdir=DIR       program executables [EPREFIX/libexec]
996
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
997
1441
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
998
1442
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
999
1443
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1000
1444
  --libdir=DIR           object code libraries [EPREFIX/lib]
1001
1445
  --includedir=DIR       C header files [PREFIX/include]
1002
1446
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1003
 
  --infodir=DIR          info documentation [PREFIX/info]
1004
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1447
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1448
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1449
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1450
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1451
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1452
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
 
1453
  --htmldir=DIR          html documentation [DOCDIR]
 
1454
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1455
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1456
  --psdir=DIR            ps documentation [DOCDIR]
1005
1457
_ACEOF
1006
1458
 
1007
1459
  cat <<\_ACEOF
1026
1478
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1027
1479
  --disable-dependency-tracking  speeds up one-time build
1028
1480
  --enable-dependency-tracking   do not reject slow dependency extractors
1029
 
  --enable-shared[=PKGS]
1030
 
                          build shared libraries [default=yes]
1031
 
  --enable-static[=PKGS]
1032
 
                          build static libraries [default=yes]
 
1481
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1482
  --enable-static[=PKGS]  build static libraries [default=yes]
1033
1483
  --enable-fast-install[=PKGS]
1034
1484
                          optimize for fast installation [default=yes]
1035
1485
  --disable-libtool-lock  avoid locking (might break parallel builds)
1047
1497
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1048
1498
  --with-pic              try to use only PIC/non-PIC objects [default=use
1049
1499
                          both]
1050
 
  --with-tags[=TAGS]
1051
 
                          include additional configurations [automatic]
 
1500
  --with-tags[=TAGS]      include additional configurations [automatic]
1052
1501
 
1053
1502
Some influential environment variables:
1054
1503
  CC          C compiler command
1055
1504
  CFLAGS      C compiler flags
1056
1505
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1057
1506
              nonstandard directory <lib dir>
1058
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1059
 
              headers in a nonstandard directory <include dir>
 
1507
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1508
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1509
              you have headers in a nonstandard directory <include dir>
1060
1510
  CXX         C++ compiler command
1061
1511
  CXXFLAGS    C++ compiler flags
1062
1512
  CPP         C preprocessor
1068
1518
it to find libraries and programs with nonstandard names/locations.
1069
1519
 
1070
1520
_ACEOF
 
1521
ac_status=$?
1071
1522
fi
1072
1523
 
1073
1524
if test "$ac_init_help" = "recursive"; then
1074
1525
  # If there are subdirs, report their specific --help.
1075
 
  ac_popdir=`pwd`
1076
1526
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1077
 
    test -d $ac_dir || continue
 
1527
    test -d "$ac_dir" || continue
1078
1528
    ac_builddir=.
1079
1529
 
1080
 
if test "$ac_dir" != .; then
 
1530
case "$ac_dir" in
 
1531
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1532
*)
1081
1533
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1082
 
  # A "../" for each directory in $ac_dir_suffix.
1083
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1084
 
else
1085
 
  ac_dir_suffix= ac_top_builddir=
1086
 
fi
 
1534
  # A ".." for each directory in $ac_dir_suffix.
 
1535
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1536
  case $ac_top_builddir_sub in
 
1537
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1538
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1539
  esac ;;
 
1540
esac
 
1541
ac_abs_top_builddir=$ac_pwd
 
1542
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1543
# for backward compatibility:
 
1544
ac_top_builddir=$ac_top_build_prefix
1087
1545
 
1088
1546
case $srcdir in
1089
 
  .)  # No --srcdir option.  We are building in place.
 
1547
  .)  # We are building in place.
1090
1548
    ac_srcdir=.
1091
 
    if test -z "$ac_top_builddir"; then
1092
 
       ac_top_srcdir=.
1093
 
    else
1094
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1095
 
    fi ;;
1096
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1549
    ac_top_srcdir=$ac_top_builddir_sub
 
1550
    ac_abs_top_srcdir=$ac_pwd ;;
 
1551
  [\\/]* | ?:[\\/]* )  # Absolute name.
1097
1552
    ac_srcdir=$srcdir$ac_dir_suffix;
1098
 
    ac_top_srcdir=$srcdir ;;
1099
 
  *) # Relative path.
1100
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1101
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1102
 
esac
1103
 
 
1104
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1105
 
# the directories may not exist.
1106
 
case `pwd` in
1107
 
.) ac_abs_builddir="$ac_dir";;
1108
 
*)
1109
 
  case "$ac_dir" in
1110
 
  .) ac_abs_builddir=`pwd`;;
1111
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1112
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1113
 
  esac;;
1114
 
esac
1115
 
case $ac_abs_builddir in
1116
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1117
 
*)
1118
 
  case ${ac_top_builddir}. in
1119
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1120
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1121
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1122
 
  esac;;
1123
 
esac
1124
 
case $ac_abs_builddir in
1125
 
.) ac_abs_srcdir=$ac_srcdir;;
1126
 
*)
1127
 
  case $ac_srcdir in
1128
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1129
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1130
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1131
 
  esac;;
1132
 
esac
1133
 
case $ac_abs_builddir in
1134
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1135
 
*)
1136
 
  case $ac_top_srcdir in
1137
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1138
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1139
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1140
 
  esac;;
1141
 
esac
1142
 
 
1143
 
    cd $ac_dir
1144
 
    # Check for guested configure; otherwise get Cygnus style configure.
1145
 
    if test -f $ac_srcdir/configure.gnu; then
1146
 
      echo
1147
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1148
 
    elif test -f $ac_srcdir/configure; then
1149
 
      echo
1150
 
      $SHELL $ac_srcdir/configure  --help=recursive
1151
 
    elif test -f $ac_srcdir/configure.ac ||
1152
 
           test -f $ac_srcdir/configure.in; then
1153
 
      echo
1154
 
      $ac_configure --help
 
1553
    ac_top_srcdir=$srcdir
 
1554
    ac_abs_top_srcdir=$srcdir ;;
 
1555
  *) # Relative name.
 
1556
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1557
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1558
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1559
esac
 
1560
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1561
 
 
1562
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1563
    # Check for guested configure.
 
1564
    if test -f "$ac_srcdir/configure.gnu"; then
 
1565
      echo &&
 
1566
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1567
    elif test -f "$ac_srcdir/configure"; then
 
1568
      echo &&
 
1569
      $SHELL "$ac_srcdir/configure" --help=recursive
1155
1570
    else
1156
1571
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1157
 
    fi
1158
 
    cd $ac_popdir
 
1572
    fi || ac_status=$?
 
1573
    cd "$ac_pwd" || { ac_status=$?; break; }
1159
1574
  done
1160
1575
fi
1161
1576
 
1162
 
test -n "$ac_init_help" && exit 0
 
1577
test -n "$ac_init_help" && exit $ac_status
1163
1578
if $ac_init_version; then
1164
1579
  cat <<\_ACEOF
 
1580
configure
 
1581
generated by GNU Autoconf 2.61
1165
1582
 
1166
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1583
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1584
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1167
1585
This configure script is free software; the Free Software Foundation
1168
1586
gives unlimited permission to copy, distribute and modify it.
1169
1587
_ACEOF
1170
 
  exit 0
 
1588
  exit
1171
1589
fi
1172
 
exec 5>config.log
1173
 
cat >&5 <<_ACEOF
 
1590
cat >config.log <<_ACEOF
1174
1591
This file contains any messages produced by compilers while
1175
1592
running configure, to aid debugging if configure makes a mistake.
1176
1593
 
1177
1594
It was created by $as_me, which was
1178
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1595
generated by GNU Autoconf 2.61.  Invocation command line was
1179
1596
 
1180
1597
  $ $0 $@
1181
1598
 
1182
1599
_ACEOF
 
1600
exec 5>>config.log
1183
1601
{
1184
1602
cat <<_ASUNAME
1185
1603
## --------- ##
1198
1616
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1199
1617
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1200
1618
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1201
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1619
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1202
1620
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1203
1621
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1204
1622
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1212
1630
  test -z "$as_dir" && as_dir=.
1213
1631
  echo "PATH: $as_dir"
1214
1632
done
 
1633
IFS=$as_save_IFS
1215
1634
 
1216
1635
} >&5
1217
1636
 
1233
1652
ac_configure_args=
1234
1653
ac_configure_args0=
1235
1654
ac_configure_args1=
1236
 
ac_sep=
1237
1655
ac_must_keep_next=false
1238
1656
for ac_pass in 1 2
1239
1657
do
1244
1662
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1245
1663
    | -silent | --silent | --silen | --sile | --sil)
1246
1664
      continue ;;
1247
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1665
    *\'*)
1248
1666
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1249
1667
    esac
1250
1668
    case $ac_pass in
1266
1684
          -* ) ac_must_keep_next=true ;;
1267
1685
        esac
1268
1686
      fi
1269
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1270
 
      # Get rid of the leading space.
1271
 
      ac_sep=" "
 
1687
      ac_configure_args="$ac_configure_args '$ac_arg'"
1272
1688
      ;;
1273
1689
    esac
1274
1690
  done
1279
1695
# When interrupted or exit'd, cleanup temporary files, and complete
1280
1696
# config.log.  We remove comments because anyway the quotes in there
1281
1697
# would cause problems or look ugly.
1282
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1283
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1698
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1699
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1284
1700
trap 'exit_status=$?
1285
1701
  # Save into config.log some information that might help in debugging.
1286
1702
  {
1293
1709
_ASBOX
1294
1710
    echo
1295
1711
    # The following way of writing the cache mishandles newlines in values,
1296
 
{
 
1712
(
 
1713
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1714
    eval ac_val=\$$ac_var
 
1715
    case $ac_val in #(
 
1716
    *${as_nl}*)
 
1717
      case $ac_var in #(
 
1718
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1719
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1720
      esac
 
1721
      case $ac_var in #(
 
1722
      _ | IFS | as_nl) ;; #(
 
1723
      *) $as_unset $ac_var ;;
 
1724
      esac ;;
 
1725
    esac
 
1726
  done
1297
1727
  (set) 2>&1 |
1298
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1299
 
    *ac_space=\ *)
 
1728
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1729
    *${as_nl}ac_space=\ *)
1300
1730
      sed -n \
1301
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1302
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1303
 
      ;;
 
1731
        "s/'\''/'\''\\\\'\'''\''/g;
 
1732
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1733
      ;; #(
1304
1734
    *)
1305
 
      sed -n \
1306
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1735
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1307
1736
      ;;
1308
 
    esac;
1309
 
}
 
1737
    esac |
 
1738
    sort
 
1739
)
1310
1740
    echo
1311
1741
 
1312
1742
    cat <<\_ASBOX
1317
1747
    echo
1318
1748
    for ac_var in $ac_subst_vars
1319
1749
    do
1320
 
      eval ac_val=$`echo $ac_var`
1321
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1750
      eval ac_val=\$$ac_var
 
1751
      case $ac_val in
 
1752
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1753
      esac
 
1754
      echo "$ac_var='\''$ac_val'\''"
1322
1755
    done | sort
1323
1756
    echo
1324
1757
 
1325
1758
    if test -n "$ac_subst_files"; then
1326
1759
      cat <<\_ASBOX
1327
 
## ------------- ##
1328
 
## Output files. ##
1329
 
## ------------- ##
 
1760
## ------------------- ##
 
1761
## File substitutions. ##
 
1762
## ------------------- ##
1330
1763
_ASBOX
1331
1764
      echo
1332
1765
      for ac_var in $ac_subst_files
1333
1766
      do
1334
 
        eval ac_val=$`echo $ac_var`
1335
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1767
        eval ac_val=\$$ac_var
 
1768
        case $ac_val in
 
1769
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1770
        esac
 
1771
        echo "$ac_var='\''$ac_val'\''"
1336
1772
      done | sort
1337
1773
      echo
1338
1774
    fi
1344
1780
## ----------- ##
1345
1781
_ASBOX
1346
1782
      echo
1347
 
      sed "/^$/d" confdefs.h | sort
 
1783
      cat confdefs.h
1348
1784
      echo
1349
1785
    fi
1350
1786
    test "$ac_signal" != 0 &&
1351
1787
      echo "$as_me: caught signal $ac_signal"
1352
1788
    echo "$as_me: exit $exit_status"
1353
1789
  } >&5
1354
 
  rm -f core *.core &&
1355
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1790
  rm -f core *.core core.conftest.* &&
 
1791
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1356
1792
    exit $exit_status
1357
 
     ' 0
 
1793
' 0
1358
1794
for ac_signal in 1 2 13 15; do
1359
1795
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1360
1796
done
1361
1797
ac_signal=0
1362
1798
 
1363
1799
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1364
 
rm -rf conftest* confdefs.h
1365
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1366
 
echo >confdefs.h
 
1800
rm -f -r conftest* confdefs.h
1367
1801
 
1368
1802
# Predefined preprocessor variables.
1369
1803
 
1394
1828
 
1395
1829
# Let the site file select an alternate cache file if it wants to.
1396
1830
# Prefer explicitly selected file to automatically selected ones.
1397
 
if test -z "$CONFIG_SITE"; then
1398
 
  if test "x$prefix" != xNONE; then
1399
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1400
 
  else
1401
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1402
 
  fi
 
1831
if test -n "$CONFIG_SITE"; then
 
1832
  set x "$CONFIG_SITE"
 
1833
elif test "x$prefix" != xNONE; then
 
1834
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1835
else
 
1836
  set x "$ac_default_prefix/share/config.site" \
 
1837
        "$ac_default_prefix/etc/config.site"
1403
1838
fi
1404
 
for ac_site_file in $CONFIG_SITE; do
 
1839
shift
 
1840
for ac_site_file
 
1841
do
1405
1842
  if test -r "$ac_site_file"; then
1406
1843
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1407
1844
echo "$as_me: loading site script $ac_site_file" >&6;}
1417
1854
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1418
1855
echo "$as_me: loading cache $cache_file" >&6;}
1419
1856
    case $cache_file in
1420
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1421
 
      *)                      . ./$cache_file;;
 
1857
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1858
      *)                      . "./$cache_file";;
1422
1859
    esac
1423
1860
  fi
1424
1861
else
1430
1867
# Check that the precious variables saved in the cache have kept the same
1431
1868
# value.
1432
1869
ac_cache_corrupted=false
1433
 
for ac_var in `(set) 2>&1 |
1434
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1870
for ac_var in $ac_precious_vars; do
1435
1871
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1436
1872
  eval ac_new_set=\$ac_env_${ac_var}_set
1437
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1438
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1873
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1874
  eval ac_new_val=\$ac_env_${ac_var}_value
1439
1875
  case $ac_old_set,$ac_new_set in
1440
1876
    set,)
1441
1877
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1460
1896
  # Pass precious variables to config.status.
1461
1897
  if test "$ac_new_set" = set; then
1462
1898
    case $ac_new_val in
1463
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1464
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1899
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1465
1900
    *) ac_arg=$ac_var=$ac_new_val ;;
1466
1901
    esac
1467
1902
    case " $ac_configure_args " in
1478
1913
   { (exit 1); exit 1; }; }
1479
1914
fi
1480
1915
 
 
1916
 
 
1917
 
 
1918
 
 
1919
 
 
1920
 
 
1921
 
 
1922
 
 
1923
 
 
1924
 
 
1925
 
 
1926
 
 
1927
 
 
1928
 
 
1929
 
 
1930
 
 
1931
 
1481
1932
ac_ext=c
1482
1933
ac_cpp='$CPP $CPPFLAGS'
1483
1934
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1486
1937
 
1487
1938
 
1488
1939
 
1489
 
 
1490
 
 
1491
 
 
1492
 
 
1493
 
 
1494
 
 
1495
 
 
1496
 
 
1497
 
 
1498
 
 
1499
 
 
1500
 
 
1501
 
 
1502
 
 
1503
 
 
1504
 
 
1505
 
 
1506
 
VERSION=0.9.20
 
1940
VERSION=0.9.21b
1507
1941
 
1508
1942
clLIB_current=3
1509
1943
 
1510
 
clLIB_revision=0
 
1944
clLIB_revision=1
1511
1945
 
1512
1946
clLIB_age=0
1513
1947
 
1522
1956
 
1523
1957
 
1524
1958
ac_aux_dir=
1525
 
for ac_dir in config $srcdir/config; do
1526
 
  if test -f $ac_dir/install-sh; then
 
1959
for ac_dir in config "$srcdir"/config; do
 
1960
  if test -f "$ac_dir/install-sh"; then
1527
1961
    ac_aux_dir=$ac_dir
1528
1962
    ac_install_sh="$ac_aux_dir/install-sh -c"
1529
1963
    break
1530
 
  elif test -f $ac_dir/install.sh; then
 
1964
  elif test -f "$ac_dir/install.sh"; then
1531
1965
    ac_aux_dir=$ac_dir
1532
1966
    ac_install_sh="$ac_aux_dir/install.sh -c"
1533
1967
    break
1534
 
  elif test -f $ac_dir/shtool; then
 
1968
  elif test -f "$ac_dir/shtool"; then
1535
1969
    ac_aux_dir=$ac_dir
1536
1970
    ac_install_sh="$ac_aux_dir/shtool install -c"
1537
1971
    break
1538
1972
  fi
1539
1973
done
1540
1974
if test -z "$ac_aux_dir"; then
1541
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1542
 
echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
 
1975
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
 
1976
echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
1543
1977
   { (exit 1); exit 1; }; }
1544
1978
fi
1545
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1546
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1547
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1548
 
 
1549
 
          ac_config_headers="$ac_config_headers config.h.tmp"
1550
 
 
1551
 
 
1552
 
          ac_config_commands="$ac_config_commands src/CLucene/clucene-config.h"
 
1979
 
 
1980
# These three variables are undocumented and unsupported,
 
1981
# and are intended to be withdrawn in a future Autoconf release.
 
1982
# They can cause serious problems if a builder's source tree is in a directory
 
1983
# whose full name contains unusual characters.
 
1984
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
1985
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
1986
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
1987
 
 
1988
 
 
1989
ac_config_headers="$ac_config_headers config.h.tmp"
 
1990
 
 
1991
 
 
1992
ac_config_commands="$ac_config_commands src/CLucene/clucene-config.h"
1553
1993
 
1554
1994
am__api_version="1.9"
1555
1995
# Find a good install program.  We prefer a C program (faster),
1565
2005
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1566
2006
# OS/2's system install, which has a completely different semantic
1567
2007
# ./install, which can be erroneously created by make from ./install.sh.
1568
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1569
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2008
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2009
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1570
2010
if test -z "$INSTALL"; then
1571
2011
if test "${ac_cv_path_install+set}" = set; then
1572
2012
  echo $ECHO_N "(cached) $ECHO_C" >&6
1588
2028
    # by default.
1589
2029
    for ac_prog in ginstall scoinst install; do
1590
2030
      for ac_exec_ext in '' $ac_executable_extensions; do
1591
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2031
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1592
2032
          if test $ac_prog = install &&
1593
2033
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1594
2034
            # AIX install.  It has an incompatible calling convention.
1607
2047
    ;;
1608
2048
esac
1609
2049
done
 
2050
IFS=$as_save_IFS
1610
2051
 
1611
2052
 
1612
2053
fi
1613
2054
  if test "${ac_cv_path_install+set}" = set; then
1614
2055
    INSTALL=$ac_cv_path_install
1615
2056
  else
1616
 
    # As a last resort, use the slow shell script.  We don't cache a
1617
 
    # path for INSTALL within a source directory, because that will
 
2057
    # As a last resort, use the slow shell script.  Don't cache a
 
2058
    # value for INSTALL within a source directory, because that will
1618
2059
    # break other packages using the cache if that directory is
1619
 
    # removed, or if the path is relative.
 
2060
    # removed, or if the value is a relative name.
1620
2061
    INSTALL=$ac_install_sh
1621
2062
  fi
1622
2063
fi
1623
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1624
 
echo "${ECHO_T}$INSTALL" >&6
 
2064
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2065
echo "${ECHO_T}$INSTALL" >&6; }
1625
2066
 
1626
2067
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1627
2068
# It thinks the first close brace ends the variable substitution.
1631
2072
 
1632
2073
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1633
2074
 
1634
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1635
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2075
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2076
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1636
2077
# Just in case
1637
2078
sleep 1
1638
2079
echo timestamp > conftest.file
1674
2115
Check your system clock" >&2;}
1675
2116
   { (exit 1); exit 1; }; }
1676
2117
fi
1677
 
echo "$as_me:$LINENO: result: yes" >&5
1678
 
echo "${ECHO_T}yes" >&6
 
2118
{ echo "$as_me:$LINENO: result: yes" >&5
 
2119
echo "${ECHO_T}yes" >&6; }
1679
2120
test "$program_prefix" != NONE &&
1680
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2121
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1681
2122
# Use a double $ so make ignores it.
1682
2123
test "$program_suffix" != NONE &&
1683
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
2124
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1684
2125
# Double any \ or $.  echo might interpret backslashes.
1685
2126
# By default was `s,x,x', remove it if useless.
1686
2127
cat <<\_ACEOF >conftest.sed
1687
2128
s/[\\$]/&&/g;s/;s,x,x,$//
1688
2129
_ACEOF
1689
2130
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1690
 
rm conftest.sed
 
2131
rm -f conftest.sed
1691
2132
 
1692
2133
# expand $ac_aux_dir to an absolute path
1693
2134
am_aux_dir=`cd $ac_aux_dir && pwd`
1739
2180
do
1740
2181
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1741
2182
set dummy $ac_prog; ac_word=$2
1742
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1743
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2183
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2184
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1744
2185
if test "${ac_cv_prog_AWK+set}" = set; then
1745
2186
  echo $ECHO_N "(cached) $ECHO_C" >&6
1746
2187
else
1753
2194
  IFS=$as_save_IFS
1754
2195
  test -z "$as_dir" && as_dir=.
1755
2196
  for ac_exec_ext in '' $ac_executable_extensions; do
1756
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2197
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1757
2198
    ac_cv_prog_AWK="$ac_prog"
1758
2199
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1759
2200
    break 2
1760
2201
  fi
1761
2202
done
1762
2203
done
 
2204
IFS=$as_save_IFS
1763
2205
 
1764
2206
fi
1765
2207
fi
1766
2208
AWK=$ac_cv_prog_AWK
1767
2209
if test -n "$AWK"; then
1768
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1769
 
echo "${ECHO_T}$AWK" >&6
 
2210
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
2211
echo "${ECHO_T}$AWK" >&6; }
1770
2212
else
1771
 
  echo "$as_me:$LINENO: result: no" >&5
1772
 
echo "${ECHO_T}no" >&6
 
2213
  { echo "$as_me:$LINENO: result: no" >&5
 
2214
echo "${ECHO_T}no" >&6; }
1773
2215
fi
1774
2216
 
 
2217
 
1775
2218
  test -n "$AWK" && break
1776
2219
done
1777
2220
 
1778
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1779
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1780
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1781
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
2221
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2222
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
2223
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2224
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1782
2225
  echo $ECHO_N "(cached) $ECHO_C" >&6
1783
2226
else
1784
2227
  cat >conftest.make <<\_ACEOF
 
2228
SHELL = /bin/sh
1785
2229
all:
1786
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2230
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1787
2231
_ACEOF
1788
2232
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1789
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1790
 
if test -n "$ac_maketemp"; then
1791
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1792
 
else
1793
 
  eval ac_cv_prog_make_${ac_make}_set=no
1794
 
fi
 
2233
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2234
  *@@@%%%=?*=@@@%%%*)
 
2235
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2236
  *)
 
2237
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2238
esac
1795
2239
rm -f conftest.make
1796
2240
fi
1797
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1798
 
  echo "$as_me:$LINENO: result: yes" >&5
1799
 
echo "${ECHO_T}yes" >&6
 
2241
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2242
  { echo "$as_me:$LINENO: result: yes" >&5
 
2243
echo "${ECHO_T}yes" >&6; }
1800
2244
  SET_MAKE=
1801
2245
else
1802
 
  echo "$as_me:$LINENO: result: no" >&5
1803
 
echo "${ECHO_T}no" >&6
 
2246
  { echo "$as_me:$LINENO: result: no" >&5
 
2247
echo "${ECHO_T}no" >&6; }
1804
2248
  SET_MAKE="MAKE=${MAKE-make}"
1805
2249
fi
1806
2250
 
1871
2315
  if test -n "$ac_tool_prefix"; then
1872
2316
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1873
2317
set dummy ${ac_tool_prefix}strip; ac_word=$2
1874
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1875
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2318
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2319
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1876
2320
if test "${ac_cv_prog_STRIP+set}" = set; then
1877
2321
  echo $ECHO_N "(cached) $ECHO_C" >&6
1878
2322
else
1885
2329
  IFS=$as_save_IFS
1886
2330
  test -z "$as_dir" && as_dir=.
1887
2331
  for ac_exec_ext in '' $ac_executable_extensions; do
1888
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2332
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1889
2333
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1890
2334
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1891
2335
    break 2
1892
2336
  fi
1893
2337
done
1894
2338
done
 
2339
IFS=$as_save_IFS
1895
2340
 
1896
2341
fi
1897
2342
fi
1898
2343
STRIP=$ac_cv_prog_STRIP
1899
2344
if test -n "$STRIP"; then
1900
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1901
 
echo "${ECHO_T}$STRIP" >&6
 
2345
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2346
echo "${ECHO_T}$STRIP" >&6; }
1902
2347
else
1903
 
  echo "$as_me:$LINENO: result: no" >&5
1904
 
echo "${ECHO_T}no" >&6
 
2348
  { echo "$as_me:$LINENO: result: no" >&5
 
2349
echo "${ECHO_T}no" >&6; }
1905
2350
fi
 
2351
 
1906
2352
 
1907
2353
fi
1908
2354
if test -z "$ac_cv_prog_STRIP"; then
1909
2355
  ac_ct_STRIP=$STRIP
1910
2356
  # Extract the first word of "strip", so it can be a program name with args.
1911
2357
set dummy strip; ac_word=$2
1912
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1913
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2358
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2359
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1914
2360
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1915
2361
  echo $ECHO_N "(cached) $ECHO_C" >&6
1916
2362
else
1923
2369
  IFS=$as_save_IFS
1924
2370
  test -z "$as_dir" && as_dir=.
1925
2371
  for ac_exec_ext in '' $ac_executable_extensions; do
1926
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2372
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1927
2373
    ac_cv_prog_ac_ct_STRIP="strip"
1928
2374
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1929
2375
    break 2
1930
2376
  fi
1931
2377
done
1932
2378
done
 
2379
IFS=$as_save_IFS
1933
2380
 
1934
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1935
2381
fi
1936
2382
fi
1937
2383
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1938
2384
if test -n "$ac_ct_STRIP"; then
1939
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1940
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2385
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2386
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1941
2387
else
1942
 
  echo "$as_me:$LINENO: result: no" >&5
1943
 
echo "${ECHO_T}no" >&6
 
2388
  { echo "$as_me:$LINENO: result: no" >&5
 
2389
echo "${ECHO_T}no" >&6; }
1944
2390
fi
1945
2391
 
1946
 
  STRIP=$ac_ct_STRIP
 
2392
  if test "x$ac_ct_STRIP" = x; then
 
2393
    STRIP=":"
 
2394
  else
 
2395
    case $cross_compiling:$ac_tool_warned in
 
2396
yes:)
 
2397
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2398
whose name does not start with the host triplet.  If you think this
 
2399
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2400
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2401
whose name does not start with the host triplet.  If you think this
 
2402
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2403
ac_tool_warned=yes ;;
 
2404
esac
 
2405
    STRIP=$ac_ct_STRIP
 
2406
  fi
1947
2407
else
1948
2408
  STRIP="$ac_cv_prog_STRIP"
1949
2409
fi
1972
2432
if test -n "$ac_tool_prefix"; then
1973
2433
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1974
2434
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1975
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1976
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2435
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2436
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1977
2437
if test "${ac_cv_prog_CC+set}" = set; then
1978
2438
  echo $ECHO_N "(cached) $ECHO_C" >&6
1979
2439
else
1986
2446
  IFS=$as_save_IFS
1987
2447
  test -z "$as_dir" && as_dir=.
1988
2448
  for ac_exec_ext in '' $ac_executable_extensions; do
1989
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2449
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1990
2450
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1991
2451
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1992
2452
    break 2
1993
2453
  fi
1994
2454
done
1995
2455
done
 
2456
IFS=$as_save_IFS
1996
2457
 
1997
2458
fi
1998
2459
fi
1999
2460
CC=$ac_cv_prog_CC
2000
2461
if test -n "$CC"; then
2001
 
  echo "$as_me:$LINENO: result: $CC" >&5
2002
 
echo "${ECHO_T}$CC" >&6
 
2462
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2463
echo "${ECHO_T}$CC" >&6; }
2003
2464
else
2004
 
  echo "$as_me:$LINENO: result: no" >&5
2005
 
echo "${ECHO_T}no" >&6
 
2465
  { echo "$as_me:$LINENO: result: no" >&5
 
2466
echo "${ECHO_T}no" >&6; }
2006
2467
fi
 
2468
 
2007
2469
 
2008
2470
fi
2009
2471
if test -z "$ac_cv_prog_CC"; then
2010
2472
  ac_ct_CC=$CC
2011
2473
  # Extract the first word of "gcc", so it can be a program name with args.
2012
2474
set dummy gcc; ac_word=$2
2013
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2014
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2475
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2476
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2015
2477
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2016
2478
  echo $ECHO_N "(cached) $ECHO_C" >&6
2017
2479
else
2024
2486
  IFS=$as_save_IFS
2025
2487
  test -z "$as_dir" && as_dir=.
2026
2488
  for ac_exec_ext in '' $ac_executable_extensions; do
2027
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2489
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2028
2490
    ac_cv_prog_ac_ct_CC="gcc"
2029
2491
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2030
2492
    break 2
2031
2493
  fi
2032
2494
done
2033
2495
done
 
2496
IFS=$as_save_IFS
2034
2497
 
2035
2498
fi
2036
2499
fi
2037
2500
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2038
2501
if test -n "$ac_ct_CC"; then
2039
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2040
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2502
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2503
echo "${ECHO_T}$ac_ct_CC" >&6; }
2041
2504
else
2042
 
  echo "$as_me:$LINENO: result: no" >&5
2043
 
echo "${ECHO_T}no" >&6
 
2505
  { echo "$as_me:$LINENO: result: no" >&5
 
2506
echo "${ECHO_T}no" >&6; }
2044
2507
fi
2045
2508
 
2046
 
  CC=$ac_ct_CC
 
2509
  if test "x$ac_ct_CC" = x; then
 
2510
    CC=""
 
2511
  else
 
2512
    case $cross_compiling:$ac_tool_warned in
 
2513
yes:)
 
2514
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2515
whose name does not start with the host triplet.  If you think this
 
2516
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2517
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2518
whose name does not start with the host triplet.  If you think this
 
2519
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2520
ac_tool_warned=yes ;;
 
2521
esac
 
2522
    CC=$ac_ct_CC
 
2523
  fi
2047
2524
else
2048
2525
  CC="$ac_cv_prog_CC"
2049
2526
fi
2050
2527
 
2051
2528
if test -z "$CC"; then
2052
 
  if test -n "$ac_tool_prefix"; then
2053
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2529
          if test -n "$ac_tool_prefix"; then
 
2530
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2054
2531
set dummy ${ac_tool_prefix}cc; ac_word=$2
2055
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2056
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2532
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2533
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2057
2534
if test "${ac_cv_prog_CC+set}" = set; then
2058
2535
  echo $ECHO_N "(cached) $ECHO_C" >&6
2059
2536
else
2066
2543
  IFS=$as_save_IFS
2067
2544
  test -z "$as_dir" && as_dir=.
2068
2545
  for ac_exec_ext in '' $ac_executable_extensions; do
2069
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2546
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2070
2547
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2071
2548
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2072
2549
    break 2
2073
2550
  fi
2074
2551
done
2075
2552
done
 
2553
IFS=$as_save_IFS
2076
2554
 
2077
2555
fi
2078
2556
fi
2079
2557
CC=$ac_cv_prog_CC
2080
2558
if test -n "$CC"; then
2081
 
  echo "$as_me:$LINENO: result: $CC" >&5
2082
 
echo "${ECHO_T}$CC" >&6
2083
 
else
2084
 
  echo "$as_me:$LINENO: result: no" >&5
2085
 
echo "${ECHO_T}no" >&6
2086
 
fi
2087
 
 
2088
 
fi
2089
 
if test -z "$ac_cv_prog_CC"; then
2090
 
  ac_ct_CC=$CC
2091
 
  # Extract the first word of "cc", so it can be a program name with args.
2092
 
set dummy cc; ac_word=$2
2093
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2094
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2095
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2096
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2097
 
else
2098
 
  if test -n "$ac_ct_CC"; then
2099
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2100
 
else
2101
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102
 
for as_dir in $PATH
2103
 
do
2104
 
  IFS=$as_save_IFS
2105
 
  test -z "$as_dir" && as_dir=.
2106
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2107
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2108
 
    ac_cv_prog_ac_ct_CC="cc"
2109
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2110
 
    break 2
 
2559
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2560
echo "${ECHO_T}$CC" >&6; }
 
2561
else
 
2562
  { echo "$as_me:$LINENO: result: no" >&5
 
2563
echo "${ECHO_T}no" >&6; }
 
2564
fi
 
2565
 
 
2566
 
2111
2567
  fi
2112
 
done
2113
 
done
2114
 
 
2115
 
fi
2116
 
fi
2117
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2118
 
if test -n "$ac_ct_CC"; then
2119
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2120
 
echo "${ECHO_T}$ac_ct_CC" >&6
2121
 
else
2122
 
  echo "$as_me:$LINENO: result: no" >&5
2123
 
echo "${ECHO_T}no" >&6
2124
 
fi
2125
 
 
2126
 
  CC=$ac_ct_CC
2127
 
else
2128
 
  CC="$ac_cv_prog_CC"
2129
 
fi
2130
 
 
2131
2568
fi
2132
2569
if test -z "$CC"; then
2133
2570
  # Extract the first word of "cc", so it can be a program name with args.
2134
2571
set dummy cc; ac_word=$2
2135
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2136
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2572
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2573
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2137
2574
if test "${ac_cv_prog_CC+set}" = set; then
2138
2575
  echo $ECHO_N "(cached) $ECHO_C" >&6
2139
2576
else
2147
2584
  IFS=$as_save_IFS
2148
2585
  test -z "$as_dir" && as_dir=.
2149
2586
  for ac_exec_ext in '' $ac_executable_extensions; do
2150
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2587
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2151
2588
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2152
2589
       ac_prog_rejected=yes
2153
2590
       continue
2158
2595
  fi
2159
2596
done
2160
2597
done
 
2598
IFS=$as_save_IFS
2161
2599
 
2162
2600
if test $ac_prog_rejected = yes; then
2163
2601
  # We found a bogon in the path, so make sure we never use it.
2175
2613
fi
2176
2614
CC=$ac_cv_prog_CC
2177
2615
if test -n "$CC"; then
2178
 
  echo "$as_me:$LINENO: result: $CC" >&5
2179
 
echo "${ECHO_T}$CC" >&6
 
2616
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2617
echo "${ECHO_T}$CC" >&6; }
2180
2618
else
2181
 
  echo "$as_me:$LINENO: result: no" >&5
2182
 
echo "${ECHO_T}no" >&6
 
2619
  { echo "$as_me:$LINENO: result: no" >&5
 
2620
echo "${ECHO_T}no" >&6; }
2183
2621
fi
 
2622
 
2184
2623
 
2185
2624
fi
2186
2625
if test -z "$CC"; then
2187
2626
  if test -n "$ac_tool_prefix"; then
2188
 
  for ac_prog in cl
 
2627
  for ac_prog in cl.exe
2189
2628
  do
2190
2629
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2191
2630
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2192
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2193
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2631
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2632
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2194
2633
if test "${ac_cv_prog_CC+set}" = set; then
2195
2634
  echo $ECHO_N "(cached) $ECHO_C" >&6
2196
2635
else
2203
2642
  IFS=$as_save_IFS
2204
2643
  test -z "$as_dir" && as_dir=.
2205
2644
  for ac_exec_ext in '' $ac_executable_extensions; do
2206
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2645
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2207
2646
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2208
2647
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2209
2648
    break 2
2210
2649
  fi
2211
2650
done
2212
2651
done
 
2652
IFS=$as_save_IFS
2213
2653
 
2214
2654
fi
2215
2655
fi
2216
2656
CC=$ac_cv_prog_CC
2217
2657
if test -n "$CC"; then
2218
 
  echo "$as_me:$LINENO: result: $CC" >&5
2219
 
echo "${ECHO_T}$CC" >&6
 
2658
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2659
echo "${ECHO_T}$CC" >&6; }
2220
2660
else
2221
 
  echo "$as_me:$LINENO: result: no" >&5
2222
 
echo "${ECHO_T}no" >&6
 
2661
  { echo "$as_me:$LINENO: result: no" >&5
 
2662
echo "${ECHO_T}no" >&6; }
2223
2663
fi
2224
2664
 
 
2665
 
2225
2666
    test -n "$CC" && break
2226
2667
  done
2227
2668
fi
2228
2669
if test -z "$CC"; then
2229
2670
  ac_ct_CC=$CC
2230
 
  for ac_prog in cl
 
2671
  for ac_prog in cl.exe
2231
2672
do
2232
2673
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2233
2674
set dummy $ac_prog; ac_word=$2
2234
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2235
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2675
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2676
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2236
2677
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2237
2678
  echo $ECHO_N "(cached) $ECHO_C" >&6
2238
2679
else
2245
2686
  IFS=$as_save_IFS
2246
2687
  test -z "$as_dir" && as_dir=.
2247
2688
  for ac_exec_ext in '' $ac_executable_extensions; do
2248
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2689
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2249
2690
    ac_cv_prog_ac_ct_CC="$ac_prog"
2250
2691
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2251
2692
    break 2
2252
2693
  fi
2253
2694
done
2254
2695
done
 
2696
IFS=$as_save_IFS
2255
2697
 
2256
2698
fi
2257
2699
fi
2258
2700
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2259
2701
if test -n "$ac_ct_CC"; then
2260
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2261
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2702
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2703
echo "${ECHO_T}$ac_ct_CC" >&6; }
2262
2704
else
2263
 
  echo "$as_me:$LINENO: result: no" >&5
2264
 
echo "${ECHO_T}no" >&6
 
2705
  { echo "$as_me:$LINENO: result: no" >&5
 
2706
echo "${ECHO_T}no" >&6; }
2265
2707
fi
2266
2708
 
 
2709
 
2267
2710
  test -n "$ac_ct_CC" && break
2268
2711
done
2269
2712
 
2270
 
  CC=$ac_ct_CC
 
2713
  if test "x$ac_ct_CC" = x; then
 
2714
    CC=""
 
2715
  else
 
2716
    case $cross_compiling:$ac_tool_warned in
 
2717
yes:)
 
2718
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2719
whose name does not start with the host triplet.  If you think this
 
2720
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2721
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2722
whose name does not start with the host triplet.  If you think this
 
2723
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2724
ac_tool_warned=yes ;;
 
2725
esac
 
2726
    CC=$ac_ct_CC
 
2727
  fi
2271
2728
fi
2272
2729
 
2273
2730
fi
2280
2737
   { (exit 1); exit 1; }; }
2281
2738
 
2282
2739
# Provide some information about the compiler.
2283
 
echo "$as_me:$LINENO:" \
2284
 
     "checking for C compiler version" >&5
 
2740
echo "$as_me:$LINENO: checking for C compiler version" >&5
2285
2741
ac_compiler=`set X $ac_compile; echo $2`
2286
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2287
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2288
 
  ac_status=$?
2289
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2290
 
  (exit $ac_status); }
2291
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2292
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2293
 
  ac_status=$?
2294
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2295
 
  (exit $ac_status); }
2296
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2297
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
2742
{ (ac_try="$ac_compiler --version >&5"
 
2743
case "(($ac_try" in
 
2744
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2745
  *) ac_try_echo=$ac_try;;
 
2746
esac
 
2747
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2748
  (eval "$ac_compiler --version >&5") 2>&5
 
2749
  ac_status=$?
 
2750
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2751
  (exit $ac_status); }
 
2752
{ (ac_try="$ac_compiler -v >&5"
 
2753
case "(($ac_try" in
 
2754
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2755
  *) ac_try_echo=$ac_try;;
 
2756
esac
 
2757
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2758
  (eval "$ac_compiler -v >&5") 2>&5
 
2759
  ac_status=$?
 
2760
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2761
  (exit $ac_status); }
 
2762
{ (ac_try="$ac_compiler -V >&5"
 
2763
case "(($ac_try" in
 
2764
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2765
  *) ac_try_echo=$ac_try;;
 
2766
esac
 
2767
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2768
  (eval "$ac_compiler -V >&5") 2>&5
2298
2769
  ac_status=$?
2299
2770
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2300
2771
  (exit $ac_status); }
2319
2790
# Try to create an executable without -o first, disregard a.out.
2320
2791
# It will help us diagnose broken compilers, and finding out an intuition
2321
2792
# of exeext.
2322
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2323
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
2793
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2794
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2324
2795
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2325
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2326
 
  (eval $ac_link_default) 2>&5
 
2796
#
 
2797
# List of possible output files, starting from the most likely.
 
2798
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
2799
# only as a last resort.  b.out is created by i960 compilers.
 
2800
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
2801
#
 
2802
# The IRIX 6 linker writes into existing files which may not be
 
2803
# executable, retaining their permissions.  Remove them first so a
 
2804
# subsequent execution test works.
 
2805
ac_rmfiles=
 
2806
for ac_file in $ac_files
 
2807
do
 
2808
  case $ac_file in
 
2809
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2810
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2811
  esac
 
2812
done
 
2813
rm -f $ac_rmfiles
 
2814
 
 
2815
if { (ac_try="$ac_link_default"
 
2816
case "(($ac_try" in
 
2817
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2818
  *) ac_try_echo=$ac_try;;
 
2819
esac
 
2820
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2821
  (eval "$ac_link_default") 2>&5
2327
2822
  ac_status=$?
2328
2823
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2329
2824
  (exit $ac_status); }; then
2330
 
  # Find the output, starting from the most likely.  This scheme is
2331
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2332
 
# resort.
2333
 
 
2334
 
# Be careful to initialize this variable, since it used to be cached.
2335
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2336
 
ac_cv_exeext=
2337
 
# b.out is created by i960 compilers.
2338
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
2825
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
2826
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
2827
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
2828
# so that the user can short-circuit this test for compilers unknown to
 
2829
# Autoconf.
 
2830
for ac_file in $ac_files ''
2339
2831
do
2340
2832
  test -f "$ac_file" || continue
2341
2833
  case $ac_file in
2342
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2343
 
        ;;
2344
 
    conftest.$ac_ext )
2345
 
        # This is the source file.
 
2834
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2346
2835
        ;;
2347
2836
    [ab].out )
2348
2837
        # We found the default executable, but exeext='' is most
2349
2838
        # certainly right.
2350
2839
        break;;
2351
2840
    *.* )
2352
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2353
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2354
 
        # but it would be cool to find out if it's true.  Does anybody
2355
 
        # maintain Libtool? --akim.
2356
 
        export ac_cv_exeext
 
2841
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2842
        then :; else
 
2843
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2844
        fi
 
2845
        # We set ac_cv_exeext here because the later test for it is not
 
2846
        # safe: cross compilers may not add the suffix if given an `-o'
 
2847
        # argument, so we may need to know it at that point already.
 
2848
        # Even if this section looks crufty: it has the advantage of
 
2849
        # actually working.
2357
2850
        break;;
2358
2851
    * )
2359
2852
        break;;
2360
2853
  esac
2361
2854
done
 
2855
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
2856
 
2362
2857
else
 
2858
  ac_file=''
 
2859
fi
 
2860
 
 
2861
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
2862
echo "${ECHO_T}$ac_file" >&6; }
 
2863
if test -z "$ac_file"; then
2363
2864
  echo "$as_me: failed program was:" >&5
2364
2865
sed 's/^/| /' conftest.$ac_ext >&5
2365
2866
 
2371
2872
fi
2372
2873
 
2373
2874
ac_exeext=$ac_cv_exeext
2374
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2375
 
echo "${ECHO_T}$ac_file" >&6
2376
2875
 
2377
 
# Check the compiler produces executables we can run.  If not, either
 
2876
# Check that the compiler produces executables we can run.  If not, either
2378
2877
# the compiler is broken, or we cross compile.
2379
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2380
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
2878
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2879
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2381
2880
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2382
2881
# If not cross compiling, check that we can run a simple program.
2383
2882
if test "$cross_compiling" != yes; then
2384
2883
  if { ac_try='./$ac_file'
2385
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2386
 
  (eval $ac_try) 2>&5
 
2884
  { (case "(($ac_try" in
 
2885
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2886
  *) ac_try_echo=$ac_try;;
 
2887
esac
 
2888
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2889
  (eval "$ac_try") 2>&5
2387
2890
  ac_status=$?
2388
2891
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389
2892
  (exit $ac_status); }; }; then
2402
2905
    fi
2403
2906
  fi
2404
2907
fi
2405
 
echo "$as_me:$LINENO: result: yes" >&5
2406
 
echo "${ECHO_T}yes" >&6
 
2908
{ echo "$as_me:$LINENO: result: yes" >&5
 
2909
echo "${ECHO_T}yes" >&6; }
2407
2910
 
2408
2911
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2409
2912
ac_clean_files=$ac_clean_files_save
2410
 
# Check the compiler produces executables we can run.  If not, either
 
2913
# Check that the compiler produces executables we can run.  If not, either
2411
2914
# the compiler is broken, or we cross compile.
2412
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2413
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2414
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2415
 
echo "${ECHO_T}$cross_compiling" >&6
 
2915
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2916
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
2917
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2918
echo "${ECHO_T}$cross_compiling" >&6; }
2416
2919
 
2417
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2418
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2419
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2420
 
  (eval $ac_link) 2>&5
 
2920
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2921
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
2922
if { (ac_try="$ac_link"
 
2923
case "(($ac_try" in
 
2924
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2925
  *) ac_try_echo=$ac_try;;
 
2926
esac
 
2927
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2928
  (eval "$ac_link") 2>&5
2421
2929
  ac_status=$?
2422
2930
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423
2931
  (exit $ac_status); }; then
2428
2936
for ac_file in conftest.exe conftest conftest.*; do
2429
2937
  test -f "$ac_file" || continue
2430
2938
  case $ac_file in
2431
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
2939
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2432
2940
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2433
 
          export ac_cv_exeext
2434
2941
          break;;
2435
2942
    * ) break;;
2436
2943
  esac
2444
2951
fi
2445
2952
 
2446
2953
rm -f conftest$ac_cv_exeext
2447
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2448
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
2954
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2955
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2449
2956
 
2450
2957
rm -f conftest.$ac_ext
2451
2958
EXEEXT=$ac_cv_exeext
2452
2959
ac_exeext=$EXEEXT
2453
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2454
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
2960
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2961
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2455
2962
if test "${ac_cv_objext+set}" = set; then
2456
2963
  echo $ECHO_N "(cached) $ECHO_C" >&6
2457
2964
else
2471
2978
}
2472
2979
_ACEOF
2473
2980
rm -f conftest.o conftest.obj
2474
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2475
 
  (eval $ac_compile) 2>&5
 
2981
if { (ac_try="$ac_compile"
 
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_compile") 2>&5
2476
2988
  ac_status=$?
2477
2989
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478
2990
  (exit $ac_status); }; then
2479
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
2991
  for ac_file in conftest.o conftest.obj conftest.*; do
 
2992
  test -f "$ac_file" || continue;
2480
2993
  case $ac_file in
2481
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
2994
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2482
2995
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2483
2996
       break;;
2484
2997
  esac
2496
3009
 
2497
3010
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2498
3011
fi
2499
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2500
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3012
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3013
echo "${ECHO_T}$ac_cv_objext" >&6; }
2501
3014
OBJEXT=$ac_cv_objext
2502
3015
ac_objext=$OBJEXT
2503
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2504
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3016
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3017
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2505
3018
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2506
3019
  echo $ECHO_N "(cached) $ECHO_C" >&6
2507
3020
else
2524
3037
}
2525
3038
_ACEOF
2526
3039
rm -f conftest.$ac_objext
2527
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2528
 
  (eval $ac_compile) 2>conftest.er1
 
3040
if { (ac_try="$ac_compile"
 
3041
case "(($ac_try" in
 
3042
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3043
  *) ac_try_echo=$ac_try;;
 
3044
esac
 
3045
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3046
  (eval "$ac_compile") 2>conftest.er1
2529
3047
  ac_status=$?
2530
3048
  grep -v '^ *+' conftest.er1 >conftest.err
2531
3049
  rm -f conftest.er1
2532
3050
  cat conftest.err >&5
2533
3051
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534
 
  (exit $ac_status); } &&
2535
 
         { ac_try='test -z "$ac_c_werror_flag"
2536
 
                         || test ! -s conftest.err'
2537
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2538
 
  (eval $ac_try) 2>&5
2539
 
  ac_status=$?
2540
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541
 
  (exit $ac_status); }; } &&
2542
 
         { ac_try='test -s conftest.$ac_objext'
2543
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2544
 
  (eval $ac_try) 2>&5
2545
 
  ac_status=$?
2546
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547
 
  (exit $ac_status); }; }; then
 
3052
  (exit $ac_status); } && {
 
3053
         test -z "$ac_c_werror_flag" ||
 
3054
         test ! -s conftest.err
 
3055
       } && test -s conftest.$ac_objext; then
2548
3056
  ac_compiler_gnu=yes
2549
3057
else
2550
3058
  echo "$as_me: failed program was:" >&5
2551
3059
sed 's/^/| /' conftest.$ac_ext >&5
2552
3060
 
2553
 
ac_compiler_gnu=no
 
3061
        ac_compiler_gnu=no
2554
3062
fi
2555
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3063
 
 
3064
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2556
3065
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2557
3066
 
2558
3067
fi
2559
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2560
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
3068
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3069
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2561
3070
GCC=`test $ac_compiler_gnu = yes && echo yes`
2562
3071
ac_test_CFLAGS=${CFLAGS+set}
2563
3072
ac_save_CFLAGS=$CFLAGS
2564
 
CFLAGS="-g"
2565
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2566
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3073
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3074
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2567
3075
if test "${ac_cv_prog_cc_g+set}" = set; then
2568
3076
  echo $ECHO_N "(cached) $ECHO_C" >&6
2569
3077
else
2570
 
  cat >conftest.$ac_ext <<_ACEOF
2571
 
/* confdefs.h.  */
2572
 
_ACEOF
2573
 
cat confdefs.h >>conftest.$ac_ext
2574
 
cat >>conftest.$ac_ext <<_ACEOF
2575
 
/* end confdefs.h.  */
2576
 
 
2577
 
int
2578
 
main ()
2579
 
{
2580
 
 
2581
 
  ;
2582
 
  return 0;
2583
 
}
2584
 
_ACEOF
2585
 
rm -f conftest.$ac_objext
2586
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2587
 
  (eval $ac_compile) 2>conftest.er1
2588
 
  ac_status=$?
2589
 
  grep -v '^ *+' conftest.er1 >conftest.err
2590
 
  rm -f conftest.er1
2591
 
  cat conftest.err >&5
2592
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593
 
  (exit $ac_status); } &&
2594
 
         { ac_try='test -z "$ac_c_werror_flag"
2595
 
                         || test ! -s conftest.err'
2596
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2597
 
  (eval $ac_try) 2>&5
2598
 
  ac_status=$?
2599
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600
 
  (exit $ac_status); }; } &&
2601
 
         { ac_try='test -s conftest.$ac_objext'
2602
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2603
 
  (eval $ac_try) 2>&5
2604
 
  ac_status=$?
2605
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2606
 
  (exit $ac_status); }; }; then
2607
 
  ac_cv_prog_cc_g=yes
2608
 
else
2609
 
  echo "$as_me: failed program was:" >&5
2610
 
sed 's/^/| /' conftest.$ac_ext >&5
2611
 
 
2612
 
ac_cv_prog_cc_g=no
2613
 
fi
2614
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2615
 
fi
2616
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2617
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3078
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3079
   ac_c_werror_flag=yes
 
3080
   ac_cv_prog_cc_g=no
 
3081
   CFLAGS="-g"
 
3082
   cat >conftest.$ac_ext <<_ACEOF
 
3083
/* confdefs.h.  */
 
3084
_ACEOF
 
3085
cat confdefs.h >>conftest.$ac_ext
 
3086
cat >>conftest.$ac_ext <<_ACEOF
 
3087
/* end confdefs.h.  */
 
3088
 
 
3089
int
 
3090
main ()
 
3091
{
 
3092
 
 
3093
  ;
 
3094
  return 0;
 
3095
}
 
3096
_ACEOF
 
3097
rm -f conftest.$ac_objext
 
3098
if { (ac_try="$ac_compile"
 
3099
case "(($ac_try" in
 
3100
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3101
  *) ac_try_echo=$ac_try;;
 
3102
esac
 
3103
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3104
  (eval "$ac_compile") 2>conftest.er1
 
3105
  ac_status=$?
 
3106
  grep -v '^ *+' conftest.er1 >conftest.err
 
3107
  rm -f conftest.er1
 
3108
  cat conftest.err >&5
 
3109
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3110
  (exit $ac_status); } && {
 
3111
         test -z "$ac_c_werror_flag" ||
 
3112
         test ! -s conftest.err
 
3113
       } && test -s conftest.$ac_objext; then
 
3114
  ac_cv_prog_cc_g=yes
 
3115
else
 
3116
  echo "$as_me: failed program was:" >&5
 
3117
sed 's/^/| /' conftest.$ac_ext >&5
 
3118
 
 
3119
        CFLAGS=""
 
3120
      cat >conftest.$ac_ext <<_ACEOF
 
3121
/* confdefs.h.  */
 
3122
_ACEOF
 
3123
cat confdefs.h >>conftest.$ac_ext
 
3124
cat >>conftest.$ac_ext <<_ACEOF
 
3125
/* end confdefs.h.  */
 
3126
 
 
3127
int
 
3128
main ()
 
3129
{
 
3130
 
 
3131
  ;
 
3132
  return 0;
 
3133
}
 
3134
_ACEOF
 
3135
rm -f conftest.$ac_objext
 
3136
if { (ac_try="$ac_compile"
 
3137
case "(($ac_try" in
 
3138
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3139
  *) ac_try_echo=$ac_try;;
 
3140
esac
 
3141
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3142
  (eval "$ac_compile") 2>conftest.er1
 
3143
  ac_status=$?
 
3144
  grep -v '^ *+' conftest.er1 >conftest.err
 
3145
  rm -f conftest.er1
 
3146
  cat conftest.err >&5
 
3147
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3148
  (exit $ac_status); } && {
 
3149
         test -z "$ac_c_werror_flag" ||
 
3150
         test ! -s conftest.err
 
3151
       } && test -s conftest.$ac_objext; then
 
3152
  :
 
3153
else
 
3154
  echo "$as_me: failed program was:" >&5
 
3155
sed 's/^/| /' conftest.$ac_ext >&5
 
3156
 
 
3157
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3158
         CFLAGS="-g"
 
3159
         cat >conftest.$ac_ext <<_ACEOF
 
3160
/* confdefs.h.  */
 
3161
_ACEOF
 
3162
cat confdefs.h >>conftest.$ac_ext
 
3163
cat >>conftest.$ac_ext <<_ACEOF
 
3164
/* end confdefs.h.  */
 
3165
 
 
3166
int
 
3167
main ()
 
3168
{
 
3169
 
 
3170
  ;
 
3171
  return 0;
 
3172
}
 
3173
_ACEOF
 
3174
rm -f conftest.$ac_objext
 
3175
if { (ac_try="$ac_compile"
 
3176
case "(($ac_try" in
 
3177
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3178
  *) ac_try_echo=$ac_try;;
 
3179
esac
 
3180
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3181
  (eval "$ac_compile") 2>conftest.er1
 
3182
  ac_status=$?
 
3183
  grep -v '^ *+' conftest.er1 >conftest.err
 
3184
  rm -f conftest.er1
 
3185
  cat conftest.err >&5
 
3186
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3187
  (exit $ac_status); } && {
 
3188
         test -z "$ac_c_werror_flag" ||
 
3189
         test ! -s conftest.err
 
3190
       } && test -s conftest.$ac_objext; then
 
3191
  ac_cv_prog_cc_g=yes
 
3192
else
 
3193
  echo "$as_me: failed program was:" >&5
 
3194
sed 's/^/| /' conftest.$ac_ext >&5
 
3195
 
 
3196
 
 
3197
fi
 
3198
 
 
3199
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3200
fi
 
3201
 
 
3202
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3203
fi
 
3204
 
 
3205
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3206
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3207
fi
 
3208
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3209
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2618
3210
if test "$ac_test_CFLAGS" = set; then
2619
3211
  CFLAGS=$ac_save_CFLAGS
2620
3212
elif test $ac_cv_prog_cc_g = yes; then
2630
3222
    CFLAGS=
2631
3223
  fi
2632
3224
fi
2633
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2634
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2635
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
3225
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3226
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3227
if test "${ac_cv_prog_cc_c89+set}" = set; then
2636
3228
  echo $ECHO_N "(cached) $ECHO_C" >&6
2637
3229
else
2638
 
  ac_cv_prog_cc_stdc=no
 
3230
  ac_cv_prog_cc_c89=no
2639
3231
ac_save_CC=$CC
2640
3232
cat >conftest.$ac_ext <<_ACEOF
2641
3233
/* confdefs.h.  */
2669
3261
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2670
3262
   function prototypes and stuff, but not '\xHH' hex character constants.
2671
3263
   These don't provoke an error unfortunately, instead are silently treated
2672
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3264
   as 'x'.  The following induces an error, until -std is added to get
2673
3265
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2674
3266
   array size at least.  It's necessary to write '\x00'==0 to get something
2675
 
   that's true only with -std1.  */
 
3267
   that's true only with -std.  */
2676
3268
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2677
3269
 
 
3270
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3271
   inside strings and character constants.  */
 
3272
#define FOO(x) 'x'
 
3273
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3274
 
2678
3275
int test (int i, double x);
2679
3276
struct s1 {int (*f) (int a);};
2680
3277
struct s2 {int (*f) (double a);};
2689
3286
  return 0;
2690
3287
}
2691
3288
_ACEOF
2692
 
# Don't try gcc -ansi; that turns off useful extensions and
2693
 
# breaks some systems' header files.
2694
 
# AIX                   -qlanglvl=ansi
2695
 
# Ultrix and OSF/1      -std1
2696
 
# HP-UX 10.20 and later -Ae
2697
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2698
 
# SVR4                  -Xc -D__EXTENSIONS__
2699
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3289
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3290
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2700
3291
do
2701
3292
  CC="$ac_save_CC $ac_arg"
2702
3293
  rm -f conftest.$ac_objext
2703
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2704
 
  (eval $ac_compile) 2>conftest.er1
 
3294
if { (ac_try="$ac_compile"
 
3295
case "(($ac_try" in
 
3296
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3297
  *) ac_try_echo=$ac_try;;
 
3298
esac
 
3299
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3300
  (eval "$ac_compile") 2>conftest.er1
2705
3301
  ac_status=$?
2706
3302
  grep -v '^ *+' conftest.er1 >conftest.err
2707
3303
  rm -f conftest.er1
2708
3304
  cat conftest.err >&5
2709
3305
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2710
 
  (exit $ac_status); } &&
2711
 
         { ac_try='test -z "$ac_c_werror_flag"
2712
 
                         || test ! -s conftest.err'
2713
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2714
 
  (eval $ac_try) 2>&5
2715
 
  ac_status=$?
2716
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2717
 
  (exit $ac_status); }; } &&
2718
 
         { ac_try='test -s conftest.$ac_objext'
2719
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2720
 
  (eval $ac_try) 2>&5
2721
 
  ac_status=$?
2722
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2723
 
  (exit $ac_status); }; }; then
2724
 
  ac_cv_prog_cc_stdc=$ac_arg
2725
 
break
 
3306
  (exit $ac_status); } && {
 
3307
         test -z "$ac_c_werror_flag" ||
 
3308
         test ! -s conftest.err
 
3309
       } && test -s conftest.$ac_objext; then
 
3310
  ac_cv_prog_cc_c89=$ac_arg
2726
3311
else
2727
3312
  echo "$as_me: failed program was:" >&5
2728
3313
sed 's/^/| /' conftest.$ac_ext >&5
2729
3314
 
 
3315
 
2730
3316
fi
2731
 
rm -f conftest.err conftest.$ac_objext
 
3317
 
 
3318
rm -f core conftest.err conftest.$ac_objext
 
3319
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2732
3320
done
2733
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3321
rm -f conftest.$ac_ext
2734
3322
CC=$ac_save_CC
2735
3323
 
2736
3324
fi
2737
 
 
2738
 
case "x$ac_cv_prog_cc_stdc" in
2739
 
  x|xno)
2740
 
    echo "$as_me:$LINENO: result: none needed" >&5
2741
 
echo "${ECHO_T}none needed" >&6 ;;
 
3325
# AC_CACHE_VAL
 
3326
case "x$ac_cv_prog_cc_c89" in
 
3327
  x)
 
3328
    { echo "$as_me:$LINENO: result: none needed" >&5
 
3329
echo "${ECHO_T}none needed" >&6; } ;;
 
3330
  xno)
 
3331
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
3332
echo "${ECHO_T}unsupported" >&6; } ;;
2742
3333
  *)
2743
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2744
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2745
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3334
    CC="$CC $ac_cv_prog_cc_c89"
 
3335
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3336
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2746
3337
esac
2747
3338
 
2748
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2749
 
# in C++ we need to declare it.  In case someone uses the same compiler
2750
 
# for both compiling C and C++ we need to have the C++ compiler decide
2751
 
# the declaration of exit, since it's the most demanding environment.
2752
 
cat >conftest.$ac_ext <<_ACEOF
2753
 
#ifndef __cplusplus
2754
 
  choke me
2755
 
#endif
2756
 
_ACEOF
2757
 
rm -f conftest.$ac_objext
2758
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2759
 
  (eval $ac_compile) 2>conftest.er1
2760
 
  ac_status=$?
2761
 
  grep -v '^ *+' conftest.er1 >conftest.err
2762
 
  rm -f conftest.er1
2763
 
  cat conftest.err >&5
2764
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765
 
  (exit $ac_status); } &&
2766
 
         { ac_try='test -z "$ac_c_werror_flag"
2767
 
                         || test ! -s conftest.err'
2768
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2769
 
  (eval $ac_try) 2>&5
2770
 
  ac_status=$?
2771
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772
 
  (exit $ac_status); }; } &&
2773
 
         { ac_try='test -s conftest.$ac_objext'
2774
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2775
 
  (eval $ac_try) 2>&5
2776
 
  ac_status=$?
2777
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2778
 
  (exit $ac_status); }; }; then
2779
 
  for ac_declaration in \
2780
 
   '' \
2781
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2782
 
   'extern "C" void std::exit (int); using std::exit;' \
2783
 
   'extern "C" void exit (int) throw ();' \
2784
 
   'extern "C" void exit (int);' \
2785
 
   'void exit (int);'
2786
 
do
2787
 
  cat >conftest.$ac_ext <<_ACEOF
2788
 
/* confdefs.h.  */
2789
 
_ACEOF
2790
 
cat confdefs.h >>conftest.$ac_ext
2791
 
cat >>conftest.$ac_ext <<_ACEOF
2792
 
/* end confdefs.h.  */
2793
 
$ac_declaration
2794
 
#include <stdlib.h>
2795
 
int
2796
 
main ()
2797
 
{
2798
 
exit (42);
2799
 
  ;
2800
 
  return 0;
2801
 
}
2802
 
_ACEOF
2803
 
rm -f conftest.$ac_objext
2804
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2805
 
  (eval $ac_compile) 2>conftest.er1
2806
 
  ac_status=$?
2807
 
  grep -v '^ *+' conftest.er1 >conftest.err
2808
 
  rm -f conftest.er1
2809
 
  cat conftest.err >&5
2810
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2811
 
  (exit $ac_status); } &&
2812
 
         { ac_try='test -z "$ac_c_werror_flag"
2813
 
                         || test ! -s conftest.err'
2814
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2815
 
  (eval $ac_try) 2>&5
2816
 
  ac_status=$?
2817
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818
 
  (exit $ac_status); }; } &&
2819
 
         { ac_try='test -s conftest.$ac_objext'
2820
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2821
 
  (eval $ac_try) 2>&5
2822
 
  ac_status=$?
2823
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2824
 
  (exit $ac_status); }; }; then
2825
 
  :
2826
 
else
2827
 
  echo "$as_me: failed program was:" >&5
2828
 
sed 's/^/| /' conftest.$ac_ext >&5
2829
 
 
2830
 
continue
2831
 
fi
2832
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2833
 
  cat >conftest.$ac_ext <<_ACEOF
2834
 
/* confdefs.h.  */
2835
 
_ACEOF
2836
 
cat confdefs.h >>conftest.$ac_ext
2837
 
cat >>conftest.$ac_ext <<_ACEOF
2838
 
/* end confdefs.h.  */
2839
 
$ac_declaration
2840
 
int
2841
 
main ()
2842
 
{
2843
 
exit (42);
2844
 
  ;
2845
 
  return 0;
2846
 
}
2847
 
_ACEOF
2848
 
rm -f conftest.$ac_objext
2849
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2850
 
  (eval $ac_compile) 2>conftest.er1
2851
 
  ac_status=$?
2852
 
  grep -v '^ *+' conftest.er1 >conftest.err
2853
 
  rm -f conftest.er1
2854
 
  cat conftest.err >&5
2855
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856
 
  (exit $ac_status); } &&
2857
 
         { ac_try='test -z "$ac_c_werror_flag"
2858
 
                         || test ! -s conftest.err'
2859
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2860
 
  (eval $ac_try) 2>&5
2861
 
  ac_status=$?
2862
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2863
 
  (exit $ac_status); }; } &&
2864
 
         { ac_try='test -s conftest.$ac_objext'
2865
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2866
 
  (eval $ac_try) 2>&5
2867
 
  ac_status=$?
2868
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2869
 
  (exit $ac_status); }; }; then
2870
 
  break
2871
 
else
2872
 
  echo "$as_me: failed program was:" >&5
2873
 
sed 's/^/| /' conftest.$ac_ext >&5
2874
 
 
2875
 
fi
2876
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2877
 
done
2878
 
rm -f conftest*
2879
 
if test -n "$ac_declaration"; then
2880
 
  echo '#ifdef __cplusplus' >>confdefs.h
2881
 
  echo $ac_declaration      >>confdefs.h
2882
 
  echo '#endif'             >>confdefs.h
2883
 
fi
2884
 
 
2885
 
else
2886
 
  echo "$as_me: failed program was:" >&5
2887
 
sed 's/^/| /' conftest.$ac_ext >&5
2888
 
 
2889
 
fi
2890
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3339
 
2891
3340
ac_ext=c
2892
3341
ac_cpp='$CPP $CPPFLAGS'
2893
3342
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2895
3344
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2896
3345
DEPDIR="${am__leading_dot}deps"
2897
3346
 
2898
 
          ac_config_commands="$ac_config_commands depfiles"
 
3347
ac_config_commands="$ac_config_commands depfiles"
2899
3348
 
2900
3349
 
2901
3350
am_make=${MAKE-make}
2905
3354
.PHONY: am__doit
2906
3355
END
2907
3356
# If we don't find an include directive, just comment out the code.
2908
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2909
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
3357
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3358
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2910
3359
am__include="#"
2911
3360
am__quote=
2912
3361
_am_result=none
2933
3382
fi
2934
3383
 
2935
3384
 
2936
 
echo "$as_me:$LINENO: result: $_am_result" >&5
2937
 
echo "${ECHO_T}$_am_result" >&6
 
3385
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
3386
echo "${ECHO_T}$_am_result" >&6; }
2938
3387
rm -f confinc confmf
2939
3388
 
2940
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
3389
# Check whether --enable-dependency-tracking was given.
2941
3390
if test "${enable_dependency_tracking+set}" = set; then
2942
 
  enableval="$enable_dependency_tracking"
 
3391
  enableval=$enable_dependency_tracking;
 
3392
fi
2943
3393
 
2944
 
fi;
2945
3394
if test "x$enable_dependency_tracking" != xno; then
2946
3395
  am_depcomp="$ac_aux_dir/depcomp"
2947
3396
  AMDEPBACKSLASH='\'
2961
3410
 
2962
3411
depcc="$CC"   am_compiler_list=
2963
3412
 
2964
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2965
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3413
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3414
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
2966
3415
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2967
3416
  echo $ECHO_N "(cached) $ECHO_C" >&6
2968
3417
else
3051
3500
fi
3052
3501
 
3053
3502
fi
3054
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3055
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3503
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3504
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3056
3505
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3057
3506
 
3058
3507
 
3068
3517
fi
3069
3518
 
3070
3519
 
3071
 
ac_ext=cc
 
3520
ac_ext=cpp
3072
3521
ac_cpp='$CXXCPP $CPPFLAGS'
3073
3522
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3074
3523
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3075
3524
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3076
 
if test -n "$ac_tool_prefix"; then
3077
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
3525
if test -z "$CXX"; then
 
3526
  if test -n "$CCC"; then
 
3527
    CXX=$CCC
 
3528
  else
 
3529
    if test -n "$ac_tool_prefix"; then
 
3530
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3078
3531
  do
3079
3532
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3080
3533
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3081
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3082
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3534
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3535
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3083
3536
if test "${ac_cv_prog_CXX+set}" = set; then
3084
3537
  echo $ECHO_N "(cached) $ECHO_C" >&6
3085
3538
else
3092
3545
  IFS=$as_save_IFS
3093
3546
  test -z "$as_dir" && as_dir=.
3094
3547
  for ac_exec_ext in '' $ac_executable_extensions; do
3095
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3548
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3096
3549
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3097
3550
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3098
3551
    break 2
3099
3552
  fi
3100
3553
done
3101
3554
done
 
3555
IFS=$as_save_IFS
3102
3556
 
3103
3557
fi
3104
3558
fi
3105
3559
CXX=$ac_cv_prog_CXX
3106
3560
if test -n "$CXX"; then
3107
 
  echo "$as_me:$LINENO: result: $CXX" >&5
3108
 
echo "${ECHO_T}$CXX" >&6
 
3561
  { echo "$as_me:$LINENO: result: $CXX" >&5
 
3562
echo "${ECHO_T}$CXX" >&6; }
3109
3563
else
3110
 
  echo "$as_me:$LINENO: result: no" >&5
3111
 
echo "${ECHO_T}no" >&6
 
3564
  { echo "$as_me:$LINENO: result: no" >&5
 
3565
echo "${ECHO_T}no" >&6; }
3112
3566
fi
3113
3567
 
 
3568
 
3114
3569
    test -n "$CXX" && break
3115
3570
  done
3116
3571
fi
3117
3572
if test -z "$CXX"; then
3118
3573
  ac_ct_CXX=$CXX
3119
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
3574
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3120
3575
do
3121
3576
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3122
3577
set dummy $ac_prog; ac_word=$2
3123
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3124
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3578
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3579
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3125
3580
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3126
3581
  echo $ECHO_N "(cached) $ECHO_C" >&6
3127
3582
else
3134
3589
  IFS=$as_save_IFS
3135
3590
  test -z "$as_dir" && as_dir=.
3136
3591
  for ac_exec_ext in '' $ac_executable_extensions; do
3137
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3592
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3138
3593
    ac_cv_prog_ac_ct_CXX="$ac_prog"
3139
3594
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3140
3595
    break 2
3141
3596
  fi
3142
3597
done
3143
3598
done
 
3599
IFS=$as_save_IFS
3144
3600
 
3145
3601
fi
3146
3602
fi
3147
3603
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3148
3604
if test -n "$ac_ct_CXX"; then
3149
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3150
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
3605
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
3606
echo "${ECHO_T}$ac_ct_CXX" >&6; }
3151
3607
else
3152
 
  echo "$as_me:$LINENO: result: no" >&5
3153
 
echo "${ECHO_T}no" >&6
 
3608
  { echo "$as_me:$LINENO: result: no" >&5
 
3609
echo "${ECHO_T}no" >&6; }
3154
3610
fi
3155
3611
 
 
3612
 
3156
3613
  test -n "$ac_ct_CXX" && break
3157
3614
done
3158
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3159
 
 
3160
 
  CXX=$ac_ct_CXX
3161
 
fi
3162
 
 
3163
 
 
 
3615
 
 
3616
  if test "x$ac_ct_CXX" = x; then
 
3617
    CXX="g++"
 
3618
  else
 
3619
    case $cross_compiling:$ac_tool_warned in
 
3620
yes:)
 
3621
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
3622
whose name does not start with the host triplet.  If you think this
 
3623
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
3624
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
3625
whose name does not start with the host triplet.  If you think this
 
3626
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3627
ac_tool_warned=yes ;;
 
3628
esac
 
3629
    CXX=$ac_ct_CXX
 
3630
  fi
 
3631
fi
 
3632
 
 
3633
  fi
 
3634
fi
3164
3635
# Provide some information about the compiler.
3165
 
echo "$as_me:$LINENO:" \
3166
 
     "checking for C++ compiler version" >&5
 
3636
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3167
3637
ac_compiler=`set X $ac_compile; echo $2`
3168
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3169
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
3170
 
  ac_status=$?
3171
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172
 
  (exit $ac_status); }
3173
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3174
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
3175
 
  ac_status=$?
3176
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177
 
  (exit $ac_status); }
3178
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3179
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
3638
{ (ac_try="$ac_compiler --version >&5"
 
3639
case "(($ac_try" in
 
3640
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3641
  *) ac_try_echo=$ac_try;;
 
3642
esac
 
3643
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3644
  (eval "$ac_compiler --version >&5") 2>&5
 
3645
  ac_status=$?
 
3646
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3647
  (exit $ac_status); }
 
3648
{ (ac_try="$ac_compiler -v >&5"
 
3649
case "(($ac_try" in
 
3650
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3651
  *) ac_try_echo=$ac_try;;
 
3652
esac
 
3653
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3654
  (eval "$ac_compiler -v >&5") 2>&5
 
3655
  ac_status=$?
 
3656
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3657
  (exit $ac_status); }
 
3658
{ (ac_try="$ac_compiler -V >&5"
 
3659
case "(($ac_try" in
 
3660
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3661
  *) ac_try_echo=$ac_try;;
 
3662
esac
 
3663
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3664
  (eval "$ac_compiler -V >&5") 2>&5
3180
3665
  ac_status=$?
3181
3666
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3182
3667
  (exit $ac_status); }
3183
3668
 
3184
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3185
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
3669
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
3670
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3186
3671
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3187
3672
  echo $ECHO_N "(cached) $ECHO_C" >&6
3188
3673
else
3205
3690
}
3206
3691
_ACEOF
3207
3692
rm -f conftest.$ac_objext
3208
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3209
 
  (eval $ac_compile) 2>conftest.er1
 
3693
if { (ac_try="$ac_compile"
 
3694
case "(($ac_try" in
 
3695
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3696
  *) ac_try_echo=$ac_try;;
 
3697
esac
 
3698
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3699
  (eval "$ac_compile") 2>conftest.er1
3210
3700
  ac_status=$?
3211
3701
  grep -v '^ *+' conftest.er1 >conftest.err
3212
3702
  rm -f conftest.er1
3213
3703
  cat conftest.err >&5
3214
3704
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3215
 
  (exit $ac_status); } &&
3216
 
         { ac_try='test -z "$ac_cxx_werror_flag"
3217
 
                         || test ! -s conftest.err'
3218
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3219
 
  (eval $ac_try) 2>&5
3220
 
  ac_status=$?
3221
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222
 
  (exit $ac_status); }; } &&
3223
 
         { ac_try='test -s conftest.$ac_objext'
3224
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3225
 
  (eval $ac_try) 2>&5
3226
 
  ac_status=$?
3227
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3228
 
  (exit $ac_status); }; }; then
 
3705
  (exit $ac_status); } && {
 
3706
         test -z "$ac_cxx_werror_flag" ||
 
3707
         test ! -s conftest.err
 
3708
       } && test -s conftest.$ac_objext; then
3229
3709
  ac_compiler_gnu=yes
3230
3710
else
3231
3711
  echo "$as_me: failed program was:" >&5
3232
3712
sed 's/^/| /' conftest.$ac_ext >&5
3233
3713
 
3234
 
ac_compiler_gnu=no
 
3714
        ac_compiler_gnu=no
3235
3715
fi
3236
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3716
 
 
3717
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3237
3718
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3238
3719
 
3239
3720
fi
3240
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3241
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
3721
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
3722
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3242
3723
GXX=`test $ac_compiler_gnu = yes && echo yes`
3243
3724
ac_test_CXXFLAGS=${CXXFLAGS+set}
3244
3725
ac_save_CXXFLAGS=$CXXFLAGS
3245
 
CXXFLAGS="-g"
3246
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3247
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
3726
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
3727
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3248
3728
if test "${ac_cv_prog_cxx_g+set}" = set; then
3249
3729
  echo $ECHO_N "(cached) $ECHO_C" >&6
3250
3730
else
3251
 
  cat >conftest.$ac_ext <<_ACEOF
3252
 
/* confdefs.h.  */
3253
 
_ACEOF
3254
 
cat confdefs.h >>conftest.$ac_ext
3255
 
cat >>conftest.$ac_ext <<_ACEOF
3256
 
/* end confdefs.h.  */
3257
 
 
3258
 
int
3259
 
main ()
3260
 
{
3261
 
 
3262
 
  ;
3263
 
  return 0;
3264
 
}
3265
 
_ACEOF
3266
 
rm -f conftest.$ac_objext
3267
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3268
 
  (eval $ac_compile) 2>conftest.er1
3269
 
  ac_status=$?
3270
 
  grep -v '^ *+' conftest.er1 >conftest.err
3271
 
  rm -f conftest.er1
3272
 
  cat conftest.err >&5
3273
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3274
 
  (exit $ac_status); } &&
3275
 
         { ac_try='test -z "$ac_cxx_werror_flag"
3276
 
                         || test ! -s conftest.err'
3277
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3278
 
  (eval $ac_try) 2>&5
3279
 
  ac_status=$?
3280
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3281
 
  (exit $ac_status); }; } &&
3282
 
         { ac_try='test -s conftest.$ac_objext'
3283
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3284
 
  (eval $ac_try) 2>&5
3285
 
  ac_status=$?
3286
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3287
 
  (exit $ac_status); }; }; then
3288
 
  ac_cv_prog_cxx_g=yes
3289
 
else
3290
 
  echo "$as_me: failed program was:" >&5
3291
 
sed 's/^/| /' conftest.$ac_ext >&5
3292
 
 
3293
 
ac_cv_prog_cxx_g=no
3294
 
fi
3295
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3296
 
fi
3297
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3298
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
3731
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
3732
   ac_cxx_werror_flag=yes
 
3733
   ac_cv_prog_cxx_g=no
 
3734
   CXXFLAGS="-g"
 
3735
   cat >conftest.$ac_ext <<_ACEOF
 
3736
/* confdefs.h.  */
 
3737
_ACEOF
 
3738
cat confdefs.h >>conftest.$ac_ext
 
3739
cat >>conftest.$ac_ext <<_ACEOF
 
3740
/* end confdefs.h.  */
 
3741
 
 
3742
int
 
3743
main ()
 
3744
{
 
3745
 
 
3746
  ;
 
3747
  return 0;
 
3748
}
 
3749
_ACEOF
 
3750
rm -f conftest.$ac_objext
 
3751
if { (ac_try="$ac_compile"
 
3752
case "(($ac_try" in
 
3753
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3754
  *) ac_try_echo=$ac_try;;
 
3755
esac
 
3756
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3757
  (eval "$ac_compile") 2>conftest.er1
 
3758
  ac_status=$?
 
3759
  grep -v '^ *+' conftest.er1 >conftest.err
 
3760
  rm -f conftest.er1
 
3761
  cat conftest.err >&5
 
3762
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3763
  (exit $ac_status); } && {
 
3764
         test -z "$ac_cxx_werror_flag" ||
 
3765
         test ! -s conftest.err
 
3766
       } && test -s conftest.$ac_objext; then
 
3767
  ac_cv_prog_cxx_g=yes
 
3768
else
 
3769
  echo "$as_me: failed program was:" >&5
 
3770
sed 's/^/| /' conftest.$ac_ext >&5
 
3771
 
 
3772
        CXXFLAGS=""
 
3773
      cat >conftest.$ac_ext <<_ACEOF
 
3774
/* confdefs.h.  */
 
3775
_ACEOF
 
3776
cat confdefs.h >>conftest.$ac_ext
 
3777
cat >>conftest.$ac_ext <<_ACEOF
 
3778
/* end confdefs.h.  */
 
3779
 
 
3780
int
 
3781
main ()
 
3782
{
 
3783
 
 
3784
  ;
 
3785
  return 0;
 
3786
}
 
3787
_ACEOF
 
3788
rm -f conftest.$ac_objext
 
3789
if { (ac_try="$ac_compile"
 
3790
case "(($ac_try" in
 
3791
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3792
  *) ac_try_echo=$ac_try;;
 
3793
esac
 
3794
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3795
  (eval "$ac_compile") 2>conftest.er1
 
3796
  ac_status=$?
 
3797
  grep -v '^ *+' conftest.er1 >conftest.err
 
3798
  rm -f conftest.er1
 
3799
  cat conftest.err >&5
 
3800
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3801
  (exit $ac_status); } && {
 
3802
         test -z "$ac_cxx_werror_flag" ||
 
3803
         test ! -s conftest.err
 
3804
       } && test -s conftest.$ac_objext; then
 
3805
  :
 
3806
else
 
3807
  echo "$as_me: failed program was:" >&5
 
3808
sed 's/^/| /' conftest.$ac_ext >&5
 
3809
 
 
3810
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
3811
         CXXFLAGS="-g"
 
3812
         cat >conftest.$ac_ext <<_ACEOF
 
3813
/* confdefs.h.  */
 
3814
_ACEOF
 
3815
cat confdefs.h >>conftest.$ac_ext
 
3816
cat >>conftest.$ac_ext <<_ACEOF
 
3817
/* end confdefs.h.  */
 
3818
 
 
3819
int
 
3820
main ()
 
3821
{
 
3822
 
 
3823
  ;
 
3824
  return 0;
 
3825
}
 
3826
_ACEOF
 
3827
rm -f conftest.$ac_objext
 
3828
if { (ac_try="$ac_compile"
 
3829
case "(($ac_try" in
 
3830
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3831
  *) ac_try_echo=$ac_try;;
 
3832
esac
 
3833
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3834
  (eval "$ac_compile") 2>conftest.er1
 
3835
  ac_status=$?
 
3836
  grep -v '^ *+' conftest.er1 >conftest.err
 
3837
  rm -f conftest.er1
 
3838
  cat conftest.err >&5
 
3839
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3840
  (exit $ac_status); } && {
 
3841
         test -z "$ac_cxx_werror_flag" ||
 
3842
         test ! -s conftest.err
 
3843
       } && test -s conftest.$ac_objext; then
 
3844
  ac_cv_prog_cxx_g=yes
 
3845
else
 
3846
  echo "$as_me: failed program was:" >&5
 
3847
sed 's/^/| /' conftest.$ac_ext >&5
 
3848
 
 
3849
 
 
3850
fi
 
3851
 
 
3852
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3853
fi
 
3854
 
 
3855
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3856
fi
 
3857
 
 
3858
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3859
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
3860
fi
 
3861
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
3862
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3299
3863
if test "$ac_test_CXXFLAGS" = set; then
3300
3864
  CXXFLAGS=$ac_save_CXXFLAGS
3301
3865
elif test $ac_cv_prog_cxx_g = yes; then
3311
3875
    CXXFLAGS=
3312
3876
  fi
3313
3877
fi
3314
 
for ac_declaration in \
3315
 
   '' \
3316
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
3317
 
   'extern "C" void std::exit (int); using std::exit;' \
3318
 
   'extern "C" void exit (int) throw ();' \
3319
 
   'extern "C" void exit (int);' \
3320
 
   'void exit (int);'
3321
 
do
3322
 
  cat >conftest.$ac_ext <<_ACEOF
3323
 
/* confdefs.h.  */
3324
 
_ACEOF
3325
 
cat confdefs.h >>conftest.$ac_ext
3326
 
cat >>conftest.$ac_ext <<_ACEOF
3327
 
/* end confdefs.h.  */
3328
 
$ac_declaration
3329
 
#include <stdlib.h>
3330
 
int
3331
 
main ()
3332
 
{
3333
 
exit (42);
3334
 
  ;
3335
 
  return 0;
3336
 
}
3337
 
_ACEOF
3338
 
rm -f conftest.$ac_objext
3339
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3340
 
  (eval $ac_compile) 2>conftest.er1
3341
 
  ac_status=$?
3342
 
  grep -v '^ *+' conftest.er1 >conftest.err
3343
 
  rm -f conftest.er1
3344
 
  cat conftest.err >&5
3345
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3346
 
  (exit $ac_status); } &&
3347
 
         { ac_try='test -z "$ac_cxx_werror_flag"
3348
 
                         || test ! -s conftest.err'
3349
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3350
 
  (eval $ac_try) 2>&5
3351
 
  ac_status=$?
3352
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3353
 
  (exit $ac_status); }; } &&
3354
 
         { ac_try='test -s conftest.$ac_objext'
3355
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3356
 
  (eval $ac_try) 2>&5
3357
 
  ac_status=$?
3358
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359
 
  (exit $ac_status); }; }; then
3360
 
  :
3361
 
else
3362
 
  echo "$as_me: failed program was:" >&5
3363
 
sed 's/^/| /' conftest.$ac_ext >&5
3364
 
 
3365
 
continue
3366
 
fi
3367
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3368
 
  cat >conftest.$ac_ext <<_ACEOF
3369
 
/* confdefs.h.  */
3370
 
_ACEOF
3371
 
cat confdefs.h >>conftest.$ac_ext
3372
 
cat >>conftest.$ac_ext <<_ACEOF
3373
 
/* end confdefs.h.  */
3374
 
$ac_declaration
3375
 
int
3376
 
main ()
3377
 
{
3378
 
exit (42);
3379
 
  ;
3380
 
  return 0;
3381
 
}
3382
 
_ACEOF
3383
 
rm -f conftest.$ac_objext
3384
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3385
 
  (eval $ac_compile) 2>conftest.er1
3386
 
  ac_status=$?
3387
 
  grep -v '^ *+' conftest.er1 >conftest.err
3388
 
  rm -f conftest.er1
3389
 
  cat conftest.err >&5
3390
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3391
 
  (exit $ac_status); } &&
3392
 
         { ac_try='test -z "$ac_cxx_werror_flag"
3393
 
                         || test ! -s conftest.err'
3394
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3395
 
  (eval $ac_try) 2>&5
3396
 
  ac_status=$?
3397
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398
 
  (exit $ac_status); }; } &&
3399
 
         { ac_try='test -s conftest.$ac_objext'
3400
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3401
 
  (eval $ac_try) 2>&5
3402
 
  ac_status=$?
3403
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404
 
  (exit $ac_status); }; }; then
3405
 
  break
3406
 
else
3407
 
  echo "$as_me: failed program was:" >&5
3408
 
sed 's/^/| /' conftest.$ac_ext >&5
3409
 
 
3410
 
fi
3411
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3412
 
done
3413
 
rm -f conftest*
3414
 
if test -n "$ac_declaration"; then
3415
 
  echo '#ifdef __cplusplus' >>confdefs.h
3416
 
  echo $ac_declaration      >>confdefs.h
3417
 
  echo '#endif'             >>confdefs.h
3418
 
fi
3419
 
 
3420
3878
ac_ext=c
3421
3879
ac_cpp='$CPP $CPPFLAGS'
3422
3880
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3425
3883
 
3426
3884
depcc="$CXX"  am_compiler_list=
3427
3885
 
3428
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3429
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3886
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3887
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3430
3888
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3431
3889
  echo $ECHO_N "(cached) $ECHO_C" >&6
3432
3890
else
3515
3973
fi
3516
3974
 
3517
3975
fi
3518
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3519
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
3976
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
3977
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3520
3978
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3521
3979
 
3522
3980
 
3532
3990
fi
3533
3991
 
3534
3992
 
3535
 
ac_ext=cc
 
3993
ac_ext=cpp
3536
3994
ac_cpp='$CXXCPP $CPPFLAGS'
3537
3995
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3538
3996
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3539
3997
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3540
3998
 
3541
3999
 
3542
 
# Check whether --enable-shared or --disable-shared was given.
 
4000
# Check whether --enable-shared was given.
3543
4001
if test "${enable_shared+set}" = set; then
3544
 
  enableval="$enable_shared"
3545
 
  p=${PACKAGE-default}
 
4002
  enableval=$enable_shared; p=${PACKAGE-default}
3546
4003
    case $enableval in
3547
4004
    yes) enable_shared=yes ;;
3548
4005
    no) enable_shared=no ;;
3561
4018
    esac
3562
4019
else
3563
4020
  enable_shared=yes
3564
 
fi;
3565
 
 
3566
 
# Check whether --enable-static or --disable-static was given.
 
4021
fi
 
4022
 
 
4023
 
 
4024
# Check whether --enable-static was given.
3567
4025
if test "${enable_static+set}" = set; then
3568
 
  enableval="$enable_static"
3569
 
  p=${PACKAGE-default}
 
4026
  enableval=$enable_static; p=${PACKAGE-default}
3570
4027
    case $enableval in
3571
4028
    yes) enable_static=yes ;;
3572
4029
    no) enable_static=no ;;
3585
4042
    esac
3586
4043
else
3587
4044
  enable_static=yes
3588
 
fi;
3589
 
 
3590
 
# Check whether --enable-fast-install or --disable-fast-install was given.
 
4045
fi
 
4046
 
 
4047
 
 
4048
# Check whether --enable-fast-install was given.
3591
4049
if test "${enable_fast_install+set}" = set; then
3592
 
  enableval="$enable_fast_install"
3593
 
  p=${PACKAGE-default}
 
4050
  enableval=$enable_fast_install; p=${PACKAGE-default}
3594
4051
    case $enableval in
3595
4052
    yes) enable_fast_install=yes ;;
3596
4053
    no) enable_fast_install=no ;;
3609
4066
    esac
3610
4067
else
3611
4068
  enable_fast_install=yes
3612
 
fi;
 
4069
fi
 
4070
 
3613
4071
 
3614
4072
# Make sure we can run config.sub.
3615
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
3616
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3617
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
4073
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
4074
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
4075
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3618
4076
   { (exit 1); exit 1; }; }
3619
4077
 
3620
 
echo "$as_me:$LINENO: checking build system type" >&5
3621
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
4078
{ echo "$as_me:$LINENO: checking build system type" >&5
 
4079
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3622
4080
if test "${ac_cv_build+set}" = set; then
3623
4081
  echo $ECHO_N "(cached) $ECHO_C" >&6
3624
4082
else
3625
 
  ac_cv_build_alias=$build_alias
3626
 
test -z "$ac_cv_build_alias" &&
3627
 
  ac_cv_build_alias=`$ac_config_guess`
3628
 
test -z "$ac_cv_build_alias" &&
 
4083
  ac_build_alias=$build_alias
 
4084
test "x$ac_build_alias" = x &&
 
4085
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
4086
test "x$ac_build_alias" = x &&
3629
4087
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3630
4088
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3631
4089
   { (exit 1); exit 1; }; }
3632
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3633
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3634
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
4090
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
4091
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
4092
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3635
4093
   { (exit 1); exit 1; }; }
3636
4094
 
3637
4095
fi
3638
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3639
 
echo "${ECHO_T}$ac_cv_build" >&6
 
4096
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
4097
echo "${ECHO_T}$ac_cv_build" >&6; }
 
4098
case $ac_cv_build in
 
4099
*-*-*) ;;
 
4100
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
4101
echo "$as_me: error: invalid value of canonical build" >&2;}
 
4102
   { (exit 1); exit 1; }; };;
 
4103
esac
3640
4104
build=$ac_cv_build
3641
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3642
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3643
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3644
 
 
3645
 
 
3646
 
echo "$as_me:$LINENO: checking host system type" >&5
3647
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
4105
ac_save_IFS=$IFS; IFS='-'
 
4106
set x $ac_cv_build
 
4107
shift
 
4108
build_cpu=$1
 
4109
build_vendor=$2
 
4110
shift; shift
 
4111
# Remember, the first character of IFS is used to create $*,
 
4112
# except with old shells:
 
4113
build_os=$*
 
4114
IFS=$ac_save_IFS
 
4115
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
4116
 
 
4117
 
 
4118
{ echo "$as_me:$LINENO: checking host system type" >&5
 
4119
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3648
4120
if test "${ac_cv_host+set}" = set; then
3649
4121
  echo $ECHO_N "(cached) $ECHO_C" >&6
3650
4122
else
3651
 
  ac_cv_host_alias=$host_alias
3652
 
test -z "$ac_cv_host_alias" &&
3653
 
  ac_cv_host_alias=$ac_cv_build_alias
3654
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3655
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3656
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
4123
  if test "x$host_alias" = x; then
 
4124
  ac_cv_host=$ac_cv_build
 
4125
else
 
4126
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
4127
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
4128
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3657
4129
   { (exit 1); exit 1; }; }
 
4130
fi
3658
4131
 
3659
4132
fi
3660
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3661
 
echo "${ECHO_T}$ac_cv_host" >&6
 
4133
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
4134
echo "${ECHO_T}$ac_cv_host" >&6; }
 
4135
case $ac_cv_host in
 
4136
*-*-*) ;;
 
4137
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
4138
echo "$as_me: error: invalid value of canonical host" >&2;}
 
4139
   { (exit 1); exit 1; }; };;
 
4140
esac
3662
4141
host=$ac_cv_host
3663
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3664
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3665
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3666
 
 
3667
 
 
3668
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3669
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 
4142
ac_save_IFS=$IFS; IFS='-'
 
4143
set x $ac_cv_host
 
4144
shift
 
4145
host_cpu=$1
 
4146
host_vendor=$2
 
4147
shift; shift
 
4148
# Remember, the first character of IFS is used to create $*,
 
4149
# except with old shells:
 
4150
host_os=$*
 
4151
IFS=$ac_save_IFS
 
4152
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
4153
 
 
4154
 
 
4155
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4156
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3670
4157
if test "${lt_cv_path_SED+set}" = set; then
3671
4158
  echo $ECHO_N "(cached) $ECHO_C" >&6
3672
4159
else
3679
4166
  test -z "$as_dir" && as_dir=.
3680
4167
  for lt_ac_prog in sed gsed; do
3681
4168
    for ac_exec_ext in '' $ac_executable_extensions; do
3682
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 
4169
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3683
4170
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3684
4171
      fi
3685
4172
    done
3686
4173
  done
3687
4174
done
 
4175
IFS=$as_save_IFS
3688
4176
lt_ac_max=0
3689
4177
lt_ac_count=0
3690
4178
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
3719
4207
fi
3720
4208
 
3721
4209
SED=$lt_cv_path_SED
3722
 
echo "$as_me:$LINENO: result: $SED" >&5
3723
 
echo "${ECHO_T}$SED" >&6
3724
 
 
3725
 
echo "$as_me:$LINENO: checking for egrep" >&5
3726
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3727
 
if test "${ac_cv_prog_egrep+set}" = set; then
3728
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3729
 
else
3730
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3731
 
    then ac_cv_prog_egrep='grep -E'
3732
 
    else ac_cv_prog_egrep='egrep'
3733
 
    fi
3734
 
fi
3735
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3736
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3737
 
 EGREP=$ac_cv_prog_egrep
3738
 
 
3739
 
 
3740
 
 
3741
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
4210
 
 
4211
{ echo "$as_me:$LINENO: result: $SED" >&5
 
4212
echo "${ECHO_T}$SED" >&6; }
 
4213
 
 
4214
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4215
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
4216
if test "${ac_cv_path_GREP+set}" = set; then
 
4217
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4218
else
 
4219
  # Extract the first word of "grep ggrep" to use in msg output
 
4220
if test -z "$GREP"; then
 
4221
set dummy grep ggrep; ac_prog_name=$2
 
4222
if test "${ac_cv_path_GREP+set}" = set; then
 
4223
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4224
else
 
4225
  ac_path_GREP_found=false
 
4226
# Loop through the user's path and test for each of PROGNAME-LIST
 
4227
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4228
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4229
do
 
4230
  IFS=$as_save_IFS
 
4231
  test -z "$as_dir" && as_dir=.
 
4232
  for ac_prog in grep ggrep; do
 
4233
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4234
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4235
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4236
    # Check for GNU ac_path_GREP and select it if it is found.
 
4237
  # Check for GNU $ac_path_GREP
 
4238
case `"$ac_path_GREP" --version 2>&1` in
 
4239
*GNU*)
 
4240
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4241
*)
 
4242
  ac_count=0
 
4243
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4244
  while :
 
4245
  do
 
4246
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4247
    mv "conftest.tmp" "conftest.in"
 
4248
    cp "conftest.in" "conftest.nl"
 
4249
    echo 'GREP' >> "conftest.nl"
 
4250
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4251
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4252
    ac_count=`expr $ac_count + 1`
 
4253
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4254
      # Best one so far, save it but keep looking for a better one
 
4255
      ac_cv_path_GREP="$ac_path_GREP"
 
4256
      ac_path_GREP_max=$ac_count
 
4257
    fi
 
4258
    # 10*(2^10) chars as input seems more than enough
 
4259
    test $ac_count -gt 10 && break
 
4260
  done
 
4261
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4262
esac
 
4263
 
 
4264
 
 
4265
    $ac_path_GREP_found && break 3
 
4266
  done
 
4267
done
 
4268
 
 
4269
done
 
4270
IFS=$as_save_IFS
 
4271
 
 
4272
 
 
4273
fi
 
4274
 
 
4275
GREP="$ac_cv_path_GREP"
 
4276
if test -z "$GREP"; then
 
4277
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4278
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4279
   { (exit 1); exit 1; }; }
 
4280
fi
 
4281
 
 
4282
else
 
4283
  ac_cv_path_GREP=$GREP
 
4284
fi
 
4285
 
 
4286
 
 
4287
fi
 
4288
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4289
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
4290
 GREP="$ac_cv_path_GREP"
 
4291
 
 
4292
 
 
4293
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
4294
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
4295
if test "${ac_cv_path_EGREP+set}" = set; then
 
4296
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4297
else
 
4298
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4299
   then ac_cv_path_EGREP="$GREP -E"
 
4300
   else
 
4301
     # Extract the first word of "egrep" to use in msg output
 
4302
if test -z "$EGREP"; then
 
4303
set dummy egrep; ac_prog_name=$2
 
4304
if test "${ac_cv_path_EGREP+set}" = set; then
 
4305
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4306
else
 
4307
  ac_path_EGREP_found=false
 
4308
# Loop through the user's path and test for each of PROGNAME-LIST
 
4309
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4310
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4311
do
 
4312
  IFS=$as_save_IFS
 
4313
  test -z "$as_dir" && as_dir=.
 
4314
  for ac_prog in egrep; do
 
4315
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4316
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4317
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4318
    # Check for GNU ac_path_EGREP and select it if it is found.
 
4319
  # Check for GNU $ac_path_EGREP
 
4320
case `"$ac_path_EGREP" --version 2>&1` in
 
4321
*GNU*)
 
4322
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4323
*)
 
4324
  ac_count=0
 
4325
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4326
  while :
 
4327
  do
 
4328
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4329
    mv "conftest.tmp" "conftest.in"
 
4330
    cp "conftest.in" "conftest.nl"
 
4331
    echo 'EGREP' >> "conftest.nl"
 
4332
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4333
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4334
    ac_count=`expr $ac_count + 1`
 
4335
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4336
      # Best one so far, save it but keep looking for a better one
 
4337
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4338
      ac_path_EGREP_max=$ac_count
 
4339
    fi
 
4340
    # 10*(2^10) chars as input seems more than enough
 
4341
    test $ac_count -gt 10 && break
 
4342
  done
 
4343
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4344
esac
 
4345
 
 
4346
 
 
4347
    $ac_path_EGREP_found && break 3
 
4348
  done
 
4349
done
 
4350
 
 
4351
done
 
4352
IFS=$as_save_IFS
 
4353
 
 
4354
 
 
4355
fi
 
4356
 
 
4357
EGREP="$ac_cv_path_EGREP"
 
4358
if test -z "$EGREP"; then
 
4359
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4360
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4361
   { (exit 1); exit 1; }; }
 
4362
fi
 
4363
 
 
4364
else
 
4365
  ac_cv_path_EGREP=$EGREP
 
4366
fi
 
4367
 
 
4368
 
 
4369
   fi
 
4370
fi
 
4371
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4372
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4373
 EGREP="$ac_cv_path_EGREP"
 
4374
 
 
4375
 
 
4376
 
 
4377
# Check whether --with-gnu-ld was given.
3742
4378
if test "${with_gnu_ld+set}" = set; then
3743
 
  withval="$with_gnu_ld"
3744
 
  test "$withval" = no || with_gnu_ld=yes
 
4379
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3745
4380
else
3746
4381
  with_gnu_ld=no
3747
 
fi;
 
4382
fi
 
4383
 
3748
4384
ac_prog=ld
3749
4385
if test "$GCC" = yes; then
3750
4386
  # Check if gcc -print-prog-name=ld gives a path.
3751
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3752
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
4387
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4388
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3753
4389
  case $host in
3754
4390
  *-*-mingw*)
3755
4391
    # gcc leaves a trailing carriage return which upsets mingw
3778
4414
    ;;
3779
4415
  esac
3780
4416
elif test "$with_gnu_ld" = yes; then
3781
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
3782
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
4417
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4418
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
3783
4419
else
3784
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3785
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
4420
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4421
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
3786
4422
fi
3787
4423
if test "${lt_cv_path_LD+set}" = set; then
3788
4424
  echo $ECHO_N "(cached) $ECHO_C" >&6
3795
4431
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3796
4432
      lt_cv_path_LD="$ac_dir/$ac_prog"
3797
4433
      # Check to see if the program is GNU ld.  I'd rather use --version,
3798
 
      # but apparently some GNU ld's only accept -v.
 
4434
      # but apparently some variants of GNU ld only accept -v.
3799
4435
      # Break only if it was the GNU/non-GNU ld that we prefer.
3800
4436
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3801
4437
      *GNU* | *'with BFD'*)
3815
4451
 
3816
4452
LD="$lt_cv_path_LD"
3817
4453
if test -n "$LD"; then
3818
 
  echo "$as_me:$LINENO: result: $LD" >&5
3819
 
echo "${ECHO_T}$LD" >&6
 
4454
  { echo "$as_me:$LINENO: result: $LD" >&5
 
4455
echo "${ECHO_T}$LD" >&6; }
3820
4456
else
3821
 
  echo "$as_me:$LINENO: result: no" >&5
3822
 
echo "${ECHO_T}no" >&6
 
4457
  { echo "$as_me:$LINENO: result: no" >&5
 
4458
echo "${ECHO_T}no" >&6; }
3823
4459
fi
3824
4460
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3825
4461
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3826
4462
   { (exit 1); exit 1; }; }
3827
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3828
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
4463
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4464
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
3829
4465
if test "${lt_cv_prog_gnu_ld+set}" = set; then
3830
4466
  echo $ECHO_N "(cached) $ECHO_C" >&6
3831
4467
else
3832
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
4468
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
3833
4469
case `$LD -v 2>&1 </dev/null` in
3834
4470
*GNU* | *'with BFD'*)
3835
4471
  lt_cv_prog_gnu_ld=yes
3839
4475
  ;;
3840
4476
esac
3841
4477
fi
3842
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3843
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
4478
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4479
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
3844
4480
with_gnu_ld=$lt_cv_prog_gnu_ld
3845
4481
 
3846
4482
 
3847
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3848
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 
4483
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4484
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
3849
4485
if test "${lt_cv_ld_reload_flag+set}" = set; then
3850
4486
  echo $ECHO_N "(cached) $ECHO_C" >&6
3851
4487
else
3852
4488
  lt_cv_ld_reload_flag='-r'
3853
4489
fi
3854
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3855
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 
4490
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
4491
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
3856
4492
reload_flag=$lt_cv_ld_reload_flag
3857
4493
case $reload_flag in
3858
4494
"" | " "*) ;;
3862
4498
case $host_os in
3863
4499
  darwin*)
3864
4500
    if test "$GCC" = yes; then
3865
 
      reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
 
4501
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3866
4502
    else
3867
4503
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
3868
4504
    fi
3869
4505
    ;;
3870
4506
esac
3871
4507
 
3872
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3873
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
4508
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
4509
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
3874
4510
if test "${lt_cv_path_NM+set}" = set; then
3875
4511
  echo $ECHO_N "(cached) $ECHO_C" >&6
3876
4512
else
3878
4514
  # Let the user override the test.
3879
4515
  lt_cv_path_NM="$NM"
3880
4516
else
3881
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3882
 
  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3883
 
    IFS="$lt_save_ifs"
3884
 
    test -z "$ac_dir" && ac_dir=.
3885
 
    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
3886
 
    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3887
 
      # Check to see if the nm accepts a BSD-compat flag.
3888
 
      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3889
 
      #   nm: unknown option "B" ignored
3890
 
      # Tru64's nm complains that /dev/null is an invalid object file
3891
 
      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3892
 
      */dev/null* | *'Invalid file or object type'*)
3893
 
        lt_cv_path_NM="$tmp_nm -B"
3894
 
        break
3895
 
        ;;
3896
 
      *)
3897
 
        case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3898
 
        */dev/null*)
3899
 
          lt_cv_path_NM="$tmp_nm -p"
 
4517
  lt_nm_to_check="${ac_tool_prefix}nm"
 
4518
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
4519
    lt_nm_to_check="$lt_nm_to_check nm"
 
4520
  fi
 
4521
  for lt_tmp_nm in $lt_nm_to_check; do
 
4522
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4523
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
4524
      IFS="$lt_save_ifs"
 
4525
      test -z "$ac_dir" && ac_dir=.
 
4526
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
4527
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
4528
        # Check to see if the nm accepts a BSD-compat flag.
 
4529
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
4530
        #   nm: unknown option "B" ignored
 
4531
        # Tru64's nm complains that /dev/null is an invalid object file
 
4532
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
4533
        */dev/null* | *'Invalid file or object type'*)
 
4534
          lt_cv_path_NM="$tmp_nm -B"
3900
4535
          break
3901
4536
          ;;
3902
4537
        *)
3903
 
          lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3904
 
          continue # so that we can try to find one that supports BSD flags
 
4538
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
4539
          */dev/null*)
 
4540
            lt_cv_path_NM="$tmp_nm -p"
 
4541
            break
 
4542
            ;;
 
4543
          *)
 
4544
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
4545
            continue # so that we can try to find one that supports BSD flags
 
4546
            ;;
 
4547
          esac
3905
4548
          ;;
3906
4549
        esac
3907
 
      esac
3908
 
    fi
 
4550
      fi
 
4551
    done
 
4552
    IFS="$lt_save_ifs"
3909
4553
  done
3910
 
  IFS="$lt_save_ifs"
3911
4554
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3912
4555
fi
3913
4556
fi
3914
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3915
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
 
4557
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4558
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
3916
4559
NM="$lt_cv_path_NM"
3917
4560
 
3918
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
3919
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
4561
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4562
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3920
4563
LN_S=$as_ln_s
3921
4564
if test "$LN_S" = "ln -s"; then
3922
 
  echo "$as_me:$LINENO: result: yes" >&5
3923
 
echo "${ECHO_T}yes" >&6
 
4565
  { echo "$as_me:$LINENO: result: yes" >&5
 
4566
echo "${ECHO_T}yes" >&6; }
3924
4567
else
3925
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3926
 
echo "${ECHO_T}no, using $LN_S" >&6
 
4568
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4569
echo "${ECHO_T}no, using $LN_S" >&6; }
3927
4570
fi
3928
4571
 
3929
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3930
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
4572
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
4573
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
3931
4574
if test "${lt_cv_deplibs_check_method+set}" = set; then
3932
4575
  echo $ECHO_N "(cached) $ECHO_C" >&6
3933
4576
else
3946
4589
# whether `pass_all' will *always* work, you probably want this one.
3947
4590
 
3948
4591
case $host_os in
3949
 
aix4* | aix5*)
 
4592
aix[4-9]*)
3950
4593
  lt_cv_deplibs_check_method=pass_all
3951
4594
  ;;
3952
4595
 
3968
4611
 
3969
4612
mingw* | pw32*)
3970
4613
  # Base MSYS/MinGW do not provide the 'file' command needed by
3971
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3972
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3973
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
4614
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
4615
  # unless we find 'file', for example because we are cross-compiling.
 
4616
  if ( file / ) >/dev/null 2>&1; then
 
4617
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
4618
    lt_cv_file_magic_cmd='func_win32_libid'
 
4619
  else
 
4620
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
4621
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
4622
  fi
3974
4623
  ;;
3975
4624
 
3976
4625
darwin* | rhapsody*)
3977
4626
  lt_cv_deplibs_check_method=pass_all
3978
4627
  ;;
3979
4628
 
3980
 
freebsd* | kfreebsd*-gnu | dragonfly*)
 
4629
freebsd* | dragonfly*)
3981
4630
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3982
4631
    case $host_cpu in
3983
4632
    i*86 )
3999
4648
 
4000
4649
hpux10.20* | hpux11*)
4001
4650
  lt_cv_file_magic_cmd=/usr/bin/file
4002
 
  case "$host_cpu" in
 
4651
  case $host_cpu in
4003
4652
  ia64*)
4004
4653
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4005
4654
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4015
4664
  esac
4016
4665
  ;;
4017
4666
 
 
4667
interix[3-9]*)
 
4668
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
4669
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
4670
  ;;
 
4671
 
4018
4672
irix5* | irix6* | nonstopux*)
4019
4673
  case $LD in
4020
4674
  *-32|*"-32 ") libmagic=32-bit;;
4026
4680
  ;;
4027
4681
 
4028
4682
# This must be Linux ELF.
4029
 
linux*)
 
4683
linux* | k*bsd*-gnu)
4030
4684
  lt_cv_deplibs_check_method=pass_all
4031
4685
  ;;
4032
4686
 
4033
 
netbsd*)
 
4687
netbsd* | netbsdelf*-gnu)
4034
4688
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4035
4689
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4036
4690
  else
4060
4714
  lt_cv_deplibs_check_method=pass_all
4061
4715
  ;;
4062
4716
 
4063
 
sco3.2v5*)
 
4717
rdos*)
4064
4718
  lt_cv_deplibs_check_method=pass_all
4065
4719
  ;;
4066
4720
 
4068
4722
  lt_cv_deplibs_check_method=pass_all
4069
4723
  ;;
4070
4724
 
4071
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
4725
sysv4 | sysv4.3*)
4072
4726
  case $host_vendor in
4073
4727
  motorola)
4074
4728
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4089
4743
  siemens)
4090
4744
    lt_cv_deplibs_check_method=pass_all
4091
4745
    ;;
 
4746
  pc)
 
4747
    lt_cv_deplibs_check_method=pass_all
 
4748
    ;;
4092
4749
  esac
4093
4750
  ;;
4094
4751
 
4095
 
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
 
4752
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4096
4753
  lt_cv_deplibs_check_method=pass_all
4097
4754
  ;;
4098
4755
esac
4099
4756
 
4100
4757
fi
4101
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4102
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
4758
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
4759
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4103
4760
file_magic_cmd=$lt_cv_file_magic_cmd
4104
4761
deplibs_check_method=$lt_cv_deplibs_check_method
4105
4762
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4110
4767
# If no C compiler was specified, use CC.
4111
4768
LTCC=${LTCC-"$CC"}
4112
4769
 
 
4770
# If no C compiler flags were specified, use CFLAGS.
 
4771
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
4772
 
4113
4773
# Allow CC to be a program name with arguments.
4114
4774
compiler=$CC
4115
4775
 
4116
4776
 
4117
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
4777
 
 
4778
# Check whether --enable-libtool-lock was given.
4118
4779
if test "${enable_libtool_lock+set}" = set; then
4119
 
  enableval="$enable_libtool_lock"
 
4780
  enableval=$enable_libtool_lock;
 
4781
fi
4120
4782
 
4121
 
fi;
4122
4783
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4123
4784
 
4124
4785
# Some flags need to be propagated to the compiler or linker for good
4145
4806
  ;;
4146
4807
*-*-irix6*)
4147
4808
  # Find out which ABI we are using.
4148
 
  echo '#line 4148 "configure"' > conftest.$ac_ext
 
4809
  echo '#line 4809 "configure"' > conftest.$ac_ext
4149
4810
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4150
4811
  (eval $ac_compile) 2>&5
4151
4812
  ac_status=$?
4180
4841
  rm -rf conftest*
4181
4842
  ;;
4182
4843
 
4183
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 
4844
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
4845
s390*-*linux*|sparc*-*linux*)
4184
4846
  # Find out which ABI we are using.
4185
4847
  echo 'int i;' > conftest.$ac_ext
4186
4848
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4188
4850
  ac_status=$?
4189
4851
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4190
4852
  (exit $ac_status); }; then
4191
 
    case "`/usr/bin/file conftest.o`" in
 
4853
    case `/usr/bin/file conftest.o` in
4192
4854
    *32-bit*)
4193
4855
      case $host in
 
4856
        x86_64-*kfreebsd*-gnu)
 
4857
          LD="${LD-ld} -m elf_i386_fbsd"
 
4858
          ;;
4194
4859
        x86_64-*linux*)
4195
4860
          LD="${LD-ld} -m elf_i386"
4196
4861
          ;;
4207
4872
      ;;
4208
4873
    *64-bit*)
4209
4874
      case $host in
 
4875
        x86_64-*kfreebsd*-gnu)
 
4876
          LD="${LD-ld} -m elf_x86_64_fbsd"
 
4877
          ;;
4210
4878
        x86_64-*linux*)
4211
4879
          LD="${LD-ld} -m elf_x86_64"
4212
4880
          ;;
4230
4898
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4231
4899
  SAVE_CFLAGS="$CFLAGS"
4232
4900
  CFLAGS="$CFLAGS -belf"
4233
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4234
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
4901
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
4902
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4235
4903
if test "${lt_cv_cc_needs_belf+set}" = set; then
4236
4904
  echo $ECHO_N "(cached) $ECHO_C" >&6
4237
4905
else
4257
4925
}
4258
4926
_ACEOF
4259
4927
rm -f conftest.$ac_objext conftest$ac_exeext
4260
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4261
 
  (eval $ac_link) 2>conftest.er1
 
4928
if { (ac_try="$ac_link"
 
4929
case "(($ac_try" in
 
4930
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4931
  *) ac_try_echo=$ac_try;;
 
4932
esac
 
4933
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4934
  (eval "$ac_link") 2>conftest.er1
4262
4935
  ac_status=$?
4263
4936
  grep -v '^ *+' conftest.er1 >conftest.err
4264
4937
  rm -f conftest.er1
4265
4938
  cat conftest.err >&5
4266
4939
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4267
 
  (exit $ac_status); } &&
4268
 
         { ac_try='test -z "$ac_c_werror_flag"
4269
 
                         || test ! -s conftest.err'
4270
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4271
 
  (eval $ac_try) 2>&5
4272
 
  ac_status=$?
4273
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4274
 
  (exit $ac_status); }; } &&
4275
 
         { ac_try='test -s conftest$ac_exeext'
4276
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4277
 
  (eval $ac_try) 2>&5
4278
 
  ac_status=$?
4279
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4280
 
  (exit $ac_status); }; }; then
 
4940
  (exit $ac_status); } && {
 
4941
         test -z "$ac_c_werror_flag" ||
 
4942
         test ! -s conftest.err
 
4943
       } && test -s conftest$ac_exeext &&
 
4944
       $as_test_x conftest$ac_exeext; then
4281
4945
  lt_cv_cc_needs_belf=yes
4282
4946
else
4283
4947
  echo "$as_me: failed program was:" >&5
4284
4948
sed 's/^/| /' conftest.$ac_ext >&5
4285
4949
 
4286
 
lt_cv_cc_needs_belf=no
 
4950
        lt_cv_cc_needs_belf=no
4287
4951
fi
4288
 
rm -f conftest.err conftest.$ac_objext \
 
4952
 
 
4953
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4289
4954
      conftest$ac_exeext conftest.$ac_ext
4290
4955
     ac_ext=c
4291
4956
ac_cpp='$CPP $CPPFLAGS'
4294
4959
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4295
4960
 
4296
4961
fi
4297
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4298
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
4962
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
4963
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4299
4964
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4300
4965
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4301
4966
    CFLAGS="$SAVE_CFLAGS"
4302
4967
  fi
4303
4968
  ;;
 
4969
sparc*-*solaris*)
 
4970
  # Find out which ABI we are using.
 
4971
  echo 'int i;' > conftest.$ac_ext
 
4972
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
4973
  (eval $ac_compile) 2>&5
 
4974
  ac_status=$?
 
4975
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4976
  (exit $ac_status); }; then
 
4977
    case `/usr/bin/file conftest.o` in
 
4978
    *64-bit*)
 
4979
      case $lt_cv_prog_gnu_ld in
 
4980
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
4981
      *)
 
4982
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
4983
          LD="${LD-ld} -64"
 
4984
        fi
 
4985
        ;;
 
4986
      esac
 
4987
      ;;
 
4988
    esac
 
4989
  fi
 
4990
  rm -rf conftest*
 
4991
  ;;
 
4992
 
4304
4993
 
4305
4994
esac
4306
4995
 
4312
5001
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4313
5002
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4314
5003
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4315
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4316
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
5004
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
5005
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4317
5006
# On Suns, sometimes $CPP names a directory.
4318
5007
if test -n "$CPP" && test -d "$CPP"; then
4319
5008
  CPP=
4347
5036
#endif
4348
5037
                     Syntax error
4349
5038
_ACEOF
4350
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4351
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5039
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5040
case "(($ac_try" in
 
5041
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5042
  *) ac_try_echo=$ac_try;;
 
5043
esac
 
5044
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5045
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4352
5046
  ac_status=$?
4353
5047
  grep -v '^ *+' conftest.er1 >conftest.err
4354
5048
  rm -f conftest.er1
4355
5049
  cat conftest.err >&5
4356
5050
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357
 
  (exit $ac_status); } >/dev/null; then
4358
 
  if test -s conftest.err; then
4359
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4360
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4361
 
  else
4362
 
    ac_cpp_err=
4363
 
  fi
4364
 
else
4365
 
  ac_cpp_err=yes
4366
 
fi
4367
 
if test -z "$ac_cpp_err"; then
 
5051
  (exit $ac_status); } >/dev/null && {
 
5052
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5053
         test ! -s conftest.err
 
5054
       }; then
4368
5055
  :
4369
5056
else
4370
5057
  echo "$as_me: failed program was:" >&5
4373
5060
  # Broken: fails on valid input.
4374
5061
continue
4375
5062
fi
 
5063
 
4376
5064
rm -f conftest.err conftest.$ac_ext
4377
5065
 
4378
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5066
  # OK, works on sane cases.  Now check whether nonexistent headers
4379
5067
  # can be detected and how.
4380
5068
  cat >conftest.$ac_ext <<_ACEOF
4381
5069
/* confdefs.h.  */
4385
5073
/* end confdefs.h.  */
4386
5074
#include <ac_nonexistent.h>
4387
5075
_ACEOF
4388
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4389
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5076
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5077
case "(($ac_try" in
 
5078
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5079
  *) ac_try_echo=$ac_try;;
 
5080
esac
 
5081
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5082
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4390
5083
  ac_status=$?
4391
5084
  grep -v '^ *+' conftest.er1 >conftest.err
4392
5085
  rm -f conftest.er1
4393
5086
  cat conftest.err >&5
4394
5087
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4395
 
  (exit $ac_status); } >/dev/null; then
4396
 
  if test -s conftest.err; then
4397
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4398
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4399
 
  else
4400
 
    ac_cpp_err=
4401
 
  fi
4402
 
else
4403
 
  ac_cpp_err=yes
4404
 
fi
4405
 
if test -z "$ac_cpp_err"; then
 
5088
  (exit $ac_status); } >/dev/null && {
 
5089
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5090
         test ! -s conftest.err
 
5091
       }; then
4406
5092
  # Broken: success on invalid input.
4407
5093
continue
4408
5094
else
4413
5099
ac_preproc_ok=:
4414
5100
break
4415
5101
fi
 
5102
 
4416
5103
rm -f conftest.err conftest.$ac_ext
4417
5104
 
4418
5105
done
4430
5117
else
4431
5118
  ac_cv_prog_CPP=$CPP
4432
5119
fi
4433
 
echo "$as_me:$LINENO: result: $CPP" >&5
4434
 
echo "${ECHO_T}$CPP" >&6
 
5120
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
5121
echo "${ECHO_T}$CPP" >&6; }
4435
5122
ac_preproc_ok=false
4436
5123
for ac_c_preproc_warn_flag in '' yes
4437
5124
do
4454
5141
#endif
4455
5142
                     Syntax error
4456
5143
_ACEOF
4457
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4458
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5144
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5145
case "(($ac_try" in
 
5146
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5147
  *) ac_try_echo=$ac_try;;
 
5148
esac
 
5149
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5150
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4459
5151
  ac_status=$?
4460
5152
  grep -v '^ *+' conftest.er1 >conftest.err
4461
5153
  rm -f conftest.er1
4462
5154
  cat conftest.err >&5
4463
5155
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464
 
  (exit $ac_status); } >/dev/null; then
4465
 
  if test -s conftest.err; then
4466
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4467
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4468
 
  else
4469
 
    ac_cpp_err=
4470
 
  fi
4471
 
else
4472
 
  ac_cpp_err=yes
4473
 
fi
4474
 
if test -z "$ac_cpp_err"; then
 
5156
  (exit $ac_status); } >/dev/null && {
 
5157
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5158
         test ! -s conftest.err
 
5159
       }; then
4475
5160
  :
4476
5161
else
4477
5162
  echo "$as_me: failed program was:" >&5
4480
5165
  # Broken: fails on valid input.
4481
5166
continue
4482
5167
fi
 
5168
 
4483
5169
rm -f conftest.err conftest.$ac_ext
4484
5170
 
4485
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5171
  # OK, works on sane cases.  Now check whether nonexistent headers
4486
5172
  # can be detected and how.
4487
5173
  cat >conftest.$ac_ext <<_ACEOF
4488
5174
/* confdefs.h.  */
4492
5178
/* end confdefs.h.  */
4493
5179
#include <ac_nonexistent.h>
4494
5180
_ACEOF
4495
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4496
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5181
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5182
case "(($ac_try" in
 
5183
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5184
  *) ac_try_echo=$ac_try;;
 
5185
esac
 
5186
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5187
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4497
5188
  ac_status=$?
4498
5189
  grep -v '^ *+' conftest.er1 >conftest.err
4499
5190
  rm -f conftest.er1
4500
5191
  cat conftest.err >&5
4501
5192
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502
 
  (exit $ac_status); } >/dev/null; then
4503
 
  if test -s conftest.err; then
4504
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4505
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4506
 
  else
4507
 
    ac_cpp_err=
4508
 
  fi
4509
 
else
4510
 
  ac_cpp_err=yes
4511
 
fi
4512
 
if test -z "$ac_cpp_err"; then
 
5193
  (exit $ac_status); } >/dev/null && {
 
5194
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5195
         test ! -s conftest.err
 
5196
       }; then
4513
5197
  # Broken: success on invalid input.
4514
5198
continue
4515
5199
else
4520
5204
ac_preproc_ok=:
4521
5205
break
4522
5206
fi
 
5207
 
4523
5208
rm -f conftest.err conftest.$ac_ext
4524
5209
 
4525
5210
done
4542
5227
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4543
5228
 
4544
5229
 
4545
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4546
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
5230
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
5231
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4547
5232
if test "${ac_cv_header_stdc+set}" = set; then
4548
5233
  echo $ECHO_N "(cached) $ECHO_C" >&6
4549
5234
else
4567
5252
}
4568
5253
_ACEOF
4569
5254
rm -f conftest.$ac_objext
4570
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4571
 
  (eval $ac_compile) 2>conftest.er1
 
5255
if { (ac_try="$ac_compile"
 
5256
case "(($ac_try" in
 
5257
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5258
  *) ac_try_echo=$ac_try;;
 
5259
esac
 
5260
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5261
  (eval "$ac_compile") 2>conftest.er1
4572
5262
  ac_status=$?
4573
5263
  grep -v '^ *+' conftest.er1 >conftest.err
4574
5264
  rm -f conftest.er1
4575
5265
  cat conftest.err >&5
4576
5266
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4577
 
  (exit $ac_status); } &&
4578
 
         { ac_try='test -z "$ac_c_werror_flag"
4579
 
                         || test ! -s conftest.err'
4580
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4581
 
  (eval $ac_try) 2>&5
4582
 
  ac_status=$?
4583
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4584
 
  (exit $ac_status); }; } &&
4585
 
         { ac_try='test -s conftest.$ac_objext'
4586
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4587
 
  (eval $ac_try) 2>&5
4588
 
  ac_status=$?
4589
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590
 
  (exit $ac_status); }; }; then
 
5267
  (exit $ac_status); } && {
 
5268
         test -z "$ac_c_werror_flag" ||
 
5269
         test ! -s conftest.err
 
5270
       } && test -s conftest.$ac_objext; then
4591
5271
  ac_cv_header_stdc=yes
4592
5272
else
4593
5273
  echo "$as_me: failed program was:" >&5
4594
5274
sed 's/^/| /' conftest.$ac_ext >&5
4595
5275
 
4596
 
ac_cv_header_stdc=no
 
5276
        ac_cv_header_stdc=no
4597
5277
fi
4598
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5278
 
 
5279
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4599
5280
 
4600
5281
if test $ac_cv_header_stdc = yes; then
4601
5282
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4651
5332
cat >>conftest.$ac_ext <<_ACEOF
4652
5333
/* end confdefs.h.  */
4653
5334
#include <ctype.h>
 
5335
#include <stdlib.h>
4654
5336
#if ((' ' & 0x0FF) == 0x020)
4655
5337
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4656
5338
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4670
5352
  for (i = 0; i < 256; i++)
4671
5353
    if (XOR (islower (i), ISLOWER (i))
4672
5354
        || toupper (i) != TOUPPER (i))
4673
 
      exit(2);
4674
 
  exit (0);
 
5355
      return 2;
 
5356
  return 0;
4675
5357
}
4676
5358
_ACEOF
4677
5359
rm -f conftest$ac_exeext
4678
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4679
 
  (eval $ac_link) 2>&5
 
5360
if { (ac_try="$ac_link"
 
5361
case "(($ac_try" in
 
5362
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5363
  *) ac_try_echo=$ac_try;;
 
5364
esac
 
5365
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5366
  (eval "$ac_link") 2>&5
4680
5367
  ac_status=$?
4681
5368
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4682
5369
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4683
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4684
 
  (eval $ac_try) 2>&5
 
5370
  { (case "(($ac_try" in
 
5371
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5372
  *) ac_try_echo=$ac_try;;
 
5373
esac
 
5374
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5375
  (eval "$ac_try") 2>&5
4685
5376
  ac_status=$?
4686
5377
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4687
5378
  (exit $ac_status); }; }; then
4694
5385
( exit $ac_status )
4695
5386
ac_cv_header_stdc=no
4696
5387
fi
4697
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4698
 
fi
4699
 
fi
4700
 
fi
4701
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4702
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
5388
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
5389
fi
 
5390
 
 
5391
 
 
5392
fi
 
5393
fi
 
5394
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
5395
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4703
5396
if test $ac_cv_header_stdc = yes; then
4704
5397
 
4705
5398
cat >>confdefs.h <<\_ACEOF
4722
5415
                  inttypes.h stdint.h unistd.h
4723
5416
do
4724
5417
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4725
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4726
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4727
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5418
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5419
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5420
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4728
5421
  echo $ECHO_N "(cached) $ECHO_C" >&6
4729
5422
else
4730
5423
  cat >conftest.$ac_ext <<_ACEOF
4738
5431
#include <$ac_header>
4739
5432
_ACEOF
4740
5433
rm -f conftest.$ac_objext
4741
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4742
 
  (eval $ac_compile) 2>conftest.er1
 
5434
if { (ac_try="$ac_compile"
 
5435
case "(($ac_try" in
 
5436
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5437
  *) ac_try_echo=$ac_try;;
 
5438
esac
 
5439
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5440
  (eval "$ac_compile") 2>conftest.er1
4743
5441
  ac_status=$?
4744
5442
  grep -v '^ *+' conftest.er1 >conftest.err
4745
5443
  rm -f conftest.er1
4746
5444
  cat conftest.err >&5
4747
5445
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748
 
  (exit $ac_status); } &&
4749
 
         { ac_try='test -z "$ac_c_werror_flag"
4750
 
                         || test ! -s conftest.err'
4751
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4752
 
  (eval $ac_try) 2>&5
4753
 
  ac_status=$?
4754
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4755
 
  (exit $ac_status); }; } &&
4756
 
         { ac_try='test -s conftest.$ac_objext'
4757
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4758
 
  (eval $ac_try) 2>&5
4759
 
  ac_status=$?
4760
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4761
 
  (exit $ac_status); }; }; then
 
5446
  (exit $ac_status); } && {
 
5447
         test -z "$ac_c_werror_flag" ||
 
5448
         test ! -s conftest.err
 
5449
       } && test -s conftest.$ac_objext; then
4762
5450
  eval "$as_ac_Header=yes"
4763
5451
else
4764
5452
  echo "$as_me: failed program was:" >&5
4765
5453
sed 's/^/| /' conftest.$ac_ext >&5
4766
5454
 
4767
 
eval "$as_ac_Header=no"
4768
 
fi
4769
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4770
 
fi
4771
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4772
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5455
        eval "$as_ac_Header=no"
 
5456
fi
 
5457
 
 
5458
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5459
fi
 
5460
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5461
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5462
echo "${ECHO_T}$ac_res" >&6; }
4773
5463
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4774
5464
  cat >>confdefs.h <<_ACEOF
4775
5465
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4784
5474
for ac_header in dlfcn.h
4785
5475
do
4786
5476
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4787
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4788
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4789
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4790
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5477
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5478
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5479
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5480
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4791
5481
  echo $ECHO_N "(cached) $ECHO_C" >&6
4792
5482
fi
4793
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4794
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5483
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5484
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5485
echo "${ECHO_T}$ac_res" >&6; }
4795
5486
else
4796
5487
  # Is the header compilable?
4797
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4798
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
5488
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5489
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4799
5490
cat >conftest.$ac_ext <<_ACEOF
4800
5491
/* confdefs.h.  */
4801
5492
_ACEOF
4806
5497
#include <$ac_header>
4807
5498
_ACEOF
4808
5499
rm -f conftest.$ac_objext
4809
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4810
 
  (eval $ac_compile) 2>conftest.er1
 
5500
if { (ac_try="$ac_compile"
 
5501
case "(($ac_try" in
 
5502
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5503
  *) ac_try_echo=$ac_try;;
 
5504
esac
 
5505
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5506
  (eval "$ac_compile") 2>conftest.er1
4811
5507
  ac_status=$?
4812
5508
  grep -v '^ *+' conftest.er1 >conftest.err
4813
5509
  rm -f conftest.er1
4814
5510
  cat conftest.err >&5
4815
5511
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816
 
  (exit $ac_status); } &&
4817
 
         { ac_try='test -z "$ac_c_werror_flag"
4818
 
                         || test ! -s conftest.err'
4819
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4820
 
  (eval $ac_try) 2>&5
4821
 
  ac_status=$?
4822
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823
 
  (exit $ac_status); }; } &&
4824
 
         { ac_try='test -s conftest.$ac_objext'
4825
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4826
 
  (eval $ac_try) 2>&5
4827
 
  ac_status=$?
4828
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4829
 
  (exit $ac_status); }; }; then
 
5512
  (exit $ac_status); } && {
 
5513
         test -z "$ac_c_werror_flag" ||
 
5514
         test ! -s conftest.err
 
5515
       } && test -s conftest.$ac_objext; then
4830
5516
  ac_header_compiler=yes
4831
5517
else
4832
5518
  echo "$as_me: failed program was:" >&5
4833
5519
sed 's/^/| /' conftest.$ac_ext >&5
4834
5520
 
4835
 
ac_header_compiler=no
 
5521
        ac_header_compiler=no
4836
5522
fi
4837
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4838
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4839
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
5523
 
 
5524
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5525
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5526
echo "${ECHO_T}$ac_header_compiler" >&6; }
4840
5527
 
4841
5528
# Is the header present?
4842
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4843
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
5529
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5530
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4844
5531
cat >conftest.$ac_ext <<_ACEOF
4845
5532
/* confdefs.h.  */
4846
5533
_ACEOF
4849
5536
/* end confdefs.h.  */
4850
5537
#include <$ac_header>
4851
5538
_ACEOF
4852
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4853
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5539
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5540
case "(($ac_try" in
 
5541
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5542
  *) ac_try_echo=$ac_try;;
 
5543
esac
 
5544
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5545
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4854
5546
  ac_status=$?
4855
5547
  grep -v '^ *+' conftest.er1 >conftest.err
4856
5548
  rm -f conftest.er1
4857
5549
  cat conftest.err >&5
4858
5550
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4859
 
  (exit $ac_status); } >/dev/null; then
4860
 
  if test -s conftest.err; then
4861
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4862
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4863
 
  else
4864
 
    ac_cpp_err=
4865
 
  fi
4866
 
else
4867
 
  ac_cpp_err=yes
4868
 
fi
4869
 
if test -z "$ac_cpp_err"; then
 
5551
  (exit $ac_status); } >/dev/null && {
 
5552
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5553
         test ! -s conftest.err
 
5554
       }; then
4870
5555
  ac_header_preproc=yes
4871
5556
else
4872
5557
  echo "$as_me: failed program was:" >&5
4874
5559
 
4875
5560
  ac_header_preproc=no
4876
5561
fi
 
5562
 
4877
5563
rm -f conftest.err conftest.$ac_ext
4878
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4879
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
5564
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5565
echo "${ECHO_T}$ac_header_preproc" >&6; }
4880
5566
 
4881
5567
# So?  What about this header?
4882
5568
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4900
5586
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4901
5587
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4902
5588
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4903
 
    (
4904
 
      cat <<\_ASBOX
4905
 
## ------------------------------------------ ##
4906
 
## Report this to the AC_PACKAGE_NAME lists.  ##
4907
 
## ------------------------------------------ ##
4908
 
_ASBOX
4909
 
    ) |
4910
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
5589
 
4911
5590
    ;;
4912
5591
esac
4913
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4914
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4915
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5592
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5593
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5594
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4916
5595
  echo $ECHO_N "(cached) $ECHO_C" >&6
4917
5596
else
4918
5597
  eval "$as_ac_Header=\$ac_header_preproc"
4919
5598
fi
4920
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4921
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5599
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5600
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5601
echo "${ECHO_T}$ac_res" >&6; }
4922
5602
 
4923
5603
fi
4924
5604
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4935
5615
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
4936
5616
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
4937
5617
    (test "X$CXX" != "Xg++"))) ; then
4938
 
  ac_ext=cc
 
5618
  ac_ext=cpp
4939
5619
ac_cpp='$CXXCPP $CPPFLAGS'
4940
5620
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4941
5621
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4942
5622
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4943
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4944
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
5623
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
5624
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
4945
5625
if test -z "$CXXCPP"; then
4946
5626
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
4947
5627
  echo $ECHO_N "(cached) $ECHO_C" >&6
4971
5651
#endif
4972
5652
                     Syntax error
4973
5653
_ACEOF
4974
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4975
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5654
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5655
case "(($ac_try" in
 
5656
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5657
  *) ac_try_echo=$ac_try;;
 
5658
esac
 
5659
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5660
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4976
5661
  ac_status=$?
4977
5662
  grep -v '^ *+' conftest.er1 >conftest.err
4978
5663
  rm -f conftest.er1
4979
5664
  cat conftest.err >&5
4980
5665
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4981
 
  (exit $ac_status); } >/dev/null; then
4982
 
  if test -s conftest.err; then
4983
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
4984
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4985
 
  else
4986
 
    ac_cpp_err=
4987
 
  fi
4988
 
else
4989
 
  ac_cpp_err=yes
4990
 
fi
4991
 
if test -z "$ac_cpp_err"; then
 
5666
  (exit $ac_status); } >/dev/null && {
 
5667
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5668
         test ! -s conftest.err
 
5669
       }; then
4992
5670
  :
4993
5671
else
4994
5672
  echo "$as_me: failed program was:" >&5
4997
5675
  # Broken: fails on valid input.
4998
5676
continue
4999
5677
fi
 
5678
 
5000
5679
rm -f conftest.err conftest.$ac_ext
5001
5680
 
5002
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5681
  # OK, works on sane cases.  Now check whether nonexistent headers
5003
5682
  # can be detected and how.
5004
5683
  cat >conftest.$ac_ext <<_ACEOF
5005
5684
/* confdefs.h.  */
5009
5688
/* end confdefs.h.  */
5010
5689
#include <ac_nonexistent.h>
5011
5690
_ACEOF
5012
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5013
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5691
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5692
case "(($ac_try" in
 
5693
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5694
  *) ac_try_echo=$ac_try;;
 
5695
esac
 
5696
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5697
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5014
5698
  ac_status=$?
5015
5699
  grep -v '^ *+' conftest.er1 >conftest.err
5016
5700
  rm -f conftest.er1
5017
5701
  cat conftest.err >&5
5018
5702
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5019
 
  (exit $ac_status); } >/dev/null; then
5020
 
  if test -s conftest.err; then
5021
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5022
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5023
 
  else
5024
 
    ac_cpp_err=
5025
 
  fi
5026
 
else
5027
 
  ac_cpp_err=yes
5028
 
fi
5029
 
if test -z "$ac_cpp_err"; then
 
5703
  (exit $ac_status); } >/dev/null && {
 
5704
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5705
         test ! -s conftest.err
 
5706
       }; then
5030
5707
  # Broken: success on invalid input.
5031
5708
continue
5032
5709
else
5037
5714
ac_preproc_ok=:
5038
5715
break
5039
5716
fi
 
5717
 
5040
5718
rm -f conftest.err conftest.$ac_ext
5041
5719
 
5042
5720
done
5054
5732
else
5055
5733
  ac_cv_prog_CXXCPP=$CXXCPP
5056
5734
fi
5057
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
5058
 
echo "${ECHO_T}$CXXCPP" >&6
 
5735
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
5736
echo "${ECHO_T}$CXXCPP" >&6; }
5059
5737
ac_preproc_ok=false
5060
5738
for ac_cxx_preproc_warn_flag in '' yes
5061
5739
do
5078
5756
#endif
5079
5757
                     Syntax error
5080
5758
_ACEOF
5081
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5082
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5759
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5760
case "(($ac_try" in
 
5761
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5762
  *) ac_try_echo=$ac_try;;
 
5763
esac
 
5764
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5765
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5083
5766
  ac_status=$?
5084
5767
  grep -v '^ *+' conftest.er1 >conftest.err
5085
5768
  rm -f conftest.er1
5086
5769
  cat conftest.err >&5
5087
5770
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5088
 
  (exit $ac_status); } >/dev/null; then
5089
 
  if test -s conftest.err; then
5090
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5091
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5092
 
  else
5093
 
    ac_cpp_err=
5094
 
  fi
5095
 
else
5096
 
  ac_cpp_err=yes
5097
 
fi
5098
 
if test -z "$ac_cpp_err"; then
 
5771
  (exit $ac_status); } >/dev/null && {
 
5772
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5773
         test ! -s conftest.err
 
5774
       }; then
5099
5775
  :
5100
5776
else
5101
5777
  echo "$as_me: failed program was:" >&5
5104
5780
  # Broken: fails on valid input.
5105
5781
continue
5106
5782
fi
 
5783
 
5107
5784
rm -f conftest.err conftest.$ac_ext
5108
5785
 
5109
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5786
  # OK, works on sane cases.  Now check whether nonexistent headers
5110
5787
  # can be detected and how.
5111
5788
  cat >conftest.$ac_ext <<_ACEOF
5112
5789
/* confdefs.h.  */
5116
5793
/* end confdefs.h.  */
5117
5794
#include <ac_nonexistent.h>
5118
5795
_ACEOF
5119
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5120
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5796
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5797
case "(($ac_try" in
 
5798
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5799
  *) ac_try_echo=$ac_try;;
 
5800
esac
 
5801
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5802
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5121
5803
  ac_status=$?
5122
5804
  grep -v '^ *+' conftest.er1 >conftest.err
5123
5805
  rm -f conftest.er1
5124
5806
  cat conftest.err >&5
5125
5807
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5126
 
  (exit $ac_status); } >/dev/null; then
5127
 
  if test -s conftest.err; then
5128
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5129
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5130
 
  else
5131
 
    ac_cpp_err=
5132
 
  fi
5133
 
else
5134
 
  ac_cpp_err=yes
5135
 
fi
5136
 
if test -z "$ac_cpp_err"; then
 
5808
  (exit $ac_status); } >/dev/null && {
 
5809
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5810
         test ! -s conftest.err
 
5811
       }; then
5137
5812
  # Broken: success on invalid input.
5138
5813
continue
5139
5814
else
5144
5819
ac_preproc_ok=:
5145
5820
break
5146
5821
fi
 
5822
 
5147
5823
rm -f conftest.err conftest.$ac_ext
5148
5824
 
5149
5825
done
5159
5835
   { (exit 1); exit 1; }; }
5160
5836
fi
5161
5837
 
5162
 
ac_ext=cc
 
5838
ac_ext=cpp
5163
5839
ac_cpp='$CXXCPP $CPPFLAGS'
5164
5840
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5165
5841
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5167
5843
 
5168
5844
fi
5169
5845
 
5170
 
 
5171
5846
ac_ext=f
5172
5847
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5173
5848
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5174
5849
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5175
5850
if test -n "$ac_tool_prefix"; then
5176
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
5851
  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
5177
5852
  do
5178
5853
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5179
5854
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5180
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5181
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5855
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5856
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5182
5857
if test "${ac_cv_prog_F77+set}" = set; then
5183
5858
  echo $ECHO_N "(cached) $ECHO_C" >&6
5184
5859
else
5191
5866
  IFS=$as_save_IFS
5192
5867
  test -z "$as_dir" && as_dir=.
5193
5868
  for ac_exec_ext in '' $ac_executable_extensions; do
5194
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5869
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5195
5870
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5196
5871
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5197
5872
    break 2
5198
5873
  fi
5199
5874
done
5200
5875
done
 
5876
IFS=$as_save_IFS
5201
5877
 
5202
5878
fi
5203
5879
fi
5204
5880
F77=$ac_cv_prog_F77
5205
5881
if test -n "$F77"; then
5206
 
  echo "$as_me:$LINENO: result: $F77" >&5
5207
 
echo "${ECHO_T}$F77" >&6
 
5882
  { echo "$as_me:$LINENO: result: $F77" >&5
 
5883
echo "${ECHO_T}$F77" >&6; }
5208
5884
else
5209
 
  echo "$as_me:$LINENO: result: no" >&5
5210
 
echo "${ECHO_T}no" >&6
 
5885
  { echo "$as_me:$LINENO: result: no" >&5
 
5886
echo "${ECHO_T}no" >&6; }
5211
5887
fi
5212
5888
 
 
5889
 
5213
5890
    test -n "$F77" && break
5214
5891
  done
5215
5892
fi
5216
5893
if test -z "$F77"; then
5217
5894
  ac_ct_F77=$F77
5218
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
5895
  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
5219
5896
do
5220
5897
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5221
5898
set dummy $ac_prog; ac_word=$2
5222
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5223
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5899
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5900
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5224
5901
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5225
5902
  echo $ECHO_N "(cached) $ECHO_C" >&6
5226
5903
else
5233
5910
  IFS=$as_save_IFS
5234
5911
  test -z "$as_dir" && as_dir=.
5235
5912
  for ac_exec_ext in '' $ac_executable_extensions; do
5236
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5913
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5237
5914
    ac_cv_prog_ac_ct_F77="$ac_prog"
5238
5915
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5239
5916
    break 2
5240
5917
  fi
5241
5918
done
5242
5919
done
 
5920
IFS=$as_save_IFS
5243
5921
 
5244
5922
fi
5245
5923
fi
5246
5924
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5247
5925
if test -n "$ac_ct_F77"; then
5248
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5249
 
echo "${ECHO_T}$ac_ct_F77" >&6
 
5926
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
5927
echo "${ECHO_T}$ac_ct_F77" >&6; }
5250
5928
else
5251
 
  echo "$as_me:$LINENO: result: no" >&5
5252
 
echo "${ECHO_T}no" >&6
 
5929
  { echo "$as_me:$LINENO: result: no" >&5
 
5930
echo "${ECHO_T}no" >&6; }
5253
5931
fi
5254
5932
 
 
5933
 
5255
5934
  test -n "$ac_ct_F77" && break
5256
5935
done
5257
5936
 
5258
 
  F77=$ac_ct_F77
 
5937
  if test "x$ac_ct_F77" = x; then
 
5938
    F77=""
 
5939
  else
 
5940
    case $cross_compiling:$ac_tool_warned in
 
5941
yes:)
 
5942
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5943
whose name does not start with the host triplet.  If you think this
 
5944
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5945
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5946
whose name does not start with the host triplet.  If you think this
 
5947
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5948
ac_tool_warned=yes ;;
 
5949
esac
 
5950
    F77=$ac_ct_F77
 
5951
  fi
5259
5952
fi
5260
5953
 
5261
5954
 
5262
5955
# Provide some information about the compiler.
5263
 
echo "$as_me:5263:" \
5264
 
     "checking for Fortran 77 compiler version" >&5
 
5956
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5265
5957
ac_compiler=`set X $ac_compile; echo $2`
5266
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5267
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
5268
 
  ac_status=$?
5269
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5270
 
  (exit $ac_status); }
5271
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5272
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
5273
 
  ac_status=$?
5274
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5275
 
  (exit $ac_status); }
5276
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5277
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
5958
{ (ac_try="$ac_compiler --version >&5"
 
5959
case "(($ac_try" in
 
5960
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5961
  *) ac_try_echo=$ac_try;;
 
5962
esac
 
5963
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5964
  (eval "$ac_compiler --version >&5") 2>&5
 
5965
  ac_status=$?
 
5966
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5967
  (exit $ac_status); }
 
5968
{ (ac_try="$ac_compiler -v >&5"
 
5969
case "(($ac_try" in
 
5970
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5971
  *) ac_try_echo=$ac_try;;
 
5972
esac
 
5973
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5974
  (eval "$ac_compiler -v >&5") 2>&5
 
5975
  ac_status=$?
 
5976
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5977
  (exit $ac_status); }
 
5978
{ (ac_try="$ac_compiler -V >&5"
 
5979
case "(($ac_try" in
 
5980
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5981
  *) ac_try_echo=$ac_try;;
 
5982
esac
 
5983
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5984
  (eval "$ac_compiler -V >&5") 2>&5
5278
5985
  ac_status=$?
5279
5986
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5280
5987
  (exit $ac_status); }
5284
5991
# input file.  (Note that this only needs to work for GNU compilers.)
5285
5992
ac_save_ext=$ac_ext
5286
5993
ac_ext=F
5287
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5288
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 
5994
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
5995
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5289
5996
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5290
5997
  echo $ECHO_N "(cached) $ECHO_C" >&6
5291
5998
else
5298
6005
      end
5299
6006
_ACEOF
5300
6007
rm -f conftest.$ac_objext
5301
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5302
 
  (eval $ac_compile) 2>conftest.er1
 
6008
if { (ac_try="$ac_compile"
 
6009
case "(($ac_try" in
 
6010
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6011
  *) ac_try_echo=$ac_try;;
 
6012
esac
 
6013
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6014
  (eval "$ac_compile") 2>conftest.er1
5303
6015
  ac_status=$?
5304
6016
  grep -v '^ *+' conftest.er1 >conftest.err
5305
6017
  rm -f conftest.er1
5306
6018
  cat conftest.err >&5
5307
6019
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5308
 
  (exit $ac_status); } &&
5309
 
         { ac_try='test -z "$ac_f77_werror_flag"
5310
 
                         || test ! -s conftest.err'
5311
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5312
 
  (eval $ac_try) 2>&5
5313
 
  ac_status=$?
5314
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5315
 
  (exit $ac_status); }; } &&
5316
 
         { ac_try='test -s conftest.$ac_objext'
5317
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5318
 
  (eval $ac_try) 2>&5
5319
 
  ac_status=$?
5320
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5321
 
  (exit $ac_status); }; }; then
 
6020
  (exit $ac_status); } && {
 
6021
         test -z "$ac_f77_werror_flag" ||
 
6022
         test ! -s conftest.err
 
6023
       } && test -s conftest.$ac_objext; then
5322
6024
  ac_compiler_gnu=yes
5323
6025
else
5324
6026
  echo "$as_me: failed program was:" >&5
5325
6027
sed 's/^/| /' conftest.$ac_ext >&5
5326
6028
 
5327
 
ac_compiler_gnu=no
 
6029
        ac_compiler_gnu=no
5328
6030
fi
5329
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6031
 
 
6032
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5330
6033
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5331
6034
 
5332
6035
fi
5333
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5334
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 
6036
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
6037
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
5335
6038
ac_ext=$ac_save_ext
5336
6039
ac_test_FFLAGS=${FFLAGS+set}
5337
6040
ac_save_FFLAGS=$FFLAGS
5338
6041
FFLAGS=
5339
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5340
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 
6042
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
6043
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
5341
6044
if test "${ac_cv_prog_f77_g+set}" = set; then
5342
6045
  echo $ECHO_N "(cached) $ECHO_C" >&6
5343
6046
else
5348
6051
      end
5349
6052
_ACEOF
5350
6053
rm -f conftest.$ac_objext
5351
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5352
 
  (eval $ac_compile) 2>conftest.er1
 
6054
if { (ac_try="$ac_compile"
 
6055
case "(($ac_try" in
 
6056
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6057
  *) ac_try_echo=$ac_try;;
 
6058
esac
 
6059
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6060
  (eval "$ac_compile") 2>conftest.er1
5353
6061
  ac_status=$?
5354
6062
  grep -v '^ *+' conftest.er1 >conftest.err
5355
6063
  rm -f conftest.er1
5356
6064
  cat conftest.err >&5
5357
6065
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5358
 
  (exit $ac_status); } &&
5359
 
         { ac_try='test -z "$ac_f77_werror_flag"
5360
 
                         || test ! -s conftest.err'
5361
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5362
 
  (eval $ac_try) 2>&5
5363
 
  ac_status=$?
5364
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5365
 
  (exit $ac_status); }; } &&
5366
 
         { ac_try='test -s conftest.$ac_objext'
5367
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5368
 
  (eval $ac_try) 2>&5
5369
 
  ac_status=$?
5370
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371
 
  (exit $ac_status); }; }; then
 
6066
  (exit $ac_status); } && {
 
6067
         test -z "$ac_f77_werror_flag" ||
 
6068
         test ! -s conftest.err
 
6069
       } && test -s conftest.$ac_objext; then
5372
6070
  ac_cv_prog_f77_g=yes
5373
6071
else
5374
6072
  echo "$as_me: failed program was:" >&5
5375
6073
sed 's/^/| /' conftest.$ac_ext >&5
5376
6074
 
5377
 
ac_cv_prog_f77_g=no
5378
 
fi
5379
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5380
 
 
5381
 
fi
5382
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5383
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 
6075
        ac_cv_prog_f77_g=no
 
6076
fi
 
6077
 
 
6078
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6079
 
 
6080
fi
 
6081
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
6082
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
5384
6083
if test "$ac_test_FFLAGS" = set; then
5385
6084
  FFLAGS=$ac_save_FFLAGS
5386
6085
elif test $ac_cv_prog_f77_g = yes; then
5398
6097
fi
5399
6098
 
5400
6099
G77=`test $ac_compiler_gnu = yes && echo yes`
5401
 
ac_ext=cc
 
6100
ac_ext=cpp
5402
6101
ac_cpp='$CXXCPP $CPPFLAGS'
5403
6102
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5404
6103
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5407
6106
 
5408
6107
 
5409
6108
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5410
 
 
5411
6109
# find the maximum length of command line arguments
5412
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5413
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 
6110
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6111
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5414
6112
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5415
6113
  echo $ECHO_N "(cached) $ECHO_C" >&6
5416
6114
else
5457
6155
    elif test -x /usr/sbin/sysctl; then
5458
6156
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5459
6157
    else
5460
 
      lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
 
6158
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5461
6159
    fi
5462
6160
    # And add a safety zone
5463
6161
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5464
6162
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5465
6163
    ;;
 
6164
 
 
6165
  interix*)
 
6166
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
6167
    lt_cv_sys_max_cmd_len=196608
 
6168
    ;;
 
6169
 
5466
6170
  osf*)
5467
6171
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5468
6172
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5476
6180
      esac
5477
6181
    fi
5478
6182
    ;;
 
6183
  sco3.2v5*)
 
6184
    lt_cv_sys_max_cmd_len=102400
 
6185
    ;;
 
6186
  sysv5* | sco5v6* | sysv4.2uw2*)
 
6187
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
6188
    if test -n "$kargmax"; then
 
6189
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
 
6190
    else
 
6191
      lt_cv_sys_max_cmd_len=32768
 
6192
    fi
 
6193
    ;;
5479
6194
  *)
5480
 
    # If test is not a shell built-in, we'll probably end up computing a
5481
 
    # maximum length that is only half of the actual maximum length, but
5482
 
    # we can't tell.
5483
 
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5484
 
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
6195
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
6196
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
6197
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6198
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6199
    else
 
6200
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
6201
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5485
6202
               = "XX$teststring") >/dev/null 2>&1 &&
5486
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
5487
 
            lt_cv_sys_max_cmd_len=$new_result &&
5488
 
            test $i != 17 # 1/2 MB should be enough
5489
 
    do
5490
 
      i=`expr $i + 1`
5491
 
      teststring=$teststring$teststring
5492
 
    done
5493
 
    teststring=
5494
 
    # Add a significant safety factor because C++ compilers can tack on massive
5495
 
    # amounts of additional arguments before passing them to the linker.
5496
 
    # It appears as though 1/2 is a usable value.
5497
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6203
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
 
6204
              lt_cv_sys_max_cmd_len=$new_result &&
 
6205
              test $i != 17 # 1/2 MB should be enough
 
6206
      do
 
6207
        i=`expr $i + 1`
 
6208
        teststring=$teststring$teststring
 
6209
      done
 
6210
      teststring=
 
6211
      # Add a significant safety factor because C++ compilers can tack on massive
 
6212
      # amounts of additional arguments before passing them to the linker.
 
6213
      # It appears as though 1/2 is a usable value.
 
6214
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6215
    fi
5498
6216
    ;;
5499
6217
  esac
5500
6218
 
5501
6219
fi
5502
6220
 
5503
6221
if test -n $lt_cv_sys_max_cmd_len ; then
5504
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5505
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 
6222
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6223
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5506
6224
else
5507
 
  echo "$as_me:$LINENO: result: none" >&5
5508
 
echo "${ECHO_T}none" >&6
 
6225
  { echo "$as_me:$LINENO: result: none" >&5
 
6226
echo "${ECHO_T}none" >&6; }
5509
6227
fi
5510
6228
 
5511
6229
 
5512
6230
 
5513
6231
 
 
6232
 
5514
6233
# Check for command to grab the raw symbol name followed by C symbol from nm.
5515
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5516
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
6234
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6235
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5517
6236
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5518
6237
  echo $ECHO_N "(cached) $ECHO_C" >&6
5519
6238
else
5548
6267
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5549
6268
  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'"
5550
6269
  ;;
5551
 
linux*)
 
6270
linux* | k*bsd*-gnu)
5552
6271
  if test "$host_cpu" = ia64; then
5553
6272
    symcode='[ABCDGIRSTW]'
5554
6273
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5561
6280
osf*)
5562
6281
  symcode='[BCDEGQRST]'
5563
6282
  ;;
5564
 
solaris* | sysv5*)
 
6283
solaris*)
5565
6284
  symcode='[BDRT]'
5566
6285
  ;;
 
6286
sco3.2v5*)
 
6287
  symcode='[DT]'
 
6288
  ;;
 
6289
sysv4.2uw2*)
 
6290
  symcode='[DT]'
 
6291
  ;;
 
6292
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
6293
  symcode='[ABDT]'
 
6294
  ;;
5567
6295
sysv4)
5568
6296
  symcode='[DFNSTU]'
5569
6297
  ;;
5692
6420
    echo "$progname: failed program was:" >&5
5693
6421
    cat conftest.$ac_ext >&5
5694
6422
  fi
5695
 
  rm -f conftest* conftst*
 
6423
  rm -rf conftest* conftst*
5696
6424
 
5697
6425
  # Do not use the global_symbol_pipe unless it works.
5698
6426
  if test "$pipe_works" = yes; then
5708
6436
  lt_cv_sys_global_symbol_to_cdecl=
5709
6437
fi
5710
6438
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5711
 
  echo "$as_me:$LINENO: result: failed" >&5
5712
 
echo "${ECHO_T}failed" >&6
 
6439
  { echo "$as_me:$LINENO: result: failed" >&5
 
6440
echo "${ECHO_T}failed" >&6; }
5713
6441
else
5714
 
  echo "$as_me:$LINENO: result: ok" >&5
5715
 
echo "${ECHO_T}ok" >&6
 
6442
  { echo "$as_me:$LINENO: result: ok" >&5
 
6443
echo "${ECHO_T}ok" >&6; }
5716
6444
fi
5717
6445
 
5718
 
echo "$as_me:$LINENO: checking for objdir" >&5
5719
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
6446
{ echo "$as_me:$LINENO: checking for objdir" >&5
 
6447
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
5720
6448
if test "${lt_cv_objdir+set}" = set; then
5721
6449
  echo $ECHO_N "(cached) $ECHO_C" >&6
5722
6450
else
5730
6458
fi
5731
6459
rmdir .libs 2>/dev/null
5732
6460
fi
5733
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5734
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
6461
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
6462
echo "${ECHO_T}$lt_cv_objdir" >&6; }
5735
6463
objdir=$lt_cv_objdir
5736
6464
 
5737
6465
 
5772
6500
default_ofile=libtool
5773
6501
can_build_shared=yes
5774
6502
 
5775
 
# All known linkers require a `.a' archive for static linking (except M$VC,
 
6503
# All known linkers require a `.a' archive for static linking (except MSVC,
5776
6504
# which needs '.lib').
5777
6505
libext=a
5778
6506
ltmain="$ac_aux_dir/ltmain.sh"
5782
6510
if test -n "$ac_tool_prefix"; then
5783
6511
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5784
6512
set dummy ${ac_tool_prefix}ar; ac_word=$2
5785
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5786
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6513
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6514
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5787
6515
if test "${ac_cv_prog_AR+set}" = set; then
5788
6516
  echo $ECHO_N "(cached) $ECHO_C" >&6
5789
6517
else
5796
6524
  IFS=$as_save_IFS
5797
6525
  test -z "$as_dir" && as_dir=.
5798
6526
  for ac_exec_ext in '' $ac_executable_extensions; do
5799
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6527
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5800
6528
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5801
6529
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5802
6530
    break 2
5803
6531
  fi
5804
6532
done
5805
6533
done
 
6534
IFS=$as_save_IFS
5806
6535
 
5807
6536
fi
5808
6537
fi
5809
6538
AR=$ac_cv_prog_AR
5810
6539
if test -n "$AR"; then
5811
 
  echo "$as_me:$LINENO: result: $AR" >&5
5812
 
echo "${ECHO_T}$AR" >&6
 
6540
  { echo "$as_me:$LINENO: result: $AR" >&5
 
6541
echo "${ECHO_T}$AR" >&6; }
5813
6542
else
5814
 
  echo "$as_me:$LINENO: result: no" >&5
5815
 
echo "${ECHO_T}no" >&6
 
6543
  { echo "$as_me:$LINENO: result: no" >&5
 
6544
echo "${ECHO_T}no" >&6; }
5816
6545
fi
 
6546
 
5817
6547
 
5818
6548
fi
5819
6549
if test -z "$ac_cv_prog_AR"; then
5820
6550
  ac_ct_AR=$AR
5821
6551
  # Extract the first word of "ar", so it can be a program name with args.
5822
6552
set dummy ar; ac_word=$2
5823
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5824
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6553
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6554
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5825
6555
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5826
6556
  echo $ECHO_N "(cached) $ECHO_C" >&6
5827
6557
else
5834
6564
  IFS=$as_save_IFS
5835
6565
  test -z "$as_dir" && as_dir=.
5836
6566
  for ac_exec_ext in '' $ac_executable_extensions; do
5837
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6567
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5838
6568
    ac_cv_prog_ac_ct_AR="ar"
5839
6569
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5840
6570
    break 2
5841
6571
  fi
5842
6572
done
5843
6573
done
 
6574
IFS=$as_save_IFS
5844
6575
 
5845
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5846
6576
fi
5847
6577
fi
5848
6578
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5849
6579
if test -n "$ac_ct_AR"; then
5850
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5851
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
6580
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
6581
echo "${ECHO_T}$ac_ct_AR" >&6; }
5852
6582
else
5853
 
  echo "$as_me:$LINENO: result: no" >&5
5854
 
echo "${ECHO_T}no" >&6
 
6583
  { echo "$as_me:$LINENO: result: no" >&5
 
6584
echo "${ECHO_T}no" >&6; }
5855
6585
fi
5856
6586
 
5857
 
  AR=$ac_ct_AR
 
6587
  if test "x$ac_ct_AR" = x; then
 
6588
    AR="false"
 
6589
  else
 
6590
    case $cross_compiling:$ac_tool_warned in
 
6591
yes:)
 
6592
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6593
whose name does not start with the host triplet.  If you think this
 
6594
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6595
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6596
whose name does not start with the host triplet.  If you think this
 
6597
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6598
ac_tool_warned=yes ;;
 
6599
esac
 
6600
    AR=$ac_ct_AR
 
6601
  fi
5858
6602
else
5859
6603
  AR="$ac_cv_prog_AR"
5860
6604
fi
5862
6606
if test -n "$ac_tool_prefix"; then
5863
6607
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5864
6608
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5865
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5866
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6609
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6610
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5867
6611
if test "${ac_cv_prog_RANLIB+set}" = set; then
5868
6612
  echo $ECHO_N "(cached) $ECHO_C" >&6
5869
6613
else
5876
6620
  IFS=$as_save_IFS
5877
6621
  test -z "$as_dir" && as_dir=.
5878
6622
  for ac_exec_ext in '' $ac_executable_extensions; do
5879
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6623
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5880
6624
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5881
6625
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5882
6626
    break 2
5883
6627
  fi
5884
6628
done
5885
6629
done
 
6630
IFS=$as_save_IFS
5886
6631
 
5887
6632
fi
5888
6633
fi
5889
6634
RANLIB=$ac_cv_prog_RANLIB
5890
6635
if test -n "$RANLIB"; then
5891
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
5892
 
echo "${ECHO_T}$RANLIB" >&6
 
6636
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
6637
echo "${ECHO_T}$RANLIB" >&6; }
5893
6638
else
5894
 
  echo "$as_me:$LINENO: result: no" >&5
5895
 
echo "${ECHO_T}no" >&6
 
6639
  { echo "$as_me:$LINENO: result: no" >&5
 
6640
echo "${ECHO_T}no" >&6; }
5896
6641
fi
 
6642
 
5897
6643
 
5898
6644
fi
5899
6645
if test -z "$ac_cv_prog_RANLIB"; then
5900
6646
  ac_ct_RANLIB=$RANLIB
5901
6647
  # Extract the first word of "ranlib", so it can be a program name with args.
5902
6648
set dummy ranlib; ac_word=$2
5903
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5904
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6649
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6650
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5905
6651
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5906
6652
  echo $ECHO_N "(cached) $ECHO_C" >&6
5907
6653
else
5914
6660
  IFS=$as_save_IFS
5915
6661
  test -z "$as_dir" && as_dir=.
5916
6662
  for ac_exec_ext in '' $ac_executable_extensions; do
5917
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6663
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5918
6664
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5919
6665
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5920
6666
    break 2
5921
6667
  fi
5922
6668
done
5923
6669
done
 
6670
IFS=$as_save_IFS
5924
6671
 
5925
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5926
6672
fi
5927
6673
fi
5928
6674
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5929
6675
if test -n "$ac_ct_RANLIB"; then
5930
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5931
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
6676
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
6677
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5932
6678
else
5933
 
  echo "$as_me:$LINENO: result: no" >&5
5934
 
echo "${ECHO_T}no" >&6
 
6679
  { echo "$as_me:$LINENO: result: no" >&5
 
6680
echo "${ECHO_T}no" >&6; }
5935
6681
fi
5936
6682
 
5937
 
  RANLIB=$ac_ct_RANLIB
 
6683
  if test "x$ac_ct_RANLIB" = x; then
 
6684
    RANLIB=":"
 
6685
  else
 
6686
    case $cross_compiling:$ac_tool_warned in
 
6687
yes:)
 
6688
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6689
whose name does not start with the host triplet.  If you think this
 
6690
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6691
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6692
whose name does not start with the host triplet.  If you think this
 
6693
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6694
ac_tool_warned=yes ;;
 
6695
esac
 
6696
    RANLIB=$ac_ct_RANLIB
 
6697
  fi
5938
6698
else
5939
6699
  RANLIB="$ac_cv_prog_RANLIB"
5940
6700
fi
5942
6702
if test -n "$ac_tool_prefix"; then
5943
6703
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5944
6704
set dummy ${ac_tool_prefix}strip; ac_word=$2
5945
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5946
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6705
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6706
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5947
6707
if test "${ac_cv_prog_STRIP+set}" = set; then
5948
6708
  echo $ECHO_N "(cached) $ECHO_C" >&6
5949
6709
else
5956
6716
  IFS=$as_save_IFS
5957
6717
  test -z "$as_dir" && as_dir=.
5958
6718
  for ac_exec_ext in '' $ac_executable_extensions; do
5959
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6719
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5960
6720
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5961
6721
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5962
6722
    break 2
5963
6723
  fi
5964
6724
done
5965
6725
done
 
6726
IFS=$as_save_IFS
5966
6727
 
5967
6728
fi
5968
6729
fi
5969
6730
STRIP=$ac_cv_prog_STRIP
5970
6731
if test -n "$STRIP"; then
5971
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
5972
 
echo "${ECHO_T}$STRIP" >&6
 
6732
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
6733
echo "${ECHO_T}$STRIP" >&6; }
5973
6734
else
5974
 
  echo "$as_me:$LINENO: result: no" >&5
5975
 
echo "${ECHO_T}no" >&6
 
6735
  { echo "$as_me:$LINENO: result: no" >&5
 
6736
echo "${ECHO_T}no" >&6; }
5976
6737
fi
 
6738
 
5977
6739
 
5978
6740
fi
5979
6741
if test -z "$ac_cv_prog_STRIP"; then
5980
6742
  ac_ct_STRIP=$STRIP
5981
6743
  # Extract the first word of "strip", so it can be a program name with args.
5982
6744
set dummy strip; ac_word=$2
5983
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5984
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6745
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6746
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5985
6747
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5986
6748
  echo $ECHO_N "(cached) $ECHO_C" >&6
5987
6749
else
5994
6756
  IFS=$as_save_IFS
5995
6757
  test -z "$as_dir" && as_dir=.
5996
6758
  for ac_exec_ext in '' $ac_executable_extensions; do
5997
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6759
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5998
6760
    ac_cv_prog_ac_ct_STRIP="strip"
5999
6761
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6000
6762
    break 2
6001
6763
  fi
6002
6764
done
6003
6765
done
 
6766
IFS=$as_save_IFS
6004
6767
 
6005
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6006
6768
fi
6007
6769
fi
6008
6770
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6009
6771
if test -n "$ac_ct_STRIP"; then
6010
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6011
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
6772
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
6773
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6012
6774
else
6013
 
  echo "$as_me:$LINENO: result: no" >&5
6014
 
echo "${ECHO_T}no" >&6
 
6775
  { echo "$as_me:$LINENO: result: no" >&5
 
6776
echo "${ECHO_T}no" >&6; }
6015
6777
fi
6016
6778
 
6017
 
  STRIP=$ac_ct_STRIP
 
6779
  if test "x$ac_ct_STRIP" = x; then
 
6780
    STRIP=":"
 
6781
  else
 
6782
    case $cross_compiling:$ac_tool_warned in
 
6783
yes:)
 
6784
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6785
whose name does not start with the host triplet.  If you think this
 
6786
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6787
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6788
whose name does not start with the host triplet.  If you think this
 
6789
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6790
ac_tool_warned=yes ;;
 
6791
esac
 
6792
    STRIP=$ac_ct_STRIP
 
6793
  fi
6018
6794
else
6019
6795
  STRIP="$ac_cv_prog_STRIP"
6020
6796
fi
6029
6805
test -z "$AS" && AS=as
6030
6806
test -z "$CC" && CC=cc
6031
6807
test -z "$LTCC" && LTCC=$CC
 
6808
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6032
6809
test -z "$DLLTOOL" && DLLTOOL=dlltool
6033
6810
test -z "$LD" && LD=ld
6034
6811
test -z "$LN_S" && LN_S="ln -s"
6041
6818
test -z "$ac_objext" && ac_objext=o
6042
6819
 
6043
6820
# Determine commands to create old-style static archives.
6044
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 
6821
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6045
6822
old_postinstall_cmds='chmod 644 $oldlib'
6046
6823
old_postuninstall_cmds=
6047
6824
 
6048
6825
if test -n "$RANLIB"; then
6049
6826
  case $host_os in
6050
6827
  openbsd*)
6051
 
    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
 
6828
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6052
6829
    ;;
6053
6830
  *)
6054
 
    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
 
6831
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6055
6832
    ;;
6056
6833
  esac
6057
6834
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6072
6849
case $deplibs_check_method in
6073
6850
file_magic*)
6074
6851
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6075
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6076
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
6852
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
6853
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6077
6854
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6078
6855
  echo $ECHO_N "(cached) $ECHO_C" >&6
6079
6856
else
6093
6870
      if test -n "$file_magic_test_file"; then
6094
6871
        case $deplibs_check_method in
6095
6872
        "file_magic "*)
6096
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 
6873
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6097
6874
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6098
6875
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6099
6876
            $EGREP "$file_magic_regex" > /dev/null; then
6125
6902
 
6126
6903
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6127
6904
if test -n "$MAGIC_CMD"; then
6128
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6129
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
6905
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
6906
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6130
6907
else
6131
 
  echo "$as_me:$LINENO: result: no" >&5
6132
 
echo "${ECHO_T}no" >&6
 
6908
  { echo "$as_me:$LINENO: result: no" >&5
 
6909
echo "${ECHO_T}no" >&6; }
6133
6910
fi
6134
6911
 
6135
6912
if test -z "$lt_cv_path_MAGIC_CMD"; then
6136
6913
  if test -n "$ac_tool_prefix"; then
6137
 
    echo "$as_me:$LINENO: checking for file" >&5
6138
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
6914
    { echo "$as_me:$LINENO: checking for file" >&5
 
6915
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6139
6916
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6140
6917
  echo $ECHO_N "(cached) $ECHO_C" >&6
6141
6918
else
6155
6932
      if test -n "$file_magic_test_file"; then
6156
6933
        case $deplibs_check_method in
6157
6934
        "file_magic "*)
6158
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 
6935
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6159
6936
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6160
6937
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6161
6938
            $EGREP "$file_magic_regex" > /dev/null; then
6187
6964
 
6188
6965
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6189
6966
if test -n "$MAGIC_CMD"; then
6190
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6191
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
6967
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
6968
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6192
6969
else
6193
 
  echo "$as_me:$LINENO: result: no" >&5
6194
 
echo "${ECHO_T}no" >&6
 
6970
  { echo "$as_me:$LINENO: result: no" >&5
 
6971
echo "${ECHO_T}no" >&6; }
6195
6972
fi
6196
6973
 
6197
6974
  else
6203
6980
  ;;
6204
6981
esac
6205
6982
 
 
6983
 
 
6984
  case $host_os in
 
6985
    rhapsody* | darwin*)
 
6986
    if test -n "$ac_tool_prefix"; then
 
6987
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
6988
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
6989
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6990
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6991
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
6992
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6993
else
 
6994
  if test -n "$DSYMUTIL"; then
 
6995
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
6996
else
 
6997
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6998
for as_dir in $PATH
 
6999
do
 
7000
  IFS=$as_save_IFS
 
7001
  test -z "$as_dir" && as_dir=.
 
7002
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7003
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7004
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
7005
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7006
    break 2
 
7007
  fi
 
7008
done
 
7009
done
 
7010
IFS=$as_save_IFS
 
7011
 
 
7012
fi
 
7013
fi
 
7014
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
7015
if test -n "$DSYMUTIL"; then
 
7016
  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
7017
echo "${ECHO_T}$DSYMUTIL" >&6; }
 
7018
else
 
7019
  { echo "$as_me:$LINENO: result: no" >&5
 
7020
echo "${ECHO_T}no" >&6; }
 
7021
fi
 
7022
 
 
7023
 
 
7024
fi
 
7025
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
7026
  ac_ct_DSYMUTIL=$DSYMUTIL
 
7027
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
7028
set dummy dsymutil; ac_word=$2
 
7029
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7030
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7031
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
7032
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7033
else
 
7034
  if test -n "$ac_ct_DSYMUTIL"; then
 
7035
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
7036
else
 
7037
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7038
for as_dir in $PATH
 
7039
do
 
7040
  IFS=$as_save_IFS
 
7041
  test -z "$as_dir" && as_dir=.
 
7042
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7043
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7044
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
7045
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7046
    break 2
 
7047
  fi
 
7048
done
 
7049
done
 
7050
IFS=$as_save_IFS
 
7051
 
 
7052
fi
 
7053
fi
 
7054
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
7055
if test -n "$ac_ct_DSYMUTIL"; then
 
7056
  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
7057
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
 
7058
else
 
7059
  { echo "$as_me:$LINENO: result: no" >&5
 
7060
echo "${ECHO_T}no" >&6; }
 
7061
fi
 
7062
 
 
7063
  if test "x$ac_ct_DSYMUTIL" = x; then
 
7064
    DSYMUTIL=":"
 
7065
  else
 
7066
    case $cross_compiling:$ac_tool_warned in
 
7067
yes:)
 
7068
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7069
whose name does not start with the host triplet.  If you think this
 
7070
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7071
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7072
whose name does not start with the host triplet.  If you think this
 
7073
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7074
ac_tool_warned=yes ;;
 
7075
esac
 
7076
    DSYMUTIL=$ac_ct_DSYMUTIL
 
7077
  fi
 
7078
else
 
7079
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
7080
fi
 
7081
 
 
7082
    if test -n "$ac_tool_prefix"; then
 
7083
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
7084
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
7085
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7086
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7087
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
7088
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7089
else
 
7090
  if test -n "$NMEDIT"; then
 
7091
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
7092
else
 
7093
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7094
for as_dir in $PATH
 
7095
do
 
7096
  IFS=$as_save_IFS
 
7097
  test -z "$as_dir" && as_dir=.
 
7098
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7099
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7100
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
7101
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7102
    break 2
 
7103
  fi
 
7104
done
 
7105
done
 
7106
IFS=$as_save_IFS
 
7107
 
 
7108
fi
 
7109
fi
 
7110
NMEDIT=$ac_cv_prog_NMEDIT
 
7111
if test -n "$NMEDIT"; then
 
7112
  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
7113
echo "${ECHO_T}$NMEDIT" >&6; }
 
7114
else
 
7115
  { echo "$as_me:$LINENO: result: no" >&5
 
7116
echo "${ECHO_T}no" >&6; }
 
7117
fi
 
7118
 
 
7119
 
 
7120
fi
 
7121
if test -z "$ac_cv_prog_NMEDIT"; then
 
7122
  ac_ct_NMEDIT=$NMEDIT
 
7123
  # Extract the first word of "nmedit", so it can be a program name with args.
 
7124
set dummy nmedit; ac_word=$2
 
7125
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7126
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7127
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
7128
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7129
else
 
7130
  if test -n "$ac_ct_NMEDIT"; then
 
7131
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
7132
else
 
7133
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7134
for as_dir in $PATH
 
7135
do
 
7136
  IFS=$as_save_IFS
 
7137
  test -z "$as_dir" && as_dir=.
 
7138
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7139
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7140
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
7141
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7142
    break 2
 
7143
  fi
 
7144
done
 
7145
done
 
7146
IFS=$as_save_IFS
 
7147
 
 
7148
fi
 
7149
fi
 
7150
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
7151
if test -n "$ac_ct_NMEDIT"; then
 
7152
  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
7153
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
 
7154
else
 
7155
  { echo "$as_me:$LINENO: result: no" >&5
 
7156
echo "${ECHO_T}no" >&6; }
 
7157
fi
 
7158
 
 
7159
  if test "x$ac_ct_NMEDIT" = x; then
 
7160
    NMEDIT=":"
 
7161
  else
 
7162
    case $cross_compiling:$ac_tool_warned in
 
7163
yes:)
 
7164
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7165
whose name does not start with the host triplet.  If you think this
 
7166
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7167
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7168
whose name does not start with the host triplet.  If you think this
 
7169
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7170
ac_tool_warned=yes ;;
 
7171
esac
 
7172
    NMEDIT=$ac_ct_NMEDIT
 
7173
  fi
 
7174
else
 
7175
  NMEDIT="$ac_cv_prog_NMEDIT"
 
7176
fi
 
7177
 
 
7178
 
 
7179
    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
7180
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
 
7181
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
7182
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7183
else
 
7184
  lt_cv_apple_cc_single_mod=no
 
7185
      if test -z "${LT_MULTI_MODULE}"; then
 
7186
   # By default we will add the -single_module flag. You can override
 
7187
   # by either setting the environment variable LT_MULTI_MODULE
 
7188
   # non-empty at configure time, or by adding -multi_module to the
 
7189
   # link flags.
 
7190
   echo "int foo(void){return 1;}" > conftest.c
 
7191
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7192
     -dynamiclib ${wl}-single_module conftest.c
 
7193
   if test -f libconftest.dylib; then
 
7194
     lt_cv_apple_cc_single_mod=yes
 
7195
     rm -rf libconftest.dylib*
 
7196
   fi
 
7197
   rm conftest.c
 
7198
      fi
 
7199
fi
 
7200
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
7201
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
 
7202
    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
7203
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
 
7204
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
7205
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7206
else
 
7207
  lt_cv_ld_exported_symbols_list=no
 
7208
      save_LDFLAGS=$LDFLAGS
 
7209
      echo "_main" > conftest.sym
 
7210
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
7211
      cat >conftest.$ac_ext <<_ACEOF
 
7212
/* confdefs.h.  */
 
7213
_ACEOF
 
7214
cat confdefs.h >>conftest.$ac_ext
 
7215
cat >>conftest.$ac_ext <<_ACEOF
 
7216
/* end confdefs.h.  */
 
7217
 
 
7218
int
 
7219
main ()
 
7220
{
 
7221
 
 
7222
  ;
 
7223
  return 0;
 
7224
}
 
7225
_ACEOF
 
7226
rm -f conftest.$ac_objext conftest$ac_exeext
 
7227
if { (ac_try="$ac_link"
 
7228
case "(($ac_try" in
 
7229
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7230
  *) ac_try_echo=$ac_try;;
 
7231
esac
 
7232
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7233
  (eval "$ac_link") 2>conftest.er1
 
7234
  ac_status=$?
 
7235
  grep -v '^ *+' conftest.er1 >conftest.err
 
7236
  rm -f conftest.er1
 
7237
  cat conftest.err >&5
 
7238
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7239
  (exit $ac_status); } && {
 
7240
         test -z "$ac_cxx_werror_flag" ||
 
7241
         test ! -s conftest.err
 
7242
       } && test -s conftest$ac_exeext &&
 
7243
       $as_test_x conftest$ac_exeext; then
 
7244
  lt_cv_ld_exported_symbols_list=yes
 
7245
else
 
7246
  echo "$as_me: failed program was:" >&5
 
7247
sed 's/^/| /' conftest.$ac_ext >&5
 
7248
 
 
7249
        lt_cv_ld_exported_symbols_list=no
 
7250
fi
 
7251
 
 
7252
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7253
      conftest$ac_exeext conftest.$ac_ext
 
7254
   LDFLAGS="$save_LDFLAGS"
 
7255
 
 
7256
fi
 
7257
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
7258
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
 
7259
    case $host_os in
 
7260
    rhapsody* | darwin1.[0123])
 
7261
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
7262
    darwin1.*)
 
7263
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7264
    darwin*)
 
7265
      # if running on 10.5 or later, the deployment target defaults
 
7266
      # to the OS version, if on x86, and 10.4, the deployment
 
7267
      # target defaults to 10.4. Don't you love it?
 
7268
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
7269
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
7270
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7271
   10.[012]*)
 
7272
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7273
   10.*)
 
7274
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7275
      esac
 
7276
    ;;
 
7277
  esac
 
7278
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
7279
      _lt_dar_single_mod='$single_module'
 
7280
    fi
 
7281
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
7282
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
7283
    else
 
7284
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
7285
    fi
 
7286
    if test "$DSYMUTIL" != ":"; then
 
7287
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
7288
    else
 
7289
      _lt_dsymutil=
 
7290
    fi
 
7291
    ;;
 
7292
  esac
 
7293
 
 
7294
 
6206
7295
enable_dlopen=no
6207
7296
enable_win32_dll=no
6208
7297
 
6209
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
7298
# Check whether --enable-libtool-lock was given.
6210
7299
if test "${enable_libtool_lock+set}" = set; then
6211
 
  enableval="$enable_libtool_lock"
 
7300
  enableval=$enable_libtool_lock;
 
7301
fi
6212
7302
 
6213
 
fi;
6214
7303
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6215
7304
 
6216
7305
 
6217
 
# Check whether --with-pic or --without-pic was given.
 
7306
# Check whether --with-pic was given.
6218
7307
if test "${with_pic+set}" = set; then
6219
 
  withval="$with_pic"
6220
 
  pic_mode="$withval"
 
7308
  withval=$with_pic; pic_mode="$withval"
6221
7309
else
6222
7310
  pic_mode=default
6223
 
fi;
 
7311
fi
 
7312
 
6224
7313
test -z "$pic_mode" && pic_mode=default
6225
7314
 
6226
7315
# Use C for the default configuration in the libtool script
6241
7330
objext=$objext
6242
7331
 
6243
7332
# Code to be used in simple compile tests
6244
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
7333
lt_simple_compile_test_code="int some_variable = 0;"
6245
7334
 
6246
7335
# Code to be used in simple link tests
6247
 
lt_simple_link_test_code='int main(){return(0);}\n'
 
7336
lt_simple_link_test_code='int main(){return(0);}'
6248
7337
 
6249
7338
 
6250
7339
# If no C compiler was specified, use CC.
6251
7340
LTCC=${LTCC-"$CC"}
6252
7341
 
 
7342
# If no C compiler flags were specified, use CFLAGS.
 
7343
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
7344
 
6253
7345
# Allow CC to be a program name with arguments.
6254
7346
compiler=$CC
6255
7347
 
6256
7348
 
6257
7349
# save warnings/boilerplate of simple test code
6258
7350
ac_outfile=conftest.$ac_objext
6259
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
6260
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
7351
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
7352
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6261
7353
_lt_compiler_boilerplate=`cat conftest.err`
6262
7354
$rm conftest*
6263
7355
 
6264
7356
ac_outfile=conftest.$ac_objext
6265
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
6266
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
7357
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
7358
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6267
7359
_lt_linker_boilerplate=`cat conftest.err`
6268
 
$rm conftest*
6269
 
 
6270
 
 
6271
 
#
6272
 
# Check for any special shared library compilation flags.
6273
 
#
6274
 
lt_prog_cc_shlib=
6275
 
if test "$GCC" = no; then
6276
 
  case $host_os in
6277
 
  sco3.2v5*)
6278
 
    lt_prog_cc_shlib='-belf'
6279
 
    ;;
6280
 
  esac
6281
 
fi
6282
 
if test -n "$lt_prog_cc_shlib"; then
6283
 
  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6284
 
echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6285
 
  if echo "$old_CC $old_CFLAGS " | grep "[      ]$lt_prog_cc_shlib[     ]" >/dev/null; then :
6286
 
  else
6287
 
    { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6288
 
echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6289
 
    lt_cv_prog_cc_can_build_shared=no
6290
 
  fi
6291
 
fi
6292
 
 
6293
 
 
6294
 
#
6295
 
# Check to make sure the static flag actually works.
6296
 
#
6297
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6298
 
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6299
 
if test "${lt_prog_compiler_static_works+set}" = set; then
6300
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6301
 
else
6302
 
  lt_prog_compiler_static_works=no
6303
 
   save_LDFLAGS="$LDFLAGS"
6304
 
   LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6305
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
6306
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6307
 
     # The compiler can only warn and ignore the option if not recognized
6308
 
     # So say no if there are warnings
6309
 
     if test -s conftest.err; then
6310
 
       # Append any errors to the config.log.
6311
 
       cat conftest.err 1>&5
6312
 
       $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
6313
 
       $SED '/^$/d' conftest.err >conftest.er2
6314
 
       if diff conftest.exp conftest.er2 >/dev/null; then
6315
 
         lt_prog_compiler_static_works=yes
6316
 
       fi
6317
 
     else
6318
 
       lt_prog_compiler_static_works=yes
6319
 
     fi
6320
 
   fi
6321
 
   $rm conftest*
6322
 
   LDFLAGS="$save_LDFLAGS"
6323
 
 
6324
 
fi
6325
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6326
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6327
 
 
6328
 
if test x"$lt_prog_compiler_static_works" = xyes; then
6329
 
    :
6330
 
else
6331
 
    lt_prog_compiler_static=
6332
 
fi
6333
 
 
 
7360
$rm -r conftest*
6334
7361
 
6335
7362
 
6336
7363
 
6340
7367
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6341
7368
 
6342
7369
 
6343
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6344
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
7370
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7371
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
6345
7372
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6346
7373
  echo $ECHO_N "(cached) $ECHO_C" >&6
6347
7374
else
6348
7375
  lt_cv_prog_compiler_rtti_exceptions=no
6349
7376
  ac_outfile=conftest.$ac_objext
6350
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7377
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6351
7378
   lt_compiler_flag="-fno-rtti -fno-exceptions"
6352
7379
   # Insert the option either (1) after the last *FLAGS variable, or
6353
7380
   # (2) before a word containing "conftest.", or (3) at the end.
6355
7382
   # with a dollar sign (not a hyphen), so the echo should work correctly.
6356
7383
   # The option is referenced via a variable to avoid confusing sed.
6357
7384
   lt_compile=`echo "$ac_compile" | $SED \
6358
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
7385
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6359
7386
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6360
7387
   -e 's:$: $lt_compiler_flag:'`
6361
 
   (eval echo "\"\$as_me:6361: $lt_compile\"" >&5)
 
7388
   (eval echo "\"\$as_me:7388: $lt_compile\"" >&5)
6362
7389
   (eval "$lt_compile" 2>conftest.err)
6363
7390
   ac_status=$?
6364
7391
   cat conftest.err >&5
6365
 
   echo "$as_me:6365: \$? = $ac_status" >&5
 
7392
   echo "$as_me:7392: \$? = $ac_status" >&5
6366
7393
   if (exit $ac_status) && test -s "$ac_outfile"; then
6367
7394
     # The compiler can only warn and ignore the option if not recognized
6368
7395
     # So say no if there are warnings other than the usual output.
6369
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
6370
 
     $SED '/^$/d' conftest.err >conftest.er2
6371
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
7396
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7397
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
7398
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6372
7399
       lt_cv_prog_compiler_rtti_exceptions=yes
6373
7400
     fi
6374
7401
   fi
6375
7402
   $rm conftest*
6376
7403
 
6377
7404
fi
6378
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6379
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
7405
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7406
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6380
7407
 
6381
7408
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6382
7409
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6390
7417
lt_prog_compiler_pic=
6391
7418
lt_prog_compiler_static=
6392
7419
 
6393
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6394
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
7420
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7421
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
6395
7422
 
6396
7423
  if test "$GCC" = yes; then
6397
7424
    lt_prog_compiler_wl='-Wl,'
6413
7440
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6414
7441
      ;;
6415
7442
 
6416
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
7443
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6417
7444
      # PIC is the default for these OSes.
6418
7445
      ;;
6419
7446
 
6420
 
    mingw* | pw32* | os2*)
 
7447
    mingw* | cygwin* | pw32* | os2*)
6421
7448
      # This hack is so that the source file can tell whether it is being
6422
7449
      # built for inclusion in a dll (and should export symbols for example).
 
7450
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
7451
      # (--disable-auto-import) libraries
6423
7452
      lt_prog_compiler_pic='-DDLL_EXPORT'
6424
7453
      ;;
6425
7454
 
6429
7458
      lt_prog_compiler_pic='-fno-common'
6430
7459
      ;;
6431
7460
 
 
7461
    interix[3-9]*)
 
7462
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
7463
      # Instead, we relocate shared libraries at runtime.
 
7464
      ;;
 
7465
 
6432
7466
    msdosdjgpp*)
6433
7467
      # Just because we use GCC doesn't mean we suddenly get shared libraries
6434
7468
      # on systems that don't support them.
6445
7479
    hpux*)
6446
7480
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6447
7481
      # not for PA HP-UX.
6448
 
      case "$host_cpu" in
 
7482
      case $host_cpu in
6449
7483
      hppa*64*|ia64*)
6450
7484
        # +Z the default
6451
7485
        ;;
6482
7516
       esac
6483
7517
       ;;
6484
7518
 
6485
 
    mingw* | pw32* | os2*)
 
7519
    mingw* | cygwin* | pw32* | os2*)
6486
7520
      # This hack is so that the source file can tell whether it is being
6487
7521
      # built for inclusion in a dll (and should export symbols for example).
6488
7522
      lt_prog_compiler_pic='-DDLL_EXPORT'
6492
7526
      lt_prog_compiler_wl='-Wl,'
6493
7527
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6494
7528
      # not for PA HP-UX.
6495
 
      case "$host_cpu" in
 
7529
      case $host_cpu in
6496
7530
      hppa*64*|ia64*)
6497
7531
        # +Z the default
6498
7532
        ;;
6515
7549
      lt_prog_compiler_static='-Bstatic'
6516
7550
      ;;
6517
7551
 
6518
 
    linux*)
 
7552
    linux* | k*bsd*-gnu)
6519
7553
      case $cc_basename in
6520
7554
      icc* | ecc*)
6521
7555
        lt_prog_compiler_wl='-Wl,'
6522
7556
        lt_prog_compiler_pic='-KPIC'
6523
7557
        lt_prog_compiler_static='-static'
6524
7558
        ;;
6525
 
      pgcc* | pgf77* | pgf90*)
 
7559
      pgcc* | pgf77* | pgf90* | pgf95*)
6526
7560
        # Portland Group compilers (*not* the Pentium gcc compiler,
6527
7561
        # which looks to be a dead project)
6528
7562
        lt_prog_compiler_wl='-Wl,'
6529
7563
        lt_prog_compiler_pic='-fpic'
6530
 
        lt_prog_compiler_static='-static'
 
7564
        lt_prog_compiler_static='-Bstatic'
6531
7565
        ;;
6532
7566
      ccc*)
6533
7567
        lt_prog_compiler_wl='-Wl,'
6534
7568
        # All Alpha code is PIC.
6535
7569
        lt_prog_compiler_static='-non_shared'
6536
7570
        ;;
 
7571
      *)
 
7572
        case `$CC -V 2>&1 | sed 5q` in
 
7573
        *Sun\ C*)
 
7574
          # Sun C 5.9
 
7575
          lt_prog_compiler_pic='-KPIC'
 
7576
          lt_prog_compiler_static='-Bstatic'
 
7577
          lt_prog_compiler_wl='-Wl,'
 
7578
          ;;
 
7579
        *Sun\ F*)
 
7580
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
7581
          lt_prog_compiler_pic='-KPIC'
 
7582
          lt_prog_compiler_static='-Bstatic'
 
7583
          lt_prog_compiler_wl=''
 
7584
          ;;
 
7585
        esac
 
7586
        ;;
6537
7587
      esac
6538
7588
      ;;
6539
7589
 
6543
7593
      lt_prog_compiler_static='-non_shared'
6544
7594
      ;;
6545
7595
 
6546
 
    sco3.2v5*)
6547
 
      lt_prog_compiler_pic='-Kpic'
6548
 
      lt_prog_compiler_static='-dn'
 
7596
    rdos*)
 
7597
      lt_prog_compiler_static='-non_shared'
6549
7598
      ;;
6550
7599
 
6551
7600
    solaris*)
6565
7614
      lt_prog_compiler_static='-Bstatic'
6566
7615
      ;;
6567
7616
 
6568
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
7617
    sysv4 | sysv4.2uw2* | sysv4.3*)
6569
7618
      lt_prog_compiler_wl='-Wl,'
6570
7619
      lt_prog_compiler_pic='-KPIC'
6571
7620
      lt_prog_compiler_static='-Bstatic'
6578
7627
      fi
6579
7628
      ;;
6580
7629
 
 
7630
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
7631
      lt_prog_compiler_wl='-Wl,'
 
7632
      lt_prog_compiler_pic='-KPIC'
 
7633
      lt_prog_compiler_static='-Bstatic'
 
7634
      ;;
 
7635
 
6581
7636
    unicos*)
6582
7637
      lt_prog_compiler_wl='-Wl,'
6583
7638
      lt_prog_compiler_can_build_shared=no
6594
7649
    esac
6595
7650
  fi
6596
7651
 
6597
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6598
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
7652
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
7653
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
6599
7654
 
6600
7655
#
6601
7656
# Check to make sure the PIC flag actually works.
6602
7657
#
6603
7658
if test -n "$lt_prog_compiler_pic"; then
6604
7659
 
6605
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6606
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6607
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
 
7660
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7661
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
 
7662
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
6608
7663
  echo $ECHO_N "(cached) $ECHO_C" >&6
6609
7664
else
6610
 
  lt_prog_compiler_pic_works=no
 
7665
  lt_cv_prog_compiler_pic_works=no
6611
7666
  ac_outfile=conftest.$ac_objext
6612
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7667
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6613
7668
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6614
7669
   # Insert the option either (1) after the last *FLAGS variable, or
6615
7670
   # (2) before a word containing "conftest.", or (3) at the end.
6617
7672
   # with a dollar sign (not a hyphen), so the echo should work correctly.
6618
7673
   # The option is referenced via a variable to avoid confusing sed.
6619
7674
   lt_compile=`echo "$ac_compile" | $SED \
6620
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
7675
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6621
7676
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6622
7677
   -e 's:$: $lt_compiler_flag:'`
6623
 
   (eval echo "\"\$as_me:6623: $lt_compile\"" >&5)
 
7678
   (eval echo "\"\$as_me:7678: $lt_compile\"" >&5)
6624
7679
   (eval "$lt_compile" 2>conftest.err)
6625
7680
   ac_status=$?
6626
7681
   cat conftest.err >&5
6627
 
   echo "$as_me:6627: \$? = $ac_status" >&5
 
7682
   echo "$as_me:7682: \$? = $ac_status" >&5
6628
7683
   if (exit $ac_status) && test -s "$ac_outfile"; then
6629
7684
     # The compiler can only warn and ignore the option if not recognized
6630
7685
     # So say no if there are warnings other than the usual output.
6631
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
6632
 
     $SED '/^$/d' conftest.err >conftest.er2
6633
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
6634
 
       lt_prog_compiler_pic_works=yes
 
7686
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7687
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
7688
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
7689
       lt_cv_prog_compiler_pic_works=yes
6635
7690
     fi
6636
7691
   fi
6637
7692
   $rm conftest*
6638
7693
 
6639
7694
fi
6640
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6641
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
7695
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
7696
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
6642
7697
 
6643
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
 
7698
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
6644
7699
    case $lt_prog_compiler_pic in
6645
7700
     "" | " "*) ;;
6646
7701
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6651
7706
fi
6652
7707
 
6653
7708
fi
6654
 
case "$host_os" in
 
7709
case $host_os in
6655
7710
  # For platforms which do not support PIC, -DPIC is meaningless:
6656
7711
  *djgpp*)
6657
7712
    lt_prog_compiler_pic=
6661
7716
    ;;
6662
7717
esac
6663
7718
 
6664
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6665
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
7719
#
 
7720
# Check to make sure the static flag actually works.
 
7721
#
 
7722
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
7723
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
7724
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
7725
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
7726
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7727
else
 
7728
  lt_cv_prog_compiler_static_works=no
 
7729
   save_LDFLAGS="$LDFLAGS"
 
7730
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
7731
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
7732
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
7733
     # The linker can only warn and ignore the option if not recognized
 
7734
     # So say no if there are warnings
 
7735
     if test -s conftest.err; then
 
7736
       # Append any errors to the config.log.
 
7737
       cat conftest.err 1>&5
 
7738
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
7739
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
7740
       if diff conftest.exp conftest.er2 >/dev/null; then
 
7741
         lt_cv_prog_compiler_static_works=yes
 
7742
       fi
 
7743
     else
 
7744
       lt_cv_prog_compiler_static_works=yes
 
7745
     fi
 
7746
   fi
 
7747
   $rm -r conftest*
 
7748
   LDFLAGS="$save_LDFLAGS"
 
7749
 
 
7750
fi
 
7751
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
7752
echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
 
7753
 
 
7754
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 
7755
    :
 
7756
else
 
7757
    lt_prog_compiler_static=
 
7758
fi
 
7759
 
 
7760
 
 
7761
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7762
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
6666
7763
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6667
7764
  echo $ECHO_N "(cached) $ECHO_C" >&6
6668
7765
else
6671
7768
   mkdir conftest
6672
7769
   cd conftest
6673
7770
   mkdir out
6674
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7771
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6675
7772
 
6676
7773
   lt_compiler_flag="-o out/conftest2.$ac_objext"
6677
7774
   # Insert the option either (1) after the last *FLAGS variable, or
6679
7776
   # Note that $ac_compile itself does not contain backslashes and begins
6680
7777
   # with a dollar sign (not a hyphen), so the echo should work correctly.
6681
7778
   lt_compile=`echo "$ac_compile" | $SED \
6682
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
7779
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6683
7780
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6684
7781
   -e 's:$: $lt_compiler_flag:'`
6685
 
   (eval echo "\"\$as_me:6685: $lt_compile\"" >&5)
 
7782
   (eval echo "\"\$as_me:7782: $lt_compile\"" >&5)
6686
7783
   (eval "$lt_compile" 2>out/conftest.err)
6687
7784
   ac_status=$?
6688
7785
   cat out/conftest.err >&5
6689
 
   echo "$as_me:6689: \$? = $ac_status" >&5
 
7786
   echo "$as_me:7786: \$? = $ac_status" >&5
6690
7787
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
6691
7788
   then
6692
7789
     # The compiler can only warn and ignore the option if not recognized
6693
7790
     # So say no if there are warnings
6694
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
6695
 
     $SED '/^$/d' out/conftest.err >out/conftest.er2
6696
 
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
7791
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
7792
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
7793
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6697
7794
       lt_cv_prog_compiler_c_o=yes
6698
7795
     fi
6699
7796
   fi
6700
 
   chmod u+w .
 
7797
   chmod u+w . 2>&5
6701
7798
   $rm conftest*
6702
7799
   # SGI C++ compiler will create directory out/ii_files/ for
6703
7800
   # template instantiation
6708
7805
   $rm conftest*
6709
7806
 
6710
7807
fi
6711
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6712
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
7808
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
7809
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
6713
7810
 
6714
7811
 
6715
7812
hard_links="nottested"
6716
7813
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6717
7814
  # do not overwrite the value of need_locks provided by the user
6718
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6719
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
7815
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
7816
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
6720
7817
  hard_links=yes
6721
7818
  $rm conftest*
6722
7819
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6723
7820
  touch conftest.a
6724
7821
  ln conftest.a conftest.b 2>&5 || hard_links=no
6725
7822
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6726
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
6727
 
echo "${ECHO_T}$hard_links" >&6
 
7823
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
7824
echo "${ECHO_T}$hard_links" >&6; }
6728
7825
  if test "$hard_links" = no; then
6729
7826
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6730
7827
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6734
7831
  need_locks=no
6735
7832
fi
6736
7833
 
6737
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6738
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
7834
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
7835
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
6739
7836
 
6740
7837
  runpath_var=
6741
7838
  allow_undefined_flag=
6766
7863
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
6767
7864
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6768
7865
  # as well as any symbol that contains `d'.
6769
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 
7866
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
6770
7867
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6771
7868
  # platforms (ab)use it in PIC code, but their linkers get confused if
6772
7869
  # the symbol is explicitly referenced.  Since portable code cannot
6773
7870
  # rely on this symbol name, it's probably fine to never include it in
6774
7871
  # preloaded symbol tables.
 
7872
  # Exclude shared library initialization/finalization symbols.
6775
7873
  extract_expsyms_cmds=
6776
7874
  # Just being paranoid about ensuring that cc_basename is set.
6777
7875
  for cc_temp in $compiler""; do
6793
7891
      with_gnu_ld=no
6794
7892
    fi
6795
7893
    ;;
 
7894
  interix*)
 
7895
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
7896
    with_gnu_ld=yes
 
7897
    ;;
6796
7898
  openbsd*)
6797
7899
    with_gnu_ld=no
6798
7900
    ;;
6826
7928
 
6827
7929
    # See if GNU ld supports shared libraries.
6828
7930
    case $host_os in
6829
 
    aix3* | aix4* | aix5*)
 
7931
    aix[3-9]*)
6830
7932
      # On AIX/PPC, the GNU linker is very broken
6831
7933
      if test "$host_cpu" != ia64; then
6832
7934
        ld_shlibs=no
6874
7976
      allow_undefined_flag=unsupported
6875
7977
      always_export_symbols=no
6876
7978
      enable_shared_with_static_runtimes=yes
6877
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
7979
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
6878
7980
 
6879
7981
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6880
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
7982
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6881
7983
        # If the export-symbols file already is a .def file (1st line
6882
7984
        # is EXPORTS), use it as is; otherwise, prepend...
6883
7985
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6886
7988
          echo EXPORTS > $output_objdir/$soname.def;
6887
7989
          cat $export_symbols >> $output_objdir/$soname.def;
6888
7990
        fi~
6889
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 
7991
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6890
7992
      else
6891
7993
        ld_shlibs=no
6892
7994
      fi
6893
7995
      ;;
6894
7996
 
6895
 
    linux*)
 
7997
    interix[3-9]*)
 
7998
      hardcode_direct=no
 
7999
      hardcode_shlibpath_var=no
 
8000
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8001
      export_dynamic_flag_spec='${wl}-E'
 
8002
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
8003
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
8004
      # default) and relocated if they conflict, which is a slow very memory
 
8005
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
8006
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
8007
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
8008
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
8009
      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'
 
8010
      ;;
 
8011
 
 
8012
    gnu* | linux* | k*bsd*-gnu)
6896
8013
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6897
8014
        tmp_addflag=
6898
8015
        case $cc_basename,$host_cpu in
6899
8016
        pgcc*)                          # Portland Group C compiler
6900
 
          whole_archive_flag_spec=
 
8017
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
8018
          tmp_addflag=' $pic_flag'
6901
8019
          ;;
6902
 
        pgf77* | pgf90* )                       # Portland Group f77 and f90 compilers
6903
 
          whole_archive_flag_spec=
6904
 
          tmp_addflag=' -fpic -Mnomain' ;;
 
8020
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
8021
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
8022
          tmp_addflag=' $pic_flag -Mnomain' ;;
6905
8023
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
6906
8024
          tmp_addflag=' -i_dynamic' ;;
6907
8025
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
6909
8027
        ifc* | ifort*)                  # Intel Fortran compiler
6910
8028
          tmp_addflag=' -nofor_main' ;;
6911
8029
        esac
6912
 
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8030
        case `$CC -V 2>&1 | sed 5q` in
 
8031
        *Sun\ C*)                       # Sun C 5.9
 
8032
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
8033
          tmp_sharedflag='-G' ;;
 
8034
        *Sun\ F*)                       # Sun Fortran 8.3
 
8035
          tmp_sharedflag='-G' ;;
 
8036
        *)
 
8037
          tmp_sharedflag='-shared' ;;
 
8038
        esac
 
8039
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6913
8040
 
6914
8041
        if test $supports_anon_versioning = yes; then
6915
8042
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
6916
8043
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6917
8044
  $echo "local: *; };" >> $output_objdir/$libname.ver~
6918
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
8045
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6919
8046
        fi
 
8047
        link_all_deplibs=no
6920
8048
      else
6921
8049
        ld_shlibs=no
6922
8050
      fi
6923
8051
      ;;
6924
8052
 
6925
 
    netbsd*)
 
8053
    netbsd* | netbsdelf*-gnu)
6926
8054
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6927
8055
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6928
8056
        wlarc=
6932
8060
      fi
6933
8061
      ;;
6934
8062
 
6935
 
    solaris* | sysv5*)
 
8063
    solaris*)
6936
8064
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6937
8065
        ld_shlibs=no
6938
8066
        cat <<EOF 1>&2
6953
8081
      fi
6954
8082
      ;;
6955
8083
 
 
8084
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
8085
      case `$LD -v 2>&1` in
 
8086
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
8087
        ld_shlibs=no
 
8088
        cat <<_LT_EOF 1>&2
 
8089
 
 
8090
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
8091
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
8092
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
8093
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
8094
*** your PATH or compiler configuration so that the native linker is
 
8095
*** used, and then restart.
 
8096
 
 
8097
_LT_EOF
 
8098
        ;;
 
8099
        *)
 
8100
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8101
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
8102
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
8103
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
8104
          else
 
8105
            ld_shlibs=no
 
8106
          fi
 
8107
        ;;
 
8108
      esac
 
8109
      ;;
 
8110
 
6956
8111
    sunos4*)
6957
8112
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6958
8113
      wlarc=
6986
8141
      # Note: this linker hardcodes the directories in LIBPATH if there
6987
8142
      # are no directories specified by -L.
6988
8143
      hardcode_minus_L=yes
6989
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
8144
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
6990
8145
        # Neither direct hardcoding nor static linking is supported with a
6991
8146
        # broken collect2.
6992
8147
        hardcode_direct=unsupported
6993
8148
      fi
6994
8149
      ;;
6995
8150
 
6996
 
    aix4* | aix5*)
 
8151
    aix[4-9]*)
6997
8152
      if test "$host_cpu" = ia64; then
6998
8153
        # On IA64, the linker does run time linking by default, so we don't
6999
8154
        # have to do anything special.
7013
8168
        # Test if we are trying to use run time linking or normal
7014
8169
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7015
8170
        # need to do runtime linking.
7016
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
8171
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
7017
8172
          for ld_flag in $LDFLAGS; do
7018
8173
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7019
8174
            aix_use_runtimelinking=yes
7020
8175
            break
7021
8176
          fi
7022
8177
          done
 
8178
          ;;
7023
8179
        esac
7024
8180
 
7025
8181
        exp_sym_flag='-bexport'
7046
8202
           strings "$collect2name" | grep resolve_lib_name >/dev/null
7047
8203
          then
7048
8204
          # We have reworked collect2
7049
 
          hardcode_direct=yes
 
8205
          :
7050
8206
          else
7051
8207
          # We have old collect2
7052
8208
          hardcode_direct=unsupported
7057
8213
          hardcode_libdir_flag_spec='-L$libdir'
7058
8214
          hardcode_libdir_separator=
7059
8215
          fi
 
8216
          ;;
7060
8217
        esac
7061
8218
        shared_flag='-shared'
7062
8219
        if test "$aix_use_runtimelinking" = yes; then
7069
8226
        # chokes on -Wl,-G. The following line is correct:
7070
8227
          shared_flag='-G'
7071
8228
        else
7072
 
        if test "$aix_use_runtimelinking" = yes; then
 
8229
          if test "$aix_use_runtimelinking" = yes; then
7073
8230
            shared_flag='${wl}-G'
7074
8231
          else
7075
8232
            shared_flag='${wl}-bM:SRE'
7076
 
        fi
 
8233
          fi
7077
8234
        fi
7078
8235
      fi
7079
8236
 
7101
8258
}
7102
8259
_ACEOF
7103
8260
rm -f conftest.$ac_objext conftest$ac_exeext
7104
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7105
 
  (eval $ac_link) 2>conftest.er1
 
8261
if { (ac_try="$ac_link"
 
8262
case "(($ac_try" in
 
8263
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8264
  *) ac_try_echo=$ac_try;;
 
8265
esac
 
8266
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8267
  (eval "$ac_link") 2>conftest.er1
7106
8268
  ac_status=$?
7107
8269
  grep -v '^ *+' conftest.er1 >conftest.err
7108
8270
  rm -f conftest.er1
7109
8271
  cat conftest.err >&5
7110
8272
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7111
 
  (exit $ac_status); } &&
7112
 
         { ac_try='test -z "$ac_c_werror_flag"
7113
 
                         || test ! -s conftest.err'
7114
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7115
 
  (eval $ac_try) 2>&5
7116
 
  ac_status=$?
7117
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7118
 
  (exit $ac_status); }; } &&
7119
 
         { ac_try='test -s conftest$ac_exeext'
7120
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7121
 
  (eval $ac_try) 2>&5
7122
 
  ac_status=$?
7123
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7124
 
  (exit $ac_status); }; }; then
 
8273
  (exit $ac_status); } && {
 
8274
         test -z "$ac_c_werror_flag" ||
 
8275
         test ! -s conftest.err
 
8276
       } && test -s conftest$ac_exeext &&
 
8277
       $as_test_x conftest$ac_exeext; then
7125
8278
 
7126
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7127
 
}'`
 
8279
lt_aix_libpath_sed='
 
8280
    /Import File Strings/,/^$/ {
 
8281
        /^0/ {
 
8282
            s/^0  *\(.*\)$/\1/
 
8283
            p
 
8284
        }
 
8285
    }'
 
8286
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7128
8287
# Check for a 64-bit object if we didn't find anything.
7129
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7130
 
}'`; fi
 
8288
if test -z "$aix_libpath"; then
 
8289
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8290
fi
7131
8291
else
7132
8292
  echo "$as_me: failed program was:" >&5
7133
8293
sed 's/^/| /' conftest.$ac_ext >&5
7134
8294
 
 
8295
 
7135
8296
fi
7136
 
rm -f conftest.err conftest.$ac_objext \
 
8297
 
 
8298
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7137
8299
      conftest$ac_exeext conftest.$ac_ext
7138
8300
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7139
8301
 
7140
8302
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7141
 
        archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
8303
        archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7142
8304
       else
7143
8305
        if test "$host_cpu" = ia64; then
7144
8306
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7145
8307
          allow_undefined_flag="-z nodefs"
7146
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
8308
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
7147
8309
        else
7148
8310
         # Determine the default libpath from the value encoded in an empty executable.
7149
8311
         cat >conftest.$ac_ext <<_ACEOF
7162
8324
}
7163
8325
_ACEOF
7164
8326
rm -f conftest.$ac_objext conftest$ac_exeext
7165
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7166
 
  (eval $ac_link) 2>conftest.er1
 
8327
if { (ac_try="$ac_link"
 
8328
case "(($ac_try" in
 
8329
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8330
  *) ac_try_echo=$ac_try;;
 
8331
esac
 
8332
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8333
  (eval "$ac_link") 2>conftest.er1
7167
8334
  ac_status=$?
7168
8335
  grep -v '^ *+' conftest.er1 >conftest.err
7169
8336
  rm -f conftest.er1
7170
8337
  cat conftest.err >&5
7171
8338
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7172
 
  (exit $ac_status); } &&
7173
 
         { ac_try='test -z "$ac_c_werror_flag"
7174
 
                         || test ! -s conftest.err'
7175
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7176
 
  (eval $ac_try) 2>&5
7177
 
  ac_status=$?
7178
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7179
 
  (exit $ac_status); }; } &&
7180
 
         { ac_try='test -s conftest$ac_exeext'
7181
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7182
 
  (eval $ac_try) 2>&5
7183
 
  ac_status=$?
7184
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7185
 
  (exit $ac_status); }; }; then
 
8339
  (exit $ac_status); } && {
 
8340
         test -z "$ac_c_werror_flag" ||
 
8341
         test ! -s conftest.err
 
8342
       } && test -s conftest$ac_exeext &&
 
8343
       $as_test_x conftest$ac_exeext; then
7186
8344
 
7187
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7188
 
}'`
 
8345
lt_aix_libpath_sed='
 
8346
    /Import File Strings/,/^$/ {
 
8347
        /^0/ {
 
8348
            s/^0  *\(.*\)$/\1/
 
8349
            p
 
8350
        }
 
8351
    }'
 
8352
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7189
8353
# Check for a 64-bit object if we didn't find anything.
7190
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7191
 
}'`; fi
 
8354
if test -z "$aix_libpath"; then
 
8355
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8356
fi
7192
8357
else
7193
8358
  echo "$as_me: failed program was:" >&5
7194
8359
sed 's/^/| /' conftest.$ac_ext >&5
7195
8360
 
 
8361
 
7196
8362
fi
7197
 
rm -f conftest.err conftest.$ac_objext \
 
8363
 
 
8364
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7198
8365
      conftest$ac_exeext conftest.$ac_ext
7199
8366
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7200
8367
 
7203
8370
          # -berok will link without error, but may produce a broken library.
7204
8371
          no_undefined_flag=' ${wl}-bernotok'
7205
8372
          allow_undefined_flag=' ${wl}-berok'
7206
 
          # -bexpall does not export symbols beginning with underscore (_)
7207
 
          always_export_symbols=yes
7208
8373
          # Exported symbols can be pulled into shared objects from archives
7209
 
          whole_archive_flag_spec=' '
 
8374
          whole_archive_flag_spec='$convenience'
7210
8375
          archive_cmds_need_lc=yes
7211
 
          # This is similar to how AIX traditionally builds it's shared libraries.
7212
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
8376
          # This is similar to how AIX traditionally builds its shared libraries.
 
8377
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7213
8378
        fi
7214
8379
      fi
7215
8380
      ;;
7242
8407
      # The linker will automatically build a .lib file if we build a DLL.
7243
8408
      old_archive_From_new_cmds='true'
7244
8409
      # FIXME: Should let the user specify the lib program.
7245
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
8410
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
7246
8411
      fix_srcfile_path='`cygpath -w "$srcfile"`'
7247
8412
      enable_shared_with_static_runtimes=yes
7248
8413
      ;;
7249
8414
 
7250
8415
    darwin* | rhapsody*)
7251
 
      case "$host_os" in
 
8416
      case $host_os in
7252
8417
        rhapsody* | darwin1.[012])
7253
8418
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
7254
8419
         ;;
7275
8440
      link_all_deplibs=yes
7276
8441
    if test "$GCC" = yes ; then
7277
8442
        output_verbose_link_cmd='echo'
7278
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7279
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7280
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7281
 
      archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7282
 
      module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
8443
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
8444
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
8445
        archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
8446
        module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
7283
8447
    else
7284
8448
      case $cc_basename in
7285
8449
        xlc*)
7286
8450
         output_verbose_link_cmd='echo'
7287
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
8451
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
7288
8452
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7289
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7290
 
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
8453
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
8454
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7291
8455
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7292
8456
          ;;
7293
8457
       *)
7327
8491
      ;;
7328
8492
 
7329
8493
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7330
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
8494
    freebsd* | dragonfly*)
7331
8495
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7332
8496
      hardcode_libdir_flag_spec='-R$libdir'
7333
8497
      hardcode_direct=yes
7350
8514
      export_dynamic_flag_spec='${wl}-E'
7351
8515
      ;;
7352
8516
 
7353
 
    hpux10* | hpux11*)
7354
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7355
 
        case "$host_cpu" in
7356
 
        hppa*64*|ia64*)
 
8517
    hpux10*)
 
8518
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8519
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8520
      else
 
8521
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
8522
      fi
 
8523
      if test "$with_gnu_ld" = no; then
 
8524
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8525
        hardcode_libdir_separator=:
 
8526
 
 
8527
        hardcode_direct=yes
 
8528
        export_dynamic_flag_spec='${wl}-E'
 
8529
 
 
8530
        # hardcode_minus_L: Not really in the search PATH,
 
8531
        # but as the default location of the library.
 
8532
        hardcode_minus_L=yes
 
8533
      fi
 
8534
      ;;
 
8535
 
 
8536
    hpux11*)
 
8537
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8538
        case $host_cpu in
 
8539
        hppa*64*)
7357
8540
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7358
8541
          ;;
 
8542
        ia64*)
 
8543
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
8544
          ;;
7359
8545
        *)
7360
8546
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7361
8547
          ;;
7362
8548
        esac
7363
8549
      else
7364
 
        case "$host_cpu" in
7365
 
        hppa*64*|ia64*)
7366
 
          archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8550
        case $host_cpu in
 
8551
        hppa*64*)
 
8552
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8553
          ;;
 
8554
        ia64*)
 
8555
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7367
8556
          ;;
7368
8557
        *)
7369
 
          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
8558
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7370
8559
          ;;
7371
8560
        esac
7372
8561
      fi
7373
8562
      if test "$with_gnu_ld" = no; then
7374
 
        case "$host_cpu" in
7375
 
        hppa*64*)
7376
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8563
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8564
        hardcode_libdir_separator=:
 
8565
 
 
8566
        case $host_cpu in
 
8567
        hppa*64*|ia64*)
7377
8568
          hardcode_libdir_flag_spec_ld='+b $libdir'
7378
 
          hardcode_libdir_separator=:
7379
 
          hardcode_direct=no
7380
 
          hardcode_shlibpath_var=no
7381
 
          ;;
7382
 
        ia64*)
7383
 
          hardcode_libdir_flag_spec='-L$libdir'
7384
 
          hardcode_direct=no
7385
 
          hardcode_shlibpath_var=no
7386
 
 
7387
 
          # hardcode_minus_L: Not really in the search PATH,
7388
 
          # but as the default location of the library.
7389
 
          hardcode_minus_L=yes
 
8569
          hardcode_direct=no
 
8570
          hardcode_shlibpath_var=no
7390
8571
          ;;
7391
8572
        *)
7392
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7393
 
          hardcode_libdir_separator=:
7394
8573
          hardcode_direct=yes
7395
8574
          export_dynamic_flag_spec='${wl}-E'
7396
8575
 
7414
8593
      link_all_deplibs=yes
7415
8594
      ;;
7416
8595
 
7417
 
    netbsd*)
 
8596
    netbsd* | netbsdelf*-gnu)
7418
8597
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7419
8598
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
7420
8599
      else
7434
8613
      ;;
7435
8614
 
7436
8615
    openbsd*)
7437
 
      hardcode_direct=yes
7438
 
      hardcode_shlibpath_var=no
7439
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7440
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7441
 
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7442
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7443
 
        export_dynamic_flag_spec='${wl}-E'
 
8616
      if test -f /usr/libexec/ld.so; then
 
8617
        hardcode_direct=yes
 
8618
        hardcode_shlibpath_var=no
 
8619
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
8620
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8621
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
8622
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8623
          export_dynamic_flag_spec='${wl}-E'
 
8624
        else
 
8625
          case $host_os in
 
8626
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
8627
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
8628
             hardcode_libdir_flag_spec='-R$libdir'
 
8629
             ;;
 
8630
           *)
 
8631
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8632
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8633
             ;;
 
8634
          esac
 
8635
        fi
7444
8636
      else
7445
 
       case $host_os in
7446
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7447
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7448
 
           hardcode_libdir_flag_spec='-R$libdir'
7449
 
           ;;
7450
 
         *)
7451
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7452
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7453
 
           ;;
7454
 
       esac
 
8637
        ld_shlibs=no
7455
8638
      fi
7456
8639
      ;;
7457
8640
 
7492
8675
      hardcode_libdir_separator=:
7493
8676
      ;;
7494
8677
 
7495
 
    sco3.2v5*)
7496
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7497
 
      hardcode_shlibpath_var=no
7498
 
      export_dynamic_flag_spec='${wl}-Bexport'
7499
 
      runpath_var=LD_RUN_PATH
7500
 
      hardcode_runpath_var=yes
7501
 
      ;;
7502
 
 
7503
8678
    solaris*)
7504
8679
      no_undefined_flag=' -z text'
7505
8680
      if test "$GCC" = yes; then
7518
8693
      case $host_os in
7519
8694
      solaris2.[0-5] | solaris2.[0-5].*) ;;
7520
8695
      *)
7521
 
        # The compiler driver will combine linker options so we
7522
 
        # cannot just pass the convience library names through
7523
 
        # without $wl, iff we do not link with $LD.
7524
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
8696
        # The compiler driver will combine and reorder linker options,
 
8697
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
8698
        # but is careful enough not to reorder.
7525
8699
        # Supported since Solaris 2.6 (maybe 2.5.1?)
7526
 
        case $wlarc in
7527
 
        '')
7528
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7529
 
        *)
7530
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
7531
 
        esac ;;
 
8700
        if test "$GCC" = yes; then
 
8701
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
8702
        else
 
8703
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
8704
        fi
 
8705
        ;;
7532
8706
      esac
7533
8707
      link_all_deplibs=yes
7534
8708
      ;;
7585
8759
      fi
7586
8760
      ;;
7587
8761
 
7588
 
    sysv4.2uw2*)
7589
 
      archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7590
 
      hardcode_direct=yes
7591
 
      hardcode_minus_L=no
7592
 
      hardcode_shlibpath_var=no
7593
 
      hardcode_runpath_var=yes
7594
 
      runpath_var=LD_RUN_PATH
7595
 
      ;;
7596
 
 
7597
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
7598
 
      no_undefined_flag='${wl}-z ${wl}text'
7599
 
      if test "$GCC" = yes; then
7600
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7601
 
      else
7602
 
        archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7603
 
      fi
7604
 
      runpath_var='LD_RUN_PATH'
7605
 
      hardcode_shlibpath_var=no
7606
 
      ;;
7607
 
 
7608
 
    sysv5*)
7609
 
      no_undefined_flag=' -z text'
7610
 
      # $CC -shared without GNU ld will not create a library from C++
7611
 
      # object files and a static libstdc++, better avoid it by now
7612
 
      archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7613
 
      archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7614
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7615
 
      hardcode_libdir_flag_spec=
7616
 
      hardcode_shlibpath_var=no
7617
 
      runpath_var='LD_RUN_PATH'
 
8762
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
8763
      no_undefined_flag='${wl}-z,text'
 
8764
      archive_cmds_need_lc=no
 
8765
      hardcode_shlibpath_var=no
 
8766
      runpath_var='LD_RUN_PATH'
 
8767
 
 
8768
      if test "$GCC" = yes; then
 
8769
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8770
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8771
      else
 
8772
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8773
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8774
      fi
 
8775
      ;;
 
8776
 
 
8777
    sysv5* | sco3.2v5* | sco5v6*)
 
8778
      # Note: We can NOT use -z defs as we might desire, because we do not
 
8779
      # link with -lc, and that would cause any symbols used from libc to
 
8780
      # always be unresolved, which means just about no library would
 
8781
      # ever link correctly.  If we're not using GNU ld we use -z text
 
8782
      # though, which does catch some bad symbols but isn't as heavy-handed
 
8783
      # as -z defs.
 
8784
      no_undefined_flag='${wl}-z,text'
 
8785
      allow_undefined_flag='${wl}-z,nodefs'
 
8786
      archive_cmds_need_lc=no
 
8787
      hardcode_shlibpath_var=no
 
8788
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
8789
      hardcode_libdir_separator=':'
 
8790
      link_all_deplibs=yes
 
8791
      export_dynamic_flag_spec='${wl}-Bexport'
 
8792
      runpath_var='LD_RUN_PATH'
 
8793
 
 
8794
      if test "$GCC" = yes; then
 
8795
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8796
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8797
      else
 
8798
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8799
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8800
      fi
7618
8801
      ;;
7619
8802
 
7620
8803
    uts4*)
7629
8812
    esac
7630
8813
  fi
7631
8814
 
7632
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7633
 
echo "${ECHO_T}$ld_shlibs" >&6
 
8815
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
8816
echo "${ECHO_T}$ld_shlibs" >&6; }
7634
8817
test "$ld_shlibs" = no && can_build_shared=no
7635
8818
 
7636
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7637
 
if test "$GCC" = yes; then
7638
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7639
 
fi
7640
 
 
7641
8819
#
7642
8820
# Do we need to explicitly link libc?
7643
8821
#
7655
8833
      # Test whether the compiler implicitly links with -lc since on some
7656
8834
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
7657
8835
      # to ld, don't add -lc before -lgcc.
7658
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7659
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
8836
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
8837
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
7660
8838
      $rm conftest*
7661
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8839
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7662
8840
 
7663
8841
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7664
8842
  (eval $ac_compile) 2>&5
7670
8848
        libobjs=conftest.$ac_objext
7671
8849
        deplibs=
7672
8850
        wl=$lt_prog_compiler_wl
 
8851
        pic_flag=$lt_prog_compiler_pic
7673
8852
        compiler_flags=-v
7674
8853
        linker_flags=-v
7675
8854
        verstring=
7692
8871
        cat conftest.err 1>&5
7693
8872
      fi
7694
8873
      $rm conftest*
7695
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7696
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
8874
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
8875
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
7697
8876
      ;;
7698
8877
    esac
7699
8878
  fi
7700
8879
  ;;
7701
8880
esac
7702
8881
 
7703
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7704
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
8882
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
8883
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
7705
8884
library_names_spec=
7706
8885
libname_spec='lib$name'
7707
8886
soname_spec=
7715
8894
version_type=none
7716
8895
dynamic_linker="$host_os ld.so"
7717
8896
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
8897
 
7718
8898
if test "$GCC" = yes; then
7719
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7720
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
8899
  case $host_os in
 
8900
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
8901
    *) lt_awk_arg="/^libraries:/" ;;
 
8902
  esac
 
8903
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
8904
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
7721
8905
    # if the path contains ";" then we assume it to be the separator
7722
8906
    # otherwise default to the standard path separator (i.e. ":") - it is
7723
8907
    # assumed that no part of a normal pathname contains ";" but that should
7724
8908
    # okay in the real world where ";" in dirpaths is itself problematic.
7725
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
8909
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
7726
8910
  else
7727
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
8911
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
7728
8912
  fi
 
8913
  # Ok, now we have the path, separated by spaces, we can step through it
 
8914
  # and add multilib dir if necessary.
 
8915
  lt_tmp_lt_search_path_spec=
 
8916
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
8917
  for lt_sys_path in $lt_search_path_spec; do
 
8918
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
8919
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
8920
    else
 
8921
      test -d "$lt_sys_path" && \
 
8922
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
8923
    fi
 
8924
  done
 
8925
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
8926
BEGIN {RS=" "; FS="/|\n";} {
 
8927
  lt_foo="";
 
8928
  lt_count=0;
 
8929
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
8930
    if ($lt_i != "" && $lt_i != ".") {
 
8931
      if ($lt_i == "..") {
 
8932
        lt_count++;
 
8933
      } else {
 
8934
        if (lt_count == 0) {
 
8935
          lt_foo="/" $lt_i lt_foo;
 
8936
        } else {
 
8937
          lt_count--;
 
8938
        }
 
8939
      }
 
8940
    }
 
8941
  }
 
8942
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
8943
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
8944
}'`
 
8945
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
7729
8946
else
7730
8947
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7731
8948
fi
7746
8963
  soname_spec='${libname}${release}${shared_ext}$major'
7747
8964
  ;;
7748
8965
 
7749
 
aix4* | aix5*)
 
8966
aix[4-9]*)
7750
8967
  version_type=linux
7751
8968
  need_lib_prefix=no
7752
8969
  need_version=no
7830
9047
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7831
9048
      dldir=$destdir/`dirname \$dlpath`~
7832
9049
      test -d \$dldir || mkdir -p \$dldir~
7833
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
9050
      $install_prog $dir/$dlname \$dldir/$dlname~
 
9051
      chmod a+x \$dldir/$dlname'
7834
9052
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7835
9053
      dlpath=$dir/\$dldll~
7836
9054
       $rm \$dlpath'
7883
9101
  soname_spec='${libname}${release}${major}$shared_ext'
7884
9102
  shlibpath_overrides_runpath=yes
7885
9103
  shlibpath_var=DYLD_LIBRARY_PATH
7886
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
7887
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7888
 
  if test "$GCC" = yes; then
7889
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
7890
 
  else
7891
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
7892
 
  fi
 
9104
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
9105
 
 
9106
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
7893
9107
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7894
9108
  ;;
7895
9109
 
7906
9120
  dynamic_linker=no
7907
9121
  ;;
7908
9122
 
7909
 
kfreebsd*-gnu)
7910
 
  version_type=linux
7911
 
  need_lib_prefix=no
7912
 
  need_version=no
7913
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7914
 
  soname_spec='${libname}${release}${shared_ext}$major'
7915
 
  shlibpath_var=LD_LIBRARY_PATH
7916
 
  shlibpath_overrides_runpath=no
7917
 
  hardcode_into_libs=yes
7918
 
  dynamic_linker='GNU ld.so'
7919
 
  ;;
7920
 
 
7921
9123
freebsd* | dragonfly*)
7922
9124
  # DragonFly does not have aout.  When/if they implement a new
7923
9125
  # versioning mechanism, adjust this.
7924
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
9126
  if test -x /usr/bin/objformat; then
 
9127
    objformat=`/usr/bin/objformat`
 
9128
  else
 
9129
    case $host_os in
 
9130
    freebsd[123]*) objformat=aout ;;
 
9131
    *) objformat=elf ;;
 
9132
    esac
 
9133
  fi
7925
9134
  version_type=freebsd-$objformat
7926
9135
  case $version_type in
7927
9136
    freebsd-elf*)
7943
9152
    shlibpath_overrides_runpath=yes
7944
9153
    hardcode_into_libs=yes
7945
9154
    ;;
7946
 
  *) # from 3.2 on
 
9155
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
9156
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
7947
9157
    shlibpath_overrides_runpath=no
7948
9158
    hardcode_into_libs=yes
7949
9159
    ;;
 
9160
  *) # from 4.6 on, and DragonFly
 
9161
    shlibpath_overrides_runpath=yes
 
9162
    hardcode_into_libs=yes
 
9163
    ;;
7950
9164
  esac
7951
9165
  ;;
7952
9166
 
7966
9180
  version_type=sunos
7967
9181
  need_lib_prefix=no
7968
9182
  need_version=no
7969
 
  case "$host_cpu" in
 
9183
  case $host_cpu in
7970
9184
  ia64*)
7971
9185
    shrext_cmds='.so'
7972
9186
    hardcode_into_libs=yes
8006
9220
  postinstall_cmds='chmod 555 $lib'
8007
9221
  ;;
8008
9222
 
 
9223
interix[3-9]*)
 
9224
  version_type=linux
 
9225
  need_lib_prefix=no
 
9226
  need_version=no
 
9227
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
9228
  soname_spec='${libname}${release}${shared_ext}$major'
 
9229
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
9230
  shlibpath_var=LD_LIBRARY_PATH
 
9231
  shlibpath_overrides_runpath=no
 
9232
  hardcode_into_libs=yes
 
9233
  ;;
 
9234
 
8009
9235
irix5* | irix6* | nonstopux*)
8010
9236
  case $host_os in
8011
9237
    nonstopux*) version_type=nonstopux ;;
8049
9275
  ;;
8050
9276
 
8051
9277
# This must be Linux ELF.
8052
 
linux*)
 
9278
linux* | k*bsd*-gnu)
8053
9279
  version_type=linux
8054
9280
  need_lib_prefix=no
8055
9281
  need_version=no
8063
9289
  # before this can be enabled.
8064
9290
  hardcode_into_libs=yes
8065
9291
 
8066
 
  # find out which ABI we are using
8067
 
  libsuff=
8068
 
  case "$host_cpu" in
8069
 
  x86_64*|s390x*|powerpc64*)
8070
 
    echo '#line 8070 "configure"' > conftest.$ac_ext
8071
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8072
 
  (eval $ac_compile) 2>&5
8073
 
  ac_status=$?
8074
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8075
 
  (exit $ac_status); }; then
8076
 
      case `/usr/bin/file conftest.$ac_objext` in
8077
 
      *64-bit*)
8078
 
        libsuff=64
8079
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
8080
 
        ;;
8081
 
      esac
8082
 
    fi
8083
 
    rm -rf conftest*
8084
 
    ;;
8085
 
  esac
8086
 
 
8087
9292
  # Append ld.so.conf contents to the search path
8088
9293
  if test -f /etc/ld.so.conf; then
8089
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8090
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
9294
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
9295
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8091
9296
  fi
8092
9297
 
8093
9298
  # We used to test for /lib/ld.so.1 and disable shared libraries on
8099
9304
  dynamic_linker='GNU/Linux ld.so'
8100
9305
  ;;
8101
9306
 
8102
 
knetbsd*-gnu)
 
9307
netbsdelf*-gnu)
8103
9308
  version_type=linux
8104
9309
  need_lib_prefix=no
8105
9310
  need_version=no
8108
9313
  shlibpath_var=LD_LIBRARY_PATH
8109
9314
  shlibpath_overrides_runpath=no
8110
9315
  hardcode_into_libs=yes
8111
 
  dynamic_linker='GNU ld.so'
 
9316
  dynamic_linker='NetBSD ld.elf_so'
8112
9317
  ;;
8113
9318
 
8114
9319
netbsd*)
8148
9353
 
8149
9354
openbsd*)
8150
9355
  version_type=sunos
 
9356
  sys_lib_dlsearch_path_spec="/usr/lib"
8151
9357
  need_lib_prefix=no
8152
 
  need_version=no
 
9358
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
9359
  case $host_os in
 
9360
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
9361
    *)                         need_version=no  ;;
 
9362
  esac
8153
9363
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8154
9364
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8155
9365
  shlibpath_var=LD_LIBRARY_PATH
8187
9397
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8188
9398
  ;;
8189
9399
 
8190
 
sco3.2v5*)
8191
 
  version_type=osf
8192
 
  soname_spec='${libname}${release}${shared_ext}$major'
8193
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8194
 
  shlibpath_var=LD_LIBRARY_PATH
 
9400
rdos*)
 
9401
  dynamic_linker=no
8195
9402
  ;;
8196
9403
 
8197
9404
solaris*)
8219
9426
  need_version=yes
8220
9427
  ;;
8221
9428
 
8222
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
9429
sysv4 | sysv4.3*)
8223
9430
  version_type=linux
8224
9431
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8225
9432
  soname_spec='${libname}${release}${shared_ext}$major'
8252
9459
  fi
8253
9460
  ;;
8254
9461
 
 
9462
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
9463
  version_type=freebsd-elf
 
9464
  need_lib_prefix=no
 
9465
  need_version=no
 
9466
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
9467
  soname_spec='${libname}${release}${shared_ext}$major'
 
9468
  shlibpath_var=LD_LIBRARY_PATH
 
9469
  hardcode_into_libs=yes
 
9470
  if test "$with_gnu_ld" = yes; then
 
9471
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
9472
    shlibpath_overrides_runpath=no
 
9473
  else
 
9474
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
9475
    shlibpath_overrides_runpath=yes
 
9476
    case $host_os in
 
9477
      sco3.2v5*)
 
9478
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
9479
        ;;
 
9480
    esac
 
9481
  fi
 
9482
  sys_lib_dlsearch_path_spec='/usr/lib'
 
9483
  ;;
 
9484
 
8255
9485
uts4*)
8256
9486
  version_type=linux
8257
9487
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8263
9493
  dynamic_linker=no
8264
9494
  ;;
8265
9495
esac
8266
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8267
 
echo "${ECHO_T}$dynamic_linker" >&6
 
9496
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
9497
echo "${ECHO_T}$dynamic_linker" >&6; }
8268
9498
test "$dynamic_linker" = no && can_build_shared=no
8269
9499
 
8270
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8271
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
9500
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
9501
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9502
else
 
9503
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
9504
fi
 
9505
 
 
9506
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
9507
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
9508
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9509
else
 
9510
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
9511
fi
 
9512
 
 
9513
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
9514
 
 
9515
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
9516
if test "$GCC" = yes; then
 
9517
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
9518
fi
 
9519
 
 
9520
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
9521
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
8272
9522
hardcode_action=
8273
9523
if test -n "$hardcode_libdir_flag_spec" || \
8274
9524
   test -n "$runpath_var" || \
8292
9542
  # directories.
8293
9543
  hardcode_action=unsupported
8294
9544
fi
8295
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
8296
 
echo "${ECHO_T}$hardcode_action" >&6
 
9545
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
9546
echo "${ECHO_T}$hardcode_action" >&6; }
8297
9547
 
8298
9548
if test "$hardcode_action" = relink; then
8299
9549
  # Fast installation is not supported
8306
9556
 
8307
9557
striplib=
8308
9558
old_striplib=
8309
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8310
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
9559
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
9560
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
8311
9561
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8312
9562
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8313
9563
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8314
 
  echo "$as_me:$LINENO: result: yes" >&5
8315
 
echo "${ECHO_T}yes" >&6
 
9564
  { echo "$as_me:$LINENO: result: yes" >&5
 
9565
echo "${ECHO_T}yes" >&6; }
8316
9566
else
8317
9567
# FIXME - insert some real tests, host_os isn't really good enough
8318
9568
  case $host_os in
8319
9569
   darwin*)
8320
9570
       if test -n "$STRIP" ; then
8321
9571
         striplib="$STRIP -x"
8322
 
         echo "$as_me:$LINENO: result: yes" >&5
8323
 
echo "${ECHO_T}yes" >&6
 
9572
         old_striplib="$STRIP -S"
 
9573
         { echo "$as_me:$LINENO: result: yes" >&5
 
9574
echo "${ECHO_T}yes" >&6; }
8324
9575
       else
8325
 
  echo "$as_me:$LINENO: result: no" >&5
8326
 
echo "${ECHO_T}no" >&6
 
9576
  { echo "$as_me:$LINENO: result: no" >&5
 
9577
echo "${ECHO_T}no" >&6; }
8327
9578
fi
8328
9579
       ;;
8329
9580
   *)
8330
 
  echo "$as_me:$LINENO: result: no" >&5
8331
 
echo "${ECHO_T}no" >&6
 
9581
  { echo "$as_me:$LINENO: result: no" >&5
 
9582
echo "${ECHO_T}no" >&6; }
8332
9583
    ;;
8333
9584
  esac
8334
9585
fi
8360
9611
 
8361
9612
  darwin*)
8362
9613
  # if libdl is installed we need to link against it
8363
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8364
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
9614
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9615
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8365
9616
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8366
9617
  echo $ECHO_N "(cached) $ECHO_C" >&6
8367
9618
else
8374
9625
cat >>conftest.$ac_ext <<_ACEOF
8375
9626
/* end confdefs.h.  */
8376
9627
 
8377
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9628
/* Override any GCC internal prototype to avoid an error.
 
9629
   Use char because int might match the return type of a GCC
 
9630
   builtin and then its argument prototype would still apply.  */
8378
9631
#ifdef __cplusplus
8379
9632
extern "C"
8380
9633
#endif
8381
 
/* We use char because int might match the return type of a gcc2
8382
 
   builtin and then its argument prototype would still apply.  */
8383
9634
char dlopen ();
8384
9635
int
8385
9636
main ()
8386
9637
{
8387
 
dlopen ();
 
9638
return dlopen ();
8388
9639
  ;
8389
9640
  return 0;
8390
9641
}
8391
9642
_ACEOF
8392
9643
rm -f conftest.$ac_objext conftest$ac_exeext
8393
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8394
 
  (eval $ac_link) 2>conftest.er1
 
9644
if { (ac_try="$ac_link"
 
9645
case "(($ac_try" in
 
9646
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9647
  *) ac_try_echo=$ac_try;;
 
9648
esac
 
9649
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9650
  (eval "$ac_link") 2>conftest.er1
8395
9651
  ac_status=$?
8396
9652
  grep -v '^ *+' conftest.er1 >conftest.err
8397
9653
  rm -f conftest.er1
8398
9654
  cat conftest.err >&5
8399
9655
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8400
 
  (exit $ac_status); } &&
8401
 
         { ac_try='test -z "$ac_c_werror_flag"
8402
 
                         || test ! -s conftest.err'
8403
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8404
 
  (eval $ac_try) 2>&5
8405
 
  ac_status=$?
8406
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8407
 
  (exit $ac_status); }; } &&
8408
 
         { ac_try='test -s conftest$ac_exeext'
8409
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8410
 
  (eval $ac_try) 2>&5
8411
 
  ac_status=$?
8412
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8413
 
  (exit $ac_status); }; }; then
 
9656
  (exit $ac_status); } && {
 
9657
         test -z "$ac_c_werror_flag" ||
 
9658
         test ! -s conftest.err
 
9659
       } && test -s conftest$ac_exeext &&
 
9660
       $as_test_x conftest$ac_exeext; then
8414
9661
  ac_cv_lib_dl_dlopen=yes
8415
9662
else
8416
9663
  echo "$as_me: failed program was:" >&5
8417
9664
sed 's/^/| /' conftest.$ac_ext >&5
8418
9665
 
8419
 
ac_cv_lib_dl_dlopen=no
 
9666
        ac_cv_lib_dl_dlopen=no
8420
9667
fi
8421
 
rm -f conftest.err conftest.$ac_objext \
 
9668
 
 
9669
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8422
9670
      conftest$ac_exeext conftest.$ac_ext
8423
9671
LIBS=$ac_check_lib_save_LIBS
8424
9672
fi
8425
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8426
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
9673
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9674
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8427
9675
if test $ac_cv_lib_dl_dlopen = yes; then
8428
9676
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8429
9677
else
8437
9685
   ;;
8438
9686
 
8439
9687
  *)
8440
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
8441
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
9688
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
9689
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
8442
9690
if test "${ac_cv_func_shl_load+set}" = set; then
8443
9691
  echo $ECHO_N "(cached) $ECHO_C" >&6
8444
9692
else
8465
9713
 
8466
9714
#undef shl_load
8467
9715
 
8468
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9716
/* Override any GCC internal prototype to avoid an error.
 
9717
   Use char because int might match the return type of a GCC
 
9718
   builtin and then its argument prototype would still apply.  */
8469
9719
#ifdef __cplusplus
8470
9720
extern "C"
8471
 
{
8472
9721
#endif
8473
 
/* We use char because int might match the return type of a gcc2
8474
 
   builtin and then its argument prototype would still apply.  */
8475
9722
char shl_load ();
8476
9723
/* The GNU C library defines this for functions which it implements
8477
9724
    to always fail with ENOSYS.  Some functions are actually named
8478
9725
    something starting with __ and the normal name is an alias.  */
8479
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
9726
#if defined __stub_shl_load || defined __stub___shl_load
8480
9727
choke me
8481
 
#else
8482
 
char (*f) () = shl_load;
8483
 
#endif
8484
 
#ifdef __cplusplus
8485
 
}
8486
9728
#endif
8487
9729
 
8488
9730
int
8489
9731
main ()
8490
9732
{
8491
 
return f != shl_load;
 
9733
return shl_load ();
8492
9734
  ;
8493
9735
  return 0;
8494
9736
}
8495
9737
_ACEOF
8496
9738
rm -f conftest.$ac_objext conftest$ac_exeext
8497
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8498
 
  (eval $ac_link) 2>conftest.er1
 
9739
if { (ac_try="$ac_link"
 
9740
case "(($ac_try" in
 
9741
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9742
  *) ac_try_echo=$ac_try;;
 
9743
esac
 
9744
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9745
  (eval "$ac_link") 2>conftest.er1
8499
9746
  ac_status=$?
8500
9747
  grep -v '^ *+' conftest.er1 >conftest.err
8501
9748
  rm -f conftest.er1
8502
9749
  cat conftest.err >&5
8503
9750
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8504
 
  (exit $ac_status); } &&
8505
 
         { ac_try='test -z "$ac_c_werror_flag"
8506
 
                         || test ! -s conftest.err'
8507
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8508
 
  (eval $ac_try) 2>&5
8509
 
  ac_status=$?
8510
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8511
 
  (exit $ac_status); }; } &&
8512
 
         { ac_try='test -s conftest$ac_exeext'
8513
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8514
 
  (eval $ac_try) 2>&5
8515
 
  ac_status=$?
8516
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8517
 
  (exit $ac_status); }; }; then
 
9751
  (exit $ac_status); } && {
 
9752
         test -z "$ac_c_werror_flag" ||
 
9753
         test ! -s conftest.err
 
9754
       } && test -s conftest$ac_exeext &&
 
9755
       $as_test_x conftest$ac_exeext; then
8518
9756
  ac_cv_func_shl_load=yes
8519
9757
else
8520
9758
  echo "$as_me: failed program was:" >&5
8521
9759
sed 's/^/| /' conftest.$ac_ext >&5
8522
9760
 
8523
 
ac_cv_func_shl_load=no
 
9761
        ac_cv_func_shl_load=no
8524
9762
fi
8525
 
rm -f conftest.err conftest.$ac_objext \
 
9763
 
 
9764
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8526
9765
      conftest$ac_exeext conftest.$ac_ext
8527
9766
fi
8528
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8529
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
9767
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
9768
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
8530
9769
if test $ac_cv_func_shl_load = yes; then
8531
9770
  lt_cv_dlopen="shl_load"
8532
9771
else
8533
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8534
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
9772
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
9773
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
8535
9774
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8536
9775
  echo $ECHO_N "(cached) $ECHO_C" >&6
8537
9776
else
8544
9783
cat >>conftest.$ac_ext <<_ACEOF
8545
9784
/* end confdefs.h.  */
8546
9785
 
8547
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9786
/* Override any GCC internal prototype to avoid an error.
 
9787
   Use char because int might match the return type of a GCC
 
9788
   builtin and then its argument prototype would still apply.  */
8548
9789
#ifdef __cplusplus
8549
9790
extern "C"
8550
9791
#endif
8551
 
/* We use char because int might match the return type of a gcc2
8552
 
   builtin and then its argument prototype would still apply.  */
8553
9792
char shl_load ();
8554
9793
int
8555
9794
main ()
8556
9795
{
8557
 
shl_load ();
 
9796
return shl_load ();
8558
9797
  ;
8559
9798
  return 0;
8560
9799
}
8561
9800
_ACEOF
8562
9801
rm -f conftest.$ac_objext conftest$ac_exeext
8563
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8564
 
  (eval $ac_link) 2>conftest.er1
 
9802
if { (ac_try="$ac_link"
 
9803
case "(($ac_try" in
 
9804
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9805
  *) ac_try_echo=$ac_try;;
 
9806
esac
 
9807
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9808
  (eval "$ac_link") 2>conftest.er1
8565
9809
  ac_status=$?
8566
9810
  grep -v '^ *+' conftest.er1 >conftest.err
8567
9811
  rm -f conftest.er1
8568
9812
  cat conftest.err >&5
8569
9813
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8570
 
  (exit $ac_status); } &&
8571
 
         { ac_try='test -z "$ac_c_werror_flag"
8572
 
                         || test ! -s conftest.err'
8573
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8574
 
  (eval $ac_try) 2>&5
8575
 
  ac_status=$?
8576
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8577
 
  (exit $ac_status); }; } &&
8578
 
         { ac_try='test -s conftest$ac_exeext'
8579
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8580
 
  (eval $ac_try) 2>&5
8581
 
  ac_status=$?
8582
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8583
 
  (exit $ac_status); }; }; then
 
9814
  (exit $ac_status); } && {
 
9815
         test -z "$ac_c_werror_flag" ||
 
9816
         test ! -s conftest.err
 
9817
       } && test -s conftest$ac_exeext &&
 
9818
       $as_test_x conftest$ac_exeext; then
8584
9819
  ac_cv_lib_dld_shl_load=yes
8585
9820
else
8586
9821
  echo "$as_me: failed program was:" >&5
8587
9822
sed 's/^/| /' conftest.$ac_ext >&5
8588
9823
 
8589
 
ac_cv_lib_dld_shl_load=no
 
9824
        ac_cv_lib_dld_shl_load=no
8590
9825
fi
8591
 
rm -f conftest.err conftest.$ac_objext \
 
9826
 
 
9827
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8592
9828
      conftest$ac_exeext conftest.$ac_ext
8593
9829
LIBS=$ac_check_lib_save_LIBS
8594
9830
fi
8595
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8596
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
9831
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
9832
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
8597
9833
if test $ac_cv_lib_dld_shl_load = yes; then
8598
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 
9834
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
8599
9835
else
8600
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
8601
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
9836
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
9837
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
8602
9838
if test "${ac_cv_func_dlopen+set}" = set; then
8603
9839
  echo $ECHO_N "(cached) $ECHO_C" >&6
8604
9840
else
8625
9861
 
8626
9862
#undef dlopen
8627
9863
 
8628
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9864
/* Override any GCC internal prototype to avoid an error.
 
9865
   Use char because int might match the return type of a GCC
 
9866
   builtin and then its argument prototype would still apply.  */
8629
9867
#ifdef __cplusplus
8630
9868
extern "C"
8631
 
{
8632
9869
#endif
8633
 
/* We use char because int might match the return type of a gcc2
8634
 
   builtin and then its argument prototype would still apply.  */
8635
9870
char dlopen ();
8636
9871
/* The GNU C library defines this for functions which it implements
8637
9872
    to always fail with ENOSYS.  Some functions are actually named
8638
9873
    something starting with __ and the normal name is an alias.  */
8639
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
9874
#if defined __stub_dlopen || defined __stub___dlopen
8640
9875
choke me
8641
 
#else
8642
 
char (*f) () = dlopen;
8643
 
#endif
8644
 
#ifdef __cplusplus
8645
 
}
8646
9876
#endif
8647
9877
 
8648
9878
int
8649
9879
main ()
8650
9880
{
8651
 
return f != dlopen;
 
9881
return dlopen ();
8652
9882
  ;
8653
9883
  return 0;
8654
9884
}
8655
9885
_ACEOF
8656
9886
rm -f conftest.$ac_objext conftest$ac_exeext
8657
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8658
 
  (eval $ac_link) 2>conftest.er1
 
9887
if { (ac_try="$ac_link"
 
9888
case "(($ac_try" in
 
9889
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9890
  *) ac_try_echo=$ac_try;;
 
9891
esac
 
9892
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9893
  (eval "$ac_link") 2>conftest.er1
8659
9894
  ac_status=$?
8660
9895
  grep -v '^ *+' conftest.er1 >conftest.err
8661
9896
  rm -f conftest.er1
8662
9897
  cat conftest.err >&5
8663
9898
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8664
 
  (exit $ac_status); } &&
8665
 
         { ac_try='test -z "$ac_c_werror_flag"
8666
 
                         || test ! -s conftest.err'
8667
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8668
 
  (eval $ac_try) 2>&5
8669
 
  ac_status=$?
8670
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8671
 
  (exit $ac_status); }; } &&
8672
 
         { ac_try='test -s conftest$ac_exeext'
8673
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8674
 
  (eval $ac_try) 2>&5
8675
 
  ac_status=$?
8676
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8677
 
  (exit $ac_status); }; }; then
 
9899
  (exit $ac_status); } && {
 
9900
         test -z "$ac_c_werror_flag" ||
 
9901
         test ! -s conftest.err
 
9902
       } && test -s conftest$ac_exeext &&
 
9903
       $as_test_x conftest$ac_exeext; then
8678
9904
  ac_cv_func_dlopen=yes
8679
9905
else
8680
9906
  echo "$as_me: failed program was:" >&5
8681
9907
sed 's/^/| /' conftest.$ac_ext >&5
8682
9908
 
8683
 
ac_cv_func_dlopen=no
 
9909
        ac_cv_func_dlopen=no
8684
9910
fi
8685
 
rm -f conftest.err conftest.$ac_objext \
 
9911
 
 
9912
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8686
9913
      conftest$ac_exeext conftest.$ac_ext
8687
9914
fi
8688
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8689
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
9915
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
9916
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
8690
9917
if test $ac_cv_func_dlopen = yes; then
8691
9918
  lt_cv_dlopen="dlopen"
8692
9919
else
8693
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8694
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
9920
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9921
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8695
9922
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8696
9923
  echo $ECHO_N "(cached) $ECHO_C" >&6
8697
9924
else
8704
9931
cat >>conftest.$ac_ext <<_ACEOF
8705
9932
/* end confdefs.h.  */
8706
9933
 
8707
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9934
/* Override any GCC internal prototype to avoid an error.
 
9935
   Use char because int might match the return type of a GCC
 
9936
   builtin and then its argument prototype would still apply.  */
8708
9937
#ifdef __cplusplus
8709
9938
extern "C"
8710
9939
#endif
8711
 
/* We use char because int might match the return type of a gcc2
8712
 
   builtin and then its argument prototype would still apply.  */
8713
9940
char dlopen ();
8714
9941
int
8715
9942
main ()
8716
9943
{
8717
 
dlopen ();
 
9944
return dlopen ();
8718
9945
  ;
8719
9946
  return 0;
8720
9947
}
8721
9948
_ACEOF
8722
9949
rm -f conftest.$ac_objext conftest$ac_exeext
8723
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8724
 
  (eval $ac_link) 2>conftest.er1
 
9950
if { (ac_try="$ac_link"
 
9951
case "(($ac_try" in
 
9952
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9953
  *) ac_try_echo=$ac_try;;
 
9954
esac
 
9955
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9956
  (eval "$ac_link") 2>conftest.er1
8725
9957
  ac_status=$?
8726
9958
  grep -v '^ *+' conftest.er1 >conftest.err
8727
9959
  rm -f conftest.er1
8728
9960
  cat conftest.err >&5
8729
9961
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8730
 
  (exit $ac_status); } &&
8731
 
         { ac_try='test -z "$ac_c_werror_flag"
8732
 
                         || test ! -s conftest.err'
8733
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8734
 
  (eval $ac_try) 2>&5
8735
 
  ac_status=$?
8736
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8737
 
  (exit $ac_status); }; } &&
8738
 
         { ac_try='test -s conftest$ac_exeext'
8739
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8740
 
  (eval $ac_try) 2>&5
8741
 
  ac_status=$?
8742
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8743
 
  (exit $ac_status); }; }; then
 
9962
  (exit $ac_status); } && {
 
9963
         test -z "$ac_c_werror_flag" ||
 
9964
         test ! -s conftest.err
 
9965
       } && test -s conftest$ac_exeext &&
 
9966
       $as_test_x conftest$ac_exeext; then
8744
9967
  ac_cv_lib_dl_dlopen=yes
8745
9968
else
8746
9969
  echo "$as_me: failed program was:" >&5
8747
9970
sed 's/^/| /' conftest.$ac_ext >&5
8748
9971
 
8749
 
ac_cv_lib_dl_dlopen=no
 
9972
        ac_cv_lib_dl_dlopen=no
8750
9973
fi
8751
 
rm -f conftest.err conftest.$ac_objext \
 
9974
 
 
9975
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8752
9976
      conftest$ac_exeext conftest.$ac_ext
8753
9977
LIBS=$ac_check_lib_save_LIBS
8754
9978
fi
8755
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8756
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
9979
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9980
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8757
9981
if test $ac_cv_lib_dl_dlopen = yes; then
8758
9982
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8759
9983
else
8760
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8761
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
9984
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
9985
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
8762
9986
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8763
9987
  echo $ECHO_N "(cached) $ECHO_C" >&6
8764
9988
else
8771
9995
cat >>conftest.$ac_ext <<_ACEOF
8772
9996
/* end confdefs.h.  */
8773
9997
 
8774
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9998
/* Override any GCC internal prototype to avoid an error.
 
9999
   Use char because int might match the return type of a GCC
 
10000
   builtin and then its argument prototype would still apply.  */
8775
10001
#ifdef __cplusplus
8776
10002
extern "C"
8777
10003
#endif
8778
 
/* We use char because int might match the return type of a gcc2
8779
 
   builtin and then its argument prototype would still apply.  */
8780
10004
char dlopen ();
8781
10005
int
8782
10006
main ()
8783
10007
{
8784
 
dlopen ();
 
10008
return dlopen ();
8785
10009
  ;
8786
10010
  return 0;
8787
10011
}
8788
10012
_ACEOF
8789
10013
rm -f conftest.$ac_objext conftest$ac_exeext
8790
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8791
 
  (eval $ac_link) 2>conftest.er1
 
10014
if { (ac_try="$ac_link"
 
10015
case "(($ac_try" in
 
10016
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10017
  *) ac_try_echo=$ac_try;;
 
10018
esac
 
10019
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10020
  (eval "$ac_link") 2>conftest.er1
8792
10021
  ac_status=$?
8793
10022
  grep -v '^ *+' conftest.er1 >conftest.err
8794
10023
  rm -f conftest.er1
8795
10024
  cat conftest.err >&5
8796
10025
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8797
 
  (exit $ac_status); } &&
8798
 
         { ac_try='test -z "$ac_c_werror_flag"
8799
 
                         || test ! -s conftest.err'
8800
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8801
 
  (eval $ac_try) 2>&5
8802
 
  ac_status=$?
8803
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8804
 
  (exit $ac_status); }; } &&
8805
 
         { ac_try='test -s conftest$ac_exeext'
8806
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8807
 
  (eval $ac_try) 2>&5
8808
 
  ac_status=$?
8809
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8810
 
  (exit $ac_status); }; }; then
 
10026
  (exit $ac_status); } && {
 
10027
         test -z "$ac_c_werror_flag" ||
 
10028
         test ! -s conftest.err
 
10029
       } && test -s conftest$ac_exeext &&
 
10030
       $as_test_x conftest$ac_exeext; then
8811
10031
  ac_cv_lib_svld_dlopen=yes
8812
10032
else
8813
10033
  echo "$as_me: failed program was:" >&5
8814
10034
sed 's/^/| /' conftest.$ac_ext >&5
8815
10035
 
8816
 
ac_cv_lib_svld_dlopen=no
 
10036
        ac_cv_lib_svld_dlopen=no
8817
10037
fi
8818
 
rm -f conftest.err conftest.$ac_objext \
 
10038
 
 
10039
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8819
10040
      conftest$ac_exeext conftest.$ac_ext
8820
10041
LIBS=$ac_check_lib_save_LIBS
8821
10042
fi
8822
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8823
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
10043
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
10044
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
8824
10045
if test $ac_cv_lib_svld_dlopen = yes; then
8825
10046
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8826
10047
else
8827
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8828
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
10048
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
10049
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
8829
10050
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8830
10051
  echo $ECHO_N "(cached) $ECHO_C" >&6
8831
10052
else
8838
10059
cat >>conftest.$ac_ext <<_ACEOF
8839
10060
/* end confdefs.h.  */
8840
10061
 
8841
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10062
/* Override any GCC internal prototype to avoid an error.
 
10063
   Use char because int might match the return type of a GCC
 
10064
   builtin and then its argument prototype would still apply.  */
8842
10065
#ifdef __cplusplus
8843
10066
extern "C"
8844
10067
#endif
8845
 
/* We use char because int might match the return type of a gcc2
8846
 
   builtin and then its argument prototype would still apply.  */
8847
10068
char dld_link ();
8848
10069
int
8849
10070
main ()
8850
10071
{
8851
 
dld_link ();
 
10072
return dld_link ();
8852
10073
  ;
8853
10074
  return 0;
8854
10075
}
8855
10076
_ACEOF
8856
10077
rm -f conftest.$ac_objext conftest$ac_exeext
8857
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8858
 
  (eval $ac_link) 2>conftest.er1
 
10078
if { (ac_try="$ac_link"
 
10079
case "(($ac_try" in
 
10080
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10081
  *) ac_try_echo=$ac_try;;
 
10082
esac
 
10083
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10084
  (eval "$ac_link") 2>conftest.er1
8859
10085
  ac_status=$?
8860
10086
  grep -v '^ *+' conftest.er1 >conftest.err
8861
10087
  rm -f conftest.er1
8862
10088
  cat conftest.err >&5
8863
10089
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8864
 
  (exit $ac_status); } &&
8865
 
         { ac_try='test -z "$ac_c_werror_flag"
8866
 
                         || test ! -s conftest.err'
8867
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8868
 
  (eval $ac_try) 2>&5
8869
 
  ac_status=$?
8870
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8871
 
  (exit $ac_status); }; } &&
8872
 
         { ac_try='test -s conftest$ac_exeext'
8873
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8874
 
  (eval $ac_try) 2>&5
8875
 
  ac_status=$?
8876
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8877
 
  (exit $ac_status); }; }; then
 
10090
  (exit $ac_status); } && {
 
10091
         test -z "$ac_c_werror_flag" ||
 
10092
         test ! -s conftest.err
 
10093
       } && test -s conftest$ac_exeext &&
 
10094
       $as_test_x conftest$ac_exeext; then
8878
10095
  ac_cv_lib_dld_dld_link=yes
8879
10096
else
8880
10097
  echo "$as_me: failed program was:" >&5
8881
10098
sed 's/^/| /' conftest.$ac_ext >&5
8882
10099
 
8883
 
ac_cv_lib_dld_dld_link=no
 
10100
        ac_cv_lib_dld_dld_link=no
8884
10101
fi
8885
 
rm -f conftest.err conftest.$ac_objext \
 
10102
 
 
10103
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8886
10104
      conftest$ac_exeext conftest.$ac_ext
8887
10105
LIBS=$ac_check_lib_save_LIBS
8888
10106
fi
8889
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8890
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
10107
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
10108
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
8891
10109
if test $ac_cv_lib_dld_dld_link = yes; then
8892
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 
10110
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
8893
10111
fi
8894
10112
 
8895
10113
 
8922
10140
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8923
10141
 
8924
10142
    save_LDFLAGS="$LDFLAGS"
8925
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
10143
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8926
10144
 
8927
10145
    save_LIBS="$LIBS"
8928
10146
    LIBS="$lt_cv_dlopen_libs $LIBS"
8929
10147
 
8930
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8931
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
10148
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
10149
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
8932
10150
if test "${lt_cv_dlopen_self+set}" = set; then
8933
10151
  echo $ECHO_N "(cached) $ECHO_C" >&6
8934
10152
else
8938
10156
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8939
10157
  lt_status=$lt_dlunknown
8940
10158
  cat > conftest.$ac_ext <<EOF
8941
 
#line 8941 "configure"
 
10159
#line 10159 "configure"
8942
10160
#include "confdefs.h"
8943
10161
 
8944
10162
#if HAVE_DLFCN_H
8995
10213
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8996
10214
      /* dlclose (self); */
8997
10215
    }
 
10216
  else
 
10217
    puts (dlerror ());
8998
10218
 
8999
10219
    exit (status);
9000
10220
}
9004
10224
  ac_status=$?
9005
10225
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9006
10226
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9007
 
    (./conftest; exit; ) 2>/dev/null
 
10227
    (./conftest; exit; ) >&5 2>/dev/null
9008
10228
    lt_status=$?
9009
10229
    case x$lt_status in
9010
10230
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9011
10231
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9012
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
 
10232
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9013
10233
    esac
9014
10234
  else :
9015
10235
    # compilation failed
9020
10240
 
9021
10241
 
9022
10242
fi
9023
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9024
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
10243
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10244
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9025
10245
 
9026
10246
    if test "x$lt_cv_dlopen_self" = xyes; then
9027
 
      LDFLAGS="$LDFLAGS $link_static_flag"
9028
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9029
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
10247
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
10248
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10249
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9030
10250
if test "${lt_cv_dlopen_self_static+set}" = set; then
9031
10251
  echo $ECHO_N "(cached) $ECHO_C" >&6
9032
10252
else
9036
10256
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9037
10257
  lt_status=$lt_dlunknown
9038
10258
  cat > conftest.$ac_ext <<EOF
9039
 
#line 9039 "configure"
 
10259
#line 10259 "configure"
9040
10260
#include "confdefs.h"
9041
10261
 
9042
10262
#if HAVE_DLFCN_H
9093
10313
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9094
10314
      /* dlclose (self); */
9095
10315
    }
 
10316
  else
 
10317
    puts (dlerror ());
9096
10318
 
9097
10319
    exit (status);
9098
10320
}
9102
10324
  ac_status=$?
9103
10325
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9104
10326
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9105
 
    (./conftest; exit; ) 2>/dev/null
 
10327
    (./conftest; exit; ) >&5 2>/dev/null
9106
10328
    lt_status=$?
9107
10329
    case x$lt_status in
9108
10330
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9109
10331
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9110
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
 
10332
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
9111
10333
    esac
9112
10334
  else :
9113
10335
    # compilation failed
9118
10340
 
9119
10341
 
9120
10342
fi
9121
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9122
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
10343
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
10344
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9123
10345
    fi
9124
10346
 
9125
10347
    CPPFLAGS="$save_CPPFLAGS"
9140
10362
fi
9141
10363
 
9142
10364
 
9143
 
# Report which librarie types wil actually be built
9144
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9145
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9146
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
9147
 
echo "${ECHO_T}$can_build_shared" >&6
 
10365
# Report which library types will actually be built
 
10366
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
10367
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
10368
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
10369
echo "${ECHO_T}$can_build_shared" >&6; }
9148
10370
 
9149
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9150
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
10371
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
10372
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9151
10373
test "$can_build_shared" = "no" && enable_shared=no
9152
10374
 
9153
10375
# On AIX, shared libraries and static libraries use the same namespace, and
9154
10376
# are all built from PIC.
9155
 
case "$host_os" in
 
10377
case $host_os in
9156
10378
aix3*)
9157
10379
  test "$enable_shared" = yes && enable_static=no
9158
10380
  if test -n "$RANLIB"; then
9161
10383
  fi
9162
10384
  ;;
9163
10385
 
9164
 
aix4* | aix5*)
 
10386
aix[4-9]*)
9165
10387
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9166
10388
    test "$enable_shared" = yes && enable_static=no
9167
10389
  fi
9168
10390
    ;;
9169
10391
esac
9170
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
9171
 
echo "${ECHO_T}$enable_shared" >&6
 
10392
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
10393
echo "${ECHO_T}$enable_shared" >&6; }
9172
10394
 
9173
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9174
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
10395
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
10396
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9175
10397
# Make sure either enable_shared or enable_static is yes.
9176
10398
test "$enable_shared" = yes || enable_static=yes
9177
 
echo "$as_me:$LINENO: result: $enable_static" >&5
9178
 
echo "${ECHO_T}$enable_static" >&6
 
10399
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
10400
echo "${ECHO_T}$enable_static" >&6; }
9179
10401
 
9180
10402
# The else clause should only fire when bootstrapping the
9181
10403
# libtool distribution, otherwise you forgot to ship ltmain.sh
9190
10412
  # Now quote all the things that may contain metacharacters while being
9191
10413
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
9192
10414
  # variables and quote the copies for generation of the libtool script.
9193
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
10415
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9194
10416
    SED SHELL STRIP \
9195
10417
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9196
10418
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9217
10439
    predeps \
9218
10440
    postdeps \
9219
10441
    compiler_lib_search_path \
 
10442
    compiler_lib_search_dirs \
9220
10443
    archive_cmds \
9221
10444
    archive_expsym_cmds \
9222
10445
    postinstall_cmds \
9232
10455
    module_cmds \
9233
10456
    module_expsym_cmds \
9234
10457
    lt_cv_prog_compiler_c_o \
 
10458
    fix_srcfile_path \
9235
10459
    exclude_expsyms \
9236
10460
    include_expsyms; do
9237
10461
 
9276
10500
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9277
10501
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
9278
10502
#
9279
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
 
10503
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
9280
10504
# Free Software Foundation, Inc.
9281
10505
#
9282
10506
# This file is part of GNU Libtool:
9356
10580
# A C compiler.
9357
10581
LTCC=$lt_LTCC
9358
10582
 
 
10583
# LTCC compiler flags.
 
10584
LTCFLAGS=$lt_LTCFLAGS
 
10585
 
9359
10586
# A language-specific compiler.
9360
10587
CC=$lt_compiler
9361
10588
 
9509
10736
# shared library.
9510
10737
postdeps=$lt_postdeps
9511
10738
 
 
10739
# The directories searched by this compiler when creating a shared
 
10740
# library
 
10741
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
10742
 
9512
10743
# The library search path used internally by the compiler when linking
9513
10744
# a shared library.
9514
10745
compiler_lib_search_path=$lt_compiler_lib_search_path
9597
10828
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9598
10829
 
9599
10830
# Fix the shell variable \$srcfile for the compiler.
9600
 
fix_srcfile_path="$fix_srcfile_path"
 
10831
fix_srcfile_path=$lt_fix_srcfile_path
9601
10832
 
9602
10833
# Set to yes if exported symbols are required.
9603
10834
always_export_symbols=$always_export_symbols
9655
10886
fi
9656
10887
 
9657
10888
 
9658
 
ac_ext=cc
 
10889
ac_ext=cpp
9659
10890
ac_cpp='$CXXCPP $CPPFLAGS'
9660
10891
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9661
10892
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9664
10895
CC="$lt_save_CC"
9665
10896
 
9666
10897
 
9667
 
# Check whether --with-tags or --without-tags was given.
 
10898
# Check whether --with-tags was given.
9668
10899
if test "${with_tags+set}" = set; then
9669
 
  withval="$with_tags"
9670
 
  tagnames="$withval"
9671
 
fi;
 
10900
  withval=$with_tags; tagnames="$withval"
 
10901
fi
 
10902
 
9672
10903
 
9673
10904
if test -f "$ltmain" && test -n "$tagnames"; then
9674
10905
  if test ! -f "${ofile}"; then
9686
10917
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9687
10918
    fi
9688
10919
  fi
 
10920
  if test -z "$LTCFLAGS"; then
 
10921
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
 
10922
  fi
9689
10923
 
9690
10924
  # Extract list of available tagged configurations in $ofile.
9691
10925
  # Note that this assumes the entire list is on one line.
9719
10953
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9720
10954
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9721
10955
            (test "X$CXX" != "Xg++"))) ; then
9722
 
          ac_ext=cc
 
10956
          ac_ext=cpp
9723
10957
ac_cpp='$CXXCPP $CPPFLAGS'
9724
10958
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9725
10959
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9738
10972
hardcode_libdir_flag_spec_ld_CXX=
9739
10973
hardcode_libdir_separator_CXX=
9740
10974
hardcode_minus_L_CXX=no
 
10975
hardcode_shlibpath_var_CXX=unsupported
9741
10976
hardcode_automatic_CXX=no
9742
10977
module_cmds_CXX=
9743
10978
module_expsym_cmds_CXX=
9753
10988
predeps_CXX=
9754
10989
postdeps_CXX=
9755
10990
compiler_lib_search_path_CXX=
 
10991
compiler_lib_search_dirs_CXX=
9756
10992
 
9757
10993
# Source file extension for C++ test sources.
9758
 
ac_ext=cc
 
10994
ac_ext=cpp
9759
10995
 
9760
10996
# Object file extension for compiled C++ test sources.
9761
10997
objext=o
9762
10998
objext_CXX=$objext
9763
10999
 
9764
11000
# Code to be used in simple compile tests
9765
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
11001
lt_simple_compile_test_code="int some_variable = 0;"
9766
11002
 
9767
11003
# Code to be used in simple link tests
9768
 
lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
 
11004
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
9769
11005
 
9770
11006
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
9771
11007
 
9772
11008
# If no C compiler was specified, use CC.
9773
11009
LTCC=${LTCC-"$CC"}
9774
11010
 
 
11011
# If no C compiler flags were specified, use CFLAGS.
 
11012
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
11013
 
9775
11014
# Allow CC to be a program name with arguments.
9776
11015
compiler=$CC
9777
11016
 
9778
11017
 
9779
11018
# save warnings/boilerplate of simple test code
9780
11019
ac_outfile=conftest.$ac_objext
9781
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
9782
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
11020
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
11021
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9783
11022
_lt_compiler_boilerplate=`cat conftest.err`
9784
11023
$rm conftest*
9785
11024
 
9786
11025
ac_outfile=conftest.$ac_objext
9787
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
9788
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
11026
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
11027
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9789
11028
_lt_linker_boilerplate=`cat conftest.err`
9790
 
$rm conftest*
 
11029
$rm -r conftest*
9791
11030
 
9792
11031
 
9793
11032
# Allow CC to be a program name with arguments.
9800
11039
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9801
11040
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9802
11041
else
9803
 
  unset lt_cv_prog_gnu_ld
 
11042
  $as_unset lt_cv_prog_gnu_ld
9804
11043
fi
9805
11044
if test -n "${lt_cv_path_LDCXX+set}"; then
9806
11045
  lt_cv_path_LD=$lt_cv_path_LDCXX
9807
11046
else
9808
 
  unset lt_cv_path_LD
 
11047
  $as_unset lt_cv_path_LD
9809
11048
fi
9810
11049
test -z "${LDCXX+set}" || LD=$LDCXX
9811
11050
CC=${CXX-"c++"}
9834
11073
  # Set up default GNU C++ configuration
9835
11074
 
9836
11075
 
9837
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
11076
# Check whether --with-gnu-ld was given.
9838
11077
if test "${with_gnu_ld+set}" = set; then
9839
 
  withval="$with_gnu_ld"
9840
 
  test "$withval" = no || with_gnu_ld=yes
 
11078
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
9841
11079
else
9842
11080
  with_gnu_ld=no
9843
 
fi;
 
11081
fi
 
11082
 
9844
11083
ac_prog=ld
9845
11084
if test "$GCC" = yes; then
9846
11085
  # Check if gcc -print-prog-name=ld gives a path.
9847
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9848
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
11086
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
11087
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
9849
11088
  case $host in
9850
11089
  *-*-mingw*)
9851
11090
    # gcc leaves a trailing carriage return which upsets mingw
9874
11113
    ;;
9875
11114
  esac
9876
11115
elif test "$with_gnu_ld" = yes; then
9877
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
9878
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
11116
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
11117
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
9879
11118
else
9880
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9881
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
11119
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
11120
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
9882
11121
fi
9883
11122
if test "${lt_cv_path_LD+set}" = set; then
9884
11123
  echo $ECHO_N "(cached) $ECHO_C" >&6
9891
11130
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9892
11131
      lt_cv_path_LD="$ac_dir/$ac_prog"
9893
11132
      # Check to see if the program is GNU ld.  I'd rather use --version,
9894
 
      # but apparently some GNU ld's only accept -v.
 
11133
      # but apparently some variants of GNU ld only accept -v.
9895
11134
      # Break only if it was the GNU/non-GNU ld that we prefer.
9896
11135
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9897
11136
      *GNU* | *'with BFD'*)
9911
11150
 
9912
11151
LD="$lt_cv_path_LD"
9913
11152
if test -n "$LD"; then
9914
 
  echo "$as_me:$LINENO: result: $LD" >&5
9915
 
echo "${ECHO_T}$LD" >&6
 
11153
  { echo "$as_me:$LINENO: result: $LD" >&5
 
11154
echo "${ECHO_T}$LD" >&6; }
9916
11155
else
9917
 
  echo "$as_me:$LINENO: result: no" >&5
9918
 
echo "${ECHO_T}no" >&6
 
11156
  { echo "$as_me:$LINENO: result: no" >&5
 
11157
echo "${ECHO_T}no" >&6; }
9919
11158
fi
9920
11159
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9921
11160
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9922
11161
   { (exit 1); exit 1; }; }
9923
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9924
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
11162
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
11163
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
9925
11164
if test "${lt_cv_prog_gnu_ld+set}" = set; then
9926
11165
  echo $ECHO_N "(cached) $ECHO_C" >&6
9927
11166
else
9928
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
11167
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
9929
11168
case `$LD -v 2>&1 </dev/null` in
9930
11169
*GNU* | *'with BFD'*)
9931
11170
  lt_cv_prog_gnu_ld=yes
9935
11174
  ;;
9936
11175
esac
9937
11176
fi
9938
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9939
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
11177
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
11178
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
9940
11179
with_gnu_ld=$lt_cv_prog_gnu_ld
9941
11180
 
9942
11181
 
9986
11225
fi
9987
11226
 
9988
11227
# PORTME: fill in a description of your system's C++ link characteristics
9989
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9990
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
11228
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
11229
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
9991
11230
ld_shlibs_CXX=yes
9992
11231
case $host_os in
9993
11232
  aix3*)
9994
11233
    # FIXME: insert proper C++ library support
9995
11234
    ld_shlibs_CXX=no
9996
11235
    ;;
9997
 
  aix4* | aix5*)
 
11236
  aix[4-9]*)
9998
11237
    if test "$host_cpu" = ia64; then
9999
11238
      # On IA64, the linker does run time linking by default, so we don't
10000
11239
      # have to do anything special.
10007
11246
      # Test if we are trying to use run time linking or normal
10008
11247
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10009
11248
      # need to do runtime linking.
10010
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
11249
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10011
11250
        for ld_flag in $LDFLAGS; do
10012
11251
          case $ld_flag in
10013
11252
          *-brtl*)
10016
11255
            ;;
10017
11256
          esac
10018
11257
        done
 
11258
        ;;
10019
11259
      esac
10020
11260
 
10021
11261
      exp_sym_flag='-bexport'
10042
11282
           strings "$collect2name" | grep resolve_lib_name >/dev/null
10043
11283
        then
10044
11284
          # We have reworked collect2
10045
 
          hardcode_direct_CXX=yes
 
11285
          :
10046
11286
        else
10047
11287
          # We have old collect2
10048
11288
          hardcode_direct_CXX=unsupported
10053
11293
          hardcode_libdir_flag_spec_CXX='-L$libdir'
10054
11294
          hardcode_libdir_separator_CXX=
10055
11295
        fi
 
11296
        ;;
10056
11297
      esac
10057
11298
      shared_flag='-shared'
10058
11299
      if test "$aix_use_runtimelinking" = yes; then
10097
11338
}
10098
11339
_ACEOF
10099
11340
rm -f conftest.$ac_objext conftest$ac_exeext
10100
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10101
 
  (eval $ac_link) 2>conftest.er1
 
11341
if { (ac_try="$ac_link"
 
11342
case "(($ac_try" in
 
11343
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11344
  *) ac_try_echo=$ac_try;;
 
11345
esac
 
11346
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11347
  (eval "$ac_link") 2>conftest.er1
10102
11348
  ac_status=$?
10103
11349
  grep -v '^ *+' conftest.er1 >conftest.err
10104
11350
  rm -f conftest.er1
10105
11351
  cat conftest.err >&5
10106
11352
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10107
 
  (exit $ac_status); } &&
10108
 
         { ac_try='test -z "$ac_cxx_werror_flag"
10109
 
                         || test ! -s conftest.err'
10110
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10111
 
  (eval $ac_try) 2>&5
10112
 
  ac_status=$?
10113
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10114
 
  (exit $ac_status); }; } &&
10115
 
         { ac_try='test -s conftest$ac_exeext'
10116
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10117
 
  (eval $ac_try) 2>&5
10118
 
  ac_status=$?
10119
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10120
 
  (exit $ac_status); }; }; then
 
11353
  (exit $ac_status); } && {
 
11354
         test -z "$ac_cxx_werror_flag" ||
 
11355
         test ! -s conftest.err
 
11356
       } && test -s conftest$ac_exeext &&
 
11357
       $as_test_x conftest$ac_exeext; then
10121
11358
 
10122
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10123
 
}'`
 
11359
lt_aix_libpath_sed='
 
11360
    /Import File Strings/,/^$/ {
 
11361
        /^0/ {
 
11362
            s/^0  *\(.*\)$/\1/
 
11363
            p
 
11364
        }
 
11365
    }'
 
11366
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10124
11367
# Check for a 64-bit object if we didn't find anything.
10125
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10126
 
}'`; fi
 
11368
if test -z "$aix_libpath"; then
 
11369
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11370
fi
10127
11371
else
10128
11372
  echo "$as_me: failed program was:" >&5
10129
11373
sed 's/^/| /' conftest.$ac_ext >&5
10130
11374
 
 
11375
 
10131
11376
fi
10132
 
rm -f conftest.err conftest.$ac_objext \
 
11377
 
 
11378
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10133
11379
      conftest$ac_exeext conftest.$ac_ext
10134
11380
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10135
11381
 
10136
11382
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10137
11383
 
10138
 
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
11384
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10139
11385
     else
10140
11386
      if test "$host_cpu" = ia64; then
10141
11387
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
10142
11388
        allow_undefined_flag_CXX="-z nodefs"
10143
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
11389
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10144
11390
      else
10145
11391
        # Determine the default libpath from the value encoded in an empty executable.
10146
11392
        cat >conftest.$ac_ext <<_ACEOF
10159
11405
}
10160
11406
_ACEOF
10161
11407
rm -f conftest.$ac_objext conftest$ac_exeext
10162
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10163
 
  (eval $ac_link) 2>conftest.er1
 
11408
if { (ac_try="$ac_link"
 
11409
case "(($ac_try" in
 
11410
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11411
  *) ac_try_echo=$ac_try;;
 
11412
esac
 
11413
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11414
  (eval "$ac_link") 2>conftest.er1
10164
11415
  ac_status=$?
10165
11416
  grep -v '^ *+' conftest.er1 >conftest.err
10166
11417
  rm -f conftest.er1
10167
11418
  cat conftest.err >&5
10168
11419
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10169
 
  (exit $ac_status); } &&
10170
 
         { ac_try='test -z "$ac_cxx_werror_flag"
10171
 
                         || test ! -s conftest.err'
10172
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10173
 
  (eval $ac_try) 2>&5
10174
 
  ac_status=$?
10175
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10176
 
  (exit $ac_status); }; } &&
10177
 
         { ac_try='test -s conftest$ac_exeext'
10178
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10179
 
  (eval $ac_try) 2>&5
10180
 
  ac_status=$?
10181
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10182
 
  (exit $ac_status); }; }; then
 
11420
  (exit $ac_status); } && {
 
11421
         test -z "$ac_cxx_werror_flag" ||
 
11422
         test ! -s conftest.err
 
11423
       } && test -s conftest$ac_exeext &&
 
11424
       $as_test_x conftest$ac_exeext; then
10183
11425
 
10184
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10185
 
}'`
 
11426
lt_aix_libpath_sed='
 
11427
    /Import File Strings/,/^$/ {
 
11428
        /^0/ {
 
11429
            s/^0  *\(.*\)$/\1/
 
11430
            p
 
11431
        }
 
11432
    }'
 
11433
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10186
11434
# Check for a 64-bit object if we didn't find anything.
10187
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10188
 
}'`; fi
 
11435
if test -z "$aix_libpath"; then
 
11436
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11437
fi
10189
11438
else
10190
11439
  echo "$as_me: failed program was:" >&5
10191
11440
sed 's/^/| /' conftest.$ac_ext >&5
10192
11441
 
 
11442
 
10193
11443
fi
10194
 
rm -f conftest.err conftest.$ac_objext \
 
11444
 
 
11445
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10195
11446
      conftest$ac_exeext conftest.$ac_ext
10196
11447
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10197
11448
 
10200
11451
        # -berok will link without error, but may produce a broken library.
10201
11452
        no_undefined_flag_CXX=' ${wl}-bernotok'
10202
11453
        allow_undefined_flag_CXX=' ${wl}-berok'
10203
 
        # -bexpall does not export symbols beginning with underscore (_)
10204
 
        always_export_symbols_CXX=yes
10205
11454
        # Exported symbols can be pulled into shared objects from archives
10206
 
        whole_archive_flag_spec_CXX=' '
 
11455
        whole_archive_flag_spec_CXX='$convenience'
10207
11456
        archive_cmds_need_lc_CXX=yes
10208
 
        # This is similar to how AIX traditionally builds it's shared libraries.
10209
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
11457
        # This is similar to how AIX traditionally builds its shared libraries.
 
11458
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10210
11459
      fi
10211
11460
    fi
10212
11461
    ;;
 
11462
 
 
11463
  beos*)
 
11464
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
11465
      allow_undefined_flag_CXX=unsupported
 
11466
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
11467
      # support --undefined.  This deserves some investigation.  FIXME
 
11468
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11469
    else
 
11470
      ld_shlibs_CXX=no
 
11471
    fi
 
11472
    ;;
 
11473
 
10213
11474
  chorus*)
10214
11475
    case $cc_basename in
10215
11476
      *)
10219
11480
    esac
10220
11481
    ;;
10221
11482
 
10222
 
 
10223
11483
  cygwin* | mingw* | pw32*)
10224
11484
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10225
11485
    # as there is no search path for DLLs.
10229
11489
    enable_shared_with_static_runtimes_CXX=yes
10230
11490
 
10231
11491
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10232
 
      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
11492
      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10233
11493
      # If the export-symbols file already is a .def file (1st line
10234
11494
      # is EXPORTS), use it as is; otherwise, prepend...
10235
11495
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10238
11498
        echo EXPORTS > $output_objdir/$soname.def;
10239
11499
        cat $export_symbols >> $output_objdir/$soname.def;
10240
11500
      fi~
10241
 
      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
11501
      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10242
11502
    else
10243
11503
      ld_shlibs_CXX=no
10244
11504
    fi
10245
11505
  ;;
10246
11506
      darwin* | rhapsody*)
10247
 
        case "$host_os" in
10248
 
        rhapsody* | darwin1.[012])
10249
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
10250
 
         ;;
10251
 
       *) # Darwin 1.3 on
10252
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10253
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10254
 
         else
10255
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
10256
 
             10.[012])
10257
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10258
 
               ;;
10259
 
             10.*)
10260
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
10261
 
               ;;
10262
 
           esac
10263
 
         fi
10264
 
         ;;
10265
 
        esac
10266
11507
      archive_cmds_need_lc_CXX=no
10267
11508
      hardcode_direct_CXX=no
10268
11509
      hardcode_automatic_CXX=yes
10269
11510
      hardcode_shlibpath_var_CXX=unsupported
10270
11511
      whole_archive_flag_spec_CXX=''
10271
11512
      link_all_deplibs_CXX=yes
10272
 
 
10273
 
    if test "$GXX" = yes ; then
10274
 
      lt_int_apple_cc_single_mod=no
 
11513
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
11514
      if test "$GXX" = yes ; then
10275
11515
      output_verbose_link_cmd='echo'
10276
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
10277
 
       lt_int_apple_cc_single_mod=yes
 
11516
      archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
11517
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
11518
      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
11519
      module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
11520
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
11521
        archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
 
11522
        archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
10278
11523
      fi
10279
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10280
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10281
 
      else
10282
 
          archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10283
 
        fi
10284
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10285
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10286
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10287
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10288
 
          else
10289
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10290
 
          fi
10291
 
            module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10292
11524
      else
10293
11525
      case $cc_basename in
10294
11526
        xlc*)
10295
11527
         output_verbose_link_cmd='echo'
10296
 
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
11528
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
10297
11529
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10298
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10299
 
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
11530
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
11531
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10300
11532
          module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10301
11533
          ;;
10302
11534
       *)
10330
11562
  freebsd-elf*)
10331
11563
    archive_cmds_need_lc_CXX=no
10332
11564
    ;;
10333
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
 
11565
  freebsd* | dragonfly*)
10334
11566
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10335
11567
    # conventions
10336
11568
    ld_shlibs_CXX=yes
10375
11607
    ;;
10376
11608
  hpux10*|hpux11*)
10377
11609
    if test $with_gnu_ld = no; then
10378
 
      case "$host_cpu" in
10379
 
      hppa*64*)
10380
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10381
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
10382
 
        hardcode_libdir_separator_CXX=:
10383
 
        ;;
10384
 
      ia64*)
10385
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
10386
 
        ;;
 
11610
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
11611
      hardcode_libdir_separator_CXX=:
 
11612
 
 
11613
      case $host_cpu in
 
11614
      hppa*64*|ia64*) ;;
10387
11615
      *)
10388
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10389
 
        hardcode_libdir_separator_CXX=:
10390
11616
        export_dynamic_flag_spec_CXX='${wl}-E'
10391
11617
        ;;
10392
11618
      esac
10393
11619
    fi
10394
 
    case "$host_cpu" in
10395
 
    hppa*64*)
10396
 
      hardcode_direct_CXX=no
10397
 
      hardcode_shlibpath_var_CXX=no
10398
 
      ;;
10399
 
    ia64*)
10400
 
      hardcode_direct_CXX=no
10401
 
      hardcode_shlibpath_var_CXX=no
10402
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
10403
 
                                              # but as the default
10404
 
                                              # location of the library.
 
11620
    case $host_cpu in
 
11621
    hppa*64*|ia64*)
 
11622
      hardcode_direct_CXX=no
 
11623
      hardcode_shlibpath_var_CXX=no
10405
11624
      ;;
10406
11625
    *)
10407
11626
      hardcode_direct_CXX=yes
10417
11636
        ld_shlibs_CXX=no
10418
11637
        ;;
10419
11638
      aCC*)
10420
 
        case "$host_cpu" in
10421
 
        hppa*64*|ia64*)
10422
 
          archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 
11639
        case $host_cpu in
 
11640
        hppa*64*)
 
11641
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
11642
          ;;
 
11643
        ia64*)
 
11644
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10423
11645
          ;;
10424
11646
        *)
10425
11647
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10438
11660
      *)
10439
11661
        if test "$GXX" = yes; then
10440
11662
          if test $with_gnu_ld = no; then
10441
 
            case "$host_cpu" in
10442
 
            ia64*|hppa*64*)
10443
 
              archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 
11663
            case $host_cpu in
 
11664
            hppa*64*)
 
11665
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
11666
              ;;
 
11667
            ia64*)
 
11668
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10444
11669
              ;;
10445
11670
            *)
10446
11671
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10454
11679
        ;;
10455
11680
    esac
10456
11681
    ;;
 
11682
  interix[3-9]*)
 
11683
    hardcode_direct_CXX=no
 
11684
    hardcode_shlibpath_var_CXX=no
 
11685
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
11686
    export_dynamic_flag_spec_CXX='${wl}-E'
 
11687
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
11688
    # Instead, shared libraries are loaded at an image base (0x10000000 by
 
11689
    # default) and relocated if they conflict, which is a slow very memory
 
11690
    # consuming and fragmenting process.  To avoid this, we pick a random,
 
11691
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
11692
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
11693
    archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
11694
    archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
11695
    ;;
10457
11696
  irix5* | irix6*)
10458
11697
    case $cc_basename in
10459
11698
      CC*)
10480
11719
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10481
11720
    hardcode_libdir_separator_CXX=:
10482
11721
    ;;
10483
 
  linux*)
 
11722
  linux* | k*bsd*-gnu)
10484
11723
    case $cc_basename in
10485
11724
      KCC*)
10486
11725
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10532
11771
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10533
11772
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10534
11773
        ;;
10535
 
      pgCC*)
 
11774
      pgCC* | pgcpp*)
10536
11775
        # Portland Group C++ compiler
10537
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
10538
 
        archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 
11776
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
11777
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
10539
11778
 
10540
11779
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10541
11780
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10542
 
        whole_archive_flag_spec_CXX=''
 
11781
        whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
10543
11782
        ;;
10544
11783
      cxx*)
10545
11784
        # Compaq C++
10560
11799
        # dependencies.
10561
11800
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10562
11801
        ;;
 
11802
      *)
 
11803
        case `$CC -V 2>&1 | sed 5q` in
 
11804
        *Sun\ C*)
 
11805
          # Sun C++ 5.9
 
11806
          no_undefined_flag_CXX=' -zdefs'
 
11807
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
11808
          archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
 
11809
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
11810
          whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
11811
 
 
11812
          # Not sure whether something based on
 
11813
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
11814
          # would be better.
 
11815
          output_verbose_link_cmd='echo'
 
11816
 
 
11817
          # Archives containing C++ object files must be created using
 
11818
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
11819
          # necessary to make sure instantiated templates are included
 
11820
          # in the archive.
 
11821
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
11822
          ;;
 
11823
        esac
 
11824
        ;;
10563
11825
    esac
10564
11826
    ;;
10565
11827
  lynxos*)
10582
11844
        ;;
10583
11845
    esac
10584
11846
    ;;
10585
 
  netbsd*)
 
11847
  netbsd* | netbsdelf*-gnu)
10586
11848
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10587
11849
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10588
11850
      wlarc=
10598
11860
    ld_shlibs_CXX=no
10599
11861
    ;;
10600
11862
  openbsd*)
10601
 
    hardcode_direct_CXX=yes
10602
 
    hardcode_shlibpath_var_CXX=no
10603
 
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10604
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10605
 
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10606
 
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10607
 
      export_dynamic_flag_spec_CXX='${wl}-E'
10608
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
11863
    if test -f /usr/libexec/ld.so; then
 
11864
      hardcode_direct_CXX=yes
 
11865
      hardcode_shlibpath_var_CXX=no
 
11866
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
11867
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
11868
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11869
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
11870
        export_dynamic_flag_spec_CXX='${wl}-E'
 
11871
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
11872
      fi
 
11873
      output_verbose_link_cmd='echo'
 
11874
    else
 
11875
      ld_shlibs_CXX=no
10609
11876
    fi
10610
 
    output_verbose_link_cmd='echo'
10611
11877
    ;;
10612
11878
  osf3*)
10613
11879
    case $cc_basename in
10736
12002
    # FIXME: insert proper C++ library support
10737
12003
    ld_shlibs_CXX=no
10738
12004
    ;;
10739
 
  sco*)
10740
 
    archive_cmds_need_lc_CXX=no
10741
 
    case $cc_basename in
10742
 
      CC*)
10743
 
        # FIXME: insert proper C++ library support
10744
 
        ld_shlibs_CXX=no
10745
 
        ;;
10746
 
      *)
10747
 
        # FIXME: insert proper C++ library support
10748
 
        ld_shlibs_CXX=no
10749
 
        ;;
10750
 
    esac
10751
 
    ;;
10752
12005
  sunos4*)
10753
12006
    case $cc_basename in
10754
12007
      CC*)
10771
12024
    case $cc_basename in
10772
12025
      CC*)
10773
12026
        # Sun C++ 4.2, 5.x and Centerline C++
 
12027
        archive_cmds_need_lc_CXX=yes
10774
12028
        no_undefined_flag_CXX=' -zdefs'
10775
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12029
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10776
12030
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10777
 
        $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 
12031
        $CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10778
12032
 
10779
12033
        hardcode_libdir_flag_spec_CXX='-R$libdir'
10780
12034
        hardcode_shlibpath_var_CXX=no
10781
12035
        case $host_os in
10782
12036
          solaris2.[0-5] | solaris2.[0-5].*) ;;
10783
12037
          *)
10784
 
            # The C++ compiler is used as linker so we must use $wl
10785
 
            # flag to pass the commands to the underlying system
10786
 
            # linker. We must also pass each convience library through
10787
 
            # to the system linker between allextract/defaultextract.
10788
 
            # The C++ compiler will combine linker options so we
10789
 
            # cannot just pass the convience library names through
10790
 
            # without $wl.
 
12038
            # The compiler driver will combine and reorder linker options,
 
12039
            # but understands `-z linker_flag'.
10791
12040
            # Supported since Solaris 2.6 (maybe 2.5.1?)
10792
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
 
12041
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
10793
12042
            ;;
10794
12043
        esac
10795
12044
        link_all_deplibs_CXX=yes
10796
12045
 
10797
 
        # Commands to make compiler produce verbose output that lists
10798
 
        # what "hidden" libraries, object files and flags are used when
10799
 
        # linking a shared library.
10800
 
        #
10801
 
        # There doesn't appear to be a way to prevent this compiler from
10802
 
        # explicitly linking system object files so we need to strip them
10803
 
        # from the output so that they don't get included in the library
10804
 
        # dependencies.
10805
 
        output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
 
12046
        output_verbose_link_cmd='echo'
10806
12047
 
10807
12048
        # Archives containing C++ object files must be created using
10808
12049
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
10844
12085
          fi
10845
12086
 
10846
12087
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
12088
          case $host_os in
 
12089
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
12090
          *)
 
12091
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
12092
            ;;
 
12093
          esac
10847
12094
        fi
10848
12095
        ;;
10849
12096
    esac
10850
12097
    ;;
10851
 
  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10852
 
    archive_cmds_need_lc_CXX=no
 
12098
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
12099
    no_undefined_flag_CXX='${wl}-z,text'
 
12100
    archive_cmds_need_lc_CXX=no
 
12101
    hardcode_shlibpath_var_CXX=no
 
12102
    runpath_var='LD_RUN_PATH'
 
12103
 
 
12104
    case $cc_basename in
 
12105
      CC*)
 
12106
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12107
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12108
        ;;
 
12109
      *)
 
12110
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12111
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12112
        ;;
 
12113
    esac
 
12114
    ;;
 
12115
  sysv5* | sco3.2v5* | sco5v6*)
 
12116
    # Note: We can NOT use -z defs as we might desire, because we do not
 
12117
    # link with -lc, and that would cause any symbols used from libc to
 
12118
    # always be unresolved, which means just about no library would
 
12119
    # ever link correctly.  If we're not using GNU ld we use -z text
 
12120
    # though, which does catch some bad symbols but isn't as heavy-handed
 
12121
    # as -z defs.
 
12122
    # For security reasons, it is highly recommended that you always
 
12123
    # use absolute paths for naming shared libraries, and exclude the
 
12124
    # DT_RUNPATH tag from executables and libraries.  But doing so
 
12125
    # requires that you compile everything twice, which is a pain.
 
12126
    # So that behaviour is only enabled if SCOABSPATH is set to a
 
12127
    # non-empty value in the environment.  Most likely only useful for
 
12128
    # creating official distributions of packages.
 
12129
    # This is a hack until libtool officially supports absolute path
 
12130
    # names for shared libraries.
 
12131
    no_undefined_flag_CXX='${wl}-z,text'
 
12132
    allow_undefined_flag_CXX='${wl}-z,nodefs'
 
12133
    archive_cmds_need_lc_CXX=no
 
12134
    hardcode_shlibpath_var_CXX=no
 
12135
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
12136
    hardcode_libdir_separator_CXX=':'
 
12137
    link_all_deplibs_CXX=yes
 
12138
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
 
12139
    runpath_var='LD_RUN_PATH'
 
12140
 
 
12141
    case $cc_basename in
 
12142
      CC*)
 
12143
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12144
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12145
        ;;
 
12146
      *)
 
12147
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12148
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12149
        ;;
 
12150
    esac
10853
12151
    ;;
10854
12152
  tandem*)
10855
12153
    case $cc_basename in
10873
12171
    ld_shlibs_CXX=no
10874
12172
    ;;
10875
12173
esac
10876
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10877
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
12174
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12175
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
10878
12176
test "$ld_shlibs_CXX" = no && can_build_shared=no
10879
12177
 
10880
12178
GCC_CXX="$GXX"
10881
12179
LD_CXX="$LD"
10882
12180
 
10883
 
 
10884
12181
cat > conftest.$ac_ext <<EOF
10885
12182
class Foo
10886
12183
{
10906
12203
  # The `*' in the case matches for architectures that use `case' in
10907
12204
  # $output_verbose_cmd can trigger glob expansion during the loop
10908
12205
  # eval without this substitution.
10909
 
  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
 
12206
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
10910
12207
 
10911
12208
  for p in `eval $output_verbose_link_cmd`; do
10912
12209
    case $p in
10982
12279
 
10983
12280
$rm -f confest.$objext
10984
12281
 
 
12282
compiler_lib_search_dirs_CXX=
 
12283
if test -n "$compiler_lib_search_path_CXX"; then
 
12284
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
12285
fi
 
12286
 
 
12287
# PORTME: override above test on systems where it is broken
 
12288
case $host_os in
 
12289
interix[3-9]*)
 
12290
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
 
12291
  # hack all around it, let's just trust "g++" to DTRT.
 
12292
  predep_objects_CXX=
 
12293
  postdep_objects_CXX=
 
12294
  postdeps_CXX=
 
12295
  ;;
 
12296
 
 
12297
linux*)
 
12298
  case `$CC -V 2>&1 | sed 5q` in
 
12299
  *Sun\ C*)
 
12300
    # Sun C++ 5.9
 
12301
    #
 
12302
    # The more standards-conforming stlport4 library is
 
12303
    # incompatible with the Cstd library. Avoid specifying
 
12304
    # it if it's in CXXFLAGS. Ignore libCrun as
 
12305
    # -library=stlport4 depends on it.
 
12306
    case " $CXX $CXXFLAGS " in
 
12307
    *" -library=stlport4 "*)
 
12308
      solaris_use_stlport4=yes
 
12309
      ;;
 
12310
    esac
 
12311
    if test "$solaris_use_stlport4" != yes; then
 
12312
      postdeps_CXX='-library=Cstd -library=Crun'
 
12313
    fi
 
12314
    ;;
 
12315
  esac
 
12316
  ;;
 
12317
 
 
12318
solaris*)
 
12319
  case $cc_basename in
 
12320
  CC*)
 
12321
    # The more standards-conforming stlport4 library is
 
12322
    # incompatible with the Cstd library. Avoid specifying
 
12323
    # it if it's in CXXFLAGS. Ignore libCrun as
 
12324
    # -library=stlport4 depends on it.
 
12325
    case " $CXX $CXXFLAGS " in
 
12326
    *" -library=stlport4 "*)
 
12327
      solaris_use_stlport4=yes
 
12328
      ;;
 
12329
    esac
 
12330
 
 
12331
    # Adding this requires a known-good setup of shared libraries for
 
12332
    # Sun compiler versions before 5.6, else PIC objects from an old
 
12333
    # archive will be linked into the output, leading to subtle bugs.
 
12334
    if test "$solaris_use_stlport4" != yes; then
 
12335
      postdeps_CXX='-library=Cstd -library=Crun'
 
12336
    fi
 
12337
    ;;
 
12338
  esac
 
12339
  ;;
 
12340
esac
 
12341
 
10985
12342
case " $postdeps_CXX " in
10986
12343
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
10987
12344
esac
10990
12347
lt_prog_compiler_pic_CXX=
10991
12348
lt_prog_compiler_static_CXX=
10992
12349
 
10993
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10994
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
12350
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
12351
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
10995
12352
 
10996
12353
  # C++ specific cases for pic, static, wl, etc.
10997
12354
  if test "$GXX" = yes; then
11012
12369
      # like `-m68040'.
11013
12370
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
11014
12371
      ;;
11015
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
12372
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11016
12373
      # PIC is the default for these OSes.
11017
12374
      ;;
11018
 
    mingw* | os2* | pw32*)
 
12375
    mingw* | cygwin* | os2* | pw32*)
11019
12376
      # This hack is so that the source file can tell whether it is being
11020
12377
      # built for inclusion in a dll (and should export symbols for example).
 
12378
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
12379
      # (--disable-auto-import) libraries
11021
12380
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
11022
12381
      ;;
11023
12382
    darwin* | rhapsody*)
11029
12388
      # DJGPP does not support shared libraries at all
11030
12389
      lt_prog_compiler_pic_CXX=
11031
12390
      ;;
 
12391
    interix[3-9]*)
 
12392
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
12393
      # Instead, we relocate shared libraries at runtime.
 
12394
      ;;
11032
12395
    sysv4*MP*)
11033
12396
      if test -d /usr/nec; then
11034
12397
        lt_prog_compiler_pic_CXX=-Kconform_pic
11037
12400
    hpux*)
11038
12401
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11039
12402
      # not for PA HP-UX.
11040
 
      case "$host_cpu" in
 
12403
      case $host_cpu in
11041
12404
      hppa*64*|ia64*)
11042
12405
        ;;
11043
12406
      *)
11051
12414
    esac
11052
12415
  else
11053
12416
    case $host_os in
11054
 
      aix4* | aix5*)
 
12417
      aix[4-9]*)
11055
12418
        # All AIX code is PIC.
11056
12419
        if test "$host_cpu" = ia64; then
11057
12420
          # AIX 5 now supports IA64 processor
11091
12454
            ;;
11092
12455
        esac
11093
12456
        ;;
11094
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
 
12457
      freebsd* | dragonfly*)
11095
12458
        # FreeBSD uses GNU C++
11096
12459
        ;;
11097
12460
      hpux9* | hpux10* | hpux11*)
11098
12461
        case $cc_basename in
11099
12462
          CC*)
11100
12463
            lt_prog_compiler_wl_CXX='-Wl,'
11101
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
 
12464
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
11102
12465
            if test "$host_cpu" != ia64; then
11103
12466
              lt_prog_compiler_pic_CXX='+Z'
11104
12467
            fi
11105
12468
            ;;
11106
12469
          aCC*)
11107
12470
            lt_prog_compiler_wl_CXX='-Wl,'
11108
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11109
 
            case "$host_cpu" in
 
12471
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 
12472
            case $host_cpu in
11110
12473
            hppa*64*|ia64*)
11111
12474
              # +Z the default
11112
12475
              ;;
11119
12482
            ;;
11120
12483
        esac
11121
12484
        ;;
 
12485
      interix*)
 
12486
        # This is c89, which is MS Visual C++ (no shared libs)
 
12487
        # Anyone wants to do a port?
 
12488
        ;;
11122
12489
      irix5* | irix6* | nonstopux*)
11123
12490
        case $cc_basename in
11124
12491
          CC*)
11130
12497
            ;;
11131
12498
        esac
11132
12499
        ;;
11133
 
      linux*)
 
12500
      linux* | k*bsd*-gnu)
11134
12501
        case $cc_basename in
11135
12502
          KCC*)
11136
12503
            # KAI C++ Compiler
11143
12510
            lt_prog_compiler_pic_CXX='-KPIC'
11144
12511
            lt_prog_compiler_static_CXX='-static'
11145
12512
            ;;
11146
 
          pgCC*)
 
12513
          pgCC* | pgcpp*)
11147
12514
            # Portland Group C++ compiler.
11148
12515
            lt_prog_compiler_wl_CXX='-Wl,'
11149
12516
            lt_prog_compiler_pic_CXX='-fpic'
11150
 
            lt_prog_compiler_static_CXX='-static'
 
12517
            lt_prog_compiler_static_CXX='-Bstatic'
11151
12518
            ;;
11152
12519
          cxx*)
11153
12520
            # Compaq C++
11157
12524
            lt_prog_compiler_static_CXX='-non_shared'
11158
12525
            ;;
11159
12526
          *)
 
12527
            case `$CC -V 2>&1 | sed 5q` in
 
12528
            *Sun\ C*)
 
12529
              # Sun C++ 5.9
 
12530
              lt_prog_compiler_pic_CXX='-KPIC'
 
12531
              lt_prog_compiler_static_CXX='-Bstatic'
 
12532
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
12533
              ;;
 
12534
            esac
11160
12535
            ;;
11161
12536
        esac
11162
12537
        ;;
11173
12548
            ;;
11174
12549
        esac
11175
12550
        ;;
11176
 
      netbsd*)
 
12551
      netbsd* | netbsdelf*-gnu)
11177
12552
        ;;
11178
12553
      osf3* | osf4* | osf5*)
11179
12554
        case $cc_basename in
11198
12573
        ;;
11199
12574
      psos*)
11200
12575
        ;;
11201
 
      sco*)
11202
 
        case $cc_basename in
11203
 
          CC*)
11204
 
            lt_prog_compiler_pic_CXX='-fPIC'
11205
 
            ;;
11206
 
          *)
11207
 
            ;;
11208
 
        esac
11209
 
        ;;
11210
12576
      solaris*)
11211
12577
        case $cc_basename in
11212
12578
          CC*)
11248
12614
            ;;
11249
12615
        esac
11250
12616
        ;;
11251
 
      unixware*)
 
12617
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
12618
        case $cc_basename in
 
12619
          CC*)
 
12620
            lt_prog_compiler_wl_CXX='-Wl,'
 
12621
            lt_prog_compiler_pic_CXX='-KPIC'
 
12622
            lt_prog_compiler_static_CXX='-Bstatic'
 
12623
            ;;
 
12624
        esac
11252
12625
        ;;
11253
12626
      vxworks*)
11254
12627
        ;;
11258
12631
    esac
11259
12632
  fi
11260
12633
 
11261
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11262
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 
12634
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
12635
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
11263
12636
 
11264
12637
#
11265
12638
# Check to make sure the PIC flag actually works.
11266
12639
#
11267
12640
if test -n "$lt_prog_compiler_pic_CXX"; then
11268
12641
 
11269
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11270
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11271
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
 
12642
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
12643
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
 
12644
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
11272
12645
  echo $ECHO_N "(cached) $ECHO_C" >&6
11273
12646
else
11274
 
  lt_prog_compiler_pic_works_CXX=no
 
12647
  lt_cv_prog_compiler_pic_works_CXX=no
11275
12648
  ac_outfile=conftest.$ac_objext
11276
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12649
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11277
12650
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
11278
12651
   # Insert the option either (1) after the last *FLAGS variable, or
11279
12652
   # (2) before a word containing "conftest.", or (3) at the end.
11281
12654
   # with a dollar sign (not a hyphen), so the echo should work correctly.
11282
12655
   # The option is referenced via a variable to avoid confusing sed.
11283
12656
   lt_compile=`echo "$ac_compile" | $SED \
11284
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
12657
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11285
12658
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11286
12659
   -e 's:$: $lt_compiler_flag:'`
11287
 
   (eval echo "\"\$as_me:11287: $lt_compile\"" >&5)
 
12660
   (eval echo "\"\$as_me:12660: $lt_compile\"" >&5)
11288
12661
   (eval "$lt_compile" 2>conftest.err)
11289
12662
   ac_status=$?
11290
12663
   cat conftest.err >&5
11291
 
   echo "$as_me:11291: \$? = $ac_status" >&5
 
12664
   echo "$as_me:12664: \$? = $ac_status" >&5
11292
12665
   if (exit $ac_status) && test -s "$ac_outfile"; then
11293
12666
     # The compiler can only warn and ignore the option if not recognized
11294
12667
     # So say no if there are warnings other than the usual output.
11295
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
11296
 
     $SED '/^$/d' conftest.err >conftest.er2
11297
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
11298
 
       lt_prog_compiler_pic_works_CXX=yes
 
12668
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
12669
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
12670
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
12671
       lt_cv_prog_compiler_pic_works_CXX=yes
11299
12672
     fi
11300
12673
   fi
11301
12674
   $rm conftest*
11302
12675
 
11303
12676
fi
11304
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11305
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 
12677
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
12678
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
11306
12679
 
11307
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
 
12680
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
11308
12681
    case $lt_prog_compiler_pic_CXX in
11309
12682
     "" | " "*) ;;
11310
12683
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
11315
12688
fi
11316
12689
 
11317
12690
fi
11318
 
case "$host_os" in
 
12691
case $host_os in
11319
12692
  # For platforms which do not support PIC, -DPIC is meaningless:
11320
12693
  *djgpp*)
11321
12694
    lt_prog_compiler_pic_CXX=
11325
12698
    ;;
11326
12699
esac
11327
12700
 
11328
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11329
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
12701
#
 
12702
# Check to make sure the static flag actually works.
 
12703
#
 
12704
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
 
12705
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
12706
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
12707
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
 
12708
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12709
else
 
12710
  lt_cv_prog_compiler_static_works_CXX=no
 
12711
   save_LDFLAGS="$LDFLAGS"
 
12712
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
12713
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
12714
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
12715
     # The linker can only warn and ignore the option if not recognized
 
12716
     # So say no if there are warnings
 
12717
     if test -s conftest.err; then
 
12718
       # Append any errors to the config.log.
 
12719
       cat conftest.err 1>&5
 
12720
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
12721
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
12722
       if diff conftest.exp conftest.er2 >/dev/null; then
 
12723
         lt_cv_prog_compiler_static_works_CXX=yes
 
12724
       fi
 
12725
     else
 
12726
       lt_cv_prog_compiler_static_works_CXX=yes
 
12727
     fi
 
12728
   fi
 
12729
   $rm -r conftest*
 
12730
   LDFLAGS="$save_LDFLAGS"
 
12731
 
 
12732
fi
 
12733
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
12734
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
 
12735
 
 
12736
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
 
12737
    :
 
12738
else
 
12739
    lt_prog_compiler_static_CXX=
 
12740
fi
 
12741
 
 
12742
 
 
12743
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
12744
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11330
12745
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11331
12746
  echo $ECHO_N "(cached) $ECHO_C" >&6
11332
12747
else
11335
12750
   mkdir conftest
11336
12751
   cd conftest
11337
12752
   mkdir out
11338
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12753
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11339
12754
 
11340
12755
   lt_compiler_flag="-o out/conftest2.$ac_objext"
11341
12756
   # Insert the option either (1) after the last *FLAGS variable, or
11343
12758
   # Note that $ac_compile itself does not contain backslashes and begins
11344
12759
   # with a dollar sign (not a hyphen), so the echo should work correctly.
11345
12760
   lt_compile=`echo "$ac_compile" | $SED \
11346
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
12761
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11347
12762
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11348
12763
   -e 's:$: $lt_compiler_flag:'`
11349
 
   (eval echo "\"\$as_me:11349: $lt_compile\"" >&5)
 
12764
   (eval echo "\"\$as_me:12764: $lt_compile\"" >&5)
11350
12765
   (eval "$lt_compile" 2>out/conftest.err)
11351
12766
   ac_status=$?
11352
12767
   cat out/conftest.err >&5
11353
 
   echo "$as_me:11353: \$? = $ac_status" >&5
 
12768
   echo "$as_me:12768: \$? = $ac_status" >&5
11354
12769
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11355
12770
   then
11356
12771
     # The compiler can only warn and ignore the option if not recognized
11357
12772
     # So say no if there are warnings
11358
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
11359
 
     $SED '/^$/d' out/conftest.err >out/conftest.er2
11360
 
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
12773
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
12774
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
12775
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11361
12776
       lt_cv_prog_compiler_c_o_CXX=yes
11362
12777
     fi
11363
12778
   fi
11364
 
   chmod u+w .
 
12779
   chmod u+w . 2>&5
11365
12780
   $rm conftest*
11366
12781
   # SGI C++ compiler will create directory out/ii_files/ for
11367
12782
   # template instantiation
11372
12787
   $rm conftest*
11373
12788
 
11374
12789
fi
11375
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11376
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 
12790
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
12791
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
11377
12792
 
11378
12793
 
11379
12794
hard_links="nottested"
11380
12795
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
11381
12796
  # do not overwrite the value of need_locks provided by the user
11382
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11383
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
12797
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
12798
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11384
12799
  hard_links=yes
11385
12800
  $rm conftest*
11386
12801
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11387
12802
  touch conftest.a
11388
12803
  ln conftest.a conftest.b 2>&5 || hard_links=no
11389
12804
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11390
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
11391
 
echo "${ECHO_T}$hard_links" >&6
 
12805
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
12806
echo "${ECHO_T}$hard_links" >&6; }
11392
12807
  if test "$hard_links" = no; then
11393
12808
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11394
12809
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11398
12813
  need_locks=no
11399
12814
fi
11400
12815
 
11401
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11402
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
12816
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
12817
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11403
12818
 
11404
12819
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11405
12820
  case $host_os in
11406
 
  aix4* | aix5*)
 
12821
  aix[4-9]*)
11407
12822
    # If we're using GNU nm, then we don't want the "-C" option.
11408
12823
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
11409
12824
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
11416
12831
    export_symbols_cmds_CXX="$ltdll_cmds"
11417
12832
  ;;
11418
12833
  cygwin* | mingw*)
11419
 
    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'
 
12834
    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'
 
12835
  ;;
 
12836
  linux* | k*bsd*-gnu)
 
12837
    link_all_deplibs_CXX=no
11420
12838
  ;;
11421
12839
  *)
11422
12840
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11423
12841
  ;;
11424
12842
  esac
 
12843
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11425
12844
 
11426
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11427
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
12845
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12846
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11428
12847
test "$ld_shlibs_CXX" = no && can_build_shared=no
11429
12848
 
11430
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11431
 
if test "$GCC" = yes; then
11432
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11433
 
fi
11434
 
 
11435
12849
#
11436
12850
# Do we need to explicitly link libc?
11437
12851
#
11449
12863
      # Test whether the compiler implicitly links with -lc since on some
11450
12864
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11451
12865
      # to ld, don't add -lc before -lgcc.
11452
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11453
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
12866
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
12867
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11454
12868
      $rm conftest*
11455
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12869
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11456
12870
 
11457
12871
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11458
12872
  (eval $ac_compile) 2>&5
11464
12878
        libobjs=conftest.$ac_objext
11465
12879
        deplibs=
11466
12880
        wl=$lt_prog_compiler_wl_CXX
 
12881
        pic_flag=$lt_prog_compiler_pic_CXX
11467
12882
        compiler_flags=-v
11468
12883
        linker_flags=-v
11469
12884
        verstring=
11486
12901
        cat conftest.err 1>&5
11487
12902
      fi
11488
12903
      $rm conftest*
11489
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11490
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 
12904
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
12905
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
11491
12906
      ;;
11492
12907
    esac
11493
12908
  fi
11494
12909
  ;;
11495
12910
esac
11496
12911
 
11497
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11498
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
12912
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
12913
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11499
12914
library_names_spec=
11500
12915
libname_spec='lib$name'
11501
12916
soname_spec=
11509
12924
version_type=none
11510
12925
dynamic_linker="$host_os ld.so"
11511
12926
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11512
 
if test "$GCC" = yes; then
11513
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11514
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11515
 
    # if the path contains ";" then we assume it to be the separator
11516
 
    # otherwise default to the standard path separator (i.e. ":") - it is
11517
 
    # assumed that no part of a normal pathname contains ";" but that should
11518
 
    # okay in the real world where ";" in dirpaths is itself problematic.
11519
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11520
 
  else
11521
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11522
 
  fi
11523
 
else
11524
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11525
 
fi
 
12927
 
11526
12928
need_lib_prefix=unknown
11527
12929
hardcode_into_libs=no
11528
12930
 
11540
12942
  soname_spec='${libname}${release}${shared_ext}$major'
11541
12943
  ;;
11542
12944
 
11543
 
aix4* | aix5*)
 
12945
aix[4-9]*)
11544
12946
  version_type=linux
11545
12947
  need_lib_prefix=no
11546
12948
  need_version=no
11624
13026
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11625
13027
      dldir=$destdir/`dirname \$dlpath`~
11626
13028
      test -d \$dldir || mkdir -p \$dldir~
11627
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
13029
      $install_prog $dir/$dlname \$dldir/$dlname~
 
13030
      chmod a+x \$dldir/$dlname'
11628
13031
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11629
13032
      dlpath=$dir/\$dldll~
11630
13033
       $rm \$dlpath'
11677
13080
  soname_spec='${libname}${release}${major}$shared_ext'
11678
13081
  shlibpath_overrides_runpath=yes
11679
13082
  shlibpath_var=DYLD_LIBRARY_PATH
11680
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
11681
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11682
 
  if test "$GCC" = yes; then
11683
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
11684
 
  else
11685
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
11686
 
  fi
 
13083
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
13084
 
11687
13085
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11688
13086
  ;;
11689
13087
 
11700
13098
  dynamic_linker=no
11701
13099
  ;;
11702
13100
 
11703
 
kfreebsd*-gnu)
11704
 
  version_type=linux
11705
 
  need_lib_prefix=no
11706
 
  need_version=no
11707
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11708
 
  soname_spec='${libname}${release}${shared_ext}$major'
11709
 
  shlibpath_var=LD_LIBRARY_PATH
11710
 
  shlibpath_overrides_runpath=no
11711
 
  hardcode_into_libs=yes
11712
 
  dynamic_linker='GNU ld.so'
11713
 
  ;;
11714
 
 
11715
13101
freebsd* | dragonfly*)
11716
13102
  # DragonFly does not have aout.  When/if they implement a new
11717
13103
  # versioning mechanism, adjust this.
11718
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
13104
  if test -x /usr/bin/objformat; then
 
13105
    objformat=`/usr/bin/objformat`
 
13106
  else
 
13107
    case $host_os in
 
13108
    freebsd[123]*) objformat=aout ;;
 
13109
    *) objformat=elf ;;
 
13110
    esac
 
13111
  fi
11719
13112
  version_type=freebsd-$objformat
11720
13113
  case $version_type in
11721
13114
    freebsd-elf*)
11737
13130
    shlibpath_overrides_runpath=yes
11738
13131
    hardcode_into_libs=yes
11739
13132
    ;;
11740
 
  *) # from 3.2 on
 
13133
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
13134
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11741
13135
    shlibpath_overrides_runpath=no
11742
13136
    hardcode_into_libs=yes
11743
13137
    ;;
 
13138
  *) # from 4.6 on, and DragonFly
 
13139
    shlibpath_overrides_runpath=yes
 
13140
    hardcode_into_libs=yes
 
13141
    ;;
11744
13142
  esac
11745
13143
  ;;
11746
13144
 
11760
13158
  version_type=sunos
11761
13159
  need_lib_prefix=no
11762
13160
  need_version=no
11763
 
  case "$host_cpu" in
 
13161
  case $host_cpu in
11764
13162
  ia64*)
11765
13163
    shrext_cmds='.so'
11766
13164
    hardcode_into_libs=yes
11800
13198
  postinstall_cmds='chmod 555 $lib'
11801
13199
  ;;
11802
13200
 
 
13201
interix[3-9]*)
 
13202
  version_type=linux
 
13203
  need_lib_prefix=no
 
13204
  need_version=no
 
13205
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
13206
  soname_spec='${libname}${release}${shared_ext}$major'
 
13207
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
13208
  shlibpath_var=LD_LIBRARY_PATH
 
13209
  shlibpath_overrides_runpath=no
 
13210
  hardcode_into_libs=yes
 
13211
  ;;
 
13212
 
11803
13213
irix5* | irix6* | nonstopux*)
11804
13214
  case $host_os in
11805
13215
    nonstopux*) version_type=nonstopux ;;
11843
13253
  ;;
11844
13254
 
11845
13255
# This must be Linux ELF.
11846
 
linux*)
 
13256
linux* | k*bsd*-gnu)
11847
13257
  version_type=linux
11848
13258
  need_lib_prefix=no
11849
13259
  need_version=no
11857
13267
  # before this can be enabled.
11858
13268
  hardcode_into_libs=yes
11859
13269
 
11860
 
  # find out which ABI we are using
11861
 
  libsuff=
11862
 
  case "$host_cpu" in
11863
 
  x86_64*|s390x*|powerpc64*)
11864
 
    echo '#line 11864 "configure"' > conftest.$ac_ext
11865
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11866
 
  (eval $ac_compile) 2>&5
11867
 
  ac_status=$?
11868
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11869
 
  (exit $ac_status); }; then
11870
 
      case `/usr/bin/file conftest.$ac_objext` in
11871
 
      *64-bit*)
11872
 
        libsuff=64
11873
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
11874
 
        ;;
11875
 
      esac
11876
 
    fi
11877
 
    rm -rf conftest*
11878
 
    ;;
11879
 
  esac
11880
 
 
11881
13270
  # Append ld.so.conf contents to the search path
11882
13271
  if test -f /etc/ld.so.conf; then
11883
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11884
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
13272
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
13273
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11885
13274
  fi
11886
13275
 
11887
13276
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11893
13282
  dynamic_linker='GNU/Linux ld.so'
11894
13283
  ;;
11895
13284
 
11896
 
knetbsd*-gnu)
 
13285
netbsdelf*-gnu)
11897
13286
  version_type=linux
11898
13287
  need_lib_prefix=no
11899
13288
  need_version=no
11902
13291
  shlibpath_var=LD_LIBRARY_PATH
11903
13292
  shlibpath_overrides_runpath=no
11904
13293
  hardcode_into_libs=yes
11905
 
  dynamic_linker='GNU ld.so'
 
13294
  dynamic_linker='NetBSD ld.elf_so'
11906
13295
  ;;
11907
13296
 
11908
13297
netbsd*)
11942
13331
 
11943
13332
openbsd*)
11944
13333
  version_type=sunos
 
13334
  sys_lib_dlsearch_path_spec="/usr/lib"
11945
13335
  need_lib_prefix=no
11946
 
  need_version=no
 
13336
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
13337
  case $host_os in
 
13338
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
13339
    *)                         need_version=no  ;;
 
13340
  esac
11947
13341
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11948
13342
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11949
13343
  shlibpath_var=LD_LIBRARY_PATH
11981
13375
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11982
13376
  ;;
11983
13377
 
11984
 
sco3.2v5*)
11985
 
  version_type=osf
11986
 
  soname_spec='${libname}${release}${shared_ext}$major'
11987
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11988
 
  shlibpath_var=LD_LIBRARY_PATH
 
13378
rdos*)
 
13379
  dynamic_linker=no
11989
13380
  ;;
11990
13381
 
11991
13382
solaris*)
12013
13404
  need_version=yes
12014
13405
  ;;
12015
13406
 
12016
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
13407
sysv4 | sysv4.3*)
12017
13408
  version_type=linux
12018
13409
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12019
13410
  soname_spec='${libname}${release}${shared_ext}$major'
12046
13437
  fi
12047
13438
  ;;
12048
13439
 
 
13440
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
13441
  version_type=freebsd-elf
 
13442
  need_lib_prefix=no
 
13443
  need_version=no
 
13444
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
13445
  soname_spec='${libname}${release}${shared_ext}$major'
 
13446
  shlibpath_var=LD_LIBRARY_PATH
 
13447
  hardcode_into_libs=yes
 
13448
  if test "$with_gnu_ld" = yes; then
 
13449
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
13450
    shlibpath_overrides_runpath=no
 
13451
  else
 
13452
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
13453
    shlibpath_overrides_runpath=yes
 
13454
    case $host_os in
 
13455
      sco3.2v5*)
 
13456
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
13457
        ;;
 
13458
    esac
 
13459
  fi
 
13460
  sys_lib_dlsearch_path_spec='/usr/lib'
 
13461
  ;;
 
13462
 
12049
13463
uts4*)
12050
13464
  version_type=linux
12051
13465
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12057
13471
  dynamic_linker=no
12058
13472
  ;;
12059
13473
esac
12060
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12061
 
echo "${ECHO_T}$dynamic_linker" >&6
 
13474
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
13475
echo "${ECHO_T}$dynamic_linker" >&6; }
12062
13476
test "$dynamic_linker" = no && can_build_shared=no
12063
13477
 
12064
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12065
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
13478
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
13479
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13480
else
 
13481
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
13482
fi
 
13483
 
 
13484
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
13485
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
13486
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13487
else
 
13488
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
13489
fi
 
13490
 
 
13491
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
13492
 
 
13493
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
13494
if test "$GCC" = yes; then
 
13495
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
13496
fi
 
13497
 
 
13498
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
13499
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12066
13500
hardcode_action_CXX=
12067
13501
if test -n "$hardcode_libdir_flag_spec_CXX" || \
12068
13502
   test -n "$runpath_var_CXX" || \
12086
13520
  # directories.
12087
13521
  hardcode_action_CXX=unsupported
12088
13522
fi
12089
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12090
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
 
13523
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
13524
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
12091
13525
 
12092
13526
if test "$hardcode_action_CXX" = relink; then
12093
13527
  # Fast installation is not supported
12098
13532
  enable_fast_install=needless
12099
13533
fi
12100
13534
 
12101
 
striplib=
12102
 
old_striplib=
12103
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12104
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
12105
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
12106
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12107
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12108
 
  echo "$as_me:$LINENO: result: yes" >&5
12109
 
echo "${ECHO_T}yes" >&6
12110
 
else
12111
 
# FIXME - insert some real tests, host_os isn't really good enough
12112
 
  case $host_os in
12113
 
   darwin*)
12114
 
       if test -n "$STRIP" ; then
12115
 
         striplib="$STRIP -x"
12116
 
         echo "$as_me:$LINENO: result: yes" >&5
12117
 
echo "${ECHO_T}yes" >&6
12118
 
       else
12119
 
  echo "$as_me:$LINENO: result: no" >&5
12120
 
echo "${ECHO_T}no" >&6
12121
 
fi
12122
 
       ;;
12123
 
   *)
12124
 
  echo "$as_me:$LINENO: result: no" >&5
12125
 
echo "${ECHO_T}no" >&6
12126
 
    ;;
12127
 
  esac
12128
 
fi
12129
 
 
12130
 
if test "x$enable_dlopen" != xyes; then
12131
 
  enable_dlopen=unknown
12132
 
  enable_dlopen_self=unknown
12133
 
  enable_dlopen_self_static=unknown
12134
 
else
12135
 
  lt_cv_dlopen=no
12136
 
  lt_cv_dlopen_libs=
12137
 
 
12138
 
  case $host_os in
12139
 
  beos*)
12140
 
    lt_cv_dlopen="load_add_on"
12141
 
    lt_cv_dlopen_libs=
12142
 
    lt_cv_dlopen_self=yes
12143
 
    ;;
12144
 
 
12145
 
  mingw* | pw32*)
12146
 
    lt_cv_dlopen="LoadLibrary"
12147
 
    lt_cv_dlopen_libs=
12148
 
   ;;
12149
 
 
12150
 
  cygwin*)
12151
 
    lt_cv_dlopen="dlopen"
12152
 
    lt_cv_dlopen_libs=
12153
 
   ;;
12154
 
 
12155
 
  darwin*)
12156
 
  # if libdl is installed we need to link against it
12157
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12158
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12159
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12160
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12161
 
else
12162
 
  ac_check_lib_save_LIBS=$LIBS
12163
 
LIBS="-ldl  $LIBS"
12164
 
cat >conftest.$ac_ext <<_ACEOF
12165
 
/* confdefs.h.  */
12166
 
_ACEOF
12167
 
cat confdefs.h >>conftest.$ac_ext
12168
 
cat >>conftest.$ac_ext <<_ACEOF
12169
 
/* end confdefs.h.  */
12170
 
 
12171
 
/* Override any gcc2 internal prototype to avoid an error.  */
12172
 
#ifdef __cplusplus
12173
 
extern "C"
12174
 
#endif
12175
 
/* We use char because int might match the return type of a gcc2
12176
 
   builtin and then its argument prototype would still apply.  */
12177
 
char dlopen ();
12178
 
int
12179
 
main ()
12180
 
{
12181
 
dlopen ();
12182
 
  ;
12183
 
  return 0;
12184
 
}
12185
 
_ACEOF
12186
 
rm -f conftest.$ac_objext conftest$ac_exeext
12187
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12188
 
  (eval $ac_link) 2>conftest.er1
12189
 
  ac_status=$?
12190
 
  grep -v '^ *+' conftest.er1 >conftest.err
12191
 
  rm -f conftest.er1
12192
 
  cat conftest.err >&5
12193
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12194
 
  (exit $ac_status); } &&
12195
 
         { ac_try='test -z "$ac_cxx_werror_flag"
12196
 
                         || test ! -s conftest.err'
12197
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12198
 
  (eval $ac_try) 2>&5
12199
 
  ac_status=$?
12200
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12201
 
  (exit $ac_status); }; } &&
12202
 
         { ac_try='test -s conftest$ac_exeext'
12203
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12204
 
  (eval $ac_try) 2>&5
12205
 
  ac_status=$?
12206
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12207
 
  (exit $ac_status); }; }; then
12208
 
  ac_cv_lib_dl_dlopen=yes
12209
 
else
12210
 
  echo "$as_me: failed program was:" >&5
12211
 
sed 's/^/| /' conftest.$ac_ext >&5
12212
 
 
12213
 
ac_cv_lib_dl_dlopen=no
12214
 
fi
12215
 
rm -f conftest.err conftest.$ac_objext \
12216
 
      conftest$ac_exeext conftest.$ac_ext
12217
 
LIBS=$ac_check_lib_save_LIBS
12218
 
fi
12219
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12220
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12221
 
if test $ac_cv_lib_dl_dlopen = yes; then
12222
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12223
 
else
12224
 
 
12225
 
    lt_cv_dlopen="dyld"
12226
 
    lt_cv_dlopen_libs=
12227
 
    lt_cv_dlopen_self=yes
12228
 
 
12229
 
fi
12230
 
 
12231
 
   ;;
12232
 
 
12233
 
  *)
12234
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
12235
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
12236
 
if test "${ac_cv_func_shl_load+set}" = set; then
12237
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12238
 
else
12239
 
  cat >conftest.$ac_ext <<_ACEOF
12240
 
/* confdefs.h.  */
12241
 
_ACEOF
12242
 
cat confdefs.h >>conftest.$ac_ext
12243
 
cat >>conftest.$ac_ext <<_ACEOF
12244
 
/* end confdefs.h.  */
12245
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12246
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12247
 
#define shl_load innocuous_shl_load
12248
 
 
12249
 
/* System header to define __stub macros and hopefully few prototypes,
12250
 
    which can conflict with char shl_load (); below.
12251
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12252
 
    <limits.h> exists even on freestanding compilers.  */
12253
 
 
12254
 
#ifdef __STDC__
12255
 
# include <limits.h>
12256
 
#else
12257
 
# include <assert.h>
12258
 
#endif
12259
 
 
12260
 
#undef shl_load
12261
 
 
12262
 
/* Override any gcc2 internal prototype to avoid an error.  */
12263
 
#ifdef __cplusplus
12264
 
extern "C"
12265
 
{
12266
 
#endif
12267
 
/* We use char because int might match the return type of a gcc2
12268
 
   builtin and then its argument prototype would still apply.  */
12269
 
char shl_load ();
12270
 
/* The GNU C library defines this for functions which it implements
12271
 
    to always fail with ENOSYS.  Some functions are actually named
12272
 
    something starting with __ and the normal name is an alias.  */
12273
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
12274
 
choke me
12275
 
#else
12276
 
char (*f) () = shl_load;
12277
 
#endif
12278
 
#ifdef __cplusplus
12279
 
}
12280
 
#endif
12281
 
 
12282
 
int
12283
 
main ()
12284
 
{
12285
 
return f != shl_load;
12286
 
  ;
12287
 
  return 0;
12288
 
}
12289
 
_ACEOF
12290
 
rm -f conftest.$ac_objext conftest$ac_exeext
12291
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12292
 
  (eval $ac_link) 2>conftest.er1
12293
 
  ac_status=$?
12294
 
  grep -v '^ *+' conftest.er1 >conftest.err
12295
 
  rm -f conftest.er1
12296
 
  cat conftest.err >&5
12297
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12298
 
  (exit $ac_status); } &&
12299
 
         { ac_try='test -z "$ac_cxx_werror_flag"
12300
 
                         || test ! -s conftest.err'
12301
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12302
 
  (eval $ac_try) 2>&5
12303
 
  ac_status=$?
12304
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12305
 
  (exit $ac_status); }; } &&
12306
 
         { ac_try='test -s conftest$ac_exeext'
12307
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12308
 
  (eval $ac_try) 2>&5
12309
 
  ac_status=$?
12310
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12311
 
  (exit $ac_status); }; }; then
12312
 
  ac_cv_func_shl_load=yes
12313
 
else
12314
 
  echo "$as_me: failed program was:" >&5
12315
 
sed 's/^/| /' conftest.$ac_ext >&5
12316
 
 
12317
 
ac_cv_func_shl_load=no
12318
 
fi
12319
 
rm -f conftest.err conftest.$ac_objext \
12320
 
      conftest$ac_exeext conftest.$ac_ext
12321
 
fi
12322
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12323
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12324
 
if test $ac_cv_func_shl_load = yes; then
12325
 
  lt_cv_dlopen="shl_load"
12326
 
else
12327
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12328
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12329
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12330
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12331
 
else
12332
 
  ac_check_lib_save_LIBS=$LIBS
12333
 
LIBS="-ldld  $LIBS"
12334
 
cat >conftest.$ac_ext <<_ACEOF
12335
 
/* confdefs.h.  */
12336
 
_ACEOF
12337
 
cat confdefs.h >>conftest.$ac_ext
12338
 
cat >>conftest.$ac_ext <<_ACEOF
12339
 
/* end confdefs.h.  */
12340
 
 
12341
 
/* Override any gcc2 internal prototype to avoid an error.  */
12342
 
#ifdef __cplusplus
12343
 
extern "C"
12344
 
#endif
12345
 
/* We use char because int might match the return type of a gcc2
12346
 
   builtin and then its argument prototype would still apply.  */
12347
 
char shl_load ();
12348
 
int
12349
 
main ()
12350
 
{
12351
 
shl_load ();
12352
 
  ;
12353
 
  return 0;
12354
 
}
12355
 
_ACEOF
12356
 
rm -f conftest.$ac_objext conftest$ac_exeext
12357
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12358
 
  (eval $ac_link) 2>conftest.er1
12359
 
  ac_status=$?
12360
 
  grep -v '^ *+' conftest.er1 >conftest.err
12361
 
  rm -f conftest.er1
12362
 
  cat conftest.err >&5
12363
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364
 
  (exit $ac_status); } &&
12365
 
         { ac_try='test -z "$ac_cxx_werror_flag"
12366
 
                         || test ! -s conftest.err'
12367
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12368
 
  (eval $ac_try) 2>&5
12369
 
  ac_status=$?
12370
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371
 
  (exit $ac_status); }; } &&
12372
 
         { ac_try='test -s conftest$ac_exeext'
12373
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12374
 
  (eval $ac_try) 2>&5
12375
 
  ac_status=$?
12376
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12377
 
  (exit $ac_status); }; }; then
12378
 
  ac_cv_lib_dld_shl_load=yes
12379
 
else
12380
 
  echo "$as_me: failed program was:" >&5
12381
 
sed 's/^/| /' conftest.$ac_ext >&5
12382
 
 
12383
 
ac_cv_lib_dld_shl_load=no
12384
 
fi
12385
 
rm -f conftest.err conftest.$ac_objext \
12386
 
      conftest$ac_exeext conftest.$ac_ext
12387
 
LIBS=$ac_check_lib_save_LIBS
12388
 
fi
12389
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12390
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12391
 
if test $ac_cv_lib_dld_shl_load = yes; then
12392
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12393
 
else
12394
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
12395
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12396
 
if test "${ac_cv_func_dlopen+set}" = set; then
12397
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12398
 
else
12399
 
  cat >conftest.$ac_ext <<_ACEOF
12400
 
/* confdefs.h.  */
12401
 
_ACEOF
12402
 
cat confdefs.h >>conftest.$ac_ext
12403
 
cat >>conftest.$ac_ext <<_ACEOF
12404
 
/* end confdefs.h.  */
12405
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12406
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12407
 
#define dlopen innocuous_dlopen
12408
 
 
12409
 
/* System header to define __stub macros and hopefully few prototypes,
12410
 
    which can conflict with char dlopen (); below.
12411
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12412
 
    <limits.h> exists even on freestanding compilers.  */
12413
 
 
12414
 
#ifdef __STDC__
12415
 
# include <limits.h>
12416
 
#else
12417
 
# include <assert.h>
12418
 
#endif
12419
 
 
12420
 
#undef dlopen
12421
 
 
12422
 
/* Override any gcc2 internal prototype to avoid an error.  */
12423
 
#ifdef __cplusplus
12424
 
extern "C"
12425
 
{
12426
 
#endif
12427
 
/* We use char because int might match the return type of a gcc2
12428
 
   builtin and then its argument prototype would still apply.  */
12429
 
char dlopen ();
12430
 
/* The GNU C library defines this for functions which it implements
12431
 
    to always fail with ENOSYS.  Some functions are actually named
12432
 
    something starting with __ and the normal name is an alias.  */
12433
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
12434
 
choke me
12435
 
#else
12436
 
char (*f) () = dlopen;
12437
 
#endif
12438
 
#ifdef __cplusplus
12439
 
}
12440
 
#endif
12441
 
 
12442
 
int
12443
 
main ()
12444
 
{
12445
 
return f != dlopen;
12446
 
  ;
12447
 
  return 0;
12448
 
}
12449
 
_ACEOF
12450
 
rm -f conftest.$ac_objext conftest$ac_exeext
12451
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12452
 
  (eval $ac_link) 2>conftest.er1
12453
 
  ac_status=$?
12454
 
  grep -v '^ *+' conftest.er1 >conftest.err
12455
 
  rm -f conftest.er1
12456
 
  cat conftest.err >&5
12457
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12458
 
  (exit $ac_status); } &&
12459
 
         { ac_try='test -z "$ac_cxx_werror_flag"
12460
 
                         || test ! -s conftest.err'
12461
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12462
 
  (eval $ac_try) 2>&5
12463
 
  ac_status=$?
12464
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465
 
  (exit $ac_status); }; } &&
12466
 
         { ac_try='test -s conftest$ac_exeext'
12467
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12468
 
  (eval $ac_try) 2>&5
12469
 
  ac_status=$?
12470
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12471
 
  (exit $ac_status); }; }; then
12472
 
  ac_cv_func_dlopen=yes
12473
 
else
12474
 
  echo "$as_me: failed program was:" >&5
12475
 
sed 's/^/| /' conftest.$ac_ext >&5
12476
 
 
12477
 
ac_cv_func_dlopen=no
12478
 
fi
12479
 
rm -f conftest.err conftest.$ac_objext \
12480
 
      conftest$ac_exeext conftest.$ac_ext
12481
 
fi
12482
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12483
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12484
 
if test $ac_cv_func_dlopen = yes; then
12485
 
  lt_cv_dlopen="dlopen"
12486
 
else
12487
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12488
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12489
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12490
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12491
 
else
12492
 
  ac_check_lib_save_LIBS=$LIBS
12493
 
LIBS="-ldl  $LIBS"
12494
 
cat >conftest.$ac_ext <<_ACEOF
12495
 
/* confdefs.h.  */
12496
 
_ACEOF
12497
 
cat confdefs.h >>conftest.$ac_ext
12498
 
cat >>conftest.$ac_ext <<_ACEOF
12499
 
/* end confdefs.h.  */
12500
 
 
12501
 
/* Override any gcc2 internal prototype to avoid an error.  */
12502
 
#ifdef __cplusplus
12503
 
extern "C"
12504
 
#endif
12505
 
/* We use char because int might match the return type of a gcc2
12506
 
   builtin and then its argument prototype would still apply.  */
12507
 
char dlopen ();
12508
 
int
12509
 
main ()
12510
 
{
12511
 
dlopen ();
12512
 
  ;
12513
 
  return 0;
12514
 
}
12515
 
_ACEOF
12516
 
rm -f conftest.$ac_objext conftest$ac_exeext
12517
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12518
 
  (eval $ac_link) 2>conftest.er1
12519
 
  ac_status=$?
12520
 
  grep -v '^ *+' conftest.er1 >conftest.err
12521
 
  rm -f conftest.er1
12522
 
  cat conftest.err >&5
12523
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12524
 
  (exit $ac_status); } &&
12525
 
         { ac_try='test -z "$ac_cxx_werror_flag"
12526
 
                         || test ! -s conftest.err'
12527
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12528
 
  (eval $ac_try) 2>&5
12529
 
  ac_status=$?
12530
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12531
 
  (exit $ac_status); }; } &&
12532
 
         { ac_try='test -s conftest$ac_exeext'
12533
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12534
 
  (eval $ac_try) 2>&5
12535
 
  ac_status=$?
12536
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12537
 
  (exit $ac_status); }; }; then
12538
 
  ac_cv_lib_dl_dlopen=yes
12539
 
else
12540
 
  echo "$as_me: failed program was:" >&5
12541
 
sed 's/^/| /' conftest.$ac_ext >&5
12542
 
 
12543
 
ac_cv_lib_dl_dlopen=no
12544
 
fi
12545
 
rm -f conftest.err conftest.$ac_objext \
12546
 
      conftest$ac_exeext conftest.$ac_ext
12547
 
LIBS=$ac_check_lib_save_LIBS
12548
 
fi
12549
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12550
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12551
 
if test $ac_cv_lib_dl_dlopen = yes; then
12552
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12553
 
else
12554
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12555
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12556
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12557
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12558
 
else
12559
 
  ac_check_lib_save_LIBS=$LIBS
12560
 
LIBS="-lsvld  $LIBS"
12561
 
cat >conftest.$ac_ext <<_ACEOF
12562
 
/* confdefs.h.  */
12563
 
_ACEOF
12564
 
cat confdefs.h >>conftest.$ac_ext
12565
 
cat >>conftest.$ac_ext <<_ACEOF
12566
 
/* end confdefs.h.  */
12567
 
 
12568
 
/* Override any gcc2 internal prototype to avoid an error.  */
12569
 
#ifdef __cplusplus
12570
 
extern "C"
12571
 
#endif
12572
 
/* We use char because int might match the return type of a gcc2
12573
 
   builtin and then its argument prototype would still apply.  */
12574
 
char dlopen ();
12575
 
int
12576
 
main ()
12577
 
{
12578
 
dlopen ();
12579
 
  ;
12580
 
  return 0;
12581
 
}
12582
 
_ACEOF
12583
 
rm -f conftest.$ac_objext conftest$ac_exeext
12584
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12585
 
  (eval $ac_link) 2>conftest.er1
12586
 
  ac_status=$?
12587
 
  grep -v '^ *+' conftest.er1 >conftest.err
12588
 
  rm -f conftest.er1
12589
 
  cat conftest.err >&5
12590
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591
 
  (exit $ac_status); } &&
12592
 
         { ac_try='test -z "$ac_cxx_werror_flag"
12593
 
                         || test ! -s conftest.err'
12594
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12595
 
  (eval $ac_try) 2>&5
12596
 
  ac_status=$?
12597
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598
 
  (exit $ac_status); }; } &&
12599
 
         { ac_try='test -s conftest$ac_exeext'
12600
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12601
 
  (eval $ac_try) 2>&5
12602
 
  ac_status=$?
12603
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604
 
  (exit $ac_status); }; }; then
12605
 
  ac_cv_lib_svld_dlopen=yes
12606
 
else
12607
 
  echo "$as_me: failed program was:" >&5
12608
 
sed 's/^/| /' conftest.$ac_ext >&5
12609
 
 
12610
 
ac_cv_lib_svld_dlopen=no
12611
 
fi
12612
 
rm -f conftest.err conftest.$ac_objext \
12613
 
      conftest$ac_exeext conftest.$ac_ext
12614
 
LIBS=$ac_check_lib_save_LIBS
12615
 
fi
12616
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12617
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12618
 
if test $ac_cv_lib_svld_dlopen = yes; then
12619
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12620
 
else
12621
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12622
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12623
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12624
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12625
 
else
12626
 
  ac_check_lib_save_LIBS=$LIBS
12627
 
LIBS="-ldld  $LIBS"
12628
 
cat >conftest.$ac_ext <<_ACEOF
12629
 
/* confdefs.h.  */
12630
 
_ACEOF
12631
 
cat confdefs.h >>conftest.$ac_ext
12632
 
cat >>conftest.$ac_ext <<_ACEOF
12633
 
/* end confdefs.h.  */
12634
 
 
12635
 
/* Override any gcc2 internal prototype to avoid an error.  */
12636
 
#ifdef __cplusplus
12637
 
extern "C"
12638
 
#endif
12639
 
/* We use char because int might match the return type of a gcc2
12640
 
   builtin and then its argument prototype would still apply.  */
12641
 
char dld_link ();
12642
 
int
12643
 
main ()
12644
 
{
12645
 
dld_link ();
12646
 
  ;
12647
 
  return 0;
12648
 
}
12649
 
_ACEOF
12650
 
rm -f conftest.$ac_objext conftest$ac_exeext
12651
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12652
 
  (eval $ac_link) 2>conftest.er1
12653
 
  ac_status=$?
12654
 
  grep -v '^ *+' conftest.er1 >conftest.err
12655
 
  rm -f conftest.er1
12656
 
  cat conftest.err >&5
12657
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12658
 
  (exit $ac_status); } &&
12659
 
         { ac_try='test -z "$ac_cxx_werror_flag"
12660
 
                         || test ! -s conftest.err'
12661
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12662
 
  (eval $ac_try) 2>&5
12663
 
  ac_status=$?
12664
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12665
 
  (exit $ac_status); }; } &&
12666
 
         { ac_try='test -s conftest$ac_exeext'
12667
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12668
 
  (eval $ac_try) 2>&5
12669
 
  ac_status=$?
12670
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671
 
  (exit $ac_status); }; }; then
12672
 
  ac_cv_lib_dld_dld_link=yes
12673
 
else
12674
 
  echo "$as_me: failed program was:" >&5
12675
 
sed 's/^/| /' conftest.$ac_ext >&5
12676
 
 
12677
 
ac_cv_lib_dld_dld_link=no
12678
 
fi
12679
 
rm -f conftest.err conftest.$ac_objext \
12680
 
      conftest$ac_exeext conftest.$ac_ext
12681
 
LIBS=$ac_check_lib_save_LIBS
12682
 
fi
12683
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12684
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12685
 
if test $ac_cv_lib_dld_dld_link = yes; then
12686
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12687
 
fi
12688
 
 
12689
 
 
12690
 
fi
12691
 
 
12692
 
 
12693
 
fi
12694
 
 
12695
 
 
12696
 
fi
12697
 
 
12698
 
 
12699
 
fi
12700
 
 
12701
 
 
12702
 
fi
12703
 
 
12704
 
    ;;
12705
 
  esac
12706
 
 
12707
 
  if test "x$lt_cv_dlopen" != xno; then
12708
 
    enable_dlopen=yes
12709
 
  else
12710
 
    enable_dlopen=no
12711
 
  fi
12712
 
 
12713
 
  case $lt_cv_dlopen in
12714
 
  dlopen)
12715
 
    save_CPPFLAGS="$CPPFLAGS"
12716
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12717
 
 
12718
 
    save_LDFLAGS="$LDFLAGS"
12719
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12720
 
 
12721
 
    save_LIBS="$LIBS"
12722
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
12723
 
 
12724
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12725
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12726
 
if test "${lt_cv_dlopen_self+set}" = set; then
12727
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12728
 
else
12729
 
          if test "$cross_compiling" = yes; then :
12730
 
  lt_cv_dlopen_self=cross
12731
 
else
12732
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12733
 
  lt_status=$lt_dlunknown
12734
 
  cat > conftest.$ac_ext <<EOF
12735
 
#line 12735 "configure"
12736
 
#include "confdefs.h"
12737
 
 
12738
 
#if HAVE_DLFCN_H
12739
 
#include <dlfcn.h>
12740
 
#endif
12741
 
 
12742
 
#include <stdio.h>
12743
 
 
12744
 
#ifdef RTLD_GLOBAL
12745
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12746
 
#else
12747
 
#  ifdef DL_GLOBAL
12748
 
#    define LT_DLGLOBAL         DL_GLOBAL
12749
 
#  else
12750
 
#    define LT_DLGLOBAL         0
12751
 
#  endif
12752
 
#endif
12753
 
 
12754
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12755
 
   find out it does not work in some platform. */
12756
 
#ifndef LT_DLLAZY_OR_NOW
12757
 
#  ifdef RTLD_LAZY
12758
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12759
 
#  else
12760
 
#    ifdef DL_LAZY
12761
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12762
 
#    else
12763
 
#      ifdef RTLD_NOW
12764
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12765
 
#      else
12766
 
#        ifdef DL_NOW
12767
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12768
 
#        else
12769
 
#          define LT_DLLAZY_OR_NOW      0
12770
 
#        endif
12771
 
#      endif
12772
 
#    endif
12773
 
#  endif
12774
 
#endif
12775
 
 
12776
 
#ifdef __cplusplus
12777
 
extern "C" void exit (int);
12778
 
#endif
12779
 
 
12780
 
void fnord() { int i=42;}
12781
 
int main ()
12782
 
{
12783
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12784
 
  int status = $lt_dlunknown;
12785
 
 
12786
 
  if (self)
12787
 
    {
12788
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12789
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12790
 
      /* dlclose (self); */
12791
 
    }
12792
 
 
12793
 
    exit (status);
12794
 
}
12795
 
EOF
12796
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12797
 
  (eval $ac_link) 2>&5
12798
 
  ac_status=$?
12799
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12800
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12801
 
    (./conftest; exit; ) 2>/dev/null
12802
 
    lt_status=$?
12803
 
    case x$lt_status in
12804
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12805
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12806
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12807
 
    esac
12808
 
  else :
12809
 
    # compilation failed
12810
 
    lt_cv_dlopen_self=no
12811
 
  fi
12812
 
fi
12813
 
rm -fr conftest*
12814
 
 
12815
 
 
12816
 
fi
12817
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12818
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12819
 
 
12820
 
    if test "x$lt_cv_dlopen_self" = xyes; then
12821
 
      LDFLAGS="$LDFLAGS $link_static_flag"
12822
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12823
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12824
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
12825
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12826
 
else
12827
 
          if test "$cross_compiling" = yes; then :
12828
 
  lt_cv_dlopen_self_static=cross
12829
 
else
12830
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12831
 
  lt_status=$lt_dlunknown
12832
 
  cat > conftest.$ac_ext <<EOF
12833
 
#line 12833 "configure"
12834
 
#include "confdefs.h"
12835
 
 
12836
 
#if HAVE_DLFCN_H
12837
 
#include <dlfcn.h>
12838
 
#endif
12839
 
 
12840
 
#include <stdio.h>
12841
 
 
12842
 
#ifdef RTLD_GLOBAL
12843
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12844
 
#else
12845
 
#  ifdef DL_GLOBAL
12846
 
#    define LT_DLGLOBAL         DL_GLOBAL
12847
 
#  else
12848
 
#    define LT_DLGLOBAL         0
12849
 
#  endif
12850
 
#endif
12851
 
 
12852
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12853
 
   find out it does not work in some platform. */
12854
 
#ifndef LT_DLLAZY_OR_NOW
12855
 
#  ifdef RTLD_LAZY
12856
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12857
 
#  else
12858
 
#    ifdef DL_LAZY
12859
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12860
 
#    else
12861
 
#      ifdef RTLD_NOW
12862
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12863
 
#      else
12864
 
#        ifdef DL_NOW
12865
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12866
 
#        else
12867
 
#          define LT_DLLAZY_OR_NOW      0
12868
 
#        endif
12869
 
#      endif
12870
 
#    endif
12871
 
#  endif
12872
 
#endif
12873
 
 
12874
 
#ifdef __cplusplus
12875
 
extern "C" void exit (int);
12876
 
#endif
12877
 
 
12878
 
void fnord() { int i=42;}
12879
 
int main ()
12880
 
{
12881
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12882
 
  int status = $lt_dlunknown;
12883
 
 
12884
 
  if (self)
12885
 
    {
12886
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12887
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12888
 
      /* dlclose (self); */
12889
 
    }
12890
 
 
12891
 
    exit (status);
12892
 
}
12893
 
EOF
12894
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12895
 
  (eval $ac_link) 2>&5
12896
 
  ac_status=$?
12897
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12898
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12899
 
    (./conftest; exit; ) 2>/dev/null
12900
 
    lt_status=$?
12901
 
    case x$lt_status in
12902
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12903
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12904
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12905
 
    esac
12906
 
  else :
12907
 
    # compilation failed
12908
 
    lt_cv_dlopen_self_static=no
12909
 
  fi
12910
 
fi
12911
 
rm -fr conftest*
12912
 
 
12913
 
 
12914
 
fi
12915
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12916
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12917
 
    fi
12918
 
 
12919
 
    CPPFLAGS="$save_CPPFLAGS"
12920
 
    LDFLAGS="$save_LDFLAGS"
12921
 
    LIBS="$save_LIBS"
12922
 
    ;;
12923
 
  esac
12924
 
 
12925
 
  case $lt_cv_dlopen_self in
12926
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12927
 
  *) enable_dlopen_self=unknown ;;
12928
 
  esac
12929
 
 
12930
 
  case $lt_cv_dlopen_self_static in
12931
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12932
 
  *) enable_dlopen_self_static=unknown ;;
12933
 
  esac
12934
 
fi
12935
 
 
12936
13535
 
12937
13536
# The else clause should only fire when bootstrapping the
12938
13537
# libtool distribution, otherwise you forgot to ship ltmain.sh
12947
13546
  # Now quote all the things that may contain metacharacters while being
12948
13547
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
12949
13548
  # variables and quote the copies for generation of the libtool script.
12950
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
13549
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12951
13550
    SED SHELL STRIP \
12952
13551
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12953
13552
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12974
13573
    predeps_CXX \
12975
13574
    postdeps_CXX \
12976
13575
    compiler_lib_search_path_CXX \
 
13576
    compiler_lib_search_dirs_CXX \
12977
13577
    archive_cmds_CXX \
12978
13578
    archive_expsym_cmds_CXX \
12979
13579
    postinstall_cmds_CXX \
12989
13589
    module_cmds_CXX \
12990
13590
    module_expsym_cmds_CXX \
12991
13591
    lt_cv_prog_compiler_c_o_CXX \
 
13592
    fix_srcfile_path_CXX \
12992
13593
    exclude_expsyms_CXX \
12993
13594
    include_expsyms_CXX; do
12994
13595
 
13065
13666
# A C compiler.
13066
13667
LTCC=$lt_LTCC
13067
13668
 
 
13669
# LTCC compiler flags.
 
13670
LTCFLAGS=$lt_LTCFLAGS
 
13671
 
13068
13672
# A language-specific compiler.
13069
13673
CC=$lt_compiler_CXX
13070
13674
 
13218
13822
# shared library.
13219
13823
postdeps=$lt_postdeps_CXX
13220
13824
 
 
13825
# The directories searched by this compiler when creating a shared
 
13826
# library
 
13827
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
13828
 
13221
13829
# The library search path used internally by the compiler when linking
13222
13830
# a shared library.
13223
13831
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13306
13914
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13307
13915
 
13308
13916
# Fix the shell variable \$srcfile for the compiler.
13309
 
fix_srcfile_path="$fix_srcfile_path_CXX"
 
13917
fix_srcfile_path=$lt_fix_srcfile_path
13310
13918
 
13311
13919
# Set to yes if exported symbols are required.
13312
13920
always_export_symbols=$always_export_symbols_CXX
13339
13947
fi
13340
13948
 
13341
13949
 
13342
 
ac_ext=cc
 
13950
ac_ext=cpp
13343
13951
ac_cpp='$CXXCPP $CPPFLAGS'
13344
13952
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13345
13953
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13397
14005
objext_F77=$objext
13398
14006
 
13399
14007
# Code to be used in simple compile tests
13400
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
 
14008
lt_simple_compile_test_code="\
 
14009
      subroutine t
 
14010
      return
 
14011
      end
 
14012
"
13401
14013
 
13402
14014
# Code to be used in simple link tests
13403
 
lt_simple_link_test_code="      program t\n      end\n"
 
14015
lt_simple_link_test_code="\
 
14016
      program t
 
14017
      end
 
14018
"
13404
14019
 
13405
14020
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13406
14021
 
13407
14022
# If no C compiler was specified, use CC.
13408
14023
LTCC=${LTCC-"$CC"}
13409
14024
 
 
14025
# If no C compiler flags were specified, use CFLAGS.
 
14026
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
14027
 
13410
14028
# Allow CC to be a program name with arguments.
13411
14029
compiler=$CC
13412
14030
 
13413
14031
 
13414
14032
# save warnings/boilerplate of simple test code
13415
14033
ac_outfile=conftest.$ac_objext
13416
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
13417
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
14034
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
14035
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13418
14036
_lt_compiler_boilerplate=`cat conftest.err`
13419
14037
$rm conftest*
13420
14038
 
13421
14039
ac_outfile=conftest.$ac_objext
13422
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
13423
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
14040
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
14041
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13424
14042
_lt_linker_boilerplate=`cat conftest.err`
13425
 
$rm conftest*
 
14043
$rm -r conftest*
13426
14044
 
13427
14045
 
13428
14046
# Allow CC to be a program name with arguments.
13441
14059
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13442
14060
 
13443
14061
 
13444
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13445
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13446
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
13447
 
echo "${ECHO_T}$can_build_shared" >&6
 
14062
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
14063
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
14064
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
14065
echo "${ECHO_T}$can_build_shared" >&6; }
13448
14066
 
13449
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13450
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
14067
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
14068
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13451
14069
test "$can_build_shared" = "no" && enable_shared=no
13452
14070
 
13453
14071
# On AIX, shared libraries and static libraries use the same namespace, and
13454
14072
# are all built from PIC.
13455
 
case "$host_os" in
 
14073
case $host_os in
13456
14074
aix3*)
13457
14075
  test "$enable_shared" = yes && enable_static=no
13458
14076
  if test -n "$RANLIB"; then
13460
14078
    postinstall_cmds='$RANLIB $lib'
13461
14079
  fi
13462
14080
  ;;
13463
 
aix4* | aix5*)
 
14081
aix[4-9]*)
13464
14082
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13465
14083
    test "$enable_shared" = yes && enable_static=no
13466
14084
  fi
13467
14085
  ;;
13468
14086
esac
13469
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
13470
 
echo "${ECHO_T}$enable_shared" >&6
 
14087
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
14088
echo "${ECHO_T}$enable_shared" >&6; }
13471
14089
 
13472
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13473
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
14090
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
14091
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13474
14092
# Make sure either enable_shared or enable_static is yes.
13475
14093
test "$enable_shared" = yes || enable_static=yes
13476
 
echo "$as_me:$LINENO: result: $enable_static" >&5
13477
 
echo "${ECHO_T}$enable_static" >&6
13478
 
 
13479
 
test "$ld_shlibs_F77" = no && can_build_shared=no
 
14094
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
14095
echo "${ECHO_T}$enable_static" >&6; }
13480
14096
 
13481
14097
GCC_F77="$G77"
13482
14098
LD_F77="$LD"
13485
14101
lt_prog_compiler_pic_F77=
13486
14102
lt_prog_compiler_static_F77=
13487
14103
 
13488
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13489
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
14104
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
14105
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13490
14106
 
13491
14107
  if test "$GCC" = yes; then
13492
14108
    lt_prog_compiler_wl_F77='-Wl,'
13508
14124
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
13509
14125
      ;;
13510
14126
 
13511
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
14127
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13512
14128
      # PIC is the default for these OSes.
13513
14129
      ;;
13514
14130
 
13515
 
    mingw* | pw32* | os2*)
 
14131
    mingw* | cygwin* | pw32* | os2*)
13516
14132
      # This hack is so that the source file can tell whether it is being
13517
14133
      # built for inclusion in a dll (and should export symbols for example).
 
14134
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
14135
      # (--disable-auto-import) libraries
13518
14136
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13519
14137
      ;;
13520
14138
 
13524
14142
      lt_prog_compiler_pic_F77='-fno-common'
13525
14143
      ;;
13526
14144
 
 
14145
    interix[3-9]*)
 
14146
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
14147
      # Instead, we relocate shared libraries at runtime.
 
14148
      ;;
 
14149
 
13527
14150
    msdosdjgpp*)
13528
14151
      # Just because we use GCC doesn't mean we suddenly get shared libraries
13529
14152
      # on systems that don't support them.
13540
14163
    hpux*)
13541
14164
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13542
14165
      # not for PA HP-UX.
13543
 
      case "$host_cpu" in
 
14166
      case $host_cpu in
13544
14167
      hppa*64*|ia64*)
13545
14168
        # +Z the default
13546
14169
        ;;
13577
14200
       esac
13578
14201
       ;;
13579
14202
 
13580
 
    mingw* | pw32* | os2*)
 
14203
    mingw* | cygwin* | pw32* | os2*)
13581
14204
      # This hack is so that the source file can tell whether it is being
13582
14205
      # built for inclusion in a dll (and should export symbols for example).
13583
14206
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13587
14210
      lt_prog_compiler_wl_F77='-Wl,'
13588
14211
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13589
14212
      # not for PA HP-UX.
13590
 
      case "$host_cpu" in
 
14213
      case $host_cpu in
13591
14214
      hppa*64*|ia64*)
13592
14215
        # +Z the default
13593
14216
        ;;
13610
14233
      lt_prog_compiler_static_F77='-Bstatic'
13611
14234
      ;;
13612
14235
 
13613
 
    linux*)
 
14236
    linux* | k*bsd*-gnu)
13614
14237
      case $cc_basename in
13615
14238
      icc* | ecc*)
13616
14239
        lt_prog_compiler_wl_F77='-Wl,'
13617
14240
        lt_prog_compiler_pic_F77='-KPIC'
13618
14241
        lt_prog_compiler_static_F77='-static'
13619
14242
        ;;
13620
 
      pgcc* | pgf77* | pgf90*)
 
14243
      pgcc* | pgf77* | pgf90* | pgf95*)
13621
14244
        # Portland Group compilers (*not* the Pentium gcc compiler,
13622
14245
        # which looks to be a dead project)
13623
14246
        lt_prog_compiler_wl_F77='-Wl,'
13624
14247
        lt_prog_compiler_pic_F77='-fpic'
13625
 
        lt_prog_compiler_static_F77='-static'
 
14248
        lt_prog_compiler_static_F77='-Bstatic'
13626
14249
        ;;
13627
14250
      ccc*)
13628
14251
        lt_prog_compiler_wl_F77='-Wl,'
13629
14252
        # All Alpha code is PIC.
13630
14253
        lt_prog_compiler_static_F77='-non_shared'
13631
14254
        ;;
 
14255
      *)
 
14256
        case `$CC -V 2>&1 | sed 5q` in
 
14257
        *Sun\ C*)
 
14258
          # Sun C 5.9
 
14259
          lt_prog_compiler_pic_F77='-KPIC'
 
14260
          lt_prog_compiler_static_F77='-Bstatic'
 
14261
          lt_prog_compiler_wl_F77='-Wl,'
 
14262
          ;;
 
14263
        *Sun\ F*)
 
14264
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
14265
          lt_prog_compiler_pic_F77='-KPIC'
 
14266
          lt_prog_compiler_static_F77='-Bstatic'
 
14267
          lt_prog_compiler_wl_F77=''
 
14268
          ;;
 
14269
        esac
 
14270
        ;;
13632
14271
      esac
13633
14272
      ;;
13634
14273
 
13638
14277
      lt_prog_compiler_static_F77='-non_shared'
13639
14278
      ;;
13640
14279
 
13641
 
    sco3.2v5*)
13642
 
      lt_prog_compiler_pic_F77='-Kpic'
13643
 
      lt_prog_compiler_static_F77='-dn'
 
14280
    rdos*)
 
14281
      lt_prog_compiler_static_F77='-non_shared'
13644
14282
      ;;
13645
14283
 
13646
14284
    solaris*)
13660
14298
      lt_prog_compiler_static_F77='-Bstatic'
13661
14299
      ;;
13662
14300
 
13663
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
14301
    sysv4 | sysv4.2uw2* | sysv4.3*)
13664
14302
      lt_prog_compiler_wl_F77='-Wl,'
13665
14303
      lt_prog_compiler_pic_F77='-KPIC'
13666
14304
      lt_prog_compiler_static_F77='-Bstatic'
13673
14311
      fi
13674
14312
      ;;
13675
14313
 
 
14314
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
14315
      lt_prog_compiler_wl_F77='-Wl,'
 
14316
      lt_prog_compiler_pic_F77='-KPIC'
 
14317
      lt_prog_compiler_static_F77='-Bstatic'
 
14318
      ;;
 
14319
 
13676
14320
    unicos*)
13677
14321
      lt_prog_compiler_wl_F77='-Wl,'
13678
14322
      lt_prog_compiler_can_build_shared_F77=no
13689
14333
    esac
13690
14334
  fi
13691
14335
 
13692
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13693
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 
14336
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
14337
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13694
14338
 
13695
14339
#
13696
14340
# Check to make sure the PIC flag actually works.
13697
14341
#
13698
14342
if test -n "$lt_prog_compiler_pic_F77"; then
13699
14343
 
13700
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13701
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13702
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
 
14344
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
14345
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
 
14346
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
13703
14347
  echo $ECHO_N "(cached) $ECHO_C" >&6
13704
14348
else
13705
 
  lt_prog_compiler_pic_works_F77=no
 
14349
  lt_cv_prog_compiler_pic_works_F77=no
13706
14350
  ac_outfile=conftest.$ac_objext
13707
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14351
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13708
14352
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
13709
14353
   # Insert the option either (1) after the last *FLAGS variable, or
13710
14354
   # (2) before a word containing "conftest.", or (3) at the end.
13712
14356
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13713
14357
   # The option is referenced via a variable to avoid confusing sed.
13714
14358
   lt_compile=`echo "$ac_compile" | $SED \
13715
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
14359
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13716
14360
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13717
14361
   -e 's:$: $lt_compiler_flag:'`
13718
 
   (eval echo "\"\$as_me:13718: $lt_compile\"" >&5)
 
14362
   (eval echo "\"\$as_me:14362: $lt_compile\"" >&5)
13719
14363
   (eval "$lt_compile" 2>conftest.err)
13720
14364
   ac_status=$?
13721
14365
   cat conftest.err >&5
13722
 
   echo "$as_me:13722: \$? = $ac_status" >&5
 
14366
   echo "$as_me:14366: \$? = $ac_status" >&5
13723
14367
   if (exit $ac_status) && test -s "$ac_outfile"; then
13724
14368
     # The compiler can only warn and ignore the option if not recognized
13725
14369
     # So say no if there are warnings other than the usual output.
13726
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
13727
 
     $SED '/^$/d' conftest.err >conftest.er2
13728
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
13729
 
       lt_prog_compiler_pic_works_F77=yes
 
14370
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
14371
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
14372
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
14373
       lt_cv_prog_compiler_pic_works_F77=yes
13730
14374
     fi
13731
14375
   fi
13732
14376
   $rm conftest*
13733
14377
 
13734
14378
fi
13735
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13736
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 
14379
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
 
14380
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
13737
14381
 
13738
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
 
14382
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
13739
14383
    case $lt_prog_compiler_pic_F77 in
13740
14384
     "" | " "*) ;;
13741
14385
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13746
14390
fi
13747
14391
 
13748
14392
fi
13749
 
case "$host_os" in
 
14393
case $host_os in
13750
14394
  # For platforms which do not support PIC, -DPIC is meaningless:
13751
14395
  *djgpp*)
13752
14396
    lt_prog_compiler_pic_F77=
13756
14400
    ;;
13757
14401
esac
13758
14402
 
13759
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13760
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
14403
#
 
14404
# Check to make sure the static flag actually works.
 
14405
#
 
14406
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
 
14407
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
14408
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
14409
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
 
14410
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14411
else
 
14412
  lt_cv_prog_compiler_static_works_F77=no
 
14413
   save_LDFLAGS="$LDFLAGS"
 
14414
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
14415
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
14416
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
14417
     # The linker can only warn and ignore the option if not recognized
 
14418
     # So say no if there are warnings
 
14419
     if test -s conftest.err; then
 
14420
       # Append any errors to the config.log.
 
14421
       cat conftest.err 1>&5
 
14422
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
14423
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
14424
       if diff conftest.exp conftest.er2 >/dev/null; then
 
14425
         lt_cv_prog_compiler_static_works_F77=yes
 
14426
       fi
 
14427
     else
 
14428
       lt_cv_prog_compiler_static_works_F77=yes
 
14429
     fi
 
14430
   fi
 
14431
   $rm -r conftest*
 
14432
   LDFLAGS="$save_LDFLAGS"
 
14433
 
 
14434
fi
 
14435
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
 
14436
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
 
14437
 
 
14438
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
 
14439
    :
 
14440
else
 
14441
    lt_prog_compiler_static_F77=
 
14442
fi
 
14443
 
 
14444
 
 
14445
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14446
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13761
14447
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13762
14448
  echo $ECHO_N "(cached) $ECHO_C" >&6
13763
14449
else
13766
14452
   mkdir conftest
13767
14453
   cd conftest
13768
14454
   mkdir out
13769
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14455
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13770
14456
 
13771
14457
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13772
14458
   # Insert the option either (1) after the last *FLAGS variable, or
13774
14460
   # Note that $ac_compile itself does not contain backslashes and begins
13775
14461
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13776
14462
   lt_compile=`echo "$ac_compile" | $SED \
13777
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
14463
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13778
14464
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13779
14465
   -e 's:$: $lt_compiler_flag:'`
13780
 
   (eval echo "\"\$as_me:13780: $lt_compile\"" >&5)
 
14466
   (eval echo "\"\$as_me:14466: $lt_compile\"" >&5)
13781
14467
   (eval "$lt_compile" 2>out/conftest.err)
13782
14468
   ac_status=$?
13783
14469
   cat out/conftest.err >&5
13784
 
   echo "$as_me:13784: \$? = $ac_status" >&5
 
14470
   echo "$as_me:14470: \$? = $ac_status" >&5
13785
14471
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13786
14472
   then
13787
14473
     # The compiler can only warn and ignore the option if not recognized
13788
14474
     # So say no if there are warnings
13789
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
13790
 
     $SED '/^$/d' out/conftest.err >out/conftest.er2
13791
 
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
14475
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
14476
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
14477
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13792
14478
       lt_cv_prog_compiler_c_o_F77=yes
13793
14479
     fi
13794
14480
   fi
13795
 
   chmod u+w .
 
14481
   chmod u+w . 2>&5
13796
14482
   $rm conftest*
13797
14483
   # SGI C++ compiler will create directory out/ii_files/ for
13798
14484
   # template instantiation
13803
14489
   $rm conftest*
13804
14490
 
13805
14491
fi
13806
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13807
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 
14492
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
14493
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
13808
14494
 
13809
14495
 
13810
14496
hard_links="nottested"
13811
14497
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13812
14498
  # do not overwrite the value of need_locks provided by the user
13813
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13814
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
14499
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
14500
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13815
14501
  hard_links=yes
13816
14502
  $rm conftest*
13817
14503
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13818
14504
  touch conftest.a
13819
14505
  ln conftest.a conftest.b 2>&5 || hard_links=no
13820
14506
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13821
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
13822
 
echo "${ECHO_T}$hard_links" >&6
 
14507
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
14508
echo "${ECHO_T}$hard_links" >&6; }
13823
14509
  if test "$hard_links" = no; then
13824
14510
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13825
14511
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13829
14515
  need_locks=no
13830
14516
fi
13831
14517
 
13832
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13833
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
14518
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14519
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13834
14520
 
13835
14521
  runpath_var=
13836
14522
  allow_undefined_flag_F77=
13861
14547
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
13862
14548
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13863
14549
  # as well as any symbol that contains `d'.
13864
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
 
14550
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13865
14551
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13866
14552
  # platforms (ab)use it in PIC code, but their linkers get confused if
13867
14553
  # the symbol is explicitly referenced.  Since portable code cannot
13868
14554
  # rely on this symbol name, it's probably fine to never include it in
13869
14555
  # preloaded symbol tables.
 
14556
  # Exclude shared library initialization/finalization symbols.
13870
14557
  extract_expsyms_cmds=
13871
14558
  # Just being paranoid about ensuring that cc_basename is set.
13872
14559
  for cc_temp in $compiler""; do
13888
14575
      with_gnu_ld=no
13889
14576
    fi
13890
14577
    ;;
 
14578
  interix*)
 
14579
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
14580
    with_gnu_ld=yes
 
14581
    ;;
13891
14582
  openbsd*)
13892
14583
    with_gnu_ld=no
13893
14584
    ;;
13921
14612
 
13922
14613
    # See if GNU ld supports shared libraries.
13923
14614
    case $host_os in
13924
 
    aix3* | aix4* | aix5*)
 
14615
    aix[3-9]*)
13925
14616
      # On AIX/PPC, the GNU linker is very broken
13926
14617
      if test "$host_cpu" != ia64; then
13927
14618
        ld_shlibs_F77=no
13969
14660
      allow_undefined_flag_F77=unsupported
13970
14661
      always_export_symbols_F77=no
13971
14662
      enable_shared_with_static_runtimes_F77=yes
13972
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
14663
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13973
14664
 
13974
14665
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13975
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
14666
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13976
14667
        # If the export-symbols file already is a .def file (1st line
13977
14668
        # is EXPORTS), use it as is; otherwise, prepend...
13978
14669
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13981
14672
          echo EXPORTS > $output_objdir/$soname.def;
13982
14673
          cat $export_symbols >> $output_objdir/$soname.def;
13983
14674
        fi~
13984
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 
14675
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13985
14676
      else
13986
14677
        ld_shlibs_F77=no
13987
14678
      fi
13988
14679
      ;;
13989
14680
 
13990
 
    linux*)
 
14681
    interix[3-9]*)
 
14682
      hardcode_direct_F77=no
 
14683
      hardcode_shlibpath_var_F77=no
 
14684
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
14685
      export_dynamic_flag_spec_F77='${wl}-E'
 
14686
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
14687
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
14688
      # default) and relocated if they conflict, which is a slow very memory
 
14689
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
14690
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
14691
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
14692
      archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
14693
      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'
 
14694
      ;;
 
14695
 
 
14696
    gnu* | linux* | k*bsd*-gnu)
13991
14697
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13992
14698
        tmp_addflag=
13993
14699
        case $cc_basename,$host_cpu in
13994
14700
        pgcc*)                          # Portland Group C compiler
13995
 
          whole_archive_flag_spec_F77=
 
14701
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
14702
          tmp_addflag=' $pic_flag'
13996
14703
          ;;
13997
 
        pgf77* | pgf90* )                       # Portland Group f77 and f90 compilers
13998
 
          whole_archive_flag_spec_F77=
13999
 
          tmp_addflag=' -fpic -Mnomain' ;;
 
14704
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
14705
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
14706
          tmp_addflag=' $pic_flag -Mnomain' ;;
14000
14707
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
14001
14708
          tmp_addflag=' -i_dynamic' ;;
14002
14709
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
14004
14711
        ifc* | ifort*)                  # Intel Fortran compiler
14005
14712
          tmp_addflag=' -nofor_main' ;;
14006
14713
        esac
14007
 
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
14714
        case `$CC -V 2>&1 | sed 5q` in
 
14715
        *Sun\ C*)                       # Sun C 5.9
 
14716
          whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
14717
          tmp_sharedflag='-G' ;;
 
14718
        *Sun\ F*)                       # Sun Fortran 8.3
 
14719
          tmp_sharedflag='-G' ;;
 
14720
        *)
 
14721
          tmp_sharedflag='-shared' ;;
 
14722
        esac
 
14723
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14008
14724
 
14009
14725
        if test $supports_anon_versioning = yes; then
14010
14726
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14011
14727
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14012
14728
  $echo "local: *; };" >> $output_objdir/$libname.ver~
14013
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
14729
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14014
14730
        fi
 
14731
        link_all_deplibs_F77=no
14015
14732
      else
14016
14733
        ld_shlibs_F77=no
14017
14734
      fi
14018
14735
      ;;
14019
14736
 
14020
 
    netbsd*)
 
14737
    netbsd* | netbsdelf*-gnu)
14021
14738
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14022
14739
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14023
14740
        wlarc=
14027
14744
      fi
14028
14745
      ;;
14029
14746
 
14030
 
    solaris* | sysv5*)
 
14747
    solaris*)
14031
14748
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
14032
14749
        ld_shlibs_F77=no
14033
14750
        cat <<EOF 1>&2
14048
14765
      fi
14049
14766
      ;;
14050
14767
 
 
14768
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
14769
      case `$LD -v 2>&1` in
 
14770
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
14771
        ld_shlibs_F77=no
 
14772
        cat <<_LT_EOF 1>&2
 
14773
 
 
14774
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
14775
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
14776
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
14777
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
14778
*** your PATH or compiler configuration so that the native linker is
 
14779
*** used, and then restart.
 
14780
 
 
14781
_LT_EOF
 
14782
        ;;
 
14783
        *)
 
14784
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
14785
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
14786
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
14787
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
14788
          else
 
14789
            ld_shlibs_F77=no
 
14790
          fi
 
14791
        ;;
 
14792
      esac
 
14793
      ;;
 
14794
 
14051
14795
    sunos4*)
14052
14796
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14053
14797
      wlarc=
14081
14825
      # Note: this linker hardcodes the directories in LIBPATH if there
14082
14826
      # are no directories specified by -L.
14083
14827
      hardcode_minus_L_F77=yes
14084
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
14828
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14085
14829
        # Neither direct hardcoding nor static linking is supported with a
14086
14830
        # broken collect2.
14087
14831
        hardcode_direct_F77=unsupported
14088
14832
      fi
14089
14833
      ;;
14090
14834
 
14091
 
    aix4* | aix5*)
 
14835
    aix[4-9]*)
14092
14836
      if test "$host_cpu" = ia64; then
14093
14837
        # On IA64, the linker does run time linking by default, so we don't
14094
14838
        # have to do anything special.
14108
14852
        # Test if we are trying to use run time linking or normal
14109
14853
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14110
14854
        # need to do runtime linking.
14111
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
14855
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14112
14856
          for ld_flag in $LDFLAGS; do
14113
14857
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14114
14858
            aix_use_runtimelinking=yes
14115
14859
            break
14116
14860
          fi
14117
14861
          done
 
14862
          ;;
14118
14863
        esac
14119
14864
 
14120
14865
        exp_sym_flag='-bexport'
14141
14886
           strings "$collect2name" | grep resolve_lib_name >/dev/null
14142
14887
          then
14143
14888
          # We have reworked collect2
14144
 
          hardcode_direct_F77=yes
 
14889
          :
14145
14890
          else
14146
14891
          # We have old collect2
14147
14892
          hardcode_direct_F77=unsupported
14152
14897
          hardcode_libdir_flag_spec_F77='-L$libdir'
14153
14898
          hardcode_libdir_separator_F77=
14154
14899
          fi
 
14900
          ;;
14155
14901
        esac
14156
14902
        shared_flag='-shared'
14157
14903
        if test "$aix_use_runtimelinking" = yes; then
14164
14910
        # chokes on -Wl,-G. The following line is correct:
14165
14911
          shared_flag='-G'
14166
14912
        else
14167
 
        if test "$aix_use_runtimelinking" = yes; then
 
14913
          if test "$aix_use_runtimelinking" = yes; then
14168
14914
            shared_flag='${wl}-G'
14169
14915
          else
14170
14916
            shared_flag='${wl}-bM:SRE'
14171
 
        fi
 
14917
          fi
14172
14918
        fi
14173
14919
      fi
14174
14920
 
14186
14932
      end
14187
14933
_ACEOF
14188
14934
rm -f conftest.$ac_objext conftest$ac_exeext
14189
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14190
 
  (eval $ac_link) 2>conftest.er1
 
14935
if { (ac_try="$ac_link"
 
14936
case "(($ac_try" in
 
14937
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14938
  *) ac_try_echo=$ac_try;;
 
14939
esac
 
14940
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14941
  (eval "$ac_link") 2>conftest.er1
14191
14942
  ac_status=$?
14192
14943
  grep -v '^ *+' conftest.er1 >conftest.err
14193
14944
  rm -f conftest.er1
14194
14945
  cat conftest.err >&5
14195
14946
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14196
 
  (exit $ac_status); } &&
14197
 
         { ac_try='test -z "$ac_f77_werror_flag"
14198
 
                         || test ! -s conftest.err'
14199
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14200
 
  (eval $ac_try) 2>&5
14201
 
  ac_status=$?
14202
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203
 
  (exit $ac_status); }; } &&
14204
 
         { ac_try='test -s conftest$ac_exeext'
14205
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14206
 
  (eval $ac_try) 2>&5
14207
 
  ac_status=$?
14208
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14209
 
  (exit $ac_status); }; }; then
 
14947
  (exit $ac_status); } && {
 
14948
         test -z "$ac_f77_werror_flag" ||
 
14949
         test ! -s conftest.err
 
14950
       } && test -s conftest$ac_exeext &&
 
14951
       $as_test_x conftest$ac_exeext; then
14210
14952
 
14211
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14212
 
}'`
 
14953
lt_aix_libpath_sed='
 
14954
    /Import File Strings/,/^$/ {
 
14955
        /^0/ {
 
14956
            s/^0  *\(.*\)$/\1/
 
14957
            p
 
14958
        }
 
14959
    }'
 
14960
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14213
14961
# Check for a 64-bit object if we didn't find anything.
14214
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14215
 
}'`; fi
 
14962
if test -z "$aix_libpath"; then
 
14963
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
14964
fi
14216
14965
else
14217
14966
  echo "$as_me: failed program was:" >&5
14218
14967
sed 's/^/| /' conftest.$ac_ext >&5
14219
14968
 
 
14969
 
14220
14970
fi
14221
 
rm -f conftest.err conftest.$ac_objext \
 
14971
 
 
14972
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14222
14973
      conftest$ac_exeext conftest.$ac_ext
14223
14974
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14224
14975
 
14225
14976
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14226
 
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
14977
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14227
14978
       else
14228
14979
        if test "$host_cpu" = ia64; then
14229
14980
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14230
14981
          allow_undefined_flag_F77="-z nodefs"
14231
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
14982
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
14232
14983
        else
14233
14984
         # Determine the default libpath from the value encoded in an empty executable.
14234
14985
         cat >conftest.$ac_ext <<_ACEOF
14237
14988
      end
14238
14989
_ACEOF
14239
14990
rm -f conftest.$ac_objext conftest$ac_exeext
14240
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14241
 
  (eval $ac_link) 2>conftest.er1
 
14991
if { (ac_try="$ac_link"
 
14992
case "(($ac_try" in
 
14993
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14994
  *) ac_try_echo=$ac_try;;
 
14995
esac
 
14996
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14997
  (eval "$ac_link") 2>conftest.er1
14242
14998
  ac_status=$?
14243
14999
  grep -v '^ *+' conftest.er1 >conftest.err
14244
15000
  rm -f conftest.er1
14245
15001
  cat conftest.err >&5
14246
15002
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14247
 
  (exit $ac_status); } &&
14248
 
         { ac_try='test -z "$ac_f77_werror_flag"
14249
 
                         || test ! -s conftest.err'
14250
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14251
 
  (eval $ac_try) 2>&5
14252
 
  ac_status=$?
14253
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14254
 
  (exit $ac_status); }; } &&
14255
 
         { ac_try='test -s conftest$ac_exeext'
14256
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14257
 
  (eval $ac_try) 2>&5
14258
 
  ac_status=$?
14259
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14260
 
  (exit $ac_status); }; }; then
 
15003
  (exit $ac_status); } && {
 
15004
         test -z "$ac_f77_werror_flag" ||
 
15005
         test ! -s conftest.err
 
15006
       } && test -s conftest$ac_exeext &&
 
15007
       $as_test_x conftest$ac_exeext; then
14261
15008
 
14262
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14263
 
}'`
 
15009
lt_aix_libpath_sed='
 
15010
    /Import File Strings/,/^$/ {
 
15011
        /^0/ {
 
15012
            s/^0  *\(.*\)$/\1/
 
15013
            p
 
15014
        }
 
15015
    }'
 
15016
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14264
15017
# Check for a 64-bit object if we didn't find anything.
14265
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14266
 
}'`; fi
 
15018
if test -z "$aix_libpath"; then
 
15019
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
15020
fi
14267
15021
else
14268
15022
  echo "$as_me: failed program was:" >&5
14269
15023
sed 's/^/| /' conftest.$ac_ext >&5
14270
15024
 
 
15025
 
14271
15026
fi
14272
 
rm -f conftest.err conftest.$ac_objext \
 
15027
 
 
15028
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14273
15029
      conftest$ac_exeext conftest.$ac_ext
14274
15030
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14275
15031
 
14278
15034
          # -berok will link without error, but may produce a broken library.
14279
15035
          no_undefined_flag_F77=' ${wl}-bernotok'
14280
15036
          allow_undefined_flag_F77=' ${wl}-berok'
14281
 
          # -bexpall does not export symbols beginning with underscore (_)
14282
 
          always_export_symbols_F77=yes
14283
15037
          # Exported symbols can be pulled into shared objects from archives
14284
 
          whole_archive_flag_spec_F77=' '
 
15038
          whole_archive_flag_spec_F77='$convenience'
14285
15039
          archive_cmds_need_lc_F77=yes
14286
 
          # This is similar to how AIX traditionally builds it's shared libraries.
14287
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
15040
          # This is similar to how AIX traditionally builds its shared libraries.
 
15041
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14288
15042
        fi
14289
15043
      fi
14290
15044
      ;;
14317
15071
      # The linker will automatically build a .lib file if we build a DLL.
14318
15072
      old_archive_From_new_cmds_F77='true'
14319
15073
      # FIXME: Should let the user specify the lib program.
14320
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
15074
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
14321
15075
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
14322
15076
      enable_shared_with_static_runtimes_F77=yes
14323
15077
      ;;
14324
15078
 
14325
15079
    darwin* | rhapsody*)
14326
 
      case "$host_os" in
 
15080
      case $host_os in
14327
15081
        rhapsody* | darwin1.[012])
14328
15082
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
14329
15083
         ;;
14350
15104
      link_all_deplibs_F77=yes
14351
15105
    if test "$GCC" = yes ; then
14352
15106
        output_verbose_link_cmd='echo'
14353
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14354
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14355
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14356
 
      archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14357
 
      module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
15107
        archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
15108
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
15109
        archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
15110
        module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
14358
15111
    else
14359
15112
      case $cc_basename in
14360
15113
        xlc*)
14361
15114
         output_verbose_link_cmd='echo'
14362
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
15115
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
14363
15116
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14364
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14365
 
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
15117
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
15118
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14366
15119
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14367
15120
          ;;
14368
15121
       *)
14402
15155
      ;;
14403
15156
 
14404
15157
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14405
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
15158
    freebsd* | dragonfly*)
14406
15159
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14407
15160
      hardcode_libdir_flag_spec_F77='-R$libdir'
14408
15161
      hardcode_direct_F77=yes
14425
15178
      export_dynamic_flag_spec_F77='${wl}-E'
14426
15179
      ;;
14427
15180
 
14428
 
    hpux10* | hpux11*)
14429
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14430
 
        case "$host_cpu" in
14431
 
        hppa*64*|ia64*)
 
15181
    hpux10*)
 
15182
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
15183
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
15184
      else
 
15185
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
15186
      fi
 
15187
      if test "$with_gnu_ld" = no; then
 
15188
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
15189
        hardcode_libdir_separator_F77=:
 
15190
 
 
15191
        hardcode_direct_F77=yes
 
15192
        export_dynamic_flag_spec_F77='${wl}-E'
 
15193
 
 
15194
        # hardcode_minus_L: Not really in the search PATH,
 
15195
        # but as the default location of the library.
 
15196
        hardcode_minus_L_F77=yes
 
15197
      fi
 
15198
      ;;
 
15199
 
 
15200
    hpux11*)
 
15201
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
15202
        case $host_cpu in
 
15203
        hppa*64*)
14432
15204
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14433
15205
          ;;
 
15206
        ia64*)
 
15207
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
15208
          ;;
14434
15209
        *)
14435
15210
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14436
15211
          ;;
14437
15212
        esac
14438
15213
      else
14439
 
        case "$host_cpu" in
14440
 
        hppa*64*|ia64*)
14441
 
          archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
15214
        case $host_cpu in
 
15215
        hppa*64*)
 
15216
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15217
          ;;
 
15218
        ia64*)
 
15219
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14442
15220
          ;;
14443
15221
        *)
14444
 
          archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
15222
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14445
15223
          ;;
14446
15224
        esac
14447
15225
      fi
14448
15226
      if test "$with_gnu_ld" = no; then
14449
 
        case "$host_cpu" in
14450
 
        hppa*64*)
14451
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
15227
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
15228
        hardcode_libdir_separator_F77=:
 
15229
 
 
15230
        case $host_cpu in
 
15231
        hppa*64*|ia64*)
14452
15232
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
14453
 
          hardcode_libdir_separator_F77=:
14454
 
          hardcode_direct_F77=no
14455
 
          hardcode_shlibpath_var_F77=no
14456
 
          ;;
14457
 
        ia64*)
14458
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
14459
 
          hardcode_direct_F77=no
14460
 
          hardcode_shlibpath_var_F77=no
14461
 
 
14462
 
          # hardcode_minus_L: Not really in the search PATH,
14463
 
          # but as the default location of the library.
14464
 
          hardcode_minus_L_F77=yes
 
15233
          hardcode_direct_F77=no
 
15234
          hardcode_shlibpath_var_F77=no
14465
15235
          ;;
14466
15236
        *)
14467
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14468
 
          hardcode_libdir_separator_F77=:
14469
15237
          hardcode_direct_F77=yes
14470
15238
          export_dynamic_flag_spec_F77='${wl}-E'
14471
15239
 
14489
15257
      link_all_deplibs_F77=yes
14490
15258
      ;;
14491
15259
 
14492
 
    netbsd*)
 
15260
    netbsd* | netbsdelf*-gnu)
14493
15261
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14494
15262
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14495
15263
      else
14509
15277
      ;;
14510
15278
 
14511
15279
    openbsd*)
14512
 
      hardcode_direct_F77=yes
14513
 
      hardcode_shlibpath_var_F77=no
14514
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14515
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14516
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14517
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14518
 
        export_dynamic_flag_spec_F77='${wl}-E'
 
15280
      if test -f /usr/libexec/ld.so; then
 
15281
        hardcode_direct_F77=yes
 
15282
        hardcode_shlibpath_var_F77=no
 
15283
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
15284
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15285
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
15286
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15287
          export_dynamic_flag_spec_F77='${wl}-E'
 
15288
        else
 
15289
          case $host_os in
 
15290
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
15291
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
15292
             hardcode_libdir_flag_spec_F77='-R$libdir'
 
15293
             ;;
 
15294
           *)
 
15295
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15296
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15297
             ;;
 
15298
          esac
 
15299
        fi
14519
15300
      else
14520
 
       case $host_os in
14521
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14522
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14523
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
14524
 
           ;;
14525
 
         *)
14526
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14527
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14528
 
           ;;
14529
 
       esac
 
15301
        ld_shlibs_F77=no
14530
15302
      fi
14531
15303
      ;;
14532
15304
 
14567
15339
      hardcode_libdir_separator_F77=:
14568
15340
      ;;
14569
15341
 
14570
 
    sco3.2v5*)
14571
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14572
 
      hardcode_shlibpath_var_F77=no
14573
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
14574
 
      runpath_var=LD_RUN_PATH
14575
 
      hardcode_runpath_var=yes
14576
 
      ;;
14577
 
 
14578
15342
    solaris*)
14579
15343
      no_undefined_flag_F77=' -z text'
14580
15344
      if test "$GCC" = yes; then
14593
15357
      case $host_os in
14594
15358
      solaris2.[0-5] | solaris2.[0-5].*) ;;
14595
15359
      *)
14596
 
        # The compiler driver will combine linker options so we
14597
 
        # cannot just pass the convience library names through
14598
 
        # without $wl, iff we do not link with $LD.
14599
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
15360
        # The compiler driver will combine and reorder linker options,
 
15361
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
15362
        # but is careful enough not to reorder.
14600
15363
        # Supported since Solaris 2.6 (maybe 2.5.1?)
14601
 
        case $wlarc in
14602
 
        '')
14603
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
14604
 
        *)
14605
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
14606
 
        esac ;;
 
15364
        if test "$GCC" = yes; then
 
15365
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
15366
        else
 
15367
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
 
15368
        fi
 
15369
        ;;
14607
15370
      esac
14608
15371
      link_all_deplibs_F77=yes
14609
15372
      ;;
14660
15423
      fi
14661
15424
      ;;
14662
15425
 
14663
 
    sysv4.2uw2*)
14664
 
      archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14665
 
      hardcode_direct_F77=yes
14666
 
      hardcode_minus_L_F77=no
14667
 
      hardcode_shlibpath_var_F77=no
14668
 
      hardcode_runpath_var=yes
14669
 
      runpath_var=LD_RUN_PATH
14670
 
      ;;
14671
 
 
14672
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
14673
 
      no_undefined_flag_F77='${wl}-z ${wl}text'
14674
 
      if test "$GCC" = yes; then
14675
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14676
 
      else
14677
 
        archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14678
 
      fi
14679
 
      runpath_var='LD_RUN_PATH'
14680
 
      hardcode_shlibpath_var_F77=no
14681
 
      ;;
14682
 
 
14683
 
    sysv5*)
14684
 
      no_undefined_flag_F77=' -z text'
14685
 
      # $CC -shared without GNU ld will not create a library from C++
14686
 
      # object files and a static libstdc++, better avoid it by now
14687
 
      archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14688
 
      archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14689
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14690
 
      hardcode_libdir_flag_spec_F77=
14691
 
      hardcode_shlibpath_var_F77=no
14692
 
      runpath_var='LD_RUN_PATH'
 
15426
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
15427
      no_undefined_flag_F77='${wl}-z,text'
 
15428
      archive_cmds_need_lc_F77=no
 
15429
      hardcode_shlibpath_var_F77=no
 
15430
      runpath_var='LD_RUN_PATH'
 
15431
 
 
15432
      if test "$GCC" = yes; then
 
15433
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15434
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15435
      else
 
15436
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15437
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15438
      fi
 
15439
      ;;
 
15440
 
 
15441
    sysv5* | sco3.2v5* | sco5v6*)
 
15442
      # Note: We can NOT use -z defs as we might desire, because we do not
 
15443
      # link with -lc, and that would cause any symbols used from libc to
 
15444
      # always be unresolved, which means just about no library would
 
15445
      # ever link correctly.  If we're not using GNU ld we use -z text
 
15446
      # though, which does catch some bad symbols but isn't as heavy-handed
 
15447
      # as -z defs.
 
15448
      no_undefined_flag_F77='${wl}-z,text'
 
15449
      allow_undefined_flag_F77='${wl}-z,nodefs'
 
15450
      archive_cmds_need_lc_F77=no
 
15451
      hardcode_shlibpath_var_F77=no
 
15452
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
15453
      hardcode_libdir_separator_F77=':'
 
15454
      link_all_deplibs_F77=yes
 
15455
      export_dynamic_flag_spec_F77='${wl}-Bexport'
 
15456
      runpath_var='LD_RUN_PATH'
 
15457
 
 
15458
      if test "$GCC" = yes; then
 
15459
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15460
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15461
      else
 
15462
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15463
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15464
      fi
14693
15465
      ;;
14694
15466
 
14695
15467
    uts4*)
14704
15476
    esac
14705
15477
  fi
14706
15478
 
14707
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14708
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
 
15479
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
15480
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
14709
15481
test "$ld_shlibs_F77" = no && can_build_shared=no
14710
15482
 
14711
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14712
 
if test "$GCC" = yes; then
14713
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14714
 
fi
14715
 
 
14716
15483
#
14717
15484
# Do we need to explicitly link libc?
14718
15485
#
14730
15497
      # Test whether the compiler implicitly links with -lc since on some
14731
15498
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14732
15499
      # to ld, don't add -lc before -lgcc.
14733
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14734
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
15500
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
15501
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14735
15502
      $rm conftest*
14736
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
15503
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14737
15504
 
14738
15505
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14739
15506
  (eval $ac_compile) 2>&5
14745
15512
        libobjs=conftest.$ac_objext
14746
15513
        deplibs=
14747
15514
        wl=$lt_prog_compiler_wl_F77
 
15515
        pic_flag=$lt_prog_compiler_pic_F77
14748
15516
        compiler_flags=-v
14749
15517
        linker_flags=-v
14750
15518
        verstring=
14767
15535
        cat conftest.err 1>&5
14768
15536
      fi
14769
15537
      $rm conftest*
14770
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14771
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 
15538
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
15539
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
14772
15540
      ;;
14773
15541
    esac
14774
15542
  fi
14775
15543
  ;;
14776
15544
esac
14777
15545
 
14778
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14779
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
15546
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
15547
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14780
15548
library_names_spec=
14781
15549
libname_spec='lib$name'
14782
15550
soname_spec=
14790
15558
version_type=none
14791
15559
dynamic_linker="$host_os ld.so"
14792
15560
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14793
 
if test "$GCC" = yes; then
14794
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14795
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14796
 
    # if the path contains ";" then we assume it to be the separator
14797
 
    # otherwise default to the standard path separator (i.e. ":") - it is
14798
 
    # assumed that no part of a normal pathname contains ";" but that should
14799
 
    # okay in the real world where ";" in dirpaths is itself problematic.
14800
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14801
 
  else
14802
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14803
 
  fi
14804
 
else
14805
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14806
 
fi
 
15561
 
14807
15562
need_lib_prefix=unknown
14808
15563
hardcode_into_libs=no
14809
15564
 
14821
15576
  soname_spec='${libname}${release}${shared_ext}$major'
14822
15577
  ;;
14823
15578
 
14824
 
aix4* | aix5*)
 
15579
aix[4-9]*)
14825
15580
  version_type=linux
14826
15581
  need_lib_prefix=no
14827
15582
  need_version=no
14905
15660
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14906
15661
      dldir=$destdir/`dirname \$dlpath`~
14907
15662
      test -d \$dldir || mkdir -p \$dldir~
14908
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
15663
      $install_prog $dir/$dlname \$dldir/$dlname~
 
15664
      chmod a+x \$dldir/$dlname'
14909
15665
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14910
15666
      dlpath=$dir/\$dldll~
14911
15667
       $rm \$dlpath'
14958
15714
  soname_spec='${libname}${release}${major}$shared_ext'
14959
15715
  shlibpath_overrides_runpath=yes
14960
15716
  shlibpath_var=DYLD_LIBRARY_PATH
14961
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
14962
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14963
 
  if test "$GCC" = yes; then
14964
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
14965
 
  else
14966
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14967
 
  fi
 
15717
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
15718
 
14968
15719
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14969
15720
  ;;
14970
15721
 
14981
15732
  dynamic_linker=no
14982
15733
  ;;
14983
15734
 
14984
 
kfreebsd*-gnu)
14985
 
  version_type=linux
14986
 
  need_lib_prefix=no
14987
 
  need_version=no
14988
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14989
 
  soname_spec='${libname}${release}${shared_ext}$major'
14990
 
  shlibpath_var=LD_LIBRARY_PATH
14991
 
  shlibpath_overrides_runpath=no
14992
 
  hardcode_into_libs=yes
14993
 
  dynamic_linker='GNU ld.so'
14994
 
  ;;
14995
 
 
14996
15735
freebsd* | dragonfly*)
14997
15736
  # DragonFly does not have aout.  When/if they implement a new
14998
15737
  # versioning mechanism, adjust this.
14999
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
15738
  if test -x /usr/bin/objformat; then
 
15739
    objformat=`/usr/bin/objformat`
 
15740
  else
 
15741
    case $host_os in
 
15742
    freebsd[123]*) objformat=aout ;;
 
15743
    *) objformat=elf ;;
 
15744
    esac
 
15745
  fi
15000
15746
  version_type=freebsd-$objformat
15001
15747
  case $version_type in
15002
15748
    freebsd-elf*)
15018
15764
    shlibpath_overrides_runpath=yes
15019
15765
    hardcode_into_libs=yes
15020
15766
    ;;
15021
 
  *) # from 3.2 on
 
15767
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
15768
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15022
15769
    shlibpath_overrides_runpath=no
15023
15770
    hardcode_into_libs=yes
15024
15771
    ;;
 
15772
  *) # from 4.6 on, and DragonFly
 
15773
    shlibpath_overrides_runpath=yes
 
15774
    hardcode_into_libs=yes
 
15775
    ;;
15025
15776
  esac
15026
15777
  ;;
15027
15778
 
15041
15792
  version_type=sunos
15042
15793
  need_lib_prefix=no
15043
15794
  need_version=no
15044
 
  case "$host_cpu" in
 
15795
  case $host_cpu in
15045
15796
  ia64*)
15046
15797
    shrext_cmds='.so'
15047
15798
    hardcode_into_libs=yes
15081
15832
  postinstall_cmds='chmod 555 $lib'
15082
15833
  ;;
15083
15834
 
 
15835
interix[3-9]*)
 
15836
  version_type=linux
 
15837
  need_lib_prefix=no
 
15838
  need_version=no
 
15839
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
15840
  soname_spec='${libname}${release}${shared_ext}$major'
 
15841
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
15842
  shlibpath_var=LD_LIBRARY_PATH
 
15843
  shlibpath_overrides_runpath=no
 
15844
  hardcode_into_libs=yes
 
15845
  ;;
 
15846
 
15084
15847
irix5* | irix6* | nonstopux*)
15085
15848
  case $host_os in
15086
15849
    nonstopux*) version_type=nonstopux ;;
15124
15887
  ;;
15125
15888
 
15126
15889
# This must be Linux ELF.
15127
 
linux*)
 
15890
linux* | k*bsd*-gnu)
15128
15891
  version_type=linux
15129
15892
  need_lib_prefix=no
15130
15893
  need_version=no
15138
15901
  # before this can be enabled.
15139
15902
  hardcode_into_libs=yes
15140
15903
 
15141
 
  # find out which ABI we are using
15142
 
  libsuff=
15143
 
  case "$host_cpu" in
15144
 
  x86_64*|s390x*|powerpc64*)
15145
 
    echo '#line 15145 "configure"' > conftest.$ac_ext
15146
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15147
 
  (eval $ac_compile) 2>&5
15148
 
  ac_status=$?
15149
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15150
 
  (exit $ac_status); }; then
15151
 
      case `/usr/bin/file conftest.$ac_objext` in
15152
 
      *64-bit*)
15153
 
        libsuff=64
15154
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15155
 
        ;;
15156
 
      esac
15157
 
    fi
15158
 
    rm -rf conftest*
15159
 
    ;;
15160
 
  esac
15161
 
 
15162
15904
  # Append ld.so.conf contents to the search path
15163
15905
  if test -f /etc/ld.so.conf; then
15164
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15165
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
15906
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
15907
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15166
15908
  fi
15167
15909
 
15168
15910
  # We used to test for /lib/ld.so.1 and disable shared libraries on
15174
15916
  dynamic_linker='GNU/Linux ld.so'
15175
15917
  ;;
15176
15918
 
15177
 
knetbsd*-gnu)
 
15919
netbsdelf*-gnu)
15178
15920
  version_type=linux
15179
15921
  need_lib_prefix=no
15180
15922
  need_version=no
15183
15925
  shlibpath_var=LD_LIBRARY_PATH
15184
15926
  shlibpath_overrides_runpath=no
15185
15927
  hardcode_into_libs=yes
15186
 
  dynamic_linker='GNU ld.so'
 
15928
  dynamic_linker='NetBSD ld.elf_so'
15187
15929
  ;;
15188
15930
 
15189
15931
netbsd*)
15223
15965
 
15224
15966
openbsd*)
15225
15967
  version_type=sunos
 
15968
  sys_lib_dlsearch_path_spec="/usr/lib"
15226
15969
  need_lib_prefix=no
15227
 
  need_version=no
 
15970
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
15971
  case $host_os in
 
15972
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
15973
    *)                         need_version=no  ;;
 
15974
  esac
15228
15975
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15229
15976
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15230
15977
  shlibpath_var=LD_LIBRARY_PATH
15262
16009
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15263
16010
  ;;
15264
16011
 
15265
 
sco3.2v5*)
15266
 
  version_type=osf
15267
 
  soname_spec='${libname}${release}${shared_ext}$major'
15268
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15269
 
  shlibpath_var=LD_LIBRARY_PATH
 
16012
rdos*)
 
16013
  dynamic_linker=no
15270
16014
  ;;
15271
16015
 
15272
16016
solaris*)
15294
16038
  need_version=yes
15295
16039
  ;;
15296
16040
 
15297
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
16041
sysv4 | sysv4.3*)
15298
16042
  version_type=linux
15299
16043
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15300
16044
  soname_spec='${libname}${release}${shared_ext}$major'
15327
16071
  fi
15328
16072
  ;;
15329
16073
 
 
16074
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
16075
  version_type=freebsd-elf
 
16076
  need_lib_prefix=no
 
16077
  need_version=no
 
16078
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
16079
  soname_spec='${libname}${release}${shared_ext}$major'
 
16080
  shlibpath_var=LD_LIBRARY_PATH
 
16081
  hardcode_into_libs=yes
 
16082
  if test "$with_gnu_ld" = yes; then
 
16083
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
16084
    shlibpath_overrides_runpath=no
 
16085
  else
 
16086
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
16087
    shlibpath_overrides_runpath=yes
 
16088
    case $host_os in
 
16089
      sco3.2v5*)
 
16090
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
16091
        ;;
 
16092
    esac
 
16093
  fi
 
16094
  sys_lib_dlsearch_path_spec='/usr/lib'
 
16095
  ;;
 
16096
 
15330
16097
uts4*)
15331
16098
  version_type=linux
15332
16099
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15338
16105
  dynamic_linker=no
15339
16106
  ;;
15340
16107
esac
15341
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15342
 
echo "${ECHO_T}$dynamic_linker" >&6
 
16108
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
16109
echo "${ECHO_T}$dynamic_linker" >&6; }
15343
16110
test "$dynamic_linker" = no && can_build_shared=no
15344
16111
 
15345
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15346
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
16112
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
16113
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16114
else
 
16115
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
16116
fi
 
16117
 
 
16118
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
16119
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
16120
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16121
else
 
16122
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
16123
fi
 
16124
 
 
16125
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
16126
 
 
16127
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
16128
if test "$GCC" = yes; then
 
16129
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
16130
fi
 
16131
 
 
16132
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
16133
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15347
16134
hardcode_action_F77=
15348
16135
if test -n "$hardcode_libdir_flag_spec_F77" || \
15349
16136
   test -n "$runpath_var_F77" || \
15367
16154
  # directories.
15368
16155
  hardcode_action_F77=unsupported
15369
16156
fi
15370
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15371
 
echo "${ECHO_T}$hardcode_action_F77" >&6
 
16157
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
16158
echo "${ECHO_T}$hardcode_action_F77" >&6; }
15372
16159
 
15373
16160
if test "$hardcode_action_F77" = relink; then
15374
16161
  # Fast installation is not supported
15379
16166
  enable_fast_install=needless
15380
16167
fi
15381
16168
 
15382
 
striplib=
15383
 
old_striplib=
15384
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15385
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
15386
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15387
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15388
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15389
 
  echo "$as_me:$LINENO: result: yes" >&5
15390
 
echo "${ECHO_T}yes" >&6
15391
 
else
15392
 
# FIXME - insert some real tests, host_os isn't really good enough
15393
 
  case $host_os in
15394
 
   darwin*)
15395
 
       if test -n "$STRIP" ; then
15396
 
         striplib="$STRIP -x"
15397
 
         echo "$as_me:$LINENO: result: yes" >&5
15398
 
echo "${ECHO_T}yes" >&6
15399
 
       else
15400
 
  echo "$as_me:$LINENO: result: no" >&5
15401
 
echo "${ECHO_T}no" >&6
15402
 
fi
15403
 
       ;;
15404
 
   *)
15405
 
  echo "$as_me:$LINENO: result: no" >&5
15406
 
echo "${ECHO_T}no" >&6
15407
 
    ;;
15408
 
  esac
15409
 
fi
15410
 
 
15411
 
 
15412
16169
 
15413
16170
# The else clause should only fire when bootstrapping the
15414
16171
# libtool distribution, otherwise you forgot to ship ltmain.sh
15423
16180
  # Now quote all the things that may contain metacharacters while being
15424
16181
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
15425
16182
  # variables and quote the copies for generation of the libtool script.
15426
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
16183
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15427
16184
    SED SHELL STRIP \
15428
16185
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15429
16186
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15450
16207
    predeps_F77 \
15451
16208
    postdeps_F77 \
15452
16209
    compiler_lib_search_path_F77 \
 
16210
    compiler_lib_search_dirs_F77 \
15453
16211
    archive_cmds_F77 \
15454
16212
    archive_expsym_cmds_F77 \
15455
16213
    postinstall_cmds_F77 \
15465
16223
    module_cmds_F77 \
15466
16224
    module_expsym_cmds_F77 \
15467
16225
    lt_cv_prog_compiler_c_o_F77 \
 
16226
    fix_srcfile_path_F77 \
15468
16227
    exclude_expsyms_F77 \
15469
16228
    include_expsyms_F77; do
15470
16229
 
15541
16300
# A C compiler.
15542
16301
LTCC=$lt_LTCC
15543
16302
 
 
16303
# LTCC compiler flags.
 
16304
LTCFLAGS=$lt_LTCFLAGS
 
16305
 
15544
16306
# A language-specific compiler.
15545
16307
CC=$lt_compiler_F77
15546
16308
 
15694
16456
# shared library.
15695
16457
postdeps=$lt_postdeps_F77
15696
16458
 
 
16459
# The directories searched by this compiler when creating a shared
 
16460
# library
 
16461
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
 
16462
 
15697
16463
# The library search path used internally by the compiler when linking
15698
16464
# a shared library.
15699
16465
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
15782
16548
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15783
16549
 
15784
16550
# Fix the shell variable \$srcfile for the compiler.
15785
 
fix_srcfile_path="$fix_srcfile_path_F77"
 
16551
fix_srcfile_path=$lt_fix_srcfile_path
15786
16552
 
15787
16553
# Set to yes if exported symbols are required.
15788
16554
always_export_symbols=$always_export_symbols_F77
15815
16581
fi
15816
16582
 
15817
16583
 
15818
 
ac_ext=cc
 
16584
ac_ext=cpp
15819
16585
ac_cpp='$CXXCPP $CPPFLAGS'
15820
16586
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15821
16587
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15832
16598
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15833
16599
 
15834
16600
 
15835
 
 
15836
16601
# Source file extension for Java test sources.
15837
16602
ac_ext=java
15838
16603
 
15841
16606
objext_GCJ=$objext
15842
16607
 
15843
16608
# Code to be used in simple compile tests
15844
 
lt_simple_compile_test_code="class foo {}\n"
 
16609
lt_simple_compile_test_code="class foo {}"
15845
16610
 
15846
16611
# Code to be used in simple link tests
15847
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
 
16612
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
15848
16613
 
15849
16614
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15850
16615
 
15851
16616
# If no C compiler was specified, use CC.
15852
16617
LTCC=${LTCC-"$CC"}
15853
16618
 
 
16619
# If no C compiler flags were specified, use CFLAGS.
 
16620
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
16621
 
15854
16622
# Allow CC to be a program name with arguments.
15855
16623
compiler=$CC
15856
16624
 
15857
16625
 
15858
16626
# save warnings/boilerplate of simple test code
15859
16627
ac_outfile=conftest.$ac_objext
15860
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
15861
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
16628
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
16629
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15862
16630
_lt_compiler_boilerplate=`cat conftest.err`
15863
16631
$rm conftest*
15864
16632
 
15865
16633
ac_outfile=conftest.$ac_objext
15866
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
15867
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
16634
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
16635
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15868
16636
_lt_linker_boilerplate=`cat conftest.err`
15869
 
$rm conftest*
 
16637
$rm -r conftest*
15870
16638
 
15871
16639
 
15872
16640
# Allow CC to be a program name with arguments.
15897
16665
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15898
16666
 
15899
16667
 
15900
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15901
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
16668
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
16669
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
15902
16670
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15903
16671
  echo $ECHO_N "(cached) $ECHO_C" >&6
15904
16672
else
15905
16673
  lt_cv_prog_compiler_rtti_exceptions=no
15906
16674
  ac_outfile=conftest.$ac_objext
15907
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16675
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15908
16676
   lt_compiler_flag="-fno-rtti -fno-exceptions"
15909
16677
   # Insert the option either (1) after the last *FLAGS variable, or
15910
16678
   # (2) before a word containing "conftest.", or (3) at the end.
15912
16680
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15913
16681
   # The option is referenced via a variable to avoid confusing sed.
15914
16682
   lt_compile=`echo "$ac_compile" | $SED \
15915
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
16683
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15916
16684
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15917
16685
   -e 's:$: $lt_compiler_flag:'`
15918
 
   (eval echo "\"\$as_me:15918: $lt_compile\"" >&5)
 
16686
   (eval echo "\"\$as_me:16686: $lt_compile\"" >&5)
15919
16687
   (eval "$lt_compile" 2>conftest.err)
15920
16688
   ac_status=$?
15921
16689
   cat conftest.err >&5
15922
 
   echo "$as_me:15922: \$? = $ac_status" >&5
 
16690
   echo "$as_me:16690: \$? = $ac_status" >&5
15923
16691
   if (exit $ac_status) && test -s "$ac_outfile"; then
15924
16692
     # The compiler can only warn and ignore the option if not recognized
15925
16693
     # So say no if there are warnings other than the usual output.
15926
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
15927
 
     $SED '/^$/d' conftest.err >conftest.er2
15928
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
16694
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
16695
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
16696
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15929
16697
       lt_cv_prog_compiler_rtti_exceptions=yes
15930
16698
     fi
15931
16699
   fi
15932
16700
   $rm conftest*
15933
16701
 
15934
16702
fi
15935
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15936
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
16703
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
16704
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
15937
16705
 
15938
16706
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15939
16707
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15947
16715
lt_prog_compiler_pic_GCJ=
15948
16716
lt_prog_compiler_static_GCJ=
15949
16717
 
15950
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15951
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
16718
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
16719
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15952
16720
 
15953
16721
  if test "$GCC" = yes; then
15954
16722
    lt_prog_compiler_wl_GCJ='-Wl,'
15970
16738
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15971
16739
      ;;
15972
16740
 
15973
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
16741
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15974
16742
      # PIC is the default for these OSes.
15975
16743
      ;;
15976
16744
 
15977
 
    mingw* | pw32* | os2*)
 
16745
    mingw* | cygwin* | pw32* | os2*)
15978
16746
      # This hack is so that the source file can tell whether it is being
15979
16747
      # built for inclusion in a dll (and should export symbols for example).
15980
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
16748
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
16749
      # (--disable-auto-import) libraries
 
16750
 
15981
16751
      ;;
15982
16752
 
15983
16753
    darwin* | rhapsody*)
15986
16756
      lt_prog_compiler_pic_GCJ='-fno-common'
15987
16757
      ;;
15988
16758
 
 
16759
    interix[3-9]*)
 
16760
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
16761
      # Instead, we relocate shared libraries at runtime.
 
16762
      ;;
 
16763
 
15989
16764
    msdosdjgpp*)
15990
16765
      # Just because we use GCC doesn't mean we suddenly get shared libraries
15991
16766
      # on systems that don't support them.
16002
16777
    hpux*)
16003
16778
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16004
16779
      # not for PA HP-UX.
16005
 
      case "$host_cpu" in
 
16780
      case $host_cpu in
16006
16781
      hppa*64*|ia64*)
16007
16782
        # +Z the default
16008
16783
        ;;
16039
16814
       esac
16040
16815
       ;;
16041
16816
 
16042
 
    mingw* | pw32* | os2*)
 
16817
    mingw* | cygwin* | pw32* | os2*)
16043
16818
      # This hack is so that the source file can tell whether it is being
16044
16819
      # built for inclusion in a dll (and should export symbols for example).
16045
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
16820
 
16046
16821
      ;;
16047
16822
 
16048
16823
    hpux9* | hpux10* | hpux11*)
16049
16824
      lt_prog_compiler_wl_GCJ='-Wl,'
16050
16825
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16051
16826
      # not for PA HP-UX.
16052
 
      case "$host_cpu" in
 
16827
      case $host_cpu in
16053
16828
      hppa*64*|ia64*)
16054
16829
        # +Z the default
16055
16830
        ;;
16072
16847
      lt_prog_compiler_static_GCJ='-Bstatic'
16073
16848
      ;;
16074
16849
 
16075
 
    linux*)
 
16850
    linux* | k*bsd*-gnu)
16076
16851
      case $cc_basename in
16077
16852
      icc* | ecc*)
16078
16853
        lt_prog_compiler_wl_GCJ='-Wl,'
16079
16854
        lt_prog_compiler_pic_GCJ='-KPIC'
16080
16855
        lt_prog_compiler_static_GCJ='-static'
16081
16856
        ;;
16082
 
      pgcc* | pgf77* | pgf90*)
 
16857
      pgcc* | pgf77* | pgf90* | pgf95*)
16083
16858
        # Portland Group compilers (*not* the Pentium gcc compiler,
16084
16859
        # which looks to be a dead project)
16085
16860
        lt_prog_compiler_wl_GCJ='-Wl,'
16086
16861
        lt_prog_compiler_pic_GCJ='-fpic'
16087
 
        lt_prog_compiler_static_GCJ='-static'
 
16862
        lt_prog_compiler_static_GCJ='-Bstatic'
16088
16863
        ;;
16089
16864
      ccc*)
16090
16865
        lt_prog_compiler_wl_GCJ='-Wl,'
16091
16866
        # All Alpha code is PIC.
16092
16867
        lt_prog_compiler_static_GCJ='-non_shared'
16093
16868
        ;;
 
16869
      *)
 
16870
        case `$CC -V 2>&1 | sed 5q` in
 
16871
        *Sun\ C*)
 
16872
          # Sun C 5.9
 
16873
          lt_prog_compiler_pic_GCJ='-KPIC'
 
16874
          lt_prog_compiler_static_GCJ='-Bstatic'
 
16875
          lt_prog_compiler_wl_GCJ='-Wl,'
 
16876
          ;;
 
16877
        *Sun\ F*)
 
16878
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
16879
          lt_prog_compiler_pic_GCJ='-KPIC'
 
16880
          lt_prog_compiler_static_GCJ='-Bstatic'
 
16881
          lt_prog_compiler_wl_GCJ=''
 
16882
          ;;
 
16883
        esac
 
16884
        ;;
16094
16885
      esac
16095
16886
      ;;
16096
16887
 
16100
16891
      lt_prog_compiler_static_GCJ='-non_shared'
16101
16892
      ;;
16102
16893
 
16103
 
    sco3.2v5*)
16104
 
      lt_prog_compiler_pic_GCJ='-Kpic'
16105
 
      lt_prog_compiler_static_GCJ='-dn'
 
16894
    rdos*)
 
16895
      lt_prog_compiler_static_GCJ='-non_shared'
16106
16896
      ;;
16107
16897
 
16108
16898
    solaris*)
16122
16912
      lt_prog_compiler_static_GCJ='-Bstatic'
16123
16913
      ;;
16124
16914
 
16125
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
16915
    sysv4 | sysv4.2uw2* | sysv4.3*)
16126
16916
      lt_prog_compiler_wl_GCJ='-Wl,'
16127
16917
      lt_prog_compiler_pic_GCJ='-KPIC'
16128
16918
      lt_prog_compiler_static_GCJ='-Bstatic'
16135
16925
      fi
16136
16926
      ;;
16137
16927
 
 
16928
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
16929
      lt_prog_compiler_wl_GCJ='-Wl,'
 
16930
      lt_prog_compiler_pic_GCJ='-KPIC'
 
16931
      lt_prog_compiler_static_GCJ='-Bstatic'
 
16932
      ;;
 
16933
 
16138
16934
    unicos*)
16139
16935
      lt_prog_compiler_wl_GCJ='-Wl,'
16140
16936
      lt_prog_compiler_can_build_shared_GCJ=no
16151
16947
    esac
16152
16948
  fi
16153
16949
 
16154
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16155
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 
16950
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
16951
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16156
16952
 
16157
16953
#
16158
16954
# Check to make sure the PIC flag actually works.
16159
16955
#
16160
16956
if test -n "$lt_prog_compiler_pic_GCJ"; then
16161
16957
 
16162
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16163
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
16164
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
 
16958
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
16959
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
 
16960
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
16165
16961
  echo $ECHO_N "(cached) $ECHO_C" >&6
16166
16962
else
16167
 
  lt_prog_compiler_pic_works_GCJ=no
 
16963
  lt_cv_prog_compiler_pic_works_GCJ=no
16168
16964
  ac_outfile=conftest.$ac_objext
16169
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16965
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16170
16966
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
16171
16967
   # Insert the option either (1) after the last *FLAGS variable, or
16172
16968
   # (2) before a word containing "conftest.", or (3) at the end.
16174
16970
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16175
16971
   # The option is referenced via a variable to avoid confusing sed.
16176
16972
   lt_compile=`echo "$ac_compile" | $SED \
16177
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
16973
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16178
16974
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16179
16975
   -e 's:$: $lt_compiler_flag:'`
16180
 
   (eval echo "\"\$as_me:16180: $lt_compile\"" >&5)
 
16976
   (eval echo "\"\$as_me:16976: $lt_compile\"" >&5)
16181
16977
   (eval "$lt_compile" 2>conftest.err)
16182
16978
   ac_status=$?
16183
16979
   cat conftest.err >&5
16184
 
   echo "$as_me:16184: \$? = $ac_status" >&5
 
16980
   echo "$as_me:16980: \$? = $ac_status" >&5
16185
16981
   if (exit $ac_status) && test -s "$ac_outfile"; then
16186
16982
     # The compiler can only warn and ignore the option if not recognized
16187
16983
     # So say no if there are warnings other than the usual output.
16188
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
16189
 
     $SED '/^$/d' conftest.err >conftest.er2
16190
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
16191
 
       lt_prog_compiler_pic_works_GCJ=yes
 
16984
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
16985
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
16986
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
16987
       lt_cv_prog_compiler_pic_works_GCJ=yes
16192
16988
     fi
16193
16989
   fi
16194
16990
   $rm conftest*
16195
16991
 
16196
16992
fi
16197
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16198
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 
16993
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
 
16994
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
16199
16995
 
16200
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
 
16996
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
16201
16997
    case $lt_prog_compiler_pic_GCJ in
16202
16998
     "" | " "*) ;;
16203
16999
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
16208
17004
fi
16209
17005
 
16210
17006
fi
16211
 
case "$host_os" in
 
17007
case $host_os in
16212
17008
  # For platforms which do not support PIC, -DPIC is meaningless:
16213
17009
  *djgpp*)
16214
17010
    lt_prog_compiler_pic_GCJ=
16218
17014
    ;;
16219
17015
esac
16220
17016
 
16221
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16222
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
17017
#
 
17018
# Check to make sure the static flag actually works.
 
17019
#
 
17020
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
 
17021
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
17022
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
17023
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
 
17024
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17025
else
 
17026
  lt_cv_prog_compiler_static_works_GCJ=no
 
17027
   save_LDFLAGS="$LDFLAGS"
 
17028
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
17029
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
17030
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
17031
     # The linker can only warn and ignore the option if not recognized
 
17032
     # So say no if there are warnings
 
17033
     if test -s conftest.err; then
 
17034
       # Append any errors to the config.log.
 
17035
       cat conftest.err 1>&5
 
17036
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
17037
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
17038
       if diff conftest.exp conftest.er2 >/dev/null; then
 
17039
         lt_cv_prog_compiler_static_works_GCJ=yes
 
17040
       fi
 
17041
     else
 
17042
       lt_cv_prog_compiler_static_works_GCJ=yes
 
17043
     fi
 
17044
   fi
 
17045
   $rm -r conftest*
 
17046
   LDFLAGS="$save_LDFLAGS"
 
17047
 
 
17048
fi
 
17049
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
 
17050
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
 
17051
 
 
17052
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
 
17053
    :
 
17054
else
 
17055
    lt_prog_compiler_static_GCJ=
 
17056
fi
 
17057
 
 
17058
 
 
17059
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
17060
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16223
17061
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16224
17062
  echo $ECHO_N "(cached) $ECHO_C" >&6
16225
17063
else
16228
17066
   mkdir conftest
16229
17067
   cd conftest
16230
17068
   mkdir out
16231
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17069
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16232
17070
 
16233
17071
   lt_compiler_flag="-o out/conftest2.$ac_objext"
16234
17072
   # Insert the option either (1) after the last *FLAGS variable, or
16236
17074
   # Note that $ac_compile itself does not contain backslashes and begins
16237
17075
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16238
17076
   lt_compile=`echo "$ac_compile" | $SED \
16239
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
17077
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16240
17078
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16241
17079
   -e 's:$: $lt_compiler_flag:'`
16242
 
   (eval echo "\"\$as_me:16242: $lt_compile\"" >&5)
 
17080
   (eval echo "\"\$as_me:17080: $lt_compile\"" >&5)
16243
17081
   (eval "$lt_compile" 2>out/conftest.err)
16244
17082
   ac_status=$?
16245
17083
   cat out/conftest.err >&5
16246
 
   echo "$as_me:16246: \$? = $ac_status" >&5
 
17084
   echo "$as_me:17084: \$? = $ac_status" >&5
16247
17085
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16248
17086
   then
16249
17087
     # The compiler can only warn and ignore the option if not recognized
16250
17088
     # So say no if there are warnings
16251
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
16252
 
     $SED '/^$/d' out/conftest.err >out/conftest.er2
16253
 
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
17089
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
17090
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
17091
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16254
17092
       lt_cv_prog_compiler_c_o_GCJ=yes
16255
17093
     fi
16256
17094
   fi
16257
 
   chmod u+w .
 
17095
   chmod u+w . 2>&5
16258
17096
   $rm conftest*
16259
17097
   # SGI C++ compiler will create directory out/ii_files/ for
16260
17098
   # template instantiation
16265
17103
   $rm conftest*
16266
17104
 
16267
17105
fi
16268
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16269
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 
17106
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
17107
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16270
17108
 
16271
17109
 
16272
17110
hard_links="nottested"
16273
17111
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
16274
17112
  # do not overwrite the value of need_locks provided by the user
16275
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16276
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
17113
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
17114
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16277
17115
  hard_links=yes
16278
17116
  $rm conftest*
16279
17117
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16280
17118
  touch conftest.a
16281
17119
  ln conftest.a conftest.b 2>&5 || hard_links=no
16282
17120
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16283
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
16284
 
echo "${ECHO_T}$hard_links" >&6
 
17121
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
17122
echo "${ECHO_T}$hard_links" >&6; }
16285
17123
  if test "$hard_links" = no; then
16286
17124
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16287
17125
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16291
17129
  need_locks=no
16292
17130
fi
16293
17131
 
16294
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16295
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
17132
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
17133
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16296
17134
 
16297
17135
  runpath_var=
16298
17136
  allow_undefined_flag_GCJ=
16323
17161
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
16324
17162
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16325
17163
  # as well as any symbol that contains `d'.
16326
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
 
17164
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16327
17165
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16328
17166
  # platforms (ab)use it in PIC code, but their linkers get confused if
16329
17167
  # the symbol is explicitly referenced.  Since portable code cannot
16330
17168
  # rely on this symbol name, it's probably fine to never include it in
16331
17169
  # preloaded symbol tables.
 
17170
  # Exclude shared library initialization/finalization symbols.
16332
17171
  extract_expsyms_cmds=
16333
17172
  # Just being paranoid about ensuring that cc_basename is set.
16334
17173
  for cc_temp in $compiler""; do
16350
17189
      with_gnu_ld=no
16351
17190
    fi
16352
17191
    ;;
 
17192
  interix*)
 
17193
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
17194
    with_gnu_ld=yes
 
17195
    ;;
16353
17196
  openbsd*)
16354
17197
    with_gnu_ld=no
16355
17198
    ;;
16383
17226
 
16384
17227
    # See if GNU ld supports shared libraries.
16385
17228
    case $host_os in
16386
 
    aix3* | aix4* | aix5*)
 
17229
    aix[3-9]*)
16387
17230
      # On AIX/PPC, the GNU linker is very broken
16388
17231
      if test "$host_cpu" != ia64; then
16389
17232
        ld_shlibs_GCJ=no
16431
17274
      allow_undefined_flag_GCJ=unsupported
16432
17275
      always_export_symbols_GCJ=no
16433
17276
      enable_shared_with_static_runtimes_GCJ=yes
16434
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
17277
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16435
17278
 
16436
17279
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16437
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
17280
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16438
17281
        # If the export-symbols file already is a .def file (1st line
16439
17282
        # is EXPORTS), use it as is; otherwise, prepend...
16440
17283
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16443
17286
          echo EXPORTS > $output_objdir/$soname.def;
16444
17287
          cat $export_symbols >> $output_objdir/$soname.def;
16445
17288
        fi~
16446
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 
17289
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16447
17290
      else
16448
17291
        ld_shlibs_GCJ=no
16449
17292
      fi
16450
17293
      ;;
16451
17294
 
16452
 
    linux*)
 
17295
    interix[3-9]*)
 
17296
      hardcode_direct_GCJ=no
 
17297
      hardcode_shlibpath_var_GCJ=no
 
17298
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
17299
      export_dynamic_flag_spec_GCJ='${wl}-E'
 
17300
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
17301
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
17302
      # default) and relocated if they conflict, which is a slow very memory
 
17303
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
17304
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
17305
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
17306
      archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
17307
      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'
 
17308
      ;;
 
17309
 
 
17310
    gnu* | linux* | k*bsd*-gnu)
16453
17311
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16454
17312
        tmp_addflag=
16455
17313
        case $cc_basename,$host_cpu in
16456
17314
        pgcc*)                          # Portland Group C compiler
16457
 
          whole_archive_flag_spec_GCJ=
 
17315
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
17316
          tmp_addflag=' $pic_flag'
16458
17317
          ;;
16459
 
        pgf77* | pgf90* )                       # Portland Group f77 and f90 compilers
16460
 
          whole_archive_flag_spec_GCJ=
16461
 
          tmp_addflag=' -fpic -Mnomain' ;;
 
17318
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
17319
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
17320
          tmp_addflag=' $pic_flag -Mnomain' ;;
16462
17321
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
16463
17322
          tmp_addflag=' -i_dynamic' ;;
16464
17323
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
16466
17325
        ifc* | ifort*)                  # Intel Fortran compiler
16467
17326
          tmp_addflag=' -nofor_main' ;;
16468
17327
        esac
16469
 
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
17328
        case `$CC -V 2>&1 | sed 5q` in
 
17329
        *Sun\ C*)                       # Sun C 5.9
 
17330
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
17331
          tmp_sharedflag='-G' ;;
 
17332
        *Sun\ F*)                       # Sun Fortran 8.3
 
17333
          tmp_sharedflag='-G' ;;
 
17334
        *)
 
17335
          tmp_sharedflag='-shared' ;;
 
17336
        esac
 
17337
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16470
17338
 
16471
17339
        if test $supports_anon_versioning = yes; then
16472
17340
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
16473
17341
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16474
17342
  $echo "local: *; };" >> $output_objdir/$libname.ver~
16475
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
17343
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16476
17344
        fi
 
17345
        link_all_deplibs_GCJ=no
16477
17346
      else
16478
17347
        ld_shlibs_GCJ=no
16479
17348
      fi
16480
17349
      ;;
16481
17350
 
16482
 
    netbsd*)
 
17351
    netbsd* | netbsdelf*-gnu)
16483
17352
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16484
17353
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16485
17354
        wlarc=
16489
17358
      fi
16490
17359
      ;;
16491
17360
 
16492
 
    solaris* | sysv5*)
 
17361
    solaris*)
16493
17362
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16494
17363
        ld_shlibs_GCJ=no
16495
17364
        cat <<EOF 1>&2
16510
17379
      fi
16511
17380
      ;;
16512
17381
 
 
17382
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
17383
      case `$LD -v 2>&1` in
 
17384
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
17385
        ld_shlibs_GCJ=no
 
17386
        cat <<_LT_EOF 1>&2
 
17387
 
 
17388
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
17389
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
17390
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
17391
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
17392
*** your PATH or compiler configuration so that the native linker is
 
17393
*** used, and then restart.
 
17394
 
 
17395
_LT_EOF
 
17396
        ;;
 
17397
        *)
 
17398
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
17399
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
17400
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
17401
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
17402
          else
 
17403
            ld_shlibs_GCJ=no
 
17404
          fi
 
17405
        ;;
 
17406
      esac
 
17407
      ;;
 
17408
 
16513
17409
    sunos4*)
16514
17410
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16515
17411
      wlarc=
16543
17439
      # Note: this linker hardcodes the directories in LIBPATH if there
16544
17440
      # are no directories specified by -L.
16545
17441
      hardcode_minus_L_GCJ=yes
16546
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
17442
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16547
17443
        # Neither direct hardcoding nor static linking is supported with a
16548
17444
        # broken collect2.
16549
17445
        hardcode_direct_GCJ=unsupported
16550
17446
      fi
16551
17447
      ;;
16552
17448
 
16553
 
    aix4* | aix5*)
 
17449
    aix[4-9]*)
16554
17450
      if test "$host_cpu" = ia64; then
16555
17451
        # On IA64, the linker does run time linking by default, so we don't
16556
17452
        # have to do anything special.
16570
17466
        # Test if we are trying to use run time linking or normal
16571
17467
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16572
17468
        # need to do runtime linking.
16573
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
17469
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
16574
17470
          for ld_flag in $LDFLAGS; do
16575
17471
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
16576
17472
            aix_use_runtimelinking=yes
16577
17473
            break
16578
17474
          fi
16579
17475
          done
 
17476
          ;;
16580
17477
        esac
16581
17478
 
16582
17479
        exp_sym_flag='-bexport'
16603
17500
           strings "$collect2name" | grep resolve_lib_name >/dev/null
16604
17501
          then
16605
17502
          # We have reworked collect2
16606
 
          hardcode_direct_GCJ=yes
 
17503
          :
16607
17504
          else
16608
17505
          # We have old collect2
16609
17506
          hardcode_direct_GCJ=unsupported
16614
17511
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
16615
17512
          hardcode_libdir_separator_GCJ=
16616
17513
          fi
 
17514
          ;;
16617
17515
        esac
16618
17516
        shared_flag='-shared'
16619
17517
        if test "$aix_use_runtimelinking" = yes; then
16626
17524
        # chokes on -Wl,-G. The following line is correct:
16627
17525
          shared_flag='-G'
16628
17526
        else
16629
 
        if test "$aix_use_runtimelinking" = yes; then
 
17527
          if test "$aix_use_runtimelinking" = yes; then
16630
17528
            shared_flag='${wl}-G'
16631
17529
          else
16632
17530
            shared_flag='${wl}-bM:SRE'
16633
 
        fi
 
17531
          fi
16634
17532
        fi
16635
17533
      fi
16636
17534
 
16658
17556
}
16659
17557
_ACEOF
16660
17558
rm -f conftest.$ac_objext conftest$ac_exeext
16661
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16662
 
  (eval $ac_link) 2>conftest.er1
 
17559
if { (ac_try="$ac_link"
 
17560
case "(($ac_try" in
 
17561
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17562
  *) ac_try_echo=$ac_try;;
 
17563
esac
 
17564
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17565
  (eval "$ac_link") 2>conftest.er1
16663
17566
  ac_status=$?
16664
17567
  grep -v '^ *+' conftest.er1 >conftest.err
16665
17568
  rm -f conftest.er1
16666
17569
  cat conftest.err >&5
16667
17570
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668
 
  (exit $ac_status); } &&
16669
 
         { ac_try='test -z "$ac_cxx_werror_flag"
16670
 
                         || test ! -s conftest.err'
16671
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16672
 
  (eval $ac_try) 2>&5
16673
 
  ac_status=$?
16674
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675
 
  (exit $ac_status); }; } &&
16676
 
         { ac_try='test -s conftest$ac_exeext'
16677
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16678
 
  (eval $ac_try) 2>&5
16679
 
  ac_status=$?
16680
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681
 
  (exit $ac_status); }; }; then
 
17571
  (exit $ac_status); } && {
 
17572
         test -z "$ac_cxx_werror_flag" ||
 
17573
         test ! -s conftest.err
 
17574
       } && test -s conftest$ac_exeext &&
 
17575
       $as_test_x conftest$ac_exeext; then
16682
17576
 
16683
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16684
 
}'`
 
17577
lt_aix_libpath_sed='
 
17578
    /Import File Strings/,/^$/ {
 
17579
        /^0/ {
 
17580
            s/^0  *\(.*\)$/\1/
 
17581
            p
 
17582
        }
 
17583
    }'
 
17584
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16685
17585
# Check for a 64-bit object if we didn't find anything.
16686
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16687
 
}'`; fi
 
17586
if test -z "$aix_libpath"; then
 
17587
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
17588
fi
16688
17589
else
16689
17590
  echo "$as_me: failed program was:" >&5
16690
17591
sed 's/^/| /' conftest.$ac_ext >&5
16691
17592
 
 
17593
 
16692
17594
fi
16693
 
rm -f conftest.err conftest.$ac_objext \
 
17595
 
 
17596
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16694
17597
      conftest$ac_exeext conftest.$ac_ext
16695
17598
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16696
17599
 
16697
17600
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16698
 
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
17601
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16699
17602
       else
16700
17603
        if test "$host_cpu" = ia64; then
16701
17604
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
16702
17605
          allow_undefined_flag_GCJ="-z nodefs"
16703
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
17606
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
16704
17607
        else
16705
17608
         # Determine the default libpath from the value encoded in an empty executable.
16706
17609
         cat >conftest.$ac_ext <<_ACEOF
16719
17622
}
16720
17623
_ACEOF
16721
17624
rm -f conftest.$ac_objext conftest$ac_exeext
16722
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16723
 
  (eval $ac_link) 2>conftest.er1
 
17625
if { (ac_try="$ac_link"
 
17626
case "(($ac_try" in
 
17627
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17628
  *) ac_try_echo=$ac_try;;
 
17629
esac
 
17630
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17631
  (eval "$ac_link") 2>conftest.er1
16724
17632
  ac_status=$?
16725
17633
  grep -v '^ *+' conftest.er1 >conftest.err
16726
17634
  rm -f conftest.er1
16727
17635
  cat conftest.err >&5
16728
17636
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16729
 
  (exit $ac_status); } &&
16730
 
         { ac_try='test -z "$ac_cxx_werror_flag"
16731
 
                         || test ! -s conftest.err'
16732
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16733
 
  (eval $ac_try) 2>&5
16734
 
  ac_status=$?
16735
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16736
 
  (exit $ac_status); }; } &&
16737
 
         { ac_try='test -s conftest$ac_exeext'
16738
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16739
 
  (eval $ac_try) 2>&5
16740
 
  ac_status=$?
16741
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16742
 
  (exit $ac_status); }; }; then
 
17637
  (exit $ac_status); } && {
 
17638
         test -z "$ac_cxx_werror_flag" ||
 
17639
         test ! -s conftest.err
 
17640
       } && test -s conftest$ac_exeext &&
 
17641
       $as_test_x conftest$ac_exeext; then
16743
17642
 
16744
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16745
 
}'`
 
17643
lt_aix_libpath_sed='
 
17644
    /Import File Strings/,/^$/ {
 
17645
        /^0/ {
 
17646
            s/^0  *\(.*\)$/\1/
 
17647
            p
 
17648
        }
 
17649
    }'
 
17650
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16746
17651
# Check for a 64-bit object if we didn't find anything.
16747
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16748
 
}'`; fi
 
17652
if test -z "$aix_libpath"; then
 
17653
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
17654
fi
16749
17655
else
16750
17656
  echo "$as_me: failed program was:" >&5
16751
17657
sed 's/^/| /' conftest.$ac_ext >&5
16752
17658
 
 
17659
 
16753
17660
fi
16754
 
rm -f conftest.err conftest.$ac_objext \
 
17661
 
 
17662
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16755
17663
      conftest$ac_exeext conftest.$ac_ext
16756
17664
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16757
17665
 
16760
17668
          # -berok will link without error, but may produce a broken library.
16761
17669
          no_undefined_flag_GCJ=' ${wl}-bernotok'
16762
17670
          allow_undefined_flag_GCJ=' ${wl}-berok'
16763
 
          # -bexpall does not export symbols beginning with underscore (_)
16764
 
          always_export_symbols_GCJ=yes
16765
17671
          # Exported symbols can be pulled into shared objects from archives
16766
 
          whole_archive_flag_spec_GCJ=' '
 
17672
          whole_archive_flag_spec_GCJ='$convenience'
16767
17673
          archive_cmds_need_lc_GCJ=yes
16768
 
          # This is similar to how AIX traditionally builds it's shared libraries.
16769
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
17674
          # This is similar to how AIX traditionally builds its shared libraries.
 
17675
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16770
17676
        fi
16771
17677
      fi
16772
17678
      ;;
16799
17705
      # The linker will automatically build a .lib file if we build a DLL.
16800
17706
      old_archive_From_new_cmds_GCJ='true'
16801
17707
      # FIXME: Should let the user specify the lib program.
16802
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
17708
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
16803
17709
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
16804
17710
      enable_shared_with_static_runtimes_GCJ=yes
16805
17711
      ;;
16806
17712
 
16807
17713
    darwin* | rhapsody*)
16808
 
      case "$host_os" in
 
17714
      case $host_os in
16809
17715
        rhapsody* | darwin1.[012])
16810
17716
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
16811
17717
         ;;
16832
17738
      link_all_deplibs_GCJ=yes
16833
17739
    if test "$GCC" = yes ; then
16834
17740
        output_verbose_link_cmd='echo'
16835
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16836
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16837
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16838
 
      archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16839
 
      module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
17741
        archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
17742
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
17743
        archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
17744
        module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
16840
17745
    else
16841
17746
      case $cc_basename in
16842
17747
        xlc*)
16843
17748
         output_verbose_link_cmd='echo'
16844
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
17749
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16845
17750
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16846
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16847
 
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
17751
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
17752
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16848
17753
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16849
17754
          ;;
16850
17755
       *)
16884
17789
      ;;
16885
17790
 
16886
17791
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16887
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
17792
    freebsd* | dragonfly*)
16888
17793
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16889
17794
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
16890
17795
      hardcode_direct_GCJ=yes
16907
17812
      export_dynamic_flag_spec_GCJ='${wl}-E'
16908
17813
      ;;
16909
17814
 
16910
 
    hpux10* | hpux11*)
16911
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16912
 
        case "$host_cpu" in
16913
 
        hppa*64*|ia64*)
 
17815
    hpux10*)
 
17816
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
17817
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
17818
      else
 
17819
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
17820
      fi
 
17821
      if test "$with_gnu_ld" = no; then
 
17822
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
17823
        hardcode_libdir_separator_GCJ=:
 
17824
 
 
17825
        hardcode_direct_GCJ=yes
 
17826
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
17827
 
 
17828
        # hardcode_minus_L: Not really in the search PATH,
 
17829
        # but as the default location of the library.
 
17830
        hardcode_minus_L_GCJ=yes
 
17831
      fi
 
17832
      ;;
 
17833
 
 
17834
    hpux11*)
 
17835
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
17836
        case $host_cpu in
 
17837
        hppa*64*)
16914
17838
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16915
17839
          ;;
 
17840
        ia64*)
 
17841
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
17842
          ;;
16916
17843
        *)
16917
17844
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16918
17845
          ;;
16919
17846
        esac
16920
17847
      else
16921
 
        case "$host_cpu" in
16922
 
        hppa*64*|ia64*)
16923
 
          archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
17848
        case $host_cpu in
 
17849
        hppa*64*)
 
17850
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17851
          ;;
 
17852
        ia64*)
 
17853
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16924
17854
          ;;
16925
17855
        *)
16926
 
          archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
17856
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16927
17857
          ;;
16928
17858
        esac
16929
17859
      fi
16930
17860
      if test "$with_gnu_ld" = no; then
16931
 
        case "$host_cpu" in
16932
 
        hppa*64*)
16933
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
17861
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
17862
        hardcode_libdir_separator_GCJ=:
 
17863
 
 
17864
        case $host_cpu in
 
17865
        hppa*64*|ia64*)
16934
17866
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
16935
 
          hardcode_libdir_separator_GCJ=:
16936
 
          hardcode_direct_GCJ=no
16937
 
          hardcode_shlibpath_var_GCJ=no
16938
 
          ;;
16939
 
        ia64*)
16940
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
16941
 
          hardcode_direct_GCJ=no
16942
 
          hardcode_shlibpath_var_GCJ=no
16943
 
 
16944
 
          # hardcode_minus_L: Not really in the search PATH,
16945
 
          # but as the default location of the library.
16946
 
          hardcode_minus_L_GCJ=yes
 
17867
          hardcode_direct_GCJ=no
 
17868
          hardcode_shlibpath_var_GCJ=no
16947
17869
          ;;
16948
17870
        *)
16949
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16950
 
          hardcode_libdir_separator_GCJ=:
16951
17871
          hardcode_direct_GCJ=yes
16952
17872
          export_dynamic_flag_spec_GCJ='${wl}-E'
16953
17873
 
16971
17891
      link_all_deplibs_GCJ=yes
16972
17892
      ;;
16973
17893
 
16974
 
    netbsd*)
 
17894
    netbsd* | netbsdelf*-gnu)
16975
17895
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16976
17896
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
16977
17897
      else
16991
17911
      ;;
16992
17912
 
16993
17913
    openbsd*)
16994
 
      hardcode_direct_GCJ=yes
16995
 
      hardcode_shlibpath_var_GCJ=no
16996
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16997
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16998
 
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16999
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17000
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
17914
      if test -f /usr/libexec/ld.so; then
 
17915
        hardcode_direct_GCJ=yes
 
17916
        hardcode_shlibpath_var_GCJ=no
 
17917
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
17918
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
17919
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
17920
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
17921
          export_dynamic_flag_spec_GCJ='${wl}-E'
 
17922
        else
 
17923
          case $host_os in
 
17924
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
17925
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
17926
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
17927
             ;;
 
17928
           *)
 
17929
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
17930
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
17931
             ;;
 
17932
          esac
 
17933
        fi
17001
17934
      else
17002
 
       case $host_os in
17003
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17004
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17005
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
17006
 
           ;;
17007
 
         *)
17008
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17009
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17010
 
           ;;
17011
 
       esac
 
17935
        ld_shlibs_GCJ=no
17012
17936
      fi
17013
17937
      ;;
17014
17938
 
17049
17973
      hardcode_libdir_separator_GCJ=:
17050
17974
      ;;
17051
17975
 
17052
 
    sco3.2v5*)
17053
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17054
 
      hardcode_shlibpath_var_GCJ=no
17055
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
17056
 
      runpath_var=LD_RUN_PATH
17057
 
      hardcode_runpath_var=yes
17058
 
      ;;
17059
 
 
17060
17976
    solaris*)
17061
17977
      no_undefined_flag_GCJ=' -z text'
17062
17978
      if test "$GCC" = yes; then
17075
17991
      case $host_os in
17076
17992
      solaris2.[0-5] | solaris2.[0-5].*) ;;
17077
17993
      *)
17078
 
        # The compiler driver will combine linker options so we
17079
 
        # cannot just pass the convience library names through
17080
 
        # without $wl, iff we do not link with $LD.
17081
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
17994
        # The compiler driver will combine and reorder linker options,
 
17995
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
17996
        # but is careful enough not to reorder.
17082
17997
        # Supported since Solaris 2.6 (maybe 2.5.1?)
17083
 
        case $wlarc in
17084
 
        '')
17085
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
17086
 
        *)
17087
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17088
 
        esac ;;
 
17998
        if test "$GCC" = yes; then
 
17999
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
18000
        else
 
18001
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
 
18002
        fi
 
18003
        ;;
17089
18004
      esac
17090
18005
      link_all_deplibs_GCJ=yes
17091
18006
      ;;
17142
18057
      fi
17143
18058
      ;;
17144
18059
 
17145
 
    sysv4.2uw2*)
17146
 
      archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17147
 
      hardcode_direct_GCJ=yes
17148
 
      hardcode_minus_L_GCJ=no
17149
 
      hardcode_shlibpath_var_GCJ=no
17150
 
      hardcode_runpath_var=yes
17151
 
      runpath_var=LD_RUN_PATH
17152
 
      ;;
17153
 
 
17154
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
17155
 
      no_undefined_flag_GCJ='${wl}-z ${wl}text'
17156
 
      if test "$GCC" = yes; then
17157
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17158
 
      else
17159
 
        archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17160
 
      fi
17161
 
      runpath_var='LD_RUN_PATH'
17162
 
      hardcode_shlibpath_var_GCJ=no
17163
 
      ;;
17164
 
 
17165
 
    sysv5*)
17166
 
      no_undefined_flag_GCJ=' -z text'
17167
 
      # $CC -shared without GNU ld will not create a library from C++
17168
 
      # object files and a static libstdc++, better avoid it by now
17169
 
      archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17170
 
      archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17171
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17172
 
      hardcode_libdir_flag_spec_GCJ=
17173
 
      hardcode_shlibpath_var_GCJ=no
17174
 
      runpath_var='LD_RUN_PATH'
 
18060
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
18061
      no_undefined_flag_GCJ='${wl}-z,text'
 
18062
      archive_cmds_need_lc_GCJ=no
 
18063
      hardcode_shlibpath_var_GCJ=no
 
18064
      runpath_var='LD_RUN_PATH'
 
18065
 
 
18066
      if test "$GCC" = yes; then
 
18067
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18068
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18069
      else
 
18070
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18071
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18072
      fi
 
18073
      ;;
 
18074
 
 
18075
    sysv5* | sco3.2v5* | sco5v6*)
 
18076
      # Note: We can NOT use -z defs as we might desire, because we do not
 
18077
      # link with -lc, and that would cause any symbols used from libc to
 
18078
      # always be unresolved, which means just about no library would
 
18079
      # ever link correctly.  If we're not using GNU ld we use -z text
 
18080
      # though, which does catch some bad symbols but isn't as heavy-handed
 
18081
      # as -z defs.
 
18082
      no_undefined_flag_GCJ='${wl}-z,text'
 
18083
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
 
18084
      archive_cmds_need_lc_GCJ=no
 
18085
      hardcode_shlibpath_var_GCJ=no
 
18086
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
18087
      hardcode_libdir_separator_GCJ=':'
 
18088
      link_all_deplibs_GCJ=yes
 
18089
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
 
18090
      runpath_var='LD_RUN_PATH'
 
18091
 
 
18092
      if test "$GCC" = yes; then
 
18093
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18094
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18095
      else
 
18096
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18097
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18098
      fi
17175
18099
      ;;
17176
18100
 
17177
18101
    uts4*)
17186
18110
    esac
17187
18111
  fi
17188
18112
 
17189
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17190
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 
18113
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
18114
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17191
18115
test "$ld_shlibs_GCJ" = no && can_build_shared=no
17192
18116
 
17193
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17194
 
if test "$GCC" = yes; then
17195
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17196
 
fi
17197
 
 
17198
18117
#
17199
18118
# Do we need to explicitly link libc?
17200
18119
#
17212
18131
      # Test whether the compiler implicitly links with -lc since on some
17213
18132
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17214
18133
      # to ld, don't add -lc before -lgcc.
17215
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17216
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
18134
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
18135
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17217
18136
      $rm conftest*
17218
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18137
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17219
18138
 
17220
18139
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17221
18140
  (eval $ac_compile) 2>&5
17227
18146
        libobjs=conftest.$ac_objext
17228
18147
        deplibs=
17229
18148
        wl=$lt_prog_compiler_wl_GCJ
 
18149
        pic_flag=$lt_prog_compiler_pic_GCJ
17230
18150
        compiler_flags=-v
17231
18151
        linker_flags=-v
17232
18152
        verstring=
17249
18169
        cat conftest.err 1>&5
17250
18170
      fi
17251
18171
      $rm conftest*
17252
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17253
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 
18172
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
18173
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17254
18174
      ;;
17255
18175
    esac
17256
18176
  fi
17257
18177
  ;;
17258
18178
esac
17259
18179
 
17260
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17261
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
18180
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
18181
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17262
18182
library_names_spec=
17263
18183
libname_spec='lib$name'
17264
18184
soname_spec=
17272
18192
version_type=none
17273
18193
dynamic_linker="$host_os ld.so"
17274
18194
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17275
 
if test "$GCC" = yes; then
17276
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17277
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
17278
 
    # if the path contains ";" then we assume it to be the separator
17279
 
    # otherwise default to the standard path separator (i.e. ":") - it is
17280
 
    # assumed that no part of a normal pathname contains ";" but that should
17281
 
    # okay in the real world where ";" in dirpaths is itself problematic.
17282
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17283
 
  else
17284
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17285
 
  fi
17286
 
else
17287
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17288
 
fi
 
18195
 
17289
18196
need_lib_prefix=unknown
17290
18197
hardcode_into_libs=no
17291
18198
 
17303
18210
  soname_spec='${libname}${release}${shared_ext}$major'
17304
18211
  ;;
17305
18212
 
17306
 
aix4* | aix5*)
 
18213
aix[4-9]*)
17307
18214
  version_type=linux
17308
18215
  need_lib_prefix=no
17309
18216
  need_version=no
17387
18294
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17388
18295
      dldir=$destdir/`dirname \$dlpath`~
17389
18296
      test -d \$dldir || mkdir -p \$dldir~
17390
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
18297
      $install_prog $dir/$dlname \$dldir/$dlname~
 
18298
      chmod a+x \$dldir/$dlname'
17391
18299
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17392
18300
      dlpath=$dir/\$dldll~
17393
18301
       $rm \$dlpath'
17440
18348
  soname_spec='${libname}${release}${major}$shared_ext'
17441
18349
  shlibpath_overrides_runpath=yes
17442
18350
  shlibpath_var=DYLD_LIBRARY_PATH
17443
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
17444
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17445
 
  if test "$GCC" = yes; then
17446
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
17447
 
  else
17448
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
17449
 
  fi
 
18351
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
18352
 
17450
18353
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17451
18354
  ;;
17452
18355
 
17463
18366
  dynamic_linker=no
17464
18367
  ;;
17465
18368
 
17466
 
kfreebsd*-gnu)
17467
 
  version_type=linux
17468
 
  need_lib_prefix=no
17469
 
  need_version=no
17470
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17471
 
  soname_spec='${libname}${release}${shared_ext}$major'
17472
 
  shlibpath_var=LD_LIBRARY_PATH
17473
 
  shlibpath_overrides_runpath=no
17474
 
  hardcode_into_libs=yes
17475
 
  dynamic_linker='GNU ld.so'
17476
 
  ;;
17477
 
 
17478
18369
freebsd* | dragonfly*)
17479
18370
  # DragonFly does not have aout.  When/if they implement a new
17480
18371
  # versioning mechanism, adjust this.
17481
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
18372
  if test -x /usr/bin/objformat; then
 
18373
    objformat=`/usr/bin/objformat`
 
18374
  else
 
18375
    case $host_os in
 
18376
    freebsd[123]*) objformat=aout ;;
 
18377
    *) objformat=elf ;;
 
18378
    esac
 
18379
  fi
17482
18380
  version_type=freebsd-$objformat
17483
18381
  case $version_type in
17484
18382
    freebsd-elf*)
17500
18398
    shlibpath_overrides_runpath=yes
17501
18399
    hardcode_into_libs=yes
17502
18400
    ;;
17503
 
  *) # from 3.2 on
 
18401
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
18402
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17504
18403
    shlibpath_overrides_runpath=no
17505
18404
    hardcode_into_libs=yes
17506
18405
    ;;
 
18406
  *) # from 4.6 on, and DragonFly
 
18407
    shlibpath_overrides_runpath=yes
 
18408
    hardcode_into_libs=yes
 
18409
    ;;
17507
18410
  esac
17508
18411
  ;;
17509
18412
 
17523
18426
  version_type=sunos
17524
18427
  need_lib_prefix=no
17525
18428
  need_version=no
17526
 
  case "$host_cpu" in
 
18429
  case $host_cpu in
17527
18430
  ia64*)
17528
18431
    shrext_cmds='.so'
17529
18432
    hardcode_into_libs=yes
17563
18466
  postinstall_cmds='chmod 555 $lib'
17564
18467
  ;;
17565
18468
 
 
18469
interix[3-9]*)
 
18470
  version_type=linux
 
18471
  need_lib_prefix=no
 
18472
  need_version=no
 
18473
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
18474
  soname_spec='${libname}${release}${shared_ext}$major'
 
18475
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
18476
  shlibpath_var=LD_LIBRARY_PATH
 
18477
  shlibpath_overrides_runpath=no
 
18478
  hardcode_into_libs=yes
 
18479
  ;;
 
18480
 
17566
18481
irix5* | irix6* | nonstopux*)
17567
18482
  case $host_os in
17568
18483
    nonstopux*) version_type=nonstopux ;;
17606
18521
  ;;
17607
18522
 
17608
18523
# This must be Linux ELF.
17609
 
linux*)
 
18524
linux* | k*bsd*-gnu)
17610
18525
  version_type=linux
17611
18526
  need_lib_prefix=no
17612
18527
  need_version=no
17620
18535
  # before this can be enabled.
17621
18536
  hardcode_into_libs=yes
17622
18537
 
17623
 
  # find out which ABI we are using
17624
 
  libsuff=
17625
 
  case "$host_cpu" in
17626
 
  x86_64*|s390x*|powerpc64*)
17627
 
    echo '#line 17627 "configure"' > conftest.$ac_ext
17628
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17629
 
  (eval $ac_compile) 2>&5
17630
 
  ac_status=$?
17631
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17632
 
  (exit $ac_status); }; then
17633
 
      case `/usr/bin/file conftest.$ac_objext` in
17634
 
      *64-bit*)
17635
 
        libsuff=64
17636
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17637
 
        ;;
17638
 
      esac
17639
 
    fi
17640
 
    rm -rf conftest*
17641
 
    ;;
17642
 
  esac
17643
 
 
17644
18538
  # Append ld.so.conf contents to the search path
17645
18539
  if test -f /etc/ld.so.conf; then
17646
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17647
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
18540
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
18541
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17648
18542
  fi
17649
18543
 
17650
18544
  # We used to test for /lib/ld.so.1 and disable shared libraries on
17656
18550
  dynamic_linker='GNU/Linux ld.so'
17657
18551
  ;;
17658
18552
 
17659
 
knetbsd*-gnu)
 
18553
netbsdelf*-gnu)
17660
18554
  version_type=linux
17661
18555
  need_lib_prefix=no
17662
18556
  need_version=no
17665
18559
  shlibpath_var=LD_LIBRARY_PATH
17666
18560
  shlibpath_overrides_runpath=no
17667
18561
  hardcode_into_libs=yes
17668
 
  dynamic_linker='GNU ld.so'
 
18562
  dynamic_linker='NetBSD ld.elf_so'
17669
18563
  ;;
17670
18564
 
17671
18565
netbsd*)
17705
18599
 
17706
18600
openbsd*)
17707
18601
  version_type=sunos
 
18602
  sys_lib_dlsearch_path_spec="/usr/lib"
17708
18603
  need_lib_prefix=no
17709
 
  need_version=no
 
18604
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
18605
  case $host_os in
 
18606
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
18607
    *)                         need_version=no  ;;
 
18608
  esac
17710
18609
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17711
18610
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17712
18611
  shlibpath_var=LD_LIBRARY_PATH
17744
18643
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17745
18644
  ;;
17746
18645
 
17747
 
sco3.2v5*)
17748
 
  version_type=osf
17749
 
  soname_spec='${libname}${release}${shared_ext}$major'
17750
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17751
 
  shlibpath_var=LD_LIBRARY_PATH
 
18646
rdos*)
 
18647
  dynamic_linker=no
17752
18648
  ;;
17753
18649
 
17754
18650
solaris*)
17776
18672
  need_version=yes
17777
18673
  ;;
17778
18674
 
17779
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
18675
sysv4 | sysv4.3*)
17780
18676
  version_type=linux
17781
18677
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17782
18678
  soname_spec='${libname}${release}${shared_ext}$major'
17809
18705
  fi
17810
18706
  ;;
17811
18707
 
 
18708
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
18709
  version_type=freebsd-elf
 
18710
  need_lib_prefix=no
 
18711
  need_version=no
 
18712
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
18713
  soname_spec='${libname}${release}${shared_ext}$major'
 
18714
  shlibpath_var=LD_LIBRARY_PATH
 
18715
  hardcode_into_libs=yes
 
18716
  if test "$with_gnu_ld" = yes; then
 
18717
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
18718
    shlibpath_overrides_runpath=no
 
18719
  else
 
18720
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
18721
    shlibpath_overrides_runpath=yes
 
18722
    case $host_os in
 
18723
      sco3.2v5*)
 
18724
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
18725
        ;;
 
18726
    esac
 
18727
  fi
 
18728
  sys_lib_dlsearch_path_spec='/usr/lib'
 
18729
  ;;
 
18730
 
17812
18731
uts4*)
17813
18732
  version_type=linux
17814
18733
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17820
18739
  dynamic_linker=no
17821
18740
  ;;
17822
18741
esac
17823
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17824
 
echo "${ECHO_T}$dynamic_linker" >&6
 
18742
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
18743
echo "${ECHO_T}$dynamic_linker" >&6; }
17825
18744
test "$dynamic_linker" = no && can_build_shared=no
17826
18745
 
17827
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17828
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
18746
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
18747
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18748
else
 
18749
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
18750
fi
 
18751
 
 
18752
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
18753
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
18754
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18755
else
 
18756
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
18757
fi
 
18758
 
 
18759
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
18760
 
 
18761
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
18762
if test "$GCC" = yes; then
 
18763
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
18764
fi
 
18765
 
 
18766
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
18767
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17829
18768
hardcode_action_GCJ=
17830
18769
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17831
18770
   test -n "$runpath_var_GCJ" || \
17849
18788
  # directories.
17850
18789
  hardcode_action_GCJ=unsupported
17851
18790
fi
17852
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17853
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
 
18791
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
18792
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
17854
18793
 
17855
18794
if test "$hardcode_action_GCJ" = relink; then
17856
18795
  # Fast installation is not supported
17861
18800
  enable_fast_install=needless
17862
18801
fi
17863
18802
 
17864
 
striplib=
17865
 
old_striplib=
17866
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17867
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17868
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
17869
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
17870
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
17871
 
  echo "$as_me:$LINENO: result: yes" >&5
17872
 
echo "${ECHO_T}yes" >&6
17873
 
else
17874
 
# FIXME - insert some real tests, host_os isn't really good enough
17875
 
  case $host_os in
17876
 
   darwin*)
17877
 
       if test -n "$STRIP" ; then
17878
 
         striplib="$STRIP -x"
17879
 
         echo "$as_me:$LINENO: result: yes" >&5
17880
 
echo "${ECHO_T}yes" >&6
17881
 
       else
17882
 
  echo "$as_me:$LINENO: result: no" >&5
17883
 
echo "${ECHO_T}no" >&6
17884
 
fi
17885
 
       ;;
17886
 
   *)
17887
 
  echo "$as_me:$LINENO: result: no" >&5
17888
 
echo "${ECHO_T}no" >&6
17889
 
    ;;
17890
 
  esac
17891
 
fi
17892
 
 
17893
 
if test "x$enable_dlopen" != xyes; then
17894
 
  enable_dlopen=unknown
17895
 
  enable_dlopen_self=unknown
17896
 
  enable_dlopen_self_static=unknown
17897
 
else
17898
 
  lt_cv_dlopen=no
17899
 
  lt_cv_dlopen_libs=
17900
 
 
17901
 
  case $host_os in
17902
 
  beos*)
17903
 
    lt_cv_dlopen="load_add_on"
17904
 
    lt_cv_dlopen_libs=
17905
 
    lt_cv_dlopen_self=yes
17906
 
    ;;
17907
 
 
17908
 
  mingw* | pw32*)
17909
 
    lt_cv_dlopen="LoadLibrary"
17910
 
    lt_cv_dlopen_libs=
17911
 
   ;;
17912
 
 
17913
 
  cygwin*)
17914
 
    lt_cv_dlopen="dlopen"
17915
 
    lt_cv_dlopen_libs=
17916
 
   ;;
17917
 
 
17918
 
  darwin*)
17919
 
  # if libdl is installed we need to link against it
17920
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17921
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17922
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17923
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17924
 
else
17925
 
  ac_check_lib_save_LIBS=$LIBS
17926
 
LIBS="-ldl  $LIBS"
17927
 
cat >conftest.$ac_ext <<_ACEOF
17928
 
/* confdefs.h.  */
17929
 
_ACEOF
17930
 
cat confdefs.h >>conftest.$ac_ext
17931
 
cat >>conftest.$ac_ext <<_ACEOF
17932
 
/* end confdefs.h.  */
17933
 
 
17934
 
/* Override any gcc2 internal prototype to avoid an error.  */
17935
 
#ifdef __cplusplus
17936
 
extern "C"
17937
 
#endif
17938
 
/* We use char because int might match the return type of a gcc2
17939
 
   builtin and then its argument prototype would still apply.  */
17940
 
char dlopen ();
17941
 
int
17942
 
main ()
17943
 
{
17944
 
dlopen ();
17945
 
  ;
17946
 
  return 0;
17947
 
}
17948
 
_ACEOF
17949
 
rm -f conftest.$ac_objext conftest$ac_exeext
17950
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17951
 
  (eval $ac_link) 2>conftest.er1
17952
 
  ac_status=$?
17953
 
  grep -v '^ *+' conftest.er1 >conftest.err
17954
 
  rm -f conftest.er1
17955
 
  cat conftest.err >&5
17956
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17957
 
  (exit $ac_status); } &&
17958
 
         { ac_try='test -z "$ac_cxx_werror_flag"
17959
 
                         || test ! -s conftest.err'
17960
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17961
 
  (eval $ac_try) 2>&5
17962
 
  ac_status=$?
17963
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17964
 
  (exit $ac_status); }; } &&
17965
 
         { ac_try='test -s conftest$ac_exeext'
17966
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17967
 
  (eval $ac_try) 2>&5
17968
 
  ac_status=$?
17969
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17970
 
  (exit $ac_status); }; }; then
17971
 
  ac_cv_lib_dl_dlopen=yes
17972
 
else
17973
 
  echo "$as_me: failed program was:" >&5
17974
 
sed 's/^/| /' conftest.$ac_ext >&5
17975
 
 
17976
 
ac_cv_lib_dl_dlopen=no
17977
 
fi
17978
 
rm -f conftest.err conftest.$ac_objext \
17979
 
      conftest$ac_exeext conftest.$ac_ext
17980
 
LIBS=$ac_check_lib_save_LIBS
17981
 
fi
17982
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17983
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17984
 
if test $ac_cv_lib_dl_dlopen = yes; then
17985
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17986
 
else
17987
 
 
17988
 
    lt_cv_dlopen="dyld"
17989
 
    lt_cv_dlopen_libs=
17990
 
    lt_cv_dlopen_self=yes
17991
 
 
17992
 
fi
17993
 
 
17994
 
   ;;
17995
 
 
17996
 
  *)
17997
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
17998
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
17999
 
if test "${ac_cv_func_shl_load+set}" = set; then
18000
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18001
 
else
18002
 
  cat >conftest.$ac_ext <<_ACEOF
18003
 
/* confdefs.h.  */
18004
 
_ACEOF
18005
 
cat confdefs.h >>conftest.$ac_ext
18006
 
cat >>conftest.$ac_ext <<_ACEOF
18007
 
/* end confdefs.h.  */
18008
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
18009
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18010
 
#define shl_load innocuous_shl_load
18011
 
 
18012
 
/* System header to define __stub macros and hopefully few prototypes,
18013
 
    which can conflict with char shl_load (); below.
18014
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18015
 
    <limits.h> exists even on freestanding compilers.  */
18016
 
 
18017
 
#ifdef __STDC__
18018
 
# include <limits.h>
18019
 
#else
18020
 
# include <assert.h>
18021
 
#endif
18022
 
 
18023
 
#undef shl_load
18024
 
 
18025
 
/* Override any gcc2 internal prototype to avoid an error.  */
18026
 
#ifdef __cplusplus
18027
 
extern "C"
18028
 
{
18029
 
#endif
18030
 
/* We use char because int might match the return type of a gcc2
18031
 
   builtin and then its argument prototype would still apply.  */
18032
 
char shl_load ();
18033
 
/* The GNU C library defines this for functions which it implements
18034
 
    to always fail with ENOSYS.  Some functions are actually named
18035
 
    something starting with __ and the normal name is an alias.  */
18036
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
18037
 
choke me
18038
 
#else
18039
 
char (*f) () = shl_load;
18040
 
#endif
18041
 
#ifdef __cplusplus
18042
 
}
18043
 
#endif
18044
 
 
18045
 
int
18046
 
main ()
18047
 
{
18048
 
return f != shl_load;
18049
 
  ;
18050
 
  return 0;
18051
 
}
18052
 
_ACEOF
18053
 
rm -f conftest.$ac_objext conftest$ac_exeext
18054
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18055
 
  (eval $ac_link) 2>conftest.er1
18056
 
  ac_status=$?
18057
 
  grep -v '^ *+' conftest.er1 >conftest.err
18058
 
  rm -f conftest.er1
18059
 
  cat conftest.err >&5
18060
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18061
 
  (exit $ac_status); } &&
18062
 
         { ac_try='test -z "$ac_cxx_werror_flag"
18063
 
                         || test ! -s conftest.err'
18064
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18065
 
  (eval $ac_try) 2>&5
18066
 
  ac_status=$?
18067
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18068
 
  (exit $ac_status); }; } &&
18069
 
         { ac_try='test -s conftest$ac_exeext'
18070
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18071
 
  (eval $ac_try) 2>&5
18072
 
  ac_status=$?
18073
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18074
 
  (exit $ac_status); }; }; then
18075
 
  ac_cv_func_shl_load=yes
18076
 
else
18077
 
  echo "$as_me: failed program was:" >&5
18078
 
sed 's/^/| /' conftest.$ac_ext >&5
18079
 
 
18080
 
ac_cv_func_shl_load=no
18081
 
fi
18082
 
rm -f conftest.err conftest.$ac_objext \
18083
 
      conftest$ac_exeext conftest.$ac_ext
18084
 
fi
18085
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
18086
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
18087
 
if test $ac_cv_func_shl_load = yes; then
18088
 
  lt_cv_dlopen="shl_load"
18089
 
else
18090
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
18091
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
18092
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
18093
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18094
 
else
18095
 
  ac_check_lib_save_LIBS=$LIBS
18096
 
LIBS="-ldld  $LIBS"
18097
 
cat >conftest.$ac_ext <<_ACEOF
18098
 
/* confdefs.h.  */
18099
 
_ACEOF
18100
 
cat confdefs.h >>conftest.$ac_ext
18101
 
cat >>conftest.$ac_ext <<_ACEOF
18102
 
/* end confdefs.h.  */
18103
 
 
18104
 
/* Override any gcc2 internal prototype to avoid an error.  */
18105
 
#ifdef __cplusplus
18106
 
extern "C"
18107
 
#endif
18108
 
/* We use char because int might match the return type of a gcc2
18109
 
   builtin and then its argument prototype would still apply.  */
18110
 
char shl_load ();
18111
 
int
18112
 
main ()
18113
 
{
18114
 
shl_load ();
18115
 
  ;
18116
 
  return 0;
18117
 
}
18118
 
_ACEOF
18119
 
rm -f conftest.$ac_objext conftest$ac_exeext
18120
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18121
 
  (eval $ac_link) 2>conftest.er1
18122
 
  ac_status=$?
18123
 
  grep -v '^ *+' conftest.er1 >conftest.err
18124
 
  rm -f conftest.er1
18125
 
  cat conftest.err >&5
18126
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127
 
  (exit $ac_status); } &&
18128
 
         { ac_try='test -z "$ac_cxx_werror_flag"
18129
 
                         || test ! -s conftest.err'
18130
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18131
 
  (eval $ac_try) 2>&5
18132
 
  ac_status=$?
18133
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18134
 
  (exit $ac_status); }; } &&
18135
 
         { ac_try='test -s conftest$ac_exeext'
18136
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18137
 
  (eval $ac_try) 2>&5
18138
 
  ac_status=$?
18139
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18140
 
  (exit $ac_status); }; }; then
18141
 
  ac_cv_lib_dld_shl_load=yes
18142
 
else
18143
 
  echo "$as_me: failed program was:" >&5
18144
 
sed 's/^/| /' conftest.$ac_ext >&5
18145
 
 
18146
 
ac_cv_lib_dld_shl_load=no
18147
 
fi
18148
 
rm -f conftest.err conftest.$ac_objext \
18149
 
      conftest$ac_exeext conftest.$ac_ext
18150
 
LIBS=$ac_check_lib_save_LIBS
18151
 
fi
18152
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
18153
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
18154
 
if test $ac_cv_lib_dld_shl_load = yes; then
18155
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
18156
 
else
18157
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
18158
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
18159
 
if test "${ac_cv_func_dlopen+set}" = set; then
18160
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18161
 
else
18162
 
  cat >conftest.$ac_ext <<_ACEOF
18163
 
/* confdefs.h.  */
18164
 
_ACEOF
18165
 
cat confdefs.h >>conftest.$ac_ext
18166
 
cat >>conftest.$ac_ext <<_ACEOF
18167
 
/* end confdefs.h.  */
18168
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
18169
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18170
 
#define dlopen innocuous_dlopen
18171
 
 
18172
 
/* System header to define __stub macros and hopefully few prototypes,
18173
 
    which can conflict with char dlopen (); below.
18174
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18175
 
    <limits.h> exists even on freestanding compilers.  */
18176
 
 
18177
 
#ifdef __STDC__
18178
 
# include <limits.h>
18179
 
#else
18180
 
# include <assert.h>
18181
 
#endif
18182
 
 
18183
 
#undef dlopen
18184
 
 
18185
 
/* Override any gcc2 internal prototype to avoid an error.  */
18186
 
#ifdef __cplusplus
18187
 
extern "C"
18188
 
{
18189
 
#endif
18190
 
/* We use char because int might match the return type of a gcc2
18191
 
   builtin and then its argument prototype would still apply.  */
18192
 
char dlopen ();
18193
 
/* The GNU C library defines this for functions which it implements
18194
 
    to always fail with ENOSYS.  Some functions are actually named
18195
 
    something starting with __ and the normal name is an alias.  */
18196
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
18197
 
choke me
18198
 
#else
18199
 
char (*f) () = dlopen;
18200
 
#endif
18201
 
#ifdef __cplusplus
18202
 
}
18203
 
#endif
18204
 
 
18205
 
int
18206
 
main ()
18207
 
{
18208
 
return f != dlopen;
18209
 
  ;
18210
 
  return 0;
18211
 
}
18212
 
_ACEOF
18213
 
rm -f conftest.$ac_objext conftest$ac_exeext
18214
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18215
 
  (eval $ac_link) 2>conftest.er1
18216
 
  ac_status=$?
18217
 
  grep -v '^ *+' conftest.er1 >conftest.err
18218
 
  rm -f conftest.er1
18219
 
  cat conftest.err >&5
18220
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221
 
  (exit $ac_status); } &&
18222
 
         { ac_try='test -z "$ac_cxx_werror_flag"
18223
 
                         || test ! -s conftest.err'
18224
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18225
 
  (eval $ac_try) 2>&5
18226
 
  ac_status=$?
18227
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18228
 
  (exit $ac_status); }; } &&
18229
 
         { ac_try='test -s conftest$ac_exeext'
18230
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18231
 
  (eval $ac_try) 2>&5
18232
 
  ac_status=$?
18233
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18234
 
  (exit $ac_status); }; }; then
18235
 
  ac_cv_func_dlopen=yes
18236
 
else
18237
 
  echo "$as_me: failed program was:" >&5
18238
 
sed 's/^/| /' conftest.$ac_ext >&5
18239
 
 
18240
 
ac_cv_func_dlopen=no
18241
 
fi
18242
 
rm -f conftest.err conftest.$ac_objext \
18243
 
      conftest$ac_exeext conftest.$ac_ext
18244
 
fi
18245
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
18246
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
18247
 
if test $ac_cv_func_dlopen = yes; then
18248
 
  lt_cv_dlopen="dlopen"
18249
 
else
18250
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18251
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18252
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18253
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18254
 
else
18255
 
  ac_check_lib_save_LIBS=$LIBS
18256
 
LIBS="-ldl  $LIBS"
18257
 
cat >conftest.$ac_ext <<_ACEOF
18258
 
/* confdefs.h.  */
18259
 
_ACEOF
18260
 
cat confdefs.h >>conftest.$ac_ext
18261
 
cat >>conftest.$ac_ext <<_ACEOF
18262
 
/* end confdefs.h.  */
18263
 
 
18264
 
/* Override any gcc2 internal prototype to avoid an error.  */
18265
 
#ifdef __cplusplus
18266
 
extern "C"
18267
 
#endif
18268
 
/* We use char because int might match the return type of a gcc2
18269
 
   builtin and then its argument prototype would still apply.  */
18270
 
char dlopen ();
18271
 
int
18272
 
main ()
18273
 
{
18274
 
dlopen ();
18275
 
  ;
18276
 
  return 0;
18277
 
}
18278
 
_ACEOF
18279
 
rm -f conftest.$ac_objext conftest$ac_exeext
18280
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18281
 
  (eval $ac_link) 2>conftest.er1
18282
 
  ac_status=$?
18283
 
  grep -v '^ *+' conftest.er1 >conftest.err
18284
 
  rm -f conftest.er1
18285
 
  cat conftest.err >&5
18286
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18287
 
  (exit $ac_status); } &&
18288
 
         { ac_try='test -z "$ac_cxx_werror_flag"
18289
 
                         || test ! -s conftest.err'
18290
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18291
 
  (eval $ac_try) 2>&5
18292
 
  ac_status=$?
18293
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18294
 
  (exit $ac_status); }; } &&
18295
 
         { ac_try='test -s conftest$ac_exeext'
18296
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18297
 
  (eval $ac_try) 2>&5
18298
 
  ac_status=$?
18299
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18300
 
  (exit $ac_status); }; }; then
18301
 
  ac_cv_lib_dl_dlopen=yes
18302
 
else
18303
 
  echo "$as_me: failed program was:" >&5
18304
 
sed 's/^/| /' conftest.$ac_ext >&5
18305
 
 
18306
 
ac_cv_lib_dl_dlopen=no
18307
 
fi
18308
 
rm -f conftest.err conftest.$ac_objext \
18309
 
      conftest$ac_exeext conftest.$ac_ext
18310
 
LIBS=$ac_check_lib_save_LIBS
18311
 
fi
18312
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18313
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18314
 
if test $ac_cv_lib_dl_dlopen = yes; then
18315
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18316
 
else
18317
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
18318
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
18319
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
18320
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18321
 
else
18322
 
  ac_check_lib_save_LIBS=$LIBS
18323
 
LIBS="-lsvld  $LIBS"
18324
 
cat >conftest.$ac_ext <<_ACEOF
18325
 
/* confdefs.h.  */
18326
 
_ACEOF
18327
 
cat confdefs.h >>conftest.$ac_ext
18328
 
cat >>conftest.$ac_ext <<_ACEOF
18329
 
/* end confdefs.h.  */
18330
 
 
18331
 
/* Override any gcc2 internal prototype to avoid an error.  */
18332
 
#ifdef __cplusplus
18333
 
extern "C"
18334
 
#endif
18335
 
/* We use char because int might match the return type of a gcc2
18336
 
   builtin and then its argument prototype would still apply.  */
18337
 
char dlopen ();
18338
 
int
18339
 
main ()
18340
 
{
18341
 
dlopen ();
18342
 
  ;
18343
 
  return 0;
18344
 
}
18345
 
_ACEOF
18346
 
rm -f conftest.$ac_objext conftest$ac_exeext
18347
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18348
 
  (eval $ac_link) 2>conftest.er1
18349
 
  ac_status=$?
18350
 
  grep -v '^ *+' conftest.er1 >conftest.err
18351
 
  rm -f conftest.er1
18352
 
  cat conftest.err >&5
18353
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354
 
  (exit $ac_status); } &&
18355
 
         { ac_try='test -z "$ac_cxx_werror_flag"
18356
 
                         || test ! -s conftest.err'
18357
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18358
 
  (eval $ac_try) 2>&5
18359
 
  ac_status=$?
18360
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18361
 
  (exit $ac_status); }; } &&
18362
 
         { ac_try='test -s conftest$ac_exeext'
18363
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18364
 
  (eval $ac_try) 2>&5
18365
 
  ac_status=$?
18366
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18367
 
  (exit $ac_status); }; }; then
18368
 
  ac_cv_lib_svld_dlopen=yes
18369
 
else
18370
 
  echo "$as_me: failed program was:" >&5
18371
 
sed 's/^/| /' conftest.$ac_ext >&5
18372
 
 
18373
 
ac_cv_lib_svld_dlopen=no
18374
 
fi
18375
 
rm -f conftest.err conftest.$ac_objext \
18376
 
      conftest$ac_exeext conftest.$ac_ext
18377
 
LIBS=$ac_check_lib_save_LIBS
18378
 
fi
18379
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18380
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
18381
 
if test $ac_cv_lib_svld_dlopen = yes; then
18382
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
18383
 
else
18384
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18385
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
18386
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18387
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18388
 
else
18389
 
  ac_check_lib_save_LIBS=$LIBS
18390
 
LIBS="-ldld  $LIBS"
18391
 
cat >conftest.$ac_ext <<_ACEOF
18392
 
/* confdefs.h.  */
18393
 
_ACEOF
18394
 
cat confdefs.h >>conftest.$ac_ext
18395
 
cat >>conftest.$ac_ext <<_ACEOF
18396
 
/* end confdefs.h.  */
18397
 
 
18398
 
/* Override any gcc2 internal prototype to avoid an error.  */
18399
 
#ifdef __cplusplus
18400
 
extern "C"
18401
 
#endif
18402
 
/* We use char because int might match the return type of a gcc2
18403
 
   builtin and then its argument prototype would still apply.  */
18404
 
char dld_link ();
18405
 
int
18406
 
main ()
18407
 
{
18408
 
dld_link ();
18409
 
  ;
18410
 
  return 0;
18411
 
}
18412
 
_ACEOF
18413
 
rm -f conftest.$ac_objext conftest$ac_exeext
18414
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18415
 
  (eval $ac_link) 2>conftest.er1
18416
 
  ac_status=$?
18417
 
  grep -v '^ *+' conftest.er1 >conftest.err
18418
 
  rm -f conftest.er1
18419
 
  cat conftest.err >&5
18420
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18421
 
  (exit $ac_status); } &&
18422
 
         { ac_try='test -z "$ac_cxx_werror_flag"
18423
 
                         || test ! -s conftest.err'
18424
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18425
 
  (eval $ac_try) 2>&5
18426
 
  ac_status=$?
18427
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428
 
  (exit $ac_status); }; } &&
18429
 
         { ac_try='test -s conftest$ac_exeext'
18430
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18431
 
  (eval $ac_try) 2>&5
18432
 
  ac_status=$?
18433
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18434
 
  (exit $ac_status); }; }; then
18435
 
  ac_cv_lib_dld_dld_link=yes
18436
 
else
18437
 
  echo "$as_me: failed program was:" >&5
18438
 
sed 's/^/| /' conftest.$ac_ext >&5
18439
 
 
18440
 
ac_cv_lib_dld_dld_link=no
18441
 
fi
18442
 
rm -f conftest.err conftest.$ac_objext \
18443
 
      conftest$ac_exeext conftest.$ac_ext
18444
 
LIBS=$ac_check_lib_save_LIBS
18445
 
fi
18446
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18447
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
18448
 
if test $ac_cv_lib_dld_dld_link = yes; then
18449
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
18450
 
fi
18451
 
 
18452
 
 
18453
 
fi
18454
 
 
18455
 
 
18456
 
fi
18457
 
 
18458
 
 
18459
 
fi
18460
 
 
18461
 
 
18462
 
fi
18463
 
 
18464
 
 
18465
 
fi
18466
 
 
18467
 
    ;;
18468
 
  esac
18469
 
 
18470
 
  if test "x$lt_cv_dlopen" != xno; then
18471
 
    enable_dlopen=yes
18472
 
  else
18473
 
    enable_dlopen=no
18474
 
  fi
18475
 
 
18476
 
  case $lt_cv_dlopen in
18477
 
  dlopen)
18478
 
    save_CPPFLAGS="$CPPFLAGS"
18479
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
18480
 
 
18481
 
    save_LDFLAGS="$LDFLAGS"
18482
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
18483
 
 
18484
 
    save_LIBS="$LIBS"
18485
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
18486
 
 
18487
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18488
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
18489
 
if test "${lt_cv_dlopen_self+set}" = set; then
18490
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18491
 
else
18492
 
          if test "$cross_compiling" = yes; then :
18493
 
  lt_cv_dlopen_self=cross
18494
 
else
18495
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18496
 
  lt_status=$lt_dlunknown
18497
 
  cat > conftest.$ac_ext <<EOF
18498
 
#line 18498 "configure"
18499
 
#include "confdefs.h"
18500
 
 
18501
 
#if HAVE_DLFCN_H
18502
 
#include <dlfcn.h>
18503
 
#endif
18504
 
 
18505
 
#include <stdio.h>
18506
 
 
18507
 
#ifdef RTLD_GLOBAL
18508
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
18509
 
#else
18510
 
#  ifdef DL_GLOBAL
18511
 
#    define LT_DLGLOBAL         DL_GLOBAL
18512
 
#  else
18513
 
#    define LT_DLGLOBAL         0
18514
 
#  endif
18515
 
#endif
18516
 
 
18517
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18518
 
   find out it does not work in some platform. */
18519
 
#ifndef LT_DLLAZY_OR_NOW
18520
 
#  ifdef RTLD_LAZY
18521
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
18522
 
#  else
18523
 
#    ifdef DL_LAZY
18524
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
18525
 
#    else
18526
 
#      ifdef RTLD_NOW
18527
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
18528
 
#      else
18529
 
#        ifdef DL_NOW
18530
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
18531
 
#        else
18532
 
#          define LT_DLLAZY_OR_NOW      0
18533
 
#        endif
18534
 
#      endif
18535
 
#    endif
18536
 
#  endif
18537
 
#endif
18538
 
 
18539
 
#ifdef __cplusplus
18540
 
extern "C" void exit (int);
18541
 
#endif
18542
 
 
18543
 
void fnord() { int i=42;}
18544
 
int main ()
18545
 
{
18546
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18547
 
  int status = $lt_dlunknown;
18548
 
 
18549
 
  if (self)
18550
 
    {
18551
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
18552
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18553
 
      /* dlclose (self); */
18554
 
    }
18555
 
 
18556
 
    exit (status);
18557
 
}
18558
 
EOF
18559
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18560
 
  (eval $ac_link) 2>&5
18561
 
  ac_status=$?
18562
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18563
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18564
 
    (./conftest; exit; ) 2>/dev/null
18565
 
    lt_status=$?
18566
 
    case x$lt_status in
18567
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
18568
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
18569
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
18570
 
    esac
18571
 
  else :
18572
 
    # compilation failed
18573
 
    lt_cv_dlopen_self=no
18574
 
  fi
18575
 
fi
18576
 
rm -fr conftest*
18577
 
 
18578
 
 
18579
 
fi
18580
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18581
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
18582
 
 
18583
 
    if test "x$lt_cv_dlopen_self" = xyes; then
18584
 
      LDFLAGS="$LDFLAGS $link_static_flag"
18585
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18586
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
18587
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
18588
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18589
 
else
18590
 
          if test "$cross_compiling" = yes; then :
18591
 
  lt_cv_dlopen_self_static=cross
18592
 
else
18593
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18594
 
  lt_status=$lt_dlunknown
18595
 
  cat > conftest.$ac_ext <<EOF
18596
 
#line 18596 "configure"
18597
 
#include "confdefs.h"
18598
 
 
18599
 
#if HAVE_DLFCN_H
18600
 
#include <dlfcn.h>
18601
 
#endif
18602
 
 
18603
 
#include <stdio.h>
18604
 
 
18605
 
#ifdef RTLD_GLOBAL
18606
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
18607
 
#else
18608
 
#  ifdef DL_GLOBAL
18609
 
#    define LT_DLGLOBAL         DL_GLOBAL
18610
 
#  else
18611
 
#    define LT_DLGLOBAL         0
18612
 
#  endif
18613
 
#endif
18614
 
 
18615
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18616
 
   find out it does not work in some platform. */
18617
 
#ifndef LT_DLLAZY_OR_NOW
18618
 
#  ifdef RTLD_LAZY
18619
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
18620
 
#  else
18621
 
#    ifdef DL_LAZY
18622
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
18623
 
#    else
18624
 
#      ifdef RTLD_NOW
18625
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
18626
 
#      else
18627
 
#        ifdef DL_NOW
18628
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
18629
 
#        else
18630
 
#          define LT_DLLAZY_OR_NOW      0
18631
 
#        endif
18632
 
#      endif
18633
 
#    endif
18634
 
#  endif
18635
 
#endif
18636
 
 
18637
 
#ifdef __cplusplus
18638
 
extern "C" void exit (int);
18639
 
#endif
18640
 
 
18641
 
void fnord() { int i=42;}
18642
 
int main ()
18643
 
{
18644
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18645
 
  int status = $lt_dlunknown;
18646
 
 
18647
 
  if (self)
18648
 
    {
18649
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
18650
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18651
 
      /* dlclose (self); */
18652
 
    }
18653
 
 
18654
 
    exit (status);
18655
 
}
18656
 
EOF
18657
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18658
 
  (eval $ac_link) 2>&5
18659
 
  ac_status=$?
18660
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18662
 
    (./conftest; exit; ) 2>/dev/null
18663
 
    lt_status=$?
18664
 
    case x$lt_status in
18665
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
18666
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
18667
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
18668
 
    esac
18669
 
  else :
18670
 
    # compilation failed
18671
 
    lt_cv_dlopen_self_static=no
18672
 
  fi
18673
 
fi
18674
 
rm -fr conftest*
18675
 
 
18676
 
 
18677
 
fi
18678
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18679
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
18680
 
    fi
18681
 
 
18682
 
    CPPFLAGS="$save_CPPFLAGS"
18683
 
    LDFLAGS="$save_LDFLAGS"
18684
 
    LIBS="$save_LIBS"
18685
 
    ;;
18686
 
  esac
18687
 
 
18688
 
  case $lt_cv_dlopen_self in
18689
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
18690
 
  *) enable_dlopen_self=unknown ;;
18691
 
  esac
18692
 
 
18693
 
  case $lt_cv_dlopen_self_static in
18694
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
18695
 
  *) enable_dlopen_self_static=unknown ;;
18696
 
  esac
18697
 
fi
18698
 
 
18699
18803
 
18700
18804
# The else clause should only fire when bootstrapping the
18701
18805
# libtool distribution, otherwise you forgot to ship ltmain.sh
18710
18814
  # Now quote all the things that may contain metacharacters while being
18711
18815
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18712
18816
  # variables and quote the copies for generation of the libtool script.
18713
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
18817
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18714
18818
    SED SHELL STRIP \
18715
18819
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18716
18820
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18737
18841
    predeps_GCJ \
18738
18842
    postdeps_GCJ \
18739
18843
    compiler_lib_search_path_GCJ \
 
18844
    compiler_lib_search_dirs_GCJ \
18740
18845
    archive_cmds_GCJ \
18741
18846
    archive_expsym_cmds_GCJ \
18742
18847
    postinstall_cmds_GCJ \
18752
18857
    module_cmds_GCJ \
18753
18858
    module_expsym_cmds_GCJ \
18754
18859
    lt_cv_prog_compiler_c_o_GCJ \
 
18860
    fix_srcfile_path_GCJ \
18755
18861
    exclude_expsyms_GCJ \
18756
18862
    include_expsyms_GCJ; do
18757
18863
 
18828
18934
# A C compiler.
18829
18935
LTCC=$lt_LTCC
18830
18936
 
 
18937
# LTCC compiler flags.
 
18938
LTCFLAGS=$lt_LTCFLAGS
 
18939
 
18831
18940
# A language-specific compiler.
18832
18941
CC=$lt_compiler_GCJ
18833
18942
 
18981
19090
# shared library.
18982
19091
postdeps=$lt_postdeps_GCJ
18983
19092
 
 
19093
# The directories searched by this compiler when creating a shared
 
19094
# library
 
19095
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
 
19096
 
18984
19097
# The library search path used internally by the compiler when linking
18985
19098
# a shared library.
18986
19099
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19069
19182
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19070
19183
 
19071
19184
# Fix the shell variable \$srcfile for the compiler.
19072
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
 
19185
fix_srcfile_path=$lt_fix_srcfile_path
19073
19186
 
19074
19187
# Set to yes if exported symbols are required.
19075
19188
always_export_symbols=$always_export_symbols_GCJ
19102
19215
fi
19103
19216
 
19104
19217
 
19105
 
ac_ext=cc
 
19218
ac_ext=cpp
19106
19219
ac_cpp='$CXXCPP $CPPFLAGS'
19107
19220
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19108
19221
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19118
19231
      RC)
19119
19232
 
19120
19233
 
19121
 
 
19122
19234
# Source file extension for RC test sources.
19123
19235
ac_ext=rc
19124
19236
 
19127
19239
objext_RC=$objext
19128
19240
 
19129
19241
# Code to be used in simple compile tests
19130
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
 
19242
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19131
19243
 
19132
19244
# Code to be used in simple link tests
19133
19245
lt_simple_link_test_code="$lt_simple_compile_test_code"
19137
19249
# If no C compiler was specified, use CC.
19138
19250
LTCC=${LTCC-"$CC"}
19139
19251
 
 
19252
# If no C compiler flags were specified, use CFLAGS.
 
19253
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
19254
 
19140
19255
# Allow CC to be a program name with arguments.
19141
19256
compiler=$CC
19142
19257
 
19143
19258
 
19144
19259
# save warnings/boilerplate of simple test code
19145
19260
ac_outfile=conftest.$ac_objext
19146
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
19147
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
19261
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
19262
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19148
19263
_lt_compiler_boilerplate=`cat conftest.err`
19149
19264
$rm conftest*
19150
19265
 
19151
19266
ac_outfile=conftest.$ac_objext
19152
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
19153
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
19267
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
19268
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19154
19269
_lt_linker_boilerplate=`cat conftest.err`
19155
 
$rm conftest*
 
19270
$rm -r conftest*
19156
19271
 
19157
19272
 
19158
19273
# Allow CC to be a program name with arguments.
19185
19300
  # Now quote all the things that may contain metacharacters while being
19186
19301
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19187
19302
  # variables and quote the copies for generation of the libtool script.
19188
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
19303
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19189
19304
    SED SHELL STRIP \
19190
19305
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19191
19306
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19212
19327
    predeps_RC \
19213
19328
    postdeps_RC \
19214
19329
    compiler_lib_search_path_RC \
 
19330
    compiler_lib_search_dirs_RC \
19215
19331
    archive_cmds_RC \
19216
19332
    archive_expsym_cmds_RC \
19217
19333
    postinstall_cmds_RC \
19227
19343
    module_cmds_RC \
19228
19344
    module_expsym_cmds_RC \
19229
19345
    lt_cv_prog_compiler_c_o_RC \
 
19346
    fix_srcfile_path_RC \
19230
19347
    exclude_expsyms_RC \
19231
19348
    include_expsyms_RC; do
19232
19349
 
19303
19420
# A C compiler.
19304
19421
LTCC=$lt_LTCC
19305
19422
 
 
19423
# LTCC compiler flags.
 
19424
LTCFLAGS=$lt_LTCFLAGS
 
19425
 
19306
19426
# A language-specific compiler.
19307
19427
CC=$lt_compiler_RC
19308
19428
 
19456
19576
# shared library.
19457
19577
postdeps=$lt_postdeps_RC
19458
19578
 
 
19579
# The directories searched by this compiler when creating a shared
 
19580
# library
 
19581
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
 
19582
 
19459
19583
# The library search path used internally by the compiler when linking
19460
19584
# a shared library.
19461
19585
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19544
19668
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19545
19669
 
19546
19670
# Fix the shell variable \$srcfile for the compiler.
19547
 
fix_srcfile_path="$fix_srcfile_path_RC"
 
19671
fix_srcfile_path=$lt_fix_srcfile_path
19548
19672
 
19549
19673
# Set to yes if exported symbols are required.
19550
19674
always_export_symbols=$always_export_symbols_RC
19577
19701
fi
19578
19702
 
19579
19703
 
19580
 
ac_ext=cc
 
19704
ac_ext=cpp
19581
19705
ac_cpp='$CXXCPP $CPPFLAGS'
19582
19706
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19583
19707
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19648
19772
  ax_config_feature_FEATURE_default=yes
19649
19773
 
19650
19774
 
19651
 
# Check whether --enable-debug or --disable-debug was given.
 
19775
# Check whether --enable-debug was given.
19652
19776
if test "${enable_debug+set}" = set; then
19653
 
  enableval="$enable_debug"
19654
 
  enable_debug=$enableval
 
19777
  enableval=$enable_debug; enable_debug=$enableval
19655
19778
else
19656
19779
  enable_debug=no
19657
 
fi;
 
19780
fi
 
19781
 
19658
19782
if test $enable_debug = yes; then
19659
19783
 
19660
19784
cat >>confdefs.h <<\_ACEOF
19669
19793
        echo disabling debug
19670
19794
fi
19671
19795
 
19672
 
# Check whether --enable-cnddebug or --disable-cnddebug was given.
 
19796
# Check whether --enable-cnddebug was given.
19673
19797
if test "${enable_cnddebug+set}" = set; then
19674
 
  enableval="$enable_cnddebug"
19675
 
  enable_cnddebug=$enableval
 
19798
  enableval=$enable_cnddebug; enable_cnddebug=$enableval
19676
19799
else
19677
19800
  enable_cnddebug=no
19678
 
fi;
 
19801
fi
 
19802
 
19679
19803
if test $enable_cnddebug = yes; then
19680
19804
 
19681
19805
cat >>confdefs.h <<\_ACEOF
19687
19811
        echo disabling cnddebug
19688
19812
fi
19689
19813
 
19690
 
# Check whether --enable-ascii or --disable-ascii was given.
 
19814
# Check whether --enable-ascii was given.
19691
19815
if test "${enable_ascii+set}" = set; then
19692
 
  enableval="$enable_ascii"
19693
 
  enable_ascii=yes
 
19816
  enableval=$enable_ascii; enable_ascii=yes
19694
19817
else
19695
19818
  enable_ascii=no
19696
 
fi;
 
19819
fi
 
19820
 
19697
19821
if test $enable_ascii = yes; then
19698
19822
 
19699
19823
cat >>confdefs.h <<\_ACEOF
19702
19826
 
19703
19827
fi
19704
19828
 
19705
 
# Check whether --enable-multithreading or --disable-multithreading was given.
 
19829
# Check whether --enable-multithreading was given.
19706
19830
if test "${enable_multithreading+set}" = set; then
19707
 
  enableval="$enable_multithreading"
19708
 
  enable_multithreading=no
 
19831
  enableval=$enable_multithreading; enable_multithreading=no
19709
19832
else
19710
19833
  enable_multithreading=yes
19711
 
fi;
 
19834
fi
 
19835
 
19712
19836
if test $enable_multithreading = yes; then
19713
19837
 
19714
19838
 
19715
19839
 
19716
 
 
19717
19840
ac_ext=c
19718
19841
ac_cpp='$CPP $CPPFLAGS'
19719
19842
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19734
19857
        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
19735
19858
        save_LIBS="$LIBS"
19736
19859
        LIBS="$PTHREAD_LIBS $LIBS"
19737
 
        echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
19738
 
echo $ECHO_N "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... $ECHO_C" >&6
 
19860
        { echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
 
19861
echo $ECHO_N "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... $ECHO_C" >&6; }
19739
19862
        cat >conftest.$ac_ext <<_ACEOF
19740
19863
/* confdefs.h.  */
19741
19864
_ACEOF
19743
19866
cat >>conftest.$ac_ext <<_ACEOF
19744
19867
/* end confdefs.h.  */
19745
19868
 
19746
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
19869
/* Override any GCC internal prototype to avoid an error.
 
19870
   Use char because int might match the return type of a GCC
 
19871
   builtin and then its argument prototype would still apply.  */
19747
19872
#ifdef __cplusplus
19748
19873
extern "C"
19749
19874
#endif
19750
 
/* We use char because int might match the return type of a gcc2
19751
 
   builtin and then its argument prototype would still apply.  */
19752
19875
char pthread_join ();
19753
19876
int
19754
19877
main ()
19755
19878
{
19756
 
pthread_join ();
 
19879
return pthread_join ();
19757
19880
  ;
19758
19881
  return 0;
19759
19882
}
19760
19883
_ACEOF
19761
19884
rm -f conftest.$ac_objext conftest$ac_exeext
19762
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19763
 
  (eval $ac_link) 2>conftest.er1
 
19885
if { (ac_try="$ac_link"
 
19886
case "(($ac_try" in
 
19887
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19888
  *) ac_try_echo=$ac_try;;
 
19889
esac
 
19890
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19891
  (eval "$ac_link") 2>conftest.er1
19764
19892
  ac_status=$?
19765
19893
  grep -v '^ *+' conftest.er1 >conftest.err
19766
19894
  rm -f conftest.er1
19767
19895
  cat conftest.err >&5
19768
19896
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19769
 
  (exit $ac_status); } &&
19770
 
         { ac_try='test -z "$ac_c_werror_flag"
19771
 
                         || test ! -s conftest.err'
19772
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19773
 
  (eval $ac_try) 2>&5
19774
 
  ac_status=$?
19775
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776
 
  (exit $ac_status); }; } &&
19777
 
         { ac_try='test -s conftest$ac_exeext'
19778
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19779
 
  (eval $ac_try) 2>&5
19780
 
  ac_status=$?
19781
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782
 
  (exit $ac_status); }; }; then
 
19897
  (exit $ac_status); } && {
 
19898
         test -z "$ac_c_werror_flag" ||
 
19899
         test ! -s conftest.err
 
19900
       } && test -s conftest$ac_exeext &&
 
19901
       $as_test_x conftest$ac_exeext; then
19783
19902
  acx_pthread_ok=yes
19784
19903
else
19785
19904
  echo "$as_me: failed program was:" >&5
19786
19905
sed 's/^/| /' conftest.$ac_ext >&5
19787
19906
 
 
19907
 
19788
19908
fi
19789
 
rm -f conftest.err conftest.$ac_objext \
 
19909
 
 
19910
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19790
19911
      conftest$ac_exeext conftest.$ac_ext
19791
 
        echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
19792
 
echo "${ECHO_T}$acx_pthread_ok" >&6
 
19912
        { echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
 
19913
echo "${ECHO_T}$acx_pthread_ok" >&6; }
19793
19914
        if test x"$acx_pthread_ok" = xno; then
19794
19915
                PTHREAD_LIBS=""
19795
19916
                PTHREAD_CFLAGS=""
19848
19969
for flag in $acx_pthread_flags; do
19849
19970
    case $flag in
19850
19971
            none)
19851
 
            echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
19852
 
echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
 
19972
            { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
 
19973
echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
19853
19974
            ;;
19854
19975
 
19855
19976
            -*)
19856
 
            echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
19857
 
echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
 
19977
            { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
 
19978
echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
19858
19979
            PTHREAD_CFLAGS="$flag"
19859
19980
            ;;
19860
19981
 
19861
19982
            pthread-config)
19862
19983
            # Extract the first word of "pthread-config", so it can be a program name with args.
19863
19984
set dummy pthread-config; ac_word=$2
19864
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19865
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19985
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19986
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19866
19987
if test "${ac_cv_prog_acx_pthread_config+set}" = set; then
19867
19988
  echo $ECHO_N "(cached) $ECHO_C" >&6
19868
19989
else
19875
19996
  IFS=$as_save_IFS
19876
19997
  test -z "$as_dir" && as_dir=.
19877
19998
  for ac_exec_ext in '' $ac_executable_extensions; do
19878
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19999
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19879
20000
    ac_cv_prog_acx_pthread_config="yes"
19880
20001
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19881
20002
    break 2
19882
20003
  fi
19883
20004
done
19884
20005
done
 
20006
IFS=$as_save_IFS
19885
20007
 
19886
20008
  test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
19887
20009
fi
19888
20010
fi
19889
20011
acx_pthread_config=$ac_cv_prog_acx_pthread_config
19890
20012
if test -n "$acx_pthread_config"; then
19891
 
  echo "$as_me:$LINENO: result: $acx_pthread_config" >&5
19892
 
echo "${ECHO_T}$acx_pthread_config" >&6
 
20013
  { echo "$as_me:$LINENO: result: $acx_pthread_config" >&5
 
20014
echo "${ECHO_T}$acx_pthread_config" >&6; }
19893
20015
else
19894
 
  echo "$as_me:$LINENO: result: no" >&5
19895
 
echo "${ECHO_T}no" >&6
 
20016
  { echo "$as_me:$LINENO: result: no" >&5
 
20017
echo "${ECHO_T}no" >&6; }
19896
20018
fi
19897
20019
 
 
20020
 
19898
20021
            if test x"$acx_pthread_config" = xno; then continue; fi
19899
20022
            PTHREAD_CFLAGS="`pthread-config --cflags`"
19900
20023
            PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
19901
20024
            ;;
19902
20025
 
19903
20026
            *)
19904
 
            echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
19905
 
echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
 
20027
            { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
 
20028
echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
19906
20029
            PTHREAD_LIBS="-l$flag"
19907
20030
            ;;
19908
20031
    esac
19941
20064
}
19942
20065
_ACEOF
19943
20066
rm -f conftest.$ac_objext conftest$ac_exeext
19944
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19945
 
  (eval $ac_link) 2>conftest.er1
 
20067
if { (ac_try="$ac_link"
 
20068
case "(($ac_try" in
 
20069
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20070
  *) ac_try_echo=$ac_try;;
 
20071
esac
 
20072
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20073
  (eval "$ac_link") 2>conftest.er1
19946
20074
  ac_status=$?
19947
20075
  grep -v '^ *+' conftest.er1 >conftest.err
19948
20076
  rm -f conftest.er1
19949
20077
  cat conftest.err >&5
19950
20078
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19951
 
  (exit $ac_status); } &&
19952
 
         { ac_try='test -z "$ac_c_werror_flag"
19953
 
                         || test ! -s conftest.err'
19954
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19955
 
  (eval $ac_try) 2>&5
19956
 
  ac_status=$?
19957
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19958
 
  (exit $ac_status); }; } &&
19959
 
         { ac_try='test -s conftest$ac_exeext'
19960
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19961
 
  (eval $ac_try) 2>&5
19962
 
  ac_status=$?
19963
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964
 
  (exit $ac_status); }; }; then
 
20079
  (exit $ac_status); } && {
 
20080
         test -z "$ac_c_werror_flag" ||
 
20081
         test ! -s conftest.err
 
20082
       } && test -s conftest$ac_exeext &&
 
20083
       $as_test_x conftest$ac_exeext; then
19965
20084
  acx_pthread_ok=yes
19966
20085
else
19967
20086
  echo "$as_me: failed program was:" >&5
19968
20087
sed 's/^/| /' conftest.$ac_ext >&5
19969
20088
 
 
20089
 
19970
20090
fi
19971
 
rm -f conftest.err conftest.$ac_objext \
 
20091
 
 
20092
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19972
20093
      conftest$ac_exeext conftest.$ac_ext
19973
20094
 
19974
20095
    LIBS="$save_LIBS"
19975
20096
    CFLAGS="$save_CFLAGS"
19976
20097
 
19977
 
    echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
19978
 
echo "${ECHO_T}$acx_pthread_ok" >&6
 
20098
    { echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
 
20099
echo "${ECHO_T}$acx_pthread_ok" >&6; }
19979
20100
    if test "x$acx_pthread_ok" = xyes; then
19980
20101
            break;
19981
20102
    fi
19994
20115
 
19995
20116
    # Detect AIX lossage: threads are created detached by default
19996
20117
    # and the JOINABLE attribute has a nonstandard name (UNDETACHED).
19997
 
    echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
19998
 
echo $ECHO_N "checking for joinable pthread attribute... $ECHO_C" >&6
 
20118
    { echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
 
20119
echo $ECHO_N "checking for joinable pthread attribute... $ECHO_C" >&6; }
19999
20120
    cat >conftest.$ac_ext <<_ACEOF
20000
20121
/* confdefs.h.  */
20001
20122
_ACEOF
20012
20133
}
20013
20134
_ACEOF
20014
20135
rm -f conftest.$ac_objext conftest$ac_exeext
20015
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20016
 
  (eval $ac_link) 2>conftest.er1
 
20136
if { (ac_try="$ac_link"
 
20137
case "(($ac_try" in
 
20138
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20139
  *) ac_try_echo=$ac_try;;
 
20140
esac
 
20141
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20142
  (eval "$ac_link") 2>conftest.er1
20017
20143
  ac_status=$?
20018
20144
  grep -v '^ *+' conftest.er1 >conftest.err
20019
20145
  rm -f conftest.er1
20020
20146
  cat conftest.err >&5
20021
20147
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20022
 
  (exit $ac_status); } &&
20023
 
         { ac_try='test -z "$ac_c_werror_flag"
20024
 
                         || test ! -s conftest.err'
20025
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20026
 
  (eval $ac_try) 2>&5
20027
 
  ac_status=$?
20028
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20029
 
  (exit $ac_status); }; } &&
20030
 
         { ac_try='test -s conftest$ac_exeext'
20031
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20032
 
  (eval $ac_try) 2>&5
20033
 
  ac_status=$?
20034
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035
 
  (exit $ac_status); }; }; then
 
20148
  (exit $ac_status); } && {
 
20149
         test -z "$ac_c_werror_flag" ||
 
20150
         test ! -s conftest.err
 
20151
       } && test -s conftest$ac_exeext &&
 
20152
       $as_test_x conftest$ac_exeext; then
20036
20153
  ok=PTHREAD_CREATE_JOINABLE
20037
20154
else
20038
20155
  echo "$as_me: failed program was:" >&5
20039
20156
sed 's/^/| /' conftest.$ac_ext >&5
20040
20157
 
20041
 
ok=unknown
 
20158
        ok=unknown
20042
20159
fi
20043
 
rm -f conftest.err conftest.$ac_objext \
 
20160
 
 
20161
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20044
20162
      conftest$ac_exeext conftest.$ac_ext
20045
20163
    if test x"$ok" = xunknown; then
20046
20164
            cat >conftest.$ac_ext <<_ACEOF
20059
20177
}
20060
20178
_ACEOF
20061
20179
rm -f conftest.$ac_objext conftest$ac_exeext
20062
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20063
 
  (eval $ac_link) 2>conftest.er1
 
20180
if { (ac_try="$ac_link"
 
20181
case "(($ac_try" in
 
20182
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20183
  *) ac_try_echo=$ac_try;;
 
20184
esac
 
20185
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20186
  (eval "$ac_link") 2>conftest.er1
20064
20187
  ac_status=$?
20065
20188
  grep -v '^ *+' conftest.er1 >conftest.err
20066
20189
  rm -f conftest.er1
20067
20190
  cat conftest.err >&5
20068
20191
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20069
 
  (exit $ac_status); } &&
20070
 
         { ac_try='test -z "$ac_c_werror_flag"
20071
 
                         || test ! -s conftest.err'
20072
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20073
 
  (eval $ac_try) 2>&5
20074
 
  ac_status=$?
20075
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20076
 
  (exit $ac_status); }; } &&
20077
 
         { ac_try='test -s conftest$ac_exeext'
20078
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20079
 
  (eval $ac_try) 2>&5
20080
 
  ac_status=$?
20081
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082
 
  (exit $ac_status); }; }; then
 
20192
  (exit $ac_status); } && {
 
20193
         test -z "$ac_c_werror_flag" ||
 
20194
         test ! -s conftest.err
 
20195
       } && test -s conftest$ac_exeext &&
 
20196
       $as_test_x conftest$ac_exeext; then
20083
20197
  ok=PTHREAD_CREATE_UNDETACHED
20084
20198
else
20085
20199
  echo "$as_me: failed program was:" >&5
20086
20200
sed 's/^/| /' conftest.$ac_ext >&5
20087
20201
 
20088
 
ok=unknown
 
20202
        ok=unknown
20089
20203
fi
20090
 
rm -f conftest.err conftest.$ac_objext \
 
20204
 
 
20205
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20091
20206
      conftest$ac_exeext conftest.$ac_ext
20092
20207
    fi
20093
20208
    if test x"$ok" != xPTHREAD_CREATE_JOINABLE; then
20097
20212
_ACEOF
20098
20213
 
20099
20214
    fi
20100
 
    echo "$as_me:$LINENO: result: ${ok}" >&5
20101
 
echo "${ECHO_T}${ok}" >&6
 
20215
    { echo "$as_me:$LINENO: result: ${ok}" >&5
 
20216
echo "${ECHO_T}${ok}" >&6; }
20102
20217
    if test x"$ok" = xunknown; then
20103
20218
            { echo "$as_me:$LINENO: WARNING: we do not know how to create joinable pthreads" >&5
20104
20219
echo "$as_me: WARNING: we do not know how to create joinable pthreads" >&2;}
20105
20220
    fi
20106
20221
 
20107
 
    echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
20108
 
echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
 
20222
    { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
 
20223
echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
20109
20224
    flag=no
20110
20225
    case "${host_cpu}-${host_os}" in
20111
20226
            *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
20112
20227
            *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
20113
20228
    esac
20114
 
    echo "$as_me:$LINENO: result: $flag" >&5
20115
 
echo "${ECHO_T}$flag" >&6
 
20229
    { echo "$as_me:$LINENO: result: $flag" >&5
 
20230
echo "${ECHO_T}$flag" >&6; }
20116
20231
    if test "x$flag" != xno; then
20117
20232
            PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
20118
20233
    fi
20119
20234
 
20120
20235
 
20121
20236
 
20122
 
        echo "$as_me:$LINENO: checking for recursive mutex support" >&5
20123
 
echo $ECHO_N "checking for recursive mutex support... $ECHO_C" >&6
 
20237
        { echo "$as_me:$LINENO: checking for recursive mutex support" >&5
 
20238
echo $ECHO_N "checking for recursive mutex support... $ECHO_C" >&6; }
20124
20239
        if test "$cross_compiling" = yes; then
20125
20240
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20126
20241
See \`config.log' for more details." >&5
20148
20263
        }
20149
20264
_ACEOF
20150
20265
rm -f conftest$ac_exeext
20151
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20152
 
  (eval $ac_link) 2>&5
 
20266
if { (ac_try="$ac_link"
 
20267
case "(($ac_try" in
 
20268
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20269
  *) ac_try_echo=$ac_try;;
 
20270
esac
 
20271
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20272
  (eval "$ac_link") 2>&5
20153
20273
  ac_status=$?
20154
20274
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20155
20275
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20156
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20157
 
  (eval $ac_try) 2>&5
 
20276
  { (case "(($ac_try" in
 
20277
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20278
  *) ac_try_echo=$ac_try;;
 
20279
esac
 
20280
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20281
  (eval "$ac_try") 2>&5
20158
20282
  ac_status=$?
20159
20283
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20160
20284
  (exit $ac_status); }; }; then
20167
20291
( exit $ac_status )
20168
20292
acx_pthreads_recursive=no
20169
20293
fi
20170
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
20294
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20171
20295
fi
20172
20296
 
 
20297
 
 
20298
 
20173
20299
        if test "$acx_pthreads_recursive" = "yes"; then
20174
20300
 
20175
20301
cat >>confdefs.h <<\_ACEOF
20177
20303
_ACEOF
20178
20304
 
20179
20305
        fi
20180
 
    echo "$as_me:$LINENO: result: $acx_pthreads_recursive" >&5
20181
 
echo "${ECHO_T}$acx_pthreads_recursive" >&6
 
20306
    { echo "$as_me:$LINENO: result: $acx_pthreads_recursive" >&5
 
20307
echo "${ECHO_T}$acx_pthreads_recursive" >&6; }
20182
20308
 
20183
20309
 
20184
20310
    LIBS="$save_LIBS"
20187
20313
    # More AIX lossage: must compile with cc_r
20188
20314
    # Extract the first word of "cc_r", so it can be a program name with args.
20189
20315
set dummy cc_r; ac_word=$2
20190
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20191
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20316
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20317
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20192
20318
if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then
20193
20319
  echo $ECHO_N "(cached) $ECHO_C" >&6
20194
20320
else
20201
20327
  IFS=$as_save_IFS
20202
20328
  test -z "$as_dir" && as_dir=.
20203
20329
  for ac_exec_ext in '' $ac_executable_extensions; do
20204
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20330
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20205
20331
    ac_cv_prog_PTHREAD_CC="cc_r"
20206
20332
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20207
20333
    break 2
20208
20334
  fi
20209
20335
done
20210
20336
done
 
20337
IFS=$as_save_IFS
20211
20338
 
20212
20339
  test -z "$ac_cv_prog_PTHREAD_CC" && ac_cv_prog_PTHREAD_CC="${CC}"
20213
20340
fi
20214
20341
fi
20215
20342
PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
20216
20343
if test -n "$PTHREAD_CC"; then
20217
 
  echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5
20218
 
echo "${ECHO_T}$PTHREAD_CC" >&6
 
20344
  { echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5
 
20345
echo "${ECHO_T}$PTHREAD_CC" >&6; }
20219
20346
else
20220
 
  echo "$as_me:$LINENO: result: no" >&5
20221
 
echo "${ECHO_T}no" >&6
 
20347
  { echo "$as_me:$LINENO: result: no" >&5
 
20348
echo "${ECHO_T}no" >&6; }
20222
20349
fi
20223
20350
 
20224
20351
 
 
20352
 
20225
20353
else
20226
20354
        case $host in
20227
20355
       *-*-mingw32*)
20228
 
                        echo "$as_me:$LINENO: result: MINGW32: use windows threading library!" >&5
20229
 
echo "${ECHO_T}MINGW32: use windows threading library!" >&6
 
20356
                        { echo "$as_me:$LINENO: result: MINGW32: use windows threading library!" >&5
 
20357
echo "${ECHO_T}MINGW32: use windows threading library!" >&6; }
20230
20358
                        ;;
20231
20359
           *)
20232
20360
                        { { echo "$as_me:$LINENO: error: Cannot find a working pthread configuration. If you think this is wrong, please review acx_pthread.m4 and report the problem" >&5
20253
20381
        acx_pthread_ok=no
20254
20382
 
20255
20383
fi
20256
 
ac_ext=cc
 
20384
ac_ext=cpp
20257
20385
ac_cpp='$CXXCPP $CPPFLAGS'
20258
20386
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20259
20387
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20273
20401
        echo "disabled multithreading"
20274
20402
fi
20275
20403
 
20276
 
# Check whether --enable-gprof or --disable-gprof was given.
 
20404
# Check whether --enable-gprof was given.
20277
20405
if test "${enable_gprof+set}" = set; then
20278
 
  enableval="$enable_gprof"
20279
 
  enable_gprof=yes
 
20406
  enableval=$enable_gprof; enable_gprof=yes
20280
20407
else
20281
20408
  enable_gprof=no
20282
 
fi;
 
20409
fi
 
20410
 
20283
20411
if test $enable_gprof = yes; then
20284
20412
        CXXFLAGS="-pg $CPPFLAGS"
20285
20413
        LDFLAGS="-pg $LDFLAGS"
20288
20416
 
20289
20417
# Extract the first word of "doxygen", so it can be a program name with args.
20290
20418
set dummy doxygen; ac_word=$2
20291
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20292
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20419
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20420
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20293
20421
if test "${ac_cv_prog_DOXYGEN+set}" = set; then
20294
20422
  echo $ECHO_N "(cached) $ECHO_C" >&6
20295
20423
else
20302
20430
  IFS=$as_save_IFS
20303
20431
  test -z "$as_dir" && as_dir=.
20304
20432
  for ac_exec_ext in '' $ac_executable_extensions; do
20305
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20433
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20306
20434
    ac_cv_prog_DOXYGEN="true"
20307
20435
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20308
20436
    break 2
20309
20437
  fi
20310
20438
done
20311
20439
done
 
20440
IFS=$as_save_IFS
20312
20441
 
20313
20442
  test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="false"
20314
20443
fi
20315
20444
fi
20316
20445
DOXYGEN=$ac_cv_prog_DOXYGEN
20317
20446
if test -n "$DOXYGEN"; then
20318
 
  echo "$as_me:$LINENO: result: $DOXYGEN" >&5
20319
 
echo "${ECHO_T}$DOXYGEN" >&6
 
20447
  { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
 
20448
echo "${ECHO_T}$DOXYGEN" >&6; }
20320
20449
else
20321
 
  echo "$as_me:$LINENO: result: no" >&5
20322
 
echo "${ECHO_T}no" >&6
 
20450
  { echo "$as_me:$LINENO: result: no" >&5
 
20451
echo "${ECHO_T}no" >&6; }
20323
20452
fi
20324
20453
 
 
20454
 
20325
20455
if test $DOXYGEN = false; then
20326
20456
        { echo "$as_me:$LINENO: WARNING: *** doxygen not found, docs will not be available" >&5
20327
20457
echo "$as_me: WARNING: *** doxygen not found, docs will not be available" >&2;}
20330
20460
  enable_doxygen=yes
20331
20461
        # Extract the first word of "dot", so it can be a program name with args.
20332
20462
set dummy dot; ac_word=$2
20333
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20334
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20463
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20464
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20335
20465
if test "${ac_cv_prog_DOT+set}" = set; then
20336
20466
  echo $ECHO_N "(cached) $ECHO_C" >&6
20337
20467
else
20344
20474
  IFS=$as_save_IFS
20345
20475
  test -z "$as_dir" && as_dir=.
20346
20476
  for ac_exec_ext in '' $ac_executable_extensions; do
20347
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20477
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20348
20478
    ac_cv_prog_DOT="true"
20349
20479
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20350
20480
    break 2
20351
20481
  fi
20352
20482
done
20353
20483
done
 
20484
IFS=$as_save_IFS
20354
20485
 
20355
20486
  test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="false"
20356
20487
fi
20357
20488
fi
20358
20489
DOT=$ac_cv_prog_DOT
20359
20490
if test -n "$DOT"; then
20360
 
  echo "$as_me:$LINENO: result: $DOT" >&5
20361
 
echo "${ECHO_T}$DOT" >&6
 
20491
  { echo "$as_me:$LINENO: result: $DOT" >&5
 
20492
echo "${ECHO_T}$DOT" >&6; }
20362
20493
else
20363
 
  echo "$as_me:$LINENO: result: no" >&5
20364
 
echo "${ECHO_T}no" >&6
 
20494
  { echo "$as_me:$LINENO: result: no" >&5
 
20495
echo "${ECHO_T}no" >&6; }
20365
20496
fi
20366
20497
 
 
20498
 
20367
20499
        if test $DOT = false; then
20368
20500
                enable_dot = no;
20369
20501
                { echo "$as_me:$LINENO: WARNING: *** dot not found, graphs will not be available" >&5
20378
20510
 
20379
20511
 
20380
20512
 
20381
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20382
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
20513
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
20514
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20383
20515
if test "${ac_cv_header_stdc+set}" = set; then
20384
20516
  echo $ECHO_N "(cached) $ECHO_C" >&6
20385
20517
else
20403
20535
}
20404
20536
_ACEOF
20405
20537
rm -f conftest.$ac_objext
20406
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20407
 
  (eval $ac_compile) 2>conftest.er1
 
20538
if { (ac_try="$ac_compile"
 
20539
case "(($ac_try" in
 
20540
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20541
  *) ac_try_echo=$ac_try;;
 
20542
esac
 
20543
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20544
  (eval "$ac_compile") 2>conftest.er1
20408
20545
  ac_status=$?
20409
20546
  grep -v '^ *+' conftest.er1 >conftest.err
20410
20547
  rm -f conftest.er1
20411
20548
  cat conftest.err >&5
20412
20549
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413
 
  (exit $ac_status); } &&
20414
 
         { ac_try='test -z "$ac_cxx_werror_flag"
20415
 
                         || test ! -s conftest.err'
20416
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20417
 
  (eval $ac_try) 2>&5
20418
 
  ac_status=$?
20419
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20420
 
  (exit $ac_status); }; } &&
20421
 
         { ac_try='test -s conftest.$ac_objext'
20422
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20423
 
  (eval $ac_try) 2>&5
20424
 
  ac_status=$?
20425
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20426
 
  (exit $ac_status); }; }; then
 
20550
  (exit $ac_status); } && {
 
20551
         test -z "$ac_cxx_werror_flag" ||
 
20552
         test ! -s conftest.err
 
20553
       } && test -s conftest.$ac_objext; then
20427
20554
  ac_cv_header_stdc=yes
20428
20555
else
20429
20556
  echo "$as_me: failed program was:" >&5
20430
20557
sed 's/^/| /' conftest.$ac_ext >&5
20431
20558
 
20432
 
ac_cv_header_stdc=no
 
20559
        ac_cv_header_stdc=no
20433
20560
fi
20434
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20561
 
 
20562
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20435
20563
 
20436
20564
if test $ac_cv_header_stdc = yes; then
20437
20565
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20487
20615
cat >>conftest.$ac_ext <<_ACEOF
20488
20616
/* end confdefs.h.  */
20489
20617
#include <ctype.h>
 
20618
#include <stdlib.h>
20490
20619
#if ((' ' & 0x0FF) == 0x020)
20491
20620
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20492
20621
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20506
20635
  for (i = 0; i < 256; i++)
20507
20636
    if (XOR (islower (i), ISLOWER (i))
20508
20637
        || toupper (i) != TOUPPER (i))
20509
 
      exit(2);
20510
 
  exit (0);
 
20638
      return 2;
 
20639
  return 0;
20511
20640
}
20512
20641
_ACEOF
20513
20642
rm -f conftest$ac_exeext
20514
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20515
 
  (eval $ac_link) 2>&5
 
20643
if { (ac_try="$ac_link"
 
20644
case "(($ac_try" in
 
20645
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20646
  *) ac_try_echo=$ac_try;;
 
20647
esac
 
20648
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20649
  (eval "$ac_link") 2>&5
20516
20650
  ac_status=$?
20517
20651
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518
20652
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20519
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20520
 
  (eval $ac_try) 2>&5
 
20653
  { (case "(($ac_try" in
 
20654
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20655
  *) ac_try_echo=$ac_try;;
 
20656
esac
 
20657
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20658
  (eval "$ac_try") 2>&5
20521
20659
  ac_status=$?
20522
20660
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523
20661
  (exit $ac_status); }; }; then
20530
20668
( exit $ac_status )
20531
20669
ac_cv_header_stdc=no
20532
20670
fi
20533
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20534
 
fi
20535
 
fi
20536
 
fi
20537
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20538
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
20671
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
20672
fi
 
20673
 
 
20674
 
 
20675
fi
 
20676
fi
 
20677
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
20678
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20539
20679
if test $ac_cv_header_stdc = yes; then
20540
20680
 
20541
20681
cat >>confdefs.h <<\_ACEOF
20552
20692
ac_header_dirent=no
20553
20693
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
20554
20694
  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
20555
 
echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
20556
 
echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
20557
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
20695
{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
 
20696
echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
 
20697
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20558
20698
  echo $ECHO_N "(cached) $ECHO_C" >&6
20559
20699
else
20560
20700
  cat >conftest.$ac_ext <<_ACEOF
20576
20716
}
20577
20717
_ACEOF
20578
20718
rm -f conftest.$ac_objext
20579
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20580
 
  (eval $ac_compile) 2>conftest.er1
 
20719
if { (ac_try="$ac_compile"
 
20720
case "(($ac_try" in
 
20721
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20722
  *) ac_try_echo=$ac_try;;
 
20723
esac
 
20724
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20725
  (eval "$ac_compile") 2>conftest.er1
20581
20726
  ac_status=$?
20582
20727
  grep -v '^ *+' conftest.er1 >conftest.err
20583
20728
  rm -f conftest.er1
20584
20729
  cat conftest.err >&5
20585
20730
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20586
 
  (exit $ac_status); } &&
20587
 
         { ac_try='test -z "$ac_cxx_werror_flag"
20588
 
                         || test ! -s conftest.err'
20589
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20590
 
  (eval $ac_try) 2>&5
20591
 
  ac_status=$?
20592
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593
 
  (exit $ac_status); }; } &&
20594
 
         { ac_try='test -s conftest.$ac_objext'
20595
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20596
 
  (eval $ac_try) 2>&5
20597
 
  ac_status=$?
20598
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20599
 
  (exit $ac_status); }; }; then
 
20731
  (exit $ac_status); } && {
 
20732
         test -z "$ac_cxx_werror_flag" ||
 
20733
         test ! -s conftest.err
 
20734
       } && test -s conftest.$ac_objext; then
20600
20735
  eval "$as_ac_Header=yes"
20601
20736
else
20602
20737
  echo "$as_me: failed program was:" >&5
20603
20738
sed 's/^/| /' conftest.$ac_ext >&5
20604
20739
 
20605
 
eval "$as_ac_Header=no"
20606
 
fi
20607
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20608
 
fi
20609
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20610
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
20740
        eval "$as_ac_Header=no"
 
20741
fi
 
20742
 
 
20743
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20744
fi
 
20745
ac_res=`eval echo '${'$as_ac_Header'}'`
 
20746
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
20747
echo "${ECHO_T}$ac_res" >&6; }
20611
20748
if test `eval echo '${'$as_ac_Header'}'` = yes; then
20612
20749
  cat >>confdefs.h <<_ACEOF
20613
20750
#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
20619
20756
done
20620
20757
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
20621
20758
if test $ac_header_dirent = dirent.h; then
20622
 
  echo "$as_me:$LINENO: checking for library containing opendir" >&5
20623
 
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
20624
 
if test "${ac_cv_search_opendir+set}" = set; then
20625
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20626
 
else
20627
 
  ac_func_search_save_LIBS=$LIBS
20628
 
ac_cv_search_opendir=no
20629
 
cat >conftest.$ac_ext <<_ACEOF
20630
 
/* confdefs.h.  */
20631
 
_ACEOF
20632
 
cat confdefs.h >>conftest.$ac_ext
20633
 
cat >>conftest.$ac_ext <<_ACEOF
20634
 
/* end confdefs.h.  */
20635
 
 
20636
 
/* Override any gcc2 internal prototype to avoid an error.  */
20637
 
#ifdef __cplusplus
20638
 
extern "C"
20639
 
#endif
20640
 
/* We use char because int might match the return type of a gcc2
20641
 
   builtin and then its argument prototype would still apply.  */
20642
 
char opendir ();
20643
 
int
20644
 
main ()
20645
 
{
20646
 
opendir ();
20647
 
  ;
20648
 
  return 0;
20649
 
}
20650
 
_ACEOF
20651
 
rm -f conftest.$ac_objext conftest$ac_exeext
20652
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20653
 
  (eval $ac_link) 2>conftest.er1
20654
 
  ac_status=$?
20655
 
  grep -v '^ *+' conftest.er1 >conftest.err
20656
 
  rm -f conftest.er1
20657
 
  cat conftest.err >&5
20658
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20659
 
  (exit $ac_status); } &&
20660
 
         { ac_try='test -z "$ac_cxx_werror_flag"
20661
 
                         || test ! -s conftest.err'
20662
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20663
 
  (eval $ac_try) 2>&5
20664
 
  ac_status=$?
20665
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20666
 
  (exit $ac_status); }; } &&
20667
 
         { ac_try='test -s conftest$ac_exeext'
20668
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20669
 
  (eval $ac_try) 2>&5
20670
 
  ac_status=$?
20671
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20672
 
  (exit $ac_status); }; }; then
20673
 
  ac_cv_search_opendir="none required"
20674
 
else
20675
 
  echo "$as_me: failed program was:" >&5
20676
 
sed 's/^/| /' conftest.$ac_ext >&5
20677
 
 
20678
 
fi
20679
 
rm -f conftest.err conftest.$ac_objext \
20680
 
      conftest$ac_exeext conftest.$ac_ext
20681
 
if test "$ac_cv_search_opendir" = no; then
20682
 
  for ac_lib in dir; do
20683
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20684
 
    cat >conftest.$ac_ext <<_ACEOF
20685
 
/* confdefs.h.  */
20686
 
_ACEOF
20687
 
cat confdefs.h >>conftest.$ac_ext
20688
 
cat >>conftest.$ac_ext <<_ACEOF
20689
 
/* end confdefs.h.  */
20690
 
 
20691
 
/* Override any gcc2 internal prototype to avoid an error.  */
20692
 
#ifdef __cplusplus
20693
 
extern "C"
20694
 
#endif
20695
 
/* We use char because int might match the return type of a gcc2
20696
 
   builtin and then its argument prototype would still apply.  */
20697
 
char opendir ();
20698
 
int
20699
 
main ()
20700
 
{
20701
 
opendir ();
20702
 
  ;
20703
 
  return 0;
20704
 
}
20705
 
_ACEOF
20706
 
rm -f conftest.$ac_objext conftest$ac_exeext
20707
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20708
 
  (eval $ac_link) 2>conftest.er1
20709
 
  ac_status=$?
20710
 
  grep -v '^ *+' conftest.er1 >conftest.err
20711
 
  rm -f conftest.er1
20712
 
  cat conftest.err >&5
20713
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20714
 
  (exit $ac_status); } &&
20715
 
         { ac_try='test -z "$ac_cxx_werror_flag"
20716
 
                         || test ! -s conftest.err'
20717
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20718
 
  (eval $ac_try) 2>&5
20719
 
  ac_status=$?
20720
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20721
 
  (exit $ac_status); }; } &&
20722
 
         { ac_try='test -s conftest$ac_exeext'
20723
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20724
 
  (eval $ac_try) 2>&5
20725
 
  ac_status=$?
20726
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20727
 
  (exit $ac_status); }; }; then
20728
 
  ac_cv_search_opendir="-l$ac_lib"
20729
 
break
20730
 
else
20731
 
  echo "$as_me: failed program was:" >&5
20732
 
sed 's/^/| /' conftest.$ac_ext >&5
20733
 
 
20734
 
fi
20735
 
rm -f conftest.err conftest.$ac_objext \
20736
 
      conftest$ac_exeext conftest.$ac_ext
20737
 
  done
20738
 
fi
20739
 
LIBS=$ac_func_search_save_LIBS
20740
 
fi
20741
 
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
20742
 
echo "${ECHO_T}$ac_cv_search_opendir" >&6
20743
 
if test "$ac_cv_search_opendir" != no; then
20744
 
  test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
20745
 
 
20746
 
fi
20747
 
 
20748
 
else
20749
 
  echo "$as_me:$LINENO: checking for library containing opendir" >&5
20750
 
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
20751
 
if test "${ac_cv_search_opendir+set}" = set; then
20752
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20753
 
else
20754
 
  ac_func_search_save_LIBS=$LIBS
20755
 
ac_cv_search_opendir=no
20756
 
cat >conftest.$ac_ext <<_ACEOF
20757
 
/* confdefs.h.  */
20758
 
_ACEOF
20759
 
cat confdefs.h >>conftest.$ac_ext
20760
 
cat >>conftest.$ac_ext <<_ACEOF
20761
 
/* end confdefs.h.  */
20762
 
 
20763
 
/* Override any gcc2 internal prototype to avoid an error.  */
20764
 
#ifdef __cplusplus
20765
 
extern "C"
20766
 
#endif
20767
 
/* We use char because int might match the return type of a gcc2
20768
 
   builtin and then its argument prototype would still apply.  */
20769
 
char opendir ();
20770
 
int
20771
 
main ()
20772
 
{
20773
 
opendir ();
20774
 
  ;
20775
 
  return 0;
20776
 
}
20777
 
_ACEOF
20778
 
rm -f conftest.$ac_objext conftest$ac_exeext
20779
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20780
 
  (eval $ac_link) 2>conftest.er1
20781
 
  ac_status=$?
20782
 
  grep -v '^ *+' conftest.er1 >conftest.err
20783
 
  rm -f conftest.er1
20784
 
  cat conftest.err >&5
20785
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20786
 
  (exit $ac_status); } &&
20787
 
         { ac_try='test -z "$ac_cxx_werror_flag"
20788
 
                         || test ! -s conftest.err'
20789
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20790
 
  (eval $ac_try) 2>&5
20791
 
  ac_status=$?
20792
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20793
 
  (exit $ac_status); }; } &&
20794
 
         { ac_try='test -s conftest$ac_exeext'
20795
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20796
 
  (eval $ac_try) 2>&5
20797
 
  ac_status=$?
20798
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20799
 
  (exit $ac_status); }; }; then
20800
 
  ac_cv_search_opendir="none required"
20801
 
else
20802
 
  echo "$as_me: failed program was:" >&5
20803
 
sed 's/^/| /' conftest.$ac_ext >&5
20804
 
 
20805
 
fi
20806
 
rm -f conftest.err conftest.$ac_objext \
20807
 
      conftest$ac_exeext conftest.$ac_ext
20808
 
if test "$ac_cv_search_opendir" = no; then
20809
 
  for ac_lib in x; do
20810
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20811
 
    cat >conftest.$ac_ext <<_ACEOF
20812
 
/* confdefs.h.  */
20813
 
_ACEOF
20814
 
cat confdefs.h >>conftest.$ac_ext
20815
 
cat >>conftest.$ac_ext <<_ACEOF
20816
 
/* end confdefs.h.  */
20817
 
 
20818
 
/* Override any gcc2 internal prototype to avoid an error.  */
20819
 
#ifdef __cplusplus
20820
 
extern "C"
20821
 
#endif
20822
 
/* We use char because int might match the return type of a gcc2
20823
 
   builtin and then its argument prototype would still apply.  */
20824
 
char opendir ();
20825
 
int
20826
 
main ()
20827
 
{
20828
 
opendir ();
20829
 
  ;
20830
 
  return 0;
20831
 
}
20832
 
_ACEOF
20833
 
rm -f conftest.$ac_objext conftest$ac_exeext
20834
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20835
 
  (eval $ac_link) 2>conftest.er1
20836
 
  ac_status=$?
20837
 
  grep -v '^ *+' conftest.er1 >conftest.err
20838
 
  rm -f conftest.er1
20839
 
  cat conftest.err >&5
20840
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20841
 
  (exit $ac_status); } &&
20842
 
         { ac_try='test -z "$ac_cxx_werror_flag"
20843
 
                         || test ! -s conftest.err'
20844
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20845
 
  (eval $ac_try) 2>&5
20846
 
  ac_status=$?
20847
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20848
 
  (exit $ac_status); }; } &&
20849
 
         { ac_try='test -s conftest$ac_exeext'
20850
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20851
 
  (eval $ac_try) 2>&5
20852
 
  ac_status=$?
20853
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854
 
  (exit $ac_status); }; }; then
20855
 
  ac_cv_search_opendir="-l$ac_lib"
20856
 
break
20857
 
else
20858
 
  echo "$as_me: failed program was:" >&5
20859
 
sed 's/^/| /' conftest.$ac_ext >&5
20860
 
 
20861
 
fi
20862
 
rm -f conftest.err conftest.$ac_objext \
20863
 
      conftest$ac_exeext conftest.$ac_ext
20864
 
  done
20865
 
fi
20866
 
LIBS=$ac_func_search_save_LIBS
20867
 
fi
20868
 
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
20869
 
echo "${ECHO_T}$ac_cv_search_opendir" >&6
20870
 
if test "$ac_cv_search_opendir" != no; then
20871
 
  test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
20872
 
 
20873
 
fi
20874
 
 
20875
 
fi
20876
 
 
20877
 
echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
20878
 
echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
 
20759
  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
 
20760
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
 
20761
if test "${ac_cv_search_opendir+set}" = set; then
 
20762
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20763
else
 
20764
  ac_func_search_save_LIBS=$LIBS
 
20765
cat >conftest.$ac_ext <<_ACEOF
 
20766
/* confdefs.h.  */
 
20767
_ACEOF
 
20768
cat confdefs.h >>conftest.$ac_ext
 
20769
cat >>conftest.$ac_ext <<_ACEOF
 
20770
/* end confdefs.h.  */
 
20771
 
 
20772
/* Override any GCC internal prototype to avoid an error.
 
20773
   Use char because int might match the return type of a GCC
 
20774
   builtin and then its argument prototype would still apply.  */
 
20775
#ifdef __cplusplus
 
20776
extern "C"
 
20777
#endif
 
20778
char opendir ();
 
20779
int
 
20780
main ()
 
20781
{
 
20782
return opendir ();
 
20783
  ;
 
20784
  return 0;
 
20785
}
 
20786
_ACEOF
 
20787
for ac_lib in '' dir; do
 
20788
  if test -z "$ac_lib"; then
 
20789
    ac_res="none required"
 
20790
  else
 
20791
    ac_res=-l$ac_lib
 
20792
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
20793
  fi
 
20794
  rm -f conftest.$ac_objext conftest$ac_exeext
 
20795
if { (ac_try="$ac_link"
 
20796
case "(($ac_try" in
 
20797
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20798
  *) ac_try_echo=$ac_try;;
 
20799
esac
 
20800
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20801
  (eval "$ac_link") 2>conftest.er1
 
20802
  ac_status=$?
 
20803
  grep -v '^ *+' conftest.er1 >conftest.err
 
20804
  rm -f conftest.er1
 
20805
  cat conftest.err >&5
 
20806
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20807
  (exit $ac_status); } && {
 
20808
         test -z "$ac_cxx_werror_flag" ||
 
20809
         test ! -s conftest.err
 
20810
       } && test -s conftest$ac_exeext &&
 
20811
       $as_test_x conftest$ac_exeext; then
 
20812
  ac_cv_search_opendir=$ac_res
 
20813
else
 
20814
  echo "$as_me: failed program was:" >&5
 
20815
sed 's/^/| /' conftest.$ac_ext >&5
 
20816
 
 
20817
 
 
20818
fi
 
20819
 
 
20820
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20821
      conftest$ac_exeext
 
20822
  if test "${ac_cv_search_opendir+set}" = set; then
 
20823
  break
 
20824
fi
 
20825
done
 
20826
if test "${ac_cv_search_opendir+set}" = set; then
 
20827
  :
 
20828
else
 
20829
  ac_cv_search_opendir=no
 
20830
fi
 
20831
rm conftest.$ac_ext
 
20832
LIBS=$ac_func_search_save_LIBS
 
20833
fi
 
20834
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
 
20835
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
 
20836
ac_res=$ac_cv_search_opendir
 
20837
if test "$ac_res" != no; then
 
20838
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
20839
 
 
20840
fi
 
20841
 
 
20842
else
 
20843
  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
 
20844
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
 
20845
if test "${ac_cv_search_opendir+set}" = set; then
 
20846
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20847
else
 
20848
  ac_func_search_save_LIBS=$LIBS
 
20849
cat >conftest.$ac_ext <<_ACEOF
 
20850
/* confdefs.h.  */
 
20851
_ACEOF
 
20852
cat confdefs.h >>conftest.$ac_ext
 
20853
cat >>conftest.$ac_ext <<_ACEOF
 
20854
/* end confdefs.h.  */
 
20855
 
 
20856
/* Override any GCC internal prototype to avoid an error.
 
20857
   Use char because int might match the return type of a GCC
 
20858
   builtin and then its argument prototype would still apply.  */
 
20859
#ifdef __cplusplus
 
20860
extern "C"
 
20861
#endif
 
20862
char opendir ();
 
20863
int
 
20864
main ()
 
20865
{
 
20866
return opendir ();
 
20867
  ;
 
20868
  return 0;
 
20869
}
 
20870
_ACEOF
 
20871
for ac_lib in '' x; do
 
20872
  if test -z "$ac_lib"; then
 
20873
    ac_res="none required"
 
20874
  else
 
20875
    ac_res=-l$ac_lib
 
20876
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
20877
  fi
 
20878
  rm -f conftest.$ac_objext conftest$ac_exeext
 
20879
if { (ac_try="$ac_link"
 
20880
case "(($ac_try" in
 
20881
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20882
  *) ac_try_echo=$ac_try;;
 
20883
esac
 
20884
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20885
  (eval "$ac_link") 2>conftest.er1
 
20886
  ac_status=$?
 
20887
  grep -v '^ *+' conftest.er1 >conftest.err
 
20888
  rm -f conftest.er1
 
20889
  cat conftest.err >&5
 
20890
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20891
  (exit $ac_status); } && {
 
20892
         test -z "$ac_cxx_werror_flag" ||
 
20893
         test ! -s conftest.err
 
20894
       } && test -s conftest$ac_exeext &&
 
20895
       $as_test_x conftest$ac_exeext; then
 
20896
  ac_cv_search_opendir=$ac_res
 
20897
else
 
20898
  echo "$as_me: failed program was:" >&5
 
20899
sed 's/^/| /' conftest.$ac_ext >&5
 
20900
 
 
20901
 
 
20902
fi
 
20903
 
 
20904
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20905
      conftest$ac_exeext
 
20906
  if test "${ac_cv_search_opendir+set}" = set; then
 
20907
  break
 
20908
fi
 
20909
done
 
20910
if test "${ac_cv_search_opendir+set}" = set; then
 
20911
  :
 
20912
else
 
20913
  ac_cv_search_opendir=no
 
20914
fi
 
20915
rm conftest.$ac_ext
 
20916
LIBS=$ac_func_search_save_LIBS
 
20917
fi
 
20918
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
 
20919
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
 
20920
ac_res=$ac_cv_search_opendir
 
20921
if test "$ac_res" != no; then
 
20922
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
20923
 
 
20924
fi
 
20925
 
 
20926
fi
 
20927
 
 
20928
{ echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
 
20929
echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
20879
20930
if test "${ac_cv_header_stat_broken+set}" = set; then
20880
20931
  echo $ECHO_N "(cached) $ECHO_C" >&6
20881
20932
else
20888
20939
#include <sys/types.h>
20889
20940
#include <sys/stat.h>
20890
20941
 
20891
 
#if defined(S_ISBLK) && defined(S_IFDIR)
20892
 
# if S_ISBLK (S_IFDIR)
20893
 
You lose.
20894
 
# endif
20895
 
#endif
20896
 
 
20897
 
#if defined(S_ISBLK) && defined(S_IFCHR)
20898
 
# if S_ISBLK (S_IFCHR)
20899
 
You lose.
20900
 
# endif
20901
 
#endif
20902
 
 
20903
 
#if defined(S_ISLNK) && defined(S_IFREG)
20904
 
# if S_ISLNK (S_IFREG)
20905
 
You lose.
20906
 
# endif
20907
 
#endif
20908
 
 
20909
 
#if defined(S_ISSOCK) && defined(S_IFREG)
20910
 
# if S_ISSOCK (S_IFREG)
20911
 
You lose.
20912
 
# endif
 
20942
#if defined S_ISBLK && defined S_IFDIR
 
20943
extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
 
20944
#endif
 
20945
 
 
20946
#if defined S_ISBLK && defined S_IFCHR
 
20947
extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
 
20948
#endif
 
20949
 
 
20950
#if defined S_ISLNK && defined S_IFREG
 
20951
extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
 
20952
#endif
 
20953
 
 
20954
#if defined S_ISSOCK && defined S_IFREG
 
20955
extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
20913
20956
#endif
20914
20957
 
20915
20958
_ACEOF
20916
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20917
 
  $EGREP "You lose" >/dev/null 2>&1; then
20918
 
  ac_cv_header_stat_broken=yes
20919
 
else
 
20959
rm -f conftest.$ac_objext
 
20960
if { (ac_try="$ac_compile"
 
20961
case "(($ac_try" in
 
20962
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20963
  *) ac_try_echo=$ac_try;;
 
20964
esac
 
20965
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20966
  (eval "$ac_compile") 2>conftest.er1
 
20967
  ac_status=$?
 
20968
  grep -v '^ *+' conftest.er1 >conftest.err
 
20969
  rm -f conftest.er1
 
20970
  cat conftest.err >&5
 
20971
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20972
  (exit $ac_status); } && {
 
20973
         test -z "$ac_cxx_werror_flag" ||
 
20974
         test ! -s conftest.err
 
20975
       } && test -s conftest.$ac_objext; then
20920
20976
  ac_cv_header_stat_broken=no
20921
 
fi
20922
 
rm -f conftest*
20923
 
 
20924
 
fi
20925
 
echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
20926
 
echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
 
20977
else
 
20978
  echo "$as_me: failed program was:" >&5
 
20979
sed 's/^/| /' conftest.$ac_ext >&5
 
20980
 
 
20981
        ac_cv_header_stat_broken=yes
 
20982
fi
 
20983
 
 
20984
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20985
fi
 
20986
{ echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
 
20987
echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
20927
20988
if test $ac_cv_header_stat_broken = yes; then
20928
20989
 
20929
20990
cat >>confdefs.h <<\_ACEOF
20932
20993
 
20933
20994
fi
20934
20995
 
20935
 
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20936
 
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
 
20996
{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
 
20997
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
20937
20998
if test "${ac_cv_header_time+set}" = set; then
20938
20999
  echo $ECHO_N "(cached) $ECHO_C" >&6
20939
21000
else
20957
21018
}
20958
21019
_ACEOF
20959
21020
rm -f conftest.$ac_objext
20960
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20961
 
  (eval $ac_compile) 2>conftest.er1
 
21021
if { (ac_try="$ac_compile"
 
21022
case "(($ac_try" in
 
21023
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21024
  *) ac_try_echo=$ac_try;;
 
21025
esac
 
21026
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21027
  (eval "$ac_compile") 2>conftest.er1
20962
21028
  ac_status=$?
20963
21029
  grep -v '^ *+' conftest.er1 >conftest.err
20964
21030
  rm -f conftest.er1
20965
21031
  cat conftest.err >&5
20966
21032
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20967
 
  (exit $ac_status); } &&
20968
 
         { ac_try='test -z "$ac_cxx_werror_flag"
20969
 
                         || test ! -s conftest.err'
20970
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20971
 
  (eval $ac_try) 2>&5
20972
 
  ac_status=$?
20973
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20974
 
  (exit $ac_status); }; } &&
20975
 
         { ac_try='test -s conftest.$ac_objext'
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); }; }; then
 
21033
  (exit $ac_status); } && {
 
21034
         test -z "$ac_cxx_werror_flag" ||
 
21035
         test ! -s conftest.err
 
21036
       } && test -s conftest.$ac_objext; then
20981
21037
  ac_cv_header_time=yes
20982
21038
else
20983
21039
  echo "$as_me: failed program was:" >&5
20984
21040
sed 's/^/| /' conftest.$ac_ext >&5
20985
21041
 
20986
 
ac_cv_header_time=no
20987
 
fi
20988
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20989
 
fi
20990
 
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20991
 
echo "${ECHO_T}$ac_cv_header_time" >&6
 
21042
        ac_cv_header_time=no
 
21043
fi
 
21044
 
 
21045
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21046
fi
 
21047
{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
 
21048
echo "${ECHO_T}$ac_cv_header_time" >&6; }
20992
21049
if test $ac_cv_header_time = yes; then
20993
21050
 
20994
21051
cat >>confdefs.h <<\_ACEOF
20998
21055
fi
20999
21056
 
21000
21057
 
21001
 
echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
21002
 
echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
 
21058
{ echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
 
21059
echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6; }
21003
21060
if test "${ac_cv_cxx_namespaces+set}" = set; then
21004
21061
  echo $ECHO_N "(cached) $ECHO_C" >&6
21005
21062
else
21006
21063
 
21007
 
 
21008
 
 ac_ext=cc
 
21064
 ac_ext=cpp
21009
21065
ac_cpp='$CXXCPP $CPPFLAGS'
21010
21066
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21011
21067
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21027
21083
}
21028
21084
_ACEOF
21029
21085
rm -f conftest.$ac_objext
21030
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21031
 
  (eval $ac_compile) 2>conftest.er1
 
21086
if { (ac_try="$ac_compile"
 
21087
case "(($ac_try" in
 
21088
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21089
  *) ac_try_echo=$ac_try;;
 
21090
esac
 
21091
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21092
  (eval "$ac_compile") 2>conftest.er1
21032
21093
  ac_status=$?
21033
21094
  grep -v '^ *+' conftest.er1 >conftest.err
21034
21095
  rm -f conftest.er1
21035
21096
  cat conftest.err >&5
21036
21097
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037
 
  (exit $ac_status); } &&
21038
 
         { ac_try='test -z "$ac_cxx_werror_flag"
21039
 
                         || test ! -s conftest.err'
21040
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21041
 
  (eval $ac_try) 2>&5
21042
 
  ac_status=$?
21043
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21044
 
  (exit $ac_status); }; } &&
21045
 
         { ac_try='test -s conftest.$ac_objext'
21046
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21047
 
  (eval $ac_try) 2>&5
21048
 
  ac_status=$?
21049
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21050
 
  (exit $ac_status); }; }; then
 
21098
  (exit $ac_status); } && {
 
21099
         test -z "$ac_cxx_werror_flag" ||
 
21100
         test ! -s conftest.err
 
21101
       } && test -s conftest.$ac_objext; then
21051
21102
  ac_cv_cxx_namespaces=yes
21052
21103
else
21053
21104
  echo "$as_me: failed program was:" >&5
21054
21105
sed 's/^/| /' conftest.$ac_ext >&5
21055
21106
 
21056
 
ac_cv_cxx_namespaces=no
 
21107
        ac_cv_cxx_namespaces=no
21057
21108
fi
21058
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21059
 
 ac_ext=cc
 
21109
 
 
21110
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21111
 ac_ext=cpp
21060
21112
ac_cpp='$CXXCPP $CPPFLAGS'
21061
21113
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21062
21114
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21064
21116
 
21065
21117
 
21066
21118
fi
21067
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
21068
 
echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
 
21119
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
 
21120
echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6; }
21069
21121
if test "$ac_cv_cxx_namespaces" = yes; then
21070
21122
 
21071
21123
cat >>confdefs.h <<\_ACEOF
21074
21126
 
21075
21127
fi
21076
21128
 
21077
 
echo "$as_me:$LINENO: checking whether the compiler supports Standard Template Library" >&5
21078
 
echo $ECHO_N "checking whether the compiler supports Standard Template Library... $ECHO_C" >&6
 
21129
{ echo "$as_me:$LINENO: checking whether the compiler supports Standard Template Library" >&5
 
21130
echo $ECHO_N "checking whether the compiler supports Standard Template Library... $ECHO_C" >&6; }
21079
21131
if test "${ac_cv_cxx_have_stl+set}" = set; then
21080
21132
  echo $ECHO_N "(cached) $ECHO_C" >&6
21081
21133
else
21082
21134
 
21083
21135
 
21084
 
 
21085
 
 ac_ext=cc
 
21136
 ac_ext=cpp
21086
21137
ac_cpp='$CXXCPP $CPPFLAGS'
21087
21138
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21088
21139
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21109
21160
}
21110
21161
_ACEOF
21111
21162
rm -f conftest.$ac_objext
21112
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21113
 
  (eval $ac_compile) 2>conftest.er1
 
21163
if { (ac_try="$ac_compile"
 
21164
case "(($ac_try" in
 
21165
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21166
  *) ac_try_echo=$ac_try;;
 
21167
esac
 
21168
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21169
  (eval "$ac_compile") 2>conftest.er1
21114
21170
  ac_status=$?
21115
21171
  grep -v '^ *+' conftest.er1 >conftest.err
21116
21172
  rm -f conftest.er1
21117
21173
  cat conftest.err >&5
21118
21174
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21119
 
  (exit $ac_status); } &&
21120
 
         { ac_try='test -z "$ac_cxx_werror_flag"
21121
 
                         || test ! -s conftest.err'
21122
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21123
 
  (eval $ac_try) 2>&5
21124
 
  ac_status=$?
21125
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21126
 
  (exit $ac_status); }; } &&
21127
 
         { ac_try='test -s conftest.$ac_objext'
21128
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21129
 
  (eval $ac_try) 2>&5
21130
 
  ac_status=$?
21131
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132
 
  (exit $ac_status); }; }; then
 
21175
  (exit $ac_status); } && {
 
21176
         test -z "$ac_cxx_werror_flag" ||
 
21177
         test ! -s conftest.err
 
21178
       } && test -s conftest.$ac_objext; then
21133
21179
  ac_cv_cxx_have_stl=yes
21134
21180
else
21135
21181
  echo "$as_me: failed program was:" >&5
21136
21182
sed 's/^/| /' conftest.$ac_ext >&5
21137
21183
 
21138
 
ac_cv_cxx_have_stl=no
 
21184
        ac_cv_cxx_have_stl=no
21139
21185
fi
21140
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21141
 
 ac_ext=cc
 
21186
 
 
21187
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21188
 ac_ext=cpp
21142
21189
ac_cpp='$CXXCPP $CPPFLAGS'
21143
21190
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21144
21191
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21146
21193
 
21147
21194
 
21148
21195
fi
21149
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_have_stl" >&5
21150
 
echo "${ECHO_T}$ac_cv_cxx_have_stl" >&6
 
21196
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_have_stl" >&5
 
21197
echo "${ECHO_T}$ac_cv_cxx_have_stl" >&6; }
21151
21198
if test "$ac_cv_cxx_have_stl" = yes; then
21152
21199
 
21153
21200
cat >>confdefs.h <<\_ACEOF
21157
21204
fi
21158
21205
 
21159
21206
 
21160
 
echo "$as_me:$LINENO: checking for a functioning wctype.h header" >&5
21161
 
echo $ECHO_N "checking for a functioning wctype.h header... $ECHO_C" >&6
 
21207
{ echo "$as_me:$LINENO: checking for a functioning wctype.h header" >&5
 
21208
echo $ECHO_N "checking for a functioning wctype.h header... $ECHO_C" >&6; }
21162
21209
if test "${ac_cv_cxx_have_wctype_h+set}" = set; then
21163
21210
  echo $ECHO_N "(cached) $ECHO_C" >&6
21164
21211
else
21165
21212
 
21166
21213
 
21167
 
 
21168
 
 ac_ext=cc
 
21214
 ac_ext=cpp
21169
21215
ac_cpp='$CXXCPP $CPPFLAGS'
21170
21216
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21171
21217
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21184
21230
 int main(void){ int x=iswalnum(100); return 0;}
21185
21231
_ACEOF
21186
21232
rm -f conftest$ac_exeext
21187
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21188
 
  (eval $ac_link) 2>&5
 
21233
if { (ac_try="$ac_link"
 
21234
case "(($ac_try" in
 
21235
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21236
  *) ac_try_echo=$ac_try;;
 
21237
esac
 
21238
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21239
  (eval "$ac_link") 2>&5
21189
21240
  ac_status=$?
21190
21241
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21191
21242
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21192
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21193
 
  (eval $ac_try) 2>&5
 
21243
  { (case "(($ac_try" in
 
21244
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21245
  *) ac_try_echo=$ac_try;;
 
21246
esac
 
21247
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21248
  (eval "$ac_try") 2>&5
21194
21249
  ac_status=$?
21195
21250
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196
21251
  (exit $ac_status); }; }; then
21203
21258
( exit $ac_status )
21204
21259
ac_cv_cxx_have_wctype_h=no
21205
21260
fi
21206
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
21261
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21207
21262
fi
21208
 
 ac_ext=cc
 
21263
 
 
21264
 
 
21265
 ac_ext=cpp
21209
21266
ac_cpp='$CXXCPP $CPPFLAGS'
21210
21267
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21211
21268
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21213
21270
 
21214
21271
 
21215
21272
fi
21216
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_have_wctype_h" >&5
21217
 
echo "${ECHO_T}$ac_cv_cxx_have_wctype_h" >&6
 
21273
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_have_wctype_h" >&5
 
21274
echo "${ECHO_T}$ac_cv_cxx_have_wctype_h" >&6; }
21218
21275
if test "$ac_cv_cxx_have_wctype_h" = yes; then
21219
21276
 
21220
21277
cat >>confdefs.h <<\_ACEOF
21233
21290
for ac_header in algorithm functional map vector list set
21234
21291
do
21235
21292
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21236
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
21237
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
21238
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21239
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
21293
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21294
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21295
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
21296
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21240
21297
  echo $ECHO_N "(cached) $ECHO_C" >&6
21241
21298
fi
21242
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21243
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21299
ac_res=`eval echo '${'$as_ac_Header'}'`
 
21300
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21301
echo "${ECHO_T}$ac_res" >&6; }
21244
21302
else
21245
21303
  # Is the header compilable?
21246
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
21247
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
21304
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
21305
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21248
21306
cat >conftest.$ac_ext <<_ACEOF
21249
21307
/* confdefs.h.  */
21250
21308
_ACEOF
21255
21313
#include <$ac_header>
21256
21314
_ACEOF
21257
21315
rm -f conftest.$ac_objext
21258
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21259
 
  (eval $ac_compile) 2>conftest.er1
 
21316
if { (ac_try="$ac_compile"
 
21317
case "(($ac_try" in
 
21318
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21319
  *) ac_try_echo=$ac_try;;
 
21320
esac
 
21321
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21322
  (eval "$ac_compile") 2>conftest.er1
21260
21323
  ac_status=$?
21261
21324
  grep -v '^ *+' conftest.er1 >conftest.err
21262
21325
  rm -f conftest.er1
21263
21326
  cat conftest.err >&5
21264
21327
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21265
 
  (exit $ac_status); } &&
21266
 
         { ac_try='test -z "$ac_cxx_werror_flag"
21267
 
                         || test ! -s conftest.err'
21268
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21269
 
  (eval $ac_try) 2>&5
21270
 
  ac_status=$?
21271
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21272
 
  (exit $ac_status); }; } &&
21273
 
         { ac_try='test -s conftest.$ac_objext'
21274
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21275
 
  (eval $ac_try) 2>&5
21276
 
  ac_status=$?
21277
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21278
 
  (exit $ac_status); }; }; then
 
21328
  (exit $ac_status); } && {
 
21329
         test -z "$ac_cxx_werror_flag" ||
 
21330
         test ! -s conftest.err
 
21331
       } && test -s conftest.$ac_objext; then
21279
21332
  ac_header_compiler=yes
21280
21333
else
21281
21334
  echo "$as_me: failed program was:" >&5
21282
21335
sed 's/^/| /' conftest.$ac_ext >&5
21283
21336
 
21284
 
ac_header_compiler=no
 
21337
        ac_header_compiler=no
21285
21338
fi
21286
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21287
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21288
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
21339
 
 
21340
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21341
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
21342
echo "${ECHO_T}$ac_header_compiler" >&6; }
21289
21343
 
21290
21344
# Is the header present?
21291
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
21292
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
21345
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
21346
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21293
21347
cat >conftest.$ac_ext <<_ACEOF
21294
21348
/* confdefs.h.  */
21295
21349
_ACEOF
21298
21352
/* end confdefs.h.  */
21299
21353
#include <$ac_header>
21300
21354
_ACEOF
21301
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21302
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
21355
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
21356
case "(($ac_try" in
 
21357
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21358
  *) ac_try_echo=$ac_try;;
 
21359
esac
 
21360
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21361
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21303
21362
  ac_status=$?
21304
21363
  grep -v '^ *+' conftest.er1 >conftest.err
21305
21364
  rm -f conftest.er1
21306
21365
  cat conftest.err >&5
21307
21366
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308
 
  (exit $ac_status); } >/dev/null; then
21309
 
  if test -s conftest.err; then
21310
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
21311
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21312
 
  else
21313
 
    ac_cpp_err=
21314
 
  fi
21315
 
else
21316
 
  ac_cpp_err=yes
21317
 
fi
21318
 
if test -z "$ac_cpp_err"; then
 
21367
  (exit $ac_status); } >/dev/null && {
 
21368
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
21369
         test ! -s conftest.err
 
21370
       }; then
21319
21371
  ac_header_preproc=yes
21320
21372
else
21321
21373
  echo "$as_me: failed program was:" >&5
21323
21375
 
21324
21376
  ac_header_preproc=no
21325
21377
fi
 
21378
 
21326
21379
rm -f conftest.err conftest.$ac_ext
21327
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21328
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
21380
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
21381
echo "${ECHO_T}$ac_header_preproc" >&6; }
21329
21382
 
21330
21383
# So?  What about this header?
21331
21384
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21349
21402
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21350
21403
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21351
21404
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21352
 
    (
21353
 
      cat <<\_ASBOX
21354
 
## ------------------------------------------ ##
21355
 
## Report this to the AC_PACKAGE_NAME lists.  ##
21356
 
## ------------------------------------------ ##
21357
 
_ASBOX
21358
 
    ) |
21359
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
21405
 
21360
21406
    ;;
21361
21407
esac
21362
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
21363
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21364
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
21408
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21409
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
21410
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21365
21411
  echo $ECHO_N "(cached) $ECHO_C" >&6
21366
21412
else
21367
21413
  eval "$as_ac_Header=\$ac_header_preproc"
21368
21414
fi
21369
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21370
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21415
ac_res=`eval echo '${'$as_ac_Header'}'`
 
21416
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21417
echo "${ECHO_T}$ac_res" >&6; }
21371
21418
 
21372
21419
fi
21373
21420
if test `eval echo '${'$as_ac_Header'}'` = yes; then
21388
21435
for ac_header in math.h
21389
21436
do
21390
21437
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21391
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
21392
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
21393
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21394
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
21438
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21439
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21440
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
21441
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21395
21442
  echo $ECHO_N "(cached) $ECHO_C" >&6
21396
21443
fi
21397
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21398
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21444
ac_res=`eval echo '${'$as_ac_Header'}'`
 
21445
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21446
echo "${ECHO_T}$ac_res" >&6; }
21399
21447
else
21400
21448
  # Is the header compilable?
21401
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
21402
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
21449
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
21450
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21403
21451
cat >conftest.$ac_ext <<_ACEOF
21404
21452
/* confdefs.h.  */
21405
21453
_ACEOF
21410
21458
#include <$ac_header>
21411
21459
_ACEOF
21412
21460
rm -f conftest.$ac_objext
21413
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21414
 
  (eval $ac_compile) 2>conftest.er1
 
21461
if { (ac_try="$ac_compile"
 
21462
case "(($ac_try" in
 
21463
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21464
  *) ac_try_echo=$ac_try;;
 
21465
esac
 
21466
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21467
  (eval "$ac_compile") 2>conftest.er1
21415
21468
  ac_status=$?
21416
21469
  grep -v '^ *+' conftest.er1 >conftest.err
21417
21470
  rm -f conftest.er1
21418
21471
  cat conftest.err >&5
21419
21472
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21420
 
  (exit $ac_status); } &&
21421
 
         { ac_try='test -z "$ac_cxx_werror_flag"
21422
 
                         || test ! -s conftest.err'
21423
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21424
 
  (eval $ac_try) 2>&5
21425
 
  ac_status=$?
21426
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21427
 
  (exit $ac_status); }; } &&
21428
 
         { ac_try='test -s conftest.$ac_objext'
21429
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21430
 
  (eval $ac_try) 2>&5
21431
 
  ac_status=$?
21432
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21433
 
  (exit $ac_status); }; }; then
 
21473
  (exit $ac_status); } && {
 
21474
         test -z "$ac_cxx_werror_flag" ||
 
21475
         test ! -s conftest.err
 
21476
       } && test -s conftest.$ac_objext; then
21434
21477
  ac_header_compiler=yes
21435
21478
else
21436
21479
  echo "$as_me: failed program was:" >&5
21437
21480
sed 's/^/| /' conftest.$ac_ext >&5
21438
21481
 
21439
 
ac_header_compiler=no
 
21482
        ac_header_compiler=no
21440
21483
fi
21441
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21442
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21443
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
21484
 
 
21485
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21486
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
21487
echo "${ECHO_T}$ac_header_compiler" >&6; }
21444
21488
 
21445
21489
# Is the header present?
21446
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
21447
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
21490
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
21491
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21448
21492
cat >conftest.$ac_ext <<_ACEOF
21449
21493
/* confdefs.h.  */
21450
21494
_ACEOF
21453
21497
/* end confdefs.h.  */
21454
21498
#include <$ac_header>
21455
21499
_ACEOF
21456
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21457
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
21500
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
21501
case "(($ac_try" in
 
21502
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21503
  *) ac_try_echo=$ac_try;;
 
21504
esac
 
21505
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21506
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21458
21507
  ac_status=$?
21459
21508
  grep -v '^ *+' conftest.er1 >conftest.err
21460
21509
  rm -f conftest.er1
21461
21510
  cat conftest.err >&5
21462
21511
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21463
 
  (exit $ac_status); } >/dev/null; then
21464
 
  if test -s conftest.err; then
21465
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
21466
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21467
 
  else
21468
 
    ac_cpp_err=
21469
 
  fi
21470
 
else
21471
 
  ac_cpp_err=yes
21472
 
fi
21473
 
if test -z "$ac_cpp_err"; then
 
21512
  (exit $ac_status); } >/dev/null && {
 
21513
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
21514
         test ! -s conftest.err
 
21515
       }; then
21474
21516
  ac_header_preproc=yes
21475
21517
else
21476
21518
  echo "$as_me: failed program was:" >&5
21478
21520
 
21479
21521
  ac_header_preproc=no
21480
21522
fi
 
21523
 
21481
21524
rm -f conftest.err conftest.$ac_ext
21482
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21483
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
21525
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
21526
echo "${ECHO_T}$ac_header_preproc" >&6; }
21484
21527
 
21485
21528
# So?  What about this header?
21486
21529
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21504
21547
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21505
21548
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21506
21549
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21507
 
    (
21508
 
      cat <<\_ASBOX
21509
 
## ------------------------------------------ ##
21510
 
## Report this to the AC_PACKAGE_NAME lists.  ##
21511
 
## ------------------------------------------ ##
21512
 
_ASBOX
21513
 
    ) |
21514
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
21550
 
21515
21551
    ;;
21516
21552
esac
21517
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
21518
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21519
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
21553
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21554
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
21555
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21520
21556
  echo $ECHO_N "(cached) $ECHO_C" >&6
21521
21557
else
21522
21558
  eval "$as_ac_Header=\$ac_header_preproc"
21523
21559
fi
21524
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21525
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21560
ac_res=`eval echo '${'$as_ac_Header'}'`
 
21561
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21562
echo "${ECHO_T}$ac_res" >&6; }
21526
21563
 
21527
21564
fi
21528
21565
if test `eval echo '${'$as_ac_Header'}'` = yes; then
21555
21592
for ac_header in hash_map hash_set ext/hash_map ext/hash_set stdarg.h sys/timeb.h wchar.h tchar.h errno.h fcntl.h ctype.h inttypes.h sys/types.h
21556
21593
do
21557
21594
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21558
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
21559
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
21560
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21561
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
21595
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21596
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21597
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
21598
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21562
21599
  echo $ECHO_N "(cached) $ECHO_C" >&6
21563
21600
fi
21564
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21565
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21601
ac_res=`eval echo '${'$as_ac_Header'}'`
 
21602
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21603
echo "${ECHO_T}$ac_res" >&6; }
21566
21604
else
21567
21605
  # Is the header compilable?
21568
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
21569
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
21606
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
21607
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21570
21608
cat >conftest.$ac_ext <<_ACEOF
21571
21609
/* confdefs.h.  */
21572
21610
_ACEOF
21577
21615
#include <$ac_header>
21578
21616
_ACEOF
21579
21617
rm -f conftest.$ac_objext
21580
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21581
 
  (eval $ac_compile) 2>conftest.er1
 
21618
if { (ac_try="$ac_compile"
 
21619
case "(($ac_try" in
 
21620
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21621
  *) ac_try_echo=$ac_try;;
 
21622
esac
 
21623
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21624
  (eval "$ac_compile") 2>conftest.er1
21582
21625
  ac_status=$?
21583
21626
  grep -v '^ *+' conftest.er1 >conftest.err
21584
21627
  rm -f conftest.er1
21585
21628
  cat conftest.err >&5
21586
21629
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21587
 
  (exit $ac_status); } &&
21588
 
         { ac_try='test -z "$ac_cxx_werror_flag"
21589
 
                         || test ! -s conftest.err'
21590
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21591
 
  (eval $ac_try) 2>&5
21592
 
  ac_status=$?
21593
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594
 
  (exit $ac_status); }; } &&
21595
 
         { ac_try='test -s conftest.$ac_objext'
21596
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21597
 
  (eval $ac_try) 2>&5
21598
 
  ac_status=$?
21599
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21600
 
  (exit $ac_status); }; }; then
 
21630
  (exit $ac_status); } && {
 
21631
         test -z "$ac_cxx_werror_flag" ||
 
21632
         test ! -s conftest.err
 
21633
       } && test -s conftest.$ac_objext; then
21601
21634
  ac_header_compiler=yes
21602
21635
else
21603
21636
  echo "$as_me: failed program was:" >&5
21604
21637
sed 's/^/| /' conftest.$ac_ext >&5
21605
21638
 
21606
 
ac_header_compiler=no
 
21639
        ac_header_compiler=no
21607
21640
fi
21608
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21609
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21610
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
21641
 
 
21642
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21643
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
21644
echo "${ECHO_T}$ac_header_compiler" >&6; }
21611
21645
 
21612
21646
# Is the header present?
21613
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
21614
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
21647
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
21648
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21615
21649
cat >conftest.$ac_ext <<_ACEOF
21616
21650
/* confdefs.h.  */
21617
21651
_ACEOF
21620
21654
/* end confdefs.h.  */
21621
21655
#include <$ac_header>
21622
21656
_ACEOF
21623
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21624
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
21657
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
21658
case "(($ac_try" in
 
21659
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21660
  *) ac_try_echo=$ac_try;;
 
21661
esac
 
21662
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21663
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21625
21664
  ac_status=$?
21626
21665
  grep -v '^ *+' conftest.er1 >conftest.err
21627
21666
  rm -f conftest.er1
21628
21667
  cat conftest.err >&5
21629
21668
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21630
 
  (exit $ac_status); } >/dev/null; then
21631
 
  if test -s conftest.err; then
21632
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
21633
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21634
 
  else
21635
 
    ac_cpp_err=
21636
 
  fi
21637
 
else
21638
 
  ac_cpp_err=yes
21639
 
fi
21640
 
if test -z "$ac_cpp_err"; then
 
21669
  (exit $ac_status); } >/dev/null && {
 
21670
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
21671
         test ! -s conftest.err
 
21672
       }; then
21641
21673
  ac_header_preproc=yes
21642
21674
else
21643
21675
  echo "$as_me: failed program was:" >&5
21645
21677
 
21646
21678
  ac_header_preproc=no
21647
21679
fi
 
21680
 
21648
21681
rm -f conftest.err conftest.$ac_ext
21649
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21650
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
21682
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
21683
echo "${ECHO_T}$ac_header_preproc" >&6; }
21651
21684
 
21652
21685
# So?  What about this header?
21653
21686
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21671
21704
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21672
21705
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21673
21706
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21674
 
    (
21675
 
      cat <<\_ASBOX
21676
 
## ------------------------------------------ ##
21677
 
## Report this to the AC_PACKAGE_NAME lists.  ##
21678
 
## ------------------------------------------ ##
21679
 
_ASBOX
21680
 
    ) |
21681
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
21707
 
21682
21708
    ;;
21683
21709
esac
21684
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
21685
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21686
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
21710
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21711
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
21712
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21687
21713
  echo $ECHO_N "(cached) $ECHO_C" >&6
21688
21714
else
21689
21715
  eval "$as_ac_Header=\$ac_header_preproc"
21690
21716
fi
21691
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21692
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21717
ac_res=`eval echo '${'$as_ac_Header'}'`
 
21718
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21719
echo "${ECHO_T}$ac_res" >&6; }
21693
21720
 
21694
21721
fi
21695
21722
if test `eval echo '${'$as_ac_Header'}'` = yes; then
21710
21737
 
21711
21738
 
21712
21739
 
21713
 
# Check whether --enable-largefile or --disable-largefile was given.
 
21740
# Check whether --enable-largefile was given.
21714
21741
if test "${enable_largefile+set}" = set; then
21715
 
  enableval="$enable_largefile"
 
21742
  enableval=$enable_largefile;
 
21743
fi
21716
21744
 
21717
 
fi;
21718
21745
if test "$enable_largefile" != no; then
21719
21746
 
21720
 
  echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
21721
 
echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
 
21747
  { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
 
21748
echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
21722
21749
if test "${ac_cv_sys_largefile_CC+set}" = set; then
21723
21750
  echo $ECHO_N "(cached) $ECHO_C" >&6
21724
21751
else
21726
21753
     if test "$GCC" != yes; then
21727
21754
       ac_save_CC=$CC
21728
21755
       while :; do
21729
 
         # IRIX 6.2 and later do not support large files by default,
21730
 
         # so use the C compiler's -n32 option if that helps.
 
21756
         # IRIX 6.2 and later do not support large files by default,
 
21757
         # so use the C compiler's -n32 option if that helps.
21731
21758
         cat >conftest.$ac_ext <<_ACEOF
21732
21759
/* confdefs.h.  */
21733
21760
_ACEOF
21751
21778
  return 0;
21752
21779
}
21753
21780
_ACEOF
21754
 
         rm -f conftest.$ac_objext
21755
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21756
 
  (eval $ac_compile) 2>conftest.er1
 
21781
         rm -f conftest.$ac_objext
 
21782
if { (ac_try="$ac_compile"
 
21783
case "(($ac_try" in
 
21784
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21785
  *) ac_try_echo=$ac_try;;
 
21786
esac
 
21787
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21788
  (eval "$ac_compile") 2>conftest.er1
21757
21789
  ac_status=$?
21758
21790
  grep -v '^ *+' conftest.er1 >conftest.err
21759
21791
  rm -f conftest.er1
21760
21792
  cat conftest.err >&5
21761
21793
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21762
 
  (exit $ac_status); } &&
21763
 
         { ac_try='test -z "$ac_cxx_werror_flag"
21764
 
                         || test ! -s conftest.err'
21765
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21766
 
  (eval $ac_try) 2>&5
21767
 
  ac_status=$?
21768
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21769
 
  (exit $ac_status); }; } &&
21770
 
         { ac_try='test -s conftest.$ac_objext'
21771
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21772
 
  (eval $ac_try) 2>&5
21773
 
  ac_status=$?
21774
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21775
 
  (exit $ac_status); }; }; then
 
21794
  (exit $ac_status); } && {
 
21795
         test -z "$ac_cxx_werror_flag" ||
 
21796
         test ! -s conftest.err
 
21797
       } && test -s conftest.$ac_objext; then
21776
21798
  break
21777
21799
else
21778
21800
  echo "$as_me: failed program was:" >&5
21779
21801
sed 's/^/| /' conftest.$ac_ext >&5
21780
21802
 
 
21803
 
21781
21804
fi
21782
 
rm -f conftest.err conftest.$ac_objext
21783
 
         CC="$CC -n32"
21784
 
         rm -f conftest.$ac_objext
21785
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21786
 
  (eval $ac_compile) 2>conftest.er1
 
21805
 
 
21806
rm -f core conftest.err conftest.$ac_objext
 
21807
         CC="$CC -n32"
 
21808
         rm -f conftest.$ac_objext
 
21809
if { (ac_try="$ac_compile"
 
21810
case "(($ac_try" in
 
21811
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21812
  *) ac_try_echo=$ac_try;;
 
21813
esac
 
21814
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21815
  (eval "$ac_compile") 2>conftest.er1
21787
21816
  ac_status=$?
21788
21817
  grep -v '^ *+' conftest.er1 >conftest.err
21789
21818
  rm -f conftest.er1
21790
21819
  cat conftest.err >&5
21791
21820
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792
 
  (exit $ac_status); } &&
21793
 
         { ac_try='test -z "$ac_cxx_werror_flag"
21794
 
                         || test ! -s conftest.err'
21795
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21796
 
  (eval $ac_try) 2>&5
21797
 
  ac_status=$?
21798
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21799
 
  (exit $ac_status); }; } &&
21800
 
         { ac_try='test -s conftest.$ac_objext'
21801
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21802
 
  (eval $ac_try) 2>&5
21803
 
  ac_status=$?
21804
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21805
 
  (exit $ac_status); }; }; then
 
21821
  (exit $ac_status); } && {
 
21822
         test -z "$ac_cxx_werror_flag" ||
 
21823
         test ! -s conftest.err
 
21824
       } && test -s conftest.$ac_objext; then
21806
21825
  ac_cv_sys_largefile_CC=' -n32'; break
21807
21826
else
21808
21827
  echo "$as_me: failed program was:" >&5
21809
21828
sed 's/^/| /' conftest.$ac_ext >&5
21810
21829
 
 
21830
 
21811
21831
fi
21812
 
rm -f conftest.err conftest.$ac_objext
 
21832
 
 
21833
rm -f core conftest.err conftest.$ac_objext
21813
21834
         break
21814
21835
       done
21815
21836
       CC=$ac_save_CC
21816
21837
       rm -f conftest.$ac_ext
21817
21838
    fi
21818
21839
fi
21819
 
echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
21820
 
echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
 
21840
{ echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
 
21841
echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
21821
21842
  if test "$ac_cv_sys_largefile_CC" != no; then
21822
21843
    CC=$CC$ac_cv_sys_largefile_CC
21823
21844
  fi
21824
21845
 
21825
 
  echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21826
 
echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
 
21846
  { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
 
21847
echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
21827
21848
if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21828
21849
  echo $ECHO_N "(cached) $ECHO_C" >&6
21829
21850
else
21830
21851
  while :; do
21831
 
  ac_cv_sys_file_offset_bits=no
21832
21852
  cat >conftest.$ac_ext <<_ACEOF
21833
21853
/* confdefs.h.  */
21834
21854
_ACEOF
21853
21873
}
21854
21874
_ACEOF
21855
21875
rm -f conftest.$ac_objext
21856
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21857
 
  (eval $ac_compile) 2>conftest.er1
 
21876
if { (ac_try="$ac_compile"
 
21877
case "(($ac_try" in
 
21878
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21879
  *) ac_try_echo=$ac_try;;
 
21880
esac
 
21881
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21882
  (eval "$ac_compile") 2>conftest.er1
21858
21883
  ac_status=$?
21859
21884
  grep -v '^ *+' conftest.er1 >conftest.err
21860
21885
  rm -f conftest.er1
21861
21886
  cat conftest.err >&5
21862
21887
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21863
 
  (exit $ac_status); } &&
21864
 
         { ac_try='test -z "$ac_cxx_werror_flag"
21865
 
                         || test ! -s conftest.err'
21866
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21867
 
  (eval $ac_try) 2>&5
21868
 
  ac_status=$?
21869
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21870
 
  (exit $ac_status); }; } &&
21871
 
         { ac_try='test -s conftest.$ac_objext'
21872
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21873
 
  (eval $ac_try) 2>&5
21874
 
  ac_status=$?
21875
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21876
 
  (exit $ac_status); }; }; then
21877
 
  break
 
21888
  (exit $ac_status); } && {
 
21889
         test -z "$ac_cxx_werror_flag" ||
 
21890
         test ! -s conftest.err
 
21891
       } && test -s conftest.$ac_objext; then
 
21892
  ac_cv_sys_file_offset_bits=no; break
21878
21893
else
21879
21894
  echo "$as_me: failed program was:" >&5
21880
21895
sed 's/^/| /' conftest.$ac_ext >&5
21881
21896
 
 
21897
 
21882
21898
fi
21883
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21899
 
 
21900
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21884
21901
  cat >conftest.$ac_ext <<_ACEOF
21885
21902
/* confdefs.h.  */
21886
21903
_ACEOF
21906
21923
}
21907
21924
_ACEOF
21908
21925
rm -f conftest.$ac_objext
21909
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21910
 
  (eval $ac_compile) 2>conftest.er1
 
21926
if { (ac_try="$ac_compile"
 
21927
case "(($ac_try" in
 
21928
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21929
  *) ac_try_echo=$ac_try;;
 
21930
esac
 
21931
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21932
  (eval "$ac_compile") 2>conftest.er1
21911
21933
  ac_status=$?
21912
21934
  grep -v '^ *+' conftest.er1 >conftest.err
21913
21935
  rm -f conftest.er1
21914
21936
  cat conftest.err >&5
21915
21937
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21916
 
  (exit $ac_status); } &&
21917
 
         { ac_try='test -z "$ac_cxx_werror_flag"
21918
 
                         || test ! -s conftest.err'
21919
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21920
 
  (eval $ac_try) 2>&5
21921
 
  ac_status=$?
21922
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21923
 
  (exit $ac_status); }; } &&
21924
 
         { ac_try='test -s conftest.$ac_objext'
21925
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21926
 
  (eval $ac_try) 2>&5
21927
 
  ac_status=$?
21928
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21929
 
  (exit $ac_status); }; }; then
 
21938
  (exit $ac_status); } && {
 
21939
         test -z "$ac_cxx_werror_flag" ||
 
21940
         test ! -s conftest.err
 
21941
       } && test -s conftest.$ac_objext; then
21930
21942
  ac_cv_sys_file_offset_bits=64; break
21931
21943
else
21932
21944
  echo "$as_me: failed program was:" >&5
21933
21945
sed 's/^/| /' conftest.$ac_ext >&5
21934
21946
 
 
21947
 
21935
21948
fi
21936
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21949
 
 
21950
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21951
  ac_cv_sys_file_offset_bits=unknown
21937
21952
  break
21938
21953
done
21939
21954
fi
21940
 
echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21941
 
echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21942
 
if test "$ac_cv_sys_file_offset_bits" != no; then
21943
 
 
 
21955
{ echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
 
21956
echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
 
21957
case $ac_cv_sys_file_offset_bits in #(
 
21958
  no | unknown) ;;
 
21959
  *)
21944
21960
cat >>confdefs.h <<_ACEOF
21945
21961
#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21946
21962
_ACEOF
21947
 
 
21948
 
fi
 
21963
;;
 
21964
esac
21949
21965
rm -f conftest*
21950
 
  echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21951
 
echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
 
21966
  if test $ac_cv_sys_file_offset_bits = unknown; then
 
21967
    { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
 
21968
echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
21952
21969
if test "${ac_cv_sys_large_files+set}" = set; then
21953
21970
  echo $ECHO_N "(cached) $ECHO_C" >&6
21954
21971
else
21955
21972
  while :; do
21956
 
  ac_cv_sys_large_files=no
21957
21973
  cat >conftest.$ac_ext <<_ACEOF
21958
21974
/* confdefs.h.  */
21959
21975
_ACEOF
21978
21994
}
21979
21995
_ACEOF
21980
21996
rm -f conftest.$ac_objext
21981
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21982
 
  (eval $ac_compile) 2>conftest.er1
 
21997
if { (ac_try="$ac_compile"
 
21998
case "(($ac_try" in
 
21999
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22000
  *) ac_try_echo=$ac_try;;
 
22001
esac
 
22002
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22003
  (eval "$ac_compile") 2>conftest.er1
21983
22004
  ac_status=$?
21984
22005
  grep -v '^ *+' conftest.er1 >conftest.err
21985
22006
  rm -f conftest.er1
21986
22007
  cat conftest.err >&5
21987
22008
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21988
 
  (exit $ac_status); } &&
21989
 
         { ac_try='test -z "$ac_cxx_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
22002
 
  break
 
22009
  (exit $ac_status); } && {
 
22010
         test -z "$ac_cxx_werror_flag" ||
 
22011
         test ! -s conftest.err
 
22012
       } && test -s conftest.$ac_objext; then
 
22013
  ac_cv_sys_large_files=no; break
22003
22014
else
22004
22015
  echo "$as_me: failed program was:" >&5
22005
22016
sed 's/^/| /' conftest.$ac_ext >&5
22006
22017
 
 
22018
 
22007
22019
fi
22008
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22020
 
 
22021
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22009
22022
  cat >conftest.$ac_ext <<_ACEOF
22010
22023
/* confdefs.h.  */
22011
22024
_ACEOF
22031
22044
}
22032
22045
_ACEOF
22033
22046
rm -f conftest.$ac_objext
22034
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22035
 
  (eval $ac_compile) 2>conftest.er1
 
22047
if { (ac_try="$ac_compile"
 
22048
case "(($ac_try" in
 
22049
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22050
  *) ac_try_echo=$ac_try;;
 
22051
esac
 
22052
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22053
  (eval "$ac_compile") 2>conftest.er1
22036
22054
  ac_status=$?
22037
22055
  grep -v '^ *+' conftest.er1 >conftest.err
22038
22056
  rm -f conftest.er1
22039
22057
  cat conftest.err >&5
22040
22058
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22041
 
  (exit $ac_status); } &&
22042
 
         { ac_try='test -z "$ac_cxx_werror_flag"
22043
 
                         || test ! -s conftest.err'
22044
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22045
 
  (eval $ac_try) 2>&5
22046
 
  ac_status=$?
22047
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22048
 
  (exit $ac_status); }; } &&
22049
 
         { ac_try='test -s conftest.$ac_objext'
22050
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22051
 
  (eval $ac_try) 2>&5
22052
 
  ac_status=$?
22053
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22054
 
  (exit $ac_status); }; }; then
 
22059
  (exit $ac_status); } && {
 
22060
         test -z "$ac_cxx_werror_flag" ||
 
22061
         test ! -s conftest.err
 
22062
       } && test -s conftest.$ac_objext; then
22055
22063
  ac_cv_sys_large_files=1; break
22056
22064
else
22057
22065
  echo "$as_me: failed program was:" >&5
22058
22066
sed 's/^/| /' conftest.$ac_ext >&5
22059
22067
 
 
22068
 
22060
22069
fi
22061
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22070
 
 
22071
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22072
  ac_cv_sys_large_files=unknown
22062
22073
  break
22063
22074
done
22064
22075
fi
22065
 
echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22066
 
echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22067
 
if test "$ac_cv_sys_large_files" != no; then
22068
 
 
 
22076
{ echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
 
22077
echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
 
22078
case $ac_cv_sys_large_files in #(
 
22079
  no | unknown) ;;
 
22080
  *)
22069
22081
cat >>confdefs.h <<_ACEOF
22070
22082
#define _LARGE_FILES $ac_cv_sys_large_files
22071
22083
_ACEOF
22072
 
 
22073
 
fi
 
22084
;;
 
22085
esac
22074
22086
rm -f conftest*
 
22087
  fi
22075
22088
fi
22076
22089
 
22077
22090
 
22078
 
echo "$as_me:$LINENO: checking for working strtod" >&5
22079
 
echo $ECHO_N "checking for working strtod... $ECHO_C" >&6
 
22091
{ echo "$as_me:$LINENO: checking for working strtod" >&5
 
22092
echo $ECHO_N "checking for working strtod... $ECHO_C" >&6; }
22080
22093
if test "${ac_cv_func_strtod+set}" = set; then
22081
22094
  echo $ECHO_N "(cached) $ECHO_C" >&6
22082
22095
else
22090
22103
cat >>conftest.$ac_ext <<_ACEOF
22091
22104
/* end confdefs.h.  */
22092
22105
 
 
22106
$ac_includes_default
 
22107
#ifndef strtod
22093
22108
double strtod ();
 
22109
#endif
22094
22110
int
22095
22111
main()
22096
22112
{
22101
22117
    double value;
22102
22118
    value = strtod (string, &term);
22103
22119
    if (value != 69 || term != (string + 4))
22104
 
      exit (1);
 
22120
      return 1;
22105
22121
  }
22106
22122
 
22107
22123
  {
22111
22127
    char *term;
22112
22128
    strtod (string, &term);
22113
22129
    if (term != string && *(term - 1) == 0)
22114
 
      exit (1);
 
22130
      return 1;
22115
22131
  }
22116
 
  exit (0);
 
22132
  return 0;
22117
22133
}
22118
22134
 
22119
22135
_ACEOF
22120
22136
rm -f conftest$ac_exeext
22121
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22122
 
  (eval $ac_link) 2>&5
 
22137
if { (ac_try="$ac_link"
 
22138
case "(($ac_try" in
 
22139
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22140
  *) ac_try_echo=$ac_try;;
 
22141
esac
 
22142
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22143
  (eval "$ac_link") 2>&5
22123
22144
  ac_status=$?
22124
22145
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22125
22146
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22126
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22127
 
  (eval $ac_try) 2>&5
 
22147
  { (case "(($ac_try" in
 
22148
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22149
  *) ac_try_echo=$ac_try;;
 
22150
esac
 
22151
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22152
  (eval "$ac_try") 2>&5
22128
22153
  ac_status=$?
22129
22154
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22130
22155
  (exit $ac_status); }; }; then
22137
22162
( exit $ac_status )
22138
22163
ac_cv_func_strtod=no
22139
22164
fi
22140
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22141
 
fi
22142
 
fi
22143
 
echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
22144
 
echo "${ECHO_T}$ac_cv_func_strtod" >&6
 
22165
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
22166
fi
 
22167
 
 
22168
 
 
22169
fi
 
22170
{ echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
 
22171
echo "${ECHO_T}$ac_cv_func_strtod" >&6; }
22145
22172
if test $ac_cv_func_strtod = no; then
22146
 
  case $LIBOBJS in
22147
 
    "strtod.$ac_objext"   | \
22148
 
  *" strtod.$ac_objext"   | \
22149
 
    "strtod.$ac_objext "* | \
 
22173
  case " $LIBOBJS " in
22150
22174
  *" strtod.$ac_objext "* ) ;;
22151
 
  *) LIBOBJS="$LIBOBJS strtod.$ac_objext" ;;
 
22175
  *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
 
22176
 ;;
22152
22177
esac
22153
22178
 
22154
 
echo "$as_me:$LINENO: checking for pow" >&5
22155
 
echo $ECHO_N "checking for pow... $ECHO_C" >&6
 
22179
{ echo "$as_me:$LINENO: checking for pow" >&5
 
22180
echo $ECHO_N "checking for pow... $ECHO_C" >&6; }
22156
22181
if test "${ac_cv_func_pow+set}" = set; then
22157
22182
  echo $ECHO_N "(cached) $ECHO_C" >&6
22158
22183
else
22179
22204
 
22180
22205
#undef pow
22181
22206
 
22182
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22207
/* Override any GCC internal prototype to avoid an error.
 
22208
   Use char because int might match the return type of a GCC
 
22209
   builtin and then its argument prototype would still apply.  */
22183
22210
#ifdef __cplusplus
22184
22211
extern "C"
22185
 
{
22186
22212
#endif
22187
 
/* We use char because int might match the return type of a gcc2
22188
 
   builtin and then its argument prototype would still apply.  */
22189
22213
char pow ();
22190
22214
/* The GNU C library defines this for functions which it implements
22191
22215
    to always fail with ENOSYS.  Some functions are actually named
22192
22216
    something starting with __ and the normal name is an alias.  */
22193
 
#if defined (__stub_pow) || defined (__stub___pow)
 
22217
#if defined __stub_pow || defined __stub___pow
22194
22218
choke me
22195
 
#else
22196
 
char (*f) () = pow;
22197
 
#endif
22198
 
#ifdef __cplusplus
22199
 
}
22200
22219
#endif
22201
22220
 
22202
22221
int
22203
22222
main ()
22204
22223
{
22205
 
return f != pow;
 
22224
return pow ();
22206
22225
  ;
22207
22226
  return 0;
22208
22227
}
22209
22228
_ACEOF
22210
22229
rm -f conftest.$ac_objext conftest$ac_exeext
22211
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22212
 
  (eval $ac_link) 2>conftest.er1
 
22230
if { (ac_try="$ac_link"
 
22231
case "(($ac_try" in
 
22232
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22233
  *) ac_try_echo=$ac_try;;
 
22234
esac
 
22235
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22236
  (eval "$ac_link") 2>conftest.er1
22213
22237
  ac_status=$?
22214
22238
  grep -v '^ *+' conftest.er1 >conftest.err
22215
22239
  rm -f conftest.er1
22216
22240
  cat conftest.err >&5
22217
22241
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22218
 
  (exit $ac_status); } &&
22219
 
         { ac_try='test -z "$ac_cxx_werror_flag"
22220
 
                         || test ! -s conftest.err'
22221
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22222
 
  (eval $ac_try) 2>&5
22223
 
  ac_status=$?
22224
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22225
 
  (exit $ac_status); }; } &&
22226
 
         { ac_try='test -s conftest$ac_exeext'
22227
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22228
 
  (eval $ac_try) 2>&5
22229
 
  ac_status=$?
22230
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22231
 
  (exit $ac_status); }; }; then
 
22242
  (exit $ac_status); } && {
 
22243
         test -z "$ac_cxx_werror_flag" ||
 
22244
         test ! -s conftest.err
 
22245
       } && test -s conftest$ac_exeext &&
 
22246
       $as_test_x conftest$ac_exeext; then
22232
22247
  ac_cv_func_pow=yes
22233
22248
else
22234
22249
  echo "$as_me: failed program was:" >&5
22235
22250
sed 's/^/| /' conftest.$ac_ext >&5
22236
22251
 
22237
 
ac_cv_func_pow=no
 
22252
        ac_cv_func_pow=no
22238
22253
fi
22239
 
rm -f conftest.err conftest.$ac_objext \
 
22254
 
 
22255
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22240
22256
      conftest$ac_exeext conftest.$ac_ext
22241
22257
fi
22242
 
echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
22243
 
echo "${ECHO_T}$ac_cv_func_pow" >&6
 
22258
{ echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
 
22259
echo "${ECHO_T}$ac_cv_func_pow" >&6; }
22244
22260
 
22245
22261
if test $ac_cv_func_pow = no; then
22246
 
  echo "$as_me:$LINENO: checking for pow in -lm" >&5
22247
 
echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
 
22262
  { echo "$as_me:$LINENO: checking for pow in -lm" >&5
 
22263
echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6; }
22248
22264
if test "${ac_cv_lib_m_pow+set}" = set; then
22249
22265
  echo $ECHO_N "(cached) $ECHO_C" >&6
22250
22266
else
22257
22273
cat >>conftest.$ac_ext <<_ACEOF
22258
22274
/* end confdefs.h.  */
22259
22275
 
22260
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22276
/* Override any GCC internal prototype to avoid an error.
 
22277
   Use char because int might match the return type of a GCC
 
22278
   builtin and then its argument prototype would still apply.  */
22261
22279
#ifdef __cplusplus
22262
22280
extern "C"
22263
22281
#endif
22264
 
/* We use char because int might match the return type of a gcc2
22265
 
   builtin and then its argument prototype would still apply.  */
22266
22282
char pow ();
22267
22283
int
22268
22284
main ()
22269
22285
{
22270
 
pow ();
 
22286
return pow ();
22271
22287
  ;
22272
22288
  return 0;
22273
22289
}
22274
22290
_ACEOF
22275
22291
rm -f conftest.$ac_objext conftest$ac_exeext
22276
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22277
 
  (eval $ac_link) 2>conftest.er1
 
22292
if { (ac_try="$ac_link"
 
22293
case "(($ac_try" in
 
22294
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22295
  *) ac_try_echo=$ac_try;;
 
22296
esac
 
22297
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22298
  (eval "$ac_link") 2>conftest.er1
22278
22299
  ac_status=$?
22279
22300
  grep -v '^ *+' conftest.er1 >conftest.err
22280
22301
  rm -f conftest.er1
22281
22302
  cat conftest.err >&5
22282
22303
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22283
 
  (exit $ac_status); } &&
22284
 
         { ac_try='test -z "$ac_cxx_werror_flag"
22285
 
                         || test ! -s conftest.err'
22286
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22287
 
  (eval $ac_try) 2>&5
22288
 
  ac_status=$?
22289
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22290
 
  (exit $ac_status); }; } &&
22291
 
         { ac_try='test -s conftest$ac_exeext'
22292
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22293
 
  (eval $ac_try) 2>&5
22294
 
  ac_status=$?
22295
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22296
 
  (exit $ac_status); }; }; then
 
22304
  (exit $ac_status); } && {
 
22305
         test -z "$ac_cxx_werror_flag" ||
 
22306
         test ! -s conftest.err
 
22307
       } && test -s conftest$ac_exeext &&
 
22308
       $as_test_x conftest$ac_exeext; then
22297
22309
  ac_cv_lib_m_pow=yes
22298
22310
else
22299
22311
  echo "$as_me: failed program was:" >&5
22300
22312
sed 's/^/| /' conftest.$ac_ext >&5
22301
22313
 
22302
 
ac_cv_lib_m_pow=no
 
22314
        ac_cv_lib_m_pow=no
22303
22315
fi
22304
 
rm -f conftest.err conftest.$ac_objext \
 
22316
 
 
22317
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22305
22318
      conftest$ac_exeext conftest.$ac_ext
22306
22319
LIBS=$ac_check_lib_save_LIBS
22307
22320
fi
22308
 
echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
22309
 
echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
 
22321
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
 
22322
echo "${ECHO_T}$ac_cv_lib_m_pow" >&6; }
22310
22323
if test $ac_cv_lib_m_pow = yes; then
22311
22324
  POW_LIB=-lm
22312
22325
else
22319
22332
fi
22320
22333
 
22321
22334
 
22322
 
echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
22323
 
echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
 
22335
{ echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
 
22336
echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6; }
22324
22337
if test "${ac_cv_cxx_namespaces+set}" = set; then
22325
22338
  echo $ECHO_N "(cached) $ECHO_C" >&6
22326
22339
else
22327
22340
 
22328
 
 
22329
 
 ac_ext=cc
 
22341
 ac_ext=cpp
22330
22342
ac_cpp='$CXXCPP $CPPFLAGS'
22331
22343
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22332
22344
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22348
22360
}
22349
22361
_ACEOF
22350
22362
rm -f conftest.$ac_objext
22351
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22352
 
  (eval $ac_compile) 2>conftest.er1
 
22363
if { (ac_try="$ac_compile"
 
22364
case "(($ac_try" in
 
22365
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22366
  *) ac_try_echo=$ac_try;;
 
22367
esac
 
22368
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22369
  (eval "$ac_compile") 2>conftest.er1
22353
22370
  ac_status=$?
22354
22371
  grep -v '^ *+' conftest.er1 >conftest.err
22355
22372
  rm -f conftest.er1
22356
22373
  cat conftest.err >&5
22357
22374
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22358
 
  (exit $ac_status); } &&
22359
 
         { ac_try='test -z "$ac_cxx_werror_flag"
22360
 
                         || test ! -s conftest.err'
22361
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22362
 
  (eval $ac_try) 2>&5
22363
 
  ac_status=$?
22364
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22365
 
  (exit $ac_status); }; } &&
22366
 
         { ac_try='test -s conftest.$ac_objext'
22367
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22368
 
  (eval $ac_try) 2>&5
22369
 
  ac_status=$?
22370
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22371
 
  (exit $ac_status); }; }; then
 
22375
  (exit $ac_status); } && {
 
22376
         test -z "$ac_cxx_werror_flag" ||
 
22377
         test ! -s conftest.err
 
22378
       } && test -s conftest.$ac_objext; then
22372
22379
  ac_cv_cxx_namespaces=yes
22373
22380
else
22374
22381
  echo "$as_me: failed program was:" >&5
22375
22382
sed 's/^/| /' conftest.$ac_ext >&5
22376
22383
 
22377
 
ac_cv_cxx_namespaces=no
 
22384
        ac_cv_cxx_namespaces=no
22378
22385
fi
22379
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22380
 
 ac_ext=cc
 
22386
 
 
22387
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22388
 ac_ext=cpp
22381
22389
ac_cpp='$CXXCPP $CPPFLAGS'
22382
22390
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22383
22391
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22385
22393
 
22386
22394
 
22387
22395
fi
22388
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
22389
 
echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
 
22396
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
 
22397
echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6; }
22390
22398
if test "$ac_cv_cxx_namespaces" = yes; then
22391
22399
 
22392
22400
cat >>confdefs.h <<\_ACEOF
22398
22406
 
22399
22407
 
22400
22408
 
22401
 
echo "$as_me:$LINENO: checking whether ${CXX} supports function try blocks" >&5
22402
 
echo $ECHO_N "checking whether ${CXX} supports function try blocks... $ECHO_C" >&6
 
22409
{ echo "$as_me:$LINENO: checking whether ${CXX} supports function try blocks" >&5
 
22410
echo $ECHO_N "checking whether ${CXX} supports function try blocks... $ECHO_C" >&6; }
22403
22411
if test "${mdl_cv_have_function_try_blocks+set}" = set; then
22404
22412
  echo $ECHO_N "(cached) $ECHO_C" >&6
22405
22413
else
22406
22414
 
22407
22415
 
22408
 
 
22409
 
 ac_ext=cc
 
22416
 ac_ext=cpp
22410
22417
ac_cpp='$CXXCPP $CPPFLAGS'
22411
22418
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22412
22419
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22428
22435
}
22429
22436
_ACEOF
22430
22437
rm -f conftest.$ac_objext
22431
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22432
 
  (eval $ac_compile) 2>conftest.er1
 
22438
if { (ac_try="$ac_compile"
 
22439
case "(($ac_try" in
 
22440
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22441
  *) ac_try_echo=$ac_try;;
 
22442
esac
 
22443
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22444
  (eval "$ac_compile") 2>conftest.er1
22433
22445
  ac_status=$?
22434
22446
  grep -v '^ *+' conftest.er1 >conftest.err
22435
22447
  rm -f conftest.er1
22436
22448
  cat conftest.err >&5
22437
22449
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22438
 
  (exit $ac_status); } &&
22439
 
         { ac_try='test -z "$ac_cxx_werror_flag"
22440
 
                         || test ! -s conftest.err'
22441
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22442
 
  (eval $ac_try) 2>&5
22443
 
  ac_status=$?
22444
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22445
 
  (exit $ac_status); }; } &&
22446
 
         { ac_try='test -s conftest.$ac_objext'
22447
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22448
 
  (eval $ac_try) 2>&5
22449
 
  ac_status=$?
22450
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22451
 
  (exit $ac_status); }; }; then
 
22450
  (exit $ac_status); } && {
 
22451
         test -z "$ac_cxx_werror_flag" ||
 
22452
         test ! -s conftest.err
 
22453
       } && test -s conftest.$ac_objext; then
22452
22454
  mdl_cv_have_function_try_blocks=yes
22453
22455
else
22454
22456
  echo "$as_me: failed program was:" >&5
22455
22457
sed 's/^/| /' conftest.$ac_ext >&5
22456
22458
 
22457
 
mdl_cv_have_function_try_blocks=no
 
22459
        mdl_cv_have_function_try_blocks=no
22458
22460
fi
22459
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22460
 
 ac_ext=cc
 
22461
 
 
22462
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22463
 ac_ext=cpp
22461
22464
ac_cpp='$CXXCPP $CPPFLAGS'
22462
22465
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22463
22466
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22466
22469
 
22467
22470
fi
22468
22471
 
22469
 
echo "$as_me:$LINENO: result: $mdl_cv_have_function_try_blocks" >&5
22470
 
echo "${ECHO_T}$mdl_cv_have_function_try_blocks" >&6
 
22472
{ echo "$as_me:$LINENO: result: $mdl_cv_have_function_try_blocks" >&5
 
22473
echo "${ECHO_T}$mdl_cv_have_function_try_blocks" >&6; }
22471
22474
if test "$mdl_cv_have_function_try_blocks" = no; then
22472
22475
 
22473
22476
cat >>confdefs.h <<\_ACEOF
22476
22479
 
22477
22480
fi
22478
22481
 
22479
 
echo "$as_me:$LINENO: checking whether the compiler supports ISO C++ standard library" >&5
22480
 
echo $ECHO_N "checking whether the compiler supports ISO C++ standard library... $ECHO_C" >&6
 
22482
{ echo "$as_me:$LINENO: checking whether the compiler supports ISO C++ standard library" >&5
 
22483
echo $ECHO_N "checking whether the compiler supports ISO C++ standard library... $ECHO_C" >&6; }
22481
22484
if test "${ac_cv_cxx_have_std+set}" = set; then
22482
22485
  echo $ECHO_N "(cached) $ECHO_C" >&6
22483
22486
else
22484
22487
 
22485
22488
 
22486
 
 
22487
 
 ac_ext=cc
 
22489
 ac_ext=cpp
22488
22490
ac_cpp='$CXXCPP $CPPFLAGS'
22489
22491
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22490
22492
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22512
22514
}
22513
22515
_ACEOF
22514
22516
rm -f conftest.$ac_objext
22515
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22516
 
  (eval $ac_compile) 2>conftest.er1
 
22517
if { (ac_try="$ac_compile"
 
22518
case "(($ac_try" in
 
22519
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22520
  *) ac_try_echo=$ac_try;;
 
22521
esac
 
22522
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22523
  (eval "$ac_compile") 2>conftest.er1
22517
22524
  ac_status=$?
22518
22525
  grep -v '^ *+' conftest.er1 >conftest.err
22519
22526
  rm -f conftest.er1
22520
22527
  cat conftest.err >&5
22521
22528
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522
 
  (exit $ac_status); } &&
22523
 
         { ac_try='test -z "$ac_cxx_werror_flag"
22524
 
                         || test ! -s conftest.err'
22525
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22526
 
  (eval $ac_try) 2>&5
22527
 
  ac_status=$?
22528
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22529
 
  (exit $ac_status); }; } &&
22530
 
         { ac_try='test -s conftest.$ac_objext'
22531
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22532
 
  (eval $ac_try) 2>&5
22533
 
  ac_status=$?
22534
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22535
 
  (exit $ac_status); }; }; then
 
22529
  (exit $ac_status); } && {
 
22530
         test -z "$ac_cxx_werror_flag" ||
 
22531
         test ! -s conftest.err
 
22532
       } && test -s conftest.$ac_objext; then
22536
22533
  ac_cv_cxx_have_std=yes
22537
22534
else
22538
22535
  echo "$as_me: failed program was:" >&5
22539
22536
sed 's/^/| /' conftest.$ac_ext >&5
22540
22537
 
22541
 
ac_cv_cxx_have_std=no
 
22538
        ac_cv_cxx_have_std=no
22542
22539
fi
22543
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22544
 
 ac_ext=cc
 
22540
 
 
22541
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22542
 ac_ext=cpp
22545
22543
ac_cpp='$CXXCPP $CPPFLAGS'
22546
22544
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22547
22545
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22549
22547
 
22550
22548
 
22551
22549
fi
22552
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std" >&5
22553
 
echo "${ECHO_T}$ac_cv_cxx_have_std" >&6
 
22550
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std" >&5
 
22551
echo "${ECHO_T}$ac_cv_cxx_have_std" >&6; }
22554
22552
if test "$ac_cv_cxx_have_std" = yes; then
22555
22553
 
22556
22554
cat >>confdefs.h <<\_ACEOF
22566
22564
for ac_func in mmap
22567
22565
do
22568
22566
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22569
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
22570
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22571
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
22567
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
22568
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
22569
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22572
22570
  echo $ECHO_N "(cached) $ECHO_C" >&6
22573
22571
else
22574
22572
  cat >conftest.$ac_ext <<_ACEOF
22594
22592
 
22595
22593
#undef $ac_func
22596
22594
 
22597
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22595
/* Override any GCC internal prototype to avoid an error.
 
22596
   Use char because int might match the return type of a GCC
 
22597
   builtin and then its argument prototype would still apply.  */
22598
22598
#ifdef __cplusplus
22599
22599
extern "C"
22600
 
{
22601
22600
#endif
22602
 
/* We use char because int might match the return type of a gcc2
22603
 
   builtin and then its argument prototype would still apply.  */
22604
22601
char $ac_func ();
22605
22602
/* The GNU C library defines this for functions which it implements
22606
22603
    to always fail with ENOSYS.  Some functions are actually named
22607
22604
    something starting with __ and the normal name is an alias.  */
22608
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
22605
#if defined __stub_$ac_func || defined __stub___$ac_func
22609
22606
choke me
22610
 
#else
22611
 
char (*f) () = $ac_func;
22612
 
#endif
22613
 
#ifdef __cplusplus
22614
 
}
22615
22607
#endif
22616
22608
 
22617
22609
int
22618
22610
main ()
22619
22611
{
22620
 
return f != $ac_func;
 
22612
return $ac_func ();
22621
22613
  ;
22622
22614
  return 0;
22623
22615
}
22624
22616
_ACEOF
22625
22617
rm -f conftest.$ac_objext conftest$ac_exeext
22626
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22627
 
  (eval $ac_link) 2>conftest.er1
 
22618
if { (ac_try="$ac_link"
 
22619
case "(($ac_try" in
 
22620
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22621
  *) ac_try_echo=$ac_try;;
 
22622
esac
 
22623
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22624
  (eval "$ac_link") 2>conftest.er1
22628
22625
  ac_status=$?
22629
22626
  grep -v '^ *+' conftest.er1 >conftest.err
22630
22627
  rm -f conftest.er1
22631
22628
  cat conftest.err >&5
22632
22629
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22633
 
  (exit $ac_status); } &&
22634
 
         { ac_try='test -z "$ac_cxx_werror_flag"
22635
 
                         || test ! -s conftest.err'
22636
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22637
 
  (eval $ac_try) 2>&5
22638
 
  ac_status=$?
22639
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22640
 
  (exit $ac_status); }; } &&
22641
 
         { ac_try='test -s conftest$ac_exeext'
22642
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22643
 
  (eval $ac_try) 2>&5
22644
 
  ac_status=$?
22645
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22646
 
  (exit $ac_status); }; }; then
 
22630
  (exit $ac_status); } && {
 
22631
         test -z "$ac_cxx_werror_flag" ||
 
22632
         test ! -s conftest.err
 
22633
       } && test -s conftest$ac_exeext &&
 
22634
       $as_test_x conftest$ac_exeext; then
22647
22635
  eval "$as_ac_var=yes"
22648
22636
else
22649
22637
  echo "$as_me: failed program was:" >&5
22650
22638
sed 's/^/| /' conftest.$ac_ext >&5
22651
22639
 
22652
 
eval "$as_ac_var=no"
 
22640
        eval "$as_ac_var=no"
22653
22641
fi
22654
 
rm -f conftest.err conftest.$ac_objext \
 
22642
 
 
22643
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22655
22644
      conftest$ac_exeext conftest.$ac_ext
22656
22645
fi
22657
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22658
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
22646
ac_res=`eval echo '${'$as_ac_var'}'`
 
22647
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22648
echo "${ECHO_T}$ac_res" >&6; }
22659
22649
if test `eval echo '${'$as_ac_var'}'` = yes; then
22660
22650
  cat >>confdefs.h <<_ACEOF
22661
22651
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22671
22661
for ac_header in stdlib.h unistd.h
22672
22662
do
22673
22663
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22674
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
22675
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
22676
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22677
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
22664
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
22665
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
22666
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
22667
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22678
22668
  echo $ECHO_N "(cached) $ECHO_C" >&6
22679
22669
fi
22680
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22681
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
22670
ac_res=`eval echo '${'$as_ac_Header'}'`
 
22671
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22672
echo "${ECHO_T}$ac_res" >&6; }
22682
22673
else
22683
22674
  # Is the header compilable?
22684
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
22685
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
22675
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
22676
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22686
22677
cat >conftest.$ac_ext <<_ACEOF
22687
22678
/* confdefs.h.  */
22688
22679
_ACEOF
22693
22684
#include <$ac_header>
22694
22685
_ACEOF
22695
22686
rm -f conftest.$ac_objext
22696
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22697
 
  (eval $ac_compile) 2>conftest.er1
 
22687
if { (ac_try="$ac_compile"
 
22688
case "(($ac_try" in
 
22689
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22690
  *) ac_try_echo=$ac_try;;
 
22691
esac
 
22692
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22693
  (eval "$ac_compile") 2>conftest.er1
22698
22694
  ac_status=$?
22699
22695
  grep -v '^ *+' conftest.er1 >conftest.err
22700
22696
  rm -f conftest.er1
22701
22697
  cat conftest.err >&5
22702
22698
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22703
 
  (exit $ac_status); } &&
22704
 
         { ac_try='test -z "$ac_cxx_werror_flag"
22705
 
                         || test ! -s conftest.err'
22706
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22707
 
  (eval $ac_try) 2>&5
22708
 
  ac_status=$?
22709
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710
 
  (exit $ac_status); }; } &&
22711
 
         { ac_try='test -s conftest.$ac_objext'
22712
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22713
 
  (eval $ac_try) 2>&5
22714
 
  ac_status=$?
22715
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22716
 
  (exit $ac_status); }; }; then
 
22699
  (exit $ac_status); } && {
 
22700
         test -z "$ac_cxx_werror_flag" ||
 
22701
         test ! -s conftest.err
 
22702
       } && test -s conftest.$ac_objext; then
22717
22703
  ac_header_compiler=yes
22718
22704
else
22719
22705
  echo "$as_me: failed program was:" >&5
22720
22706
sed 's/^/| /' conftest.$ac_ext >&5
22721
22707
 
22722
 
ac_header_compiler=no
 
22708
        ac_header_compiler=no
22723
22709
fi
22724
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22725
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22726
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
22710
 
 
22711
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22712
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
22713
echo "${ECHO_T}$ac_header_compiler" >&6; }
22727
22714
 
22728
22715
# Is the header present?
22729
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
22730
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
22716
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
22717
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22731
22718
cat >conftest.$ac_ext <<_ACEOF
22732
22719
/* confdefs.h.  */
22733
22720
_ACEOF
22736
22723
/* end confdefs.h.  */
22737
22724
#include <$ac_header>
22738
22725
_ACEOF
22739
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22740
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
22726
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
22727
case "(($ac_try" in
 
22728
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22729
  *) ac_try_echo=$ac_try;;
 
22730
esac
 
22731
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22732
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22741
22733
  ac_status=$?
22742
22734
  grep -v '^ *+' conftest.er1 >conftest.err
22743
22735
  rm -f conftest.er1
22744
22736
  cat conftest.err >&5
22745
22737
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22746
 
  (exit $ac_status); } >/dev/null; then
22747
 
  if test -s conftest.err; then
22748
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
22749
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22750
 
  else
22751
 
    ac_cpp_err=
22752
 
  fi
22753
 
else
22754
 
  ac_cpp_err=yes
22755
 
fi
22756
 
if test -z "$ac_cpp_err"; then
 
22738
  (exit $ac_status); } >/dev/null && {
 
22739
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
22740
         test ! -s conftest.err
 
22741
       }; then
22757
22742
  ac_header_preproc=yes
22758
22743
else
22759
22744
  echo "$as_me: failed program was:" >&5
22761
22746
 
22762
22747
  ac_header_preproc=no
22763
22748
fi
 
22749
 
22764
22750
rm -f conftest.err conftest.$ac_ext
22765
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22766
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
22751
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
22752
echo "${ECHO_T}$ac_header_preproc" >&6; }
22767
22753
 
22768
22754
# So?  What about this header?
22769
22755
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22787
22773
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22788
22774
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22789
22775
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22790
 
    (
22791
 
      cat <<\_ASBOX
22792
 
## ------------------------------------------ ##
22793
 
## Report this to the AC_PACKAGE_NAME lists.  ##
22794
 
## ------------------------------------------ ##
22795
 
_ASBOX
22796
 
    ) |
22797
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
22776
 
22798
22777
    ;;
22799
22778
esac
22800
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
22801
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22802
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
22779
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
22780
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
22781
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22803
22782
  echo $ECHO_N "(cached) $ECHO_C" >&6
22804
22783
else
22805
22784
  eval "$as_ac_Header=\$ac_header_preproc"
22806
22785
fi
22807
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22808
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
22786
ac_res=`eval echo '${'$as_ac_Header'}'`
 
22787
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22788
echo "${ECHO_T}$ac_res" >&6; }
22809
22789
 
22810
22790
fi
22811
22791
if test `eval echo '${'$as_ac_Header'}'` = yes; then
22821
22801
for ac_func in getpagesize
22822
22802
do
22823
22803
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22824
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
22825
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22826
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
22804
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
22805
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
22806
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22827
22807
  echo $ECHO_N "(cached) $ECHO_C" >&6
22828
22808
else
22829
22809
  cat >conftest.$ac_ext <<_ACEOF
22849
22829
 
22850
22830
#undef $ac_func
22851
22831
 
22852
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22832
/* Override any GCC internal prototype to avoid an error.
 
22833
   Use char because int might match the return type of a GCC
 
22834
   builtin and then its argument prototype would still apply.  */
22853
22835
#ifdef __cplusplus
22854
22836
extern "C"
22855
 
{
22856
22837
#endif
22857
 
/* We use char because int might match the return type of a gcc2
22858
 
   builtin and then its argument prototype would still apply.  */
22859
22838
char $ac_func ();
22860
22839
/* The GNU C library defines this for functions which it implements
22861
22840
    to always fail with ENOSYS.  Some functions are actually named
22862
22841
    something starting with __ and the normal name is an alias.  */
22863
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
22842
#if defined __stub_$ac_func || defined __stub___$ac_func
22864
22843
choke me
22865
 
#else
22866
 
char (*f) () = $ac_func;
22867
 
#endif
22868
 
#ifdef __cplusplus
22869
 
}
22870
22844
#endif
22871
22845
 
22872
22846
int
22873
22847
main ()
22874
22848
{
22875
 
return f != $ac_func;
 
22849
return $ac_func ();
22876
22850
  ;
22877
22851
  return 0;
22878
22852
}
22879
22853
_ACEOF
22880
22854
rm -f conftest.$ac_objext conftest$ac_exeext
22881
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22882
 
  (eval $ac_link) 2>conftest.er1
 
22855
if { (ac_try="$ac_link"
 
22856
case "(($ac_try" in
 
22857
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22858
  *) ac_try_echo=$ac_try;;
 
22859
esac
 
22860
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22861
  (eval "$ac_link") 2>conftest.er1
22883
22862
  ac_status=$?
22884
22863
  grep -v '^ *+' conftest.er1 >conftest.err
22885
22864
  rm -f conftest.er1
22886
22865
  cat conftest.err >&5
22887
22866
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22888
 
  (exit $ac_status); } &&
22889
 
         { ac_try='test -z "$ac_cxx_werror_flag"
22890
 
                         || test ! -s conftest.err'
22891
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22892
 
  (eval $ac_try) 2>&5
22893
 
  ac_status=$?
22894
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22895
 
  (exit $ac_status); }; } &&
22896
 
         { ac_try='test -s conftest$ac_exeext'
22897
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22898
 
  (eval $ac_try) 2>&5
22899
 
  ac_status=$?
22900
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22901
 
  (exit $ac_status); }; }; then
 
22867
  (exit $ac_status); } && {
 
22868
         test -z "$ac_cxx_werror_flag" ||
 
22869
         test ! -s conftest.err
 
22870
       } && test -s conftest$ac_exeext &&
 
22871
       $as_test_x conftest$ac_exeext; then
22902
22872
  eval "$as_ac_var=yes"
22903
22873
else
22904
22874
  echo "$as_me: failed program was:" >&5
22905
22875
sed 's/^/| /' conftest.$ac_ext >&5
22906
22876
 
22907
 
eval "$as_ac_var=no"
 
22877
        eval "$as_ac_var=no"
22908
22878
fi
22909
 
rm -f conftest.err conftest.$ac_objext \
 
22879
 
 
22880
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22910
22881
      conftest$ac_exeext conftest.$ac_ext
22911
22882
fi
22912
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22913
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
22883
ac_res=`eval echo '${'$as_ac_var'}'`
 
22884
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22885
echo "${ECHO_T}$ac_res" >&6; }
22914
22886
if test `eval echo '${'$as_ac_var'}'` = yes; then
22915
22887
  cat >>confdefs.h <<_ACEOF
22916
22888
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22919
22891
fi
22920
22892
done
22921
22893
 
22922
 
echo "$as_me:$LINENO: checking for working mmap" >&5
22923
 
echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
 
22894
{ echo "$as_me:$LINENO: checking for working mmap" >&5
 
22895
echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
22924
22896
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
22925
22897
  echo $ECHO_N "(cached) $ECHO_C" >&6
22926
22898
else
22962
22934
#include <fcntl.h>
22963
22935
#include <sys/mman.h>
22964
22936
 
22965
 
#if !STDC_HEADERS && !HAVE_STDLIB_H
 
22937
#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
22966
22938
char *malloc ();
22967
22939
#endif
22968
22940
 
22969
22941
/* This mess was copied from the GNU getpagesize.h.  */
22970
 
#if !HAVE_GETPAGESIZE
 
22942
#ifndef HAVE_GETPAGESIZE
22971
22943
/* Assume that all systems that can run configure have sys/param.h.  */
22972
 
# if !HAVE_SYS_PARAM_H
 
22944
# ifndef HAVE_SYS_PARAM_H
22973
22945
#  define HAVE_SYS_PARAM_H 1
22974
22946
# endif
22975
22947
 
22976
22948
# ifdef _SC_PAGESIZE
22977
22949
#  define getpagesize() sysconf(_SC_PAGESIZE)
22978
22950
# else /* no _SC_PAGESIZE */
22979
 
#  if HAVE_SYS_PARAM_H
 
22951
#  ifdef HAVE_SYS_PARAM_H
22980
22952
#   include <sys/param.h>
22981
22953
#   ifdef EXEC_PAGESIZE
22982
22954
#    define getpagesize() EXEC_PAGESIZE
23015
22987
  /* First, make a file with some known garbage in it. */
23016
22988
  data = (char *) malloc (pagesize);
23017
22989
  if (!data)
23018
 
    exit (1);
 
22990
    return 1;
23019
22991
  for (i = 0; i < pagesize; ++i)
23020
22992
    *(data + i) = rand ();
23021
22993
  umask (0);
23022
22994
  fd = creat ("conftest.mmap", 0600);
23023
22995
  if (fd < 0)
23024
 
    exit (1);
 
22996
    return 1;
23025
22997
  if (write (fd, data, pagesize) != pagesize)
23026
 
    exit (1);
 
22998
    return 1;
23027
22999
  close (fd);
23028
23000
 
23029
23001
  /* Next, try to mmap the file at a fixed address which already has
23031
23003
     we see the same garbage.  */
23032
23004
  fd = open ("conftest.mmap", O_RDWR);
23033
23005
  if (fd < 0)
23034
 
    exit (1);
 
23006
    return 1;
23035
23007
  data2 = (char *) malloc (2 * pagesize);
23036
23008
  if (!data2)
23037
 
    exit (1);
23038
 
  data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
 
23009
    return 1;
 
23010
  data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
23039
23011
  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
23040
23012
                     MAP_PRIVATE | MAP_FIXED, fd, 0L))
23041
 
    exit (1);
 
23013
    return 1;
23042
23014
  for (i = 0; i < pagesize; ++i)
23043
23015
    if (*(data + i) != *(data2 + i))
23044
 
      exit (1);
 
23016
      return 1;
23045
23017
 
23046
23018
  /* Finally, make sure that changes to the mapped area do not
23047
23019
     percolate back to the file as seen by read().  (This is a bug on
23050
23022
    *(data2 + i) = *(data2 + i) + 1;
23051
23023
  data3 = (char *) malloc (pagesize);
23052
23024
  if (!data3)
23053
 
    exit (1);
 
23025
    return 1;
23054
23026
  if (read (fd, data3, pagesize) != pagesize)
23055
 
    exit (1);
 
23027
    return 1;
23056
23028
  for (i = 0; i < pagesize; ++i)
23057
23029
    if (*(data + i) != *(data3 + i))
23058
 
      exit (1);
 
23030
      return 1;
23059
23031
  close (fd);
23060
 
  exit (0);
 
23032
  return 0;
23061
23033
}
23062
23034
_ACEOF
23063
23035
rm -f conftest$ac_exeext
23064
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23065
 
  (eval $ac_link) 2>&5
 
23036
if { (ac_try="$ac_link"
 
23037
case "(($ac_try" in
 
23038
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23039
  *) ac_try_echo=$ac_try;;
 
23040
esac
 
23041
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23042
  (eval "$ac_link") 2>&5
23066
23043
  ac_status=$?
23067
23044
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23068
23045
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23069
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23070
 
  (eval $ac_try) 2>&5
 
23046
  { (case "(($ac_try" in
 
23047
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23048
  *) ac_try_echo=$ac_try;;
 
23049
esac
 
23050
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23051
  (eval "$ac_try") 2>&5
23071
23052
  ac_status=$?
23072
23053
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23073
23054
  (exit $ac_status); }; }; then
23080
23061
( exit $ac_status )
23081
23062
ac_cv_func_mmap_fixed_mapped=no
23082
23063
fi
23083
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23084
 
fi
23085
 
fi
23086
 
echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
23087
 
echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
 
23064
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
23065
fi
 
23066
 
 
23067
 
 
23068
fi
 
23069
{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
 
23070
echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
23088
23071
if test $ac_cv_func_mmap_fixed_mapped = yes; then
23089
23072
 
23090
23073
cat >>confdefs.h <<\_ACEOF
23105
23088
for ac_func in strupr strlwr lltoa strtoll
23106
23089
do
23107
23090
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23108
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
23109
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23110
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
23091
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
23092
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
23093
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23111
23094
  echo $ECHO_N "(cached) $ECHO_C" >&6
23112
23095
else
23113
23096
  cat >conftest.$ac_ext <<_ACEOF
23133
23116
 
23134
23117
#undef $ac_func
23135
23118
 
23136
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23119
/* Override any GCC internal prototype to avoid an error.
 
23120
   Use char because int might match the return type of a GCC
 
23121
   builtin and then its argument prototype would still apply.  */
23137
23122
#ifdef __cplusplus
23138
23123
extern "C"
23139
 
{
23140
23124
#endif
23141
 
/* We use char because int might match the return type of a gcc2
23142
 
   builtin and then its argument prototype would still apply.  */
23143
23125
char $ac_func ();
23144
23126
/* The GNU C library defines this for functions which it implements
23145
23127
    to always fail with ENOSYS.  Some functions are actually named
23146
23128
    something starting with __ and the normal name is an alias.  */
23147
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
23129
#if defined __stub_$ac_func || defined __stub___$ac_func
23148
23130
choke me
23149
 
#else
23150
 
char (*f) () = $ac_func;
23151
 
#endif
23152
 
#ifdef __cplusplus
23153
 
}
23154
23131
#endif
23155
23132
 
23156
23133
int
23157
23134
main ()
23158
23135
{
23159
 
return f != $ac_func;
 
23136
return $ac_func ();
23160
23137
  ;
23161
23138
  return 0;
23162
23139
}
23163
23140
_ACEOF
23164
23141
rm -f conftest.$ac_objext conftest$ac_exeext
23165
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23166
 
  (eval $ac_link) 2>conftest.er1
 
23142
if { (ac_try="$ac_link"
 
23143
case "(($ac_try" in
 
23144
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23145
  *) ac_try_echo=$ac_try;;
 
23146
esac
 
23147
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23148
  (eval "$ac_link") 2>conftest.er1
23167
23149
  ac_status=$?
23168
23150
  grep -v '^ *+' conftest.er1 >conftest.err
23169
23151
  rm -f conftest.er1
23170
23152
  cat conftest.err >&5
23171
23153
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23172
 
  (exit $ac_status); } &&
23173
 
         { ac_try='test -z "$ac_cxx_werror_flag"
23174
 
                         || test ! -s conftest.err'
23175
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23176
 
  (eval $ac_try) 2>&5
23177
 
  ac_status=$?
23178
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23179
 
  (exit $ac_status); }; } &&
23180
 
         { ac_try='test -s conftest$ac_exeext'
23181
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23182
 
  (eval $ac_try) 2>&5
23183
 
  ac_status=$?
23184
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23185
 
  (exit $ac_status); }; }; then
 
23154
  (exit $ac_status); } && {
 
23155
         test -z "$ac_cxx_werror_flag" ||
 
23156
         test ! -s conftest.err
 
23157
       } && test -s conftest$ac_exeext &&
 
23158
       $as_test_x conftest$ac_exeext; then
23186
23159
  eval "$as_ac_var=yes"
23187
23160
else
23188
23161
  echo "$as_me: failed program was:" >&5
23189
23162
sed 's/^/| /' conftest.$ac_ext >&5
23190
23163
 
23191
 
eval "$as_ac_var=no"
 
23164
        eval "$as_ac_var=no"
23192
23165
fi
23193
 
rm -f conftest.err conftest.$ac_objext \
 
23166
 
 
23167
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23194
23168
      conftest$ac_exeext conftest.$ac_ext
23195
23169
fi
23196
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23197
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
23170
ac_res=`eval echo '${'$as_ac_var'}'`
 
23171
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
23172
echo "${ECHO_T}$ac_res" >&6; }
23198
23173
if test `eval echo '${'$as_ac_var'}'` = yes; then
23199
23174
  cat >>confdefs.h <<_ACEOF
23200
23175
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23222
23197
for ac_func in wcscpy wcsupr wcsncpy wcscasecmp wcsicmp  wcscat wcschr wcstoll lltow wcstod wcsstr wcslen wcscmp wcsncmp wcscspn
23223
23198
do
23224
23199
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23225
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
23226
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23227
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
23200
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
23201
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
23202
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23228
23203
  echo $ECHO_N "(cached) $ECHO_C" >&6
23229
23204
else
23230
23205
  cat >conftest.$ac_ext <<_ACEOF
23250
23225
 
23251
23226
#undef $ac_func
23252
23227
 
23253
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23228
/* Override any GCC internal prototype to avoid an error.
 
23229
   Use char because int might match the return type of a GCC
 
23230
   builtin and then its argument prototype would still apply.  */
23254
23231
#ifdef __cplusplus
23255
23232
extern "C"
23256
 
{
23257
23233
#endif
23258
 
/* We use char because int might match the return type of a gcc2
23259
 
   builtin and then its argument prototype would still apply.  */
23260
23234
char $ac_func ();
23261
23235
/* The GNU C library defines this for functions which it implements
23262
23236
    to always fail with ENOSYS.  Some functions are actually named
23263
23237
    something starting with __ and the normal name is an alias.  */
23264
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
23238
#if defined __stub_$ac_func || defined __stub___$ac_func
23265
23239
choke me
23266
 
#else
23267
 
char (*f) () = $ac_func;
23268
 
#endif
23269
 
#ifdef __cplusplus
23270
 
}
23271
23240
#endif
23272
23241
 
23273
23242
int
23274
23243
main ()
23275
23244
{
23276
 
return f != $ac_func;
 
23245
return $ac_func ();
23277
23246
  ;
23278
23247
  return 0;
23279
23248
}
23280
23249
_ACEOF
23281
23250
rm -f conftest.$ac_objext conftest$ac_exeext
23282
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23283
 
  (eval $ac_link) 2>conftest.er1
 
23251
if { (ac_try="$ac_link"
 
23252
case "(($ac_try" in
 
23253
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23254
  *) ac_try_echo=$ac_try;;
 
23255
esac
 
23256
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23257
  (eval "$ac_link") 2>conftest.er1
23284
23258
  ac_status=$?
23285
23259
  grep -v '^ *+' conftest.er1 >conftest.err
23286
23260
  rm -f conftest.er1
23287
23261
  cat conftest.err >&5
23288
23262
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23289
 
  (exit $ac_status); } &&
23290
 
         { ac_try='test -z "$ac_cxx_werror_flag"
23291
 
                         || test ! -s conftest.err'
23292
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23293
 
  (eval $ac_try) 2>&5
23294
 
  ac_status=$?
23295
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23296
 
  (exit $ac_status); }; } &&
23297
 
         { ac_try='test -s conftest$ac_exeext'
23298
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23299
 
  (eval $ac_try) 2>&5
23300
 
  ac_status=$?
23301
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23302
 
  (exit $ac_status); }; }; then
 
23263
  (exit $ac_status); } && {
 
23264
         test -z "$ac_cxx_werror_flag" ||
 
23265
         test ! -s conftest.err
 
23266
       } && test -s conftest$ac_exeext &&
 
23267
       $as_test_x conftest$ac_exeext; then
23303
23268
  eval "$as_ac_var=yes"
23304
23269
else
23305
23270
  echo "$as_me: failed program was:" >&5
23306
23271
sed 's/^/| /' conftest.$ac_ext >&5
23307
23272
 
23308
 
eval "$as_ac_var=no"
 
23273
        eval "$as_ac_var=no"
23309
23274
fi
23310
 
rm -f conftest.err conftest.$ac_objext \
 
23275
 
 
23276
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23311
23277
      conftest$ac_exeext conftest.$ac_ext
23312
23278
fi
23313
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23314
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
23279
ac_res=`eval echo '${'$as_ac_var'}'`
 
23280
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
23281
echo "${ECHO_T}$ac_res" >&6; }
23315
23282
if test `eval echo '${'$as_ac_var'}'` = yes; then
23316
23283
  cat >>confdefs.h <<_ACEOF
23317
23284
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23326
23293
for ac_func in tell _filelength
23327
23294
do
23328
23295
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23329
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
23330
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23331
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
23296
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
23297
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
23298
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23332
23299
  echo $ECHO_N "(cached) $ECHO_C" >&6
23333
23300
else
23334
23301
  cat >conftest.$ac_ext <<_ACEOF
23354
23321
 
23355
23322
#undef $ac_func
23356
23323
 
23357
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23324
/* Override any GCC internal prototype to avoid an error.
 
23325
   Use char because int might match the return type of a GCC
 
23326
   builtin and then its argument prototype would still apply.  */
23358
23327
#ifdef __cplusplus
23359
23328
extern "C"
23360
 
{
23361
23329
#endif
23362
 
/* We use char because int might match the return type of a gcc2
23363
 
   builtin and then its argument prototype would still apply.  */
23364
23330
char $ac_func ();
23365
23331
/* The GNU C library defines this for functions which it implements
23366
23332
    to always fail with ENOSYS.  Some functions are actually named
23367
23333
    something starting with __ and the normal name is an alias.  */
23368
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
23334
#if defined __stub_$ac_func || defined __stub___$ac_func
23369
23335
choke me
23370
 
#else
23371
 
char (*f) () = $ac_func;
23372
 
#endif
23373
 
#ifdef __cplusplus
23374
 
}
23375
23336
#endif
23376
23337
 
23377
23338
int
23378
23339
main ()
23379
23340
{
23380
 
return f != $ac_func;
 
23341
return $ac_func ();
23381
23342
  ;
23382
23343
  return 0;
23383
23344
}
23384
23345
_ACEOF
23385
23346
rm -f conftest.$ac_objext conftest$ac_exeext
23386
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23387
 
  (eval $ac_link) 2>conftest.er1
 
23347
if { (ac_try="$ac_link"
 
23348
case "(($ac_try" in
 
23349
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23350
  *) ac_try_echo=$ac_try;;
 
23351
esac
 
23352
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23353
  (eval "$ac_link") 2>conftest.er1
23388
23354
  ac_status=$?
23389
23355
  grep -v '^ *+' conftest.er1 >conftest.err
23390
23356
  rm -f conftest.er1
23391
23357
  cat conftest.err >&5
23392
23358
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23393
 
  (exit $ac_status); } &&
23394
 
         { ac_try='test -z "$ac_cxx_werror_flag"
23395
 
                         || test ! -s conftest.err'
23396
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23397
 
  (eval $ac_try) 2>&5
23398
 
  ac_status=$?
23399
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23400
 
  (exit $ac_status); }; } &&
23401
 
         { ac_try='test -s conftest$ac_exeext'
23402
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23403
 
  (eval $ac_try) 2>&5
23404
 
  ac_status=$?
23405
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23406
 
  (exit $ac_status); }; }; then
 
23359
  (exit $ac_status); } && {
 
23360
         test -z "$ac_cxx_werror_flag" ||
 
23361
         test ! -s conftest.err
 
23362
       } && test -s conftest$ac_exeext &&
 
23363
       $as_test_x conftest$ac_exeext; then
23407
23364
  eval "$as_ac_var=yes"
23408
23365
else
23409
23366
  echo "$as_me: failed program was:" >&5
23410
23367
sed 's/^/| /' conftest.$ac_ext >&5
23411
23368
 
23412
 
eval "$as_ac_var=no"
 
23369
        eval "$as_ac_var=no"
23413
23370
fi
23414
 
rm -f conftest.err conftest.$ac_objext \
 
23371
 
 
23372
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23415
23373
      conftest$ac_exeext conftest.$ac_ext
23416
23374
fi
23417
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23418
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
23375
ac_res=`eval echo '${'$as_ac_var'}'`
 
23376
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
23377
echo "${ECHO_T}$ac_res" >&6; }
23419
23378
if test `eval echo '${'$as_ac_var'}'` = yes; then
23420
23379
  cat >>confdefs.h <<_ACEOF
23421
23380
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23430
23389
for ac_func in printf snprintf
23431
23390
do
23432
23391
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23433
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
23434
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23435
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
23392
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
23393
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
23394
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23436
23395
  echo $ECHO_N "(cached) $ECHO_C" >&6
23437
23396
else
23438
23397
  cat >conftest.$ac_ext <<_ACEOF
23458
23417
 
23459
23418
#undef $ac_func
23460
23419
 
23461
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23420
/* Override any GCC internal prototype to avoid an error.
 
23421
   Use char because int might match the return type of a GCC
 
23422
   builtin and then its argument prototype would still apply.  */
23462
23423
#ifdef __cplusplus
23463
23424
extern "C"
23464
 
{
23465
23425
#endif
23466
 
/* We use char because int might match the return type of a gcc2
23467
 
   builtin and then its argument prototype would still apply.  */
23468
23426
char $ac_func ();
23469
23427
/* The GNU C library defines this for functions which it implements
23470
23428
    to always fail with ENOSYS.  Some functions are actually named
23471
23429
    something starting with __ and the normal name is an alias.  */
23472
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
23430
#if defined __stub_$ac_func || defined __stub___$ac_func
23473
23431
choke me
23474
 
#else
23475
 
char (*f) () = $ac_func;
23476
 
#endif
23477
 
#ifdef __cplusplus
23478
 
}
23479
23432
#endif
23480
23433
 
23481
23434
int
23482
23435
main ()
23483
23436
{
23484
 
return f != $ac_func;
 
23437
return $ac_func ();
23485
23438
  ;
23486
23439
  return 0;
23487
23440
}
23488
23441
_ACEOF
23489
23442
rm -f conftest.$ac_objext conftest$ac_exeext
23490
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23491
 
  (eval $ac_link) 2>conftest.er1
 
23443
if { (ac_try="$ac_link"
 
23444
case "(($ac_try" in
 
23445
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23446
  *) ac_try_echo=$ac_try;;
 
23447
esac
 
23448
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23449
  (eval "$ac_link") 2>conftest.er1
23492
23450
  ac_status=$?
23493
23451
  grep -v '^ *+' conftest.er1 >conftest.err
23494
23452
  rm -f conftest.er1
23495
23453
  cat conftest.err >&5
23496
23454
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23497
 
  (exit $ac_status); } &&
23498
 
         { ac_try='test -z "$ac_cxx_werror_flag"
23499
 
                         || test ! -s conftest.err'
23500
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23501
 
  (eval $ac_try) 2>&5
23502
 
  ac_status=$?
23503
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23504
 
  (exit $ac_status); }; } &&
23505
 
         { ac_try='test -s conftest$ac_exeext'
23506
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23507
 
  (eval $ac_try) 2>&5
23508
 
  ac_status=$?
23509
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23510
 
  (exit $ac_status); }; }; then
 
23455
  (exit $ac_status); } && {
 
23456
         test -z "$ac_cxx_werror_flag" ||
 
23457
         test ! -s conftest.err
 
23458
       } && test -s conftest$ac_exeext &&
 
23459
       $as_test_x conftest$ac_exeext; then
23511
23460
  eval "$as_ac_var=yes"
23512
23461
else
23513
23462
  echo "$as_me: failed program was:" >&5
23514
23463
sed 's/^/| /' conftest.$ac_ext >&5
23515
23464
 
23516
 
eval "$as_ac_var=no"
 
23465
        eval "$as_ac_var=no"
23517
23466
fi
23518
 
rm -f conftest.err conftest.$ac_objext \
 
23467
 
 
23468
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23519
23469
      conftest$ac_exeext conftest.$ac_ext
23520
23470
fi
23521
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23522
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
23471
ac_res=`eval echo '${'$as_ac_var'}'`
 
23472
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
23473
echo "${ECHO_T}$ac_res" >&6; }
23523
23474
if test `eval echo '${'$as_ac_var'}'` = yes; then
23524
23475
  cat >>confdefs.h <<_ACEOF
23525
23476
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23533
23484
done
23534
23485
 
23535
23486
 
23536
 
echo "$as_me:$LINENO: checking whether swprintf is broken" >&5
23537
 
echo $ECHO_N "checking whether swprintf is broken... $ECHO_C" >&6
 
23487
{ echo "$as_me:$LINENO: checking whether swprintf is broken" >&5
 
23488
echo $ECHO_N "checking whether swprintf is broken... $ECHO_C" >&6; }
23538
23489
        if test "${dps_cv_swprintf_works+set}" = set; then
23539
23490
  echo $ECHO_N "(cached) $ECHO_C" >&6
23540
23491
else
23562
23513
 
23563
23514
_ACEOF
23564
23515
rm -f conftest$ac_exeext
23565
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23566
 
  (eval $ac_link) 2>&5
 
23516
if { (ac_try="$ac_link"
 
23517
case "(($ac_try" in
 
23518
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23519
  *) ac_try_echo=$ac_try;;
 
23520
esac
 
23521
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23522
  (eval "$ac_link") 2>&5
23567
23523
  ac_status=$?
23568
23524
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23569
23525
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23570
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23571
 
  (eval $ac_try) 2>&5
 
23526
  { (case "(($ac_try" in
 
23527
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23528
  *) ac_try_echo=$ac_try;;
 
23529
esac
 
23530
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23531
  (eval "$ac_try") 2>&5
23572
23532
  ac_status=$?
23573
23533
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23574
23534
  (exit $ac_status); }; }; then
23581
23541
( exit $ac_status )
23582
23542
dps_cv_swprintf_works=1
23583
23543
fi
23584
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
23544
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23585
23545
fi
 
23546
 
 
23547
 
23586
23548
 
23587
23549
fi
23588
23550
 
23589
23551
        if test $dps_cv_swprintf_works -eq 0; then
23590
 
          echo "$as_me:$LINENO: result: no, swprintf is ok" >&5
23591
 
echo "${ECHO_T}no, swprintf is ok" >&6
 
23552
          { echo "$as_me:$LINENO: result: no, swprintf is ok" >&5
 
23553
echo "${ECHO_T}no, swprintf is ok" >&6; }
23592
23554
        elif test $dps_cv_swprintf_works -eq 1; then
23593
 
          echo "$as_me:$LINENO: result: yes, swprintf is broken" >&5
23594
 
echo "${ECHO_T}yes, swprintf is broken" >&6
 
23555
          { echo "$as_me:$LINENO: result: yes, swprintf is broken" >&5
 
23556
echo "${ECHO_T}yes, swprintf is broken" >&6; }
23595
23557
 
23596
23558
cat >>confdefs.h <<\_ACEOF
23597
23559
#define HAVE_SWPRINTF_BUG
23598
23560
_ACEOF
23599
23561
 
23600
23562
        else
23601
 
          echo "$as_me:$LINENO: result: unknown, assuming yes" >&5
23602
 
echo "${ECHO_T}unknown, assuming yes" >&6
 
23563
          { echo "$as_me:$LINENO: result: unknown, assuming yes" >&5
 
23564
echo "${ECHO_T}unknown, assuming yes" >&6; }
23603
23565
 
23604
23566
cat >>confdefs.h <<\_ACEOF
23605
23567
#define HAVE_SWPRINTF_BUG
23607
23569
 
23608
23570
        fi
23609
23571
 
23610
 
echo "$as_me:$LINENO: checking whether snprintf ignores n" >&5
23611
 
echo $ECHO_N "checking whether snprintf ignores n... $ECHO_C" >&6
 
23572
{ echo "$as_me:$LINENO: checking whether snprintf ignores n" >&5
 
23573
echo $ECHO_N "checking whether snprintf ignores n... $ECHO_C" >&6; }
23612
23574
        if test "${dps_cv_snprintf_bug+set}" = set; then
23613
23575
  echo $ECHO_N "(cached) $ECHO_C" >&6
23614
23576
else
23646
23608
 
23647
23609
_ACEOF
23648
23610
rm -f conftest$ac_exeext
23649
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23650
 
  (eval $ac_link) 2>&5
 
23611
if { (ac_try="$ac_link"
 
23612
case "(($ac_try" in
 
23613
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23614
  *) ac_try_echo=$ac_try;;
 
23615
esac
 
23616
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23617
  (eval "$ac_link") 2>&5
23651
23618
  ac_status=$?
23652
23619
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653
23620
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23654
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23655
 
  (eval $ac_try) 2>&5
 
23621
  { (case "(($ac_try" in
 
23622
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23623
  *) ac_try_echo=$ac_try;;
 
23624
esac
 
23625
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23626
  (eval "$ac_try") 2>&5
23656
23627
  ac_status=$?
23657
23628
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23658
23629
  (exit $ac_status); }; }; then
23665
23636
( exit $ac_status )
23666
23637
dps_cv_snprintf_bug=1
23667
23638
fi
23668
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
23639
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23669
23640
fi
 
23641
 
 
23642
 
23670
23643
 
23671
23644
fi
23672
23645
 
23673
23646
        if test $dps_cv_snprintf_bug -eq 0; then
23674
 
          echo "$as_me:$LINENO: result: no, snprintf is ok" >&5
23675
 
echo "${ECHO_T}no, snprintf is ok" >&6
 
23647
          { echo "$as_me:$LINENO: result: no, snprintf is ok" >&5
 
23648
echo "${ECHO_T}no, snprintf is ok" >&6; }
23676
23649
        elif test $dps_cv_snprintf_bug -eq 1; then
23677
 
          echo "$as_me:$LINENO: result: yes, snprintf is broken" >&5
23678
 
echo "${ECHO_T}yes, snprintf is broken" >&6
 
23650
          { echo "$as_me:$LINENO: result: yes, snprintf is broken" >&5
 
23651
echo "${ECHO_T}yes, snprintf is broken" >&6; }
23679
23652
          cat >>confdefs.h <<\_ACEOF
23680
23653
#define HAVE_SNPRINTF_BUG Defined if the snprintf overflow test fails
23681
23654
_ACEOF
23682
23655
 
23683
23656
        else
23684
 
          echo "$as_me:$LINENO: result: unknown, assuming yes" >&5
23685
 
echo "${ECHO_T}unknown, assuming yes" >&6
 
23657
          { echo "$as_me:$LINENO: result: unknown, assuming yes" >&5
 
23658
echo "${ECHO_T}unknown, assuming yes" >&6; }
23686
23659
 
23687
23660
cat >>confdefs.h <<\_ACEOF
23688
23661
#define HAVE_SNPRINTF_BUG
23691
23664
        fi
23692
23665
 
23693
23666
 
23694
 
echo "$as_me:$LINENO: checking whether ${CXX} supports our byte<->float conversions" >&5
23695
 
echo $ECHO_N "checking whether ${CXX} supports our byte<->float conversions... $ECHO_C" >&6
 
23667
{ echo "$as_me:$LINENO: checking whether ${CXX} supports our byte<->float conversions" >&5
 
23668
echo $ECHO_N "checking whether ${CXX} supports our byte<->float conversions... $ECHO_C" >&6; }
23696
23669
        if test "${mdl_cv_have_float_byte_support+set}" = set; then
23697
23670
  echo $ECHO_N "(cached) $ECHO_C" >&6
23698
23671
else
23786
23759
 
23787
23760
_ACEOF
23788
23761
rm -f conftest$ac_exeext
23789
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23790
 
  (eval $ac_link) 2>&5
 
23762
if { (ac_try="$ac_link"
 
23763
case "(($ac_try" in
 
23764
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23765
  *) ac_try_echo=$ac_try;;
 
23766
esac
 
23767
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23768
  (eval "$ac_link") 2>&5
23791
23769
  ac_status=$?
23792
23770
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23793
23771
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23794
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23795
 
  (eval $ac_try) 2>&5
 
23772
  { (case "(($ac_try" in
 
23773
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23774
  *) ac_try_echo=$ac_try;;
 
23775
esac
 
23776
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23777
  (eval "$ac_try") 2>&5
23796
23778
  ac_status=$?
23797
23779
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23798
23780
  (exit $ac_status); }; }; then
23805
23787
( exit $ac_status )
23806
23788
dps_float_byte_fail=1
23807
23789
fi
23808
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
23790
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23809
23791
fi
 
23792
 
 
23793
 
23810
23794
 
23811
23795
fi
23812
23796
 
23813
23797
 
23814
23798
    if test $dps_float_byte_fail -eq 0; then
23815
 
      echo "$as_me:$LINENO: result: yes" >&5
23816
 
echo "${ECHO_T}yes" >&6
 
23799
      { echo "$as_me:$LINENO: result: yes" >&5
 
23800
echo "${ECHO_T}yes" >&6; }
23817
23801
    elif test $dps_float_byte_fail -eq 1; then
23818
 
      echo "$as_me:$LINENO: result: no" >&5
23819
 
echo "${ECHO_T}no" >&6
 
23802
      { echo "$as_me:$LINENO: result: no" >&5
 
23803
echo "${ECHO_T}no" >&6; }
23820
23804
 
23821
23805
cat >>confdefs.h <<\_ACEOF
23822
23806
#define HAVE_NO_FLOAT_BYTE
23823
23807
_ACEOF
23824
23808
 
23825
23809
    else
23826
 
      echo "$as_me:$LINENO: result: unknown, assuming broken" >&5
23827
 
echo "${ECHO_T}unknown, assuming broken" >&6
 
23810
      { echo "$as_me:$LINENO: result: unknown, assuming broken" >&5
 
23811
echo "${ECHO_T}unknown, assuming broken" >&6; }
23828
23812
 
23829
23813
cat >>confdefs.h <<\_ACEOF
23830
23814
#define HAVE_NO_FLOAT_BYTE
23834
23818
 
23835
23819
 
23836
23820
 
23837
 
echo "$as_me:$LINENO: checking whether ${CXX} supports static const definitions in classes" >&5
23838
 
echo $ECHO_N "checking whether ${CXX} supports static const definitions in classes... $ECHO_C" >&6
 
23821
{ echo "$as_me:$LINENO: checking whether ${CXX} supports static const definitions in classes" >&5
 
23822
echo $ECHO_N "checking whether ${CXX} supports static const definitions in classes... $ECHO_C" >&6; }
23839
23823
     if test "${dps_static_const_type+set}" = set; then
23840
23824
  echo $ECHO_N "(cached) $ECHO_C" >&6
23841
23825
else
23842
23826
 
23843
23827
 
23844
 
 
23845
 
                 ac_ext=cc
 
23828
                 ac_ext=cpp
23846
23829
ac_cpp='$CXXCPP $CPPFLAGS'
23847
23830
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23848
23831
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23861
23844
class x{public: static const int SCI=55; }; int main(){ x a; if ( a.SCI!=55 ) throw "err"; }
23862
23845
_ACEOF
23863
23846
rm -f conftest$ac_exeext
23864
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23865
 
  (eval $ac_link) 2>&5
 
23847
if { (ac_try="$ac_link"
 
23848
case "(($ac_try" in
 
23849
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23850
  *) ac_try_echo=$ac_try;;
 
23851
esac
 
23852
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23853
  (eval "$ac_link") 2>&5
23866
23854
  ac_status=$?
23867
23855
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23868
23856
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23869
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23870
 
  (eval $ac_try) 2>&5
 
23857
  { (case "(($ac_try" in
 
23858
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23859
  *) ac_try_echo=$ac_try;;
 
23860
esac
 
23861
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23862
  (eval "$ac_try") 2>&5
23871
23863
  ac_status=$?
23872
23864
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23873
23865
  (exit $ac_status); }; }; then
23880
23872
( exit $ac_status )
23881
23873
dps_static_const_type=0
23882
23874
fi
23883
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
23875
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23884
23876
fi
23885
23877
 
 
23878
 
 
23879
 
23886
23880
                 if test $dps_static_const_type -eq 0; then
23887
23881
                         if test "$cross_compiling" = yes; then
23888
23882
  dps_static_const_type=0
23896
23890
class x{public: enum{ SCI=55 }; }; int main(){ x a; if ( a.SCI!=55 ) throw "err"; }
23897
23891
_ACEOF
23898
23892
rm -f conftest$ac_exeext
23899
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23900
 
  (eval $ac_link) 2>&5
 
23893
if { (ac_try="$ac_link"
 
23894
case "(($ac_try" in
 
23895
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23896
  *) ac_try_echo=$ac_try;;
 
23897
esac
 
23898
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23899
  (eval "$ac_link") 2>&5
23901
23900
  ac_status=$?
23902
23901
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23903
23902
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23904
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23905
 
  (eval $ac_try) 2>&5
 
23903
  { (case "(($ac_try" in
 
23904
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23905
  *) ac_try_echo=$ac_try;;
 
23906
esac
 
23907
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23908
  (eval "$ac_try") 2>&5
23906
23909
  ac_status=$?
23907
23910
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23908
23911
  (exit $ac_status); }; }; then
23915
23918
( exit $ac_status )
23916
23919
dps_static_const_type=0
23917
23920
fi
23918
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
23921
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23919
23922
fi
 
23923
 
 
23924
 
23920
23925
                 fi
23921
23926
 
23922
 
                 ac_ext=cc
 
23927
                 ac_ext=cpp
23923
23928
ac_cpp='$CXXCPP $CPPFLAGS'
23924
23929
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23925
23930
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23929
23934
fi
23930
23935
 
23931
23936
    if test $dps_static_const_type -eq 1; then
23932
 
      echo "$as_me:$LINENO: result: yes" >&5
23933
 
echo "${ECHO_T}yes" >&6
 
23937
      { echo "$as_me:$LINENO: result: yes" >&5
 
23938
echo "${ECHO_T}yes" >&6; }
23934
23939
 
23935
23940
cat >>confdefs.h <<\_ACEOF
23936
23941
#define LUCENE_STATIC_CONSTANT_SYNTAX 1
23937
23942
_ACEOF
23938
23943
 
23939
23944
    elif test $dps_static_const_type -eq 2; then
23940
 
      echo "$as_me:$LINENO: result: yes" >&5
23941
 
echo "${ECHO_T}yes" >&6
 
23945
      { echo "$as_me:$LINENO: result: yes" >&5
 
23946
echo "${ECHO_T}yes" >&6; }
23942
23947
 
23943
23948
cat >>confdefs.h <<\_ACEOF
23944
23949
#define LUCENE_STATIC_CONSTANT_SYNTAX 2
23960
23965
for ac_func in wprintf snwprintf vsnwprintf
23961
23966
do
23962
23967
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23963
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
23964
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23965
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
23968
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
23969
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
23970
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23966
23971
  echo $ECHO_N "(cached) $ECHO_C" >&6
23967
23972
else
23968
23973
  cat >conftest.$ac_ext <<_ACEOF
23988
23993
 
23989
23994
#undef $ac_func
23990
23995
 
23991
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23996
/* Override any GCC internal prototype to avoid an error.
 
23997
   Use char because int might match the return type of a GCC
 
23998
   builtin and then its argument prototype would still apply.  */
23992
23999
#ifdef __cplusplus
23993
24000
extern "C"
23994
 
{
23995
24001
#endif
23996
 
/* We use char because int might match the return type of a gcc2
23997
 
   builtin and then its argument prototype would still apply.  */
23998
24002
char $ac_func ();
23999
24003
/* The GNU C library defines this for functions which it implements
24000
24004
    to always fail with ENOSYS.  Some functions are actually named
24001
24005
    something starting with __ and the normal name is an alias.  */
24002
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
24006
#if defined __stub_$ac_func || defined __stub___$ac_func
24003
24007
choke me
24004
 
#else
24005
 
char (*f) () = $ac_func;
24006
 
#endif
24007
 
#ifdef __cplusplus
24008
 
}
24009
24008
#endif
24010
24009
 
24011
24010
int
24012
24011
main ()
24013
24012
{
24014
 
return f != $ac_func;
 
24013
return $ac_func ();
24015
24014
  ;
24016
24015
  return 0;
24017
24016
}
24018
24017
_ACEOF
24019
24018
rm -f conftest.$ac_objext conftest$ac_exeext
24020
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24021
 
  (eval $ac_link) 2>conftest.er1
 
24019
if { (ac_try="$ac_link"
 
24020
case "(($ac_try" in
 
24021
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24022
  *) ac_try_echo=$ac_try;;
 
24023
esac
 
24024
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24025
  (eval "$ac_link") 2>conftest.er1
24022
24026
  ac_status=$?
24023
24027
  grep -v '^ *+' conftest.er1 >conftest.err
24024
24028
  rm -f conftest.er1
24025
24029
  cat conftest.err >&5
24026
24030
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24027
 
  (exit $ac_status); } &&
24028
 
         { ac_try='test -z "$ac_cxx_werror_flag"
24029
 
                         || test ! -s conftest.err'
24030
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24031
 
  (eval $ac_try) 2>&5
24032
 
  ac_status=$?
24033
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24034
 
  (exit $ac_status); }; } &&
24035
 
         { ac_try='test -s conftest$ac_exeext'
24036
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24037
 
  (eval $ac_try) 2>&5
24038
 
  ac_status=$?
24039
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24040
 
  (exit $ac_status); }; }; then
 
24031
  (exit $ac_status); } && {
 
24032
         test -z "$ac_cxx_werror_flag" ||
 
24033
         test ! -s conftest.err
 
24034
       } && test -s conftest$ac_exeext &&
 
24035
       $as_test_x conftest$ac_exeext; then
24041
24036
  eval "$as_ac_var=yes"
24042
24037
else
24043
24038
  echo "$as_me: failed program was:" >&5
24044
24039
sed 's/^/| /' conftest.$ac_ext >&5
24045
24040
 
24046
 
eval "$as_ac_var=no"
 
24041
        eval "$as_ac_var=no"
24047
24042
fi
24048
 
rm -f conftest.err conftest.$ac_objext \
 
24043
 
 
24044
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24049
24045
      conftest$ac_exeext conftest.$ac_ext
24050
24046
fi
24051
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24052
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
24047
ac_res=`eval echo '${'$as_ac_var'}'`
 
24048
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24049
echo "${ECHO_T}$ac_res" >&6; }
24053
24050
if test `eval echo '${'$as_ac_var'}'` = yes; then
24054
24051
  cat >>confdefs.h <<_ACEOF
24055
24052
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24065
24062
 
24066
24063
 
24067
24064
 
24068
 
echo "$as_me:$LINENO: checking for uint64_t" >&5
24069
 
echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
 
24065
{ echo "$as_me:$LINENO: checking for uint64_t" >&5
 
24066
echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
24070
24067
if test "${ac_cv_type_uint64_t+set}" = set; then
24071
24068
  echo $ECHO_N "(cached) $ECHO_C" >&6
24072
24069
else
24077
24074
cat >>conftest.$ac_ext <<_ACEOF
24078
24075
/* end confdefs.h.  */
24079
24076
$ac_includes_default
 
24077
typedef uint64_t ac__type_new_;
24080
24078
int
24081
24079
main ()
24082
24080
{
24083
 
if ((uint64_t *) 0)
 
24081
if ((ac__type_new_ *) 0)
24084
24082
  return 0;
24085
 
if (sizeof (uint64_t))
 
24083
if (sizeof (ac__type_new_))
24086
24084
  return 0;
24087
24085
  ;
24088
24086
  return 0;
24089
24087
}
24090
24088
_ACEOF
24091
24089
rm -f conftest.$ac_objext
24092
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24093
 
  (eval $ac_compile) 2>conftest.er1
 
24090
if { (ac_try="$ac_compile"
 
24091
case "(($ac_try" in
 
24092
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24093
  *) ac_try_echo=$ac_try;;
 
24094
esac
 
24095
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24096
  (eval "$ac_compile") 2>conftest.er1
24094
24097
  ac_status=$?
24095
24098
  grep -v '^ *+' conftest.er1 >conftest.err
24096
24099
  rm -f conftest.er1
24097
24100
  cat conftest.err >&5
24098
24101
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24099
 
  (exit $ac_status); } &&
24100
 
         { ac_try='test -z "$ac_cxx_werror_flag"
24101
 
                         || test ! -s conftest.err'
24102
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24103
 
  (eval $ac_try) 2>&5
24104
 
  ac_status=$?
24105
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24106
 
  (exit $ac_status); }; } &&
24107
 
         { ac_try='test -s conftest.$ac_objext'
24108
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24109
 
  (eval $ac_try) 2>&5
24110
 
  ac_status=$?
24111
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24112
 
  (exit $ac_status); }; }; then
 
24102
  (exit $ac_status); } && {
 
24103
         test -z "$ac_cxx_werror_flag" ||
 
24104
         test ! -s conftest.err
 
24105
       } && test -s conftest.$ac_objext; then
24113
24106
  ac_cv_type_uint64_t=yes
24114
24107
else
24115
24108
  echo "$as_me: failed program was:" >&5
24116
24109
sed 's/^/| /' conftest.$ac_ext >&5
24117
24110
 
24118
 
ac_cv_type_uint64_t=no
24119
 
fi
24120
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24121
 
fi
24122
 
echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
24123
 
echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
 
24111
        ac_cv_type_uint64_t=no
 
24112
fi
 
24113
 
 
24114
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24115
fi
 
24116
{ echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
 
24117
echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
24124
24118
if test $ac_cv_type_uint64_t = yes; then
24125
24119
  :
24126
24120
else
24132
24126
  {
24133
24127
 
24134
24128
 
24135
 
  echo "$as_me:$LINENO: checking for unsigned long long" >&5
24136
 
echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
 
24129
  { echo "$as_me:$LINENO: checking for unsigned long long" >&5
 
24130
echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6; }
24137
24131
if test "${ac_cv_type_unsigned_long_long+set}" = set; then
24138
24132
  echo $ECHO_N "(cached) $ECHO_C" >&6
24139
24133
else
24144
24138
cat >>conftest.$ac_ext <<_ACEOF
24145
24139
/* end confdefs.h.  */
24146
24140
$ac_includes_default
 
24141
typedef unsigned long long ac__type_new_;
24147
24142
int
24148
24143
main ()
24149
24144
{
24150
 
if ((unsigned long long *) 0)
 
24145
if ((ac__type_new_ *) 0)
24151
24146
  return 0;
24152
 
if (sizeof (unsigned long long))
 
24147
if (sizeof (ac__type_new_))
24153
24148
  return 0;
24154
24149
  ;
24155
24150
  return 0;
24156
24151
}
24157
24152
_ACEOF
24158
24153
rm -f conftest.$ac_objext
24159
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24160
 
  (eval $ac_compile) 2>conftest.er1
 
24154
if { (ac_try="$ac_compile"
 
24155
case "(($ac_try" in
 
24156
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24157
  *) ac_try_echo=$ac_try;;
 
24158
esac
 
24159
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24160
  (eval "$ac_compile") 2>conftest.er1
24161
24161
  ac_status=$?
24162
24162
  grep -v '^ *+' conftest.er1 >conftest.err
24163
24163
  rm -f conftest.er1
24164
24164
  cat conftest.err >&5
24165
24165
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24166
 
  (exit $ac_status); } &&
24167
 
         { ac_try='test -z "$ac_cxx_werror_flag"
24168
 
                         || test ! -s conftest.err'
24169
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24170
 
  (eval $ac_try) 2>&5
24171
 
  ac_status=$?
24172
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24173
 
  (exit $ac_status); }; } &&
24174
 
         { ac_try='test -s conftest.$ac_objext'
24175
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24176
 
  (eval $ac_try) 2>&5
24177
 
  ac_status=$?
24178
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24179
 
  (exit $ac_status); }; }; then
 
24166
  (exit $ac_status); } && {
 
24167
         test -z "$ac_cxx_werror_flag" ||
 
24168
         test ! -s conftest.err
 
24169
       } && test -s conftest.$ac_objext; then
24180
24170
  ac_cv_type_unsigned_long_long=yes
24181
24171
else
24182
24172
  echo "$as_me: failed program was:" >&5
24183
24173
sed 's/^/| /' conftest.$ac_ext >&5
24184
24174
 
24185
 
ac_cv_type_unsigned_long_long=no
24186
 
fi
24187
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24188
 
fi
24189
 
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
24190
 
echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
24191
 
 
24192
 
echo "$as_me:$LINENO: checking size of unsigned long long" >&5
24193
 
echo $ECHO_N "checking size of unsigned long long... $ECHO_C" >&6
 
24175
        ac_cv_type_unsigned_long_long=no
 
24176
fi
 
24177
 
 
24178
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24179
fi
 
24180
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
 
24181
echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6; }
 
24182
 
 
24183
# The cast to long int works around a bug in the HP C Compiler
 
24184
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
24185
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
24186
# This bug is HP SR number 8606223364.
 
24187
{ echo "$as_me:$LINENO: checking size of unsigned long long" >&5
 
24188
echo $ECHO_N "checking size of unsigned long long... $ECHO_C" >&6; }
24194
24189
if test "${ac_cv_sizeof_unsigned_long_long+set}" = set; then
24195
24190
  echo $ECHO_N "(cached) $ECHO_C" >&6
24196
24191
else
24197
 
  if test "$ac_cv_type_unsigned_long_long" = yes; then
24198
 
  # The cast to unsigned long works around a bug in the HP C Compiler
24199
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24200
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24201
 
  # This bug is HP SR number 8606223364.
24202
24192
  if test "$cross_compiling" = yes; then
24203
24193
  # Depending upon the size, compute the lo and hi bounds.
24204
24194
cat >conftest.$ac_ext <<_ACEOF
24208
24198
cat >>conftest.$ac_ext <<_ACEOF
24209
24199
/* end confdefs.h.  */
24210
24200
$ac_includes_default
 
24201
   typedef unsigned long long ac__type_sizeof_;
24211
24202
int
24212
24203
main ()
24213
24204
{
24214
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) >= 0)];
 
24205
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24215
24206
test_array [0] = 0
24216
24207
 
24217
24208
  ;
24219
24210
}
24220
24211
_ACEOF
24221
24212
rm -f conftest.$ac_objext
24222
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24223
 
  (eval $ac_compile) 2>conftest.er1
 
24213
if { (ac_try="$ac_compile"
 
24214
case "(($ac_try" in
 
24215
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24216
  *) ac_try_echo=$ac_try;;
 
24217
esac
 
24218
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24219
  (eval "$ac_compile") 2>conftest.er1
24224
24220
  ac_status=$?
24225
24221
  grep -v '^ *+' conftest.er1 >conftest.err
24226
24222
  rm -f conftest.er1
24227
24223
  cat conftest.err >&5
24228
24224
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24229
 
  (exit $ac_status); } &&
24230
 
         { ac_try='test -z "$ac_cxx_werror_flag"
24231
 
                         || test ! -s conftest.err'
24232
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24233
 
  (eval $ac_try) 2>&5
24234
 
  ac_status=$?
24235
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24236
 
  (exit $ac_status); }; } &&
24237
 
         { ac_try='test -s conftest.$ac_objext'
24238
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24239
 
  (eval $ac_try) 2>&5
24240
 
  ac_status=$?
24241
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24242
 
  (exit $ac_status); }; }; then
 
24225
  (exit $ac_status); } && {
 
24226
         test -z "$ac_cxx_werror_flag" ||
 
24227
         test ! -s conftest.err
 
24228
       } && test -s conftest.$ac_objext; then
24243
24229
  ac_lo=0 ac_mid=0
24244
24230
  while :; do
24245
24231
    cat >conftest.$ac_ext <<_ACEOF
24249
24235
cat >>conftest.$ac_ext <<_ACEOF
24250
24236
/* end confdefs.h.  */
24251
24237
$ac_includes_default
 
24238
   typedef unsigned long long ac__type_sizeof_;
24252
24239
int
24253
24240
main ()
24254
24241
{
24255
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) <= $ac_mid)];
 
24242
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24256
24243
test_array [0] = 0
24257
24244
 
24258
24245
  ;
24260
24247
}
24261
24248
_ACEOF
24262
24249
rm -f conftest.$ac_objext
24263
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24264
 
  (eval $ac_compile) 2>conftest.er1
 
24250
if { (ac_try="$ac_compile"
 
24251
case "(($ac_try" in
 
24252
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24253
  *) ac_try_echo=$ac_try;;
 
24254
esac
 
24255
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24256
  (eval "$ac_compile") 2>conftest.er1
24265
24257
  ac_status=$?
24266
24258
  grep -v '^ *+' conftest.er1 >conftest.err
24267
24259
  rm -f conftest.er1
24268
24260
  cat conftest.err >&5
24269
24261
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24270
 
  (exit $ac_status); } &&
24271
 
         { ac_try='test -z "$ac_cxx_werror_flag"
24272
 
                         || test ! -s conftest.err'
24273
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24274
 
  (eval $ac_try) 2>&5
24275
 
  ac_status=$?
24276
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24277
 
  (exit $ac_status); }; } &&
24278
 
         { ac_try='test -s conftest.$ac_objext'
24279
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24280
 
  (eval $ac_try) 2>&5
24281
 
  ac_status=$?
24282
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24283
 
  (exit $ac_status); }; }; then
 
24262
  (exit $ac_status); } && {
 
24263
         test -z "$ac_cxx_werror_flag" ||
 
24264
         test ! -s conftest.err
 
24265
       } && test -s conftest.$ac_objext; then
24284
24266
  ac_hi=$ac_mid; break
24285
24267
else
24286
24268
  echo "$as_me: failed program was:" >&5
24287
24269
sed 's/^/| /' conftest.$ac_ext >&5
24288
24270
 
24289
 
ac_lo=`expr $ac_mid + 1`
24290
 
                    if test $ac_lo -le $ac_mid; then
24291
 
                      ac_lo= ac_hi=
24292
 
                      break
24293
 
                    fi
24294
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
24271
        ac_lo=`expr $ac_mid + 1`
 
24272
                        if test $ac_lo -le $ac_mid; then
 
24273
                          ac_lo= ac_hi=
 
24274
                          break
 
24275
                        fi
 
24276
                        ac_mid=`expr 2 '*' $ac_mid + 1`
24295
24277
fi
24296
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24278
 
 
24279
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24297
24280
  done
24298
24281
else
24299
24282
  echo "$as_me: failed program was:" >&5
24300
24283
sed 's/^/| /' conftest.$ac_ext >&5
24301
24284
 
24302
 
cat >conftest.$ac_ext <<_ACEOF
 
24285
        cat >conftest.$ac_ext <<_ACEOF
24303
24286
/* confdefs.h.  */
24304
24287
_ACEOF
24305
24288
cat confdefs.h >>conftest.$ac_ext
24306
24289
cat >>conftest.$ac_ext <<_ACEOF
24307
24290
/* end confdefs.h.  */
24308
24291
$ac_includes_default
 
24292
   typedef unsigned long long ac__type_sizeof_;
24309
24293
int
24310
24294
main ()
24311
24295
{
24312
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) < 0)];
 
24296
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24313
24297
test_array [0] = 0
24314
24298
 
24315
24299
  ;
24317
24301
}
24318
24302
_ACEOF
24319
24303
rm -f conftest.$ac_objext
24320
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24321
 
  (eval $ac_compile) 2>conftest.er1
 
24304
if { (ac_try="$ac_compile"
 
24305
case "(($ac_try" in
 
24306
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24307
  *) ac_try_echo=$ac_try;;
 
24308
esac
 
24309
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24310
  (eval "$ac_compile") 2>conftest.er1
24322
24311
  ac_status=$?
24323
24312
  grep -v '^ *+' conftest.er1 >conftest.err
24324
24313
  rm -f conftest.er1
24325
24314
  cat conftest.err >&5
24326
24315
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24327
 
  (exit $ac_status); } &&
24328
 
         { ac_try='test -z "$ac_cxx_werror_flag"
24329
 
                         || test ! -s conftest.err'
24330
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24331
 
  (eval $ac_try) 2>&5
24332
 
  ac_status=$?
24333
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24334
 
  (exit $ac_status); }; } &&
24335
 
         { ac_try='test -s conftest.$ac_objext'
24336
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24337
 
  (eval $ac_try) 2>&5
24338
 
  ac_status=$?
24339
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24340
 
  (exit $ac_status); }; }; then
 
24316
  (exit $ac_status); } && {
 
24317
         test -z "$ac_cxx_werror_flag" ||
 
24318
         test ! -s conftest.err
 
24319
       } && test -s conftest.$ac_objext; then
24341
24320
  ac_hi=-1 ac_mid=-1
24342
24321
  while :; do
24343
24322
    cat >conftest.$ac_ext <<_ACEOF
24347
24326
cat >>conftest.$ac_ext <<_ACEOF
24348
24327
/* end confdefs.h.  */
24349
24328
$ac_includes_default
 
24329
   typedef unsigned long long ac__type_sizeof_;
24350
24330
int
24351
24331
main ()
24352
24332
{
24353
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) >= $ac_mid)];
 
24333
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24354
24334
test_array [0] = 0
24355
24335
 
24356
24336
  ;
24358
24338
}
24359
24339
_ACEOF
24360
24340
rm -f conftest.$ac_objext
24361
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24362
 
  (eval $ac_compile) 2>conftest.er1
 
24341
if { (ac_try="$ac_compile"
 
24342
case "(($ac_try" in
 
24343
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24344
  *) ac_try_echo=$ac_try;;
 
24345
esac
 
24346
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24347
  (eval "$ac_compile") 2>conftest.er1
24363
24348
  ac_status=$?
24364
24349
  grep -v '^ *+' conftest.er1 >conftest.err
24365
24350
  rm -f conftest.er1
24366
24351
  cat conftest.err >&5
24367
24352
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24368
 
  (exit $ac_status); } &&
24369
 
         { ac_try='test -z "$ac_cxx_werror_flag"
24370
 
                         || test ! -s conftest.err'
24371
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24372
 
  (eval $ac_try) 2>&5
24373
 
  ac_status=$?
24374
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24375
 
  (exit $ac_status); }; } &&
24376
 
         { ac_try='test -s conftest.$ac_objext'
24377
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24378
 
  (eval $ac_try) 2>&5
24379
 
  ac_status=$?
24380
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24381
 
  (exit $ac_status); }; }; then
 
24353
  (exit $ac_status); } && {
 
24354
         test -z "$ac_cxx_werror_flag" ||
 
24355
         test ! -s conftest.err
 
24356
       } && test -s conftest.$ac_objext; then
24382
24357
  ac_lo=$ac_mid; break
24383
24358
else
24384
24359
  echo "$as_me: failed program was:" >&5
24385
24360
sed 's/^/| /' conftest.$ac_ext >&5
24386
24361
 
24387
 
ac_hi=`expr '(' $ac_mid ')' - 1`
24388
 
                       if test $ac_mid -le $ac_hi; then
24389
 
                         ac_lo= ac_hi=
24390
 
                         break
24391
 
                       fi
24392
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
24362
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
24363
                        if test $ac_mid -le $ac_hi; then
 
24364
                          ac_lo= ac_hi=
 
24365
                          break
 
24366
                        fi
 
24367
                        ac_mid=`expr 2 '*' $ac_mid`
24393
24368
fi
24394
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24369
 
 
24370
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24395
24371
  done
24396
24372
else
24397
24373
  echo "$as_me: failed program was:" >&5
24398
24374
sed 's/^/| /' conftest.$ac_ext >&5
24399
24375
 
24400
 
ac_lo= ac_hi=
24401
 
fi
24402
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24403
 
fi
24404
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24376
        ac_lo= ac_hi=
 
24377
fi
 
24378
 
 
24379
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24380
fi
 
24381
 
 
24382
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24405
24383
# Binary search between lo and hi bounds.
24406
24384
while test "x$ac_lo" != "x$ac_hi"; do
24407
24385
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24412
24390
cat >>conftest.$ac_ext <<_ACEOF
24413
24391
/* end confdefs.h.  */
24414
24392
$ac_includes_default
 
24393
   typedef unsigned long long ac__type_sizeof_;
24415
24394
int
24416
24395
main ()
24417
24396
{
24418
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) <= $ac_mid)];
 
24397
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24419
24398
test_array [0] = 0
24420
24399
 
24421
24400
  ;
24423
24402
}
24424
24403
_ACEOF
24425
24404
rm -f conftest.$ac_objext
24426
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24427
 
  (eval $ac_compile) 2>conftest.er1
 
24405
if { (ac_try="$ac_compile"
 
24406
case "(($ac_try" in
 
24407
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24408
  *) ac_try_echo=$ac_try;;
 
24409
esac
 
24410
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24411
  (eval "$ac_compile") 2>conftest.er1
24428
24412
  ac_status=$?
24429
24413
  grep -v '^ *+' conftest.er1 >conftest.err
24430
24414
  rm -f conftest.er1
24431
24415
  cat conftest.err >&5
24432
24416
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24433
 
  (exit $ac_status); } &&
24434
 
         { ac_try='test -z "$ac_cxx_werror_flag"
24435
 
                         || test ! -s conftest.err'
24436
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24437
 
  (eval $ac_try) 2>&5
24438
 
  ac_status=$?
24439
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440
 
  (exit $ac_status); }; } &&
24441
 
         { ac_try='test -s conftest.$ac_objext'
24442
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24443
 
  (eval $ac_try) 2>&5
24444
 
  ac_status=$?
24445
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24446
 
  (exit $ac_status); }; }; then
 
24417
  (exit $ac_status); } && {
 
24418
         test -z "$ac_cxx_werror_flag" ||
 
24419
         test ! -s conftest.err
 
24420
       } && test -s conftest.$ac_objext; then
24447
24421
  ac_hi=$ac_mid
24448
24422
else
24449
24423
  echo "$as_me: failed program was:" >&5
24450
24424
sed 's/^/| /' conftest.$ac_ext >&5
24451
24425
 
24452
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
24426
        ac_lo=`expr '(' $ac_mid ')' + 1`
24453
24427
fi
24454
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24428
 
 
24429
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24455
24430
done
24456
24431
case $ac_lo in
24457
24432
?*) ac_cv_sizeof_unsigned_long_long=$ac_lo;;
24458
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long), 77
 
24433
'') if test "$ac_cv_type_unsigned_long_long" = yes; then
 
24434
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long)
24459
24435
See \`config.log' for more details." >&5
24460
 
echo "$as_me: error: cannot compute sizeof (unsigned long long), 77
 
24436
echo "$as_me: error: cannot compute sizeof (unsigned long long)
24461
24437
See \`config.log' for more details." >&2;}
24462
 
   { (exit 1); exit 1; }; } ;;
 
24438
   { (exit 77); exit 77; }; }
 
24439
   else
 
24440
     ac_cv_sizeof_unsigned_long_long=0
 
24441
   fi ;;
24463
24442
esac
24464
24443
else
24465
 
  if test "$cross_compiling" = yes; then
24466
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
24467
 
See \`config.log' for more details." >&5
24468
 
echo "$as_me: error: cannot run test program while cross compiling
24469
 
See \`config.log' for more details." >&2;}
24470
 
   { (exit 1); exit 1; }; }
24471
 
else
24472
24444
  cat >conftest.$ac_ext <<_ACEOF
24473
24445
/* confdefs.h.  */
24474
24446
_ACEOF
24476
24448
cat >>conftest.$ac_ext <<_ACEOF
24477
24449
/* end confdefs.h.  */
24478
24450
$ac_includes_default
24479
 
long longval () { return (long) (sizeof (unsigned long long)); }
24480
 
unsigned long ulongval () { return (long) (sizeof (unsigned long long)); }
 
24451
   typedef unsigned long long ac__type_sizeof_;
 
24452
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
24453
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24481
24454
#include <stdio.h>
24482
24455
#include <stdlib.h>
24483
24456
int
24486
24459
 
24487
24460
  FILE *f = fopen ("conftest.val", "w");
24488
24461
  if (! f)
24489
 
    exit (1);
24490
 
  if (((long) (sizeof (unsigned long long))) < 0)
 
24462
    return 1;
 
24463
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24491
24464
    {
24492
 
      long i = longval ();
24493
 
      if (i != ((long) (sizeof (unsigned long long))))
24494
 
        exit (1);
 
24465
      long int i = longval ();
 
24466
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
24467
        return 1;
24495
24468
      fprintf (f, "%ld\n", i);
24496
24469
    }
24497
24470
  else
24498
24471
    {
24499
 
      unsigned long i = ulongval ();
24500
 
      if (i != ((long) (sizeof (unsigned long long))))
24501
 
        exit (1);
 
24472
      unsigned long int i = ulongval ();
 
24473
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
24474
        return 1;
24502
24475
      fprintf (f, "%lu\n", i);
24503
24476
    }
24504
 
  exit (ferror (f) || fclose (f) != 0);
 
24477
  return ferror (f) || fclose (f) != 0;
24505
24478
 
24506
24479
  ;
24507
24480
  return 0;
24508
24481
}
24509
24482
_ACEOF
24510
24483
rm -f conftest$ac_exeext
24511
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24512
 
  (eval $ac_link) 2>&5
 
24484
if { (ac_try="$ac_link"
 
24485
case "(($ac_try" in
 
24486
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24487
  *) ac_try_echo=$ac_try;;
 
24488
esac
 
24489
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24490
  (eval "$ac_link") 2>&5
24513
24491
  ac_status=$?
24514
24492
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24515
24493
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24516
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24517
 
  (eval $ac_try) 2>&5
 
24494
  { (case "(($ac_try" in
 
24495
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24496
  *) ac_try_echo=$ac_try;;
 
24497
esac
 
24498
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24499
  (eval "$ac_try") 2>&5
24518
24500
  ac_status=$?
24519
24501
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24520
24502
  (exit $ac_status); }; }; then
24525
24507
sed 's/^/| /' conftest.$ac_ext >&5
24526
24508
 
24527
24509
( exit $ac_status )
24528
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long), 77
 
24510
if test "$ac_cv_type_unsigned_long_long" = yes; then
 
24511
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long)
24529
24512
See \`config.log' for more details." >&5
24530
 
echo "$as_me: error: cannot compute sizeof (unsigned long long), 77
 
24513
echo "$as_me: error: cannot compute sizeof (unsigned long long)
24531
24514
See \`config.log' for more details." >&2;}
24532
 
   { (exit 1); exit 1; }; }
24533
 
fi
24534
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24535
 
fi
 
24515
   { (exit 77); exit 77; }; }
 
24516
   else
 
24517
     ac_cv_sizeof_unsigned_long_long=0
 
24518
   fi
 
24519
fi
 
24520
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24536
24521
fi
24537
24522
rm -f conftest.val
24538
 
else
24539
 
  ac_cv_sizeof_unsigned_long_long=0
24540
 
fi
24541
 
fi
24542
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_long" >&5
24543
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_long" >&6
 
24523
fi
 
24524
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_long" >&5
 
24525
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_long" >&6; }
 
24526
 
 
24527
 
 
24528
 
24544
24529
cat >>confdefs.h <<_ACEOF
24545
24530
#define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long
24546
24531
_ACEOF
24552
24537
  fi
24553
24538
 
24554
24539
 
24555
 
  echo "$as_me:$LINENO: checking for unsigned __int64" >&5
24556
 
echo $ECHO_N "checking for unsigned __int64... $ECHO_C" >&6
 
24540
  { echo "$as_me:$LINENO: checking for unsigned __int64" >&5
 
24541
echo $ECHO_N "checking for unsigned __int64... $ECHO_C" >&6; }
24557
24542
if test "${ac_cv_type_unsigned___int64+set}" = set; then
24558
24543
  echo $ECHO_N "(cached) $ECHO_C" >&6
24559
24544
else
24564
24549
cat >>conftest.$ac_ext <<_ACEOF
24565
24550
/* end confdefs.h.  */
24566
24551
$ac_includes_default
 
24552
typedef unsigned __int64 ac__type_new_;
24567
24553
int
24568
24554
main ()
24569
24555
{
24570
 
if ((unsigned __int64 *) 0)
 
24556
if ((ac__type_new_ *) 0)
24571
24557
  return 0;
24572
 
if (sizeof (unsigned __int64))
 
24558
if (sizeof (ac__type_new_))
24573
24559
  return 0;
24574
24560
  ;
24575
24561
  return 0;
24576
24562
}
24577
24563
_ACEOF
24578
24564
rm -f conftest.$ac_objext
24579
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24580
 
  (eval $ac_compile) 2>conftest.er1
 
24565
if { (ac_try="$ac_compile"
 
24566
case "(($ac_try" in
 
24567
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24568
  *) ac_try_echo=$ac_try;;
 
24569
esac
 
24570
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24571
  (eval "$ac_compile") 2>conftest.er1
24581
24572
  ac_status=$?
24582
24573
  grep -v '^ *+' conftest.er1 >conftest.err
24583
24574
  rm -f conftest.er1
24584
24575
  cat conftest.err >&5
24585
24576
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24586
 
  (exit $ac_status); } &&
24587
 
         { ac_try='test -z "$ac_cxx_werror_flag"
24588
 
                         || test ! -s conftest.err'
24589
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24590
 
  (eval $ac_try) 2>&5
24591
 
  ac_status=$?
24592
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24593
 
  (exit $ac_status); }; } &&
24594
 
         { ac_try='test -s conftest.$ac_objext'
24595
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24596
 
  (eval $ac_try) 2>&5
24597
 
  ac_status=$?
24598
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24599
 
  (exit $ac_status); }; }; then
 
24577
  (exit $ac_status); } && {
 
24578
         test -z "$ac_cxx_werror_flag" ||
 
24579
         test ! -s conftest.err
 
24580
       } && test -s conftest.$ac_objext; then
24600
24581
  ac_cv_type_unsigned___int64=yes
24601
24582
else
24602
24583
  echo "$as_me: failed program was:" >&5
24603
24584
sed 's/^/| /' conftest.$ac_ext >&5
24604
24585
 
24605
 
ac_cv_type_unsigned___int64=no
24606
 
fi
24607
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24608
 
fi
24609
 
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned___int64" >&5
24610
 
echo "${ECHO_T}$ac_cv_type_unsigned___int64" >&6
24611
 
 
24612
 
echo "$as_me:$LINENO: checking size of unsigned __int64" >&5
24613
 
echo $ECHO_N "checking size of unsigned __int64... $ECHO_C" >&6
 
24586
        ac_cv_type_unsigned___int64=no
 
24587
fi
 
24588
 
 
24589
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24590
fi
 
24591
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned___int64" >&5
 
24592
echo "${ECHO_T}$ac_cv_type_unsigned___int64" >&6; }
 
24593
 
 
24594
# The cast to long int works around a bug in the HP C Compiler
 
24595
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
24596
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
24597
# This bug is HP SR number 8606223364.
 
24598
{ echo "$as_me:$LINENO: checking size of unsigned __int64" >&5
 
24599
echo $ECHO_N "checking size of unsigned __int64... $ECHO_C" >&6; }
24614
24600
if test "${ac_cv_sizeof_unsigned___int64+set}" = set; then
24615
24601
  echo $ECHO_N "(cached) $ECHO_C" >&6
24616
24602
else
24617
 
  if test "$ac_cv_type_unsigned___int64" = yes; then
24618
 
  # The cast to unsigned long works around a bug in the HP C Compiler
24619
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24620
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24621
 
  # This bug is HP SR number 8606223364.
24622
24603
  if test "$cross_compiling" = yes; then
24623
24604
  # Depending upon the size, compute the lo and hi bounds.
24624
24605
cat >conftest.$ac_ext <<_ACEOF
24628
24609
cat >>conftest.$ac_ext <<_ACEOF
24629
24610
/* end confdefs.h.  */
24630
24611
$ac_includes_default
 
24612
   typedef unsigned __int64 ac__type_sizeof_;
24631
24613
int
24632
24614
main ()
24633
24615
{
24634
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned __int64))) >= 0)];
 
24616
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24635
24617
test_array [0] = 0
24636
24618
 
24637
24619
  ;
24639
24621
}
24640
24622
_ACEOF
24641
24623
rm -f conftest.$ac_objext
24642
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24643
 
  (eval $ac_compile) 2>conftest.er1
 
24624
if { (ac_try="$ac_compile"
 
24625
case "(($ac_try" in
 
24626
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24627
  *) ac_try_echo=$ac_try;;
 
24628
esac
 
24629
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24630
  (eval "$ac_compile") 2>conftest.er1
24644
24631
  ac_status=$?
24645
24632
  grep -v '^ *+' conftest.er1 >conftest.err
24646
24633
  rm -f conftest.er1
24647
24634
  cat conftest.err >&5
24648
24635
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24649
 
  (exit $ac_status); } &&
24650
 
         { ac_try='test -z "$ac_cxx_werror_flag"
24651
 
                         || test ! -s conftest.err'
24652
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24653
 
  (eval $ac_try) 2>&5
24654
 
  ac_status=$?
24655
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24656
 
  (exit $ac_status); }; } &&
24657
 
         { ac_try='test -s conftest.$ac_objext'
24658
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24659
 
  (eval $ac_try) 2>&5
24660
 
  ac_status=$?
24661
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24662
 
  (exit $ac_status); }; }; then
 
24636
  (exit $ac_status); } && {
 
24637
         test -z "$ac_cxx_werror_flag" ||
 
24638
         test ! -s conftest.err
 
24639
       } && test -s conftest.$ac_objext; then
24663
24640
  ac_lo=0 ac_mid=0
24664
24641
  while :; do
24665
24642
    cat >conftest.$ac_ext <<_ACEOF
24669
24646
cat >>conftest.$ac_ext <<_ACEOF
24670
24647
/* end confdefs.h.  */
24671
24648
$ac_includes_default
 
24649
   typedef unsigned __int64 ac__type_sizeof_;
24672
24650
int
24673
24651
main ()
24674
24652
{
24675
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned __int64))) <= $ac_mid)];
 
24653
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24676
24654
test_array [0] = 0
24677
24655
 
24678
24656
  ;
24680
24658
}
24681
24659
_ACEOF
24682
24660
rm -f conftest.$ac_objext
24683
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24684
 
  (eval $ac_compile) 2>conftest.er1
 
24661
if { (ac_try="$ac_compile"
 
24662
case "(($ac_try" in
 
24663
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24664
  *) ac_try_echo=$ac_try;;
 
24665
esac
 
24666
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24667
  (eval "$ac_compile") 2>conftest.er1
24685
24668
  ac_status=$?
24686
24669
  grep -v '^ *+' conftest.er1 >conftest.err
24687
24670
  rm -f conftest.er1
24688
24671
  cat conftest.err >&5
24689
24672
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24690
 
  (exit $ac_status); } &&
24691
 
         { ac_try='test -z "$ac_cxx_werror_flag"
24692
 
                         || test ! -s conftest.err'
24693
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24694
 
  (eval $ac_try) 2>&5
24695
 
  ac_status=$?
24696
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24697
 
  (exit $ac_status); }; } &&
24698
 
         { ac_try='test -s conftest.$ac_objext'
24699
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24700
 
  (eval $ac_try) 2>&5
24701
 
  ac_status=$?
24702
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24703
 
  (exit $ac_status); }; }; then
 
24673
  (exit $ac_status); } && {
 
24674
         test -z "$ac_cxx_werror_flag" ||
 
24675
         test ! -s conftest.err
 
24676
       } && test -s conftest.$ac_objext; then
24704
24677
  ac_hi=$ac_mid; break
24705
24678
else
24706
24679
  echo "$as_me: failed program was:" >&5
24707
24680
sed 's/^/| /' conftest.$ac_ext >&5
24708
24681
 
24709
 
ac_lo=`expr $ac_mid + 1`
24710
 
                    if test $ac_lo -le $ac_mid; then
24711
 
                      ac_lo= ac_hi=
24712
 
                      break
24713
 
                    fi
24714
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
24682
        ac_lo=`expr $ac_mid + 1`
 
24683
                        if test $ac_lo -le $ac_mid; then
 
24684
                          ac_lo= ac_hi=
 
24685
                          break
 
24686
                        fi
 
24687
                        ac_mid=`expr 2 '*' $ac_mid + 1`
24715
24688
fi
24716
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24689
 
 
24690
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24717
24691
  done
24718
24692
else
24719
24693
  echo "$as_me: failed program was:" >&5
24720
24694
sed 's/^/| /' conftest.$ac_ext >&5
24721
24695
 
24722
 
cat >conftest.$ac_ext <<_ACEOF
 
24696
        cat >conftest.$ac_ext <<_ACEOF
24723
24697
/* confdefs.h.  */
24724
24698
_ACEOF
24725
24699
cat confdefs.h >>conftest.$ac_ext
24726
24700
cat >>conftest.$ac_ext <<_ACEOF
24727
24701
/* end confdefs.h.  */
24728
24702
$ac_includes_default
 
24703
   typedef unsigned __int64 ac__type_sizeof_;
24729
24704
int
24730
24705
main ()
24731
24706
{
24732
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned __int64))) < 0)];
 
24707
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24733
24708
test_array [0] = 0
24734
24709
 
24735
24710
  ;
24737
24712
}
24738
24713
_ACEOF
24739
24714
rm -f conftest.$ac_objext
24740
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24741
 
  (eval $ac_compile) 2>conftest.er1
 
24715
if { (ac_try="$ac_compile"
 
24716
case "(($ac_try" in
 
24717
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24718
  *) ac_try_echo=$ac_try;;
 
24719
esac
 
24720
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24721
  (eval "$ac_compile") 2>conftest.er1
24742
24722
  ac_status=$?
24743
24723
  grep -v '^ *+' conftest.er1 >conftest.err
24744
24724
  rm -f conftest.er1
24745
24725
  cat conftest.err >&5
24746
24726
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24747
 
  (exit $ac_status); } &&
24748
 
         { ac_try='test -z "$ac_cxx_werror_flag"
24749
 
                         || test ! -s conftest.err'
24750
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24751
 
  (eval $ac_try) 2>&5
24752
 
  ac_status=$?
24753
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24754
 
  (exit $ac_status); }; } &&
24755
 
         { ac_try='test -s conftest.$ac_objext'
24756
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24757
 
  (eval $ac_try) 2>&5
24758
 
  ac_status=$?
24759
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24760
 
  (exit $ac_status); }; }; then
 
24727
  (exit $ac_status); } && {
 
24728
         test -z "$ac_cxx_werror_flag" ||
 
24729
         test ! -s conftest.err
 
24730
       } && test -s conftest.$ac_objext; then
24761
24731
  ac_hi=-1 ac_mid=-1
24762
24732
  while :; do
24763
24733
    cat >conftest.$ac_ext <<_ACEOF
24767
24737
cat >>conftest.$ac_ext <<_ACEOF
24768
24738
/* end confdefs.h.  */
24769
24739
$ac_includes_default
 
24740
   typedef unsigned __int64 ac__type_sizeof_;
24770
24741
int
24771
24742
main ()
24772
24743
{
24773
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned __int64))) >= $ac_mid)];
 
24744
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24774
24745
test_array [0] = 0
24775
24746
 
24776
24747
  ;
24778
24749
}
24779
24750
_ACEOF
24780
24751
rm -f conftest.$ac_objext
24781
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24782
 
  (eval $ac_compile) 2>conftest.er1
 
24752
if { (ac_try="$ac_compile"
 
24753
case "(($ac_try" in
 
24754
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24755
  *) ac_try_echo=$ac_try;;
 
24756
esac
 
24757
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24758
  (eval "$ac_compile") 2>conftest.er1
24783
24759
  ac_status=$?
24784
24760
  grep -v '^ *+' conftest.er1 >conftest.err
24785
24761
  rm -f conftest.er1
24786
24762
  cat conftest.err >&5
24787
24763
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24788
 
  (exit $ac_status); } &&
24789
 
         { ac_try='test -z "$ac_cxx_werror_flag"
24790
 
                         || test ! -s conftest.err'
24791
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24792
 
  (eval $ac_try) 2>&5
24793
 
  ac_status=$?
24794
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24795
 
  (exit $ac_status); }; } &&
24796
 
         { ac_try='test -s conftest.$ac_objext'
24797
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24798
 
  (eval $ac_try) 2>&5
24799
 
  ac_status=$?
24800
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24801
 
  (exit $ac_status); }; }; then
 
24764
  (exit $ac_status); } && {
 
24765
         test -z "$ac_cxx_werror_flag" ||
 
24766
         test ! -s conftest.err
 
24767
       } && test -s conftest.$ac_objext; then
24802
24768
  ac_lo=$ac_mid; break
24803
24769
else
24804
24770
  echo "$as_me: failed program was:" >&5
24805
24771
sed 's/^/| /' conftest.$ac_ext >&5
24806
24772
 
24807
 
ac_hi=`expr '(' $ac_mid ')' - 1`
24808
 
                       if test $ac_mid -le $ac_hi; then
24809
 
                         ac_lo= ac_hi=
24810
 
                         break
24811
 
                       fi
24812
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
24773
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
24774
                        if test $ac_mid -le $ac_hi; then
 
24775
                          ac_lo= ac_hi=
 
24776
                          break
 
24777
                        fi
 
24778
                        ac_mid=`expr 2 '*' $ac_mid`
24813
24779
fi
24814
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24780
 
 
24781
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24815
24782
  done
24816
24783
else
24817
24784
  echo "$as_me: failed program was:" >&5
24818
24785
sed 's/^/| /' conftest.$ac_ext >&5
24819
24786
 
24820
 
ac_lo= ac_hi=
24821
 
fi
24822
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24823
 
fi
24824
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24787
        ac_lo= ac_hi=
 
24788
fi
 
24789
 
 
24790
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24791
fi
 
24792
 
 
24793
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24825
24794
# Binary search between lo and hi bounds.
24826
24795
while test "x$ac_lo" != "x$ac_hi"; do
24827
24796
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24832
24801
cat >>conftest.$ac_ext <<_ACEOF
24833
24802
/* end confdefs.h.  */
24834
24803
$ac_includes_default
 
24804
   typedef unsigned __int64 ac__type_sizeof_;
24835
24805
int
24836
24806
main ()
24837
24807
{
24838
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned __int64))) <= $ac_mid)];
 
24808
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24839
24809
test_array [0] = 0
24840
24810
 
24841
24811
  ;
24843
24813
}
24844
24814
_ACEOF
24845
24815
rm -f conftest.$ac_objext
24846
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24847
 
  (eval $ac_compile) 2>conftest.er1
 
24816
if { (ac_try="$ac_compile"
 
24817
case "(($ac_try" in
 
24818
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24819
  *) ac_try_echo=$ac_try;;
 
24820
esac
 
24821
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24822
  (eval "$ac_compile") 2>conftest.er1
24848
24823
  ac_status=$?
24849
24824
  grep -v '^ *+' conftest.er1 >conftest.err
24850
24825
  rm -f conftest.er1
24851
24826
  cat conftest.err >&5
24852
24827
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24853
 
  (exit $ac_status); } &&
24854
 
         { ac_try='test -z "$ac_cxx_werror_flag"
24855
 
                         || test ! -s conftest.err'
24856
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24857
 
  (eval $ac_try) 2>&5
24858
 
  ac_status=$?
24859
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24860
 
  (exit $ac_status); }; } &&
24861
 
         { ac_try='test -s conftest.$ac_objext'
24862
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24863
 
  (eval $ac_try) 2>&5
24864
 
  ac_status=$?
24865
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24866
 
  (exit $ac_status); }; }; then
 
24828
  (exit $ac_status); } && {
 
24829
         test -z "$ac_cxx_werror_flag" ||
 
24830
         test ! -s conftest.err
 
24831
       } && test -s conftest.$ac_objext; then
24867
24832
  ac_hi=$ac_mid
24868
24833
else
24869
24834
  echo "$as_me: failed program was:" >&5
24870
24835
sed 's/^/| /' conftest.$ac_ext >&5
24871
24836
 
24872
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
24837
        ac_lo=`expr '(' $ac_mid ')' + 1`
24873
24838
fi
24874
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24839
 
 
24840
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24875
24841
done
24876
24842
case $ac_lo in
24877
24843
?*) ac_cv_sizeof_unsigned___int64=$ac_lo;;
24878
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned __int64), 77
 
24844
'') if test "$ac_cv_type_unsigned___int64" = yes; then
 
24845
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned __int64)
24879
24846
See \`config.log' for more details." >&5
24880
 
echo "$as_me: error: cannot compute sizeof (unsigned __int64), 77
 
24847
echo "$as_me: error: cannot compute sizeof (unsigned __int64)
24881
24848
See \`config.log' for more details." >&2;}
24882
 
   { (exit 1); exit 1; }; } ;;
 
24849
   { (exit 77); exit 77; }; }
 
24850
   else
 
24851
     ac_cv_sizeof_unsigned___int64=0
 
24852
   fi ;;
24883
24853
esac
24884
24854
else
24885
 
  if test "$cross_compiling" = yes; then
24886
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
24887
 
See \`config.log' for more details." >&5
24888
 
echo "$as_me: error: cannot run test program while cross compiling
24889
 
See \`config.log' for more details." >&2;}
24890
 
   { (exit 1); exit 1; }; }
24891
 
else
24892
24855
  cat >conftest.$ac_ext <<_ACEOF
24893
24856
/* confdefs.h.  */
24894
24857
_ACEOF
24896
24859
cat >>conftest.$ac_ext <<_ACEOF
24897
24860
/* end confdefs.h.  */
24898
24861
$ac_includes_default
24899
 
long longval () { return (long) (sizeof (unsigned __int64)); }
24900
 
unsigned long ulongval () { return (long) (sizeof (unsigned __int64)); }
 
24862
   typedef unsigned __int64 ac__type_sizeof_;
 
24863
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
24864
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24901
24865
#include <stdio.h>
24902
24866
#include <stdlib.h>
24903
24867
int
24906
24870
 
24907
24871
  FILE *f = fopen ("conftest.val", "w");
24908
24872
  if (! f)
24909
 
    exit (1);
24910
 
  if (((long) (sizeof (unsigned __int64))) < 0)
 
24873
    return 1;
 
24874
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24911
24875
    {
24912
 
      long i = longval ();
24913
 
      if (i != ((long) (sizeof (unsigned __int64))))
24914
 
        exit (1);
 
24876
      long int i = longval ();
 
24877
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
24878
        return 1;
24915
24879
      fprintf (f, "%ld\n", i);
24916
24880
    }
24917
24881
  else
24918
24882
    {
24919
 
      unsigned long i = ulongval ();
24920
 
      if (i != ((long) (sizeof (unsigned __int64))))
24921
 
        exit (1);
 
24883
      unsigned long int i = ulongval ();
 
24884
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
24885
        return 1;
24922
24886
      fprintf (f, "%lu\n", i);
24923
24887
    }
24924
 
  exit (ferror (f) || fclose (f) != 0);
 
24888
  return ferror (f) || fclose (f) != 0;
24925
24889
 
24926
24890
  ;
24927
24891
  return 0;
24928
24892
}
24929
24893
_ACEOF
24930
24894
rm -f conftest$ac_exeext
24931
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24932
 
  (eval $ac_link) 2>&5
 
24895
if { (ac_try="$ac_link"
 
24896
case "(($ac_try" in
 
24897
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24898
  *) ac_try_echo=$ac_try;;
 
24899
esac
 
24900
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24901
  (eval "$ac_link") 2>&5
24933
24902
  ac_status=$?
24934
24903
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24935
24904
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24936
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24937
 
  (eval $ac_try) 2>&5
 
24905
  { (case "(($ac_try" in
 
24906
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24907
  *) ac_try_echo=$ac_try;;
 
24908
esac
 
24909
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24910
  (eval "$ac_try") 2>&5
24938
24911
  ac_status=$?
24939
24912
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24940
24913
  (exit $ac_status); }; }; then
24945
24918
sed 's/^/| /' conftest.$ac_ext >&5
24946
24919
 
24947
24920
( exit $ac_status )
24948
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned __int64), 77
 
24921
if test "$ac_cv_type_unsigned___int64" = yes; then
 
24922
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned __int64)
24949
24923
See \`config.log' for more details." >&5
24950
 
echo "$as_me: error: cannot compute sizeof (unsigned __int64), 77
 
24924
echo "$as_me: error: cannot compute sizeof (unsigned __int64)
24951
24925
See \`config.log' for more details." >&2;}
24952
 
   { (exit 1); exit 1; }; }
24953
 
fi
24954
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24955
 
fi
 
24926
   { (exit 77); exit 77; }; }
 
24927
   else
 
24928
     ac_cv_sizeof_unsigned___int64=0
 
24929
   fi
 
24930
fi
 
24931
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24956
24932
fi
24957
24933
rm -f conftest.val
24958
 
else
24959
 
  ac_cv_sizeof_unsigned___int64=0
24960
 
fi
24961
 
fi
24962
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned___int64" >&5
24963
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned___int64" >&6
 
24934
fi
 
24935
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned___int64" >&5
 
24936
echo "${ECHO_T}$ac_cv_sizeof_unsigned___int64" >&6; }
 
24937
 
 
24938
 
 
24939
 
24964
24940
cat >>confdefs.h <<_ACEOF
24965
24941
#define SIZEOF_UNSIGNED___INT64 $ac_cv_sizeof_unsigned___int64
24966
24942
_ACEOF
24972
24948
  fi
24973
24949
 
24974
24950
 
24975
 
  echo "$as_me:$LINENO: checking for unsigned long" >&5
24976
 
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6
 
24951
  { echo "$as_me:$LINENO: checking for unsigned long" >&5
 
24952
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6; }
24977
24953
if test "${ac_cv_type_unsigned_long+set}" = set; then
24978
24954
  echo $ECHO_N "(cached) $ECHO_C" >&6
24979
24955
else
24984
24960
cat >>conftest.$ac_ext <<_ACEOF
24985
24961
/* end confdefs.h.  */
24986
24962
$ac_includes_default
 
24963
typedef unsigned long ac__type_new_;
24987
24964
int
24988
24965
main ()
24989
24966
{
24990
 
if ((unsigned long *) 0)
 
24967
if ((ac__type_new_ *) 0)
24991
24968
  return 0;
24992
 
if (sizeof (unsigned long))
 
24969
if (sizeof (ac__type_new_))
24993
24970
  return 0;
24994
24971
  ;
24995
24972
  return 0;
24996
24973
}
24997
24974
_ACEOF
24998
24975
rm -f conftest.$ac_objext
24999
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25000
 
  (eval $ac_compile) 2>conftest.er1
 
24976
if { (ac_try="$ac_compile"
 
24977
case "(($ac_try" in
 
24978
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24979
  *) ac_try_echo=$ac_try;;
 
24980
esac
 
24981
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24982
  (eval "$ac_compile") 2>conftest.er1
25001
24983
  ac_status=$?
25002
24984
  grep -v '^ *+' conftest.er1 >conftest.err
25003
24985
  rm -f conftest.er1
25004
24986
  cat conftest.err >&5
25005
24987
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25006
 
  (exit $ac_status); } &&
25007
 
         { ac_try='test -z "$ac_cxx_werror_flag"
25008
 
                         || test ! -s conftest.err'
25009
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25010
 
  (eval $ac_try) 2>&5
25011
 
  ac_status=$?
25012
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25013
 
  (exit $ac_status); }; } &&
25014
 
         { ac_try='test -s conftest.$ac_objext'
25015
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25016
 
  (eval $ac_try) 2>&5
25017
 
  ac_status=$?
25018
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25019
 
  (exit $ac_status); }; }; then
 
24988
  (exit $ac_status); } && {
 
24989
         test -z "$ac_cxx_werror_flag" ||
 
24990
         test ! -s conftest.err
 
24991
       } && test -s conftest.$ac_objext; then
25020
24992
  ac_cv_type_unsigned_long=yes
25021
24993
else
25022
24994
  echo "$as_me: failed program was:" >&5
25023
24995
sed 's/^/| /' conftest.$ac_ext >&5
25024
24996
 
25025
 
ac_cv_type_unsigned_long=no
25026
 
fi
25027
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25028
 
fi
25029
 
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
25030
 
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6
25031
 
 
25032
 
echo "$as_me:$LINENO: checking size of unsigned long" >&5
25033
 
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6
 
24997
        ac_cv_type_unsigned_long=no
 
24998
fi
 
24999
 
 
25000
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
25001
fi
 
25002
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
 
25003
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
 
25004
 
 
25005
# The cast to long int works around a bug in the HP C Compiler
 
25006
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
25007
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
25008
# This bug is HP SR number 8606223364.
 
25009
{ echo "$as_me:$LINENO: checking size of unsigned long" >&5
 
25010
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6; }
25034
25011
if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
25035
25012
  echo $ECHO_N "(cached) $ECHO_C" >&6
25036
25013
else
25037
 
  if test "$ac_cv_type_unsigned_long" = yes; then
25038
 
  # The cast to unsigned long works around a bug in the HP C Compiler
25039
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25040
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25041
 
  # This bug is HP SR number 8606223364.
25042
25014
  if test "$cross_compiling" = yes; then
25043
25015
  # Depending upon the size, compute the lo and hi bounds.
25044
25016
cat >conftest.$ac_ext <<_ACEOF
25048
25020
cat >>conftest.$ac_ext <<_ACEOF
25049
25021
/* end confdefs.h.  */
25050
25022
$ac_includes_default
 
25023
   typedef unsigned long ac__type_sizeof_;
25051
25024
int
25052
25025
main ()
25053
25026
{
25054
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= 0)];
 
25027
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25055
25028
test_array [0] = 0
25056
25029
 
25057
25030
  ;
25059
25032
}
25060
25033
_ACEOF
25061
25034
rm -f conftest.$ac_objext
25062
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25063
 
  (eval $ac_compile) 2>conftest.er1
 
25035
if { (ac_try="$ac_compile"
 
25036
case "(($ac_try" in
 
25037
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25038
  *) ac_try_echo=$ac_try;;
 
25039
esac
 
25040
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25041
  (eval "$ac_compile") 2>conftest.er1
25064
25042
  ac_status=$?
25065
25043
  grep -v '^ *+' conftest.er1 >conftest.err
25066
25044
  rm -f conftest.er1
25067
25045
  cat conftest.err >&5
25068
25046
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25069
 
  (exit $ac_status); } &&
25070
 
         { ac_try='test -z "$ac_cxx_werror_flag"
25071
 
                         || test ! -s conftest.err'
25072
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25073
 
  (eval $ac_try) 2>&5
25074
 
  ac_status=$?
25075
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25076
 
  (exit $ac_status); }; } &&
25077
 
         { ac_try='test -s conftest.$ac_objext'
25078
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25079
 
  (eval $ac_try) 2>&5
25080
 
  ac_status=$?
25081
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25082
 
  (exit $ac_status); }; }; then
 
25047
  (exit $ac_status); } && {
 
25048
         test -z "$ac_cxx_werror_flag" ||
 
25049
         test ! -s conftest.err
 
25050
       } && test -s conftest.$ac_objext; then
25083
25051
  ac_lo=0 ac_mid=0
25084
25052
  while :; do
25085
25053
    cat >conftest.$ac_ext <<_ACEOF
25089
25057
cat >>conftest.$ac_ext <<_ACEOF
25090
25058
/* end confdefs.h.  */
25091
25059
$ac_includes_default
 
25060
   typedef unsigned long ac__type_sizeof_;
25092
25061
int
25093
25062
main ()
25094
25063
{
25095
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
 
25064
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25096
25065
test_array [0] = 0
25097
25066
 
25098
25067
  ;
25100
25069
}
25101
25070
_ACEOF
25102
25071
rm -f conftest.$ac_objext
25103
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25104
 
  (eval $ac_compile) 2>conftest.er1
 
25072
if { (ac_try="$ac_compile"
 
25073
case "(($ac_try" in
 
25074
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25075
  *) ac_try_echo=$ac_try;;
 
25076
esac
 
25077
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25078
  (eval "$ac_compile") 2>conftest.er1
25105
25079
  ac_status=$?
25106
25080
  grep -v '^ *+' conftest.er1 >conftest.err
25107
25081
  rm -f conftest.er1
25108
25082
  cat conftest.err >&5
25109
25083
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25110
 
  (exit $ac_status); } &&
25111
 
         { ac_try='test -z "$ac_cxx_werror_flag"
25112
 
                         || test ! -s conftest.err'
25113
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25114
 
  (eval $ac_try) 2>&5
25115
 
  ac_status=$?
25116
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25117
 
  (exit $ac_status); }; } &&
25118
 
         { ac_try='test -s conftest.$ac_objext'
25119
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25120
 
  (eval $ac_try) 2>&5
25121
 
  ac_status=$?
25122
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25123
 
  (exit $ac_status); }; }; then
 
25084
  (exit $ac_status); } && {
 
25085
         test -z "$ac_cxx_werror_flag" ||
 
25086
         test ! -s conftest.err
 
25087
       } && test -s conftest.$ac_objext; then
25124
25088
  ac_hi=$ac_mid; break
25125
25089
else
25126
25090
  echo "$as_me: failed program was:" >&5
25127
25091
sed 's/^/| /' conftest.$ac_ext >&5
25128
25092
 
25129
 
ac_lo=`expr $ac_mid + 1`
25130
 
                    if test $ac_lo -le $ac_mid; then
25131
 
                      ac_lo= ac_hi=
25132
 
                      break
25133
 
                    fi
25134
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
25093
        ac_lo=`expr $ac_mid + 1`
 
25094
                        if test $ac_lo -le $ac_mid; then
 
25095
                          ac_lo= ac_hi=
 
25096
                          break
 
25097
                        fi
 
25098
                        ac_mid=`expr 2 '*' $ac_mid + 1`
25135
25099
fi
25136
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25100
 
 
25101
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25137
25102
  done
25138
25103
else
25139
25104
  echo "$as_me: failed program was:" >&5
25140
25105
sed 's/^/| /' conftest.$ac_ext >&5
25141
25106
 
25142
 
cat >conftest.$ac_ext <<_ACEOF
 
25107
        cat >conftest.$ac_ext <<_ACEOF
25143
25108
/* confdefs.h.  */
25144
25109
_ACEOF
25145
25110
cat confdefs.h >>conftest.$ac_ext
25146
25111
cat >>conftest.$ac_ext <<_ACEOF
25147
25112
/* end confdefs.h.  */
25148
25113
$ac_includes_default
 
25114
   typedef unsigned long ac__type_sizeof_;
25149
25115
int
25150
25116
main ()
25151
25117
{
25152
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) < 0)];
 
25118
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25153
25119
test_array [0] = 0
25154
25120
 
25155
25121
  ;
25157
25123
}
25158
25124
_ACEOF
25159
25125
rm -f conftest.$ac_objext
25160
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25161
 
  (eval $ac_compile) 2>conftest.er1
 
25126
if { (ac_try="$ac_compile"
 
25127
case "(($ac_try" in
 
25128
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25129
  *) ac_try_echo=$ac_try;;
 
25130
esac
 
25131
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25132
  (eval "$ac_compile") 2>conftest.er1
25162
25133
  ac_status=$?
25163
25134
  grep -v '^ *+' conftest.er1 >conftest.err
25164
25135
  rm -f conftest.er1
25165
25136
  cat conftest.err >&5
25166
25137
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25167
 
  (exit $ac_status); } &&
25168
 
         { ac_try='test -z "$ac_cxx_werror_flag"
25169
 
                         || test ! -s conftest.err'
25170
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25171
 
  (eval $ac_try) 2>&5
25172
 
  ac_status=$?
25173
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25174
 
  (exit $ac_status); }; } &&
25175
 
         { ac_try='test -s conftest.$ac_objext'
25176
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25177
 
  (eval $ac_try) 2>&5
25178
 
  ac_status=$?
25179
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25180
 
  (exit $ac_status); }; }; then
 
25138
  (exit $ac_status); } && {
 
25139
         test -z "$ac_cxx_werror_flag" ||
 
25140
         test ! -s conftest.err
 
25141
       } && test -s conftest.$ac_objext; then
25181
25142
  ac_hi=-1 ac_mid=-1
25182
25143
  while :; do
25183
25144
    cat >conftest.$ac_ext <<_ACEOF
25187
25148
cat >>conftest.$ac_ext <<_ACEOF
25188
25149
/* end confdefs.h.  */
25189
25150
$ac_includes_default
 
25151
   typedef unsigned long ac__type_sizeof_;
25190
25152
int
25191
25153
main ()
25192
25154
{
25193
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= $ac_mid)];
 
25155
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25194
25156
test_array [0] = 0
25195
25157
 
25196
25158
  ;
25198
25160
}
25199
25161
_ACEOF
25200
25162
rm -f conftest.$ac_objext
25201
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25202
 
  (eval $ac_compile) 2>conftest.er1
 
25163
if { (ac_try="$ac_compile"
 
25164
case "(($ac_try" in
 
25165
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25166
  *) ac_try_echo=$ac_try;;
 
25167
esac
 
25168
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25169
  (eval "$ac_compile") 2>conftest.er1
25203
25170
  ac_status=$?
25204
25171
  grep -v '^ *+' conftest.er1 >conftest.err
25205
25172
  rm -f conftest.er1
25206
25173
  cat conftest.err >&5
25207
25174
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25208
 
  (exit $ac_status); } &&
25209
 
         { ac_try='test -z "$ac_cxx_werror_flag"
25210
 
                         || test ! -s conftest.err'
25211
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25212
 
  (eval $ac_try) 2>&5
25213
 
  ac_status=$?
25214
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25215
 
  (exit $ac_status); }; } &&
25216
 
         { ac_try='test -s conftest.$ac_objext'
25217
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25218
 
  (eval $ac_try) 2>&5
25219
 
  ac_status=$?
25220
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25221
 
  (exit $ac_status); }; }; then
 
25175
  (exit $ac_status); } && {
 
25176
         test -z "$ac_cxx_werror_flag" ||
 
25177
         test ! -s conftest.err
 
25178
       } && test -s conftest.$ac_objext; then
25222
25179
  ac_lo=$ac_mid; break
25223
25180
else
25224
25181
  echo "$as_me: failed program was:" >&5
25225
25182
sed 's/^/| /' conftest.$ac_ext >&5
25226
25183
 
25227
 
ac_hi=`expr '(' $ac_mid ')' - 1`
25228
 
                       if test $ac_mid -le $ac_hi; then
25229
 
                         ac_lo= ac_hi=
25230
 
                         break
25231
 
                       fi
25232
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
25184
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
25185
                        if test $ac_mid -le $ac_hi; then
 
25186
                          ac_lo= ac_hi=
 
25187
                          break
 
25188
                        fi
 
25189
                        ac_mid=`expr 2 '*' $ac_mid`
25233
25190
fi
25234
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25191
 
 
25192
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25235
25193
  done
25236
25194
else
25237
25195
  echo "$as_me: failed program was:" >&5
25238
25196
sed 's/^/| /' conftest.$ac_ext >&5
25239
25197
 
25240
 
ac_lo= ac_hi=
25241
 
fi
25242
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25243
 
fi
25244
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25198
        ac_lo= ac_hi=
 
25199
fi
 
25200
 
 
25201
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
25202
fi
 
25203
 
 
25204
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25245
25205
# Binary search between lo and hi bounds.
25246
25206
while test "x$ac_lo" != "x$ac_hi"; do
25247
25207
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25252
25212
cat >>conftest.$ac_ext <<_ACEOF
25253
25213
/* end confdefs.h.  */
25254
25214
$ac_includes_default
 
25215
   typedef unsigned long ac__type_sizeof_;
25255
25216
int
25256
25217
main ()
25257
25218
{
25258
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
 
25219
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25259
25220
test_array [0] = 0
25260
25221
 
25261
25222
  ;
25263
25224
}
25264
25225
_ACEOF
25265
25226
rm -f conftest.$ac_objext
25266
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25267
 
  (eval $ac_compile) 2>conftest.er1
 
25227
if { (ac_try="$ac_compile"
 
25228
case "(($ac_try" in
 
25229
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25230
  *) ac_try_echo=$ac_try;;
 
25231
esac
 
25232
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25233
  (eval "$ac_compile") 2>conftest.er1
25268
25234
  ac_status=$?
25269
25235
  grep -v '^ *+' conftest.er1 >conftest.err
25270
25236
  rm -f conftest.er1
25271
25237
  cat conftest.err >&5
25272
25238
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25273
 
  (exit $ac_status); } &&
25274
 
         { ac_try='test -z "$ac_cxx_werror_flag"
25275
 
                         || test ! -s conftest.err'
25276
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25277
 
  (eval $ac_try) 2>&5
25278
 
  ac_status=$?
25279
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25280
 
  (exit $ac_status); }; } &&
25281
 
         { ac_try='test -s conftest.$ac_objext'
25282
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25283
 
  (eval $ac_try) 2>&5
25284
 
  ac_status=$?
25285
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25286
 
  (exit $ac_status); }; }; then
 
25239
  (exit $ac_status); } && {
 
25240
         test -z "$ac_cxx_werror_flag" ||
 
25241
         test ! -s conftest.err
 
25242
       } && test -s conftest.$ac_objext; then
25287
25243
  ac_hi=$ac_mid
25288
25244
else
25289
25245
  echo "$as_me: failed program was:" >&5
25290
25246
sed 's/^/| /' conftest.$ac_ext >&5
25291
25247
 
25292
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
25248
        ac_lo=`expr '(' $ac_mid ')' + 1`
25293
25249
fi
25294
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25250
 
 
25251
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25295
25252
done
25296
25253
case $ac_lo in
25297
25254
?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
25298
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
 
25255
'') if test "$ac_cv_type_unsigned_long" = yes; then
 
25256
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
25299
25257
See \`config.log' for more details." >&5
25300
 
echo "$as_me: error: cannot compute sizeof (unsigned long), 77
 
25258
echo "$as_me: error: cannot compute sizeof (unsigned long)
25301
25259
See \`config.log' for more details." >&2;}
25302
 
   { (exit 1); exit 1; }; } ;;
 
25260
   { (exit 77); exit 77; }; }
 
25261
   else
 
25262
     ac_cv_sizeof_unsigned_long=0
 
25263
   fi ;;
25303
25264
esac
25304
25265
else
25305
 
  if test "$cross_compiling" = yes; then
25306
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25307
 
See \`config.log' for more details." >&5
25308
 
echo "$as_me: error: cannot run test program while cross compiling
25309
 
See \`config.log' for more details." >&2;}
25310
 
   { (exit 1); exit 1; }; }
25311
 
else
25312
25266
  cat >conftest.$ac_ext <<_ACEOF
25313
25267
/* confdefs.h.  */
25314
25268
_ACEOF
25316
25270
cat >>conftest.$ac_ext <<_ACEOF
25317
25271
/* end confdefs.h.  */
25318
25272
$ac_includes_default
25319
 
long longval () { return (long) (sizeof (unsigned long)); }
25320
 
unsigned long ulongval () { return (long) (sizeof (unsigned long)); }
 
25273
   typedef unsigned long ac__type_sizeof_;
 
25274
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
25275
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25321
25276
#include <stdio.h>
25322
25277
#include <stdlib.h>
25323
25278
int
25326
25281
 
25327
25282
  FILE *f = fopen ("conftest.val", "w");
25328
25283
  if (! f)
25329
 
    exit (1);
25330
 
  if (((long) (sizeof (unsigned long))) < 0)
 
25284
    return 1;
 
25285
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25331
25286
    {
25332
 
      long i = longval ();
25333
 
      if (i != ((long) (sizeof (unsigned long))))
25334
 
        exit (1);
 
25287
      long int i = longval ();
 
25288
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
25289
        return 1;
25335
25290
      fprintf (f, "%ld\n", i);
25336
25291
    }
25337
25292
  else
25338
25293
    {
25339
 
      unsigned long i = ulongval ();
25340
 
      if (i != ((long) (sizeof (unsigned long))))
25341
 
        exit (1);
 
25294
      unsigned long int i = ulongval ();
 
25295
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
25296
        return 1;
25342
25297
      fprintf (f, "%lu\n", i);
25343
25298
    }
25344
 
  exit (ferror (f) || fclose (f) != 0);
 
25299
  return ferror (f) || fclose (f) != 0;
25345
25300
 
25346
25301
  ;
25347
25302
  return 0;
25348
25303
}
25349
25304
_ACEOF
25350
25305
rm -f conftest$ac_exeext
25351
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25352
 
  (eval $ac_link) 2>&5
 
25306
if { (ac_try="$ac_link"
 
25307
case "(($ac_try" in
 
25308
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25309
  *) ac_try_echo=$ac_try;;
 
25310
esac
 
25311
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25312
  (eval "$ac_link") 2>&5
25353
25313
  ac_status=$?
25354
25314
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25355
25315
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25356
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25357
 
  (eval $ac_try) 2>&5
 
25316
  { (case "(($ac_try" in
 
25317
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25318
  *) ac_try_echo=$ac_try;;
 
25319
esac
 
25320
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25321
  (eval "$ac_try") 2>&5
25358
25322
  ac_status=$?
25359
25323
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25360
25324
  (exit $ac_status); }; }; then
25365
25329
sed 's/^/| /' conftest.$ac_ext >&5
25366
25330
 
25367
25331
( exit $ac_status )
25368
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
 
25332
if test "$ac_cv_type_unsigned_long" = yes; then
 
25333
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
25369
25334
See \`config.log' for more details." >&5
25370
 
echo "$as_me: error: cannot compute sizeof (unsigned long), 77
 
25335
echo "$as_me: error: cannot compute sizeof (unsigned long)
25371
25336
See \`config.log' for more details." >&2;}
25372
 
   { (exit 1); exit 1; }; }
25373
 
fi
25374
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25375
 
fi
 
25337
   { (exit 77); exit 77; }; }
 
25338
   else
 
25339
     ac_cv_sizeof_unsigned_long=0
 
25340
   fi
 
25341
fi
 
25342
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25376
25343
fi
25377
25344
rm -f conftest.val
25378
 
else
25379
 
  ac_cv_sizeof_unsigned_long=0
25380
 
fi
25381
 
fi
25382
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
25383
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6
 
25345
fi
 
25346
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
 
25347
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
 
25348
 
 
25349
 
 
25350
 
25384
25351
cat >>confdefs.h <<_ACEOF
25385
25352
#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
25386
25353
_ACEOF
25418
25385
 
25419
25386
 
25420
25387
 
25421
 
echo "$as_me:$LINENO: checking for uint32_t" >&5
25422
 
echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
 
25388
{ echo "$as_me:$LINENO: checking for uint32_t" >&5
 
25389
echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
25423
25390
if test "${ac_cv_type_uint32_t+set}" = set; then
25424
25391
  echo $ECHO_N "(cached) $ECHO_C" >&6
25425
25392
else
25430
25397
cat >>conftest.$ac_ext <<_ACEOF
25431
25398
/* end confdefs.h.  */
25432
25399
$ac_includes_default
 
25400
typedef uint32_t ac__type_new_;
25433
25401
int
25434
25402
main ()
25435
25403
{
25436
 
if ((uint32_t *) 0)
 
25404
if ((ac__type_new_ *) 0)
25437
25405
  return 0;
25438
 
if (sizeof (uint32_t))
 
25406
if (sizeof (ac__type_new_))
25439
25407
  return 0;
25440
25408
  ;
25441
25409
  return 0;
25442
25410
}
25443
25411
_ACEOF
25444
25412
rm -f conftest.$ac_objext
25445
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25446
 
  (eval $ac_compile) 2>conftest.er1
 
25413
if { (ac_try="$ac_compile"
 
25414
case "(($ac_try" in
 
25415
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25416
  *) ac_try_echo=$ac_try;;
 
25417
esac
 
25418
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25419
  (eval "$ac_compile") 2>conftest.er1
25447
25420
  ac_status=$?
25448
25421
  grep -v '^ *+' conftest.er1 >conftest.err
25449
25422
  rm -f conftest.er1
25450
25423
  cat conftest.err >&5
25451
25424
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25452
 
  (exit $ac_status); } &&
25453
 
         { ac_try='test -z "$ac_cxx_werror_flag"
25454
 
                         || test ! -s conftest.err'
25455
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25456
 
  (eval $ac_try) 2>&5
25457
 
  ac_status=$?
25458
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25459
 
  (exit $ac_status); }; } &&
25460
 
         { ac_try='test -s conftest.$ac_objext'
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); }; }; then
 
25425
  (exit $ac_status); } && {
 
25426
         test -z "$ac_cxx_werror_flag" ||
 
25427
         test ! -s conftest.err
 
25428
       } && test -s conftest.$ac_objext; then
25466
25429
  ac_cv_type_uint32_t=yes
25467
25430
else
25468
25431
  echo "$as_me: failed program was:" >&5
25469
25432
sed 's/^/| /' conftest.$ac_ext >&5
25470
25433
 
25471
 
ac_cv_type_uint32_t=no
25472
 
fi
25473
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25474
 
fi
25475
 
echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
25476
 
echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
 
25434
        ac_cv_type_uint32_t=no
 
25435
fi
 
25436
 
 
25437
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
25438
fi
 
25439
{ echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
 
25440
echo "${ECHO_T}$ac_cv_type_uint32_t" >&6; }
25477
25441
if test $ac_cv_type_uint32_t = yes; then
25478
25442
  :
25479
25443
else
25485
25449
  {
25486
25450
 
25487
25451
 
25488
 
  echo "$as_me:$LINENO: checking for unsigned int" >&5
25489
 
echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6
 
25452
  { echo "$as_me:$LINENO: checking for unsigned int" >&5
 
25453
echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6; }
25490
25454
if test "${ac_cv_type_unsigned_int+set}" = set; then
25491
25455
  echo $ECHO_N "(cached) $ECHO_C" >&6
25492
25456
else
25497
25461
cat >>conftest.$ac_ext <<_ACEOF
25498
25462
/* end confdefs.h.  */
25499
25463
$ac_includes_default
 
25464
typedef unsigned int ac__type_new_;
25500
25465
int
25501
25466
main ()
25502
25467
{
25503
 
if ((unsigned int *) 0)
 
25468
if ((ac__type_new_ *) 0)
25504
25469
  return 0;
25505
 
if (sizeof (unsigned int))
 
25470
if (sizeof (ac__type_new_))
25506
25471
  return 0;
25507
25472
  ;
25508
25473
  return 0;
25509
25474
}
25510
25475
_ACEOF
25511
25476
rm -f conftest.$ac_objext
25512
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25513
 
  (eval $ac_compile) 2>conftest.er1
 
25477
if { (ac_try="$ac_compile"
 
25478
case "(($ac_try" in
 
25479
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25480
  *) ac_try_echo=$ac_try;;
 
25481
esac
 
25482
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25483
  (eval "$ac_compile") 2>conftest.er1
25514
25484
  ac_status=$?
25515
25485
  grep -v '^ *+' conftest.er1 >conftest.err
25516
25486
  rm -f conftest.er1
25517
25487
  cat conftest.err >&5
25518
25488
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25519
 
  (exit $ac_status); } &&
25520
 
         { ac_try='test -z "$ac_cxx_werror_flag"
25521
 
                         || test ! -s conftest.err'
25522
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25523
 
  (eval $ac_try) 2>&5
25524
 
  ac_status=$?
25525
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526
 
  (exit $ac_status); }; } &&
25527
 
         { ac_try='test -s conftest.$ac_objext'
25528
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25529
 
  (eval $ac_try) 2>&5
25530
 
  ac_status=$?
25531
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25532
 
  (exit $ac_status); }; }; then
 
25489
  (exit $ac_status); } && {
 
25490
         test -z "$ac_cxx_werror_flag" ||
 
25491
         test ! -s conftest.err
 
25492
       } && test -s conftest.$ac_objext; then
25533
25493
  ac_cv_type_unsigned_int=yes
25534
25494
else
25535
25495
  echo "$as_me: failed program was:" >&5
25536
25496
sed 's/^/| /' conftest.$ac_ext >&5
25537
25497
 
25538
 
ac_cv_type_unsigned_int=no
25539
 
fi
25540
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25541
 
fi
25542
 
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5
25543
 
echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6
25544
 
 
25545
 
echo "$as_me:$LINENO: checking size of unsigned int" >&5
25546
 
echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6
 
25498
        ac_cv_type_unsigned_int=no
 
25499
fi
 
25500
 
 
25501
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
25502
fi
 
25503
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5
 
25504
echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6; }
 
25505
 
 
25506
# The cast to long int works around a bug in the HP C Compiler
 
25507
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
25508
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
25509
# This bug is HP SR number 8606223364.
 
25510
{ echo "$as_me:$LINENO: checking size of unsigned int" >&5
 
25511
echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6; }
25547
25512
if test "${ac_cv_sizeof_unsigned_int+set}" = set; then
25548
25513
  echo $ECHO_N "(cached) $ECHO_C" >&6
25549
25514
else
25550
 
  if test "$ac_cv_type_unsigned_int" = yes; then
25551
 
  # The cast to unsigned long works around a bug in the HP C Compiler
25552
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25553
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25554
 
  # This bug is HP SR number 8606223364.
25555
25515
  if test "$cross_compiling" = yes; then
25556
25516
  # Depending upon the size, compute the lo and hi bounds.
25557
25517
cat >conftest.$ac_ext <<_ACEOF
25561
25521
cat >>conftest.$ac_ext <<_ACEOF
25562
25522
/* end confdefs.h.  */
25563
25523
$ac_includes_default
 
25524
   typedef unsigned int ac__type_sizeof_;
25564
25525
int
25565
25526
main ()
25566
25527
{
25567
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) >= 0)];
 
25528
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25568
25529
test_array [0] = 0
25569
25530
 
25570
25531
  ;
25572
25533
}
25573
25534
_ACEOF
25574
25535
rm -f conftest.$ac_objext
25575
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25576
 
  (eval $ac_compile) 2>conftest.er1
 
25536
if { (ac_try="$ac_compile"
 
25537
case "(($ac_try" in
 
25538
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25539
  *) ac_try_echo=$ac_try;;
 
25540
esac
 
25541
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25542
  (eval "$ac_compile") 2>conftest.er1
25577
25543
  ac_status=$?
25578
25544
  grep -v '^ *+' conftest.er1 >conftest.err
25579
25545
  rm -f conftest.er1
25580
25546
  cat conftest.err >&5
25581
25547
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25582
 
  (exit $ac_status); } &&
25583
 
         { ac_try='test -z "$ac_cxx_werror_flag"
25584
 
                         || test ! -s conftest.err'
25585
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25586
 
  (eval $ac_try) 2>&5
25587
 
  ac_status=$?
25588
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25589
 
  (exit $ac_status); }; } &&
25590
 
         { ac_try='test -s conftest.$ac_objext'
25591
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25592
 
  (eval $ac_try) 2>&5
25593
 
  ac_status=$?
25594
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25595
 
  (exit $ac_status); }; }; then
 
25548
  (exit $ac_status); } && {
 
25549
         test -z "$ac_cxx_werror_flag" ||
 
25550
         test ! -s conftest.err
 
25551
       } && test -s conftest.$ac_objext; then
25596
25552
  ac_lo=0 ac_mid=0
25597
25553
  while :; do
25598
25554
    cat >conftest.$ac_ext <<_ACEOF
25602
25558
cat >>conftest.$ac_ext <<_ACEOF
25603
25559
/* end confdefs.h.  */
25604
25560
$ac_includes_default
 
25561
   typedef unsigned int ac__type_sizeof_;
25605
25562
int
25606
25563
main ()
25607
25564
{
25608
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) <= $ac_mid)];
 
25565
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25609
25566
test_array [0] = 0
25610
25567
 
25611
25568
  ;
25613
25570
}
25614
25571
_ACEOF
25615
25572
rm -f conftest.$ac_objext
25616
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25617
 
  (eval $ac_compile) 2>conftest.er1
 
25573
if { (ac_try="$ac_compile"
 
25574
case "(($ac_try" in
 
25575
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25576
  *) ac_try_echo=$ac_try;;
 
25577
esac
 
25578
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25579
  (eval "$ac_compile") 2>conftest.er1
25618
25580
  ac_status=$?
25619
25581
  grep -v '^ *+' conftest.er1 >conftest.err
25620
25582
  rm -f conftest.er1
25621
25583
  cat conftest.err >&5
25622
25584
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25623
 
  (exit $ac_status); } &&
25624
 
         { ac_try='test -z "$ac_cxx_werror_flag"
25625
 
                         || test ! -s conftest.err'
25626
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25627
 
  (eval $ac_try) 2>&5
25628
 
  ac_status=$?
25629
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25630
 
  (exit $ac_status); }; } &&
25631
 
         { ac_try='test -s conftest.$ac_objext'
25632
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25633
 
  (eval $ac_try) 2>&5
25634
 
  ac_status=$?
25635
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25636
 
  (exit $ac_status); }; }; then
 
25585
  (exit $ac_status); } && {
 
25586
         test -z "$ac_cxx_werror_flag" ||
 
25587
         test ! -s conftest.err
 
25588
       } && test -s conftest.$ac_objext; then
25637
25589
  ac_hi=$ac_mid; break
25638
25590
else
25639
25591
  echo "$as_me: failed program was:" >&5
25640
25592
sed 's/^/| /' conftest.$ac_ext >&5
25641
25593
 
25642
 
ac_lo=`expr $ac_mid + 1`
25643
 
                    if test $ac_lo -le $ac_mid; then
25644
 
                      ac_lo= ac_hi=
25645
 
                      break
25646
 
                    fi
25647
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
25594
        ac_lo=`expr $ac_mid + 1`
 
25595
                        if test $ac_lo -le $ac_mid; then
 
25596
                          ac_lo= ac_hi=
 
25597
                          break
 
25598
                        fi
 
25599
                        ac_mid=`expr 2 '*' $ac_mid + 1`
25648
25600
fi
25649
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25601
 
 
25602
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25650
25603
  done
25651
25604
else
25652
25605
  echo "$as_me: failed program was:" >&5
25653
25606
sed 's/^/| /' conftest.$ac_ext >&5
25654
25607
 
25655
 
cat >conftest.$ac_ext <<_ACEOF
 
25608
        cat >conftest.$ac_ext <<_ACEOF
25656
25609
/* confdefs.h.  */
25657
25610
_ACEOF
25658
25611
cat confdefs.h >>conftest.$ac_ext
25659
25612
cat >>conftest.$ac_ext <<_ACEOF
25660
25613
/* end confdefs.h.  */
25661
25614
$ac_includes_default
 
25615
   typedef unsigned int ac__type_sizeof_;
25662
25616
int
25663
25617
main ()
25664
25618
{
25665
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) < 0)];
 
25619
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25666
25620
test_array [0] = 0
25667
25621
 
25668
25622
  ;
25670
25624
}
25671
25625
_ACEOF
25672
25626
rm -f conftest.$ac_objext
25673
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25674
 
  (eval $ac_compile) 2>conftest.er1
 
25627
if { (ac_try="$ac_compile"
 
25628
case "(($ac_try" in
 
25629
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25630
  *) ac_try_echo=$ac_try;;
 
25631
esac
 
25632
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25633
  (eval "$ac_compile") 2>conftest.er1
25675
25634
  ac_status=$?
25676
25635
  grep -v '^ *+' conftest.er1 >conftest.err
25677
25636
  rm -f conftest.er1
25678
25637
  cat conftest.err >&5
25679
25638
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25680
 
  (exit $ac_status); } &&
25681
 
         { ac_try='test -z "$ac_cxx_werror_flag"
25682
 
                         || test ! -s conftest.err'
25683
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25684
 
  (eval $ac_try) 2>&5
25685
 
  ac_status=$?
25686
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25687
 
  (exit $ac_status); }; } &&
25688
 
         { ac_try='test -s conftest.$ac_objext'
25689
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25690
 
  (eval $ac_try) 2>&5
25691
 
  ac_status=$?
25692
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25693
 
  (exit $ac_status); }; }; then
 
25639
  (exit $ac_status); } && {
 
25640
         test -z "$ac_cxx_werror_flag" ||
 
25641
         test ! -s conftest.err
 
25642
       } && test -s conftest.$ac_objext; then
25694
25643
  ac_hi=-1 ac_mid=-1
25695
25644
  while :; do
25696
25645
    cat >conftest.$ac_ext <<_ACEOF
25700
25649
cat >>conftest.$ac_ext <<_ACEOF
25701
25650
/* end confdefs.h.  */
25702
25651
$ac_includes_default
 
25652
   typedef unsigned int ac__type_sizeof_;
25703
25653
int
25704
25654
main ()
25705
25655
{
25706
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) >= $ac_mid)];
 
25656
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25707
25657
test_array [0] = 0
25708
25658
 
25709
25659
  ;
25711
25661
}
25712
25662
_ACEOF
25713
25663
rm -f conftest.$ac_objext
25714
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25715
 
  (eval $ac_compile) 2>conftest.er1
 
25664
if { (ac_try="$ac_compile"
 
25665
case "(($ac_try" in
 
25666
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25667
  *) ac_try_echo=$ac_try;;
 
25668
esac
 
25669
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25670
  (eval "$ac_compile") 2>conftest.er1
25716
25671
  ac_status=$?
25717
25672
  grep -v '^ *+' conftest.er1 >conftest.err
25718
25673
  rm -f conftest.er1
25719
25674
  cat conftest.err >&5
25720
25675
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25721
 
  (exit $ac_status); } &&
25722
 
         { ac_try='test -z "$ac_cxx_werror_flag"
25723
 
                         || test ! -s conftest.err'
25724
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25725
 
  (eval $ac_try) 2>&5
25726
 
  ac_status=$?
25727
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25728
 
  (exit $ac_status); }; } &&
25729
 
         { ac_try='test -s conftest.$ac_objext'
25730
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25731
 
  (eval $ac_try) 2>&5
25732
 
  ac_status=$?
25733
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25734
 
  (exit $ac_status); }; }; then
 
25676
  (exit $ac_status); } && {
 
25677
         test -z "$ac_cxx_werror_flag" ||
 
25678
         test ! -s conftest.err
 
25679
       } && test -s conftest.$ac_objext; then
25735
25680
  ac_lo=$ac_mid; break
25736
25681
else
25737
25682
  echo "$as_me: failed program was:" >&5
25738
25683
sed 's/^/| /' conftest.$ac_ext >&5
25739
25684
 
25740
 
ac_hi=`expr '(' $ac_mid ')' - 1`
25741
 
                       if test $ac_mid -le $ac_hi; then
25742
 
                         ac_lo= ac_hi=
25743
 
                         break
25744
 
                       fi
25745
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
25685
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
25686
                        if test $ac_mid -le $ac_hi; then
 
25687
                          ac_lo= ac_hi=
 
25688
                          break
 
25689
                        fi
 
25690
                        ac_mid=`expr 2 '*' $ac_mid`
25746
25691
fi
25747
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25692
 
 
25693
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25748
25694
  done
25749
25695
else
25750
25696
  echo "$as_me: failed program was:" >&5
25751
25697
sed 's/^/| /' conftest.$ac_ext >&5
25752
25698
 
25753
 
ac_lo= ac_hi=
25754
 
fi
25755
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25756
 
fi
25757
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25699
        ac_lo= ac_hi=
 
25700
fi
 
25701
 
 
25702
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
25703
fi
 
25704
 
 
25705
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25758
25706
# Binary search between lo and hi bounds.
25759
25707
while test "x$ac_lo" != "x$ac_hi"; do
25760
25708
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25765
25713
cat >>conftest.$ac_ext <<_ACEOF
25766
25714
/* end confdefs.h.  */
25767
25715
$ac_includes_default
 
25716
   typedef unsigned int ac__type_sizeof_;
25768
25717
int
25769
25718
main ()
25770
25719
{
25771
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) <= $ac_mid)];
 
25720
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25772
25721
test_array [0] = 0
25773
25722
 
25774
25723
  ;
25776
25725
}
25777
25726
_ACEOF
25778
25727
rm -f conftest.$ac_objext
25779
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25780
 
  (eval $ac_compile) 2>conftest.er1
 
25728
if { (ac_try="$ac_compile"
 
25729
case "(($ac_try" in
 
25730
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25731
  *) ac_try_echo=$ac_try;;
 
25732
esac
 
25733
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25734
  (eval "$ac_compile") 2>conftest.er1
25781
25735
  ac_status=$?
25782
25736
  grep -v '^ *+' conftest.er1 >conftest.err
25783
25737
  rm -f conftest.er1
25784
25738
  cat conftest.err >&5
25785
25739
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25786
 
  (exit $ac_status); } &&
25787
 
         { ac_try='test -z "$ac_cxx_werror_flag"
25788
 
                         || test ! -s conftest.err'
25789
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25790
 
  (eval $ac_try) 2>&5
25791
 
  ac_status=$?
25792
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25793
 
  (exit $ac_status); }; } &&
25794
 
         { ac_try='test -s conftest.$ac_objext'
25795
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25796
 
  (eval $ac_try) 2>&5
25797
 
  ac_status=$?
25798
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25799
 
  (exit $ac_status); }; }; then
 
25740
  (exit $ac_status); } && {
 
25741
         test -z "$ac_cxx_werror_flag" ||
 
25742
         test ! -s conftest.err
 
25743
       } && test -s conftest.$ac_objext; then
25800
25744
  ac_hi=$ac_mid
25801
25745
else
25802
25746
  echo "$as_me: failed program was:" >&5
25803
25747
sed 's/^/| /' conftest.$ac_ext >&5
25804
25748
 
25805
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
25749
        ac_lo=`expr '(' $ac_mid ')' + 1`
25806
25750
fi
25807
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25751
 
 
25752
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25808
25753
done
25809
25754
case $ac_lo in
25810
25755
?*) ac_cv_sizeof_unsigned_int=$ac_lo;;
25811
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77
 
25756
'') if test "$ac_cv_type_unsigned_int" = yes; then
 
25757
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
25812
25758
See \`config.log' for more details." >&5
25813
 
echo "$as_me: error: cannot compute sizeof (unsigned int), 77
 
25759
echo "$as_me: error: cannot compute sizeof (unsigned int)
25814
25760
See \`config.log' for more details." >&2;}
25815
 
   { (exit 1); exit 1; }; } ;;
 
25761
   { (exit 77); exit 77; }; }
 
25762
   else
 
25763
     ac_cv_sizeof_unsigned_int=0
 
25764
   fi ;;
25816
25765
esac
25817
25766
else
25818
 
  if test "$cross_compiling" = yes; then
25819
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25820
 
See \`config.log' for more details." >&5
25821
 
echo "$as_me: error: cannot run test program while cross compiling
25822
 
See \`config.log' for more details." >&2;}
25823
 
   { (exit 1); exit 1; }; }
25824
 
else
25825
25767
  cat >conftest.$ac_ext <<_ACEOF
25826
25768
/* confdefs.h.  */
25827
25769
_ACEOF
25829
25771
cat >>conftest.$ac_ext <<_ACEOF
25830
25772
/* end confdefs.h.  */
25831
25773
$ac_includes_default
25832
 
long longval () { return (long) (sizeof (unsigned int)); }
25833
 
unsigned long ulongval () { return (long) (sizeof (unsigned int)); }
 
25774
   typedef unsigned int ac__type_sizeof_;
 
25775
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
25776
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25834
25777
#include <stdio.h>
25835
25778
#include <stdlib.h>
25836
25779
int
25839
25782
 
25840
25783
  FILE *f = fopen ("conftest.val", "w");
25841
25784
  if (! f)
25842
 
    exit (1);
25843
 
  if (((long) (sizeof (unsigned int))) < 0)
 
25785
    return 1;
 
25786
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25844
25787
    {
25845
 
      long i = longval ();
25846
 
      if (i != ((long) (sizeof (unsigned int))))
25847
 
        exit (1);
 
25788
      long int i = longval ();
 
25789
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
25790
        return 1;
25848
25791
      fprintf (f, "%ld\n", i);
25849
25792
    }
25850
25793
  else
25851
25794
    {
25852
 
      unsigned long i = ulongval ();
25853
 
      if (i != ((long) (sizeof (unsigned int))))
25854
 
        exit (1);
 
25795
      unsigned long int i = ulongval ();
 
25796
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
25797
        return 1;
25855
25798
      fprintf (f, "%lu\n", i);
25856
25799
    }
25857
 
  exit (ferror (f) || fclose (f) != 0);
 
25800
  return ferror (f) || fclose (f) != 0;
25858
25801
 
25859
25802
  ;
25860
25803
  return 0;
25861
25804
}
25862
25805
_ACEOF
25863
25806
rm -f conftest$ac_exeext
25864
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25865
 
  (eval $ac_link) 2>&5
 
25807
if { (ac_try="$ac_link"
 
25808
case "(($ac_try" in
 
25809
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25810
  *) ac_try_echo=$ac_try;;
 
25811
esac
 
25812
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25813
  (eval "$ac_link") 2>&5
25866
25814
  ac_status=$?
25867
25815
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25868
25816
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25869
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25870
 
  (eval $ac_try) 2>&5
 
25817
  { (case "(($ac_try" in
 
25818
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25819
  *) ac_try_echo=$ac_try;;
 
25820
esac
 
25821
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25822
  (eval "$ac_try") 2>&5
25871
25823
  ac_status=$?
25872
25824
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25873
25825
  (exit $ac_status); }; }; then
25878
25830
sed 's/^/| /' conftest.$ac_ext >&5
25879
25831
 
25880
25832
( exit $ac_status )
25881
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77
 
25833
if test "$ac_cv_type_unsigned_int" = yes; then
 
25834
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
25882
25835
See \`config.log' for more details." >&5
25883
 
echo "$as_me: error: cannot compute sizeof (unsigned int), 77
 
25836
echo "$as_me: error: cannot compute sizeof (unsigned int)
25884
25837
See \`config.log' for more details." >&2;}
25885
 
   { (exit 1); exit 1; }; }
25886
 
fi
25887
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25888
 
fi
 
25838
   { (exit 77); exit 77; }; }
 
25839
   else
 
25840
     ac_cv_sizeof_unsigned_int=0
 
25841
   fi
 
25842
fi
 
25843
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25889
25844
fi
25890
25845
rm -f conftest.val
25891
 
else
25892
 
  ac_cv_sizeof_unsigned_int=0
25893
 
fi
25894
 
fi
25895
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
25896
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6
 
25846
fi
 
25847
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
 
25848
echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6; }
 
25849
 
 
25850
 
 
25851
 
25897
25852
cat >>confdefs.h <<_ACEOF
25898
25853
#define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
25899
25854
_ACEOF
25905
25860
  fi
25906
25861
 
25907
25862
 
25908
 
  echo "$as_me:$LINENO: checking for unsigned long" >&5
25909
 
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6
 
25863
  { echo "$as_me:$LINENO: checking for unsigned long" >&5
 
25864
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6; }
25910
25865
if test "${ac_cv_type_unsigned_long+set}" = set; then
25911
25866
  echo $ECHO_N "(cached) $ECHO_C" >&6
25912
25867
else
25917
25872
cat >>conftest.$ac_ext <<_ACEOF
25918
25873
/* end confdefs.h.  */
25919
25874
$ac_includes_default
 
25875
typedef unsigned long ac__type_new_;
25920
25876
int
25921
25877
main ()
25922
25878
{
25923
 
if ((unsigned long *) 0)
 
25879
if ((ac__type_new_ *) 0)
25924
25880
  return 0;
25925
 
if (sizeof (unsigned long))
 
25881
if (sizeof (ac__type_new_))
25926
25882
  return 0;
25927
25883
  ;
25928
25884
  return 0;
25929
25885
}
25930
25886
_ACEOF
25931
25887
rm -f conftest.$ac_objext
25932
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25933
 
  (eval $ac_compile) 2>conftest.er1
 
25888
if { (ac_try="$ac_compile"
 
25889
case "(($ac_try" in
 
25890
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25891
  *) ac_try_echo=$ac_try;;
 
25892
esac
 
25893
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25894
  (eval "$ac_compile") 2>conftest.er1
25934
25895
  ac_status=$?
25935
25896
  grep -v '^ *+' conftest.er1 >conftest.err
25936
25897
  rm -f conftest.er1
25937
25898
  cat conftest.err >&5
25938
25899
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25939
 
  (exit $ac_status); } &&
25940
 
         { ac_try='test -z "$ac_cxx_werror_flag"
25941
 
                         || test ! -s conftest.err'
25942
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25943
 
  (eval $ac_try) 2>&5
25944
 
  ac_status=$?
25945
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25946
 
  (exit $ac_status); }; } &&
25947
 
         { ac_try='test -s conftest.$ac_objext'
25948
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25949
 
  (eval $ac_try) 2>&5
25950
 
  ac_status=$?
25951
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25952
 
  (exit $ac_status); }; }; then
 
25900
  (exit $ac_status); } && {
 
25901
         test -z "$ac_cxx_werror_flag" ||
 
25902
         test ! -s conftest.err
 
25903
       } && test -s conftest.$ac_objext; then
25953
25904
  ac_cv_type_unsigned_long=yes
25954
25905
else
25955
25906
  echo "$as_me: failed program was:" >&5
25956
25907
sed 's/^/| /' conftest.$ac_ext >&5
25957
25908
 
25958
 
ac_cv_type_unsigned_long=no
25959
 
fi
25960
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25961
 
fi
25962
 
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
25963
 
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6
25964
 
 
25965
 
echo "$as_me:$LINENO: checking size of unsigned long" >&5
25966
 
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6
 
25909
        ac_cv_type_unsigned_long=no
 
25910
fi
 
25911
 
 
25912
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
25913
fi
 
25914
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
 
25915
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
 
25916
 
 
25917
# The cast to long int works around a bug in the HP C Compiler
 
25918
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
25919
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
25920
# This bug is HP SR number 8606223364.
 
25921
{ echo "$as_me:$LINENO: checking size of unsigned long" >&5
 
25922
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6; }
25967
25923
if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
25968
25924
  echo $ECHO_N "(cached) $ECHO_C" >&6
25969
25925
else
25970
 
  if test "$ac_cv_type_unsigned_long" = yes; then
25971
 
  # The cast to unsigned long works around a bug in the HP C Compiler
25972
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25973
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25974
 
  # This bug is HP SR number 8606223364.
25975
25926
  if test "$cross_compiling" = yes; then
25976
25927
  # Depending upon the size, compute the lo and hi bounds.
25977
25928
cat >conftest.$ac_ext <<_ACEOF
25981
25932
cat >>conftest.$ac_ext <<_ACEOF
25982
25933
/* end confdefs.h.  */
25983
25934
$ac_includes_default
 
25935
   typedef unsigned long ac__type_sizeof_;
25984
25936
int
25985
25937
main ()
25986
25938
{
25987
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= 0)];
 
25939
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25988
25940
test_array [0] = 0
25989
25941
 
25990
25942
  ;
25992
25944
}
25993
25945
_ACEOF
25994
25946
rm -f conftest.$ac_objext
25995
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25996
 
  (eval $ac_compile) 2>conftest.er1
 
25947
if { (ac_try="$ac_compile"
 
25948
case "(($ac_try" in
 
25949
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25950
  *) ac_try_echo=$ac_try;;
 
25951
esac
 
25952
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25953
  (eval "$ac_compile") 2>conftest.er1
25997
25954
  ac_status=$?
25998
25955
  grep -v '^ *+' conftest.er1 >conftest.err
25999
25956
  rm -f conftest.er1
26000
25957
  cat conftest.err >&5
26001
25958
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26002
 
  (exit $ac_status); } &&
26003
 
         { ac_try='test -z "$ac_cxx_werror_flag"
26004
 
                         || test ! -s conftest.err'
26005
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26006
 
  (eval $ac_try) 2>&5
26007
 
  ac_status=$?
26008
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26009
 
  (exit $ac_status); }; } &&
26010
 
         { ac_try='test -s conftest.$ac_objext'
26011
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26012
 
  (eval $ac_try) 2>&5
26013
 
  ac_status=$?
26014
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26015
 
  (exit $ac_status); }; }; then
 
25959
  (exit $ac_status); } && {
 
25960
         test -z "$ac_cxx_werror_flag" ||
 
25961
         test ! -s conftest.err
 
25962
       } && test -s conftest.$ac_objext; then
26016
25963
  ac_lo=0 ac_mid=0
26017
25964
  while :; do
26018
25965
    cat >conftest.$ac_ext <<_ACEOF
26022
25969
cat >>conftest.$ac_ext <<_ACEOF
26023
25970
/* end confdefs.h.  */
26024
25971
$ac_includes_default
 
25972
   typedef unsigned long ac__type_sizeof_;
26025
25973
int
26026
25974
main ()
26027
25975
{
26028
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
 
25976
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26029
25977
test_array [0] = 0
26030
25978
 
26031
25979
  ;
26033
25981
}
26034
25982
_ACEOF
26035
25983
rm -f conftest.$ac_objext
26036
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26037
 
  (eval $ac_compile) 2>conftest.er1
 
25984
if { (ac_try="$ac_compile"
 
25985
case "(($ac_try" in
 
25986
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25987
  *) ac_try_echo=$ac_try;;
 
25988
esac
 
25989
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25990
  (eval "$ac_compile") 2>conftest.er1
26038
25991
  ac_status=$?
26039
25992
  grep -v '^ *+' conftest.er1 >conftest.err
26040
25993
  rm -f conftest.er1
26041
25994
  cat conftest.err >&5
26042
25995
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26043
 
  (exit $ac_status); } &&
26044
 
         { ac_try='test -z "$ac_cxx_werror_flag"
26045
 
                         || test ! -s conftest.err'
26046
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26047
 
  (eval $ac_try) 2>&5
26048
 
  ac_status=$?
26049
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26050
 
  (exit $ac_status); }; } &&
26051
 
         { ac_try='test -s conftest.$ac_objext'
26052
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26053
 
  (eval $ac_try) 2>&5
26054
 
  ac_status=$?
26055
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26056
 
  (exit $ac_status); }; }; then
 
25996
  (exit $ac_status); } && {
 
25997
         test -z "$ac_cxx_werror_flag" ||
 
25998
         test ! -s conftest.err
 
25999
       } && test -s conftest.$ac_objext; then
26057
26000
  ac_hi=$ac_mid; break
26058
26001
else
26059
26002
  echo "$as_me: failed program was:" >&5
26060
26003
sed 's/^/| /' conftest.$ac_ext >&5
26061
26004
 
26062
 
ac_lo=`expr $ac_mid + 1`
26063
 
                    if test $ac_lo -le $ac_mid; then
26064
 
                      ac_lo= ac_hi=
26065
 
                      break
26066
 
                    fi
26067
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
26005
        ac_lo=`expr $ac_mid + 1`
 
26006
                        if test $ac_lo -le $ac_mid; then
 
26007
                          ac_lo= ac_hi=
 
26008
                          break
 
26009
                        fi
 
26010
                        ac_mid=`expr 2 '*' $ac_mid + 1`
26068
26011
fi
26069
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
26012
 
 
26013
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26070
26014
  done
26071
26015
else
26072
26016
  echo "$as_me: failed program was:" >&5
26073
26017
sed 's/^/| /' conftest.$ac_ext >&5
26074
26018
 
26075
 
cat >conftest.$ac_ext <<_ACEOF
 
26019
        cat >conftest.$ac_ext <<_ACEOF
26076
26020
/* confdefs.h.  */
26077
26021
_ACEOF
26078
26022
cat confdefs.h >>conftest.$ac_ext
26079
26023
cat >>conftest.$ac_ext <<_ACEOF
26080
26024
/* end confdefs.h.  */
26081
26025
$ac_includes_default
 
26026
   typedef unsigned long ac__type_sizeof_;
26082
26027
int
26083
26028
main ()
26084
26029
{
26085
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) < 0)];
 
26030
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26086
26031
test_array [0] = 0
26087
26032
 
26088
26033
  ;
26090
26035
}
26091
26036
_ACEOF
26092
26037
rm -f conftest.$ac_objext
26093
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26094
 
  (eval $ac_compile) 2>conftest.er1
 
26038
if { (ac_try="$ac_compile"
 
26039
case "(($ac_try" in
 
26040
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26041
  *) ac_try_echo=$ac_try;;
 
26042
esac
 
26043
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26044
  (eval "$ac_compile") 2>conftest.er1
26095
26045
  ac_status=$?
26096
26046
  grep -v '^ *+' conftest.er1 >conftest.err
26097
26047
  rm -f conftest.er1
26098
26048
  cat conftest.err >&5
26099
26049
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26100
 
  (exit $ac_status); } &&
26101
 
         { ac_try='test -z "$ac_cxx_werror_flag"
26102
 
                         || test ! -s conftest.err'
26103
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26104
 
  (eval $ac_try) 2>&5
26105
 
  ac_status=$?
26106
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26107
 
  (exit $ac_status); }; } &&
26108
 
         { ac_try='test -s conftest.$ac_objext'
26109
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26110
 
  (eval $ac_try) 2>&5
26111
 
  ac_status=$?
26112
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26113
 
  (exit $ac_status); }; }; then
 
26050
  (exit $ac_status); } && {
 
26051
         test -z "$ac_cxx_werror_flag" ||
 
26052
         test ! -s conftest.err
 
26053
       } && test -s conftest.$ac_objext; then
26114
26054
  ac_hi=-1 ac_mid=-1
26115
26055
  while :; do
26116
26056
    cat >conftest.$ac_ext <<_ACEOF
26120
26060
cat >>conftest.$ac_ext <<_ACEOF
26121
26061
/* end confdefs.h.  */
26122
26062
$ac_includes_default
 
26063
   typedef unsigned long ac__type_sizeof_;
26123
26064
int
26124
26065
main ()
26125
26066
{
26126
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= $ac_mid)];
 
26067
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26127
26068
test_array [0] = 0
26128
26069
 
26129
26070
  ;
26131
26072
}
26132
26073
_ACEOF
26133
26074
rm -f conftest.$ac_objext
26134
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26135
 
  (eval $ac_compile) 2>conftest.er1
 
26075
if { (ac_try="$ac_compile"
 
26076
case "(($ac_try" in
 
26077
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26078
  *) ac_try_echo=$ac_try;;
 
26079
esac
 
26080
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26081
  (eval "$ac_compile") 2>conftest.er1
26136
26082
  ac_status=$?
26137
26083
  grep -v '^ *+' conftest.er1 >conftest.err
26138
26084
  rm -f conftest.er1
26139
26085
  cat conftest.err >&5
26140
26086
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26141
 
  (exit $ac_status); } &&
26142
 
         { ac_try='test -z "$ac_cxx_werror_flag"
26143
 
                         || test ! -s conftest.err'
26144
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26145
 
  (eval $ac_try) 2>&5
26146
 
  ac_status=$?
26147
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26148
 
  (exit $ac_status); }; } &&
26149
 
         { ac_try='test -s conftest.$ac_objext'
26150
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26151
 
  (eval $ac_try) 2>&5
26152
 
  ac_status=$?
26153
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26154
 
  (exit $ac_status); }; }; then
 
26087
  (exit $ac_status); } && {
 
26088
         test -z "$ac_cxx_werror_flag" ||
 
26089
         test ! -s conftest.err
 
26090
       } && test -s conftest.$ac_objext; then
26155
26091
  ac_lo=$ac_mid; break
26156
26092
else
26157
26093
  echo "$as_me: failed program was:" >&5
26158
26094
sed 's/^/| /' conftest.$ac_ext >&5
26159
26095
 
26160
 
ac_hi=`expr '(' $ac_mid ')' - 1`
26161
 
                       if test $ac_mid -le $ac_hi; then
26162
 
                         ac_lo= ac_hi=
26163
 
                         break
26164
 
                       fi
26165
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
26096
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
26097
                        if test $ac_mid -le $ac_hi; then
 
26098
                          ac_lo= ac_hi=
 
26099
                          break
 
26100
                        fi
 
26101
                        ac_mid=`expr 2 '*' $ac_mid`
26166
26102
fi
26167
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
26103
 
 
26104
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26168
26105
  done
26169
26106
else
26170
26107
  echo "$as_me: failed program was:" >&5
26171
26108
sed 's/^/| /' conftest.$ac_ext >&5
26172
26109
 
26173
 
ac_lo= ac_hi=
26174
 
fi
26175
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26176
 
fi
26177
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
26110
        ac_lo= ac_hi=
 
26111
fi
 
26112
 
 
26113
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26114
fi
 
26115
 
 
26116
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26178
26117
# Binary search between lo and hi bounds.
26179
26118
while test "x$ac_lo" != "x$ac_hi"; do
26180
26119
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26185
26124
cat >>conftest.$ac_ext <<_ACEOF
26186
26125
/* end confdefs.h.  */
26187
26126
$ac_includes_default
 
26127
   typedef unsigned long ac__type_sizeof_;
26188
26128
int
26189
26129
main ()
26190
26130
{
26191
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
 
26131
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26192
26132
test_array [0] = 0
26193
26133
 
26194
26134
  ;
26196
26136
}
26197
26137
_ACEOF
26198
26138
rm -f conftest.$ac_objext
26199
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26200
 
  (eval $ac_compile) 2>conftest.er1
 
26139
if { (ac_try="$ac_compile"
 
26140
case "(($ac_try" in
 
26141
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26142
  *) ac_try_echo=$ac_try;;
 
26143
esac
 
26144
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26145
  (eval "$ac_compile") 2>conftest.er1
26201
26146
  ac_status=$?
26202
26147
  grep -v '^ *+' conftest.er1 >conftest.err
26203
26148
  rm -f conftest.er1
26204
26149
  cat conftest.err >&5
26205
26150
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26206
 
  (exit $ac_status); } &&
26207
 
         { ac_try='test -z "$ac_cxx_werror_flag"
26208
 
                         || test ! -s conftest.err'
26209
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26210
 
  (eval $ac_try) 2>&5
26211
 
  ac_status=$?
26212
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26213
 
  (exit $ac_status); }; } &&
26214
 
         { ac_try='test -s conftest.$ac_objext'
26215
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26216
 
  (eval $ac_try) 2>&5
26217
 
  ac_status=$?
26218
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26219
 
  (exit $ac_status); }; }; then
 
26151
  (exit $ac_status); } && {
 
26152
         test -z "$ac_cxx_werror_flag" ||
 
26153
         test ! -s conftest.err
 
26154
       } && test -s conftest.$ac_objext; then
26220
26155
  ac_hi=$ac_mid
26221
26156
else
26222
26157
  echo "$as_me: failed program was:" >&5
26223
26158
sed 's/^/| /' conftest.$ac_ext >&5
26224
26159
 
26225
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
26160
        ac_lo=`expr '(' $ac_mid ')' + 1`
26226
26161
fi
26227
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
26162
 
 
26163
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26228
26164
done
26229
26165
case $ac_lo in
26230
26166
?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
26231
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
 
26167
'') if test "$ac_cv_type_unsigned_long" = yes; then
 
26168
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
26232
26169
See \`config.log' for more details." >&5
26233
 
echo "$as_me: error: cannot compute sizeof (unsigned long), 77
 
26170
echo "$as_me: error: cannot compute sizeof (unsigned long)
26234
26171
See \`config.log' for more details." >&2;}
26235
 
   { (exit 1); exit 1; }; } ;;
 
26172
   { (exit 77); exit 77; }; }
 
26173
   else
 
26174
     ac_cv_sizeof_unsigned_long=0
 
26175
   fi ;;
26236
26176
esac
26237
26177
else
26238
 
  if test "$cross_compiling" = yes; then
26239
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
26240
 
See \`config.log' for more details." >&5
26241
 
echo "$as_me: error: cannot run test program while cross compiling
26242
 
See \`config.log' for more details." >&2;}
26243
 
   { (exit 1); exit 1; }; }
26244
 
else
26245
26178
  cat >conftest.$ac_ext <<_ACEOF
26246
26179
/* confdefs.h.  */
26247
26180
_ACEOF
26249
26182
cat >>conftest.$ac_ext <<_ACEOF
26250
26183
/* end confdefs.h.  */
26251
26184
$ac_includes_default
26252
 
long longval () { return (long) (sizeof (unsigned long)); }
26253
 
unsigned long ulongval () { return (long) (sizeof (unsigned long)); }
 
26185
   typedef unsigned long ac__type_sizeof_;
 
26186
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
26187
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26254
26188
#include <stdio.h>
26255
26189
#include <stdlib.h>
26256
26190
int
26259
26193
 
26260
26194
  FILE *f = fopen ("conftest.val", "w");
26261
26195
  if (! f)
26262
 
    exit (1);
26263
 
  if (((long) (sizeof (unsigned long))) < 0)
 
26196
    return 1;
 
26197
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26264
26198
    {
26265
 
      long i = longval ();
26266
 
      if (i != ((long) (sizeof (unsigned long))))
26267
 
        exit (1);
 
26199
      long int i = longval ();
 
26200
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
26201
        return 1;
26268
26202
      fprintf (f, "%ld\n", i);
26269
26203
    }
26270
26204
  else
26271
26205
    {
26272
 
      unsigned long i = ulongval ();
26273
 
      if (i != ((long) (sizeof (unsigned long))))
26274
 
        exit (1);
 
26206
      unsigned long int i = ulongval ();
 
26207
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
26208
        return 1;
26275
26209
      fprintf (f, "%lu\n", i);
26276
26210
    }
26277
 
  exit (ferror (f) || fclose (f) != 0);
 
26211
  return ferror (f) || fclose (f) != 0;
26278
26212
 
26279
26213
  ;
26280
26214
  return 0;
26281
26215
}
26282
26216
_ACEOF
26283
26217
rm -f conftest$ac_exeext
26284
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26285
 
  (eval $ac_link) 2>&5
 
26218
if { (ac_try="$ac_link"
 
26219
case "(($ac_try" in
 
26220
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26221
  *) ac_try_echo=$ac_try;;
 
26222
esac
 
26223
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26224
  (eval "$ac_link") 2>&5
26286
26225
  ac_status=$?
26287
26226
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26288
26227
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26289
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26290
 
  (eval $ac_try) 2>&5
 
26228
  { (case "(($ac_try" in
 
26229
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26230
  *) ac_try_echo=$ac_try;;
 
26231
esac
 
26232
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26233
  (eval "$ac_try") 2>&5
26291
26234
  ac_status=$?
26292
26235
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26293
26236
  (exit $ac_status); }; }; then
26298
26241
sed 's/^/| /' conftest.$ac_ext >&5
26299
26242
 
26300
26243
( exit $ac_status )
26301
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
 
26244
if test "$ac_cv_type_unsigned_long" = yes; then
 
26245
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
26302
26246
See \`config.log' for more details." >&5
26303
 
echo "$as_me: error: cannot compute sizeof (unsigned long), 77
 
26247
echo "$as_me: error: cannot compute sizeof (unsigned long)
26304
26248
See \`config.log' for more details." >&2;}
26305
 
   { (exit 1); exit 1; }; }
26306
 
fi
26307
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26308
 
fi
 
26249
   { (exit 77); exit 77; }; }
 
26250
   else
 
26251
     ac_cv_sizeof_unsigned_long=0
 
26252
   fi
 
26253
fi
 
26254
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26309
26255
fi
26310
26256
rm -f conftest.val
26311
 
else
26312
 
  ac_cv_sizeof_unsigned_long=0
26313
 
fi
26314
 
fi
26315
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
26316
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6
 
26257
fi
 
26258
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
 
26259
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
 
26260
 
 
26261
 
 
26262
 
26317
26263
cat >>confdefs.h <<_ACEOF
26318
26264
#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
26319
26265
_ACEOF
26349
26295
 
26350
26296
 
26351
26297
 
26352
 
echo "$as_me:$LINENO: checking for uint8_t" >&5
26353
 
echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6
 
26298
{ echo "$as_me:$LINENO: checking for uint8_t" >&5
 
26299
echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6; }
26354
26300
if test "${ac_cv_type_uint8_t+set}" = set; then
26355
26301
  echo $ECHO_N "(cached) $ECHO_C" >&6
26356
26302
else
26361
26307
cat >>conftest.$ac_ext <<_ACEOF
26362
26308
/* end confdefs.h.  */
26363
26309
$ac_includes_default
 
26310
typedef uint8_t ac__type_new_;
26364
26311
int
26365
26312
main ()
26366
26313
{
26367
 
if ((uint8_t *) 0)
 
26314
if ((ac__type_new_ *) 0)
26368
26315
  return 0;
26369
 
if (sizeof (uint8_t))
 
26316
if (sizeof (ac__type_new_))
26370
26317
  return 0;
26371
26318
  ;
26372
26319
  return 0;
26373
26320
}
26374
26321
_ACEOF
26375
26322
rm -f conftest.$ac_objext
26376
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26377
 
  (eval $ac_compile) 2>conftest.er1
 
26323
if { (ac_try="$ac_compile"
 
26324
case "(($ac_try" in
 
26325
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26326
  *) ac_try_echo=$ac_try;;
 
26327
esac
 
26328
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26329
  (eval "$ac_compile") 2>conftest.er1
26378
26330
  ac_status=$?
26379
26331
  grep -v '^ *+' conftest.er1 >conftest.err
26380
26332
  rm -f conftest.er1
26381
26333
  cat conftest.err >&5
26382
26334
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26383
 
  (exit $ac_status); } &&
26384
 
         { ac_try='test -z "$ac_cxx_werror_flag"
26385
 
                         || test ! -s conftest.err'
26386
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26387
 
  (eval $ac_try) 2>&5
26388
 
  ac_status=$?
26389
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26390
 
  (exit $ac_status); }; } &&
26391
 
         { ac_try='test -s conftest.$ac_objext'
26392
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26393
 
  (eval $ac_try) 2>&5
26394
 
  ac_status=$?
26395
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26396
 
  (exit $ac_status); }; }; then
 
26335
  (exit $ac_status); } && {
 
26336
         test -z "$ac_cxx_werror_flag" ||
 
26337
         test ! -s conftest.err
 
26338
       } && test -s conftest.$ac_objext; then
26397
26339
  ac_cv_type_uint8_t=yes
26398
26340
else
26399
26341
  echo "$as_me: failed program was:" >&5
26400
26342
sed 's/^/| /' conftest.$ac_ext >&5
26401
26343
 
26402
 
ac_cv_type_uint8_t=no
26403
 
fi
26404
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26405
 
fi
26406
 
echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
26407
 
echo "${ECHO_T}$ac_cv_type_uint8_t" >&6
 
26344
        ac_cv_type_uint8_t=no
 
26345
fi
 
26346
 
 
26347
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26348
fi
 
26349
{ echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
 
26350
echo "${ECHO_T}$ac_cv_type_uint8_t" >&6; }
26408
26351
if test $ac_cv_type_uint8_t = yes; then
26409
26352
  :
26410
26353
else
26416
26359
  {
26417
26360
 
26418
26361
 
26419
 
  echo "$as_me:$LINENO: checking for unsigned char" >&5
26420
 
echo $ECHO_N "checking for unsigned char... $ECHO_C" >&6
 
26362
  { echo "$as_me:$LINENO: checking for unsigned char" >&5
 
26363
echo $ECHO_N "checking for unsigned char... $ECHO_C" >&6; }
26421
26364
if test "${ac_cv_type_unsigned_char+set}" = set; then
26422
26365
  echo $ECHO_N "(cached) $ECHO_C" >&6
26423
26366
else
26428
26371
cat >>conftest.$ac_ext <<_ACEOF
26429
26372
/* end confdefs.h.  */
26430
26373
$ac_includes_default
 
26374
typedef unsigned char ac__type_new_;
26431
26375
int
26432
26376
main ()
26433
26377
{
26434
 
if ((unsigned char *) 0)
 
26378
if ((ac__type_new_ *) 0)
26435
26379
  return 0;
26436
 
if (sizeof (unsigned char))
 
26380
if (sizeof (ac__type_new_))
26437
26381
  return 0;
26438
26382
  ;
26439
26383
  return 0;
26440
26384
}
26441
26385
_ACEOF
26442
26386
rm -f conftest.$ac_objext
26443
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26444
 
  (eval $ac_compile) 2>conftest.er1
 
26387
if { (ac_try="$ac_compile"
 
26388
case "(($ac_try" in
 
26389
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26390
  *) ac_try_echo=$ac_try;;
 
26391
esac
 
26392
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26393
  (eval "$ac_compile") 2>conftest.er1
26445
26394
  ac_status=$?
26446
26395
  grep -v '^ *+' conftest.er1 >conftest.err
26447
26396
  rm -f conftest.er1
26448
26397
  cat conftest.err >&5
26449
26398
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26450
 
  (exit $ac_status); } &&
26451
 
         { ac_try='test -z "$ac_cxx_werror_flag"
26452
 
                         || test ! -s conftest.err'
26453
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26454
 
  (eval $ac_try) 2>&5
26455
 
  ac_status=$?
26456
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26457
 
  (exit $ac_status); }; } &&
26458
 
         { ac_try='test -s conftest.$ac_objext'
26459
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26460
 
  (eval $ac_try) 2>&5
26461
 
  ac_status=$?
26462
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26463
 
  (exit $ac_status); }; }; then
 
26399
  (exit $ac_status); } && {
 
26400
         test -z "$ac_cxx_werror_flag" ||
 
26401
         test ! -s conftest.err
 
26402
       } && test -s conftest.$ac_objext; then
26464
26403
  ac_cv_type_unsigned_char=yes
26465
26404
else
26466
26405
  echo "$as_me: failed program was:" >&5
26467
26406
sed 's/^/| /' conftest.$ac_ext >&5
26468
26407
 
26469
 
ac_cv_type_unsigned_char=no
26470
 
fi
26471
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26472
 
fi
26473
 
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_char" >&5
26474
 
echo "${ECHO_T}$ac_cv_type_unsigned_char" >&6
26475
 
 
26476
 
echo "$as_me:$LINENO: checking size of unsigned char" >&5
26477
 
echo $ECHO_N "checking size of unsigned char... $ECHO_C" >&6
 
26408
        ac_cv_type_unsigned_char=no
 
26409
fi
 
26410
 
 
26411
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26412
fi
 
26413
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_char" >&5
 
26414
echo "${ECHO_T}$ac_cv_type_unsigned_char" >&6; }
 
26415
 
 
26416
# The cast to long int works around a bug in the HP C Compiler
 
26417
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
26418
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
26419
# This bug is HP SR number 8606223364.
 
26420
{ echo "$as_me:$LINENO: checking size of unsigned char" >&5
 
26421
echo $ECHO_N "checking size of unsigned char... $ECHO_C" >&6; }
26478
26422
if test "${ac_cv_sizeof_unsigned_char+set}" = set; then
26479
26423
  echo $ECHO_N "(cached) $ECHO_C" >&6
26480
26424
else
26481
 
  if test "$ac_cv_type_unsigned_char" = yes; then
26482
 
  # The cast to unsigned long works around a bug in the HP C Compiler
26483
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26484
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26485
 
  # This bug is HP SR number 8606223364.
26486
26425
  if test "$cross_compiling" = yes; then
26487
26426
  # Depending upon the size, compute the lo and hi bounds.
26488
26427
cat >conftest.$ac_ext <<_ACEOF
26492
26431
cat >>conftest.$ac_ext <<_ACEOF
26493
26432
/* end confdefs.h.  */
26494
26433
$ac_includes_default
 
26434
   typedef unsigned char ac__type_sizeof_;
26495
26435
int
26496
26436
main ()
26497
26437
{
26498
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned char))) >= 0)];
 
26438
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26499
26439
test_array [0] = 0
26500
26440
 
26501
26441
  ;
26503
26443
}
26504
26444
_ACEOF
26505
26445
rm -f conftest.$ac_objext
26506
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26507
 
  (eval $ac_compile) 2>conftest.er1
 
26446
if { (ac_try="$ac_compile"
 
26447
case "(($ac_try" in
 
26448
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26449
  *) ac_try_echo=$ac_try;;
 
26450
esac
 
26451
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26452
  (eval "$ac_compile") 2>conftest.er1
26508
26453
  ac_status=$?
26509
26454
  grep -v '^ *+' conftest.er1 >conftest.err
26510
26455
  rm -f conftest.er1
26511
26456
  cat conftest.err >&5
26512
26457
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26513
 
  (exit $ac_status); } &&
26514
 
         { ac_try='test -z "$ac_cxx_werror_flag"
26515
 
                         || test ! -s conftest.err'
26516
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26517
 
  (eval $ac_try) 2>&5
26518
 
  ac_status=$?
26519
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26520
 
  (exit $ac_status); }; } &&
26521
 
         { ac_try='test -s conftest.$ac_objext'
26522
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26523
 
  (eval $ac_try) 2>&5
26524
 
  ac_status=$?
26525
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26526
 
  (exit $ac_status); }; }; then
 
26458
  (exit $ac_status); } && {
 
26459
         test -z "$ac_cxx_werror_flag" ||
 
26460
         test ! -s conftest.err
 
26461
       } && test -s conftest.$ac_objext; then
26527
26462
  ac_lo=0 ac_mid=0
26528
26463
  while :; do
26529
26464
    cat >conftest.$ac_ext <<_ACEOF
26533
26468
cat >>conftest.$ac_ext <<_ACEOF
26534
26469
/* end confdefs.h.  */
26535
26470
$ac_includes_default
 
26471
   typedef unsigned char ac__type_sizeof_;
26536
26472
int
26537
26473
main ()
26538
26474
{
26539
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned char))) <= $ac_mid)];
 
26475
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26540
26476
test_array [0] = 0
26541
26477
 
26542
26478
  ;
26544
26480
}
26545
26481
_ACEOF
26546
26482
rm -f conftest.$ac_objext
26547
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26548
 
  (eval $ac_compile) 2>conftest.er1
 
26483
if { (ac_try="$ac_compile"
 
26484
case "(($ac_try" in
 
26485
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26486
  *) ac_try_echo=$ac_try;;
 
26487
esac
 
26488
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26489
  (eval "$ac_compile") 2>conftest.er1
26549
26490
  ac_status=$?
26550
26491
  grep -v '^ *+' conftest.er1 >conftest.err
26551
26492
  rm -f conftest.er1
26552
26493
  cat conftest.err >&5
26553
26494
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26554
 
  (exit $ac_status); } &&
26555
 
         { ac_try='test -z "$ac_cxx_werror_flag"
26556
 
                         || test ! -s conftest.err'
26557
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26558
 
  (eval $ac_try) 2>&5
26559
 
  ac_status=$?
26560
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26561
 
  (exit $ac_status); }; } &&
26562
 
         { ac_try='test -s conftest.$ac_objext'
26563
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26564
 
  (eval $ac_try) 2>&5
26565
 
  ac_status=$?
26566
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26567
 
  (exit $ac_status); }; }; then
 
26495
  (exit $ac_status); } && {
 
26496
         test -z "$ac_cxx_werror_flag" ||
 
26497
         test ! -s conftest.err
 
26498
       } && test -s conftest.$ac_objext; then
26568
26499
  ac_hi=$ac_mid; break
26569
26500
else
26570
26501
  echo "$as_me: failed program was:" >&5
26571
26502
sed 's/^/| /' conftest.$ac_ext >&5
26572
26503
 
26573
 
ac_lo=`expr $ac_mid + 1`
26574
 
                    if test $ac_lo -le $ac_mid; then
26575
 
                      ac_lo= ac_hi=
26576
 
                      break
26577
 
                    fi
26578
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
26504
        ac_lo=`expr $ac_mid + 1`
 
26505
                        if test $ac_lo -le $ac_mid; then
 
26506
                          ac_lo= ac_hi=
 
26507
                          break
 
26508
                        fi
 
26509
                        ac_mid=`expr 2 '*' $ac_mid + 1`
26579
26510
fi
26580
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
26511
 
 
26512
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26581
26513
  done
26582
26514
else
26583
26515
  echo "$as_me: failed program was:" >&5
26584
26516
sed 's/^/| /' conftest.$ac_ext >&5
26585
26517
 
26586
 
cat >conftest.$ac_ext <<_ACEOF
 
26518
        cat >conftest.$ac_ext <<_ACEOF
26587
26519
/* confdefs.h.  */
26588
26520
_ACEOF
26589
26521
cat confdefs.h >>conftest.$ac_ext
26590
26522
cat >>conftest.$ac_ext <<_ACEOF
26591
26523
/* end confdefs.h.  */
26592
26524
$ac_includes_default
 
26525
   typedef unsigned char ac__type_sizeof_;
26593
26526
int
26594
26527
main ()
26595
26528
{
26596
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned char))) < 0)];
 
26529
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26597
26530
test_array [0] = 0
26598
26531
 
26599
26532
  ;
26601
26534
}
26602
26535
_ACEOF
26603
26536
rm -f conftest.$ac_objext
26604
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26605
 
  (eval $ac_compile) 2>conftest.er1
 
26537
if { (ac_try="$ac_compile"
 
26538
case "(($ac_try" in
 
26539
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26540
  *) ac_try_echo=$ac_try;;
 
26541
esac
 
26542
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26543
  (eval "$ac_compile") 2>conftest.er1
26606
26544
  ac_status=$?
26607
26545
  grep -v '^ *+' conftest.er1 >conftest.err
26608
26546
  rm -f conftest.er1
26609
26547
  cat conftest.err >&5
26610
26548
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26611
 
  (exit $ac_status); } &&
26612
 
         { ac_try='test -z "$ac_cxx_werror_flag"
26613
 
                         || test ! -s conftest.err'
26614
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26615
 
  (eval $ac_try) 2>&5
26616
 
  ac_status=$?
26617
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26618
 
  (exit $ac_status); }; } &&
26619
 
         { ac_try='test -s conftest.$ac_objext'
26620
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26621
 
  (eval $ac_try) 2>&5
26622
 
  ac_status=$?
26623
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26624
 
  (exit $ac_status); }; }; then
 
26549
  (exit $ac_status); } && {
 
26550
         test -z "$ac_cxx_werror_flag" ||
 
26551
         test ! -s conftest.err
 
26552
       } && test -s conftest.$ac_objext; then
26625
26553
  ac_hi=-1 ac_mid=-1
26626
26554
  while :; do
26627
26555
    cat >conftest.$ac_ext <<_ACEOF
26631
26559
cat >>conftest.$ac_ext <<_ACEOF
26632
26560
/* end confdefs.h.  */
26633
26561
$ac_includes_default
 
26562
   typedef unsigned char ac__type_sizeof_;
26634
26563
int
26635
26564
main ()
26636
26565
{
26637
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned char))) >= $ac_mid)];
 
26566
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26638
26567
test_array [0] = 0
26639
26568
 
26640
26569
  ;
26642
26571
}
26643
26572
_ACEOF
26644
26573
rm -f conftest.$ac_objext
26645
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26646
 
  (eval $ac_compile) 2>conftest.er1
 
26574
if { (ac_try="$ac_compile"
 
26575
case "(($ac_try" in
 
26576
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26577
  *) ac_try_echo=$ac_try;;
 
26578
esac
 
26579
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26580
  (eval "$ac_compile") 2>conftest.er1
26647
26581
  ac_status=$?
26648
26582
  grep -v '^ *+' conftest.er1 >conftest.err
26649
26583
  rm -f conftest.er1
26650
26584
  cat conftest.err >&5
26651
26585
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26652
 
  (exit $ac_status); } &&
26653
 
         { ac_try='test -z "$ac_cxx_werror_flag"
26654
 
                         || test ! -s conftest.err'
26655
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26656
 
  (eval $ac_try) 2>&5
26657
 
  ac_status=$?
26658
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26659
 
  (exit $ac_status); }; } &&
26660
 
         { ac_try='test -s conftest.$ac_objext'
26661
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26662
 
  (eval $ac_try) 2>&5
26663
 
  ac_status=$?
26664
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26665
 
  (exit $ac_status); }; }; then
 
26586
  (exit $ac_status); } && {
 
26587
         test -z "$ac_cxx_werror_flag" ||
 
26588
         test ! -s conftest.err
 
26589
       } && test -s conftest.$ac_objext; then
26666
26590
  ac_lo=$ac_mid; break
26667
26591
else
26668
26592
  echo "$as_me: failed program was:" >&5
26669
26593
sed 's/^/| /' conftest.$ac_ext >&5
26670
26594
 
26671
 
ac_hi=`expr '(' $ac_mid ')' - 1`
26672
 
                       if test $ac_mid -le $ac_hi; then
26673
 
                         ac_lo= ac_hi=
26674
 
                         break
26675
 
                       fi
26676
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
26595
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
26596
                        if test $ac_mid -le $ac_hi; then
 
26597
                          ac_lo= ac_hi=
 
26598
                          break
 
26599
                        fi
 
26600
                        ac_mid=`expr 2 '*' $ac_mid`
26677
26601
fi
26678
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
26602
 
 
26603
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26679
26604
  done
26680
26605
else
26681
26606
  echo "$as_me: failed program was:" >&5
26682
26607
sed 's/^/| /' conftest.$ac_ext >&5
26683
26608
 
26684
 
ac_lo= ac_hi=
26685
 
fi
26686
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26687
 
fi
26688
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
26609
        ac_lo= ac_hi=
 
26610
fi
 
26611
 
 
26612
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26613
fi
 
26614
 
 
26615
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26689
26616
# Binary search between lo and hi bounds.
26690
26617
while test "x$ac_lo" != "x$ac_hi"; do
26691
26618
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26696
26623
cat >>conftest.$ac_ext <<_ACEOF
26697
26624
/* end confdefs.h.  */
26698
26625
$ac_includes_default
 
26626
   typedef unsigned char ac__type_sizeof_;
26699
26627
int
26700
26628
main ()
26701
26629
{
26702
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned char))) <= $ac_mid)];
 
26630
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26703
26631
test_array [0] = 0
26704
26632
 
26705
26633
  ;
26707
26635
}
26708
26636
_ACEOF
26709
26637
rm -f conftest.$ac_objext
26710
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26711
 
  (eval $ac_compile) 2>conftest.er1
 
26638
if { (ac_try="$ac_compile"
 
26639
case "(($ac_try" in
 
26640
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26641
  *) ac_try_echo=$ac_try;;
 
26642
esac
 
26643
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26644
  (eval "$ac_compile") 2>conftest.er1
26712
26645
  ac_status=$?
26713
26646
  grep -v '^ *+' conftest.er1 >conftest.err
26714
26647
  rm -f conftest.er1
26715
26648
  cat conftest.err >&5
26716
26649
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26717
 
  (exit $ac_status); } &&
26718
 
         { ac_try='test -z "$ac_cxx_werror_flag"
26719
 
                         || test ! -s conftest.err'
26720
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26721
 
  (eval $ac_try) 2>&5
26722
 
  ac_status=$?
26723
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26724
 
  (exit $ac_status); }; } &&
26725
 
         { ac_try='test -s conftest.$ac_objext'
26726
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26727
 
  (eval $ac_try) 2>&5
26728
 
  ac_status=$?
26729
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26730
 
  (exit $ac_status); }; }; then
 
26650
  (exit $ac_status); } && {
 
26651
         test -z "$ac_cxx_werror_flag" ||
 
26652
         test ! -s conftest.err
 
26653
       } && test -s conftest.$ac_objext; then
26731
26654
  ac_hi=$ac_mid
26732
26655
else
26733
26656
  echo "$as_me: failed program was:" >&5
26734
26657
sed 's/^/| /' conftest.$ac_ext >&5
26735
26658
 
26736
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
26659
        ac_lo=`expr '(' $ac_mid ')' + 1`
26737
26660
fi
26738
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
26661
 
 
26662
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26739
26663
done
26740
26664
case $ac_lo in
26741
26665
?*) ac_cv_sizeof_unsigned_char=$ac_lo;;
26742
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char), 77
 
26666
'') if test "$ac_cv_type_unsigned_char" = yes; then
 
26667
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char)
26743
26668
See \`config.log' for more details." >&5
26744
 
echo "$as_me: error: cannot compute sizeof (unsigned char), 77
 
26669
echo "$as_me: error: cannot compute sizeof (unsigned char)
26745
26670
See \`config.log' for more details." >&2;}
26746
 
   { (exit 1); exit 1; }; } ;;
 
26671
   { (exit 77); exit 77; }; }
 
26672
   else
 
26673
     ac_cv_sizeof_unsigned_char=0
 
26674
   fi ;;
26747
26675
esac
26748
26676
else
26749
 
  if test "$cross_compiling" = yes; then
26750
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
26751
 
See \`config.log' for more details." >&5
26752
 
echo "$as_me: error: cannot run test program while cross compiling
26753
 
See \`config.log' for more details." >&2;}
26754
 
   { (exit 1); exit 1; }; }
26755
 
else
26756
26677
  cat >conftest.$ac_ext <<_ACEOF
26757
26678
/* confdefs.h.  */
26758
26679
_ACEOF
26760
26681
cat >>conftest.$ac_ext <<_ACEOF
26761
26682
/* end confdefs.h.  */
26762
26683
$ac_includes_default
26763
 
long longval () { return (long) (sizeof (unsigned char)); }
26764
 
unsigned long ulongval () { return (long) (sizeof (unsigned char)); }
 
26684
   typedef unsigned char ac__type_sizeof_;
 
26685
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
26686
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26765
26687
#include <stdio.h>
26766
26688
#include <stdlib.h>
26767
26689
int
26770
26692
 
26771
26693
  FILE *f = fopen ("conftest.val", "w");
26772
26694
  if (! f)
26773
 
    exit (1);
26774
 
  if (((long) (sizeof (unsigned char))) < 0)
 
26695
    return 1;
 
26696
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26775
26697
    {
26776
 
      long i = longval ();
26777
 
      if (i != ((long) (sizeof (unsigned char))))
26778
 
        exit (1);
 
26698
      long int i = longval ();
 
26699
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
26700
        return 1;
26779
26701
      fprintf (f, "%ld\n", i);
26780
26702
    }
26781
26703
  else
26782
26704
    {
26783
 
      unsigned long i = ulongval ();
26784
 
      if (i != ((long) (sizeof (unsigned char))))
26785
 
        exit (1);
 
26705
      unsigned long int i = ulongval ();
 
26706
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
26707
        return 1;
26786
26708
      fprintf (f, "%lu\n", i);
26787
26709
    }
26788
 
  exit (ferror (f) || fclose (f) != 0);
 
26710
  return ferror (f) || fclose (f) != 0;
26789
26711
 
26790
26712
  ;
26791
26713
  return 0;
26792
26714
}
26793
26715
_ACEOF
26794
26716
rm -f conftest$ac_exeext
26795
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26796
 
  (eval $ac_link) 2>&5
 
26717
if { (ac_try="$ac_link"
 
26718
case "(($ac_try" in
 
26719
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26720
  *) ac_try_echo=$ac_try;;
 
26721
esac
 
26722
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26723
  (eval "$ac_link") 2>&5
26797
26724
  ac_status=$?
26798
26725
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26799
26726
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26800
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26801
 
  (eval $ac_try) 2>&5
 
26727
  { (case "(($ac_try" in
 
26728
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26729
  *) ac_try_echo=$ac_try;;
 
26730
esac
 
26731
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26732
  (eval "$ac_try") 2>&5
26802
26733
  ac_status=$?
26803
26734
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26804
26735
  (exit $ac_status); }; }; then
26809
26740
sed 's/^/| /' conftest.$ac_ext >&5
26810
26741
 
26811
26742
( exit $ac_status )
26812
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char), 77
 
26743
if test "$ac_cv_type_unsigned_char" = yes; then
 
26744
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char)
26813
26745
See \`config.log' for more details." >&5
26814
 
echo "$as_me: error: cannot compute sizeof (unsigned char), 77
 
26746
echo "$as_me: error: cannot compute sizeof (unsigned char)
26815
26747
See \`config.log' for more details." >&2;}
26816
 
   { (exit 1); exit 1; }; }
26817
 
fi
26818
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26819
 
fi
 
26748
   { (exit 77); exit 77; }; }
 
26749
   else
 
26750
     ac_cv_sizeof_unsigned_char=0
 
26751
   fi
 
26752
fi
 
26753
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26820
26754
fi
26821
26755
rm -f conftest.val
26822
 
else
26823
 
  ac_cv_sizeof_unsigned_char=0
26824
 
fi
26825
 
fi
26826
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_char" >&5
26827
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_char" >&6
 
26756
fi
 
26757
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_char" >&5
 
26758
echo "${ECHO_T}$ac_cv_sizeof_unsigned_char" >&6; }
 
26759
 
 
26760
 
 
26761
 
26828
26762
cat >>confdefs.h <<_ACEOF
26829
26763
#define SIZEOF_UNSIGNED_CHAR $ac_cv_sizeof_unsigned_char
26830
26764
_ACEOF
26856
26790
   { (exit 1); exit 1; }; }
26857
26791
fi
26858
26792
 
26859
 
echo "$as_me:$LINENO: checking for float_t" >&5
26860
 
echo $ECHO_N "checking for float_t... $ECHO_C" >&6
 
26793
{ echo "$as_me:$LINENO: checking for float_t" >&5
 
26794
echo $ECHO_N "checking for float_t... $ECHO_C" >&6; }
26861
26795
if test "${ac_cv_type_float_t+set}" = set; then
26862
26796
  echo $ECHO_N "(cached) $ECHO_C" >&6
26863
26797
else
26869
26803
/* end confdefs.h.  */
26870
26804
#include <math.h>
26871
26805
 
 
26806
typedef float_t ac__type_new_;
26872
26807
int
26873
26808
main ()
26874
26809
{
26875
 
if ((float_t *) 0)
 
26810
if ((ac__type_new_ *) 0)
26876
26811
  return 0;
26877
 
if (sizeof (float_t))
 
26812
if (sizeof (ac__type_new_))
26878
26813
  return 0;
26879
26814
  ;
26880
26815
  return 0;
26881
26816
}
26882
26817
_ACEOF
26883
26818
rm -f conftest.$ac_objext
26884
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26885
 
  (eval $ac_compile) 2>conftest.er1
 
26819
if { (ac_try="$ac_compile"
 
26820
case "(($ac_try" in
 
26821
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26822
  *) ac_try_echo=$ac_try;;
 
26823
esac
 
26824
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26825
  (eval "$ac_compile") 2>conftest.er1
26886
26826
  ac_status=$?
26887
26827
  grep -v '^ *+' conftest.er1 >conftest.err
26888
26828
  rm -f conftest.er1
26889
26829
  cat conftest.err >&5
26890
26830
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26891
 
  (exit $ac_status); } &&
26892
 
         { ac_try='test -z "$ac_cxx_werror_flag"
26893
 
                         || test ! -s conftest.err'
26894
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26895
 
  (eval $ac_try) 2>&5
26896
 
  ac_status=$?
26897
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26898
 
  (exit $ac_status); }; } &&
26899
 
         { ac_try='test -s conftest.$ac_objext'
26900
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26901
 
  (eval $ac_try) 2>&5
26902
 
  ac_status=$?
26903
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26904
 
  (exit $ac_status); }; }; then
 
26831
  (exit $ac_status); } && {
 
26832
         test -z "$ac_cxx_werror_flag" ||
 
26833
         test ! -s conftest.err
 
26834
       } && test -s conftest.$ac_objext; then
26905
26835
  ac_cv_type_float_t=yes
26906
26836
else
26907
26837
  echo "$as_me: failed program was:" >&5
26908
26838
sed 's/^/| /' conftest.$ac_ext >&5
26909
26839
 
26910
 
ac_cv_type_float_t=no
26911
 
fi
26912
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26913
 
fi
26914
 
echo "$as_me:$LINENO: result: $ac_cv_type_float_t" >&5
26915
 
echo "${ECHO_T}$ac_cv_type_float_t" >&6
 
26840
        ac_cv_type_float_t=no
 
26841
fi
 
26842
 
 
26843
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26844
fi
 
26845
{ echo "$as_me:$LINENO: result: $ac_cv_type_float_t" >&5
 
26846
echo "${ECHO_T}$ac_cv_type_float_t" >&6; }
26916
26847
if test $ac_cv_type_float_t = yes; then
26917
26848
 
26918
26849
cat >>confdefs.h <<_ACEOF
26923
26854
fi
26924
26855
 
26925
26856
 
26926
 
echo "$as_me:$LINENO: checking for wchar_t" >&5
26927
 
echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
 
26857
{ echo "$as_me:$LINENO: checking for wchar_t" >&5
 
26858
echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
26928
26859
if test "${ac_cv_type_wchar_t+set}" = set; then
26929
26860
  echo $ECHO_N "(cached) $ECHO_C" >&6
26930
26861
else
26935
26866
cat >>conftest.$ac_ext <<_ACEOF
26936
26867
/* end confdefs.h.  */
26937
26868
$ac_includes_default
 
26869
typedef wchar_t ac__type_new_;
26938
26870
int
26939
26871
main ()
26940
26872
{
26941
 
if ((wchar_t *) 0)
 
26873
if ((ac__type_new_ *) 0)
26942
26874
  return 0;
26943
 
if (sizeof (wchar_t))
 
26875
if (sizeof (ac__type_new_))
26944
26876
  return 0;
26945
26877
  ;
26946
26878
  return 0;
26947
26879
}
26948
26880
_ACEOF
26949
26881
rm -f conftest.$ac_objext
26950
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26951
 
  (eval $ac_compile) 2>conftest.er1
 
26882
if { (ac_try="$ac_compile"
 
26883
case "(($ac_try" in
 
26884
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26885
  *) ac_try_echo=$ac_try;;
 
26886
esac
 
26887
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26888
  (eval "$ac_compile") 2>conftest.er1
26952
26889
  ac_status=$?
26953
26890
  grep -v '^ *+' conftest.er1 >conftest.err
26954
26891
  rm -f conftest.er1
26955
26892
  cat conftest.err >&5
26956
26893
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26957
 
  (exit $ac_status); } &&
26958
 
         { ac_try='test -z "$ac_cxx_werror_flag"
26959
 
                         || test ! -s conftest.err'
26960
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26961
 
  (eval $ac_try) 2>&5
26962
 
  ac_status=$?
26963
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26964
 
  (exit $ac_status); }; } &&
26965
 
         { ac_try='test -s conftest.$ac_objext'
26966
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26967
 
  (eval $ac_try) 2>&5
26968
 
  ac_status=$?
26969
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26970
 
  (exit $ac_status); }; }; then
 
26894
  (exit $ac_status); } && {
 
26895
         test -z "$ac_cxx_werror_flag" ||
 
26896
         test ! -s conftest.err
 
26897
       } && test -s conftest.$ac_objext; then
26971
26898
  ac_cv_type_wchar_t=yes
26972
26899
else
26973
26900
  echo "$as_me: failed program was:" >&5
26974
26901
sed 's/^/| /' conftest.$ac_ext >&5
26975
26902
 
26976
 
ac_cv_type_wchar_t=no
26977
 
fi
26978
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26979
 
fi
26980
 
echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
26981
 
echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
 
26903
        ac_cv_type_wchar_t=no
 
26904
fi
 
26905
 
 
26906
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26907
fi
 
26908
{ echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
 
26909
echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
26982
26910
if test $ac_cv_type_wchar_t = yes; then
26983
26911
 
26984
26912
cat >>confdefs.h <<_ACEOF
26987
26915
 
26988
26916
 
26989
26917
fi
26990
 
echo "$as_me:$LINENO: checking for intptr_t" >&5
26991
 
echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
 
26918
{ echo "$as_me:$LINENO: checking for intptr_t" >&5
 
26919
echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6; }
26992
26920
if test "${ac_cv_type_intptr_t+set}" = set; then
26993
26921
  echo $ECHO_N "(cached) $ECHO_C" >&6
26994
26922
else
26999
26927
cat >>conftest.$ac_ext <<_ACEOF
27000
26928
/* end confdefs.h.  */
27001
26929
$ac_includes_default
 
26930
typedef intptr_t ac__type_new_;
27002
26931
int
27003
26932
main ()
27004
26933
{
27005
 
if ((intptr_t *) 0)
 
26934
if ((ac__type_new_ *) 0)
27006
26935
  return 0;
27007
 
if (sizeof (intptr_t))
 
26936
if (sizeof (ac__type_new_))
27008
26937
  return 0;
27009
26938
  ;
27010
26939
  return 0;
27011
26940
}
27012
26941
_ACEOF
27013
26942
rm -f conftest.$ac_objext
27014
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27015
 
  (eval $ac_compile) 2>conftest.er1
 
26943
if { (ac_try="$ac_compile"
 
26944
case "(($ac_try" in
 
26945
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26946
  *) ac_try_echo=$ac_try;;
 
26947
esac
 
26948
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26949
  (eval "$ac_compile") 2>conftest.er1
27016
26950
  ac_status=$?
27017
26951
  grep -v '^ *+' conftest.er1 >conftest.err
27018
26952
  rm -f conftest.er1
27019
26953
  cat conftest.err >&5
27020
26954
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27021
 
  (exit $ac_status); } &&
27022
 
         { ac_try='test -z "$ac_cxx_werror_flag"
27023
 
                         || test ! -s conftest.err'
27024
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27025
 
  (eval $ac_try) 2>&5
27026
 
  ac_status=$?
27027
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27028
 
  (exit $ac_status); }; } &&
27029
 
         { ac_try='test -s conftest.$ac_objext'
27030
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27031
 
  (eval $ac_try) 2>&5
27032
 
  ac_status=$?
27033
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27034
 
  (exit $ac_status); }; }; then
 
26955
  (exit $ac_status); } && {
 
26956
         test -z "$ac_cxx_werror_flag" ||
 
26957
         test ! -s conftest.err
 
26958
       } && test -s conftest.$ac_objext; then
27035
26959
  ac_cv_type_intptr_t=yes
27036
26960
else
27037
26961
  echo "$as_me: failed program was:" >&5
27038
26962
sed 's/^/| /' conftest.$ac_ext >&5
27039
26963
 
27040
 
ac_cv_type_intptr_t=no
27041
 
fi
27042
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27043
 
fi
27044
 
echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
27045
 
echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
 
26964
        ac_cv_type_intptr_t=no
 
26965
fi
 
26966
 
 
26967
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26968
fi
 
26969
{ echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
 
26970
echo "${ECHO_T}$ac_cv_type_intptr_t" >&6; }
27046
26971
if test $ac_cv_type_intptr_t = yes; then
27047
26972
 
27048
26973
cat >>confdefs.h <<_ACEOF
27054
26979
 
27055
26980
 
27056
26981
 
27057
 
echo "$as_me:$LINENO: checking for library containing nanosleep" >&5
27058
 
echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6
 
26982
{ echo "$as_me:$LINENO: checking for library containing nanosleep" >&5
 
26983
echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6; }
27059
26984
if test "${ac_cv_search_nanosleep+set}" = set; then
27060
26985
  echo $ECHO_N "(cached) $ECHO_C" >&6
27061
26986
else
27062
26987
  ac_func_search_save_LIBS=$LIBS
27063
 
ac_cv_search_nanosleep=no
27064
26988
cat >conftest.$ac_ext <<_ACEOF
27065
26989
/* confdefs.h.  */
27066
26990
_ACEOF
27068
26992
cat >>conftest.$ac_ext <<_ACEOF
27069
26993
/* end confdefs.h.  */
27070
26994
 
27071
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
26995
/* Override any GCC internal prototype to avoid an error.
 
26996
   Use char because int might match the return type of a GCC
 
26997
   builtin and then its argument prototype would still apply.  */
27072
26998
#ifdef __cplusplus
27073
26999
extern "C"
27074
27000
#endif
27075
 
/* We use char because int might match the return type of a gcc2
27076
 
   builtin and then its argument prototype would still apply.  */
27077
27001
char nanosleep ();
27078
27002
int
27079
27003
main ()
27080
27004
{
27081
 
nanosleep ();
 
27005
return nanosleep ();
27082
27006
  ;
27083
27007
  return 0;
27084
27008
}
27085
27009
_ACEOF
27086
 
rm -f conftest.$ac_objext conftest$ac_exeext
27087
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27088
 
  (eval $ac_link) 2>conftest.er1
27089
 
  ac_status=$?
27090
 
  grep -v '^ *+' conftest.er1 >conftest.err
27091
 
  rm -f conftest.er1
27092
 
  cat conftest.err >&5
27093
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27094
 
  (exit $ac_status); } &&
27095
 
         { ac_try='test -z "$ac_cxx_werror_flag"
27096
 
                         || test ! -s conftest.err'
27097
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27098
 
  (eval $ac_try) 2>&5
27099
 
  ac_status=$?
27100
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27101
 
  (exit $ac_status); }; } &&
27102
 
         { ac_try='test -s conftest$ac_exeext'
27103
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27104
 
  (eval $ac_try) 2>&5
27105
 
  ac_status=$?
27106
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107
 
  (exit $ac_status); }; }; then
27108
 
  ac_cv_search_nanosleep="none required"
27109
 
else
27110
 
  echo "$as_me: failed program was:" >&5
27111
 
sed 's/^/| /' conftest.$ac_ext >&5
27112
 
 
27113
 
fi
27114
 
rm -f conftest.err conftest.$ac_objext \
27115
 
      conftest$ac_exeext conftest.$ac_ext
27116
 
if test "$ac_cv_search_nanosleep" = no; then
27117
 
  for ac_lib in rt; do
 
27010
for ac_lib in '' rt; do
 
27011
  if test -z "$ac_lib"; then
 
27012
    ac_res="none required"
 
27013
  else
 
27014
    ac_res=-l$ac_lib
27118
27015
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
27119
 
    cat >conftest.$ac_ext <<_ACEOF
27120
 
/* confdefs.h.  */
27121
 
_ACEOF
27122
 
cat confdefs.h >>conftest.$ac_ext
27123
 
cat >>conftest.$ac_ext <<_ACEOF
27124
 
/* end confdefs.h.  */
27125
 
 
27126
 
/* Override any gcc2 internal prototype to avoid an error.  */
27127
 
#ifdef __cplusplus
27128
 
extern "C"
27129
 
#endif
27130
 
/* We use char because int might match the return type of a gcc2
27131
 
   builtin and then its argument prototype would still apply.  */
27132
 
char nanosleep ();
27133
 
int
27134
 
main ()
27135
 
{
27136
 
nanosleep ();
27137
 
  ;
27138
 
  return 0;
27139
 
}
27140
 
_ACEOF
27141
 
rm -f conftest.$ac_objext conftest$ac_exeext
27142
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27143
 
  (eval $ac_link) 2>conftest.er1
 
27016
  fi
 
27017
  rm -f conftest.$ac_objext conftest$ac_exeext
 
27018
if { (ac_try="$ac_link"
 
27019
case "(($ac_try" in
 
27020
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27021
  *) ac_try_echo=$ac_try;;
 
27022
esac
 
27023
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27024
  (eval "$ac_link") 2>conftest.er1
27144
27025
  ac_status=$?
27145
27026
  grep -v '^ *+' conftest.er1 >conftest.err
27146
27027
  rm -f conftest.er1
27147
27028
  cat conftest.err >&5
27148
27029
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27149
 
  (exit $ac_status); } &&
27150
 
         { ac_try='test -z "$ac_cxx_werror_flag"
27151
 
                         || test ! -s conftest.err'
27152
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27153
 
  (eval $ac_try) 2>&5
27154
 
  ac_status=$?
27155
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27156
 
  (exit $ac_status); }; } &&
27157
 
         { ac_try='test -s conftest$ac_exeext'
27158
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27159
 
  (eval $ac_try) 2>&5
27160
 
  ac_status=$?
27161
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27162
 
  (exit $ac_status); }; }; then
27163
 
  ac_cv_search_nanosleep="-l$ac_lib"
27164
 
break
 
27030
  (exit $ac_status); } && {
 
27031
         test -z "$ac_cxx_werror_flag" ||
 
27032
         test ! -s conftest.err
 
27033
       } && test -s conftest$ac_exeext &&
 
27034
       $as_test_x conftest$ac_exeext; then
 
27035
  ac_cv_search_nanosleep=$ac_res
27165
27036
else
27166
27037
  echo "$as_me: failed program was:" >&5
27167
27038
sed 's/^/| /' conftest.$ac_ext >&5
27168
27039
 
27169
 
fi
27170
 
rm -f conftest.err conftest.$ac_objext \
27171
 
      conftest$ac_exeext conftest.$ac_ext
27172
 
  done
27173
 
fi
 
27040
 
 
27041
fi
 
27042
 
 
27043
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
27044
      conftest$ac_exeext
 
27045
  if test "${ac_cv_search_nanosleep+set}" = set; then
 
27046
  break
 
27047
fi
 
27048
done
 
27049
if test "${ac_cv_search_nanosleep+set}" = set; then
 
27050
  :
 
27051
else
 
27052
  ac_cv_search_nanosleep=no
 
27053
fi
 
27054
rm conftest.$ac_ext
27174
27055
LIBS=$ac_func_search_save_LIBS
27175
27056
fi
27176
 
echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5
27177
 
echo "${ECHO_T}$ac_cv_search_nanosleep" >&6
27178
 
if test "$ac_cv_search_nanosleep" != no; then
27179
 
  test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS"
 
27057
{ echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5
 
27058
echo "${ECHO_T}$ac_cv_search_nanosleep" >&6; }
 
27059
ac_res=$ac_cv_search_nanosleep
 
27060
if test "$ac_res" != no; then
 
27061
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
27180
27062
 
27181
27063
cat >>confdefs.h <<\_ACEOF
27182
27064
#define HAVE_NANOSLEEP 1
27189
27071
 
27190
27072
 
27191
27073
 
27192
 
                                                                      ac_config_files="$ac_config_files Makefile src/Makefile src/demo/Makefile doc/Makefile win32/Makefile test/Makefile test/data/Makefile"
27193
 
 
27194
 
 
27195
 
                    ac_config_files="$ac_config_files Doxyfile doc/helpheader.htm"
 
27074
ac_config_files="$ac_config_files Makefile src/Makefile src/demo/Makefile doc/Makefile win32/Makefile test/Makefile test/data/Makefile"
 
27075
 
 
27076
 
 
27077
ac_config_files="$ac_config_files Doxyfile doc/helpheader.htm"
 
27078
 
27196
27079
cat >confcache <<\_ACEOF
27197
27080
# This file is a shell script that caches the results of configure
27198
27081
# tests run on this system so they can be shared between configure
27211
27094
 
27212
27095
# The following way of writing the cache mishandles newlines in values,
27213
27096
# but we know of no workaround that is simple, portable, and efficient.
27214
 
# So, don't put newlines in cache variables' values.
 
27097
# So, we kill variables containing newlines.
27215
27098
# Ultrix sh set writes to stderr and can't be redirected directly,
27216
27099
# and sets the high bit in the cache file unless we assign to the vars.
27217
 
{
 
27100
(
 
27101
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
27102
    eval ac_val=\$$ac_var
 
27103
    case $ac_val in #(
 
27104
    *${as_nl}*)
 
27105
      case $ac_var in #(
 
27106
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
27107
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
27108
      esac
 
27109
      case $ac_var in #(
 
27110
      _ | IFS | as_nl) ;; #(
 
27111
      *) $as_unset $ac_var ;;
 
27112
      esac ;;
 
27113
    esac
 
27114
  done
 
27115
 
27218
27116
  (set) 2>&1 |
27219
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
27220
 
    *ac_space=\ *)
 
27117
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
27118
    *${as_nl}ac_space=\ *)
27221
27119
      # `set' does not quote correctly, so add quotes (double-quote
27222
27120
      # substitution turns \\\\ into \\, and sed turns \\ into \).
27223
27121
      sed -n \
27224
27122
        "s/'/'\\\\''/g;
27225
27123
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27226
 
      ;;
 
27124
      ;; #(
27227
27125
    *)
27228
27126
      # `set' quotes correctly as required by POSIX, so do not add quotes.
27229
 
      sed -n \
27230
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
27127
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27231
27128
      ;;
27232
 
    esac;
27233
 
} |
 
27129
    esac |
 
27130
    sort
 
27131
) |
27234
27132
  sed '
 
27133
     /^ac_cv_env_/b end
27235
27134
     t clear
27236
 
     : clear
 
27135
     :clear
27237
27136
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27238
27137
     t end
27239
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27240
 
     : end' >>confcache
27241
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
27242
 
  if test -w $cache_file; then
27243
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
27138
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
27139
     :end' >>confcache
 
27140
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
27141
  if test -w "$cache_file"; then
 
27142
    test "x$cache_file" != "x/dev/null" &&
 
27143
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
27144
echo "$as_me: updating cache $cache_file" >&6;}
27244
27145
    cat confcache >$cache_file
27245
27146
  else
27246
 
    echo "not updating unwritable cache $cache_file"
 
27147
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
27148
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27247
27149
  fi
27248
27150
fi
27249
27151
rm -f confcache
27252
27154
# Let make expand exec_prefix.
27253
27155
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
27254
27156
 
27255
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
27256
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27257
 
# trailing colons and then remove the whole line if VPATH becomes empty
27258
 
# (actually we leave an empty line to preserve line numbers).
27259
 
if test "x$srcdir" = x.; then
27260
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
27261
 
s/:*\$(srcdir):*/:/;
27262
 
s/:*\${srcdir}:*/:/;
27263
 
s/:*@srcdir@:*/:/;
27264
 
s/^\([^=]*=[     ]*\):*/\1/;
27265
 
s/:*$//;
27266
 
s/^[^=]*=[       ]*$//;
27267
 
}'
27268
 
fi
27269
 
 
27270
27157
DEFS=-DHAVE_CONFIG_H
27271
27158
 
27272
27159
ac_libobjs=
27273
27160
ac_ltlibobjs=
27274
27161
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
27275
27162
  # 1. Remove the extension, and $U if already installed.
27276
 
  ac_i=`echo "$ac_i" |
27277
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
27278
 
  # 2. Add them.
27279
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
27280
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
27163
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
27164
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
27165
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
27166
  #    will be set to the directory where LIBOBJS objects are built.
 
27167
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
27168
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
27281
27169
done
27282
27170
LIBOBJS=$ac_libobjs
27283
27171
 
27329
27217
## M4sh Initialization.  ##
27330
27218
## --------------------- ##
27331
27219
 
27332
 
# Be Bourne compatible
 
27220
# Be more Bourne compatible
 
27221
DUALCASE=1; export DUALCASE # for MKS sh
27333
27222
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
27334
27223
  emulate sh
27335
27224
  NULLCMD=:
27336
27225
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
27337
27226
  # is contrary to our usage.  Disable this feature.
27338
27227
  alias -g '${1+"$@"}'='"$@"'
27339
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
27340
 
  set -o posix
27341
 
fi
27342
 
DUALCASE=1; export DUALCASE # for MKS sh
 
27228
  setopt NO_GLOB_SUBST
 
27229
else
 
27230
  case `(set -o) 2>/dev/null` in
 
27231
  *posix*) set -o posix ;;
 
27232
esac
 
27233
 
 
27234
fi
 
27235
 
 
27236
 
 
27237
 
 
27238
 
 
27239
# PATH needs CR
 
27240
# Avoid depending upon Character Ranges.
 
27241
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
27242
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
27243
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
27244
as_cr_digits='0123456789'
 
27245
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
27246
 
 
27247
# The user is always right.
 
27248
if test "${PATH_SEPARATOR+set}" != set; then
 
27249
  echo "#! /bin/sh" >conf$$.sh
 
27250
  echo  "exit 0"   >>conf$$.sh
 
27251
  chmod +x conf$$.sh
 
27252
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
27253
    PATH_SEPARATOR=';'
 
27254
  else
 
27255
    PATH_SEPARATOR=:
 
27256
  fi
 
27257
  rm -f conf$$.sh
 
27258
fi
27343
27259
 
27344
27260
# Support unset when possible.
27345
27261
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
27349
27265
fi
27350
27266
 
27351
27267
 
 
27268
# IFS
 
27269
# We need space, tab and new line, in precisely that order.  Quoting is
 
27270
# there to prevent editors from complaining about space-tab.
 
27271
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
27272
# splitting by setting IFS to empty value.)
 
27273
as_nl='
 
27274
'
 
27275
IFS=" ""        $as_nl"
 
27276
 
 
27277
# Find who we are.  Look in the path if we contain no directory separator.
 
27278
case $0 in
 
27279
  *[\\/]* ) as_myself=$0 ;;
 
27280
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
27281
for as_dir in $PATH
 
27282
do
 
27283
  IFS=$as_save_IFS
 
27284
  test -z "$as_dir" && as_dir=.
 
27285
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
27286
done
 
27287
IFS=$as_save_IFS
 
27288
 
 
27289
     ;;
 
27290
esac
 
27291
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
27292
# in which case we are not to be found in the path.
 
27293
if test "x$as_myself" = x; then
 
27294
  as_myself=$0
 
27295
fi
 
27296
if test ! -f "$as_myself"; then
 
27297
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
27298
  { (exit 1); exit 1; }
 
27299
fi
 
27300
 
27352
27301
# Work around bugs in pre-3.0 UWIN ksh.
27353
 
$as_unset ENV MAIL MAILPATH
 
27302
for as_var in ENV MAIL MAILPATH
 
27303
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
27304
done
27354
27305
PS1='$ '
27355
27306
PS2='> '
27356
27307
PS4='+ '
27364
27315
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
27365
27316
    eval $as_var=C; export $as_var
27366
27317
  else
27367
 
    $as_unset $as_var
 
27318
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
27368
27319
  fi
27369
27320
done
27370
27321
 
27371
27322
# Required to use basename.
27372
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
27323
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
27324
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
27373
27325
  as_expr=expr
27374
27326
else
27375
27327
  as_expr=false
27376
27328
fi
27377
27329
 
27378
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
27330
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27379
27331
  as_basename=basename
27380
27332
else
27381
27333
  as_basename=false
27383
27335
 
27384
27336
 
27385
27337
# Name of the executable.
27386
 
as_me=`$as_basename "$0" ||
 
27338
as_me=`$as_basename -- "$0" ||
27387
27339
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27388
27340
         X"$0" : 'X\(//\)$' \| \
27389
 
         X"$0" : 'X\(/\)$' \| \
27390
 
         .     : '\(.\)' 2>/dev/null ||
 
27341
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27391
27342
echo X/"$0" |
27392
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
27393
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
27394
 
          /^X\/\(\/\).*/{ s//\1/; q; }
27395
 
          s/.*/./; q'`
27396
 
 
27397
 
 
27398
 
# PATH needs CR, and LINENO needs CR and PATH.
27399
 
# Avoid depending upon Character Ranges.
27400
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
27401
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27402
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
27403
 
as_cr_digits='0123456789'
27404
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
27405
 
 
27406
 
# The user is always right.
27407
 
if test "${PATH_SEPARATOR+set}" != set; then
27408
 
  echo "#! /bin/sh" >conf$$.sh
27409
 
  echo  "exit 0"   >>conf$$.sh
27410
 
  chmod +x conf$$.sh
27411
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27412
 
    PATH_SEPARATOR=';'
27413
 
  else
27414
 
    PATH_SEPARATOR=:
27415
 
  fi
27416
 
  rm -f conf$$.sh
27417
 
fi
27418
 
 
27419
 
 
27420
 
  as_lineno_1=$LINENO
27421
 
  as_lineno_2=$LINENO
27422
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
27423
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
27424
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
27425
 
  # Find who we are.  Look in the path if we contain no path at all
27426
 
  # relative or not.
27427
 
  case $0 in
27428
 
    *[\\/]* ) as_myself=$0 ;;
27429
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27430
 
for as_dir in $PATH
27431
 
do
27432
 
  IFS=$as_save_IFS
27433
 
  test -z "$as_dir" && as_dir=.
27434
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
27435
 
done
27436
 
 
27437
 
       ;;
27438
 
  esac
27439
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
27440
 
  # in which case we are not to be found in the path.
27441
 
  if test "x$as_myself" = x; then
27442
 
    as_myself=$0
27443
 
  fi
27444
 
  if test ! -f "$as_myself"; then
27445
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
27446
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
27447
 
   { (exit 1); exit 1; }; }
27448
 
  fi
27449
 
  case $CONFIG_SHELL in
27450
 
  '')
27451
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27452
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
27453
 
do
27454
 
  IFS=$as_save_IFS
27455
 
  test -z "$as_dir" && as_dir=.
27456
 
  for as_base in sh bash ksh sh5; do
27457
 
         case $as_dir in
27458
 
         /*)
27459
 
           if ("$as_dir/$as_base" -c '
27460
 
  as_lineno_1=$LINENO
27461
 
  as_lineno_2=$LINENO
27462
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
27463
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
27464
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
27465
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
27466
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
27467
 
             CONFIG_SHELL=$as_dir/$as_base
27468
 
             export CONFIG_SHELL
27469
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
27470
 
           fi;;
27471
 
         esac
27472
 
       done
27473
 
done
27474
 
;;
27475
 
  esac
 
27343
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
27344
            s//\1/
 
27345
            q
 
27346
          }
 
27347
          /^X\/\(\/\/\)$/{
 
27348
            s//\1/
 
27349
            q
 
27350
          }
 
27351
          /^X\/\(\/\).*/{
 
27352
            s//\1/
 
27353
            q
 
27354
          }
 
27355
          s/.*/./; q'`
 
27356
 
 
27357
# CDPATH.
 
27358
$as_unset CDPATH
 
27359
 
 
27360
 
 
27361
 
 
27362
  as_lineno_1=$LINENO
 
27363
  as_lineno_2=$LINENO
 
27364
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
27365
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
27476
27366
 
27477
27367
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
27478
27368
  # uniformly replaced by the line number.  The first 'sed' inserts a
27479
 
  # line-number line before each line; the second 'sed' does the real
27480
 
  # work.  The second script uses 'N' to pair each line-number line
27481
 
  # with the numbered line, and appends trailing '-' during
27482
 
  # substitution so that $LINENO is not a special case at line end.
 
27369
  # line-number line after each line using $LINENO; the second 'sed'
 
27370
  # does the real work.  The second script uses 'N' to pair each
 
27371
  # line-number line with the line containing $LINENO, and appends
 
27372
  # trailing '-' during substitution so that $LINENO is not a special
 
27373
  # case at line end.
27483
27374
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
27484
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
27485
 
  sed '=' <$as_myself |
 
27375
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
27376
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
27377
  sed -n '
 
27378
    p
 
27379
    /[$]LINENO/=
 
27380
  ' <$as_myself |
27486
27381
    sed '
 
27382
      s/[$]LINENO.*/&-/
 
27383
      t lineno
 
27384
      b
 
27385
      :lineno
27487
27386
      N
27488
 
      s,$,-,
27489
 
      : loop
27490
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
27387
      :loop
 
27388
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
27491
27389
      t loop
27492
 
      s,-$,,
27493
 
      s,^['$as_cr_digits']*\n,,
 
27390
      s/-\n.*//
27494
27391
    ' >$as_me.lineno &&
27495
 
  chmod +x $as_me.lineno ||
27496
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
27497
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
27392
  chmod +x "$as_me.lineno" ||
 
27393
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
27498
27394
   { (exit 1); exit 1; }; }
27499
27395
 
27500
27396
  # Don't try to exec as it changes $[0], causing all sort of problems
27501
27397
  # (the dirname of $[0] is not the place where we might find the
27502
 
  # original and so on.  Autoconf is especially sensible to this).
27503
 
  . ./$as_me.lineno
 
27398
  # original and so on.  Autoconf is especially sensitive to this).
 
27399
  . "./$as_me.lineno"
27504
27400
  # Exit status is that of the last command.
27505
27401
  exit
27506
27402
}
27507
27403
 
27508
27404
 
27509
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
27510
 
  *c*,-n*) ECHO_N= ECHO_C='
27511
 
' ECHO_T='      ' ;;
27512
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
27513
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
27405
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
27406
  as_dirname=dirname
 
27407
else
 
27408
  as_dirname=false
 
27409
fi
 
27410
 
 
27411
ECHO_C= ECHO_N= ECHO_T=
 
27412
case `echo -n x` in
 
27413
-n*)
 
27414
  case `echo 'x\c'` in
 
27415
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
27416
  *)   ECHO_C='\c';;
 
27417
  esac;;
 
27418
*)
 
27419
  ECHO_N='-n';;
27514
27420
esac
27515
27421
 
27516
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
27422
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
27423
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
27517
27424
  as_expr=expr
27518
27425
else
27519
27426
  as_expr=false
27520
27427
fi
27521
27428
 
27522
27429
rm -f conf$$ conf$$.exe conf$$.file
 
27430
if test -d conf$$.dir; then
 
27431
  rm -f conf$$.dir/conf$$.file
 
27432
else
 
27433
  rm -f conf$$.dir
 
27434
  mkdir conf$$.dir
 
27435
fi
27523
27436
echo >conf$$.file
27524
27437
if ln -s conf$$.file conf$$ 2>/dev/null; then
27525
 
  # We could just check for DJGPP; but this test a) works b) is more generic
27526
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
27527
 
  if test -f conf$$.exe; then
27528
 
    # Don't use ln at all; we don't have any links
 
27438
  as_ln_s='ln -s'
 
27439
  # ... but there are two gotchas:
 
27440
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
27441
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
27442
  # In both cases, we have to default to `cp -p'.
 
27443
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
27529
27444
    as_ln_s='cp -p'
27530
 
  else
27531
 
    as_ln_s='ln -s'
27532
 
  fi
27533
27445
elif ln conf$$.file conf$$ 2>/dev/null; then
27534
27446
  as_ln_s=ln
27535
27447
else
27536
27448
  as_ln_s='cp -p'
27537
27449
fi
27538
 
rm -f conf$$ conf$$.exe conf$$.file
 
27450
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
27451
rmdir conf$$.dir 2>/dev/null
27539
27452
 
27540
27453
if mkdir -p . 2>/dev/null; then
27541
27454
  as_mkdir_p=:
27544
27457
  as_mkdir_p=false
27545
27458
fi
27546
27459
 
27547
 
as_executable_p="test -f"
 
27460
if test -x / >/dev/null 2>&1; then
 
27461
  as_test_x='test -x'
 
27462
else
 
27463
  if ls -dL / >/dev/null 2>&1; then
 
27464
    as_ls_L_option=L
 
27465
  else
 
27466
    as_ls_L_option=
 
27467
  fi
 
27468
  as_test_x='
 
27469
    eval sh -c '\''
 
27470
      if test -d "$1"; then
 
27471
        test -d "$1/.";
 
27472
      else
 
27473
        case $1 in
 
27474
        -*)set "./$1";;
 
27475
        esac;
 
27476
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
27477
        ???[sx]*):;;*)false;;esac;fi
 
27478
    '\'' sh
 
27479
  '
 
27480
fi
 
27481
as_executable_p=$as_test_x
27548
27482
 
27549
27483
# Sed expression to map a string onto a valid CPP name.
27550
27484
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27553
27487
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27554
27488
 
27555
27489
 
27556
 
# IFS
27557
 
# We need space, tab and new line, in precisely that order.
27558
 
as_nl='
27559
 
'
27560
 
IFS="   $as_nl"
27561
 
 
27562
 
# CDPATH.
27563
 
$as_unset CDPATH
27564
 
 
27565
27490
exec 6>&1
27566
27491
 
27567
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
27492
# Save the log message, to keep $[0] and so on meaningful, and to
27568
27493
# report actual input values of CONFIG_FILES etc. instead of their
27569
 
# values after options handling.  Logging --version etc. is OK.
27570
 
exec 5>>config.log
27571
 
{
27572
 
  echo
27573
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27574
 
## Running $as_me. ##
27575
 
_ASBOX
27576
 
} >&5
27577
 
cat >&5 <<_CSEOF
27578
 
 
 
27494
# values after options handling.
 
27495
ac_log="
27579
27496
This file was extended by $as_me, which was
27580
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
27497
generated by GNU Autoconf 2.61.  Invocation command line was
27581
27498
 
27582
27499
  CONFIG_FILES    = $CONFIG_FILES
27583
27500
  CONFIG_HEADERS  = $CONFIG_HEADERS
27585
27502
  CONFIG_COMMANDS = $CONFIG_COMMANDS
27586
27503
  $ $0 $@
27587
27504
 
27588
 
_CSEOF
27589
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
27590
 
echo >&5
 
27505
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
27506
"
 
27507
 
27591
27508
_ACEOF
27592
27509
 
 
27510
cat >>$CONFIG_STATUS <<_ACEOF
27593
27511
# Files that config.status was made for.
27594
 
if test -n "$ac_config_files"; then
27595
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
27596
 
fi
27597
 
 
27598
 
if test -n "$ac_config_headers"; then
27599
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
27600
 
fi
27601
 
 
27602
 
if test -n "$ac_config_links"; then
27603
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
27604
 
fi
27605
 
 
27606
 
if test -n "$ac_config_commands"; then
27607
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
27608
 
fi
 
27512
config_files="$ac_config_files"
 
27513
config_headers="$ac_config_headers"
 
27514
config_commands="$ac_config_commands"
 
27515
 
 
27516
_ACEOF
27609
27517
 
27610
27518
cat >>$CONFIG_STATUS <<\_ACEOF
27611
 
 
27612
27519
ac_cs_usage="\
27613
27520
\`$as_me' instantiates files from templates according to the
27614
27521
current configuration.
27616
27523
Usage: $0 [OPTIONS] [FILE]...
27617
27524
 
27618
27525
  -h, --help       print this help, then exit
27619
 
  -V, --version    print version number, then exit
 
27526
  -V, --version    print version number and configuration settings, then exit
27620
27527
  -q, --quiet      do not print progress messages
27621
27528
  -d, --debug      don't remove temporary files
27622
27529
      --recheck    update $as_me by reconfiguring in the same conditions
27635
27542
$config_commands
27636
27543
 
27637
27544
Report bugs to <bug-autoconf@gnu.org>."
 
27545
 
27638
27546
_ACEOF
27639
 
 
27640
27547
cat >>$CONFIG_STATUS <<_ACEOF
27641
27548
ac_cs_version="\\
27642
27549
config.status
27643
 
configured by $0, generated by GNU Autoconf 2.59,
27644
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
27550
configured by $0, generated by GNU Autoconf 2.61,
 
27551
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27645
27552
 
27646
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
27553
Copyright (C) 2006 Free Software Foundation, Inc.
27647
27554
This config.status script is free software; the Free Software Foundation
27648
27555
gives unlimited permission to copy, distribute and modify it."
27649
 
srcdir=$srcdir
27650
 
INSTALL="$INSTALL"
 
27556
 
 
27557
ac_pwd='$ac_pwd'
 
27558
srcdir='$srcdir'
 
27559
INSTALL='$INSTALL'
27651
27560
_ACEOF
27652
27561
 
27653
27562
cat >>$CONFIG_STATUS <<\_ACEOF
27658
27567
do
27659
27568
  case $1 in
27660
27569
  --*=*)
27661
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
27662
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
27570
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
27571
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
27663
27572
    ac_shift=:
27664
27573
    ;;
27665
 
  -*)
 
27574
  *)
27666
27575
    ac_option=$1
27667
27576
    ac_optarg=$2
27668
27577
    ac_shift=shift
27669
27578
    ;;
27670
 
  *) # This is not an option, so the user has probably given explicit
27671
 
     # arguments.
27672
 
     ac_option=$1
27673
 
     ac_need_defaults=false;;
27674
27579
  esac
27675
27580
 
27676
27581
  case $ac_option in
27677
27582
  # Handling of the options.
27678
 
_ACEOF
27679
 
cat >>$CONFIG_STATUS <<\_ACEOF
27680
27583
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
27681
27584
    ac_cs_recheck=: ;;
27682
 
  --version | --vers* | -V )
27683
 
    echo "$ac_cs_version"; exit 0 ;;
27684
 
  --he | --h)
27685
 
    # Conflict between --help and --header
27686
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
27687
 
Try \`$0 --help' for more information." >&5
27688
 
echo "$as_me: error: ambiguous option: $1
27689
 
Try \`$0 --help' for more information." >&2;}
27690
 
   { (exit 1); exit 1; }; };;
27691
 
  --help | --hel | -h )
27692
 
    echo "$ac_cs_usage"; exit 0 ;;
27693
 
  --debug | --d* | -d )
 
27585
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
27586
    echo "$ac_cs_version"; exit ;;
 
27587
  --debug | --debu | --deb | --de | --d | -d )
27694
27588
    debug=: ;;
27695
27589
  --file | --fil | --fi | --f )
27696
27590
    $ac_shift
27700
27594
    $ac_shift
27701
27595
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
27702
27596
    ac_need_defaults=false;;
 
27597
  --he | --h)
 
27598
    # Conflict between --help and --header
 
27599
    { echo "$as_me: error: ambiguous option: $1
 
27600
Try \`$0 --help' for more information." >&2
 
27601
   { (exit 1); exit 1; }; };;
 
27602
  --help | --hel | -h )
 
27603
    echo "$ac_cs_usage"; exit ;;
27703
27604
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
27704
27605
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
27705
27606
    ac_cs_silent=: ;;
27706
27607
 
27707
27608
  # This is an error.
27708
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
27709
 
Try \`$0 --help' for more information." >&5
27710
 
echo "$as_me: error: unrecognized option: $1
27711
 
Try \`$0 --help' for more information." >&2;}
 
27609
  -*) { echo "$as_me: error: unrecognized option: $1
 
27610
Try \`$0 --help' for more information." >&2
27712
27611
   { (exit 1); exit 1; }; } ;;
27713
27612
 
27714
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
27613
  *) ac_config_targets="$ac_config_targets $1"
 
27614
     ac_need_defaults=false ;;
27715
27615
 
27716
27616
  esac
27717
27617
  shift
27727
27627
_ACEOF
27728
27628
cat >>$CONFIG_STATUS <<_ACEOF
27729
27629
if \$ac_cs_recheck; then
27730
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
27731
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
27630
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
27631
  CONFIG_SHELL=$SHELL
 
27632
  export CONFIG_SHELL
 
27633
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27732
27634
fi
27733
27635
 
27734
27636
_ACEOF
 
27637
cat >>$CONFIG_STATUS <<\_ACEOF
 
27638
exec 5>>config.log
 
27639
{
 
27640
  echo
 
27641
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
27642
## Running $as_me. ##
 
27643
_ASBOX
 
27644
  echo "$ac_log"
 
27645
} >&5
27735
27646
 
 
27647
_ACEOF
27736
27648
cat >>$CONFIG_STATUS <<_ACEOF
27737
27649
#
27738
 
# INIT-COMMANDS section.
 
27650
# INIT-COMMANDS
27739
27651
#
27740
 
 
27741
27652
PACKAGE="$PACKAGE"
27742
27653
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27743
27654
 
27744
27655
_ACEOF
27745
27656
 
27746
 
 
27747
 
 
27748
27657
cat >>$CONFIG_STATUS <<\_ACEOF
 
27658
 
 
27659
# Handling of arguments.
27749
27660
for ac_config_target in $ac_config_targets
27750
27661
do
27751
 
  case "$ac_config_target" in
27752
 
  # Handling of arguments.
27753
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
27754
 
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
27755
 
  "src/demo/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/demo/Makefile" ;;
27756
 
  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
27757
 
  "win32/Makefile" ) CONFIG_FILES="$CONFIG_FILES win32/Makefile" ;;
27758
 
  "test/Makefile" ) CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
27759
 
  "test/data/Makefile" ) CONFIG_FILES="$CONFIG_FILES test/data/Makefile" ;;
27760
 
  "Doxyfile" ) CONFIG_FILES="$CONFIG_FILES Doxyfile" ;;
27761
 
  "doc/helpheader.htm" ) CONFIG_FILES="$CONFIG_FILES doc/helpheader.htm" ;;
27762
 
  "src/CLucene/clucene-config.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS src/CLucene/clucene-config.h" ;;
27763
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
27764
 
  "config.h.tmp" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h.tmp" ;;
 
27662
  case $ac_config_target in
 
27663
    "config.h.tmp") CONFIG_HEADERS="$CONFIG_HEADERS config.h.tmp" ;;
 
27664
    "src/CLucene/clucene-config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS src/CLucene/clucene-config.h" ;;
 
27665
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
27666
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
27667
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
27668
    "src/demo/Makefile") CONFIG_FILES="$CONFIG_FILES src/demo/Makefile" ;;
 
27669
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
 
27670
    "win32/Makefile") CONFIG_FILES="$CONFIG_FILES win32/Makefile" ;;
 
27671
    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
 
27672
    "test/data/Makefile") CONFIG_FILES="$CONFIG_FILES test/data/Makefile" ;;
 
27673
    "Doxyfile") CONFIG_FILES="$CONFIG_FILES Doxyfile" ;;
 
27674
    "doc/helpheader.htm") CONFIG_FILES="$CONFIG_FILES doc/helpheader.htm" ;;
 
27675
 
27765
27676
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
27766
27677
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
27767
27678
   { (exit 1); exit 1; }; };;
27768
27679
  esac
27769
27680
done
27770
27681
 
 
27682
 
27771
27683
# If the user did not use the arguments to specify the items to instantiate,
27772
27684
# then the envvar interface is used.  Set only those that are not.
27773
27685
# We use the long form for the default assignment because of an extremely
27779
27691
fi
27780
27692
 
27781
27693
# Have a temporary directory for convenience.  Make it in the build tree
27782
 
# simply because there is no reason to put it here, and in addition,
 
27694
# simply because there is no reason against having it here, and in addition,
27783
27695
# creating and moving files from /tmp can sometimes cause problems.
27784
 
# Create a temporary directory, and hook for its removal unless debugging.
 
27696
# Hook for its removal unless debugging.
 
27697
# Note that there is a small window in which the directory will not be cleaned:
 
27698
# after its creation but before its name has been assigned to `$tmp'.
27785
27699
$debug ||
27786
27700
{
27787
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
27701
  tmp=
 
27702
  trap 'exit_status=$?
 
27703
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
27704
' 0
27788
27705
  trap '{ (exit 1); exit 1; }' 1 2 13 15
27789
27706
}
27790
 
 
27791
27707
# Create a (secure) tmp directory for tmp files.
27792
27708
 
27793
27709
{
27794
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
27710
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27795
27711
  test -n "$tmp" && test -d "$tmp"
27796
27712
}  ||
27797
27713
{
27798
 
  tmp=./confstat$$-$RANDOM
27799
 
  (umask 077 && mkdir $tmp)
 
27714
  tmp=./conf$$-$RANDOM
 
27715
  (umask 077 && mkdir "$tmp")
27800
27716
} ||
27801
27717
{
27802
27718
   echo "$me: cannot create a temporary directory in ." >&2
27803
27719
   { (exit 1); exit 1; }
27804
27720
}
27805
27721
 
27806
 
_ACEOF
27807
 
 
27808
 
cat >>$CONFIG_STATUS <<_ACEOF
27809
 
 
27810
27722
#
27811
 
# CONFIG_FILES section.
 
27723
# Set up the sed scripts for CONFIG_FILES section.
27812
27724
#
27813
27725
 
27814
27726
# No need to generate the scripts if there are no CONFIG_FILES.
27815
27727
# This happens for instance when ./config.status config.h
27816
 
if test -n "\$CONFIG_FILES"; then
27817
 
  # Protect against being on the right side of a sed subst in config.status.
27818
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
27819
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
27820
 
s,@SHELL@,$SHELL,;t t
27821
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
27822
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
27823
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
27824
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
27825
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
27826
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
27827
 
s,@exec_prefix@,$exec_prefix,;t t
27828
 
s,@prefix@,$prefix,;t t
27829
 
s,@program_transform_name@,$program_transform_name,;t t
27830
 
s,@bindir@,$bindir,;t t
27831
 
s,@sbindir@,$sbindir,;t t
27832
 
s,@libexecdir@,$libexecdir,;t t
27833
 
s,@datadir@,$datadir,;t t
27834
 
s,@sysconfdir@,$sysconfdir,;t t
27835
 
s,@sharedstatedir@,$sharedstatedir,;t t
27836
 
s,@localstatedir@,$localstatedir,;t t
27837
 
s,@libdir@,$libdir,;t t
27838
 
s,@includedir@,$includedir,;t t
27839
 
s,@oldincludedir@,$oldincludedir,;t t
27840
 
s,@infodir@,$infodir,;t t
27841
 
s,@mandir@,$mandir,;t t
27842
 
s,@build_alias@,$build_alias,;t t
27843
 
s,@host_alias@,$host_alias,;t t
27844
 
s,@target_alias@,$target_alias,;t t
27845
 
s,@DEFS@,$DEFS,;t t
27846
 
s,@ECHO_C@,$ECHO_C,;t t
27847
 
s,@ECHO_N@,$ECHO_N,;t t
27848
 
s,@ECHO_T@,$ECHO_T,;t t
27849
 
s,@LIBS@,$LIBS,;t t
27850
 
s,@CLLIB_VERSION@,$CLLIB_VERSION,;t t
27851
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
27852
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
27853
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
27854
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
27855
 
s,@PACKAGE@,$PACKAGE,;t t
27856
 
s,@VERSION@,$VERSION,;t t
27857
 
s,@ACLOCAL@,$ACLOCAL,;t t
27858
 
s,@AUTOCONF@,$AUTOCONF,;t t
27859
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
27860
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
27861
 
s,@MAKEINFO@,$MAKEINFO,;t t
27862
 
s,@install_sh@,$install_sh,;t t
27863
 
s,@STRIP@,$STRIP,;t t
27864
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
27865
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
27866
 
s,@mkdir_p@,$mkdir_p,;t t
27867
 
s,@AWK@,$AWK,;t t
27868
 
s,@SET_MAKE@,$SET_MAKE,;t t
27869
 
s,@am__leading_dot@,$am__leading_dot,;t t
27870
 
s,@AMTAR@,$AMTAR,;t t
27871
 
s,@am__tar@,$am__tar,;t t
27872
 
s,@am__untar@,$am__untar,;t t
27873
 
s,@CC@,$CC,;t t
27874
 
s,@CFLAGS@,$CFLAGS,;t t
27875
 
s,@LDFLAGS@,$LDFLAGS,;t t
27876
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
27877
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
27878
 
s,@EXEEXT@,$EXEEXT,;t t
27879
 
s,@OBJEXT@,$OBJEXT,;t t
27880
 
s,@DEPDIR@,$DEPDIR,;t t
27881
 
s,@am__include@,$am__include,;t t
27882
 
s,@am__quote@,$am__quote,;t t
27883
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
27884
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
27885
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
27886
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
27887
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
27888
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
27889
 
s,@CXX@,$CXX,;t t
27890
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
27891
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
27892
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
27893
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
27894
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
27895
 
s,@build@,$build,;t t
27896
 
s,@build_cpu@,$build_cpu,;t t
27897
 
s,@build_vendor@,$build_vendor,;t t
27898
 
s,@build_os@,$build_os,;t t
27899
 
s,@host@,$host,;t t
27900
 
s,@host_cpu@,$host_cpu,;t t
27901
 
s,@host_vendor@,$host_vendor,;t t
27902
 
s,@host_os@,$host_os,;t t
27903
 
s,@EGREP@,$EGREP,;t t
27904
 
s,@LN_S@,$LN_S,;t t
27905
 
s,@ECHO@,$ECHO,;t t
27906
 
s,@AR@,$AR,;t t
27907
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
27908
 
s,@RANLIB@,$RANLIB,;t t
27909
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
27910
 
s,@CPP@,$CPP,;t t
27911
 
s,@CXXCPP@,$CXXCPP,;t t
27912
 
s,@F77@,$F77,;t t
27913
 
s,@FFLAGS@,$FFLAGS,;t t
27914
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
27915
 
s,@LIBTOOL@,$LIBTOOL,;t t
27916
 
s,@acx_pthread_config@,$acx_pthread_config,;t t
27917
 
s,@PTHREAD_CC@,$PTHREAD_CC,;t t
27918
 
s,@PTHREAD_LIBS@,$PTHREAD_LIBS,;t t
27919
 
s,@PTHREAD_CFLAGS@,$PTHREAD_CFLAGS,;t t
27920
 
s,@DOXYGEN@,$DOXYGEN,;t t
27921
 
s,@DOT@,$DOT,;t t
27922
 
s,@enable_doxygen@,$enable_doxygen,;t t
27923
 
s,@enable_dot@,$enable_dot,;t t
27924
 
s,@POW_LIB@,$POW_LIB,;t t
27925
 
s,@LIBOBJS@,$LIBOBJS,;t t
27926
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
27927
 
CEOF
27928
 
 
27929
 
_ACEOF
27930
 
 
27931
 
  cat >>$CONFIG_STATUS <<\_ACEOF
27932
 
  # Split the substitutions into bite-sized pieces for seds with
27933
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
27934
 
  ac_max_sed_lines=48
27935
 
  ac_sed_frag=1 # Number of current file.
27936
 
  ac_beg=1 # First line for current file.
27937
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
27938
 
  ac_more_lines=:
27939
 
  ac_sed_cmds=
27940
 
  while $ac_more_lines; do
27941
 
    if test $ac_beg -gt 1; then
27942
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
27943
 
    else
27944
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
27945
 
    fi
27946
 
    if test ! -s $tmp/subs.frag; then
27947
 
      ac_more_lines=false
27948
 
    else
27949
 
      # The purpose of the label and of the branching condition is to
27950
 
      # speed up the sed processing (if there are no `@' at all, there
27951
 
      # is no need to browse any of the substitutions).
27952
 
      # These are the two extra sed commands mentioned above.
27953
 
      (echo ':t
27954
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
27955
 
      if test -z "$ac_sed_cmds"; then
27956
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
27957
 
      else
27958
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
27959
 
      fi
27960
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
27961
 
      ac_beg=$ac_end
27962
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
27963
 
    fi
27964
 
  done
27965
 
  if test -z "$ac_sed_cmds"; then
27966
 
    ac_sed_cmds=cat
27967
 
  fi
 
27728
if test -n "$CONFIG_FILES"; then
 
27729
 
 
27730
_ACEOF
 
27731
 
 
27732
 
 
27733
 
 
27734
ac_delim='%!_!# '
 
27735
for ac_last_try in false false false false false :; do
 
27736
  cat >conf$$subs.sed <<_ACEOF
 
27737
SHELL!$SHELL$ac_delim
 
27738
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
27739
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
27740
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
27741
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
27742
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
27743
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
27744
exec_prefix!$exec_prefix$ac_delim
 
27745
prefix!$prefix$ac_delim
 
27746
program_transform_name!$program_transform_name$ac_delim
 
27747
bindir!$bindir$ac_delim
 
27748
sbindir!$sbindir$ac_delim
 
27749
libexecdir!$libexecdir$ac_delim
 
27750
datarootdir!$datarootdir$ac_delim
 
27751
datadir!$datadir$ac_delim
 
27752
sysconfdir!$sysconfdir$ac_delim
 
27753
sharedstatedir!$sharedstatedir$ac_delim
 
27754
localstatedir!$localstatedir$ac_delim
 
27755
includedir!$includedir$ac_delim
 
27756
oldincludedir!$oldincludedir$ac_delim
 
27757
docdir!$docdir$ac_delim
 
27758
infodir!$infodir$ac_delim
 
27759
htmldir!$htmldir$ac_delim
 
27760
dvidir!$dvidir$ac_delim
 
27761
pdfdir!$pdfdir$ac_delim
 
27762
psdir!$psdir$ac_delim
 
27763
libdir!$libdir$ac_delim
 
27764
localedir!$localedir$ac_delim
 
27765
mandir!$mandir$ac_delim
 
27766
DEFS!$DEFS$ac_delim
 
27767
ECHO_C!$ECHO_C$ac_delim
 
27768
ECHO_N!$ECHO_N$ac_delim
 
27769
ECHO_T!$ECHO_T$ac_delim
 
27770
LIBS!$LIBS$ac_delim
 
27771
build_alias!$build_alias$ac_delim
 
27772
host_alias!$host_alias$ac_delim
 
27773
target_alias!$target_alias$ac_delim
 
27774
CLLIB_VERSION!$CLLIB_VERSION$ac_delim
 
27775
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
27776
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
27777
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
27778
CYGPATH_W!$CYGPATH_W$ac_delim
 
27779
PACKAGE!$PACKAGE$ac_delim
 
27780
VERSION!$VERSION$ac_delim
 
27781
ACLOCAL!$ACLOCAL$ac_delim
 
27782
AUTOCONF!$AUTOCONF$ac_delim
 
27783
AUTOMAKE!$AUTOMAKE$ac_delim
 
27784
AUTOHEADER!$AUTOHEADER$ac_delim
 
27785
MAKEINFO!$MAKEINFO$ac_delim
 
27786
install_sh!$install_sh$ac_delim
 
27787
STRIP!$STRIP$ac_delim
 
27788
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
27789
mkdir_p!$mkdir_p$ac_delim
 
27790
AWK!$AWK$ac_delim
 
27791
SET_MAKE!$SET_MAKE$ac_delim
 
27792
am__leading_dot!$am__leading_dot$ac_delim
 
27793
AMTAR!$AMTAR$ac_delim
 
27794
am__tar!$am__tar$ac_delim
 
27795
am__untar!$am__untar$ac_delim
 
27796
CC!$CC$ac_delim
 
27797
CFLAGS!$CFLAGS$ac_delim
 
27798
LDFLAGS!$LDFLAGS$ac_delim
 
27799
CPPFLAGS!$CPPFLAGS$ac_delim
 
27800
ac_ct_CC!$ac_ct_CC$ac_delim
 
27801
EXEEXT!$EXEEXT$ac_delim
 
27802
OBJEXT!$OBJEXT$ac_delim
 
27803
DEPDIR!$DEPDIR$ac_delim
 
27804
am__include!$am__include$ac_delim
 
27805
am__quote!$am__quote$ac_delim
 
27806
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
27807
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
27808
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
27809
CCDEPMODE!$CCDEPMODE$ac_delim
 
27810
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
27811
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
27812
CXX!$CXX$ac_delim
 
27813
CXXFLAGS!$CXXFLAGS$ac_delim
 
27814
ac_ct_CXX!$ac_ct_CXX$ac_delim
 
27815
CXXDEPMODE!$CXXDEPMODE$ac_delim
 
27816
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
 
27817
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
 
27818
build!$build$ac_delim
 
27819
build_cpu!$build_cpu$ac_delim
 
27820
build_vendor!$build_vendor$ac_delim
 
27821
build_os!$build_os$ac_delim
 
27822
host!$host$ac_delim
 
27823
host_cpu!$host_cpu$ac_delim
 
27824
host_vendor!$host_vendor$ac_delim
 
27825
host_os!$host_os$ac_delim
 
27826
SED!$SED$ac_delim
 
27827
GREP!$GREP$ac_delim
 
27828
EGREP!$EGREP$ac_delim
 
27829
LN_S!$LN_S$ac_delim
 
27830
ECHO!$ECHO$ac_delim
 
27831
AR!$AR$ac_delim
 
27832
RANLIB!$RANLIB$ac_delim
 
27833
DSYMUTIL!$DSYMUTIL$ac_delim
 
27834
_ACEOF
 
27835
 
 
27836
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
27837
    break
 
27838
  elif $ac_last_try; then
 
27839
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
27840
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
27841
   { (exit 1); exit 1; }; }
 
27842
  else
 
27843
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
27844
  fi
 
27845
done
 
27846
 
 
27847
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
27848
if test -n "$ac_eof"; then
 
27849
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
27850
  ac_eof=`expr $ac_eof + 1`
 
27851
fi
 
27852
 
 
27853
cat >>$CONFIG_STATUS <<_ACEOF
 
27854
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
27855
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
27856
_ACEOF
 
27857
sed '
 
27858
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
27859
s/^/s,@/; s/!/@,|#_!!_#|/
 
27860
:n
 
27861
t n
 
27862
s/'"$ac_delim"'$/,g/; t
 
27863
s/$/\\/; p
 
27864
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
27865
' >>$CONFIG_STATUS <conf$$subs.sed
 
27866
rm -f conf$$subs.sed
 
27867
cat >>$CONFIG_STATUS <<_ACEOF
 
27868
CEOF$ac_eof
 
27869
_ACEOF
 
27870
 
 
27871
 
 
27872
ac_delim='%!_!# '
 
27873
for ac_last_try in false false false false false :; do
 
27874
  cat >conf$$subs.sed <<_ACEOF
 
27875
NMEDIT!$NMEDIT$ac_delim
 
27876
CPP!$CPP$ac_delim
 
27877
CXXCPP!$CXXCPP$ac_delim
 
27878
F77!$F77$ac_delim
 
27879
FFLAGS!$FFLAGS$ac_delim
 
27880
ac_ct_F77!$ac_ct_F77$ac_delim
 
27881
LIBTOOL!$LIBTOOL$ac_delim
 
27882
acx_pthread_config!$acx_pthread_config$ac_delim
 
27883
PTHREAD_CC!$PTHREAD_CC$ac_delim
 
27884
PTHREAD_LIBS!$PTHREAD_LIBS$ac_delim
 
27885
PTHREAD_CFLAGS!$PTHREAD_CFLAGS$ac_delim
 
27886
DOXYGEN!$DOXYGEN$ac_delim
 
27887
DOT!$DOT$ac_delim
 
27888
enable_doxygen!$enable_doxygen$ac_delim
 
27889
enable_dot!$enable_dot$ac_delim
 
27890
POW_LIB!$POW_LIB$ac_delim
 
27891
LIBOBJS!$LIBOBJS$ac_delim
 
27892
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
27893
_ACEOF
 
27894
 
 
27895
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 18; then
 
27896
    break
 
27897
  elif $ac_last_try; then
 
27898
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
27899
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
27900
   { (exit 1); exit 1; }; }
 
27901
  else
 
27902
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
27903
  fi
 
27904
done
 
27905
 
 
27906
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
27907
if test -n "$ac_eof"; then
 
27908
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
27909
  ac_eof=`expr $ac_eof + 1`
 
27910
fi
 
27911
 
 
27912
cat >>$CONFIG_STATUS <<_ACEOF
 
27913
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
27914
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
27915
_ACEOF
 
27916
sed '
 
27917
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
27918
s/^/s,@/; s/!/@,|#_!!_#|/
 
27919
:n
 
27920
t n
 
27921
s/'"$ac_delim"'$/,g/; t
 
27922
s/$/\\/; p
 
27923
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
27924
' >>$CONFIG_STATUS <conf$$subs.sed
 
27925
rm -f conf$$subs.sed
 
27926
cat >>$CONFIG_STATUS <<_ACEOF
 
27927
:end
 
27928
s/|#_!!_#|//g
 
27929
CEOF$ac_eof
 
27930
_ACEOF
 
27931
 
 
27932
 
 
27933
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
27934
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
27935
# trailing colons and then remove the whole line if VPATH becomes empty
 
27936
# (actually we leave an empty line to preserve line numbers).
 
27937
if test "x$srcdir" = x.; then
 
27938
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
27939
s/:*\$(srcdir):*/:/
 
27940
s/:*\${srcdir}:*/:/
 
27941
s/:*@srcdir@:*/:/
 
27942
s/^\([^=]*=[     ]*\):*/\1/
 
27943
s/:*$//
 
27944
s/^[^=]*=[       ]*$//
 
27945
}'
 
27946
fi
 
27947
 
 
27948
cat >>$CONFIG_STATUS <<\_ACEOF
27968
27949
fi # test -n "$CONFIG_FILES"
27969
27950
 
27970
 
_ACEOF
27971
 
cat >>$CONFIG_STATUS <<\_ACEOF
27972
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
27973
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
27974
 
  case $ac_file in
27975
 
  - | *:- | *:-:* ) # input from stdin
27976
 
        cat >$tmp/stdin
27977
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
27978
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
27979
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
27980
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
27981
 
  * )   ac_file_in=$ac_file.in ;;
27982
 
  esac
27983
 
 
27984
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
27985
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
27951
 
 
27952
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
27953
do
 
27954
  case $ac_tag in
 
27955
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
27956
  esac
 
27957
  case $ac_mode$ac_tag in
 
27958
  :[FHL]*:*);;
 
27959
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
27960
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
27961
   { (exit 1); exit 1; }; };;
 
27962
  :[FH]-) ac_tag=-:-;;
 
27963
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
27964
  esac
 
27965
  ac_save_IFS=$IFS
 
27966
  IFS=:
 
27967
  set x $ac_tag
 
27968
  IFS=$ac_save_IFS
 
27969
  shift
 
27970
  ac_file=$1
 
27971
  shift
 
27972
 
 
27973
  case $ac_mode in
 
27974
  :L) ac_source=$1;;
 
27975
  :[FH])
 
27976
    ac_file_inputs=
 
27977
    for ac_f
 
27978
    do
 
27979
      case $ac_f in
 
27980
      -) ac_f="$tmp/stdin";;
 
27981
      *) # Look for the file first in the build tree, then in the source tree
 
27982
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
27983
         # because $ac_f cannot contain `:'.
 
27984
         test -f "$ac_f" ||
 
27985
           case $ac_f in
 
27986
           [\\/$]*) false;;
 
27987
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
27988
           esac ||
 
27989
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
27990
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
27991
   { (exit 1); exit 1; }; };;
 
27992
      esac
 
27993
      ac_file_inputs="$ac_file_inputs $ac_f"
 
27994
    done
 
27995
 
 
27996
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
27997
    # use $as_me), people would be surprised to read:
 
27998
    #    /* config.h.  Generated by config.status.  */
 
27999
    configure_input="Generated from "`IFS=:
 
28000
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
28001
    if test x"$ac_file" != x-; then
 
28002
      configure_input="$ac_file.  $configure_input"
 
28003
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
28004
echo "$as_me: creating $ac_file" >&6;}
 
28005
    fi
 
28006
 
 
28007
    case $ac_tag in
 
28008
    *:-:* | *:-) cat >"$tmp/stdin";;
 
28009
    esac
 
28010
    ;;
 
28011
  esac
 
28012
 
 
28013
  ac_dir=`$as_dirname -- "$ac_file" ||
27986
28014
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27987
28015
         X"$ac_file" : 'X\(//\)[^/]' \| \
27988
28016
         X"$ac_file" : 'X\(//\)$' \| \
27989
 
         X"$ac_file" : 'X\(/\)' \| \
27990
 
         .     : '\(.\)' 2>/dev/null ||
 
28017
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27991
28018
echo X"$ac_file" |
27992
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27993
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27994
 
          /^X\(\/\/\)$/{ s//\1/; q; }
27995
 
          /^X\(\/\).*/{ s//\1/; q; }
27996
 
          s/.*/./; q'`
27997
 
  { if $as_mkdir_p; then
27998
 
    mkdir -p "$ac_dir"
27999
 
  else
28000
 
    as_dir="$ac_dir"
 
28019
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
28020
            s//\1/
 
28021
            q
 
28022
          }
 
28023
          /^X\(\/\/\)[^/].*/{
 
28024
            s//\1/
 
28025
            q
 
28026
          }
 
28027
          /^X\(\/\/\)$/{
 
28028
            s//\1/
 
28029
            q
 
28030
          }
 
28031
          /^X\(\/\).*/{
 
28032
            s//\1/
 
28033
            q
 
28034
          }
 
28035
          s/.*/./; q'`
 
28036
  { as_dir="$ac_dir"
 
28037
  case $as_dir in #(
 
28038
  -*) as_dir=./$as_dir;;
 
28039
  esac
 
28040
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
28001
28041
    as_dirs=
28002
 
    while test ! -d "$as_dir"; do
28003
 
      as_dirs="$as_dir $as_dirs"
28004
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
28042
    while :; do
 
28043
      case $as_dir in #(
 
28044
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
28045
      *) as_qdir=$as_dir;;
 
28046
      esac
 
28047
      as_dirs="'$as_qdir' $as_dirs"
 
28048
      as_dir=`$as_dirname -- "$as_dir" ||
28005
28049
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28006
28050
         X"$as_dir" : 'X\(//\)[^/]' \| \
28007
28051
         X"$as_dir" : 'X\(//\)$' \| \
28008
 
         X"$as_dir" : 'X\(/\)' \| \
28009
 
         .     : '\(.\)' 2>/dev/null ||
 
28052
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
28010
28053
echo X"$as_dir" |
28011
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28012
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28013
 
          /^X\(\/\/\)$/{ s//\1/; q; }
28014
 
          /^X\(\/\).*/{ s//\1/; q; }
28015
 
          s/.*/./; q'`
 
28054
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
28055
            s//\1/
 
28056
            q
 
28057
          }
 
28058
          /^X\(\/\/\)[^/].*/{
 
28059
            s//\1/
 
28060
            q
 
28061
          }
 
28062
          /^X\(\/\/\)$/{
 
28063
            s//\1/
 
28064
            q
 
28065
          }
 
28066
          /^X\(\/\).*/{
 
28067
            s//\1/
 
28068
            q
 
28069
          }
 
28070
          s/.*/./; q'`
 
28071
      test -d "$as_dir" && break
28016
28072
    done
28017
 
    test ! -n "$as_dirs" || mkdir $as_dirs
28018
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
28019
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
28073
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
28074
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
28075
echo "$as_me: error: cannot create directory $as_dir" >&2;}
28020
28076
   { (exit 1); exit 1; }; }; }
28021
 
 
28022
28077
  ac_builddir=.
28023
28078
 
28024
 
if test "$ac_dir" != .; then
 
28079
case "$ac_dir" in
 
28080
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
28081
*)
28025
28082
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
28026
 
  # A "../" for each directory in $ac_dir_suffix.
28027
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
28028
 
else
28029
 
  ac_dir_suffix= ac_top_builddir=
28030
 
fi
 
28083
  # A ".." for each directory in $ac_dir_suffix.
 
28084
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
28085
  case $ac_top_builddir_sub in
 
28086
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
28087
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
28088
  esac ;;
 
28089
esac
 
28090
ac_abs_top_builddir=$ac_pwd
 
28091
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
28092
# for backward compatibility:
 
28093
ac_top_builddir=$ac_top_build_prefix
28031
28094
 
28032
28095
case $srcdir in
28033
 
  .)  # No --srcdir option.  We are building in place.
 
28096
  .)  # We are building in place.
28034
28097
    ac_srcdir=.
28035
 
    if test -z "$ac_top_builddir"; then
28036
 
       ac_top_srcdir=.
28037
 
    else
28038
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
28039
 
    fi ;;
28040
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
28098
    ac_top_srcdir=$ac_top_builddir_sub
 
28099
    ac_abs_top_srcdir=$ac_pwd ;;
 
28100
  [\\/]* | ?:[\\/]* )  # Absolute name.
28041
28101
    ac_srcdir=$srcdir$ac_dir_suffix;
28042
 
    ac_top_srcdir=$srcdir ;;
28043
 
  *) # Relative path.
28044
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
28045
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
28046
 
esac
28047
 
 
28048
 
# Do not use `cd foo && pwd` to compute absolute paths, because
28049
 
# the directories may not exist.
28050
 
case `pwd` in
28051
 
.) ac_abs_builddir="$ac_dir";;
28052
 
*)
28053
 
  case "$ac_dir" in
28054
 
  .) ac_abs_builddir=`pwd`;;
28055
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
28056
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
28057
 
  esac;;
28058
 
esac
28059
 
case $ac_abs_builddir in
28060
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
28061
 
*)
28062
 
  case ${ac_top_builddir}. in
28063
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
28064
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
28065
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
28066
 
  esac;;
28067
 
esac
28068
 
case $ac_abs_builddir in
28069
 
.) ac_abs_srcdir=$ac_srcdir;;
28070
 
*)
28071
 
  case $ac_srcdir in
28072
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
28073
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
28074
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
28075
 
  esac;;
28076
 
esac
28077
 
case $ac_abs_builddir in
28078
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
28079
 
*)
28080
 
  case $ac_top_srcdir in
28081
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
28082
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
28083
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
28084
 
  esac;;
28085
 
esac
28086
 
 
 
28102
    ac_top_srcdir=$srcdir
 
28103
    ac_abs_top_srcdir=$srcdir ;;
 
28104
  *) # Relative name.
 
28105
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
28106
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
28107
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
28108
esac
 
28109
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
28110
 
 
28111
 
 
28112
  case $ac_mode in
 
28113
  :F)
 
28114
  #
 
28115
  # CONFIG_FILE
 
28116
  #
28087
28117
 
28088
28118
  case $INSTALL in
28089
28119
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
28090
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
28120
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
28091
28121
  esac
28092
 
 
28093
 
  if test x"$ac_file" != x-; then
28094
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
28095
 
echo "$as_me: creating $ac_file" >&6;}
28096
 
    rm -f "$ac_file"
28097
 
  fi
28098
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
28099
 
  # use $as_me), people would be surprised to read:
28100
 
  #    /* config.h.  Generated by config.status.  */
28101
 
  if test x"$ac_file" = x-; then
28102
 
    configure_input=
28103
 
  else
28104
 
    configure_input="$ac_file.  "
28105
 
  fi
28106
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
28107
 
                                     sed 's,.*/,,'` by configure."
28108
 
 
28109
 
  # First look for the input files in the build tree, otherwise in the
28110
 
  # src tree.
28111
 
  ac_file_inputs=`IFS=:
28112
 
    for f in $ac_file_in; do
28113
 
      case $f in
28114
 
      -) echo $tmp/stdin ;;
28115
 
      [\\/$]*)
28116
 
         # Absolute (can't be DOS-style, as IFS=:)
28117
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
28118
 
echo "$as_me: error: cannot find input file: $f" >&2;}
28119
 
   { (exit 1); exit 1; }; }
28120
 
         echo "$f";;
28121
 
      *) # Relative
28122
 
         if test -f "$f"; then
28123
 
           # Build tree
28124
 
           echo "$f"
28125
 
         elif test -f "$srcdir/$f"; then
28126
 
           # Source tree
28127
 
           echo "$srcdir/$f"
28128
 
         else
28129
 
           # /dev/null tree
28130
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
28131
 
echo "$as_me: error: cannot find input file: $f" >&2;}
28132
 
   { (exit 1); exit 1; }; }
28133
 
         fi;;
28134
 
      esac
28135
 
    done` || { (exit 1); exit 1; }
28136
 
_ACEOF
 
28122
_ACEOF
 
28123
 
 
28124
cat >>$CONFIG_STATUS <<\_ACEOF
 
28125
# If the template does not know about datarootdir, expand it.
 
28126
# FIXME: This hack should be removed a few years after 2.60.
 
28127
ac_datarootdir_hack=; ac_datarootdir_seen=
 
28128
 
 
28129
case `sed -n '/datarootdir/ {
 
28130
  p
 
28131
  q
 
28132
}
 
28133
/@datadir@/p
 
28134
/@docdir@/p
 
28135
/@infodir@/p
 
28136
/@localedir@/p
 
28137
/@mandir@/p
 
28138
' $ac_file_inputs` in
 
28139
*datarootdir*) ac_datarootdir_seen=yes;;
 
28140
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
28141
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
28142
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
28143
_ACEOF
 
28144
cat >>$CONFIG_STATUS <<_ACEOF
 
28145
  ac_datarootdir_hack='
 
28146
  s&@datadir@&$datadir&g
 
28147
  s&@docdir@&$docdir&g
 
28148
  s&@infodir@&$infodir&g
 
28149
  s&@localedir@&$localedir&g
 
28150
  s&@mandir@&$mandir&g
 
28151
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
28152
esac
 
28153
_ACEOF
 
28154
 
 
28155
# Neutralize VPATH when `$srcdir' = `.'.
 
28156
# Shell code in configure.ac might set extrasub.
 
28157
# FIXME: do we really want to maintain this feature?
28137
28158
cat >>$CONFIG_STATUS <<_ACEOF
28138
28159
  sed "$ac_vpsub
28139
28160
$extrasub
28141
28162
cat >>$CONFIG_STATUS <<\_ACEOF
28142
28163
:t
28143
28164
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28144
 
s,@configure_input@,$configure_input,;t t
28145
 
s,@srcdir@,$ac_srcdir,;t t
28146
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
28147
 
s,@top_srcdir@,$ac_top_srcdir,;t t
28148
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
28149
 
s,@builddir@,$ac_builddir,;t t
28150
 
s,@abs_builddir@,$ac_abs_builddir,;t t
28151
 
s,@top_builddir@,$ac_top_builddir,;t t
28152
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
28153
 
s,@INSTALL@,$ac_INSTALL,;t t
28154
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
28155
 
  rm -f $tmp/stdin
28156
 
  if test x"$ac_file" != x-; then
28157
 
    mv $tmp/out $ac_file
28158
 
  else
28159
 
    cat $tmp/out
28160
 
    rm -f $tmp/out
28161
 
  fi
28162
 
 
28163
 
done
 
28165
s&@configure_input@&$configure_input&;t t
 
28166
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
28167
s&@srcdir@&$ac_srcdir&;t t
 
28168
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
28169
s&@top_srcdir@&$ac_top_srcdir&;t t
 
28170
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
28171
s&@builddir@&$ac_builddir&;t t
 
28172
s&@abs_builddir@&$ac_abs_builddir&;t t
 
28173
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
28174
s&@INSTALL@&$ac_INSTALL&;t t
 
28175
$ac_datarootdir_hack
 
28176
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
28177
 
 
28178
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
28179
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
28180
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
28181
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
28182
which seems to be undefined.  Please make sure it is defined." >&5
 
28183
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
28184
which seems to be undefined.  Please make sure it is defined." >&2;}
 
28185
 
 
28186
  rm -f "$tmp/stdin"
 
28187
  case $ac_file in
 
28188
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
28189
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
28190
  esac
 
28191
 ;;
 
28192
  :H)
 
28193
  #
 
28194
  # CONFIG_HEADER
 
28195
  #
28164
28196
_ACEOF
28165
 
cat >>$CONFIG_STATUS <<\_ACEOF
28166
 
 
28167
 
#
28168
 
# CONFIG_HEADER section.
28169
 
#
28170
 
 
28171
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
28172
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
28173
 
#
28174
 
# ac_d sets the value in "#define NAME VALUE" lines.
28175
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
28176
 
ac_dB='[         ].*$,\1#\2'
 
28197
 
 
28198
# Transform confdefs.h into a sed script `conftest.defines', that
 
28199
# substitutes the proper values into config.h.in to produce config.h.
 
28200
rm -f conftest.defines conftest.tail
 
28201
# First, append a space to every undef/define line, to ease matching.
 
28202
echo 's/$/ /' >conftest.defines
 
28203
# Then, protect against being on the right side of a sed subst, or in
 
28204
# an unquoted here document, in config.status.  If some macros were
 
28205
# called several times there might be several #defines for the same
 
28206
# symbol, which is useless.  But do not sort them, since the last
 
28207
# AC_DEFINE must be honored.
 
28208
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
28209
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
28210
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
28211
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
28212
# just an empty string.
 
28213
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
28214
ac_dB='\\)[      (].*,\\1define\\2'
28177
28215
ac_dC=' '
28178
 
ac_dD=',;t'
28179
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
28180
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
28181
 
ac_uB='$,\1#\2define\3'
28182
 
ac_uC=' '
28183
 
ac_uD=',;t'
28184
 
 
28185
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
28186
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
28187
 
  case $ac_file in
28188
 
  - | *:- | *:-:* ) # input from stdin
28189
 
        cat >$tmp/stdin
28190
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
28191
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
28192
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
28193
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
28194
 
  * )   ac_file_in=$ac_file.in ;;
28195
 
  esac
28196
 
 
28197
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
28198
 
echo "$as_me: creating $ac_file" >&6;}
28199
 
 
28200
 
  # First look for the input files in the build tree, otherwise in the
28201
 
  # src tree.
28202
 
  ac_file_inputs=`IFS=:
28203
 
    for f in $ac_file_in; do
28204
 
      case $f in
28205
 
      -) echo $tmp/stdin ;;
28206
 
      [\\/$]*)
28207
 
         # Absolute (can't be DOS-style, as IFS=:)
28208
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
28209
 
echo "$as_me: error: cannot find input file: $f" >&2;}
28210
 
   { (exit 1); exit 1; }; }
28211
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
28212
 
         echo "$f";;
28213
 
      *) # Relative
28214
 
         if test -f "$f"; then
28215
 
           # Build tree
28216
 
           echo "$f"
28217
 
         elif test -f "$srcdir/$f"; then
28218
 
           # Source tree
28219
 
           echo "$srcdir/$f"
28220
 
         else
28221
 
           # /dev/null tree
28222
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
28223
 
echo "$as_me: error: cannot find input file: $f" >&2;}
28224
 
   { (exit 1); exit 1; }; }
28225
 
         fi;;
28226
 
      esac
28227
 
    done` || { (exit 1); exit 1; }
28228
 
  # Remove the trailing spaces.
28229
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
28230
 
 
28231
 
_ACEOF
28232
 
 
28233
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
28234
 
# `conftest.undefs', that substitutes the proper values into
28235
 
# config.h.in to produce config.h.  The first handles `#define'
28236
 
# templates, and the second `#undef' templates.
28237
 
# And first: Protect against being on the right side of a sed subst in
28238
 
# config.status.  Protect against being in an unquoted here document
28239
 
# in config.status.
28240
 
rm -f conftest.defines conftest.undefs
28241
 
# Using a here document instead of a string reduces the quoting nightmare.
28242
 
# Putting comments in sed scripts is not portable.
28243
 
#
28244
 
# `end' is used to avoid that the second main sed command (meant for
28245
 
# 0-ary CPP macros) applies to n-ary macro definitions.
28246
 
# See the Autoconf documentation for `clear'.
28247
 
cat >confdef2sed.sed <<\_ACEOF
28248
 
s/[\\&,]/\\&/g
28249
 
s,[\\$`],\\&,g
28250
 
t clear
28251
 
: clear
28252
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
28253
 
t end
28254
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
28255
 
: end
28256
 
_ACEOF
28257
 
# If some macros were called several times there might be several times
28258
 
# the same #defines, which is useless.  Nevertheless, we may not want to
28259
 
# sort them, since we want the *last* AC-DEFINE to be honored.
28260
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
28261
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
28262
 
rm -f confdef2sed.sed
28263
 
 
28264
 
# This sed command replaces #undef with comments.  This is necessary, for
 
28216
ac_dD=' ,'
 
28217
 
 
28218
uniq confdefs.h |
 
28219
  sed -n '
 
28220
        t rset
 
28221
        :rset
 
28222
        s/^[     ]*#[    ]*define[       ][      ]*//
 
28223
        t ok
 
28224
        d
 
28225
        :ok
 
28226
        s/[\\&,]/\\&/g
 
28227
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
28228
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
28229
  ' >>conftest.defines
 
28230
 
 
28231
# Remove the space that was appended to ease matching.
 
28232
# Then replace #undef with comments.  This is necessary, for
28265
28233
# example, in the case of _POSIX_SOURCE, which is predefined and required
28266
28234
# on some systems where configure will not decide to define it.
28267
 
cat >>conftest.undefs <<\_ACEOF
28268
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
28235
# (The regexp can be short, since the line contains either #define or #undef.)
 
28236
echo 's/ $//
 
28237
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
28238
 
 
28239
# Break up conftest.defines:
 
28240
ac_max_sed_lines=50
 
28241
 
 
28242
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
28243
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
28244
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
28245
# et cetera.
 
28246
ac_in='$ac_file_inputs'
 
28247
ac_out='"$tmp/out1"'
 
28248
ac_nxt='"$tmp/out2"'
 
28249
 
 
28250
while :
 
28251
do
 
28252
  # Write a here document:
 
28253
    cat >>$CONFIG_STATUS <<_ACEOF
 
28254
    # First, check the format of the line:
 
28255
    cat >"\$tmp/defines.sed" <<\\CEOF
 
28256
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
28257
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
28258
b
 
28259
:def
28269
28260
_ACEOF
28270
 
 
28271
 
# Break up conftest.defines because some shells have a limit on the size
28272
 
# of here documents, and old seds have small limits too (100 cmds).
28273
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
28274
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
28275
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
28276
 
echo '  :' >>$CONFIG_STATUS
28277
 
rm -f conftest.tail
28278
 
while grep . conftest.defines >/dev/null
28279
 
do
28280
 
  # Write a limited-size here document to $tmp/defines.sed.
28281
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
28282
 
  # Speed up: don't consider the non `#define' lines.
28283
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
28284
 
  # Work around the forget-to-reset-the-flag bug.
28285
 
  echo 't clr' >>$CONFIG_STATUS
28286
 
  echo ': clr' >>$CONFIG_STATUS
28287
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
28261
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
28288
28262
  echo 'CEOF
28289
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
28290
 
  rm -f $tmp/in
28291
 
  mv $tmp/out $tmp/in
28292
 
' >>$CONFIG_STATUS
28293
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
28263
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
28264
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
28265
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
28266
  grep . conftest.tail >/dev/null || break
28294
28267
  rm -f conftest.defines
28295
28268
  mv conftest.tail conftest.defines
28296
28269
done
28297
 
rm -f conftest.defines
28298
 
echo '  fi # grep' >>$CONFIG_STATUS
28299
 
echo >>$CONFIG_STATUS
28300
 
 
28301
 
# Break up conftest.undefs because some shells have a limit on the size
28302
 
# of here documents, and old seds have small limits too (100 cmds).
28303
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
28304
 
rm -f conftest.tail
28305
 
while grep . conftest.undefs >/dev/null
28306
 
do
28307
 
  # Write a limited-size here document to $tmp/undefs.sed.
28308
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
28309
 
  # Speed up: don't consider the non `#undef'
28310
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
28311
 
  # Work around the forget-to-reset-the-flag bug.
28312
 
  echo 't clr' >>$CONFIG_STATUS
28313
 
  echo ': clr' >>$CONFIG_STATUS
28314
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
28315
 
  echo 'CEOF
28316
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
28317
 
  rm -f $tmp/in
28318
 
  mv $tmp/out $tmp/in
28319
 
' >>$CONFIG_STATUS
28320
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
28321
 
  rm -f conftest.undefs
28322
 
  mv conftest.tail conftest.undefs
28323
 
done
28324
 
rm -f conftest.undefs
28325
 
 
 
28270
rm -f conftest.defines conftest.tail
 
28271
 
 
28272
echo "ac_result=$ac_in" >>$CONFIG_STATUS
28326
28273
cat >>$CONFIG_STATUS <<\_ACEOF
28327
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
28328
 
  # use $as_me), people would be surprised to read:
28329
 
  #    /* config.h.  Generated by config.status.  */
28330
 
  if test x"$ac_file" = x-; then
28331
 
    echo "/* Generated by configure.  */" >$tmp/config.h
28332
 
  else
28333
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
28334
 
  fi
28335
 
  cat $tmp/in >>$tmp/config.h
28336
 
  rm -f $tmp/in
28337
28274
  if test x"$ac_file" != x-; then
28338
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
28275
    echo "/* $configure_input  */" >"$tmp/config.h"
 
28276
    cat "$ac_result" >>"$tmp/config.h"
 
28277
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
28339
28278
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
28340
28279
echo "$as_me: $ac_file is unchanged" >&6;}
28341
28280
    else
28342
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
28343
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28344
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
28345
 
         X"$ac_file" : 'X\(//\)$' \| \
28346
 
         X"$ac_file" : 'X\(/\)' \| \
28347
 
         .     : '\(.\)' 2>/dev/null ||
28348
 
echo X"$ac_file" |
28349
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28350
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28351
 
          /^X\(\/\/\)$/{ s//\1/; q; }
28352
 
          /^X\(\/\).*/{ s//\1/; q; }
28353
 
          s/.*/./; q'`
28354
 
      { if $as_mkdir_p; then
28355
 
    mkdir -p "$ac_dir"
28356
 
  else
28357
 
    as_dir="$ac_dir"
28358
 
    as_dirs=
28359
 
    while test ! -d "$as_dir"; do
28360
 
      as_dirs="$as_dir $as_dirs"
28361
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
28362
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28363
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
28364
 
         X"$as_dir" : 'X\(//\)$' \| \
28365
 
         X"$as_dir" : 'X\(/\)' \| \
28366
 
         .     : '\(.\)' 2>/dev/null ||
28367
 
echo X"$as_dir" |
28368
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28369
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28370
 
          /^X\(\/\/\)$/{ s//\1/; q; }
28371
 
          /^X\(\/\).*/{ s//\1/; q; }
28372
 
          s/.*/./; q'`
28373
 
    done
28374
 
    test ! -n "$as_dirs" || mkdir $as_dirs
28375
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
28376
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
28377
 
   { (exit 1); exit 1; }; }; }
28378
 
 
28379
28281
      rm -f $ac_file
28380
 
      mv $tmp/config.h $ac_file
 
28282
      mv "$tmp/config.h" $ac_file
28381
28283
    fi
28382
28284
  else
28383
 
    cat $tmp/config.h
28384
 
    rm -f $tmp/config.h
 
28285
    echo "/* $configure_input  */"
 
28286
    cat "$ac_result"
28385
28287
  fi
 
28288
  rm -f "$tmp/out12"
28386
28289
# Compute $ac_file's index in $config_headers.
28387
28290
_am_stamp_count=1
28388
28291
for _am_header in $config_headers :; do
28393
28296
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
28394
28297
  esac
28395
28298
done
28396
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 
28299
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
28397
28300
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28398
28301
         X$ac_file : 'X\(//\)[^/]' \| \
28399
28302
         X$ac_file : 'X\(//\)$' \| \
28400
 
         X$ac_file : 'X\(/\)' \| \
28401
 
         .     : '\(.\)' 2>/dev/null ||
 
28303
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
28402
28304
echo X$ac_file |
28403
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28404
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28405
 
          /^X\(\/\/\)$/{ s//\1/; q; }
28406
 
          /^X\(\/\).*/{ s//\1/; q; }
28407
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
28408
 
done
28409
 
_ACEOF
28410
 
cat >>$CONFIG_STATUS <<\_ACEOF
28411
 
 
28412
 
#
28413
 
# CONFIG_COMMANDS section.
28414
 
#
28415
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
28416
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
28417
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
28418
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
28419
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28420
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
28421
 
         X"$ac_dest" : 'X\(//\)$' \| \
28422
 
         X"$ac_dest" : 'X\(/\)' \| \
28423
 
         .     : '\(.\)' 2>/dev/null ||
28424
 
echo X"$ac_dest" |
28425
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28426
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28427
 
          /^X\(\/\/\)$/{ s//\1/; q; }
28428
 
          /^X\(\/\).*/{ s//\1/; q; }
28429
 
          s/.*/./; q'`
28430
 
  { if $as_mkdir_p; then
28431
 
    mkdir -p "$ac_dir"
28432
 
  else
28433
 
    as_dir="$ac_dir"
28434
 
    as_dirs=
28435
 
    while test ! -d "$as_dir"; do
28436
 
      as_dirs="$as_dir $as_dirs"
28437
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
28438
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28439
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
28440
 
         X"$as_dir" : 'X\(//\)$' \| \
28441
 
         X"$as_dir" : 'X\(/\)' \| \
28442
 
         .     : '\(.\)' 2>/dev/null ||
28443
 
echo X"$as_dir" |
28444
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28445
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28446
 
          /^X\(\/\/\)$/{ s//\1/; q; }
28447
 
          /^X\(\/\).*/{ s//\1/; q; }
28448
 
          s/.*/./; q'`
28449
 
    done
28450
 
    test ! -n "$as_dirs" || mkdir $as_dirs
28451
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
28452
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
28453
 
   { (exit 1); exit 1; }; }; }
28454
 
 
28455
 
  ac_builddir=.
28456
 
 
28457
 
if test "$ac_dir" != .; then
28458
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
28459
 
  # A "../" for each directory in $ac_dir_suffix.
28460
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
28461
 
else
28462
 
  ac_dir_suffix= ac_top_builddir=
28463
 
fi
28464
 
 
28465
 
case $srcdir in
28466
 
  .)  # No --srcdir option.  We are building in place.
28467
 
    ac_srcdir=.
28468
 
    if test -z "$ac_top_builddir"; then
28469
 
       ac_top_srcdir=.
28470
 
    else
28471
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
28472
 
    fi ;;
28473
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
28474
 
    ac_srcdir=$srcdir$ac_dir_suffix;
28475
 
    ac_top_srcdir=$srcdir ;;
28476
 
  *) # Relative path.
28477
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
28478
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
28479
 
esac
28480
 
 
28481
 
# Do not use `cd foo && pwd` to compute absolute paths, because
28482
 
# the directories may not exist.
28483
 
case `pwd` in
28484
 
.) ac_abs_builddir="$ac_dir";;
28485
 
*)
28486
 
  case "$ac_dir" in
28487
 
  .) ac_abs_builddir=`pwd`;;
28488
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
28489
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
28490
 
  esac;;
28491
 
esac
28492
 
case $ac_abs_builddir in
28493
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
28494
 
*)
28495
 
  case ${ac_top_builddir}. in
28496
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
28497
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
28498
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
28499
 
  esac;;
28500
 
esac
28501
 
case $ac_abs_builddir in
28502
 
.) ac_abs_srcdir=$ac_srcdir;;
28503
 
*)
28504
 
  case $ac_srcdir in
28505
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
28506
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
28507
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
28508
 
  esac;;
28509
 
esac
28510
 
case $ac_abs_builddir in
28511
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
28512
 
*)
28513
 
  case $ac_top_srcdir in
28514
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
28515
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
28516
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
28517
 
  esac;;
28518
 
esac
28519
 
 
28520
 
 
28521
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
28522
 
echo "$as_me: executing $ac_dest commands" >&6;}
28523
 
  case $ac_dest in
28524
 
    src/CLucene/clucene-config.h ) ac_prefix_conf_OUT=`printf '%s\n' src/CLucene/clucene-config.h`
 
28305
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
28306
            s//\1/
 
28307
            q
 
28308
          }
 
28309
          /^X\(\/\/\)[^/].*/{
 
28310
            s//\1/
 
28311
            q
 
28312
          }
 
28313
          /^X\(\/\/\)$/{
 
28314
            s//\1/
 
28315
            q
 
28316
          }
 
28317
          /^X\(\/\).*/{
 
28318
            s//\1/
 
28319
            q
 
28320
          }
 
28321
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
28322
 ;;
 
28323
 
 
28324
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
28325
echo "$as_me: executing $ac_file commands" >&6;}
 
28326
 ;;
 
28327
  esac
 
28328
 
 
28329
 
 
28330
  case $ac_file$ac_mode in
 
28331
    "src/CLucene/clucene-config.h":C) ac_prefix_conf_OUT=`printf '%s\n' src/CLucene/clucene-config.h`
28525
28332
ac_prefix_conf_DEF=`printf '%s\n' _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"`
28526
28333
ac_prefix_conf_PKG=`printf '%s\n' _CL`
28527
28334
ac_prefix_conf_LOW=`printf '%s\n' _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"`
28594
28401
      { echo "$as_me:$LINENO: $ac_prefix_conf_OUT is unchanged" >&5
28595
28402
echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;}
28596
28403
    else
28597
 
      ac_dir=`(dirname "$ac_prefix_conf_OUT") 2>/dev/null ||
 
28404
      ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" ||
28598
28405
$as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28599
28406
         X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \
28600
28407
         X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \
28601
 
         X"$ac_prefix_conf_OUT" : 'X\(/\)' \| \
28602
 
         .     : '\(.\)' 2>/dev/null ||
 
28408
         X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null ||
28603
28409
echo X"$ac_prefix_conf_OUT" |
28604
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28605
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28606
 
          /^X\(\/\/\)$/{ s//\1/; q; }
28607
 
          /^X\(\/\).*/{ s//\1/; q; }
28608
 
          s/.*/./; q'`
28609
 
      { if $as_mkdir_p; then
28610
 
    mkdir -p "$ac_dir"
28611
 
  else
28612
 
    as_dir="$ac_dir"
 
28410
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
28411
            s//\1/
 
28412
            q
 
28413
          }
 
28414
          /^X\(\/\/\)[^/].*/{
 
28415
            s//\1/
 
28416
            q
 
28417
          }
 
28418
          /^X\(\/\/\)$/{
 
28419
            s//\1/
 
28420
            q
 
28421
          }
 
28422
          /^X\(\/\).*/{
 
28423
            s//\1/
 
28424
            q
 
28425
          }
 
28426
          s/.*/./; q'`
 
28427
      { as_dir="$ac_dir"
 
28428
  case $as_dir in #(
 
28429
  -*) as_dir=./$as_dir;;
 
28430
  esac
 
28431
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
28613
28432
    as_dirs=
28614
 
    while test ! -d "$as_dir"; do
28615
 
      as_dirs="$as_dir $as_dirs"
28616
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
28433
    while :; do
 
28434
      case $as_dir in #(
 
28435
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
28436
      *) as_qdir=$as_dir;;
 
28437
      esac
 
28438
      as_dirs="'$as_qdir' $as_dirs"
 
28439
      as_dir=`$as_dirname -- "$as_dir" ||
28617
28440
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28618
28441
         X"$as_dir" : 'X\(//\)[^/]' \| \
28619
28442
         X"$as_dir" : 'X\(//\)$' \| \
28620
 
         X"$as_dir" : 'X\(/\)' \| \
28621
 
         .     : '\(.\)' 2>/dev/null ||
 
28443
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
28622
28444
echo X"$as_dir" |
28623
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28624
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28625
 
          /^X\(\/\/\)$/{ s//\1/; q; }
28626
 
          /^X\(\/\).*/{ s//\1/; q; }
28627
 
          s/.*/./; q'`
 
28445
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
28446
            s//\1/
 
28447
            q
 
28448
          }
 
28449
          /^X\(\/\/\)[^/].*/{
 
28450
            s//\1/
 
28451
            q
 
28452
          }
 
28453
          /^X\(\/\/\)$/{
 
28454
            s//\1/
 
28455
            q
 
28456
          }
 
28457
          /^X\(\/\).*/{
 
28458
            s//\1/
 
28459
            q
 
28460
          }
 
28461
          s/.*/./; q'`
 
28462
      test -d "$as_dir" && break
28628
28463
    done
28629
 
    test ! -n "$as_dirs" || mkdir $as_dirs
28630
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
28631
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
28464
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
28465
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
28466
echo "$as_me: error: cannot create directory $as_dir" >&2;}
28632
28467
   { (exit 1); exit 1; }; }; }
28633
 
 
28634
28468
      rm -f "$ac_prefix_conf_OUT"
28635
28469
      mv $tmp/pconfig.h "$ac_prefix_conf_OUT"
28636
28470
    fi
28643
28477
  rm -f conftest.*
28644
28478
fi
28645
28479
 ;;
28646
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
28480
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
28647
28481
  # Strip MF so we end up with the name of the file.
28648
28482
  mf=`echo "$mf" | sed -e 's/:.*$//'`
28649
28483
  # Check whether this is an Automake generated Makefile or not.
28653
28487
  # each Makefile.in and add a new line on top of each file to say so.
28654
28488
  # So let's grep whole file.
28655
28489
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
28656
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
28490
    dirpart=`$as_dirname -- "$mf" ||
28657
28491
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28658
28492
         X"$mf" : 'X\(//\)[^/]' \| \
28659
28493
         X"$mf" : 'X\(//\)$' \| \
28660
 
         X"$mf" : 'X\(/\)' \| \
28661
 
         .     : '\(.\)' 2>/dev/null ||
 
28494
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28662
28495
echo X"$mf" |
28663
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28664
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28665
 
          /^X\(\/\/\)$/{ s//\1/; q; }
28666
 
          /^X\(\/\).*/{ s//\1/; q; }
28667
 
          s/.*/./; q'`
 
28496
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
28497
            s//\1/
 
28498
            q
 
28499
          }
 
28500
          /^X\(\/\/\)[^/].*/{
 
28501
            s//\1/
 
28502
            q
 
28503
          }
 
28504
          /^X\(\/\/\)$/{
 
28505
            s//\1/
 
28506
            q
 
28507
          }
 
28508
          /^X\(\/\).*/{
 
28509
            s//\1/
 
28510
            q
 
28511
          }
 
28512
          s/.*/./; q'`
28668
28513
  else
28669
28514
    continue
28670
28515
  fi
28686
28531
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28687
28532
    # Make sure the directory exists.
28688
28533
    test -f "$dirpart/$file" && continue
28689
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
28534
    fdir=`$as_dirname -- "$file" ||
28690
28535
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28691
28536
         X"$file" : 'X\(//\)[^/]' \| \
28692
28537
         X"$file" : 'X\(//\)$' \| \
28693
 
         X"$file" : 'X\(/\)' \| \
28694
 
         .     : '\(.\)' 2>/dev/null ||
 
28538
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28695
28539
echo X"$file" |
28696
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28697
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28698
 
          /^X\(\/\/\)$/{ s//\1/; q; }
28699
 
          /^X\(\/\).*/{ s//\1/; q; }
28700
 
          s/.*/./; q'`
28701
 
    { if $as_mkdir_p; then
28702
 
    mkdir -p $dirpart/$fdir
28703
 
  else
28704
 
    as_dir=$dirpart/$fdir
 
28540
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
28541
            s//\1/
 
28542
            q
 
28543
          }
 
28544
          /^X\(\/\/\)[^/].*/{
 
28545
            s//\1/
 
28546
            q
 
28547
          }
 
28548
          /^X\(\/\/\)$/{
 
28549
            s//\1/
 
28550
            q
 
28551
          }
 
28552
          /^X\(\/\).*/{
 
28553
            s//\1/
 
28554
            q
 
28555
          }
 
28556
          s/.*/./; q'`
 
28557
    { as_dir=$dirpart/$fdir
 
28558
  case $as_dir in #(
 
28559
  -*) as_dir=./$as_dir;;
 
28560
  esac
 
28561
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
28705
28562
    as_dirs=
28706
 
    while test ! -d "$as_dir"; do
28707
 
      as_dirs="$as_dir $as_dirs"
28708
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
28563
    while :; do
 
28564
      case $as_dir in #(
 
28565
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
28566
      *) as_qdir=$as_dir;;
 
28567
      esac
 
28568
      as_dirs="'$as_qdir' $as_dirs"
 
28569
      as_dir=`$as_dirname -- "$as_dir" ||
28709
28570
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28710
28571
         X"$as_dir" : 'X\(//\)[^/]' \| \
28711
28572
         X"$as_dir" : 'X\(//\)$' \| \
28712
 
         X"$as_dir" : 'X\(/\)' \| \
28713
 
         .     : '\(.\)' 2>/dev/null ||
 
28573
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
28714
28574
echo X"$as_dir" |
28715
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28716
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28717
 
          /^X\(\/\/\)$/{ s//\1/; q; }
28718
 
          /^X\(\/\).*/{ s//\1/; q; }
28719
 
          s/.*/./; q'`
 
28575
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
28576
            s//\1/
 
28577
            q
 
28578
          }
 
28579
          /^X\(\/\/\)[^/].*/{
 
28580
            s//\1/
 
28581
            q
 
28582
          }
 
28583
          /^X\(\/\/\)$/{
 
28584
            s//\1/
 
28585
            q
 
28586
          }
 
28587
          /^X\(\/\).*/{
 
28588
            s//\1/
 
28589
            q
 
28590
          }
 
28591
          s/.*/./; q'`
 
28592
      test -d "$as_dir" && break
28720
28593
    done
28721
 
    test ! -n "$as_dirs" || mkdir $as_dirs
28722
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
28723
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
28594
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
28595
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
28596
echo "$as_me: error: cannot create directory $as_dir" >&2;}
28724
28597
   { (exit 1); exit 1; }; }; }
28725
 
 
28726
28598
    # echo "creating $dirpart/$file"
28727
28599
    echo '# dummy' > "$dirpart/$file"
28728
28600
  done
28729
28601
done
28730
28602
 ;;
 
28603
 
28731
28604
  esac
28732
 
done
28733
 
_ACEOF
 
28605
done # for ac_tag
28734
28606
 
28735
 
cat >>$CONFIG_STATUS <<\_ACEOF
28736
28607
 
28737
28608
{ (exit 0); exit 0; }
28738
28609
_ACEOF