~noskcaj/ubuntu/trusty/libextractor/merge

« back to all changes in this revision

Viewing changes to libltdl/configure

  • Committer: Bazaar Package Importer
  • Author(s): Luca Falavigna
  • Date: 2008-11-10 22:21:49 UTC
  • mfrom: (1.10.3 upstream) (5.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20081110222149-pr35f3nmqy5cf52i
Tags: 0.5.21+dfsg-1ubuntu1
* Merge from Debian unstable, remaining Ubuntu changes:
  - (Build-)depend on libltdl7-dev (Ubuntu-specific change).

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 libltdl 1.2.
4
 
#
5
 
# Report bugs to <bug-libtool@gnu.org>.
6
 
#
7
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9
 
# This configure script is free software; the Free Software Foundation
10
 
# gives unlimited permission to copy, distribute and modify it.
11
 
## --------------------- ##
12
 
## M4sh Initialization.  ##
13
 
## --------------------- ##
14
 
 
15
 
# Be more Bourne compatible
16
 
DUALCASE=1; export DUALCASE # for MKS sh
17
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
 
  emulate sh
19
 
  NULLCMD=:
20
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21
 
  # is contrary to our usage.  Disable this feature.
22
 
  alias -g '${1+"$@"}'='"$@"'
23
 
  setopt NO_GLOB_SUBST
24
 
else
25
 
  case `(set -o) 2>/dev/null` in
26
 
  *posix*) set -o posix ;;
27
 
esac
28
 
 
29
 
fi
30
 
 
31
 
 
32
 
 
33
 
 
34
 
# PATH needs CR
35
 
# Avoid depending upon Character Ranges.
36
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
 
as_cr_digits='0123456789'
40
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
 
 
42
 
# The user is always right.
43
 
if test "${PATH_SEPARATOR+set}" != set; then
44
 
  echo "#! /bin/sh" >conf$$.sh
45
 
  echo  "exit 0"   >>conf$$.sh
46
 
  chmod +x conf$$.sh
47
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48
 
    PATH_SEPARATOR=';'
49
 
  else
50
 
    PATH_SEPARATOR=:
51
 
  fi
52
 
  rm -f conf$$.sh
53
 
fi
54
 
 
55
 
# Support unset when possible.
56
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57
 
  as_unset=unset
58
 
else
59
 
  as_unset=false
60
 
fi
61
 
 
62
 
 
63
 
# IFS
64
 
# We need space, tab and new line, in precisely that order.  Quoting is
65
 
# there to prevent editors from complaining about space-tab.
66
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67
 
# splitting by setting IFS to empty value.)
68
 
as_nl='
69
 
'
70
 
IFS=" ""        $as_nl"
71
 
 
72
 
# Find who we are.  Look in the path if we contain no directory separator.
73
 
case $0 in
74
 
  *[\\/]* ) as_myself=$0 ;;
75
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76
 
for as_dir in $PATH
77
 
do
78
 
  IFS=$as_save_IFS
79
 
  test -z "$as_dir" && as_dir=.
80
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81
 
done
82
 
IFS=$as_save_IFS
83
 
 
84
 
     ;;
85
 
esac
86
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
87
 
# in which case we are not to be found in the path.
88
 
if test "x$as_myself" = x; then
89
 
  as_myself=$0
90
 
fi
91
 
if test ! -f "$as_myself"; then
92
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93
 
  { (exit 1); exit 1; }
94
 
fi
95
 
 
96
 
# Work around bugs in pre-3.0 UWIN ksh.
97
 
for as_var in ENV MAIL MAILPATH
98
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99
 
done
100
 
PS1='$ '
101
 
PS2='> '
102
 
PS4='+ '
103
 
 
104
 
# NLS nuisances.
105
 
for as_var in \
106
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108
 
  LC_TELEPHONE LC_TIME
109
 
do
110
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
 
    eval $as_var=C; export $as_var
112
 
  else
113
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114
 
  fi
115
 
done
116
 
 
117
 
# Required to use basename.
118
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
119
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
120
 
  as_expr=expr
121
 
else
122
 
  as_expr=false
123
 
fi
124
 
 
125
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126
 
  as_basename=basename
127
 
else
128
 
  as_basename=false
129
 
fi
130
 
 
131
 
 
132
 
# Name of the executable.
133
 
as_me=`$as_basename -- "$0" ||
134
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135
 
         X"$0" : 'X\(//\)$' \| \
136
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137
 
echo X/"$0" |
138
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
139
 
            s//\1/
140
 
            q
141
 
          }
142
 
          /^X\/\(\/\/\)$/{
143
 
            s//\1/
144
 
            q
145
 
          }
146
 
          /^X\/\(\/\).*/{
147
 
            s//\1/
148
 
            q
149
 
          }
150
 
          s/.*/./; q'`
151
 
 
152
 
# CDPATH.
153
 
$as_unset CDPATH
154
 
 
155
 
 
156
 
if test "x$CONFIG_SHELL" = x; then
157
 
  if (eval ":") 2>/dev/null; then
158
 
  as_have_required=yes
159
 
else
160
 
  as_have_required=no
161
 
fi
162
 
 
163
 
  if test $as_have_required = yes &&     (eval ":
164
 
(as_func_return () {
165
 
  (exit \$1)
166
 
}
167
 
as_func_success () {
168
 
  as_func_return 0
169
 
}
170
 
as_func_failure () {
171
 
  as_func_return 1
172
 
}
173
 
as_func_ret_success () {
174
 
  return 0
175
 
}
176
 
as_func_ret_failure () {
177
 
  return 1
178
 
}
179
 
 
180
 
exitcode=0
181
 
if as_func_success; then
182
 
  :
183
 
else
184
 
  exitcode=1
185
 
  echo as_func_success failed.
186
 
fi
187
 
 
188
 
if as_func_failure; then
189
 
  exitcode=1
190
 
  echo as_func_failure succeeded.
191
 
fi
192
 
 
193
 
if as_func_ret_success; then
194
 
  :
195
 
else
196
 
  exitcode=1
197
 
  echo as_func_ret_success failed.
198
 
fi
199
 
 
200
 
if as_func_ret_failure; then
201
 
  exitcode=1
202
 
  echo as_func_ret_failure succeeded.
203
 
fi
204
 
 
205
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206
 
  :
207
 
else
208
 
  exitcode=1
209
 
  echo positional parameters were not saved.
210
 
fi
211
 
 
212
 
test \$exitcode = 0) || { (exit 1); exit 1; }
213
 
 
214
 
(
215
 
  as_lineno_1=\$LINENO
216
 
  as_lineno_2=\$LINENO
217
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219
 
") 2> /dev/null; then
220
 
  :
221
 
else
222
 
  as_candidate_shells=
223
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225
 
do
226
 
  IFS=$as_save_IFS
227
 
  test -z "$as_dir" && as_dir=.
228
 
  case $as_dir in
229
 
         /*)
230
 
           for as_base in sh bash ksh sh5; do
231
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232
 
           done;;
233
 
       esac
234
 
done
235
 
IFS=$as_save_IFS
236
 
 
237
 
 
238
 
      for as_shell in $as_candidate_shells $SHELL; do
239
 
         # Try only shells that exist, to save several forks.
240
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
242
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243
 
  emulate sh
244
 
  NULLCMD=:
245
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246
 
  # is contrary to our usage.  Disable this feature.
247
 
  alias -g '${1+"$@"}'='"$@"'
248
 
  setopt NO_GLOB_SUBST
249
 
else
250
 
  case `(set -o) 2>/dev/null` in
251
 
  *posix*) set -o posix ;;
252
 
esac
253
 
 
254
 
fi
255
 
 
256
 
 
257
 
:
258
 
_ASEOF
259
 
}; then
260
 
  CONFIG_SHELL=$as_shell
261
 
               as_have_required=yes
262
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
263
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
 
  emulate sh
265
 
  NULLCMD=:
266
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267
 
  # is contrary to our usage.  Disable this feature.
268
 
  alias -g '${1+"$@"}'='"$@"'
269
 
  setopt NO_GLOB_SUBST
270
 
else
271
 
  case `(set -o) 2>/dev/null` in
272
 
  *posix*) set -o posix ;;
273
 
esac
274
 
 
275
 
fi
276
 
 
277
 
 
278
 
:
279
 
(as_func_return () {
280
 
  (exit $1)
281
 
}
282
 
as_func_success () {
283
 
  as_func_return 0
284
 
}
285
 
as_func_failure () {
286
 
  as_func_return 1
287
 
}
288
 
as_func_ret_success () {
289
 
  return 0
290
 
}
291
 
as_func_ret_failure () {
292
 
  return 1
293
 
}
294
 
 
295
 
exitcode=0
296
 
if as_func_success; then
297
 
  :
298
 
else
299
 
  exitcode=1
300
 
  echo as_func_success failed.
301
 
fi
302
 
 
303
 
if as_func_failure; then
304
 
  exitcode=1
305
 
  echo as_func_failure succeeded.
306
 
fi
307
 
 
308
 
if as_func_ret_success; then
309
 
  :
310
 
else
311
 
  exitcode=1
312
 
  echo as_func_ret_success failed.
313
 
fi
314
 
 
315
 
if as_func_ret_failure; then
316
 
  exitcode=1
317
 
  echo as_func_ret_failure succeeded.
318
 
fi
319
 
 
320
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
321
 
  :
322
 
else
323
 
  exitcode=1
324
 
  echo positional parameters were not saved.
325
 
fi
326
 
 
327
 
test $exitcode = 0) || { (exit 1); exit 1; }
328
 
 
329
 
(
330
 
  as_lineno_1=$LINENO
331
 
  as_lineno_2=$LINENO
332
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
333
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
 
 
335
 
_ASEOF
336
 
}; then
337
 
  break
338
 
fi
339
 
 
340
 
fi
341
 
 
342
 
      done
343
 
 
344
 
      if test "x$CONFIG_SHELL" != x; then
345
 
  for as_var in BASH_ENV ENV
346
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347
 
        done
348
 
        export CONFIG_SHELL
349
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350
 
fi
351
 
 
352
 
 
353
 
    if test $as_have_required = no; then
354
 
  echo This script requires a shell more modern than all the
355
 
      echo shells that I found on your system.  Please install a
356
 
      echo modern shell, or manually run the script under such a
357
 
      echo shell if you do have one.
358
 
      { (exit 1); exit 1; }
359
 
fi
360
 
 
361
 
 
362
 
fi
363
 
 
364
 
fi
365
 
 
366
 
 
367
 
 
368
 
(eval "as_func_return () {
369
 
  (exit \$1)
370
 
}
371
 
as_func_success () {
372
 
  as_func_return 0
373
 
}
374
 
as_func_failure () {
375
 
  as_func_return 1
376
 
}
377
 
as_func_ret_success () {
378
 
  return 0
379
 
}
380
 
as_func_ret_failure () {
381
 
  return 1
382
 
}
383
 
 
384
 
exitcode=0
385
 
if as_func_success; then
386
 
  :
387
 
else
388
 
  exitcode=1
389
 
  echo as_func_success failed.
390
 
fi
391
 
 
392
 
if as_func_failure; then
393
 
  exitcode=1
394
 
  echo as_func_failure succeeded.
395
 
fi
396
 
 
397
 
if as_func_ret_success; then
398
 
  :
399
 
else
400
 
  exitcode=1
401
 
  echo as_func_ret_success failed.
402
 
fi
403
 
 
404
 
if as_func_ret_failure; then
405
 
  exitcode=1
406
 
  echo as_func_ret_failure succeeded.
407
 
fi
408
 
 
409
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410
 
  :
411
 
else
412
 
  exitcode=1
413
 
  echo positional parameters were not saved.
414
 
fi
415
 
 
416
 
test \$exitcode = 0") || {
417
 
  echo No shell found that supports shell functions.
418
 
  echo Please tell autoconf@gnu.org about your system,
419
 
  echo including any error possibly output before this
420
 
  echo message
421
 
}
422
 
 
423
 
 
424
 
 
425
 
  as_lineno_1=$LINENO
426
 
  as_lineno_2=$LINENO
427
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
428
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
 
 
430
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
432
 
  # line-number line after each line using $LINENO; the second 'sed'
433
 
  # does the real work.  The second script uses 'N' to pair each
434
 
  # line-number line with the line containing $LINENO, and appends
435
 
  # trailing '-' during substitution so that $LINENO is not a special
436
 
  # case at line end.
437
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
439
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
440
 
  sed -n '
441
 
    p
442
 
    /[$]LINENO/=
443
 
  ' <$as_myself |
444
 
    sed '
445
 
      s/[$]LINENO.*/&-/
446
 
      t lineno
447
 
      b
448
 
      :lineno
449
 
      N
450
 
      :loop
451
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452
 
      t loop
453
 
      s/-\n.*//
454
 
    ' >$as_me.lineno &&
455
 
  chmod +x "$as_me.lineno" ||
456
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457
 
   { (exit 1); exit 1; }; }
458
 
 
459
 
  # Don't try to exec as it changes $[0], causing all sort of problems
460
 
  # (the dirname of $[0] is not the place where we might find the
461
 
  # original and so on.  Autoconf is especially sensitive to this).
462
 
  . "./$as_me.lineno"
463
 
  # Exit status is that of the last command.
464
 
  exit
465
 
}
466
 
 
467
 
 
468
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469
 
  as_dirname=dirname
470
 
else
471
 
  as_dirname=false
472
 
fi
473
 
 
474
 
ECHO_C= ECHO_N= ECHO_T=
475
 
case `echo -n x` in
476
 
-n*)
477
 
  case `echo 'x\c'` in
478
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
479
 
  *)   ECHO_C='\c';;
480
 
  esac;;
481
 
*)
482
 
  ECHO_N='-n';;
483
 
esac
484
 
 
485
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
487
 
  as_expr=expr
488
 
else
489
 
  as_expr=false
490
 
fi
491
 
 
492
 
rm -f conf$$ conf$$.exe conf$$.file
493
 
if test -d conf$$.dir; then
494
 
  rm -f conf$$.dir/conf$$.file
495
 
else
496
 
  rm -f conf$$.dir
497
 
  mkdir conf$$.dir
498
 
fi
499
 
echo >conf$$.file
500
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
501
 
  as_ln_s='ln -s'
502
 
  # ... but there are two gotchas:
503
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505
 
  # In both cases, we have to default to `cp -p'.
506
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507
 
    as_ln_s='cp -p'
508
 
elif ln conf$$.file conf$$ 2>/dev/null; then
509
 
  as_ln_s=ln
510
 
else
511
 
  as_ln_s='cp -p'
512
 
fi
513
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514
 
rmdir conf$$.dir 2>/dev/null
515
 
 
516
 
if mkdir -p . 2>/dev/null; then
517
 
  as_mkdir_p=:
518
 
else
519
 
  test -d ./-p && rmdir ./-p
520
 
  as_mkdir_p=false
521
 
fi
522
 
 
523
 
if test -x / >/dev/null 2>&1; then
524
 
  as_test_x='test -x'
525
 
else
526
 
  if ls -dL / >/dev/null 2>&1; then
527
 
    as_ls_L_option=L
528
 
  else
529
 
    as_ls_L_option=
530
 
  fi
531
 
  as_test_x='
532
 
    eval sh -c '\''
533
 
      if test -d "$1"; then
534
 
        test -d "$1/.";
535
 
      else
536
 
        case $1 in
537
 
        -*)set "./$1";;
538
 
        esac;
539
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540
 
        ???[sx]*):;;*)false;;esac;fi
541
 
    '\'' sh
542
 
  '
543
 
fi
544
 
as_executable_p=$as_test_x
545
 
 
546
 
# Sed expression to map a string onto a valid CPP name.
547
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
 
 
549
 
# Sed expression to map a string onto a valid variable name.
550
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
 
 
552
 
 
553
 
 
554
 
 
555
 
# Check that we are running under the correct shell.
556
 
SHELL=${CONFIG_SHELL-/bin/sh}
557
 
 
558
 
case X$ECHO in
559
 
X*--fallback-echo)
560
 
  # Remove one level of quotation (which was required for Make).
561
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
562
 
  ;;
563
 
esac
564
 
 
565
 
echo=${ECHO-echo}
566
 
if test "X$1" = X--no-reexec; then
567
 
  # Discard the --no-reexec flag, and continue.
568
 
  shift
569
 
elif test "X$1" = X--fallback-echo; then
570
 
  # Avoid inline document here, it may be left over
571
 
  :
572
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
573
 
  # Yippee, $echo works!
574
 
  :
575
 
else
576
 
  # Restart under the correct shell.
577
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
578
 
fi
579
 
 
580
 
if test "X$1" = X--fallback-echo; then
581
 
  # used as fallback echo
582
 
  shift
583
 
  cat <<EOF
584
 
$*
585
 
EOF
586
 
  exit 0
587
 
fi
588
 
 
589
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
590
 
# if CDPATH is set.
591
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
592
 
 
593
 
if test -z "$ECHO"; then
594
 
if test "X${echo_test_string+set}" != Xset; then
595
 
# find a string as large as possible, as long as the shell can cope with it
596
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
599
 
       echo_test_string=`eval $cmd` &&
600
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
601
 
    then
602
 
      break
603
 
    fi
604
 
  done
605
 
fi
606
 
 
607
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
608
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
609
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
610
 
  :
611
 
else
612
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
613
 
  # backslashes.  This makes it impossible to quote backslashes using
614
 
  #   echo "$something" | sed 's/\\/\\\\/g'
615
 
  #
616
 
  # So, first we look for a working echo in the user's PATH.
617
 
 
618
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
619
 
  for dir in $PATH /usr/ucb; do
620
 
    IFS="$lt_save_ifs"
621
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
622
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
623
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
624
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
625
 
      echo="$dir/echo"
626
 
      break
627
 
    fi
628
 
  done
629
 
  IFS="$lt_save_ifs"
630
 
 
631
 
  if test "X$echo" = Xecho; then
632
 
    # We didn't find a better echo, so look for alternatives.
633
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
634
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
635
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
636
 
      # This shell has a builtin print -r that does the trick.
637
 
      echo='print -r'
638
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
639
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
640
 
      # If we have ksh, try running configure again with it.
641
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
642
 
      export ORIGINAL_CONFIG_SHELL
643
 
      CONFIG_SHELL=/bin/ksh
644
 
      export CONFIG_SHELL
645
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
646
 
    else
647
 
      # Try using printf.
648
 
      echo='printf %s\n'
649
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
650
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
651
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
652
 
        # Cool, printf works
653
 
        :
654
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
655
 
           test "X$echo_testing_string" = 'X\t' &&
656
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
657
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
658
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
659
 
        export CONFIG_SHELL
660
 
        SHELL="$CONFIG_SHELL"
661
 
        export SHELL
662
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
663
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
664
 
           test "X$echo_testing_string" = 'X\t' &&
665
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
666
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
667
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
668
 
      else
669
 
        # maybe with a smaller string...
670
 
        prev=:
671
 
 
672
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
673
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
674
 
          then
675
 
            break
676
 
          fi
677
 
          prev="$cmd"
678
 
        done
679
 
 
680
 
        if test "$prev" != 'sed 50q "$0"'; then
681
 
          echo_test_string=`eval $prev`
682
 
          export echo_test_string
683
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
684
 
        else
685
 
          # Oops.  We lost completely, so just stick with echo.
686
 
          echo=echo
687
 
        fi
688
 
      fi
689
 
    fi
690
 
  fi
691
 
fi
692
 
fi
693
 
 
694
 
# Copy echo and quote the copy suitably for passing to libtool from
695
 
# the Makefile, instead of quoting the original, which is used later.
696
 
ECHO=$echo
697
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
698
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
699
 
fi
700
 
 
701
 
 
702
 
 
703
 
 
704
 
tagnames=${tagnames+${tagnames},}CXX
705
 
 
706
 
tagnames=${tagnames+${tagnames},}F77
707
 
 
708
 
exec 7<&0 </dev/null 6>&1
709
 
 
710
 
# Name of the host.
711
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
712
 
# so uname gets run too.
713
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
714
 
 
715
 
#
716
 
# Initializations.
717
 
#
718
 
ac_default_prefix=/usr/local
719
 
ac_clean_files=
720
 
ac_config_libobj_dir=.
721
 
LIBOBJS=
722
 
cross_compiling=no
723
 
subdirs=
724
 
MFLAGS=
725
 
MAKEFLAGS=
726
 
SHELL=${CONFIG_SHELL-/bin/sh}
727
 
 
728
 
# Identity of this package.
729
 
PACKAGE_NAME='libltdl'
730
 
PACKAGE_TARNAME='libltdl'
731
 
PACKAGE_VERSION='1.2'
732
 
PACKAGE_STRING='libltdl 1.2'
733
 
PACKAGE_BUGREPORT='bug-libtool@gnu.org'
734
 
 
735
 
ac_unique_file="ltdl.c"
736
 
# Factoring default headers for most tests.
737
 
ac_includes_default="\
738
 
#include <stdio.h>
739
 
#ifdef HAVE_SYS_TYPES_H
740
 
# include <sys/types.h>
741
 
#endif
742
 
#ifdef HAVE_SYS_STAT_H
743
 
# include <sys/stat.h>
744
 
#endif
745
 
#ifdef STDC_HEADERS
746
 
# include <stdlib.h>
747
 
# include <stddef.h>
748
 
#else
749
 
# ifdef HAVE_STDLIB_H
750
 
#  include <stdlib.h>
751
 
# endif
752
 
#endif
753
 
#ifdef HAVE_STRING_H
754
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
755
 
#  include <memory.h>
756
 
# endif
757
 
# include <string.h>
758
 
#endif
759
 
#ifdef HAVE_STRINGS_H
760
 
# include <strings.h>
761
 
#endif
762
 
#ifdef HAVE_INTTYPES_H
763
 
# include <inttypes.h>
764
 
#endif
765
 
#ifdef HAVE_STDINT_H
766
 
# include <stdint.h>
767
 
#endif
768
 
#ifdef HAVE_UNISTD_H
769
 
# include <unistd.h>
770
 
#endif"
771
 
 
772
 
ac_subst_vars='SHELL
773
 
PATH_SEPARATOR
774
 
PACKAGE_NAME
775
 
PACKAGE_TARNAME
776
 
PACKAGE_VERSION
777
 
PACKAGE_STRING
778
 
PACKAGE_BUGREPORT
779
 
exec_prefix
780
 
prefix
781
 
program_transform_name
782
 
bindir
783
 
sbindir
784
 
libexecdir
785
 
datarootdir
786
 
datadir
787
 
sysconfdir
788
 
sharedstatedir
789
 
localstatedir
790
 
includedir
791
 
oldincludedir
792
 
docdir
793
 
infodir
794
 
htmldir
795
 
dvidir
796
 
pdfdir
797
 
psdir
798
 
libdir
799
 
localedir
800
 
mandir
801
 
DEFS
802
 
ECHO_C
803
 
ECHO_N
804
 
ECHO_T
805
 
LIBS
806
 
build_alias
807
 
host_alias
808
 
target_alias
809
 
INSTALL_PROGRAM
810
 
INSTALL_SCRIPT
811
 
INSTALL_DATA
812
 
am__isrc
813
 
CYGPATH_W
814
 
PACKAGE
815
 
VERSION
816
 
ACLOCAL
817
 
AUTOCONF
818
 
AUTOMAKE
819
 
AUTOHEADER
820
 
MAKEINFO
821
 
install_sh
822
 
STRIP
823
 
INSTALL_STRIP_PROGRAM
824
 
mkdir_p
825
 
AWK
826
 
SET_MAKE
827
 
am__leading_dot
828
 
AMTAR
829
 
am__tar
830
 
am__untar
831
 
CC
832
 
CFLAGS
833
 
LDFLAGS
834
 
CPPFLAGS
835
 
ac_ct_CC
836
 
EXEEXT
837
 
OBJEXT
838
 
DEPDIR
839
 
am__include
840
 
am__quote
841
 
AMDEP_TRUE
842
 
AMDEP_FALSE
843
 
AMDEPBACKSLASH
844
 
CCDEPMODE
845
 
am__fastdepCC_TRUE
846
 
am__fastdepCC_FALSE
847
 
build
848
 
build_cpu
849
 
build_vendor
850
 
build_os
851
 
host
852
 
host_cpu
853
 
host_vendor
854
 
host_os
855
 
GREP
856
 
EGREP
857
 
LN_S
858
 
ECHO
859
 
AR
860
 
RANLIB
861
 
DLLTOOL
862
 
AS
863
 
OBJDUMP
864
 
CPP
865
 
CXX
866
 
CXXFLAGS
867
 
ac_ct_CXX
868
 
CXXDEPMODE
869
 
am__fastdepCXX_TRUE
870
 
am__fastdepCXX_FALSE
871
 
CXXCPP
872
 
F77
873
 
FFLAGS
874
 
ac_ct_F77
875
 
LIBTOOL
876
 
LIBTOOL_DEPS
877
 
INSTALL_LTDL_TRUE
878
 
INSTALL_LTDL_FALSE
879
 
CONVENIENCE_LTDL_TRUE
880
 
CONVENIENCE_LTDL_FALSE
881
 
LIBADD_DL
882
 
LIBOBJS
883
 
LTLIBOBJS'
884
 
ac_subst_files=''
885
 
      ac_precious_vars='build_alias
886
 
host_alias
887
 
target_alias
888
 
CC
889
 
CFLAGS
890
 
LDFLAGS
891
 
LIBS
892
 
CPPFLAGS
893
 
CPP
894
 
CXX
895
 
CXXFLAGS
896
 
CCC
897
 
CXXCPP
898
 
F77
899
 
FFLAGS'
900
 
 
901
 
 
902
 
# Initialize some variables set by options.
903
 
ac_init_help=
904
 
ac_init_version=false
905
 
# The variables have the same names as the options, with
906
 
# dashes changed to underlines.
907
 
cache_file=/dev/null
908
 
exec_prefix=NONE
909
 
no_create=
910
 
no_recursion=
911
 
prefix=NONE
912
 
program_prefix=NONE
913
 
program_suffix=NONE
914
 
program_transform_name=s,x,x,
915
 
silent=
916
 
site=
917
 
srcdir=
918
 
verbose=
919
 
x_includes=NONE
920
 
x_libraries=NONE
921
 
 
922
 
# Installation directory options.
923
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
924
 
# and all the variables that are supposed to be based on exec_prefix
925
 
# by default will actually change.
926
 
# Use braces instead of parens because sh, perl, etc. also accept them.
927
 
# (The list follows the same order as the GNU Coding Standards.)
928
 
bindir='${exec_prefix}/bin'
929
 
sbindir='${exec_prefix}/sbin'
930
 
libexecdir='${exec_prefix}/libexec'
931
 
datarootdir='${prefix}/share'
932
 
datadir='${datarootdir}'
933
 
sysconfdir='${prefix}/etc'
934
 
sharedstatedir='${prefix}/com'
935
 
localstatedir='${prefix}/var'
936
 
includedir='${prefix}/include'
937
 
oldincludedir='/usr/include'
938
 
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
939
 
infodir='${datarootdir}/info'
940
 
htmldir='${docdir}'
941
 
dvidir='${docdir}'
942
 
pdfdir='${docdir}'
943
 
psdir='${docdir}'
944
 
libdir='${exec_prefix}/lib'
945
 
localedir='${datarootdir}/locale'
946
 
mandir='${datarootdir}/man'
947
 
 
948
 
ac_prev=
949
 
ac_dashdash=
950
 
for ac_option
951
 
do
952
 
  # If the previous option needs an argument, assign it.
953
 
  if test -n "$ac_prev"; then
954
 
    eval $ac_prev=\$ac_option
955
 
    ac_prev=
956
 
    continue
957
 
  fi
958
 
 
959
 
  case $ac_option in
960
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
961
 
  *)    ac_optarg=yes ;;
962
 
  esac
963
 
 
964
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
965
 
 
966
 
  case $ac_dashdash$ac_option in
967
 
  --)
968
 
    ac_dashdash=yes ;;
969
 
 
970
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
971
 
    ac_prev=bindir ;;
972
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
973
 
    bindir=$ac_optarg ;;
974
 
 
975
 
  -build | --build | --buil | --bui | --bu)
976
 
    ac_prev=build_alias ;;
977
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
978
 
    build_alias=$ac_optarg ;;
979
 
 
980
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
981
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
982
 
    ac_prev=cache_file ;;
983
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
984
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
985
 
    cache_file=$ac_optarg ;;
986
 
 
987
 
  --config-cache | -C)
988
 
    cache_file=config.cache ;;
989
 
 
990
 
  -datadir | --datadir | --datadi | --datad)
991
 
    ac_prev=datadir ;;
992
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
993
 
    datadir=$ac_optarg ;;
994
 
 
995
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
996
 
  | --dataroo | --dataro | --datar)
997
 
    ac_prev=datarootdir ;;
998
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
999
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1000
 
    datarootdir=$ac_optarg ;;
1001
 
 
1002
 
  -disable-* | --disable-*)
1003
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1004
 
    # Reject names that are not valid shell variable names.
1005
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1006
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1007
 
   { (exit 1); exit 1; }; }
1008
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1009
 
    eval enable_$ac_feature=no ;;
1010
 
 
1011
 
  -docdir | --docdir | --docdi | --doc | --do)
1012
 
    ac_prev=docdir ;;
1013
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1014
 
    docdir=$ac_optarg ;;
1015
 
 
1016
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1017
 
    ac_prev=dvidir ;;
1018
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1019
 
    dvidir=$ac_optarg ;;
1020
 
 
1021
 
  -enable-* | --enable-*)
1022
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1023
 
    # Reject names that are not valid shell variable names.
1024
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1025
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1026
 
   { (exit 1); exit 1; }; }
1027
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1028
 
    eval enable_$ac_feature=\$ac_optarg ;;
1029
 
 
1030
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1031
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1032
 
  | --exec | --exe | --ex)
1033
 
    ac_prev=exec_prefix ;;
1034
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1035
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1036
 
  | --exec=* | --exe=* | --ex=*)
1037
 
    exec_prefix=$ac_optarg ;;
1038
 
 
1039
 
  -gas | --gas | --ga | --g)
1040
 
    # Obsolete; use --with-gas.
1041
 
    with_gas=yes ;;
1042
 
 
1043
 
  -help | --help | --hel | --he | -h)
1044
 
    ac_init_help=long ;;
1045
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1046
 
    ac_init_help=recursive ;;
1047
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1048
 
    ac_init_help=short ;;
1049
 
 
1050
 
  -host | --host | --hos | --ho)
1051
 
    ac_prev=host_alias ;;
1052
 
  -host=* | --host=* | --hos=* | --ho=*)
1053
 
    host_alias=$ac_optarg ;;
1054
 
 
1055
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1056
 
    ac_prev=htmldir ;;
1057
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1058
 
  | --ht=*)
1059
 
    htmldir=$ac_optarg ;;
1060
 
 
1061
 
  -includedir | --includedir | --includedi | --included | --include \
1062
 
  | --includ | --inclu | --incl | --inc)
1063
 
    ac_prev=includedir ;;
1064
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1065
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1066
 
    includedir=$ac_optarg ;;
1067
 
 
1068
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1069
 
    ac_prev=infodir ;;
1070
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1071
 
    infodir=$ac_optarg ;;
1072
 
 
1073
 
  -libdir | --libdir | --libdi | --libd)
1074
 
    ac_prev=libdir ;;
1075
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1076
 
    libdir=$ac_optarg ;;
1077
 
 
1078
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1079
 
  | --libexe | --libex | --libe)
1080
 
    ac_prev=libexecdir ;;
1081
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1082
 
  | --libexe=* | --libex=* | --libe=*)
1083
 
    libexecdir=$ac_optarg ;;
1084
 
 
1085
 
  -localedir | --localedir | --localedi | --localed | --locale)
1086
 
    ac_prev=localedir ;;
1087
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1088
 
    localedir=$ac_optarg ;;
1089
 
 
1090
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1091
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1092
 
    ac_prev=localstatedir ;;
1093
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1094
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1095
 
    localstatedir=$ac_optarg ;;
1096
 
 
1097
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1098
 
    ac_prev=mandir ;;
1099
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1100
 
    mandir=$ac_optarg ;;
1101
 
 
1102
 
  -nfp | --nfp | --nf)
1103
 
    # Obsolete; use --without-fp.
1104
 
    with_fp=no ;;
1105
 
 
1106
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1107
 
  | --no-cr | --no-c | -n)
1108
 
    no_create=yes ;;
1109
 
 
1110
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1111
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1112
 
    no_recursion=yes ;;
1113
 
 
1114
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1115
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1116
 
  | --oldin | --oldi | --old | --ol | --o)
1117
 
    ac_prev=oldincludedir ;;
1118
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1119
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1120
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1121
 
    oldincludedir=$ac_optarg ;;
1122
 
 
1123
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1124
 
    ac_prev=prefix ;;
1125
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1126
 
    prefix=$ac_optarg ;;
1127
 
 
1128
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1129
 
  | --program-pre | --program-pr | --program-p)
1130
 
    ac_prev=program_prefix ;;
1131
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1132
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1133
 
    program_prefix=$ac_optarg ;;
1134
 
 
1135
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1136
 
  | --program-suf | --program-su | --program-s)
1137
 
    ac_prev=program_suffix ;;
1138
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1139
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1140
 
    program_suffix=$ac_optarg ;;
1141
 
 
1142
 
  -program-transform-name | --program-transform-name \
1143
 
  | --program-transform-nam | --program-transform-na \
1144
 
  | --program-transform-n | --program-transform- \
1145
 
  | --program-transform | --program-transfor \
1146
 
  | --program-transfo | --program-transf \
1147
 
  | --program-trans | --program-tran \
1148
 
  | --progr-tra | --program-tr | --program-t)
1149
 
    ac_prev=program_transform_name ;;
1150
 
  -program-transform-name=* | --program-transform-name=* \
1151
 
  | --program-transform-nam=* | --program-transform-na=* \
1152
 
  | --program-transform-n=* | --program-transform-=* \
1153
 
  | --program-transform=* | --program-transfor=* \
1154
 
  | --program-transfo=* | --program-transf=* \
1155
 
  | --program-trans=* | --program-tran=* \
1156
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1157
 
    program_transform_name=$ac_optarg ;;
1158
 
 
1159
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1160
 
    ac_prev=pdfdir ;;
1161
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1162
 
    pdfdir=$ac_optarg ;;
1163
 
 
1164
 
  -psdir | --psdir | --psdi | --psd | --ps)
1165
 
    ac_prev=psdir ;;
1166
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1167
 
    psdir=$ac_optarg ;;
1168
 
 
1169
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1170
 
  | -silent | --silent | --silen | --sile | --sil)
1171
 
    silent=yes ;;
1172
 
 
1173
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1174
 
    ac_prev=sbindir ;;
1175
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1176
 
  | --sbi=* | --sb=*)
1177
 
    sbindir=$ac_optarg ;;
1178
 
 
1179
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1180
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1181
 
  | --sharedst | --shareds | --shared | --share | --shar \
1182
 
  | --sha | --sh)
1183
 
    ac_prev=sharedstatedir ;;
1184
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1185
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1186
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1187
 
  | --sha=* | --sh=*)
1188
 
    sharedstatedir=$ac_optarg ;;
1189
 
 
1190
 
  -site | --site | --sit)
1191
 
    ac_prev=site ;;
1192
 
  -site=* | --site=* | --sit=*)
1193
 
    site=$ac_optarg ;;
1194
 
 
1195
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1196
 
    ac_prev=srcdir ;;
1197
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1198
 
    srcdir=$ac_optarg ;;
1199
 
 
1200
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1201
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1202
 
    ac_prev=sysconfdir ;;
1203
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1204
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1205
 
    sysconfdir=$ac_optarg ;;
1206
 
 
1207
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1208
 
    ac_prev=target_alias ;;
1209
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1210
 
    target_alias=$ac_optarg ;;
1211
 
 
1212
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1213
 
    verbose=yes ;;
1214
 
 
1215
 
  -version | --version | --versio | --versi | --vers | -V)
1216
 
    ac_init_version=: ;;
1217
 
 
1218
 
  -with-* | --with-*)
1219
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1220
 
    # Reject names that are not valid shell variable names.
1221
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1222
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1223
 
   { (exit 1); exit 1; }; }
1224
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1225
 
    eval with_$ac_package=\$ac_optarg ;;
1226
 
 
1227
 
  -without-* | --without-*)
1228
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1229
 
    # Reject names that are not valid shell variable names.
1230
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1231
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1232
 
   { (exit 1); exit 1; }; }
1233
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1234
 
    eval with_$ac_package=no ;;
1235
 
 
1236
 
  --x)
1237
 
    # Obsolete; use --with-x.
1238
 
    with_x=yes ;;
1239
 
 
1240
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1241
 
  | --x-incl | --x-inc | --x-in | --x-i)
1242
 
    ac_prev=x_includes ;;
1243
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1244
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1245
 
    x_includes=$ac_optarg ;;
1246
 
 
1247
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1248
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1249
 
    ac_prev=x_libraries ;;
1250
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1251
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1252
 
    x_libraries=$ac_optarg ;;
1253
 
 
1254
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1255
 
Try \`$0 --help' for more information." >&2
1256
 
   { (exit 1); exit 1; }; }
1257
 
    ;;
1258
 
 
1259
 
  *=*)
1260
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1261
 
    # Reject names that are not valid shell variable names.
1262
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1263
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1264
 
   { (exit 1); exit 1; }; }
1265
 
    eval $ac_envvar=\$ac_optarg
1266
 
    export $ac_envvar ;;
1267
 
 
1268
 
  *)
1269
 
    # FIXME: should be removed in autoconf 3.0.
1270
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1271
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1272
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1273
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1274
 
    ;;
1275
 
 
1276
 
  esac
1277
 
done
1278
 
 
1279
 
if test -n "$ac_prev"; then
1280
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1281
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
1282
 
   { (exit 1); exit 1; }; }
1283
 
fi
1284
 
 
1285
 
# Be sure to have absolute directory names.
1286
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1287
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1288
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1289
 
                libdir localedir mandir
1290
 
do
1291
 
  eval ac_val=\$$ac_var
1292
 
  case $ac_val in
1293
 
    [\\/$]* | ?:[\\/]* )  continue;;
1294
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1295
 
  esac
1296
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1297
 
   { (exit 1); exit 1; }; }
1298
 
done
1299
 
 
1300
 
# There might be people who depend on the old broken behavior: `$host'
1301
 
# used to hold the argument of --host etc.
1302
 
# FIXME: To remove some day.
1303
 
build=$build_alias
1304
 
host=$host_alias
1305
 
target=$target_alias
1306
 
 
1307
 
# FIXME: To remove some day.
1308
 
if test "x$host_alias" != x; then
1309
 
  if test "x$build_alias" = x; then
1310
 
    cross_compiling=maybe
1311
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1312
 
    If a cross compiler is detected then cross compile mode will be used." >&2
1313
 
  elif test "x$build_alias" != "x$host_alias"; then
1314
 
    cross_compiling=yes
1315
 
  fi
1316
 
fi
1317
 
 
1318
 
ac_tool_prefix=
1319
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1320
 
 
1321
 
test "$silent" = yes && exec 6>/dev/null
1322
 
 
1323
 
 
1324
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1325
 
ac_ls_di=`ls -di .` &&
1326
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1327
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
1328
 
   { (exit 1); exit 1; }; }
1329
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1330
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1331
 
   { (exit 1); exit 1; }; }
1332
 
 
1333
 
 
1334
 
# Find the source files, if location was not specified.
1335
 
if test -z "$srcdir"; then
1336
 
  ac_srcdir_defaulted=yes
1337
 
  # Try the directory containing this script, then the parent directory.
1338
 
  ac_confdir=`$as_dirname -- "$0" ||
1339
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1340
 
         X"$0" : 'X\(//\)[^/]' \| \
1341
 
         X"$0" : 'X\(//\)$' \| \
1342
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1343
 
echo X"$0" |
1344
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1345
 
            s//\1/
1346
 
            q
1347
 
          }
1348
 
          /^X\(\/\/\)[^/].*/{
1349
 
            s//\1/
1350
 
            q
1351
 
          }
1352
 
          /^X\(\/\/\)$/{
1353
 
            s//\1/
1354
 
            q
1355
 
          }
1356
 
          /^X\(\/\).*/{
1357
 
            s//\1/
1358
 
            q
1359
 
          }
1360
 
          s/.*/./; q'`
1361
 
  srcdir=$ac_confdir
1362
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1363
 
    srcdir=..
1364
 
  fi
1365
 
else
1366
 
  ac_srcdir_defaulted=no
1367
 
fi
1368
 
if test ! -r "$srcdir/$ac_unique_file"; then
1369
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1370
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1371
 
   { (exit 1); exit 1; }; }
1372
 
fi
1373
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1374
 
ac_abs_confdir=`(
1375
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1376
 
   { (exit 1); exit 1; }; }
1377
 
        pwd)`
1378
 
# When building in place, set srcdir=.
1379
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1380
 
  srcdir=.
1381
 
fi
1382
 
# Remove unnecessary trailing slashes from srcdir.
1383
 
# Double slashes in file names in object file debugging info
1384
 
# mess up M-x gdb in Emacs.
1385
 
case $srcdir in
1386
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1387
 
esac
1388
 
for ac_var in $ac_precious_vars; do
1389
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1390
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1391
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1392
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1393
 
done
1394
 
 
1395
 
#
1396
 
# Report the --help message.
1397
 
#
1398
 
if test "$ac_init_help" = "long"; then
1399
 
  # Omit some internal or obsolete options to make the list less imposing.
1400
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1401
 
  cat <<_ACEOF
1402
 
\`configure' configures libltdl 1.2 to adapt to many kinds of systems.
1403
 
 
1404
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1405
 
 
1406
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1407
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1408
 
 
1409
 
Defaults for the options are specified in brackets.
1410
 
 
1411
 
Configuration:
1412
 
  -h, --help              display this help and exit
1413
 
      --help=short        display options specific to this package
1414
 
      --help=recursive    display the short help of all the included packages
1415
 
  -V, --version           display version information and exit
1416
 
  -q, --quiet, --silent   do not print \`checking...' messages
1417
 
      --cache-file=FILE   cache test results in FILE [disabled]
1418
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1419
 
  -n, --no-create         do not create output files
1420
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1421
 
 
1422
 
Installation directories:
1423
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1424
 
                          [$ac_default_prefix]
1425
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1426
 
                          [PREFIX]
1427
 
 
1428
 
By default, \`make install' will install all the files in
1429
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1430
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1431
 
for instance \`--prefix=\$HOME'.
1432
 
 
1433
 
For better control, use the options below.
1434
 
 
1435
 
Fine tuning of the installation directories:
1436
 
  --bindir=DIR           user executables [EPREFIX/bin]
1437
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1438
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1439
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1440
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1441
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1442
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1443
 
  --includedir=DIR       C header files [PREFIX/include]
1444
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1445
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1446
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1447
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1448
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1449
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1450
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/libltdl]
1451
 
  --htmldir=DIR          html documentation [DOCDIR]
1452
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1453
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1454
 
  --psdir=DIR            ps documentation [DOCDIR]
1455
 
_ACEOF
1456
 
 
1457
 
  cat <<\_ACEOF
1458
 
 
1459
 
Program names:
1460
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1461
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1462
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1463
 
 
1464
 
System types:
1465
 
  --build=BUILD     configure for building on BUILD [guessed]
1466
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1467
 
_ACEOF
1468
 
fi
1469
 
 
1470
 
if test -n "$ac_init_help"; then
1471
 
  case $ac_init_help in
1472
 
     short | recursive ) echo "Configuration of libltdl 1.2:";;
1473
 
   esac
1474
 
  cat <<\_ACEOF
1475
 
 
1476
 
Optional Features:
1477
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1478
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1479
 
  --disable-dependency-tracking  speeds up one-time build
1480
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1481
 
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1482
 
  --enable-static[=PKGS]  build static libraries [default=yes]
1483
 
  --enable-fast-install[=PKGS]
1484
 
                          optimize for fast installation [default=yes]
1485
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1486
 
  --enable-ltdl-install   install libltdl
1487
 
 
1488
 
Optional Packages:
1489
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1490
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1491
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1492
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
1493
 
                          both]
1494
 
  --with-tags[=TAGS]      include additional configurations [automatic]
1495
 
 
1496
 
Some influential environment variables:
1497
 
  CC          C compiler command
1498
 
  CFLAGS      C compiler flags
1499
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1500
 
              nonstandard directory <lib dir>
1501
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1502
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1503
 
              you have headers in a nonstandard directory <include dir>
1504
 
  CPP         C preprocessor
1505
 
  CXX         C++ compiler command
1506
 
  CXXFLAGS    C++ compiler flags
1507
 
  CXXCPP      C++ preprocessor
1508
 
  F77         Fortran 77 compiler command
1509
 
  FFLAGS      Fortran 77 compiler flags
1510
 
 
1511
 
Use these variables to override the choices made by `configure' or to help
1512
 
it to find libraries and programs with nonstandard names/locations.
1513
 
 
1514
 
Report bugs to <bug-libtool@gnu.org>.
1515
 
_ACEOF
1516
 
ac_status=$?
1517
 
fi
1518
 
 
1519
 
if test "$ac_init_help" = "recursive"; then
1520
 
  # If there are subdirs, report their specific --help.
1521
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1522
 
    test -d "$ac_dir" || continue
1523
 
    ac_builddir=.
1524
 
 
1525
 
case "$ac_dir" in
1526
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1527
 
*)
1528
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1529
 
  # A ".." for each directory in $ac_dir_suffix.
1530
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1531
 
  case $ac_top_builddir_sub in
1532
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1533
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1534
 
  esac ;;
1535
 
esac
1536
 
ac_abs_top_builddir=$ac_pwd
1537
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1538
 
# for backward compatibility:
1539
 
ac_top_builddir=$ac_top_build_prefix
1540
 
 
1541
 
case $srcdir in
1542
 
  .)  # We are building in place.
1543
 
    ac_srcdir=.
1544
 
    ac_top_srcdir=$ac_top_builddir_sub
1545
 
    ac_abs_top_srcdir=$ac_pwd ;;
1546
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1547
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1548
 
    ac_top_srcdir=$srcdir
1549
 
    ac_abs_top_srcdir=$srcdir ;;
1550
 
  *) # Relative name.
1551
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1552
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1553
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1554
 
esac
1555
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1556
 
 
1557
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1558
 
    # Check for guested configure.
1559
 
    if test -f "$ac_srcdir/configure.gnu"; then
1560
 
      echo &&
1561
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1562
 
    elif test -f "$ac_srcdir/configure"; then
1563
 
      echo &&
1564
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1565
 
    else
1566
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1567
 
    fi || ac_status=$?
1568
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1569
 
  done
1570
 
fi
1571
 
 
1572
 
test -n "$ac_init_help" && exit $ac_status
1573
 
if $ac_init_version; then
1574
 
  cat <<\_ACEOF
1575
 
libltdl configure 1.2
1576
 
generated by GNU Autoconf 2.61
1577
 
 
1578
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1579
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1580
 
This configure script is free software; the Free Software Foundation
1581
 
gives unlimited permission to copy, distribute and modify it.
1582
 
_ACEOF
1583
 
  exit
1584
 
fi
1585
 
cat >config.log <<_ACEOF
1586
 
This file contains any messages produced by compilers while
1587
 
running configure, to aid debugging if configure makes a mistake.
1588
 
 
1589
 
It was created by libltdl $as_me 1.2, which was
1590
 
generated by GNU Autoconf 2.61.  Invocation command line was
1591
 
 
1592
 
  $ $0 $@
1593
 
 
1594
 
_ACEOF
1595
 
exec 5>>config.log
1596
 
{
1597
 
cat <<_ASUNAME
1598
 
## --------- ##
1599
 
## Platform. ##
1600
 
## --------- ##
1601
 
 
1602
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1603
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1604
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1605
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1606
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1607
 
 
1608
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1609
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1610
 
 
1611
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1612
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1613
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1614
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1615
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1616
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1617
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1618
 
 
1619
 
_ASUNAME
1620
 
 
1621
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1622
 
for as_dir in $PATH
1623
 
do
1624
 
  IFS=$as_save_IFS
1625
 
  test -z "$as_dir" && as_dir=.
1626
 
  echo "PATH: $as_dir"
1627
 
done
1628
 
IFS=$as_save_IFS
1629
 
 
1630
 
} >&5
1631
 
 
1632
 
cat >&5 <<_ACEOF
1633
 
 
1634
 
 
1635
 
## ----------- ##
1636
 
## Core tests. ##
1637
 
## ----------- ##
1638
 
 
1639
 
_ACEOF
1640
 
 
1641
 
 
1642
 
# Keep a trace of the command line.
1643
 
# Strip out --no-create and --no-recursion so they do not pile up.
1644
 
# Strip out --silent because we don't want to record it for future runs.
1645
 
# Also quote any args containing shell meta-characters.
1646
 
# Make two passes to allow for proper duplicate-argument suppression.
1647
 
ac_configure_args=
1648
 
ac_configure_args0=
1649
 
ac_configure_args1=
1650
 
ac_must_keep_next=false
1651
 
for ac_pass in 1 2
1652
 
do
1653
 
  for ac_arg
1654
 
  do
1655
 
    case $ac_arg in
1656
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1657
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1658
 
    | -silent | --silent | --silen | --sile | --sil)
1659
 
      continue ;;
1660
 
    *\'*)
1661
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1662
 
    esac
1663
 
    case $ac_pass in
1664
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1665
 
    2)
1666
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1667
 
      if test $ac_must_keep_next = true; then
1668
 
        ac_must_keep_next=false # Got value, back to normal.
1669
 
      else
1670
 
        case $ac_arg in
1671
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1672
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1673
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1674
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1675
 
            case "$ac_configure_args0 " in
1676
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1677
 
            esac
1678
 
            ;;
1679
 
          -* ) ac_must_keep_next=true ;;
1680
 
        esac
1681
 
      fi
1682
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
1683
 
      ;;
1684
 
    esac
1685
 
  done
1686
 
done
1687
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1688
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1689
 
 
1690
 
# When interrupted or exit'd, cleanup temporary files, and complete
1691
 
# config.log.  We remove comments because anyway the quotes in there
1692
 
# would cause problems or look ugly.
1693
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
1694
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1695
 
trap 'exit_status=$?
1696
 
  # Save into config.log some information that might help in debugging.
1697
 
  {
1698
 
    echo
1699
 
 
1700
 
    cat <<\_ASBOX
1701
 
## ---------------- ##
1702
 
## Cache variables. ##
1703
 
## ---------------- ##
1704
 
_ASBOX
1705
 
    echo
1706
 
    # The following way of writing the cache mishandles newlines in values,
1707
 
(
1708
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1709
 
    eval ac_val=\$$ac_var
1710
 
    case $ac_val in #(
1711
 
    *${as_nl}*)
1712
 
      case $ac_var in #(
1713
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1714
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1715
 
      esac
1716
 
      case $ac_var in #(
1717
 
      _ | IFS | as_nl) ;; #(
1718
 
      *) $as_unset $ac_var ;;
1719
 
      esac ;;
1720
 
    esac
1721
 
  done
1722
 
  (set) 2>&1 |
1723
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1724
 
    *${as_nl}ac_space=\ *)
1725
 
      sed -n \
1726
 
        "s/'\''/'\''\\\\'\'''\''/g;
1727
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1728
 
      ;; #(
1729
 
    *)
1730
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1731
 
      ;;
1732
 
    esac |
1733
 
    sort
1734
 
)
1735
 
    echo
1736
 
 
1737
 
    cat <<\_ASBOX
1738
 
## ----------------- ##
1739
 
## Output variables. ##
1740
 
## ----------------- ##
1741
 
_ASBOX
1742
 
    echo
1743
 
    for ac_var in $ac_subst_vars
1744
 
    do
1745
 
      eval ac_val=\$$ac_var
1746
 
      case $ac_val in
1747
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1748
 
      esac
1749
 
      echo "$ac_var='\''$ac_val'\''"
1750
 
    done | sort
1751
 
    echo
1752
 
 
1753
 
    if test -n "$ac_subst_files"; then
1754
 
      cat <<\_ASBOX
1755
 
## ------------------- ##
1756
 
## File substitutions. ##
1757
 
## ------------------- ##
1758
 
_ASBOX
1759
 
      echo
1760
 
      for ac_var in $ac_subst_files
1761
 
      do
1762
 
        eval ac_val=\$$ac_var
1763
 
        case $ac_val in
1764
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1765
 
        esac
1766
 
        echo "$ac_var='\''$ac_val'\''"
1767
 
      done | sort
1768
 
      echo
1769
 
    fi
1770
 
 
1771
 
    if test -s confdefs.h; then
1772
 
      cat <<\_ASBOX
1773
 
## ----------- ##
1774
 
## confdefs.h. ##
1775
 
## ----------- ##
1776
 
_ASBOX
1777
 
      echo
1778
 
      cat confdefs.h
1779
 
      echo
1780
 
    fi
1781
 
    test "$ac_signal" != 0 &&
1782
 
      echo "$as_me: caught signal $ac_signal"
1783
 
    echo "$as_me: exit $exit_status"
1784
 
  } >&5
1785
 
  rm -f core *.core core.conftest.* &&
1786
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1787
 
    exit $exit_status
1788
 
' 0
1789
 
for ac_signal in 1 2 13 15; do
1790
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1791
 
done
1792
 
ac_signal=0
1793
 
 
1794
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1795
 
rm -f -r conftest* confdefs.h
1796
 
 
1797
 
# Predefined preprocessor variables.
1798
 
 
1799
 
cat >>confdefs.h <<_ACEOF
1800
 
#define PACKAGE_NAME "$PACKAGE_NAME"
1801
 
_ACEOF
1802
 
 
1803
 
 
1804
 
cat >>confdefs.h <<_ACEOF
1805
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1806
 
_ACEOF
1807
 
 
1808
 
 
1809
 
cat >>confdefs.h <<_ACEOF
1810
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1811
 
_ACEOF
1812
 
 
1813
 
 
1814
 
cat >>confdefs.h <<_ACEOF
1815
 
#define PACKAGE_STRING "$PACKAGE_STRING"
1816
 
_ACEOF
1817
 
 
1818
 
 
1819
 
cat >>confdefs.h <<_ACEOF
1820
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1821
 
_ACEOF
1822
 
 
1823
 
 
1824
 
# Let the site file select an alternate cache file if it wants to.
1825
 
# Prefer explicitly selected file to automatically selected ones.
1826
 
if test -n "$CONFIG_SITE"; then
1827
 
  set x "$CONFIG_SITE"
1828
 
elif test "x$prefix" != xNONE; then
1829
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1830
 
else
1831
 
  set x "$ac_default_prefix/share/config.site" \
1832
 
        "$ac_default_prefix/etc/config.site"
1833
 
fi
1834
 
shift
1835
 
for ac_site_file
1836
 
do
1837
 
  if test -r "$ac_site_file"; then
1838
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1839
 
echo "$as_me: loading site script $ac_site_file" >&6;}
1840
 
    sed 's/^/| /' "$ac_site_file" >&5
1841
 
    . "$ac_site_file"
1842
 
  fi
1843
 
done
1844
 
 
1845
 
if test -r "$cache_file"; then
1846
 
  # Some versions of bash will fail to source /dev/null (special
1847
 
  # files actually), so we avoid doing that.
1848
 
  if test -f "$cache_file"; then
1849
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1850
 
echo "$as_me: loading cache $cache_file" >&6;}
1851
 
    case $cache_file in
1852
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1853
 
      *)                      . "./$cache_file";;
1854
 
    esac
1855
 
  fi
1856
 
else
1857
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1858
 
echo "$as_me: creating cache $cache_file" >&6;}
1859
 
  >$cache_file
1860
 
fi
1861
 
 
1862
 
# Check that the precious variables saved in the cache have kept the same
1863
 
# value.
1864
 
ac_cache_corrupted=false
1865
 
for ac_var in $ac_precious_vars; do
1866
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1867
 
  eval ac_new_set=\$ac_env_${ac_var}_set
1868
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1869
 
  eval ac_new_val=\$ac_env_${ac_var}_value
1870
 
  case $ac_old_set,$ac_new_set in
1871
 
    set,)
1872
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1873
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1874
 
      ac_cache_corrupted=: ;;
1875
 
    ,set)
1876
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1877
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1878
 
      ac_cache_corrupted=: ;;
1879
 
    ,);;
1880
 
    *)
1881
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
1882
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1883
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1884
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1885
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1886
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1887
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1888
 
        ac_cache_corrupted=:
1889
 
      fi;;
1890
 
  esac
1891
 
  # Pass precious variables to config.status.
1892
 
  if test "$ac_new_set" = set; then
1893
 
    case $ac_new_val in
1894
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1895
 
    *) ac_arg=$ac_var=$ac_new_val ;;
1896
 
    esac
1897
 
    case " $ac_configure_args " in
1898
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1899
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1900
 
    esac
1901
 
  fi
1902
 
done
1903
 
if $ac_cache_corrupted; then
1904
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1905
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1906
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1907
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1908
 
   { (exit 1); exit 1; }; }
1909
 
fi
1910
 
 
1911
 
 
1912
 
 
1913
 
 
1914
 
 
1915
 
 
1916
 
 
1917
 
 
1918
 
 
1919
 
 
1920
 
 
1921
 
 
1922
 
 
1923
 
 
1924
 
 
1925
 
 
1926
 
 
1927
 
 
1928
 
 
1929
 
 
1930
 
 
1931
 
 
1932
 
 
1933
 
 
1934
 
 
1935
 
ac_ext=c
1936
 
ac_cpp='$CPP $CPPFLAGS'
1937
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1938
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1939
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1940
 
 
1941
 
 
1942
 
 
1943
 
 
1944
 
 
1945
 
## ------------------------------- ##
1946
 
## Libltdl specific configuration. ##
1947
 
## ------------------------------- ##
1948
 
 
1949
 
ac_aux_dir=
1950
 
for ac_dir in . "$srcdir"/.; do
1951
 
  if test -f "$ac_dir/install-sh"; then
1952
 
    ac_aux_dir=$ac_dir
1953
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
1954
 
    break
1955
 
  elif test -f "$ac_dir/install.sh"; then
1956
 
    ac_aux_dir=$ac_dir
1957
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
1958
 
    break
1959
 
  elif test -f "$ac_dir/shtool"; then
1960
 
    ac_aux_dir=$ac_dir
1961
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
1962
 
    break
1963
 
  fi
1964
 
done
1965
 
if test -z "$ac_aux_dir"; then
1966
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
1967
 
echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
1968
 
   { (exit 1); exit 1; }; }
1969
 
fi
1970
 
 
1971
 
# These three variables are undocumented and unsupported,
1972
 
# and are intended to be withdrawn in a future Autoconf release.
1973
 
# They can cause serious problems if a builder's source tree is in a directory
1974
 
# whose full name contains unusual characters.
1975
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1976
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1977
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1978
 
 
1979
 
 
1980
 
 
1981
 
if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then
1982
 
  if test -f ${srcdir}/ltmain.sh; then
1983
 
    # if libltdl is libtoolized, it is assumed to be stand-alone and
1984
 
    # installed unless the command line overrides it (tested above)
1985
 
    enable_ltdl_install=yes
1986
 
  else
1987
 
    { echo "$as_me:$LINENO: WARNING: *** The top-level configure must select either" >&5
1988
 
echo "$as_me: WARNING: *** The top-level configure must select either" >&2;}
1989
 
    { echo "$as_me:$LINENO: WARNING: *** A\"\"C_LIBLTDL_INSTALLABLE or A\"\"C_LIBLTDL_CONVENIENCE." >&5
1990
 
echo "$as_me: WARNING: *** A\"\"C_LIBLTDL_INSTALLABLE or A\"\"C_LIBLTDL_CONVENIENCE." >&2;}
1991
 
    { { echo "$as_me:$LINENO: error: *** Maybe you want to --enable-ltdl-install?" >&5
1992
 
echo "$as_me: error: *** Maybe you want to --enable-ltdl-install?" >&2;}
1993
 
   { (exit 1); exit 1; }; }
1994
 
  fi
1995
 
fi
1996
 
 
1997
 
 
1998
 
## ------------------------ ##
1999
 
## Automake Initialisation. ##
2000
 
## ------------------------ ##
2001
 
am__api_version='1.10'
2002
 
 
2003
 
# Find a good install program.  We prefer a C program (faster),
2004
 
# so one script is as good as another.  But avoid the broken or
2005
 
# incompatible versions:
2006
 
# SysV /etc/install, /usr/sbin/install
2007
 
# SunOS /usr/etc/install
2008
 
# IRIX /sbin/install
2009
 
# AIX /bin/install
2010
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2011
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2012
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2013
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2014
 
# OS/2's system install, which has a completely different semantic
2015
 
# ./install, which can be erroneously created by make from ./install.sh.
2016
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2017
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2018
 
if test -z "$INSTALL"; then
2019
 
if test "${ac_cv_path_install+set}" = set; then
2020
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2021
 
else
2022
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2023
 
for as_dir in $PATH
2024
 
do
2025
 
  IFS=$as_save_IFS
2026
 
  test -z "$as_dir" && as_dir=.
2027
 
  # Account for people who put trailing slashes in PATH elements.
2028
 
case $as_dir/ in
2029
 
  ./ | .// | /cC/* | \
2030
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2031
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2032
 
  /usr/ucb/* ) ;;
2033
 
  *)
2034
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2035
 
    # Don't use installbsd from OSF since it installs stuff as root
2036
 
    # by default.
2037
 
    for ac_prog in ginstall scoinst install; do
2038
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2039
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2040
 
          if test $ac_prog = install &&
2041
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2042
 
            # AIX install.  It has an incompatible calling convention.
2043
 
            :
2044
 
          elif test $ac_prog = install &&
2045
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2046
 
            # program-specific install script used by HP pwplus--don't use.
2047
 
            :
2048
 
          else
2049
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2050
 
            break 3
2051
 
          fi
2052
 
        fi
2053
 
      done
2054
 
    done
2055
 
    ;;
2056
 
esac
2057
 
done
2058
 
IFS=$as_save_IFS
2059
 
 
2060
 
 
2061
 
fi
2062
 
  if test "${ac_cv_path_install+set}" = set; then
2063
 
    INSTALL=$ac_cv_path_install
2064
 
  else
2065
 
    # As a last resort, use the slow shell script.  Don't cache a
2066
 
    # value for INSTALL within a source directory, because that will
2067
 
    # break other packages using the cache if that directory is
2068
 
    # removed, or if the value is a relative name.
2069
 
    INSTALL=$ac_install_sh
2070
 
  fi
2071
 
fi
2072
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2073
 
echo "${ECHO_T}$INSTALL" >&6; }
2074
 
 
2075
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2076
 
# It thinks the first close brace ends the variable substitution.
2077
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2078
 
 
2079
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2080
 
 
2081
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2082
 
 
2083
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2084
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2085
 
# Just in case
2086
 
sleep 1
2087
 
echo timestamp > conftest.file
2088
 
# Do `set' in a subshell so we don't clobber the current shell's
2089
 
# arguments.  Must try -L first in case configure is actually a
2090
 
# symlink; some systems play weird games with the mod time of symlinks
2091
 
# (eg FreeBSD returns the mod time of the symlink's containing
2092
 
# directory).
2093
 
if (
2094
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2095
 
   if test "$*" = "X"; then
2096
 
      # -L didn't work.
2097
 
      set X `ls -t $srcdir/configure conftest.file`
2098
 
   fi
2099
 
   rm -f conftest.file
2100
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2101
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2102
 
 
2103
 
      # If neither matched, then we have a broken ls.  This can happen
2104
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2105
 
      # broken ls alias from the environment.  This has actually
2106
 
      # happened.  Such a system could not be considered "sane".
2107
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2108
 
alias in your environment" >&5
2109
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2110
 
alias in your environment" >&2;}
2111
 
   { (exit 1); exit 1; }; }
2112
 
   fi
2113
 
 
2114
 
   test "$2" = conftest.file
2115
 
   )
2116
 
then
2117
 
   # Ok.
2118
 
   :
2119
 
else
2120
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2121
 
Check your system clock" >&5
2122
 
echo "$as_me: error: newly created file is older than distributed files!
2123
 
Check your system clock" >&2;}
2124
 
   { (exit 1); exit 1; }; }
2125
 
fi
2126
 
{ echo "$as_me:$LINENO: result: yes" >&5
2127
 
echo "${ECHO_T}yes" >&6; }
2128
 
test "$program_prefix" != NONE &&
2129
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2130
 
# Use a double $ so make ignores it.
2131
 
test "$program_suffix" != NONE &&
2132
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2133
 
# Double any \ or $.  echo might interpret backslashes.
2134
 
# By default was `s,x,x', remove it if useless.
2135
 
cat <<\_ACEOF >conftest.sed
2136
 
s/[\\$]/&&/g;s/;s,x,x,$//
2137
 
_ACEOF
2138
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2139
 
rm -f conftest.sed
2140
 
 
2141
 
# expand $ac_aux_dir to an absolute path
2142
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2143
 
 
2144
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2145
 
# Use eval to expand $SHELL
2146
 
if eval "$MISSING --run true"; then
2147
 
  am_missing_run="$MISSING --run "
2148
 
else
2149
 
  am_missing_run=
2150
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2151
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2152
 
fi
2153
 
 
2154
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2155
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2156
 
if test -z "$MKDIR_P"; then
2157
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2158
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2159
 
else
2160
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2161
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2162
 
do
2163
 
  IFS=$as_save_IFS
2164
 
  test -z "$as_dir" && as_dir=.
2165
 
  for ac_prog in mkdir gmkdir; do
2166
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2167
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2168
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2169
 
             'mkdir (GNU coreutils) '* | \
2170
 
             'mkdir (coreutils) '* | \
2171
 
             'mkdir (fileutils) '4.1*)
2172
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2173
 
               break 3;;
2174
 
           esac
2175
 
         done
2176
 
       done
2177
 
done
2178
 
IFS=$as_save_IFS
2179
 
 
2180
 
fi
2181
 
 
2182
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2183
 
    MKDIR_P="$ac_cv_path_mkdir -p"
2184
 
  else
2185
 
    # As a last resort, use the slow shell script.  Don't cache a
2186
 
    # value for MKDIR_P within a source directory, because that will
2187
 
    # break other packages using the cache if that directory is
2188
 
    # removed, or if the value is a relative name.
2189
 
    test -d ./--version && rmdir ./--version
2190
 
    MKDIR_P="$ac_install_sh -d"
2191
 
  fi
2192
 
fi
2193
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2194
 
echo "${ECHO_T}$MKDIR_P" >&6; }
2195
 
 
2196
 
mkdir_p="$MKDIR_P"
2197
 
case $mkdir_p in
2198
 
  [\\/$]* | ?:[\\/]*) ;;
2199
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2200
 
esac
2201
 
 
2202
 
for ac_prog in gawk mawk nawk awk
2203
 
do
2204
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2205
 
set dummy $ac_prog; ac_word=$2
2206
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2207
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2208
 
if test "${ac_cv_prog_AWK+set}" = set; then
2209
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2210
 
else
2211
 
  if test -n "$AWK"; then
2212
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2213
 
else
2214
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2215
 
for as_dir in $PATH
2216
 
do
2217
 
  IFS=$as_save_IFS
2218
 
  test -z "$as_dir" && as_dir=.
2219
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2220
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2221
 
    ac_cv_prog_AWK="$ac_prog"
2222
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2223
 
    break 2
2224
 
  fi
2225
 
done
2226
 
done
2227
 
IFS=$as_save_IFS
2228
 
 
2229
 
fi
2230
 
fi
2231
 
AWK=$ac_cv_prog_AWK
2232
 
if test -n "$AWK"; then
2233
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2234
 
echo "${ECHO_T}$AWK" >&6; }
2235
 
else
2236
 
  { echo "$as_me:$LINENO: result: no" >&5
2237
 
echo "${ECHO_T}no" >&6; }
2238
 
fi
2239
 
 
2240
 
 
2241
 
  test -n "$AWK" && break
2242
 
done
2243
 
 
2244
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2245
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2246
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2247
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2248
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2249
 
else
2250
 
  cat >conftest.make <<\_ACEOF
2251
 
SHELL = /bin/sh
2252
 
all:
2253
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2254
 
_ACEOF
2255
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2256
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2257
 
  *@@@%%%=?*=@@@%%%*)
2258
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2259
 
  *)
2260
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2261
 
esac
2262
 
rm -f conftest.make
2263
 
fi
2264
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2265
 
  { echo "$as_me:$LINENO: result: yes" >&5
2266
 
echo "${ECHO_T}yes" >&6; }
2267
 
  SET_MAKE=
2268
 
else
2269
 
  { echo "$as_me:$LINENO: result: no" >&5
2270
 
echo "${ECHO_T}no" >&6; }
2271
 
  SET_MAKE="MAKE=${MAKE-make}"
2272
 
fi
2273
 
 
2274
 
rm -rf .tst 2>/dev/null
2275
 
mkdir .tst 2>/dev/null
2276
 
if test -d .tst; then
2277
 
  am__leading_dot=.
2278
 
else
2279
 
  am__leading_dot=_
2280
 
fi
2281
 
rmdir .tst 2>/dev/null
2282
 
 
2283
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2284
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2285
 
  # is not polluted with repeated "-I."
2286
 
  am__isrc=' -I$(srcdir)'
2287
 
  # test to see if srcdir already configured
2288
 
  if test -f $srcdir/config.status; then
2289
 
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2290
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2291
 
   { (exit 1); exit 1; }; }
2292
 
  fi
2293
 
fi
2294
 
 
2295
 
# test whether we have cygpath
2296
 
if test -z "$CYGPATH_W"; then
2297
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2298
 
    CYGPATH_W='cygpath -w'
2299
 
  else
2300
 
    CYGPATH_W=echo
2301
 
  fi
2302
 
fi
2303
 
 
2304
 
 
2305
 
# Define the identity of the package.
2306
 
 PACKAGE=libltdl
2307
 
 VERSION=1.2
2308
 
 
2309
 
 
2310
 
# Some tools Automake needs.
2311
 
 
2312
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2313
 
 
2314
 
 
2315
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2316
 
 
2317
 
 
2318
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2319
 
 
2320
 
 
2321
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2322
 
 
2323
 
 
2324
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2325
 
 
2326
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2327
 
 
2328
 
# Installed binaries are usually stripped using `strip' when the user
2329
 
# run `make install-strip'.  However `strip' might not be the right
2330
 
# tool to use in cross-compilation environments, therefore Automake
2331
 
# will honor the `STRIP' environment variable to overrule this program.
2332
 
if test "$cross_compiling" != no; then
2333
 
  if test -n "$ac_tool_prefix"; then
2334
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2335
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2336
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2337
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2338
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2339
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2340
 
else
2341
 
  if test -n "$STRIP"; then
2342
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2343
 
else
2344
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2345
 
for as_dir in $PATH
2346
 
do
2347
 
  IFS=$as_save_IFS
2348
 
  test -z "$as_dir" && as_dir=.
2349
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2350
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2351
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2352
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2353
 
    break 2
2354
 
  fi
2355
 
done
2356
 
done
2357
 
IFS=$as_save_IFS
2358
 
 
2359
 
fi
2360
 
fi
2361
 
STRIP=$ac_cv_prog_STRIP
2362
 
if test -n "$STRIP"; then
2363
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2364
 
echo "${ECHO_T}$STRIP" >&6; }
2365
 
else
2366
 
  { echo "$as_me:$LINENO: result: no" >&5
2367
 
echo "${ECHO_T}no" >&6; }
2368
 
fi
2369
 
 
2370
 
 
2371
 
fi
2372
 
if test -z "$ac_cv_prog_STRIP"; then
2373
 
  ac_ct_STRIP=$STRIP
2374
 
  # Extract the first word of "strip", so it can be a program name with args.
2375
 
set dummy strip; ac_word=$2
2376
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2377
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2378
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2379
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2380
 
else
2381
 
  if test -n "$ac_ct_STRIP"; then
2382
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2383
 
else
2384
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2385
 
for as_dir in $PATH
2386
 
do
2387
 
  IFS=$as_save_IFS
2388
 
  test -z "$as_dir" && as_dir=.
2389
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2390
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2391
 
    ac_cv_prog_ac_ct_STRIP="strip"
2392
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2393
 
    break 2
2394
 
  fi
2395
 
done
2396
 
done
2397
 
IFS=$as_save_IFS
2398
 
 
2399
 
fi
2400
 
fi
2401
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2402
 
if test -n "$ac_ct_STRIP"; then
2403
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2404
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2405
 
else
2406
 
  { echo "$as_me:$LINENO: result: no" >&5
2407
 
echo "${ECHO_T}no" >&6; }
2408
 
fi
2409
 
 
2410
 
  if test "x$ac_ct_STRIP" = x; then
2411
 
    STRIP=":"
2412
 
  else
2413
 
    case $cross_compiling:$ac_tool_warned in
2414
 
yes:)
2415
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2416
 
whose name does not start with the host triplet.  If you think this
2417
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2418
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2419
 
whose name does not start with the host triplet.  If you think this
2420
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2421
 
ac_tool_warned=yes ;;
2422
 
esac
2423
 
    STRIP=$ac_ct_STRIP
2424
 
  fi
2425
 
else
2426
 
  STRIP="$ac_cv_prog_STRIP"
2427
 
fi
2428
 
 
2429
 
fi
2430
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2431
 
 
2432
 
# We need awk for the "check" target.  The system "awk" is bad on
2433
 
# some platforms.
2434
 
# Always define AMTAR for backward compatibility.
2435
 
 
2436
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2437
 
 
2438
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2439
 
 
2440
 
 
2441
 
 
2442
 
 
2443
 
 
2444
 
ac_config_headers="$ac_config_headers config.h:config-h.in"
2445
 
 
2446
 
 
2447
 
 
2448
 
## ------------------ ##
2449
 
## C compiler checks. ##
2450
 
## ------------------ ##
2451
 
ac_ext=c
2452
 
ac_cpp='$CPP $CPPFLAGS'
2453
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2454
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2455
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2456
 
if test -n "$ac_tool_prefix"; then
2457
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2458
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2459
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2460
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2461
 
if test "${ac_cv_prog_CC+set}" = set; then
2462
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2463
 
else
2464
 
  if test -n "$CC"; then
2465
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2466
 
else
2467
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2468
 
for as_dir in $PATH
2469
 
do
2470
 
  IFS=$as_save_IFS
2471
 
  test -z "$as_dir" && as_dir=.
2472
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2473
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2474
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2475
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2476
 
    break 2
2477
 
  fi
2478
 
done
2479
 
done
2480
 
IFS=$as_save_IFS
2481
 
 
2482
 
fi
2483
 
fi
2484
 
CC=$ac_cv_prog_CC
2485
 
if test -n "$CC"; then
2486
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2487
 
echo "${ECHO_T}$CC" >&6; }
2488
 
else
2489
 
  { echo "$as_me:$LINENO: result: no" >&5
2490
 
echo "${ECHO_T}no" >&6; }
2491
 
fi
2492
 
 
2493
 
 
2494
 
fi
2495
 
if test -z "$ac_cv_prog_CC"; then
2496
 
  ac_ct_CC=$CC
2497
 
  # Extract the first word of "gcc", so it can be a program name with args.
2498
 
set dummy gcc; ac_word=$2
2499
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2500
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2501
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2502
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2503
 
else
2504
 
  if test -n "$ac_ct_CC"; then
2505
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2506
 
else
2507
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2508
 
for as_dir in $PATH
2509
 
do
2510
 
  IFS=$as_save_IFS
2511
 
  test -z "$as_dir" && as_dir=.
2512
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2513
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2514
 
    ac_cv_prog_ac_ct_CC="gcc"
2515
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2516
 
    break 2
2517
 
  fi
2518
 
done
2519
 
done
2520
 
IFS=$as_save_IFS
2521
 
 
2522
 
fi
2523
 
fi
2524
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2525
 
if test -n "$ac_ct_CC"; then
2526
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2527
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
2528
 
else
2529
 
  { echo "$as_me:$LINENO: result: no" >&5
2530
 
echo "${ECHO_T}no" >&6; }
2531
 
fi
2532
 
 
2533
 
  if test "x$ac_ct_CC" = x; then
2534
 
    CC=""
2535
 
  else
2536
 
    case $cross_compiling:$ac_tool_warned in
2537
 
yes:)
2538
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2539
 
whose name does not start with the host triplet.  If you think this
2540
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2541
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2542
 
whose name does not start with the host triplet.  If you think this
2543
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2544
 
ac_tool_warned=yes ;;
2545
 
esac
2546
 
    CC=$ac_ct_CC
2547
 
  fi
2548
 
else
2549
 
  CC="$ac_cv_prog_CC"
2550
 
fi
2551
 
 
2552
 
if test -z "$CC"; then
2553
 
          if test -n "$ac_tool_prefix"; then
2554
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2555
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
2556
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2557
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2558
 
if test "${ac_cv_prog_CC+set}" = set; then
2559
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2560
 
else
2561
 
  if test -n "$CC"; then
2562
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2563
 
else
2564
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2565
 
for as_dir in $PATH
2566
 
do
2567
 
  IFS=$as_save_IFS
2568
 
  test -z "$as_dir" && as_dir=.
2569
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2570
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2571
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2572
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2573
 
    break 2
2574
 
  fi
2575
 
done
2576
 
done
2577
 
IFS=$as_save_IFS
2578
 
 
2579
 
fi
2580
 
fi
2581
 
CC=$ac_cv_prog_CC
2582
 
if test -n "$CC"; then
2583
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2584
 
echo "${ECHO_T}$CC" >&6; }
2585
 
else
2586
 
  { echo "$as_me:$LINENO: result: no" >&5
2587
 
echo "${ECHO_T}no" >&6; }
2588
 
fi
2589
 
 
2590
 
 
2591
 
  fi
2592
 
fi
2593
 
if test -z "$CC"; then
2594
 
  # Extract the first word of "cc", so it can be a program name with args.
2595
 
set dummy cc; ac_word=$2
2596
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2597
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2598
 
if test "${ac_cv_prog_CC+set}" = set; then
2599
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2600
 
else
2601
 
  if test -n "$CC"; then
2602
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2603
 
else
2604
 
  ac_prog_rejected=no
2605
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2606
 
for as_dir in $PATH
2607
 
do
2608
 
  IFS=$as_save_IFS
2609
 
  test -z "$as_dir" && as_dir=.
2610
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2611
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2612
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2613
 
       ac_prog_rejected=yes
2614
 
       continue
2615
 
     fi
2616
 
    ac_cv_prog_CC="cc"
2617
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2618
 
    break 2
2619
 
  fi
2620
 
done
2621
 
done
2622
 
IFS=$as_save_IFS
2623
 
 
2624
 
if test $ac_prog_rejected = yes; then
2625
 
  # We found a bogon in the path, so make sure we never use it.
2626
 
  set dummy $ac_cv_prog_CC
2627
 
  shift
2628
 
  if test $# != 0; then
2629
 
    # We chose a different compiler from the bogus one.
2630
 
    # However, it has the same basename, so the bogon will be chosen
2631
 
    # first if we set CC to just the basename; use the full file name.
2632
 
    shift
2633
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2634
 
  fi
2635
 
fi
2636
 
fi
2637
 
fi
2638
 
CC=$ac_cv_prog_CC
2639
 
if test -n "$CC"; then
2640
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2641
 
echo "${ECHO_T}$CC" >&6; }
2642
 
else
2643
 
  { echo "$as_me:$LINENO: result: no" >&5
2644
 
echo "${ECHO_T}no" >&6; }
2645
 
fi
2646
 
 
2647
 
 
2648
 
fi
2649
 
if test -z "$CC"; then
2650
 
  if test -n "$ac_tool_prefix"; then
2651
 
  for ac_prog in cl.exe
2652
 
  do
2653
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2654
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2655
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2656
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2657
 
if test "${ac_cv_prog_CC+set}" = set; then
2658
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2659
 
else
2660
 
  if test -n "$CC"; then
2661
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2662
 
else
2663
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2664
 
for as_dir in $PATH
2665
 
do
2666
 
  IFS=$as_save_IFS
2667
 
  test -z "$as_dir" && as_dir=.
2668
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2669
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2670
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2671
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2672
 
    break 2
2673
 
  fi
2674
 
done
2675
 
done
2676
 
IFS=$as_save_IFS
2677
 
 
2678
 
fi
2679
 
fi
2680
 
CC=$ac_cv_prog_CC
2681
 
if test -n "$CC"; then
2682
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2683
 
echo "${ECHO_T}$CC" >&6; }
2684
 
else
2685
 
  { echo "$as_me:$LINENO: result: no" >&5
2686
 
echo "${ECHO_T}no" >&6; }
2687
 
fi
2688
 
 
2689
 
 
2690
 
    test -n "$CC" && break
2691
 
  done
2692
 
fi
2693
 
if test -z "$CC"; then
2694
 
  ac_ct_CC=$CC
2695
 
  for ac_prog in cl.exe
2696
 
do
2697
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2698
 
set dummy $ac_prog; ac_word=$2
2699
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2700
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2701
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2702
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2703
 
else
2704
 
  if test -n "$ac_ct_CC"; then
2705
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2706
 
else
2707
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2708
 
for as_dir in $PATH
2709
 
do
2710
 
  IFS=$as_save_IFS
2711
 
  test -z "$as_dir" && as_dir=.
2712
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2713
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2714
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
2715
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2716
 
    break 2
2717
 
  fi
2718
 
done
2719
 
done
2720
 
IFS=$as_save_IFS
2721
 
 
2722
 
fi
2723
 
fi
2724
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2725
 
if test -n "$ac_ct_CC"; then
2726
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2727
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
2728
 
else
2729
 
  { echo "$as_me:$LINENO: result: no" >&5
2730
 
echo "${ECHO_T}no" >&6; }
2731
 
fi
2732
 
 
2733
 
 
2734
 
  test -n "$ac_ct_CC" && break
2735
 
done
2736
 
 
2737
 
  if test "x$ac_ct_CC" = x; then
2738
 
    CC=""
2739
 
  else
2740
 
    case $cross_compiling:$ac_tool_warned in
2741
 
yes:)
2742
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2743
 
whose name does not start with the host triplet.  If you think this
2744
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2745
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2746
 
whose name does not start with the host triplet.  If you think this
2747
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2748
 
ac_tool_warned=yes ;;
2749
 
esac
2750
 
    CC=$ac_ct_CC
2751
 
  fi
2752
 
fi
2753
 
 
2754
 
fi
2755
 
 
2756
 
 
2757
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2758
 
See \`config.log' for more details." >&5
2759
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
2760
 
See \`config.log' for more details." >&2;}
2761
 
   { (exit 1); exit 1; }; }
2762
 
 
2763
 
# Provide some information about the compiler.
2764
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
2765
 
ac_compiler=`set X $ac_compile; echo $2`
2766
 
{ (ac_try="$ac_compiler --version >&5"
2767
 
case "(($ac_try" in
2768
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2769
 
  *) ac_try_echo=$ac_try;;
2770
 
esac
2771
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2772
 
  (eval "$ac_compiler --version >&5") 2>&5
2773
 
  ac_status=$?
2774
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2775
 
  (exit $ac_status); }
2776
 
{ (ac_try="$ac_compiler -v >&5"
2777
 
case "(($ac_try" in
2778
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2779
 
  *) ac_try_echo=$ac_try;;
2780
 
esac
2781
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2782
 
  (eval "$ac_compiler -v >&5") 2>&5
2783
 
  ac_status=$?
2784
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785
 
  (exit $ac_status); }
2786
 
{ (ac_try="$ac_compiler -V >&5"
2787
 
case "(($ac_try" in
2788
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2789
 
  *) ac_try_echo=$ac_try;;
2790
 
esac
2791
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2792
 
  (eval "$ac_compiler -V >&5") 2>&5
2793
 
  ac_status=$?
2794
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2795
 
  (exit $ac_status); }
2796
 
 
2797
 
cat >conftest.$ac_ext <<_ACEOF
2798
 
/* confdefs.h.  */
2799
 
_ACEOF
2800
 
cat confdefs.h >>conftest.$ac_ext
2801
 
cat >>conftest.$ac_ext <<_ACEOF
2802
 
/* end confdefs.h.  */
2803
 
 
2804
 
int
2805
 
main ()
2806
 
{
2807
 
 
2808
 
  ;
2809
 
  return 0;
2810
 
}
2811
 
_ACEOF
2812
 
ac_clean_files_save=$ac_clean_files
2813
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2814
 
# Try to create an executable without -o first, disregard a.out.
2815
 
# It will help us diagnose broken compilers, and finding out an intuition
2816
 
# of exeext.
2817
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2818
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2819
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2820
 
#
2821
 
# List of possible output files, starting from the most likely.
2822
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2823
 
# only as a last resort.  b.out is created by i960 compilers.
2824
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2825
 
#
2826
 
# The IRIX 6 linker writes into existing files which may not be
2827
 
# executable, retaining their permissions.  Remove them first so a
2828
 
# subsequent execution test works.
2829
 
ac_rmfiles=
2830
 
for ac_file in $ac_files
2831
 
do
2832
 
  case $ac_file in
2833
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2834
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2835
 
  esac
2836
 
done
2837
 
rm -f $ac_rmfiles
2838
 
 
2839
 
if { (ac_try="$ac_link_default"
2840
 
case "(($ac_try" in
2841
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2842
 
  *) ac_try_echo=$ac_try;;
2843
 
esac
2844
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2845
 
  (eval "$ac_link_default") 2>&5
2846
 
  ac_status=$?
2847
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2848
 
  (exit $ac_status); }; then
2849
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2850
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2851
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2852
 
# so that the user can short-circuit this test for compilers unknown to
2853
 
# Autoconf.
2854
 
for ac_file in $ac_files ''
2855
 
do
2856
 
  test -f "$ac_file" || continue
2857
 
  case $ac_file in
2858
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2859
 
        ;;
2860
 
    [ab].out )
2861
 
        # We found the default executable, but exeext='' is most
2862
 
        # certainly right.
2863
 
        break;;
2864
 
    *.* )
2865
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2866
 
        then :; else
2867
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2868
 
        fi
2869
 
        # We set ac_cv_exeext here because the later test for it is not
2870
 
        # safe: cross compilers may not add the suffix if given an `-o'
2871
 
        # argument, so we may need to know it at that point already.
2872
 
        # Even if this section looks crufty: it has the advantage of
2873
 
        # actually working.
2874
 
        break;;
2875
 
    * )
2876
 
        break;;
2877
 
  esac
2878
 
done
2879
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
2880
 
 
2881
 
else
2882
 
  ac_file=''
2883
 
fi
2884
 
 
2885
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2886
 
echo "${ECHO_T}$ac_file" >&6; }
2887
 
if test -z "$ac_file"; then
2888
 
  echo "$as_me: failed program was:" >&5
2889
 
sed 's/^/| /' conftest.$ac_ext >&5
2890
 
 
2891
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2892
 
See \`config.log' for more details." >&5
2893
 
echo "$as_me: error: C compiler cannot create executables
2894
 
See \`config.log' for more details." >&2;}
2895
 
   { (exit 77); exit 77; }; }
2896
 
fi
2897
 
 
2898
 
ac_exeext=$ac_cv_exeext
2899
 
 
2900
 
# Check that the compiler produces executables we can run.  If not, either
2901
 
# the compiler is broken, or we cross compile.
2902
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2903
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2904
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2905
 
# If not cross compiling, check that we can run a simple program.
2906
 
if test "$cross_compiling" != yes; then
2907
 
  if { ac_try='./$ac_file'
2908
 
  { (case "(($ac_try" in
2909
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2910
 
  *) ac_try_echo=$ac_try;;
2911
 
esac
2912
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2913
 
  (eval "$ac_try") 2>&5
2914
 
  ac_status=$?
2915
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916
 
  (exit $ac_status); }; }; then
2917
 
    cross_compiling=no
2918
 
  else
2919
 
    if test "$cross_compiling" = maybe; then
2920
 
        cross_compiling=yes
2921
 
    else
2922
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2923
 
If you meant to cross compile, use \`--host'.
2924
 
See \`config.log' for more details." >&5
2925
 
echo "$as_me: error: cannot run C compiled programs.
2926
 
If you meant to cross compile, use \`--host'.
2927
 
See \`config.log' for more details." >&2;}
2928
 
   { (exit 1); exit 1; }; }
2929
 
    fi
2930
 
  fi
2931
 
fi
2932
 
{ echo "$as_me:$LINENO: result: yes" >&5
2933
 
echo "${ECHO_T}yes" >&6; }
2934
 
 
2935
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2936
 
ac_clean_files=$ac_clean_files_save
2937
 
# Check that the compiler produces executables we can run.  If not, either
2938
 
# the compiler is broken, or we cross compile.
2939
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2940
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2941
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2942
 
echo "${ECHO_T}$cross_compiling" >&6; }
2943
 
 
2944
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2945
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2946
 
if { (ac_try="$ac_link"
2947
 
case "(($ac_try" in
2948
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2949
 
  *) ac_try_echo=$ac_try;;
2950
 
esac
2951
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2952
 
  (eval "$ac_link") 2>&5
2953
 
  ac_status=$?
2954
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955
 
  (exit $ac_status); }; then
2956
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2957
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2958
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
2959
 
# `rm'.
2960
 
for ac_file in conftest.exe conftest conftest.*; do
2961
 
  test -f "$ac_file" || continue
2962
 
  case $ac_file in
2963
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2964
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2965
 
          break;;
2966
 
    * ) break;;
2967
 
  esac
2968
 
done
2969
 
else
2970
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2971
 
See \`config.log' for more details." >&5
2972
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2973
 
See \`config.log' for more details." >&2;}
2974
 
   { (exit 1); exit 1; }; }
2975
 
fi
2976
 
 
2977
 
rm -f conftest$ac_cv_exeext
2978
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2979
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2980
 
 
2981
 
rm -f conftest.$ac_ext
2982
 
EXEEXT=$ac_cv_exeext
2983
 
ac_exeext=$EXEEXT
2984
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2985
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2986
 
if test "${ac_cv_objext+set}" = set; then
2987
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2988
 
else
2989
 
  cat >conftest.$ac_ext <<_ACEOF
2990
 
/* confdefs.h.  */
2991
 
_ACEOF
2992
 
cat confdefs.h >>conftest.$ac_ext
2993
 
cat >>conftest.$ac_ext <<_ACEOF
2994
 
/* end confdefs.h.  */
2995
 
 
2996
 
int
2997
 
main ()
2998
 
{
2999
 
 
3000
 
  ;
3001
 
  return 0;
3002
 
}
3003
 
_ACEOF
3004
 
rm -f conftest.o conftest.obj
3005
 
if { (ac_try="$ac_compile"
3006
 
case "(($ac_try" in
3007
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3008
 
  *) ac_try_echo=$ac_try;;
3009
 
esac
3010
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3011
 
  (eval "$ac_compile") 2>&5
3012
 
  ac_status=$?
3013
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3014
 
  (exit $ac_status); }; then
3015
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3016
 
  test -f "$ac_file" || continue;
3017
 
  case $ac_file in
3018
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3019
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3020
 
       break;;
3021
 
  esac
3022
 
done
3023
 
else
3024
 
  echo "$as_me: failed program was:" >&5
3025
 
sed 's/^/| /' conftest.$ac_ext >&5
3026
 
 
3027
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3028
 
See \`config.log' for more details." >&5
3029
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3030
 
See \`config.log' for more details." >&2;}
3031
 
   { (exit 1); exit 1; }; }
3032
 
fi
3033
 
 
3034
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3035
 
fi
3036
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3037
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
3038
 
OBJEXT=$ac_cv_objext
3039
 
ac_objext=$OBJEXT
3040
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3041
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3042
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3043
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3044
 
else
3045
 
  cat >conftest.$ac_ext <<_ACEOF
3046
 
/* confdefs.h.  */
3047
 
_ACEOF
3048
 
cat confdefs.h >>conftest.$ac_ext
3049
 
cat >>conftest.$ac_ext <<_ACEOF
3050
 
/* end confdefs.h.  */
3051
 
 
3052
 
int
3053
 
main ()
3054
 
{
3055
 
#ifndef __GNUC__
3056
 
       choke me
3057
 
#endif
3058
 
 
3059
 
  ;
3060
 
  return 0;
3061
 
}
3062
 
_ACEOF
3063
 
rm -f conftest.$ac_objext
3064
 
if { (ac_try="$ac_compile"
3065
 
case "(($ac_try" in
3066
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3067
 
  *) ac_try_echo=$ac_try;;
3068
 
esac
3069
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3070
 
  (eval "$ac_compile") 2>conftest.er1
3071
 
  ac_status=$?
3072
 
  grep -v '^ *+' conftest.er1 >conftest.err
3073
 
  rm -f conftest.er1
3074
 
  cat conftest.err >&5
3075
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076
 
  (exit $ac_status); } && {
3077
 
         test -z "$ac_c_werror_flag" ||
3078
 
         test ! -s conftest.err
3079
 
       } && test -s conftest.$ac_objext; then
3080
 
  ac_compiler_gnu=yes
3081
 
else
3082
 
  echo "$as_me: failed program was:" >&5
3083
 
sed 's/^/| /' conftest.$ac_ext >&5
3084
 
 
3085
 
        ac_compiler_gnu=no
3086
 
fi
3087
 
 
3088
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3089
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3090
 
 
3091
 
fi
3092
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3093
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3094
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
3095
 
ac_test_CFLAGS=${CFLAGS+set}
3096
 
ac_save_CFLAGS=$CFLAGS
3097
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3098
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3099
 
if test "${ac_cv_prog_cc_g+set}" = set; then
3100
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3101
 
else
3102
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3103
 
   ac_c_werror_flag=yes
3104
 
   ac_cv_prog_cc_g=no
3105
 
   CFLAGS="-g"
3106
 
   cat >conftest.$ac_ext <<_ACEOF
3107
 
/* confdefs.h.  */
3108
 
_ACEOF
3109
 
cat confdefs.h >>conftest.$ac_ext
3110
 
cat >>conftest.$ac_ext <<_ACEOF
3111
 
/* end confdefs.h.  */
3112
 
 
3113
 
int
3114
 
main ()
3115
 
{
3116
 
 
3117
 
  ;
3118
 
  return 0;
3119
 
}
3120
 
_ACEOF
3121
 
rm -f conftest.$ac_objext
3122
 
if { (ac_try="$ac_compile"
3123
 
case "(($ac_try" in
3124
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3125
 
  *) ac_try_echo=$ac_try;;
3126
 
esac
3127
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3128
 
  (eval "$ac_compile") 2>conftest.er1
3129
 
  ac_status=$?
3130
 
  grep -v '^ *+' conftest.er1 >conftest.err
3131
 
  rm -f conftest.er1
3132
 
  cat conftest.err >&5
3133
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134
 
  (exit $ac_status); } && {
3135
 
         test -z "$ac_c_werror_flag" ||
3136
 
         test ! -s conftest.err
3137
 
       } && test -s conftest.$ac_objext; then
3138
 
  ac_cv_prog_cc_g=yes
3139
 
else
3140
 
  echo "$as_me: failed program was:" >&5
3141
 
sed 's/^/| /' conftest.$ac_ext >&5
3142
 
 
3143
 
        CFLAGS=""
3144
 
      cat >conftest.$ac_ext <<_ACEOF
3145
 
/* confdefs.h.  */
3146
 
_ACEOF
3147
 
cat confdefs.h >>conftest.$ac_ext
3148
 
cat >>conftest.$ac_ext <<_ACEOF
3149
 
/* end confdefs.h.  */
3150
 
 
3151
 
int
3152
 
main ()
3153
 
{
3154
 
 
3155
 
  ;
3156
 
  return 0;
3157
 
}
3158
 
_ACEOF
3159
 
rm -f conftest.$ac_objext
3160
 
if { (ac_try="$ac_compile"
3161
 
case "(($ac_try" in
3162
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3163
 
  *) ac_try_echo=$ac_try;;
3164
 
esac
3165
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3166
 
  (eval "$ac_compile") 2>conftest.er1
3167
 
  ac_status=$?
3168
 
  grep -v '^ *+' conftest.er1 >conftest.err
3169
 
  rm -f conftest.er1
3170
 
  cat conftest.err >&5
3171
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172
 
  (exit $ac_status); } && {
3173
 
         test -z "$ac_c_werror_flag" ||
3174
 
         test ! -s conftest.err
3175
 
       } && test -s conftest.$ac_objext; then
3176
 
  :
3177
 
else
3178
 
  echo "$as_me: failed program was:" >&5
3179
 
sed 's/^/| /' conftest.$ac_ext >&5
3180
 
 
3181
 
        ac_c_werror_flag=$ac_save_c_werror_flag
3182
 
         CFLAGS="-g"
3183
 
         cat >conftest.$ac_ext <<_ACEOF
3184
 
/* confdefs.h.  */
3185
 
_ACEOF
3186
 
cat confdefs.h >>conftest.$ac_ext
3187
 
cat >>conftest.$ac_ext <<_ACEOF
3188
 
/* end confdefs.h.  */
3189
 
 
3190
 
int
3191
 
main ()
3192
 
{
3193
 
 
3194
 
  ;
3195
 
  return 0;
3196
 
}
3197
 
_ACEOF
3198
 
rm -f conftest.$ac_objext
3199
 
if { (ac_try="$ac_compile"
3200
 
case "(($ac_try" in
3201
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3202
 
  *) ac_try_echo=$ac_try;;
3203
 
esac
3204
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3205
 
  (eval "$ac_compile") 2>conftest.er1
3206
 
  ac_status=$?
3207
 
  grep -v '^ *+' conftest.er1 >conftest.err
3208
 
  rm -f conftest.er1
3209
 
  cat conftest.err >&5
3210
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3211
 
  (exit $ac_status); } && {
3212
 
         test -z "$ac_c_werror_flag" ||
3213
 
         test ! -s conftest.err
3214
 
       } && test -s conftest.$ac_objext; then
3215
 
  ac_cv_prog_cc_g=yes
3216
 
else
3217
 
  echo "$as_me: failed program was:" >&5
3218
 
sed 's/^/| /' conftest.$ac_ext >&5
3219
 
 
3220
 
 
3221
 
fi
3222
 
 
3223
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3224
 
fi
3225
 
 
3226
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3227
 
fi
3228
 
 
3229
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3230
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3231
 
fi
3232
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3233
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3234
 
if test "$ac_test_CFLAGS" = set; then
3235
 
  CFLAGS=$ac_save_CFLAGS
3236
 
elif test $ac_cv_prog_cc_g = yes; then
3237
 
  if test "$GCC" = yes; then
3238
 
    CFLAGS="-g -O2"
3239
 
  else
3240
 
    CFLAGS="-g"
3241
 
  fi
3242
 
else
3243
 
  if test "$GCC" = yes; then
3244
 
    CFLAGS="-O2"
3245
 
  else
3246
 
    CFLAGS=
3247
 
  fi
3248
 
fi
3249
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3250
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3251
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
3252
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3253
 
else
3254
 
  ac_cv_prog_cc_c89=no
3255
 
ac_save_CC=$CC
3256
 
cat >conftest.$ac_ext <<_ACEOF
3257
 
/* confdefs.h.  */
3258
 
_ACEOF
3259
 
cat confdefs.h >>conftest.$ac_ext
3260
 
cat >>conftest.$ac_ext <<_ACEOF
3261
 
/* end confdefs.h.  */
3262
 
#include <stdarg.h>
3263
 
#include <stdio.h>
3264
 
#include <sys/types.h>
3265
 
#include <sys/stat.h>
3266
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3267
 
struct buf { int x; };
3268
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3269
 
static char *e (p, i)
3270
 
     char **p;
3271
 
     int i;
3272
 
{
3273
 
  return p[i];
3274
 
}
3275
 
static char *f (char * (*g) (char **, int), char **p, ...)
3276
 
{
3277
 
  char *s;
3278
 
  va_list v;
3279
 
  va_start (v,p);
3280
 
  s = g (p, va_arg (v,int));
3281
 
  va_end (v);
3282
 
  return s;
3283
 
}
3284
 
 
3285
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3286
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3287
 
   These don't provoke an error unfortunately, instead are silently treated
3288
 
   as 'x'.  The following induces an error, until -std is added to get
3289
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3290
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3291
 
   that's true only with -std.  */
3292
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3293
 
 
3294
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3295
 
   inside strings and character constants.  */
3296
 
#define FOO(x) 'x'
3297
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3298
 
 
3299
 
int test (int i, double x);
3300
 
struct s1 {int (*f) (int a);};
3301
 
struct s2 {int (*f) (double a);};
3302
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3303
 
int argc;
3304
 
char **argv;
3305
 
int
3306
 
main ()
3307
 
{
3308
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3309
 
  ;
3310
 
  return 0;
3311
 
}
3312
 
_ACEOF
3313
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3314
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3315
 
do
3316
 
  CC="$ac_save_CC $ac_arg"
3317
 
  rm -f conftest.$ac_objext
3318
 
if { (ac_try="$ac_compile"
3319
 
case "(($ac_try" in
3320
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3321
 
  *) ac_try_echo=$ac_try;;
3322
 
esac
3323
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3324
 
  (eval "$ac_compile") 2>conftest.er1
3325
 
  ac_status=$?
3326
 
  grep -v '^ *+' conftest.er1 >conftest.err
3327
 
  rm -f conftest.er1
3328
 
  cat conftest.err >&5
3329
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330
 
  (exit $ac_status); } && {
3331
 
         test -z "$ac_c_werror_flag" ||
3332
 
         test ! -s conftest.err
3333
 
       } && test -s conftest.$ac_objext; then
3334
 
  ac_cv_prog_cc_c89=$ac_arg
3335
 
else
3336
 
  echo "$as_me: failed program was:" >&5
3337
 
sed 's/^/| /' conftest.$ac_ext >&5
3338
 
 
3339
 
 
3340
 
fi
3341
 
 
3342
 
rm -f core conftest.err conftest.$ac_objext
3343
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3344
 
done
3345
 
rm -f conftest.$ac_ext
3346
 
CC=$ac_save_CC
3347
 
 
3348
 
fi
3349
 
# AC_CACHE_VAL
3350
 
case "x$ac_cv_prog_cc_c89" in
3351
 
  x)
3352
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3353
 
echo "${ECHO_T}none needed" >&6; } ;;
3354
 
  xno)
3355
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3356
 
echo "${ECHO_T}unsupported" >&6; } ;;
3357
 
  *)
3358
 
    CC="$CC $ac_cv_prog_cc_c89"
3359
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3360
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3361
 
esac
3362
 
 
3363
 
 
3364
 
ac_ext=c
3365
 
ac_cpp='$CPP $CPPFLAGS'
3366
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3367
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3368
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3369
 
DEPDIR="${am__leading_dot}deps"
3370
 
 
3371
 
ac_config_commands="$ac_config_commands depfiles"
3372
 
 
3373
 
 
3374
 
am_make=${MAKE-make}
3375
 
cat > confinc << 'END'
3376
 
am__doit:
3377
 
        @echo done
3378
 
.PHONY: am__doit
3379
 
END
3380
 
# If we don't find an include directive, just comment out the code.
3381
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3382
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3383
 
am__include="#"
3384
 
am__quote=
3385
 
_am_result=none
3386
 
# First try GNU make style include.
3387
 
echo "include confinc" > confmf
3388
 
# We grep out `Entering directory' and `Leaving directory'
3389
 
# messages which can occur if `w' ends up in MAKEFLAGS.
3390
 
# In particular we don't look at `^make:' because GNU make might
3391
 
# be invoked under some other name (usually "gmake"), in which
3392
 
# case it prints its new name instead of `make'.
3393
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3394
 
   am__include=include
3395
 
   am__quote=
3396
 
   _am_result=GNU
3397
 
fi
3398
 
# Now try BSD make style include.
3399
 
if test "$am__include" = "#"; then
3400
 
   echo '.include "confinc"' > confmf
3401
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3402
 
      am__include=.include
3403
 
      am__quote="\""
3404
 
      _am_result=BSD
3405
 
   fi
3406
 
fi
3407
 
 
3408
 
 
3409
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3410
 
echo "${ECHO_T}$_am_result" >&6; }
3411
 
rm -f confinc confmf
3412
 
 
3413
 
# Check whether --enable-dependency-tracking was given.
3414
 
if test "${enable_dependency_tracking+set}" = set; then
3415
 
  enableval=$enable_dependency_tracking;
3416
 
fi
3417
 
 
3418
 
if test "x$enable_dependency_tracking" != xno; then
3419
 
  am_depcomp="$ac_aux_dir/depcomp"
3420
 
  AMDEPBACKSLASH='\'
3421
 
fi
3422
 
 if test "x$enable_dependency_tracking" != xno; then
3423
 
  AMDEP_TRUE=
3424
 
  AMDEP_FALSE='#'
3425
 
else
3426
 
  AMDEP_TRUE='#'
3427
 
  AMDEP_FALSE=
3428
 
fi
3429
 
 
3430
 
 
3431
 
 
3432
 
depcc="$CC"   am_compiler_list=
3433
 
 
3434
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3435
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3436
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3437
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3438
 
else
3439
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3440
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3441
 
  # making bogus files that we don't know about and never remove.  For
3442
 
  # instance it was reported that on HP-UX the gcc test will end up
3443
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3444
 
  # in D'.
3445
 
  mkdir conftest.dir
3446
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3447
 
  # using a relative directory.
3448
 
  cp "$am_depcomp" conftest.dir
3449
 
  cd conftest.dir
3450
 
  # We will build objects and dependencies in a subdirectory because
3451
 
  # it helps to detect inapplicable dependency modes.  For instance
3452
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3453
 
  # side effect of compilation, but ICC will put the dependencies in
3454
 
  # the current directory while Tru64 will put them in the object
3455
 
  # directory.
3456
 
  mkdir sub
3457
 
 
3458
 
  am_cv_CC_dependencies_compiler_type=none
3459
 
  if test "$am_compiler_list" = ""; then
3460
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3461
 
  fi
3462
 
  for depmode in $am_compiler_list; do
3463
 
    # Setup a source with many dependencies, because some compilers
3464
 
    # like to wrap large dependency lists on column 80 (with \), and
3465
 
    # we should not choose a depcomp mode which is confused by this.
3466
 
    #
3467
 
    # We need to recreate these files for each test, as the compiler may
3468
 
    # overwrite some of them when testing with obscure command lines.
3469
 
    # This happens at least with the AIX C compiler.
3470
 
    : > sub/conftest.c
3471
 
    for i in 1 2 3 4 5 6; do
3472
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3473
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3474
 
      # Solaris 8's {/usr,}/bin/sh.
3475
 
      touch sub/conftst$i.h
3476
 
    done
3477
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3478
 
 
3479
 
    case $depmode in
3480
 
    nosideeffect)
3481
 
      # after this tag, mechanisms are not by side-effect, so they'll
3482
 
      # only be used when explicitly requested
3483
 
      if test "x$enable_dependency_tracking" = xyes; then
3484
 
        continue
3485
 
      else
3486
 
        break
3487
 
      fi
3488
 
      ;;
3489
 
    none) break ;;
3490
 
    esac
3491
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3492
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3493
 
    # handle `-M -o', and we need to detect this.
3494
 
    if depmode=$depmode \
3495
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3496
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3497
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3498
 
         >/dev/null 2>conftest.err &&
3499
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3500
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3501
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3502
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3503
 
      # icc doesn't choke on unknown options, it will just issue warnings
3504
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3505
 
      # that says an option was ignored or not supported.
3506
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3507
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3508
 
      # The diagnosis changed in icc 8.0:
3509
 
      #   icc: Command line remark: option '-MP' not supported
3510
 
      if (grep 'ignoring option' conftest.err ||
3511
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3512
 
        am_cv_CC_dependencies_compiler_type=$depmode
3513
 
        break
3514
 
      fi
3515
 
    fi
3516
 
  done
3517
 
 
3518
 
  cd ..
3519
 
  rm -rf conftest.dir
3520
 
else
3521
 
  am_cv_CC_dependencies_compiler_type=none
3522
 
fi
3523
 
 
3524
 
fi
3525
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3526
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3527
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3528
 
 
3529
 
 if
3530
 
  test "x$enable_dependency_tracking" != xno \
3531
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3532
 
  am__fastdepCC_TRUE=
3533
 
  am__fastdepCC_FALSE='#'
3534
 
else
3535
 
  am__fastdepCC_TRUE='#'
3536
 
  am__fastdepCC_FALSE=
3537
 
fi
3538
 
 
3539
 
 
3540
 
 
3541
 
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3542
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
3543
 
if test "${ac_cv_c_const+set}" = set; then
3544
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3545
 
else
3546
 
  cat >conftest.$ac_ext <<_ACEOF
3547
 
/* confdefs.h.  */
3548
 
_ACEOF
3549
 
cat confdefs.h >>conftest.$ac_ext
3550
 
cat >>conftest.$ac_ext <<_ACEOF
3551
 
/* end confdefs.h.  */
3552
 
 
3553
 
int
3554
 
main ()
3555
 
{
3556
 
/* FIXME: Include the comments suggested by Paul. */
3557
 
#ifndef __cplusplus
3558
 
  /* Ultrix mips cc rejects this.  */
3559
 
  typedef int charset[2];
3560
 
  const charset cs;
3561
 
  /* SunOS 4.1.1 cc rejects this.  */
3562
 
  char const *const *pcpcc;
3563
 
  char **ppc;
3564
 
  /* NEC SVR4.0.2 mips cc rejects this.  */
3565
 
  struct point {int x, y;};
3566
 
  static struct point const zero = {0,0};
3567
 
  /* AIX XL C 1.02.0.0 rejects this.
3568
 
     It does not let you subtract one const X* pointer from another in
3569
 
     an arm of an if-expression whose if-part is not a constant
3570
 
     expression */
3571
 
  const char *g = "string";
3572
 
  pcpcc = &g + (g ? g-g : 0);
3573
 
  /* HPUX 7.0 cc rejects these. */
3574
 
  ++pcpcc;
3575
 
  ppc = (char**) pcpcc;
3576
 
  pcpcc = (char const *const *) ppc;
3577
 
  { /* SCO 3.2v4 cc rejects this.  */
3578
 
    char *t;
3579
 
    char const *s = 0 ? (char *) 0 : (char const *) 0;
3580
 
 
3581
 
    *t++ = 0;
3582
 
    if (s) return 0;
3583
 
  }
3584
 
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
3585
 
    int x[] = {25, 17};
3586
 
    const int *foo = &x[0];
3587
 
    ++foo;
3588
 
  }
3589
 
  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3590
 
    typedef const int *iptr;
3591
 
    iptr p = 0;
3592
 
    ++p;
3593
 
  }
3594
 
  { /* AIX XL C 1.02.0.0 rejects this saying
3595
 
       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3596
 
    struct s { int j; const int *ap[3]; };
3597
 
    struct s *b; b->j = 5;
3598
 
  }
3599
 
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3600
 
    const int foo = 10;
3601
 
    if (!foo) return 0;
3602
 
  }
3603
 
  return !cs[0] && !zero.x;
3604
 
#endif
3605
 
 
3606
 
  ;
3607
 
  return 0;
3608
 
}
3609
 
_ACEOF
3610
 
rm -f conftest.$ac_objext
3611
 
if { (ac_try="$ac_compile"
3612
 
case "(($ac_try" in
3613
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3614
 
  *) ac_try_echo=$ac_try;;
3615
 
esac
3616
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3617
 
  (eval "$ac_compile") 2>conftest.er1
3618
 
  ac_status=$?
3619
 
  grep -v '^ *+' conftest.er1 >conftest.err
3620
 
  rm -f conftest.er1
3621
 
  cat conftest.err >&5
3622
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3623
 
  (exit $ac_status); } && {
3624
 
         test -z "$ac_c_werror_flag" ||
3625
 
         test ! -s conftest.err
3626
 
       } && test -s conftest.$ac_objext; then
3627
 
  ac_cv_c_const=yes
3628
 
else
3629
 
  echo "$as_me: failed program was:" >&5
3630
 
sed 's/^/| /' conftest.$ac_ext >&5
3631
 
 
3632
 
        ac_cv_c_const=no
3633
 
fi
3634
 
 
3635
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3636
 
fi
3637
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3638
 
echo "${ECHO_T}$ac_cv_c_const" >&6; }
3639
 
if test $ac_cv_c_const = no; then
3640
 
 
3641
 
cat >>confdefs.h <<\_ACEOF
3642
 
#define const
3643
 
_ACEOF
3644
 
 
3645
 
fi
3646
 
 
3647
 
{ echo "$as_me:$LINENO: checking for inline" >&5
3648
 
echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
3649
 
if test "${ac_cv_c_inline+set}" = set; then
3650
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3651
 
else
3652
 
  ac_cv_c_inline=no
3653
 
for ac_kw in inline __inline__ __inline; do
3654
 
  cat >conftest.$ac_ext <<_ACEOF
3655
 
/* confdefs.h.  */
3656
 
_ACEOF
3657
 
cat confdefs.h >>conftest.$ac_ext
3658
 
cat >>conftest.$ac_ext <<_ACEOF
3659
 
/* end confdefs.h.  */
3660
 
#ifndef __cplusplus
3661
 
typedef int foo_t;
3662
 
static $ac_kw foo_t static_foo () {return 0; }
3663
 
$ac_kw foo_t foo () {return 0; }
3664
 
#endif
3665
 
 
3666
 
_ACEOF
3667
 
rm -f conftest.$ac_objext
3668
 
if { (ac_try="$ac_compile"
3669
 
case "(($ac_try" in
3670
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3671
 
  *) ac_try_echo=$ac_try;;
3672
 
esac
3673
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3674
 
  (eval "$ac_compile") 2>conftest.er1
3675
 
  ac_status=$?
3676
 
  grep -v '^ *+' conftest.er1 >conftest.err
3677
 
  rm -f conftest.er1
3678
 
  cat conftest.err >&5
3679
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3680
 
  (exit $ac_status); } && {
3681
 
         test -z "$ac_c_werror_flag" ||
3682
 
         test ! -s conftest.err
3683
 
       } && test -s conftest.$ac_objext; then
3684
 
  ac_cv_c_inline=$ac_kw
3685
 
else
3686
 
  echo "$as_me: failed program was:" >&5
3687
 
sed 's/^/| /' conftest.$ac_ext >&5
3688
 
 
3689
 
 
3690
 
fi
3691
 
 
3692
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3693
 
  test "$ac_cv_c_inline" != no && break
3694
 
done
3695
 
 
3696
 
fi
3697
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3698
 
echo "${ECHO_T}$ac_cv_c_inline" >&6; }
3699
 
 
3700
 
 
3701
 
case $ac_cv_c_inline in
3702
 
  inline | yes) ;;
3703
 
  *)
3704
 
    case $ac_cv_c_inline in
3705
 
      no) ac_val=;;
3706
 
      *) ac_val=$ac_cv_c_inline;;
3707
 
    esac
3708
 
    cat >>confdefs.h <<_ACEOF
3709
 
#ifndef __cplusplus
3710
 
#define inline $ac_val
3711
 
#endif
3712
 
_ACEOF
3713
 
    ;;
3714
 
esac
3715
 
 
3716
 
 
3717
 
 
3718
 
## ----------------------- ##
3719
 
## Libtool initialisation. ##
3720
 
## ----------------------- ##
3721
 
 
3722
 
 
3723
 
# Check whether --enable-shared was given.
3724
 
if test "${enable_shared+set}" = set; then
3725
 
  enableval=$enable_shared; p=${PACKAGE-default}
3726
 
    case $enableval in
3727
 
    yes) enable_shared=yes ;;
3728
 
    no) enable_shared=no ;;
3729
 
    *)
3730
 
      enable_shared=no
3731
 
      # Look at the argument we got.  We use all the common list separators.
3732
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3733
 
      for pkg in $enableval; do
3734
 
        IFS="$lt_save_ifs"
3735
 
        if test "X$pkg" = "X$p"; then
3736
 
          enable_shared=yes
3737
 
        fi
3738
 
      done
3739
 
      IFS="$lt_save_ifs"
3740
 
      ;;
3741
 
    esac
3742
 
else
3743
 
  enable_shared=yes
3744
 
fi
3745
 
 
3746
 
 
3747
 
# Check whether --enable-static was given.
3748
 
if test "${enable_static+set}" = set; then
3749
 
  enableval=$enable_static; p=${PACKAGE-default}
3750
 
    case $enableval in
3751
 
    yes) enable_static=yes ;;
3752
 
    no) enable_static=no ;;
3753
 
    *)
3754
 
     enable_static=no
3755
 
      # Look at the argument we got.  We use all the common list separators.
3756
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3757
 
      for pkg in $enableval; do
3758
 
        IFS="$lt_save_ifs"
3759
 
        if test "X$pkg" = "X$p"; then
3760
 
          enable_static=yes
3761
 
        fi
3762
 
      done
3763
 
      IFS="$lt_save_ifs"
3764
 
      ;;
3765
 
    esac
3766
 
else
3767
 
  enable_static=yes
3768
 
fi
3769
 
 
3770
 
 
3771
 
# Check whether --enable-fast-install was given.
3772
 
if test "${enable_fast_install+set}" = set; then
3773
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
3774
 
    case $enableval in
3775
 
    yes) enable_fast_install=yes ;;
3776
 
    no) enable_fast_install=no ;;
3777
 
    *)
3778
 
      enable_fast_install=no
3779
 
      # Look at the argument we got.  We use all the common list separators.
3780
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3781
 
      for pkg in $enableval; do
3782
 
        IFS="$lt_save_ifs"
3783
 
        if test "X$pkg" = "X$p"; then
3784
 
          enable_fast_install=yes
3785
 
        fi
3786
 
      done
3787
 
      IFS="$lt_save_ifs"
3788
 
      ;;
3789
 
    esac
3790
 
else
3791
 
  enable_fast_install=yes
3792
 
fi
3793
 
 
3794
 
 
3795
 
# Make sure we can run config.sub.
3796
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3797
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3798
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3799
 
   { (exit 1); exit 1; }; }
3800
 
 
3801
 
{ echo "$as_me:$LINENO: checking build system type" >&5
3802
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3803
 
if test "${ac_cv_build+set}" = set; then
3804
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3805
 
else
3806
 
  ac_build_alias=$build_alias
3807
 
test "x$ac_build_alias" = x &&
3808
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3809
 
test "x$ac_build_alias" = x &&
3810
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3811
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3812
 
   { (exit 1); exit 1; }; }
3813
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3814
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3815
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3816
 
   { (exit 1); exit 1; }; }
3817
 
 
3818
 
fi
3819
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3820
 
echo "${ECHO_T}$ac_cv_build" >&6; }
3821
 
case $ac_cv_build in
3822
 
*-*-*) ;;
3823
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3824
 
echo "$as_me: error: invalid value of canonical build" >&2;}
3825
 
   { (exit 1); exit 1; }; };;
3826
 
esac
3827
 
build=$ac_cv_build
3828
 
ac_save_IFS=$IFS; IFS='-'
3829
 
set x $ac_cv_build
3830
 
shift
3831
 
build_cpu=$1
3832
 
build_vendor=$2
3833
 
shift; shift
3834
 
# Remember, the first character of IFS is used to create $*,
3835
 
# except with old shells:
3836
 
build_os=$*
3837
 
IFS=$ac_save_IFS
3838
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3839
 
 
3840
 
 
3841
 
{ echo "$as_me:$LINENO: checking host system type" >&5
3842
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3843
 
if test "${ac_cv_host+set}" = set; then
3844
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3845
 
else
3846
 
  if test "x$host_alias" = x; then
3847
 
  ac_cv_host=$ac_cv_build
3848
 
else
3849
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3850
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3851
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3852
 
   { (exit 1); exit 1; }; }
3853
 
fi
3854
 
 
3855
 
fi
3856
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3857
 
echo "${ECHO_T}$ac_cv_host" >&6; }
3858
 
case $ac_cv_host in
3859
 
*-*-*) ;;
3860
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3861
 
echo "$as_me: error: invalid value of canonical host" >&2;}
3862
 
   { (exit 1); exit 1; }; };;
3863
 
esac
3864
 
host=$ac_cv_host
3865
 
ac_save_IFS=$IFS; IFS='-'
3866
 
set x $ac_cv_host
3867
 
shift
3868
 
host_cpu=$1
3869
 
host_vendor=$2
3870
 
shift; shift
3871
 
# Remember, the first character of IFS is used to create $*,
3872
 
# except with old shells:
3873
 
host_os=$*
3874
 
IFS=$ac_save_IFS
3875
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3876
 
 
3877
 
 
3878
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3879
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3880
 
if test "${lt_cv_path_SED+set}" = set; then
3881
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3882
 
else
3883
 
  # Loop through the user's path and test for sed and gsed.
3884
 
# Then use that list of sed's as ones to test for truncation.
3885
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3886
 
for as_dir in $PATH
3887
 
do
3888
 
  IFS=$as_save_IFS
3889
 
  test -z "$as_dir" && as_dir=.
3890
 
  for lt_ac_prog in sed gsed; do
3891
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3892
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3893
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3894
 
      fi
3895
 
    done
3896
 
  done
3897
 
done
3898
 
lt_ac_max=0
3899
 
lt_ac_count=0
3900
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
3901
 
# along with /bin/sed that truncates output.
3902
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3903
 
  test ! -f $lt_ac_sed && continue
3904
 
  cat /dev/null > conftest.in
3905
 
  lt_ac_count=0
3906
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3907
 
  # Check for GNU sed and select it if it is found.
3908
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3909
 
    lt_cv_path_SED=$lt_ac_sed
3910
 
    break
3911
 
  fi
3912
 
  while true; do
3913
 
    cat conftest.in conftest.in >conftest.tmp
3914
 
    mv conftest.tmp conftest.in
3915
 
    cp conftest.in conftest.nl
3916
 
    echo >>conftest.nl
3917
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3918
 
    cmp -s conftest.out conftest.nl || break
3919
 
    # 10000 chars as input seems more than enough
3920
 
    test $lt_ac_count -gt 10 && break
3921
 
    lt_ac_count=`expr $lt_ac_count + 1`
3922
 
    if test $lt_ac_count -gt $lt_ac_max; then
3923
 
      lt_ac_max=$lt_ac_count
3924
 
      lt_cv_path_SED=$lt_ac_sed
3925
 
    fi
3926
 
  done
3927
 
done
3928
 
 
3929
 
fi
3930
 
 
3931
 
SED=$lt_cv_path_SED
3932
 
{ echo "$as_me:$LINENO: result: $SED" >&5
3933
 
echo "${ECHO_T}$SED" >&6; }
3934
 
 
3935
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3936
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3937
 
if test "${ac_cv_path_GREP+set}" = set; then
3938
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3939
 
else
3940
 
  # Extract the first word of "grep ggrep" to use in msg output
3941
 
if test -z "$GREP"; then
3942
 
set dummy grep ggrep; ac_prog_name=$2
3943
 
if test "${ac_cv_path_GREP+set}" = set; then
3944
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3945
 
else
3946
 
  ac_path_GREP_found=false
3947
 
# Loop through the user's path and test for each of PROGNAME-LIST
3948
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3949
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3950
 
do
3951
 
  IFS=$as_save_IFS
3952
 
  test -z "$as_dir" && as_dir=.
3953
 
  for ac_prog in grep ggrep; do
3954
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3955
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3956
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3957
 
    # Check for GNU ac_path_GREP and select it if it is found.
3958
 
  # Check for GNU $ac_path_GREP
3959
 
case `"$ac_path_GREP" --version 2>&1` in
3960
 
*GNU*)
3961
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3962
 
*)
3963
 
  ac_count=0
3964
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3965
 
  while :
3966
 
  do
3967
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3968
 
    mv "conftest.tmp" "conftest.in"
3969
 
    cp "conftest.in" "conftest.nl"
3970
 
    echo 'GREP' >> "conftest.nl"
3971
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3972
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3973
 
    ac_count=`expr $ac_count + 1`
3974
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3975
 
      # Best one so far, save it but keep looking for a better one
3976
 
      ac_cv_path_GREP="$ac_path_GREP"
3977
 
      ac_path_GREP_max=$ac_count
3978
 
    fi
3979
 
    # 10*(2^10) chars as input seems more than enough
3980
 
    test $ac_count -gt 10 && break
3981
 
  done
3982
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3983
 
esac
3984
 
 
3985
 
 
3986
 
    $ac_path_GREP_found && break 3
3987
 
  done
3988
 
done
3989
 
 
3990
 
done
3991
 
IFS=$as_save_IFS
3992
 
 
3993
 
 
3994
 
fi
3995
 
 
3996
 
GREP="$ac_cv_path_GREP"
3997
 
if test -z "$GREP"; then
3998
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3999
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4000
 
   { (exit 1); exit 1; }; }
4001
 
fi
4002
 
 
4003
 
else
4004
 
  ac_cv_path_GREP=$GREP
4005
 
fi
4006
 
 
4007
 
 
4008
 
fi
4009
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4010
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4011
 
 GREP="$ac_cv_path_GREP"
4012
 
 
4013
 
 
4014
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
4015
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4016
 
if test "${ac_cv_path_EGREP+set}" = set; then
4017
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4018
 
else
4019
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4020
 
   then ac_cv_path_EGREP="$GREP -E"
4021
 
   else
4022
 
     # Extract the first word of "egrep" to use in msg output
4023
 
if test -z "$EGREP"; then
4024
 
set dummy egrep; ac_prog_name=$2
4025
 
if test "${ac_cv_path_EGREP+set}" = set; then
4026
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4027
 
else
4028
 
  ac_path_EGREP_found=false
4029
 
# Loop through the user's path and test for each of PROGNAME-LIST
4030
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4031
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4032
 
do
4033
 
  IFS=$as_save_IFS
4034
 
  test -z "$as_dir" && as_dir=.
4035
 
  for ac_prog in egrep; do
4036
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4037
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4038
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4039
 
    # Check for GNU ac_path_EGREP and select it if it is found.
4040
 
  # Check for GNU $ac_path_EGREP
4041
 
case `"$ac_path_EGREP" --version 2>&1` in
4042
 
*GNU*)
4043
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4044
 
*)
4045
 
  ac_count=0
4046
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4047
 
  while :
4048
 
  do
4049
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4050
 
    mv "conftest.tmp" "conftest.in"
4051
 
    cp "conftest.in" "conftest.nl"
4052
 
    echo 'EGREP' >> "conftest.nl"
4053
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4054
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4055
 
    ac_count=`expr $ac_count + 1`
4056
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4057
 
      # Best one so far, save it but keep looking for a better one
4058
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4059
 
      ac_path_EGREP_max=$ac_count
4060
 
    fi
4061
 
    # 10*(2^10) chars as input seems more than enough
4062
 
    test $ac_count -gt 10 && break
4063
 
  done
4064
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4065
 
esac
4066
 
 
4067
 
 
4068
 
    $ac_path_EGREP_found && break 3
4069
 
  done
4070
 
done
4071
 
 
4072
 
done
4073
 
IFS=$as_save_IFS
4074
 
 
4075
 
 
4076
 
fi
4077
 
 
4078
 
EGREP="$ac_cv_path_EGREP"
4079
 
if test -z "$EGREP"; then
4080
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4081
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4082
 
   { (exit 1); exit 1; }; }
4083
 
fi
4084
 
 
4085
 
else
4086
 
  ac_cv_path_EGREP=$EGREP
4087
 
fi
4088
 
 
4089
 
 
4090
 
   fi
4091
 
fi
4092
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4093
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4094
 
 EGREP="$ac_cv_path_EGREP"
4095
 
 
4096
 
 
4097
 
 
4098
 
# Check whether --with-gnu-ld was given.
4099
 
if test "${with_gnu_ld+set}" = set; then
4100
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4101
 
else
4102
 
  with_gnu_ld=no
4103
 
fi
4104
 
 
4105
 
ac_prog=ld
4106
 
if test "$GCC" = yes; then
4107
 
  # Check if gcc -print-prog-name=ld gives a path.
4108
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4109
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4110
 
  case $host in
4111
 
  *-*-mingw*)
4112
 
    # gcc leaves a trailing carriage return which upsets mingw
4113
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4114
 
  *)
4115
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4116
 
  esac
4117
 
  case $ac_prog in
4118
 
    # Accept absolute paths.
4119
 
    [\\/]* | ?:[\\/]*)
4120
 
      re_direlt='/[^/][^/]*/\.\./'
4121
 
      # Canonicalize the pathname of ld
4122
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4123
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4124
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4125
 
      done
4126
 
      test -z "$LD" && LD="$ac_prog"
4127
 
      ;;
4128
 
  "")
4129
 
    # If it fails, then pretend we aren't using GCC.
4130
 
    ac_prog=ld
4131
 
    ;;
4132
 
  *)
4133
 
    # If it is relative, then search for the first ld in PATH.
4134
 
    with_gnu_ld=unknown
4135
 
    ;;
4136
 
  esac
4137
 
elif test "$with_gnu_ld" = yes; then
4138
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
4139
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4140
 
else
4141
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4142
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4143
 
fi
4144
 
if test "${lt_cv_path_LD+set}" = set; then
4145
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4146
 
else
4147
 
  if test -z "$LD"; then
4148
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4149
 
  for ac_dir in $PATH; do
4150
 
    IFS="$lt_save_ifs"
4151
 
    test -z "$ac_dir" && ac_dir=.
4152
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4153
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
4154
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
4155
 
      # but apparently some variants of GNU ld only accept -v.
4156
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
4157
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4158
 
      *GNU* | *'with BFD'*)
4159
 
        test "$with_gnu_ld" != no && break
4160
 
        ;;
4161
 
      *)
4162
 
        test "$with_gnu_ld" != yes && break
4163
 
        ;;
4164
 
      esac
4165
 
    fi
4166
 
  done
4167
 
  IFS="$lt_save_ifs"
4168
 
else
4169
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4170
 
fi
4171
 
fi
4172
 
 
4173
 
LD="$lt_cv_path_LD"
4174
 
if test -n "$LD"; then
4175
 
  { echo "$as_me:$LINENO: result: $LD" >&5
4176
 
echo "${ECHO_T}$LD" >&6; }
4177
 
else
4178
 
  { echo "$as_me:$LINENO: result: no" >&5
4179
 
echo "${ECHO_T}no" >&6; }
4180
 
fi
4181
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4182
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4183
 
   { (exit 1); exit 1; }; }
4184
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4185
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4186
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4187
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4188
 
else
4189
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4190
 
case `$LD -v 2>&1 </dev/null` in
4191
 
*GNU* | *'with BFD'*)
4192
 
  lt_cv_prog_gnu_ld=yes
4193
 
  ;;
4194
 
*)
4195
 
  lt_cv_prog_gnu_ld=no
4196
 
  ;;
4197
 
esac
4198
 
fi
4199
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4200
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4201
 
with_gnu_ld=$lt_cv_prog_gnu_ld
4202
 
 
4203
 
 
4204
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4205
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4206
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
4207
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4208
 
else
4209
 
  lt_cv_ld_reload_flag='-r'
4210
 
fi
4211
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4212
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4213
 
reload_flag=$lt_cv_ld_reload_flag
4214
 
case $reload_flag in
4215
 
"" | " "*) ;;
4216
 
*) reload_flag=" $reload_flag" ;;
4217
 
esac
4218
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4219
 
case $host_os in
4220
 
  darwin*)
4221
 
    if test "$GCC" = yes; then
4222
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4223
 
    else
4224
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4225
 
    fi
4226
 
    ;;
4227
 
esac
4228
 
 
4229
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4230
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4231
 
if test "${lt_cv_path_NM+set}" = set; then
4232
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4233
 
else
4234
 
  if test -n "$NM"; then
4235
 
  # Let the user override the test.
4236
 
  lt_cv_path_NM="$NM"
4237
 
else
4238
 
  lt_nm_to_check="${ac_tool_prefix}nm"
4239
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4240
 
    lt_nm_to_check="$lt_nm_to_check nm"
4241
 
  fi
4242
 
  for lt_tmp_nm in $lt_nm_to_check; do
4243
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4244
 
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4245
 
      IFS="$lt_save_ifs"
4246
 
      test -z "$ac_dir" && ac_dir=.
4247
 
      tmp_nm="$ac_dir/$lt_tmp_nm"
4248
 
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4249
 
        # Check to see if the nm accepts a BSD-compat flag.
4250
 
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4251
 
        #   nm: unknown option "B" ignored
4252
 
        # Tru64's nm complains that /dev/null is an invalid object file
4253
 
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4254
 
        */dev/null* | *'Invalid file or object type'*)
4255
 
          lt_cv_path_NM="$tmp_nm -B"
4256
 
          break
4257
 
          ;;
4258
 
        *)
4259
 
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4260
 
          */dev/null*)
4261
 
            lt_cv_path_NM="$tmp_nm -p"
4262
 
            break
4263
 
            ;;
4264
 
          *)
4265
 
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4266
 
            continue # so that we can try to find one that supports BSD flags
4267
 
            ;;
4268
 
          esac
4269
 
          ;;
4270
 
        esac
4271
 
      fi
4272
 
    done
4273
 
    IFS="$lt_save_ifs"
4274
 
  done
4275
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4276
 
fi
4277
 
fi
4278
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4279
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4280
 
NM="$lt_cv_path_NM"
4281
 
 
4282
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
4283
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4284
 
LN_S=$as_ln_s
4285
 
if test "$LN_S" = "ln -s"; then
4286
 
  { echo "$as_me:$LINENO: result: yes" >&5
4287
 
echo "${ECHO_T}yes" >&6; }
4288
 
else
4289
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4290
 
echo "${ECHO_T}no, using $LN_S" >&6; }
4291
 
fi
4292
 
 
4293
 
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4294
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4295
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
4296
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4297
 
else
4298
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4299
 
lt_cv_file_magic_test_file=
4300
 
lt_cv_deplibs_check_method='unknown'
4301
 
# Need to set the preceding variable on all platforms that support
4302
 
# interlibrary dependencies.
4303
 
# 'none' -- dependencies not supported.
4304
 
# `unknown' -- same as none, but documents that we really don't know.
4305
 
# 'pass_all' -- all dependencies passed with no checks.
4306
 
# 'test_compile' -- check by making test program.
4307
 
# 'file_magic [[regex]]' -- check by looking for files in library path
4308
 
# which responds to the $file_magic_cmd with a given extended regex.
4309
 
# If you have `file' or equivalent on your system and you're not sure
4310
 
# whether `pass_all' will *always* work, you probably want this one.
4311
 
 
4312
 
case $host_os in
4313
 
aix4* | aix5*)
4314
 
  lt_cv_deplibs_check_method=pass_all
4315
 
  ;;
4316
 
 
4317
 
beos*)
4318
 
  lt_cv_deplibs_check_method=pass_all
4319
 
  ;;
4320
 
 
4321
 
bsdi[45]*)
4322
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4323
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
4324
 
  lt_cv_file_magic_test_file=/shlib/libc.so
4325
 
  ;;
4326
 
 
4327
 
cygwin*)
4328
 
  # func_win32_libid is a shell function defined in ltmain.sh
4329
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4330
 
  lt_cv_file_magic_cmd='func_win32_libid'
4331
 
  ;;
4332
 
 
4333
 
mingw* | pw32*)
4334
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
4335
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4336
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4337
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
4338
 
  ;;
4339
 
 
4340
 
darwin* | rhapsody*)
4341
 
  lt_cv_deplibs_check_method=pass_all
4342
 
  ;;
4343
 
 
4344
 
freebsd* | dragonfly*)
4345
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4346
 
    case $host_cpu in
4347
 
    i*86 )
4348
 
      # Not sure whether the presence of OpenBSD here was a mistake.
4349
 
      # Let's accept both of them until this is cleared up.
4350
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4351
 
      lt_cv_file_magic_cmd=/usr/bin/file
4352
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4353
 
      ;;
4354
 
    esac
4355
 
  else
4356
 
    lt_cv_deplibs_check_method=pass_all
4357
 
  fi
4358
 
  ;;
4359
 
 
4360
 
gnu*)
4361
 
  lt_cv_deplibs_check_method=pass_all
4362
 
  ;;
4363
 
 
4364
 
hpux10.20* | hpux11*)
4365
 
  lt_cv_file_magic_cmd=/usr/bin/file
4366
 
  case $host_cpu in
4367
 
  ia64*)
4368
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4369
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4370
 
    ;;
4371
 
  hppa*64*)
4372
 
    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]'
4373
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4374
 
    ;;
4375
 
  *)
4376
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4377
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
4378
 
    ;;
4379
 
  esac
4380
 
  ;;
4381
 
 
4382
 
interix3*)
4383
 
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4384
 
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4385
 
  ;;
4386
 
 
4387
 
irix5* | irix6* | nonstopux*)
4388
 
  case $LD in
4389
 
  *-32|*"-32 ") libmagic=32-bit;;
4390
 
  *-n32|*"-n32 ") libmagic=N32;;
4391
 
  *-64|*"-64 ") libmagic=64-bit;;
4392
 
  *) libmagic=never-match;;
4393
 
  esac
4394
 
  lt_cv_deplibs_check_method=pass_all
4395
 
  ;;
4396
 
 
4397
 
# This must be Linux ELF.
4398
 
linux* | k*bsd*-gnu)
4399
 
  lt_cv_deplibs_check_method=pass_all
4400
 
  ;;
4401
 
 
4402
 
netbsd* | netbsdelf*-gnu)
4403
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4404
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4405
 
  else
4406
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4407
 
  fi
4408
 
  ;;
4409
 
 
4410
 
newos6*)
4411
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4412
 
  lt_cv_file_magic_cmd=/usr/bin/file
4413
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4414
 
  ;;
4415
 
 
4416
 
nto-qnx*)
4417
 
  lt_cv_deplibs_check_method=unknown
4418
 
  ;;
4419
 
 
4420
 
openbsd*)
4421
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4422
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4423
 
  else
4424
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4425
 
  fi
4426
 
  ;;
4427
 
 
4428
 
osf3* | osf4* | osf5*)
4429
 
  lt_cv_deplibs_check_method=pass_all
4430
 
  ;;
4431
 
 
4432
 
solaris*)
4433
 
  lt_cv_deplibs_check_method=pass_all
4434
 
  ;;
4435
 
 
4436
 
sysv4 | sysv4.3*)
4437
 
  case $host_vendor in
4438
 
  motorola)
4439
 
    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]'
4440
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4441
 
    ;;
4442
 
  ncr)
4443
 
    lt_cv_deplibs_check_method=pass_all
4444
 
    ;;
4445
 
  sequent)
4446
 
    lt_cv_file_magic_cmd='/bin/file'
4447
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4448
 
    ;;
4449
 
  sni)
4450
 
    lt_cv_file_magic_cmd='/bin/file'
4451
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4452
 
    lt_cv_file_magic_test_file=/lib/libc.so
4453
 
    ;;
4454
 
  siemens)
4455
 
    lt_cv_deplibs_check_method=pass_all
4456
 
    ;;
4457
 
  pc)
4458
 
    lt_cv_deplibs_check_method=pass_all
4459
 
    ;;
4460
 
  esac
4461
 
  ;;
4462
 
 
4463
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4464
 
  lt_cv_deplibs_check_method=pass_all
4465
 
  ;;
4466
 
esac
4467
 
 
4468
 
fi
4469
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4470
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4471
 
file_magic_cmd=$lt_cv_file_magic_cmd
4472
 
deplibs_check_method=$lt_cv_deplibs_check_method
4473
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4474
 
 
4475
 
 
4476
 
 
4477
 
 
4478
 
# If no C compiler was specified, use CC.
4479
 
LTCC=${LTCC-"$CC"}
4480
 
 
4481
 
# If no C compiler flags were specified, use CFLAGS.
4482
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4483
 
 
4484
 
# Allow CC to be a program name with arguments.
4485
 
compiler=$CC
4486
 
 
4487
 
# Check whether --enable-libtool-lock was given.
4488
 
if test "${enable_libtool_lock+set}" = set; then
4489
 
  enableval=$enable_libtool_lock;
4490
 
fi
4491
 
 
4492
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4493
 
 
4494
 
# Some flags need to be propagated to the compiler or linker for good
4495
 
# libtool support.
4496
 
case $host in
4497
 
ia64-*-hpux*)
4498
 
  # Find out which ABI we are using.
4499
 
  echo 'int i;' > conftest.$ac_ext
4500
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4501
 
  (eval $ac_compile) 2>&5
4502
 
  ac_status=$?
4503
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4504
 
  (exit $ac_status); }; then
4505
 
    case `/usr/bin/file conftest.$ac_objext` in
4506
 
    *ELF-32*)
4507
 
      HPUX_IA64_MODE="32"
4508
 
      ;;
4509
 
    *ELF-64*)
4510
 
      HPUX_IA64_MODE="64"
4511
 
      ;;
4512
 
    esac
4513
 
  fi
4514
 
  rm -rf conftest*
4515
 
  ;;
4516
 
*-*-irix6*)
4517
 
  # Find out which ABI we are using.
4518
 
  echo '#line 4518 "configure"' > conftest.$ac_ext
4519
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4520
 
  (eval $ac_compile) 2>&5
4521
 
  ac_status=$?
4522
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523
 
  (exit $ac_status); }; then
4524
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
4525
 
    case `/usr/bin/file conftest.$ac_objext` in
4526
 
    *32-bit*)
4527
 
      LD="${LD-ld} -melf32bsmip"
4528
 
      ;;
4529
 
    *N32*)
4530
 
      LD="${LD-ld} -melf32bmipn32"
4531
 
      ;;
4532
 
    *64-bit*)
4533
 
      LD="${LD-ld} -melf64bmip"
4534
 
      ;;
4535
 
    esac
4536
 
   else
4537
 
    case `/usr/bin/file conftest.$ac_objext` in
4538
 
    *32-bit*)
4539
 
      LD="${LD-ld} -32"
4540
 
      ;;
4541
 
    *N32*)
4542
 
      LD="${LD-ld} -n32"
4543
 
      ;;
4544
 
    *64-bit*)
4545
 
      LD="${LD-ld} -64"
4546
 
      ;;
4547
 
    esac
4548
 
   fi
4549
 
  fi
4550
 
  rm -rf conftest*
4551
 
  ;;
4552
 
 
4553
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4554
 
  # Find out which ABI we are using.
4555
 
  echo 'int i;' > conftest.$ac_ext
4556
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4557
 
  (eval $ac_compile) 2>&5
4558
 
  ac_status=$?
4559
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4560
 
  (exit $ac_status); }; then
4561
 
    case `/usr/bin/file conftest.o` in
4562
 
    *32-bit*)
4563
 
      case $host in
4564
 
        x86_64-*linux*)
4565
 
          LD="${LD-ld} -m elf_i386"
4566
 
          ;;
4567
 
        ppc64-*linux*|powerpc64-*linux*)
4568
 
          LD="${LD-ld} -m elf32ppclinux"
4569
 
          ;;
4570
 
        s390x-*linux*)
4571
 
          LD="${LD-ld} -m elf_s390"
4572
 
          ;;
4573
 
        sparc64-*linux*)
4574
 
          LD="${LD-ld} -m elf32_sparc"
4575
 
          ;;
4576
 
      esac
4577
 
      ;;
4578
 
    *64-bit*)
4579
 
      case $host in
4580
 
        x86_64-*linux*)
4581
 
          LD="${LD-ld} -m elf_x86_64"
4582
 
          ;;
4583
 
        ppc*-*linux*|powerpc*-*linux*)
4584
 
          LD="${LD-ld} -m elf64ppc"
4585
 
          ;;
4586
 
        s390*-*linux*)
4587
 
          LD="${LD-ld} -m elf64_s390"
4588
 
          ;;
4589
 
        sparc*-*linux*)
4590
 
          LD="${LD-ld} -m elf64_sparc"
4591
 
          ;;
4592
 
      esac
4593
 
      ;;
4594
 
    esac
4595
 
  fi
4596
 
  rm -rf conftest*
4597
 
  ;;
4598
 
 
4599
 
*-*-sco3.2v5*)
4600
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4601
 
  SAVE_CFLAGS="$CFLAGS"
4602
 
  CFLAGS="$CFLAGS -belf"
4603
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4604
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4605
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
4606
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4607
 
else
4608
 
  ac_ext=c
4609
 
ac_cpp='$CPP $CPPFLAGS'
4610
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4611
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4612
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4613
 
 
4614
 
     cat >conftest.$ac_ext <<_ACEOF
4615
 
/* confdefs.h.  */
4616
 
_ACEOF
4617
 
cat confdefs.h >>conftest.$ac_ext
4618
 
cat >>conftest.$ac_ext <<_ACEOF
4619
 
/* end confdefs.h.  */
4620
 
 
4621
 
int
4622
 
main ()
4623
 
{
4624
 
 
4625
 
  ;
4626
 
  return 0;
4627
 
}
4628
 
_ACEOF
4629
 
rm -f conftest.$ac_objext conftest$ac_exeext
4630
 
if { (ac_try="$ac_link"
4631
 
case "(($ac_try" in
4632
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4633
 
  *) ac_try_echo=$ac_try;;
4634
 
esac
4635
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4636
 
  (eval "$ac_link") 2>conftest.er1
4637
 
  ac_status=$?
4638
 
  grep -v '^ *+' conftest.er1 >conftest.err
4639
 
  rm -f conftest.er1
4640
 
  cat conftest.err >&5
4641
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4642
 
  (exit $ac_status); } && {
4643
 
         test -z "$ac_c_werror_flag" ||
4644
 
         test ! -s conftest.err
4645
 
       } && test -s conftest$ac_exeext &&
4646
 
       $as_test_x conftest$ac_exeext; then
4647
 
  lt_cv_cc_needs_belf=yes
4648
 
else
4649
 
  echo "$as_me: failed program was:" >&5
4650
 
sed 's/^/| /' conftest.$ac_ext >&5
4651
 
 
4652
 
        lt_cv_cc_needs_belf=no
4653
 
fi
4654
 
 
4655
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4656
 
      conftest$ac_exeext conftest.$ac_ext
4657
 
     ac_ext=c
4658
 
ac_cpp='$CPP $CPPFLAGS'
4659
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4660
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4661
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4662
 
 
4663
 
fi
4664
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4665
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4666
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4667
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4668
 
    CFLAGS="$SAVE_CFLAGS"
4669
 
  fi
4670
 
  ;;
4671
 
sparc*-*solaris*)
4672
 
  # Find out which ABI we are using.
4673
 
  echo 'int i;' > conftest.$ac_ext
4674
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4675
 
  (eval $ac_compile) 2>&5
4676
 
  ac_status=$?
4677
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4678
 
  (exit $ac_status); }; then
4679
 
    case `/usr/bin/file conftest.o` in
4680
 
    *64-bit*)
4681
 
      case $lt_cv_prog_gnu_ld in
4682
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
4683
 
      *)    LD="${LD-ld} -64" ;;
4684
 
      esac
4685
 
      ;;
4686
 
    esac
4687
 
  fi
4688
 
  rm -rf conftest*
4689
 
  ;;
4690
 
 
4691
 
*-*-cygwin* | *-*-mingw* | *-*-pw32*)
4692
 
  if test -n "$ac_tool_prefix"; then
4693
 
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4694
 
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4695
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4696
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4697
 
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4698
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4699
 
else
4700
 
  if test -n "$DLLTOOL"; then
4701
 
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4702
 
else
4703
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4704
 
for as_dir in $PATH
4705
 
do
4706
 
  IFS=$as_save_IFS
4707
 
  test -z "$as_dir" && as_dir=.
4708
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4709
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4710
 
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4711
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4712
 
    break 2
4713
 
  fi
4714
 
done
4715
 
done
4716
 
IFS=$as_save_IFS
4717
 
 
4718
 
fi
4719
 
fi
4720
 
DLLTOOL=$ac_cv_prog_DLLTOOL
4721
 
if test -n "$DLLTOOL"; then
4722
 
  { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4723
 
echo "${ECHO_T}$DLLTOOL" >&6; }
4724
 
else
4725
 
  { echo "$as_me:$LINENO: result: no" >&5
4726
 
echo "${ECHO_T}no" >&6; }
4727
 
fi
4728
 
 
4729
 
 
4730
 
fi
4731
 
if test -z "$ac_cv_prog_DLLTOOL"; then
4732
 
  ac_ct_DLLTOOL=$DLLTOOL
4733
 
  # Extract the first word of "dlltool", so it can be a program name with args.
4734
 
set dummy dlltool; ac_word=$2
4735
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4736
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4737
 
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4738
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4739
 
else
4740
 
  if test -n "$ac_ct_DLLTOOL"; then
4741
 
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4742
 
else
4743
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4744
 
for as_dir in $PATH
4745
 
do
4746
 
  IFS=$as_save_IFS
4747
 
  test -z "$as_dir" && as_dir=.
4748
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4749
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4750
 
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4751
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4752
 
    break 2
4753
 
  fi
4754
 
done
4755
 
done
4756
 
IFS=$as_save_IFS
4757
 
 
4758
 
fi
4759
 
fi
4760
 
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4761
 
if test -n "$ac_ct_DLLTOOL"; then
4762
 
  { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4763
 
echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
4764
 
else
4765
 
  { echo "$as_me:$LINENO: result: no" >&5
4766
 
echo "${ECHO_T}no" >&6; }
4767
 
fi
4768
 
 
4769
 
  if test "x$ac_ct_DLLTOOL" = x; then
4770
 
    DLLTOOL="false"
4771
 
  else
4772
 
    case $cross_compiling:$ac_tool_warned in
4773
 
yes:)
4774
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4775
 
whose name does not start with the host triplet.  If you think this
4776
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4777
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4778
 
whose name does not start with the host triplet.  If you think this
4779
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4780
 
ac_tool_warned=yes ;;
4781
 
esac
4782
 
    DLLTOOL=$ac_ct_DLLTOOL
4783
 
  fi
4784
 
else
4785
 
  DLLTOOL="$ac_cv_prog_DLLTOOL"
4786
 
fi
4787
 
 
4788
 
  if test -n "$ac_tool_prefix"; then
4789
 
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4790
 
set dummy ${ac_tool_prefix}as; ac_word=$2
4791
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4792
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4793
 
if test "${ac_cv_prog_AS+set}" = set; then
4794
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4795
 
else
4796
 
  if test -n "$AS"; then
4797
 
  ac_cv_prog_AS="$AS" # Let the user override the test.
4798
 
else
4799
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4800
 
for as_dir in $PATH
4801
 
do
4802
 
  IFS=$as_save_IFS
4803
 
  test -z "$as_dir" && as_dir=.
4804
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4805
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4806
 
    ac_cv_prog_AS="${ac_tool_prefix}as"
4807
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4808
 
    break 2
4809
 
  fi
4810
 
done
4811
 
done
4812
 
IFS=$as_save_IFS
4813
 
 
4814
 
fi
4815
 
fi
4816
 
AS=$ac_cv_prog_AS
4817
 
if test -n "$AS"; then
4818
 
  { echo "$as_me:$LINENO: result: $AS" >&5
4819
 
echo "${ECHO_T}$AS" >&6; }
4820
 
else
4821
 
  { echo "$as_me:$LINENO: result: no" >&5
4822
 
echo "${ECHO_T}no" >&6; }
4823
 
fi
4824
 
 
4825
 
 
4826
 
fi
4827
 
if test -z "$ac_cv_prog_AS"; then
4828
 
  ac_ct_AS=$AS
4829
 
  # Extract the first word of "as", so it can be a program name with args.
4830
 
set dummy as; ac_word=$2
4831
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4832
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4833
 
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4834
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4835
 
else
4836
 
  if test -n "$ac_ct_AS"; then
4837
 
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4838
 
else
4839
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4840
 
for as_dir in $PATH
4841
 
do
4842
 
  IFS=$as_save_IFS
4843
 
  test -z "$as_dir" && as_dir=.
4844
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4845
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4846
 
    ac_cv_prog_ac_ct_AS="as"
4847
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4848
 
    break 2
4849
 
  fi
4850
 
done
4851
 
done
4852
 
IFS=$as_save_IFS
4853
 
 
4854
 
fi
4855
 
fi
4856
 
ac_ct_AS=$ac_cv_prog_ac_ct_AS
4857
 
if test -n "$ac_ct_AS"; then
4858
 
  { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4859
 
echo "${ECHO_T}$ac_ct_AS" >&6; }
4860
 
else
4861
 
  { echo "$as_me:$LINENO: result: no" >&5
4862
 
echo "${ECHO_T}no" >&6; }
4863
 
fi
4864
 
 
4865
 
  if test "x$ac_ct_AS" = x; then
4866
 
    AS="false"
4867
 
  else
4868
 
    case $cross_compiling:$ac_tool_warned in
4869
 
yes:)
4870
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4871
 
whose name does not start with the host triplet.  If you think this
4872
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4873
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4874
 
whose name does not start with the host triplet.  If you think this
4875
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4876
 
ac_tool_warned=yes ;;
4877
 
esac
4878
 
    AS=$ac_ct_AS
4879
 
  fi
4880
 
else
4881
 
  AS="$ac_cv_prog_AS"
4882
 
fi
4883
 
 
4884
 
  if test -n "$ac_tool_prefix"; then
4885
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4886
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4887
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4888
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4889
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4890
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4891
 
else
4892
 
  if test -n "$OBJDUMP"; then
4893
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4894
 
else
4895
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4896
 
for as_dir in $PATH
4897
 
do
4898
 
  IFS=$as_save_IFS
4899
 
  test -z "$as_dir" && as_dir=.
4900
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4901
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4902
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4903
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4904
 
    break 2
4905
 
  fi
4906
 
done
4907
 
done
4908
 
IFS=$as_save_IFS
4909
 
 
4910
 
fi
4911
 
fi
4912
 
OBJDUMP=$ac_cv_prog_OBJDUMP
4913
 
if test -n "$OBJDUMP"; then
4914
 
  { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4915
 
echo "${ECHO_T}$OBJDUMP" >&6; }
4916
 
else
4917
 
  { echo "$as_me:$LINENO: result: no" >&5
4918
 
echo "${ECHO_T}no" >&6; }
4919
 
fi
4920
 
 
4921
 
 
4922
 
fi
4923
 
if test -z "$ac_cv_prog_OBJDUMP"; then
4924
 
  ac_ct_OBJDUMP=$OBJDUMP
4925
 
  # Extract the first word of "objdump", so it can be a program name with args.
4926
 
set dummy objdump; ac_word=$2
4927
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4928
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4929
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4930
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4931
 
else
4932
 
  if test -n "$ac_ct_OBJDUMP"; then
4933
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4934
 
else
4935
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4936
 
for as_dir in $PATH
4937
 
do
4938
 
  IFS=$as_save_IFS
4939
 
  test -z "$as_dir" && as_dir=.
4940
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4941
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4942
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4943
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4944
 
    break 2
4945
 
  fi
4946
 
done
4947
 
done
4948
 
IFS=$as_save_IFS
4949
 
 
4950
 
fi
4951
 
fi
4952
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4953
 
if test -n "$ac_ct_OBJDUMP"; then
4954
 
  { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4955
 
echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
4956
 
else
4957
 
  { echo "$as_me:$LINENO: result: no" >&5
4958
 
echo "${ECHO_T}no" >&6; }
4959
 
fi
4960
 
 
4961
 
  if test "x$ac_ct_OBJDUMP" = x; then
4962
 
    OBJDUMP="false"
4963
 
  else
4964
 
    case $cross_compiling:$ac_tool_warned in
4965
 
yes:)
4966
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4967
 
whose name does not start with the host triplet.  If you think this
4968
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4969
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4970
 
whose name does not start with the host triplet.  If you think this
4971
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4972
 
ac_tool_warned=yes ;;
4973
 
esac
4974
 
    OBJDUMP=$ac_ct_OBJDUMP
4975
 
  fi
4976
 
else
4977
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
4978
 
fi
4979
 
 
4980
 
  ;;
4981
 
 
4982
 
esac
4983
 
 
4984
 
need_locks="$enable_libtool_lock"
4985
 
 
4986
 
 
4987
 
ac_ext=c
4988
 
ac_cpp='$CPP $CPPFLAGS'
4989
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4990
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4991
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4992
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4993
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4994
 
# On Suns, sometimes $CPP names a directory.
4995
 
if test -n "$CPP" && test -d "$CPP"; then
4996
 
  CPP=
4997
 
fi
4998
 
if test -z "$CPP"; then
4999
 
  if test "${ac_cv_prog_CPP+set}" = set; then
5000
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5001
 
else
5002
 
      # Double quotes because CPP needs to be expanded
5003
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5004
 
    do
5005
 
      ac_preproc_ok=false
5006
 
for ac_c_preproc_warn_flag in '' yes
5007
 
do
5008
 
  # Use a header file that comes with gcc, so configuring glibc
5009
 
  # with a fresh cross-compiler works.
5010
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5011
 
  # <limits.h> exists even on freestanding compilers.
5012
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5013
 
  # not just through cpp. "Syntax error" is here to catch this case.
5014
 
  cat >conftest.$ac_ext <<_ACEOF
5015
 
/* confdefs.h.  */
5016
 
_ACEOF
5017
 
cat confdefs.h >>conftest.$ac_ext
5018
 
cat >>conftest.$ac_ext <<_ACEOF
5019
 
/* end confdefs.h.  */
5020
 
#ifdef __STDC__
5021
 
# include <limits.h>
5022
 
#else
5023
 
# include <assert.h>
5024
 
#endif
5025
 
                     Syntax error
5026
 
_ACEOF
5027
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5028
 
case "(($ac_try" in
5029
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5030
 
  *) ac_try_echo=$ac_try;;
5031
 
esac
5032
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5033
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5034
 
  ac_status=$?
5035
 
  grep -v '^ *+' conftest.er1 >conftest.err
5036
 
  rm -f conftest.er1
5037
 
  cat conftest.err >&5
5038
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5039
 
  (exit $ac_status); } >/dev/null && {
5040
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5041
 
         test ! -s conftest.err
5042
 
       }; then
5043
 
  :
5044
 
else
5045
 
  echo "$as_me: failed program was:" >&5
5046
 
sed 's/^/| /' conftest.$ac_ext >&5
5047
 
 
5048
 
  # Broken: fails on valid input.
5049
 
continue
5050
 
fi
5051
 
 
5052
 
rm -f conftest.err conftest.$ac_ext
5053
 
 
5054
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5055
 
  # can be detected and how.
5056
 
  cat >conftest.$ac_ext <<_ACEOF
5057
 
/* confdefs.h.  */
5058
 
_ACEOF
5059
 
cat confdefs.h >>conftest.$ac_ext
5060
 
cat >>conftest.$ac_ext <<_ACEOF
5061
 
/* end confdefs.h.  */
5062
 
#include <ac_nonexistent.h>
5063
 
_ACEOF
5064
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5065
 
case "(($ac_try" in
5066
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5067
 
  *) ac_try_echo=$ac_try;;
5068
 
esac
5069
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5070
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5071
 
  ac_status=$?
5072
 
  grep -v '^ *+' conftest.er1 >conftest.err
5073
 
  rm -f conftest.er1
5074
 
  cat conftest.err >&5
5075
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5076
 
  (exit $ac_status); } >/dev/null && {
5077
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5078
 
         test ! -s conftest.err
5079
 
       }; then
5080
 
  # Broken: success on invalid input.
5081
 
continue
5082
 
else
5083
 
  echo "$as_me: failed program was:" >&5
5084
 
sed 's/^/| /' conftest.$ac_ext >&5
5085
 
 
5086
 
  # Passes both tests.
5087
 
ac_preproc_ok=:
5088
 
break
5089
 
fi
5090
 
 
5091
 
rm -f conftest.err conftest.$ac_ext
5092
 
 
5093
 
done
5094
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5095
 
rm -f conftest.err conftest.$ac_ext
5096
 
if $ac_preproc_ok; then
5097
 
  break
5098
 
fi
5099
 
 
5100
 
    done
5101
 
    ac_cv_prog_CPP=$CPP
5102
 
 
5103
 
fi
5104
 
  CPP=$ac_cv_prog_CPP
5105
 
else
5106
 
  ac_cv_prog_CPP=$CPP
5107
 
fi
5108
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
5109
 
echo "${ECHO_T}$CPP" >&6; }
5110
 
ac_preproc_ok=false
5111
 
for ac_c_preproc_warn_flag in '' yes
5112
 
do
5113
 
  # Use a header file that comes with gcc, so configuring glibc
5114
 
  # with a fresh cross-compiler works.
5115
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5116
 
  # <limits.h> exists even on freestanding compilers.
5117
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5118
 
  # not just through cpp. "Syntax error" is here to catch this case.
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
 
#ifdef __STDC__
5126
 
# include <limits.h>
5127
 
#else
5128
 
# include <assert.h>
5129
 
#endif
5130
 
                     Syntax error
5131
 
_ACEOF
5132
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5133
 
case "(($ac_try" in
5134
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5135
 
  *) ac_try_echo=$ac_try;;
5136
 
esac
5137
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5138
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5139
 
  ac_status=$?
5140
 
  grep -v '^ *+' conftest.er1 >conftest.err
5141
 
  rm -f conftest.er1
5142
 
  cat conftest.err >&5
5143
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5144
 
  (exit $ac_status); } >/dev/null && {
5145
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5146
 
         test ! -s conftest.err
5147
 
       }; then
5148
 
  :
5149
 
else
5150
 
  echo "$as_me: failed program was:" >&5
5151
 
sed 's/^/| /' conftest.$ac_ext >&5
5152
 
 
5153
 
  # Broken: fails on valid input.
5154
 
continue
5155
 
fi
5156
 
 
5157
 
rm -f conftest.err conftest.$ac_ext
5158
 
 
5159
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5160
 
  # can be detected and how.
5161
 
  cat >conftest.$ac_ext <<_ACEOF
5162
 
/* confdefs.h.  */
5163
 
_ACEOF
5164
 
cat confdefs.h >>conftest.$ac_ext
5165
 
cat >>conftest.$ac_ext <<_ACEOF
5166
 
/* end confdefs.h.  */
5167
 
#include <ac_nonexistent.h>
5168
 
_ACEOF
5169
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5170
 
case "(($ac_try" in
5171
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5172
 
  *) ac_try_echo=$ac_try;;
5173
 
esac
5174
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5175
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5176
 
  ac_status=$?
5177
 
  grep -v '^ *+' conftest.er1 >conftest.err
5178
 
  rm -f conftest.er1
5179
 
  cat conftest.err >&5
5180
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5181
 
  (exit $ac_status); } >/dev/null && {
5182
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5183
 
         test ! -s conftest.err
5184
 
       }; then
5185
 
  # Broken: success on invalid input.
5186
 
continue
5187
 
else
5188
 
  echo "$as_me: failed program was:" >&5
5189
 
sed 's/^/| /' conftest.$ac_ext >&5
5190
 
 
5191
 
  # Passes both tests.
5192
 
ac_preproc_ok=:
5193
 
break
5194
 
fi
5195
 
 
5196
 
rm -f conftest.err conftest.$ac_ext
5197
 
 
5198
 
done
5199
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5200
 
rm -f conftest.err conftest.$ac_ext
5201
 
if $ac_preproc_ok; then
5202
 
  :
5203
 
else
5204
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5205
 
See \`config.log' for more details." >&5
5206
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5207
 
See \`config.log' for more details." >&2;}
5208
 
   { (exit 1); exit 1; }; }
5209
 
fi
5210
 
 
5211
 
ac_ext=c
5212
 
ac_cpp='$CPP $CPPFLAGS'
5213
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5214
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5215
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5216
 
 
5217
 
 
5218
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5219
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5220
 
if test "${ac_cv_header_stdc+set}" = set; then
5221
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5222
 
else
5223
 
  cat >conftest.$ac_ext <<_ACEOF
5224
 
/* confdefs.h.  */
5225
 
_ACEOF
5226
 
cat confdefs.h >>conftest.$ac_ext
5227
 
cat >>conftest.$ac_ext <<_ACEOF
5228
 
/* end confdefs.h.  */
5229
 
#include <stdlib.h>
5230
 
#include <stdarg.h>
5231
 
#include <string.h>
5232
 
#include <float.h>
5233
 
 
5234
 
int
5235
 
main ()
5236
 
{
5237
 
 
5238
 
  ;
5239
 
  return 0;
5240
 
}
5241
 
_ACEOF
5242
 
rm -f conftest.$ac_objext
5243
 
if { (ac_try="$ac_compile"
5244
 
case "(($ac_try" in
5245
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5246
 
  *) ac_try_echo=$ac_try;;
5247
 
esac
5248
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5249
 
  (eval "$ac_compile") 2>conftest.er1
5250
 
  ac_status=$?
5251
 
  grep -v '^ *+' conftest.er1 >conftest.err
5252
 
  rm -f conftest.er1
5253
 
  cat conftest.err >&5
5254
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5255
 
  (exit $ac_status); } && {
5256
 
         test -z "$ac_c_werror_flag" ||
5257
 
         test ! -s conftest.err
5258
 
       } && test -s conftest.$ac_objext; then
5259
 
  ac_cv_header_stdc=yes
5260
 
else
5261
 
  echo "$as_me: failed program was:" >&5
5262
 
sed 's/^/| /' conftest.$ac_ext >&5
5263
 
 
5264
 
        ac_cv_header_stdc=no
5265
 
fi
5266
 
 
5267
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5268
 
 
5269
 
if test $ac_cv_header_stdc = yes; then
5270
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5271
 
  cat >conftest.$ac_ext <<_ACEOF
5272
 
/* confdefs.h.  */
5273
 
_ACEOF
5274
 
cat confdefs.h >>conftest.$ac_ext
5275
 
cat >>conftest.$ac_ext <<_ACEOF
5276
 
/* end confdefs.h.  */
5277
 
#include <string.h>
5278
 
 
5279
 
_ACEOF
5280
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5281
 
  $EGREP "memchr" >/dev/null 2>&1; then
5282
 
  :
5283
 
else
5284
 
  ac_cv_header_stdc=no
5285
 
fi
5286
 
rm -f conftest*
5287
 
 
5288
 
fi
5289
 
 
5290
 
if test $ac_cv_header_stdc = yes; then
5291
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5292
 
  cat >conftest.$ac_ext <<_ACEOF
5293
 
/* confdefs.h.  */
5294
 
_ACEOF
5295
 
cat confdefs.h >>conftest.$ac_ext
5296
 
cat >>conftest.$ac_ext <<_ACEOF
5297
 
/* end confdefs.h.  */
5298
 
#include <stdlib.h>
5299
 
 
5300
 
_ACEOF
5301
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5302
 
  $EGREP "free" >/dev/null 2>&1; then
5303
 
  :
5304
 
else
5305
 
  ac_cv_header_stdc=no
5306
 
fi
5307
 
rm -f conftest*
5308
 
 
5309
 
fi
5310
 
 
5311
 
if test $ac_cv_header_stdc = yes; then
5312
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5313
 
  if test "$cross_compiling" = yes; then
5314
 
  :
5315
 
else
5316
 
  cat >conftest.$ac_ext <<_ACEOF
5317
 
/* confdefs.h.  */
5318
 
_ACEOF
5319
 
cat confdefs.h >>conftest.$ac_ext
5320
 
cat >>conftest.$ac_ext <<_ACEOF
5321
 
/* end confdefs.h.  */
5322
 
#include <ctype.h>
5323
 
#include <stdlib.h>
5324
 
#if ((' ' & 0x0FF) == 0x020)
5325
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5326
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5327
 
#else
5328
 
# define ISLOWER(c) \
5329
 
                   (('a' <= (c) && (c) <= 'i') \
5330
 
                     || ('j' <= (c) && (c) <= 'r') \
5331
 
                     || ('s' <= (c) && (c) <= 'z'))
5332
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5333
 
#endif
5334
 
 
5335
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5336
 
int
5337
 
main ()
5338
 
{
5339
 
  int i;
5340
 
  for (i = 0; i < 256; i++)
5341
 
    if (XOR (islower (i), ISLOWER (i))
5342
 
        || toupper (i) != TOUPPER (i))
5343
 
      return 2;
5344
 
  return 0;
5345
 
}
5346
 
_ACEOF
5347
 
rm -f conftest$ac_exeext
5348
 
if { (ac_try="$ac_link"
5349
 
case "(($ac_try" in
5350
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5351
 
  *) ac_try_echo=$ac_try;;
5352
 
esac
5353
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5354
 
  (eval "$ac_link") 2>&5
5355
 
  ac_status=$?
5356
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5357
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5358
 
  { (case "(($ac_try" in
5359
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5360
 
  *) ac_try_echo=$ac_try;;
5361
 
esac
5362
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5363
 
  (eval "$ac_try") 2>&5
5364
 
  ac_status=$?
5365
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5366
 
  (exit $ac_status); }; }; then
5367
 
  :
5368
 
else
5369
 
  echo "$as_me: program exited with status $ac_status" >&5
5370
 
echo "$as_me: failed program was:" >&5
5371
 
sed 's/^/| /' conftest.$ac_ext >&5
5372
 
 
5373
 
( exit $ac_status )
5374
 
ac_cv_header_stdc=no
5375
 
fi
5376
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5377
 
fi
5378
 
 
5379
 
 
5380
 
fi
5381
 
fi
5382
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5383
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5384
 
if test $ac_cv_header_stdc = yes; then
5385
 
 
5386
 
cat >>confdefs.h <<\_ACEOF
5387
 
#define STDC_HEADERS 1
5388
 
_ACEOF
5389
 
 
5390
 
fi
5391
 
 
5392
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5393
 
 
5394
 
 
5395
 
 
5396
 
 
5397
 
 
5398
 
 
5399
 
 
5400
 
 
5401
 
 
5402
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5403
 
                  inttypes.h stdint.h unistd.h
5404
 
do
5405
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5406
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5407
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5408
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5409
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5410
 
else
5411
 
  cat >conftest.$ac_ext <<_ACEOF
5412
 
/* confdefs.h.  */
5413
 
_ACEOF
5414
 
cat confdefs.h >>conftest.$ac_ext
5415
 
cat >>conftest.$ac_ext <<_ACEOF
5416
 
/* end confdefs.h.  */
5417
 
$ac_includes_default
5418
 
 
5419
 
#include <$ac_header>
5420
 
_ACEOF
5421
 
rm -f conftest.$ac_objext
5422
 
if { (ac_try="$ac_compile"
5423
 
case "(($ac_try" in
5424
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5425
 
  *) ac_try_echo=$ac_try;;
5426
 
esac
5427
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5428
 
  (eval "$ac_compile") 2>conftest.er1
5429
 
  ac_status=$?
5430
 
  grep -v '^ *+' conftest.er1 >conftest.err
5431
 
  rm -f conftest.er1
5432
 
  cat conftest.err >&5
5433
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5434
 
  (exit $ac_status); } && {
5435
 
         test -z "$ac_c_werror_flag" ||
5436
 
         test ! -s conftest.err
5437
 
       } && test -s conftest.$ac_objext; then
5438
 
  eval "$as_ac_Header=yes"
5439
 
else
5440
 
  echo "$as_me: failed program was:" >&5
5441
 
sed 's/^/| /' conftest.$ac_ext >&5
5442
 
 
5443
 
        eval "$as_ac_Header=no"
5444
 
fi
5445
 
 
5446
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5447
 
fi
5448
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5449
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5450
 
echo "${ECHO_T}$ac_res" >&6; }
5451
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5452
 
  cat >>confdefs.h <<_ACEOF
5453
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5454
 
_ACEOF
5455
 
 
5456
 
fi
5457
 
 
5458
 
done
5459
 
 
5460
 
 
5461
 
 
5462
 
for ac_header in dlfcn.h
5463
 
do
5464
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5465
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5466
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5467
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5468
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5469
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5470
 
fi
5471
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5472
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5473
 
echo "${ECHO_T}$ac_res" >&6; }
5474
 
else
5475
 
  # Is the header compilable?
5476
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5477
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5478
 
cat >conftest.$ac_ext <<_ACEOF
5479
 
/* confdefs.h.  */
5480
 
_ACEOF
5481
 
cat confdefs.h >>conftest.$ac_ext
5482
 
cat >>conftest.$ac_ext <<_ACEOF
5483
 
/* end confdefs.h.  */
5484
 
$ac_includes_default
5485
 
#include <$ac_header>
5486
 
_ACEOF
5487
 
rm -f conftest.$ac_objext
5488
 
if { (ac_try="$ac_compile"
5489
 
case "(($ac_try" in
5490
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5491
 
  *) ac_try_echo=$ac_try;;
5492
 
esac
5493
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5494
 
  (eval "$ac_compile") 2>conftest.er1
5495
 
  ac_status=$?
5496
 
  grep -v '^ *+' conftest.er1 >conftest.err
5497
 
  rm -f conftest.er1
5498
 
  cat conftest.err >&5
5499
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5500
 
  (exit $ac_status); } && {
5501
 
         test -z "$ac_c_werror_flag" ||
5502
 
         test ! -s conftest.err
5503
 
       } && test -s conftest.$ac_objext; then
5504
 
  ac_header_compiler=yes
5505
 
else
5506
 
  echo "$as_me: failed program was:" >&5
5507
 
sed 's/^/| /' conftest.$ac_ext >&5
5508
 
 
5509
 
        ac_header_compiler=no
5510
 
fi
5511
 
 
5512
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5513
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5514
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
5515
 
 
5516
 
# Is the header present?
5517
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5518
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5519
 
cat >conftest.$ac_ext <<_ACEOF
5520
 
/* confdefs.h.  */
5521
 
_ACEOF
5522
 
cat confdefs.h >>conftest.$ac_ext
5523
 
cat >>conftest.$ac_ext <<_ACEOF
5524
 
/* end confdefs.h.  */
5525
 
#include <$ac_header>
5526
 
_ACEOF
5527
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5528
 
case "(($ac_try" in
5529
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5530
 
  *) ac_try_echo=$ac_try;;
5531
 
esac
5532
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5533
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5534
 
  ac_status=$?
5535
 
  grep -v '^ *+' conftest.er1 >conftest.err
5536
 
  rm -f conftest.er1
5537
 
  cat conftest.err >&5
5538
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5539
 
  (exit $ac_status); } >/dev/null && {
5540
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5541
 
         test ! -s conftest.err
5542
 
       }; then
5543
 
  ac_header_preproc=yes
5544
 
else
5545
 
  echo "$as_me: failed program was:" >&5
5546
 
sed 's/^/| /' conftest.$ac_ext >&5
5547
 
 
5548
 
  ac_header_preproc=no
5549
 
fi
5550
 
 
5551
 
rm -f conftest.err conftest.$ac_ext
5552
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5553
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
5554
 
 
5555
 
# So?  What about this header?
5556
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5557
 
  yes:no: )
5558
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5559
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5560
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5561
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5562
 
    ac_header_preproc=yes
5563
 
    ;;
5564
 
  no:yes:* )
5565
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5566
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5567
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5568
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5569
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5570
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5571
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5572
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5573
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5574
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5575
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5576
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5577
 
    ( cat <<\_ASBOX
5578
 
## ---------------------------------- ##
5579
 
## Report this to bug-libtool@gnu.org ##
5580
 
## ---------------------------------- ##
5581
 
_ASBOX
5582
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
5583
 
    ;;
5584
 
esac
5585
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5586
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5587
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5588
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5589
 
else
5590
 
  eval "$as_ac_Header=\$ac_header_preproc"
5591
 
fi
5592
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5593
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5594
 
echo "${ECHO_T}$ac_res" >&6; }
5595
 
 
5596
 
fi
5597
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5598
 
  cat >>confdefs.h <<_ACEOF
5599
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5600
 
_ACEOF
5601
 
 
5602
 
fi
5603
 
 
5604
 
done
5605
 
 
5606
 
ac_ext=cpp
5607
 
ac_cpp='$CXXCPP $CPPFLAGS'
5608
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5609
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5610
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5611
 
if test -z "$CXX"; then
5612
 
  if test -n "$CCC"; then
5613
 
    CXX=$CCC
5614
 
  else
5615
 
    if test -n "$ac_tool_prefix"; then
5616
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5617
 
  do
5618
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5619
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5620
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5621
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5622
 
if test "${ac_cv_prog_CXX+set}" = set; then
5623
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5624
 
else
5625
 
  if test -n "$CXX"; then
5626
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
5627
 
else
5628
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5629
 
for as_dir in $PATH
5630
 
do
5631
 
  IFS=$as_save_IFS
5632
 
  test -z "$as_dir" && as_dir=.
5633
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5634
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5635
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5636
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5637
 
    break 2
5638
 
  fi
5639
 
done
5640
 
done
5641
 
IFS=$as_save_IFS
5642
 
 
5643
 
fi
5644
 
fi
5645
 
CXX=$ac_cv_prog_CXX
5646
 
if test -n "$CXX"; then
5647
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
5648
 
echo "${ECHO_T}$CXX" >&6; }
5649
 
else
5650
 
  { echo "$as_me:$LINENO: result: no" >&5
5651
 
echo "${ECHO_T}no" >&6; }
5652
 
fi
5653
 
 
5654
 
 
5655
 
    test -n "$CXX" && break
5656
 
  done
5657
 
fi
5658
 
if test -z "$CXX"; then
5659
 
  ac_ct_CXX=$CXX
5660
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5661
 
do
5662
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5663
 
set dummy $ac_prog; ac_word=$2
5664
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5665
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5666
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5667
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5668
 
else
5669
 
  if test -n "$ac_ct_CXX"; then
5670
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5671
 
else
5672
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5673
 
for as_dir in $PATH
5674
 
do
5675
 
  IFS=$as_save_IFS
5676
 
  test -z "$as_dir" && as_dir=.
5677
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5678
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5679
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
5680
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5681
 
    break 2
5682
 
  fi
5683
 
done
5684
 
done
5685
 
IFS=$as_save_IFS
5686
 
 
5687
 
fi
5688
 
fi
5689
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5690
 
if test -n "$ac_ct_CXX"; then
5691
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5692
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
5693
 
else
5694
 
  { echo "$as_me:$LINENO: result: no" >&5
5695
 
echo "${ECHO_T}no" >&6; }
5696
 
fi
5697
 
 
5698
 
 
5699
 
  test -n "$ac_ct_CXX" && break
5700
 
done
5701
 
 
5702
 
  if test "x$ac_ct_CXX" = x; then
5703
 
    CXX="g++"
5704
 
  else
5705
 
    case $cross_compiling:$ac_tool_warned in
5706
 
yes:)
5707
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5708
 
whose name does not start with the host triplet.  If you think this
5709
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5710
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5711
 
whose name does not start with the host triplet.  If you think this
5712
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5713
 
ac_tool_warned=yes ;;
5714
 
esac
5715
 
    CXX=$ac_ct_CXX
5716
 
  fi
5717
 
fi
5718
 
 
5719
 
  fi
5720
 
fi
5721
 
# Provide some information about the compiler.
5722
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5723
 
ac_compiler=`set X $ac_compile; echo $2`
5724
 
{ (ac_try="$ac_compiler --version >&5"
5725
 
case "(($ac_try" in
5726
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5727
 
  *) ac_try_echo=$ac_try;;
5728
 
esac
5729
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5730
 
  (eval "$ac_compiler --version >&5") 2>&5
5731
 
  ac_status=$?
5732
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5733
 
  (exit $ac_status); }
5734
 
{ (ac_try="$ac_compiler -v >&5"
5735
 
case "(($ac_try" in
5736
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5737
 
  *) ac_try_echo=$ac_try;;
5738
 
esac
5739
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5740
 
  (eval "$ac_compiler -v >&5") 2>&5
5741
 
  ac_status=$?
5742
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5743
 
  (exit $ac_status); }
5744
 
{ (ac_try="$ac_compiler -V >&5"
5745
 
case "(($ac_try" in
5746
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5747
 
  *) ac_try_echo=$ac_try;;
5748
 
esac
5749
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5750
 
  (eval "$ac_compiler -V >&5") 2>&5
5751
 
  ac_status=$?
5752
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5753
 
  (exit $ac_status); }
5754
 
 
5755
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5756
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5757
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5758
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5759
 
else
5760
 
  cat >conftest.$ac_ext <<_ACEOF
5761
 
/* confdefs.h.  */
5762
 
_ACEOF
5763
 
cat confdefs.h >>conftest.$ac_ext
5764
 
cat >>conftest.$ac_ext <<_ACEOF
5765
 
/* end confdefs.h.  */
5766
 
 
5767
 
int
5768
 
main ()
5769
 
{
5770
 
#ifndef __GNUC__
5771
 
       choke me
5772
 
#endif
5773
 
 
5774
 
  ;
5775
 
  return 0;
5776
 
}
5777
 
_ACEOF
5778
 
rm -f conftest.$ac_objext
5779
 
if { (ac_try="$ac_compile"
5780
 
case "(($ac_try" in
5781
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5782
 
  *) ac_try_echo=$ac_try;;
5783
 
esac
5784
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5785
 
  (eval "$ac_compile") 2>conftest.er1
5786
 
  ac_status=$?
5787
 
  grep -v '^ *+' conftest.er1 >conftest.err
5788
 
  rm -f conftest.er1
5789
 
  cat conftest.err >&5
5790
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5791
 
  (exit $ac_status); } && {
5792
 
         test -z "$ac_cxx_werror_flag" ||
5793
 
         test ! -s conftest.err
5794
 
       } && test -s conftest.$ac_objext; then
5795
 
  ac_compiler_gnu=yes
5796
 
else
5797
 
  echo "$as_me: failed program was:" >&5
5798
 
sed 's/^/| /' conftest.$ac_ext >&5
5799
 
 
5800
 
        ac_compiler_gnu=no
5801
 
fi
5802
 
 
5803
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5804
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5805
 
 
5806
 
fi
5807
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5808
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5809
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
5810
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
5811
 
ac_save_CXXFLAGS=$CXXFLAGS
5812
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5813
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5814
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
5815
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5816
 
else
5817
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5818
 
   ac_cxx_werror_flag=yes
5819
 
   ac_cv_prog_cxx_g=no
5820
 
   CXXFLAGS="-g"
5821
 
   cat >conftest.$ac_ext <<_ACEOF
5822
 
/* confdefs.h.  */
5823
 
_ACEOF
5824
 
cat confdefs.h >>conftest.$ac_ext
5825
 
cat >>conftest.$ac_ext <<_ACEOF
5826
 
/* end confdefs.h.  */
5827
 
 
5828
 
int
5829
 
main ()
5830
 
{
5831
 
 
5832
 
  ;
5833
 
  return 0;
5834
 
}
5835
 
_ACEOF
5836
 
rm -f conftest.$ac_objext
5837
 
if { (ac_try="$ac_compile"
5838
 
case "(($ac_try" in
5839
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5840
 
  *) ac_try_echo=$ac_try;;
5841
 
esac
5842
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5843
 
  (eval "$ac_compile") 2>conftest.er1
5844
 
  ac_status=$?
5845
 
  grep -v '^ *+' conftest.er1 >conftest.err
5846
 
  rm -f conftest.er1
5847
 
  cat conftest.err >&5
5848
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849
 
  (exit $ac_status); } && {
5850
 
         test -z "$ac_cxx_werror_flag" ||
5851
 
         test ! -s conftest.err
5852
 
       } && test -s conftest.$ac_objext; then
5853
 
  ac_cv_prog_cxx_g=yes
5854
 
else
5855
 
  echo "$as_me: failed program was:" >&5
5856
 
sed 's/^/| /' conftest.$ac_ext >&5
5857
 
 
5858
 
        CXXFLAGS=""
5859
 
      cat >conftest.$ac_ext <<_ACEOF
5860
 
/* confdefs.h.  */
5861
 
_ACEOF
5862
 
cat confdefs.h >>conftest.$ac_ext
5863
 
cat >>conftest.$ac_ext <<_ACEOF
5864
 
/* end confdefs.h.  */
5865
 
 
5866
 
int
5867
 
main ()
5868
 
{
5869
 
 
5870
 
  ;
5871
 
  return 0;
5872
 
}
5873
 
_ACEOF
5874
 
rm -f conftest.$ac_objext
5875
 
if { (ac_try="$ac_compile"
5876
 
case "(($ac_try" in
5877
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5878
 
  *) ac_try_echo=$ac_try;;
5879
 
esac
5880
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5881
 
  (eval "$ac_compile") 2>conftest.er1
5882
 
  ac_status=$?
5883
 
  grep -v '^ *+' conftest.er1 >conftest.err
5884
 
  rm -f conftest.er1
5885
 
  cat conftest.err >&5
5886
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5887
 
  (exit $ac_status); } && {
5888
 
         test -z "$ac_cxx_werror_flag" ||
5889
 
         test ! -s conftest.err
5890
 
       } && test -s conftest.$ac_objext; then
5891
 
  :
5892
 
else
5893
 
  echo "$as_me: failed program was:" >&5
5894
 
sed 's/^/| /' conftest.$ac_ext >&5
5895
 
 
5896
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5897
 
         CXXFLAGS="-g"
5898
 
         cat >conftest.$ac_ext <<_ACEOF
5899
 
/* confdefs.h.  */
5900
 
_ACEOF
5901
 
cat confdefs.h >>conftest.$ac_ext
5902
 
cat >>conftest.$ac_ext <<_ACEOF
5903
 
/* end confdefs.h.  */
5904
 
 
5905
 
int
5906
 
main ()
5907
 
{
5908
 
 
5909
 
  ;
5910
 
  return 0;
5911
 
}
5912
 
_ACEOF
5913
 
rm -f conftest.$ac_objext
5914
 
if { (ac_try="$ac_compile"
5915
 
case "(($ac_try" in
5916
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5917
 
  *) ac_try_echo=$ac_try;;
5918
 
esac
5919
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5920
 
  (eval "$ac_compile") 2>conftest.er1
5921
 
  ac_status=$?
5922
 
  grep -v '^ *+' conftest.er1 >conftest.err
5923
 
  rm -f conftest.er1
5924
 
  cat conftest.err >&5
5925
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5926
 
  (exit $ac_status); } && {
5927
 
         test -z "$ac_cxx_werror_flag" ||
5928
 
         test ! -s conftest.err
5929
 
       } && test -s conftest.$ac_objext; then
5930
 
  ac_cv_prog_cxx_g=yes
5931
 
else
5932
 
  echo "$as_me: failed program was:" >&5
5933
 
sed 's/^/| /' conftest.$ac_ext >&5
5934
 
 
5935
 
 
5936
 
fi
5937
 
 
5938
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5939
 
fi
5940
 
 
5941
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5942
 
fi
5943
 
 
5944
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5945
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5946
 
fi
5947
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5948
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5949
 
if test "$ac_test_CXXFLAGS" = set; then
5950
 
  CXXFLAGS=$ac_save_CXXFLAGS
5951
 
elif test $ac_cv_prog_cxx_g = yes; then
5952
 
  if test "$GXX" = yes; then
5953
 
    CXXFLAGS="-g -O2"
5954
 
  else
5955
 
    CXXFLAGS="-g"
5956
 
  fi
5957
 
else
5958
 
  if test "$GXX" = yes; then
5959
 
    CXXFLAGS="-O2"
5960
 
  else
5961
 
    CXXFLAGS=
5962
 
  fi
5963
 
fi
5964
 
ac_ext=cpp
5965
 
ac_cpp='$CXXCPP $CPPFLAGS'
5966
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5967
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5968
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5969
 
 
5970
 
depcc="$CXX"  am_compiler_list=
5971
 
 
5972
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5973
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5974
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5975
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5976
 
else
5977
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5978
 
  # We make a subdir and do the tests there.  Otherwise we can end up
5979
 
  # making bogus files that we don't know about and never remove.  For
5980
 
  # instance it was reported that on HP-UX the gcc test will end up
5981
 
  # making a dummy file named `D' -- because `-MD' means `put the output
5982
 
  # in D'.
5983
 
  mkdir conftest.dir
5984
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
5985
 
  # using a relative directory.
5986
 
  cp "$am_depcomp" conftest.dir
5987
 
  cd conftest.dir
5988
 
  # We will build objects and dependencies in a subdirectory because
5989
 
  # it helps to detect inapplicable dependency modes.  For instance
5990
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
5991
 
  # side effect of compilation, but ICC will put the dependencies in
5992
 
  # the current directory while Tru64 will put them in the object
5993
 
  # directory.
5994
 
  mkdir sub
5995
 
 
5996
 
  am_cv_CXX_dependencies_compiler_type=none
5997
 
  if test "$am_compiler_list" = ""; then
5998
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5999
 
  fi
6000
 
  for depmode in $am_compiler_list; do
6001
 
    # Setup a source with many dependencies, because some compilers
6002
 
    # like to wrap large dependency lists on column 80 (with \), and
6003
 
    # we should not choose a depcomp mode which is confused by this.
6004
 
    #
6005
 
    # We need to recreate these files for each test, as the compiler may
6006
 
    # overwrite some of them when testing with obscure command lines.
6007
 
    # This happens at least with the AIX C compiler.
6008
 
    : > sub/conftest.c
6009
 
    for i in 1 2 3 4 5 6; do
6010
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
6011
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6012
 
      # Solaris 8's {/usr,}/bin/sh.
6013
 
      touch sub/conftst$i.h
6014
 
    done
6015
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6016
 
 
6017
 
    case $depmode in
6018
 
    nosideeffect)
6019
 
      # after this tag, mechanisms are not by side-effect, so they'll
6020
 
      # only be used when explicitly requested
6021
 
      if test "x$enable_dependency_tracking" = xyes; then
6022
 
        continue
6023
 
      else
6024
 
        break
6025
 
      fi
6026
 
      ;;
6027
 
    none) break ;;
6028
 
    esac
6029
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
6030
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
6031
 
    # handle `-M -o', and we need to detect this.
6032
 
    if depmode=$depmode \
6033
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6034
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6035
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6036
 
         >/dev/null 2>conftest.err &&
6037
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6038
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6039
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6040
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6041
 
      # icc doesn't choke on unknown options, it will just issue warnings
6042
 
      # or remarks (even with -Werror).  So we grep stderr for any message
6043
 
      # that says an option was ignored or not supported.
6044
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
6045
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
6046
 
      # The diagnosis changed in icc 8.0:
6047
 
      #   icc: Command line remark: option '-MP' not supported
6048
 
      if (grep 'ignoring option' conftest.err ||
6049
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6050
 
        am_cv_CXX_dependencies_compiler_type=$depmode
6051
 
        break
6052
 
      fi
6053
 
    fi
6054
 
  done
6055
 
 
6056
 
  cd ..
6057
 
  rm -rf conftest.dir
6058
 
else
6059
 
  am_cv_CXX_dependencies_compiler_type=none
6060
 
fi
6061
 
 
6062
 
fi
6063
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6064
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
6065
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6066
 
 
6067
 
 if
6068
 
  test "x$enable_dependency_tracking" != xno \
6069
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6070
 
  am__fastdepCXX_TRUE=
6071
 
  am__fastdepCXX_FALSE='#'
6072
 
else
6073
 
  am__fastdepCXX_TRUE='#'
6074
 
  am__fastdepCXX_FALSE=
6075
 
fi
6076
 
 
6077
 
 
6078
 
 
6079
 
 
6080
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6081
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6082
 
    (test "X$CXX" != "Xg++"))) ; then
6083
 
  ac_ext=cpp
6084
 
ac_cpp='$CXXCPP $CPPFLAGS'
6085
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6086
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6087
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6088
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6089
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6090
 
if test -z "$CXXCPP"; then
6091
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
6092
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6093
 
else
6094
 
      # Double quotes because CXXCPP needs to be expanded
6095
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
6096
 
    do
6097
 
      ac_preproc_ok=false
6098
 
for ac_cxx_preproc_warn_flag in '' yes
6099
 
do
6100
 
  # Use a header file that comes with gcc, so configuring glibc
6101
 
  # with a fresh cross-compiler works.
6102
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6103
 
  # <limits.h> exists even on freestanding compilers.
6104
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6105
 
  # not just through cpp. "Syntax error" is here to catch this case.
6106
 
  cat >conftest.$ac_ext <<_ACEOF
6107
 
/* confdefs.h.  */
6108
 
_ACEOF
6109
 
cat confdefs.h >>conftest.$ac_ext
6110
 
cat >>conftest.$ac_ext <<_ACEOF
6111
 
/* end confdefs.h.  */
6112
 
#ifdef __STDC__
6113
 
# include <limits.h>
6114
 
#else
6115
 
# include <assert.h>
6116
 
#endif
6117
 
                     Syntax error
6118
 
_ACEOF
6119
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6120
 
case "(($ac_try" in
6121
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6122
 
  *) ac_try_echo=$ac_try;;
6123
 
esac
6124
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6125
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6126
 
  ac_status=$?
6127
 
  grep -v '^ *+' conftest.er1 >conftest.err
6128
 
  rm -f conftest.er1
6129
 
  cat conftest.err >&5
6130
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6131
 
  (exit $ac_status); } >/dev/null && {
6132
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6133
 
         test ! -s conftest.err
6134
 
       }; then
6135
 
  :
6136
 
else
6137
 
  echo "$as_me: failed program was:" >&5
6138
 
sed 's/^/| /' conftest.$ac_ext >&5
6139
 
 
6140
 
  # Broken: fails on valid input.
6141
 
continue
6142
 
fi
6143
 
 
6144
 
rm -f conftest.err conftest.$ac_ext
6145
 
 
6146
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6147
 
  # can be detected and how.
6148
 
  cat >conftest.$ac_ext <<_ACEOF
6149
 
/* confdefs.h.  */
6150
 
_ACEOF
6151
 
cat confdefs.h >>conftest.$ac_ext
6152
 
cat >>conftest.$ac_ext <<_ACEOF
6153
 
/* end confdefs.h.  */
6154
 
#include <ac_nonexistent.h>
6155
 
_ACEOF
6156
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6157
 
case "(($ac_try" in
6158
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6159
 
  *) ac_try_echo=$ac_try;;
6160
 
esac
6161
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6162
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6163
 
  ac_status=$?
6164
 
  grep -v '^ *+' conftest.er1 >conftest.err
6165
 
  rm -f conftest.er1
6166
 
  cat conftest.err >&5
6167
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6168
 
  (exit $ac_status); } >/dev/null && {
6169
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6170
 
         test ! -s conftest.err
6171
 
       }; then
6172
 
  # Broken: success on invalid input.
6173
 
continue
6174
 
else
6175
 
  echo "$as_me: failed program was:" >&5
6176
 
sed 's/^/| /' conftest.$ac_ext >&5
6177
 
 
6178
 
  # Passes both tests.
6179
 
ac_preproc_ok=:
6180
 
break
6181
 
fi
6182
 
 
6183
 
rm -f conftest.err conftest.$ac_ext
6184
 
 
6185
 
done
6186
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6187
 
rm -f conftest.err conftest.$ac_ext
6188
 
if $ac_preproc_ok; then
6189
 
  break
6190
 
fi
6191
 
 
6192
 
    done
6193
 
    ac_cv_prog_CXXCPP=$CXXCPP
6194
 
 
6195
 
fi
6196
 
  CXXCPP=$ac_cv_prog_CXXCPP
6197
 
else
6198
 
  ac_cv_prog_CXXCPP=$CXXCPP
6199
 
fi
6200
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
6201
 
echo "${ECHO_T}$CXXCPP" >&6; }
6202
 
ac_preproc_ok=false
6203
 
for ac_cxx_preproc_warn_flag in '' yes
6204
 
do
6205
 
  # Use a header file that comes with gcc, so configuring glibc
6206
 
  # with a fresh cross-compiler works.
6207
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6208
 
  # <limits.h> exists even on freestanding compilers.
6209
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6210
 
  # not just through cpp. "Syntax error" is here to catch this case.
6211
 
  cat >conftest.$ac_ext <<_ACEOF
6212
 
/* confdefs.h.  */
6213
 
_ACEOF
6214
 
cat confdefs.h >>conftest.$ac_ext
6215
 
cat >>conftest.$ac_ext <<_ACEOF
6216
 
/* end confdefs.h.  */
6217
 
#ifdef __STDC__
6218
 
# include <limits.h>
6219
 
#else
6220
 
# include <assert.h>
6221
 
#endif
6222
 
                     Syntax error
6223
 
_ACEOF
6224
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6225
 
case "(($ac_try" in
6226
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6227
 
  *) ac_try_echo=$ac_try;;
6228
 
esac
6229
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6230
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6231
 
  ac_status=$?
6232
 
  grep -v '^ *+' conftest.er1 >conftest.err
6233
 
  rm -f conftest.er1
6234
 
  cat conftest.err >&5
6235
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6236
 
  (exit $ac_status); } >/dev/null && {
6237
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6238
 
         test ! -s conftest.err
6239
 
       }; then
6240
 
  :
6241
 
else
6242
 
  echo "$as_me: failed program was:" >&5
6243
 
sed 's/^/| /' conftest.$ac_ext >&5
6244
 
 
6245
 
  # Broken: fails on valid input.
6246
 
continue
6247
 
fi
6248
 
 
6249
 
rm -f conftest.err conftest.$ac_ext
6250
 
 
6251
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6252
 
  # can be detected and how.
6253
 
  cat >conftest.$ac_ext <<_ACEOF
6254
 
/* confdefs.h.  */
6255
 
_ACEOF
6256
 
cat confdefs.h >>conftest.$ac_ext
6257
 
cat >>conftest.$ac_ext <<_ACEOF
6258
 
/* end confdefs.h.  */
6259
 
#include <ac_nonexistent.h>
6260
 
_ACEOF
6261
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6262
 
case "(($ac_try" in
6263
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6264
 
  *) ac_try_echo=$ac_try;;
6265
 
esac
6266
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6267
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6268
 
  ac_status=$?
6269
 
  grep -v '^ *+' conftest.er1 >conftest.err
6270
 
  rm -f conftest.er1
6271
 
  cat conftest.err >&5
6272
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6273
 
  (exit $ac_status); } >/dev/null && {
6274
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6275
 
         test ! -s conftest.err
6276
 
       }; then
6277
 
  # Broken: success on invalid input.
6278
 
continue
6279
 
else
6280
 
  echo "$as_me: failed program was:" >&5
6281
 
sed 's/^/| /' conftest.$ac_ext >&5
6282
 
 
6283
 
  # Passes both tests.
6284
 
ac_preproc_ok=:
6285
 
break
6286
 
fi
6287
 
 
6288
 
rm -f conftest.err conftest.$ac_ext
6289
 
 
6290
 
done
6291
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6292
 
rm -f conftest.err conftest.$ac_ext
6293
 
if $ac_preproc_ok; then
6294
 
  :
6295
 
else
6296
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6297
 
See \`config.log' for more details." >&5
6298
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6299
 
See \`config.log' for more details." >&2;}
6300
 
   { (exit 1); exit 1; }; }
6301
 
fi
6302
 
 
6303
 
ac_ext=cpp
6304
 
ac_cpp='$CXXCPP $CPPFLAGS'
6305
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6306
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6307
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6308
 
 
6309
 
fi
6310
 
 
6311
 
 
6312
 
ac_ext=f
6313
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6314
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6315
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6316
 
if test -n "$ac_tool_prefix"; then
6317
 
  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
6318
 
  do
6319
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6320
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6321
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6322
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6323
 
if test "${ac_cv_prog_F77+set}" = set; then
6324
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6325
 
else
6326
 
  if test -n "$F77"; then
6327
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
6328
 
else
6329
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6330
 
for as_dir in $PATH
6331
 
do
6332
 
  IFS=$as_save_IFS
6333
 
  test -z "$as_dir" && as_dir=.
6334
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6335
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6336
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
6337
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6338
 
    break 2
6339
 
  fi
6340
 
done
6341
 
done
6342
 
IFS=$as_save_IFS
6343
 
 
6344
 
fi
6345
 
fi
6346
 
F77=$ac_cv_prog_F77
6347
 
if test -n "$F77"; then
6348
 
  { echo "$as_me:$LINENO: result: $F77" >&5
6349
 
echo "${ECHO_T}$F77" >&6; }
6350
 
else
6351
 
  { echo "$as_me:$LINENO: result: no" >&5
6352
 
echo "${ECHO_T}no" >&6; }
6353
 
fi
6354
 
 
6355
 
 
6356
 
    test -n "$F77" && break
6357
 
  done
6358
 
fi
6359
 
if test -z "$F77"; then
6360
 
  ac_ct_F77=$F77
6361
 
  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
6362
 
do
6363
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6364
 
set dummy $ac_prog; ac_word=$2
6365
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6366
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6367
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6368
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6369
 
else
6370
 
  if test -n "$ac_ct_F77"; then
6371
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
6372
 
else
6373
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6374
 
for as_dir in $PATH
6375
 
do
6376
 
  IFS=$as_save_IFS
6377
 
  test -z "$as_dir" && as_dir=.
6378
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6379
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6380
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
6381
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6382
 
    break 2
6383
 
  fi
6384
 
done
6385
 
done
6386
 
IFS=$as_save_IFS
6387
 
 
6388
 
fi
6389
 
fi
6390
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
6391
 
if test -n "$ac_ct_F77"; then
6392
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6393
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
6394
 
else
6395
 
  { echo "$as_me:$LINENO: result: no" >&5
6396
 
echo "${ECHO_T}no" >&6; }
6397
 
fi
6398
 
 
6399
 
 
6400
 
  test -n "$ac_ct_F77" && break
6401
 
done
6402
 
 
6403
 
  if test "x$ac_ct_F77" = x; then
6404
 
    F77=""
6405
 
  else
6406
 
    case $cross_compiling:$ac_tool_warned in
6407
 
yes:)
6408
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6409
 
whose name does not start with the host triplet.  If you think this
6410
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6411
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6412
 
whose name does not start with the host triplet.  If you think this
6413
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6414
 
ac_tool_warned=yes ;;
6415
 
esac
6416
 
    F77=$ac_ct_F77
6417
 
  fi
6418
 
fi
6419
 
 
6420
 
 
6421
 
# Provide some information about the compiler.
6422
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6423
 
ac_compiler=`set X $ac_compile; echo $2`
6424
 
{ (ac_try="$ac_compiler --version >&5"
6425
 
case "(($ac_try" in
6426
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6427
 
  *) ac_try_echo=$ac_try;;
6428
 
esac
6429
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6430
 
  (eval "$ac_compiler --version >&5") 2>&5
6431
 
  ac_status=$?
6432
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6433
 
  (exit $ac_status); }
6434
 
{ (ac_try="$ac_compiler -v >&5"
6435
 
case "(($ac_try" in
6436
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6437
 
  *) ac_try_echo=$ac_try;;
6438
 
esac
6439
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6440
 
  (eval "$ac_compiler -v >&5") 2>&5
6441
 
  ac_status=$?
6442
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6443
 
  (exit $ac_status); }
6444
 
{ (ac_try="$ac_compiler -V >&5"
6445
 
case "(($ac_try" in
6446
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6447
 
  *) ac_try_echo=$ac_try;;
6448
 
esac
6449
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6450
 
  (eval "$ac_compiler -V >&5") 2>&5
6451
 
  ac_status=$?
6452
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6453
 
  (exit $ac_status); }
6454
 
rm -f a.out
6455
 
 
6456
 
# If we don't use `.F' as extension, the preprocessor is not run on the
6457
 
# input file.  (Note that this only needs to work for GNU compilers.)
6458
 
ac_save_ext=$ac_ext
6459
 
ac_ext=F
6460
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6461
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6462
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6463
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6464
 
else
6465
 
  cat >conftest.$ac_ext <<_ACEOF
6466
 
      program main
6467
 
#ifndef __GNUC__
6468
 
       choke me
6469
 
#endif
6470
 
 
6471
 
      end
6472
 
_ACEOF
6473
 
rm -f conftest.$ac_objext
6474
 
if { (ac_try="$ac_compile"
6475
 
case "(($ac_try" in
6476
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6477
 
  *) ac_try_echo=$ac_try;;
6478
 
esac
6479
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6480
 
  (eval "$ac_compile") 2>conftest.er1
6481
 
  ac_status=$?
6482
 
  grep -v '^ *+' conftest.er1 >conftest.err
6483
 
  rm -f conftest.er1
6484
 
  cat conftest.err >&5
6485
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6486
 
  (exit $ac_status); } && {
6487
 
         test -z "$ac_f77_werror_flag" ||
6488
 
         test ! -s conftest.err
6489
 
       } && test -s conftest.$ac_objext; then
6490
 
  ac_compiler_gnu=yes
6491
 
else
6492
 
  echo "$as_me: failed program was:" >&5
6493
 
sed 's/^/| /' conftest.$ac_ext >&5
6494
 
 
6495
 
        ac_compiler_gnu=no
6496
 
fi
6497
 
 
6498
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6499
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6500
 
 
6501
 
fi
6502
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6503
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6504
 
ac_ext=$ac_save_ext
6505
 
ac_test_FFLAGS=${FFLAGS+set}
6506
 
ac_save_FFLAGS=$FFLAGS
6507
 
FFLAGS=
6508
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6509
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6510
 
if test "${ac_cv_prog_f77_g+set}" = set; then
6511
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6512
 
else
6513
 
  FFLAGS=-g
6514
 
cat >conftest.$ac_ext <<_ACEOF
6515
 
      program main
6516
 
 
6517
 
      end
6518
 
_ACEOF
6519
 
rm -f conftest.$ac_objext
6520
 
if { (ac_try="$ac_compile"
6521
 
case "(($ac_try" in
6522
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6523
 
  *) ac_try_echo=$ac_try;;
6524
 
esac
6525
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6526
 
  (eval "$ac_compile") 2>conftest.er1
6527
 
  ac_status=$?
6528
 
  grep -v '^ *+' conftest.er1 >conftest.err
6529
 
  rm -f conftest.er1
6530
 
  cat conftest.err >&5
6531
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532
 
  (exit $ac_status); } && {
6533
 
         test -z "$ac_f77_werror_flag" ||
6534
 
         test ! -s conftest.err
6535
 
       } && test -s conftest.$ac_objext; then
6536
 
  ac_cv_prog_f77_g=yes
6537
 
else
6538
 
  echo "$as_me: failed program was:" >&5
6539
 
sed 's/^/| /' conftest.$ac_ext >&5
6540
 
 
6541
 
        ac_cv_prog_f77_g=no
6542
 
fi
6543
 
 
6544
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6545
 
 
6546
 
fi
6547
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6548
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6549
 
if test "$ac_test_FFLAGS" = set; then
6550
 
  FFLAGS=$ac_save_FFLAGS
6551
 
elif test $ac_cv_prog_f77_g = yes; then
6552
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6553
 
    FFLAGS="-g -O2"
6554
 
  else
6555
 
    FFLAGS="-g"
6556
 
  fi
6557
 
else
6558
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6559
 
    FFLAGS="-O2"
6560
 
  else
6561
 
    FFLAGS=
6562
 
  fi
6563
 
fi
6564
 
 
6565
 
G77=`test $ac_compiler_gnu = yes && echo yes`
6566
 
ac_ext=c
6567
 
ac_cpp='$CPP $CPPFLAGS'
6568
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6569
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6570
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6571
 
 
6572
 
 
6573
 
 
6574
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6575
 
 
6576
 
# find the maximum length of command line arguments
6577
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6578
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6579
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6580
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6581
 
else
6582
 
    i=0
6583
 
  teststring="ABCD"
6584
 
 
6585
 
  case $build_os in
6586
 
  msdosdjgpp*)
6587
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
6588
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
6589
 
    # during glob expansion).  Even if it were fixed, the result of this
6590
 
    # check would be larger than it should be.
6591
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6592
 
    ;;
6593
 
 
6594
 
  gnu*)
6595
 
    # Under GNU Hurd, this test is not required because there is
6596
 
    # no limit to the length of command line arguments.
6597
 
    # Libtool will interpret -1 as no limit whatsoever
6598
 
    lt_cv_sys_max_cmd_len=-1;
6599
 
    ;;
6600
 
 
6601
 
  cygwin* | mingw*)
6602
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
6603
 
    # about 5 minutes as the teststring grows exponentially.
6604
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
6605
 
    # you end up with a "frozen" computer, even though with patience
6606
 
    # the test eventually succeeds (with a max line length of 256k).
6607
 
    # Instead, let's just punt: use the minimum linelength reported by
6608
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
6609
 
    lt_cv_sys_max_cmd_len=8192;
6610
 
    ;;
6611
 
 
6612
 
  amigaos*)
6613
 
    # On AmigaOS with pdksh, this test takes hours, literally.
6614
 
    # So we just punt and use a minimum line length of 8192.
6615
 
    lt_cv_sys_max_cmd_len=8192;
6616
 
    ;;
6617
 
 
6618
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6619
 
    # This has been around since 386BSD, at least.  Likely further.
6620
 
    if test -x /sbin/sysctl; then
6621
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6622
 
    elif test -x /usr/sbin/sysctl; then
6623
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6624
 
    else
6625
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6626
 
    fi
6627
 
    # And add a safety zone
6628
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6629
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6630
 
    ;;
6631
 
 
6632
 
  interix*)
6633
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6634
 
    lt_cv_sys_max_cmd_len=196608
6635
 
    ;;
6636
 
 
6637
 
  osf*)
6638
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6639
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6640
 
    # nice to cause kernel panics so lets avoid the loop below.
6641
 
    # First set a reasonable default.
6642
 
    lt_cv_sys_max_cmd_len=16384
6643
 
    #
6644
 
    if test -x /sbin/sysconfig; then
6645
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6646
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6647
 
      esac
6648
 
    fi
6649
 
    ;;
6650
 
  sco3.2v5*)
6651
 
    lt_cv_sys_max_cmd_len=102400
6652
 
    ;;
6653
 
  sysv5* | sco5v6* | sysv4.2uw2*)
6654
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6655
 
    if test -n "$kargmax"; then
6656
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
6657
 
    else
6658
 
      lt_cv_sys_max_cmd_len=32768
6659
 
    fi
6660
 
    ;;
6661
 
  *)
6662
 
    # If test is not a shell built-in, we'll probably end up computing a
6663
 
    # maximum length that is only half of the actual maximum length, but
6664
 
    # we can't tell.
6665
 
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6666
 
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6667
 
               = "XX$teststring") >/dev/null 2>&1 &&
6668
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
6669
 
            lt_cv_sys_max_cmd_len=$new_result &&
6670
 
            test $i != 17 # 1/2 MB should be enough
6671
 
    do
6672
 
      i=`expr $i + 1`
6673
 
      teststring=$teststring$teststring
6674
 
    done
6675
 
    teststring=
6676
 
    # Add a significant safety factor because C++ compilers can tack on massive
6677
 
    # amounts of additional arguments before passing them to the linker.
6678
 
    # It appears as though 1/2 is a usable value.
6679
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6680
 
    ;;
6681
 
  esac
6682
 
 
6683
 
fi
6684
 
 
6685
 
if test -n $lt_cv_sys_max_cmd_len ; then
6686
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6687
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6688
 
else
6689
 
  { echo "$as_me:$LINENO: result: none" >&5
6690
 
echo "${ECHO_T}none" >&6; }
6691
 
fi
6692
 
 
6693
 
 
6694
 
 
6695
 
 
6696
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
6697
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6698
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6699
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6700
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6701
 
else
6702
 
 
6703
 
# These are sane defaults that work on at least a few old systems.
6704
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6705
 
 
6706
 
# Character class describing NM global symbol codes.
6707
 
symcode='[BCDEGRST]'
6708
 
 
6709
 
# Regexp to match symbols that can be accessed directly from C.
6710
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6711
 
 
6712
 
# Transform an extracted symbol line into a proper C declaration
6713
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6714
 
 
6715
 
# Transform an extracted symbol line into symbol name and symbol address
6716
 
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'"
6717
 
 
6718
 
# Define system-specific variables.
6719
 
case $host_os in
6720
 
aix*)
6721
 
  symcode='[BCDT]'
6722
 
  ;;
6723
 
cygwin* | mingw* | pw32*)
6724
 
  symcode='[ABCDGISTW]'
6725
 
  ;;
6726
 
hpux*) # Its linker distinguishes data from code symbols
6727
 
  if test "$host_cpu" = ia64; then
6728
 
    symcode='[ABCDEGRST]'
6729
 
  fi
6730
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6731
 
  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'"
6732
 
  ;;
6733
 
linux* | k*bsd*-gnu)
6734
 
  if test "$host_cpu" = ia64; then
6735
 
    symcode='[ABCDGIRSTW]'
6736
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6737
 
    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'"
6738
 
  fi
6739
 
  ;;
6740
 
irix* | nonstopux*)
6741
 
  symcode='[BCDEGRST]'
6742
 
  ;;
6743
 
osf*)
6744
 
  symcode='[BCDEGQRST]'
6745
 
  ;;
6746
 
solaris*)
6747
 
  symcode='[BDRT]'
6748
 
  ;;
6749
 
sco3.2v5*)
6750
 
  symcode='[DT]'
6751
 
  ;;
6752
 
sysv4.2uw2*)
6753
 
  symcode='[DT]'
6754
 
  ;;
6755
 
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6756
 
  symcode='[ABDT]'
6757
 
  ;;
6758
 
sysv4)
6759
 
  symcode='[DFNSTU]'
6760
 
  ;;
6761
 
esac
6762
 
 
6763
 
# Handle CRLF in mingw tool chain
6764
 
opt_cr=
6765
 
case $build_os in
6766
 
mingw*)
6767
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6768
 
  ;;
6769
 
esac
6770
 
 
6771
 
# If we're using GNU nm, then use its standard symbol codes.
6772
 
case `$NM -V 2>&1` in
6773
 
*GNU* | *'with BFD'*)
6774
 
  symcode='[ABCDGIRSTW]' ;;
6775
 
esac
6776
 
 
6777
 
# Try without a prefix undercore, then with it.
6778
 
for ac_symprfx in "" "_"; do
6779
 
 
6780
 
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6781
 
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6782
 
 
6783
 
  # Write the raw and C identifiers.
6784
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6785
 
 
6786
 
  # Check to see that the pipe works correctly.
6787
 
  pipe_works=no
6788
 
 
6789
 
  rm -f conftest*
6790
 
  cat > conftest.$ac_ext <<EOF
6791
 
#ifdef __cplusplus
6792
 
extern "C" {
6793
 
#endif
6794
 
char nm_test_var;
6795
 
void nm_test_func(){}
6796
 
#ifdef __cplusplus
6797
 
}
6798
 
#endif
6799
 
int main(){nm_test_var='a';nm_test_func();return(0);}
6800
 
EOF
6801
 
 
6802
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6803
 
  (eval $ac_compile) 2>&5
6804
 
  ac_status=$?
6805
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6806
 
  (exit $ac_status); }; then
6807
 
    # Now try to grab the symbols.
6808
 
    nlist=conftest.nm
6809
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6810
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6811
 
  ac_status=$?
6812
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6813
 
  (exit $ac_status); } && test -s "$nlist"; then
6814
 
      # Try sorting and uniquifying the output.
6815
 
      if sort "$nlist" | uniq > "$nlist"T; then
6816
 
        mv -f "$nlist"T "$nlist"
6817
 
      else
6818
 
        rm -f "$nlist"T
6819
 
      fi
6820
 
 
6821
 
      # Make sure that we snagged all the symbols we need.
6822
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
6823
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
6824
 
          cat <<EOF > conftest.$ac_ext
6825
 
#ifdef __cplusplus
6826
 
extern "C" {
6827
 
#endif
6828
 
 
6829
 
EOF
6830
 
          # Now generate the symbol file.
6831
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6832
 
 
6833
 
          cat <<EOF >> conftest.$ac_ext
6834
 
#if defined (__STDC__) && __STDC__
6835
 
# define lt_ptr_t void *
6836
 
#else
6837
 
# define lt_ptr_t char *
6838
 
# define const
6839
 
#endif
6840
 
 
6841
 
/* The mapping between symbol names and symbols. */
6842
 
const struct {
6843
 
  const char *name;
6844
 
  lt_ptr_t address;
6845
 
}
6846
 
lt_preloaded_symbols[] =
6847
 
{
6848
 
EOF
6849
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6850
 
          cat <<\EOF >> conftest.$ac_ext
6851
 
  {0, (lt_ptr_t) 0}
6852
 
};
6853
 
 
6854
 
#ifdef __cplusplus
6855
 
}
6856
 
#endif
6857
 
EOF
6858
 
          # Now try linking the two files.
6859
 
          mv conftest.$ac_objext conftstm.$ac_objext
6860
 
          lt_save_LIBS="$LIBS"
6861
 
          lt_save_CFLAGS="$CFLAGS"
6862
 
          LIBS="conftstm.$ac_objext"
6863
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6864
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6865
 
  (eval $ac_link) 2>&5
6866
 
  ac_status=$?
6867
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6868
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
6869
 
            pipe_works=yes
6870
 
          fi
6871
 
          LIBS="$lt_save_LIBS"
6872
 
          CFLAGS="$lt_save_CFLAGS"
6873
 
        else
6874
 
          echo "cannot find nm_test_func in $nlist" >&5
6875
 
        fi
6876
 
      else
6877
 
        echo "cannot find nm_test_var in $nlist" >&5
6878
 
      fi
6879
 
    else
6880
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6881
 
    fi
6882
 
  else
6883
 
    echo "$progname: failed program was:" >&5
6884
 
    cat conftest.$ac_ext >&5
6885
 
  fi
6886
 
  rm -f conftest* conftst*
6887
 
 
6888
 
  # Do not use the global_symbol_pipe unless it works.
6889
 
  if test "$pipe_works" = yes; then
6890
 
    break
6891
 
  else
6892
 
    lt_cv_sys_global_symbol_pipe=
6893
 
  fi
6894
 
done
6895
 
 
6896
 
fi
6897
 
 
6898
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6899
 
  lt_cv_sys_global_symbol_to_cdecl=
6900
 
fi
6901
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6902
 
  { echo "$as_me:$LINENO: result: failed" >&5
6903
 
echo "${ECHO_T}failed" >&6; }
6904
 
else
6905
 
  { echo "$as_me:$LINENO: result: ok" >&5
6906
 
echo "${ECHO_T}ok" >&6; }
6907
 
fi
6908
 
 
6909
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
6910
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6911
 
if test "${lt_cv_objdir+set}" = set; then
6912
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6913
 
else
6914
 
  rm -f .libs 2>/dev/null
6915
 
mkdir .libs 2>/dev/null
6916
 
if test -d .libs; then
6917
 
  lt_cv_objdir=.libs
6918
 
else
6919
 
  # MS-DOS does not allow filenames that begin with a dot.
6920
 
  lt_cv_objdir=_libs
6921
 
fi
6922
 
rmdir .libs 2>/dev/null
6923
 
fi
6924
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6925
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
6926
 
objdir=$lt_cv_objdir
6927
 
 
6928
 
 
6929
 
 
6930
 
 
6931
 
 
6932
 
case $host_os in
6933
 
aix3*)
6934
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
6935
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
6936
 
  # vanish in a puff of smoke.
6937
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
6938
 
    COLLECT_NAMES=
6939
 
    export COLLECT_NAMES
6940
 
  fi
6941
 
  ;;
6942
 
esac
6943
 
 
6944
 
# Sed substitution that helps us do robust quoting.  It backslashifies
6945
 
# metacharacters that are still active within double-quoted strings.
6946
 
Xsed='sed -e 1s/^X//'
6947
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
6948
 
 
6949
 
# Same as above, but do not quote variable references.
6950
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
6951
 
 
6952
 
# Sed substitution to delay expansion of an escaped shell variable in a
6953
 
# double_quote_subst'ed string.
6954
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6955
 
 
6956
 
# Sed substitution to avoid accidental globbing in evaled expressions
6957
 
no_glob_subst='s/\*/\\\*/g'
6958
 
 
6959
 
# Constants:
6960
 
rm="rm -f"
6961
 
 
6962
 
# Global variables:
6963
 
default_ofile=libtool
6964
 
can_build_shared=yes
6965
 
 
6966
 
# All known linkers require a `.a' archive for static linking (except MSVC,
6967
 
# which needs '.lib').
6968
 
libext=a
6969
 
ltmain="$ac_aux_dir/ltmain.sh"
6970
 
ofile="$default_ofile"
6971
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
6972
 
 
6973
 
if test -n "$ac_tool_prefix"; then
6974
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6975
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
6976
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6977
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6978
 
if test "${ac_cv_prog_AR+set}" = set; then
6979
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6980
 
else
6981
 
  if test -n "$AR"; then
6982
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
6983
 
else
6984
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6985
 
for as_dir in $PATH
6986
 
do
6987
 
  IFS=$as_save_IFS
6988
 
  test -z "$as_dir" && as_dir=.
6989
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6990
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6991
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6992
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6993
 
    break 2
6994
 
  fi
6995
 
done
6996
 
done
6997
 
IFS=$as_save_IFS
6998
 
 
6999
 
fi
7000
 
fi
7001
 
AR=$ac_cv_prog_AR
7002
 
if test -n "$AR"; then
7003
 
  { echo "$as_me:$LINENO: result: $AR" >&5
7004
 
echo "${ECHO_T}$AR" >&6; }
7005
 
else
7006
 
  { echo "$as_me:$LINENO: result: no" >&5
7007
 
echo "${ECHO_T}no" >&6; }
7008
 
fi
7009
 
 
7010
 
 
7011
 
fi
7012
 
if test -z "$ac_cv_prog_AR"; then
7013
 
  ac_ct_AR=$AR
7014
 
  # Extract the first word of "ar", so it can be a program name with args.
7015
 
set dummy ar; ac_word=$2
7016
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7017
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7018
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7019
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7020
 
else
7021
 
  if test -n "$ac_ct_AR"; then
7022
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7023
 
else
7024
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7025
 
for as_dir in $PATH
7026
 
do
7027
 
  IFS=$as_save_IFS
7028
 
  test -z "$as_dir" && as_dir=.
7029
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7030
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7031
 
    ac_cv_prog_ac_ct_AR="ar"
7032
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7033
 
    break 2
7034
 
  fi
7035
 
done
7036
 
done
7037
 
IFS=$as_save_IFS
7038
 
 
7039
 
fi
7040
 
fi
7041
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7042
 
if test -n "$ac_ct_AR"; then
7043
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7044
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
7045
 
else
7046
 
  { echo "$as_me:$LINENO: result: no" >&5
7047
 
echo "${ECHO_T}no" >&6; }
7048
 
fi
7049
 
 
7050
 
  if test "x$ac_ct_AR" = x; then
7051
 
    AR="false"
7052
 
  else
7053
 
    case $cross_compiling:$ac_tool_warned in
7054
 
yes:)
7055
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7056
 
whose name does not start with the host triplet.  If you think this
7057
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7058
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7059
 
whose name does not start with the host triplet.  If you think this
7060
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7061
 
ac_tool_warned=yes ;;
7062
 
esac
7063
 
    AR=$ac_ct_AR
7064
 
  fi
7065
 
else
7066
 
  AR="$ac_cv_prog_AR"
7067
 
fi
7068
 
 
7069
 
if test -n "$ac_tool_prefix"; then
7070
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7071
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7072
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7073
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7074
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
7075
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7076
 
else
7077
 
  if test -n "$RANLIB"; then
7078
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7079
 
else
7080
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7081
 
for as_dir in $PATH
7082
 
do
7083
 
  IFS=$as_save_IFS
7084
 
  test -z "$as_dir" && as_dir=.
7085
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7086
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7087
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7088
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7089
 
    break 2
7090
 
  fi
7091
 
done
7092
 
done
7093
 
IFS=$as_save_IFS
7094
 
 
7095
 
fi
7096
 
fi
7097
 
RANLIB=$ac_cv_prog_RANLIB
7098
 
if test -n "$RANLIB"; then
7099
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
7100
 
echo "${ECHO_T}$RANLIB" >&6; }
7101
 
else
7102
 
  { echo "$as_me:$LINENO: result: no" >&5
7103
 
echo "${ECHO_T}no" >&6; }
7104
 
fi
7105
 
 
7106
 
 
7107
 
fi
7108
 
if test -z "$ac_cv_prog_RANLIB"; then
7109
 
  ac_ct_RANLIB=$RANLIB
7110
 
  # Extract the first word of "ranlib", so it can be a program name with args.
7111
 
set dummy ranlib; ac_word=$2
7112
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7113
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7114
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7115
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7116
 
else
7117
 
  if test -n "$ac_ct_RANLIB"; then
7118
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7119
 
else
7120
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7121
 
for as_dir in $PATH
7122
 
do
7123
 
  IFS=$as_save_IFS
7124
 
  test -z "$as_dir" && as_dir=.
7125
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7126
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7127
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
7128
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7129
 
    break 2
7130
 
  fi
7131
 
done
7132
 
done
7133
 
IFS=$as_save_IFS
7134
 
 
7135
 
fi
7136
 
fi
7137
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7138
 
if test -n "$ac_ct_RANLIB"; then
7139
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7140
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7141
 
else
7142
 
  { echo "$as_me:$LINENO: result: no" >&5
7143
 
echo "${ECHO_T}no" >&6; }
7144
 
fi
7145
 
 
7146
 
  if test "x$ac_ct_RANLIB" = x; then
7147
 
    RANLIB=":"
7148
 
  else
7149
 
    case $cross_compiling:$ac_tool_warned in
7150
 
yes:)
7151
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7152
 
whose name does not start with the host triplet.  If you think this
7153
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7154
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7155
 
whose name does not start with the host triplet.  If you think this
7156
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7157
 
ac_tool_warned=yes ;;
7158
 
esac
7159
 
    RANLIB=$ac_ct_RANLIB
7160
 
  fi
7161
 
else
7162
 
  RANLIB="$ac_cv_prog_RANLIB"
7163
 
fi
7164
 
 
7165
 
if test -n "$ac_tool_prefix"; then
7166
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7167
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
7168
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7169
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7170
 
if test "${ac_cv_prog_STRIP+set}" = set; then
7171
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7172
 
else
7173
 
  if test -n "$STRIP"; then
7174
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7175
 
else
7176
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7177
 
for as_dir in $PATH
7178
 
do
7179
 
  IFS=$as_save_IFS
7180
 
  test -z "$as_dir" && as_dir=.
7181
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7182
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7183
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7184
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7185
 
    break 2
7186
 
  fi
7187
 
done
7188
 
done
7189
 
IFS=$as_save_IFS
7190
 
 
7191
 
fi
7192
 
fi
7193
 
STRIP=$ac_cv_prog_STRIP
7194
 
if test -n "$STRIP"; then
7195
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
7196
 
echo "${ECHO_T}$STRIP" >&6; }
7197
 
else
7198
 
  { echo "$as_me:$LINENO: result: no" >&5
7199
 
echo "${ECHO_T}no" >&6; }
7200
 
fi
7201
 
 
7202
 
 
7203
 
fi
7204
 
if test -z "$ac_cv_prog_STRIP"; then
7205
 
  ac_ct_STRIP=$STRIP
7206
 
  # Extract the first word of "strip", so it can be a program name with args.
7207
 
set dummy strip; ac_word=$2
7208
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7209
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7210
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7211
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7212
 
else
7213
 
  if test -n "$ac_ct_STRIP"; then
7214
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7215
 
else
7216
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7217
 
for as_dir in $PATH
7218
 
do
7219
 
  IFS=$as_save_IFS
7220
 
  test -z "$as_dir" && as_dir=.
7221
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7222
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7223
 
    ac_cv_prog_ac_ct_STRIP="strip"
7224
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7225
 
    break 2
7226
 
  fi
7227
 
done
7228
 
done
7229
 
IFS=$as_save_IFS
7230
 
 
7231
 
fi
7232
 
fi
7233
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7234
 
if test -n "$ac_ct_STRIP"; then
7235
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7236
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7237
 
else
7238
 
  { echo "$as_me:$LINENO: result: no" >&5
7239
 
echo "${ECHO_T}no" >&6; }
7240
 
fi
7241
 
 
7242
 
  if test "x$ac_ct_STRIP" = x; then
7243
 
    STRIP=":"
7244
 
  else
7245
 
    case $cross_compiling:$ac_tool_warned in
7246
 
yes:)
7247
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7248
 
whose name does not start with the host triplet.  If you think this
7249
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7250
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7251
 
whose name does not start with the host triplet.  If you think this
7252
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7253
 
ac_tool_warned=yes ;;
7254
 
esac
7255
 
    STRIP=$ac_ct_STRIP
7256
 
  fi
7257
 
else
7258
 
  STRIP="$ac_cv_prog_STRIP"
7259
 
fi
7260
 
 
7261
 
 
7262
 
old_CC="$CC"
7263
 
old_CFLAGS="$CFLAGS"
7264
 
 
7265
 
# Set sane defaults for various variables
7266
 
test -z "$AR" && AR=ar
7267
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
7268
 
test -z "$AS" && AS=as
7269
 
test -z "$CC" && CC=cc
7270
 
test -z "$LTCC" && LTCC=$CC
7271
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7272
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
7273
 
test -z "$LD" && LD=ld
7274
 
test -z "$LN_S" && LN_S="ln -s"
7275
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7276
 
test -z "$NM" && NM=nm
7277
 
test -z "$SED" && SED=sed
7278
 
test -z "$OBJDUMP" && OBJDUMP=objdump
7279
 
test -z "$RANLIB" && RANLIB=:
7280
 
test -z "$STRIP" && STRIP=:
7281
 
test -z "$ac_objext" && ac_objext=o
7282
 
 
7283
 
# Determine commands to create old-style static archives.
7284
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
7285
 
old_postinstall_cmds='chmod 644 $oldlib'
7286
 
old_postuninstall_cmds=
7287
 
 
7288
 
if test -n "$RANLIB"; then
7289
 
  case $host_os in
7290
 
  openbsd*)
7291
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7292
 
    ;;
7293
 
  *)
7294
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7295
 
    ;;
7296
 
  esac
7297
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7298
 
fi
7299
 
 
7300
 
for cc_temp in $compiler""; do
7301
 
  case $cc_temp in
7302
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7303
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7304
 
    \-*) ;;
7305
 
    *) break;;
7306
 
  esac
7307
 
done
7308
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7309
 
 
7310
 
 
7311
 
# Only perform the check for file, if the check method requires it
7312
 
case $deplibs_check_method in
7313
 
file_magic*)
7314
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7315
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7316
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7317
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7318
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7319
 
else
7320
 
  case $MAGIC_CMD in
7321
 
[\\/*] |  ?:[\\/]*)
7322
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7323
 
  ;;
7324
 
*)
7325
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7326
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7327
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7328
 
  for ac_dir in $ac_dummy; do
7329
 
    IFS="$lt_save_ifs"
7330
 
    test -z "$ac_dir" && ac_dir=.
7331
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
7332
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7333
 
      if test -n "$file_magic_test_file"; then
7334
 
        case $deplibs_check_method in
7335
 
        "file_magic "*)
7336
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7337
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7338
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7339
 
            $EGREP "$file_magic_regex" > /dev/null; then
7340
 
            :
7341
 
          else
7342
 
            cat <<EOF 1>&2
7343
 
 
7344
 
*** Warning: the command libtool uses to detect shared libraries,
7345
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7346
 
*** The result is that libtool may fail to recognize shared libraries
7347
 
*** as such.  This will affect the creation of libtool libraries that
7348
 
*** depend on shared libraries, but programs linked with such libtool
7349
 
*** libraries will work regardless of this problem.  Nevertheless, you
7350
 
*** may want to report the problem to your system manager and/or to
7351
 
*** bug-libtool@gnu.org
7352
 
 
7353
 
EOF
7354
 
          fi ;;
7355
 
        esac
7356
 
      fi
7357
 
      break
7358
 
    fi
7359
 
  done
7360
 
  IFS="$lt_save_ifs"
7361
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7362
 
  ;;
7363
 
esac
7364
 
fi
7365
 
 
7366
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7367
 
if test -n "$MAGIC_CMD"; then
7368
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7369
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
7370
 
else
7371
 
  { echo "$as_me:$LINENO: result: no" >&5
7372
 
echo "${ECHO_T}no" >&6; }
7373
 
fi
7374
 
 
7375
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
7376
 
  if test -n "$ac_tool_prefix"; then
7377
 
    { echo "$as_me:$LINENO: checking for file" >&5
7378
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7379
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7380
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7381
 
else
7382
 
  case $MAGIC_CMD in
7383
 
[\\/*] |  ?:[\\/]*)
7384
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7385
 
  ;;
7386
 
*)
7387
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7388
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7389
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7390
 
  for ac_dir in $ac_dummy; do
7391
 
    IFS="$lt_save_ifs"
7392
 
    test -z "$ac_dir" && ac_dir=.
7393
 
    if test -f $ac_dir/file; then
7394
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7395
 
      if test -n "$file_magic_test_file"; then
7396
 
        case $deplibs_check_method in
7397
 
        "file_magic "*)
7398
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7399
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7400
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7401
 
            $EGREP "$file_magic_regex" > /dev/null; then
7402
 
            :
7403
 
          else
7404
 
            cat <<EOF 1>&2
7405
 
 
7406
 
*** Warning: the command libtool uses to detect shared libraries,
7407
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7408
 
*** The result is that libtool may fail to recognize shared libraries
7409
 
*** as such.  This will affect the creation of libtool libraries that
7410
 
*** depend on shared libraries, but programs linked with such libtool
7411
 
*** libraries will work regardless of this problem.  Nevertheless, you
7412
 
*** may want to report the problem to your system manager and/or to
7413
 
*** bug-libtool@gnu.org
7414
 
 
7415
 
EOF
7416
 
          fi ;;
7417
 
        esac
7418
 
      fi
7419
 
      break
7420
 
    fi
7421
 
  done
7422
 
  IFS="$lt_save_ifs"
7423
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7424
 
  ;;
7425
 
esac
7426
 
fi
7427
 
 
7428
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7429
 
if test -n "$MAGIC_CMD"; then
7430
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7431
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
7432
 
else
7433
 
  { echo "$as_me:$LINENO: result: no" >&5
7434
 
echo "${ECHO_T}no" >&6; }
7435
 
fi
7436
 
 
7437
 
  else
7438
 
    MAGIC_CMD=:
7439
 
  fi
7440
 
fi
7441
 
 
7442
 
  fi
7443
 
  ;;
7444
 
esac
7445
 
 
7446
 
enable_dlopen=no
7447
 
enable_win32_dll=yes
7448
 
 
7449
 
# Check whether --enable-libtool-lock was given.
7450
 
if test "${enable_libtool_lock+set}" = set; then
7451
 
  enableval=$enable_libtool_lock;
7452
 
fi
7453
 
 
7454
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7455
 
 
7456
 
 
7457
 
# Check whether --with-pic was given.
7458
 
if test "${with_pic+set}" = set; then
7459
 
  withval=$with_pic; pic_mode="$withval"
7460
 
else
7461
 
  pic_mode=default
7462
 
fi
7463
 
 
7464
 
test -z "$pic_mode" && pic_mode=default
7465
 
 
7466
 
# Use C for the default configuration in the libtool script
7467
 
tagname=
7468
 
lt_save_CC="$CC"
7469
 
ac_ext=c
7470
 
ac_cpp='$CPP $CPPFLAGS'
7471
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7472
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7473
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7474
 
 
7475
 
 
7476
 
# Source file extension for C test sources.
7477
 
ac_ext=c
7478
 
 
7479
 
# Object file extension for compiled C test sources.
7480
 
objext=o
7481
 
objext=$objext
7482
 
 
7483
 
# Code to be used in simple compile tests
7484
 
lt_simple_compile_test_code="int some_variable = 0;\n"
7485
 
 
7486
 
# Code to be used in simple link tests
7487
 
lt_simple_link_test_code='int main(){return(0);}\n'
7488
 
 
7489
 
 
7490
 
# If no C compiler was specified, use CC.
7491
 
LTCC=${LTCC-"$CC"}
7492
 
 
7493
 
# If no C compiler flags were specified, use CFLAGS.
7494
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7495
 
 
7496
 
# Allow CC to be a program name with arguments.
7497
 
compiler=$CC
7498
 
 
7499
 
 
7500
 
# save warnings/boilerplate of simple test code
7501
 
ac_outfile=conftest.$ac_objext
7502
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
7503
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7504
 
_lt_compiler_boilerplate=`cat conftest.err`
7505
 
$rm conftest*
7506
 
 
7507
 
ac_outfile=conftest.$ac_objext
7508
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
7509
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7510
 
_lt_linker_boilerplate=`cat conftest.err`
7511
 
$rm conftest*
7512
 
 
7513
 
 
7514
 
## CAVEAT EMPTOR:
7515
 
## There is no encapsulation within the following macros, do not change
7516
 
## the running order or otherwise move them around unless you know exactly
7517
 
## what you are doing...
7518
 
 
7519
 
lt_prog_compiler_no_builtin_flag=
7520
 
 
7521
 
if test "$GCC" = yes; then
7522
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7523
 
 
7524
 
 
7525
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7526
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7527
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7528
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7529
 
else
7530
 
  lt_cv_prog_compiler_rtti_exceptions=no
7531
 
  ac_outfile=conftest.$ac_objext
7532
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7533
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
7534
 
   # Insert the option either (1) after the last *FLAGS variable, or
7535
 
   # (2) before a word containing "conftest.", or (3) at the end.
7536
 
   # Note that $ac_compile itself does not contain backslashes and begins
7537
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7538
 
   # The option is referenced via a variable to avoid confusing sed.
7539
 
   lt_compile=`echo "$ac_compile" | $SED \
7540
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7541
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7542
 
   -e 's:$: $lt_compiler_flag:'`
7543
 
   (eval echo "\"\$as_me:7543: $lt_compile\"" >&5)
7544
 
   (eval "$lt_compile" 2>conftest.err)
7545
 
   ac_status=$?
7546
 
   cat conftest.err >&5
7547
 
   echo "$as_me:7547: \$? = $ac_status" >&5
7548
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
7549
 
     # The compiler can only warn and ignore the option if not recognized
7550
 
     # So say no if there are warnings other than the usual output.
7551
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7552
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7553
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7554
 
       lt_cv_prog_compiler_rtti_exceptions=yes
7555
 
     fi
7556
 
   fi
7557
 
   $rm conftest*
7558
 
 
7559
 
fi
7560
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7561
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7562
 
 
7563
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7564
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7565
 
else
7566
 
    :
7567
 
fi
7568
 
 
7569
 
fi
7570
 
 
7571
 
lt_prog_compiler_wl=
7572
 
lt_prog_compiler_pic=
7573
 
lt_prog_compiler_static=
7574
 
 
7575
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7576
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7577
 
 
7578
 
  if test "$GCC" = yes; then
7579
 
    lt_prog_compiler_wl='-Wl,'
7580
 
    lt_prog_compiler_static='-static'
7581
 
 
7582
 
    case $host_os in
7583
 
      aix*)
7584
 
      # All AIX code is PIC.
7585
 
      if test "$host_cpu" = ia64; then
7586
 
        # AIX 5 now supports IA64 processor
7587
 
        lt_prog_compiler_static='-Bstatic'
7588
 
      fi
7589
 
      ;;
7590
 
 
7591
 
    amigaos*)
7592
 
      # FIXME: we need at least 68020 code to build shared libraries, but
7593
 
      # adding the `-m68020' flag to GCC prevents building anything better,
7594
 
      # like `-m68040'.
7595
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7596
 
      ;;
7597
 
 
7598
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7599
 
      # PIC is the default for these OSes.
7600
 
      ;;
7601
 
 
7602
 
    mingw* | pw32* | os2*)
7603
 
      # This hack is so that the source file can tell whether it is being
7604
 
      # built for inclusion in a dll (and should export symbols for example).
7605
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
7606
 
      ;;
7607
 
 
7608
 
    darwin* | rhapsody*)
7609
 
      # PIC is the default on this platform
7610
 
      # Common symbols not allowed in MH_DYLIB files
7611
 
      lt_prog_compiler_pic='-fno-common'
7612
 
      ;;
7613
 
 
7614
 
    interix3*)
7615
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7616
 
      # Instead, we relocate shared libraries at runtime.
7617
 
      ;;
7618
 
 
7619
 
    msdosdjgpp*)
7620
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
7621
 
      # on systems that don't support them.
7622
 
      lt_prog_compiler_can_build_shared=no
7623
 
      enable_shared=no
7624
 
      ;;
7625
 
 
7626
 
    sysv4*MP*)
7627
 
      if test -d /usr/nec; then
7628
 
        lt_prog_compiler_pic=-Kconform_pic
7629
 
      fi
7630
 
      ;;
7631
 
 
7632
 
    hpux*)
7633
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7634
 
      # not for PA HP-UX.
7635
 
      case $host_cpu in
7636
 
      hppa*64*|ia64*)
7637
 
        # +Z the default
7638
 
        ;;
7639
 
      *)
7640
 
        lt_prog_compiler_pic='-fPIC'
7641
 
        ;;
7642
 
      esac
7643
 
      ;;
7644
 
 
7645
 
    *)
7646
 
      lt_prog_compiler_pic='-fPIC'
7647
 
      ;;
7648
 
    esac
7649
 
  else
7650
 
    # PORTME Check for flag to pass linker flags through the system compiler.
7651
 
    case $host_os in
7652
 
    aix*)
7653
 
      lt_prog_compiler_wl='-Wl,'
7654
 
      if test "$host_cpu" = ia64; then
7655
 
        # AIX 5 now supports IA64 processor
7656
 
        lt_prog_compiler_static='-Bstatic'
7657
 
      else
7658
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7659
 
      fi
7660
 
      ;;
7661
 
      darwin*)
7662
 
        # PIC is the default on this platform
7663
 
        # Common symbols not allowed in MH_DYLIB files
7664
 
       case $cc_basename in
7665
 
         xlc*)
7666
 
         lt_prog_compiler_pic='-qnocommon'
7667
 
         lt_prog_compiler_wl='-Wl,'
7668
 
         ;;
7669
 
       esac
7670
 
       ;;
7671
 
 
7672
 
    mingw* | pw32* | os2*)
7673
 
      # This hack is so that the source file can tell whether it is being
7674
 
      # built for inclusion in a dll (and should export symbols for example).
7675
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
7676
 
      ;;
7677
 
 
7678
 
    hpux9* | hpux10* | hpux11*)
7679
 
      lt_prog_compiler_wl='-Wl,'
7680
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7681
 
      # not for PA HP-UX.
7682
 
      case $host_cpu in
7683
 
      hppa*64*|ia64*)
7684
 
        # +Z the default
7685
 
        ;;
7686
 
      *)
7687
 
        lt_prog_compiler_pic='+Z'
7688
 
        ;;
7689
 
      esac
7690
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
7691
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
7692
 
      ;;
7693
 
 
7694
 
    irix5* | irix6* | nonstopux*)
7695
 
      lt_prog_compiler_wl='-Wl,'
7696
 
      # PIC (with -KPIC) is the default.
7697
 
      lt_prog_compiler_static='-non_shared'
7698
 
      ;;
7699
 
 
7700
 
    newsos6)
7701
 
      lt_prog_compiler_pic='-KPIC'
7702
 
      lt_prog_compiler_static='-Bstatic'
7703
 
      ;;
7704
 
 
7705
 
    linux* | k*bsd*-gnu)
7706
 
      case $cc_basename in
7707
 
      icc* | ecc*)
7708
 
        lt_prog_compiler_wl='-Wl,'
7709
 
        lt_prog_compiler_pic='-KPIC'
7710
 
        lt_prog_compiler_static='-static'
7711
 
        ;;
7712
 
      pgcc* | pgf77* | pgf90* | pgf95*)
7713
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
7714
 
        # which looks to be a dead project)
7715
 
        lt_prog_compiler_wl='-Wl,'
7716
 
        lt_prog_compiler_pic='-fpic'
7717
 
        lt_prog_compiler_static='-Bstatic'
7718
 
        ;;
7719
 
      ccc*)
7720
 
        lt_prog_compiler_wl='-Wl,'
7721
 
        # All Alpha code is PIC.
7722
 
        lt_prog_compiler_static='-non_shared'
7723
 
        ;;
7724
 
      esac
7725
 
      ;;
7726
 
 
7727
 
    osf3* | osf4* | osf5*)
7728
 
      lt_prog_compiler_wl='-Wl,'
7729
 
      # All OSF/1 code is PIC.
7730
 
      lt_prog_compiler_static='-non_shared'
7731
 
      ;;
7732
 
 
7733
 
    solaris*)
7734
 
      lt_prog_compiler_pic='-KPIC'
7735
 
      lt_prog_compiler_static='-Bstatic'
7736
 
      case $cc_basename in
7737
 
      f77* | f90* | f95*)
7738
 
        lt_prog_compiler_wl='-Qoption ld ';;
7739
 
      *)
7740
 
        lt_prog_compiler_wl='-Wl,';;
7741
 
      esac
7742
 
      ;;
7743
 
 
7744
 
    sunos4*)
7745
 
      lt_prog_compiler_wl='-Qoption ld '
7746
 
      lt_prog_compiler_pic='-PIC'
7747
 
      lt_prog_compiler_static='-Bstatic'
7748
 
      ;;
7749
 
 
7750
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
7751
 
      lt_prog_compiler_wl='-Wl,'
7752
 
      lt_prog_compiler_pic='-KPIC'
7753
 
      lt_prog_compiler_static='-Bstatic'
7754
 
      ;;
7755
 
 
7756
 
    sysv4*MP*)
7757
 
      if test -d /usr/nec ;then
7758
 
        lt_prog_compiler_pic='-Kconform_pic'
7759
 
        lt_prog_compiler_static='-Bstatic'
7760
 
      fi
7761
 
      ;;
7762
 
 
7763
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7764
 
      lt_prog_compiler_wl='-Wl,'
7765
 
      lt_prog_compiler_pic='-KPIC'
7766
 
      lt_prog_compiler_static='-Bstatic'
7767
 
      ;;
7768
 
 
7769
 
    unicos*)
7770
 
      lt_prog_compiler_wl='-Wl,'
7771
 
      lt_prog_compiler_can_build_shared=no
7772
 
      ;;
7773
 
 
7774
 
    uts4*)
7775
 
      lt_prog_compiler_pic='-pic'
7776
 
      lt_prog_compiler_static='-Bstatic'
7777
 
      ;;
7778
 
 
7779
 
    *)
7780
 
      lt_prog_compiler_can_build_shared=no
7781
 
      ;;
7782
 
    esac
7783
 
  fi
7784
 
 
7785
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7786
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7787
 
 
7788
 
#
7789
 
# Check to make sure the PIC flag actually works.
7790
 
#
7791
 
if test -n "$lt_prog_compiler_pic"; then
7792
 
 
7793
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7794
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7795
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
7796
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7797
 
else
7798
 
  lt_prog_compiler_pic_works=no
7799
 
  ac_outfile=conftest.$ac_objext
7800
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7801
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7802
 
   # Insert the option either (1) after the last *FLAGS variable, or
7803
 
   # (2) before a word containing "conftest.", or (3) at the end.
7804
 
   # Note that $ac_compile itself does not contain backslashes and begins
7805
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7806
 
   # The option is referenced via a variable to avoid confusing sed.
7807
 
   lt_compile=`echo "$ac_compile" | $SED \
7808
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7809
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7810
 
   -e 's:$: $lt_compiler_flag:'`
7811
 
   (eval echo "\"\$as_me:7811: $lt_compile\"" >&5)
7812
 
   (eval "$lt_compile" 2>conftest.err)
7813
 
   ac_status=$?
7814
 
   cat conftest.err >&5
7815
 
   echo "$as_me:7815: \$? = $ac_status" >&5
7816
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
7817
 
     # The compiler can only warn and ignore the option if not recognized
7818
 
     # So say no if there are warnings other than the usual output.
7819
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7820
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7821
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7822
 
       lt_prog_compiler_pic_works=yes
7823
 
     fi
7824
 
   fi
7825
 
   $rm conftest*
7826
 
 
7827
 
fi
7828
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7829
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7830
 
 
7831
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
7832
 
    case $lt_prog_compiler_pic in
7833
 
     "" | " "*) ;;
7834
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7835
 
     esac
7836
 
else
7837
 
    lt_prog_compiler_pic=
7838
 
     lt_prog_compiler_can_build_shared=no
7839
 
fi
7840
 
 
7841
 
fi
7842
 
case $host_os in
7843
 
  # For platforms which do not support PIC, -DPIC is meaningless:
7844
 
  *djgpp*)
7845
 
    lt_prog_compiler_pic=
7846
 
    ;;
7847
 
  *)
7848
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7849
 
    ;;
7850
 
esac
7851
 
 
7852
 
#
7853
 
# Check to make sure the static flag actually works.
7854
 
#
7855
 
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7856
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7857
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7858
 
if test "${lt_prog_compiler_static_works+set}" = set; then
7859
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7860
 
else
7861
 
  lt_prog_compiler_static_works=no
7862
 
   save_LDFLAGS="$LDFLAGS"
7863
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7864
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
7865
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7866
 
     # The linker can only warn and ignore the option if not recognized
7867
 
     # So say no if there are warnings
7868
 
     if test -s conftest.err; then
7869
 
       # Append any errors to the config.log.
7870
 
       cat conftest.err 1>&5
7871
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7872
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7873
 
       if diff conftest.exp conftest.er2 >/dev/null; then
7874
 
         lt_prog_compiler_static_works=yes
7875
 
       fi
7876
 
     else
7877
 
       lt_prog_compiler_static_works=yes
7878
 
     fi
7879
 
   fi
7880
 
   $rm conftest*
7881
 
   LDFLAGS="$save_LDFLAGS"
7882
 
 
7883
 
fi
7884
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7885
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7886
 
 
7887
 
if test x"$lt_prog_compiler_static_works" = xyes; then
7888
 
    :
7889
 
else
7890
 
    lt_prog_compiler_static=
7891
 
fi
7892
 
 
7893
 
 
7894
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7895
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7896
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7897
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7898
 
else
7899
 
  lt_cv_prog_compiler_c_o=no
7900
 
   $rm -r conftest 2>/dev/null
7901
 
   mkdir conftest
7902
 
   cd conftest
7903
 
   mkdir out
7904
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7905
 
 
7906
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7907
 
   # Insert the option either (1) after the last *FLAGS variable, or
7908
 
   # (2) before a word containing "conftest.", or (3) at the end.
7909
 
   # Note that $ac_compile itself does not contain backslashes and begins
7910
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7911
 
   lt_compile=`echo "$ac_compile" | $SED \
7912
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7913
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7914
 
   -e 's:$: $lt_compiler_flag:'`
7915
 
   (eval echo "\"\$as_me:7915: $lt_compile\"" >&5)
7916
 
   (eval "$lt_compile" 2>out/conftest.err)
7917
 
   ac_status=$?
7918
 
   cat out/conftest.err >&5
7919
 
   echo "$as_me:7919: \$? = $ac_status" >&5
7920
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7921
 
   then
7922
 
     # The compiler can only warn and ignore the option if not recognized
7923
 
     # So say no if there are warnings
7924
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7925
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7926
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7927
 
       lt_cv_prog_compiler_c_o=yes
7928
 
     fi
7929
 
   fi
7930
 
   chmod u+w . 2>&5
7931
 
   $rm conftest*
7932
 
   # SGI C++ compiler will create directory out/ii_files/ for
7933
 
   # template instantiation
7934
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
7935
 
   $rm out/* && rmdir out
7936
 
   cd ..
7937
 
   rmdir conftest
7938
 
   $rm conftest*
7939
 
 
7940
 
fi
7941
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7942
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7943
 
 
7944
 
 
7945
 
hard_links="nottested"
7946
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7947
 
  # do not overwrite the value of need_locks provided by the user
7948
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7949
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7950
 
  hard_links=yes
7951
 
  $rm conftest*
7952
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7953
 
  touch conftest.a
7954
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
7955
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7956
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
7957
 
echo "${ECHO_T}$hard_links" >&6; }
7958
 
  if test "$hard_links" = no; then
7959
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7960
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7961
 
    need_locks=warn
7962
 
  fi
7963
 
else
7964
 
  need_locks=no
7965
 
fi
7966
 
 
7967
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7968
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7969
 
 
7970
 
  runpath_var=
7971
 
  allow_undefined_flag=
7972
 
  enable_shared_with_static_runtimes=no
7973
 
  archive_cmds=
7974
 
  archive_expsym_cmds=
7975
 
  old_archive_From_new_cmds=
7976
 
  old_archive_from_expsyms_cmds=
7977
 
  export_dynamic_flag_spec=
7978
 
  whole_archive_flag_spec=
7979
 
  thread_safe_flag_spec=
7980
 
  hardcode_libdir_flag_spec=
7981
 
  hardcode_libdir_flag_spec_ld=
7982
 
  hardcode_libdir_separator=
7983
 
  hardcode_direct=no
7984
 
  hardcode_minus_L=no
7985
 
  hardcode_shlibpath_var=unsupported
7986
 
  link_all_deplibs=unknown
7987
 
  hardcode_automatic=no
7988
 
  module_cmds=
7989
 
  module_expsym_cmds=
7990
 
  always_export_symbols=no
7991
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7992
 
  # include_expsyms should be a list of space-separated symbols to be *always*
7993
 
  # included in the symbol list
7994
 
  include_expsyms=
7995
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
7996
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
7997
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7998
 
  # as well as any symbol that contains `d'.
7999
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
8000
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8001
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
8002
 
  # the symbol is explicitly referenced.  Since portable code cannot
8003
 
  # rely on this symbol name, it's probably fine to never include it in
8004
 
  # preloaded symbol tables.
8005
 
  extract_expsyms_cmds=
8006
 
  # Just being paranoid about ensuring that cc_basename is set.
8007
 
  for cc_temp in $compiler""; do
8008
 
  case $cc_temp in
8009
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8010
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8011
 
    \-*) ;;
8012
 
    *) break;;
8013
 
  esac
8014
 
done
8015
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8016
 
 
8017
 
  case $host_os in
8018
 
  cygwin* | mingw* | pw32*)
8019
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8020
 
    # When not using gcc, we currently assume that we are using
8021
 
    # Microsoft Visual C++.
8022
 
    if test "$GCC" != yes; then
8023
 
      with_gnu_ld=no
8024
 
    fi
8025
 
    ;;
8026
 
  interix*)
8027
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
8028
 
    with_gnu_ld=yes
8029
 
    ;;
8030
 
  openbsd*)
8031
 
    with_gnu_ld=no
8032
 
    ;;
8033
 
  esac
8034
 
 
8035
 
  ld_shlibs=yes
8036
 
  if test "$with_gnu_ld" = yes; then
8037
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
8038
 
    wlarc='${wl}'
8039
 
 
8040
 
    # Set some defaults for GNU ld with shared library support. These
8041
 
    # are reset later if shared libraries are not supported. Putting them
8042
 
    # here allows them to be overridden if necessary.
8043
 
    runpath_var=LD_RUN_PATH
8044
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
8045
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
8046
 
    # ancient GNU ld didn't support --whole-archive et. al.
8047
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
8048
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8049
 
      else
8050
 
        whole_archive_flag_spec=
8051
 
    fi
8052
 
    supports_anon_versioning=no
8053
 
    case `$LD -v 2>/dev/null` in
8054
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8055
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8056
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8057
 
      *\ 2.11.*) ;; # other 2.11 versions
8058
 
      *) supports_anon_versioning=yes ;;
8059
 
    esac
8060
 
 
8061
 
    # See if GNU ld supports shared libraries.
8062
 
    case $host_os in
8063
 
    aix3* | aix4* | aix5*)
8064
 
      # On AIX/PPC, the GNU linker is very broken
8065
 
      if test "$host_cpu" != ia64; then
8066
 
        ld_shlibs=no
8067
 
        cat <<EOF 1>&2
8068
 
 
8069
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8070
 
*** to be unable to reliably create shared libraries on AIX.
8071
 
*** Therefore, libtool is disabling shared libraries support.  If you
8072
 
*** really care for shared libraries, you may want to modify your PATH
8073
 
*** so that a non-GNU linker is found, and then restart.
8074
 
 
8075
 
EOF
8076
 
      fi
8077
 
      ;;
8078
 
 
8079
 
    amigaos*)
8080
 
      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)'
8081
 
      hardcode_libdir_flag_spec='-L$libdir'
8082
 
      hardcode_minus_L=yes
8083
 
 
8084
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8085
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
8086
 
      # to version 4, is to share data among multiple programs linked
8087
 
      # with the same dynamic library.  Since this doesn't match the
8088
 
      # behavior of shared libraries on other platforms, we can't use
8089
 
      # them.
8090
 
      ld_shlibs=no
8091
 
      ;;
8092
 
 
8093
 
    beos*)
8094
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8095
 
        allow_undefined_flag=unsupported
8096
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8097
 
        # support --undefined.  This deserves some investigation.  FIXME
8098
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8099
 
      else
8100
 
        ld_shlibs=no
8101
 
      fi
8102
 
      ;;
8103
 
 
8104
 
    cygwin* | mingw* | pw32*)
8105
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8106
 
      # as there is no search path for DLLs.
8107
 
      hardcode_libdir_flag_spec='-L$libdir'
8108
 
      allow_undefined_flag=unsupported
8109
 
      always_export_symbols=no
8110
 
      enable_shared_with_static_runtimes=yes
8111
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
8112
 
 
8113
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
8114
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8115
 
        # If the export-symbols file already is a .def file (1st line
8116
 
        # is EXPORTS), use it as is; otherwise, prepend...
8117
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8118
 
          cp $export_symbols $output_objdir/$soname.def;
8119
 
        else
8120
 
          echo EXPORTS > $output_objdir/$soname.def;
8121
 
          cat $export_symbols >> $output_objdir/$soname.def;
8122
 
        fi~
8123
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8124
 
      else
8125
 
        ld_shlibs=no
8126
 
      fi
8127
 
      ;;
8128
 
 
8129
 
    interix3*)
8130
 
      hardcode_direct=no
8131
 
      hardcode_shlibpath_var=no
8132
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8133
 
      export_dynamic_flag_spec='${wl}-E'
8134
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8135
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
8136
 
      # default) and relocated if they conflict, which is a slow very memory
8137
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
8138
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8139
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8140
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8141
 
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8142
 
      ;;
8143
 
 
8144
 
    linux* | k*bsd*-gnu)
8145
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8146
 
        tmp_addflag=
8147
 
        case $cc_basename,$host_cpu in
8148
 
        pgcc*)                          # Portland Group C compiler
8149
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8150
 
          tmp_addflag=' $pic_flag'
8151
 
          ;;
8152
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8153
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8154
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
8155
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
8156
 
          tmp_addflag=' -i_dynamic' ;;
8157
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8158
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
8159
 
        ifc* | ifort*)                  # Intel Fortran compiler
8160
 
          tmp_addflag=' -nofor_main' ;;
8161
 
        esac
8162
 
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8163
 
 
8164
 
        if test $supports_anon_versioning = yes; then
8165
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8166
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8167
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
8168
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8169
 
        fi
8170
 
        link_all_deplibs=no
8171
 
      else
8172
 
        ld_shlibs=no
8173
 
      fi
8174
 
      ;;
8175
 
 
8176
 
    netbsd* | netbsdelf*-gnu)
8177
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8178
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8179
 
        wlarc=
8180
 
      else
8181
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8182
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8183
 
      fi
8184
 
      ;;
8185
 
 
8186
 
    solaris*)
8187
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
8188
 
        ld_shlibs=no
8189
 
        cat <<EOF 1>&2
8190
 
 
8191
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8192
 
*** create shared libraries on Solaris systems.  Therefore, libtool
8193
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
8194
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
8195
 
*** your PATH or compiler configuration so that the native linker is
8196
 
*** used, and then restart.
8197
 
 
8198
 
EOF
8199
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8200
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8201
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8202
 
      else
8203
 
        ld_shlibs=no
8204
 
      fi
8205
 
      ;;
8206
 
 
8207
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8208
 
      case `$LD -v 2>&1` in
8209
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8210
 
        ld_shlibs=no
8211
 
        cat <<_LT_EOF 1>&2
8212
 
 
8213
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8214
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
8215
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
8216
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8217
 
*** your PATH or compiler configuration so that the native linker is
8218
 
*** used, and then restart.
8219
 
 
8220
 
_LT_EOF
8221
 
        ;;
8222
 
        *)
8223
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8224
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8225
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8226
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8227
 
          else
8228
 
            ld_shlibs=no
8229
 
          fi
8230
 
        ;;
8231
 
      esac
8232
 
      ;;
8233
 
 
8234
 
    sunos4*)
8235
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8236
 
      wlarc=
8237
 
      hardcode_direct=yes
8238
 
      hardcode_shlibpath_var=no
8239
 
      ;;
8240
 
 
8241
 
    *)
8242
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8243
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8244
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8245
 
      else
8246
 
        ld_shlibs=no
8247
 
      fi
8248
 
      ;;
8249
 
    esac
8250
 
 
8251
 
    if test "$ld_shlibs" = no; then
8252
 
      runpath_var=
8253
 
      hardcode_libdir_flag_spec=
8254
 
      export_dynamic_flag_spec=
8255
 
      whole_archive_flag_spec=
8256
 
    fi
8257
 
  else
8258
 
    # PORTME fill in a description of your system's linker (not GNU ld)
8259
 
    case $host_os in
8260
 
    aix3*)
8261
 
      allow_undefined_flag=unsupported
8262
 
      always_export_symbols=yes
8263
 
      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'
8264
 
      # Note: this linker hardcodes the directories in LIBPATH if there
8265
 
      # are no directories specified by -L.
8266
 
      hardcode_minus_L=yes
8267
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8268
 
        # Neither direct hardcoding nor static linking is supported with a
8269
 
        # broken collect2.
8270
 
        hardcode_direct=unsupported
8271
 
      fi
8272
 
      ;;
8273
 
 
8274
 
    aix4* | aix5*)
8275
 
      if test "$host_cpu" = ia64; then
8276
 
        # On IA64, the linker does run time linking by default, so we don't
8277
 
        # have to do anything special.
8278
 
        aix_use_runtimelinking=no
8279
 
        exp_sym_flag='-Bexport'
8280
 
        no_entry_flag=""
8281
 
      else
8282
 
        # If we're using GNU nm, then we don't want the "-C" option.
8283
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
8284
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
8285
 
          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'
8286
 
        else
8287
 
          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'
8288
 
        fi
8289
 
        aix_use_runtimelinking=no
8290
 
 
8291
 
        # Test if we are trying to use run time linking or normal
8292
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8293
 
        # need to do runtime linking.
8294
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
8295
 
          for ld_flag in $LDFLAGS; do
8296
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8297
 
            aix_use_runtimelinking=yes
8298
 
            break
8299
 
          fi
8300
 
          done
8301
 
          ;;
8302
 
        esac
8303
 
 
8304
 
        exp_sym_flag='-bexport'
8305
 
        no_entry_flag='-bnoentry'
8306
 
      fi
8307
 
 
8308
 
      # When large executables or shared objects are built, AIX ld can
8309
 
      # have problems creating the table of contents.  If linking a library
8310
 
      # or program results in "error TOC overflow" add -mminimal-toc to
8311
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8312
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8313
 
 
8314
 
      archive_cmds=''
8315
 
      hardcode_direct=yes
8316
 
      hardcode_libdir_separator=':'
8317
 
      link_all_deplibs=yes
8318
 
 
8319
 
      if test "$GCC" = yes; then
8320
 
        case $host_os in aix4.[012]|aix4.[012].*)
8321
 
        # We only want to do this on AIX 4.2 and lower, the check
8322
 
        # below for broken collect2 doesn't work under 4.3+
8323
 
          collect2name=`${CC} -print-prog-name=collect2`
8324
 
          if test -f "$collect2name" && \
8325
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
8326
 
          then
8327
 
          # We have reworked collect2
8328
 
          hardcode_direct=yes
8329
 
          else
8330
 
          # We have old collect2
8331
 
          hardcode_direct=unsupported
8332
 
          # It fails to find uninstalled libraries when the uninstalled
8333
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
8334
 
          # to unsupported forces relinking
8335
 
          hardcode_minus_L=yes
8336
 
          hardcode_libdir_flag_spec='-L$libdir'
8337
 
          hardcode_libdir_separator=
8338
 
          fi
8339
 
          ;;
8340
 
        esac
8341
 
        shared_flag='-shared'
8342
 
        if test "$aix_use_runtimelinking" = yes; then
8343
 
          shared_flag="$shared_flag "'${wl}-G'
8344
 
        fi
8345
 
      else
8346
 
        # not using gcc
8347
 
        if test "$host_cpu" = ia64; then
8348
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8349
 
        # chokes on -Wl,-G. The following line is correct:
8350
 
          shared_flag='-G'
8351
 
        else
8352
 
          if test "$aix_use_runtimelinking" = yes; then
8353
 
            shared_flag='${wl}-G'
8354
 
          else
8355
 
            shared_flag='${wl}-bM:SRE'
8356
 
          fi
8357
 
        fi
8358
 
      fi
8359
 
 
8360
 
      # It seems that -bexpall does not export symbols beginning with
8361
 
      # underscore (_), so it is better to generate a list of symbols to export.
8362
 
      always_export_symbols=yes
8363
 
      if test "$aix_use_runtimelinking" = yes; then
8364
 
        # Warning - without using the other runtime loading flags (-brtl),
8365
 
        # -berok will link without error, but may produce a broken library.
8366
 
        allow_undefined_flag='-berok'
8367
 
       # Determine the default libpath from the value encoded in an empty executable.
8368
 
       cat >conftest.$ac_ext <<_ACEOF
8369
 
/* confdefs.h.  */
8370
 
_ACEOF
8371
 
cat confdefs.h >>conftest.$ac_ext
8372
 
cat >>conftest.$ac_ext <<_ACEOF
8373
 
/* end confdefs.h.  */
8374
 
 
8375
 
int
8376
 
main ()
8377
 
{
8378
 
 
8379
 
  ;
8380
 
  return 0;
8381
 
}
8382
 
_ACEOF
8383
 
rm -f conftest.$ac_objext conftest$ac_exeext
8384
 
if { (ac_try="$ac_link"
8385
 
case "(($ac_try" in
8386
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8387
 
  *) ac_try_echo=$ac_try;;
8388
 
esac
8389
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8390
 
  (eval "$ac_link") 2>conftest.er1
8391
 
  ac_status=$?
8392
 
  grep -v '^ *+' conftest.er1 >conftest.err
8393
 
  rm -f conftest.er1
8394
 
  cat conftest.err >&5
8395
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8396
 
  (exit $ac_status); } && {
8397
 
         test -z "$ac_c_werror_flag" ||
8398
 
         test ! -s conftest.err
8399
 
       } && test -s conftest$ac_exeext &&
8400
 
       $as_test_x conftest$ac_exeext; then
8401
 
 
8402
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8403
 
}'`
8404
 
# Check for a 64-bit object if we didn't find anything.
8405
 
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; }
8406
 
}'`; fi
8407
 
else
8408
 
  echo "$as_me: failed program was:" >&5
8409
 
sed 's/^/| /' conftest.$ac_ext >&5
8410
 
 
8411
 
 
8412
 
fi
8413
 
 
8414
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8415
 
      conftest$ac_exeext conftest.$ac_ext
8416
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8417
 
 
8418
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8419
 
        archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8420
 
       else
8421
 
        if test "$host_cpu" = ia64; then
8422
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8423
 
          allow_undefined_flag="-z nodefs"
8424
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
8425
 
        else
8426
 
         # Determine the default libpath from the value encoded in an empty executable.
8427
 
         cat >conftest.$ac_ext <<_ACEOF
8428
 
/* confdefs.h.  */
8429
 
_ACEOF
8430
 
cat confdefs.h >>conftest.$ac_ext
8431
 
cat >>conftest.$ac_ext <<_ACEOF
8432
 
/* end confdefs.h.  */
8433
 
 
8434
 
int
8435
 
main ()
8436
 
{
8437
 
 
8438
 
  ;
8439
 
  return 0;
8440
 
}
8441
 
_ACEOF
8442
 
rm -f conftest.$ac_objext conftest$ac_exeext
8443
 
if { (ac_try="$ac_link"
8444
 
case "(($ac_try" in
8445
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8446
 
  *) ac_try_echo=$ac_try;;
8447
 
esac
8448
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8449
 
  (eval "$ac_link") 2>conftest.er1
8450
 
  ac_status=$?
8451
 
  grep -v '^ *+' conftest.er1 >conftest.err
8452
 
  rm -f conftest.er1
8453
 
  cat conftest.err >&5
8454
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8455
 
  (exit $ac_status); } && {
8456
 
         test -z "$ac_c_werror_flag" ||
8457
 
         test ! -s conftest.err
8458
 
       } && test -s conftest$ac_exeext &&
8459
 
       $as_test_x conftest$ac_exeext; then
8460
 
 
8461
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8462
 
}'`
8463
 
# Check for a 64-bit object if we didn't find anything.
8464
 
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; }
8465
 
}'`; fi
8466
 
else
8467
 
  echo "$as_me: failed program was:" >&5
8468
 
sed 's/^/| /' conftest.$ac_ext >&5
8469
 
 
8470
 
 
8471
 
fi
8472
 
 
8473
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8474
 
      conftest$ac_exeext conftest.$ac_ext
8475
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8476
 
 
8477
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8478
 
          # Warning - without using the other run time loading flags,
8479
 
          # -berok will link without error, but may produce a broken library.
8480
 
          no_undefined_flag=' ${wl}-bernotok'
8481
 
          allow_undefined_flag=' ${wl}-berok'
8482
 
          # Exported symbols can be pulled into shared objects from archives
8483
 
          whole_archive_flag_spec='$convenience'
8484
 
          archive_cmds_need_lc=yes
8485
 
          # This is similar to how AIX traditionally builds its shared libraries.
8486
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8487
 
        fi
8488
 
      fi
8489
 
      ;;
8490
 
 
8491
 
    amigaos*)
8492
 
      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)'
8493
 
      hardcode_libdir_flag_spec='-L$libdir'
8494
 
      hardcode_minus_L=yes
8495
 
      # see comment about different semantics on the GNU ld section
8496
 
      ld_shlibs=no
8497
 
      ;;
8498
 
 
8499
 
    bsdi[45]*)
8500
 
      export_dynamic_flag_spec=-rdynamic
8501
 
      ;;
8502
 
 
8503
 
    cygwin* | mingw* | pw32*)
8504
 
      # When not using gcc, we currently assume that we are using
8505
 
      # Microsoft Visual C++.
8506
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8507
 
      # no search path for DLLs.
8508
 
      hardcode_libdir_flag_spec=' '
8509
 
      allow_undefined_flag=unsupported
8510
 
      # Tell ltmain to make .lib files, not .a files.
8511
 
      libext=lib
8512
 
      # Tell ltmain to make .dll files, not .so files.
8513
 
      shrext_cmds=".dll"
8514
 
      # FIXME: Setting linknames here is a bad hack.
8515
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8516
 
      # The linker will automatically build a .lib file if we build a DLL.
8517
 
      old_archive_From_new_cmds='true'
8518
 
      # FIXME: Should let the user specify the lib program.
8519
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
8520
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8521
 
      enable_shared_with_static_runtimes=yes
8522
 
      ;;
8523
 
 
8524
 
    darwin* | rhapsody*)
8525
 
      case $host_os in
8526
 
        rhapsody* | darwin1.[012])
8527
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
8528
 
         ;;
8529
 
       *) # Darwin 1.3 on
8530
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8531
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8532
 
         else
8533
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
8534
 
             10.[012])
8535
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8536
 
               ;;
8537
 
             10.*)
8538
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8539
 
               ;;
8540
 
           esac
8541
 
         fi
8542
 
         ;;
8543
 
      esac
8544
 
      archive_cmds_need_lc=no
8545
 
      hardcode_direct=no
8546
 
      hardcode_automatic=yes
8547
 
      hardcode_shlibpath_var=unsupported
8548
 
      whole_archive_flag_spec=''
8549
 
      link_all_deplibs=yes
8550
 
    if test "$GCC" = yes ; then
8551
 
        output_verbose_link_cmd='echo'
8552
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8553
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8554
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8555
 
      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}'
8556
 
      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}'
8557
 
    else
8558
 
      case $cc_basename in
8559
 
        xlc*)
8560
 
         output_verbose_link_cmd='echo'
8561
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8562
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8563
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8564
 
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8565
 
          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}'
8566
 
          ;;
8567
 
       *)
8568
 
         ld_shlibs=no
8569
 
          ;;
8570
 
      esac
8571
 
    fi
8572
 
      ;;
8573
 
 
8574
 
    dgux*)
8575
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8576
 
      hardcode_libdir_flag_spec='-L$libdir'
8577
 
      hardcode_shlibpath_var=no
8578
 
      ;;
8579
 
 
8580
 
    freebsd1*)
8581
 
      ld_shlibs=no
8582
 
      ;;
8583
 
 
8584
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8585
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
8586
 
    # does not break anything, and helps significantly (at the cost of a little
8587
 
    # extra space).
8588
 
    freebsd2.2*)
8589
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8590
 
      hardcode_libdir_flag_spec='-R$libdir'
8591
 
      hardcode_direct=yes
8592
 
      hardcode_shlibpath_var=no
8593
 
      ;;
8594
 
 
8595
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8596
 
    freebsd2*)
8597
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8598
 
      hardcode_direct=yes
8599
 
      hardcode_minus_L=yes
8600
 
      hardcode_shlibpath_var=no
8601
 
      ;;
8602
 
 
8603
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8604
 
    freebsd* | dragonfly*)
8605
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8606
 
      hardcode_libdir_flag_spec='-R$libdir'
8607
 
      hardcode_direct=yes
8608
 
      hardcode_shlibpath_var=no
8609
 
      ;;
8610
 
 
8611
 
    hpux9*)
8612
 
      if test "$GCC" = yes; then
8613
 
        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'
8614
 
      else
8615
 
        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'
8616
 
      fi
8617
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8618
 
      hardcode_libdir_separator=:
8619
 
      hardcode_direct=yes
8620
 
 
8621
 
      # hardcode_minus_L: Not really in the search PATH,
8622
 
      # but as the default location of the library.
8623
 
      hardcode_minus_L=yes
8624
 
      export_dynamic_flag_spec='${wl}-E'
8625
 
      ;;
8626
 
 
8627
 
    hpux10*)
8628
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8629
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8630
 
      else
8631
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8632
 
      fi
8633
 
      if test "$with_gnu_ld" = no; then
8634
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8635
 
        hardcode_libdir_separator=:
8636
 
 
8637
 
        hardcode_direct=yes
8638
 
        export_dynamic_flag_spec='${wl}-E'
8639
 
 
8640
 
        # hardcode_minus_L: Not really in the search PATH,
8641
 
        # but as the default location of the library.
8642
 
        hardcode_minus_L=yes
8643
 
      fi
8644
 
      ;;
8645
 
 
8646
 
    hpux11*)
8647
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8648
 
        case $host_cpu in
8649
 
        hppa*64*)
8650
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8651
 
          ;;
8652
 
        ia64*)
8653
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8654
 
          ;;
8655
 
        *)
8656
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8657
 
          ;;
8658
 
        esac
8659
 
      else
8660
 
        case $host_cpu in
8661
 
        hppa*64*)
8662
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8663
 
          ;;
8664
 
        ia64*)
8665
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8666
 
          ;;
8667
 
        *)
8668
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8669
 
          ;;
8670
 
        esac
8671
 
      fi
8672
 
      if test "$with_gnu_ld" = no; then
8673
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8674
 
        hardcode_libdir_separator=:
8675
 
 
8676
 
        case $host_cpu in
8677
 
        hppa*64*|ia64*)
8678
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
8679
 
          hardcode_direct=no
8680
 
          hardcode_shlibpath_var=no
8681
 
          ;;
8682
 
        *)
8683
 
          hardcode_direct=yes
8684
 
          export_dynamic_flag_spec='${wl}-E'
8685
 
 
8686
 
          # hardcode_minus_L: Not really in the search PATH,
8687
 
          # but as the default location of the library.
8688
 
          hardcode_minus_L=yes
8689
 
          ;;
8690
 
        esac
8691
 
      fi
8692
 
      ;;
8693
 
 
8694
 
    irix5* | irix6* | nonstopux*)
8695
 
      if test "$GCC" = yes; then
8696
 
        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'
8697
 
      else
8698
 
        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'
8699
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
8700
 
      fi
8701
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8702
 
      hardcode_libdir_separator=:
8703
 
      link_all_deplibs=yes
8704
 
      ;;
8705
 
 
8706
 
    netbsd* | netbsdelf*-gnu)
8707
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8708
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8709
 
      else
8710
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8711
 
      fi
8712
 
      hardcode_libdir_flag_spec='-R$libdir'
8713
 
      hardcode_direct=yes
8714
 
      hardcode_shlibpath_var=no
8715
 
      ;;
8716
 
 
8717
 
    newsos6)
8718
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8719
 
      hardcode_direct=yes
8720
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8721
 
      hardcode_libdir_separator=:
8722
 
      hardcode_shlibpath_var=no
8723
 
      ;;
8724
 
 
8725
 
    openbsd*)
8726
 
      hardcode_direct=yes
8727
 
      hardcode_shlibpath_var=no
8728
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8729
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8730
 
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8731
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8732
 
        export_dynamic_flag_spec='${wl}-E'
8733
 
      else
8734
 
       case $host_os in
8735
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8736
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8737
 
           hardcode_libdir_flag_spec='-R$libdir'
8738
 
           ;;
8739
 
         *)
8740
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8741
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8742
 
           ;;
8743
 
       esac
8744
 
      fi
8745
 
      ;;
8746
 
 
8747
 
    os2*)
8748
 
      hardcode_libdir_flag_spec='-L$libdir'
8749
 
      hardcode_minus_L=yes
8750
 
      allow_undefined_flag=unsupported
8751
 
      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'
8752
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8753
 
      ;;
8754
 
 
8755
 
    osf3*)
8756
 
      if test "$GCC" = yes; then
8757
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8758
 
        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'
8759
 
      else
8760
 
        allow_undefined_flag=' -expect_unresolved \*'
8761
 
        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'
8762
 
      fi
8763
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8764
 
      hardcode_libdir_separator=:
8765
 
      ;;
8766
 
 
8767
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8768
 
      if test "$GCC" = yes; then
8769
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8770
 
        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'
8771
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8772
 
      else
8773
 
        allow_undefined_flag=' -expect_unresolved \*'
8774
 
        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'
8775
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8776
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
8777
 
 
8778
 
        # Both c and cxx compiler support -rpath directly
8779
 
        hardcode_libdir_flag_spec='-rpath $libdir'
8780
 
      fi
8781
 
      hardcode_libdir_separator=:
8782
 
      ;;
8783
 
 
8784
 
    solaris*)
8785
 
      no_undefined_flag=' -z text'
8786
 
      if test "$GCC" = yes; then
8787
 
        wlarc='${wl}'
8788
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8789
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8790
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8791
 
      else
8792
 
        wlarc=''
8793
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8794
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8795
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8796
 
      fi
8797
 
      hardcode_libdir_flag_spec='-R$libdir'
8798
 
      hardcode_shlibpath_var=no
8799
 
      case $host_os in
8800
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
8801
 
      *)
8802
 
        # The compiler driver will combine linker options so we
8803
 
        # cannot just pass the convience library names through
8804
 
        # without $wl, iff we do not link with $LD.
8805
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
8806
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
8807
 
        case $wlarc in
8808
 
        '')
8809
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
8810
 
        *)
8811
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8812
 
        esac ;;
8813
 
      esac
8814
 
      link_all_deplibs=yes
8815
 
      ;;
8816
 
 
8817
 
    sunos4*)
8818
 
      if test "x$host_vendor" = xsequent; then
8819
 
        # Use $CC to link under sequent, because it throws in some extra .o
8820
 
        # files that make .init and .fini sections work.
8821
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8822
 
      else
8823
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8824
 
      fi
8825
 
      hardcode_libdir_flag_spec='-L$libdir'
8826
 
      hardcode_direct=yes
8827
 
      hardcode_minus_L=yes
8828
 
      hardcode_shlibpath_var=no
8829
 
      ;;
8830
 
 
8831
 
    sysv4)
8832
 
      case $host_vendor in
8833
 
        sni)
8834
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8835
 
          hardcode_direct=yes # is this really true???
8836
 
        ;;
8837
 
        siemens)
8838
 
          ## LD is ld it makes a PLAMLIB
8839
 
          ## CC just makes a GrossModule.
8840
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8841
 
          reload_cmds='$CC -r -o $output$reload_objs'
8842
 
          hardcode_direct=no
8843
 
        ;;
8844
 
        motorola)
8845
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8846
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8847
 
        ;;
8848
 
      esac
8849
 
      runpath_var='LD_RUN_PATH'
8850
 
      hardcode_shlibpath_var=no
8851
 
      ;;
8852
 
 
8853
 
    sysv4.3*)
8854
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8855
 
      hardcode_shlibpath_var=no
8856
 
      export_dynamic_flag_spec='-Bexport'
8857
 
      ;;
8858
 
 
8859
 
    sysv4*MP*)
8860
 
      if test -d /usr/nec; then
8861
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8862
 
        hardcode_shlibpath_var=no
8863
 
        runpath_var=LD_RUN_PATH
8864
 
        hardcode_runpath_var=yes
8865
 
        ld_shlibs=yes
8866
 
      fi
8867
 
      ;;
8868
 
 
8869
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
8870
 
      no_undefined_flag='${wl}-z,text'
8871
 
      archive_cmds_need_lc=no
8872
 
      hardcode_shlibpath_var=no
8873
 
      runpath_var='LD_RUN_PATH'
8874
 
 
8875
 
      if test "$GCC" = yes; then
8876
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8877
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8878
 
      else
8879
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8880
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8881
 
      fi
8882
 
      ;;
8883
 
 
8884
 
    sysv5* | sco3.2v5* | sco5v6*)
8885
 
      # Note: We can NOT use -z defs as we might desire, because we do not
8886
 
      # link with -lc, and that would cause any symbols used from libc to
8887
 
      # always be unresolved, which means just about no library would
8888
 
      # ever link correctly.  If we're not using GNU ld we use -z text
8889
 
      # though, which does catch some bad symbols but isn't as heavy-handed
8890
 
      # as -z defs.
8891
 
      no_undefined_flag='${wl}-z,text'
8892
 
      allow_undefined_flag='${wl}-z,nodefs'
8893
 
      archive_cmds_need_lc=no
8894
 
      hardcode_shlibpath_var=no
8895
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8896
 
      hardcode_libdir_separator=':'
8897
 
      link_all_deplibs=yes
8898
 
      export_dynamic_flag_spec='${wl}-Bexport'
8899
 
      runpath_var='LD_RUN_PATH'
8900
 
 
8901
 
      if test "$GCC" = yes; then
8902
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8903
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8904
 
      else
8905
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8906
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8907
 
      fi
8908
 
      ;;
8909
 
 
8910
 
    uts4*)
8911
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8912
 
      hardcode_libdir_flag_spec='-L$libdir'
8913
 
      hardcode_shlibpath_var=no
8914
 
      ;;
8915
 
 
8916
 
    *)
8917
 
      ld_shlibs=no
8918
 
      ;;
8919
 
    esac
8920
 
  fi
8921
 
 
8922
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8923
 
echo "${ECHO_T}$ld_shlibs" >&6; }
8924
 
test "$ld_shlibs" = no && can_build_shared=no
8925
 
 
8926
 
#
8927
 
# Do we need to explicitly link libc?
8928
 
#
8929
 
case "x$archive_cmds_need_lc" in
8930
 
x|xyes)
8931
 
  # Assume -lc should be added
8932
 
  archive_cmds_need_lc=yes
8933
 
 
8934
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
8935
 
    case $archive_cmds in
8936
 
    *'~'*)
8937
 
      # FIXME: we may have to deal with multi-command sequences.
8938
 
      ;;
8939
 
    '$CC '*)
8940
 
      # Test whether the compiler implicitly links with -lc since on some
8941
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
8942
 
      # to ld, don't add -lc before -lgcc.
8943
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8944
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8945
 
      $rm conftest*
8946
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8947
 
 
8948
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8949
 
  (eval $ac_compile) 2>&5
8950
 
  ac_status=$?
8951
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8952
 
  (exit $ac_status); } 2>conftest.err; then
8953
 
        soname=conftest
8954
 
        lib=conftest
8955
 
        libobjs=conftest.$ac_objext
8956
 
        deplibs=
8957
 
        wl=$lt_prog_compiler_wl
8958
 
        pic_flag=$lt_prog_compiler_pic
8959
 
        compiler_flags=-v
8960
 
        linker_flags=-v
8961
 
        verstring=
8962
 
        output_objdir=.
8963
 
        libname=conftest
8964
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
8965
 
        allow_undefined_flag=
8966
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8967
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
8968
 
  ac_status=$?
8969
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8970
 
  (exit $ac_status); }
8971
 
        then
8972
 
          archive_cmds_need_lc=no
8973
 
        else
8974
 
          archive_cmds_need_lc=yes
8975
 
        fi
8976
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
8977
 
      else
8978
 
        cat conftest.err 1>&5
8979
 
      fi
8980
 
      $rm conftest*
8981
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8982
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8983
 
      ;;
8984
 
    esac
8985
 
  fi
8986
 
  ;;
8987
 
esac
8988
 
 
8989
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8990
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8991
 
library_names_spec=
8992
 
libname_spec='lib$name'
8993
 
soname_spec=
8994
 
shrext_cmds=".so"
8995
 
postinstall_cmds=
8996
 
postuninstall_cmds=
8997
 
finish_cmds=
8998
 
finish_eval=
8999
 
shlibpath_var=
9000
 
shlibpath_overrides_runpath=unknown
9001
 
version_type=none
9002
 
dynamic_linker="$host_os ld.so"
9003
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9004
 
if test "$GCC" = yes; then
9005
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9006
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
9007
 
    # if the path contains ";" then we assume it to be the separator
9008
 
    # otherwise default to the standard path separator (i.e. ":") - it is
9009
 
    # assumed that no part of a normal pathname contains ";" but that should
9010
 
    # okay in the real world where ";" in dirpaths is itself problematic.
9011
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9012
 
  else
9013
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9014
 
  fi
9015
 
else
9016
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9017
 
fi
9018
 
need_lib_prefix=unknown
9019
 
hardcode_into_libs=no
9020
 
 
9021
 
# when you set need_version to no, make sure it does not cause -set_version
9022
 
# flags to be left without arguments
9023
 
need_version=unknown
9024
 
 
9025
 
case $host_os in
9026
 
aix3*)
9027
 
  version_type=linux
9028
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9029
 
  shlibpath_var=LIBPATH
9030
 
 
9031
 
  # AIX 3 has no versioning support, so we append a major version to the name.
9032
 
  soname_spec='${libname}${release}${shared_ext}$major'
9033
 
  ;;
9034
 
 
9035
 
aix4* | aix5*)
9036
 
  version_type=linux
9037
 
  need_lib_prefix=no
9038
 
  need_version=no
9039
 
  hardcode_into_libs=yes
9040
 
  if test "$host_cpu" = ia64; then
9041
 
    # AIX 5 supports IA64
9042
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9043
 
    shlibpath_var=LD_LIBRARY_PATH
9044
 
  else
9045
 
    # With GCC up to 2.95.x, collect2 would create an import file
9046
 
    # for dependence libraries.  The import file would start with
9047
 
    # the line `#! .'.  This would cause the generated library to
9048
 
    # depend on `.', always an invalid library.  This was fixed in
9049
 
    # development snapshots of GCC prior to 3.0.
9050
 
    case $host_os in
9051
 
      aix4 | aix4.[01] | aix4.[01].*)
9052
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9053
 
           echo ' yes '
9054
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
9055
 
        :
9056
 
      else
9057
 
        can_build_shared=no
9058
 
      fi
9059
 
      ;;
9060
 
    esac
9061
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9062
 
    # soname into executable. Probably we can add versioning support to
9063
 
    # collect2, so additional links can be useful in future.
9064
 
    if test "$aix_use_runtimelinking" = yes; then
9065
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9066
 
      # instead of lib<name>.a to let people know that these are not
9067
 
      # typical AIX shared libraries.
9068
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9069
 
    else
9070
 
      # We preserve .a as extension for shared libraries through AIX4.2
9071
 
      # and later when we are not doing run time linking.
9072
 
      library_names_spec='${libname}${release}.a $libname.a'
9073
 
      soname_spec='${libname}${release}${shared_ext}$major'
9074
 
    fi
9075
 
    shlibpath_var=LIBPATH
9076
 
  fi
9077
 
  ;;
9078
 
 
9079
 
amigaos*)
9080
 
  library_names_spec='$libname.ixlibrary $libname.a'
9081
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
9082
 
  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'
9083
 
  ;;
9084
 
 
9085
 
beos*)
9086
 
  library_names_spec='${libname}${shared_ext}'
9087
 
  dynamic_linker="$host_os ld.so"
9088
 
  shlibpath_var=LIBRARY_PATH
9089
 
  ;;
9090
 
 
9091
 
bsdi[45]*)
9092
 
  version_type=linux
9093
 
  need_version=no
9094
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9095
 
  soname_spec='${libname}${release}${shared_ext}$major'
9096
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9097
 
  shlibpath_var=LD_LIBRARY_PATH
9098
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9099
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9100
 
  # the default ld.so.conf also contains /usr/contrib/lib and
9101
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9102
 
  # libtool to hard-code these into programs
9103
 
  ;;
9104
 
 
9105
 
cygwin* | mingw* | pw32*)
9106
 
  version_type=windows
9107
 
  shrext_cmds=".dll"
9108
 
  need_version=no
9109
 
  need_lib_prefix=no
9110
 
 
9111
 
  case $GCC,$host_os in
9112
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
9113
 
    library_names_spec='$libname.dll.a'
9114
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9115
 
    postinstall_cmds='base_file=`basename \${file}`~
9116
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9117
 
      dldir=$destdir/`dirname \$dlpath`~
9118
 
      test -d \$dldir || mkdir -p \$dldir~
9119
 
      $install_prog $dir/$dlname \$dldir/$dlname~
9120
 
      chmod a+x \$dldir/$dlname'
9121
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9122
 
      dlpath=$dir/\$dldll~
9123
 
       $rm \$dlpath'
9124
 
    shlibpath_overrides_runpath=yes
9125
 
 
9126
 
    case $host_os in
9127
 
    cygwin*)
9128
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9129
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9130
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9131
 
      ;;
9132
 
    mingw*)
9133
 
      # MinGW DLLs use traditional 'lib' prefix
9134
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9135
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9136
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
9137
 
        # It is most probably a Windows format PATH printed by
9138
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9139
 
        # path with ; separators, and with drive letters. We can handle the
9140
 
        # drive letters (cygwin fileutils understands them), so leave them,
9141
 
        # especially as we might pass files found there to a mingw objdump,
9142
 
        # which wouldn't understand a cygwinified path. Ahh.
9143
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9144
 
      else
9145
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9146
 
      fi
9147
 
      ;;
9148
 
    pw32*)
9149
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
9150
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9151
 
      ;;
9152
 
    esac
9153
 
    ;;
9154
 
 
9155
 
  *)
9156
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9157
 
    ;;
9158
 
  esac
9159
 
  dynamic_linker='Win32 ld.exe'
9160
 
  # FIXME: first we should search . and the directory the executable is in
9161
 
  shlibpath_var=PATH
9162
 
  ;;
9163
 
 
9164
 
darwin* | rhapsody*)
9165
 
  dynamic_linker="$host_os dyld"
9166
 
  version_type=darwin
9167
 
  need_lib_prefix=no
9168
 
  need_version=no
9169
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9170
 
  soname_spec='${libname}${release}${major}$shared_ext'
9171
 
  shlibpath_overrides_runpath=yes
9172
 
  shlibpath_var=DYLD_LIBRARY_PATH
9173
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9174
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9175
 
  if test "$GCC" = yes; then
9176
 
    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"`
9177
 
  else
9178
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
9179
 
  fi
9180
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9181
 
  ;;
9182
 
 
9183
 
dgux*)
9184
 
  version_type=linux
9185
 
  need_lib_prefix=no
9186
 
  need_version=no
9187
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9188
 
  soname_spec='${libname}${release}${shared_ext}$major'
9189
 
  shlibpath_var=LD_LIBRARY_PATH
9190
 
  ;;
9191
 
 
9192
 
freebsd1*)
9193
 
  dynamic_linker=no
9194
 
  ;;
9195
 
 
9196
 
freebsd* | dragonfly*)
9197
 
  # DragonFly does not have aout.  When/if they implement a new
9198
 
  # versioning mechanism, adjust this.
9199
 
  if test -x /usr/bin/objformat; then
9200
 
    objformat=`/usr/bin/objformat`
9201
 
  else
9202
 
    case $host_os in
9203
 
    freebsd[123]*) objformat=aout ;;
9204
 
    *) objformat=elf ;;
9205
 
    esac
9206
 
  fi
9207
 
  version_type=freebsd-$objformat
9208
 
  case $version_type in
9209
 
    freebsd-elf*)
9210
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9211
 
      need_version=no
9212
 
      need_lib_prefix=no
9213
 
      ;;
9214
 
    freebsd-*)
9215
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9216
 
      need_version=yes
9217
 
      ;;
9218
 
  esac
9219
 
  shlibpath_var=LD_LIBRARY_PATH
9220
 
  case $host_os in
9221
 
  freebsd2*)
9222
 
    shlibpath_overrides_runpath=yes
9223
 
    ;;
9224
 
  freebsd3.[01]* | freebsdelf3.[01]*)
9225
 
    shlibpath_overrides_runpath=yes
9226
 
    hardcode_into_libs=yes
9227
 
    ;;
9228
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9229
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9230
 
    shlibpath_overrides_runpath=no
9231
 
    hardcode_into_libs=yes
9232
 
    ;;
9233
 
  freebsd*) # from 4.6 on
9234
 
    shlibpath_overrides_runpath=yes
9235
 
    hardcode_into_libs=yes
9236
 
    ;;
9237
 
  esac
9238
 
  ;;
9239
 
 
9240
 
gnu*)
9241
 
  version_type=linux
9242
 
  need_lib_prefix=no
9243
 
  need_version=no
9244
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9245
 
  soname_spec='${libname}${release}${shared_ext}$major'
9246
 
  shlibpath_var=LD_LIBRARY_PATH
9247
 
  hardcode_into_libs=yes
9248
 
  ;;
9249
 
 
9250
 
hpux9* | hpux10* | hpux11*)
9251
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
9252
 
  # link against other versions.
9253
 
  version_type=sunos
9254
 
  need_lib_prefix=no
9255
 
  need_version=no
9256
 
  case $host_cpu in
9257
 
  ia64*)
9258
 
    shrext_cmds='.so'
9259
 
    hardcode_into_libs=yes
9260
 
    dynamic_linker="$host_os dld.so"
9261
 
    shlibpath_var=LD_LIBRARY_PATH
9262
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9263
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9264
 
    soname_spec='${libname}${release}${shared_ext}$major'
9265
 
    if test "X$HPUX_IA64_MODE" = X32; then
9266
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9267
 
    else
9268
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9269
 
    fi
9270
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9271
 
    ;;
9272
 
   hppa*64*)
9273
 
     shrext_cmds='.sl'
9274
 
     hardcode_into_libs=yes
9275
 
     dynamic_linker="$host_os dld.sl"
9276
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9277
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9278
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9279
 
     soname_spec='${libname}${release}${shared_ext}$major'
9280
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9281
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9282
 
     ;;
9283
 
   *)
9284
 
    shrext_cmds='.sl'
9285
 
    dynamic_linker="$host_os dld.sl"
9286
 
    shlibpath_var=SHLIB_PATH
9287
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9288
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9289
 
    soname_spec='${libname}${release}${shared_ext}$major'
9290
 
    ;;
9291
 
  esac
9292
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
9293
 
  postinstall_cmds='chmod 555 $lib'
9294
 
  ;;
9295
 
 
9296
 
interix3*)
9297
 
  version_type=linux
9298
 
  need_lib_prefix=no
9299
 
  need_version=no
9300
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9301
 
  soname_spec='${libname}${release}${shared_ext}$major'
9302
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9303
 
  shlibpath_var=LD_LIBRARY_PATH
9304
 
  shlibpath_overrides_runpath=no
9305
 
  hardcode_into_libs=yes
9306
 
  ;;
9307
 
 
9308
 
irix5* | irix6* | nonstopux*)
9309
 
  case $host_os in
9310
 
    nonstopux*) version_type=nonstopux ;;
9311
 
    *)
9312
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
9313
 
                version_type=linux
9314
 
        else
9315
 
                version_type=irix
9316
 
        fi ;;
9317
 
  esac
9318
 
  need_lib_prefix=no
9319
 
  need_version=no
9320
 
  soname_spec='${libname}${release}${shared_ext}$major'
9321
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9322
 
  case $host_os in
9323
 
  irix5* | nonstopux*)
9324
 
    libsuff= shlibsuff=
9325
 
    ;;
9326
 
  *)
9327
 
    case $LD in # libtool.m4 will add one of these switches to LD
9328
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9329
 
      libsuff= shlibsuff= libmagic=32-bit;;
9330
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9331
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
9332
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9333
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
9334
 
    *) libsuff= shlibsuff= libmagic=never-match;;
9335
 
    esac
9336
 
    ;;
9337
 
  esac
9338
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9339
 
  shlibpath_overrides_runpath=no
9340
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9341
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9342
 
  hardcode_into_libs=yes
9343
 
  ;;
9344
 
 
9345
 
# No shared lib support for Linux oldld, aout, or coff.
9346
 
linux*oldld* | linux*aout* | linux*coff*)
9347
 
  dynamic_linker=no
9348
 
  ;;
9349
 
 
9350
 
# This must be Linux ELF.
9351
 
linux* | k*bsd*-gnu)
9352
 
  version_type=linux
9353
 
  need_lib_prefix=no
9354
 
  need_version=no
9355
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9356
 
  soname_spec='${libname}${release}${shared_ext}$major'
9357
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9358
 
  shlibpath_var=LD_LIBRARY_PATH
9359
 
  shlibpath_overrides_runpath=no
9360
 
  # This implies no fast_install, which is unacceptable.
9361
 
  # Some rework will be needed to allow for fast_install
9362
 
  # before this can be enabled.
9363
 
  hardcode_into_libs=yes
9364
 
 
9365
 
  # Append ld.so.conf contents to the search path
9366
 
  if test -f /etc/ld.so.conf; then
9367
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9368
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9369
 
  fi
9370
 
 
9371
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
9372
 
  # powerpc, because MkLinux only supported shared libraries with the
9373
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
9374
 
  # most powerpc-linux boxes support dynamic linking these days and
9375
 
  # people can always --disable-shared, the test was removed, and we
9376
 
  # assume the GNU/Linux dynamic linker is in use.
9377
 
  dynamic_linker='GNU/Linux ld.so'
9378
 
  ;;
9379
 
 
9380
 
netbsdelf*-gnu)
9381
 
  version_type=linux
9382
 
  need_lib_prefix=no
9383
 
  need_version=no
9384
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9385
 
  soname_spec='${libname}${release}${shared_ext}$major'
9386
 
  shlibpath_var=LD_LIBRARY_PATH
9387
 
  shlibpath_overrides_runpath=no
9388
 
  hardcode_into_libs=yes
9389
 
  dynamic_linker='NetBSD ld.elf_so'
9390
 
  ;;
9391
 
 
9392
 
netbsd*)
9393
 
  version_type=sunos
9394
 
  need_lib_prefix=no
9395
 
  need_version=no
9396
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9397
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9398
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9399
 
    dynamic_linker='NetBSD (a.out) ld.so'
9400
 
  else
9401
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9402
 
    soname_spec='${libname}${release}${shared_ext}$major'
9403
 
    dynamic_linker='NetBSD ld.elf_so'
9404
 
  fi
9405
 
  shlibpath_var=LD_LIBRARY_PATH
9406
 
  shlibpath_overrides_runpath=yes
9407
 
  hardcode_into_libs=yes
9408
 
  ;;
9409
 
 
9410
 
newsos6)
9411
 
  version_type=linux
9412
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9413
 
  shlibpath_var=LD_LIBRARY_PATH
9414
 
  shlibpath_overrides_runpath=yes
9415
 
  ;;
9416
 
 
9417
 
nto-qnx*)
9418
 
  version_type=linux
9419
 
  need_lib_prefix=no
9420
 
  need_version=no
9421
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9422
 
  soname_spec='${libname}${release}${shared_ext}$major'
9423
 
  shlibpath_var=LD_LIBRARY_PATH
9424
 
  shlibpath_overrides_runpath=yes
9425
 
  ;;
9426
 
 
9427
 
openbsd*)
9428
 
  version_type=sunos
9429
 
  sys_lib_dlsearch_path_spec="/usr/lib"
9430
 
  need_lib_prefix=no
9431
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9432
 
  case $host_os in
9433
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9434
 
    *)                         need_version=no  ;;
9435
 
  esac
9436
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9437
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9438
 
  shlibpath_var=LD_LIBRARY_PATH
9439
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9440
 
    case $host_os in
9441
 
      openbsd2.[89] | openbsd2.[89].*)
9442
 
        shlibpath_overrides_runpath=no
9443
 
        ;;
9444
 
      *)
9445
 
        shlibpath_overrides_runpath=yes
9446
 
        ;;
9447
 
      esac
9448
 
  else
9449
 
    shlibpath_overrides_runpath=yes
9450
 
  fi
9451
 
  ;;
9452
 
 
9453
 
os2*)
9454
 
  libname_spec='$name'
9455
 
  shrext_cmds=".dll"
9456
 
  need_lib_prefix=no
9457
 
  library_names_spec='$libname${shared_ext} $libname.a'
9458
 
  dynamic_linker='OS/2 ld.exe'
9459
 
  shlibpath_var=LIBPATH
9460
 
  ;;
9461
 
 
9462
 
osf3* | osf4* | osf5*)
9463
 
  version_type=osf
9464
 
  need_lib_prefix=no
9465
 
  need_version=no
9466
 
  soname_spec='${libname}${release}${shared_ext}$major'
9467
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9468
 
  shlibpath_var=LD_LIBRARY_PATH
9469
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9470
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9471
 
  ;;
9472
 
 
9473
 
solaris*)
9474
 
  version_type=linux
9475
 
  need_lib_prefix=no
9476
 
  need_version=no
9477
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9478
 
  soname_spec='${libname}${release}${shared_ext}$major'
9479
 
  shlibpath_var=LD_LIBRARY_PATH
9480
 
  shlibpath_overrides_runpath=yes
9481
 
  hardcode_into_libs=yes
9482
 
  # ldd complains unless libraries are executable
9483
 
  postinstall_cmds='chmod +x $lib'
9484
 
  ;;
9485
 
 
9486
 
sunos4*)
9487
 
  version_type=sunos
9488
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9489
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9490
 
  shlibpath_var=LD_LIBRARY_PATH
9491
 
  shlibpath_overrides_runpath=yes
9492
 
  if test "$with_gnu_ld" = yes; then
9493
 
    need_lib_prefix=no
9494
 
  fi
9495
 
  need_version=yes
9496
 
  ;;
9497
 
 
9498
 
sysv4 | sysv4.3*)
9499
 
  version_type=linux
9500
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9501
 
  soname_spec='${libname}${release}${shared_ext}$major'
9502
 
  shlibpath_var=LD_LIBRARY_PATH
9503
 
  case $host_vendor in
9504
 
    sni)
9505
 
      shlibpath_overrides_runpath=no
9506
 
      need_lib_prefix=no
9507
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
9508
 
      runpath_var=LD_RUN_PATH
9509
 
      ;;
9510
 
    siemens)
9511
 
      need_lib_prefix=no
9512
 
      ;;
9513
 
    motorola)
9514
 
      need_lib_prefix=no
9515
 
      need_version=no
9516
 
      shlibpath_overrides_runpath=no
9517
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9518
 
      ;;
9519
 
  esac
9520
 
  ;;
9521
 
 
9522
 
sysv4*MP*)
9523
 
  if test -d /usr/nec ;then
9524
 
    version_type=linux
9525
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9526
 
    soname_spec='$libname${shared_ext}.$major'
9527
 
    shlibpath_var=LD_LIBRARY_PATH
9528
 
  fi
9529
 
  ;;
9530
 
 
9531
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9532
 
  version_type=freebsd-elf
9533
 
  need_lib_prefix=no
9534
 
  need_version=no
9535
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9536
 
  soname_spec='${libname}${release}${shared_ext}$major'
9537
 
  shlibpath_var=LD_LIBRARY_PATH
9538
 
  hardcode_into_libs=yes
9539
 
  if test "$with_gnu_ld" = yes; then
9540
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9541
 
    shlibpath_overrides_runpath=no
9542
 
  else
9543
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9544
 
    shlibpath_overrides_runpath=yes
9545
 
    case $host_os in
9546
 
      sco3.2v5*)
9547
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9548
 
        ;;
9549
 
    esac
9550
 
  fi
9551
 
  sys_lib_dlsearch_path_spec='/usr/lib'
9552
 
  ;;
9553
 
 
9554
 
uts4*)
9555
 
  version_type=linux
9556
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9557
 
  soname_spec='${libname}${release}${shared_ext}$major'
9558
 
  shlibpath_var=LD_LIBRARY_PATH
9559
 
  ;;
9560
 
 
9561
 
*)
9562
 
  dynamic_linker=no
9563
 
  ;;
9564
 
esac
9565
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9566
 
echo "${ECHO_T}$dynamic_linker" >&6; }
9567
 
test "$dynamic_linker" = no && can_build_shared=no
9568
 
 
9569
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9570
 
if test "$GCC" = yes; then
9571
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9572
 
fi
9573
 
 
9574
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9575
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9576
 
hardcode_action=
9577
 
if test -n "$hardcode_libdir_flag_spec" || \
9578
 
   test -n "$runpath_var" || \
9579
 
   test "X$hardcode_automatic" = "Xyes" ; then
9580
 
 
9581
 
  # We can hardcode non-existant directories.
9582
 
  if test "$hardcode_direct" != no &&
9583
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
9584
 
     # have to relink, otherwise we might link with an installed library
9585
 
     # when we should be linking with a yet-to-be-installed one
9586
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9587
 
     test "$hardcode_minus_L" != no; then
9588
 
    # Linking always hardcodes the temporary library directory.
9589
 
    hardcode_action=relink
9590
 
  else
9591
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
9592
 
    hardcode_action=immediate
9593
 
  fi
9594
 
else
9595
 
  # We cannot hardcode anything, or else we can only hardcode existing
9596
 
  # directories.
9597
 
  hardcode_action=unsupported
9598
 
fi
9599
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
9600
 
echo "${ECHO_T}$hardcode_action" >&6; }
9601
 
 
9602
 
if test "$hardcode_action" = relink; then
9603
 
  # Fast installation is not supported
9604
 
  enable_fast_install=no
9605
 
elif test "$shlibpath_overrides_runpath" = yes ||
9606
 
     test "$enable_shared" = no; then
9607
 
  # Fast installation is not necessary
9608
 
  enable_fast_install=needless
9609
 
fi
9610
 
 
9611
 
striplib=
9612
 
old_striplib=
9613
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9614
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9615
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9616
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9617
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9618
 
  { echo "$as_me:$LINENO: result: yes" >&5
9619
 
echo "${ECHO_T}yes" >&6; }
9620
 
else
9621
 
# FIXME - insert some real tests, host_os isn't really good enough
9622
 
  case $host_os in
9623
 
   darwin*)
9624
 
       if test -n "$STRIP" ; then
9625
 
         striplib="$STRIP -x"
9626
 
         { echo "$as_me:$LINENO: result: yes" >&5
9627
 
echo "${ECHO_T}yes" >&6; }
9628
 
       else
9629
 
  { echo "$as_me:$LINENO: result: no" >&5
9630
 
echo "${ECHO_T}no" >&6; }
9631
 
fi
9632
 
       ;;
9633
 
   *)
9634
 
  { echo "$as_me:$LINENO: result: no" >&5
9635
 
echo "${ECHO_T}no" >&6; }
9636
 
    ;;
9637
 
  esac
9638
 
fi
9639
 
 
9640
 
if test "x$enable_dlopen" != xyes; then
9641
 
  enable_dlopen=unknown
9642
 
  enable_dlopen_self=unknown
9643
 
  enable_dlopen_self_static=unknown
9644
 
else
9645
 
  lt_cv_dlopen=no
9646
 
  lt_cv_dlopen_libs=
9647
 
 
9648
 
  case $host_os in
9649
 
  beos*)
9650
 
    lt_cv_dlopen="load_add_on"
9651
 
    lt_cv_dlopen_libs=
9652
 
    lt_cv_dlopen_self=yes
9653
 
    ;;
9654
 
 
9655
 
  mingw* | pw32*)
9656
 
    lt_cv_dlopen="LoadLibrary"
9657
 
    lt_cv_dlopen_libs=
9658
 
   ;;
9659
 
 
9660
 
  cygwin*)
9661
 
    lt_cv_dlopen="dlopen"
9662
 
    lt_cv_dlopen_libs=
9663
 
   ;;
9664
 
 
9665
 
  darwin*)
9666
 
  # if libdl is installed we need to link against it
9667
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9668
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9669
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9670
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9671
 
else
9672
 
  ac_check_lib_save_LIBS=$LIBS
9673
 
LIBS="-ldl  $LIBS"
9674
 
cat >conftest.$ac_ext <<_ACEOF
9675
 
/* confdefs.h.  */
9676
 
_ACEOF
9677
 
cat confdefs.h >>conftest.$ac_ext
9678
 
cat >>conftest.$ac_ext <<_ACEOF
9679
 
/* end confdefs.h.  */
9680
 
 
9681
 
/* Override any GCC internal prototype to avoid an error.
9682
 
   Use char because int might match the return type of a GCC
9683
 
   builtin and then its argument prototype would still apply.  */
9684
 
#ifdef __cplusplus
9685
 
extern "C"
9686
 
#endif
9687
 
char dlopen ();
9688
 
int
9689
 
main ()
9690
 
{
9691
 
return dlopen ();
9692
 
  ;
9693
 
  return 0;
9694
 
}
9695
 
_ACEOF
9696
 
rm -f conftest.$ac_objext conftest$ac_exeext
9697
 
if { (ac_try="$ac_link"
9698
 
case "(($ac_try" in
9699
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9700
 
  *) ac_try_echo=$ac_try;;
9701
 
esac
9702
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9703
 
  (eval "$ac_link") 2>conftest.er1
9704
 
  ac_status=$?
9705
 
  grep -v '^ *+' conftest.er1 >conftest.err
9706
 
  rm -f conftest.er1
9707
 
  cat conftest.err >&5
9708
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9709
 
  (exit $ac_status); } && {
9710
 
         test -z "$ac_c_werror_flag" ||
9711
 
         test ! -s conftest.err
9712
 
       } && test -s conftest$ac_exeext &&
9713
 
       $as_test_x conftest$ac_exeext; then
9714
 
  ac_cv_lib_dl_dlopen=yes
9715
 
else
9716
 
  echo "$as_me: failed program was:" >&5
9717
 
sed 's/^/| /' conftest.$ac_ext >&5
9718
 
 
9719
 
        ac_cv_lib_dl_dlopen=no
9720
 
fi
9721
 
 
9722
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9723
 
      conftest$ac_exeext conftest.$ac_ext
9724
 
LIBS=$ac_check_lib_save_LIBS
9725
 
fi
9726
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9727
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9728
 
if test $ac_cv_lib_dl_dlopen = yes; then
9729
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9730
 
else
9731
 
 
9732
 
    lt_cv_dlopen="dyld"
9733
 
    lt_cv_dlopen_libs=
9734
 
    lt_cv_dlopen_self=yes
9735
 
 
9736
 
fi
9737
 
 
9738
 
   ;;
9739
 
 
9740
 
  *)
9741
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
9742
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9743
 
if test "${ac_cv_func_shl_load+set}" = set; then
9744
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9745
 
else
9746
 
  cat >conftest.$ac_ext <<_ACEOF
9747
 
/* confdefs.h.  */
9748
 
_ACEOF
9749
 
cat confdefs.h >>conftest.$ac_ext
9750
 
cat >>conftest.$ac_ext <<_ACEOF
9751
 
/* end confdefs.h.  */
9752
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9753
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9754
 
#define shl_load innocuous_shl_load
9755
 
 
9756
 
/* System header to define __stub macros and hopefully few prototypes,
9757
 
    which can conflict with char shl_load (); below.
9758
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9759
 
    <limits.h> exists even on freestanding compilers.  */
9760
 
 
9761
 
#ifdef __STDC__
9762
 
# include <limits.h>
9763
 
#else
9764
 
# include <assert.h>
9765
 
#endif
9766
 
 
9767
 
#undef shl_load
9768
 
 
9769
 
/* Override any GCC internal prototype to avoid an error.
9770
 
   Use char because int might match the return type of a GCC
9771
 
   builtin and then its argument prototype would still apply.  */
9772
 
#ifdef __cplusplus
9773
 
extern "C"
9774
 
#endif
9775
 
char shl_load ();
9776
 
/* The GNU C library defines this for functions which it implements
9777
 
    to always fail with ENOSYS.  Some functions are actually named
9778
 
    something starting with __ and the normal name is an alias.  */
9779
 
#if defined __stub_shl_load || defined __stub___shl_load
9780
 
choke me
9781
 
#endif
9782
 
 
9783
 
int
9784
 
main ()
9785
 
{
9786
 
return shl_load ();
9787
 
  ;
9788
 
  return 0;
9789
 
}
9790
 
_ACEOF
9791
 
rm -f conftest.$ac_objext conftest$ac_exeext
9792
 
if { (ac_try="$ac_link"
9793
 
case "(($ac_try" in
9794
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9795
 
  *) ac_try_echo=$ac_try;;
9796
 
esac
9797
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9798
 
  (eval "$ac_link") 2>conftest.er1
9799
 
  ac_status=$?
9800
 
  grep -v '^ *+' conftest.er1 >conftest.err
9801
 
  rm -f conftest.er1
9802
 
  cat conftest.err >&5
9803
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9804
 
  (exit $ac_status); } && {
9805
 
         test -z "$ac_c_werror_flag" ||
9806
 
         test ! -s conftest.err
9807
 
       } && test -s conftest$ac_exeext &&
9808
 
       $as_test_x conftest$ac_exeext; then
9809
 
  ac_cv_func_shl_load=yes
9810
 
else
9811
 
  echo "$as_me: failed program was:" >&5
9812
 
sed 's/^/| /' conftest.$ac_ext >&5
9813
 
 
9814
 
        ac_cv_func_shl_load=no
9815
 
fi
9816
 
 
9817
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9818
 
      conftest$ac_exeext conftest.$ac_ext
9819
 
fi
9820
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9821
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9822
 
if test $ac_cv_func_shl_load = yes; then
9823
 
  lt_cv_dlopen="shl_load"
9824
 
else
9825
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9826
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9827
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9828
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9829
 
else
9830
 
  ac_check_lib_save_LIBS=$LIBS
9831
 
LIBS="-ldld  $LIBS"
9832
 
cat >conftest.$ac_ext <<_ACEOF
9833
 
/* confdefs.h.  */
9834
 
_ACEOF
9835
 
cat confdefs.h >>conftest.$ac_ext
9836
 
cat >>conftest.$ac_ext <<_ACEOF
9837
 
/* end confdefs.h.  */
9838
 
 
9839
 
/* Override any GCC internal prototype to avoid an error.
9840
 
   Use char because int might match the return type of a GCC
9841
 
   builtin and then its argument prototype would still apply.  */
9842
 
#ifdef __cplusplus
9843
 
extern "C"
9844
 
#endif
9845
 
char shl_load ();
9846
 
int
9847
 
main ()
9848
 
{
9849
 
return shl_load ();
9850
 
  ;
9851
 
  return 0;
9852
 
}
9853
 
_ACEOF
9854
 
rm -f conftest.$ac_objext conftest$ac_exeext
9855
 
if { (ac_try="$ac_link"
9856
 
case "(($ac_try" in
9857
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9858
 
  *) ac_try_echo=$ac_try;;
9859
 
esac
9860
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9861
 
  (eval "$ac_link") 2>conftest.er1
9862
 
  ac_status=$?
9863
 
  grep -v '^ *+' conftest.er1 >conftest.err
9864
 
  rm -f conftest.er1
9865
 
  cat conftest.err >&5
9866
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9867
 
  (exit $ac_status); } && {
9868
 
         test -z "$ac_c_werror_flag" ||
9869
 
         test ! -s conftest.err
9870
 
       } && test -s conftest$ac_exeext &&
9871
 
       $as_test_x conftest$ac_exeext; then
9872
 
  ac_cv_lib_dld_shl_load=yes
9873
 
else
9874
 
  echo "$as_me: failed program was:" >&5
9875
 
sed 's/^/| /' conftest.$ac_ext >&5
9876
 
 
9877
 
        ac_cv_lib_dld_shl_load=no
9878
 
fi
9879
 
 
9880
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9881
 
      conftest$ac_exeext conftest.$ac_ext
9882
 
LIBS=$ac_check_lib_save_LIBS
9883
 
fi
9884
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9885
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9886
 
if test $ac_cv_lib_dld_shl_load = yes; then
9887
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9888
 
else
9889
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
9890
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9891
 
if test "${ac_cv_func_dlopen+set}" = set; then
9892
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9893
 
else
9894
 
  cat >conftest.$ac_ext <<_ACEOF
9895
 
/* confdefs.h.  */
9896
 
_ACEOF
9897
 
cat confdefs.h >>conftest.$ac_ext
9898
 
cat >>conftest.$ac_ext <<_ACEOF
9899
 
/* end confdefs.h.  */
9900
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9901
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9902
 
#define dlopen innocuous_dlopen
9903
 
 
9904
 
/* System header to define __stub macros and hopefully few prototypes,
9905
 
    which can conflict with char dlopen (); below.
9906
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9907
 
    <limits.h> exists even on freestanding compilers.  */
9908
 
 
9909
 
#ifdef __STDC__
9910
 
# include <limits.h>
9911
 
#else
9912
 
# include <assert.h>
9913
 
#endif
9914
 
 
9915
 
#undef dlopen
9916
 
 
9917
 
/* Override any GCC internal prototype to avoid an error.
9918
 
   Use char because int might match the return type of a GCC
9919
 
   builtin and then its argument prototype would still apply.  */
9920
 
#ifdef __cplusplus
9921
 
extern "C"
9922
 
#endif
9923
 
char dlopen ();
9924
 
/* The GNU C library defines this for functions which it implements
9925
 
    to always fail with ENOSYS.  Some functions are actually named
9926
 
    something starting with __ and the normal name is an alias.  */
9927
 
#if defined __stub_dlopen || defined __stub___dlopen
9928
 
choke me
9929
 
#endif
9930
 
 
9931
 
int
9932
 
main ()
9933
 
{
9934
 
return dlopen ();
9935
 
  ;
9936
 
  return 0;
9937
 
}
9938
 
_ACEOF
9939
 
rm -f conftest.$ac_objext conftest$ac_exeext
9940
 
if { (ac_try="$ac_link"
9941
 
case "(($ac_try" in
9942
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9943
 
  *) ac_try_echo=$ac_try;;
9944
 
esac
9945
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9946
 
  (eval "$ac_link") 2>conftest.er1
9947
 
  ac_status=$?
9948
 
  grep -v '^ *+' conftest.er1 >conftest.err
9949
 
  rm -f conftest.er1
9950
 
  cat conftest.err >&5
9951
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9952
 
  (exit $ac_status); } && {
9953
 
         test -z "$ac_c_werror_flag" ||
9954
 
         test ! -s conftest.err
9955
 
       } && test -s conftest$ac_exeext &&
9956
 
       $as_test_x conftest$ac_exeext; then
9957
 
  ac_cv_func_dlopen=yes
9958
 
else
9959
 
  echo "$as_me: failed program was:" >&5
9960
 
sed 's/^/| /' conftest.$ac_ext >&5
9961
 
 
9962
 
        ac_cv_func_dlopen=no
9963
 
fi
9964
 
 
9965
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9966
 
      conftest$ac_exeext conftest.$ac_ext
9967
 
fi
9968
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9969
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9970
 
if test $ac_cv_func_dlopen = yes; then
9971
 
  lt_cv_dlopen="dlopen"
9972
 
else
9973
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9974
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9975
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9976
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9977
 
else
9978
 
  ac_check_lib_save_LIBS=$LIBS
9979
 
LIBS="-ldl  $LIBS"
9980
 
cat >conftest.$ac_ext <<_ACEOF
9981
 
/* confdefs.h.  */
9982
 
_ACEOF
9983
 
cat confdefs.h >>conftest.$ac_ext
9984
 
cat >>conftest.$ac_ext <<_ACEOF
9985
 
/* end confdefs.h.  */
9986
 
 
9987
 
/* Override any GCC internal prototype to avoid an error.
9988
 
   Use char because int might match the return type of a GCC
9989
 
   builtin and then its argument prototype would still apply.  */
9990
 
#ifdef __cplusplus
9991
 
extern "C"
9992
 
#endif
9993
 
char dlopen ();
9994
 
int
9995
 
main ()
9996
 
{
9997
 
return dlopen ();
9998
 
  ;
9999
 
  return 0;
10000
 
}
10001
 
_ACEOF
10002
 
rm -f conftest.$ac_objext conftest$ac_exeext
10003
 
if { (ac_try="$ac_link"
10004
 
case "(($ac_try" in
10005
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10006
 
  *) ac_try_echo=$ac_try;;
10007
 
esac
10008
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10009
 
  (eval "$ac_link") 2>conftest.er1
10010
 
  ac_status=$?
10011
 
  grep -v '^ *+' conftest.er1 >conftest.err
10012
 
  rm -f conftest.er1
10013
 
  cat conftest.err >&5
10014
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10015
 
  (exit $ac_status); } && {
10016
 
         test -z "$ac_c_werror_flag" ||
10017
 
         test ! -s conftest.err
10018
 
       } && test -s conftest$ac_exeext &&
10019
 
       $as_test_x conftest$ac_exeext; then
10020
 
  ac_cv_lib_dl_dlopen=yes
10021
 
else
10022
 
  echo "$as_me: failed program was:" >&5
10023
 
sed 's/^/| /' conftest.$ac_ext >&5
10024
 
 
10025
 
        ac_cv_lib_dl_dlopen=no
10026
 
fi
10027
 
 
10028
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10029
 
      conftest$ac_exeext conftest.$ac_ext
10030
 
LIBS=$ac_check_lib_save_LIBS
10031
 
fi
10032
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10033
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10034
 
if test $ac_cv_lib_dl_dlopen = yes; then
10035
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10036
 
else
10037
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10038
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10039
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10040
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10041
 
else
10042
 
  ac_check_lib_save_LIBS=$LIBS
10043
 
LIBS="-lsvld  $LIBS"
10044
 
cat >conftest.$ac_ext <<_ACEOF
10045
 
/* confdefs.h.  */
10046
 
_ACEOF
10047
 
cat confdefs.h >>conftest.$ac_ext
10048
 
cat >>conftest.$ac_ext <<_ACEOF
10049
 
/* end confdefs.h.  */
10050
 
 
10051
 
/* Override any GCC internal prototype to avoid an error.
10052
 
   Use char because int might match the return type of a GCC
10053
 
   builtin and then its argument prototype would still apply.  */
10054
 
#ifdef __cplusplus
10055
 
extern "C"
10056
 
#endif
10057
 
char dlopen ();
10058
 
int
10059
 
main ()
10060
 
{
10061
 
return dlopen ();
10062
 
  ;
10063
 
  return 0;
10064
 
}
10065
 
_ACEOF
10066
 
rm -f conftest.$ac_objext conftest$ac_exeext
10067
 
if { (ac_try="$ac_link"
10068
 
case "(($ac_try" in
10069
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10070
 
  *) ac_try_echo=$ac_try;;
10071
 
esac
10072
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10073
 
  (eval "$ac_link") 2>conftest.er1
10074
 
  ac_status=$?
10075
 
  grep -v '^ *+' conftest.er1 >conftest.err
10076
 
  rm -f conftest.er1
10077
 
  cat conftest.err >&5
10078
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10079
 
  (exit $ac_status); } && {
10080
 
         test -z "$ac_c_werror_flag" ||
10081
 
         test ! -s conftest.err
10082
 
       } && test -s conftest$ac_exeext &&
10083
 
       $as_test_x conftest$ac_exeext; then
10084
 
  ac_cv_lib_svld_dlopen=yes
10085
 
else
10086
 
  echo "$as_me: failed program was:" >&5
10087
 
sed 's/^/| /' conftest.$ac_ext >&5
10088
 
 
10089
 
        ac_cv_lib_svld_dlopen=no
10090
 
fi
10091
 
 
10092
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10093
 
      conftest$ac_exeext conftest.$ac_ext
10094
 
LIBS=$ac_check_lib_save_LIBS
10095
 
fi
10096
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10097
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10098
 
if test $ac_cv_lib_svld_dlopen = yes; then
10099
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10100
 
else
10101
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10102
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10103
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10104
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10105
 
else
10106
 
  ac_check_lib_save_LIBS=$LIBS
10107
 
LIBS="-ldld  $LIBS"
10108
 
cat >conftest.$ac_ext <<_ACEOF
10109
 
/* confdefs.h.  */
10110
 
_ACEOF
10111
 
cat confdefs.h >>conftest.$ac_ext
10112
 
cat >>conftest.$ac_ext <<_ACEOF
10113
 
/* end confdefs.h.  */
10114
 
 
10115
 
/* Override any GCC internal prototype to avoid an error.
10116
 
   Use char because int might match the return type of a GCC
10117
 
   builtin and then its argument prototype would still apply.  */
10118
 
#ifdef __cplusplus
10119
 
extern "C"
10120
 
#endif
10121
 
char dld_link ();
10122
 
int
10123
 
main ()
10124
 
{
10125
 
return dld_link ();
10126
 
  ;
10127
 
  return 0;
10128
 
}
10129
 
_ACEOF
10130
 
rm -f conftest.$ac_objext conftest$ac_exeext
10131
 
if { (ac_try="$ac_link"
10132
 
case "(($ac_try" in
10133
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10134
 
  *) ac_try_echo=$ac_try;;
10135
 
esac
10136
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10137
 
  (eval "$ac_link") 2>conftest.er1
10138
 
  ac_status=$?
10139
 
  grep -v '^ *+' conftest.er1 >conftest.err
10140
 
  rm -f conftest.er1
10141
 
  cat conftest.err >&5
10142
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10143
 
  (exit $ac_status); } && {
10144
 
         test -z "$ac_c_werror_flag" ||
10145
 
         test ! -s conftest.err
10146
 
       } && test -s conftest$ac_exeext &&
10147
 
       $as_test_x conftest$ac_exeext; then
10148
 
  ac_cv_lib_dld_dld_link=yes
10149
 
else
10150
 
  echo "$as_me: failed program was:" >&5
10151
 
sed 's/^/| /' conftest.$ac_ext >&5
10152
 
 
10153
 
        ac_cv_lib_dld_dld_link=no
10154
 
fi
10155
 
 
10156
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10157
 
      conftest$ac_exeext conftest.$ac_ext
10158
 
LIBS=$ac_check_lib_save_LIBS
10159
 
fi
10160
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10161
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10162
 
if test $ac_cv_lib_dld_dld_link = yes; then
10163
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10164
 
fi
10165
 
 
10166
 
 
10167
 
fi
10168
 
 
10169
 
 
10170
 
fi
10171
 
 
10172
 
 
10173
 
fi
10174
 
 
10175
 
 
10176
 
fi
10177
 
 
10178
 
 
10179
 
fi
10180
 
 
10181
 
    ;;
10182
 
  esac
10183
 
 
10184
 
  if test "x$lt_cv_dlopen" != xno; then
10185
 
    enable_dlopen=yes
10186
 
  else
10187
 
    enable_dlopen=no
10188
 
  fi
10189
 
 
10190
 
  case $lt_cv_dlopen in
10191
 
  dlopen)
10192
 
    save_CPPFLAGS="$CPPFLAGS"
10193
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10194
 
 
10195
 
    save_LDFLAGS="$LDFLAGS"
10196
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10197
 
 
10198
 
    save_LIBS="$LIBS"
10199
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
10200
 
 
10201
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10202
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10203
 
if test "${lt_cv_dlopen_self+set}" = set; then
10204
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10205
 
else
10206
 
          if test "$cross_compiling" = yes; then :
10207
 
  lt_cv_dlopen_self=cross
10208
 
else
10209
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10210
 
  lt_status=$lt_dlunknown
10211
 
  cat > conftest.$ac_ext <<EOF
10212
 
#line 10212 "configure"
10213
 
#include "confdefs.h"
10214
 
 
10215
 
#if HAVE_DLFCN_H
10216
 
#include <dlfcn.h>
10217
 
#endif
10218
 
 
10219
 
#include <stdio.h>
10220
 
 
10221
 
#ifdef RTLD_GLOBAL
10222
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
10223
 
#else
10224
 
#  ifdef DL_GLOBAL
10225
 
#    define LT_DLGLOBAL         DL_GLOBAL
10226
 
#  else
10227
 
#    define LT_DLGLOBAL         0
10228
 
#  endif
10229
 
#endif
10230
 
 
10231
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10232
 
   find out it does not work in some platform. */
10233
 
#ifndef LT_DLLAZY_OR_NOW
10234
 
#  ifdef RTLD_LAZY
10235
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10236
 
#  else
10237
 
#    ifdef DL_LAZY
10238
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
10239
 
#    else
10240
 
#      ifdef RTLD_NOW
10241
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
10242
 
#      else
10243
 
#        ifdef DL_NOW
10244
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
10245
 
#        else
10246
 
#          define LT_DLLAZY_OR_NOW      0
10247
 
#        endif
10248
 
#      endif
10249
 
#    endif
10250
 
#  endif
10251
 
#endif
10252
 
 
10253
 
#ifdef __cplusplus
10254
 
extern "C" void exit (int);
10255
 
#endif
10256
 
 
10257
 
void fnord() { int i=42;}
10258
 
int main ()
10259
 
{
10260
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10261
 
  int status = $lt_dlunknown;
10262
 
 
10263
 
  if (self)
10264
 
    {
10265
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10266
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10267
 
      /* dlclose (self); */
10268
 
    }
10269
 
  else
10270
 
    puts (dlerror ());
10271
 
 
10272
 
    exit (status);
10273
 
}
10274
 
EOF
10275
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10276
 
  (eval $ac_link) 2>&5
10277
 
  ac_status=$?
10278
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10279
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10280
 
    (./conftest; exit; ) >&5 2>/dev/null
10281
 
    lt_status=$?
10282
 
    case x$lt_status in
10283
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10284
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10285
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10286
 
    esac
10287
 
  else :
10288
 
    # compilation failed
10289
 
    lt_cv_dlopen_self=no
10290
 
  fi
10291
 
fi
10292
 
rm -fr conftest*
10293
 
 
10294
 
 
10295
 
fi
10296
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10297
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10298
 
 
10299
 
    if test "x$lt_cv_dlopen_self" = xyes; then
10300
 
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10301
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10302
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10303
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
10304
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10305
 
else
10306
 
          if test "$cross_compiling" = yes; then :
10307
 
  lt_cv_dlopen_self_static=cross
10308
 
else
10309
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10310
 
  lt_status=$lt_dlunknown
10311
 
  cat > conftest.$ac_ext <<EOF
10312
 
#line 10312 "configure"
10313
 
#include "confdefs.h"
10314
 
 
10315
 
#if HAVE_DLFCN_H
10316
 
#include <dlfcn.h>
10317
 
#endif
10318
 
 
10319
 
#include <stdio.h>
10320
 
 
10321
 
#ifdef RTLD_GLOBAL
10322
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
10323
 
#else
10324
 
#  ifdef DL_GLOBAL
10325
 
#    define LT_DLGLOBAL         DL_GLOBAL
10326
 
#  else
10327
 
#    define LT_DLGLOBAL         0
10328
 
#  endif
10329
 
#endif
10330
 
 
10331
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10332
 
   find out it does not work in some platform. */
10333
 
#ifndef LT_DLLAZY_OR_NOW
10334
 
#  ifdef RTLD_LAZY
10335
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10336
 
#  else
10337
 
#    ifdef DL_LAZY
10338
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
10339
 
#    else
10340
 
#      ifdef RTLD_NOW
10341
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
10342
 
#      else
10343
 
#        ifdef DL_NOW
10344
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
10345
 
#        else
10346
 
#          define LT_DLLAZY_OR_NOW      0
10347
 
#        endif
10348
 
#      endif
10349
 
#    endif
10350
 
#  endif
10351
 
#endif
10352
 
 
10353
 
#ifdef __cplusplus
10354
 
extern "C" void exit (int);
10355
 
#endif
10356
 
 
10357
 
void fnord() { int i=42;}
10358
 
int main ()
10359
 
{
10360
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10361
 
  int status = $lt_dlunknown;
10362
 
 
10363
 
  if (self)
10364
 
    {
10365
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10366
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10367
 
      /* dlclose (self); */
10368
 
    }
10369
 
  else
10370
 
    puts (dlerror ());
10371
 
 
10372
 
    exit (status);
10373
 
}
10374
 
EOF
10375
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10376
 
  (eval $ac_link) 2>&5
10377
 
  ac_status=$?
10378
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10379
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10380
 
    (./conftest; exit; ) >&5 2>/dev/null
10381
 
    lt_status=$?
10382
 
    case x$lt_status in
10383
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10384
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10385
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10386
 
    esac
10387
 
  else :
10388
 
    # compilation failed
10389
 
    lt_cv_dlopen_self_static=no
10390
 
  fi
10391
 
fi
10392
 
rm -fr conftest*
10393
 
 
10394
 
 
10395
 
fi
10396
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10397
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10398
 
    fi
10399
 
 
10400
 
    CPPFLAGS="$save_CPPFLAGS"
10401
 
    LDFLAGS="$save_LDFLAGS"
10402
 
    LIBS="$save_LIBS"
10403
 
    ;;
10404
 
  esac
10405
 
 
10406
 
  case $lt_cv_dlopen_self in
10407
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10408
 
  *) enable_dlopen_self=unknown ;;
10409
 
  esac
10410
 
 
10411
 
  case $lt_cv_dlopen_self_static in
10412
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10413
 
  *) enable_dlopen_self_static=unknown ;;
10414
 
  esac
10415
 
fi
10416
 
 
10417
 
 
10418
 
# Report which library types will actually be built
10419
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10420
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10421
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
10422
 
echo "${ECHO_T}$can_build_shared" >&6; }
10423
 
 
10424
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10425
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10426
 
test "$can_build_shared" = "no" && enable_shared=no
10427
 
 
10428
 
# On AIX, shared libraries and static libraries use the same namespace, and
10429
 
# are all built from PIC.
10430
 
case $host_os in
10431
 
aix3*)
10432
 
  test "$enable_shared" = yes && enable_static=no
10433
 
  if test -n "$RANLIB"; then
10434
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
10435
 
    postinstall_cmds='$RANLIB $lib'
10436
 
  fi
10437
 
  ;;
10438
 
 
10439
 
aix4* | aix5*)
10440
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10441
 
    test "$enable_shared" = yes && enable_static=no
10442
 
  fi
10443
 
    ;;
10444
 
esac
10445
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
10446
 
echo "${ECHO_T}$enable_shared" >&6; }
10447
 
 
10448
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10449
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10450
 
# Make sure either enable_shared or enable_static is yes.
10451
 
test "$enable_shared" = yes || enable_static=yes
10452
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
10453
 
echo "${ECHO_T}$enable_static" >&6; }
10454
 
 
10455
 
# The else clause should only fire when bootstrapping the
10456
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
10457
 
# with your package, and you will get complaints that there are
10458
 
# no rules to generate ltmain.sh.
10459
 
if test -f "$ltmain"; then
10460
 
  # See if we are running on zsh, and set the options which allow our commands through
10461
 
  # without removal of \ escapes.
10462
 
  if test -n "${ZSH_VERSION+set}" ; then
10463
 
    setopt NO_GLOB_SUBST
10464
 
  fi
10465
 
  # Now quote all the things that may contain metacharacters while being
10466
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
10467
 
  # variables and quote the copies for generation of the libtool script.
10468
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10469
 
    SED SHELL STRIP \
10470
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10471
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10472
 
    deplibs_check_method reload_flag reload_cmds need_locks \
10473
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10474
 
    lt_cv_sys_global_symbol_to_c_name_address \
10475
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10476
 
    old_postinstall_cmds old_postuninstall_cmds \
10477
 
    compiler \
10478
 
    CC \
10479
 
    LD \
10480
 
    lt_prog_compiler_wl \
10481
 
    lt_prog_compiler_pic \
10482
 
    lt_prog_compiler_static \
10483
 
    lt_prog_compiler_no_builtin_flag \
10484
 
    export_dynamic_flag_spec \
10485
 
    thread_safe_flag_spec \
10486
 
    whole_archive_flag_spec \
10487
 
    enable_shared_with_static_runtimes \
10488
 
    old_archive_cmds \
10489
 
    old_archive_from_new_cmds \
10490
 
    predep_objects \
10491
 
    postdep_objects \
10492
 
    predeps \
10493
 
    postdeps \
10494
 
    compiler_lib_search_path \
10495
 
    archive_cmds \
10496
 
    archive_expsym_cmds \
10497
 
    postinstall_cmds \
10498
 
    postuninstall_cmds \
10499
 
    old_archive_from_expsyms_cmds \
10500
 
    allow_undefined_flag \
10501
 
    no_undefined_flag \
10502
 
    export_symbols_cmds \
10503
 
    hardcode_libdir_flag_spec \
10504
 
    hardcode_libdir_flag_spec_ld \
10505
 
    hardcode_libdir_separator \
10506
 
    hardcode_automatic \
10507
 
    module_cmds \
10508
 
    module_expsym_cmds \
10509
 
    lt_cv_prog_compiler_c_o \
10510
 
    exclude_expsyms \
10511
 
    include_expsyms; do
10512
 
 
10513
 
    case $var in
10514
 
    old_archive_cmds | \
10515
 
    old_archive_from_new_cmds | \
10516
 
    archive_cmds | \
10517
 
    archive_expsym_cmds | \
10518
 
    module_cmds | \
10519
 
    module_expsym_cmds | \
10520
 
    old_archive_from_expsyms_cmds | \
10521
 
    export_symbols_cmds | \
10522
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
10523
 
    postinstall_cmds | postuninstall_cmds | \
10524
 
    old_postinstall_cmds | old_postuninstall_cmds | \
10525
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10526
 
      # Double-quote double-evaled strings.
10527
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10528
 
      ;;
10529
 
    *)
10530
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10531
 
      ;;
10532
 
    esac
10533
 
  done
10534
 
 
10535
 
  case $lt_echo in
10536
 
  *'\$0 --fallback-echo"')
10537
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10538
 
    ;;
10539
 
  esac
10540
 
 
10541
 
cfgfile="${ofile}T"
10542
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10543
 
  $rm -f "$cfgfile"
10544
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
10545
 
echo "$as_me: creating $ofile" >&6;}
10546
 
 
10547
 
  cat <<__EOF__ >> "$cfgfile"
10548
 
#! $SHELL
10549
 
 
10550
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10551
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10552
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10553
 
#
10554
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10555
 
# Free Software Foundation, Inc.
10556
 
#
10557
 
# This file is part of GNU Libtool:
10558
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10559
 
#
10560
 
# This program is free software; you can redistribute it and/or modify
10561
 
# it under the terms of the GNU General Public License as published by
10562
 
# the Free Software Foundation; either version 2 of the License, or
10563
 
# (at your option) any later version.
10564
 
#
10565
 
# This program is distributed in the hope that it will be useful, but
10566
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
10567
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
10568
 
# General Public License for more details.
10569
 
#
10570
 
# You should have received a copy of the GNU General Public License
10571
 
# along with this program; if not, write to the Free Software
10572
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10573
 
#
10574
 
# As a special exception to the GNU General Public License, if you
10575
 
# distribute this file as part of a program that contains a
10576
 
# configuration script generated by Autoconf, you may include it under
10577
 
# the same distribution terms that you use for the rest of that program.
10578
 
 
10579
 
# A sed program that does not truncate output.
10580
 
SED=$lt_SED
10581
 
 
10582
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
10583
 
Xsed="$SED -e 1s/^X//"
10584
 
 
10585
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
10586
 
# if CDPATH is set.
10587
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10588
 
 
10589
 
# The names of the tagged configurations supported by this script.
10590
 
available_tags=
10591
 
 
10592
 
# ### BEGIN LIBTOOL CONFIG
10593
 
 
10594
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10595
 
 
10596
 
# Shell to use when invoking shell scripts.
10597
 
SHELL=$lt_SHELL
10598
 
 
10599
 
# Whether or not to build shared libraries.
10600
 
build_libtool_libs=$enable_shared
10601
 
 
10602
 
# Whether or not to build static libraries.
10603
 
build_old_libs=$enable_static
10604
 
 
10605
 
# Whether or not to add -lc for building shared libraries.
10606
 
build_libtool_need_lc=$archive_cmds_need_lc
10607
 
 
10608
 
# Whether or not to disallow shared libs when runtime libs are static
10609
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10610
 
 
10611
 
# Whether or not to optimize for fast installation.
10612
 
fast_install=$enable_fast_install
10613
 
 
10614
 
# The host system.
10615
 
host_alias=$host_alias
10616
 
host=$host
10617
 
host_os=$host_os
10618
 
 
10619
 
# The build system.
10620
 
build_alias=$build_alias
10621
 
build=$build
10622
 
build_os=$build_os
10623
 
 
10624
 
# An echo program that does not interpret backslashes.
10625
 
echo=$lt_echo
10626
 
 
10627
 
# The archiver.
10628
 
AR=$lt_AR
10629
 
AR_FLAGS=$lt_AR_FLAGS
10630
 
 
10631
 
# A C compiler.
10632
 
LTCC=$lt_LTCC
10633
 
 
10634
 
# LTCC compiler flags.
10635
 
LTCFLAGS=$lt_LTCFLAGS
10636
 
 
10637
 
# A language-specific compiler.
10638
 
CC=$lt_compiler
10639
 
 
10640
 
# Is the compiler the GNU C compiler?
10641
 
with_gcc=$GCC
10642
 
 
10643
 
# An ERE matcher.
10644
 
EGREP=$lt_EGREP
10645
 
 
10646
 
# The linker used to build libraries.
10647
 
LD=$lt_LD
10648
 
 
10649
 
# Whether we need hard or soft links.
10650
 
LN_S=$lt_LN_S
10651
 
 
10652
 
# A BSD-compatible nm program.
10653
 
NM=$lt_NM
10654
 
 
10655
 
# A symbol stripping program
10656
 
STRIP=$lt_STRIP
10657
 
 
10658
 
# Used to examine libraries when file_magic_cmd begins "file"
10659
 
MAGIC_CMD=$MAGIC_CMD
10660
 
 
10661
 
# Used on cygwin: DLL creation program.
10662
 
DLLTOOL="$DLLTOOL"
10663
 
 
10664
 
# Used on cygwin: object dumper.
10665
 
OBJDUMP="$OBJDUMP"
10666
 
 
10667
 
# Used on cygwin: assembler.
10668
 
AS="$AS"
10669
 
 
10670
 
# The name of the directory that contains temporary libtool files.
10671
 
objdir=$objdir
10672
 
 
10673
 
# How to create reloadable object files.
10674
 
reload_flag=$lt_reload_flag
10675
 
reload_cmds=$lt_reload_cmds
10676
 
 
10677
 
# How to pass a linker flag through the compiler.
10678
 
wl=$lt_lt_prog_compiler_wl
10679
 
 
10680
 
# Object file suffix (normally "o").
10681
 
objext="$ac_objext"
10682
 
 
10683
 
# Old archive suffix (normally "a").
10684
 
libext="$libext"
10685
 
 
10686
 
# Shared library suffix (normally ".so").
10687
 
shrext_cmds='$shrext_cmds'
10688
 
 
10689
 
# Executable file suffix (normally "").
10690
 
exeext="$exeext"
10691
 
 
10692
 
# Additional compiler flags for building library objects.
10693
 
pic_flag=$lt_lt_prog_compiler_pic
10694
 
pic_mode=$pic_mode
10695
 
 
10696
 
# What is the maximum length of a command?
10697
 
max_cmd_len=$lt_cv_sys_max_cmd_len
10698
 
 
10699
 
# Does compiler simultaneously support -c and -o options?
10700
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10701
 
 
10702
 
# Must we lock files when doing compilation?
10703
 
need_locks=$lt_need_locks
10704
 
 
10705
 
# Do we need the lib prefix for modules?
10706
 
need_lib_prefix=$need_lib_prefix
10707
 
 
10708
 
# Do we need a version for libraries?
10709
 
need_version=$need_version
10710
 
 
10711
 
# Whether dlopen is supported.
10712
 
dlopen_support=$enable_dlopen
10713
 
 
10714
 
# Whether dlopen of programs is supported.
10715
 
dlopen_self=$enable_dlopen_self
10716
 
 
10717
 
# Whether dlopen of statically linked programs is supported.
10718
 
dlopen_self_static=$enable_dlopen_self_static
10719
 
 
10720
 
# Compiler flag to prevent dynamic linking.
10721
 
link_static_flag=$lt_lt_prog_compiler_static
10722
 
 
10723
 
# Compiler flag to turn off builtin functions.
10724
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10725
 
 
10726
 
# Compiler flag to allow reflexive dlopens.
10727
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10728
 
 
10729
 
# Compiler flag to generate shared objects directly from archives.
10730
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
10731
 
 
10732
 
# Compiler flag to generate thread-safe objects.
10733
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
10734
 
 
10735
 
# Library versioning type.
10736
 
version_type=$version_type
10737
 
 
10738
 
# Format of library name prefix.
10739
 
libname_spec=$lt_libname_spec
10740
 
 
10741
 
# List of archive names.  First name is the real one, the rest are links.
10742
 
# The last name is the one that the linker finds with -lNAME.
10743
 
library_names_spec=$lt_library_names_spec
10744
 
 
10745
 
# The coded name of the library, if different from the real name.
10746
 
soname_spec=$lt_soname_spec
10747
 
 
10748
 
# Commands used to build and install an old-style archive.
10749
 
RANLIB=$lt_RANLIB
10750
 
old_archive_cmds=$lt_old_archive_cmds
10751
 
old_postinstall_cmds=$lt_old_postinstall_cmds
10752
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
10753
 
 
10754
 
# Create an old-style archive from a shared archive.
10755
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10756
 
 
10757
 
# Create a temporary old-style archive to link instead of a shared archive.
10758
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10759
 
 
10760
 
# Commands used to build and install a shared archive.
10761
 
archive_cmds=$lt_archive_cmds
10762
 
archive_expsym_cmds=$lt_archive_expsym_cmds
10763
 
postinstall_cmds=$lt_postinstall_cmds
10764
 
postuninstall_cmds=$lt_postuninstall_cmds
10765
 
 
10766
 
# Commands used to build a loadable module (assumed same as above if empty)
10767
 
module_cmds=$lt_module_cmds
10768
 
module_expsym_cmds=$lt_module_expsym_cmds
10769
 
 
10770
 
# Commands to strip libraries.
10771
 
old_striplib=$lt_old_striplib
10772
 
striplib=$lt_striplib
10773
 
 
10774
 
# Dependencies to place before the objects being linked to create a
10775
 
# shared library.
10776
 
predep_objects=$lt_predep_objects
10777
 
 
10778
 
# Dependencies to place after the objects being linked to create a
10779
 
# shared library.
10780
 
postdep_objects=$lt_postdep_objects
10781
 
 
10782
 
# Dependencies to place before the objects being linked to create a
10783
 
# shared library.
10784
 
predeps=$lt_predeps
10785
 
 
10786
 
# Dependencies to place after the objects being linked to create a
10787
 
# shared library.
10788
 
postdeps=$lt_postdeps
10789
 
 
10790
 
# The library search path used internally by the compiler when linking
10791
 
# a shared library.
10792
 
compiler_lib_search_path=$lt_compiler_lib_search_path
10793
 
 
10794
 
# Method to check whether dependent libraries are shared objects.
10795
 
deplibs_check_method=$lt_deplibs_check_method
10796
 
 
10797
 
# Command to use when deplibs_check_method == file_magic.
10798
 
file_magic_cmd=$lt_file_magic_cmd
10799
 
 
10800
 
# Flag that allows shared libraries with undefined symbols to be built.
10801
 
allow_undefined_flag=$lt_allow_undefined_flag
10802
 
 
10803
 
# Flag that forces no undefined symbols.
10804
 
no_undefined_flag=$lt_no_undefined_flag
10805
 
 
10806
 
# Commands used to finish a libtool library installation in a directory.
10807
 
finish_cmds=$lt_finish_cmds
10808
 
 
10809
 
# Same as above, but a single script fragment to be evaled but not shown.
10810
 
finish_eval=$lt_finish_eval
10811
 
 
10812
 
# Take the output of nm and produce a listing of raw symbols and C names.
10813
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10814
 
 
10815
 
# Transform the output of nm in a proper C declaration
10816
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10817
 
 
10818
 
# Transform the output of nm in a C name address pair
10819
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10820
 
 
10821
 
# This is the shared library runtime path variable.
10822
 
runpath_var=$runpath_var
10823
 
 
10824
 
# This is the shared library path variable.
10825
 
shlibpath_var=$shlibpath_var
10826
 
 
10827
 
# Is shlibpath searched before the hard-coded library search path?
10828
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10829
 
 
10830
 
# How to hardcode a shared library path into an executable.
10831
 
hardcode_action=$hardcode_action
10832
 
 
10833
 
# Whether we should hardcode library paths into libraries.
10834
 
hardcode_into_libs=$hardcode_into_libs
10835
 
 
10836
 
# Flag to hardcode \$libdir into a binary during linking.
10837
 
# This must work even if \$libdir does not exist.
10838
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10839
 
 
10840
 
# If ld is used when linking, flag to hardcode \$libdir into
10841
 
# a binary during linking. This must work even if \$libdir does
10842
 
# not exist.
10843
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10844
 
 
10845
 
# Whether we need a single -rpath flag with a separated argument.
10846
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
10847
 
 
10848
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10849
 
# resulting binary.
10850
 
hardcode_direct=$hardcode_direct
10851
 
 
10852
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10853
 
# resulting binary.
10854
 
hardcode_minus_L=$hardcode_minus_L
10855
 
 
10856
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10857
 
# the resulting binary.
10858
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
10859
 
 
10860
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
10861
 
# and all subsequent libraries and executables linked against it.
10862
 
hardcode_automatic=$hardcode_automatic
10863
 
 
10864
 
# Variables whose values should be saved in libtool wrapper scripts and
10865
 
# restored at relink time.
10866
 
variables_saved_for_relink="$variables_saved_for_relink"
10867
 
 
10868
 
# Whether libtool must link a program against all its dependency libraries.
10869
 
link_all_deplibs=$link_all_deplibs
10870
 
 
10871
 
# Compile-time system search path for libraries
10872
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10873
 
 
10874
 
# Run-time system search path for libraries
10875
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10876
 
 
10877
 
# Fix the shell variable \$srcfile for the compiler.
10878
 
fix_srcfile_path="$fix_srcfile_path"
10879
 
 
10880
 
# Set to yes if exported symbols are required.
10881
 
always_export_symbols=$always_export_symbols
10882
 
 
10883
 
# The commands to list exported symbols.
10884
 
export_symbols_cmds=$lt_export_symbols_cmds
10885
 
 
10886
 
# The commands to extract the exported symbol list from a shared archive.
10887
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
10888
 
 
10889
 
# Symbols that should not be listed in the preloaded symbols.
10890
 
exclude_expsyms=$lt_exclude_expsyms
10891
 
 
10892
 
# Symbols that must always be exported.
10893
 
include_expsyms=$lt_include_expsyms
10894
 
 
10895
 
# ### END LIBTOOL CONFIG
10896
 
 
10897
 
__EOF__
10898
 
 
10899
 
 
10900
 
  case $host_os in
10901
 
  aix3*)
10902
 
    cat <<\EOF >> "$cfgfile"
10903
 
 
10904
 
# AIX sometimes has problems with the GCC collect2 program.  For some
10905
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
10906
 
# vanish in a puff of smoke.
10907
 
if test "X${COLLECT_NAMES+set}" != Xset; then
10908
 
  COLLECT_NAMES=
10909
 
  export COLLECT_NAMES
10910
 
fi
10911
 
EOF
10912
 
    ;;
10913
 
  esac
10914
 
 
10915
 
  # We use sed instead of cat because bash on DJGPP gets confused if
10916
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
10917
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
10918
 
  # is reportedly fixed, but why not run on old versions too?
10919
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10920
 
 
10921
 
  mv -f "$cfgfile" "$ofile" || \
10922
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10923
 
  chmod +x "$ofile"
10924
 
 
10925
 
else
10926
 
  # If there is no Makefile yet, we rely on a make rule to execute
10927
 
  # `config.status --recheck' to rerun these tests and create the
10928
 
  # libtool script then.
10929
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10930
 
  if test -f "$ltmain_in"; then
10931
 
    test -f Makefile && make "$ltmain"
10932
 
  fi
10933
 
fi
10934
 
 
10935
 
 
10936
 
ac_ext=c
10937
 
ac_cpp='$CPP $CPPFLAGS'
10938
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10939
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10940
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10941
 
 
10942
 
CC="$lt_save_CC"
10943
 
 
10944
 
 
10945
 
# Check whether --with-tags was given.
10946
 
if test "${with_tags+set}" = set; then
10947
 
  withval=$with_tags; tagnames="$withval"
10948
 
fi
10949
 
 
10950
 
 
10951
 
if test -f "$ltmain" && test -n "$tagnames"; then
10952
 
  if test ! -f "${ofile}"; then
10953
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
10954
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10955
 
  fi
10956
 
 
10957
 
  if test -z "$LTCC"; then
10958
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
10959
 
    if test -z "$LTCC"; then
10960
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10961
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10962
 
    else
10963
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10964
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10965
 
    fi
10966
 
  fi
10967
 
  if test -z "$LTCFLAGS"; then
10968
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
10969
 
  fi
10970
 
 
10971
 
  # Extract list of available tagged configurations in $ofile.
10972
 
  # Note that this assumes the entire list is on one line.
10973
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10974
 
 
10975
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10976
 
  for tagname in $tagnames; do
10977
 
    IFS="$lt_save_ifs"
10978
 
    # Check whether tagname contains only valid characters
10979
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10980
 
    "") ;;
10981
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10982
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
10983
 
   { (exit 1); exit 1; }; }
10984
 
        ;;
10985
 
    esac
10986
 
 
10987
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10988
 
    then
10989
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10990
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10991
 
   { (exit 1); exit 1; }; }
10992
 
    fi
10993
 
 
10994
 
    # Update the list of available tags.
10995
 
    if test -n "$tagname"; then
10996
 
      echo appending configuration tag \"$tagname\" to $ofile
10997
 
 
10998
 
      case $tagname in
10999
 
      CXX)
11000
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11001
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11002
 
            (test "X$CXX" != "Xg++"))) ; then
11003
 
          ac_ext=cpp
11004
 
ac_cpp='$CXXCPP $CPPFLAGS'
11005
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11006
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11007
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11008
 
 
11009
 
 
11010
 
 
11011
 
 
11012
 
archive_cmds_need_lc_CXX=no
11013
 
allow_undefined_flag_CXX=
11014
 
always_export_symbols_CXX=no
11015
 
archive_expsym_cmds_CXX=
11016
 
export_dynamic_flag_spec_CXX=
11017
 
hardcode_direct_CXX=no
11018
 
hardcode_libdir_flag_spec_CXX=
11019
 
hardcode_libdir_flag_spec_ld_CXX=
11020
 
hardcode_libdir_separator_CXX=
11021
 
hardcode_minus_L_CXX=no
11022
 
hardcode_shlibpath_var_CXX=unsupported
11023
 
hardcode_automatic_CXX=no
11024
 
module_cmds_CXX=
11025
 
module_expsym_cmds_CXX=
11026
 
link_all_deplibs_CXX=unknown
11027
 
old_archive_cmds_CXX=$old_archive_cmds
11028
 
no_undefined_flag_CXX=
11029
 
whole_archive_flag_spec_CXX=
11030
 
enable_shared_with_static_runtimes_CXX=no
11031
 
 
11032
 
# Dependencies to place before and after the object being linked:
11033
 
predep_objects_CXX=
11034
 
postdep_objects_CXX=
11035
 
predeps_CXX=
11036
 
postdeps_CXX=
11037
 
compiler_lib_search_path_CXX=
11038
 
 
11039
 
# Source file extension for C++ test sources.
11040
 
ac_ext=cpp
11041
 
 
11042
 
# Object file extension for compiled C++ test sources.
11043
 
objext=o
11044
 
objext_CXX=$objext
11045
 
 
11046
 
# Code to be used in simple compile tests
11047
 
lt_simple_compile_test_code="int some_variable = 0;\n"
11048
 
 
11049
 
# Code to be used in simple link tests
11050
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
11051
 
 
11052
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11053
 
 
11054
 
# If no C compiler was specified, use CC.
11055
 
LTCC=${LTCC-"$CC"}
11056
 
 
11057
 
# If no C compiler flags were specified, use CFLAGS.
11058
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11059
 
 
11060
 
# Allow CC to be a program name with arguments.
11061
 
compiler=$CC
11062
 
 
11063
 
 
11064
 
# save warnings/boilerplate of simple test code
11065
 
ac_outfile=conftest.$ac_objext
11066
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
11067
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11068
 
_lt_compiler_boilerplate=`cat conftest.err`
11069
 
$rm conftest*
11070
 
 
11071
 
ac_outfile=conftest.$ac_objext
11072
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
11073
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11074
 
_lt_linker_boilerplate=`cat conftest.err`
11075
 
$rm conftest*
11076
 
 
11077
 
 
11078
 
# Allow CC to be a program name with arguments.
11079
 
lt_save_CC=$CC
11080
 
lt_save_LD=$LD
11081
 
lt_save_GCC=$GCC
11082
 
GCC=$GXX
11083
 
lt_save_with_gnu_ld=$with_gnu_ld
11084
 
lt_save_path_LD=$lt_cv_path_LD
11085
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11086
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11087
 
else
11088
 
  $as_unset lt_cv_prog_gnu_ld
11089
 
fi
11090
 
if test -n "${lt_cv_path_LDCXX+set}"; then
11091
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
11092
 
else
11093
 
  $as_unset lt_cv_path_LD
11094
 
fi
11095
 
test -z "${LDCXX+set}" || LD=$LDCXX
11096
 
CC=${CXX-"c++"}
11097
 
compiler=$CC
11098
 
compiler_CXX=$CC
11099
 
for cc_temp in $compiler""; do
11100
 
  case $cc_temp in
11101
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11102
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11103
 
    \-*) ;;
11104
 
    *) break;;
11105
 
  esac
11106
 
done
11107
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11108
 
 
11109
 
 
11110
 
# We don't want -fno-exception wen compiling C++ code, so set the
11111
 
# no_builtin_flag separately
11112
 
if test "$GXX" = yes; then
11113
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11114
 
else
11115
 
  lt_prog_compiler_no_builtin_flag_CXX=
11116
 
fi
11117
 
 
11118
 
if test "$GXX" = yes; then
11119
 
  # Set up default GNU C++ configuration
11120
 
 
11121
 
 
11122
 
# Check whether --with-gnu-ld was given.
11123
 
if test "${with_gnu_ld+set}" = set; then
11124
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11125
 
else
11126
 
  with_gnu_ld=no
11127
 
fi
11128
 
 
11129
 
ac_prog=ld
11130
 
if test "$GCC" = yes; then
11131
 
  # Check if gcc -print-prog-name=ld gives a path.
11132
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11133
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11134
 
  case $host in
11135
 
  *-*-mingw*)
11136
 
    # gcc leaves a trailing carriage return which upsets mingw
11137
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11138
 
  *)
11139
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11140
 
  esac
11141
 
  case $ac_prog in
11142
 
    # Accept absolute paths.
11143
 
    [\\/]* | ?:[\\/]*)
11144
 
      re_direlt='/[^/][^/]*/\.\./'
11145
 
      # Canonicalize the pathname of ld
11146
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11147
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11148
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11149
 
      done
11150
 
      test -z "$LD" && LD="$ac_prog"
11151
 
      ;;
11152
 
  "")
11153
 
    # If it fails, then pretend we aren't using GCC.
11154
 
    ac_prog=ld
11155
 
    ;;
11156
 
  *)
11157
 
    # If it is relative, then search for the first ld in PATH.
11158
 
    with_gnu_ld=unknown
11159
 
    ;;
11160
 
  esac
11161
 
elif test "$with_gnu_ld" = yes; then
11162
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
11163
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11164
 
else
11165
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11166
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11167
 
fi
11168
 
if test "${lt_cv_path_LD+set}" = set; then
11169
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11170
 
else
11171
 
  if test -z "$LD"; then
11172
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11173
 
  for ac_dir in $PATH; do
11174
 
    IFS="$lt_save_ifs"
11175
 
    test -z "$ac_dir" && ac_dir=.
11176
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11177
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
11178
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
11179
 
      # but apparently some variants of GNU ld only accept -v.
11180
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
11181
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11182
 
      *GNU* | *'with BFD'*)
11183
 
        test "$with_gnu_ld" != no && break
11184
 
        ;;
11185
 
      *)
11186
 
        test "$with_gnu_ld" != yes && break
11187
 
        ;;
11188
 
      esac
11189
 
    fi
11190
 
  done
11191
 
  IFS="$lt_save_ifs"
11192
 
else
11193
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
11194
 
fi
11195
 
fi
11196
 
 
11197
 
LD="$lt_cv_path_LD"
11198
 
if test -n "$LD"; then
11199
 
  { echo "$as_me:$LINENO: result: $LD" >&5
11200
 
echo "${ECHO_T}$LD" >&6; }
11201
 
else
11202
 
  { echo "$as_me:$LINENO: result: no" >&5
11203
 
echo "${ECHO_T}no" >&6; }
11204
 
fi
11205
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11206
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11207
 
   { (exit 1); exit 1; }; }
11208
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11209
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11210
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
11211
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11212
 
else
11213
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
11214
 
case `$LD -v 2>&1 </dev/null` in
11215
 
*GNU* | *'with BFD'*)
11216
 
  lt_cv_prog_gnu_ld=yes
11217
 
  ;;
11218
 
*)
11219
 
  lt_cv_prog_gnu_ld=no
11220
 
  ;;
11221
 
esac
11222
 
fi
11223
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11224
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11225
 
with_gnu_ld=$lt_cv_prog_gnu_ld
11226
 
 
11227
 
 
11228
 
 
11229
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
11230
 
  # archiving commands below assume that GNU ld is being used.
11231
 
  if test "$with_gnu_ld" = yes; then
11232
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11233
 
    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'
11234
 
 
11235
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11236
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11237
 
 
11238
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
11239
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11240
 
    #     investigate it a little bit more. (MM)
11241
 
    wlarc='${wl}'
11242
 
 
11243
 
    # ancient GNU ld didn't support --whole-archive et. al.
11244
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11245
 
        grep 'no-whole-archive' > /dev/null; then
11246
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11247
 
    else
11248
 
      whole_archive_flag_spec_CXX=
11249
 
    fi
11250
 
  else
11251
 
    with_gnu_ld=no
11252
 
    wlarc=
11253
 
 
11254
 
    # A generic and very simple default shared library creation
11255
 
    # command for GNU C++ for the case where it uses the native
11256
 
    # linker, instead of GNU ld.  If possible, this setting should
11257
 
    # overridden to take advantage of the native linker features on
11258
 
    # the platform it is being used on.
11259
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11260
 
  fi
11261
 
 
11262
 
  # Commands to make compiler produce verbose output that lists
11263
 
  # what "hidden" libraries, object files and flags are used when
11264
 
  # linking a shared library.
11265
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11266
 
 
11267
 
else
11268
 
  GXX=no
11269
 
  with_gnu_ld=no
11270
 
  wlarc=
11271
 
fi
11272
 
 
11273
 
# PORTME: fill in a description of your system's C++ link characteristics
11274
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11275
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11276
 
ld_shlibs_CXX=yes
11277
 
case $host_os in
11278
 
  aix3*)
11279
 
    # FIXME: insert proper C++ library support
11280
 
    ld_shlibs_CXX=no
11281
 
    ;;
11282
 
  aix4* | aix5*)
11283
 
    if test "$host_cpu" = ia64; then
11284
 
      # On IA64, the linker does run time linking by default, so we don't
11285
 
      # have to do anything special.
11286
 
      aix_use_runtimelinking=no
11287
 
      exp_sym_flag='-Bexport'
11288
 
      no_entry_flag=""
11289
 
    else
11290
 
      aix_use_runtimelinking=no
11291
 
 
11292
 
      # Test if we are trying to use run time linking or normal
11293
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11294
 
      # need to do runtime linking.
11295
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11296
 
        for ld_flag in $LDFLAGS; do
11297
 
          case $ld_flag in
11298
 
          *-brtl*)
11299
 
            aix_use_runtimelinking=yes
11300
 
            break
11301
 
            ;;
11302
 
          esac
11303
 
        done
11304
 
        ;;
11305
 
      esac
11306
 
 
11307
 
      exp_sym_flag='-bexport'
11308
 
      no_entry_flag='-bnoentry'
11309
 
    fi
11310
 
 
11311
 
    # When large executables or shared objects are built, AIX ld can
11312
 
    # have problems creating the table of contents.  If linking a library
11313
 
    # or program results in "error TOC overflow" add -mminimal-toc to
11314
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11315
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11316
 
 
11317
 
    archive_cmds_CXX=''
11318
 
    hardcode_direct_CXX=yes
11319
 
    hardcode_libdir_separator_CXX=':'
11320
 
    link_all_deplibs_CXX=yes
11321
 
 
11322
 
    if test "$GXX" = yes; then
11323
 
      case $host_os in aix4.[012]|aix4.[012].*)
11324
 
      # We only want to do this on AIX 4.2 and lower, the check
11325
 
      # below for broken collect2 doesn't work under 4.3+
11326
 
        collect2name=`${CC} -print-prog-name=collect2`
11327
 
        if test -f "$collect2name" && \
11328
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
11329
 
        then
11330
 
          # We have reworked collect2
11331
 
          hardcode_direct_CXX=yes
11332
 
        else
11333
 
          # We have old collect2
11334
 
          hardcode_direct_CXX=unsupported
11335
 
          # It fails to find uninstalled libraries when the uninstalled
11336
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
11337
 
          # to unsupported forces relinking
11338
 
          hardcode_minus_L_CXX=yes
11339
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
11340
 
          hardcode_libdir_separator_CXX=
11341
 
        fi
11342
 
        ;;
11343
 
      esac
11344
 
      shared_flag='-shared'
11345
 
      if test "$aix_use_runtimelinking" = yes; then
11346
 
        shared_flag="$shared_flag "'${wl}-G'
11347
 
      fi
11348
 
    else
11349
 
      # not using gcc
11350
 
      if test "$host_cpu" = ia64; then
11351
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11352
 
        # chokes on -Wl,-G. The following line is correct:
11353
 
        shared_flag='-G'
11354
 
      else
11355
 
        if test "$aix_use_runtimelinking" = yes; then
11356
 
          shared_flag='${wl}-G'
11357
 
        else
11358
 
          shared_flag='${wl}-bM:SRE'
11359
 
        fi
11360
 
      fi
11361
 
    fi
11362
 
 
11363
 
    # It seems that -bexpall does not export symbols beginning with
11364
 
    # underscore (_), so it is better to generate a list of symbols to export.
11365
 
    always_export_symbols_CXX=yes
11366
 
    if test "$aix_use_runtimelinking" = yes; then
11367
 
      # Warning - without using the other runtime loading flags (-brtl),
11368
 
      # -berok will link without error, but may produce a broken library.
11369
 
      allow_undefined_flag_CXX='-berok'
11370
 
      # Determine the default libpath from the value encoded in an empty executable.
11371
 
      cat >conftest.$ac_ext <<_ACEOF
11372
 
/* confdefs.h.  */
11373
 
_ACEOF
11374
 
cat confdefs.h >>conftest.$ac_ext
11375
 
cat >>conftest.$ac_ext <<_ACEOF
11376
 
/* end confdefs.h.  */
11377
 
 
11378
 
int
11379
 
main ()
11380
 
{
11381
 
 
11382
 
  ;
11383
 
  return 0;
11384
 
}
11385
 
_ACEOF
11386
 
rm -f conftest.$ac_objext conftest$ac_exeext
11387
 
if { (ac_try="$ac_link"
11388
 
case "(($ac_try" in
11389
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11390
 
  *) ac_try_echo=$ac_try;;
11391
 
esac
11392
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11393
 
  (eval "$ac_link") 2>conftest.er1
11394
 
  ac_status=$?
11395
 
  grep -v '^ *+' conftest.er1 >conftest.err
11396
 
  rm -f conftest.er1
11397
 
  cat conftest.err >&5
11398
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11399
 
  (exit $ac_status); } && {
11400
 
         test -z "$ac_cxx_werror_flag" ||
11401
 
         test ! -s conftest.err
11402
 
       } && test -s conftest$ac_exeext &&
11403
 
       $as_test_x conftest$ac_exeext; then
11404
 
 
11405
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11406
 
}'`
11407
 
# Check for a 64-bit object if we didn't find anything.
11408
 
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; }
11409
 
}'`; fi
11410
 
else
11411
 
  echo "$as_me: failed program was:" >&5
11412
 
sed 's/^/| /' conftest.$ac_ext >&5
11413
 
 
11414
 
 
11415
 
fi
11416
 
 
11417
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11418
 
      conftest$ac_exeext conftest.$ac_ext
11419
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11420
 
 
11421
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11422
 
 
11423
 
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11424
 
     else
11425
 
      if test "$host_cpu" = ia64; then
11426
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11427
 
        allow_undefined_flag_CXX="-z nodefs"
11428
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
11429
 
      else
11430
 
        # Determine the default libpath from the value encoded in an empty executable.
11431
 
        cat >conftest.$ac_ext <<_ACEOF
11432
 
/* confdefs.h.  */
11433
 
_ACEOF
11434
 
cat confdefs.h >>conftest.$ac_ext
11435
 
cat >>conftest.$ac_ext <<_ACEOF
11436
 
/* end confdefs.h.  */
11437
 
 
11438
 
int
11439
 
main ()
11440
 
{
11441
 
 
11442
 
  ;
11443
 
  return 0;
11444
 
}
11445
 
_ACEOF
11446
 
rm -f conftest.$ac_objext conftest$ac_exeext
11447
 
if { (ac_try="$ac_link"
11448
 
case "(($ac_try" in
11449
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11450
 
  *) ac_try_echo=$ac_try;;
11451
 
esac
11452
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11453
 
  (eval "$ac_link") 2>conftest.er1
11454
 
  ac_status=$?
11455
 
  grep -v '^ *+' conftest.er1 >conftest.err
11456
 
  rm -f conftest.er1
11457
 
  cat conftest.err >&5
11458
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11459
 
  (exit $ac_status); } && {
11460
 
         test -z "$ac_cxx_werror_flag" ||
11461
 
         test ! -s conftest.err
11462
 
       } && test -s conftest$ac_exeext &&
11463
 
       $as_test_x conftest$ac_exeext; then
11464
 
 
11465
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11466
 
}'`
11467
 
# Check for a 64-bit object if we didn't find anything.
11468
 
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; }
11469
 
}'`; fi
11470
 
else
11471
 
  echo "$as_me: failed program was:" >&5
11472
 
sed 's/^/| /' conftest.$ac_ext >&5
11473
 
 
11474
 
 
11475
 
fi
11476
 
 
11477
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11478
 
      conftest$ac_exeext conftest.$ac_ext
11479
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11480
 
 
11481
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11482
 
        # Warning - without using the other run time loading flags,
11483
 
        # -berok will link without error, but may produce a broken library.
11484
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
11485
 
        allow_undefined_flag_CXX=' ${wl}-berok'
11486
 
        # Exported symbols can be pulled into shared objects from archives
11487
 
        whole_archive_flag_spec_CXX='$convenience'
11488
 
        archive_cmds_need_lc_CXX=yes
11489
 
        # This is similar to how AIX traditionally builds its shared libraries.
11490
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11491
 
      fi
11492
 
    fi
11493
 
    ;;
11494
 
 
11495
 
  beos*)
11496
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11497
 
      allow_undefined_flag_CXX=unsupported
11498
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11499
 
      # support --undefined.  This deserves some investigation.  FIXME
11500
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11501
 
    else
11502
 
      ld_shlibs_CXX=no
11503
 
    fi
11504
 
    ;;
11505
 
 
11506
 
  chorus*)
11507
 
    case $cc_basename in
11508
 
      *)
11509
 
        # FIXME: insert proper C++ library support
11510
 
        ld_shlibs_CXX=no
11511
 
        ;;
11512
 
    esac
11513
 
    ;;
11514
 
 
11515
 
  cygwin* | mingw* | pw32*)
11516
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11517
 
    # as there is no search path for DLLs.
11518
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
11519
 
    allow_undefined_flag_CXX=unsupported
11520
 
    always_export_symbols_CXX=no
11521
 
    enable_shared_with_static_runtimes_CXX=yes
11522
 
 
11523
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11524
 
      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11525
 
      # If the export-symbols file already is a .def file (1st line
11526
 
      # is EXPORTS), use it as is; otherwise, prepend...
11527
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11528
 
        cp $export_symbols $output_objdir/$soname.def;
11529
 
      else
11530
 
        echo EXPORTS > $output_objdir/$soname.def;
11531
 
        cat $export_symbols >> $output_objdir/$soname.def;
11532
 
      fi~
11533
 
      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11534
 
    else
11535
 
      ld_shlibs_CXX=no
11536
 
    fi
11537
 
  ;;
11538
 
      darwin* | rhapsody*)
11539
 
        case $host_os in
11540
 
        rhapsody* | darwin1.[012])
11541
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11542
 
         ;;
11543
 
       *) # Darwin 1.3 on
11544
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11545
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11546
 
         else
11547
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
11548
 
             10.[012])
11549
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11550
 
               ;;
11551
 
             10.*)
11552
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11553
 
               ;;
11554
 
           esac
11555
 
         fi
11556
 
         ;;
11557
 
        esac
11558
 
      archive_cmds_need_lc_CXX=no
11559
 
      hardcode_direct_CXX=no
11560
 
      hardcode_automatic_CXX=yes
11561
 
      hardcode_shlibpath_var_CXX=unsupported
11562
 
      whole_archive_flag_spec_CXX=''
11563
 
      link_all_deplibs_CXX=yes
11564
 
 
11565
 
    if test "$GXX" = yes ; then
11566
 
      lt_int_apple_cc_single_mod=no
11567
 
      output_verbose_link_cmd='echo'
11568
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11569
 
       lt_int_apple_cc_single_mod=yes
11570
 
      fi
11571
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11572
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11573
 
      else
11574
 
          archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11575
 
        fi
11576
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11577
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11578
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11579
 
            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}'
11580
 
          else
11581
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11582
 
          fi
11583
 
            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}'
11584
 
      else
11585
 
      case $cc_basename in
11586
 
        xlc*)
11587
 
         output_verbose_link_cmd='echo'
11588
 
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11589
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11590
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11591
 
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11592
 
          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}'
11593
 
          ;;
11594
 
       *)
11595
 
         ld_shlibs_CXX=no
11596
 
          ;;
11597
 
      esac
11598
 
      fi
11599
 
        ;;
11600
 
 
11601
 
  dgux*)
11602
 
    case $cc_basename in
11603
 
      ec++*)
11604
 
        # FIXME: insert proper C++ library support
11605
 
        ld_shlibs_CXX=no
11606
 
        ;;
11607
 
      ghcx*)
11608
 
        # Green Hills C++ Compiler
11609
 
        # FIXME: insert proper C++ library support
11610
 
        ld_shlibs_CXX=no
11611
 
        ;;
11612
 
      *)
11613
 
        # FIXME: insert proper C++ library support
11614
 
        ld_shlibs_CXX=no
11615
 
        ;;
11616
 
    esac
11617
 
    ;;
11618
 
  freebsd[12]*)
11619
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
11620
 
    ld_shlibs_CXX=no
11621
 
    ;;
11622
 
  freebsd-elf*)
11623
 
    archive_cmds_need_lc_CXX=no
11624
 
    ;;
11625
 
  freebsd* | dragonfly*)
11626
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11627
 
    # conventions
11628
 
    ld_shlibs_CXX=yes
11629
 
    ;;
11630
 
  gnu*)
11631
 
    ;;
11632
 
  hpux9*)
11633
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11634
 
    hardcode_libdir_separator_CXX=:
11635
 
    export_dynamic_flag_spec_CXX='${wl}-E'
11636
 
    hardcode_direct_CXX=yes
11637
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
11638
 
                                # but as the default
11639
 
                                # location of the library.
11640
 
 
11641
 
    case $cc_basename in
11642
 
    CC*)
11643
 
      # FIXME: insert proper C++ library support
11644
 
      ld_shlibs_CXX=no
11645
 
      ;;
11646
 
    aCC*)
11647
 
      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'
11648
 
      # Commands to make compiler produce verbose output that lists
11649
 
      # what "hidden" libraries, object files and flags are used when
11650
 
      # linking a shared library.
11651
 
      #
11652
 
      # There doesn't appear to be a way to prevent this compiler from
11653
 
      # explicitly linking system object files so we need to strip them
11654
 
      # from the output so that they don't get included in the library
11655
 
      # dependencies.
11656
 
      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'
11657
 
      ;;
11658
 
    *)
11659
 
      if test "$GXX" = yes; then
11660
 
        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'
11661
 
      else
11662
 
        # FIXME: insert proper C++ library support
11663
 
        ld_shlibs_CXX=no
11664
 
      fi
11665
 
      ;;
11666
 
    esac
11667
 
    ;;
11668
 
  hpux10*|hpux11*)
11669
 
    if test $with_gnu_ld = no; then
11670
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11671
 
      hardcode_libdir_separator_CXX=:
11672
 
 
11673
 
      case $host_cpu in
11674
 
      hppa*64*|ia64*)
11675
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11676
 
        ;;
11677
 
      *)
11678
 
        export_dynamic_flag_spec_CXX='${wl}-E'
11679
 
        ;;
11680
 
      esac
11681
 
    fi
11682
 
    case $host_cpu in
11683
 
    hppa*64*|ia64*)
11684
 
      hardcode_direct_CXX=no
11685
 
      hardcode_shlibpath_var_CXX=no
11686
 
      ;;
11687
 
    *)
11688
 
      hardcode_direct_CXX=yes
11689
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
11690
 
                                              # but as the default
11691
 
                                              # location of the library.
11692
 
      ;;
11693
 
    esac
11694
 
 
11695
 
    case $cc_basename in
11696
 
      CC*)
11697
 
        # FIXME: insert proper C++ library support
11698
 
        ld_shlibs_CXX=no
11699
 
        ;;
11700
 
      aCC*)
11701
 
        case $host_cpu in
11702
 
        hppa*64*)
11703
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11704
 
          ;;
11705
 
        ia64*)
11706
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11707
 
          ;;
11708
 
        *)
11709
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11710
 
          ;;
11711
 
        esac
11712
 
        # Commands to make compiler produce verbose output that lists
11713
 
        # what "hidden" libraries, object files and flags are used when
11714
 
        # linking a shared library.
11715
 
        #
11716
 
        # There doesn't appear to be a way to prevent this compiler from
11717
 
        # explicitly linking system object files so we need to strip them
11718
 
        # from the output so that they don't get included in the library
11719
 
        # dependencies.
11720
 
        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'
11721
 
        ;;
11722
 
      *)
11723
 
        if test "$GXX" = yes; then
11724
 
          if test $with_gnu_ld = no; then
11725
 
            case $host_cpu in
11726
 
            hppa*64*)
11727
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11728
 
              ;;
11729
 
            ia64*)
11730
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11731
 
              ;;
11732
 
            *)
11733
 
              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'
11734
 
              ;;
11735
 
            esac
11736
 
          fi
11737
 
        else
11738
 
          # FIXME: insert proper C++ library support
11739
 
          ld_shlibs_CXX=no
11740
 
        fi
11741
 
        ;;
11742
 
    esac
11743
 
    ;;
11744
 
  interix3*)
11745
 
    hardcode_direct_CXX=no
11746
 
    hardcode_shlibpath_var_CXX=no
11747
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11748
 
    export_dynamic_flag_spec_CXX='${wl}-E'
11749
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11750
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
11751
 
    # default) and relocated if they conflict, which is a slow very memory
11752
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
11753
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11754
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11755
 
    archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11756
 
    archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11757
 
    ;;
11758
 
  irix5* | irix6*)
11759
 
    case $cc_basename in
11760
 
      CC*)
11761
 
        # SGI C++
11762
 
        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 ${output_objdir}/so_locations -o $lib'
11763
 
 
11764
 
        # Archives containing C++ object files must be created using
11765
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
11766
 
        # necessary to make sure instantiated templates are included
11767
 
        # in the archive.
11768
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11769
 
        ;;
11770
 
      *)
11771
 
        if test "$GXX" = yes; then
11772
 
          if test "$with_gnu_ld" = no; then
11773
 
            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}${output_objdir}/so_locations -o $lib'
11774
 
          else
11775
 
            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'
11776
 
          fi
11777
 
        fi
11778
 
        link_all_deplibs_CXX=yes
11779
 
        ;;
11780
 
    esac
11781
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11782
 
    hardcode_libdir_separator_CXX=:
11783
 
    ;;
11784
 
  linux* | k*bsd*-gnu)
11785
 
    case $cc_basename in
11786
 
      KCC*)
11787
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11788
 
 
11789
 
        # KCC will only create a shared library if the output file
11790
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11791
 
        # to its proper name (with version) after linking.
11792
 
        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'
11793
 
        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'
11794
 
        # Commands to make compiler produce verbose output that lists
11795
 
        # what "hidden" libraries, object files and flags are used when
11796
 
        # linking a shared library.
11797
 
        #
11798
 
        # There doesn't appear to be a way to prevent this compiler from
11799
 
        # explicitly linking system object files so we need to strip them
11800
 
        # from the output so that they don't get included in the library
11801
 
        # dependencies.
11802
 
        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'
11803
 
 
11804
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
11805
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11806
 
 
11807
 
        # Archives containing C++ object files must be created using
11808
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11809
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11810
 
        ;;
11811
 
      icpc*)
11812
 
        # Intel C++
11813
 
        with_gnu_ld=yes
11814
 
        # version 8.0 and above of icpc choke on multiply defined symbols
11815
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
11816
 
        # earlier do not add the objects themselves.
11817
 
        case `$CC -V 2>&1` in
11818
 
        *"Version 7."*)
11819
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11820
 
          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'
11821
 
          ;;
11822
 
        *)  # Version 8.0 or newer
11823
 
          tmp_idyn=
11824
 
          case $host_cpu in
11825
 
            ia64*) tmp_idyn=' -i_dynamic';;
11826
 
          esac
11827
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11828
 
          archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11829
 
          ;;
11830
 
        esac
11831
 
        archive_cmds_need_lc_CXX=no
11832
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11833
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11834
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11835
 
        ;;
11836
 
      pgCC*)
11837
 
        # Portland Group C++ compiler
11838
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11839
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11840
 
 
11841
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11842
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11843
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11844
 
        ;;
11845
 
      cxx*)
11846
 
        # Compaq C++
11847
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11848
 
        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'
11849
 
 
11850
 
        runpath_var=LD_RUN_PATH
11851
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11852
 
        hardcode_libdir_separator_CXX=:
11853
 
 
11854
 
        # Commands to make compiler produce verbose output that lists
11855
 
        # what "hidden" libraries, object files and flags are used when
11856
 
        # linking a shared library.
11857
 
        #
11858
 
        # There doesn't appear to be a way to prevent this compiler from
11859
 
        # explicitly linking system object files so we need to strip them
11860
 
        # from the output so that they don't get included in the library
11861
 
        # dependencies.
11862
 
        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'
11863
 
        ;;
11864
 
    esac
11865
 
    ;;
11866
 
  lynxos*)
11867
 
    # FIXME: insert proper C++ library support
11868
 
    ld_shlibs_CXX=no
11869
 
    ;;
11870
 
  m88k*)
11871
 
    # FIXME: insert proper C++ library support
11872
 
    ld_shlibs_CXX=no
11873
 
    ;;
11874
 
  mvs*)
11875
 
    case $cc_basename in
11876
 
      cxx*)
11877
 
        # FIXME: insert proper C++ library support
11878
 
        ld_shlibs_CXX=no
11879
 
        ;;
11880
 
      *)
11881
 
        # FIXME: insert proper C++ library support
11882
 
        ld_shlibs_CXX=no
11883
 
        ;;
11884
 
    esac
11885
 
    ;;
11886
 
  netbsd* | netbsdelf*-gnu)
11887
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11888
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11889
 
      wlarc=
11890
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
11891
 
      hardcode_direct_CXX=yes
11892
 
      hardcode_shlibpath_var_CXX=no
11893
 
    fi
11894
 
    # Workaround some broken pre-1.5 toolchains
11895
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11896
 
    ;;
11897
 
  openbsd2*)
11898
 
    # C++ shared libraries are fairly broken
11899
 
    ld_shlibs_CXX=no
11900
 
    ;;
11901
 
  openbsd*)
11902
 
    hardcode_direct_CXX=yes
11903
 
    hardcode_shlibpath_var_CXX=no
11904
 
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11905
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11906
 
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11907
 
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11908
 
      export_dynamic_flag_spec_CXX='${wl}-E'
11909
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11910
 
    fi
11911
 
    output_verbose_link_cmd='echo'
11912
 
    ;;
11913
 
  osf3*)
11914
 
    case $cc_basename in
11915
 
      KCC*)
11916
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11917
 
 
11918
 
        # KCC will only create a shared library if the output file
11919
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11920
 
        # to its proper name (with version) after linking.
11921
 
        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'
11922
 
 
11923
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11924
 
        hardcode_libdir_separator_CXX=:
11925
 
 
11926
 
        # Archives containing C++ object files must be created using
11927
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11928
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11929
 
 
11930
 
        ;;
11931
 
      RCC*)
11932
 
        # Rational C++ 2.4.1
11933
 
        # FIXME: insert proper C++ library support
11934
 
        ld_shlibs_CXX=no
11935
 
        ;;
11936
 
      cxx*)
11937
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11938
 
        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 ${output_objdir}/so_locations -o $lib'
11939
 
 
11940
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11941
 
        hardcode_libdir_separator_CXX=:
11942
 
 
11943
 
        # Commands to make compiler produce verbose output that lists
11944
 
        # what "hidden" libraries, object files and flags are used when
11945
 
        # linking a shared library.
11946
 
        #
11947
 
        # There doesn't appear to be a way to prevent this compiler from
11948
 
        # explicitly linking system object files so we need to strip them
11949
 
        # from the output so that they don't get included in the library
11950
 
        # dependencies.
11951
 
        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'
11952
 
        ;;
11953
 
      *)
11954
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11955
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11956
 
          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}${output_objdir}/so_locations -o $lib'
11957
 
 
11958
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11959
 
          hardcode_libdir_separator_CXX=:
11960
 
 
11961
 
          # Commands to make compiler produce verbose output that lists
11962
 
          # what "hidden" libraries, object files and flags are used when
11963
 
          # linking a shared library.
11964
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11965
 
 
11966
 
        else
11967
 
          # FIXME: insert proper C++ library support
11968
 
          ld_shlibs_CXX=no
11969
 
        fi
11970
 
        ;;
11971
 
    esac
11972
 
    ;;
11973
 
  osf4* | osf5*)
11974
 
    case $cc_basename in
11975
 
      KCC*)
11976
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11977
 
 
11978
 
        # KCC will only create a shared library if the output file
11979
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11980
 
        # to its proper name (with version) after linking.
11981
 
        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'
11982
 
 
11983
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11984
 
        hardcode_libdir_separator_CXX=:
11985
 
 
11986
 
        # Archives containing C++ object files must be created using
11987
 
        # the KAI C++ compiler.
11988
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
11989
 
        ;;
11990
 
      RCC*)
11991
 
        # Rational C++ 2.4.1
11992
 
        # FIXME: insert proper C++ library support
11993
 
        ld_shlibs_CXX=no
11994
 
        ;;
11995
 
      cxx*)
11996
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
11997
 
        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 ${output_objdir}/so_locations -o $lib'
11998
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11999
 
          echo "-hidden">> $lib.exp~
12000
 
          $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 ${output_objdir}/so_locations -o $lib~
12001
 
          $rm $lib.exp'
12002
 
 
12003
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12004
 
        hardcode_libdir_separator_CXX=:
12005
 
 
12006
 
        # Commands to make compiler produce verbose output that lists
12007
 
        # what "hidden" libraries, object files and flags are used when
12008
 
        # linking a shared library.
12009
 
        #
12010
 
        # There doesn't appear to be a way to prevent this compiler from
12011
 
        # explicitly linking system object files so we need to strip them
12012
 
        # from the output so that they don't get included in the library
12013
 
        # dependencies.
12014
 
        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'
12015
 
        ;;
12016
 
      *)
12017
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12018
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12019
 
         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}${output_objdir}/so_locations -o $lib'
12020
 
 
12021
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12022
 
          hardcode_libdir_separator_CXX=:
12023
 
 
12024
 
          # Commands to make compiler produce verbose output that lists
12025
 
          # what "hidden" libraries, object files and flags are used when
12026
 
          # linking a shared library.
12027
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12028
 
 
12029
 
        else
12030
 
          # FIXME: insert proper C++ library support
12031
 
          ld_shlibs_CXX=no
12032
 
        fi
12033
 
        ;;
12034
 
    esac
12035
 
    ;;
12036
 
  psos*)
12037
 
    # FIXME: insert proper C++ library support
12038
 
    ld_shlibs_CXX=no
12039
 
    ;;
12040
 
  sunos4*)
12041
 
    case $cc_basename in
12042
 
      CC*)
12043
 
        # Sun C++ 4.x
12044
 
        # FIXME: insert proper C++ library support
12045
 
        ld_shlibs_CXX=no
12046
 
        ;;
12047
 
      lcc*)
12048
 
        # Lucid
12049
 
        # FIXME: insert proper C++ library support
12050
 
        ld_shlibs_CXX=no
12051
 
        ;;
12052
 
      *)
12053
 
        # FIXME: insert proper C++ library support
12054
 
        ld_shlibs_CXX=no
12055
 
        ;;
12056
 
    esac
12057
 
    ;;
12058
 
  solaris*)
12059
 
    case $cc_basename in
12060
 
      CC*)
12061
 
        # Sun C++ 4.2, 5.x and Centerline C++
12062
 
        archive_cmds_need_lc_CXX=yes
12063
 
        no_undefined_flag_CXX=' -zdefs'
12064
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12065
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12066
 
        $CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12067
 
 
12068
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
12069
 
        hardcode_shlibpath_var_CXX=no
12070
 
        case $host_os in
12071
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
12072
 
          *)
12073
 
            # The C++ compiler is used as linker so we must use $wl
12074
 
            # flag to pass the commands to the underlying system
12075
 
            # linker. We must also pass each convience library through
12076
 
            # to the system linker between allextract/defaultextract.
12077
 
            # The C++ compiler will combine linker options so we
12078
 
            # cannot just pass the convience library names through
12079
 
            # without $wl.
12080
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
12081
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
12082
 
            ;;
12083
 
        esac
12084
 
        link_all_deplibs_CXX=yes
12085
 
 
12086
 
        output_verbose_link_cmd='echo'
12087
 
 
12088
 
        # Archives containing C++ object files must be created using
12089
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12090
 
        # necessary to make sure instantiated templates are included
12091
 
        # in the archive.
12092
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12093
 
        ;;
12094
 
      gcx*)
12095
 
        # Green Hills C++ Compiler
12096
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12097
 
 
12098
 
        # The C++ compiler must be used to create the archive.
12099
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12100
 
        ;;
12101
 
      *)
12102
 
        # GNU C++ compiler with Solaris linker
12103
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12104
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12105
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
12106
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12107
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12108
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12109
 
 
12110
 
            # Commands to make compiler produce verbose output that lists
12111
 
            # what "hidden" libraries, object files and flags are used when
12112
 
            # linking a shared library.
12113
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12114
 
          else
12115
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
12116
 
            # platform.
12117
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12118
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12119
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12120
 
 
12121
 
            # Commands to make compiler produce verbose output that lists
12122
 
            # what "hidden" libraries, object files and flags are used when
12123
 
            # linking a shared library.
12124
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12125
 
          fi
12126
 
 
12127
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12128
 
        fi
12129
 
        ;;
12130
 
    esac
12131
 
    ;;
12132
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12133
 
    no_undefined_flag_CXX='${wl}-z,text'
12134
 
    archive_cmds_need_lc_CXX=no
12135
 
    hardcode_shlibpath_var_CXX=no
12136
 
    runpath_var='LD_RUN_PATH'
12137
 
 
12138
 
    case $cc_basename in
12139
 
      CC*)
12140
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12141
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12142
 
        ;;
12143
 
      *)
12144
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12145
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12146
 
        ;;
12147
 
    esac
12148
 
    ;;
12149
 
  sysv5* | sco3.2v5* | sco5v6*)
12150
 
    # Note: We can NOT use -z defs as we might desire, because we do not
12151
 
    # link with -lc, and that would cause any symbols used from libc to
12152
 
    # always be unresolved, which means just about no library would
12153
 
    # ever link correctly.  If we're not using GNU ld we use -z text
12154
 
    # though, which does catch some bad symbols but isn't as heavy-handed
12155
 
    # as -z defs.
12156
 
    # For security reasons, it is highly recommended that you always
12157
 
    # use absolute paths for naming shared libraries, and exclude the
12158
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
12159
 
    # requires that you compile everything twice, which is a pain.
12160
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
12161
 
    # non-empty value in the environment.  Most likely only useful for
12162
 
    # creating official distributions of packages.
12163
 
    # This is a hack until libtool officially supports absolute path
12164
 
    # names for shared libraries.
12165
 
    no_undefined_flag_CXX='${wl}-z,text'
12166
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
12167
 
    archive_cmds_need_lc_CXX=no
12168
 
    hardcode_shlibpath_var_CXX=no
12169
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12170
 
    hardcode_libdir_separator_CXX=':'
12171
 
    link_all_deplibs_CXX=yes
12172
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
12173
 
    runpath_var='LD_RUN_PATH'
12174
 
 
12175
 
    case $cc_basename in
12176
 
      CC*)
12177
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12178
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12179
 
        ;;
12180
 
      *)
12181
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12182
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12183
 
        ;;
12184
 
    esac
12185
 
    ;;
12186
 
  tandem*)
12187
 
    case $cc_basename in
12188
 
      NCC*)
12189
 
        # NonStop-UX NCC 3.20
12190
 
        # FIXME: insert proper C++ library support
12191
 
        ld_shlibs_CXX=no
12192
 
        ;;
12193
 
      *)
12194
 
        # FIXME: insert proper C++ library support
12195
 
        ld_shlibs_CXX=no
12196
 
        ;;
12197
 
    esac
12198
 
    ;;
12199
 
  vxworks*)
12200
 
    # FIXME: insert proper C++ library support
12201
 
    ld_shlibs_CXX=no
12202
 
    ;;
12203
 
  *)
12204
 
    # FIXME: insert proper C++ library support
12205
 
    ld_shlibs_CXX=no
12206
 
    ;;
12207
 
esac
12208
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12209
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12210
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
12211
 
 
12212
 
GCC_CXX="$GXX"
12213
 
LD_CXX="$LD"
12214
 
 
12215
 
## CAVEAT EMPTOR:
12216
 
## There is no encapsulation within the following macros, do not change
12217
 
## the running order or otherwise move them around unless you know exactly
12218
 
## what you are doing...
12219
 
 
12220
 
cat > conftest.$ac_ext <<EOF
12221
 
class Foo
12222
 
{
12223
 
public:
12224
 
  Foo (void) { a = 0; }
12225
 
private:
12226
 
  int a;
12227
 
};
12228
 
EOF
12229
 
 
12230
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12231
 
  (eval $ac_compile) 2>&5
12232
 
  ac_status=$?
12233
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234
 
  (exit $ac_status); }; then
12235
 
  # Parse the compiler output and extract the necessary
12236
 
  # objects, libraries and library flags.
12237
 
 
12238
 
  # Sentinel used to keep track of whether or not we are before
12239
 
  # the conftest object file.
12240
 
  pre_test_object_deps_done=no
12241
 
 
12242
 
  # The `*' in the case matches for architectures that use `case' in
12243
 
  # $output_verbose_cmd can trigger glob expansion during the loop
12244
 
  # eval without this substitution.
12245
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12246
 
 
12247
 
  for p in `eval $output_verbose_link_cmd`; do
12248
 
    case $p in
12249
 
 
12250
 
    -L* | -R* | -l*)
12251
 
       # Some compilers place space between "-{L,R}" and the path.
12252
 
       # Remove the space.
12253
 
       if test $p = "-L" \
12254
 
          || test $p = "-R"; then
12255
 
         prev=$p
12256
 
         continue
12257
 
       else
12258
 
         prev=
12259
 
       fi
12260
 
 
12261
 
       if test "$pre_test_object_deps_done" = no; then
12262
 
         case $p in
12263
 
         -L* | -R*)
12264
 
           # Internal compiler library paths should come after those
12265
 
           # provided the user.  The postdeps already come after the
12266
 
           # user supplied libs so there is no need to process them.
12267
 
           if test -z "$compiler_lib_search_path_CXX"; then
12268
 
             compiler_lib_search_path_CXX="${prev}${p}"
12269
 
           else
12270
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12271
 
           fi
12272
 
           ;;
12273
 
         # The "-l" case would never come before the object being
12274
 
         # linked, so don't bother handling this case.
12275
 
         esac
12276
 
       else
12277
 
         if test -z "$postdeps_CXX"; then
12278
 
           postdeps_CXX="${prev}${p}"
12279
 
         else
12280
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12281
 
         fi
12282
 
       fi
12283
 
       ;;
12284
 
 
12285
 
    *.$objext)
12286
 
       # This assumes that the test object file only shows up
12287
 
       # once in the compiler output.
12288
 
       if test "$p" = "conftest.$objext"; then
12289
 
         pre_test_object_deps_done=yes
12290
 
         continue
12291
 
       fi
12292
 
 
12293
 
       if test "$pre_test_object_deps_done" = no; then
12294
 
         if test -z "$predep_objects_CXX"; then
12295
 
           predep_objects_CXX="$p"
12296
 
         else
12297
 
           predep_objects_CXX="$predep_objects_CXX $p"
12298
 
         fi
12299
 
       else
12300
 
         if test -z "$postdep_objects_CXX"; then
12301
 
           postdep_objects_CXX="$p"
12302
 
         else
12303
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
12304
 
         fi
12305
 
       fi
12306
 
       ;;
12307
 
 
12308
 
    *) ;; # Ignore the rest.
12309
 
 
12310
 
    esac
12311
 
  done
12312
 
 
12313
 
  # Clean up.
12314
 
  rm -f a.out a.exe
12315
 
else
12316
 
  echo "libtool.m4: error: problem compiling CXX test program"
12317
 
fi
12318
 
 
12319
 
$rm -f confest.$objext
12320
 
 
12321
 
# PORTME: override above test on systems where it is broken
12322
 
case $host_os in
12323
 
interix3*)
12324
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
12325
 
  # hack all around it, let's just trust "g++" to DTRT.
12326
 
  predep_objects_CXX=
12327
 
  postdep_objects_CXX=
12328
 
  postdeps_CXX=
12329
 
  ;;
12330
 
 
12331
 
solaris*)
12332
 
  case $cc_basename in
12333
 
  CC*)
12334
 
    # Adding this requires a known-good setup of shared libraries for
12335
 
    # Sun compiler versions before 5.6, else PIC objects from an old
12336
 
    # archive will be linked into the output, leading to subtle bugs.
12337
 
    postdeps_CXX='-lCstd -lCrun'
12338
 
    ;;
12339
 
  esac
12340
 
  ;;
12341
 
esac
12342
 
 
12343
 
 
12344
 
case " $postdeps_CXX " in
12345
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
12346
 
esac
12347
 
 
12348
 
lt_prog_compiler_wl_CXX=
12349
 
lt_prog_compiler_pic_CXX=
12350
 
lt_prog_compiler_static_CXX=
12351
 
 
12352
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12353
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12354
 
 
12355
 
  # C++ specific cases for pic, static, wl, etc.
12356
 
  if test "$GXX" = yes; then
12357
 
    lt_prog_compiler_wl_CXX='-Wl,'
12358
 
    lt_prog_compiler_static_CXX='-static'
12359
 
 
12360
 
    case $host_os in
12361
 
    aix*)
12362
 
      # All AIX code is PIC.
12363
 
      if test "$host_cpu" = ia64; then
12364
 
        # AIX 5 now supports IA64 processor
12365
 
        lt_prog_compiler_static_CXX='-Bstatic'
12366
 
      fi
12367
 
      ;;
12368
 
    amigaos*)
12369
 
      # FIXME: we need at least 68020 code to build shared libraries, but
12370
 
      # adding the `-m68020' flag to GCC prevents building anything better,
12371
 
      # like `-m68040'.
12372
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12373
 
      ;;
12374
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12375
 
      # PIC is the default for these OSes.
12376
 
      ;;
12377
 
    mingw* | os2* | pw32*)
12378
 
      # This hack is so that the source file can tell whether it is being
12379
 
      # built for inclusion in a dll (and should export symbols for example).
12380
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12381
 
      ;;
12382
 
    darwin* | rhapsody*)
12383
 
      # PIC is the default on this platform
12384
 
      # Common symbols not allowed in MH_DYLIB files
12385
 
      lt_prog_compiler_pic_CXX='-fno-common'
12386
 
      ;;
12387
 
    *djgpp*)
12388
 
      # DJGPP does not support shared libraries at all
12389
 
      lt_prog_compiler_pic_CXX=
12390
 
      ;;
12391
 
    interix3*)
12392
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12393
 
      # Instead, we relocate shared libraries at runtime.
12394
 
      ;;
12395
 
    sysv4*MP*)
12396
 
      if test -d /usr/nec; then
12397
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
12398
 
      fi
12399
 
      ;;
12400
 
    hpux*)
12401
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12402
 
      # not for PA HP-UX.
12403
 
      case $host_cpu in
12404
 
      hppa*64*|ia64*)
12405
 
        ;;
12406
 
      *)
12407
 
        lt_prog_compiler_pic_CXX='-fPIC'
12408
 
        ;;
12409
 
      esac
12410
 
      ;;
12411
 
    *)
12412
 
      lt_prog_compiler_pic_CXX='-fPIC'
12413
 
      ;;
12414
 
    esac
12415
 
  else
12416
 
    case $host_os in
12417
 
      aix4* | aix5*)
12418
 
        # All AIX code is PIC.
12419
 
        if test "$host_cpu" = ia64; then
12420
 
          # AIX 5 now supports IA64 processor
12421
 
          lt_prog_compiler_static_CXX='-Bstatic'
12422
 
        else
12423
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12424
 
        fi
12425
 
        ;;
12426
 
      chorus*)
12427
 
        case $cc_basename in
12428
 
        cxch68*)
12429
 
          # Green Hills C++ Compiler
12430
 
          # _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"
12431
 
          ;;
12432
 
        esac
12433
 
        ;;
12434
 
       darwin*)
12435
 
         # PIC is the default on this platform
12436
 
         # Common symbols not allowed in MH_DYLIB files
12437
 
         case $cc_basename in
12438
 
           xlc*)
12439
 
           lt_prog_compiler_pic_CXX='-qnocommon'
12440
 
           lt_prog_compiler_wl_CXX='-Wl,'
12441
 
           ;;
12442
 
         esac
12443
 
       ;;
12444
 
      dgux*)
12445
 
        case $cc_basename in
12446
 
          ec++*)
12447
 
            lt_prog_compiler_pic_CXX='-KPIC'
12448
 
            ;;
12449
 
          ghcx*)
12450
 
            # Green Hills C++ Compiler
12451
 
            lt_prog_compiler_pic_CXX='-pic'
12452
 
            ;;
12453
 
          *)
12454
 
            ;;
12455
 
        esac
12456
 
        ;;
12457
 
      freebsd* | dragonfly*)
12458
 
        # FreeBSD uses GNU C++
12459
 
        ;;
12460
 
      hpux9* | hpux10* | hpux11*)
12461
 
        case $cc_basename in
12462
 
          CC*)
12463
 
            lt_prog_compiler_wl_CXX='-Wl,'
12464
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12465
 
            if test "$host_cpu" != ia64; then
12466
 
              lt_prog_compiler_pic_CXX='+Z'
12467
 
            fi
12468
 
            ;;
12469
 
          aCC*)
12470
 
            lt_prog_compiler_wl_CXX='-Wl,'
12471
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12472
 
            case $host_cpu in
12473
 
            hppa*64*|ia64*)
12474
 
              # +Z the default
12475
 
              ;;
12476
 
            *)
12477
 
              lt_prog_compiler_pic_CXX='+Z'
12478
 
              ;;
12479
 
            esac
12480
 
            ;;
12481
 
          *)
12482
 
            ;;
12483
 
        esac
12484
 
        ;;
12485
 
      interix*)
12486
 
        # This is c89, which is MS Visual C++ (no shared libs)
12487
 
        # Anyone wants to do a port?
12488
 
        ;;
12489
 
      irix5* | irix6* | nonstopux*)
12490
 
        case $cc_basename in
12491
 
          CC*)
12492
 
            lt_prog_compiler_wl_CXX='-Wl,'
12493
 
            lt_prog_compiler_static_CXX='-non_shared'
12494
 
            # CC pic flag -KPIC is the default.
12495
 
            ;;
12496
 
          *)
12497
 
            ;;
12498
 
        esac
12499
 
        ;;
12500
 
      linux* | k*bsd*-gnu)
12501
 
        case $cc_basename in
12502
 
          KCC*)
12503
 
            # KAI C++ Compiler
12504
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
12505
 
            lt_prog_compiler_pic_CXX='-fPIC'
12506
 
            ;;
12507
 
          icpc* | ecpc*)
12508
 
            # Intel C++
12509
 
            lt_prog_compiler_wl_CXX='-Wl,'
12510
 
            lt_prog_compiler_pic_CXX='-KPIC'
12511
 
            lt_prog_compiler_static_CXX='-static'
12512
 
            ;;
12513
 
          pgCC*)
12514
 
            # Portland Group C++ compiler.
12515
 
            lt_prog_compiler_wl_CXX='-Wl,'
12516
 
            lt_prog_compiler_pic_CXX='-fpic'
12517
 
            lt_prog_compiler_static_CXX='-Bstatic'
12518
 
            ;;
12519
 
          cxx*)
12520
 
            # Compaq C++
12521
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
12522
 
            # Linux and Compaq Tru64 Unix objects are PIC.
12523
 
            lt_prog_compiler_pic_CXX=
12524
 
            lt_prog_compiler_static_CXX='-non_shared'
12525
 
            ;;
12526
 
          *)
12527
 
            ;;
12528
 
        esac
12529
 
        ;;
12530
 
      lynxos*)
12531
 
        ;;
12532
 
      m88k*)
12533
 
        ;;
12534
 
      mvs*)
12535
 
        case $cc_basename in
12536
 
          cxx*)
12537
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
12538
 
            ;;
12539
 
          *)
12540
 
            ;;
12541
 
        esac
12542
 
        ;;
12543
 
      netbsd* | netbsdelf*-gnu)
12544
 
        ;;
12545
 
      osf3* | osf4* | osf5*)
12546
 
        case $cc_basename in
12547
 
          KCC*)
12548
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
12549
 
            ;;
12550
 
          RCC*)
12551
 
            # Rational C++ 2.4.1
12552
 
            lt_prog_compiler_pic_CXX='-pic'
12553
 
            ;;
12554
 
          cxx*)
12555
 
            # Digital/Compaq C++
12556
 
            lt_prog_compiler_wl_CXX='-Wl,'
12557
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
12558
 
            # Linux and Compaq Tru64 Unix objects are PIC.
12559
 
            lt_prog_compiler_pic_CXX=
12560
 
            lt_prog_compiler_static_CXX='-non_shared'
12561
 
            ;;
12562
 
          *)
12563
 
            ;;
12564
 
        esac
12565
 
        ;;
12566
 
      psos*)
12567
 
        ;;
12568
 
      solaris*)
12569
 
        case $cc_basename in
12570
 
          CC*)
12571
 
            # Sun C++ 4.2, 5.x and Centerline C++
12572
 
            lt_prog_compiler_pic_CXX='-KPIC'
12573
 
            lt_prog_compiler_static_CXX='-Bstatic'
12574
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
12575
 
            ;;
12576
 
          gcx*)
12577
 
            # Green Hills C++ Compiler
12578
 
            lt_prog_compiler_pic_CXX='-PIC'
12579
 
            ;;
12580
 
          *)
12581
 
            ;;
12582
 
        esac
12583
 
        ;;
12584
 
      sunos4*)
12585
 
        case $cc_basename in
12586
 
          CC*)
12587
 
            # Sun C++ 4.x
12588
 
            lt_prog_compiler_pic_CXX='-pic'
12589
 
            lt_prog_compiler_static_CXX='-Bstatic'
12590
 
            ;;
12591
 
          lcc*)
12592
 
            # Lucid
12593
 
            lt_prog_compiler_pic_CXX='-pic'
12594
 
            ;;
12595
 
          *)
12596
 
            ;;
12597
 
        esac
12598
 
        ;;
12599
 
      tandem*)
12600
 
        case $cc_basename in
12601
 
          NCC*)
12602
 
            # NonStop-UX NCC 3.20
12603
 
            lt_prog_compiler_pic_CXX='-KPIC'
12604
 
            ;;
12605
 
          *)
12606
 
            ;;
12607
 
        esac
12608
 
        ;;
12609
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12610
 
        case $cc_basename in
12611
 
          CC*)
12612
 
            lt_prog_compiler_wl_CXX='-Wl,'
12613
 
            lt_prog_compiler_pic_CXX='-KPIC'
12614
 
            lt_prog_compiler_static_CXX='-Bstatic'
12615
 
            ;;
12616
 
        esac
12617
 
        ;;
12618
 
      vxworks*)
12619
 
        ;;
12620
 
      *)
12621
 
        lt_prog_compiler_can_build_shared_CXX=no
12622
 
        ;;
12623
 
    esac
12624
 
  fi
12625
 
 
12626
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12627
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12628
 
 
12629
 
#
12630
 
# Check to make sure the PIC flag actually works.
12631
 
#
12632
 
if test -n "$lt_prog_compiler_pic_CXX"; then
12633
 
 
12634
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12635
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12636
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12637
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12638
 
else
12639
 
  lt_prog_compiler_pic_works_CXX=no
12640
 
  ac_outfile=conftest.$ac_objext
12641
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12642
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12643
 
   # Insert the option either (1) after the last *FLAGS variable, or
12644
 
   # (2) before a word containing "conftest.", or (3) at the end.
12645
 
   # Note that $ac_compile itself does not contain backslashes and begins
12646
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12647
 
   # The option is referenced via a variable to avoid confusing sed.
12648
 
   lt_compile=`echo "$ac_compile" | $SED \
12649
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12650
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12651
 
   -e 's:$: $lt_compiler_flag:'`
12652
 
   (eval echo "\"\$as_me:12652: $lt_compile\"" >&5)
12653
 
   (eval "$lt_compile" 2>conftest.err)
12654
 
   ac_status=$?
12655
 
   cat conftest.err >&5
12656
 
   echo "$as_me:12656: \$? = $ac_status" >&5
12657
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
12658
 
     # The compiler can only warn and ignore the option if not recognized
12659
 
     # So say no if there are warnings other than the usual output.
12660
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12661
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12662
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12663
 
       lt_prog_compiler_pic_works_CXX=yes
12664
 
     fi
12665
 
   fi
12666
 
   $rm conftest*
12667
 
 
12668
 
fi
12669
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12670
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12671
 
 
12672
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12673
 
    case $lt_prog_compiler_pic_CXX in
12674
 
     "" | " "*) ;;
12675
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12676
 
     esac
12677
 
else
12678
 
    lt_prog_compiler_pic_CXX=
12679
 
     lt_prog_compiler_can_build_shared_CXX=no
12680
 
fi
12681
 
 
12682
 
fi
12683
 
case $host_os in
12684
 
  # For platforms which do not support PIC, -DPIC is meaningless:
12685
 
  *djgpp*)
12686
 
    lt_prog_compiler_pic_CXX=
12687
 
    ;;
12688
 
  *)
12689
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12690
 
    ;;
12691
 
esac
12692
 
 
12693
 
#
12694
 
# Check to make sure the static flag actually works.
12695
 
#
12696
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12697
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12698
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12699
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12700
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12701
 
else
12702
 
  lt_prog_compiler_static_works_CXX=no
12703
 
   save_LDFLAGS="$LDFLAGS"
12704
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12705
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
12706
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12707
 
     # The linker can only warn and ignore the option if not recognized
12708
 
     # So say no if there are warnings
12709
 
     if test -s conftest.err; then
12710
 
       # Append any errors to the config.log.
12711
 
       cat conftest.err 1>&5
12712
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12713
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12714
 
       if diff conftest.exp conftest.er2 >/dev/null; then
12715
 
         lt_prog_compiler_static_works_CXX=yes
12716
 
       fi
12717
 
     else
12718
 
       lt_prog_compiler_static_works_CXX=yes
12719
 
     fi
12720
 
   fi
12721
 
   $rm conftest*
12722
 
   LDFLAGS="$save_LDFLAGS"
12723
 
 
12724
 
fi
12725
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12726
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12727
 
 
12728
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12729
 
    :
12730
 
else
12731
 
    lt_prog_compiler_static_CXX=
12732
 
fi
12733
 
 
12734
 
 
12735
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12736
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12737
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12738
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12739
 
else
12740
 
  lt_cv_prog_compiler_c_o_CXX=no
12741
 
   $rm -r conftest 2>/dev/null
12742
 
   mkdir conftest
12743
 
   cd conftest
12744
 
   mkdir out
12745
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12746
 
 
12747
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
12748
 
   # Insert the option either (1) after the last *FLAGS variable, or
12749
 
   # (2) before a word containing "conftest.", or (3) at the end.
12750
 
   # Note that $ac_compile itself does not contain backslashes and begins
12751
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12752
 
   lt_compile=`echo "$ac_compile" | $SED \
12753
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12754
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12755
 
   -e 's:$: $lt_compiler_flag:'`
12756
 
   (eval echo "\"\$as_me:12756: $lt_compile\"" >&5)
12757
 
   (eval "$lt_compile" 2>out/conftest.err)
12758
 
   ac_status=$?
12759
 
   cat out/conftest.err >&5
12760
 
   echo "$as_me:12760: \$? = $ac_status" >&5
12761
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12762
 
   then
12763
 
     # The compiler can only warn and ignore the option if not recognized
12764
 
     # So say no if there are warnings
12765
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12766
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12767
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12768
 
       lt_cv_prog_compiler_c_o_CXX=yes
12769
 
     fi
12770
 
   fi
12771
 
   chmod u+w . 2>&5
12772
 
   $rm conftest*
12773
 
   # SGI C++ compiler will create directory out/ii_files/ for
12774
 
   # template instantiation
12775
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
12776
 
   $rm out/* && rmdir out
12777
 
   cd ..
12778
 
   rmdir conftest
12779
 
   $rm conftest*
12780
 
 
12781
 
fi
12782
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12783
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12784
 
 
12785
 
 
12786
 
hard_links="nottested"
12787
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12788
 
  # do not overwrite the value of need_locks provided by the user
12789
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12790
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12791
 
  hard_links=yes
12792
 
  $rm conftest*
12793
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12794
 
  touch conftest.a
12795
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
12796
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12797
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
12798
 
echo "${ECHO_T}$hard_links" >&6; }
12799
 
  if test "$hard_links" = no; then
12800
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12801
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12802
 
    need_locks=warn
12803
 
  fi
12804
 
else
12805
 
  need_locks=no
12806
 
fi
12807
 
 
12808
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12809
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12810
 
 
12811
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12812
 
  case $host_os in
12813
 
  aix4* | aix5*)
12814
 
    # If we're using GNU nm, then we don't want the "-C" option.
12815
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
12816
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12817
 
      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'
12818
 
    else
12819
 
      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'
12820
 
    fi
12821
 
    ;;
12822
 
  pw32*)
12823
 
    export_symbols_cmds_CXX="$ltdll_cmds"
12824
 
  ;;
12825
 
  cygwin* | mingw*)
12826
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
12827
 
  ;;
12828
 
  linux* | k*bsd*-gnu)
12829
 
    link_all_deplibs_CXX=no
12830
 
  ;;
12831
 
  *)
12832
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12833
 
  ;;
12834
 
  esac
12835
 
 
12836
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12837
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12838
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
12839
 
 
12840
 
#
12841
 
# Do we need to explicitly link libc?
12842
 
#
12843
 
case "x$archive_cmds_need_lc_CXX" in
12844
 
x|xyes)
12845
 
  # Assume -lc should be added
12846
 
  archive_cmds_need_lc_CXX=yes
12847
 
 
12848
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
12849
 
    case $archive_cmds_CXX in
12850
 
    *'~'*)
12851
 
      # FIXME: we may have to deal with multi-command sequences.
12852
 
      ;;
12853
 
    '$CC '*)
12854
 
      # Test whether the compiler implicitly links with -lc since on some
12855
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
12856
 
      # to ld, don't add -lc before -lgcc.
12857
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12858
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12859
 
      $rm conftest*
12860
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12861
 
 
12862
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12863
 
  (eval $ac_compile) 2>&5
12864
 
  ac_status=$?
12865
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12866
 
  (exit $ac_status); } 2>conftest.err; then
12867
 
        soname=conftest
12868
 
        lib=conftest
12869
 
        libobjs=conftest.$ac_objext
12870
 
        deplibs=
12871
 
        wl=$lt_prog_compiler_wl_CXX
12872
 
        pic_flag=$lt_prog_compiler_pic_CXX
12873
 
        compiler_flags=-v
12874
 
        linker_flags=-v
12875
 
        verstring=
12876
 
        output_objdir=.
12877
 
        libname=conftest
12878
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12879
 
        allow_undefined_flag_CXX=
12880
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12881
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
12882
 
  ac_status=$?
12883
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12884
 
  (exit $ac_status); }
12885
 
        then
12886
 
          archive_cmds_need_lc_CXX=no
12887
 
        else
12888
 
          archive_cmds_need_lc_CXX=yes
12889
 
        fi
12890
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12891
 
      else
12892
 
        cat conftest.err 1>&5
12893
 
      fi
12894
 
      $rm conftest*
12895
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12896
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12897
 
      ;;
12898
 
    esac
12899
 
  fi
12900
 
  ;;
12901
 
esac
12902
 
 
12903
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12904
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12905
 
library_names_spec=
12906
 
libname_spec='lib$name'
12907
 
soname_spec=
12908
 
shrext_cmds=".so"
12909
 
postinstall_cmds=
12910
 
postuninstall_cmds=
12911
 
finish_cmds=
12912
 
finish_eval=
12913
 
shlibpath_var=
12914
 
shlibpath_overrides_runpath=unknown
12915
 
version_type=none
12916
 
dynamic_linker="$host_os ld.so"
12917
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
12918
 
if test "$GCC" = yes; then
12919
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12920
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
12921
 
    # if the path contains ";" then we assume it to be the separator
12922
 
    # otherwise default to the standard path separator (i.e. ":") - it is
12923
 
    # assumed that no part of a normal pathname contains ";" but that should
12924
 
    # okay in the real world where ";" in dirpaths is itself problematic.
12925
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12926
 
  else
12927
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
12928
 
  fi
12929
 
else
12930
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12931
 
fi
12932
 
need_lib_prefix=unknown
12933
 
hardcode_into_libs=no
12934
 
 
12935
 
# when you set need_version to no, make sure it does not cause -set_version
12936
 
# flags to be left without arguments
12937
 
need_version=unknown
12938
 
 
12939
 
case $host_os in
12940
 
aix3*)
12941
 
  version_type=linux
12942
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12943
 
  shlibpath_var=LIBPATH
12944
 
 
12945
 
  # AIX 3 has no versioning support, so we append a major version to the name.
12946
 
  soname_spec='${libname}${release}${shared_ext}$major'
12947
 
  ;;
12948
 
 
12949
 
aix4* | aix5*)
12950
 
  version_type=linux
12951
 
  need_lib_prefix=no
12952
 
  need_version=no
12953
 
  hardcode_into_libs=yes
12954
 
  if test "$host_cpu" = ia64; then
12955
 
    # AIX 5 supports IA64
12956
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12957
 
    shlibpath_var=LD_LIBRARY_PATH
12958
 
  else
12959
 
    # With GCC up to 2.95.x, collect2 would create an import file
12960
 
    # for dependence libraries.  The import file would start with
12961
 
    # the line `#! .'.  This would cause the generated library to
12962
 
    # depend on `.', always an invalid library.  This was fixed in
12963
 
    # development snapshots of GCC prior to 3.0.
12964
 
    case $host_os in
12965
 
      aix4 | aix4.[01] | aix4.[01].*)
12966
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12967
 
           echo ' yes '
12968
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
12969
 
        :
12970
 
      else
12971
 
        can_build_shared=no
12972
 
      fi
12973
 
      ;;
12974
 
    esac
12975
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12976
 
    # soname into executable. Probably we can add versioning support to
12977
 
    # collect2, so additional links can be useful in future.
12978
 
    if test "$aix_use_runtimelinking" = yes; then
12979
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12980
 
      # instead of lib<name>.a to let people know that these are not
12981
 
      # typical AIX shared libraries.
12982
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12983
 
    else
12984
 
      # We preserve .a as extension for shared libraries through AIX4.2
12985
 
      # and later when we are not doing run time linking.
12986
 
      library_names_spec='${libname}${release}.a $libname.a'
12987
 
      soname_spec='${libname}${release}${shared_ext}$major'
12988
 
    fi
12989
 
    shlibpath_var=LIBPATH
12990
 
  fi
12991
 
  ;;
12992
 
 
12993
 
amigaos*)
12994
 
  library_names_spec='$libname.ixlibrary $libname.a'
12995
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
12996
 
  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'
12997
 
  ;;
12998
 
 
12999
 
beos*)
13000
 
  library_names_spec='${libname}${shared_ext}'
13001
 
  dynamic_linker="$host_os ld.so"
13002
 
  shlibpath_var=LIBRARY_PATH
13003
 
  ;;
13004
 
 
13005
 
bsdi[45]*)
13006
 
  version_type=linux
13007
 
  need_version=no
13008
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13009
 
  soname_spec='${libname}${release}${shared_ext}$major'
13010
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13011
 
  shlibpath_var=LD_LIBRARY_PATH
13012
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13013
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13014
 
  # the default ld.so.conf also contains /usr/contrib/lib and
13015
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13016
 
  # libtool to hard-code these into programs
13017
 
  ;;
13018
 
 
13019
 
cygwin* | mingw* | pw32*)
13020
 
  version_type=windows
13021
 
  shrext_cmds=".dll"
13022
 
  need_version=no
13023
 
  need_lib_prefix=no
13024
 
 
13025
 
  case $GCC,$host_os in
13026
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
13027
 
    library_names_spec='$libname.dll.a'
13028
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
13029
 
    postinstall_cmds='base_file=`basename \${file}`~
13030
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13031
 
      dldir=$destdir/`dirname \$dlpath`~
13032
 
      test -d \$dldir || mkdir -p \$dldir~
13033
 
      $install_prog $dir/$dlname \$dldir/$dlname~
13034
 
      chmod a+x \$dldir/$dlname'
13035
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13036
 
      dlpath=$dir/\$dldll~
13037
 
       $rm \$dlpath'
13038
 
    shlibpath_overrides_runpath=yes
13039
 
 
13040
 
    case $host_os in
13041
 
    cygwin*)
13042
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13043
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13044
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13045
 
      ;;
13046
 
    mingw*)
13047
 
      # MinGW DLLs use traditional 'lib' prefix
13048
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13049
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13050
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13051
 
        # It is most probably a Windows format PATH printed by
13052
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
13053
 
        # path with ; separators, and with drive letters. We can handle the
13054
 
        # drive letters (cygwin fileutils understands them), so leave them,
13055
 
        # especially as we might pass files found there to a mingw objdump,
13056
 
        # which wouldn't understand a cygwinified path. Ahh.
13057
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13058
 
      else
13059
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13060
 
      fi
13061
 
      ;;
13062
 
    pw32*)
13063
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
13064
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13065
 
      ;;
13066
 
    esac
13067
 
    ;;
13068
 
 
13069
 
  *)
13070
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13071
 
    ;;
13072
 
  esac
13073
 
  dynamic_linker='Win32 ld.exe'
13074
 
  # FIXME: first we should search . and the directory the executable is in
13075
 
  shlibpath_var=PATH
13076
 
  ;;
13077
 
 
13078
 
darwin* | rhapsody*)
13079
 
  dynamic_linker="$host_os dyld"
13080
 
  version_type=darwin
13081
 
  need_lib_prefix=no
13082
 
  need_version=no
13083
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13084
 
  soname_spec='${libname}${release}${major}$shared_ext'
13085
 
  shlibpath_overrides_runpath=yes
13086
 
  shlibpath_var=DYLD_LIBRARY_PATH
13087
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13088
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13089
 
  if test "$GCC" = yes; then
13090
 
    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"`
13091
 
  else
13092
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
13093
 
  fi
13094
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13095
 
  ;;
13096
 
 
13097
 
dgux*)
13098
 
  version_type=linux
13099
 
  need_lib_prefix=no
13100
 
  need_version=no
13101
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13102
 
  soname_spec='${libname}${release}${shared_ext}$major'
13103
 
  shlibpath_var=LD_LIBRARY_PATH
13104
 
  ;;
13105
 
 
13106
 
freebsd1*)
13107
 
  dynamic_linker=no
13108
 
  ;;
13109
 
 
13110
 
freebsd* | dragonfly*)
13111
 
  # DragonFly does not have aout.  When/if they implement a new
13112
 
  # versioning mechanism, adjust this.
13113
 
  if test -x /usr/bin/objformat; then
13114
 
    objformat=`/usr/bin/objformat`
13115
 
  else
13116
 
    case $host_os in
13117
 
    freebsd[123]*) objformat=aout ;;
13118
 
    *) objformat=elf ;;
13119
 
    esac
13120
 
  fi
13121
 
  version_type=freebsd-$objformat
13122
 
  case $version_type in
13123
 
    freebsd-elf*)
13124
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13125
 
      need_version=no
13126
 
      need_lib_prefix=no
13127
 
      ;;
13128
 
    freebsd-*)
13129
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13130
 
      need_version=yes
13131
 
      ;;
13132
 
  esac
13133
 
  shlibpath_var=LD_LIBRARY_PATH
13134
 
  case $host_os in
13135
 
  freebsd2*)
13136
 
    shlibpath_overrides_runpath=yes
13137
 
    ;;
13138
 
  freebsd3.[01]* | freebsdelf3.[01]*)
13139
 
    shlibpath_overrides_runpath=yes
13140
 
    hardcode_into_libs=yes
13141
 
    ;;
13142
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13143
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13144
 
    shlibpath_overrides_runpath=no
13145
 
    hardcode_into_libs=yes
13146
 
    ;;
13147
 
  freebsd*) # from 4.6 on
13148
 
    shlibpath_overrides_runpath=yes
13149
 
    hardcode_into_libs=yes
13150
 
    ;;
13151
 
  esac
13152
 
  ;;
13153
 
 
13154
 
gnu*)
13155
 
  version_type=linux
13156
 
  need_lib_prefix=no
13157
 
  need_version=no
13158
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13159
 
  soname_spec='${libname}${release}${shared_ext}$major'
13160
 
  shlibpath_var=LD_LIBRARY_PATH
13161
 
  hardcode_into_libs=yes
13162
 
  ;;
13163
 
 
13164
 
hpux9* | hpux10* | hpux11*)
13165
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
13166
 
  # link against other versions.
13167
 
  version_type=sunos
13168
 
  need_lib_prefix=no
13169
 
  need_version=no
13170
 
  case $host_cpu in
13171
 
  ia64*)
13172
 
    shrext_cmds='.so'
13173
 
    hardcode_into_libs=yes
13174
 
    dynamic_linker="$host_os dld.so"
13175
 
    shlibpath_var=LD_LIBRARY_PATH
13176
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13177
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13178
 
    soname_spec='${libname}${release}${shared_ext}$major'
13179
 
    if test "X$HPUX_IA64_MODE" = X32; then
13180
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13181
 
    else
13182
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13183
 
    fi
13184
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13185
 
    ;;
13186
 
   hppa*64*)
13187
 
     shrext_cmds='.sl'
13188
 
     hardcode_into_libs=yes
13189
 
     dynamic_linker="$host_os dld.sl"
13190
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13191
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13192
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13193
 
     soname_spec='${libname}${release}${shared_ext}$major'
13194
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13195
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13196
 
     ;;
13197
 
   *)
13198
 
    shrext_cmds='.sl'
13199
 
    dynamic_linker="$host_os dld.sl"
13200
 
    shlibpath_var=SHLIB_PATH
13201
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13202
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13203
 
    soname_spec='${libname}${release}${shared_ext}$major'
13204
 
    ;;
13205
 
  esac
13206
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
13207
 
  postinstall_cmds='chmod 555 $lib'
13208
 
  ;;
13209
 
 
13210
 
interix3*)
13211
 
  version_type=linux
13212
 
  need_lib_prefix=no
13213
 
  need_version=no
13214
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13215
 
  soname_spec='${libname}${release}${shared_ext}$major'
13216
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13217
 
  shlibpath_var=LD_LIBRARY_PATH
13218
 
  shlibpath_overrides_runpath=no
13219
 
  hardcode_into_libs=yes
13220
 
  ;;
13221
 
 
13222
 
irix5* | irix6* | nonstopux*)
13223
 
  case $host_os in
13224
 
    nonstopux*) version_type=nonstopux ;;
13225
 
    *)
13226
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
13227
 
                version_type=linux
13228
 
        else
13229
 
                version_type=irix
13230
 
        fi ;;
13231
 
  esac
13232
 
  need_lib_prefix=no
13233
 
  need_version=no
13234
 
  soname_spec='${libname}${release}${shared_ext}$major'
13235
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13236
 
  case $host_os in
13237
 
  irix5* | nonstopux*)
13238
 
    libsuff= shlibsuff=
13239
 
    ;;
13240
 
  *)
13241
 
    case $LD in # libtool.m4 will add one of these switches to LD
13242
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13243
 
      libsuff= shlibsuff= libmagic=32-bit;;
13244
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13245
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
13246
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13247
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
13248
 
    *) libsuff= shlibsuff= libmagic=never-match;;
13249
 
    esac
13250
 
    ;;
13251
 
  esac
13252
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13253
 
  shlibpath_overrides_runpath=no
13254
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13255
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13256
 
  hardcode_into_libs=yes
13257
 
  ;;
13258
 
 
13259
 
# No shared lib support for Linux oldld, aout, or coff.
13260
 
linux*oldld* | linux*aout* | linux*coff*)
13261
 
  dynamic_linker=no
13262
 
  ;;
13263
 
 
13264
 
# This must be Linux ELF.
13265
 
linux* | k*bsd*-gnu)
13266
 
  version_type=linux
13267
 
  need_lib_prefix=no
13268
 
  need_version=no
13269
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13270
 
  soname_spec='${libname}${release}${shared_ext}$major'
13271
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13272
 
  shlibpath_var=LD_LIBRARY_PATH
13273
 
  shlibpath_overrides_runpath=no
13274
 
  # This implies no fast_install, which is unacceptable.
13275
 
  # Some rework will be needed to allow for fast_install
13276
 
  # before this can be enabled.
13277
 
  hardcode_into_libs=yes
13278
 
 
13279
 
  # Append ld.so.conf contents to the search path
13280
 
  if test -f /etc/ld.so.conf; then
13281
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13282
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13283
 
  fi
13284
 
 
13285
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
13286
 
  # powerpc, because MkLinux only supported shared libraries with the
13287
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
13288
 
  # most powerpc-linux boxes support dynamic linking these days and
13289
 
  # people can always --disable-shared, the test was removed, and we
13290
 
  # assume the GNU/Linux dynamic linker is in use.
13291
 
  dynamic_linker='GNU/Linux ld.so'
13292
 
  ;;
13293
 
 
13294
 
netbsdelf*-gnu)
13295
 
  version_type=linux
13296
 
  need_lib_prefix=no
13297
 
  need_version=no
13298
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13299
 
  soname_spec='${libname}${release}${shared_ext}$major'
13300
 
  shlibpath_var=LD_LIBRARY_PATH
13301
 
  shlibpath_overrides_runpath=no
13302
 
  hardcode_into_libs=yes
13303
 
  dynamic_linker='NetBSD ld.elf_so'
13304
 
  ;;
13305
 
 
13306
 
netbsd*)
13307
 
  version_type=sunos
13308
 
  need_lib_prefix=no
13309
 
  need_version=no
13310
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13311
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13312
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13313
 
    dynamic_linker='NetBSD (a.out) ld.so'
13314
 
  else
13315
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13316
 
    soname_spec='${libname}${release}${shared_ext}$major'
13317
 
    dynamic_linker='NetBSD ld.elf_so'
13318
 
  fi
13319
 
  shlibpath_var=LD_LIBRARY_PATH
13320
 
  shlibpath_overrides_runpath=yes
13321
 
  hardcode_into_libs=yes
13322
 
  ;;
13323
 
 
13324
 
newsos6)
13325
 
  version_type=linux
13326
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13327
 
  shlibpath_var=LD_LIBRARY_PATH
13328
 
  shlibpath_overrides_runpath=yes
13329
 
  ;;
13330
 
 
13331
 
nto-qnx*)
13332
 
  version_type=linux
13333
 
  need_lib_prefix=no
13334
 
  need_version=no
13335
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13336
 
  soname_spec='${libname}${release}${shared_ext}$major'
13337
 
  shlibpath_var=LD_LIBRARY_PATH
13338
 
  shlibpath_overrides_runpath=yes
13339
 
  ;;
13340
 
 
13341
 
openbsd*)
13342
 
  version_type=sunos
13343
 
  sys_lib_dlsearch_path_spec="/usr/lib"
13344
 
  need_lib_prefix=no
13345
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13346
 
  case $host_os in
13347
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13348
 
    *)                         need_version=no  ;;
13349
 
  esac
13350
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13351
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13352
 
  shlibpath_var=LD_LIBRARY_PATH
13353
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13354
 
    case $host_os in
13355
 
      openbsd2.[89] | openbsd2.[89].*)
13356
 
        shlibpath_overrides_runpath=no
13357
 
        ;;
13358
 
      *)
13359
 
        shlibpath_overrides_runpath=yes
13360
 
        ;;
13361
 
      esac
13362
 
  else
13363
 
    shlibpath_overrides_runpath=yes
13364
 
  fi
13365
 
  ;;
13366
 
 
13367
 
os2*)
13368
 
  libname_spec='$name'
13369
 
  shrext_cmds=".dll"
13370
 
  need_lib_prefix=no
13371
 
  library_names_spec='$libname${shared_ext} $libname.a'
13372
 
  dynamic_linker='OS/2 ld.exe'
13373
 
  shlibpath_var=LIBPATH
13374
 
  ;;
13375
 
 
13376
 
osf3* | osf4* | osf5*)
13377
 
  version_type=osf
13378
 
  need_lib_prefix=no
13379
 
  need_version=no
13380
 
  soname_spec='${libname}${release}${shared_ext}$major'
13381
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13382
 
  shlibpath_var=LD_LIBRARY_PATH
13383
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13384
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13385
 
  ;;
13386
 
 
13387
 
solaris*)
13388
 
  version_type=linux
13389
 
  need_lib_prefix=no
13390
 
  need_version=no
13391
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13392
 
  soname_spec='${libname}${release}${shared_ext}$major'
13393
 
  shlibpath_var=LD_LIBRARY_PATH
13394
 
  shlibpath_overrides_runpath=yes
13395
 
  hardcode_into_libs=yes
13396
 
  # ldd complains unless libraries are executable
13397
 
  postinstall_cmds='chmod +x $lib'
13398
 
  ;;
13399
 
 
13400
 
sunos4*)
13401
 
  version_type=sunos
13402
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13403
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13404
 
  shlibpath_var=LD_LIBRARY_PATH
13405
 
  shlibpath_overrides_runpath=yes
13406
 
  if test "$with_gnu_ld" = yes; then
13407
 
    need_lib_prefix=no
13408
 
  fi
13409
 
  need_version=yes
13410
 
  ;;
13411
 
 
13412
 
sysv4 | sysv4.3*)
13413
 
  version_type=linux
13414
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13415
 
  soname_spec='${libname}${release}${shared_ext}$major'
13416
 
  shlibpath_var=LD_LIBRARY_PATH
13417
 
  case $host_vendor in
13418
 
    sni)
13419
 
      shlibpath_overrides_runpath=no
13420
 
      need_lib_prefix=no
13421
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
13422
 
      runpath_var=LD_RUN_PATH
13423
 
      ;;
13424
 
    siemens)
13425
 
      need_lib_prefix=no
13426
 
      ;;
13427
 
    motorola)
13428
 
      need_lib_prefix=no
13429
 
      need_version=no
13430
 
      shlibpath_overrides_runpath=no
13431
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13432
 
      ;;
13433
 
  esac
13434
 
  ;;
13435
 
 
13436
 
sysv4*MP*)
13437
 
  if test -d /usr/nec ;then
13438
 
    version_type=linux
13439
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13440
 
    soname_spec='$libname${shared_ext}.$major'
13441
 
    shlibpath_var=LD_LIBRARY_PATH
13442
 
  fi
13443
 
  ;;
13444
 
 
13445
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13446
 
  version_type=freebsd-elf
13447
 
  need_lib_prefix=no
13448
 
  need_version=no
13449
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13450
 
  soname_spec='${libname}${release}${shared_ext}$major'
13451
 
  shlibpath_var=LD_LIBRARY_PATH
13452
 
  hardcode_into_libs=yes
13453
 
  if test "$with_gnu_ld" = yes; then
13454
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13455
 
    shlibpath_overrides_runpath=no
13456
 
  else
13457
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13458
 
    shlibpath_overrides_runpath=yes
13459
 
    case $host_os in
13460
 
      sco3.2v5*)
13461
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13462
 
        ;;
13463
 
    esac
13464
 
  fi
13465
 
  sys_lib_dlsearch_path_spec='/usr/lib'
13466
 
  ;;
13467
 
 
13468
 
uts4*)
13469
 
  version_type=linux
13470
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13471
 
  soname_spec='${libname}${release}${shared_ext}$major'
13472
 
  shlibpath_var=LD_LIBRARY_PATH
13473
 
  ;;
13474
 
 
13475
 
*)
13476
 
  dynamic_linker=no
13477
 
  ;;
13478
 
esac
13479
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13480
 
echo "${ECHO_T}$dynamic_linker" >&6; }
13481
 
test "$dynamic_linker" = no && can_build_shared=no
13482
 
 
13483
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13484
 
if test "$GCC" = yes; then
13485
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13486
 
fi
13487
 
 
13488
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13489
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13490
 
hardcode_action_CXX=
13491
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
13492
 
   test -n "$runpath_var_CXX" || \
13493
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
13494
 
 
13495
 
  # We can hardcode non-existant directories.
13496
 
  if test "$hardcode_direct_CXX" != no &&
13497
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13498
 
     # have to relink, otherwise we might link with an installed library
13499
 
     # when we should be linking with a yet-to-be-installed one
13500
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13501
 
     test "$hardcode_minus_L_CXX" != no; then
13502
 
    # Linking always hardcodes the temporary library directory.
13503
 
    hardcode_action_CXX=relink
13504
 
  else
13505
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
13506
 
    hardcode_action_CXX=immediate
13507
 
  fi
13508
 
else
13509
 
  # We cannot hardcode anything, or else we can only hardcode existing
13510
 
  # directories.
13511
 
  hardcode_action_CXX=unsupported
13512
 
fi
13513
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13514
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13515
 
 
13516
 
if test "$hardcode_action_CXX" = relink; then
13517
 
  # Fast installation is not supported
13518
 
  enable_fast_install=no
13519
 
elif test "$shlibpath_overrides_runpath" = yes ||
13520
 
     test "$enable_shared" = no; then
13521
 
  # Fast installation is not necessary
13522
 
  enable_fast_install=needless
13523
 
fi
13524
 
 
13525
 
 
13526
 
# The else clause should only fire when bootstrapping the
13527
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
13528
 
# with your package, and you will get complaints that there are
13529
 
# no rules to generate ltmain.sh.
13530
 
if test -f "$ltmain"; then
13531
 
  # See if we are running on zsh, and set the options which allow our commands through
13532
 
  # without removal of \ escapes.
13533
 
  if test -n "${ZSH_VERSION+set}" ; then
13534
 
    setopt NO_GLOB_SUBST
13535
 
  fi
13536
 
  # Now quote all the things that may contain metacharacters while being
13537
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
13538
 
  # variables and quote the copies for generation of the libtool script.
13539
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13540
 
    SED SHELL STRIP \
13541
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13542
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13543
 
    deplibs_check_method reload_flag reload_cmds need_locks \
13544
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13545
 
    lt_cv_sys_global_symbol_to_c_name_address \
13546
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13547
 
    old_postinstall_cmds old_postuninstall_cmds \
13548
 
    compiler_CXX \
13549
 
    CC_CXX \
13550
 
    LD_CXX \
13551
 
    lt_prog_compiler_wl_CXX \
13552
 
    lt_prog_compiler_pic_CXX \
13553
 
    lt_prog_compiler_static_CXX \
13554
 
    lt_prog_compiler_no_builtin_flag_CXX \
13555
 
    export_dynamic_flag_spec_CXX \
13556
 
    thread_safe_flag_spec_CXX \
13557
 
    whole_archive_flag_spec_CXX \
13558
 
    enable_shared_with_static_runtimes_CXX \
13559
 
    old_archive_cmds_CXX \
13560
 
    old_archive_from_new_cmds_CXX \
13561
 
    predep_objects_CXX \
13562
 
    postdep_objects_CXX \
13563
 
    predeps_CXX \
13564
 
    postdeps_CXX \
13565
 
    compiler_lib_search_path_CXX \
13566
 
    archive_cmds_CXX \
13567
 
    archive_expsym_cmds_CXX \
13568
 
    postinstall_cmds_CXX \
13569
 
    postuninstall_cmds_CXX \
13570
 
    old_archive_from_expsyms_cmds_CXX \
13571
 
    allow_undefined_flag_CXX \
13572
 
    no_undefined_flag_CXX \
13573
 
    export_symbols_cmds_CXX \
13574
 
    hardcode_libdir_flag_spec_CXX \
13575
 
    hardcode_libdir_flag_spec_ld_CXX \
13576
 
    hardcode_libdir_separator_CXX \
13577
 
    hardcode_automatic_CXX \
13578
 
    module_cmds_CXX \
13579
 
    module_expsym_cmds_CXX \
13580
 
    lt_cv_prog_compiler_c_o_CXX \
13581
 
    exclude_expsyms_CXX \
13582
 
    include_expsyms_CXX; do
13583
 
 
13584
 
    case $var in
13585
 
    old_archive_cmds_CXX | \
13586
 
    old_archive_from_new_cmds_CXX | \
13587
 
    archive_cmds_CXX | \
13588
 
    archive_expsym_cmds_CXX | \
13589
 
    module_cmds_CXX | \
13590
 
    module_expsym_cmds_CXX | \
13591
 
    old_archive_from_expsyms_cmds_CXX | \
13592
 
    export_symbols_cmds_CXX | \
13593
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
13594
 
    postinstall_cmds | postuninstall_cmds | \
13595
 
    old_postinstall_cmds | old_postuninstall_cmds | \
13596
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13597
 
      # Double-quote double-evaled strings.
13598
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13599
 
      ;;
13600
 
    *)
13601
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13602
 
      ;;
13603
 
    esac
13604
 
  done
13605
 
 
13606
 
  case $lt_echo in
13607
 
  *'\$0 --fallback-echo"')
13608
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13609
 
    ;;
13610
 
  esac
13611
 
 
13612
 
cfgfile="$ofile"
13613
 
 
13614
 
  cat <<__EOF__ >> "$cfgfile"
13615
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
13616
 
 
13617
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13618
 
 
13619
 
# Shell to use when invoking shell scripts.
13620
 
SHELL=$lt_SHELL
13621
 
 
13622
 
# Whether or not to build shared libraries.
13623
 
build_libtool_libs=$enable_shared
13624
 
 
13625
 
# Whether or not to build static libraries.
13626
 
build_old_libs=$enable_static
13627
 
 
13628
 
# Whether or not to add -lc for building shared libraries.
13629
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
13630
 
 
13631
 
# Whether or not to disallow shared libs when runtime libs are static
13632
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13633
 
 
13634
 
# Whether or not to optimize for fast installation.
13635
 
fast_install=$enable_fast_install
13636
 
 
13637
 
# The host system.
13638
 
host_alias=$host_alias
13639
 
host=$host
13640
 
host_os=$host_os
13641
 
 
13642
 
# The build system.
13643
 
build_alias=$build_alias
13644
 
build=$build
13645
 
build_os=$build_os
13646
 
 
13647
 
# An echo program that does not interpret backslashes.
13648
 
echo=$lt_echo
13649
 
 
13650
 
# The archiver.
13651
 
AR=$lt_AR
13652
 
AR_FLAGS=$lt_AR_FLAGS
13653
 
 
13654
 
# A C compiler.
13655
 
LTCC=$lt_LTCC
13656
 
 
13657
 
# LTCC compiler flags.
13658
 
LTCFLAGS=$lt_LTCFLAGS
13659
 
 
13660
 
# A language-specific compiler.
13661
 
CC=$lt_compiler_CXX
13662
 
 
13663
 
# Is the compiler the GNU C compiler?
13664
 
with_gcc=$GCC_CXX
13665
 
 
13666
 
# An ERE matcher.
13667
 
EGREP=$lt_EGREP
13668
 
 
13669
 
# The linker used to build libraries.
13670
 
LD=$lt_LD_CXX
13671
 
 
13672
 
# Whether we need hard or soft links.
13673
 
LN_S=$lt_LN_S
13674
 
 
13675
 
# A BSD-compatible nm program.
13676
 
NM=$lt_NM
13677
 
 
13678
 
# A symbol stripping program
13679
 
STRIP=$lt_STRIP
13680
 
 
13681
 
# Used to examine libraries when file_magic_cmd begins "file"
13682
 
MAGIC_CMD=$MAGIC_CMD
13683
 
 
13684
 
# Used on cygwin: DLL creation program.
13685
 
DLLTOOL="$DLLTOOL"
13686
 
 
13687
 
# Used on cygwin: object dumper.
13688
 
OBJDUMP="$OBJDUMP"
13689
 
 
13690
 
# Used on cygwin: assembler.
13691
 
AS="$AS"
13692
 
 
13693
 
# The name of the directory that contains temporary libtool files.
13694
 
objdir=$objdir
13695
 
 
13696
 
# How to create reloadable object files.
13697
 
reload_flag=$lt_reload_flag
13698
 
reload_cmds=$lt_reload_cmds
13699
 
 
13700
 
# How to pass a linker flag through the compiler.
13701
 
wl=$lt_lt_prog_compiler_wl_CXX
13702
 
 
13703
 
# Object file suffix (normally "o").
13704
 
objext="$ac_objext"
13705
 
 
13706
 
# Old archive suffix (normally "a").
13707
 
libext="$libext"
13708
 
 
13709
 
# Shared library suffix (normally ".so").
13710
 
shrext_cmds='$shrext_cmds'
13711
 
 
13712
 
# Executable file suffix (normally "").
13713
 
exeext="$exeext"
13714
 
 
13715
 
# Additional compiler flags for building library objects.
13716
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
13717
 
pic_mode=$pic_mode
13718
 
 
13719
 
# What is the maximum length of a command?
13720
 
max_cmd_len=$lt_cv_sys_max_cmd_len
13721
 
 
13722
 
# Does compiler simultaneously support -c and -o options?
13723
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13724
 
 
13725
 
# Must we lock files when doing compilation?
13726
 
need_locks=$lt_need_locks
13727
 
 
13728
 
# Do we need the lib prefix for modules?
13729
 
need_lib_prefix=$need_lib_prefix
13730
 
 
13731
 
# Do we need a version for libraries?
13732
 
need_version=$need_version
13733
 
 
13734
 
# Whether dlopen is supported.
13735
 
dlopen_support=$enable_dlopen
13736
 
 
13737
 
# Whether dlopen of programs is supported.
13738
 
dlopen_self=$enable_dlopen_self
13739
 
 
13740
 
# Whether dlopen of statically linked programs is supported.
13741
 
dlopen_self_static=$enable_dlopen_self_static
13742
 
 
13743
 
# Compiler flag to prevent dynamic linking.
13744
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
13745
 
 
13746
 
# Compiler flag to turn off builtin functions.
13747
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13748
 
 
13749
 
# Compiler flag to allow reflexive dlopens.
13750
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13751
 
 
13752
 
# Compiler flag to generate shared objects directly from archives.
13753
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13754
 
 
13755
 
# Compiler flag to generate thread-safe objects.
13756
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13757
 
 
13758
 
# Library versioning type.
13759
 
version_type=$version_type
13760
 
 
13761
 
# Format of library name prefix.
13762
 
libname_spec=$lt_libname_spec
13763
 
 
13764
 
# List of archive names.  First name is the real one, the rest are links.
13765
 
# The last name is the one that the linker finds with -lNAME.
13766
 
library_names_spec=$lt_library_names_spec
13767
 
 
13768
 
# The coded name of the library, if different from the real name.
13769
 
soname_spec=$lt_soname_spec
13770
 
 
13771
 
# Commands used to build and install an old-style archive.
13772
 
RANLIB=$lt_RANLIB
13773
 
old_archive_cmds=$lt_old_archive_cmds_CXX
13774
 
old_postinstall_cmds=$lt_old_postinstall_cmds
13775
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13776
 
 
13777
 
# Create an old-style archive from a shared archive.
13778
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13779
 
 
13780
 
# Create a temporary old-style archive to link instead of a shared archive.
13781
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13782
 
 
13783
 
# Commands used to build and install a shared archive.
13784
 
archive_cmds=$lt_archive_cmds_CXX
13785
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13786
 
postinstall_cmds=$lt_postinstall_cmds
13787
 
postuninstall_cmds=$lt_postuninstall_cmds
13788
 
 
13789
 
# Commands used to build a loadable module (assumed same as above if empty)
13790
 
module_cmds=$lt_module_cmds_CXX
13791
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
13792
 
 
13793
 
# Commands to strip libraries.
13794
 
old_striplib=$lt_old_striplib
13795
 
striplib=$lt_striplib
13796
 
 
13797
 
# Dependencies to place before the objects being linked to create a
13798
 
# shared library.
13799
 
predep_objects=$lt_predep_objects_CXX
13800
 
 
13801
 
# Dependencies to place after the objects being linked to create a
13802
 
# shared library.
13803
 
postdep_objects=$lt_postdep_objects_CXX
13804
 
 
13805
 
# Dependencies to place before the objects being linked to create a
13806
 
# shared library.
13807
 
predeps=$lt_predeps_CXX
13808
 
 
13809
 
# Dependencies to place after the objects being linked to create a
13810
 
# shared library.
13811
 
postdeps=$lt_postdeps_CXX
13812
 
 
13813
 
# The library search path used internally by the compiler when linking
13814
 
# a shared library.
13815
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13816
 
 
13817
 
# Method to check whether dependent libraries are shared objects.
13818
 
deplibs_check_method=$lt_deplibs_check_method
13819
 
 
13820
 
# Command to use when deplibs_check_method == file_magic.
13821
 
file_magic_cmd=$lt_file_magic_cmd
13822
 
 
13823
 
# Flag that allows shared libraries with undefined symbols to be built.
13824
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
13825
 
 
13826
 
# Flag that forces no undefined symbols.
13827
 
no_undefined_flag=$lt_no_undefined_flag_CXX
13828
 
 
13829
 
# Commands used to finish a libtool library installation in a directory.
13830
 
finish_cmds=$lt_finish_cmds
13831
 
 
13832
 
# Same as above, but a single script fragment to be evaled but not shown.
13833
 
finish_eval=$lt_finish_eval
13834
 
 
13835
 
# Take the output of nm and produce a listing of raw symbols and C names.
13836
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13837
 
 
13838
 
# Transform the output of nm in a proper C declaration
13839
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13840
 
 
13841
 
# Transform the output of nm in a C name address pair
13842
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13843
 
 
13844
 
# This is the shared library runtime path variable.
13845
 
runpath_var=$runpath_var
13846
 
 
13847
 
# This is the shared library path variable.
13848
 
shlibpath_var=$shlibpath_var
13849
 
 
13850
 
# Is shlibpath searched before the hard-coded library search path?
13851
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13852
 
 
13853
 
# How to hardcode a shared library path into an executable.
13854
 
hardcode_action=$hardcode_action_CXX
13855
 
 
13856
 
# Whether we should hardcode library paths into libraries.
13857
 
hardcode_into_libs=$hardcode_into_libs
13858
 
 
13859
 
# Flag to hardcode \$libdir into a binary during linking.
13860
 
# This must work even if \$libdir does not exist.
13861
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13862
 
 
13863
 
# If ld is used when linking, flag to hardcode \$libdir into
13864
 
# a binary during linking. This must work even if \$libdir does
13865
 
# not exist.
13866
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13867
 
 
13868
 
# Whether we need a single -rpath flag with a separated argument.
13869
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13870
 
 
13871
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13872
 
# resulting binary.
13873
 
hardcode_direct=$hardcode_direct_CXX
13874
 
 
13875
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13876
 
# resulting binary.
13877
 
hardcode_minus_L=$hardcode_minus_L_CXX
13878
 
 
13879
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13880
 
# the resulting binary.
13881
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13882
 
 
13883
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
13884
 
# and all subsequent libraries and executables linked against it.
13885
 
hardcode_automatic=$hardcode_automatic_CXX
13886
 
 
13887
 
# Variables whose values should be saved in libtool wrapper scripts and
13888
 
# restored at relink time.
13889
 
variables_saved_for_relink="$variables_saved_for_relink"
13890
 
 
13891
 
# Whether libtool must link a program against all its dependency libraries.
13892
 
link_all_deplibs=$link_all_deplibs_CXX
13893
 
 
13894
 
# Compile-time system search path for libraries
13895
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13896
 
 
13897
 
# Run-time system search path for libraries
13898
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13899
 
 
13900
 
# Fix the shell variable \$srcfile for the compiler.
13901
 
fix_srcfile_path="$fix_srcfile_path_CXX"
13902
 
 
13903
 
# Set to yes if exported symbols are required.
13904
 
always_export_symbols=$always_export_symbols_CXX
13905
 
 
13906
 
# The commands to list exported symbols.
13907
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
13908
 
 
13909
 
# The commands to extract the exported symbol list from a shared archive.
13910
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
13911
 
 
13912
 
# Symbols that should not be listed in the preloaded symbols.
13913
 
exclude_expsyms=$lt_exclude_expsyms_CXX
13914
 
 
13915
 
# Symbols that must always be exported.
13916
 
include_expsyms=$lt_include_expsyms_CXX
13917
 
 
13918
 
# ### END LIBTOOL TAG CONFIG: $tagname
13919
 
 
13920
 
__EOF__
13921
 
 
13922
 
 
13923
 
else
13924
 
  # If there is no Makefile yet, we rely on a make rule to execute
13925
 
  # `config.status --recheck' to rerun these tests and create the
13926
 
  # libtool script then.
13927
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13928
 
  if test -f "$ltmain_in"; then
13929
 
    test -f Makefile && make "$ltmain"
13930
 
  fi
13931
 
fi
13932
 
 
13933
 
 
13934
 
ac_ext=c
13935
 
ac_cpp='$CPP $CPPFLAGS'
13936
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13937
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13938
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13939
 
 
13940
 
CC=$lt_save_CC
13941
 
LDCXX=$LD
13942
 
LD=$lt_save_LD
13943
 
GCC=$lt_save_GCC
13944
 
with_gnu_ldcxx=$with_gnu_ld
13945
 
with_gnu_ld=$lt_save_with_gnu_ld
13946
 
lt_cv_path_LDCXX=$lt_cv_path_LD
13947
 
lt_cv_path_LD=$lt_save_path_LD
13948
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13949
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13950
 
 
13951
 
        else
13952
 
          tagname=""
13953
 
        fi
13954
 
        ;;
13955
 
 
13956
 
      F77)
13957
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
13958
 
 
13959
 
ac_ext=f
13960
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13961
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13962
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13963
 
 
13964
 
 
13965
 
archive_cmds_need_lc_F77=no
13966
 
allow_undefined_flag_F77=
13967
 
always_export_symbols_F77=no
13968
 
archive_expsym_cmds_F77=
13969
 
export_dynamic_flag_spec_F77=
13970
 
hardcode_direct_F77=no
13971
 
hardcode_libdir_flag_spec_F77=
13972
 
hardcode_libdir_flag_spec_ld_F77=
13973
 
hardcode_libdir_separator_F77=
13974
 
hardcode_minus_L_F77=no
13975
 
hardcode_automatic_F77=no
13976
 
module_cmds_F77=
13977
 
module_expsym_cmds_F77=
13978
 
link_all_deplibs_F77=unknown
13979
 
old_archive_cmds_F77=$old_archive_cmds
13980
 
no_undefined_flag_F77=
13981
 
whole_archive_flag_spec_F77=
13982
 
enable_shared_with_static_runtimes_F77=no
13983
 
 
13984
 
# Source file extension for f77 test sources.
13985
 
ac_ext=f
13986
 
 
13987
 
# Object file extension for compiled f77 test sources.
13988
 
objext=o
13989
 
objext_F77=$objext
13990
 
 
13991
 
# Code to be used in simple compile tests
13992
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
13993
 
 
13994
 
# Code to be used in simple link tests
13995
 
lt_simple_link_test_code="      program t\n      end\n"
13996
 
 
13997
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13998
 
 
13999
 
# If no C compiler was specified, use CC.
14000
 
LTCC=${LTCC-"$CC"}
14001
 
 
14002
 
# If no C compiler flags were specified, use CFLAGS.
14003
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14004
 
 
14005
 
# Allow CC to be a program name with arguments.
14006
 
compiler=$CC
14007
 
 
14008
 
 
14009
 
# save warnings/boilerplate of simple test code
14010
 
ac_outfile=conftest.$ac_objext
14011
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
14012
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14013
 
_lt_compiler_boilerplate=`cat conftest.err`
14014
 
$rm conftest*
14015
 
 
14016
 
ac_outfile=conftest.$ac_objext
14017
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
14018
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14019
 
_lt_linker_boilerplate=`cat conftest.err`
14020
 
$rm conftest*
14021
 
 
14022
 
 
14023
 
# Allow CC to be a program name with arguments.
14024
 
lt_save_CC="$CC"
14025
 
CC=${F77-"f77"}
14026
 
compiler=$CC
14027
 
compiler_F77=$CC
14028
 
for cc_temp in $compiler""; do
14029
 
  case $cc_temp in
14030
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14031
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14032
 
    \-*) ;;
14033
 
    *) break;;
14034
 
  esac
14035
 
done
14036
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14037
 
 
14038
 
 
14039
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14040
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14041
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
14042
 
echo "${ECHO_T}$can_build_shared" >&6; }
14043
 
 
14044
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14045
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14046
 
test "$can_build_shared" = "no" && enable_shared=no
14047
 
 
14048
 
# On AIX, shared libraries and static libraries use the same namespace, and
14049
 
# are all built from PIC.
14050
 
case $host_os in
14051
 
aix3*)
14052
 
  test "$enable_shared" = yes && enable_static=no
14053
 
  if test -n "$RANLIB"; then
14054
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
14055
 
    postinstall_cmds='$RANLIB $lib'
14056
 
  fi
14057
 
  ;;
14058
 
aix4* | aix5*)
14059
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14060
 
    test "$enable_shared" = yes && enable_static=no
14061
 
  fi
14062
 
  ;;
14063
 
esac
14064
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
14065
 
echo "${ECHO_T}$enable_shared" >&6; }
14066
 
 
14067
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14068
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14069
 
# Make sure either enable_shared or enable_static is yes.
14070
 
test "$enable_shared" = yes || enable_static=yes
14071
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
14072
 
echo "${ECHO_T}$enable_static" >&6; }
14073
 
 
14074
 
GCC_F77="$G77"
14075
 
LD_F77="$LD"
14076
 
 
14077
 
lt_prog_compiler_wl_F77=
14078
 
lt_prog_compiler_pic_F77=
14079
 
lt_prog_compiler_static_F77=
14080
 
 
14081
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14082
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14083
 
 
14084
 
  if test "$GCC" = yes; then
14085
 
    lt_prog_compiler_wl_F77='-Wl,'
14086
 
    lt_prog_compiler_static_F77='-static'
14087
 
 
14088
 
    case $host_os in
14089
 
      aix*)
14090
 
      # All AIX code is PIC.
14091
 
      if test "$host_cpu" = ia64; then
14092
 
        # AIX 5 now supports IA64 processor
14093
 
        lt_prog_compiler_static_F77='-Bstatic'
14094
 
      fi
14095
 
      ;;
14096
 
 
14097
 
    amigaos*)
14098
 
      # FIXME: we need at least 68020 code to build shared libraries, but
14099
 
      # adding the `-m68020' flag to GCC prevents building anything better,
14100
 
      # like `-m68040'.
14101
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
14102
 
      ;;
14103
 
 
14104
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14105
 
      # PIC is the default for these OSes.
14106
 
      ;;
14107
 
 
14108
 
    mingw* | pw32* | os2*)
14109
 
      # This hack is so that the source file can tell whether it is being
14110
 
      # built for inclusion in a dll (and should export symbols for example).
14111
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14112
 
      ;;
14113
 
 
14114
 
    darwin* | rhapsody*)
14115
 
      # PIC is the default on this platform
14116
 
      # Common symbols not allowed in MH_DYLIB files
14117
 
      lt_prog_compiler_pic_F77='-fno-common'
14118
 
      ;;
14119
 
 
14120
 
    interix3*)
14121
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14122
 
      # Instead, we relocate shared libraries at runtime.
14123
 
      ;;
14124
 
 
14125
 
    msdosdjgpp*)
14126
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
14127
 
      # on systems that don't support them.
14128
 
      lt_prog_compiler_can_build_shared_F77=no
14129
 
      enable_shared=no
14130
 
      ;;
14131
 
 
14132
 
    sysv4*MP*)
14133
 
      if test -d /usr/nec; then
14134
 
        lt_prog_compiler_pic_F77=-Kconform_pic
14135
 
      fi
14136
 
      ;;
14137
 
 
14138
 
    hpux*)
14139
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14140
 
      # not for PA HP-UX.
14141
 
      case $host_cpu in
14142
 
      hppa*64*|ia64*)
14143
 
        # +Z the default
14144
 
        ;;
14145
 
      *)
14146
 
        lt_prog_compiler_pic_F77='-fPIC'
14147
 
        ;;
14148
 
      esac
14149
 
      ;;
14150
 
 
14151
 
    *)
14152
 
      lt_prog_compiler_pic_F77='-fPIC'
14153
 
      ;;
14154
 
    esac
14155
 
  else
14156
 
    # PORTME Check for flag to pass linker flags through the system compiler.
14157
 
    case $host_os in
14158
 
    aix*)
14159
 
      lt_prog_compiler_wl_F77='-Wl,'
14160
 
      if test "$host_cpu" = ia64; then
14161
 
        # AIX 5 now supports IA64 processor
14162
 
        lt_prog_compiler_static_F77='-Bstatic'
14163
 
      else
14164
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
14165
 
      fi
14166
 
      ;;
14167
 
      darwin*)
14168
 
        # PIC is the default on this platform
14169
 
        # Common symbols not allowed in MH_DYLIB files
14170
 
       case $cc_basename in
14171
 
         xlc*)
14172
 
         lt_prog_compiler_pic_F77='-qnocommon'
14173
 
         lt_prog_compiler_wl_F77='-Wl,'
14174
 
         ;;
14175
 
       esac
14176
 
       ;;
14177
 
 
14178
 
    mingw* | pw32* | os2*)
14179
 
      # This hack is so that the source file can tell whether it is being
14180
 
      # built for inclusion in a dll (and should export symbols for example).
14181
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14182
 
      ;;
14183
 
 
14184
 
    hpux9* | hpux10* | hpux11*)
14185
 
      lt_prog_compiler_wl_F77='-Wl,'
14186
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14187
 
      # not for PA HP-UX.
14188
 
      case $host_cpu in
14189
 
      hppa*64*|ia64*)
14190
 
        # +Z the default
14191
 
        ;;
14192
 
      *)
14193
 
        lt_prog_compiler_pic_F77='+Z'
14194
 
        ;;
14195
 
      esac
14196
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
14197
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
14198
 
      ;;
14199
 
 
14200
 
    irix5* | irix6* | nonstopux*)
14201
 
      lt_prog_compiler_wl_F77='-Wl,'
14202
 
      # PIC (with -KPIC) is the default.
14203
 
      lt_prog_compiler_static_F77='-non_shared'
14204
 
      ;;
14205
 
 
14206
 
    newsos6)
14207
 
      lt_prog_compiler_pic_F77='-KPIC'
14208
 
      lt_prog_compiler_static_F77='-Bstatic'
14209
 
      ;;
14210
 
 
14211
 
    linux* | k*bsd*-gnu)
14212
 
      case $cc_basename in
14213
 
      icc* | ecc*)
14214
 
        lt_prog_compiler_wl_F77='-Wl,'
14215
 
        lt_prog_compiler_pic_F77='-KPIC'
14216
 
        lt_prog_compiler_static_F77='-static'
14217
 
        ;;
14218
 
      pgcc* | pgf77* | pgf90* | pgf95*)
14219
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
14220
 
        # which looks to be a dead project)
14221
 
        lt_prog_compiler_wl_F77='-Wl,'
14222
 
        lt_prog_compiler_pic_F77='-fpic'
14223
 
        lt_prog_compiler_static_F77='-Bstatic'
14224
 
        ;;
14225
 
      ccc*)
14226
 
        lt_prog_compiler_wl_F77='-Wl,'
14227
 
        # All Alpha code is PIC.
14228
 
        lt_prog_compiler_static_F77='-non_shared'
14229
 
        ;;
14230
 
      esac
14231
 
      ;;
14232
 
 
14233
 
    osf3* | osf4* | osf5*)
14234
 
      lt_prog_compiler_wl_F77='-Wl,'
14235
 
      # All OSF/1 code is PIC.
14236
 
      lt_prog_compiler_static_F77='-non_shared'
14237
 
      ;;
14238
 
 
14239
 
    solaris*)
14240
 
      lt_prog_compiler_pic_F77='-KPIC'
14241
 
      lt_prog_compiler_static_F77='-Bstatic'
14242
 
      case $cc_basename in
14243
 
      f77* | f90* | f95*)
14244
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
14245
 
      *)
14246
 
        lt_prog_compiler_wl_F77='-Wl,';;
14247
 
      esac
14248
 
      ;;
14249
 
 
14250
 
    sunos4*)
14251
 
      lt_prog_compiler_wl_F77='-Qoption ld '
14252
 
      lt_prog_compiler_pic_F77='-PIC'
14253
 
      lt_prog_compiler_static_F77='-Bstatic'
14254
 
      ;;
14255
 
 
14256
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
14257
 
      lt_prog_compiler_wl_F77='-Wl,'
14258
 
      lt_prog_compiler_pic_F77='-KPIC'
14259
 
      lt_prog_compiler_static_F77='-Bstatic'
14260
 
      ;;
14261
 
 
14262
 
    sysv4*MP*)
14263
 
      if test -d /usr/nec ;then
14264
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
14265
 
        lt_prog_compiler_static_F77='-Bstatic'
14266
 
      fi
14267
 
      ;;
14268
 
 
14269
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14270
 
      lt_prog_compiler_wl_F77='-Wl,'
14271
 
      lt_prog_compiler_pic_F77='-KPIC'
14272
 
      lt_prog_compiler_static_F77='-Bstatic'
14273
 
      ;;
14274
 
 
14275
 
    unicos*)
14276
 
      lt_prog_compiler_wl_F77='-Wl,'
14277
 
      lt_prog_compiler_can_build_shared_F77=no
14278
 
      ;;
14279
 
 
14280
 
    uts4*)
14281
 
      lt_prog_compiler_pic_F77='-pic'
14282
 
      lt_prog_compiler_static_F77='-Bstatic'
14283
 
      ;;
14284
 
 
14285
 
    *)
14286
 
      lt_prog_compiler_can_build_shared_F77=no
14287
 
      ;;
14288
 
    esac
14289
 
  fi
14290
 
 
14291
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14292
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14293
 
 
14294
 
#
14295
 
# Check to make sure the PIC flag actually works.
14296
 
#
14297
 
if test -n "$lt_prog_compiler_pic_F77"; then
14298
 
 
14299
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14300
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14301
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14302
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14303
 
else
14304
 
  lt_prog_compiler_pic_works_F77=no
14305
 
  ac_outfile=conftest.$ac_objext
14306
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14307
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
14308
 
   # Insert the option either (1) after the last *FLAGS variable, or
14309
 
   # (2) before a word containing "conftest.", or (3) at the end.
14310
 
   # Note that $ac_compile itself does not contain backslashes and begins
14311
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14312
 
   # The option is referenced via a variable to avoid confusing sed.
14313
 
   lt_compile=`echo "$ac_compile" | $SED \
14314
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14315
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14316
 
   -e 's:$: $lt_compiler_flag:'`
14317
 
   (eval echo "\"\$as_me:14317: $lt_compile\"" >&5)
14318
 
   (eval "$lt_compile" 2>conftest.err)
14319
 
   ac_status=$?
14320
 
   cat conftest.err >&5
14321
 
   echo "$as_me:14321: \$? = $ac_status" >&5
14322
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
14323
 
     # The compiler can only warn and ignore the option if not recognized
14324
 
     # So say no if there are warnings other than the usual output.
14325
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14326
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14327
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14328
 
       lt_prog_compiler_pic_works_F77=yes
14329
 
     fi
14330
 
   fi
14331
 
   $rm conftest*
14332
 
 
14333
 
fi
14334
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14335
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14336
 
 
14337
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
14338
 
    case $lt_prog_compiler_pic_F77 in
14339
 
     "" | " "*) ;;
14340
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
14341
 
     esac
14342
 
else
14343
 
    lt_prog_compiler_pic_F77=
14344
 
     lt_prog_compiler_can_build_shared_F77=no
14345
 
fi
14346
 
 
14347
 
fi
14348
 
case $host_os in
14349
 
  # For platforms which do not support PIC, -DPIC is meaningless:
14350
 
  *djgpp*)
14351
 
    lt_prog_compiler_pic_F77=
14352
 
    ;;
14353
 
  *)
14354
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
14355
 
    ;;
14356
 
esac
14357
 
 
14358
 
#
14359
 
# Check to make sure the static flag actually works.
14360
 
#
14361
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14362
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14363
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14364
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14365
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14366
 
else
14367
 
  lt_prog_compiler_static_works_F77=no
14368
 
   save_LDFLAGS="$LDFLAGS"
14369
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14370
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
14371
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14372
 
     # The linker can only warn and ignore the option if not recognized
14373
 
     # So say no if there are warnings
14374
 
     if test -s conftest.err; then
14375
 
       # Append any errors to the config.log.
14376
 
       cat conftest.err 1>&5
14377
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14378
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14379
 
       if diff conftest.exp conftest.er2 >/dev/null; then
14380
 
         lt_prog_compiler_static_works_F77=yes
14381
 
       fi
14382
 
     else
14383
 
       lt_prog_compiler_static_works_F77=yes
14384
 
     fi
14385
 
   fi
14386
 
   $rm conftest*
14387
 
   LDFLAGS="$save_LDFLAGS"
14388
 
 
14389
 
fi
14390
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14391
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14392
 
 
14393
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
14394
 
    :
14395
 
else
14396
 
    lt_prog_compiler_static_F77=
14397
 
fi
14398
 
 
14399
 
 
14400
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14401
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14402
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14403
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14404
 
else
14405
 
  lt_cv_prog_compiler_c_o_F77=no
14406
 
   $rm -r conftest 2>/dev/null
14407
 
   mkdir conftest
14408
 
   cd conftest
14409
 
   mkdir out
14410
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14411
 
 
14412
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14413
 
   # Insert the option either (1) after the last *FLAGS variable, or
14414
 
   # (2) before a word containing "conftest.", or (3) at the end.
14415
 
   # Note that $ac_compile itself does not contain backslashes and begins
14416
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14417
 
   lt_compile=`echo "$ac_compile" | $SED \
14418
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14419
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14420
 
   -e 's:$: $lt_compiler_flag:'`
14421
 
   (eval echo "\"\$as_me:14421: $lt_compile\"" >&5)
14422
 
   (eval "$lt_compile" 2>out/conftest.err)
14423
 
   ac_status=$?
14424
 
   cat out/conftest.err >&5
14425
 
   echo "$as_me:14425: \$? = $ac_status" >&5
14426
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14427
 
   then
14428
 
     # The compiler can only warn and ignore the option if not recognized
14429
 
     # So say no if there are warnings
14430
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14431
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14432
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14433
 
       lt_cv_prog_compiler_c_o_F77=yes
14434
 
     fi
14435
 
   fi
14436
 
   chmod u+w . 2>&5
14437
 
   $rm conftest*
14438
 
   # SGI C++ compiler will create directory out/ii_files/ for
14439
 
   # template instantiation
14440
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14441
 
   $rm out/* && rmdir out
14442
 
   cd ..
14443
 
   rmdir conftest
14444
 
   $rm conftest*
14445
 
 
14446
 
fi
14447
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14448
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14449
 
 
14450
 
 
14451
 
hard_links="nottested"
14452
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
14453
 
  # do not overwrite the value of need_locks provided by the user
14454
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14455
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14456
 
  hard_links=yes
14457
 
  $rm conftest*
14458
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14459
 
  touch conftest.a
14460
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
14461
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14462
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
14463
 
echo "${ECHO_T}$hard_links" >&6; }
14464
 
  if test "$hard_links" = no; then
14465
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14466
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14467
 
    need_locks=warn
14468
 
  fi
14469
 
else
14470
 
  need_locks=no
14471
 
fi
14472
 
 
14473
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14474
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14475
 
 
14476
 
  runpath_var=
14477
 
  allow_undefined_flag_F77=
14478
 
  enable_shared_with_static_runtimes_F77=no
14479
 
  archive_cmds_F77=
14480
 
  archive_expsym_cmds_F77=
14481
 
  old_archive_From_new_cmds_F77=
14482
 
  old_archive_from_expsyms_cmds_F77=
14483
 
  export_dynamic_flag_spec_F77=
14484
 
  whole_archive_flag_spec_F77=
14485
 
  thread_safe_flag_spec_F77=
14486
 
  hardcode_libdir_flag_spec_F77=
14487
 
  hardcode_libdir_flag_spec_ld_F77=
14488
 
  hardcode_libdir_separator_F77=
14489
 
  hardcode_direct_F77=no
14490
 
  hardcode_minus_L_F77=no
14491
 
  hardcode_shlibpath_var_F77=unsupported
14492
 
  link_all_deplibs_F77=unknown
14493
 
  hardcode_automatic_F77=no
14494
 
  module_cmds_F77=
14495
 
  module_expsym_cmds_F77=
14496
 
  always_export_symbols_F77=no
14497
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14498
 
  # include_expsyms should be a list of space-separated symbols to be *always*
14499
 
  # included in the symbol list
14500
 
  include_expsyms_F77=
14501
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
14502
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
14503
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14504
 
  # as well as any symbol that contains `d'.
14505
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
14506
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14507
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
14508
 
  # the symbol is explicitly referenced.  Since portable code cannot
14509
 
  # rely on this symbol name, it's probably fine to never include it in
14510
 
  # preloaded symbol tables.
14511
 
  extract_expsyms_cmds=
14512
 
  # Just being paranoid about ensuring that cc_basename is set.
14513
 
  for cc_temp in $compiler""; do
14514
 
  case $cc_temp in
14515
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14516
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14517
 
    \-*) ;;
14518
 
    *) break;;
14519
 
  esac
14520
 
done
14521
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14522
 
 
14523
 
  case $host_os in
14524
 
  cygwin* | mingw* | pw32*)
14525
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
14526
 
    # When not using gcc, we currently assume that we are using
14527
 
    # Microsoft Visual C++.
14528
 
    if test "$GCC" != yes; then
14529
 
      with_gnu_ld=no
14530
 
    fi
14531
 
    ;;
14532
 
  interix*)
14533
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
14534
 
    with_gnu_ld=yes
14535
 
    ;;
14536
 
  openbsd*)
14537
 
    with_gnu_ld=no
14538
 
    ;;
14539
 
  esac
14540
 
 
14541
 
  ld_shlibs_F77=yes
14542
 
  if test "$with_gnu_ld" = yes; then
14543
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
14544
 
    wlarc='${wl}'
14545
 
 
14546
 
    # Set some defaults for GNU ld with shared library support. These
14547
 
    # are reset later if shared libraries are not supported. Putting them
14548
 
    # here allows them to be overridden if necessary.
14549
 
    runpath_var=LD_RUN_PATH
14550
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
14551
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
14552
 
    # ancient GNU ld didn't support --whole-archive et. al.
14553
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14554
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14555
 
      else
14556
 
        whole_archive_flag_spec_F77=
14557
 
    fi
14558
 
    supports_anon_versioning=no
14559
 
    case `$LD -v 2>/dev/null` in
14560
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14561
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14562
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14563
 
      *\ 2.11.*) ;; # other 2.11 versions
14564
 
      *) supports_anon_versioning=yes ;;
14565
 
    esac
14566
 
 
14567
 
    # See if GNU ld supports shared libraries.
14568
 
    case $host_os in
14569
 
    aix3* | aix4* | aix5*)
14570
 
      # On AIX/PPC, the GNU linker is very broken
14571
 
      if test "$host_cpu" != ia64; then
14572
 
        ld_shlibs_F77=no
14573
 
        cat <<EOF 1>&2
14574
 
 
14575
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
14576
 
*** to be unable to reliably create shared libraries on AIX.
14577
 
*** Therefore, libtool is disabling shared libraries support.  If you
14578
 
*** really care for shared libraries, you may want to modify your PATH
14579
 
*** so that a non-GNU linker is found, and then restart.
14580
 
 
14581
 
EOF
14582
 
      fi
14583
 
      ;;
14584
 
 
14585
 
    amigaos*)
14586
 
      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)'
14587
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14588
 
      hardcode_minus_L_F77=yes
14589
 
 
14590
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14591
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
14592
 
      # to version 4, is to share data among multiple programs linked
14593
 
      # with the same dynamic library.  Since this doesn't match the
14594
 
      # behavior of shared libraries on other platforms, we can't use
14595
 
      # them.
14596
 
      ld_shlibs_F77=no
14597
 
      ;;
14598
 
 
14599
 
    beos*)
14600
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14601
 
        allow_undefined_flag_F77=unsupported
14602
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14603
 
        # support --undefined.  This deserves some investigation.  FIXME
14604
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14605
 
      else
14606
 
        ld_shlibs_F77=no
14607
 
      fi
14608
 
      ;;
14609
 
 
14610
 
    cygwin* | mingw* | pw32*)
14611
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14612
 
      # as there is no search path for DLLs.
14613
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14614
 
      allow_undefined_flag_F77=unsupported
14615
 
      always_export_symbols_F77=no
14616
 
      enable_shared_with_static_runtimes_F77=yes
14617
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14618
 
 
14619
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14620
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14621
 
        # If the export-symbols file already is a .def file (1st line
14622
 
        # is EXPORTS), use it as is; otherwise, prepend...
14623
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14624
 
          cp $export_symbols $output_objdir/$soname.def;
14625
 
        else
14626
 
          echo EXPORTS > $output_objdir/$soname.def;
14627
 
          cat $export_symbols >> $output_objdir/$soname.def;
14628
 
        fi~
14629
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14630
 
      else
14631
 
        ld_shlibs_F77=no
14632
 
      fi
14633
 
      ;;
14634
 
 
14635
 
    interix3*)
14636
 
      hardcode_direct_F77=no
14637
 
      hardcode_shlibpath_var_F77=no
14638
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14639
 
      export_dynamic_flag_spec_F77='${wl}-E'
14640
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14641
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
14642
 
      # default) and relocated if they conflict, which is a slow very memory
14643
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
14644
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14645
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14646
 
      archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14647
 
      archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14648
 
      ;;
14649
 
 
14650
 
    linux* | k*bsd*-gnu)
14651
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14652
 
        tmp_addflag=
14653
 
        case $cc_basename,$host_cpu in
14654
 
        pgcc*)                          # Portland Group C compiler
14655
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14656
 
          tmp_addflag=' $pic_flag'
14657
 
          ;;
14658
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
14659
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14660
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
14661
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
14662
 
          tmp_addflag=' -i_dynamic' ;;
14663
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
14664
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
14665
 
        ifc* | ifort*)                  # Intel Fortran compiler
14666
 
          tmp_addflag=' -nofor_main' ;;
14667
 
        esac
14668
 
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14669
 
 
14670
 
        if test $supports_anon_versioning = yes; then
14671
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14672
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14673
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
14674
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14675
 
        fi
14676
 
        link_all_deplibs_F77=no
14677
 
      else
14678
 
        ld_shlibs_F77=no
14679
 
      fi
14680
 
      ;;
14681
 
 
14682
 
    netbsd* | netbsdelf*-gnu)
14683
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14684
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14685
 
        wlarc=
14686
 
      else
14687
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14688
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14689
 
      fi
14690
 
      ;;
14691
 
 
14692
 
    solaris*)
14693
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
14694
 
        ld_shlibs_F77=no
14695
 
        cat <<EOF 1>&2
14696
 
 
14697
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
14698
 
*** create shared libraries on Solaris systems.  Therefore, libtool
14699
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
14700
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
14701
 
*** your PATH or compiler configuration so that the native linker is
14702
 
*** used, and then restart.
14703
 
 
14704
 
EOF
14705
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14706
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14707
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14708
 
      else
14709
 
        ld_shlibs_F77=no
14710
 
      fi
14711
 
      ;;
14712
 
 
14713
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14714
 
      case `$LD -v 2>&1` in
14715
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14716
 
        ld_shlibs_F77=no
14717
 
        cat <<_LT_EOF 1>&2
14718
 
 
14719
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14720
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
14721
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
14722
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
14723
 
*** your PATH or compiler configuration so that the native linker is
14724
 
*** used, and then restart.
14725
 
 
14726
 
_LT_EOF
14727
 
        ;;
14728
 
        *)
14729
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14730
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14731
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14732
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14733
 
          else
14734
 
            ld_shlibs_F77=no
14735
 
          fi
14736
 
        ;;
14737
 
      esac
14738
 
      ;;
14739
 
 
14740
 
    sunos4*)
14741
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14742
 
      wlarc=
14743
 
      hardcode_direct_F77=yes
14744
 
      hardcode_shlibpath_var_F77=no
14745
 
      ;;
14746
 
 
14747
 
    *)
14748
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14749
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14750
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14751
 
      else
14752
 
        ld_shlibs_F77=no
14753
 
      fi
14754
 
      ;;
14755
 
    esac
14756
 
 
14757
 
    if test "$ld_shlibs_F77" = no; then
14758
 
      runpath_var=
14759
 
      hardcode_libdir_flag_spec_F77=
14760
 
      export_dynamic_flag_spec_F77=
14761
 
      whole_archive_flag_spec_F77=
14762
 
    fi
14763
 
  else
14764
 
    # PORTME fill in a description of your system's linker (not GNU ld)
14765
 
    case $host_os in
14766
 
    aix3*)
14767
 
      allow_undefined_flag_F77=unsupported
14768
 
      always_export_symbols_F77=yes
14769
 
      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'
14770
 
      # Note: this linker hardcodes the directories in LIBPATH if there
14771
 
      # are no directories specified by -L.
14772
 
      hardcode_minus_L_F77=yes
14773
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14774
 
        # Neither direct hardcoding nor static linking is supported with a
14775
 
        # broken collect2.
14776
 
        hardcode_direct_F77=unsupported
14777
 
      fi
14778
 
      ;;
14779
 
 
14780
 
    aix4* | aix5*)
14781
 
      if test "$host_cpu" = ia64; then
14782
 
        # On IA64, the linker does run time linking by default, so we don't
14783
 
        # have to do anything special.
14784
 
        aix_use_runtimelinking=no
14785
 
        exp_sym_flag='-Bexport'
14786
 
        no_entry_flag=""
14787
 
      else
14788
 
        # If we're using GNU nm, then we don't want the "-C" option.
14789
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
14790
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14791
 
          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'
14792
 
        else
14793
 
          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'
14794
 
        fi
14795
 
        aix_use_runtimelinking=no
14796
 
 
14797
 
        # Test if we are trying to use run time linking or normal
14798
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14799
 
        # need to do runtime linking.
14800
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
14801
 
          for ld_flag in $LDFLAGS; do
14802
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14803
 
            aix_use_runtimelinking=yes
14804
 
            break
14805
 
          fi
14806
 
          done
14807
 
          ;;
14808
 
        esac
14809
 
 
14810
 
        exp_sym_flag='-bexport'
14811
 
        no_entry_flag='-bnoentry'
14812
 
      fi
14813
 
 
14814
 
      # When large executables or shared objects are built, AIX ld can
14815
 
      # have problems creating the table of contents.  If linking a library
14816
 
      # or program results in "error TOC overflow" add -mminimal-toc to
14817
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14818
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14819
 
 
14820
 
      archive_cmds_F77=''
14821
 
      hardcode_direct_F77=yes
14822
 
      hardcode_libdir_separator_F77=':'
14823
 
      link_all_deplibs_F77=yes
14824
 
 
14825
 
      if test "$GCC" = yes; then
14826
 
        case $host_os in aix4.[012]|aix4.[012].*)
14827
 
        # We only want to do this on AIX 4.2 and lower, the check
14828
 
        # below for broken collect2 doesn't work under 4.3+
14829
 
          collect2name=`${CC} -print-prog-name=collect2`
14830
 
          if test -f "$collect2name" && \
14831
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
14832
 
          then
14833
 
          # We have reworked collect2
14834
 
          hardcode_direct_F77=yes
14835
 
          else
14836
 
          # We have old collect2
14837
 
          hardcode_direct_F77=unsupported
14838
 
          # It fails to find uninstalled libraries when the uninstalled
14839
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
14840
 
          # to unsupported forces relinking
14841
 
          hardcode_minus_L_F77=yes
14842
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
14843
 
          hardcode_libdir_separator_F77=
14844
 
          fi
14845
 
          ;;
14846
 
        esac
14847
 
        shared_flag='-shared'
14848
 
        if test "$aix_use_runtimelinking" = yes; then
14849
 
          shared_flag="$shared_flag "'${wl}-G'
14850
 
        fi
14851
 
      else
14852
 
        # not using gcc
14853
 
        if test "$host_cpu" = ia64; then
14854
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14855
 
        # chokes on -Wl,-G. The following line is correct:
14856
 
          shared_flag='-G'
14857
 
        else
14858
 
          if test "$aix_use_runtimelinking" = yes; then
14859
 
            shared_flag='${wl}-G'
14860
 
          else
14861
 
            shared_flag='${wl}-bM:SRE'
14862
 
          fi
14863
 
        fi
14864
 
      fi
14865
 
 
14866
 
      # It seems that -bexpall does not export symbols beginning with
14867
 
      # underscore (_), so it is better to generate a list of symbols to export.
14868
 
      always_export_symbols_F77=yes
14869
 
      if test "$aix_use_runtimelinking" = yes; then
14870
 
        # Warning - without using the other runtime loading flags (-brtl),
14871
 
        # -berok will link without error, but may produce a broken library.
14872
 
        allow_undefined_flag_F77='-berok'
14873
 
       # Determine the default libpath from the value encoded in an empty executable.
14874
 
       cat >conftest.$ac_ext <<_ACEOF
14875
 
      program main
14876
 
 
14877
 
      end
14878
 
_ACEOF
14879
 
rm -f conftest.$ac_objext conftest$ac_exeext
14880
 
if { (ac_try="$ac_link"
14881
 
case "(($ac_try" in
14882
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14883
 
  *) ac_try_echo=$ac_try;;
14884
 
esac
14885
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14886
 
  (eval "$ac_link") 2>conftest.er1
14887
 
  ac_status=$?
14888
 
  grep -v '^ *+' conftest.er1 >conftest.err
14889
 
  rm -f conftest.er1
14890
 
  cat conftest.err >&5
14891
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14892
 
  (exit $ac_status); } && {
14893
 
         test -z "$ac_f77_werror_flag" ||
14894
 
         test ! -s conftest.err
14895
 
       } && test -s conftest$ac_exeext &&
14896
 
       $as_test_x conftest$ac_exeext; then
14897
 
 
14898
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14899
 
}'`
14900
 
# Check for a 64-bit object if we didn't find anything.
14901
 
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; }
14902
 
}'`; fi
14903
 
else
14904
 
  echo "$as_me: failed program was:" >&5
14905
 
sed 's/^/| /' conftest.$ac_ext >&5
14906
 
 
14907
 
 
14908
 
fi
14909
 
 
14910
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14911
 
      conftest$ac_exeext conftest.$ac_ext
14912
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14913
 
 
14914
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14915
 
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14916
 
       else
14917
 
        if test "$host_cpu" = ia64; then
14918
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14919
 
          allow_undefined_flag_F77="-z nodefs"
14920
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
14921
 
        else
14922
 
         # Determine the default libpath from the value encoded in an empty executable.
14923
 
         cat >conftest.$ac_ext <<_ACEOF
14924
 
      program main
14925
 
 
14926
 
      end
14927
 
_ACEOF
14928
 
rm -f conftest.$ac_objext conftest$ac_exeext
14929
 
if { (ac_try="$ac_link"
14930
 
case "(($ac_try" in
14931
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14932
 
  *) ac_try_echo=$ac_try;;
14933
 
esac
14934
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14935
 
  (eval "$ac_link") 2>conftest.er1
14936
 
  ac_status=$?
14937
 
  grep -v '^ *+' conftest.er1 >conftest.err
14938
 
  rm -f conftest.er1
14939
 
  cat conftest.err >&5
14940
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941
 
  (exit $ac_status); } && {
14942
 
         test -z "$ac_f77_werror_flag" ||
14943
 
         test ! -s conftest.err
14944
 
       } && test -s conftest$ac_exeext &&
14945
 
       $as_test_x conftest$ac_exeext; then
14946
 
 
14947
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14948
 
}'`
14949
 
# Check for a 64-bit object if we didn't find anything.
14950
 
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; }
14951
 
}'`; fi
14952
 
else
14953
 
  echo "$as_me: failed program was:" >&5
14954
 
sed 's/^/| /' conftest.$ac_ext >&5
14955
 
 
14956
 
 
14957
 
fi
14958
 
 
14959
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14960
 
      conftest$ac_exeext conftest.$ac_ext
14961
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14962
 
 
14963
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14964
 
          # Warning - without using the other run time loading flags,
14965
 
          # -berok will link without error, but may produce a broken library.
14966
 
          no_undefined_flag_F77=' ${wl}-bernotok'
14967
 
          allow_undefined_flag_F77=' ${wl}-berok'
14968
 
          # Exported symbols can be pulled into shared objects from archives
14969
 
          whole_archive_flag_spec_F77='$convenience'
14970
 
          archive_cmds_need_lc_F77=yes
14971
 
          # This is similar to how AIX traditionally builds its shared libraries.
14972
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14973
 
        fi
14974
 
      fi
14975
 
      ;;
14976
 
 
14977
 
    amigaos*)
14978
 
      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)'
14979
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14980
 
      hardcode_minus_L_F77=yes
14981
 
      # see comment about different semantics on the GNU ld section
14982
 
      ld_shlibs_F77=no
14983
 
      ;;
14984
 
 
14985
 
    bsdi[45]*)
14986
 
      export_dynamic_flag_spec_F77=-rdynamic
14987
 
      ;;
14988
 
 
14989
 
    cygwin* | mingw* | pw32*)
14990
 
      # When not using gcc, we currently assume that we are using
14991
 
      # Microsoft Visual C++.
14992
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
14993
 
      # no search path for DLLs.
14994
 
      hardcode_libdir_flag_spec_F77=' '
14995
 
      allow_undefined_flag_F77=unsupported
14996
 
      # Tell ltmain to make .lib files, not .a files.
14997
 
      libext=lib
14998
 
      # Tell ltmain to make .dll files, not .so files.
14999
 
      shrext_cmds=".dll"
15000
 
      # FIXME: Setting linknames here is a bad hack.
15001
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15002
 
      # The linker will automatically build a .lib file if we build a DLL.
15003
 
      old_archive_From_new_cmds_F77='true'
15004
 
      # FIXME: Should let the user specify the lib program.
15005
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
15006
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
15007
 
      enable_shared_with_static_runtimes_F77=yes
15008
 
      ;;
15009
 
 
15010
 
    darwin* | rhapsody*)
15011
 
      case $host_os in
15012
 
        rhapsody* | darwin1.[012])
15013
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
15014
 
         ;;
15015
 
       *) # Darwin 1.3 on
15016
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15017
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15018
 
         else
15019
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
15020
 
             10.[012])
15021
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15022
 
               ;;
15023
 
             10.*)
15024
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
15025
 
               ;;
15026
 
           esac
15027
 
         fi
15028
 
         ;;
15029
 
      esac
15030
 
      archive_cmds_need_lc_F77=no
15031
 
      hardcode_direct_F77=no
15032
 
      hardcode_automatic_F77=yes
15033
 
      hardcode_shlibpath_var_F77=unsupported
15034
 
      whole_archive_flag_spec_F77=''
15035
 
      link_all_deplibs_F77=yes
15036
 
    if test "$GCC" = yes ; then
15037
 
        output_verbose_link_cmd='echo'
15038
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15039
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15040
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15041
 
      archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15042
 
      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}'
15043
 
    else
15044
 
      case $cc_basename in
15045
 
        xlc*)
15046
 
         output_verbose_link_cmd='echo'
15047
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15048
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15049
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15050
 
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15051
 
          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}'
15052
 
          ;;
15053
 
       *)
15054
 
         ld_shlibs_F77=no
15055
 
          ;;
15056
 
      esac
15057
 
    fi
15058
 
      ;;
15059
 
 
15060
 
    dgux*)
15061
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15062
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15063
 
      hardcode_shlibpath_var_F77=no
15064
 
      ;;
15065
 
 
15066
 
    freebsd1*)
15067
 
      ld_shlibs_F77=no
15068
 
      ;;
15069
 
 
15070
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15071
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
15072
 
    # does not break anything, and helps significantly (at the cost of a little
15073
 
    # extra space).
15074
 
    freebsd2.2*)
15075
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15076
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15077
 
      hardcode_direct_F77=yes
15078
 
      hardcode_shlibpath_var_F77=no
15079
 
      ;;
15080
 
 
15081
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15082
 
    freebsd2*)
15083
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15084
 
      hardcode_direct_F77=yes
15085
 
      hardcode_minus_L_F77=yes
15086
 
      hardcode_shlibpath_var_F77=no
15087
 
      ;;
15088
 
 
15089
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15090
 
    freebsd* | dragonfly*)
15091
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15092
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15093
 
      hardcode_direct_F77=yes
15094
 
      hardcode_shlibpath_var_F77=no
15095
 
      ;;
15096
 
 
15097
 
    hpux9*)
15098
 
      if test "$GCC" = yes; then
15099
 
        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'
15100
 
      else
15101
 
        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'
15102
 
      fi
15103
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15104
 
      hardcode_libdir_separator_F77=:
15105
 
      hardcode_direct_F77=yes
15106
 
 
15107
 
      # hardcode_minus_L: Not really in the search PATH,
15108
 
      # but as the default location of the library.
15109
 
      hardcode_minus_L_F77=yes
15110
 
      export_dynamic_flag_spec_F77='${wl}-E'
15111
 
      ;;
15112
 
 
15113
 
    hpux10*)
15114
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15115
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15116
 
      else
15117
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15118
 
      fi
15119
 
      if test "$with_gnu_ld" = no; then
15120
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15121
 
        hardcode_libdir_separator_F77=:
15122
 
 
15123
 
        hardcode_direct_F77=yes
15124
 
        export_dynamic_flag_spec_F77='${wl}-E'
15125
 
 
15126
 
        # hardcode_minus_L: Not really in the search PATH,
15127
 
        # but as the default location of the library.
15128
 
        hardcode_minus_L_F77=yes
15129
 
      fi
15130
 
      ;;
15131
 
 
15132
 
    hpux11*)
15133
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15134
 
        case $host_cpu in
15135
 
        hppa*64*)
15136
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15137
 
          ;;
15138
 
        ia64*)
15139
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15140
 
          ;;
15141
 
        *)
15142
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15143
 
          ;;
15144
 
        esac
15145
 
      else
15146
 
        case $host_cpu in
15147
 
        hppa*64*)
15148
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15149
 
          ;;
15150
 
        ia64*)
15151
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15152
 
          ;;
15153
 
        *)
15154
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15155
 
          ;;
15156
 
        esac
15157
 
      fi
15158
 
      if test "$with_gnu_ld" = no; then
15159
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15160
 
        hardcode_libdir_separator_F77=:
15161
 
 
15162
 
        case $host_cpu in
15163
 
        hppa*64*|ia64*)
15164
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
15165
 
          hardcode_direct_F77=no
15166
 
          hardcode_shlibpath_var_F77=no
15167
 
          ;;
15168
 
        *)
15169
 
          hardcode_direct_F77=yes
15170
 
          export_dynamic_flag_spec_F77='${wl}-E'
15171
 
 
15172
 
          # hardcode_minus_L: Not really in the search PATH,
15173
 
          # but as the default location of the library.
15174
 
          hardcode_minus_L_F77=yes
15175
 
          ;;
15176
 
        esac
15177
 
      fi
15178
 
      ;;
15179
 
 
15180
 
    irix5* | irix6* | nonstopux*)
15181
 
      if test "$GCC" = yes; then
15182
 
        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'
15183
 
      else
15184
 
        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'
15185
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
15186
 
      fi
15187
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15188
 
      hardcode_libdir_separator_F77=:
15189
 
      link_all_deplibs_F77=yes
15190
 
      ;;
15191
 
 
15192
 
    netbsd* | netbsdelf*-gnu)
15193
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15194
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
15195
 
      else
15196
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
15197
 
      fi
15198
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15199
 
      hardcode_direct_F77=yes
15200
 
      hardcode_shlibpath_var_F77=no
15201
 
      ;;
15202
 
 
15203
 
    newsos6)
15204
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15205
 
      hardcode_direct_F77=yes
15206
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15207
 
      hardcode_libdir_separator_F77=:
15208
 
      hardcode_shlibpath_var_F77=no
15209
 
      ;;
15210
 
 
15211
 
    openbsd*)
15212
 
      hardcode_direct_F77=yes
15213
 
      hardcode_shlibpath_var_F77=no
15214
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15215
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15216
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15217
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15218
 
        export_dynamic_flag_spec_F77='${wl}-E'
15219
 
      else
15220
 
       case $host_os in
15221
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15222
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15223
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
15224
 
           ;;
15225
 
         *)
15226
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15227
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15228
 
           ;;
15229
 
       esac
15230
 
      fi
15231
 
      ;;
15232
 
 
15233
 
    os2*)
15234
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15235
 
      hardcode_minus_L_F77=yes
15236
 
      allow_undefined_flag_F77=unsupported
15237
 
      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'
15238
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15239
 
      ;;
15240
 
 
15241
 
    osf3*)
15242
 
      if test "$GCC" = yes; then
15243
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15244
 
        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'
15245
 
      else
15246
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15247
 
        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'
15248
 
      fi
15249
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15250
 
      hardcode_libdir_separator_F77=:
15251
 
      ;;
15252
 
 
15253
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
15254
 
      if test "$GCC" = yes; then
15255
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15256
 
        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'
15257
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15258
 
      else
15259
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15260
 
        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'
15261
 
        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~
15262
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
15263
 
 
15264
 
        # Both c and cxx compiler support -rpath directly
15265
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
15266
 
      fi
15267
 
      hardcode_libdir_separator_F77=:
15268
 
      ;;
15269
 
 
15270
 
    solaris*)
15271
 
      no_undefined_flag_F77=' -z text'
15272
 
      if test "$GCC" = yes; then
15273
 
        wlarc='${wl}'
15274
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15275
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15276
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15277
 
      else
15278
 
        wlarc=''
15279
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15280
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15281
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15282
 
      fi
15283
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15284
 
      hardcode_shlibpath_var_F77=no
15285
 
      case $host_os in
15286
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
15287
 
      *)
15288
 
        # The compiler driver will combine linker options so we
15289
 
        # cannot just pass the convience library names through
15290
 
        # without $wl, iff we do not link with $LD.
15291
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
15292
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
15293
 
        case $wlarc in
15294
 
        '')
15295
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
15296
 
        *)
15297
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
15298
 
        esac ;;
15299
 
      esac
15300
 
      link_all_deplibs_F77=yes
15301
 
      ;;
15302
 
 
15303
 
    sunos4*)
15304
 
      if test "x$host_vendor" = xsequent; then
15305
 
        # Use $CC to link under sequent, because it throws in some extra .o
15306
 
        # files that make .init and .fini sections work.
15307
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15308
 
      else
15309
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15310
 
      fi
15311
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15312
 
      hardcode_direct_F77=yes
15313
 
      hardcode_minus_L_F77=yes
15314
 
      hardcode_shlibpath_var_F77=no
15315
 
      ;;
15316
 
 
15317
 
    sysv4)
15318
 
      case $host_vendor in
15319
 
        sni)
15320
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15321
 
          hardcode_direct_F77=yes # is this really true???
15322
 
        ;;
15323
 
        siemens)
15324
 
          ## LD is ld it makes a PLAMLIB
15325
 
          ## CC just makes a GrossModule.
15326
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15327
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
15328
 
          hardcode_direct_F77=no
15329
 
        ;;
15330
 
        motorola)
15331
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15332
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
15333
 
        ;;
15334
 
      esac
15335
 
      runpath_var='LD_RUN_PATH'
15336
 
      hardcode_shlibpath_var_F77=no
15337
 
      ;;
15338
 
 
15339
 
    sysv4.3*)
15340
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15341
 
      hardcode_shlibpath_var_F77=no
15342
 
      export_dynamic_flag_spec_F77='-Bexport'
15343
 
      ;;
15344
 
 
15345
 
    sysv4*MP*)
15346
 
      if test -d /usr/nec; then
15347
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15348
 
        hardcode_shlibpath_var_F77=no
15349
 
        runpath_var=LD_RUN_PATH
15350
 
        hardcode_runpath_var=yes
15351
 
        ld_shlibs_F77=yes
15352
 
      fi
15353
 
      ;;
15354
 
 
15355
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
15356
 
      no_undefined_flag_F77='${wl}-z,text'
15357
 
      archive_cmds_need_lc_F77=no
15358
 
      hardcode_shlibpath_var_F77=no
15359
 
      runpath_var='LD_RUN_PATH'
15360
 
 
15361
 
      if test "$GCC" = yes; then
15362
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15363
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15364
 
      else
15365
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15366
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15367
 
      fi
15368
 
      ;;
15369
 
 
15370
 
    sysv5* | sco3.2v5* | sco5v6*)
15371
 
      # Note: We can NOT use -z defs as we might desire, because we do not
15372
 
      # link with -lc, and that would cause any symbols used from libc to
15373
 
      # always be unresolved, which means just about no library would
15374
 
      # ever link correctly.  If we're not using GNU ld we use -z text
15375
 
      # though, which does catch some bad symbols but isn't as heavy-handed
15376
 
      # as -z defs.
15377
 
      no_undefined_flag_F77='${wl}-z,text'
15378
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
15379
 
      archive_cmds_need_lc_F77=no
15380
 
      hardcode_shlibpath_var_F77=no
15381
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15382
 
      hardcode_libdir_separator_F77=':'
15383
 
      link_all_deplibs_F77=yes
15384
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
15385
 
      runpath_var='LD_RUN_PATH'
15386
 
 
15387
 
      if test "$GCC" = yes; then
15388
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15389
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15390
 
      else
15391
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15392
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15393
 
      fi
15394
 
      ;;
15395
 
 
15396
 
    uts4*)
15397
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15398
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15399
 
      hardcode_shlibpath_var_F77=no
15400
 
      ;;
15401
 
 
15402
 
    *)
15403
 
      ld_shlibs_F77=no
15404
 
      ;;
15405
 
    esac
15406
 
  fi
15407
 
 
15408
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15409
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15410
 
test "$ld_shlibs_F77" = no && can_build_shared=no
15411
 
 
15412
 
#
15413
 
# Do we need to explicitly link libc?
15414
 
#
15415
 
case "x$archive_cmds_need_lc_F77" in
15416
 
x|xyes)
15417
 
  # Assume -lc should be added
15418
 
  archive_cmds_need_lc_F77=yes
15419
 
 
15420
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
15421
 
    case $archive_cmds_F77 in
15422
 
    *'~'*)
15423
 
      # FIXME: we may have to deal with multi-command sequences.
15424
 
      ;;
15425
 
    '$CC '*)
15426
 
      # Test whether the compiler implicitly links with -lc since on some
15427
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15428
 
      # to ld, don't add -lc before -lgcc.
15429
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15430
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15431
 
      $rm conftest*
15432
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15433
 
 
15434
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15435
 
  (eval $ac_compile) 2>&5
15436
 
  ac_status=$?
15437
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15438
 
  (exit $ac_status); } 2>conftest.err; then
15439
 
        soname=conftest
15440
 
        lib=conftest
15441
 
        libobjs=conftest.$ac_objext
15442
 
        deplibs=
15443
 
        wl=$lt_prog_compiler_wl_F77
15444
 
        pic_flag=$lt_prog_compiler_pic_F77
15445
 
        compiler_flags=-v
15446
 
        linker_flags=-v
15447
 
        verstring=
15448
 
        output_objdir=.
15449
 
        libname=conftest
15450
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
15451
 
        allow_undefined_flag_F77=
15452
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15453
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15454
 
  ac_status=$?
15455
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456
 
  (exit $ac_status); }
15457
 
        then
15458
 
          archive_cmds_need_lc_F77=no
15459
 
        else
15460
 
          archive_cmds_need_lc_F77=yes
15461
 
        fi
15462
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
15463
 
      else
15464
 
        cat conftest.err 1>&5
15465
 
      fi
15466
 
      $rm conftest*
15467
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15468
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15469
 
      ;;
15470
 
    esac
15471
 
  fi
15472
 
  ;;
15473
 
esac
15474
 
 
15475
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15476
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15477
 
library_names_spec=
15478
 
libname_spec='lib$name'
15479
 
soname_spec=
15480
 
shrext_cmds=".so"
15481
 
postinstall_cmds=
15482
 
postuninstall_cmds=
15483
 
finish_cmds=
15484
 
finish_eval=
15485
 
shlibpath_var=
15486
 
shlibpath_overrides_runpath=unknown
15487
 
version_type=none
15488
 
dynamic_linker="$host_os ld.so"
15489
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15490
 
if test "$GCC" = yes; then
15491
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15492
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
15493
 
    # if the path contains ";" then we assume it to be the separator
15494
 
    # otherwise default to the standard path separator (i.e. ":") - it is
15495
 
    # assumed that no part of a normal pathname contains ";" but that should
15496
 
    # okay in the real world where ";" in dirpaths is itself problematic.
15497
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15498
 
  else
15499
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15500
 
  fi
15501
 
else
15502
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15503
 
fi
15504
 
need_lib_prefix=unknown
15505
 
hardcode_into_libs=no
15506
 
 
15507
 
# when you set need_version to no, make sure it does not cause -set_version
15508
 
# flags to be left without arguments
15509
 
need_version=unknown
15510
 
 
15511
 
case $host_os in
15512
 
aix3*)
15513
 
  version_type=linux
15514
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15515
 
  shlibpath_var=LIBPATH
15516
 
 
15517
 
  # AIX 3 has no versioning support, so we append a major version to the name.
15518
 
  soname_spec='${libname}${release}${shared_ext}$major'
15519
 
  ;;
15520
 
 
15521
 
aix4* | aix5*)
15522
 
  version_type=linux
15523
 
  need_lib_prefix=no
15524
 
  need_version=no
15525
 
  hardcode_into_libs=yes
15526
 
  if test "$host_cpu" = ia64; then
15527
 
    # AIX 5 supports IA64
15528
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15529
 
    shlibpath_var=LD_LIBRARY_PATH
15530
 
  else
15531
 
    # With GCC up to 2.95.x, collect2 would create an import file
15532
 
    # for dependence libraries.  The import file would start with
15533
 
    # the line `#! .'.  This would cause the generated library to
15534
 
    # depend on `.', always an invalid library.  This was fixed in
15535
 
    # development snapshots of GCC prior to 3.0.
15536
 
    case $host_os in
15537
 
      aix4 | aix4.[01] | aix4.[01].*)
15538
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15539
 
           echo ' yes '
15540
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15541
 
        :
15542
 
      else
15543
 
        can_build_shared=no
15544
 
      fi
15545
 
      ;;
15546
 
    esac
15547
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15548
 
    # soname into executable. Probably we can add versioning support to
15549
 
    # collect2, so additional links can be useful in future.
15550
 
    if test "$aix_use_runtimelinking" = yes; then
15551
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15552
 
      # instead of lib<name>.a to let people know that these are not
15553
 
      # typical AIX shared libraries.
15554
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15555
 
    else
15556
 
      # We preserve .a as extension for shared libraries through AIX4.2
15557
 
      # and later when we are not doing run time linking.
15558
 
      library_names_spec='${libname}${release}.a $libname.a'
15559
 
      soname_spec='${libname}${release}${shared_ext}$major'
15560
 
    fi
15561
 
    shlibpath_var=LIBPATH
15562
 
  fi
15563
 
  ;;
15564
 
 
15565
 
amigaos*)
15566
 
  library_names_spec='$libname.ixlibrary $libname.a'
15567
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
15568
 
  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'
15569
 
  ;;
15570
 
 
15571
 
beos*)
15572
 
  library_names_spec='${libname}${shared_ext}'
15573
 
  dynamic_linker="$host_os ld.so"
15574
 
  shlibpath_var=LIBRARY_PATH
15575
 
  ;;
15576
 
 
15577
 
bsdi[45]*)
15578
 
  version_type=linux
15579
 
  need_version=no
15580
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15581
 
  soname_spec='${libname}${release}${shared_ext}$major'
15582
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15583
 
  shlibpath_var=LD_LIBRARY_PATH
15584
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15585
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15586
 
  # the default ld.so.conf also contains /usr/contrib/lib and
15587
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15588
 
  # libtool to hard-code these into programs
15589
 
  ;;
15590
 
 
15591
 
cygwin* | mingw* | pw32*)
15592
 
  version_type=windows
15593
 
  shrext_cmds=".dll"
15594
 
  need_version=no
15595
 
  need_lib_prefix=no
15596
 
 
15597
 
  case $GCC,$host_os in
15598
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
15599
 
    library_names_spec='$libname.dll.a'
15600
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15601
 
    postinstall_cmds='base_file=`basename \${file}`~
15602
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15603
 
      dldir=$destdir/`dirname \$dlpath`~
15604
 
      test -d \$dldir || mkdir -p \$dldir~
15605
 
      $install_prog $dir/$dlname \$dldir/$dlname~
15606
 
      chmod a+x \$dldir/$dlname'
15607
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15608
 
      dlpath=$dir/\$dldll~
15609
 
       $rm \$dlpath'
15610
 
    shlibpath_overrides_runpath=yes
15611
 
 
15612
 
    case $host_os in
15613
 
    cygwin*)
15614
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15615
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15616
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15617
 
      ;;
15618
 
    mingw*)
15619
 
      # MinGW DLLs use traditional 'lib' prefix
15620
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15621
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15622
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15623
 
        # It is most probably a Windows format PATH printed by
15624
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
15625
 
        # path with ; separators, and with drive letters. We can handle the
15626
 
        # drive letters (cygwin fileutils understands them), so leave them,
15627
 
        # especially as we might pass files found there to a mingw objdump,
15628
 
        # which wouldn't understand a cygwinified path. Ahh.
15629
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15630
 
      else
15631
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15632
 
      fi
15633
 
      ;;
15634
 
    pw32*)
15635
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
15636
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15637
 
      ;;
15638
 
    esac
15639
 
    ;;
15640
 
 
15641
 
  *)
15642
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15643
 
    ;;
15644
 
  esac
15645
 
  dynamic_linker='Win32 ld.exe'
15646
 
  # FIXME: first we should search . and the directory the executable is in
15647
 
  shlibpath_var=PATH
15648
 
  ;;
15649
 
 
15650
 
darwin* | rhapsody*)
15651
 
  dynamic_linker="$host_os dyld"
15652
 
  version_type=darwin
15653
 
  need_lib_prefix=no
15654
 
  need_version=no
15655
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15656
 
  soname_spec='${libname}${release}${major}$shared_ext'
15657
 
  shlibpath_overrides_runpath=yes
15658
 
  shlibpath_var=DYLD_LIBRARY_PATH
15659
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15660
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15661
 
  if test "$GCC" = yes; then
15662
 
    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"`
15663
 
  else
15664
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15665
 
  fi
15666
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15667
 
  ;;
15668
 
 
15669
 
dgux*)
15670
 
  version_type=linux
15671
 
  need_lib_prefix=no
15672
 
  need_version=no
15673
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15674
 
  soname_spec='${libname}${release}${shared_ext}$major'
15675
 
  shlibpath_var=LD_LIBRARY_PATH
15676
 
  ;;
15677
 
 
15678
 
freebsd1*)
15679
 
  dynamic_linker=no
15680
 
  ;;
15681
 
 
15682
 
freebsd* | dragonfly*)
15683
 
  # DragonFly does not have aout.  When/if they implement a new
15684
 
  # versioning mechanism, adjust this.
15685
 
  if test -x /usr/bin/objformat; then
15686
 
    objformat=`/usr/bin/objformat`
15687
 
  else
15688
 
    case $host_os in
15689
 
    freebsd[123]*) objformat=aout ;;
15690
 
    *) objformat=elf ;;
15691
 
    esac
15692
 
  fi
15693
 
  version_type=freebsd-$objformat
15694
 
  case $version_type in
15695
 
    freebsd-elf*)
15696
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15697
 
      need_version=no
15698
 
      need_lib_prefix=no
15699
 
      ;;
15700
 
    freebsd-*)
15701
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15702
 
      need_version=yes
15703
 
      ;;
15704
 
  esac
15705
 
  shlibpath_var=LD_LIBRARY_PATH
15706
 
  case $host_os in
15707
 
  freebsd2*)
15708
 
    shlibpath_overrides_runpath=yes
15709
 
    ;;
15710
 
  freebsd3.[01]* | freebsdelf3.[01]*)
15711
 
    shlibpath_overrides_runpath=yes
15712
 
    hardcode_into_libs=yes
15713
 
    ;;
15714
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15715
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15716
 
    shlibpath_overrides_runpath=no
15717
 
    hardcode_into_libs=yes
15718
 
    ;;
15719
 
  freebsd*) # from 4.6 on
15720
 
    shlibpath_overrides_runpath=yes
15721
 
    hardcode_into_libs=yes
15722
 
    ;;
15723
 
  esac
15724
 
  ;;
15725
 
 
15726
 
gnu*)
15727
 
  version_type=linux
15728
 
  need_lib_prefix=no
15729
 
  need_version=no
15730
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15731
 
  soname_spec='${libname}${release}${shared_ext}$major'
15732
 
  shlibpath_var=LD_LIBRARY_PATH
15733
 
  hardcode_into_libs=yes
15734
 
  ;;
15735
 
 
15736
 
hpux9* | hpux10* | hpux11*)
15737
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
15738
 
  # link against other versions.
15739
 
  version_type=sunos
15740
 
  need_lib_prefix=no
15741
 
  need_version=no
15742
 
  case $host_cpu in
15743
 
  ia64*)
15744
 
    shrext_cmds='.so'
15745
 
    hardcode_into_libs=yes
15746
 
    dynamic_linker="$host_os dld.so"
15747
 
    shlibpath_var=LD_LIBRARY_PATH
15748
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15749
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15750
 
    soname_spec='${libname}${release}${shared_ext}$major'
15751
 
    if test "X$HPUX_IA64_MODE" = X32; then
15752
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15753
 
    else
15754
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15755
 
    fi
15756
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15757
 
    ;;
15758
 
   hppa*64*)
15759
 
     shrext_cmds='.sl'
15760
 
     hardcode_into_libs=yes
15761
 
     dynamic_linker="$host_os dld.sl"
15762
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15763
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15764
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15765
 
     soname_spec='${libname}${release}${shared_ext}$major'
15766
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15767
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15768
 
     ;;
15769
 
   *)
15770
 
    shrext_cmds='.sl'
15771
 
    dynamic_linker="$host_os dld.sl"
15772
 
    shlibpath_var=SHLIB_PATH
15773
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15774
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15775
 
    soname_spec='${libname}${release}${shared_ext}$major'
15776
 
    ;;
15777
 
  esac
15778
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
15779
 
  postinstall_cmds='chmod 555 $lib'
15780
 
  ;;
15781
 
 
15782
 
interix3*)
15783
 
  version_type=linux
15784
 
  need_lib_prefix=no
15785
 
  need_version=no
15786
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15787
 
  soname_spec='${libname}${release}${shared_ext}$major'
15788
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15789
 
  shlibpath_var=LD_LIBRARY_PATH
15790
 
  shlibpath_overrides_runpath=no
15791
 
  hardcode_into_libs=yes
15792
 
  ;;
15793
 
 
15794
 
irix5* | irix6* | nonstopux*)
15795
 
  case $host_os in
15796
 
    nonstopux*) version_type=nonstopux ;;
15797
 
    *)
15798
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
15799
 
                version_type=linux
15800
 
        else
15801
 
                version_type=irix
15802
 
        fi ;;
15803
 
  esac
15804
 
  need_lib_prefix=no
15805
 
  need_version=no
15806
 
  soname_spec='${libname}${release}${shared_ext}$major'
15807
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15808
 
  case $host_os in
15809
 
  irix5* | nonstopux*)
15810
 
    libsuff= shlibsuff=
15811
 
    ;;
15812
 
  *)
15813
 
    case $LD in # libtool.m4 will add one of these switches to LD
15814
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15815
 
      libsuff= shlibsuff= libmagic=32-bit;;
15816
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15817
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
15818
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15819
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15820
 
    *) libsuff= shlibsuff= libmagic=never-match;;
15821
 
    esac
15822
 
    ;;
15823
 
  esac
15824
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15825
 
  shlibpath_overrides_runpath=no
15826
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15827
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15828
 
  hardcode_into_libs=yes
15829
 
  ;;
15830
 
 
15831
 
# No shared lib support for Linux oldld, aout, or coff.
15832
 
linux*oldld* | linux*aout* | linux*coff*)
15833
 
  dynamic_linker=no
15834
 
  ;;
15835
 
 
15836
 
# This must be Linux ELF.
15837
 
linux* | k*bsd*-gnu)
15838
 
  version_type=linux
15839
 
  need_lib_prefix=no
15840
 
  need_version=no
15841
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15842
 
  soname_spec='${libname}${release}${shared_ext}$major'
15843
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15844
 
  shlibpath_var=LD_LIBRARY_PATH
15845
 
  shlibpath_overrides_runpath=no
15846
 
  # This implies no fast_install, which is unacceptable.
15847
 
  # Some rework will be needed to allow for fast_install
15848
 
  # before this can be enabled.
15849
 
  hardcode_into_libs=yes
15850
 
 
15851
 
  # Append ld.so.conf contents to the search path
15852
 
  if test -f /etc/ld.so.conf; then
15853
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15854
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15855
 
  fi
15856
 
 
15857
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
15858
 
  # powerpc, because MkLinux only supported shared libraries with the
15859
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
15860
 
  # most powerpc-linux boxes support dynamic linking these days and
15861
 
  # people can always --disable-shared, the test was removed, and we
15862
 
  # assume the GNU/Linux dynamic linker is in use.
15863
 
  dynamic_linker='GNU/Linux ld.so'
15864
 
  ;;
15865
 
 
15866
 
netbsdelf*-gnu)
15867
 
  version_type=linux
15868
 
  need_lib_prefix=no
15869
 
  need_version=no
15870
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15871
 
  soname_spec='${libname}${release}${shared_ext}$major'
15872
 
  shlibpath_var=LD_LIBRARY_PATH
15873
 
  shlibpath_overrides_runpath=no
15874
 
  hardcode_into_libs=yes
15875
 
  dynamic_linker='NetBSD ld.elf_so'
15876
 
  ;;
15877
 
 
15878
 
netbsd*)
15879
 
  version_type=sunos
15880
 
  need_lib_prefix=no
15881
 
  need_version=no
15882
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15883
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15884
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15885
 
    dynamic_linker='NetBSD (a.out) ld.so'
15886
 
  else
15887
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15888
 
    soname_spec='${libname}${release}${shared_ext}$major'
15889
 
    dynamic_linker='NetBSD ld.elf_so'
15890
 
  fi
15891
 
  shlibpath_var=LD_LIBRARY_PATH
15892
 
  shlibpath_overrides_runpath=yes
15893
 
  hardcode_into_libs=yes
15894
 
  ;;
15895
 
 
15896
 
newsos6)
15897
 
  version_type=linux
15898
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15899
 
  shlibpath_var=LD_LIBRARY_PATH
15900
 
  shlibpath_overrides_runpath=yes
15901
 
  ;;
15902
 
 
15903
 
nto-qnx*)
15904
 
  version_type=linux
15905
 
  need_lib_prefix=no
15906
 
  need_version=no
15907
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15908
 
  soname_spec='${libname}${release}${shared_ext}$major'
15909
 
  shlibpath_var=LD_LIBRARY_PATH
15910
 
  shlibpath_overrides_runpath=yes
15911
 
  ;;
15912
 
 
15913
 
openbsd*)
15914
 
  version_type=sunos
15915
 
  sys_lib_dlsearch_path_spec="/usr/lib"
15916
 
  need_lib_prefix=no
15917
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15918
 
  case $host_os in
15919
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15920
 
    *)                         need_version=no  ;;
15921
 
  esac
15922
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15923
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15924
 
  shlibpath_var=LD_LIBRARY_PATH
15925
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15926
 
    case $host_os in
15927
 
      openbsd2.[89] | openbsd2.[89].*)
15928
 
        shlibpath_overrides_runpath=no
15929
 
        ;;
15930
 
      *)
15931
 
        shlibpath_overrides_runpath=yes
15932
 
        ;;
15933
 
      esac
15934
 
  else
15935
 
    shlibpath_overrides_runpath=yes
15936
 
  fi
15937
 
  ;;
15938
 
 
15939
 
os2*)
15940
 
  libname_spec='$name'
15941
 
  shrext_cmds=".dll"
15942
 
  need_lib_prefix=no
15943
 
  library_names_spec='$libname${shared_ext} $libname.a'
15944
 
  dynamic_linker='OS/2 ld.exe'
15945
 
  shlibpath_var=LIBPATH
15946
 
  ;;
15947
 
 
15948
 
osf3* | osf4* | osf5*)
15949
 
  version_type=osf
15950
 
  need_lib_prefix=no
15951
 
  need_version=no
15952
 
  soname_spec='${libname}${release}${shared_ext}$major'
15953
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15954
 
  shlibpath_var=LD_LIBRARY_PATH
15955
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15956
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15957
 
  ;;
15958
 
 
15959
 
solaris*)
15960
 
  version_type=linux
15961
 
  need_lib_prefix=no
15962
 
  need_version=no
15963
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15964
 
  soname_spec='${libname}${release}${shared_ext}$major'
15965
 
  shlibpath_var=LD_LIBRARY_PATH
15966
 
  shlibpath_overrides_runpath=yes
15967
 
  hardcode_into_libs=yes
15968
 
  # ldd complains unless libraries are executable
15969
 
  postinstall_cmds='chmod +x $lib'
15970
 
  ;;
15971
 
 
15972
 
sunos4*)
15973
 
  version_type=sunos
15974
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15975
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15976
 
  shlibpath_var=LD_LIBRARY_PATH
15977
 
  shlibpath_overrides_runpath=yes
15978
 
  if test "$with_gnu_ld" = yes; then
15979
 
    need_lib_prefix=no
15980
 
  fi
15981
 
  need_version=yes
15982
 
  ;;
15983
 
 
15984
 
sysv4 | sysv4.3*)
15985
 
  version_type=linux
15986
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15987
 
  soname_spec='${libname}${release}${shared_ext}$major'
15988
 
  shlibpath_var=LD_LIBRARY_PATH
15989
 
  case $host_vendor in
15990
 
    sni)
15991
 
      shlibpath_overrides_runpath=no
15992
 
      need_lib_prefix=no
15993
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
15994
 
      runpath_var=LD_RUN_PATH
15995
 
      ;;
15996
 
    siemens)
15997
 
      need_lib_prefix=no
15998
 
      ;;
15999
 
    motorola)
16000
 
      need_lib_prefix=no
16001
 
      need_version=no
16002
 
      shlibpath_overrides_runpath=no
16003
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16004
 
      ;;
16005
 
  esac
16006
 
  ;;
16007
 
 
16008
 
sysv4*MP*)
16009
 
  if test -d /usr/nec ;then
16010
 
    version_type=linux
16011
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16012
 
    soname_spec='$libname${shared_ext}.$major'
16013
 
    shlibpath_var=LD_LIBRARY_PATH
16014
 
  fi
16015
 
  ;;
16016
 
 
16017
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16018
 
  version_type=freebsd-elf
16019
 
  need_lib_prefix=no
16020
 
  need_version=no
16021
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16022
 
  soname_spec='${libname}${release}${shared_ext}$major'
16023
 
  shlibpath_var=LD_LIBRARY_PATH
16024
 
  hardcode_into_libs=yes
16025
 
  if test "$with_gnu_ld" = yes; then
16026
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16027
 
    shlibpath_overrides_runpath=no
16028
 
  else
16029
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16030
 
    shlibpath_overrides_runpath=yes
16031
 
    case $host_os in
16032
 
      sco3.2v5*)
16033
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16034
 
        ;;
16035
 
    esac
16036
 
  fi
16037
 
  sys_lib_dlsearch_path_spec='/usr/lib'
16038
 
  ;;
16039
 
 
16040
 
uts4*)
16041
 
  version_type=linux
16042
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16043
 
  soname_spec='${libname}${release}${shared_ext}$major'
16044
 
  shlibpath_var=LD_LIBRARY_PATH
16045
 
  ;;
16046
 
 
16047
 
*)
16048
 
  dynamic_linker=no
16049
 
  ;;
16050
 
esac
16051
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16052
 
echo "${ECHO_T}$dynamic_linker" >&6; }
16053
 
test "$dynamic_linker" = no && can_build_shared=no
16054
 
 
16055
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16056
 
if test "$GCC" = yes; then
16057
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16058
 
fi
16059
 
 
16060
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16061
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16062
 
hardcode_action_F77=
16063
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
16064
 
   test -n "$runpath_var_F77" || \
16065
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
16066
 
 
16067
 
  # We can hardcode non-existant directories.
16068
 
  if test "$hardcode_direct_F77" != no &&
16069
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
16070
 
     # have to relink, otherwise we might link with an installed library
16071
 
     # when we should be linking with a yet-to-be-installed one
16072
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16073
 
     test "$hardcode_minus_L_F77" != no; then
16074
 
    # Linking always hardcodes the temporary library directory.
16075
 
    hardcode_action_F77=relink
16076
 
  else
16077
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
16078
 
    hardcode_action_F77=immediate
16079
 
  fi
16080
 
else
16081
 
  # We cannot hardcode anything, or else we can only hardcode existing
16082
 
  # directories.
16083
 
  hardcode_action_F77=unsupported
16084
 
fi
16085
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16086
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
16087
 
 
16088
 
if test "$hardcode_action_F77" = relink; then
16089
 
  # Fast installation is not supported
16090
 
  enable_fast_install=no
16091
 
elif test "$shlibpath_overrides_runpath" = yes ||
16092
 
     test "$enable_shared" = no; then
16093
 
  # Fast installation is not necessary
16094
 
  enable_fast_install=needless
16095
 
fi
16096
 
 
16097
 
 
16098
 
# The else clause should only fire when bootstrapping the
16099
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
16100
 
# with your package, and you will get complaints that there are
16101
 
# no rules to generate ltmain.sh.
16102
 
if test -f "$ltmain"; then
16103
 
  # See if we are running on zsh, and set the options which allow our commands through
16104
 
  # without removal of \ escapes.
16105
 
  if test -n "${ZSH_VERSION+set}" ; then
16106
 
    setopt NO_GLOB_SUBST
16107
 
  fi
16108
 
  # Now quote all the things that may contain metacharacters while being
16109
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
16110
 
  # variables and quote the copies for generation of the libtool script.
16111
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16112
 
    SED SHELL STRIP \
16113
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16114
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16115
 
    deplibs_check_method reload_flag reload_cmds need_locks \
16116
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16117
 
    lt_cv_sys_global_symbol_to_c_name_address \
16118
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16119
 
    old_postinstall_cmds old_postuninstall_cmds \
16120
 
    compiler_F77 \
16121
 
    CC_F77 \
16122
 
    LD_F77 \
16123
 
    lt_prog_compiler_wl_F77 \
16124
 
    lt_prog_compiler_pic_F77 \
16125
 
    lt_prog_compiler_static_F77 \
16126
 
    lt_prog_compiler_no_builtin_flag_F77 \
16127
 
    export_dynamic_flag_spec_F77 \
16128
 
    thread_safe_flag_spec_F77 \
16129
 
    whole_archive_flag_spec_F77 \
16130
 
    enable_shared_with_static_runtimes_F77 \
16131
 
    old_archive_cmds_F77 \
16132
 
    old_archive_from_new_cmds_F77 \
16133
 
    predep_objects_F77 \
16134
 
    postdep_objects_F77 \
16135
 
    predeps_F77 \
16136
 
    postdeps_F77 \
16137
 
    compiler_lib_search_path_F77 \
16138
 
    archive_cmds_F77 \
16139
 
    archive_expsym_cmds_F77 \
16140
 
    postinstall_cmds_F77 \
16141
 
    postuninstall_cmds_F77 \
16142
 
    old_archive_from_expsyms_cmds_F77 \
16143
 
    allow_undefined_flag_F77 \
16144
 
    no_undefined_flag_F77 \
16145
 
    export_symbols_cmds_F77 \
16146
 
    hardcode_libdir_flag_spec_F77 \
16147
 
    hardcode_libdir_flag_spec_ld_F77 \
16148
 
    hardcode_libdir_separator_F77 \
16149
 
    hardcode_automatic_F77 \
16150
 
    module_cmds_F77 \
16151
 
    module_expsym_cmds_F77 \
16152
 
    lt_cv_prog_compiler_c_o_F77 \
16153
 
    exclude_expsyms_F77 \
16154
 
    include_expsyms_F77; do
16155
 
 
16156
 
    case $var in
16157
 
    old_archive_cmds_F77 | \
16158
 
    old_archive_from_new_cmds_F77 | \
16159
 
    archive_cmds_F77 | \
16160
 
    archive_expsym_cmds_F77 | \
16161
 
    module_cmds_F77 | \
16162
 
    module_expsym_cmds_F77 | \
16163
 
    old_archive_from_expsyms_cmds_F77 | \
16164
 
    export_symbols_cmds_F77 | \
16165
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
16166
 
    postinstall_cmds | postuninstall_cmds | \
16167
 
    old_postinstall_cmds | old_postuninstall_cmds | \
16168
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16169
 
      # Double-quote double-evaled strings.
16170
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16171
 
      ;;
16172
 
    *)
16173
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16174
 
      ;;
16175
 
    esac
16176
 
  done
16177
 
 
16178
 
  case $lt_echo in
16179
 
  *'\$0 --fallback-echo"')
16180
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16181
 
    ;;
16182
 
  esac
16183
 
 
16184
 
cfgfile="$ofile"
16185
 
 
16186
 
  cat <<__EOF__ >> "$cfgfile"
16187
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16188
 
 
16189
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16190
 
 
16191
 
# Shell to use when invoking shell scripts.
16192
 
SHELL=$lt_SHELL
16193
 
 
16194
 
# Whether or not to build shared libraries.
16195
 
build_libtool_libs=$enable_shared
16196
 
 
16197
 
# Whether or not to build static libraries.
16198
 
build_old_libs=$enable_static
16199
 
 
16200
 
# Whether or not to add -lc for building shared libraries.
16201
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
16202
 
 
16203
 
# Whether or not to disallow shared libs when runtime libs are static
16204
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16205
 
 
16206
 
# Whether or not to optimize for fast installation.
16207
 
fast_install=$enable_fast_install
16208
 
 
16209
 
# The host system.
16210
 
host_alias=$host_alias
16211
 
host=$host
16212
 
host_os=$host_os
16213
 
 
16214
 
# The build system.
16215
 
build_alias=$build_alias
16216
 
build=$build
16217
 
build_os=$build_os
16218
 
 
16219
 
# An echo program that does not interpret backslashes.
16220
 
echo=$lt_echo
16221
 
 
16222
 
# The archiver.
16223
 
AR=$lt_AR
16224
 
AR_FLAGS=$lt_AR_FLAGS
16225
 
 
16226
 
# A C compiler.
16227
 
LTCC=$lt_LTCC
16228
 
 
16229
 
# LTCC compiler flags.
16230
 
LTCFLAGS=$lt_LTCFLAGS
16231
 
 
16232
 
# A language-specific compiler.
16233
 
CC=$lt_compiler_F77
16234
 
 
16235
 
# Is the compiler the GNU C compiler?
16236
 
with_gcc=$GCC_F77
16237
 
 
16238
 
# An ERE matcher.
16239
 
EGREP=$lt_EGREP
16240
 
 
16241
 
# The linker used to build libraries.
16242
 
LD=$lt_LD_F77
16243
 
 
16244
 
# Whether we need hard or soft links.
16245
 
LN_S=$lt_LN_S
16246
 
 
16247
 
# A BSD-compatible nm program.
16248
 
NM=$lt_NM
16249
 
 
16250
 
# A symbol stripping program
16251
 
STRIP=$lt_STRIP
16252
 
 
16253
 
# Used to examine libraries when file_magic_cmd begins "file"
16254
 
MAGIC_CMD=$MAGIC_CMD
16255
 
 
16256
 
# Used on cygwin: DLL creation program.
16257
 
DLLTOOL="$DLLTOOL"
16258
 
 
16259
 
# Used on cygwin: object dumper.
16260
 
OBJDUMP="$OBJDUMP"
16261
 
 
16262
 
# Used on cygwin: assembler.
16263
 
AS="$AS"
16264
 
 
16265
 
# The name of the directory that contains temporary libtool files.
16266
 
objdir=$objdir
16267
 
 
16268
 
# How to create reloadable object files.
16269
 
reload_flag=$lt_reload_flag
16270
 
reload_cmds=$lt_reload_cmds
16271
 
 
16272
 
# How to pass a linker flag through the compiler.
16273
 
wl=$lt_lt_prog_compiler_wl_F77
16274
 
 
16275
 
# Object file suffix (normally "o").
16276
 
objext="$ac_objext"
16277
 
 
16278
 
# Old archive suffix (normally "a").
16279
 
libext="$libext"
16280
 
 
16281
 
# Shared library suffix (normally ".so").
16282
 
shrext_cmds='$shrext_cmds'
16283
 
 
16284
 
# Executable file suffix (normally "").
16285
 
exeext="$exeext"
16286
 
 
16287
 
# Additional compiler flags for building library objects.
16288
 
pic_flag=$lt_lt_prog_compiler_pic_F77
16289
 
pic_mode=$pic_mode
16290
 
 
16291
 
# What is the maximum length of a command?
16292
 
max_cmd_len=$lt_cv_sys_max_cmd_len
16293
 
 
16294
 
# Does compiler simultaneously support -c and -o options?
16295
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16296
 
 
16297
 
# Must we lock files when doing compilation?
16298
 
need_locks=$lt_need_locks
16299
 
 
16300
 
# Do we need the lib prefix for modules?
16301
 
need_lib_prefix=$need_lib_prefix
16302
 
 
16303
 
# Do we need a version for libraries?
16304
 
need_version=$need_version
16305
 
 
16306
 
# Whether dlopen is supported.
16307
 
dlopen_support=$enable_dlopen
16308
 
 
16309
 
# Whether dlopen of programs is supported.
16310
 
dlopen_self=$enable_dlopen_self
16311
 
 
16312
 
# Whether dlopen of statically linked programs is supported.
16313
 
dlopen_self_static=$enable_dlopen_self_static
16314
 
 
16315
 
# Compiler flag to prevent dynamic linking.
16316
 
link_static_flag=$lt_lt_prog_compiler_static_F77
16317
 
 
16318
 
# Compiler flag to turn off builtin functions.
16319
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16320
 
 
16321
 
# Compiler flag to allow reflexive dlopens.
16322
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16323
 
 
16324
 
# Compiler flag to generate shared objects directly from archives.
16325
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16326
 
 
16327
 
# Compiler flag to generate thread-safe objects.
16328
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16329
 
 
16330
 
# Library versioning type.
16331
 
version_type=$version_type
16332
 
 
16333
 
# Format of library name prefix.
16334
 
libname_spec=$lt_libname_spec
16335
 
 
16336
 
# List of archive names.  First name is the real one, the rest are links.
16337
 
# The last name is the one that the linker finds with -lNAME.
16338
 
library_names_spec=$lt_library_names_spec
16339
 
 
16340
 
# The coded name of the library, if different from the real name.
16341
 
soname_spec=$lt_soname_spec
16342
 
 
16343
 
# Commands used to build and install an old-style archive.
16344
 
RANLIB=$lt_RANLIB
16345
 
old_archive_cmds=$lt_old_archive_cmds_F77
16346
 
old_postinstall_cmds=$lt_old_postinstall_cmds
16347
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16348
 
 
16349
 
# Create an old-style archive from a shared archive.
16350
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16351
 
 
16352
 
# Create a temporary old-style archive to link instead of a shared archive.
16353
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16354
 
 
16355
 
# Commands used to build and install a shared archive.
16356
 
archive_cmds=$lt_archive_cmds_F77
16357
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16358
 
postinstall_cmds=$lt_postinstall_cmds
16359
 
postuninstall_cmds=$lt_postuninstall_cmds
16360
 
 
16361
 
# Commands used to build a loadable module (assumed same as above if empty)
16362
 
module_cmds=$lt_module_cmds_F77
16363
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
16364
 
 
16365
 
# Commands to strip libraries.
16366
 
old_striplib=$lt_old_striplib
16367
 
striplib=$lt_striplib
16368
 
 
16369
 
# Dependencies to place before the objects being linked to create a
16370
 
# shared library.
16371
 
predep_objects=$lt_predep_objects_F77
16372
 
 
16373
 
# Dependencies to place after the objects being linked to create a
16374
 
# shared library.
16375
 
postdep_objects=$lt_postdep_objects_F77
16376
 
 
16377
 
# Dependencies to place before the objects being linked to create a
16378
 
# shared library.
16379
 
predeps=$lt_predeps_F77
16380
 
 
16381
 
# Dependencies to place after the objects being linked to create a
16382
 
# shared library.
16383
 
postdeps=$lt_postdeps_F77
16384
 
 
16385
 
# The library search path used internally by the compiler when linking
16386
 
# a shared library.
16387
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16388
 
 
16389
 
# Method to check whether dependent libraries are shared objects.
16390
 
deplibs_check_method=$lt_deplibs_check_method
16391
 
 
16392
 
# Command to use when deplibs_check_method == file_magic.
16393
 
file_magic_cmd=$lt_file_magic_cmd
16394
 
 
16395
 
# Flag that allows shared libraries with undefined symbols to be built.
16396
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
16397
 
 
16398
 
# Flag that forces no undefined symbols.
16399
 
no_undefined_flag=$lt_no_undefined_flag_F77
16400
 
 
16401
 
# Commands used to finish a libtool library installation in a directory.
16402
 
finish_cmds=$lt_finish_cmds
16403
 
 
16404
 
# Same as above, but a single script fragment to be evaled but not shown.
16405
 
finish_eval=$lt_finish_eval
16406
 
 
16407
 
# Take the output of nm and produce a listing of raw symbols and C names.
16408
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16409
 
 
16410
 
# Transform the output of nm in a proper C declaration
16411
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16412
 
 
16413
 
# Transform the output of nm in a C name address pair
16414
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16415
 
 
16416
 
# This is the shared library runtime path variable.
16417
 
runpath_var=$runpath_var
16418
 
 
16419
 
# This is the shared library path variable.
16420
 
shlibpath_var=$shlibpath_var
16421
 
 
16422
 
# Is shlibpath searched before the hard-coded library search path?
16423
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16424
 
 
16425
 
# How to hardcode a shared library path into an executable.
16426
 
hardcode_action=$hardcode_action_F77
16427
 
 
16428
 
# Whether we should hardcode library paths into libraries.
16429
 
hardcode_into_libs=$hardcode_into_libs
16430
 
 
16431
 
# Flag to hardcode \$libdir into a binary during linking.
16432
 
# This must work even if \$libdir does not exist.
16433
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16434
 
 
16435
 
# If ld is used when linking, flag to hardcode \$libdir into
16436
 
# a binary during linking. This must work even if \$libdir does
16437
 
# not exist.
16438
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16439
 
 
16440
 
# Whether we need a single -rpath flag with a separated argument.
16441
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16442
 
 
16443
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16444
 
# resulting binary.
16445
 
hardcode_direct=$hardcode_direct_F77
16446
 
 
16447
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16448
 
# resulting binary.
16449
 
hardcode_minus_L=$hardcode_minus_L_F77
16450
 
 
16451
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16452
 
# the resulting binary.
16453
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16454
 
 
16455
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
16456
 
# and all subsequent libraries and executables linked against it.
16457
 
hardcode_automatic=$hardcode_automatic_F77
16458
 
 
16459
 
# Variables whose values should be saved in libtool wrapper scripts and
16460
 
# restored at relink time.
16461
 
variables_saved_for_relink="$variables_saved_for_relink"
16462
 
 
16463
 
# Whether libtool must link a program against all its dependency libraries.
16464
 
link_all_deplibs=$link_all_deplibs_F77
16465
 
 
16466
 
# Compile-time system search path for libraries
16467
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16468
 
 
16469
 
# Run-time system search path for libraries
16470
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16471
 
 
16472
 
# Fix the shell variable \$srcfile for the compiler.
16473
 
fix_srcfile_path="$fix_srcfile_path_F77"
16474
 
 
16475
 
# Set to yes if exported symbols are required.
16476
 
always_export_symbols=$always_export_symbols_F77
16477
 
 
16478
 
# The commands to list exported symbols.
16479
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
16480
 
 
16481
 
# The commands to extract the exported symbol list from a shared archive.
16482
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16483
 
 
16484
 
# Symbols that should not be listed in the preloaded symbols.
16485
 
exclude_expsyms=$lt_exclude_expsyms_F77
16486
 
 
16487
 
# Symbols that must always be exported.
16488
 
include_expsyms=$lt_include_expsyms_F77
16489
 
 
16490
 
# ### END LIBTOOL TAG CONFIG: $tagname
16491
 
 
16492
 
__EOF__
16493
 
 
16494
 
 
16495
 
else
16496
 
  # If there is no Makefile yet, we rely on a make rule to execute
16497
 
  # `config.status --recheck' to rerun these tests and create the
16498
 
  # libtool script then.
16499
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16500
 
  if test -f "$ltmain_in"; then
16501
 
    test -f Makefile && make "$ltmain"
16502
 
  fi
16503
 
fi
16504
 
 
16505
 
 
16506
 
ac_ext=c
16507
 
ac_cpp='$CPP $CPPFLAGS'
16508
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16509
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16510
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16511
 
 
16512
 
CC="$lt_save_CC"
16513
 
 
16514
 
        else
16515
 
          tagname=""
16516
 
        fi
16517
 
        ;;
16518
 
 
16519
 
      GCJ)
16520
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16521
 
 
16522
 
 
16523
 
# Source file extension for Java test sources.
16524
 
ac_ext=java
16525
 
 
16526
 
# Object file extension for compiled Java test sources.
16527
 
objext=o
16528
 
objext_GCJ=$objext
16529
 
 
16530
 
# Code to be used in simple compile tests
16531
 
lt_simple_compile_test_code="class foo {}\n"
16532
 
 
16533
 
# Code to be used in simple link tests
16534
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
16535
 
 
16536
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16537
 
 
16538
 
# If no C compiler was specified, use CC.
16539
 
LTCC=${LTCC-"$CC"}
16540
 
 
16541
 
# If no C compiler flags were specified, use CFLAGS.
16542
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16543
 
 
16544
 
# Allow CC to be a program name with arguments.
16545
 
compiler=$CC
16546
 
 
16547
 
 
16548
 
# save warnings/boilerplate of simple test code
16549
 
ac_outfile=conftest.$ac_objext
16550
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
16551
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16552
 
_lt_compiler_boilerplate=`cat conftest.err`
16553
 
$rm conftest*
16554
 
 
16555
 
ac_outfile=conftest.$ac_objext
16556
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
16557
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16558
 
_lt_linker_boilerplate=`cat conftest.err`
16559
 
$rm conftest*
16560
 
 
16561
 
 
16562
 
# Allow CC to be a program name with arguments.
16563
 
lt_save_CC="$CC"
16564
 
CC=${GCJ-"gcj"}
16565
 
compiler=$CC
16566
 
compiler_GCJ=$CC
16567
 
for cc_temp in $compiler""; do
16568
 
  case $cc_temp in
16569
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16570
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16571
 
    \-*) ;;
16572
 
    *) break;;
16573
 
  esac
16574
 
done
16575
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16576
 
 
16577
 
 
16578
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
16579
 
archive_cmds_need_lc_GCJ=no
16580
 
 
16581
 
old_archive_cmds_GCJ=$old_archive_cmds
16582
 
 
16583
 
## CAVEAT EMPTOR:
16584
 
## There is no encapsulation within the following macros, do not change
16585
 
## the running order or otherwise move them around unless you know exactly
16586
 
## what you are doing...
16587
 
 
16588
 
lt_prog_compiler_no_builtin_flag_GCJ=
16589
 
 
16590
 
if test "$GCC" = yes; then
16591
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
16592
 
 
16593
 
 
16594
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16595
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16596
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16597
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16598
 
else
16599
 
  lt_cv_prog_compiler_rtti_exceptions=no
16600
 
  ac_outfile=conftest.$ac_objext
16601
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16602
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
16603
 
   # Insert the option either (1) after the last *FLAGS variable, or
16604
 
   # (2) before a word containing "conftest.", or (3) at the end.
16605
 
   # Note that $ac_compile itself does not contain backslashes and begins
16606
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16607
 
   # The option is referenced via a variable to avoid confusing sed.
16608
 
   lt_compile=`echo "$ac_compile" | $SED \
16609
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16610
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16611
 
   -e 's:$: $lt_compiler_flag:'`
16612
 
   (eval echo "\"\$as_me:16612: $lt_compile\"" >&5)
16613
 
   (eval "$lt_compile" 2>conftest.err)
16614
 
   ac_status=$?
16615
 
   cat conftest.err >&5
16616
 
   echo "$as_me:16616: \$? = $ac_status" >&5
16617
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
16618
 
     # The compiler can only warn and ignore the option if not recognized
16619
 
     # So say no if there are warnings other than the usual output.
16620
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16621
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16622
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16623
 
       lt_cv_prog_compiler_rtti_exceptions=yes
16624
 
     fi
16625
 
   fi
16626
 
   $rm conftest*
16627
 
 
16628
 
fi
16629
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16630
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16631
 
 
16632
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16633
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16634
 
else
16635
 
    :
16636
 
fi
16637
 
 
16638
 
fi
16639
 
 
16640
 
lt_prog_compiler_wl_GCJ=
16641
 
lt_prog_compiler_pic_GCJ=
16642
 
lt_prog_compiler_static_GCJ=
16643
 
 
16644
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16645
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16646
 
 
16647
 
  if test "$GCC" = yes; then
16648
 
    lt_prog_compiler_wl_GCJ='-Wl,'
16649
 
    lt_prog_compiler_static_GCJ='-static'
16650
 
 
16651
 
    case $host_os in
16652
 
      aix*)
16653
 
      # All AIX code is PIC.
16654
 
      if test "$host_cpu" = ia64; then
16655
 
        # AIX 5 now supports IA64 processor
16656
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16657
 
      fi
16658
 
      ;;
16659
 
 
16660
 
    amigaos*)
16661
 
      # FIXME: we need at least 68020 code to build shared libraries, but
16662
 
      # adding the `-m68020' flag to GCC prevents building anything better,
16663
 
      # like `-m68040'.
16664
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16665
 
      ;;
16666
 
 
16667
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16668
 
      # PIC is the default for these OSes.
16669
 
      ;;
16670
 
 
16671
 
    mingw* | pw32* | os2*)
16672
 
      # This hack is so that the source file can tell whether it is being
16673
 
      # built for inclusion in a dll (and should export symbols for example).
16674
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16675
 
      ;;
16676
 
 
16677
 
    darwin* | rhapsody*)
16678
 
      # PIC is the default on this platform
16679
 
      # Common symbols not allowed in MH_DYLIB files
16680
 
      lt_prog_compiler_pic_GCJ='-fno-common'
16681
 
      ;;
16682
 
 
16683
 
    interix3*)
16684
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16685
 
      # Instead, we relocate shared libraries at runtime.
16686
 
      ;;
16687
 
 
16688
 
    msdosdjgpp*)
16689
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
16690
 
      # on systems that don't support them.
16691
 
      lt_prog_compiler_can_build_shared_GCJ=no
16692
 
      enable_shared=no
16693
 
      ;;
16694
 
 
16695
 
    sysv4*MP*)
16696
 
      if test -d /usr/nec; then
16697
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
16698
 
      fi
16699
 
      ;;
16700
 
 
16701
 
    hpux*)
16702
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16703
 
      # not for PA HP-UX.
16704
 
      case $host_cpu in
16705
 
      hppa*64*|ia64*)
16706
 
        # +Z the default
16707
 
        ;;
16708
 
      *)
16709
 
        lt_prog_compiler_pic_GCJ='-fPIC'
16710
 
        ;;
16711
 
      esac
16712
 
      ;;
16713
 
 
16714
 
    *)
16715
 
      lt_prog_compiler_pic_GCJ='-fPIC'
16716
 
      ;;
16717
 
    esac
16718
 
  else
16719
 
    # PORTME Check for flag to pass linker flags through the system compiler.
16720
 
    case $host_os in
16721
 
    aix*)
16722
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16723
 
      if test "$host_cpu" = ia64; then
16724
 
        # AIX 5 now supports IA64 processor
16725
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16726
 
      else
16727
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
16728
 
      fi
16729
 
      ;;
16730
 
      darwin*)
16731
 
        # PIC is the default on this platform
16732
 
        # Common symbols not allowed in MH_DYLIB files
16733
 
       case $cc_basename in
16734
 
         xlc*)
16735
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
16736
 
         lt_prog_compiler_wl_GCJ='-Wl,'
16737
 
         ;;
16738
 
       esac
16739
 
       ;;
16740
 
 
16741
 
    mingw* | pw32* | os2*)
16742
 
      # This hack is so that the source file can tell whether it is being
16743
 
      # built for inclusion in a dll (and should export symbols for example).
16744
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16745
 
      ;;
16746
 
 
16747
 
    hpux9* | hpux10* | hpux11*)
16748
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16749
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16750
 
      # not for PA HP-UX.
16751
 
      case $host_cpu in
16752
 
      hppa*64*|ia64*)
16753
 
        # +Z the default
16754
 
        ;;
16755
 
      *)
16756
 
        lt_prog_compiler_pic_GCJ='+Z'
16757
 
        ;;
16758
 
      esac
16759
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
16760
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
16761
 
      ;;
16762
 
 
16763
 
    irix5* | irix6* | nonstopux*)
16764
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16765
 
      # PIC (with -KPIC) is the default.
16766
 
      lt_prog_compiler_static_GCJ='-non_shared'
16767
 
      ;;
16768
 
 
16769
 
    newsos6)
16770
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16771
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16772
 
      ;;
16773
 
 
16774
 
    linux* | k*bsd*-gnu)
16775
 
      case $cc_basename in
16776
 
      icc* | ecc*)
16777
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16778
 
        lt_prog_compiler_pic_GCJ='-KPIC'
16779
 
        lt_prog_compiler_static_GCJ='-static'
16780
 
        ;;
16781
 
      pgcc* | pgf77* | pgf90* | pgf95*)
16782
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
16783
 
        # which looks to be a dead project)
16784
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16785
 
        lt_prog_compiler_pic_GCJ='-fpic'
16786
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16787
 
        ;;
16788
 
      ccc*)
16789
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16790
 
        # All Alpha code is PIC.
16791
 
        lt_prog_compiler_static_GCJ='-non_shared'
16792
 
        ;;
16793
 
      esac
16794
 
      ;;
16795
 
 
16796
 
    osf3* | osf4* | osf5*)
16797
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16798
 
      # All OSF/1 code is PIC.
16799
 
      lt_prog_compiler_static_GCJ='-non_shared'
16800
 
      ;;
16801
 
 
16802
 
    solaris*)
16803
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16804
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16805
 
      case $cc_basename in
16806
 
      f77* | f90* | f95*)
16807
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
16808
 
      *)
16809
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
16810
 
      esac
16811
 
      ;;
16812
 
 
16813
 
    sunos4*)
16814
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
16815
 
      lt_prog_compiler_pic_GCJ='-PIC'
16816
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16817
 
      ;;
16818
 
 
16819
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
16820
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16821
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16822
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16823
 
      ;;
16824
 
 
16825
 
    sysv4*MP*)
16826
 
      if test -d /usr/nec ;then
16827
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
16828
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16829
 
      fi
16830
 
      ;;
16831
 
 
16832
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16833
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16834
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16835
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16836
 
      ;;
16837
 
 
16838
 
    unicos*)
16839
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16840
 
      lt_prog_compiler_can_build_shared_GCJ=no
16841
 
      ;;
16842
 
 
16843
 
    uts4*)
16844
 
      lt_prog_compiler_pic_GCJ='-pic'
16845
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16846
 
      ;;
16847
 
 
16848
 
    *)
16849
 
      lt_prog_compiler_can_build_shared_GCJ=no
16850
 
      ;;
16851
 
    esac
16852
 
  fi
16853
 
 
16854
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16855
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16856
 
 
16857
 
#
16858
 
# Check to make sure the PIC flag actually works.
16859
 
#
16860
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
16861
 
 
16862
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16863
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16864
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16865
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16866
 
else
16867
 
  lt_prog_compiler_pic_works_GCJ=no
16868
 
  ac_outfile=conftest.$ac_objext
16869
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16870
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
16871
 
   # Insert the option either (1) after the last *FLAGS variable, or
16872
 
   # (2) before a word containing "conftest.", or (3) at the end.
16873
 
   # Note that $ac_compile itself does not contain backslashes and begins
16874
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16875
 
   # The option is referenced via a variable to avoid confusing sed.
16876
 
   lt_compile=`echo "$ac_compile" | $SED \
16877
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16878
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16879
 
   -e 's:$: $lt_compiler_flag:'`
16880
 
   (eval echo "\"\$as_me:16880: $lt_compile\"" >&5)
16881
 
   (eval "$lt_compile" 2>conftest.err)
16882
 
   ac_status=$?
16883
 
   cat conftest.err >&5
16884
 
   echo "$as_me:16884: \$? = $ac_status" >&5
16885
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
16886
 
     # The compiler can only warn and ignore the option if not recognized
16887
 
     # So say no if there are warnings other than the usual output.
16888
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16889
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16890
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16891
 
       lt_prog_compiler_pic_works_GCJ=yes
16892
 
     fi
16893
 
   fi
16894
 
   $rm conftest*
16895
 
 
16896
 
fi
16897
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16898
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16899
 
 
16900
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
16901
 
    case $lt_prog_compiler_pic_GCJ in
16902
 
     "" | " "*) ;;
16903
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
16904
 
     esac
16905
 
else
16906
 
    lt_prog_compiler_pic_GCJ=
16907
 
     lt_prog_compiler_can_build_shared_GCJ=no
16908
 
fi
16909
 
 
16910
 
fi
16911
 
case $host_os in
16912
 
  # For platforms which do not support PIC, -DPIC is meaningless:
16913
 
  *djgpp*)
16914
 
    lt_prog_compiler_pic_GCJ=
16915
 
    ;;
16916
 
  *)
16917
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
16918
 
    ;;
16919
 
esac
16920
 
 
16921
 
#
16922
 
# Check to make sure the static flag actually works.
16923
 
#
16924
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
16925
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16926
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16927
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16928
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16929
 
else
16930
 
  lt_prog_compiler_static_works_GCJ=no
16931
 
   save_LDFLAGS="$LDFLAGS"
16932
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16933
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
16934
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16935
 
     # The linker can only warn and ignore the option if not recognized
16936
 
     # So say no if there are warnings
16937
 
     if test -s conftest.err; then
16938
 
       # Append any errors to the config.log.
16939
 
       cat conftest.err 1>&5
16940
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16941
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16942
 
       if diff conftest.exp conftest.er2 >/dev/null; then
16943
 
         lt_prog_compiler_static_works_GCJ=yes
16944
 
       fi
16945
 
     else
16946
 
       lt_prog_compiler_static_works_GCJ=yes
16947
 
     fi
16948
 
   fi
16949
 
   $rm conftest*
16950
 
   LDFLAGS="$save_LDFLAGS"
16951
 
 
16952
 
fi
16953
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16954
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16955
 
 
16956
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
16957
 
    :
16958
 
else
16959
 
    lt_prog_compiler_static_GCJ=
16960
 
fi
16961
 
 
16962
 
 
16963
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16964
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16965
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16966
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16967
 
else
16968
 
  lt_cv_prog_compiler_c_o_GCJ=no
16969
 
   $rm -r conftest 2>/dev/null
16970
 
   mkdir conftest
16971
 
   cd conftest
16972
 
   mkdir out
16973
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16974
 
 
16975
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
16976
 
   # Insert the option either (1) after the last *FLAGS variable, or
16977
 
   # (2) before a word containing "conftest.", or (3) at the end.
16978
 
   # Note that $ac_compile itself does not contain backslashes and begins
16979
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16980
 
   lt_compile=`echo "$ac_compile" | $SED \
16981
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16982
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16983
 
   -e 's:$: $lt_compiler_flag:'`
16984
 
   (eval echo "\"\$as_me:16984: $lt_compile\"" >&5)
16985
 
   (eval "$lt_compile" 2>out/conftest.err)
16986
 
   ac_status=$?
16987
 
   cat out/conftest.err >&5
16988
 
   echo "$as_me:16988: \$? = $ac_status" >&5
16989
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16990
 
   then
16991
 
     # The compiler can only warn and ignore the option if not recognized
16992
 
     # So say no if there are warnings
16993
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16994
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16995
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16996
 
       lt_cv_prog_compiler_c_o_GCJ=yes
16997
 
     fi
16998
 
   fi
16999
 
   chmod u+w . 2>&5
17000
 
   $rm conftest*
17001
 
   # SGI C++ compiler will create directory out/ii_files/ for
17002
 
   # template instantiation
17003
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17004
 
   $rm out/* && rmdir out
17005
 
   cd ..
17006
 
   rmdir conftest
17007
 
   $rm conftest*
17008
 
 
17009
 
fi
17010
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17011
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17012
 
 
17013
 
 
17014
 
hard_links="nottested"
17015
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
17016
 
  # do not overwrite the value of need_locks provided by the user
17017
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17018
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17019
 
  hard_links=yes
17020
 
  $rm conftest*
17021
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17022
 
  touch conftest.a
17023
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
17024
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17025
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
17026
 
echo "${ECHO_T}$hard_links" >&6; }
17027
 
  if test "$hard_links" = no; then
17028
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17029
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17030
 
    need_locks=warn
17031
 
  fi
17032
 
else
17033
 
  need_locks=no
17034
 
fi
17035
 
 
17036
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17037
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17038
 
 
17039
 
  runpath_var=
17040
 
  allow_undefined_flag_GCJ=
17041
 
  enable_shared_with_static_runtimes_GCJ=no
17042
 
  archive_cmds_GCJ=
17043
 
  archive_expsym_cmds_GCJ=
17044
 
  old_archive_From_new_cmds_GCJ=
17045
 
  old_archive_from_expsyms_cmds_GCJ=
17046
 
  export_dynamic_flag_spec_GCJ=
17047
 
  whole_archive_flag_spec_GCJ=
17048
 
  thread_safe_flag_spec_GCJ=
17049
 
  hardcode_libdir_flag_spec_GCJ=
17050
 
  hardcode_libdir_flag_spec_ld_GCJ=
17051
 
  hardcode_libdir_separator_GCJ=
17052
 
  hardcode_direct_GCJ=no
17053
 
  hardcode_minus_L_GCJ=no
17054
 
  hardcode_shlibpath_var_GCJ=unsupported
17055
 
  link_all_deplibs_GCJ=unknown
17056
 
  hardcode_automatic_GCJ=no
17057
 
  module_cmds_GCJ=
17058
 
  module_expsym_cmds_GCJ=
17059
 
  always_export_symbols_GCJ=no
17060
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17061
 
  # include_expsyms should be a list of space-separated symbols to be *always*
17062
 
  # included in the symbol list
17063
 
  include_expsyms_GCJ=
17064
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
17065
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
17066
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17067
 
  # as well as any symbol that contains `d'.
17068
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
17069
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17070
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
17071
 
  # the symbol is explicitly referenced.  Since portable code cannot
17072
 
  # rely on this symbol name, it's probably fine to never include it in
17073
 
  # preloaded symbol tables.
17074
 
  extract_expsyms_cmds=
17075
 
  # Just being paranoid about ensuring that cc_basename is set.
17076
 
  for cc_temp in $compiler""; do
17077
 
  case $cc_temp in
17078
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17079
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17080
 
    \-*) ;;
17081
 
    *) break;;
17082
 
  esac
17083
 
done
17084
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17085
 
 
17086
 
  case $host_os in
17087
 
  cygwin* | mingw* | pw32*)
17088
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
17089
 
    # When not using gcc, we currently assume that we are using
17090
 
    # Microsoft Visual C++.
17091
 
    if test "$GCC" != yes; then
17092
 
      with_gnu_ld=no
17093
 
    fi
17094
 
    ;;
17095
 
  interix*)
17096
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
17097
 
    with_gnu_ld=yes
17098
 
    ;;
17099
 
  openbsd*)
17100
 
    with_gnu_ld=no
17101
 
    ;;
17102
 
  esac
17103
 
 
17104
 
  ld_shlibs_GCJ=yes
17105
 
  if test "$with_gnu_ld" = yes; then
17106
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
17107
 
    wlarc='${wl}'
17108
 
 
17109
 
    # Set some defaults for GNU ld with shared library support. These
17110
 
    # are reset later if shared libraries are not supported. Putting them
17111
 
    # here allows them to be overridden if necessary.
17112
 
    runpath_var=LD_RUN_PATH
17113
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
17114
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
17115
 
    # ancient GNU ld didn't support --whole-archive et. al.
17116
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17117
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17118
 
      else
17119
 
        whole_archive_flag_spec_GCJ=
17120
 
    fi
17121
 
    supports_anon_versioning=no
17122
 
    case `$LD -v 2>/dev/null` in
17123
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17124
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17125
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17126
 
      *\ 2.11.*) ;; # other 2.11 versions
17127
 
      *) supports_anon_versioning=yes ;;
17128
 
    esac
17129
 
 
17130
 
    # See if GNU ld supports shared libraries.
17131
 
    case $host_os in
17132
 
    aix3* | aix4* | aix5*)
17133
 
      # On AIX/PPC, the GNU linker is very broken
17134
 
      if test "$host_cpu" != ia64; then
17135
 
        ld_shlibs_GCJ=no
17136
 
        cat <<EOF 1>&2
17137
 
 
17138
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17139
 
*** to be unable to reliably create shared libraries on AIX.
17140
 
*** Therefore, libtool is disabling shared libraries support.  If you
17141
 
*** really care for shared libraries, you may want to modify your PATH
17142
 
*** so that a non-GNU linker is found, and then restart.
17143
 
 
17144
 
EOF
17145
 
      fi
17146
 
      ;;
17147
 
 
17148
 
    amigaos*)
17149
 
      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)'
17150
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17151
 
      hardcode_minus_L_GCJ=yes
17152
 
 
17153
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17154
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
17155
 
      # to version 4, is to share data among multiple programs linked
17156
 
      # with the same dynamic library.  Since this doesn't match the
17157
 
      # behavior of shared libraries on other platforms, we can't use
17158
 
      # them.
17159
 
      ld_shlibs_GCJ=no
17160
 
      ;;
17161
 
 
17162
 
    beos*)
17163
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17164
 
        allow_undefined_flag_GCJ=unsupported
17165
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17166
 
        # support --undefined.  This deserves some investigation.  FIXME
17167
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17168
 
      else
17169
 
        ld_shlibs_GCJ=no
17170
 
      fi
17171
 
      ;;
17172
 
 
17173
 
    cygwin* | mingw* | pw32*)
17174
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17175
 
      # as there is no search path for DLLs.
17176
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17177
 
      allow_undefined_flag_GCJ=unsupported
17178
 
      always_export_symbols_GCJ=no
17179
 
      enable_shared_with_static_runtimes_GCJ=yes
17180
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17181
 
 
17182
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17183
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17184
 
        # If the export-symbols file already is a .def file (1st line
17185
 
        # is EXPORTS), use it as is; otherwise, prepend...
17186
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17187
 
          cp $export_symbols $output_objdir/$soname.def;
17188
 
        else
17189
 
          echo EXPORTS > $output_objdir/$soname.def;
17190
 
          cat $export_symbols >> $output_objdir/$soname.def;
17191
 
        fi~
17192
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17193
 
      else
17194
 
        ld_shlibs_GCJ=no
17195
 
      fi
17196
 
      ;;
17197
 
 
17198
 
    interix3*)
17199
 
      hardcode_direct_GCJ=no
17200
 
      hardcode_shlibpath_var_GCJ=no
17201
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17202
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
17203
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17204
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
17205
 
      # default) and relocated if they conflict, which is a slow very memory
17206
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
17207
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17208
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
17209
 
      archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17210
 
      archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17211
 
      ;;
17212
 
 
17213
 
    linux* | k*bsd*-gnu)
17214
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17215
 
        tmp_addflag=
17216
 
        case $cc_basename,$host_cpu in
17217
 
        pgcc*)                          # Portland Group C compiler
17218
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17219
 
          tmp_addflag=' $pic_flag'
17220
 
          ;;
17221
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
17222
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17223
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
17224
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
17225
 
          tmp_addflag=' -i_dynamic' ;;
17226
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
17227
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
17228
 
        ifc* | ifort*)                  # Intel Fortran compiler
17229
 
          tmp_addflag=' -nofor_main' ;;
17230
 
        esac
17231
 
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17232
 
 
17233
 
        if test $supports_anon_versioning = yes; then
17234
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
17235
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17236
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
17237
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17238
 
        fi
17239
 
        link_all_deplibs_GCJ=no
17240
 
      else
17241
 
        ld_shlibs_GCJ=no
17242
 
      fi
17243
 
      ;;
17244
 
 
17245
 
    netbsd* | netbsdelf*-gnu)
17246
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17247
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17248
 
        wlarc=
17249
 
      else
17250
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17251
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17252
 
      fi
17253
 
      ;;
17254
 
 
17255
 
    solaris*)
17256
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17257
 
        ld_shlibs_GCJ=no
17258
 
        cat <<EOF 1>&2
17259
 
 
17260
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17261
 
*** create shared libraries on Solaris systems.  Therefore, libtool
17262
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17263
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
17264
 
*** your PATH or compiler configuration so that the native linker is
17265
 
*** used, and then restart.
17266
 
 
17267
 
EOF
17268
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17269
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17270
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17271
 
      else
17272
 
        ld_shlibs_GCJ=no
17273
 
      fi
17274
 
      ;;
17275
 
 
17276
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17277
 
      case `$LD -v 2>&1` in
17278
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17279
 
        ld_shlibs_GCJ=no
17280
 
        cat <<_LT_EOF 1>&2
17281
 
 
17282
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17283
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
17284
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17285
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
17286
 
*** your PATH or compiler configuration so that the native linker is
17287
 
*** used, and then restart.
17288
 
 
17289
 
_LT_EOF
17290
 
        ;;
17291
 
        *)
17292
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17293
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17294
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17295
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17296
 
          else
17297
 
            ld_shlibs_GCJ=no
17298
 
          fi
17299
 
        ;;
17300
 
      esac
17301
 
      ;;
17302
 
 
17303
 
    sunos4*)
17304
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17305
 
      wlarc=
17306
 
      hardcode_direct_GCJ=yes
17307
 
      hardcode_shlibpath_var_GCJ=no
17308
 
      ;;
17309
 
 
17310
 
    *)
17311
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17312
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17313
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17314
 
      else
17315
 
        ld_shlibs_GCJ=no
17316
 
      fi
17317
 
      ;;
17318
 
    esac
17319
 
 
17320
 
    if test "$ld_shlibs_GCJ" = no; then
17321
 
      runpath_var=
17322
 
      hardcode_libdir_flag_spec_GCJ=
17323
 
      export_dynamic_flag_spec_GCJ=
17324
 
      whole_archive_flag_spec_GCJ=
17325
 
    fi
17326
 
  else
17327
 
    # PORTME fill in a description of your system's linker (not GNU ld)
17328
 
    case $host_os in
17329
 
    aix3*)
17330
 
      allow_undefined_flag_GCJ=unsupported
17331
 
      always_export_symbols_GCJ=yes
17332
 
      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'
17333
 
      # Note: this linker hardcodes the directories in LIBPATH if there
17334
 
      # are no directories specified by -L.
17335
 
      hardcode_minus_L_GCJ=yes
17336
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17337
 
        # Neither direct hardcoding nor static linking is supported with a
17338
 
        # broken collect2.
17339
 
        hardcode_direct_GCJ=unsupported
17340
 
      fi
17341
 
      ;;
17342
 
 
17343
 
    aix4* | aix5*)
17344
 
      if test "$host_cpu" = ia64; then
17345
 
        # On IA64, the linker does run time linking by default, so we don't
17346
 
        # have to do anything special.
17347
 
        aix_use_runtimelinking=no
17348
 
        exp_sym_flag='-Bexport'
17349
 
        no_entry_flag=""
17350
 
      else
17351
 
        # If we're using GNU nm, then we don't want the "-C" option.
17352
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
17353
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17354
 
          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'
17355
 
        else
17356
 
          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'
17357
 
        fi
17358
 
        aix_use_runtimelinking=no
17359
 
 
17360
 
        # Test if we are trying to use run time linking or normal
17361
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17362
 
        # need to do runtime linking.
17363
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
17364
 
          for ld_flag in $LDFLAGS; do
17365
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17366
 
            aix_use_runtimelinking=yes
17367
 
            break
17368
 
          fi
17369
 
          done
17370
 
          ;;
17371
 
        esac
17372
 
 
17373
 
        exp_sym_flag='-bexport'
17374
 
        no_entry_flag='-bnoentry'
17375
 
      fi
17376
 
 
17377
 
      # When large executables or shared objects are built, AIX ld can
17378
 
      # have problems creating the table of contents.  If linking a library
17379
 
      # or program results in "error TOC overflow" add -mminimal-toc to
17380
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17381
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17382
 
 
17383
 
      archive_cmds_GCJ=''
17384
 
      hardcode_direct_GCJ=yes
17385
 
      hardcode_libdir_separator_GCJ=':'
17386
 
      link_all_deplibs_GCJ=yes
17387
 
 
17388
 
      if test "$GCC" = yes; then
17389
 
        case $host_os in aix4.[012]|aix4.[012].*)
17390
 
        # We only want to do this on AIX 4.2 and lower, the check
17391
 
        # below for broken collect2 doesn't work under 4.3+
17392
 
          collect2name=`${CC} -print-prog-name=collect2`
17393
 
          if test -f "$collect2name" && \
17394
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
17395
 
          then
17396
 
          # We have reworked collect2
17397
 
          hardcode_direct_GCJ=yes
17398
 
          else
17399
 
          # We have old collect2
17400
 
          hardcode_direct_GCJ=unsupported
17401
 
          # It fails to find uninstalled libraries when the uninstalled
17402
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
17403
 
          # to unsupported forces relinking
17404
 
          hardcode_minus_L_GCJ=yes
17405
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
17406
 
          hardcode_libdir_separator_GCJ=
17407
 
          fi
17408
 
          ;;
17409
 
        esac
17410
 
        shared_flag='-shared'
17411
 
        if test "$aix_use_runtimelinking" = yes; then
17412
 
          shared_flag="$shared_flag "'${wl}-G'
17413
 
        fi
17414
 
      else
17415
 
        # not using gcc
17416
 
        if test "$host_cpu" = ia64; then
17417
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17418
 
        # chokes on -Wl,-G. The following line is correct:
17419
 
          shared_flag='-G'
17420
 
        else
17421
 
          if test "$aix_use_runtimelinking" = yes; then
17422
 
            shared_flag='${wl}-G'
17423
 
          else
17424
 
            shared_flag='${wl}-bM:SRE'
17425
 
          fi
17426
 
        fi
17427
 
      fi
17428
 
 
17429
 
      # It seems that -bexpall does not export symbols beginning with
17430
 
      # underscore (_), so it is better to generate a list of symbols to export.
17431
 
      always_export_symbols_GCJ=yes
17432
 
      if test "$aix_use_runtimelinking" = yes; then
17433
 
        # Warning - without using the other runtime loading flags (-brtl),
17434
 
        # -berok will link without error, but may produce a broken library.
17435
 
        allow_undefined_flag_GCJ='-berok'
17436
 
       # Determine the default libpath from the value encoded in an empty executable.
17437
 
       cat >conftest.$ac_ext <<_ACEOF
17438
 
/* confdefs.h.  */
17439
 
_ACEOF
17440
 
cat confdefs.h >>conftest.$ac_ext
17441
 
cat >>conftest.$ac_ext <<_ACEOF
17442
 
/* end confdefs.h.  */
17443
 
 
17444
 
int
17445
 
main ()
17446
 
{
17447
 
 
17448
 
  ;
17449
 
  return 0;
17450
 
}
17451
 
_ACEOF
17452
 
rm -f conftest.$ac_objext conftest$ac_exeext
17453
 
if { (ac_try="$ac_link"
17454
 
case "(($ac_try" in
17455
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17456
 
  *) ac_try_echo=$ac_try;;
17457
 
esac
17458
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17459
 
  (eval "$ac_link") 2>conftest.er1
17460
 
  ac_status=$?
17461
 
  grep -v '^ *+' conftest.er1 >conftest.err
17462
 
  rm -f conftest.er1
17463
 
  cat conftest.err >&5
17464
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17465
 
  (exit $ac_status); } && {
17466
 
         test -z "$ac_c_werror_flag" ||
17467
 
         test ! -s conftest.err
17468
 
       } && test -s conftest$ac_exeext &&
17469
 
       $as_test_x conftest$ac_exeext; then
17470
 
 
17471
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17472
 
}'`
17473
 
# Check for a 64-bit object if we didn't find anything.
17474
 
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; }
17475
 
}'`; fi
17476
 
else
17477
 
  echo "$as_me: failed program was:" >&5
17478
 
sed 's/^/| /' conftest.$ac_ext >&5
17479
 
 
17480
 
 
17481
 
fi
17482
 
 
17483
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17484
 
      conftest$ac_exeext conftest.$ac_ext
17485
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17486
 
 
17487
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17488
 
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17489
 
       else
17490
 
        if test "$host_cpu" = ia64; then
17491
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17492
 
          allow_undefined_flag_GCJ="-z nodefs"
17493
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
17494
 
        else
17495
 
         # Determine the default libpath from the value encoded in an empty executable.
17496
 
         cat >conftest.$ac_ext <<_ACEOF
17497
 
/* confdefs.h.  */
17498
 
_ACEOF
17499
 
cat confdefs.h >>conftest.$ac_ext
17500
 
cat >>conftest.$ac_ext <<_ACEOF
17501
 
/* end confdefs.h.  */
17502
 
 
17503
 
int
17504
 
main ()
17505
 
{
17506
 
 
17507
 
  ;
17508
 
  return 0;
17509
 
}
17510
 
_ACEOF
17511
 
rm -f conftest.$ac_objext conftest$ac_exeext
17512
 
if { (ac_try="$ac_link"
17513
 
case "(($ac_try" in
17514
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17515
 
  *) ac_try_echo=$ac_try;;
17516
 
esac
17517
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17518
 
  (eval "$ac_link") 2>conftest.er1
17519
 
  ac_status=$?
17520
 
  grep -v '^ *+' conftest.er1 >conftest.err
17521
 
  rm -f conftest.er1
17522
 
  cat conftest.err >&5
17523
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17524
 
  (exit $ac_status); } && {
17525
 
         test -z "$ac_c_werror_flag" ||
17526
 
         test ! -s conftest.err
17527
 
       } && test -s conftest$ac_exeext &&
17528
 
       $as_test_x conftest$ac_exeext; then
17529
 
 
17530
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17531
 
}'`
17532
 
# Check for a 64-bit object if we didn't find anything.
17533
 
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; }
17534
 
}'`; fi
17535
 
else
17536
 
  echo "$as_me: failed program was:" >&5
17537
 
sed 's/^/| /' conftest.$ac_ext >&5
17538
 
 
17539
 
 
17540
 
fi
17541
 
 
17542
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17543
 
      conftest$ac_exeext conftest.$ac_ext
17544
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17545
 
 
17546
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17547
 
          # Warning - without using the other run time loading flags,
17548
 
          # -berok will link without error, but may produce a broken library.
17549
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
17550
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
17551
 
          # Exported symbols can be pulled into shared objects from archives
17552
 
          whole_archive_flag_spec_GCJ='$convenience'
17553
 
          archive_cmds_need_lc_GCJ=yes
17554
 
          # This is similar to how AIX traditionally builds its shared libraries.
17555
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
17556
 
        fi
17557
 
      fi
17558
 
      ;;
17559
 
 
17560
 
    amigaos*)
17561
 
      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)'
17562
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17563
 
      hardcode_minus_L_GCJ=yes
17564
 
      # see comment about different semantics on the GNU ld section
17565
 
      ld_shlibs_GCJ=no
17566
 
      ;;
17567
 
 
17568
 
    bsdi[45]*)
17569
 
      export_dynamic_flag_spec_GCJ=-rdynamic
17570
 
      ;;
17571
 
 
17572
 
    cygwin* | mingw* | pw32*)
17573
 
      # When not using gcc, we currently assume that we are using
17574
 
      # Microsoft Visual C++.
17575
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
17576
 
      # no search path for DLLs.
17577
 
      hardcode_libdir_flag_spec_GCJ=' '
17578
 
      allow_undefined_flag_GCJ=unsupported
17579
 
      # Tell ltmain to make .lib files, not .a files.
17580
 
      libext=lib
17581
 
      # Tell ltmain to make .dll files, not .so files.
17582
 
      shrext_cmds=".dll"
17583
 
      # FIXME: Setting linknames here is a bad hack.
17584
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17585
 
      # The linker will automatically build a .lib file if we build a DLL.
17586
 
      old_archive_From_new_cmds_GCJ='true'
17587
 
      # FIXME: Should let the user specify the lib program.
17588
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
17589
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
17590
 
      enable_shared_with_static_runtimes_GCJ=yes
17591
 
      ;;
17592
 
 
17593
 
    darwin* | rhapsody*)
17594
 
      case $host_os in
17595
 
        rhapsody* | darwin1.[012])
17596
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
17597
 
         ;;
17598
 
       *) # Darwin 1.3 on
17599
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17600
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17601
 
         else
17602
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
17603
 
             10.[012])
17604
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17605
 
               ;;
17606
 
             10.*)
17607
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
17608
 
               ;;
17609
 
           esac
17610
 
         fi
17611
 
         ;;
17612
 
      esac
17613
 
      archive_cmds_need_lc_GCJ=no
17614
 
      hardcode_direct_GCJ=no
17615
 
      hardcode_automatic_GCJ=yes
17616
 
      hardcode_shlibpath_var_GCJ=unsupported
17617
 
      whole_archive_flag_spec_GCJ=''
17618
 
      link_all_deplibs_GCJ=yes
17619
 
    if test "$GCC" = yes ; then
17620
 
        output_verbose_link_cmd='echo'
17621
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17622
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17623
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17624
 
      archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17625
 
      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}'
17626
 
    else
17627
 
      case $cc_basename in
17628
 
        xlc*)
17629
 
         output_verbose_link_cmd='echo'
17630
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17631
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17632
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17633
 
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17634
 
          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}'
17635
 
          ;;
17636
 
       *)
17637
 
         ld_shlibs_GCJ=no
17638
 
          ;;
17639
 
      esac
17640
 
    fi
17641
 
      ;;
17642
 
 
17643
 
    dgux*)
17644
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17645
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17646
 
      hardcode_shlibpath_var_GCJ=no
17647
 
      ;;
17648
 
 
17649
 
    freebsd1*)
17650
 
      ld_shlibs_GCJ=no
17651
 
      ;;
17652
 
 
17653
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17654
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
17655
 
    # does not break anything, and helps significantly (at the cost of a little
17656
 
    # extra space).
17657
 
    freebsd2.2*)
17658
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17659
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17660
 
      hardcode_direct_GCJ=yes
17661
 
      hardcode_shlibpath_var_GCJ=no
17662
 
      ;;
17663
 
 
17664
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17665
 
    freebsd2*)
17666
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17667
 
      hardcode_direct_GCJ=yes
17668
 
      hardcode_minus_L_GCJ=yes
17669
 
      hardcode_shlibpath_var_GCJ=no
17670
 
      ;;
17671
 
 
17672
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17673
 
    freebsd* | dragonfly*)
17674
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17675
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17676
 
      hardcode_direct_GCJ=yes
17677
 
      hardcode_shlibpath_var_GCJ=no
17678
 
      ;;
17679
 
 
17680
 
    hpux9*)
17681
 
      if test "$GCC" = yes; then
17682
 
        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'
17683
 
      else
17684
 
        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'
17685
 
      fi
17686
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17687
 
      hardcode_libdir_separator_GCJ=:
17688
 
      hardcode_direct_GCJ=yes
17689
 
 
17690
 
      # hardcode_minus_L: Not really in the search PATH,
17691
 
      # but as the default location of the library.
17692
 
      hardcode_minus_L_GCJ=yes
17693
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
17694
 
      ;;
17695
 
 
17696
 
    hpux10*)
17697
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17698
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17699
 
      else
17700
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17701
 
      fi
17702
 
      if test "$with_gnu_ld" = no; then
17703
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17704
 
        hardcode_libdir_separator_GCJ=:
17705
 
 
17706
 
        hardcode_direct_GCJ=yes
17707
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
17708
 
 
17709
 
        # hardcode_minus_L: Not really in the search PATH,
17710
 
        # but as the default location of the library.
17711
 
        hardcode_minus_L_GCJ=yes
17712
 
      fi
17713
 
      ;;
17714
 
 
17715
 
    hpux11*)
17716
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17717
 
        case $host_cpu in
17718
 
        hppa*64*)
17719
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17720
 
          ;;
17721
 
        ia64*)
17722
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17723
 
          ;;
17724
 
        *)
17725
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17726
 
          ;;
17727
 
        esac
17728
 
      else
17729
 
        case $host_cpu in
17730
 
        hppa*64*)
17731
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17732
 
          ;;
17733
 
        ia64*)
17734
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17735
 
          ;;
17736
 
        *)
17737
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17738
 
          ;;
17739
 
        esac
17740
 
      fi
17741
 
      if test "$with_gnu_ld" = no; then
17742
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17743
 
        hardcode_libdir_separator_GCJ=:
17744
 
 
17745
 
        case $host_cpu in
17746
 
        hppa*64*|ia64*)
17747
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
17748
 
          hardcode_direct_GCJ=no
17749
 
          hardcode_shlibpath_var_GCJ=no
17750
 
          ;;
17751
 
        *)
17752
 
          hardcode_direct_GCJ=yes
17753
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
17754
 
 
17755
 
          # hardcode_minus_L: Not really in the search PATH,
17756
 
          # but as the default location of the library.
17757
 
          hardcode_minus_L_GCJ=yes
17758
 
          ;;
17759
 
        esac
17760
 
      fi
17761
 
      ;;
17762
 
 
17763
 
    irix5* | irix6* | nonstopux*)
17764
 
      if test "$GCC" = yes; then
17765
 
        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'
17766
 
      else
17767
 
        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'
17768
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
17769
 
      fi
17770
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17771
 
      hardcode_libdir_separator_GCJ=:
17772
 
      link_all_deplibs_GCJ=yes
17773
 
      ;;
17774
 
 
17775
 
    netbsd* | netbsdelf*-gnu)
17776
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17777
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
17778
 
      else
17779
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
17780
 
      fi
17781
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17782
 
      hardcode_direct_GCJ=yes
17783
 
      hardcode_shlibpath_var_GCJ=no
17784
 
      ;;
17785
 
 
17786
 
    newsos6)
17787
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17788
 
      hardcode_direct_GCJ=yes
17789
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17790
 
      hardcode_libdir_separator_GCJ=:
17791
 
      hardcode_shlibpath_var_GCJ=no
17792
 
      ;;
17793
 
 
17794
 
    openbsd*)
17795
 
      hardcode_direct_GCJ=yes
17796
 
      hardcode_shlibpath_var_GCJ=no
17797
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17798
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17799
 
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17800
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17801
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
17802
 
      else
17803
 
       case $host_os in
17804
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17805
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17806
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
17807
 
           ;;
17808
 
         *)
17809
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17810
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17811
 
           ;;
17812
 
       esac
17813
 
      fi
17814
 
      ;;
17815
 
 
17816
 
    os2*)
17817
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17818
 
      hardcode_minus_L_GCJ=yes
17819
 
      allow_undefined_flag_GCJ=unsupported
17820
 
      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'
17821
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17822
 
      ;;
17823
 
 
17824
 
    osf3*)
17825
 
      if test "$GCC" = yes; then
17826
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
17827
 
        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'
17828
 
      else
17829
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
17830
 
        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'
17831
 
      fi
17832
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17833
 
      hardcode_libdir_separator_GCJ=:
17834
 
      ;;
17835
 
 
17836
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
17837
 
      if test "$GCC" = yes; then
17838
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
17839
 
        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'
17840
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17841
 
      else
17842
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
17843
 
        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'
17844
 
        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~
17845
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
17846
 
 
17847
 
        # Both c and cxx compiler support -rpath directly
17848
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
17849
 
      fi
17850
 
      hardcode_libdir_separator_GCJ=:
17851
 
      ;;
17852
 
 
17853
 
    solaris*)
17854
 
      no_undefined_flag_GCJ=' -z text'
17855
 
      if test "$GCC" = yes; then
17856
 
        wlarc='${wl}'
17857
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17858
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17859
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17860
 
      else
17861
 
        wlarc=''
17862
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17863
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17864
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17865
 
      fi
17866
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17867
 
      hardcode_shlibpath_var_GCJ=no
17868
 
      case $host_os in
17869
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
17870
 
      *)
17871
 
        # The compiler driver will combine linker options so we
17872
 
        # cannot just pass the convience library names through
17873
 
        # without $wl, iff we do not link with $LD.
17874
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
17875
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
17876
 
        case $wlarc in
17877
 
        '')
17878
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
17879
 
        *)
17880
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17881
 
        esac ;;
17882
 
      esac
17883
 
      link_all_deplibs_GCJ=yes
17884
 
      ;;
17885
 
 
17886
 
    sunos4*)
17887
 
      if test "x$host_vendor" = xsequent; then
17888
 
        # Use $CC to link under sequent, because it throws in some extra .o
17889
 
        # files that make .init and .fini sections work.
17890
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17891
 
      else
17892
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17893
 
      fi
17894
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17895
 
      hardcode_direct_GCJ=yes
17896
 
      hardcode_minus_L_GCJ=yes
17897
 
      hardcode_shlibpath_var_GCJ=no
17898
 
      ;;
17899
 
 
17900
 
    sysv4)
17901
 
      case $host_vendor in
17902
 
        sni)
17903
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17904
 
          hardcode_direct_GCJ=yes # is this really true???
17905
 
        ;;
17906
 
        siemens)
17907
 
          ## LD is ld it makes a PLAMLIB
17908
 
          ## CC just makes a GrossModule.
17909
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17910
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
17911
 
          hardcode_direct_GCJ=no
17912
 
        ;;
17913
 
        motorola)
17914
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17915
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
17916
 
        ;;
17917
 
      esac
17918
 
      runpath_var='LD_RUN_PATH'
17919
 
      hardcode_shlibpath_var_GCJ=no
17920
 
      ;;
17921
 
 
17922
 
    sysv4.3*)
17923
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17924
 
      hardcode_shlibpath_var_GCJ=no
17925
 
      export_dynamic_flag_spec_GCJ='-Bexport'
17926
 
      ;;
17927
 
 
17928
 
    sysv4*MP*)
17929
 
      if test -d /usr/nec; then
17930
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17931
 
        hardcode_shlibpath_var_GCJ=no
17932
 
        runpath_var=LD_RUN_PATH
17933
 
        hardcode_runpath_var=yes
17934
 
        ld_shlibs_GCJ=yes
17935
 
      fi
17936
 
      ;;
17937
 
 
17938
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
17939
 
      no_undefined_flag_GCJ='${wl}-z,text'
17940
 
      archive_cmds_need_lc_GCJ=no
17941
 
      hardcode_shlibpath_var_GCJ=no
17942
 
      runpath_var='LD_RUN_PATH'
17943
 
 
17944
 
      if test "$GCC" = yes; then
17945
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17946
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17947
 
      else
17948
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17949
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17950
 
      fi
17951
 
      ;;
17952
 
 
17953
 
    sysv5* | sco3.2v5* | sco5v6*)
17954
 
      # Note: We can NOT use -z defs as we might desire, because we do not
17955
 
      # link with -lc, and that would cause any symbols used from libc to
17956
 
      # always be unresolved, which means just about no library would
17957
 
      # ever link correctly.  If we're not using GNU ld we use -z text
17958
 
      # though, which does catch some bad symbols but isn't as heavy-handed
17959
 
      # as -z defs.
17960
 
      no_undefined_flag_GCJ='${wl}-z,text'
17961
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
17962
 
      archive_cmds_need_lc_GCJ=no
17963
 
      hardcode_shlibpath_var_GCJ=no
17964
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17965
 
      hardcode_libdir_separator_GCJ=':'
17966
 
      link_all_deplibs_GCJ=yes
17967
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
17968
 
      runpath_var='LD_RUN_PATH'
17969
 
 
17970
 
      if test "$GCC" = yes; then
17971
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17972
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17973
 
      else
17974
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17975
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17976
 
      fi
17977
 
      ;;
17978
 
 
17979
 
    uts4*)
17980
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17981
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17982
 
      hardcode_shlibpath_var_GCJ=no
17983
 
      ;;
17984
 
 
17985
 
    *)
17986
 
      ld_shlibs_GCJ=no
17987
 
      ;;
17988
 
    esac
17989
 
  fi
17990
 
 
17991
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17992
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17993
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
17994
 
 
17995
 
#
17996
 
# Do we need to explicitly link libc?
17997
 
#
17998
 
case "x$archive_cmds_need_lc_GCJ" in
17999
 
x|xyes)
18000
 
  # Assume -lc should be added
18001
 
  archive_cmds_need_lc_GCJ=yes
18002
 
 
18003
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
18004
 
    case $archive_cmds_GCJ in
18005
 
    *'~'*)
18006
 
      # FIXME: we may have to deal with multi-command sequences.
18007
 
      ;;
18008
 
    '$CC '*)
18009
 
      # Test whether the compiler implicitly links with -lc since on some
18010
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
18011
 
      # to ld, don't add -lc before -lgcc.
18012
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18013
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18014
 
      $rm conftest*
18015
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18016
 
 
18017
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18018
 
  (eval $ac_compile) 2>&5
18019
 
  ac_status=$?
18020
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021
 
  (exit $ac_status); } 2>conftest.err; then
18022
 
        soname=conftest
18023
 
        lib=conftest
18024
 
        libobjs=conftest.$ac_objext
18025
 
        deplibs=
18026
 
        wl=$lt_prog_compiler_wl_GCJ
18027
 
        pic_flag=$lt_prog_compiler_pic_GCJ
18028
 
        compiler_flags=-v
18029
 
        linker_flags=-v
18030
 
        verstring=
18031
 
        output_objdir=.
18032
 
        libname=conftest
18033
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
18034
 
        allow_undefined_flag_GCJ=
18035
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18036
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18037
 
  ac_status=$?
18038
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18039
 
  (exit $ac_status); }
18040
 
        then
18041
 
          archive_cmds_need_lc_GCJ=no
18042
 
        else
18043
 
          archive_cmds_need_lc_GCJ=yes
18044
 
        fi
18045
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
18046
 
      else
18047
 
        cat conftest.err 1>&5
18048
 
      fi
18049
 
      $rm conftest*
18050
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18051
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18052
 
      ;;
18053
 
    esac
18054
 
  fi
18055
 
  ;;
18056
 
esac
18057
 
 
18058
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18059
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18060
 
library_names_spec=
18061
 
libname_spec='lib$name'
18062
 
soname_spec=
18063
 
shrext_cmds=".so"
18064
 
postinstall_cmds=
18065
 
postuninstall_cmds=
18066
 
finish_cmds=
18067
 
finish_eval=
18068
 
shlibpath_var=
18069
 
shlibpath_overrides_runpath=unknown
18070
 
version_type=none
18071
 
dynamic_linker="$host_os ld.so"
18072
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
18073
 
if test "$GCC" = yes; then
18074
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18075
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
18076
 
    # if the path contains ";" then we assume it to be the separator
18077
 
    # otherwise default to the standard path separator (i.e. ":") - it is
18078
 
    # assumed that no part of a normal pathname contains ";" but that should
18079
 
    # okay in the real world where ";" in dirpaths is itself problematic.
18080
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18081
 
  else
18082
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18083
 
  fi
18084
 
else
18085
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18086
 
fi
18087
 
need_lib_prefix=unknown
18088
 
hardcode_into_libs=no
18089
 
 
18090
 
# when you set need_version to no, make sure it does not cause -set_version
18091
 
# flags to be left without arguments
18092
 
need_version=unknown
18093
 
 
18094
 
case $host_os in
18095
 
aix3*)
18096
 
  version_type=linux
18097
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18098
 
  shlibpath_var=LIBPATH
18099
 
 
18100
 
  # AIX 3 has no versioning support, so we append a major version to the name.
18101
 
  soname_spec='${libname}${release}${shared_ext}$major'
18102
 
  ;;
18103
 
 
18104
 
aix4* | aix5*)
18105
 
  version_type=linux
18106
 
  need_lib_prefix=no
18107
 
  need_version=no
18108
 
  hardcode_into_libs=yes
18109
 
  if test "$host_cpu" = ia64; then
18110
 
    # AIX 5 supports IA64
18111
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18112
 
    shlibpath_var=LD_LIBRARY_PATH
18113
 
  else
18114
 
    # With GCC up to 2.95.x, collect2 would create an import file
18115
 
    # for dependence libraries.  The import file would start with
18116
 
    # the line `#! .'.  This would cause the generated library to
18117
 
    # depend on `.', always an invalid library.  This was fixed in
18118
 
    # development snapshots of GCC prior to 3.0.
18119
 
    case $host_os in
18120
 
      aix4 | aix4.[01] | aix4.[01].*)
18121
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18122
 
           echo ' yes '
18123
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18124
 
        :
18125
 
      else
18126
 
        can_build_shared=no
18127
 
      fi
18128
 
      ;;
18129
 
    esac
18130
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18131
 
    # soname into executable. Probably we can add versioning support to
18132
 
    # collect2, so additional links can be useful in future.
18133
 
    if test "$aix_use_runtimelinking" = yes; then
18134
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18135
 
      # instead of lib<name>.a to let people know that these are not
18136
 
      # typical AIX shared libraries.
18137
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18138
 
    else
18139
 
      # We preserve .a as extension for shared libraries through AIX4.2
18140
 
      # and later when we are not doing run time linking.
18141
 
      library_names_spec='${libname}${release}.a $libname.a'
18142
 
      soname_spec='${libname}${release}${shared_ext}$major'
18143
 
    fi
18144
 
    shlibpath_var=LIBPATH
18145
 
  fi
18146
 
  ;;
18147
 
 
18148
 
amigaos*)
18149
 
  library_names_spec='$libname.ixlibrary $libname.a'
18150
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
18151
 
  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'
18152
 
  ;;
18153
 
 
18154
 
beos*)
18155
 
  library_names_spec='${libname}${shared_ext}'
18156
 
  dynamic_linker="$host_os ld.so"
18157
 
  shlibpath_var=LIBRARY_PATH
18158
 
  ;;
18159
 
 
18160
 
bsdi[45]*)
18161
 
  version_type=linux
18162
 
  need_version=no
18163
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18164
 
  soname_spec='${libname}${release}${shared_ext}$major'
18165
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18166
 
  shlibpath_var=LD_LIBRARY_PATH
18167
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18168
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18169
 
  # the default ld.so.conf also contains /usr/contrib/lib and
18170
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18171
 
  # libtool to hard-code these into programs
18172
 
  ;;
18173
 
 
18174
 
cygwin* | mingw* | pw32*)
18175
 
  version_type=windows
18176
 
  shrext_cmds=".dll"
18177
 
  need_version=no
18178
 
  need_lib_prefix=no
18179
 
 
18180
 
  case $GCC,$host_os in
18181
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
18182
 
    library_names_spec='$libname.dll.a'
18183
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
18184
 
    postinstall_cmds='base_file=`basename \${file}`~
18185
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18186
 
      dldir=$destdir/`dirname \$dlpath`~
18187
 
      test -d \$dldir || mkdir -p \$dldir~
18188
 
      $install_prog $dir/$dlname \$dldir/$dlname~
18189
 
      chmod a+x \$dldir/$dlname'
18190
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18191
 
      dlpath=$dir/\$dldll~
18192
 
       $rm \$dlpath'
18193
 
    shlibpath_overrides_runpath=yes
18194
 
 
18195
 
    case $host_os in
18196
 
    cygwin*)
18197
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18198
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18199
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18200
 
      ;;
18201
 
    mingw*)
18202
 
      # MinGW DLLs use traditional 'lib' prefix
18203
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18204
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18205
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18206
 
        # It is most probably a Windows format PATH printed by
18207
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
18208
 
        # path with ; separators, and with drive letters. We can handle the
18209
 
        # drive letters (cygwin fileutils understands them), so leave them,
18210
 
        # especially as we might pass files found there to a mingw objdump,
18211
 
        # which wouldn't understand a cygwinified path. Ahh.
18212
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18213
 
      else
18214
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18215
 
      fi
18216
 
      ;;
18217
 
    pw32*)
18218
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
18219
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18220
 
      ;;
18221
 
    esac
18222
 
    ;;
18223
 
 
18224
 
  *)
18225
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18226
 
    ;;
18227
 
  esac
18228
 
  dynamic_linker='Win32 ld.exe'
18229
 
  # FIXME: first we should search . and the directory the executable is in
18230
 
  shlibpath_var=PATH
18231
 
  ;;
18232
 
 
18233
 
darwin* | rhapsody*)
18234
 
  dynamic_linker="$host_os dyld"
18235
 
  version_type=darwin
18236
 
  need_lib_prefix=no
18237
 
  need_version=no
18238
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18239
 
  soname_spec='${libname}${release}${major}$shared_ext'
18240
 
  shlibpath_overrides_runpath=yes
18241
 
  shlibpath_var=DYLD_LIBRARY_PATH
18242
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18243
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18244
 
  if test "$GCC" = yes; then
18245
 
    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"`
18246
 
  else
18247
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18248
 
  fi
18249
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18250
 
  ;;
18251
 
 
18252
 
dgux*)
18253
 
  version_type=linux
18254
 
  need_lib_prefix=no
18255
 
  need_version=no
18256
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18257
 
  soname_spec='${libname}${release}${shared_ext}$major'
18258
 
  shlibpath_var=LD_LIBRARY_PATH
18259
 
  ;;
18260
 
 
18261
 
freebsd1*)
18262
 
  dynamic_linker=no
18263
 
  ;;
18264
 
 
18265
 
freebsd* | dragonfly*)
18266
 
  # DragonFly does not have aout.  When/if they implement a new
18267
 
  # versioning mechanism, adjust this.
18268
 
  if test -x /usr/bin/objformat; then
18269
 
    objformat=`/usr/bin/objformat`
18270
 
  else
18271
 
    case $host_os in
18272
 
    freebsd[123]*) objformat=aout ;;
18273
 
    *) objformat=elf ;;
18274
 
    esac
18275
 
  fi
18276
 
  version_type=freebsd-$objformat
18277
 
  case $version_type in
18278
 
    freebsd-elf*)
18279
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18280
 
      need_version=no
18281
 
      need_lib_prefix=no
18282
 
      ;;
18283
 
    freebsd-*)
18284
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18285
 
      need_version=yes
18286
 
      ;;
18287
 
  esac
18288
 
  shlibpath_var=LD_LIBRARY_PATH
18289
 
  case $host_os in
18290
 
  freebsd2*)
18291
 
    shlibpath_overrides_runpath=yes
18292
 
    ;;
18293
 
  freebsd3.[01]* | freebsdelf3.[01]*)
18294
 
    shlibpath_overrides_runpath=yes
18295
 
    hardcode_into_libs=yes
18296
 
    ;;
18297
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18298
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18299
 
    shlibpath_overrides_runpath=no
18300
 
    hardcode_into_libs=yes
18301
 
    ;;
18302
 
  freebsd*) # from 4.6 on
18303
 
    shlibpath_overrides_runpath=yes
18304
 
    hardcode_into_libs=yes
18305
 
    ;;
18306
 
  esac
18307
 
  ;;
18308
 
 
18309
 
gnu*)
18310
 
  version_type=linux
18311
 
  need_lib_prefix=no
18312
 
  need_version=no
18313
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18314
 
  soname_spec='${libname}${release}${shared_ext}$major'
18315
 
  shlibpath_var=LD_LIBRARY_PATH
18316
 
  hardcode_into_libs=yes
18317
 
  ;;
18318
 
 
18319
 
hpux9* | hpux10* | hpux11*)
18320
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
18321
 
  # link against other versions.
18322
 
  version_type=sunos
18323
 
  need_lib_prefix=no
18324
 
  need_version=no
18325
 
  case $host_cpu in
18326
 
  ia64*)
18327
 
    shrext_cmds='.so'
18328
 
    hardcode_into_libs=yes
18329
 
    dynamic_linker="$host_os dld.so"
18330
 
    shlibpath_var=LD_LIBRARY_PATH
18331
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18332
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18333
 
    soname_spec='${libname}${release}${shared_ext}$major'
18334
 
    if test "X$HPUX_IA64_MODE" = X32; then
18335
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18336
 
    else
18337
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18338
 
    fi
18339
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18340
 
    ;;
18341
 
   hppa*64*)
18342
 
     shrext_cmds='.sl'
18343
 
     hardcode_into_libs=yes
18344
 
     dynamic_linker="$host_os dld.sl"
18345
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18346
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18347
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18348
 
     soname_spec='${libname}${release}${shared_ext}$major'
18349
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18350
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18351
 
     ;;
18352
 
   *)
18353
 
    shrext_cmds='.sl'
18354
 
    dynamic_linker="$host_os dld.sl"
18355
 
    shlibpath_var=SHLIB_PATH
18356
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18357
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18358
 
    soname_spec='${libname}${release}${shared_ext}$major'
18359
 
    ;;
18360
 
  esac
18361
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
18362
 
  postinstall_cmds='chmod 555 $lib'
18363
 
  ;;
18364
 
 
18365
 
interix3*)
18366
 
  version_type=linux
18367
 
  need_lib_prefix=no
18368
 
  need_version=no
18369
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18370
 
  soname_spec='${libname}${release}${shared_ext}$major'
18371
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18372
 
  shlibpath_var=LD_LIBRARY_PATH
18373
 
  shlibpath_overrides_runpath=no
18374
 
  hardcode_into_libs=yes
18375
 
  ;;
18376
 
 
18377
 
irix5* | irix6* | nonstopux*)
18378
 
  case $host_os in
18379
 
    nonstopux*) version_type=nonstopux ;;
18380
 
    *)
18381
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
18382
 
                version_type=linux
18383
 
        else
18384
 
                version_type=irix
18385
 
        fi ;;
18386
 
  esac
18387
 
  need_lib_prefix=no
18388
 
  need_version=no
18389
 
  soname_spec='${libname}${release}${shared_ext}$major'
18390
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18391
 
  case $host_os in
18392
 
  irix5* | nonstopux*)
18393
 
    libsuff= shlibsuff=
18394
 
    ;;
18395
 
  *)
18396
 
    case $LD in # libtool.m4 will add one of these switches to LD
18397
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18398
 
      libsuff= shlibsuff= libmagic=32-bit;;
18399
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18400
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
18401
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18402
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
18403
 
    *) libsuff= shlibsuff= libmagic=never-match;;
18404
 
    esac
18405
 
    ;;
18406
 
  esac
18407
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18408
 
  shlibpath_overrides_runpath=no
18409
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18410
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18411
 
  hardcode_into_libs=yes
18412
 
  ;;
18413
 
 
18414
 
# No shared lib support for Linux oldld, aout, or coff.
18415
 
linux*oldld* | linux*aout* | linux*coff*)
18416
 
  dynamic_linker=no
18417
 
  ;;
18418
 
 
18419
 
# This must be Linux ELF.
18420
 
linux* | k*bsd*-gnu)
18421
 
  version_type=linux
18422
 
  need_lib_prefix=no
18423
 
  need_version=no
18424
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18425
 
  soname_spec='${libname}${release}${shared_ext}$major'
18426
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18427
 
  shlibpath_var=LD_LIBRARY_PATH
18428
 
  shlibpath_overrides_runpath=no
18429
 
  # This implies no fast_install, which is unacceptable.
18430
 
  # Some rework will be needed to allow for fast_install
18431
 
  # before this can be enabled.
18432
 
  hardcode_into_libs=yes
18433
 
 
18434
 
  # Append ld.so.conf contents to the search path
18435
 
  if test -f /etc/ld.so.conf; then
18436
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18437
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18438
 
  fi
18439
 
 
18440
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
18441
 
  # powerpc, because MkLinux only supported shared libraries with the
18442
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
18443
 
  # most powerpc-linux boxes support dynamic linking these days and
18444
 
  # people can always --disable-shared, the test was removed, and we
18445
 
  # assume the GNU/Linux dynamic linker is in use.
18446
 
  dynamic_linker='GNU/Linux ld.so'
18447
 
  ;;
18448
 
 
18449
 
netbsdelf*-gnu)
18450
 
  version_type=linux
18451
 
  need_lib_prefix=no
18452
 
  need_version=no
18453
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18454
 
  soname_spec='${libname}${release}${shared_ext}$major'
18455
 
  shlibpath_var=LD_LIBRARY_PATH
18456
 
  shlibpath_overrides_runpath=no
18457
 
  hardcode_into_libs=yes
18458
 
  dynamic_linker='NetBSD ld.elf_so'
18459
 
  ;;
18460
 
 
18461
 
netbsd*)
18462
 
  version_type=sunos
18463
 
  need_lib_prefix=no
18464
 
  need_version=no
18465
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18466
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18467
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18468
 
    dynamic_linker='NetBSD (a.out) ld.so'
18469
 
  else
18470
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18471
 
    soname_spec='${libname}${release}${shared_ext}$major'
18472
 
    dynamic_linker='NetBSD ld.elf_so'
18473
 
  fi
18474
 
  shlibpath_var=LD_LIBRARY_PATH
18475
 
  shlibpath_overrides_runpath=yes
18476
 
  hardcode_into_libs=yes
18477
 
  ;;
18478
 
 
18479
 
newsos6)
18480
 
  version_type=linux
18481
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18482
 
  shlibpath_var=LD_LIBRARY_PATH
18483
 
  shlibpath_overrides_runpath=yes
18484
 
  ;;
18485
 
 
18486
 
nto-qnx*)
18487
 
  version_type=linux
18488
 
  need_lib_prefix=no
18489
 
  need_version=no
18490
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18491
 
  soname_spec='${libname}${release}${shared_ext}$major'
18492
 
  shlibpath_var=LD_LIBRARY_PATH
18493
 
  shlibpath_overrides_runpath=yes
18494
 
  ;;
18495
 
 
18496
 
openbsd*)
18497
 
  version_type=sunos
18498
 
  sys_lib_dlsearch_path_spec="/usr/lib"
18499
 
  need_lib_prefix=no
18500
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18501
 
  case $host_os in
18502
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18503
 
    *)                         need_version=no  ;;
18504
 
  esac
18505
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18506
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18507
 
  shlibpath_var=LD_LIBRARY_PATH
18508
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18509
 
    case $host_os in
18510
 
      openbsd2.[89] | openbsd2.[89].*)
18511
 
        shlibpath_overrides_runpath=no
18512
 
        ;;
18513
 
      *)
18514
 
        shlibpath_overrides_runpath=yes
18515
 
        ;;
18516
 
      esac
18517
 
  else
18518
 
    shlibpath_overrides_runpath=yes
18519
 
  fi
18520
 
  ;;
18521
 
 
18522
 
os2*)
18523
 
  libname_spec='$name'
18524
 
  shrext_cmds=".dll"
18525
 
  need_lib_prefix=no
18526
 
  library_names_spec='$libname${shared_ext} $libname.a'
18527
 
  dynamic_linker='OS/2 ld.exe'
18528
 
  shlibpath_var=LIBPATH
18529
 
  ;;
18530
 
 
18531
 
osf3* | osf4* | osf5*)
18532
 
  version_type=osf
18533
 
  need_lib_prefix=no
18534
 
  need_version=no
18535
 
  soname_spec='${libname}${release}${shared_ext}$major'
18536
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18537
 
  shlibpath_var=LD_LIBRARY_PATH
18538
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18539
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18540
 
  ;;
18541
 
 
18542
 
solaris*)
18543
 
  version_type=linux
18544
 
  need_lib_prefix=no
18545
 
  need_version=no
18546
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18547
 
  soname_spec='${libname}${release}${shared_ext}$major'
18548
 
  shlibpath_var=LD_LIBRARY_PATH
18549
 
  shlibpath_overrides_runpath=yes
18550
 
  hardcode_into_libs=yes
18551
 
  # ldd complains unless libraries are executable
18552
 
  postinstall_cmds='chmod +x $lib'
18553
 
  ;;
18554
 
 
18555
 
sunos4*)
18556
 
  version_type=sunos
18557
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18558
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18559
 
  shlibpath_var=LD_LIBRARY_PATH
18560
 
  shlibpath_overrides_runpath=yes
18561
 
  if test "$with_gnu_ld" = yes; then
18562
 
    need_lib_prefix=no
18563
 
  fi
18564
 
  need_version=yes
18565
 
  ;;
18566
 
 
18567
 
sysv4 | sysv4.3*)
18568
 
  version_type=linux
18569
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18570
 
  soname_spec='${libname}${release}${shared_ext}$major'
18571
 
  shlibpath_var=LD_LIBRARY_PATH
18572
 
  case $host_vendor in
18573
 
    sni)
18574
 
      shlibpath_overrides_runpath=no
18575
 
      need_lib_prefix=no
18576
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
18577
 
      runpath_var=LD_RUN_PATH
18578
 
      ;;
18579
 
    siemens)
18580
 
      need_lib_prefix=no
18581
 
      ;;
18582
 
    motorola)
18583
 
      need_lib_prefix=no
18584
 
      need_version=no
18585
 
      shlibpath_overrides_runpath=no
18586
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18587
 
      ;;
18588
 
  esac
18589
 
  ;;
18590
 
 
18591
 
sysv4*MP*)
18592
 
  if test -d /usr/nec ;then
18593
 
    version_type=linux
18594
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18595
 
    soname_spec='$libname${shared_ext}.$major'
18596
 
    shlibpath_var=LD_LIBRARY_PATH
18597
 
  fi
18598
 
  ;;
18599
 
 
18600
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18601
 
  version_type=freebsd-elf
18602
 
  need_lib_prefix=no
18603
 
  need_version=no
18604
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18605
 
  soname_spec='${libname}${release}${shared_ext}$major'
18606
 
  shlibpath_var=LD_LIBRARY_PATH
18607
 
  hardcode_into_libs=yes
18608
 
  if test "$with_gnu_ld" = yes; then
18609
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18610
 
    shlibpath_overrides_runpath=no
18611
 
  else
18612
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18613
 
    shlibpath_overrides_runpath=yes
18614
 
    case $host_os in
18615
 
      sco3.2v5*)
18616
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18617
 
        ;;
18618
 
    esac
18619
 
  fi
18620
 
  sys_lib_dlsearch_path_spec='/usr/lib'
18621
 
  ;;
18622
 
 
18623
 
uts4*)
18624
 
  version_type=linux
18625
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18626
 
  soname_spec='${libname}${release}${shared_ext}$major'
18627
 
  shlibpath_var=LD_LIBRARY_PATH
18628
 
  ;;
18629
 
 
18630
 
*)
18631
 
  dynamic_linker=no
18632
 
  ;;
18633
 
esac
18634
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18635
 
echo "${ECHO_T}$dynamic_linker" >&6; }
18636
 
test "$dynamic_linker" = no && can_build_shared=no
18637
 
 
18638
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18639
 
if test "$GCC" = yes; then
18640
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18641
 
fi
18642
 
 
18643
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18644
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18645
 
hardcode_action_GCJ=
18646
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18647
 
   test -n "$runpath_var_GCJ" || \
18648
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18649
 
 
18650
 
  # We can hardcode non-existant directories.
18651
 
  if test "$hardcode_direct_GCJ" != no &&
18652
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
18653
 
     # have to relink, otherwise we might link with an installed library
18654
 
     # when we should be linking with a yet-to-be-installed one
18655
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18656
 
     test "$hardcode_minus_L_GCJ" != no; then
18657
 
    # Linking always hardcodes the temporary library directory.
18658
 
    hardcode_action_GCJ=relink
18659
 
  else
18660
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
18661
 
    hardcode_action_GCJ=immediate
18662
 
  fi
18663
 
else
18664
 
  # We cannot hardcode anything, or else we can only hardcode existing
18665
 
  # directories.
18666
 
  hardcode_action_GCJ=unsupported
18667
 
fi
18668
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18669
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18670
 
 
18671
 
if test "$hardcode_action_GCJ" = relink; then
18672
 
  # Fast installation is not supported
18673
 
  enable_fast_install=no
18674
 
elif test "$shlibpath_overrides_runpath" = yes ||
18675
 
     test "$enable_shared" = no; then
18676
 
  # Fast installation is not necessary
18677
 
  enable_fast_install=needless
18678
 
fi
18679
 
 
18680
 
 
18681
 
# The else clause should only fire when bootstrapping the
18682
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
18683
 
# with your package, and you will get complaints that there are
18684
 
# no rules to generate ltmain.sh.
18685
 
if test -f "$ltmain"; then
18686
 
  # See if we are running on zsh, and set the options which allow our commands through
18687
 
  # without removal of \ escapes.
18688
 
  if test -n "${ZSH_VERSION+set}" ; then
18689
 
    setopt NO_GLOB_SUBST
18690
 
  fi
18691
 
  # Now quote all the things that may contain metacharacters while being
18692
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18693
 
  # variables and quote the copies for generation of the libtool script.
18694
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18695
 
    SED SHELL STRIP \
18696
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18697
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18698
 
    deplibs_check_method reload_flag reload_cmds need_locks \
18699
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18700
 
    lt_cv_sys_global_symbol_to_c_name_address \
18701
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18702
 
    old_postinstall_cmds old_postuninstall_cmds \
18703
 
    compiler_GCJ \
18704
 
    CC_GCJ \
18705
 
    LD_GCJ \
18706
 
    lt_prog_compiler_wl_GCJ \
18707
 
    lt_prog_compiler_pic_GCJ \
18708
 
    lt_prog_compiler_static_GCJ \
18709
 
    lt_prog_compiler_no_builtin_flag_GCJ \
18710
 
    export_dynamic_flag_spec_GCJ \
18711
 
    thread_safe_flag_spec_GCJ \
18712
 
    whole_archive_flag_spec_GCJ \
18713
 
    enable_shared_with_static_runtimes_GCJ \
18714
 
    old_archive_cmds_GCJ \
18715
 
    old_archive_from_new_cmds_GCJ \
18716
 
    predep_objects_GCJ \
18717
 
    postdep_objects_GCJ \
18718
 
    predeps_GCJ \
18719
 
    postdeps_GCJ \
18720
 
    compiler_lib_search_path_GCJ \
18721
 
    archive_cmds_GCJ \
18722
 
    archive_expsym_cmds_GCJ \
18723
 
    postinstall_cmds_GCJ \
18724
 
    postuninstall_cmds_GCJ \
18725
 
    old_archive_from_expsyms_cmds_GCJ \
18726
 
    allow_undefined_flag_GCJ \
18727
 
    no_undefined_flag_GCJ \
18728
 
    export_symbols_cmds_GCJ \
18729
 
    hardcode_libdir_flag_spec_GCJ \
18730
 
    hardcode_libdir_flag_spec_ld_GCJ \
18731
 
    hardcode_libdir_separator_GCJ \
18732
 
    hardcode_automatic_GCJ \
18733
 
    module_cmds_GCJ \
18734
 
    module_expsym_cmds_GCJ \
18735
 
    lt_cv_prog_compiler_c_o_GCJ \
18736
 
    exclude_expsyms_GCJ \
18737
 
    include_expsyms_GCJ; do
18738
 
 
18739
 
    case $var in
18740
 
    old_archive_cmds_GCJ | \
18741
 
    old_archive_from_new_cmds_GCJ | \
18742
 
    archive_cmds_GCJ | \
18743
 
    archive_expsym_cmds_GCJ | \
18744
 
    module_cmds_GCJ | \
18745
 
    module_expsym_cmds_GCJ | \
18746
 
    old_archive_from_expsyms_cmds_GCJ | \
18747
 
    export_symbols_cmds_GCJ | \
18748
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
18749
 
    postinstall_cmds | postuninstall_cmds | \
18750
 
    old_postinstall_cmds | old_postuninstall_cmds | \
18751
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18752
 
      # Double-quote double-evaled strings.
18753
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18754
 
      ;;
18755
 
    *)
18756
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18757
 
      ;;
18758
 
    esac
18759
 
  done
18760
 
 
18761
 
  case $lt_echo in
18762
 
  *'\$0 --fallback-echo"')
18763
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18764
 
    ;;
18765
 
  esac
18766
 
 
18767
 
cfgfile="$ofile"
18768
 
 
18769
 
  cat <<__EOF__ >> "$cfgfile"
18770
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18771
 
 
18772
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18773
 
 
18774
 
# Shell to use when invoking shell scripts.
18775
 
SHELL=$lt_SHELL
18776
 
 
18777
 
# Whether or not to build shared libraries.
18778
 
build_libtool_libs=$enable_shared
18779
 
 
18780
 
# Whether or not to build static libraries.
18781
 
build_old_libs=$enable_static
18782
 
 
18783
 
# Whether or not to add -lc for building shared libraries.
18784
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18785
 
 
18786
 
# Whether or not to disallow shared libs when runtime libs are static
18787
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18788
 
 
18789
 
# Whether or not to optimize for fast installation.
18790
 
fast_install=$enable_fast_install
18791
 
 
18792
 
# The host system.
18793
 
host_alias=$host_alias
18794
 
host=$host
18795
 
host_os=$host_os
18796
 
 
18797
 
# The build system.
18798
 
build_alias=$build_alias
18799
 
build=$build
18800
 
build_os=$build_os
18801
 
 
18802
 
# An echo program that does not interpret backslashes.
18803
 
echo=$lt_echo
18804
 
 
18805
 
# The archiver.
18806
 
AR=$lt_AR
18807
 
AR_FLAGS=$lt_AR_FLAGS
18808
 
 
18809
 
# A C compiler.
18810
 
LTCC=$lt_LTCC
18811
 
 
18812
 
# LTCC compiler flags.
18813
 
LTCFLAGS=$lt_LTCFLAGS
18814
 
 
18815
 
# A language-specific compiler.
18816
 
CC=$lt_compiler_GCJ
18817
 
 
18818
 
# Is the compiler the GNU C compiler?
18819
 
with_gcc=$GCC_GCJ
18820
 
 
18821
 
# An ERE matcher.
18822
 
EGREP=$lt_EGREP
18823
 
 
18824
 
# The linker used to build libraries.
18825
 
LD=$lt_LD_GCJ
18826
 
 
18827
 
# Whether we need hard or soft links.
18828
 
LN_S=$lt_LN_S
18829
 
 
18830
 
# A BSD-compatible nm program.
18831
 
NM=$lt_NM
18832
 
 
18833
 
# A symbol stripping program
18834
 
STRIP=$lt_STRIP
18835
 
 
18836
 
# Used to examine libraries when file_magic_cmd begins "file"
18837
 
MAGIC_CMD=$MAGIC_CMD
18838
 
 
18839
 
# Used on cygwin: DLL creation program.
18840
 
DLLTOOL="$DLLTOOL"
18841
 
 
18842
 
# Used on cygwin: object dumper.
18843
 
OBJDUMP="$OBJDUMP"
18844
 
 
18845
 
# Used on cygwin: assembler.
18846
 
AS="$AS"
18847
 
 
18848
 
# The name of the directory that contains temporary libtool files.
18849
 
objdir=$objdir
18850
 
 
18851
 
# How to create reloadable object files.
18852
 
reload_flag=$lt_reload_flag
18853
 
reload_cmds=$lt_reload_cmds
18854
 
 
18855
 
# How to pass a linker flag through the compiler.
18856
 
wl=$lt_lt_prog_compiler_wl_GCJ
18857
 
 
18858
 
# Object file suffix (normally "o").
18859
 
objext="$ac_objext"
18860
 
 
18861
 
# Old archive suffix (normally "a").
18862
 
libext="$libext"
18863
 
 
18864
 
# Shared library suffix (normally ".so").
18865
 
shrext_cmds='$shrext_cmds'
18866
 
 
18867
 
# Executable file suffix (normally "").
18868
 
exeext="$exeext"
18869
 
 
18870
 
# Additional compiler flags for building library objects.
18871
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
18872
 
pic_mode=$pic_mode
18873
 
 
18874
 
# What is the maximum length of a command?
18875
 
max_cmd_len=$lt_cv_sys_max_cmd_len
18876
 
 
18877
 
# Does compiler simultaneously support -c and -o options?
18878
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18879
 
 
18880
 
# Must we lock files when doing compilation?
18881
 
need_locks=$lt_need_locks
18882
 
 
18883
 
# Do we need the lib prefix for modules?
18884
 
need_lib_prefix=$need_lib_prefix
18885
 
 
18886
 
# Do we need a version for libraries?
18887
 
need_version=$need_version
18888
 
 
18889
 
# Whether dlopen is supported.
18890
 
dlopen_support=$enable_dlopen
18891
 
 
18892
 
# Whether dlopen of programs is supported.
18893
 
dlopen_self=$enable_dlopen_self
18894
 
 
18895
 
# Whether dlopen of statically linked programs is supported.
18896
 
dlopen_self_static=$enable_dlopen_self_static
18897
 
 
18898
 
# Compiler flag to prevent dynamic linking.
18899
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
18900
 
 
18901
 
# Compiler flag to turn off builtin functions.
18902
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18903
 
 
18904
 
# Compiler flag to allow reflexive dlopens.
18905
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18906
 
 
18907
 
# Compiler flag to generate shared objects directly from archives.
18908
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18909
 
 
18910
 
# Compiler flag to generate thread-safe objects.
18911
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18912
 
 
18913
 
# Library versioning type.
18914
 
version_type=$version_type
18915
 
 
18916
 
# Format of library name prefix.
18917
 
libname_spec=$lt_libname_spec
18918
 
 
18919
 
# List of archive names.  First name is the real one, the rest are links.
18920
 
# The last name is the one that the linker finds with -lNAME.
18921
 
library_names_spec=$lt_library_names_spec
18922
 
 
18923
 
# The coded name of the library, if different from the real name.
18924
 
soname_spec=$lt_soname_spec
18925
 
 
18926
 
# Commands used to build and install an old-style archive.
18927
 
RANLIB=$lt_RANLIB
18928
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
18929
 
old_postinstall_cmds=$lt_old_postinstall_cmds
18930
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18931
 
 
18932
 
# Create an old-style archive from a shared archive.
18933
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18934
 
 
18935
 
# Create a temporary old-style archive to link instead of a shared archive.
18936
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18937
 
 
18938
 
# Commands used to build and install a shared archive.
18939
 
archive_cmds=$lt_archive_cmds_GCJ
18940
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18941
 
postinstall_cmds=$lt_postinstall_cmds
18942
 
postuninstall_cmds=$lt_postuninstall_cmds
18943
 
 
18944
 
# Commands used to build a loadable module (assumed same as above if empty)
18945
 
module_cmds=$lt_module_cmds_GCJ
18946
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18947
 
 
18948
 
# Commands to strip libraries.
18949
 
old_striplib=$lt_old_striplib
18950
 
striplib=$lt_striplib
18951
 
 
18952
 
# Dependencies to place before the objects being linked to create a
18953
 
# shared library.
18954
 
predep_objects=$lt_predep_objects_GCJ
18955
 
 
18956
 
# Dependencies to place after the objects being linked to create a
18957
 
# shared library.
18958
 
postdep_objects=$lt_postdep_objects_GCJ
18959
 
 
18960
 
# Dependencies to place before the objects being linked to create a
18961
 
# shared library.
18962
 
predeps=$lt_predeps_GCJ
18963
 
 
18964
 
# Dependencies to place after the objects being linked to create a
18965
 
# shared library.
18966
 
postdeps=$lt_postdeps_GCJ
18967
 
 
18968
 
# The library search path used internally by the compiler when linking
18969
 
# a shared library.
18970
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18971
 
 
18972
 
# Method to check whether dependent libraries are shared objects.
18973
 
deplibs_check_method=$lt_deplibs_check_method
18974
 
 
18975
 
# Command to use when deplibs_check_method == file_magic.
18976
 
file_magic_cmd=$lt_file_magic_cmd
18977
 
 
18978
 
# Flag that allows shared libraries with undefined symbols to be built.
18979
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18980
 
 
18981
 
# Flag that forces no undefined symbols.
18982
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
18983
 
 
18984
 
# Commands used to finish a libtool library installation in a directory.
18985
 
finish_cmds=$lt_finish_cmds
18986
 
 
18987
 
# Same as above, but a single script fragment to be evaled but not shown.
18988
 
finish_eval=$lt_finish_eval
18989
 
 
18990
 
# Take the output of nm and produce a listing of raw symbols and C names.
18991
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18992
 
 
18993
 
# Transform the output of nm in a proper C declaration
18994
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18995
 
 
18996
 
# Transform the output of nm in a C name address pair
18997
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18998
 
 
18999
 
# This is the shared library runtime path variable.
19000
 
runpath_var=$runpath_var
19001
 
 
19002
 
# This is the shared library path variable.
19003
 
shlibpath_var=$shlibpath_var
19004
 
 
19005
 
# Is shlibpath searched before the hard-coded library search path?
19006
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19007
 
 
19008
 
# How to hardcode a shared library path into an executable.
19009
 
hardcode_action=$hardcode_action_GCJ
19010
 
 
19011
 
# Whether we should hardcode library paths into libraries.
19012
 
hardcode_into_libs=$hardcode_into_libs
19013
 
 
19014
 
# Flag to hardcode \$libdir into a binary during linking.
19015
 
# This must work even if \$libdir does not exist.
19016
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19017
 
 
19018
 
# If ld is used when linking, flag to hardcode \$libdir into
19019
 
# a binary during linking. This must work even if \$libdir does
19020
 
# not exist.
19021
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19022
 
 
19023
 
# Whether we need a single -rpath flag with a separated argument.
19024
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19025
 
 
19026
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19027
 
# resulting binary.
19028
 
hardcode_direct=$hardcode_direct_GCJ
19029
 
 
19030
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19031
 
# resulting binary.
19032
 
hardcode_minus_L=$hardcode_minus_L_GCJ
19033
 
 
19034
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19035
 
# the resulting binary.
19036
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19037
 
 
19038
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19039
 
# and all subsequent libraries and executables linked against it.
19040
 
hardcode_automatic=$hardcode_automatic_GCJ
19041
 
 
19042
 
# Variables whose values should be saved in libtool wrapper scripts and
19043
 
# restored at relink time.
19044
 
variables_saved_for_relink="$variables_saved_for_relink"
19045
 
 
19046
 
# Whether libtool must link a program against all its dependency libraries.
19047
 
link_all_deplibs=$link_all_deplibs_GCJ
19048
 
 
19049
 
# Compile-time system search path for libraries
19050
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19051
 
 
19052
 
# Run-time system search path for libraries
19053
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19054
 
 
19055
 
# Fix the shell variable \$srcfile for the compiler.
19056
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
19057
 
 
19058
 
# Set to yes if exported symbols are required.
19059
 
always_export_symbols=$always_export_symbols_GCJ
19060
 
 
19061
 
# The commands to list exported symbols.
19062
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19063
 
 
19064
 
# The commands to extract the exported symbol list from a shared archive.
19065
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19066
 
 
19067
 
# Symbols that should not be listed in the preloaded symbols.
19068
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
19069
 
 
19070
 
# Symbols that must always be exported.
19071
 
include_expsyms=$lt_include_expsyms_GCJ
19072
 
 
19073
 
# ### END LIBTOOL TAG CONFIG: $tagname
19074
 
 
19075
 
__EOF__
19076
 
 
19077
 
 
19078
 
else
19079
 
  # If there is no Makefile yet, we rely on a make rule to execute
19080
 
  # `config.status --recheck' to rerun these tests and create the
19081
 
  # libtool script then.
19082
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19083
 
  if test -f "$ltmain_in"; then
19084
 
    test -f Makefile && make "$ltmain"
19085
 
  fi
19086
 
fi
19087
 
 
19088
 
 
19089
 
ac_ext=c
19090
 
ac_cpp='$CPP $CPPFLAGS'
19091
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19092
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19093
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19094
 
 
19095
 
CC="$lt_save_CC"
19096
 
 
19097
 
        else
19098
 
          tagname=""
19099
 
        fi
19100
 
        ;;
19101
 
 
19102
 
      RC)
19103
 
 
19104
 
 
19105
 
# Source file extension for RC test sources.
19106
 
ac_ext=rc
19107
 
 
19108
 
# Object file extension for compiled RC test sources.
19109
 
objext=o
19110
 
objext_RC=$objext
19111
 
 
19112
 
# Code to be used in simple compile tests
19113
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
19114
 
 
19115
 
# Code to be used in simple link tests
19116
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
19117
 
 
19118
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19119
 
 
19120
 
# If no C compiler was specified, use CC.
19121
 
LTCC=${LTCC-"$CC"}
19122
 
 
19123
 
# If no C compiler flags were specified, use CFLAGS.
19124
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19125
 
 
19126
 
# Allow CC to be a program name with arguments.
19127
 
compiler=$CC
19128
 
 
19129
 
 
19130
 
# save warnings/boilerplate of simple test code
19131
 
ac_outfile=conftest.$ac_objext
19132
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
19133
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19134
 
_lt_compiler_boilerplate=`cat conftest.err`
19135
 
$rm conftest*
19136
 
 
19137
 
ac_outfile=conftest.$ac_objext
19138
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
19139
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19140
 
_lt_linker_boilerplate=`cat conftest.err`
19141
 
$rm conftest*
19142
 
 
19143
 
 
19144
 
# Allow CC to be a program name with arguments.
19145
 
lt_save_CC="$CC"
19146
 
CC=${RC-"windres"}
19147
 
compiler=$CC
19148
 
compiler_RC=$CC
19149
 
for cc_temp in $compiler""; do
19150
 
  case $cc_temp in
19151
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19152
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19153
 
    \-*) ;;
19154
 
    *) break;;
19155
 
  esac
19156
 
done
19157
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19158
 
 
19159
 
lt_cv_prog_compiler_c_o_RC=yes
19160
 
 
19161
 
# The else clause should only fire when bootstrapping the
19162
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
19163
 
# with your package, and you will get complaints that there are
19164
 
# no rules to generate ltmain.sh.
19165
 
if test -f "$ltmain"; then
19166
 
  # See if we are running on zsh, and set the options which allow our commands through
19167
 
  # without removal of \ escapes.
19168
 
  if test -n "${ZSH_VERSION+set}" ; then
19169
 
    setopt NO_GLOB_SUBST
19170
 
  fi
19171
 
  # Now quote all the things that may contain metacharacters while being
19172
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19173
 
  # variables and quote the copies for generation of the libtool script.
19174
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19175
 
    SED SHELL STRIP \
19176
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19177
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19178
 
    deplibs_check_method reload_flag reload_cmds need_locks \
19179
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19180
 
    lt_cv_sys_global_symbol_to_c_name_address \
19181
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19182
 
    old_postinstall_cmds old_postuninstall_cmds \
19183
 
    compiler_RC \
19184
 
    CC_RC \
19185
 
    LD_RC \
19186
 
    lt_prog_compiler_wl_RC \
19187
 
    lt_prog_compiler_pic_RC \
19188
 
    lt_prog_compiler_static_RC \
19189
 
    lt_prog_compiler_no_builtin_flag_RC \
19190
 
    export_dynamic_flag_spec_RC \
19191
 
    thread_safe_flag_spec_RC \
19192
 
    whole_archive_flag_spec_RC \
19193
 
    enable_shared_with_static_runtimes_RC \
19194
 
    old_archive_cmds_RC \
19195
 
    old_archive_from_new_cmds_RC \
19196
 
    predep_objects_RC \
19197
 
    postdep_objects_RC \
19198
 
    predeps_RC \
19199
 
    postdeps_RC \
19200
 
    compiler_lib_search_path_RC \
19201
 
    archive_cmds_RC \
19202
 
    archive_expsym_cmds_RC \
19203
 
    postinstall_cmds_RC \
19204
 
    postuninstall_cmds_RC \
19205
 
    old_archive_from_expsyms_cmds_RC \
19206
 
    allow_undefined_flag_RC \
19207
 
    no_undefined_flag_RC \
19208
 
    export_symbols_cmds_RC \
19209
 
    hardcode_libdir_flag_spec_RC \
19210
 
    hardcode_libdir_flag_spec_ld_RC \
19211
 
    hardcode_libdir_separator_RC \
19212
 
    hardcode_automatic_RC \
19213
 
    module_cmds_RC \
19214
 
    module_expsym_cmds_RC \
19215
 
    lt_cv_prog_compiler_c_o_RC \
19216
 
    exclude_expsyms_RC \
19217
 
    include_expsyms_RC; do
19218
 
 
19219
 
    case $var in
19220
 
    old_archive_cmds_RC | \
19221
 
    old_archive_from_new_cmds_RC | \
19222
 
    archive_cmds_RC | \
19223
 
    archive_expsym_cmds_RC | \
19224
 
    module_cmds_RC | \
19225
 
    module_expsym_cmds_RC | \
19226
 
    old_archive_from_expsyms_cmds_RC | \
19227
 
    export_symbols_cmds_RC | \
19228
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19229
 
    postinstall_cmds | postuninstall_cmds | \
19230
 
    old_postinstall_cmds | old_postuninstall_cmds | \
19231
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19232
 
      # Double-quote double-evaled strings.
19233
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19234
 
      ;;
19235
 
    *)
19236
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19237
 
      ;;
19238
 
    esac
19239
 
  done
19240
 
 
19241
 
  case $lt_echo in
19242
 
  *'\$0 --fallback-echo"')
19243
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19244
 
    ;;
19245
 
  esac
19246
 
 
19247
 
cfgfile="$ofile"
19248
 
 
19249
 
  cat <<__EOF__ >> "$cfgfile"
19250
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19251
 
 
19252
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19253
 
 
19254
 
# Shell to use when invoking shell scripts.
19255
 
SHELL=$lt_SHELL
19256
 
 
19257
 
# Whether or not to build shared libraries.
19258
 
build_libtool_libs=$enable_shared
19259
 
 
19260
 
# Whether or not to build static libraries.
19261
 
build_old_libs=$enable_static
19262
 
 
19263
 
# Whether or not to add -lc for building shared libraries.
19264
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
19265
 
 
19266
 
# Whether or not to disallow shared libs when runtime libs are static
19267
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19268
 
 
19269
 
# Whether or not to optimize for fast installation.
19270
 
fast_install=$enable_fast_install
19271
 
 
19272
 
# The host system.
19273
 
host_alias=$host_alias
19274
 
host=$host
19275
 
host_os=$host_os
19276
 
 
19277
 
# The build system.
19278
 
build_alias=$build_alias
19279
 
build=$build
19280
 
build_os=$build_os
19281
 
 
19282
 
# An echo program that does not interpret backslashes.
19283
 
echo=$lt_echo
19284
 
 
19285
 
# The archiver.
19286
 
AR=$lt_AR
19287
 
AR_FLAGS=$lt_AR_FLAGS
19288
 
 
19289
 
# A C compiler.
19290
 
LTCC=$lt_LTCC
19291
 
 
19292
 
# LTCC compiler flags.
19293
 
LTCFLAGS=$lt_LTCFLAGS
19294
 
 
19295
 
# A language-specific compiler.
19296
 
CC=$lt_compiler_RC
19297
 
 
19298
 
# Is the compiler the GNU C compiler?
19299
 
with_gcc=$GCC_RC
19300
 
 
19301
 
# An ERE matcher.
19302
 
EGREP=$lt_EGREP
19303
 
 
19304
 
# The linker used to build libraries.
19305
 
LD=$lt_LD_RC
19306
 
 
19307
 
# Whether we need hard or soft links.
19308
 
LN_S=$lt_LN_S
19309
 
 
19310
 
# A BSD-compatible nm program.
19311
 
NM=$lt_NM
19312
 
 
19313
 
# A symbol stripping program
19314
 
STRIP=$lt_STRIP
19315
 
 
19316
 
# Used to examine libraries when file_magic_cmd begins "file"
19317
 
MAGIC_CMD=$MAGIC_CMD
19318
 
 
19319
 
# Used on cygwin: DLL creation program.
19320
 
DLLTOOL="$DLLTOOL"
19321
 
 
19322
 
# Used on cygwin: object dumper.
19323
 
OBJDUMP="$OBJDUMP"
19324
 
 
19325
 
# Used on cygwin: assembler.
19326
 
AS="$AS"
19327
 
 
19328
 
# The name of the directory that contains temporary libtool files.
19329
 
objdir=$objdir
19330
 
 
19331
 
# How to create reloadable object files.
19332
 
reload_flag=$lt_reload_flag
19333
 
reload_cmds=$lt_reload_cmds
19334
 
 
19335
 
# How to pass a linker flag through the compiler.
19336
 
wl=$lt_lt_prog_compiler_wl_RC
19337
 
 
19338
 
# Object file suffix (normally "o").
19339
 
objext="$ac_objext"
19340
 
 
19341
 
# Old archive suffix (normally "a").
19342
 
libext="$libext"
19343
 
 
19344
 
# Shared library suffix (normally ".so").
19345
 
shrext_cmds='$shrext_cmds'
19346
 
 
19347
 
# Executable file suffix (normally "").
19348
 
exeext="$exeext"
19349
 
 
19350
 
# Additional compiler flags for building library objects.
19351
 
pic_flag=$lt_lt_prog_compiler_pic_RC
19352
 
pic_mode=$pic_mode
19353
 
 
19354
 
# What is the maximum length of a command?
19355
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19356
 
 
19357
 
# Does compiler simultaneously support -c and -o options?
19358
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19359
 
 
19360
 
# Must we lock files when doing compilation?
19361
 
need_locks=$lt_need_locks
19362
 
 
19363
 
# Do we need the lib prefix for modules?
19364
 
need_lib_prefix=$need_lib_prefix
19365
 
 
19366
 
# Do we need a version for libraries?
19367
 
need_version=$need_version
19368
 
 
19369
 
# Whether dlopen is supported.
19370
 
dlopen_support=$enable_dlopen
19371
 
 
19372
 
# Whether dlopen of programs is supported.
19373
 
dlopen_self=$enable_dlopen_self
19374
 
 
19375
 
# Whether dlopen of statically linked programs is supported.
19376
 
dlopen_self_static=$enable_dlopen_self_static
19377
 
 
19378
 
# Compiler flag to prevent dynamic linking.
19379
 
link_static_flag=$lt_lt_prog_compiler_static_RC
19380
 
 
19381
 
# Compiler flag to turn off builtin functions.
19382
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19383
 
 
19384
 
# Compiler flag to allow reflexive dlopens.
19385
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19386
 
 
19387
 
# Compiler flag to generate shared objects directly from archives.
19388
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19389
 
 
19390
 
# Compiler flag to generate thread-safe objects.
19391
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19392
 
 
19393
 
# Library versioning type.
19394
 
version_type=$version_type
19395
 
 
19396
 
# Format of library name prefix.
19397
 
libname_spec=$lt_libname_spec
19398
 
 
19399
 
# List of archive names.  First name is the real one, the rest are links.
19400
 
# The last name is the one that the linker finds with -lNAME.
19401
 
library_names_spec=$lt_library_names_spec
19402
 
 
19403
 
# The coded name of the library, if different from the real name.
19404
 
soname_spec=$lt_soname_spec
19405
 
 
19406
 
# Commands used to build and install an old-style archive.
19407
 
RANLIB=$lt_RANLIB
19408
 
old_archive_cmds=$lt_old_archive_cmds_RC
19409
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19410
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19411
 
 
19412
 
# Create an old-style archive from a shared archive.
19413
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19414
 
 
19415
 
# Create a temporary old-style archive to link instead of a shared archive.
19416
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19417
 
 
19418
 
# Commands used to build and install a shared archive.
19419
 
archive_cmds=$lt_archive_cmds_RC
19420
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19421
 
postinstall_cmds=$lt_postinstall_cmds
19422
 
postuninstall_cmds=$lt_postuninstall_cmds
19423
 
 
19424
 
# Commands used to build a loadable module (assumed same as above if empty)
19425
 
module_cmds=$lt_module_cmds_RC
19426
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
19427
 
 
19428
 
# Commands to strip libraries.
19429
 
old_striplib=$lt_old_striplib
19430
 
striplib=$lt_striplib
19431
 
 
19432
 
# Dependencies to place before the objects being linked to create a
19433
 
# shared library.
19434
 
predep_objects=$lt_predep_objects_RC
19435
 
 
19436
 
# Dependencies to place after the objects being linked to create a
19437
 
# shared library.
19438
 
postdep_objects=$lt_postdep_objects_RC
19439
 
 
19440
 
# Dependencies to place before the objects being linked to create a
19441
 
# shared library.
19442
 
predeps=$lt_predeps_RC
19443
 
 
19444
 
# Dependencies to place after the objects being linked to create a
19445
 
# shared library.
19446
 
postdeps=$lt_postdeps_RC
19447
 
 
19448
 
# The library search path used internally by the compiler when linking
19449
 
# a shared library.
19450
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19451
 
 
19452
 
# Method to check whether dependent libraries are shared objects.
19453
 
deplibs_check_method=$lt_deplibs_check_method
19454
 
 
19455
 
# Command to use when deplibs_check_method == file_magic.
19456
 
file_magic_cmd=$lt_file_magic_cmd
19457
 
 
19458
 
# Flag that allows shared libraries with undefined symbols to be built.
19459
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
19460
 
 
19461
 
# Flag that forces no undefined symbols.
19462
 
no_undefined_flag=$lt_no_undefined_flag_RC
19463
 
 
19464
 
# Commands used to finish a libtool library installation in a directory.
19465
 
finish_cmds=$lt_finish_cmds
19466
 
 
19467
 
# Same as above, but a single script fragment to be evaled but not shown.
19468
 
finish_eval=$lt_finish_eval
19469
 
 
19470
 
# Take the output of nm and produce a listing of raw symbols and C names.
19471
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19472
 
 
19473
 
# Transform the output of nm in a proper C declaration
19474
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19475
 
 
19476
 
# Transform the output of nm in a C name address pair
19477
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19478
 
 
19479
 
# This is the shared library runtime path variable.
19480
 
runpath_var=$runpath_var
19481
 
 
19482
 
# This is the shared library path variable.
19483
 
shlibpath_var=$shlibpath_var
19484
 
 
19485
 
# Is shlibpath searched before the hard-coded library search path?
19486
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19487
 
 
19488
 
# How to hardcode a shared library path into an executable.
19489
 
hardcode_action=$hardcode_action_RC
19490
 
 
19491
 
# Whether we should hardcode library paths into libraries.
19492
 
hardcode_into_libs=$hardcode_into_libs
19493
 
 
19494
 
# Flag to hardcode \$libdir into a binary during linking.
19495
 
# This must work even if \$libdir does not exist.
19496
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19497
 
 
19498
 
# If ld is used when linking, flag to hardcode \$libdir into
19499
 
# a binary during linking. This must work even if \$libdir does
19500
 
# not exist.
19501
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19502
 
 
19503
 
# Whether we need a single -rpath flag with a separated argument.
19504
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19505
 
 
19506
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19507
 
# resulting binary.
19508
 
hardcode_direct=$hardcode_direct_RC
19509
 
 
19510
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19511
 
# resulting binary.
19512
 
hardcode_minus_L=$hardcode_minus_L_RC
19513
 
 
19514
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19515
 
# the resulting binary.
19516
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19517
 
 
19518
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19519
 
# and all subsequent libraries and executables linked against it.
19520
 
hardcode_automatic=$hardcode_automatic_RC
19521
 
 
19522
 
# Variables whose values should be saved in libtool wrapper scripts and
19523
 
# restored at relink time.
19524
 
variables_saved_for_relink="$variables_saved_for_relink"
19525
 
 
19526
 
# Whether libtool must link a program against all its dependency libraries.
19527
 
link_all_deplibs=$link_all_deplibs_RC
19528
 
 
19529
 
# Compile-time system search path for libraries
19530
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19531
 
 
19532
 
# Run-time system search path for libraries
19533
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19534
 
 
19535
 
# Fix the shell variable \$srcfile for the compiler.
19536
 
fix_srcfile_path="$fix_srcfile_path_RC"
19537
 
 
19538
 
# Set to yes if exported symbols are required.
19539
 
always_export_symbols=$always_export_symbols_RC
19540
 
 
19541
 
# The commands to list exported symbols.
19542
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
19543
 
 
19544
 
# The commands to extract the exported symbol list from a shared archive.
19545
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19546
 
 
19547
 
# Symbols that should not be listed in the preloaded symbols.
19548
 
exclude_expsyms=$lt_exclude_expsyms_RC
19549
 
 
19550
 
# Symbols that must always be exported.
19551
 
include_expsyms=$lt_include_expsyms_RC
19552
 
 
19553
 
# ### END LIBTOOL TAG CONFIG: $tagname
19554
 
 
19555
 
__EOF__
19556
 
 
19557
 
 
19558
 
else
19559
 
  # If there is no Makefile yet, we rely on a make rule to execute
19560
 
  # `config.status --recheck' to rerun these tests and create the
19561
 
  # libtool script then.
19562
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19563
 
  if test -f "$ltmain_in"; then
19564
 
    test -f Makefile && make "$ltmain"
19565
 
  fi
19566
 
fi
19567
 
 
19568
 
 
19569
 
ac_ext=c
19570
 
ac_cpp='$CPP $CPPFLAGS'
19571
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19572
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19573
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19574
 
 
19575
 
CC="$lt_save_CC"
19576
 
 
19577
 
        ;;
19578
 
 
19579
 
      *)
19580
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19581
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19582
 
   { (exit 1); exit 1; }; }
19583
 
        ;;
19584
 
      esac
19585
 
 
19586
 
      # Append the new tag name to the list of available tags.
19587
 
      if test -n "$tagname" ; then
19588
 
      available_tags="$available_tags $tagname"
19589
 
    fi
19590
 
    fi
19591
 
  done
19592
 
  IFS="$lt_save_ifs"
19593
 
 
19594
 
  # Now substitute the updated list of available tags.
19595
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19596
 
    mv "${ofile}T" "$ofile"
19597
 
    chmod +x "$ofile"
19598
 
  else
19599
 
    rm -f "${ofile}T"
19600
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19601
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19602
 
   { (exit 1); exit 1; }; }
19603
 
  fi
19604
 
fi
19605
 
 
19606
 
 
19607
 
 
19608
 
# This can be used to rebuild libtool when needed
19609
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
19610
 
 
19611
 
# Always use our own libtool.
19612
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
19613
 
 
19614
 
# Prevent multiple expansion
19615
 
 
19616
 
 
19617
 
 
19618
 
 
19619
 
 
19620
 
 
19621
 
 
19622
 
 
19623
 
 
19624
 
 
19625
 
 
19626
 
 
19627
 
 
19628
 
 
19629
 
 
19630
 
 
19631
 
 
19632
 
 
19633
 
 
19634
 
 
19635
 
 
19636
 
 
19637
 
 
19638
 
 
19639
 
 
19640
 
 
19641
 
 
19642
 
ac_header_dirent=no
19643
 
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
19644
 
  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
19645
 
{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
19646
 
echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
19647
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19648
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19649
 
else
19650
 
  cat >conftest.$ac_ext <<_ACEOF
19651
 
/* confdefs.h.  */
19652
 
_ACEOF
19653
 
cat confdefs.h >>conftest.$ac_ext
19654
 
cat >>conftest.$ac_ext <<_ACEOF
19655
 
/* end confdefs.h.  */
19656
 
#include <sys/types.h>
19657
 
#include <$ac_hdr>
19658
 
 
19659
 
int
19660
 
main ()
19661
 
{
19662
 
if ((DIR *) 0)
19663
 
return 0;
19664
 
  ;
19665
 
  return 0;
19666
 
}
19667
 
_ACEOF
19668
 
rm -f conftest.$ac_objext
19669
 
if { (ac_try="$ac_compile"
19670
 
case "(($ac_try" in
19671
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19672
 
  *) ac_try_echo=$ac_try;;
19673
 
esac
19674
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19675
 
  (eval "$ac_compile") 2>conftest.er1
19676
 
  ac_status=$?
19677
 
  grep -v '^ *+' conftest.er1 >conftest.err
19678
 
  rm -f conftest.er1
19679
 
  cat conftest.err >&5
19680
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681
 
  (exit $ac_status); } && {
19682
 
         test -z "$ac_c_werror_flag" ||
19683
 
         test ! -s conftest.err
19684
 
       } && test -s conftest.$ac_objext; then
19685
 
  eval "$as_ac_Header=yes"
19686
 
else
19687
 
  echo "$as_me: failed program was:" >&5
19688
 
sed 's/^/| /' conftest.$ac_ext >&5
19689
 
 
19690
 
        eval "$as_ac_Header=no"
19691
 
fi
19692
 
 
19693
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19694
 
fi
19695
 
ac_res=`eval echo '${'$as_ac_Header'}'`
19696
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
19697
 
echo "${ECHO_T}$ac_res" >&6; }
19698
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
19699
 
  cat >>confdefs.h <<_ACEOF
19700
 
#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
19701
 
_ACEOF
19702
 
 
19703
 
ac_header_dirent=$ac_hdr; break
19704
 
fi
19705
 
 
19706
 
done
19707
 
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
19708
 
if test $ac_header_dirent = dirent.h; then
19709
 
  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
19710
 
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
19711
 
if test "${ac_cv_search_opendir+set}" = set; then
19712
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19713
 
else
19714
 
  ac_func_search_save_LIBS=$LIBS
19715
 
cat >conftest.$ac_ext <<_ACEOF
19716
 
/* confdefs.h.  */
19717
 
_ACEOF
19718
 
cat confdefs.h >>conftest.$ac_ext
19719
 
cat >>conftest.$ac_ext <<_ACEOF
19720
 
/* end confdefs.h.  */
19721
 
 
19722
 
/* Override any GCC internal prototype to avoid an error.
19723
 
   Use char because int might match the return type of a GCC
19724
 
   builtin and then its argument prototype would still apply.  */
19725
 
#ifdef __cplusplus
19726
 
extern "C"
19727
 
#endif
19728
 
char opendir ();
19729
 
int
19730
 
main ()
19731
 
{
19732
 
return opendir ();
19733
 
  ;
19734
 
  return 0;
19735
 
}
19736
 
_ACEOF
19737
 
for ac_lib in '' dir; do
19738
 
  if test -z "$ac_lib"; then
19739
 
    ac_res="none required"
19740
 
  else
19741
 
    ac_res=-l$ac_lib
19742
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19743
 
  fi
19744
 
  rm -f conftest.$ac_objext conftest$ac_exeext
19745
 
if { (ac_try="$ac_link"
19746
 
case "(($ac_try" in
19747
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19748
 
  *) ac_try_echo=$ac_try;;
19749
 
esac
19750
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19751
 
  (eval "$ac_link") 2>conftest.er1
19752
 
  ac_status=$?
19753
 
  grep -v '^ *+' conftest.er1 >conftest.err
19754
 
  rm -f conftest.er1
19755
 
  cat conftest.err >&5
19756
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19757
 
  (exit $ac_status); } && {
19758
 
         test -z "$ac_c_werror_flag" ||
19759
 
         test ! -s conftest.err
19760
 
       } && test -s conftest$ac_exeext &&
19761
 
       $as_test_x conftest$ac_exeext; then
19762
 
  ac_cv_search_opendir=$ac_res
19763
 
else
19764
 
  echo "$as_me: failed program was:" >&5
19765
 
sed 's/^/| /' conftest.$ac_ext >&5
19766
 
 
19767
 
 
19768
 
fi
19769
 
 
19770
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19771
 
      conftest$ac_exeext
19772
 
  if test "${ac_cv_search_opendir+set}" = set; then
19773
 
  break
19774
 
fi
19775
 
done
19776
 
if test "${ac_cv_search_opendir+set}" = set; then
19777
 
  :
19778
 
else
19779
 
  ac_cv_search_opendir=no
19780
 
fi
19781
 
rm conftest.$ac_ext
19782
 
LIBS=$ac_func_search_save_LIBS
19783
 
fi
19784
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
19785
 
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
19786
 
ac_res=$ac_cv_search_opendir
19787
 
if test "$ac_res" != no; then
19788
 
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19789
 
 
19790
 
fi
19791
 
 
19792
 
else
19793
 
  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
19794
 
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
19795
 
if test "${ac_cv_search_opendir+set}" = set; then
19796
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19797
 
else
19798
 
  ac_func_search_save_LIBS=$LIBS
19799
 
cat >conftest.$ac_ext <<_ACEOF
19800
 
/* confdefs.h.  */
19801
 
_ACEOF
19802
 
cat confdefs.h >>conftest.$ac_ext
19803
 
cat >>conftest.$ac_ext <<_ACEOF
19804
 
/* end confdefs.h.  */
19805
 
 
19806
 
/* Override any GCC internal prototype to avoid an error.
19807
 
   Use char because int might match the return type of a GCC
19808
 
   builtin and then its argument prototype would still apply.  */
19809
 
#ifdef __cplusplus
19810
 
extern "C"
19811
 
#endif
19812
 
char opendir ();
19813
 
int
19814
 
main ()
19815
 
{
19816
 
return opendir ();
19817
 
  ;
19818
 
  return 0;
19819
 
}
19820
 
_ACEOF
19821
 
for ac_lib in '' x; do
19822
 
  if test -z "$ac_lib"; then
19823
 
    ac_res="none required"
19824
 
  else
19825
 
    ac_res=-l$ac_lib
19826
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19827
 
  fi
19828
 
  rm -f conftest.$ac_objext conftest$ac_exeext
19829
 
if { (ac_try="$ac_link"
19830
 
case "(($ac_try" in
19831
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19832
 
  *) ac_try_echo=$ac_try;;
19833
 
esac
19834
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19835
 
  (eval "$ac_link") 2>conftest.er1
19836
 
  ac_status=$?
19837
 
  grep -v '^ *+' conftest.er1 >conftest.err
19838
 
  rm -f conftest.er1
19839
 
  cat conftest.err >&5
19840
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19841
 
  (exit $ac_status); } && {
19842
 
         test -z "$ac_c_werror_flag" ||
19843
 
         test ! -s conftest.err
19844
 
       } && test -s conftest$ac_exeext &&
19845
 
       $as_test_x conftest$ac_exeext; then
19846
 
  ac_cv_search_opendir=$ac_res
19847
 
else
19848
 
  echo "$as_me: failed program was:" >&5
19849
 
sed 's/^/| /' conftest.$ac_ext >&5
19850
 
 
19851
 
 
19852
 
fi
19853
 
 
19854
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19855
 
      conftest$ac_exeext
19856
 
  if test "${ac_cv_search_opendir+set}" = set; then
19857
 
  break
19858
 
fi
19859
 
done
19860
 
if test "${ac_cv_search_opendir+set}" = set; then
19861
 
  :
19862
 
else
19863
 
  ac_cv_search_opendir=no
19864
 
fi
19865
 
rm conftest.$ac_ext
19866
 
LIBS=$ac_func_search_save_LIBS
19867
 
fi
19868
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
19869
 
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
19870
 
ac_res=$ac_cv_search_opendir
19871
 
if test "$ac_res" != no; then
19872
 
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19873
 
 
19874
 
fi
19875
 
 
19876
 
fi
19877
 
 
19878
 
# Check whether --enable-ltdl-install was given.
19879
 
if test "${enable_ltdl_install+set}" = set; then
19880
 
  enableval=$enable_ltdl_install;
19881
 
fi
19882
 
 
19883
 
 
19884
 
 if test x"${enable_ltdl_install-no}" != xno; then
19885
 
  INSTALL_LTDL_TRUE=
19886
 
  INSTALL_LTDL_FALSE='#'
19887
 
else
19888
 
  INSTALL_LTDL_TRUE='#'
19889
 
  INSTALL_LTDL_FALSE=
19890
 
fi
19891
 
 
19892
 
 if test x"${enable_ltdl_convenience-no}" != xno; then
19893
 
  CONVENIENCE_LTDL_TRUE=
19894
 
  CONVENIENCE_LTDL_FALSE='#'
19895
 
else
19896
 
  CONVENIENCE_LTDL_TRUE='#'
19897
 
  CONVENIENCE_LTDL_FALSE=
19898
 
fi
19899
 
 
19900
 
 
19901
 
 
19902
 
{ echo "$as_me:$LINENO: checking which extension is used for loadable modules" >&5
19903
 
echo $ECHO_N "checking which extension is used for loadable modules... $ECHO_C" >&6; }
19904
 
if test "${libltdl_cv_shlibext+set}" = set; then
19905
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19906
 
else
19907
 
 
19908
 
module=yes
19909
 
eval libltdl_cv_shlibext=$shrext_cmds
19910
 
 
19911
 
fi
19912
 
{ echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
19913
 
echo "${ECHO_T}$libltdl_cv_shlibext" >&6; }
19914
 
if test -n "$libltdl_cv_shlibext"; then
19915
 
 
19916
 
cat >>confdefs.h <<_ACEOF
19917
 
#define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
19918
 
_ACEOF
19919
 
 
19920
 
fi
19921
 
 
19922
 
 
19923
 
{ echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
19924
 
echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6; }
19925
 
if test "${libltdl_cv_shlibpath_var+set}" = set; then
19926
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19927
 
else
19928
 
  libltdl_cv_shlibpath_var="$shlibpath_var"
19929
 
fi
19930
 
{ echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
19931
 
echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6; }
19932
 
if test -n "$libltdl_cv_shlibpath_var"; then
19933
 
 
19934
 
cat >>confdefs.h <<_ACEOF
19935
 
#define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
19936
 
_ACEOF
19937
 
 
19938
 
fi
19939
 
 
19940
 
 
19941
 
{ echo "$as_me:$LINENO: checking for the default library search path" >&5
19942
 
echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6; }
19943
 
if test "${libltdl_cv_sys_search_path+set}" = set; then
19944
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19945
 
else
19946
 
  libltdl_cv_sys_search_path="$sys_lib_dlsearch_path_spec"
19947
 
fi
19948
 
{ echo "$as_me:$LINENO: result: $libltdl_cv_sys_search_path" >&5
19949
 
echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6; }
19950
 
if test -n "$libltdl_cv_sys_search_path"; then
19951
 
  sys_search_path=
19952
 
  for dir in $libltdl_cv_sys_search_path; do
19953
 
    if test -z "$sys_search_path"; then
19954
 
      sys_search_path="$dir"
19955
 
    else
19956
 
      sys_search_path="$sys_search_path$PATH_SEPARATOR$dir"
19957
 
    fi
19958
 
  done
19959
 
 
19960
 
cat >>confdefs.h <<_ACEOF
19961
 
#define LTDL_SYSSEARCHPATH "$sys_search_path"
19962
 
_ACEOF
19963
 
 
19964
 
fi
19965
 
 
19966
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
19967
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
19968
 
if test "${libltdl_cv_objdir+set}" = set; then
19969
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19970
 
else
19971
 
  libltdl_cv_objdir="$objdir"
19972
 
  if test -n "$objdir"; then
19973
 
    :
19974
 
  else
19975
 
    rm -f .libs 2>/dev/null
19976
 
    mkdir .libs 2>/dev/null
19977
 
    if test -d .libs; then
19978
 
      libltdl_cv_objdir=.libs
19979
 
    else
19980
 
      # MS-DOS does not allow filenames that begin with a dot.
19981
 
      libltdl_cv_objdir=_libs
19982
 
    fi
19983
 
  rmdir .libs 2>/dev/null
19984
 
  fi
19985
 
 
19986
 
fi
19987
 
{ echo "$as_me:$LINENO: result: $libltdl_cv_objdir" >&5
19988
 
echo "${ECHO_T}$libltdl_cv_objdir" >&6; }
19989
 
 
19990
 
cat >>confdefs.h <<_ACEOF
19991
 
#define LTDL_OBJDIR "$libltdl_cv_objdir/"
19992
 
_ACEOF
19993
 
 
19994
 
 
19995
 
 
19996
 
{ echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
19997
 
echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6; }
19998
 
if test "${libltdl_cv_preloaded_symbols+set}" = set; then
19999
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20000
 
else
20001
 
  if test -n "$lt_cv_sys_global_symbol_pipe"; then
20002
 
    libltdl_cv_preloaded_symbols=yes
20003
 
  else
20004
 
    libltdl_cv_preloaded_symbols=no
20005
 
  fi
20006
 
 
20007
 
fi
20008
 
{ echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
20009
 
echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6; }
20010
 
if test x"$libltdl_cv_preloaded_symbols" = xyes; then
20011
 
 
20012
 
cat >>confdefs.h <<\_ACEOF
20013
 
#define HAVE_PRELOADED_SYMBOLS 1
20014
 
_ACEOF
20015
 
 
20016
 
fi
20017
 
 
20018
 
LIBADD_DL=
20019
 
 
20020
 
ac_ext=c
20021
 
ac_cpp='$CPP $CPPFLAGS'
20022
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20023
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20024
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20025
 
 
20026
 
 
20027
 
{ echo "$as_me:$LINENO: checking for shl_load" >&5
20028
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
20029
 
if test "${ac_cv_func_shl_load+set}" = set; then
20030
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20031
 
else
20032
 
  cat >conftest.$ac_ext <<_ACEOF
20033
 
/* confdefs.h.  */
20034
 
_ACEOF
20035
 
cat confdefs.h >>conftest.$ac_ext
20036
 
cat >>conftest.$ac_ext <<_ACEOF
20037
 
/* end confdefs.h.  */
20038
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
20039
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20040
 
#define shl_load innocuous_shl_load
20041
 
 
20042
 
/* System header to define __stub macros and hopefully few prototypes,
20043
 
    which can conflict with char shl_load (); below.
20044
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20045
 
    <limits.h> exists even on freestanding compilers.  */
20046
 
 
20047
 
#ifdef __STDC__
20048
 
# include <limits.h>
20049
 
#else
20050
 
# include <assert.h>
20051
 
#endif
20052
 
 
20053
 
#undef shl_load
20054
 
 
20055
 
/* Override any GCC internal prototype to avoid an error.
20056
 
   Use char because int might match the return type of a GCC
20057
 
   builtin and then its argument prototype would still apply.  */
20058
 
#ifdef __cplusplus
20059
 
extern "C"
20060
 
#endif
20061
 
char shl_load ();
20062
 
/* The GNU C library defines this for functions which it implements
20063
 
    to always fail with ENOSYS.  Some functions are actually named
20064
 
    something starting with __ and the normal name is an alias.  */
20065
 
#if defined __stub_shl_load || defined __stub___shl_load
20066
 
choke me
20067
 
#endif
20068
 
 
20069
 
int
20070
 
main ()
20071
 
{
20072
 
return shl_load ();
20073
 
  ;
20074
 
  return 0;
20075
 
}
20076
 
_ACEOF
20077
 
rm -f conftest.$ac_objext conftest$ac_exeext
20078
 
if { (ac_try="$ac_link"
20079
 
case "(($ac_try" in
20080
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20081
 
  *) ac_try_echo=$ac_try;;
20082
 
esac
20083
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20084
 
  (eval "$ac_link") 2>conftest.er1
20085
 
  ac_status=$?
20086
 
  grep -v '^ *+' conftest.er1 >conftest.err
20087
 
  rm -f conftest.er1
20088
 
  cat conftest.err >&5
20089
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20090
 
  (exit $ac_status); } && {
20091
 
         test -z "$ac_c_werror_flag" ||
20092
 
         test ! -s conftest.err
20093
 
       } && test -s conftest$ac_exeext &&
20094
 
       $as_test_x conftest$ac_exeext; then
20095
 
  ac_cv_func_shl_load=yes
20096
 
else
20097
 
  echo "$as_me: failed program was:" >&5
20098
 
sed 's/^/| /' conftest.$ac_ext >&5
20099
 
 
20100
 
        ac_cv_func_shl_load=no
20101
 
fi
20102
 
 
20103
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20104
 
      conftest$ac_exeext conftest.$ac_ext
20105
 
fi
20106
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
20107
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
20108
 
if test $ac_cv_func_shl_load = yes; then
20109
 
 
20110
 
cat >>confdefs.h <<\_ACEOF
20111
 
#define HAVE_SHL_LOAD 1
20112
 
_ACEOF
20113
 
 
20114
 
else
20115
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
20116
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
20117
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
20118
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20119
 
else
20120
 
  ac_check_lib_save_LIBS=$LIBS
20121
 
LIBS="-ldld  $LIBS"
20122
 
cat >conftest.$ac_ext <<_ACEOF
20123
 
/* confdefs.h.  */
20124
 
_ACEOF
20125
 
cat confdefs.h >>conftest.$ac_ext
20126
 
cat >>conftest.$ac_ext <<_ACEOF
20127
 
/* end confdefs.h.  */
20128
 
 
20129
 
/* Override any GCC internal prototype to avoid an error.
20130
 
   Use char because int might match the return type of a GCC
20131
 
   builtin and then its argument prototype would still apply.  */
20132
 
#ifdef __cplusplus
20133
 
extern "C"
20134
 
#endif
20135
 
char shl_load ();
20136
 
int
20137
 
main ()
20138
 
{
20139
 
return shl_load ();
20140
 
  ;
20141
 
  return 0;
20142
 
}
20143
 
_ACEOF
20144
 
rm -f conftest.$ac_objext conftest$ac_exeext
20145
 
if { (ac_try="$ac_link"
20146
 
case "(($ac_try" in
20147
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20148
 
  *) ac_try_echo=$ac_try;;
20149
 
esac
20150
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20151
 
  (eval "$ac_link") 2>conftest.er1
20152
 
  ac_status=$?
20153
 
  grep -v '^ *+' conftest.er1 >conftest.err
20154
 
  rm -f conftest.er1
20155
 
  cat conftest.err >&5
20156
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20157
 
  (exit $ac_status); } && {
20158
 
         test -z "$ac_c_werror_flag" ||
20159
 
         test ! -s conftest.err
20160
 
       } && test -s conftest$ac_exeext &&
20161
 
       $as_test_x conftest$ac_exeext; then
20162
 
  ac_cv_lib_dld_shl_load=yes
20163
 
else
20164
 
  echo "$as_me: failed program was:" >&5
20165
 
sed 's/^/| /' conftest.$ac_ext >&5
20166
 
 
20167
 
        ac_cv_lib_dld_shl_load=no
20168
 
fi
20169
 
 
20170
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20171
 
      conftest$ac_exeext conftest.$ac_ext
20172
 
LIBS=$ac_check_lib_save_LIBS
20173
 
fi
20174
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
20175
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
20176
 
if test $ac_cv_lib_dld_shl_load = yes; then
20177
 
 
20178
 
cat >>confdefs.h <<\_ACEOF
20179
 
#define HAVE_SHL_LOAD 1
20180
 
_ACEOF
20181
 
 
20182
 
        LIBADD_DL="$LIBADD_DL -ldld"
20183
 
else
20184
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
20185
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
20186
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20187
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20188
 
else
20189
 
  ac_check_lib_save_LIBS=$LIBS
20190
 
LIBS="-ldl  $LIBS"
20191
 
cat >conftest.$ac_ext <<_ACEOF
20192
 
/* confdefs.h.  */
20193
 
_ACEOF
20194
 
cat confdefs.h >>conftest.$ac_ext
20195
 
cat >>conftest.$ac_ext <<_ACEOF
20196
 
/* end confdefs.h.  */
20197
 
 
20198
 
/* Override any GCC internal prototype to avoid an error.
20199
 
   Use char because int might match the return type of a GCC
20200
 
   builtin and then its argument prototype would still apply.  */
20201
 
#ifdef __cplusplus
20202
 
extern "C"
20203
 
#endif
20204
 
char dlopen ();
20205
 
int
20206
 
main ()
20207
 
{
20208
 
return dlopen ();
20209
 
  ;
20210
 
  return 0;
20211
 
}
20212
 
_ACEOF
20213
 
rm -f conftest.$ac_objext conftest$ac_exeext
20214
 
if { (ac_try="$ac_link"
20215
 
case "(($ac_try" in
20216
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20217
 
  *) ac_try_echo=$ac_try;;
20218
 
esac
20219
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20220
 
  (eval "$ac_link") 2>conftest.er1
20221
 
  ac_status=$?
20222
 
  grep -v '^ *+' conftest.er1 >conftest.err
20223
 
  rm -f conftest.er1
20224
 
  cat conftest.err >&5
20225
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20226
 
  (exit $ac_status); } && {
20227
 
         test -z "$ac_c_werror_flag" ||
20228
 
         test ! -s conftest.err
20229
 
       } && test -s conftest$ac_exeext &&
20230
 
       $as_test_x conftest$ac_exeext; then
20231
 
  ac_cv_lib_dl_dlopen=yes
20232
 
else
20233
 
  echo "$as_me: failed program was:" >&5
20234
 
sed 's/^/| /' conftest.$ac_ext >&5
20235
 
 
20236
 
        ac_cv_lib_dl_dlopen=no
20237
 
fi
20238
 
 
20239
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20240
 
      conftest$ac_exeext conftest.$ac_ext
20241
 
LIBS=$ac_check_lib_save_LIBS
20242
 
fi
20243
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
20244
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
20245
 
if test $ac_cv_lib_dl_dlopen = yes; then
20246
 
 
20247
 
cat >>confdefs.h <<\_ACEOF
20248
 
#define HAVE_LIBDL 1
20249
 
_ACEOF
20250
 
 
20251
 
                LIBADD_DL="-ldl" libltdl_cv_lib_dl_dlopen="yes"
20252
 
else
20253
 
  cat >conftest.$ac_ext <<_ACEOF
20254
 
/* confdefs.h.  */
20255
 
_ACEOF
20256
 
cat confdefs.h >>conftest.$ac_ext
20257
 
cat >>conftest.$ac_ext <<_ACEOF
20258
 
/* end confdefs.h.  */
20259
 
#if HAVE_DLFCN_H
20260
 
#  include <dlfcn.h>
20261
 
#endif
20262
 
 
20263
 
int
20264
 
main ()
20265
 
{
20266
 
dlopen(0, 0);
20267
 
  ;
20268
 
  return 0;
20269
 
}
20270
 
_ACEOF
20271
 
rm -f conftest.$ac_objext conftest$ac_exeext
20272
 
if { (ac_try="$ac_link"
20273
 
case "(($ac_try" in
20274
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20275
 
  *) ac_try_echo=$ac_try;;
20276
 
esac
20277
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20278
 
  (eval "$ac_link") 2>conftest.er1
20279
 
  ac_status=$?
20280
 
  grep -v '^ *+' conftest.er1 >conftest.err
20281
 
  rm -f conftest.er1
20282
 
  cat conftest.err >&5
20283
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20284
 
  (exit $ac_status); } && {
20285
 
         test -z "$ac_c_werror_flag" ||
20286
 
         test ! -s conftest.err
20287
 
       } && test -s conftest$ac_exeext &&
20288
 
       $as_test_x conftest$ac_exeext; then
20289
 
 
20290
 
cat >>confdefs.h <<\_ACEOF
20291
 
#define HAVE_LIBDL 1
20292
 
_ACEOF
20293
 
 libltdl_cv_func_dlopen="yes"
20294
 
else
20295
 
  echo "$as_me: failed program was:" >&5
20296
 
sed 's/^/| /' conftest.$ac_ext >&5
20297
 
 
20298
 
        { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
20299
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
20300
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
20301
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20302
 
else
20303
 
  ac_check_lib_save_LIBS=$LIBS
20304
 
LIBS="-lsvld  $LIBS"
20305
 
cat >conftest.$ac_ext <<_ACEOF
20306
 
/* confdefs.h.  */
20307
 
_ACEOF
20308
 
cat confdefs.h >>conftest.$ac_ext
20309
 
cat >>conftest.$ac_ext <<_ACEOF
20310
 
/* end confdefs.h.  */
20311
 
 
20312
 
/* Override any GCC internal prototype to avoid an error.
20313
 
   Use char because int might match the return type of a GCC
20314
 
   builtin and then its argument prototype would still apply.  */
20315
 
#ifdef __cplusplus
20316
 
extern "C"
20317
 
#endif
20318
 
char dlopen ();
20319
 
int
20320
 
main ()
20321
 
{
20322
 
return dlopen ();
20323
 
  ;
20324
 
  return 0;
20325
 
}
20326
 
_ACEOF
20327
 
rm -f conftest.$ac_objext conftest$ac_exeext
20328
 
if { (ac_try="$ac_link"
20329
 
case "(($ac_try" in
20330
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20331
 
  *) ac_try_echo=$ac_try;;
20332
 
esac
20333
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20334
 
  (eval "$ac_link") 2>conftest.er1
20335
 
  ac_status=$?
20336
 
  grep -v '^ *+' conftest.er1 >conftest.err
20337
 
  rm -f conftest.er1
20338
 
  cat conftest.err >&5
20339
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20340
 
  (exit $ac_status); } && {
20341
 
         test -z "$ac_c_werror_flag" ||
20342
 
         test ! -s conftest.err
20343
 
       } && test -s conftest$ac_exeext &&
20344
 
       $as_test_x conftest$ac_exeext; then
20345
 
  ac_cv_lib_svld_dlopen=yes
20346
 
else
20347
 
  echo "$as_me: failed program was:" >&5
20348
 
sed 's/^/| /' conftest.$ac_ext >&5
20349
 
 
20350
 
        ac_cv_lib_svld_dlopen=no
20351
 
fi
20352
 
 
20353
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20354
 
      conftest$ac_exeext conftest.$ac_ext
20355
 
LIBS=$ac_check_lib_save_LIBS
20356
 
fi
20357
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
20358
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
20359
 
if test $ac_cv_lib_svld_dlopen = yes; then
20360
 
 
20361
 
cat >>confdefs.h <<\_ACEOF
20362
 
#define HAVE_LIBDL 1
20363
 
_ACEOF
20364
 
 
20365
 
                    LIBADD_DL="-lsvld" libltdl_cv_func_dlopen="yes"
20366
 
else
20367
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
20368
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
20369
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
20370
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20371
 
else
20372
 
  ac_check_lib_save_LIBS=$LIBS
20373
 
LIBS="-ldld  $LIBS"
20374
 
cat >conftest.$ac_ext <<_ACEOF
20375
 
/* confdefs.h.  */
20376
 
_ACEOF
20377
 
cat confdefs.h >>conftest.$ac_ext
20378
 
cat >>conftest.$ac_ext <<_ACEOF
20379
 
/* end confdefs.h.  */
20380
 
 
20381
 
/* Override any GCC internal prototype to avoid an error.
20382
 
   Use char because int might match the return type of a GCC
20383
 
   builtin and then its argument prototype would still apply.  */
20384
 
#ifdef __cplusplus
20385
 
extern "C"
20386
 
#endif
20387
 
char dld_link ();
20388
 
int
20389
 
main ()
20390
 
{
20391
 
return dld_link ();
20392
 
  ;
20393
 
  return 0;
20394
 
}
20395
 
_ACEOF
20396
 
rm -f conftest.$ac_objext conftest$ac_exeext
20397
 
if { (ac_try="$ac_link"
20398
 
case "(($ac_try" in
20399
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20400
 
  *) ac_try_echo=$ac_try;;
20401
 
esac
20402
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20403
 
  (eval "$ac_link") 2>conftest.er1
20404
 
  ac_status=$?
20405
 
  grep -v '^ *+' conftest.er1 >conftest.err
20406
 
  rm -f conftest.er1
20407
 
  cat conftest.err >&5
20408
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409
 
  (exit $ac_status); } && {
20410
 
         test -z "$ac_c_werror_flag" ||
20411
 
         test ! -s conftest.err
20412
 
       } && test -s conftest$ac_exeext &&
20413
 
       $as_test_x conftest$ac_exeext; then
20414
 
  ac_cv_lib_dld_dld_link=yes
20415
 
else
20416
 
  echo "$as_me: failed program was:" >&5
20417
 
sed 's/^/| /' conftest.$ac_ext >&5
20418
 
 
20419
 
        ac_cv_lib_dld_dld_link=no
20420
 
fi
20421
 
 
20422
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20423
 
      conftest$ac_exeext conftest.$ac_ext
20424
 
LIBS=$ac_check_lib_save_LIBS
20425
 
fi
20426
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
20427
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
20428
 
if test $ac_cv_lib_dld_dld_link = yes; then
20429
 
 
20430
 
cat >>confdefs.h <<\_ACEOF
20431
 
#define HAVE_DLD 1
20432
 
_ACEOF
20433
 
 
20434
 
                LIBADD_DL="$LIBADD_DL -ldld"
20435
 
else
20436
 
  { echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
20437
 
echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6; }
20438
 
if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
20439
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20440
 
else
20441
 
  cat >conftest.$ac_ext <<_ACEOF
20442
 
/* confdefs.h.  */
20443
 
_ACEOF
20444
 
cat confdefs.h >>conftest.$ac_ext
20445
 
cat >>conftest.$ac_ext <<_ACEOF
20446
 
/* end confdefs.h.  */
20447
 
/* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
20448
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20449
 
#define _dyld_func_lookup innocuous__dyld_func_lookup
20450
 
 
20451
 
/* System header to define __stub macros and hopefully few prototypes,
20452
 
    which can conflict with char _dyld_func_lookup (); below.
20453
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20454
 
    <limits.h> exists even on freestanding compilers.  */
20455
 
 
20456
 
#ifdef __STDC__
20457
 
# include <limits.h>
20458
 
#else
20459
 
# include <assert.h>
20460
 
#endif
20461
 
 
20462
 
#undef _dyld_func_lookup
20463
 
 
20464
 
/* Override any GCC internal prototype to avoid an error.
20465
 
   Use char because int might match the return type of a GCC
20466
 
   builtin and then its argument prototype would still apply.  */
20467
 
#ifdef __cplusplus
20468
 
extern "C"
20469
 
#endif
20470
 
char _dyld_func_lookup ();
20471
 
/* The GNU C library defines this for functions which it implements
20472
 
    to always fail with ENOSYS.  Some functions are actually named
20473
 
    something starting with __ and the normal name is an alias.  */
20474
 
#if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
20475
 
choke me
20476
 
#endif
20477
 
 
20478
 
int
20479
 
main ()
20480
 
{
20481
 
return _dyld_func_lookup ();
20482
 
  ;
20483
 
  return 0;
20484
 
}
20485
 
_ACEOF
20486
 
rm -f conftest.$ac_objext conftest$ac_exeext
20487
 
if { (ac_try="$ac_link"
20488
 
case "(($ac_try" in
20489
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20490
 
  *) ac_try_echo=$ac_try;;
20491
 
esac
20492
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20493
 
  (eval "$ac_link") 2>conftest.er1
20494
 
  ac_status=$?
20495
 
  grep -v '^ *+' conftest.er1 >conftest.err
20496
 
  rm -f conftest.er1
20497
 
  cat conftest.err >&5
20498
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20499
 
  (exit $ac_status); } && {
20500
 
         test -z "$ac_c_werror_flag" ||
20501
 
         test ! -s conftest.err
20502
 
       } && test -s conftest$ac_exeext &&
20503
 
       $as_test_x conftest$ac_exeext; then
20504
 
  ac_cv_func__dyld_func_lookup=yes
20505
 
else
20506
 
  echo "$as_me: failed program was:" >&5
20507
 
sed 's/^/| /' conftest.$ac_ext >&5
20508
 
 
20509
 
        ac_cv_func__dyld_func_lookup=no
20510
 
fi
20511
 
 
20512
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20513
 
      conftest$ac_exeext conftest.$ac_ext
20514
 
fi
20515
 
{ echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
20516
 
echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6; }
20517
 
if test $ac_cv_func__dyld_func_lookup = yes; then
20518
 
 
20519
 
cat >>confdefs.h <<\_ACEOF
20520
 
#define HAVE_DYLD 1
20521
 
_ACEOF
20522
 
 
20523
 
fi
20524
 
 
20525
 
 
20526
 
fi
20527
 
 
20528
 
 
20529
 
fi
20530
 
 
20531
 
 
20532
 
fi
20533
 
 
20534
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20535
 
      conftest$ac_exeext conftest.$ac_ext
20536
 
 
20537
 
fi
20538
 
 
20539
 
 
20540
 
fi
20541
 
 
20542
 
 
20543
 
fi
20544
 
 
20545
 
 
20546
 
if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
20547
 
then
20548
 
  lt_save_LIBS="$LIBS"
20549
 
  LIBS="$LIBS $LIBADD_DL"
20550
 
 
20551
 
for ac_func in dlerror
20552
 
do
20553
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20554
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
20555
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20556
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20557
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20558
 
else
20559
 
  cat >conftest.$ac_ext <<_ACEOF
20560
 
/* confdefs.h.  */
20561
 
_ACEOF
20562
 
cat confdefs.h >>conftest.$ac_ext
20563
 
cat >>conftest.$ac_ext <<_ACEOF
20564
 
/* end confdefs.h.  */
20565
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20566
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20567
 
#define $ac_func innocuous_$ac_func
20568
 
 
20569
 
/* System header to define __stub macros and hopefully few prototypes,
20570
 
    which can conflict with char $ac_func (); below.
20571
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20572
 
    <limits.h> exists even on freestanding compilers.  */
20573
 
 
20574
 
#ifdef __STDC__
20575
 
# include <limits.h>
20576
 
#else
20577
 
# include <assert.h>
20578
 
#endif
20579
 
 
20580
 
#undef $ac_func
20581
 
 
20582
 
/* Override any GCC internal prototype to avoid an error.
20583
 
   Use char because int might match the return type of a GCC
20584
 
   builtin and then its argument prototype would still apply.  */
20585
 
#ifdef __cplusplus
20586
 
extern "C"
20587
 
#endif
20588
 
char $ac_func ();
20589
 
/* The GNU C library defines this for functions which it implements
20590
 
    to always fail with ENOSYS.  Some functions are actually named
20591
 
    something starting with __ and the normal name is an alias.  */
20592
 
#if defined __stub_$ac_func || defined __stub___$ac_func
20593
 
choke me
20594
 
#endif
20595
 
 
20596
 
int
20597
 
main ()
20598
 
{
20599
 
return $ac_func ();
20600
 
  ;
20601
 
  return 0;
20602
 
}
20603
 
_ACEOF
20604
 
rm -f conftest.$ac_objext conftest$ac_exeext
20605
 
if { (ac_try="$ac_link"
20606
 
case "(($ac_try" in
20607
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20608
 
  *) ac_try_echo=$ac_try;;
20609
 
esac
20610
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20611
 
  (eval "$ac_link") 2>conftest.er1
20612
 
  ac_status=$?
20613
 
  grep -v '^ *+' conftest.er1 >conftest.err
20614
 
  rm -f conftest.er1
20615
 
  cat conftest.err >&5
20616
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20617
 
  (exit $ac_status); } && {
20618
 
         test -z "$ac_c_werror_flag" ||
20619
 
         test ! -s conftest.err
20620
 
       } && test -s conftest$ac_exeext &&
20621
 
       $as_test_x conftest$ac_exeext; then
20622
 
  eval "$as_ac_var=yes"
20623
 
else
20624
 
  echo "$as_me: failed program was:" >&5
20625
 
sed 's/^/| /' conftest.$ac_ext >&5
20626
 
 
20627
 
        eval "$as_ac_var=no"
20628
 
fi
20629
 
 
20630
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20631
 
      conftest$ac_exeext conftest.$ac_ext
20632
 
fi
20633
 
ac_res=`eval echo '${'$as_ac_var'}'`
20634
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
20635
 
echo "${ECHO_T}$ac_res" >&6; }
20636
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
20637
 
  cat >>confdefs.h <<_ACEOF
20638
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20639
 
_ACEOF
20640
 
 
20641
 
fi
20642
 
done
20643
 
 
20644
 
  LIBS="$lt_save_LIBS"
20645
 
fi
20646
 
ac_ext=c
20647
 
ac_cpp='$CPP $CPPFLAGS'
20648
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20649
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20650
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20651
 
 
20652
 
 
20653
 
 
20654
 
{ echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
20655
 
echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6; }
20656
 
if test "${ac_cv_sys_symbol_underscore+set}" = set; then
20657
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20658
 
else
20659
 
  ac_cv_sys_symbol_underscore=no
20660
 
  cat > conftest.$ac_ext <<EOF
20661
 
void nm_test_func(){}
20662
 
int main(){nm_test_func;return 0;}
20663
 
EOF
20664
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20665
 
  (eval $ac_compile) 2>&5
20666
 
  ac_status=$?
20667
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20668
 
  (exit $ac_status); }; then
20669
 
    # Now try to grab the symbols.
20670
 
    ac_nlist=conftest.nm
20671
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
20672
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
20673
 
  ac_status=$?
20674
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20675
 
  (exit $ac_status); } && test -s "$ac_nlist"; then
20676
 
      # See whether the symbols have a leading underscore.
20677
 
      if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
20678
 
        ac_cv_sys_symbol_underscore=yes
20679
 
      else
20680
 
        if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
20681
 
          :
20682
 
        else
20683
 
          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
20684
 
        fi
20685
 
      fi
20686
 
    else
20687
 
      echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
20688
 
    fi
20689
 
  else
20690
 
    echo "configure: failed program was:" >&5
20691
 
    cat conftest.c >&5
20692
 
  fi
20693
 
  rm -rf conftest*
20694
 
 
20695
 
fi
20696
 
{ echo "$as_me:$LINENO: result: $ac_cv_sys_symbol_underscore" >&5
20697
 
echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6; }
20698
 
 
20699
 
 
20700
 
if test x"$ac_cv_sys_symbol_underscore" = xyes; then
20701
 
  if test x"$libltdl_cv_func_dlopen" = xyes ||
20702
 
     test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
20703
 
        { echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
20704
 
echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6; }
20705
 
if test "${libltdl_cv_need_uscore+set}" = set; then
20706
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20707
 
else
20708
 
  libltdl_cv_need_uscore=unknown
20709
 
          save_LIBS="$LIBS"
20710
 
          LIBS="$LIBS $LIBADD_DL"
20711
 
          if test "$cross_compiling" = yes; then :
20712
 
  libltdl_cv_need_uscore=cross
20713
 
else
20714
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
20715
 
  lt_status=$lt_dlunknown
20716
 
  cat > conftest.$ac_ext <<EOF
20717
 
#line 20717 "configure"
20718
 
#include "confdefs.h"
20719
 
 
20720
 
#if HAVE_DLFCN_H
20721
 
#include <dlfcn.h>
20722
 
#endif
20723
 
 
20724
 
#include <stdio.h>
20725
 
 
20726
 
#ifdef RTLD_GLOBAL
20727
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
20728
 
#else
20729
 
#  ifdef DL_GLOBAL
20730
 
#    define LT_DLGLOBAL         DL_GLOBAL
20731
 
#  else
20732
 
#    define LT_DLGLOBAL         0
20733
 
#  endif
20734
 
#endif
20735
 
 
20736
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
20737
 
   find out it does not work in some platform. */
20738
 
#ifndef LT_DLLAZY_OR_NOW
20739
 
#  ifdef RTLD_LAZY
20740
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
20741
 
#  else
20742
 
#    ifdef DL_LAZY
20743
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
20744
 
#    else
20745
 
#      ifdef RTLD_NOW
20746
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
20747
 
#      else
20748
 
#        ifdef DL_NOW
20749
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
20750
 
#        else
20751
 
#          define LT_DLLAZY_OR_NOW      0
20752
 
#        endif
20753
 
#      endif
20754
 
#    endif
20755
 
#  endif
20756
 
#endif
20757
 
 
20758
 
#ifdef __cplusplus
20759
 
extern "C" void exit (int);
20760
 
#endif
20761
 
 
20762
 
void fnord() { int i=42;}
20763
 
int main ()
20764
 
{
20765
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
20766
 
  int status = $lt_dlunknown;
20767
 
 
20768
 
  if (self)
20769
 
    {
20770
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
20771
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
20772
 
      /* dlclose (self); */
20773
 
    }
20774
 
  else
20775
 
    puts (dlerror ());
20776
 
 
20777
 
    exit (status);
20778
 
}
20779
 
EOF
20780
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20781
 
  (eval $ac_link) 2>&5
20782
 
  ac_status=$?
20783
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
20785
 
    (./conftest; exit; ) >&5 2>/dev/null
20786
 
    lt_status=$?
20787
 
    case x$lt_status in
20788
 
      x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
20789
 
      x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
20790
 
      x$lt_dlunknown|x*)  ;;
20791
 
    esac
20792
 
  else :
20793
 
    # compilation failed
20794
 
 
20795
 
  fi
20796
 
fi
20797
 
rm -fr conftest*
20798
 
 
20799
 
          LIBS="$save_LIBS"
20800
 
 
20801
 
fi
20802
 
{ echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
20803
 
echo "${ECHO_T}$libltdl_cv_need_uscore" >&6; }
20804
 
  fi
20805
 
fi
20806
 
 
20807
 
if test x"$libltdl_cv_need_uscore" = xyes; then
20808
 
 
20809
 
cat >>confdefs.h <<\_ACEOF
20810
 
#define NEED_USCORE 1
20811
 
_ACEOF
20812
 
 
20813
 
fi
20814
 
 
20815
 
 
20816
 
{ echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
20817
 
echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6; }
20818
 
if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
20819
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20820
 
else
20821
 
  # PORTME does your system automatically load deplibs for dlopen?
20822
 
  # or its logical equivalent (e.g. shl_load for HP-UX < 11)
20823
 
  # For now, we just catch OSes we know something about -- in the
20824
 
  # future, we'll try test this programmatically.
20825
 
  libltdl_cv_sys_dlopen_deplibs=unknown
20826
 
  case "$host_os" in
20827
 
  aix3*|aix4.1.*|aix4.2.*)
20828
 
    # Unknown whether this is true for these versions of AIX, but
20829
 
    # we want this `case' here to explicitly catch those versions.
20830
 
    libltdl_cv_sys_dlopen_deplibs=unknown
20831
 
    ;;
20832
 
  aix[45]*)
20833
 
    libltdl_cv_sys_dlopen_deplibs=yes
20834
 
    ;;
20835
 
  darwin*)
20836
 
    # Assuming the user has installed a libdl from somewhere, this is true
20837
 
    # If you are looking for one http://www.opendarwin.org/projects/dlcompat
20838
 
    libltdl_cv_sys_dlopen_deplibs=yes
20839
 
    ;;
20840
 
  gnu* | linux* | k*bsd*-gnu)
20841
 
    # GNU and its variants, using gnu ld.so (Glibc)
20842
 
    libltdl_cv_sys_dlopen_deplibs=yes
20843
 
    ;;
20844
 
  hpux10*|hpux11*)
20845
 
    libltdl_cv_sys_dlopen_deplibs=yes
20846
 
    ;;
20847
 
  interix*)
20848
 
    libltdl_cv_sys_dlopen_deplibs=yes
20849
 
    ;;
20850
 
  irix[12345]*|irix6.[01]*)
20851
 
    # Catch all versions of IRIX before 6.2, and indicate that we don't
20852
 
    # know how it worked for any of those versions.
20853
 
    libltdl_cv_sys_dlopen_deplibs=unknown
20854
 
    ;;
20855
 
  irix*)
20856
 
    # The case above catches anything before 6.2, and it's known that
20857
 
    # at 6.2 and later dlopen does load deplibs.
20858
 
    libltdl_cv_sys_dlopen_deplibs=yes
20859
 
    ;;
20860
 
  netbsd* | netbsdelf*-gnu)
20861
 
    libltdl_cv_sys_dlopen_deplibs=yes
20862
 
    ;;
20863
 
  openbsd*)
20864
 
    libltdl_cv_sys_dlopen_deplibs=yes
20865
 
    ;;
20866
 
  osf[1234]*)
20867
 
    # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
20868
 
    # it did *not* use an RPATH in a shared library to find objects the
20869
 
    # library depends on, so we explictly say `no'.
20870
 
    libltdl_cv_sys_dlopen_deplibs=no
20871
 
    ;;
20872
 
  osf5.0|osf5.0a|osf5.1)
20873
 
    # dlopen *does* load deplibs and with the right loader patch applied
20874
 
    # it even uses RPATH in a shared library to search for shared objects
20875
 
    # that the library depends on, but there's no easy way to know if that
20876
 
    # patch is installed.  Since this is the case, all we can really
20877
 
    # say is unknown -- it depends on the patch being installed.  If
20878
 
    # it is, this changes to `yes'.  Without it, it would be `no'.
20879
 
    libltdl_cv_sys_dlopen_deplibs=unknown
20880
 
    ;;
20881
 
  osf*)
20882
 
    # the two cases above should catch all versions of osf <= 5.1.  Read
20883
 
    # the comments above for what we know about them.
20884
 
    # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
20885
 
    # is used to find them so we can finally say `yes'.
20886
 
    libltdl_cv_sys_dlopen_deplibs=yes
20887
 
    ;;
20888
 
  solaris*)
20889
 
    libltdl_cv_sys_dlopen_deplibs=yes
20890
 
    ;;
20891
 
  sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20892
 
    libltdl_cv_sys_dlopen_deplibs=yes
20893
 
    ;;
20894
 
  esac
20895
 
 
20896
 
fi
20897
 
{ echo "$as_me:$LINENO: result: $libltdl_cv_sys_dlopen_deplibs" >&5
20898
 
echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6; }
20899
 
if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
20900
 
 
20901
 
cat >>confdefs.h <<\_ACEOF
20902
 
#define LTDL_DLOPEN_DEPLIBS 1
20903
 
_ACEOF
20904
 
 
20905
 
fi
20906
 
 
20907
 
 
20908
 
for ac_header in argz.h
20909
 
do
20910
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20911
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20912
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
20913
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20914
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20915
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20916
 
fi
20917
 
ac_res=`eval echo '${'$as_ac_Header'}'`
20918
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
20919
 
echo "${ECHO_T}$ac_res" >&6; }
20920
 
else
20921
 
  # Is the header compilable?
20922
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
20923
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20924
 
cat >conftest.$ac_ext <<_ACEOF
20925
 
/* confdefs.h.  */
20926
 
_ACEOF
20927
 
cat confdefs.h >>conftest.$ac_ext
20928
 
cat >>conftest.$ac_ext <<_ACEOF
20929
 
/* end confdefs.h.  */
20930
 
$ac_includes_default
20931
 
#include <$ac_header>
20932
 
_ACEOF
20933
 
rm -f conftest.$ac_objext
20934
 
if { (ac_try="$ac_compile"
20935
 
case "(($ac_try" in
20936
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20937
 
  *) ac_try_echo=$ac_try;;
20938
 
esac
20939
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20940
 
  (eval "$ac_compile") 2>conftest.er1
20941
 
  ac_status=$?
20942
 
  grep -v '^ *+' conftest.er1 >conftest.err
20943
 
  rm -f conftest.er1
20944
 
  cat conftest.err >&5
20945
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20946
 
  (exit $ac_status); } && {
20947
 
         test -z "$ac_c_werror_flag" ||
20948
 
         test ! -s conftest.err
20949
 
       } && test -s conftest.$ac_objext; then
20950
 
  ac_header_compiler=yes
20951
 
else
20952
 
  echo "$as_me: failed program was:" >&5
20953
 
sed 's/^/| /' conftest.$ac_ext >&5
20954
 
 
20955
 
        ac_header_compiler=no
20956
 
fi
20957
 
 
20958
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20959
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20960
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
20961
 
 
20962
 
# Is the header present?
20963
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
20964
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20965
 
cat >conftest.$ac_ext <<_ACEOF
20966
 
/* confdefs.h.  */
20967
 
_ACEOF
20968
 
cat confdefs.h >>conftest.$ac_ext
20969
 
cat >>conftest.$ac_ext <<_ACEOF
20970
 
/* end confdefs.h.  */
20971
 
#include <$ac_header>
20972
 
_ACEOF
20973
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
20974
 
case "(($ac_try" in
20975
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20976
 
  *) ac_try_echo=$ac_try;;
20977
 
esac
20978
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20979
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20980
 
  ac_status=$?
20981
 
  grep -v '^ *+' conftest.er1 >conftest.err
20982
 
  rm -f conftest.er1
20983
 
  cat conftest.err >&5
20984
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20985
 
  (exit $ac_status); } >/dev/null && {
20986
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20987
 
         test ! -s conftest.err
20988
 
       }; then
20989
 
  ac_header_preproc=yes
20990
 
else
20991
 
  echo "$as_me: failed program was:" >&5
20992
 
sed 's/^/| /' conftest.$ac_ext >&5
20993
 
 
20994
 
  ac_header_preproc=no
20995
 
fi
20996
 
 
20997
 
rm -f conftest.err conftest.$ac_ext
20998
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20999
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
21000
 
 
21001
 
# So?  What about this header?
21002
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21003
 
  yes:no: )
21004
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21005
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21006
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21007
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21008
 
    ac_header_preproc=yes
21009
 
    ;;
21010
 
  no:yes:* )
21011
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21012
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21013
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
21014
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
21015
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21016
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21017
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
21018
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21019
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21020
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21021
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21022
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21023
 
    ( cat <<\_ASBOX
21024
 
## ---------------------------------- ##
21025
 
## Report this to bug-libtool@gnu.org ##
21026
 
## ---------------------------------- ##
21027
 
_ASBOX
21028
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
21029
 
    ;;
21030
 
esac
21031
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21032
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21033
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21034
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21035
 
else
21036
 
  eval "$as_ac_Header=\$ac_header_preproc"
21037
 
fi
21038
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21039
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21040
 
echo "${ECHO_T}$ac_res" >&6; }
21041
 
 
21042
 
fi
21043
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
21044
 
  cat >>confdefs.h <<_ACEOF
21045
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21046
 
_ACEOF
21047
 
 
21048
 
fi
21049
 
 
21050
 
done
21051
 
 
21052
 
 
21053
 
{ echo "$as_me:$LINENO: checking for error_t" >&5
21054
 
echo $ECHO_N "checking for error_t... $ECHO_C" >&6; }
21055
 
if test "${ac_cv_type_error_t+set}" = set; then
21056
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21057
 
else
21058
 
  cat >conftest.$ac_ext <<_ACEOF
21059
 
/* confdefs.h.  */
21060
 
_ACEOF
21061
 
cat confdefs.h >>conftest.$ac_ext
21062
 
cat >>conftest.$ac_ext <<_ACEOF
21063
 
/* end confdefs.h.  */
21064
 
#if HAVE_ARGZ_H
21065
 
#  include <argz.h>
21066
 
#endif
21067
 
 
21068
 
typedef error_t ac__type_new_;
21069
 
int
21070
 
main ()
21071
 
{
21072
 
if ((ac__type_new_ *) 0)
21073
 
  return 0;
21074
 
if (sizeof (ac__type_new_))
21075
 
  return 0;
21076
 
  ;
21077
 
  return 0;
21078
 
}
21079
 
_ACEOF
21080
 
rm -f conftest.$ac_objext
21081
 
if { (ac_try="$ac_compile"
21082
 
case "(($ac_try" in
21083
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21084
 
  *) ac_try_echo=$ac_try;;
21085
 
esac
21086
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21087
 
  (eval "$ac_compile") 2>conftest.er1
21088
 
  ac_status=$?
21089
 
  grep -v '^ *+' conftest.er1 >conftest.err
21090
 
  rm -f conftest.er1
21091
 
  cat conftest.err >&5
21092
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21093
 
  (exit $ac_status); } && {
21094
 
         test -z "$ac_c_werror_flag" ||
21095
 
         test ! -s conftest.err
21096
 
       } && test -s conftest.$ac_objext; then
21097
 
  ac_cv_type_error_t=yes
21098
 
else
21099
 
  echo "$as_me: failed program was:" >&5
21100
 
sed 's/^/| /' conftest.$ac_ext >&5
21101
 
 
21102
 
        ac_cv_type_error_t=no
21103
 
fi
21104
 
 
21105
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21106
 
fi
21107
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
21108
 
echo "${ECHO_T}$ac_cv_type_error_t" >&6; }
21109
 
if test $ac_cv_type_error_t = yes; then
21110
 
 
21111
 
cat >>confdefs.h <<_ACEOF
21112
 
#define HAVE_ERROR_T 1
21113
 
_ACEOF
21114
 
 
21115
 
 
21116
 
else
21117
 
 
21118
 
cat >>confdefs.h <<\_ACEOF
21119
 
#define error_t int
21120
 
_ACEOF
21121
 
 
21122
 
fi
21123
 
 
21124
 
 
21125
 
 
21126
 
 
21127
 
 
21128
 
 
21129
 
 
21130
 
for ac_func in argz_append argz_create_sep argz_insert argz_next argz_stringify
21131
 
do
21132
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21133
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
21134
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21135
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21136
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21137
 
else
21138
 
  cat >conftest.$ac_ext <<_ACEOF
21139
 
/* confdefs.h.  */
21140
 
_ACEOF
21141
 
cat confdefs.h >>conftest.$ac_ext
21142
 
cat >>conftest.$ac_ext <<_ACEOF
21143
 
/* end confdefs.h.  */
21144
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21145
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21146
 
#define $ac_func innocuous_$ac_func
21147
 
 
21148
 
/* System header to define __stub macros and hopefully few prototypes,
21149
 
    which can conflict with char $ac_func (); below.
21150
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21151
 
    <limits.h> exists even on freestanding compilers.  */
21152
 
 
21153
 
#ifdef __STDC__
21154
 
# include <limits.h>
21155
 
#else
21156
 
# include <assert.h>
21157
 
#endif
21158
 
 
21159
 
#undef $ac_func
21160
 
 
21161
 
/* Override any GCC internal prototype to avoid an error.
21162
 
   Use char because int might match the return type of a GCC
21163
 
   builtin and then its argument prototype would still apply.  */
21164
 
#ifdef __cplusplus
21165
 
extern "C"
21166
 
#endif
21167
 
char $ac_func ();
21168
 
/* The GNU C library defines this for functions which it implements
21169
 
    to always fail with ENOSYS.  Some functions are actually named
21170
 
    something starting with __ and the normal name is an alias.  */
21171
 
#if defined __stub_$ac_func || defined __stub___$ac_func
21172
 
choke me
21173
 
#endif
21174
 
 
21175
 
int
21176
 
main ()
21177
 
{
21178
 
return $ac_func ();
21179
 
  ;
21180
 
  return 0;
21181
 
}
21182
 
_ACEOF
21183
 
rm -f conftest.$ac_objext conftest$ac_exeext
21184
 
if { (ac_try="$ac_link"
21185
 
case "(($ac_try" in
21186
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21187
 
  *) ac_try_echo=$ac_try;;
21188
 
esac
21189
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21190
 
  (eval "$ac_link") 2>conftest.er1
21191
 
  ac_status=$?
21192
 
  grep -v '^ *+' conftest.er1 >conftest.err
21193
 
  rm -f conftest.er1
21194
 
  cat conftest.err >&5
21195
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196
 
  (exit $ac_status); } && {
21197
 
         test -z "$ac_c_werror_flag" ||
21198
 
         test ! -s conftest.err
21199
 
       } && test -s conftest$ac_exeext &&
21200
 
       $as_test_x conftest$ac_exeext; then
21201
 
  eval "$as_ac_var=yes"
21202
 
else
21203
 
  echo "$as_me: failed program was:" >&5
21204
 
sed 's/^/| /' conftest.$ac_ext >&5
21205
 
 
21206
 
        eval "$as_ac_var=no"
21207
 
fi
21208
 
 
21209
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21210
 
      conftest$ac_exeext conftest.$ac_ext
21211
 
fi
21212
 
ac_res=`eval echo '${'$as_ac_var'}'`
21213
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21214
 
echo "${ECHO_T}$ac_res" >&6; }
21215
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
21216
 
  cat >>confdefs.h <<_ACEOF
21217
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21218
 
_ACEOF
21219
 
 
21220
 
fi
21221
 
done
21222
 
 
21223
 
 
21224
 
 
21225
 
 
21226
 
 
21227
 
 
21228
 
 
21229
 
 
21230
 
 
21231
 
 
21232
 
 
21233
 
 
21234
 
 
21235
 
 
21236
 
 
21237
 
 
21238
 
 
21239
 
 
21240
 
 
21241
 
 
21242
 
 
21243
 
 
21244
 
 
21245
 
 
21246
 
 
21247
 
 
21248
 
 
21249
 
 
21250
 
for ac_header in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
21251
 
                  stdio.h unistd.h
21252
 
do
21253
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21254
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21255
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
21256
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21257
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21258
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21259
 
fi
21260
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21261
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21262
 
echo "${ECHO_T}$ac_res" >&6; }
21263
 
else
21264
 
  # Is the header compilable?
21265
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21266
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21267
 
cat >conftest.$ac_ext <<_ACEOF
21268
 
/* confdefs.h.  */
21269
 
_ACEOF
21270
 
cat confdefs.h >>conftest.$ac_ext
21271
 
cat >>conftest.$ac_ext <<_ACEOF
21272
 
/* end confdefs.h.  */
21273
 
$ac_includes_default
21274
 
#include <$ac_header>
21275
 
_ACEOF
21276
 
rm -f conftest.$ac_objext
21277
 
if { (ac_try="$ac_compile"
21278
 
case "(($ac_try" in
21279
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21280
 
  *) ac_try_echo=$ac_try;;
21281
 
esac
21282
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21283
 
  (eval "$ac_compile") 2>conftest.er1
21284
 
  ac_status=$?
21285
 
  grep -v '^ *+' conftest.er1 >conftest.err
21286
 
  rm -f conftest.er1
21287
 
  cat conftest.err >&5
21288
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21289
 
  (exit $ac_status); } && {
21290
 
         test -z "$ac_c_werror_flag" ||
21291
 
         test ! -s conftest.err
21292
 
       } && test -s conftest.$ac_objext; then
21293
 
  ac_header_compiler=yes
21294
 
else
21295
 
  echo "$as_me: failed program was:" >&5
21296
 
sed 's/^/| /' conftest.$ac_ext >&5
21297
 
 
21298
 
        ac_header_compiler=no
21299
 
fi
21300
 
 
21301
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21302
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21303
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
21304
 
 
21305
 
# Is the header present?
21306
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
21307
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21308
 
cat >conftest.$ac_ext <<_ACEOF
21309
 
/* confdefs.h.  */
21310
 
_ACEOF
21311
 
cat confdefs.h >>conftest.$ac_ext
21312
 
cat >>conftest.$ac_ext <<_ACEOF
21313
 
/* end confdefs.h.  */
21314
 
#include <$ac_header>
21315
 
_ACEOF
21316
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
21317
 
case "(($ac_try" in
21318
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21319
 
  *) ac_try_echo=$ac_try;;
21320
 
esac
21321
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21322
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21323
 
  ac_status=$?
21324
 
  grep -v '^ *+' conftest.er1 >conftest.err
21325
 
  rm -f conftest.er1
21326
 
  cat conftest.err >&5
21327
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21328
 
  (exit $ac_status); } >/dev/null && {
21329
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21330
 
         test ! -s conftest.err
21331
 
       }; then
21332
 
  ac_header_preproc=yes
21333
 
else
21334
 
  echo "$as_me: failed program was:" >&5
21335
 
sed 's/^/| /' conftest.$ac_ext >&5
21336
 
 
21337
 
  ac_header_preproc=no
21338
 
fi
21339
 
 
21340
 
rm -f conftest.err conftest.$ac_ext
21341
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21342
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
21343
 
 
21344
 
# So?  What about this header?
21345
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21346
 
  yes:no: )
21347
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21348
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21349
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21350
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21351
 
    ac_header_preproc=yes
21352
 
    ;;
21353
 
  no:yes:* )
21354
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21355
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21356
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
21357
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
21358
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21359
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21360
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
21361
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21362
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21363
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21364
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21365
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21366
 
    ( cat <<\_ASBOX
21367
 
## ---------------------------------- ##
21368
 
## Report this to bug-libtool@gnu.org ##
21369
 
## ---------------------------------- ##
21370
 
_ASBOX
21371
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
21372
 
    ;;
21373
 
esac
21374
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21375
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21376
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21377
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21378
 
else
21379
 
  eval "$as_ac_Header=\$ac_header_preproc"
21380
 
fi
21381
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21382
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21383
 
echo "${ECHO_T}$ac_res" >&6; }
21384
 
 
21385
 
fi
21386
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
21387
 
  cat >>confdefs.h <<_ACEOF
21388
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21389
 
_ACEOF
21390
 
 
21391
 
fi
21392
 
 
21393
 
done
21394
 
 
21395
 
 
21396
 
 
21397
 
 
21398
 
 
21399
 
for ac_header in dl.h sys/dl.h dld.h mach-o/dyld.h
21400
 
do
21401
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21402
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21403
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
21404
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21405
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21406
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21407
 
fi
21408
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21409
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21410
 
echo "${ECHO_T}$ac_res" >&6; }
21411
 
else
21412
 
  # Is the header compilable?
21413
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21414
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21415
 
cat >conftest.$ac_ext <<_ACEOF
21416
 
/* confdefs.h.  */
21417
 
_ACEOF
21418
 
cat confdefs.h >>conftest.$ac_ext
21419
 
cat >>conftest.$ac_ext <<_ACEOF
21420
 
/* end confdefs.h.  */
21421
 
$ac_includes_default
21422
 
#include <$ac_header>
21423
 
_ACEOF
21424
 
rm -f conftest.$ac_objext
21425
 
if { (ac_try="$ac_compile"
21426
 
case "(($ac_try" in
21427
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21428
 
  *) ac_try_echo=$ac_try;;
21429
 
esac
21430
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21431
 
  (eval "$ac_compile") 2>conftest.er1
21432
 
  ac_status=$?
21433
 
  grep -v '^ *+' conftest.er1 >conftest.err
21434
 
  rm -f conftest.er1
21435
 
  cat conftest.err >&5
21436
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437
 
  (exit $ac_status); } && {
21438
 
         test -z "$ac_c_werror_flag" ||
21439
 
         test ! -s conftest.err
21440
 
       } && test -s conftest.$ac_objext; then
21441
 
  ac_header_compiler=yes
21442
 
else
21443
 
  echo "$as_me: failed program was:" >&5
21444
 
sed 's/^/| /' conftest.$ac_ext >&5
21445
 
 
21446
 
        ac_header_compiler=no
21447
 
fi
21448
 
 
21449
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21450
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21451
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
21452
 
 
21453
 
# Is the header present?
21454
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
21455
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21456
 
cat >conftest.$ac_ext <<_ACEOF
21457
 
/* confdefs.h.  */
21458
 
_ACEOF
21459
 
cat confdefs.h >>conftest.$ac_ext
21460
 
cat >>conftest.$ac_ext <<_ACEOF
21461
 
/* end confdefs.h.  */
21462
 
#include <$ac_header>
21463
 
_ACEOF
21464
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
21465
 
case "(($ac_try" in
21466
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21467
 
  *) ac_try_echo=$ac_try;;
21468
 
esac
21469
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21470
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21471
 
  ac_status=$?
21472
 
  grep -v '^ *+' conftest.er1 >conftest.err
21473
 
  rm -f conftest.er1
21474
 
  cat conftest.err >&5
21475
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21476
 
  (exit $ac_status); } >/dev/null && {
21477
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21478
 
         test ! -s conftest.err
21479
 
       }; then
21480
 
  ac_header_preproc=yes
21481
 
else
21482
 
  echo "$as_me: failed program was:" >&5
21483
 
sed 's/^/| /' conftest.$ac_ext >&5
21484
 
 
21485
 
  ac_header_preproc=no
21486
 
fi
21487
 
 
21488
 
rm -f conftest.err conftest.$ac_ext
21489
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21490
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
21491
 
 
21492
 
# So?  What about this header?
21493
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21494
 
  yes:no: )
21495
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21496
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21497
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21498
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21499
 
    ac_header_preproc=yes
21500
 
    ;;
21501
 
  no:yes:* )
21502
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21503
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21504
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
21505
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
21506
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21507
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21508
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
21509
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21510
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21511
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21512
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21513
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21514
 
    ( cat <<\_ASBOX
21515
 
## ---------------------------------- ##
21516
 
## Report this to bug-libtool@gnu.org ##
21517
 
## ---------------------------------- ##
21518
 
_ASBOX
21519
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
21520
 
    ;;
21521
 
esac
21522
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21523
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21524
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21525
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21526
 
else
21527
 
  eval "$as_ac_Header=\$ac_header_preproc"
21528
 
fi
21529
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21530
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21531
 
echo "${ECHO_T}$ac_res" >&6; }
21532
 
 
21533
 
fi
21534
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
21535
 
  cat >>confdefs.h <<_ACEOF
21536
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21537
 
_ACEOF
21538
 
 
21539
 
fi
21540
 
 
21541
 
done
21542
 
 
21543
 
 
21544
 
 
21545
 
for ac_header in string.h strings.h
21546
 
do
21547
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21548
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21549
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
21550
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21551
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21552
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21553
 
fi
21554
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21555
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21556
 
echo "${ECHO_T}$ac_res" >&6; }
21557
 
else
21558
 
  # Is the header compilable?
21559
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21560
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21561
 
cat >conftest.$ac_ext <<_ACEOF
21562
 
/* confdefs.h.  */
21563
 
_ACEOF
21564
 
cat confdefs.h >>conftest.$ac_ext
21565
 
cat >>conftest.$ac_ext <<_ACEOF
21566
 
/* end confdefs.h.  */
21567
 
$ac_includes_default
21568
 
#include <$ac_header>
21569
 
_ACEOF
21570
 
rm -f conftest.$ac_objext
21571
 
if { (ac_try="$ac_compile"
21572
 
case "(($ac_try" in
21573
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21574
 
  *) ac_try_echo=$ac_try;;
21575
 
esac
21576
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21577
 
  (eval "$ac_compile") 2>conftest.er1
21578
 
  ac_status=$?
21579
 
  grep -v '^ *+' conftest.er1 >conftest.err
21580
 
  rm -f conftest.er1
21581
 
  cat conftest.err >&5
21582
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21583
 
  (exit $ac_status); } && {
21584
 
         test -z "$ac_c_werror_flag" ||
21585
 
         test ! -s conftest.err
21586
 
       } && test -s conftest.$ac_objext; then
21587
 
  ac_header_compiler=yes
21588
 
else
21589
 
  echo "$as_me: failed program was:" >&5
21590
 
sed 's/^/| /' conftest.$ac_ext >&5
21591
 
 
21592
 
        ac_header_compiler=no
21593
 
fi
21594
 
 
21595
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21596
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21597
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
21598
 
 
21599
 
# Is the header present?
21600
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
21601
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21602
 
cat >conftest.$ac_ext <<_ACEOF
21603
 
/* confdefs.h.  */
21604
 
_ACEOF
21605
 
cat confdefs.h >>conftest.$ac_ext
21606
 
cat >>conftest.$ac_ext <<_ACEOF
21607
 
/* end confdefs.h.  */
21608
 
#include <$ac_header>
21609
 
_ACEOF
21610
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
21611
 
case "(($ac_try" in
21612
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21613
 
  *) ac_try_echo=$ac_try;;
21614
 
esac
21615
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21616
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21617
 
  ac_status=$?
21618
 
  grep -v '^ *+' conftest.er1 >conftest.err
21619
 
  rm -f conftest.er1
21620
 
  cat conftest.err >&5
21621
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21622
 
  (exit $ac_status); } >/dev/null && {
21623
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21624
 
         test ! -s conftest.err
21625
 
       }; then
21626
 
  ac_header_preproc=yes
21627
 
else
21628
 
  echo "$as_me: failed program was:" >&5
21629
 
sed 's/^/| /' conftest.$ac_ext >&5
21630
 
 
21631
 
  ac_header_preproc=no
21632
 
fi
21633
 
 
21634
 
rm -f conftest.err conftest.$ac_ext
21635
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21636
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
21637
 
 
21638
 
# So?  What about this header?
21639
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21640
 
  yes:no: )
21641
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21642
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21643
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21644
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21645
 
    ac_header_preproc=yes
21646
 
    ;;
21647
 
  no:yes:* )
21648
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21649
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21650
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
21651
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
21652
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21653
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21654
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
21655
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21656
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21657
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21658
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21659
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21660
 
    ( cat <<\_ASBOX
21661
 
## ---------------------------------- ##
21662
 
## Report this to bug-libtool@gnu.org ##
21663
 
## ---------------------------------- ##
21664
 
_ASBOX
21665
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
21666
 
    ;;
21667
 
esac
21668
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21669
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21670
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21671
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21672
 
else
21673
 
  eval "$as_ac_Header=\$ac_header_preproc"
21674
 
fi
21675
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21676
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21677
 
echo "${ECHO_T}$ac_res" >&6; }
21678
 
 
21679
 
fi
21680
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
21681
 
  cat >>confdefs.h <<_ACEOF
21682
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21683
 
_ACEOF
21684
 
 break
21685
 
fi
21686
 
 
21687
 
done
21688
 
 
21689
 
 
21690
 
 
21691
 
 
21692
 
for ac_func in strchr index
21693
 
do
21694
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21695
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
21696
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21697
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21698
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21699
 
else
21700
 
  cat >conftest.$ac_ext <<_ACEOF
21701
 
/* confdefs.h.  */
21702
 
_ACEOF
21703
 
cat confdefs.h >>conftest.$ac_ext
21704
 
cat >>conftest.$ac_ext <<_ACEOF
21705
 
/* end confdefs.h.  */
21706
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21707
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21708
 
#define $ac_func innocuous_$ac_func
21709
 
 
21710
 
/* System header to define __stub macros and hopefully few prototypes,
21711
 
    which can conflict with char $ac_func (); below.
21712
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21713
 
    <limits.h> exists even on freestanding compilers.  */
21714
 
 
21715
 
#ifdef __STDC__
21716
 
# include <limits.h>
21717
 
#else
21718
 
# include <assert.h>
21719
 
#endif
21720
 
 
21721
 
#undef $ac_func
21722
 
 
21723
 
/* Override any GCC internal prototype to avoid an error.
21724
 
   Use char because int might match the return type of a GCC
21725
 
   builtin and then its argument prototype would still apply.  */
21726
 
#ifdef __cplusplus
21727
 
extern "C"
21728
 
#endif
21729
 
char $ac_func ();
21730
 
/* The GNU C library defines this for functions which it implements
21731
 
    to always fail with ENOSYS.  Some functions are actually named
21732
 
    something starting with __ and the normal name is an alias.  */
21733
 
#if defined __stub_$ac_func || defined __stub___$ac_func
21734
 
choke me
21735
 
#endif
21736
 
 
21737
 
int
21738
 
main ()
21739
 
{
21740
 
return $ac_func ();
21741
 
  ;
21742
 
  return 0;
21743
 
}
21744
 
_ACEOF
21745
 
rm -f conftest.$ac_objext conftest$ac_exeext
21746
 
if { (ac_try="$ac_link"
21747
 
case "(($ac_try" in
21748
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21749
 
  *) ac_try_echo=$ac_try;;
21750
 
esac
21751
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21752
 
  (eval "$ac_link") 2>conftest.er1
21753
 
  ac_status=$?
21754
 
  grep -v '^ *+' conftest.er1 >conftest.err
21755
 
  rm -f conftest.er1
21756
 
  cat conftest.err >&5
21757
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21758
 
  (exit $ac_status); } && {
21759
 
         test -z "$ac_c_werror_flag" ||
21760
 
         test ! -s conftest.err
21761
 
       } && test -s conftest$ac_exeext &&
21762
 
       $as_test_x conftest$ac_exeext; then
21763
 
  eval "$as_ac_var=yes"
21764
 
else
21765
 
  echo "$as_me: failed program was:" >&5
21766
 
sed 's/^/| /' conftest.$ac_ext >&5
21767
 
 
21768
 
        eval "$as_ac_var=no"
21769
 
fi
21770
 
 
21771
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21772
 
      conftest$ac_exeext conftest.$ac_ext
21773
 
fi
21774
 
ac_res=`eval echo '${'$as_ac_var'}'`
21775
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21776
 
echo "${ECHO_T}$ac_res" >&6; }
21777
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
21778
 
  cat >>confdefs.h <<_ACEOF
21779
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21780
 
_ACEOF
21781
 
 break
21782
 
fi
21783
 
done
21784
 
 
21785
 
 
21786
 
 
21787
 
for ac_func in strrchr rindex
21788
 
do
21789
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21790
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
21791
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21792
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21793
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21794
 
else
21795
 
  cat >conftest.$ac_ext <<_ACEOF
21796
 
/* confdefs.h.  */
21797
 
_ACEOF
21798
 
cat confdefs.h >>conftest.$ac_ext
21799
 
cat >>conftest.$ac_ext <<_ACEOF
21800
 
/* end confdefs.h.  */
21801
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21802
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21803
 
#define $ac_func innocuous_$ac_func
21804
 
 
21805
 
/* System header to define __stub macros and hopefully few prototypes,
21806
 
    which can conflict with char $ac_func (); below.
21807
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21808
 
    <limits.h> exists even on freestanding compilers.  */
21809
 
 
21810
 
#ifdef __STDC__
21811
 
# include <limits.h>
21812
 
#else
21813
 
# include <assert.h>
21814
 
#endif
21815
 
 
21816
 
#undef $ac_func
21817
 
 
21818
 
/* Override any GCC internal prototype to avoid an error.
21819
 
   Use char because int might match the return type of a GCC
21820
 
   builtin and then its argument prototype would still apply.  */
21821
 
#ifdef __cplusplus
21822
 
extern "C"
21823
 
#endif
21824
 
char $ac_func ();
21825
 
/* The GNU C library defines this for functions which it implements
21826
 
    to always fail with ENOSYS.  Some functions are actually named
21827
 
    something starting with __ and the normal name is an alias.  */
21828
 
#if defined __stub_$ac_func || defined __stub___$ac_func
21829
 
choke me
21830
 
#endif
21831
 
 
21832
 
int
21833
 
main ()
21834
 
{
21835
 
return $ac_func ();
21836
 
  ;
21837
 
  return 0;
21838
 
}
21839
 
_ACEOF
21840
 
rm -f conftest.$ac_objext conftest$ac_exeext
21841
 
if { (ac_try="$ac_link"
21842
 
case "(($ac_try" in
21843
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21844
 
  *) ac_try_echo=$ac_try;;
21845
 
esac
21846
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21847
 
  (eval "$ac_link") 2>conftest.er1
21848
 
  ac_status=$?
21849
 
  grep -v '^ *+' conftest.er1 >conftest.err
21850
 
  rm -f conftest.er1
21851
 
  cat conftest.err >&5
21852
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21853
 
  (exit $ac_status); } && {
21854
 
         test -z "$ac_c_werror_flag" ||
21855
 
         test ! -s conftest.err
21856
 
       } && test -s conftest$ac_exeext &&
21857
 
       $as_test_x conftest$ac_exeext; then
21858
 
  eval "$as_ac_var=yes"
21859
 
else
21860
 
  echo "$as_me: failed program was:" >&5
21861
 
sed 's/^/| /' conftest.$ac_ext >&5
21862
 
 
21863
 
        eval "$as_ac_var=no"
21864
 
fi
21865
 
 
21866
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21867
 
      conftest$ac_exeext conftest.$ac_ext
21868
 
fi
21869
 
ac_res=`eval echo '${'$as_ac_var'}'`
21870
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21871
 
echo "${ECHO_T}$ac_res" >&6; }
21872
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
21873
 
  cat >>confdefs.h <<_ACEOF
21874
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21875
 
_ACEOF
21876
 
 break
21877
 
fi
21878
 
done
21879
 
 
21880
 
 
21881
 
 
21882
 
for ac_func in memcpy bcopy
21883
 
do
21884
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21885
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
21886
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21887
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21888
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21889
 
else
21890
 
  cat >conftest.$ac_ext <<_ACEOF
21891
 
/* confdefs.h.  */
21892
 
_ACEOF
21893
 
cat confdefs.h >>conftest.$ac_ext
21894
 
cat >>conftest.$ac_ext <<_ACEOF
21895
 
/* end confdefs.h.  */
21896
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21897
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21898
 
#define $ac_func innocuous_$ac_func
21899
 
 
21900
 
/* System header to define __stub macros and hopefully few prototypes,
21901
 
    which can conflict with char $ac_func (); below.
21902
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21903
 
    <limits.h> exists even on freestanding compilers.  */
21904
 
 
21905
 
#ifdef __STDC__
21906
 
# include <limits.h>
21907
 
#else
21908
 
# include <assert.h>
21909
 
#endif
21910
 
 
21911
 
#undef $ac_func
21912
 
 
21913
 
/* Override any GCC internal prototype to avoid an error.
21914
 
   Use char because int might match the return type of a GCC
21915
 
   builtin and then its argument prototype would still apply.  */
21916
 
#ifdef __cplusplus
21917
 
extern "C"
21918
 
#endif
21919
 
char $ac_func ();
21920
 
/* The GNU C library defines this for functions which it implements
21921
 
    to always fail with ENOSYS.  Some functions are actually named
21922
 
    something starting with __ and the normal name is an alias.  */
21923
 
#if defined __stub_$ac_func || defined __stub___$ac_func
21924
 
choke me
21925
 
#endif
21926
 
 
21927
 
int
21928
 
main ()
21929
 
{
21930
 
return $ac_func ();
21931
 
  ;
21932
 
  return 0;
21933
 
}
21934
 
_ACEOF
21935
 
rm -f conftest.$ac_objext conftest$ac_exeext
21936
 
if { (ac_try="$ac_link"
21937
 
case "(($ac_try" in
21938
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21939
 
  *) ac_try_echo=$ac_try;;
21940
 
esac
21941
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21942
 
  (eval "$ac_link") 2>conftest.er1
21943
 
  ac_status=$?
21944
 
  grep -v '^ *+' conftest.er1 >conftest.err
21945
 
  rm -f conftest.er1
21946
 
  cat conftest.err >&5
21947
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948
 
  (exit $ac_status); } && {
21949
 
         test -z "$ac_c_werror_flag" ||
21950
 
         test ! -s conftest.err
21951
 
       } && test -s conftest$ac_exeext &&
21952
 
       $as_test_x conftest$ac_exeext; then
21953
 
  eval "$as_ac_var=yes"
21954
 
else
21955
 
  echo "$as_me: failed program was:" >&5
21956
 
sed 's/^/| /' conftest.$ac_ext >&5
21957
 
 
21958
 
        eval "$as_ac_var=no"
21959
 
fi
21960
 
 
21961
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21962
 
      conftest$ac_exeext conftest.$ac_ext
21963
 
fi
21964
 
ac_res=`eval echo '${'$as_ac_var'}'`
21965
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21966
 
echo "${ECHO_T}$ac_res" >&6; }
21967
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
21968
 
  cat >>confdefs.h <<_ACEOF
21969
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21970
 
_ACEOF
21971
 
 break
21972
 
fi
21973
 
done
21974
 
 
21975
 
 
21976
 
 
21977
 
for ac_func in memmove strcmp
21978
 
do
21979
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21980
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
21981
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21982
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21983
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21984
 
else
21985
 
  cat >conftest.$ac_ext <<_ACEOF
21986
 
/* confdefs.h.  */
21987
 
_ACEOF
21988
 
cat confdefs.h >>conftest.$ac_ext
21989
 
cat >>conftest.$ac_ext <<_ACEOF
21990
 
/* end confdefs.h.  */
21991
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21992
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21993
 
#define $ac_func innocuous_$ac_func
21994
 
 
21995
 
/* System header to define __stub macros and hopefully few prototypes,
21996
 
    which can conflict with char $ac_func (); below.
21997
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21998
 
    <limits.h> exists even on freestanding compilers.  */
21999
 
 
22000
 
#ifdef __STDC__
22001
 
# include <limits.h>
22002
 
#else
22003
 
# include <assert.h>
22004
 
#endif
22005
 
 
22006
 
#undef $ac_func
22007
 
 
22008
 
/* Override any GCC internal prototype to avoid an error.
22009
 
   Use char because int might match the return type of a GCC
22010
 
   builtin and then its argument prototype would still apply.  */
22011
 
#ifdef __cplusplus
22012
 
extern "C"
22013
 
#endif
22014
 
char $ac_func ();
22015
 
/* The GNU C library defines this for functions which it implements
22016
 
    to always fail with ENOSYS.  Some functions are actually named
22017
 
    something starting with __ and the normal name is an alias.  */
22018
 
#if defined __stub_$ac_func || defined __stub___$ac_func
22019
 
choke me
22020
 
#endif
22021
 
 
22022
 
int
22023
 
main ()
22024
 
{
22025
 
return $ac_func ();
22026
 
  ;
22027
 
  return 0;
22028
 
}
22029
 
_ACEOF
22030
 
rm -f conftest.$ac_objext conftest$ac_exeext
22031
 
if { (ac_try="$ac_link"
22032
 
case "(($ac_try" in
22033
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22034
 
  *) ac_try_echo=$ac_try;;
22035
 
esac
22036
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22037
 
  (eval "$ac_link") 2>conftest.er1
22038
 
  ac_status=$?
22039
 
  grep -v '^ *+' conftest.er1 >conftest.err
22040
 
  rm -f conftest.er1
22041
 
  cat conftest.err >&5
22042
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043
 
  (exit $ac_status); } && {
22044
 
         test -z "$ac_c_werror_flag" ||
22045
 
         test ! -s conftest.err
22046
 
       } && test -s conftest$ac_exeext &&
22047
 
       $as_test_x conftest$ac_exeext; then
22048
 
  eval "$as_ac_var=yes"
22049
 
else
22050
 
  echo "$as_me: failed program was:" >&5
22051
 
sed 's/^/| /' conftest.$ac_ext >&5
22052
 
 
22053
 
        eval "$as_ac_var=no"
22054
 
fi
22055
 
 
22056
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22057
 
      conftest$ac_exeext conftest.$ac_ext
22058
 
fi
22059
 
ac_res=`eval echo '${'$as_ac_var'}'`
22060
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22061
 
echo "${ECHO_T}$ac_res" >&6; }
22062
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
22063
 
  cat >>confdefs.h <<_ACEOF
22064
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22065
 
_ACEOF
22066
 
 
22067
 
fi
22068
 
done
22069
 
 
22070
 
 
22071
 
 
22072
 
 
22073
 
for ac_func in closedir opendir readdir
22074
 
do
22075
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22076
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22077
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22078
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22079
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22080
 
else
22081
 
  cat >conftest.$ac_ext <<_ACEOF
22082
 
/* confdefs.h.  */
22083
 
_ACEOF
22084
 
cat confdefs.h >>conftest.$ac_ext
22085
 
cat >>conftest.$ac_ext <<_ACEOF
22086
 
/* end confdefs.h.  */
22087
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22088
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22089
 
#define $ac_func innocuous_$ac_func
22090
 
 
22091
 
/* System header to define __stub macros and hopefully few prototypes,
22092
 
    which can conflict with char $ac_func (); below.
22093
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22094
 
    <limits.h> exists even on freestanding compilers.  */
22095
 
 
22096
 
#ifdef __STDC__
22097
 
# include <limits.h>
22098
 
#else
22099
 
# include <assert.h>
22100
 
#endif
22101
 
 
22102
 
#undef $ac_func
22103
 
 
22104
 
/* Override any GCC internal prototype to avoid an error.
22105
 
   Use char because int might match the return type of a GCC
22106
 
   builtin and then its argument prototype would still apply.  */
22107
 
#ifdef __cplusplus
22108
 
extern "C"
22109
 
#endif
22110
 
char $ac_func ();
22111
 
/* The GNU C library defines this for functions which it implements
22112
 
    to always fail with ENOSYS.  Some functions are actually named
22113
 
    something starting with __ and the normal name is an alias.  */
22114
 
#if defined __stub_$ac_func || defined __stub___$ac_func
22115
 
choke me
22116
 
#endif
22117
 
 
22118
 
int
22119
 
main ()
22120
 
{
22121
 
return $ac_func ();
22122
 
  ;
22123
 
  return 0;
22124
 
}
22125
 
_ACEOF
22126
 
rm -f conftest.$ac_objext conftest$ac_exeext
22127
 
if { (ac_try="$ac_link"
22128
 
case "(($ac_try" in
22129
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22130
 
  *) ac_try_echo=$ac_try;;
22131
 
esac
22132
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22133
 
  (eval "$ac_link") 2>conftest.er1
22134
 
  ac_status=$?
22135
 
  grep -v '^ *+' conftest.er1 >conftest.err
22136
 
  rm -f conftest.er1
22137
 
  cat conftest.err >&5
22138
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22139
 
  (exit $ac_status); } && {
22140
 
         test -z "$ac_c_werror_flag" ||
22141
 
         test ! -s conftest.err
22142
 
       } && test -s conftest$ac_exeext &&
22143
 
       $as_test_x conftest$ac_exeext; then
22144
 
  eval "$as_ac_var=yes"
22145
 
else
22146
 
  echo "$as_me: failed program was:" >&5
22147
 
sed 's/^/| /' conftest.$ac_ext >&5
22148
 
 
22149
 
        eval "$as_ac_var=no"
22150
 
fi
22151
 
 
22152
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22153
 
      conftest$ac_exeext conftest.$ac_ext
22154
 
fi
22155
 
ac_res=`eval echo '${'$as_ac_var'}'`
22156
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22157
 
echo "${ECHO_T}$ac_res" >&6; }
22158
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
22159
 
  cat >>confdefs.h <<_ACEOF
22160
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22161
 
_ACEOF
22162
 
 
22163
 
fi
22164
 
done
22165
 
 
22166
 
 
22167
 
 
22168
 
 
22169
 
## -------- ##
22170
 
## Outputs. ##
22171
 
## -------- ##
22172
 
ac_config_files="$ac_config_files Makefile"
22173
 
 
22174
 
cat >confcache <<\_ACEOF
22175
 
# This file is a shell script that caches the results of configure
22176
 
# tests run on this system so they can be shared between configure
22177
 
# scripts and configure runs, see configure's option --config-cache.
22178
 
# It is not useful on other systems.  If it contains results you don't
22179
 
# want to keep, you may remove or edit it.
22180
 
#
22181
 
# config.status only pays attention to the cache file if you give it
22182
 
# the --recheck option to rerun configure.
22183
 
#
22184
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
22185
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
22186
 
# following values.
22187
 
 
22188
 
_ACEOF
22189
 
 
22190
 
# The following way of writing the cache mishandles newlines in values,
22191
 
# but we know of no workaround that is simple, portable, and efficient.
22192
 
# So, we kill variables containing newlines.
22193
 
# Ultrix sh set writes to stderr and can't be redirected directly,
22194
 
# and sets the high bit in the cache file unless we assign to the vars.
22195
 
(
22196
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22197
 
    eval ac_val=\$$ac_var
22198
 
    case $ac_val in #(
22199
 
    *${as_nl}*)
22200
 
      case $ac_var in #(
22201
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22202
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22203
 
      esac
22204
 
      case $ac_var in #(
22205
 
      _ | IFS | as_nl) ;; #(
22206
 
      *) $as_unset $ac_var ;;
22207
 
      esac ;;
22208
 
    esac
22209
 
  done
22210
 
 
22211
 
  (set) 2>&1 |
22212
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
22213
 
    *${as_nl}ac_space=\ *)
22214
 
      # `set' does not quote correctly, so add quotes (double-quote
22215
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
22216
 
      sed -n \
22217
 
        "s/'/'\\\\''/g;
22218
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22219
 
      ;; #(
22220
 
    *)
22221
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
22222
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22223
 
      ;;
22224
 
    esac |
22225
 
    sort
22226
 
) |
22227
 
  sed '
22228
 
     /^ac_cv_env_/b end
22229
 
     t clear
22230
 
     :clear
22231
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22232
 
     t end
22233
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22234
 
     :end' >>confcache
22235
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22236
 
  if test -w "$cache_file"; then
22237
 
    test "x$cache_file" != "x/dev/null" &&
22238
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22239
 
echo "$as_me: updating cache $cache_file" >&6;}
22240
 
    cat confcache >$cache_file
22241
 
  else
22242
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22243
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22244
 
  fi
22245
 
fi
22246
 
rm -f confcache
22247
 
 
22248
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
22249
 
# Let make expand exec_prefix.
22250
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22251
 
 
22252
 
DEFS=-DHAVE_CONFIG_H
22253
 
 
22254
 
ac_libobjs=
22255
 
ac_ltlibobjs=
22256
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22257
 
  # 1. Remove the extension, and $U if already installed.
22258
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22259
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
22260
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
22261
 
  #    will be set to the directory where LIBOBJS objects are built.
22262
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22263
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22264
 
done
22265
 
LIBOBJS=$ac_libobjs
22266
 
 
22267
 
LTLIBOBJS=$ac_ltlibobjs
22268
 
 
22269
 
 
22270
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22271
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22272
 
Usually this means the macro was only invoked conditionally." >&5
22273
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
22274
 
Usually this means the macro was only invoked conditionally." >&2;}
22275
 
   { (exit 1); exit 1; }; }
22276
 
fi
22277
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22278
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22279
 
Usually this means the macro was only invoked conditionally." >&5
22280
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22281
 
Usually this means the macro was only invoked conditionally." >&2;}
22282
 
   { (exit 1); exit 1; }; }
22283
 
fi
22284
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22285
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22286
 
Usually this means the macro was only invoked conditionally." >&5
22287
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22288
 
Usually this means the macro was only invoked conditionally." >&2;}
22289
 
   { (exit 1); exit 1; }; }
22290
 
fi
22291
 
if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
22292
 
  { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
22293
 
Usually this means the macro was only invoked conditionally." >&5
22294
 
echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
22295
 
Usually this means the macro was only invoked conditionally." >&2;}
22296
 
   { (exit 1); exit 1; }; }
22297
 
fi
22298
 
if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
22299
 
  { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
22300
 
Usually this means the macro was only invoked conditionally." >&5
22301
 
echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
22302
 
Usually this means the macro was only invoked conditionally." >&2;}
22303
 
   { (exit 1); exit 1; }; }
22304
 
fi
22305
 
 
22306
 
: ${CONFIG_STATUS=./config.status}
22307
 
ac_clean_files_save=$ac_clean_files
22308
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22309
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22310
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
22311
 
cat >$CONFIG_STATUS <<_ACEOF
22312
 
#! $SHELL
22313
 
# Generated by $as_me.
22314
 
# Run this file to recreate the current configuration.
22315
 
# Compiler output produced by configure, useful for debugging
22316
 
# configure, is in config.log if it exists.
22317
 
 
22318
 
debug=false
22319
 
ac_cs_recheck=false
22320
 
ac_cs_silent=false
22321
 
SHELL=\${CONFIG_SHELL-$SHELL}
22322
 
_ACEOF
22323
 
 
22324
 
cat >>$CONFIG_STATUS <<\_ACEOF
22325
 
## --------------------- ##
22326
 
## M4sh Initialization.  ##
22327
 
## --------------------- ##
22328
 
 
22329
 
# Be more Bourne compatible
22330
 
DUALCASE=1; export DUALCASE # for MKS sh
22331
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22332
 
  emulate sh
22333
 
  NULLCMD=:
22334
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22335
 
  # is contrary to our usage.  Disable this feature.
22336
 
  alias -g '${1+"$@"}'='"$@"'
22337
 
  setopt NO_GLOB_SUBST
22338
 
else
22339
 
  case `(set -o) 2>/dev/null` in
22340
 
  *posix*) set -o posix ;;
22341
 
esac
22342
 
 
22343
 
fi
22344
 
 
22345
 
 
22346
 
 
22347
 
 
22348
 
# PATH needs CR
22349
 
# Avoid depending upon Character Ranges.
22350
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22351
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22352
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22353
 
as_cr_digits='0123456789'
22354
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
22355
 
 
22356
 
# The user is always right.
22357
 
if test "${PATH_SEPARATOR+set}" != set; then
22358
 
  echo "#! /bin/sh" >conf$$.sh
22359
 
  echo  "exit 0"   >>conf$$.sh
22360
 
  chmod +x conf$$.sh
22361
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22362
 
    PATH_SEPARATOR=';'
22363
 
  else
22364
 
    PATH_SEPARATOR=:
22365
 
  fi
22366
 
  rm -f conf$$.sh
22367
 
fi
22368
 
 
22369
 
# Support unset when possible.
22370
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22371
 
  as_unset=unset
22372
 
else
22373
 
  as_unset=false
22374
 
fi
22375
 
 
22376
 
 
22377
 
# IFS
22378
 
# We need space, tab and new line, in precisely that order.  Quoting is
22379
 
# there to prevent editors from complaining about space-tab.
22380
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
22381
 
# splitting by setting IFS to empty value.)
22382
 
as_nl='
22383
 
'
22384
 
IFS=" ""        $as_nl"
22385
 
 
22386
 
# Find who we are.  Look in the path if we contain no directory separator.
22387
 
case $0 in
22388
 
  *[\\/]* ) as_myself=$0 ;;
22389
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22390
 
for as_dir in $PATH
22391
 
do
22392
 
  IFS=$as_save_IFS
22393
 
  test -z "$as_dir" && as_dir=.
22394
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22395
 
done
22396
 
IFS=$as_save_IFS
22397
 
 
22398
 
     ;;
22399
 
esac
22400
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
22401
 
# in which case we are not to be found in the path.
22402
 
if test "x$as_myself" = x; then
22403
 
  as_myself=$0
22404
 
fi
22405
 
if test ! -f "$as_myself"; then
22406
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22407
 
  { (exit 1); exit 1; }
22408
 
fi
22409
 
 
22410
 
# Work around bugs in pre-3.0 UWIN ksh.
22411
 
for as_var in ENV MAIL MAILPATH
22412
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22413
 
done
22414
 
PS1='$ '
22415
 
PS2='> '
22416
 
PS4='+ '
22417
 
 
22418
 
# NLS nuisances.
22419
 
for as_var in \
22420
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22421
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22422
 
  LC_TELEPHONE LC_TIME
22423
 
do
22424
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22425
 
    eval $as_var=C; export $as_var
22426
 
  else
22427
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22428
 
  fi
22429
 
done
22430
 
 
22431
 
# Required to use basename.
22432
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
22433
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
22434
 
  as_expr=expr
22435
 
else
22436
 
  as_expr=false
22437
 
fi
22438
 
 
22439
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22440
 
  as_basename=basename
22441
 
else
22442
 
  as_basename=false
22443
 
fi
22444
 
 
22445
 
 
22446
 
# Name of the executable.
22447
 
as_me=`$as_basename -- "$0" ||
22448
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22449
 
         X"$0" : 'X\(//\)$' \| \
22450
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22451
 
echo X/"$0" |
22452
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
22453
 
            s//\1/
22454
 
            q
22455
 
          }
22456
 
          /^X\/\(\/\/\)$/{
22457
 
            s//\1/
22458
 
            q
22459
 
          }
22460
 
          /^X\/\(\/\).*/{
22461
 
            s//\1/
22462
 
            q
22463
 
          }
22464
 
          s/.*/./; q'`
22465
 
 
22466
 
# CDPATH.
22467
 
$as_unset CDPATH
22468
 
 
22469
 
 
22470
 
 
22471
 
  as_lineno_1=$LINENO
22472
 
  as_lineno_2=$LINENO
22473
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
22474
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22475
 
 
22476
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22477
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
22478
 
  # line-number line after each line using $LINENO; the second 'sed'
22479
 
  # does the real work.  The second script uses 'N' to pair each
22480
 
  # line-number line with the line containing $LINENO, and appends
22481
 
  # trailing '-' during substitution so that $LINENO is not a special
22482
 
  # case at line end.
22483
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22484
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
22485
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
22486
 
  sed -n '
22487
 
    p
22488
 
    /[$]LINENO/=
22489
 
  ' <$as_myself |
22490
 
    sed '
22491
 
      s/[$]LINENO.*/&-/
22492
 
      t lineno
22493
 
      b
22494
 
      :lineno
22495
 
      N
22496
 
      :loop
22497
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22498
 
      t loop
22499
 
      s/-\n.*//
22500
 
    ' >$as_me.lineno &&
22501
 
  chmod +x "$as_me.lineno" ||
22502
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22503
 
   { (exit 1); exit 1; }; }
22504
 
 
22505
 
  # Don't try to exec as it changes $[0], causing all sort of problems
22506
 
  # (the dirname of $[0] is not the place where we might find the
22507
 
  # original and so on.  Autoconf is especially sensitive to this).
22508
 
  . "./$as_me.lineno"
22509
 
  # Exit status is that of the last command.
22510
 
  exit
22511
 
}
22512
 
 
22513
 
 
22514
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22515
 
  as_dirname=dirname
22516
 
else
22517
 
  as_dirname=false
22518
 
fi
22519
 
 
22520
 
ECHO_C= ECHO_N= ECHO_T=
22521
 
case `echo -n x` in
22522
 
-n*)
22523
 
  case `echo 'x\c'` in
22524
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
22525
 
  *)   ECHO_C='\c';;
22526
 
  esac;;
22527
 
*)
22528
 
  ECHO_N='-n';;
22529
 
esac
22530
 
 
22531
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
22532
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
22533
 
  as_expr=expr
22534
 
else
22535
 
  as_expr=false
22536
 
fi
22537
 
 
22538
 
rm -f conf$$ conf$$.exe conf$$.file
22539
 
if test -d conf$$.dir; then
22540
 
  rm -f conf$$.dir/conf$$.file
22541
 
else
22542
 
  rm -f conf$$.dir
22543
 
  mkdir conf$$.dir
22544
 
fi
22545
 
echo >conf$$.file
22546
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
22547
 
  as_ln_s='ln -s'
22548
 
  # ... but there are two gotchas:
22549
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22550
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22551
 
  # In both cases, we have to default to `cp -p'.
22552
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22553
 
    as_ln_s='cp -p'
22554
 
elif ln conf$$.file conf$$ 2>/dev/null; then
22555
 
  as_ln_s=ln
22556
 
else
22557
 
  as_ln_s='cp -p'
22558
 
fi
22559
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22560
 
rmdir conf$$.dir 2>/dev/null
22561
 
 
22562
 
if mkdir -p . 2>/dev/null; then
22563
 
  as_mkdir_p=:
22564
 
else
22565
 
  test -d ./-p && rmdir ./-p
22566
 
  as_mkdir_p=false
22567
 
fi
22568
 
 
22569
 
if test -x / >/dev/null 2>&1; then
22570
 
  as_test_x='test -x'
22571
 
else
22572
 
  if ls -dL / >/dev/null 2>&1; then
22573
 
    as_ls_L_option=L
22574
 
  else
22575
 
    as_ls_L_option=
22576
 
  fi
22577
 
  as_test_x='
22578
 
    eval sh -c '\''
22579
 
      if test -d "$1"; then
22580
 
        test -d "$1/.";
22581
 
      else
22582
 
        case $1 in
22583
 
        -*)set "./$1";;
22584
 
        esac;
22585
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22586
 
        ???[sx]*):;;*)false;;esac;fi
22587
 
    '\'' sh
22588
 
  '
22589
 
fi
22590
 
as_executable_p=$as_test_x
22591
 
 
22592
 
# Sed expression to map a string onto a valid CPP name.
22593
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22594
 
 
22595
 
# Sed expression to map a string onto a valid variable name.
22596
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22597
 
 
22598
 
 
22599
 
exec 6>&1
22600
 
 
22601
 
# Save the log message, to keep $[0] and so on meaningful, and to
22602
 
# report actual input values of CONFIG_FILES etc. instead of their
22603
 
# values after options handling.
22604
 
ac_log="
22605
 
This file was extended by libltdl $as_me 1.2, which was
22606
 
generated by GNU Autoconf 2.61.  Invocation command line was
22607
 
 
22608
 
  CONFIG_FILES    = $CONFIG_FILES
22609
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
22610
 
  CONFIG_LINKS    = $CONFIG_LINKS
22611
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
22612
 
  $ $0 $@
22613
 
 
22614
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
22615
 
"
22616
 
 
22617
 
_ACEOF
22618
 
 
22619
 
cat >>$CONFIG_STATUS <<_ACEOF
22620
 
# Files that config.status was made for.
22621
 
config_files="$ac_config_files"
22622
 
config_headers="$ac_config_headers"
22623
 
config_commands="$ac_config_commands"
22624
 
 
22625
 
_ACEOF
22626
 
 
22627
 
cat >>$CONFIG_STATUS <<\_ACEOF
22628
 
ac_cs_usage="\
22629
 
\`$as_me' instantiates files from templates according to the
22630
 
current configuration.
22631
 
 
22632
 
Usage: $0 [OPTIONS] [FILE]...
22633
 
 
22634
 
  -h, --help       print this help, then exit
22635
 
  -V, --version    print version number and configuration settings, then exit
22636
 
  -q, --quiet      do not print progress messages
22637
 
  -d, --debug      don't remove temporary files
22638
 
      --recheck    update $as_me by reconfiguring in the same conditions
22639
 
  --file=FILE[:TEMPLATE]
22640
 
                   instantiate the configuration file FILE
22641
 
  --header=FILE[:TEMPLATE]
22642
 
                   instantiate the configuration header FILE
22643
 
 
22644
 
Configuration files:
22645
 
$config_files
22646
 
 
22647
 
Configuration headers:
22648
 
$config_headers
22649
 
 
22650
 
Configuration commands:
22651
 
$config_commands
22652
 
 
22653
 
Report bugs to <bug-autoconf@gnu.org>."
22654
 
 
22655
 
_ACEOF
22656
 
cat >>$CONFIG_STATUS <<_ACEOF
22657
 
ac_cs_version="\\
22658
 
libltdl config.status 1.2
22659
 
configured by $0, generated by GNU Autoconf 2.61,
22660
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22661
 
 
22662
 
Copyright (C) 2006 Free Software Foundation, Inc.
22663
 
This config.status script is free software; the Free Software Foundation
22664
 
gives unlimited permission to copy, distribute and modify it."
22665
 
 
22666
 
ac_pwd='$ac_pwd'
22667
 
srcdir='$srcdir'
22668
 
INSTALL='$INSTALL'
22669
 
MKDIR_P='$MKDIR_P'
22670
 
_ACEOF
22671
 
 
22672
 
cat >>$CONFIG_STATUS <<\_ACEOF
22673
 
# If no file are specified by the user, then we need to provide default
22674
 
# value.  By we need to know if files were specified by the user.
22675
 
ac_need_defaults=:
22676
 
while test $# != 0
22677
 
do
22678
 
  case $1 in
22679
 
  --*=*)
22680
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
22681
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22682
 
    ac_shift=:
22683
 
    ;;
22684
 
  *)
22685
 
    ac_option=$1
22686
 
    ac_optarg=$2
22687
 
    ac_shift=shift
22688
 
    ;;
22689
 
  esac
22690
 
 
22691
 
  case $ac_option in
22692
 
  # Handling of the options.
22693
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22694
 
    ac_cs_recheck=: ;;
22695
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22696
 
    echo "$ac_cs_version"; exit ;;
22697
 
  --debug | --debu | --deb | --de | --d | -d )
22698
 
    debug=: ;;
22699
 
  --file | --fil | --fi | --f )
22700
 
    $ac_shift
22701
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22702
 
    ac_need_defaults=false;;
22703
 
  --header | --heade | --head | --hea )
22704
 
    $ac_shift
22705
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22706
 
    ac_need_defaults=false;;
22707
 
  --he | --h)
22708
 
    # Conflict between --help and --header
22709
 
    { echo "$as_me: error: ambiguous option: $1
22710
 
Try \`$0 --help' for more information." >&2
22711
 
   { (exit 1); exit 1; }; };;
22712
 
  --help | --hel | -h )
22713
 
    echo "$ac_cs_usage"; exit ;;
22714
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22715
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
22716
 
    ac_cs_silent=: ;;
22717
 
 
22718
 
  # This is an error.
22719
 
  -*) { echo "$as_me: error: unrecognized option: $1
22720
 
Try \`$0 --help' for more information." >&2
22721
 
   { (exit 1); exit 1; }; } ;;
22722
 
 
22723
 
  *) ac_config_targets="$ac_config_targets $1"
22724
 
     ac_need_defaults=false ;;
22725
 
 
22726
 
  esac
22727
 
  shift
22728
 
done
22729
 
 
22730
 
ac_configure_extra_args=
22731
 
 
22732
 
if $ac_cs_silent; then
22733
 
  exec 6>/dev/null
22734
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
22735
 
fi
22736
 
 
22737
 
_ACEOF
22738
 
cat >>$CONFIG_STATUS <<_ACEOF
22739
 
if \$ac_cs_recheck; then
22740
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22741
 
  CONFIG_SHELL=$SHELL
22742
 
  export CONFIG_SHELL
22743
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22744
 
fi
22745
 
 
22746
 
_ACEOF
22747
 
cat >>$CONFIG_STATUS <<\_ACEOF
22748
 
exec 5>>config.log
22749
 
{
22750
 
  echo
22751
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22752
 
## Running $as_me. ##
22753
 
_ASBOX
22754
 
  echo "$ac_log"
22755
 
} >&5
22756
 
 
22757
 
_ACEOF
22758
 
cat >>$CONFIG_STATUS <<_ACEOF
22759
 
#
22760
 
# INIT-COMMANDS
22761
 
#
22762
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22763
 
 
22764
 
_ACEOF
22765
 
 
22766
 
cat >>$CONFIG_STATUS <<\_ACEOF
22767
 
 
22768
 
# Handling of arguments.
22769
 
for ac_config_target in $ac_config_targets
22770
 
do
22771
 
  case $ac_config_target in
22772
 
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config-h.in" ;;
22773
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
22774
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22775
 
 
22776
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22777
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22778
 
   { (exit 1); exit 1; }; };;
22779
 
  esac
22780
 
done
22781
 
 
22782
 
 
22783
 
# If the user did not use the arguments to specify the items to instantiate,
22784
 
# then the envvar interface is used.  Set only those that are not.
22785
 
# We use the long form for the default assignment because of an extremely
22786
 
# bizarre bug on SunOS 4.1.3.
22787
 
if $ac_need_defaults; then
22788
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22789
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22790
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22791
 
fi
22792
 
 
22793
 
# Have a temporary directory for convenience.  Make it in the build tree
22794
 
# simply because there is no reason against having it here, and in addition,
22795
 
# creating and moving files from /tmp can sometimes cause problems.
22796
 
# Hook for its removal unless debugging.
22797
 
# Note that there is a small window in which the directory will not be cleaned:
22798
 
# after its creation but before its name has been assigned to `$tmp'.
22799
 
$debug ||
22800
 
{
22801
 
  tmp=
22802
 
  trap 'exit_status=$?
22803
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22804
 
' 0
22805
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
22806
 
}
22807
 
# Create a (secure) tmp directory for tmp files.
22808
 
 
22809
 
{
22810
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22811
 
  test -n "$tmp" && test -d "$tmp"
22812
 
}  ||
22813
 
{
22814
 
  tmp=./conf$$-$RANDOM
22815
 
  (umask 077 && mkdir "$tmp")
22816
 
} ||
22817
 
{
22818
 
   echo "$me: cannot create a temporary directory in ." >&2
22819
 
   { (exit 1); exit 1; }
22820
 
}
22821
 
 
22822
 
#
22823
 
# Set up the sed scripts for CONFIG_FILES section.
22824
 
#
22825
 
 
22826
 
# No need to generate the scripts if there are no CONFIG_FILES.
22827
 
# This happens for instance when ./config.status config.h
22828
 
if test -n "$CONFIG_FILES"; then
22829
 
 
22830
 
_ACEOF
22831
 
 
22832
 
 
22833
 
 
22834
 
ac_delim='%!_!# '
22835
 
for ac_last_try in false false false false false :; do
22836
 
  cat >conf$$subs.sed <<_ACEOF
22837
 
SHELL!$SHELL$ac_delim
22838
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22839
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22840
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22841
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22842
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22843
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22844
 
exec_prefix!$exec_prefix$ac_delim
22845
 
prefix!$prefix$ac_delim
22846
 
program_transform_name!$program_transform_name$ac_delim
22847
 
bindir!$bindir$ac_delim
22848
 
sbindir!$sbindir$ac_delim
22849
 
libexecdir!$libexecdir$ac_delim
22850
 
datarootdir!$datarootdir$ac_delim
22851
 
datadir!$datadir$ac_delim
22852
 
sysconfdir!$sysconfdir$ac_delim
22853
 
sharedstatedir!$sharedstatedir$ac_delim
22854
 
localstatedir!$localstatedir$ac_delim
22855
 
includedir!$includedir$ac_delim
22856
 
oldincludedir!$oldincludedir$ac_delim
22857
 
docdir!$docdir$ac_delim
22858
 
infodir!$infodir$ac_delim
22859
 
htmldir!$htmldir$ac_delim
22860
 
dvidir!$dvidir$ac_delim
22861
 
pdfdir!$pdfdir$ac_delim
22862
 
psdir!$psdir$ac_delim
22863
 
libdir!$libdir$ac_delim
22864
 
localedir!$localedir$ac_delim
22865
 
mandir!$mandir$ac_delim
22866
 
DEFS!$DEFS$ac_delim
22867
 
ECHO_C!$ECHO_C$ac_delim
22868
 
ECHO_N!$ECHO_N$ac_delim
22869
 
ECHO_T!$ECHO_T$ac_delim
22870
 
LIBS!$LIBS$ac_delim
22871
 
build_alias!$build_alias$ac_delim
22872
 
host_alias!$host_alias$ac_delim
22873
 
target_alias!$target_alias$ac_delim
22874
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22875
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22876
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
22877
 
am__isrc!$am__isrc$ac_delim
22878
 
CYGPATH_W!$CYGPATH_W$ac_delim
22879
 
PACKAGE!$PACKAGE$ac_delim
22880
 
VERSION!$VERSION$ac_delim
22881
 
ACLOCAL!$ACLOCAL$ac_delim
22882
 
AUTOCONF!$AUTOCONF$ac_delim
22883
 
AUTOMAKE!$AUTOMAKE$ac_delim
22884
 
AUTOHEADER!$AUTOHEADER$ac_delim
22885
 
MAKEINFO!$MAKEINFO$ac_delim
22886
 
install_sh!$install_sh$ac_delim
22887
 
STRIP!$STRIP$ac_delim
22888
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
22889
 
mkdir_p!$mkdir_p$ac_delim
22890
 
AWK!$AWK$ac_delim
22891
 
SET_MAKE!$SET_MAKE$ac_delim
22892
 
am__leading_dot!$am__leading_dot$ac_delim
22893
 
AMTAR!$AMTAR$ac_delim
22894
 
am__tar!$am__tar$ac_delim
22895
 
am__untar!$am__untar$ac_delim
22896
 
CC!$CC$ac_delim
22897
 
CFLAGS!$CFLAGS$ac_delim
22898
 
LDFLAGS!$LDFLAGS$ac_delim
22899
 
CPPFLAGS!$CPPFLAGS$ac_delim
22900
 
ac_ct_CC!$ac_ct_CC$ac_delim
22901
 
EXEEXT!$EXEEXT$ac_delim
22902
 
OBJEXT!$OBJEXT$ac_delim
22903
 
DEPDIR!$DEPDIR$ac_delim
22904
 
am__include!$am__include$ac_delim
22905
 
am__quote!$am__quote$ac_delim
22906
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
22907
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
22908
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
22909
 
CCDEPMODE!$CCDEPMODE$ac_delim
22910
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
22911
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
22912
 
build!$build$ac_delim
22913
 
build_cpu!$build_cpu$ac_delim
22914
 
build_vendor!$build_vendor$ac_delim
22915
 
build_os!$build_os$ac_delim
22916
 
host!$host$ac_delim
22917
 
host_cpu!$host_cpu$ac_delim
22918
 
host_vendor!$host_vendor$ac_delim
22919
 
host_os!$host_os$ac_delim
22920
 
GREP!$GREP$ac_delim
22921
 
EGREP!$EGREP$ac_delim
22922
 
LN_S!$LN_S$ac_delim
22923
 
ECHO!$ECHO$ac_delim
22924
 
AR!$AR$ac_delim
22925
 
RANLIB!$RANLIB$ac_delim
22926
 
DLLTOOL!$DLLTOOL$ac_delim
22927
 
AS!$AS$ac_delim
22928
 
OBJDUMP!$OBJDUMP$ac_delim
22929
 
CPP!$CPP$ac_delim
22930
 
CXX!$CXX$ac_delim
22931
 
CXXFLAGS!$CXXFLAGS$ac_delim
22932
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
22933
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
22934
 
_ACEOF
22935
 
 
22936
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
22937
 
    break
22938
 
  elif $ac_last_try; then
22939
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22940
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22941
 
   { (exit 1); exit 1; }; }
22942
 
  else
22943
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22944
 
  fi
22945
 
done
22946
 
 
22947
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22948
 
if test -n "$ac_eof"; then
22949
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22950
 
  ac_eof=`expr $ac_eof + 1`
22951
 
fi
22952
 
 
22953
 
cat >>$CONFIG_STATUS <<_ACEOF
22954
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22955
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22956
 
_ACEOF
22957
 
sed '
22958
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22959
 
s/^/s,@/; s/!/@,|#_!!_#|/
22960
 
:n
22961
 
t n
22962
 
s/'"$ac_delim"'$/,g/; t
22963
 
s/$/\\/; p
22964
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22965
 
' >>$CONFIG_STATUS <conf$$subs.sed
22966
 
rm -f conf$$subs.sed
22967
 
cat >>$CONFIG_STATUS <<_ACEOF
22968
 
CEOF$ac_eof
22969
 
_ACEOF
22970
 
 
22971
 
 
22972
 
ac_delim='%!_!# '
22973
 
for ac_last_try in false false false false false :; do
22974
 
  cat >conf$$subs.sed <<_ACEOF
22975
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
22976
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
22977
 
CXXCPP!$CXXCPP$ac_delim
22978
 
F77!$F77$ac_delim
22979
 
FFLAGS!$FFLAGS$ac_delim
22980
 
ac_ct_F77!$ac_ct_F77$ac_delim
22981
 
LIBTOOL!$LIBTOOL$ac_delim
22982
 
LIBTOOL_DEPS!$LIBTOOL_DEPS$ac_delim
22983
 
INSTALL_LTDL_TRUE!$INSTALL_LTDL_TRUE$ac_delim
22984
 
INSTALL_LTDL_FALSE!$INSTALL_LTDL_FALSE$ac_delim
22985
 
CONVENIENCE_LTDL_TRUE!$CONVENIENCE_LTDL_TRUE$ac_delim
22986
 
CONVENIENCE_LTDL_FALSE!$CONVENIENCE_LTDL_FALSE$ac_delim
22987
 
LIBADD_DL!$LIBADD_DL$ac_delim
22988
 
LIBOBJS!$LIBOBJS$ac_delim
22989
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
22990
 
_ACEOF
22991
 
 
22992
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 15; then
22993
 
    break
22994
 
  elif $ac_last_try; then
22995
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22996
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22997
 
   { (exit 1); exit 1; }; }
22998
 
  else
22999
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23000
 
  fi
23001
 
done
23002
 
 
23003
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23004
 
if test -n "$ac_eof"; then
23005
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23006
 
  ac_eof=`expr $ac_eof + 1`
23007
 
fi
23008
 
 
23009
 
cat >>$CONFIG_STATUS <<_ACEOF
23010
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23011
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23012
 
_ACEOF
23013
 
sed '
23014
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23015
 
s/^/s,@/; s/!/@,|#_!!_#|/
23016
 
:n
23017
 
t n
23018
 
s/'"$ac_delim"'$/,g/; t
23019
 
s/$/\\/; p
23020
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23021
 
' >>$CONFIG_STATUS <conf$$subs.sed
23022
 
rm -f conf$$subs.sed
23023
 
cat >>$CONFIG_STATUS <<_ACEOF
23024
 
:end
23025
 
s/|#_!!_#|//g
23026
 
CEOF$ac_eof
23027
 
_ACEOF
23028
 
 
23029
 
 
23030
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
23031
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23032
 
# trailing colons and then remove the whole line if VPATH becomes empty
23033
 
# (actually we leave an empty line to preserve line numbers).
23034
 
if test "x$srcdir" = x.; then
23035
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
23036
 
s/:*\$(srcdir):*/:/
23037
 
s/:*\${srcdir}:*/:/
23038
 
s/:*@srcdir@:*/:/
23039
 
s/^\([^=]*=[     ]*\):*/\1/
23040
 
s/:*$//
23041
 
s/^[^=]*=[       ]*$//
23042
 
}'
23043
 
fi
23044
 
 
23045
 
cat >>$CONFIG_STATUS <<\_ACEOF
23046
 
fi # test -n "$CONFIG_FILES"
23047
 
 
23048
 
 
23049
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
23050
 
do
23051
 
  case $ac_tag in
23052
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
23053
 
  esac
23054
 
  case $ac_mode$ac_tag in
23055
 
  :[FHL]*:*);;
23056
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23057
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23058
 
   { (exit 1); exit 1; }; };;
23059
 
  :[FH]-) ac_tag=-:-;;
23060
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23061
 
  esac
23062
 
  ac_save_IFS=$IFS
23063
 
  IFS=:
23064
 
  set x $ac_tag
23065
 
  IFS=$ac_save_IFS
23066
 
  shift
23067
 
  ac_file=$1
23068
 
  shift
23069
 
 
23070
 
  case $ac_mode in
23071
 
  :L) ac_source=$1;;
23072
 
  :[FH])
23073
 
    ac_file_inputs=
23074
 
    for ac_f
23075
 
    do
23076
 
      case $ac_f in
23077
 
      -) ac_f="$tmp/stdin";;
23078
 
      *) # Look for the file first in the build tree, then in the source tree
23079
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
23080
 
         # because $ac_f cannot contain `:'.
23081
 
         test -f "$ac_f" ||
23082
 
           case $ac_f in
23083
 
           [\\/$]*) false;;
23084
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23085
 
           esac ||
23086
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23087
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23088
 
   { (exit 1); exit 1; }; };;
23089
 
      esac
23090
 
      ac_file_inputs="$ac_file_inputs $ac_f"
23091
 
    done
23092
 
 
23093
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
23094
 
    # use $as_me), people would be surprised to read:
23095
 
    #    /* config.h.  Generated by config.status.  */
23096
 
    configure_input="Generated from "`IFS=:
23097
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23098
 
    if test x"$ac_file" != x-; then
23099
 
      configure_input="$ac_file.  $configure_input"
23100
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
23101
 
echo "$as_me: creating $ac_file" >&6;}
23102
 
    fi
23103
 
 
23104
 
    case $ac_tag in
23105
 
    *:-:* | *:-) cat >"$tmp/stdin";;
23106
 
    esac
23107
 
    ;;
23108
 
  esac
23109
 
 
23110
 
  ac_dir=`$as_dirname -- "$ac_file" ||
23111
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23112
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
23113
 
         X"$ac_file" : 'X\(//\)$' \| \
23114
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23115
 
echo X"$ac_file" |
23116
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23117
 
            s//\1/
23118
 
            q
23119
 
          }
23120
 
          /^X\(\/\/\)[^/].*/{
23121
 
            s//\1/
23122
 
            q
23123
 
          }
23124
 
          /^X\(\/\/\)$/{
23125
 
            s//\1/
23126
 
            q
23127
 
          }
23128
 
          /^X\(\/\).*/{
23129
 
            s//\1/
23130
 
            q
23131
 
          }
23132
 
          s/.*/./; q'`
23133
 
  { as_dir="$ac_dir"
23134
 
  case $as_dir in #(
23135
 
  -*) as_dir=./$as_dir;;
23136
 
  esac
23137
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23138
 
    as_dirs=
23139
 
    while :; do
23140
 
      case $as_dir in #(
23141
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23142
 
      *) as_qdir=$as_dir;;
23143
 
      esac
23144
 
      as_dirs="'$as_qdir' $as_dirs"
23145
 
      as_dir=`$as_dirname -- "$as_dir" ||
23146
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23147
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
23148
 
         X"$as_dir" : 'X\(//\)$' \| \
23149
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23150
 
echo X"$as_dir" |
23151
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23152
 
            s//\1/
23153
 
            q
23154
 
          }
23155
 
          /^X\(\/\/\)[^/].*/{
23156
 
            s//\1/
23157
 
            q
23158
 
          }
23159
 
          /^X\(\/\/\)$/{
23160
 
            s//\1/
23161
 
            q
23162
 
          }
23163
 
          /^X\(\/\).*/{
23164
 
            s//\1/
23165
 
            q
23166
 
          }
23167
 
          s/.*/./; q'`
23168
 
      test -d "$as_dir" && break
23169
 
    done
23170
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
23171
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23172
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
23173
 
   { (exit 1); exit 1; }; }; }
23174
 
  ac_builddir=.
23175
 
 
23176
 
case "$ac_dir" in
23177
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23178
 
*)
23179
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23180
 
  # A ".." for each directory in $ac_dir_suffix.
23181
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23182
 
  case $ac_top_builddir_sub in
23183
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23184
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23185
 
  esac ;;
23186
 
esac
23187
 
ac_abs_top_builddir=$ac_pwd
23188
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
23189
 
# for backward compatibility:
23190
 
ac_top_builddir=$ac_top_build_prefix
23191
 
 
23192
 
case $srcdir in
23193
 
  .)  # We are building in place.
23194
 
    ac_srcdir=.
23195
 
    ac_top_srcdir=$ac_top_builddir_sub
23196
 
    ac_abs_top_srcdir=$ac_pwd ;;
23197
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
23198
 
    ac_srcdir=$srcdir$ac_dir_suffix;
23199
 
    ac_top_srcdir=$srcdir
23200
 
    ac_abs_top_srcdir=$srcdir ;;
23201
 
  *) # Relative name.
23202
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23203
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
23204
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23205
 
esac
23206
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23207
 
 
23208
 
 
23209
 
  case $ac_mode in
23210
 
  :F)
23211
 
  #
23212
 
  # CONFIG_FILE
23213
 
  #
23214
 
 
23215
 
  case $INSTALL in
23216
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23217
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23218
 
  esac
23219
 
  ac_MKDIR_P=$MKDIR_P
23220
 
  case $MKDIR_P in
23221
 
  [\\/$]* | ?:[\\/]* ) ;;
23222
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
23223
 
  esac
23224
 
_ACEOF
23225
 
 
23226
 
cat >>$CONFIG_STATUS <<\_ACEOF
23227
 
# If the template does not know about datarootdir, expand it.
23228
 
# FIXME: This hack should be removed a few years after 2.60.
23229
 
ac_datarootdir_hack=; ac_datarootdir_seen=
23230
 
 
23231
 
case `sed -n '/datarootdir/ {
23232
 
  p
23233
 
  q
23234
 
}
23235
 
/@datadir@/p
23236
 
/@docdir@/p
23237
 
/@infodir@/p
23238
 
/@localedir@/p
23239
 
/@mandir@/p
23240
 
' $ac_file_inputs` in
23241
 
*datarootdir*) ac_datarootdir_seen=yes;;
23242
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23243
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23244
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23245
 
_ACEOF
23246
 
cat >>$CONFIG_STATUS <<_ACEOF
23247
 
  ac_datarootdir_hack='
23248
 
  s&@datadir@&$datadir&g
23249
 
  s&@docdir@&$docdir&g
23250
 
  s&@infodir@&$infodir&g
23251
 
  s&@localedir@&$localedir&g
23252
 
  s&@mandir@&$mandir&g
23253
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
23254
 
esac
23255
 
_ACEOF
23256
 
 
23257
 
# Neutralize VPATH when `$srcdir' = `.'.
23258
 
# Shell code in configure.ac might set extrasub.
23259
 
# FIXME: do we really want to maintain this feature?
23260
 
cat >>$CONFIG_STATUS <<_ACEOF
23261
 
  sed "$ac_vpsub
23262
 
$extrasub
23263
 
_ACEOF
23264
 
cat >>$CONFIG_STATUS <<\_ACEOF
23265
 
:t
23266
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23267
 
s&@configure_input@&$configure_input&;t t
23268
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
23269
 
s&@srcdir@&$ac_srcdir&;t t
23270
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
23271
 
s&@top_srcdir@&$ac_top_srcdir&;t t
23272
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23273
 
s&@builddir@&$ac_builddir&;t t
23274
 
s&@abs_builddir@&$ac_abs_builddir&;t t
23275
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23276
 
s&@INSTALL@&$ac_INSTALL&;t t
23277
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
23278
 
$ac_datarootdir_hack
23279
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23280
 
 
23281
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23282
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23283
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23284
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23285
 
which seems to be undefined.  Please make sure it is defined." >&5
23286
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23287
 
which seems to be undefined.  Please make sure it is defined." >&2;}
23288
 
 
23289
 
  rm -f "$tmp/stdin"
23290
 
  case $ac_file in
23291
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
23292
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23293
 
  esac
23294
 
 ;;
23295
 
  :H)
23296
 
  #
23297
 
  # CONFIG_HEADER
23298
 
  #
23299
 
_ACEOF
23300
 
 
23301
 
# Transform confdefs.h into a sed script `conftest.defines', that
23302
 
# substitutes the proper values into config.h.in to produce config.h.
23303
 
rm -f conftest.defines conftest.tail
23304
 
# First, append a space to every undef/define line, to ease matching.
23305
 
echo 's/$/ /' >conftest.defines
23306
 
# Then, protect against being on the right side of a sed subst, or in
23307
 
# an unquoted here document, in config.status.  If some macros were
23308
 
# called several times there might be several #defines for the same
23309
 
# symbol, which is useless.  But do not sort them, since the last
23310
 
# AC_DEFINE must be honored.
23311
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23312
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23313
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
23314
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
23315
 
# just an empty string.
23316
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
23317
 
ac_dB='\\)[      (].*,\\1define\\2'
23318
 
ac_dC=' '
23319
 
ac_dD=' ,'
23320
 
 
23321
 
uniq confdefs.h |
23322
 
  sed -n '
23323
 
        t rset
23324
 
        :rset
23325
 
        s/^[     ]*#[    ]*define[       ][      ]*//
23326
 
        t ok
23327
 
        d
23328
 
        :ok
23329
 
        s/[\\&,]/\\&/g
23330
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23331
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23332
 
  ' >>conftest.defines
23333
 
 
23334
 
# Remove the space that was appended to ease matching.
23335
 
# Then replace #undef with comments.  This is necessary, for
23336
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
23337
 
# on some systems where configure will not decide to define it.
23338
 
# (The regexp can be short, since the line contains either #define or #undef.)
23339
 
echo 's/ $//
23340
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
23341
 
 
23342
 
# Break up conftest.defines:
23343
 
ac_max_sed_lines=50
23344
 
 
23345
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23346
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23347
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23348
 
# et cetera.
23349
 
ac_in='$ac_file_inputs'
23350
 
ac_out='"$tmp/out1"'
23351
 
ac_nxt='"$tmp/out2"'
23352
 
 
23353
 
while :
23354
 
do
23355
 
  # Write a here document:
23356
 
    cat >>$CONFIG_STATUS <<_ACEOF
23357
 
    # First, check the format of the line:
23358
 
    cat >"\$tmp/defines.sed" <<\\CEOF
23359
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
23360
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
23361
 
b
23362
 
:def
23363
 
_ACEOF
23364
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23365
 
  echo 'CEOF
23366
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23367
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23368
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23369
 
  grep . conftest.tail >/dev/null || break
23370
 
  rm -f conftest.defines
23371
 
  mv conftest.tail conftest.defines
23372
 
done
23373
 
rm -f conftest.defines conftest.tail
23374
 
 
23375
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
23376
 
cat >>$CONFIG_STATUS <<\_ACEOF
23377
 
  if test x"$ac_file" != x-; then
23378
 
    echo "/* $configure_input  */" >"$tmp/config.h"
23379
 
    cat "$ac_result" >>"$tmp/config.h"
23380
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23381
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23382
 
echo "$as_me: $ac_file is unchanged" >&6;}
23383
 
    else
23384
 
      rm -f $ac_file
23385
 
      mv "$tmp/config.h" $ac_file
23386
 
    fi
23387
 
  else
23388
 
    echo "/* $configure_input  */"
23389
 
    cat "$ac_result"
23390
 
  fi
23391
 
  rm -f "$tmp/out12"
23392
 
# Compute $ac_file's index in $config_headers.
23393
 
_am_arg=$ac_file
23394
 
_am_stamp_count=1
23395
 
for _am_header in $config_headers :; do
23396
 
  case $_am_header in
23397
 
    $_am_arg | $_am_arg:* )
23398
 
      break ;;
23399
 
    * )
23400
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
23401
 
  esac
23402
 
done
23403
 
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
23404
 
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23405
 
         X"$_am_arg" : 'X\(//\)[^/]' \| \
23406
 
         X"$_am_arg" : 'X\(//\)$' \| \
23407
 
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23408
 
echo X"$_am_arg" |
23409
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23410
 
            s//\1/
23411
 
            q
23412
 
          }
23413
 
          /^X\(\/\/\)[^/].*/{
23414
 
            s//\1/
23415
 
            q
23416
 
          }
23417
 
          /^X\(\/\/\)$/{
23418
 
            s//\1/
23419
 
            q
23420
 
          }
23421
 
          /^X\(\/\).*/{
23422
 
            s//\1/
23423
 
            q
23424
 
          }
23425
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
23426
 
 ;;
23427
 
 
23428
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23429
 
echo "$as_me: executing $ac_file commands" >&6;}
23430
 
 ;;
23431
 
  esac
23432
 
 
23433
 
 
23434
 
  case $ac_file$ac_mode in
23435
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
23436
 
  # Strip MF so we end up with the name of the file.
23437
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
23438
 
  # Check whether this is an Automake generated Makefile or not.
23439
 
  # We used to match only the files named `Makefile.in', but
23440
 
  # some people rename them; so instead we look at the file content.
23441
 
  # Grep'ing the first line is not enough: some people post-process
23442
 
  # each Makefile.in and add a new line on top of each file to say so.
23443
 
  # Grep'ing the whole file is not good either: AIX grep has a line
23444
 
  # limit of 2048, but all sed's we know have understand at least 4000.
23445
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
23446
 
    dirpart=`$as_dirname -- "$mf" ||
23447
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23448
 
         X"$mf" : 'X\(//\)[^/]' \| \
23449
 
         X"$mf" : 'X\(//\)$' \| \
23450
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23451
 
echo X"$mf" |
23452
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23453
 
            s//\1/
23454
 
            q
23455
 
          }
23456
 
          /^X\(\/\/\)[^/].*/{
23457
 
            s//\1/
23458
 
            q
23459
 
          }
23460
 
          /^X\(\/\/\)$/{
23461
 
            s//\1/
23462
 
            q
23463
 
          }
23464
 
          /^X\(\/\).*/{
23465
 
            s//\1/
23466
 
            q
23467
 
          }
23468
 
          s/.*/./; q'`
23469
 
  else
23470
 
    continue
23471
 
  fi
23472
 
  # Extract the definition of DEPDIR, am__include, and am__quote
23473
 
  # from the Makefile without running `make'.
23474
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
23475
 
  test -z "$DEPDIR" && continue
23476
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
23477
 
  test -z "am__include" && continue
23478
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
23479
 
  # When using ansi2knr, U may be empty or an underscore; expand it
23480
 
  U=`sed -n 's/^U = //p' < "$mf"`
23481
 
  # Find all dependency output files, they are included files with
23482
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
23483
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
23484
 
  # expansion.
23485
 
  for file in `sed -n "
23486
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23487
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23488
 
    # Make sure the directory exists.
23489
 
    test -f "$dirpart/$file" && continue
23490
 
    fdir=`$as_dirname -- "$file" ||
23491
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23492
 
         X"$file" : 'X\(//\)[^/]' \| \
23493
 
         X"$file" : 'X\(//\)$' \| \
23494
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23495
 
echo X"$file" |
23496
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23497
 
            s//\1/
23498
 
            q
23499
 
          }
23500
 
          /^X\(\/\/\)[^/].*/{
23501
 
            s//\1/
23502
 
            q
23503
 
          }
23504
 
          /^X\(\/\/\)$/{
23505
 
            s//\1/
23506
 
            q
23507
 
          }
23508
 
          /^X\(\/\).*/{
23509
 
            s//\1/
23510
 
            q
23511
 
          }
23512
 
          s/.*/./; q'`
23513
 
    { as_dir=$dirpart/$fdir
23514
 
  case $as_dir in #(
23515
 
  -*) as_dir=./$as_dir;;
23516
 
  esac
23517
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23518
 
    as_dirs=
23519
 
    while :; do
23520
 
      case $as_dir in #(
23521
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23522
 
      *) as_qdir=$as_dir;;
23523
 
      esac
23524
 
      as_dirs="'$as_qdir' $as_dirs"
23525
 
      as_dir=`$as_dirname -- "$as_dir" ||
23526
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23527
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
23528
 
         X"$as_dir" : 'X\(//\)$' \| \
23529
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23530
 
echo X"$as_dir" |
23531
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23532
 
            s//\1/
23533
 
            q
23534
 
          }
23535
 
          /^X\(\/\/\)[^/].*/{
23536
 
            s//\1/
23537
 
            q
23538
 
          }
23539
 
          /^X\(\/\/\)$/{
23540
 
            s//\1/
23541
 
            q
23542
 
          }
23543
 
          /^X\(\/\).*/{
23544
 
            s//\1/
23545
 
            q
23546
 
          }
23547
 
          s/.*/./; q'`
23548
 
      test -d "$as_dir" && break
23549
 
    done
23550
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
23551
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23552
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
23553
 
   { (exit 1); exit 1; }; }; }
23554
 
    # echo "creating $dirpart/$file"
23555
 
    echo '# dummy' > "$dirpart/$file"
23556
 
  done
23557
 
done
23558
 
 ;;
23559
 
 
23560
 
  esac
23561
 
done # for ac_tag
23562
 
 
23563
 
 
23564
 
{ (exit 0); exit 0; }
23565
 
_ACEOF
23566
 
chmod +x $CONFIG_STATUS
23567
 
ac_clean_files=$ac_clean_files_save
23568
 
 
23569
 
 
23570
 
# configure is writing to config.log, and then calls config.status.
23571
 
# config.status does its own redirection, appending to config.log.
23572
 
# Unfortunately, on DOS this fails, as config.log is still kept open
23573
 
# by configure, so config.status won't be able to write to it; its
23574
 
# output is simply discarded.  So we exec the FD to /dev/null,
23575
 
# effectively closing config.log, so it can be properly (re)opened and
23576
 
# appended to by config.status.  When coming back to configure, we
23577
 
# need to make the FD available again.
23578
 
if test "$no_create" != yes; then
23579
 
  ac_cs_success=:
23580
 
  ac_config_status_args=
23581
 
  test "$silent" = yes &&
23582
 
    ac_config_status_args="$ac_config_status_args --quiet"
23583
 
  exec 5>/dev/null
23584
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23585
 
  exec 5>>config.log
23586
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23587
 
  # would make configure fail if this is the last instruction.
23588
 
  $ac_cs_success || { (exit 1); exit 1; }
23589
 
fi
23590