~ubuntu-branches/ubuntu/intrepid/ghostscript/intrepid-updates

« back to all changes in this revision

Viewing changes to jasper/autom4te.cache/output.0

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2007-08-13 21:49:58 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20070813214958-ro9nbb3fmvzlr7q3
Tags: 8.61.dfsg.1~svn8187-0ubuntu1
New upstream release
o SVN snapshot rev 8187
o CJK patches from Koji Otani to fix several issues with CJK text
(should fix http://bugs.ghostscript.com/show_bug.cgi?id=689304).
These patches were also applied to ESP Ghostscript and having them
in Gutsy's GPL GS will avoide regressions against Feisty's ESP GS.
o Minor bug fixes from upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
@%:@! /bin/sh
2
 
@%:@ Guess values for system-dependent variables and create Makefiles.
3
 
@%:@ Generated by GNU Autoconf 2.61 for jasper 1.701.0-gs5.
4
 
@%:@ 
5
 
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
@%:@ 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7
 
@%:@ This configure script is free software; the Free Software Foundation
8
 
@%:@ gives unlimited permission to copy, distribute and modify it.
9
 
## --------------------- ##
10
 
## M4sh Initialization.  ##
11
 
## --------------------- ##
12
 
 
13
 
# Be more Bourne compatible
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
52
 
 
53
 
# Support unset when possible.
54
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55
 
  as_unset=unset
56
 
else
57
 
  as_unset=false
58
 
fi
59
 
 
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
 
 
94
 
# Work around bugs in pre-3.0 UWIN ksh.
95
 
for as_var in ENV MAIL MAILPATH
96
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97
 
done
98
 
PS1='$ '
99
 
PS2='> '
100
 
PS4='+ '
101
 
 
102
 
# NLS nuisances.
103
 
for as_var in \
104
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106
 
  LC_TELEPHONE LC_TIME
107
 
do
108
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
 
    eval $as_var=C; export $as_var
110
 
  else
111
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112
 
  fi
113
 
done
114
 
 
115
 
# Required to use basename.
116
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
117
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
118
 
  as_expr=expr
119
 
else
120
 
  as_expr=false
121
 
fi
122
 
 
123
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124
 
  as_basename=basename
125
 
else
126
 
  as_basename=false
127
 
fi
128
 
 
129
 
 
130
 
# Name of the executable.
131
 
as_me=`$as_basename -- "$0" ||
132
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
 
         X"$0" : 'X\(//\)$' \| \
134
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135
 
echo X/"$0" |
136
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
137
 
            s//\1/
138
 
            q
139
 
          }
140
 
          /^X\/\(\/\/\)$/{
141
 
            s//\1/
142
 
            q
143
 
          }
144
 
          /^X\/\(\/\).*/{
145
 
            s//\1/
146
 
            q
147
 
          }
148
 
          s/.*/./; q'`
149
 
 
150
 
# CDPATH.
151
 
$as_unset CDPATH
152
 
 
153
 
 
154
 
if test "x$CONFIG_SHELL" = x; then
155
 
  if (eval ":") 2>/dev/null; then
156
 
  as_have_required=yes
157
 
else
158
 
  as_have_required=no
159
 
fi
160
 
 
161
 
  if test $as_have_required = yes &&     (eval ":
162
 
(as_func_return () {
163
 
  (exit \$1)
164
 
}
165
 
as_func_success () {
166
 
  as_func_return 0
167
 
}
168
 
as_func_failure () {
169
 
  as_func_return 1
170
 
}
171
 
as_func_ret_success () {
172
 
  return 0
173
 
}
174
 
as_func_ret_failure () {
175
 
  return 1
176
 
}
177
 
 
178
 
exitcode=0
179
 
if as_func_success; then
180
 
  :
181
 
else
182
 
  exitcode=1
183
 
  echo as_func_success failed.
184
 
fi
185
 
 
186
 
if as_func_failure; then
187
 
  exitcode=1
188
 
  echo as_func_failure succeeded.
189
 
fi
190
 
 
191
 
if as_func_ret_success; then
192
 
  :
193
 
else
194
 
  exitcode=1
195
 
  echo as_func_ret_success failed.
196
 
fi
197
 
 
198
 
if as_func_ret_failure; then
199
 
  exitcode=1
200
 
  echo as_func_ret_failure succeeded.
201
 
fi
202
 
 
203
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204
 
  :
205
 
else
206
 
  exitcode=1
207
 
  echo positional parameters were not saved.
208
 
fi
209
 
 
210
 
test \$exitcode = 0) || { (exit 1); exit 1; }
211
 
 
212
 
(
213
 
  as_lineno_1=\$LINENO
214
 
  as_lineno_2=\$LINENO
215
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217
 
") 2> /dev/null; then
218
 
  :
219
 
else
220
 
  as_candidate_shells=
221
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223
 
do
224
 
  IFS=$as_save_IFS
225
 
  test -z "$as_dir" && as_dir=.
226
 
  case $as_dir in
227
 
         /*)
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
232
 
done
233
 
IFS=$as_save_IFS
234
 
 
235
 
 
236
 
      for as_shell in $as_candidate_shells $SHELL; do
237
 
         # Try only shells that exist, to save several forks.
238
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
240
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241
 
  emulate sh
242
 
  NULLCMD=:
243
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244
 
  # is contrary to our usage.  Disable this feature.
245
 
  alias -g '${1+"$@"}'='"$@"'
246
 
  setopt NO_GLOB_SUBST
247
 
else
248
 
  case `(set -o) 2>/dev/null` in
249
 
  *posix*) set -o posix ;;
250
 
esac
251
 
 
252
 
fi
253
 
 
254
 
 
255
 
:
256
 
_ASEOF
257
 
}; then
258
 
  CONFIG_SHELL=$as_shell
259
 
               as_have_required=yes
260
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
261
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
 
  emulate sh
263
 
  NULLCMD=:
264
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265
 
  # is contrary to our usage.  Disable this feature.
266
 
  alias -g '${1+"$@"}'='"$@"'
267
 
  setopt NO_GLOB_SUBST
268
 
else
269
 
  case `(set -o) 2>/dev/null` in
270
 
  *posix*) set -o posix ;;
271
 
esac
272
 
 
273
 
fi
274
 
 
275
 
 
276
 
:
277
 
(as_func_return () {
278
 
  (exit $1)
279
 
}
280
 
as_func_success () {
281
 
  as_func_return 0
282
 
}
283
 
as_func_failure () {
284
 
  as_func_return 1
285
 
}
286
 
as_func_ret_success () {
287
 
  return 0
288
 
}
289
 
as_func_ret_failure () {
290
 
  return 1
291
 
}
292
 
 
293
 
exitcode=0
294
 
if as_func_success; then
295
 
  :
296
 
else
297
 
  exitcode=1
298
 
  echo as_func_success failed.
299
 
fi
300
 
 
301
 
if as_func_failure; then
302
 
  exitcode=1
303
 
  echo as_func_failure succeeded.
304
 
fi
305
 
 
306
 
if as_func_ret_success; then
307
 
  :
308
 
else
309
 
  exitcode=1
310
 
  echo as_func_ret_success failed.
311
 
fi
312
 
 
313
 
if as_func_ret_failure; then
314
 
  exitcode=1
315
 
  echo as_func_ret_failure succeeded.
316
 
fi
317
 
 
318
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
319
 
  :
320
 
else
321
 
  exitcode=1
322
 
  echo positional parameters were not saved.
323
 
fi
324
 
 
325
 
test $exitcode = 0) || { (exit 1); exit 1; }
326
 
 
327
 
(
328
 
  as_lineno_1=$LINENO
329
 
  as_lineno_2=$LINENO
330
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
331
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
 
 
333
 
_ASEOF
334
 
}; then
335
 
  break
336
 
fi
337
 
 
338
 
fi
339
 
 
340
 
      done
341
 
 
342
 
      if test "x$CONFIG_SHELL" != x; then
343
 
  for as_var in BASH_ENV ENV
344
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345
 
        done
346
 
        export CONFIG_SHELL
347
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348
 
fi
349
 
 
350
 
 
351
 
    if test $as_have_required = no; then
352
 
  echo This script requires a shell more modern than all the
353
 
      echo shells that I found on your system.  Please install a
354
 
      echo modern shell, or manually run the script under such a
355
 
      echo shell if you do have one.
356
 
      { (exit 1); exit 1; }
357
 
fi
358
 
 
359
 
    
360
 
fi
361
 
 
362
 
fi
363
 
 
364
 
 
365
 
 
366
 
(eval "as_func_return () {
367
 
  (exit \$1)
368
 
}
369
 
as_func_success () {
370
 
  as_func_return 0
371
 
}
372
 
as_func_failure () {
373
 
  as_func_return 1
374
 
}
375
 
as_func_ret_success () {
376
 
  return 0
377
 
}
378
 
as_func_ret_failure () {
379
 
  return 1
380
 
}
381
 
 
382
 
exitcode=0
383
 
if as_func_success; then
384
 
  :
385
 
else
386
 
  exitcode=1
387
 
  echo as_func_success failed.
388
 
fi
389
 
 
390
 
if as_func_failure; then
391
 
  exitcode=1
392
 
  echo as_func_failure succeeded.
393
 
fi
394
 
 
395
 
if as_func_ret_success; then
396
 
  :
397
 
else
398
 
  exitcode=1
399
 
  echo as_func_ret_success failed.
400
 
fi
401
 
 
402
 
if as_func_ret_failure; then
403
 
  exitcode=1
404
 
  echo as_func_ret_failure succeeded.
405
 
fi
406
 
 
407
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408
 
  :
409
 
else
410
 
  exitcode=1
411
 
  echo positional parameters were not saved.
412
 
fi
413
 
 
414
 
test \$exitcode = 0") || {
415
 
  echo No shell found that supports shell functions.
416
 
  echo Please tell autoconf@gnu.org about your system,
417
 
  echo including any error possibly output before this
418
 
  echo message
419
 
}
420
 
 
421
 
 
422
 
 
423
 
  as_lineno_1=$LINENO
424
 
  as_lineno_2=$LINENO
425
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
426
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
427
 
 
428
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
430
 
  # line-number line after each line using $LINENO; the second 'sed'
431
 
  # does the real work.  The second script uses 'N' to pair each
432
 
  # line-number line with the line containing $LINENO, and appends
433
 
  # trailing '-' during substitution so that $LINENO is not a special
434
 
  # case at line end.
435
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
437
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
438
 
  sed -n '
439
 
    p
440
 
    /[$]LINENO/=
441
 
  ' <$as_myself |
442
 
    sed '
443
 
      s/[$]LINENO.*/&-/
444
 
      t lineno
445
 
      b
446
 
      :lineno
447
 
      N
448
 
      :loop
449
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450
 
      t loop
451
 
      s/-\n.*//
452
 
    ' >$as_me.lineno &&
453
 
  chmod +x "$as_me.lineno" ||
454
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
 
   { (exit 1); exit 1; }; }
456
 
 
457
 
  # Don't try to exec as it changes $[0], causing all sort of problems
458
 
  # (the dirname of $[0] is not the place where we might find the
459
 
  # original and so on.  Autoconf is especially sensitive to this).
460
 
  . "./$as_me.lineno"
461
 
  # Exit status is that of the last command.
462
 
  exit
463
 
}
464
 
 
465
 
 
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';;
481
 
esac
482
 
 
483
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
485
 
  as_expr=expr
486
 
else
487
 
  as_expr=false
488
 
fi
489
 
 
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
497
 
echo >conf$$.file
498
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
499
 
  as_ln_s='ln -s'
500
 
  # ... but there are two gotchas:
501
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
 
  # In both cases, we have to default to `cp -p'.
504
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505
 
    as_ln_s='cp -p'
506
 
elif ln conf$$.file conf$$ 2>/dev/null; then
507
 
  as_ln_s=ln
508
 
else
509
 
  as_ln_s='cp -p'
510
 
fi
511
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512
 
rmdir conf$$.dir 2>/dev/null
513
 
 
514
 
if mkdir -p . 2>/dev/null; then
515
 
  as_mkdir_p=:
516
 
else
517
 
  test -d ./-p && rmdir ./-p
518
 
  as_mkdir_p=false
519
 
fi
520
 
 
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
543
 
 
544
 
# Sed expression to map a string onto a valid CPP name.
545
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546
 
 
547
 
# Sed expression to map a string onto a valid variable name.
548
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
 
 
550
 
 
551
 
 
552
 
 
553
 
# Check that we are running under the correct shell.
554
 
SHELL=${CONFIG_SHELL-/bin/sh}
555
 
 
556
 
case X$ECHO in
557
 
X*--fallback-echo)
558
 
  # Remove one level of quotation (which was required for Make).
559
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
560
 
  ;;
561
 
esac
562
 
 
563
 
echo=${ECHO-echo}
564
 
if test "X$1" = X--no-reexec; then
565
 
  # Discard the --no-reexec flag, and continue.
566
 
  shift
567
 
elif test "X$1" = X--fallback-echo; then
568
 
  # Avoid inline document here, it may be left over
569
 
  :
570
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
571
 
  # Yippee, $echo works!
572
 
  :
573
 
else
574
 
  # Restart under the correct shell.
575
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
576
 
fi
577
 
 
578
 
if test "X$1" = X--fallback-echo; then
579
 
  # used as fallback echo
580
 
  shift
581
 
  cat <<EOF
582
 
$*
583
 
EOF
584
 
  exit 0
585
 
fi
586
 
 
587
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
588
 
# if CDPATH is set.
589
 
if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
590
 
 
591
 
if test -z "$ECHO"; then
592
 
if test "X${echo_test_string+set}" != Xset; then
593
 
# find a string as large as possible, as long as the shell can cope with it
594
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596
 
    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
597
 
       echo_test_string="`eval $cmd`" &&
598
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
599
 
    then
600
 
      break
601
 
    fi
602
 
  done
603
 
fi
604
 
 
605
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
607
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
608
 
  :
609
 
else
610
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
611
 
  # backslashes.  This makes it impossible to quote backslashes using
612
 
  #   echo "$something" | sed 's/\\/\\\\/g'
613
 
  #
614
 
  # So, first we look for a working echo in the user's PATH.
615
 
 
616
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
617
 
  for dir in $PATH /usr/ucb; do
618
 
    IFS="$lt_save_ifs"
619
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
620
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
623
 
      echo="$dir/echo"
624
 
      break
625
 
    fi
626
 
  done
627
 
  IFS="$lt_save_ifs"
628
 
 
629
 
  if test "X$echo" = Xecho; then
630
 
    # We didn't find a better echo, so look for alternatives.
631
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
633
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
634
 
      # This shell has a builtin print -r that does the trick.
635
 
      echo='print -r'
636
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
637
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
638
 
      # If we have ksh, try running configure again with it.
639
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
640
 
      export ORIGINAL_CONFIG_SHELL
641
 
      CONFIG_SHELL=/bin/ksh
642
 
      export CONFIG_SHELL
643
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
644
 
    else
645
 
      # Try using printf.
646
 
      echo='printf %s\n'
647
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
649
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
650
 
        # Cool, printf works
651
 
        :
652
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653
 
           test "X$echo_testing_string" = 'X\t' &&
654
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
656
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
657
 
        export CONFIG_SHELL
658
 
        SHELL="$CONFIG_SHELL"
659
 
        export SHELL
660
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
661
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662
 
           test "X$echo_testing_string" = 'X\t' &&
663
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
665
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
666
 
      else
667
 
        # maybe with a smaller string...
668
 
        prev=:
669
 
 
670
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
672
 
          then
673
 
            break
674
 
          fi
675
 
          prev="$cmd"
676
 
        done
677
 
 
678
 
        if test "$prev" != 'sed 50q "$0"'; then
679
 
          echo_test_string=`eval $prev`
680
 
          export echo_test_string
681
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
682
 
        else
683
 
          # Oops.  We lost completely, so just stick with echo.
684
 
          echo=echo
685
 
        fi
686
 
      fi
687
 
    fi
688
 
  fi
689
 
fi
690
 
fi
691
 
 
692
 
# Copy echo and quote the copy suitably for passing to libtool from
693
 
# the Makefile, instead of quoting the original, which is used later.
694
 
ECHO=$echo
695
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
697
 
fi
698
 
 
699
 
 
700
 
 
701
 
 
702
 
tagnames=${tagnames+${tagnames},}CXX
703
 
 
704
 
tagnames=${tagnames+${tagnames},}F77
705
 
 
706
 
exec 7<&0 </dev/null 6>&1
707
 
 
708
 
# Name of the host.
709
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
710
 
# so uname gets run too.
711
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
712
 
 
713
 
#
714
 
# Initializations.
715
 
#
716
 
ac_default_prefix=/usr/local
717
 
ac_clean_files=
718
 
ac_config_libobj_dir=.
719
 
LIB@&t@OBJS=
720
 
cross_compiling=no
721
 
subdirs=
722
 
MFLAGS=
723
 
MAKEFLAGS=
724
 
SHELL=${CONFIG_SHELL-/bin/sh}
725
 
 
726
 
# Identity of this package.
727
 
PACKAGE_NAME='jasper'
728
 
PACKAGE_TARNAME='jasper'
729
 
PACKAGE_VERSION='1.701.0-gs5'
730
 
PACKAGE_STRING='jasper 1.701.0-gs5'
731
 
PACKAGE_BUGREPORT=''
732
 
 
733
 
ac_unique_file="README"
734
 
# Factoring default headers for most tests.
735
 
ac_includes_default="\
736
 
#include <stdio.h>
737
 
#ifdef HAVE_SYS_TYPES_H
738
 
# include <sys/types.h>
739
 
#endif
740
 
#ifdef HAVE_SYS_STAT_H
741
 
# include <sys/stat.h>
742
 
#endif
743
 
#ifdef STDC_HEADERS
744
 
# include <stdlib.h>
745
 
# include <stddef.h>
746
 
#else
747
 
# ifdef HAVE_STDLIB_H
748
 
#  include <stdlib.h>
749
 
# endif
750
 
#endif
751
 
#ifdef HAVE_STRING_H
752
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
753
 
#  include <memory.h>
754
 
# endif
755
 
# include <string.h>
756
 
#endif
757
 
#ifdef HAVE_STRINGS_H
758
 
# include <strings.h>
759
 
#endif
760
 
#ifdef HAVE_INTTYPES_H
761
 
# include <inttypes.h>
762
 
#endif
763
 
#ifdef HAVE_STDINT_H
764
 
# include <stdint.h>
765
 
#endif
766
 
#ifdef HAVE_UNISTD_H
767
 
# include <unistd.h>
768
 
#endif"
769
 
 
770
 
ac_subst_vars='SHELL
771
 
PATH_SEPARATOR
772
 
PACKAGE_NAME
773
 
PACKAGE_TARNAME
774
 
PACKAGE_VERSION
775
 
PACKAGE_STRING
776
 
PACKAGE_BUGREPORT
777
 
exec_prefix
778
 
prefix
779
 
program_transform_name
780
 
bindir
781
 
sbindir
782
 
libexecdir
783
 
datarootdir
784
 
datadir
785
 
sysconfdir
786
 
sharedstatedir
787
 
localstatedir
788
 
includedir
789
 
oldincludedir
790
 
docdir
791
 
infodir
792
 
htmldir
793
 
dvidir
794
 
pdfdir
795
 
psdir
796
 
libdir
797
 
localedir
798
 
mandir
799
 
DEFS
800
 
ECHO_C
801
 
ECHO_N
802
 
ECHO_T
803
 
LIBS
804
 
build_alias
805
 
host_alias
806
 
target_alias
807
 
build
808
 
build_cpu
809
 
build_vendor
810
 
build_os
811
 
host
812
 
host_cpu
813
 
host_vendor
814
 
host_os
815
 
target
816
 
target_cpu
817
 
target_vendor
818
 
target_os
819
 
INSTALL_PROGRAM
820
 
INSTALL_SCRIPT
821
 
INSTALL_DATA
822
 
CYGPATH_W
823
 
PACKAGE
824
 
VERSION
825
 
ACLOCAL
826
 
AUTOCONF
827
 
AUTOMAKE
828
 
AUTOHEADER
829
 
MAKEINFO
830
 
install_sh
831
 
STRIP
832
 
INSTALL_STRIP_PROGRAM
833
 
mkdir_p
834
 
AWK
835
 
SET_MAKE
836
 
am__leading_dot
837
 
AMTAR
838
 
am__tar
839
 
am__untar
840
 
JAS_MAJOR_VERSION
841
 
JAS_MINOR_VERSION
842
 
JAS_MICRO_VERSION
843
 
JAS_VERSION
844
 
JAS_RPM_RELEASE
845
 
LT_RELEASE
846
 
LT_CURRENT
847
 
LT_REVISION
848
 
LT_AGE
849
 
CC
850
 
CFLAGS
851
 
LDFLAGS
852
 
CPPFLAGS
853
 
ac_ct_CC
854
 
EXEEXT
855
 
OBJEXT
856
 
DEPDIR
857
 
am__include
858
 
am__quote
859
 
AMDEP_TRUE
860
 
AMDEP_FALSE
861
 
AMDEPBACKSLASH
862
 
CCDEPMODE
863
 
am__fastdepCC_TRUE
864
 
am__fastdepCC_FALSE
865
 
CPP
866
 
LN_S
867
 
RANLIB
868
 
GREP
869
 
EGREP
870
 
ECHO
871
 
AR
872
 
CXX
873
 
CXXFLAGS
874
 
ac_ct_CXX
875
 
CXXDEPMODE
876
 
am__fastdepCXX_TRUE
877
 
am__fastdepCXX_FALSE
878
 
CXXCPP
879
 
F77
880
 
FFLAGS
881
 
ac_ct_F77
882
 
LIBTOOL
883
 
XMKMF
884
 
X_CFLAGS
885
 
X_PRE_LIBS
886
 
X_LIBS
887
 
X_EXTRA_LIBS
888
 
HAVE_LIBJPEG_TRUE
889
 
HAVE_LIBJPEG_FALSE
890
 
HAVE_OPENGL_TRUE
891
 
HAVE_OPENGL_FALSE
892
 
OPENGL_LIBS
893
 
HAVE_SDL
894
 
HAVE_SDL_TRUE
895
 
HAVE_SDL_FALSE
896
 
SDL_CFLAGS
897
 
SDL_LIBS
898
 
LIB@&t@OBJS
899
 
LTLIBOBJS'
900
 
ac_subst_files=''
901
 
      ac_precious_vars='build_alias
902
 
host_alias
903
 
target_alias
904
 
CC
905
 
CFLAGS
906
 
LDFLAGS
907
 
LIBS
908
 
CPPFLAGS
909
 
CPP
910
 
CXX
911
 
CXXFLAGS
912
 
CCC
913
 
CXXCPP
914
 
F77
915
 
FFLAGS
916
 
XMKMF'
917
 
 
918
 
 
919
 
# Initialize some variables set by options.
920
 
ac_init_help=
921
 
ac_init_version=false
922
 
# The variables have the same names as the options, with
923
 
# dashes changed to underlines.
924
 
cache_file=/dev/null
925
 
exec_prefix=NONE
926
 
no_create=
927
 
no_recursion=
928
 
prefix=NONE
929
 
program_prefix=NONE
930
 
program_suffix=NONE
931
 
program_transform_name=s,x,x,
932
 
silent=
933
 
site=
934
 
srcdir=
935
 
verbose=
936
 
x_includes=NONE
937
 
x_libraries=NONE
938
 
 
939
 
# Installation directory options.
940
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
941
 
# and all the variables that are supposed to be based on exec_prefix
942
 
# by default will actually change.
943
 
# Use braces instead of parens because sh, perl, etc. also accept them.
944
 
# (The list follows the same order as the GNU Coding Standards.)
945
 
bindir='${exec_prefix}/bin'
946
 
sbindir='${exec_prefix}/sbin'
947
 
libexecdir='${exec_prefix}/libexec'
948
 
datarootdir='${prefix}/share'
949
 
datadir='${datarootdir}'
950
 
sysconfdir='${prefix}/etc'
951
 
sharedstatedir='${prefix}/com'
952
 
localstatedir='${prefix}/var'
953
 
includedir='${prefix}/include'
954
 
oldincludedir='/usr/include'
955
 
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
956
 
infodir='${datarootdir}/info'
957
 
htmldir='${docdir}'
958
 
dvidir='${docdir}'
959
 
pdfdir='${docdir}'
960
 
psdir='${docdir}'
961
 
libdir='${exec_prefix}/lib'
962
 
localedir='${datarootdir}/locale'
963
 
mandir='${datarootdir}/man'
964
 
 
965
 
ac_prev=
966
 
ac_dashdash=
967
 
for ac_option
968
 
do
969
 
  # If the previous option needs an argument, assign it.
970
 
  if test -n "$ac_prev"; then
971
 
    eval $ac_prev=\$ac_option
972
 
    ac_prev=
973
 
    continue
974
 
  fi
975
 
 
976
 
  case $ac_option in
977
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
978
 
  *)    ac_optarg=yes ;;
979
 
  esac
980
 
 
981
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
982
 
 
983
 
  case $ac_dashdash$ac_option in
984
 
  --)
985
 
    ac_dashdash=yes ;;
986
 
 
987
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
988
 
    ac_prev=bindir ;;
989
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
990
 
    bindir=$ac_optarg ;;
991
 
 
992
 
  -build | --build | --buil | --bui | --bu)
993
 
    ac_prev=build_alias ;;
994
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
995
 
    build_alias=$ac_optarg ;;
996
 
 
997
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
998
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
999
 
    ac_prev=cache_file ;;
1000
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1001
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1002
 
    cache_file=$ac_optarg ;;
1003
 
 
1004
 
  --config-cache | -C)
1005
 
    cache_file=config.cache ;;
1006
 
 
1007
 
  -datadir | --datadir | --datadi | --datad)
1008
 
    ac_prev=datadir ;;
1009
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1010
 
    datadir=$ac_optarg ;;
1011
 
 
1012
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1013
 
  | --dataroo | --dataro | --datar)
1014
 
    ac_prev=datarootdir ;;
1015
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1016
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1017
 
    datarootdir=$ac_optarg ;;
1018
 
 
1019
 
  -disable-* | --disable-*)
1020
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1021
 
    # Reject names that are not valid shell variable names.
1022
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1023
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1024
 
   { (exit 1); exit 1; }; }
1025
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1026
 
    eval enable_$ac_feature=no ;;
1027
 
 
1028
 
  -docdir | --docdir | --docdi | --doc | --do)
1029
 
    ac_prev=docdir ;;
1030
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1031
 
    docdir=$ac_optarg ;;
1032
 
 
1033
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1034
 
    ac_prev=dvidir ;;
1035
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1036
 
    dvidir=$ac_optarg ;;
1037
 
 
1038
 
  -enable-* | --enable-*)
1039
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1040
 
    # Reject names that are not valid shell variable names.
1041
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1042
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1043
 
   { (exit 1); exit 1; }; }
1044
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1045
 
    eval enable_$ac_feature=\$ac_optarg ;;
1046
 
 
1047
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1048
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1049
 
  | --exec | --exe | --ex)
1050
 
    ac_prev=exec_prefix ;;
1051
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1052
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1053
 
  | --exec=* | --exe=* | --ex=*)
1054
 
    exec_prefix=$ac_optarg ;;
1055
 
 
1056
 
  -gas | --gas | --ga | --g)
1057
 
    # Obsolete; use --with-gas.
1058
 
    with_gas=yes ;;
1059
 
 
1060
 
  -help | --help | --hel | --he | -h)
1061
 
    ac_init_help=long ;;
1062
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1063
 
    ac_init_help=recursive ;;
1064
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1065
 
    ac_init_help=short ;;
1066
 
 
1067
 
  -host | --host | --hos | --ho)
1068
 
    ac_prev=host_alias ;;
1069
 
  -host=* | --host=* | --hos=* | --ho=*)
1070
 
    host_alias=$ac_optarg ;;
1071
 
 
1072
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1073
 
    ac_prev=htmldir ;;
1074
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1075
 
  | --ht=*)
1076
 
    htmldir=$ac_optarg ;;
1077
 
 
1078
 
  -includedir | --includedir | --includedi | --included | --include \
1079
 
  | --includ | --inclu | --incl | --inc)
1080
 
    ac_prev=includedir ;;
1081
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1082
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1083
 
    includedir=$ac_optarg ;;
1084
 
 
1085
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1086
 
    ac_prev=infodir ;;
1087
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1088
 
    infodir=$ac_optarg ;;
1089
 
 
1090
 
  -libdir | --libdir | --libdi | --libd)
1091
 
    ac_prev=libdir ;;
1092
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1093
 
    libdir=$ac_optarg ;;
1094
 
 
1095
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1096
 
  | --libexe | --libex | --libe)
1097
 
    ac_prev=libexecdir ;;
1098
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1099
 
  | --libexe=* | --libex=* | --libe=*)
1100
 
    libexecdir=$ac_optarg ;;
1101
 
 
1102
 
  -localedir | --localedir | --localedi | --localed | --locale)
1103
 
    ac_prev=localedir ;;
1104
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1105
 
    localedir=$ac_optarg ;;
1106
 
 
1107
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1108
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1109
 
    ac_prev=localstatedir ;;
1110
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1111
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1112
 
    localstatedir=$ac_optarg ;;
1113
 
 
1114
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1115
 
    ac_prev=mandir ;;
1116
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1117
 
    mandir=$ac_optarg ;;
1118
 
 
1119
 
  -nfp | --nfp | --nf)
1120
 
    # Obsolete; use --without-fp.
1121
 
    with_fp=no ;;
1122
 
 
1123
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1124
 
  | --no-cr | --no-c | -n)
1125
 
    no_create=yes ;;
1126
 
 
1127
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1128
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1129
 
    no_recursion=yes ;;
1130
 
 
1131
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1132
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1133
 
  | --oldin | --oldi | --old | --ol | --o)
1134
 
    ac_prev=oldincludedir ;;
1135
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1136
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1137
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1138
 
    oldincludedir=$ac_optarg ;;
1139
 
 
1140
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1141
 
    ac_prev=prefix ;;
1142
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1143
 
    prefix=$ac_optarg ;;
1144
 
 
1145
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1146
 
  | --program-pre | --program-pr | --program-p)
1147
 
    ac_prev=program_prefix ;;
1148
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1149
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1150
 
    program_prefix=$ac_optarg ;;
1151
 
 
1152
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1153
 
  | --program-suf | --program-su | --program-s)
1154
 
    ac_prev=program_suffix ;;
1155
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1156
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1157
 
    program_suffix=$ac_optarg ;;
1158
 
 
1159
 
  -program-transform-name | --program-transform-name \
1160
 
  | --program-transform-nam | --program-transform-na \
1161
 
  | --program-transform-n | --program-transform- \
1162
 
  | --program-transform | --program-transfor \
1163
 
  | --program-transfo | --program-transf \
1164
 
  | --program-trans | --program-tran \
1165
 
  | --progr-tra | --program-tr | --program-t)
1166
 
    ac_prev=program_transform_name ;;
1167
 
  -program-transform-name=* | --program-transform-name=* \
1168
 
  | --program-transform-nam=* | --program-transform-na=* \
1169
 
  | --program-transform-n=* | --program-transform-=* \
1170
 
  | --program-transform=* | --program-transfor=* \
1171
 
  | --program-transfo=* | --program-transf=* \
1172
 
  | --program-trans=* | --program-tran=* \
1173
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1174
 
    program_transform_name=$ac_optarg ;;
1175
 
 
1176
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1177
 
    ac_prev=pdfdir ;;
1178
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1179
 
    pdfdir=$ac_optarg ;;
1180
 
 
1181
 
  -psdir | --psdir | --psdi | --psd | --ps)
1182
 
    ac_prev=psdir ;;
1183
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1184
 
    psdir=$ac_optarg ;;
1185
 
 
1186
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1187
 
  | -silent | --silent | --silen | --sile | --sil)
1188
 
    silent=yes ;;
1189
 
 
1190
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1191
 
    ac_prev=sbindir ;;
1192
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1193
 
  | --sbi=* | --sb=*)
1194
 
    sbindir=$ac_optarg ;;
1195
 
 
1196
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1197
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1198
 
  | --sharedst | --shareds | --shared | --share | --shar \
1199
 
  | --sha | --sh)
1200
 
    ac_prev=sharedstatedir ;;
1201
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1202
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1203
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1204
 
  | --sha=* | --sh=*)
1205
 
    sharedstatedir=$ac_optarg ;;
1206
 
 
1207
 
  -site | --site | --sit)
1208
 
    ac_prev=site ;;
1209
 
  -site=* | --site=* | --sit=*)
1210
 
    site=$ac_optarg ;;
1211
 
 
1212
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1213
 
    ac_prev=srcdir ;;
1214
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1215
 
    srcdir=$ac_optarg ;;
1216
 
 
1217
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1218
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1219
 
    ac_prev=sysconfdir ;;
1220
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1221
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1222
 
    sysconfdir=$ac_optarg ;;
1223
 
 
1224
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1225
 
    ac_prev=target_alias ;;
1226
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1227
 
    target_alias=$ac_optarg ;;
1228
 
 
1229
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1230
 
    verbose=yes ;;
1231
 
 
1232
 
  -version | --version | --versio | --versi | --vers | -V)
1233
 
    ac_init_version=: ;;
1234
 
 
1235
 
  -with-* | --with-*)
1236
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1237
 
    # Reject names that are not valid shell variable names.
1238
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1239
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1240
 
   { (exit 1); exit 1; }; }
1241
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1242
 
    eval with_$ac_package=\$ac_optarg ;;
1243
 
 
1244
 
  -without-* | --without-*)
1245
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1246
 
    # Reject names that are not valid shell variable names.
1247
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1248
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1249
 
   { (exit 1); exit 1; }; }
1250
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1251
 
    eval with_$ac_package=no ;;
1252
 
 
1253
 
  --x)
1254
 
    # Obsolete; use --with-x.
1255
 
    with_x=yes ;;
1256
 
 
1257
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1258
 
  | --x-incl | --x-inc | --x-in | --x-i)
1259
 
    ac_prev=x_includes ;;
1260
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1261
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1262
 
    x_includes=$ac_optarg ;;
1263
 
 
1264
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1265
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1266
 
    ac_prev=x_libraries ;;
1267
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1268
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1269
 
    x_libraries=$ac_optarg ;;
1270
 
 
1271
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1272
 
Try \`$0 --help' for more information." >&2
1273
 
   { (exit 1); exit 1; }; }
1274
 
    ;;
1275
 
 
1276
 
  *=*)
1277
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1278
 
    # Reject names that are not valid shell variable names.
1279
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1280
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1281
 
   { (exit 1); exit 1; }; }
1282
 
    eval $ac_envvar=\$ac_optarg
1283
 
    export $ac_envvar ;;
1284
 
 
1285
 
  *)
1286
 
    # FIXME: should be removed in autoconf 3.0.
1287
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1288
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1289
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1290
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1291
 
    ;;
1292
 
 
1293
 
  esac
1294
 
done
1295
 
 
1296
 
if test -n "$ac_prev"; then
1297
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1298
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
1299
 
   { (exit 1); exit 1; }; }
1300
 
fi
1301
 
 
1302
 
# Be sure to have absolute directory names.
1303
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1304
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1305
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1306
 
                libdir localedir mandir
1307
 
do
1308
 
  eval ac_val=\$$ac_var
1309
 
  case $ac_val in
1310
 
    [\\/$]* | ?:[\\/]* )  continue;;
1311
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1312
 
  esac
1313
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1314
 
   { (exit 1); exit 1; }; }
1315
 
done
1316
 
 
1317
 
# There might be people who depend on the old broken behavior: `$host'
1318
 
# used to hold the argument of --host etc.
1319
 
# FIXME: To remove some day.
1320
 
build=$build_alias
1321
 
host=$host_alias
1322
 
target=$target_alias
1323
 
 
1324
 
# FIXME: To remove some day.
1325
 
if test "x$host_alias" != x; then
1326
 
  if test "x$build_alias" = x; then
1327
 
    cross_compiling=maybe
1328
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1329
 
    If a cross compiler is detected then cross compile mode will be used." >&2
1330
 
  elif test "x$build_alias" != "x$host_alias"; then
1331
 
    cross_compiling=yes
1332
 
  fi
1333
 
fi
1334
 
 
1335
 
ac_tool_prefix=
1336
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1337
 
 
1338
 
test "$silent" = yes && exec 6>/dev/null
1339
 
 
1340
 
 
1341
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1342
 
ac_ls_di=`ls -di .` &&
1343
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1344
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
1345
 
   { (exit 1); exit 1; }; }
1346
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1347
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1348
 
   { (exit 1); exit 1; }; }
1349
 
 
1350
 
 
1351
 
# Find the source files, if location was not specified.
1352
 
if test -z "$srcdir"; then
1353
 
  ac_srcdir_defaulted=yes
1354
 
  # Try the directory containing this script, then the parent directory.
1355
 
  ac_confdir=`$as_dirname -- "$0" ||
1356
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1357
 
         X"$0" : 'X\(//\)[^/]' \| \
1358
 
         X"$0" : 'X\(//\)$' \| \
1359
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1360
 
echo X"$0" |
1361
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1362
 
            s//\1/
1363
 
            q
1364
 
          }
1365
 
          /^X\(\/\/\)[^/].*/{
1366
 
            s//\1/
1367
 
            q
1368
 
          }
1369
 
          /^X\(\/\/\)$/{
1370
 
            s//\1/
1371
 
            q
1372
 
          }
1373
 
          /^X\(\/\).*/{
1374
 
            s//\1/
1375
 
            q
1376
 
          }
1377
 
          s/.*/./; q'`
1378
 
  srcdir=$ac_confdir
1379
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1380
 
    srcdir=..
1381
 
  fi
1382
 
else
1383
 
  ac_srcdir_defaulted=no
1384
 
fi
1385
 
if test ! -r "$srcdir/$ac_unique_file"; then
1386
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1387
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1388
 
   { (exit 1); exit 1; }; }
1389
 
fi
1390
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1391
 
ac_abs_confdir=`(
1392
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1393
 
   { (exit 1); exit 1; }; }
1394
 
        pwd)`
1395
 
# When building in place, set srcdir=.
1396
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1397
 
  srcdir=.
1398
 
fi
1399
 
# Remove unnecessary trailing slashes from srcdir.
1400
 
# Double slashes in file names in object file debugging info
1401
 
# mess up M-x gdb in Emacs.
1402
 
case $srcdir in
1403
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1404
 
esac
1405
 
for ac_var in $ac_precious_vars; do
1406
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1407
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1408
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1409
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1410
 
done
1411
 
 
1412
 
#
1413
 
# Report the --help message.
1414
 
#
1415
 
if test "$ac_init_help" = "long"; then
1416
 
  # Omit some internal or obsolete options to make the list less imposing.
1417
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1418
 
  cat <<_ACEOF
1419
 
\`configure' configures jasper 1.701.0-gs5 to adapt to many kinds of systems.
1420
 
 
1421
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1422
 
 
1423
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1424
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1425
 
 
1426
 
Defaults for the options are specified in brackets.
1427
 
 
1428
 
Configuration:
1429
 
  -h, --help              display this help and exit
1430
 
      --help=short        display options specific to this package
1431
 
      --help=recursive    display the short help of all the included packages
1432
 
  -V, --version           display version information and exit
1433
 
  -q, --quiet, --silent   do not print \`checking...' messages
1434
 
      --cache-file=FILE   cache test results in FILE [disabled]
1435
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1436
 
  -n, --no-create         do not create output files
1437
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1438
 
 
1439
 
Installation directories:
1440
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1441
 
                          [$ac_default_prefix]
1442
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1443
 
                          [PREFIX]
1444
 
 
1445
 
By default, \`make install' will install all the files in
1446
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1447
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1448
 
for instance \`--prefix=\$HOME'.
1449
 
 
1450
 
For better control, use the options below.
1451
 
 
1452
 
Fine tuning of the installation directories:
1453
 
  --bindir=DIR           user executables [EPREFIX/bin]
1454
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1455
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1456
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1457
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1458
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1459
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1460
 
  --includedir=DIR       C header files [PREFIX/include]
1461
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1462
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1463
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1464
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1465
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1466
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1467
 
  --docdir=DIR           documentation root @<:@DATAROOTDIR/doc/jasper@:>@
1468
 
  --htmldir=DIR          html documentation [DOCDIR]
1469
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1470
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1471
 
  --psdir=DIR            ps documentation [DOCDIR]
1472
 
_ACEOF
1473
 
 
1474
 
  cat <<\_ACEOF
1475
 
 
1476
 
Program names:
1477
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1478
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1479
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1480
 
 
1481
 
X features:
1482
 
  --x-includes=DIR    X include files are in DIR
1483
 
  --x-libraries=DIR   X library files are in DIR
1484
 
 
1485
 
System types:
1486
 
  --build=BUILD     configure for building on BUILD [guessed]
1487
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1488
 
  --target=TARGET   configure for building compilers for TARGET [HOST]
1489
 
_ACEOF
1490
 
fi
1491
 
 
1492
 
if test -n "$ac_init_help"; then
1493
 
  case $ac_init_help in
1494
 
     short | recursive ) echo "Configuration of jasper 1.701.0-gs5:";;
1495
 
   esac
1496
 
  cat <<\_ACEOF
1497
 
 
1498
 
Optional Features:
1499
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1500
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1501
 
  --disable-dependency-tracking  speeds up one-time build
1502
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1503
 
  --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=no@:>@
1504
 
  --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=yes@:>@
1505
 
  --enable-fast-install@<:@=PKGS@:>@ 
1506
 
                          optimize for fast installation @<:@default=yes@:>@
1507
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1508
 
  --disable-libjpeg    Force the IJG JPEG library to be ignored
1509
 
  --disable-opengl    Disable use of OpenGL. 
1510
 
  --enable-dmalloc    use special memory allocator for debugging
1511
 
  --enable-debug    add extra code for debugging
1512
 
 
1513
 
Optional Packages:
1514
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1515
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1516
 
  --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
1517
 
  --with-pic              try to use only PIC/non-PIC objects @<:@default=use
1518
 
                          both@:>@
1519
 
  --with-tags@<:@=TAGS@:>@      include additional configurations @<:@automatic@:>@
1520
 
  --with-x                use the X Window System
1521
 
  --with-glut-include-dir=DIR    Set GLUT include directory.
1522
 
  --with-glut-lib-dir=DIR        Set GLUT library directory.
1523
 
 
1524
 
Some influential environment variables:
1525
 
  CC          C compiler command
1526
 
  CFLAGS      C compiler flags
1527
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1528
 
              nonstandard directory <lib dir>
1529
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1530
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1531
 
              you have headers in a nonstandard directory <include dir>
1532
 
  CPP         C preprocessor
1533
 
  CXX         C++ compiler command
1534
 
  CXXFLAGS    C++ compiler flags
1535
 
  CXXCPP      C++ preprocessor
1536
 
  F77         Fortran 77 compiler command
1537
 
  FFLAGS      Fortran 77 compiler flags
1538
 
  XMKMF       Path to xmkmf, Makefile generator for X Window System
1539
 
 
1540
 
Use these variables to override the choices made by `configure' or to help
1541
 
it to find libraries and programs with nonstandard names/locations.
1542
 
 
1543
 
_ACEOF
1544
 
ac_status=$?
1545
 
fi
1546
 
 
1547
 
if test "$ac_init_help" = "recursive"; then
1548
 
  # If there are subdirs, report their specific --help.
1549
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1550
 
    test -d "$ac_dir" || continue
1551
 
    ac_builddir=.
1552
 
 
1553
 
case "$ac_dir" in
1554
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1555
 
*)
1556
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1557
 
  # A ".." for each directory in $ac_dir_suffix.
1558
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1559
 
  case $ac_top_builddir_sub in
1560
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1561
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1562
 
  esac ;;
1563
 
esac
1564
 
ac_abs_top_builddir=$ac_pwd
1565
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1566
 
# for backward compatibility:
1567
 
ac_top_builddir=$ac_top_build_prefix
1568
 
 
1569
 
case $srcdir in
1570
 
  .)  # We are building in place.
1571
 
    ac_srcdir=.
1572
 
    ac_top_srcdir=$ac_top_builddir_sub
1573
 
    ac_abs_top_srcdir=$ac_pwd ;;
1574
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1575
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1576
 
    ac_top_srcdir=$srcdir
1577
 
    ac_abs_top_srcdir=$srcdir ;;
1578
 
  *) # Relative name.
1579
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1580
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1581
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1582
 
esac
1583
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1584
 
 
1585
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1586
 
    # Check for guested configure.
1587
 
    if test -f "$ac_srcdir/configure.gnu"; then
1588
 
      echo &&
1589
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1590
 
    elif test -f "$ac_srcdir/configure"; then
1591
 
      echo &&
1592
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1593
 
    else
1594
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1595
 
    fi || ac_status=$?
1596
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1597
 
  done
1598
 
fi
1599
 
 
1600
 
test -n "$ac_init_help" && exit $ac_status
1601
 
if $ac_init_version; then
1602
 
  cat <<\_ACEOF
1603
 
jasper configure 1.701.0-gs5
1604
 
generated by GNU Autoconf 2.61
1605
 
 
1606
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1607
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1608
 
This configure script is free software; the Free Software Foundation
1609
 
gives unlimited permission to copy, distribute and modify it.
1610
 
_ACEOF
1611
 
  exit
1612
 
fi
1613
 
cat >config.log <<_ACEOF
1614
 
This file contains any messages produced by compilers while
1615
 
running configure, to aid debugging if configure makes a mistake.
1616
 
 
1617
 
It was created by jasper $as_me 1.701.0-gs5, which was
1618
 
generated by GNU Autoconf 2.61.  Invocation command line was
1619
 
 
1620
 
  $ $0 $@
1621
 
 
1622
 
_ACEOF
1623
 
exec 5>>config.log
1624
 
{
1625
 
cat <<_ASUNAME
1626
 
@%:@@%:@ --------- @%:@@%:@
1627
 
@%:@@%:@ Platform. @%:@@%:@
1628
 
@%:@@%:@ --------- @%:@@%:@
1629
 
 
1630
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1631
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1632
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1633
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1634
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1635
 
 
1636
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1637
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1638
 
 
1639
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1640
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1641
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1642
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1643
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1644
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1645
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1646
 
 
1647
 
_ASUNAME
1648
 
 
1649
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1650
 
for as_dir in $PATH
1651
 
do
1652
 
  IFS=$as_save_IFS
1653
 
  test -z "$as_dir" && as_dir=.
1654
 
  echo "PATH: $as_dir"
1655
 
done
1656
 
IFS=$as_save_IFS
1657
 
 
1658
 
} >&5
1659
 
 
1660
 
cat >&5 <<_ACEOF
1661
 
 
1662
 
 
1663
 
@%:@@%:@ ----------- @%:@@%:@
1664
 
@%:@@%:@ Core tests. @%:@@%:@
1665
 
@%:@@%:@ ----------- @%:@@%:@
1666
 
 
1667
 
_ACEOF
1668
 
 
1669
 
 
1670
 
# Keep a trace of the command line.
1671
 
# Strip out --no-create and --no-recursion so they do not pile up.
1672
 
# Strip out --silent because we don't want to record it for future runs.
1673
 
# Also quote any args containing shell meta-characters.
1674
 
# Make two passes to allow for proper duplicate-argument suppression.
1675
 
ac_configure_args=
1676
 
ac_configure_args0=
1677
 
ac_configure_args1=
1678
 
ac_must_keep_next=false
1679
 
for ac_pass in 1 2
1680
 
do
1681
 
  for ac_arg
1682
 
  do
1683
 
    case $ac_arg in
1684
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1685
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1686
 
    | -silent | --silent | --silen | --sile | --sil)
1687
 
      continue ;;
1688
 
    *\'*)
1689
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1690
 
    esac
1691
 
    case $ac_pass in
1692
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1693
 
    2)
1694
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1695
 
      if test $ac_must_keep_next = true; then
1696
 
        ac_must_keep_next=false # Got value, back to normal.
1697
 
      else
1698
 
        case $ac_arg in
1699
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1700
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1701
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1702
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1703
 
            case "$ac_configure_args0 " in
1704
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1705
 
            esac
1706
 
            ;;
1707
 
          -* ) ac_must_keep_next=true ;;
1708
 
        esac
1709
 
      fi
1710
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
1711
 
      ;;
1712
 
    esac
1713
 
  done
1714
 
done
1715
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1716
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1717
 
 
1718
 
# When interrupted or exit'd, cleanup temporary files, and complete
1719
 
# config.log.  We remove comments because anyway the quotes in there
1720
 
# would cause problems or look ugly.
1721
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
1722
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1723
 
trap 'exit_status=$?
1724
 
  # Save into config.log some information that might help in debugging.
1725
 
  {
1726
 
    echo
1727
 
 
1728
 
    cat <<\_ASBOX
1729
 
@%:@@%:@ ---------------- @%:@@%:@
1730
 
@%:@@%:@ Cache variables. @%:@@%:@
1731
 
@%:@@%:@ ---------------- @%:@@%:@
1732
 
_ASBOX
1733
 
    echo
1734
 
    # The following way of writing the cache mishandles newlines in values,
1735
 
(
1736
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1737
 
    eval ac_val=\$$ac_var
1738
 
    case $ac_val in #(
1739
 
    *${as_nl}*)
1740
 
      case $ac_var in #(
1741
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1742
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1743
 
      esac
1744
 
      case $ac_var in #(
1745
 
      _ | IFS | as_nl) ;; #(
1746
 
      *) $as_unset $ac_var ;;
1747
 
      esac ;;
1748
 
    esac
1749
 
  done
1750
 
  (set) 2>&1 |
1751
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1752
 
    *${as_nl}ac_space=\ *)
1753
 
      sed -n \
1754
 
        "s/'\''/'\''\\\\'\'''\''/g;
1755
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1756
 
      ;; #(
1757
 
    *)
1758
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1759
 
      ;;
1760
 
    esac |
1761
 
    sort
1762
 
)
1763
 
    echo
1764
 
 
1765
 
    cat <<\_ASBOX
1766
 
@%:@@%:@ ----------------- @%:@@%:@
1767
 
@%:@@%:@ Output variables. @%:@@%:@
1768
 
@%:@@%:@ ----------------- @%:@@%:@
1769
 
_ASBOX
1770
 
    echo
1771
 
    for ac_var in $ac_subst_vars
1772
 
    do
1773
 
      eval ac_val=\$$ac_var
1774
 
      case $ac_val in
1775
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1776
 
      esac
1777
 
      echo "$ac_var='\''$ac_val'\''"
1778
 
    done | sort
1779
 
    echo
1780
 
 
1781
 
    if test -n "$ac_subst_files"; then
1782
 
      cat <<\_ASBOX
1783
 
@%:@@%:@ ------------------- @%:@@%:@
1784
 
@%:@@%:@ File substitutions. @%:@@%:@
1785
 
@%:@@%:@ ------------------- @%:@@%:@
1786
 
_ASBOX
1787
 
      echo
1788
 
      for ac_var in $ac_subst_files
1789
 
      do
1790
 
        eval ac_val=\$$ac_var
1791
 
        case $ac_val in
1792
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1793
 
        esac
1794
 
        echo "$ac_var='\''$ac_val'\''"
1795
 
      done | sort
1796
 
      echo
1797
 
    fi
1798
 
 
1799
 
    if test -s confdefs.h; then
1800
 
      cat <<\_ASBOX
1801
 
@%:@@%:@ ----------- @%:@@%:@
1802
 
@%:@@%:@ confdefs.h. @%:@@%:@
1803
 
@%:@@%:@ ----------- @%:@@%:@
1804
 
_ASBOX
1805
 
      echo
1806
 
      cat confdefs.h
1807
 
      echo
1808
 
    fi
1809
 
    test "$ac_signal" != 0 &&
1810
 
      echo "$as_me: caught signal $ac_signal"
1811
 
    echo "$as_me: exit $exit_status"
1812
 
  } >&5
1813
 
  rm -f core *.core core.conftest.* &&
1814
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1815
 
    exit $exit_status
1816
 
' 0
1817
 
for ac_signal in 1 2 13 15; do
1818
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1819
 
done
1820
 
ac_signal=0
1821
 
 
1822
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1823
 
rm -f -r conftest* confdefs.h
1824
 
 
1825
 
# Predefined preprocessor variables.
1826
 
 
1827
 
cat >>confdefs.h <<_ACEOF
1828
 
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
1829
 
_ACEOF
1830
 
 
1831
 
 
1832
 
cat >>confdefs.h <<_ACEOF
1833
 
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1834
 
_ACEOF
1835
 
 
1836
 
 
1837
 
cat >>confdefs.h <<_ACEOF
1838
 
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1839
 
_ACEOF
1840
 
 
1841
 
 
1842
 
cat >>confdefs.h <<_ACEOF
1843
 
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
1844
 
_ACEOF
1845
 
 
1846
 
 
1847
 
cat >>confdefs.h <<_ACEOF
1848
 
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1849
 
_ACEOF
1850
 
 
1851
 
 
1852
 
# Let the site file select an alternate cache file if it wants to.
1853
 
# Prefer explicitly selected file to automatically selected ones.
1854
 
if test -n "$CONFIG_SITE"; then
1855
 
  set x "$CONFIG_SITE"
1856
 
elif test "x$prefix" != xNONE; then
1857
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1858
 
else
1859
 
  set x "$ac_default_prefix/share/config.site" \
1860
 
        "$ac_default_prefix/etc/config.site"
1861
 
fi
1862
 
shift
1863
 
for ac_site_file
1864
 
do
1865
 
  if test -r "$ac_site_file"; then
1866
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1867
 
echo "$as_me: loading site script $ac_site_file" >&6;}
1868
 
    sed 's/^/| /' "$ac_site_file" >&5
1869
 
    . "$ac_site_file"
1870
 
  fi
1871
 
done
1872
 
 
1873
 
if test -r "$cache_file"; then
1874
 
  # Some versions of bash will fail to source /dev/null (special
1875
 
  # files actually), so we avoid doing that.
1876
 
  if test -f "$cache_file"; then
1877
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1878
 
echo "$as_me: loading cache $cache_file" >&6;}
1879
 
    case $cache_file in
1880
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1881
 
      *)                      . "./$cache_file";;
1882
 
    esac
1883
 
  fi
1884
 
else
1885
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1886
 
echo "$as_me: creating cache $cache_file" >&6;}
1887
 
  >$cache_file
1888
 
fi
1889
 
 
1890
 
# Check that the precious variables saved in the cache have kept the same
1891
 
# value.
1892
 
ac_cache_corrupted=false
1893
 
for ac_var in $ac_precious_vars; do
1894
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1895
 
  eval ac_new_set=\$ac_env_${ac_var}_set
1896
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1897
 
  eval ac_new_val=\$ac_env_${ac_var}_value
1898
 
  case $ac_old_set,$ac_new_set in
1899
 
    set,)
1900
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1901
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1902
 
      ac_cache_corrupted=: ;;
1903
 
    ,set)
1904
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1905
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1906
 
      ac_cache_corrupted=: ;;
1907
 
    ,);;
1908
 
    *)
1909
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
1910
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1911
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1912
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1913
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1914
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1915
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1916
 
        ac_cache_corrupted=:
1917
 
      fi;;
1918
 
  esac
1919
 
  # Pass precious variables to config.status.
1920
 
  if test "$ac_new_set" = set; then
1921
 
    case $ac_new_val in
1922
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1923
 
    *) ac_arg=$ac_var=$ac_new_val ;;
1924
 
    esac
1925
 
    case " $ac_configure_args " in
1926
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1927
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1928
 
    esac
1929
 
  fi
1930
 
done
1931
 
if $ac_cache_corrupted; then
1932
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1933
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1934
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1935
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1936
 
   { (exit 1); exit 1; }; }
1937
 
fi
1938
 
 
1939
 
 
1940
 
 
1941
 
 
1942
 
 
1943
 
 
1944
 
 
1945
 
 
1946
 
 
1947
 
 
1948
 
 
1949
 
 
1950
 
 
1951
 
 
1952
 
 
1953
 
 
1954
 
 
1955
 
 
1956
 
 
1957
 
 
1958
 
 
1959
 
 
1960
 
 
1961
 
 
1962
 
 
1963
 
ac_ext=c
1964
 
ac_cpp='$CPP $CPPFLAGS'
1965
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1966
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1967
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1968
 
 
1969
 
 
1970
 
 
1971
 
 
1972
 
ac_aux_dir=
1973
 
for ac_dir in acaux "$srcdir"/acaux; do
1974
 
  if test -f "$ac_dir/install-sh"; then
1975
 
    ac_aux_dir=$ac_dir
1976
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
1977
 
    break
1978
 
  elif test -f "$ac_dir/install.sh"; then
1979
 
    ac_aux_dir=$ac_dir
1980
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
1981
 
    break
1982
 
  elif test -f "$ac_dir/shtool"; then
1983
 
    ac_aux_dir=$ac_dir
1984
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
1985
 
    break
1986
 
  fi
1987
 
done
1988
 
if test -z "$ac_aux_dir"; then
1989
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in acaux \"$srcdir\"/acaux" >&5
1990
 
echo "$as_me: error: cannot find install-sh or install.sh in acaux \"$srcdir\"/acaux" >&2;}
1991
 
   { (exit 1); exit 1; }; }
1992
 
fi
1993
 
 
1994
 
# These three variables are undocumented and unsupported,
1995
 
# and are intended to be withdrawn in a future Autoconf release.
1996
 
# They can cause serious problems if a builder's source tree is in a directory
1997
 
# whose full name contains unusual characters.
1998
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1999
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2000
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2001
 
 
2002
 
 
2003
 
 
2004
 
# Detect the canonical host and target build environment.
2005
 
# Note: This precedes automake initialization to avoid warnings.
2006
 
# Make sure we can run config.sub.
2007
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2008
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2009
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2010
 
   { (exit 1); exit 1; }; }
2011
 
 
2012
 
{ echo "$as_me:$LINENO: checking build system type" >&5
2013
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2014
 
if test "${ac_cv_build+set}" = set; then
2015
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2016
 
else
2017
 
  ac_build_alias=$build_alias
2018
 
test "x$ac_build_alias" = x &&
2019
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2020
 
test "x$ac_build_alias" = x &&
2021
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2022
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2023
 
   { (exit 1); exit 1; }; }
2024
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2025
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2026
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2027
 
   { (exit 1); exit 1; }; }
2028
 
 
2029
 
fi
2030
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2031
 
echo "${ECHO_T}$ac_cv_build" >&6; }
2032
 
case $ac_cv_build in
2033
 
*-*-*) ;;
2034
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2035
 
echo "$as_me: error: invalid value of canonical build" >&2;}
2036
 
   { (exit 1); exit 1; }; };;
2037
 
esac
2038
 
build=$ac_cv_build
2039
 
ac_save_IFS=$IFS; IFS='-'
2040
 
set x $ac_cv_build
2041
 
shift
2042
 
build_cpu=$1
2043
 
build_vendor=$2
2044
 
shift; shift
2045
 
# Remember, the first character of IFS is used to create $*,
2046
 
# except with old shells:
2047
 
build_os=$*
2048
 
IFS=$ac_save_IFS
2049
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2050
 
 
2051
 
 
2052
 
{ echo "$as_me:$LINENO: checking host system type" >&5
2053
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2054
 
if test "${ac_cv_host+set}" = set; then
2055
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2056
 
else
2057
 
  if test "x$host_alias" = x; then
2058
 
  ac_cv_host=$ac_cv_build
2059
 
else
2060
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2061
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2062
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2063
 
   { (exit 1); exit 1; }; }
2064
 
fi
2065
 
 
2066
 
fi
2067
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2068
 
echo "${ECHO_T}$ac_cv_host" >&6; }
2069
 
case $ac_cv_host in
2070
 
*-*-*) ;;
2071
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2072
 
echo "$as_me: error: invalid value of canonical host" >&2;}
2073
 
   { (exit 1); exit 1; }; };;
2074
 
esac
2075
 
host=$ac_cv_host
2076
 
ac_save_IFS=$IFS; IFS='-'
2077
 
set x $ac_cv_host
2078
 
shift
2079
 
host_cpu=$1
2080
 
host_vendor=$2
2081
 
shift; shift
2082
 
# Remember, the first character of IFS is used to create $*,
2083
 
# except with old shells:
2084
 
host_os=$*
2085
 
IFS=$ac_save_IFS
2086
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2087
 
 
2088
 
 
2089
 
{ echo "$as_me:$LINENO: checking target system type" >&5
2090
 
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2091
 
if test "${ac_cv_target+set}" = set; then
2092
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2093
 
else
2094
 
  if test "x$target_alias" = x; then
2095
 
  ac_cv_target=$ac_cv_host
2096
 
else
2097
 
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2098
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2099
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2100
 
   { (exit 1); exit 1; }; }
2101
 
fi
2102
 
 
2103
 
fi
2104
 
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2105
 
echo "${ECHO_T}$ac_cv_target" >&6; }
2106
 
case $ac_cv_target in
2107
 
*-*-*) ;;
2108
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2109
 
echo "$as_me: error: invalid value of canonical target" >&2;}
2110
 
   { (exit 1); exit 1; }; };;
2111
 
esac
2112
 
target=$ac_cv_target
2113
 
ac_save_IFS=$IFS; IFS='-'
2114
 
set x $ac_cv_target
2115
 
shift
2116
 
target_cpu=$1
2117
 
target_vendor=$2
2118
 
shift; shift
2119
 
# Remember, the first character of IFS is used to create $*,
2120
 
# except with old shells:
2121
 
target_os=$*
2122
 
IFS=$ac_save_IFS
2123
 
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2124
 
 
2125
 
 
2126
 
# The aliases save the names the user supplied, while $host etc.
2127
 
# will get canonicalized.
2128
 
test -n "$target_alias" &&
2129
 
  test "$program_prefix$program_suffix$program_transform_name" = \
2130
 
    NONENONEs,x,x, &&
2131
 
  program_prefix=${target_alias}-
2132
 
 
2133
 
# Initialize automake.
2134
 
am__api_version="1.9"
2135
 
# Find a good install program.  We prefer a C program (faster),
2136
 
# so one script is as good as another.  But avoid the broken or
2137
 
# incompatible versions:
2138
 
# SysV /etc/install, /usr/sbin/install
2139
 
# SunOS /usr/etc/install
2140
 
# IRIX /sbin/install
2141
 
# AIX /bin/install
2142
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2143
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2144
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2145
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2146
 
# OS/2's system install, which has a completely different semantic
2147
 
# ./install, which can be erroneously created by make from ./install.sh.
2148
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2149
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2150
 
if test -z "$INSTALL"; then
2151
 
if test "${ac_cv_path_install+set}" = set; then
2152
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2153
 
else
2154
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2155
 
for as_dir in $PATH
2156
 
do
2157
 
  IFS=$as_save_IFS
2158
 
  test -z "$as_dir" && as_dir=.
2159
 
  # Account for people who put trailing slashes in PATH elements.
2160
 
case $as_dir/ in
2161
 
  ./ | .// | /cC/* | \
2162
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2163
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2164
 
  /usr/ucb/* ) ;;
2165
 
  *)
2166
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2167
 
    # Don't use installbsd from OSF since it installs stuff as root
2168
 
    # by default.
2169
 
    for ac_prog in ginstall scoinst install; do
2170
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2171
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2172
 
          if test $ac_prog = install &&
2173
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2174
 
            # AIX install.  It has an incompatible calling convention.
2175
 
            :
2176
 
          elif test $ac_prog = install &&
2177
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2178
 
            # program-specific install script used by HP pwplus--don't use.
2179
 
            :
2180
 
          else
2181
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2182
 
            break 3
2183
 
          fi
2184
 
        fi
2185
 
      done
2186
 
    done
2187
 
    ;;
2188
 
esac
2189
 
done
2190
 
IFS=$as_save_IFS
2191
 
 
2192
 
 
2193
 
fi
2194
 
  if test "${ac_cv_path_install+set}" = set; then
2195
 
    INSTALL=$ac_cv_path_install
2196
 
  else
2197
 
    # As a last resort, use the slow shell script.  Don't cache a
2198
 
    # value for INSTALL within a source directory, because that will
2199
 
    # break other packages using the cache if that directory is
2200
 
    # removed, or if the value is a relative name.
2201
 
    INSTALL=$ac_install_sh
2202
 
  fi
2203
 
fi
2204
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2205
 
echo "${ECHO_T}$INSTALL" >&6; }
2206
 
 
2207
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2208
 
# It thinks the first close brace ends the variable substitution.
2209
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2210
 
 
2211
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2212
 
 
2213
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2214
 
 
2215
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2216
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2217
 
# Just in case
2218
 
sleep 1
2219
 
echo timestamp > conftest.file
2220
 
# Do `set' in a subshell so we don't clobber the current shell's
2221
 
# arguments.  Must try -L first in case configure is actually a
2222
 
# symlink; some systems play weird games with the mod time of symlinks
2223
 
# (eg FreeBSD returns the mod time of the symlink's containing
2224
 
# directory).
2225
 
if (
2226
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2227
 
   if test "$*" = "X"; then
2228
 
      # -L didn't work.
2229
 
      set X `ls -t $srcdir/configure conftest.file`
2230
 
   fi
2231
 
   rm -f conftest.file
2232
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2233
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2234
 
 
2235
 
      # If neither matched, then we have a broken ls.  This can happen
2236
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2237
 
      # broken ls alias from the environment.  This has actually
2238
 
      # happened.  Such a system could not be considered "sane".
2239
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2240
 
alias in your environment" >&5
2241
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2242
 
alias in your environment" >&2;}
2243
 
   { (exit 1); exit 1; }; }
2244
 
   fi
2245
 
 
2246
 
   test "$2" = conftest.file
2247
 
   )
2248
 
then
2249
 
   # Ok.
2250
 
   :
2251
 
else
2252
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2253
 
Check your system clock" >&5
2254
 
echo "$as_me: error: newly created file is older than distributed files!
2255
 
Check your system clock" >&2;}
2256
 
   { (exit 1); exit 1; }; }
2257
 
fi
2258
 
{ echo "$as_me:$LINENO: result: yes" >&5
2259
 
echo "${ECHO_T}yes" >&6; }
2260
 
test "$program_prefix" != NONE &&
2261
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2262
 
# Use a double $ so make ignores it.
2263
 
test "$program_suffix" != NONE &&
2264
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2265
 
# Double any \ or $.  echo might interpret backslashes.
2266
 
# By default was `s,x,x', remove it if useless.
2267
 
cat <<\_ACEOF >conftest.sed
2268
 
s/[\\$]/&&/g;s/;s,x,x,$//
2269
 
_ACEOF
2270
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2271
 
rm -f conftest.sed
2272
 
 
2273
 
# expand $ac_aux_dir to an absolute path
2274
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2275
 
 
2276
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2277
 
# Use eval to expand $SHELL
2278
 
if eval "$MISSING --run true"; then
2279
 
  am_missing_run="$MISSING --run "
2280
 
else
2281
 
  am_missing_run=
2282
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2283
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2284
 
fi
2285
 
 
2286
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2287
 
  # We used to keeping the `.' as first argument, in order to
2288
 
  # allow $(mkdir_p) to be used without argument.  As in
2289
 
  #   $(mkdir_p) $(somedir)
2290
 
  # where $(somedir) is conditionally defined.  However this is wrong
2291
 
  # for two reasons:
2292
 
  #  1. if the package is installed by a user who cannot write `.'
2293
 
  #     make install will fail,
2294
 
  #  2. the above comment should most certainly read
2295
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
2296
 
  #     so it does not work when $(somedir) is undefined and
2297
 
  #     $(DESTDIR) is not.
2298
 
  #  To support the latter case, we have to write
2299
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2300
 
  #  so the `.' trick is pointless.
2301
 
  mkdir_p='mkdir -p --'
2302
 
else
2303
 
  # On NextStep and OpenStep, the `mkdir' command does not
2304
 
  # recognize any option.  It will interpret all options as
2305
 
  # directories to create, and then abort because `.' already
2306
 
  # exists.
2307
 
  for d in ./-p ./--version;
2308
 
  do
2309
 
    test -d $d && rmdir $d
2310
 
  done
2311
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2312
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
2313
 
    mkdir_p='$(mkinstalldirs)'
2314
 
  else
2315
 
    mkdir_p='$(install_sh) -d'
2316
 
  fi
2317
 
fi
2318
 
 
2319
 
for ac_prog in gawk mawk nawk awk
2320
 
do
2321
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2322
 
set dummy $ac_prog; ac_word=$2
2323
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2324
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2325
 
if test "${ac_cv_prog_AWK+set}" = set; then
2326
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2327
 
else
2328
 
  if test -n "$AWK"; then
2329
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2330
 
else
2331
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2332
 
for as_dir in $PATH
2333
 
do
2334
 
  IFS=$as_save_IFS
2335
 
  test -z "$as_dir" && as_dir=.
2336
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2337
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2338
 
    ac_cv_prog_AWK="$ac_prog"
2339
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2340
 
    break 2
2341
 
  fi
2342
 
done
2343
 
done
2344
 
IFS=$as_save_IFS
2345
 
 
2346
 
fi
2347
 
fi
2348
 
AWK=$ac_cv_prog_AWK
2349
 
if test -n "$AWK"; then
2350
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2351
 
echo "${ECHO_T}$AWK" >&6; }
2352
 
else
2353
 
  { echo "$as_me:$LINENO: result: no" >&5
2354
 
echo "${ECHO_T}no" >&6; }
2355
 
fi
2356
 
 
2357
 
 
2358
 
  test -n "$AWK" && break
2359
 
done
2360
 
 
2361
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2362
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2363
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2364
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2365
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2366
 
else
2367
 
  cat >conftest.make <<\_ACEOF
2368
 
SHELL = /bin/sh
2369
 
all:
2370
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2371
 
_ACEOF
2372
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2373
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2374
 
  *@@@%%%=?*=@@@%%%*)
2375
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2376
 
  *)
2377
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2378
 
esac
2379
 
rm -f conftest.make
2380
 
fi
2381
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2382
 
  { echo "$as_me:$LINENO: result: yes" >&5
2383
 
echo "${ECHO_T}yes" >&6; }
2384
 
  SET_MAKE=
2385
 
else
2386
 
  { echo "$as_me:$LINENO: result: no" >&5
2387
 
echo "${ECHO_T}no" >&6; }
2388
 
  SET_MAKE="MAKE=${MAKE-make}"
2389
 
fi
2390
 
 
2391
 
rm -rf .tst 2>/dev/null
2392
 
mkdir .tst 2>/dev/null
2393
 
if test -d .tst; then
2394
 
  am__leading_dot=.
2395
 
else
2396
 
  am__leading_dot=_
2397
 
fi
2398
 
rmdir .tst 2>/dev/null
2399
 
 
2400
 
# test to see if srcdir already configured
2401
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2402
 
   test -f $srcdir/config.status; then
2403
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2404
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2405
 
   { (exit 1); exit 1; }; }
2406
 
fi
2407
 
 
2408
 
# test whether we have cygpath
2409
 
if test -z "$CYGPATH_W"; then
2410
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2411
 
    CYGPATH_W='cygpath -w'
2412
 
  else
2413
 
    CYGPATH_W=echo
2414
 
  fi
2415
 
fi
2416
 
 
2417
 
 
2418
 
# Define the identity of the package.
2419
 
 PACKAGE='jasper'
2420
 
 VERSION='1.701.0-gs5'
2421
 
 
2422
 
 
2423
 
cat >>confdefs.h <<_ACEOF
2424
 
@%:@define PACKAGE "$PACKAGE"
2425
 
_ACEOF
2426
 
 
2427
 
 
2428
 
cat >>confdefs.h <<_ACEOF
2429
 
@%:@define VERSION "$VERSION"
2430
 
_ACEOF
2431
 
 
2432
 
# Some tools Automake needs.
2433
 
 
2434
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2435
 
 
2436
 
 
2437
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2438
 
 
2439
 
 
2440
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2441
 
 
2442
 
 
2443
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2444
 
 
2445
 
 
2446
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2447
 
 
2448
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
2449
 
 
2450
 
# Installed binaries are usually stripped using `strip' when the user
2451
 
# run `make install-strip'.  However `strip' might not be the right
2452
 
# tool to use in cross-compilation environments, therefore Automake
2453
 
# will honor the `STRIP' environment variable to overrule this program.
2454
 
if test "$cross_compiling" != no; then
2455
 
  if test -n "$ac_tool_prefix"; then
2456
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2457
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2458
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2459
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2460
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2461
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2462
 
else
2463
 
  if test -n "$STRIP"; then
2464
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2465
 
else
2466
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2467
 
for as_dir in $PATH
2468
 
do
2469
 
  IFS=$as_save_IFS
2470
 
  test -z "$as_dir" && as_dir=.
2471
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2472
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2473
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2474
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2475
 
    break 2
2476
 
  fi
2477
 
done
2478
 
done
2479
 
IFS=$as_save_IFS
2480
 
 
2481
 
fi
2482
 
fi
2483
 
STRIP=$ac_cv_prog_STRIP
2484
 
if test -n "$STRIP"; then
2485
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2486
 
echo "${ECHO_T}$STRIP" >&6; }
2487
 
else
2488
 
  { echo "$as_me:$LINENO: result: no" >&5
2489
 
echo "${ECHO_T}no" >&6; }
2490
 
fi
2491
 
 
2492
 
 
2493
 
fi
2494
 
if test -z "$ac_cv_prog_STRIP"; then
2495
 
  ac_ct_STRIP=$STRIP
2496
 
  # Extract the first word of "strip", so it can be a program name with args.
2497
 
set dummy strip; ac_word=$2
2498
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2499
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2500
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2501
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2502
 
else
2503
 
  if test -n "$ac_ct_STRIP"; then
2504
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2505
 
else
2506
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2507
 
for as_dir in $PATH
2508
 
do
2509
 
  IFS=$as_save_IFS
2510
 
  test -z "$as_dir" && as_dir=.
2511
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2512
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2513
 
    ac_cv_prog_ac_ct_STRIP="strip"
2514
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2515
 
    break 2
2516
 
  fi
2517
 
done
2518
 
done
2519
 
IFS=$as_save_IFS
2520
 
 
2521
 
fi
2522
 
fi
2523
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2524
 
if test -n "$ac_ct_STRIP"; then
2525
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2526
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2527
 
else
2528
 
  { echo "$as_me:$LINENO: result: no" >&5
2529
 
echo "${ECHO_T}no" >&6; }
2530
 
fi
2531
 
 
2532
 
  if test "x$ac_ct_STRIP" = x; then
2533
 
    STRIP=":"
2534
 
  else
2535
 
    case $cross_compiling:$ac_tool_warned in
2536
 
yes:)
2537
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2538
 
whose name does not start with the host triplet.  If you think this
2539
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2540
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2541
 
whose name does not start with the host triplet.  If you think this
2542
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2543
 
ac_tool_warned=yes ;;
2544
 
esac
2545
 
    STRIP=$ac_ct_STRIP
2546
 
  fi
2547
 
else
2548
 
  STRIP="$ac_cv_prog_STRIP"
2549
 
fi
2550
 
 
2551
 
fi
2552
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2553
 
 
2554
 
# We need awk for the "check" target.  The system "awk" is bad on
2555
 
# some platforms.
2556
 
# Always define AMTAR for backward compatibility.
2557
 
 
2558
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2559
 
 
2560
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2561
 
 
2562
 
 
2563
 
 
2564
 
 
2565
 
 
2566
 
 
2567
 
# Initialize version information parameters.
2568
 
JAS_MAJOR_VERSION=1
2569
 
JAS_MINOR_VERSION=701
2570
 
JAS_MICRO_VERSION=0-gs5
2571
 
JAS_VERSION=1.701.0-gs5
2572
 
 
2573
 
 
2574
 
 
2575
 
 
2576
 
cat >>confdefs.h <<_ACEOF
2577
 
@%:@define JAS_VERSION "$JAS_VERSION"
2578
 
_ACEOF
2579
 
 
2580
 
JAS_RPM_RELEASE=1
2581
 
 
2582
 
 
2583
 
# Initialize version information for libtool.
2584
 
LT_RELEASE=1.701
2585
 
LT_CURRENT=1
2586
 
LT_REVISION=0
2587
 
LT_AGE=0
2588
 
 
2589
 
 
2590
 
 
2591
 
 
2592
 
 
2593
 
# Indicate a configure-based build is being used.
2594
 
cat >>confdefs.h <<\_ACEOF
2595
 
@%:@define JAS_CONFIGURE 1
2596
 
_ACEOF
2597
 
 
2598
 
 
2599
 
############################################################
2600
 
# Configuration header file.
2601
 
############################################################
2602
 
 
2603
 
 
2604
 
 
2605
 
 
2606
 
 
2607
 
 
2608
 
 
2609
 
 
2610
 
 
2611
 
 
2612
 
 
2613
 
 
2614
 
 
2615
 
 
2616
 
 
2617
 
 
2618
 
 
2619
 
 
2620
 
 
2621
 
 
2622
 
############################################################
2623
 
# Checks for programs.
2624
 
############################################################
2625
 
 
2626
 
for ac_prog in gawk mawk nawk awk
2627
 
do
2628
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2629
 
set dummy $ac_prog; ac_word=$2
2630
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2631
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2632
 
if test "${ac_cv_prog_AWK+set}" = set; then
2633
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2634
 
else
2635
 
  if test -n "$AWK"; then
2636
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2637
 
else
2638
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2639
 
for as_dir in $PATH
2640
 
do
2641
 
  IFS=$as_save_IFS
2642
 
  test -z "$as_dir" && as_dir=.
2643
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2644
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2645
 
    ac_cv_prog_AWK="$ac_prog"
2646
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2647
 
    break 2
2648
 
  fi
2649
 
done
2650
 
done
2651
 
IFS=$as_save_IFS
2652
 
 
2653
 
fi
2654
 
fi
2655
 
AWK=$ac_cv_prog_AWK
2656
 
if test -n "$AWK"; then
2657
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2658
 
echo "${ECHO_T}$AWK" >&6; }
2659
 
else
2660
 
  { echo "$as_me:$LINENO: result: no" >&5
2661
 
echo "${ECHO_T}no" >&6; }
2662
 
fi
2663
 
 
2664
 
 
2665
 
  test -n "$AWK" && break
2666
 
done
2667
 
 
2668
 
ac_ext=c
2669
 
ac_cpp='$CPP $CPPFLAGS'
2670
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2671
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2672
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2673
 
if test -n "$ac_tool_prefix"; then
2674
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2675
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2676
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2677
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2678
 
if test "${ac_cv_prog_CC+set}" = set; then
2679
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2680
 
else
2681
 
  if test -n "$CC"; then
2682
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2683
 
else
2684
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2685
 
for as_dir in $PATH
2686
 
do
2687
 
  IFS=$as_save_IFS
2688
 
  test -z "$as_dir" && as_dir=.
2689
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2690
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2691
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2692
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2693
 
    break 2
2694
 
  fi
2695
 
done
2696
 
done
2697
 
IFS=$as_save_IFS
2698
 
 
2699
 
fi
2700
 
fi
2701
 
CC=$ac_cv_prog_CC
2702
 
if test -n "$CC"; then
2703
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2704
 
echo "${ECHO_T}$CC" >&6; }
2705
 
else
2706
 
  { echo "$as_me:$LINENO: result: no" >&5
2707
 
echo "${ECHO_T}no" >&6; }
2708
 
fi
2709
 
 
2710
 
 
2711
 
fi
2712
 
if test -z "$ac_cv_prog_CC"; then
2713
 
  ac_ct_CC=$CC
2714
 
  # Extract the first word of "gcc", so it can be a program name with args.
2715
 
set dummy gcc; ac_word=$2
2716
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2717
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2718
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2719
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2720
 
else
2721
 
  if test -n "$ac_ct_CC"; then
2722
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2723
 
else
2724
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2725
 
for as_dir in $PATH
2726
 
do
2727
 
  IFS=$as_save_IFS
2728
 
  test -z "$as_dir" && as_dir=.
2729
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2730
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2731
 
    ac_cv_prog_ac_ct_CC="gcc"
2732
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2733
 
    break 2
2734
 
  fi
2735
 
done
2736
 
done
2737
 
IFS=$as_save_IFS
2738
 
 
2739
 
fi
2740
 
fi
2741
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2742
 
if test -n "$ac_ct_CC"; then
2743
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2744
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
2745
 
else
2746
 
  { echo "$as_me:$LINENO: result: no" >&5
2747
 
echo "${ECHO_T}no" >&6; }
2748
 
fi
2749
 
 
2750
 
  if test "x$ac_ct_CC" = x; then
2751
 
    CC=""
2752
 
  else
2753
 
    case $cross_compiling:$ac_tool_warned in
2754
 
yes:)
2755
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2756
 
whose name does not start with the host triplet.  If you think this
2757
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2758
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2759
 
whose name does not start with the host triplet.  If you think this
2760
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2761
 
ac_tool_warned=yes ;;
2762
 
esac
2763
 
    CC=$ac_ct_CC
2764
 
  fi
2765
 
else
2766
 
  CC="$ac_cv_prog_CC"
2767
 
fi
2768
 
 
2769
 
if test -z "$CC"; then
2770
 
          if test -n "$ac_tool_prefix"; then
2771
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2772
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
2773
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2774
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2775
 
if test "${ac_cv_prog_CC+set}" = set; then
2776
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2777
 
else
2778
 
  if test -n "$CC"; then
2779
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2780
 
else
2781
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2782
 
for as_dir in $PATH
2783
 
do
2784
 
  IFS=$as_save_IFS
2785
 
  test -z "$as_dir" && as_dir=.
2786
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2787
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2788
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2789
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2790
 
    break 2
2791
 
  fi
2792
 
done
2793
 
done
2794
 
IFS=$as_save_IFS
2795
 
 
2796
 
fi
2797
 
fi
2798
 
CC=$ac_cv_prog_CC
2799
 
if test -n "$CC"; then
2800
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2801
 
echo "${ECHO_T}$CC" >&6; }
2802
 
else
2803
 
  { echo "$as_me:$LINENO: result: no" >&5
2804
 
echo "${ECHO_T}no" >&6; }
2805
 
fi
2806
 
 
2807
 
 
2808
 
  fi
2809
 
fi
2810
 
if test -z "$CC"; then
2811
 
  # Extract the first word of "cc", so it can be a program name with args.
2812
 
set dummy cc; ac_word=$2
2813
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2814
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2815
 
if test "${ac_cv_prog_CC+set}" = set; then
2816
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2817
 
else
2818
 
  if test -n "$CC"; then
2819
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2820
 
else
2821
 
  ac_prog_rejected=no
2822
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2823
 
for as_dir in $PATH
2824
 
do
2825
 
  IFS=$as_save_IFS
2826
 
  test -z "$as_dir" && as_dir=.
2827
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2828
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2829
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2830
 
       ac_prog_rejected=yes
2831
 
       continue
2832
 
     fi
2833
 
    ac_cv_prog_CC="cc"
2834
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2835
 
    break 2
2836
 
  fi
2837
 
done
2838
 
done
2839
 
IFS=$as_save_IFS
2840
 
 
2841
 
if test $ac_prog_rejected = yes; then
2842
 
  # We found a bogon in the path, so make sure we never use it.
2843
 
  set dummy $ac_cv_prog_CC
2844
 
  shift
2845
 
  if test $@%:@ != 0; then
2846
 
    # We chose a different compiler from the bogus one.
2847
 
    # However, it has the same basename, so the bogon will be chosen
2848
 
    # first if we set CC to just the basename; use the full file name.
2849
 
    shift
2850
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2851
 
  fi
2852
 
fi
2853
 
fi
2854
 
fi
2855
 
CC=$ac_cv_prog_CC
2856
 
if test -n "$CC"; then
2857
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2858
 
echo "${ECHO_T}$CC" >&6; }
2859
 
else
2860
 
  { echo "$as_me:$LINENO: result: no" >&5
2861
 
echo "${ECHO_T}no" >&6; }
2862
 
fi
2863
 
 
2864
 
 
2865
 
fi
2866
 
if test -z "$CC"; then
2867
 
  if test -n "$ac_tool_prefix"; then
2868
 
  for ac_prog in cl.exe
2869
 
  do
2870
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2871
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2872
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2873
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2874
 
if test "${ac_cv_prog_CC+set}" = set; then
2875
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2876
 
else
2877
 
  if test -n "$CC"; then
2878
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2879
 
else
2880
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2881
 
for as_dir in $PATH
2882
 
do
2883
 
  IFS=$as_save_IFS
2884
 
  test -z "$as_dir" && as_dir=.
2885
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2886
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2887
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2888
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2889
 
    break 2
2890
 
  fi
2891
 
done
2892
 
done
2893
 
IFS=$as_save_IFS
2894
 
 
2895
 
fi
2896
 
fi
2897
 
CC=$ac_cv_prog_CC
2898
 
if test -n "$CC"; then
2899
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2900
 
echo "${ECHO_T}$CC" >&6; }
2901
 
else
2902
 
  { echo "$as_me:$LINENO: result: no" >&5
2903
 
echo "${ECHO_T}no" >&6; }
2904
 
fi
2905
 
 
2906
 
 
2907
 
    test -n "$CC" && break
2908
 
  done
2909
 
fi
2910
 
if test -z "$CC"; then
2911
 
  ac_ct_CC=$CC
2912
 
  for ac_prog in cl.exe
2913
 
do
2914
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2915
 
set dummy $ac_prog; ac_word=$2
2916
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2917
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2918
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2919
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2920
 
else
2921
 
  if test -n "$ac_ct_CC"; then
2922
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2923
 
else
2924
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2925
 
for as_dir in $PATH
2926
 
do
2927
 
  IFS=$as_save_IFS
2928
 
  test -z "$as_dir" && as_dir=.
2929
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2930
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2931
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
2932
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2933
 
    break 2
2934
 
  fi
2935
 
done
2936
 
done
2937
 
IFS=$as_save_IFS
2938
 
 
2939
 
fi
2940
 
fi
2941
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2942
 
if test -n "$ac_ct_CC"; then
2943
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2944
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
2945
 
else
2946
 
  { echo "$as_me:$LINENO: result: no" >&5
2947
 
echo "${ECHO_T}no" >&6; }
2948
 
fi
2949
 
 
2950
 
 
2951
 
  test -n "$ac_ct_CC" && break
2952
 
done
2953
 
 
2954
 
  if test "x$ac_ct_CC" = x; then
2955
 
    CC=""
2956
 
  else
2957
 
    case $cross_compiling:$ac_tool_warned in
2958
 
yes:)
2959
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2960
 
whose name does not start with the host triplet.  If you think this
2961
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2962
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2963
 
whose name does not start with the host triplet.  If you think this
2964
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2965
 
ac_tool_warned=yes ;;
2966
 
esac
2967
 
    CC=$ac_ct_CC
2968
 
  fi
2969
 
fi
2970
 
 
2971
 
fi
2972
 
 
2973
 
 
2974
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2975
 
See \`config.log' for more details." >&5
2976
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
2977
 
See \`config.log' for more details." >&2;}
2978
 
   { (exit 1); exit 1; }; }
2979
 
 
2980
 
# Provide some information about the compiler.
2981
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
2982
 
ac_compiler=`set X $ac_compile; echo $2`
2983
 
{ (ac_try="$ac_compiler --version >&5"
2984
 
case "(($ac_try" in
2985
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2986
 
  *) ac_try_echo=$ac_try;;
2987
 
esac
2988
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2989
 
  (eval "$ac_compiler --version >&5") 2>&5
2990
 
  ac_status=$?
2991
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992
 
  (exit $ac_status); }
2993
 
{ (ac_try="$ac_compiler -v >&5"
2994
 
case "(($ac_try" in
2995
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2996
 
  *) ac_try_echo=$ac_try;;
2997
 
esac
2998
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2999
 
  (eval "$ac_compiler -v >&5") 2>&5
3000
 
  ac_status=$?
3001
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002
 
  (exit $ac_status); }
3003
 
{ (ac_try="$ac_compiler -V >&5"
3004
 
case "(($ac_try" in
3005
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3006
 
  *) ac_try_echo=$ac_try;;
3007
 
esac
3008
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3009
 
  (eval "$ac_compiler -V >&5") 2>&5
3010
 
  ac_status=$?
3011
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012
 
  (exit $ac_status); }
3013
 
 
3014
 
cat >conftest.$ac_ext <<_ACEOF
3015
 
/* confdefs.h.  */
3016
 
_ACEOF
3017
 
cat confdefs.h >>conftest.$ac_ext
3018
 
cat >>conftest.$ac_ext <<_ACEOF
3019
 
/* end confdefs.h.  */
3020
 
 
3021
 
int
3022
 
main ()
3023
 
{
3024
 
 
3025
 
  ;
3026
 
  return 0;
3027
 
}
3028
 
_ACEOF
3029
 
ac_clean_files_save=$ac_clean_files
3030
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
3031
 
# Try to create an executable without -o first, disregard a.out.
3032
 
# It will help us diagnose broken compilers, and finding out an intuition
3033
 
# of exeext.
3034
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3035
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3036
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3037
 
#
3038
 
# List of possible output files, starting from the most likely.
3039
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3040
 
# only as a last resort.  b.out is created by i960 compilers.
3041
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3042
 
#
3043
 
# The IRIX 6 linker writes into existing files which may not be
3044
 
# executable, retaining their permissions.  Remove them first so a
3045
 
# subsequent execution test works.
3046
 
ac_rmfiles=
3047
 
for ac_file in $ac_files
3048
 
do
3049
 
  case $ac_file in
3050
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3051
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3052
 
  esac
3053
 
done
3054
 
rm -f $ac_rmfiles
3055
 
 
3056
 
if { (ac_try="$ac_link_default"
3057
 
case "(($ac_try" in
3058
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3059
 
  *) ac_try_echo=$ac_try;;
3060
 
esac
3061
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3062
 
  (eval "$ac_link_default") 2>&5
3063
 
  ac_status=$?
3064
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3065
 
  (exit $ac_status); }; then
3066
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3067
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3068
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3069
 
# so that the user can short-circuit this test for compilers unknown to
3070
 
# Autoconf.
3071
 
for ac_file in $ac_files ''
3072
 
do
3073
 
  test -f "$ac_file" || continue
3074
 
  case $ac_file in
3075
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3076
 
        ;;
3077
 
    [ab].out )
3078
 
        # We found the default executable, but exeext='' is most
3079
 
        # certainly right.
3080
 
        break;;
3081
 
    *.* )
3082
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3083
 
        then :; else
3084
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3085
 
        fi
3086
 
        # We set ac_cv_exeext here because the later test for it is not
3087
 
        # safe: cross compilers may not add the suffix if given an `-o'
3088
 
        # argument, so we may need to know it at that point already.
3089
 
        # Even if this section looks crufty: it has the advantage of
3090
 
        # actually working.
3091
 
        break;;
3092
 
    * )
3093
 
        break;;
3094
 
  esac
3095
 
done
3096
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3097
 
 
3098
 
else
3099
 
  ac_file=''
3100
 
fi
3101
 
 
3102
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3103
 
echo "${ECHO_T}$ac_file" >&6; }
3104
 
if test -z "$ac_file"; then
3105
 
  echo "$as_me: failed program was:" >&5
3106
 
sed 's/^/| /' conftest.$ac_ext >&5
3107
 
 
3108
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3109
 
See \`config.log' for more details." >&5
3110
 
echo "$as_me: error: C compiler cannot create executables
3111
 
See \`config.log' for more details." >&2;}
3112
 
   { (exit 77); exit 77; }; }
3113
 
fi
3114
 
 
3115
 
ac_exeext=$ac_cv_exeext
3116
 
 
3117
 
# Check that the compiler produces executables we can run.  If not, either
3118
 
# the compiler is broken, or we cross compile.
3119
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3120
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3121
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3122
 
# If not cross compiling, check that we can run a simple program.
3123
 
if test "$cross_compiling" != yes; then
3124
 
  if { ac_try='./$ac_file'
3125
 
  { (case "(($ac_try" in
3126
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3127
 
  *) ac_try_echo=$ac_try;;
3128
 
esac
3129
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3130
 
  (eval "$ac_try") 2>&5
3131
 
  ac_status=$?
3132
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133
 
  (exit $ac_status); }; }; then
3134
 
    cross_compiling=no
3135
 
  else
3136
 
    if test "$cross_compiling" = maybe; then
3137
 
        cross_compiling=yes
3138
 
    else
3139
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3140
 
If you meant to cross compile, use \`--host'.
3141
 
See \`config.log' for more details." >&5
3142
 
echo "$as_me: error: cannot run C compiled programs.
3143
 
If you meant to cross compile, use \`--host'.
3144
 
See \`config.log' for more details." >&2;}
3145
 
   { (exit 1); exit 1; }; }
3146
 
    fi
3147
 
  fi
3148
 
fi
3149
 
{ echo "$as_me:$LINENO: result: yes" >&5
3150
 
echo "${ECHO_T}yes" >&6; }
3151
 
 
3152
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3153
 
ac_clean_files=$ac_clean_files_save
3154
 
# Check that the compiler produces executables we can run.  If not, either
3155
 
# the compiler is broken, or we cross compile.
3156
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3157
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3158
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3159
 
echo "${ECHO_T}$cross_compiling" >&6; }
3160
 
 
3161
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3162
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3163
 
if { (ac_try="$ac_link"
3164
 
case "(($ac_try" in
3165
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3166
 
  *) ac_try_echo=$ac_try;;
3167
 
esac
3168
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3169
 
  (eval "$ac_link") 2>&5
3170
 
  ac_status=$?
3171
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172
 
  (exit $ac_status); }; then
3173
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3174
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3175
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3176
 
# `rm'.
3177
 
for ac_file in conftest.exe conftest conftest.*; do
3178
 
  test -f "$ac_file" || continue
3179
 
  case $ac_file in
3180
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3181
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3182
 
          break;;
3183
 
    * ) break;;
3184
 
  esac
3185
 
done
3186
 
else
3187
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3188
 
See \`config.log' for more details." >&5
3189
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3190
 
See \`config.log' for more details." >&2;}
3191
 
   { (exit 1); exit 1; }; }
3192
 
fi
3193
 
 
3194
 
rm -f conftest$ac_cv_exeext
3195
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3196
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
3197
 
 
3198
 
rm -f conftest.$ac_ext
3199
 
EXEEXT=$ac_cv_exeext
3200
 
ac_exeext=$EXEEXT
3201
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3202
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3203
 
if test "${ac_cv_objext+set}" = set; then
3204
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3205
 
else
3206
 
  cat >conftest.$ac_ext <<_ACEOF
3207
 
/* confdefs.h.  */
3208
 
_ACEOF
3209
 
cat confdefs.h >>conftest.$ac_ext
3210
 
cat >>conftest.$ac_ext <<_ACEOF
3211
 
/* end confdefs.h.  */
3212
 
 
3213
 
int
3214
 
main ()
3215
 
{
3216
 
 
3217
 
  ;
3218
 
  return 0;
3219
 
}
3220
 
_ACEOF
3221
 
rm -f conftest.o conftest.obj
3222
 
if { (ac_try="$ac_compile"
3223
 
case "(($ac_try" in
3224
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3225
 
  *) ac_try_echo=$ac_try;;
3226
 
esac
3227
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3228
 
  (eval "$ac_compile") 2>&5
3229
 
  ac_status=$?
3230
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3231
 
  (exit $ac_status); }; then
3232
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3233
 
  test -f "$ac_file" || continue;
3234
 
  case $ac_file in
3235
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3236
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3237
 
       break;;
3238
 
  esac
3239
 
done
3240
 
else
3241
 
  echo "$as_me: failed program was:" >&5
3242
 
sed 's/^/| /' conftest.$ac_ext >&5
3243
 
 
3244
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3245
 
See \`config.log' for more details." >&5
3246
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3247
 
See \`config.log' for more details." >&2;}
3248
 
   { (exit 1); exit 1; }; }
3249
 
fi
3250
 
 
3251
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3252
 
fi
3253
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3254
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
3255
 
OBJEXT=$ac_cv_objext
3256
 
ac_objext=$OBJEXT
3257
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3258
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3259
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3260
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3261
 
else
3262
 
  cat >conftest.$ac_ext <<_ACEOF
3263
 
/* confdefs.h.  */
3264
 
_ACEOF
3265
 
cat confdefs.h >>conftest.$ac_ext
3266
 
cat >>conftest.$ac_ext <<_ACEOF
3267
 
/* end confdefs.h.  */
3268
 
 
3269
 
int
3270
 
main ()
3271
 
{
3272
 
#ifndef __GNUC__
3273
 
       choke me
3274
 
#endif
3275
 
 
3276
 
  ;
3277
 
  return 0;
3278
 
}
3279
 
_ACEOF
3280
 
rm -f conftest.$ac_objext
3281
 
if { (ac_try="$ac_compile"
3282
 
case "(($ac_try" in
3283
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3284
 
  *) ac_try_echo=$ac_try;;
3285
 
esac
3286
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3287
 
  (eval "$ac_compile") 2>conftest.er1
3288
 
  ac_status=$?
3289
 
  grep -v '^ *+' conftest.er1 >conftest.err
3290
 
  rm -f conftest.er1
3291
 
  cat conftest.err >&5
3292
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3293
 
  (exit $ac_status); } && {
3294
 
         test -z "$ac_c_werror_flag" ||
3295
 
         test ! -s conftest.err
3296
 
       } && test -s conftest.$ac_objext; then
3297
 
  ac_compiler_gnu=yes
3298
 
else
3299
 
  echo "$as_me: failed program was:" >&5
3300
 
sed 's/^/| /' conftest.$ac_ext >&5
3301
 
 
3302
 
        ac_compiler_gnu=no
3303
 
fi
3304
 
 
3305
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3306
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3307
 
 
3308
 
fi
3309
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3310
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3311
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
3312
 
ac_test_CFLAGS=${CFLAGS+set}
3313
 
ac_save_CFLAGS=$CFLAGS
3314
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3315
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3316
 
if test "${ac_cv_prog_cc_g+set}" = set; then
3317
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3318
 
else
3319
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3320
 
   ac_c_werror_flag=yes
3321
 
   ac_cv_prog_cc_g=no
3322
 
   CFLAGS="-g"
3323
 
   cat >conftest.$ac_ext <<_ACEOF
3324
 
/* confdefs.h.  */
3325
 
_ACEOF
3326
 
cat confdefs.h >>conftest.$ac_ext
3327
 
cat >>conftest.$ac_ext <<_ACEOF
3328
 
/* end confdefs.h.  */
3329
 
 
3330
 
int
3331
 
main ()
3332
 
{
3333
 
 
3334
 
  ;
3335
 
  return 0;
3336
 
}
3337
 
_ACEOF
3338
 
rm -f conftest.$ac_objext
3339
 
if { (ac_try="$ac_compile"
3340
 
case "(($ac_try" in
3341
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3342
 
  *) ac_try_echo=$ac_try;;
3343
 
esac
3344
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3345
 
  (eval "$ac_compile") 2>conftest.er1
3346
 
  ac_status=$?
3347
 
  grep -v '^ *+' conftest.er1 >conftest.err
3348
 
  rm -f conftest.er1
3349
 
  cat conftest.err >&5
3350
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351
 
  (exit $ac_status); } && {
3352
 
         test -z "$ac_c_werror_flag" ||
3353
 
         test ! -s conftest.err
3354
 
       } && test -s conftest.$ac_objext; then
3355
 
  ac_cv_prog_cc_g=yes
3356
 
else
3357
 
  echo "$as_me: failed program was:" >&5
3358
 
sed 's/^/| /' conftest.$ac_ext >&5
3359
 
 
3360
 
        CFLAGS=""
3361
 
      cat >conftest.$ac_ext <<_ACEOF
3362
 
/* confdefs.h.  */
3363
 
_ACEOF
3364
 
cat confdefs.h >>conftest.$ac_ext
3365
 
cat >>conftest.$ac_ext <<_ACEOF
3366
 
/* end confdefs.h.  */
3367
 
 
3368
 
int
3369
 
main ()
3370
 
{
3371
 
 
3372
 
  ;
3373
 
  return 0;
3374
 
}
3375
 
_ACEOF
3376
 
rm -f conftest.$ac_objext
3377
 
if { (ac_try="$ac_compile"
3378
 
case "(($ac_try" in
3379
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3380
 
  *) ac_try_echo=$ac_try;;
3381
 
esac
3382
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3383
 
  (eval "$ac_compile") 2>conftest.er1
3384
 
  ac_status=$?
3385
 
  grep -v '^ *+' conftest.er1 >conftest.err
3386
 
  rm -f conftest.er1
3387
 
  cat conftest.err >&5
3388
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389
 
  (exit $ac_status); } && {
3390
 
         test -z "$ac_c_werror_flag" ||
3391
 
         test ! -s conftest.err
3392
 
       } && test -s conftest.$ac_objext; then
3393
 
  :
3394
 
else
3395
 
  echo "$as_me: failed program was:" >&5
3396
 
sed 's/^/| /' conftest.$ac_ext >&5
3397
 
 
3398
 
        ac_c_werror_flag=$ac_save_c_werror_flag
3399
 
         CFLAGS="-g"
3400
 
         cat >conftest.$ac_ext <<_ACEOF
3401
 
/* confdefs.h.  */
3402
 
_ACEOF
3403
 
cat confdefs.h >>conftest.$ac_ext
3404
 
cat >>conftest.$ac_ext <<_ACEOF
3405
 
/* end confdefs.h.  */
3406
 
 
3407
 
int
3408
 
main ()
3409
 
{
3410
 
 
3411
 
  ;
3412
 
  return 0;
3413
 
}
3414
 
_ACEOF
3415
 
rm -f conftest.$ac_objext
3416
 
if { (ac_try="$ac_compile"
3417
 
case "(($ac_try" in
3418
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3419
 
  *) ac_try_echo=$ac_try;;
3420
 
esac
3421
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3422
 
  (eval "$ac_compile") 2>conftest.er1
3423
 
  ac_status=$?
3424
 
  grep -v '^ *+' conftest.er1 >conftest.err
3425
 
  rm -f conftest.er1
3426
 
  cat conftest.err >&5
3427
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428
 
  (exit $ac_status); } && {
3429
 
         test -z "$ac_c_werror_flag" ||
3430
 
         test ! -s conftest.err
3431
 
       } && test -s conftest.$ac_objext; then
3432
 
  ac_cv_prog_cc_g=yes
3433
 
else
3434
 
  echo "$as_me: failed program was:" >&5
3435
 
sed 's/^/| /' conftest.$ac_ext >&5
3436
 
 
3437
 
        
3438
 
fi
3439
 
 
3440
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3441
 
fi
3442
 
 
3443
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3444
 
fi
3445
 
 
3446
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3447
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3448
 
fi
3449
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3450
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3451
 
if test "$ac_test_CFLAGS" = set; then
3452
 
  CFLAGS=$ac_save_CFLAGS
3453
 
elif test $ac_cv_prog_cc_g = yes; then
3454
 
  if test "$GCC" = yes; then
3455
 
    CFLAGS="-g -O2"
3456
 
  else
3457
 
    CFLAGS="-g"
3458
 
  fi
3459
 
else
3460
 
  if test "$GCC" = yes; then
3461
 
    CFLAGS="-O2"
3462
 
  else
3463
 
    CFLAGS=
3464
 
  fi
3465
 
fi
3466
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3467
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3468
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
3469
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3470
 
else
3471
 
  ac_cv_prog_cc_c89=no
3472
 
ac_save_CC=$CC
3473
 
cat >conftest.$ac_ext <<_ACEOF
3474
 
/* confdefs.h.  */
3475
 
_ACEOF
3476
 
cat confdefs.h >>conftest.$ac_ext
3477
 
cat >>conftest.$ac_ext <<_ACEOF
3478
 
/* end confdefs.h.  */
3479
 
#include <stdarg.h>
3480
 
#include <stdio.h>
3481
 
#include <sys/types.h>
3482
 
#include <sys/stat.h>
3483
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3484
 
struct buf { int x; };
3485
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3486
 
static char *e (p, i)
3487
 
     char **p;
3488
 
     int i;
3489
 
{
3490
 
  return p[i];
3491
 
}
3492
 
static char *f (char * (*g) (char **, int), char **p, ...)
3493
 
{
3494
 
  char *s;
3495
 
  va_list v;
3496
 
  va_start (v,p);
3497
 
  s = g (p, va_arg (v,int));
3498
 
  va_end (v);
3499
 
  return s;
3500
 
}
3501
 
 
3502
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3503
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3504
 
   These don't provoke an error unfortunately, instead are silently treated
3505
 
   as 'x'.  The following induces an error, until -std is added to get
3506
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3507
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3508
 
   that's true only with -std.  */
3509
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3510
 
 
3511
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3512
 
   inside strings and character constants.  */
3513
 
#define FOO(x) 'x'
3514
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3515
 
 
3516
 
int test (int i, double x);
3517
 
struct s1 {int (*f) (int a);};
3518
 
struct s2 {int (*f) (double a);};
3519
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3520
 
int argc;
3521
 
char **argv;
3522
 
int
3523
 
main ()
3524
 
{
3525
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3526
 
  ;
3527
 
  return 0;
3528
 
}
3529
 
_ACEOF
3530
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3531
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3532
 
do
3533
 
  CC="$ac_save_CC $ac_arg"
3534
 
  rm -f conftest.$ac_objext
3535
 
if { (ac_try="$ac_compile"
3536
 
case "(($ac_try" in
3537
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3538
 
  *) ac_try_echo=$ac_try;;
3539
 
esac
3540
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3541
 
  (eval "$ac_compile") 2>conftest.er1
3542
 
  ac_status=$?
3543
 
  grep -v '^ *+' conftest.er1 >conftest.err
3544
 
  rm -f conftest.er1
3545
 
  cat conftest.err >&5
3546
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3547
 
  (exit $ac_status); } && {
3548
 
         test -z "$ac_c_werror_flag" ||
3549
 
         test ! -s conftest.err
3550
 
       } && test -s conftest.$ac_objext; then
3551
 
  ac_cv_prog_cc_c89=$ac_arg
3552
 
else
3553
 
  echo "$as_me: failed program was:" >&5
3554
 
sed 's/^/| /' conftest.$ac_ext >&5
3555
 
 
3556
 
        
3557
 
fi
3558
 
 
3559
 
rm -f core conftest.err conftest.$ac_objext 
3560
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3561
 
done
3562
 
rm -f conftest.$ac_ext
3563
 
CC=$ac_save_CC
3564
 
 
3565
 
fi
3566
 
# AC_CACHE_VAL
3567
 
case "x$ac_cv_prog_cc_c89" in
3568
 
  x)
3569
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3570
 
echo "${ECHO_T}none needed" >&6; } ;;
3571
 
  xno)
3572
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3573
 
echo "${ECHO_T}unsupported" >&6; } ;;
3574
 
  *)
3575
 
    CC="$CC $ac_cv_prog_cc_c89"
3576
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3577
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3578
 
esac
3579
 
 
3580
 
 
3581
 
ac_ext=c
3582
 
ac_cpp='$CPP $CPPFLAGS'
3583
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3584
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3585
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3586
 
DEPDIR="${am__leading_dot}deps"
3587
 
 
3588
 
ac_config_commands="$ac_config_commands depfiles"
3589
 
 
3590
 
 
3591
 
am_make=${MAKE-make}
3592
 
cat > confinc << 'END'
3593
 
am__doit:
3594
 
        @echo done
3595
 
.PHONY: am__doit
3596
 
END
3597
 
# If we don't find an include directive, just comment out the code.
3598
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3599
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3600
 
am__include="#"
3601
 
am__quote=
3602
 
_am_result=none
3603
 
# First try GNU make style include.
3604
 
echo "include confinc" > confmf
3605
 
# We grep out `Entering directory' and `Leaving directory'
3606
 
# messages which can occur if `w' ends up in MAKEFLAGS.
3607
 
# In particular we don't look at `^make:' because GNU make might
3608
 
# be invoked under some other name (usually "gmake"), in which
3609
 
# case it prints its new name instead of `make'.
3610
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3611
 
   am__include=include
3612
 
   am__quote=
3613
 
   _am_result=GNU
3614
 
fi
3615
 
# Now try BSD make style include.
3616
 
if test "$am__include" = "#"; then
3617
 
   echo '.include "confinc"' > confmf
3618
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3619
 
      am__include=.include
3620
 
      am__quote="\""
3621
 
      _am_result=BSD
3622
 
   fi
3623
 
fi
3624
 
 
3625
 
 
3626
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3627
 
echo "${ECHO_T}$_am_result" >&6; }
3628
 
rm -f confinc confmf
3629
 
 
3630
 
# Check whether --enable-dependency-tracking was given.
3631
 
if test "${enable_dependency_tracking+set}" = set; then
3632
 
  enableval=$enable_dependency_tracking; 
3633
 
fi
3634
 
 
3635
 
if test "x$enable_dependency_tracking" != xno; then
3636
 
  am_depcomp="$ac_aux_dir/depcomp"
3637
 
  AMDEPBACKSLASH='\'
3638
 
fi
3639
 
 
3640
 
 
3641
 
if test "x$enable_dependency_tracking" != xno; then
3642
 
  AMDEP_TRUE=
3643
 
  AMDEP_FALSE='#'
3644
 
else
3645
 
  AMDEP_TRUE='#'
3646
 
  AMDEP_FALSE=
3647
 
fi
3648
 
 
3649
 
 
3650
 
 
3651
 
 
3652
 
depcc="$CC"   am_compiler_list=
3653
 
 
3654
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3655
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3656
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3657
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3658
 
else
3659
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3660
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3661
 
  # making bogus files that we don't know about and never remove.  For
3662
 
  # instance it was reported that on HP-UX the gcc test will end up
3663
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3664
 
  # in D'.
3665
 
  mkdir conftest.dir
3666
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3667
 
  # using a relative directory.
3668
 
  cp "$am_depcomp" conftest.dir
3669
 
  cd conftest.dir
3670
 
  # We will build objects and dependencies in a subdirectory because
3671
 
  # it helps to detect inapplicable dependency modes.  For instance
3672
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3673
 
  # side effect of compilation, but ICC will put the dependencies in
3674
 
  # the current directory while Tru64 will put them in the object
3675
 
  # directory.
3676
 
  mkdir sub
3677
 
 
3678
 
  am_cv_CC_dependencies_compiler_type=none
3679
 
  if test "$am_compiler_list" = ""; then
3680
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3681
 
  fi
3682
 
  for depmode in $am_compiler_list; do
3683
 
    # Setup a source with many dependencies, because some compilers
3684
 
    # like to wrap large dependency lists on column 80 (with \), and
3685
 
    # we should not choose a depcomp mode which is confused by this.
3686
 
    #
3687
 
    # We need to recreate these files for each test, as the compiler may
3688
 
    # overwrite some of them when testing with obscure command lines.
3689
 
    # This happens at least with the AIX C compiler.
3690
 
    : > sub/conftest.c
3691
 
    for i in 1 2 3 4 5 6; do
3692
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3693
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3694
 
      # Solaris 8's {/usr,}/bin/sh.
3695
 
      touch sub/conftst$i.h
3696
 
    done
3697
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3698
 
 
3699
 
    case $depmode in
3700
 
    nosideeffect)
3701
 
      # after this tag, mechanisms are not by side-effect, so they'll
3702
 
      # only be used when explicitly requested
3703
 
      if test "x$enable_dependency_tracking" = xyes; then
3704
 
        continue
3705
 
      else
3706
 
        break
3707
 
      fi
3708
 
      ;;
3709
 
    none) break ;;
3710
 
    esac
3711
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3712
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3713
 
    # handle `-M -o', and we need to detect this.
3714
 
    if depmode=$depmode \
3715
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3716
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3717
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3718
 
         >/dev/null 2>conftest.err &&
3719
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3720
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3721
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3722
 
      # icc doesn't choke on unknown options, it will just issue warnings
3723
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3724
 
      # that says an option was ignored or not supported.
3725
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3726
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3727
 
      # The diagnosis changed in icc 8.0:
3728
 
      #   icc: Command line remark: option '-MP' not supported
3729
 
      if (grep 'ignoring option' conftest.err ||
3730
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3731
 
        am_cv_CC_dependencies_compiler_type=$depmode
3732
 
        break
3733
 
      fi
3734
 
    fi
3735
 
  done
3736
 
 
3737
 
  cd ..
3738
 
  rm -rf conftest.dir
3739
 
else
3740
 
  am_cv_CC_dependencies_compiler_type=none
3741
 
fi
3742
 
 
3743
 
fi
3744
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3745
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3746
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3747
 
 
3748
 
 
3749
 
 
3750
 
if 
3751
 
  test "x$enable_dependency_tracking" != xno \
3752
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3753
 
  am__fastdepCC_TRUE=
3754
 
  am__fastdepCC_FALSE='#'
3755
 
else
3756
 
  am__fastdepCC_TRUE='#'
3757
 
  am__fastdepCC_FALSE=
3758
 
fi
3759
 
 
3760
 
 
3761
 
ac_ext=c
3762
 
ac_cpp='$CPP $CPPFLAGS'
3763
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3764
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3765
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3766
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3767
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3768
 
# On Suns, sometimes $CPP names a directory.
3769
 
if test -n "$CPP" && test -d "$CPP"; then
3770
 
  CPP=
3771
 
fi
3772
 
if test -z "$CPP"; then
3773
 
  if test "${ac_cv_prog_CPP+set}" = set; then
3774
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3775
 
else
3776
 
      # Double quotes because CPP needs to be expanded
3777
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3778
 
    do
3779
 
      ac_preproc_ok=false
3780
 
for ac_c_preproc_warn_flag in '' yes
3781
 
do
3782
 
  # Use a header file that comes with gcc, so configuring glibc
3783
 
  # with a fresh cross-compiler works.
3784
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3785
 
  # <limits.h> exists even on freestanding compilers.
3786
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
3787
 
  # not just through cpp. "Syntax error" is here to catch this case.
3788
 
  cat >conftest.$ac_ext <<_ACEOF
3789
 
/* confdefs.h.  */
3790
 
_ACEOF
3791
 
cat confdefs.h >>conftest.$ac_ext
3792
 
cat >>conftest.$ac_ext <<_ACEOF
3793
 
/* end confdefs.h.  */
3794
 
@%:@ifdef __STDC__
3795
 
@%:@ include <limits.h>
3796
 
@%:@else
3797
 
@%:@ include <assert.h>
3798
 
@%:@endif
3799
 
                     Syntax error
3800
 
_ACEOF
3801
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3802
 
case "(($ac_try" in
3803
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3804
 
  *) ac_try_echo=$ac_try;;
3805
 
esac
3806
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3807
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3808
 
  ac_status=$?
3809
 
  grep -v '^ *+' conftest.er1 >conftest.err
3810
 
  rm -f conftest.er1
3811
 
  cat conftest.err >&5
3812
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3813
 
  (exit $ac_status); } >/dev/null && {
3814
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3815
 
         test ! -s conftest.err
3816
 
       }; then
3817
 
  :
3818
 
else
3819
 
  echo "$as_me: failed program was:" >&5
3820
 
sed 's/^/| /' conftest.$ac_ext >&5
3821
 
 
3822
 
  # Broken: fails on valid input.
3823
 
continue
3824
 
fi
3825
 
 
3826
 
rm -f conftest.err conftest.$ac_ext
3827
 
 
3828
 
  # OK, works on sane cases.  Now check whether nonexistent headers
3829
 
  # can be detected and how.
3830
 
  cat >conftest.$ac_ext <<_ACEOF
3831
 
/* confdefs.h.  */
3832
 
_ACEOF
3833
 
cat confdefs.h >>conftest.$ac_ext
3834
 
cat >>conftest.$ac_ext <<_ACEOF
3835
 
/* end confdefs.h.  */
3836
 
@%:@include <ac_nonexistent.h>
3837
 
_ACEOF
3838
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3839
 
case "(($ac_try" in
3840
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3841
 
  *) ac_try_echo=$ac_try;;
3842
 
esac
3843
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3844
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3845
 
  ac_status=$?
3846
 
  grep -v '^ *+' conftest.er1 >conftest.err
3847
 
  rm -f conftest.er1
3848
 
  cat conftest.err >&5
3849
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3850
 
  (exit $ac_status); } >/dev/null && {
3851
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3852
 
         test ! -s conftest.err
3853
 
       }; then
3854
 
  # Broken: success on invalid input.
3855
 
continue
3856
 
else
3857
 
  echo "$as_me: failed program was:" >&5
3858
 
sed 's/^/| /' conftest.$ac_ext >&5
3859
 
 
3860
 
  # Passes both tests.
3861
 
ac_preproc_ok=:
3862
 
break
3863
 
fi
3864
 
 
3865
 
rm -f conftest.err conftest.$ac_ext
3866
 
 
3867
 
done
3868
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3869
 
rm -f conftest.err conftest.$ac_ext
3870
 
if $ac_preproc_ok; then
3871
 
  break
3872
 
fi
3873
 
 
3874
 
    done
3875
 
    ac_cv_prog_CPP=$CPP
3876
 
  
3877
 
fi
3878
 
  CPP=$ac_cv_prog_CPP
3879
 
else
3880
 
  ac_cv_prog_CPP=$CPP
3881
 
fi
3882
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
3883
 
echo "${ECHO_T}$CPP" >&6; }
3884
 
ac_preproc_ok=false
3885
 
for ac_c_preproc_warn_flag in '' yes
3886
 
do
3887
 
  # Use a header file that comes with gcc, so configuring glibc
3888
 
  # with a fresh cross-compiler works.
3889
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3890
 
  # <limits.h> exists even on freestanding compilers.
3891
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
3892
 
  # not just through cpp. "Syntax error" is here to catch this case.
3893
 
  cat >conftest.$ac_ext <<_ACEOF
3894
 
/* confdefs.h.  */
3895
 
_ACEOF
3896
 
cat confdefs.h >>conftest.$ac_ext
3897
 
cat >>conftest.$ac_ext <<_ACEOF
3898
 
/* end confdefs.h.  */
3899
 
@%:@ifdef __STDC__
3900
 
@%:@ include <limits.h>
3901
 
@%:@else
3902
 
@%:@ include <assert.h>
3903
 
@%:@endif
3904
 
                     Syntax error
3905
 
_ACEOF
3906
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3907
 
case "(($ac_try" in
3908
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3909
 
  *) ac_try_echo=$ac_try;;
3910
 
esac
3911
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3912
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3913
 
  ac_status=$?
3914
 
  grep -v '^ *+' conftest.er1 >conftest.err
3915
 
  rm -f conftest.er1
3916
 
  cat conftest.err >&5
3917
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3918
 
  (exit $ac_status); } >/dev/null && {
3919
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3920
 
         test ! -s conftest.err
3921
 
       }; then
3922
 
  :
3923
 
else
3924
 
  echo "$as_me: failed program was:" >&5
3925
 
sed 's/^/| /' conftest.$ac_ext >&5
3926
 
 
3927
 
  # Broken: fails on valid input.
3928
 
continue
3929
 
fi
3930
 
 
3931
 
rm -f conftest.err conftest.$ac_ext
3932
 
 
3933
 
  # OK, works on sane cases.  Now check whether nonexistent headers
3934
 
  # can be detected and how.
3935
 
  cat >conftest.$ac_ext <<_ACEOF
3936
 
/* confdefs.h.  */
3937
 
_ACEOF
3938
 
cat confdefs.h >>conftest.$ac_ext
3939
 
cat >>conftest.$ac_ext <<_ACEOF
3940
 
/* end confdefs.h.  */
3941
 
@%:@include <ac_nonexistent.h>
3942
 
_ACEOF
3943
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3944
 
case "(($ac_try" in
3945
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3946
 
  *) ac_try_echo=$ac_try;;
3947
 
esac
3948
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3949
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3950
 
  ac_status=$?
3951
 
  grep -v '^ *+' conftest.er1 >conftest.err
3952
 
  rm -f conftest.er1
3953
 
  cat conftest.err >&5
3954
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955
 
  (exit $ac_status); } >/dev/null && {
3956
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3957
 
         test ! -s conftest.err
3958
 
       }; then
3959
 
  # Broken: success on invalid input.
3960
 
continue
3961
 
else
3962
 
  echo "$as_me: failed program was:" >&5
3963
 
sed 's/^/| /' conftest.$ac_ext >&5
3964
 
 
3965
 
  # Passes both tests.
3966
 
ac_preproc_ok=:
3967
 
break
3968
 
fi
3969
 
 
3970
 
rm -f conftest.err conftest.$ac_ext
3971
 
 
3972
 
done
3973
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3974
 
rm -f conftest.err conftest.$ac_ext
3975
 
if $ac_preproc_ok; then
3976
 
  :
3977
 
else
3978
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3979
 
See \`config.log' for more details." >&5
3980
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3981
 
See \`config.log' for more details." >&2;}
3982
 
   { (exit 1); exit 1; }; }
3983
 
fi
3984
 
 
3985
 
ac_ext=c
3986
 
ac_cpp='$CPP $CPPFLAGS'
3987
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3988
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3989
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3990
 
 
3991
 
# Find a good install program.  We prefer a C program (faster),
3992
 
# so one script is as good as another.  But avoid the broken or
3993
 
# incompatible versions:
3994
 
# SysV /etc/install, /usr/sbin/install
3995
 
# SunOS /usr/etc/install
3996
 
# IRIX /sbin/install
3997
 
# AIX /bin/install
3998
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
3999
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4000
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
4001
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4002
 
# OS/2's system install, which has a completely different semantic
4003
 
# ./install, which can be erroneously created by make from ./install.sh.
4004
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4005
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4006
 
if test -z "$INSTALL"; then
4007
 
if test "${ac_cv_path_install+set}" = set; then
4008
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4009
 
else
4010
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4011
 
for as_dir in $PATH
4012
 
do
4013
 
  IFS=$as_save_IFS
4014
 
  test -z "$as_dir" && as_dir=.
4015
 
  # Account for people who put trailing slashes in PATH elements.
4016
 
case $as_dir/ in
4017
 
  ./ | .// | /cC/* | \
4018
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4019
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4020
 
  /usr/ucb/* ) ;;
4021
 
  *)
4022
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
4023
 
    # Don't use installbsd from OSF since it installs stuff as root
4024
 
    # by default.
4025
 
    for ac_prog in ginstall scoinst install; do
4026
 
      for ac_exec_ext in '' $ac_executable_extensions; do
4027
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4028
 
          if test $ac_prog = install &&
4029
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4030
 
            # AIX install.  It has an incompatible calling convention.
4031
 
            :
4032
 
          elif test $ac_prog = install &&
4033
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4034
 
            # program-specific install script used by HP pwplus--don't use.
4035
 
            :
4036
 
          else
4037
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4038
 
            break 3
4039
 
          fi
4040
 
        fi
4041
 
      done
4042
 
    done
4043
 
    ;;
4044
 
esac
4045
 
done
4046
 
IFS=$as_save_IFS
4047
 
 
4048
 
 
4049
 
fi
4050
 
  if test "${ac_cv_path_install+set}" = set; then
4051
 
    INSTALL=$ac_cv_path_install
4052
 
  else
4053
 
    # As a last resort, use the slow shell script.  Don't cache a
4054
 
    # value for INSTALL within a source directory, because that will
4055
 
    # break other packages using the cache if that directory is
4056
 
    # removed, or if the value is a relative name.
4057
 
    INSTALL=$ac_install_sh
4058
 
  fi
4059
 
fi
4060
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
4061
 
echo "${ECHO_T}$INSTALL" >&6; }
4062
 
 
4063
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4064
 
# It thinks the first close brace ends the variable substitution.
4065
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4066
 
 
4067
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4068
 
 
4069
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4070
 
 
4071
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
4072
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4073
 
LN_S=$as_ln_s
4074
 
if test "$LN_S" = "ln -s"; then
4075
 
  { echo "$as_me:$LINENO: result: yes" >&5
4076
 
echo "${ECHO_T}yes" >&6; }
4077
 
else
4078
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4079
 
echo "${ECHO_T}no, using $LN_S" >&6; }
4080
 
fi
4081
 
 
4082
 
if test -n "$ac_tool_prefix"; then
4083
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4084
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4085
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4086
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4087
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
4088
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4089
 
else
4090
 
  if test -n "$RANLIB"; then
4091
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4092
 
else
4093
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4094
 
for as_dir in $PATH
4095
 
do
4096
 
  IFS=$as_save_IFS
4097
 
  test -z "$as_dir" && as_dir=.
4098
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4099
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4100
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4101
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4102
 
    break 2
4103
 
  fi
4104
 
done
4105
 
done
4106
 
IFS=$as_save_IFS
4107
 
 
4108
 
fi
4109
 
fi
4110
 
RANLIB=$ac_cv_prog_RANLIB
4111
 
if test -n "$RANLIB"; then
4112
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
4113
 
echo "${ECHO_T}$RANLIB" >&6; }
4114
 
else
4115
 
  { echo "$as_me:$LINENO: result: no" >&5
4116
 
echo "${ECHO_T}no" >&6; }
4117
 
fi
4118
 
 
4119
 
 
4120
 
fi
4121
 
if test -z "$ac_cv_prog_RANLIB"; then
4122
 
  ac_ct_RANLIB=$RANLIB
4123
 
  # Extract the first word of "ranlib", so it can be a program name with args.
4124
 
set dummy ranlib; ac_word=$2
4125
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4126
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4127
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4128
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4129
 
else
4130
 
  if test -n "$ac_ct_RANLIB"; then
4131
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4132
 
else
4133
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4134
 
for as_dir in $PATH
4135
 
do
4136
 
  IFS=$as_save_IFS
4137
 
  test -z "$as_dir" && as_dir=.
4138
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4139
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4140
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
4141
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4142
 
    break 2
4143
 
  fi
4144
 
done
4145
 
done
4146
 
IFS=$as_save_IFS
4147
 
 
4148
 
fi
4149
 
fi
4150
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4151
 
if test -n "$ac_ct_RANLIB"; then
4152
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4153
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4154
 
else
4155
 
  { echo "$as_me:$LINENO: result: no" >&5
4156
 
echo "${ECHO_T}no" >&6; }
4157
 
fi
4158
 
 
4159
 
  if test "x$ac_ct_RANLIB" = x; then
4160
 
    RANLIB=":"
4161
 
  else
4162
 
    case $cross_compiling:$ac_tool_warned in
4163
 
yes:)
4164
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4165
 
whose name does not start with the host triplet.  If you think this
4166
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4167
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4168
 
whose name does not start with the host triplet.  If you think this
4169
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4170
 
ac_tool_warned=yes ;;
4171
 
esac
4172
 
    RANLIB=$ac_ct_RANLIB
4173
 
  fi
4174
 
else
4175
 
  RANLIB="$ac_cv_prog_RANLIB"
4176
 
fi
4177
 
 
4178
 
 
4179
 
# Check whether --enable-shared was given.
4180
 
if test "${enable_shared+set}" = set; then
4181
 
  enableval=$enable_shared; p=${PACKAGE-default}
4182
 
    case $enableval in
4183
 
    yes) enable_shared=yes ;;
4184
 
    no) enable_shared=no ;;
4185
 
    *)
4186
 
      enable_shared=no
4187
 
      # Look at the argument we got.  We use all the common list separators.
4188
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4189
 
      for pkg in $enableval; do
4190
 
        IFS="$lt_save_ifs"
4191
 
        if test "X$pkg" = "X$p"; then
4192
 
          enable_shared=yes
4193
 
        fi
4194
 
      done
4195
 
      IFS="$lt_save_ifs"
4196
 
      ;;
4197
 
    esac
4198
 
else
4199
 
  enable_shared=no
4200
 
fi
4201
 
 
4202
 
 
4203
 
 
4204
 
# Check whether --enable-static was given.
4205
 
if test "${enable_static+set}" = set; then
4206
 
  enableval=$enable_static; p=${PACKAGE-default}
4207
 
    case $enableval in
4208
 
    yes) enable_static=yes ;;
4209
 
    no) enable_static=no ;;
4210
 
    *)
4211
 
     enable_static=no
4212
 
      # Look at the argument we got.  We use all the common list separators.
4213
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4214
 
      for pkg in $enableval; do
4215
 
        IFS="$lt_save_ifs"
4216
 
        if test "X$pkg" = "X$p"; then
4217
 
          enable_static=yes
4218
 
        fi
4219
 
      done
4220
 
      IFS="$lt_save_ifs"
4221
 
      ;;
4222
 
    esac
4223
 
else
4224
 
  enable_static=yes
4225
 
fi
4226
 
 
4227
 
 
4228
 
# Check whether --enable-fast-install was given.
4229
 
if test "${enable_fast_install+set}" = set; then
4230
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
4231
 
    case $enableval in
4232
 
    yes) enable_fast_install=yes ;;
4233
 
    no) enable_fast_install=no ;;
4234
 
    *)
4235
 
      enable_fast_install=no
4236
 
      # Look at the argument we got.  We use all the common list separators.
4237
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4238
 
      for pkg in $enableval; do
4239
 
        IFS="$lt_save_ifs"
4240
 
        if test "X$pkg" = "X$p"; then
4241
 
          enable_fast_install=yes
4242
 
        fi
4243
 
      done
4244
 
      IFS="$lt_save_ifs"
4245
 
      ;;
4246
 
    esac
4247
 
else
4248
 
  enable_fast_install=yes
4249
 
fi
4250
 
 
4251
 
 
4252
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4253
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4254
 
if test "${lt_cv_path_SED+set}" = set; then
4255
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4256
 
else
4257
 
  # Loop through the user's path and test for sed and gsed.
4258
 
# Then use that list of sed's as ones to test for truncation.
4259
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4260
 
for as_dir in $PATH
4261
 
do
4262
 
  IFS=$as_save_IFS
4263
 
  test -z "$as_dir" && as_dir=.
4264
 
  for lt_ac_prog in sed gsed; do
4265
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4266
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4267
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4268
 
      fi
4269
 
    done
4270
 
  done
4271
 
done
4272
 
lt_ac_max=0
4273
 
lt_ac_count=0
4274
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
4275
 
# along with /bin/sed that truncates output.
4276
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4277
 
  test ! -f $lt_ac_sed && break
4278
 
  cat /dev/null > conftest.in
4279
 
  lt_ac_count=0
4280
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4281
 
  # Check for GNU sed and select it if it is found.
4282
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4283
 
    lt_cv_path_SED=$lt_ac_sed
4284
 
    break
4285
 
  fi
4286
 
  while true; do
4287
 
    cat conftest.in conftest.in >conftest.tmp
4288
 
    mv conftest.tmp conftest.in
4289
 
    cp conftest.in conftest.nl
4290
 
    echo >>conftest.nl
4291
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4292
 
    cmp -s conftest.out conftest.nl || break
4293
 
    # 10000 chars as input seems more than enough
4294
 
    test $lt_ac_count -gt 10 && break
4295
 
    lt_ac_count=`expr $lt_ac_count + 1`
4296
 
    if test $lt_ac_count -gt $lt_ac_max; then
4297
 
      lt_ac_max=$lt_ac_count
4298
 
      lt_cv_path_SED=$lt_ac_sed
4299
 
    fi
4300
 
  done
4301
 
done
4302
 
SED=$lt_cv_path_SED
4303
 
 
4304
 
fi
4305
 
 
4306
 
{ echo "$as_me:$LINENO: result: $SED" >&5
4307
 
echo "${ECHO_T}$SED" >&6; }
4308
 
 
4309
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4310
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4311
 
if test "${ac_cv_path_GREP+set}" = set; then
4312
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4313
 
else
4314
 
  # Extract the first word of "grep ggrep" to use in msg output
4315
 
if test -z "$GREP"; then
4316
 
set dummy grep ggrep; ac_prog_name=$2
4317
 
if test "${ac_cv_path_GREP+set}" = set; then
4318
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4319
 
else
4320
 
  ac_path_GREP_found=false
4321
 
# Loop through the user's path and test for each of PROGNAME-LIST
4322
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4323
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4324
 
do
4325
 
  IFS=$as_save_IFS
4326
 
  test -z "$as_dir" && as_dir=.
4327
 
  for ac_prog in grep ggrep; do
4328
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4329
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4330
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4331
 
    # Check for GNU ac_path_GREP and select it if it is found.
4332
 
  # Check for GNU $ac_path_GREP
4333
 
case `"$ac_path_GREP" --version 2>&1` in
4334
 
*GNU*)
4335
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4336
 
*)
4337
 
  ac_count=0
4338
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4339
 
  while :
4340
 
  do
4341
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4342
 
    mv "conftest.tmp" "conftest.in"
4343
 
    cp "conftest.in" "conftest.nl"
4344
 
    echo 'GREP' >> "conftest.nl"
4345
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4346
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4347
 
    ac_count=`expr $ac_count + 1`
4348
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4349
 
      # Best one so far, save it but keep looking for a better one
4350
 
      ac_cv_path_GREP="$ac_path_GREP"
4351
 
      ac_path_GREP_max=$ac_count
4352
 
    fi
4353
 
    # 10*(2^10) chars as input seems more than enough
4354
 
    test $ac_count -gt 10 && break
4355
 
  done
4356
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4357
 
esac
4358
 
 
4359
 
 
4360
 
    $ac_path_GREP_found && break 3
4361
 
  done
4362
 
done
4363
 
 
4364
 
done
4365
 
IFS=$as_save_IFS
4366
 
 
4367
 
 
4368
 
fi
4369
 
 
4370
 
GREP="$ac_cv_path_GREP"
4371
 
if test -z "$GREP"; then
4372
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4373
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4374
 
   { (exit 1); exit 1; }; }
4375
 
fi
4376
 
 
4377
 
else
4378
 
  ac_cv_path_GREP=$GREP
4379
 
fi
4380
 
 
4381
 
 
4382
 
fi
4383
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4384
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4385
 
 GREP="$ac_cv_path_GREP"
4386
 
 
4387
 
 
4388
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
4389
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4390
 
if test "${ac_cv_path_EGREP+set}" = set; then
4391
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4392
 
else
4393
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4394
 
   then ac_cv_path_EGREP="$GREP -E"
4395
 
   else
4396
 
     # Extract the first word of "egrep" to use in msg output
4397
 
if test -z "$EGREP"; then
4398
 
set dummy egrep; ac_prog_name=$2
4399
 
if test "${ac_cv_path_EGREP+set}" = set; then
4400
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4401
 
else
4402
 
  ac_path_EGREP_found=false
4403
 
# Loop through the user's path and test for each of PROGNAME-LIST
4404
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4405
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4406
 
do
4407
 
  IFS=$as_save_IFS
4408
 
  test -z "$as_dir" && as_dir=.
4409
 
  for ac_prog in egrep; do
4410
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4411
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4412
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4413
 
    # Check for GNU ac_path_EGREP and select it if it is found.
4414
 
  # Check for GNU $ac_path_EGREP
4415
 
case `"$ac_path_EGREP" --version 2>&1` in
4416
 
*GNU*)
4417
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4418
 
*)
4419
 
  ac_count=0
4420
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4421
 
  while :
4422
 
  do
4423
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4424
 
    mv "conftest.tmp" "conftest.in"
4425
 
    cp "conftest.in" "conftest.nl"
4426
 
    echo 'EGREP' >> "conftest.nl"
4427
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4428
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4429
 
    ac_count=`expr $ac_count + 1`
4430
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4431
 
      # Best one so far, save it but keep looking for a better one
4432
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4433
 
      ac_path_EGREP_max=$ac_count
4434
 
    fi
4435
 
    # 10*(2^10) chars as input seems more than enough
4436
 
    test $ac_count -gt 10 && break
4437
 
  done
4438
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4439
 
esac
4440
 
 
4441
 
 
4442
 
    $ac_path_EGREP_found && break 3
4443
 
  done
4444
 
done
4445
 
 
4446
 
done
4447
 
IFS=$as_save_IFS
4448
 
 
4449
 
 
4450
 
fi
4451
 
 
4452
 
EGREP="$ac_cv_path_EGREP"
4453
 
if test -z "$EGREP"; then
4454
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4455
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4456
 
   { (exit 1); exit 1; }; }
4457
 
fi
4458
 
 
4459
 
else
4460
 
  ac_cv_path_EGREP=$EGREP
4461
 
fi
4462
 
 
4463
 
 
4464
 
   fi
4465
 
fi
4466
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4467
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4468
 
 EGREP="$ac_cv_path_EGREP"
4469
 
 
4470
 
 
4471
 
 
4472
 
# Check whether --with-gnu-ld was given.
4473
 
if test "${with_gnu_ld+set}" = set; then
4474
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4475
 
else
4476
 
  with_gnu_ld=no
4477
 
fi
4478
 
 
4479
 
ac_prog=ld
4480
 
if test "$GCC" = yes; then
4481
 
  # Check if gcc -print-prog-name=ld gives a path.
4482
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4483
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4484
 
  case $host in
4485
 
  *-*-mingw*)
4486
 
    # gcc leaves a trailing carriage return which upsets mingw
4487
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4488
 
  *)
4489
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4490
 
  esac
4491
 
  case $ac_prog in
4492
 
    # Accept absolute paths.
4493
 
    [\\/]* | ?:[\\/]*)
4494
 
      re_direlt='/[^/][^/]*/\.\./'
4495
 
      # Canonicalize the pathname of ld
4496
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4497
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4498
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4499
 
      done
4500
 
      test -z "$LD" && LD="$ac_prog"
4501
 
      ;;
4502
 
  "")
4503
 
    # If it fails, then pretend we aren't using GCC.
4504
 
    ac_prog=ld
4505
 
    ;;
4506
 
  *)
4507
 
    # If it is relative, then search for the first ld in PATH.
4508
 
    with_gnu_ld=unknown
4509
 
    ;;
4510
 
  esac
4511
 
elif test "$with_gnu_ld" = yes; then
4512
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
4513
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4514
 
else
4515
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4516
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4517
 
fi
4518
 
if test "${lt_cv_path_LD+set}" = set; then
4519
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4520
 
else
4521
 
  if test -z "$LD"; then
4522
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4523
 
  for ac_dir in $PATH; do
4524
 
    IFS="$lt_save_ifs"
4525
 
    test -z "$ac_dir" && ac_dir=.
4526
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4527
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
4528
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
4529
 
      # but apparently some GNU ld's only accept -v.
4530
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
4531
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4532
 
      *GNU* | *'with BFD'*)
4533
 
        test "$with_gnu_ld" != no && break
4534
 
        ;;
4535
 
      *)
4536
 
        test "$with_gnu_ld" != yes && break
4537
 
        ;;
4538
 
      esac
4539
 
    fi
4540
 
  done
4541
 
  IFS="$lt_save_ifs"
4542
 
else
4543
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4544
 
fi
4545
 
fi
4546
 
 
4547
 
LD="$lt_cv_path_LD"
4548
 
if test -n "$LD"; then
4549
 
  { echo "$as_me:$LINENO: result: $LD" >&5
4550
 
echo "${ECHO_T}$LD" >&6; }
4551
 
else
4552
 
  { echo "$as_me:$LINENO: result: no" >&5
4553
 
echo "${ECHO_T}no" >&6; }
4554
 
fi
4555
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4556
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4557
 
   { (exit 1); exit 1; }; }
4558
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4559
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4560
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4561
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4562
 
else
4563
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4564
 
case `$LD -v 2>&1 </dev/null` in
4565
 
*GNU* | *'with BFD'*)
4566
 
  lt_cv_prog_gnu_ld=yes
4567
 
  ;;
4568
 
*)
4569
 
  lt_cv_prog_gnu_ld=no
4570
 
  ;;
4571
 
esac
4572
 
fi
4573
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4574
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4575
 
with_gnu_ld=$lt_cv_prog_gnu_ld
4576
 
 
4577
 
 
4578
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4579
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4580
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
4581
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4582
 
else
4583
 
  lt_cv_ld_reload_flag='-r'
4584
 
fi
4585
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4586
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4587
 
reload_flag=$lt_cv_ld_reload_flag
4588
 
case $reload_flag in
4589
 
"" | " "*) ;;
4590
 
*) reload_flag=" $reload_flag" ;;
4591
 
esac
4592
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4593
 
 
4594
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4595
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4596
 
if test "${lt_cv_path_NM+set}" = set; then
4597
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4598
 
else
4599
 
  if test -n "$NM"; then
4600
 
  # Let the user override the test.
4601
 
  lt_cv_path_NM="$NM"
4602
 
else
4603
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4604
 
  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4605
 
    IFS="$lt_save_ifs"
4606
 
    test -z "$ac_dir" && ac_dir=.
4607
 
    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4608
 
    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4609
 
      # Check to see if the nm accepts a BSD-compat flag.
4610
 
      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4611
 
      #   nm: unknown option "B" ignored
4612
 
      # Tru64's nm complains that /dev/null is an invalid object file
4613
 
      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4614
 
      */dev/null* | *'Invalid file or object type'*)
4615
 
        lt_cv_path_NM="$tmp_nm -B"
4616
 
        break
4617
 
        ;;
4618
 
      *)
4619
 
        case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4620
 
        */dev/null*)
4621
 
          lt_cv_path_NM="$tmp_nm -p"
4622
 
          break
4623
 
          ;;
4624
 
        *)
4625
 
          lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4626
 
          continue # so that we can try to find one that supports BSD flags
4627
 
          ;;
4628
 
        esac
4629
 
      esac
4630
 
    fi
4631
 
  done
4632
 
  IFS="$lt_save_ifs"
4633
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4634
 
fi
4635
 
fi
4636
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4637
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4638
 
NM="$lt_cv_path_NM"
4639
 
 
4640
 
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4641
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4642
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
4643
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4644
 
else
4645
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4646
 
lt_cv_file_magic_test_file=
4647
 
lt_cv_deplibs_check_method='unknown'
4648
 
# Need to set the preceding variable on all platforms that support
4649
 
# interlibrary dependencies.
4650
 
# 'none' -- dependencies not supported.
4651
 
# `unknown' -- same as none, but documents that we really don't know.
4652
 
# 'pass_all' -- all dependencies passed with no checks.
4653
 
# 'test_compile' -- check by making test program.
4654
 
# 'file_magic [[regex]]' -- check by looking for files in library path
4655
 
# which responds to the $file_magic_cmd with a given extended regex.
4656
 
# If you have `file' or equivalent on your system and you're not sure
4657
 
# whether `pass_all' will *always* work, you probably want this one.
4658
 
 
4659
 
case $host_os in
4660
 
aix4* | aix5*)
4661
 
  lt_cv_deplibs_check_method=pass_all
4662
 
  ;;
4663
 
 
4664
 
beos*)
4665
 
  lt_cv_deplibs_check_method=pass_all
4666
 
  ;;
4667
 
 
4668
 
bsdi4*)
4669
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4670
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
4671
 
  lt_cv_file_magic_test_file=/shlib/libc.so
4672
 
  ;;
4673
 
 
4674
 
cygwin*)
4675
 
  # func_win32_libid is a shell function defined in ltmain.sh
4676
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4677
 
  lt_cv_file_magic_cmd='func_win32_libid'
4678
 
  ;;
4679
 
 
4680
 
mingw* | pw32*)
4681
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
4682
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4683
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4684
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
4685
 
  ;;
4686
 
 
4687
 
darwin* | rhapsody*)
4688
 
  lt_cv_deplibs_check_method=pass_all
4689
 
  ;;
4690
 
 
4691
 
freebsd* | kfreebsd*-gnu)
4692
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4693
 
    case $host_cpu in
4694
 
    i*86 )
4695
 
      # Not sure whether the presence of OpenBSD here was a mistake.
4696
 
      # Let's accept both of them until this is cleared up.
4697
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4698
 
      lt_cv_file_magic_cmd=/usr/bin/file
4699
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4700
 
      ;;
4701
 
    esac
4702
 
  else
4703
 
    lt_cv_deplibs_check_method=pass_all
4704
 
  fi
4705
 
  ;;
4706
 
 
4707
 
gnu*)
4708
 
  lt_cv_deplibs_check_method=pass_all
4709
 
  ;;
4710
 
 
4711
 
hpux10.20* | hpux11*)
4712
 
  lt_cv_file_magic_cmd=/usr/bin/file
4713
 
  case "$host_cpu" in
4714
 
  ia64*)
4715
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4716
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4717
 
    ;;
4718
 
  hppa*64*)
4719
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4720
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4721
 
    ;;
4722
 
  *)
4723
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4724
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
4725
 
    ;;
4726
 
  esac
4727
 
  ;;
4728
 
 
4729
 
irix5* | irix6* | nonstopux*)
4730
 
  case $LD in
4731
 
  *-32|*"-32 ") libmagic=32-bit;;
4732
 
  *-n32|*"-n32 ") libmagic=N32;;
4733
 
  *-64|*"-64 ") libmagic=64-bit;;
4734
 
  *) libmagic=never-match;;
4735
 
  esac
4736
 
  lt_cv_deplibs_check_method=pass_all
4737
 
  ;;
4738
 
 
4739
 
# This must be Linux ELF.
4740
 
linux*)
4741
 
  lt_cv_deplibs_check_method=pass_all
4742
 
  ;;
4743
 
 
4744
 
netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
4745
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4746
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4747
 
  else
4748
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4749
 
  fi
4750
 
  ;;
4751
 
 
4752
 
newos6*)
4753
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4754
 
  lt_cv_file_magic_cmd=/usr/bin/file
4755
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4756
 
  ;;
4757
 
 
4758
 
nto-qnx*)
4759
 
  lt_cv_deplibs_check_method=unknown
4760
 
  ;;
4761
 
 
4762
 
openbsd*)
4763
 
  lt_cv_file_magic_cmd=/usr/bin/file
4764
 
  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4765
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4766
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4767
 
  else
4768
 
    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4769
 
  fi
4770
 
  ;;
4771
 
 
4772
 
osf3* | osf4* | osf5*)
4773
 
  lt_cv_deplibs_check_method=pass_all
4774
 
  ;;
4775
 
 
4776
 
sco3.2v5*)
4777
 
  lt_cv_deplibs_check_method=pass_all
4778
 
  ;;
4779
 
 
4780
 
solaris*)
4781
 
  lt_cv_deplibs_check_method=pass_all
4782
 
  ;;
4783
 
 
4784
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4785
 
  case $host_vendor in
4786
 
  motorola)
4787
 
    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]'
4788
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4789
 
    ;;
4790
 
  ncr)
4791
 
    lt_cv_deplibs_check_method=pass_all
4792
 
    ;;
4793
 
  sequent)
4794
 
    lt_cv_file_magic_cmd='/bin/file'
4795
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4796
 
    ;;
4797
 
  sni)
4798
 
    lt_cv_file_magic_cmd='/bin/file'
4799
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4800
 
    lt_cv_file_magic_test_file=/lib/libc.so
4801
 
    ;;
4802
 
  siemens)
4803
 
    lt_cv_deplibs_check_method=pass_all
4804
 
    ;;
4805
 
  esac
4806
 
  ;;
4807
 
 
4808
 
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4809
 
  lt_cv_deplibs_check_method=pass_all
4810
 
  ;;
4811
 
esac
4812
 
 
4813
 
fi
4814
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4815
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4816
 
file_magic_cmd=$lt_cv_file_magic_cmd
4817
 
deplibs_check_method=$lt_cv_deplibs_check_method
4818
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4819
 
 
4820
 
 
4821
 
 
4822
 
 
4823
 
# If no C compiler was specified, use CC.
4824
 
LTCC=${LTCC-"$CC"}
4825
 
 
4826
 
# Allow CC to be a program name with arguments.
4827
 
compiler=$CC
4828
 
 
4829
 
 
4830
 
# Check whether --enable-libtool-lock was given.
4831
 
if test "${enable_libtool_lock+set}" = set; then
4832
 
  enableval=$enable_libtool_lock; 
4833
 
fi
4834
 
 
4835
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4836
 
 
4837
 
# Some flags need to be propagated to the compiler or linker for good
4838
 
# libtool support.
4839
 
case $host in
4840
 
ia64-*-hpux*)
4841
 
  # Find out which ABI we are using.
4842
 
  echo 'int i;' > conftest.$ac_ext
4843
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4844
 
  (eval $ac_compile) 2>&5
4845
 
  ac_status=$?
4846
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4847
 
  (exit $ac_status); }; then
4848
 
    case `/usr/bin/file conftest.$ac_objext` in
4849
 
    *ELF-32*)
4850
 
      HPUX_IA64_MODE="32"
4851
 
      ;;
4852
 
    *ELF-64*)
4853
 
      HPUX_IA64_MODE="64"
4854
 
      ;;
4855
 
    esac
4856
 
  fi
4857
 
  rm -rf conftest*
4858
 
  ;;
4859
 
*-*-irix6*)
4860
 
  # Find out which ABI we are using.
4861
 
  echo '#line __oline__ "configure"' > conftest.$ac_ext
4862
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4863
 
  (eval $ac_compile) 2>&5
4864
 
  ac_status=$?
4865
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4866
 
  (exit $ac_status); }; then
4867
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
4868
 
    case `/usr/bin/file conftest.$ac_objext` in
4869
 
    *32-bit*)
4870
 
      LD="${LD-ld} -melf32bsmip"
4871
 
      ;;
4872
 
    *N32*)
4873
 
      LD="${LD-ld} -melf32bmipn32"
4874
 
      ;;
4875
 
    *64-bit*)
4876
 
      LD="${LD-ld} -melf64bmip"
4877
 
      ;;
4878
 
    esac
4879
 
   else
4880
 
    case `/usr/bin/file conftest.$ac_objext` in
4881
 
    *32-bit*)
4882
 
      LD="${LD-ld} -32"
4883
 
      ;;
4884
 
    *N32*)
4885
 
      LD="${LD-ld} -n32"
4886
 
      ;;
4887
 
    *64-bit*)
4888
 
      LD="${LD-ld} -64"
4889
 
      ;;
4890
 
    esac
4891
 
   fi
4892
 
  fi
4893
 
  rm -rf conftest*
4894
 
  ;;
4895
 
 
4896
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4897
 
  # Find out which ABI we are using.
4898
 
  echo 'int i;' > conftest.$ac_ext
4899
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4900
 
  (eval $ac_compile) 2>&5
4901
 
  ac_status=$?
4902
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903
 
  (exit $ac_status); }; then
4904
 
    case "`/usr/bin/file conftest.o`" in
4905
 
    *32-bit*)
4906
 
      case $host in
4907
 
        x86_64-*linux*)
4908
 
          LD="${LD-ld} -m elf_i386"
4909
 
          ;;
4910
 
        ppc64-*linux*|powerpc64-*linux*)
4911
 
          LD="${LD-ld} -m elf32ppclinux"
4912
 
          ;;
4913
 
        s390x-*linux*)
4914
 
          LD="${LD-ld} -m elf_s390"
4915
 
          ;;
4916
 
        sparc64-*linux*)
4917
 
          LD="${LD-ld} -m elf32_sparc"
4918
 
          ;;
4919
 
      esac
4920
 
      ;;
4921
 
    *64-bit*)
4922
 
      case $host in
4923
 
        x86_64-*linux*)
4924
 
          LD="${LD-ld} -m elf_x86_64"
4925
 
          ;;
4926
 
        ppc*-*linux*|powerpc*-*linux*)
4927
 
          LD="${LD-ld} -m elf64ppc"
4928
 
          ;;
4929
 
        s390*-*linux*)
4930
 
          LD="${LD-ld} -m elf64_s390"
4931
 
          ;;
4932
 
        sparc*-*linux*)
4933
 
          LD="${LD-ld} -m elf64_sparc"
4934
 
          ;;
4935
 
      esac
4936
 
      ;;
4937
 
    esac
4938
 
  fi
4939
 
  rm -rf conftest*
4940
 
  ;;
4941
 
 
4942
 
*-*-sco3.2v5*)
4943
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4944
 
  SAVE_CFLAGS="$CFLAGS"
4945
 
  CFLAGS="$CFLAGS -belf"
4946
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4947
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4948
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
4949
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4950
 
else
4951
 
  ac_ext=c
4952
 
ac_cpp='$CPP $CPPFLAGS'
4953
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4954
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4955
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4956
 
 
4957
 
     cat >conftest.$ac_ext <<_ACEOF
4958
 
/* confdefs.h.  */
4959
 
_ACEOF
4960
 
cat confdefs.h >>conftest.$ac_ext
4961
 
cat >>conftest.$ac_ext <<_ACEOF
4962
 
/* end confdefs.h.  */
4963
 
 
4964
 
int
4965
 
main ()
4966
 
{
4967
 
 
4968
 
  ;
4969
 
  return 0;
4970
 
}
4971
 
_ACEOF
4972
 
rm -f conftest.$ac_objext conftest$ac_exeext
4973
 
if { (ac_try="$ac_link"
4974
 
case "(($ac_try" in
4975
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4976
 
  *) ac_try_echo=$ac_try;;
4977
 
esac
4978
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4979
 
  (eval "$ac_link") 2>conftest.er1
4980
 
  ac_status=$?
4981
 
  grep -v '^ *+' conftest.er1 >conftest.err
4982
 
  rm -f conftest.er1
4983
 
  cat conftest.err >&5
4984
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4985
 
  (exit $ac_status); } && {
4986
 
         test -z "$ac_c_werror_flag" ||
4987
 
         test ! -s conftest.err
4988
 
       } && test -s conftest$ac_exeext &&
4989
 
       $as_test_x conftest$ac_exeext; then
4990
 
  lt_cv_cc_needs_belf=yes
4991
 
else
4992
 
  echo "$as_me: failed program was:" >&5
4993
 
sed 's/^/| /' conftest.$ac_ext >&5
4994
 
 
4995
 
        lt_cv_cc_needs_belf=no
4996
 
fi
4997
 
 
4998
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4999
 
      conftest$ac_exeext conftest.$ac_ext
5000
 
     ac_ext=c
5001
 
ac_cpp='$CPP $CPPFLAGS'
5002
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5003
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5004
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5005
 
 
5006
 
fi
5007
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5008
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5009
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5010
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5011
 
    CFLAGS="$SAVE_CFLAGS"
5012
 
  fi
5013
 
  ;;
5014
 
 
5015
 
esac
5016
 
 
5017
 
need_locks="$enable_libtool_lock"
5018
 
 
5019
 
 
5020
 
 
5021
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5022
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5023
 
if test "${ac_cv_header_stdc+set}" = set; then
5024
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5025
 
else
5026
 
  cat >conftest.$ac_ext <<_ACEOF
5027
 
/* confdefs.h.  */
5028
 
_ACEOF
5029
 
cat confdefs.h >>conftest.$ac_ext
5030
 
cat >>conftest.$ac_ext <<_ACEOF
5031
 
/* end confdefs.h.  */
5032
 
#include <stdlib.h>
5033
 
#include <stdarg.h>
5034
 
#include <string.h>
5035
 
#include <float.h>
5036
 
 
5037
 
int
5038
 
main ()
5039
 
{
5040
 
 
5041
 
  ;
5042
 
  return 0;
5043
 
}
5044
 
_ACEOF
5045
 
rm -f conftest.$ac_objext
5046
 
if { (ac_try="$ac_compile"
5047
 
case "(($ac_try" in
5048
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5049
 
  *) ac_try_echo=$ac_try;;
5050
 
esac
5051
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5052
 
  (eval "$ac_compile") 2>conftest.er1
5053
 
  ac_status=$?
5054
 
  grep -v '^ *+' conftest.er1 >conftest.err
5055
 
  rm -f conftest.er1
5056
 
  cat conftest.err >&5
5057
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5058
 
  (exit $ac_status); } && {
5059
 
         test -z "$ac_c_werror_flag" ||
5060
 
         test ! -s conftest.err
5061
 
       } && test -s conftest.$ac_objext; then
5062
 
  ac_cv_header_stdc=yes
5063
 
else
5064
 
  echo "$as_me: failed program was:" >&5
5065
 
sed 's/^/| /' conftest.$ac_ext >&5
5066
 
 
5067
 
        ac_cv_header_stdc=no
5068
 
fi
5069
 
 
5070
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5071
 
 
5072
 
if test $ac_cv_header_stdc = yes; then
5073
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5074
 
  cat >conftest.$ac_ext <<_ACEOF
5075
 
/* confdefs.h.  */
5076
 
_ACEOF
5077
 
cat confdefs.h >>conftest.$ac_ext
5078
 
cat >>conftest.$ac_ext <<_ACEOF
5079
 
/* end confdefs.h.  */
5080
 
#include <string.h>
5081
 
 
5082
 
_ACEOF
5083
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5084
 
  $EGREP "memchr" >/dev/null 2>&1; then
5085
 
  :
5086
 
else
5087
 
  ac_cv_header_stdc=no
5088
 
fi
5089
 
rm -f conftest*
5090
 
 
5091
 
fi
5092
 
 
5093
 
if test $ac_cv_header_stdc = yes; then
5094
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5095
 
  cat >conftest.$ac_ext <<_ACEOF
5096
 
/* confdefs.h.  */
5097
 
_ACEOF
5098
 
cat confdefs.h >>conftest.$ac_ext
5099
 
cat >>conftest.$ac_ext <<_ACEOF
5100
 
/* end confdefs.h.  */
5101
 
#include <stdlib.h>
5102
 
 
5103
 
_ACEOF
5104
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5105
 
  $EGREP "free" >/dev/null 2>&1; then
5106
 
  :
5107
 
else
5108
 
  ac_cv_header_stdc=no
5109
 
fi
5110
 
rm -f conftest*
5111
 
 
5112
 
fi
5113
 
 
5114
 
if test $ac_cv_header_stdc = yes; then
5115
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5116
 
  if test "$cross_compiling" = yes; then
5117
 
  :
5118
 
else
5119
 
  cat >conftest.$ac_ext <<_ACEOF
5120
 
/* confdefs.h.  */
5121
 
_ACEOF
5122
 
cat confdefs.h >>conftest.$ac_ext
5123
 
cat >>conftest.$ac_ext <<_ACEOF
5124
 
/* end confdefs.h.  */
5125
 
#include <ctype.h>
5126
 
#include <stdlib.h>
5127
 
#if ((' ' & 0x0FF) == 0x020)
5128
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5129
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5130
 
#else
5131
 
# define ISLOWER(c) \
5132
 
                   (('a' <= (c) && (c) <= 'i') \
5133
 
                     || ('j' <= (c) && (c) <= 'r') \
5134
 
                     || ('s' <= (c) && (c) <= 'z'))
5135
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5136
 
#endif
5137
 
 
5138
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5139
 
int
5140
 
main ()
5141
 
{
5142
 
  int i;
5143
 
  for (i = 0; i < 256; i++)
5144
 
    if (XOR (islower (i), ISLOWER (i))
5145
 
        || toupper (i) != TOUPPER (i))
5146
 
      return 2;
5147
 
  return 0;
5148
 
}
5149
 
_ACEOF
5150
 
rm -f conftest$ac_exeext
5151
 
if { (ac_try="$ac_link"
5152
 
case "(($ac_try" in
5153
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5154
 
  *) ac_try_echo=$ac_try;;
5155
 
esac
5156
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5157
 
  (eval "$ac_link") 2>&5
5158
 
  ac_status=$?
5159
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5161
 
  { (case "(($ac_try" in
5162
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5163
 
  *) ac_try_echo=$ac_try;;
5164
 
esac
5165
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5166
 
  (eval "$ac_try") 2>&5
5167
 
  ac_status=$?
5168
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5169
 
  (exit $ac_status); }; }; then
5170
 
  :
5171
 
else
5172
 
  echo "$as_me: program exited with status $ac_status" >&5
5173
 
echo "$as_me: failed program was:" >&5
5174
 
sed 's/^/| /' conftest.$ac_ext >&5
5175
 
 
5176
 
( exit $ac_status )
5177
 
ac_cv_header_stdc=no
5178
 
fi
5179
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5180
 
fi
5181
 
 
5182
 
 
5183
 
fi
5184
 
fi
5185
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5186
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5187
 
if test $ac_cv_header_stdc = yes; then
5188
 
  
5189
 
cat >>confdefs.h <<\_ACEOF
5190
 
@%:@define STDC_HEADERS 1
5191
 
_ACEOF
5192
 
 
5193
 
fi
5194
 
 
5195
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5196
 
 
5197
 
 
5198
 
 
5199
 
 
5200
 
 
5201
 
 
5202
 
 
5203
 
 
5204
 
 
5205
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5206
 
                  inttypes.h stdint.h unistd.h
5207
 
do
5208
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5209
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5210
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5211
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5212
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5213
 
else
5214
 
  cat >conftest.$ac_ext <<_ACEOF
5215
 
/* confdefs.h.  */
5216
 
_ACEOF
5217
 
cat confdefs.h >>conftest.$ac_ext
5218
 
cat >>conftest.$ac_ext <<_ACEOF
5219
 
/* end confdefs.h.  */
5220
 
$ac_includes_default
5221
 
 
5222
 
@%:@include <$ac_header>
5223
 
_ACEOF
5224
 
rm -f conftest.$ac_objext
5225
 
if { (ac_try="$ac_compile"
5226
 
case "(($ac_try" in
5227
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5228
 
  *) ac_try_echo=$ac_try;;
5229
 
esac
5230
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5231
 
  (eval "$ac_compile") 2>conftest.er1
5232
 
  ac_status=$?
5233
 
  grep -v '^ *+' conftest.er1 >conftest.err
5234
 
  rm -f conftest.er1
5235
 
  cat conftest.err >&5
5236
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5237
 
  (exit $ac_status); } && {
5238
 
         test -z "$ac_c_werror_flag" ||
5239
 
         test ! -s conftest.err
5240
 
       } && test -s conftest.$ac_objext; then
5241
 
  eval "$as_ac_Header=yes"
5242
 
else
5243
 
  echo "$as_me: failed program was:" >&5
5244
 
sed 's/^/| /' conftest.$ac_ext >&5
5245
 
 
5246
 
        eval "$as_ac_Header=no"
5247
 
fi
5248
 
 
5249
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5250
 
fi
5251
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5252
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5253
 
echo "${ECHO_T}$ac_res" >&6; }
5254
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5255
 
  cat >>confdefs.h <<_ACEOF
5256
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5257
 
_ACEOF
5258
 
 
5259
 
fi
5260
 
 
5261
 
done
5262
 
 
5263
 
 
5264
 
 
5265
 
for ac_header in dlfcn.h
5266
 
do
5267
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5268
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5269
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5270
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5271
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5272
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5273
 
fi
5274
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5275
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5276
 
echo "${ECHO_T}$ac_res" >&6; }
5277
 
else
5278
 
  # Is the header compilable?
5279
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5280
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5281
 
cat >conftest.$ac_ext <<_ACEOF
5282
 
/* confdefs.h.  */
5283
 
_ACEOF
5284
 
cat confdefs.h >>conftest.$ac_ext
5285
 
cat >>conftest.$ac_ext <<_ACEOF
5286
 
/* end confdefs.h.  */
5287
 
$ac_includes_default
5288
 
@%:@include <$ac_header>
5289
 
_ACEOF
5290
 
rm -f conftest.$ac_objext
5291
 
if { (ac_try="$ac_compile"
5292
 
case "(($ac_try" in
5293
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5294
 
  *) ac_try_echo=$ac_try;;
5295
 
esac
5296
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5297
 
  (eval "$ac_compile") 2>conftest.er1
5298
 
  ac_status=$?
5299
 
  grep -v '^ *+' conftest.er1 >conftest.err
5300
 
  rm -f conftest.er1
5301
 
  cat conftest.err >&5
5302
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5303
 
  (exit $ac_status); } && {
5304
 
         test -z "$ac_c_werror_flag" ||
5305
 
         test ! -s conftest.err
5306
 
       } && test -s conftest.$ac_objext; then
5307
 
  ac_header_compiler=yes
5308
 
else
5309
 
  echo "$as_me: failed program was:" >&5
5310
 
sed 's/^/| /' conftest.$ac_ext >&5
5311
 
 
5312
 
        ac_header_compiler=no
5313
 
fi
5314
 
 
5315
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5316
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5317
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
5318
 
 
5319
 
# Is the header present?
5320
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5321
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5322
 
cat >conftest.$ac_ext <<_ACEOF
5323
 
/* confdefs.h.  */
5324
 
_ACEOF
5325
 
cat confdefs.h >>conftest.$ac_ext
5326
 
cat >>conftest.$ac_ext <<_ACEOF
5327
 
/* end confdefs.h.  */
5328
 
@%:@include <$ac_header>
5329
 
_ACEOF
5330
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5331
 
case "(($ac_try" in
5332
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5333
 
  *) ac_try_echo=$ac_try;;
5334
 
esac
5335
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5336
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5337
 
  ac_status=$?
5338
 
  grep -v '^ *+' conftest.er1 >conftest.err
5339
 
  rm -f conftest.er1
5340
 
  cat conftest.err >&5
5341
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5342
 
  (exit $ac_status); } >/dev/null && {
5343
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5344
 
         test ! -s conftest.err
5345
 
       }; then
5346
 
  ac_header_preproc=yes
5347
 
else
5348
 
  echo "$as_me: failed program was:" >&5
5349
 
sed 's/^/| /' conftest.$ac_ext >&5
5350
 
 
5351
 
  ac_header_preproc=no
5352
 
fi
5353
 
 
5354
 
rm -f conftest.err conftest.$ac_ext
5355
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5356
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
5357
 
 
5358
 
# So?  What about this header?
5359
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5360
 
  yes:no: )
5361
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5362
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5363
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5364
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5365
 
    ac_header_preproc=yes
5366
 
    ;;
5367
 
  no:yes:* )
5368
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5369
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5370
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5371
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5372
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5373
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5374
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5375
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5376
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5377
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5378
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5379
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5380
 
    
5381
 
    ;;
5382
 
esac
5383
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5384
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5385
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5386
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5387
 
else
5388
 
  eval "$as_ac_Header=\$ac_header_preproc"
5389
 
fi
5390
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5391
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5392
 
echo "${ECHO_T}$ac_res" >&6; }
5393
 
 
5394
 
fi
5395
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5396
 
  cat >>confdefs.h <<_ACEOF
5397
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5398
 
_ACEOF
5399
 
 
5400
 
fi
5401
 
 
5402
 
done
5403
 
 
5404
 
ac_ext=cpp
5405
 
ac_cpp='$CXXCPP $CPPFLAGS'
5406
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5407
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5408
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5409
 
if test -z "$CXX"; then
5410
 
  if test -n "$CCC"; then
5411
 
    CXX=$CCC
5412
 
  else
5413
 
    if test -n "$ac_tool_prefix"; then
5414
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5415
 
  do
5416
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5417
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5418
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5419
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5420
 
if test "${ac_cv_prog_CXX+set}" = set; then
5421
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5422
 
else
5423
 
  if test -n "$CXX"; then
5424
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
5425
 
else
5426
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5427
 
for as_dir in $PATH
5428
 
do
5429
 
  IFS=$as_save_IFS
5430
 
  test -z "$as_dir" && as_dir=.
5431
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5432
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5433
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5434
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5435
 
    break 2
5436
 
  fi
5437
 
done
5438
 
done
5439
 
IFS=$as_save_IFS
5440
 
 
5441
 
fi
5442
 
fi
5443
 
CXX=$ac_cv_prog_CXX
5444
 
if test -n "$CXX"; then
5445
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
5446
 
echo "${ECHO_T}$CXX" >&6; }
5447
 
else
5448
 
  { echo "$as_me:$LINENO: result: no" >&5
5449
 
echo "${ECHO_T}no" >&6; }
5450
 
fi
5451
 
 
5452
 
 
5453
 
    test -n "$CXX" && break
5454
 
  done
5455
 
fi
5456
 
if test -z "$CXX"; then
5457
 
  ac_ct_CXX=$CXX
5458
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5459
 
do
5460
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5461
 
set dummy $ac_prog; ac_word=$2
5462
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5463
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5464
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5465
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5466
 
else
5467
 
  if test -n "$ac_ct_CXX"; then
5468
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5469
 
else
5470
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5471
 
for as_dir in $PATH
5472
 
do
5473
 
  IFS=$as_save_IFS
5474
 
  test -z "$as_dir" && as_dir=.
5475
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5476
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5477
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
5478
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5479
 
    break 2
5480
 
  fi
5481
 
done
5482
 
done
5483
 
IFS=$as_save_IFS
5484
 
 
5485
 
fi
5486
 
fi
5487
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5488
 
if test -n "$ac_ct_CXX"; then
5489
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5490
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
5491
 
else
5492
 
  { echo "$as_me:$LINENO: result: no" >&5
5493
 
echo "${ECHO_T}no" >&6; }
5494
 
fi
5495
 
 
5496
 
 
5497
 
  test -n "$ac_ct_CXX" && break
5498
 
done
5499
 
 
5500
 
  if test "x$ac_ct_CXX" = x; then
5501
 
    CXX="g++"
5502
 
  else
5503
 
    case $cross_compiling:$ac_tool_warned in
5504
 
yes:)
5505
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5506
 
whose name does not start with the host triplet.  If you think this
5507
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5508
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5509
 
whose name does not start with the host triplet.  If you think this
5510
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5511
 
ac_tool_warned=yes ;;
5512
 
esac
5513
 
    CXX=$ac_ct_CXX
5514
 
  fi
5515
 
fi
5516
 
 
5517
 
  fi
5518
 
fi
5519
 
# Provide some information about the compiler.
5520
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5521
 
ac_compiler=`set X $ac_compile; echo $2`
5522
 
{ (ac_try="$ac_compiler --version >&5"
5523
 
case "(($ac_try" in
5524
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5525
 
  *) ac_try_echo=$ac_try;;
5526
 
esac
5527
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5528
 
  (eval "$ac_compiler --version >&5") 2>&5
5529
 
  ac_status=$?
5530
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5531
 
  (exit $ac_status); }
5532
 
{ (ac_try="$ac_compiler -v >&5"
5533
 
case "(($ac_try" in
5534
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5535
 
  *) ac_try_echo=$ac_try;;
5536
 
esac
5537
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5538
 
  (eval "$ac_compiler -v >&5") 2>&5
5539
 
  ac_status=$?
5540
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5541
 
  (exit $ac_status); }
5542
 
{ (ac_try="$ac_compiler -V >&5"
5543
 
case "(($ac_try" in
5544
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5545
 
  *) ac_try_echo=$ac_try;;
5546
 
esac
5547
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5548
 
  (eval "$ac_compiler -V >&5") 2>&5
5549
 
  ac_status=$?
5550
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5551
 
  (exit $ac_status); }
5552
 
 
5553
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5554
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5555
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5556
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5557
 
else
5558
 
  cat >conftest.$ac_ext <<_ACEOF
5559
 
/* confdefs.h.  */
5560
 
_ACEOF
5561
 
cat confdefs.h >>conftest.$ac_ext
5562
 
cat >>conftest.$ac_ext <<_ACEOF
5563
 
/* end confdefs.h.  */
5564
 
 
5565
 
int
5566
 
main ()
5567
 
{
5568
 
#ifndef __GNUC__
5569
 
       choke me
5570
 
#endif
5571
 
 
5572
 
  ;
5573
 
  return 0;
5574
 
}
5575
 
_ACEOF
5576
 
rm -f conftest.$ac_objext
5577
 
if { (ac_try="$ac_compile"
5578
 
case "(($ac_try" in
5579
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5580
 
  *) ac_try_echo=$ac_try;;
5581
 
esac
5582
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5583
 
  (eval "$ac_compile") 2>conftest.er1
5584
 
  ac_status=$?
5585
 
  grep -v '^ *+' conftest.er1 >conftest.err
5586
 
  rm -f conftest.er1
5587
 
  cat conftest.err >&5
5588
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5589
 
  (exit $ac_status); } && {
5590
 
         test -z "$ac_cxx_werror_flag" ||
5591
 
         test ! -s conftest.err
5592
 
       } && test -s conftest.$ac_objext; then
5593
 
  ac_compiler_gnu=yes
5594
 
else
5595
 
  echo "$as_me: failed program was:" >&5
5596
 
sed 's/^/| /' conftest.$ac_ext >&5
5597
 
 
5598
 
        ac_compiler_gnu=no
5599
 
fi
5600
 
 
5601
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5602
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5603
 
 
5604
 
fi
5605
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5606
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5607
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
5608
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
5609
 
ac_save_CXXFLAGS=$CXXFLAGS
5610
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5611
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5612
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
5613
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5614
 
else
5615
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5616
 
   ac_cxx_werror_flag=yes
5617
 
   ac_cv_prog_cxx_g=no
5618
 
   CXXFLAGS="-g"
5619
 
   cat >conftest.$ac_ext <<_ACEOF
5620
 
/* confdefs.h.  */
5621
 
_ACEOF
5622
 
cat confdefs.h >>conftest.$ac_ext
5623
 
cat >>conftest.$ac_ext <<_ACEOF
5624
 
/* end confdefs.h.  */
5625
 
 
5626
 
int
5627
 
main ()
5628
 
{
5629
 
 
5630
 
  ;
5631
 
  return 0;
5632
 
}
5633
 
_ACEOF
5634
 
rm -f conftest.$ac_objext
5635
 
if { (ac_try="$ac_compile"
5636
 
case "(($ac_try" in
5637
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5638
 
  *) ac_try_echo=$ac_try;;
5639
 
esac
5640
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5641
 
  (eval "$ac_compile") 2>conftest.er1
5642
 
  ac_status=$?
5643
 
  grep -v '^ *+' conftest.er1 >conftest.err
5644
 
  rm -f conftest.er1
5645
 
  cat conftest.err >&5
5646
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5647
 
  (exit $ac_status); } && {
5648
 
         test -z "$ac_cxx_werror_flag" ||
5649
 
         test ! -s conftest.err
5650
 
       } && test -s conftest.$ac_objext; then
5651
 
  ac_cv_prog_cxx_g=yes
5652
 
else
5653
 
  echo "$as_me: failed program was:" >&5
5654
 
sed 's/^/| /' conftest.$ac_ext >&5
5655
 
 
5656
 
        CXXFLAGS=""
5657
 
      cat >conftest.$ac_ext <<_ACEOF
5658
 
/* confdefs.h.  */
5659
 
_ACEOF
5660
 
cat confdefs.h >>conftest.$ac_ext
5661
 
cat >>conftest.$ac_ext <<_ACEOF
5662
 
/* end confdefs.h.  */
5663
 
 
5664
 
int
5665
 
main ()
5666
 
{
5667
 
 
5668
 
  ;
5669
 
  return 0;
5670
 
}
5671
 
_ACEOF
5672
 
rm -f conftest.$ac_objext
5673
 
if { (ac_try="$ac_compile"
5674
 
case "(($ac_try" in
5675
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5676
 
  *) ac_try_echo=$ac_try;;
5677
 
esac
5678
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5679
 
  (eval "$ac_compile") 2>conftest.er1
5680
 
  ac_status=$?
5681
 
  grep -v '^ *+' conftest.er1 >conftest.err
5682
 
  rm -f conftest.er1
5683
 
  cat conftest.err >&5
5684
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5685
 
  (exit $ac_status); } && {
5686
 
         test -z "$ac_cxx_werror_flag" ||
5687
 
         test ! -s conftest.err
5688
 
       } && test -s conftest.$ac_objext; then
5689
 
  :
5690
 
else
5691
 
  echo "$as_me: failed program was:" >&5
5692
 
sed 's/^/| /' conftest.$ac_ext >&5
5693
 
 
5694
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5695
 
         CXXFLAGS="-g"
5696
 
         cat >conftest.$ac_ext <<_ACEOF
5697
 
/* confdefs.h.  */
5698
 
_ACEOF
5699
 
cat confdefs.h >>conftest.$ac_ext
5700
 
cat >>conftest.$ac_ext <<_ACEOF
5701
 
/* end confdefs.h.  */
5702
 
 
5703
 
int
5704
 
main ()
5705
 
{
5706
 
 
5707
 
  ;
5708
 
  return 0;
5709
 
}
5710
 
_ACEOF
5711
 
rm -f conftest.$ac_objext
5712
 
if { (ac_try="$ac_compile"
5713
 
case "(($ac_try" in
5714
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5715
 
  *) ac_try_echo=$ac_try;;
5716
 
esac
5717
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5718
 
  (eval "$ac_compile") 2>conftest.er1
5719
 
  ac_status=$?
5720
 
  grep -v '^ *+' conftest.er1 >conftest.err
5721
 
  rm -f conftest.er1
5722
 
  cat conftest.err >&5
5723
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5724
 
  (exit $ac_status); } && {
5725
 
         test -z "$ac_cxx_werror_flag" ||
5726
 
         test ! -s conftest.err
5727
 
       } && test -s conftest.$ac_objext; then
5728
 
  ac_cv_prog_cxx_g=yes
5729
 
else
5730
 
  echo "$as_me: failed program was:" >&5
5731
 
sed 's/^/| /' conftest.$ac_ext >&5
5732
 
 
5733
 
        
5734
 
fi
5735
 
 
5736
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5737
 
fi
5738
 
 
5739
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5740
 
fi
5741
 
 
5742
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5743
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5744
 
fi
5745
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5746
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5747
 
if test "$ac_test_CXXFLAGS" = set; then
5748
 
  CXXFLAGS=$ac_save_CXXFLAGS
5749
 
elif test $ac_cv_prog_cxx_g = yes; then
5750
 
  if test "$GXX" = yes; then
5751
 
    CXXFLAGS="-g -O2"
5752
 
  else
5753
 
    CXXFLAGS="-g"
5754
 
  fi
5755
 
else
5756
 
  if test "$GXX" = yes; then
5757
 
    CXXFLAGS="-O2"
5758
 
  else
5759
 
    CXXFLAGS=
5760
 
  fi
5761
 
fi
5762
 
ac_ext=cpp
5763
 
ac_cpp='$CXXCPP $CPPFLAGS'
5764
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5765
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5766
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5767
 
 
5768
 
depcc="$CXX"  am_compiler_list=
5769
 
 
5770
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5771
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5772
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5773
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5774
 
else
5775
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5776
 
  # We make a subdir and do the tests there.  Otherwise we can end up
5777
 
  # making bogus files that we don't know about and never remove.  For
5778
 
  # instance it was reported that on HP-UX the gcc test will end up
5779
 
  # making a dummy file named `D' -- because `-MD' means `put the output
5780
 
  # in D'.
5781
 
  mkdir conftest.dir
5782
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
5783
 
  # using a relative directory.
5784
 
  cp "$am_depcomp" conftest.dir
5785
 
  cd conftest.dir
5786
 
  # We will build objects and dependencies in a subdirectory because
5787
 
  # it helps to detect inapplicable dependency modes.  For instance
5788
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
5789
 
  # side effect of compilation, but ICC will put the dependencies in
5790
 
  # the current directory while Tru64 will put them in the object
5791
 
  # directory.
5792
 
  mkdir sub
5793
 
 
5794
 
  am_cv_CXX_dependencies_compiler_type=none
5795
 
  if test "$am_compiler_list" = ""; then
5796
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5797
 
  fi
5798
 
  for depmode in $am_compiler_list; do
5799
 
    # Setup a source with many dependencies, because some compilers
5800
 
    # like to wrap large dependency lists on column 80 (with \), and
5801
 
    # we should not choose a depcomp mode which is confused by this.
5802
 
    #
5803
 
    # We need to recreate these files for each test, as the compiler may
5804
 
    # overwrite some of them when testing with obscure command lines.
5805
 
    # This happens at least with the AIX C compiler.
5806
 
    : > sub/conftest.c
5807
 
    for i in 1 2 3 4 5 6; do
5808
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5809
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5810
 
      # Solaris 8's {/usr,}/bin/sh.
5811
 
      touch sub/conftst$i.h
5812
 
    done
5813
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5814
 
 
5815
 
    case $depmode in
5816
 
    nosideeffect)
5817
 
      # after this tag, mechanisms are not by side-effect, so they'll
5818
 
      # only be used when explicitly requested
5819
 
      if test "x$enable_dependency_tracking" = xyes; then
5820
 
        continue
5821
 
      else
5822
 
        break
5823
 
      fi
5824
 
      ;;
5825
 
    none) break ;;
5826
 
    esac
5827
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5828
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
5829
 
    # handle `-M -o', and we need to detect this.
5830
 
    if depmode=$depmode \
5831
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5832
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5833
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5834
 
         >/dev/null 2>conftest.err &&
5835
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5836
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5837
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5838
 
      # icc doesn't choke on unknown options, it will just issue warnings
5839
 
      # or remarks (even with -Werror).  So we grep stderr for any message
5840
 
      # that says an option was ignored or not supported.
5841
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
5842
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
5843
 
      # The diagnosis changed in icc 8.0:
5844
 
      #   icc: Command line remark: option '-MP' not supported
5845
 
      if (grep 'ignoring option' conftest.err ||
5846
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5847
 
        am_cv_CXX_dependencies_compiler_type=$depmode
5848
 
        break
5849
 
      fi
5850
 
    fi
5851
 
  done
5852
 
 
5853
 
  cd ..
5854
 
  rm -rf conftest.dir
5855
 
else
5856
 
  am_cv_CXX_dependencies_compiler_type=none
5857
 
fi
5858
 
 
5859
 
fi
5860
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5861
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5862
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5863
 
 
5864
 
 
5865
 
 
5866
 
if 
5867
 
  test "x$enable_dependency_tracking" != xno \
5868
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5869
 
  am__fastdepCXX_TRUE=
5870
 
  am__fastdepCXX_FALSE='#'
5871
 
else
5872
 
  am__fastdepCXX_TRUE='#'
5873
 
  am__fastdepCXX_FALSE=
5874
 
fi
5875
 
 
5876
 
 
5877
 
ac_ext=cpp
5878
 
ac_cpp='$CXXCPP $CPPFLAGS'
5879
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5880
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5881
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5882
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5883
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5884
 
if test -z "$CXXCPP"; then
5885
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5886
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5887
 
else
5888
 
      # Double quotes because CXXCPP needs to be expanded
5889
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
5890
 
    do
5891
 
      ac_preproc_ok=false
5892
 
for ac_cxx_preproc_warn_flag in '' yes
5893
 
do
5894
 
  # Use a header file that comes with gcc, so configuring glibc
5895
 
  # with a fresh cross-compiler works.
5896
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5897
 
  # <limits.h> exists even on freestanding compilers.
5898
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5899
 
  # not just through cpp. "Syntax error" is here to catch this case.
5900
 
  cat >conftest.$ac_ext <<_ACEOF
5901
 
/* confdefs.h.  */
5902
 
_ACEOF
5903
 
cat confdefs.h >>conftest.$ac_ext
5904
 
cat >>conftest.$ac_ext <<_ACEOF
5905
 
/* end confdefs.h.  */
5906
 
@%:@ifdef __STDC__
5907
 
@%:@ include <limits.h>
5908
 
@%:@else
5909
 
@%:@ include <assert.h>
5910
 
@%:@endif
5911
 
                     Syntax error
5912
 
_ACEOF
5913
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5914
 
case "(($ac_try" in
5915
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5916
 
  *) ac_try_echo=$ac_try;;
5917
 
esac
5918
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5919
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5920
 
  ac_status=$?
5921
 
  grep -v '^ *+' conftest.er1 >conftest.err
5922
 
  rm -f conftest.er1
5923
 
  cat conftest.err >&5
5924
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5925
 
  (exit $ac_status); } >/dev/null && {
5926
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5927
 
         test ! -s conftest.err
5928
 
       }; then
5929
 
  :
5930
 
else
5931
 
  echo "$as_me: failed program was:" >&5
5932
 
sed 's/^/| /' conftest.$ac_ext >&5
5933
 
 
5934
 
  # Broken: fails on valid input.
5935
 
continue
5936
 
fi
5937
 
 
5938
 
rm -f conftest.err conftest.$ac_ext
5939
 
 
5940
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5941
 
  # can be detected and how.
5942
 
  cat >conftest.$ac_ext <<_ACEOF
5943
 
/* confdefs.h.  */
5944
 
_ACEOF
5945
 
cat confdefs.h >>conftest.$ac_ext
5946
 
cat >>conftest.$ac_ext <<_ACEOF
5947
 
/* end confdefs.h.  */
5948
 
@%:@include <ac_nonexistent.h>
5949
 
_ACEOF
5950
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5951
 
case "(($ac_try" in
5952
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5953
 
  *) ac_try_echo=$ac_try;;
5954
 
esac
5955
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5956
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5957
 
  ac_status=$?
5958
 
  grep -v '^ *+' conftest.er1 >conftest.err
5959
 
  rm -f conftest.er1
5960
 
  cat conftest.err >&5
5961
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5962
 
  (exit $ac_status); } >/dev/null && {
5963
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5964
 
         test ! -s conftest.err
5965
 
       }; then
5966
 
  # Broken: success on invalid input.
5967
 
continue
5968
 
else
5969
 
  echo "$as_me: failed program was:" >&5
5970
 
sed 's/^/| /' conftest.$ac_ext >&5
5971
 
 
5972
 
  # Passes both tests.
5973
 
ac_preproc_ok=:
5974
 
break
5975
 
fi
5976
 
 
5977
 
rm -f conftest.err conftest.$ac_ext
5978
 
 
5979
 
done
5980
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5981
 
rm -f conftest.err conftest.$ac_ext
5982
 
if $ac_preproc_ok; then
5983
 
  break
5984
 
fi
5985
 
 
5986
 
    done
5987
 
    ac_cv_prog_CXXCPP=$CXXCPP
5988
 
  
5989
 
fi
5990
 
  CXXCPP=$ac_cv_prog_CXXCPP
5991
 
else
5992
 
  ac_cv_prog_CXXCPP=$CXXCPP
5993
 
fi
5994
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
5995
 
echo "${ECHO_T}$CXXCPP" >&6; }
5996
 
ac_preproc_ok=false
5997
 
for ac_cxx_preproc_warn_flag in '' yes
5998
 
do
5999
 
  # Use a header file that comes with gcc, so configuring glibc
6000
 
  # with a fresh cross-compiler works.
6001
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6002
 
  # <limits.h> exists even on freestanding compilers.
6003
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6004
 
  # not just through cpp. "Syntax error" is here to catch this case.
6005
 
  cat >conftest.$ac_ext <<_ACEOF
6006
 
/* confdefs.h.  */
6007
 
_ACEOF
6008
 
cat confdefs.h >>conftest.$ac_ext
6009
 
cat >>conftest.$ac_ext <<_ACEOF
6010
 
/* end confdefs.h.  */
6011
 
@%:@ifdef __STDC__
6012
 
@%:@ include <limits.h>
6013
 
@%:@else
6014
 
@%:@ include <assert.h>
6015
 
@%:@endif
6016
 
                     Syntax error
6017
 
_ACEOF
6018
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6019
 
case "(($ac_try" in
6020
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6021
 
  *) ac_try_echo=$ac_try;;
6022
 
esac
6023
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6024
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6025
 
  ac_status=$?
6026
 
  grep -v '^ *+' conftest.er1 >conftest.err
6027
 
  rm -f conftest.er1
6028
 
  cat conftest.err >&5
6029
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6030
 
  (exit $ac_status); } >/dev/null && {
6031
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6032
 
         test ! -s conftest.err
6033
 
       }; then
6034
 
  :
6035
 
else
6036
 
  echo "$as_me: failed program was:" >&5
6037
 
sed 's/^/| /' conftest.$ac_ext >&5
6038
 
 
6039
 
  # Broken: fails on valid input.
6040
 
continue
6041
 
fi
6042
 
 
6043
 
rm -f conftest.err conftest.$ac_ext
6044
 
 
6045
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6046
 
  # can be detected and how.
6047
 
  cat >conftest.$ac_ext <<_ACEOF
6048
 
/* confdefs.h.  */
6049
 
_ACEOF
6050
 
cat confdefs.h >>conftest.$ac_ext
6051
 
cat >>conftest.$ac_ext <<_ACEOF
6052
 
/* end confdefs.h.  */
6053
 
@%:@include <ac_nonexistent.h>
6054
 
_ACEOF
6055
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6056
 
case "(($ac_try" in
6057
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6058
 
  *) ac_try_echo=$ac_try;;
6059
 
esac
6060
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6061
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6062
 
  ac_status=$?
6063
 
  grep -v '^ *+' conftest.er1 >conftest.err
6064
 
  rm -f conftest.er1
6065
 
  cat conftest.err >&5
6066
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6067
 
  (exit $ac_status); } >/dev/null && {
6068
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6069
 
         test ! -s conftest.err
6070
 
       }; then
6071
 
  # Broken: success on invalid input.
6072
 
continue
6073
 
else
6074
 
  echo "$as_me: failed program was:" >&5
6075
 
sed 's/^/| /' conftest.$ac_ext >&5
6076
 
 
6077
 
  # Passes both tests.
6078
 
ac_preproc_ok=:
6079
 
break
6080
 
fi
6081
 
 
6082
 
rm -f conftest.err conftest.$ac_ext
6083
 
 
6084
 
done
6085
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6086
 
rm -f conftest.err conftest.$ac_ext
6087
 
if $ac_preproc_ok; then
6088
 
  :
6089
 
else
6090
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6091
 
See \`config.log' for more details." >&5
6092
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6093
 
See \`config.log' for more details." >&2;}
6094
 
   { (exit 1); exit 1; }; }
6095
 
fi
6096
 
 
6097
 
ac_ext=cpp
6098
 
ac_cpp='$CXXCPP $CPPFLAGS'
6099
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6100
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6101
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6102
 
 
6103
 
 
6104
 
ac_ext=f
6105
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6106
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6107
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6108
 
if test -n "$ac_tool_prefix"; then
6109
 
  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
6110
 
  do
6111
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6112
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6113
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6114
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6115
 
if test "${ac_cv_prog_F77+set}" = set; then
6116
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6117
 
else
6118
 
  if test -n "$F77"; then
6119
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
6120
 
else
6121
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6122
 
for as_dir in $PATH
6123
 
do
6124
 
  IFS=$as_save_IFS
6125
 
  test -z "$as_dir" && as_dir=.
6126
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6127
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6128
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
6129
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6130
 
    break 2
6131
 
  fi
6132
 
done
6133
 
done
6134
 
IFS=$as_save_IFS
6135
 
 
6136
 
fi
6137
 
fi
6138
 
F77=$ac_cv_prog_F77
6139
 
if test -n "$F77"; then
6140
 
  { echo "$as_me:$LINENO: result: $F77" >&5
6141
 
echo "${ECHO_T}$F77" >&6; }
6142
 
else
6143
 
  { echo "$as_me:$LINENO: result: no" >&5
6144
 
echo "${ECHO_T}no" >&6; }
6145
 
fi
6146
 
 
6147
 
 
6148
 
    test -n "$F77" && break
6149
 
  done
6150
 
fi
6151
 
if test -z "$F77"; then
6152
 
  ac_ct_F77=$F77
6153
 
  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
6154
 
do
6155
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6156
 
set dummy $ac_prog; ac_word=$2
6157
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6158
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6159
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6160
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6161
 
else
6162
 
  if test -n "$ac_ct_F77"; then
6163
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
6164
 
else
6165
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6166
 
for as_dir in $PATH
6167
 
do
6168
 
  IFS=$as_save_IFS
6169
 
  test -z "$as_dir" && as_dir=.
6170
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6171
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6172
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
6173
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6174
 
    break 2
6175
 
  fi
6176
 
done
6177
 
done
6178
 
IFS=$as_save_IFS
6179
 
 
6180
 
fi
6181
 
fi
6182
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
6183
 
if test -n "$ac_ct_F77"; then
6184
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6185
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
6186
 
else
6187
 
  { echo "$as_me:$LINENO: result: no" >&5
6188
 
echo "${ECHO_T}no" >&6; }
6189
 
fi
6190
 
 
6191
 
 
6192
 
  test -n "$ac_ct_F77" && break
6193
 
done
6194
 
 
6195
 
  if test "x$ac_ct_F77" = x; then
6196
 
    F77=""
6197
 
  else
6198
 
    case $cross_compiling:$ac_tool_warned in
6199
 
yes:)
6200
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6201
 
whose name does not start with the host triplet.  If you think this
6202
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6203
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6204
 
whose name does not start with the host triplet.  If you think this
6205
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6206
 
ac_tool_warned=yes ;;
6207
 
esac
6208
 
    F77=$ac_ct_F77
6209
 
  fi
6210
 
fi
6211
 
 
6212
 
 
6213
 
# Provide some information about the compiler.
6214
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6215
 
ac_compiler=`set X $ac_compile; echo $2`
6216
 
{ (ac_try="$ac_compiler --version >&5"
6217
 
case "(($ac_try" in
6218
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6219
 
  *) ac_try_echo=$ac_try;;
6220
 
esac
6221
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6222
 
  (eval "$ac_compiler --version >&5") 2>&5
6223
 
  ac_status=$?
6224
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6225
 
  (exit $ac_status); }
6226
 
{ (ac_try="$ac_compiler -v >&5"
6227
 
case "(($ac_try" in
6228
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6229
 
  *) ac_try_echo=$ac_try;;
6230
 
esac
6231
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6232
 
  (eval "$ac_compiler -v >&5") 2>&5
6233
 
  ac_status=$?
6234
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6235
 
  (exit $ac_status); }
6236
 
{ (ac_try="$ac_compiler -V >&5"
6237
 
case "(($ac_try" in
6238
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6239
 
  *) ac_try_echo=$ac_try;;
6240
 
esac
6241
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6242
 
  (eval "$ac_compiler -V >&5") 2>&5
6243
 
  ac_status=$?
6244
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6245
 
  (exit $ac_status); }
6246
 
rm -f a.out
6247
 
 
6248
 
# If we don't use `.F' as extension, the preprocessor is not run on the
6249
 
# input file.  (Note that this only needs to work for GNU compilers.)
6250
 
ac_save_ext=$ac_ext
6251
 
ac_ext=F
6252
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6253
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6254
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6255
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6256
 
else
6257
 
  cat >conftest.$ac_ext <<_ACEOF
6258
 
      program main
6259
 
#ifndef __GNUC__
6260
 
       choke me
6261
 
#endif
6262
 
 
6263
 
      end
6264
 
_ACEOF
6265
 
rm -f conftest.$ac_objext
6266
 
if { (ac_try="$ac_compile"
6267
 
case "(($ac_try" in
6268
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6269
 
  *) ac_try_echo=$ac_try;;
6270
 
esac
6271
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6272
 
  (eval "$ac_compile") 2>conftest.er1
6273
 
  ac_status=$?
6274
 
  grep -v '^ *+' conftest.er1 >conftest.err
6275
 
  rm -f conftest.er1
6276
 
  cat conftest.err >&5
6277
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6278
 
  (exit $ac_status); } && {
6279
 
         test -z "$ac_f77_werror_flag" ||
6280
 
         test ! -s conftest.err
6281
 
       } && test -s conftest.$ac_objext; then
6282
 
  ac_compiler_gnu=yes
6283
 
else
6284
 
  echo "$as_me: failed program was:" >&5
6285
 
sed 's/^/| /' conftest.$ac_ext >&5
6286
 
 
6287
 
        ac_compiler_gnu=no
6288
 
fi
6289
 
 
6290
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6291
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6292
 
 
6293
 
fi
6294
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6295
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6296
 
ac_ext=$ac_save_ext
6297
 
ac_test_FFLAGS=${FFLAGS+set}
6298
 
ac_save_FFLAGS=$FFLAGS
6299
 
FFLAGS=
6300
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6301
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6302
 
if test "${ac_cv_prog_f77_g+set}" = set; then
6303
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6304
 
else
6305
 
  FFLAGS=-g
6306
 
cat >conftest.$ac_ext <<_ACEOF
6307
 
      program main
6308
 
 
6309
 
      end
6310
 
_ACEOF
6311
 
rm -f conftest.$ac_objext
6312
 
if { (ac_try="$ac_compile"
6313
 
case "(($ac_try" in
6314
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6315
 
  *) ac_try_echo=$ac_try;;
6316
 
esac
6317
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6318
 
  (eval "$ac_compile") 2>conftest.er1
6319
 
  ac_status=$?
6320
 
  grep -v '^ *+' conftest.er1 >conftest.err
6321
 
  rm -f conftest.er1
6322
 
  cat conftest.err >&5
6323
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6324
 
  (exit $ac_status); } && {
6325
 
         test -z "$ac_f77_werror_flag" ||
6326
 
         test ! -s conftest.err
6327
 
       } && test -s conftest.$ac_objext; then
6328
 
  ac_cv_prog_f77_g=yes
6329
 
else
6330
 
  echo "$as_me: failed program was:" >&5
6331
 
sed 's/^/| /' conftest.$ac_ext >&5
6332
 
 
6333
 
        ac_cv_prog_f77_g=no
6334
 
fi
6335
 
 
6336
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6337
 
 
6338
 
fi
6339
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6340
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6341
 
if test "$ac_test_FFLAGS" = set; then
6342
 
  FFLAGS=$ac_save_FFLAGS
6343
 
elif test $ac_cv_prog_f77_g = yes; then
6344
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6345
 
    FFLAGS="-g -O2"
6346
 
  else
6347
 
    FFLAGS="-g"
6348
 
  fi
6349
 
else
6350
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6351
 
    FFLAGS="-O2"
6352
 
  else
6353
 
    FFLAGS=
6354
 
  fi
6355
 
fi
6356
 
 
6357
 
G77=`test $ac_compiler_gnu = yes && echo yes`
6358
 
ac_ext=c
6359
 
ac_cpp='$CPP $CPPFLAGS'
6360
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6361
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6362
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6363
 
 
6364
 
 
6365
 
 
6366
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6367
 
 
6368
 
# find the maximum length of command line arguments
6369
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6370
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6371
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6372
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6373
 
else
6374
 
    i=0
6375
 
  teststring="ABCD"
6376
 
 
6377
 
  case $build_os in
6378
 
  msdosdjgpp*)
6379
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
6380
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
6381
 
    # during glob expansion).  Even if it were fixed, the result of this
6382
 
    # check would be larger than it should be.
6383
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6384
 
    ;;
6385
 
 
6386
 
  gnu*)
6387
 
    # Under GNU Hurd, this test is not required because there is
6388
 
    # no limit to the length of command line arguments.
6389
 
    # Libtool will interpret -1 as no limit whatsoever
6390
 
    lt_cv_sys_max_cmd_len=-1;
6391
 
    ;;
6392
 
 
6393
 
  cygwin* | mingw*)
6394
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
6395
 
    # about 5 minutes as the teststring grows exponentially.
6396
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
6397
 
    # you end up with a "frozen" computer, even though with patience
6398
 
    # the test eventually succeeds (with a max line length of 256k).
6399
 
    # Instead, let's just punt: use the minimum linelength reported by
6400
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
6401
 
    lt_cv_sys_max_cmd_len=8192;
6402
 
    ;;
6403
 
 
6404
 
  amigaos*)
6405
 
    # On AmigaOS with pdksh, this test takes hours, literally.
6406
 
    # So we just punt and use a minimum line length of 8192.
6407
 
    lt_cv_sys_max_cmd_len=8192;
6408
 
    ;;
6409
 
 
6410
 
 *)
6411
 
    # If test is not a shell built-in, we'll probably end up computing a
6412
 
    # maximum length that is only half of the actual maximum length, but
6413
 
    # we can't tell.
6414
 
    while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6415
 
               = "XX$teststring") >/dev/null 2>&1 &&
6416
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
6417
 
            lt_cv_sys_max_cmd_len=$new_result &&
6418
 
            test $i != 17 # 1/2 MB should be enough
6419
 
    do
6420
 
      i=`expr $i + 1`
6421
 
      teststring=$teststring$teststring
6422
 
    done
6423
 
    teststring=
6424
 
    # Add a significant safety factor because C++ compilers can tack on massive
6425
 
    # amounts of additional arguments before passing them to the linker.
6426
 
    # It appears as though 1/2 is a usable value.
6427
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6428
 
    ;;
6429
 
  esac
6430
 
 
6431
 
fi
6432
 
 
6433
 
if test -n $lt_cv_sys_max_cmd_len ; then
6434
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6435
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6436
 
else
6437
 
  { echo "$as_me:$LINENO: result: none" >&5
6438
 
echo "${ECHO_T}none" >&6; }
6439
 
fi
6440
 
 
6441
 
 
6442
 
 
6443
 
 
6444
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
6445
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6446
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6447
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6448
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6449
 
else
6450
 
  
6451
 
# These are sane defaults that work on at least a few old systems.
6452
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6453
 
 
6454
 
# Character class describing NM global symbol codes.
6455
 
symcode='[BCDEGRST]'
6456
 
 
6457
 
# Regexp to match symbols that can be accessed directly from C.
6458
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6459
 
 
6460
 
# Transform the above into a raw symbol and a C symbol.
6461
 
symxfrm='\1 \2\3 \3'
6462
 
 
6463
 
# Transform an extracted symbol line into a proper C declaration
6464
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6465
 
 
6466
 
# Transform an extracted symbol line into symbol name and symbol address
6467
 
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'"
6468
 
 
6469
 
# Define system-specific variables.
6470
 
case $host_os in
6471
 
aix*)
6472
 
  symcode='[BCDT]'
6473
 
  ;;
6474
 
cygwin* | mingw* | pw32*)
6475
 
  symcode='[ABCDGISTW]'
6476
 
  ;;
6477
 
hpux*) # Its linker distinguishes data from code symbols
6478
 
  if test "$host_cpu" = ia64; then
6479
 
    symcode='[ABCDEGRST]'
6480
 
  fi
6481
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6482
 
  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'"
6483
 
  ;;
6484
 
irix* | nonstopux*)
6485
 
  symcode='[BCDEGRST]'
6486
 
  ;;
6487
 
osf*)
6488
 
  symcode='[BCDEGQRST]'
6489
 
  ;;
6490
 
solaris* | sysv5*)
6491
 
  symcode='[BDRT]'
6492
 
  ;;
6493
 
sysv4)
6494
 
  symcode='[DFNSTU]'
6495
 
  ;;
6496
 
esac
6497
 
 
6498
 
# Handle CRLF in mingw tool chain
6499
 
opt_cr=
6500
 
case $build_os in
6501
 
mingw*)
6502
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6503
 
  ;;
6504
 
esac
6505
 
 
6506
 
# If we're using GNU nm, then use its standard symbol codes.
6507
 
case `$NM -V 2>&1` in
6508
 
*GNU* | *'with BFD'*)
6509
 
  symcode='[ABCDGIRSTW]' ;;
6510
 
esac
6511
 
 
6512
 
# Try without a prefix undercore, then with it.
6513
 
for ac_symprfx in "" "_"; do
6514
 
 
6515
 
  # Write the raw and C identifiers.
6516
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
6517
 
 
6518
 
  # Check to see that the pipe works correctly.
6519
 
  pipe_works=no
6520
 
 
6521
 
  rm -f conftest*
6522
 
  cat > conftest.$ac_ext <<EOF
6523
 
#ifdef __cplusplus
6524
 
extern "C" {
6525
 
#endif
6526
 
char nm_test_var;
6527
 
void nm_test_func(){}
6528
 
#ifdef __cplusplus
6529
 
}
6530
 
#endif
6531
 
int main(){nm_test_var='a';nm_test_func();return(0);}
6532
 
EOF
6533
 
 
6534
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6535
 
  (eval $ac_compile) 2>&5
6536
 
  ac_status=$?
6537
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6538
 
  (exit $ac_status); }; then
6539
 
    # Now try to grab the symbols.
6540
 
    nlist=conftest.nm
6541
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6542
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6543
 
  ac_status=$?
6544
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545
 
  (exit $ac_status); } && test -s "$nlist"; then
6546
 
      # Try sorting and uniquifying the output.
6547
 
      if sort "$nlist" | uniq > "$nlist"T; then
6548
 
        mv -f "$nlist"T "$nlist"
6549
 
      else
6550
 
        rm -f "$nlist"T
6551
 
      fi
6552
 
 
6553
 
      # Make sure that we snagged all the symbols we need.
6554
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
6555
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
6556
 
          cat <<EOF > conftest.$ac_ext
6557
 
#ifdef __cplusplus
6558
 
extern "C" {
6559
 
#endif
6560
 
 
6561
 
EOF
6562
 
          # Now generate the symbol file.
6563
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6564
 
 
6565
 
          cat <<EOF >> conftest.$ac_ext
6566
 
#if defined (__STDC__) && __STDC__
6567
 
# define lt_ptr_t void *
6568
 
#else
6569
 
# define lt_ptr_t char *
6570
 
# define const
6571
 
#endif
6572
 
 
6573
 
/* The mapping between symbol names and symbols. */
6574
 
const struct {
6575
 
  const char *name;
6576
 
  lt_ptr_t address;
6577
 
}
6578
 
lt_preloaded_symbols[] =
6579
 
{
6580
 
EOF
6581
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6582
 
          cat <<\EOF >> conftest.$ac_ext
6583
 
  {0, (lt_ptr_t) 0}
6584
 
};
6585
 
 
6586
 
#ifdef __cplusplus
6587
 
}
6588
 
#endif
6589
 
EOF
6590
 
          # Now try linking the two files.
6591
 
          mv conftest.$ac_objext conftstm.$ac_objext
6592
 
          lt_save_LIBS="$LIBS"
6593
 
          lt_save_CFLAGS="$CFLAGS"
6594
 
          LIBS="conftstm.$ac_objext"
6595
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6596
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6597
 
  (eval $ac_link) 2>&5
6598
 
  ac_status=$?
6599
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6600
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
6601
 
            pipe_works=yes
6602
 
          fi
6603
 
          LIBS="$lt_save_LIBS"
6604
 
          CFLAGS="$lt_save_CFLAGS"
6605
 
        else
6606
 
          echo "cannot find nm_test_func in $nlist" >&5
6607
 
        fi
6608
 
      else
6609
 
        echo "cannot find nm_test_var in $nlist" >&5
6610
 
      fi
6611
 
    else
6612
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6613
 
    fi
6614
 
  else
6615
 
    echo "$progname: failed program was:" >&5
6616
 
    cat conftest.$ac_ext >&5
6617
 
  fi
6618
 
  rm -f conftest* conftst*
6619
 
 
6620
 
  # Do not use the global_symbol_pipe unless it works.
6621
 
  if test "$pipe_works" = yes; then
6622
 
    break
6623
 
  else
6624
 
    lt_cv_sys_global_symbol_pipe=
6625
 
  fi
6626
 
done
6627
 
 
6628
 
fi
6629
 
 
6630
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6631
 
  lt_cv_sys_global_symbol_to_cdecl=
6632
 
fi
6633
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6634
 
  { echo "$as_me:$LINENO: result: failed" >&5
6635
 
echo "${ECHO_T}failed" >&6; }
6636
 
else
6637
 
  { echo "$as_me:$LINENO: result: ok" >&5
6638
 
echo "${ECHO_T}ok" >&6; }
6639
 
fi
6640
 
 
6641
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
6642
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6643
 
if test "${lt_cv_objdir+set}" = set; then
6644
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6645
 
else
6646
 
  rm -f .libs 2>/dev/null
6647
 
mkdir .libs 2>/dev/null
6648
 
if test -d .libs; then
6649
 
  lt_cv_objdir=.libs
6650
 
else
6651
 
  # MS-DOS does not allow filenames that begin with a dot.
6652
 
  lt_cv_objdir=_libs
6653
 
fi
6654
 
rmdir .libs 2>/dev/null
6655
 
fi
6656
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6657
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
6658
 
objdir=$lt_cv_objdir
6659
 
 
6660
 
 
6661
 
 
6662
 
 
6663
 
 
6664
 
case $host_os in
6665
 
aix3*)
6666
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
6667
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
6668
 
  # vanish in a puff of smoke.
6669
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
6670
 
    COLLECT_NAMES=
6671
 
    export COLLECT_NAMES
6672
 
  fi
6673
 
  ;;
6674
 
esac
6675
 
 
6676
 
# Sed substitution that helps us do robust quoting.  It backslashifies
6677
 
# metacharacters that are still active within double-quoted strings.
6678
 
Xsed='sed -e s/^X//'
6679
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
6680
 
 
6681
 
# Same as above, but do not quote variable references.
6682
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
6683
 
 
6684
 
# Sed substitution to delay expansion of an escaped shell variable in a
6685
 
# double_quote_subst'ed string.
6686
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6687
 
 
6688
 
# Sed substitution to avoid accidental globbing in evaled expressions
6689
 
no_glob_subst='s/\*/\\\*/g'
6690
 
 
6691
 
# Constants:
6692
 
rm="rm -f"
6693
 
 
6694
 
# Global variables:
6695
 
default_ofile=libtool
6696
 
can_build_shared=yes
6697
 
 
6698
 
# All known linkers require a `.a' archive for static linking (except M$VC,
6699
 
# which needs '.lib').
6700
 
libext=a
6701
 
ltmain="$ac_aux_dir/ltmain.sh"
6702
 
ofile="$default_ofile"
6703
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
6704
 
 
6705
 
if test -n "$ac_tool_prefix"; then
6706
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6707
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
6708
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6709
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6710
 
if test "${ac_cv_prog_AR+set}" = set; then
6711
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6712
 
else
6713
 
  if test -n "$AR"; then
6714
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
6715
 
else
6716
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6717
 
for as_dir in $PATH
6718
 
do
6719
 
  IFS=$as_save_IFS
6720
 
  test -z "$as_dir" && as_dir=.
6721
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6722
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6723
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6724
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6725
 
    break 2
6726
 
  fi
6727
 
done
6728
 
done
6729
 
IFS=$as_save_IFS
6730
 
 
6731
 
fi
6732
 
fi
6733
 
AR=$ac_cv_prog_AR
6734
 
if test -n "$AR"; then
6735
 
  { echo "$as_me:$LINENO: result: $AR" >&5
6736
 
echo "${ECHO_T}$AR" >&6; }
6737
 
else
6738
 
  { echo "$as_me:$LINENO: result: no" >&5
6739
 
echo "${ECHO_T}no" >&6; }
6740
 
fi
6741
 
 
6742
 
 
6743
 
fi
6744
 
if test -z "$ac_cv_prog_AR"; then
6745
 
  ac_ct_AR=$AR
6746
 
  # Extract the first word of "ar", so it can be a program name with args.
6747
 
set dummy ar; ac_word=$2
6748
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6749
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6750
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6751
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6752
 
else
6753
 
  if test -n "$ac_ct_AR"; then
6754
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6755
 
else
6756
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6757
 
for as_dir in $PATH
6758
 
do
6759
 
  IFS=$as_save_IFS
6760
 
  test -z "$as_dir" && as_dir=.
6761
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6762
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6763
 
    ac_cv_prog_ac_ct_AR="ar"
6764
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6765
 
    break 2
6766
 
  fi
6767
 
done
6768
 
done
6769
 
IFS=$as_save_IFS
6770
 
 
6771
 
fi
6772
 
fi
6773
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6774
 
if test -n "$ac_ct_AR"; then
6775
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6776
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
6777
 
else
6778
 
  { echo "$as_me:$LINENO: result: no" >&5
6779
 
echo "${ECHO_T}no" >&6; }
6780
 
fi
6781
 
 
6782
 
  if test "x$ac_ct_AR" = x; then
6783
 
    AR="false"
6784
 
  else
6785
 
    case $cross_compiling:$ac_tool_warned in
6786
 
yes:)
6787
 
{ echo "$as_me:$LINENO: 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." >&5
6790
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6791
 
whose name does not start with the host triplet.  If you think this
6792
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6793
 
ac_tool_warned=yes ;;
6794
 
esac
6795
 
    AR=$ac_ct_AR
6796
 
  fi
6797
 
else
6798
 
  AR="$ac_cv_prog_AR"
6799
 
fi
6800
 
 
6801
 
if test -n "$ac_tool_prefix"; then
6802
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6803
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6804
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6805
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6806
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
6807
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6808
 
else
6809
 
  if test -n "$RANLIB"; then
6810
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6811
 
else
6812
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6813
 
for as_dir in $PATH
6814
 
do
6815
 
  IFS=$as_save_IFS
6816
 
  test -z "$as_dir" && as_dir=.
6817
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6818
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6819
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6820
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6821
 
    break 2
6822
 
  fi
6823
 
done
6824
 
done
6825
 
IFS=$as_save_IFS
6826
 
 
6827
 
fi
6828
 
fi
6829
 
RANLIB=$ac_cv_prog_RANLIB
6830
 
if test -n "$RANLIB"; then
6831
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
6832
 
echo "${ECHO_T}$RANLIB" >&6; }
6833
 
else
6834
 
  { echo "$as_me:$LINENO: result: no" >&5
6835
 
echo "${ECHO_T}no" >&6; }
6836
 
fi
6837
 
 
6838
 
 
6839
 
fi
6840
 
if test -z "$ac_cv_prog_RANLIB"; then
6841
 
  ac_ct_RANLIB=$RANLIB
6842
 
  # Extract the first word of "ranlib", so it can be a program name with args.
6843
 
set dummy ranlib; ac_word=$2
6844
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6845
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6846
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6847
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6848
 
else
6849
 
  if test -n "$ac_ct_RANLIB"; then
6850
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6851
 
else
6852
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6853
 
for as_dir in $PATH
6854
 
do
6855
 
  IFS=$as_save_IFS
6856
 
  test -z "$as_dir" && as_dir=.
6857
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6858
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6859
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6860
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6861
 
    break 2
6862
 
  fi
6863
 
done
6864
 
done
6865
 
IFS=$as_save_IFS
6866
 
 
6867
 
fi
6868
 
fi
6869
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6870
 
if test -n "$ac_ct_RANLIB"; then
6871
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6872
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6873
 
else
6874
 
  { echo "$as_me:$LINENO: result: no" >&5
6875
 
echo "${ECHO_T}no" >&6; }
6876
 
fi
6877
 
 
6878
 
  if test "x$ac_ct_RANLIB" = x; then
6879
 
    RANLIB=":"
6880
 
  else
6881
 
    case $cross_compiling:$ac_tool_warned in
6882
 
yes:)
6883
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6884
 
whose name does not start with the host triplet.  If you think this
6885
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6886
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6887
 
whose name does not start with the host triplet.  If you think this
6888
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6889
 
ac_tool_warned=yes ;;
6890
 
esac
6891
 
    RANLIB=$ac_ct_RANLIB
6892
 
  fi
6893
 
else
6894
 
  RANLIB="$ac_cv_prog_RANLIB"
6895
 
fi
6896
 
 
6897
 
if test -n "$ac_tool_prefix"; then
6898
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6899
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
6900
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6901
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6902
 
if test "${ac_cv_prog_STRIP+set}" = set; then
6903
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6904
 
else
6905
 
  if test -n "$STRIP"; then
6906
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6907
 
else
6908
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6909
 
for as_dir in $PATH
6910
 
do
6911
 
  IFS=$as_save_IFS
6912
 
  test -z "$as_dir" && as_dir=.
6913
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6914
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6915
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6916
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6917
 
    break 2
6918
 
  fi
6919
 
done
6920
 
done
6921
 
IFS=$as_save_IFS
6922
 
 
6923
 
fi
6924
 
fi
6925
 
STRIP=$ac_cv_prog_STRIP
6926
 
if test -n "$STRIP"; then
6927
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
6928
 
echo "${ECHO_T}$STRIP" >&6; }
6929
 
else
6930
 
  { echo "$as_me:$LINENO: result: no" >&5
6931
 
echo "${ECHO_T}no" >&6; }
6932
 
fi
6933
 
 
6934
 
 
6935
 
fi
6936
 
if test -z "$ac_cv_prog_STRIP"; then
6937
 
  ac_ct_STRIP=$STRIP
6938
 
  # Extract the first word of "strip", so it can be a program name with args.
6939
 
set dummy strip; ac_word=$2
6940
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6941
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6942
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6943
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6944
 
else
6945
 
  if test -n "$ac_ct_STRIP"; then
6946
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6947
 
else
6948
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6949
 
for as_dir in $PATH
6950
 
do
6951
 
  IFS=$as_save_IFS
6952
 
  test -z "$as_dir" && as_dir=.
6953
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6954
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6955
 
    ac_cv_prog_ac_ct_STRIP="strip"
6956
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6957
 
    break 2
6958
 
  fi
6959
 
done
6960
 
done
6961
 
IFS=$as_save_IFS
6962
 
 
6963
 
fi
6964
 
fi
6965
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6966
 
if test -n "$ac_ct_STRIP"; then
6967
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6968
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6969
 
else
6970
 
  { echo "$as_me:$LINENO: result: no" >&5
6971
 
echo "${ECHO_T}no" >&6; }
6972
 
fi
6973
 
 
6974
 
  if test "x$ac_ct_STRIP" = x; then
6975
 
    STRIP=":"
6976
 
  else
6977
 
    case $cross_compiling:$ac_tool_warned in
6978
 
yes:)
6979
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6980
 
whose name does not start with the host triplet.  If you think this
6981
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6982
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6983
 
whose name does not start with the host triplet.  If you think this
6984
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6985
 
ac_tool_warned=yes ;;
6986
 
esac
6987
 
    STRIP=$ac_ct_STRIP
6988
 
  fi
6989
 
else
6990
 
  STRIP="$ac_cv_prog_STRIP"
6991
 
fi
6992
 
 
6993
 
 
6994
 
old_CC="$CC"
6995
 
old_CFLAGS="$CFLAGS"
6996
 
 
6997
 
# Set sane defaults for various variables
6998
 
test -z "$AR" && AR=ar
6999
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
7000
 
test -z "$AS" && AS=as
7001
 
test -z "$CC" && CC=cc
7002
 
test -z "$LTCC" && LTCC=$CC
7003
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
7004
 
test -z "$LD" && LD=ld
7005
 
test -z "$LN_S" && LN_S="ln -s"
7006
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7007
 
test -z "$NM" && NM=nm
7008
 
test -z "$SED" && SED=sed
7009
 
test -z "$OBJDUMP" && OBJDUMP=objdump
7010
 
test -z "$RANLIB" && RANLIB=:
7011
 
test -z "$STRIP" && STRIP=:
7012
 
test -z "$ac_objext" && ac_objext=o
7013
 
 
7014
 
# Determine commands to create old-style static archives.
7015
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
7016
 
old_postinstall_cmds='chmod 644 $oldlib'
7017
 
old_postuninstall_cmds=
7018
 
 
7019
 
if test -n "$RANLIB"; then
7020
 
  case $host_os in
7021
 
  openbsd*)
7022
 
    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
7023
 
    ;;
7024
 
  *)
7025
 
    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
7026
 
    ;;
7027
 
  esac
7028
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7029
 
fi
7030
 
 
7031
 
# Only perform the check for file, if the check method requires it
7032
 
case $deplibs_check_method in
7033
 
file_magic*)
7034
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7035
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7036
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7037
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7038
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7039
 
else
7040
 
  case $MAGIC_CMD in
7041
 
[\\/*] |  ?:[\\/]*)
7042
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7043
 
  ;;
7044
 
*)
7045
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7046
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7047
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7048
 
  for ac_dir in $ac_dummy; do
7049
 
    IFS="$lt_save_ifs"
7050
 
    test -z "$ac_dir" && ac_dir=.
7051
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
7052
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7053
 
      if test -n "$file_magic_test_file"; then
7054
 
        case $deplibs_check_method in
7055
 
        "file_magic "*)
7056
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
7057
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7058
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7059
 
            $EGREP "$file_magic_regex" > /dev/null; then
7060
 
            :
7061
 
          else
7062
 
            cat <<EOF 1>&2
7063
 
 
7064
 
*** Warning: the command libtool uses to detect shared libraries,
7065
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7066
 
*** The result is that libtool may fail to recognize shared libraries
7067
 
*** as such.  This will affect the creation of libtool libraries that
7068
 
*** depend on shared libraries, but programs linked with such libtool
7069
 
*** libraries will work regardless of this problem.  Nevertheless, you
7070
 
*** may want to report the problem to your system manager and/or to
7071
 
*** bug-libtool@gnu.org
7072
 
 
7073
 
EOF
7074
 
          fi ;;
7075
 
        esac
7076
 
      fi
7077
 
      break
7078
 
    fi
7079
 
  done
7080
 
  IFS="$lt_save_ifs"
7081
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7082
 
  ;;
7083
 
esac
7084
 
fi
7085
 
 
7086
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7087
 
if test -n "$MAGIC_CMD"; then
7088
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7089
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
7090
 
else
7091
 
  { echo "$as_me:$LINENO: result: no" >&5
7092
 
echo "${ECHO_T}no" >&6; }
7093
 
fi
7094
 
 
7095
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
7096
 
  if test -n "$ac_tool_prefix"; then
7097
 
    { echo "$as_me:$LINENO: checking for file" >&5
7098
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7099
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7100
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7101
 
else
7102
 
  case $MAGIC_CMD in
7103
 
[\\/*] |  ?:[\\/]*)
7104
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7105
 
  ;;
7106
 
*)
7107
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7108
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7109
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7110
 
  for ac_dir in $ac_dummy; do
7111
 
    IFS="$lt_save_ifs"
7112
 
    test -z "$ac_dir" && ac_dir=.
7113
 
    if test -f $ac_dir/file; then
7114
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7115
 
      if test -n "$file_magic_test_file"; then
7116
 
        case $deplibs_check_method in
7117
 
        "file_magic "*)
7118
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
7119
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7120
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7121
 
            $EGREP "$file_magic_regex" > /dev/null; then
7122
 
            :
7123
 
          else
7124
 
            cat <<EOF 1>&2
7125
 
 
7126
 
*** Warning: the command libtool uses to detect shared libraries,
7127
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7128
 
*** The result is that libtool may fail to recognize shared libraries
7129
 
*** as such.  This will affect the creation of libtool libraries that
7130
 
*** depend on shared libraries, but programs linked with such libtool
7131
 
*** libraries will work regardless of this problem.  Nevertheless, you
7132
 
*** may want to report the problem to your system manager and/or to
7133
 
*** bug-libtool@gnu.org
7134
 
 
7135
 
EOF
7136
 
          fi ;;
7137
 
        esac
7138
 
      fi
7139
 
      break
7140
 
    fi
7141
 
  done
7142
 
  IFS="$lt_save_ifs"
7143
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7144
 
  ;;
7145
 
esac
7146
 
fi
7147
 
 
7148
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7149
 
if test -n "$MAGIC_CMD"; then
7150
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7151
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
7152
 
else
7153
 
  { echo "$as_me:$LINENO: result: no" >&5
7154
 
echo "${ECHO_T}no" >&6; }
7155
 
fi
7156
 
 
7157
 
  else
7158
 
    MAGIC_CMD=:
7159
 
  fi
7160
 
fi
7161
 
 
7162
 
  fi
7163
 
  ;;
7164
 
esac
7165
 
 
7166
 
enable_dlopen=no
7167
 
enable_win32_dll=no
7168
 
 
7169
 
# Check whether --enable-libtool-lock was given.
7170
 
if test "${enable_libtool_lock+set}" = set; then
7171
 
  enableval=$enable_libtool_lock; 
7172
 
fi
7173
 
 
7174
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7175
 
 
7176
 
 
7177
 
# Check whether --with-pic was given.
7178
 
if test "${with_pic+set}" = set; then
7179
 
  withval=$with_pic; pic_mode="$withval"
7180
 
else
7181
 
  pic_mode=default
7182
 
fi
7183
 
 
7184
 
test -z "$pic_mode" && pic_mode=default
7185
 
 
7186
 
# Use C for the default configuration in the libtool script
7187
 
tagname=
7188
 
lt_save_CC="$CC"
7189
 
ac_ext=c
7190
 
ac_cpp='$CPP $CPPFLAGS'
7191
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7192
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7193
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7194
 
 
7195
 
 
7196
 
# Source file extension for C test sources.
7197
 
ac_ext=c
7198
 
 
7199
 
# Object file extension for compiled C test sources.
7200
 
objext=o
7201
 
objext=$objext
7202
 
 
7203
 
# Code to be used in simple compile tests
7204
 
lt_simple_compile_test_code="int some_variable = 0;\n"
7205
 
 
7206
 
# Code to be used in simple link tests
7207
 
lt_simple_link_test_code='int main(){return(0);}\n'
7208
 
 
7209
 
 
7210
 
# If no C compiler was specified, use CC.
7211
 
LTCC=${LTCC-"$CC"}
7212
 
 
7213
 
# Allow CC to be a program name with arguments.
7214
 
compiler=$CC
7215
 
 
7216
 
 
7217
 
#
7218
 
# Check for any special shared library compilation flags.
7219
 
#
7220
 
lt_prog_cc_shlib=
7221
 
if test "$GCC" = no; then
7222
 
  case $host_os in
7223
 
  sco3.2v5*)
7224
 
    lt_prog_cc_shlib='-belf'
7225
 
    ;;
7226
 
  esac
7227
 
fi
7228
 
if test -n "$lt_prog_cc_shlib"; then
7229
 
  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
7230
 
echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
7231
 
  if echo "$old_CC $old_CFLAGS " | grep "[      ]$lt_prog_cc_shlib[     ]" >/dev/null; then :
7232
 
  else
7233
 
    { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
7234
 
echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
7235
 
    lt_cv_prog_cc_can_build_shared=no
7236
 
  fi
7237
 
fi
7238
 
 
7239
 
 
7240
 
#
7241
 
# Check to make sure the static flag actually works.
7242
 
#
7243
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
7244
 
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6; }
7245
 
if test "${lt_prog_compiler_static_works+set}" = set; then
7246
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7247
 
else
7248
 
  lt_prog_compiler_static_works=no
7249
 
   save_LDFLAGS="$LDFLAGS"
7250
 
   LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
7251
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
7252
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7253
 
     # The compiler can only warn and ignore the option if not recognized
7254
 
     # So say no if there are warnings
7255
 
     if test -s conftest.err; then
7256
 
       # Append any errors to the config.log.
7257
 
       cat conftest.err 1>&5
7258
 
     else
7259
 
       lt_prog_compiler_static_works=yes
7260
 
     fi
7261
 
   fi
7262
 
   $rm conftest*
7263
 
   LDFLAGS="$save_LDFLAGS"
7264
 
 
7265
 
fi
7266
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7267
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7268
 
 
7269
 
if test x"$lt_prog_compiler_static_works" = xyes; then
7270
 
    :
7271
 
else
7272
 
    lt_prog_compiler_static=
7273
 
fi
7274
 
 
7275
 
 
7276
 
 
7277
 
 
7278
 
lt_prog_compiler_no_builtin_flag=
7279
 
 
7280
 
if test "$GCC" = yes; then
7281
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7282
 
 
7283
 
  
7284
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7285
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7286
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7287
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7288
 
else
7289
 
  lt_cv_prog_compiler_rtti_exceptions=no
7290
 
  ac_outfile=conftest.$ac_objext
7291
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7292
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
7293
 
   # Insert the option either (1) after the last *FLAGS variable, or
7294
 
   # (2) before a word containing "conftest.", or (3) at the end.
7295
 
   # Note that $ac_compile itself does not contain backslashes and begins
7296
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7297
 
   # The option is referenced via a variable to avoid confusing sed.
7298
 
   lt_compile=`echo "$ac_compile" | $SED \
7299
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7300
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7301
 
   -e 's:$: $lt_compiler_flag:'`
7302
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7303
 
   (eval "$lt_compile" 2>conftest.err)
7304
 
   ac_status=$?
7305
 
   cat conftest.err >&5
7306
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
7307
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
7308
 
     # The compiler can only warn and ignore the option if not recognized
7309
 
     # So say no if there are warnings
7310
 
     if test ! -s conftest.err; then
7311
 
       lt_cv_prog_compiler_rtti_exceptions=yes
7312
 
     fi
7313
 
   fi
7314
 
   $rm conftest*
7315
 
 
7316
 
fi
7317
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7318
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7319
 
 
7320
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7321
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7322
 
else
7323
 
    :
7324
 
fi
7325
 
 
7326
 
fi
7327
 
 
7328
 
lt_prog_compiler_wl=
7329
 
lt_prog_compiler_pic=
7330
 
lt_prog_compiler_static=
7331
 
 
7332
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7333
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7334
 
 
7335
 
  if test "$GCC" = yes; then
7336
 
    lt_prog_compiler_wl='-Wl,'
7337
 
    lt_prog_compiler_static='-static'
7338
 
 
7339
 
    case $host_os in
7340
 
      aix*)
7341
 
      # All AIX code is PIC.
7342
 
      if test "$host_cpu" = ia64; then
7343
 
        # AIX 5 now supports IA64 processor
7344
 
        lt_prog_compiler_static='-Bstatic'
7345
 
      fi
7346
 
      ;;
7347
 
 
7348
 
    amigaos*)
7349
 
      # FIXME: we need at least 68020 code to build shared libraries, but
7350
 
      # adding the `-m68020' flag to GCC prevents building anything better,
7351
 
      # like `-m68040'.
7352
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7353
 
      ;;
7354
 
 
7355
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7356
 
      # PIC is the default for these OSes.
7357
 
      ;;
7358
 
 
7359
 
    mingw* | pw32* | os2*)
7360
 
      # This hack is so that the source file can tell whether it is being
7361
 
      # built for inclusion in a dll (and should export symbols for example).
7362
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
7363
 
      ;;
7364
 
 
7365
 
    darwin* | rhapsody*)
7366
 
      # PIC is the default on this platform
7367
 
      # Common symbols not allowed in MH_DYLIB files
7368
 
      lt_prog_compiler_pic='-fno-common'
7369
 
      ;;
7370
 
 
7371
 
    msdosdjgpp*)
7372
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
7373
 
      # on systems that don't support them.
7374
 
      lt_prog_compiler_can_build_shared=no
7375
 
      enable_shared=no
7376
 
      ;;
7377
 
 
7378
 
    sysv4*MP*)
7379
 
      if test -d /usr/nec; then
7380
 
        lt_prog_compiler_pic=-Kconform_pic
7381
 
      fi
7382
 
      ;;
7383
 
 
7384
 
    hpux*)
7385
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7386
 
      # not for PA HP-UX.
7387
 
      case "$host_cpu" in
7388
 
      hppa*64*|ia64*)
7389
 
        # +Z the default
7390
 
        ;;
7391
 
      *)
7392
 
        lt_prog_compiler_pic='-fPIC'
7393
 
        ;;
7394
 
      esac
7395
 
      ;;
7396
 
 
7397
 
    *)
7398
 
      lt_prog_compiler_pic='-fPIC'
7399
 
      ;;
7400
 
    esac
7401
 
  else
7402
 
    # PORTME Check for flag to pass linker flags through the system compiler.
7403
 
    case $host_os in
7404
 
    aix*)
7405
 
      lt_prog_compiler_wl='-Wl,'
7406
 
      if test "$host_cpu" = ia64; then
7407
 
        # AIX 5 now supports IA64 processor
7408
 
        lt_prog_compiler_static='-Bstatic'
7409
 
      else
7410
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7411
 
      fi
7412
 
      ;;
7413
 
 
7414
 
    mingw* | pw32* | os2*)
7415
 
      # This hack is so that the source file can tell whether it is being
7416
 
      # built for inclusion in a dll (and should export symbols for example).
7417
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
7418
 
      ;;
7419
 
 
7420
 
    hpux9* | hpux10* | hpux11*)
7421
 
      lt_prog_compiler_wl='-Wl,'
7422
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7423
 
      # not for PA HP-UX.
7424
 
      case "$host_cpu" in
7425
 
      hppa*64*|ia64*)
7426
 
        # +Z the default
7427
 
        ;;
7428
 
      *)
7429
 
        lt_prog_compiler_pic='+Z'
7430
 
        ;;
7431
 
      esac
7432
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
7433
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
7434
 
      ;;
7435
 
 
7436
 
    irix5* | irix6* | nonstopux*)
7437
 
      lt_prog_compiler_wl='-Wl,'
7438
 
      # PIC (with -KPIC) is the default.
7439
 
      lt_prog_compiler_static='-non_shared'
7440
 
      ;;
7441
 
 
7442
 
    newsos6)
7443
 
      lt_prog_compiler_pic='-KPIC'
7444
 
      lt_prog_compiler_static='-Bstatic'
7445
 
      ;;
7446
 
 
7447
 
    linux*)
7448
 
      case $CC in
7449
 
      icc* | ecc*)
7450
 
        lt_prog_compiler_wl='-Wl,'
7451
 
        lt_prog_compiler_pic='-KPIC'
7452
 
        lt_prog_compiler_static='-static'
7453
 
        ;;
7454
 
      ccc*)
7455
 
        lt_prog_compiler_wl='-Wl,'
7456
 
        # All Alpha code is PIC.
7457
 
        lt_prog_compiler_static='-non_shared'
7458
 
        ;;
7459
 
      esac
7460
 
      ;;
7461
 
 
7462
 
    osf3* | osf4* | osf5*)
7463
 
      lt_prog_compiler_wl='-Wl,'
7464
 
      # All OSF/1 code is PIC.
7465
 
      lt_prog_compiler_static='-non_shared'
7466
 
      ;;
7467
 
 
7468
 
    sco3.2v5*)
7469
 
      lt_prog_compiler_pic='-Kpic'
7470
 
      lt_prog_compiler_static='-dn'
7471
 
      ;;
7472
 
 
7473
 
    solaris*)
7474
 
      lt_prog_compiler_wl='-Wl,'
7475
 
      lt_prog_compiler_pic='-KPIC'
7476
 
      lt_prog_compiler_static='-Bstatic'
7477
 
      ;;
7478
 
 
7479
 
    sunos4*)
7480
 
      lt_prog_compiler_wl='-Qoption ld '
7481
 
      lt_prog_compiler_pic='-PIC'
7482
 
      lt_prog_compiler_static='-Bstatic'
7483
 
      ;;
7484
 
 
7485
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7486
 
      lt_prog_compiler_wl='-Wl,'
7487
 
      lt_prog_compiler_pic='-KPIC'
7488
 
      lt_prog_compiler_static='-Bstatic'
7489
 
      ;;
7490
 
 
7491
 
    sysv4*MP*)
7492
 
      if test -d /usr/nec ;then
7493
 
        lt_prog_compiler_pic='-Kconform_pic'
7494
 
        lt_prog_compiler_static='-Bstatic'
7495
 
      fi
7496
 
      ;;
7497
 
 
7498
 
    uts4*)
7499
 
      lt_prog_compiler_pic='-pic'
7500
 
      lt_prog_compiler_static='-Bstatic'
7501
 
      ;;
7502
 
 
7503
 
    *)
7504
 
      lt_prog_compiler_can_build_shared=no
7505
 
      ;;
7506
 
    esac
7507
 
  fi
7508
 
 
7509
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7510
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7511
 
 
7512
 
#
7513
 
# Check to make sure the PIC flag actually works.
7514
 
#
7515
 
if test -n "$lt_prog_compiler_pic"; then
7516
 
  
7517
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7518
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7519
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
7520
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7521
 
else
7522
 
  lt_prog_compiler_pic_works=no
7523
 
  ac_outfile=conftest.$ac_objext
7524
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7525
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7526
 
   # Insert the option either (1) after the last *FLAGS variable, or
7527
 
   # (2) before a word containing "conftest.", or (3) at the end.
7528
 
   # Note that $ac_compile itself does not contain backslashes and begins
7529
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7530
 
   # The option is referenced via a variable to avoid confusing sed.
7531
 
   lt_compile=`echo "$ac_compile" | $SED \
7532
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7533
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7534
 
   -e 's:$: $lt_compiler_flag:'`
7535
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7536
 
   (eval "$lt_compile" 2>conftest.err)
7537
 
   ac_status=$?
7538
 
   cat conftest.err >&5
7539
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
7540
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
7541
 
     # The compiler can only warn and ignore the option if not recognized
7542
 
     # So say no if there are warnings
7543
 
     if test ! -s conftest.err; then
7544
 
       lt_prog_compiler_pic_works=yes
7545
 
     fi
7546
 
   fi
7547
 
   $rm conftest*
7548
 
 
7549
 
fi
7550
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7551
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7552
 
 
7553
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
7554
 
    case $lt_prog_compiler_pic in
7555
 
     "" | " "*) ;;
7556
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7557
 
     esac
7558
 
else
7559
 
    lt_prog_compiler_pic=
7560
 
     lt_prog_compiler_can_build_shared=no
7561
 
fi
7562
 
 
7563
 
fi
7564
 
case "$host_os" in
7565
 
  # For platforms which do not support PIC, -DPIC is meaningless:
7566
 
  *djgpp*)
7567
 
    lt_prog_compiler_pic=
7568
 
    ;;
7569
 
  *)
7570
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7571
 
    ;;
7572
 
esac
7573
 
 
7574
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7575
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7576
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7577
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7578
 
else
7579
 
  lt_cv_prog_compiler_c_o=no
7580
 
   $rm -r conftest 2>/dev/null
7581
 
   mkdir conftest
7582
 
   cd conftest
7583
 
   mkdir out
7584
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7585
 
 
7586
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7587
 
   # Insert the option either (1) after the last *FLAGS variable, or
7588
 
   # (2) before a word containing "conftest.", or (3) at the end.
7589
 
   # Note that $ac_compile itself does not contain backslashes and begins
7590
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7591
 
   lt_compile=`echo "$ac_compile" | $SED \
7592
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7593
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7594
 
   -e 's:$: $lt_compiler_flag:'`
7595
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7596
 
   (eval "$lt_compile" 2>out/conftest.err)
7597
 
   ac_status=$?
7598
 
   cat out/conftest.err >&5
7599
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
7600
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7601
 
   then
7602
 
     # The compiler can only warn and ignore the option if not recognized
7603
 
     # So say no if there are warnings
7604
 
     if test ! -s out/conftest.err; then
7605
 
       lt_cv_prog_compiler_c_o=yes
7606
 
     fi
7607
 
   fi
7608
 
   chmod u+w .
7609
 
   $rm conftest*
7610
 
   # SGI C++ compiler will create directory out/ii_files/ for
7611
 
   # template instantiation
7612
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
7613
 
   $rm out/* && rmdir out
7614
 
   cd ..
7615
 
   rmdir conftest
7616
 
   $rm conftest*
7617
 
 
7618
 
fi
7619
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7620
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7621
 
 
7622
 
 
7623
 
hard_links="nottested"
7624
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7625
 
  # do not overwrite the value of need_locks provided by the user
7626
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7627
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7628
 
  hard_links=yes
7629
 
  $rm conftest*
7630
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7631
 
  touch conftest.a
7632
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
7633
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7634
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
7635
 
echo "${ECHO_T}$hard_links" >&6; }
7636
 
  if test "$hard_links" = no; then
7637
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7638
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7639
 
    need_locks=warn
7640
 
  fi
7641
 
else
7642
 
  need_locks=no
7643
 
fi
7644
 
 
7645
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7646
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7647
 
 
7648
 
  runpath_var=
7649
 
  allow_undefined_flag=
7650
 
  enable_shared_with_static_runtimes=no
7651
 
  archive_cmds=
7652
 
  archive_expsym_cmds=
7653
 
  old_archive_From_new_cmds=
7654
 
  old_archive_from_expsyms_cmds=
7655
 
  export_dynamic_flag_spec=
7656
 
  whole_archive_flag_spec=
7657
 
  thread_safe_flag_spec=
7658
 
  hardcode_libdir_flag_spec=
7659
 
  hardcode_libdir_flag_spec_ld=
7660
 
  hardcode_libdir_separator=
7661
 
  hardcode_direct=no
7662
 
  hardcode_minus_L=no
7663
 
  hardcode_shlibpath_var=unsupported
7664
 
  link_all_deplibs=unknown
7665
 
  hardcode_automatic=no
7666
 
  module_cmds=
7667
 
  module_expsym_cmds=
7668
 
  always_export_symbols=no
7669
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7670
 
  # include_expsyms should be a list of space-separated symbols to be *always*
7671
 
  # included in the symbol list
7672
 
  include_expsyms=
7673
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
7674
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
7675
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7676
 
  # as well as any symbol that contains `d'.
7677
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7678
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7679
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
7680
 
  # the symbol is explicitly referenced.  Since portable code cannot
7681
 
  # rely on this symbol name, it's probably fine to never include it in
7682
 
  # preloaded symbol tables.
7683
 
  extract_expsyms_cmds=
7684
 
 
7685
 
  case $host_os in
7686
 
  cygwin* | mingw* | pw32*)
7687
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
7688
 
    # When not using gcc, we currently assume that we are using
7689
 
    # Microsoft Visual C++.
7690
 
    if test "$GCC" != yes; then
7691
 
      with_gnu_ld=no
7692
 
    fi
7693
 
    ;;
7694
 
  openbsd*)
7695
 
    with_gnu_ld=no
7696
 
    ;;
7697
 
  esac
7698
 
 
7699
 
  ld_shlibs=yes
7700
 
  if test "$with_gnu_ld" = yes; then
7701
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
7702
 
    wlarc='${wl}'
7703
 
 
7704
 
    # See if GNU ld supports shared libraries.
7705
 
    case $host_os in
7706
 
    aix3* | aix4* | aix5*)
7707
 
      # On AIX/PPC, the GNU linker is very broken
7708
 
      if test "$host_cpu" != ia64; then
7709
 
        ld_shlibs=no
7710
 
        cat <<EOF 1>&2
7711
 
 
7712
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
7713
 
*** to be unable to reliably create shared libraries on AIX.
7714
 
*** Therefore, libtool is disabling shared libraries support.  If you
7715
 
*** really care for shared libraries, you may want to modify your PATH
7716
 
*** so that a non-GNU linker is found, and then restart.
7717
 
 
7718
 
EOF
7719
 
      fi
7720
 
      ;;
7721
 
 
7722
 
    amigaos*)
7723
 
      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7724
 
      hardcode_libdir_flag_spec='-L$libdir'
7725
 
      hardcode_minus_L=yes
7726
 
 
7727
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7728
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
7729
 
      # to version 4, is to share data among multiple programs linked
7730
 
      # with the same dynamic library.  Since this doesn't match the
7731
 
      # behavior of shared libraries on other platforms, we can't use
7732
 
      # them.
7733
 
      ld_shlibs=no
7734
 
      ;;
7735
 
 
7736
 
    beos*)
7737
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7738
 
        allow_undefined_flag=unsupported
7739
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7740
 
        # support --undefined.  This deserves some investigation.  FIXME
7741
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7742
 
      else
7743
 
        ld_shlibs=no
7744
 
      fi
7745
 
      ;;
7746
 
 
7747
 
    cygwin* | mingw* | pw32*)
7748
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7749
 
      # as there is no search path for DLLs.
7750
 
      hardcode_libdir_flag_spec='-L$libdir'
7751
 
      allow_undefined_flag=unsupported
7752
 
      always_export_symbols=no
7753
 
      enable_shared_with_static_runtimes=yes
7754
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7755
 
 
7756
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7757
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7758
 
        # If the export-symbols file already is a .def file (1st line
7759
 
        # is EXPORTS), use it as is; otherwise, prepend...
7760
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7761
 
          cp $export_symbols $output_objdir/$soname.def;
7762
 
        else
7763
 
          echo EXPORTS > $output_objdir/$soname.def;
7764
 
          cat $export_symbols >> $output_objdir/$soname.def;
7765
 
        fi~
7766
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
7767
 
      else
7768
 
        ld_shlibs=no
7769
 
      fi
7770
 
      ;;
7771
 
 
7772
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
7773
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7774
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7775
 
        wlarc=
7776
 
      else
7777
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7778
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7779
 
      fi
7780
 
      ;;
7781
 
 
7782
 
    solaris* | sysv5*)
7783
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
7784
 
        ld_shlibs=no
7785
 
        cat <<EOF 1>&2
7786
 
 
7787
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
7788
 
*** create shared libraries on Solaris systems.  Therefore, libtool
7789
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
7790
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
7791
 
*** your PATH or compiler configuration so that the native linker is
7792
 
*** used, and then restart.
7793
 
 
7794
 
EOF
7795
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7796
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7797
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7798
 
      else
7799
 
        ld_shlibs=no
7800
 
      fi
7801
 
      ;;
7802
 
 
7803
 
    sunos4*)
7804
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7805
 
      wlarc=
7806
 
      hardcode_direct=yes
7807
 
      hardcode_shlibpath_var=no
7808
 
      ;;
7809
 
 
7810
 
  linux*)
7811
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7812
 
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7813
 
        archive_cmds="$tmp_archive_cmds"
7814
 
      supports_anon_versioning=no
7815
 
      case `$LD -v 2>/dev/null` in
7816
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7817
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7818
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7819
 
        *\ 2.11.*) ;; # other 2.11 versions
7820
 
        *) supports_anon_versioning=yes ;;
7821
 
      esac
7822
 
      if test $supports_anon_versioning = yes; then
7823
 
        archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
7824
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7825
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
7826
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7827
 
      else
7828
 
        archive_expsym_cmds="$tmp_archive_cmds"
7829
 
      fi
7830
 
      link_all_deplibs=no
7831
 
    else
7832
 
      ld_shlibs=no
7833
 
    fi
7834
 
    ;;
7835
 
 
7836
 
    *)
7837
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7838
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7839
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7840
 
      else
7841
 
        ld_shlibs=no
7842
 
      fi
7843
 
      ;;
7844
 
    esac
7845
 
 
7846
 
    if test "$ld_shlibs" = yes; then
7847
 
      runpath_var=LD_RUN_PATH
7848
 
      hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
7849
 
      export_dynamic_flag_spec='${wl}--export-dynamic'
7850
 
      # ancient GNU ld didn't support --whole-archive et. al.
7851
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7852
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7853
 
      else
7854
 
        whole_archive_flag_spec=
7855
 
      fi
7856
 
    fi
7857
 
  else
7858
 
    # PORTME fill in a description of your system's linker (not GNU ld)
7859
 
    case $host_os in
7860
 
    aix3*)
7861
 
      allow_undefined_flag=unsupported
7862
 
      always_export_symbols=yes
7863
 
      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
7864
 
      # Note: this linker hardcodes the directories in LIBPATH if there
7865
 
      # are no directories specified by -L.
7866
 
      hardcode_minus_L=yes
7867
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
7868
 
        # Neither direct hardcoding nor static linking is supported with a
7869
 
        # broken collect2.
7870
 
        hardcode_direct=unsupported
7871
 
      fi
7872
 
      ;;
7873
 
 
7874
 
    aix4* | aix5*)
7875
 
      if test "$host_cpu" = ia64; then
7876
 
        # On IA64, the linker does run time linking by default, so we don't
7877
 
        # have to do anything special.
7878
 
        aix_use_runtimelinking=no
7879
 
        exp_sym_flag='-Bexport'
7880
 
        no_entry_flag=""
7881
 
      else
7882
 
        # If we're using GNU nm, then we don't want the "-C" option.
7883
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
7884
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
7885
 
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
7886
 
        else
7887
 
          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
7888
 
        fi
7889
 
        aix_use_runtimelinking=no
7890
 
 
7891
 
        # Test if we are trying to use run time linking or normal
7892
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7893
 
        # need to do runtime linking.
7894
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
7895
 
          for ld_flag in $LDFLAGS; do
7896
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7897
 
            aix_use_runtimelinking=yes
7898
 
            break
7899
 
          fi
7900
 
          done
7901
 
        esac
7902
 
 
7903
 
        exp_sym_flag='-bexport'
7904
 
        no_entry_flag='-bnoentry'
7905
 
      fi
7906
 
 
7907
 
      # When large executables or shared objects are built, AIX ld can
7908
 
      # have problems creating the table of contents.  If linking a library
7909
 
      # or program results in "error TOC overflow" add -mminimal-toc to
7910
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
7911
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7912
 
 
7913
 
      archive_cmds=''
7914
 
      hardcode_direct=yes
7915
 
      hardcode_libdir_separator=':'
7916
 
      link_all_deplibs=yes
7917
 
 
7918
 
      if test "$GCC" = yes; then
7919
 
        case $host_os in aix4.012|aix4.012.*)
7920
 
        # We only want to do this on AIX 4.2 and lower, the check
7921
 
        # below for broken collect2 doesn't work under 4.3+
7922
 
          collect2name=`${CC} -print-prog-name=collect2`
7923
 
          if test -f "$collect2name" && \
7924
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
7925
 
          then
7926
 
          # We have reworked collect2
7927
 
          hardcode_direct=yes
7928
 
          else
7929
 
          # We have old collect2
7930
 
          hardcode_direct=unsupported
7931
 
          # It fails to find uninstalled libraries when the uninstalled
7932
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
7933
 
          # to unsupported forces relinking
7934
 
          hardcode_minus_L=yes
7935
 
          hardcode_libdir_flag_spec='-L$libdir'
7936
 
          hardcode_libdir_separator=
7937
 
          fi
7938
 
        esac
7939
 
        shared_flag='-shared'
7940
 
      else
7941
 
        # not using gcc
7942
 
        if test "$host_cpu" = ia64; then
7943
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7944
 
        # chokes on -Wl,-G. The following line is correct:
7945
 
          shared_flag='-G'
7946
 
        else
7947
 
        if test "$aix_use_runtimelinking" = yes; then
7948
 
            shared_flag='${wl}-G'
7949
 
          else
7950
 
            shared_flag='${wl}-bM:SRE'
7951
 
        fi
7952
 
        fi
7953
 
      fi
7954
 
 
7955
 
      # It seems that -bexpall does not export symbols beginning with
7956
 
      # underscore (_), so it is better to generate a list of symbols to export.
7957
 
      always_export_symbols=yes
7958
 
      if test "$aix_use_runtimelinking" = yes; then
7959
 
        # Warning - without using the other runtime loading flags (-brtl),
7960
 
        # -berok will link without error, but may produce a broken library.
7961
 
        allow_undefined_flag='-berok'
7962
 
       # Determine the default libpath from the value encoded in an empty executable.
7963
 
       cat >conftest.$ac_ext <<_ACEOF
7964
 
/* confdefs.h.  */
7965
 
_ACEOF
7966
 
cat confdefs.h >>conftest.$ac_ext
7967
 
cat >>conftest.$ac_ext <<_ACEOF
7968
 
/* end confdefs.h.  */
7969
 
 
7970
 
int
7971
 
main ()
7972
 
{
7973
 
 
7974
 
  ;
7975
 
  return 0;
7976
 
}
7977
 
_ACEOF
7978
 
rm -f conftest.$ac_objext conftest$ac_exeext
7979
 
if { (ac_try="$ac_link"
7980
 
case "(($ac_try" in
7981
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7982
 
  *) ac_try_echo=$ac_try;;
7983
 
esac
7984
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7985
 
  (eval "$ac_link") 2>conftest.er1
7986
 
  ac_status=$?
7987
 
  grep -v '^ *+' conftest.er1 >conftest.err
7988
 
  rm -f conftest.er1
7989
 
  cat conftest.err >&5
7990
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7991
 
  (exit $ac_status); } && {
7992
 
         test -z "$ac_c_werror_flag" ||
7993
 
         test ! -s conftest.err
7994
 
       } && test -s conftest$ac_exeext &&
7995
 
       $as_test_x conftest$ac_exeext; then
7996
 
  
7997
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7998
 
}'`
7999
 
# Check for a 64-bit object if we didn't find anything.
8000
 
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; }
8001
 
}'`; fi
8002
 
else
8003
 
  echo "$as_me: failed program was:" >&5
8004
 
sed 's/^/| /' conftest.$ac_ext >&5
8005
 
 
8006
 
        
8007
 
fi
8008
 
 
8009
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8010
 
      conftest$ac_exeext conftest.$ac_ext
8011
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8012
 
 
8013
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8014
 
        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"
8015
 
       else
8016
 
        if test "$host_cpu" = ia64; then
8017
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8018
 
          allow_undefined_flag="-z nodefs"
8019
 
          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"
8020
 
        else
8021
 
         # Determine the default libpath from the value encoded in an empty executable.
8022
 
         cat >conftest.$ac_ext <<_ACEOF
8023
 
/* confdefs.h.  */
8024
 
_ACEOF
8025
 
cat confdefs.h >>conftest.$ac_ext
8026
 
cat >>conftest.$ac_ext <<_ACEOF
8027
 
/* end confdefs.h.  */
8028
 
 
8029
 
int
8030
 
main ()
8031
 
{
8032
 
 
8033
 
  ;
8034
 
  return 0;
8035
 
}
8036
 
_ACEOF
8037
 
rm -f conftest.$ac_objext conftest$ac_exeext
8038
 
if { (ac_try="$ac_link"
8039
 
case "(($ac_try" in
8040
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8041
 
  *) ac_try_echo=$ac_try;;
8042
 
esac
8043
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8044
 
  (eval "$ac_link") 2>conftest.er1
8045
 
  ac_status=$?
8046
 
  grep -v '^ *+' conftest.er1 >conftest.err
8047
 
  rm -f conftest.er1
8048
 
  cat conftest.err >&5
8049
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8050
 
  (exit $ac_status); } && {
8051
 
         test -z "$ac_c_werror_flag" ||
8052
 
         test ! -s conftest.err
8053
 
       } && test -s conftest$ac_exeext &&
8054
 
       $as_test_x conftest$ac_exeext; then
8055
 
  
8056
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8057
 
}'`
8058
 
# Check for a 64-bit object if we didn't find anything.
8059
 
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; }
8060
 
}'`; fi
8061
 
else
8062
 
  echo "$as_me: failed program was:" >&5
8063
 
sed 's/^/| /' conftest.$ac_ext >&5
8064
 
 
8065
 
        
8066
 
fi
8067
 
 
8068
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8069
 
      conftest$ac_exeext conftest.$ac_ext
8070
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8071
 
 
8072
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8073
 
          # Warning - without using the other run time loading flags,
8074
 
          # -berok will link without error, but may produce a broken library.
8075
 
          no_undefined_flag=' ${wl}-bernotok'
8076
 
          allow_undefined_flag=' ${wl}-berok'
8077
 
          # -bexpall does not export symbols beginning with underscore (_)
8078
 
          always_export_symbols=yes
8079
 
          # Exported symbols can be pulled into shared objects from archives
8080
 
          whole_archive_flag_spec=' '
8081
 
          archive_cmds_need_lc=yes
8082
 
          # This is similar to how AIX traditionally builds it's shared libraries.
8083
 
          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'
8084
 
        fi
8085
 
      fi
8086
 
      ;;
8087
 
 
8088
 
    amigaos*)
8089
 
      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8090
 
      hardcode_libdir_flag_spec='-L$libdir'
8091
 
      hardcode_minus_L=yes
8092
 
      # see comment about different semantics on the GNU ld section
8093
 
      ld_shlibs=no
8094
 
      ;;
8095
 
 
8096
 
    bsdi4*)
8097
 
      export_dynamic_flag_spec=-rdynamic
8098
 
      ;;
8099
 
 
8100
 
    cygwin* | mingw* | pw32*)
8101
 
      # When not using gcc, we currently assume that we are using
8102
 
      # Microsoft Visual C++.
8103
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8104
 
      # no search path for DLLs.
8105
 
      hardcode_libdir_flag_spec=' '
8106
 
      allow_undefined_flag=unsupported
8107
 
      # Tell ltmain to make .lib files, not .a files.
8108
 
      libext=lib
8109
 
      # Tell ltmain to make .dll files, not .so files.
8110
 
      shrext_cmds=".dll"
8111
 
      # FIXME: Setting linknames here is a bad hack.
8112
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8113
 
      # The linker will automatically build a .lib file if we build a DLL.
8114
 
      old_archive_From_new_cmds='true'
8115
 
      # FIXME: Should let the user specify the lib program.
8116
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
8117
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8118
 
      enable_shared_with_static_runtimes=yes
8119
 
      ;;
8120
 
 
8121
 
    darwin* | rhapsody*)
8122
 
    if test "$GXX" = yes ; then
8123
 
      archive_cmds_need_lc=no
8124
 
      case "$host_os" in
8125
 
      rhapsody* | darwin1.[012])
8126
 
        allow_undefined_flag='-undefined suppress'
8127
 
        ;;
8128
 
      *) # Darwin 1.3 on
8129
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8130
 
        allow_undefined_flag='-flat_namespace -undefined suppress'
8131
 
      else
8132
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
8133
 
          10.[012])
8134
 
            allow_undefined_flag='-flat_namespace -undefined suppress'
8135
 
            ;;
8136
 
          10.*)
8137
 
            allow_undefined_flag='-undefined dynamic_lookup'
8138
 
            ;;
8139
 
        esac
8140
 
      fi
8141
 
        ;;
8142
 
      esac
8143
 
        lt_int_apple_cc_single_mod=no
8144
 
        output_verbose_link_cmd='echo'
8145
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
8146
 
          lt_int_apple_cc_single_mod=yes
8147
 
        fi
8148
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
8149
 
          archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8150
 
        else
8151
 
        archive_cmds='$CC -r ${wl}-bind_at_load -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'
8152
 
      fi
8153
 
      module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8154
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8155
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
8156
 
          archive_expsym_cmds='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}'
8157
 
        else
8158
 
          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
8159
 
        fi
8160
 
          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}'
8161
 
      hardcode_direct=no
8162
 
      hardcode_automatic=yes
8163
 
      hardcode_shlibpath_var=unsupported
8164
 
      whole_archive_flag_spec='-all_load $convenience'
8165
 
      link_all_deplibs=yes
8166
 
    else
8167
 
      ld_shlibs=no
8168
 
    fi
8169
 
      ;;
8170
 
 
8171
 
    dgux*)
8172
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8173
 
      hardcode_libdir_flag_spec='-L$libdir'
8174
 
      hardcode_shlibpath_var=no
8175
 
      ;;
8176
 
 
8177
 
    freebsd1*)
8178
 
      ld_shlibs=no
8179
 
      ;;
8180
 
 
8181
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8182
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
8183
 
    # does not break anything, and helps significantly (at the cost of a little
8184
 
    # extra space).
8185
 
    freebsd2.2*)
8186
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8187
 
      hardcode_libdir_flag_spec='-R$libdir'
8188
 
      hardcode_direct=yes
8189
 
      hardcode_shlibpath_var=no
8190
 
      ;;
8191
 
 
8192
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8193
 
    freebsd2*)
8194
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8195
 
      hardcode_direct=yes
8196
 
      hardcode_minus_L=yes
8197
 
      hardcode_shlibpath_var=no
8198
 
      ;;
8199
 
 
8200
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8201
 
    freebsd* | kfreebsd*-gnu)
8202
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8203
 
      hardcode_libdir_flag_spec='-R$libdir'
8204
 
      hardcode_direct=yes
8205
 
      hardcode_shlibpath_var=no
8206
 
      ;;
8207
 
 
8208
 
    hpux9*)
8209
 
      if test "$GCC" = yes; then
8210
 
        archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8211
 
      else
8212
 
        archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8213
 
      fi
8214
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8215
 
      hardcode_libdir_separator=:
8216
 
      hardcode_direct=yes
8217
 
 
8218
 
      # hardcode_minus_L: Not really in the search PATH,
8219
 
      # but as the default location of the library.
8220
 
      hardcode_minus_L=yes
8221
 
      export_dynamic_flag_spec='${wl}-E'
8222
 
      ;;
8223
 
 
8224
 
    hpux10* | hpux11*)
8225
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8226
 
        case "$host_cpu" in
8227
 
        hppa*64*|ia64*)
8228
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8229
 
          ;;
8230
 
        *)
8231
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8232
 
          ;;
8233
 
        esac
8234
 
      else
8235
 
        case "$host_cpu" in
8236
 
        hppa*64*|ia64*)
8237
 
          archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
8238
 
          ;;
8239
 
        *)
8240
 
          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8241
 
          ;;
8242
 
        esac
8243
 
      fi
8244
 
      if test "$with_gnu_ld" = no; then
8245
 
        case "$host_cpu" in
8246
 
        hppa*64*)
8247
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8248
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
8249
 
          hardcode_libdir_separator=:
8250
 
          hardcode_direct=no
8251
 
          hardcode_shlibpath_var=no
8252
 
          ;;
8253
 
        ia64*)
8254
 
          hardcode_libdir_flag_spec='-L$libdir'
8255
 
          hardcode_direct=no
8256
 
          hardcode_shlibpath_var=no
8257
 
 
8258
 
          # hardcode_minus_L: Not really in the search PATH,
8259
 
          # but as the default location of the library.
8260
 
          hardcode_minus_L=yes
8261
 
          ;;
8262
 
        *)
8263
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8264
 
          hardcode_libdir_separator=:
8265
 
          hardcode_direct=yes
8266
 
          export_dynamic_flag_spec='${wl}-E'
8267
 
 
8268
 
          # hardcode_minus_L: Not really in the search PATH,
8269
 
          # but as the default location of the library.
8270
 
          hardcode_minus_L=yes
8271
 
          ;;
8272
 
        esac
8273
 
      fi
8274
 
      ;;
8275
 
 
8276
 
    irix5* | irix6* | nonstopux*)
8277
 
      if test "$GCC" = yes; then
8278
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8279
 
      else
8280
 
        archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8281
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
8282
 
      fi
8283
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8284
 
      hardcode_libdir_separator=:
8285
 
      link_all_deplibs=yes
8286
 
      ;;
8287
 
 
8288
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
8289
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8290
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8291
 
      else
8292
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8293
 
      fi
8294
 
      hardcode_libdir_flag_spec='-R$libdir'
8295
 
      hardcode_direct=yes
8296
 
      hardcode_shlibpath_var=no
8297
 
      ;;
8298
 
 
8299
 
    newsos6)
8300
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8301
 
      hardcode_direct=yes
8302
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8303
 
      hardcode_libdir_separator=:
8304
 
      hardcode_shlibpath_var=no
8305
 
      ;;
8306
 
 
8307
 
    openbsd*)
8308
 
      hardcode_direct=yes
8309
 
      hardcode_shlibpath_var=no
8310
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8311
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8312
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8313
 
        export_dynamic_flag_spec='${wl}-E'
8314
 
      else
8315
 
       case $host_os in
8316
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8317
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8318
 
           hardcode_libdir_flag_spec='-R$libdir'
8319
 
           ;;
8320
 
         *)
8321
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8322
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8323
 
           ;;
8324
 
       esac
8325
 
      fi
8326
 
      ;;
8327
 
 
8328
 
    os2*)
8329
 
      hardcode_libdir_flag_spec='-L$libdir'
8330
 
      hardcode_minus_L=yes
8331
 
      allow_undefined_flag=unsupported
8332
 
      archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8333
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8334
 
      ;;
8335
 
 
8336
 
    osf3*)
8337
 
      if test "$GCC" = yes; then
8338
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8339
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8340
 
      else
8341
 
        allow_undefined_flag=' -expect_unresolved \*'
8342
 
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8343
 
      fi
8344
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8345
 
      hardcode_libdir_separator=:
8346
 
      ;;
8347
 
 
8348
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8349
 
      if test "$GCC" = yes; then
8350
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8351
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8352
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8353
 
      else
8354
 
        allow_undefined_flag=' -expect_unresolved \*'
8355
 
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8356
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8357
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
8358
 
 
8359
 
        # Both c and cxx compiler support -rpath directly
8360
 
        hardcode_libdir_flag_spec='-rpath $libdir'
8361
 
      fi
8362
 
      hardcode_libdir_separator=:
8363
 
      ;;
8364
 
 
8365
 
    sco3.2v5*)
8366
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8367
 
      hardcode_shlibpath_var=no
8368
 
      export_dynamic_flag_spec='${wl}-Bexport'
8369
 
      runpath_var=LD_RUN_PATH
8370
 
      hardcode_runpath_var=yes
8371
 
      ;;
8372
 
 
8373
 
    solaris*)
8374
 
      no_undefined_flag=' -z text'
8375
 
      if test "$GCC" = yes; then
8376
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8377
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8378
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8379
 
      else
8380
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8381
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8382
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8383
 
      fi
8384
 
      hardcode_libdir_flag_spec='-R$libdir'
8385
 
      hardcode_shlibpath_var=no
8386
 
      case $host_os in
8387
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
8388
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
8389
 
        whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
8390
 
      esac
8391
 
      link_all_deplibs=yes
8392
 
      ;;
8393
 
 
8394
 
    sunos4*)
8395
 
      if test "x$host_vendor" = xsequent; then
8396
 
        # Use $CC to link under sequent, because it throws in some extra .o
8397
 
        # files that make .init and .fini sections work.
8398
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8399
 
      else
8400
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8401
 
      fi
8402
 
      hardcode_libdir_flag_spec='-L$libdir'
8403
 
      hardcode_direct=yes
8404
 
      hardcode_minus_L=yes
8405
 
      hardcode_shlibpath_var=no
8406
 
      ;;
8407
 
 
8408
 
    sysv4)
8409
 
      case $host_vendor in
8410
 
        sni)
8411
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8412
 
          hardcode_direct=yes # is this really true???
8413
 
        ;;
8414
 
        siemens)
8415
 
          ## LD is ld it makes a PLAMLIB
8416
 
          ## CC just makes a GrossModule.
8417
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8418
 
          reload_cmds='$CC -r -o $output$reload_objs'
8419
 
          hardcode_direct=no
8420
 
        ;;
8421
 
        motorola)
8422
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8423
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8424
 
        ;;
8425
 
      esac
8426
 
      runpath_var='LD_RUN_PATH'
8427
 
      hardcode_shlibpath_var=no
8428
 
      ;;
8429
 
 
8430
 
    sysv4.3*)
8431
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8432
 
      hardcode_shlibpath_var=no
8433
 
      export_dynamic_flag_spec='-Bexport'
8434
 
      ;;
8435
 
 
8436
 
    sysv4*MP*)
8437
 
      if test -d /usr/nec; then
8438
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8439
 
        hardcode_shlibpath_var=no
8440
 
        runpath_var=LD_RUN_PATH
8441
 
        hardcode_runpath_var=yes
8442
 
        ld_shlibs=yes
8443
 
      fi
8444
 
      ;;
8445
 
 
8446
 
    sysv4.2uw2*)
8447
 
      archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8448
 
      hardcode_direct=yes
8449
 
      hardcode_minus_L=no
8450
 
      hardcode_shlibpath_var=no
8451
 
      hardcode_runpath_var=yes
8452
 
      runpath_var=LD_RUN_PATH
8453
 
      ;;
8454
 
 
8455
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
8456
 
      no_undefined_flag='${wl}-z ${wl}text'
8457
 
      if test "$GCC" = yes; then
8458
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8459
 
      else
8460
 
        archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8461
 
      fi
8462
 
      runpath_var='LD_RUN_PATH'
8463
 
      hardcode_shlibpath_var=no
8464
 
      ;;
8465
 
 
8466
 
    sysv5*)
8467
 
      no_undefined_flag=' -z text'
8468
 
      # $CC -shared without GNU ld will not create a library from C++
8469
 
      # object files and a static libstdc++, better avoid it by now
8470
 
      archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8471
 
      archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8472
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8473
 
      hardcode_libdir_flag_spec=
8474
 
      hardcode_shlibpath_var=no
8475
 
      runpath_var='LD_RUN_PATH'
8476
 
      ;;
8477
 
 
8478
 
    uts4*)
8479
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8480
 
      hardcode_libdir_flag_spec='-L$libdir'
8481
 
      hardcode_shlibpath_var=no
8482
 
      ;;
8483
 
 
8484
 
    *)
8485
 
      ld_shlibs=no
8486
 
      ;;
8487
 
    esac
8488
 
  fi
8489
 
 
8490
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8491
 
echo "${ECHO_T}$ld_shlibs" >&6; }
8492
 
test "$ld_shlibs" = no && can_build_shared=no
8493
 
 
8494
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
8495
 
if test "$GCC" = yes; then
8496
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8497
 
fi
8498
 
 
8499
 
#
8500
 
# Do we need to explicitly link libc?
8501
 
#
8502
 
case "x$archive_cmds_need_lc" in
8503
 
x|xyes)
8504
 
  # Assume -lc should be added
8505
 
  archive_cmds_need_lc=yes
8506
 
 
8507
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
8508
 
    case $archive_cmds in
8509
 
    *'~'*)
8510
 
      # FIXME: we may have to deal with multi-command sequences.
8511
 
      ;;
8512
 
    '$CC '*)
8513
 
      # Test whether the compiler implicitly links with -lc since on some
8514
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
8515
 
      # to ld, don't add -lc before -lgcc.
8516
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8517
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8518
 
      $rm conftest*
8519
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8520
 
 
8521
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8522
 
  (eval $ac_compile) 2>&5
8523
 
  ac_status=$?
8524
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525
 
  (exit $ac_status); } 2>conftest.err; then
8526
 
        soname=conftest
8527
 
        lib=conftest
8528
 
        libobjs=conftest.$ac_objext
8529
 
        deplibs=
8530
 
        wl=$lt_prog_compiler_wl
8531
 
        compiler_flags=-v
8532
 
        linker_flags=-v
8533
 
        verstring=
8534
 
        output_objdir=.
8535
 
        libname=conftest
8536
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
8537
 
        allow_undefined_flag=
8538
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8539
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
8540
 
  ac_status=$?
8541
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8542
 
  (exit $ac_status); }
8543
 
        then
8544
 
          archive_cmds_need_lc=no
8545
 
        else
8546
 
          archive_cmds_need_lc=yes
8547
 
        fi
8548
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
8549
 
      else
8550
 
        cat conftest.err 1>&5
8551
 
      fi
8552
 
      $rm conftest*
8553
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8554
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8555
 
      ;;
8556
 
    esac
8557
 
  fi
8558
 
  ;;
8559
 
esac
8560
 
 
8561
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8562
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8563
 
library_names_spec=
8564
 
libname_spec='lib$name'
8565
 
soname_spec=
8566
 
shrext_cmds=".so"
8567
 
postinstall_cmds=
8568
 
postuninstall_cmds=
8569
 
finish_cmds=
8570
 
finish_eval=
8571
 
shlibpath_var=
8572
 
shlibpath_overrides_runpath=unknown
8573
 
version_type=none
8574
 
dynamic_linker="$host_os ld.so"
8575
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
8576
 
if test "$GCC" = yes; then
8577
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8578
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
8579
 
    # if the path contains ";" then we assume it to be the separator
8580
 
    # otherwise default to the standard path separator (i.e. ":") - it is
8581
 
    # assumed that no part of a normal pathname contains ";" but that should
8582
 
    # okay in the real world where ";" in dirpaths is itself problematic.
8583
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8584
 
  else
8585
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8586
 
  fi
8587
 
else
8588
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8589
 
fi
8590
 
need_lib_prefix=unknown
8591
 
hardcode_into_libs=no
8592
 
 
8593
 
# when you set need_version to no, make sure it does not cause -set_version
8594
 
# flags to be left without arguments
8595
 
need_version=unknown
8596
 
 
8597
 
case $host_os in
8598
 
aix3*)
8599
 
  version_type=linux
8600
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8601
 
  shlibpath_var=LIBPATH
8602
 
 
8603
 
  # AIX 3 has no versioning support, so we append a major version to the name.
8604
 
  soname_spec='${libname}${release}${shared_ext}$major'
8605
 
  ;;
8606
 
 
8607
 
aix4* | aix5*)
8608
 
  version_type=linux
8609
 
  need_lib_prefix=no
8610
 
  need_version=no
8611
 
  hardcode_into_libs=yes
8612
 
  if test "$host_cpu" = ia64; then
8613
 
    # AIX 5 supports IA64
8614
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8615
 
    shlibpath_var=LD_LIBRARY_PATH
8616
 
  else
8617
 
    # With GCC up to 2.95.x, collect2 would create an import file
8618
 
    # for dependence libraries.  The import file would start with
8619
 
    # the line `#! .'.  This would cause the generated library to
8620
 
    # depend on `.', always an invalid library.  This was fixed in
8621
 
    # development snapshots of GCC prior to 3.0.
8622
 
    case $host_os in
8623
 
      aix4 | aix4.[01] | aix4.[01].*)
8624
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8625
 
           echo ' yes '
8626
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
8627
 
        :
8628
 
      else
8629
 
        can_build_shared=no
8630
 
      fi
8631
 
      ;;
8632
 
    esac
8633
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8634
 
    # soname into executable. Probably we can add versioning support to
8635
 
    # collect2, so additional links can be useful in future.
8636
 
    if test "$aix_use_runtimelinking" = yes; then
8637
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8638
 
      # instead of lib<name>.a to let people know that these are not
8639
 
      # typical AIX shared libraries.
8640
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8641
 
    else
8642
 
      # We preserve .a as extension for shared libraries through AIX4.2
8643
 
      # and later when we are not doing run time linking.
8644
 
      library_names_spec='${libname}${release}.a $libname.a'
8645
 
      soname_spec='${libname}${release}${shared_ext}$major'
8646
 
    fi
8647
 
    shlibpath_var=LIBPATH
8648
 
  fi
8649
 
  ;;
8650
 
 
8651
 
amigaos*)
8652
 
  library_names_spec='$libname.ixlibrary $libname.a'
8653
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
8654
 
  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
8655
 
  ;;
8656
 
 
8657
 
beos*)
8658
 
  library_names_spec='${libname}${shared_ext}'
8659
 
  dynamic_linker="$host_os ld.so"
8660
 
  shlibpath_var=LIBRARY_PATH
8661
 
  ;;
8662
 
 
8663
 
bsdi4*)
8664
 
  version_type=linux
8665
 
  need_version=no
8666
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8667
 
  soname_spec='${libname}${release}${shared_ext}$major'
8668
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
8669
 
  shlibpath_var=LD_LIBRARY_PATH
8670
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8671
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
8672
 
  # the default ld.so.conf also contains /usr/contrib/lib and
8673
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8674
 
  # libtool to hard-code these into programs
8675
 
  ;;
8676
 
 
8677
 
cygwin* | mingw* | pw32*)
8678
 
  version_type=windows
8679
 
  shrext_cmds=".dll"
8680
 
  need_version=no
8681
 
  need_lib_prefix=no
8682
 
 
8683
 
  case $GCC,$host_os in
8684
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
8685
 
    library_names_spec='$libname.dll.a'
8686
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
8687
 
    postinstall_cmds='base_file=`basename \${file}`~
8688
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8689
 
      dldir=$destdir/`dirname \$dlpath`~
8690
 
      test -d \$dldir || mkdir -p \$dldir~
8691
 
      $install_prog $dir/$dlname \$dldir/$dlname'
8692
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8693
 
      dlpath=$dir/\$dldll~
8694
 
       $rm \$dlpath'
8695
 
    shlibpath_overrides_runpath=yes
8696
 
 
8697
 
    case $host_os in
8698
 
    cygwin*)
8699
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8700
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8701
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8702
 
      ;;
8703
 
    mingw*)
8704
 
      # MinGW DLLs use traditional 'lib' prefix
8705
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8706
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8707
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
8708
 
        # It is most probably a Windows format PATH printed by
8709
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
8710
 
        # path with ; separators, and with drive letters. We can handle the
8711
 
        # drive letters (cygwin fileutils understands them), so leave them,
8712
 
        # especially as we might pass files found there to a mingw objdump,
8713
 
        # which wouldn't understand a cygwinified path. Ahh.
8714
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8715
 
      else
8716
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8717
 
      fi
8718
 
      ;;
8719
 
    pw32*)
8720
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
8721
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
8722
 
      ;;
8723
 
    esac
8724
 
    ;;
8725
 
 
8726
 
  *)
8727
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8728
 
    ;;
8729
 
  esac
8730
 
  dynamic_linker='Win32 ld.exe'
8731
 
  # FIXME: first we should search . and the directory the executable is in
8732
 
  shlibpath_var=PATH
8733
 
  ;;
8734
 
 
8735
 
darwin* | rhapsody*)
8736
 
  dynamic_linker="$host_os dyld"
8737
 
  version_type=darwin
8738
 
  need_lib_prefix=no
8739
 
  need_version=no
8740
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8741
 
  soname_spec='${libname}${release}${major}$shared_ext'
8742
 
  shlibpath_overrides_runpath=yes
8743
 
  shlibpath_var=DYLD_LIBRARY_PATH
8744
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
8745
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8746
 
  if test "$GCC" = yes; then
8747
 
    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"`
8748
 
  else
8749
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
8750
 
  fi
8751
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8752
 
  ;;
8753
 
 
8754
 
dgux*)
8755
 
  version_type=linux
8756
 
  need_lib_prefix=no
8757
 
  need_version=no
8758
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8759
 
  soname_spec='${libname}${release}${shared_ext}$major'
8760
 
  shlibpath_var=LD_LIBRARY_PATH
8761
 
  ;;
8762
 
 
8763
 
freebsd1*)
8764
 
  dynamic_linker=no
8765
 
  ;;
8766
 
 
8767
 
kfreebsd*-gnu)
8768
 
  version_type=linux
8769
 
  need_lib_prefix=no
8770
 
  need_version=no
8771
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8772
 
  soname_spec='${libname}${release}${shared_ext}$major'
8773
 
  shlibpath_var=LD_LIBRARY_PATH
8774
 
  shlibpath_overrides_runpath=no
8775
 
  hardcode_into_libs=yes
8776
 
  dynamic_linker='GNU ld.so'
8777
 
  ;;
8778
 
 
8779
 
freebsd*)
8780
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
8781
 
  version_type=freebsd-$objformat
8782
 
  case $version_type in
8783
 
    freebsd-elf*)
8784
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8785
 
      need_version=no
8786
 
      need_lib_prefix=no
8787
 
      ;;
8788
 
    freebsd-*)
8789
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8790
 
      need_version=yes
8791
 
      ;;
8792
 
  esac
8793
 
  shlibpath_var=LD_LIBRARY_PATH
8794
 
  case $host_os in
8795
 
  freebsd2*)
8796
 
    shlibpath_overrides_runpath=yes
8797
 
    ;;
8798
 
  freebsd3.01* | freebsdelf3.01*)
8799
 
    shlibpath_overrides_runpath=yes
8800
 
    hardcode_into_libs=yes
8801
 
    ;;
8802
 
  *) # from 3.2 on
8803
 
    shlibpath_overrides_runpath=no
8804
 
    hardcode_into_libs=yes
8805
 
    ;;
8806
 
  esac
8807
 
  ;;
8808
 
 
8809
 
gnu*)
8810
 
  version_type=linux
8811
 
  need_lib_prefix=no
8812
 
  need_version=no
8813
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8814
 
  soname_spec='${libname}${release}${shared_ext}$major'
8815
 
  shlibpath_var=LD_LIBRARY_PATH
8816
 
  hardcode_into_libs=yes
8817
 
  ;;
8818
 
 
8819
 
hpux9* | hpux10* | hpux11*)
8820
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
8821
 
  # link against other versions.
8822
 
  version_type=sunos
8823
 
  need_lib_prefix=no
8824
 
  need_version=no
8825
 
  case "$host_cpu" in
8826
 
  ia64*)
8827
 
    shrext_cmds='.so'
8828
 
    hardcode_into_libs=yes
8829
 
    dynamic_linker="$host_os dld.so"
8830
 
    shlibpath_var=LD_LIBRARY_PATH
8831
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8832
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8833
 
    soname_spec='${libname}${release}${shared_ext}$major'
8834
 
    if test "X$HPUX_IA64_MODE" = X32; then
8835
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8836
 
    else
8837
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
8838
 
    fi
8839
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8840
 
    ;;
8841
 
   hppa*64*)
8842
 
     shrext_cmds='.sl'
8843
 
     hardcode_into_libs=yes
8844
 
     dynamic_linker="$host_os dld.sl"
8845
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8846
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8847
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8848
 
     soname_spec='${libname}${release}${shared_ext}$major'
8849
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8850
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8851
 
     ;;
8852
 
   *)
8853
 
    shrext_cmds='.sl'
8854
 
    dynamic_linker="$host_os dld.sl"
8855
 
    shlibpath_var=SHLIB_PATH
8856
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8857
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8858
 
    soname_spec='${libname}${release}${shared_ext}$major'
8859
 
    ;;
8860
 
  esac
8861
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
8862
 
  postinstall_cmds='chmod 555 $lib'
8863
 
  ;;
8864
 
 
8865
 
irix5* | irix6* | nonstopux*)
8866
 
  case $host_os in
8867
 
    nonstopux*) version_type=nonstopux ;;
8868
 
    *)
8869
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
8870
 
                version_type=linux
8871
 
        else
8872
 
                version_type=irix
8873
 
        fi ;;
8874
 
  esac
8875
 
  need_lib_prefix=no
8876
 
  need_version=no
8877
 
  soname_spec='${libname}${release}${shared_ext}$major'
8878
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8879
 
  case $host_os in
8880
 
  irix5* | nonstopux*)
8881
 
    libsuff= shlibsuff=
8882
 
    ;;
8883
 
  *)
8884
 
    case $LD in # libtool.m4 will add one of these switches to LD
8885
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8886
 
      libsuff= shlibsuff= libmagic=32-bit;;
8887
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8888
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
8889
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8890
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
8891
 
    *) libsuff= shlibsuff= libmagic=never-match;;
8892
 
    esac
8893
 
    ;;
8894
 
  esac
8895
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
8896
 
  shlibpath_overrides_runpath=no
8897
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8898
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8899
 
  hardcode_into_libs=yes
8900
 
  ;;
8901
 
 
8902
 
# No shared lib support for Linux oldld, aout, or coff.
8903
 
linux*oldld* | linux*aout* | linux*coff*)
8904
 
  dynamic_linker=no
8905
 
  ;;
8906
 
 
8907
 
# This must be Linux ELF.
8908
 
linux*)
8909
 
  version_type=linux
8910
 
  need_lib_prefix=no
8911
 
  need_version=no
8912
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8913
 
  soname_spec='${libname}${release}${shared_ext}$major'
8914
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8915
 
  shlibpath_var=LD_LIBRARY_PATH
8916
 
  shlibpath_overrides_runpath=no
8917
 
  # This implies no fast_install, which is unacceptable.
8918
 
  # Some rework will be needed to allow for fast_install
8919
 
  # before this can be enabled.
8920
 
  hardcode_into_libs=yes
8921
 
 
8922
 
  # Append ld.so.conf contents to the search path
8923
 
  if test -f /etc/ld.so.conf; then
8924
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
8925
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8926
 
  fi
8927
 
 
8928
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
8929
 
  # powerpc, because MkLinux only supported shared libraries with the
8930
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
8931
 
  # most powerpc-linux boxes support dynamic linking these days and
8932
 
  # people can always --disable-shared, the test was removed, and we
8933
 
  # assume the GNU/Linux dynamic linker is in use.
8934
 
  dynamic_linker='GNU/Linux ld.so'
8935
 
  ;;
8936
 
 
8937
 
netbsdelf*-gnu)
8938
 
  version_type=linux
8939
 
  need_lib_prefix=no
8940
 
  need_version=no
8941
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8942
 
  soname_spec='${libname}${release}${shared_ext}$major'
8943
 
  shlibpath_var=LD_LIBRARY_PATH
8944
 
  shlibpath_overrides_runpath=no
8945
 
  hardcode_into_libs=yes
8946
 
  dynamic_linker='NetBSD ld.elf_so'
8947
 
  ;;
8948
 
 
8949
 
knetbsd*-gnu)
8950
 
  version_type=linux
8951
 
  need_lib_prefix=no
8952
 
  need_version=no
8953
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8954
 
  soname_spec='${libname}${release}${shared_ext}$major'
8955
 
  shlibpath_var=LD_LIBRARY_PATH
8956
 
  shlibpath_overrides_runpath=no
8957
 
  hardcode_into_libs=yes
8958
 
  dynamic_linker='GNU ld.so'
8959
 
  ;;
8960
 
 
8961
 
netbsd*)
8962
 
  version_type=sunos
8963
 
  need_lib_prefix=no
8964
 
  need_version=no
8965
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8966
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8967
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8968
 
    dynamic_linker='NetBSD (a.out) ld.so'
8969
 
  else
8970
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8971
 
    soname_spec='${libname}${release}${shared_ext}$major'
8972
 
    dynamic_linker='NetBSD ld.elf_so'
8973
 
  fi
8974
 
  shlibpath_var=LD_LIBRARY_PATH
8975
 
  shlibpath_overrides_runpath=yes
8976
 
  hardcode_into_libs=yes
8977
 
  ;;
8978
 
 
8979
 
newsos6)
8980
 
  version_type=linux
8981
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8982
 
  shlibpath_var=LD_LIBRARY_PATH
8983
 
  shlibpath_overrides_runpath=yes
8984
 
  ;;
8985
 
 
8986
 
nto-qnx*)
8987
 
  version_type=linux
8988
 
  need_lib_prefix=no
8989
 
  need_version=no
8990
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8991
 
  soname_spec='${libname}${release}${shared_ext}$major'
8992
 
  shlibpath_var=LD_LIBRARY_PATH
8993
 
  shlibpath_overrides_runpath=yes
8994
 
  ;;
8995
 
 
8996
 
openbsd*)
8997
 
  version_type=sunos
8998
 
  need_lib_prefix=no
8999
 
  need_version=yes
9000
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9001
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9002
 
  shlibpath_var=LD_LIBRARY_PATH
9003
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9004
 
    case $host_os in
9005
 
      openbsd2.[89] | openbsd2.[89].*)
9006
 
        shlibpath_overrides_runpath=no
9007
 
        ;;
9008
 
      *)
9009
 
        shlibpath_overrides_runpath=yes
9010
 
        ;;
9011
 
      esac
9012
 
  else
9013
 
    shlibpath_overrides_runpath=yes
9014
 
  fi
9015
 
  ;;
9016
 
 
9017
 
os2*)
9018
 
  libname_spec='$name'
9019
 
  shrext_cmds=".dll"
9020
 
  need_lib_prefix=no
9021
 
  library_names_spec='$libname${shared_ext} $libname.a'
9022
 
  dynamic_linker='OS/2 ld.exe'
9023
 
  shlibpath_var=LIBPATH
9024
 
  ;;
9025
 
 
9026
 
osf3* | osf4* | osf5*)
9027
 
  version_type=osf
9028
 
  need_lib_prefix=no
9029
 
  need_version=no
9030
 
  soname_spec='${libname}${release}${shared_ext}$major'
9031
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9032
 
  shlibpath_var=LD_LIBRARY_PATH
9033
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9034
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9035
 
  ;;
9036
 
 
9037
 
sco3.2v5*)
9038
 
  version_type=osf
9039
 
  soname_spec='${libname}${release}${shared_ext}$major'
9040
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9041
 
  shlibpath_var=LD_LIBRARY_PATH
9042
 
  ;;
9043
 
 
9044
 
solaris*)
9045
 
  version_type=linux
9046
 
  need_lib_prefix=no
9047
 
  need_version=no
9048
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9049
 
  soname_spec='${libname}${release}${shared_ext}$major'
9050
 
  shlibpath_var=LD_LIBRARY_PATH
9051
 
  shlibpath_overrides_runpath=yes
9052
 
  hardcode_into_libs=yes
9053
 
  # ldd complains unless libraries are executable
9054
 
  postinstall_cmds='chmod +x $lib'
9055
 
  ;;
9056
 
 
9057
 
sunos4*)
9058
 
  version_type=sunos
9059
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9060
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9061
 
  shlibpath_var=LD_LIBRARY_PATH
9062
 
  shlibpath_overrides_runpath=yes
9063
 
  if test "$with_gnu_ld" = yes; then
9064
 
    need_lib_prefix=no
9065
 
  fi
9066
 
  need_version=yes
9067
 
  ;;
9068
 
 
9069
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9070
 
  version_type=linux
9071
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9072
 
  soname_spec='${libname}${release}${shared_ext}$major'
9073
 
  shlibpath_var=LD_LIBRARY_PATH
9074
 
  case $host_vendor in
9075
 
    sni)
9076
 
      shlibpath_overrides_runpath=no
9077
 
      need_lib_prefix=no
9078
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
9079
 
      runpath_var=LD_RUN_PATH
9080
 
      ;;
9081
 
    siemens)
9082
 
      need_lib_prefix=no
9083
 
      ;;
9084
 
    motorola)
9085
 
      need_lib_prefix=no
9086
 
      need_version=no
9087
 
      shlibpath_overrides_runpath=no
9088
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9089
 
      ;;
9090
 
  esac
9091
 
  ;;
9092
 
 
9093
 
sysv4*MP*)
9094
 
  if test -d /usr/nec ;then
9095
 
    version_type=linux
9096
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9097
 
    soname_spec='$libname${shared_ext}.$major'
9098
 
    shlibpath_var=LD_LIBRARY_PATH
9099
 
  fi
9100
 
  ;;
9101
 
 
9102
 
uts4*)
9103
 
  version_type=linux
9104
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9105
 
  soname_spec='${libname}${release}${shared_ext}$major'
9106
 
  shlibpath_var=LD_LIBRARY_PATH
9107
 
  ;;
9108
 
 
9109
 
*)
9110
 
  dynamic_linker=no
9111
 
  ;;
9112
 
esac
9113
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9114
 
echo "${ECHO_T}$dynamic_linker" >&6; }
9115
 
test "$dynamic_linker" = no && can_build_shared=no
9116
 
 
9117
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9118
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9119
 
hardcode_action=
9120
 
if test -n "$hardcode_libdir_flag_spec" || \
9121
 
   test -n "$runpath_var " || \
9122
 
   test "X$hardcode_automatic"="Xyes" ; then
9123
 
 
9124
 
  # We can hardcode non-existant directories.
9125
 
  if test "$hardcode_direct" != no &&
9126
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
9127
 
     # have to relink, otherwise we might link with an installed library
9128
 
     # when we should be linking with a yet-to-be-installed one
9129
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9130
 
     test "$hardcode_minus_L" != no; then
9131
 
    # Linking always hardcodes the temporary library directory.
9132
 
    hardcode_action=relink
9133
 
  else
9134
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
9135
 
    hardcode_action=immediate
9136
 
  fi
9137
 
else
9138
 
  # We cannot hardcode anything, or else we can only hardcode existing
9139
 
  # directories.
9140
 
  hardcode_action=unsupported
9141
 
fi
9142
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
9143
 
echo "${ECHO_T}$hardcode_action" >&6; }
9144
 
 
9145
 
if test "$hardcode_action" = relink; then
9146
 
  # Fast installation is not supported
9147
 
  enable_fast_install=no
9148
 
elif test "$shlibpath_overrides_runpath" = yes ||
9149
 
     test "$enable_shared" = no; then
9150
 
  # Fast installation is not necessary
9151
 
  enable_fast_install=needless
9152
 
fi
9153
 
 
9154
 
striplib=
9155
 
old_striplib=
9156
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9157
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9158
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9159
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9160
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9161
 
  { echo "$as_me:$LINENO: result: yes" >&5
9162
 
echo "${ECHO_T}yes" >&6; }
9163
 
else
9164
 
# FIXME - insert some real tests, host_os isn't really good enough
9165
 
  case $host_os in
9166
 
   darwin*)
9167
 
       if test -n "$STRIP" ; then
9168
 
         striplib="$STRIP -x"
9169
 
         { echo "$as_me:$LINENO: result: yes" >&5
9170
 
echo "${ECHO_T}yes" >&6; }
9171
 
       else
9172
 
  { echo "$as_me:$LINENO: result: no" >&5
9173
 
echo "${ECHO_T}no" >&6; }
9174
 
fi
9175
 
       ;;
9176
 
   *)
9177
 
  { echo "$as_me:$LINENO: result: no" >&5
9178
 
echo "${ECHO_T}no" >&6; }
9179
 
    ;;
9180
 
  esac
9181
 
fi
9182
 
 
9183
 
if test "x$enable_dlopen" != xyes; then
9184
 
  enable_dlopen=unknown
9185
 
  enable_dlopen_self=unknown
9186
 
  enable_dlopen_self_static=unknown
9187
 
else
9188
 
  lt_cv_dlopen=no
9189
 
  lt_cv_dlopen_libs=
9190
 
 
9191
 
  case $host_os in
9192
 
  beos*)
9193
 
    lt_cv_dlopen="load_add_on"
9194
 
    lt_cv_dlopen_libs=
9195
 
    lt_cv_dlopen_self=yes
9196
 
    ;;
9197
 
 
9198
 
  mingw* | pw32*)
9199
 
    lt_cv_dlopen="LoadLibrary"
9200
 
    lt_cv_dlopen_libs=
9201
 
   ;;
9202
 
 
9203
 
  cygwin*)
9204
 
    lt_cv_dlopen="dlopen"
9205
 
    lt_cv_dlopen_libs=
9206
 
   ;;
9207
 
 
9208
 
  darwin*)
9209
 
  # if libdl is installed we need to link against it
9210
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9211
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9212
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9213
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9214
 
else
9215
 
  ac_check_lib_save_LIBS=$LIBS
9216
 
LIBS="-ldl  $LIBS"
9217
 
cat >conftest.$ac_ext <<_ACEOF
9218
 
/* confdefs.h.  */
9219
 
_ACEOF
9220
 
cat confdefs.h >>conftest.$ac_ext
9221
 
cat >>conftest.$ac_ext <<_ACEOF
9222
 
/* end confdefs.h.  */
9223
 
 
9224
 
/* Override any GCC internal prototype to avoid an error.
9225
 
   Use char because int might match the return type of a GCC
9226
 
   builtin and then its argument prototype would still apply.  */
9227
 
#ifdef __cplusplus
9228
 
extern "C"
9229
 
#endif
9230
 
char dlopen ();
9231
 
int
9232
 
main ()
9233
 
{
9234
 
return dlopen ();
9235
 
  ;
9236
 
  return 0;
9237
 
}
9238
 
_ACEOF
9239
 
rm -f conftest.$ac_objext conftest$ac_exeext
9240
 
if { (ac_try="$ac_link"
9241
 
case "(($ac_try" in
9242
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9243
 
  *) ac_try_echo=$ac_try;;
9244
 
esac
9245
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9246
 
  (eval "$ac_link") 2>conftest.er1
9247
 
  ac_status=$?
9248
 
  grep -v '^ *+' conftest.er1 >conftest.err
9249
 
  rm -f conftest.er1
9250
 
  cat conftest.err >&5
9251
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9252
 
  (exit $ac_status); } && {
9253
 
         test -z "$ac_c_werror_flag" ||
9254
 
         test ! -s conftest.err
9255
 
       } && test -s conftest$ac_exeext &&
9256
 
       $as_test_x conftest$ac_exeext; then
9257
 
  ac_cv_lib_dl_dlopen=yes
9258
 
else
9259
 
  echo "$as_me: failed program was:" >&5
9260
 
sed 's/^/| /' conftest.$ac_ext >&5
9261
 
 
9262
 
        ac_cv_lib_dl_dlopen=no
9263
 
fi
9264
 
 
9265
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9266
 
      conftest$ac_exeext conftest.$ac_ext
9267
 
LIBS=$ac_check_lib_save_LIBS
9268
 
fi
9269
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9270
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9271
 
if test $ac_cv_lib_dl_dlopen = yes; then
9272
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9273
 
else
9274
 
  
9275
 
    lt_cv_dlopen="dyld"
9276
 
    lt_cv_dlopen_libs=
9277
 
    lt_cv_dlopen_self=yes
9278
 
    
9279
 
fi
9280
 
 
9281
 
   ;;
9282
 
 
9283
 
  *)
9284
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
9285
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9286
 
if test "${ac_cv_func_shl_load+set}" = set; then
9287
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9288
 
else
9289
 
  cat >conftest.$ac_ext <<_ACEOF
9290
 
/* confdefs.h.  */
9291
 
_ACEOF
9292
 
cat confdefs.h >>conftest.$ac_ext
9293
 
cat >>conftest.$ac_ext <<_ACEOF
9294
 
/* end confdefs.h.  */
9295
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9296
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9297
 
#define shl_load innocuous_shl_load
9298
 
 
9299
 
/* System header to define __stub macros and hopefully few prototypes,
9300
 
    which can conflict with char shl_load (); below.
9301
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9302
 
    <limits.h> exists even on freestanding compilers.  */
9303
 
 
9304
 
#ifdef __STDC__
9305
 
# include <limits.h>
9306
 
#else
9307
 
# include <assert.h>
9308
 
#endif
9309
 
 
9310
 
#undef shl_load
9311
 
 
9312
 
/* Override any GCC internal prototype to avoid an error.
9313
 
   Use char because int might match the return type of a GCC
9314
 
   builtin and then its argument prototype would still apply.  */
9315
 
#ifdef __cplusplus
9316
 
extern "C"
9317
 
#endif
9318
 
char shl_load ();
9319
 
/* The GNU C library defines this for functions which it implements
9320
 
    to always fail with ENOSYS.  Some functions are actually named
9321
 
    something starting with __ and the normal name is an alias.  */
9322
 
#if defined __stub_shl_load || defined __stub___shl_load
9323
 
choke me
9324
 
#endif
9325
 
 
9326
 
int
9327
 
main ()
9328
 
{
9329
 
return shl_load ();
9330
 
  ;
9331
 
  return 0;
9332
 
}
9333
 
_ACEOF
9334
 
rm -f conftest.$ac_objext conftest$ac_exeext
9335
 
if { (ac_try="$ac_link"
9336
 
case "(($ac_try" in
9337
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9338
 
  *) ac_try_echo=$ac_try;;
9339
 
esac
9340
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9341
 
  (eval "$ac_link") 2>conftest.er1
9342
 
  ac_status=$?
9343
 
  grep -v '^ *+' conftest.er1 >conftest.err
9344
 
  rm -f conftest.er1
9345
 
  cat conftest.err >&5
9346
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9347
 
  (exit $ac_status); } && {
9348
 
         test -z "$ac_c_werror_flag" ||
9349
 
         test ! -s conftest.err
9350
 
       } && test -s conftest$ac_exeext &&
9351
 
       $as_test_x conftest$ac_exeext; then
9352
 
  ac_cv_func_shl_load=yes
9353
 
else
9354
 
  echo "$as_me: failed program was:" >&5
9355
 
sed 's/^/| /' conftest.$ac_ext >&5
9356
 
 
9357
 
        ac_cv_func_shl_load=no
9358
 
fi
9359
 
 
9360
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9361
 
      conftest$ac_exeext conftest.$ac_ext
9362
 
fi
9363
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9364
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9365
 
if test $ac_cv_func_shl_load = yes; then
9366
 
  lt_cv_dlopen="shl_load"
9367
 
else
9368
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9369
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9370
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9371
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9372
 
else
9373
 
  ac_check_lib_save_LIBS=$LIBS
9374
 
LIBS="-ldld  $LIBS"
9375
 
cat >conftest.$ac_ext <<_ACEOF
9376
 
/* confdefs.h.  */
9377
 
_ACEOF
9378
 
cat confdefs.h >>conftest.$ac_ext
9379
 
cat >>conftest.$ac_ext <<_ACEOF
9380
 
/* end confdefs.h.  */
9381
 
 
9382
 
/* Override any GCC internal prototype to avoid an error.
9383
 
   Use char because int might match the return type of a GCC
9384
 
   builtin and then its argument prototype would still apply.  */
9385
 
#ifdef __cplusplus
9386
 
extern "C"
9387
 
#endif
9388
 
char shl_load ();
9389
 
int
9390
 
main ()
9391
 
{
9392
 
return shl_load ();
9393
 
  ;
9394
 
  return 0;
9395
 
}
9396
 
_ACEOF
9397
 
rm -f conftest.$ac_objext conftest$ac_exeext
9398
 
if { (ac_try="$ac_link"
9399
 
case "(($ac_try" in
9400
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9401
 
  *) ac_try_echo=$ac_try;;
9402
 
esac
9403
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9404
 
  (eval "$ac_link") 2>conftest.er1
9405
 
  ac_status=$?
9406
 
  grep -v '^ *+' conftest.er1 >conftest.err
9407
 
  rm -f conftest.er1
9408
 
  cat conftest.err >&5
9409
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9410
 
  (exit $ac_status); } && {
9411
 
         test -z "$ac_c_werror_flag" ||
9412
 
         test ! -s conftest.err
9413
 
       } && test -s conftest$ac_exeext &&
9414
 
       $as_test_x conftest$ac_exeext; then
9415
 
  ac_cv_lib_dld_shl_load=yes
9416
 
else
9417
 
  echo "$as_me: failed program was:" >&5
9418
 
sed 's/^/| /' conftest.$ac_ext >&5
9419
 
 
9420
 
        ac_cv_lib_dld_shl_load=no
9421
 
fi
9422
 
 
9423
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9424
 
      conftest$ac_exeext conftest.$ac_ext
9425
 
LIBS=$ac_check_lib_save_LIBS
9426
 
fi
9427
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9428
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9429
 
if test $ac_cv_lib_dld_shl_load = yes; then
9430
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9431
 
else
9432
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
9433
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9434
 
if test "${ac_cv_func_dlopen+set}" = set; then
9435
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9436
 
else
9437
 
  cat >conftest.$ac_ext <<_ACEOF
9438
 
/* confdefs.h.  */
9439
 
_ACEOF
9440
 
cat confdefs.h >>conftest.$ac_ext
9441
 
cat >>conftest.$ac_ext <<_ACEOF
9442
 
/* end confdefs.h.  */
9443
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9444
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9445
 
#define dlopen innocuous_dlopen
9446
 
 
9447
 
/* System header to define __stub macros and hopefully few prototypes,
9448
 
    which can conflict with char dlopen (); below.
9449
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9450
 
    <limits.h> exists even on freestanding compilers.  */
9451
 
 
9452
 
#ifdef __STDC__
9453
 
# include <limits.h>
9454
 
#else
9455
 
# include <assert.h>
9456
 
#endif
9457
 
 
9458
 
#undef dlopen
9459
 
 
9460
 
/* Override any GCC internal prototype to avoid an error.
9461
 
   Use char because int might match the return type of a GCC
9462
 
   builtin and then its argument prototype would still apply.  */
9463
 
#ifdef __cplusplus
9464
 
extern "C"
9465
 
#endif
9466
 
char dlopen ();
9467
 
/* The GNU C library defines this for functions which it implements
9468
 
    to always fail with ENOSYS.  Some functions are actually named
9469
 
    something starting with __ and the normal name is an alias.  */
9470
 
#if defined __stub_dlopen || defined __stub___dlopen
9471
 
choke me
9472
 
#endif
9473
 
 
9474
 
int
9475
 
main ()
9476
 
{
9477
 
return dlopen ();
9478
 
  ;
9479
 
  return 0;
9480
 
}
9481
 
_ACEOF
9482
 
rm -f conftest.$ac_objext conftest$ac_exeext
9483
 
if { (ac_try="$ac_link"
9484
 
case "(($ac_try" in
9485
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9486
 
  *) ac_try_echo=$ac_try;;
9487
 
esac
9488
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9489
 
  (eval "$ac_link") 2>conftest.er1
9490
 
  ac_status=$?
9491
 
  grep -v '^ *+' conftest.er1 >conftest.err
9492
 
  rm -f conftest.er1
9493
 
  cat conftest.err >&5
9494
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9495
 
  (exit $ac_status); } && {
9496
 
         test -z "$ac_c_werror_flag" ||
9497
 
         test ! -s conftest.err
9498
 
       } && test -s conftest$ac_exeext &&
9499
 
       $as_test_x conftest$ac_exeext; then
9500
 
  ac_cv_func_dlopen=yes
9501
 
else
9502
 
  echo "$as_me: failed program was:" >&5
9503
 
sed 's/^/| /' conftest.$ac_ext >&5
9504
 
 
9505
 
        ac_cv_func_dlopen=no
9506
 
fi
9507
 
 
9508
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9509
 
      conftest$ac_exeext conftest.$ac_ext
9510
 
fi
9511
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9512
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9513
 
if test $ac_cv_func_dlopen = yes; then
9514
 
  lt_cv_dlopen="dlopen"
9515
 
else
9516
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9517
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9518
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9519
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9520
 
else
9521
 
  ac_check_lib_save_LIBS=$LIBS
9522
 
LIBS="-ldl  $LIBS"
9523
 
cat >conftest.$ac_ext <<_ACEOF
9524
 
/* confdefs.h.  */
9525
 
_ACEOF
9526
 
cat confdefs.h >>conftest.$ac_ext
9527
 
cat >>conftest.$ac_ext <<_ACEOF
9528
 
/* end confdefs.h.  */
9529
 
 
9530
 
/* Override any GCC internal prototype to avoid an error.
9531
 
   Use char because int might match the return type of a GCC
9532
 
   builtin and then its argument prototype would still apply.  */
9533
 
#ifdef __cplusplus
9534
 
extern "C"
9535
 
#endif
9536
 
char dlopen ();
9537
 
int
9538
 
main ()
9539
 
{
9540
 
return dlopen ();
9541
 
  ;
9542
 
  return 0;
9543
 
}
9544
 
_ACEOF
9545
 
rm -f conftest.$ac_objext conftest$ac_exeext
9546
 
if { (ac_try="$ac_link"
9547
 
case "(($ac_try" in
9548
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9549
 
  *) ac_try_echo=$ac_try;;
9550
 
esac
9551
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9552
 
  (eval "$ac_link") 2>conftest.er1
9553
 
  ac_status=$?
9554
 
  grep -v '^ *+' conftest.er1 >conftest.err
9555
 
  rm -f conftest.er1
9556
 
  cat conftest.err >&5
9557
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9558
 
  (exit $ac_status); } && {
9559
 
         test -z "$ac_c_werror_flag" ||
9560
 
         test ! -s conftest.err
9561
 
       } && test -s conftest$ac_exeext &&
9562
 
       $as_test_x conftest$ac_exeext; then
9563
 
  ac_cv_lib_dl_dlopen=yes
9564
 
else
9565
 
  echo "$as_me: failed program was:" >&5
9566
 
sed 's/^/| /' conftest.$ac_ext >&5
9567
 
 
9568
 
        ac_cv_lib_dl_dlopen=no
9569
 
fi
9570
 
 
9571
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9572
 
      conftest$ac_exeext conftest.$ac_ext
9573
 
LIBS=$ac_check_lib_save_LIBS
9574
 
fi
9575
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9576
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9577
 
if test $ac_cv_lib_dl_dlopen = yes; then
9578
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9579
 
else
9580
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9581
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9582
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9583
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9584
 
else
9585
 
  ac_check_lib_save_LIBS=$LIBS
9586
 
LIBS="-lsvld  $LIBS"
9587
 
cat >conftest.$ac_ext <<_ACEOF
9588
 
/* confdefs.h.  */
9589
 
_ACEOF
9590
 
cat confdefs.h >>conftest.$ac_ext
9591
 
cat >>conftest.$ac_ext <<_ACEOF
9592
 
/* end confdefs.h.  */
9593
 
 
9594
 
/* Override any GCC internal prototype to avoid an error.
9595
 
   Use char because int might match the return type of a GCC
9596
 
   builtin and then its argument prototype would still apply.  */
9597
 
#ifdef __cplusplus
9598
 
extern "C"
9599
 
#endif
9600
 
char dlopen ();
9601
 
int
9602
 
main ()
9603
 
{
9604
 
return dlopen ();
9605
 
  ;
9606
 
  return 0;
9607
 
}
9608
 
_ACEOF
9609
 
rm -f conftest.$ac_objext conftest$ac_exeext
9610
 
if { (ac_try="$ac_link"
9611
 
case "(($ac_try" in
9612
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9613
 
  *) ac_try_echo=$ac_try;;
9614
 
esac
9615
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9616
 
  (eval "$ac_link") 2>conftest.er1
9617
 
  ac_status=$?
9618
 
  grep -v '^ *+' conftest.er1 >conftest.err
9619
 
  rm -f conftest.er1
9620
 
  cat conftest.err >&5
9621
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9622
 
  (exit $ac_status); } && {
9623
 
         test -z "$ac_c_werror_flag" ||
9624
 
         test ! -s conftest.err
9625
 
       } && test -s conftest$ac_exeext &&
9626
 
       $as_test_x conftest$ac_exeext; then
9627
 
  ac_cv_lib_svld_dlopen=yes
9628
 
else
9629
 
  echo "$as_me: failed program was:" >&5
9630
 
sed 's/^/| /' conftest.$ac_ext >&5
9631
 
 
9632
 
        ac_cv_lib_svld_dlopen=no
9633
 
fi
9634
 
 
9635
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9636
 
      conftest$ac_exeext conftest.$ac_ext
9637
 
LIBS=$ac_check_lib_save_LIBS
9638
 
fi
9639
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9640
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9641
 
if test $ac_cv_lib_svld_dlopen = yes; then
9642
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9643
 
else
9644
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9645
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9646
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9647
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9648
 
else
9649
 
  ac_check_lib_save_LIBS=$LIBS
9650
 
LIBS="-ldld  $LIBS"
9651
 
cat >conftest.$ac_ext <<_ACEOF
9652
 
/* confdefs.h.  */
9653
 
_ACEOF
9654
 
cat confdefs.h >>conftest.$ac_ext
9655
 
cat >>conftest.$ac_ext <<_ACEOF
9656
 
/* end confdefs.h.  */
9657
 
 
9658
 
/* Override any GCC internal prototype to avoid an error.
9659
 
   Use char because int might match the return type of a GCC
9660
 
   builtin and then its argument prototype would still apply.  */
9661
 
#ifdef __cplusplus
9662
 
extern "C"
9663
 
#endif
9664
 
char dld_link ();
9665
 
int
9666
 
main ()
9667
 
{
9668
 
return dld_link ();
9669
 
  ;
9670
 
  return 0;
9671
 
}
9672
 
_ACEOF
9673
 
rm -f conftest.$ac_objext conftest$ac_exeext
9674
 
if { (ac_try="$ac_link"
9675
 
case "(($ac_try" in
9676
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9677
 
  *) ac_try_echo=$ac_try;;
9678
 
esac
9679
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9680
 
  (eval "$ac_link") 2>conftest.er1
9681
 
  ac_status=$?
9682
 
  grep -v '^ *+' conftest.er1 >conftest.err
9683
 
  rm -f conftest.er1
9684
 
  cat conftest.err >&5
9685
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9686
 
  (exit $ac_status); } && {
9687
 
         test -z "$ac_c_werror_flag" ||
9688
 
         test ! -s conftest.err
9689
 
       } && test -s conftest$ac_exeext &&
9690
 
       $as_test_x conftest$ac_exeext; then
9691
 
  ac_cv_lib_dld_dld_link=yes
9692
 
else
9693
 
  echo "$as_me: failed program was:" >&5
9694
 
sed 's/^/| /' conftest.$ac_ext >&5
9695
 
 
9696
 
        ac_cv_lib_dld_dld_link=no
9697
 
fi
9698
 
 
9699
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9700
 
      conftest$ac_exeext conftest.$ac_ext
9701
 
LIBS=$ac_check_lib_save_LIBS
9702
 
fi
9703
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9704
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9705
 
if test $ac_cv_lib_dld_dld_link = yes; then
9706
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9707
 
fi
9708
 
 
9709
 
              
9710
 
fi
9711
 
 
9712
 
            
9713
 
fi
9714
 
 
9715
 
          
9716
 
fi
9717
 
 
9718
 
        
9719
 
fi
9720
 
 
9721
 
      
9722
 
fi
9723
 
 
9724
 
    ;;
9725
 
  esac
9726
 
 
9727
 
  if test "x$lt_cv_dlopen" != xno; then
9728
 
    enable_dlopen=yes
9729
 
  else
9730
 
    enable_dlopen=no
9731
 
  fi
9732
 
 
9733
 
  case $lt_cv_dlopen in
9734
 
  dlopen)
9735
 
    save_CPPFLAGS="$CPPFLAGS"
9736
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9737
 
 
9738
 
    save_LDFLAGS="$LDFLAGS"
9739
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9740
 
 
9741
 
    save_LIBS="$LIBS"
9742
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
9743
 
 
9744
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9745
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9746
 
if test "${lt_cv_dlopen_self+set}" = set; then
9747
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9748
 
else
9749
 
          if test "$cross_compiling" = yes; then :
9750
 
  lt_cv_dlopen_self=cross
9751
 
else
9752
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9753
 
  lt_status=$lt_dlunknown
9754
 
  cat > conftest.$ac_ext <<EOF
9755
 
#line __oline__ "configure"
9756
 
#include "confdefs.h"
9757
 
 
9758
 
#if HAVE_DLFCN_H
9759
 
#include <dlfcn.h>
9760
 
#endif
9761
 
 
9762
 
#include <stdio.h>
9763
 
 
9764
 
#ifdef RTLD_GLOBAL
9765
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
9766
 
#else
9767
 
#  ifdef DL_GLOBAL
9768
 
#    define LT_DLGLOBAL         DL_GLOBAL
9769
 
#  else
9770
 
#    define LT_DLGLOBAL         0
9771
 
#  endif
9772
 
#endif
9773
 
 
9774
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9775
 
   find out it does not work in some platform. */
9776
 
#ifndef LT_DLLAZY_OR_NOW
9777
 
#  ifdef RTLD_LAZY
9778
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
9779
 
#  else
9780
 
#    ifdef DL_LAZY
9781
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
9782
 
#    else
9783
 
#      ifdef RTLD_NOW
9784
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
9785
 
#      else
9786
 
#        ifdef DL_NOW
9787
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
9788
 
#        else
9789
 
#          define LT_DLLAZY_OR_NOW      0
9790
 
#        endif
9791
 
#      endif
9792
 
#    endif
9793
 
#  endif
9794
 
#endif
9795
 
 
9796
 
#ifdef __cplusplus
9797
 
extern "C" void exit (int);
9798
 
#endif
9799
 
 
9800
 
void fnord() { int i=42;}
9801
 
int main ()
9802
 
{
9803
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9804
 
  int status = $lt_dlunknown;
9805
 
 
9806
 
  if (self)
9807
 
    {
9808
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
9809
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9810
 
      /* dlclose (self); */
9811
 
    }
9812
 
 
9813
 
    exit (status);
9814
 
}
9815
 
EOF
9816
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9817
 
  (eval $ac_link) 2>&5
9818
 
  ac_status=$?
9819
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9820
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9821
 
    (./conftest; exit; ) 2>/dev/null
9822
 
    lt_status=$?
9823
 
    case x$lt_status in
9824
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9825
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9826
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
9827
 
    esac
9828
 
  else :
9829
 
    # compilation failed
9830
 
    lt_cv_dlopen_self=no
9831
 
  fi
9832
 
fi
9833
 
rm -fr conftest*
9834
 
 
9835
 
    
9836
 
fi
9837
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9838
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9839
 
 
9840
 
    if test "x$lt_cv_dlopen_self" = xyes; then
9841
 
      LDFLAGS="$LDFLAGS $link_static_flag"
9842
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9843
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9844
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
9845
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9846
 
else
9847
 
          if test "$cross_compiling" = yes; then :
9848
 
  lt_cv_dlopen_self_static=cross
9849
 
else
9850
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9851
 
  lt_status=$lt_dlunknown
9852
 
  cat > conftest.$ac_ext <<EOF
9853
 
#line __oline__ "configure"
9854
 
#include "confdefs.h"
9855
 
 
9856
 
#if HAVE_DLFCN_H
9857
 
#include <dlfcn.h>
9858
 
#endif
9859
 
 
9860
 
#include <stdio.h>
9861
 
 
9862
 
#ifdef RTLD_GLOBAL
9863
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
9864
 
#else
9865
 
#  ifdef DL_GLOBAL
9866
 
#    define LT_DLGLOBAL         DL_GLOBAL
9867
 
#  else
9868
 
#    define LT_DLGLOBAL         0
9869
 
#  endif
9870
 
#endif
9871
 
 
9872
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9873
 
   find out it does not work in some platform. */
9874
 
#ifndef LT_DLLAZY_OR_NOW
9875
 
#  ifdef RTLD_LAZY
9876
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
9877
 
#  else
9878
 
#    ifdef DL_LAZY
9879
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
9880
 
#    else
9881
 
#      ifdef RTLD_NOW
9882
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
9883
 
#      else
9884
 
#        ifdef DL_NOW
9885
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
9886
 
#        else
9887
 
#          define LT_DLLAZY_OR_NOW      0
9888
 
#        endif
9889
 
#      endif
9890
 
#    endif
9891
 
#  endif
9892
 
#endif
9893
 
 
9894
 
#ifdef __cplusplus
9895
 
extern "C" void exit (int);
9896
 
#endif
9897
 
 
9898
 
void fnord() { int i=42;}
9899
 
int main ()
9900
 
{
9901
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9902
 
  int status = $lt_dlunknown;
9903
 
 
9904
 
  if (self)
9905
 
    {
9906
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
9907
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9908
 
      /* dlclose (self); */
9909
 
    }
9910
 
 
9911
 
    exit (status);
9912
 
}
9913
 
EOF
9914
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9915
 
  (eval $ac_link) 2>&5
9916
 
  ac_status=$?
9917
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9918
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9919
 
    (./conftest; exit; ) 2>/dev/null
9920
 
    lt_status=$?
9921
 
    case x$lt_status in
9922
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9923
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9924
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
9925
 
    esac
9926
 
  else :
9927
 
    # compilation failed
9928
 
    lt_cv_dlopen_self_static=no
9929
 
  fi
9930
 
fi
9931
 
rm -fr conftest*
9932
 
 
9933
 
      
9934
 
fi
9935
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9936
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9937
 
    fi
9938
 
 
9939
 
    CPPFLAGS="$save_CPPFLAGS"
9940
 
    LDFLAGS="$save_LDFLAGS"
9941
 
    LIBS="$save_LIBS"
9942
 
    ;;
9943
 
  esac
9944
 
 
9945
 
  case $lt_cv_dlopen_self in
9946
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
9947
 
  *) enable_dlopen_self=unknown ;;
9948
 
  esac
9949
 
 
9950
 
  case $lt_cv_dlopen_self_static in
9951
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
9952
 
  *) enable_dlopen_self_static=unknown ;;
9953
 
  esac
9954
 
fi
9955
 
 
9956
 
 
9957
 
# Report which librarie types wil actually be built
9958
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9959
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
9960
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
9961
 
echo "${ECHO_T}$can_build_shared" >&6; }
9962
 
 
9963
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9964
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9965
 
test "$can_build_shared" = "no" && enable_shared=no
9966
 
 
9967
 
# On AIX, shared libraries and static libraries use the same namespace, and
9968
 
# are all built from PIC.
9969
 
case "$host_os" in
9970
 
aix3*)
9971
 
  test "$enable_shared" = yes && enable_static=no
9972
 
  if test -n "$RANLIB"; then
9973
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
9974
 
    postinstall_cmds='$RANLIB $lib'
9975
 
  fi
9976
 
  ;;
9977
 
 
9978
 
aix4* | aix5*)
9979
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9980
 
    test "$enable_shared" = yes && enable_static=no
9981
 
  fi
9982
 
  ;;
9983
 
  darwin* | rhapsody*)
9984
 
  if test "$GCC" = yes; then
9985
 
    archive_cmds_need_lc=no
9986
 
    case "$host_os" in
9987
 
    rhapsody* | darwin1.[012])
9988
 
      allow_undefined_flag='-undefined suppress'
9989
 
      ;;
9990
 
    *) # Darwin 1.3 on
9991
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9992
 
        allow_undefined_flag='-flat_namespace -undefined suppress'
9993
 
      else
9994
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
9995
 
          10.[012])
9996
 
            allow_undefined_flag='-flat_namespace -undefined suppress'
9997
 
            ;;
9998
 
          10.*)
9999
 
            allow_undefined_flag='-undefined dynamic_lookup'
10000
 
            ;;
10001
 
        esac
10002
 
      fi
10003
 
      ;;
10004
 
    esac
10005
 
    output_verbose_link_cmd='echo'
10006
 
    archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
10007
 
    module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10008
 
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10009
 
    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}'
10010
 
    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}'
10011
 
    hardcode_direct=no
10012
 
    hardcode_automatic=yes
10013
 
    hardcode_shlibpath_var=unsupported
10014
 
    whole_archive_flag_spec='-all_load $convenience'
10015
 
    link_all_deplibs=yes
10016
 
  else
10017
 
    ld_shlibs=no
10018
 
  fi
10019
 
    ;;
10020
 
esac
10021
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
10022
 
echo "${ECHO_T}$enable_shared" >&6; }
10023
 
 
10024
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10025
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10026
 
# Make sure either enable_shared or enable_static is yes.
10027
 
test "$enable_shared" = yes || enable_static=yes
10028
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
10029
 
echo "${ECHO_T}$enable_static" >&6; }
10030
 
 
10031
 
# The else clause should only fire when bootstrapping the
10032
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
10033
 
# with your package, and you will get complaints that there are
10034
 
# no rules to generate ltmain.sh.
10035
 
if test -f "$ltmain"; then
10036
 
  # See if we are running on zsh, and set the options which allow our commands through
10037
 
  # without removal of \ escapes.
10038
 
  if test -n "${ZSH_VERSION+set}" ; then
10039
 
    setopt NO_GLOB_SUBST
10040
 
  fi
10041
 
  # Now quote all the things that may contain metacharacters while being
10042
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
10043
 
  # variables and quote the copies for generation of the libtool script.
10044
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
10045
 
    SED SHELL STRIP \
10046
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10047
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10048
 
    deplibs_check_method reload_flag reload_cmds need_locks \
10049
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10050
 
    lt_cv_sys_global_symbol_to_c_name_address \
10051
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10052
 
    old_postinstall_cmds old_postuninstall_cmds \
10053
 
    compiler \
10054
 
    CC \
10055
 
    LD \
10056
 
    lt_prog_compiler_wl \
10057
 
    lt_prog_compiler_pic \
10058
 
    lt_prog_compiler_static \
10059
 
    lt_prog_compiler_no_builtin_flag \
10060
 
    export_dynamic_flag_spec \
10061
 
    thread_safe_flag_spec \
10062
 
    whole_archive_flag_spec \
10063
 
    enable_shared_with_static_runtimes \
10064
 
    old_archive_cmds \
10065
 
    old_archive_from_new_cmds \
10066
 
    predep_objects \
10067
 
    postdep_objects \
10068
 
    predeps \
10069
 
    postdeps \
10070
 
    compiler_lib_search_path \
10071
 
    archive_cmds \
10072
 
    archive_expsym_cmds \
10073
 
    postinstall_cmds \
10074
 
    postuninstall_cmds \
10075
 
    old_archive_from_expsyms_cmds \
10076
 
    allow_undefined_flag \
10077
 
    no_undefined_flag \
10078
 
    export_symbols_cmds \
10079
 
    hardcode_libdir_flag_spec \
10080
 
    hardcode_libdir_flag_spec_ld \
10081
 
    hardcode_libdir_separator \
10082
 
    hardcode_automatic \
10083
 
    module_cmds \
10084
 
    module_expsym_cmds \
10085
 
    lt_cv_prog_compiler_c_o \
10086
 
    exclude_expsyms \
10087
 
    include_expsyms; do
10088
 
 
10089
 
    case $var in
10090
 
    old_archive_cmds | \
10091
 
    old_archive_from_new_cmds | \
10092
 
    archive_cmds | \
10093
 
    archive_expsym_cmds | \
10094
 
    module_cmds | \
10095
 
    module_expsym_cmds | \
10096
 
    old_archive_from_expsyms_cmds | \
10097
 
    export_symbols_cmds | \
10098
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
10099
 
    postinstall_cmds | postuninstall_cmds | \
10100
 
    old_postinstall_cmds | old_postuninstall_cmds | \
10101
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10102
 
      # Double-quote double-evaled strings.
10103
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10104
 
      ;;
10105
 
    *)
10106
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10107
 
      ;;
10108
 
    esac
10109
 
  done
10110
 
 
10111
 
  case $lt_echo in
10112
 
  *'\$0 --fallback-echo"')
10113
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10114
 
    ;;
10115
 
  esac
10116
 
 
10117
 
cfgfile="${ofile}T"
10118
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10119
 
  $rm -f "$cfgfile"
10120
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
10121
 
echo "$as_me: creating $ofile" >&6;}
10122
 
 
10123
 
  cat <<__EOF__ >> "$cfgfile"
10124
 
#! $SHELL
10125
 
 
10126
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10127
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10128
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10129
 
#
10130
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10131
 
# Free Software Foundation, Inc.
10132
 
#
10133
 
# This file is part of GNU Libtool:
10134
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10135
 
#
10136
 
# This program is free software; you can redistribute it and/or modify
10137
 
# it under the terms of the GNU General Public License as published by
10138
 
# the Free Software Foundation; either version 2 of the License, or
10139
 
# (at your option) any later version.
10140
 
#
10141
 
# This program is distributed in the hope that it will be useful, but
10142
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
10143
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
10144
 
# General Public License for more details.
10145
 
#
10146
 
# You should have received a copy of the GNU General Public License
10147
 
# along with this program; if not, write to the Free Software
10148
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
10149
 
#
10150
 
# As a special exception to the GNU General Public License, if you
10151
 
# distribute this file as part of a program that contains a
10152
 
# configuration script generated by Autoconf, you may include it under
10153
 
# the same distribution terms that you use for the rest of that program.
10154
 
 
10155
 
# A sed program that does not truncate output.
10156
 
SED=$lt_SED
10157
 
 
10158
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
10159
 
Xsed="$SED -e s/^X//"
10160
 
 
10161
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
10162
 
# if CDPATH is set.
10163
 
if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
10164
 
 
10165
 
# The names of the tagged configurations supported by this script.
10166
 
available_tags=
10167
 
 
10168
 
# ### BEGIN LIBTOOL CONFIG
10169
 
 
10170
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10171
 
 
10172
 
# Shell to use when invoking shell scripts.
10173
 
SHELL=$lt_SHELL
10174
 
 
10175
 
# Whether or not to build shared libraries.
10176
 
build_libtool_libs=$enable_shared
10177
 
 
10178
 
# Whether or not to build static libraries.
10179
 
build_old_libs=$enable_static
10180
 
 
10181
 
# Whether or not to add -lc for building shared libraries.
10182
 
build_libtool_need_lc=$archive_cmds_need_lc
10183
 
 
10184
 
# Whether or not to disallow shared libs when runtime libs are static
10185
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10186
 
 
10187
 
# Whether or not to optimize for fast installation.
10188
 
fast_install=$enable_fast_install
10189
 
 
10190
 
# The host system.
10191
 
host_alias=$host_alias
10192
 
host=$host
10193
 
 
10194
 
# An echo program that does not interpret backslashes.
10195
 
echo=$lt_echo
10196
 
 
10197
 
# The archiver.
10198
 
AR=$lt_AR
10199
 
AR_FLAGS=$lt_AR_FLAGS
10200
 
 
10201
 
# A C compiler.
10202
 
LTCC=$lt_LTCC
10203
 
 
10204
 
# A language-specific compiler.
10205
 
CC=$lt_compiler
10206
 
 
10207
 
# Is the compiler the GNU C compiler?
10208
 
with_gcc=$GCC
10209
 
 
10210
 
# An ERE matcher.
10211
 
EGREP=$lt_EGREP
10212
 
 
10213
 
# The linker used to build libraries.
10214
 
LD=$lt_LD
10215
 
 
10216
 
# Whether we need hard or soft links.
10217
 
LN_S=$lt_LN_S
10218
 
 
10219
 
# A BSD-compatible nm program.
10220
 
NM=$lt_NM
10221
 
 
10222
 
# A symbol stripping program
10223
 
STRIP=$lt_STRIP
10224
 
 
10225
 
# Used to examine libraries when file_magic_cmd begins "file"
10226
 
MAGIC_CMD=$MAGIC_CMD
10227
 
 
10228
 
# Used on cygwin: DLL creation program.
10229
 
DLLTOOL="$DLLTOOL"
10230
 
 
10231
 
# Used on cygwin: object dumper.
10232
 
OBJDUMP="$OBJDUMP"
10233
 
 
10234
 
# Used on cygwin: assembler.
10235
 
AS="$AS"
10236
 
 
10237
 
# The name of the directory that contains temporary libtool files.
10238
 
objdir=$objdir
10239
 
 
10240
 
# How to create reloadable object files.
10241
 
reload_flag=$lt_reload_flag
10242
 
reload_cmds=$lt_reload_cmds
10243
 
 
10244
 
# How to pass a linker flag through the compiler.
10245
 
wl=$lt_lt_prog_compiler_wl
10246
 
 
10247
 
# Object file suffix (normally "o").
10248
 
objext="$ac_objext"
10249
 
 
10250
 
# Old archive suffix (normally "a").
10251
 
libext="$libext"
10252
 
 
10253
 
# Shared library suffix (normally ".so").
10254
 
shrext_cmds='$shrext_cmds'
10255
 
 
10256
 
# Executable file suffix (normally "").
10257
 
exeext="$exeext"
10258
 
 
10259
 
# Additional compiler flags for building library objects.
10260
 
pic_flag=$lt_lt_prog_compiler_pic
10261
 
pic_mode=$pic_mode
10262
 
 
10263
 
# What is the maximum length of a command?
10264
 
max_cmd_len=$lt_cv_sys_max_cmd_len
10265
 
 
10266
 
# Does compiler simultaneously support -c and -o options?
10267
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10268
 
 
10269
 
# Must we lock files when doing compilation ?
10270
 
need_locks=$lt_need_locks
10271
 
 
10272
 
# Do we need the lib prefix for modules?
10273
 
need_lib_prefix=$need_lib_prefix
10274
 
 
10275
 
# Do we need a version for libraries?
10276
 
need_version=$need_version
10277
 
 
10278
 
# Whether dlopen is supported.
10279
 
dlopen_support=$enable_dlopen
10280
 
 
10281
 
# Whether dlopen of programs is supported.
10282
 
dlopen_self=$enable_dlopen_self
10283
 
 
10284
 
# Whether dlopen of statically linked programs is supported.
10285
 
dlopen_self_static=$enable_dlopen_self_static
10286
 
 
10287
 
# Compiler flag to prevent dynamic linking.
10288
 
link_static_flag=$lt_lt_prog_compiler_static
10289
 
 
10290
 
# Compiler flag to turn off builtin functions.
10291
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10292
 
 
10293
 
# Compiler flag to allow reflexive dlopens.
10294
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10295
 
 
10296
 
# Compiler flag to generate shared objects directly from archives.
10297
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
10298
 
 
10299
 
# Compiler flag to generate thread-safe objects.
10300
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
10301
 
 
10302
 
# Library versioning type.
10303
 
version_type=$version_type
10304
 
 
10305
 
# Format of library name prefix.
10306
 
libname_spec=$lt_libname_spec
10307
 
 
10308
 
# List of archive names.  First name is the real one, the rest are links.
10309
 
# The last name is the one that the linker finds with -lNAME.
10310
 
library_names_spec=$lt_library_names_spec
10311
 
 
10312
 
# The coded name of the library, if different from the real name.
10313
 
soname_spec=$lt_soname_spec
10314
 
 
10315
 
# Commands used to build and install an old-style archive.
10316
 
RANLIB=$lt_RANLIB
10317
 
old_archive_cmds=$lt_old_archive_cmds
10318
 
old_postinstall_cmds=$lt_old_postinstall_cmds
10319
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
10320
 
 
10321
 
# Create an old-style archive from a shared archive.
10322
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10323
 
 
10324
 
# Create a temporary old-style archive to link instead of a shared archive.
10325
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10326
 
 
10327
 
# Commands used to build and install a shared archive.
10328
 
archive_cmds=$lt_archive_cmds
10329
 
archive_expsym_cmds=$lt_archive_expsym_cmds
10330
 
postinstall_cmds=$lt_postinstall_cmds
10331
 
postuninstall_cmds=$lt_postuninstall_cmds
10332
 
 
10333
 
# Commands used to build a loadable module (assumed same as above if empty)
10334
 
module_cmds=$lt_module_cmds
10335
 
module_expsym_cmds=$lt_module_expsym_cmds
10336
 
 
10337
 
# Commands to strip libraries.
10338
 
old_striplib=$lt_old_striplib
10339
 
striplib=$lt_striplib
10340
 
 
10341
 
# Dependencies to place before the objects being linked to create a
10342
 
# shared library.
10343
 
predep_objects=$lt_predep_objects
10344
 
 
10345
 
# Dependencies to place after the objects being linked to create a
10346
 
# shared library.
10347
 
postdep_objects=$lt_postdep_objects
10348
 
 
10349
 
# Dependencies to place before the objects being linked to create a
10350
 
# shared library.
10351
 
predeps=$lt_predeps
10352
 
 
10353
 
# Dependencies to place after the objects being linked to create a
10354
 
# shared library.
10355
 
postdeps=$lt_postdeps
10356
 
 
10357
 
# The library search path used internally by the compiler when linking
10358
 
# a shared library.
10359
 
compiler_lib_search_path=$lt_compiler_lib_search_path
10360
 
 
10361
 
# Method to check whether dependent libraries are shared objects.
10362
 
deplibs_check_method=$lt_deplibs_check_method
10363
 
 
10364
 
# Command to use when deplibs_check_method == file_magic.
10365
 
file_magic_cmd=$lt_file_magic_cmd
10366
 
 
10367
 
# Flag that allows shared libraries with undefined symbols to be built.
10368
 
allow_undefined_flag=$lt_allow_undefined_flag
10369
 
 
10370
 
# Flag that forces no undefined symbols.
10371
 
no_undefined_flag=$lt_no_undefined_flag
10372
 
 
10373
 
# Commands used to finish a libtool library installation in a directory.
10374
 
finish_cmds=$lt_finish_cmds
10375
 
 
10376
 
# Same as above, but a single script fragment to be evaled but not shown.
10377
 
finish_eval=$lt_finish_eval
10378
 
 
10379
 
# Take the output of nm and produce a listing of raw symbols and C names.
10380
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10381
 
 
10382
 
# Transform the output of nm in a proper C declaration
10383
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10384
 
 
10385
 
# Transform the output of nm in a C name address pair
10386
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10387
 
 
10388
 
# This is the shared library runtime path variable.
10389
 
runpath_var=$runpath_var
10390
 
 
10391
 
# This is the shared library path variable.
10392
 
shlibpath_var=$shlibpath_var
10393
 
 
10394
 
# Is shlibpath searched before the hard-coded library search path?
10395
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10396
 
 
10397
 
# How to hardcode a shared library path into an executable.
10398
 
hardcode_action=$hardcode_action
10399
 
 
10400
 
# Whether we should hardcode library paths into libraries.
10401
 
hardcode_into_libs=$hardcode_into_libs
10402
 
 
10403
 
# Flag to hardcode \$libdir into a binary during linking.
10404
 
# This must work even if \$libdir does not exist.
10405
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10406
 
 
10407
 
# If ld is used when linking, flag to hardcode \$libdir into
10408
 
# a binary during linking. This must work even if \$libdir does
10409
 
# not exist.
10410
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10411
 
 
10412
 
# Whether we need a single -rpath flag with a separated argument.
10413
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
10414
 
 
10415
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10416
 
# resulting binary.
10417
 
hardcode_direct=$hardcode_direct
10418
 
 
10419
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10420
 
# resulting binary.
10421
 
hardcode_minus_L=$hardcode_minus_L
10422
 
 
10423
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10424
 
# the resulting binary.
10425
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
10426
 
 
10427
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
10428
 
# and all subsequent libraries and executables linked against it.
10429
 
hardcode_automatic=$hardcode_automatic
10430
 
 
10431
 
# Variables whose values should be saved in libtool wrapper scripts and
10432
 
# restored at relink time.
10433
 
variables_saved_for_relink="$variables_saved_for_relink"
10434
 
 
10435
 
# Whether libtool must link a program against all its dependency libraries.
10436
 
link_all_deplibs=$link_all_deplibs
10437
 
 
10438
 
# Compile-time system search path for libraries
10439
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10440
 
 
10441
 
# Run-time system search path for libraries
10442
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10443
 
 
10444
 
# Fix the shell variable \$srcfile for the compiler.
10445
 
fix_srcfile_path="$fix_srcfile_path"
10446
 
 
10447
 
# Set to yes if exported symbols are required.
10448
 
always_export_symbols=$always_export_symbols
10449
 
 
10450
 
# The commands to list exported symbols.
10451
 
export_symbols_cmds=$lt_export_symbols_cmds
10452
 
 
10453
 
# The commands to extract the exported symbol list from a shared archive.
10454
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
10455
 
 
10456
 
# Symbols that should not be listed in the preloaded symbols.
10457
 
exclude_expsyms=$lt_exclude_expsyms
10458
 
 
10459
 
# Symbols that must always be exported.
10460
 
include_expsyms=$lt_include_expsyms
10461
 
 
10462
 
# ### END LIBTOOL CONFIG
10463
 
 
10464
 
__EOF__
10465
 
 
10466
 
 
10467
 
  case $host_os in
10468
 
  aix3*)
10469
 
    cat <<\EOF >> "$cfgfile"
10470
 
 
10471
 
# AIX sometimes has problems with the GCC collect2 program.  For some
10472
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
10473
 
# vanish in a puff of smoke.
10474
 
if test "X${COLLECT_NAMES+set}" != Xset; then
10475
 
  COLLECT_NAMES=
10476
 
  export COLLECT_NAMES
10477
 
fi
10478
 
EOF
10479
 
    ;;
10480
 
  esac
10481
 
 
10482
 
  # We use sed instead of cat because bash on DJGPP gets confused if
10483
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
10484
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
10485
 
  # is reportedly fixed, but why not run on old versions too?
10486
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10487
 
 
10488
 
  mv -f "$cfgfile" "$ofile" || \
10489
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10490
 
  chmod +x "$ofile"
10491
 
 
10492
 
else
10493
 
  # If there is no Makefile yet, we rely on a make rule to execute
10494
 
  # `config.status --recheck' to rerun these tests and create the
10495
 
  # libtool script then.
10496
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10497
 
  if test -f "$ltmain_in"; then
10498
 
    test -f Makefile && make "$ltmain"
10499
 
  fi
10500
 
fi
10501
 
 
10502
 
 
10503
 
ac_ext=c
10504
 
ac_cpp='$CPP $CPPFLAGS'
10505
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10506
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10507
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10508
 
 
10509
 
CC="$lt_save_CC"
10510
 
 
10511
 
 
10512
 
# Check whether --with-tags was given.
10513
 
if test "${with_tags+set}" = set; then
10514
 
  withval=$with_tags; tagnames="$withval"
10515
 
fi
10516
 
 
10517
 
 
10518
 
if test -f "$ltmain" && test -n "$tagnames"; then
10519
 
  if test ! -f "${ofile}"; then
10520
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
10521
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10522
 
  fi
10523
 
 
10524
 
  if test -z "$LTCC"; then
10525
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
10526
 
    if test -z "$LTCC"; then
10527
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10528
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10529
 
    else
10530
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10531
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10532
 
    fi
10533
 
  fi
10534
 
 
10535
 
  # Extract list of available tagged configurations in $ofile.
10536
 
  # Note that this assumes the entire list is on one line.
10537
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10538
 
 
10539
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10540
 
  for tagname in $tagnames; do
10541
 
    IFS="$lt_save_ifs"
10542
 
    # Check whether tagname contains only valid characters
10543
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10544
 
    "") ;;
10545
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10546
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
10547
 
   { (exit 1); exit 1; }; }
10548
 
        ;;
10549
 
    esac
10550
 
 
10551
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10552
 
    then
10553
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10554
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10555
 
   { (exit 1); exit 1; }; }
10556
 
    fi
10557
 
 
10558
 
    # Update the list of available tags.
10559
 
    if test -n "$tagname"; then
10560
 
      echo appending configuration tag \"$tagname\" to $ofile
10561
 
 
10562
 
      case $tagname in
10563
 
      CXX)
10564
 
        if test -n "$CXX" && test "X$CXX" != "Xno"; then
10565
 
          ac_ext=cpp
10566
 
ac_cpp='$CXXCPP $CPPFLAGS'
10567
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10568
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10569
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10570
 
 
10571
 
 
10572
 
 
10573
 
 
10574
 
archive_cmds_need_lc_CXX=no
10575
 
allow_undefined_flag_CXX=
10576
 
always_export_symbols_CXX=no
10577
 
archive_expsym_cmds_CXX=
10578
 
export_dynamic_flag_spec_CXX=
10579
 
hardcode_direct_CXX=no
10580
 
hardcode_libdir_flag_spec_CXX=
10581
 
hardcode_libdir_flag_spec_ld_CXX=
10582
 
hardcode_libdir_separator_CXX=
10583
 
hardcode_minus_L_CXX=no
10584
 
hardcode_automatic_CXX=no
10585
 
module_cmds_CXX=
10586
 
module_expsym_cmds_CXX=
10587
 
link_all_deplibs_CXX=unknown
10588
 
old_archive_cmds_CXX=$old_archive_cmds
10589
 
no_undefined_flag_CXX=
10590
 
whole_archive_flag_spec_CXX=
10591
 
enable_shared_with_static_runtimes_CXX=no
10592
 
 
10593
 
# Dependencies to place before and after the object being linked:
10594
 
predep_objects_CXX=
10595
 
postdep_objects_CXX=
10596
 
predeps_CXX=
10597
 
postdeps_CXX=
10598
 
compiler_lib_search_path_CXX=
10599
 
 
10600
 
# Source file extension for C++ test sources.
10601
 
ac_ext=cc
10602
 
 
10603
 
# Object file extension for compiled C++ test sources.
10604
 
objext=o
10605
 
objext_CXX=$objext
10606
 
 
10607
 
# Code to be used in simple compile tests
10608
 
lt_simple_compile_test_code="int some_variable = 0;\n"
10609
 
 
10610
 
# Code to be used in simple link tests
10611
 
lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
10612
 
 
10613
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
10614
 
 
10615
 
# If no C compiler was specified, use CC.
10616
 
LTCC=${LTCC-"$CC"}
10617
 
 
10618
 
# Allow CC to be a program name with arguments.
10619
 
compiler=$CC
10620
 
 
10621
 
 
10622
 
# Allow CC to be a program name with arguments.
10623
 
lt_save_CC=$CC
10624
 
lt_save_LD=$LD
10625
 
lt_save_GCC=$GCC
10626
 
GCC=$GXX
10627
 
lt_save_with_gnu_ld=$with_gnu_ld
10628
 
lt_save_path_LD=$lt_cv_path_LD
10629
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10630
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10631
 
else
10632
 
  unset lt_cv_prog_gnu_ld
10633
 
fi
10634
 
if test -n "${lt_cv_path_LDCXX+set}"; then
10635
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
10636
 
else
10637
 
  unset lt_cv_path_LD
10638
 
fi
10639
 
test -z "${LDCXX+set}" || LD=$LDCXX
10640
 
CC=${CXX-"c++"}
10641
 
compiler=$CC
10642
 
compiler_CXX=$CC
10643
 
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
10644
 
 
10645
 
# We don't want -fno-exception wen compiling C++ code, so set the
10646
 
# no_builtin_flag separately
10647
 
if test "$GXX" = yes; then
10648
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10649
 
else
10650
 
  lt_prog_compiler_no_builtin_flag_CXX=
10651
 
fi
10652
 
 
10653
 
if test "$GXX" = yes; then
10654
 
  # Set up default GNU C++ configuration
10655
 
 
10656
 
  
10657
 
# Check whether --with-gnu-ld was given.
10658
 
if test "${with_gnu_ld+set}" = set; then
10659
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10660
 
else
10661
 
  with_gnu_ld=no
10662
 
fi
10663
 
 
10664
 
ac_prog=ld
10665
 
if test "$GCC" = yes; then
10666
 
  # Check if gcc -print-prog-name=ld gives a path.
10667
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10668
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10669
 
  case $host in
10670
 
  *-*-mingw*)
10671
 
    # gcc leaves a trailing carriage return which upsets mingw
10672
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10673
 
  *)
10674
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10675
 
  esac
10676
 
  case $ac_prog in
10677
 
    # Accept absolute paths.
10678
 
    [\\/]* | ?:[\\/]*)
10679
 
      re_direlt='/[^/][^/]*/\.\./'
10680
 
      # Canonicalize the pathname of ld
10681
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
10682
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10683
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10684
 
      done
10685
 
      test -z "$LD" && LD="$ac_prog"
10686
 
      ;;
10687
 
  "")
10688
 
    # If it fails, then pretend we aren't using GCC.
10689
 
    ac_prog=ld
10690
 
    ;;
10691
 
  *)
10692
 
    # If it is relative, then search for the first ld in PATH.
10693
 
    with_gnu_ld=unknown
10694
 
    ;;
10695
 
  esac
10696
 
elif test "$with_gnu_ld" = yes; then
10697
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
10698
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10699
 
else
10700
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10701
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10702
 
fi
10703
 
if test "${lt_cv_path_LD+set}" = set; then
10704
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10705
 
else
10706
 
  if test -z "$LD"; then
10707
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10708
 
  for ac_dir in $PATH; do
10709
 
    IFS="$lt_save_ifs"
10710
 
    test -z "$ac_dir" && ac_dir=.
10711
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10712
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
10713
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
10714
 
      # but apparently some GNU ld's only accept -v.
10715
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
10716
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10717
 
      *GNU* | *'with BFD'*)
10718
 
        test "$with_gnu_ld" != no && break
10719
 
        ;;
10720
 
      *)
10721
 
        test "$with_gnu_ld" != yes && break
10722
 
        ;;
10723
 
      esac
10724
 
    fi
10725
 
  done
10726
 
  IFS="$lt_save_ifs"
10727
 
else
10728
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
10729
 
fi
10730
 
fi
10731
 
 
10732
 
LD="$lt_cv_path_LD"
10733
 
if test -n "$LD"; then
10734
 
  { echo "$as_me:$LINENO: result: $LD" >&5
10735
 
echo "${ECHO_T}$LD" >&6; }
10736
 
else
10737
 
  { echo "$as_me:$LINENO: result: no" >&5
10738
 
echo "${ECHO_T}no" >&6; }
10739
 
fi
10740
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10741
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10742
 
   { (exit 1); exit 1; }; }
10743
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10744
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10745
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
10746
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10747
 
else
10748
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10749
 
case `$LD -v 2>&1 </dev/null` in
10750
 
*GNU* | *'with BFD'*)
10751
 
  lt_cv_prog_gnu_ld=yes
10752
 
  ;;
10753
 
*)
10754
 
  lt_cv_prog_gnu_ld=no
10755
 
  ;;
10756
 
esac
10757
 
fi
10758
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10759
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10760
 
with_gnu_ld=$lt_cv_prog_gnu_ld
10761
 
 
10762
 
 
10763
 
 
10764
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
10765
 
  # archiving commands below assume that GNU ld is being used.
10766
 
  if test "$with_gnu_ld" = yes; then
10767
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10768
 
    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10769
 
 
10770
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10771
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10772
 
 
10773
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
10774
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10775
 
    #     investigate it a little bit more. (MM)
10776
 
    wlarc='${wl}'
10777
 
 
10778
 
    # ancient GNU ld didn't support --whole-archive et. al.
10779
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10780
 
        grep 'no-whole-archive' > /dev/null; then
10781
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10782
 
    else
10783
 
      whole_archive_flag_spec_CXX=
10784
 
    fi
10785
 
  else
10786
 
    with_gnu_ld=no
10787
 
    wlarc=
10788
 
 
10789
 
    # A generic and very simple default shared library creation
10790
 
    # command for GNU C++ for the case where it uses the native
10791
 
    # linker, instead of GNU ld.  If possible, this setting should
10792
 
    # overridden to take advantage of the native linker features on
10793
 
    # the platform it is being used on.
10794
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10795
 
  fi
10796
 
 
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
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10801
 
 
10802
 
else
10803
 
  GXX=no
10804
 
  with_gnu_ld=no
10805
 
  wlarc=
10806
 
fi
10807
 
 
10808
 
# PORTME: fill in a description of your system's C++ link characteristics
10809
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10810
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10811
 
ld_shlibs_CXX=yes
10812
 
case $host_os in
10813
 
  aix3*)
10814
 
    # FIXME: insert proper C++ library support
10815
 
    ld_shlibs_CXX=no
10816
 
    ;;
10817
 
  aix4* | aix5*)
10818
 
    if test "$host_cpu" = ia64; then
10819
 
      # On IA64, the linker does run time linking by default, so we don't
10820
 
      # have to do anything special.
10821
 
      aix_use_runtimelinking=no
10822
 
      exp_sym_flag='-Bexport'
10823
 
      no_entry_flag=""
10824
 
    else
10825
 
      aix_use_runtimelinking=no
10826
 
 
10827
 
      # Test if we are trying to use run time linking or normal
10828
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10829
 
      # need to do runtime linking.
10830
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10831
 
        for ld_flag in $LDFLAGS; do
10832
 
          case $ld_flag in
10833
 
          *-brtl*)
10834
 
            aix_use_runtimelinking=yes
10835
 
            break
10836
 
            ;;
10837
 
          esac
10838
 
        done
10839
 
      esac
10840
 
 
10841
 
      exp_sym_flag='-bexport'
10842
 
      no_entry_flag='-bnoentry'
10843
 
    fi
10844
 
 
10845
 
    # When large executables or shared objects are built, AIX ld can
10846
 
    # have problems creating the table of contents.  If linking a library
10847
 
    # or program results in "error TOC overflow" add -mminimal-toc to
10848
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10849
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10850
 
 
10851
 
    archive_cmds_CXX=''
10852
 
    hardcode_direct_CXX=yes
10853
 
    hardcode_libdir_separator_CXX=':'
10854
 
    link_all_deplibs_CXX=yes
10855
 
 
10856
 
    if test "$GXX" = yes; then
10857
 
      case $host_os in aix4.012|aix4.012.*)
10858
 
      # We only want to do this on AIX 4.2 and lower, the check
10859
 
      # below for broken collect2 doesn't work under 4.3+
10860
 
        collect2name=`${CC} -print-prog-name=collect2`
10861
 
        if test -f "$collect2name" && \
10862
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
10863
 
        then
10864
 
          # We have reworked collect2
10865
 
          hardcode_direct_CXX=yes
10866
 
        else
10867
 
          # We have old collect2
10868
 
          hardcode_direct_CXX=unsupported
10869
 
          # It fails to find uninstalled libraries when the uninstalled
10870
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
10871
 
          # to unsupported forces relinking
10872
 
          hardcode_minus_L_CXX=yes
10873
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
10874
 
          hardcode_libdir_separator_CXX=
10875
 
        fi
10876
 
      esac
10877
 
      shared_flag='-shared'
10878
 
    else
10879
 
      # not using gcc
10880
 
      if test "$host_cpu" = ia64; then
10881
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10882
 
        # chokes on -Wl,-G. The following line is correct:
10883
 
        shared_flag='-G'
10884
 
      else
10885
 
        if test "$aix_use_runtimelinking" = yes; then
10886
 
          shared_flag='${wl}-G'
10887
 
        else
10888
 
          shared_flag='${wl}-bM:SRE'
10889
 
        fi
10890
 
      fi
10891
 
    fi
10892
 
 
10893
 
    # It seems that -bexpall does not export symbols beginning with
10894
 
    # underscore (_), so it is better to generate a list of symbols to export.
10895
 
    always_export_symbols_CXX=yes
10896
 
    if test "$aix_use_runtimelinking" = yes; then
10897
 
      # Warning - without using the other runtime loading flags (-brtl),
10898
 
      # -berok will link without error, but may produce a broken library.
10899
 
      allow_undefined_flag_CXX='-berok'
10900
 
      # Determine the default libpath from the value encoded in an empty executable.
10901
 
      cat >conftest.$ac_ext <<_ACEOF
10902
 
/* confdefs.h.  */
10903
 
_ACEOF
10904
 
cat confdefs.h >>conftest.$ac_ext
10905
 
cat >>conftest.$ac_ext <<_ACEOF
10906
 
/* end confdefs.h.  */
10907
 
 
10908
 
int
10909
 
main ()
10910
 
{
10911
 
 
10912
 
  ;
10913
 
  return 0;
10914
 
}
10915
 
_ACEOF
10916
 
rm -f conftest.$ac_objext conftest$ac_exeext
10917
 
if { (ac_try="$ac_link"
10918
 
case "(($ac_try" in
10919
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10920
 
  *) ac_try_echo=$ac_try;;
10921
 
esac
10922
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10923
 
  (eval "$ac_link") 2>conftest.er1
10924
 
  ac_status=$?
10925
 
  grep -v '^ *+' conftest.er1 >conftest.err
10926
 
  rm -f conftest.er1
10927
 
  cat conftest.err >&5
10928
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10929
 
  (exit $ac_status); } && {
10930
 
         test -z "$ac_cxx_werror_flag" ||
10931
 
         test ! -s conftest.err
10932
 
       } && test -s conftest$ac_exeext &&
10933
 
       $as_test_x conftest$ac_exeext; then
10934
 
  
10935
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10936
 
}'`
10937
 
# Check for a 64-bit object if we didn't find anything.
10938
 
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; }
10939
 
}'`; fi
10940
 
else
10941
 
  echo "$as_me: failed program was:" >&5
10942
 
sed 's/^/| /' conftest.$ac_ext >&5
10943
 
 
10944
 
        
10945
 
fi
10946
 
 
10947
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10948
 
      conftest$ac_exeext conftest.$ac_ext
10949
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10950
 
 
10951
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10952
 
 
10953
 
      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"
10954
 
     else
10955
 
      if test "$host_cpu" = ia64; then
10956
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
10957
 
        allow_undefined_flag_CXX="-z nodefs"
10958
 
        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"
10959
 
      else
10960
 
        # Determine the default libpath from the value encoded in an empty executable.
10961
 
        cat >conftest.$ac_ext <<_ACEOF
10962
 
/* confdefs.h.  */
10963
 
_ACEOF
10964
 
cat confdefs.h >>conftest.$ac_ext
10965
 
cat >>conftest.$ac_ext <<_ACEOF
10966
 
/* end confdefs.h.  */
10967
 
 
10968
 
int
10969
 
main ()
10970
 
{
10971
 
 
10972
 
  ;
10973
 
  return 0;
10974
 
}
10975
 
_ACEOF
10976
 
rm -f conftest.$ac_objext conftest$ac_exeext
10977
 
if { (ac_try="$ac_link"
10978
 
case "(($ac_try" in
10979
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10980
 
  *) ac_try_echo=$ac_try;;
10981
 
esac
10982
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10983
 
  (eval "$ac_link") 2>conftest.er1
10984
 
  ac_status=$?
10985
 
  grep -v '^ *+' conftest.er1 >conftest.err
10986
 
  rm -f conftest.er1
10987
 
  cat conftest.err >&5
10988
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10989
 
  (exit $ac_status); } && {
10990
 
         test -z "$ac_cxx_werror_flag" ||
10991
 
         test ! -s conftest.err
10992
 
       } && test -s conftest$ac_exeext &&
10993
 
       $as_test_x conftest$ac_exeext; then
10994
 
  
10995
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10996
 
}'`
10997
 
# Check for a 64-bit object if we didn't find anything.
10998
 
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; }
10999
 
}'`; fi
11000
 
else
11001
 
  echo "$as_me: failed program was:" >&5
11002
 
sed 's/^/| /' conftest.$ac_ext >&5
11003
 
 
11004
 
        
11005
 
fi
11006
 
 
11007
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11008
 
      conftest$ac_exeext conftest.$ac_ext
11009
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11010
 
 
11011
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11012
 
        # Warning - without using the other run time loading flags,
11013
 
        # -berok will link without error, but may produce a broken library.
11014
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
11015
 
        allow_undefined_flag_CXX=' ${wl}-berok'
11016
 
        # -bexpall does not export symbols beginning with underscore (_)
11017
 
        always_export_symbols_CXX=yes
11018
 
        # Exported symbols can be pulled into shared objects from archives
11019
 
        whole_archive_flag_spec_CXX=' '
11020
 
        archive_cmds_need_lc_CXX=yes
11021
 
        # This is similar to how AIX traditionally builds it's shared libraries.
11022
 
        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'
11023
 
      fi
11024
 
    fi
11025
 
    ;;
11026
 
  chorus*)
11027
 
    case $cc_basename in
11028
 
      *)
11029
 
        # FIXME: insert proper C++ library support
11030
 
        ld_shlibs_CXX=no
11031
 
        ;;
11032
 
    esac
11033
 
    ;;
11034
 
 
11035
 
  cygwin* | mingw* | pw32*)
11036
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11037
 
    # as there is no search path for DLLs.
11038
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
11039
 
    allow_undefined_flag_CXX=unsupported
11040
 
    always_export_symbols_CXX=no
11041
 
    enable_shared_with_static_runtimes_CXX=yes
11042
 
 
11043
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11044
 
      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'
11045
 
      # If the export-symbols file already is a .def file (1st line
11046
 
      # is EXPORTS), use it as is; otherwise, prepend...
11047
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11048
 
        cp $export_symbols $output_objdir/$soname.def;
11049
 
      else
11050
 
        echo EXPORTS > $output_objdir/$soname.def;
11051
 
        cat $export_symbols >> $output_objdir/$soname.def;
11052
 
      fi~
11053
 
      $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'
11054
 
    else
11055
 
      ld_shlibs_CXX=no
11056
 
    fi
11057
 
  ;;
11058
 
 
11059
 
  darwin* | rhapsody*)
11060
 
  if test "$GXX" = yes; then
11061
 
    archive_cmds_need_lc_CXX=no
11062
 
    case "$host_os" in
11063
 
    rhapsody* | darwin1.[012])
11064
 
      allow_undefined_flag_CXX='-undefined suppress'
11065
 
      ;;
11066
 
    *) # Darwin 1.3 on
11067
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11068
 
        allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
11069
 
      else
11070
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
11071
 
          10.[012])
11072
 
            allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
11073
 
            ;;
11074
 
          10.*)
11075
 
            allow_undefined_flag_CXX='-undefined dynamic_lookup'
11076
 
            ;;
11077
 
        esac
11078
 
      fi
11079
 
      ;;
11080
 
    esac
11081
 
    lt_int_apple_cc_single_mod=no
11082
 
    output_verbose_link_cmd='echo'
11083
 
    if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
11084
 
      lt_int_apple_cc_single_mod=yes
11085
 
    fi
11086
 
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11087
 
      archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11088
 
    else
11089
 
      archive_cmds_CXX='$CC -r ${wl}-bind_at_load -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'
11090
 
    fi
11091
 
    module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11092
 
 
11093
 
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
11094
 
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11095
 
      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}'
11096
 
    else
11097
 
      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
11098
 
    fi
11099
 
    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}'
11100
 
    hardcode_direct_CXX=no
11101
 
    hardcode_automatic_CXX=yes
11102
 
    hardcode_shlibpath_var_CXX=unsupported
11103
 
    whole_archive_flag_spec_CXX='-all_load $convenience'
11104
 
    link_all_deplibs_CXX=yes
11105
 
  else
11106
 
    ld_shlibs_CXX=no
11107
 
  fi
11108
 
    ;;
11109
 
 
11110
 
  dgux*)
11111
 
    case $cc_basename in
11112
 
      ec++)
11113
 
        # FIXME: insert proper C++ library support
11114
 
        ld_shlibs_CXX=no
11115
 
        ;;
11116
 
      ghcx)
11117
 
        # Green Hills C++ Compiler
11118
 
        # FIXME: insert proper C++ library support
11119
 
        ld_shlibs_CXX=no
11120
 
        ;;
11121
 
      *)
11122
 
        # FIXME: insert proper C++ library support
11123
 
        ld_shlibs_CXX=no
11124
 
        ;;
11125
 
    esac
11126
 
    ;;
11127
 
  freebsd12*)
11128
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
11129
 
    ld_shlibs_CXX=no
11130
 
    ;;
11131
 
  freebsd-elf*)
11132
 
    archive_cmds_need_lc_CXX=no
11133
 
    ;;
11134
 
  freebsd* | kfreebsd*-gnu)
11135
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11136
 
    # conventions
11137
 
    ld_shlibs_CXX=yes
11138
 
    ;;
11139
 
  gnu*)
11140
 
    ;;
11141
 
  hpux9*)
11142
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11143
 
    hardcode_libdir_separator_CXX=:
11144
 
    export_dynamic_flag_spec_CXX='${wl}-E'
11145
 
    hardcode_direct_CXX=yes
11146
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
11147
 
                                # but as the default
11148
 
                                # location of the library.
11149
 
 
11150
 
    case $cc_basename in
11151
 
    CC)
11152
 
      # FIXME: insert proper C++ library support
11153
 
      ld_shlibs_CXX=no
11154
 
      ;;
11155
 
    aCC)
11156
 
      archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11157
 
      # Commands to make compiler produce verbose output that lists
11158
 
      # what "hidden" libraries, object files and flags are used when
11159
 
      # linking a shared library.
11160
 
      #
11161
 
      # There doesn't appear to be a way to prevent this compiler from
11162
 
      # explicitly linking system object files so we need to strip them
11163
 
      # from the output so that they don't get included in the library
11164
 
      # dependencies.
11165
 
      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11166
 
      ;;
11167
 
    *)
11168
 
      if test "$GXX" = yes; then
11169
 
        archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11170
 
      else
11171
 
        # FIXME: insert proper C++ library support
11172
 
        ld_shlibs_CXX=no
11173
 
      fi
11174
 
      ;;
11175
 
    esac
11176
 
    ;;
11177
 
  hpux10*|hpux11*)
11178
 
    if test $with_gnu_ld = no; then
11179
 
      case "$host_cpu" in
11180
 
      hppa*64*)
11181
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11182
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11183
 
        hardcode_libdir_separator_CXX=:
11184
 
        ;;
11185
 
      ia64*)
11186
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
11187
 
        ;;
11188
 
      *)
11189
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11190
 
        hardcode_libdir_separator_CXX=:
11191
 
        export_dynamic_flag_spec_CXX='${wl}-E'
11192
 
        ;;
11193
 
      esac
11194
 
    fi
11195
 
    case "$host_cpu" in
11196
 
    hppa*64*)
11197
 
      hardcode_direct_CXX=no
11198
 
      hardcode_shlibpath_var_CXX=no
11199
 
      ;;
11200
 
    ia64*)
11201
 
      hardcode_direct_CXX=no
11202
 
      hardcode_shlibpath_var_CXX=no
11203
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
11204
 
                                              # but as the default
11205
 
                                              # location of the library.
11206
 
      ;;
11207
 
    *)
11208
 
      hardcode_direct_CXX=yes
11209
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
11210
 
                                              # but as the default
11211
 
                                              # location of the library.
11212
 
      ;;
11213
 
    esac
11214
 
 
11215
 
    case $cc_basename in
11216
 
      CC)
11217
 
        # FIXME: insert proper C++ library support
11218
 
        ld_shlibs_CXX=no
11219
 
        ;;
11220
 
      aCC)
11221
 
        case "$host_cpu" in
11222
 
        hppa*64*|ia64*)
11223
 
          archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
11224
 
          ;;
11225
 
        *)
11226
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11227
 
          ;;
11228
 
        esac
11229
 
        # Commands to make compiler produce verbose output that lists
11230
 
        # what "hidden" libraries, object files and flags are used when
11231
 
        # linking a shared library.
11232
 
        #
11233
 
        # There doesn't appear to be a way to prevent this compiler from
11234
 
        # explicitly linking system object files so we need to strip them
11235
 
        # from the output so that they don't get included in the library
11236
 
        # dependencies.
11237
 
        output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11238
 
        ;;
11239
 
      *)
11240
 
        if test "$GXX" = yes; then
11241
 
          if test $with_gnu_ld = no; then
11242
 
            case "$host_cpu" in
11243
 
            ia64*|hppa*64*)
11244
 
              archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
11245
 
              ;;
11246
 
            *)
11247
 
              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'
11248
 
              ;;
11249
 
            esac
11250
 
          fi
11251
 
        else
11252
 
          # FIXME: insert proper C++ library support
11253
 
          ld_shlibs_CXX=no
11254
 
        fi
11255
 
        ;;
11256
 
    esac
11257
 
    ;;
11258
 
  irix5* | irix6*)
11259
 
    case $cc_basename in
11260
 
      CC)
11261
 
        # SGI C++
11262
 
        archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
11263
 
 
11264
 
        # Archives containing C++ object files must be created using
11265
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
11266
 
        # necessary to make sure instantiated templates are included
11267
 
        # in the archive.
11268
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11269
 
        ;;
11270
 
      *)
11271
 
        if test "$GXX" = yes; then
11272
 
          if test "$with_gnu_ld" = no; then
11273
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
11274
 
          else
11275
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
11276
 
          fi
11277
 
        fi
11278
 
        link_all_deplibs_CXX=yes
11279
 
        ;;
11280
 
    esac
11281
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11282
 
    hardcode_libdir_separator_CXX=:
11283
 
    ;;
11284
 
  linux*)
11285
 
    case $cc_basename in
11286
 
      KCC)
11287
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11288
 
 
11289
 
        # KCC will only create a shared library if the output file
11290
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11291
 
        # to its proper name (with version) after linking.
11292
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11293
 
        archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
11294
 
        # Commands to make compiler produce verbose output that lists
11295
 
        # what "hidden" libraries, object files and flags are used when
11296
 
        # linking a shared library.
11297
 
        #
11298
 
        # There doesn't appear to be a way to prevent this compiler from
11299
 
        # explicitly linking system object files so we need to strip them
11300
 
        # from the output so that they don't get included in the library
11301
 
        # dependencies.
11302
 
        output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11303
 
 
11304
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
11305
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11306
 
 
11307
 
        # Archives containing C++ object files must be created using
11308
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11309
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11310
 
        ;;
11311
 
      icpc)
11312
 
        # Intel C++
11313
 
        with_gnu_ld=yes
11314
 
        archive_cmds_need_lc_CXX=no
11315
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11316
 
        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'
11317
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11318
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11319
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11320
 
        ;;
11321
 
      cxx)
11322
 
        # Compaq C++
11323
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11324
 
        archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
11325
 
 
11326
 
        runpath_var=LD_RUN_PATH
11327
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11328
 
        hardcode_libdir_separator_CXX=:
11329
 
 
11330
 
        # Commands to make compiler produce verbose output that lists
11331
 
        # what "hidden" libraries, object files and flags are used when
11332
 
        # linking a shared library.
11333
 
        #
11334
 
        # There doesn't appear to be a way to prevent this compiler from
11335
 
        # explicitly linking system object files so we need to strip them
11336
 
        # from the output so that they don't get included in the library
11337
 
        # dependencies.
11338
 
        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'
11339
 
        ;;
11340
 
    esac
11341
 
    ;;
11342
 
  lynxos*)
11343
 
    # FIXME: insert proper C++ library support
11344
 
    ld_shlibs_CXX=no
11345
 
    ;;
11346
 
  m88k*)
11347
 
    # FIXME: insert proper C++ library support
11348
 
    ld_shlibs_CXX=no
11349
 
    ;;
11350
 
  mvs*)
11351
 
    case $cc_basename in
11352
 
      cxx)
11353
 
        # FIXME: insert proper C++ library support
11354
 
        ld_shlibs_CXX=no
11355
 
        ;;
11356
 
      *)
11357
 
        # FIXME: insert proper C++ library support
11358
 
        ld_shlibs_CXX=no
11359
 
        ;;
11360
 
    esac
11361
 
    ;;
11362
 
  netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
11363
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11364
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11365
 
      wlarc=
11366
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
11367
 
      hardcode_direct_CXX=yes
11368
 
      hardcode_shlibpath_var_CXX=no
11369
 
    fi
11370
 
    # Workaround some broken pre-1.5 toolchains
11371
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11372
 
    ;;
11373
 
  osf3*)
11374
 
    case $cc_basename in
11375
 
      KCC)
11376
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11377
 
 
11378
 
        # KCC will only create a shared library if the output file
11379
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11380
 
        # to its proper name (with version) after linking.
11381
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11382
 
 
11383
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11384
 
        hardcode_libdir_separator_CXX=:
11385
 
 
11386
 
        # Archives containing C++ object files must be created using
11387
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11388
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11389
 
 
11390
 
        ;;
11391
 
      RCC)
11392
 
        # Rational C++ 2.4.1
11393
 
        # FIXME: insert proper C++ library support
11394
 
        ld_shlibs_CXX=no
11395
 
        ;;
11396
 
      cxx)
11397
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11398
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
11399
 
 
11400
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11401
 
        hardcode_libdir_separator_CXX=:
11402
 
 
11403
 
        # Commands to make compiler produce verbose output that lists
11404
 
        # what "hidden" libraries, object files and flags are used when
11405
 
        # linking a shared library.
11406
 
        #
11407
 
        # There doesn't appear to be a way to prevent this compiler from
11408
 
        # explicitly linking system object files so we need to strip them
11409
 
        # from the output so that they don't get included in the library
11410
 
        # dependencies.
11411
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "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'
11412
 
        ;;
11413
 
      *)
11414
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11415
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11416
 
          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
11417
 
 
11418
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11419
 
          hardcode_libdir_separator_CXX=:
11420
 
 
11421
 
          # Commands to make compiler produce verbose output that lists
11422
 
          # what "hidden" libraries, object files and flags are used when
11423
 
          # linking a shared library.
11424
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11425
 
 
11426
 
        else
11427
 
          # FIXME: insert proper C++ library support
11428
 
          ld_shlibs_CXX=no
11429
 
        fi
11430
 
        ;;
11431
 
    esac
11432
 
    ;;
11433
 
  osf4* | osf5*)
11434
 
    case $cc_basename in
11435
 
      KCC)
11436
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11437
 
 
11438
 
        # KCC will only create a shared library if the output file
11439
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11440
 
        # to its proper name (with version) after linking.
11441
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11442
 
 
11443
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11444
 
        hardcode_libdir_separator_CXX=:
11445
 
 
11446
 
        # Archives containing C++ object files must be created using
11447
 
        # the KAI C++ compiler.
11448
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
11449
 
        ;;
11450
 
      RCC)
11451
 
        # Rational C++ 2.4.1
11452
 
        # FIXME: insert proper C++ library support
11453
 
        ld_shlibs_CXX=no
11454
 
        ;;
11455
 
      cxx)
11456
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
11457
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
11458
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11459
 
          echo "-hidden">> $lib.exp~
11460
 
          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
11461
 
          $rm $lib.exp'
11462
 
 
11463
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11464
 
        hardcode_libdir_separator_CXX=:
11465
 
 
11466
 
        # Commands to make compiler produce verbose output that lists
11467
 
        # what "hidden" libraries, object files and flags are used when
11468
 
        # linking a shared library.
11469
 
        #
11470
 
        # There doesn't appear to be a way to prevent this compiler from
11471
 
        # explicitly linking system object files so we need to strip them
11472
 
        # from the output so that they don't get included in the library
11473
 
        # dependencies.
11474
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "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'
11475
 
        ;;
11476
 
      *)
11477
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11478
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11479
 
         archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
11480
 
 
11481
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11482
 
          hardcode_libdir_separator_CXX=:
11483
 
 
11484
 
          # Commands to make compiler produce verbose output that lists
11485
 
          # what "hidden" libraries, object files and flags are used when
11486
 
          # linking a shared library.
11487
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11488
 
 
11489
 
        else
11490
 
          # FIXME: insert proper C++ library support
11491
 
          ld_shlibs_CXX=no
11492
 
        fi
11493
 
        ;;
11494
 
    esac
11495
 
    ;;
11496
 
  psos*)
11497
 
    # FIXME: insert proper C++ library support
11498
 
    ld_shlibs_CXX=no
11499
 
    ;;
11500
 
  sco*)
11501
 
    archive_cmds_need_lc_CXX=no
11502
 
    case $cc_basename in
11503
 
      CC)
11504
 
        # FIXME: insert proper C++ library support
11505
 
        ld_shlibs_CXX=no
11506
 
        ;;
11507
 
      *)
11508
 
        # FIXME: insert proper C++ library support
11509
 
        ld_shlibs_CXX=no
11510
 
        ;;
11511
 
    esac
11512
 
    ;;
11513
 
  sunos4*)
11514
 
    case $cc_basename in
11515
 
      CC)
11516
 
        # Sun C++ 4.x
11517
 
        # FIXME: insert proper C++ library support
11518
 
        ld_shlibs_CXX=no
11519
 
        ;;
11520
 
      lcc)
11521
 
        # Lucid
11522
 
        # FIXME: insert proper C++ library support
11523
 
        ld_shlibs_CXX=no
11524
 
        ;;
11525
 
      *)
11526
 
        # FIXME: insert proper C++ library support
11527
 
        ld_shlibs_CXX=no
11528
 
        ;;
11529
 
    esac
11530
 
    ;;
11531
 
  solaris*)
11532
 
    case $cc_basename in
11533
 
      CC)
11534
 
        # Sun C++ 4.2, 5.x and Centerline C++
11535
 
        no_undefined_flag_CXX=' -zdefs'
11536
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11537
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11538
 
        $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'
11539
 
 
11540
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
11541
 
        hardcode_shlibpath_var_CXX=no
11542
 
        case $host_os in
11543
 
          solaris2.0-5 | solaris2.0-5.*) ;;
11544
 
          *)
11545
 
            # The C++ compiler is used as linker so we must use $wl
11546
 
            # flag to pass the commands to the underlying system
11547
 
            # linker.
11548
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
11549
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11550
 
            ;;
11551
 
        esac
11552
 
        link_all_deplibs_CXX=yes
11553
 
 
11554
 
        # Commands to make compiler produce verbose output that lists
11555
 
        # what "hidden" libraries, object files and flags are used when
11556
 
        # linking a shared library.
11557
 
        #
11558
 
        # There doesn't appear to be a way to prevent this compiler from
11559
 
        # explicitly linking system object files so we need to strip them
11560
 
        # from the output so that they don't get included in the library
11561
 
        # dependencies.
11562
 
        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'
11563
 
 
11564
 
        # Archives containing C++ object files must be created using
11565
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11566
 
        # necessary to make sure instantiated templates are included
11567
 
        # in the archive.
11568
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11569
 
        ;;
11570
 
      gcx)
11571
 
        # Green Hills C++ Compiler
11572
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11573
 
 
11574
 
        # The C++ compiler must be used to create the archive.
11575
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11576
 
        ;;
11577
 
      *)
11578
 
        # GNU C++ compiler with Solaris linker
11579
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11580
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
11581
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
11582
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11583
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11584
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11585
 
 
11586
 
            # Commands to make compiler produce verbose output that lists
11587
 
            # what "hidden" libraries, object files and flags are used when
11588
 
            # linking a shared library.
11589
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11590
 
          else
11591
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
11592
 
            # platform.
11593
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11594
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11595
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11596
 
 
11597
 
            # Commands to make compiler produce verbose output that lists
11598
 
            # what "hidden" libraries, object files and flags are used when
11599
 
            # linking a shared library.
11600
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11601
 
          fi
11602
 
 
11603
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
11604
 
        fi
11605
 
        ;;
11606
 
    esac
11607
 
    ;;
11608
 
  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
11609
 
    archive_cmds_need_lc_CXX=no
11610
 
    ;;
11611
 
  tandem*)
11612
 
    case $cc_basename in
11613
 
      NCC)
11614
 
        # NonStop-UX NCC 3.20
11615
 
        # FIXME: insert proper C++ library support
11616
 
        ld_shlibs_CXX=no
11617
 
        ;;
11618
 
      *)
11619
 
        # FIXME: insert proper C++ library support
11620
 
        ld_shlibs_CXX=no
11621
 
        ;;
11622
 
    esac
11623
 
    ;;
11624
 
  vxworks*)
11625
 
    # FIXME: insert proper C++ library support
11626
 
    ld_shlibs_CXX=no
11627
 
    ;;
11628
 
  *)
11629
 
    # FIXME: insert proper C++ library support
11630
 
    ld_shlibs_CXX=no
11631
 
    ;;
11632
 
esac
11633
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11634
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11635
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
11636
 
 
11637
 
GCC_CXX="$GXX"
11638
 
LD_CXX="$LD"
11639
 
 
11640
 
 
11641
 
cat > conftest.$ac_ext <<EOF
11642
 
class Foo
11643
 
{
11644
 
public:
11645
 
  Foo (void) { a = 0; }
11646
 
private:
11647
 
  int a;
11648
 
};
11649
 
EOF
11650
 
 
11651
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11652
 
  (eval $ac_compile) 2>&5
11653
 
  ac_status=$?
11654
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655
 
  (exit $ac_status); }; then
11656
 
  # Parse the compiler output and extract the necessary
11657
 
  # objects, libraries and library flags.
11658
 
 
11659
 
  # Sentinel used to keep track of whether or not we are before
11660
 
  # the conftest object file.
11661
 
  pre_test_object_deps_done=no
11662
 
 
11663
 
  # The `*' in the case matches for architectures that use `case' in
11664
 
  # $output_verbose_cmd can trigger glob expansion during the loop
11665
 
  # eval without this substitution.
11666
 
  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
11667
 
 
11668
 
  for p in `eval $output_verbose_link_cmd`; do
11669
 
    case $p in
11670
 
 
11671
 
    -L* | -R* | -l*)
11672
 
       # Some compilers place space between "-{L,R}" and the path.
11673
 
       # Remove the space.
11674
 
       if test $p = "-L" \
11675
 
          || test $p = "-R"; then
11676
 
         prev=$p
11677
 
         continue
11678
 
       else
11679
 
         prev=
11680
 
       fi
11681
 
 
11682
 
       if test "$pre_test_object_deps_done" = no; then
11683
 
         case $p in
11684
 
         -L* | -R*)
11685
 
           # Internal compiler library paths should come after those
11686
 
           # provided the user.  The postdeps already come after the
11687
 
           # user supplied libs so there is no need to process them.
11688
 
           if test -z "$compiler_lib_search_path_CXX"; then
11689
 
             compiler_lib_search_path_CXX="${prev}${p}"
11690
 
           else
11691
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
11692
 
           fi
11693
 
           ;;
11694
 
         # The "-l" case would never come before the object being
11695
 
         # linked, so don't bother handling this case.
11696
 
         esac
11697
 
       else
11698
 
         if test -z "$postdeps_CXX"; then
11699
 
           postdeps_CXX="${prev}${p}"
11700
 
         else
11701
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
11702
 
         fi
11703
 
       fi
11704
 
       ;;
11705
 
 
11706
 
    *.$objext)
11707
 
       # This assumes that the test object file only shows up
11708
 
       # once in the compiler output.
11709
 
       if test "$p" = "conftest.$objext"; then
11710
 
         pre_test_object_deps_done=yes
11711
 
         continue
11712
 
       fi
11713
 
 
11714
 
       if test "$pre_test_object_deps_done" = no; then
11715
 
         if test -z "$predep_objects_CXX"; then
11716
 
           predep_objects_CXX="$p"
11717
 
         else
11718
 
           predep_objects_CXX="$predep_objects_CXX $p"
11719
 
         fi
11720
 
       else
11721
 
         if test -z "$postdep_objects_CXX"; then
11722
 
           postdep_objects_CXX="$p"
11723
 
         else
11724
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
11725
 
         fi
11726
 
       fi
11727
 
       ;;
11728
 
 
11729
 
    *) ;; # Ignore the rest.
11730
 
 
11731
 
    esac
11732
 
  done
11733
 
 
11734
 
  # Clean up.
11735
 
  rm -f a.out a.exe
11736
 
else
11737
 
  echo "libtool.m4: error: problem compiling CXX test program"
11738
 
fi
11739
 
 
11740
 
$rm -f confest.$objext
11741
 
 
11742
 
case " $postdeps_CXX " in
11743
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
11744
 
esac
11745
 
 
11746
 
lt_prog_compiler_wl_CXX=
11747
 
lt_prog_compiler_pic_CXX=
11748
 
lt_prog_compiler_static_CXX=
11749
 
 
11750
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11751
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11752
 
 
11753
 
  # C++ specific cases for pic, static, wl, etc.
11754
 
  if test "$GXX" = yes; then
11755
 
    lt_prog_compiler_wl_CXX='-Wl,'
11756
 
    lt_prog_compiler_static_CXX='-static'
11757
 
 
11758
 
    case $host_os in
11759
 
    aix*)
11760
 
      # All AIX code is PIC.
11761
 
      if test "$host_cpu" = ia64; then
11762
 
        # AIX 5 now supports IA64 processor
11763
 
        lt_prog_compiler_static_CXX='-Bstatic'
11764
 
      fi
11765
 
      ;;
11766
 
    amigaos*)
11767
 
      # FIXME: we need at least 68020 code to build shared libraries, but
11768
 
      # adding the `-m68020' flag to GCC prevents building anything better,
11769
 
      # like `-m68040'.
11770
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
11771
 
      ;;
11772
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11773
 
      # PIC is the default for these OSes.
11774
 
      ;;
11775
 
    mingw* | os2* | pw32*)
11776
 
      # This hack is so that the source file can tell whether it is being
11777
 
      # built for inclusion in a dll (and should export symbols for example).
11778
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
11779
 
      ;;
11780
 
    darwin* | rhapsody*)
11781
 
      # PIC is the default on this platform
11782
 
      # Common symbols not allowed in MH_DYLIB files
11783
 
      lt_prog_compiler_pic_CXX='-fno-common'
11784
 
      ;;
11785
 
    *djgpp*)
11786
 
      # DJGPP does not support shared libraries at all
11787
 
      lt_prog_compiler_pic_CXX=
11788
 
      ;;
11789
 
    sysv4*MP*)
11790
 
      if test -d /usr/nec; then
11791
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
11792
 
      fi
11793
 
      ;;
11794
 
    hpux*)
11795
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11796
 
      # not for PA HP-UX.
11797
 
      case "$host_cpu" in
11798
 
      hppa*64*|ia64*)
11799
 
        ;;
11800
 
      *)
11801
 
        lt_prog_compiler_pic_CXX='-fPIC'
11802
 
        ;;
11803
 
      esac
11804
 
      ;;
11805
 
    *)
11806
 
      lt_prog_compiler_pic_CXX='-fPIC'
11807
 
      ;;
11808
 
    esac
11809
 
  else
11810
 
    case $host_os in
11811
 
      aix4* | aix5*)
11812
 
        # All AIX code is PIC.
11813
 
        if test "$host_cpu" = ia64; then
11814
 
          # AIX 5 now supports IA64 processor
11815
 
          lt_prog_compiler_static_CXX='-Bstatic'
11816
 
        else
11817
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
11818
 
        fi
11819
 
        ;;
11820
 
      chorus*)
11821
 
        case $cc_basename in
11822
 
        cxch68)
11823
 
          # Green Hills C++ Compiler
11824
 
          # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
11825
 
          ;;
11826
 
        esac
11827
 
        ;;
11828
 
      dgux*)
11829
 
        case $cc_basename in
11830
 
          ec++)
11831
 
            lt_prog_compiler_pic_CXX='-KPIC'
11832
 
            ;;
11833
 
          ghcx)
11834
 
            # Green Hills C++ Compiler
11835
 
            lt_prog_compiler_pic_CXX='-pic'
11836
 
            ;;
11837
 
          *)
11838
 
            ;;
11839
 
        esac
11840
 
        ;;
11841
 
      freebsd* | kfreebsd*-gnu)
11842
 
        # FreeBSD uses GNU C++
11843
 
        ;;
11844
 
      hpux9* | hpux10* | hpux11*)
11845
 
        case $cc_basename in
11846
 
          CC)
11847
 
            lt_prog_compiler_wl_CXX='-Wl,'
11848
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11849
 
            if test "$host_cpu" != ia64; then
11850
 
              lt_prog_compiler_pic_CXX='+Z'
11851
 
            fi
11852
 
            ;;
11853
 
          aCC)
11854
 
            lt_prog_compiler_wl_CXX='-Wl,'
11855
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11856
 
            case "$host_cpu" in
11857
 
            hppa*64*|ia64*)
11858
 
              # +Z the default
11859
 
              ;;
11860
 
            *)
11861
 
              lt_prog_compiler_pic_CXX='+Z'
11862
 
              ;;
11863
 
            esac
11864
 
            ;;
11865
 
          *)
11866
 
            ;;
11867
 
        esac
11868
 
        ;;
11869
 
      irix5* | irix6* | nonstopux*)
11870
 
        case $cc_basename in
11871
 
          CC)
11872
 
            lt_prog_compiler_wl_CXX='-Wl,'
11873
 
            lt_prog_compiler_static_CXX='-non_shared'
11874
 
            # CC pic flag -KPIC is the default.
11875
 
            ;;
11876
 
          *)
11877
 
            ;;
11878
 
        esac
11879
 
        ;;
11880
 
      linux*)
11881
 
        case $cc_basename in
11882
 
          KCC)
11883
 
            # KAI C++ Compiler
11884
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
11885
 
            lt_prog_compiler_pic_CXX='-fPIC'
11886
 
            ;;
11887
 
          icpc)
11888
 
            # Intel C++
11889
 
            lt_prog_compiler_wl_CXX='-Wl,'
11890
 
            lt_prog_compiler_pic_CXX='-KPIC'
11891
 
            lt_prog_compiler_static_CXX='-static'
11892
 
            ;;
11893
 
          cxx)
11894
 
            # Compaq C++
11895
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
11896
 
            # Linux and Compaq Tru64 Unix objects are PIC.
11897
 
            lt_prog_compiler_pic_CXX=
11898
 
            lt_prog_compiler_static_CXX='-non_shared'
11899
 
            ;;
11900
 
          *)
11901
 
            ;;
11902
 
        esac
11903
 
        ;;
11904
 
      lynxos*)
11905
 
        ;;
11906
 
      m88k*)
11907
 
        ;;
11908
 
      mvs*)
11909
 
        case $cc_basename in
11910
 
          cxx)
11911
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
11912
 
            ;;
11913
 
          *)
11914
 
            ;;
11915
 
        esac
11916
 
        ;;
11917
 
      netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
11918
 
        ;;
11919
 
      osf3* | osf4* | osf5*)
11920
 
        case $cc_basename in
11921
 
          KCC)
11922
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
11923
 
            ;;
11924
 
          RCC)
11925
 
            # Rational C++ 2.4.1
11926
 
            lt_prog_compiler_pic_CXX='-pic'
11927
 
            ;;
11928
 
          cxx)
11929
 
            # Digital/Compaq C++
11930
 
            lt_prog_compiler_wl_CXX='-Wl,'
11931
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
11932
 
            # Linux and Compaq Tru64 Unix objects are PIC.
11933
 
            lt_prog_compiler_pic_CXX=
11934
 
            lt_prog_compiler_static_CXX='-non_shared'
11935
 
            ;;
11936
 
          *)
11937
 
            ;;
11938
 
        esac
11939
 
        ;;
11940
 
      psos*)
11941
 
        ;;
11942
 
      sco*)
11943
 
        case $cc_basename in
11944
 
          CC)
11945
 
            lt_prog_compiler_pic_CXX='-fPIC'
11946
 
            ;;
11947
 
          *)
11948
 
            ;;
11949
 
        esac
11950
 
        ;;
11951
 
      solaris*)
11952
 
        case $cc_basename in
11953
 
          CC)
11954
 
            # Sun C++ 4.2, 5.x and Centerline C++
11955
 
            lt_prog_compiler_pic_CXX='-KPIC'
11956
 
            lt_prog_compiler_static_CXX='-Bstatic'
11957
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
11958
 
            ;;
11959
 
          gcx)
11960
 
            # Green Hills C++ Compiler
11961
 
            lt_prog_compiler_pic_CXX='-PIC'
11962
 
            ;;
11963
 
          *)
11964
 
            ;;
11965
 
        esac
11966
 
        ;;
11967
 
      sunos4*)
11968
 
        case $cc_basename in
11969
 
          CC)
11970
 
            # Sun C++ 4.x
11971
 
            lt_prog_compiler_pic_CXX='-pic'
11972
 
            lt_prog_compiler_static_CXX='-Bstatic'
11973
 
            ;;
11974
 
          lcc)
11975
 
            # Lucid
11976
 
            lt_prog_compiler_pic_CXX='-pic'
11977
 
            ;;
11978
 
          *)
11979
 
            ;;
11980
 
        esac
11981
 
        ;;
11982
 
      tandem*)
11983
 
        case $cc_basename in
11984
 
          NCC)
11985
 
            # NonStop-UX NCC 3.20
11986
 
            lt_prog_compiler_pic_CXX='-KPIC'
11987
 
            ;;
11988
 
          *)
11989
 
            ;;
11990
 
        esac
11991
 
        ;;
11992
 
      unixware*)
11993
 
        ;;
11994
 
      vxworks*)
11995
 
        ;;
11996
 
      *)
11997
 
        lt_prog_compiler_can_build_shared_CXX=no
11998
 
        ;;
11999
 
    esac
12000
 
  fi
12001
 
 
12002
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12003
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12004
 
 
12005
 
#
12006
 
# Check to make sure the PIC flag actually works.
12007
 
#
12008
 
if test -n "$lt_prog_compiler_pic_CXX"; then
12009
 
  
12010
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12011
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12012
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12013
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12014
 
else
12015
 
  lt_prog_compiler_pic_works_CXX=no
12016
 
  ac_outfile=conftest.$ac_objext
12017
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12018
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12019
 
   # Insert the option either (1) after the last *FLAGS variable, or
12020
 
   # (2) before a word containing "conftest.", or (3) at the end.
12021
 
   # Note that $ac_compile itself does not contain backslashes and begins
12022
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12023
 
   # The option is referenced via a variable to avoid confusing sed.
12024
 
   lt_compile=`echo "$ac_compile" | $SED \
12025
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12026
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12027
 
   -e 's:$: $lt_compiler_flag:'`
12028
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
12029
 
   (eval "$lt_compile" 2>conftest.err)
12030
 
   ac_status=$?
12031
 
   cat conftest.err >&5
12032
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
12033
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
12034
 
     # The compiler can only warn and ignore the option if not recognized
12035
 
     # So say no if there are warnings
12036
 
     if test ! -s conftest.err; then
12037
 
       lt_prog_compiler_pic_works_CXX=yes
12038
 
     fi
12039
 
   fi
12040
 
   $rm conftest*
12041
 
 
12042
 
fi
12043
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12044
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12045
 
 
12046
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12047
 
    case $lt_prog_compiler_pic_CXX in
12048
 
     "" | " "*) ;;
12049
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12050
 
     esac
12051
 
else
12052
 
    lt_prog_compiler_pic_CXX=
12053
 
     lt_prog_compiler_can_build_shared_CXX=no
12054
 
fi
12055
 
 
12056
 
fi
12057
 
case "$host_os" in
12058
 
  # For platforms which do not support PIC, -DPIC is meaningless:
12059
 
  *djgpp*)
12060
 
    lt_prog_compiler_pic_CXX=
12061
 
    ;;
12062
 
  *)
12063
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12064
 
    ;;
12065
 
esac
12066
 
 
12067
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12068
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12069
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12070
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12071
 
else
12072
 
  lt_cv_prog_compiler_c_o_CXX=no
12073
 
   $rm -r conftest 2>/dev/null
12074
 
   mkdir conftest
12075
 
   cd conftest
12076
 
   mkdir out
12077
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12078
 
 
12079
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
12080
 
   # Insert the option either (1) after the last *FLAGS variable, or
12081
 
   # (2) before a word containing "conftest.", or (3) at the end.
12082
 
   # Note that $ac_compile itself does not contain backslashes and begins
12083
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12084
 
   lt_compile=`echo "$ac_compile" | $SED \
12085
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12086
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12087
 
   -e 's:$: $lt_compiler_flag:'`
12088
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
12089
 
   (eval "$lt_compile" 2>out/conftest.err)
12090
 
   ac_status=$?
12091
 
   cat out/conftest.err >&5
12092
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
12093
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12094
 
   then
12095
 
     # The compiler can only warn and ignore the option if not recognized
12096
 
     # So say no if there are warnings
12097
 
     if test ! -s out/conftest.err; then
12098
 
       lt_cv_prog_compiler_c_o_CXX=yes
12099
 
     fi
12100
 
   fi
12101
 
   chmod u+w .
12102
 
   $rm conftest*
12103
 
   # SGI C++ compiler will create directory out/ii_files/ for
12104
 
   # template instantiation
12105
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
12106
 
   $rm out/* && rmdir out
12107
 
   cd ..
12108
 
   rmdir conftest
12109
 
   $rm conftest*
12110
 
 
12111
 
fi
12112
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12113
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12114
 
 
12115
 
 
12116
 
hard_links="nottested"
12117
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12118
 
  # do not overwrite the value of need_locks provided by the user
12119
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12120
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12121
 
  hard_links=yes
12122
 
  $rm conftest*
12123
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12124
 
  touch conftest.a
12125
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
12126
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12127
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
12128
 
echo "${ECHO_T}$hard_links" >&6; }
12129
 
  if test "$hard_links" = no; then
12130
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12131
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12132
 
    need_locks=warn
12133
 
  fi
12134
 
else
12135
 
  need_locks=no
12136
 
fi
12137
 
 
12138
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12139
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12140
 
 
12141
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12142
 
  case $host_os in
12143
 
  aix4* | aix5*)
12144
 
    # If we're using GNU nm, then we don't want the "-C" option.
12145
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
12146
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12147
 
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12148
 
    else
12149
 
      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12150
 
    fi
12151
 
    ;;
12152
 
  pw32*)
12153
 
    export_symbols_cmds_CXX="$ltdll_cmds"
12154
 
  ;;
12155
 
  cygwin* | mingw*)
12156
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
12157
 
  ;;
12158
 
  linux*)
12159
 
    link_all_deplibs_CXX=no
12160
 
  ;;
12161
 
  *)
12162
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12163
 
  ;;
12164
 
  esac
12165
 
 
12166
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12167
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12168
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
12169
 
 
12170
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12171
 
if test "$GCC" = yes; then
12172
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12173
 
fi
12174
 
 
12175
 
#
12176
 
# Do we need to explicitly link libc?
12177
 
#
12178
 
case "x$archive_cmds_need_lc_CXX" in
12179
 
x|xyes)
12180
 
  # Assume -lc should be added
12181
 
  archive_cmds_need_lc_CXX=yes
12182
 
 
12183
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
12184
 
    case $archive_cmds_CXX in
12185
 
    *'~'*)
12186
 
      # FIXME: we may have to deal with multi-command sequences.
12187
 
      ;;
12188
 
    '$CC '*)
12189
 
      # Test whether the compiler implicitly links with -lc since on some
12190
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
12191
 
      # to ld, don't add -lc before -lgcc.
12192
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12193
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12194
 
      $rm conftest*
12195
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12196
 
 
12197
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12198
 
  (eval $ac_compile) 2>&5
12199
 
  ac_status=$?
12200
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12201
 
  (exit $ac_status); } 2>conftest.err; then
12202
 
        soname=conftest
12203
 
        lib=conftest
12204
 
        libobjs=conftest.$ac_objext
12205
 
        deplibs=
12206
 
        wl=$lt_prog_compiler_wl_CXX
12207
 
        compiler_flags=-v
12208
 
        linker_flags=-v
12209
 
        verstring=
12210
 
        output_objdir=.
12211
 
        libname=conftest
12212
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12213
 
        allow_undefined_flag_CXX=
12214
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12215
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
12216
 
  ac_status=$?
12217
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12218
 
  (exit $ac_status); }
12219
 
        then
12220
 
          archive_cmds_need_lc_CXX=no
12221
 
        else
12222
 
          archive_cmds_need_lc_CXX=yes
12223
 
        fi
12224
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12225
 
      else
12226
 
        cat conftest.err 1>&5
12227
 
      fi
12228
 
      $rm conftest*
12229
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12230
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12231
 
      ;;
12232
 
    esac
12233
 
  fi
12234
 
  ;;
12235
 
esac
12236
 
 
12237
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12238
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12239
 
library_names_spec=
12240
 
libname_spec='lib$name'
12241
 
soname_spec=
12242
 
shrext_cmds=".so"
12243
 
postinstall_cmds=
12244
 
postuninstall_cmds=
12245
 
finish_cmds=
12246
 
finish_eval=
12247
 
shlibpath_var=
12248
 
shlibpath_overrides_runpath=unknown
12249
 
version_type=none
12250
 
dynamic_linker="$host_os ld.so"
12251
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
12252
 
if test "$GCC" = yes; then
12253
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12254
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
12255
 
    # if the path contains ";" then we assume it to be the separator
12256
 
    # otherwise default to the standard path separator (i.e. ":") - it is
12257
 
    # assumed that no part of a normal pathname contains ";" but that should
12258
 
    # okay in the real world where ";" in dirpaths is itself problematic.
12259
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12260
 
  else
12261
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
12262
 
  fi
12263
 
else
12264
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12265
 
fi
12266
 
need_lib_prefix=unknown
12267
 
hardcode_into_libs=no
12268
 
 
12269
 
# when you set need_version to no, make sure it does not cause -set_version
12270
 
# flags to be left without arguments
12271
 
need_version=unknown
12272
 
 
12273
 
case $host_os in
12274
 
aix3*)
12275
 
  version_type=linux
12276
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12277
 
  shlibpath_var=LIBPATH
12278
 
 
12279
 
  # AIX 3 has no versioning support, so we append a major version to the name.
12280
 
  soname_spec='${libname}${release}${shared_ext}$major'
12281
 
  ;;
12282
 
 
12283
 
aix4* | aix5*)
12284
 
  version_type=linux
12285
 
  need_lib_prefix=no
12286
 
  need_version=no
12287
 
  hardcode_into_libs=yes
12288
 
  if test "$host_cpu" = ia64; then
12289
 
    # AIX 5 supports IA64
12290
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12291
 
    shlibpath_var=LD_LIBRARY_PATH
12292
 
  else
12293
 
    # With GCC up to 2.95.x, collect2 would create an import file
12294
 
    # for dependence libraries.  The import file would start with
12295
 
    # the line `#! .'.  This would cause the generated library to
12296
 
    # depend on `.', always an invalid library.  This was fixed in
12297
 
    # development snapshots of GCC prior to 3.0.
12298
 
    case $host_os in
12299
 
      aix4 | aix4.[01] | aix4.[01].*)
12300
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12301
 
           echo ' yes '
12302
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
12303
 
        :
12304
 
      else
12305
 
        can_build_shared=no
12306
 
      fi
12307
 
      ;;
12308
 
    esac
12309
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12310
 
    # soname into executable. Probably we can add versioning support to
12311
 
    # collect2, so additional links can be useful in future.
12312
 
    if test "$aix_use_runtimelinking" = yes; then
12313
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12314
 
      # instead of lib<name>.a to let people know that these are not
12315
 
      # typical AIX shared libraries.
12316
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12317
 
    else
12318
 
      # We preserve .a as extension for shared libraries through AIX4.2
12319
 
      # and later when we are not doing run time linking.
12320
 
      library_names_spec='${libname}${release}.a $libname.a'
12321
 
      soname_spec='${libname}${release}${shared_ext}$major'
12322
 
    fi
12323
 
    shlibpath_var=LIBPATH
12324
 
  fi
12325
 
  ;;
12326
 
 
12327
 
amigaos*)
12328
 
  library_names_spec='$libname.ixlibrary $libname.a'
12329
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
12330
 
  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
12331
 
  ;;
12332
 
 
12333
 
beos*)
12334
 
  library_names_spec='${libname}${shared_ext}'
12335
 
  dynamic_linker="$host_os ld.so"
12336
 
  shlibpath_var=LIBRARY_PATH
12337
 
  ;;
12338
 
 
12339
 
bsdi4*)
12340
 
  version_type=linux
12341
 
  need_version=no
12342
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12343
 
  soname_spec='${libname}${release}${shared_ext}$major'
12344
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12345
 
  shlibpath_var=LD_LIBRARY_PATH
12346
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12347
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12348
 
  # the default ld.so.conf also contains /usr/contrib/lib and
12349
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12350
 
  # libtool to hard-code these into programs
12351
 
  ;;
12352
 
 
12353
 
cygwin* | mingw* | pw32*)
12354
 
  version_type=windows
12355
 
  shrext_cmds=".dll"
12356
 
  need_version=no
12357
 
  need_lib_prefix=no
12358
 
 
12359
 
  case $GCC,$host_os in
12360
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
12361
 
    library_names_spec='$libname.dll.a'
12362
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12363
 
    postinstall_cmds='base_file=`basename \${file}`~
12364
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12365
 
      dldir=$destdir/`dirname \$dlpath`~
12366
 
      test -d \$dldir || mkdir -p \$dldir~
12367
 
      $install_prog $dir/$dlname \$dldir/$dlname'
12368
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12369
 
      dlpath=$dir/\$dldll~
12370
 
       $rm \$dlpath'
12371
 
    shlibpath_overrides_runpath=yes
12372
 
 
12373
 
    case $host_os in
12374
 
    cygwin*)
12375
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12376
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12377
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12378
 
      ;;
12379
 
    mingw*)
12380
 
      # MinGW DLLs use traditional 'lib' prefix
12381
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12382
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12383
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
12384
 
        # It is most probably a Windows format PATH printed by
12385
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
12386
 
        # path with ; separators, and with drive letters. We can handle the
12387
 
        # drive letters (cygwin fileutils understands them), so leave them,
12388
 
        # especially as we might pass files found there to a mingw objdump,
12389
 
        # which wouldn't understand a cygwinified path. Ahh.
12390
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12391
 
      else
12392
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
12393
 
      fi
12394
 
      ;;
12395
 
    pw32*)
12396
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
12397
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
12398
 
      ;;
12399
 
    esac
12400
 
    ;;
12401
 
 
12402
 
  *)
12403
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12404
 
    ;;
12405
 
  esac
12406
 
  dynamic_linker='Win32 ld.exe'
12407
 
  # FIXME: first we should search . and the directory the executable is in
12408
 
  shlibpath_var=PATH
12409
 
  ;;
12410
 
 
12411
 
darwin* | rhapsody*)
12412
 
  dynamic_linker="$host_os dyld"
12413
 
  version_type=darwin
12414
 
  need_lib_prefix=no
12415
 
  need_version=no
12416
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12417
 
  soname_spec='${libname}${release}${major}$shared_ext'
12418
 
  shlibpath_overrides_runpath=yes
12419
 
  shlibpath_var=DYLD_LIBRARY_PATH
12420
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
12421
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12422
 
  if test "$GCC" = yes; then
12423
 
    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"`
12424
 
  else
12425
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
12426
 
  fi
12427
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12428
 
  ;;
12429
 
 
12430
 
dgux*)
12431
 
  version_type=linux
12432
 
  need_lib_prefix=no
12433
 
  need_version=no
12434
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12435
 
  soname_spec='${libname}${release}${shared_ext}$major'
12436
 
  shlibpath_var=LD_LIBRARY_PATH
12437
 
  ;;
12438
 
 
12439
 
freebsd1*)
12440
 
  dynamic_linker=no
12441
 
  ;;
12442
 
 
12443
 
kfreebsd*-gnu)
12444
 
  version_type=linux
12445
 
  need_lib_prefix=no
12446
 
  need_version=no
12447
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12448
 
  soname_spec='${libname}${release}${shared_ext}$major'
12449
 
  shlibpath_var=LD_LIBRARY_PATH
12450
 
  shlibpath_overrides_runpath=no
12451
 
  hardcode_into_libs=yes
12452
 
  dynamic_linker='GNU ld.so'
12453
 
  ;;
12454
 
 
12455
 
freebsd*)
12456
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
12457
 
  version_type=freebsd-$objformat
12458
 
  case $version_type in
12459
 
    freebsd-elf*)
12460
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12461
 
      need_version=no
12462
 
      need_lib_prefix=no
12463
 
      ;;
12464
 
    freebsd-*)
12465
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12466
 
      need_version=yes
12467
 
      ;;
12468
 
  esac
12469
 
  shlibpath_var=LD_LIBRARY_PATH
12470
 
  case $host_os in
12471
 
  freebsd2*)
12472
 
    shlibpath_overrides_runpath=yes
12473
 
    ;;
12474
 
  freebsd3.01* | freebsdelf3.01*)
12475
 
    shlibpath_overrides_runpath=yes
12476
 
    hardcode_into_libs=yes
12477
 
    ;;
12478
 
  *) # from 3.2 on
12479
 
    shlibpath_overrides_runpath=no
12480
 
    hardcode_into_libs=yes
12481
 
    ;;
12482
 
  esac
12483
 
  ;;
12484
 
 
12485
 
gnu*)
12486
 
  version_type=linux
12487
 
  need_lib_prefix=no
12488
 
  need_version=no
12489
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12490
 
  soname_spec='${libname}${release}${shared_ext}$major'
12491
 
  shlibpath_var=LD_LIBRARY_PATH
12492
 
  hardcode_into_libs=yes
12493
 
  ;;
12494
 
 
12495
 
hpux9* | hpux10* | hpux11*)
12496
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
12497
 
  # link against other versions.
12498
 
  version_type=sunos
12499
 
  need_lib_prefix=no
12500
 
  need_version=no
12501
 
  case "$host_cpu" in
12502
 
  ia64*)
12503
 
    shrext_cmds='.so'
12504
 
    hardcode_into_libs=yes
12505
 
    dynamic_linker="$host_os dld.so"
12506
 
    shlibpath_var=LD_LIBRARY_PATH
12507
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12508
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12509
 
    soname_spec='${libname}${release}${shared_ext}$major'
12510
 
    if test "X$HPUX_IA64_MODE" = X32; then
12511
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12512
 
    else
12513
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12514
 
    fi
12515
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12516
 
    ;;
12517
 
   hppa*64*)
12518
 
     shrext_cmds='.sl'
12519
 
     hardcode_into_libs=yes
12520
 
     dynamic_linker="$host_os dld.sl"
12521
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12522
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12523
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12524
 
     soname_spec='${libname}${release}${shared_ext}$major'
12525
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12526
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12527
 
     ;;
12528
 
   *)
12529
 
    shrext_cmds='.sl'
12530
 
    dynamic_linker="$host_os dld.sl"
12531
 
    shlibpath_var=SHLIB_PATH
12532
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12533
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12534
 
    soname_spec='${libname}${release}${shared_ext}$major'
12535
 
    ;;
12536
 
  esac
12537
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
12538
 
  postinstall_cmds='chmod 555 $lib'
12539
 
  ;;
12540
 
 
12541
 
irix5* | irix6* | nonstopux*)
12542
 
  case $host_os in
12543
 
    nonstopux*) version_type=nonstopux ;;
12544
 
    *)
12545
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
12546
 
                version_type=linux
12547
 
        else
12548
 
                version_type=irix
12549
 
        fi ;;
12550
 
  esac
12551
 
  need_lib_prefix=no
12552
 
  need_version=no
12553
 
  soname_spec='${libname}${release}${shared_ext}$major'
12554
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12555
 
  case $host_os in
12556
 
  irix5* | nonstopux*)
12557
 
    libsuff= shlibsuff=
12558
 
    ;;
12559
 
  *)
12560
 
    case $LD in # libtool.m4 will add one of these switches to LD
12561
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12562
 
      libsuff= shlibsuff= libmagic=32-bit;;
12563
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12564
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
12565
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12566
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12567
 
    *) libsuff= shlibsuff= libmagic=never-match;;
12568
 
    esac
12569
 
    ;;
12570
 
  esac
12571
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12572
 
  shlibpath_overrides_runpath=no
12573
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12574
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12575
 
  hardcode_into_libs=yes
12576
 
  ;;
12577
 
 
12578
 
# No shared lib support for Linux oldld, aout, or coff.
12579
 
linux*oldld* | linux*aout* | linux*coff*)
12580
 
  dynamic_linker=no
12581
 
  ;;
12582
 
 
12583
 
# This must be Linux ELF.
12584
 
linux*)
12585
 
  version_type=linux
12586
 
  need_lib_prefix=no
12587
 
  need_version=no
12588
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12589
 
  soname_spec='${libname}${release}${shared_ext}$major'
12590
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12591
 
  shlibpath_var=LD_LIBRARY_PATH
12592
 
  shlibpath_overrides_runpath=no
12593
 
  # This implies no fast_install, which is unacceptable.
12594
 
  # Some rework will be needed to allow for fast_install
12595
 
  # before this can be enabled.
12596
 
  hardcode_into_libs=yes
12597
 
 
12598
 
  # Append ld.so.conf contents to the search path
12599
 
  if test -f /etc/ld.so.conf; then
12600
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
12601
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12602
 
  fi
12603
 
 
12604
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
12605
 
  # powerpc, because MkLinux only supported shared libraries with the
12606
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
12607
 
  # most powerpc-linux boxes support dynamic linking these days and
12608
 
  # people can always --disable-shared, the test was removed, and we
12609
 
  # assume the GNU/Linux dynamic linker is in use.
12610
 
  dynamic_linker='GNU/Linux ld.so'
12611
 
  ;;
12612
 
 
12613
 
netbsdelf*-gnu)
12614
 
  version_type=linux
12615
 
  need_lib_prefix=no
12616
 
  need_version=no
12617
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12618
 
  soname_spec='${libname}${release}${shared_ext}$major'
12619
 
  shlibpath_var=LD_LIBRARY_PATH
12620
 
  shlibpath_overrides_runpath=no
12621
 
  hardcode_into_libs=yes
12622
 
  dynamic_linker='NetBSD ld.elf_so'
12623
 
  ;;
12624
 
 
12625
 
knetbsd*-gnu)
12626
 
  version_type=linux
12627
 
  need_lib_prefix=no
12628
 
  need_version=no
12629
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12630
 
  soname_spec='${libname}${release}${shared_ext}$major'
12631
 
  shlibpath_var=LD_LIBRARY_PATH
12632
 
  shlibpath_overrides_runpath=no
12633
 
  hardcode_into_libs=yes
12634
 
  dynamic_linker='GNU ld.so'
12635
 
  ;;
12636
 
 
12637
 
netbsd*)
12638
 
  version_type=sunos
12639
 
  need_lib_prefix=no
12640
 
  need_version=no
12641
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12642
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12643
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12644
 
    dynamic_linker='NetBSD (a.out) ld.so'
12645
 
  else
12646
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12647
 
    soname_spec='${libname}${release}${shared_ext}$major'
12648
 
    dynamic_linker='NetBSD ld.elf_so'
12649
 
  fi
12650
 
  shlibpath_var=LD_LIBRARY_PATH
12651
 
  shlibpath_overrides_runpath=yes
12652
 
  hardcode_into_libs=yes
12653
 
  ;;
12654
 
 
12655
 
newsos6)
12656
 
  version_type=linux
12657
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12658
 
  shlibpath_var=LD_LIBRARY_PATH
12659
 
  shlibpath_overrides_runpath=yes
12660
 
  ;;
12661
 
 
12662
 
nto-qnx*)
12663
 
  version_type=linux
12664
 
  need_lib_prefix=no
12665
 
  need_version=no
12666
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12667
 
  soname_spec='${libname}${release}${shared_ext}$major'
12668
 
  shlibpath_var=LD_LIBRARY_PATH
12669
 
  shlibpath_overrides_runpath=yes
12670
 
  ;;
12671
 
 
12672
 
openbsd*)
12673
 
  version_type=sunos
12674
 
  need_lib_prefix=no
12675
 
  need_version=yes
12676
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12677
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12678
 
  shlibpath_var=LD_LIBRARY_PATH
12679
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12680
 
    case $host_os in
12681
 
      openbsd2.[89] | openbsd2.[89].*)
12682
 
        shlibpath_overrides_runpath=no
12683
 
        ;;
12684
 
      *)
12685
 
        shlibpath_overrides_runpath=yes
12686
 
        ;;
12687
 
      esac
12688
 
  else
12689
 
    shlibpath_overrides_runpath=yes
12690
 
  fi
12691
 
  ;;
12692
 
 
12693
 
os2*)
12694
 
  libname_spec='$name'
12695
 
  shrext_cmds=".dll"
12696
 
  need_lib_prefix=no
12697
 
  library_names_spec='$libname${shared_ext} $libname.a'
12698
 
  dynamic_linker='OS/2 ld.exe'
12699
 
  shlibpath_var=LIBPATH
12700
 
  ;;
12701
 
 
12702
 
osf3* | osf4* | osf5*)
12703
 
  version_type=osf
12704
 
  need_lib_prefix=no
12705
 
  need_version=no
12706
 
  soname_spec='${libname}${release}${shared_ext}$major'
12707
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12708
 
  shlibpath_var=LD_LIBRARY_PATH
12709
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12710
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12711
 
  ;;
12712
 
 
12713
 
sco3.2v5*)
12714
 
  version_type=osf
12715
 
  soname_spec='${libname}${release}${shared_ext}$major'
12716
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12717
 
  shlibpath_var=LD_LIBRARY_PATH
12718
 
  ;;
12719
 
 
12720
 
solaris*)
12721
 
  version_type=linux
12722
 
  need_lib_prefix=no
12723
 
  need_version=no
12724
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12725
 
  soname_spec='${libname}${release}${shared_ext}$major'
12726
 
  shlibpath_var=LD_LIBRARY_PATH
12727
 
  shlibpath_overrides_runpath=yes
12728
 
  hardcode_into_libs=yes
12729
 
  # ldd complains unless libraries are executable
12730
 
  postinstall_cmds='chmod +x $lib'
12731
 
  ;;
12732
 
 
12733
 
sunos4*)
12734
 
  version_type=sunos
12735
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12736
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12737
 
  shlibpath_var=LD_LIBRARY_PATH
12738
 
  shlibpath_overrides_runpath=yes
12739
 
  if test "$with_gnu_ld" = yes; then
12740
 
    need_lib_prefix=no
12741
 
  fi
12742
 
  need_version=yes
12743
 
  ;;
12744
 
 
12745
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12746
 
  version_type=linux
12747
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12748
 
  soname_spec='${libname}${release}${shared_ext}$major'
12749
 
  shlibpath_var=LD_LIBRARY_PATH
12750
 
  case $host_vendor in
12751
 
    sni)
12752
 
      shlibpath_overrides_runpath=no
12753
 
      need_lib_prefix=no
12754
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
12755
 
      runpath_var=LD_RUN_PATH
12756
 
      ;;
12757
 
    siemens)
12758
 
      need_lib_prefix=no
12759
 
      ;;
12760
 
    motorola)
12761
 
      need_lib_prefix=no
12762
 
      need_version=no
12763
 
      shlibpath_overrides_runpath=no
12764
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12765
 
      ;;
12766
 
  esac
12767
 
  ;;
12768
 
 
12769
 
sysv4*MP*)
12770
 
  if test -d /usr/nec ;then
12771
 
    version_type=linux
12772
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12773
 
    soname_spec='$libname${shared_ext}.$major'
12774
 
    shlibpath_var=LD_LIBRARY_PATH
12775
 
  fi
12776
 
  ;;
12777
 
 
12778
 
uts4*)
12779
 
  version_type=linux
12780
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12781
 
  soname_spec='${libname}${release}${shared_ext}$major'
12782
 
  shlibpath_var=LD_LIBRARY_PATH
12783
 
  ;;
12784
 
 
12785
 
*)
12786
 
  dynamic_linker=no
12787
 
  ;;
12788
 
esac
12789
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12790
 
echo "${ECHO_T}$dynamic_linker" >&6; }
12791
 
test "$dynamic_linker" = no && can_build_shared=no
12792
 
 
12793
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12794
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12795
 
hardcode_action_CXX=
12796
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
12797
 
   test -n "$runpath_var CXX" || \
12798
 
   test "X$hardcode_automatic_CXX"="Xyes" ; then
12799
 
 
12800
 
  # We can hardcode non-existant directories.
12801
 
  if test "$hardcode_direct_CXX" != no &&
12802
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12803
 
     # have to relink, otherwise we might link with an installed library
12804
 
     # when we should be linking with a yet-to-be-installed one
12805
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12806
 
     test "$hardcode_minus_L_CXX" != no; then
12807
 
    # Linking always hardcodes the temporary library directory.
12808
 
    hardcode_action_CXX=relink
12809
 
  else
12810
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12811
 
    hardcode_action_CXX=immediate
12812
 
  fi
12813
 
else
12814
 
  # We cannot hardcode anything, or else we can only hardcode existing
12815
 
  # directories.
12816
 
  hardcode_action_CXX=unsupported
12817
 
fi
12818
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12819
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
12820
 
 
12821
 
if test "$hardcode_action_CXX" = relink; then
12822
 
  # Fast installation is not supported
12823
 
  enable_fast_install=no
12824
 
elif test "$shlibpath_overrides_runpath" = yes ||
12825
 
     test "$enable_shared" = no; then
12826
 
  # Fast installation is not necessary
12827
 
  enable_fast_install=needless
12828
 
fi
12829
 
 
12830
 
striplib=
12831
 
old_striplib=
12832
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12833
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
12834
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
12835
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12836
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12837
 
  { echo "$as_me:$LINENO: result: yes" >&5
12838
 
echo "${ECHO_T}yes" >&6; }
12839
 
else
12840
 
# FIXME - insert some real tests, host_os isn't really good enough
12841
 
  case $host_os in
12842
 
   darwin*)
12843
 
       if test -n "$STRIP" ; then
12844
 
         striplib="$STRIP -x"
12845
 
         { echo "$as_me:$LINENO: result: yes" >&5
12846
 
echo "${ECHO_T}yes" >&6; }
12847
 
       else
12848
 
  { echo "$as_me:$LINENO: result: no" >&5
12849
 
echo "${ECHO_T}no" >&6; }
12850
 
fi
12851
 
       ;;
12852
 
   *)
12853
 
  { echo "$as_me:$LINENO: result: no" >&5
12854
 
echo "${ECHO_T}no" >&6; }
12855
 
    ;;
12856
 
  esac
12857
 
fi
12858
 
 
12859
 
if test "x$enable_dlopen" != xyes; then
12860
 
  enable_dlopen=unknown
12861
 
  enable_dlopen_self=unknown
12862
 
  enable_dlopen_self_static=unknown
12863
 
else
12864
 
  lt_cv_dlopen=no
12865
 
  lt_cv_dlopen_libs=
12866
 
 
12867
 
  case $host_os in
12868
 
  beos*)
12869
 
    lt_cv_dlopen="load_add_on"
12870
 
    lt_cv_dlopen_libs=
12871
 
    lt_cv_dlopen_self=yes
12872
 
    ;;
12873
 
 
12874
 
  mingw* | pw32*)
12875
 
    lt_cv_dlopen="LoadLibrary"
12876
 
    lt_cv_dlopen_libs=
12877
 
   ;;
12878
 
 
12879
 
  cygwin*)
12880
 
    lt_cv_dlopen="dlopen"
12881
 
    lt_cv_dlopen_libs=
12882
 
   ;;
12883
 
 
12884
 
  darwin*)
12885
 
  # if libdl is installed we need to link against it
12886
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12887
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12888
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12889
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12890
 
else
12891
 
  ac_check_lib_save_LIBS=$LIBS
12892
 
LIBS="-ldl  $LIBS"
12893
 
cat >conftest.$ac_ext <<_ACEOF
12894
 
/* confdefs.h.  */
12895
 
_ACEOF
12896
 
cat confdefs.h >>conftest.$ac_ext
12897
 
cat >>conftest.$ac_ext <<_ACEOF
12898
 
/* end confdefs.h.  */
12899
 
 
12900
 
/* Override any GCC internal prototype to avoid an error.
12901
 
   Use char because int might match the return type of a GCC
12902
 
   builtin and then its argument prototype would still apply.  */
12903
 
#ifdef __cplusplus
12904
 
extern "C"
12905
 
#endif
12906
 
char dlopen ();
12907
 
int
12908
 
main ()
12909
 
{
12910
 
return dlopen ();
12911
 
  ;
12912
 
  return 0;
12913
 
}
12914
 
_ACEOF
12915
 
rm -f conftest.$ac_objext conftest$ac_exeext
12916
 
if { (ac_try="$ac_link"
12917
 
case "(($ac_try" in
12918
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12919
 
  *) ac_try_echo=$ac_try;;
12920
 
esac
12921
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12922
 
  (eval "$ac_link") 2>conftest.er1
12923
 
  ac_status=$?
12924
 
  grep -v '^ *+' conftest.er1 >conftest.err
12925
 
  rm -f conftest.er1
12926
 
  cat conftest.err >&5
12927
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928
 
  (exit $ac_status); } && {
12929
 
         test -z "$ac_cxx_werror_flag" ||
12930
 
         test ! -s conftest.err
12931
 
       } && test -s conftest$ac_exeext &&
12932
 
       $as_test_x conftest$ac_exeext; then
12933
 
  ac_cv_lib_dl_dlopen=yes
12934
 
else
12935
 
  echo "$as_me: failed program was:" >&5
12936
 
sed 's/^/| /' conftest.$ac_ext >&5
12937
 
 
12938
 
        ac_cv_lib_dl_dlopen=no
12939
 
fi
12940
 
 
12941
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12942
 
      conftest$ac_exeext conftest.$ac_ext
12943
 
LIBS=$ac_check_lib_save_LIBS
12944
 
fi
12945
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12946
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12947
 
if test $ac_cv_lib_dl_dlopen = yes; then
12948
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12949
 
else
12950
 
  
12951
 
    lt_cv_dlopen="dyld"
12952
 
    lt_cv_dlopen_libs=
12953
 
    lt_cv_dlopen_self=yes
12954
 
    
12955
 
fi
12956
 
 
12957
 
   ;;
12958
 
 
12959
 
  *)
12960
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
12961
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
12962
 
if test "${ac_cv_func_shl_load+set}" = set; then
12963
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12964
 
else
12965
 
  cat >conftest.$ac_ext <<_ACEOF
12966
 
/* confdefs.h.  */
12967
 
_ACEOF
12968
 
cat confdefs.h >>conftest.$ac_ext
12969
 
cat >>conftest.$ac_ext <<_ACEOF
12970
 
/* end confdefs.h.  */
12971
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12972
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12973
 
#define shl_load innocuous_shl_load
12974
 
 
12975
 
/* System header to define __stub macros and hopefully few prototypes,
12976
 
    which can conflict with char shl_load (); below.
12977
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12978
 
    <limits.h> exists even on freestanding compilers.  */
12979
 
 
12980
 
#ifdef __STDC__
12981
 
# include <limits.h>
12982
 
#else
12983
 
# include <assert.h>
12984
 
#endif
12985
 
 
12986
 
#undef shl_load
12987
 
 
12988
 
/* Override any GCC internal prototype to avoid an error.
12989
 
   Use char because int might match the return type of a GCC
12990
 
   builtin and then its argument prototype would still apply.  */
12991
 
#ifdef __cplusplus
12992
 
extern "C"
12993
 
#endif
12994
 
char shl_load ();
12995
 
/* The GNU C library defines this for functions which it implements
12996
 
    to always fail with ENOSYS.  Some functions are actually named
12997
 
    something starting with __ and the normal name is an alias.  */
12998
 
#if defined __stub_shl_load || defined __stub___shl_load
12999
 
choke me
13000
 
#endif
13001
 
 
13002
 
int
13003
 
main ()
13004
 
{
13005
 
return shl_load ();
13006
 
  ;
13007
 
  return 0;
13008
 
}
13009
 
_ACEOF
13010
 
rm -f conftest.$ac_objext conftest$ac_exeext
13011
 
if { (ac_try="$ac_link"
13012
 
case "(($ac_try" in
13013
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13014
 
  *) ac_try_echo=$ac_try;;
13015
 
esac
13016
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13017
 
  (eval "$ac_link") 2>conftest.er1
13018
 
  ac_status=$?
13019
 
  grep -v '^ *+' conftest.er1 >conftest.err
13020
 
  rm -f conftest.er1
13021
 
  cat conftest.err >&5
13022
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13023
 
  (exit $ac_status); } && {
13024
 
         test -z "$ac_cxx_werror_flag" ||
13025
 
         test ! -s conftest.err
13026
 
       } && test -s conftest$ac_exeext &&
13027
 
       $as_test_x conftest$ac_exeext; then
13028
 
  ac_cv_func_shl_load=yes
13029
 
else
13030
 
  echo "$as_me: failed program was:" >&5
13031
 
sed 's/^/| /' conftest.$ac_ext >&5
13032
 
 
13033
 
        ac_cv_func_shl_load=no
13034
 
fi
13035
 
 
13036
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13037
 
      conftest$ac_exeext conftest.$ac_ext
13038
 
fi
13039
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
13040
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
13041
 
if test $ac_cv_func_shl_load = yes; then
13042
 
  lt_cv_dlopen="shl_load"
13043
 
else
13044
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
13045
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
13046
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
13047
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13048
 
else
13049
 
  ac_check_lib_save_LIBS=$LIBS
13050
 
LIBS="-ldld  $LIBS"
13051
 
cat >conftest.$ac_ext <<_ACEOF
13052
 
/* confdefs.h.  */
13053
 
_ACEOF
13054
 
cat confdefs.h >>conftest.$ac_ext
13055
 
cat >>conftest.$ac_ext <<_ACEOF
13056
 
/* end confdefs.h.  */
13057
 
 
13058
 
/* Override any GCC internal prototype to avoid an error.
13059
 
   Use char because int might match the return type of a GCC
13060
 
   builtin and then its argument prototype would still apply.  */
13061
 
#ifdef __cplusplus
13062
 
extern "C"
13063
 
#endif
13064
 
char shl_load ();
13065
 
int
13066
 
main ()
13067
 
{
13068
 
return shl_load ();
13069
 
  ;
13070
 
  return 0;
13071
 
}
13072
 
_ACEOF
13073
 
rm -f conftest.$ac_objext conftest$ac_exeext
13074
 
if { (ac_try="$ac_link"
13075
 
case "(($ac_try" in
13076
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13077
 
  *) ac_try_echo=$ac_try;;
13078
 
esac
13079
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13080
 
  (eval "$ac_link") 2>conftest.er1
13081
 
  ac_status=$?
13082
 
  grep -v '^ *+' conftest.er1 >conftest.err
13083
 
  rm -f conftest.er1
13084
 
  cat conftest.err >&5
13085
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13086
 
  (exit $ac_status); } && {
13087
 
         test -z "$ac_cxx_werror_flag" ||
13088
 
         test ! -s conftest.err
13089
 
       } && test -s conftest$ac_exeext &&
13090
 
       $as_test_x conftest$ac_exeext; then
13091
 
  ac_cv_lib_dld_shl_load=yes
13092
 
else
13093
 
  echo "$as_me: failed program was:" >&5
13094
 
sed 's/^/| /' conftest.$ac_ext >&5
13095
 
 
13096
 
        ac_cv_lib_dld_shl_load=no
13097
 
fi
13098
 
 
13099
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13100
 
      conftest$ac_exeext conftest.$ac_ext
13101
 
LIBS=$ac_check_lib_save_LIBS
13102
 
fi
13103
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
13104
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
13105
 
if test $ac_cv_lib_dld_shl_load = yes; then
13106
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
13107
 
else
13108
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
13109
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
13110
 
if test "${ac_cv_func_dlopen+set}" = set; then
13111
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13112
 
else
13113
 
  cat >conftest.$ac_ext <<_ACEOF
13114
 
/* confdefs.h.  */
13115
 
_ACEOF
13116
 
cat confdefs.h >>conftest.$ac_ext
13117
 
cat >>conftest.$ac_ext <<_ACEOF
13118
 
/* end confdefs.h.  */
13119
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
13120
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13121
 
#define dlopen innocuous_dlopen
13122
 
 
13123
 
/* System header to define __stub macros and hopefully few prototypes,
13124
 
    which can conflict with char dlopen (); below.
13125
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13126
 
    <limits.h> exists even on freestanding compilers.  */
13127
 
 
13128
 
#ifdef __STDC__
13129
 
# include <limits.h>
13130
 
#else
13131
 
# include <assert.h>
13132
 
#endif
13133
 
 
13134
 
#undef dlopen
13135
 
 
13136
 
/* Override any GCC internal prototype to avoid an error.
13137
 
   Use char because int might match the return type of a GCC
13138
 
   builtin and then its argument prototype would still apply.  */
13139
 
#ifdef __cplusplus
13140
 
extern "C"
13141
 
#endif
13142
 
char dlopen ();
13143
 
/* The GNU C library defines this for functions which it implements
13144
 
    to always fail with ENOSYS.  Some functions are actually named
13145
 
    something starting with __ and the normal name is an alias.  */
13146
 
#if defined __stub_dlopen || defined __stub___dlopen
13147
 
choke me
13148
 
#endif
13149
 
 
13150
 
int
13151
 
main ()
13152
 
{
13153
 
return dlopen ();
13154
 
  ;
13155
 
  return 0;
13156
 
}
13157
 
_ACEOF
13158
 
rm -f conftest.$ac_objext conftest$ac_exeext
13159
 
if { (ac_try="$ac_link"
13160
 
case "(($ac_try" in
13161
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13162
 
  *) ac_try_echo=$ac_try;;
13163
 
esac
13164
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13165
 
  (eval "$ac_link") 2>conftest.er1
13166
 
  ac_status=$?
13167
 
  grep -v '^ *+' conftest.er1 >conftest.err
13168
 
  rm -f conftest.er1
13169
 
  cat conftest.err >&5
13170
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13171
 
  (exit $ac_status); } && {
13172
 
         test -z "$ac_cxx_werror_flag" ||
13173
 
         test ! -s conftest.err
13174
 
       } && test -s conftest$ac_exeext &&
13175
 
       $as_test_x conftest$ac_exeext; then
13176
 
  ac_cv_func_dlopen=yes
13177
 
else
13178
 
  echo "$as_me: failed program was:" >&5
13179
 
sed 's/^/| /' conftest.$ac_ext >&5
13180
 
 
13181
 
        ac_cv_func_dlopen=no
13182
 
fi
13183
 
 
13184
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13185
 
      conftest$ac_exeext conftest.$ac_ext
13186
 
fi
13187
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
13188
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
13189
 
if test $ac_cv_func_dlopen = yes; then
13190
 
  lt_cv_dlopen="dlopen"
13191
 
else
13192
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13193
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
13194
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13195
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13196
 
else
13197
 
  ac_check_lib_save_LIBS=$LIBS
13198
 
LIBS="-ldl  $LIBS"
13199
 
cat >conftest.$ac_ext <<_ACEOF
13200
 
/* confdefs.h.  */
13201
 
_ACEOF
13202
 
cat confdefs.h >>conftest.$ac_ext
13203
 
cat >>conftest.$ac_ext <<_ACEOF
13204
 
/* end confdefs.h.  */
13205
 
 
13206
 
/* Override any GCC internal prototype to avoid an error.
13207
 
   Use char because int might match the return type of a GCC
13208
 
   builtin and then its argument prototype would still apply.  */
13209
 
#ifdef __cplusplus
13210
 
extern "C"
13211
 
#endif
13212
 
char dlopen ();
13213
 
int
13214
 
main ()
13215
 
{
13216
 
return dlopen ();
13217
 
  ;
13218
 
  return 0;
13219
 
}
13220
 
_ACEOF
13221
 
rm -f conftest.$ac_objext conftest$ac_exeext
13222
 
if { (ac_try="$ac_link"
13223
 
case "(($ac_try" in
13224
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13225
 
  *) ac_try_echo=$ac_try;;
13226
 
esac
13227
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13228
 
  (eval "$ac_link") 2>conftest.er1
13229
 
  ac_status=$?
13230
 
  grep -v '^ *+' conftest.er1 >conftest.err
13231
 
  rm -f conftest.er1
13232
 
  cat conftest.err >&5
13233
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13234
 
  (exit $ac_status); } && {
13235
 
         test -z "$ac_cxx_werror_flag" ||
13236
 
         test ! -s conftest.err
13237
 
       } && test -s conftest$ac_exeext &&
13238
 
       $as_test_x conftest$ac_exeext; then
13239
 
  ac_cv_lib_dl_dlopen=yes
13240
 
else
13241
 
  echo "$as_me: failed program was:" >&5
13242
 
sed 's/^/| /' conftest.$ac_ext >&5
13243
 
 
13244
 
        ac_cv_lib_dl_dlopen=no
13245
 
fi
13246
 
 
13247
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13248
 
      conftest$ac_exeext conftest.$ac_ext
13249
 
LIBS=$ac_check_lib_save_LIBS
13250
 
fi
13251
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13252
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
13253
 
if test $ac_cv_lib_dl_dlopen = yes; then
13254
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13255
 
else
13256
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
13257
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
13258
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
13259
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13260
 
else
13261
 
  ac_check_lib_save_LIBS=$LIBS
13262
 
LIBS="-lsvld  $LIBS"
13263
 
cat >conftest.$ac_ext <<_ACEOF
13264
 
/* confdefs.h.  */
13265
 
_ACEOF
13266
 
cat confdefs.h >>conftest.$ac_ext
13267
 
cat >>conftest.$ac_ext <<_ACEOF
13268
 
/* end confdefs.h.  */
13269
 
 
13270
 
/* Override any GCC internal prototype to avoid an error.
13271
 
   Use char because int might match the return type of a GCC
13272
 
   builtin and then its argument prototype would still apply.  */
13273
 
#ifdef __cplusplus
13274
 
extern "C"
13275
 
#endif
13276
 
char dlopen ();
13277
 
int
13278
 
main ()
13279
 
{
13280
 
return dlopen ();
13281
 
  ;
13282
 
  return 0;
13283
 
}
13284
 
_ACEOF
13285
 
rm -f conftest.$ac_objext conftest$ac_exeext
13286
 
if { (ac_try="$ac_link"
13287
 
case "(($ac_try" in
13288
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13289
 
  *) ac_try_echo=$ac_try;;
13290
 
esac
13291
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13292
 
  (eval "$ac_link") 2>conftest.er1
13293
 
  ac_status=$?
13294
 
  grep -v '^ *+' conftest.er1 >conftest.err
13295
 
  rm -f conftest.er1
13296
 
  cat conftest.err >&5
13297
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298
 
  (exit $ac_status); } && {
13299
 
         test -z "$ac_cxx_werror_flag" ||
13300
 
         test ! -s conftest.err
13301
 
       } && test -s conftest$ac_exeext &&
13302
 
       $as_test_x conftest$ac_exeext; then
13303
 
  ac_cv_lib_svld_dlopen=yes
13304
 
else
13305
 
  echo "$as_me: failed program was:" >&5
13306
 
sed 's/^/| /' conftest.$ac_ext >&5
13307
 
 
13308
 
        ac_cv_lib_svld_dlopen=no
13309
 
fi
13310
 
 
13311
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13312
 
      conftest$ac_exeext conftest.$ac_ext
13313
 
LIBS=$ac_check_lib_save_LIBS
13314
 
fi
13315
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
13316
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
13317
 
if test $ac_cv_lib_svld_dlopen = yes; then
13318
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13319
 
else
13320
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
13321
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
13322
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
13323
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13324
 
else
13325
 
  ac_check_lib_save_LIBS=$LIBS
13326
 
LIBS="-ldld  $LIBS"
13327
 
cat >conftest.$ac_ext <<_ACEOF
13328
 
/* confdefs.h.  */
13329
 
_ACEOF
13330
 
cat confdefs.h >>conftest.$ac_ext
13331
 
cat >>conftest.$ac_ext <<_ACEOF
13332
 
/* end confdefs.h.  */
13333
 
 
13334
 
/* Override any GCC internal prototype to avoid an error.
13335
 
   Use char because int might match the return type of a GCC
13336
 
   builtin and then its argument prototype would still apply.  */
13337
 
#ifdef __cplusplus
13338
 
extern "C"
13339
 
#endif
13340
 
char dld_link ();
13341
 
int
13342
 
main ()
13343
 
{
13344
 
return dld_link ();
13345
 
  ;
13346
 
  return 0;
13347
 
}
13348
 
_ACEOF
13349
 
rm -f conftest.$ac_objext conftest$ac_exeext
13350
 
if { (ac_try="$ac_link"
13351
 
case "(($ac_try" in
13352
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13353
 
  *) ac_try_echo=$ac_try;;
13354
 
esac
13355
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13356
 
  (eval "$ac_link") 2>conftest.er1
13357
 
  ac_status=$?
13358
 
  grep -v '^ *+' conftest.er1 >conftest.err
13359
 
  rm -f conftest.er1
13360
 
  cat conftest.err >&5
13361
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13362
 
  (exit $ac_status); } && {
13363
 
         test -z "$ac_cxx_werror_flag" ||
13364
 
         test ! -s conftest.err
13365
 
       } && test -s conftest$ac_exeext &&
13366
 
       $as_test_x conftest$ac_exeext; then
13367
 
  ac_cv_lib_dld_dld_link=yes
13368
 
else
13369
 
  echo "$as_me: failed program was:" >&5
13370
 
sed 's/^/| /' conftest.$ac_ext >&5
13371
 
 
13372
 
        ac_cv_lib_dld_dld_link=no
13373
 
fi
13374
 
 
13375
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13376
 
      conftest$ac_exeext conftest.$ac_ext
13377
 
LIBS=$ac_check_lib_save_LIBS
13378
 
fi
13379
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13380
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
13381
 
if test $ac_cv_lib_dld_dld_link = yes; then
13382
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
13383
 
fi
13384
 
 
13385
 
              
13386
 
fi
13387
 
 
13388
 
            
13389
 
fi
13390
 
 
13391
 
          
13392
 
fi
13393
 
 
13394
 
        
13395
 
fi
13396
 
 
13397
 
      
13398
 
fi
13399
 
 
13400
 
    ;;
13401
 
  esac
13402
 
 
13403
 
  if test "x$lt_cv_dlopen" != xno; then
13404
 
    enable_dlopen=yes
13405
 
  else
13406
 
    enable_dlopen=no
13407
 
  fi
13408
 
 
13409
 
  case $lt_cv_dlopen in
13410
 
  dlopen)
13411
 
    save_CPPFLAGS="$CPPFLAGS"
13412
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13413
 
 
13414
 
    save_LDFLAGS="$LDFLAGS"
13415
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13416
 
 
13417
 
    save_LIBS="$LIBS"
13418
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
13419
 
 
13420
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13421
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
13422
 
if test "${lt_cv_dlopen_self+set}" = set; then
13423
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13424
 
else
13425
 
          if test "$cross_compiling" = yes; then :
13426
 
  lt_cv_dlopen_self=cross
13427
 
else
13428
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13429
 
  lt_status=$lt_dlunknown
13430
 
  cat > conftest.$ac_ext <<EOF
13431
 
#line __oline__ "configure"
13432
 
#include "confdefs.h"
13433
 
 
13434
 
#if HAVE_DLFCN_H
13435
 
#include <dlfcn.h>
13436
 
#endif
13437
 
 
13438
 
#include <stdio.h>
13439
 
 
13440
 
#ifdef RTLD_GLOBAL
13441
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
13442
 
#else
13443
 
#  ifdef DL_GLOBAL
13444
 
#    define LT_DLGLOBAL         DL_GLOBAL
13445
 
#  else
13446
 
#    define LT_DLGLOBAL         0
13447
 
#  endif
13448
 
#endif
13449
 
 
13450
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13451
 
   find out it does not work in some platform. */
13452
 
#ifndef LT_DLLAZY_OR_NOW
13453
 
#  ifdef RTLD_LAZY
13454
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13455
 
#  else
13456
 
#    ifdef DL_LAZY
13457
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
13458
 
#    else
13459
 
#      ifdef RTLD_NOW
13460
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
13461
 
#      else
13462
 
#        ifdef DL_NOW
13463
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
13464
 
#        else
13465
 
#          define LT_DLLAZY_OR_NOW      0
13466
 
#        endif
13467
 
#      endif
13468
 
#    endif
13469
 
#  endif
13470
 
#endif
13471
 
 
13472
 
#ifdef __cplusplus
13473
 
extern "C" void exit (int);
13474
 
#endif
13475
 
 
13476
 
void fnord() { int i=42;}
13477
 
int main ()
13478
 
{
13479
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13480
 
  int status = $lt_dlunknown;
13481
 
 
13482
 
  if (self)
13483
 
    {
13484
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13485
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13486
 
      /* dlclose (self); */
13487
 
    }
13488
 
 
13489
 
    exit (status);
13490
 
}
13491
 
EOF
13492
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13493
 
  (eval $ac_link) 2>&5
13494
 
  ac_status=$?
13495
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13496
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13497
 
    (./conftest; exit; ) 2>/dev/null
13498
 
    lt_status=$?
13499
 
    case x$lt_status in
13500
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13501
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13502
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
13503
 
    esac
13504
 
  else :
13505
 
    # compilation failed
13506
 
    lt_cv_dlopen_self=no
13507
 
  fi
13508
 
fi
13509
 
rm -fr conftest*
13510
 
 
13511
 
    
13512
 
fi
13513
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
13514
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
13515
 
 
13516
 
    if test "x$lt_cv_dlopen_self" = xyes; then
13517
 
      LDFLAGS="$LDFLAGS $link_static_flag"
13518
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13519
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
13520
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
13521
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13522
 
else
13523
 
          if test "$cross_compiling" = yes; then :
13524
 
  lt_cv_dlopen_self_static=cross
13525
 
else
13526
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13527
 
  lt_status=$lt_dlunknown
13528
 
  cat > conftest.$ac_ext <<EOF
13529
 
#line __oline__ "configure"
13530
 
#include "confdefs.h"
13531
 
 
13532
 
#if HAVE_DLFCN_H
13533
 
#include <dlfcn.h>
13534
 
#endif
13535
 
 
13536
 
#include <stdio.h>
13537
 
 
13538
 
#ifdef RTLD_GLOBAL
13539
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
13540
 
#else
13541
 
#  ifdef DL_GLOBAL
13542
 
#    define LT_DLGLOBAL         DL_GLOBAL
13543
 
#  else
13544
 
#    define LT_DLGLOBAL         0
13545
 
#  endif
13546
 
#endif
13547
 
 
13548
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13549
 
   find out it does not work in some platform. */
13550
 
#ifndef LT_DLLAZY_OR_NOW
13551
 
#  ifdef RTLD_LAZY
13552
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13553
 
#  else
13554
 
#    ifdef DL_LAZY
13555
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
13556
 
#    else
13557
 
#      ifdef RTLD_NOW
13558
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
13559
 
#      else
13560
 
#        ifdef DL_NOW
13561
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
13562
 
#        else
13563
 
#          define LT_DLLAZY_OR_NOW      0
13564
 
#        endif
13565
 
#      endif
13566
 
#    endif
13567
 
#  endif
13568
 
#endif
13569
 
 
13570
 
#ifdef __cplusplus
13571
 
extern "C" void exit (int);
13572
 
#endif
13573
 
 
13574
 
void fnord() { int i=42;}
13575
 
int main ()
13576
 
{
13577
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13578
 
  int status = $lt_dlunknown;
13579
 
 
13580
 
  if (self)
13581
 
    {
13582
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13583
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13584
 
      /* dlclose (self); */
13585
 
    }
13586
 
 
13587
 
    exit (status);
13588
 
}
13589
 
EOF
13590
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13591
 
  (eval $ac_link) 2>&5
13592
 
  ac_status=$?
13593
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13594
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13595
 
    (./conftest; exit; ) 2>/dev/null
13596
 
    lt_status=$?
13597
 
    case x$lt_status in
13598
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13599
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13600
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
13601
 
    esac
13602
 
  else :
13603
 
    # compilation failed
13604
 
    lt_cv_dlopen_self_static=no
13605
 
  fi
13606
 
fi
13607
 
rm -fr conftest*
13608
 
 
13609
 
      
13610
 
fi
13611
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13612
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
13613
 
    fi
13614
 
 
13615
 
    CPPFLAGS="$save_CPPFLAGS"
13616
 
    LDFLAGS="$save_LDFLAGS"
13617
 
    LIBS="$save_LIBS"
13618
 
    ;;
13619
 
  esac
13620
 
 
13621
 
  case $lt_cv_dlopen_self in
13622
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13623
 
  *) enable_dlopen_self=unknown ;;
13624
 
  esac
13625
 
 
13626
 
  case $lt_cv_dlopen_self_static in
13627
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13628
 
  *) enable_dlopen_self_static=unknown ;;
13629
 
  esac
13630
 
fi
13631
 
 
13632
 
 
13633
 
# The else clause should only fire when bootstrapping the
13634
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
13635
 
# with your package, and you will get complaints that there are
13636
 
# no rules to generate ltmain.sh.
13637
 
if test -f "$ltmain"; then
13638
 
  # See if we are running on zsh, and set the options which allow our commands through
13639
 
  # without removal of \ escapes.
13640
 
  if test -n "${ZSH_VERSION+set}" ; then
13641
 
    setopt NO_GLOB_SUBST
13642
 
  fi
13643
 
  # Now quote all the things that may contain metacharacters while being
13644
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
13645
 
  # variables and quote the copies for generation of the libtool script.
13646
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
13647
 
    SED SHELL STRIP \
13648
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13649
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13650
 
    deplibs_check_method reload_flag reload_cmds need_locks \
13651
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13652
 
    lt_cv_sys_global_symbol_to_c_name_address \
13653
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13654
 
    old_postinstall_cmds old_postuninstall_cmds \
13655
 
    compiler_CXX \
13656
 
    CC_CXX \
13657
 
    LD_CXX \
13658
 
    lt_prog_compiler_wl_CXX \
13659
 
    lt_prog_compiler_pic_CXX \
13660
 
    lt_prog_compiler_static_CXX \
13661
 
    lt_prog_compiler_no_builtin_flag_CXX \
13662
 
    export_dynamic_flag_spec_CXX \
13663
 
    thread_safe_flag_spec_CXX \
13664
 
    whole_archive_flag_spec_CXX \
13665
 
    enable_shared_with_static_runtimes_CXX \
13666
 
    old_archive_cmds_CXX \
13667
 
    old_archive_from_new_cmds_CXX \
13668
 
    predep_objects_CXX \
13669
 
    postdep_objects_CXX \
13670
 
    predeps_CXX \
13671
 
    postdeps_CXX \
13672
 
    compiler_lib_search_path_CXX \
13673
 
    archive_cmds_CXX \
13674
 
    archive_expsym_cmds_CXX \
13675
 
    postinstall_cmds_CXX \
13676
 
    postuninstall_cmds_CXX \
13677
 
    old_archive_from_expsyms_cmds_CXX \
13678
 
    allow_undefined_flag_CXX \
13679
 
    no_undefined_flag_CXX \
13680
 
    export_symbols_cmds_CXX \
13681
 
    hardcode_libdir_flag_spec_CXX \
13682
 
    hardcode_libdir_flag_spec_ld_CXX \
13683
 
    hardcode_libdir_separator_CXX \
13684
 
    hardcode_automatic_CXX \
13685
 
    module_cmds_CXX \
13686
 
    module_expsym_cmds_CXX \
13687
 
    lt_cv_prog_compiler_c_o_CXX \
13688
 
    exclude_expsyms_CXX \
13689
 
    include_expsyms_CXX; do
13690
 
 
13691
 
    case $var in
13692
 
    old_archive_cmds_CXX | \
13693
 
    old_archive_from_new_cmds_CXX | \
13694
 
    archive_cmds_CXX | \
13695
 
    archive_expsym_cmds_CXX | \
13696
 
    module_cmds_CXX | \
13697
 
    module_expsym_cmds_CXX | \
13698
 
    old_archive_from_expsyms_cmds_CXX | \
13699
 
    export_symbols_cmds_CXX | \
13700
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
13701
 
    postinstall_cmds | postuninstall_cmds | \
13702
 
    old_postinstall_cmds | old_postuninstall_cmds | \
13703
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13704
 
      # Double-quote double-evaled strings.
13705
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13706
 
      ;;
13707
 
    *)
13708
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13709
 
      ;;
13710
 
    esac
13711
 
  done
13712
 
 
13713
 
  case $lt_echo in
13714
 
  *'\$0 --fallback-echo"')
13715
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13716
 
    ;;
13717
 
  esac
13718
 
 
13719
 
cfgfile="$ofile"
13720
 
 
13721
 
  cat <<__EOF__ >> "$cfgfile"
13722
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
13723
 
 
13724
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13725
 
 
13726
 
# Shell to use when invoking shell scripts.
13727
 
SHELL=$lt_SHELL
13728
 
 
13729
 
# Whether or not to build shared libraries.
13730
 
build_libtool_libs=$enable_shared
13731
 
 
13732
 
# Whether or not to build static libraries.
13733
 
build_old_libs=$enable_static
13734
 
 
13735
 
# Whether or not to add -lc for building shared libraries.
13736
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
13737
 
 
13738
 
# Whether or not to disallow shared libs when runtime libs are static
13739
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13740
 
 
13741
 
# Whether or not to optimize for fast installation.
13742
 
fast_install=$enable_fast_install
13743
 
 
13744
 
# The host system.
13745
 
host_alias=$host_alias
13746
 
host=$host
13747
 
 
13748
 
# An echo program that does not interpret backslashes.
13749
 
echo=$lt_echo
13750
 
 
13751
 
# The archiver.
13752
 
AR=$lt_AR
13753
 
AR_FLAGS=$lt_AR_FLAGS
13754
 
 
13755
 
# A C compiler.
13756
 
LTCC=$lt_LTCC
13757
 
 
13758
 
# A language-specific compiler.
13759
 
CC=$lt_compiler_CXX
13760
 
 
13761
 
# Is the compiler the GNU C compiler?
13762
 
with_gcc=$GCC_CXX
13763
 
 
13764
 
# An ERE matcher.
13765
 
EGREP=$lt_EGREP
13766
 
 
13767
 
# The linker used to build libraries.
13768
 
LD=$lt_LD_CXX
13769
 
 
13770
 
# Whether we need hard or soft links.
13771
 
LN_S=$lt_LN_S
13772
 
 
13773
 
# A BSD-compatible nm program.
13774
 
NM=$lt_NM
13775
 
 
13776
 
# A symbol stripping program
13777
 
STRIP=$lt_STRIP
13778
 
 
13779
 
# Used to examine libraries when file_magic_cmd begins "file"
13780
 
MAGIC_CMD=$MAGIC_CMD
13781
 
 
13782
 
# Used on cygwin: DLL creation program.
13783
 
DLLTOOL="$DLLTOOL"
13784
 
 
13785
 
# Used on cygwin: object dumper.
13786
 
OBJDUMP="$OBJDUMP"
13787
 
 
13788
 
# Used on cygwin: assembler.
13789
 
AS="$AS"
13790
 
 
13791
 
# The name of the directory that contains temporary libtool files.
13792
 
objdir=$objdir
13793
 
 
13794
 
# How to create reloadable object files.
13795
 
reload_flag=$lt_reload_flag
13796
 
reload_cmds=$lt_reload_cmds
13797
 
 
13798
 
# How to pass a linker flag through the compiler.
13799
 
wl=$lt_lt_prog_compiler_wl_CXX
13800
 
 
13801
 
# Object file suffix (normally "o").
13802
 
objext="$ac_objext"
13803
 
 
13804
 
# Old archive suffix (normally "a").
13805
 
libext="$libext"
13806
 
 
13807
 
# Shared library suffix (normally ".so").
13808
 
shrext_cmds='$shrext_cmds'
13809
 
 
13810
 
# Executable file suffix (normally "").
13811
 
exeext="$exeext"
13812
 
 
13813
 
# Additional compiler flags for building library objects.
13814
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
13815
 
pic_mode=$pic_mode
13816
 
 
13817
 
# What is the maximum length of a command?
13818
 
max_cmd_len=$lt_cv_sys_max_cmd_len
13819
 
 
13820
 
# Does compiler simultaneously support -c and -o options?
13821
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13822
 
 
13823
 
# Must we lock files when doing compilation ?
13824
 
need_locks=$lt_need_locks
13825
 
 
13826
 
# Do we need the lib prefix for modules?
13827
 
need_lib_prefix=$need_lib_prefix
13828
 
 
13829
 
# Do we need a version for libraries?
13830
 
need_version=$need_version
13831
 
 
13832
 
# Whether dlopen is supported.
13833
 
dlopen_support=$enable_dlopen
13834
 
 
13835
 
# Whether dlopen of programs is supported.
13836
 
dlopen_self=$enable_dlopen_self
13837
 
 
13838
 
# Whether dlopen of statically linked programs is supported.
13839
 
dlopen_self_static=$enable_dlopen_self_static
13840
 
 
13841
 
# Compiler flag to prevent dynamic linking.
13842
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
13843
 
 
13844
 
# Compiler flag to turn off builtin functions.
13845
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13846
 
 
13847
 
# Compiler flag to allow reflexive dlopens.
13848
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13849
 
 
13850
 
# Compiler flag to generate shared objects directly from archives.
13851
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13852
 
 
13853
 
# Compiler flag to generate thread-safe objects.
13854
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13855
 
 
13856
 
# Library versioning type.
13857
 
version_type=$version_type
13858
 
 
13859
 
# Format of library name prefix.
13860
 
libname_spec=$lt_libname_spec
13861
 
 
13862
 
# List of archive names.  First name is the real one, the rest are links.
13863
 
# The last name is the one that the linker finds with -lNAME.
13864
 
library_names_spec=$lt_library_names_spec
13865
 
 
13866
 
# The coded name of the library, if different from the real name.
13867
 
soname_spec=$lt_soname_spec
13868
 
 
13869
 
# Commands used to build and install an old-style archive.
13870
 
RANLIB=$lt_RANLIB
13871
 
old_archive_cmds=$lt_old_archive_cmds_CXX
13872
 
old_postinstall_cmds=$lt_old_postinstall_cmds
13873
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13874
 
 
13875
 
# Create an old-style archive from a shared archive.
13876
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13877
 
 
13878
 
# Create a temporary old-style archive to link instead of a shared archive.
13879
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13880
 
 
13881
 
# Commands used to build and install a shared archive.
13882
 
archive_cmds=$lt_archive_cmds_CXX
13883
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13884
 
postinstall_cmds=$lt_postinstall_cmds
13885
 
postuninstall_cmds=$lt_postuninstall_cmds
13886
 
 
13887
 
# Commands used to build a loadable module (assumed same as above if empty)
13888
 
module_cmds=$lt_module_cmds_CXX
13889
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
13890
 
 
13891
 
# Commands to strip libraries.
13892
 
old_striplib=$lt_old_striplib
13893
 
striplib=$lt_striplib
13894
 
 
13895
 
# Dependencies to place before the objects being linked to create a
13896
 
# shared library.
13897
 
predep_objects=$lt_predep_objects_CXX
13898
 
 
13899
 
# Dependencies to place after the objects being linked to create a
13900
 
# shared library.
13901
 
postdep_objects=$lt_postdep_objects_CXX
13902
 
 
13903
 
# Dependencies to place before the objects being linked to create a
13904
 
# shared library.
13905
 
predeps=$lt_predeps_CXX
13906
 
 
13907
 
# Dependencies to place after the objects being linked to create a
13908
 
# shared library.
13909
 
postdeps=$lt_postdeps_CXX
13910
 
 
13911
 
# The library search path used internally by the compiler when linking
13912
 
# a shared library.
13913
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13914
 
 
13915
 
# Method to check whether dependent libraries are shared objects.
13916
 
deplibs_check_method=$lt_deplibs_check_method
13917
 
 
13918
 
# Command to use when deplibs_check_method == file_magic.
13919
 
file_magic_cmd=$lt_file_magic_cmd
13920
 
 
13921
 
# Flag that allows shared libraries with undefined symbols to be built.
13922
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
13923
 
 
13924
 
# Flag that forces no undefined symbols.
13925
 
no_undefined_flag=$lt_no_undefined_flag_CXX
13926
 
 
13927
 
# Commands used to finish a libtool library installation in a directory.
13928
 
finish_cmds=$lt_finish_cmds
13929
 
 
13930
 
# Same as above, but a single script fragment to be evaled but not shown.
13931
 
finish_eval=$lt_finish_eval
13932
 
 
13933
 
# Take the output of nm and produce a listing of raw symbols and C names.
13934
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13935
 
 
13936
 
# Transform the output of nm in a proper C declaration
13937
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13938
 
 
13939
 
# Transform the output of nm in a C name address pair
13940
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13941
 
 
13942
 
# This is the shared library runtime path variable.
13943
 
runpath_var=$runpath_var
13944
 
 
13945
 
# This is the shared library path variable.
13946
 
shlibpath_var=$shlibpath_var
13947
 
 
13948
 
# Is shlibpath searched before the hard-coded library search path?
13949
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13950
 
 
13951
 
# How to hardcode a shared library path into an executable.
13952
 
hardcode_action=$hardcode_action_CXX
13953
 
 
13954
 
# Whether we should hardcode library paths into libraries.
13955
 
hardcode_into_libs=$hardcode_into_libs
13956
 
 
13957
 
# Flag to hardcode \$libdir into a binary during linking.
13958
 
# This must work even if \$libdir does not exist.
13959
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13960
 
 
13961
 
# If ld is used when linking, flag to hardcode \$libdir into
13962
 
# a binary during linking. This must work even if \$libdir does
13963
 
# not exist.
13964
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13965
 
 
13966
 
# Whether we need a single -rpath flag with a separated argument.
13967
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13968
 
 
13969
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13970
 
# resulting binary.
13971
 
hardcode_direct=$hardcode_direct_CXX
13972
 
 
13973
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13974
 
# resulting binary.
13975
 
hardcode_minus_L=$hardcode_minus_L_CXX
13976
 
 
13977
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13978
 
# the resulting binary.
13979
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13980
 
 
13981
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
13982
 
# and all subsequent libraries and executables linked against it.
13983
 
hardcode_automatic=$hardcode_automatic_CXX
13984
 
 
13985
 
# Variables whose values should be saved in libtool wrapper scripts and
13986
 
# restored at relink time.
13987
 
variables_saved_for_relink="$variables_saved_for_relink"
13988
 
 
13989
 
# Whether libtool must link a program against all its dependency libraries.
13990
 
link_all_deplibs=$link_all_deplibs_CXX
13991
 
 
13992
 
# Compile-time system search path for libraries
13993
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13994
 
 
13995
 
# Run-time system search path for libraries
13996
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13997
 
 
13998
 
# Fix the shell variable \$srcfile for the compiler.
13999
 
fix_srcfile_path="$fix_srcfile_path_CXX"
14000
 
 
14001
 
# Set to yes if exported symbols are required.
14002
 
always_export_symbols=$always_export_symbols_CXX
14003
 
 
14004
 
# The commands to list exported symbols.
14005
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
14006
 
 
14007
 
# The commands to extract the exported symbol list from a shared archive.
14008
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14009
 
 
14010
 
# Symbols that should not be listed in the preloaded symbols.
14011
 
exclude_expsyms=$lt_exclude_expsyms_CXX
14012
 
 
14013
 
# Symbols that must always be exported.
14014
 
include_expsyms=$lt_include_expsyms_CXX
14015
 
 
14016
 
# ### END LIBTOOL TAG CONFIG: $tagname
14017
 
 
14018
 
__EOF__
14019
 
 
14020
 
 
14021
 
else
14022
 
  # If there is no Makefile yet, we rely on a make rule to execute
14023
 
  # `config.status --recheck' to rerun these tests and create the
14024
 
  # libtool script then.
14025
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14026
 
  if test -f "$ltmain_in"; then
14027
 
    test -f Makefile && make "$ltmain"
14028
 
  fi
14029
 
fi
14030
 
 
14031
 
 
14032
 
ac_ext=c
14033
 
ac_cpp='$CPP $CPPFLAGS'
14034
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14035
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14036
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14037
 
 
14038
 
CC=$lt_save_CC
14039
 
LDCXX=$LD
14040
 
LD=$lt_save_LD
14041
 
GCC=$lt_save_GCC
14042
 
with_gnu_ldcxx=$with_gnu_ld
14043
 
with_gnu_ld=$lt_save_with_gnu_ld
14044
 
lt_cv_path_LDCXX=$lt_cv_path_LD
14045
 
lt_cv_path_LD=$lt_save_path_LD
14046
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14047
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14048
 
 
14049
 
        else
14050
 
          tagname=""
14051
 
        fi
14052
 
        ;;
14053
 
 
14054
 
      F77)
14055
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
14056
 
          
14057
 
ac_ext=f
14058
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14059
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14060
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14061
 
 
14062
 
 
14063
 
archive_cmds_need_lc_F77=no
14064
 
allow_undefined_flag_F77=
14065
 
always_export_symbols_F77=no
14066
 
archive_expsym_cmds_F77=
14067
 
export_dynamic_flag_spec_F77=
14068
 
hardcode_direct_F77=no
14069
 
hardcode_libdir_flag_spec_F77=
14070
 
hardcode_libdir_flag_spec_ld_F77=
14071
 
hardcode_libdir_separator_F77=
14072
 
hardcode_minus_L_F77=no
14073
 
hardcode_automatic_F77=no
14074
 
module_cmds_F77=
14075
 
module_expsym_cmds_F77=
14076
 
link_all_deplibs_F77=unknown
14077
 
old_archive_cmds_F77=$old_archive_cmds
14078
 
no_undefined_flag_F77=
14079
 
whole_archive_flag_spec_F77=
14080
 
enable_shared_with_static_runtimes_F77=no
14081
 
 
14082
 
# Source file extension for f77 test sources.
14083
 
ac_ext=f
14084
 
 
14085
 
# Object file extension for compiled f77 test sources.
14086
 
objext=o
14087
 
objext_F77=$objext
14088
 
 
14089
 
# Code to be used in simple compile tests
14090
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
14091
 
 
14092
 
# Code to be used in simple link tests
14093
 
lt_simple_link_test_code="      program t\n      end\n"
14094
 
 
14095
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
14096
 
 
14097
 
# If no C compiler was specified, use CC.
14098
 
LTCC=${LTCC-"$CC"}
14099
 
 
14100
 
# Allow CC to be a program name with arguments.
14101
 
compiler=$CC
14102
 
 
14103
 
 
14104
 
# Allow CC to be a program name with arguments.
14105
 
lt_save_CC="$CC"
14106
 
CC=${F77-"f77"}
14107
 
compiler=$CC
14108
 
compiler_F77=$CC
14109
 
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
14110
 
 
14111
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14112
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14113
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
14114
 
echo "${ECHO_T}$can_build_shared" >&6; }
14115
 
 
14116
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14117
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14118
 
test "$can_build_shared" = "no" && enable_shared=no
14119
 
 
14120
 
# On AIX, shared libraries and static libraries use the same namespace, and
14121
 
# are all built from PIC.
14122
 
case "$host_os" in
14123
 
aix3*)
14124
 
  test "$enable_shared" = yes && enable_static=no
14125
 
  if test -n "$RANLIB"; then
14126
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
14127
 
    postinstall_cmds='$RANLIB $lib'
14128
 
  fi
14129
 
  ;;
14130
 
aix4* | aix5*)
14131
 
  test "$enable_shared" = yes && enable_static=no
14132
 
  ;;
14133
 
esac
14134
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
14135
 
echo "${ECHO_T}$enable_shared" >&6; }
14136
 
 
14137
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14138
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14139
 
# Make sure either enable_shared or enable_static is yes.
14140
 
test "$enable_shared" = yes || enable_static=yes
14141
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
14142
 
echo "${ECHO_T}$enable_static" >&6; }
14143
 
 
14144
 
test "$ld_shlibs_F77" = no && can_build_shared=no
14145
 
 
14146
 
GCC_F77="$G77"
14147
 
LD_F77="$LD"
14148
 
 
14149
 
lt_prog_compiler_wl_F77=
14150
 
lt_prog_compiler_pic_F77=
14151
 
lt_prog_compiler_static_F77=
14152
 
 
14153
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14154
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14155
 
 
14156
 
  if test "$GCC" = yes; then
14157
 
    lt_prog_compiler_wl_F77='-Wl,'
14158
 
    lt_prog_compiler_static_F77='-static'
14159
 
 
14160
 
    case $host_os in
14161
 
      aix*)
14162
 
      # All AIX code is PIC.
14163
 
      if test "$host_cpu" = ia64; then
14164
 
        # AIX 5 now supports IA64 processor
14165
 
        lt_prog_compiler_static_F77='-Bstatic'
14166
 
      fi
14167
 
      ;;
14168
 
 
14169
 
    amigaos*)
14170
 
      # FIXME: we need at least 68020 code to build shared libraries, but
14171
 
      # adding the `-m68020' flag to GCC prevents building anything better,
14172
 
      # like `-m68040'.
14173
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
14174
 
      ;;
14175
 
 
14176
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14177
 
      # PIC is the default for these OSes.
14178
 
      ;;
14179
 
 
14180
 
    mingw* | pw32* | os2*)
14181
 
      # This hack is so that the source file can tell whether it is being
14182
 
      # built for inclusion in a dll (and should export symbols for example).
14183
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14184
 
      ;;
14185
 
 
14186
 
    darwin* | rhapsody*)
14187
 
      # PIC is the default on this platform
14188
 
      # Common symbols not allowed in MH_DYLIB files
14189
 
      lt_prog_compiler_pic_F77='-fno-common'
14190
 
      ;;
14191
 
 
14192
 
    msdosdjgpp*)
14193
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
14194
 
      # on systems that don't support them.
14195
 
      lt_prog_compiler_can_build_shared_F77=no
14196
 
      enable_shared=no
14197
 
      ;;
14198
 
 
14199
 
    sysv4*MP*)
14200
 
      if test -d /usr/nec; then
14201
 
        lt_prog_compiler_pic_F77=-Kconform_pic
14202
 
      fi
14203
 
      ;;
14204
 
 
14205
 
    hpux*)
14206
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14207
 
      # not for PA HP-UX.
14208
 
      case "$host_cpu" in
14209
 
      hppa*64*|ia64*)
14210
 
        # +Z the default
14211
 
        ;;
14212
 
      *)
14213
 
        lt_prog_compiler_pic_F77='-fPIC'
14214
 
        ;;
14215
 
      esac
14216
 
      ;;
14217
 
 
14218
 
    *)
14219
 
      lt_prog_compiler_pic_F77='-fPIC'
14220
 
      ;;
14221
 
    esac
14222
 
  else
14223
 
    # PORTME Check for flag to pass linker flags through the system compiler.
14224
 
    case $host_os in
14225
 
    aix*)
14226
 
      lt_prog_compiler_wl_F77='-Wl,'
14227
 
      if test "$host_cpu" = ia64; then
14228
 
        # AIX 5 now supports IA64 processor
14229
 
        lt_prog_compiler_static_F77='-Bstatic'
14230
 
      else
14231
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
14232
 
      fi
14233
 
      ;;
14234
 
 
14235
 
    mingw* | pw32* | os2*)
14236
 
      # This hack is so that the source file can tell whether it is being
14237
 
      # built for inclusion in a dll (and should export symbols for example).
14238
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14239
 
      ;;
14240
 
 
14241
 
    hpux9* | hpux10* | hpux11*)
14242
 
      lt_prog_compiler_wl_F77='-Wl,'
14243
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14244
 
      # not for PA HP-UX.
14245
 
      case "$host_cpu" in
14246
 
      hppa*64*|ia64*)
14247
 
        # +Z the default
14248
 
        ;;
14249
 
      *)
14250
 
        lt_prog_compiler_pic_F77='+Z'
14251
 
        ;;
14252
 
      esac
14253
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
14254
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
14255
 
      ;;
14256
 
 
14257
 
    irix5* | irix6* | nonstopux*)
14258
 
      lt_prog_compiler_wl_F77='-Wl,'
14259
 
      # PIC (with -KPIC) is the default.
14260
 
      lt_prog_compiler_static_F77='-non_shared'
14261
 
      ;;
14262
 
 
14263
 
    newsos6)
14264
 
      lt_prog_compiler_pic_F77='-KPIC'
14265
 
      lt_prog_compiler_static_F77='-Bstatic'
14266
 
      ;;
14267
 
 
14268
 
    linux*)
14269
 
      case $CC in
14270
 
      icc* | ecc*)
14271
 
        lt_prog_compiler_wl_F77='-Wl,'
14272
 
        lt_prog_compiler_pic_F77='-KPIC'
14273
 
        lt_prog_compiler_static_F77='-static'
14274
 
        ;;
14275
 
      ccc*)
14276
 
        lt_prog_compiler_wl_F77='-Wl,'
14277
 
        # All Alpha code is PIC.
14278
 
        lt_prog_compiler_static_F77='-non_shared'
14279
 
        ;;
14280
 
      esac
14281
 
      ;;
14282
 
 
14283
 
    osf3* | osf4* | osf5*)
14284
 
      lt_prog_compiler_wl_F77='-Wl,'
14285
 
      # All OSF/1 code is PIC.
14286
 
      lt_prog_compiler_static_F77='-non_shared'
14287
 
      ;;
14288
 
 
14289
 
    sco3.2v5*)
14290
 
      lt_prog_compiler_pic_F77='-Kpic'
14291
 
      lt_prog_compiler_static_F77='-dn'
14292
 
      ;;
14293
 
 
14294
 
    solaris*)
14295
 
      lt_prog_compiler_wl_F77='-Wl,'
14296
 
      lt_prog_compiler_pic_F77='-KPIC'
14297
 
      lt_prog_compiler_static_F77='-Bstatic'
14298
 
      ;;
14299
 
 
14300
 
    sunos4*)
14301
 
      lt_prog_compiler_wl_F77='-Qoption ld '
14302
 
      lt_prog_compiler_pic_F77='-PIC'
14303
 
      lt_prog_compiler_static_F77='-Bstatic'
14304
 
      ;;
14305
 
 
14306
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14307
 
      lt_prog_compiler_wl_F77='-Wl,'
14308
 
      lt_prog_compiler_pic_F77='-KPIC'
14309
 
      lt_prog_compiler_static_F77='-Bstatic'
14310
 
      ;;
14311
 
 
14312
 
    sysv4*MP*)
14313
 
      if test -d /usr/nec ;then
14314
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
14315
 
        lt_prog_compiler_static_F77='-Bstatic'
14316
 
      fi
14317
 
      ;;
14318
 
 
14319
 
    uts4*)
14320
 
      lt_prog_compiler_pic_F77='-pic'
14321
 
      lt_prog_compiler_static_F77='-Bstatic'
14322
 
      ;;
14323
 
 
14324
 
    *)
14325
 
      lt_prog_compiler_can_build_shared_F77=no
14326
 
      ;;
14327
 
    esac
14328
 
  fi
14329
 
 
14330
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14331
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14332
 
 
14333
 
#
14334
 
# Check to make sure the PIC flag actually works.
14335
 
#
14336
 
if test -n "$lt_prog_compiler_pic_F77"; then
14337
 
  
14338
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14339
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14340
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14341
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14342
 
else
14343
 
  lt_prog_compiler_pic_works_F77=no
14344
 
  ac_outfile=conftest.$ac_objext
14345
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14346
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
14347
 
   # Insert the option either (1) after the last *FLAGS variable, or
14348
 
   # (2) before a word containing "conftest.", or (3) at the end.
14349
 
   # Note that $ac_compile itself does not contain backslashes and begins
14350
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14351
 
   # The option is referenced via a variable to avoid confusing sed.
14352
 
   lt_compile=`echo "$ac_compile" | $SED \
14353
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14354
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14355
 
   -e 's:$: $lt_compiler_flag:'`
14356
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
14357
 
   (eval "$lt_compile" 2>conftest.err)
14358
 
   ac_status=$?
14359
 
   cat conftest.err >&5
14360
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
14361
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
14362
 
     # The compiler can only warn and ignore the option if not recognized
14363
 
     # So say no if there are warnings
14364
 
     if test ! -s conftest.err; then
14365
 
       lt_prog_compiler_pic_works_F77=yes
14366
 
     fi
14367
 
   fi
14368
 
   $rm conftest*
14369
 
 
14370
 
fi
14371
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14372
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14373
 
 
14374
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
14375
 
    case $lt_prog_compiler_pic_F77 in
14376
 
     "" | " "*) ;;
14377
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
14378
 
     esac
14379
 
else
14380
 
    lt_prog_compiler_pic_F77=
14381
 
     lt_prog_compiler_can_build_shared_F77=no
14382
 
fi
14383
 
 
14384
 
fi
14385
 
case "$host_os" in
14386
 
  # For platforms which do not support PIC, -DPIC is meaningless:
14387
 
  *djgpp*)
14388
 
    lt_prog_compiler_pic_F77=
14389
 
    ;;
14390
 
  *)
14391
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
14392
 
    ;;
14393
 
esac
14394
 
 
14395
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14396
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14397
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14398
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14399
 
else
14400
 
  lt_cv_prog_compiler_c_o_F77=no
14401
 
   $rm -r conftest 2>/dev/null
14402
 
   mkdir conftest
14403
 
   cd conftest
14404
 
   mkdir out
14405
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14406
 
 
14407
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14408
 
   # Insert the option either (1) after the last *FLAGS variable, or
14409
 
   # (2) before a word containing "conftest.", or (3) at the end.
14410
 
   # Note that $ac_compile itself does not contain backslashes and begins
14411
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14412
 
   lt_compile=`echo "$ac_compile" | $SED \
14413
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14414
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14415
 
   -e 's:$: $lt_compiler_flag:'`
14416
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
14417
 
   (eval "$lt_compile" 2>out/conftest.err)
14418
 
   ac_status=$?
14419
 
   cat out/conftest.err >&5
14420
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
14421
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14422
 
   then
14423
 
     # The compiler can only warn and ignore the option if not recognized
14424
 
     # So say no if there are warnings
14425
 
     if test ! -s out/conftest.err; then
14426
 
       lt_cv_prog_compiler_c_o_F77=yes
14427
 
     fi
14428
 
   fi
14429
 
   chmod u+w .
14430
 
   $rm conftest*
14431
 
   # SGI C++ compiler will create directory out/ii_files/ for
14432
 
   # template instantiation
14433
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14434
 
   $rm out/* && rmdir out
14435
 
   cd ..
14436
 
   rmdir conftest
14437
 
   $rm conftest*
14438
 
 
14439
 
fi
14440
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14441
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14442
 
 
14443
 
 
14444
 
hard_links="nottested"
14445
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
14446
 
  # do not overwrite the value of need_locks provided by the user
14447
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14448
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14449
 
  hard_links=yes
14450
 
  $rm conftest*
14451
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14452
 
  touch conftest.a
14453
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
14454
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14455
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
14456
 
echo "${ECHO_T}$hard_links" >&6; }
14457
 
  if test "$hard_links" = no; then
14458
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14459
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14460
 
    need_locks=warn
14461
 
  fi
14462
 
else
14463
 
  need_locks=no
14464
 
fi
14465
 
 
14466
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14467
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14468
 
 
14469
 
  runpath_var=
14470
 
  allow_undefined_flag_F77=
14471
 
  enable_shared_with_static_runtimes_F77=no
14472
 
  archive_cmds_F77=
14473
 
  archive_expsym_cmds_F77=
14474
 
  old_archive_From_new_cmds_F77=
14475
 
  old_archive_from_expsyms_cmds_F77=
14476
 
  export_dynamic_flag_spec_F77=
14477
 
  whole_archive_flag_spec_F77=
14478
 
  thread_safe_flag_spec_F77=
14479
 
  hardcode_libdir_flag_spec_F77=
14480
 
  hardcode_libdir_flag_spec_ld_F77=
14481
 
  hardcode_libdir_separator_F77=
14482
 
  hardcode_direct_F77=no
14483
 
  hardcode_minus_L_F77=no
14484
 
  hardcode_shlibpath_var_F77=unsupported
14485
 
  link_all_deplibs_F77=unknown
14486
 
  hardcode_automatic_F77=no
14487
 
  module_cmds_F77=
14488
 
  module_expsym_cmds_F77=
14489
 
  always_export_symbols_F77=no
14490
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14491
 
  # include_expsyms should be a list of space-separated symbols to be *always*
14492
 
  # included in the symbol list
14493
 
  include_expsyms_F77=
14494
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
14495
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
14496
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14497
 
  # as well as any symbol that contains `d'.
14498
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
14499
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14500
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
14501
 
  # the symbol is explicitly referenced.  Since portable code cannot
14502
 
  # rely on this symbol name, it's probably fine to never include it in
14503
 
  # preloaded symbol tables.
14504
 
  extract_expsyms_cmds=
14505
 
 
14506
 
  case $host_os in
14507
 
  cygwin* | mingw* | pw32*)
14508
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
14509
 
    # When not using gcc, we currently assume that we are using
14510
 
    # Microsoft Visual C++.
14511
 
    if test "$GCC" != yes; then
14512
 
      with_gnu_ld=no
14513
 
    fi
14514
 
    ;;
14515
 
  openbsd*)
14516
 
    with_gnu_ld=no
14517
 
    ;;
14518
 
  esac
14519
 
 
14520
 
  ld_shlibs_F77=yes
14521
 
  if test "$with_gnu_ld" = yes; then
14522
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
14523
 
    wlarc='${wl}'
14524
 
 
14525
 
    # See if GNU ld supports shared libraries.
14526
 
    case $host_os in
14527
 
    aix3* | aix4* | aix5*)
14528
 
      # On AIX/PPC, the GNU linker is very broken
14529
 
      if test "$host_cpu" != ia64; then
14530
 
        ld_shlibs_F77=no
14531
 
        cat <<EOF 1>&2
14532
 
 
14533
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
14534
 
*** to be unable to reliably create shared libraries on AIX.
14535
 
*** Therefore, libtool is disabling shared libraries support.  If you
14536
 
*** really care for shared libraries, you may want to modify your PATH
14537
 
*** so that a non-GNU linker is found, and then restart.
14538
 
 
14539
 
EOF
14540
 
      fi
14541
 
      ;;
14542
 
 
14543
 
    amigaos*)
14544
 
      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14545
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14546
 
      hardcode_minus_L_F77=yes
14547
 
 
14548
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14549
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
14550
 
      # to version 4, is to share data among multiple programs linked
14551
 
      # with the same dynamic library.  Since this doesn't match the
14552
 
      # behavior of shared libraries on other platforms, we can't use
14553
 
      # them.
14554
 
      ld_shlibs_F77=no
14555
 
      ;;
14556
 
 
14557
 
    beos*)
14558
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14559
 
        allow_undefined_flag_F77=unsupported
14560
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14561
 
        # support --undefined.  This deserves some investigation.  FIXME
14562
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14563
 
      else
14564
 
        ld_shlibs_F77=no
14565
 
      fi
14566
 
      ;;
14567
 
 
14568
 
    cygwin* | mingw* | pw32*)
14569
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14570
 
      # as there is no search path for DLLs.
14571
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14572
 
      allow_undefined_flag_F77=unsupported
14573
 
      always_export_symbols_F77=no
14574
 
      enable_shared_with_static_runtimes_F77=yes
14575
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14576
 
 
14577
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14578
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14579
 
        # If the export-symbols file already is a .def file (1st line
14580
 
        # is EXPORTS), use it as is; otherwise, prepend...
14581
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14582
 
          cp $export_symbols $output_objdir/$soname.def;
14583
 
        else
14584
 
          echo EXPORTS > $output_objdir/$soname.def;
14585
 
          cat $export_symbols >> $output_objdir/$soname.def;
14586
 
        fi~
14587
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
14588
 
      else
14589
 
        ld_shlibs=no
14590
 
      fi
14591
 
      ;;
14592
 
 
14593
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
14594
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14595
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14596
 
        wlarc=
14597
 
      else
14598
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14599
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14600
 
      fi
14601
 
      ;;
14602
 
 
14603
 
    solaris* | sysv5*)
14604
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
14605
 
        ld_shlibs_F77=no
14606
 
        cat <<EOF 1>&2
14607
 
 
14608
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
14609
 
*** create shared libraries on Solaris systems.  Therefore, libtool
14610
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
14611
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
14612
 
*** your PATH or compiler configuration so that the native linker is
14613
 
*** used, and then restart.
14614
 
 
14615
 
EOF
14616
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14617
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14618
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14619
 
      else
14620
 
        ld_shlibs_F77=no
14621
 
      fi
14622
 
      ;;
14623
 
 
14624
 
    sunos4*)
14625
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14626
 
      wlarc=
14627
 
      hardcode_direct_F77=yes
14628
 
      hardcode_shlibpath_var_F77=no
14629
 
      ;;
14630
 
 
14631
 
  linux*)
14632
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14633
 
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14634
 
        archive_cmds_F77="$tmp_archive_cmds"
14635
 
      supports_anon_versioning=no
14636
 
      case `$LD -v 2>/dev/null` in
14637
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14638
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14639
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14640
 
        *\ 2.11.*) ;; # other 2.11 versions
14641
 
        *) supports_anon_versioning=yes ;;
14642
 
      esac
14643
 
      if test $supports_anon_versioning = yes; then
14644
 
        archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14645
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14646
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
14647
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14648
 
      else
14649
 
        archive_expsym_cmds_F77="$tmp_archive_cmds"
14650
 
      fi
14651
 
      link_all_deplibs_F77=no
14652
 
    else
14653
 
      ld_shlibs_F77=no
14654
 
    fi
14655
 
    ;;
14656
 
 
14657
 
    *)
14658
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14659
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14660
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14661
 
      else
14662
 
        ld_shlibs_F77=no
14663
 
      fi
14664
 
      ;;
14665
 
    esac
14666
 
 
14667
 
    if test "$ld_shlibs_F77" = yes; then
14668
 
      runpath_var=LD_RUN_PATH
14669
 
      hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
14670
 
      export_dynamic_flag_spec_F77='${wl}--export-dynamic'
14671
 
      # ancient GNU ld didn't support --whole-archive et. al.
14672
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14673
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14674
 
      else
14675
 
        whole_archive_flag_spec_F77=
14676
 
      fi
14677
 
    fi
14678
 
  else
14679
 
    # PORTME fill in a description of your system's linker (not GNU ld)
14680
 
    case $host_os in
14681
 
    aix3*)
14682
 
      allow_undefined_flag_F77=unsupported
14683
 
      always_export_symbols_F77=yes
14684
 
      archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
14685
 
      # Note: this linker hardcodes the directories in LIBPATH if there
14686
 
      # are no directories specified by -L.
14687
 
      hardcode_minus_L_F77=yes
14688
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
14689
 
        # Neither direct hardcoding nor static linking is supported with a
14690
 
        # broken collect2.
14691
 
        hardcode_direct_F77=unsupported
14692
 
      fi
14693
 
      ;;
14694
 
 
14695
 
    aix4* | aix5*)
14696
 
      if test "$host_cpu" = ia64; then
14697
 
        # On IA64, the linker does run time linking by default, so we don't
14698
 
        # have to do anything special.
14699
 
        aix_use_runtimelinking=no
14700
 
        exp_sym_flag='-Bexport'
14701
 
        no_entry_flag=""
14702
 
      else
14703
 
        # If we're using GNU nm, then we don't want the "-C" option.
14704
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
14705
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14706
 
          export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14707
 
        else
14708
 
          export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14709
 
        fi
14710
 
        aix_use_runtimelinking=no
14711
 
 
14712
 
        # Test if we are trying to use run time linking or normal
14713
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14714
 
        # need to do runtime linking.
14715
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
14716
 
          for ld_flag in $LDFLAGS; do
14717
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14718
 
            aix_use_runtimelinking=yes
14719
 
            break
14720
 
          fi
14721
 
          done
14722
 
        esac
14723
 
 
14724
 
        exp_sym_flag='-bexport'
14725
 
        no_entry_flag='-bnoentry'
14726
 
      fi
14727
 
 
14728
 
      # When large executables or shared objects are built, AIX ld can
14729
 
      # have problems creating the table of contents.  If linking a library
14730
 
      # or program results in "error TOC overflow" add -mminimal-toc to
14731
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14732
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14733
 
 
14734
 
      archive_cmds_F77=''
14735
 
      hardcode_direct_F77=yes
14736
 
      hardcode_libdir_separator_F77=':'
14737
 
      link_all_deplibs_F77=yes
14738
 
 
14739
 
      if test "$GCC" = yes; then
14740
 
        case $host_os in aix4.012|aix4.012.*)
14741
 
        # We only want to do this on AIX 4.2 and lower, the check
14742
 
        # below for broken collect2 doesn't work under 4.3+
14743
 
          collect2name=`${CC} -print-prog-name=collect2`
14744
 
          if test -f "$collect2name" && \
14745
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
14746
 
          then
14747
 
          # We have reworked collect2
14748
 
          hardcode_direct_F77=yes
14749
 
          else
14750
 
          # We have old collect2
14751
 
          hardcode_direct_F77=unsupported
14752
 
          # It fails to find uninstalled libraries when the uninstalled
14753
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
14754
 
          # to unsupported forces relinking
14755
 
          hardcode_minus_L_F77=yes
14756
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
14757
 
          hardcode_libdir_separator_F77=
14758
 
          fi
14759
 
        esac
14760
 
        shared_flag='-shared'
14761
 
      else
14762
 
        # not using gcc
14763
 
        if test "$host_cpu" = ia64; then
14764
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14765
 
        # chokes on -Wl,-G. The following line is correct:
14766
 
          shared_flag='-G'
14767
 
        else
14768
 
        if test "$aix_use_runtimelinking" = yes; then
14769
 
            shared_flag='${wl}-G'
14770
 
          else
14771
 
            shared_flag='${wl}-bM:SRE'
14772
 
        fi
14773
 
        fi
14774
 
      fi
14775
 
 
14776
 
      # It seems that -bexpall does not export symbols beginning with
14777
 
      # underscore (_), so it is better to generate a list of symbols to export.
14778
 
      always_export_symbols_F77=yes
14779
 
      if test "$aix_use_runtimelinking" = yes; then
14780
 
        # Warning - without using the other runtime loading flags (-brtl),
14781
 
        # -berok will link without error, but may produce a broken library.
14782
 
        allow_undefined_flag_F77='-berok'
14783
 
       # Determine the default libpath from the value encoded in an empty executable.
14784
 
       cat >conftest.$ac_ext <<_ACEOF
14785
 
      program main
14786
 
 
14787
 
      end
14788
 
_ACEOF
14789
 
rm -f conftest.$ac_objext conftest$ac_exeext
14790
 
if { (ac_try="$ac_link"
14791
 
case "(($ac_try" in
14792
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14793
 
  *) ac_try_echo=$ac_try;;
14794
 
esac
14795
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14796
 
  (eval "$ac_link") 2>conftest.er1
14797
 
  ac_status=$?
14798
 
  grep -v '^ *+' conftest.er1 >conftest.err
14799
 
  rm -f conftest.er1
14800
 
  cat conftest.err >&5
14801
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14802
 
  (exit $ac_status); } && {
14803
 
         test -z "$ac_f77_werror_flag" ||
14804
 
         test ! -s conftest.err
14805
 
       } && test -s conftest$ac_exeext &&
14806
 
       $as_test_x conftest$ac_exeext; then
14807
 
  
14808
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14809
 
}'`
14810
 
# Check for a 64-bit object if we didn't find anything.
14811
 
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; }
14812
 
}'`; fi
14813
 
else
14814
 
  echo "$as_me: failed program was:" >&5
14815
 
sed 's/^/| /' conftest.$ac_ext >&5
14816
 
 
14817
 
        
14818
 
fi
14819
 
 
14820
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14821
 
      conftest$ac_exeext conftest.$ac_ext
14822
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14823
 
 
14824
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14825
 
        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"
14826
 
       else
14827
 
        if test "$host_cpu" = ia64; then
14828
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14829
 
          allow_undefined_flag_F77="-z nodefs"
14830
 
          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"
14831
 
        else
14832
 
         # Determine the default libpath from the value encoded in an empty executable.
14833
 
         cat >conftest.$ac_ext <<_ACEOF
14834
 
      program main
14835
 
 
14836
 
      end
14837
 
_ACEOF
14838
 
rm -f conftest.$ac_objext conftest$ac_exeext
14839
 
if { (ac_try="$ac_link"
14840
 
case "(($ac_try" in
14841
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14842
 
  *) ac_try_echo=$ac_try;;
14843
 
esac
14844
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14845
 
  (eval "$ac_link") 2>conftest.er1
14846
 
  ac_status=$?
14847
 
  grep -v '^ *+' conftest.er1 >conftest.err
14848
 
  rm -f conftest.er1
14849
 
  cat conftest.err >&5
14850
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851
 
  (exit $ac_status); } && {
14852
 
         test -z "$ac_f77_werror_flag" ||
14853
 
         test ! -s conftest.err
14854
 
       } && test -s conftest$ac_exeext &&
14855
 
       $as_test_x conftest$ac_exeext; then
14856
 
  
14857
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14858
 
}'`
14859
 
# Check for a 64-bit object if we didn't find anything.
14860
 
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; }
14861
 
}'`; fi
14862
 
else
14863
 
  echo "$as_me: failed program was:" >&5
14864
 
sed 's/^/| /' conftest.$ac_ext >&5
14865
 
 
14866
 
        
14867
 
fi
14868
 
 
14869
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14870
 
      conftest$ac_exeext conftest.$ac_ext
14871
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14872
 
 
14873
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14874
 
          # Warning - without using the other run time loading flags,
14875
 
          # -berok will link without error, but may produce a broken library.
14876
 
          no_undefined_flag_F77=' ${wl}-bernotok'
14877
 
          allow_undefined_flag_F77=' ${wl}-berok'
14878
 
          # -bexpall does not export symbols beginning with underscore (_)
14879
 
          always_export_symbols_F77=yes
14880
 
          # Exported symbols can be pulled into shared objects from archives
14881
 
          whole_archive_flag_spec_F77=' '
14882
 
          archive_cmds_need_lc_F77=yes
14883
 
          # This is similar to how AIX traditionally builds it's shared libraries.
14884
 
          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'
14885
 
        fi
14886
 
      fi
14887
 
      ;;
14888
 
 
14889
 
    amigaos*)
14890
 
      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14891
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14892
 
      hardcode_minus_L_F77=yes
14893
 
      # see comment about different semantics on the GNU ld section
14894
 
      ld_shlibs_F77=no
14895
 
      ;;
14896
 
 
14897
 
    bsdi4*)
14898
 
      export_dynamic_flag_spec_F77=-rdynamic
14899
 
      ;;
14900
 
 
14901
 
    cygwin* | mingw* | pw32*)
14902
 
      # When not using gcc, we currently assume that we are using
14903
 
      # Microsoft Visual C++.
14904
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
14905
 
      # no search path for DLLs.
14906
 
      hardcode_libdir_flag_spec_F77=' '
14907
 
      allow_undefined_flag_F77=unsupported
14908
 
      # Tell ltmain to make .lib files, not .a files.
14909
 
      libext=lib
14910
 
      # Tell ltmain to make .dll files, not .so files.
14911
 
      shrext_cmds=".dll"
14912
 
      # FIXME: Setting linknames here is a bad hack.
14913
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14914
 
      # The linker will automatically build a .lib file if we build a DLL.
14915
 
      old_archive_From_new_cmds_F77='true'
14916
 
      # FIXME: Should let the user specify the lib program.
14917
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
14918
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
14919
 
      enable_shared_with_static_runtimes_F77=yes
14920
 
      ;;
14921
 
 
14922
 
    darwin* | rhapsody*)
14923
 
    if test "$GXX" = yes ; then
14924
 
      archive_cmds_need_lc_F77=no
14925
 
      case "$host_os" in
14926
 
      rhapsody* | darwin1.[012])
14927
 
        allow_undefined_flag_F77='-undefined suppress'
14928
 
        ;;
14929
 
      *) # Darwin 1.3 on
14930
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14931
 
        allow_undefined_flag_F77='-flat_namespace -undefined suppress'
14932
 
      else
14933
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
14934
 
          10.[012])
14935
 
            allow_undefined_flag_F77='-flat_namespace -undefined suppress'
14936
 
            ;;
14937
 
          10.*)
14938
 
            allow_undefined_flag_F77='-undefined dynamic_lookup'
14939
 
            ;;
14940
 
        esac
14941
 
      fi
14942
 
        ;;
14943
 
      esac
14944
 
        lt_int_apple_cc_single_mod=no
14945
 
        output_verbose_link_cmd='echo'
14946
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
14947
 
          lt_int_apple_cc_single_mod=yes
14948
 
        fi
14949
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
14950
 
          archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14951
 
        else
14952
 
        archive_cmds_F77='$CC -r ${wl}-bind_at_load -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'
14953
 
      fi
14954
 
      module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14955
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14956
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
14957
 
          archive_expsym_cmds_F77='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}'
14958
 
        else
14959
 
          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
14960
 
        fi
14961
 
          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}'
14962
 
      hardcode_direct_F77=no
14963
 
      hardcode_automatic_F77=yes
14964
 
      hardcode_shlibpath_var_F77=unsupported
14965
 
      whole_archive_flag_spec_F77='-all_load $convenience'
14966
 
      link_all_deplibs_F77=yes
14967
 
    else
14968
 
      ld_shlibs_F77=no
14969
 
    fi
14970
 
      ;;
14971
 
 
14972
 
    dgux*)
14973
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14974
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14975
 
      hardcode_shlibpath_var_F77=no
14976
 
      ;;
14977
 
 
14978
 
    freebsd1*)
14979
 
      ld_shlibs_F77=no
14980
 
      ;;
14981
 
 
14982
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14983
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
14984
 
    # does not break anything, and helps significantly (at the cost of a little
14985
 
    # extra space).
14986
 
    freebsd2.2*)
14987
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14988
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
14989
 
      hardcode_direct_F77=yes
14990
 
      hardcode_shlibpath_var_F77=no
14991
 
      ;;
14992
 
 
14993
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14994
 
    freebsd2*)
14995
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14996
 
      hardcode_direct_F77=yes
14997
 
      hardcode_minus_L_F77=yes
14998
 
      hardcode_shlibpath_var_F77=no
14999
 
      ;;
15000
 
 
15001
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15002
 
    freebsd* | kfreebsd*-gnu)
15003
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15004
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15005
 
      hardcode_direct_F77=yes
15006
 
      hardcode_shlibpath_var_F77=no
15007
 
      ;;
15008
 
 
15009
 
    hpux9*)
15010
 
      if test "$GCC" = yes; then
15011
 
        archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15012
 
      else
15013
 
        archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15014
 
      fi
15015
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15016
 
      hardcode_libdir_separator_F77=:
15017
 
      hardcode_direct_F77=yes
15018
 
 
15019
 
      # hardcode_minus_L: Not really in the search PATH,
15020
 
      # but as the default location of the library.
15021
 
      hardcode_minus_L_F77=yes
15022
 
      export_dynamic_flag_spec_F77='${wl}-E'
15023
 
      ;;
15024
 
 
15025
 
    hpux10* | hpux11*)
15026
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15027
 
        case "$host_cpu" in
15028
 
        hppa*64*|ia64*)
15029
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15030
 
          ;;
15031
 
        *)
15032
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15033
 
          ;;
15034
 
        esac
15035
 
      else
15036
 
        case "$host_cpu" in
15037
 
        hppa*64*|ia64*)
15038
 
          archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15039
 
          ;;
15040
 
        *)
15041
 
          archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15042
 
          ;;
15043
 
        esac
15044
 
      fi
15045
 
      if test "$with_gnu_ld" = no; then
15046
 
        case "$host_cpu" in
15047
 
        hppa*64*)
15048
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15049
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
15050
 
          hardcode_libdir_separator_F77=:
15051
 
          hardcode_direct_F77=no
15052
 
          hardcode_shlibpath_var_F77=no
15053
 
          ;;
15054
 
        ia64*)
15055
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
15056
 
          hardcode_direct_F77=no
15057
 
          hardcode_shlibpath_var_F77=no
15058
 
 
15059
 
          # hardcode_minus_L: Not really in the search PATH,
15060
 
          # but as the default location of the library.
15061
 
          hardcode_minus_L_F77=yes
15062
 
          ;;
15063
 
        *)
15064
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15065
 
          hardcode_libdir_separator_F77=:
15066
 
          hardcode_direct_F77=yes
15067
 
          export_dynamic_flag_spec_F77='${wl}-E'
15068
 
 
15069
 
          # hardcode_minus_L: Not really in the search PATH,
15070
 
          # but as the default location of the library.
15071
 
          hardcode_minus_L_F77=yes
15072
 
          ;;
15073
 
        esac
15074
 
      fi
15075
 
      ;;
15076
 
 
15077
 
    irix5* | irix6* | nonstopux*)
15078
 
      if test "$GCC" = yes; then
15079
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15080
 
      else
15081
 
        archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15082
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
15083
 
      fi
15084
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15085
 
      hardcode_libdir_separator_F77=:
15086
 
      link_all_deplibs_F77=yes
15087
 
      ;;
15088
 
 
15089
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
15090
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15091
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
15092
 
      else
15093
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
15094
 
      fi
15095
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15096
 
      hardcode_direct_F77=yes
15097
 
      hardcode_shlibpath_var_F77=no
15098
 
      ;;
15099
 
 
15100
 
    newsos6)
15101
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15102
 
      hardcode_direct_F77=yes
15103
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15104
 
      hardcode_libdir_separator_F77=:
15105
 
      hardcode_shlibpath_var_F77=no
15106
 
      ;;
15107
 
 
15108
 
    openbsd*)
15109
 
      hardcode_direct_F77=yes
15110
 
      hardcode_shlibpath_var_F77=no
15111
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15112
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15113
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15114
 
        export_dynamic_flag_spec_F77='${wl}-E'
15115
 
      else
15116
 
       case $host_os in
15117
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15118
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15119
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
15120
 
           ;;
15121
 
         *)
15122
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15123
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15124
 
           ;;
15125
 
       esac
15126
 
      fi
15127
 
      ;;
15128
 
 
15129
 
    os2*)
15130
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15131
 
      hardcode_minus_L_F77=yes
15132
 
      allow_undefined_flag_F77=unsupported
15133
 
      archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
15134
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15135
 
      ;;
15136
 
 
15137
 
    osf3*)
15138
 
      if test "$GCC" = yes; then
15139
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15140
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15141
 
      else
15142
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15143
 
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15144
 
      fi
15145
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15146
 
      hardcode_libdir_separator_F77=:
15147
 
      ;;
15148
 
 
15149
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
15150
 
      if test "$GCC" = yes; then
15151
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15152
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15153
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15154
 
      else
15155
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15156
 
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15157
 
        archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15158
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
15159
 
 
15160
 
        # Both c and cxx compiler support -rpath directly
15161
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
15162
 
      fi
15163
 
      hardcode_libdir_separator_F77=:
15164
 
      ;;
15165
 
 
15166
 
    sco3.2v5*)
15167
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15168
 
      hardcode_shlibpath_var_F77=no
15169
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
15170
 
      runpath_var=LD_RUN_PATH
15171
 
      hardcode_runpath_var=yes
15172
 
      ;;
15173
 
 
15174
 
    solaris*)
15175
 
      no_undefined_flag_F77=' -z text'
15176
 
      if test "$GCC" = yes; then
15177
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15178
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15179
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15180
 
      else
15181
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15182
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15183
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15184
 
      fi
15185
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15186
 
      hardcode_shlibpath_var_F77=no
15187
 
      case $host_os in
15188
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
15189
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
15190
 
        whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
15191
 
      esac
15192
 
      link_all_deplibs_F77=yes
15193
 
      ;;
15194
 
 
15195
 
    sunos4*)
15196
 
      if test "x$host_vendor" = xsequent; then
15197
 
        # Use $CC to link under sequent, because it throws in some extra .o
15198
 
        # files that make .init and .fini sections work.
15199
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15200
 
      else
15201
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15202
 
      fi
15203
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15204
 
      hardcode_direct_F77=yes
15205
 
      hardcode_minus_L_F77=yes
15206
 
      hardcode_shlibpath_var_F77=no
15207
 
      ;;
15208
 
 
15209
 
    sysv4)
15210
 
      case $host_vendor in
15211
 
        sni)
15212
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15213
 
          hardcode_direct_F77=yes # is this really true???
15214
 
        ;;
15215
 
        siemens)
15216
 
          ## LD is ld it makes a PLAMLIB
15217
 
          ## CC just makes a GrossModule.
15218
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15219
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
15220
 
          hardcode_direct_F77=no
15221
 
        ;;
15222
 
        motorola)
15223
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15224
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
15225
 
        ;;
15226
 
      esac
15227
 
      runpath_var='LD_RUN_PATH'
15228
 
      hardcode_shlibpath_var_F77=no
15229
 
      ;;
15230
 
 
15231
 
    sysv4.3*)
15232
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15233
 
      hardcode_shlibpath_var_F77=no
15234
 
      export_dynamic_flag_spec_F77='-Bexport'
15235
 
      ;;
15236
 
 
15237
 
    sysv4*MP*)
15238
 
      if test -d /usr/nec; then
15239
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15240
 
        hardcode_shlibpath_var_F77=no
15241
 
        runpath_var=LD_RUN_PATH
15242
 
        hardcode_runpath_var=yes
15243
 
        ld_shlibs_F77=yes
15244
 
      fi
15245
 
      ;;
15246
 
 
15247
 
    sysv4.2uw2*)
15248
 
      archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15249
 
      hardcode_direct_F77=yes
15250
 
      hardcode_minus_L_F77=no
15251
 
      hardcode_shlibpath_var_F77=no
15252
 
      hardcode_runpath_var=yes
15253
 
      runpath_var=LD_RUN_PATH
15254
 
      ;;
15255
 
 
15256
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
15257
 
      no_undefined_flag_F77='${wl}-z ${wl}text'
15258
 
      if test "$GCC" = yes; then
15259
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15260
 
      else
15261
 
        archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15262
 
      fi
15263
 
      runpath_var='LD_RUN_PATH'
15264
 
      hardcode_shlibpath_var_F77=no
15265
 
      ;;
15266
 
 
15267
 
    sysv5*)
15268
 
      no_undefined_flag_F77=' -z text'
15269
 
      # $CC -shared without GNU ld will not create a library from C++
15270
 
      # object files and a static libstdc++, better avoid it by now
15271
 
      archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15272
 
      archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15273
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15274
 
      hardcode_libdir_flag_spec_F77=
15275
 
      hardcode_shlibpath_var_F77=no
15276
 
      runpath_var='LD_RUN_PATH'
15277
 
      ;;
15278
 
 
15279
 
    uts4*)
15280
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15281
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15282
 
      hardcode_shlibpath_var_F77=no
15283
 
      ;;
15284
 
 
15285
 
    *)
15286
 
      ld_shlibs_F77=no
15287
 
      ;;
15288
 
    esac
15289
 
  fi
15290
 
 
15291
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15292
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15293
 
test "$ld_shlibs_F77" = no && can_build_shared=no
15294
 
 
15295
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15296
 
if test "$GCC" = yes; then
15297
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15298
 
fi
15299
 
 
15300
 
#
15301
 
# Do we need to explicitly link libc?
15302
 
#
15303
 
case "x$archive_cmds_need_lc_F77" in
15304
 
x|xyes)
15305
 
  # Assume -lc should be added
15306
 
  archive_cmds_need_lc_F77=yes
15307
 
 
15308
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
15309
 
    case $archive_cmds_F77 in
15310
 
    *'~'*)
15311
 
      # FIXME: we may have to deal with multi-command sequences.
15312
 
      ;;
15313
 
    '$CC '*)
15314
 
      # Test whether the compiler implicitly links with -lc since on some
15315
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15316
 
      # to ld, don't add -lc before -lgcc.
15317
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15318
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15319
 
      $rm conftest*
15320
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15321
 
 
15322
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15323
 
  (eval $ac_compile) 2>&5
15324
 
  ac_status=$?
15325
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326
 
  (exit $ac_status); } 2>conftest.err; then
15327
 
        soname=conftest
15328
 
        lib=conftest
15329
 
        libobjs=conftest.$ac_objext
15330
 
        deplibs=
15331
 
        wl=$lt_prog_compiler_wl_F77
15332
 
        compiler_flags=-v
15333
 
        linker_flags=-v
15334
 
        verstring=
15335
 
        output_objdir=.
15336
 
        libname=conftest
15337
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
15338
 
        allow_undefined_flag_F77=
15339
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15340
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15341
 
  ac_status=$?
15342
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15343
 
  (exit $ac_status); }
15344
 
        then
15345
 
          archive_cmds_need_lc_F77=no
15346
 
        else
15347
 
          archive_cmds_need_lc_F77=yes
15348
 
        fi
15349
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
15350
 
      else
15351
 
        cat conftest.err 1>&5
15352
 
      fi
15353
 
      $rm conftest*
15354
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15355
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15356
 
      ;;
15357
 
    esac
15358
 
  fi
15359
 
  ;;
15360
 
esac
15361
 
 
15362
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15363
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15364
 
library_names_spec=
15365
 
libname_spec='lib$name'
15366
 
soname_spec=
15367
 
shrext_cmds=".so"
15368
 
postinstall_cmds=
15369
 
postuninstall_cmds=
15370
 
finish_cmds=
15371
 
finish_eval=
15372
 
shlibpath_var=
15373
 
shlibpath_overrides_runpath=unknown
15374
 
version_type=none
15375
 
dynamic_linker="$host_os ld.so"
15376
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15377
 
if test "$GCC" = yes; then
15378
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15379
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
15380
 
    # if the path contains ";" then we assume it to be the separator
15381
 
    # otherwise default to the standard path separator (i.e. ":") - it is
15382
 
    # assumed that no part of a normal pathname contains ";" but that should
15383
 
    # okay in the real world where ";" in dirpaths is itself problematic.
15384
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15385
 
  else
15386
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15387
 
  fi
15388
 
else
15389
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15390
 
fi
15391
 
need_lib_prefix=unknown
15392
 
hardcode_into_libs=no
15393
 
 
15394
 
# when you set need_version to no, make sure it does not cause -set_version
15395
 
# flags to be left without arguments
15396
 
need_version=unknown
15397
 
 
15398
 
case $host_os in
15399
 
aix3*)
15400
 
  version_type=linux
15401
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15402
 
  shlibpath_var=LIBPATH
15403
 
 
15404
 
  # AIX 3 has no versioning support, so we append a major version to the name.
15405
 
  soname_spec='${libname}${release}${shared_ext}$major'
15406
 
  ;;
15407
 
 
15408
 
aix4* | aix5*)
15409
 
  version_type=linux
15410
 
  need_lib_prefix=no
15411
 
  need_version=no
15412
 
  hardcode_into_libs=yes
15413
 
  if test "$host_cpu" = ia64; then
15414
 
    # AIX 5 supports IA64
15415
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15416
 
    shlibpath_var=LD_LIBRARY_PATH
15417
 
  else
15418
 
    # With GCC up to 2.95.x, collect2 would create an import file
15419
 
    # for dependence libraries.  The import file would start with
15420
 
    # the line `#! .'.  This would cause the generated library to
15421
 
    # depend on `.', always an invalid library.  This was fixed in
15422
 
    # development snapshots of GCC prior to 3.0.
15423
 
    case $host_os in
15424
 
      aix4 | aix4.[01] | aix4.[01].*)
15425
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15426
 
           echo ' yes '
15427
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15428
 
        :
15429
 
      else
15430
 
        can_build_shared=no
15431
 
      fi
15432
 
      ;;
15433
 
    esac
15434
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15435
 
    # soname into executable. Probably we can add versioning support to
15436
 
    # collect2, so additional links can be useful in future.
15437
 
    if test "$aix_use_runtimelinking" = yes; then
15438
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15439
 
      # instead of lib<name>.a to let people know that these are not
15440
 
      # typical AIX shared libraries.
15441
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15442
 
    else
15443
 
      # We preserve .a as extension for shared libraries through AIX4.2
15444
 
      # and later when we are not doing run time linking.
15445
 
      library_names_spec='${libname}${release}.a $libname.a'
15446
 
      soname_spec='${libname}${release}${shared_ext}$major'
15447
 
    fi
15448
 
    shlibpath_var=LIBPATH
15449
 
  fi
15450
 
  ;;
15451
 
 
15452
 
amigaos*)
15453
 
  library_names_spec='$libname.ixlibrary $libname.a'
15454
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
15455
 
  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15456
 
  ;;
15457
 
 
15458
 
beos*)
15459
 
  library_names_spec='${libname}${shared_ext}'
15460
 
  dynamic_linker="$host_os ld.so"
15461
 
  shlibpath_var=LIBRARY_PATH
15462
 
  ;;
15463
 
 
15464
 
bsdi4*)
15465
 
  version_type=linux
15466
 
  need_version=no
15467
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15468
 
  soname_spec='${libname}${release}${shared_ext}$major'
15469
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15470
 
  shlibpath_var=LD_LIBRARY_PATH
15471
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15472
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15473
 
  # the default ld.so.conf also contains /usr/contrib/lib and
15474
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15475
 
  # libtool to hard-code these into programs
15476
 
  ;;
15477
 
 
15478
 
cygwin* | mingw* | pw32*)
15479
 
  version_type=windows
15480
 
  shrext_cmds=".dll"
15481
 
  need_version=no
15482
 
  need_lib_prefix=no
15483
 
 
15484
 
  case $GCC,$host_os in
15485
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
15486
 
    library_names_spec='$libname.dll.a'
15487
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15488
 
    postinstall_cmds='base_file=`basename \${file}`~
15489
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15490
 
      dldir=$destdir/`dirname \$dlpath`~
15491
 
      test -d \$dldir || mkdir -p \$dldir~
15492
 
      $install_prog $dir/$dlname \$dldir/$dlname'
15493
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15494
 
      dlpath=$dir/\$dldll~
15495
 
       $rm \$dlpath'
15496
 
    shlibpath_overrides_runpath=yes
15497
 
 
15498
 
    case $host_os in
15499
 
    cygwin*)
15500
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15501
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15502
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15503
 
      ;;
15504
 
    mingw*)
15505
 
      # MinGW DLLs use traditional 'lib' prefix
15506
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15507
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15508
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15509
 
        # It is most probably a Windows format PATH printed by
15510
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
15511
 
        # path with ; separators, and with drive letters. We can handle the
15512
 
        # drive letters (cygwin fileutils understands them), so leave them,
15513
 
        # especially as we might pass files found there to a mingw objdump,
15514
 
        # which wouldn't understand a cygwinified path. Ahh.
15515
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15516
 
      else
15517
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15518
 
      fi
15519
 
      ;;
15520
 
    pw32*)
15521
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
15522
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
15523
 
      ;;
15524
 
    esac
15525
 
    ;;
15526
 
 
15527
 
  *)
15528
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15529
 
    ;;
15530
 
  esac
15531
 
  dynamic_linker='Win32 ld.exe'
15532
 
  # FIXME: first we should search . and the directory the executable is in
15533
 
  shlibpath_var=PATH
15534
 
  ;;
15535
 
 
15536
 
darwin* | rhapsody*)
15537
 
  dynamic_linker="$host_os dyld"
15538
 
  version_type=darwin
15539
 
  need_lib_prefix=no
15540
 
  need_version=no
15541
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15542
 
  soname_spec='${libname}${release}${major}$shared_ext'
15543
 
  shlibpath_overrides_runpath=yes
15544
 
  shlibpath_var=DYLD_LIBRARY_PATH
15545
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
15546
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15547
 
  if test "$GCC" = yes; then
15548
 
    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"`
15549
 
  else
15550
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15551
 
  fi
15552
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15553
 
  ;;
15554
 
 
15555
 
dgux*)
15556
 
  version_type=linux
15557
 
  need_lib_prefix=no
15558
 
  need_version=no
15559
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15560
 
  soname_spec='${libname}${release}${shared_ext}$major'
15561
 
  shlibpath_var=LD_LIBRARY_PATH
15562
 
  ;;
15563
 
 
15564
 
freebsd1*)
15565
 
  dynamic_linker=no
15566
 
  ;;
15567
 
 
15568
 
kfreebsd*-gnu)
15569
 
  version_type=linux
15570
 
  need_lib_prefix=no
15571
 
  need_version=no
15572
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15573
 
  soname_spec='${libname}${release}${shared_ext}$major'
15574
 
  shlibpath_var=LD_LIBRARY_PATH
15575
 
  shlibpath_overrides_runpath=no
15576
 
  hardcode_into_libs=yes
15577
 
  dynamic_linker='GNU ld.so'
15578
 
  ;;
15579
 
 
15580
 
freebsd*)
15581
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
15582
 
  version_type=freebsd-$objformat
15583
 
  case $version_type in
15584
 
    freebsd-elf*)
15585
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15586
 
      need_version=no
15587
 
      need_lib_prefix=no
15588
 
      ;;
15589
 
    freebsd-*)
15590
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15591
 
      need_version=yes
15592
 
      ;;
15593
 
  esac
15594
 
  shlibpath_var=LD_LIBRARY_PATH
15595
 
  case $host_os in
15596
 
  freebsd2*)
15597
 
    shlibpath_overrides_runpath=yes
15598
 
    ;;
15599
 
  freebsd3.01* | freebsdelf3.01*)
15600
 
    shlibpath_overrides_runpath=yes
15601
 
    hardcode_into_libs=yes
15602
 
    ;;
15603
 
  *) # from 3.2 on
15604
 
    shlibpath_overrides_runpath=no
15605
 
    hardcode_into_libs=yes
15606
 
    ;;
15607
 
  esac
15608
 
  ;;
15609
 
 
15610
 
gnu*)
15611
 
  version_type=linux
15612
 
  need_lib_prefix=no
15613
 
  need_version=no
15614
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15615
 
  soname_spec='${libname}${release}${shared_ext}$major'
15616
 
  shlibpath_var=LD_LIBRARY_PATH
15617
 
  hardcode_into_libs=yes
15618
 
  ;;
15619
 
 
15620
 
hpux9* | hpux10* | hpux11*)
15621
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
15622
 
  # link against other versions.
15623
 
  version_type=sunos
15624
 
  need_lib_prefix=no
15625
 
  need_version=no
15626
 
  case "$host_cpu" in
15627
 
  ia64*)
15628
 
    shrext_cmds='.so'
15629
 
    hardcode_into_libs=yes
15630
 
    dynamic_linker="$host_os dld.so"
15631
 
    shlibpath_var=LD_LIBRARY_PATH
15632
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15633
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15634
 
    soname_spec='${libname}${release}${shared_ext}$major'
15635
 
    if test "X$HPUX_IA64_MODE" = X32; then
15636
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15637
 
    else
15638
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15639
 
    fi
15640
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15641
 
    ;;
15642
 
   hppa*64*)
15643
 
     shrext_cmds='.sl'
15644
 
     hardcode_into_libs=yes
15645
 
     dynamic_linker="$host_os dld.sl"
15646
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15647
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15648
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15649
 
     soname_spec='${libname}${release}${shared_ext}$major'
15650
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15651
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15652
 
     ;;
15653
 
   *)
15654
 
    shrext_cmds='.sl'
15655
 
    dynamic_linker="$host_os dld.sl"
15656
 
    shlibpath_var=SHLIB_PATH
15657
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15658
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15659
 
    soname_spec='${libname}${release}${shared_ext}$major'
15660
 
    ;;
15661
 
  esac
15662
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
15663
 
  postinstall_cmds='chmod 555 $lib'
15664
 
  ;;
15665
 
 
15666
 
irix5* | irix6* | nonstopux*)
15667
 
  case $host_os in
15668
 
    nonstopux*) version_type=nonstopux ;;
15669
 
    *)
15670
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
15671
 
                version_type=linux
15672
 
        else
15673
 
                version_type=irix
15674
 
        fi ;;
15675
 
  esac
15676
 
  need_lib_prefix=no
15677
 
  need_version=no
15678
 
  soname_spec='${libname}${release}${shared_ext}$major'
15679
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15680
 
  case $host_os in
15681
 
  irix5* | nonstopux*)
15682
 
    libsuff= shlibsuff=
15683
 
    ;;
15684
 
  *)
15685
 
    case $LD in # libtool.m4 will add one of these switches to LD
15686
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15687
 
      libsuff= shlibsuff= libmagic=32-bit;;
15688
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15689
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
15690
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15691
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15692
 
    *) libsuff= shlibsuff= libmagic=never-match;;
15693
 
    esac
15694
 
    ;;
15695
 
  esac
15696
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15697
 
  shlibpath_overrides_runpath=no
15698
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15699
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15700
 
  hardcode_into_libs=yes
15701
 
  ;;
15702
 
 
15703
 
# No shared lib support for Linux oldld, aout, or coff.
15704
 
linux*oldld* | linux*aout* | linux*coff*)
15705
 
  dynamic_linker=no
15706
 
  ;;
15707
 
 
15708
 
# This must be Linux ELF.
15709
 
linux*)
15710
 
  version_type=linux
15711
 
  need_lib_prefix=no
15712
 
  need_version=no
15713
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15714
 
  soname_spec='${libname}${release}${shared_ext}$major'
15715
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15716
 
  shlibpath_var=LD_LIBRARY_PATH
15717
 
  shlibpath_overrides_runpath=no
15718
 
  # This implies no fast_install, which is unacceptable.
15719
 
  # Some rework will be needed to allow for fast_install
15720
 
  # before this can be enabled.
15721
 
  hardcode_into_libs=yes
15722
 
 
15723
 
  # Append ld.so.conf contents to the search path
15724
 
  if test -f /etc/ld.so.conf; then
15725
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
15726
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15727
 
  fi
15728
 
 
15729
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
15730
 
  # powerpc, because MkLinux only supported shared libraries with the
15731
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
15732
 
  # most powerpc-linux boxes support dynamic linking these days and
15733
 
  # people can always --disable-shared, the test was removed, and we
15734
 
  # assume the GNU/Linux dynamic linker is in use.
15735
 
  dynamic_linker='GNU/Linux ld.so'
15736
 
  ;;
15737
 
 
15738
 
netbsdelf*-gnu)
15739
 
  version_type=linux
15740
 
  need_lib_prefix=no
15741
 
  need_version=no
15742
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15743
 
  soname_spec='${libname}${release}${shared_ext}$major'
15744
 
  shlibpath_var=LD_LIBRARY_PATH
15745
 
  shlibpath_overrides_runpath=no
15746
 
  hardcode_into_libs=yes
15747
 
  dynamic_linker='NetBSD ld.elf_so'
15748
 
  ;;
15749
 
 
15750
 
knetbsd*-gnu)
15751
 
  version_type=linux
15752
 
  need_lib_prefix=no
15753
 
  need_version=no
15754
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15755
 
  soname_spec='${libname}${release}${shared_ext}$major'
15756
 
  shlibpath_var=LD_LIBRARY_PATH
15757
 
  shlibpath_overrides_runpath=no
15758
 
  hardcode_into_libs=yes
15759
 
  dynamic_linker='GNU ld.so'
15760
 
  ;;
15761
 
 
15762
 
netbsd*)
15763
 
  version_type=sunos
15764
 
  need_lib_prefix=no
15765
 
  need_version=no
15766
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15767
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15768
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15769
 
    dynamic_linker='NetBSD (a.out) ld.so'
15770
 
  else
15771
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15772
 
    soname_spec='${libname}${release}${shared_ext}$major'
15773
 
    dynamic_linker='NetBSD ld.elf_so'
15774
 
  fi
15775
 
  shlibpath_var=LD_LIBRARY_PATH
15776
 
  shlibpath_overrides_runpath=yes
15777
 
  hardcode_into_libs=yes
15778
 
  ;;
15779
 
 
15780
 
newsos6)
15781
 
  version_type=linux
15782
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15783
 
  shlibpath_var=LD_LIBRARY_PATH
15784
 
  shlibpath_overrides_runpath=yes
15785
 
  ;;
15786
 
 
15787
 
nto-qnx*)
15788
 
  version_type=linux
15789
 
  need_lib_prefix=no
15790
 
  need_version=no
15791
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15792
 
  soname_spec='${libname}${release}${shared_ext}$major'
15793
 
  shlibpath_var=LD_LIBRARY_PATH
15794
 
  shlibpath_overrides_runpath=yes
15795
 
  ;;
15796
 
 
15797
 
openbsd*)
15798
 
  version_type=sunos
15799
 
  need_lib_prefix=no
15800
 
  need_version=yes
15801
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15802
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15803
 
  shlibpath_var=LD_LIBRARY_PATH
15804
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15805
 
    case $host_os in
15806
 
      openbsd2.[89] | openbsd2.[89].*)
15807
 
        shlibpath_overrides_runpath=no
15808
 
        ;;
15809
 
      *)
15810
 
        shlibpath_overrides_runpath=yes
15811
 
        ;;
15812
 
      esac
15813
 
  else
15814
 
    shlibpath_overrides_runpath=yes
15815
 
  fi
15816
 
  ;;
15817
 
 
15818
 
os2*)
15819
 
  libname_spec='$name'
15820
 
  shrext_cmds=".dll"
15821
 
  need_lib_prefix=no
15822
 
  library_names_spec='$libname${shared_ext} $libname.a'
15823
 
  dynamic_linker='OS/2 ld.exe'
15824
 
  shlibpath_var=LIBPATH
15825
 
  ;;
15826
 
 
15827
 
osf3* | osf4* | osf5*)
15828
 
  version_type=osf
15829
 
  need_lib_prefix=no
15830
 
  need_version=no
15831
 
  soname_spec='${libname}${release}${shared_ext}$major'
15832
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15833
 
  shlibpath_var=LD_LIBRARY_PATH
15834
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15835
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15836
 
  ;;
15837
 
 
15838
 
sco3.2v5*)
15839
 
  version_type=osf
15840
 
  soname_spec='${libname}${release}${shared_ext}$major'
15841
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15842
 
  shlibpath_var=LD_LIBRARY_PATH
15843
 
  ;;
15844
 
 
15845
 
solaris*)
15846
 
  version_type=linux
15847
 
  need_lib_prefix=no
15848
 
  need_version=no
15849
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15850
 
  soname_spec='${libname}${release}${shared_ext}$major'
15851
 
  shlibpath_var=LD_LIBRARY_PATH
15852
 
  shlibpath_overrides_runpath=yes
15853
 
  hardcode_into_libs=yes
15854
 
  # ldd complains unless libraries are executable
15855
 
  postinstall_cmds='chmod +x $lib'
15856
 
  ;;
15857
 
 
15858
 
sunos4*)
15859
 
  version_type=sunos
15860
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15861
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15862
 
  shlibpath_var=LD_LIBRARY_PATH
15863
 
  shlibpath_overrides_runpath=yes
15864
 
  if test "$with_gnu_ld" = yes; then
15865
 
    need_lib_prefix=no
15866
 
  fi
15867
 
  need_version=yes
15868
 
  ;;
15869
 
 
15870
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15871
 
  version_type=linux
15872
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15873
 
  soname_spec='${libname}${release}${shared_ext}$major'
15874
 
  shlibpath_var=LD_LIBRARY_PATH
15875
 
  case $host_vendor in
15876
 
    sni)
15877
 
      shlibpath_overrides_runpath=no
15878
 
      need_lib_prefix=no
15879
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
15880
 
      runpath_var=LD_RUN_PATH
15881
 
      ;;
15882
 
    siemens)
15883
 
      need_lib_prefix=no
15884
 
      ;;
15885
 
    motorola)
15886
 
      need_lib_prefix=no
15887
 
      need_version=no
15888
 
      shlibpath_overrides_runpath=no
15889
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15890
 
      ;;
15891
 
  esac
15892
 
  ;;
15893
 
 
15894
 
sysv4*MP*)
15895
 
  if test -d /usr/nec ;then
15896
 
    version_type=linux
15897
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15898
 
    soname_spec='$libname${shared_ext}.$major'
15899
 
    shlibpath_var=LD_LIBRARY_PATH
15900
 
  fi
15901
 
  ;;
15902
 
 
15903
 
uts4*)
15904
 
  version_type=linux
15905
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15906
 
  soname_spec='${libname}${release}${shared_ext}$major'
15907
 
  shlibpath_var=LD_LIBRARY_PATH
15908
 
  ;;
15909
 
 
15910
 
*)
15911
 
  dynamic_linker=no
15912
 
  ;;
15913
 
esac
15914
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15915
 
echo "${ECHO_T}$dynamic_linker" >&6; }
15916
 
test "$dynamic_linker" = no && can_build_shared=no
15917
 
 
15918
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15919
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15920
 
hardcode_action_F77=
15921
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
15922
 
   test -n "$runpath_var F77" || \
15923
 
   test "X$hardcode_automatic_F77"="Xyes" ; then
15924
 
 
15925
 
  # We can hardcode non-existant directories.
15926
 
  if test "$hardcode_direct_F77" != no &&
15927
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15928
 
     # have to relink, otherwise we might link with an installed library
15929
 
     # when we should be linking with a yet-to-be-installed one
15930
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15931
 
     test "$hardcode_minus_L_F77" != no; then
15932
 
    # Linking always hardcodes the temporary library directory.
15933
 
    hardcode_action_F77=relink
15934
 
  else
15935
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15936
 
    hardcode_action_F77=immediate
15937
 
  fi
15938
 
else
15939
 
  # We cannot hardcode anything, or else we can only hardcode existing
15940
 
  # directories.
15941
 
  hardcode_action_F77=unsupported
15942
 
fi
15943
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15944
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
15945
 
 
15946
 
if test "$hardcode_action_F77" = relink; then
15947
 
  # Fast installation is not supported
15948
 
  enable_fast_install=no
15949
 
elif test "$shlibpath_overrides_runpath" = yes ||
15950
 
     test "$enable_shared" = no; then
15951
 
  # Fast installation is not necessary
15952
 
  enable_fast_install=needless
15953
 
fi
15954
 
 
15955
 
striplib=
15956
 
old_striplib=
15957
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15958
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
15959
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15960
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15961
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15962
 
  { echo "$as_me:$LINENO: result: yes" >&5
15963
 
echo "${ECHO_T}yes" >&6; }
15964
 
else
15965
 
# FIXME - insert some real tests, host_os isn't really good enough
15966
 
  case $host_os in
15967
 
   darwin*)
15968
 
       if test -n "$STRIP" ; then
15969
 
         striplib="$STRIP -x"
15970
 
         { echo "$as_me:$LINENO: result: yes" >&5
15971
 
echo "${ECHO_T}yes" >&6; }
15972
 
       else
15973
 
  { echo "$as_me:$LINENO: result: no" >&5
15974
 
echo "${ECHO_T}no" >&6; }
15975
 
fi
15976
 
       ;;
15977
 
   *)
15978
 
  { echo "$as_me:$LINENO: result: no" >&5
15979
 
echo "${ECHO_T}no" >&6; }
15980
 
    ;;
15981
 
  esac
15982
 
fi
15983
 
 
15984
 
 
15985
 
 
15986
 
# The else clause should only fire when bootstrapping the
15987
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
15988
 
# with your package, and you will get complaints that there are
15989
 
# no rules to generate ltmain.sh.
15990
 
if test -f "$ltmain"; then
15991
 
  # See if we are running on zsh, and set the options which allow our commands through
15992
 
  # without removal of \ escapes.
15993
 
  if test -n "${ZSH_VERSION+set}" ; then
15994
 
    setopt NO_GLOB_SUBST
15995
 
  fi
15996
 
  # Now quote all the things that may contain metacharacters while being
15997
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
15998
 
  # variables and quote the copies for generation of the libtool script.
15999
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
16000
 
    SED SHELL STRIP \
16001
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16002
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16003
 
    deplibs_check_method reload_flag reload_cmds need_locks \
16004
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16005
 
    lt_cv_sys_global_symbol_to_c_name_address \
16006
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16007
 
    old_postinstall_cmds old_postuninstall_cmds \
16008
 
    compiler_F77 \
16009
 
    CC_F77 \
16010
 
    LD_F77 \
16011
 
    lt_prog_compiler_wl_F77 \
16012
 
    lt_prog_compiler_pic_F77 \
16013
 
    lt_prog_compiler_static_F77 \
16014
 
    lt_prog_compiler_no_builtin_flag_F77 \
16015
 
    export_dynamic_flag_spec_F77 \
16016
 
    thread_safe_flag_spec_F77 \
16017
 
    whole_archive_flag_spec_F77 \
16018
 
    enable_shared_with_static_runtimes_F77 \
16019
 
    old_archive_cmds_F77 \
16020
 
    old_archive_from_new_cmds_F77 \
16021
 
    predep_objects_F77 \
16022
 
    postdep_objects_F77 \
16023
 
    predeps_F77 \
16024
 
    postdeps_F77 \
16025
 
    compiler_lib_search_path_F77 \
16026
 
    archive_cmds_F77 \
16027
 
    archive_expsym_cmds_F77 \
16028
 
    postinstall_cmds_F77 \
16029
 
    postuninstall_cmds_F77 \
16030
 
    old_archive_from_expsyms_cmds_F77 \
16031
 
    allow_undefined_flag_F77 \
16032
 
    no_undefined_flag_F77 \
16033
 
    export_symbols_cmds_F77 \
16034
 
    hardcode_libdir_flag_spec_F77 \
16035
 
    hardcode_libdir_flag_spec_ld_F77 \
16036
 
    hardcode_libdir_separator_F77 \
16037
 
    hardcode_automatic_F77 \
16038
 
    module_cmds_F77 \
16039
 
    module_expsym_cmds_F77 \
16040
 
    lt_cv_prog_compiler_c_o_F77 \
16041
 
    exclude_expsyms_F77 \
16042
 
    include_expsyms_F77; do
16043
 
 
16044
 
    case $var in
16045
 
    old_archive_cmds_F77 | \
16046
 
    old_archive_from_new_cmds_F77 | \
16047
 
    archive_cmds_F77 | \
16048
 
    archive_expsym_cmds_F77 | \
16049
 
    module_cmds_F77 | \
16050
 
    module_expsym_cmds_F77 | \
16051
 
    old_archive_from_expsyms_cmds_F77 | \
16052
 
    export_symbols_cmds_F77 | \
16053
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
16054
 
    postinstall_cmds | postuninstall_cmds | \
16055
 
    old_postinstall_cmds | old_postuninstall_cmds | \
16056
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16057
 
      # Double-quote double-evaled strings.
16058
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16059
 
      ;;
16060
 
    *)
16061
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16062
 
      ;;
16063
 
    esac
16064
 
  done
16065
 
 
16066
 
  case $lt_echo in
16067
 
  *'\$0 --fallback-echo"')
16068
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16069
 
    ;;
16070
 
  esac
16071
 
 
16072
 
cfgfile="$ofile"
16073
 
 
16074
 
  cat <<__EOF__ >> "$cfgfile"
16075
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16076
 
 
16077
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16078
 
 
16079
 
# Shell to use when invoking shell scripts.
16080
 
SHELL=$lt_SHELL
16081
 
 
16082
 
# Whether or not to build shared libraries.
16083
 
build_libtool_libs=$enable_shared
16084
 
 
16085
 
# Whether or not to build static libraries.
16086
 
build_old_libs=$enable_static
16087
 
 
16088
 
# Whether or not to add -lc for building shared libraries.
16089
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
16090
 
 
16091
 
# Whether or not to disallow shared libs when runtime libs are static
16092
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16093
 
 
16094
 
# Whether or not to optimize for fast installation.
16095
 
fast_install=$enable_fast_install
16096
 
 
16097
 
# The host system.
16098
 
host_alias=$host_alias
16099
 
host=$host
16100
 
 
16101
 
# An echo program that does not interpret backslashes.
16102
 
echo=$lt_echo
16103
 
 
16104
 
# The archiver.
16105
 
AR=$lt_AR
16106
 
AR_FLAGS=$lt_AR_FLAGS
16107
 
 
16108
 
# A C compiler.
16109
 
LTCC=$lt_LTCC
16110
 
 
16111
 
# A language-specific compiler.
16112
 
CC=$lt_compiler_F77
16113
 
 
16114
 
# Is the compiler the GNU C compiler?
16115
 
with_gcc=$GCC_F77
16116
 
 
16117
 
# An ERE matcher.
16118
 
EGREP=$lt_EGREP
16119
 
 
16120
 
# The linker used to build libraries.
16121
 
LD=$lt_LD_F77
16122
 
 
16123
 
# Whether we need hard or soft links.
16124
 
LN_S=$lt_LN_S
16125
 
 
16126
 
# A BSD-compatible nm program.
16127
 
NM=$lt_NM
16128
 
 
16129
 
# A symbol stripping program
16130
 
STRIP=$lt_STRIP
16131
 
 
16132
 
# Used to examine libraries when file_magic_cmd begins "file"
16133
 
MAGIC_CMD=$MAGIC_CMD
16134
 
 
16135
 
# Used on cygwin: DLL creation program.
16136
 
DLLTOOL="$DLLTOOL"
16137
 
 
16138
 
# Used on cygwin: object dumper.
16139
 
OBJDUMP="$OBJDUMP"
16140
 
 
16141
 
# Used on cygwin: assembler.
16142
 
AS="$AS"
16143
 
 
16144
 
# The name of the directory that contains temporary libtool files.
16145
 
objdir=$objdir
16146
 
 
16147
 
# How to create reloadable object files.
16148
 
reload_flag=$lt_reload_flag
16149
 
reload_cmds=$lt_reload_cmds
16150
 
 
16151
 
# How to pass a linker flag through the compiler.
16152
 
wl=$lt_lt_prog_compiler_wl_F77
16153
 
 
16154
 
# Object file suffix (normally "o").
16155
 
objext="$ac_objext"
16156
 
 
16157
 
# Old archive suffix (normally "a").
16158
 
libext="$libext"
16159
 
 
16160
 
# Shared library suffix (normally ".so").
16161
 
shrext_cmds='$shrext_cmds'
16162
 
 
16163
 
# Executable file suffix (normally "").
16164
 
exeext="$exeext"
16165
 
 
16166
 
# Additional compiler flags for building library objects.
16167
 
pic_flag=$lt_lt_prog_compiler_pic_F77
16168
 
pic_mode=$pic_mode
16169
 
 
16170
 
# What is the maximum length of a command?
16171
 
max_cmd_len=$lt_cv_sys_max_cmd_len
16172
 
 
16173
 
# Does compiler simultaneously support -c and -o options?
16174
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16175
 
 
16176
 
# Must we lock files when doing compilation ?
16177
 
need_locks=$lt_need_locks
16178
 
 
16179
 
# Do we need the lib prefix for modules?
16180
 
need_lib_prefix=$need_lib_prefix
16181
 
 
16182
 
# Do we need a version for libraries?
16183
 
need_version=$need_version
16184
 
 
16185
 
# Whether dlopen is supported.
16186
 
dlopen_support=$enable_dlopen
16187
 
 
16188
 
# Whether dlopen of programs is supported.
16189
 
dlopen_self=$enable_dlopen_self
16190
 
 
16191
 
# Whether dlopen of statically linked programs is supported.
16192
 
dlopen_self_static=$enable_dlopen_self_static
16193
 
 
16194
 
# Compiler flag to prevent dynamic linking.
16195
 
link_static_flag=$lt_lt_prog_compiler_static_F77
16196
 
 
16197
 
# Compiler flag to turn off builtin functions.
16198
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16199
 
 
16200
 
# Compiler flag to allow reflexive dlopens.
16201
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16202
 
 
16203
 
# Compiler flag to generate shared objects directly from archives.
16204
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16205
 
 
16206
 
# Compiler flag to generate thread-safe objects.
16207
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16208
 
 
16209
 
# Library versioning type.
16210
 
version_type=$version_type
16211
 
 
16212
 
# Format of library name prefix.
16213
 
libname_spec=$lt_libname_spec
16214
 
 
16215
 
# List of archive names.  First name is the real one, the rest are links.
16216
 
# The last name is the one that the linker finds with -lNAME.
16217
 
library_names_spec=$lt_library_names_spec
16218
 
 
16219
 
# The coded name of the library, if different from the real name.
16220
 
soname_spec=$lt_soname_spec
16221
 
 
16222
 
# Commands used to build and install an old-style archive.
16223
 
RANLIB=$lt_RANLIB
16224
 
old_archive_cmds=$lt_old_archive_cmds_F77
16225
 
old_postinstall_cmds=$lt_old_postinstall_cmds
16226
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16227
 
 
16228
 
# Create an old-style archive from a shared archive.
16229
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16230
 
 
16231
 
# Create a temporary old-style archive to link instead of a shared archive.
16232
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16233
 
 
16234
 
# Commands used to build and install a shared archive.
16235
 
archive_cmds=$lt_archive_cmds_F77
16236
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16237
 
postinstall_cmds=$lt_postinstall_cmds
16238
 
postuninstall_cmds=$lt_postuninstall_cmds
16239
 
 
16240
 
# Commands used to build a loadable module (assumed same as above if empty)
16241
 
module_cmds=$lt_module_cmds_F77
16242
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
16243
 
 
16244
 
# Commands to strip libraries.
16245
 
old_striplib=$lt_old_striplib
16246
 
striplib=$lt_striplib
16247
 
 
16248
 
# Dependencies to place before the objects being linked to create a
16249
 
# shared library.
16250
 
predep_objects=$lt_predep_objects_F77
16251
 
 
16252
 
# Dependencies to place after the objects being linked to create a
16253
 
# shared library.
16254
 
postdep_objects=$lt_postdep_objects_F77
16255
 
 
16256
 
# Dependencies to place before the objects being linked to create a
16257
 
# shared library.
16258
 
predeps=$lt_predeps_F77
16259
 
 
16260
 
# Dependencies to place after the objects being linked to create a
16261
 
# shared library.
16262
 
postdeps=$lt_postdeps_F77
16263
 
 
16264
 
# The library search path used internally by the compiler when linking
16265
 
# a shared library.
16266
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16267
 
 
16268
 
# Method to check whether dependent libraries are shared objects.
16269
 
deplibs_check_method=$lt_deplibs_check_method
16270
 
 
16271
 
# Command to use when deplibs_check_method == file_magic.
16272
 
file_magic_cmd=$lt_file_magic_cmd
16273
 
 
16274
 
# Flag that allows shared libraries with undefined symbols to be built.
16275
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
16276
 
 
16277
 
# Flag that forces no undefined symbols.
16278
 
no_undefined_flag=$lt_no_undefined_flag_F77
16279
 
 
16280
 
# Commands used to finish a libtool library installation in a directory.
16281
 
finish_cmds=$lt_finish_cmds
16282
 
 
16283
 
# Same as above, but a single script fragment to be evaled but not shown.
16284
 
finish_eval=$lt_finish_eval
16285
 
 
16286
 
# Take the output of nm and produce a listing of raw symbols and C names.
16287
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16288
 
 
16289
 
# Transform the output of nm in a proper C declaration
16290
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16291
 
 
16292
 
# Transform the output of nm in a C name address pair
16293
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16294
 
 
16295
 
# This is the shared library runtime path variable.
16296
 
runpath_var=$runpath_var
16297
 
 
16298
 
# This is the shared library path variable.
16299
 
shlibpath_var=$shlibpath_var
16300
 
 
16301
 
# Is shlibpath searched before the hard-coded library search path?
16302
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16303
 
 
16304
 
# How to hardcode a shared library path into an executable.
16305
 
hardcode_action=$hardcode_action_F77
16306
 
 
16307
 
# Whether we should hardcode library paths into libraries.
16308
 
hardcode_into_libs=$hardcode_into_libs
16309
 
 
16310
 
# Flag to hardcode \$libdir into a binary during linking.
16311
 
# This must work even if \$libdir does not exist.
16312
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16313
 
 
16314
 
# If ld is used when linking, flag to hardcode \$libdir into
16315
 
# a binary during linking. This must work even if \$libdir does
16316
 
# not exist.
16317
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16318
 
 
16319
 
# Whether we need a single -rpath flag with a separated argument.
16320
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16321
 
 
16322
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16323
 
# resulting binary.
16324
 
hardcode_direct=$hardcode_direct_F77
16325
 
 
16326
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16327
 
# resulting binary.
16328
 
hardcode_minus_L=$hardcode_minus_L_F77
16329
 
 
16330
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16331
 
# the resulting binary.
16332
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16333
 
 
16334
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
16335
 
# and all subsequent libraries and executables linked against it.
16336
 
hardcode_automatic=$hardcode_automatic_F77
16337
 
 
16338
 
# Variables whose values should be saved in libtool wrapper scripts and
16339
 
# restored at relink time.
16340
 
variables_saved_for_relink="$variables_saved_for_relink"
16341
 
 
16342
 
# Whether libtool must link a program against all its dependency libraries.
16343
 
link_all_deplibs=$link_all_deplibs_F77
16344
 
 
16345
 
# Compile-time system search path for libraries
16346
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16347
 
 
16348
 
# Run-time system search path for libraries
16349
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16350
 
 
16351
 
# Fix the shell variable \$srcfile for the compiler.
16352
 
fix_srcfile_path="$fix_srcfile_path_F77"
16353
 
 
16354
 
# Set to yes if exported symbols are required.
16355
 
always_export_symbols=$always_export_symbols_F77
16356
 
 
16357
 
# The commands to list exported symbols.
16358
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
16359
 
 
16360
 
# The commands to extract the exported symbol list from a shared archive.
16361
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16362
 
 
16363
 
# Symbols that should not be listed in the preloaded symbols.
16364
 
exclude_expsyms=$lt_exclude_expsyms_F77
16365
 
 
16366
 
# Symbols that must always be exported.
16367
 
include_expsyms=$lt_include_expsyms_F77
16368
 
 
16369
 
# ### END LIBTOOL TAG CONFIG: $tagname
16370
 
 
16371
 
__EOF__
16372
 
 
16373
 
 
16374
 
else
16375
 
  # If there is no Makefile yet, we rely on a make rule to execute
16376
 
  # `config.status --recheck' to rerun these tests and create the
16377
 
  # libtool script then.
16378
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16379
 
  if test -f "$ltmain_in"; then
16380
 
    test -f Makefile && make "$ltmain"
16381
 
  fi
16382
 
fi
16383
 
 
16384
 
 
16385
 
ac_ext=c
16386
 
ac_cpp='$CPP $CPPFLAGS'
16387
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16388
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16389
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16390
 
 
16391
 
CC="$lt_save_CC"
16392
 
 
16393
 
        else
16394
 
          tagname=""
16395
 
        fi
16396
 
        ;;
16397
 
 
16398
 
      GCJ)
16399
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16400
 
          
16401
 
 
16402
 
# Source file extension for Java test sources.
16403
 
ac_ext=java
16404
 
 
16405
 
# Object file extension for compiled Java test sources.
16406
 
objext=o
16407
 
objext_GCJ=$objext
16408
 
 
16409
 
# Code to be used in simple compile tests
16410
 
lt_simple_compile_test_code="class foo {}\n"
16411
 
 
16412
 
# Code to be used in simple link tests
16413
 
lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
16414
 
 
16415
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16416
 
 
16417
 
# If no C compiler was specified, use CC.
16418
 
LTCC=${LTCC-"$CC"}
16419
 
 
16420
 
# Allow CC to be a program name with arguments.
16421
 
compiler=$CC
16422
 
 
16423
 
 
16424
 
# Allow CC to be a program name with arguments.
16425
 
lt_save_CC="$CC"
16426
 
CC=${GCJ-"gcj"}
16427
 
compiler=$CC
16428
 
compiler_GCJ=$CC
16429
 
 
16430
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
16431
 
archive_cmds_need_lc_GCJ=no
16432
 
 
16433
 
 
16434
 
lt_prog_compiler_no_builtin_flag_GCJ=
16435
 
 
16436
 
if test "$GCC" = yes; then
16437
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
16438
 
 
16439
 
  
16440
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16441
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16442
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16443
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16444
 
else
16445
 
  lt_cv_prog_compiler_rtti_exceptions=no
16446
 
  ac_outfile=conftest.$ac_objext
16447
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16448
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
16449
 
   # Insert the option either (1) after the last *FLAGS variable, or
16450
 
   # (2) before a word containing "conftest.", or (3) at the end.
16451
 
   # Note that $ac_compile itself does not contain backslashes and begins
16452
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16453
 
   # The option is referenced via a variable to avoid confusing sed.
16454
 
   lt_compile=`echo "$ac_compile" | $SED \
16455
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16456
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16457
 
   -e 's:$: $lt_compiler_flag:'`
16458
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
16459
 
   (eval "$lt_compile" 2>conftest.err)
16460
 
   ac_status=$?
16461
 
   cat conftest.err >&5
16462
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
16463
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
16464
 
     # The compiler can only warn and ignore the option if not recognized
16465
 
     # So say no if there are warnings
16466
 
     if test ! -s conftest.err; then
16467
 
       lt_cv_prog_compiler_rtti_exceptions=yes
16468
 
     fi
16469
 
   fi
16470
 
   $rm conftest*
16471
 
 
16472
 
fi
16473
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16474
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16475
 
 
16476
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16477
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16478
 
else
16479
 
    :
16480
 
fi
16481
 
 
16482
 
fi
16483
 
 
16484
 
lt_prog_compiler_wl_GCJ=
16485
 
lt_prog_compiler_pic_GCJ=
16486
 
lt_prog_compiler_static_GCJ=
16487
 
 
16488
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16489
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16490
 
 
16491
 
  if test "$GCC" = yes; then
16492
 
    lt_prog_compiler_wl_GCJ='-Wl,'
16493
 
    lt_prog_compiler_static_GCJ='-static'
16494
 
 
16495
 
    case $host_os in
16496
 
      aix*)
16497
 
      # All AIX code is PIC.
16498
 
      if test "$host_cpu" = ia64; then
16499
 
        # AIX 5 now supports IA64 processor
16500
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16501
 
      fi
16502
 
      ;;
16503
 
 
16504
 
    amigaos*)
16505
 
      # FIXME: we need at least 68020 code to build shared libraries, but
16506
 
      # adding the `-m68020' flag to GCC prevents building anything better,
16507
 
      # like `-m68040'.
16508
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16509
 
      ;;
16510
 
 
16511
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16512
 
      # PIC is the default for these OSes.
16513
 
      ;;
16514
 
 
16515
 
    mingw* | pw32* | os2*)
16516
 
      # This hack is so that the source file can tell whether it is being
16517
 
      # built for inclusion in a dll (and should export symbols for example).
16518
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16519
 
      ;;
16520
 
 
16521
 
    darwin* | rhapsody*)
16522
 
      # PIC is the default on this platform
16523
 
      # Common symbols not allowed in MH_DYLIB files
16524
 
      lt_prog_compiler_pic_GCJ='-fno-common'
16525
 
      ;;
16526
 
 
16527
 
    msdosdjgpp*)
16528
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
16529
 
      # on systems that don't support them.
16530
 
      lt_prog_compiler_can_build_shared_GCJ=no
16531
 
      enable_shared=no
16532
 
      ;;
16533
 
 
16534
 
    sysv4*MP*)
16535
 
      if test -d /usr/nec; then
16536
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
16537
 
      fi
16538
 
      ;;
16539
 
 
16540
 
    hpux*)
16541
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16542
 
      # not for PA HP-UX.
16543
 
      case "$host_cpu" in
16544
 
      hppa*64*|ia64*)
16545
 
        # +Z the default
16546
 
        ;;
16547
 
      *)
16548
 
        lt_prog_compiler_pic_GCJ='-fPIC'
16549
 
        ;;
16550
 
      esac
16551
 
      ;;
16552
 
 
16553
 
    *)
16554
 
      lt_prog_compiler_pic_GCJ='-fPIC'
16555
 
      ;;
16556
 
    esac
16557
 
  else
16558
 
    # PORTME Check for flag to pass linker flags through the system compiler.
16559
 
    case $host_os in
16560
 
    aix*)
16561
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16562
 
      if test "$host_cpu" = ia64; then
16563
 
        # AIX 5 now supports IA64 processor
16564
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16565
 
      else
16566
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
16567
 
      fi
16568
 
      ;;
16569
 
 
16570
 
    mingw* | pw32* | os2*)
16571
 
      # This hack is so that the source file can tell whether it is being
16572
 
      # built for inclusion in a dll (and should export symbols for example).
16573
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16574
 
      ;;
16575
 
 
16576
 
    hpux9* | hpux10* | hpux11*)
16577
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16578
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16579
 
      # not for PA HP-UX.
16580
 
      case "$host_cpu" in
16581
 
      hppa*64*|ia64*)
16582
 
        # +Z the default
16583
 
        ;;
16584
 
      *)
16585
 
        lt_prog_compiler_pic_GCJ='+Z'
16586
 
        ;;
16587
 
      esac
16588
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
16589
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
16590
 
      ;;
16591
 
 
16592
 
    irix5* | irix6* | nonstopux*)
16593
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16594
 
      # PIC (with -KPIC) is the default.
16595
 
      lt_prog_compiler_static_GCJ='-non_shared'
16596
 
      ;;
16597
 
 
16598
 
    newsos6)
16599
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16600
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16601
 
      ;;
16602
 
 
16603
 
    linux*)
16604
 
      case $CC in
16605
 
      icc* | ecc*)
16606
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16607
 
        lt_prog_compiler_pic_GCJ='-KPIC'
16608
 
        lt_prog_compiler_static_GCJ='-static'
16609
 
        ;;
16610
 
      ccc*)
16611
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16612
 
        # All Alpha code is PIC.
16613
 
        lt_prog_compiler_static_GCJ='-non_shared'
16614
 
        ;;
16615
 
      esac
16616
 
      ;;
16617
 
 
16618
 
    osf3* | osf4* | osf5*)
16619
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16620
 
      # All OSF/1 code is PIC.
16621
 
      lt_prog_compiler_static_GCJ='-non_shared'
16622
 
      ;;
16623
 
 
16624
 
    sco3.2v5*)
16625
 
      lt_prog_compiler_pic_GCJ='-Kpic'
16626
 
      lt_prog_compiler_static_GCJ='-dn'
16627
 
      ;;
16628
 
 
16629
 
    solaris*)
16630
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16631
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16632
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16633
 
      ;;
16634
 
 
16635
 
    sunos4*)
16636
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
16637
 
      lt_prog_compiler_pic_GCJ='-PIC'
16638
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16639
 
      ;;
16640
 
 
16641
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16642
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16643
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16644
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16645
 
      ;;
16646
 
 
16647
 
    sysv4*MP*)
16648
 
      if test -d /usr/nec ;then
16649
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
16650
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16651
 
      fi
16652
 
      ;;
16653
 
 
16654
 
    uts4*)
16655
 
      lt_prog_compiler_pic_GCJ='-pic'
16656
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16657
 
      ;;
16658
 
 
16659
 
    *)
16660
 
      lt_prog_compiler_can_build_shared_GCJ=no
16661
 
      ;;
16662
 
    esac
16663
 
  fi
16664
 
 
16665
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16666
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16667
 
 
16668
 
#
16669
 
# Check to make sure the PIC flag actually works.
16670
 
#
16671
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
16672
 
  
16673
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16674
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16675
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16676
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16677
 
else
16678
 
  lt_prog_compiler_pic_works_GCJ=no
16679
 
  ac_outfile=conftest.$ac_objext
16680
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16681
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
16682
 
   # Insert the option either (1) after the last *FLAGS variable, or
16683
 
   # (2) before a word containing "conftest.", or (3) at the end.
16684
 
   # Note that $ac_compile itself does not contain backslashes and begins
16685
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16686
 
   # The option is referenced via a variable to avoid confusing sed.
16687
 
   lt_compile=`echo "$ac_compile" | $SED \
16688
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16689
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16690
 
   -e 's:$: $lt_compiler_flag:'`
16691
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
16692
 
   (eval "$lt_compile" 2>conftest.err)
16693
 
   ac_status=$?
16694
 
   cat conftest.err >&5
16695
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
16696
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
16697
 
     # The compiler can only warn and ignore the option if not recognized
16698
 
     # So say no if there are warnings
16699
 
     if test ! -s conftest.err; then
16700
 
       lt_prog_compiler_pic_works_GCJ=yes
16701
 
     fi
16702
 
   fi
16703
 
   $rm conftest*
16704
 
 
16705
 
fi
16706
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16707
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16708
 
 
16709
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
16710
 
    case $lt_prog_compiler_pic_GCJ in
16711
 
     "" | " "*) ;;
16712
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
16713
 
     esac
16714
 
else
16715
 
    lt_prog_compiler_pic_GCJ=
16716
 
     lt_prog_compiler_can_build_shared_GCJ=no
16717
 
fi
16718
 
 
16719
 
fi
16720
 
case "$host_os" in
16721
 
  # For platforms which do not support PIC, -DPIC is meaningless:
16722
 
  *djgpp*)
16723
 
    lt_prog_compiler_pic_GCJ=
16724
 
    ;;
16725
 
  *)
16726
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
16727
 
    ;;
16728
 
esac
16729
 
 
16730
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16731
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16732
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16733
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16734
 
else
16735
 
  lt_cv_prog_compiler_c_o_GCJ=no
16736
 
   $rm -r conftest 2>/dev/null
16737
 
   mkdir conftest
16738
 
   cd conftest
16739
 
   mkdir out
16740
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16741
 
 
16742
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
16743
 
   # Insert the option either (1) after the last *FLAGS variable, or
16744
 
   # (2) before a word containing "conftest.", or (3) at the end.
16745
 
   # Note that $ac_compile itself does not contain backslashes and begins
16746
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16747
 
   lt_compile=`echo "$ac_compile" | $SED \
16748
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16749
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16750
 
   -e 's:$: $lt_compiler_flag:'`
16751
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
16752
 
   (eval "$lt_compile" 2>out/conftest.err)
16753
 
   ac_status=$?
16754
 
   cat out/conftest.err >&5
16755
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
16756
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16757
 
   then
16758
 
     # The compiler can only warn and ignore the option if not recognized
16759
 
     # So say no if there are warnings
16760
 
     if test ! -s out/conftest.err; then
16761
 
       lt_cv_prog_compiler_c_o_GCJ=yes
16762
 
     fi
16763
 
   fi
16764
 
   chmod u+w .
16765
 
   $rm conftest*
16766
 
   # SGI C++ compiler will create directory out/ii_files/ for
16767
 
   # template instantiation
16768
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
16769
 
   $rm out/* && rmdir out
16770
 
   cd ..
16771
 
   rmdir conftest
16772
 
   $rm conftest*
16773
 
 
16774
 
fi
16775
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16776
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16777
 
 
16778
 
 
16779
 
hard_links="nottested"
16780
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
16781
 
  # do not overwrite the value of need_locks provided by the user
16782
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16783
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16784
 
  hard_links=yes
16785
 
  $rm conftest*
16786
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16787
 
  touch conftest.a
16788
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
16789
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16790
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
16791
 
echo "${ECHO_T}$hard_links" >&6; }
16792
 
  if test "$hard_links" = no; then
16793
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16794
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16795
 
    need_locks=warn
16796
 
  fi
16797
 
else
16798
 
  need_locks=no
16799
 
fi
16800
 
 
16801
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16802
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16803
 
 
16804
 
  runpath_var=
16805
 
  allow_undefined_flag_GCJ=
16806
 
  enable_shared_with_static_runtimes_GCJ=no
16807
 
  archive_cmds_GCJ=
16808
 
  archive_expsym_cmds_GCJ=
16809
 
  old_archive_From_new_cmds_GCJ=
16810
 
  old_archive_from_expsyms_cmds_GCJ=
16811
 
  export_dynamic_flag_spec_GCJ=
16812
 
  whole_archive_flag_spec_GCJ=
16813
 
  thread_safe_flag_spec_GCJ=
16814
 
  hardcode_libdir_flag_spec_GCJ=
16815
 
  hardcode_libdir_flag_spec_ld_GCJ=
16816
 
  hardcode_libdir_separator_GCJ=
16817
 
  hardcode_direct_GCJ=no
16818
 
  hardcode_minus_L_GCJ=no
16819
 
  hardcode_shlibpath_var_GCJ=unsupported
16820
 
  link_all_deplibs_GCJ=unknown
16821
 
  hardcode_automatic_GCJ=no
16822
 
  module_cmds_GCJ=
16823
 
  module_expsym_cmds_GCJ=
16824
 
  always_export_symbols_GCJ=no
16825
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16826
 
  # include_expsyms should be a list of space-separated symbols to be *always*
16827
 
  # included in the symbol list
16828
 
  include_expsyms_GCJ=
16829
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
16830
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
16831
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16832
 
  # as well as any symbol that contains `d'.
16833
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
16834
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16835
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
16836
 
  # the symbol is explicitly referenced.  Since portable code cannot
16837
 
  # rely on this symbol name, it's probably fine to never include it in
16838
 
  # preloaded symbol tables.
16839
 
  extract_expsyms_cmds=
16840
 
 
16841
 
  case $host_os in
16842
 
  cygwin* | mingw* | pw32*)
16843
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
16844
 
    # When not using gcc, we currently assume that we are using
16845
 
    # Microsoft Visual C++.
16846
 
    if test "$GCC" != yes; then
16847
 
      with_gnu_ld=no
16848
 
    fi
16849
 
    ;;
16850
 
  openbsd*)
16851
 
    with_gnu_ld=no
16852
 
    ;;
16853
 
  esac
16854
 
 
16855
 
  ld_shlibs_GCJ=yes
16856
 
  if test "$with_gnu_ld" = yes; then
16857
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
16858
 
    wlarc='${wl}'
16859
 
 
16860
 
    # See if GNU ld supports shared libraries.
16861
 
    case $host_os in
16862
 
    aix3* | aix4* | aix5*)
16863
 
      # On AIX/PPC, the GNU linker is very broken
16864
 
      if test "$host_cpu" != ia64; then
16865
 
        ld_shlibs_GCJ=no
16866
 
        cat <<EOF 1>&2
16867
 
 
16868
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
16869
 
*** to be unable to reliably create shared libraries on AIX.
16870
 
*** Therefore, libtool is disabling shared libraries support.  If you
16871
 
*** really care for shared libraries, you may want to modify your PATH
16872
 
*** so that a non-GNU linker is found, and then restart.
16873
 
 
16874
 
EOF
16875
 
      fi
16876
 
      ;;
16877
 
 
16878
 
    amigaos*)
16879
 
      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
16880
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
16881
 
      hardcode_minus_L_GCJ=yes
16882
 
 
16883
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16884
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
16885
 
      # to version 4, is to share data among multiple programs linked
16886
 
      # with the same dynamic library.  Since this doesn't match the
16887
 
      # behavior of shared libraries on other platforms, we can't use
16888
 
      # them.
16889
 
      ld_shlibs_GCJ=no
16890
 
      ;;
16891
 
 
16892
 
    beos*)
16893
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16894
 
        allow_undefined_flag_GCJ=unsupported
16895
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16896
 
        # support --undefined.  This deserves some investigation.  FIXME
16897
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16898
 
      else
16899
 
        ld_shlibs_GCJ=no
16900
 
      fi
16901
 
      ;;
16902
 
 
16903
 
    cygwin* | mingw* | pw32*)
16904
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16905
 
      # as there is no search path for DLLs.
16906
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
16907
 
      allow_undefined_flag_GCJ=unsupported
16908
 
      always_export_symbols_GCJ=no
16909
 
      enable_shared_with_static_runtimes_GCJ=yes
16910
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16911
 
 
16912
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16913
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16914
 
        # If the export-symbols file already is a .def file (1st line
16915
 
        # is EXPORTS), use it as is; otherwise, prepend...
16916
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16917
 
          cp $export_symbols $output_objdir/$soname.def;
16918
 
        else
16919
 
          echo EXPORTS > $output_objdir/$soname.def;
16920
 
          cat $export_symbols >> $output_objdir/$soname.def;
16921
 
        fi~
16922
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
16923
 
      else
16924
 
        ld_shlibs=no
16925
 
      fi
16926
 
      ;;
16927
 
 
16928
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
16929
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16930
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16931
 
        wlarc=
16932
 
      else
16933
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16934
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16935
 
      fi
16936
 
      ;;
16937
 
 
16938
 
    solaris* | sysv5*)
16939
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16940
 
        ld_shlibs_GCJ=no
16941
 
        cat <<EOF 1>&2
16942
 
 
16943
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
16944
 
*** create shared libraries on Solaris systems.  Therefore, libtool
16945
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
16946
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
16947
 
*** your PATH or compiler configuration so that the native linker is
16948
 
*** used, and then restart.
16949
 
 
16950
 
EOF
16951
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16952
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16953
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16954
 
      else
16955
 
        ld_shlibs_GCJ=no
16956
 
      fi
16957
 
      ;;
16958
 
 
16959
 
    sunos4*)
16960
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16961
 
      wlarc=
16962
 
      hardcode_direct_GCJ=yes
16963
 
      hardcode_shlibpath_var_GCJ=no
16964
 
      ;;
16965
 
 
16966
 
  linux*)
16967
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16968
 
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16969
 
        archive_cmds_GCJ="$tmp_archive_cmds"
16970
 
      supports_anon_versioning=no
16971
 
      case `$LD -v 2>/dev/null` in
16972
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
16973
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16974
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16975
 
        *\ 2.11.*) ;; # other 2.11 versions
16976
 
        *) supports_anon_versioning=yes ;;
16977
 
      esac
16978
 
      if test $supports_anon_versioning = yes; then
16979
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
16980
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16981
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
16982
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16983
 
      else
16984
 
        archive_expsym_cmds_GCJ="$tmp_archive_cmds"
16985
 
      fi
16986
 
      link_all_deplibs_GCJ=no
16987
 
    else
16988
 
      ld_shlibs_GCJ=no
16989
 
    fi
16990
 
    ;;
16991
 
 
16992
 
    *)
16993
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16994
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16995
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16996
 
      else
16997
 
        ld_shlibs_GCJ=no
16998
 
      fi
16999
 
      ;;
17000
 
    esac
17001
 
 
17002
 
    if test "$ld_shlibs_GCJ" = yes; then
17003
 
      runpath_var=LD_RUN_PATH
17004
 
      hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
17005
 
      export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
17006
 
      # ancient GNU ld didn't support --whole-archive et. al.
17007
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17008
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17009
 
      else
17010
 
        whole_archive_flag_spec_GCJ=
17011
 
      fi
17012
 
    fi
17013
 
  else
17014
 
    # PORTME fill in a description of your system's linker (not GNU ld)
17015
 
    case $host_os in
17016
 
    aix3*)
17017
 
      allow_undefined_flag_GCJ=unsupported
17018
 
      always_export_symbols_GCJ=yes
17019
 
      archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
17020
 
      # Note: this linker hardcodes the directories in LIBPATH if there
17021
 
      # are no directories specified by -L.
17022
 
      hardcode_minus_L_GCJ=yes
17023
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
17024
 
        # Neither direct hardcoding nor static linking is supported with a
17025
 
        # broken collect2.
17026
 
        hardcode_direct_GCJ=unsupported
17027
 
      fi
17028
 
      ;;
17029
 
 
17030
 
    aix4* | aix5*)
17031
 
      if test "$host_cpu" = ia64; then
17032
 
        # On IA64, the linker does run time linking by default, so we don't
17033
 
        # have to do anything special.
17034
 
        aix_use_runtimelinking=no
17035
 
        exp_sym_flag='-Bexport'
17036
 
        no_entry_flag=""
17037
 
      else
17038
 
        # If we're using GNU nm, then we don't want the "-C" option.
17039
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
17040
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17041
 
          export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17042
 
        else
17043
 
          export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17044
 
        fi
17045
 
        aix_use_runtimelinking=no
17046
 
 
17047
 
        # Test if we are trying to use run time linking or normal
17048
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17049
 
        # need to do runtime linking.
17050
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
17051
 
          for ld_flag in $LDFLAGS; do
17052
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17053
 
            aix_use_runtimelinking=yes
17054
 
            break
17055
 
          fi
17056
 
          done
17057
 
        esac
17058
 
 
17059
 
        exp_sym_flag='-bexport'
17060
 
        no_entry_flag='-bnoentry'
17061
 
      fi
17062
 
 
17063
 
      # When large executables or shared objects are built, AIX ld can
17064
 
      # have problems creating the table of contents.  If linking a library
17065
 
      # or program results in "error TOC overflow" add -mminimal-toc to
17066
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17067
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17068
 
 
17069
 
      archive_cmds_GCJ=''
17070
 
      hardcode_direct_GCJ=yes
17071
 
      hardcode_libdir_separator_GCJ=':'
17072
 
      link_all_deplibs_GCJ=yes
17073
 
 
17074
 
      if test "$GCC" = yes; then
17075
 
        case $host_os in aix4.012|aix4.012.*)
17076
 
        # We only want to do this on AIX 4.2 and lower, the check
17077
 
        # below for broken collect2 doesn't work under 4.3+
17078
 
          collect2name=`${CC} -print-prog-name=collect2`
17079
 
          if test -f "$collect2name" && \
17080
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
17081
 
          then
17082
 
          # We have reworked collect2
17083
 
          hardcode_direct_GCJ=yes
17084
 
          else
17085
 
          # We have old collect2
17086
 
          hardcode_direct_GCJ=unsupported
17087
 
          # It fails to find uninstalled libraries when the uninstalled
17088
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
17089
 
          # to unsupported forces relinking
17090
 
          hardcode_minus_L_GCJ=yes
17091
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
17092
 
          hardcode_libdir_separator_GCJ=
17093
 
          fi
17094
 
        esac
17095
 
        shared_flag='-shared'
17096
 
      else
17097
 
        # not using gcc
17098
 
        if test "$host_cpu" = ia64; then
17099
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17100
 
        # chokes on -Wl,-G. The following line is correct:
17101
 
          shared_flag='-G'
17102
 
        else
17103
 
        if test "$aix_use_runtimelinking" = yes; then
17104
 
            shared_flag='${wl}-G'
17105
 
          else
17106
 
            shared_flag='${wl}-bM:SRE'
17107
 
        fi
17108
 
        fi
17109
 
      fi
17110
 
 
17111
 
      # It seems that -bexpall does not export symbols beginning with
17112
 
      # underscore (_), so it is better to generate a list of symbols to export.
17113
 
      always_export_symbols_GCJ=yes
17114
 
      if test "$aix_use_runtimelinking" = yes; then
17115
 
        # Warning - without using the other runtime loading flags (-brtl),
17116
 
        # -berok will link without error, but may produce a broken library.
17117
 
        allow_undefined_flag_GCJ='-berok'
17118
 
       # Determine the default libpath from the value encoded in an empty executable.
17119
 
       cat >conftest.$ac_ext <<_ACEOF
17120
 
/* confdefs.h.  */
17121
 
_ACEOF
17122
 
cat confdefs.h >>conftest.$ac_ext
17123
 
cat >>conftest.$ac_ext <<_ACEOF
17124
 
/* end confdefs.h.  */
17125
 
 
17126
 
int
17127
 
main ()
17128
 
{
17129
 
 
17130
 
  ;
17131
 
  return 0;
17132
 
}
17133
 
_ACEOF
17134
 
rm -f conftest.$ac_objext conftest$ac_exeext
17135
 
if { (ac_try="$ac_link"
17136
 
case "(($ac_try" in
17137
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17138
 
  *) ac_try_echo=$ac_try;;
17139
 
esac
17140
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17141
 
  (eval "$ac_link") 2>conftest.er1
17142
 
  ac_status=$?
17143
 
  grep -v '^ *+' conftest.er1 >conftest.err
17144
 
  rm -f conftest.er1
17145
 
  cat conftest.err >&5
17146
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17147
 
  (exit $ac_status); } && {
17148
 
         test -z "$ac_c_werror_flag" ||
17149
 
         test ! -s conftest.err
17150
 
       } && test -s conftest$ac_exeext &&
17151
 
       $as_test_x conftest$ac_exeext; then
17152
 
  
17153
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17154
 
}'`
17155
 
# Check for a 64-bit object if we didn't find anything.
17156
 
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; }
17157
 
}'`; fi
17158
 
else
17159
 
  echo "$as_me: failed program was:" >&5
17160
 
sed 's/^/| /' conftest.$ac_ext >&5
17161
 
 
17162
 
        
17163
 
fi
17164
 
 
17165
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17166
 
      conftest$ac_exeext conftest.$ac_ext
17167
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17168
 
 
17169
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17170
 
        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"
17171
 
       else
17172
 
        if test "$host_cpu" = ia64; then
17173
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17174
 
          allow_undefined_flag_GCJ="-z nodefs"
17175
 
          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"
17176
 
        else
17177
 
         # Determine the default libpath from the value encoded in an empty executable.
17178
 
         cat >conftest.$ac_ext <<_ACEOF
17179
 
/* confdefs.h.  */
17180
 
_ACEOF
17181
 
cat confdefs.h >>conftest.$ac_ext
17182
 
cat >>conftest.$ac_ext <<_ACEOF
17183
 
/* end confdefs.h.  */
17184
 
 
17185
 
int
17186
 
main ()
17187
 
{
17188
 
 
17189
 
  ;
17190
 
  return 0;
17191
 
}
17192
 
_ACEOF
17193
 
rm -f conftest.$ac_objext conftest$ac_exeext
17194
 
if { (ac_try="$ac_link"
17195
 
case "(($ac_try" in
17196
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17197
 
  *) ac_try_echo=$ac_try;;
17198
 
esac
17199
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17200
 
  (eval "$ac_link") 2>conftest.er1
17201
 
  ac_status=$?
17202
 
  grep -v '^ *+' conftest.er1 >conftest.err
17203
 
  rm -f conftest.er1
17204
 
  cat conftest.err >&5
17205
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206
 
  (exit $ac_status); } && {
17207
 
         test -z "$ac_c_werror_flag" ||
17208
 
         test ! -s conftest.err
17209
 
       } && test -s conftest$ac_exeext &&
17210
 
       $as_test_x conftest$ac_exeext; then
17211
 
  
17212
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17213
 
}'`
17214
 
# Check for a 64-bit object if we didn't find anything.
17215
 
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; }
17216
 
}'`; fi
17217
 
else
17218
 
  echo "$as_me: failed program was:" >&5
17219
 
sed 's/^/| /' conftest.$ac_ext >&5
17220
 
 
17221
 
        
17222
 
fi
17223
 
 
17224
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17225
 
      conftest$ac_exeext conftest.$ac_ext
17226
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17227
 
 
17228
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17229
 
          # Warning - without using the other run time loading flags,
17230
 
          # -berok will link without error, but may produce a broken library.
17231
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
17232
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
17233
 
          # -bexpall does not export symbols beginning with underscore (_)
17234
 
          always_export_symbols_GCJ=yes
17235
 
          # Exported symbols can be pulled into shared objects from archives
17236
 
          whole_archive_flag_spec_GCJ=' '
17237
 
          archive_cmds_need_lc_GCJ=yes
17238
 
          # This is similar to how AIX traditionally builds it's shared libraries.
17239
 
          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'
17240
 
        fi
17241
 
      fi
17242
 
      ;;
17243
 
 
17244
 
    amigaos*)
17245
 
      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
17246
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17247
 
      hardcode_minus_L_GCJ=yes
17248
 
      # see comment about different semantics on the GNU ld section
17249
 
      ld_shlibs_GCJ=no
17250
 
      ;;
17251
 
 
17252
 
    bsdi4*)
17253
 
      export_dynamic_flag_spec_GCJ=-rdynamic
17254
 
      ;;
17255
 
 
17256
 
    cygwin* | mingw* | pw32*)
17257
 
      # When not using gcc, we currently assume that we are using
17258
 
      # Microsoft Visual C++.
17259
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
17260
 
      # no search path for DLLs.
17261
 
      hardcode_libdir_flag_spec_GCJ=' '
17262
 
      allow_undefined_flag_GCJ=unsupported
17263
 
      # Tell ltmain to make .lib files, not .a files.
17264
 
      libext=lib
17265
 
      # Tell ltmain to make .dll files, not .so files.
17266
 
      shrext_cmds=".dll"
17267
 
      # FIXME: Setting linknames here is a bad hack.
17268
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17269
 
      # The linker will automatically build a .lib file if we build a DLL.
17270
 
      old_archive_From_new_cmds_GCJ='true'
17271
 
      # FIXME: Should let the user specify the lib program.
17272
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
17273
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
17274
 
      enable_shared_with_static_runtimes_GCJ=yes
17275
 
      ;;
17276
 
 
17277
 
    darwin* | rhapsody*)
17278
 
    if test "$GXX" = yes ; then
17279
 
      archive_cmds_need_lc_GCJ=no
17280
 
      case "$host_os" in
17281
 
      rhapsody* | darwin1.[012])
17282
 
        allow_undefined_flag_GCJ='-undefined suppress'
17283
 
        ;;
17284
 
      *) # Darwin 1.3 on
17285
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17286
 
        allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
17287
 
      else
17288
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
17289
 
          10.[012])
17290
 
            allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
17291
 
            ;;
17292
 
          10.*)
17293
 
            allow_undefined_flag_GCJ='-undefined dynamic_lookup'
17294
 
            ;;
17295
 
        esac
17296
 
      fi
17297
 
        ;;
17298
 
      esac
17299
 
        lt_int_apple_cc_single_mod=no
17300
 
        output_verbose_link_cmd='echo'
17301
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
17302
 
          lt_int_apple_cc_single_mod=yes
17303
 
        fi
17304
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17305
 
          archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17306
 
        else
17307
 
        archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -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'
17308
 
      fi
17309
 
      module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17310
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
17311
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17312
 
          archive_expsym_cmds_GCJ='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}'
17313
 
        else
17314
 
          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
17315
 
        fi
17316
 
          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}'
17317
 
      hardcode_direct_GCJ=no
17318
 
      hardcode_automatic_GCJ=yes
17319
 
      hardcode_shlibpath_var_GCJ=unsupported
17320
 
      whole_archive_flag_spec_GCJ='-all_load $convenience'
17321
 
      link_all_deplibs_GCJ=yes
17322
 
    else
17323
 
      ld_shlibs_GCJ=no
17324
 
    fi
17325
 
      ;;
17326
 
 
17327
 
    dgux*)
17328
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17329
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17330
 
      hardcode_shlibpath_var_GCJ=no
17331
 
      ;;
17332
 
 
17333
 
    freebsd1*)
17334
 
      ld_shlibs_GCJ=no
17335
 
      ;;
17336
 
 
17337
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17338
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
17339
 
    # does not break anything, and helps significantly (at the cost of a little
17340
 
    # extra space).
17341
 
    freebsd2.2*)
17342
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17343
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17344
 
      hardcode_direct_GCJ=yes
17345
 
      hardcode_shlibpath_var_GCJ=no
17346
 
      ;;
17347
 
 
17348
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17349
 
    freebsd2*)
17350
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17351
 
      hardcode_direct_GCJ=yes
17352
 
      hardcode_minus_L_GCJ=yes
17353
 
      hardcode_shlibpath_var_GCJ=no
17354
 
      ;;
17355
 
 
17356
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17357
 
    freebsd* | kfreebsd*-gnu)
17358
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17359
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17360
 
      hardcode_direct_GCJ=yes
17361
 
      hardcode_shlibpath_var_GCJ=no
17362
 
      ;;
17363
 
 
17364
 
    hpux9*)
17365
 
      if test "$GCC" = yes; then
17366
 
        archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17367
 
      else
17368
 
        archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17369
 
      fi
17370
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17371
 
      hardcode_libdir_separator_GCJ=:
17372
 
      hardcode_direct_GCJ=yes
17373
 
 
17374
 
      # hardcode_minus_L: Not really in the search PATH,
17375
 
      # but as the default location of the library.
17376
 
      hardcode_minus_L_GCJ=yes
17377
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
17378
 
      ;;
17379
 
 
17380
 
    hpux10* | hpux11*)
17381
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17382
 
        case "$host_cpu" in
17383
 
        hppa*64*|ia64*)
17384
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17385
 
          ;;
17386
 
        *)
17387
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17388
 
          ;;
17389
 
        esac
17390
 
      else
17391
 
        case "$host_cpu" in
17392
 
        hppa*64*|ia64*)
17393
 
          archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
17394
 
          ;;
17395
 
        *)
17396
 
          archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17397
 
          ;;
17398
 
        esac
17399
 
      fi
17400
 
      if test "$with_gnu_ld" = no; then
17401
 
        case "$host_cpu" in
17402
 
        hppa*64*)
17403
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17404
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
17405
 
          hardcode_libdir_separator_GCJ=:
17406
 
          hardcode_direct_GCJ=no
17407
 
          hardcode_shlibpath_var_GCJ=no
17408
 
          ;;
17409
 
        ia64*)
17410
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
17411
 
          hardcode_direct_GCJ=no
17412
 
          hardcode_shlibpath_var_GCJ=no
17413
 
 
17414
 
          # hardcode_minus_L: Not really in the search PATH,
17415
 
          # but as the default location of the library.
17416
 
          hardcode_minus_L_GCJ=yes
17417
 
          ;;
17418
 
        *)
17419
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17420
 
          hardcode_libdir_separator_GCJ=:
17421
 
          hardcode_direct_GCJ=yes
17422
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
17423
 
 
17424
 
          # hardcode_minus_L: Not really in the search PATH,
17425
 
          # but as the default location of the library.
17426
 
          hardcode_minus_L_GCJ=yes
17427
 
          ;;
17428
 
        esac
17429
 
      fi
17430
 
      ;;
17431
 
 
17432
 
    irix5* | irix6* | nonstopux*)
17433
 
      if test "$GCC" = yes; then
17434
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17435
 
      else
17436
 
        archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17437
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
17438
 
      fi
17439
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17440
 
      hardcode_libdir_separator_GCJ=:
17441
 
      link_all_deplibs_GCJ=yes
17442
 
      ;;
17443
 
 
17444
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
17445
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17446
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
17447
 
      else
17448
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
17449
 
      fi
17450
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17451
 
      hardcode_direct_GCJ=yes
17452
 
      hardcode_shlibpath_var_GCJ=no
17453
 
      ;;
17454
 
 
17455
 
    newsos6)
17456
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17457
 
      hardcode_direct_GCJ=yes
17458
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17459
 
      hardcode_libdir_separator_GCJ=:
17460
 
      hardcode_shlibpath_var_GCJ=no
17461
 
      ;;
17462
 
 
17463
 
    openbsd*)
17464
 
      hardcode_direct_GCJ=yes
17465
 
      hardcode_shlibpath_var_GCJ=no
17466
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17467
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17468
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17469
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
17470
 
      else
17471
 
       case $host_os in
17472
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17473
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17474
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
17475
 
           ;;
17476
 
         *)
17477
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17478
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17479
 
           ;;
17480
 
       esac
17481
 
      fi
17482
 
      ;;
17483
 
 
17484
 
    os2*)
17485
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17486
 
      hardcode_minus_L_GCJ=yes
17487
 
      allow_undefined_flag_GCJ=unsupported
17488
 
      archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
17489
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17490
 
      ;;
17491
 
 
17492
 
    osf3*)
17493
 
      if test "$GCC" = yes; then
17494
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
17495
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17496
 
      else
17497
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
17498
 
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17499
 
      fi
17500
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17501
 
      hardcode_libdir_separator_GCJ=:
17502
 
      ;;
17503
 
 
17504
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
17505
 
      if test "$GCC" = yes; then
17506
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
17507
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17508
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17509
 
      else
17510
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
17511
 
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17512
 
        archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
17513
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
17514
 
 
17515
 
        # Both c and cxx compiler support -rpath directly
17516
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
17517
 
      fi
17518
 
      hardcode_libdir_separator_GCJ=:
17519
 
      ;;
17520
 
 
17521
 
    sco3.2v5*)
17522
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17523
 
      hardcode_shlibpath_var_GCJ=no
17524
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
17525
 
      runpath_var=LD_RUN_PATH
17526
 
      hardcode_runpath_var=yes
17527
 
      ;;
17528
 
 
17529
 
    solaris*)
17530
 
      no_undefined_flag_GCJ=' -z text'
17531
 
      if test "$GCC" = yes; then
17532
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17533
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17534
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17535
 
      else
17536
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17537
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17538
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17539
 
      fi
17540
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17541
 
      hardcode_shlibpath_var_GCJ=no
17542
 
      case $host_os in
17543
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
17544
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
17545
 
        whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
17546
 
      esac
17547
 
      link_all_deplibs_GCJ=yes
17548
 
      ;;
17549
 
 
17550
 
    sunos4*)
17551
 
      if test "x$host_vendor" = xsequent; then
17552
 
        # Use $CC to link under sequent, because it throws in some extra .o
17553
 
        # files that make .init and .fini sections work.
17554
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17555
 
      else
17556
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17557
 
      fi
17558
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17559
 
      hardcode_direct_GCJ=yes
17560
 
      hardcode_minus_L_GCJ=yes
17561
 
      hardcode_shlibpath_var_GCJ=no
17562
 
      ;;
17563
 
 
17564
 
    sysv4)
17565
 
      case $host_vendor in
17566
 
        sni)
17567
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17568
 
          hardcode_direct_GCJ=yes # is this really true???
17569
 
        ;;
17570
 
        siemens)
17571
 
          ## LD is ld it makes a PLAMLIB
17572
 
          ## CC just makes a GrossModule.
17573
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17574
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
17575
 
          hardcode_direct_GCJ=no
17576
 
        ;;
17577
 
        motorola)
17578
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17579
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
17580
 
        ;;
17581
 
      esac
17582
 
      runpath_var='LD_RUN_PATH'
17583
 
      hardcode_shlibpath_var_GCJ=no
17584
 
      ;;
17585
 
 
17586
 
    sysv4.3*)
17587
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17588
 
      hardcode_shlibpath_var_GCJ=no
17589
 
      export_dynamic_flag_spec_GCJ='-Bexport'
17590
 
      ;;
17591
 
 
17592
 
    sysv4*MP*)
17593
 
      if test -d /usr/nec; then
17594
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17595
 
        hardcode_shlibpath_var_GCJ=no
17596
 
        runpath_var=LD_RUN_PATH
17597
 
        hardcode_runpath_var=yes
17598
 
        ld_shlibs_GCJ=yes
17599
 
      fi
17600
 
      ;;
17601
 
 
17602
 
    sysv4.2uw2*)
17603
 
      archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17604
 
      hardcode_direct_GCJ=yes
17605
 
      hardcode_minus_L_GCJ=no
17606
 
      hardcode_shlibpath_var_GCJ=no
17607
 
      hardcode_runpath_var=yes
17608
 
      runpath_var=LD_RUN_PATH
17609
 
      ;;
17610
 
 
17611
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
17612
 
      no_undefined_flag_GCJ='${wl}-z ${wl}text'
17613
 
      if test "$GCC" = yes; then
17614
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17615
 
      else
17616
 
        archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17617
 
      fi
17618
 
      runpath_var='LD_RUN_PATH'
17619
 
      hardcode_shlibpath_var_GCJ=no
17620
 
      ;;
17621
 
 
17622
 
    sysv5*)
17623
 
      no_undefined_flag_GCJ=' -z text'
17624
 
      # $CC -shared without GNU ld will not create a library from C++
17625
 
      # object files and a static libstdc++, better avoid it by now
17626
 
      archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17627
 
      archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17628
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17629
 
      hardcode_libdir_flag_spec_GCJ=
17630
 
      hardcode_shlibpath_var_GCJ=no
17631
 
      runpath_var='LD_RUN_PATH'
17632
 
      ;;
17633
 
 
17634
 
    uts4*)
17635
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17636
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17637
 
      hardcode_shlibpath_var_GCJ=no
17638
 
      ;;
17639
 
 
17640
 
    *)
17641
 
      ld_shlibs_GCJ=no
17642
 
      ;;
17643
 
    esac
17644
 
  fi
17645
 
 
17646
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17647
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17648
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
17649
 
 
17650
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17651
 
if test "$GCC" = yes; then
17652
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17653
 
fi
17654
 
 
17655
 
#
17656
 
# Do we need to explicitly link libc?
17657
 
#
17658
 
case "x$archive_cmds_need_lc_GCJ" in
17659
 
x|xyes)
17660
 
  # Assume -lc should be added
17661
 
  archive_cmds_need_lc_GCJ=yes
17662
 
 
17663
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
17664
 
    case $archive_cmds_GCJ in
17665
 
    *'~'*)
17666
 
      # FIXME: we may have to deal with multi-command sequences.
17667
 
      ;;
17668
 
    '$CC '*)
17669
 
      # Test whether the compiler implicitly links with -lc since on some
17670
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17671
 
      # to ld, don't add -lc before -lgcc.
17672
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17673
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17674
 
      $rm conftest*
17675
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17676
 
 
17677
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17678
 
  (eval $ac_compile) 2>&5
17679
 
  ac_status=$?
17680
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17681
 
  (exit $ac_status); } 2>conftest.err; then
17682
 
        soname=conftest
17683
 
        lib=conftest
17684
 
        libobjs=conftest.$ac_objext
17685
 
        deplibs=
17686
 
        wl=$lt_prog_compiler_wl_GCJ
17687
 
        compiler_flags=-v
17688
 
        linker_flags=-v
17689
 
        verstring=
17690
 
        output_objdir=.
17691
 
        libname=conftest
17692
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
17693
 
        allow_undefined_flag_GCJ=
17694
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17695
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
17696
 
  ac_status=$?
17697
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17698
 
  (exit $ac_status); }
17699
 
        then
17700
 
          archive_cmds_need_lc_GCJ=no
17701
 
        else
17702
 
          archive_cmds_need_lc_GCJ=yes
17703
 
        fi
17704
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
17705
 
      else
17706
 
        cat conftest.err 1>&5
17707
 
      fi
17708
 
      $rm conftest*
17709
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17710
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17711
 
      ;;
17712
 
    esac
17713
 
  fi
17714
 
  ;;
17715
 
esac
17716
 
 
17717
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17718
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17719
 
library_names_spec=
17720
 
libname_spec='lib$name'
17721
 
soname_spec=
17722
 
shrext_cmds=".so"
17723
 
postinstall_cmds=
17724
 
postuninstall_cmds=
17725
 
finish_cmds=
17726
 
finish_eval=
17727
 
shlibpath_var=
17728
 
shlibpath_overrides_runpath=unknown
17729
 
version_type=none
17730
 
dynamic_linker="$host_os ld.so"
17731
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17732
 
if test "$GCC" = yes; then
17733
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17734
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
17735
 
    # if the path contains ";" then we assume it to be the separator
17736
 
    # otherwise default to the standard path separator (i.e. ":") - it is
17737
 
    # assumed that no part of a normal pathname contains ";" but that should
17738
 
    # okay in the real world where ";" in dirpaths is itself problematic.
17739
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17740
 
  else
17741
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17742
 
  fi
17743
 
else
17744
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17745
 
fi
17746
 
need_lib_prefix=unknown
17747
 
hardcode_into_libs=no
17748
 
 
17749
 
# when you set need_version to no, make sure it does not cause -set_version
17750
 
# flags to be left without arguments
17751
 
need_version=unknown
17752
 
 
17753
 
case $host_os in
17754
 
aix3*)
17755
 
  version_type=linux
17756
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17757
 
  shlibpath_var=LIBPATH
17758
 
 
17759
 
  # AIX 3 has no versioning support, so we append a major version to the name.
17760
 
  soname_spec='${libname}${release}${shared_ext}$major'
17761
 
  ;;
17762
 
 
17763
 
aix4* | aix5*)
17764
 
  version_type=linux
17765
 
  need_lib_prefix=no
17766
 
  need_version=no
17767
 
  hardcode_into_libs=yes
17768
 
  if test "$host_cpu" = ia64; then
17769
 
    # AIX 5 supports IA64
17770
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17771
 
    shlibpath_var=LD_LIBRARY_PATH
17772
 
  else
17773
 
    # With GCC up to 2.95.x, collect2 would create an import file
17774
 
    # for dependence libraries.  The import file would start with
17775
 
    # the line `#! .'.  This would cause the generated library to
17776
 
    # depend on `.', always an invalid library.  This was fixed in
17777
 
    # development snapshots of GCC prior to 3.0.
17778
 
    case $host_os in
17779
 
      aix4 | aix4.[01] | aix4.[01].*)
17780
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17781
 
           echo ' yes '
17782
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
17783
 
        :
17784
 
      else
17785
 
        can_build_shared=no
17786
 
      fi
17787
 
      ;;
17788
 
    esac
17789
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17790
 
    # soname into executable. Probably we can add versioning support to
17791
 
    # collect2, so additional links can be useful in future.
17792
 
    if test "$aix_use_runtimelinking" = yes; then
17793
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17794
 
      # instead of lib<name>.a to let people know that these are not
17795
 
      # typical AIX shared libraries.
17796
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17797
 
    else
17798
 
      # We preserve .a as extension for shared libraries through AIX4.2
17799
 
      # and later when we are not doing run time linking.
17800
 
      library_names_spec='${libname}${release}.a $libname.a'
17801
 
      soname_spec='${libname}${release}${shared_ext}$major'
17802
 
    fi
17803
 
    shlibpath_var=LIBPATH
17804
 
  fi
17805
 
  ;;
17806
 
 
17807
 
amigaos*)
17808
 
  library_names_spec='$libname.ixlibrary $libname.a'
17809
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
17810
 
  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
17811
 
  ;;
17812
 
 
17813
 
beos*)
17814
 
  library_names_spec='${libname}${shared_ext}'
17815
 
  dynamic_linker="$host_os ld.so"
17816
 
  shlibpath_var=LIBRARY_PATH
17817
 
  ;;
17818
 
 
17819
 
bsdi4*)
17820
 
  version_type=linux
17821
 
  need_version=no
17822
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17823
 
  soname_spec='${libname}${release}${shared_ext}$major'
17824
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17825
 
  shlibpath_var=LD_LIBRARY_PATH
17826
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17827
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17828
 
  # the default ld.so.conf also contains /usr/contrib/lib and
17829
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17830
 
  # libtool to hard-code these into programs
17831
 
  ;;
17832
 
 
17833
 
cygwin* | mingw* | pw32*)
17834
 
  version_type=windows
17835
 
  shrext_cmds=".dll"
17836
 
  need_version=no
17837
 
  need_lib_prefix=no
17838
 
 
17839
 
  case $GCC,$host_os in
17840
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
17841
 
    library_names_spec='$libname.dll.a'
17842
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
17843
 
    postinstall_cmds='base_file=`basename \${file}`~
17844
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17845
 
      dldir=$destdir/`dirname \$dlpath`~
17846
 
      test -d \$dldir || mkdir -p \$dldir~
17847
 
      $install_prog $dir/$dlname \$dldir/$dlname'
17848
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17849
 
      dlpath=$dir/\$dldll~
17850
 
       $rm \$dlpath'
17851
 
    shlibpath_overrides_runpath=yes
17852
 
 
17853
 
    case $host_os in
17854
 
    cygwin*)
17855
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17856
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17857
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
17858
 
      ;;
17859
 
    mingw*)
17860
 
      # MinGW DLLs use traditional 'lib' prefix
17861
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17862
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17863
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
17864
 
        # It is most probably a Windows format PATH printed by
17865
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
17866
 
        # path with ; separators, and with drive letters. We can handle the
17867
 
        # drive letters (cygwin fileutils understands them), so leave them,
17868
 
        # especially as we might pass files found there to a mingw objdump,
17869
 
        # which wouldn't understand a cygwinified path. Ahh.
17870
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17871
 
      else
17872
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17873
 
      fi
17874
 
      ;;
17875
 
    pw32*)
17876
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
17877
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
17878
 
      ;;
17879
 
    esac
17880
 
    ;;
17881
 
 
17882
 
  *)
17883
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17884
 
    ;;
17885
 
  esac
17886
 
  dynamic_linker='Win32 ld.exe'
17887
 
  # FIXME: first we should search . and the directory the executable is in
17888
 
  shlibpath_var=PATH
17889
 
  ;;
17890
 
 
17891
 
darwin* | rhapsody*)
17892
 
  dynamic_linker="$host_os dyld"
17893
 
  version_type=darwin
17894
 
  need_lib_prefix=no
17895
 
  need_version=no
17896
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17897
 
  soname_spec='${libname}${release}${major}$shared_ext'
17898
 
  shlibpath_overrides_runpath=yes
17899
 
  shlibpath_var=DYLD_LIBRARY_PATH
17900
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
17901
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17902
 
  if test "$GCC" = yes; then
17903
 
    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"`
17904
 
  else
17905
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
17906
 
  fi
17907
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17908
 
  ;;
17909
 
 
17910
 
dgux*)
17911
 
  version_type=linux
17912
 
  need_lib_prefix=no
17913
 
  need_version=no
17914
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17915
 
  soname_spec='${libname}${release}${shared_ext}$major'
17916
 
  shlibpath_var=LD_LIBRARY_PATH
17917
 
  ;;
17918
 
 
17919
 
freebsd1*)
17920
 
  dynamic_linker=no
17921
 
  ;;
17922
 
 
17923
 
kfreebsd*-gnu)
17924
 
  version_type=linux
17925
 
  need_lib_prefix=no
17926
 
  need_version=no
17927
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17928
 
  soname_spec='${libname}${release}${shared_ext}$major'
17929
 
  shlibpath_var=LD_LIBRARY_PATH
17930
 
  shlibpath_overrides_runpath=no
17931
 
  hardcode_into_libs=yes
17932
 
  dynamic_linker='GNU ld.so'
17933
 
  ;;
17934
 
 
17935
 
freebsd*)
17936
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
17937
 
  version_type=freebsd-$objformat
17938
 
  case $version_type in
17939
 
    freebsd-elf*)
17940
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17941
 
      need_version=no
17942
 
      need_lib_prefix=no
17943
 
      ;;
17944
 
    freebsd-*)
17945
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17946
 
      need_version=yes
17947
 
      ;;
17948
 
  esac
17949
 
  shlibpath_var=LD_LIBRARY_PATH
17950
 
  case $host_os in
17951
 
  freebsd2*)
17952
 
    shlibpath_overrides_runpath=yes
17953
 
    ;;
17954
 
  freebsd3.01* | freebsdelf3.01*)
17955
 
    shlibpath_overrides_runpath=yes
17956
 
    hardcode_into_libs=yes
17957
 
    ;;
17958
 
  *) # from 3.2 on
17959
 
    shlibpath_overrides_runpath=no
17960
 
    hardcode_into_libs=yes
17961
 
    ;;
17962
 
  esac
17963
 
  ;;
17964
 
 
17965
 
gnu*)
17966
 
  version_type=linux
17967
 
  need_lib_prefix=no
17968
 
  need_version=no
17969
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17970
 
  soname_spec='${libname}${release}${shared_ext}$major'
17971
 
  shlibpath_var=LD_LIBRARY_PATH
17972
 
  hardcode_into_libs=yes
17973
 
  ;;
17974
 
 
17975
 
hpux9* | hpux10* | hpux11*)
17976
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
17977
 
  # link against other versions.
17978
 
  version_type=sunos
17979
 
  need_lib_prefix=no
17980
 
  need_version=no
17981
 
  case "$host_cpu" in
17982
 
  ia64*)
17983
 
    shrext_cmds='.so'
17984
 
    hardcode_into_libs=yes
17985
 
    dynamic_linker="$host_os dld.so"
17986
 
    shlibpath_var=LD_LIBRARY_PATH
17987
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17988
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17989
 
    soname_spec='${libname}${release}${shared_ext}$major'
17990
 
    if test "X$HPUX_IA64_MODE" = X32; then
17991
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17992
 
    else
17993
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17994
 
    fi
17995
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17996
 
    ;;
17997
 
   hppa*64*)
17998
 
     shrext_cmds='.sl'
17999
 
     hardcode_into_libs=yes
18000
 
     dynamic_linker="$host_os dld.sl"
18001
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18002
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18003
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18004
 
     soname_spec='${libname}${release}${shared_ext}$major'
18005
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18006
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18007
 
     ;;
18008
 
   *)
18009
 
    shrext_cmds='.sl'
18010
 
    dynamic_linker="$host_os dld.sl"
18011
 
    shlibpath_var=SHLIB_PATH
18012
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18013
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18014
 
    soname_spec='${libname}${release}${shared_ext}$major'
18015
 
    ;;
18016
 
  esac
18017
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
18018
 
  postinstall_cmds='chmod 555 $lib'
18019
 
  ;;
18020
 
 
18021
 
irix5* | irix6* | nonstopux*)
18022
 
  case $host_os in
18023
 
    nonstopux*) version_type=nonstopux ;;
18024
 
    *)
18025
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
18026
 
                version_type=linux
18027
 
        else
18028
 
                version_type=irix
18029
 
        fi ;;
18030
 
  esac
18031
 
  need_lib_prefix=no
18032
 
  need_version=no
18033
 
  soname_spec='${libname}${release}${shared_ext}$major'
18034
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18035
 
  case $host_os in
18036
 
  irix5* | nonstopux*)
18037
 
    libsuff= shlibsuff=
18038
 
    ;;
18039
 
  *)
18040
 
    case $LD in # libtool.m4 will add one of these switches to LD
18041
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18042
 
      libsuff= shlibsuff= libmagic=32-bit;;
18043
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18044
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
18045
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18046
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
18047
 
    *) libsuff= shlibsuff= libmagic=never-match;;
18048
 
    esac
18049
 
    ;;
18050
 
  esac
18051
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18052
 
  shlibpath_overrides_runpath=no
18053
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18054
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18055
 
  hardcode_into_libs=yes
18056
 
  ;;
18057
 
 
18058
 
# No shared lib support for Linux oldld, aout, or coff.
18059
 
linux*oldld* | linux*aout* | linux*coff*)
18060
 
  dynamic_linker=no
18061
 
  ;;
18062
 
 
18063
 
# This must be Linux ELF.
18064
 
linux*)
18065
 
  version_type=linux
18066
 
  need_lib_prefix=no
18067
 
  need_version=no
18068
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18069
 
  soname_spec='${libname}${release}${shared_ext}$major'
18070
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18071
 
  shlibpath_var=LD_LIBRARY_PATH
18072
 
  shlibpath_overrides_runpath=no
18073
 
  # This implies no fast_install, which is unacceptable.
18074
 
  # Some rework will be needed to allow for fast_install
18075
 
  # before this can be enabled.
18076
 
  hardcode_into_libs=yes
18077
 
 
18078
 
  # Append ld.so.conf contents to the search path
18079
 
  if test -f /etc/ld.so.conf; then
18080
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
18081
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18082
 
  fi
18083
 
 
18084
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
18085
 
  # powerpc, because MkLinux only supported shared libraries with the
18086
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
18087
 
  # most powerpc-linux boxes support dynamic linking these days and
18088
 
  # people can always --disable-shared, the test was removed, and we
18089
 
  # assume the GNU/Linux dynamic linker is in use.
18090
 
  dynamic_linker='GNU/Linux ld.so'
18091
 
  ;;
18092
 
 
18093
 
netbsdelf*-gnu)
18094
 
  version_type=linux
18095
 
  need_lib_prefix=no
18096
 
  need_version=no
18097
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18098
 
  soname_spec='${libname}${release}${shared_ext}$major'
18099
 
  shlibpath_var=LD_LIBRARY_PATH
18100
 
  shlibpath_overrides_runpath=no
18101
 
  hardcode_into_libs=yes
18102
 
  dynamic_linker='NetBSD ld.elf_so'
18103
 
  ;;
18104
 
 
18105
 
knetbsd*-gnu)
18106
 
  version_type=linux
18107
 
  need_lib_prefix=no
18108
 
  need_version=no
18109
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18110
 
  soname_spec='${libname}${release}${shared_ext}$major'
18111
 
  shlibpath_var=LD_LIBRARY_PATH
18112
 
  shlibpath_overrides_runpath=no
18113
 
  hardcode_into_libs=yes
18114
 
  dynamic_linker='GNU ld.so'
18115
 
  ;;
18116
 
 
18117
 
netbsd*)
18118
 
  version_type=sunos
18119
 
  need_lib_prefix=no
18120
 
  need_version=no
18121
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18122
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18123
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18124
 
    dynamic_linker='NetBSD (a.out) ld.so'
18125
 
  else
18126
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18127
 
    soname_spec='${libname}${release}${shared_ext}$major'
18128
 
    dynamic_linker='NetBSD ld.elf_so'
18129
 
  fi
18130
 
  shlibpath_var=LD_LIBRARY_PATH
18131
 
  shlibpath_overrides_runpath=yes
18132
 
  hardcode_into_libs=yes
18133
 
  ;;
18134
 
 
18135
 
newsos6)
18136
 
  version_type=linux
18137
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18138
 
  shlibpath_var=LD_LIBRARY_PATH
18139
 
  shlibpath_overrides_runpath=yes
18140
 
  ;;
18141
 
 
18142
 
nto-qnx*)
18143
 
  version_type=linux
18144
 
  need_lib_prefix=no
18145
 
  need_version=no
18146
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18147
 
  soname_spec='${libname}${release}${shared_ext}$major'
18148
 
  shlibpath_var=LD_LIBRARY_PATH
18149
 
  shlibpath_overrides_runpath=yes
18150
 
  ;;
18151
 
 
18152
 
openbsd*)
18153
 
  version_type=sunos
18154
 
  need_lib_prefix=no
18155
 
  need_version=yes
18156
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18157
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18158
 
  shlibpath_var=LD_LIBRARY_PATH
18159
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18160
 
    case $host_os in
18161
 
      openbsd2.[89] | openbsd2.[89].*)
18162
 
        shlibpath_overrides_runpath=no
18163
 
        ;;
18164
 
      *)
18165
 
        shlibpath_overrides_runpath=yes
18166
 
        ;;
18167
 
      esac
18168
 
  else
18169
 
    shlibpath_overrides_runpath=yes
18170
 
  fi
18171
 
  ;;
18172
 
 
18173
 
os2*)
18174
 
  libname_spec='$name'
18175
 
  shrext_cmds=".dll"
18176
 
  need_lib_prefix=no
18177
 
  library_names_spec='$libname${shared_ext} $libname.a'
18178
 
  dynamic_linker='OS/2 ld.exe'
18179
 
  shlibpath_var=LIBPATH
18180
 
  ;;
18181
 
 
18182
 
osf3* | osf4* | osf5*)
18183
 
  version_type=osf
18184
 
  need_lib_prefix=no
18185
 
  need_version=no
18186
 
  soname_spec='${libname}${release}${shared_ext}$major'
18187
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18188
 
  shlibpath_var=LD_LIBRARY_PATH
18189
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18190
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18191
 
  ;;
18192
 
 
18193
 
sco3.2v5*)
18194
 
  version_type=osf
18195
 
  soname_spec='${libname}${release}${shared_ext}$major'
18196
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18197
 
  shlibpath_var=LD_LIBRARY_PATH
18198
 
  ;;
18199
 
 
18200
 
solaris*)
18201
 
  version_type=linux
18202
 
  need_lib_prefix=no
18203
 
  need_version=no
18204
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18205
 
  soname_spec='${libname}${release}${shared_ext}$major'
18206
 
  shlibpath_var=LD_LIBRARY_PATH
18207
 
  shlibpath_overrides_runpath=yes
18208
 
  hardcode_into_libs=yes
18209
 
  # ldd complains unless libraries are executable
18210
 
  postinstall_cmds='chmod +x $lib'
18211
 
  ;;
18212
 
 
18213
 
sunos4*)
18214
 
  version_type=sunos
18215
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18216
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18217
 
  shlibpath_var=LD_LIBRARY_PATH
18218
 
  shlibpath_overrides_runpath=yes
18219
 
  if test "$with_gnu_ld" = yes; then
18220
 
    need_lib_prefix=no
18221
 
  fi
18222
 
  need_version=yes
18223
 
  ;;
18224
 
 
18225
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
18226
 
  version_type=linux
18227
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18228
 
  soname_spec='${libname}${release}${shared_ext}$major'
18229
 
  shlibpath_var=LD_LIBRARY_PATH
18230
 
  case $host_vendor in
18231
 
    sni)
18232
 
      shlibpath_overrides_runpath=no
18233
 
      need_lib_prefix=no
18234
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
18235
 
      runpath_var=LD_RUN_PATH
18236
 
      ;;
18237
 
    siemens)
18238
 
      need_lib_prefix=no
18239
 
      ;;
18240
 
    motorola)
18241
 
      need_lib_prefix=no
18242
 
      need_version=no
18243
 
      shlibpath_overrides_runpath=no
18244
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18245
 
      ;;
18246
 
  esac
18247
 
  ;;
18248
 
 
18249
 
sysv4*MP*)
18250
 
  if test -d /usr/nec ;then
18251
 
    version_type=linux
18252
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18253
 
    soname_spec='$libname${shared_ext}.$major'
18254
 
    shlibpath_var=LD_LIBRARY_PATH
18255
 
  fi
18256
 
  ;;
18257
 
 
18258
 
uts4*)
18259
 
  version_type=linux
18260
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18261
 
  soname_spec='${libname}${release}${shared_ext}$major'
18262
 
  shlibpath_var=LD_LIBRARY_PATH
18263
 
  ;;
18264
 
 
18265
 
*)
18266
 
  dynamic_linker=no
18267
 
  ;;
18268
 
esac
18269
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18270
 
echo "${ECHO_T}$dynamic_linker" >&6; }
18271
 
test "$dynamic_linker" = no && can_build_shared=no
18272
 
 
18273
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18274
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18275
 
hardcode_action_GCJ=
18276
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18277
 
   test -n "$runpath_var GCJ" || \
18278
 
   test "X$hardcode_automatic_GCJ"="Xyes" ; then
18279
 
 
18280
 
  # We can hardcode non-existant directories.
18281
 
  if test "$hardcode_direct_GCJ" != no &&
18282
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
18283
 
     # have to relink, otherwise we might link with an installed library
18284
 
     # when we should be linking with a yet-to-be-installed one
18285
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18286
 
     test "$hardcode_minus_L_GCJ" != no; then
18287
 
    # Linking always hardcodes the temporary library directory.
18288
 
    hardcode_action_GCJ=relink
18289
 
  else
18290
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
18291
 
    hardcode_action_GCJ=immediate
18292
 
  fi
18293
 
else
18294
 
  # We cannot hardcode anything, or else we can only hardcode existing
18295
 
  # directories.
18296
 
  hardcode_action_GCJ=unsupported
18297
 
fi
18298
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18299
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18300
 
 
18301
 
if test "$hardcode_action_GCJ" = relink; then
18302
 
  # Fast installation is not supported
18303
 
  enable_fast_install=no
18304
 
elif test "$shlibpath_overrides_runpath" = yes ||
18305
 
     test "$enable_shared" = no; then
18306
 
  # Fast installation is not necessary
18307
 
  enable_fast_install=needless
18308
 
fi
18309
 
 
18310
 
striplib=
18311
 
old_striplib=
18312
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18313
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
18314
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
18315
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
18316
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
18317
 
  { echo "$as_me:$LINENO: result: yes" >&5
18318
 
echo "${ECHO_T}yes" >&6; }
18319
 
else
18320
 
# FIXME - insert some real tests, host_os isn't really good enough
18321
 
  case $host_os in
18322
 
   darwin*)
18323
 
       if test -n "$STRIP" ; then
18324
 
         striplib="$STRIP -x"
18325
 
         { echo "$as_me:$LINENO: result: yes" >&5
18326
 
echo "${ECHO_T}yes" >&6; }
18327
 
       else
18328
 
  { echo "$as_me:$LINENO: result: no" >&5
18329
 
echo "${ECHO_T}no" >&6; }
18330
 
fi
18331
 
       ;;
18332
 
   *)
18333
 
  { echo "$as_me:$LINENO: result: no" >&5
18334
 
echo "${ECHO_T}no" >&6; }
18335
 
    ;;
18336
 
  esac
18337
 
fi
18338
 
 
18339
 
if test "x$enable_dlopen" != xyes; then
18340
 
  enable_dlopen=unknown
18341
 
  enable_dlopen_self=unknown
18342
 
  enable_dlopen_self_static=unknown
18343
 
else
18344
 
  lt_cv_dlopen=no
18345
 
  lt_cv_dlopen_libs=
18346
 
 
18347
 
  case $host_os in
18348
 
  beos*)
18349
 
    lt_cv_dlopen="load_add_on"
18350
 
    lt_cv_dlopen_libs=
18351
 
    lt_cv_dlopen_self=yes
18352
 
    ;;
18353
 
 
18354
 
  mingw* | pw32*)
18355
 
    lt_cv_dlopen="LoadLibrary"
18356
 
    lt_cv_dlopen_libs=
18357
 
   ;;
18358
 
 
18359
 
  cygwin*)
18360
 
    lt_cv_dlopen="dlopen"
18361
 
    lt_cv_dlopen_libs=
18362
 
   ;;
18363
 
 
18364
 
  darwin*)
18365
 
  # if libdl is installed we need to link against it
18366
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18367
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
18368
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18369
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18370
 
else
18371
 
  ac_check_lib_save_LIBS=$LIBS
18372
 
LIBS="-ldl  $LIBS"
18373
 
cat >conftest.$ac_ext <<_ACEOF
18374
 
/* confdefs.h.  */
18375
 
_ACEOF
18376
 
cat confdefs.h >>conftest.$ac_ext
18377
 
cat >>conftest.$ac_ext <<_ACEOF
18378
 
/* end confdefs.h.  */
18379
 
 
18380
 
/* Override any GCC internal prototype to avoid an error.
18381
 
   Use char because int might match the return type of a GCC
18382
 
   builtin and then its argument prototype would still apply.  */
18383
 
#ifdef __cplusplus
18384
 
extern "C"
18385
 
#endif
18386
 
char dlopen ();
18387
 
int
18388
 
main ()
18389
 
{
18390
 
return dlopen ();
18391
 
  ;
18392
 
  return 0;
18393
 
}
18394
 
_ACEOF
18395
 
rm -f conftest.$ac_objext conftest$ac_exeext
18396
 
if { (ac_try="$ac_link"
18397
 
case "(($ac_try" in
18398
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18399
 
  *) ac_try_echo=$ac_try;;
18400
 
esac
18401
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18402
 
  (eval "$ac_link") 2>conftest.er1
18403
 
  ac_status=$?
18404
 
  grep -v '^ *+' conftest.er1 >conftest.err
18405
 
  rm -f conftest.er1
18406
 
  cat conftest.err >&5
18407
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408
 
  (exit $ac_status); } && {
18409
 
         test -z "$ac_c_werror_flag" ||
18410
 
         test ! -s conftest.err
18411
 
       } && test -s conftest$ac_exeext &&
18412
 
       $as_test_x conftest$ac_exeext; then
18413
 
  ac_cv_lib_dl_dlopen=yes
18414
 
else
18415
 
  echo "$as_me: failed program was:" >&5
18416
 
sed 's/^/| /' conftest.$ac_ext >&5
18417
 
 
18418
 
        ac_cv_lib_dl_dlopen=no
18419
 
fi
18420
 
 
18421
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18422
 
      conftest$ac_exeext conftest.$ac_ext
18423
 
LIBS=$ac_check_lib_save_LIBS
18424
 
fi
18425
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18426
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
18427
 
if test $ac_cv_lib_dl_dlopen = yes; then
18428
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18429
 
else
18430
 
  
18431
 
    lt_cv_dlopen="dyld"
18432
 
    lt_cv_dlopen_libs=
18433
 
    lt_cv_dlopen_self=yes
18434
 
    
18435
 
fi
18436
 
 
18437
 
   ;;
18438
 
 
18439
 
  *)
18440
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
18441
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
18442
 
if test "${ac_cv_func_shl_load+set}" = set; then
18443
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18444
 
else
18445
 
  cat >conftest.$ac_ext <<_ACEOF
18446
 
/* confdefs.h.  */
18447
 
_ACEOF
18448
 
cat confdefs.h >>conftest.$ac_ext
18449
 
cat >>conftest.$ac_ext <<_ACEOF
18450
 
/* end confdefs.h.  */
18451
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
18452
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18453
 
#define shl_load innocuous_shl_load
18454
 
 
18455
 
/* System header to define __stub macros and hopefully few prototypes,
18456
 
    which can conflict with char shl_load (); below.
18457
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18458
 
    <limits.h> exists even on freestanding compilers.  */
18459
 
 
18460
 
#ifdef __STDC__
18461
 
# include <limits.h>
18462
 
#else
18463
 
# include <assert.h>
18464
 
#endif
18465
 
 
18466
 
#undef shl_load
18467
 
 
18468
 
/* Override any GCC internal prototype to avoid an error.
18469
 
   Use char because int might match the return type of a GCC
18470
 
   builtin and then its argument prototype would still apply.  */
18471
 
#ifdef __cplusplus
18472
 
extern "C"
18473
 
#endif
18474
 
char shl_load ();
18475
 
/* The GNU C library defines this for functions which it implements
18476
 
    to always fail with ENOSYS.  Some functions are actually named
18477
 
    something starting with __ and the normal name is an alias.  */
18478
 
#if defined __stub_shl_load || defined __stub___shl_load
18479
 
choke me
18480
 
#endif
18481
 
 
18482
 
int
18483
 
main ()
18484
 
{
18485
 
return shl_load ();
18486
 
  ;
18487
 
  return 0;
18488
 
}
18489
 
_ACEOF
18490
 
rm -f conftest.$ac_objext conftest$ac_exeext
18491
 
if { (ac_try="$ac_link"
18492
 
case "(($ac_try" in
18493
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18494
 
  *) ac_try_echo=$ac_try;;
18495
 
esac
18496
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18497
 
  (eval "$ac_link") 2>conftest.er1
18498
 
  ac_status=$?
18499
 
  grep -v '^ *+' conftest.er1 >conftest.err
18500
 
  rm -f conftest.er1
18501
 
  cat conftest.err >&5
18502
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18503
 
  (exit $ac_status); } && {
18504
 
         test -z "$ac_c_werror_flag" ||
18505
 
         test ! -s conftest.err
18506
 
       } && test -s conftest$ac_exeext &&
18507
 
       $as_test_x conftest$ac_exeext; then
18508
 
  ac_cv_func_shl_load=yes
18509
 
else
18510
 
  echo "$as_me: failed program was:" >&5
18511
 
sed 's/^/| /' conftest.$ac_ext >&5
18512
 
 
18513
 
        ac_cv_func_shl_load=no
18514
 
fi
18515
 
 
18516
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18517
 
      conftest$ac_exeext conftest.$ac_ext
18518
 
fi
18519
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
18520
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
18521
 
if test $ac_cv_func_shl_load = yes; then
18522
 
  lt_cv_dlopen="shl_load"
18523
 
else
18524
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
18525
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
18526
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
18527
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18528
 
else
18529
 
  ac_check_lib_save_LIBS=$LIBS
18530
 
LIBS="-ldld  $LIBS"
18531
 
cat >conftest.$ac_ext <<_ACEOF
18532
 
/* confdefs.h.  */
18533
 
_ACEOF
18534
 
cat confdefs.h >>conftest.$ac_ext
18535
 
cat >>conftest.$ac_ext <<_ACEOF
18536
 
/* end confdefs.h.  */
18537
 
 
18538
 
/* Override any GCC internal prototype to avoid an error.
18539
 
   Use char because int might match the return type of a GCC
18540
 
   builtin and then its argument prototype would still apply.  */
18541
 
#ifdef __cplusplus
18542
 
extern "C"
18543
 
#endif
18544
 
char shl_load ();
18545
 
int
18546
 
main ()
18547
 
{
18548
 
return shl_load ();
18549
 
  ;
18550
 
  return 0;
18551
 
}
18552
 
_ACEOF
18553
 
rm -f conftest.$ac_objext conftest$ac_exeext
18554
 
if { (ac_try="$ac_link"
18555
 
case "(($ac_try" in
18556
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18557
 
  *) ac_try_echo=$ac_try;;
18558
 
esac
18559
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18560
 
  (eval "$ac_link") 2>conftest.er1
18561
 
  ac_status=$?
18562
 
  grep -v '^ *+' conftest.er1 >conftest.err
18563
 
  rm -f conftest.er1
18564
 
  cat conftest.err >&5
18565
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18566
 
  (exit $ac_status); } && {
18567
 
         test -z "$ac_c_werror_flag" ||
18568
 
         test ! -s conftest.err
18569
 
       } && test -s conftest$ac_exeext &&
18570
 
       $as_test_x conftest$ac_exeext; then
18571
 
  ac_cv_lib_dld_shl_load=yes
18572
 
else
18573
 
  echo "$as_me: failed program was:" >&5
18574
 
sed 's/^/| /' conftest.$ac_ext >&5
18575
 
 
18576
 
        ac_cv_lib_dld_shl_load=no
18577
 
fi
18578
 
 
18579
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18580
 
      conftest$ac_exeext conftest.$ac_ext
18581
 
LIBS=$ac_check_lib_save_LIBS
18582
 
fi
18583
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
18584
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
18585
 
if test $ac_cv_lib_dld_shl_load = yes; then
18586
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
18587
 
else
18588
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
18589
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
18590
 
if test "${ac_cv_func_dlopen+set}" = set; then
18591
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18592
 
else
18593
 
  cat >conftest.$ac_ext <<_ACEOF
18594
 
/* confdefs.h.  */
18595
 
_ACEOF
18596
 
cat confdefs.h >>conftest.$ac_ext
18597
 
cat >>conftest.$ac_ext <<_ACEOF
18598
 
/* end confdefs.h.  */
18599
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
18600
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18601
 
#define dlopen innocuous_dlopen
18602
 
 
18603
 
/* System header to define __stub macros and hopefully few prototypes,
18604
 
    which can conflict with char dlopen (); below.
18605
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18606
 
    <limits.h> exists even on freestanding compilers.  */
18607
 
 
18608
 
#ifdef __STDC__
18609
 
# include <limits.h>
18610
 
#else
18611
 
# include <assert.h>
18612
 
#endif
18613
 
 
18614
 
#undef dlopen
18615
 
 
18616
 
/* Override any GCC internal prototype to avoid an error.
18617
 
   Use char because int might match the return type of a GCC
18618
 
   builtin and then its argument prototype would still apply.  */
18619
 
#ifdef __cplusplus
18620
 
extern "C"
18621
 
#endif
18622
 
char dlopen ();
18623
 
/* The GNU C library defines this for functions which it implements
18624
 
    to always fail with ENOSYS.  Some functions are actually named
18625
 
    something starting with __ and the normal name is an alias.  */
18626
 
#if defined __stub_dlopen || defined __stub___dlopen
18627
 
choke me
18628
 
#endif
18629
 
 
18630
 
int
18631
 
main ()
18632
 
{
18633
 
return dlopen ();
18634
 
  ;
18635
 
  return 0;
18636
 
}
18637
 
_ACEOF
18638
 
rm -f conftest.$ac_objext conftest$ac_exeext
18639
 
if { (ac_try="$ac_link"
18640
 
case "(($ac_try" in
18641
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18642
 
  *) ac_try_echo=$ac_try;;
18643
 
esac
18644
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18645
 
  (eval "$ac_link") 2>conftest.er1
18646
 
  ac_status=$?
18647
 
  grep -v '^ *+' conftest.er1 >conftest.err
18648
 
  rm -f conftest.er1
18649
 
  cat conftest.err >&5
18650
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18651
 
  (exit $ac_status); } && {
18652
 
         test -z "$ac_c_werror_flag" ||
18653
 
         test ! -s conftest.err
18654
 
       } && test -s conftest$ac_exeext &&
18655
 
       $as_test_x conftest$ac_exeext; then
18656
 
  ac_cv_func_dlopen=yes
18657
 
else
18658
 
  echo "$as_me: failed program was:" >&5
18659
 
sed 's/^/| /' conftest.$ac_ext >&5
18660
 
 
18661
 
        ac_cv_func_dlopen=no
18662
 
fi
18663
 
 
18664
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18665
 
      conftest$ac_exeext conftest.$ac_ext
18666
 
fi
18667
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
18668
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
18669
 
if test $ac_cv_func_dlopen = yes; then
18670
 
  lt_cv_dlopen="dlopen"
18671
 
else
18672
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18673
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
18674
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18675
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18676
 
else
18677
 
  ac_check_lib_save_LIBS=$LIBS
18678
 
LIBS="-ldl  $LIBS"
18679
 
cat >conftest.$ac_ext <<_ACEOF
18680
 
/* confdefs.h.  */
18681
 
_ACEOF
18682
 
cat confdefs.h >>conftest.$ac_ext
18683
 
cat >>conftest.$ac_ext <<_ACEOF
18684
 
/* end confdefs.h.  */
18685
 
 
18686
 
/* Override any GCC internal prototype to avoid an error.
18687
 
   Use char because int might match the return type of a GCC
18688
 
   builtin and then its argument prototype would still apply.  */
18689
 
#ifdef __cplusplus
18690
 
extern "C"
18691
 
#endif
18692
 
char dlopen ();
18693
 
int
18694
 
main ()
18695
 
{
18696
 
return dlopen ();
18697
 
  ;
18698
 
  return 0;
18699
 
}
18700
 
_ACEOF
18701
 
rm -f conftest.$ac_objext conftest$ac_exeext
18702
 
if { (ac_try="$ac_link"
18703
 
case "(($ac_try" in
18704
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18705
 
  *) ac_try_echo=$ac_try;;
18706
 
esac
18707
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18708
 
  (eval "$ac_link") 2>conftest.er1
18709
 
  ac_status=$?
18710
 
  grep -v '^ *+' conftest.er1 >conftest.err
18711
 
  rm -f conftest.er1
18712
 
  cat conftest.err >&5
18713
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18714
 
  (exit $ac_status); } && {
18715
 
         test -z "$ac_c_werror_flag" ||
18716
 
         test ! -s conftest.err
18717
 
       } && test -s conftest$ac_exeext &&
18718
 
       $as_test_x conftest$ac_exeext; then
18719
 
  ac_cv_lib_dl_dlopen=yes
18720
 
else
18721
 
  echo "$as_me: failed program was:" >&5
18722
 
sed 's/^/| /' conftest.$ac_ext >&5
18723
 
 
18724
 
        ac_cv_lib_dl_dlopen=no
18725
 
fi
18726
 
 
18727
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18728
 
      conftest$ac_exeext conftest.$ac_ext
18729
 
LIBS=$ac_check_lib_save_LIBS
18730
 
fi
18731
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18732
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
18733
 
if test $ac_cv_lib_dl_dlopen = yes; then
18734
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18735
 
else
18736
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
18737
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
18738
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
18739
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18740
 
else
18741
 
  ac_check_lib_save_LIBS=$LIBS
18742
 
LIBS="-lsvld  $LIBS"
18743
 
cat >conftest.$ac_ext <<_ACEOF
18744
 
/* confdefs.h.  */
18745
 
_ACEOF
18746
 
cat confdefs.h >>conftest.$ac_ext
18747
 
cat >>conftest.$ac_ext <<_ACEOF
18748
 
/* end confdefs.h.  */
18749
 
 
18750
 
/* Override any GCC internal prototype to avoid an error.
18751
 
   Use char because int might match the return type of a GCC
18752
 
   builtin and then its argument prototype would still apply.  */
18753
 
#ifdef __cplusplus
18754
 
extern "C"
18755
 
#endif
18756
 
char dlopen ();
18757
 
int
18758
 
main ()
18759
 
{
18760
 
return dlopen ();
18761
 
  ;
18762
 
  return 0;
18763
 
}
18764
 
_ACEOF
18765
 
rm -f conftest.$ac_objext conftest$ac_exeext
18766
 
if { (ac_try="$ac_link"
18767
 
case "(($ac_try" in
18768
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18769
 
  *) ac_try_echo=$ac_try;;
18770
 
esac
18771
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18772
 
  (eval "$ac_link") 2>conftest.er1
18773
 
  ac_status=$?
18774
 
  grep -v '^ *+' conftest.er1 >conftest.err
18775
 
  rm -f conftest.er1
18776
 
  cat conftest.err >&5
18777
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778
 
  (exit $ac_status); } && {
18779
 
         test -z "$ac_c_werror_flag" ||
18780
 
         test ! -s conftest.err
18781
 
       } && test -s conftest$ac_exeext &&
18782
 
       $as_test_x conftest$ac_exeext; then
18783
 
  ac_cv_lib_svld_dlopen=yes
18784
 
else
18785
 
  echo "$as_me: failed program was:" >&5
18786
 
sed 's/^/| /' conftest.$ac_ext >&5
18787
 
 
18788
 
        ac_cv_lib_svld_dlopen=no
18789
 
fi
18790
 
 
18791
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18792
 
      conftest$ac_exeext conftest.$ac_ext
18793
 
LIBS=$ac_check_lib_save_LIBS
18794
 
fi
18795
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18796
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
18797
 
if test $ac_cv_lib_svld_dlopen = yes; then
18798
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
18799
 
else
18800
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18801
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
18802
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18803
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18804
 
else
18805
 
  ac_check_lib_save_LIBS=$LIBS
18806
 
LIBS="-ldld  $LIBS"
18807
 
cat >conftest.$ac_ext <<_ACEOF
18808
 
/* confdefs.h.  */
18809
 
_ACEOF
18810
 
cat confdefs.h >>conftest.$ac_ext
18811
 
cat >>conftest.$ac_ext <<_ACEOF
18812
 
/* end confdefs.h.  */
18813
 
 
18814
 
/* Override any GCC internal prototype to avoid an error.
18815
 
   Use char because int might match the return type of a GCC
18816
 
   builtin and then its argument prototype would still apply.  */
18817
 
#ifdef __cplusplus
18818
 
extern "C"
18819
 
#endif
18820
 
char dld_link ();
18821
 
int
18822
 
main ()
18823
 
{
18824
 
return dld_link ();
18825
 
  ;
18826
 
  return 0;
18827
 
}
18828
 
_ACEOF
18829
 
rm -f conftest.$ac_objext conftest$ac_exeext
18830
 
if { (ac_try="$ac_link"
18831
 
case "(($ac_try" in
18832
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18833
 
  *) ac_try_echo=$ac_try;;
18834
 
esac
18835
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18836
 
  (eval "$ac_link") 2>conftest.er1
18837
 
  ac_status=$?
18838
 
  grep -v '^ *+' conftest.er1 >conftest.err
18839
 
  rm -f conftest.er1
18840
 
  cat conftest.err >&5
18841
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18842
 
  (exit $ac_status); } && {
18843
 
         test -z "$ac_c_werror_flag" ||
18844
 
         test ! -s conftest.err
18845
 
       } && test -s conftest$ac_exeext &&
18846
 
       $as_test_x conftest$ac_exeext; then
18847
 
  ac_cv_lib_dld_dld_link=yes
18848
 
else
18849
 
  echo "$as_me: failed program was:" >&5
18850
 
sed 's/^/| /' conftest.$ac_ext >&5
18851
 
 
18852
 
        ac_cv_lib_dld_dld_link=no
18853
 
fi
18854
 
 
18855
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18856
 
      conftest$ac_exeext conftest.$ac_ext
18857
 
LIBS=$ac_check_lib_save_LIBS
18858
 
fi
18859
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18860
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
18861
 
if test $ac_cv_lib_dld_dld_link = yes; then
18862
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
18863
 
fi
18864
 
 
18865
 
              
18866
 
fi
18867
 
 
18868
 
            
18869
 
fi
18870
 
 
18871
 
          
18872
 
fi
18873
 
 
18874
 
        
18875
 
fi
18876
 
 
18877
 
      
18878
 
fi
18879
 
 
18880
 
    ;;
18881
 
  esac
18882
 
 
18883
 
  if test "x$lt_cv_dlopen" != xno; then
18884
 
    enable_dlopen=yes
18885
 
  else
18886
 
    enable_dlopen=no
18887
 
  fi
18888
 
 
18889
 
  case $lt_cv_dlopen in
18890
 
  dlopen)
18891
 
    save_CPPFLAGS="$CPPFLAGS"
18892
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
18893
 
 
18894
 
    save_LDFLAGS="$LDFLAGS"
18895
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
18896
 
 
18897
 
    save_LIBS="$LIBS"
18898
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
18899
 
 
18900
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18901
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
18902
 
if test "${lt_cv_dlopen_self+set}" = set; then
18903
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18904
 
else
18905
 
          if test "$cross_compiling" = yes; then :
18906
 
  lt_cv_dlopen_self=cross
18907
 
else
18908
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18909
 
  lt_status=$lt_dlunknown
18910
 
  cat > conftest.$ac_ext <<EOF
18911
 
#line __oline__ "configure"
18912
 
#include "confdefs.h"
18913
 
 
18914
 
#if HAVE_DLFCN_H
18915
 
#include <dlfcn.h>
18916
 
#endif
18917
 
 
18918
 
#include <stdio.h>
18919
 
 
18920
 
#ifdef RTLD_GLOBAL
18921
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
18922
 
#else
18923
 
#  ifdef DL_GLOBAL
18924
 
#    define LT_DLGLOBAL         DL_GLOBAL
18925
 
#  else
18926
 
#    define LT_DLGLOBAL         0
18927
 
#  endif
18928
 
#endif
18929
 
 
18930
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18931
 
   find out it does not work in some platform. */
18932
 
#ifndef LT_DLLAZY_OR_NOW
18933
 
#  ifdef RTLD_LAZY
18934
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
18935
 
#  else
18936
 
#    ifdef DL_LAZY
18937
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
18938
 
#    else
18939
 
#      ifdef RTLD_NOW
18940
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
18941
 
#      else
18942
 
#        ifdef DL_NOW
18943
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
18944
 
#        else
18945
 
#          define LT_DLLAZY_OR_NOW      0
18946
 
#        endif
18947
 
#      endif
18948
 
#    endif
18949
 
#  endif
18950
 
#endif
18951
 
 
18952
 
#ifdef __cplusplus
18953
 
extern "C" void exit (int);
18954
 
#endif
18955
 
 
18956
 
void fnord() { int i=42;}
18957
 
int main ()
18958
 
{
18959
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18960
 
  int status = $lt_dlunknown;
18961
 
 
18962
 
  if (self)
18963
 
    {
18964
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
18965
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18966
 
      /* dlclose (self); */
18967
 
    }
18968
 
 
18969
 
    exit (status);
18970
 
}
18971
 
EOF
18972
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18973
 
  (eval $ac_link) 2>&5
18974
 
  ac_status=$?
18975
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18976
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18977
 
    (./conftest; exit; ) 2>/dev/null
18978
 
    lt_status=$?
18979
 
    case x$lt_status in
18980
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
18981
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
18982
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
18983
 
    esac
18984
 
  else :
18985
 
    # compilation failed
18986
 
    lt_cv_dlopen_self=no
18987
 
  fi
18988
 
fi
18989
 
rm -fr conftest*
18990
 
 
18991
 
    
18992
 
fi
18993
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18994
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
18995
 
 
18996
 
    if test "x$lt_cv_dlopen_self" = xyes; then
18997
 
      LDFLAGS="$LDFLAGS $link_static_flag"
18998
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18999
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
19000
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
19001
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19002
 
else
19003
 
          if test "$cross_compiling" = yes; then :
19004
 
  lt_cv_dlopen_self_static=cross
19005
 
else
19006
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19007
 
  lt_status=$lt_dlunknown
19008
 
  cat > conftest.$ac_ext <<EOF
19009
 
#line __oline__ "configure"
19010
 
#include "confdefs.h"
19011
 
 
19012
 
#if HAVE_DLFCN_H
19013
 
#include <dlfcn.h>
19014
 
#endif
19015
 
 
19016
 
#include <stdio.h>
19017
 
 
19018
 
#ifdef RTLD_GLOBAL
19019
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
19020
 
#else
19021
 
#  ifdef DL_GLOBAL
19022
 
#    define LT_DLGLOBAL         DL_GLOBAL
19023
 
#  else
19024
 
#    define LT_DLGLOBAL         0
19025
 
#  endif
19026
 
#endif
19027
 
 
19028
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19029
 
   find out it does not work in some platform. */
19030
 
#ifndef LT_DLLAZY_OR_NOW
19031
 
#  ifdef RTLD_LAZY
19032
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
19033
 
#  else
19034
 
#    ifdef DL_LAZY
19035
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
19036
 
#    else
19037
 
#      ifdef RTLD_NOW
19038
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
19039
 
#      else
19040
 
#        ifdef DL_NOW
19041
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
19042
 
#        else
19043
 
#          define LT_DLLAZY_OR_NOW      0
19044
 
#        endif
19045
 
#      endif
19046
 
#    endif
19047
 
#  endif
19048
 
#endif
19049
 
 
19050
 
#ifdef __cplusplus
19051
 
extern "C" void exit (int);
19052
 
#endif
19053
 
 
19054
 
void fnord() { int i=42;}
19055
 
int main ()
19056
 
{
19057
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19058
 
  int status = $lt_dlunknown;
19059
 
 
19060
 
  if (self)
19061
 
    {
19062
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
19063
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19064
 
      /* dlclose (self); */
19065
 
    }
19066
 
 
19067
 
    exit (status);
19068
 
}
19069
 
EOF
19070
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19071
 
  (eval $ac_link) 2>&5
19072
 
  ac_status=$?
19073
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19074
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19075
 
    (./conftest; exit; ) 2>/dev/null
19076
 
    lt_status=$?
19077
 
    case x$lt_status in
19078
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
19079
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
19080
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
19081
 
    esac
19082
 
  else :
19083
 
    # compilation failed
19084
 
    lt_cv_dlopen_self_static=no
19085
 
  fi
19086
 
fi
19087
 
rm -fr conftest*
19088
 
 
19089
 
      
19090
 
fi
19091
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
19092
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
19093
 
    fi
19094
 
 
19095
 
    CPPFLAGS="$save_CPPFLAGS"
19096
 
    LDFLAGS="$save_LDFLAGS"
19097
 
    LIBS="$save_LIBS"
19098
 
    ;;
19099
 
  esac
19100
 
 
19101
 
  case $lt_cv_dlopen_self in
19102
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
19103
 
  *) enable_dlopen_self=unknown ;;
19104
 
  esac
19105
 
 
19106
 
  case $lt_cv_dlopen_self_static in
19107
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
19108
 
  *) enable_dlopen_self_static=unknown ;;
19109
 
  esac
19110
 
fi
19111
 
 
19112
 
 
19113
 
# The else clause should only fire when bootstrapping the
19114
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
19115
 
# with your package, and you will get complaints that there are
19116
 
# no rules to generate ltmain.sh.
19117
 
if test -f "$ltmain"; then
19118
 
  # See if we are running on zsh, and set the options which allow our commands through
19119
 
  # without removal of \ escapes.
19120
 
  if test -n "${ZSH_VERSION+set}" ; then
19121
 
    setopt NO_GLOB_SUBST
19122
 
  fi
19123
 
  # Now quote all the things that may contain metacharacters while being
19124
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19125
 
  # variables and quote the copies for generation of the libtool script.
19126
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
19127
 
    SED SHELL STRIP \
19128
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19129
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19130
 
    deplibs_check_method reload_flag reload_cmds need_locks \
19131
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19132
 
    lt_cv_sys_global_symbol_to_c_name_address \
19133
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19134
 
    old_postinstall_cmds old_postuninstall_cmds \
19135
 
    compiler_GCJ \
19136
 
    CC_GCJ \
19137
 
    LD_GCJ \
19138
 
    lt_prog_compiler_wl_GCJ \
19139
 
    lt_prog_compiler_pic_GCJ \
19140
 
    lt_prog_compiler_static_GCJ \
19141
 
    lt_prog_compiler_no_builtin_flag_GCJ \
19142
 
    export_dynamic_flag_spec_GCJ \
19143
 
    thread_safe_flag_spec_GCJ \
19144
 
    whole_archive_flag_spec_GCJ \
19145
 
    enable_shared_with_static_runtimes_GCJ \
19146
 
    old_archive_cmds_GCJ \
19147
 
    old_archive_from_new_cmds_GCJ \
19148
 
    predep_objects_GCJ \
19149
 
    postdep_objects_GCJ \
19150
 
    predeps_GCJ \
19151
 
    postdeps_GCJ \
19152
 
    compiler_lib_search_path_GCJ \
19153
 
    archive_cmds_GCJ \
19154
 
    archive_expsym_cmds_GCJ \
19155
 
    postinstall_cmds_GCJ \
19156
 
    postuninstall_cmds_GCJ \
19157
 
    old_archive_from_expsyms_cmds_GCJ \
19158
 
    allow_undefined_flag_GCJ \
19159
 
    no_undefined_flag_GCJ \
19160
 
    export_symbols_cmds_GCJ \
19161
 
    hardcode_libdir_flag_spec_GCJ \
19162
 
    hardcode_libdir_flag_spec_ld_GCJ \
19163
 
    hardcode_libdir_separator_GCJ \
19164
 
    hardcode_automatic_GCJ \
19165
 
    module_cmds_GCJ \
19166
 
    module_expsym_cmds_GCJ \
19167
 
    lt_cv_prog_compiler_c_o_GCJ \
19168
 
    exclude_expsyms_GCJ \
19169
 
    include_expsyms_GCJ; do
19170
 
 
19171
 
    case $var in
19172
 
    old_archive_cmds_GCJ | \
19173
 
    old_archive_from_new_cmds_GCJ | \
19174
 
    archive_cmds_GCJ | \
19175
 
    archive_expsym_cmds_GCJ | \
19176
 
    module_cmds_GCJ | \
19177
 
    module_expsym_cmds_GCJ | \
19178
 
    old_archive_from_expsyms_cmds_GCJ | \
19179
 
    export_symbols_cmds_GCJ | \
19180
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19181
 
    postinstall_cmds | postuninstall_cmds | \
19182
 
    old_postinstall_cmds | old_postuninstall_cmds | \
19183
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19184
 
      # Double-quote double-evaled strings.
19185
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19186
 
      ;;
19187
 
    *)
19188
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19189
 
      ;;
19190
 
    esac
19191
 
  done
19192
 
 
19193
 
  case $lt_echo in
19194
 
  *'\$0 --fallback-echo"')
19195
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19196
 
    ;;
19197
 
  esac
19198
 
 
19199
 
cfgfile="$ofile"
19200
 
 
19201
 
  cat <<__EOF__ >> "$cfgfile"
19202
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19203
 
 
19204
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19205
 
 
19206
 
# Shell to use when invoking shell scripts.
19207
 
SHELL=$lt_SHELL
19208
 
 
19209
 
# Whether or not to build shared libraries.
19210
 
build_libtool_libs=$enable_shared
19211
 
 
19212
 
# Whether or not to build static libraries.
19213
 
build_old_libs=$enable_static
19214
 
 
19215
 
# Whether or not to add -lc for building shared libraries.
19216
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19217
 
 
19218
 
# Whether or not to disallow shared libs when runtime libs are static
19219
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19220
 
 
19221
 
# Whether or not to optimize for fast installation.
19222
 
fast_install=$enable_fast_install
19223
 
 
19224
 
# The host system.
19225
 
host_alias=$host_alias
19226
 
host=$host
19227
 
 
19228
 
# An echo program that does not interpret backslashes.
19229
 
echo=$lt_echo
19230
 
 
19231
 
# The archiver.
19232
 
AR=$lt_AR
19233
 
AR_FLAGS=$lt_AR_FLAGS
19234
 
 
19235
 
# A C compiler.
19236
 
LTCC=$lt_LTCC
19237
 
 
19238
 
# A language-specific compiler.
19239
 
CC=$lt_compiler_GCJ
19240
 
 
19241
 
# Is the compiler the GNU C compiler?
19242
 
with_gcc=$GCC_GCJ
19243
 
 
19244
 
# An ERE matcher.
19245
 
EGREP=$lt_EGREP
19246
 
 
19247
 
# The linker used to build libraries.
19248
 
LD=$lt_LD_GCJ
19249
 
 
19250
 
# Whether we need hard or soft links.
19251
 
LN_S=$lt_LN_S
19252
 
 
19253
 
# A BSD-compatible nm program.
19254
 
NM=$lt_NM
19255
 
 
19256
 
# A symbol stripping program
19257
 
STRIP=$lt_STRIP
19258
 
 
19259
 
# Used to examine libraries when file_magic_cmd begins "file"
19260
 
MAGIC_CMD=$MAGIC_CMD
19261
 
 
19262
 
# Used on cygwin: DLL creation program.
19263
 
DLLTOOL="$DLLTOOL"
19264
 
 
19265
 
# Used on cygwin: object dumper.
19266
 
OBJDUMP="$OBJDUMP"
19267
 
 
19268
 
# Used on cygwin: assembler.
19269
 
AS="$AS"
19270
 
 
19271
 
# The name of the directory that contains temporary libtool files.
19272
 
objdir=$objdir
19273
 
 
19274
 
# How to create reloadable object files.
19275
 
reload_flag=$lt_reload_flag
19276
 
reload_cmds=$lt_reload_cmds
19277
 
 
19278
 
# How to pass a linker flag through the compiler.
19279
 
wl=$lt_lt_prog_compiler_wl_GCJ
19280
 
 
19281
 
# Object file suffix (normally "o").
19282
 
objext="$ac_objext"
19283
 
 
19284
 
# Old archive suffix (normally "a").
19285
 
libext="$libext"
19286
 
 
19287
 
# Shared library suffix (normally ".so").
19288
 
shrext_cmds='$shrext_cmds'
19289
 
 
19290
 
# Executable file suffix (normally "").
19291
 
exeext="$exeext"
19292
 
 
19293
 
# Additional compiler flags for building library objects.
19294
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
19295
 
pic_mode=$pic_mode
19296
 
 
19297
 
# What is the maximum length of a command?
19298
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19299
 
 
19300
 
# Does compiler simultaneously support -c and -o options?
19301
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19302
 
 
19303
 
# Must we lock files when doing compilation ?
19304
 
need_locks=$lt_need_locks
19305
 
 
19306
 
# Do we need the lib prefix for modules?
19307
 
need_lib_prefix=$need_lib_prefix
19308
 
 
19309
 
# Do we need a version for libraries?
19310
 
need_version=$need_version
19311
 
 
19312
 
# Whether dlopen is supported.
19313
 
dlopen_support=$enable_dlopen
19314
 
 
19315
 
# Whether dlopen of programs is supported.
19316
 
dlopen_self=$enable_dlopen_self
19317
 
 
19318
 
# Whether dlopen of statically linked programs is supported.
19319
 
dlopen_self_static=$enable_dlopen_self_static
19320
 
 
19321
 
# Compiler flag to prevent dynamic linking.
19322
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
19323
 
 
19324
 
# Compiler flag to turn off builtin functions.
19325
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19326
 
 
19327
 
# Compiler flag to allow reflexive dlopens.
19328
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19329
 
 
19330
 
# Compiler flag to generate shared objects directly from archives.
19331
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19332
 
 
19333
 
# Compiler flag to generate thread-safe objects.
19334
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19335
 
 
19336
 
# Library versioning type.
19337
 
version_type=$version_type
19338
 
 
19339
 
# Format of library name prefix.
19340
 
libname_spec=$lt_libname_spec
19341
 
 
19342
 
# List of archive names.  First name is the real one, the rest are links.
19343
 
# The last name is the one that the linker finds with -lNAME.
19344
 
library_names_spec=$lt_library_names_spec
19345
 
 
19346
 
# The coded name of the library, if different from the real name.
19347
 
soname_spec=$lt_soname_spec
19348
 
 
19349
 
# Commands used to build and install an old-style archive.
19350
 
RANLIB=$lt_RANLIB
19351
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
19352
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19353
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19354
 
 
19355
 
# Create an old-style archive from a shared archive.
19356
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19357
 
 
19358
 
# Create a temporary old-style archive to link instead of a shared archive.
19359
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19360
 
 
19361
 
# Commands used to build and install a shared archive.
19362
 
archive_cmds=$lt_archive_cmds_GCJ
19363
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19364
 
postinstall_cmds=$lt_postinstall_cmds
19365
 
postuninstall_cmds=$lt_postuninstall_cmds
19366
 
 
19367
 
# Commands used to build a loadable module (assumed same as above if empty)
19368
 
module_cmds=$lt_module_cmds_GCJ
19369
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19370
 
 
19371
 
# Commands to strip libraries.
19372
 
old_striplib=$lt_old_striplib
19373
 
striplib=$lt_striplib
19374
 
 
19375
 
# Dependencies to place before the objects being linked to create a
19376
 
# shared library.
19377
 
predep_objects=$lt_predep_objects_GCJ
19378
 
 
19379
 
# Dependencies to place after the objects being linked to create a
19380
 
# shared library.
19381
 
postdep_objects=$lt_postdep_objects_GCJ
19382
 
 
19383
 
# Dependencies to place before the objects being linked to create a
19384
 
# shared library.
19385
 
predeps=$lt_predeps_GCJ
19386
 
 
19387
 
# Dependencies to place after the objects being linked to create a
19388
 
# shared library.
19389
 
postdeps=$lt_postdeps_GCJ
19390
 
 
19391
 
# The library search path used internally by the compiler when linking
19392
 
# a shared library.
19393
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19394
 
 
19395
 
# Method to check whether dependent libraries are shared objects.
19396
 
deplibs_check_method=$lt_deplibs_check_method
19397
 
 
19398
 
# Command to use when deplibs_check_method == file_magic.
19399
 
file_magic_cmd=$lt_file_magic_cmd
19400
 
 
19401
 
# Flag that allows shared libraries with undefined symbols to be built.
19402
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19403
 
 
19404
 
# Flag that forces no undefined symbols.
19405
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
19406
 
 
19407
 
# Commands used to finish a libtool library installation in a directory.
19408
 
finish_cmds=$lt_finish_cmds
19409
 
 
19410
 
# Same as above, but a single script fragment to be evaled but not shown.
19411
 
finish_eval=$lt_finish_eval
19412
 
 
19413
 
# Take the output of nm and produce a listing of raw symbols and C names.
19414
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19415
 
 
19416
 
# Transform the output of nm in a proper C declaration
19417
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19418
 
 
19419
 
# Transform the output of nm in a C name address pair
19420
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19421
 
 
19422
 
# This is the shared library runtime path variable.
19423
 
runpath_var=$runpath_var
19424
 
 
19425
 
# This is the shared library path variable.
19426
 
shlibpath_var=$shlibpath_var
19427
 
 
19428
 
# Is shlibpath searched before the hard-coded library search path?
19429
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19430
 
 
19431
 
# How to hardcode a shared library path into an executable.
19432
 
hardcode_action=$hardcode_action_GCJ
19433
 
 
19434
 
# Whether we should hardcode library paths into libraries.
19435
 
hardcode_into_libs=$hardcode_into_libs
19436
 
 
19437
 
# Flag to hardcode \$libdir into a binary during linking.
19438
 
# This must work even if \$libdir does not exist.
19439
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19440
 
 
19441
 
# If ld is used when linking, flag to hardcode \$libdir into
19442
 
# a binary during linking. This must work even if \$libdir does
19443
 
# not exist.
19444
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19445
 
 
19446
 
# Whether we need a single -rpath flag with a separated argument.
19447
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19448
 
 
19449
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19450
 
# resulting binary.
19451
 
hardcode_direct=$hardcode_direct_GCJ
19452
 
 
19453
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19454
 
# resulting binary.
19455
 
hardcode_minus_L=$hardcode_minus_L_GCJ
19456
 
 
19457
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19458
 
# the resulting binary.
19459
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19460
 
 
19461
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19462
 
# and all subsequent libraries and executables linked against it.
19463
 
hardcode_automatic=$hardcode_automatic_GCJ
19464
 
 
19465
 
# Variables whose values should be saved in libtool wrapper scripts and
19466
 
# restored at relink time.
19467
 
variables_saved_for_relink="$variables_saved_for_relink"
19468
 
 
19469
 
# Whether libtool must link a program against all its dependency libraries.
19470
 
link_all_deplibs=$link_all_deplibs_GCJ
19471
 
 
19472
 
# Compile-time system search path for libraries
19473
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19474
 
 
19475
 
# Run-time system search path for libraries
19476
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19477
 
 
19478
 
# Fix the shell variable \$srcfile for the compiler.
19479
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
19480
 
 
19481
 
# Set to yes if exported symbols are required.
19482
 
always_export_symbols=$always_export_symbols_GCJ
19483
 
 
19484
 
# The commands to list exported symbols.
19485
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19486
 
 
19487
 
# The commands to extract the exported symbol list from a shared archive.
19488
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19489
 
 
19490
 
# Symbols that should not be listed in the preloaded symbols.
19491
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
19492
 
 
19493
 
# Symbols that must always be exported.
19494
 
include_expsyms=$lt_include_expsyms_GCJ
19495
 
 
19496
 
# ### END LIBTOOL TAG CONFIG: $tagname
19497
 
 
19498
 
__EOF__
19499
 
 
19500
 
 
19501
 
else
19502
 
  # If there is no Makefile yet, we rely on a make rule to execute
19503
 
  # `config.status --recheck' to rerun these tests and create the
19504
 
  # libtool script then.
19505
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19506
 
  if test -f "$ltmain_in"; then
19507
 
    test -f Makefile && make "$ltmain"
19508
 
  fi
19509
 
fi
19510
 
 
19511
 
 
19512
 
ac_ext=c
19513
 
ac_cpp='$CPP $CPPFLAGS'
19514
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19515
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19516
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19517
 
 
19518
 
CC="$lt_save_CC"
19519
 
 
19520
 
        else
19521
 
          tagname=""
19522
 
        fi
19523
 
        ;;
19524
 
 
19525
 
      RC)
19526
 
        
19527
 
 
19528
 
# Source file extension for RC test sources.
19529
 
ac_ext=rc
19530
 
 
19531
 
# Object file extension for compiled RC test sources.
19532
 
objext=o
19533
 
objext_RC=$objext
19534
 
 
19535
 
# Code to be used in simple compile tests
19536
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
19537
 
 
19538
 
# Code to be used in simple link tests
19539
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
19540
 
 
19541
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19542
 
 
19543
 
# If no C compiler was specified, use CC.
19544
 
LTCC=${LTCC-"$CC"}
19545
 
 
19546
 
# Allow CC to be a program name with arguments.
19547
 
compiler=$CC
19548
 
 
19549
 
 
19550
 
# Allow CC to be a program name with arguments.
19551
 
lt_save_CC="$CC"
19552
 
CC=${RC-"windres"}
19553
 
compiler=$CC
19554
 
compiler_RC=$CC
19555
 
lt_cv_prog_compiler_c_o_RC=yes
19556
 
 
19557
 
# The else clause should only fire when bootstrapping the
19558
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
19559
 
# with your package, and you will get complaints that there are
19560
 
# no rules to generate ltmain.sh.
19561
 
if test -f "$ltmain"; then
19562
 
  # See if we are running on zsh, and set the options which allow our commands through
19563
 
  # without removal of \ escapes.
19564
 
  if test -n "${ZSH_VERSION+set}" ; then
19565
 
    setopt NO_GLOB_SUBST
19566
 
  fi
19567
 
  # Now quote all the things that may contain metacharacters while being
19568
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19569
 
  # variables and quote the copies for generation of the libtool script.
19570
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
19571
 
    SED SHELL STRIP \
19572
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19573
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19574
 
    deplibs_check_method reload_flag reload_cmds need_locks \
19575
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19576
 
    lt_cv_sys_global_symbol_to_c_name_address \
19577
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19578
 
    old_postinstall_cmds old_postuninstall_cmds \
19579
 
    compiler_RC \
19580
 
    CC_RC \
19581
 
    LD_RC \
19582
 
    lt_prog_compiler_wl_RC \
19583
 
    lt_prog_compiler_pic_RC \
19584
 
    lt_prog_compiler_static_RC \
19585
 
    lt_prog_compiler_no_builtin_flag_RC \
19586
 
    export_dynamic_flag_spec_RC \
19587
 
    thread_safe_flag_spec_RC \
19588
 
    whole_archive_flag_spec_RC \
19589
 
    enable_shared_with_static_runtimes_RC \
19590
 
    old_archive_cmds_RC \
19591
 
    old_archive_from_new_cmds_RC \
19592
 
    predep_objects_RC \
19593
 
    postdep_objects_RC \
19594
 
    predeps_RC \
19595
 
    postdeps_RC \
19596
 
    compiler_lib_search_path_RC \
19597
 
    archive_cmds_RC \
19598
 
    archive_expsym_cmds_RC \
19599
 
    postinstall_cmds_RC \
19600
 
    postuninstall_cmds_RC \
19601
 
    old_archive_from_expsyms_cmds_RC \
19602
 
    allow_undefined_flag_RC \
19603
 
    no_undefined_flag_RC \
19604
 
    export_symbols_cmds_RC \
19605
 
    hardcode_libdir_flag_spec_RC \
19606
 
    hardcode_libdir_flag_spec_ld_RC \
19607
 
    hardcode_libdir_separator_RC \
19608
 
    hardcode_automatic_RC \
19609
 
    module_cmds_RC \
19610
 
    module_expsym_cmds_RC \
19611
 
    lt_cv_prog_compiler_c_o_RC \
19612
 
    exclude_expsyms_RC \
19613
 
    include_expsyms_RC; do
19614
 
 
19615
 
    case $var in
19616
 
    old_archive_cmds_RC | \
19617
 
    old_archive_from_new_cmds_RC | \
19618
 
    archive_cmds_RC | \
19619
 
    archive_expsym_cmds_RC | \
19620
 
    module_cmds_RC | \
19621
 
    module_expsym_cmds_RC | \
19622
 
    old_archive_from_expsyms_cmds_RC | \
19623
 
    export_symbols_cmds_RC | \
19624
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19625
 
    postinstall_cmds | postuninstall_cmds | \
19626
 
    old_postinstall_cmds | old_postuninstall_cmds | \
19627
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19628
 
      # Double-quote double-evaled strings.
19629
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19630
 
      ;;
19631
 
    *)
19632
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19633
 
      ;;
19634
 
    esac
19635
 
  done
19636
 
 
19637
 
  case $lt_echo in
19638
 
  *'\$0 --fallback-echo"')
19639
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19640
 
    ;;
19641
 
  esac
19642
 
 
19643
 
cfgfile="$ofile"
19644
 
 
19645
 
  cat <<__EOF__ >> "$cfgfile"
19646
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19647
 
 
19648
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19649
 
 
19650
 
# Shell to use when invoking shell scripts.
19651
 
SHELL=$lt_SHELL
19652
 
 
19653
 
# Whether or not to build shared libraries.
19654
 
build_libtool_libs=$enable_shared
19655
 
 
19656
 
# Whether or not to build static libraries.
19657
 
build_old_libs=$enable_static
19658
 
 
19659
 
# Whether or not to add -lc for building shared libraries.
19660
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
19661
 
 
19662
 
# Whether or not to disallow shared libs when runtime libs are static
19663
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19664
 
 
19665
 
# Whether or not to optimize for fast installation.
19666
 
fast_install=$enable_fast_install
19667
 
 
19668
 
# The host system.
19669
 
host_alias=$host_alias
19670
 
host=$host
19671
 
 
19672
 
# An echo program that does not interpret backslashes.
19673
 
echo=$lt_echo
19674
 
 
19675
 
# The archiver.
19676
 
AR=$lt_AR
19677
 
AR_FLAGS=$lt_AR_FLAGS
19678
 
 
19679
 
# A C compiler.
19680
 
LTCC=$lt_LTCC
19681
 
 
19682
 
# A language-specific compiler.
19683
 
CC=$lt_compiler_RC
19684
 
 
19685
 
# Is the compiler the GNU C compiler?
19686
 
with_gcc=$GCC_RC
19687
 
 
19688
 
# An ERE matcher.
19689
 
EGREP=$lt_EGREP
19690
 
 
19691
 
# The linker used to build libraries.
19692
 
LD=$lt_LD_RC
19693
 
 
19694
 
# Whether we need hard or soft links.
19695
 
LN_S=$lt_LN_S
19696
 
 
19697
 
# A BSD-compatible nm program.
19698
 
NM=$lt_NM
19699
 
 
19700
 
# A symbol stripping program
19701
 
STRIP=$lt_STRIP
19702
 
 
19703
 
# Used to examine libraries when file_magic_cmd begins "file"
19704
 
MAGIC_CMD=$MAGIC_CMD
19705
 
 
19706
 
# Used on cygwin: DLL creation program.
19707
 
DLLTOOL="$DLLTOOL"
19708
 
 
19709
 
# Used on cygwin: object dumper.
19710
 
OBJDUMP="$OBJDUMP"
19711
 
 
19712
 
# Used on cygwin: assembler.
19713
 
AS="$AS"
19714
 
 
19715
 
# The name of the directory that contains temporary libtool files.
19716
 
objdir=$objdir
19717
 
 
19718
 
# How to create reloadable object files.
19719
 
reload_flag=$lt_reload_flag
19720
 
reload_cmds=$lt_reload_cmds
19721
 
 
19722
 
# How to pass a linker flag through the compiler.
19723
 
wl=$lt_lt_prog_compiler_wl_RC
19724
 
 
19725
 
# Object file suffix (normally "o").
19726
 
objext="$ac_objext"
19727
 
 
19728
 
# Old archive suffix (normally "a").
19729
 
libext="$libext"
19730
 
 
19731
 
# Shared library suffix (normally ".so").
19732
 
shrext_cmds='$shrext_cmds'
19733
 
 
19734
 
# Executable file suffix (normally "").
19735
 
exeext="$exeext"
19736
 
 
19737
 
# Additional compiler flags for building library objects.
19738
 
pic_flag=$lt_lt_prog_compiler_pic_RC
19739
 
pic_mode=$pic_mode
19740
 
 
19741
 
# What is the maximum length of a command?
19742
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19743
 
 
19744
 
# Does compiler simultaneously support -c and -o options?
19745
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19746
 
 
19747
 
# Must we lock files when doing compilation ?
19748
 
need_locks=$lt_need_locks
19749
 
 
19750
 
# Do we need the lib prefix for modules?
19751
 
need_lib_prefix=$need_lib_prefix
19752
 
 
19753
 
# Do we need a version for libraries?
19754
 
need_version=$need_version
19755
 
 
19756
 
# Whether dlopen is supported.
19757
 
dlopen_support=$enable_dlopen
19758
 
 
19759
 
# Whether dlopen of programs is supported.
19760
 
dlopen_self=$enable_dlopen_self
19761
 
 
19762
 
# Whether dlopen of statically linked programs is supported.
19763
 
dlopen_self_static=$enable_dlopen_self_static
19764
 
 
19765
 
# Compiler flag to prevent dynamic linking.
19766
 
link_static_flag=$lt_lt_prog_compiler_static_RC
19767
 
 
19768
 
# Compiler flag to turn off builtin functions.
19769
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19770
 
 
19771
 
# Compiler flag to allow reflexive dlopens.
19772
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19773
 
 
19774
 
# Compiler flag to generate shared objects directly from archives.
19775
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19776
 
 
19777
 
# Compiler flag to generate thread-safe objects.
19778
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19779
 
 
19780
 
# Library versioning type.
19781
 
version_type=$version_type
19782
 
 
19783
 
# Format of library name prefix.
19784
 
libname_spec=$lt_libname_spec
19785
 
 
19786
 
# List of archive names.  First name is the real one, the rest are links.
19787
 
# The last name is the one that the linker finds with -lNAME.
19788
 
library_names_spec=$lt_library_names_spec
19789
 
 
19790
 
# The coded name of the library, if different from the real name.
19791
 
soname_spec=$lt_soname_spec
19792
 
 
19793
 
# Commands used to build and install an old-style archive.
19794
 
RANLIB=$lt_RANLIB
19795
 
old_archive_cmds=$lt_old_archive_cmds_RC
19796
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19797
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19798
 
 
19799
 
# Create an old-style archive from a shared archive.
19800
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19801
 
 
19802
 
# Create a temporary old-style archive to link instead of a shared archive.
19803
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19804
 
 
19805
 
# Commands used to build and install a shared archive.
19806
 
archive_cmds=$lt_archive_cmds_RC
19807
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19808
 
postinstall_cmds=$lt_postinstall_cmds
19809
 
postuninstall_cmds=$lt_postuninstall_cmds
19810
 
 
19811
 
# Commands used to build a loadable module (assumed same as above if empty)
19812
 
module_cmds=$lt_module_cmds_RC
19813
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
19814
 
 
19815
 
# Commands to strip libraries.
19816
 
old_striplib=$lt_old_striplib
19817
 
striplib=$lt_striplib
19818
 
 
19819
 
# Dependencies to place before the objects being linked to create a
19820
 
# shared library.
19821
 
predep_objects=$lt_predep_objects_RC
19822
 
 
19823
 
# Dependencies to place after the objects being linked to create a
19824
 
# shared library.
19825
 
postdep_objects=$lt_postdep_objects_RC
19826
 
 
19827
 
# Dependencies to place before the objects being linked to create a
19828
 
# shared library.
19829
 
predeps=$lt_predeps_RC
19830
 
 
19831
 
# Dependencies to place after the objects being linked to create a
19832
 
# shared library.
19833
 
postdeps=$lt_postdeps_RC
19834
 
 
19835
 
# The library search path used internally by the compiler when linking
19836
 
# a shared library.
19837
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19838
 
 
19839
 
# Method to check whether dependent libraries are shared objects.
19840
 
deplibs_check_method=$lt_deplibs_check_method
19841
 
 
19842
 
# Command to use when deplibs_check_method == file_magic.
19843
 
file_magic_cmd=$lt_file_magic_cmd
19844
 
 
19845
 
# Flag that allows shared libraries with undefined symbols to be built.
19846
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
19847
 
 
19848
 
# Flag that forces no undefined symbols.
19849
 
no_undefined_flag=$lt_no_undefined_flag_RC
19850
 
 
19851
 
# Commands used to finish a libtool library installation in a directory.
19852
 
finish_cmds=$lt_finish_cmds
19853
 
 
19854
 
# Same as above, but a single script fragment to be evaled but not shown.
19855
 
finish_eval=$lt_finish_eval
19856
 
 
19857
 
# Take the output of nm and produce a listing of raw symbols and C names.
19858
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19859
 
 
19860
 
# Transform the output of nm in a proper C declaration
19861
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19862
 
 
19863
 
# Transform the output of nm in a C name address pair
19864
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19865
 
 
19866
 
# This is the shared library runtime path variable.
19867
 
runpath_var=$runpath_var
19868
 
 
19869
 
# This is the shared library path variable.
19870
 
shlibpath_var=$shlibpath_var
19871
 
 
19872
 
# Is shlibpath searched before the hard-coded library search path?
19873
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19874
 
 
19875
 
# How to hardcode a shared library path into an executable.
19876
 
hardcode_action=$hardcode_action_RC
19877
 
 
19878
 
# Whether we should hardcode library paths into libraries.
19879
 
hardcode_into_libs=$hardcode_into_libs
19880
 
 
19881
 
# Flag to hardcode \$libdir into a binary during linking.
19882
 
# This must work even if \$libdir does not exist.
19883
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19884
 
 
19885
 
# If ld is used when linking, flag to hardcode \$libdir into
19886
 
# a binary during linking. This must work even if \$libdir does
19887
 
# not exist.
19888
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19889
 
 
19890
 
# Whether we need a single -rpath flag with a separated argument.
19891
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19892
 
 
19893
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19894
 
# resulting binary.
19895
 
hardcode_direct=$hardcode_direct_RC
19896
 
 
19897
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19898
 
# resulting binary.
19899
 
hardcode_minus_L=$hardcode_minus_L_RC
19900
 
 
19901
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19902
 
# the resulting binary.
19903
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19904
 
 
19905
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19906
 
# and all subsequent libraries and executables linked against it.
19907
 
hardcode_automatic=$hardcode_automatic_RC
19908
 
 
19909
 
# Variables whose values should be saved in libtool wrapper scripts and
19910
 
# restored at relink time.
19911
 
variables_saved_for_relink="$variables_saved_for_relink"
19912
 
 
19913
 
# Whether libtool must link a program against all its dependency libraries.
19914
 
link_all_deplibs=$link_all_deplibs_RC
19915
 
 
19916
 
# Compile-time system search path for libraries
19917
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19918
 
 
19919
 
# Run-time system search path for libraries
19920
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19921
 
 
19922
 
# Fix the shell variable \$srcfile for the compiler.
19923
 
fix_srcfile_path="$fix_srcfile_path_RC"
19924
 
 
19925
 
# Set to yes if exported symbols are required.
19926
 
always_export_symbols=$always_export_symbols_RC
19927
 
 
19928
 
# The commands to list exported symbols.
19929
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
19930
 
 
19931
 
# The commands to extract the exported symbol list from a shared archive.
19932
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19933
 
 
19934
 
# Symbols that should not be listed in the preloaded symbols.
19935
 
exclude_expsyms=$lt_exclude_expsyms_RC
19936
 
 
19937
 
# Symbols that must always be exported.
19938
 
include_expsyms=$lt_include_expsyms_RC
19939
 
 
19940
 
# ### END LIBTOOL TAG CONFIG: $tagname
19941
 
 
19942
 
__EOF__
19943
 
 
19944
 
 
19945
 
else
19946
 
  # If there is no Makefile yet, we rely on a make rule to execute
19947
 
  # `config.status --recheck' to rerun these tests and create the
19948
 
  # libtool script then.
19949
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19950
 
  if test -f "$ltmain_in"; then
19951
 
    test -f Makefile && make "$ltmain"
19952
 
  fi
19953
 
fi
19954
 
 
19955
 
 
19956
 
ac_ext=c
19957
 
ac_cpp='$CPP $CPPFLAGS'
19958
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19959
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19960
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19961
 
 
19962
 
CC="$lt_save_CC"
19963
 
 
19964
 
        ;;
19965
 
 
19966
 
      *)
19967
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19968
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19969
 
   { (exit 1); exit 1; }; }
19970
 
        ;;
19971
 
      esac
19972
 
 
19973
 
      # Append the new tag name to the list of available tags.
19974
 
      if test -n "$tagname" ; then
19975
 
      available_tags="$available_tags $tagname"
19976
 
    fi
19977
 
    fi
19978
 
  done
19979
 
  IFS="$lt_save_ifs"
19980
 
 
19981
 
  # Now substitute the updated list of available tags.
19982
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19983
 
    mv "${ofile}T" "$ofile"
19984
 
    chmod +x "$ofile"
19985
 
  else
19986
 
    rm -f "${ofile}T"
19987
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19988
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19989
 
   { (exit 1); exit 1; }; }
19990
 
  fi
19991
 
fi
19992
 
 
19993
 
 
19994
 
 
19995
 
# This can be used to rebuild libtool when needed
19996
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
19997
 
 
19998
 
# Always use our own libtool.
19999
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
20000
 
 
20001
 
# Prevent multiple expansion
20002
 
 
20003
 
 
20004
 
 
20005
 
 
20006
 
 
20007
 
 
20008
 
 
20009
 
 
20010
 
 
20011
 
 
20012
 
 
20013
 
  
20014
 
 
20015
 
  
20016
 
 
20017
 
 
20018
 
  
20019
 
       
20020
 
       
20021
 
 
20022
 
 
20023
 
{ echo "$as_me:$LINENO: checking for X" >&5
20024
 
echo $ECHO_N "checking for X... $ECHO_C" >&6; }
20025
 
 
20026
 
 
20027
 
# Check whether --with-x was given.
20028
 
if test "${with_x+set}" = set; then
20029
 
  withval=$with_x; 
20030
 
fi
20031
 
 
20032
 
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
20033
 
if test "x$with_x" = xno; then
20034
 
  # The user explicitly disabled X.
20035
 
  have_x=disabled
20036
 
else
20037
 
  case $x_includes,$x_libraries in #(
20038
 
    *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
20039
 
echo "$as_me: error: Cannot use X directory names containing '" >&2;}
20040
 
   { (exit 1); exit 1; }; };; #(
20041
 
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
20042
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20043
 
else
20044
 
  # One or both of the vars are not set, and there is no cached value.
20045
 
ac_x_includes=no ac_x_libraries=no
20046
 
rm -f -r conftest.dir
20047
 
if mkdir conftest.dir; then
20048
 
  cd conftest.dir
20049
 
  cat >Imakefile <<'_ACEOF'
20050
 
incroot:
20051
 
        @echo incroot='${INCROOT}'
20052
 
usrlibdir:
20053
 
        @echo usrlibdir='${USRLIBDIR}'
20054
 
libdir:
20055
 
        @echo libdir='${LIBDIR}'
20056
 
_ACEOF
20057
 
  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
20058
 
    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20059
 
    for ac_var in incroot usrlibdir libdir; do
20060
 
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
20061
 
    done
20062
 
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
20063
 
    for ac_extension in a so sl; do
20064
 
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
20065
 
         test -f "$ac_im_libdir/libX11.$ac_extension"; then
20066
 
        ac_im_usrlibdir=$ac_im_libdir; break
20067
 
      fi
20068
 
    done
20069
 
    # Screen out bogus values from the imake configuration.  They are
20070
 
    # bogus both because they are the default anyway, and because
20071
 
    # using them would break gcc on systems where it needs fixed includes.
20072
 
    case $ac_im_incroot in
20073
 
        /usr/include) ac_x_includes= ;;
20074
 
        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
20075
 
    esac
20076
 
    case $ac_im_usrlibdir in
20077
 
        /usr/lib | /lib) ;;
20078
 
        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
20079
 
    esac
20080
 
  fi
20081
 
  cd ..
20082
 
  rm -f -r conftest.dir
20083
 
fi
20084
 
 
20085
 
# Standard set of common directories for X headers.
20086
 
# Check X11 before X11Rn because it is often a symlink to the current release.
20087
 
ac_x_header_dirs='
20088
 
/usr/X11/include
20089
 
/usr/X11R6/include
20090
 
/usr/X11R5/include
20091
 
/usr/X11R4/include
20092
 
 
20093
 
/usr/include/X11
20094
 
/usr/include/X11R6
20095
 
/usr/include/X11R5
20096
 
/usr/include/X11R4
20097
 
 
20098
 
/usr/local/X11/include
20099
 
/usr/local/X11R6/include
20100
 
/usr/local/X11R5/include
20101
 
/usr/local/X11R4/include
20102
 
 
20103
 
/usr/local/include/X11
20104
 
/usr/local/include/X11R6
20105
 
/usr/local/include/X11R5
20106
 
/usr/local/include/X11R4
20107
 
 
20108
 
/usr/X386/include
20109
 
/usr/x386/include
20110
 
/usr/XFree86/include/X11
20111
 
 
20112
 
/usr/include
20113
 
/usr/local/include
20114
 
/usr/unsupported/include
20115
 
/usr/athena/include
20116
 
/usr/local/x11r5/include
20117
 
/usr/lpp/Xamples/include
20118
 
 
20119
 
/usr/openwin/include
20120
 
/usr/openwin/share/include'
20121
 
 
20122
 
if test "$ac_x_includes" = no; then
20123
 
  # Guess where to find include files, by looking for Xlib.h.
20124
 
  # First, try using that file with no special directory specified.
20125
 
  cat >conftest.$ac_ext <<_ACEOF
20126
 
/* confdefs.h.  */
20127
 
_ACEOF
20128
 
cat confdefs.h >>conftest.$ac_ext
20129
 
cat >>conftest.$ac_ext <<_ACEOF
20130
 
/* end confdefs.h.  */
20131
 
@%:@include <X11/Xlib.h>
20132
 
_ACEOF
20133
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
20134
 
case "(($ac_try" in
20135
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20136
 
  *) ac_try_echo=$ac_try;;
20137
 
esac
20138
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20139
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20140
 
  ac_status=$?
20141
 
  grep -v '^ *+' conftest.er1 >conftest.err
20142
 
  rm -f conftest.er1
20143
 
  cat conftest.err >&5
20144
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20145
 
  (exit $ac_status); } >/dev/null && {
20146
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20147
 
         test ! -s conftest.err
20148
 
       }; then
20149
 
  # We can compile using X headers with no special include directory.
20150
 
ac_x_includes=
20151
 
else
20152
 
  echo "$as_me: failed program was:" >&5
20153
 
sed 's/^/| /' conftest.$ac_ext >&5
20154
 
 
20155
 
  for ac_dir in $ac_x_header_dirs; do
20156
 
  if test -r "$ac_dir/X11/Xlib.h"; then
20157
 
    ac_x_includes=$ac_dir
20158
 
    break
20159
 
  fi
20160
 
done
20161
 
fi
20162
 
 
20163
 
rm -f conftest.err conftest.$ac_ext
20164
 
fi # $ac_x_includes = no
20165
 
 
20166
 
if test "$ac_x_libraries" = no; then
20167
 
  # Check for the libraries.
20168
 
  # See if we find them without any special options.
20169
 
  # Don't add to $LIBS permanently.
20170
 
  ac_save_LIBS=$LIBS
20171
 
  LIBS="-lX11 $LIBS"
20172
 
  cat >conftest.$ac_ext <<_ACEOF
20173
 
/* confdefs.h.  */
20174
 
_ACEOF
20175
 
cat confdefs.h >>conftest.$ac_ext
20176
 
cat >>conftest.$ac_ext <<_ACEOF
20177
 
/* end confdefs.h.  */
20178
 
@%:@include <X11/Xlib.h>
20179
 
int
20180
 
main ()
20181
 
{
20182
 
XrmInitialize ()
20183
 
  ;
20184
 
  return 0;
20185
 
}
20186
 
_ACEOF
20187
 
rm -f conftest.$ac_objext conftest$ac_exeext
20188
 
if { (ac_try="$ac_link"
20189
 
case "(($ac_try" in
20190
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20191
 
  *) ac_try_echo=$ac_try;;
20192
 
esac
20193
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20194
 
  (eval "$ac_link") 2>conftest.er1
20195
 
  ac_status=$?
20196
 
  grep -v '^ *+' conftest.er1 >conftest.err
20197
 
  rm -f conftest.er1
20198
 
  cat conftest.err >&5
20199
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200
 
  (exit $ac_status); } && {
20201
 
         test -z "$ac_c_werror_flag" ||
20202
 
         test ! -s conftest.err
20203
 
       } && test -s conftest$ac_exeext &&
20204
 
       $as_test_x conftest$ac_exeext; then
20205
 
  LIBS=$ac_save_LIBS
20206
 
# We can link X programs with no special library path.
20207
 
ac_x_libraries=
20208
 
else
20209
 
  echo "$as_me: failed program was:" >&5
20210
 
sed 's/^/| /' conftest.$ac_ext >&5
20211
 
 
20212
 
        LIBS=$ac_save_LIBS
20213
 
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
20214
 
do
20215
 
  # Don't even attempt the hair of trying to link an X program!
20216
 
  for ac_extension in a so sl; do
20217
 
    if test -r "$ac_dir/libX11.$ac_extension"; then
20218
 
      ac_x_libraries=$ac_dir
20219
 
      break 2
20220
 
    fi
20221
 
  done
20222
 
done
20223
 
fi
20224
 
 
20225
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20226
 
      conftest$ac_exeext conftest.$ac_ext
20227
 
fi # $ac_x_libraries = no
20228
 
 
20229
 
case $ac_x_includes,$ac_x_libraries in #(
20230
 
  no,* | *,no | *\'*)
20231
 
    # Didn't find X, or a directory has "'" in its name.
20232
 
    ac_cv_have_x="have_x=no";; #(
20233
 
  *)
20234
 
    # Record where we found X for the cache.
20235
 
    ac_cv_have_x="have_x=yes\
20236
 
        ac_x_includes='$ac_x_includes'\
20237
 
        ac_x_libraries='$ac_x_libraries'"
20238
 
esac
20239
 
fi
20240
 
;; #(
20241
 
    *) have_x=yes;;
20242
 
  esac
20243
 
  eval "$ac_cv_have_x"
20244
 
fi # $with_x != no
20245
 
 
20246
 
if test "$have_x" != yes; then
20247
 
  { echo "$as_me:$LINENO: result: $have_x" >&5
20248
 
echo "${ECHO_T}$have_x" >&6; }
20249
 
  no_x=yes
20250
 
else
20251
 
  # If each of the values was on the command line, it overrides each guess.
20252
 
  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
20253
 
  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
20254
 
  # Update the cache value to reflect the command line values.
20255
 
  ac_cv_have_x="have_x=yes\
20256
 
        ac_x_includes='$x_includes'\
20257
 
        ac_x_libraries='$x_libraries'"
20258
 
  { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
20259
 
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
20260
 
fi
20261
 
 
20262
 
if test "$no_x" = yes; then
20263
 
  # Not all programs may use this symbol, but it does not hurt to define it.
20264
 
  
20265
 
cat >>confdefs.h <<\_ACEOF
20266
 
@%:@define X_DISPLAY_MISSING 1
20267
 
_ACEOF
20268
 
 
20269
 
  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
20270
 
else
20271
 
  if test -n "$x_includes"; then
20272
 
    X_CFLAGS="$X_CFLAGS -I$x_includes"
20273
 
  fi
20274
 
 
20275
 
  # It would also be nice to do this for all -L options, not just this one.
20276
 
  if test -n "$x_libraries"; then
20277
 
    X_LIBS="$X_LIBS -L$x_libraries"
20278
 
    # For Solaris; some versions of Sun CC require a space after -R and
20279
 
    # others require no space.  Words are not sufficient . . . .
20280
 
    { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
20281
 
echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
20282
 
    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
20283
 
    ac_xsave_c_werror_flag=$ac_c_werror_flag
20284
 
    ac_c_werror_flag=yes
20285
 
    cat >conftest.$ac_ext <<_ACEOF
20286
 
/* confdefs.h.  */
20287
 
_ACEOF
20288
 
cat confdefs.h >>conftest.$ac_ext
20289
 
cat >>conftest.$ac_ext <<_ACEOF
20290
 
/* end confdefs.h.  */
20291
 
 
20292
 
int
20293
 
main ()
20294
 
{
20295
 
 
20296
 
  ;
20297
 
  return 0;
20298
 
}
20299
 
_ACEOF
20300
 
rm -f conftest.$ac_objext conftest$ac_exeext
20301
 
if { (ac_try="$ac_link"
20302
 
case "(($ac_try" in
20303
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20304
 
  *) ac_try_echo=$ac_try;;
20305
 
esac
20306
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20307
 
  (eval "$ac_link") 2>conftest.er1
20308
 
  ac_status=$?
20309
 
  grep -v '^ *+' conftest.er1 >conftest.err
20310
 
  rm -f conftest.er1
20311
 
  cat conftest.err >&5
20312
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20313
 
  (exit $ac_status); } && {
20314
 
         test -z "$ac_c_werror_flag" ||
20315
 
         test ! -s conftest.err
20316
 
       } && test -s conftest$ac_exeext &&
20317
 
       $as_test_x conftest$ac_exeext; then
20318
 
  { echo "$as_me:$LINENO: result: no" >&5
20319
 
echo "${ECHO_T}no" >&6; }
20320
 
       X_LIBS="$X_LIBS -R$x_libraries"
20321
 
else
20322
 
  echo "$as_me: failed program was:" >&5
20323
 
sed 's/^/| /' conftest.$ac_ext >&5
20324
 
 
20325
 
        LIBS="$ac_xsave_LIBS -R $x_libraries"
20326
 
       cat >conftest.$ac_ext <<_ACEOF
20327
 
/* confdefs.h.  */
20328
 
_ACEOF
20329
 
cat confdefs.h >>conftest.$ac_ext
20330
 
cat >>conftest.$ac_ext <<_ACEOF
20331
 
/* end confdefs.h.  */
20332
 
 
20333
 
int
20334
 
main ()
20335
 
{
20336
 
 
20337
 
  ;
20338
 
  return 0;
20339
 
}
20340
 
_ACEOF
20341
 
rm -f conftest.$ac_objext conftest$ac_exeext
20342
 
if { (ac_try="$ac_link"
20343
 
case "(($ac_try" in
20344
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20345
 
  *) ac_try_echo=$ac_try;;
20346
 
esac
20347
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20348
 
  (eval "$ac_link") 2>conftest.er1
20349
 
  ac_status=$?
20350
 
  grep -v '^ *+' conftest.er1 >conftest.err
20351
 
  rm -f conftest.er1
20352
 
  cat conftest.err >&5
20353
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354
 
  (exit $ac_status); } && {
20355
 
         test -z "$ac_c_werror_flag" ||
20356
 
         test ! -s conftest.err
20357
 
       } && test -s conftest$ac_exeext &&
20358
 
       $as_test_x conftest$ac_exeext; then
20359
 
  { echo "$as_me:$LINENO: result: yes" >&5
20360
 
echo "${ECHO_T}yes" >&6; }
20361
 
          X_LIBS="$X_LIBS -R $x_libraries"
20362
 
else
20363
 
  echo "$as_me: failed program was:" >&5
20364
 
sed 's/^/| /' conftest.$ac_ext >&5
20365
 
 
20366
 
        { echo "$as_me:$LINENO: result: neither works" >&5
20367
 
echo "${ECHO_T}neither works" >&6; }
20368
 
fi
20369
 
 
20370
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20371
 
      conftest$ac_exeext conftest.$ac_ext
20372
 
fi
20373
 
 
20374
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20375
 
      conftest$ac_exeext conftest.$ac_ext
20376
 
    ac_c_werror_flag=$ac_xsave_c_werror_flag
20377
 
    LIBS=$ac_xsave_LIBS
20378
 
  fi
20379
 
 
20380
 
  # Check for system-dependent libraries X programs must link with.
20381
 
  # Do this before checking for the system-independent R6 libraries
20382
 
  # (-lICE), since we may need -lsocket or whatever for X linking.
20383
 
 
20384
 
  if test "$ISC" = yes; then
20385
 
    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
20386
 
  else
20387
 
    # Martyn Johnson says this is needed for Ultrix, if the X
20388
 
    # libraries were built with DECnet support.  And Karl Berry says
20389
 
    # the Alpha needs dnet_stub (dnet does not exist).
20390
 
    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
20391
 
    cat >conftest.$ac_ext <<_ACEOF
20392
 
/* confdefs.h.  */
20393
 
_ACEOF
20394
 
cat confdefs.h >>conftest.$ac_ext
20395
 
cat >>conftest.$ac_ext <<_ACEOF
20396
 
/* end confdefs.h.  */
20397
 
 
20398
 
/* Override any GCC internal prototype to avoid an error.
20399
 
   Use char because int might match the return type of a GCC
20400
 
   builtin and then its argument prototype would still apply.  */
20401
 
#ifdef __cplusplus
20402
 
extern "C"
20403
 
#endif
20404
 
char XOpenDisplay ();
20405
 
int
20406
 
main ()
20407
 
{
20408
 
return XOpenDisplay ();
20409
 
  ;
20410
 
  return 0;
20411
 
}
20412
 
_ACEOF
20413
 
rm -f conftest.$ac_objext conftest$ac_exeext
20414
 
if { (ac_try="$ac_link"
20415
 
case "(($ac_try" in
20416
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20417
 
  *) ac_try_echo=$ac_try;;
20418
 
esac
20419
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20420
 
  (eval "$ac_link") 2>conftest.er1
20421
 
  ac_status=$?
20422
 
  grep -v '^ *+' conftest.er1 >conftest.err
20423
 
  rm -f conftest.er1
20424
 
  cat conftest.err >&5
20425
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20426
 
  (exit $ac_status); } && {
20427
 
         test -z "$ac_c_werror_flag" ||
20428
 
         test ! -s conftest.err
20429
 
       } && test -s conftest$ac_exeext &&
20430
 
       $as_test_x conftest$ac_exeext; then
20431
 
  :
20432
 
else
20433
 
  echo "$as_me: failed program was:" >&5
20434
 
sed 's/^/| /' conftest.$ac_ext >&5
20435
 
 
20436
 
        { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
20437
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
20438
 
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
20439
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20440
 
else
20441
 
  ac_check_lib_save_LIBS=$LIBS
20442
 
LIBS="-ldnet  $LIBS"
20443
 
cat >conftest.$ac_ext <<_ACEOF
20444
 
/* confdefs.h.  */
20445
 
_ACEOF
20446
 
cat confdefs.h >>conftest.$ac_ext
20447
 
cat >>conftest.$ac_ext <<_ACEOF
20448
 
/* end confdefs.h.  */
20449
 
 
20450
 
/* Override any GCC internal prototype to avoid an error.
20451
 
   Use char because int might match the return type of a GCC
20452
 
   builtin and then its argument prototype would still apply.  */
20453
 
#ifdef __cplusplus
20454
 
extern "C"
20455
 
#endif
20456
 
char dnet_ntoa ();
20457
 
int
20458
 
main ()
20459
 
{
20460
 
return dnet_ntoa ();
20461
 
  ;
20462
 
  return 0;
20463
 
}
20464
 
_ACEOF
20465
 
rm -f conftest.$ac_objext conftest$ac_exeext
20466
 
if { (ac_try="$ac_link"
20467
 
case "(($ac_try" in
20468
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20469
 
  *) ac_try_echo=$ac_try;;
20470
 
esac
20471
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20472
 
  (eval "$ac_link") 2>conftest.er1
20473
 
  ac_status=$?
20474
 
  grep -v '^ *+' conftest.er1 >conftest.err
20475
 
  rm -f conftest.er1
20476
 
  cat conftest.err >&5
20477
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20478
 
  (exit $ac_status); } && {
20479
 
         test -z "$ac_c_werror_flag" ||
20480
 
         test ! -s conftest.err
20481
 
       } && test -s conftest$ac_exeext &&
20482
 
       $as_test_x conftest$ac_exeext; then
20483
 
  ac_cv_lib_dnet_dnet_ntoa=yes
20484
 
else
20485
 
  echo "$as_me: failed program was:" >&5
20486
 
sed 's/^/| /' conftest.$ac_ext >&5
20487
 
 
20488
 
        ac_cv_lib_dnet_dnet_ntoa=no
20489
 
fi
20490
 
 
20491
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20492
 
      conftest$ac_exeext conftest.$ac_ext
20493
 
LIBS=$ac_check_lib_save_LIBS
20494
 
fi
20495
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
20496
 
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
20497
 
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
20498
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
20499
 
fi
20500
 
 
20501
 
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
20502
 
      { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
20503
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
20504
 
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
20505
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20506
 
else
20507
 
  ac_check_lib_save_LIBS=$LIBS
20508
 
LIBS="-ldnet_stub  $LIBS"
20509
 
cat >conftest.$ac_ext <<_ACEOF
20510
 
/* confdefs.h.  */
20511
 
_ACEOF
20512
 
cat confdefs.h >>conftest.$ac_ext
20513
 
cat >>conftest.$ac_ext <<_ACEOF
20514
 
/* end confdefs.h.  */
20515
 
 
20516
 
/* Override any GCC internal prototype to avoid an error.
20517
 
   Use char because int might match the return type of a GCC
20518
 
   builtin and then its argument prototype would still apply.  */
20519
 
#ifdef __cplusplus
20520
 
extern "C"
20521
 
#endif
20522
 
char dnet_ntoa ();
20523
 
int
20524
 
main ()
20525
 
{
20526
 
return dnet_ntoa ();
20527
 
  ;
20528
 
  return 0;
20529
 
}
20530
 
_ACEOF
20531
 
rm -f conftest.$ac_objext conftest$ac_exeext
20532
 
if { (ac_try="$ac_link"
20533
 
case "(($ac_try" in
20534
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20535
 
  *) ac_try_echo=$ac_try;;
20536
 
esac
20537
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20538
 
  (eval "$ac_link") 2>conftest.er1
20539
 
  ac_status=$?
20540
 
  grep -v '^ *+' conftest.er1 >conftest.err
20541
 
  rm -f conftest.er1
20542
 
  cat conftest.err >&5
20543
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20544
 
  (exit $ac_status); } && {
20545
 
         test -z "$ac_c_werror_flag" ||
20546
 
         test ! -s conftest.err
20547
 
       } && test -s conftest$ac_exeext &&
20548
 
       $as_test_x conftest$ac_exeext; then
20549
 
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
20550
 
else
20551
 
  echo "$as_me: failed program was:" >&5
20552
 
sed 's/^/| /' conftest.$ac_ext >&5
20553
 
 
20554
 
        ac_cv_lib_dnet_stub_dnet_ntoa=no
20555
 
fi
20556
 
 
20557
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20558
 
      conftest$ac_exeext conftest.$ac_ext
20559
 
LIBS=$ac_check_lib_save_LIBS
20560
 
fi
20561
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
20562
 
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
20563
 
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
20564
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
20565
 
fi
20566
 
 
20567
 
    fi
20568
 
fi
20569
 
 
20570
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20571
 
      conftest$ac_exeext conftest.$ac_ext
20572
 
    LIBS="$ac_xsave_LIBS"
20573
 
 
20574
 
    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
20575
 
    # to get the SysV transport functions.
20576
 
    # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
20577
 
    # needs -lnsl.
20578
 
    # The nsl library prevents programs from opening the X display
20579
 
    # on Irix 5.2, according to T.E. Dickey.
20580
 
    # The functions gethostbyname, getservbyname, and inet_addr are
20581
 
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
20582
 
    { echo "$as_me:$LINENO: checking for gethostbyname" >&5
20583
 
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
20584
 
if test "${ac_cv_func_gethostbyname+set}" = set; then
20585
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20586
 
else
20587
 
  cat >conftest.$ac_ext <<_ACEOF
20588
 
/* confdefs.h.  */
20589
 
_ACEOF
20590
 
cat confdefs.h >>conftest.$ac_ext
20591
 
cat >>conftest.$ac_ext <<_ACEOF
20592
 
/* end confdefs.h.  */
20593
 
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
20594
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20595
 
#define gethostbyname innocuous_gethostbyname
20596
 
 
20597
 
/* System header to define __stub macros and hopefully few prototypes,
20598
 
    which can conflict with char gethostbyname (); below.
20599
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20600
 
    <limits.h> exists even on freestanding compilers.  */
20601
 
 
20602
 
#ifdef __STDC__
20603
 
# include <limits.h>
20604
 
#else
20605
 
# include <assert.h>
20606
 
#endif
20607
 
 
20608
 
#undef gethostbyname
20609
 
 
20610
 
/* Override any GCC internal prototype to avoid an error.
20611
 
   Use char because int might match the return type of a GCC
20612
 
   builtin and then its argument prototype would still apply.  */
20613
 
#ifdef __cplusplus
20614
 
extern "C"
20615
 
#endif
20616
 
char gethostbyname ();
20617
 
/* The GNU C library defines this for functions which it implements
20618
 
    to always fail with ENOSYS.  Some functions are actually named
20619
 
    something starting with __ and the normal name is an alias.  */
20620
 
#if defined __stub_gethostbyname || defined __stub___gethostbyname
20621
 
choke me
20622
 
#endif
20623
 
 
20624
 
int
20625
 
main ()
20626
 
{
20627
 
return gethostbyname ();
20628
 
  ;
20629
 
  return 0;
20630
 
}
20631
 
_ACEOF
20632
 
rm -f conftest.$ac_objext conftest$ac_exeext
20633
 
if { (ac_try="$ac_link"
20634
 
case "(($ac_try" in
20635
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20636
 
  *) ac_try_echo=$ac_try;;
20637
 
esac
20638
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20639
 
  (eval "$ac_link") 2>conftest.er1
20640
 
  ac_status=$?
20641
 
  grep -v '^ *+' conftest.er1 >conftest.err
20642
 
  rm -f conftest.er1
20643
 
  cat conftest.err >&5
20644
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645
 
  (exit $ac_status); } && {
20646
 
         test -z "$ac_c_werror_flag" ||
20647
 
         test ! -s conftest.err
20648
 
       } && test -s conftest$ac_exeext &&
20649
 
       $as_test_x conftest$ac_exeext; then
20650
 
  ac_cv_func_gethostbyname=yes
20651
 
else
20652
 
  echo "$as_me: failed program was:" >&5
20653
 
sed 's/^/| /' conftest.$ac_ext >&5
20654
 
 
20655
 
        ac_cv_func_gethostbyname=no
20656
 
fi
20657
 
 
20658
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20659
 
      conftest$ac_exeext conftest.$ac_ext
20660
 
fi
20661
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
20662
 
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
20663
 
 
20664
 
    if test $ac_cv_func_gethostbyname = no; then
20665
 
      { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
20666
 
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
20667
 
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
20668
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20669
 
else
20670
 
  ac_check_lib_save_LIBS=$LIBS
20671
 
LIBS="-lnsl  $LIBS"
20672
 
cat >conftest.$ac_ext <<_ACEOF
20673
 
/* confdefs.h.  */
20674
 
_ACEOF
20675
 
cat confdefs.h >>conftest.$ac_ext
20676
 
cat >>conftest.$ac_ext <<_ACEOF
20677
 
/* end confdefs.h.  */
20678
 
 
20679
 
/* Override any GCC internal prototype to avoid an error.
20680
 
   Use char because int might match the return type of a GCC
20681
 
   builtin and then its argument prototype would still apply.  */
20682
 
#ifdef __cplusplus
20683
 
extern "C"
20684
 
#endif
20685
 
char gethostbyname ();
20686
 
int
20687
 
main ()
20688
 
{
20689
 
return gethostbyname ();
20690
 
  ;
20691
 
  return 0;
20692
 
}
20693
 
_ACEOF
20694
 
rm -f conftest.$ac_objext conftest$ac_exeext
20695
 
if { (ac_try="$ac_link"
20696
 
case "(($ac_try" in
20697
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20698
 
  *) ac_try_echo=$ac_try;;
20699
 
esac
20700
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20701
 
  (eval "$ac_link") 2>conftest.er1
20702
 
  ac_status=$?
20703
 
  grep -v '^ *+' conftest.er1 >conftest.err
20704
 
  rm -f conftest.er1
20705
 
  cat conftest.err >&5
20706
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20707
 
  (exit $ac_status); } && {
20708
 
         test -z "$ac_c_werror_flag" ||
20709
 
         test ! -s conftest.err
20710
 
       } && test -s conftest$ac_exeext &&
20711
 
       $as_test_x conftest$ac_exeext; then
20712
 
  ac_cv_lib_nsl_gethostbyname=yes
20713
 
else
20714
 
  echo "$as_me: failed program was:" >&5
20715
 
sed 's/^/| /' conftest.$ac_ext >&5
20716
 
 
20717
 
        ac_cv_lib_nsl_gethostbyname=no
20718
 
fi
20719
 
 
20720
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20721
 
      conftest$ac_exeext conftest.$ac_ext
20722
 
LIBS=$ac_check_lib_save_LIBS
20723
 
fi
20724
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
20725
 
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
20726
 
if test $ac_cv_lib_nsl_gethostbyname = yes; then
20727
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
20728
 
fi
20729
 
 
20730
 
      if test $ac_cv_lib_nsl_gethostbyname = no; then
20731
 
        { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
20732
 
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
20733
 
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
20734
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20735
 
else
20736
 
  ac_check_lib_save_LIBS=$LIBS
20737
 
LIBS="-lbsd  $LIBS"
20738
 
cat >conftest.$ac_ext <<_ACEOF
20739
 
/* confdefs.h.  */
20740
 
_ACEOF
20741
 
cat confdefs.h >>conftest.$ac_ext
20742
 
cat >>conftest.$ac_ext <<_ACEOF
20743
 
/* end confdefs.h.  */
20744
 
 
20745
 
/* Override any GCC internal prototype to avoid an error.
20746
 
   Use char because int might match the return type of a GCC
20747
 
   builtin and then its argument prototype would still apply.  */
20748
 
#ifdef __cplusplus
20749
 
extern "C"
20750
 
#endif
20751
 
char gethostbyname ();
20752
 
int
20753
 
main ()
20754
 
{
20755
 
return gethostbyname ();
20756
 
  ;
20757
 
  return 0;
20758
 
}
20759
 
_ACEOF
20760
 
rm -f conftest.$ac_objext conftest$ac_exeext
20761
 
if { (ac_try="$ac_link"
20762
 
case "(($ac_try" in
20763
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20764
 
  *) ac_try_echo=$ac_try;;
20765
 
esac
20766
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20767
 
  (eval "$ac_link") 2>conftest.er1
20768
 
  ac_status=$?
20769
 
  grep -v '^ *+' conftest.er1 >conftest.err
20770
 
  rm -f conftest.er1
20771
 
  cat conftest.err >&5
20772
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20773
 
  (exit $ac_status); } && {
20774
 
         test -z "$ac_c_werror_flag" ||
20775
 
         test ! -s conftest.err
20776
 
       } && test -s conftest$ac_exeext &&
20777
 
       $as_test_x conftest$ac_exeext; then
20778
 
  ac_cv_lib_bsd_gethostbyname=yes
20779
 
else
20780
 
  echo "$as_me: failed program was:" >&5
20781
 
sed 's/^/| /' conftest.$ac_ext >&5
20782
 
 
20783
 
        ac_cv_lib_bsd_gethostbyname=no
20784
 
fi
20785
 
 
20786
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20787
 
      conftest$ac_exeext conftest.$ac_ext
20788
 
LIBS=$ac_check_lib_save_LIBS
20789
 
fi
20790
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
20791
 
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
20792
 
if test $ac_cv_lib_bsd_gethostbyname = yes; then
20793
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
20794
 
fi
20795
 
 
20796
 
      fi
20797
 
    fi
20798
 
 
20799
 
    # lieder@skyler.mavd.honeywell.com says without -lsocket,
20800
 
    # socket/setsockopt and other routines are undefined under SCO ODT
20801
 
    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
20802
 
    # on later versions), says Simon Leinen: it contains gethostby*
20803
 
    # variants that don't use the name server (or something).  -lsocket
20804
 
    # must be given before -lnsl if both are needed.  We assume that
20805
 
    # if connect needs -lnsl, so does gethostbyname.
20806
 
    { echo "$as_me:$LINENO: checking for connect" >&5
20807
 
echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
20808
 
if test "${ac_cv_func_connect+set}" = set; then
20809
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20810
 
else
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
 
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
20818
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20819
 
#define connect innocuous_connect
20820
 
 
20821
 
/* System header to define __stub macros and hopefully few prototypes,
20822
 
    which can conflict with char connect (); below.
20823
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20824
 
    <limits.h> exists even on freestanding compilers.  */
20825
 
 
20826
 
#ifdef __STDC__
20827
 
# include <limits.h>
20828
 
#else
20829
 
# include <assert.h>
20830
 
#endif
20831
 
 
20832
 
#undef connect
20833
 
 
20834
 
/* Override any GCC internal prototype to avoid an error.
20835
 
   Use char because int might match the return type of a GCC
20836
 
   builtin and then its argument prototype would still apply.  */
20837
 
#ifdef __cplusplus
20838
 
extern "C"
20839
 
#endif
20840
 
char connect ();
20841
 
/* The GNU C library defines this for functions which it implements
20842
 
    to always fail with ENOSYS.  Some functions are actually named
20843
 
    something starting with __ and the normal name is an alias.  */
20844
 
#if defined __stub_connect || defined __stub___connect
20845
 
choke me
20846
 
#endif
20847
 
 
20848
 
int
20849
 
main ()
20850
 
{
20851
 
return connect ();
20852
 
  ;
20853
 
  return 0;
20854
 
}
20855
 
_ACEOF
20856
 
rm -f conftest.$ac_objext conftest$ac_exeext
20857
 
if { (ac_try="$ac_link"
20858
 
case "(($ac_try" in
20859
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20860
 
  *) ac_try_echo=$ac_try;;
20861
 
esac
20862
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20863
 
  (eval "$ac_link") 2>conftest.er1
20864
 
  ac_status=$?
20865
 
  grep -v '^ *+' conftest.er1 >conftest.err
20866
 
  rm -f conftest.er1
20867
 
  cat conftest.err >&5
20868
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869
 
  (exit $ac_status); } && {
20870
 
         test -z "$ac_c_werror_flag" ||
20871
 
         test ! -s conftest.err
20872
 
       } && test -s conftest$ac_exeext &&
20873
 
       $as_test_x conftest$ac_exeext; then
20874
 
  ac_cv_func_connect=yes
20875
 
else
20876
 
  echo "$as_me: failed program was:" >&5
20877
 
sed 's/^/| /' conftest.$ac_ext >&5
20878
 
 
20879
 
        ac_cv_func_connect=no
20880
 
fi
20881
 
 
20882
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20883
 
      conftest$ac_exeext conftest.$ac_ext
20884
 
fi
20885
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
20886
 
echo "${ECHO_T}$ac_cv_func_connect" >&6; }
20887
 
 
20888
 
    if test $ac_cv_func_connect = no; then
20889
 
      { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
20890
 
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
20891
 
if test "${ac_cv_lib_socket_connect+set}" = set; then
20892
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20893
 
else
20894
 
  ac_check_lib_save_LIBS=$LIBS
20895
 
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
20896
 
cat >conftest.$ac_ext <<_ACEOF
20897
 
/* confdefs.h.  */
20898
 
_ACEOF
20899
 
cat confdefs.h >>conftest.$ac_ext
20900
 
cat >>conftest.$ac_ext <<_ACEOF
20901
 
/* end confdefs.h.  */
20902
 
 
20903
 
/* Override any GCC internal prototype to avoid an error.
20904
 
   Use char because int might match the return type of a GCC
20905
 
   builtin and then its argument prototype would still apply.  */
20906
 
#ifdef __cplusplus
20907
 
extern "C"
20908
 
#endif
20909
 
char connect ();
20910
 
int
20911
 
main ()
20912
 
{
20913
 
return connect ();
20914
 
  ;
20915
 
  return 0;
20916
 
}
20917
 
_ACEOF
20918
 
rm -f conftest.$ac_objext conftest$ac_exeext
20919
 
if { (ac_try="$ac_link"
20920
 
case "(($ac_try" in
20921
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20922
 
  *) ac_try_echo=$ac_try;;
20923
 
esac
20924
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20925
 
  (eval "$ac_link") 2>conftest.er1
20926
 
  ac_status=$?
20927
 
  grep -v '^ *+' conftest.er1 >conftest.err
20928
 
  rm -f conftest.er1
20929
 
  cat conftest.err >&5
20930
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20931
 
  (exit $ac_status); } && {
20932
 
         test -z "$ac_c_werror_flag" ||
20933
 
         test ! -s conftest.err
20934
 
       } && test -s conftest$ac_exeext &&
20935
 
       $as_test_x conftest$ac_exeext; then
20936
 
  ac_cv_lib_socket_connect=yes
20937
 
else
20938
 
  echo "$as_me: failed program was:" >&5
20939
 
sed 's/^/| /' conftest.$ac_ext >&5
20940
 
 
20941
 
        ac_cv_lib_socket_connect=no
20942
 
fi
20943
 
 
20944
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20945
 
      conftest$ac_exeext conftest.$ac_ext
20946
 
LIBS=$ac_check_lib_save_LIBS
20947
 
fi
20948
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
20949
 
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
20950
 
if test $ac_cv_lib_socket_connect = yes; then
20951
 
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
20952
 
fi
20953
 
 
20954
 
    fi
20955
 
 
20956
 
    # Guillermo Gomez says -lposix is necessary on A/UX.
20957
 
    { echo "$as_me:$LINENO: checking for remove" >&5
20958
 
echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
20959
 
if test "${ac_cv_func_remove+set}" = set; then
20960
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20961
 
else
20962
 
  cat >conftest.$ac_ext <<_ACEOF
20963
 
/* confdefs.h.  */
20964
 
_ACEOF
20965
 
cat confdefs.h >>conftest.$ac_ext
20966
 
cat >>conftest.$ac_ext <<_ACEOF
20967
 
/* end confdefs.h.  */
20968
 
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
20969
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20970
 
#define remove innocuous_remove
20971
 
 
20972
 
/* System header to define __stub macros and hopefully few prototypes,
20973
 
    which can conflict with char remove (); below.
20974
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20975
 
    <limits.h> exists even on freestanding compilers.  */
20976
 
 
20977
 
#ifdef __STDC__
20978
 
# include <limits.h>
20979
 
#else
20980
 
# include <assert.h>
20981
 
#endif
20982
 
 
20983
 
#undef remove
20984
 
 
20985
 
/* Override any GCC internal prototype to avoid an error.
20986
 
   Use char because int might match the return type of a GCC
20987
 
   builtin and then its argument prototype would still apply.  */
20988
 
#ifdef __cplusplus
20989
 
extern "C"
20990
 
#endif
20991
 
char remove ();
20992
 
/* The GNU C library defines this for functions which it implements
20993
 
    to always fail with ENOSYS.  Some functions are actually named
20994
 
    something starting with __ and the normal name is an alias.  */
20995
 
#if defined __stub_remove || defined __stub___remove
20996
 
choke me
20997
 
#endif
20998
 
 
20999
 
int
21000
 
main ()
21001
 
{
21002
 
return remove ();
21003
 
  ;
21004
 
  return 0;
21005
 
}
21006
 
_ACEOF
21007
 
rm -f conftest.$ac_objext conftest$ac_exeext
21008
 
if { (ac_try="$ac_link"
21009
 
case "(($ac_try" in
21010
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21011
 
  *) ac_try_echo=$ac_try;;
21012
 
esac
21013
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21014
 
  (eval "$ac_link") 2>conftest.er1
21015
 
  ac_status=$?
21016
 
  grep -v '^ *+' conftest.er1 >conftest.err
21017
 
  rm -f conftest.er1
21018
 
  cat conftest.err >&5
21019
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21020
 
  (exit $ac_status); } && {
21021
 
         test -z "$ac_c_werror_flag" ||
21022
 
         test ! -s conftest.err
21023
 
       } && test -s conftest$ac_exeext &&
21024
 
       $as_test_x conftest$ac_exeext; then
21025
 
  ac_cv_func_remove=yes
21026
 
else
21027
 
  echo "$as_me: failed program was:" >&5
21028
 
sed 's/^/| /' conftest.$ac_ext >&5
21029
 
 
21030
 
        ac_cv_func_remove=no
21031
 
fi
21032
 
 
21033
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21034
 
      conftest$ac_exeext conftest.$ac_ext
21035
 
fi
21036
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21037
 
echo "${ECHO_T}$ac_cv_func_remove" >&6; }
21038
 
 
21039
 
    if test $ac_cv_func_remove = no; then
21040
 
      { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
21041
 
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
21042
 
if test "${ac_cv_lib_posix_remove+set}" = set; then
21043
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21044
 
else
21045
 
  ac_check_lib_save_LIBS=$LIBS
21046
 
LIBS="-lposix  $LIBS"
21047
 
cat >conftest.$ac_ext <<_ACEOF
21048
 
/* confdefs.h.  */
21049
 
_ACEOF
21050
 
cat confdefs.h >>conftest.$ac_ext
21051
 
cat >>conftest.$ac_ext <<_ACEOF
21052
 
/* end confdefs.h.  */
21053
 
 
21054
 
/* Override any GCC internal prototype to avoid an error.
21055
 
   Use char because int might match the return type of a GCC
21056
 
   builtin and then its argument prototype would still apply.  */
21057
 
#ifdef __cplusplus
21058
 
extern "C"
21059
 
#endif
21060
 
char remove ();
21061
 
int
21062
 
main ()
21063
 
{
21064
 
return remove ();
21065
 
  ;
21066
 
  return 0;
21067
 
}
21068
 
_ACEOF
21069
 
rm -f conftest.$ac_objext conftest$ac_exeext
21070
 
if { (ac_try="$ac_link"
21071
 
case "(($ac_try" in
21072
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21073
 
  *) ac_try_echo=$ac_try;;
21074
 
esac
21075
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21076
 
  (eval "$ac_link") 2>conftest.er1
21077
 
  ac_status=$?
21078
 
  grep -v '^ *+' conftest.er1 >conftest.err
21079
 
  rm -f conftest.er1
21080
 
  cat conftest.err >&5
21081
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082
 
  (exit $ac_status); } && {
21083
 
         test -z "$ac_c_werror_flag" ||
21084
 
         test ! -s conftest.err
21085
 
       } && test -s conftest$ac_exeext &&
21086
 
       $as_test_x conftest$ac_exeext; then
21087
 
  ac_cv_lib_posix_remove=yes
21088
 
else
21089
 
  echo "$as_me: failed program was:" >&5
21090
 
sed 's/^/| /' conftest.$ac_ext >&5
21091
 
 
21092
 
        ac_cv_lib_posix_remove=no
21093
 
fi
21094
 
 
21095
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21096
 
      conftest$ac_exeext conftest.$ac_ext
21097
 
LIBS=$ac_check_lib_save_LIBS
21098
 
fi
21099
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
21100
 
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
21101
 
if test $ac_cv_lib_posix_remove = yes; then
21102
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
21103
 
fi
21104
 
 
21105
 
    fi
21106
 
 
21107
 
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
21108
 
    { echo "$as_me:$LINENO: checking for shmat" >&5
21109
 
echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
21110
 
if test "${ac_cv_func_shmat+set}" = set; then
21111
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21112
 
else
21113
 
  cat >conftest.$ac_ext <<_ACEOF
21114
 
/* confdefs.h.  */
21115
 
_ACEOF
21116
 
cat confdefs.h >>conftest.$ac_ext
21117
 
cat >>conftest.$ac_ext <<_ACEOF
21118
 
/* end confdefs.h.  */
21119
 
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
21120
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21121
 
#define shmat innocuous_shmat
21122
 
 
21123
 
/* System header to define __stub macros and hopefully few prototypes,
21124
 
    which can conflict with char shmat (); below.
21125
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21126
 
    <limits.h> exists even on freestanding compilers.  */
21127
 
 
21128
 
#ifdef __STDC__
21129
 
# include <limits.h>
21130
 
#else
21131
 
# include <assert.h>
21132
 
#endif
21133
 
 
21134
 
#undef shmat
21135
 
 
21136
 
/* Override any GCC internal prototype to avoid an error.
21137
 
   Use char because int might match the return type of a GCC
21138
 
   builtin and then its argument prototype would still apply.  */
21139
 
#ifdef __cplusplus
21140
 
extern "C"
21141
 
#endif
21142
 
char shmat ();
21143
 
/* The GNU C library defines this for functions which it implements
21144
 
    to always fail with ENOSYS.  Some functions are actually named
21145
 
    something starting with __ and the normal name is an alias.  */
21146
 
#if defined __stub_shmat || defined __stub___shmat
21147
 
choke me
21148
 
#endif
21149
 
 
21150
 
int
21151
 
main ()
21152
 
{
21153
 
return shmat ();
21154
 
  ;
21155
 
  return 0;
21156
 
}
21157
 
_ACEOF
21158
 
rm -f conftest.$ac_objext conftest$ac_exeext
21159
 
if { (ac_try="$ac_link"
21160
 
case "(($ac_try" in
21161
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21162
 
  *) ac_try_echo=$ac_try;;
21163
 
esac
21164
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21165
 
  (eval "$ac_link") 2>conftest.er1
21166
 
  ac_status=$?
21167
 
  grep -v '^ *+' conftest.er1 >conftest.err
21168
 
  rm -f conftest.er1
21169
 
  cat conftest.err >&5
21170
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21171
 
  (exit $ac_status); } && {
21172
 
         test -z "$ac_c_werror_flag" ||
21173
 
         test ! -s conftest.err
21174
 
       } && test -s conftest$ac_exeext &&
21175
 
       $as_test_x conftest$ac_exeext; then
21176
 
  ac_cv_func_shmat=yes
21177
 
else
21178
 
  echo "$as_me: failed program was:" >&5
21179
 
sed 's/^/| /' conftest.$ac_ext >&5
21180
 
 
21181
 
        ac_cv_func_shmat=no
21182
 
fi
21183
 
 
21184
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21185
 
      conftest$ac_exeext conftest.$ac_ext
21186
 
fi
21187
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
21188
 
echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
21189
 
 
21190
 
    if test $ac_cv_func_shmat = no; then
21191
 
      { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
21192
 
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
21193
 
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
21194
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21195
 
else
21196
 
  ac_check_lib_save_LIBS=$LIBS
21197
 
LIBS="-lipc  $LIBS"
21198
 
cat >conftest.$ac_ext <<_ACEOF
21199
 
/* confdefs.h.  */
21200
 
_ACEOF
21201
 
cat confdefs.h >>conftest.$ac_ext
21202
 
cat >>conftest.$ac_ext <<_ACEOF
21203
 
/* end confdefs.h.  */
21204
 
 
21205
 
/* Override any GCC internal prototype to avoid an error.
21206
 
   Use char because int might match the return type of a GCC
21207
 
   builtin and then its argument prototype would still apply.  */
21208
 
#ifdef __cplusplus
21209
 
extern "C"
21210
 
#endif
21211
 
char shmat ();
21212
 
int
21213
 
main ()
21214
 
{
21215
 
return shmat ();
21216
 
  ;
21217
 
  return 0;
21218
 
}
21219
 
_ACEOF
21220
 
rm -f conftest.$ac_objext conftest$ac_exeext
21221
 
if { (ac_try="$ac_link"
21222
 
case "(($ac_try" in
21223
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21224
 
  *) ac_try_echo=$ac_try;;
21225
 
esac
21226
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21227
 
  (eval "$ac_link") 2>conftest.er1
21228
 
  ac_status=$?
21229
 
  grep -v '^ *+' conftest.er1 >conftest.err
21230
 
  rm -f conftest.er1
21231
 
  cat conftest.err >&5
21232
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21233
 
  (exit $ac_status); } && {
21234
 
         test -z "$ac_c_werror_flag" ||
21235
 
         test ! -s conftest.err
21236
 
       } && test -s conftest$ac_exeext &&
21237
 
       $as_test_x conftest$ac_exeext; then
21238
 
  ac_cv_lib_ipc_shmat=yes
21239
 
else
21240
 
  echo "$as_me: failed program was:" >&5
21241
 
sed 's/^/| /' conftest.$ac_ext >&5
21242
 
 
21243
 
        ac_cv_lib_ipc_shmat=no
21244
 
fi
21245
 
 
21246
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21247
 
      conftest$ac_exeext conftest.$ac_ext
21248
 
LIBS=$ac_check_lib_save_LIBS
21249
 
fi
21250
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
21251
 
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
21252
 
if test $ac_cv_lib_ipc_shmat = yes; then
21253
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
21254
 
fi
21255
 
 
21256
 
    fi
21257
 
  fi
21258
 
 
21259
 
  # Check for libraries that X11R6 Xt/Xaw programs need.
21260
 
  ac_save_LDFLAGS=$LDFLAGS
21261
 
  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
21262
 
  # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
21263
 
  # check for ICE first), but we must link in the order -lSM -lICE or
21264
 
  # we get undefined symbols.  So assume we have SM if we have ICE.
21265
 
  # These have to be linked with before -lX11, unlike the other
21266
 
  # libraries we check for below, so use a different variable.
21267
 
  # John Interrante, Karl Berry
21268
 
  { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
21269
 
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
21270
 
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
21271
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21272
 
else
21273
 
  ac_check_lib_save_LIBS=$LIBS
21274
 
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
21275
 
cat >conftest.$ac_ext <<_ACEOF
21276
 
/* confdefs.h.  */
21277
 
_ACEOF
21278
 
cat confdefs.h >>conftest.$ac_ext
21279
 
cat >>conftest.$ac_ext <<_ACEOF
21280
 
/* end confdefs.h.  */
21281
 
 
21282
 
/* Override any GCC internal prototype to avoid an error.
21283
 
   Use char because int might match the return type of a GCC
21284
 
   builtin and then its argument prototype would still apply.  */
21285
 
#ifdef __cplusplus
21286
 
extern "C"
21287
 
#endif
21288
 
char IceConnectionNumber ();
21289
 
int
21290
 
main ()
21291
 
{
21292
 
return IceConnectionNumber ();
21293
 
  ;
21294
 
  return 0;
21295
 
}
21296
 
_ACEOF
21297
 
rm -f conftest.$ac_objext conftest$ac_exeext
21298
 
if { (ac_try="$ac_link"
21299
 
case "(($ac_try" in
21300
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21301
 
  *) ac_try_echo=$ac_try;;
21302
 
esac
21303
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21304
 
  (eval "$ac_link") 2>conftest.er1
21305
 
  ac_status=$?
21306
 
  grep -v '^ *+' conftest.er1 >conftest.err
21307
 
  rm -f conftest.er1
21308
 
  cat conftest.err >&5
21309
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21310
 
  (exit $ac_status); } && {
21311
 
         test -z "$ac_c_werror_flag" ||
21312
 
         test ! -s conftest.err
21313
 
       } && test -s conftest$ac_exeext &&
21314
 
       $as_test_x conftest$ac_exeext; then
21315
 
  ac_cv_lib_ICE_IceConnectionNumber=yes
21316
 
else
21317
 
  echo "$as_me: failed program was:" >&5
21318
 
sed 's/^/| /' conftest.$ac_ext >&5
21319
 
 
21320
 
        ac_cv_lib_ICE_IceConnectionNumber=no
21321
 
fi
21322
 
 
21323
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21324
 
      conftest$ac_exeext conftest.$ac_ext
21325
 
LIBS=$ac_check_lib_save_LIBS
21326
 
fi
21327
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
21328
 
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
21329
 
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
21330
 
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
21331
 
fi
21332
 
 
21333
 
  LDFLAGS=$ac_save_LDFLAGS
21334
 
 
21335
 
fi
21336
 
 
21337
 
 
21338
 
{ echo "$as_me:$LINENO: checking whether variable-length arrays are supported" >&5
21339
 
echo $ECHO_N "checking whether variable-length arrays are supported... $ECHO_C" >&6; }
21340
 
cat >conftest.$ac_ext <<_ACEOF
21341
 
/* confdefs.h.  */
21342
 
_ACEOF
21343
 
cat confdefs.h >>conftest.$ac_ext
21344
 
cat >>conftest.$ac_ext <<_ACEOF
21345
 
/* end confdefs.h.  */
21346
 
 
21347
 
int
21348
 
main ()
21349
 
{
21350
 
 
21351
 
        int n; int foo[n];
21352
 
 
21353
 
  ;
21354
 
  return 0;
21355
 
}
21356
 
_ACEOF
21357
 
rm -f conftest.$ac_objext
21358
 
if { (ac_try="$ac_compile"
21359
 
case "(($ac_try" in
21360
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21361
 
  *) ac_try_echo=$ac_try;;
21362
 
esac
21363
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21364
 
  (eval "$ac_compile") 2>conftest.er1
21365
 
  ac_status=$?
21366
 
  grep -v '^ *+' conftest.er1 >conftest.err
21367
 
  rm -f conftest.er1
21368
 
  cat conftest.err >&5
21369
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21370
 
  (exit $ac_status); } && {
21371
 
         test -z "$ac_c_werror_flag" ||
21372
 
         test ! -s conftest.err
21373
 
       } && test -s conftest.$ac_objext; then
21374
 
  { echo "$as_me:$LINENO: result: yes" >&5
21375
 
echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
21376
 
@%:@define HAVE_VLA 1
21377
 
_ACEOF
21378
 
 
21379
 
else
21380
 
  echo "$as_me: failed program was:" >&5
21381
 
sed 's/^/| /' conftest.$ac_ext >&5
21382
 
 
21383
 
        { echo "$as_me:$LINENO: result: no" >&5
21384
 
echo "${ECHO_T}no" >&6; }
21385
 
fi
21386
 
 
21387
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21388
 
 
21389
 
############################################################
21390
 
# Check for the IJG JPEG library.
21391
 
############################################################
21392
 
 
21393
 
# Allow the user to explicitly specify whether the JPEG library is present.
21394
 
# Check whether --enable-libjpeg was given.
21395
 
if test "${enable_libjpeg+set}" = set; then
21396
 
  enableval=$enable_libjpeg; 
21397
 
case "${enableval}" in
21398
 
yes)
21399
 
        ENABLE_LIBJPEG=yes;;
21400
 
no)
21401
 
        ENABLE_LIBJPEG=no;;
21402
 
*)
21403
 
        { { echo "$as_me:$LINENO: error: bad value ${enableval} for --disable-libjpeg" >&5
21404
 
echo "$as_me: error: bad value ${enableval} for --disable-libjpeg" >&2;}
21405
 
   { (exit 1); exit 1; }; }
21406
 
        ;;
21407
 
esac
21408
 
 
21409
 
else
21410
 
  ENABLE_LIBJPEG=yes
21411
 
fi
21412
 
 
21413
 
 
21414
 
HAVE_LIBJPEG=no
21415
 
if test $ENABLE_LIBJPEG = yes; then
21416
 
        # Check for the JPEG library.
21417
 
        { echo "$as_me:$LINENO: checking for jpeg_destroy in -ljpeg" >&5
21418
 
echo $ECHO_N "checking for jpeg_destroy in -ljpeg... $ECHO_C" >&6; }
21419
 
if test "${ac_cv_lib_jpeg_jpeg_destroy+set}" = set; then
21420
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21421
 
else
21422
 
  ac_check_lib_save_LIBS=$LIBS
21423
 
LIBS="-ljpeg  $LIBS"
21424
 
cat >conftest.$ac_ext <<_ACEOF
21425
 
/* confdefs.h.  */
21426
 
_ACEOF
21427
 
cat confdefs.h >>conftest.$ac_ext
21428
 
cat >>conftest.$ac_ext <<_ACEOF
21429
 
/* end confdefs.h.  */
21430
 
 
21431
 
/* Override any GCC internal prototype to avoid an error.
21432
 
   Use char because int might match the return type of a GCC
21433
 
   builtin and then its argument prototype would still apply.  */
21434
 
#ifdef __cplusplus
21435
 
extern "C"
21436
 
#endif
21437
 
char jpeg_destroy ();
21438
 
int
21439
 
main ()
21440
 
{
21441
 
return jpeg_destroy ();
21442
 
  ;
21443
 
  return 0;
21444
 
}
21445
 
_ACEOF
21446
 
rm -f conftest.$ac_objext conftest$ac_exeext
21447
 
if { (ac_try="$ac_link"
21448
 
case "(($ac_try" in
21449
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21450
 
  *) ac_try_echo=$ac_try;;
21451
 
esac
21452
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21453
 
  (eval "$ac_link") 2>conftest.er1
21454
 
  ac_status=$?
21455
 
  grep -v '^ *+' conftest.er1 >conftest.err
21456
 
  rm -f conftest.er1
21457
 
  cat conftest.err >&5
21458
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21459
 
  (exit $ac_status); } && {
21460
 
         test -z "$ac_c_werror_flag" ||
21461
 
         test ! -s conftest.err
21462
 
       } && test -s conftest$ac_exeext &&
21463
 
       $as_test_x conftest$ac_exeext; then
21464
 
  ac_cv_lib_jpeg_jpeg_destroy=yes
21465
 
else
21466
 
  echo "$as_me: failed program was:" >&5
21467
 
sed 's/^/| /' conftest.$ac_ext >&5
21468
 
 
21469
 
        ac_cv_lib_jpeg_jpeg_destroy=no
21470
 
fi
21471
 
 
21472
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21473
 
      conftest$ac_exeext conftest.$ac_ext
21474
 
LIBS=$ac_check_lib_save_LIBS
21475
 
fi
21476
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy" >&5
21477
 
echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy" >&6; }
21478
 
if test $ac_cv_lib_jpeg_jpeg_destroy = yes; then
21479
 
  HAVE_LIBJPEG=yes
21480
 
else
21481
 
  HAVE_LIBJPEG=no
21482
 
fi
21483
 
 
21484
 
        if test $HAVE_LIBJPEG = yes; then
21485
 
                LIBS="$LIBS -ljpeg"
21486
 
        fi
21487
 
fi
21488
 
 
21489
 
 
21490
 
if test $HAVE_LIBJPEG = yes; then
21491
 
  HAVE_LIBJPEG_TRUE=
21492
 
  HAVE_LIBJPEG_FALSE='#'
21493
 
else
21494
 
  HAVE_LIBJPEG_TRUE='#'
21495
 
  HAVE_LIBJPEG_FALSE=
21496
 
fi
21497
 
 
21498
 
 
21499
 
############################################################
21500
 
# Check for OpenGL libraries.
21501
 
############################################################
21502
 
 
21503
 
 
21504
 
# Check whether --with-glut-include-dir was given.
21505
 
if test "${with_glut_include_dir+set}" = set; then
21506
 
  withval=$with_glut_include_dir; 
21507
 
        case "$withval" in
21508
 
        /*)
21509
 
                CFLAGS="$CFLAGS -I$withval"
21510
 
                CPPFLAGS="$CPPFLAGS -I$withval";;
21511
 
        *)
21512
 
                { { echo "$as_me:$LINENO: error: --with-glut-include-dir requires absolute path" >&5
21513
 
echo "$as_me: error: --with-glut-include-dir requires absolute path" >&2;}
21514
 
   { (exit 1); exit 1; }; }
21515
 
                ;;
21516
 
        esac
21517
 
 
21518
 
fi
21519
 
 
21520
 
 
21521
 
# Check whether --with-glut-lib-dir was given.
21522
 
if test "${with_glut_lib_dir+set}" = set; then
21523
 
  withval=$with_glut_lib_dir; 
21524
 
        case "$withval" in
21525
 
        /*)
21526
 
                LIBS="$LIBS -L$withval";;
21527
 
        *)
21528
 
                { { echo "$as_me:$LINENO: error: --with-glut-lib-dir requires absolute path" >&5
21529
 
echo "$as_me: error: --with-glut-lib-dir requires absolute path" >&2;}
21530
 
   { (exit 1); exit 1; }; }
21531
 
                ;;
21532
 
        esac
21533
 
 
21534
 
fi
21535
 
 
21536
 
 
21537
 
# Check whether --enable-opengl was given.
21538
 
if test "${enable_opengl+set}" = set; then
21539
 
  enableval=$enable_opengl; 
21540
 
        case "$enableval" in
21541
 
        yes)
21542
 
                ENABLE_OPENGL=yes;;
21543
 
        no)
21544
 
                ENABLE_OPENGL=no;;
21545
 
        *)
21546
 
                { { echo "$as_me:$LINENO: error: bad value ${enableval} for --disable-libjpeg" >&5
21547
 
echo "$as_me: error: bad value ${enableval} for --disable-libjpeg" >&2;}
21548
 
   { (exit 1); exit 1; }; }
21549
 
                ;;
21550
 
        esac
21551
 
 
21552
 
else
21553
 
  ENABLE_OPENGL=yes
21554
 
fi
21555
 
 
21556
 
 
21557
 
HAVE_OPENGL=no
21558
 
OPENGL_LIBS=""
21559
 
if test $ENABLE_OPENGL = yes; then
21560
 
        if test $HAVE_OPENGL = no; then
21561
 
                TMPLIBS="-lglut -lGL -lGLU $X_PRE_LIBS -lX11 -lXmu -lXi -lXext -lXt $X_EXTRA_LIBS $X_LIBS"
21562
 
                { echo "$as_me:$LINENO: checking for glutInit in -lglut" >&5
21563
 
echo $ECHO_N "checking for glutInit in -lglut... $ECHO_C" >&6; }
21564
 
if test "${ac_cv_lib_glut_glutInit+set}" = set; then
21565
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21566
 
else
21567
 
  ac_check_lib_save_LIBS=$LIBS
21568
 
LIBS="-lglut $TMPLIBS $LIBS"
21569
 
cat >conftest.$ac_ext <<_ACEOF
21570
 
/* confdefs.h.  */
21571
 
_ACEOF
21572
 
cat confdefs.h >>conftest.$ac_ext
21573
 
cat >>conftest.$ac_ext <<_ACEOF
21574
 
/* end confdefs.h.  */
21575
 
 
21576
 
/* Override any GCC internal prototype to avoid an error.
21577
 
   Use char because int might match the return type of a GCC
21578
 
   builtin and then its argument prototype would still apply.  */
21579
 
#ifdef __cplusplus
21580
 
extern "C"
21581
 
#endif
21582
 
char glutInit ();
21583
 
int
21584
 
main ()
21585
 
{
21586
 
return glutInit ();
21587
 
  ;
21588
 
  return 0;
21589
 
}
21590
 
_ACEOF
21591
 
rm -f conftest.$ac_objext conftest$ac_exeext
21592
 
if { (ac_try="$ac_link"
21593
 
case "(($ac_try" in
21594
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21595
 
  *) ac_try_echo=$ac_try;;
21596
 
esac
21597
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21598
 
  (eval "$ac_link") 2>conftest.er1
21599
 
  ac_status=$?
21600
 
  grep -v '^ *+' conftest.er1 >conftest.err
21601
 
  rm -f conftest.er1
21602
 
  cat conftest.err >&5
21603
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604
 
  (exit $ac_status); } && {
21605
 
         test -z "$ac_c_werror_flag" ||
21606
 
         test ! -s conftest.err
21607
 
       } && test -s conftest$ac_exeext &&
21608
 
       $as_test_x conftest$ac_exeext; then
21609
 
  ac_cv_lib_glut_glutInit=yes
21610
 
else
21611
 
  echo "$as_me: failed program was:" >&5
21612
 
sed 's/^/| /' conftest.$ac_ext >&5
21613
 
 
21614
 
        ac_cv_lib_glut_glutInit=no
21615
 
fi
21616
 
 
21617
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21618
 
      conftest$ac_exeext conftest.$ac_ext
21619
 
LIBS=$ac_check_lib_save_LIBS
21620
 
fi
21621
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutInit" >&5
21622
 
echo "${ECHO_T}$ac_cv_lib_glut_glutInit" >&6; }
21623
 
if test $ac_cv_lib_glut_glutInit = yes; then
21624
 
  HAVE_OPENGL=yes;
21625
 
                  OPENGL_LIBS=$TMPLIBS
21626
 
else
21627
 
  HAVE_OPENGL=no
21628
 
fi
21629
 
 
21630
 
        fi
21631
 
        if test "${ac_cv_header_GL_glut_h+set}" = set; then
21632
 
  { echo "$as_me:$LINENO: checking for GL/glut.h" >&5
21633
 
echo $ECHO_N "checking for GL/glut.h... $ECHO_C" >&6; }
21634
 
if test "${ac_cv_header_GL_glut_h+set}" = set; then
21635
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21636
 
fi
21637
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
21638
 
echo "${ECHO_T}$ac_cv_header_GL_glut_h" >&6; }
21639
 
else
21640
 
  # Is the header compilable?
21641
 
{ echo "$as_me:$LINENO: checking GL/glut.h usability" >&5
21642
 
echo $ECHO_N "checking GL/glut.h usability... $ECHO_C" >&6; }
21643
 
cat >conftest.$ac_ext <<_ACEOF
21644
 
/* confdefs.h.  */
21645
 
_ACEOF
21646
 
cat confdefs.h >>conftest.$ac_ext
21647
 
cat >>conftest.$ac_ext <<_ACEOF
21648
 
/* end confdefs.h.  */
21649
 
$ac_includes_default
21650
 
@%:@include <GL/glut.h>
21651
 
_ACEOF
21652
 
rm -f conftest.$ac_objext
21653
 
if { (ac_try="$ac_compile"
21654
 
case "(($ac_try" in
21655
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21656
 
  *) ac_try_echo=$ac_try;;
21657
 
esac
21658
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21659
 
  (eval "$ac_compile") 2>conftest.er1
21660
 
  ac_status=$?
21661
 
  grep -v '^ *+' conftest.er1 >conftest.err
21662
 
  rm -f conftest.er1
21663
 
  cat conftest.err >&5
21664
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665
 
  (exit $ac_status); } && {
21666
 
         test -z "$ac_c_werror_flag" ||
21667
 
         test ! -s conftest.err
21668
 
       } && test -s conftest.$ac_objext; then
21669
 
  ac_header_compiler=yes
21670
 
else
21671
 
  echo "$as_me: failed program was:" >&5
21672
 
sed 's/^/| /' conftest.$ac_ext >&5
21673
 
 
21674
 
        ac_header_compiler=no
21675
 
fi
21676
 
 
21677
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21678
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21679
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
21680
 
 
21681
 
# Is the header present?
21682
 
{ echo "$as_me:$LINENO: checking GL/glut.h presence" >&5
21683
 
echo $ECHO_N "checking GL/glut.h presence... $ECHO_C" >&6; }
21684
 
cat >conftest.$ac_ext <<_ACEOF
21685
 
/* confdefs.h.  */
21686
 
_ACEOF
21687
 
cat confdefs.h >>conftest.$ac_ext
21688
 
cat >>conftest.$ac_ext <<_ACEOF
21689
 
/* end confdefs.h.  */
21690
 
@%:@include <GL/glut.h>
21691
 
_ACEOF
21692
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
21693
 
case "(($ac_try" in
21694
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21695
 
  *) ac_try_echo=$ac_try;;
21696
 
esac
21697
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21698
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21699
 
  ac_status=$?
21700
 
  grep -v '^ *+' conftest.er1 >conftest.err
21701
 
  rm -f conftest.er1
21702
 
  cat conftest.err >&5
21703
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21704
 
  (exit $ac_status); } >/dev/null && {
21705
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21706
 
         test ! -s conftest.err
21707
 
       }; then
21708
 
  ac_header_preproc=yes
21709
 
else
21710
 
  echo "$as_me: failed program was:" >&5
21711
 
sed 's/^/| /' conftest.$ac_ext >&5
21712
 
 
21713
 
  ac_header_preproc=no
21714
 
fi
21715
 
 
21716
 
rm -f conftest.err conftest.$ac_ext
21717
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21718
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
21719
 
 
21720
 
# So?  What about this header?
21721
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21722
 
  yes:no: )
21723
 
    { echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5
21724
 
echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21725
 
    { echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5
21726
 
echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;}
21727
 
    ac_header_preproc=yes
21728
 
    ;;
21729
 
  no:yes:* )
21730
 
    { echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5
21731
 
echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;}
21732
 
    { echo "$as_me:$LINENO: WARNING: GL/glut.h:     check for missing prerequisite headers?" >&5
21733
 
echo "$as_me: WARNING: GL/glut.h:     check for missing prerequisite headers?" >&2;}
21734
 
    { echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5
21735
 
echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;}
21736
 
    { echo "$as_me:$LINENO: WARNING: GL/glut.h:     section \"Present But Cannot Be Compiled\"" >&5
21737
 
echo "$as_me: WARNING: GL/glut.h:     section \"Present But Cannot Be Compiled\"" >&2;}
21738
 
    { echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5
21739
 
echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;}
21740
 
    { echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5
21741
 
echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;}
21742
 
    
21743
 
    ;;
21744
 
esac
21745
 
{ echo "$as_me:$LINENO: checking for GL/glut.h" >&5
21746
 
echo $ECHO_N "checking for GL/glut.h... $ECHO_C" >&6; }
21747
 
if test "${ac_cv_header_GL_glut_h+set}" = set; then
21748
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21749
 
else
21750
 
  ac_cv_header_GL_glut_h=$ac_header_preproc
21751
 
fi
21752
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
21753
 
echo "${ECHO_T}$ac_cv_header_GL_glut_h" >&6; }
21754
 
 
21755
 
fi
21756
 
if test $ac_cv_header_GL_glut_h = yes; then
21757
 
  :
21758
 
else
21759
 
  HAVE_OPENGL=no; OPENGL_LIBS="";
21760
 
fi
21761
 
 
21762
 
 
21763
 
fi
21764
 
 
21765
 
 
21766
 
 
21767
 
if test $HAVE_OPENGL = yes; then
21768
 
  HAVE_OPENGL_TRUE=
21769
 
  HAVE_OPENGL_FALSE='#'
21770
 
else
21771
 
  HAVE_OPENGL_TRUE='#'
21772
 
  HAVE_OPENGL_FALSE=
21773
 
fi
21774
 
 
21775
 
 
21776
 
{ echo "$as_me:$LINENO: checking whether OpenGL libraries and headers were detected" >&5
21777
 
echo $ECHO_N "checking whether OpenGL libraries and headers were detected... $ECHO_C" >&6; }
21778
 
{ echo "$as_me:$LINENO: result: $HAVE_OPENGL" >&5
21779
 
echo "${ECHO_T}$HAVE_OPENGL" >&6; }
21780
 
 
21781
 
############################################################
21782
 
# Check for SDL libraries.
21783
 
############################################################
21784
 
# Extract the first word of "sdl-config", so it can be a program name with args.
21785
 
set dummy sdl-config; ac_word=$2
21786
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21787
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21788
 
if test "${ac_cv_prog_HAVE_SDL+set}" = set; then
21789
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21790
 
else
21791
 
  if test -n "$HAVE_SDL"; then
21792
 
  ac_cv_prog_HAVE_SDL="$HAVE_SDL" # Let the user override the test.
21793
 
else
21794
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21795
 
for as_dir in $PATH
21796
 
do
21797
 
  IFS=$as_save_IFS
21798
 
  test -z "$as_dir" && as_dir=.
21799
 
  for ac_exec_ext in '' $ac_executable_extensions; do
21800
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21801
 
    ac_cv_prog_HAVE_SDL="yes"
21802
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21803
 
    break 2
21804
 
  fi
21805
 
done
21806
 
done
21807
 
IFS=$as_save_IFS
21808
 
 
21809
 
  test -z "$ac_cv_prog_HAVE_SDL" && ac_cv_prog_HAVE_SDL="no"
21810
 
fi
21811
 
fi
21812
 
HAVE_SDL=$ac_cv_prog_HAVE_SDL
21813
 
if test -n "$HAVE_SDL"; then
21814
 
  { echo "$as_me:$LINENO: result: $HAVE_SDL" >&5
21815
 
echo "${ECHO_T}$HAVE_SDL" >&6; }
21816
 
else
21817
 
  { echo "$as_me:$LINENO: result: no" >&5
21818
 
echo "${ECHO_T}no" >&6; }
21819
 
fi
21820
 
 
21821
 
 
21822
 
if test $HAVE_SDL = yes; then
21823
 
  SDL_CFLAGS=`sdl-config --cflags`
21824
 
  SDL_LIBS=`sdl-config --libs`
21825
 
fi
21826
 
 
21827
 
 
21828
 
if test $HAVE_SDL = yes; then
21829
 
  HAVE_SDL_TRUE=
21830
 
  HAVE_SDL_FALSE='#'
21831
 
else
21832
 
  HAVE_SDL_TRUE='#'
21833
 
  HAVE_SDL_FALSE=
21834
 
fi
21835
 
 
21836
 
 
21837
 
 
21838
 
 
21839
 
############################################################
21840
 
# Check for other libraries.
21841
 
############################################################
21842
 
 
21843
 
# Check for the math library.
21844
 
 
21845
 
{ echo "$as_me:$LINENO: checking for main in -lm" >&5
21846
 
echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
21847
 
if test "${ac_cv_lib_m_main+set}" = set; then
21848
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21849
 
else
21850
 
  ac_check_lib_save_LIBS=$LIBS
21851
 
LIBS="-lm  $LIBS"
21852
 
cat >conftest.$ac_ext <<_ACEOF
21853
 
/* confdefs.h.  */
21854
 
_ACEOF
21855
 
cat confdefs.h >>conftest.$ac_ext
21856
 
cat >>conftest.$ac_ext <<_ACEOF
21857
 
/* end confdefs.h.  */
21858
 
 
21859
 
 
21860
 
int
21861
 
main ()
21862
 
{
21863
 
return main ();
21864
 
  ;
21865
 
  return 0;
21866
 
}
21867
 
_ACEOF
21868
 
rm -f conftest.$ac_objext conftest$ac_exeext
21869
 
if { (ac_try="$ac_link"
21870
 
case "(($ac_try" in
21871
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21872
 
  *) ac_try_echo=$ac_try;;
21873
 
esac
21874
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21875
 
  (eval "$ac_link") 2>conftest.er1
21876
 
  ac_status=$?
21877
 
  grep -v '^ *+' conftest.er1 >conftest.err
21878
 
  rm -f conftest.er1
21879
 
  cat conftest.err >&5
21880
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21881
 
  (exit $ac_status); } && {
21882
 
         test -z "$ac_c_werror_flag" ||
21883
 
         test ! -s conftest.err
21884
 
       } && test -s conftest$ac_exeext &&
21885
 
       $as_test_x conftest$ac_exeext; then
21886
 
  ac_cv_lib_m_main=yes
21887
 
else
21888
 
  echo "$as_me: failed program was:" >&5
21889
 
sed 's/^/| /' conftest.$ac_ext >&5
21890
 
 
21891
 
        ac_cv_lib_m_main=no
21892
 
fi
21893
 
 
21894
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21895
 
      conftest$ac_exeext conftest.$ac_ext
21896
 
LIBS=$ac_check_lib_save_LIBS
21897
 
fi
21898
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
21899
 
echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
21900
 
if test $ac_cv_lib_m_main = yes; then
21901
 
  cat >>confdefs.h <<_ACEOF
21902
 
@%:@define HAVE_LIBM 1
21903
 
_ACEOF
21904
 
 
21905
 
  LIBS="-lm $LIBS"
21906
 
 
21907
 
fi
21908
 
 
21909
 
 
21910
 
############################################################
21911
 
# Check for header files.
21912
 
############################################################
21913
 
 
21914
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21915
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21916
 
if test "${ac_cv_header_stdc+set}" = set; then
21917
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21918
 
else
21919
 
  cat >conftest.$ac_ext <<_ACEOF
21920
 
/* confdefs.h.  */
21921
 
_ACEOF
21922
 
cat confdefs.h >>conftest.$ac_ext
21923
 
cat >>conftest.$ac_ext <<_ACEOF
21924
 
/* end confdefs.h.  */
21925
 
#include <stdlib.h>
21926
 
#include <stdarg.h>
21927
 
#include <string.h>
21928
 
#include <float.h>
21929
 
 
21930
 
int
21931
 
main ()
21932
 
{
21933
 
 
21934
 
  ;
21935
 
  return 0;
21936
 
}
21937
 
_ACEOF
21938
 
rm -f conftest.$ac_objext
21939
 
if { (ac_try="$ac_compile"
21940
 
case "(($ac_try" in
21941
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21942
 
  *) ac_try_echo=$ac_try;;
21943
 
esac
21944
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21945
 
  (eval "$ac_compile") 2>conftest.er1
21946
 
  ac_status=$?
21947
 
  grep -v '^ *+' conftest.er1 >conftest.err
21948
 
  rm -f conftest.er1
21949
 
  cat conftest.err >&5
21950
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21951
 
  (exit $ac_status); } && {
21952
 
         test -z "$ac_c_werror_flag" ||
21953
 
         test ! -s conftest.err
21954
 
       } && test -s conftest.$ac_objext; then
21955
 
  ac_cv_header_stdc=yes
21956
 
else
21957
 
  echo "$as_me: failed program was:" >&5
21958
 
sed 's/^/| /' conftest.$ac_ext >&5
21959
 
 
21960
 
        ac_cv_header_stdc=no
21961
 
fi
21962
 
 
21963
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21964
 
 
21965
 
if test $ac_cv_header_stdc = yes; then
21966
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21967
 
  cat >conftest.$ac_ext <<_ACEOF
21968
 
/* confdefs.h.  */
21969
 
_ACEOF
21970
 
cat confdefs.h >>conftest.$ac_ext
21971
 
cat >>conftest.$ac_ext <<_ACEOF
21972
 
/* end confdefs.h.  */
21973
 
#include <string.h>
21974
 
 
21975
 
_ACEOF
21976
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21977
 
  $EGREP "memchr" >/dev/null 2>&1; then
21978
 
  :
21979
 
else
21980
 
  ac_cv_header_stdc=no
21981
 
fi
21982
 
rm -f conftest*
21983
 
 
21984
 
fi
21985
 
 
21986
 
if test $ac_cv_header_stdc = yes; then
21987
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21988
 
  cat >conftest.$ac_ext <<_ACEOF
21989
 
/* confdefs.h.  */
21990
 
_ACEOF
21991
 
cat confdefs.h >>conftest.$ac_ext
21992
 
cat >>conftest.$ac_ext <<_ACEOF
21993
 
/* end confdefs.h.  */
21994
 
#include <stdlib.h>
21995
 
 
21996
 
_ACEOF
21997
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21998
 
  $EGREP "free" >/dev/null 2>&1; then
21999
 
  :
22000
 
else
22001
 
  ac_cv_header_stdc=no
22002
 
fi
22003
 
rm -f conftest*
22004
 
 
22005
 
fi
22006
 
 
22007
 
if test $ac_cv_header_stdc = yes; then
22008
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
22009
 
  if test "$cross_compiling" = yes; then
22010
 
  :
22011
 
else
22012
 
  cat >conftest.$ac_ext <<_ACEOF
22013
 
/* confdefs.h.  */
22014
 
_ACEOF
22015
 
cat confdefs.h >>conftest.$ac_ext
22016
 
cat >>conftest.$ac_ext <<_ACEOF
22017
 
/* end confdefs.h.  */
22018
 
#include <ctype.h>
22019
 
#include <stdlib.h>
22020
 
#if ((' ' & 0x0FF) == 0x020)
22021
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
22022
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
22023
 
#else
22024
 
# define ISLOWER(c) \
22025
 
                   (('a' <= (c) && (c) <= 'i') \
22026
 
                     || ('j' <= (c) && (c) <= 'r') \
22027
 
                     || ('s' <= (c) && (c) <= 'z'))
22028
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
22029
 
#endif
22030
 
 
22031
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
22032
 
int
22033
 
main ()
22034
 
{
22035
 
  int i;
22036
 
  for (i = 0; i < 256; i++)
22037
 
    if (XOR (islower (i), ISLOWER (i))
22038
 
        || toupper (i) != TOUPPER (i))
22039
 
      return 2;
22040
 
  return 0;
22041
 
}
22042
 
_ACEOF
22043
 
rm -f conftest$ac_exeext
22044
 
if { (ac_try="$ac_link"
22045
 
case "(($ac_try" in
22046
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22047
 
  *) ac_try_echo=$ac_try;;
22048
 
esac
22049
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22050
 
  (eval "$ac_link") 2>&5
22051
 
  ac_status=$?
22052
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22053
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22054
 
  { (case "(($ac_try" in
22055
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22056
 
  *) ac_try_echo=$ac_try;;
22057
 
esac
22058
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22059
 
  (eval "$ac_try") 2>&5
22060
 
  ac_status=$?
22061
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22062
 
  (exit $ac_status); }; }; then
22063
 
  :
22064
 
else
22065
 
  echo "$as_me: program exited with status $ac_status" >&5
22066
 
echo "$as_me: failed program was:" >&5
22067
 
sed 's/^/| /' conftest.$ac_ext >&5
22068
 
 
22069
 
( exit $ac_status )
22070
 
ac_cv_header_stdc=no
22071
 
fi
22072
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22073
 
fi
22074
 
 
22075
 
 
22076
 
fi
22077
 
fi
22078
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
22079
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
22080
 
if test $ac_cv_header_stdc = yes; then
22081
 
  
22082
 
cat >>confdefs.h <<\_ACEOF
22083
 
@%:@define STDC_HEADERS 1
22084
 
_ACEOF
22085
 
 
22086
 
fi
22087
 
 
22088
 
 
22089
 
 
22090
 
 
22091
 
 
22092
 
 
22093
 
 
22094
 
 
22095
 
 
22096
 
 
22097
 
 
22098
 
for ac_header in fcntl.h limits.h unistd.h stdint.h stdbool.h io.h windows.h sys/types.h stdlib.h stddef.h
22099
 
do
22100
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22101
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22102
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
22103
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22104
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22105
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22106
 
fi
22107
 
ac_res=`eval echo '${'$as_ac_Header'}'`
22108
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22109
 
echo "${ECHO_T}$ac_res" >&6; }
22110
 
else
22111
 
  # Is the header compilable?
22112
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
22113
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22114
 
cat >conftest.$ac_ext <<_ACEOF
22115
 
/* confdefs.h.  */
22116
 
_ACEOF
22117
 
cat confdefs.h >>conftest.$ac_ext
22118
 
cat >>conftest.$ac_ext <<_ACEOF
22119
 
/* end confdefs.h.  */
22120
 
$ac_includes_default
22121
 
@%:@include <$ac_header>
22122
 
_ACEOF
22123
 
rm -f conftest.$ac_objext
22124
 
if { (ac_try="$ac_compile"
22125
 
case "(($ac_try" in
22126
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22127
 
  *) ac_try_echo=$ac_try;;
22128
 
esac
22129
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22130
 
  (eval "$ac_compile") 2>conftest.er1
22131
 
  ac_status=$?
22132
 
  grep -v '^ *+' conftest.er1 >conftest.err
22133
 
  rm -f conftest.er1
22134
 
  cat conftest.err >&5
22135
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22136
 
  (exit $ac_status); } && {
22137
 
         test -z "$ac_c_werror_flag" ||
22138
 
         test ! -s conftest.err
22139
 
       } && test -s conftest.$ac_objext; then
22140
 
  ac_header_compiler=yes
22141
 
else
22142
 
  echo "$as_me: failed program was:" >&5
22143
 
sed 's/^/| /' conftest.$ac_ext >&5
22144
 
 
22145
 
        ac_header_compiler=no
22146
 
fi
22147
 
 
22148
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22149
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22150
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
22151
 
 
22152
 
# Is the header present?
22153
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
22154
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22155
 
cat >conftest.$ac_ext <<_ACEOF
22156
 
/* confdefs.h.  */
22157
 
_ACEOF
22158
 
cat confdefs.h >>conftest.$ac_ext
22159
 
cat >>conftest.$ac_ext <<_ACEOF
22160
 
/* end confdefs.h.  */
22161
 
@%:@include <$ac_header>
22162
 
_ACEOF
22163
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
22164
 
case "(($ac_try" in
22165
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22166
 
  *) ac_try_echo=$ac_try;;
22167
 
esac
22168
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22169
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22170
 
  ac_status=$?
22171
 
  grep -v '^ *+' conftest.er1 >conftest.err
22172
 
  rm -f conftest.er1
22173
 
  cat conftest.err >&5
22174
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22175
 
  (exit $ac_status); } >/dev/null && {
22176
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22177
 
         test ! -s conftest.err
22178
 
       }; then
22179
 
  ac_header_preproc=yes
22180
 
else
22181
 
  echo "$as_me: failed program was:" >&5
22182
 
sed 's/^/| /' conftest.$ac_ext >&5
22183
 
 
22184
 
  ac_header_preproc=no
22185
 
fi
22186
 
 
22187
 
rm -f conftest.err conftest.$ac_ext
22188
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22189
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
22190
 
 
22191
 
# So?  What about this header?
22192
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22193
 
  yes:no: )
22194
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22195
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22196
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22197
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22198
 
    ac_header_preproc=yes
22199
 
    ;;
22200
 
  no:yes:* )
22201
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22202
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22203
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
22204
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
22205
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22206
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22207
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
22208
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
22209
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22210
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22211
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22212
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22213
 
    
22214
 
    ;;
22215
 
esac
22216
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
22217
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22218
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22219
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22220
 
else
22221
 
  eval "$as_ac_Header=\$ac_header_preproc"
22222
 
fi
22223
 
ac_res=`eval echo '${'$as_ac_Header'}'`
22224
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22225
 
echo "${ECHO_T}$ac_res" >&6; }
22226
 
 
22227
 
fi
22228
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
22229
 
  cat >>confdefs.h <<_ACEOF
22230
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22231
 
_ACEOF
22232
 
 
22233
 
fi
22234
 
 
22235
 
done
22236
 
 
22237
 
 
22238
 
############################################################
22239
 
# Check for typedefs, structures, and compiler characteristics.
22240
 
############################################################
22241
 
 
22242
 
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22243
 
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22244
 
if test "${ac_cv_c_bigendian+set}" = set; then
22245
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22246
 
else
22247
 
  # See if sys/param.h defines the BYTE_ORDER macro.
22248
 
cat >conftest.$ac_ext <<_ACEOF
22249
 
/* confdefs.h.  */
22250
 
_ACEOF
22251
 
cat confdefs.h >>conftest.$ac_ext
22252
 
cat >>conftest.$ac_ext <<_ACEOF
22253
 
/* end confdefs.h.  */
22254
 
#include <sys/types.h>
22255
 
#include <sys/param.h>
22256
 
 
22257
 
int
22258
 
main ()
22259
 
{
22260
 
#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
22261
 
        && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
22262
 
 bogus endian macros
22263
 
#endif
22264
 
 
22265
 
  ;
22266
 
  return 0;
22267
 
}
22268
 
_ACEOF
22269
 
rm -f conftest.$ac_objext
22270
 
if { (ac_try="$ac_compile"
22271
 
case "(($ac_try" in
22272
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22273
 
  *) ac_try_echo=$ac_try;;
22274
 
esac
22275
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22276
 
  (eval "$ac_compile") 2>conftest.er1
22277
 
  ac_status=$?
22278
 
  grep -v '^ *+' conftest.er1 >conftest.err
22279
 
  rm -f conftest.er1
22280
 
  cat conftest.err >&5
22281
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22282
 
  (exit $ac_status); } && {
22283
 
         test -z "$ac_c_werror_flag" ||
22284
 
         test ! -s conftest.err
22285
 
       } && test -s conftest.$ac_objext; then
22286
 
  # It does; now see whether it defined to BIG_ENDIAN or not.
22287
 
cat >conftest.$ac_ext <<_ACEOF
22288
 
/* confdefs.h.  */
22289
 
_ACEOF
22290
 
cat confdefs.h >>conftest.$ac_ext
22291
 
cat >>conftest.$ac_ext <<_ACEOF
22292
 
/* end confdefs.h.  */
22293
 
#include <sys/types.h>
22294
 
#include <sys/param.h>
22295
 
 
22296
 
int
22297
 
main ()
22298
 
{
22299
 
#if BYTE_ORDER != BIG_ENDIAN
22300
 
 not big endian
22301
 
#endif
22302
 
 
22303
 
  ;
22304
 
  return 0;
22305
 
}
22306
 
_ACEOF
22307
 
rm -f conftest.$ac_objext
22308
 
if { (ac_try="$ac_compile"
22309
 
case "(($ac_try" in
22310
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22311
 
  *) ac_try_echo=$ac_try;;
22312
 
esac
22313
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22314
 
  (eval "$ac_compile") 2>conftest.er1
22315
 
  ac_status=$?
22316
 
  grep -v '^ *+' conftest.er1 >conftest.err
22317
 
  rm -f conftest.er1
22318
 
  cat conftest.err >&5
22319
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22320
 
  (exit $ac_status); } && {
22321
 
         test -z "$ac_c_werror_flag" ||
22322
 
         test ! -s conftest.err
22323
 
       } && test -s conftest.$ac_objext; then
22324
 
  ac_cv_c_bigendian=yes
22325
 
else
22326
 
  echo "$as_me: failed program was:" >&5
22327
 
sed 's/^/| /' conftest.$ac_ext >&5
22328
 
 
22329
 
        ac_cv_c_bigendian=no
22330
 
fi
22331
 
 
22332
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22333
 
else
22334
 
  echo "$as_me: failed program was:" >&5
22335
 
sed 's/^/| /' conftest.$ac_ext >&5
22336
 
 
22337
 
        # It does not; compile a test program.
22338
 
if test "$cross_compiling" = yes; then
22339
 
  # try to guess the endianness by grepping values into an object file
22340
 
  ac_cv_c_bigendian=unknown
22341
 
  cat >conftest.$ac_ext <<_ACEOF
22342
 
/* confdefs.h.  */
22343
 
_ACEOF
22344
 
cat confdefs.h >>conftest.$ac_ext
22345
 
cat >>conftest.$ac_ext <<_ACEOF
22346
 
/* end confdefs.h.  */
22347
 
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
22348
 
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
22349
 
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
22350
 
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
22351
 
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
22352
 
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
22353
 
int
22354
 
main ()
22355
 
{
22356
 
 _ascii (); _ebcdic (); 
22357
 
  ;
22358
 
  return 0;
22359
 
}
22360
 
_ACEOF
22361
 
rm -f conftest.$ac_objext
22362
 
if { (ac_try="$ac_compile"
22363
 
case "(($ac_try" in
22364
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22365
 
  *) ac_try_echo=$ac_try;;
22366
 
esac
22367
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22368
 
  (eval "$ac_compile") 2>conftest.er1
22369
 
  ac_status=$?
22370
 
  grep -v '^ *+' conftest.er1 >conftest.err
22371
 
  rm -f conftest.er1
22372
 
  cat conftest.err >&5
22373
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22374
 
  (exit $ac_status); } && {
22375
 
         test -z "$ac_c_werror_flag" ||
22376
 
         test ! -s conftest.err
22377
 
       } && test -s conftest.$ac_objext; then
22378
 
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
22379
 
  ac_cv_c_bigendian=yes
22380
 
fi
22381
 
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
22382
 
  if test "$ac_cv_c_bigendian" = unknown; then
22383
 
    ac_cv_c_bigendian=no
22384
 
  else
22385
 
    # finding both strings is unlikely to happen, but who knows?
22386
 
    ac_cv_c_bigendian=unknown
22387
 
  fi
22388
 
fi
22389
 
else
22390
 
  echo "$as_me: failed program was:" >&5
22391
 
sed 's/^/| /' conftest.$ac_ext >&5
22392
 
 
22393
 
        
22394
 
fi
22395
 
 
22396
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22397
 
else
22398
 
  cat >conftest.$ac_ext <<_ACEOF
22399
 
/* confdefs.h.  */
22400
 
_ACEOF
22401
 
cat confdefs.h >>conftest.$ac_ext
22402
 
cat >>conftest.$ac_ext <<_ACEOF
22403
 
/* end confdefs.h.  */
22404
 
$ac_includes_default
22405
 
int
22406
 
main ()
22407
 
{
22408
 
 
22409
 
  /* Are we little or big endian?  From Harbison&Steele.  */
22410
 
  union
22411
 
  {
22412
 
    long int l;
22413
 
    char c[sizeof (long int)];
22414
 
  } u;
22415
 
  u.l = 1;
22416
 
  return u.c[sizeof (long int) - 1] == 1;
22417
 
 
22418
 
  ;
22419
 
  return 0;
22420
 
}
22421
 
_ACEOF
22422
 
rm -f conftest$ac_exeext
22423
 
if { (ac_try="$ac_link"
22424
 
case "(($ac_try" in
22425
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22426
 
  *) ac_try_echo=$ac_try;;
22427
 
esac
22428
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22429
 
  (eval "$ac_link") 2>&5
22430
 
  ac_status=$?
22431
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22432
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22433
 
  { (case "(($ac_try" in
22434
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22435
 
  *) ac_try_echo=$ac_try;;
22436
 
esac
22437
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22438
 
  (eval "$ac_try") 2>&5
22439
 
  ac_status=$?
22440
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22441
 
  (exit $ac_status); }; }; then
22442
 
  ac_cv_c_bigendian=no
22443
 
else
22444
 
  echo "$as_me: program exited with status $ac_status" >&5
22445
 
echo "$as_me: failed program was:" >&5
22446
 
sed 's/^/| /' conftest.$ac_ext >&5
22447
 
 
22448
 
( exit $ac_status )
22449
 
ac_cv_c_bigendian=yes
22450
 
fi
22451
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22452
 
fi
22453
 
 
22454
 
 
22455
 
fi
22456
 
 
22457
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22458
 
fi
22459
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22460
 
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
22461
 
case $ac_cv_c_bigendian in
22462
 
  yes)
22463
 
    
22464
 
cat >>confdefs.h <<\_ACEOF
22465
 
@%:@define WORDS_BIGENDIAN 1
22466
 
_ACEOF
22467
 
 ;;
22468
 
  no)
22469
 
     ;;
22470
 
  *)
22471
 
    { { echo "$as_me:$LINENO: error: unknown endianness
22472
 
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
22473
 
echo "$as_me: error: unknown endianness
22474
 
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
22475
 
   { (exit 1); exit 1; }; } ;;
22476
 
esac
22477
 
 
22478
 
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
22479
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
22480
 
if test "${ac_cv_c_const+set}" = set; then
22481
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22482
 
else
22483
 
  cat >conftest.$ac_ext <<_ACEOF
22484
 
/* confdefs.h.  */
22485
 
_ACEOF
22486
 
cat confdefs.h >>conftest.$ac_ext
22487
 
cat >>conftest.$ac_ext <<_ACEOF
22488
 
/* end confdefs.h.  */
22489
 
 
22490
 
int
22491
 
main ()
22492
 
{
22493
 
/* FIXME: Include the comments suggested by Paul. */
22494
 
#ifndef __cplusplus
22495
 
  /* Ultrix mips cc rejects this.  */
22496
 
  typedef int charset[2];
22497
 
  const charset cs;
22498
 
  /* SunOS 4.1.1 cc rejects this.  */
22499
 
  char const *const *pcpcc;
22500
 
  char **ppc;
22501
 
  /* NEC SVR4.0.2 mips cc rejects this.  */
22502
 
  struct point {int x, y;};
22503
 
  static struct point const zero = {0,0};
22504
 
  /* AIX XL C 1.02.0.0 rejects this.
22505
 
     It does not let you subtract one const X* pointer from another in
22506
 
     an arm of an if-expression whose if-part is not a constant
22507
 
     expression */
22508
 
  const char *g = "string";
22509
 
  pcpcc = &g + (g ? g-g : 0);
22510
 
  /* HPUX 7.0 cc rejects these. */
22511
 
  ++pcpcc;
22512
 
  ppc = (char**) pcpcc;
22513
 
  pcpcc = (char const *const *) ppc;
22514
 
  { /* SCO 3.2v4 cc rejects this.  */
22515
 
    char *t;
22516
 
    char const *s = 0 ? (char *) 0 : (char const *) 0;
22517
 
 
22518
 
    *t++ = 0;
22519
 
    if (s) return 0;
22520
 
  }
22521
 
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
22522
 
    int x[] = {25, 17};
22523
 
    const int *foo = &x[0];
22524
 
    ++foo;
22525
 
  }
22526
 
  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
22527
 
    typedef const int *iptr;
22528
 
    iptr p = 0;
22529
 
    ++p;
22530
 
  }
22531
 
  { /* AIX XL C 1.02.0.0 rejects this saying
22532
 
       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
22533
 
    struct s { int j; const int *ap[3]; };
22534
 
    struct s *b; b->j = 5;
22535
 
  }
22536
 
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
22537
 
    const int foo = 10;
22538
 
    if (!foo) return 0;
22539
 
  }
22540
 
  return !cs[0] && !zero.x;
22541
 
#endif
22542
 
 
22543
 
  ;
22544
 
  return 0;
22545
 
}
22546
 
_ACEOF
22547
 
rm -f conftest.$ac_objext
22548
 
if { (ac_try="$ac_compile"
22549
 
case "(($ac_try" in
22550
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22551
 
  *) ac_try_echo=$ac_try;;
22552
 
esac
22553
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22554
 
  (eval "$ac_compile") 2>conftest.er1
22555
 
  ac_status=$?
22556
 
  grep -v '^ *+' conftest.er1 >conftest.err
22557
 
  rm -f conftest.er1
22558
 
  cat conftest.err >&5
22559
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22560
 
  (exit $ac_status); } && {
22561
 
         test -z "$ac_c_werror_flag" ||
22562
 
         test ! -s conftest.err
22563
 
       } && test -s conftest.$ac_objext; then
22564
 
  ac_cv_c_const=yes
22565
 
else
22566
 
  echo "$as_me: failed program was:" >&5
22567
 
sed 's/^/| /' conftest.$ac_ext >&5
22568
 
 
22569
 
        ac_cv_c_const=no
22570
 
fi
22571
 
 
22572
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22573
 
fi
22574
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
22575
 
echo "${ECHO_T}$ac_cv_c_const" >&6; }
22576
 
if test $ac_cv_c_const = no; then
22577
 
  
22578
 
cat >>confdefs.h <<\_ACEOF
22579
 
@%:@define const 
22580
 
_ACEOF
22581
 
 
22582
 
fi
22583
 
 
22584
 
{ echo "$as_me:$LINENO: checking for inline" >&5
22585
 
echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
22586
 
if test "${ac_cv_c_inline+set}" = set; then
22587
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22588
 
else
22589
 
  ac_cv_c_inline=no
22590
 
for ac_kw in inline __inline__ __inline; do
22591
 
  cat >conftest.$ac_ext <<_ACEOF
22592
 
/* confdefs.h.  */
22593
 
_ACEOF
22594
 
cat confdefs.h >>conftest.$ac_ext
22595
 
cat >>conftest.$ac_ext <<_ACEOF
22596
 
/* end confdefs.h.  */
22597
 
#ifndef __cplusplus
22598
 
typedef int foo_t;
22599
 
static $ac_kw foo_t static_foo () {return 0; }
22600
 
$ac_kw foo_t foo () {return 0; }
22601
 
#endif
22602
 
 
22603
 
_ACEOF
22604
 
rm -f conftest.$ac_objext
22605
 
if { (ac_try="$ac_compile"
22606
 
case "(($ac_try" in
22607
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22608
 
  *) ac_try_echo=$ac_try;;
22609
 
esac
22610
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22611
 
  (eval "$ac_compile") 2>conftest.er1
22612
 
  ac_status=$?
22613
 
  grep -v '^ *+' conftest.er1 >conftest.err
22614
 
  rm -f conftest.er1
22615
 
  cat conftest.err >&5
22616
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617
 
  (exit $ac_status); } && {
22618
 
         test -z "$ac_c_werror_flag" ||
22619
 
         test ! -s conftest.err
22620
 
       } && test -s conftest.$ac_objext; then
22621
 
  ac_cv_c_inline=$ac_kw
22622
 
else
22623
 
  echo "$as_me: failed program was:" >&5
22624
 
sed 's/^/| /' conftest.$ac_ext >&5
22625
 
 
22626
 
        
22627
 
fi
22628
 
 
22629
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22630
 
  test "$ac_cv_c_inline" != no && break
22631
 
done
22632
 
 
22633
 
fi
22634
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
22635
 
echo "${ECHO_T}$ac_cv_c_inline" >&6; }
22636
 
 
22637
 
 
22638
 
case $ac_cv_c_inline in
22639
 
  inline | yes) ;;
22640
 
  *)
22641
 
    case $ac_cv_c_inline in
22642
 
      no) ac_val=;;
22643
 
      *) ac_val=$ac_cv_c_inline;;
22644
 
    esac
22645
 
    cat >>confdefs.h <<_ACEOF
22646
 
#ifndef __cplusplus
22647
 
#define inline $ac_val
22648
 
#endif
22649
 
_ACEOF
22650
 
    ;;
22651
 
esac
22652
 
 
22653
 
{ echo "$as_me:$LINENO: checking for size_t" >&5
22654
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22655
 
if test "${ac_cv_type_size_t+set}" = set; then
22656
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22657
 
else
22658
 
  cat >conftest.$ac_ext <<_ACEOF
22659
 
/* confdefs.h.  */
22660
 
_ACEOF
22661
 
cat confdefs.h >>conftest.$ac_ext
22662
 
cat >>conftest.$ac_ext <<_ACEOF
22663
 
/* end confdefs.h.  */
22664
 
$ac_includes_default
22665
 
typedef size_t ac__type_new_;
22666
 
int
22667
 
main ()
22668
 
{
22669
 
if ((ac__type_new_ *) 0)
22670
 
  return 0;
22671
 
if (sizeof (ac__type_new_))
22672
 
  return 0;
22673
 
  ;
22674
 
  return 0;
22675
 
}
22676
 
_ACEOF
22677
 
rm -f conftest.$ac_objext
22678
 
if { (ac_try="$ac_compile"
22679
 
case "(($ac_try" in
22680
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22681
 
  *) ac_try_echo=$ac_try;;
22682
 
esac
22683
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22684
 
  (eval "$ac_compile") 2>conftest.er1
22685
 
  ac_status=$?
22686
 
  grep -v '^ *+' conftest.er1 >conftest.err
22687
 
  rm -f conftest.er1
22688
 
  cat conftest.err >&5
22689
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22690
 
  (exit $ac_status); } && {
22691
 
         test -z "$ac_c_werror_flag" ||
22692
 
         test ! -s conftest.err
22693
 
       } && test -s conftest.$ac_objext; then
22694
 
  ac_cv_type_size_t=yes
22695
 
else
22696
 
  echo "$as_me: failed program was:" >&5
22697
 
sed 's/^/| /' conftest.$ac_ext >&5
22698
 
 
22699
 
        ac_cv_type_size_t=no
22700
 
fi
22701
 
 
22702
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22703
 
fi
22704
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22705
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22706
 
if test $ac_cv_type_size_t = yes; then
22707
 
  :
22708
 
else
22709
 
  
22710
 
cat >>confdefs.h <<_ACEOF
22711
 
@%:@define size_t unsigned int
22712
 
_ACEOF
22713
 
 
22714
 
fi
22715
 
 
22716
 
{ echo "$as_me:$LINENO: checking for short" >&5
22717
 
echo $ECHO_N "checking for short... $ECHO_C" >&6; }
22718
 
if test "${ac_cv_type_short+set}" = set; then
22719
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22720
 
else
22721
 
  cat >conftest.$ac_ext <<_ACEOF
22722
 
/* confdefs.h.  */
22723
 
_ACEOF
22724
 
cat confdefs.h >>conftest.$ac_ext
22725
 
cat >>conftest.$ac_ext <<_ACEOF
22726
 
/* end confdefs.h.  */
22727
 
$ac_includes_default
22728
 
typedef short ac__type_new_;
22729
 
int
22730
 
main ()
22731
 
{
22732
 
if ((ac__type_new_ *) 0)
22733
 
  return 0;
22734
 
if (sizeof (ac__type_new_))
22735
 
  return 0;
22736
 
  ;
22737
 
  return 0;
22738
 
}
22739
 
_ACEOF
22740
 
rm -f conftest.$ac_objext
22741
 
if { (ac_try="$ac_compile"
22742
 
case "(($ac_try" in
22743
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22744
 
  *) ac_try_echo=$ac_try;;
22745
 
esac
22746
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22747
 
  (eval "$ac_compile") 2>conftest.er1
22748
 
  ac_status=$?
22749
 
  grep -v '^ *+' conftest.er1 >conftest.err
22750
 
  rm -f conftest.er1
22751
 
  cat conftest.err >&5
22752
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22753
 
  (exit $ac_status); } && {
22754
 
         test -z "$ac_c_werror_flag" ||
22755
 
         test ! -s conftest.err
22756
 
       } && test -s conftest.$ac_objext; then
22757
 
  ac_cv_type_short=yes
22758
 
else
22759
 
  echo "$as_me: failed program was:" >&5
22760
 
sed 's/^/| /' conftest.$ac_ext >&5
22761
 
 
22762
 
        ac_cv_type_short=no
22763
 
fi
22764
 
 
22765
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22766
 
fi
22767
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
22768
 
echo "${ECHO_T}$ac_cv_type_short" >&6; }
22769
 
 
22770
 
# The cast to long int works around a bug in the HP C Compiler
22771
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22772
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22773
 
# This bug is HP SR number 8606223364.
22774
 
{ echo "$as_me:$LINENO: checking size of short" >&5
22775
 
echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
22776
 
if test "${ac_cv_sizeof_short+set}" = set; then
22777
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22778
 
else
22779
 
  if test "$cross_compiling" = yes; then
22780
 
  # Depending upon the size, compute the lo and hi bounds.
22781
 
cat >conftest.$ac_ext <<_ACEOF
22782
 
/* confdefs.h.  */
22783
 
_ACEOF
22784
 
cat confdefs.h >>conftest.$ac_ext
22785
 
cat >>conftest.$ac_ext <<_ACEOF
22786
 
/* end confdefs.h.  */
22787
 
$ac_includes_default
22788
 
   typedef short ac__type_sizeof_;
22789
 
int
22790
 
main ()
22791
 
{
22792
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
22793
 
test_array @<:@0@:>@ = 0
22794
 
 
22795
 
  ;
22796
 
  return 0;
22797
 
}
22798
 
_ACEOF
22799
 
rm -f conftest.$ac_objext
22800
 
if { (ac_try="$ac_compile"
22801
 
case "(($ac_try" in
22802
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22803
 
  *) ac_try_echo=$ac_try;;
22804
 
esac
22805
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22806
 
  (eval "$ac_compile") 2>conftest.er1
22807
 
  ac_status=$?
22808
 
  grep -v '^ *+' conftest.er1 >conftest.err
22809
 
  rm -f conftest.er1
22810
 
  cat conftest.err >&5
22811
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22812
 
  (exit $ac_status); } && {
22813
 
         test -z "$ac_c_werror_flag" ||
22814
 
         test ! -s conftest.err
22815
 
       } && test -s conftest.$ac_objext; then
22816
 
  ac_lo=0 ac_mid=0
22817
 
  while :; do
22818
 
    cat >conftest.$ac_ext <<_ACEOF
22819
 
/* confdefs.h.  */
22820
 
_ACEOF
22821
 
cat confdefs.h >>conftest.$ac_ext
22822
 
cat >>conftest.$ac_ext <<_ACEOF
22823
 
/* end confdefs.h.  */
22824
 
$ac_includes_default
22825
 
   typedef short ac__type_sizeof_;
22826
 
int
22827
 
main ()
22828
 
{
22829
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
22830
 
test_array @<:@0@:>@ = 0
22831
 
 
22832
 
  ;
22833
 
  return 0;
22834
 
}
22835
 
_ACEOF
22836
 
rm -f conftest.$ac_objext
22837
 
if { (ac_try="$ac_compile"
22838
 
case "(($ac_try" in
22839
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22840
 
  *) ac_try_echo=$ac_try;;
22841
 
esac
22842
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22843
 
  (eval "$ac_compile") 2>conftest.er1
22844
 
  ac_status=$?
22845
 
  grep -v '^ *+' conftest.er1 >conftest.err
22846
 
  rm -f conftest.er1
22847
 
  cat conftest.err >&5
22848
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22849
 
  (exit $ac_status); } && {
22850
 
         test -z "$ac_c_werror_flag" ||
22851
 
         test ! -s conftest.err
22852
 
       } && test -s conftest.$ac_objext; then
22853
 
  ac_hi=$ac_mid; break
22854
 
else
22855
 
  echo "$as_me: failed program was:" >&5
22856
 
sed 's/^/| /' conftest.$ac_ext >&5
22857
 
 
22858
 
        ac_lo=`expr $ac_mid + 1`
22859
 
                        if test $ac_lo -le $ac_mid; then
22860
 
                          ac_lo= ac_hi=
22861
 
                          break
22862
 
                        fi
22863
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
22864
 
fi
22865
 
 
22866
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22867
 
  done
22868
 
else
22869
 
  echo "$as_me: failed program was:" >&5
22870
 
sed 's/^/| /' conftest.$ac_ext >&5
22871
 
 
22872
 
        cat >conftest.$ac_ext <<_ACEOF
22873
 
/* confdefs.h.  */
22874
 
_ACEOF
22875
 
cat confdefs.h >>conftest.$ac_ext
22876
 
cat >>conftest.$ac_ext <<_ACEOF
22877
 
/* end confdefs.h.  */
22878
 
$ac_includes_default
22879
 
   typedef short ac__type_sizeof_;
22880
 
int
22881
 
main ()
22882
 
{
22883
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
22884
 
test_array @<:@0@:>@ = 0
22885
 
 
22886
 
  ;
22887
 
  return 0;
22888
 
}
22889
 
_ACEOF
22890
 
rm -f conftest.$ac_objext
22891
 
if { (ac_try="$ac_compile"
22892
 
case "(($ac_try" in
22893
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22894
 
  *) ac_try_echo=$ac_try;;
22895
 
esac
22896
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22897
 
  (eval "$ac_compile") 2>conftest.er1
22898
 
  ac_status=$?
22899
 
  grep -v '^ *+' conftest.er1 >conftest.err
22900
 
  rm -f conftest.er1
22901
 
  cat conftest.err >&5
22902
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22903
 
  (exit $ac_status); } && {
22904
 
         test -z "$ac_c_werror_flag" ||
22905
 
         test ! -s conftest.err
22906
 
       } && test -s conftest.$ac_objext; then
22907
 
  ac_hi=-1 ac_mid=-1
22908
 
  while :; do
22909
 
    cat >conftest.$ac_ext <<_ACEOF
22910
 
/* confdefs.h.  */
22911
 
_ACEOF
22912
 
cat confdefs.h >>conftest.$ac_ext
22913
 
cat >>conftest.$ac_ext <<_ACEOF
22914
 
/* end confdefs.h.  */
22915
 
$ac_includes_default
22916
 
   typedef short ac__type_sizeof_;
22917
 
int
22918
 
main ()
22919
 
{
22920
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
22921
 
test_array @<:@0@:>@ = 0
22922
 
 
22923
 
  ;
22924
 
  return 0;
22925
 
}
22926
 
_ACEOF
22927
 
rm -f conftest.$ac_objext
22928
 
if { (ac_try="$ac_compile"
22929
 
case "(($ac_try" in
22930
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22931
 
  *) ac_try_echo=$ac_try;;
22932
 
esac
22933
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22934
 
  (eval "$ac_compile") 2>conftest.er1
22935
 
  ac_status=$?
22936
 
  grep -v '^ *+' conftest.er1 >conftest.err
22937
 
  rm -f conftest.er1
22938
 
  cat conftest.err >&5
22939
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22940
 
  (exit $ac_status); } && {
22941
 
         test -z "$ac_c_werror_flag" ||
22942
 
         test ! -s conftest.err
22943
 
       } && test -s conftest.$ac_objext; then
22944
 
  ac_lo=$ac_mid; break
22945
 
else
22946
 
  echo "$as_me: failed program was:" >&5
22947
 
sed 's/^/| /' conftest.$ac_ext >&5
22948
 
 
22949
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
22950
 
                        if test $ac_mid -le $ac_hi; then
22951
 
                          ac_lo= ac_hi=
22952
 
                          break
22953
 
                        fi
22954
 
                        ac_mid=`expr 2 '*' $ac_mid`
22955
 
fi
22956
 
 
22957
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22958
 
  done
22959
 
else
22960
 
  echo "$as_me: failed program was:" >&5
22961
 
sed 's/^/| /' conftest.$ac_ext >&5
22962
 
 
22963
 
        ac_lo= ac_hi=
22964
 
fi
22965
 
 
22966
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22967
 
fi
22968
 
 
22969
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22970
 
# Binary search between lo and hi bounds.
22971
 
while test "x$ac_lo" != "x$ac_hi"; do
22972
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22973
 
  cat >conftest.$ac_ext <<_ACEOF
22974
 
/* confdefs.h.  */
22975
 
_ACEOF
22976
 
cat confdefs.h >>conftest.$ac_ext
22977
 
cat >>conftest.$ac_ext <<_ACEOF
22978
 
/* end confdefs.h.  */
22979
 
$ac_includes_default
22980
 
   typedef short ac__type_sizeof_;
22981
 
int
22982
 
main ()
22983
 
{
22984
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
22985
 
test_array @<:@0@:>@ = 0
22986
 
 
22987
 
  ;
22988
 
  return 0;
22989
 
}
22990
 
_ACEOF
22991
 
rm -f conftest.$ac_objext
22992
 
if { (ac_try="$ac_compile"
22993
 
case "(($ac_try" in
22994
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22995
 
  *) ac_try_echo=$ac_try;;
22996
 
esac
22997
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22998
 
  (eval "$ac_compile") 2>conftest.er1
22999
 
  ac_status=$?
23000
 
  grep -v '^ *+' conftest.er1 >conftest.err
23001
 
  rm -f conftest.er1
23002
 
  cat conftest.err >&5
23003
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23004
 
  (exit $ac_status); } && {
23005
 
         test -z "$ac_c_werror_flag" ||
23006
 
         test ! -s conftest.err
23007
 
       } && test -s conftest.$ac_objext; then
23008
 
  ac_hi=$ac_mid
23009
 
else
23010
 
  echo "$as_me: failed program was:" >&5
23011
 
sed 's/^/| /' conftest.$ac_ext >&5
23012
 
 
23013
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
23014
 
fi
23015
 
 
23016
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23017
 
done
23018
 
case $ac_lo in
23019
 
?*) ac_cv_sizeof_short=$ac_lo;;
23020
 
'') if test "$ac_cv_type_short" = yes; then
23021
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
23022
 
See \`config.log' for more details." >&5
23023
 
echo "$as_me: error: cannot compute sizeof (short)
23024
 
See \`config.log' for more details." >&2;}
23025
 
   { (exit 77); exit 77; }; }
23026
 
   else
23027
 
     ac_cv_sizeof_short=0
23028
 
   fi ;;
23029
 
esac
23030
 
else
23031
 
  cat >conftest.$ac_ext <<_ACEOF
23032
 
/* confdefs.h.  */
23033
 
_ACEOF
23034
 
cat confdefs.h >>conftest.$ac_ext
23035
 
cat >>conftest.$ac_ext <<_ACEOF
23036
 
/* end confdefs.h.  */
23037
 
$ac_includes_default
23038
 
   typedef short ac__type_sizeof_;
23039
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23040
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23041
 
@%:@include <stdio.h>
23042
 
@%:@include <stdlib.h>
23043
 
int
23044
 
main ()
23045
 
{
23046
 
 
23047
 
  FILE *f = fopen ("conftest.val", "w");
23048
 
  if (! f)
23049
 
    return 1;
23050
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23051
 
    {
23052
 
      long int i = longval ();
23053
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
23054
 
        return 1;
23055
 
      fprintf (f, "%ld\n", i);
23056
 
    }
23057
 
  else
23058
 
    {
23059
 
      unsigned long int i = ulongval ();
23060
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
23061
 
        return 1;
23062
 
      fprintf (f, "%lu\n", i);
23063
 
    }
23064
 
  return ferror (f) || fclose (f) != 0;
23065
 
 
23066
 
  ;
23067
 
  return 0;
23068
 
}
23069
 
_ACEOF
23070
 
rm -f conftest$ac_exeext
23071
 
if { (ac_try="$ac_link"
23072
 
case "(($ac_try" in
23073
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23074
 
  *) ac_try_echo=$ac_try;;
23075
 
esac
23076
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23077
 
  (eval "$ac_link") 2>&5
23078
 
  ac_status=$?
23079
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23081
 
  { (case "(($ac_try" in
23082
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23083
 
  *) ac_try_echo=$ac_try;;
23084
 
esac
23085
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23086
 
  (eval "$ac_try") 2>&5
23087
 
  ac_status=$?
23088
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23089
 
  (exit $ac_status); }; }; then
23090
 
  ac_cv_sizeof_short=`cat conftest.val`
23091
 
else
23092
 
  echo "$as_me: program exited with status $ac_status" >&5
23093
 
echo "$as_me: failed program was:" >&5
23094
 
sed 's/^/| /' conftest.$ac_ext >&5
23095
 
 
23096
 
( exit $ac_status )
23097
 
if test "$ac_cv_type_short" = yes; then
23098
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
23099
 
See \`config.log' for more details." >&5
23100
 
echo "$as_me: error: cannot compute sizeof (short)
23101
 
See \`config.log' for more details." >&2;}
23102
 
   { (exit 77); exit 77; }; }
23103
 
   else
23104
 
     ac_cv_sizeof_short=0
23105
 
   fi
23106
 
fi
23107
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23108
 
fi
23109
 
rm -f conftest.val
23110
 
fi
23111
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
23112
 
echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
23113
 
 
23114
 
 
23115
 
 
23116
 
cat >>confdefs.h <<_ACEOF
23117
 
@%:@define SIZEOF_SHORT $ac_cv_sizeof_short
23118
 
_ACEOF
23119
 
 
23120
 
 
23121
 
{ echo "$as_me:$LINENO: checking for unsigned short" >&5
23122
 
echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6; }
23123
 
if test "${ac_cv_type_unsigned_short+set}" = set; then
23124
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23125
 
else
23126
 
  cat >conftest.$ac_ext <<_ACEOF
23127
 
/* confdefs.h.  */
23128
 
_ACEOF
23129
 
cat confdefs.h >>conftest.$ac_ext
23130
 
cat >>conftest.$ac_ext <<_ACEOF
23131
 
/* end confdefs.h.  */
23132
 
$ac_includes_default
23133
 
typedef unsigned short ac__type_new_;
23134
 
int
23135
 
main ()
23136
 
{
23137
 
if ((ac__type_new_ *) 0)
23138
 
  return 0;
23139
 
if (sizeof (ac__type_new_))
23140
 
  return 0;
23141
 
  ;
23142
 
  return 0;
23143
 
}
23144
 
_ACEOF
23145
 
rm -f conftest.$ac_objext
23146
 
if { (ac_try="$ac_compile"
23147
 
case "(($ac_try" in
23148
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23149
 
  *) ac_try_echo=$ac_try;;
23150
 
esac
23151
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23152
 
  (eval "$ac_compile") 2>conftest.er1
23153
 
  ac_status=$?
23154
 
  grep -v '^ *+' conftest.er1 >conftest.err
23155
 
  rm -f conftest.er1
23156
 
  cat conftest.err >&5
23157
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23158
 
  (exit $ac_status); } && {
23159
 
         test -z "$ac_c_werror_flag" ||
23160
 
         test ! -s conftest.err
23161
 
       } && test -s conftest.$ac_objext; then
23162
 
  ac_cv_type_unsigned_short=yes
23163
 
else
23164
 
  echo "$as_me: failed program was:" >&5
23165
 
sed 's/^/| /' conftest.$ac_ext >&5
23166
 
 
23167
 
        ac_cv_type_unsigned_short=no
23168
 
fi
23169
 
 
23170
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23171
 
fi
23172
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5
23173
 
echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6; }
23174
 
 
23175
 
# The cast to long int works around a bug in the HP C Compiler
23176
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23177
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23178
 
# This bug is HP SR number 8606223364.
23179
 
{ echo "$as_me:$LINENO: checking size of unsigned short" >&5
23180
 
echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6; }
23181
 
if test "${ac_cv_sizeof_unsigned_short+set}" = set; then
23182
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23183
 
else
23184
 
  if test "$cross_compiling" = yes; then
23185
 
  # Depending upon the size, compute the lo and hi bounds.
23186
 
cat >conftest.$ac_ext <<_ACEOF
23187
 
/* confdefs.h.  */
23188
 
_ACEOF
23189
 
cat confdefs.h >>conftest.$ac_ext
23190
 
cat >>conftest.$ac_ext <<_ACEOF
23191
 
/* end confdefs.h.  */
23192
 
$ac_includes_default
23193
 
   typedef unsigned short ac__type_sizeof_;
23194
 
int
23195
 
main ()
23196
 
{
23197
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
23198
 
test_array @<:@0@:>@ = 0
23199
 
 
23200
 
  ;
23201
 
  return 0;
23202
 
}
23203
 
_ACEOF
23204
 
rm -f conftest.$ac_objext
23205
 
if { (ac_try="$ac_compile"
23206
 
case "(($ac_try" in
23207
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23208
 
  *) ac_try_echo=$ac_try;;
23209
 
esac
23210
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23211
 
  (eval "$ac_compile") 2>conftest.er1
23212
 
  ac_status=$?
23213
 
  grep -v '^ *+' conftest.er1 >conftest.err
23214
 
  rm -f conftest.er1
23215
 
  cat conftest.err >&5
23216
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23217
 
  (exit $ac_status); } && {
23218
 
         test -z "$ac_c_werror_flag" ||
23219
 
         test ! -s conftest.err
23220
 
       } && test -s conftest.$ac_objext; then
23221
 
  ac_lo=0 ac_mid=0
23222
 
  while :; do
23223
 
    cat >conftest.$ac_ext <<_ACEOF
23224
 
/* confdefs.h.  */
23225
 
_ACEOF
23226
 
cat confdefs.h >>conftest.$ac_ext
23227
 
cat >>conftest.$ac_ext <<_ACEOF
23228
 
/* end confdefs.h.  */
23229
 
$ac_includes_default
23230
 
   typedef unsigned short ac__type_sizeof_;
23231
 
int
23232
 
main ()
23233
 
{
23234
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
23235
 
test_array @<:@0@:>@ = 0
23236
 
 
23237
 
  ;
23238
 
  return 0;
23239
 
}
23240
 
_ACEOF
23241
 
rm -f conftest.$ac_objext
23242
 
if { (ac_try="$ac_compile"
23243
 
case "(($ac_try" in
23244
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23245
 
  *) ac_try_echo=$ac_try;;
23246
 
esac
23247
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23248
 
  (eval "$ac_compile") 2>conftest.er1
23249
 
  ac_status=$?
23250
 
  grep -v '^ *+' conftest.er1 >conftest.err
23251
 
  rm -f conftest.er1
23252
 
  cat conftest.err >&5
23253
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23254
 
  (exit $ac_status); } && {
23255
 
         test -z "$ac_c_werror_flag" ||
23256
 
         test ! -s conftest.err
23257
 
       } && test -s conftest.$ac_objext; then
23258
 
  ac_hi=$ac_mid; break
23259
 
else
23260
 
  echo "$as_me: failed program was:" >&5
23261
 
sed 's/^/| /' conftest.$ac_ext >&5
23262
 
 
23263
 
        ac_lo=`expr $ac_mid + 1`
23264
 
                        if test $ac_lo -le $ac_mid; then
23265
 
                          ac_lo= ac_hi=
23266
 
                          break
23267
 
                        fi
23268
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
23269
 
fi
23270
 
 
23271
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23272
 
  done
23273
 
else
23274
 
  echo "$as_me: failed program was:" >&5
23275
 
sed 's/^/| /' conftest.$ac_ext >&5
23276
 
 
23277
 
        cat >conftest.$ac_ext <<_ACEOF
23278
 
/* confdefs.h.  */
23279
 
_ACEOF
23280
 
cat confdefs.h >>conftest.$ac_ext
23281
 
cat >>conftest.$ac_ext <<_ACEOF
23282
 
/* end confdefs.h.  */
23283
 
$ac_includes_default
23284
 
   typedef unsigned short ac__type_sizeof_;
23285
 
int
23286
 
main ()
23287
 
{
23288
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
23289
 
test_array @<:@0@:>@ = 0
23290
 
 
23291
 
  ;
23292
 
  return 0;
23293
 
}
23294
 
_ACEOF
23295
 
rm -f conftest.$ac_objext
23296
 
if { (ac_try="$ac_compile"
23297
 
case "(($ac_try" in
23298
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23299
 
  *) ac_try_echo=$ac_try;;
23300
 
esac
23301
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23302
 
  (eval "$ac_compile") 2>conftest.er1
23303
 
  ac_status=$?
23304
 
  grep -v '^ *+' conftest.er1 >conftest.err
23305
 
  rm -f conftest.er1
23306
 
  cat conftest.err >&5
23307
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23308
 
  (exit $ac_status); } && {
23309
 
         test -z "$ac_c_werror_flag" ||
23310
 
         test ! -s conftest.err
23311
 
       } && test -s conftest.$ac_objext; then
23312
 
  ac_hi=-1 ac_mid=-1
23313
 
  while :; do
23314
 
    cat >conftest.$ac_ext <<_ACEOF
23315
 
/* confdefs.h.  */
23316
 
_ACEOF
23317
 
cat confdefs.h >>conftest.$ac_ext
23318
 
cat >>conftest.$ac_ext <<_ACEOF
23319
 
/* end confdefs.h.  */
23320
 
$ac_includes_default
23321
 
   typedef unsigned short ac__type_sizeof_;
23322
 
int
23323
 
main ()
23324
 
{
23325
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
23326
 
test_array @<:@0@:>@ = 0
23327
 
 
23328
 
  ;
23329
 
  return 0;
23330
 
}
23331
 
_ACEOF
23332
 
rm -f conftest.$ac_objext
23333
 
if { (ac_try="$ac_compile"
23334
 
case "(($ac_try" in
23335
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23336
 
  *) ac_try_echo=$ac_try;;
23337
 
esac
23338
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23339
 
  (eval "$ac_compile") 2>conftest.er1
23340
 
  ac_status=$?
23341
 
  grep -v '^ *+' conftest.er1 >conftest.err
23342
 
  rm -f conftest.er1
23343
 
  cat conftest.err >&5
23344
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23345
 
  (exit $ac_status); } && {
23346
 
         test -z "$ac_c_werror_flag" ||
23347
 
         test ! -s conftest.err
23348
 
       } && test -s conftest.$ac_objext; then
23349
 
  ac_lo=$ac_mid; break
23350
 
else
23351
 
  echo "$as_me: failed program was:" >&5
23352
 
sed 's/^/| /' conftest.$ac_ext >&5
23353
 
 
23354
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
23355
 
                        if test $ac_mid -le $ac_hi; then
23356
 
                          ac_lo= ac_hi=
23357
 
                          break
23358
 
                        fi
23359
 
                        ac_mid=`expr 2 '*' $ac_mid`
23360
 
fi
23361
 
 
23362
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23363
 
  done
23364
 
else
23365
 
  echo "$as_me: failed program was:" >&5
23366
 
sed 's/^/| /' conftest.$ac_ext >&5
23367
 
 
23368
 
        ac_lo= ac_hi=
23369
 
fi
23370
 
 
23371
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23372
 
fi
23373
 
 
23374
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23375
 
# Binary search between lo and hi bounds.
23376
 
while test "x$ac_lo" != "x$ac_hi"; do
23377
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23378
 
  cat >conftest.$ac_ext <<_ACEOF
23379
 
/* confdefs.h.  */
23380
 
_ACEOF
23381
 
cat confdefs.h >>conftest.$ac_ext
23382
 
cat >>conftest.$ac_ext <<_ACEOF
23383
 
/* end confdefs.h.  */
23384
 
$ac_includes_default
23385
 
   typedef unsigned short ac__type_sizeof_;
23386
 
int
23387
 
main ()
23388
 
{
23389
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
23390
 
test_array @<:@0@:>@ = 0
23391
 
 
23392
 
  ;
23393
 
  return 0;
23394
 
}
23395
 
_ACEOF
23396
 
rm -f conftest.$ac_objext
23397
 
if { (ac_try="$ac_compile"
23398
 
case "(($ac_try" in
23399
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23400
 
  *) ac_try_echo=$ac_try;;
23401
 
esac
23402
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23403
 
  (eval "$ac_compile") 2>conftest.er1
23404
 
  ac_status=$?
23405
 
  grep -v '^ *+' conftest.er1 >conftest.err
23406
 
  rm -f conftest.er1
23407
 
  cat conftest.err >&5
23408
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23409
 
  (exit $ac_status); } && {
23410
 
         test -z "$ac_c_werror_flag" ||
23411
 
         test ! -s conftest.err
23412
 
       } && test -s conftest.$ac_objext; then
23413
 
  ac_hi=$ac_mid
23414
 
else
23415
 
  echo "$as_me: failed program was:" >&5
23416
 
sed 's/^/| /' conftest.$ac_ext >&5
23417
 
 
23418
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
23419
 
fi
23420
 
 
23421
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23422
 
done
23423
 
case $ac_lo in
23424
 
?*) ac_cv_sizeof_unsigned_short=$ac_lo;;
23425
 
'') if test "$ac_cv_type_unsigned_short" = yes; then
23426
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
23427
 
See \`config.log' for more details." >&5
23428
 
echo "$as_me: error: cannot compute sizeof (unsigned short)
23429
 
See \`config.log' for more details." >&2;}
23430
 
   { (exit 77); exit 77; }; }
23431
 
   else
23432
 
     ac_cv_sizeof_unsigned_short=0
23433
 
   fi ;;
23434
 
esac
23435
 
else
23436
 
  cat >conftest.$ac_ext <<_ACEOF
23437
 
/* confdefs.h.  */
23438
 
_ACEOF
23439
 
cat confdefs.h >>conftest.$ac_ext
23440
 
cat >>conftest.$ac_ext <<_ACEOF
23441
 
/* end confdefs.h.  */
23442
 
$ac_includes_default
23443
 
   typedef unsigned short ac__type_sizeof_;
23444
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23445
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23446
 
@%:@include <stdio.h>
23447
 
@%:@include <stdlib.h>
23448
 
int
23449
 
main ()
23450
 
{
23451
 
 
23452
 
  FILE *f = fopen ("conftest.val", "w");
23453
 
  if (! f)
23454
 
    return 1;
23455
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23456
 
    {
23457
 
      long int i = longval ();
23458
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
23459
 
        return 1;
23460
 
      fprintf (f, "%ld\n", i);
23461
 
    }
23462
 
  else
23463
 
    {
23464
 
      unsigned long int i = ulongval ();
23465
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
23466
 
        return 1;
23467
 
      fprintf (f, "%lu\n", i);
23468
 
    }
23469
 
  return ferror (f) || fclose (f) != 0;
23470
 
 
23471
 
  ;
23472
 
  return 0;
23473
 
}
23474
 
_ACEOF
23475
 
rm -f conftest$ac_exeext
23476
 
if { (ac_try="$ac_link"
23477
 
case "(($ac_try" in
23478
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23479
 
  *) ac_try_echo=$ac_try;;
23480
 
esac
23481
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23482
 
  (eval "$ac_link") 2>&5
23483
 
  ac_status=$?
23484
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23485
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23486
 
  { (case "(($ac_try" in
23487
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23488
 
  *) ac_try_echo=$ac_try;;
23489
 
esac
23490
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23491
 
  (eval "$ac_try") 2>&5
23492
 
  ac_status=$?
23493
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23494
 
  (exit $ac_status); }; }; then
23495
 
  ac_cv_sizeof_unsigned_short=`cat conftest.val`
23496
 
else
23497
 
  echo "$as_me: program exited with status $ac_status" >&5
23498
 
echo "$as_me: failed program was:" >&5
23499
 
sed 's/^/| /' conftest.$ac_ext >&5
23500
 
 
23501
 
( exit $ac_status )
23502
 
if test "$ac_cv_type_unsigned_short" = yes; then
23503
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
23504
 
See \`config.log' for more details." >&5
23505
 
echo "$as_me: error: cannot compute sizeof (unsigned short)
23506
 
See \`config.log' for more details." >&2;}
23507
 
   { (exit 77); exit 77; }; }
23508
 
   else
23509
 
     ac_cv_sizeof_unsigned_short=0
23510
 
   fi
23511
 
fi
23512
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23513
 
fi
23514
 
rm -f conftest.val
23515
 
fi
23516
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5
23517
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6; }
23518
 
 
23519
 
 
23520
 
 
23521
 
cat >>confdefs.h <<_ACEOF
23522
 
@%:@define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
23523
 
_ACEOF
23524
 
 
23525
 
 
23526
 
{ echo "$as_me:$LINENO: checking for int" >&5
23527
 
echo $ECHO_N "checking for int... $ECHO_C" >&6; }
23528
 
if test "${ac_cv_type_int+set}" = set; then
23529
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23530
 
else
23531
 
  cat >conftest.$ac_ext <<_ACEOF
23532
 
/* confdefs.h.  */
23533
 
_ACEOF
23534
 
cat confdefs.h >>conftest.$ac_ext
23535
 
cat >>conftest.$ac_ext <<_ACEOF
23536
 
/* end confdefs.h.  */
23537
 
$ac_includes_default
23538
 
typedef int ac__type_new_;
23539
 
int
23540
 
main ()
23541
 
{
23542
 
if ((ac__type_new_ *) 0)
23543
 
  return 0;
23544
 
if (sizeof (ac__type_new_))
23545
 
  return 0;
23546
 
  ;
23547
 
  return 0;
23548
 
}
23549
 
_ACEOF
23550
 
rm -f conftest.$ac_objext
23551
 
if { (ac_try="$ac_compile"
23552
 
case "(($ac_try" in
23553
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23554
 
  *) ac_try_echo=$ac_try;;
23555
 
esac
23556
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23557
 
  (eval "$ac_compile") 2>conftest.er1
23558
 
  ac_status=$?
23559
 
  grep -v '^ *+' conftest.er1 >conftest.err
23560
 
  rm -f conftest.er1
23561
 
  cat conftest.err >&5
23562
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23563
 
  (exit $ac_status); } && {
23564
 
         test -z "$ac_c_werror_flag" ||
23565
 
         test ! -s conftest.err
23566
 
       } && test -s conftest.$ac_objext; then
23567
 
  ac_cv_type_int=yes
23568
 
else
23569
 
  echo "$as_me: failed program was:" >&5
23570
 
sed 's/^/| /' conftest.$ac_ext >&5
23571
 
 
23572
 
        ac_cv_type_int=no
23573
 
fi
23574
 
 
23575
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23576
 
fi
23577
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
23578
 
echo "${ECHO_T}$ac_cv_type_int" >&6; }
23579
 
 
23580
 
# The cast to long int works around a bug in the HP C Compiler
23581
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23582
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23583
 
# This bug is HP SR number 8606223364.
23584
 
{ echo "$as_me:$LINENO: checking size of int" >&5
23585
 
echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
23586
 
if test "${ac_cv_sizeof_int+set}" = set; then
23587
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23588
 
else
23589
 
  if test "$cross_compiling" = yes; then
23590
 
  # Depending upon the size, compute the lo and hi bounds.
23591
 
cat >conftest.$ac_ext <<_ACEOF
23592
 
/* confdefs.h.  */
23593
 
_ACEOF
23594
 
cat confdefs.h >>conftest.$ac_ext
23595
 
cat >>conftest.$ac_ext <<_ACEOF
23596
 
/* end confdefs.h.  */
23597
 
$ac_includes_default
23598
 
   typedef int ac__type_sizeof_;
23599
 
int
23600
 
main ()
23601
 
{
23602
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
23603
 
test_array @<:@0@:>@ = 0
23604
 
 
23605
 
  ;
23606
 
  return 0;
23607
 
}
23608
 
_ACEOF
23609
 
rm -f conftest.$ac_objext
23610
 
if { (ac_try="$ac_compile"
23611
 
case "(($ac_try" in
23612
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23613
 
  *) ac_try_echo=$ac_try;;
23614
 
esac
23615
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23616
 
  (eval "$ac_compile") 2>conftest.er1
23617
 
  ac_status=$?
23618
 
  grep -v '^ *+' conftest.er1 >conftest.err
23619
 
  rm -f conftest.er1
23620
 
  cat conftest.err >&5
23621
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23622
 
  (exit $ac_status); } && {
23623
 
         test -z "$ac_c_werror_flag" ||
23624
 
         test ! -s conftest.err
23625
 
       } && test -s conftest.$ac_objext; then
23626
 
  ac_lo=0 ac_mid=0
23627
 
  while :; do
23628
 
    cat >conftest.$ac_ext <<_ACEOF
23629
 
/* confdefs.h.  */
23630
 
_ACEOF
23631
 
cat confdefs.h >>conftest.$ac_ext
23632
 
cat >>conftest.$ac_ext <<_ACEOF
23633
 
/* end confdefs.h.  */
23634
 
$ac_includes_default
23635
 
   typedef int ac__type_sizeof_;
23636
 
int
23637
 
main ()
23638
 
{
23639
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
23640
 
test_array @<:@0@:>@ = 0
23641
 
 
23642
 
  ;
23643
 
  return 0;
23644
 
}
23645
 
_ACEOF
23646
 
rm -f conftest.$ac_objext
23647
 
if { (ac_try="$ac_compile"
23648
 
case "(($ac_try" in
23649
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23650
 
  *) ac_try_echo=$ac_try;;
23651
 
esac
23652
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23653
 
  (eval "$ac_compile") 2>conftest.er1
23654
 
  ac_status=$?
23655
 
  grep -v '^ *+' conftest.er1 >conftest.err
23656
 
  rm -f conftest.er1
23657
 
  cat conftest.err >&5
23658
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23659
 
  (exit $ac_status); } && {
23660
 
         test -z "$ac_c_werror_flag" ||
23661
 
         test ! -s conftest.err
23662
 
       } && test -s conftest.$ac_objext; then
23663
 
  ac_hi=$ac_mid; break
23664
 
else
23665
 
  echo "$as_me: failed program was:" >&5
23666
 
sed 's/^/| /' conftest.$ac_ext >&5
23667
 
 
23668
 
        ac_lo=`expr $ac_mid + 1`
23669
 
                        if test $ac_lo -le $ac_mid; then
23670
 
                          ac_lo= ac_hi=
23671
 
                          break
23672
 
                        fi
23673
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
23674
 
fi
23675
 
 
23676
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23677
 
  done
23678
 
else
23679
 
  echo "$as_me: failed program was:" >&5
23680
 
sed 's/^/| /' conftest.$ac_ext >&5
23681
 
 
23682
 
        cat >conftest.$ac_ext <<_ACEOF
23683
 
/* confdefs.h.  */
23684
 
_ACEOF
23685
 
cat confdefs.h >>conftest.$ac_ext
23686
 
cat >>conftest.$ac_ext <<_ACEOF
23687
 
/* end confdefs.h.  */
23688
 
$ac_includes_default
23689
 
   typedef int ac__type_sizeof_;
23690
 
int
23691
 
main ()
23692
 
{
23693
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
23694
 
test_array @<:@0@:>@ = 0
23695
 
 
23696
 
  ;
23697
 
  return 0;
23698
 
}
23699
 
_ACEOF
23700
 
rm -f conftest.$ac_objext
23701
 
if { (ac_try="$ac_compile"
23702
 
case "(($ac_try" in
23703
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23704
 
  *) ac_try_echo=$ac_try;;
23705
 
esac
23706
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23707
 
  (eval "$ac_compile") 2>conftest.er1
23708
 
  ac_status=$?
23709
 
  grep -v '^ *+' conftest.er1 >conftest.err
23710
 
  rm -f conftest.er1
23711
 
  cat conftest.err >&5
23712
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23713
 
  (exit $ac_status); } && {
23714
 
         test -z "$ac_c_werror_flag" ||
23715
 
         test ! -s conftest.err
23716
 
       } && test -s conftest.$ac_objext; then
23717
 
  ac_hi=-1 ac_mid=-1
23718
 
  while :; do
23719
 
    cat >conftest.$ac_ext <<_ACEOF
23720
 
/* confdefs.h.  */
23721
 
_ACEOF
23722
 
cat confdefs.h >>conftest.$ac_ext
23723
 
cat >>conftest.$ac_ext <<_ACEOF
23724
 
/* end confdefs.h.  */
23725
 
$ac_includes_default
23726
 
   typedef int ac__type_sizeof_;
23727
 
int
23728
 
main ()
23729
 
{
23730
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
23731
 
test_array @<:@0@:>@ = 0
23732
 
 
23733
 
  ;
23734
 
  return 0;
23735
 
}
23736
 
_ACEOF
23737
 
rm -f conftest.$ac_objext
23738
 
if { (ac_try="$ac_compile"
23739
 
case "(($ac_try" in
23740
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23741
 
  *) ac_try_echo=$ac_try;;
23742
 
esac
23743
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23744
 
  (eval "$ac_compile") 2>conftest.er1
23745
 
  ac_status=$?
23746
 
  grep -v '^ *+' conftest.er1 >conftest.err
23747
 
  rm -f conftest.er1
23748
 
  cat conftest.err >&5
23749
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23750
 
  (exit $ac_status); } && {
23751
 
         test -z "$ac_c_werror_flag" ||
23752
 
         test ! -s conftest.err
23753
 
       } && test -s conftest.$ac_objext; then
23754
 
  ac_lo=$ac_mid; break
23755
 
else
23756
 
  echo "$as_me: failed program was:" >&5
23757
 
sed 's/^/| /' conftest.$ac_ext >&5
23758
 
 
23759
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
23760
 
                        if test $ac_mid -le $ac_hi; then
23761
 
                          ac_lo= ac_hi=
23762
 
                          break
23763
 
                        fi
23764
 
                        ac_mid=`expr 2 '*' $ac_mid`
23765
 
fi
23766
 
 
23767
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23768
 
  done
23769
 
else
23770
 
  echo "$as_me: failed program was:" >&5
23771
 
sed 's/^/| /' conftest.$ac_ext >&5
23772
 
 
23773
 
        ac_lo= ac_hi=
23774
 
fi
23775
 
 
23776
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23777
 
fi
23778
 
 
23779
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23780
 
# Binary search between lo and hi bounds.
23781
 
while test "x$ac_lo" != "x$ac_hi"; do
23782
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23783
 
  cat >conftest.$ac_ext <<_ACEOF
23784
 
/* confdefs.h.  */
23785
 
_ACEOF
23786
 
cat confdefs.h >>conftest.$ac_ext
23787
 
cat >>conftest.$ac_ext <<_ACEOF
23788
 
/* end confdefs.h.  */
23789
 
$ac_includes_default
23790
 
   typedef int ac__type_sizeof_;
23791
 
int
23792
 
main ()
23793
 
{
23794
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
23795
 
test_array @<:@0@:>@ = 0
23796
 
 
23797
 
  ;
23798
 
  return 0;
23799
 
}
23800
 
_ACEOF
23801
 
rm -f conftest.$ac_objext
23802
 
if { (ac_try="$ac_compile"
23803
 
case "(($ac_try" in
23804
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23805
 
  *) ac_try_echo=$ac_try;;
23806
 
esac
23807
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23808
 
  (eval "$ac_compile") 2>conftest.er1
23809
 
  ac_status=$?
23810
 
  grep -v '^ *+' conftest.er1 >conftest.err
23811
 
  rm -f conftest.er1
23812
 
  cat conftest.err >&5
23813
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23814
 
  (exit $ac_status); } && {
23815
 
         test -z "$ac_c_werror_flag" ||
23816
 
         test ! -s conftest.err
23817
 
       } && test -s conftest.$ac_objext; then
23818
 
  ac_hi=$ac_mid
23819
 
else
23820
 
  echo "$as_me: failed program was:" >&5
23821
 
sed 's/^/| /' conftest.$ac_ext >&5
23822
 
 
23823
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
23824
 
fi
23825
 
 
23826
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23827
 
done
23828
 
case $ac_lo in
23829
 
?*) ac_cv_sizeof_int=$ac_lo;;
23830
 
'') if test "$ac_cv_type_int" = yes; then
23831
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
23832
 
See \`config.log' for more details." >&5
23833
 
echo "$as_me: error: cannot compute sizeof (int)
23834
 
See \`config.log' for more details." >&2;}
23835
 
   { (exit 77); exit 77; }; }
23836
 
   else
23837
 
     ac_cv_sizeof_int=0
23838
 
   fi ;;
23839
 
esac
23840
 
else
23841
 
  cat >conftest.$ac_ext <<_ACEOF
23842
 
/* confdefs.h.  */
23843
 
_ACEOF
23844
 
cat confdefs.h >>conftest.$ac_ext
23845
 
cat >>conftest.$ac_ext <<_ACEOF
23846
 
/* end confdefs.h.  */
23847
 
$ac_includes_default
23848
 
   typedef int ac__type_sizeof_;
23849
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23850
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23851
 
@%:@include <stdio.h>
23852
 
@%:@include <stdlib.h>
23853
 
int
23854
 
main ()
23855
 
{
23856
 
 
23857
 
  FILE *f = fopen ("conftest.val", "w");
23858
 
  if (! f)
23859
 
    return 1;
23860
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23861
 
    {
23862
 
      long int i = longval ();
23863
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
23864
 
        return 1;
23865
 
      fprintf (f, "%ld\n", i);
23866
 
    }
23867
 
  else
23868
 
    {
23869
 
      unsigned long int i = ulongval ();
23870
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
23871
 
        return 1;
23872
 
      fprintf (f, "%lu\n", i);
23873
 
    }
23874
 
  return ferror (f) || fclose (f) != 0;
23875
 
 
23876
 
  ;
23877
 
  return 0;
23878
 
}
23879
 
_ACEOF
23880
 
rm -f conftest$ac_exeext
23881
 
if { (ac_try="$ac_link"
23882
 
case "(($ac_try" in
23883
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23884
 
  *) ac_try_echo=$ac_try;;
23885
 
esac
23886
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23887
 
  (eval "$ac_link") 2>&5
23888
 
  ac_status=$?
23889
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23890
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23891
 
  { (case "(($ac_try" in
23892
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23893
 
  *) ac_try_echo=$ac_try;;
23894
 
esac
23895
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23896
 
  (eval "$ac_try") 2>&5
23897
 
  ac_status=$?
23898
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23899
 
  (exit $ac_status); }; }; then
23900
 
  ac_cv_sizeof_int=`cat conftest.val`
23901
 
else
23902
 
  echo "$as_me: program exited with status $ac_status" >&5
23903
 
echo "$as_me: failed program was:" >&5
23904
 
sed 's/^/| /' conftest.$ac_ext >&5
23905
 
 
23906
 
( exit $ac_status )
23907
 
if test "$ac_cv_type_int" = yes; then
23908
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
23909
 
See \`config.log' for more details." >&5
23910
 
echo "$as_me: error: cannot compute sizeof (int)
23911
 
See \`config.log' for more details." >&2;}
23912
 
   { (exit 77); exit 77; }; }
23913
 
   else
23914
 
     ac_cv_sizeof_int=0
23915
 
   fi
23916
 
fi
23917
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23918
 
fi
23919
 
rm -f conftest.val
23920
 
fi
23921
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
23922
 
echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
23923
 
 
23924
 
 
23925
 
 
23926
 
cat >>confdefs.h <<_ACEOF
23927
 
@%:@define SIZEOF_INT $ac_cv_sizeof_int
23928
 
_ACEOF
23929
 
 
23930
 
 
23931
 
{ echo "$as_me:$LINENO: checking for unsigned int" >&5
23932
 
echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6; }
23933
 
if test "${ac_cv_type_unsigned_int+set}" = set; then
23934
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23935
 
else
23936
 
  cat >conftest.$ac_ext <<_ACEOF
23937
 
/* confdefs.h.  */
23938
 
_ACEOF
23939
 
cat confdefs.h >>conftest.$ac_ext
23940
 
cat >>conftest.$ac_ext <<_ACEOF
23941
 
/* end confdefs.h.  */
23942
 
$ac_includes_default
23943
 
typedef unsigned int ac__type_new_;
23944
 
int
23945
 
main ()
23946
 
{
23947
 
if ((ac__type_new_ *) 0)
23948
 
  return 0;
23949
 
if (sizeof (ac__type_new_))
23950
 
  return 0;
23951
 
  ;
23952
 
  return 0;
23953
 
}
23954
 
_ACEOF
23955
 
rm -f conftest.$ac_objext
23956
 
if { (ac_try="$ac_compile"
23957
 
case "(($ac_try" in
23958
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23959
 
  *) ac_try_echo=$ac_try;;
23960
 
esac
23961
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23962
 
  (eval "$ac_compile") 2>conftest.er1
23963
 
  ac_status=$?
23964
 
  grep -v '^ *+' conftest.er1 >conftest.err
23965
 
  rm -f conftest.er1
23966
 
  cat conftest.err >&5
23967
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23968
 
  (exit $ac_status); } && {
23969
 
         test -z "$ac_c_werror_flag" ||
23970
 
         test ! -s conftest.err
23971
 
       } && test -s conftest.$ac_objext; then
23972
 
  ac_cv_type_unsigned_int=yes
23973
 
else
23974
 
  echo "$as_me: failed program was:" >&5
23975
 
sed 's/^/| /' conftest.$ac_ext >&5
23976
 
 
23977
 
        ac_cv_type_unsigned_int=no
23978
 
fi
23979
 
 
23980
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23981
 
fi
23982
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5
23983
 
echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6; }
23984
 
 
23985
 
# The cast to long int works around a bug in the HP C Compiler
23986
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23987
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23988
 
# This bug is HP SR number 8606223364.
23989
 
{ echo "$as_me:$LINENO: checking size of unsigned int" >&5
23990
 
echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6; }
23991
 
if test "${ac_cv_sizeof_unsigned_int+set}" = set; then
23992
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23993
 
else
23994
 
  if test "$cross_compiling" = yes; then
23995
 
  # Depending upon the size, compute the lo and hi bounds.
23996
 
cat >conftest.$ac_ext <<_ACEOF
23997
 
/* confdefs.h.  */
23998
 
_ACEOF
23999
 
cat confdefs.h >>conftest.$ac_ext
24000
 
cat >>conftest.$ac_ext <<_ACEOF
24001
 
/* end confdefs.h.  */
24002
 
$ac_includes_default
24003
 
   typedef unsigned int ac__type_sizeof_;
24004
 
int
24005
 
main ()
24006
 
{
24007
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
24008
 
test_array @<:@0@:>@ = 0
24009
 
 
24010
 
  ;
24011
 
  return 0;
24012
 
}
24013
 
_ACEOF
24014
 
rm -f conftest.$ac_objext
24015
 
if { (ac_try="$ac_compile"
24016
 
case "(($ac_try" in
24017
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24018
 
  *) ac_try_echo=$ac_try;;
24019
 
esac
24020
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24021
 
  (eval "$ac_compile") 2>conftest.er1
24022
 
  ac_status=$?
24023
 
  grep -v '^ *+' conftest.er1 >conftest.err
24024
 
  rm -f conftest.er1
24025
 
  cat conftest.err >&5
24026
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24027
 
  (exit $ac_status); } && {
24028
 
         test -z "$ac_c_werror_flag" ||
24029
 
         test ! -s conftest.err
24030
 
       } && test -s conftest.$ac_objext; then
24031
 
  ac_lo=0 ac_mid=0
24032
 
  while :; do
24033
 
    cat >conftest.$ac_ext <<_ACEOF
24034
 
/* confdefs.h.  */
24035
 
_ACEOF
24036
 
cat confdefs.h >>conftest.$ac_ext
24037
 
cat >>conftest.$ac_ext <<_ACEOF
24038
 
/* end confdefs.h.  */
24039
 
$ac_includes_default
24040
 
   typedef unsigned int ac__type_sizeof_;
24041
 
int
24042
 
main ()
24043
 
{
24044
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
24045
 
test_array @<:@0@:>@ = 0
24046
 
 
24047
 
  ;
24048
 
  return 0;
24049
 
}
24050
 
_ACEOF
24051
 
rm -f conftest.$ac_objext
24052
 
if { (ac_try="$ac_compile"
24053
 
case "(($ac_try" in
24054
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24055
 
  *) ac_try_echo=$ac_try;;
24056
 
esac
24057
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24058
 
  (eval "$ac_compile") 2>conftest.er1
24059
 
  ac_status=$?
24060
 
  grep -v '^ *+' conftest.er1 >conftest.err
24061
 
  rm -f conftest.er1
24062
 
  cat conftest.err >&5
24063
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24064
 
  (exit $ac_status); } && {
24065
 
         test -z "$ac_c_werror_flag" ||
24066
 
         test ! -s conftest.err
24067
 
       } && test -s conftest.$ac_objext; then
24068
 
  ac_hi=$ac_mid; break
24069
 
else
24070
 
  echo "$as_me: failed program was:" >&5
24071
 
sed 's/^/| /' conftest.$ac_ext >&5
24072
 
 
24073
 
        ac_lo=`expr $ac_mid + 1`
24074
 
                        if test $ac_lo -le $ac_mid; then
24075
 
                          ac_lo= ac_hi=
24076
 
                          break
24077
 
                        fi
24078
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
24079
 
fi
24080
 
 
24081
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24082
 
  done
24083
 
else
24084
 
  echo "$as_me: failed program was:" >&5
24085
 
sed 's/^/| /' conftest.$ac_ext >&5
24086
 
 
24087
 
        cat >conftest.$ac_ext <<_ACEOF
24088
 
/* confdefs.h.  */
24089
 
_ACEOF
24090
 
cat confdefs.h >>conftest.$ac_ext
24091
 
cat >>conftest.$ac_ext <<_ACEOF
24092
 
/* end confdefs.h.  */
24093
 
$ac_includes_default
24094
 
   typedef unsigned int ac__type_sizeof_;
24095
 
int
24096
 
main ()
24097
 
{
24098
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
24099
 
test_array @<:@0@:>@ = 0
24100
 
 
24101
 
  ;
24102
 
  return 0;
24103
 
}
24104
 
_ACEOF
24105
 
rm -f conftest.$ac_objext
24106
 
if { (ac_try="$ac_compile"
24107
 
case "(($ac_try" in
24108
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24109
 
  *) ac_try_echo=$ac_try;;
24110
 
esac
24111
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24112
 
  (eval "$ac_compile") 2>conftest.er1
24113
 
  ac_status=$?
24114
 
  grep -v '^ *+' conftest.er1 >conftest.err
24115
 
  rm -f conftest.er1
24116
 
  cat conftest.err >&5
24117
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24118
 
  (exit $ac_status); } && {
24119
 
         test -z "$ac_c_werror_flag" ||
24120
 
         test ! -s conftest.err
24121
 
       } && test -s conftest.$ac_objext; then
24122
 
  ac_hi=-1 ac_mid=-1
24123
 
  while :; do
24124
 
    cat >conftest.$ac_ext <<_ACEOF
24125
 
/* confdefs.h.  */
24126
 
_ACEOF
24127
 
cat confdefs.h >>conftest.$ac_ext
24128
 
cat >>conftest.$ac_ext <<_ACEOF
24129
 
/* end confdefs.h.  */
24130
 
$ac_includes_default
24131
 
   typedef unsigned int ac__type_sizeof_;
24132
 
int
24133
 
main ()
24134
 
{
24135
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
24136
 
test_array @<:@0@:>@ = 0
24137
 
 
24138
 
  ;
24139
 
  return 0;
24140
 
}
24141
 
_ACEOF
24142
 
rm -f conftest.$ac_objext
24143
 
if { (ac_try="$ac_compile"
24144
 
case "(($ac_try" in
24145
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24146
 
  *) ac_try_echo=$ac_try;;
24147
 
esac
24148
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24149
 
  (eval "$ac_compile") 2>conftest.er1
24150
 
  ac_status=$?
24151
 
  grep -v '^ *+' conftest.er1 >conftest.err
24152
 
  rm -f conftest.er1
24153
 
  cat conftest.err >&5
24154
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24155
 
  (exit $ac_status); } && {
24156
 
         test -z "$ac_c_werror_flag" ||
24157
 
         test ! -s conftest.err
24158
 
       } && test -s conftest.$ac_objext; then
24159
 
  ac_lo=$ac_mid; break
24160
 
else
24161
 
  echo "$as_me: failed program was:" >&5
24162
 
sed 's/^/| /' conftest.$ac_ext >&5
24163
 
 
24164
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
24165
 
                        if test $ac_mid -le $ac_hi; then
24166
 
                          ac_lo= ac_hi=
24167
 
                          break
24168
 
                        fi
24169
 
                        ac_mid=`expr 2 '*' $ac_mid`
24170
 
fi
24171
 
 
24172
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24173
 
  done
24174
 
else
24175
 
  echo "$as_me: failed program was:" >&5
24176
 
sed 's/^/| /' conftest.$ac_ext >&5
24177
 
 
24178
 
        ac_lo= ac_hi=
24179
 
fi
24180
 
 
24181
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24182
 
fi
24183
 
 
24184
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24185
 
# Binary search between lo and hi bounds.
24186
 
while test "x$ac_lo" != "x$ac_hi"; do
24187
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24188
 
  cat >conftest.$ac_ext <<_ACEOF
24189
 
/* confdefs.h.  */
24190
 
_ACEOF
24191
 
cat confdefs.h >>conftest.$ac_ext
24192
 
cat >>conftest.$ac_ext <<_ACEOF
24193
 
/* end confdefs.h.  */
24194
 
$ac_includes_default
24195
 
   typedef unsigned int ac__type_sizeof_;
24196
 
int
24197
 
main ()
24198
 
{
24199
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
24200
 
test_array @<:@0@:>@ = 0
24201
 
 
24202
 
  ;
24203
 
  return 0;
24204
 
}
24205
 
_ACEOF
24206
 
rm -f conftest.$ac_objext
24207
 
if { (ac_try="$ac_compile"
24208
 
case "(($ac_try" in
24209
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24210
 
  *) ac_try_echo=$ac_try;;
24211
 
esac
24212
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24213
 
  (eval "$ac_compile") 2>conftest.er1
24214
 
  ac_status=$?
24215
 
  grep -v '^ *+' conftest.er1 >conftest.err
24216
 
  rm -f conftest.er1
24217
 
  cat conftest.err >&5
24218
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24219
 
  (exit $ac_status); } && {
24220
 
         test -z "$ac_c_werror_flag" ||
24221
 
         test ! -s conftest.err
24222
 
       } && test -s conftest.$ac_objext; then
24223
 
  ac_hi=$ac_mid
24224
 
else
24225
 
  echo "$as_me: failed program was:" >&5
24226
 
sed 's/^/| /' conftest.$ac_ext >&5
24227
 
 
24228
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
24229
 
fi
24230
 
 
24231
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24232
 
done
24233
 
case $ac_lo in
24234
 
?*) ac_cv_sizeof_unsigned_int=$ac_lo;;
24235
 
'') if test "$ac_cv_type_unsigned_int" = yes; then
24236
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
24237
 
See \`config.log' for more details." >&5
24238
 
echo "$as_me: error: cannot compute sizeof (unsigned int)
24239
 
See \`config.log' for more details." >&2;}
24240
 
   { (exit 77); exit 77; }; }
24241
 
   else
24242
 
     ac_cv_sizeof_unsigned_int=0
24243
 
   fi ;;
24244
 
esac
24245
 
else
24246
 
  cat >conftest.$ac_ext <<_ACEOF
24247
 
/* confdefs.h.  */
24248
 
_ACEOF
24249
 
cat confdefs.h >>conftest.$ac_ext
24250
 
cat >>conftest.$ac_ext <<_ACEOF
24251
 
/* end confdefs.h.  */
24252
 
$ac_includes_default
24253
 
   typedef unsigned int ac__type_sizeof_;
24254
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24255
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24256
 
@%:@include <stdio.h>
24257
 
@%:@include <stdlib.h>
24258
 
int
24259
 
main ()
24260
 
{
24261
 
 
24262
 
  FILE *f = fopen ("conftest.val", "w");
24263
 
  if (! f)
24264
 
    return 1;
24265
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24266
 
    {
24267
 
      long int i = longval ();
24268
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
24269
 
        return 1;
24270
 
      fprintf (f, "%ld\n", i);
24271
 
    }
24272
 
  else
24273
 
    {
24274
 
      unsigned long int i = ulongval ();
24275
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
24276
 
        return 1;
24277
 
      fprintf (f, "%lu\n", i);
24278
 
    }
24279
 
  return ferror (f) || fclose (f) != 0;
24280
 
 
24281
 
  ;
24282
 
  return 0;
24283
 
}
24284
 
_ACEOF
24285
 
rm -f conftest$ac_exeext
24286
 
if { (ac_try="$ac_link"
24287
 
case "(($ac_try" in
24288
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24289
 
  *) ac_try_echo=$ac_try;;
24290
 
esac
24291
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24292
 
  (eval "$ac_link") 2>&5
24293
 
  ac_status=$?
24294
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24295
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24296
 
  { (case "(($ac_try" in
24297
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24298
 
  *) ac_try_echo=$ac_try;;
24299
 
esac
24300
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24301
 
  (eval "$ac_try") 2>&5
24302
 
  ac_status=$?
24303
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24304
 
  (exit $ac_status); }; }; then
24305
 
  ac_cv_sizeof_unsigned_int=`cat conftest.val`
24306
 
else
24307
 
  echo "$as_me: program exited with status $ac_status" >&5
24308
 
echo "$as_me: failed program was:" >&5
24309
 
sed 's/^/| /' conftest.$ac_ext >&5
24310
 
 
24311
 
( exit $ac_status )
24312
 
if test "$ac_cv_type_unsigned_int" = yes; then
24313
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
24314
 
See \`config.log' for more details." >&5
24315
 
echo "$as_me: error: cannot compute sizeof (unsigned int)
24316
 
See \`config.log' for more details." >&2;}
24317
 
   { (exit 77); exit 77; }; }
24318
 
   else
24319
 
     ac_cv_sizeof_unsigned_int=0
24320
 
   fi
24321
 
fi
24322
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24323
 
fi
24324
 
rm -f conftest.val
24325
 
fi
24326
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
24327
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6; }
24328
 
 
24329
 
 
24330
 
 
24331
 
cat >>confdefs.h <<_ACEOF
24332
 
@%:@define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
24333
 
_ACEOF
24334
 
 
24335
 
 
24336
 
{ echo "$as_me:$LINENO: checking for long" >&5
24337
 
echo $ECHO_N "checking for long... $ECHO_C" >&6; }
24338
 
if test "${ac_cv_type_long+set}" = set; then
24339
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24340
 
else
24341
 
  cat >conftest.$ac_ext <<_ACEOF
24342
 
/* confdefs.h.  */
24343
 
_ACEOF
24344
 
cat confdefs.h >>conftest.$ac_ext
24345
 
cat >>conftest.$ac_ext <<_ACEOF
24346
 
/* end confdefs.h.  */
24347
 
$ac_includes_default
24348
 
typedef long ac__type_new_;
24349
 
int
24350
 
main ()
24351
 
{
24352
 
if ((ac__type_new_ *) 0)
24353
 
  return 0;
24354
 
if (sizeof (ac__type_new_))
24355
 
  return 0;
24356
 
  ;
24357
 
  return 0;
24358
 
}
24359
 
_ACEOF
24360
 
rm -f conftest.$ac_objext
24361
 
if { (ac_try="$ac_compile"
24362
 
case "(($ac_try" in
24363
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24364
 
  *) ac_try_echo=$ac_try;;
24365
 
esac
24366
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24367
 
  (eval "$ac_compile") 2>conftest.er1
24368
 
  ac_status=$?
24369
 
  grep -v '^ *+' conftest.er1 >conftest.err
24370
 
  rm -f conftest.er1
24371
 
  cat conftest.err >&5
24372
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24373
 
  (exit $ac_status); } && {
24374
 
         test -z "$ac_c_werror_flag" ||
24375
 
         test ! -s conftest.err
24376
 
       } && test -s conftest.$ac_objext; then
24377
 
  ac_cv_type_long=yes
24378
 
else
24379
 
  echo "$as_me: failed program was:" >&5
24380
 
sed 's/^/| /' conftest.$ac_ext >&5
24381
 
 
24382
 
        ac_cv_type_long=no
24383
 
fi
24384
 
 
24385
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24386
 
fi
24387
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
24388
 
echo "${ECHO_T}$ac_cv_type_long" >&6; }
24389
 
 
24390
 
# The cast to long int works around a bug in the HP C Compiler
24391
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24392
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24393
 
# This bug is HP SR number 8606223364.
24394
 
{ echo "$as_me:$LINENO: checking size of long" >&5
24395
 
echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
24396
 
if test "${ac_cv_sizeof_long+set}" = set; then
24397
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24398
 
else
24399
 
  if test "$cross_compiling" = yes; then
24400
 
  # Depending upon the size, compute the lo and hi bounds.
24401
 
cat >conftest.$ac_ext <<_ACEOF
24402
 
/* confdefs.h.  */
24403
 
_ACEOF
24404
 
cat confdefs.h >>conftest.$ac_ext
24405
 
cat >>conftest.$ac_ext <<_ACEOF
24406
 
/* end confdefs.h.  */
24407
 
$ac_includes_default
24408
 
   typedef long ac__type_sizeof_;
24409
 
int
24410
 
main ()
24411
 
{
24412
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
24413
 
test_array @<:@0@:>@ = 0
24414
 
 
24415
 
  ;
24416
 
  return 0;
24417
 
}
24418
 
_ACEOF
24419
 
rm -f conftest.$ac_objext
24420
 
if { (ac_try="$ac_compile"
24421
 
case "(($ac_try" in
24422
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24423
 
  *) ac_try_echo=$ac_try;;
24424
 
esac
24425
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24426
 
  (eval "$ac_compile") 2>conftest.er1
24427
 
  ac_status=$?
24428
 
  grep -v '^ *+' conftest.er1 >conftest.err
24429
 
  rm -f conftest.er1
24430
 
  cat conftest.err >&5
24431
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24432
 
  (exit $ac_status); } && {
24433
 
         test -z "$ac_c_werror_flag" ||
24434
 
         test ! -s conftest.err
24435
 
       } && test -s conftest.$ac_objext; then
24436
 
  ac_lo=0 ac_mid=0
24437
 
  while :; do
24438
 
    cat >conftest.$ac_ext <<_ACEOF
24439
 
/* confdefs.h.  */
24440
 
_ACEOF
24441
 
cat confdefs.h >>conftest.$ac_ext
24442
 
cat >>conftest.$ac_ext <<_ACEOF
24443
 
/* end confdefs.h.  */
24444
 
$ac_includes_default
24445
 
   typedef long ac__type_sizeof_;
24446
 
int
24447
 
main ()
24448
 
{
24449
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
24450
 
test_array @<:@0@:>@ = 0
24451
 
 
24452
 
  ;
24453
 
  return 0;
24454
 
}
24455
 
_ACEOF
24456
 
rm -f conftest.$ac_objext
24457
 
if { (ac_try="$ac_compile"
24458
 
case "(($ac_try" in
24459
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24460
 
  *) ac_try_echo=$ac_try;;
24461
 
esac
24462
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24463
 
  (eval "$ac_compile") 2>conftest.er1
24464
 
  ac_status=$?
24465
 
  grep -v '^ *+' conftest.er1 >conftest.err
24466
 
  rm -f conftest.er1
24467
 
  cat conftest.err >&5
24468
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24469
 
  (exit $ac_status); } && {
24470
 
         test -z "$ac_c_werror_flag" ||
24471
 
         test ! -s conftest.err
24472
 
       } && test -s conftest.$ac_objext; then
24473
 
  ac_hi=$ac_mid; break
24474
 
else
24475
 
  echo "$as_me: failed program was:" >&5
24476
 
sed 's/^/| /' conftest.$ac_ext >&5
24477
 
 
24478
 
        ac_lo=`expr $ac_mid + 1`
24479
 
                        if test $ac_lo -le $ac_mid; then
24480
 
                          ac_lo= ac_hi=
24481
 
                          break
24482
 
                        fi
24483
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
24484
 
fi
24485
 
 
24486
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24487
 
  done
24488
 
else
24489
 
  echo "$as_me: failed program was:" >&5
24490
 
sed 's/^/| /' conftest.$ac_ext >&5
24491
 
 
24492
 
        cat >conftest.$ac_ext <<_ACEOF
24493
 
/* confdefs.h.  */
24494
 
_ACEOF
24495
 
cat confdefs.h >>conftest.$ac_ext
24496
 
cat >>conftest.$ac_ext <<_ACEOF
24497
 
/* end confdefs.h.  */
24498
 
$ac_includes_default
24499
 
   typedef long ac__type_sizeof_;
24500
 
int
24501
 
main ()
24502
 
{
24503
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
24504
 
test_array @<:@0@:>@ = 0
24505
 
 
24506
 
  ;
24507
 
  return 0;
24508
 
}
24509
 
_ACEOF
24510
 
rm -f conftest.$ac_objext
24511
 
if { (ac_try="$ac_compile"
24512
 
case "(($ac_try" in
24513
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24514
 
  *) ac_try_echo=$ac_try;;
24515
 
esac
24516
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24517
 
  (eval "$ac_compile") 2>conftest.er1
24518
 
  ac_status=$?
24519
 
  grep -v '^ *+' conftest.er1 >conftest.err
24520
 
  rm -f conftest.er1
24521
 
  cat conftest.err >&5
24522
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24523
 
  (exit $ac_status); } && {
24524
 
         test -z "$ac_c_werror_flag" ||
24525
 
         test ! -s conftest.err
24526
 
       } && test -s conftest.$ac_objext; then
24527
 
  ac_hi=-1 ac_mid=-1
24528
 
  while :; do
24529
 
    cat >conftest.$ac_ext <<_ACEOF
24530
 
/* confdefs.h.  */
24531
 
_ACEOF
24532
 
cat confdefs.h >>conftest.$ac_ext
24533
 
cat >>conftest.$ac_ext <<_ACEOF
24534
 
/* end confdefs.h.  */
24535
 
$ac_includes_default
24536
 
   typedef long ac__type_sizeof_;
24537
 
int
24538
 
main ()
24539
 
{
24540
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
24541
 
test_array @<:@0@:>@ = 0
24542
 
 
24543
 
  ;
24544
 
  return 0;
24545
 
}
24546
 
_ACEOF
24547
 
rm -f conftest.$ac_objext
24548
 
if { (ac_try="$ac_compile"
24549
 
case "(($ac_try" in
24550
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24551
 
  *) ac_try_echo=$ac_try;;
24552
 
esac
24553
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24554
 
  (eval "$ac_compile") 2>conftest.er1
24555
 
  ac_status=$?
24556
 
  grep -v '^ *+' conftest.er1 >conftest.err
24557
 
  rm -f conftest.er1
24558
 
  cat conftest.err >&5
24559
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24560
 
  (exit $ac_status); } && {
24561
 
         test -z "$ac_c_werror_flag" ||
24562
 
         test ! -s conftest.err
24563
 
       } && test -s conftest.$ac_objext; then
24564
 
  ac_lo=$ac_mid; break
24565
 
else
24566
 
  echo "$as_me: failed program was:" >&5
24567
 
sed 's/^/| /' conftest.$ac_ext >&5
24568
 
 
24569
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
24570
 
                        if test $ac_mid -le $ac_hi; then
24571
 
                          ac_lo= ac_hi=
24572
 
                          break
24573
 
                        fi
24574
 
                        ac_mid=`expr 2 '*' $ac_mid`
24575
 
fi
24576
 
 
24577
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24578
 
  done
24579
 
else
24580
 
  echo "$as_me: failed program was:" >&5
24581
 
sed 's/^/| /' conftest.$ac_ext >&5
24582
 
 
24583
 
        ac_lo= ac_hi=
24584
 
fi
24585
 
 
24586
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24587
 
fi
24588
 
 
24589
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24590
 
# Binary search between lo and hi bounds.
24591
 
while test "x$ac_lo" != "x$ac_hi"; do
24592
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24593
 
  cat >conftest.$ac_ext <<_ACEOF
24594
 
/* confdefs.h.  */
24595
 
_ACEOF
24596
 
cat confdefs.h >>conftest.$ac_ext
24597
 
cat >>conftest.$ac_ext <<_ACEOF
24598
 
/* end confdefs.h.  */
24599
 
$ac_includes_default
24600
 
   typedef long ac__type_sizeof_;
24601
 
int
24602
 
main ()
24603
 
{
24604
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
24605
 
test_array @<:@0@:>@ = 0
24606
 
 
24607
 
  ;
24608
 
  return 0;
24609
 
}
24610
 
_ACEOF
24611
 
rm -f conftest.$ac_objext
24612
 
if { (ac_try="$ac_compile"
24613
 
case "(($ac_try" in
24614
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24615
 
  *) ac_try_echo=$ac_try;;
24616
 
esac
24617
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24618
 
  (eval "$ac_compile") 2>conftest.er1
24619
 
  ac_status=$?
24620
 
  grep -v '^ *+' conftest.er1 >conftest.err
24621
 
  rm -f conftest.er1
24622
 
  cat conftest.err >&5
24623
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624
 
  (exit $ac_status); } && {
24625
 
         test -z "$ac_c_werror_flag" ||
24626
 
         test ! -s conftest.err
24627
 
       } && test -s conftest.$ac_objext; then
24628
 
  ac_hi=$ac_mid
24629
 
else
24630
 
  echo "$as_me: failed program was:" >&5
24631
 
sed 's/^/| /' conftest.$ac_ext >&5
24632
 
 
24633
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
24634
 
fi
24635
 
 
24636
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24637
 
done
24638
 
case $ac_lo in
24639
 
?*) ac_cv_sizeof_long=$ac_lo;;
24640
 
'') if test "$ac_cv_type_long" = yes; then
24641
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
24642
 
See \`config.log' for more details." >&5
24643
 
echo "$as_me: error: cannot compute sizeof (long)
24644
 
See \`config.log' for more details." >&2;}
24645
 
   { (exit 77); exit 77; }; }
24646
 
   else
24647
 
     ac_cv_sizeof_long=0
24648
 
   fi ;;
24649
 
esac
24650
 
else
24651
 
  cat >conftest.$ac_ext <<_ACEOF
24652
 
/* confdefs.h.  */
24653
 
_ACEOF
24654
 
cat confdefs.h >>conftest.$ac_ext
24655
 
cat >>conftest.$ac_ext <<_ACEOF
24656
 
/* end confdefs.h.  */
24657
 
$ac_includes_default
24658
 
   typedef long ac__type_sizeof_;
24659
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24660
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24661
 
@%:@include <stdio.h>
24662
 
@%:@include <stdlib.h>
24663
 
int
24664
 
main ()
24665
 
{
24666
 
 
24667
 
  FILE *f = fopen ("conftest.val", "w");
24668
 
  if (! f)
24669
 
    return 1;
24670
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24671
 
    {
24672
 
      long int i = longval ();
24673
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
24674
 
        return 1;
24675
 
      fprintf (f, "%ld\n", i);
24676
 
    }
24677
 
  else
24678
 
    {
24679
 
      unsigned long int i = ulongval ();
24680
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
24681
 
        return 1;
24682
 
      fprintf (f, "%lu\n", i);
24683
 
    }
24684
 
  return ferror (f) || fclose (f) != 0;
24685
 
 
24686
 
  ;
24687
 
  return 0;
24688
 
}
24689
 
_ACEOF
24690
 
rm -f conftest$ac_exeext
24691
 
if { (ac_try="$ac_link"
24692
 
case "(($ac_try" in
24693
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24694
 
  *) ac_try_echo=$ac_try;;
24695
 
esac
24696
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24697
 
  (eval "$ac_link") 2>&5
24698
 
  ac_status=$?
24699
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24700
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24701
 
  { (case "(($ac_try" in
24702
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24703
 
  *) ac_try_echo=$ac_try;;
24704
 
esac
24705
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24706
 
  (eval "$ac_try") 2>&5
24707
 
  ac_status=$?
24708
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24709
 
  (exit $ac_status); }; }; then
24710
 
  ac_cv_sizeof_long=`cat conftest.val`
24711
 
else
24712
 
  echo "$as_me: program exited with status $ac_status" >&5
24713
 
echo "$as_me: failed program was:" >&5
24714
 
sed 's/^/| /' conftest.$ac_ext >&5
24715
 
 
24716
 
( exit $ac_status )
24717
 
if test "$ac_cv_type_long" = yes; then
24718
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
24719
 
See \`config.log' for more details." >&5
24720
 
echo "$as_me: error: cannot compute sizeof (long)
24721
 
See \`config.log' for more details." >&2;}
24722
 
   { (exit 77); exit 77; }; }
24723
 
   else
24724
 
     ac_cv_sizeof_long=0
24725
 
   fi
24726
 
fi
24727
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24728
 
fi
24729
 
rm -f conftest.val
24730
 
fi
24731
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
24732
 
echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
24733
 
 
24734
 
 
24735
 
 
24736
 
cat >>confdefs.h <<_ACEOF
24737
 
@%:@define SIZEOF_LONG $ac_cv_sizeof_long
24738
 
_ACEOF
24739
 
 
24740
 
 
24741
 
{ echo "$as_me:$LINENO: checking for unsigned long" >&5
24742
 
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6; }
24743
 
if test "${ac_cv_type_unsigned_long+set}" = set; then
24744
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24745
 
else
24746
 
  cat >conftest.$ac_ext <<_ACEOF
24747
 
/* confdefs.h.  */
24748
 
_ACEOF
24749
 
cat confdefs.h >>conftest.$ac_ext
24750
 
cat >>conftest.$ac_ext <<_ACEOF
24751
 
/* end confdefs.h.  */
24752
 
$ac_includes_default
24753
 
typedef unsigned long ac__type_new_;
24754
 
int
24755
 
main ()
24756
 
{
24757
 
if ((ac__type_new_ *) 0)
24758
 
  return 0;
24759
 
if (sizeof (ac__type_new_))
24760
 
  return 0;
24761
 
  ;
24762
 
  return 0;
24763
 
}
24764
 
_ACEOF
24765
 
rm -f conftest.$ac_objext
24766
 
if { (ac_try="$ac_compile"
24767
 
case "(($ac_try" in
24768
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24769
 
  *) ac_try_echo=$ac_try;;
24770
 
esac
24771
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24772
 
  (eval "$ac_compile") 2>conftest.er1
24773
 
  ac_status=$?
24774
 
  grep -v '^ *+' conftest.er1 >conftest.err
24775
 
  rm -f conftest.er1
24776
 
  cat conftest.err >&5
24777
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24778
 
  (exit $ac_status); } && {
24779
 
         test -z "$ac_c_werror_flag" ||
24780
 
         test ! -s conftest.err
24781
 
       } && test -s conftest.$ac_objext; then
24782
 
  ac_cv_type_unsigned_long=yes
24783
 
else
24784
 
  echo "$as_me: failed program was:" >&5
24785
 
sed 's/^/| /' conftest.$ac_ext >&5
24786
 
 
24787
 
        ac_cv_type_unsigned_long=no
24788
 
fi
24789
 
 
24790
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24791
 
fi
24792
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
24793
 
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
24794
 
 
24795
 
# The cast to long int works around a bug in the HP C Compiler
24796
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24797
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24798
 
# This bug is HP SR number 8606223364.
24799
 
{ echo "$as_me:$LINENO: checking size of unsigned long" >&5
24800
 
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6; }
24801
 
if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
24802
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24803
 
else
24804
 
  if test "$cross_compiling" = yes; then
24805
 
  # Depending upon the size, compute the lo and hi bounds.
24806
 
cat >conftest.$ac_ext <<_ACEOF
24807
 
/* confdefs.h.  */
24808
 
_ACEOF
24809
 
cat confdefs.h >>conftest.$ac_ext
24810
 
cat >>conftest.$ac_ext <<_ACEOF
24811
 
/* end confdefs.h.  */
24812
 
$ac_includes_default
24813
 
   typedef unsigned long ac__type_sizeof_;
24814
 
int
24815
 
main ()
24816
 
{
24817
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
24818
 
test_array @<:@0@:>@ = 0
24819
 
 
24820
 
  ;
24821
 
  return 0;
24822
 
}
24823
 
_ACEOF
24824
 
rm -f conftest.$ac_objext
24825
 
if { (ac_try="$ac_compile"
24826
 
case "(($ac_try" in
24827
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24828
 
  *) ac_try_echo=$ac_try;;
24829
 
esac
24830
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24831
 
  (eval "$ac_compile") 2>conftest.er1
24832
 
  ac_status=$?
24833
 
  grep -v '^ *+' conftest.er1 >conftest.err
24834
 
  rm -f conftest.er1
24835
 
  cat conftest.err >&5
24836
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24837
 
  (exit $ac_status); } && {
24838
 
         test -z "$ac_c_werror_flag" ||
24839
 
         test ! -s conftest.err
24840
 
       } && test -s conftest.$ac_objext; then
24841
 
  ac_lo=0 ac_mid=0
24842
 
  while :; do
24843
 
    cat >conftest.$ac_ext <<_ACEOF
24844
 
/* confdefs.h.  */
24845
 
_ACEOF
24846
 
cat confdefs.h >>conftest.$ac_ext
24847
 
cat >>conftest.$ac_ext <<_ACEOF
24848
 
/* end confdefs.h.  */
24849
 
$ac_includes_default
24850
 
   typedef unsigned long ac__type_sizeof_;
24851
 
int
24852
 
main ()
24853
 
{
24854
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
24855
 
test_array @<:@0@:>@ = 0
24856
 
 
24857
 
  ;
24858
 
  return 0;
24859
 
}
24860
 
_ACEOF
24861
 
rm -f conftest.$ac_objext
24862
 
if { (ac_try="$ac_compile"
24863
 
case "(($ac_try" in
24864
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24865
 
  *) ac_try_echo=$ac_try;;
24866
 
esac
24867
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24868
 
  (eval "$ac_compile") 2>conftest.er1
24869
 
  ac_status=$?
24870
 
  grep -v '^ *+' conftest.er1 >conftest.err
24871
 
  rm -f conftest.er1
24872
 
  cat conftest.err >&5
24873
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24874
 
  (exit $ac_status); } && {
24875
 
         test -z "$ac_c_werror_flag" ||
24876
 
         test ! -s conftest.err
24877
 
       } && test -s conftest.$ac_objext; then
24878
 
  ac_hi=$ac_mid; break
24879
 
else
24880
 
  echo "$as_me: failed program was:" >&5
24881
 
sed 's/^/| /' conftest.$ac_ext >&5
24882
 
 
24883
 
        ac_lo=`expr $ac_mid + 1`
24884
 
                        if test $ac_lo -le $ac_mid; then
24885
 
                          ac_lo= ac_hi=
24886
 
                          break
24887
 
                        fi
24888
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
24889
 
fi
24890
 
 
24891
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24892
 
  done
24893
 
else
24894
 
  echo "$as_me: failed program was:" >&5
24895
 
sed 's/^/| /' conftest.$ac_ext >&5
24896
 
 
24897
 
        cat >conftest.$ac_ext <<_ACEOF
24898
 
/* confdefs.h.  */
24899
 
_ACEOF
24900
 
cat confdefs.h >>conftest.$ac_ext
24901
 
cat >>conftest.$ac_ext <<_ACEOF
24902
 
/* end confdefs.h.  */
24903
 
$ac_includes_default
24904
 
   typedef unsigned long ac__type_sizeof_;
24905
 
int
24906
 
main ()
24907
 
{
24908
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
24909
 
test_array @<:@0@:>@ = 0
24910
 
 
24911
 
  ;
24912
 
  return 0;
24913
 
}
24914
 
_ACEOF
24915
 
rm -f conftest.$ac_objext
24916
 
if { (ac_try="$ac_compile"
24917
 
case "(($ac_try" in
24918
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24919
 
  *) ac_try_echo=$ac_try;;
24920
 
esac
24921
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24922
 
  (eval "$ac_compile") 2>conftest.er1
24923
 
  ac_status=$?
24924
 
  grep -v '^ *+' conftest.er1 >conftest.err
24925
 
  rm -f conftest.er1
24926
 
  cat conftest.err >&5
24927
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24928
 
  (exit $ac_status); } && {
24929
 
         test -z "$ac_c_werror_flag" ||
24930
 
         test ! -s conftest.err
24931
 
       } && test -s conftest.$ac_objext; then
24932
 
  ac_hi=-1 ac_mid=-1
24933
 
  while :; do
24934
 
    cat >conftest.$ac_ext <<_ACEOF
24935
 
/* confdefs.h.  */
24936
 
_ACEOF
24937
 
cat confdefs.h >>conftest.$ac_ext
24938
 
cat >>conftest.$ac_ext <<_ACEOF
24939
 
/* end confdefs.h.  */
24940
 
$ac_includes_default
24941
 
   typedef unsigned long ac__type_sizeof_;
24942
 
int
24943
 
main ()
24944
 
{
24945
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
24946
 
test_array @<:@0@:>@ = 0
24947
 
 
24948
 
  ;
24949
 
  return 0;
24950
 
}
24951
 
_ACEOF
24952
 
rm -f conftest.$ac_objext
24953
 
if { (ac_try="$ac_compile"
24954
 
case "(($ac_try" in
24955
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24956
 
  *) ac_try_echo=$ac_try;;
24957
 
esac
24958
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24959
 
  (eval "$ac_compile") 2>conftest.er1
24960
 
  ac_status=$?
24961
 
  grep -v '^ *+' conftest.er1 >conftest.err
24962
 
  rm -f conftest.er1
24963
 
  cat conftest.err >&5
24964
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24965
 
  (exit $ac_status); } && {
24966
 
         test -z "$ac_c_werror_flag" ||
24967
 
         test ! -s conftest.err
24968
 
       } && test -s conftest.$ac_objext; then
24969
 
  ac_lo=$ac_mid; break
24970
 
else
24971
 
  echo "$as_me: failed program was:" >&5
24972
 
sed 's/^/| /' conftest.$ac_ext >&5
24973
 
 
24974
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
24975
 
                        if test $ac_mid -le $ac_hi; then
24976
 
                          ac_lo= ac_hi=
24977
 
                          break
24978
 
                        fi
24979
 
                        ac_mid=`expr 2 '*' $ac_mid`
24980
 
fi
24981
 
 
24982
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24983
 
  done
24984
 
else
24985
 
  echo "$as_me: failed program was:" >&5
24986
 
sed 's/^/| /' conftest.$ac_ext >&5
24987
 
 
24988
 
        ac_lo= ac_hi=
24989
 
fi
24990
 
 
24991
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24992
 
fi
24993
 
 
24994
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24995
 
# Binary search between lo and hi bounds.
24996
 
while test "x$ac_lo" != "x$ac_hi"; do
24997
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24998
 
  cat >conftest.$ac_ext <<_ACEOF
24999
 
/* confdefs.h.  */
25000
 
_ACEOF
25001
 
cat confdefs.h >>conftest.$ac_ext
25002
 
cat >>conftest.$ac_ext <<_ACEOF
25003
 
/* end confdefs.h.  */
25004
 
$ac_includes_default
25005
 
   typedef unsigned long ac__type_sizeof_;
25006
 
int
25007
 
main ()
25008
 
{
25009
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
25010
 
test_array @<:@0@:>@ = 0
25011
 
 
25012
 
  ;
25013
 
  return 0;
25014
 
}
25015
 
_ACEOF
25016
 
rm -f conftest.$ac_objext
25017
 
if { (ac_try="$ac_compile"
25018
 
case "(($ac_try" in
25019
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25020
 
  *) ac_try_echo=$ac_try;;
25021
 
esac
25022
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25023
 
  (eval "$ac_compile") 2>conftest.er1
25024
 
  ac_status=$?
25025
 
  grep -v '^ *+' conftest.er1 >conftest.err
25026
 
  rm -f conftest.er1
25027
 
  cat conftest.err >&5
25028
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25029
 
  (exit $ac_status); } && {
25030
 
         test -z "$ac_c_werror_flag" ||
25031
 
         test ! -s conftest.err
25032
 
       } && test -s conftest.$ac_objext; then
25033
 
  ac_hi=$ac_mid
25034
 
else
25035
 
  echo "$as_me: failed program was:" >&5
25036
 
sed 's/^/| /' conftest.$ac_ext >&5
25037
 
 
25038
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
25039
 
fi
25040
 
 
25041
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25042
 
done
25043
 
case $ac_lo in
25044
 
?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
25045
 
'') if test "$ac_cv_type_unsigned_long" = yes; then
25046
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
25047
 
See \`config.log' for more details." >&5
25048
 
echo "$as_me: error: cannot compute sizeof (unsigned long)
25049
 
See \`config.log' for more details." >&2;}
25050
 
   { (exit 77); exit 77; }; }
25051
 
   else
25052
 
     ac_cv_sizeof_unsigned_long=0
25053
 
   fi ;;
25054
 
esac
25055
 
else
25056
 
  cat >conftest.$ac_ext <<_ACEOF
25057
 
/* confdefs.h.  */
25058
 
_ACEOF
25059
 
cat confdefs.h >>conftest.$ac_ext
25060
 
cat >>conftest.$ac_ext <<_ACEOF
25061
 
/* end confdefs.h.  */
25062
 
$ac_includes_default
25063
 
   typedef unsigned long ac__type_sizeof_;
25064
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25065
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25066
 
@%:@include <stdio.h>
25067
 
@%:@include <stdlib.h>
25068
 
int
25069
 
main ()
25070
 
{
25071
 
 
25072
 
  FILE *f = fopen ("conftest.val", "w");
25073
 
  if (! f)
25074
 
    return 1;
25075
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25076
 
    {
25077
 
      long int i = longval ();
25078
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
25079
 
        return 1;
25080
 
      fprintf (f, "%ld\n", i);
25081
 
    }
25082
 
  else
25083
 
    {
25084
 
      unsigned long int i = ulongval ();
25085
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
25086
 
        return 1;
25087
 
      fprintf (f, "%lu\n", i);
25088
 
    }
25089
 
  return ferror (f) || fclose (f) != 0;
25090
 
 
25091
 
  ;
25092
 
  return 0;
25093
 
}
25094
 
_ACEOF
25095
 
rm -f conftest$ac_exeext
25096
 
if { (ac_try="$ac_link"
25097
 
case "(($ac_try" in
25098
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25099
 
  *) ac_try_echo=$ac_try;;
25100
 
esac
25101
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25102
 
  (eval "$ac_link") 2>&5
25103
 
  ac_status=$?
25104
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25105
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25106
 
  { (case "(($ac_try" in
25107
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25108
 
  *) ac_try_echo=$ac_try;;
25109
 
esac
25110
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25111
 
  (eval "$ac_try") 2>&5
25112
 
  ac_status=$?
25113
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25114
 
  (exit $ac_status); }; }; then
25115
 
  ac_cv_sizeof_unsigned_long=`cat conftest.val`
25116
 
else
25117
 
  echo "$as_me: program exited with status $ac_status" >&5
25118
 
echo "$as_me: failed program was:" >&5
25119
 
sed 's/^/| /' conftest.$ac_ext >&5
25120
 
 
25121
 
( exit $ac_status )
25122
 
if test "$ac_cv_type_unsigned_long" = yes; then
25123
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
25124
 
See \`config.log' for more details." >&5
25125
 
echo "$as_me: error: cannot compute sizeof (unsigned long)
25126
 
See \`config.log' for more details." >&2;}
25127
 
   { (exit 77); exit 77; }; }
25128
 
   else
25129
 
     ac_cv_sizeof_unsigned_long=0
25130
 
   fi
25131
 
fi
25132
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25133
 
fi
25134
 
rm -f conftest.val
25135
 
fi
25136
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
25137
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
25138
 
 
25139
 
 
25140
 
 
25141
 
cat >>confdefs.h <<_ACEOF
25142
 
@%:@define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
25143
 
_ACEOF
25144
 
 
25145
 
 
25146
 
{ echo "$as_me:$LINENO: checking for long long" >&5
25147
 
echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
25148
 
if test "${ac_cv_type_long_long+set}" = set; then
25149
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25150
 
else
25151
 
  cat >conftest.$ac_ext <<_ACEOF
25152
 
/* confdefs.h.  */
25153
 
_ACEOF
25154
 
cat confdefs.h >>conftest.$ac_ext
25155
 
cat >>conftest.$ac_ext <<_ACEOF
25156
 
/* end confdefs.h.  */
25157
 
$ac_includes_default
25158
 
typedef long long ac__type_new_;
25159
 
int
25160
 
main ()
25161
 
{
25162
 
if ((ac__type_new_ *) 0)
25163
 
  return 0;
25164
 
if (sizeof (ac__type_new_))
25165
 
  return 0;
25166
 
  ;
25167
 
  return 0;
25168
 
}
25169
 
_ACEOF
25170
 
rm -f conftest.$ac_objext
25171
 
if { (ac_try="$ac_compile"
25172
 
case "(($ac_try" in
25173
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25174
 
  *) ac_try_echo=$ac_try;;
25175
 
esac
25176
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25177
 
  (eval "$ac_compile") 2>conftest.er1
25178
 
  ac_status=$?
25179
 
  grep -v '^ *+' conftest.er1 >conftest.err
25180
 
  rm -f conftest.er1
25181
 
  cat conftest.err >&5
25182
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25183
 
  (exit $ac_status); } && {
25184
 
         test -z "$ac_c_werror_flag" ||
25185
 
         test ! -s conftest.err
25186
 
       } && test -s conftest.$ac_objext; then
25187
 
  ac_cv_type_long_long=yes
25188
 
else
25189
 
  echo "$as_me: failed program was:" >&5
25190
 
sed 's/^/| /' conftest.$ac_ext >&5
25191
 
 
25192
 
        ac_cv_type_long_long=no
25193
 
fi
25194
 
 
25195
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25196
 
fi
25197
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
25198
 
echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
25199
 
 
25200
 
# The cast to long int works around a bug in the HP C Compiler
25201
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25202
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25203
 
# This bug is HP SR number 8606223364.
25204
 
{ echo "$as_me:$LINENO: checking size of long long" >&5
25205
 
echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
25206
 
if test "${ac_cv_sizeof_long_long+set}" = set; then
25207
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25208
 
else
25209
 
  if test "$cross_compiling" = yes; then
25210
 
  # Depending upon the size, compute the lo and hi bounds.
25211
 
cat >conftest.$ac_ext <<_ACEOF
25212
 
/* confdefs.h.  */
25213
 
_ACEOF
25214
 
cat confdefs.h >>conftest.$ac_ext
25215
 
cat >>conftest.$ac_ext <<_ACEOF
25216
 
/* end confdefs.h.  */
25217
 
$ac_includes_default
25218
 
   typedef long long ac__type_sizeof_;
25219
 
int
25220
 
main ()
25221
 
{
25222
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
25223
 
test_array @<:@0@:>@ = 0
25224
 
 
25225
 
  ;
25226
 
  return 0;
25227
 
}
25228
 
_ACEOF
25229
 
rm -f conftest.$ac_objext
25230
 
if { (ac_try="$ac_compile"
25231
 
case "(($ac_try" in
25232
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25233
 
  *) ac_try_echo=$ac_try;;
25234
 
esac
25235
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25236
 
  (eval "$ac_compile") 2>conftest.er1
25237
 
  ac_status=$?
25238
 
  grep -v '^ *+' conftest.er1 >conftest.err
25239
 
  rm -f conftest.er1
25240
 
  cat conftest.err >&5
25241
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25242
 
  (exit $ac_status); } && {
25243
 
         test -z "$ac_c_werror_flag" ||
25244
 
         test ! -s conftest.err
25245
 
       } && test -s conftest.$ac_objext; then
25246
 
  ac_lo=0 ac_mid=0
25247
 
  while :; do
25248
 
    cat >conftest.$ac_ext <<_ACEOF
25249
 
/* confdefs.h.  */
25250
 
_ACEOF
25251
 
cat confdefs.h >>conftest.$ac_ext
25252
 
cat >>conftest.$ac_ext <<_ACEOF
25253
 
/* end confdefs.h.  */
25254
 
$ac_includes_default
25255
 
   typedef long long ac__type_sizeof_;
25256
 
int
25257
 
main ()
25258
 
{
25259
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
25260
 
test_array @<:@0@:>@ = 0
25261
 
 
25262
 
  ;
25263
 
  return 0;
25264
 
}
25265
 
_ACEOF
25266
 
rm -f conftest.$ac_objext
25267
 
if { (ac_try="$ac_compile"
25268
 
case "(($ac_try" in
25269
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25270
 
  *) ac_try_echo=$ac_try;;
25271
 
esac
25272
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25273
 
  (eval "$ac_compile") 2>conftest.er1
25274
 
  ac_status=$?
25275
 
  grep -v '^ *+' conftest.er1 >conftest.err
25276
 
  rm -f conftest.er1
25277
 
  cat conftest.err >&5
25278
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25279
 
  (exit $ac_status); } && {
25280
 
         test -z "$ac_c_werror_flag" ||
25281
 
         test ! -s conftest.err
25282
 
       } && test -s conftest.$ac_objext; then
25283
 
  ac_hi=$ac_mid; break
25284
 
else
25285
 
  echo "$as_me: failed program was:" >&5
25286
 
sed 's/^/| /' conftest.$ac_ext >&5
25287
 
 
25288
 
        ac_lo=`expr $ac_mid + 1`
25289
 
                        if test $ac_lo -le $ac_mid; then
25290
 
                          ac_lo= ac_hi=
25291
 
                          break
25292
 
                        fi
25293
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
25294
 
fi
25295
 
 
25296
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25297
 
  done
25298
 
else
25299
 
  echo "$as_me: failed program was:" >&5
25300
 
sed 's/^/| /' conftest.$ac_ext >&5
25301
 
 
25302
 
        cat >conftest.$ac_ext <<_ACEOF
25303
 
/* confdefs.h.  */
25304
 
_ACEOF
25305
 
cat confdefs.h >>conftest.$ac_ext
25306
 
cat >>conftest.$ac_ext <<_ACEOF
25307
 
/* end confdefs.h.  */
25308
 
$ac_includes_default
25309
 
   typedef long long ac__type_sizeof_;
25310
 
int
25311
 
main ()
25312
 
{
25313
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
25314
 
test_array @<:@0@:>@ = 0
25315
 
 
25316
 
  ;
25317
 
  return 0;
25318
 
}
25319
 
_ACEOF
25320
 
rm -f conftest.$ac_objext
25321
 
if { (ac_try="$ac_compile"
25322
 
case "(($ac_try" in
25323
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25324
 
  *) ac_try_echo=$ac_try;;
25325
 
esac
25326
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25327
 
  (eval "$ac_compile") 2>conftest.er1
25328
 
  ac_status=$?
25329
 
  grep -v '^ *+' conftest.er1 >conftest.err
25330
 
  rm -f conftest.er1
25331
 
  cat conftest.err >&5
25332
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25333
 
  (exit $ac_status); } && {
25334
 
         test -z "$ac_c_werror_flag" ||
25335
 
         test ! -s conftest.err
25336
 
       } && test -s conftest.$ac_objext; then
25337
 
  ac_hi=-1 ac_mid=-1
25338
 
  while :; do
25339
 
    cat >conftest.$ac_ext <<_ACEOF
25340
 
/* confdefs.h.  */
25341
 
_ACEOF
25342
 
cat confdefs.h >>conftest.$ac_ext
25343
 
cat >>conftest.$ac_ext <<_ACEOF
25344
 
/* end confdefs.h.  */
25345
 
$ac_includes_default
25346
 
   typedef long long ac__type_sizeof_;
25347
 
int
25348
 
main ()
25349
 
{
25350
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
25351
 
test_array @<:@0@:>@ = 0
25352
 
 
25353
 
  ;
25354
 
  return 0;
25355
 
}
25356
 
_ACEOF
25357
 
rm -f conftest.$ac_objext
25358
 
if { (ac_try="$ac_compile"
25359
 
case "(($ac_try" in
25360
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25361
 
  *) ac_try_echo=$ac_try;;
25362
 
esac
25363
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25364
 
  (eval "$ac_compile") 2>conftest.er1
25365
 
  ac_status=$?
25366
 
  grep -v '^ *+' conftest.er1 >conftest.err
25367
 
  rm -f conftest.er1
25368
 
  cat conftest.err >&5
25369
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25370
 
  (exit $ac_status); } && {
25371
 
         test -z "$ac_c_werror_flag" ||
25372
 
         test ! -s conftest.err
25373
 
       } && test -s conftest.$ac_objext; then
25374
 
  ac_lo=$ac_mid; break
25375
 
else
25376
 
  echo "$as_me: failed program was:" >&5
25377
 
sed 's/^/| /' conftest.$ac_ext >&5
25378
 
 
25379
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
25380
 
                        if test $ac_mid -le $ac_hi; then
25381
 
                          ac_lo= ac_hi=
25382
 
                          break
25383
 
                        fi
25384
 
                        ac_mid=`expr 2 '*' $ac_mid`
25385
 
fi
25386
 
 
25387
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25388
 
  done
25389
 
else
25390
 
  echo "$as_me: failed program was:" >&5
25391
 
sed 's/^/| /' conftest.$ac_ext >&5
25392
 
 
25393
 
        ac_lo= ac_hi=
25394
 
fi
25395
 
 
25396
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25397
 
fi
25398
 
 
25399
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25400
 
# Binary search between lo and hi bounds.
25401
 
while test "x$ac_lo" != "x$ac_hi"; do
25402
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25403
 
  cat >conftest.$ac_ext <<_ACEOF
25404
 
/* confdefs.h.  */
25405
 
_ACEOF
25406
 
cat confdefs.h >>conftest.$ac_ext
25407
 
cat >>conftest.$ac_ext <<_ACEOF
25408
 
/* end confdefs.h.  */
25409
 
$ac_includes_default
25410
 
   typedef long long ac__type_sizeof_;
25411
 
int
25412
 
main ()
25413
 
{
25414
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
25415
 
test_array @<:@0@:>@ = 0
25416
 
 
25417
 
  ;
25418
 
  return 0;
25419
 
}
25420
 
_ACEOF
25421
 
rm -f conftest.$ac_objext
25422
 
if { (ac_try="$ac_compile"
25423
 
case "(($ac_try" in
25424
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25425
 
  *) ac_try_echo=$ac_try;;
25426
 
esac
25427
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25428
 
  (eval "$ac_compile") 2>conftest.er1
25429
 
  ac_status=$?
25430
 
  grep -v '^ *+' conftest.er1 >conftest.err
25431
 
  rm -f conftest.er1
25432
 
  cat conftest.err >&5
25433
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25434
 
  (exit $ac_status); } && {
25435
 
         test -z "$ac_c_werror_flag" ||
25436
 
         test ! -s conftest.err
25437
 
       } && test -s conftest.$ac_objext; then
25438
 
  ac_hi=$ac_mid
25439
 
else
25440
 
  echo "$as_me: failed program was:" >&5
25441
 
sed 's/^/| /' conftest.$ac_ext >&5
25442
 
 
25443
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
25444
 
fi
25445
 
 
25446
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25447
 
done
25448
 
case $ac_lo in
25449
 
?*) ac_cv_sizeof_long_long=$ac_lo;;
25450
 
'') if test "$ac_cv_type_long_long" = yes; then
25451
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
25452
 
See \`config.log' for more details." >&5
25453
 
echo "$as_me: error: cannot compute sizeof (long long)
25454
 
See \`config.log' for more details." >&2;}
25455
 
   { (exit 77); exit 77; }; }
25456
 
   else
25457
 
     ac_cv_sizeof_long_long=0
25458
 
   fi ;;
25459
 
esac
25460
 
else
25461
 
  cat >conftest.$ac_ext <<_ACEOF
25462
 
/* confdefs.h.  */
25463
 
_ACEOF
25464
 
cat confdefs.h >>conftest.$ac_ext
25465
 
cat >>conftest.$ac_ext <<_ACEOF
25466
 
/* end confdefs.h.  */
25467
 
$ac_includes_default
25468
 
   typedef long long ac__type_sizeof_;
25469
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25470
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25471
 
@%:@include <stdio.h>
25472
 
@%:@include <stdlib.h>
25473
 
int
25474
 
main ()
25475
 
{
25476
 
 
25477
 
  FILE *f = fopen ("conftest.val", "w");
25478
 
  if (! f)
25479
 
    return 1;
25480
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25481
 
    {
25482
 
      long int i = longval ();
25483
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
25484
 
        return 1;
25485
 
      fprintf (f, "%ld\n", i);
25486
 
    }
25487
 
  else
25488
 
    {
25489
 
      unsigned long int i = ulongval ();
25490
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
25491
 
        return 1;
25492
 
      fprintf (f, "%lu\n", i);
25493
 
    }
25494
 
  return ferror (f) || fclose (f) != 0;
25495
 
 
25496
 
  ;
25497
 
  return 0;
25498
 
}
25499
 
_ACEOF
25500
 
rm -f conftest$ac_exeext
25501
 
if { (ac_try="$ac_link"
25502
 
case "(($ac_try" in
25503
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25504
 
  *) ac_try_echo=$ac_try;;
25505
 
esac
25506
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25507
 
  (eval "$ac_link") 2>&5
25508
 
  ac_status=$?
25509
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25510
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25511
 
  { (case "(($ac_try" in
25512
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25513
 
  *) ac_try_echo=$ac_try;;
25514
 
esac
25515
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25516
 
  (eval "$ac_try") 2>&5
25517
 
  ac_status=$?
25518
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25519
 
  (exit $ac_status); }; }; then
25520
 
  ac_cv_sizeof_long_long=`cat conftest.val`
25521
 
else
25522
 
  echo "$as_me: program exited with status $ac_status" >&5
25523
 
echo "$as_me: failed program was:" >&5
25524
 
sed 's/^/| /' conftest.$ac_ext >&5
25525
 
 
25526
 
( exit $ac_status )
25527
 
if test "$ac_cv_type_long_long" = yes; then
25528
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
25529
 
See \`config.log' for more details." >&5
25530
 
echo "$as_me: error: cannot compute sizeof (long long)
25531
 
See \`config.log' for more details." >&2;}
25532
 
   { (exit 77); exit 77; }; }
25533
 
   else
25534
 
     ac_cv_sizeof_long_long=0
25535
 
   fi
25536
 
fi
25537
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25538
 
fi
25539
 
rm -f conftest.val
25540
 
fi
25541
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
25542
 
echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
25543
 
 
25544
 
 
25545
 
 
25546
 
cat >>confdefs.h <<_ACEOF
25547
 
@%:@define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25548
 
_ACEOF
25549
 
 
25550
 
 
25551
 
{ echo "$as_me:$LINENO: checking for unsigned long long" >&5
25552
 
echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6; }
25553
 
if test "${ac_cv_type_unsigned_long_long+set}" = set; then
25554
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25555
 
else
25556
 
  cat >conftest.$ac_ext <<_ACEOF
25557
 
/* confdefs.h.  */
25558
 
_ACEOF
25559
 
cat confdefs.h >>conftest.$ac_ext
25560
 
cat >>conftest.$ac_ext <<_ACEOF
25561
 
/* end confdefs.h.  */
25562
 
$ac_includes_default
25563
 
typedef unsigned long long ac__type_new_;
25564
 
int
25565
 
main ()
25566
 
{
25567
 
if ((ac__type_new_ *) 0)
25568
 
  return 0;
25569
 
if (sizeof (ac__type_new_))
25570
 
  return 0;
25571
 
  ;
25572
 
  return 0;
25573
 
}
25574
 
_ACEOF
25575
 
rm -f conftest.$ac_objext
25576
 
if { (ac_try="$ac_compile"
25577
 
case "(($ac_try" in
25578
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25579
 
  *) ac_try_echo=$ac_try;;
25580
 
esac
25581
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25582
 
  (eval "$ac_compile") 2>conftest.er1
25583
 
  ac_status=$?
25584
 
  grep -v '^ *+' conftest.er1 >conftest.err
25585
 
  rm -f conftest.er1
25586
 
  cat conftest.err >&5
25587
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25588
 
  (exit $ac_status); } && {
25589
 
         test -z "$ac_c_werror_flag" ||
25590
 
         test ! -s conftest.err
25591
 
       } && test -s conftest.$ac_objext; then
25592
 
  ac_cv_type_unsigned_long_long=yes
25593
 
else
25594
 
  echo "$as_me: failed program was:" >&5
25595
 
sed 's/^/| /' conftest.$ac_ext >&5
25596
 
 
25597
 
        ac_cv_type_unsigned_long_long=no
25598
 
fi
25599
 
 
25600
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25601
 
fi
25602
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
25603
 
echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6; }
25604
 
 
25605
 
# The cast to long int works around a bug in the HP C Compiler
25606
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25607
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25608
 
# This bug is HP SR number 8606223364.
25609
 
{ echo "$as_me:$LINENO: checking size of unsigned long long" >&5
25610
 
echo $ECHO_N "checking size of unsigned long long... $ECHO_C" >&6; }
25611
 
if test "${ac_cv_sizeof_unsigned_long_long+set}" = set; then
25612
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25613
 
else
25614
 
  if test "$cross_compiling" = yes; then
25615
 
  # Depending upon the size, compute the lo and hi bounds.
25616
 
cat >conftest.$ac_ext <<_ACEOF
25617
 
/* confdefs.h.  */
25618
 
_ACEOF
25619
 
cat confdefs.h >>conftest.$ac_ext
25620
 
cat >>conftest.$ac_ext <<_ACEOF
25621
 
/* end confdefs.h.  */
25622
 
$ac_includes_default
25623
 
   typedef unsigned long long ac__type_sizeof_;
25624
 
int
25625
 
main ()
25626
 
{
25627
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
25628
 
test_array @<:@0@:>@ = 0
25629
 
 
25630
 
  ;
25631
 
  return 0;
25632
 
}
25633
 
_ACEOF
25634
 
rm -f conftest.$ac_objext
25635
 
if { (ac_try="$ac_compile"
25636
 
case "(($ac_try" in
25637
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25638
 
  *) ac_try_echo=$ac_try;;
25639
 
esac
25640
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25641
 
  (eval "$ac_compile") 2>conftest.er1
25642
 
  ac_status=$?
25643
 
  grep -v '^ *+' conftest.er1 >conftest.err
25644
 
  rm -f conftest.er1
25645
 
  cat conftest.err >&5
25646
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25647
 
  (exit $ac_status); } && {
25648
 
         test -z "$ac_c_werror_flag" ||
25649
 
         test ! -s conftest.err
25650
 
       } && test -s conftest.$ac_objext; then
25651
 
  ac_lo=0 ac_mid=0
25652
 
  while :; do
25653
 
    cat >conftest.$ac_ext <<_ACEOF
25654
 
/* confdefs.h.  */
25655
 
_ACEOF
25656
 
cat confdefs.h >>conftest.$ac_ext
25657
 
cat >>conftest.$ac_ext <<_ACEOF
25658
 
/* end confdefs.h.  */
25659
 
$ac_includes_default
25660
 
   typedef unsigned long long ac__type_sizeof_;
25661
 
int
25662
 
main ()
25663
 
{
25664
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
25665
 
test_array @<:@0@:>@ = 0
25666
 
 
25667
 
  ;
25668
 
  return 0;
25669
 
}
25670
 
_ACEOF
25671
 
rm -f conftest.$ac_objext
25672
 
if { (ac_try="$ac_compile"
25673
 
case "(($ac_try" in
25674
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25675
 
  *) ac_try_echo=$ac_try;;
25676
 
esac
25677
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25678
 
  (eval "$ac_compile") 2>conftest.er1
25679
 
  ac_status=$?
25680
 
  grep -v '^ *+' conftest.er1 >conftest.err
25681
 
  rm -f conftest.er1
25682
 
  cat conftest.err >&5
25683
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25684
 
  (exit $ac_status); } && {
25685
 
         test -z "$ac_c_werror_flag" ||
25686
 
         test ! -s conftest.err
25687
 
       } && test -s conftest.$ac_objext; then
25688
 
  ac_hi=$ac_mid; break
25689
 
else
25690
 
  echo "$as_me: failed program was:" >&5
25691
 
sed 's/^/| /' conftest.$ac_ext >&5
25692
 
 
25693
 
        ac_lo=`expr $ac_mid + 1`
25694
 
                        if test $ac_lo -le $ac_mid; then
25695
 
                          ac_lo= ac_hi=
25696
 
                          break
25697
 
                        fi
25698
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
25699
 
fi
25700
 
 
25701
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25702
 
  done
25703
 
else
25704
 
  echo "$as_me: failed program was:" >&5
25705
 
sed 's/^/| /' conftest.$ac_ext >&5
25706
 
 
25707
 
        cat >conftest.$ac_ext <<_ACEOF
25708
 
/* confdefs.h.  */
25709
 
_ACEOF
25710
 
cat confdefs.h >>conftest.$ac_ext
25711
 
cat >>conftest.$ac_ext <<_ACEOF
25712
 
/* end confdefs.h.  */
25713
 
$ac_includes_default
25714
 
   typedef unsigned long long ac__type_sizeof_;
25715
 
int
25716
 
main ()
25717
 
{
25718
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
25719
 
test_array @<:@0@:>@ = 0
25720
 
 
25721
 
  ;
25722
 
  return 0;
25723
 
}
25724
 
_ACEOF
25725
 
rm -f conftest.$ac_objext
25726
 
if { (ac_try="$ac_compile"
25727
 
case "(($ac_try" in
25728
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25729
 
  *) ac_try_echo=$ac_try;;
25730
 
esac
25731
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25732
 
  (eval "$ac_compile") 2>conftest.er1
25733
 
  ac_status=$?
25734
 
  grep -v '^ *+' conftest.er1 >conftest.err
25735
 
  rm -f conftest.er1
25736
 
  cat conftest.err >&5
25737
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25738
 
  (exit $ac_status); } && {
25739
 
         test -z "$ac_c_werror_flag" ||
25740
 
         test ! -s conftest.err
25741
 
       } && test -s conftest.$ac_objext; then
25742
 
  ac_hi=-1 ac_mid=-1
25743
 
  while :; do
25744
 
    cat >conftest.$ac_ext <<_ACEOF
25745
 
/* confdefs.h.  */
25746
 
_ACEOF
25747
 
cat confdefs.h >>conftest.$ac_ext
25748
 
cat >>conftest.$ac_ext <<_ACEOF
25749
 
/* end confdefs.h.  */
25750
 
$ac_includes_default
25751
 
   typedef unsigned long long ac__type_sizeof_;
25752
 
int
25753
 
main ()
25754
 
{
25755
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
25756
 
test_array @<:@0@:>@ = 0
25757
 
 
25758
 
  ;
25759
 
  return 0;
25760
 
}
25761
 
_ACEOF
25762
 
rm -f conftest.$ac_objext
25763
 
if { (ac_try="$ac_compile"
25764
 
case "(($ac_try" in
25765
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25766
 
  *) ac_try_echo=$ac_try;;
25767
 
esac
25768
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25769
 
  (eval "$ac_compile") 2>conftest.er1
25770
 
  ac_status=$?
25771
 
  grep -v '^ *+' conftest.er1 >conftest.err
25772
 
  rm -f conftest.er1
25773
 
  cat conftest.err >&5
25774
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25775
 
  (exit $ac_status); } && {
25776
 
         test -z "$ac_c_werror_flag" ||
25777
 
         test ! -s conftest.err
25778
 
       } && test -s conftest.$ac_objext; then
25779
 
  ac_lo=$ac_mid; break
25780
 
else
25781
 
  echo "$as_me: failed program was:" >&5
25782
 
sed 's/^/| /' conftest.$ac_ext >&5
25783
 
 
25784
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
25785
 
                        if test $ac_mid -le $ac_hi; then
25786
 
                          ac_lo= ac_hi=
25787
 
                          break
25788
 
                        fi
25789
 
                        ac_mid=`expr 2 '*' $ac_mid`
25790
 
fi
25791
 
 
25792
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25793
 
  done
25794
 
else
25795
 
  echo "$as_me: failed program was:" >&5
25796
 
sed 's/^/| /' conftest.$ac_ext >&5
25797
 
 
25798
 
        ac_lo= ac_hi=
25799
 
fi
25800
 
 
25801
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25802
 
fi
25803
 
 
25804
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25805
 
# Binary search between lo and hi bounds.
25806
 
while test "x$ac_lo" != "x$ac_hi"; do
25807
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25808
 
  cat >conftest.$ac_ext <<_ACEOF
25809
 
/* confdefs.h.  */
25810
 
_ACEOF
25811
 
cat confdefs.h >>conftest.$ac_ext
25812
 
cat >>conftest.$ac_ext <<_ACEOF
25813
 
/* end confdefs.h.  */
25814
 
$ac_includes_default
25815
 
   typedef unsigned long long ac__type_sizeof_;
25816
 
int
25817
 
main ()
25818
 
{
25819
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
25820
 
test_array @<:@0@:>@ = 0
25821
 
 
25822
 
  ;
25823
 
  return 0;
25824
 
}
25825
 
_ACEOF
25826
 
rm -f conftest.$ac_objext
25827
 
if { (ac_try="$ac_compile"
25828
 
case "(($ac_try" in
25829
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25830
 
  *) ac_try_echo=$ac_try;;
25831
 
esac
25832
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25833
 
  (eval "$ac_compile") 2>conftest.er1
25834
 
  ac_status=$?
25835
 
  grep -v '^ *+' conftest.er1 >conftest.err
25836
 
  rm -f conftest.er1
25837
 
  cat conftest.err >&5
25838
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25839
 
  (exit $ac_status); } && {
25840
 
         test -z "$ac_c_werror_flag" ||
25841
 
         test ! -s conftest.err
25842
 
       } && test -s conftest.$ac_objext; then
25843
 
  ac_hi=$ac_mid
25844
 
else
25845
 
  echo "$as_me: failed program was:" >&5
25846
 
sed 's/^/| /' conftest.$ac_ext >&5
25847
 
 
25848
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
25849
 
fi
25850
 
 
25851
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25852
 
done
25853
 
case $ac_lo in
25854
 
?*) ac_cv_sizeof_unsigned_long_long=$ac_lo;;
25855
 
'') if test "$ac_cv_type_unsigned_long_long" = yes; then
25856
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long)
25857
 
See \`config.log' for more details." >&5
25858
 
echo "$as_me: error: cannot compute sizeof (unsigned long long)
25859
 
See \`config.log' for more details." >&2;}
25860
 
   { (exit 77); exit 77; }; }
25861
 
   else
25862
 
     ac_cv_sizeof_unsigned_long_long=0
25863
 
   fi ;;
25864
 
esac
25865
 
else
25866
 
  cat >conftest.$ac_ext <<_ACEOF
25867
 
/* confdefs.h.  */
25868
 
_ACEOF
25869
 
cat confdefs.h >>conftest.$ac_ext
25870
 
cat >>conftest.$ac_ext <<_ACEOF
25871
 
/* end confdefs.h.  */
25872
 
$ac_includes_default
25873
 
   typedef unsigned long long ac__type_sizeof_;
25874
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25875
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25876
 
@%:@include <stdio.h>
25877
 
@%:@include <stdlib.h>
25878
 
int
25879
 
main ()
25880
 
{
25881
 
 
25882
 
  FILE *f = fopen ("conftest.val", "w");
25883
 
  if (! f)
25884
 
    return 1;
25885
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25886
 
    {
25887
 
      long int i = longval ();
25888
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
25889
 
        return 1;
25890
 
      fprintf (f, "%ld\n", i);
25891
 
    }
25892
 
  else
25893
 
    {
25894
 
      unsigned long int i = ulongval ();
25895
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
25896
 
        return 1;
25897
 
      fprintf (f, "%lu\n", i);
25898
 
    }
25899
 
  return ferror (f) || fclose (f) != 0;
25900
 
 
25901
 
  ;
25902
 
  return 0;
25903
 
}
25904
 
_ACEOF
25905
 
rm -f conftest$ac_exeext
25906
 
if { (ac_try="$ac_link"
25907
 
case "(($ac_try" in
25908
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25909
 
  *) ac_try_echo=$ac_try;;
25910
 
esac
25911
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25912
 
  (eval "$ac_link") 2>&5
25913
 
  ac_status=$?
25914
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25915
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25916
 
  { (case "(($ac_try" in
25917
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25918
 
  *) ac_try_echo=$ac_try;;
25919
 
esac
25920
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25921
 
  (eval "$ac_try") 2>&5
25922
 
  ac_status=$?
25923
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25924
 
  (exit $ac_status); }; }; then
25925
 
  ac_cv_sizeof_unsigned_long_long=`cat conftest.val`
25926
 
else
25927
 
  echo "$as_me: program exited with status $ac_status" >&5
25928
 
echo "$as_me: failed program was:" >&5
25929
 
sed 's/^/| /' conftest.$ac_ext >&5
25930
 
 
25931
 
( exit $ac_status )
25932
 
if test "$ac_cv_type_unsigned_long_long" = yes; then
25933
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long)
25934
 
See \`config.log' for more details." >&5
25935
 
echo "$as_me: error: cannot compute sizeof (unsigned long long)
25936
 
See \`config.log' for more details." >&2;}
25937
 
   { (exit 77); exit 77; }; }
25938
 
   else
25939
 
     ac_cv_sizeof_unsigned_long_long=0
25940
 
   fi
25941
 
fi
25942
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25943
 
fi
25944
 
rm -f conftest.val
25945
 
fi
25946
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_long" >&5
25947
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_long" >&6; }
25948
 
 
25949
 
 
25950
 
 
25951
 
cat >>confdefs.h <<_ACEOF
25952
 
@%:@define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long
25953
 
_ACEOF
25954
 
 
25955
 
 
25956
 
{ echo "$as_me:$LINENO: checking for uchar" >&5
25957
 
echo $ECHO_N "checking for uchar... $ECHO_C" >&6; }
25958
 
if test "${ac_cv_type_uchar+set}" = set; then
25959
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25960
 
else
25961
 
  cat >conftest.$ac_ext <<_ACEOF
25962
 
/* confdefs.h.  */
25963
 
_ACEOF
25964
 
cat confdefs.h >>conftest.$ac_ext
25965
 
cat >>conftest.$ac_ext <<_ACEOF
25966
 
/* end confdefs.h.  */
25967
 
$ac_includes_default
25968
 
typedef uchar ac__type_new_;
25969
 
int
25970
 
main ()
25971
 
{
25972
 
if ((ac__type_new_ *) 0)
25973
 
  return 0;
25974
 
if (sizeof (ac__type_new_))
25975
 
  return 0;
25976
 
  ;
25977
 
  return 0;
25978
 
}
25979
 
_ACEOF
25980
 
rm -f conftest.$ac_objext
25981
 
if { (ac_try="$ac_compile"
25982
 
case "(($ac_try" in
25983
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25984
 
  *) ac_try_echo=$ac_try;;
25985
 
esac
25986
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25987
 
  (eval "$ac_compile") 2>conftest.er1
25988
 
  ac_status=$?
25989
 
  grep -v '^ *+' conftest.er1 >conftest.err
25990
 
  rm -f conftest.er1
25991
 
  cat conftest.err >&5
25992
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25993
 
  (exit $ac_status); } && {
25994
 
         test -z "$ac_c_werror_flag" ||
25995
 
         test ! -s conftest.err
25996
 
       } && test -s conftest.$ac_objext; then
25997
 
  ac_cv_type_uchar=yes
25998
 
else
25999
 
  echo "$as_me: failed program was:" >&5
26000
 
sed 's/^/| /' conftest.$ac_ext >&5
26001
 
 
26002
 
        ac_cv_type_uchar=no
26003
 
fi
26004
 
 
26005
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26006
 
fi
26007
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_uchar" >&5
26008
 
echo "${ECHO_T}$ac_cv_type_uchar" >&6; }
26009
 
if test $ac_cv_type_uchar = yes; then
26010
 
  :
26011
 
else
26012
 
  
26013
 
cat >>confdefs.h <<_ACEOF
26014
 
@%:@define uchar unsigned char
26015
 
_ACEOF
26016
 
 
26017
 
fi
26018
 
 
26019
 
{ echo "$as_me:$LINENO: checking for ushort" >&5
26020
 
echo $ECHO_N "checking for ushort... $ECHO_C" >&6; }
26021
 
if test "${ac_cv_type_ushort+set}" = set; then
26022
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26023
 
else
26024
 
  cat >conftest.$ac_ext <<_ACEOF
26025
 
/* confdefs.h.  */
26026
 
_ACEOF
26027
 
cat confdefs.h >>conftest.$ac_ext
26028
 
cat >>conftest.$ac_ext <<_ACEOF
26029
 
/* end confdefs.h.  */
26030
 
$ac_includes_default
26031
 
typedef ushort ac__type_new_;
26032
 
int
26033
 
main ()
26034
 
{
26035
 
if ((ac__type_new_ *) 0)
26036
 
  return 0;
26037
 
if (sizeof (ac__type_new_))
26038
 
  return 0;
26039
 
  ;
26040
 
  return 0;
26041
 
}
26042
 
_ACEOF
26043
 
rm -f conftest.$ac_objext
26044
 
if { (ac_try="$ac_compile"
26045
 
case "(($ac_try" in
26046
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26047
 
  *) ac_try_echo=$ac_try;;
26048
 
esac
26049
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26050
 
  (eval "$ac_compile") 2>conftest.er1
26051
 
  ac_status=$?
26052
 
  grep -v '^ *+' conftest.er1 >conftest.err
26053
 
  rm -f conftest.er1
26054
 
  cat conftest.err >&5
26055
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26056
 
  (exit $ac_status); } && {
26057
 
         test -z "$ac_c_werror_flag" ||
26058
 
         test ! -s conftest.err
26059
 
       } && test -s conftest.$ac_objext; then
26060
 
  ac_cv_type_ushort=yes
26061
 
else
26062
 
  echo "$as_me: failed program was:" >&5
26063
 
sed 's/^/| /' conftest.$ac_ext >&5
26064
 
 
26065
 
        ac_cv_type_ushort=no
26066
 
fi
26067
 
 
26068
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26069
 
fi
26070
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_ushort" >&5
26071
 
echo "${ECHO_T}$ac_cv_type_ushort" >&6; }
26072
 
if test $ac_cv_type_ushort = yes; then
26073
 
  :
26074
 
else
26075
 
  
26076
 
cat >>confdefs.h <<_ACEOF
26077
 
@%:@define ushort unsigned short
26078
 
_ACEOF
26079
 
 
26080
 
fi
26081
 
 
26082
 
{ echo "$as_me:$LINENO: checking for uint" >&5
26083
 
echo $ECHO_N "checking for uint... $ECHO_C" >&6; }
26084
 
if test "${ac_cv_type_uint+set}" = set; then
26085
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26086
 
else
26087
 
  cat >conftest.$ac_ext <<_ACEOF
26088
 
/* confdefs.h.  */
26089
 
_ACEOF
26090
 
cat confdefs.h >>conftest.$ac_ext
26091
 
cat >>conftest.$ac_ext <<_ACEOF
26092
 
/* end confdefs.h.  */
26093
 
$ac_includes_default
26094
 
typedef uint ac__type_new_;
26095
 
int
26096
 
main ()
26097
 
{
26098
 
if ((ac__type_new_ *) 0)
26099
 
  return 0;
26100
 
if (sizeof (ac__type_new_))
26101
 
  return 0;
26102
 
  ;
26103
 
  return 0;
26104
 
}
26105
 
_ACEOF
26106
 
rm -f conftest.$ac_objext
26107
 
if { (ac_try="$ac_compile"
26108
 
case "(($ac_try" in
26109
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26110
 
  *) ac_try_echo=$ac_try;;
26111
 
esac
26112
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26113
 
  (eval "$ac_compile") 2>conftest.er1
26114
 
  ac_status=$?
26115
 
  grep -v '^ *+' conftest.er1 >conftest.err
26116
 
  rm -f conftest.er1
26117
 
  cat conftest.err >&5
26118
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26119
 
  (exit $ac_status); } && {
26120
 
         test -z "$ac_c_werror_flag" ||
26121
 
         test ! -s conftest.err
26122
 
       } && test -s conftest.$ac_objext; then
26123
 
  ac_cv_type_uint=yes
26124
 
else
26125
 
  echo "$as_me: failed program was:" >&5
26126
 
sed 's/^/| /' conftest.$ac_ext >&5
26127
 
 
26128
 
        ac_cv_type_uint=no
26129
 
fi
26130
 
 
26131
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26132
 
fi
26133
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_uint" >&5
26134
 
echo "${ECHO_T}$ac_cv_type_uint" >&6; }
26135
 
if test $ac_cv_type_uint = yes; then
26136
 
  :
26137
 
else
26138
 
  
26139
 
cat >>confdefs.h <<_ACEOF
26140
 
@%:@define uint unsigned int
26141
 
_ACEOF
26142
 
 
26143
 
fi
26144
 
 
26145
 
{ echo "$as_me:$LINENO: checking for ulong" >&5
26146
 
echo $ECHO_N "checking for ulong... $ECHO_C" >&6; }
26147
 
if test "${ac_cv_type_ulong+set}" = set; then
26148
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26149
 
else
26150
 
  cat >conftest.$ac_ext <<_ACEOF
26151
 
/* confdefs.h.  */
26152
 
_ACEOF
26153
 
cat confdefs.h >>conftest.$ac_ext
26154
 
cat >>conftest.$ac_ext <<_ACEOF
26155
 
/* end confdefs.h.  */
26156
 
$ac_includes_default
26157
 
typedef ulong ac__type_new_;
26158
 
int
26159
 
main ()
26160
 
{
26161
 
if ((ac__type_new_ *) 0)
26162
 
  return 0;
26163
 
if (sizeof (ac__type_new_))
26164
 
  return 0;
26165
 
  ;
26166
 
  return 0;
26167
 
}
26168
 
_ACEOF
26169
 
rm -f conftest.$ac_objext
26170
 
if { (ac_try="$ac_compile"
26171
 
case "(($ac_try" in
26172
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26173
 
  *) ac_try_echo=$ac_try;;
26174
 
esac
26175
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26176
 
  (eval "$ac_compile") 2>conftest.er1
26177
 
  ac_status=$?
26178
 
  grep -v '^ *+' conftest.er1 >conftest.err
26179
 
  rm -f conftest.er1
26180
 
  cat conftest.err >&5
26181
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26182
 
  (exit $ac_status); } && {
26183
 
         test -z "$ac_c_werror_flag" ||
26184
 
         test ! -s conftest.err
26185
 
       } && test -s conftest.$ac_objext; then
26186
 
  ac_cv_type_ulong=yes
26187
 
else
26188
 
  echo "$as_me: failed program was:" >&5
26189
 
sed 's/^/| /' conftest.$ac_ext >&5
26190
 
 
26191
 
        ac_cv_type_ulong=no
26192
 
fi
26193
 
 
26194
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26195
 
fi
26196
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_ulong" >&5
26197
 
echo "${ECHO_T}$ac_cv_type_ulong" >&6; }
26198
 
if test $ac_cv_type_ulong = yes; then
26199
 
  :
26200
 
else
26201
 
  
26202
 
cat >>confdefs.h <<_ACEOF
26203
 
@%:@define ulong unsigned long
26204
 
_ACEOF
26205
 
 
26206
 
fi
26207
 
 
26208
 
{ echo "$as_me:$LINENO: checking for longlong" >&5
26209
 
echo $ECHO_N "checking for longlong... $ECHO_C" >&6; }
26210
 
if test "${ac_cv_type_longlong+set}" = set; then
26211
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26212
 
else
26213
 
  cat >conftest.$ac_ext <<_ACEOF
26214
 
/* confdefs.h.  */
26215
 
_ACEOF
26216
 
cat confdefs.h >>conftest.$ac_ext
26217
 
cat >>conftest.$ac_ext <<_ACEOF
26218
 
/* end confdefs.h.  */
26219
 
$ac_includes_default
26220
 
typedef longlong ac__type_new_;
26221
 
int
26222
 
main ()
26223
 
{
26224
 
if ((ac__type_new_ *) 0)
26225
 
  return 0;
26226
 
if (sizeof (ac__type_new_))
26227
 
  return 0;
26228
 
  ;
26229
 
  return 0;
26230
 
}
26231
 
_ACEOF
26232
 
rm -f conftest.$ac_objext
26233
 
if { (ac_try="$ac_compile"
26234
 
case "(($ac_try" in
26235
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26236
 
  *) ac_try_echo=$ac_try;;
26237
 
esac
26238
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26239
 
  (eval "$ac_compile") 2>conftest.er1
26240
 
  ac_status=$?
26241
 
  grep -v '^ *+' conftest.er1 >conftest.err
26242
 
  rm -f conftest.er1
26243
 
  cat conftest.err >&5
26244
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26245
 
  (exit $ac_status); } && {
26246
 
         test -z "$ac_c_werror_flag" ||
26247
 
         test ! -s conftest.err
26248
 
       } && test -s conftest.$ac_objext; then
26249
 
  ac_cv_type_longlong=yes
26250
 
else
26251
 
  echo "$as_me: failed program was:" >&5
26252
 
sed 's/^/| /' conftest.$ac_ext >&5
26253
 
 
26254
 
        ac_cv_type_longlong=no
26255
 
fi
26256
 
 
26257
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26258
 
fi
26259
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_longlong" >&5
26260
 
echo "${ECHO_T}$ac_cv_type_longlong" >&6; }
26261
 
if test $ac_cv_type_longlong = yes; then
26262
 
  :
26263
 
else
26264
 
  
26265
 
cat >>confdefs.h <<_ACEOF
26266
 
@%:@define longlong long long
26267
 
_ACEOF
26268
 
 
26269
 
fi
26270
 
 
26271
 
{ echo "$as_me:$LINENO: checking for ulonglong" >&5
26272
 
echo $ECHO_N "checking for ulonglong... $ECHO_C" >&6; }
26273
 
if test "${ac_cv_type_ulonglong+set}" = set; then
26274
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26275
 
else
26276
 
  cat >conftest.$ac_ext <<_ACEOF
26277
 
/* confdefs.h.  */
26278
 
_ACEOF
26279
 
cat confdefs.h >>conftest.$ac_ext
26280
 
cat >>conftest.$ac_ext <<_ACEOF
26281
 
/* end confdefs.h.  */
26282
 
$ac_includes_default
26283
 
typedef ulonglong ac__type_new_;
26284
 
int
26285
 
main ()
26286
 
{
26287
 
if ((ac__type_new_ *) 0)
26288
 
  return 0;
26289
 
if (sizeof (ac__type_new_))
26290
 
  return 0;
26291
 
  ;
26292
 
  return 0;
26293
 
}
26294
 
_ACEOF
26295
 
rm -f conftest.$ac_objext
26296
 
if { (ac_try="$ac_compile"
26297
 
case "(($ac_try" in
26298
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26299
 
  *) ac_try_echo=$ac_try;;
26300
 
esac
26301
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26302
 
  (eval "$ac_compile") 2>conftest.er1
26303
 
  ac_status=$?
26304
 
  grep -v '^ *+' conftest.er1 >conftest.err
26305
 
  rm -f conftest.er1
26306
 
  cat conftest.err >&5
26307
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26308
 
  (exit $ac_status); } && {
26309
 
         test -z "$ac_c_werror_flag" ||
26310
 
         test ! -s conftest.err
26311
 
       } && test -s conftest.$ac_objext; then
26312
 
  ac_cv_type_ulonglong=yes
26313
 
else
26314
 
  echo "$as_me: failed program was:" >&5
26315
 
sed 's/^/| /' conftest.$ac_ext >&5
26316
 
 
26317
 
        ac_cv_type_ulonglong=no
26318
 
fi
26319
 
 
26320
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26321
 
fi
26322
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_ulonglong" >&5
26323
 
echo "${ECHO_T}$ac_cv_type_ulonglong" >&6; }
26324
 
if test $ac_cv_type_ulonglong = yes; then
26325
 
  :
26326
 
else
26327
 
  
26328
 
cat >>confdefs.h <<_ACEOF
26329
 
@%:@define ulonglong unsigned long long
26330
 
_ACEOF
26331
 
 
26332
 
fi
26333
 
 
26334
 
{ echo "$as_me:$LINENO: checking for ssize_t" >&5
26335
 
echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
26336
 
if test "${ac_cv_type_ssize_t+set}" = set; then
26337
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26338
 
else
26339
 
  cat >conftest.$ac_ext <<_ACEOF
26340
 
/* confdefs.h.  */
26341
 
_ACEOF
26342
 
cat confdefs.h >>conftest.$ac_ext
26343
 
cat >>conftest.$ac_ext <<_ACEOF
26344
 
/* end confdefs.h.  */
26345
 
$ac_includes_default
26346
 
typedef ssize_t ac__type_new_;
26347
 
int
26348
 
main ()
26349
 
{
26350
 
if ((ac__type_new_ *) 0)
26351
 
  return 0;
26352
 
if (sizeof (ac__type_new_))
26353
 
  return 0;
26354
 
  ;
26355
 
  return 0;
26356
 
}
26357
 
_ACEOF
26358
 
rm -f conftest.$ac_objext
26359
 
if { (ac_try="$ac_compile"
26360
 
case "(($ac_try" in
26361
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26362
 
  *) ac_try_echo=$ac_try;;
26363
 
esac
26364
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26365
 
  (eval "$ac_compile") 2>conftest.er1
26366
 
  ac_status=$?
26367
 
  grep -v '^ *+' conftest.er1 >conftest.err
26368
 
  rm -f conftest.er1
26369
 
  cat conftest.err >&5
26370
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26371
 
  (exit $ac_status); } && {
26372
 
         test -z "$ac_c_werror_flag" ||
26373
 
         test ! -s conftest.err
26374
 
       } && test -s conftest.$ac_objext; then
26375
 
  ac_cv_type_ssize_t=yes
26376
 
else
26377
 
  echo "$as_me: failed program was:" >&5
26378
 
sed 's/^/| /' conftest.$ac_ext >&5
26379
 
 
26380
 
        ac_cv_type_ssize_t=no
26381
 
fi
26382
 
 
26383
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26384
 
fi
26385
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
26386
 
echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
26387
 
if test $ac_cv_type_ssize_t = yes; then
26388
 
  :
26389
 
else
26390
 
  
26391
 
cat >>confdefs.h <<_ACEOF
26392
 
@%:@define ssize_t int
26393
 
_ACEOF
26394
 
 
26395
 
fi
26396
 
 
26397
 
 
26398
 
############################################################
26399
 
# Checks for library functions.
26400
 
############################################################
26401
 
 
26402
 
 
26403
 
for ac_func in vprintf
26404
 
do
26405
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26406
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
26407
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26408
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26409
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26410
 
else
26411
 
  cat >conftest.$ac_ext <<_ACEOF
26412
 
/* confdefs.h.  */
26413
 
_ACEOF
26414
 
cat confdefs.h >>conftest.$ac_ext
26415
 
cat >>conftest.$ac_ext <<_ACEOF
26416
 
/* end confdefs.h.  */
26417
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26418
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26419
 
#define $ac_func innocuous_$ac_func
26420
 
 
26421
 
/* System header to define __stub macros and hopefully few prototypes,
26422
 
    which can conflict with char $ac_func (); below.
26423
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26424
 
    <limits.h> exists even on freestanding compilers.  */
26425
 
 
26426
 
#ifdef __STDC__
26427
 
# include <limits.h>
26428
 
#else
26429
 
# include <assert.h>
26430
 
#endif
26431
 
 
26432
 
#undef $ac_func
26433
 
 
26434
 
/* Override any GCC internal prototype to avoid an error.
26435
 
   Use char because int might match the return type of a GCC
26436
 
   builtin and then its argument prototype would still apply.  */
26437
 
#ifdef __cplusplus
26438
 
extern "C"
26439
 
#endif
26440
 
char $ac_func ();
26441
 
/* The GNU C library defines this for functions which it implements
26442
 
    to always fail with ENOSYS.  Some functions are actually named
26443
 
    something starting with __ and the normal name is an alias.  */
26444
 
#if defined __stub_$ac_func || defined __stub___$ac_func
26445
 
choke me
26446
 
#endif
26447
 
 
26448
 
int
26449
 
main ()
26450
 
{
26451
 
return $ac_func ();
26452
 
  ;
26453
 
  return 0;
26454
 
}
26455
 
_ACEOF
26456
 
rm -f conftest.$ac_objext conftest$ac_exeext
26457
 
if { (ac_try="$ac_link"
26458
 
case "(($ac_try" in
26459
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26460
 
  *) ac_try_echo=$ac_try;;
26461
 
esac
26462
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26463
 
  (eval "$ac_link") 2>conftest.er1
26464
 
  ac_status=$?
26465
 
  grep -v '^ *+' conftest.er1 >conftest.err
26466
 
  rm -f conftest.er1
26467
 
  cat conftest.err >&5
26468
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26469
 
  (exit $ac_status); } && {
26470
 
         test -z "$ac_c_werror_flag" ||
26471
 
         test ! -s conftest.err
26472
 
       } && test -s conftest$ac_exeext &&
26473
 
       $as_test_x conftest$ac_exeext; then
26474
 
  eval "$as_ac_var=yes"
26475
 
else
26476
 
  echo "$as_me: failed program was:" >&5
26477
 
sed 's/^/| /' conftest.$ac_ext >&5
26478
 
 
26479
 
        eval "$as_ac_var=no"
26480
 
fi
26481
 
 
26482
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26483
 
      conftest$ac_exeext conftest.$ac_ext
26484
 
fi
26485
 
ac_res=`eval echo '${'$as_ac_var'}'`
26486
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
26487
 
echo "${ECHO_T}$ac_res" >&6; }
26488
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
26489
 
  cat >>confdefs.h <<_ACEOF
26490
 
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26491
 
_ACEOF
26492
 
 
26493
 
{ echo "$as_me:$LINENO: checking for _doprnt" >&5
26494
 
echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
26495
 
if test "${ac_cv_func__doprnt+set}" = set; then
26496
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26497
 
else
26498
 
  cat >conftest.$ac_ext <<_ACEOF
26499
 
/* confdefs.h.  */
26500
 
_ACEOF
26501
 
cat confdefs.h >>conftest.$ac_ext
26502
 
cat >>conftest.$ac_ext <<_ACEOF
26503
 
/* end confdefs.h.  */
26504
 
/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
26505
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26506
 
#define _doprnt innocuous__doprnt
26507
 
 
26508
 
/* System header to define __stub macros and hopefully few prototypes,
26509
 
    which can conflict with char _doprnt (); below.
26510
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26511
 
    <limits.h> exists even on freestanding compilers.  */
26512
 
 
26513
 
#ifdef __STDC__
26514
 
# include <limits.h>
26515
 
#else
26516
 
# include <assert.h>
26517
 
#endif
26518
 
 
26519
 
#undef _doprnt
26520
 
 
26521
 
/* Override any GCC internal prototype to avoid an error.
26522
 
   Use char because int might match the return type of a GCC
26523
 
   builtin and then its argument prototype would still apply.  */
26524
 
#ifdef __cplusplus
26525
 
extern "C"
26526
 
#endif
26527
 
char _doprnt ();
26528
 
/* The GNU C library defines this for functions which it implements
26529
 
    to always fail with ENOSYS.  Some functions are actually named
26530
 
    something starting with __ and the normal name is an alias.  */
26531
 
#if defined __stub__doprnt || defined __stub____doprnt
26532
 
choke me
26533
 
#endif
26534
 
 
26535
 
int
26536
 
main ()
26537
 
{
26538
 
return _doprnt ();
26539
 
  ;
26540
 
  return 0;
26541
 
}
26542
 
_ACEOF
26543
 
rm -f conftest.$ac_objext conftest$ac_exeext
26544
 
if { (ac_try="$ac_link"
26545
 
case "(($ac_try" in
26546
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26547
 
  *) ac_try_echo=$ac_try;;
26548
 
esac
26549
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26550
 
  (eval "$ac_link") 2>conftest.er1
26551
 
  ac_status=$?
26552
 
  grep -v '^ *+' conftest.er1 >conftest.err
26553
 
  rm -f conftest.er1
26554
 
  cat conftest.err >&5
26555
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26556
 
  (exit $ac_status); } && {
26557
 
         test -z "$ac_c_werror_flag" ||
26558
 
         test ! -s conftest.err
26559
 
       } && test -s conftest$ac_exeext &&
26560
 
       $as_test_x conftest$ac_exeext; then
26561
 
  ac_cv_func__doprnt=yes
26562
 
else
26563
 
  echo "$as_me: failed program was:" >&5
26564
 
sed 's/^/| /' conftest.$ac_ext >&5
26565
 
 
26566
 
        ac_cv_func__doprnt=no
26567
 
fi
26568
 
 
26569
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26570
 
      conftest$ac_exeext conftest.$ac_ext
26571
 
fi
26572
 
{ echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
26573
 
echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
26574
 
if test $ac_cv_func__doprnt = yes; then
26575
 
  
26576
 
cat >>confdefs.h <<\_ACEOF
26577
 
@%:@define HAVE_DOPRNT 1
26578
 
_ACEOF
26579
 
 
26580
 
fi
26581
 
 
26582
 
fi
26583
 
done
26584
 
 
26585
 
 
26586
 
 
26587
 
for ac_func in mkstemp
26588
 
do
26589
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26590
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
26591
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26592
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26593
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26594
 
else
26595
 
  cat >conftest.$ac_ext <<_ACEOF
26596
 
/* confdefs.h.  */
26597
 
_ACEOF
26598
 
cat confdefs.h >>conftest.$ac_ext
26599
 
cat >>conftest.$ac_ext <<_ACEOF
26600
 
/* end confdefs.h.  */
26601
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26602
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26603
 
#define $ac_func innocuous_$ac_func
26604
 
 
26605
 
/* System header to define __stub macros and hopefully few prototypes,
26606
 
    which can conflict with char $ac_func (); below.
26607
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26608
 
    <limits.h> exists even on freestanding compilers.  */
26609
 
 
26610
 
#ifdef __STDC__
26611
 
# include <limits.h>
26612
 
#else
26613
 
# include <assert.h>
26614
 
#endif
26615
 
 
26616
 
#undef $ac_func
26617
 
 
26618
 
/* Override any GCC internal prototype to avoid an error.
26619
 
   Use char because int might match the return type of a GCC
26620
 
   builtin and then its argument prototype would still apply.  */
26621
 
#ifdef __cplusplus
26622
 
extern "C"
26623
 
#endif
26624
 
char $ac_func ();
26625
 
/* The GNU C library defines this for functions which it implements
26626
 
    to always fail with ENOSYS.  Some functions are actually named
26627
 
    something starting with __ and the normal name is an alias.  */
26628
 
#if defined __stub_$ac_func || defined __stub___$ac_func
26629
 
choke me
26630
 
#endif
26631
 
 
26632
 
int
26633
 
main ()
26634
 
{
26635
 
return $ac_func ();
26636
 
  ;
26637
 
  return 0;
26638
 
}
26639
 
_ACEOF
26640
 
rm -f conftest.$ac_objext conftest$ac_exeext
26641
 
if { (ac_try="$ac_link"
26642
 
case "(($ac_try" in
26643
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26644
 
  *) ac_try_echo=$ac_try;;
26645
 
esac
26646
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26647
 
  (eval "$ac_link") 2>conftest.er1
26648
 
  ac_status=$?
26649
 
  grep -v '^ *+' conftest.er1 >conftest.err
26650
 
  rm -f conftest.er1
26651
 
  cat conftest.err >&5
26652
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26653
 
  (exit $ac_status); } && {
26654
 
         test -z "$ac_c_werror_flag" ||
26655
 
         test ! -s conftest.err
26656
 
       } && test -s conftest$ac_exeext &&
26657
 
       $as_test_x conftest$ac_exeext; then
26658
 
  eval "$as_ac_var=yes"
26659
 
else
26660
 
  echo "$as_me: failed program was:" >&5
26661
 
sed 's/^/| /' conftest.$ac_ext >&5
26662
 
 
26663
 
        eval "$as_ac_var=no"
26664
 
fi
26665
 
 
26666
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26667
 
      conftest$ac_exeext conftest.$ac_ext
26668
 
fi
26669
 
ac_res=`eval echo '${'$as_ac_var'}'`
26670
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
26671
 
echo "${ECHO_T}$ac_res" >&6; }
26672
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
26673
 
  cat >>confdefs.h <<_ACEOF
26674
 
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26675
 
_ACEOF
26676
 
 
26677
 
fi
26678
 
done
26679
 
 
26680
 
 
26681
 
############################################################
26682
 
# Enable/disable special memory allocator for debugging.
26683
 
############################################################
26684
 
 
26685
 
# Check whether --enable-dmalloc was given.
26686
 
if test "${enable_dmalloc+set}" = set; then
26687
 
  enableval=$enable_dmalloc; 
26688
 
case "${enableval}" in
26689
 
yes)
26690
 
        cat >>confdefs.h <<\_ACEOF
26691
 
@%:@define DEBUG_MEMALLOC 1
26692
 
_ACEOF
26693
 
 
26694
 
        ;;
26695
 
no)
26696
 
        ;;
26697
 
*)
26698
 
        { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-dmalloc" >&5
26699
 
echo "$as_me: error: bad value ${enableval} for --enable-dmalloc" >&2;}
26700
 
   { (exit 1); exit 1; }; }
26701
 
        ;;
26702
 
esac
26703
 
 
26704
 
fi
26705
 
 
26706
 
 
26707
 
############################################################
26708
 
# Enable/disable extra code for debugging.
26709
 
############################################################
26710
 
 
26711
 
# Check whether --enable-debug was given.
26712
 
if test "${enable_debug+set}" = set; then
26713
 
  enableval=$enable_debug; 
26714
 
case "${enableval}" in
26715
 
yes)
26716
 
        debug=true
26717
 
        cat >>confdefs.h <<\_ACEOF
26718
 
@%:@define DEBUG 1
26719
 
_ACEOF
26720
 
 
26721
 
        cat >>confdefs.h <<\_ACEOF
26722
 
@%:@define DEBUG_OVERFLOW 1
26723
 
_ACEOF
26724
 
 
26725
 
        if test "$GCC" = yes; then
26726
 
                CFLAGS="-g -O0"
26727
 
        fi
26728
 
        ;;
26729
 
no)
26730
 
        debug=false
26731
 
        ;;
26732
 
*)
26733
 
        { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
26734
 
echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
26735
 
   { (exit 1); exit 1; }; }
26736
 
        ;;
26737
 
esac
26738
 
 
26739
 
else
26740
 
  debug=false
26741
 
fi
26742
 
 
26743
 
 
26744
 
if test "$GCC" = yes; then
26745
 
        CFLAGS="$CFLAGS -W -Wall -Wno-long-long -Wformat -Wmissing-prototypes -Wstrict-prototypes -pedantic"
26746
 
fi
26747
 
 
26748
 
############################################################
26749
 
# Generate the configuration header file.
26750
 
############################################################
26751
 
 
26752
 
ac_config_headers="$ac_config_headers src/libjasper/include/jasper/jas_config_ac.h"
26753
 
 
26754
 
 
26755
 
############################################################
26756
 
# Generate the makefiles.
26757
 
############################################################
26758
 
 
26759
 
ac_config_files="$ac_config_files Makefile src/Makefile src/appl/Makefile src/libjasper/Makefile src/libjasper/base/Makefile src/libjasper/bmp/Makefile src/libjasper/include/Makefile src/libjasper/include/jasper/Makefile src/libjasper/jp2/Makefile src/libjasper/jpc/Makefile src/libjasper/jpg/Makefile src/libjasper/mif/Makefile src/libjasper/pgx/Makefile src/libjasper/pnm/Makefile src/libjasper/ras/Makefile src/msvc/Makefile jasper.spec"
26760
 
 
26761
 
cat >confcache <<\_ACEOF
26762
 
# This file is a shell script that caches the results of configure
26763
 
# tests run on this system so they can be shared between configure
26764
 
# scripts and configure runs, see configure's option --config-cache.
26765
 
# It is not useful on other systems.  If it contains results you don't
26766
 
# want to keep, you may remove or edit it.
26767
 
#
26768
 
# config.status only pays attention to the cache file if you give it
26769
 
# the --recheck option to rerun configure.
26770
 
#
26771
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
26772
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
26773
 
# following values.
26774
 
 
26775
 
_ACEOF
26776
 
 
26777
 
# The following way of writing the cache mishandles newlines in values,
26778
 
# but we know of no workaround that is simple, portable, and efficient.
26779
 
# So, we kill variables containing newlines.
26780
 
# Ultrix sh set writes to stderr and can't be redirected directly,
26781
 
# and sets the high bit in the cache file unless we assign to the vars.
26782
 
(
26783
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26784
 
    eval ac_val=\$$ac_var
26785
 
    case $ac_val in #(
26786
 
    *${as_nl}*)
26787
 
      case $ac_var in #(
26788
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26789
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26790
 
      esac
26791
 
      case $ac_var in #(
26792
 
      _ | IFS | as_nl) ;; #(
26793
 
      *) $as_unset $ac_var ;;
26794
 
      esac ;;
26795
 
    esac
26796
 
  done
26797
 
 
26798
 
  (set) 2>&1 |
26799
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
26800
 
    *${as_nl}ac_space=\ *)
26801
 
      # `set' does not quote correctly, so add quotes (double-quote
26802
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
26803
 
      sed -n \
26804
 
        "s/'/'\\\\''/g;
26805
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26806
 
      ;; #(
26807
 
    *)
26808
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
26809
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26810
 
      ;;
26811
 
    esac |
26812
 
    sort
26813
 
) |
26814
 
  sed '
26815
 
     /^ac_cv_env_/b end
26816
 
     t clear
26817
 
     :clear
26818
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26819
 
     t end
26820
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26821
 
     :end' >>confcache
26822
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26823
 
  if test -w "$cache_file"; then
26824
 
    test "x$cache_file" != "x/dev/null" &&
26825
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26826
 
echo "$as_me: updating cache $cache_file" >&6;}
26827
 
    cat confcache >$cache_file
26828
 
  else
26829
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26830
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26831
 
  fi
26832
 
fi
26833
 
rm -f confcache
26834
 
 
26835
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
26836
 
# Let make expand exec_prefix.
26837
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26838
 
 
26839
 
DEFS=-DHAVE_CONFIG_H
26840
 
 
26841
 
ac_libobjs=
26842
 
ac_ltlibobjs=
26843
 
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
26844
 
  # 1. Remove the extension, and $U if already installed.
26845
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26846
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
26847
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
26848
 
  #    will be set to the directory where LIBOBJS objects are built.
26849
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26850
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
26851
 
done
26852
 
LIB@&t@OBJS=$ac_libobjs
26853
 
 
26854
 
LTLIBOBJS=$ac_ltlibobjs
26855
 
 
26856
 
 
26857
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26858
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
26859
 
Usually this means the macro was only invoked conditionally." >&5
26860
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
26861
 
Usually this means the macro was only invoked conditionally." >&2;}
26862
 
   { (exit 1); exit 1; }; }
26863
 
fi
26864
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26865
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
26866
 
Usually this means the macro was only invoked conditionally." >&5
26867
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
26868
 
Usually this means the macro was only invoked conditionally." >&2;}
26869
 
   { (exit 1); exit 1; }; }
26870
 
fi
26871
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
26872
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
26873
 
Usually this means the macro was only invoked conditionally." >&5
26874
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
26875
 
Usually this means the macro was only invoked conditionally." >&2;}
26876
 
   { (exit 1); exit 1; }; }
26877
 
fi
26878
 
if test -z "${HAVE_LIBJPEG_TRUE}" && test -z "${HAVE_LIBJPEG_FALSE}"; then
26879
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_LIBJPEG\" was never defined.
26880
 
Usually this means the macro was only invoked conditionally." >&5
26881
 
echo "$as_me: error: conditional \"HAVE_LIBJPEG\" was never defined.
26882
 
Usually this means the macro was only invoked conditionally." >&2;}
26883
 
   { (exit 1); exit 1; }; }
26884
 
fi
26885
 
if test -z "${HAVE_OPENGL_TRUE}" && test -z "${HAVE_OPENGL_FALSE}"; then
26886
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_OPENGL\" was never defined.
26887
 
Usually this means the macro was only invoked conditionally." >&5
26888
 
echo "$as_me: error: conditional \"HAVE_OPENGL\" was never defined.
26889
 
Usually this means the macro was only invoked conditionally." >&2;}
26890
 
   { (exit 1); exit 1; }; }
26891
 
fi
26892
 
if test -z "${HAVE_SDL_TRUE}" && test -z "${HAVE_SDL_FALSE}"; then
26893
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_SDL\" was never defined.
26894
 
Usually this means the macro was only invoked conditionally." >&5
26895
 
echo "$as_me: error: conditional \"HAVE_SDL\" was never defined.
26896
 
Usually this means the macro was only invoked conditionally." >&2;}
26897
 
   { (exit 1); exit 1; }; }
26898
 
fi
26899
 
 
26900
 
: ${CONFIG_STATUS=./config.status}
26901
 
ac_clean_files_save=$ac_clean_files
26902
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
26903
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
26904
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
26905
 
cat >$CONFIG_STATUS <<_ACEOF
26906
 
#! $SHELL
26907
 
# Generated by $as_me.
26908
 
# Run this file to recreate the current configuration.
26909
 
# Compiler output produced by configure, useful for debugging
26910
 
# configure, is in config.log if it exists.
26911
 
 
26912
 
debug=false
26913
 
ac_cs_recheck=false
26914
 
ac_cs_silent=false
26915
 
SHELL=\${CONFIG_SHELL-$SHELL}
26916
 
_ACEOF
26917
 
 
26918
 
cat >>$CONFIG_STATUS <<\_ACEOF
26919
 
## --------------------- ##
26920
 
## M4sh Initialization.  ##
26921
 
## --------------------- ##
26922
 
 
26923
 
# Be more Bourne compatible
26924
 
DUALCASE=1; export DUALCASE # for MKS sh
26925
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
26926
 
  emulate sh
26927
 
  NULLCMD=:
26928
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
26929
 
  # is contrary to our usage.  Disable this feature.
26930
 
  alias -g '${1+"$@"}'='"$@"'
26931
 
  setopt NO_GLOB_SUBST
26932
 
else
26933
 
  case `(set -o) 2>/dev/null` in
26934
 
  *posix*) set -o posix ;;
26935
 
esac
26936
 
 
26937
 
fi
26938
 
 
26939
 
 
26940
 
 
26941
 
 
26942
 
# PATH needs CR
26943
 
# Avoid depending upon Character Ranges.
26944
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26945
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26946
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26947
 
as_cr_digits='0123456789'
26948
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
26949
 
 
26950
 
# The user is always right.
26951
 
if test "${PATH_SEPARATOR+set}" != set; then
26952
 
  echo "#! /bin/sh" >conf$$.sh
26953
 
  echo  "exit 0"   >>conf$$.sh
26954
 
  chmod +x conf$$.sh
26955
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26956
 
    PATH_SEPARATOR=';'
26957
 
  else
26958
 
    PATH_SEPARATOR=:
26959
 
  fi
26960
 
  rm -f conf$$.sh
26961
 
fi
26962
 
 
26963
 
# Support unset when possible.
26964
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26965
 
  as_unset=unset
26966
 
else
26967
 
  as_unset=false
26968
 
fi
26969
 
 
26970
 
 
26971
 
# IFS
26972
 
# We need space, tab and new line, in precisely that order.  Quoting is
26973
 
# there to prevent editors from complaining about space-tab.
26974
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
26975
 
# splitting by setting IFS to empty value.)
26976
 
as_nl='
26977
 
'
26978
 
IFS=" ""        $as_nl"
26979
 
 
26980
 
# Find who we are.  Look in the path if we contain no directory separator.
26981
 
case $0 in
26982
 
  *[\\/]* ) as_myself=$0 ;;
26983
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26984
 
for as_dir in $PATH
26985
 
do
26986
 
  IFS=$as_save_IFS
26987
 
  test -z "$as_dir" && as_dir=.
26988
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26989
 
done
26990
 
IFS=$as_save_IFS
26991
 
 
26992
 
     ;;
26993
 
esac
26994
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
26995
 
# in which case we are not to be found in the path.
26996
 
if test "x$as_myself" = x; then
26997
 
  as_myself=$0
26998
 
fi
26999
 
if test ! -f "$as_myself"; then
27000
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
27001
 
  { (exit 1); exit 1; }
27002
 
fi
27003
 
 
27004
 
# Work around bugs in pre-3.0 UWIN ksh.
27005
 
for as_var in ENV MAIL MAILPATH
27006
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
27007
 
done
27008
 
PS1='$ '
27009
 
PS2='> '
27010
 
PS4='+ '
27011
 
 
27012
 
# NLS nuisances.
27013
 
for as_var in \
27014
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
27015
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
27016
 
  LC_TELEPHONE LC_TIME
27017
 
do
27018
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
27019
 
    eval $as_var=C; export $as_var
27020
 
  else
27021
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
27022
 
  fi
27023
 
done
27024
 
 
27025
 
# Required to use basename.
27026
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
27027
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
27028
 
  as_expr=expr
27029
 
else
27030
 
  as_expr=false
27031
 
fi
27032
 
 
27033
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27034
 
  as_basename=basename
27035
 
else
27036
 
  as_basename=false
27037
 
fi
27038
 
 
27039
 
 
27040
 
# Name of the executable.
27041
 
as_me=`$as_basename -- "$0" ||
27042
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27043
 
         X"$0" : 'X\(//\)$' \| \
27044
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27045
 
echo X/"$0" |
27046
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
27047
 
            s//\1/
27048
 
            q
27049
 
          }
27050
 
          /^X\/\(\/\/\)$/{
27051
 
            s//\1/
27052
 
            q
27053
 
          }
27054
 
          /^X\/\(\/\).*/{
27055
 
            s//\1/
27056
 
            q
27057
 
          }
27058
 
          s/.*/./; q'`
27059
 
 
27060
 
# CDPATH.
27061
 
$as_unset CDPATH
27062
 
 
27063
 
 
27064
 
 
27065
 
  as_lineno_1=$LINENO
27066
 
  as_lineno_2=$LINENO
27067
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
27068
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
27069
 
 
27070
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
27071
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
27072
 
  # line-number line after each line using $LINENO; the second 'sed'
27073
 
  # does the real work.  The second script uses 'N' to pair each
27074
 
  # line-number line with the line containing $LINENO, and appends
27075
 
  # trailing '-' during substitution so that $LINENO is not a special
27076
 
  # case at line end.
27077
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
27078
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
27079
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
27080
 
  sed -n '
27081
 
    p
27082
 
    /[$]LINENO/=
27083
 
  ' <$as_myself |
27084
 
    sed '
27085
 
      s/[$]LINENO.*/&-/
27086
 
      t lineno
27087
 
      b
27088
 
      :lineno
27089
 
      N
27090
 
      :loop
27091
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
27092
 
      t loop
27093
 
      s/-\n.*//
27094
 
    ' >$as_me.lineno &&
27095
 
  chmod +x "$as_me.lineno" ||
27096
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
27097
 
   { (exit 1); exit 1; }; }
27098
 
 
27099
 
  # Don't try to exec as it changes $[0], causing all sort of problems
27100
 
  # (the dirname of $[0] is not the place where we might find the
27101
 
  # original and so on.  Autoconf is especially sensitive to this).
27102
 
  . "./$as_me.lineno"
27103
 
  # Exit status is that of the last command.
27104
 
  exit
27105
 
}
27106
 
 
27107
 
 
27108
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
27109
 
  as_dirname=dirname
27110
 
else
27111
 
  as_dirname=false
27112
 
fi
27113
 
 
27114
 
ECHO_C= ECHO_N= ECHO_T=
27115
 
case `echo -n x` in
27116
 
-n*)
27117
 
  case `echo 'x\c'` in
27118
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
27119
 
  *)   ECHO_C='\c';;
27120
 
  esac;;
27121
 
*)
27122
 
  ECHO_N='-n';;
27123
 
esac
27124
 
 
27125
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
27126
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
27127
 
  as_expr=expr
27128
 
else
27129
 
  as_expr=false
27130
 
fi
27131
 
 
27132
 
rm -f conf$$ conf$$.exe conf$$.file
27133
 
if test -d conf$$.dir; then
27134
 
  rm -f conf$$.dir/conf$$.file
27135
 
else
27136
 
  rm -f conf$$.dir
27137
 
  mkdir conf$$.dir
27138
 
fi
27139
 
echo >conf$$.file
27140
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
27141
 
  as_ln_s='ln -s'
27142
 
  # ... but there are two gotchas:
27143
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27144
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27145
 
  # In both cases, we have to default to `cp -p'.
27146
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
27147
 
    as_ln_s='cp -p'
27148
 
elif ln conf$$.file conf$$ 2>/dev/null; then
27149
 
  as_ln_s=ln
27150
 
else
27151
 
  as_ln_s='cp -p'
27152
 
fi
27153
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
27154
 
rmdir conf$$.dir 2>/dev/null
27155
 
 
27156
 
if mkdir -p . 2>/dev/null; then
27157
 
  as_mkdir_p=:
27158
 
else
27159
 
  test -d ./-p && rmdir ./-p
27160
 
  as_mkdir_p=false
27161
 
fi
27162
 
 
27163
 
if test -x / >/dev/null 2>&1; then
27164
 
  as_test_x='test -x'
27165
 
else
27166
 
  if ls -dL / >/dev/null 2>&1; then
27167
 
    as_ls_L_option=L
27168
 
  else
27169
 
    as_ls_L_option=
27170
 
  fi
27171
 
  as_test_x='
27172
 
    eval sh -c '\''
27173
 
      if test -d "$1"; then
27174
 
        test -d "$1/.";
27175
 
      else
27176
 
        case $1 in
27177
 
        -*)set "./$1";;
27178
 
        esac;
27179
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
27180
 
        ???[sx]*):;;*)false;;esac;fi
27181
 
    '\'' sh
27182
 
  '
27183
 
fi
27184
 
as_executable_p=$as_test_x
27185
 
 
27186
 
# Sed expression to map a string onto a valid CPP name.
27187
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27188
 
 
27189
 
# Sed expression to map a string onto a valid variable name.
27190
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27191
 
 
27192
 
 
27193
 
exec 6>&1
27194
 
 
27195
 
# Save the log message, to keep $[0] and so on meaningful, and to
27196
 
# report actual input values of CONFIG_FILES etc. instead of their
27197
 
# values after options handling.
27198
 
ac_log="
27199
 
This file was extended by jasper $as_me 1.701.0-gs5, which was
27200
 
generated by GNU Autoconf 2.61.  Invocation command line was
27201
 
 
27202
 
  CONFIG_FILES    = $CONFIG_FILES
27203
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
27204
 
  CONFIG_LINKS    = $CONFIG_LINKS
27205
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
27206
 
  $ $0 $@
27207
 
 
27208
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
27209
 
"
27210
 
 
27211
 
_ACEOF
27212
 
 
27213
 
cat >>$CONFIG_STATUS <<_ACEOF
27214
 
# Files that config.status was made for.
27215
 
config_files="$ac_config_files"
27216
 
config_headers="$ac_config_headers"
27217
 
config_commands="$ac_config_commands"
27218
 
 
27219
 
_ACEOF
27220
 
 
27221
 
cat >>$CONFIG_STATUS <<\_ACEOF
27222
 
ac_cs_usage="\
27223
 
\`$as_me' instantiates files from templates according to the
27224
 
current configuration.
27225
 
 
27226
 
Usage: $0 [OPTIONS] [FILE]...
27227
 
 
27228
 
  -h, --help       print this help, then exit
27229
 
  -V, --version    print version number and configuration settings, then exit
27230
 
  -q, --quiet      do not print progress messages
27231
 
  -d, --debug      don't remove temporary files
27232
 
      --recheck    update $as_me by reconfiguring in the same conditions
27233
 
  --file=FILE[:TEMPLATE]
27234
 
                   instantiate the configuration file FILE
27235
 
  --header=FILE[:TEMPLATE]
27236
 
                   instantiate the configuration header FILE
27237
 
 
27238
 
Configuration files:
27239
 
$config_files
27240
 
 
27241
 
Configuration headers:
27242
 
$config_headers
27243
 
 
27244
 
Configuration commands:
27245
 
$config_commands
27246
 
 
27247
 
Report bugs to <bug-autoconf@gnu.org>."
27248
 
 
27249
 
_ACEOF
27250
 
cat >>$CONFIG_STATUS <<_ACEOF
27251
 
ac_cs_version="\\
27252
 
jasper config.status 1.701.0-gs5
27253
 
configured by $0, generated by GNU Autoconf 2.61,
27254
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27255
 
 
27256
 
Copyright (C) 2006 Free Software Foundation, Inc.
27257
 
This config.status script is free software; the Free Software Foundation
27258
 
gives unlimited permission to copy, distribute and modify it."
27259
 
 
27260
 
ac_pwd='$ac_pwd'
27261
 
srcdir='$srcdir'
27262
 
INSTALL='$INSTALL'
27263
 
_ACEOF
27264
 
 
27265
 
cat >>$CONFIG_STATUS <<\_ACEOF
27266
 
# If no file are specified by the user, then we need to provide default
27267
 
# value.  By we need to know if files were specified by the user.
27268
 
ac_need_defaults=:
27269
 
while test $# != 0
27270
 
do
27271
 
  case $1 in
27272
 
  --*=*)
27273
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
27274
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
27275
 
    ac_shift=:
27276
 
    ;;
27277
 
  *)
27278
 
    ac_option=$1
27279
 
    ac_optarg=$2
27280
 
    ac_shift=shift
27281
 
    ;;
27282
 
  esac
27283
 
 
27284
 
  case $ac_option in
27285
 
  # Handling of the options.
27286
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
27287
 
    ac_cs_recheck=: ;;
27288
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
27289
 
    echo "$ac_cs_version"; exit ;;
27290
 
  --debug | --debu | --deb | --de | --d | -d )
27291
 
    debug=: ;;
27292
 
  --file | --fil | --fi | --f )
27293
 
    $ac_shift
27294
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
27295
 
    ac_need_defaults=false;;
27296
 
  --header | --heade | --head | --hea )
27297
 
    $ac_shift
27298
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
27299
 
    ac_need_defaults=false;;
27300
 
  --he | --h)
27301
 
    # Conflict between --help and --header
27302
 
    { echo "$as_me: error: ambiguous option: $1
27303
 
Try \`$0 --help' for more information." >&2
27304
 
   { (exit 1); exit 1; }; };;
27305
 
  --help | --hel | -h )
27306
 
    echo "$ac_cs_usage"; exit ;;
27307
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
27308
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
27309
 
    ac_cs_silent=: ;;
27310
 
 
27311
 
  # This is an error.
27312
 
  -*) { echo "$as_me: error: unrecognized option: $1
27313
 
Try \`$0 --help' for more information." >&2
27314
 
   { (exit 1); exit 1; }; } ;;
27315
 
 
27316
 
  *) ac_config_targets="$ac_config_targets $1"
27317
 
     ac_need_defaults=false ;;
27318
 
 
27319
 
  esac
27320
 
  shift
27321
 
done
27322
 
 
27323
 
ac_configure_extra_args=
27324
 
 
27325
 
if $ac_cs_silent; then
27326
 
  exec 6>/dev/null
27327
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
27328
 
fi
27329
 
 
27330
 
_ACEOF
27331
 
cat >>$CONFIG_STATUS <<_ACEOF
27332
 
if \$ac_cs_recheck; then
27333
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
27334
 
  CONFIG_SHELL=$SHELL
27335
 
  export CONFIG_SHELL
27336
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27337
 
fi
27338
 
 
27339
 
_ACEOF
27340
 
cat >>$CONFIG_STATUS <<\_ACEOF
27341
 
exec 5>>config.log
27342
 
{
27343
 
  echo
27344
 
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
27345
 
@%:@@%:@ Running $as_me. @%:@@%:@
27346
 
_ASBOX
27347
 
  echo "$ac_log"
27348
 
} >&5
27349
 
 
27350
 
_ACEOF
27351
 
cat >>$CONFIG_STATUS <<_ACEOF
27352
 
#
27353
 
# INIT-COMMANDS
27354
 
#
27355
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27356
 
 
27357
 
_ACEOF
27358
 
 
27359
 
cat >>$CONFIG_STATUS <<\_ACEOF
27360
 
 
27361
 
# Handling of arguments.
27362
 
for ac_config_target in $ac_config_targets
27363
 
do
27364
 
  case $ac_config_target in
27365
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
27366
 
    "src/libjasper/include/jasper/jas_config_ac.h") CONFIG_HEADERS="$CONFIG_HEADERS src/libjasper/include/jasper/jas_config_ac.h" ;;
27367
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
27368
 
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
27369
 
    "src/appl/Makefile") CONFIG_FILES="$CONFIG_FILES src/appl/Makefile" ;;
27370
 
    "src/libjasper/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/Makefile" ;;
27371
 
    "src/libjasper/base/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/base/Makefile" ;;
27372
 
    "src/libjasper/bmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/bmp/Makefile" ;;
27373
 
    "src/libjasper/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/include/Makefile" ;;
27374
 
    "src/libjasper/include/jasper/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/include/jasper/Makefile" ;;
27375
 
    "src/libjasper/jp2/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/jp2/Makefile" ;;
27376
 
    "src/libjasper/jpc/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/jpc/Makefile" ;;
27377
 
    "src/libjasper/jpg/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/jpg/Makefile" ;;
27378
 
    "src/libjasper/mif/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/mif/Makefile" ;;
27379
 
    "src/libjasper/pgx/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/pgx/Makefile" ;;
27380
 
    "src/libjasper/pnm/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/pnm/Makefile" ;;
27381
 
    "src/libjasper/ras/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/ras/Makefile" ;;
27382
 
    "src/msvc/Makefile") CONFIG_FILES="$CONFIG_FILES src/msvc/Makefile" ;;
27383
 
    "jasper.spec") CONFIG_FILES="$CONFIG_FILES jasper.spec" ;;
27384
 
 
27385
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
27386
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
27387
 
   { (exit 1); exit 1; }; };;
27388
 
  esac
27389
 
done
27390
 
 
27391
 
 
27392
 
# If the user did not use the arguments to specify the items to instantiate,
27393
 
# then the envvar interface is used.  Set only those that are not.
27394
 
# We use the long form for the default assignment because of an extremely
27395
 
# bizarre bug on SunOS 4.1.3.
27396
 
if $ac_need_defaults; then
27397
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
27398
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
27399
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
27400
 
fi
27401
 
 
27402
 
# Have a temporary directory for convenience.  Make it in the build tree
27403
 
# simply because there is no reason against having it here, and in addition,
27404
 
# creating and moving files from /tmp can sometimes cause problems.
27405
 
# Hook for its removal unless debugging.
27406
 
# Note that there is a small window in which the directory will not be cleaned:
27407
 
# after its creation but before its name has been assigned to `$tmp'.
27408
 
$debug ||
27409
 
{
27410
 
  tmp=
27411
 
  trap 'exit_status=$?
27412
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27413
 
' 0
27414
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
27415
 
}
27416
 
# Create a (secure) tmp directory for tmp files.
27417
 
 
27418
 
{
27419
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27420
 
  test -n "$tmp" && test -d "$tmp"
27421
 
}  ||
27422
 
{
27423
 
  tmp=./conf$$-$RANDOM
27424
 
  (umask 077 && mkdir "$tmp")
27425
 
} ||
27426
 
{
27427
 
   echo "$me: cannot create a temporary directory in ." >&2
27428
 
   { (exit 1); exit 1; }
27429
 
}
27430
 
 
27431
 
#
27432
 
# Set up the sed scripts for CONFIG_FILES section.
27433
 
#
27434
 
 
27435
 
# No need to generate the scripts if there are no CONFIG_FILES.
27436
 
# This happens for instance when ./config.status config.h
27437
 
if test -n "$CONFIG_FILES"; then
27438
 
 
27439
 
_ACEOF
27440
 
 
27441
 
 
27442
 
 
27443
 
ac_delim='%!_!# '
27444
 
for ac_last_try in false false false false false :; do
27445
 
  cat >conf$$subs.sed <<_ACEOF
27446
 
SHELL!$SHELL$ac_delim
27447
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
27448
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
27449
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
27450
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
27451
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
27452
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
27453
 
exec_prefix!$exec_prefix$ac_delim
27454
 
prefix!$prefix$ac_delim
27455
 
program_transform_name!$program_transform_name$ac_delim
27456
 
bindir!$bindir$ac_delim
27457
 
sbindir!$sbindir$ac_delim
27458
 
libexecdir!$libexecdir$ac_delim
27459
 
datarootdir!$datarootdir$ac_delim
27460
 
datadir!$datadir$ac_delim
27461
 
sysconfdir!$sysconfdir$ac_delim
27462
 
sharedstatedir!$sharedstatedir$ac_delim
27463
 
localstatedir!$localstatedir$ac_delim
27464
 
includedir!$includedir$ac_delim
27465
 
oldincludedir!$oldincludedir$ac_delim
27466
 
docdir!$docdir$ac_delim
27467
 
infodir!$infodir$ac_delim
27468
 
htmldir!$htmldir$ac_delim
27469
 
dvidir!$dvidir$ac_delim
27470
 
pdfdir!$pdfdir$ac_delim
27471
 
psdir!$psdir$ac_delim
27472
 
libdir!$libdir$ac_delim
27473
 
localedir!$localedir$ac_delim
27474
 
mandir!$mandir$ac_delim
27475
 
DEFS!$DEFS$ac_delim
27476
 
ECHO_C!$ECHO_C$ac_delim
27477
 
ECHO_N!$ECHO_N$ac_delim
27478
 
ECHO_T!$ECHO_T$ac_delim
27479
 
LIBS!$LIBS$ac_delim
27480
 
build_alias!$build_alias$ac_delim
27481
 
host_alias!$host_alias$ac_delim
27482
 
target_alias!$target_alias$ac_delim
27483
 
build!$build$ac_delim
27484
 
build_cpu!$build_cpu$ac_delim
27485
 
build_vendor!$build_vendor$ac_delim
27486
 
build_os!$build_os$ac_delim
27487
 
host!$host$ac_delim
27488
 
host_cpu!$host_cpu$ac_delim
27489
 
host_vendor!$host_vendor$ac_delim
27490
 
host_os!$host_os$ac_delim
27491
 
target!$target$ac_delim
27492
 
target_cpu!$target_cpu$ac_delim
27493
 
target_vendor!$target_vendor$ac_delim
27494
 
target_os!$target_os$ac_delim
27495
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
27496
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
27497
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
27498
 
CYGPATH_W!$CYGPATH_W$ac_delim
27499
 
PACKAGE!$PACKAGE$ac_delim
27500
 
VERSION!$VERSION$ac_delim
27501
 
ACLOCAL!$ACLOCAL$ac_delim
27502
 
AUTOCONF!$AUTOCONF$ac_delim
27503
 
AUTOMAKE!$AUTOMAKE$ac_delim
27504
 
AUTOHEADER!$AUTOHEADER$ac_delim
27505
 
MAKEINFO!$MAKEINFO$ac_delim
27506
 
install_sh!$install_sh$ac_delim
27507
 
STRIP!$STRIP$ac_delim
27508
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
27509
 
mkdir_p!$mkdir_p$ac_delim
27510
 
AWK!$AWK$ac_delim
27511
 
SET_MAKE!$SET_MAKE$ac_delim
27512
 
am__leading_dot!$am__leading_dot$ac_delim
27513
 
AMTAR!$AMTAR$ac_delim
27514
 
am__tar!$am__tar$ac_delim
27515
 
am__untar!$am__untar$ac_delim
27516
 
JAS_MAJOR_VERSION!$JAS_MAJOR_VERSION$ac_delim
27517
 
JAS_MINOR_VERSION!$JAS_MINOR_VERSION$ac_delim
27518
 
JAS_MICRO_VERSION!$JAS_MICRO_VERSION$ac_delim
27519
 
JAS_VERSION!$JAS_VERSION$ac_delim
27520
 
JAS_RPM_RELEASE!$JAS_RPM_RELEASE$ac_delim
27521
 
LT_RELEASE!$LT_RELEASE$ac_delim
27522
 
LT_CURRENT!$LT_CURRENT$ac_delim
27523
 
LT_REVISION!$LT_REVISION$ac_delim
27524
 
LT_AGE!$LT_AGE$ac_delim
27525
 
CC!$CC$ac_delim
27526
 
CFLAGS!$CFLAGS$ac_delim
27527
 
LDFLAGS!$LDFLAGS$ac_delim
27528
 
CPPFLAGS!$CPPFLAGS$ac_delim
27529
 
ac_ct_CC!$ac_ct_CC$ac_delim
27530
 
EXEEXT!$EXEEXT$ac_delim
27531
 
OBJEXT!$OBJEXT$ac_delim
27532
 
DEPDIR!$DEPDIR$ac_delim
27533
 
am__include!$am__include$ac_delim
27534
 
am__quote!$am__quote$ac_delim
27535
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
27536
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
27537
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
27538
 
CCDEPMODE!$CCDEPMODE$ac_delim
27539
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
27540
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
27541
 
CPP!$CPP$ac_delim
27542
 
LN_S!$LN_S$ac_delim
27543
 
_ACEOF
27544
 
 
27545
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
27546
 
    break
27547
 
  elif $ac_last_try; then
27548
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
27549
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
27550
 
   { (exit 1); exit 1; }; }
27551
 
  else
27552
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27553
 
  fi
27554
 
done
27555
 
 
27556
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
27557
 
if test -n "$ac_eof"; then
27558
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
27559
 
  ac_eof=`expr $ac_eof + 1`
27560
 
fi
27561
 
 
27562
 
cat >>$CONFIG_STATUS <<_ACEOF
27563
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
27564
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27565
 
_ACEOF
27566
 
sed '
27567
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
27568
 
s/^/s,@/; s/!/@,|#_!!_#|/
27569
 
:n
27570
 
t n
27571
 
s/'"$ac_delim"'$/,g/; t
27572
 
s/$/\\/; p
27573
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
27574
 
' >>$CONFIG_STATUS <conf$$subs.sed
27575
 
rm -f conf$$subs.sed
27576
 
cat >>$CONFIG_STATUS <<_ACEOF
27577
 
CEOF$ac_eof
27578
 
_ACEOF
27579
 
 
27580
 
 
27581
 
ac_delim='%!_!# '
27582
 
for ac_last_try in false false false false false :; do
27583
 
  cat >conf$$subs.sed <<_ACEOF
27584
 
RANLIB!$RANLIB$ac_delim
27585
 
GREP!$GREP$ac_delim
27586
 
EGREP!$EGREP$ac_delim
27587
 
ECHO!$ECHO$ac_delim
27588
 
AR!$AR$ac_delim
27589
 
CXX!$CXX$ac_delim
27590
 
CXXFLAGS!$CXXFLAGS$ac_delim
27591
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
27592
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
27593
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
27594
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
27595
 
CXXCPP!$CXXCPP$ac_delim
27596
 
F77!$F77$ac_delim
27597
 
FFLAGS!$FFLAGS$ac_delim
27598
 
ac_ct_F77!$ac_ct_F77$ac_delim
27599
 
LIBTOOL!$LIBTOOL$ac_delim
27600
 
XMKMF!$XMKMF$ac_delim
27601
 
X_CFLAGS!$X_CFLAGS$ac_delim
27602
 
X_PRE_LIBS!$X_PRE_LIBS$ac_delim
27603
 
X_LIBS!$X_LIBS$ac_delim
27604
 
X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
27605
 
HAVE_LIBJPEG_TRUE!$HAVE_LIBJPEG_TRUE$ac_delim
27606
 
HAVE_LIBJPEG_FALSE!$HAVE_LIBJPEG_FALSE$ac_delim
27607
 
HAVE_OPENGL_TRUE!$HAVE_OPENGL_TRUE$ac_delim
27608
 
HAVE_OPENGL_FALSE!$HAVE_OPENGL_FALSE$ac_delim
27609
 
OPENGL_LIBS!$OPENGL_LIBS$ac_delim
27610
 
HAVE_SDL!$HAVE_SDL$ac_delim
27611
 
HAVE_SDL_TRUE!$HAVE_SDL_TRUE$ac_delim
27612
 
HAVE_SDL_FALSE!$HAVE_SDL_FALSE$ac_delim
27613
 
SDL_CFLAGS!$SDL_CFLAGS$ac_delim
27614
 
SDL_LIBS!$SDL_LIBS$ac_delim
27615
 
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
27616
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
27617
 
_ACEOF
27618
 
 
27619
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 33; then
27620
 
    break
27621
 
  elif $ac_last_try; then
27622
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
27623
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
27624
 
   { (exit 1); exit 1; }; }
27625
 
  else
27626
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27627
 
  fi
27628
 
done
27629
 
 
27630
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
27631
 
if test -n "$ac_eof"; then
27632
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
27633
 
  ac_eof=`expr $ac_eof + 1`
27634
 
fi
27635
 
 
27636
 
cat >>$CONFIG_STATUS <<_ACEOF
27637
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
27638
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
27639
 
_ACEOF
27640
 
sed '
27641
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
27642
 
s/^/s,@/; s/!/@,|#_!!_#|/
27643
 
:n
27644
 
t n
27645
 
s/'"$ac_delim"'$/,g/; t
27646
 
s/$/\\/; p
27647
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
27648
 
' >>$CONFIG_STATUS <conf$$subs.sed
27649
 
rm -f conf$$subs.sed
27650
 
cat >>$CONFIG_STATUS <<_ACEOF
27651
 
:end
27652
 
s/|#_!!_#|//g
27653
 
CEOF$ac_eof
27654
 
_ACEOF
27655
 
 
27656
 
 
27657
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
27658
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27659
 
# trailing colons and then remove the whole line if VPATH becomes empty
27660
 
# (actually we leave an empty line to preserve line numbers).
27661
 
if test "x$srcdir" = x.; then
27662
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
27663
 
s/:*\$(srcdir):*/:/
27664
 
s/:*\${srcdir}:*/:/
27665
 
s/:*@srcdir@:*/:/
27666
 
s/^\([^=]*=[     ]*\):*/\1/
27667
 
s/:*$//
27668
 
s/^[^=]*=[       ]*$//
27669
 
}'
27670
 
fi
27671
 
 
27672
 
cat >>$CONFIG_STATUS <<\_ACEOF
27673
 
fi # test -n "$CONFIG_FILES"
27674
 
 
27675
 
 
27676
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
27677
 
do
27678
 
  case $ac_tag in
27679
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
27680
 
  esac
27681
 
  case $ac_mode$ac_tag in
27682
 
  :[FHL]*:*);;
27683
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
27684
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
27685
 
   { (exit 1); exit 1; }; };;
27686
 
  :[FH]-) ac_tag=-:-;;
27687
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27688
 
  esac
27689
 
  ac_save_IFS=$IFS
27690
 
  IFS=:
27691
 
  set x $ac_tag
27692
 
  IFS=$ac_save_IFS
27693
 
  shift
27694
 
  ac_file=$1
27695
 
  shift
27696
 
 
27697
 
  case $ac_mode in
27698
 
  :L) ac_source=$1;;
27699
 
  :[FH])
27700
 
    ac_file_inputs=
27701
 
    for ac_f
27702
 
    do
27703
 
      case $ac_f in
27704
 
      -) ac_f="$tmp/stdin";;
27705
 
      *) # Look for the file first in the build tree, then in the source tree
27706
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
27707
 
         # because $ac_f cannot contain `:'.
27708
 
         test -f "$ac_f" ||
27709
 
           case $ac_f in
27710
 
           [\\/$]*) false;;
27711
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27712
 
           esac ||
27713
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
27714
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
27715
 
   { (exit 1); exit 1; }; };;
27716
 
      esac
27717
 
      ac_file_inputs="$ac_file_inputs $ac_f"
27718
 
    done
27719
 
 
27720
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
27721
 
    # use $as_me), people would be surprised to read:
27722
 
    #    /* config.h.  Generated by config.status.  */
27723
 
    configure_input="Generated from "`IFS=:
27724
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
27725
 
    if test x"$ac_file" != x-; then
27726
 
      configure_input="$ac_file.  $configure_input"
27727
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
27728
 
echo "$as_me: creating $ac_file" >&6;}
27729
 
    fi
27730
 
 
27731
 
    case $ac_tag in
27732
 
    *:-:* | *:-) cat >"$tmp/stdin";;
27733
 
    esac
27734
 
    ;;
27735
 
  esac
27736
 
 
27737
 
  ac_dir=`$as_dirname -- "$ac_file" ||
27738
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27739
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
27740
 
         X"$ac_file" : 'X\(//\)$' \| \
27741
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27742
 
echo X"$ac_file" |
27743
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27744
 
            s//\1/
27745
 
            q
27746
 
          }
27747
 
          /^X\(\/\/\)[^/].*/{
27748
 
            s//\1/
27749
 
            q
27750
 
          }
27751
 
          /^X\(\/\/\)$/{
27752
 
            s//\1/
27753
 
            q
27754
 
          }
27755
 
          /^X\(\/\).*/{
27756
 
            s//\1/
27757
 
            q
27758
 
          }
27759
 
          s/.*/./; q'`
27760
 
  { as_dir="$ac_dir"
27761
 
  case $as_dir in #(
27762
 
  -*) as_dir=./$as_dir;;
27763
 
  esac
27764
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
27765
 
    as_dirs=
27766
 
    while :; do
27767
 
      case $as_dir in #(
27768
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27769
 
      *) as_qdir=$as_dir;;
27770
 
      esac
27771
 
      as_dirs="'$as_qdir' $as_dirs"
27772
 
      as_dir=`$as_dirname -- "$as_dir" ||
27773
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27774
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
27775
 
         X"$as_dir" : 'X\(//\)$' \| \
27776
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27777
 
echo X"$as_dir" |
27778
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27779
 
            s//\1/
27780
 
            q
27781
 
          }
27782
 
          /^X\(\/\/\)[^/].*/{
27783
 
            s//\1/
27784
 
            q
27785
 
          }
27786
 
          /^X\(\/\/\)$/{
27787
 
            s//\1/
27788
 
            q
27789
 
          }
27790
 
          /^X\(\/\).*/{
27791
 
            s//\1/
27792
 
            q
27793
 
          }
27794
 
          s/.*/./; q'`
27795
 
      test -d "$as_dir" && break
27796
 
    done
27797
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
27798
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27799
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
27800
 
   { (exit 1); exit 1; }; }; }
27801
 
  ac_builddir=.
27802
 
 
27803
 
case "$ac_dir" in
27804
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27805
 
*)
27806
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
27807
 
  # A ".." for each directory in $ac_dir_suffix.
27808
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
27809
 
  case $ac_top_builddir_sub in
27810
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27811
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27812
 
  esac ;;
27813
 
esac
27814
 
ac_abs_top_builddir=$ac_pwd
27815
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
27816
 
# for backward compatibility:
27817
 
ac_top_builddir=$ac_top_build_prefix
27818
 
 
27819
 
case $srcdir in
27820
 
  .)  # We are building in place.
27821
 
    ac_srcdir=.
27822
 
    ac_top_srcdir=$ac_top_builddir_sub
27823
 
    ac_abs_top_srcdir=$ac_pwd ;;
27824
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
27825
 
    ac_srcdir=$srcdir$ac_dir_suffix;
27826
 
    ac_top_srcdir=$srcdir
27827
 
    ac_abs_top_srcdir=$srcdir ;;
27828
 
  *) # Relative name.
27829
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27830
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
27831
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27832
 
esac
27833
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
27834
 
 
27835
 
 
27836
 
  case $ac_mode in
27837
 
  :F)
27838
 
  #
27839
 
  # CONFIG_FILE
27840
 
  #
27841
 
 
27842
 
  case $INSTALL in
27843
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
27844
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
27845
 
  esac
27846
 
_ACEOF
27847
 
 
27848
 
cat >>$CONFIG_STATUS <<\_ACEOF
27849
 
# If the template does not know about datarootdir, expand it.
27850
 
# FIXME: This hack should be removed a few years after 2.60.
27851
 
ac_datarootdir_hack=; ac_datarootdir_seen=
27852
 
 
27853
 
case `sed -n '/datarootdir/ {
27854
 
  p
27855
 
  q
27856
 
}
27857
 
/@datadir@/p
27858
 
/@docdir@/p
27859
 
/@infodir@/p
27860
 
/@localedir@/p
27861
 
/@mandir@/p
27862
 
' $ac_file_inputs` in
27863
 
*datarootdir*) ac_datarootdir_seen=yes;;
27864
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27865
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27866
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27867
 
_ACEOF
27868
 
cat >>$CONFIG_STATUS <<_ACEOF
27869
 
  ac_datarootdir_hack='
27870
 
  s&@datadir@&$datadir&g
27871
 
  s&@docdir@&$docdir&g
27872
 
  s&@infodir@&$infodir&g
27873
 
  s&@localedir@&$localedir&g
27874
 
  s&@mandir@&$mandir&g
27875
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
27876
 
esac
27877
 
_ACEOF
27878
 
 
27879
 
# Neutralize VPATH when `$srcdir' = `.'.
27880
 
# Shell code in configure.ac might set extrasub.
27881
 
# FIXME: do we really want to maintain this feature?
27882
 
cat >>$CONFIG_STATUS <<_ACEOF
27883
 
  sed "$ac_vpsub
27884
 
$extrasub
27885
 
_ACEOF
27886
 
cat >>$CONFIG_STATUS <<\_ACEOF
27887
 
:t
27888
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27889
 
s&@configure_input@&$configure_input&;t t
27890
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
27891
 
s&@srcdir@&$ac_srcdir&;t t
27892
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
27893
 
s&@top_srcdir@&$ac_top_srcdir&;t t
27894
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27895
 
s&@builddir@&$ac_builddir&;t t
27896
 
s&@abs_builddir@&$ac_abs_builddir&;t t
27897
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27898
 
s&@INSTALL@&$ac_INSTALL&;t t
27899
 
$ac_datarootdir_hack
27900
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
27901
 
 
27902
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27903
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
27904
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
27905
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27906
 
which seems to be undefined.  Please make sure it is defined." >&5
27907
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27908
 
which seems to be undefined.  Please make sure it is defined." >&2;}
27909
 
 
27910
 
  rm -f "$tmp/stdin"
27911
 
  case $ac_file in
27912
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
27913
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
27914
 
  esac
27915
 
 ;;
27916
 
  :H)
27917
 
  #
27918
 
  # CONFIG_HEADER
27919
 
  #
27920
 
_ACEOF
27921
 
 
27922
 
# Transform confdefs.h into a sed script `conftest.defines', that
27923
 
# substitutes the proper values into config.h.in to produce config.h.
27924
 
rm -f conftest.defines conftest.tail
27925
 
# First, append a space to every undef/define line, to ease matching.
27926
 
echo 's/$/ /' >conftest.defines
27927
 
# Then, protect against being on the right side of a sed subst, or in
27928
 
# an unquoted here document, in config.status.  If some macros were
27929
 
# called several times there might be several #defines for the same
27930
 
# symbol, which is useless.  But do not sort them, since the last
27931
 
# AC_DEFINE must be honored.
27932
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27933
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
27934
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
27935
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
27936
 
# just an empty string.
27937
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
27938
 
ac_dB='\\)[      (].*,\\1define\\2'
27939
 
ac_dC=' '
27940
 
ac_dD=' ,'
27941
 
 
27942
 
uniq confdefs.h |
27943
 
  sed -n '
27944
 
        t rset
27945
 
        :rset
27946
 
        s/^[     ]*#[    ]*define[       ][      ]*//
27947
 
        t ok
27948
 
        d
27949
 
        :ok
27950
 
        s/[\\&,]/\\&/g
27951
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
27952
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
27953
 
  ' >>conftest.defines
27954
 
 
27955
 
# Remove the space that was appended to ease matching.
27956
 
# Then replace #undef with comments.  This is necessary, for
27957
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
27958
 
# on some systems where configure will not decide to define it.
27959
 
# (The regexp can be short, since the line contains either #define or #undef.)
27960
 
echo 's/ $//
27961
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
27962
 
 
27963
 
# Break up conftest.defines:
27964
 
ac_max_sed_lines=50
27965
 
 
27966
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
27967
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
27968
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
27969
 
# et cetera.
27970
 
ac_in='$ac_file_inputs'
27971
 
ac_out='"$tmp/out1"'
27972
 
ac_nxt='"$tmp/out2"'
27973
 
 
27974
 
while :
27975
 
do
27976
 
  # Write a here document:
27977
 
    cat >>$CONFIG_STATUS <<_ACEOF
27978
 
    # First, check the format of the line:
27979
 
    cat >"\$tmp/defines.sed" <<\\CEOF
27980
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
27981
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
27982
 
b
27983
 
:def
27984
 
_ACEOF
27985
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
27986
 
  echo 'CEOF
27987
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
27988
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
27989
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
27990
 
  grep . conftest.tail >/dev/null || break
27991
 
  rm -f conftest.defines
27992
 
  mv conftest.tail conftest.defines
27993
 
done
27994
 
rm -f conftest.defines conftest.tail
27995
 
 
27996
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
27997
 
cat >>$CONFIG_STATUS <<\_ACEOF
27998
 
  if test x"$ac_file" != x-; then
27999
 
    echo "/* $configure_input  */" >"$tmp/config.h"
28000
 
    cat "$ac_result" >>"$tmp/config.h"
28001
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
28002
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
28003
 
echo "$as_me: $ac_file is unchanged" >&6;}
28004
 
    else
28005
 
      rm -f $ac_file
28006
 
      mv "$tmp/config.h" $ac_file
28007
 
    fi
28008
 
  else
28009
 
    echo "/* $configure_input  */"
28010
 
    cat "$ac_result"
28011
 
  fi
28012
 
  rm -f "$tmp/out12"
28013
 
# Compute $ac_file's index in $config_headers.
28014
 
_am_stamp_count=1
28015
 
for _am_header in $config_headers :; do
28016
 
  case $_am_header in
28017
 
    $ac_file | $ac_file:* )
28018
 
      break ;;
28019
 
    * )
28020
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
28021
 
  esac
28022
 
done
28023
 
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
28024
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28025
 
         X$ac_file : 'X\(//\)[^/]' \| \
28026
 
         X$ac_file : 'X\(//\)$' \| \
28027
 
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
28028
 
echo X$ac_file |
28029
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28030
 
            s//\1/
28031
 
            q
28032
 
          }
28033
 
          /^X\(\/\/\)[^/].*/{
28034
 
            s//\1/
28035
 
            q
28036
 
          }
28037
 
          /^X\(\/\/\)$/{
28038
 
            s//\1/
28039
 
            q
28040
 
          }
28041
 
          /^X\(\/\).*/{
28042
 
            s//\1/
28043
 
            q
28044
 
          }
28045
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
28046
 
 ;;
28047
 
  
28048
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
28049
 
echo "$as_me: executing $ac_file commands" >&6;}
28050
 
 ;;
28051
 
  esac
28052
 
 
28053
 
 
28054
 
  case $ac_file$ac_mode in
28055
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
28056
 
  # Strip MF so we end up with the name of the file.
28057
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
28058
 
  # Check whether this is an Automake generated Makefile or not.
28059
 
  # We used to match only the files named `Makefile.in', but
28060
 
  # some people rename them; so instead we look at the file content.
28061
 
  # Grep'ing the first line is not enough: some people post-process
28062
 
  # each Makefile.in and add a new line on top of each file to say so.
28063
 
  # So let's grep whole file.
28064
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
28065
 
    dirpart=`$as_dirname -- "$mf" ||
28066
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28067
 
         X"$mf" : 'X\(//\)[^/]' \| \
28068
 
         X"$mf" : 'X\(//\)$' \| \
28069
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28070
 
echo X"$mf" |
28071
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28072
 
            s//\1/
28073
 
            q
28074
 
          }
28075
 
          /^X\(\/\/\)[^/].*/{
28076
 
            s//\1/
28077
 
            q
28078
 
          }
28079
 
          /^X\(\/\/\)$/{
28080
 
            s//\1/
28081
 
            q
28082
 
          }
28083
 
          /^X\(\/\).*/{
28084
 
            s//\1/
28085
 
            q
28086
 
          }
28087
 
          s/.*/./; q'`
28088
 
  else
28089
 
    continue
28090
 
  fi
28091
 
  # Extract the definition of DEPDIR, am__include, and am__quote
28092
 
  # from the Makefile without running `make'.
28093
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
28094
 
  test -z "$DEPDIR" && continue
28095
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
28096
 
  test -z "am__include" && continue
28097
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
28098
 
  # When using ansi2knr, U may be empty or an underscore; expand it
28099
 
  U=`sed -n 's/^U = //p' < "$mf"`
28100
 
  # Find all dependency output files, they are included files with
28101
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
28102
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
28103
 
  # expansion.
28104
 
  for file in `sed -n "
28105
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28106
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28107
 
    # Make sure the directory exists.
28108
 
    test -f "$dirpart/$file" && continue
28109
 
    fdir=`$as_dirname -- "$file" ||
28110
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28111
 
         X"$file" : 'X\(//\)[^/]' \| \
28112
 
         X"$file" : 'X\(//\)$' \| \
28113
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28114
 
echo X"$file" |
28115
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28116
 
            s//\1/
28117
 
            q
28118
 
          }
28119
 
          /^X\(\/\/\)[^/].*/{
28120
 
            s//\1/
28121
 
            q
28122
 
          }
28123
 
          /^X\(\/\/\)$/{
28124
 
            s//\1/
28125
 
            q
28126
 
          }
28127
 
          /^X\(\/\).*/{
28128
 
            s//\1/
28129
 
            q
28130
 
          }
28131
 
          s/.*/./; q'`
28132
 
    { as_dir=$dirpart/$fdir
28133
 
  case $as_dir in #(
28134
 
  -*) as_dir=./$as_dir;;
28135
 
  esac
28136
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
28137
 
    as_dirs=
28138
 
    while :; do
28139
 
      case $as_dir in #(
28140
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
28141
 
      *) as_qdir=$as_dir;;
28142
 
      esac
28143
 
      as_dirs="'$as_qdir' $as_dirs"
28144
 
      as_dir=`$as_dirname -- "$as_dir" ||
28145
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28146
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
28147
 
         X"$as_dir" : 'X\(//\)$' \| \
28148
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
28149
 
echo X"$as_dir" |
28150
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28151
 
            s//\1/
28152
 
            q
28153
 
          }
28154
 
          /^X\(\/\/\)[^/].*/{
28155
 
            s//\1/
28156
 
            q
28157
 
          }
28158
 
          /^X\(\/\/\)$/{
28159
 
            s//\1/
28160
 
            q
28161
 
          }
28162
 
          /^X\(\/\).*/{
28163
 
            s//\1/
28164
 
            q
28165
 
          }
28166
 
          s/.*/./; q'`
28167
 
      test -d "$as_dir" && break
28168
 
    done
28169
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
28170
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
28171
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
28172
 
   { (exit 1); exit 1; }; }; }
28173
 
    # echo "creating $dirpart/$file"
28174
 
    echo '# dummy' > "$dirpart/$file"
28175
 
  done
28176
 
done
28177
 
 ;;
28178
 
 
28179
 
  esac
28180
 
done # for ac_tag
28181
 
 
28182
 
 
28183
 
{ (exit 0); exit 0; }
28184
 
_ACEOF
28185
 
chmod +x $CONFIG_STATUS
28186
 
ac_clean_files=$ac_clean_files_save
28187
 
 
28188
 
 
28189
 
# configure is writing to config.log, and then calls config.status.
28190
 
# config.status does its own redirection, appending to config.log.
28191
 
# Unfortunately, on DOS this fails, as config.log is still kept open
28192
 
# by configure, so config.status won't be able to write to it; its
28193
 
# output is simply discarded.  So we exec the FD to /dev/null,
28194
 
# effectively closing config.log, so it can be properly (re)opened and
28195
 
# appended to by config.status.  When coming back to configure, we
28196
 
# need to make the FD available again.
28197
 
if test "$no_create" != yes; then
28198
 
  ac_cs_success=:
28199
 
  ac_config_status_args=
28200
 
  test "$silent" = yes &&
28201
 
    ac_config_status_args="$ac_config_status_args --quiet"
28202
 
  exec 5>/dev/null
28203
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
28204
 
  exec 5>>config.log
28205
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28206
 
  # would make configure fail if this is the last instruction.
28207
 
  $ac_cs_success || { (exit 1); exit 1; }
28208
 
fi
28209
 
 
28210