~ubuntu-branches/debian/squeeze/ffcall/squeeze

« back to all changes in this revision

Viewing changes to ffcall/callback/configure

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Egger
  • Date: 2010-06-26 15:29:30 UTC
  • mfrom: (5.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20100626152930-c09y01gk3szcnykn
Tags: 1.10+cvs20100619-2
Ship to unstable

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.60a.
4
 
#
5
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7
 
# This configure script is free software; the Free Software Foundation
8
 
# gives unlimited permission to copy, distribute and modify it.
9
 
## --------------------- ##
10
 
## M4sh Initialization.  ##
11
 
## --------------------- ##
12
 
 
13
 
# Be Bourne compatible
14
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15
 
  emulate sh
16
 
  NULLCMD=:
17
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18
 
  # is contrary to our usage.  Disable this feature.
19
 
  alias -g '${1+"$@"}'='"$@"'
20
 
  setopt NO_GLOB_SUBST
21
 
else
22
 
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
23
 
fi
24
 
BIN_SH=xpg4; export BIN_SH # for Tru64
25
 
DUALCASE=1; export DUALCASE # for MKS sh
26
 
 
27
 
 
28
 
# PATH needs CR
29
 
# Avoid depending upon Character Ranges.
30
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33
 
as_cr_digits='0123456789'
34
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
35
 
 
36
 
# The user is always right.
37
 
if test "${PATH_SEPARATOR+set}" != set; then
38
 
  echo "#! /bin/sh" >conf$$.sh
39
 
  echo  "exit 0"   >>conf$$.sh
40
 
  chmod +x conf$$.sh
41
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42
 
    PATH_SEPARATOR=';'
43
 
  else
44
 
    PATH_SEPARATOR=:
45
 
  fi
46
 
  rm -f conf$$.sh
47
 
fi
48
 
 
49
 
# Support unset when possible.
50
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51
 
  as_unset=unset
52
 
else
53
 
  as_unset=false
54
 
fi
55
 
 
56
 
 
57
 
# IFS
58
 
# We need space, tab and new line, in precisely that order.  Quoting is
59
 
# there to prevent editors from complaining about space-tab.
60
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
61
 
# splitting by setting IFS to empty value.)
62
 
as_nl='
63
 
'
64
 
IFS=" ""        $as_nl"
65
 
 
66
 
# Find who we are.  Look in the path if we contain no directory separator.
67
 
case $0 in
68
 
  *[\\/]* ) as_myself=$0 ;;
69
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70
 
for as_dir in $PATH
71
 
do
72
 
  IFS=$as_save_IFS
73
 
  test -z "$as_dir" && as_dir=.
74
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
75
 
done
76
 
IFS=$as_save_IFS
77
 
 
78
 
     ;;
79
 
esac
80
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
81
 
# in which case we are not to be found in the path.
82
 
if test "x$as_myself" = x; then
83
 
  as_myself=$0
84
 
fi
85
 
if test ! -f "$as_myself"; then
86
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
87
 
  { (exit 1); exit 1; }
88
 
fi
89
 
 
90
 
# Work around bugs in pre-3.0 UWIN ksh.
91
 
for as_var in ENV MAIL MAILPATH
92
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
93
 
done
94
 
PS1='$ '
95
 
PS2='> '
96
 
PS4='+ '
97
 
 
98
 
# NLS nuisances.
99
 
for as_var in \
100
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
101
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
102
 
  LC_TELEPHONE LC_TIME
103
 
do
104
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
105
 
    eval $as_var=C; export $as_var
106
 
  else
107
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
108
 
  fi
109
 
done
110
 
 
111
 
# Required to use basename.
112
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
113
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
114
 
  as_expr=expr
115
 
else
116
 
  as_expr=false
117
 
fi
118
 
 
119
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
120
 
  as_basename=basename
121
 
else
122
 
  as_basename=false
123
 
fi
124
 
 
125
 
 
126
 
# Name of the executable.
127
 
as_me=`$as_basename -- "$0" ||
128
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
129
 
         X"$0" : 'X\(//\)$' \| \
130
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
131
 
echo X/"$0" |
132
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
133
 
            s//\1/
134
 
            q
135
 
          }
136
 
          /^X\/\(\/\/\)$/{
137
 
            s//\1/
138
 
            q
139
 
          }
140
 
          /^X\/\(\/\).*/{
141
 
            s//\1/
142
 
            q
143
 
          }
144
 
          s/.*/./; q'`
145
 
 
146
 
# CDPATH.
147
 
$as_unset CDPATH
148
 
 
149
 
 
150
 
if test "x$CONFIG_SHELL" = x; then
151
 
  if (eval ":") 2>/dev/null; then
152
 
  as_have_required=yes
153
 
else
154
 
  as_have_required=no
155
 
fi
156
 
 
157
 
  if test $as_have_required = yes &&     (eval ":
158
 
(as_func_return () {
159
 
  (exit \$1)
160
 
}
161
 
as_func_success () {
162
 
  as_func_return 0
163
 
}
164
 
as_func_failure () {
165
 
  as_func_return 1
166
 
}
167
 
as_func_ret_success () {
168
 
  return 0
169
 
}
170
 
as_func_ret_failure () {
171
 
  return 1
172
 
}
173
 
 
174
 
exitcode=0
175
 
if as_func_success; then
176
 
  :
177
 
else
178
 
  exitcode=1
179
 
  echo as_func_success failed.
180
 
fi
181
 
 
182
 
if as_func_failure; then
183
 
  exitcode=1
184
 
  echo as_func_failure succeeded.
185
 
fi
186
 
 
187
 
if as_func_ret_success; then
188
 
  :
189
 
else
190
 
  exitcode=1
191
 
  echo as_func_ret_success failed.
192
 
fi
193
 
 
194
 
if as_func_ret_failure; then
195
 
  exitcode=1
196
 
  echo as_func_ret_failure succeeded.
197
 
fi
198
 
 
199
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
200
 
  :
201
 
else
202
 
  exitcode=1
203
 
  echo positional parameters were not saved.
204
 
fi
205
 
 
206
 
test \$exitcode = 0) || { (exit 1); exit 1; }
207
 
 
208
 
(
209
 
  as_lineno_1=\$LINENO
210
 
  as_lineno_2=\$LINENO
211
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
212
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
213
 
") 2> /dev/null; then
214
 
  :
215
 
else
216
 
  as_candidate_shells=
217
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218
 
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219
 
do
220
 
  IFS=$as_save_IFS
221
 
  test -z "$as_dir" && as_dir=.
222
 
  case $as_dir in
223
 
         /*)
224
 
           for as_base in sh bash ksh sh5; do
225
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
226
 
           done;;
227
 
       esac
228
 
done
229
 
IFS=$as_save_IFS
230
 
 
231
 
 
232
 
      for as_shell in $as_candidate_shells $SHELL; do
233
 
         # Try only shells that exist, to save several forks.
234
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
235
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
236
 
# Be Bourne compatible
237
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
238
 
  emulate sh
239
 
  NULLCMD=:
240
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
241
 
  # is contrary to our usage.  Disable this feature.
242
 
  alias -g '${1+"$@"}'='"$@"'
243
 
  setopt NO_GLOB_SUBST
244
 
else
245
 
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
246
 
fi
247
 
BIN_SH=xpg4; export BIN_SH # for Tru64
248
 
DUALCASE=1; export DUALCASE # for MKS sh
249
 
 
250
 
:
251
 
_ASEOF
252
 
}; then
253
 
  CONFIG_SHELL=$as_shell
254
 
               as_have_required=yes
255
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
256
 
# Be Bourne compatible
257
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
258
 
  emulate sh
259
 
  NULLCMD=:
260
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
261
 
  # is contrary to our usage.  Disable this feature.
262
 
  alias -g '${1+"$@"}'='"$@"'
263
 
  setopt NO_GLOB_SUBST
264
 
else
265
 
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
266
 
fi
267
 
BIN_SH=xpg4; export BIN_SH # for Tru64
268
 
DUALCASE=1; export DUALCASE # for MKS sh
269
 
 
270
 
:
271
 
(as_func_return () {
272
 
  (exit $1)
273
 
}
274
 
as_func_success () {
275
 
  as_func_return 0
276
 
}
277
 
as_func_failure () {
278
 
  as_func_return 1
279
 
}
280
 
as_func_ret_success () {
281
 
  return 0
282
 
}
283
 
as_func_ret_failure () {
284
 
  return 1
285
 
}
286
 
 
287
 
exitcode=0
288
 
if as_func_success; then
289
 
  :
290
 
else
291
 
  exitcode=1
292
 
  echo as_func_success failed.
293
 
fi
294
 
 
295
 
if as_func_failure; then
296
 
  exitcode=1
297
 
  echo as_func_failure succeeded.
298
 
fi
299
 
 
300
 
if as_func_ret_success; then
301
 
  :
302
 
else
303
 
  exitcode=1
304
 
  echo as_func_ret_success failed.
305
 
fi
306
 
 
307
 
if as_func_ret_failure; then
308
 
  exitcode=1
309
 
  echo as_func_ret_failure succeeded.
310
 
fi
311
 
 
312
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
313
 
  :
314
 
else
315
 
  exitcode=1
316
 
  echo positional parameters were not saved.
317
 
fi
318
 
 
319
 
test $exitcode = 0) || { (exit 1); exit 1; }
320
 
 
321
 
(
322
 
  as_lineno_1=$LINENO
323
 
  as_lineno_2=$LINENO
324
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
325
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
326
 
 
327
 
_ASEOF
328
 
}; then
329
 
  break
330
 
fi
331
 
 
332
 
fi
333
 
 
334
 
      done
335
 
 
336
 
      if test "x$CONFIG_SHELL" != x; then
337
 
  for as_var in BASH_ENV ENV
338
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
339
 
        done
340
 
        export CONFIG_SHELL
341
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
342
 
fi
343
 
 
344
 
 
345
 
    if test $as_have_required = no; then
346
 
  echo This script requires a shell more modern than all the
347
 
      echo shells that I found on your system.  Please install a
348
 
      echo modern shell, or manually run the script under such a
349
 
      echo shell if you do have one.
350
 
      { (exit 1); exit 1; }
351
 
fi
352
 
 
353
 
 
354
 
fi
355
 
 
356
 
fi
357
 
 
358
 
 
359
 
 
360
 
(eval "as_func_return () {
361
 
  (exit \$1)
362
 
}
363
 
as_func_success () {
364
 
  as_func_return 0
365
 
}
366
 
as_func_failure () {
367
 
  as_func_return 1
368
 
}
369
 
as_func_ret_success () {
370
 
  return 0
371
 
}
372
 
as_func_ret_failure () {
373
 
  return 1
374
 
}
375
 
 
376
 
exitcode=0
377
 
if as_func_success; then
378
 
  :
379
 
else
380
 
  exitcode=1
381
 
  echo as_func_success failed.
382
 
fi
383
 
 
384
 
if as_func_failure; then
385
 
  exitcode=1
386
 
  echo as_func_failure succeeded.
387
 
fi
388
 
 
389
 
if as_func_ret_success; then
390
 
  :
391
 
else
392
 
  exitcode=1
393
 
  echo as_func_ret_success failed.
394
 
fi
395
 
 
396
 
if as_func_ret_failure; then
397
 
  exitcode=1
398
 
  echo as_func_ret_failure succeeded.
399
 
fi
400
 
 
401
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
402
 
  :
403
 
else
404
 
  exitcode=1
405
 
  echo positional parameters were not saved.
406
 
fi
407
 
 
408
 
test \$exitcode = 0") || {
409
 
  echo No shell found that supports shell functions.
410
 
  echo Please tell autoconf@gnu.org about your system,
411
 
  echo including any error possibly output before this
412
 
  echo message
413
 
}
414
 
 
415
 
 
416
 
 
417
 
  as_lineno_1=$LINENO
418
 
  as_lineno_2=$LINENO
419
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
420
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
421
 
 
422
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
423
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
424
 
  # line-number line after each line using $LINENO; the second 'sed'
425
 
  # does the real work.  The second script uses 'N' to pair each
426
 
  # line-number line with the line containing $LINENO, and appends
427
 
  # trailing '-' during substitution so that $LINENO is not a special
428
 
  # case at line end.
429
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
430
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
431
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
432
 
  sed -n '
433
 
    p
434
 
    /[$]LINENO/=
435
 
  ' <$as_myself |
436
 
    sed '
437
 
      s/[$]LINENO.*/&-/
438
 
      t lineno
439
 
      b
440
 
      :lineno
441
 
      N
442
 
      :loop
443
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444
 
      t loop
445
 
      s/-\n.*//
446
 
    ' >$as_me.lineno &&
447
 
  chmod +x "$as_me.lineno" ||
448
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
449
 
   { (exit 1); exit 1; }; }
450
 
 
451
 
  # Don't try to exec as it changes $[0], causing all sort of problems
452
 
  # (the dirname of $[0] is not the place where we might find the
453
 
  # original and so on.  Autoconf is especially sensitive to this).
454
 
  . "./$as_me.lineno"
455
 
  # Exit status is that of the last command.
456
 
  exit
457
 
}
458
 
 
459
 
 
460
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
461
 
  as_dirname=dirname
462
 
else
463
 
  as_dirname=false
464
 
fi
465
 
 
466
 
ECHO_C= ECHO_N= ECHO_T=
467
 
case `echo -n x` in
468
 
-n*)
469
 
  case `echo 'x\c'` in
470
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
471
 
  *)   ECHO_C='\c';;
472
 
  esac;;
473
 
*)
474
 
  ECHO_N='-n';;
475
 
esac
476
 
 
477
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
478
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
479
 
  as_expr=expr
480
 
else
481
 
  as_expr=false
482
 
fi
483
 
 
484
 
rm -f conf$$ conf$$.exe conf$$.file
485
 
if test -d conf$$.dir; then
486
 
  rm -f conf$$.dir/conf$$.file
487
 
else
488
 
  rm -f conf$$.dir
489
 
  mkdir conf$$.dir
490
 
fi
491
 
echo >conf$$.file
492
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
493
 
  as_ln_s='ln -s'
494
 
  # ... but there are two gotchas:
495
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497
 
  # In both cases, we have to default to `cp -p'.
498
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499
 
    as_ln_s='cp -p'
500
 
elif ln conf$$.file conf$$ 2>/dev/null; then
501
 
  as_ln_s=ln
502
 
else
503
 
  as_ln_s='cp -p'
504
 
fi
505
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506
 
rmdir conf$$.dir 2>/dev/null
507
 
 
508
 
if mkdir -p . 2>/dev/null; then
509
 
  as_mkdir_p=:
510
 
else
511
 
  test -d ./-p && rmdir ./-p
512
 
  as_mkdir_p=false
513
 
fi
514
 
 
515
 
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
516
 
# systems may use methods other than mode bits to determine executability.
517
 
cat >conf$$.file <<_ASEOF
518
 
#! /bin/sh
519
 
exit 0
520
 
_ASEOF
521
 
chmod +x conf$$.file
522
 
if test -x conf$$.file >/dev/null 2>&1; then
523
 
  as_executable_p="test -x"
524
 
else
525
 
  as_executable_p=:
526
 
fi
527
 
rm -f conf$$.file
528
 
 
529
 
# Sed expression to map a string onto a valid CPP name.
530
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531
 
 
532
 
# Sed expression to map a string onto a valid variable name.
533
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534
 
 
535
 
 
536
 
 
537
 
 
538
 
# Check that we are running under the correct shell.
539
 
SHELL=${CONFIG_SHELL-/bin/sh}
540
 
 
541
 
case X$ECHO in
542
 
X*--fallback-echo)
543
 
  # Remove one level of quotation (which was required for Make).
544
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
545
 
  ;;
546
 
esac
547
 
 
548
 
echo=${ECHO-echo}
549
 
if test "X$1" = X--no-reexec; then
550
 
  # Discard the --no-reexec flag, and continue.
551
 
  shift
552
 
elif test "X$1" = X--fallback-echo; then
553
 
  # Avoid inline document here, it may be left over
554
 
  :
555
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
556
 
  # Yippee, $echo works!
557
 
  :
558
 
else
559
 
  # Restart under the correct shell.
560
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
561
 
fi
562
 
 
563
 
if test "X$1" = X--fallback-echo; then
564
 
  # used as fallback echo
565
 
  shift
566
 
  cat <<EOF
567
 
$*
568
 
EOF
569
 
  exit 0
570
 
fi
571
 
 
572
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
573
 
# if CDPATH is set.
574
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
575
 
 
576
 
if test -z "$ECHO"; then
577
 
if test "X${echo_test_string+set}" != Xset; then
578
 
# find a string as large as possible, as long as the shell can cope with it
579
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
580
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
581
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
582
 
       echo_test_string=`eval $cmd` &&
583
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
584
 
    then
585
 
      break
586
 
    fi
587
 
  done
588
 
fi
589
 
 
590
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
591
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
592
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
593
 
  :
594
 
else
595
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
596
 
  # backslashes.  This makes it impossible to quote backslashes using
597
 
  #   echo "$something" | sed 's/\\/\\\\/g'
598
 
  #
599
 
  # So, first we look for a working echo in the user's PATH.
600
 
 
601
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
602
 
  for dir in $PATH /usr/ucb; do
603
 
    IFS="$lt_save_ifs"
604
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
605
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
606
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
607
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
608
 
      echo="$dir/echo"
609
 
      break
610
 
    fi
611
 
  done
612
 
  IFS="$lt_save_ifs"
613
 
 
614
 
  if test "X$echo" = Xecho; then
615
 
    # We didn't find a better echo, so look for alternatives.
616
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
617
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
618
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
619
 
      # This shell has a builtin print -r that does the trick.
620
 
      echo='print -r'
621
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
622
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
623
 
      # If we have ksh, try running configure again with it.
624
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
625
 
      export ORIGINAL_CONFIG_SHELL
626
 
      CONFIG_SHELL=/bin/ksh
627
 
      export CONFIG_SHELL
628
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
629
 
    else
630
 
      # Try using printf.
631
 
      echo='printf %s\n'
632
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
633
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
634
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
635
 
        # Cool, printf works
636
 
        :
637
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638
 
           test "X$echo_testing_string" = 'X\t' &&
639
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
641
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
642
 
        export CONFIG_SHELL
643
 
        SHELL="$CONFIG_SHELL"
644
 
        export SHELL
645
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
646
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
647
 
           test "X$echo_testing_string" = 'X\t' &&
648
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
649
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
650
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
651
 
      else
652
 
        # maybe with a smaller string...
653
 
        prev=:
654
 
 
655
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
656
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
657
 
          then
658
 
            break
659
 
          fi
660
 
          prev="$cmd"
661
 
        done
662
 
 
663
 
        if test "$prev" != 'sed 50q "$0"'; then
664
 
          echo_test_string=`eval $prev`
665
 
          export echo_test_string
666
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
667
 
        else
668
 
          # Oops.  We lost completely, so just stick with echo.
669
 
          echo=echo
670
 
        fi
671
 
      fi
672
 
    fi
673
 
  fi
674
 
fi
675
 
fi
676
 
 
677
 
# Copy echo and quote the copy suitably for passing to libtool from
678
 
# the Makefile, instead of quoting the original, which is used later.
679
 
ECHO=$echo
680
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
681
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
682
 
fi
683
 
 
684
 
 
685
 
 
686
 
 
687
 
tagnames=${tagnames+${tagnames},}CXX
688
 
 
689
 
tagnames=${tagnames+${tagnames},}F77
690
 
 
691
 
exec 7<&0 </dev/null 6>&1
692
 
 
693
 
# Name of the host.
694
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
695
 
# so uname gets run too.
696
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
697
 
 
698
 
#
699
 
# Initializations.
700
 
#
701
 
ac_default_prefix=/usr/local
702
 
ac_clean_files=
703
 
ac_config_libobj_dir=.
704
 
LIBOBJS=
705
 
cross_compiling=no
706
 
subdirs=
707
 
MFLAGS=
708
 
MAKEFLAGS=
709
 
SHELL=${CONFIG_SHELL-/bin/sh}
710
 
 
711
 
# Identity of this package.
712
 
PACKAGE_NAME=
713
 
PACKAGE_TARNAME=
714
 
PACKAGE_VERSION=
715
 
PACKAGE_STRING=
716
 
PACKAGE_BUGREPORT=
717
 
 
718
 
ac_unique_file="trampoline_r/trampoline_r.h.in"
719
 
# Factoring default headers for most tests.
720
 
ac_includes_default="\
721
 
#include <stdio.h>
722
 
#ifdef HAVE_SYS_TYPES_H
723
 
# include <sys/types.h>
724
 
#endif
725
 
#ifdef HAVE_SYS_STAT_H
726
 
# include <sys/stat.h>
727
 
#endif
728
 
#ifdef STDC_HEADERS
729
 
# include <stdlib.h>
730
 
# include <stddef.h>
731
 
#else
732
 
# ifdef HAVE_STDLIB_H
733
 
#  include <stdlib.h>
734
 
# endif
735
 
#endif
736
 
#ifdef HAVE_STRING_H
737
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
738
 
#  include <memory.h>
739
 
# endif
740
 
# include <string.h>
741
 
#endif
742
 
#ifdef HAVE_STRINGS_H
743
 
# include <strings.h>
744
 
#endif
745
 
#ifdef HAVE_INTTYPES_H
746
 
# include <inttypes.h>
747
 
#endif
748
 
#ifdef HAVE_STDINT_H
749
 
# include <stdint.h>
750
 
#endif
751
 
#ifdef HAVE_UNISTD_H
752
 
# include <unistd.h>
753
 
#endif"
754
 
 
755
 
ac_subst_vars='SHELL
756
 
PATH_SEPARATOR
757
 
PACKAGE_NAME
758
 
PACKAGE_TARNAME
759
 
PACKAGE_VERSION
760
 
PACKAGE_STRING
761
 
PACKAGE_BUGREPORT
762
 
exec_prefix
763
 
prefix
764
 
program_transform_name
765
 
bindir
766
 
sbindir
767
 
libexecdir
768
 
datarootdir
769
 
datadir
770
 
sysconfdir
771
 
sharedstatedir
772
 
localstatedir
773
 
includedir
774
 
oldincludedir
775
 
docdir
776
 
infodir
777
 
htmldir
778
 
dvidir
779
 
pdfdir
780
 
psdir
781
 
libdir
782
 
localedir
783
 
mandir
784
 
DEFS
785
 
ECHO_C
786
 
ECHO_N
787
 
ECHO_T
788
 
LIBS
789
 
build_alias
790
 
host_alias
791
 
target_alias
792
 
CC
793
 
CFLAGS
794
 
LDFLAGS
795
 
CPPFLAGS
796
 
ac_ct_CC
797
 
EXEEXT
798
 
OBJEXT
799
 
CPP
800
 
GREP
801
 
EGREP
802
 
CC_GCC
803
 
GCC_X_NONE
804
 
RANLIB
805
 
SET_MAKE
806
 
INSTALL
807
 
INSTALL_PROGRAM
808
 
INSTALL_DATA
809
 
CP
810
 
LN
811
 
LN_S
812
 
build
813
 
build_cpu
814
 
build_vendor
815
 
build_os
816
 
host
817
 
host_cpu
818
 
host_vendor
819
 
host_os
820
 
host_cpu_abi
821
 
ECHO
822
 
AR
823
 
STRIP
824
 
CXX
825
 
CXXFLAGS
826
 
ac_ct_CXX
827
 
CXXCPP
828
 
F77
829
 
FFLAGS
830
 
ac_ct_F77
831
 
LIBTOOL
832
 
subdirs
833
 
LIBOBJS
834
 
LTLIBOBJS'
835
 
ac_subst_files=''
836
 
      ac_precious_vars='build_alias
837
 
host_alias
838
 
target_alias
839
 
CC
840
 
CFLAGS
841
 
LDFLAGS
842
 
CPPFLAGS
843
 
CPP
844
 
CXX
845
 
CXXFLAGS
846
 
CCC
847
 
CXXCPP
848
 
F77
849
 
FFLAGS'
850
 
ac_subdirs_all='vacall_r trampoline_r'
851
 
 
852
 
# Initialize some variables set by options.
853
 
ac_init_help=
854
 
ac_init_version=false
855
 
# The variables have the same names as the options, with
856
 
# dashes changed to underlines.
857
 
cache_file=/dev/null
858
 
exec_prefix=NONE
859
 
no_create=
860
 
no_recursion=
861
 
prefix=NONE
862
 
program_prefix=NONE
863
 
program_suffix=NONE
864
 
program_transform_name=s,x,x,
865
 
silent=
866
 
site=
867
 
srcdir=
868
 
verbose=
869
 
x_includes=NONE
870
 
x_libraries=NONE
871
 
 
872
 
# Installation directory options.
873
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
874
 
# and all the variables that are supposed to be based on exec_prefix
875
 
# by default will actually change.
876
 
# Use braces instead of parens because sh, perl, etc. also accept them.
877
 
# (The list follows the same order as the GNU Coding Standards.)
878
 
bindir='${exec_prefix}/bin'
879
 
sbindir='${exec_prefix}/sbin'
880
 
libexecdir='${exec_prefix}/libexec'
881
 
datarootdir='${prefix}/share'
882
 
datadir='${datarootdir}'
883
 
sysconfdir='${prefix}/etc'
884
 
sharedstatedir='${prefix}/com'
885
 
localstatedir='${prefix}/var'
886
 
includedir='${prefix}/include'
887
 
oldincludedir='/usr/include'
888
 
docdir='${datarootdir}/doc/${PACKAGE}'
889
 
infodir='${datarootdir}/info'
890
 
htmldir='${docdir}'
891
 
dvidir='${docdir}'
892
 
pdfdir='${docdir}'
893
 
psdir='${docdir}'
894
 
libdir='${exec_prefix}/lib'
895
 
localedir='${datarootdir}/locale'
896
 
mandir='${datarootdir}/man'
897
 
 
898
 
ac_prev=
899
 
ac_dashdash=
900
 
for ac_option
901
 
do
902
 
  # If the previous option needs an argument, assign it.
903
 
  if test -n "$ac_prev"; then
904
 
    eval $ac_prev=\$ac_option
905
 
    ac_prev=
906
 
    continue
907
 
  fi
908
 
 
909
 
  case $ac_option in
910
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
911
 
  *)    ac_optarg=yes ;;
912
 
  esac
913
 
 
914
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
915
 
 
916
 
  case $ac_dashdash$ac_option in
917
 
  --)
918
 
    ac_dashdash=yes ;;
919
 
 
920
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
921
 
    ac_prev=bindir ;;
922
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
923
 
    bindir=$ac_optarg ;;
924
 
 
925
 
  -build | --build | --buil | --bui | --bu)
926
 
    ac_prev=build_alias ;;
927
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
928
 
    build_alias=$ac_optarg ;;
929
 
 
930
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
931
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
932
 
    ac_prev=cache_file ;;
933
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
934
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
935
 
    cache_file=$ac_optarg ;;
936
 
 
937
 
  --config-cache | -C)
938
 
    cache_file=config.cache ;;
939
 
 
940
 
  -datadir | --datadir | --datadi | --datad)
941
 
    ac_prev=datadir ;;
942
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
943
 
    datadir=$ac_optarg ;;
944
 
 
945
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
946
 
  | --dataroo | --dataro | --datar)
947
 
    ac_prev=datarootdir ;;
948
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
949
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
950
 
    datarootdir=$ac_optarg ;;
951
 
 
952
 
  -disable-* | --disable-*)
953
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
954
 
    # Reject names that are not valid shell variable names.
955
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
956
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
957
 
   { (exit 1); exit 1; }; }
958
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
959
 
    eval enable_$ac_feature=no ;;
960
 
 
961
 
  -docdir | --docdir | --docdi | --doc | --do)
962
 
    ac_prev=docdir ;;
963
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
964
 
    docdir=$ac_optarg ;;
965
 
 
966
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
967
 
    ac_prev=dvidir ;;
968
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
969
 
    dvidir=$ac_optarg ;;
970
 
 
971
 
  -enable-* | --enable-*)
972
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
973
 
    # Reject names that are not valid shell variable names.
974
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
975
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
976
 
   { (exit 1); exit 1; }; }
977
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
978
 
    eval enable_$ac_feature=\$ac_optarg ;;
979
 
 
980
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
981
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
982
 
  | --exec | --exe | --ex)
983
 
    ac_prev=exec_prefix ;;
984
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
985
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
986
 
  | --exec=* | --exe=* | --ex=*)
987
 
    exec_prefix=$ac_optarg ;;
988
 
 
989
 
  -gas | --gas | --ga | --g)
990
 
    # Obsolete; use --with-gas.
991
 
    with_gas=yes ;;
992
 
 
993
 
  -help | --help | --hel | --he | -h)
994
 
    ac_init_help=long ;;
995
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
996
 
    ac_init_help=recursive ;;
997
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
998
 
    ac_init_help=short ;;
999
 
 
1000
 
  -host | --host | --hos | --ho)
1001
 
    ac_prev=host_alias ;;
1002
 
  -host=* | --host=* | --hos=* | --ho=*)
1003
 
    host_alias=$ac_optarg ;;
1004
 
 
1005
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1006
 
    ac_prev=htmldir ;;
1007
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1008
 
  | --ht=*)
1009
 
    htmldir=$ac_optarg ;;
1010
 
 
1011
 
  -includedir | --includedir | --includedi | --included | --include \
1012
 
  | --includ | --inclu | --incl | --inc)
1013
 
    ac_prev=includedir ;;
1014
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1015
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1016
 
    includedir=$ac_optarg ;;
1017
 
 
1018
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1019
 
    ac_prev=infodir ;;
1020
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1021
 
    infodir=$ac_optarg ;;
1022
 
 
1023
 
  -libdir | --libdir | --libdi | --libd)
1024
 
    ac_prev=libdir ;;
1025
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1026
 
    libdir=$ac_optarg ;;
1027
 
 
1028
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1029
 
  | --libexe | --libex | --libe)
1030
 
    ac_prev=libexecdir ;;
1031
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1032
 
  | --libexe=* | --libex=* | --libe=*)
1033
 
    libexecdir=$ac_optarg ;;
1034
 
 
1035
 
  -localedir | --localedir | --localedi | --localed | --locale)
1036
 
    ac_prev=localedir ;;
1037
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1038
 
    localedir=$ac_optarg ;;
1039
 
 
1040
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1041
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1042
 
    ac_prev=localstatedir ;;
1043
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1044
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1045
 
    localstatedir=$ac_optarg ;;
1046
 
 
1047
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1048
 
    ac_prev=mandir ;;
1049
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1050
 
    mandir=$ac_optarg ;;
1051
 
 
1052
 
  -nfp | --nfp | --nf)
1053
 
    # Obsolete; use --without-fp.
1054
 
    with_fp=no ;;
1055
 
 
1056
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1057
 
  | --no-cr | --no-c | -n)
1058
 
    no_create=yes ;;
1059
 
 
1060
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1061
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1062
 
    no_recursion=yes ;;
1063
 
 
1064
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1065
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1066
 
  | --oldin | --oldi | --old | --ol | --o)
1067
 
    ac_prev=oldincludedir ;;
1068
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1069
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1070
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1071
 
    oldincludedir=$ac_optarg ;;
1072
 
 
1073
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1074
 
    ac_prev=prefix ;;
1075
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1076
 
    prefix=$ac_optarg ;;
1077
 
 
1078
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1079
 
  | --program-pre | --program-pr | --program-p)
1080
 
    ac_prev=program_prefix ;;
1081
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1082
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1083
 
    program_prefix=$ac_optarg ;;
1084
 
 
1085
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1086
 
  | --program-suf | --program-su | --program-s)
1087
 
    ac_prev=program_suffix ;;
1088
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1089
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1090
 
    program_suffix=$ac_optarg ;;
1091
 
 
1092
 
  -program-transform-name | --program-transform-name \
1093
 
  | --program-transform-nam | --program-transform-na \
1094
 
  | --program-transform-n | --program-transform- \
1095
 
  | --program-transform | --program-transfor \
1096
 
  | --program-transfo | --program-transf \
1097
 
  | --program-trans | --program-tran \
1098
 
  | --progr-tra | --program-tr | --program-t)
1099
 
    ac_prev=program_transform_name ;;
1100
 
  -program-transform-name=* | --program-transform-name=* \
1101
 
  | --program-transform-nam=* | --program-transform-na=* \
1102
 
  | --program-transform-n=* | --program-transform-=* \
1103
 
  | --program-transform=* | --program-transfor=* \
1104
 
  | --program-transfo=* | --program-transf=* \
1105
 
  | --program-trans=* | --program-tran=* \
1106
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1107
 
    program_transform_name=$ac_optarg ;;
1108
 
 
1109
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1110
 
    ac_prev=pdfdir ;;
1111
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1112
 
    pdfdir=$ac_optarg ;;
1113
 
 
1114
 
  -psdir | --psdir | --psdi | --psd | --ps)
1115
 
    ac_prev=psdir ;;
1116
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1117
 
    psdir=$ac_optarg ;;
1118
 
 
1119
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1120
 
  | -silent | --silent | --silen | --sile | --sil)
1121
 
    silent=yes ;;
1122
 
 
1123
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1124
 
    ac_prev=sbindir ;;
1125
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1126
 
  | --sbi=* | --sb=*)
1127
 
    sbindir=$ac_optarg ;;
1128
 
 
1129
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1130
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1131
 
  | --sharedst | --shareds | --shared | --share | --shar \
1132
 
  | --sha | --sh)
1133
 
    ac_prev=sharedstatedir ;;
1134
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1135
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1136
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1137
 
  | --sha=* | --sh=*)
1138
 
    sharedstatedir=$ac_optarg ;;
1139
 
 
1140
 
  -site | --site | --sit)
1141
 
    ac_prev=site ;;
1142
 
  -site=* | --site=* | --sit=*)
1143
 
    site=$ac_optarg ;;
1144
 
 
1145
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1146
 
    ac_prev=srcdir ;;
1147
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1148
 
    srcdir=$ac_optarg ;;
1149
 
 
1150
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1151
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1152
 
    ac_prev=sysconfdir ;;
1153
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1154
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1155
 
    sysconfdir=$ac_optarg ;;
1156
 
 
1157
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1158
 
    ac_prev=target_alias ;;
1159
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1160
 
    target_alias=$ac_optarg ;;
1161
 
 
1162
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1163
 
    verbose=yes ;;
1164
 
 
1165
 
  -version | --version | --versio | --versi | --vers | -V)
1166
 
    ac_init_version=: ;;
1167
 
 
1168
 
  -with-* | --with-*)
1169
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1170
 
    # Reject names that are not valid shell variable names.
1171
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1172
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1173
 
   { (exit 1); exit 1; }; }
1174
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
1175
 
    eval with_$ac_package=\$ac_optarg ;;
1176
 
 
1177
 
  -without-* | --without-*)
1178
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1179
 
    # Reject names that are not valid shell variable names.
1180
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1181
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1182
 
   { (exit 1); exit 1; }; }
1183
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
1184
 
    eval with_$ac_package=no ;;
1185
 
 
1186
 
  --x)
1187
 
    # Obsolete; use --with-x.
1188
 
    with_x=yes ;;
1189
 
 
1190
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1191
 
  | --x-incl | --x-inc | --x-in | --x-i)
1192
 
    ac_prev=x_includes ;;
1193
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1194
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1195
 
    x_includes=$ac_optarg ;;
1196
 
 
1197
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1198
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1199
 
    ac_prev=x_libraries ;;
1200
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1201
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1202
 
    x_libraries=$ac_optarg ;;
1203
 
 
1204
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1205
 
Try \`$0 --help' for more information." >&2
1206
 
   { (exit 1); exit 1; }; }
1207
 
    ;;
1208
 
 
1209
 
  *=*)
1210
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1211
 
    # Reject names that are not valid shell variable names.
1212
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1213
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1214
 
   { (exit 1); exit 1; }; }
1215
 
    eval $ac_envvar=\$ac_optarg
1216
 
    export $ac_envvar ;;
1217
 
 
1218
 
  *)
1219
 
    # FIXME: should be removed in autoconf 3.0.
1220
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1221
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1222
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1223
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1224
 
    ;;
1225
 
 
1226
 
  esac
1227
 
done
1228
 
 
1229
 
if test -n "$ac_prev"; then
1230
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1231
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
1232
 
   { (exit 1); exit 1; }; }
1233
 
fi
1234
 
 
1235
 
# Be sure to have absolute directory names.
1236
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1237
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1238
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1239
 
                libdir localedir mandir
1240
 
do
1241
 
  eval ac_val=\$$ac_var
1242
 
  case $ac_val in
1243
 
    [\\/$]* | ?:[\\/]* )  continue;;
1244
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1245
 
  esac
1246
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1247
 
   { (exit 1); exit 1; }; }
1248
 
done
1249
 
 
1250
 
# There might be people who depend on the old broken behavior: `$host'
1251
 
# used to hold the argument of --host etc.
1252
 
# FIXME: To remove some day.
1253
 
build=$build_alias
1254
 
host=$host_alias
1255
 
target=$target_alias
1256
 
 
1257
 
# FIXME: To remove some day.
1258
 
if test "x$host_alias" != x; then
1259
 
  if test "x$build_alias" = x; then
1260
 
    cross_compiling=maybe
1261
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1262
 
    If a cross compiler is detected then cross compile mode will be used." >&2
1263
 
  elif test "x$build_alias" != "x$host_alias"; then
1264
 
    cross_compiling=yes
1265
 
  fi
1266
 
fi
1267
 
 
1268
 
ac_tool_prefix=
1269
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1270
 
 
1271
 
test "$silent" = yes && exec 6>/dev/null
1272
 
 
1273
 
 
1274
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1275
 
ac_ls_di=`ls -di .` &&
1276
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1277
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
1278
 
   { (exit 1); exit 1; }; }
1279
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1280
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1281
 
   { (exit 1); exit 1; }; }
1282
 
 
1283
 
 
1284
 
# Find the source files, if location was not specified.
1285
 
if test -z "$srcdir"; then
1286
 
  ac_srcdir_defaulted=yes
1287
 
  # Try the directory containing this script, then the parent directory.
1288
 
  ac_confdir=`$as_dirname -- "$0" ||
1289
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1290
 
         X"$0" : 'X\(//\)[^/]' \| \
1291
 
         X"$0" : 'X\(//\)$' \| \
1292
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1293
 
echo X"$0" |
1294
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1295
 
            s//\1/
1296
 
            q
1297
 
          }
1298
 
          /^X\(\/\/\)[^/].*/{
1299
 
            s//\1/
1300
 
            q
1301
 
          }
1302
 
          /^X\(\/\/\)$/{
1303
 
            s//\1/
1304
 
            q
1305
 
          }
1306
 
          /^X\(\/\).*/{
1307
 
            s//\1/
1308
 
            q
1309
 
          }
1310
 
          s/.*/./; q'`
1311
 
  srcdir=$ac_confdir
1312
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1313
 
    srcdir=..
1314
 
  fi
1315
 
else
1316
 
  ac_srcdir_defaulted=no
1317
 
fi
1318
 
if test ! -r "$srcdir/$ac_unique_file"; then
1319
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1320
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1321
 
   { (exit 1); exit 1; }; }
1322
 
fi
1323
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1324
 
ac_abs_confdir=`(
1325
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1326
 
   { (exit 1); exit 1; }; }
1327
 
        pwd)`
1328
 
# When building in place, set srcdir=.
1329
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1330
 
  srcdir=.
1331
 
fi
1332
 
# Remove unnecessary trailing slashes from srcdir.
1333
 
# Double slashes in file names in object file debugging info
1334
 
# mess up M-x gdb in Emacs.
1335
 
case $srcdir in
1336
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1337
 
esac
1338
 
for ac_var in $ac_precious_vars; do
1339
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1340
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1341
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1342
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1343
 
done
1344
 
 
1345
 
#
1346
 
# Report the --help message.
1347
 
#
1348
 
if test "$ac_init_help" = "long"; then
1349
 
  # Omit some internal or obsolete options to make the list less imposing.
1350
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1351
 
  cat <<_ACEOF
1352
 
\`configure' configures this package to adapt to many kinds of systems.
1353
 
 
1354
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1355
 
 
1356
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1357
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1358
 
 
1359
 
Defaults for the options are specified in brackets.
1360
 
 
1361
 
Configuration:
1362
 
  -h, --help              display this help and exit
1363
 
      --help=short        display options specific to this package
1364
 
      --help=recursive    display the short help of all the included packages
1365
 
  -V, --version           display version information and exit
1366
 
  -q, --quiet, --silent   do not print \`checking...' messages
1367
 
      --cache-file=FILE   cache test results in FILE [disabled]
1368
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1369
 
  -n, --no-create         do not create output files
1370
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1371
 
 
1372
 
Installation directories:
1373
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1374
 
                          [$ac_default_prefix]
1375
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1376
 
                          [PREFIX]
1377
 
 
1378
 
By default, \`make install' will install all the files in
1379
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1380
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1381
 
for instance \`--prefix=\$HOME'.
1382
 
 
1383
 
For better control, use the options below.
1384
 
 
1385
 
Fine tuning of the installation directories:
1386
 
  --bindir=DIR           user executables [EPREFIX/bin]
1387
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1388
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1389
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1390
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1391
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1392
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1393
 
  --includedir=DIR       C header files [PREFIX/include]
1394
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1395
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1396
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1397
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1398
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1399
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1400
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1401
 
  --htmldir=DIR          html documentation [DOCDIR]
1402
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1403
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1404
 
  --psdir=DIR            ps documentation [DOCDIR]
1405
 
_ACEOF
1406
 
 
1407
 
  cat <<\_ACEOF
1408
 
 
1409
 
System types:
1410
 
  --build=BUILD     configure for building on BUILD [guessed]
1411
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1412
 
_ACEOF
1413
 
fi
1414
 
 
1415
 
if test -n "$ac_init_help"; then
1416
 
 
1417
 
  cat <<\_ACEOF
1418
 
 
1419
 
Optional Features:
1420
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1421
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1422
 
  --enable-shared[=PKGS]  build shared libraries [default=no]
1423
 
  --enable-static[=PKGS]  build static libraries [default=yes]
1424
 
  --enable-fast-install[=PKGS]
1425
 
                          optimize for fast installation [default=yes]
1426
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1427
 
 
1428
 
Optional Packages:
1429
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1430
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1431
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1432
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
1433
 
                          both]
1434
 
  --with-tags[=TAGS]      include additional configurations [automatic]
1435
 
 
1436
 
Some influential environment variables:
1437
 
  CC          C compiler command
1438
 
  CFLAGS      C compiler flags
1439
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1440
 
              nonstandard directory <lib dir>
1441
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1442
 
              you have headers in a nonstandard directory <include dir>
1443
 
  CPP         C preprocessor
1444
 
  CXX         C++ compiler command
1445
 
  CXXFLAGS    C++ compiler flags
1446
 
  CXXCPP      C++ preprocessor
1447
 
  F77         Fortran 77 compiler command
1448
 
  FFLAGS      Fortran 77 compiler flags
1449
 
 
1450
 
Use these variables to override the choices made by `configure' or to help
1451
 
it to find libraries and programs with nonstandard names/locations.
1452
 
 
1453
 
_ACEOF
1454
 
ac_status=$?
1455
 
fi
1456
 
 
1457
 
if test "$ac_init_help" = "recursive"; then
1458
 
  # If there are subdirs, report their specific --help.
1459
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1460
 
    test -d "$ac_dir" || continue
1461
 
    ac_builddir=.
1462
 
 
1463
 
case "$ac_dir" in
1464
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1465
 
*)
1466
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1467
 
  # A ".." for each directory in $ac_dir_suffix.
1468
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1469
 
  case $ac_top_builddir_sub in
1470
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1471
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1472
 
  esac ;;
1473
 
esac
1474
 
ac_abs_top_builddir=$ac_pwd
1475
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1476
 
# for backward compatibility:
1477
 
ac_top_builddir=$ac_top_build_prefix
1478
 
 
1479
 
case $srcdir in
1480
 
  .)  # We are building in place.
1481
 
    ac_srcdir=.
1482
 
    ac_top_srcdir=$ac_top_builddir_sub
1483
 
    ac_abs_top_srcdir=$ac_pwd ;;
1484
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1485
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1486
 
    ac_top_srcdir=$srcdir
1487
 
    ac_abs_top_srcdir=$srcdir ;;
1488
 
  *) # Relative name.
1489
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1490
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1491
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1492
 
esac
1493
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1494
 
 
1495
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1496
 
    # Check for guested configure.
1497
 
    if test -f "$ac_srcdir/configure.gnu"; then
1498
 
      echo &&
1499
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1500
 
    elif test -f "$ac_srcdir/configure"; then
1501
 
      echo &&
1502
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1503
 
    else
1504
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1505
 
    fi || ac_status=$?
1506
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1507
 
  done
1508
 
fi
1509
 
 
1510
 
test -n "$ac_init_help" && exit $ac_status
1511
 
if $ac_init_version; then
1512
 
  cat <<\_ACEOF
1513
 
configure
1514
 
generated by GNU Autoconf 2.60a
1515
 
 
1516
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1517
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1518
 
This configure script is free software; the Free Software Foundation
1519
 
gives unlimited permission to copy, distribute and modify it.
1520
 
_ACEOF
1521
 
  exit
1522
 
fi
1523
 
cat >config.log <<_ACEOF
1524
 
This file contains any messages produced by compilers while
1525
 
running configure, to aid debugging if configure makes a mistake.
1526
 
 
1527
 
It was created by $as_me, which was
1528
 
generated by GNU Autoconf 2.60a.  Invocation command line was
1529
 
 
1530
 
  $ $0 $@
1531
 
 
1532
 
_ACEOF
1533
 
exec 5>>config.log
1534
 
{
1535
 
cat <<_ASUNAME
1536
 
## --------- ##
1537
 
## Platform. ##
1538
 
## --------- ##
1539
 
 
1540
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1541
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1542
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1543
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1544
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1545
 
 
1546
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1547
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1548
 
 
1549
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1550
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1551
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1552
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1553
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1554
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1555
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1556
 
 
1557
 
_ASUNAME
1558
 
 
1559
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1560
 
for as_dir in $PATH
1561
 
do
1562
 
  IFS=$as_save_IFS
1563
 
  test -z "$as_dir" && as_dir=.
1564
 
  echo "PATH: $as_dir"
1565
 
done
1566
 
IFS=$as_save_IFS
1567
 
 
1568
 
} >&5
1569
 
 
1570
 
cat >&5 <<_ACEOF
1571
 
 
1572
 
 
1573
 
## ----------- ##
1574
 
## Core tests. ##
1575
 
## ----------- ##
1576
 
 
1577
 
_ACEOF
1578
 
 
1579
 
 
1580
 
# Keep a trace of the command line.
1581
 
# Strip out --no-create and --no-recursion so they do not pile up.
1582
 
# Strip out --silent because we don't want to record it for future runs.
1583
 
# Also quote any args containing shell meta-characters.
1584
 
# Make two passes to allow for proper duplicate-argument suppression.
1585
 
ac_configure_args=
1586
 
ac_configure_args0=
1587
 
ac_configure_args1=
1588
 
ac_must_keep_next=false
1589
 
for ac_pass in 1 2
1590
 
do
1591
 
  for ac_arg
1592
 
  do
1593
 
    case $ac_arg in
1594
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1595
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1596
 
    | -silent | --silent | --silen | --sile | --sil)
1597
 
      continue ;;
1598
 
    *\'*)
1599
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1600
 
    esac
1601
 
    case $ac_pass in
1602
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1603
 
    2)
1604
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1605
 
      if test $ac_must_keep_next = true; then
1606
 
        ac_must_keep_next=false # Got value, back to normal.
1607
 
      else
1608
 
        case $ac_arg in
1609
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1610
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1611
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1612
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1613
 
            case "$ac_configure_args0 " in
1614
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1615
 
            esac
1616
 
            ;;
1617
 
          -* ) ac_must_keep_next=true ;;
1618
 
        esac
1619
 
      fi
1620
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
1621
 
      ;;
1622
 
    esac
1623
 
  done
1624
 
done
1625
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1626
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1627
 
 
1628
 
# When interrupted or exit'd, cleanup temporary files, and complete
1629
 
# config.log.  We remove comments because anyway the quotes in there
1630
 
# would cause problems or look ugly.
1631
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
1632
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1633
 
trap 'exit_status=$?
1634
 
  # Save into config.log some information that might help in debugging.
1635
 
  {
1636
 
    echo
1637
 
 
1638
 
    cat <<\_ASBOX
1639
 
## ---------------- ##
1640
 
## Cache variables. ##
1641
 
## ---------------- ##
1642
 
_ASBOX
1643
 
    echo
1644
 
    # The following way of writing the cache mishandles newlines in values,
1645
 
(
1646
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1647
 
    eval ac_val=\$$ac_var
1648
 
    case $ac_val in #(
1649
 
    *${as_nl}*)
1650
 
      case $ac_var in #(
1651
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1652
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1653
 
      esac
1654
 
      case $ac_var in #(
1655
 
      _ | IFS | as_nl) ;; #(
1656
 
      *) $as_unset $ac_var ;;
1657
 
      esac ;;
1658
 
    esac
1659
 
  done
1660
 
  (set) 2>&1 |
1661
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1662
 
    *${as_nl}ac_space=\ *)
1663
 
      sed -n \
1664
 
        "s/'\''/'\''\\\\'\'''\''/g;
1665
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1666
 
      ;; #(
1667
 
    *)
1668
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1669
 
      ;;
1670
 
    esac |
1671
 
    sort
1672
 
)
1673
 
    echo
1674
 
 
1675
 
    cat <<\_ASBOX
1676
 
## ----------------- ##
1677
 
## Output variables. ##
1678
 
## ----------------- ##
1679
 
_ASBOX
1680
 
    echo
1681
 
    for ac_var in $ac_subst_vars
1682
 
    do
1683
 
      eval ac_val=\$$ac_var
1684
 
      case $ac_val in
1685
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1686
 
      esac
1687
 
      echo "$ac_var='\''$ac_val'\''"
1688
 
    done | sort
1689
 
    echo
1690
 
 
1691
 
    if test -n "$ac_subst_files"; then
1692
 
      cat <<\_ASBOX
1693
 
## ------------------- ##
1694
 
## File substitutions. ##
1695
 
## ------------------- ##
1696
 
_ASBOX
1697
 
      echo
1698
 
      for ac_var in $ac_subst_files
1699
 
      do
1700
 
        eval ac_val=\$$ac_var
1701
 
        case $ac_val in
1702
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1703
 
        esac
1704
 
        echo "$ac_var='\''$ac_val'\''"
1705
 
      done | sort
1706
 
      echo
1707
 
    fi
1708
 
 
1709
 
    if test -s confdefs.h; then
1710
 
      cat <<\_ASBOX
1711
 
## ----------- ##
1712
 
## confdefs.h. ##
1713
 
## ----------- ##
1714
 
_ASBOX
1715
 
      echo
1716
 
      cat confdefs.h
1717
 
      echo
1718
 
    fi
1719
 
    test "$ac_signal" != 0 &&
1720
 
      echo "$as_me: caught signal $ac_signal"
1721
 
    echo "$as_me: exit $exit_status"
1722
 
  } >&5
1723
 
  rm -f core *.core core.conftest.* &&
1724
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1725
 
    exit $exit_status
1726
 
' 0
1727
 
for ac_signal in 1 2 13 15; do
1728
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1729
 
done
1730
 
ac_signal=0
1731
 
 
1732
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1733
 
rm -f -r conftest* confdefs.h
1734
 
 
1735
 
# Predefined preprocessor variables.
1736
 
 
1737
 
cat >>confdefs.h <<_ACEOF
1738
 
#define PACKAGE_NAME "$PACKAGE_NAME"
1739
 
_ACEOF
1740
 
 
1741
 
 
1742
 
cat >>confdefs.h <<_ACEOF
1743
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1744
 
_ACEOF
1745
 
 
1746
 
 
1747
 
cat >>confdefs.h <<_ACEOF
1748
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1749
 
_ACEOF
1750
 
 
1751
 
 
1752
 
cat >>confdefs.h <<_ACEOF
1753
 
#define PACKAGE_STRING "$PACKAGE_STRING"
1754
 
_ACEOF
1755
 
 
1756
 
 
1757
 
cat >>confdefs.h <<_ACEOF
1758
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1759
 
_ACEOF
1760
 
 
1761
 
 
1762
 
# Let the site file select an alternate cache file if it wants to.
1763
 
# Prefer explicitly selected file to automatically selected ones.
1764
 
if test -n "$CONFIG_SITE"; then
1765
 
  set x "$CONFIG_SITE"
1766
 
elif test "x$prefix" != xNONE; then
1767
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1768
 
else
1769
 
  set x "$ac_default_prefix/share/config.site" \
1770
 
        "$ac_default_prefix/etc/config.site"
1771
 
fi
1772
 
shift
1773
 
for ac_site_file
1774
 
do
1775
 
  if test -r "$ac_site_file"; then
1776
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1777
 
echo "$as_me: loading site script $ac_site_file" >&6;}
1778
 
    sed 's/^/| /' "$ac_site_file" >&5
1779
 
    . "$ac_site_file"
1780
 
  fi
1781
 
done
1782
 
 
1783
 
if test -r "$cache_file"; then
1784
 
  # Some versions of bash will fail to source /dev/null (special
1785
 
  # files actually), so we avoid doing that.
1786
 
  if test -f "$cache_file"; then
1787
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1788
 
echo "$as_me: loading cache $cache_file" >&6;}
1789
 
    case $cache_file in
1790
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1791
 
      *)                      . "./$cache_file";;
1792
 
    esac
1793
 
  fi
1794
 
else
1795
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1796
 
echo "$as_me: creating cache $cache_file" >&6;}
1797
 
  >$cache_file
1798
 
fi
1799
 
 
1800
 
# Check that the precious variables saved in the cache have kept the same
1801
 
# value.
1802
 
ac_cache_corrupted=false
1803
 
for ac_var in $ac_precious_vars; do
1804
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1805
 
  eval ac_new_set=\$ac_env_${ac_var}_set
1806
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1807
 
  eval ac_new_val=\$ac_env_${ac_var}_value
1808
 
  case $ac_old_set,$ac_new_set in
1809
 
    set,)
1810
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1811
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1812
 
      ac_cache_corrupted=: ;;
1813
 
    ,set)
1814
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1815
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1816
 
      ac_cache_corrupted=: ;;
1817
 
    ,);;
1818
 
    *)
1819
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
1820
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1821
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1822
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1823
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1824
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1825
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1826
 
        ac_cache_corrupted=:
1827
 
      fi;;
1828
 
  esac
1829
 
  # Pass precious variables to config.status.
1830
 
  if test "$ac_new_set" = set; then
1831
 
    case $ac_new_val in
1832
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1833
 
    *) ac_arg=$ac_var=$ac_new_val ;;
1834
 
    esac
1835
 
    case " $ac_configure_args " in
1836
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1837
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1838
 
    esac
1839
 
  fi
1840
 
done
1841
 
if $ac_cache_corrupted; then
1842
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1843
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1844
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1845
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1846
 
   { (exit 1); exit 1; }; }
1847
 
fi
1848
 
 
1849
 
 
1850
 
 
1851
 
 
1852
 
 
1853
 
 
1854
 
 
1855
 
 
1856
 
 
1857
 
 
1858
 
 
1859
 
 
1860
 
 
1861
 
 
1862
 
 
1863
 
 
1864
 
 
1865
 
ac_ext=c
1866
 
ac_cpp='$CPP $CPPFLAGS'
1867
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1868
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1869
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1870
 
 
1871
 
 
1872
 
ac_ext=c
1873
 
ac_cpp='$CPP $CPPFLAGS'
1874
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1875
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1876
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1877
 
if test -n "$ac_tool_prefix"; then
1878
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1879
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1880
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1881
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1882
 
if test "${ac_cv_prog_CC+set}" = set; then
1883
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1884
 
else
1885
 
  if test -n "$CC"; then
1886
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
1887
 
else
1888
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1889
 
for as_dir in $PATH
1890
 
do
1891
 
  IFS=$as_save_IFS
1892
 
  test -z "$as_dir" && as_dir=.
1893
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1894
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1895
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1896
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1897
 
    break 2
1898
 
  fi
1899
 
done
1900
 
done
1901
 
IFS=$as_save_IFS
1902
 
 
1903
 
fi
1904
 
fi
1905
 
CC=$ac_cv_prog_CC
1906
 
if test -n "$CC"; then
1907
 
  { echo "$as_me:$LINENO: result: $CC" >&5
1908
 
echo "${ECHO_T}$CC" >&6; }
1909
 
else
1910
 
  { echo "$as_me:$LINENO: result: no" >&5
1911
 
echo "${ECHO_T}no" >&6; }
1912
 
fi
1913
 
 
1914
 
 
1915
 
fi
1916
 
if test -z "$ac_cv_prog_CC"; then
1917
 
  ac_ct_CC=$CC
1918
 
  # Extract the first word of "gcc", so it can be a program name with args.
1919
 
set dummy gcc; ac_word=$2
1920
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1921
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1922
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1923
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1924
 
else
1925
 
  if test -n "$ac_ct_CC"; then
1926
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1927
 
else
1928
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1929
 
for as_dir in $PATH
1930
 
do
1931
 
  IFS=$as_save_IFS
1932
 
  test -z "$as_dir" && as_dir=.
1933
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1934
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1935
 
    ac_cv_prog_ac_ct_CC="gcc"
1936
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1937
 
    break 2
1938
 
  fi
1939
 
done
1940
 
done
1941
 
IFS=$as_save_IFS
1942
 
 
1943
 
fi
1944
 
fi
1945
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1946
 
if test -n "$ac_ct_CC"; then
1947
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1948
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
1949
 
else
1950
 
  { echo "$as_me:$LINENO: result: no" >&5
1951
 
echo "${ECHO_T}no" >&6; }
1952
 
fi
1953
 
 
1954
 
  if test "x$ac_ct_CC" = x; then
1955
 
    CC=""
1956
 
  else
1957
 
    case $cross_compiling:$ac_tool_warned in
1958
 
yes:)
1959
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1960
 
whose name does not start with the host triplet.  If you think this
1961
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
1962
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1963
 
whose name does not start with the host triplet.  If you think this
1964
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1965
 
ac_tool_warned=yes ;;
1966
 
esac
1967
 
    CC=$ac_ct_CC
1968
 
  fi
1969
 
else
1970
 
  CC="$ac_cv_prog_CC"
1971
 
fi
1972
 
 
1973
 
if test -z "$CC"; then
1974
 
          if test -n "$ac_tool_prefix"; then
1975
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1976
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
1977
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1978
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1979
 
if test "${ac_cv_prog_CC+set}" = set; then
1980
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1981
 
else
1982
 
  if test -n "$CC"; then
1983
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
1984
 
else
1985
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1986
 
for as_dir in $PATH
1987
 
do
1988
 
  IFS=$as_save_IFS
1989
 
  test -z "$as_dir" && as_dir=.
1990
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1991
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1992
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
1993
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1994
 
    break 2
1995
 
  fi
1996
 
done
1997
 
done
1998
 
IFS=$as_save_IFS
1999
 
 
2000
 
fi
2001
 
fi
2002
 
CC=$ac_cv_prog_CC
2003
 
if test -n "$CC"; then
2004
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2005
 
echo "${ECHO_T}$CC" >&6; }
2006
 
else
2007
 
  { echo "$as_me:$LINENO: result: no" >&5
2008
 
echo "${ECHO_T}no" >&6; }
2009
 
fi
2010
 
 
2011
 
 
2012
 
  fi
2013
 
fi
2014
 
if test -z "$CC"; then
2015
 
  # Extract the first word of "cc", so it can be a program name with args.
2016
 
set dummy cc; ac_word=$2
2017
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2018
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2019
 
if test "${ac_cv_prog_CC+set}" = set; then
2020
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2021
 
else
2022
 
  if test -n "$CC"; then
2023
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2024
 
else
2025
 
  ac_prog_rejected=no
2026
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2027
 
for as_dir in $PATH
2028
 
do
2029
 
  IFS=$as_save_IFS
2030
 
  test -z "$as_dir" && as_dir=.
2031
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2032
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2033
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2034
 
       ac_prog_rejected=yes
2035
 
       continue
2036
 
     fi
2037
 
    ac_cv_prog_CC="cc"
2038
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2039
 
    break 2
2040
 
  fi
2041
 
done
2042
 
done
2043
 
IFS=$as_save_IFS
2044
 
 
2045
 
if test $ac_prog_rejected = yes; then
2046
 
  # We found a bogon in the path, so make sure we never use it.
2047
 
  set dummy $ac_cv_prog_CC
2048
 
  shift
2049
 
  if test $# != 0; then
2050
 
    # We chose a different compiler from the bogus one.
2051
 
    # However, it has the same basename, so the bogon will be chosen
2052
 
    # first if we set CC to just the basename; use the full file name.
2053
 
    shift
2054
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2055
 
  fi
2056
 
fi
2057
 
fi
2058
 
fi
2059
 
CC=$ac_cv_prog_CC
2060
 
if test -n "$CC"; then
2061
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2062
 
echo "${ECHO_T}$CC" >&6; }
2063
 
else
2064
 
  { echo "$as_me:$LINENO: result: no" >&5
2065
 
echo "${ECHO_T}no" >&6; }
2066
 
fi
2067
 
 
2068
 
 
2069
 
fi
2070
 
if test -z "$CC"; then
2071
 
  if test -n "$ac_tool_prefix"; then
2072
 
  for ac_prog in cl.exe
2073
 
  do
2074
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2075
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2076
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2077
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2078
 
if test "${ac_cv_prog_CC+set}" = set; then
2079
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2080
 
else
2081
 
  if test -n "$CC"; then
2082
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2083
 
else
2084
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2085
 
for as_dir in $PATH
2086
 
do
2087
 
  IFS=$as_save_IFS
2088
 
  test -z "$as_dir" && as_dir=.
2089
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2090
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2091
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2092
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2093
 
    break 2
2094
 
  fi
2095
 
done
2096
 
done
2097
 
IFS=$as_save_IFS
2098
 
 
2099
 
fi
2100
 
fi
2101
 
CC=$ac_cv_prog_CC
2102
 
if test -n "$CC"; then
2103
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2104
 
echo "${ECHO_T}$CC" >&6; }
2105
 
else
2106
 
  { echo "$as_me:$LINENO: result: no" >&5
2107
 
echo "${ECHO_T}no" >&6; }
2108
 
fi
2109
 
 
2110
 
 
2111
 
    test -n "$CC" && break
2112
 
  done
2113
 
fi
2114
 
if test -z "$CC"; then
2115
 
  ac_ct_CC=$CC
2116
 
  for ac_prog in cl.exe
2117
 
do
2118
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2119
 
set dummy $ac_prog; ac_word=$2
2120
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2121
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2122
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2123
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2124
 
else
2125
 
  if test -n "$ac_ct_CC"; then
2126
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2127
 
else
2128
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2129
 
for as_dir in $PATH
2130
 
do
2131
 
  IFS=$as_save_IFS
2132
 
  test -z "$as_dir" && as_dir=.
2133
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2134
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2135
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
2136
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2137
 
    break 2
2138
 
  fi
2139
 
done
2140
 
done
2141
 
IFS=$as_save_IFS
2142
 
 
2143
 
fi
2144
 
fi
2145
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2146
 
if test -n "$ac_ct_CC"; then
2147
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2148
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
2149
 
else
2150
 
  { echo "$as_me:$LINENO: result: no" >&5
2151
 
echo "${ECHO_T}no" >&6; }
2152
 
fi
2153
 
 
2154
 
 
2155
 
  test -n "$ac_ct_CC" && break
2156
 
done
2157
 
 
2158
 
  if test "x$ac_ct_CC" = x; then
2159
 
    CC=""
2160
 
  else
2161
 
    case $cross_compiling:$ac_tool_warned in
2162
 
yes:)
2163
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2164
 
whose name does not start with the host triplet.  If you think this
2165
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2166
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2167
 
whose name does not start with the host triplet.  If you think this
2168
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2169
 
ac_tool_warned=yes ;;
2170
 
esac
2171
 
    CC=$ac_ct_CC
2172
 
  fi
2173
 
fi
2174
 
 
2175
 
fi
2176
 
 
2177
 
 
2178
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2179
 
See \`config.log' for more details." >&5
2180
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
2181
 
See \`config.log' for more details." >&2;}
2182
 
   { (exit 1); exit 1; }; }
2183
 
 
2184
 
# Provide some information about the compiler.
2185
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
2186
 
ac_compiler=`set X $ac_compile; echo $2`
2187
 
{ (ac_try="$ac_compiler --version >&5"
2188
 
case "(($ac_try" in
2189
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2190
 
  *) ac_try_echo=$ac_try;;
2191
 
esac
2192
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2193
 
  (eval "$ac_compiler --version >&5") 2>&5
2194
 
  ac_status=$?
2195
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2196
 
  (exit $ac_status); }
2197
 
{ (ac_try="$ac_compiler -v >&5"
2198
 
case "(($ac_try" in
2199
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2200
 
  *) ac_try_echo=$ac_try;;
2201
 
esac
2202
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2203
 
  (eval "$ac_compiler -v >&5") 2>&5
2204
 
  ac_status=$?
2205
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2206
 
  (exit $ac_status); }
2207
 
{ (ac_try="$ac_compiler -V >&5"
2208
 
case "(($ac_try" in
2209
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2210
 
  *) ac_try_echo=$ac_try;;
2211
 
esac
2212
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2213
 
  (eval "$ac_compiler -V >&5") 2>&5
2214
 
  ac_status=$?
2215
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216
 
  (exit $ac_status); }
2217
 
 
2218
 
cat >conftest.$ac_ext <<_ACEOF
2219
 
/* confdefs.h.  */
2220
 
_ACEOF
2221
 
cat confdefs.h >>conftest.$ac_ext
2222
 
cat >>conftest.$ac_ext <<_ACEOF
2223
 
/* end confdefs.h.  */
2224
 
 
2225
 
int
2226
 
main ()
2227
 
{
2228
 
 
2229
 
  ;
2230
 
  return 0;
2231
 
}
2232
 
_ACEOF
2233
 
ac_clean_files_save=$ac_clean_files
2234
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2235
 
# Try to create an executable without -o first, disregard a.out.
2236
 
# It will help us diagnose broken compilers, and finding out an intuition
2237
 
# of exeext.
2238
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2239
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2240
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2241
 
#
2242
 
# List of possible output files, starting from the most likely.
2243
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2244
 
# only as a last resort.  b.out is created by i960 compilers.
2245
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2246
 
#
2247
 
# The IRIX 6 linker writes into existing files which may not be
2248
 
# executable, retaining their permissions.  Remove them first so a
2249
 
# subsequent execution test works.
2250
 
ac_rmfiles=
2251
 
for ac_file in $ac_files
2252
 
do
2253
 
  case $ac_file in
2254
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2255
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2256
 
  esac
2257
 
done
2258
 
rm -f $ac_rmfiles
2259
 
 
2260
 
if { (ac_try="$ac_link_default"
2261
 
case "(($ac_try" in
2262
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2263
 
  *) ac_try_echo=$ac_try;;
2264
 
esac
2265
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2266
 
  (eval "$ac_link_default") 2>&5
2267
 
  ac_status=$?
2268
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2269
 
  (exit $ac_status); }; then
2270
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2271
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2272
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2273
 
# so that the user can short-circuit this test for compilers unknown to
2274
 
# Autoconf.
2275
 
for ac_file in $ac_files ''
2276
 
do
2277
 
  test -f "$ac_file" || continue
2278
 
  case $ac_file in
2279
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2280
 
        ;;
2281
 
    [ab].out )
2282
 
        # We found the default executable, but exeext='' is most
2283
 
        # certainly right.
2284
 
        break;;
2285
 
    *.* )
2286
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2287
 
        then :; else
2288
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2289
 
        fi
2290
 
        # We set ac_cv_exeext here because the later test for it is not
2291
 
        # safe: cross compilers may not add the suffix if given an `-o'
2292
 
        # argument, so we may need to know it at that point already.
2293
 
        # Even if this section looks crufty: it has the advantage of
2294
 
        # actually working.
2295
 
        break;;
2296
 
    * )
2297
 
        break;;
2298
 
  esac
2299
 
done
2300
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
2301
 
 
2302
 
else
2303
 
  ac_file=''
2304
 
fi
2305
 
 
2306
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2307
 
echo "${ECHO_T}$ac_file" >&6; }
2308
 
if test -z "$ac_file"; then
2309
 
  echo "$as_me: failed program was:" >&5
2310
 
sed 's/^/| /' conftest.$ac_ext >&5
2311
 
 
2312
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2313
 
See \`config.log' for more details." >&5
2314
 
echo "$as_me: error: C compiler cannot create executables
2315
 
See \`config.log' for more details." >&2;}
2316
 
   { (exit 77); exit 77; }; }
2317
 
fi
2318
 
 
2319
 
ac_exeext=$ac_cv_exeext
2320
 
 
2321
 
# Check that the compiler produces executables we can run.  If not, either
2322
 
# the compiler is broken, or we cross compile.
2323
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2324
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2325
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2326
 
# If not cross compiling, check that we can run a simple program.
2327
 
if test "$cross_compiling" != yes; then
2328
 
  if { ac_try='./$ac_file'
2329
 
  { (case "(($ac_try" in
2330
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2331
 
  *) ac_try_echo=$ac_try;;
2332
 
esac
2333
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2334
 
  (eval "$ac_try") 2>&5
2335
 
  ac_status=$?
2336
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2337
 
  (exit $ac_status); }; }; then
2338
 
    cross_compiling=no
2339
 
  else
2340
 
    if test "$cross_compiling" = maybe; then
2341
 
        cross_compiling=yes
2342
 
    else
2343
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2344
 
If you meant to cross compile, use \`--host'.
2345
 
See \`config.log' for more details." >&5
2346
 
echo "$as_me: error: cannot run C compiled programs.
2347
 
If you meant to cross compile, use \`--host'.
2348
 
See \`config.log' for more details." >&2;}
2349
 
   { (exit 1); exit 1; }; }
2350
 
    fi
2351
 
  fi
2352
 
fi
2353
 
{ echo "$as_me:$LINENO: result: yes" >&5
2354
 
echo "${ECHO_T}yes" >&6; }
2355
 
 
2356
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2357
 
ac_clean_files=$ac_clean_files_save
2358
 
# Check that the compiler produces executables we can run.  If not, either
2359
 
# the compiler is broken, or we cross compile.
2360
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2361
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2362
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2363
 
echo "${ECHO_T}$cross_compiling" >&6; }
2364
 
 
2365
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2366
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2367
 
if { (ac_try="$ac_link"
2368
 
case "(($ac_try" in
2369
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2370
 
  *) ac_try_echo=$ac_try;;
2371
 
esac
2372
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2373
 
  (eval "$ac_link") 2>&5
2374
 
  ac_status=$?
2375
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376
 
  (exit $ac_status); }; then
2377
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2378
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2379
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
2380
 
# `rm'.
2381
 
for ac_file in conftest.exe conftest conftest.*; do
2382
 
  test -f "$ac_file" || continue
2383
 
  case $ac_file in
2384
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2385
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2386
 
          break;;
2387
 
    * ) break;;
2388
 
  esac
2389
 
done
2390
 
else
2391
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2392
 
See \`config.log' for more details." >&5
2393
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2394
 
See \`config.log' for more details." >&2;}
2395
 
   { (exit 1); exit 1; }; }
2396
 
fi
2397
 
 
2398
 
rm -f conftest$ac_cv_exeext
2399
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2400
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2401
 
 
2402
 
rm -f conftest.$ac_ext
2403
 
EXEEXT=$ac_cv_exeext
2404
 
ac_exeext=$EXEEXT
2405
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2406
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2407
 
if test "${ac_cv_objext+set}" = set; then
2408
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2409
 
else
2410
 
  cat >conftest.$ac_ext <<_ACEOF
2411
 
/* confdefs.h.  */
2412
 
_ACEOF
2413
 
cat confdefs.h >>conftest.$ac_ext
2414
 
cat >>conftest.$ac_ext <<_ACEOF
2415
 
/* end confdefs.h.  */
2416
 
 
2417
 
int
2418
 
main ()
2419
 
{
2420
 
 
2421
 
  ;
2422
 
  return 0;
2423
 
}
2424
 
_ACEOF
2425
 
rm -f conftest.o conftest.obj
2426
 
if { (ac_try="$ac_compile"
2427
 
case "(($ac_try" in
2428
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2429
 
  *) ac_try_echo=$ac_try;;
2430
 
esac
2431
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2432
 
  (eval "$ac_compile") 2>&5
2433
 
  ac_status=$?
2434
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435
 
  (exit $ac_status); }; then
2436
 
  for ac_file in conftest.o conftest.obj conftest.*; do
2437
 
  test -f "$ac_file" || continue;
2438
 
  case $ac_file in
2439
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2440
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2441
 
       break;;
2442
 
  esac
2443
 
done
2444
 
else
2445
 
  echo "$as_me: failed program was:" >&5
2446
 
sed 's/^/| /' conftest.$ac_ext >&5
2447
 
 
2448
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2449
 
See \`config.log' for more details." >&5
2450
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2451
 
See \`config.log' for more details." >&2;}
2452
 
   { (exit 1); exit 1; }; }
2453
 
fi
2454
 
 
2455
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2456
 
fi
2457
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2458
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
2459
 
OBJEXT=$ac_cv_objext
2460
 
ac_objext=$OBJEXT
2461
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2462
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2463
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2464
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2465
 
else
2466
 
  cat >conftest.$ac_ext <<_ACEOF
2467
 
/* confdefs.h.  */
2468
 
_ACEOF
2469
 
cat confdefs.h >>conftest.$ac_ext
2470
 
cat >>conftest.$ac_ext <<_ACEOF
2471
 
/* end confdefs.h.  */
2472
 
 
2473
 
int
2474
 
main ()
2475
 
{
2476
 
#ifndef __GNUC__
2477
 
       choke me
2478
 
#endif
2479
 
 
2480
 
  ;
2481
 
  return 0;
2482
 
}
2483
 
_ACEOF
2484
 
rm -f conftest.$ac_objext
2485
 
if { (ac_try="$ac_compile"
2486
 
case "(($ac_try" in
2487
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2488
 
  *) ac_try_echo=$ac_try;;
2489
 
esac
2490
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2491
 
  (eval "$ac_compile") 2>conftest.er1
2492
 
  ac_status=$?
2493
 
  grep -v '^ *+' conftest.er1 >conftest.err
2494
 
  rm -f conftest.er1
2495
 
  cat conftest.err >&5
2496
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497
 
  (exit $ac_status); } &&
2498
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2499
 
  { (case "(($ac_try" in
2500
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2501
 
  *) ac_try_echo=$ac_try;;
2502
 
esac
2503
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2504
 
  (eval "$ac_try") 2>&5
2505
 
  ac_status=$?
2506
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507
 
  (exit $ac_status); }; } &&
2508
 
         { ac_try='test -s conftest.$ac_objext'
2509
 
  { (case "(($ac_try" in
2510
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2511
 
  *) ac_try_echo=$ac_try;;
2512
 
esac
2513
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2514
 
  (eval "$ac_try") 2>&5
2515
 
  ac_status=$?
2516
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2517
 
  (exit $ac_status); }; }; then
2518
 
  ac_compiler_gnu=yes
2519
 
else
2520
 
  echo "$as_me: failed program was:" >&5
2521
 
sed 's/^/| /' conftest.$ac_ext >&5
2522
 
 
2523
 
        ac_compiler_gnu=no
2524
 
fi
2525
 
 
2526
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2527
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2528
 
 
2529
 
fi
2530
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2531
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2532
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
2533
 
ac_test_CFLAGS=${CFLAGS+set}
2534
 
ac_save_CFLAGS=$CFLAGS
2535
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2536
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2537
 
if test "${ac_cv_prog_cc_g+set}" = set; then
2538
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2539
 
else
2540
 
  ac_save_c_werror_flag=$ac_c_werror_flag
2541
 
   ac_c_werror_flag=yes
2542
 
   ac_cv_prog_cc_g=no
2543
 
   CFLAGS="-g"
2544
 
   cat >conftest.$ac_ext <<_ACEOF
2545
 
/* confdefs.h.  */
2546
 
_ACEOF
2547
 
cat confdefs.h >>conftest.$ac_ext
2548
 
cat >>conftest.$ac_ext <<_ACEOF
2549
 
/* end confdefs.h.  */
2550
 
 
2551
 
int
2552
 
main ()
2553
 
{
2554
 
 
2555
 
  ;
2556
 
  return 0;
2557
 
}
2558
 
_ACEOF
2559
 
rm -f conftest.$ac_objext
2560
 
if { (ac_try="$ac_compile"
2561
 
case "(($ac_try" in
2562
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2563
 
  *) ac_try_echo=$ac_try;;
2564
 
esac
2565
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2566
 
  (eval "$ac_compile") 2>conftest.er1
2567
 
  ac_status=$?
2568
 
  grep -v '^ *+' conftest.er1 >conftest.err
2569
 
  rm -f conftest.er1
2570
 
  cat conftest.err >&5
2571
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572
 
  (exit $ac_status); } &&
2573
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2574
 
  { (case "(($ac_try" in
2575
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2576
 
  *) ac_try_echo=$ac_try;;
2577
 
esac
2578
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2579
 
  (eval "$ac_try") 2>&5
2580
 
  ac_status=$?
2581
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2582
 
  (exit $ac_status); }; } &&
2583
 
         { ac_try='test -s conftest.$ac_objext'
2584
 
  { (case "(($ac_try" in
2585
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2586
 
  *) ac_try_echo=$ac_try;;
2587
 
esac
2588
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2589
 
  (eval "$ac_try") 2>&5
2590
 
  ac_status=$?
2591
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592
 
  (exit $ac_status); }; }; then
2593
 
  ac_cv_prog_cc_g=yes
2594
 
else
2595
 
  echo "$as_me: failed program was:" >&5
2596
 
sed 's/^/| /' conftest.$ac_ext >&5
2597
 
 
2598
 
        CFLAGS=""
2599
 
      cat >conftest.$ac_ext <<_ACEOF
2600
 
/* confdefs.h.  */
2601
 
_ACEOF
2602
 
cat confdefs.h >>conftest.$ac_ext
2603
 
cat >>conftest.$ac_ext <<_ACEOF
2604
 
/* end confdefs.h.  */
2605
 
 
2606
 
int
2607
 
main ()
2608
 
{
2609
 
 
2610
 
  ;
2611
 
  return 0;
2612
 
}
2613
 
_ACEOF
2614
 
rm -f conftest.$ac_objext
2615
 
if { (ac_try="$ac_compile"
2616
 
case "(($ac_try" in
2617
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2618
 
  *) ac_try_echo=$ac_try;;
2619
 
esac
2620
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2621
 
  (eval "$ac_compile") 2>conftest.er1
2622
 
  ac_status=$?
2623
 
  grep -v '^ *+' conftest.er1 >conftest.err
2624
 
  rm -f conftest.er1
2625
 
  cat conftest.err >&5
2626
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2627
 
  (exit $ac_status); } &&
2628
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2629
 
  { (case "(($ac_try" in
2630
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2631
 
  *) ac_try_echo=$ac_try;;
2632
 
esac
2633
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2634
 
  (eval "$ac_try") 2>&5
2635
 
  ac_status=$?
2636
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637
 
  (exit $ac_status); }; } &&
2638
 
         { ac_try='test -s conftest.$ac_objext'
2639
 
  { (case "(($ac_try" in
2640
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2641
 
  *) ac_try_echo=$ac_try;;
2642
 
esac
2643
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2644
 
  (eval "$ac_try") 2>&5
2645
 
  ac_status=$?
2646
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647
 
  (exit $ac_status); }; }; then
2648
 
  :
2649
 
else
2650
 
  echo "$as_me: failed program was:" >&5
2651
 
sed 's/^/| /' conftest.$ac_ext >&5
2652
 
 
2653
 
        ac_c_werror_flag=$ac_save_c_werror_flag
2654
 
         CFLAGS="-g"
2655
 
         cat >conftest.$ac_ext <<_ACEOF
2656
 
/* confdefs.h.  */
2657
 
_ACEOF
2658
 
cat confdefs.h >>conftest.$ac_ext
2659
 
cat >>conftest.$ac_ext <<_ACEOF
2660
 
/* end confdefs.h.  */
2661
 
 
2662
 
int
2663
 
main ()
2664
 
{
2665
 
 
2666
 
  ;
2667
 
  return 0;
2668
 
}
2669
 
_ACEOF
2670
 
rm -f conftest.$ac_objext
2671
 
if { (ac_try="$ac_compile"
2672
 
case "(($ac_try" in
2673
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2674
 
  *) ac_try_echo=$ac_try;;
2675
 
esac
2676
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2677
 
  (eval "$ac_compile") 2>conftest.er1
2678
 
  ac_status=$?
2679
 
  grep -v '^ *+' conftest.er1 >conftest.err
2680
 
  rm -f conftest.er1
2681
 
  cat conftest.err >&5
2682
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683
 
  (exit $ac_status); } &&
2684
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2685
 
  { (case "(($ac_try" in
2686
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2687
 
  *) ac_try_echo=$ac_try;;
2688
 
esac
2689
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2690
 
  (eval "$ac_try") 2>&5
2691
 
  ac_status=$?
2692
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693
 
  (exit $ac_status); }; } &&
2694
 
         { ac_try='test -s conftest.$ac_objext'
2695
 
  { (case "(($ac_try" in
2696
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2697
 
  *) ac_try_echo=$ac_try;;
2698
 
esac
2699
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2700
 
  (eval "$ac_try") 2>&5
2701
 
  ac_status=$?
2702
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703
 
  (exit $ac_status); }; }; then
2704
 
  ac_cv_prog_cc_g=yes
2705
 
else
2706
 
  echo "$as_me: failed program was:" >&5
2707
 
sed 's/^/| /' conftest.$ac_ext >&5
2708
 
 
2709
 
 
2710
 
fi
2711
 
 
2712
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2713
 
fi
2714
 
 
2715
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2716
 
fi
2717
 
 
2718
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2719
 
   ac_c_werror_flag=$ac_save_c_werror_flag
2720
 
fi
2721
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2722
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2723
 
if test "$ac_test_CFLAGS" = set; then
2724
 
  CFLAGS=$ac_save_CFLAGS
2725
 
elif test $ac_cv_prog_cc_g = yes; then
2726
 
  if test "$GCC" = yes; then
2727
 
    CFLAGS="-g -O2"
2728
 
  else
2729
 
    CFLAGS="-g"
2730
 
  fi
2731
 
else
2732
 
  if test "$GCC" = yes; then
2733
 
    CFLAGS="-O2"
2734
 
  else
2735
 
    CFLAGS=
2736
 
  fi
2737
 
fi
2738
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2739
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2740
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
2741
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2742
 
else
2743
 
  ac_cv_prog_cc_c89=no
2744
 
ac_save_CC=$CC
2745
 
cat >conftest.$ac_ext <<_ACEOF
2746
 
/* confdefs.h.  */
2747
 
_ACEOF
2748
 
cat confdefs.h >>conftest.$ac_ext
2749
 
cat >>conftest.$ac_ext <<_ACEOF
2750
 
/* end confdefs.h.  */
2751
 
#include <stdarg.h>
2752
 
#include <stdio.h>
2753
 
#include <sys/types.h>
2754
 
#include <sys/stat.h>
2755
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2756
 
struct buf { int x; };
2757
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2758
 
static char *e (p, i)
2759
 
     char **p;
2760
 
     int i;
2761
 
{
2762
 
  return p[i];
2763
 
}
2764
 
static char *f (char * (*g) (char **, int), char **p, ...)
2765
 
{
2766
 
  char *s;
2767
 
  va_list v;
2768
 
  va_start (v,p);
2769
 
  s = g (p, va_arg (v,int));
2770
 
  va_end (v);
2771
 
  return s;
2772
 
}
2773
 
 
2774
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2775
 
   function prototypes and stuff, but not '\xHH' hex character constants.
2776
 
   These don't provoke an error unfortunately, instead are silently treated
2777
 
   as 'x'.  The following induces an error, until -std is added to get
2778
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2779
 
   array size at least.  It's necessary to write '\x00'==0 to get something
2780
 
   that's true only with -std.  */
2781
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2782
 
 
2783
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2784
 
   inside strings and character constants.  */
2785
 
#define FOO(x) 'x'
2786
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2787
 
 
2788
 
int test (int i, double x);
2789
 
struct s1 {int (*f) (int a);};
2790
 
struct s2 {int (*f) (double a);};
2791
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2792
 
int argc;
2793
 
char **argv;
2794
 
int
2795
 
main ()
2796
 
{
2797
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2798
 
  ;
2799
 
  return 0;
2800
 
}
2801
 
_ACEOF
2802
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2803
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2804
 
do
2805
 
  CC="$ac_save_CC $ac_arg"
2806
 
  rm -f conftest.$ac_objext
2807
 
if { (ac_try="$ac_compile"
2808
 
case "(($ac_try" in
2809
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2810
 
  *) ac_try_echo=$ac_try;;
2811
 
esac
2812
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2813
 
  (eval "$ac_compile") 2>conftest.er1
2814
 
  ac_status=$?
2815
 
  grep -v '^ *+' conftest.er1 >conftest.err
2816
 
  rm -f conftest.er1
2817
 
  cat conftest.err >&5
2818
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819
 
  (exit $ac_status); } &&
2820
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2821
 
  { (case "(($ac_try" in
2822
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2823
 
  *) ac_try_echo=$ac_try;;
2824
 
esac
2825
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2826
 
  (eval "$ac_try") 2>&5
2827
 
  ac_status=$?
2828
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829
 
  (exit $ac_status); }; } &&
2830
 
         { ac_try='test -s conftest.$ac_objext'
2831
 
  { (case "(($ac_try" in
2832
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2833
 
  *) ac_try_echo=$ac_try;;
2834
 
esac
2835
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2836
 
  (eval "$ac_try") 2>&5
2837
 
  ac_status=$?
2838
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839
 
  (exit $ac_status); }; }; then
2840
 
  ac_cv_prog_cc_c89=$ac_arg
2841
 
else
2842
 
  echo "$as_me: failed program was:" >&5
2843
 
sed 's/^/| /' conftest.$ac_ext >&5
2844
 
 
2845
 
 
2846
 
fi
2847
 
 
2848
 
rm -f core conftest.err conftest.$ac_objext
2849
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2850
 
done
2851
 
rm -f conftest.$ac_ext
2852
 
CC=$ac_save_CC
2853
 
 
2854
 
fi
2855
 
# AC_CACHE_VAL
2856
 
case "x$ac_cv_prog_cc_c89" in
2857
 
  x)
2858
 
    { echo "$as_me:$LINENO: result: none needed" >&5
2859
 
echo "${ECHO_T}none needed" >&6; } ;;
2860
 
  xno)
2861
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
2862
 
echo "${ECHO_T}unsupported" >&6; } ;;
2863
 
  *)
2864
 
    CC="$CC $ac_cv_prog_cc_c89"
2865
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2866
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2867
 
esac
2868
 
 
2869
 
 
2870
 
ac_ext=c
2871
 
ac_cpp='$CPP $CPPFLAGS'
2872
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2873
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2874
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2875
 
 
2876
 
ac_ext=c
2877
 
ac_cpp='$CPP $CPPFLAGS'
2878
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2879
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2880
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2881
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2882
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2883
 
# On Suns, sometimes $CPP names a directory.
2884
 
if test -n "$CPP" && test -d "$CPP"; then
2885
 
  CPP=
2886
 
fi
2887
 
if test -z "$CPP"; then
2888
 
  if test "${ac_cv_prog_CPP+set}" = set; then
2889
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2890
 
else
2891
 
      # Double quotes because CPP needs to be expanded
2892
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2893
 
    do
2894
 
      ac_preproc_ok=false
2895
 
for ac_c_preproc_warn_flag in '' yes
2896
 
do
2897
 
  # Use a header file that comes with gcc, so configuring glibc
2898
 
  # with a fresh cross-compiler works.
2899
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2900
 
  # <limits.h> exists even on freestanding compilers.
2901
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
2902
 
  # not just through cpp. "Syntax error" is here to catch this case.
2903
 
  cat >conftest.$ac_ext <<_ACEOF
2904
 
/* confdefs.h.  */
2905
 
_ACEOF
2906
 
cat confdefs.h >>conftest.$ac_ext
2907
 
cat >>conftest.$ac_ext <<_ACEOF
2908
 
/* end confdefs.h.  */
2909
 
#ifdef __STDC__
2910
 
# include <limits.h>
2911
 
#else
2912
 
# include <assert.h>
2913
 
#endif
2914
 
                     Syntax error
2915
 
_ACEOF
2916
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
2917
 
case "(($ac_try" in
2918
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2919
 
  *) ac_try_echo=$ac_try;;
2920
 
esac
2921
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2922
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2923
 
  ac_status=$?
2924
 
  grep -v '^ *+' conftest.er1 >conftest.err
2925
 
  rm -f conftest.er1
2926
 
  cat conftest.err >&5
2927
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928
 
  (exit $ac_status); } >/dev/null; then
2929
 
  if test -s conftest.err; then
2930
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2931
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2932
 
  else
2933
 
    ac_cpp_err=
2934
 
  fi
2935
 
else
2936
 
  ac_cpp_err=yes
2937
 
fi
2938
 
if test -z "$ac_cpp_err"; then
2939
 
  :
2940
 
else
2941
 
  echo "$as_me: failed program was:" >&5
2942
 
sed 's/^/| /' conftest.$ac_ext >&5
2943
 
 
2944
 
  # Broken: fails on valid input.
2945
 
continue
2946
 
fi
2947
 
 
2948
 
rm -f conftest.err conftest.$ac_ext
2949
 
 
2950
 
  # OK, works on sane cases.  Now check whether nonexistent headers
2951
 
  # can be detected and how.
2952
 
  cat >conftest.$ac_ext <<_ACEOF
2953
 
/* confdefs.h.  */
2954
 
_ACEOF
2955
 
cat confdefs.h >>conftest.$ac_ext
2956
 
cat >>conftest.$ac_ext <<_ACEOF
2957
 
/* end confdefs.h.  */
2958
 
#include <ac_nonexistent.h>
2959
 
_ACEOF
2960
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
2961
 
case "(($ac_try" in
2962
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2963
 
  *) ac_try_echo=$ac_try;;
2964
 
esac
2965
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2966
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2967
 
  ac_status=$?
2968
 
  grep -v '^ *+' conftest.er1 >conftest.err
2969
 
  rm -f conftest.er1
2970
 
  cat conftest.err >&5
2971
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972
 
  (exit $ac_status); } >/dev/null; then
2973
 
  if test -s conftest.err; then
2974
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2975
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2976
 
  else
2977
 
    ac_cpp_err=
2978
 
  fi
2979
 
else
2980
 
  ac_cpp_err=yes
2981
 
fi
2982
 
if test -z "$ac_cpp_err"; then
2983
 
  # Broken: success on invalid input.
2984
 
continue
2985
 
else
2986
 
  echo "$as_me: failed program was:" >&5
2987
 
sed 's/^/| /' conftest.$ac_ext >&5
2988
 
 
2989
 
  # Passes both tests.
2990
 
ac_preproc_ok=:
2991
 
break
2992
 
fi
2993
 
 
2994
 
rm -f conftest.err conftest.$ac_ext
2995
 
 
2996
 
done
2997
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2998
 
rm -f conftest.err conftest.$ac_ext
2999
 
if $ac_preproc_ok; then
3000
 
  break
3001
 
fi
3002
 
 
3003
 
    done
3004
 
    ac_cv_prog_CPP=$CPP
3005
 
 
3006
 
fi
3007
 
  CPP=$ac_cv_prog_CPP
3008
 
else
3009
 
  ac_cv_prog_CPP=$CPP
3010
 
fi
3011
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
3012
 
echo "${ECHO_T}$CPP" >&6; }
3013
 
ac_preproc_ok=false
3014
 
for ac_c_preproc_warn_flag in '' yes
3015
 
do
3016
 
  # Use a header file that comes with gcc, so configuring glibc
3017
 
  # with a fresh cross-compiler works.
3018
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3019
 
  # <limits.h> exists even on freestanding compilers.
3020
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
3021
 
  # not just through cpp. "Syntax error" is here to catch this case.
3022
 
  cat >conftest.$ac_ext <<_ACEOF
3023
 
/* confdefs.h.  */
3024
 
_ACEOF
3025
 
cat confdefs.h >>conftest.$ac_ext
3026
 
cat >>conftest.$ac_ext <<_ACEOF
3027
 
/* end confdefs.h.  */
3028
 
#ifdef __STDC__
3029
 
# include <limits.h>
3030
 
#else
3031
 
# include <assert.h>
3032
 
#endif
3033
 
                     Syntax error
3034
 
_ACEOF
3035
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3036
 
case "(($ac_try" in
3037
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3038
 
  *) ac_try_echo=$ac_try;;
3039
 
esac
3040
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3041
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3042
 
  ac_status=$?
3043
 
  grep -v '^ *+' conftest.er1 >conftest.err
3044
 
  rm -f conftest.er1
3045
 
  cat conftest.err >&5
3046
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047
 
  (exit $ac_status); } >/dev/null; then
3048
 
  if test -s conftest.err; then
3049
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3050
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3051
 
  else
3052
 
    ac_cpp_err=
3053
 
  fi
3054
 
else
3055
 
  ac_cpp_err=yes
3056
 
fi
3057
 
if test -z "$ac_cpp_err"; then
3058
 
  :
3059
 
else
3060
 
  echo "$as_me: failed program was:" >&5
3061
 
sed 's/^/| /' conftest.$ac_ext >&5
3062
 
 
3063
 
  # Broken: fails on valid input.
3064
 
continue
3065
 
fi
3066
 
 
3067
 
rm -f conftest.err conftest.$ac_ext
3068
 
 
3069
 
  # OK, works on sane cases.  Now check whether nonexistent headers
3070
 
  # can be detected and how.
3071
 
  cat >conftest.$ac_ext <<_ACEOF
3072
 
/* confdefs.h.  */
3073
 
_ACEOF
3074
 
cat confdefs.h >>conftest.$ac_ext
3075
 
cat >>conftest.$ac_ext <<_ACEOF
3076
 
/* end confdefs.h.  */
3077
 
#include <ac_nonexistent.h>
3078
 
_ACEOF
3079
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3080
 
case "(($ac_try" in
3081
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3082
 
  *) ac_try_echo=$ac_try;;
3083
 
esac
3084
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3085
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3086
 
  ac_status=$?
3087
 
  grep -v '^ *+' conftest.er1 >conftest.err
3088
 
  rm -f conftest.er1
3089
 
  cat conftest.err >&5
3090
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3091
 
  (exit $ac_status); } >/dev/null; then
3092
 
  if test -s conftest.err; then
3093
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3094
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3095
 
  else
3096
 
    ac_cpp_err=
3097
 
  fi
3098
 
else
3099
 
  ac_cpp_err=yes
3100
 
fi
3101
 
if test -z "$ac_cpp_err"; then
3102
 
  # Broken: success on invalid input.
3103
 
continue
3104
 
else
3105
 
  echo "$as_me: failed program was:" >&5
3106
 
sed 's/^/| /' conftest.$ac_ext >&5
3107
 
 
3108
 
  # Passes both tests.
3109
 
ac_preproc_ok=:
3110
 
break
3111
 
fi
3112
 
 
3113
 
rm -f conftest.err conftest.$ac_ext
3114
 
 
3115
 
done
3116
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3117
 
rm -f conftest.err conftest.$ac_ext
3118
 
if $ac_preproc_ok; then
3119
 
  :
3120
 
else
3121
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3122
 
See \`config.log' for more details." >&5
3123
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3124
 
See \`config.log' for more details." >&2;}
3125
 
   { (exit 1); exit 1; }; }
3126
 
fi
3127
 
 
3128
 
ac_ext=c
3129
 
ac_cpp='$CPP $CPPFLAGS'
3130
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3131
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3132
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3133
 
 
3134
 
 
3135
 
 
3136
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3137
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3138
 
if test "${ac_cv_path_GREP+set}" = set; then
3139
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3140
 
else
3141
 
  # Extract the first word of "grep ggrep" to use in msg output
3142
 
if test -z "$GREP"; then
3143
 
set dummy grep ggrep; ac_prog_name=$2
3144
 
if test "${ac_cv_path_GREP+set}" = set; then
3145
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3146
 
else
3147
 
  ac_path_GREP_found=false
3148
 
# Loop through the user's path and test for each of PROGNAME-LIST
3149
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3150
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3151
 
do
3152
 
  IFS=$as_save_IFS
3153
 
  test -z "$as_dir" && as_dir=.
3154
 
  for ac_prog in grep ggrep; do
3155
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3156
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3157
 
    { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
3158
 
    # Check for GNU ac_path_GREP and select it if it is found.
3159
 
  # Check for GNU $ac_path_GREP
3160
 
case `"$ac_path_GREP" --version 2>&1` in
3161
 
*GNU*)
3162
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3163
 
*)
3164
 
  ac_count=0
3165
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3166
 
  while :
3167
 
  do
3168
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3169
 
    mv "conftest.tmp" "conftest.in"
3170
 
    cp "conftest.in" "conftest.nl"
3171
 
    echo 'GREP' >> "conftest.nl"
3172
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3173
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3174
 
    ac_count=`expr $ac_count + 1`
3175
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3176
 
      # Best one so far, save it but keep looking for a better one
3177
 
      ac_cv_path_GREP="$ac_path_GREP"
3178
 
      ac_path_GREP_max=$ac_count
3179
 
    fi
3180
 
    # 10*(2^10) chars as input seems more than enough
3181
 
    test $ac_count -gt 10 && break
3182
 
  done
3183
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3184
 
esac
3185
 
 
3186
 
 
3187
 
    $ac_path_GREP_found && break 3
3188
 
  done
3189
 
done
3190
 
 
3191
 
done
3192
 
IFS=$as_save_IFS
3193
 
 
3194
 
 
3195
 
fi
3196
 
 
3197
 
GREP="$ac_cv_path_GREP"
3198
 
if test -z "$GREP"; then
3199
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3200
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3201
 
   { (exit 1); exit 1; }; }
3202
 
fi
3203
 
 
3204
 
else
3205
 
  ac_cv_path_GREP=$GREP
3206
 
fi
3207
 
 
3208
 
 
3209
 
fi
3210
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3211
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3212
 
 GREP="$ac_cv_path_GREP"
3213
 
 
3214
 
 
3215
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
3216
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3217
 
if test "${ac_cv_path_EGREP+set}" = set; then
3218
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3219
 
else
3220
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3221
 
   then ac_cv_path_EGREP="$GREP -E"
3222
 
   else
3223
 
     # Extract the first word of "egrep" to use in msg output
3224
 
if test -z "$EGREP"; then
3225
 
set dummy egrep; ac_prog_name=$2
3226
 
if test "${ac_cv_path_EGREP+set}" = set; then
3227
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3228
 
else
3229
 
  ac_path_EGREP_found=false
3230
 
# Loop through the user's path and test for each of PROGNAME-LIST
3231
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3232
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3233
 
do
3234
 
  IFS=$as_save_IFS
3235
 
  test -z "$as_dir" && as_dir=.
3236
 
  for ac_prog in egrep; do
3237
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3238
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3239
 
    { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
3240
 
    # Check for GNU ac_path_EGREP and select it if it is found.
3241
 
  # Check for GNU $ac_path_EGREP
3242
 
case `"$ac_path_EGREP" --version 2>&1` in
3243
 
*GNU*)
3244
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3245
 
*)
3246
 
  ac_count=0
3247
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3248
 
  while :
3249
 
  do
3250
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3251
 
    mv "conftest.tmp" "conftest.in"
3252
 
    cp "conftest.in" "conftest.nl"
3253
 
    echo 'EGREP' >> "conftest.nl"
3254
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3255
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3256
 
    ac_count=`expr $ac_count + 1`
3257
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3258
 
      # Best one so far, save it but keep looking for a better one
3259
 
      ac_cv_path_EGREP="$ac_path_EGREP"
3260
 
      ac_path_EGREP_max=$ac_count
3261
 
    fi
3262
 
    # 10*(2^10) chars as input seems more than enough
3263
 
    test $ac_count -gt 10 && break
3264
 
  done
3265
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3266
 
esac
3267
 
 
3268
 
 
3269
 
    $ac_path_EGREP_found && break 3
3270
 
  done
3271
 
done
3272
 
 
3273
 
done
3274
 
IFS=$as_save_IFS
3275
 
 
3276
 
 
3277
 
fi
3278
 
 
3279
 
EGREP="$ac_cv_path_EGREP"
3280
 
if test -z "$EGREP"; then
3281
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3282
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3283
 
   { (exit 1); exit 1; }; }
3284
 
fi
3285
 
 
3286
 
else
3287
 
  ac_cv_path_EGREP=$EGREP
3288
 
fi
3289
 
 
3290
 
 
3291
 
   fi
3292
 
fi
3293
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3294
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3295
 
 EGREP="$ac_cv_path_EGREP"
3296
 
 
3297
 
 
3298
 
if test $ac_cv_c_compiler_gnu = yes; then
3299
 
    { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3300
 
echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
3301
 
if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3302
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3303
 
else
3304
 
    ac_pattern="Autoconf.*'x'"
3305
 
  cat >conftest.$ac_ext <<_ACEOF
3306
 
/* confdefs.h.  */
3307
 
_ACEOF
3308
 
cat confdefs.h >>conftest.$ac_ext
3309
 
cat >>conftest.$ac_ext <<_ACEOF
3310
 
/* end confdefs.h.  */
3311
 
#include <sgtty.h>
3312
 
Autoconf TIOCGETP
3313
 
_ACEOF
3314
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3315
 
  $EGREP "$ac_pattern" >/dev/null 2>&1; then
3316
 
  ac_cv_prog_gcc_traditional=yes
3317
 
else
3318
 
  ac_cv_prog_gcc_traditional=no
3319
 
fi
3320
 
rm -f conftest*
3321
 
 
3322
 
 
3323
 
  if test $ac_cv_prog_gcc_traditional = no; then
3324
 
    cat >conftest.$ac_ext <<_ACEOF
3325
 
/* confdefs.h.  */
3326
 
_ACEOF
3327
 
cat confdefs.h >>conftest.$ac_ext
3328
 
cat >>conftest.$ac_ext <<_ACEOF
3329
 
/* end confdefs.h.  */
3330
 
#include <termio.h>
3331
 
Autoconf TCGETA
3332
 
_ACEOF
3333
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3334
 
  $EGREP "$ac_pattern" >/dev/null 2>&1; then
3335
 
  ac_cv_prog_gcc_traditional=yes
3336
 
fi
3337
 
rm -f conftest*
3338
 
 
3339
 
  fi
3340
 
fi
3341
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3342
 
echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
3343
 
  if test $ac_cv_prog_gcc_traditional = yes; then
3344
 
    CC="$CC -traditional"
3345
 
  fi
3346
 
fi
3347
 
 
3348
 
 
3349
 
{ echo "$as_me:$LINENO: checking whether using GNU C" >&5
3350
 
echo $ECHO_N "checking whether using GNU C... $ECHO_C" >&6; }
3351
 
if test "${cl_cv_prog_cc_gcc+set}" = set; then
3352
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3353
 
else
3354
 
 
3355
 
cat >conftest.$ac_ext <<_ACEOF
3356
 
/* confdefs.h.  */
3357
 
_ACEOF
3358
 
cat confdefs.h >>conftest.$ac_ext
3359
 
cat >>conftest.$ac_ext <<_ACEOF
3360
 
/* end confdefs.h.  */
3361
 
#ifdef __GNUC__
3362
 
  yes
3363
 
#endif
3364
 
 
3365
 
_ACEOF
3366
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3367
 
  $EGREP "yes" >/dev/null 2>&1; then
3368
 
  cl_cv_prog_cc_gcc=yes
3369
 
else
3370
 
  cl_cv_prog_cc_gcc=no
3371
 
fi
3372
 
rm -f conftest*
3373
 
 
3374
 
 
3375
 
fi
3376
 
{ echo "$as_me:$LINENO: result: $cl_cv_prog_cc_gcc" >&5
3377
 
echo "${ECHO_T}$cl_cv_prog_cc_gcc" >&6; }
3378
 
if test $cl_cv_prog_cc_gcc = yes; then
3379
 
  CC_GCC=true
3380
 
  GCC_X_NONE='-x none'
3381
 
else
3382
 
  CC_GCC=false
3383
 
  GCC_X_NONE=''
3384
 
fi
3385
 
 
3386
 
# Extract the first word of "ranlib", so it can be a program name with args.
3387
 
set dummy ranlib; ac_word=$2
3388
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3389
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3390
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
3391
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3392
 
else
3393
 
  if test -n "$RANLIB"; then
3394
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3395
 
else
3396
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3397
 
for as_dir in $PATH
3398
 
do
3399
 
  IFS=$as_save_IFS
3400
 
  test -z "$as_dir" && as_dir=.
3401
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3402
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3403
 
    ac_cv_prog_RANLIB="ranlib"
3404
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3405
 
    break 2
3406
 
  fi
3407
 
done
3408
 
done
3409
 
IFS=$as_save_IFS
3410
 
 
3411
 
  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="true"
3412
 
fi
3413
 
fi
3414
 
RANLIB=$ac_cv_prog_RANLIB
3415
 
if test -n "$RANLIB"; then
3416
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
3417
 
echo "${ECHO_T}$RANLIB" >&6; }
3418
 
else
3419
 
  { echo "$as_me:$LINENO: result: no" >&5
3420
 
echo "${ECHO_T}no" >&6; }
3421
 
fi
3422
 
 
3423
 
 
3424
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3425
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3426
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3427
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3428
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3429
 
else
3430
 
  cat >conftest.make <<\_ACEOF
3431
 
SHELL = /bin/sh
3432
 
all:
3433
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
3434
 
_ACEOF
3435
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3436
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3437
 
  *@@@%%%=?*=@@@%%%*)
3438
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
3439
 
  *)
3440
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
3441
 
esac
3442
 
rm -f conftest.make
3443
 
fi
3444
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3445
 
  { echo "$as_me:$LINENO: result: yes" >&5
3446
 
echo "${ECHO_T}yes" >&6; }
3447
 
  SET_MAKE=
3448
 
else
3449
 
  { echo "$as_me:$LINENO: result: no" >&5
3450
 
echo "${ECHO_T}no" >&6; }
3451
 
  SET_MAKE="MAKE=${MAKE-make}"
3452
 
fi
3453
 
 
3454
 
# Find a good install program.  We prefer a C program (faster),
3455
 
# so one script is as good as another.  But avoid the broken or
3456
 
# incompatible versions:
3457
 
# SysV /etc/install, /usr/sbin/install
3458
 
# SunOS /usr/etc/install
3459
 
# IRIX /sbin/install
3460
 
# AIX /bin/install
3461
 
# AFS /usr/afsws/bin/install, which mis-handles nonexistent args
3462
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3463
 
# ./install, which can be erroneously created by make from ./install.sh.
3464
 
{ echo "$as_me:$LINENO: checking for a BSD compatible install" >&5
3465
 
echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6; }
3466
 
if test -z "$INSTALL"; then
3467
 
if test "${cl_cv_path_install+set}" = set; then
3468
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3469
 
else
3470
 
    IFS="${IFS=         }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
3471
 
  for ac_dir in $PATH; do
3472
 
    # Account for people who put trailing slashes in PATH elements.
3473
 
    case "$ac_dir/" in
3474
 
    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
3475
 
    *)
3476
 
      # OSF1 and SCO ODT 3.0 have their own names for install.
3477
 
      # Don't use installbsd from OSF since it installs stuff as root
3478
 
      # by default.
3479
 
      for ac_prog in ginstall scoinst install; do
3480
 
        if test -f $ac_dir/$ac_prog; then
3481
 
          if test $ac_prog = install &&
3482
 
            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
3483
 
            # AIX install.  It has an incompatible calling convention.
3484
 
            :
3485
 
          else
3486
 
            cl_cv_path_install="$ac_dir/$ac_prog -c"
3487
 
            break 2
3488
 
          fi
3489
 
        fi
3490
 
      done
3491
 
      ;;
3492
 
    esac
3493
 
  done
3494
 
  IFS="$ac_save_ifs"
3495
 
  # As a last resort, use the absolute pathname of cp.
3496
 
  if test -z "$cl_cv_path_install"; then
3497
 
    cl_cv_path_install="cp"
3498
 
    IFS="${IFS=         }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
3499
 
    for ac_dir in $PATH; do
3500
 
      if test -f $ac_dir/cp; then
3501
 
        cl_cv_path_install="$ac_dir/cp"
3502
 
        break
3503
 
      fi
3504
 
    done
3505
 
    IFS="$ac_save_ifs"
3506
 
  fi
3507
 
 
3508
 
fi
3509
 
  INSTALL="$cl_cv_path_install"
3510
 
fi
3511
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3512
 
echo "${ECHO_T}$INSTALL" >&6; }
3513
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3514
 
# It thinks the first close brace ends the variable substitution.
3515
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='$(INSTALL)'
3516
 
if test -z "$INSTALL_DATA"; then
3517
 
  case "$INSTALL" in
3518
 
    cp | */cp ) INSTALL_DATA='$(INSTALL)' ;;
3519
 
    * )         INSTALL_DATA='$(INSTALL) -m 644' ;;
3520
 
  esac
3521
 
fi
3522
 
 
3523
 
{ echo "$as_me:$LINENO: checking how to copy files" >&5
3524
 
echo $ECHO_N "checking how to copy files... $ECHO_C" >&6; }
3525
 
if test "${cl_cv_prog_cp+set}" = set; then
3526
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3527
 
else
3528
 
 
3529
 
echo "blabla" > conftest.x
3530
 
err=`/bin/sh -c "cp -p conftest.x conftest.y 2>&1"`
3531
 
if test -z "$err"; then
3532
 
  cl_cv_prog_cp='cp -p'
3533
 
else
3534
 
  cl_cv_prog_cp='cp'
3535
 
fi
3536
 
rm -f conftest*
3537
 
 
3538
 
fi
3539
 
{ echo "$as_me:$LINENO: result: $cl_cv_prog_cp" >&5
3540
 
echo "${ECHO_T}$cl_cv_prog_cp" >&6; }
3541
 
CP="$cl_cv_prog_cp"
3542
 
 
3543
 
{ echo "$as_me:$LINENO: checking how to make hard links" >&5
3544
 
echo $ECHO_N "checking how to make hard links... $ECHO_C" >&6; }
3545
 
if test "${cl_cv_prog_LN+set}" = set; then
3546
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3547
 
else
3548
 
 
3549
 
rm -f conftestdata conftestfile
3550
 
echo data > conftestfile
3551
 
if ln conftestfile conftestdata 2>/dev/null; then
3552
 
  cl_cv_prog_LN=ln
3553
 
else
3554
 
  cl_cv_prog_LN="$cl_cv_prog_cp"
3555
 
fi
3556
 
rm -f conftestdata conftestfile
3557
 
 
3558
 
fi
3559
 
{ echo "$as_me:$LINENO: result: $cl_cv_prog_LN" >&5
3560
 
echo "${ECHO_T}$cl_cv_prog_LN" >&6; }
3561
 
LN="$cl_cv_prog_LN"
3562
 
 
3563
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
3564
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3565
 
if test "${cl_cv_prog_LN_S+set}" = set; then
3566
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3567
 
else
3568
 
 
3569
 
rm -f conftestdata
3570
 
if ln -s X conftestdata 2>/dev/null; then
3571
 
  cl_cv_prog_LN_S="ln -s"
3572
 
else
3573
 
  cl_cv_prog_LN_S="$cl_cv_prog_LN"
3574
 
fi
3575
 
rm -f conftestdata
3576
 
 
3577
 
fi
3578
 
if test "$cl_cv_prog_LN_S" = "ln -s"; then
3579
 
  { echo "$as_me:$LINENO: result: yes" >&5
3580
 
echo "${ECHO_T}yes" >&6; }
3581
 
else
3582
 
  { echo "$as_me:$LINENO: result: no" >&5
3583
 
echo "${ECHO_T}no" >&6; }
3584
 
fi
3585
 
LN_S="$cl_cv_prog_LN_S"
3586
 
 
3587
 
 ac_aux_dir=${srcdir}/../build-aux
3588
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
3589
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
3590
 
# Make sure we can run config.sub.
3591
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3592
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3593
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3594
 
   { (exit 1); exit 1; }; }
3595
 
 
3596
 
{ echo "$as_me:$LINENO: checking build system type" >&5
3597
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3598
 
if test "${ac_cv_build+set}" = set; then
3599
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3600
 
else
3601
 
  ac_build_alias=$build_alias
3602
 
test "x$ac_build_alias" = x &&
3603
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3604
 
test "x$ac_build_alias" = x &&
3605
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3606
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3607
 
   { (exit 1); exit 1; }; }
3608
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3609
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3610
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3611
 
   { (exit 1); exit 1; }; }
3612
 
 
3613
 
fi
3614
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3615
 
echo "${ECHO_T}$ac_cv_build" >&6; }
3616
 
case $ac_cv_build in
3617
 
*-*-*) ;;
3618
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3619
 
echo "$as_me: error: invalid value of canonical build" >&2;}
3620
 
   { (exit 1); exit 1; }; };;
3621
 
esac
3622
 
build=$ac_cv_build
3623
 
ac_save_IFS=$IFS; IFS='-'
3624
 
set x $ac_cv_build
3625
 
shift
3626
 
build_cpu=$1
3627
 
build_vendor=$2
3628
 
shift; shift
3629
 
# Remember, the first character of IFS is used to create $*,
3630
 
# except with old shells:
3631
 
build_os=$*
3632
 
IFS=$ac_save_IFS
3633
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3634
 
 
3635
 
 
3636
 
{ echo "$as_me:$LINENO: checking host system type" >&5
3637
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3638
 
if test "${ac_cv_host+set}" = set; then
3639
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3640
 
else
3641
 
  if test "x$host_alias" = x; then
3642
 
  ac_cv_host=$ac_cv_build
3643
 
else
3644
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3645
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3646
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3647
 
   { (exit 1); exit 1; }; }
3648
 
fi
3649
 
 
3650
 
fi
3651
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3652
 
echo "${ECHO_T}$ac_cv_host" >&6; }
3653
 
case $ac_cv_host in
3654
 
*-*-*) ;;
3655
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3656
 
echo "$as_me: error: invalid value of canonical host" >&2;}
3657
 
   { (exit 1); exit 1; }; };;
3658
 
esac
3659
 
host=$ac_cv_host
3660
 
ac_save_IFS=$IFS; IFS='-'
3661
 
set x $ac_cv_host
3662
 
shift
3663
 
host_cpu=$1
3664
 
host_vendor=$2
3665
 
shift; shift
3666
 
# Remember, the first character of IFS is used to create $*,
3667
 
# except with old shells:
3668
 
host_os=$*
3669
 
IFS=$ac_save_IFS
3670
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3671
 
 
3672
 
 
3673
 
 
3674
 
 
3675
 
case "$host_cpu" in
3676
 
  i[4567]86 )
3677
 
    host_cpu_abi=i386
3678
 
    ;;
3679
 
  alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] )
3680
 
    host_cpu_abi=alpha
3681
 
    ;;
3682
 
  hppa1.0 | hppa1.1 | hppa2.0* | hppa64 )
3683
 
    host_cpu_abi=hppa
3684
 
    ;;
3685
 
  rs6000 )
3686
 
    host_cpu_abi=powerpc
3687
 
    ;;
3688
 
  c1 | c2 | c32 | c34 | c38 | c4 )
3689
 
    host_cpu_abi=convex
3690
 
    ;;
3691
 
  arm* )
3692
 
    host_cpu_abi=arm
3693
 
    ;;
3694
 
  mips* )
3695
 
    { echo "$as_me:$LINENO: checking for 64-bit MIPS" >&5
3696
 
echo $ECHO_N "checking for 64-bit MIPS... $ECHO_C" >&6; }
3697
 
if test "${cl_cv_host_mips64+set}" = set; then
3698
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3699
 
else
3700
 
 
3701
 
cat >conftest.$ac_ext <<_ACEOF
3702
 
/* confdefs.h.  */
3703
 
_ACEOF
3704
 
cat confdefs.h >>conftest.$ac_ext
3705
 
cat >>conftest.$ac_ext <<_ACEOF
3706
 
/* end confdefs.h.  */
3707
 
#if defined(_MIPS_SZLONG)
3708
 
#if (_MIPS_SZLONG == 64)
3709
 
/* We should also check for (_MIPS_SZPTR == 64), but gcc keeps this at 32. */
3710
 
  yes
3711
 
#endif
3712
 
#endif
3713
 
 
3714
 
_ACEOF
3715
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3716
 
  $EGREP "yes" >/dev/null 2>&1; then
3717
 
  cl_cv_host_mips64=yes
3718
 
else
3719
 
  cl_cv_host_mips64=no
3720
 
fi
3721
 
rm -f conftest*
3722
 
 
3723
 
 
3724
 
fi
3725
 
{ echo "$as_me:$LINENO: result: $cl_cv_host_mips64" >&5
3726
 
echo "${ECHO_T}$cl_cv_host_mips64" >&6; }
3727
 
if test $cl_cv_host_mips64 = yes; then
3728
 
  host_cpu_abi=mips64
3729
 
else
3730
 
  { echo "$as_me:$LINENO: checking for MIPS with n32 ABI" >&5
3731
 
echo $ECHO_N "checking for MIPS with n32 ABI... $ECHO_C" >&6; }
3732
 
if test "${cl_cv_host_mipsn32+set}" = set; then
3733
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3734
 
else
3735
 
 
3736
 
cat >conftest.$ac_ext <<_ACEOF
3737
 
/* confdefs.h.  */
3738
 
_ACEOF
3739
 
cat confdefs.h >>conftest.$ac_ext
3740
 
cat >>conftest.$ac_ext <<_ACEOF
3741
 
/* end confdefs.h.  */
3742
 
#if __mips >= 3
3743
 
  yes
3744
 
#endif
3745
 
 
3746
 
_ACEOF
3747
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3748
 
  $EGREP "yes" >/dev/null 2>&1; then
3749
 
  cl_cv_host_mipsn32=yes
3750
 
else
3751
 
  cl_cv_host_mipsn32=no
3752
 
fi
3753
 
rm -f conftest*
3754
 
 
3755
 
 
3756
 
fi
3757
 
{ echo "$as_me:$LINENO: result: $cl_cv_host_mipsn32" >&5
3758
 
echo "${ECHO_T}$cl_cv_host_mipsn32" >&6; }
3759
 
if test $cl_cv_host_mipsn32 = yes; then
3760
 
  host_cpu_abi=mipsn32
3761
 
else
3762
 
  host_cpu_abi=mips
3763
 
fi
3764
 
fi
3765
 
    ;;
3766
 
  powerpc64 )
3767
 
    { echo "$as_me:$LINENO: checking for 64-bit PowerPC" >&5
3768
 
echo $ECHO_N "checking for 64-bit PowerPC... $ECHO_C" >&6; }
3769
 
if test "${cl_cv_host_powerpc64+set}" = set; then
3770
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3771
 
else
3772
 
 
3773
 
cat >conftest.$ac_ext <<_ACEOF
3774
 
/* confdefs.h.  */
3775
 
_ACEOF
3776
 
cat confdefs.h >>conftest.$ac_ext
3777
 
cat >>conftest.$ac_ext <<_ACEOF
3778
 
/* end confdefs.h.  */
3779
 
#if defined(__powerpc64__) || defined(_ARCH_PPC64)
3780
 
  yes
3781
 
#endif
3782
 
 
3783
 
_ACEOF
3784
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3785
 
  $EGREP "yes" >/dev/null 2>&1; then
3786
 
  cl_cv_host_powerpc64=yes
3787
 
else
3788
 
  cl_cv_host_powerpc64=no
3789
 
fi
3790
 
rm -f conftest*
3791
 
 
3792
 
 
3793
 
fi
3794
 
{ echo "$as_me:$LINENO: result: $cl_cv_host_powerpc64" >&5
3795
 
echo "${ECHO_T}$cl_cv_host_powerpc64" >&6; }
3796
 
if test $cl_cv_host_powerpc64 = yes; then
3797
 
  host_cpu_abi=powerpc64
3798
 
else
3799
 
  host_cpu_abi=powerpc
3800
 
fi
3801
 
    ;;
3802
 
  sparc | sparc64 )
3803
 
    { echo "$as_me:$LINENO: checking for 64-bit SPARC" >&5
3804
 
echo $ECHO_N "checking for 64-bit SPARC... $ECHO_C" >&6; }
3805
 
if test "${cl_cv_host_sparc64+set}" = set; then
3806
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3807
 
else
3808
 
 
3809
 
cat >conftest.$ac_ext <<_ACEOF
3810
 
/* confdefs.h.  */
3811
 
_ACEOF
3812
 
cat confdefs.h >>conftest.$ac_ext
3813
 
cat >>conftest.$ac_ext <<_ACEOF
3814
 
/* end confdefs.h.  */
3815
 
#if defined(__sparcv9) || defined(__arch64__)
3816
 
  yes
3817
 
#endif
3818
 
 
3819
 
_ACEOF
3820
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3821
 
  $EGREP "yes" >/dev/null 2>&1; then
3822
 
  cl_cv_host_sparc64=yes
3823
 
else
3824
 
  cl_cv_host_sparc64=no
3825
 
fi
3826
 
rm -f conftest*
3827
 
 
3828
 
 
3829
 
fi
3830
 
{ echo "$as_me:$LINENO: result: $cl_cv_host_sparc64" >&5
3831
 
echo "${ECHO_T}$cl_cv_host_sparc64" >&6; }
3832
 
if test $cl_cv_host_sparc64 = yes; then
3833
 
  host_cpu_abi=sparc64
3834
 
else
3835
 
  host_cpu_abi=sparc
3836
 
fi
3837
 
    ;;
3838
 
  x86_64 )
3839
 
    { echo "$as_me:$LINENO: checking for 64-bit x86_64" >&5
3840
 
echo $ECHO_N "checking for 64-bit x86_64... $ECHO_C" >&6; }
3841
 
if test "${cl_cv_host_x86_64+set}" = set; then
3842
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3843
 
else
3844
 
 
3845
 
cat >conftest.$ac_ext <<_ACEOF
3846
 
/* confdefs.h.  */
3847
 
_ACEOF
3848
 
cat confdefs.h >>conftest.$ac_ext
3849
 
cat >>conftest.$ac_ext <<_ACEOF
3850
 
/* end confdefs.h.  */
3851
 
#if defined(__LP64__) || defined(__x86_64__) || defined(__amd64__)
3852
 
  yes
3853
 
#endif
3854
 
 
3855
 
_ACEOF
3856
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3857
 
  $EGREP "yes" >/dev/null 2>&1; then
3858
 
  cl_cv_host_x86_64=yes
3859
 
else
3860
 
  cl_cv_host_x86_64=no
3861
 
fi
3862
 
rm -f conftest*
3863
 
 
3864
 
 
3865
 
fi
3866
 
{ echo "$as_me:$LINENO: result: $cl_cv_host_x86_64" >&5
3867
 
echo "${ECHO_T}$cl_cv_host_x86_64" >&6; }
3868
 
if test $cl_cv_host_x86_64 = yes; then
3869
 
  host_cpu_abi=x86_64
3870
 
else
3871
 
  host_cpu_abi=i386
3872
 
fi
3873
 
    ;;
3874
 
  *)
3875
 
    host_cpu_abi=$host_cpu
3876
 
    ;;
3877
 
esac
3878
 
 
3879
 
cat >> confdefs.h <<EOF
3880
 
#ifndef __${host_cpu_abi}__
3881
 
#define __${host_cpu_abi}__ 1
3882
 
#endif
3883
 
EOF
3884
 
 
3885
 
PACKAGE=callback
3886
 
# Check whether --enable-shared was given.
3887
 
if test "${enable_shared+set}" = set; then
3888
 
  enableval=$enable_shared; p=${PACKAGE-default}
3889
 
    case $enableval in
3890
 
    yes) enable_shared=yes ;;
3891
 
    no) enable_shared=no ;;
3892
 
    *)
3893
 
      enable_shared=no
3894
 
      # Look at the argument we got.  We use all the common list separators.
3895
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3896
 
      for pkg in $enableval; do
3897
 
        IFS="$lt_save_ifs"
3898
 
        if test "X$pkg" = "X$p"; then
3899
 
          enable_shared=yes
3900
 
        fi
3901
 
      done
3902
 
      IFS="$lt_save_ifs"
3903
 
      ;;
3904
 
    esac
3905
 
else
3906
 
  enable_shared=no
3907
 
fi
3908
 
 
3909
 
 
3910
 
 
3911
 
# Check whether --enable-static was given.
3912
 
if test "${enable_static+set}" = set; then
3913
 
  enableval=$enable_static; p=${PACKAGE-default}
3914
 
    case $enableval in
3915
 
    yes) enable_static=yes ;;
3916
 
    no) enable_static=no ;;
3917
 
    *)
3918
 
     enable_static=no
3919
 
      # Look at the argument we got.  We use all the common list separators.
3920
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3921
 
      for pkg in $enableval; do
3922
 
        IFS="$lt_save_ifs"
3923
 
        if test "X$pkg" = "X$p"; then
3924
 
          enable_static=yes
3925
 
        fi
3926
 
      done
3927
 
      IFS="$lt_save_ifs"
3928
 
      ;;
3929
 
    esac
3930
 
else
3931
 
  enable_static=yes
3932
 
fi
3933
 
 
3934
 
 
3935
 
# Check whether --enable-fast-install was given.
3936
 
if test "${enable_fast_install+set}" = set; then
3937
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
3938
 
    case $enableval in
3939
 
    yes) enable_fast_install=yes ;;
3940
 
    no) enable_fast_install=no ;;
3941
 
    *)
3942
 
      enable_fast_install=no
3943
 
      # Look at the argument we got.  We use all the common list separators.
3944
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3945
 
      for pkg in $enableval; do
3946
 
        IFS="$lt_save_ifs"
3947
 
        if test "X$pkg" = "X$p"; then
3948
 
          enable_fast_install=yes
3949
 
        fi
3950
 
      done
3951
 
      IFS="$lt_save_ifs"
3952
 
      ;;
3953
 
    esac
3954
 
else
3955
 
  enable_fast_install=yes
3956
 
fi
3957
 
 
3958
 
 
3959
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3960
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3961
 
if test "${lt_cv_path_SED+set}" = set; then
3962
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3963
 
else
3964
 
  # Loop through the user's path and test for sed and gsed.
3965
 
# Then use that list of sed's as ones to test for truncation.
3966
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3967
 
for as_dir in $PATH
3968
 
do
3969
 
  IFS=$as_save_IFS
3970
 
  test -z "$as_dir" && as_dir=.
3971
 
  for lt_ac_prog in sed gsed; do
3972
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3973
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3974
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3975
 
      fi
3976
 
    done
3977
 
  done
3978
 
done
3979
 
lt_ac_max=0
3980
 
lt_ac_count=0
3981
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
3982
 
# along with /bin/sed that truncates output.
3983
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3984
 
  test ! -f $lt_ac_sed && continue
3985
 
  cat /dev/null > conftest.in
3986
 
  lt_ac_count=0
3987
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3988
 
  # Check for GNU sed and select it if it is found.
3989
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3990
 
    lt_cv_path_SED=$lt_ac_sed
3991
 
    break
3992
 
  fi
3993
 
  while true; do
3994
 
    cat conftest.in conftest.in >conftest.tmp
3995
 
    mv conftest.tmp conftest.in
3996
 
    cp conftest.in conftest.nl
3997
 
    echo >>conftest.nl
3998
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3999
 
    cmp -s conftest.out conftest.nl || break
4000
 
    # 10000 chars as input seems more than enough
4001
 
    test $lt_ac_count -gt 10 && break
4002
 
    lt_ac_count=`expr $lt_ac_count + 1`
4003
 
    if test $lt_ac_count -gt $lt_ac_max; then
4004
 
      lt_ac_max=$lt_ac_count
4005
 
      lt_cv_path_SED=$lt_ac_sed
4006
 
    fi
4007
 
  done
4008
 
done
4009
 
 
4010
 
fi
4011
 
 
4012
 
SED=$lt_cv_path_SED
4013
 
{ echo "$as_me:$LINENO: result: $SED" >&5
4014
 
echo "${ECHO_T}$SED" >&6; }
4015
 
 
4016
 
 
4017
 
# Check whether --with-gnu-ld was given.
4018
 
if test "${with_gnu_ld+set}" = set; then
4019
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4020
 
else
4021
 
  with_gnu_ld=no
4022
 
fi
4023
 
 
4024
 
ac_prog=ld
4025
 
if test "$GCC" = yes; then
4026
 
  # Check if gcc -print-prog-name=ld gives a path.
4027
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4028
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4029
 
  case $host in
4030
 
  *-*-mingw*)
4031
 
    # gcc leaves a trailing carriage return which upsets mingw
4032
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4033
 
  *)
4034
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4035
 
  esac
4036
 
  case $ac_prog in
4037
 
    # Accept absolute paths.
4038
 
    [\\/]* | ?:[\\/]*)
4039
 
      re_direlt='/[^/][^/]*/\.\./'
4040
 
      # Canonicalize the pathname of ld
4041
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4042
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4043
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4044
 
      done
4045
 
      test -z "$LD" && LD="$ac_prog"
4046
 
      ;;
4047
 
  "")
4048
 
    # If it fails, then pretend we aren't using GCC.
4049
 
    ac_prog=ld
4050
 
    ;;
4051
 
  *)
4052
 
    # If it is relative, then search for the first ld in PATH.
4053
 
    with_gnu_ld=unknown
4054
 
    ;;
4055
 
  esac
4056
 
elif test "$with_gnu_ld" = yes; then
4057
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
4058
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4059
 
else
4060
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4061
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4062
 
fi
4063
 
if test "${lt_cv_path_LD+set}" = set; then
4064
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4065
 
else
4066
 
  if test -z "$LD"; then
4067
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4068
 
  for ac_dir in $PATH; do
4069
 
    IFS="$lt_save_ifs"
4070
 
    test -z "$ac_dir" && ac_dir=.
4071
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4072
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
4073
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
4074
 
      # but apparently some variants of GNU ld only accept -v.
4075
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
4076
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4077
 
      *GNU* | *'with BFD'*)
4078
 
        test "$with_gnu_ld" != no && break
4079
 
        ;;
4080
 
      *)
4081
 
        test "$with_gnu_ld" != yes && break
4082
 
        ;;
4083
 
      esac
4084
 
    fi
4085
 
  done
4086
 
  IFS="$lt_save_ifs"
4087
 
else
4088
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4089
 
fi
4090
 
fi
4091
 
 
4092
 
LD="$lt_cv_path_LD"
4093
 
if test -n "$LD"; then
4094
 
  { echo "$as_me:$LINENO: result: $LD" >&5
4095
 
echo "${ECHO_T}$LD" >&6; }
4096
 
else
4097
 
  { echo "$as_me:$LINENO: result: no" >&5
4098
 
echo "${ECHO_T}no" >&6; }
4099
 
fi
4100
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4101
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4102
 
   { (exit 1); exit 1; }; }
4103
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4104
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4105
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4106
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4107
 
else
4108
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4109
 
case `$LD -v 2>&1 </dev/null` in
4110
 
*GNU* | *'with BFD'*)
4111
 
  lt_cv_prog_gnu_ld=yes
4112
 
  ;;
4113
 
*)
4114
 
  lt_cv_prog_gnu_ld=no
4115
 
  ;;
4116
 
esac
4117
 
fi
4118
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4119
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4120
 
with_gnu_ld=$lt_cv_prog_gnu_ld
4121
 
 
4122
 
 
4123
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4124
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4125
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
4126
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4127
 
else
4128
 
  lt_cv_ld_reload_flag='-r'
4129
 
fi
4130
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4131
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4132
 
reload_flag=$lt_cv_ld_reload_flag
4133
 
case $reload_flag in
4134
 
"" | " "*) ;;
4135
 
*) reload_flag=" $reload_flag" ;;
4136
 
esac
4137
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4138
 
case $host_os in
4139
 
  darwin*)
4140
 
    if test "$GCC" = yes; then
4141
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4142
 
    else
4143
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4144
 
    fi
4145
 
    ;;
4146
 
esac
4147
 
 
4148
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4149
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4150
 
if test "${lt_cv_path_NM+set}" = set; then
4151
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4152
 
else
4153
 
  if test -n "$NM"; then
4154
 
  # Let the user override the test.
4155
 
  lt_cv_path_NM="$NM"
4156
 
else
4157
 
  lt_nm_to_check="${ac_tool_prefix}nm"
4158
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4159
 
    lt_nm_to_check="$lt_nm_to_check nm"
4160
 
  fi
4161
 
  for lt_tmp_nm in $lt_nm_to_check; do
4162
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4163
 
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4164
 
      IFS="$lt_save_ifs"
4165
 
      test -z "$ac_dir" && ac_dir=.
4166
 
      tmp_nm="$ac_dir/$lt_tmp_nm"
4167
 
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4168
 
        # Check to see if the nm accepts a BSD-compat flag.
4169
 
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4170
 
        #   nm: unknown option "B" ignored
4171
 
        # Tru64's nm complains that /dev/null is an invalid object file
4172
 
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4173
 
        */dev/null* | *'Invalid file or object type'*)
4174
 
          lt_cv_path_NM="$tmp_nm -B"
4175
 
          break
4176
 
          ;;
4177
 
        *)
4178
 
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4179
 
          */dev/null*)
4180
 
            lt_cv_path_NM="$tmp_nm -p"
4181
 
            break
4182
 
            ;;
4183
 
          *)
4184
 
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4185
 
            continue # so that we can try to find one that supports BSD flags
4186
 
            ;;
4187
 
          esac
4188
 
          ;;
4189
 
        esac
4190
 
      fi
4191
 
    done
4192
 
    IFS="$lt_save_ifs"
4193
 
  done
4194
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4195
 
fi
4196
 
fi
4197
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4198
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4199
 
NM="$lt_cv_path_NM"
4200
 
 
4201
 
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4202
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4203
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
4204
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4205
 
else
4206
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4207
 
lt_cv_file_magic_test_file=
4208
 
lt_cv_deplibs_check_method='unknown'
4209
 
# Need to set the preceding variable on all platforms that support
4210
 
# interlibrary dependencies.
4211
 
# 'none' -- dependencies not supported.
4212
 
# `unknown' -- same as none, but documents that we really don't know.
4213
 
# 'pass_all' -- all dependencies passed with no checks.
4214
 
# 'test_compile' -- check by making test program.
4215
 
# 'file_magic [[regex]]' -- check by looking for files in library path
4216
 
# which responds to the $file_magic_cmd with a given extended regex.
4217
 
# If you have `file' or equivalent on your system and you're not sure
4218
 
# whether `pass_all' will *always* work, you probably want this one.
4219
 
 
4220
 
case $host_os in
4221
 
aix4* | aix5*)
4222
 
  lt_cv_deplibs_check_method=pass_all
4223
 
  ;;
4224
 
 
4225
 
beos*)
4226
 
  lt_cv_deplibs_check_method=pass_all
4227
 
  ;;
4228
 
 
4229
 
bsdi[45]*)
4230
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4231
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
4232
 
  lt_cv_file_magic_test_file=/shlib/libc.so
4233
 
  ;;
4234
 
 
4235
 
cygwin*)
4236
 
  # func_win32_libid is a shell function defined in ltmain.sh
4237
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4238
 
  lt_cv_file_magic_cmd='func_win32_libid'
4239
 
  ;;
4240
 
 
4241
 
mingw* | pw32*)
4242
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
4243
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4244
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4245
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
4246
 
  ;;
4247
 
 
4248
 
darwin* | rhapsody*)
4249
 
  lt_cv_deplibs_check_method=pass_all
4250
 
  ;;
4251
 
 
4252
 
freebsd* | kfreebsd*-gnu | dragonfly*)
4253
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4254
 
    case $host_cpu in
4255
 
    i*86 )
4256
 
      # Not sure whether the presence of OpenBSD here was a mistake.
4257
 
      # Let's accept both of them until this is cleared up.
4258
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4259
 
      lt_cv_file_magic_cmd=/usr/bin/file
4260
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4261
 
      ;;
4262
 
    esac
4263
 
  else
4264
 
    lt_cv_deplibs_check_method=pass_all
4265
 
  fi
4266
 
  ;;
4267
 
 
4268
 
gnu*)
4269
 
  lt_cv_deplibs_check_method=pass_all
4270
 
  ;;
4271
 
 
4272
 
hpux10.20* | hpux11*)
4273
 
  lt_cv_file_magic_cmd=/usr/bin/file
4274
 
  case $host_cpu in
4275
 
  ia64*)
4276
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4277
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4278
 
    ;;
4279
 
  hppa*64*)
4280
 
    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]'
4281
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4282
 
    ;;
4283
 
  *)
4284
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4285
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
4286
 
    ;;
4287
 
  esac
4288
 
  ;;
4289
 
 
4290
 
interix3*)
4291
 
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4292
 
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4293
 
  ;;
4294
 
 
4295
 
irix5* | irix6* | nonstopux*)
4296
 
  case $LD in
4297
 
  *-32|*"-32 ") libmagic=32-bit;;
4298
 
  *-n32|*"-n32 ") libmagic=N32;;
4299
 
  *-64|*"-64 ") libmagic=64-bit;;
4300
 
  *) libmagic=never-match;;
4301
 
  esac
4302
 
  lt_cv_deplibs_check_method=pass_all
4303
 
  ;;
4304
 
 
4305
 
# This must be Linux ELF.
4306
 
linux*)
4307
 
  lt_cv_deplibs_check_method=pass_all
4308
 
  ;;
4309
 
 
4310
 
netbsd*)
4311
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4312
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4313
 
  else
4314
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4315
 
  fi
4316
 
  ;;
4317
 
 
4318
 
newos6*)
4319
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4320
 
  lt_cv_file_magic_cmd=/usr/bin/file
4321
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4322
 
  ;;
4323
 
 
4324
 
nto-qnx*)
4325
 
  lt_cv_deplibs_check_method=unknown
4326
 
  ;;
4327
 
 
4328
 
openbsd*)
4329
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4330
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4331
 
  else
4332
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4333
 
  fi
4334
 
  ;;
4335
 
 
4336
 
osf3* | osf4* | osf5*)
4337
 
  lt_cv_deplibs_check_method=pass_all
4338
 
  ;;
4339
 
 
4340
 
solaris*)
4341
 
  lt_cv_deplibs_check_method=pass_all
4342
 
  ;;
4343
 
 
4344
 
sysv4 | sysv4.3*)
4345
 
  case $host_vendor in
4346
 
  motorola)
4347
 
    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]'
4348
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4349
 
    ;;
4350
 
  ncr)
4351
 
    lt_cv_deplibs_check_method=pass_all
4352
 
    ;;
4353
 
  sequent)
4354
 
    lt_cv_file_magic_cmd='/bin/file'
4355
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4356
 
    ;;
4357
 
  sni)
4358
 
    lt_cv_file_magic_cmd='/bin/file'
4359
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4360
 
    lt_cv_file_magic_test_file=/lib/libc.so
4361
 
    ;;
4362
 
  siemens)
4363
 
    lt_cv_deplibs_check_method=pass_all
4364
 
    ;;
4365
 
  pc)
4366
 
    lt_cv_deplibs_check_method=pass_all
4367
 
    ;;
4368
 
  esac
4369
 
  ;;
4370
 
 
4371
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4372
 
  lt_cv_deplibs_check_method=pass_all
4373
 
  ;;
4374
 
esac
4375
 
 
4376
 
fi
4377
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4378
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4379
 
file_magic_cmd=$lt_cv_file_magic_cmd
4380
 
deplibs_check_method=$lt_cv_deplibs_check_method
4381
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4382
 
 
4383
 
 
4384
 
 
4385
 
 
4386
 
# If no C compiler was specified, use CC.
4387
 
LTCC=${LTCC-"$CC"}
4388
 
 
4389
 
# If no C compiler flags were specified, use CFLAGS.
4390
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4391
 
 
4392
 
# Allow CC to be a program name with arguments.
4393
 
compiler=$CC
4394
 
 
4395
 
# Check whether --enable-libtool-lock was given.
4396
 
if test "${enable_libtool_lock+set}" = set; then
4397
 
  enableval=$enable_libtool_lock;
4398
 
fi
4399
 
 
4400
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4401
 
 
4402
 
# Some flags need to be propagated to the compiler or linker for good
4403
 
# libtool support.
4404
 
case $host in
4405
 
ia64-*-hpux*)
4406
 
  # Find out which ABI we are using.
4407
 
  echo 'int i;' > conftest.$ac_ext
4408
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4409
 
  (eval $ac_compile) 2>&5
4410
 
  ac_status=$?
4411
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4412
 
  (exit $ac_status); }; then
4413
 
    case `/usr/bin/file conftest.$ac_objext` in
4414
 
    *ELF-32*)
4415
 
      HPUX_IA64_MODE="32"
4416
 
      ;;
4417
 
    *ELF-64*)
4418
 
      HPUX_IA64_MODE="64"
4419
 
      ;;
4420
 
    esac
4421
 
  fi
4422
 
  rm -rf conftest*
4423
 
  ;;
4424
 
*-*-irix6*)
4425
 
  # Find out which ABI we are using.
4426
 
  echo '#line 4426 "configure"' > conftest.$ac_ext
4427
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4428
 
  (eval $ac_compile) 2>&5
4429
 
  ac_status=$?
4430
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4431
 
  (exit $ac_status); }; then
4432
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
4433
 
    case `/usr/bin/file conftest.$ac_objext` in
4434
 
    *32-bit*)
4435
 
      LD="${LD-ld} -melf32bsmip"
4436
 
      ;;
4437
 
    *N32*)
4438
 
      LD="${LD-ld} -melf32bmipn32"
4439
 
      ;;
4440
 
    *64-bit*)
4441
 
      LD="${LD-ld} -melf64bmip"
4442
 
      ;;
4443
 
    esac
4444
 
   else
4445
 
    case `/usr/bin/file conftest.$ac_objext` in
4446
 
    *32-bit*)
4447
 
      LD="${LD-ld} -32"
4448
 
      ;;
4449
 
    *N32*)
4450
 
      LD="${LD-ld} -n32"
4451
 
      ;;
4452
 
    *64-bit*)
4453
 
      LD="${LD-ld} -64"
4454
 
      ;;
4455
 
    esac
4456
 
   fi
4457
 
  fi
4458
 
  rm -rf conftest*
4459
 
  ;;
4460
 
 
4461
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4462
 
  # Find out which ABI we are using.
4463
 
  echo 'int i;' > conftest.$ac_ext
4464
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4465
 
  (eval $ac_compile) 2>&5
4466
 
  ac_status=$?
4467
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468
 
  (exit $ac_status); }; then
4469
 
    case `/usr/bin/file conftest.o` in
4470
 
    *32-bit*)
4471
 
      case $host in
4472
 
        x86_64-*linux*)
4473
 
          LD="${LD-ld} -m elf_i386"
4474
 
          ;;
4475
 
        ppc64-*linux*|powerpc64-*linux*)
4476
 
          LD="${LD-ld} -m elf32ppclinux"
4477
 
          ;;
4478
 
        s390x-*linux*)
4479
 
          LD="${LD-ld} -m elf_s390"
4480
 
          ;;
4481
 
        sparc64-*linux*)
4482
 
          LD="${LD-ld} -m elf32_sparc"
4483
 
          ;;
4484
 
      esac
4485
 
      ;;
4486
 
    *64-bit*)
4487
 
      case $host in
4488
 
        x86_64-*linux*)
4489
 
          LD="${LD-ld} -m elf_x86_64"
4490
 
          ;;
4491
 
        ppc*-*linux*|powerpc*-*linux*)
4492
 
          LD="${LD-ld} -m elf64ppc"
4493
 
          ;;
4494
 
        s390*-*linux*)
4495
 
          LD="${LD-ld} -m elf64_s390"
4496
 
          ;;
4497
 
        sparc*-*linux*)
4498
 
          LD="${LD-ld} -m elf64_sparc"
4499
 
          ;;
4500
 
      esac
4501
 
      ;;
4502
 
    esac
4503
 
  fi
4504
 
  rm -rf conftest*
4505
 
  ;;
4506
 
 
4507
 
*-*-sco3.2v5*)
4508
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4509
 
  SAVE_CFLAGS="$CFLAGS"
4510
 
  CFLAGS="$CFLAGS -belf"
4511
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4512
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4513
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
4514
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4515
 
else
4516
 
  ac_ext=c
4517
 
ac_cpp='$CPP $CPPFLAGS'
4518
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4519
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4520
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4521
 
 
4522
 
     cat >conftest.$ac_ext <<_ACEOF
4523
 
/* confdefs.h.  */
4524
 
_ACEOF
4525
 
cat confdefs.h >>conftest.$ac_ext
4526
 
cat >>conftest.$ac_ext <<_ACEOF
4527
 
/* end confdefs.h.  */
4528
 
 
4529
 
int
4530
 
main ()
4531
 
{
4532
 
 
4533
 
  ;
4534
 
  return 0;
4535
 
}
4536
 
_ACEOF
4537
 
rm -f conftest.$ac_objext conftest$ac_exeext
4538
 
if { (ac_try="$ac_link"
4539
 
case "(($ac_try" in
4540
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4541
 
  *) ac_try_echo=$ac_try;;
4542
 
esac
4543
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4544
 
  (eval "$ac_link") 2>conftest.er1
4545
 
  ac_status=$?
4546
 
  grep -v '^ *+' conftest.er1 >conftest.err
4547
 
  rm -f conftest.er1
4548
 
  cat conftest.err >&5
4549
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4550
 
  (exit $ac_status); } &&
4551
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4552
 
  { (case "(($ac_try" in
4553
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4554
 
  *) ac_try_echo=$ac_try;;
4555
 
esac
4556
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4557
 
  (eval "$ac_try") 2>&5
4558
 
  ac_status=$?
4559
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4560
 
  (exit $ac_status); }; } &&
4561
 
         { ac_try='test -s conftest$ac_exeext'
4562
 
  { (case "(($ac_try" in
4563
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4564
 
  *) ac_try_echo=$ac_try;;
4565
 
esac
4566
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4567
 
  (eval "$ac_try") 2>&5
4568
 
  ac_status=$?
4569
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570
 
  (exit $ac_status); }; }; then
4571
 
  lt_cv_cc_needs_belf=yes
4572
 
else
4573
 
  echo "$as_me: failed program was:" >&5
4574
 
sed 's/^/| /' conftest.$ac_ext >&5
4575
 
 
4576
 
        lt_cv_cc_needs_belf=no
4577
 
fi
4578
 
 
4579
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4580
 
      conftest$ac_exeext conftest.$ac_ext
4581
 
     ac_ext=c
4582
 
ac_cpp='$CPP $CPPFLAGS'
4583
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4584
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4585
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4586
 
 
4587
 
fi
4588
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4589
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4590
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4591
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4592
 
    CFLAGS="$SAVE_CFLAGS"
4593
 
  fi
4594
 
  ;;
4595
 
sparc*-*solaris*)
4596
 
  # Find out which ABI we are using.
4597
 
  echo 'int i;' > conftest.$ac_ext
4598
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4599
 
  (eval $ac_compile) 2>&5
4600
 
  ac_status=$?
4601
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4602
 
  (exit $ac_status); }; then
4603
 
    case `/usr/bin/file conftest.o` in
4604
 
    *64-bit*)
4605
 
      case $lt_cv_prog_gnu_ld in
4606
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
4607
 
      *)    LD="${LD-ld} -64" ;;
4608
 
      esac
4609
 
      ;;
4610
 
    esac
4611
 
  fi
4612
 
  rm -rf conftest*
4613
 
  ;;
4614
 
 
4615
 
 
4616
 
esac
4617
 
 
4618
 
need_locks="$enable_libtool_lock"
4619
 
 
4620
 
 
4621
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4622
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4623
 
if test "${ac_cv_header_stdc+set}" = set; then
4624
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4625
 
else
4626
 
  cat >conftest.$ac_ext <<_ACEOF
4627
 
/* confdefs.h.  */
4628
 
_ACEOF
4629
 
cat confdefs.h >>conftest.$ac_ext
4630
 
cat >>conftest.$ac_ext <<_ACEOF
4631
 
/* end confdefs.h.  */
4632
 
#include <stdlib.h>
4633
 
#include <stdarg.h>
4634
 
#include <string.h>
4635
 
#include <float.h>
4636
 
 
4637
 
int
4638
 
main ()
4639
 
{
4640
 
 
4641
 
  ;
4642
 
  return 0;
4643
 
}
4644
 
_ACEOF
4645
 
rm -f conftest.$ac_objext
4646
 
if { (ac_try="$ac_compile"
4647
 
case "(($ac_try" in
4648
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4649
 
  *) ac_try_echo=$ac_try;;
4650
 
esac
4651
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4652
 
  (eval "$ac_compile") 2>conftest.er1
4653
 
  ac_status=$?
4654
 
  grep -v '^ *+' conftest.er1 >conftest.err
4655
 
  rm -f conftest.er1
4656
 
  cat conftest.err >&5
4657
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4658
 
  (exit $ac_status); } &&
4659
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4660
 
  { (case "(($ac_try" in
4661
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4662
 
  *) ac_try_echo=$ac_try;;
4663
 
esac
4664
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4665
 
  (eval "$ac_try") 2>&5
4666
 
  ac_status=$?
4667
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4668
 
  (exit $ac_status); }; } &&
4669
 
         { ac_try='test -s conftest.$ac_objext'
4670
 
  { (case "(($ac_try" in
4671
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4672
 
  *) ac_try_echo=$ac_try;;
4673
 
esac
4674
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4675
 
  (eval "$ac_try") 2>&5
4676
 
  ac_status=$?
4677
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4678
 
  (exit $ac_status); }; }; then
4679
 
  ac_cv_header_stdc=yes
4680
 
else
4681
 
  echo "$as_me: failed program was:" >&5
4682
 
sed 's/^/| /' conftest.$ac_ext >&5
4683
 
 
4684
 
        ac_cv_header_stdc=no
4685
 
fi
4686
 
 
4687
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4688
 
 
4689
 
if test $ac_cv_header_stdc = yes; then
4690
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4691
 
  cat >conftest.$ac_ext <<_ACEOF
4692
 
/* confdefs.h.  */
4693
 
_ACEOF
4694
 
cat confdefs.h >>conftest.$ac_ext
4695
 
cat >>conftest.$ac_ext <<_ACEOF
4696
 
/* end confdefs.h.  */
4697
 
#include <string.h>
4698
 
 
4699
 
_ACEOF
4700
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4701
 
  $EGREP "memchr" >/dev/null 2>&1; then
4702
 
  :
4703
 
else
4704
 
  ac_cv_header_stdc=no
4705
 
fi
4706
 
rm -f conftest*
4707
 
 
4708
 
fi
4709
 
 
4710
 
if test $ac_cv_header_stdc = yes; then
4711
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4712
 
  cat >conftest.$ac_ext <<_ACEOF
4713
 
/* confdefs.h.  */
4714
 
_ACEOF
4715
 
cat confdefs.h >>conftest.$ac_ext
4716
 
cat >>conftest.$ac_ext <<_ACEOF
4717
 
/* end confdefs.h.  */
4718
 
#include <stdlib.h>
4719
 
 
4720
 
_ACEOF
4721
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4722
 
  $EGREP "free" >/dev/null 2>&1; then
4723
 
  :
4724
 
else
4725
 
  ac_cv_header_stdc=no
4726
 
fi
4727
 
rm -f conftest*
4728
 
 
4729
 
fi
4730
 
 
4731
 
if test $ac_cv_header_stdc = yes; then
4732
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4733
 
  if test "$cross_compiling" = yes; then
4734
 
  :
4735
 
else
4736
 
  cat >conftest.$ac_ext <<_ACEOF
4737
 
/* confdefs.h.  */
4738
 
_ACEOF
4739
 
cat confdefs.h >>conftest.$ac_ext
4740
 
cat >>conftest.$ac_ext <<_ACEOF
4741
 
/* end confdefs.h.  */
4742
 
#include <ctype.h>
4743
 
#include <stdlib.h>
4744
 
#if ((' ' & 0x0FF) == 0x020)
4745
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4746
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4747
 
#else
4748
 
# define ISLOWER(c) \
4749
 
                   (('a' <= (c) && (c) <= 'i') \
4750
 
                     || ('j' <= (c) && (c) <= 'r') \
4751
 
                     || ('s' <= (c) && (c) <= 'z'))
4752
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4753
 
#endif
4754
 
 
4755
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4756
 
int
4757
 
main ()
4758
 
{
4759
 
  int i;
4760
 
  for (i = 0; i < 256; i++)
4761
 
    if (XOR (islower (i), ISLOWER (i))
4762
 
        || toupper (i) != TOUPPER (i))
4763
 
      return 2;
4764
 
  return 0;
4765
 
}
4766
 
_ACEOF
4767
 
rm -f conftest$ac_exeext
4768
 
if { (ac_try="$ac_link"
4769
 
case "(($ac_try" in
4770
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4771
 
  *) ac_try_echo=$ac_try;;
4772
 
esac
4773
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4774
 
  (eval "$ac_link") 2>&5
4775
 
  ac_status=$?
4776
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4777
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4778
 
  { (case "(($ac_try" in
4779
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4780
 
  *) ac_try_echo=$ac_try;;
4781
 
esac
4782
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4783
 
  (eval "$ac_try") 2>&5
4784
 
  ac_status=$?
4785
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4786
 
  (exit $ac_status); }; }; then
4787
 
  :
4788
 
else
4789
 
  echo "$as_me: program exited with status $ac_status" >&5
4790
 
echo "$as_me: failed program was:" >&5
4791
 
sed 's/^/| /' conftest.$ac_ext >&5
4792
 
 
4793
 
( exit $ac_status )
4794
 
ac_cv_header_stdc=no
4795
 
fi
4796
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4797
 
fi
4798
 
 
4799
 
 
4800
 
fi
4801
 
fi
4802
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4803
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4804
 
if test $ac_cv_header_stdc = yes; then
4805
 
 
4806
 
cat >>confdefs.h <<\_ACEOF
4807
 
#define STDC_HEADERS 1
4808
 
_ACEOF
4809
 
 
4810
 
fi
4811
 
 
4812
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4813
 
 
4814
 
 
4815
 
 
4816
 
 
4817
 
 
4818
 
 
4819
 
 
4820
 
 
4821
 
 
4822
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4823
 
                  inttypes.h stdint.h unistd.h
4824
 
do
4825
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4826
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4827
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4828
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4829
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4830
 
else
4831
 
  cat >conftest.$ac_ext <<_ACEOF
4832
 
/* confdefs.h.  */
4833
 
_ACEOF
4834
 
cat confdefs.h >>conftest.$ac_ext
4835
 
cat >>conftest.$ac_ext <<_ACEOF
4836
 
/* end confdefs.h.  */
4837
 
$ac_includes_default
4838
 
 
4839
 
#include <$ac_header>
4840
 
_ACEOF
4841
 
rm -f conftest.$ac_objext
4842
 
if { (ac_try="$ac_compile"
4843
 
case "(($ac_try" in
4844
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4845
 
  *) ac_try_echo=$ac_try;;
4846
 
esac
4847
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4848
 
  (eval "$ac_compile") 2>conftest.er1
4849
 
  ac_status=$?
4850
 
  grep -v '^ *+' conftest.er1 >conftest.err
4851
 
  rm -f conftest.er1
4852
 
  cat conftest.err >&5
4853
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854
 
  (exit $ac_status); } &&
4855
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4856
 
  { (case "(($ac_try" in
4857
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4858
 
  *) ac_try_echo=$ac_try;;
4859
 
esac
4860
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4861
 
  (eval "$ac_try") 2>&5
4862
 
  ac_status=$?
4863
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4864
 
  (exit $ac_status); }; } &&
4865
 
         { ac_try='test -s conftest.$ac_objext'
4866
 
  { (case "(($ac_try" in
4867
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4868
 
  *) ac_try_echo=$ac_try;;
4869
 
esac
4870
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4871
 
  (eval "$ac_try") 2>&5
4872
 
  ac_status=$?
4873
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874
 
  (exit $ac_status); }; }; then
4875
 
  eval "$as_ac_Header=yes"
4876
 
else
4877
 
  echo "$as_me: failed program was:" >&5
4878
 
sed 's/^/| /' conftest.$ac_ext >&5
4879
 
 
4880
 
        eval "$as_ac_Header=no"
4881
 
fi
4882
 
 
4883
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4884
 
fi
4885
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4886
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4887
 
echo "${ECHO_T}$ac_res" >&6; }
4888
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4889
 
  cat >>confdefs.h <<_ACEOF
4890
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4891
 
_ACEOF
4892
 
 
4893
 
fi
4894
 
 
4895
 
done
4896
 
 
4897
 
 
4898
 
 
4899
 
for ac_header in dlfcn.h
4900
 
do
4901
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4902
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4903
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
4904
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4905
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4906
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4907
 
fi
4908
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4909
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4910
 
echo "${ECHO_T}$ac_res" >&6; }
4911
 
else
4912
 
  # Is the header compilable?
4913
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4914
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4915
 
cat >conftest.$ac_ext <<_ACEOF
4916
 
/* confdefs.h.  */
4917
 
_ACEOF
4918
 
cat confdefs.h >>conftest.$ac_ext
4919
 
cat >>conftest.$ac_ext <<_ACEOF
4920
 
/* end confdefs.h.  */
4921
 
$ac_includes_default
4922
 
#include <$ac_header>
4923
 
_ACEOF
4924
 
rm -f conftest.$ac_objext
4925
 
if { (ac_try="$ac_compile"
4926
 
case "(($ac_try" in
4927
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4928
 
  *) ac_try_echo=$ac_try;;
4929
 
esac
4930
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4931
 
  (eval "$ac_compile") 2>conftest.er1
4932
 
  ac_status=$?
4933
 
  grep -v '^ *+' conftest.er1 >conftest.err
4934
 
  rm -f conftest.er1
4935
 
  cat conftest.err >&5
4936
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4937
 
  (exit $ac_status); } &&
4938
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4939
 
  { (case "(($ac_try" in
4940
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4941
 
  *) ac_try_echo=$ac_try;;
4942
 
esac
4943
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4944
 
  (eval "$ac_try") 2>&5
4945
 
  ac_status=$?
4946
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947
 
  (exit $ac_status); }; } &&
4948
 
         { ac_try='test -s conftest.$ac_objext'
4949
 
  { (case "(($ac_try" in
4950
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4951
 
  *) ac_try_echo=$ac_try;;
4952
 
esac
4953
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4954
 
  (eval "$ac_try") 2>&5
4955
 
  ac_status=$?
4956
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4957
 
  (exit $ac_status); }; }; then
4958
 
  ac_header_compiler=yes
4959
 
else
4960
 
  echo "$as_me: failed program was:" >&5
4961
 
sed 's/^/| /' conftest.$ac_ext >&5
4962
 
 
4963
 
        ac_header_compiler=no
4964
 
fi
4965
 
 
4966
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4967
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4968
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
4969
 
 
4970
 
# Is the header present?
4971
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4972
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4973
 
cat >conftest.$ac_ext <<_ACEOF
4974
 
/* confdefs.h.  */
4975
 
_ACEOF
4976
 
cat confdefs.h >>conftest.$ac_ext
4977
 
cat >>conftest.$ac_ext <<_ACEOF
4978
 
/* end confdefs.h.  */
4979
 
#include <$ac_header>
4980
 
_ACEOF
4981
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4982
 
case "(($ac_try" in
4983
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4984
 
  *) ac_try_echo=$ac_try;;
4985
 
esac
4986
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4987
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4988
 
  ac_status=$?
4989
 
  grep -v '^ *+' conftest.er1 >conftest.err
4990
 
  rm -f conftest.er1
4991
 
  cat conftest.err >&5
4992
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4993
 
  (exit $ac_status); } >/dev/null; then
4994
 
  if test -s conftest.err; then
4995
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4996
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4997
 
  else
4998
 
    ac_cpp_err=
4999
 
  fi
5000
 
else
5001
 
  ac_cpp_err=yes
5002
 
fi
5003
 
if test -z "$ac_cpp_err"; then
5004
 
  ac_header_preproc=yes
5005
 
else
5006
 
  echo "$as_me: failed program was:" >&5
5007
 
sed 's/^/| /' conftest.$ac_ext >&5
5008
 
 
5009
 
  ac_header_preproc=no
5010
 
fi
5011
 
 
5012
 
rm -f conftest.err conftest.$ac_ext
5013
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5014
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
5015
 
 
5016
 
# So?  What about this header?
5017
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5018
 
  yes:no: )
5019
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5020
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5021
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5022
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5023
 
    ac_header_preproc=yes
5024
 
    ;;
5025
 
  no:yes:* )
5026
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5027
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5028
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5029
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5030
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5031
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5032
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5033
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5034
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5035
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5036
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5037
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5038
 
 
5039
 
    ;;
5040
 
esac
5041
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5042
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5043
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5044
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5045
 
else
5046
 
  eval "$as_ac_Header=\$ac_header_preproc"
5047
 
fi
5048
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5049
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5050
 
echo "${ECHO_T}$ac_res" >&6; }
5051
 
 
5052
 
fi
5053
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5054
 
  cat >>confdefs.h <<_ACEOF
5055
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5056
 
_ACEOF
5057
 
 
5058
 
fi
5059
 
 
5060
 
done
5061
 
 
5062
 
ac_ext=cpp
5063
 
ac_cpp='$CXXCPP $CPPFLAGS'
5064
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5065
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5066
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5067
 
if test -z "$CXX"; then
5068
 
  if test -n "$CCC"; then
5069
 
    CXX=$CCC
5070
 
  else
5071
 
    if test -n "$ac_tool_prefix"; then
5072
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5073
 
  do
5074
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5075
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5076
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5077
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5078
 
if test "${ac_cv_prog_CXX+set}" = set; then
5079
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5080
 
else
5081
 
  if test -n "$CXX"; then
5082
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
5083
 
else
5084
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5085
 
for as_dir in $PATH
5086
 
do
5087
 
  IFS=$as_save_IFS
5088
 
  test -z "$as_dir" && as_dir=.
5089
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5090
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5091
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5092
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5093
 
    break 2
5094
 
  fi
5095
 
done
5096
 
done
5097
 
IFS=$as_save_IFS
5098
 
 
5099
 
fi
5100
 
fi
5101
 
CXX=$ac_cv_prog_CXX
5102
 
if test -n "$CXX"; then
5103
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
5104
 
echo "${ECHO_T}$CXX" >&6; }
5105
 
else
5106
 
  { echo "$as_me:$LINENO: result: no" >&5
5107
 
echo "${ECHO_T}no" >&6; }
5108
 
fi
5109
 
 
5110
 
 
5111
 
    test -n "$CXX" && break
5112
 
  done
5113
 
fi
5114
 
if test -z "$CXX"; then
5115
 
  ac_ct_CXX=$CXX
5116
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5117
 
do
5118
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5119
 
set dummy $ac_prog; ac_word=$2
5120
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5121
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5122
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5123
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5124
 
else
5125
 
  if test -n "$ac_ct_CXX"; then
5126
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5127
 
else
5128
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5129
 
for as_dir in $PATH
5130
 
do
5131
 
  IFS=$as_save_IFS
5132
 
  test -z "$as_dir" && as_dir=.
5133
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5134
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5135
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
5136
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5137
 
    break 2
5138
 
  fi
5139
 
done
5140
 
done
5141
 
IFS=$as_save_IFS
5142
 
 
5143
 
fi
5144
 
fi
5145
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5146
 
if test -n "$ac_ct_CXX"; then
5147
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5148
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
5149
 
else
5150
 
  { echo "$as_me:$LINENO: result: no" >&5
5151
 
echo "${ECHO_T}no" >&6; }
5152
 
fi
5153
 
 
5154
 
 
5155
 
  test -n "$ac_ct_CXX" && break
5156
 
done
5157
 
 
5158
 
  if test "x$ac_ct_CXX" = x; then
5159
 
    CXX="g++"
5160
 
  else
5161
 
    case $cross_compiling:$ac_tool_warned in
5162
 
yes:)
5163
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5164
 
whose name does not start with the host triplet.  If you think this
5165
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5166
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5167
 
whose name does not start with the host triplet.  If you think this
5168
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5169
 
ac_tool_warned=yes ;;
5170
 
esac
5171
 
    CXX=$ac_ct_CXX
5172
 
  fi
5173
 
fi
5174
 
 
5175
 
  fi
5176
 
fi
5177
 
# Provide some information about the compiler.
5178
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5179
 
ac_compiler=`set X $ac_compile; echo $2`
5180
 
{ (ac_try="$ac_compiler --version >&5"
5181
 
case "(($ac_try" in
5182
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5183
 
  *) ac_try_echo=$ac_try;;
5184
 
esac
5185
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5186
 
  (eval "$ac_compiler --version >&5") 2>&5
5187
 
  ac_status=$?
5188
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5189
 
  (exit $ac_status); }
5190
 
{ (ac_try="$ac_compiler -v >&5"
5191
 
case "(($ac_try" in
5192
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5193
 
  *) ac_try_echo=$ac_try;;
5194
 
esac
5195
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5196
 
  (eval "$ac_compiler -v >&5") 2>&5
5197
 
  ac_status=$?
5198
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5199
 
  (exit $ac_status); }
5200
 
{ (ac_try="$ac_compiler -V >&5"
5201
 
case "(($ac_try" in
5202
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5203
 
  *) ac_try_echo=$ac_try;;
5204
 
esac
5205
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5206
 
  (eval "$ac_compiler -V >&5") 2>&5
5207
 
  ac_status=$?
5208
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5209
 
  (exit $ac_status); }
5210
 
 
5211
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5212
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5213
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5214
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5215
 
else
5216
 
  cat >conftest.$ac_ext <<_ACEOF
5217
 
/* confdefs.h.  */
5218
 
_ACEOF
5219
 
cat confdefs.h >>conftest.$ac_ext
5220
 
cat >>conftest.$ac_ext <<_ACEOF
5221
 
/* end confdefs.h.  */
5222
 
 
5223
 
int
5224
 
main ()
5225
 
{
5226
 
#ifndef __GNUC__
5227
 
       choke me
5228
 
#endif
5229
 
 
5230
 
  ;
5231
 
  return 0;
5232
 
}
5233
 
_ACEOF
5234
 
rm -f conftest.$ac_objext
5235
 
if { (ac_try="$ac_compile"
5236
 
case "(($ac_try" in
5237
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5238
 
  *) ac_try_echo=$ac_try;;
5239
 
esac
5240
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5241
 
  (eval "$ac_compile") 2>conftest.er1
5242
 
  ac_status=$?
5243
 
  grep -v '^ *+' conftest.er1 >conftest.err
5244
 
  rm -f conftest.er1
5245
 
  cat conftest.err >&5
5246
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5247
 
  (exit $ac_status); } &&
5248
 
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5249
 
  { (case "(($ac_try" in
5250
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5251
 
  *) ac_try_echo=$ac_try;;
5252
 
esac
5253
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5254
 
  (eval "$ac_try") 2>&5
5255
 
  ac_status=$?
5256
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5257
 
  (exit $ac_status); }; } &&
5258
 
         { ac_try='test -s conftest.$ac_objext'
5259
 
  { (case "(($ac_try" in
5260
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5261
 
  *) ac_try_echo=$ac_try;;
5262
 
esac
5263
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5264
 
  (eval "$ac_try") 2>&5
5265
 
  ac_status=$?
5266
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5267
 
  (exit $ac_status); }; }; then
5268
 
  ac_compiler_gnu=yes
5269
 
else
5270
 
  echo "$as_me: failed program was:" >&5
5271
 
sed 's/^/| /' conftest.$ac_ext >&5
5272
 
 
5273
 
        ac_compiler_gnu=no
5274
 
fi
5275
 
 
5276
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5277
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5278
 
 
5279
 
fi
5280
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5281
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5282
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
5283
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
5284
 
ac_save_CXXFLAGS=$CXXFLAGS
5285
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5286
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5287
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
5288
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5289
 
else
5290
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5291
 
   ac_cxx_werror_flag=yes
5292
 
   ac_cv_prog_cxx_g=no
5293
 
   CXXFLAGS="-g"
5294
 
   cat >conftest.$ac_ext <<_ACEOF
5295
 
/* confdefs.h.  */
5296
 
_ACEOF
5297
 
cat confdefs.h >>conftest.$ac_ext
5298
 
cat >>conftest.$ac_ext <<_ACEOF
5299
 
/* end confdefs.h.  */
5300
 
 
5301
 
int
5302
 
main ()
5303
 
{
5304
 
 
5305
 
  ;
5306
 
  return 0;
5307
 
}
5308
 
_ACEOF
5309
 
rm -f conftest.$ac_objext
5310
 
if { (ac_try="$ac_compile"
5311
 
case "(($ac_try" in
5312
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5313
 
  *) ac_try_echo=$ac_try;;
5314
 
esac
5315
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5316
 
  (eval "$ac_compile") 2>conftest.er1
5317
 
  ac_status=$?
5318
 
  grep -v '^ *+' conftest.er1 >conftest.err
5319
 
  rm -f conftest.er1
5320
 
  cat conftest.err >&5
5321
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5322
 
  (exit $ac_status); } &&
5323
 
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5324
 
  { (case "(($ac_try" in
5325
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5326
 
  *) ac_try_echo=$ac_try;;
5327
 
esac
5328
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5329
 
  (eval "$ac_try") 2>&5
5330
 
  ac_status=$?
5331
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5332
 
  (exit $ac_status); }; } &&
5333
 
         { ac_try='test -s conftest.$ac_objext'
5334
 
  { (case "(($ac_try" in
5335
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5336
 
  *) ac_try_echo=$ac_try;;
5337
 
esac
5338
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5339
 
  (eval "$ac_try") 2>&5
5340
 
  ac_status=$?
5341
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5342
 
  (exit $ac_status); }; }; then
5343
 
  ac_cv_prog_cxx_g=yes
5344
 
else
5345
 
  echo "$as_me: failed program was:" >&5
5346
 
sed 's/^/| /' conftest.$ac_ext >&5
5347
 
 
5348
 
        CXXFLAGS=""
5349
 
      cat >conftest.$ac_ext <<_ACEOF
5350
 
/* confdefs.h.  */
5351
 
_ACEOF
5352
 
cat confdefs.h >>conftest.$ac_ext
5353
 
cat >>conftest.$ac_ext <<_ACEOF
5354
 
/* end confdefs.h.  */
5355
 
 
5356
 
int
5357
 
main ()
5358
 
{
5359
 
 
5360
 
  ;
5361
 
  return 0;
5362
 
}
5363
 
_ACEOF
5364
 
rm -f conftest.$ac_objext
5365
 
if { (ac_try="$ac_compile"
5366
 
case "(($ac_try" in
5367
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5368
 
  *) ac_try_echo=$ac_try;;
5369
 
esac
5370
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5371
 
  (eval "$ac_compile") 2>conftest.er1
5372
 
  ac_status=$?
5373
 
  grep -v '^ *+' conftest.er1 >conftest.err
5374
 
  rm -f conftest.er1
5375
 
  cat conftest.err >&5
5376
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5377
 
  (exit $ac_status); } &&
5378
 
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5379
 
  { (case "(($ac_try" in
5380
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5381
 
  *) ac_try_echo=$ac_try;;
5382
 
esac
5383
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5384
 
  (eval "$ac_try") 2>&5
5385
 
  ac_status=$?
5386
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5387
 
  (exit $ac_status); }; } &&
5388
 
         { ac_try='test -s conftest.$ac_objext'
5389
 
  { (case "(($ac_try" in
5390
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5391
 
  *) ac_try_echo=$ac_try;;
5392
 
esac
5393
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5394
 
  (eval "$ac_try") 2>&5
5395
 
  ac_status=$?
5396
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5397
 
  (exit $ac_status); }; }; then
5398
 
  :
5399
 
else
5400
 
  echo "$as_me: failed program was:" >&5
5401
 
sed 's/^/| /' conftest.$ac_ext >&5
5402
 
 
5403
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5404
 
         CXXFLAGS="-g"
5405
 
         cat >conftest.$ac_ext <<_ACEOF
5406
 
/* confdefs.h.  */
5407
 
_ACEOF
5408
 
cat confdefs.h >>conftest.$ac_ext
5409
 
cat >>conftest.$ac_ext <<_ACEOF
5410
 
/* end confdefs.h.  */
5411
 
 
5412
 
int
5413
 
main ()
5414
 
{
5415
 
 
5416
 
  ;
5417
 
  return 0;
5418
 
}
5419
 
_ACEOF
5420
 
rm -f conftest.$ac_objext
5421
 
if { (ac_try="$ac_compile"
5422
 
case "(($ac_try" in
5423
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5424
 
  *) ac_try_echo=$ac_try;;
5425
 
esac
5426
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5427
 
  (eval "$ac_compile") 2>conftest.er1
5428
 
  ac_status=$?
5429
 
  grep -v '^ *+' conftest.er1 >conftest.err
5430
 
  rm -f conftest.er1
5431
 
  cat conftest.err >&5
5432
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5433
 
  (exit $ac_status); } &&
5434
 
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5435
 
  { (case "(($ac_try" in
5436
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5437
 
  *) ac_try_echo=$ac_try;;
5438
 
esac
5439
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5440
 
  (eval "$ac_try") 2>&5
5441
 
  ac_status=$?
5442
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5443
 
  (exit $ac_status); }; } &&
5444
 
         { ac_try='test -s conftest.$ac_objext'
5445
 
  { (case "(($ac_try" in
5446
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5447
 
  *) ac_try_echo=$ac_try;;
5448
 
esac
5449
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5450
 
  (eval "$ac_try") 2>&5
5451
 
  ac_status=$?
5452
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5453
 
  (exit $ac_status); }; }; then
5454
 
  ac_cv_prog_cxx_g=yes
5455
 
else
5456
 
  echo "$as_me: failed program was:" >&5
5457
 
sed 's/^/| /' conftest.$ac_ext >&5
5458
 
 
5459
 
 
5460
 
fi
5461
 
 
5462
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5463
 
fi
5464
 
 
5465
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5466
 
fi
5467
 
 
5468
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5469
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5470
 
fi
5471
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5472
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5473
 
if test "$ac_test_CXXFLAGS" = set; then
5474
 
  CXXFLAGS=$ac_save_CXXFLAGS
5475
 
elif test $ac_cv_prog_cxx_g = yes; then
5476
 
  if test "$GXX" = yes; then
5477
 
    CXXFLAGS="-g -O2"
5478
 
  else
5479
 
    CXXFLAGS="-g"
5480
 
  fi
5481
 
else
5482
 
  if test "$GXX" = yes; then
5483
 
    CXXFLAGS="-O2"
5484
 
  else
5485
 
    CXXFLAGS=
5486
 
  fi
5487
 
fi
5488
 
ac_ext=cpp
5489
 
ac_cpp='$CXXCPP $CPPFLAGS'
5490
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5491
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5492
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5493
 
 
5494
 
 
5495
 
 
5496
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5497
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5498
 
    (test "X$CXX" != "Xg++"))) ; then
5499
 
  ac_ext=cpp
5500
 
ac_cpp='$CXXCPP $CPPFLAGS'
5501
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5502
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5503
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5504
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5505
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5506
 
if test -z "$CXXCPP"; then
5507
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5508
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5509
 
else
5510
 
      # Double quotes because CXXCPP needs to be expanded
5511
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
5512
 
    do
5513
 
      ac_preproc_ok=false
5514
 
for ac_cxx_preproc_warn_flag in '' yes
5515
 
do
5516
 
  # Use a header file that comes with gcc, so configuring glibc
5517
 
  # with a fresh cross-compiler works.
5518
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5519
 
  # <limits.h> exists even on freestanding compilers.
5520
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5521
 
  # not just through cpp. "Syntax error" is here to catch this case.
5522
 
  cat >conftest.$ac_ext <<_ACEOF
5523
 
/* confdefs.h.  */
5524
 
_ACEOF
5525
 
cat confdefs.h >>conftest.$ac_ext
5526
 
cat >>conftest.$ac_ext <<_ACEOF
5527
 
/* end confdefs.h.  */
5528
 
#ifdef __STDC__
5529
 
# include <limits.h>
5530
 
#else
5531
 
# include <assert.h>
5532
 
#endif
5533
 
                     Syntax error
5534
 
_ACEOF
5535
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5536
 
case "(($ac_try" in
5537
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5538
 
  *) ac_try_echo=$ac_try;;
5539
 
esac
5540
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5541
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5542
 
  ac_status=$?
5543
 
  grep -v '^ *+' conftest.er1 >conftest.err
5544
 
  rm -f conftest.er1
5545
 
  cat conftest.err >&5
5546
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5547
 
  (exit $ac_status); } >/dev/null; then
5548
 
  if test -s conftest.err; then
5549
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5550
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5551
 
  else
5552
 
    ac_cpp_err=
5553
 
  fi
5554
 
else
5555
 
  ac_cpp_err=yes
5556
 
fi
5557
 
if test -z "$ac_cpp_err"; then
5558
 
  :
5559
 
else
5560
 
  echo "$as_me: failed program was:" >&5
5561
 
sed 's/^/| /' conftest.$ac_ext >&5
5562
 
 
5563
 
  # Broken: fails on valid input.
5564
 
continue
5565
 
fi
5566
 
 
5567
 
rm -f conftest.err conftest.$ac_ext
5568
 
 
5569
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5570
 
  # can be detected and how.
5571
 
  cat >conftest.$ac_ext <<_ACEOF
5572
 
/* confdefs.h.  */
5573
 
_ACEOF
5574
 
cat confdefs.h >>conftest.$ac_ext
5575
 
cat >>conftest.$ac_ext <<_ACEOF
5576
 
/* end confdefs.h.  */
5577
 
#include <ac_nonexistent.h>
5578
 
_ACEOF
5579
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5580
 
case "(($ac_try" in
5581
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5582
 
  *) ac_try_echo=$ac_try;;
5583
 
esac
5584
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5585
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5586
 
  ac_status=$?
5587
 
  grep -v '^ *+' conftest.er1 >conftest.err
5588
 
  rm -f conftest.er1
5589
 
  cat conftest.err >&5
5590
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5591
 
  (exit $ac_status); } >/dev/null; then
5592
 
  if test -s conftest.err; then
5593
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5594
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5595
 
  else
5596
 
    ac_cpp_err=
5597
 
  fi
5598
 
else
5599
 
  ac_cpp_err=yes
5600
 
fi
5601
 
if test -z "$ac_cpp_err"; then
5602
 
  # Broken: success on invalid input.
5603
 
continue
5604
 
else
5605
 
  echo "$as_me: failed program was:" >&5
5606
 
sed 's/^/| /' conftest.$ac_ext >&5
5607
 
 
5608
 
  # Passes both tests.
5609
 
ac_preproc_ok=:
5610
 
break
5611
 
fi
5612
 
 
5613
 
rm -f conftest.err conftest.$ac_ext
5614
 
 
5615
 
done
5616
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5617
 
rm -f conftest.err conftest.$ac_ext
5618
 
if $ac_preproc_ok; then
5619
 
  break
5620
 
fi
5621
 
 
5622
 
    done
5623
 
    ac_cv_prog_CXXCPP=$CXXCPP
5624
 
 
5625
 
fi
5626
 
  CXXCPP=$ac_cv_prog_CXXCPP
5627
 
else
5628
 
  ac_cv_prog_CXXCPP=$CXXCPP
5629
 
fi
5630
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
5631
 
echo "${ECHO_T}$CXXCPP" >&6; }
5632
 
ac_preproc_ok=false
5633
 
for ac_cxx_preproc_warn_flag in '' yes
5634
 
do
5635
 
  # Use a header file that comes with gcc, so configuring glibc
5636
 
  # with a fresh cross-compiler works.
5637
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5638
 
  # <limits.h> exists even on freestanding compilers.
5639
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5640
 
  # not just through cpp. "Syntax error" is here to catch this case.
5641
 
  cat >conftest.$ac_ext <<_ACEOF
5642
 
/* confdefs.h.  */
5643
 
_ACEOF
5644
 
cat confdefs.h >>conftest.$ac_ext
5645
 
cat >>conftest.$ac_ext <<_ACEOF
5646
 
/* end confdefs.h.  */
5647
 
#ifdef __STDC__
5648
 
# include <limits.h>
5649
 
#else
5650
 
# include <assert.h>
5651
 
#endif
5652
 
                     Syntax error
5653
 
_ACEOF
5654
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5655
 
case "(($ac_try" in
5656
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5657
 
  *) ac_try_echo=$ac_try;;
5658
 
esac
5659
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5660
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5661
 
  ac_status=$?
5662
 
  grep -v '^ *+' conftest.er1 >conftest.err
5663
 
  rm -f conftest.er1
5664
 
  cat conftest.err >&5
5665
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5666
 
  (exit $ac_status); } >/dev/null; then
5667
 
  if test -s conftest.err; then
5668
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5669
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5670
 
  else
5671
 
    ac_cpp_err=
5672
 
  fi
5673
 
else
5674
 
  ac_cpp_err=yes
5675
 
fi
5676
 
if test -z "$ac_cpp_err"; then
5677
 
  :
5678
 
else
5679
 
  echo "$as_me: failed program was:" >&5
5680
 
sed 's/^/| /' conftest.$ac_ext >&5
5681
 
 
5682
 
  # Broken: fails on valid input.
5683
 
continue
5684
 
fi
5685
 
 
5686
 
rm -f conftest.err conftest.$ac_ext
5687
 
 
5688
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5689
 
  # can be detected and how.
5690
 
  cat >conftest.$ac_ext <<_ACEOF
5691
 
/* confdefs.h.  */
5692
 
_ACEOF
5693
 
cat confdefs.h >>conftest.$ac_ext
5694
 
cat >>conftest.$ac_ext <<_ACEOF
5695
 
/* end confdefs.h.  */
5696
 
#include <ac_nonexistent.h>
5697
 
_ACEOF
5698
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5699
 
case "(($ac_try" in
5700
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5701
 
  *) ac_try_echo=$ac_try;;
5702
 
esac
5703
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5704
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5705
 
  ac_status=$?
5706
 
  grep -v '^ *+' conftest.er1 >conftest.err
5707
 
  rm -f conftest.er1
5708
 
  cat conftest.err >&5
5709
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5710
 
  (exit $ac_status); } >/dev/null; then
5711
 
  if test -s conftest.err; then
5712
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5713
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5714
 
  else
5715
 
    ac_cpp_err=
5716
 
  fi
5717
 
else
5718
 
  ac_cpp_err=yes
5719
 
fi
5720
 
if test -z "$ac_cpp_err"; then
5721
 
  # Broken: success on invalid input.
5722
 
continue
5723
 
else
5724
 
  echo "$as_me: failed program was:" >&5
5725
 
sed 's/^/| /' conftest.$ac_ext >&5
5726
 
 
5727
 
  # Passes both tests.
5728
 
ac_preproc_ok=:
5729
 
break
5730
 
fi
5731
 
 
5732
 
rm -f conftest.err conftest.$ac_ext
5733
 
 
5734
 
done
5735
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5736
 
rm -f conftest.err conftest.$ac_ext
5737
 
if $ac_preproc_ok; then
5738
 
  :
5739
 
else
5740
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5741
 
See \`config.log' for more details." >&5
5742
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5743
 
See \`config.log' for more details." >&2;}
5744
 
   { (exit 1); exit 1; }; }
5745
 
fi
5746
 
 
5747
 
ac_ext=cpp
5748
 
ac_cpp='$CXXCPP $CPPFLAGS'
5749
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5750
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5751
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5752
 
 
5753
 
fi
5754
 
 
5755
 
 
5756
 
ac_ext=f
5757
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5758
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5759
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5760
 
if test -n "$ac_tool_prefix"; then
5761
 
  for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
5762
 
  do
5763
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5764
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5765
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5766
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5767
 
if test "${ac_cv_prog_F77+set}" = set; then
5768
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5769
 
else
5770
 
  if test -n "$F77"; then
5771
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
5772
 
else
5773
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5774
 
for as_dir in $PATH
5775
 
do
5776
 
  IFS=$as_save_IFS
5777
 
  test -z "$as_dir" && as_dir=.
5778
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5779
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5780
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5781
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5782
 
    break 2
5783
 
  fi
5784
 
done
5785
 
done
5786
 
IFS=$as_save_IFS
5787
 
 
5788
 
fi
5789
 
fi
5790
 
F77=$ac_cv_prog_F77
5791
 
if test -n "$F77"; then
5792
 
  { echo "$as_me:$LINENO: result: $F77" >&5
5793
 
echo "${ECHO_T}$F77" >&6; }
5794
 
else
5795
 
  { echo "$as_me:$LINENO: result: no" >&5
5796
 
echo "${ECHO_T}no" >&6; }
5797
 
fi
5798
 
 
5799
 
 
5800
 
    test -n "$F77" && break
5801
 
  done
5802
 
fi
5803
 
if test -z "$F77"; then
5804
 
  ac_ct_F77=$F77
5805
 
  for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
5806
 
do
5807
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5808
 
set dummy $ac_prog; ac_word=$2
5809
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5810
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5811
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5812
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5813
 
else
5814
 
  if test -n "$ac_ct_F77"; then
5815
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5816
 
else
5817
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5818
 
for as_dir in $PATH
5819
 
do
5820
 
  IFS=$as_save_IFS
5821
 
  test -z "$as_dir" && as_dir=.
5822
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5823
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5824
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
5825
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5826
 
    break 2
5827
 
  fi
5828
 
done
5829
 
done
5830
 
IFS=$as_save_IFS
5831
 
 
5832
 
fi
5833
 
fi
5834
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5835
 
if test -n "$ac_ct_F77"; then
5836
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5837
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
5838
 
else
5839
 
  { echo "$as_me:$LINENO: result: no" >&5
5840
 
echo "${ECHO_T}no" >&6; }
5841
 
fi
5842
 
 
5843
 
 
5844
 
  test -n "$ac_ct_F77" && break
5845
 
done
5846
 
 
5847
 
  if test "x$ac_ct_F77" = x; then
5848
 
    F77=""
5849
 
  else
5850
 
    case $cross_compiling:$ac_tool_warned in
5851
 
yes:)
5852
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5853
 
whose name does not start with the host triplet.  If you think this
5854
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5855
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5856
 
whose name does not start with the host triplet.  If you think this
5857
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5858
 
ac_tool_warned=yes ;;
5859
 
esac
5860
 
    F77=$ac_ct_F77
5861
 
  fi
5862
 
fi
5863
 
 
5864
 
 
5865
 
# Provide some information about the compiler.
5866
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5867
 
ac_compiler=`set X $ac_compile; echo $2`
5868
 
{ (ac_try="$ac_compiler --version >&5"
5869
 
case "(($ac_try" in
5870
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5871
 
  *) ac_try_echo=$ac_try;;
5872
 
esac
5873
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5874
 
  (eval "$ac_compiler --version >&5") 2>&5
5875
 
  ac_status=$?
5876
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877
 
  (exit $ac_status); }
5878
 
{ (ac_try="$ac_compiler -v >&5"
5879
 
case "(($ac_try" in
5880
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5881
 
  *) ac_try_echo=$ac_try;;
5882
 
esac
5883
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5884
 
  (eval "$ac_compiler -v >&5") 2>&5
5885
 
  ac_status=$?
5886
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5887
 
  (exit $ac_status); }
5888
 
{ (ac_try="$ac_compiler -V >&5"
5889
 
case "(($ac_try" in
5890
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5891
 
  *) ac_try_echo=$ac_try;;
5892
 
esac
5893
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5894
 
  (eval "$ac_compiler -V >&5") 2>&5
5895
 
  ac_status=$?
5896
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5897
 
  (exit $ac_status); }
5898
 
rm -f a.out
5899
 
 
5900
 
# If we don't use `.F' as extension, the preprocessor is not run on the
5901
 
# input file.  (Note that this only needs to work for GNU compilers.)
5902
 
ac_save_ext=$ac_ext
5903
 
ac_ext=F
5904
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5905
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5906
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5907
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5908
 
else
5909
 
  cat >conftest.$ac_ext <<_ACEOF
5910
 
      program main
5911
 
#ifndef __GNUC__
5912
 
       choke me
5913
 
#endif
5914
 
 
5915
 
      end
5916
 
_ACEOF
5917
 
rm -f conftest.$ac_objext
5918
 
if { (ac_try="$ac_compile"
5919
 
case "(($ac_try" in
5920
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5921
 
  *) ac_try_echo=$ac_try;;
5922
 
esac
5923
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5924
 
  (eval "$ac_compile") 2>conftest.er1
5925
 
  ac_status=$?
5926
 
  grep -v '^ *+' conftest.er1 >conftest.err
5927
 
  rm -f conftest.er1
5928
 
  cat conftest.err >&5
5929
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5930
 
  (exit $ac_status); } &&
5931
 
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
5932
 
  { (case "(($ac_try" in
5933
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5934
 
  *) ac_try_echo=$ac_try;;
5935
 
esac
5936
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5937
 
  (eval "$ac_try") 2>&5
5938
 
  ac_status=$?
5939
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5940
 
  (exit $ac_status); }; } &&
5941
 
         { ac_try='test -s conftest.$ac_objext'
5942
 
  { (case "(($ac_try" in
5943
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5944
 
  *) ac_try_echo=$ac_try;;
5945
 
esac
5946
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5947
 
  (eval "$ac_try") 2>&5
5948
 
  ac_status=$?
5949
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5950
 
  (exit $ac_status); }; }; then
5951
 
  ac_compiler_gnu=yes
5952
 
else
5953
 
  echo "$as_me: failed program was:" >&5
5954
 
sed 's/^/| /' conftest.$ac_ext >&5
5955
 
 
5956
 
        ac_compiler_gnu=no
5957
 
fi
5958
 
 
5959
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5960
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5961
 
 
5962
 
fi
5963
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5964
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
5965
 
ac_ext=$ac_save_ext
5966
 
ac_test_FFLAGS=${FFLAGS+set}
5967
 
ac_save_FFLAGS=$FFLAGS
5968
 
FFLAGS=
5969
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5970
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
5971
 
if test "${ac_cv_prog_f77_g+set}" = set; then
5972
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5973
 
else
5974
 
  FFLAGS=-g
5975
 
cat >conftest.$ac_ext <<_ACEOF
5976
 
      program main
5977
 
 
5978
 
      end
5979
 
_ACEOF
5980
 
rm -f conftest.$ac_objext
5981
 
if { (ac_try="$ac_compile"
5982
 
case "(($ac_try" in
5983
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5984
 
  *) ac_try_echo=$ac_try;;
5985
 
esac
5986
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5987
 
  (eval "$ac_compile") 2>conftest.er1
5988
 
  ac_status=$?
5989
 
  grep -v '^ *+' conftest.er1 >conftest.err
5990
 
  rm -f conftest.er1
5991
 
  cat conftest.err >&5
5992
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5993
 
  (exit $ac_status); } &&
5994
 
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
5995
 
  { (case "(($ac_try" in
5996
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5997
 
  *) ac_try_echo=$ac_try;;
5998
 
esac
5999
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6000
 
  (eval "$ac_try") 2>&5
6001
 
  ac_status=$?
6002
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003
 
  (exit $ac_status); }; } &&
6004
 
         { ac_try='test -s conftest.$ac_objext'
6005
 
  { (case "(($ac_try" in
6006
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6007
 
  *) ac_try_echo=$ac_try;;
6008
 
esac
6009
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6010
 
  (eval "$ac_try") 2>&5
6011
 
  ac_status=$?
6012
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6013
 
  (exit $ac_status); }; }; then
6014
 
  ac_cv_prog_f77_g=yes
6015
 
else
6016
 
  echo "$as_me: failed program was:" >&5
6017
 
sed 's/^/| /' conftest.$ac_ext >&5
6018
 
 
6019
 
        ac_cv_prog_f77_g=no
6020
 
fi
6021
 
 
6022
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6023
 
 
6024
 
fi
6025
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6026
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6027
 
if test "$ac_test_FFLAGS" = set; then
6028
 
  FFLAGS=$ac_save_FFLAGS
6029
 
elif test $ac_cv_prog_f77_g = yes; then
6030
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6031
 
    FFLAGS="-g -O2"
6032
 
  else
6033
 
    FFLAGS="-g"
6034
 
  fi
6035
 
else
6036
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6037
 
    FFLAGS="-O2"
6038
 
  else
6039
 
    FFLAGS=
6040
 
  fi
6041
 
fi
6042
 
 
6043
 
G77=`test $ac_compiler_gnu = yes && echo yes`
6044
 
ac_ext=c
6045
 
ac_cpp='$CPP $CPPFLAGS'
6046
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6047
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6048
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6049
 
 
6050
 
 
6051
 
 
6052
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6053
 
 
6054
 
# find the maximum length of command line arguments
6055
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6056
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6057
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6058
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6059
 
else
6060
 
    i=0
6061
 
  teststring="ABCD"
6062
 
 
6063
 
  case $build_os in
6064
 
  msdosdjgpp*)
6065
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
6066
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
6067
 
    # during glob expansion).  Even if it were fixed, the result of this
6068
 
    # check would be larger than it should be.
6069
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6070
 
    ;;
6071
 
 
6072
 
  gnu*)
6073
 
    # Under GNU Hurd, this test is not required because there is
6074
 
    # no limit to the length of command line arguments.
6075
 
    # Libtool will interpret -1 as no limit whatsoever
6076
 
    lt_cv_sys_max_cmd_len=-1;
6077
 
    ;;
6078
 
 
6079
 
  cygwin* | mingw*)
6080
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
6081
 
    # about 5 minutes as the teststring grows exponentially.
6082
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
6083
 
    # you end up with a "frozen" computer, even though with patience
6084
 
    # the test eventually succeeds (with a max line length of 256k).
6085
 
    # Instead, let's just punt: use the minimum linelength reported by
6086
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
6087
 
    lt_cv_sys_max_cmd_len=8192;
6088
 
    ;;
6089
 
 
6090
 
  amigaos*)
6091
 
    # On AmigaOS with pdksh, this test takes hours, literally.
6092
 
    # So we just punt and use a minimum line length of 8192.
6093
 
    lt_cv_sys_max_cmd_len=8192;
6094
 
    ;;
6095
 
 
6096
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6097
 
    # This has been around since 386BSD, at least.  Likely further.
6098
 
    if test -x /sbin/sysctl; then
6099
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6100
 
    elif test -x /usr/sbin/sysctl; then
6101
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6102
 
    else
6103
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6104
 
    fi
6105
 
    # And add a safety zone
6106
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6107
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6108
 
    ;;
6109
 
 
6110
 
  interix*)
6111
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6112
 
    lt_cv_sys_max_cmd_len=196608
6113
 
    ;;
6114
 
 
6115
 
  osf*)
6116
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6117
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6118
 
    # nice to cause kernel panics so lets avoid the loop below.
6119
 
    # First set a reasonable default.
6120
 
    lt_cv_sys_max_cmd_len=16384
6121
 
    #
6122
 
    if test -x /sbin/sysconfig; then
6123
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6124
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6125
 
      esac
6126
 
    fi
6127
 
    ;;
6128
 
  sco3.2v5*)
6129
 
    lt_cv_sys_max_cmd_len=102400
6130
 
    ;;
6131
 
  sysv5* | sco5v6* | sysv4.2uw2*)
6132
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6133
 
    if test -n "$kargmax"; then
6134
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
6135
 
    else
6136
 
      lt_cv_sys_max_cmd_len=32768
6137
 
    fi
6138
 
    ;;
6139
 
  *)
6140
 
    # If test is not a shell built-in, we'll probably end up computing a
6141
 
    # maximum length that is only half of the actual maximum length, but
6142
 
    # we can't tell.
6143
 
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6144
 
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6145
 
               = "XX$teststring") >/dev/null 2>&1 &&
6146
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
6147
 
            lt_cv_sys_max_cmd_len=$new_result &&
6148
 
            test $i != 17 # 1/2 MB should be enough
6149
 
    do
6150
 
      i=`expr $i + 1`
6151
 
      teststring=$teststring$teststring
6152
 
    done
6153
 
    teststring=
6154
 
    # Add a significant safety factor because C++ compilers can tack on massive
6155
 
    # amounts of additional arguments before passing them to the linker.
6156
 
    # It appears as though 1/2 is a usable value.
6157
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6158
 
    ;;
6159
 
  esac
6160
 
 
6161
 
fi
6162
 
 
6163
 
if test -n $lt_cv_sys_max_cmd_len ; then
6164
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6165
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6166
 
else
6167
 
  { echo "$as_me:$LINENO: result: none" >&5
6168
 
echo "${ECHO_T}none" >&6; }
6169
 
fi
6170
 
 
6171
 
 
6172
 
 
6173
 
 
6174
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
6175
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6176
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6177
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6178
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6179
 
else
6180
 
 
6181
 
# These are sane defaults that work on at least a few old systems.
6182
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6183
 
 
6184
 
# Character class describing NM global symbol codes.
6185
 
symcode='[BCDEGRST]'
6186
 
 
6187
 
# Regexp to match symbols that can be accessed directly from C.
6188
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6189
 
 
6190
 
# Transform an extracted symbol line into a proper C declaration
6191
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6192
 
 
6193
 
# Transform an extracted symbol line into symbol name and symbol address
6194
 
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'"
6195
 
 
6196
 
# Define system-specific variables.
6197
 
case $host_os in
6198
 
aix*)
6199
 
  symcode='[BCDT]'
6200
 
  ;;
6201
 
cygwin* | mingw* | pw32*)
6202
 
  symcode='[ABCDGISTW]'
6203
 
  ;;
6204
 
hpux*) # Its linker distinguishes data from code symbols
6205
 
  if test "$host_cpu" = ia64; then
6206
 
    symcode='[ABCDEGRST]'
6207
 
  fi
6208
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6209
 
  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'"
6210
 
  ;;
6211
 
linux*)
6212
 
  if test "$host_cpu" = ia64; then
6213
 
    symcode='[ABCDGIRSTW]'
6214
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6215
 
    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'"
6216
 
  fi
6217
 
  ;;
6218
 
irix* | nonstopux*)
6219
 
  symcode='[BCDEGRST]'
6220
 
  ;;
6221
 
osf*)
6222
 
  symcode='[BCDEGQRST]'
6223
 
  ;;
6224
 
solaris*)
6225
 
  symcode='[BDRT]'
6226
 
  ;;
6227
 
sco3.2v5*)
6228
 
  symcode='[DT]'
6229
 
  ;;
6230
 
sysv4.2uw2*)
6231
 
  symcode='[DT]'
6232
 
  ;;
6233
 
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6234
 
  symcode='[ABDT]'
6235
 
  ;;
6236
 
sysv4)
6237
 
  symcode='[DFNSTU]'
6238
 
  ;;
6239
 
esac
6240
 
 
6241
 
# Handle CRLF in mingw tool chain
6242
 
opt_cr=
6243
 
case $build_os in
6244
 
mingw*)
6245
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6246
 
  ;;
6247
 
esac
6248
 
 
6249
 
# If we're using GNU nm, then use its standard symbol codes.
6250
 
case `$NM -V 2>&1` in
6251
 
*GNU* | *'with BFD'*)
6252
 
  symcode='[ABCDGIRSTW]' ;;
6253
 
esac
6254
 
 
6255
 
# Try without a prefix undercore, then with it.
6256
 
for ac_symprfx in "" "_"; do
6257
 
 
6258
 
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6259
 
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6260
 
 
6261
 
  # Write the raw and C identifiers.
6262
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6263
 
 
6264
 
  # Check to see that the pipe works correctly.
6265
 
  pipe_works=no
6266
 
 
6267
 
  rm -f conftest*
6268
 
  cat > conftest.$ac_ext <<EOF
6269
 
#ifdef __cplusplus
6270
 
extern "C" {
6271
 
#endif
6272
 
char nm_test_var;
6273
 
void nm_test_func(){}
6274
 
#ifdef __cplusplus
6275
 
}
6276
 
#endif
6277
 
int main(){nm_test_var='a';nm_test_func();return(0);}
6278
 
EOF
6279
 
 
6280
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6281
 
  (eval $ac_compile) 2>&5
6282
 
  ac_status=$?
6283
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6284
 
  (exit $ac_status); }; then
6285
 
    # Now try to grab the symbols.
6286
 
    nlist=conftest.nm
6287
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6288
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6289
 
  ac_status=$?
6290
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291
 
  (exit $ac_status); } && test -s "$nlist"; then
6292
 
      # Try sorting and uniquifying the output.
6293
 
      if sort "$nlist" | uniq > "$nlist"T; then
6294
 
        mv -f "$nlist"T "$nlist"
6295
 
      else
6296
 
        rm -f "$nlist"T
6297
 
      fi
6298
 
 
6299
 
      # Make sure that we snagged all the symbols we need.
6300
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
6301
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
6302
 
          cat <<EOF > conftest.$ac_ext
6303
 
#ifdef __cplusplus
6304
 
extern "C" {
6305
 
#endif
6306
 
 
6307
 
EOF
6308
 
          # Now generate the symbol file.
6309
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6310
 
 
6311
 
          cat <<EOF >> conftest.$ac_ext
6312
 
#if defined (__STDC__) && __STDC__
6313
 
# define lt_ptr_t void *
6314
 
#else
6315
 
# define lt_ptr_t char *
6316
 
# define const
6317
 
#endif
6318
 
 
6319
 
/* The mapping between symbol names and symbols. */
6320
 
const struct {
6321
 
  const char *name;
6322
 
  lt_ptr_t address;
6323
 
}
6324
 
lt_preloaded_symbols[] =
6325
 
{
6326
 
EOF
6327
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6328
 
          cat <<\EOF >> conftest.$ac_ext
6329
 
  {0, (lt_ptr_t) 0}
6330
 
};
6331
 
 
6332
 
#ifdef __cplusplus
6333
 
}
6334
 
#endif
6335
 
EOF
6336
 
          # Now try linking the two files.
6337
 
          mv conftest.$ac_objext conftstm.$ac_objext
6338
 
          lt_save_LIBS="$LIBS"
6339
 
          lt_save_CFLAGS="$CFLAGS"
6340
 
          LIBS="conftstm.$ac_objext"
6341
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6342
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6343
 
  (eval $ac_link) 2>&5
6344
 
  ac_status=$?
6345
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6346
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
6347
 
            pipe_works=yes
6348
 
          fi
6349
 
          LIBS="$lt_save_LIBS"
6350
 
          CFLAGS="$lt_save_CFLAGS"
6351
 
        else
6352
 
          echo "cannot find nm_test_func in $nlist" >&5
6353
 
        fi
6354
 
      else
6355
 
        echo "cannot find nm_test_var in $nlist" >&5
6356
 
      fi
6357
 
    else
6358
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6359
 
    fi
6360
 
  else
6361
 
    echo "$progname: failed program was:" >&5
6362
 
    cat conftest.$ac_ext >&5
6363
 
  fi
6364
 
  rm -f conftest* conftst*
6365
 
 
6366
 
  # Do not use the global_symbol_pipe unless it works.
6367
 
  if test "$pipe_works" = yes; then
6368
 
    break
6369
 
  else
6370
 
    lt_cv_sys_global_symbol_pipe=
6371
 
  fi
6372
 
done
6373
 
 
6374
 
fi
6375
 
 
6376
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6377
 
  lt_cv_sys_global_symbol_to_cdecl=
6378
 
fi
6379
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6380
 
  { echo "$as_me:$LINENO: result: failed" >&5
6381
 
echo "${ECHO_T}failed" >&6; }
6382
 
else
6383
 
  { echo "$as_me:$LINENO: result: ok" >&5
6384
 
echo "${ECHO_T}ok" >&6; }
6385
 
fi
6386
 
 
6387
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
6388
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6389
 
if test "${lt_cv_objdir+set}" = set; then
6390
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6391
 
else
6392
 
  rm -f .libs 2>/dev/null
6393
 
mkdir .libs 2>/dev/null
6394
 
if test -d .libs; then
6395
 
  lt_cv_objdir=.libs
6396
 
else
6397
 
  # MS-DOS does not allow filenames that begin with a dot.
6398
 
  lt_cv_objdir=_libs
6399
 
fi
6400
 
rmdir .libs 2>/dev/null
6401
 
fi
6402
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6403
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
6404
 
objdir=$lt_cv_objdir
6405
 
 
6406
 
 
6407
 
 
6408
 
 
6409
 
 
6410
 
case $host_os in
6411
 
aix3*)
6412
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
6413
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
6414
 
  # vanish in a puff of smoke.
6415
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
6416
 
    COLLECT_NAMES=
6417
 
    export COLLECT_NAMES
6418
 
  fi
6419
 
  ;;
6420
 
esac
6421
 
 
6422
 
# Sed substitution that helps us do robust quoting.  It backslashifies
6423
 
# metacharacters that are still active within double-quoted strings.
6424
 
Xsed='sed -e 1s/^X//'
6425
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
6426
 
 
6427
 
# Same as above, but do not quote variable references.
6428
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
6429
 
 
6430
 
# Sed substitution to delay expansion of an escaped shell variable in a
6431
 
# double_quote_subst'ed string.
6432
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6433
 
 
6434
 
# Sed substitution to avoid accidental globbing in evaled expressions
6435
 
no_glob_subst='s/\*/\\\*/g'
6436
 
 
6437
 
# Constants:
6438
 
rm="rm -f"
6439
 
 
6440
 
# Global variables:
6441
 
default_ofile=libtool
6442
 
can_build_shared=yes
6443
 
 
6444
 
# All known linkers require a `.a' archive for static linking (except MSVC,
6445
 
# which needs '.lib').
6446
 
libext=a
6447
 
ltmain="$ac_aux_dir/ltmain.sh"
6448
 
ofile="$default_ofile"
6449
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
6450
 
 
6451
 
if test -n "$ac_tool_prefix"; then
6452
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6453
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
6454
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6455
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6456
 
if test "${ac_cv_prog_AR+set}" = set; then
6457
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6458
 
else
6459
 
  if test -n "$AR"; then
6460
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
6461
 
else
6462
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6463
 
for as_dir in $PATH
6464
 
do
6465
 
  IFS=$as_save_IFS
6466
 
  test -z "$as_dir" && as_dir=.
6467
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6468
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6469
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6470
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6471
 
    break 2
6472
 
  fi
6473
 
done
6474
 
done
6475
 
IFS=$as_save_IFS
6476
 
 
6477
 
fi
6478
 
fi
6479
 
AR=$ac_cv_prog_AR
6480
 
if test -n "$AR"; then
6481
 
  { echo "$as_me:$LINENO: result: $AR" >&5
6482
 
echo "${ECHO_T}$AR" >&6; }
6483
 
else
6484
 
  { echo "$as_me:$LINENO: result: no" >&5
6485
 
echo "${ECHO_T}no" >&6; }
6486
 
fi
6487
 
 
6488
 
 
6489
 
fi
6490
 
if test -z "$ac_cv_prog_AR"; then
6491
 
  ac_ct_AR=$AR
6492
 
  # Extract the first word of "ar", so it can be a program name with args.
6493
 
set dummy ar; ac_word=$2
6494
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6495
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6496
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6497
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6498
 
else
6499
 
  if test -n "$ac_ct_AR"; then
6500
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6501
 
else
6502
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6503
 
for as_dir in $PATH
6504
 
do
6505
 
  IFS=$as_save_IFS
6506
 
  test -z "$as_dir" && as_dir=.
6507
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6508
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6509
 
    ac_cv_prog_ac_ct_AR="ar"
6510
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6511
 
    break 2
6512
 
  fi
6513
 
done
6514
 
done
6515
 
IFS=$as_save_IFS
6516
 
 
6517
 
fi
6518
 
fi
6519
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6520
 
if test -n "$ac_ct_AR"; then
6521
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6522
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
6523
 
else
6524
 
  { echo "$as_me:$LINENO: result: no" >&5
6525
 
echo "${ECHO_T}no" >&6; }
6526
 
fi
6527
 
 
6528
 
  if test "x$ac_ct_AR" = x; then
6529
 
    AR="false"
6530
 
  else
6531
 
    case $cross_compiling:$ac_tool_warned in
6532
 
yes:)
6533
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6534
 
whose name does not start with the host triplet.  If you think this
6535
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6536
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6537
 
whose name does not start with the host triplet.  If you think this
6538
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6539
 
ac_tool_warned=yes ;;
6540
 
esac
6541
 
    AR=$ac_ct_AR
6542
 
  fi
6543
 
else
6544
 
  AR="$ac_cv_prog_AR"
6545
 
fi
6546
 
 
6547
 
if test -n "$ac_tool_prefix"; then
6548
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6549
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6550
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6551
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6552
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
6553
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6554
 
else
6555
 
  if test -n "$RANLIB"; then
6556
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6557
 
else
6558
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6559
 
for as_dir in $PATH
6560
 
do
6561
 
  IFS=$as_save_IFS
6562
 
  test -z "$as_dir" && as_dir=.
6563
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6564
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6565
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6566
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6567
 
    break 2
6568
 
  fi
6569
 
done
6570
 
done
6571
 
IFS=$as_save_IFS
6572
 
 
6573
 
fi
6574
 
fi
6575
 
RANLIB=$ac_cv_prog_RANLIB
6576
 
if test -n "$RANLIB"; then
6577
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
6578
 
echo "${ECHO_T}$RANLIB" >&6; }
6579
 
else
6580
 
  { echo "$as_me:$LINENO: result: no" >&5
6581
 
echo "${ECHO_T}no" >&6; }
6582
 
fi
6583
 
 
6584
 
 
6585
 
fi
6586
 
if test -z "$ac_cv_prog_RANLIB"; then
6587
 
  ac_ct_RANLIB=$RANLIB
6588
 
  # Extract the first word of "ranlib", so it can be a program name with args.
6589
 
set dummy ranlib; ac_word=$2
6590
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6591
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6592
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6593
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6594
 
else
6595
 
  if test -n "$ac_ct_RANLIB"; then
6596
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6597
 
else
6598
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6599
 
for as_dir in $PATH
6600
 
do
6601
 
  IFS=$as_save_IFS
6602
 
  test -z "$as_dir" && as_dir=.
6603
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6604
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6605
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6606
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6607
 
    break 2
6608
 
  fi
6609
 
done
6610
 
done
6611
 
IFS=$as_save_IFS
6612
 
 
6613
 
fi
6614
 
fi
6615
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6616
 
if test -n "$ac_ct_RANLIB"; then
6617
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6618
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6619
 
else
6620
 
  { echo "$as_me:$LINENO: result: no" >&5
6621
 
echo "${ECHO_T}no" >&6; }
6622
 
fi
6623
 
 
6624
 
  if test "x$ac_ct_RANLIB" = x; then
6625
 
    RANLIB=":"
6626
 
  else
6627
 
    case $cross_compiling:$ac_tool_warned in
6628
 
yes:)
6629
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6630
 
whose name does not start with the host triplet.  If you think this
6631
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6632
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6633
 
whose name does not start with the host triplet.  If you think this
6634
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6635
 
ac_tool_warned=yes ;;
6636
 
esac
6637
 
    RANLIB=$ac_ct_RANLIB
6638
 
  fi
6639
 
else
6640
 
  RANLIB="$ac_cv_prog_RANLIB"
6641
 
fi
6642
 
 
6643
 
if test -n "$ac_tool_prefix"; then
6644
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6645
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
6646
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6647
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6648
 
if test "${ac_cv_prog_STRIP+set}" = set; then
6649
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6650
 
else
6651
 
  if test -n "$STRIP"; then
6652
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6653
 
else
6654
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6655
 
for as_dir in $PATH
6656
 
do
6657
 
  IFS=$as_save_IFS
6658
 
  test -z "$as_dir" && as_dir=.
6659
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6660
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6661
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6662
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6663
 
    break 2
6664
 
  fi
6665
 
done
6666
 
done
6667
 
IFS=$as_save_IFS
6668
 
 
6669
 
fi
6670
 
fi
6671
 
STRIP=$ac_cv_prog_STRIP
6672
 
if test -n "$STRIP"; then
6673
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
6674
 
echo "${ECHO_T}$STRIP" >&6; }
6675
 
else
6676
 
  { echo "$as_me:$LINENO: result: no" >&5
6677
 
echo "${ECHO_T}no" >&6; }
6678
 
fi
6679
 
 
6680
 
 
6681
 
fi
6682
 
if test -z "$ac_cv_prog_STRIP"; then
6683
 
  ac_ct_STRIP=$STRIP
6684
 
  # Extract the first word of "strip", so it can be a program name with args.
6685
 
set dummy strip; ac_word=$2
6686
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6687
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6688
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6689
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6690
 
else
6691
 
  if test -n "$ac_ct_STRIP"; then
6692
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6693
 
else
6694
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6695
 
for as_dir in $PATH
6696
 
do
6697
 
  IFS=$as_save_IFS
6698
 
  test -z "$as_dir" && as_dir=.
6699
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6700
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6701
 
    ac_cv_prog_ac_ct_STRIP="strip"
6702
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6703
 
    break 2
6704
 
  fi
6705
 
done
6706
 
done
6707
 
IFS=$as_save_IFS
6708
 
 
6709
 
fi
6710
 
fi
6711
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6712
 
if test -n "$ac_ct_STRIP"; then
6713
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6714
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6715
 
else
6716
 
  { echo "$as_me:$LINENO: result: no" >&5
6717
 
echo "${ECHO_T}no" >&6; }
6718
 
fi
6719
 
 
6720
 
  if test "x$ac_ct_STRIP" = x; then
6721
 
    STRIP=":"
6722
 
  else
6723
 
    case $cross_compiling:$ac_tool_warned in
6724
 
yes:)
6725
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6726
 
whose name does not start with the host triplet.  If you think this
6727
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6728
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6729
 
whose name does not start with the host triplet.  If you think this
6730
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6731
 
ac_tool_warned=yes ;;
6732
 
esac
6733
 
    STRIP=$ac_ct_STRIP
6734
 
  fi
6735
 
else
6736
 
  STRIP="$ac_cv_prog_STRIP"
6737
 
fi
6738
 
 
6739
 
 
6740
 
old_CC="$CC"
6741
 
old_CFLAGS="$CFLAGS"
6742
 
 
6743
 
# Set sane defaults for various variables
6744
 
test -z "$AR" && AR=ar
6745
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
6746
 
test -z "$AS" && AS=as
6747
 
test -z "$CC" && CC=cc
6748
 
test -z "$LTCC" && LTCC=$CC
6749
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6750
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
6751
 
test -z "$LD" && LD=ld
6752
 
test -z "$LN_S" && LN_S="ln -s"
6753
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
6754
 
test -z "$NM" && NM=nm
6755
 
test -z "$SED" && SED=sed
6756
 
test -z "$OBJDUMP" && OBJDUMP=objdump
6757
 
test -z "$RANLIB" && RANLIB=:
6758
 
test -z "$STRIP" && STRIP=:
6759
 
test -z "$ac_objext" && ac_objext=o
6760
 
 
6761
 
# Determine commands to create old-style static archives.
6762
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6763
 
old_postinstall_cmds='chmod 644 $oldlib'
6764
 
old_postuninstall_cmds=
6765
 
 
6766
 
if test -n "$RANLIB"; then
6767
 
  case $host_os in
6768
 
  openbsd*)
6769
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6770
 
    ;;
6771
 
  *)
6772
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6773
 
    ;;
6774
 
  esac
6775
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6776
 
fi
6777
 
 
6778
 
for cc_temp in $compiler""; do
6779
 
  case $cc_temp in
6780
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6781
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6782
 
    \-*) ;;
6783
 
    *) break;;
6784
 
  esac
6785
 
done
6786
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6787
 
 
6788
 
 
6789
 
# Only perform the check for file, if the check method requires it
6790
 
case $deplibs_check_method in
6791
 
file_magic*)
6792
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6793
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6794
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6795
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6796
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6797
 
else
6798
 
  case $MAGIC_CMD in
6799
 
[\\/*] |  ?:[\\/]*)
6800
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6801
 
  ;;
6802
 
*)
6803
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
6804
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6805
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6806
 
  for ac_dir in $ac_dummy; do
6807
 
    IFS="$lt_save_ifs"
6808
 
    test -z "$ac_dir" && ac_dir=.
6809
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
6810
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6811
 
      if test -n "$file_magic_test_file"; then
6812
 
        case $deplibs_check_method in
6813
 
        "file_magic "*)
6814
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6815
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6816
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6817
 
            $EGREP "$file_magic_regex" > /dev/null; then
6818
 
            :
6819
 
          else
6820
 
            cat <<EOF 1>&2
6821
 
 
6822
 
*** Warning: the command libtool uses to detect shared libraries,
6823
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
6824
 
*** The result is that libtool may fail to recognize shared libraries
6825
 
*** as such.  This will affect the creation of libtool libraries that
6826
 
*** depend on shared libraries, but programs linked with such libtool
6827
 
*** libraries will work regardless of this problem.  Nevertheless, you
6828
 
*** may want to report the problem to your system manager and/or to
6829
 
*** bug-libtool@gnu.org
6830
 
 
6831
 
EOF
6832
 
          fi ;;
6833
 
        esac
6834
 
      fi
6835
 
      break
6836
 
    fi
6837
 
  done
6838
 
  IFS="$lt_save_ifs"
6839
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
6840
 
  ;;
6841
 
esac
6842
 
fi
6843
 
 
6844
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6845
 
if test -n "$MAGIC_CMD"; then
6846
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6847
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6848
 
else
6849
 
  { echo "$as_me:$LINENO: result: no" >&5
6850
 
echo "${ECHO_T}no" >&6; }
6851
 
fi
6852
 
 
6853
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
6854
 
  if test -n "$ac_tool_prefix"; then
6855
 
    { echo "$as_me:$LINENO: checking for file" >&5
6856
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6857
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6858
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6859
 
else
6860
 
  case $MAGIC_CMD in
6861
 
[\\/*] |  ?:[\\/]*)
6862
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6863
 
  ;;
6864
 
*)
6865
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
6866
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6867
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6868
 
  for ac_dir in $ac_dummy; do
6869
 
    IFS="$lt_save_ifs"
6870
 
    test -z "$ac_dir" && ac_dir=.
6871
 
    if test -f $ac_dir/file; then
6872
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
6873
 
      if test -n "$file_magic_test_file"; then
6874
 
        case $deplibs_check_method in
6875
 
        "file_magic "*)
6876
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6877
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6878
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6879
 
            $EGREP "$file_magic_regex" > /dev/null; then
6880
 
            :
6881
 
          else
6882
 
            cat <<EOF 1>&2
6883
 
 
6884
 
*** Warning: the command libtool uses to detect shared libraries,
6885
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
6886
 
*** The result is that libtool may fail to recognize shared libraries
6887
 
*** as such.  This will affect the creation of libtool libraries that
6888
 
*** depend on shared libraries, but programs linked with such libtool
6889
 
*** libraries will work regardless of this problem.  Nevertheless, you
6890
 
*** may want to report the problem to your system manager and/or to
6891
 
*** bug-libtool@gnu.org
6892
 
 
6893
 
EOF
6894
 
          fi ;;
6895
 
        esac
6896
 
      fi
6897
 
      break
6898
 
    fi
6899
 
  done
6900
 
  IFS="$lt_save_ifs"
6901
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
6902
 
  ;;
6903
 
esac
6904
 
fi
6905
 
 
6906
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6907
 
if test -n "$MAGIC_CMD"; then
6908
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6909
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6910
 
else
6911
 
  { echo "$as_me:$LINENO: result: no" >&5
6912
 
echo "${ECHO_T}no" >&6; }
6913
 
fi
6914
 
 
6915
 
  else
6916
 
    MAGIC_CMD=:
6917
 
  fi
6918
 
fi
6919
 
 
6920
 
  fi
6921
 
  ;;
6922
 
esac
6923
 
 
6924
 
enable_dlopen=no
6925
 
enable_win32_dll=no
6926
 
 
6927
 
# Check whether --enable-libtool-lock was given.
6928
 
if test "${enable_libtool_lock+set}" = set; then
6929
 
  enableval=$enable_libtool_lock;
6930
 
fi
6931
 
 
6932
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6933
 
 
6934
 
 
6935
 
# Check whether --with-pic was given.
6936
 
if test "${with_pic+set}" = set; then
6937
 
  withval=$with_pic; pic_mode="$withval"
6938
 
else
6939
 
  pic_mode=default
6940
 
fi
6941
 
 
6942
 
test -z "$pic_mode" && pic_mode=default
6943
 
 
6944
 
# Use C for the default configuration in the libtool script
6945
 
tagname=
6946
 
lt_save_CC="$CC"
6947
 
ac_ext=c
6948
 
ac_cpp='$CPP $CPPFLAGS'
6949
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6950
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6951
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6952
 
 
6953
 
 
6954
 
# Source file extension for C test sources.
6955
 
ac_ext=c
6956
 
 
6957
 
# Object file extension for compiled C test sources.
6958
 
objext=o
6959
 
objext=$objext
6960
 
 
6961
 
# Code to be used in simple compile tests
6962
 
lt_simple_compile_test_code="int some_variable = 0;\n"
6963
 
 
6964
 
# Code to be used in simple link tests
6965
 
lt_simple_link_test_code='int main(){return(0);}\n'
6966
 
 
6967
 
 
6968
 
# If no C compiler was specified, use CC.
6969
 
LTCC=${LTCC-"$CC"}
6970
 
 
6971
 
# If no C compiler flags were specified, use CFLAGS.
6972
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6973
 
 
6974
 
# Allow CC to be a program name with arguments.
6975
 
compiler=$CC
6976
 
 
6977
 
 
6978
 
# save warnings/boilerplate of simple test code
6979
 
ac_outfile=conftest.$ac_objext
6980
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
6981
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6982
 
_lt_compiler_boilerplate=`cat conftest.err`
6983
 
$rm conftest*
6984
 
 
6985
 
ac_outfile=conftest.$ac_objext
6986
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
6987
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6988
 
_lt_linker_boilerplate=`cat conftest.err`
6989
 
$rm conftest*
6990
 
 
6991
 
 
6992
 
## CAVEAT EMPTOR:
6993
 
## There is no encapsulation within the following macros, do not change
6994
 
## the running order or otherwise move them around unless you know exactly
6995
 
## what you are doing...
6996
 
 
6997
 
lt_prog_compiler_no_builtin_flag=
6998
 
 
6999
 
if test "$GCC" = yes; then
7000
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7001
 
 
7002
 
 
7003
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7004
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7005
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7006
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7007
 
else
7008
 
  lt_cv_prog_compiler_rtti_exceptions=no
7009
 
  ac_outfile=conftest.$ac_objext
7010
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7011
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
7012
 
   # Insert the option either (1) after the last *FLAGS variable, or
7013
 
   # (2) before a word containing "conftest.", or (3) at the end.
7014
 
   # Note that $ac_compile itself does not contain backslashes and begins
7015
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7016
 
   # The option is referenced via a variable to avoid confusing sed.
7017
 
   lt_compile=`echo "$ac_compile" | $SED \
7018
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7019
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7020
 
   -e 's:$: $lt_compiler_flag:'`
7021
 
   (eval echo "\"\$as_me:7021: $lt_compile\"" >&5)
7022
 
   (eval "$lt_compile" 2>conftest.err)
7023
 
   ac_status=$?
7024
 
   cat conftest.err >&5
7025
 
   echo "$as_me:7025: \$? = $ac_status" >&5
7026
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
7027
 
     # The compiler can only warn and ignore the option if not recognized
7028
 
     # So say no if there are warnings other than the usual output.
7029
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7030
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7031
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7032
 
       lt_cv_prog_compiler_rtti_exceptions=yes
7033
 
     fi
7034
 
   fi
7035
 
   $rm conftest*
7036
 
 
7037
 
fi
7038
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7039
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7040
 
 
7041
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7042
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7043
 
else
7044
 
    :
7045
 
fi
7046
 
 
7047
 
fi
7048
 
 
7049
 
lt_prog_compiler_wl=
7050
 
lt_prog_compiler_pic=
7051
 
lt_prog_compiler_static=
7052
 
 
7053
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7054
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7055
 
 
7056
 
  if test "$GCC" = yes; then
7057
 
    lt_prog_compiler_wl='-Wl,'
7058
 
    lt_prog_compiler_static='-static'
7059
 
 
7060
 
    case $host_os in
7061
 
      aix*)
7062
 
      # All AIX code is PIC.
7063
 
      if test "$host_cpu" = ia64; then
7064
 
        # AIX 5 now supports IA64 processor
7065
 
        lt_prog_compiler_static='-Bstatic'
7066
 
      fi
7067
 
      ;;
7068
 
 
7069
 
    amigaos*)
7070
 
      # FIXME: we need at least 68020 code to build shared libraries, but
7071
 
      # adding the `-m68020' flag to GCC prevents building anything better,
7072
 
      # like `-m68040'.
7073
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7074
 
      ;;
7075
 
 
7076
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7077
 
      # PIC is the default for these OSes.
7078
 
      ;;
7079
 
 
7080
 
    mingw* | pw32* | os2*)
7081
 
      # This hack is so that the source file can tell whether it is being
7082
 
      # built for inclusion in a dll (and should export symbols for example).
7083
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
7084
 
      ;;
7085
 
 
7086
 
    darwin* | rhapsody*)
7087
 
      # PIC is the default on this platform
7088
 
      # Common symbols not allowed in MH_DYLIB files
7089
 
      lt_prog_compiler_pic='-fno-common'
7090
 
      ;;
7091
 
 
7092
 
    interix3*)
7093
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7094
 
      # Instead, we relocate shared libraries at runtime.
7095
 
      ;;
7096
 
 
7097
 
    msdosdjgpp*)
7098
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
7099
 
      # on systems that don't support them.
7100
 
      lt_prog_compiler_can_build_shared=no
7101
 
      enable_shared=no
7102
 
      ;;
7103
 
 
7104
 
    sysv4*MP*)
7105
 
      if test -d /usr/nec; then
7106
 
        lt_prog_compiler_pic=-Kconform_pic
7107
 
      fi
7108
 
      ;;
7109
 
 
7110
 
    hpux*)
7111
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7112
 
      # not for PA HP-UX.
7113
 
      case $host_cpu in
7114
 
      hppa*64*|ia64*)
7115
 
        # +Z the default
7116
 
        ;;
7117
 
      *)
7118
 
        lt_prog_compiler_pic='-fPIC'
7119
 
        ;;
7120
 
      esac
7121
 
      ;;
7122
 
 
7123
 
    *)
7124
 
      lt_prog_compiler_pic='-fPIC'
7125
 
      ;;
7126
 
    esac
7127
 
  else
7128
 
    # PORTME Check for flag to pass linker flags through the system compiler.
7129
 
    case $host_os in
7130
 
    aix*)
7131
 
      lt_prog_compiler_wl='-Wl,'
7132
 
      if test "$host_cpu" = ia64; then
7133
 
        # AIX 5 now supports IA64 processor
7134
 
        lt_prog_compiler_static='-Bstatic'
7135
 
      else
7136
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7137
 
      fi
7138
 
      ;;
7139
 
      darwin*)
7140
 
        # PIC is the default on this platform
7141
 
        # Common symbols not allowed in MH_DYLIB files
7142
 
       case $cc_basename in
7143
 
         xlc*)
7144
 
         lt_prog_compiler_pic='-qnocommon'
7145
 
         lt_prog_compiler_wl='-Wl,'
7146
 
         ;;
7147
 
       esac
7148
 
       ;;
7149
 
 
7150
 
    mingw* | pw32* | os2*)
7151
 
      # This hack is so that the source file can tell whether it is being
7152
 
      # built for inclusion in a dll (and should export symbols for example).
7153
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
7154
 
      ;;
7155
 
 
7156
 
    hpux9* | hpux10* | hpux11*)
7157
 
      lt_prog_compiler_wl='-Wl,'
7158
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7159
 
      # not for PA HP-UX.
7160
 
      case $host_cpu in
7161
 
      hppa*64*|ia64*)
7162
 
        # +Z the default
7163
 
        ;;
7164
 
      *)
7165
 
        lt_prog_compiler_pic='+Z'
7166
 
        ;;
7167
 
      esac
7168
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
7169
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
7170
 
      ;;
7171
 
 
7172
 
    irix5* | irix6* | nonstopux*)
7173
 
      lt_prog_compiler_wl='-Wl,'
7174
 
      # PIC (with -KPIC) is the default.
7175
 
      lt_prog_compiler_static='-non_shared'
7176
 
      ;;
7177
 
 
7178
 
    newsos6)
7179
 
      lt_prog_compiler_pic='-KPIC'
7180
 
      lt_prog_compiler_static='-Bstatic'
7181
 
      ;;
7182
 
 
7183
 
    linux*)
7184
 
      case $cc_basename in
7185
 
      icc* | ecc*)
7186
 
        lt_prog_compiler_wl='-Wl,'
7187
 
        lt_prog_compiler_pic='-KPIC'
7188
 
        lt_prog_compiler_static='-static'
7189
 
        ;;
7190
 
      pgcc* | pgf77* | pgf90* | pgf95*)
7191
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
7192
 
        # which looks to be a dead project)
7193
 
        lt_prog_compiler_wl='-Wl,'
7194
 
        lt_prog_compiler_pic='-fpic'
7195
 
        lt_prog_compiler_static='-Bstatic'
7196
 
        ;;
7197
 
      ccc*)
7198
 
        lt_prog_compiler_wl='-Wl,'
7199
 
        # All Alpha code is PIC.
7200
 
        lt_prog_compiler_static='-non_shared'
7201
 
        ;;
7202
 
      esac
7203
 
      ;;
7204
 
 
7205
 
    osf3* | osf4* | osf5*)
7206
 
      lt_prog_compiler_wl='-Wl,'
7207
 
      # All OSF/1 code is PIC.
7208
 
      lt_prog_compiler_static='-non_shared'
7209
 
      ;;
7210
 
 
7211
 
    solaris*)
7212
 
      lt_prog_compiler_pic='-KPIC'
7213
 
      lt_prog_compiler_static='-Bstatic'
7214
 
      case $cc_basename in
7215
 
      f77* | f90* | f95*)
7216
 
        lt_prog_compiler_wl='-Qoption ld ';;
7217
 
      *)
7218
 
        lt_prog_compiler_wl='-Wl,';;
7219
 
      esac
7220
 
      ;;
7221
 
 
7222
 
    sunos4*)
7223
 
      lt_prog_compiler_wl='-Qoption ld '
7224
 
      lt_prog_compiler_pic='-PIC'
7225
 
      lt_prog_compiler_static='-Bstatic'
7226
 
      ;;
7227
 
 
7228
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
7229
 
      lt_prog_compiler_wl='-Wl,'
7230
 
      lt_prog_compiler_pic='-KPIC'
7231
 
      lt_prog_compiler_static='-Bstatic'
7232
 
      ;;
7233
 
 
7234
 
    sysv4*MP*)
7235
 
      if test -d /usr/nec ;then
7236
 
        lt_prog_compiler_pic='-Kconform_pic'
7237
 
        lt_prog_compiler_static='-Bstatic'
7238
 
      fi
7239
 
      ;;
7240
 
 
7241
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7242
 
      lt_prog_compiler_wl='-Wl,'
7243
 
      lt_prog_compiler_pic='-KPIC'
7244
 
      lt_prog_compiler_static='-Bstatic'
7245
 
      ;;
7246
 
 
7247
 
    unicos*)
7248
 
      lt_prog_compiler_wl='-Wl,'
7249
 
      lt_prog_compiler_can_build_shared=no
7250
 
      ;;
7251
 
 
7252
 
    uts4*)
7253
 
      lt_prog_compiler_pic='-pic'
7254
 
      lt_prog_compiler_static='-Bstatic'
7255
 
      ;;
7256
 
 
7257
 
    *)
7258
 
      lt_prog_compiler_can_build_shared=no
7259
 
      ;;
7260
 
    esac
7261
 
  fi
7262
 
 
7263
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7264
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7265
 
 
7266
 
#
7267
 
# Check to make sure the PIC flag actually works.
7268
 
#
7269
 
if test -n "$lt_prog_compiler_pic"; then
7270
 
 
7271
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7272
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7273
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
7274
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7275
 
else
7276
 
  lt_prog_compiler_pic_works=no
7277
 
  ac_outfile=conftest.$ac_objext
7278
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7279
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7280
 
   # Insert the option either (1) after the last *FLAGS variable, or
7281
 
   # (2) before a word containing "conftest.", or (3) at the end.
7282
 
   # Note that $ac_compile itself does not contain backslashes and begins
7283
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7284
 
   # The option is referenced via a variable to avoid confusing sed.
7285
 
   lt_compile=`echo "$ac_compile" | $SED \
7286
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7287
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7288
 
   -e 's:$: $lt_compiler_flag:'`
7289
 
   (eval echo "\"\$as_me:7289: $lt_compile\"" >&5)
7290
 
   (eval "$lt_compile" 2>conftest.err)
7291
 
   ac_status=$?
7292
 
   cat conftest.err >&5
7293
 
   echo "$as_me:7293: \$? = $ac_status" >&5
7294
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
7295
 
     # The compiler can only warn and ignore the option if not recognized
7296
 
     # So say no if there are warnings other than the usual output.
7297
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7298
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7299
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7300
 
       lt_prog_compiler_pic_works=yes
7301
 
     fi
7302
 
   fi
7303
 
   $rm conftest*
7304
 
 
7305
 
fi
7306
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7307
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7308
 
 
7309
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
7310
 
    case $lt_prog_compiler_pic in
7311
 
     "" | " "*) ;;
7312
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7313
 
     esac
7314
 
else
7315
 
    lt_prog_compiler_pic=
7316
 
     lt_prog_compiler_can_build_shared=no
7317
 
fi
7318
 
 
7319
 
fi
7320
 
case $host_os in
7321
 
  # For platforms which do not support PIC, -DPIC is meaningless:
7322
 
  *djgpp*)
7323
 
    lt_prog_compiler_pic=
7324
 
    ;;
7325
 
  *)
7326
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7327
 
    ;;
7328
 
esac
7329
 
 
7330
 
#
7331
 
# Check to make sure the static flag actually works.
7332
 
#
7333
 
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7334
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7335
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7336
 
if test "${lt_prog_compiler_static_works+set}" = set; then
7337
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7338
 
else
7339
 
  lt_prog_compiler_static_works=no
7340
 
   save_LDFLAGS="$LDFLAGS"
7341
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7342
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
7343
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7344
 
     # The linker can only warn and ignore the option if not recognized
7345
 
     # So say no if there are warnings
7346
 
     if test -s conftest.err; then
7347
 
       # Append any errors to the config.log.
7348
 
       cat conftest.err 1>&5
7349
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7350
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7351
 
       if diff conftest.exp conftest.er2 >/dev/null; then
7352
 
         lt_prog_compiler_static_works=yes
7353
 
       fi
7354
 
     else
7355
 
       lt_prog_compiler_static_works=yes
7356
 
     fi
7357
 
   fi
7358
 
   $rm conftest*
7359
 
   LDFLAGS="$save_LDFLAGS"
7360
 
 
7361
 
fi
7362
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7363
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7364
 
 
7365
 
if test x"$lt_prog_compiler_static_works" = xyes; then
7366
 
    :
7367
 
else
7368
 
    lt_prog_compiler_static=
7369
 
fi
7370
 
 
7371
 
 
7372
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7373
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7374
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7375
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7376
 
else
7377
 
  lt_cv_prog_compiler_c_o=no
7378
 
   $rm -r conftest 2>/dev/null
7379
 
   mkdir conftest
7380
 
   cd conftest
7381
 
   mkdir out
7382
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7383
 
 
7384
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7385
 
   # Insert the option either (1) after the last *FLAGS variable, or
7386
 
   # (2) before a word containing "conftest.", or (3) at the end.
7387
 
   # Note that $ac_compile itself does not contain backslashes and begins
7388
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7389
 
   lt_compile=`echo "$ac_compile" | $SED \
7390
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7391
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7392
 
   -e 's:$: $lt_compiler_flag:'`
7393
 
   (eval echo "\"\$as_me:7393: $lt_compile\"" >&5)
7394
 
   (eval "$lt_compile" 2>out/conftest.err)
7395
 
   ac_status=$?
7396
 
   cat out/conftest.err >&5
7397
 
   echo "$as_me:7397: \$? = $ac_status" >&5
7398
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7399
 
   then
7400
 
     # The compiler can only warn and ignore the option if not recognized
7401
 
     # So say no if there are warnings
7402
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7403
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7404
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7405
 
       lt_cv_prog_compiler_c_o=yes
7406
 
     fi
7407
 
   fi
7408
 
   chmod u+w . 2>&5
7409
 
   $rm conftest*
7410
 
   # SGI C++ compiler will create directory out/ii_files/ for
7411
 
   # template instantiation
7412
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
7413
 
   $rm out/* && rmdir out
7414
 
   cd ..
7415
 
   rmdir conftest
7416
 
   $rm conftest*
7417
 
 
7418
 
fi
7419
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7420
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7421
 
 
7422
 
 
7423
 
hard_links="nottested"
7424
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7425
 
  # do not overwrite the value of need_locks provided by the user
7426
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7427
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7428
 
  hard_links=yes
7429
 
  $rm conftest*
7430
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7431
 
  touch conftest.a
7432
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
7433
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7434
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
7435
 
echo "${ECHO_T}$hard_links" >&6; }
7436
 
  if test "$hard_links" = no; then
7437
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7438
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7439
 
    need_locks=warn
7440
 
  fi
7441
 
else
7442
 
  need_locks=no
7443
 
fi
7444
 
 
7445
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7446
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7447
 
 
7448
 
  runpath_var=
7449
 
  allow_undefined_flag=
7450
 
  enable_shared_with_static_runtimes=no
7451
 
  archive_cmds=
7452
 
  archive_expsym_cmds=
7453
 
  old_archive_From_new_cmds=
7454
 
  old_archive_from_expsyms_cmds=
7455
 
  export_dynamic_flag_spec=
7456
 
  whole_archive_flag_spec=
7457
 
  thread_safe_flag_spec=
7458
 
  hardcode_libdir_flag_spec=
7459
 
  hardcode_libdir_flag_spec_ld=
7460
 
  hardcode_libdir_separator=
7461
 
  hardcode_direct=no
7462
 
  hardcode_minus_L=no
7463
 
  hardcode_shlibpath_var=unsupported
7464
 
  link_all_deplibs=unknown
7465
 
  hardcode_automatic=no
7466
 
  module_cmds=
7467
 
  module_expsym_cmds=
7468
 
  always_export_symbols=no
7469
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7470
 
  # include_expsyms should be a list of space-separated symbols to be *always*
7471
 
  # included in the symbol list
7472
 
  include_expsyms=
7473
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
7474
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
7475
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7476
 
  # as well as any symbol that contains `d'.
7477
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7478
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7479
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
7480
 
  # the symbol is explicitly referenced.  Since portable code cannot
7481
 
  # rely on this symbol name, it's probably fine to never include it in
7482
 
  # preloaded symbol tables.
7483
 
  extract_expsyms_cmds=
7484
 
  # Just being paranoid about ensuring that cc_basename is set.
7485
 
  for cc_temp in $compiler""; do
7486
 
  case $cc_temp in
7487
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7488
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7489
 
    \-*) ;;
7490
 
    *) break;;
7491
 
  esac
7492
 
done
7493
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7494
 
 
7495
 
  case $host_os in
7496
 
  cygwin* | mingw* | pw32*)
7497
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
7498
 
    # When not using gcc, we currently assume that we are using
7499
 
    # Microsoft Visual C++.
7500
 
    if test "$GCC" != yes; then
7501
 
      with_gnu_ld=no
7502
 
    fi
7503
 
    ;;
7504
 
  interix*)
7505
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
7506
 
    with_gnu_ld=yes
7507
 
    ;;
7508
 
  openbsd*)
7509
 
    with_gnu_ld=no
7510
 
    ;;
7511
 
  esac
7512
 
 
7513
 
  ld_shlibs=yes
7514
 
  if test "$with_gnu_ld" = yes; then
7515
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
7516
 
    wlarc='${wl}'
7517
 
 
7518
 
    # Set some defaults for GNU ld with shared library support. These
7519
 
    # are reset later if shared libraries are not supported. Putting them
7520
 
    # here allows them to be overridden if necessary.
7521
 
    runpath_var=LD_RUN_PATH
7522
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
7523
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
7524
 
    # ancient GNU ld didn't support --whole-archive et. al.
7525
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7526
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7527
 
      else
7528
 
        whole_archive_flag_spec=
7529
 
    fi
7530
 
    supports_anon_versioning=no
7531
 
    case `$LD -v 2>/dev/null` in
7532
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7533
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7534
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7535
 
      *\ 2.11.*) ;; # other 2.11 versions
7536
 
      *) supports_anon_versioning=yes ;;
7537
 
    esac
7538
 
 
7539
 
    # See if GNU ld supports shared libraries.
7540
 
    case $host_os in
7541
 
    aix3* | aix4* | aix5*)
7542
 
      # On AIX/PPC, the GNU linker is very broken
7543
 
      if test "$host_cpu" != ia64; then
7544
 
        ld_shlibs=no
7545
 
        cat <<EOF 1>&2
7546
 
 
7547
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
7548
 
*** to be unable to reliably create shared libraries on AIX.
7549
 
*** Therefore, libtool is disabling shared libraries support.  If you
7550
 
*** really care for shared libraries, you may want to modify your PATH
7551
 
*** so that a non-GNU linker is found, and then restart.
7552
 
 
7553
 
EOF
7554
 
      fi
7555
 
      ;;
7556
 
 
7557
 
    amigaos*)
7558
 
      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)'
7559
 
      hardcode_libdir_flag_spec='-L$libdir'
7560
 
      hardcode_minus_L=yes
7561
 
 
7562
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7563
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
7564
 
      # to version 4, is to share data among multiple programs linked
7565
 
      # with the same dynamic library.  Since this doesn't match the
7566
 
      # behavior of shared libraries on other platforms, we can't use
7567
 
      # them.
7568
 
      ld_shlibs=no
7569
 
      ;;
7570
 
 
7571
 
    beos*)
7572
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7573
 
        allow_undefined_flag=unsupported
7574
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7575
 
        # support --undefined.  This deserves some investigation.  FIXME
7576
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7577
 
      else
7578
 
        ld_shlibs=no
7579
 
      fi
7580
 
      ;;
7581
 
 
7582
 
    cygwin* | mingw* | pw32*)
7583
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7584
 
      # as there is no search path for DLLs.
7585
 
      hardcode_libdir_flag_spec='-L$libdir'
7586
 
      allow_undefined_flag=unsupported
7587
 
      always_export_symbols=no
7588
 
      enable_shared_with_static_runtimes=yes
7589
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7590
 
 
7591
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7592
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7593
 
        # If the export-symbols file already is a .def file (1st line
7594
 
        # is EXPORTS), use it as is; otherwise, prepend...
7595
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7596
 
          cp $export_symbols $output_objdir/$soname.def;
7597
 
        else
7598
 
          echo EXPORTS > $output_objdir/$soname.def;
7599
 
          cat $export_symbols >> $output_objdir/$soname.def;
7600
 
        fi~
7601
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7602
 
      else
7603
 
        ld_shlibs=no
7604
 
      fi
7605
 
      ;;
7606
 
 
7607
 
    interix3*)
7608
 
      hardcode_direct=no
7609
 
      hardcode_shlibpath_var=no
7610
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7611
 
      export_dynamic_flag_spec='${wl}-E'
7612
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7613
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
7614
 
      # default) and relocated if they conflict, which is a slow very memory
7615
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
7616
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7617
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
7618
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7619
 
      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'
7620
 
      ;;
7621
 
 
7622
 
    linux*)
7623
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7624
 
        tmp_addflag=
7625
 
        case $cc_basename,$host_cpu in
7626
 
        pgcc*)                          # Portland Group C compiler
7627
 
          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'
7628
 
          tmp_addflag=' $pic_flag'
7629
 
          ;;
7630
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
7631
 
          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'
7632
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
7633
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
7634
 
          tmp_addflag=' -i_dynamic' ;;
7635
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
7636
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
7637
 
        ifc* | ifort*)                  # Intel Fortran compiler
7638
 
          tmp_addflag=' -nofor_main' ;;
7639
 
        esac
7640
 
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7641
 
 
7642
 
        if test $supports_anon_versioning = yes; then
7643
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
7644
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7645
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
7646
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7647
 
        fi
7648
 
      else
7649
 
        ld_shlibs=no
7650
 
      fi
7651
 
      ;;
7652
 
 
7653
 
    netbsd*)
7654
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7655
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7656
 
        wlarc=
7657
 
      else
7658
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7659
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7660
 
      fi
7661
 
      ;;
7662
 
 
7663
 
    solaris*)
7664
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
7665
 
        ld_shlibs=no
7666
 
        cat <<EOF 1>&2
7667
 
 
7668
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
7669
 
*** create shared libraries on Solaris systems.  Therefore, libtool
7670
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
7671
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
7672
 
*** your PATH or compiler configuration so that the native linker is
7673
 
*** used, and then restart.
7674
 
 
7675
 
EOF
7676
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7677
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7678
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7679
 
      else
7680
 
        ld_shlibs=no
7681
 
      fi
7682
 
      ;;
7683
 
 
7684
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7685
 
      case `$LD -v 2>&1` in
7686
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7687
 
        ld_shlibs=no
7688
 
        cat <<_LT_EOF 1>&2
7689
 
 
7690
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7691
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
7692
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
7693
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
7694
 
*** your PATH or compiler configuration so that the native linker is
7695
 
*** used, and then restart.
7696
 
 
7697
 
_LT_EOF
7698
 
        ;;
7699
 
        *)
7700
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7701
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7702
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7703
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7704
 
          else
7705
 
            ld_shlibs=no
7706
 
          fi
7707
 
        ;;
7708
 
      esac
7709
 
      ;;
7710
 
 
7711
 
    sunos4*)
7712
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7713
 
      wlarc=
7714
 
      hardcode_direct=yes
7715
 
      hardcode_shlibpath_var=no
7716
 
      ;;
7717
 
 
7718
 
    *)
7719
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7720
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7721
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7722
 
      else
7723
 
        ld_shlibs=no
7724
 
      fi
7725
 
      ;;
7726
 
    esac
7727
 
 
7728
 
    if test "$ld_shlibs" = no; then
7729
 
      runpath_var=
7730
 
      hardcode_libdir_flag_spec=
7731
 
      export_dynamic_flag_spec=
7732
 
      whole_archive_flag_spec=
7733
 
    fi
7734
 
  else
7735
 
    # PORTME fill in a description of your system's linker (not GNU ld)
7736
 
    case $host_os in
7737
 
    aix3*)
7738
 
      allow_undefined_flag=unsupported
7739
 
      always_export_symbols=yes
7740
 
      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'
7741
 
      # Note: this linker hardcodes the directories in LIBPATH if there
7742
 
      # are no directories specified by -L.
7743
 
      hardcode_minus_L=yes
7744
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7745
 
        # Neither direct hardcoding nor static linking is supported with a
7746
 
        # broken collect2.
7747
 
        hardcode_direct=unsupported
7748
 
      fi
7749
 
      ;;
7750
 
 
7751
 
    aix4* | aix5*)
7752
 
      if test "$host_cpu" = ia64; then
7753
 
        # On IA64, the linker does run time linking by default, so we don't
7754
 
        # have to do anything special.
7755
 
        aix_use_runtimelinking=no
7756
 
        exp_sym_flag='-Bexport'
7757
 
        no_entry_flag=""
7758
 
      else
7759
 
        # If we're using GNU nm, then we don't want the "-C" option.
7760
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
7761
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
7762
 
          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'
7763
 
        else
7764
 
          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'
7765
 
        fi
7766
 
        aix_use_runtimelinking=no
7767
 
 
7768
 
        # Test if we are trying to use run time linking or normal
7769
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7770
 
        # need to do runtime linking.
7771
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
7772
 
          for ld_flag in $LDFLAGS; do
7773
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7774
 
            aix_use_runtimelinking=yes
7775
 
            break
7776
 
          fi
7777
 
          done
7778
 
          ;;
7779
 
        esac
7780
 
 
7781
 
        exp_sym_flag='-bexport'
7782
 
        no_entry_flag='-bnoentry'
7783
 
      fi
7784
 
 
7785
 
      # When large executables or shared objects are built, AIX ld can
7786
 
      # have problems creating the table of contents.  If linking a library
7787
 
      # or program results in "error TOC overflow" add -mminimal-toc to
7788
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
7789
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7790
 
 
7791
 
      archive_cmds=''
7792
 
      hardcode_direct=yes
7793
 
      hardcode_libdir_separator=':'
7794
 
      link_all_deplibs=yes
7795
 
 
7796
 
      if test "$GCC" = yes; then
7797
 
        case $host_os in aix4.[012]|aix4.[012].*)
7798
 
        # We only want to do this on AIX 4.2 and lower, the check
7799
 
        # below for broken collect2 doesn't work under 4.3+
7800
 
          collect2name=`${CC} -print-prog-name=collect2`
7801
 
          if test -f "$collect2name" && \
7802
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
7803
 
          then
7804
 
          # We have reworked collect2
7805
 
          hardcode_direct=yes
7806
 
          else
7807
 
          # We have old collect2
7808
 
          hardcode_direct=unsupported
7809
 
          # It fails to find uninstalled libraries when the uninstalled
7810
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
7811
 
          # to unsupported forces relinking
7812
 
          hardcode_minus_L=yes
7813
 
          hardcode_libdir_flag_spec='-L$libdir'
7814
 
          hardcode_libdir_separator=
7815
 
          fi
7816
 
          ;;
7817
 
        esac
7818
 
        shared_flag='-shared'
7819
 
        if test "$aix_use_runtimelinking" = yes; then
7820
 
          shared_flag="$shared_flag "'${wl}-G'
7821
 
        fi
7822
 
      else
7823
 
        # not using gcc
7824
 
        if test "$host_cpu" = ia64; then
7825
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7826
 
        # chokes on -Wl,-G. The following line is correct:
7827
 
          shared_flag='-G'
7828
 
        else
7829
 
          if test "$aix_use_runtimelinking" = yes; then
7830
 
            shared_flag='${wl}-G'
7831
 
          else
7832
 
            shared_flag='${wl}-bM:SRE'
7833
 
          fi
7834
 
        fi
7835
 
      fi
7836
 
 
7837
 
      # It seems that -bexpall does not export symbols beginning with
7838
 
      # underscore (_), so it is better to generate a list of symbols to export.
7839
 
      always_export_symbols=yes
7840
 
      if test "$aix_use_runtimelinking" = yes; then
7841
 
        # Warning - without using the other runtime loading flags (-brtl),
7842
 
        # -berok will link without error, but may produce a broken library.
7843
 
        allow_undefined_flag='-berok'
7844
 
       # Determine the default libpath from the value encoded in an empty executable.
7845
 
       cat >conftest.$ac_ext <<_ACEOF
7846
 
/* confdefs.h.  */
7847
 
_ACEOF
7848
 
cat confdefs.h >>conftest.$ac_ext
7849
 
cat >>conftest.$ac_ext <<_ACEOF
7850
 
/* end confdefs.h.  */
7851
 
 
7852
 
int
7853
 
main ()
7854
 
{
7855
 
 
7856
 
  ;
7857
 
  return 0;
7858
 
}
7859
 
_ACEOF
7860
 
rm -f conftest.$ac_objext conftest$ac_exeext
7861
 
if { (ac_try="$ac_link"
7862
 
case "(($ac_try" in
7863
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7864
 
  *) ac_try_echo=$ac_try;;
7865
 
esac
7866
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7867
 
  (eval "$ac_link") 2>conftest.er1
7868
 
  ac_status=$?
7869
 
  grep -v '^ *+' conftest.er1 >conftest.err
7870
 
  rm -f conftest.er1
7871
 
  cat conftest.err >&5
7872
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7873
 
  (exit $ac_status); } &&
7874
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7875
 
  { (case "(($ac_try" in
7876
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7877
 
  *) ac_try_echo=$ac_try;;
7878
 
esac
7879
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7880
 
  (eval "$ac_try") 2>&5
7881
 
  ac_status=$?
7882
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7883
 
  (exit $ac_status); }; } &&
7884
 
         { ac_try='test -s conftest$ac_exeext'
7885
 
  { (case "(($ac_try" in
7886
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7887
 
  *) ac_try_echo=$ac_try;;
7888
 
esac
7889
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7890
 
  (eval "$ac_try") 2>&5
7891
 
  ac_status=$?
7892
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7893
 
  (exit $ac_status); }; }; then
7894
 
 
7895
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7896
 
}'`
7897
 
# Check for a 64-bit object if we didn't find anything.
7898
 
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; }
7899
 
}'`; fi
7900
 
else
7901
 
  echo "$as_me: failed program was:" >&5
7902
 
sed 's/^/| /' conftest.$ac_ext >&5
7903
 
 
7904
 
 
7905
 
fi
7906
 
 
7907
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7908
 
      conftest$ac_exeext conftest.$ac_ext
7909
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7910
 
 
7911
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7912
 
        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"
7913
 
       else
7914
 
        if test "$host_cpu" = ia64; then
7915
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7916
 
          allow_undefined_flag="-z nodefs"
7917
 
          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"
7918
 
        else
7919
 
         # Determine the default libpath from the value encoded in an empty executable.
7920
 
         cat >conftest.$ac_ext <<_ACEOF
7921
 
/* confdefs.h.  */
7922
 
_ACEOF
7923
 
cat confdefs.h >>conftest.$ac_ext
7924
 
cat >>conftest.$ac_ext <<_ACEOF
7925
 
/* end confdefs.h.  */
7926
 
 
7927
 
int
7928
 
main ()
7929
 
{
7930
 
 
7931
 
  ;
7932
 
  return 0;
7933
 
}
7934
 
_ACEOF
7935
 
rm -f conftest.$ac_objext conftest$ac_exeext
7936
 
if { (ac_try="$ac_link"
7937
 
case "(($ac_try" in
7938
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7939
 
  *) ac_try_echo=$ac_try;;
7940
 
esac
7941
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7942
 
  (eval "$ac_link") 2>conftest.er1
7943
 
  ac_status=$?
7944
 
  grep -v '^ *+' conftest.er1 >conftest.err
7945
 
  rm -f conftest.er1
7946
 
  cat conftest.err >&5
7947
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7948
 
  (exit $ac_status); } &&
7949
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7950
 
  { (case "(($ac_try" in
7951
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7952
 
  *) ac_try_echo=$ac_try;;
7953
 
esac
7954
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7955
 
  (eval "$ac_try") 2>&5
7956
 
  ac_status=$?
7957
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7958
 
  (exit $ac_status); }; } &&
7959
 
         { ac_try='test -s conftest$ac_exeext'
7960
 
  { (case "(($ac_try" in
7961
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7962
 
  *) ac_try_echo=$ac_try;;
7963
 
esac
7964
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7965
 
  (eval "$ac_try") 2>&5
7966
 
  ac_status=$?
7967
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7968
 
  (exit $ac_status); }; }; then
7969
 
 
7970
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7971
 
}'`
7972
 
# Check for a 64-bit object if we didn't find anything.
7973
 
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; }
7974
 
}'`; fi
7975
 
else
7976
 
  echo "$as_me: failed program was:" >&5
7977
 
sed 's/^/| /' conftest.$ac_ext >&5
7978
 
 
7979
 
 
7980
 
fi
7981
 
 
7982
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7983
 
      conftest$ac_exeext conftest.$ac_ext
7984
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7985
 
 
7986
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7987
 
          # Warning - without using the other run time loading flags,
7988
 
          # -berok will link without error, but may produce a broken library.
7989
 
          no_undefined_flag=' ${wl}-bernotok'
7990
 
          allow_undefined_flag=' ${wl}-berok'
7991
 
          # Exported symbols can be pulled into shared objects from archives
7992
 
          whole_archive_flag_spec='$convenience'
7993
 
          archive_cmds_need_lc=yes
7994
 
          # This is similar to how AIX traditionally builds its shared libraries.
7995
 
          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'
7996
 
        fi
7997
 
      fi
7998
 
      ;;
7999
 
 
8000
 
    amigaos*)
8001
 
      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)'
8002
 
      hardcode_libdir_flag_spec='-L$libdir'
8003
 
      hardcode_minus_L=yes
8004
 
      # see comment about different semantics on the GNU ld section
8005
 
      ld_shlibs=no
8006
 
      ;;
8007
 
 
8008
 
    bsdi[45]*)
8009
 
      export_dynamic_flag_spec=-rdynamic
8010
 
      ;;
8011
 
 
8012
 
    cygwin* | mingw* | pw32*)
8013
 
      # When not using gcc, we currently assume that we are using
8014
 
      # Microsoft Visual C++.
8015
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8016
 
      # no search path for DLLs.
8017
 
      hardcode_libdir_flag_spec=' '
8018
 
      allow_undefined_flag=unsupported
8019
 
      # Tell ltmain to make .lib files, not .a files.
8020
 
      libext=lib
8021
 
      # Tell ltmain to make .dll files, not .so files.
8022
 
      shrext_cmds=".dll"
8023
 
      # FIXME: Setting linknames here is a bad hack.
8024
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8025
 
      # The linker will automatically build a .lib file if we build a DLL.
8026
 
      old_archive_From_new_cmds='true'
8027
 
      # FIXME: Should let the user specify the lib program.
8028
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
8029
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8030
 
      enable_shared_with_static_runtimes=yes
8031
 
      ;;
8032
 
 
8033
 
    darwin* | rhapsody*)
8034
 
      case $host_os in
8035
 
        rhapsody* | darwin1.[012])
8036
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
8037
 
         ;;
8038
 
       *) # Darwin 1.3 on
8039
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8040
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8041
 
         else
8042
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
8043
 
             10.[012])
8044
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8045
 
               ;;
8046
 
             10.*)
8047
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8048
 
               ;;
8049
 
           esac
8050
 
         fi
8051
 
         ;;
8052
 
      esac
8053
 
      archive_cmds_need_lc=no
8054
 
      hardcode_direct=no
8055
 
      hardcode_automatic=yes
8056
 
      hardcode_shlibpath_var=unsupported
8057
 
      whole_archive_flag_spec=''
8058
 
      link_all_deplibs=yes
8059
 
    if test "$GCC" = yes ; then
8060
 
        output_verbose_link_cmd='echo'
8061
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8062
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8063
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8064
 
      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}'
8065
 
      module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8066
 
    else
8067
 
      case $cc_basename in
8068
 
        xlc*)
8069
 
         output_verbose_link_cmd='echo'
8070
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8071
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8072
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8073
 
         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}'
8074
 
          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}'
8075
 
          ;;
8076
 
       *)
8077
 
         ld_shlibs=no
8078
 
          ;;
8079
 
      esac
8080
 
    fi
8081
 
      ;;
8082
 
 
8083
 
    dgux*)
8084
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8085
 
      hardcode_libdir_flag_spec='-L$libdir'
8086
 
      hardcode_shlibpath_var=no
8087
 
      ;;
8088
 
 
8089
 
    freebsd1*)
8090
 
      ld_shlibs=no
8091
 
      ;;
8092
 
 
8093
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8094
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
8095
 
    # does not break anything, and helps significantly (at the cost of a little
8096
 
    # extra space).
8097
 
    freebsd2.2*)
8098
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8099
 
      hardcode_libdir_flag_spec='-R$libdir'
8100
 
      hardcode_direct=yes
8101
 
      hardcode_shlibpath_var=no
8102
 
      ;;
8103
 
 
8104
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8105
 
    freebsd2*)
8106
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8107
 
      hardcode_direct=yes
8108
 
      hardcode_minus_L=yes
8109
 
      hardcode_shlibpath_var=no
8110
 
      ;;
8111
 
 
8112
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8113
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
8114
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8115
 
      hardcode_libdir_flag_spec='-R$libdir'
8116
 
      hardcode_direct=yes
8117
 
      hardcode_shlibpath_var=no
8118
 
      ;;
8119
 
 
8120
 
    hpux9*)
8121
 
      if test "$GCC" = yes; then
8122
 
        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'
8123
 
      else
8124
 
        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'
8125
 
      fi
8126
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8127
 
      hardcode_libdir_separator=:
8128
 
      hardcode_direct=yes
8129
 
 
8130
 
      # hardcode_minus_L: Not really in the search PATH,
8131
 
      # but as the default location of the library.
8132
 
      hardcode_minus_L=yes
8133
 
      export_dynamic_flag_spec='${wl}-E'
8134
 
      ;;
8135
 
 
8136
 
    hpux10*)
8137
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8138
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8139
 
      else
8140
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8141
 
      fi
8142
 
      if test "$with_gnu_ld" = no; then
8143
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8144
 
        hardcode_libdir_separator=:
8145
 
 
8146
 
        hardcode_direct=yes
8147
 
        export_dynamic_flag_spec='${wl}-E'
8148
 
 
8149
 
        # hardcode_minus_L: Not really in the search PATH,
8150
 
        # but as the default location of the library.
8151
 
        hardcode_minus_L=yes
8152
 
      fi
8153
 
      ;;
8154
 
 
8155
 
    hpux11*)
8156
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8157
 
        case $host_cpu in
8158
 
        hppa*64*)
8159
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8160
 
          ;;
8161
 
        ia64*)
8162
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8163
 
          ;;
8164
 
        *)
8165
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8166
 
          ;;
8167
 
        esac
8168
 
      else
8169
 
        case $host_cpu in
8170
 
        hppa*64*)
8171
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8172
 
          ;;
8173
 
        ia64*)
8174
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8175
 
          ;;
8176
 
        *)
8177
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8178
 
          ;;
8179
 
        esac
8180
 
      fi
8181
 
      if test "$with_gnu_ld" = no; then
8182
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8183
 
        hardcode_libdir_separator=:
8184
 
 
8185
 
        case $host_cpu in
8186
 
        hppa*64*|ia64*)
8187
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
8188
 
          hardcode_direct=no
8189
 
          hardcode_shlibpath_var=no
8190
 
          ;;
8191
 
        *)
8192
 
          hardcode_direct=yes
8193
 
          export_dynamic_flag_spec='${wl}-E'
8194
 
 
8195
 
          # hardcode_minus_L: Not really in the search PATH,
8196
 
          # but as the default location of the library.
8197
 
          hardcode_minus_L=yes
8198
 
          ;;
8199
 
        esac
8200
 
      fi
8201
 
      ;;
8202
 
 
8203
 
    irix5* | irix6* | nonstopux*)
8204
 
      if test "$GCC" = yes; then
8205
 
        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'
8206
 
      else
8207
 
        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'
8208
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
8209
 
      fi
8210
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8211
 
      hardcode_libdir_separator=:
8212
 
      link_all_deplibs=yes
8213
 
      ;;
8214
 
 
8215
 
    netbsd*)
8216
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8217
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8218
 
      else
8219
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8220
 
      fi
8221
 
      hardcode_libdir_flag_spec='-R$libdir'
8222
 
      hardcode_direct=yes
8223
 
      hardcode_shlibpath_var=no
8224
 
      ;;
8225
 
 
8226
 
    newsos6)
8227
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8228
 
      hardcode_direct=yes
8229
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8230
 
      hardcode_libdir_separator=:
8231
 
      hardcode_shlibpath_var=no
8232
 
      ;;
8233
 
 
8234
 
    openbsd*)
8235
 
      hardcode_direct=yes
8236
 
      hardcode_shlibpath_var=no
8237
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8238
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8239
 
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8240
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8241
 
        export_dynamic_flag_spec='${wl}-E'
8242
 
      else
8243
 
       case $host_os in
8244
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8245
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8246
 
           hardcode_libdir_flag_spec='-R$libdir'
8247
 
           ;;
8248
 
         *)
8249
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8250
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8251
 
           ;;
8252
 
       esac
8253
 
      fi
8254
 
      ;;
8255
 
 
8256
 
    os2*)
8257
 
      hardcode_libdir_flag_spec='-L$libdir'
8258
 
      hardcode_minus_L=yes
8259
 
      allow_undefined_flag=unsupported
8260
 
      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'
8261
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8262
 
      ;;
8263
 
 
8264
 
    osf3*)
8265
 
      if test "$GCC" = yes; then
8266
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8267
 
        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'
8268
 
      else
8269
 
        allow_undefined_flag=' -expect_unresolved \*'
8270
 
        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'
8271
 
      fi
8272
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8273
 
      hardcode_libdir_separator=:
8274
 
      ;;
8275
 
 
8276
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8277
 
      if test "$GCC" = yes; then
8278
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8279
 
        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'
8280
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8281
 
      else
8282
 
        allow_undefined_flag=' -expect_unresolved \*'
8283
 
        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'
8284
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8285
 
        $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'
8286
 
 
8287
 
        # Both c and cxx compiler support -rpath directly
8288
 
        hardcode_libdir_flag_spec='-rpath $libdir'
8289
 
      fi
8290
 
      hardcode_libdir_separator=:
8291
 
      ;;
8292
 
 
8293
 
    solaris*)
8294
 
      no_undefined_flag=' -z text'
8295
 
      if test "$GCC" = yes; then
8296
 
        wlarc='${wl}'
8297
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8298
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8299
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8300
 
      else
8301
 
        wlarc=''
8302
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8303
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8304
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8305
 
      fi
8306
 
      hardcode_libdir_flag_spec='-R$libdir'
8307
 
      hardcode_shlibpath_var=no
8308
 
      case $host_os in
8309
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
8310
 
      *)
8311
 
        # The compiler driver will combine linker options so we
8312
 
        # cannot just pass the convience library names through
8313
 
        # without $wl, iff we do not link with $LD.
8314
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
8315
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
8316
 
        case $wlarc in
8317
 
        '')
8318
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
8319
 
        *)
8320
 
          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' ;;
8321
 
        esac ;;
8322
 
      esac
8323
 
      link_all_deplibs=yes
8324
 
      ;;
8325
 
 
8326
 
    sunos4*)
8327
 
      if test "x$host_vendor" = xsequent; then
8328
 
        # Use $CC to link under sequent, because it throws in some extra .o
8329
 
        # files that make .init and .fini sections work.
8330
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8331
 
      else
8332
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8333
 
      fi
8334
 
      hardcode_libdir_flag_spec='-L$libdir'
8335
 
      hardcode_direct=yes
8336
 
      hardcode_minus_L=yes
8337
 
      hardcode_shlibpath_var=no
8338
 
      ;;
8339
 
 
8340
 
    sysv4)
8341
 
      case $host_vendor in
8342
 
        sni)
8343
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8344
 
          hardcode_direct=yes # is this really true???
8345
 
        ;;
8346
 
        siemens)
8347
 
          ## LD is ld it makes a PLAMLIB
8348
 
          ## CC just makes a GrossModule.
8349
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8350
 
          reload_cmds='$CC -r -o $output$reload_objs'
8351
 
          hardcode_direct=no
8352
 
        ;;
8353
 
        motorola)
8354
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8355
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8356
 
        ;;
8357
 
      esac
8358
 
      runpath_var='LD_RUN_PATH'
8359
 
      hardcode_shlibpath_var=no
8360
 
      ;;
8361
 
 
8362
 
    sysv4.3*)
8363
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8364
 
      hardcode_shlibpath_var=no
8365
 
      export_dynamic_flag_spec='-Bexport'
8366
 
      ;;
8367
 
 
8368
 
    sysv4*MP*)
8369
 
      if test -d /usr/nec; then
8370
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8371
 
        hardcode_shlibpath_var=no
8372
 
        runpath_var=LD_RUN_PATH
8373
 
        hardcode_runpath_var=yes
8374
 
        ld_shlibs=yes
8375
 
      fi
8376
 
      ;;
8377
 
 
8378
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
8379
 
      no_undefined_flag='${wl}-z,text'
8380
 
      archive_cmds_need_lc=no
8381
 
      hardcode_shlibpath_var=no
8382
 
      runpath_var='LD_RUN_PATH'
8383
 
 
8384
 
      if test "$GCC" = yes; then
8385
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8386
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8387
 
      else
8388
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8389
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8390
 
      fi
8391
 
      ;;
8392
 
 
8393
 
    sysv5* | sco3.2v5* | sco5v6*)
8394
 
      # Note: We can NOT use -z defs as we might desire, because we do not
8395
 
      # link with -lc, and that would cause any symbols used from libc to
8396
 
      # always be unresolved, which means just about no library would
8397
 
      # ever link correctly.  If we're not using GNU ld we use -z text
8398
 
      # though, which does catch some bad symbols but isn't as heavy-handed
8399
 
      # as -z defs.
8400
 
      no_undefined_flag='${wl}-z,text'
8401
 
      allow_undefined_flag='${wl}-z,nodefs'
8402
 
      archive_cmds_need_lc=no
8403
 
      hardcode_shlibpath_var=no
8404
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8405
 
      hardcode_libdir_separator=':'
8406
 
      link_all_deplibs=yes
8407
 
      export_dynamic_flag_spec='${wl}-Bexport'
8408
 
      runpath_var='LD_RUN_PATH'
8409
 
 
8410
 
      if test "$GCC" = yes; then
8411
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8412
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8413
 
      else
8414
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8415
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8416
 
      fi
8417
 
      ;;
8418
 
 
8419
 
    uts4*)
8420
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8421
 
      hardcode_libdir_flag_spec='-L$libdir'
8422
 
      hardcode_shlibpath_var=no
8423
 
      ;;
8424
 
 
8425
 
    *)
8426
 
      ld_shlibs=no
8427
 
      ;;
8428
 
    esac
8429
 
  fi
8430
 
 
8431
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8432
 
echo "${ECHO_T}$ld_shlibs" >&6; }
8433
 
test "$ld_shlibs" = no && can_build_shared=no
8434
 
 
8435
 
#
8436
 
# Do we need to explicitly link libc?
8437
 
#
8438
 
case "x$archive_cmds_need_lc" in
8439
 
x|xyes)
8440
 
  # Assume -lc should be added
8441
 
  archive_cmds_need_lc=yes
8442
 
 
8443
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
8444
 
    case $archive_cmds in
8445
 
    *'~'*)
8446
 
      # FIXME: we may have to deal with multi-command sequences.
8447
 
      ;;
8448
 
    '$CC '*)
8449
 
      # Test whether the compiler implicitly links with -lc since on some
8450
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
8451
 
      # to ld, don't add -lc before -lgcc.
8452
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8453
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8454
 
      $rm conftest*
8455
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8456
 
 
8457
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8458
 
  (eval $ac_compile) 2>&5
8459
 
  ac_status=$?
8460
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8461
 
  (exit $ac_status); } 2>conftest.err; then
8462
 
        soname=conftest
8463
 
        lib=conftest
8464
 
        libobjs=conftest.$ac_objext
8465
 
        deplibs=
8466
 
        wl=$lt_prog_compiler_wl
8467
 
        pic_flag=$lt_prog_compiler_pic
8468
 
        compiler_flags=-v
8469
 
        linker_flags=-v
8470
 
        verstring=
8471
 
        output_objdir=.
8472
 
        libname=conftest
8473
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
8474
 
        allow_undefined_flag=
8475
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8476
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
8477
 
  ac_status=$?
8478
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8479
 
  (exit $ac_status); }
8480
 
        then
8481
 
          archive_cmds_need_lc=no
8482
 
        else
8483
 
          archive_cmds_need_lc=yes
8484
 
        fi
8485
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
8486
 
      else
8487
 
        cat conftest.err 1>&5
8488
 
      fi
8489
 
      $rm conftest*
8490
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8491
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8492
 
      ;;
8493
 
    esac
8494
 
  fi
8495
 
  ;;
8496
 
esac
8497
 
 
8498
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8499
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8500
 
library_names_spec=
8501
 
libname_spec='lib$name'
8502
 
soname_spec=
8503
 
shrext_cmds=".so"
8504
 
postinstall_cmds=
8505
 
postuninstall_cmds=
8506
 
finish_cmds=
8507
 
finish_eval=
8508
 
shlibpath_var=
8509
 
shlibpath_overrides_runpath=unknown
8510
 
version_type=none
8511
 
dynamic_linker="$host_os ld.so"
8512
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
8513
 
if test "$GCC" = yes; then
8514
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8515
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
8516
 
    # if the path contains ";" then we assume it to be the separator
8517
 
    # otherwise default to the standard path separator (i.e. ":") - it is
8518
 
    # assumed that no part of a normal pathname contains ";" but that should
8519
 
    # okay in the real world where ";" in dirpaths is itself problematic.
8520
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8521
 
  else
8522
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8523
 
  fi
8524
 
else
8525
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8526
 
fi
8527
 
need_lib_prefix=unknown
8528
 
hardcode_into_libs=no
8529
 
 
8530
 
# when you set need_version to no, make sure it does not cause -set_version
8531
 
# flags to be left without arguments
8532
 
need_version=unknown
8533
 
 
8534
 
case $host_os in
8535
 
aix3*)
8536
 
  version_type=linux
8537
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8538
 
  shlibpath_var=LIBPATH
8539
 
 
8540
 
  # AIX 3 has no versioning support, so we append a major version to the name.
8541
 
  soname_spec='${libname}${release}${shared_ext}$major'
8542
 
  ;;
8543
 
 
8544
 
aix4* | aix5*)
8545
 
  version_type=linux
8546
 
  need_lib_prefix=no
8547
 
  need_version=no
8548
 
  hardcode_into_libs=yes
8549
 
  if test "$host_cpu" = ia64; then
8550
 
    # AIX 5 supports IA64
8551
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8552
 
    shlibpath_var=LD_LIBRARY_PATH
8553
 
  else
8554
 
    # With GCC up to 2.95.x, collect2 would create an import file
8555
 
    # for dependence libraries.  The import file would start with
8556
 
    # the line `#! .'.  This would cause the generated library to
8557
 
    # depend on `.', always an invalid library.  This was fixed in
8558
 
    # development snapshots of GCC prior to 3.0.
8559
 
    case $host_os in
8560
 
      aix4 | aix4.[01] | aix4.[01].*)
8561
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8562
 
           echo ' yes '
8563
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
8564
 
        :
8565
 
      else
8566
 
        can_build_shared=no
8567
 
      fi
8568
 
      ;;
8569
 
    esac
8570
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8571
 
    # soname into executable. Probably we can add versioning support to
8572
 
    # collect2, so additional links can be useful in future.
8573
 
    if test "$aix_use_runtimelinking" = yes; then
8574
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8575
 
      # instead of lib<name>.a to let people know that these are not
8576
 
      # typical AIX shared libraries.
8577
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8578
 
    else
8579
 
      # We preserve .a as extension for shared libraries through AIX4.2
8580
 
      # and later when we are not doing run time linking.
8581
 
      library_names_spec='${libname}${release}.a $libname.a'
8582
 
      soname_spec='${libname}${release}${shared_ext}$major'
8583
 
    fi
8584
 
    shlibpath_var=LIBPATH
8585
 
  fi
8586
 
  ;;
8587
 
 
8588
 
amigaos*)
8589
 
  library_names_spec='$libname.ixlibrary $libname.a'
8590
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
8591
 
  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'
8592
 
  ;;
8593
 
 
8594
 
beos*)
8595
 
  library_names_spec='${libname}${shared_ext}'
8596
 
  dynamic_linker="$host_os ld.so"
8597
 
  shlibpath_var=LIBRARY_PATH
8598
 
  ;;
8599
 
 
8600
 
bsdi[45]*)
8601
 
  version_type=linux
8602
 
  need_version=no
8603
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8604
 
  soname_spec='${libname}${release}${shared_ext}$major'
8605
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
8606
 
  shlibpath_var=LD_LIBRARY_PATH
8607
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8608
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
8609
 
  # the default ld.so.conf also contains /usr/contrib/lib and
8610
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8611
 
  # libtool to hard-code these into programs
8612
 
  ;;
8613
 
 
8614
 
cygwin* | mingw* | pw32*)
8615
 
  version_type=windows
8616
 
  shrext_cmds=".dll"
8617
 
  need_version=no
8618
 
  need_lib_prefix=no
8619
 
 
8620
 
  case $GCC,$host_os in
8621
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
8622
 
    library_names_spec='$libname.dll.a'
8623
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
8624
 
    postinstall_cmds='base_file=`basename \${file}`~
8625
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8626
 
      dldir=$destdir/`dirname \$dlpath`~
8627
 
      test -d \$dldir || mkdir -p \$dldir~
8628
 
      $install_prog $dir/$dlname \$dldir/$dlname~
8629
 
      chmod a+x \$dldir/$dlname'
8630
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8631
 
      dlpath=$dir/\$dldll~
8632
 
       $rm \$dlpath'
8633
 
    shlibpath_overrides_runpath=yes
8634
 
 
8635
 
    case $host_os in
8636
 
    cygwin*)
8637
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8638
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8639
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8640
 
      ;;
8641
 
    mingw*)
8642
 
      # MinGW DLLs use traditional 'lib' prefix
8643
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8644
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8645
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
8646
 
        # It is most probably a Windows format PATH printed by
8647
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
8648
 
        # path with ; separators, and with drive letters. We can handle the
8649
 
        # drive letters (cygwin fileutils understands them), so leave them,
8650
 
        # especially as we might pass files found there to a mingw objdump,
8651
 
        # which wouldn't understand a cygwinified path. Ahh.
8652
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8653
 
      else
8654
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8655
 
      fi
8656
 
      ;;
8657
 
    pw32*)
8658
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
8659
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8660
 
      ;;
8661
 
    esac
8662
 
    ;;
8663
 
 
8664
 
  *)
8665
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8666
 
    ;;
8667
 
  esac
8668
 
  dynamic_linker='Win32 ld.exe'
8669
 
  # FIXME: first we should search . and the directory the executable is in
8670
 
  shlibpath_var=PATH
8671
 
  ;;
8672
 
 
8673
 
darwin* | rhapsody*)
8674
 
  dynamic_linker="$host_os dyld"
8675
 
  version_type=darwin
8676
 
  need_lib_prefix=no
8677
 
  need_version=no
8678
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8679
 
  soname_spec='${libname}${release}${major}$shared_ext'
8680
 
  shlibpath_overrides_runpath=yes
8681
 
  shlibpath_var=DYLD_LIBRARY_PATH
8682
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8683
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8684
 
  if test "$GCC" = yes; then
8685
 
    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"`
8686
 
  else
8687
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
8688
 
  fi
8689
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8690
 
  ;;
8691
 
 
8692
 
dgux*)
8693
 
  version_type=linux
8694
 
  need_lib_prefix=no
8695
 
  need_version=no
8696
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8697
 
  soname_spec='${libname}${release}${shared_ext}$major'
8698
 
  shlibpath_var=LD_LIBRARY_PATH
8699
 
  ;;
8700
 
 
8701
 
freebsd1*)
8702
 
  dynamic_linker=no
8703
 
  ;;
8704
 
 
8705
 
kfreebsd*-gnu)
8706
 
  version_type=linux
8707
 
  need_lib_prefix=no
8708
 
  need_version=no
8709
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8710
 
  soname_spec='${libname}${release}${shared_ext}$major'
8711
 
  shlibpath_var=LD_LIBRARY_PATH
8712
 
  shlibpath_overrides_runpath=no
8713
 
  hardcode_into_libs=yes
8714
 
  dynamic_linker='GNU ld.so'
8715
 
  ;;
8716
 
 
8717
 
freebsd* | dragonfly*)
8718
 
  # DragonFly does not have aout.  When/if they implement a new
8719
 
  # versioning mechanism, adjust this.
8720
 
  if test -x /usr/bin/objformat; then
8721
 
    objformat=`/usr/bin/objformat`
8722
 
  else
8723
 
    case $host_os in
8724
 
    freebsd[123]*) objformat=aout ;;
8725
 
    *) objformat=elf ;;
8726
 
    esac
8727
 
  fi
8728
 
  version_type=freebsd-$objformat
8729
 
  case $version_type in
8730
 
    freebsd-elf*)
8731
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8732
 
      need_version=no
8733
 
      need_lib_prefix=no
8734
 
      ;;
8735
 
    freebsd-*)
8736
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8737
 
      need_version=yes
8738
 
      ;;
8739
 
  esac
8740
 
  shlibpath_var=LD_LIBRARY_PATH
8741
 
  case $host_os in
8742
 
  freebsd2*)
8743
 
    shlibpath_overrides_runpath=yes
8744
 
    ;;
8745
 
  freebsd3.[01]* | freebsdelf3.[01]*)
8746
 
    shlibpath_overrides_runpath=yes
8747
 
    hardcode_into_libs=yes
8748
 
    ;;
8749
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
8750
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8751
 
    shlibpath_overrides_runpath=no
8752
 
    hardcode_into_libs=yes
8753
 
    ;;
8754
 
  freebsd*) # from 4.6 on
8755
 
    shlibpath_overrides_runpath=yes
8756
 
    hardcode_into_libs=yes
8757
 
    ;;
8758
 
  esac
8759
 
  ;;
8760
 
 
8761
 
gnu*)
8762
 
  version_type=linux
8763
 
  need_lib_prefix=no
8764
 
  need_version=no
8765
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8766
 
  soname_spec='${libname}${release}${shared_ext}$major'
8767
 
  shlibpath_var=LD_LIBRARY_PATH
8768
 
  hardcode_into_libs=yes
8769
 
  ;;
8770
 
 
8771
 
hpux9* | hpux10* | hpux11*)
8772
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
8773
 
  # link against other versions.
8774
 
  version_type=sunos
8775
 
  need_lib_prefix=no
8776
 
  need_version=no
8777
 
  case $host_cpu in
8778
 
  ia64*)
8779
 
    shrext_cmds='.so'
8780
 
    hardcode_into_libs=yes
8781
 
    dynamic_linker="$host_os dld.so"
8782
 
    shlibpath_var=LD_LIBRARY_PATH
8783
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8784
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8785
 
    soname_spec='${libname}${release}${shared_ext}$major'
8786
 
    if test "X$HPUX_IA64_MODE" = X32; then
8787
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8788
 
    else
8789
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
8790
 
    fi
8791
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8792
 
    ;;
8793
 
   hppa*64*)
8794
 
     shrext_cmds='.sl'
8795
 
     hardcode_into_libs=yes
8796
 
     dynamic_linker="$host_os dld.sl"
8797
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8798
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8799
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8800
 
     soname_spec='${libname}${release}${shared_ext}$major'
8801
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8802
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8803
 
     ;;
8804
 
   *)
8805
 
    shrext_cmds='.sl'
8806
 
    dynamic_linker="$host_os dld.sl"
8807
 
    shlibpath_var=SHLIB_PATH
8808
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8809
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8810
 
    soname_spec='${libname}${release}${shared_ext}$major'
8811
 
    ;;
8812
 
  esac
8813
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
8814
 
  postinstall_cmds='chmod 555 $lib'
8815
 
  ;;
8816
 
 
8817
 
interix3*)
8818
 
  version_type=linux
8819
 
  need_lib_prefix=no
8820
 
  need_version=no
8821
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8822
 
  soname_spec='${libname}${release}${shared_ext}$major'
8823
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8824
 
  shlibpath_var=LD_LIBRARY_PATH
8825
 
  shlibpath_overrides_runpath=no
8826
 
  hardcode_into_libs=yes
8827
 
  ;;
8828
 
 
8829
 
irix5* | irix6* | nonstopux*)
8830
 
  case $host_os in
8831
 
    nonstopux*) version_type=nonstopux ;;
8832
 
    *)
8833
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
8834
 
                version_type=linux
8835
 
        else
8836
 
                version_type=irix
8837
 
        fi ;;
8838
 
  esac
8839
 
  need_lib_prefix=no
8840
 
  need_version=no
8841
 
  soname_spec='${libname}${release}${shared_ext}$major'
8842
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8843
 
  case $host_os in
8844
 
  irix5* | nonstopux*)
8845
 
    libsuff= shlibsuff=
8846
 
    ;;
8847
 
  *)
8848
 
    case $LD in # libtool.m4 will add one of these switches to LD
8849
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8850
 
      libsuff= shlibsuff= libmagic=32-bit;;
8851
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8852
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
8853
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8854
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
8855
 
    *) libsuff= shlibsuff= libmagic=never-match;;
8856
 
    esac
8857
 
    ;;
8858
 
  esac
8859
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
8860
 
  shlibpath_overrides_runpath=no
8861
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8862
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8863
 
  hardcode_into_libs=yes
8864
 
  ;;
8865
 
 
8866
 
# No shared lib support for Linux oldld, aout, or coff.
8867
 
linux*oldld* | linux*aout* | linux*coff*)
8868
 
  dynamic_linker=no
8869
 
  ;;
8870
 
 
8871
 
# This must be Linux ELF.
8872
 
linux*)
8873
 
  version_type=linux
8874
 
  need_lib_prefix=no
8875
 
  need_version=no
8876
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8877
 
  soname_spec='${libname}${release}${shared_ext}$major'
8878
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8879
 
  shlibpath_var=LD_LIBRARY_PATH
8880
 
  shlibpath_overrides_runpath=no
8881
 
  # This implies no fast_install, which is unacceptable.
8882
 
  # Some rework will be needed to allow for fast_install
8883
 
  # before this can be enabled.
8884
 
  hardcode_into_libs=yes
8885
 
 
8886
 
  # find out which ABI we are using
8887
 
  libsuff=
8888
 
  case "$host_cpu" in
8889
 
  x86_64*|s390x*|powerpc64*)
8890
 
    echo '#line 8890 "configure"' > conftest.$ac_ext
8891
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8892
 
  (eval $ac_compile) 2>&5
8893
 
  ac_status=$?
8894
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8895
 
  (exit $ac_status); }; then
8896
 
      case `/usr/bin/file conftest.$ac_objext` in
8897
 
      *64-bit*)
8898
 
        libsuff=64
8899
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
8900
 
        ;;
8901
 
      esac
8902
 
    fi
8903
 
    rm -rf conftest*
8904
 
    ;;
8905
 
  esac
8906
 
 
8907
 
  # Append ld.so.conf contents to the search path
8908
 
  if test -f /etc/ld.so.conf; then
8909
 
    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' ' '`
8910
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
8911
 
  fi
8912
 
 
8913
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
8914
 
  # powerpc, because MkLinux only supported shared libraries with the
8915
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
8916
 
  # most powerpc-linux boxes support dynamic linking these days and
8917
 
  # people can always --disable-shared, the test was removed, and we
8918
 
  # assume the GNU/Linux dynamic linker is in use.
8919
 
  dynamic_linker='GNU/Linux ld.so'
8920
 
  ;;
8921
 
 
8922
 
knetbsd*-gnu)
8923
 
  version_type=linux
8924
 
  need_lib_prefix=no
8925
 
  need_version=no
8926
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8927
 
  soname_spec='${libname}${release}${shared_ext}$major'
8928
 
  shlibpath_var=LD_LIBRARY_PATH
8929
 
  shlibpath_overrides_runpath=no
8930
 
  hardcode_into_libs=yes
8931
 
  dynamic_linker='GNU ld.so'
8932
 
  ;;
8933
 
 
8934
 
netbsd*)
8935
 
  version_type=sunos
8936
 
  need_lib_prefix=no
8937
 
  need_version=no
8938
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8939
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8940
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8941
 
    dynamic_linker='NetBSD (a.out) ld.so'
8942
 
  else
8943
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8944
 
    soname_spec='${libname}${release}${shared_ext}$major'
8945
 
    dynamic_linker='NetBSD ld.elf_so'
8946
 
  fi
8947
 
  shlibpath_var=LD_LIBRARY_PATH
8948
 
  shlibpath_overrides_runpath=yes
8949
 
  hardcode_into_libs=yes
8950
 
  ;;
8951
 
 
8952
 
newsos6)
8953
 
  version_type=linux
8954
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8955
 
  shlibpath_var=LD_LIBRARY_PATH
8956
 
  shlibpath_overrides_runpath=yes
8957
 
  ;;
8958
 
 
8959
 
nto-qnx*)
8960
 
  version_type=linux
8961
 
  need_lib_prefix=no
8962
 
  need_version=no
8963
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8964
 
  soname_spec='${libname}${release}${shared_ext}$major'
8965
 
  shlibpath_var=LD_LIBRARY_PATH
8966
 
  shlibpath_overrides_runpath=yes
8967
 
  ;;
8968
 
 
8969
 
openbsd*)
8970
 
  version_type=sunos
8971
 
  sys_lib_dlsearch_path_spec="/usr/lib"
8972
 
  need_lib_prefix=no
8973
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8974
 
  case $host_os in
8975
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
8976
 
    *)                         need_version=no  ;;
8977
 
  esac
8978
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8979
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8980
 
  shlibpath_var=LD_LIBRARY_PATH
8981
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8982
 
    case $host_os in
8983
 
      openbsd2.[89] | openbsd2.[89].*)
8984
 
        shlibpath_overrides_runpath=no
8985
 
        ;;
8986
 
      *)
8987
 
        shlibpath_overrides_runpath=yes
8988
 
        ;;
8989
 
      esac
8990
 
  else
8991
 
    shlibpath_overrides_runpath=yes
8992
 
  fi
8993
 
  ;;
8994
 
 
8995
 
os2*)
8996
 
  libname_spec='$name'
8997
 
  shrext_cmds=".dll"
8998
 
  need_lib_prefix=no
8999
 
  library_names_spec='$libname${shared_ext} $libname.a'
9000
 
  dynamic_linker='OS/2 ld.exe'
9001
 
  shlibpath_var=LIBPATH
9002
 
  ;;
9003
 
 
9004
 
osf3* | osf4* | osf5*)
9005
 
  version_type=osf
9006
 
  need_lib_prefix=no
9007
 
  need_version=no
9008
 
  soname_spec='${libname}${release}${shared_ext}$major'
9009
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9010
 
  shlibpath_var=LD_LIBRARY_PATH
9011
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9012
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9013
 
  ;;
9014
 
 
9015
 
solaris*)
9016
 
  version_type=linux
9017
 
  need_lib_prefix=no
9018
 
  need_version=no
9019
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9020
 
  soname_spec='${libname}${release}${shared_ext}$major'
9021
 
  shlibpath_var=LD_LIBRARY_PATH
9022
 
  shlibpath_overrides_runpath=yes
9023
 
  hardcode_into_libs=yes
9024
 
  # ldd complains unless libraries are executable
9025
 
  postinstall_cmds='chmod +x $lib'
9026
 
  ;;
9027
 
 
9028
 
sunos4*)
9029
 
  version_type=sunos
9030
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9031
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9032
 
  shlibpath_var=LD_LIBRARY_PATH
9033
 
  shlibpath_overrides_runpath=yes
9034
 
  if test "$with_gnu_ld" = yes; then
9035
 
    need_lib_prefix=no
9036
 
  fi
9037
 
  need_version=yes
9038
 
  ;;
9039
 
 
9040
 
sysv4 | sysv4.3*)
9041
 
  version_type=linux
9042
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9043
 
  soname_spec='${libname}${release}${shared_ext}$major'
9044
 
  shlibpath_var=LD_LIBRARY_PATH
9045
 
  case $host_vendor in
9046
 
    sni)
9047
 
      shlibpath_overrides_runpath=no
9048
 
      need_lib_prefix=no
9049
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
9050
 
      runpath_var=LD_RUN_PATH
9051
 
      ;;
9052
 
    siemens)
9053
 
      need_lib_prefix=no
9054
 
      ;;
9055
 
    motorola)
9056
 
      need_lib_prefix=no
9057
 
      need_version=no
9058
 
      shlibpath_overrides_runpath=no
9059
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9060
 
      ;;
9061
 
  esac
9062
 
  ;;
9063
 
 
9064
 
sysv4*MP*)
9065
 
  if test -d /usr/nec ;then
9066
 
    version_type=linux
9067
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9068
 
    soname_spec='$libname${shared_ext}.$major'
9069
 
    shlibpath_var=LD_LIBRARY_PATH
9070
 
  fi
9071
 
  ;;
9072
 
 
9073
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9074
 
  version_type=freebsd-elf
9075
 
  need_lib_prefix=no
9076
 
  need_version=no
9077
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9078
 
  soname_spec='${libname}${release}${shared_ext}$major'
9079
 
  shlibpath_var=LD_LIBRARY_PATH
9080
 
  hardcode_into_libs=yes
9081
 
  if test "$with_gnu_ld" = yes; then
9082
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9083
 
    shlibpath_overrides_runpath=no
9084
 
  else
9085
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9086
 
    shlibpath_overrides_runpath=yes
9087
 
    case $host_os in
9088
 
      sco3.2v5*)
9089
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9090
 
        ;;
9091
 
    esac
9092
 
  fi
9093
 
  sys_lib_dlsearch_path_spec='/usr/lib'
9094
 
  ;;
9095
 
 
9096
 
uts4*)
9097
 
  version_type=linux
9098
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9099
 
  soname_spec='${libname}${release}${shared_ext}$major'
9100
 
  shlibpath_var=LD_LIBRARY_PATH
9101
 
  ;;
9102
 
 
9103
 
*)
9104
 
  dynamic_linker=no
9105
 
  ;;
9106
 
esac
9107
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9108
 
echo "${ECHO_T}$dynamic_linker" >&6; }
9109
 
test "$dynamic_linker" = no && can_build_shared=no
9110
 
 
9111
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9112
 
if test "$GCC" = yes; then
9113
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9114
 
fi
9115
 
 
9116
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9117
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9118
 
hardcode_action=
9119
 
if test -n "$hardcode_libdir_flag_spec" || \
9120
 
   test -n "$runpath_var" || \
9121
 
   test "X$hardcode_automatic" = "Xyes" ; then
9122
 
 
9123
 
  # We can hardcode non-existant directories.
9124
 
  if test "$hardcode_direct" != no &&
9125
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
9126
 
     # have to relink, otherwise we might link with an installed library
9127
 
     # when we should be linking with a yet-to-be-installed one
9128
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9129
 
     test "$hardcode_minus_L" != no; then
9130
 
    # Linking always hardcodes the temporary library directory.
9131
 
    hardcode_action=relink
9132
 
  else
9133
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
9134
 
    hardcode_action=immediate
9135
 
  fi
9136
 
else
9137
 
  # We cannot hardcode anything, or else we can only hardcode existing
9138
 
  # directories.
9139
 
  hardcode_action=unsupported
9140
 
fi
9141
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
9142
 
echo "${ECHO_T}$hardcode_action" >&6; }
9143
 
 
9144
 
if test "$hardcode_action" = relink; then
9145
 
  # Fast installation is not supported
9146
 
  enable_fast_install=no
9147
 
elif test "$shlibpath_overrides_runpath" = yes ||
9148
 
     test "$enable_shared" = no; then
9149
 
  # Fast installation is not necessary
9150
 
  enable_fast_install=needless
9151
 
fi
9152
 
 
9153
 
striplib=
9154
 
old_striplib=
9155
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9156
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9157
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9158
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9159
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9160
 
  { echo "$as_me:$LINENO: result: yes" >&5
9161
 
echo "${ECHO_T}yes" >&6; }
9162
 
else
9163
 
# FIXME - insert some real tests, host_os isn't really good enough
9164
 
  case $host_os in
9165
 
   darwin*)
9166
 
       if test -n "$STRIP" ; then
9167
 
         striplib="$STRIP -x"
9168
 
         { echo "$as_me:$LINENO: result: yes" >&5
9169
 
echo "${ECHO_T}yes" >&6; }
9170
 
       else
9171
 
  { echo "$as_me:$LINENO: result: no" >&5
9172
 
echo "${ECHO_T}no" >&6; }
9173
 
fi
9174
 
       ;;
9175
 
   *)
9176
 
  { echo "$as_me:$LINENO: result: no" >&5
9177
 
echo "${ECHO_T}no" >&6; }
9178
 
    ;;
9179
 
  esac
9180
 
fi
9181
 
 
9182
 
if test "x$enable_dlopen" != xyes; then
9183
 
  enable_dlopen=unknown
9184
 
  enable_dlopen_self=unknown
9185
 
  enable_dlopen_self_static=unknown
9186
 
else
9187
 
  lt_cv_dlopen=no
9188
 
  lt_cv_dlopen_libs=
9189
 
 
9190
 
  case $host_os in
9191
 
  beos*)
9192
 
    lt_cv_dlopen="load_add_on"
9193
 
    lt_cv_dlopen_libs=
9194
 
    lt_cv_dlopen_self=yes
9195
 
    ;;
9196
 
 
9197
 
  mingw* | pw32*)
9198
 
    lt_cv_dlopen="LoadLibrary"
9199
 
    lt_cv_dlopen_libs=
9200
 
   ;;
9201
 
 
9202
 
  cygwin*)
9203
 
    lt_cv_dlopen="dlopen"
9204
 
    lt_cv_dlopen_libs=
9205
 
   ;;
9206
 
 
9207
 
  darwin*)
9208
 
  # if libdl is installed we need to link against it
9209
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9210
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9211
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9212
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9213
 
else
9214
 
  ac_check_lib_save_LIBS=$LIBS
9215
 
LIBS="-ldl  $LIBS"
9216
 
cat >conftest.$ac_ext <<_ACEOF
9217
 
/* confdefs.h.  */
9218
 
_ACEOF
9219
 
cat confdefs.h >>conftest.$ac_ext
9220
 
cat >>conftest.$ac_ext <<_ACEOF
9221
 
/* end confdefs.h.  */
9222
 
 
9223
 
/* Override any GCC internal prototype to avoid an error.
9224
 
   Use char because int might match the return type of a GCC
9225
 
   builtin and then its argument prototype would still apply.  */
9226
 
#ifdef __cplusplus
9227
 
extern "C"
9228
 
#endif
9229
 
char dlopen ();
9230
 
int
9231
 
main ()
9232
 
{
9233
 
return dlopen ();
9234
 
  ;
9235
 
  return 0;
9236
 
}
9237
 
_ACEOF
9238
 
rm -f conftest.$ac_objext conftest$ac_exeext
9239
 
if { (ac_try="$ac_link"
9240
 
case "(($ac_try" in
9241
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9242
 
  *) ac_try_echo=$ac_try;;
9243
 
esac
9244
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9245
 
  (eval "$ac_link") 2>conftest.er1
9246
 
  ac_status=$?
9247
 
  grep -v '^ *+' conftest.er1 >conftest.err
9248
 
  rm -f conftest.er1
9249
 
  cat conftest.err >&5
9250
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9251
 
  (exit $ac_status); } &&
9252
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9253
 
  { (case "(($ac_try" in
9254
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9255
 
  *) ac_try_echo=$ac_try;;
9256
 
esac
9257
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9258
 
  (eval "$ac_try") 2>&5
9259
 
  ac_status=$?
9260
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9261
 
  (exit $ac_status); }; } &&
9262
 
         { ac_try='test -s conftest$ac_exeext'
9263
 
  { (case "(($ac_try" in
9264
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9265
 
  *) ac_try_echo=$ac_try;;
9266
 
esac
9267
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9268
 
  (eval "$ac_try") 2>&5
9269
 
  ac_status=$?
9270
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9271
 
  (exit $ac_status); }; }; then
9272
 
  ac_cv_lib_dl_dlopen=yes
9273
 
else
9274
 
  echo "$as_me: failed program was:" >&5
9275
 
sed 's/^/| /' conftest.$ac_ext >&5
9276
 
 
9277
 
        ac_cv_lib_dl_dlopen=no
9278
 
fi
9279
 
 
9280
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9281
 
      conftest$ac_exeext conftest.$ac_ext
9282
 
LIBS=$ac_check_lib_save_LIBS
9283
 
fi
9284
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9285
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9286
 
if test $ac_cv_lib_dl_dlopen = yes; then
9287
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9288
 
else
9289
 
 
9290
 
    lt_cv_dlopen="dyld"
9291
 
    lt_cv_dlopen_libs=
9292
 
    lt_cv_dlopen_self=yes
9293
 
 
9294
 
fi
9295
 
 
9296
 
   ;;
9297
 
 
9298
 
  *)
9299
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
9300
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9301
 
if test "${ac_cv_func_shl_load+set}" = set; then
9302
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9303
 
else
9304
 
  cat >conftest.$ac_ext <<_ACEOF
9305
 
/* confdefs.h.  */
9306
 
_ACEOF
9307
 
cat confdefs.h >>conftest.$ac_ext
9308
 
cat >>conftest.$ac_ext <<_ACEOF
9309
 
/* end confdefs.h.  */
9310
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9311
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9312
 
#define shl_load innocuous_shl_load
9313
 
 
9314
 
/* System header to define __stub macros and hopefully few prototypes,
9315
 
    which can conflict with char shl_load (); below.
9316
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9317
 
    <limits.h> exists even on freestanding compilers.  */
9318
 
 
9319
 
#ifdef __STDC__
9320
 
# include <limits.h>
9321
 
#else
9322
 
# include <assert.h>
9323
 
#endif
9324
 
 
9325
 
#undef shl_load
9326
 
 
9327
 
/* Override any GCC internal prototype to avoid an error.
9328
 
   Use char because int might match the return type of a GCC
9329
 
   builtin and then its argument prototype would still apply.  */
9330
 
#ifdef __cplusplus
9331
 
extern "C"
9332
 
#endif
9333
 
char shl_load ();
9334
 
/* The GNU C library defines this for functions which it implements
9335
 
    to always fail with ENOSYS.  Some functions are actually named
9336
 
    something starting with __ and the normal name is an alias.  */
9337
 
#if defined __stub_shl_load || defined __stub___shl_load
9338
 
choke me
9339
 
#endif
9340
 
 
9341
 
int
9342
 
main ()
9343
 
{
9344
 
return shl_load ();
9345
 
  ;
9346
 
  return 0;
9347
 
}
9348
 
_ACEOF
9349
 
rm -f conftest.$ac_objext conftest$ac_exeext
9350
 
if { (ac_try="$ac_link"
9351
 
case "(($ac_try" in
9352
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9353
 
  *) ac_try_echo=$ac_try;;
9354
 
esac
9355
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9356
 
  (eval "$ac_link") 2>conftest.er1
9357
 
  ac_status=$?
9358
 
  grep -v '^ *+' conftest.er1 >conftest.err
9359
 
  rm -f conftest.er1
9360
 
  cat conftest.err >&5
9361
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9362
 
  (exit $ac_status); } &&
9363
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9364
 
  { (case "(($ac_try" in
9365
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9366
 
  *) ac_try_echo=$ac_try;;
9367
 
esac
9368
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9369
 
  (eval "$ac_try") 2>&5
9370
 
  ac_status=$?
9371
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9372
 
  (exit $ac_status); }; } &&
9373
 
         { ac_try='test -s conftest$ac_exeext'
9374
 
  { (case "(($ac_try" in
9375
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9376
 
  *) ac_try_echo=$ac_try;;
9377
 
esac
9378
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9379
 
  (eval "$ac_try") 2>&5
9380
 
  ac_status=$?
9381
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9382
 
  (exit $ac_status); }; }; then
9383
 
  ac_cv_func_shl_load=yes
9384
 
else
9385
 
  echo "$as_me: failed program was:" >&5
9386
 
sed 's/^/| /' conftest.$ac_ext >&5
9387
 
 
9388
 
        ac_cv_func_shl_load=no
9389
 
fi
9390
 
 
9391
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9392
 
      conftest$ac_exeext conftest.$ac_ext
9393
 
fi
9394
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9395
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9396
 
if test $ac_cv_func_shl_load = yes; then
9397
 
  lt_cv_dlopen="shl_load"
9398
 
else
9399
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9400
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9401
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9402
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9403
 
else
9404
 
  ac_check_lib_save_LIBS=$LIBS
9405
 
LIBS="-ldld  $LIBS"
9406
 
cat >conftest.$ac_ext <<_ACEOF
9407
 
/* confdefs.h.  */
9408
 
_ACEOF
9409
 
cat confdefs.h >>conftest.$ac_ext
9410
 
cat >>conftest.$ac_ext <<_ACEOF
9411
 
/* end confdefs.h.  */
9412
 
 
9413
 
/* Override any GCC internal prototype to avoid an error.
9414
 
   Use char because int might match the return type of a GCC
9415
 
   builtin and then its argument prototype would still apply.  */
9416
 
#ifdef __cplusplus
9417
 
extern "C"
9418
 
#endif
9419
 
char shl_load ();
9420
 
int
9421
 
main ()
9422
 
{
9423
 
return shl_load ();
9424
 
  ;
9425
 
  return 0;
9426
 
}
9427
 
_ACEOF
9428
 
rm -f conftest.$ac_objext conftest$ac_exeext
9429
 
if { (ac_try="$ac_link"
9430
 
case "(($ac_try" in
9431
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9432
 
  *) ac_try_echo=$ac_try;;
9433
 
esac
9434
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9435
 
  (eval "$ac_link") 2>conftest.er1
9436
 
  ac_status=$?
9437
 
  grep -v '^ *+' conftest.er1 >conftest.err
9438
 
  rm -f conftest.er1
9439
 
  cat conftest.err >&5
9440
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9441
 
  (exit $ac_status); } &&
9442
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9443
 
  { (case "(($ac_try" in
9444
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9445
 
  *) ac_try_echo=$ac_try;;
9446
 
esac
9447
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9448
 
  (eval "$ac_try") 2>&5
9449
 
  ac_status=$?
9450
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9451
 
  (exit $ac_status); }; } &&
9452
 
         { ac_try='test -s conftest$ac_exeext'
9453
 
  { (case "(($ac_try" in
9454
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9455
 
  *) ac_try_echo=$ac_try;;
9456
 
esac
9457
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9458
 
  (eval "$ac_try") 2>&5
9459
 
  ac_status=$?
9460
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9461
 
  (exit $ac_status); }; }; then
9462
 
  ac_cv_lib_dld_shl_load=yes
9463
 
else
9464
 
  echo "$as_me: failed program was:" >&5
9465
 
sed 's/^/| /' conftest.$ac_ext >&5
9466
 
 
9467
 
        ac_cv_lib_dld_shl_load=no
9468
 
fi
9469
 
 
9470
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9471
 
      conftest$ac_exeext conftest.$ac_ext
9472
 
LIBS=$ac_check_lib_save_LIBS
9473
 
fi
9474
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9475
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9476
 
if test $ac_cv_lib_dld_shl_load = yes; then
9477
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9478
 
else
9479
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
9480
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9481
 
if test "${ac_cv_func_dlopen+set}" = set; then
9482
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9483
 
else
9484
 
  cat >conftest.$ac_ext <<_ACEOF
9485
 
/* confdefs.h.  */
9486
 
_ACEOF
9487
 
cat confdefs.h >>conftest.$ac_ext
9488
 
cat >>conftest.$ac_ext <<_ACEOF
9489
 
/* end confdefs.h.  */
9490
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9491
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9492
 
#define dlopen innocuous_dlopen
9493
 
 
9494
 
/* System header to define __stub macros and hopefully few prototypes,
9495
 
    which can conflict with char dlopen (); below.
9496
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9497
 
    <limits.h> exists even on freestanding compilers.  */
9498
 
 
9499
 
#ifdef __STDC__
9500
 
# include <limits.h>
9501
 
#else
9502
 
# include <assert.h>
9503
 
#endif
9504
 
 
9505
 
#undef dlopen
9506
 
 
9507
 
/* Override any GCC internal prototype to avoid an error.
9508
 
   Use char because int might match the return type of a GCC
9509
 
   builtin and then its argument prototype would still apply.  */
9510
 
#ifdef __cplusplus
9511
 
extern "C"
9512
 
#endif
9513
 
char dlopen ();
9514
 
/* The GNU C library defines this for functions which it implements
9515
 
    to always fail with ENOSYS.  Some functions are actually named
9516
 
    something starting with __ and the normal name is an alias.  */
9517
 
#if defined __stub_dlopen || defined __stub___dlopen
9518
 
choke me
9519
 
#endif
9520
 
 
9521
 
int
9522
 
main ()
9523
 
{
9524
 
return dlopen ();
9525
 
  ;
9526
 
  return 0;
9527
 
}
9528
 
_ACEOF
9529
 
rm -f conftest.$ac_objext conftest$ac_exeext
9530
 
if { (ac_try="$ac_link"
9531
 
case "(($ac_try" in
9532
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9533
 
  *) ac_try_echo=$ac_try;;
9534
 
esac
9535
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9536
 
  (eval "$ac_link") 2>conftest.er1
9537
 
  ac_status=$?
9538
 
  grep -v '^ *+' conftest.er1 >conftest.err
9539
 
  rm -f conftest.er1
9540
 
  cat conftest.err >&5
9541
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9542
 
  (exit $ac_status); } &&
9543
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9544
 
  { (case "(($ac_try" in
9545
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9546
 
  *) ac_try_echo=$ac_try;;
9547
 
esac
9548
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9549
 
  (eval "$ac_try") 2>&5
9550
 
  ac_status=$?
9551
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9552
 
  (exit $ac_status); }; } &&
9553
 
         { ac_try='test -s conftest$ac_exeext'
9554
 
  { (case "(($ac_try" in
9555
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9556
 
  *) ac_try_echo=$ac_try;;
9557
 
esac
9558
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9559
 
  (eval "$ac_try") 2>&5
9560
 
  ac_status=$?
9561
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9562
 
  (exit $ac_status); }; }; then
9563
 
  ac_cv_func_dlopen=yes
9564
 
else
9565
 
  echo "$as_me: failed program was:" >&5
9566
 
sed 's/^/| /' conftest.$ac_ext >&5
9567
 
 
9568
 
        ac_cv_func_dlopen=no
9569
 
fi
9570
 
 
9571
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9572
 
      conftest$ac_exeext conftest.$ac_ext
9573
 
fi
9574
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9575
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9576
 
if test $ac_cv_func_dlopen = yes; then
9577
 
  lt_cv_dlopen="dlopen"
9578
 
else
9579
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9580
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9581
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9582
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9583
 
else
9584
 
  ac_check_lib_save_LIBS=$LIBS
9585
 
LIBS="-ldl  $LIBS"
9586
 
cat >conftest.$ac_ext <<_ACEOF
9587
 
/* confdefs.h.  */
9588
 
_ACEOF
9589
 
cat confdefs.h >>conftest.$ac_ext
9590
 
cat >>conftest.$ac_ext <<_ACEOF
9591
 
/* end confdefs.h.  */
9592
 
 
9593
 
/* Override any GCC internal prototype to avoid an error.
9594
 
   Use char because int might match the return type of a GCC
9595
 
   builtin and then its argument prototype would still apply.  */
9596
 
#ifdef __cplusplus
9597
 
extern "C"
9598
 
#endif
9599
 
char dlopen ();
9600
 
int
9601
 
main ()
9602
 
{
9603
 
return dlopen ();
9604
 
  ;
9605
 
  return 0;
9606
 
}
9607
 
_ACEOF
9608
 
rm -f conftest.$ac_objext conftest$ac_exeext
9609
 
if { (ac_try="$ac_link"
9610
 
case "(($ac_try" in
9611
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9612
 
  *) ac_try_echo=$ac_try;;
9613
 
esac
9614
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9615
 
  (eval "$ac_link") 2>conftest.er1
9616
 
  ac_status=$?
9617
 
  grep -v '^ *+' conftest.er1 >conftest.err
9618
 
  rm -f conftest.er1
9619
 
  cat conftest.err >&5
9620
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9621
 
  (exit $ac_status); } &&
9622
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9623
 
  { (case "(($ac_try" in
9624
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9625
 
  *) ac_try_echo=$ac_try;;
9626
 
esac
9627
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9628
 
  (eval "$ac_try") 2>&5
9629
 
  ac_status=$?
9630
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9631
 
  (exit $ac_status); }; } &&
9632
 
         { ac_try='test -s conftest$ac_exeext'
9633
 
  { (case "(($ac_try" in
9634
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9635
 
  *) ac_try_echo=$ac_try;;
9636
 
esac
9637
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9638
 
  (eval "$ac_try") 2>&5
9639
 
  ac_status=$?
9640
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9641
 
  (exit $ac_status); }; }; then
9642
 
  ac_cv_lib_dl_dlopen=yes
9643
 
else
9644
 
  echo "$as_me: failed program was:" >&5
9645
 
sed 's/^/| /' conftest.$ac_ext >&5
9646
 
 
9647
 
        ac_cv_lib_dl_dlopen=no
9648
 
fi
9649
 
 
9650
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9651
 
      conftest$ac_exeext conftest.$ac_ext
9652
 
LIBS=$ac_check_lib_save_LIBS
9653
 
fi
9654
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9655
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9656
 
if test $ac_cv_lib_dl_dlopen = yes; then
9657
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9658
 
else
9659
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9660
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9661
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9662
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9663
 
else
9664
 
  ac_check_lib_save_LIBS=$LIBS
9665
 
LIBS="-lsvld  $LIBS"
9666
 
cat >conftest.$ac_ext <<_ACEOF
9667
 
/* confdefs.h.  */
9668
 
_ACEOF
9669
 
cat confdefs.h >>conftest.$ac_ext
9670
 
cat >>conftest.$ac_ext <<_ACEOF
9671
 
/* end confdefs.h.  */
9672
 
 
9673
 
/* Override any GCC internal prototype to avoid an error.
9674
 
   Use char because int might match the return type of a GCC
9675
 
   builtin and then its argument prototype would still apply.  */
9676
 
#ifdef __cplusplus
9677
 
extern "C"
9678
 
#endif
9679
 
char dlopen ();
9680
 
int
9681
 
main ()
9682
 
{
9683
 
return dlopen ();
9684
 
  ;
9685
 
  return 0;
9686
 
}
9687
 
_ACEOF
9688
 
rm -f conftest.$ac_objext conftest$ac_exeext
9689
 
if { (ac_try="$ac_link"
9690
 
case "(($ac_try" in
9691
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9692
 
  *) ac_try_echo=$ac_try;;
9693
 
esac
9694
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9695
 
  (eval "$ac_link") 2>conftest.er1
9696
 
  ac_status=$?
9697
 
  grep -v '^ *+' conftest.er1 >conftest.err
9698
 
  rm -f conftest.er1
9699
 
  cat conftest.err >&5
9700
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9701
 
  (exit $ac_status); } &&
9702
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9703
 
  { (case "(($ac_try" in
9704
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9705
 
  *) ac_try_echo=$ac_try;;
9706
 
esac
9707
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9708
 
  (eval "$ac_try") 2>&5
9709
 
  ac_status=$?
9710
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9711
 
  (exit $ac_status); }; } &&
9712
 
         { ac_try='test -s conftest$ac_exeext'
9713
 
  { (case "(($ac_try" in
9714
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9715
 
  *) ac_try_echo=$ac_try;;
9716
 
esac
9717
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9718
 
  (eval "$ac_try") 2>&5
9719
 
  ac_status=$?
9720
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9721
 
  (exit $ac_status); }; }; then
9722
 
  ac_cv_lib_svld_dlopen=yes
9723
 
else
9724
 
  echo "$as_me: failed program was:" >&5
9725
 
sed 's/^/| /' conftest.$ac_ext >&5
9726
 
 
9727
 
        ac_cv_lib_svld_dlopen=no
9728
 
fi
9729
 
 
9730
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9731
 
      conftest$ac_exeext conftest.$ac_ext
9732
 
LIBS=$ac_check_lib_save_LIBS
9733
 
fi
9734
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9735
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9736
 
if test $ac_cv_lib_svld_dlopen = yes; then
9737
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9738
 
else
9739
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9740
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9741
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9742
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9743
 
else
9744
 
  ac_check_lib_save_LIBS=$LIBS
9745
 
LIBS="-ldld  $LIBS"
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
 
 
9753
 
/* Override any GCC internal prototype to avoid an error.
9754
 
   Use char because int might match the return type of a GCC
9755
 
   builtin and then its argument prototype would still apply.  */
9756
 
#ifdef __cplusplus
9757
 
extern "C"
9758
 
#endif
9759
 
char dld_link ();
9760
 
int
9761
 
main ()
9762
 
{
9763
 
return dld_link ();
9764
 
  ;
9765
 
  return 0;
9766
 
}
9767
 
_ACEOF
9768
 
rm -f conftest.$ac_objext conftest$ac_exeext
9769
 
if { (ac_try="$ac_link"
9770
 
case "(($ac_try" in
9771
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9772
 
  *) ac_try_echo=$ac_try;;
9773
 
esac
9774
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9775
 
  (eval "$ac_link") 2>conftest.er1
9776
 
  ac_status=$?
9777
 
  grep -v '^ *+' conftest.er1 >conftest.err
9778
 
  rm -f conftest.er1
9779
 
  cat conftest.err >&5
9780
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781
 
  (exit $ac_status); } &&
9782
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9783
 
  { (case "(($ac_try" in
9784
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9785
 
  *) ac_try_echo=$ac_try;;
9786
 
esac
9787
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9788
 
  (eval "$ac_try") 2>&5
9789
 
  ac_status=$?
9790
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9791
 
  (exit $ac_status); }; } &&
9792
 
         { ac_try='test -s conftest$ac_exeext'
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_try") 2>&5
9799
 
  ac_status=$?
9800
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9801
 
  (exit $ac_status); }; }; then
9802
 
  ac_cv_lib_dld_dld_link=yes
9803
 
else
9804
 
  echo "$as_me: failed program was:" >&5
9805
 
sed 's/^/| /' conftest.$ac_ext >&5
9806
 
 
9807
 
        ac_cv_lib_dld_dld_link=no
9808
 
fi
9809
 
 
9810
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9811
 
      conftest$ac_exeext conftest.$ac_ext
9812
 
LIBS=$ac_check_lib_save_LIBS
9813
 
fi
9814
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9815
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9816
 
if test $ac_cv_lib_dld_dld_link = yes; then
9817
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9818
 
fi
9819
 
 
9820
 
 
9821
 
fi
9822
 
 
9823
 
 
9824
 
fi
9825
 
 
9826
 
 
9827
 
fi
9828
 
 
9829
 
 
9830
 
fi
9831
 
 
9832
 
 
9833
 
fi
9834
 
 
9835
 
    ;;
9836
 
  esac
9837
 
 
9838
 
  if test "x$lt_cv_dlopen" != xno; then
9839
 
    enable_dlopen=yes
9840
 
  else
9841
 
    enable_dlopen=no
9842
 
  fi
9843
 
 
9844
 
  case $lt_cv_dlopen in
9845
 
  dlopen)
9846
 
    save_CPPFLAGS="$CPPFLAGS"
9847
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9848
 
 
9849
 
    save_LDFLAGS="$LDFLAGS"
9850
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9851
 
 
9852
 
    save_LIBS="$LIBS"
9853
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
9854
 
 
9855
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9856
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9857
 
if test "${lt_cv_dlopen_self+set}" = set; then
9858
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9859
 
else
9860
 
          if test "$cross_compiling" = yes; then :
9861
 
  lt_cv_dlopen_self=cross
9862
 
else
9863
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9864
 
  lt_status=$lt_dlunknown
9865
 
  cat > conftest.$ac_ext <<EOF
9866
 
#line 9866 "configure"
9867
 
#include "confdefs.h"
9868
 
 
9869
 
#if HAVE_DLFCN_H
9870
 
#include <dlfcn.h>
9871
 
#endif
9872
 
 
9873
 
#include <stdio.h>
9874
 
 
9875
 
#ifdef RTLD_GLOBAL
9876
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
9877
 
#else
9878
 
#  ifdef DL_GLOBAL
9879
 
#    define LT_DLGLOBAL         DL_GLOBAL
9880
 
#  else
9881
 
#    define LT_DLGLOBAL         0
9882
 
#  endif
9883
 
#endif
9884
 
 
9885
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9886
 
   find out it does not work in some platform. */
9887
 
#ifndef LT_DLLAZY_OR_NOW
9888
 
#  ifdef RTLD_LAZY
9889
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
9890
 
#  else
9891
 
#    ifdef DL_LAZY
9892
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
9893
 
#    else
9894
 
#      ifdef RTLD_NOW
9895
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
9896
 
#      else
9897
 
#        ifdef DL_NOW
9898
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
9899
 
#        else
9900
 
#          define LT_DLLAZY_OR_NOW      0
9901
 
#        endif
9902
 
#      endif
9903
 
#    endif
9904
 
#  endif
9905
 
#endif
9906
 
 
9907
 
#ifdef __cplusplus
9908
 
extern "C" void exit (int);
9909
 
#endif
9910
 
 
9911
 
void fnord() { int i=42;}
9912
 
int main ()
9913
 
{
9914
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9915
 
  int status = $lt_dlunknown;
9916
 
 
9917
 
  if (self)
9918
 
    {
9919
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
9920
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9921
 
      /* dlclose (self); */
9922
 
    }
9923
 
  else
9924
 
    puts (dlerror ());
9925
 
 
9926
 
    exit (status);
9927
 
}
9928
 
EOF
9929
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9930
 
  (eval $ac_link) 2>&5
9931
 
  ac_status=$?
9932
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9933
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9934
 
    (./conftest; exit; ) >&5 2>/dev/null
9935
 
    lt_status=$?
9936
 
    case x$lt_status in
9937
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9938
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9939
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9940
 
    esac
9941
 
  else :
9942
 
    # compilation failed
9943
 
    lt_cv_dlopen_self=no
9944
 
  fi
9945
 
fi
9946
 
rm -fr conftest*
9947
 
 
9948
 
 
9949
 
fi
9950
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9951
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9952
 
 
9953
 
    if test "x$lt_cv_dlopen_self" = xyes; then
9954
 
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9955
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9956
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9957
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
9958
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9959
 
else
9960
 
          if test "$cross_compiling" = yes; then :
9961
 
  lt_cv_dlopen_self_static=cross
9962
 
else
9963
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9964
 
  lt_status=$lt_dlunknown
9965
 
  cat > conftest.$ac_ext <<EOF
9966
 
#line 9966 "configure"
9967
 
#include "confdefs.h"
9968
 
 
9969
 
#if HAVE_DLFCN_H
9970
 
#include <dlfcn.h>
9971
 
#endif
9972
 
 
9973
 
#include <stdio.h>
9974
 
 
9975
 
#ifdef RTLD_GLOBAL
9976
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
9977
 
#else
9978
 
#  ifdef DL_GLOBAL
9979
 
#    define LT_DLGLOBAL         DL_GLOBAL
9980
 
#  else
9981
 
#    define LT_DLGLOBAL         0
9982
 
#  endif
9983
 
#endif
9984
 
 
9985
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9986
 
   find out it does not work in some platform. */
9987
 
#ifndef LT_DLLAZY_OR_NOW
9988
 
#  ifdef RTLD_LAZY
9989
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
9990
 
#  else
9991
 
#    ifdef DL_LAZY
9992
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
9993
 
#    else
9994
 
#      ifdef RTLD_NOW
9995
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
9996
 
#      else
9997
 
#        ifdef DL_NOW
9998
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
9999
 
#        else
10000
 
#          define LT_DLLAZY_OR_NOW      0
10001
 
#        endif
10002
 
#      endif
10003
 
#    endif
10004
 
#  endif
10005
 
#endif
10006
 
 
10007
 
#ifdef __cplusplus
10008
 
extern "C" void exit (int);
10009
 
#endif
10010
 
 
10011
 
void fnord() { int i=42;}
10012
 
int main ()
10013
 
{
10014
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10015
 
  int status = $lt_dlunknown;
10016
 
 
10017
 
  if (self)
10018
 
    {
10019
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10020
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10021
 
      /* dlclose (self); */
10022
 
    }
10023
 
  else
10024
 
    puts (dlerror ());
10025
 
 
10026
 
    exit (status);
10027
 
}
10028
 
EOF
10029
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10030
 
  (eval $ac_link) 2>&5
10031
 
  ac_status=$?
10032
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10033
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10034
 
    (./conftest; exit; ) >&5 2>/dev/null
10035
 
    lt_status=$?
10036
 
    case x$lt_status in
10037
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10038
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10039
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10040
 
    esac
10041
 
  else :
10042
 
    # compilation failed
10043
 
    lt_cv_dlopen_self_static=no
10044
 
  fi
10045
 
fi
10046
 
rm -fr conftest*
10047
 
 
10048
 
 
10049
 
fi
10050
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10051
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10052
 
    fi
10053
 
 
10054
 
    CPPFLAGS="$save_CPPFLAGS"
10055
 
    LDFLAGS="$save_LDFLAGS"
10056
 
    LIBS="$save_LIBS"
10057
 
    ;;
10058
 
  esac
10059
 
 
10060
 
  case $lt_cv_dlopen_self in
10061
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10062
 
  *) enable_dlopen_self=unknown ;;
10063
 
  esac
10064
 
 
10065
 
  case $lt_cv_dlopen_self_static in
10066
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10067
 
  *) enable_dlopen_self_static=unknown ;;
10068
 
  esac
10069
 
fi
10070
 
 
10071
 
 
10072
 
# Report which library types will actually be built
10073
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10074
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10075
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
10076
 
echo "${ECHO_T}$can_build_shared" >&6; }
10077
 
 
10078
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10079
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10080
 
test "$can_build_shared" = "no" && enable_shared=no
10081
 
 
10082
 
# On AIX, shared libraries and static libraries use the same namespace, and
10083
 
# are all built from PIC.
10084
 
case $host_os in
10085
 
aix3*)
10086
 
  test "$enable_shared" = yes && enable_static=no
10087
 
  if test -n "$RANLIB"; then
10088
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
10089
 
    postinstall_cmds='$RANLIB $lib'
10090
 
  fi
10091
 
  ;;
10092
 
 
10093
 
aix4* | aix5*)
10094
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10095
 
    test "$enable_shared" = yes && enable_static=no
10096
 
  fi
10097
 
    ;;
10098
 
esac
10099
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
10100
 
echo "${ECHO_T}$enable_shared" >&6; }
10101
 
 
10102
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10103
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10104
 
# Make sure either enable_shared or enable_static is yes.
10105
 
test "$enable_shared" = yes || enable_static=yes
10106
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
10107
 
echo "${ECHO_T}$enable_static" >&6; }
10108
 
 
10109
 
# The else clause should only fire when bootstrapping the
10110
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
10111
 
# with your package, and you will get complaints that there are
10112
 
# no rules to generate ltmain.sh.
10113
 
if test -f "$ltmain"; then
10114
 
  # See if we are running on zsh, and set the options which allow our commands through
10115
 
  # without removal of \ escapes.
10116
 
  if test -n "${ZSH_VERSION+set}" ; then
10117
 
    setopt NO_GLOB_SUBST
10118
 
  fi
10119
 
  # Now quote all the things that may contain metacharacters while being
10120
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
10121
 
  # variables and quote the copies for generation of the libtool script.
10122
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10123
 
    SED SHELL STRIP \
10124
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10125
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10126
 
    deplibs_check_method reload_flag reload_cmds need_locks \
10127
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10128
 
    lt_cv_sys_global_symbol_to_c_name_address \
10129
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10130
 
    old_postinstall_cmds old_postuninstall_cmds \
10131
 
    compiler \
10132
 
    CC \
10133
 
    LD \
10134
 
    lt_prog_compiler_wl \
10135
 
    lt_prog_compiler_pic \
10136
 
    lt_prog_compiler_static \
10137
 
    lt_prog_compiler_no_builtin_flag \
10138
 
    export_dynamic_flag_spec \
10139
 
    thread_safe_flag_spec \
10140
 
    whole_archive_flag_spec \
10141
 
    enable_shared_with_static_runtimes \
10142
 
    old_archive_cmds \
10143
 
    old_archive_from_new_cmds \
10144
 
    predep_objects \
10145
 
    postdep_objects \
10146
 
    predeps \
10147
 
    postdeps \
10148
 
    compiler_lib_search_path \
10149
 
    archive_cmds \
10150
 
    archive_expsym_cmds \
10151
 
    postinstall_cmds \
10152
 
    postuninstall_cmds \
10153
 
    old_archive_from_expsyms_cmds \
10154
 
    allow_undefined_flag \
10155
 
    no_undefined_flag \
10156
 
    export_symbols_cmds \
10157
 
    hardcode_libdir_flag_spec \
10158
 
    hardcode_libdir_flag_spec_ld \
10159
 
    hardcode_libdir_separator \
10160
 
    hardcode_automatic \
10161
 
    module_cmds \
10162
 
    module_expsym_cmds \
10163
 
    lt_cv_prog_compiler_c_o \
10164
 
    exclude_expsyms \
10165
 
    include_expsyms; do
10166
 
 
10167
 
    case $var in
10168
 
    old_archive_cmds | \
10169
 
    old_archive_from_new_cmds | \
10170
 
    archive_cmds | \
10171
 
    archive_expsym_cmds | \
10172
 
    module_cmds | \
10173
 
    module_expsym_cmds | \
10174
 
    old_archive_from_expsyms_cmds | \
10175
 
    export_symbols_cmds | \
10176
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
10177
 
    postinstall_cmds | postuninstall_cmds | \
10178
 
    old_postinstall_cmds | old_postuninstall_cmds | \
10179
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10180
 
      # Double-quote double-evaled strings.
10181
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10182
 
      ;;
10183
 
    *)
10184
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10185
 
      ;;
10186
 
    esac
10187
 
  done
10188
 
 
10189
 
  case $lt_echo in
10190
 
  *'\$0 --fallback-echo"')
10191
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10192
 
    ;;
10193
 
  esac
10194
 
 
10195
 
cfgfile="${ofile}T"
10196
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10197
 
  $rm -f "$cfgfile"
10198
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
10199
 
echo "$as_me: creating $ofile" >&6;}
10200
 
 
10201
 
  cat <<__EOF__ >> "$cfgfile"
10202
 
#! $SHELL
10203
 
 
10204
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10205
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10206
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10207
 
#
10208
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10209
 
# Free Software Foundation, Inc.
10210
 
#
10211
 
# This file is part of GNU Libtool:
10212
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10213
 
#
10214
 
# This program is free software; you can redistribute it and/or modify
10215
 
# it under the terms of the GNU General Public License as published by
10216
 
# the Free Software Foundation; either version 2 of the License, or
10217
 
# (at your option) any later version.
10218
 
#
10219
 
# This program is distributed in the hope that it will be useful, but
10220
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
10221
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
10222
 
# General Public License for more details.
10223
 
#
10224
 
# You should have received a copy of the GNU General Public License
10225
 
# along with this program; if not, write to the Free Software
10226
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10227
 
#
10228
 
# As a special exception to the GNU General Public License, if you
10229
 
# distribute this file as part of a program that contains a
10230
 
# configuration script generated by Autoconf, you may include it under
10231
 
# the same distribution terms that you use for the rest of that program.
10232
 
 
10233
 
# A sed program that does not truncate output.
10234
 
SED=$lt_SED
10235
 
 
10236
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
10237
 
Xsed="$SED -e 1s/^X//"
10238
 
 
10239
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
10240
 
# if CDPATH is set.
10241
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10242
 
 
10243
 
# The names of the tagged configurations supported by this script.
10244
 
available_tags=
10245
 
 
10246
 
# ### BEGIN LIBTOOL CONFIG
10247
 
 
10248
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10249
 
 
10250
 
# Shell to use when invoking shell scripts.
10251
 
SHELL=$lt_SHELL
10252
 
 
10253
 
# Whether or not to build shared libraries.
10254
 
build_libtool_libs=$enable_shared
10255
 
 
10256
 
# Whether or not to build static libraries.
10257
 
build_old_libs=$enable_static
10258
 
 
10259
 
# Whether or not to add -lc for building shared libraries.
10260
 
build_libtool_need_lc=$archive_cmds_need_lc
10261
 
 
10262
 
# Whether or not to disallow shared libs when runtime libs are static
10263
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10264
 
 
10265
 
# Whether or not to optimize for fast installation.
10266
 
fast_install=$enable_fast_install
10267
 
 
10268
 
# The host system.
10269
 
host_alias=$host_alias
10270
 
host=$host
10271
 
host_os=$host_os
10272
 
 
10273
 
# The build system.
10274
 
build_alias=$build_alias
10275
 
build=$build
10276
 
build_os=$build_os
10277
 
 
10278
 
# An echo program that does not interpret backslashes.
10279
 
echo=$lt_echo
10280
 
 
10281
 
# The archiver.
10282
 
AR=$lt_AR
10283
 
AR_FLAGS=$lt_AR_FLAGS
10284
 
 
10285
 
# A C compiler.
10286
 
LTCC=$lt_LTCC
10287
 
 
10288
 
# LTCC compiler flags.
10289
 
LTCFLAGS=$lt_LTCFLAGS
10290
 
 
10291
 
# A language-specific compiler.
10292
 
CC=$lt_compiler
10293
 
 
10294
 
# Is the compiler the GNU C compiler?
10295
 
with_gcc=$GCC
10296
 
 
10297
 
# An ERE matcher.
10298
 
EGREP=$lt_EGREP
10299
 
 
10300
 
# The linker used to build libraries.
10301
 
LD=$lt_LD
10302
 
 
10303
 
# Whether we need hard or soft links.
10304
 
LN_S=$lt_LN_S
10305
 
 
10306
 
# A BSD-compatible nm program.
10307
 
NM=$lt_NM
10308
 
 
10309
 
# A symbol stripping program
10310
 
STRIP=$lt_STRIP
10311
 
 
10312
 
# Used to examine libraries when file_magic_cmd begins "file"
10313
 
MAGIC_CMD=$MAGIC_CMD
10314
 
 
10315
 
# Used on cygwin: DLL creation program.
10316
 
DLLTOOL="$DLLTOOL"
10317
 
 
10318
 
# Used on cygwin: object dumper.
10319
 
OBJDUMP="$OBJDUMP"
10320
 
 
10321
 
# Used on cygwin: assembler.
10322
 
AS="$AS"
10323
 
 
10324
 
# The name of the directory that contains temporary libtool files.
10325
 
objdir=$objdir
10326
 
 
10327
 
# How to create reloadable object files.
10328
 
reload_flag=$lt_reload_flag
10329
 
reload_cmds=$lt_reload_cmds
10330
 
 
10331
 
# How to pass a linker flag through the compiler.
10332
 
wl=$lt_lt_prog_compiler_wl
10333
 
 
10334
 
# Object file suffix (normally "o").
10335
 
objext="$ac_objext"
10336
 
 
10337
 
# Old archive suffix (normally "a").
10338
 
libext="$libext"
10339
 
 
10340
 
# Shared library suffix (normally ".so").
10341
 
shrext_cmds='$shrext_cmds'
10342
 
 
10343
 
# Executable file suffix (normally "").
10344
 
exeext="$exeext"
10345
 
 
10346
 
# Additional compiler flags for building library objects.
10347
 
pic_flag=$lt_lt_prog_compiler_pic
10348
 
pic_mode=$pic_mode
10349
 
 
10350
 
# What is the maximum length of a command?
10351
 
max_cmd_len=$lt_cv_sys_max_cmd_len
10352
 
 
10353
 
# Does compiler simultaneously support -c and -o options?
10354
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10355
 
 
10356
 
# Must we lock files when doing compilation?
10357
 
need_locks=$lt_need_locks
10358
 
 
10359
 
# Do we need the lib prefix for modules?
10360
 
need_lib_prefix=$need_lib_prefix
10361
 
 
10362
 
# Do we need a version for libraries?
10363
 
need_version=$need_version
10364
 
 
10365
 
# Whether dlopen is supported.
10366
 
dlopen_support=$enable_dlopen
10367
 
 
10368
 
# Whether dlopen of programs is supported.
10369
 
dlopen_self=$enable_dlopen_self
10370
 
 
10371
 
# Whether dlopen of statically linked programs is supported.
10372
 
dlopen_self_static=$enable_dlopen_self_static
10373
 
 
10374
 
# Compiler flag to prevent dynamic linking.
10375
 
link_static_flag=$lt_lt_prog_compiler_static
10376
 
 
10377
 
# Compiler flag to turn off builtin functions.
10378
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10379
 
 
10380
 
# Compiler flag to allow reflexive dlopens.
10381
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10382
 
 
10383
 
# Compiler flag to generate shared objects directly from archives.
10384
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
10385
 
 
10386
 
# Compiler flag to generate thread-safe objects.
10387
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
10388
 
 
10389
 
# Library versioning type.
10390
 
version_type=$version_type
10391
 
 
10392
 
# Format of library name prefix.
10393
 
libname_spec=$lt_libname_spec
10394
 
 
10395
 
# List of archive names.  First name is the real one, the rest are links.
10396
 
# The last name is the one that the linker finds with -lNAME.
10397
 
library_names_spec=$lt_library_names_spec
10398
 
 
10399
 
# The coded name of the library, if different from the real name.
10400
 
soname_spec=$lt_soname_spec
10401
 
 
10402
 
# Commands used to build and install an old-style archive.
10403
 
RANLIB=$lt_RANLIB
10404
 
old_archive_cmds=$lt_old_archive_cmds
10405
 
old_postinstall_cmds=$lt_old_postinstall_cmds
10406
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
10407
 
 
10408
 
# Create an old-style archive from a shared archive.
10409
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10410
 
 
10411
 
# Create a temporary old-style archive to link instead of a shared archive.
10412
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10413
 
 
10414
 
# Commands used to build and install a shared archive.
10415
 
archive_cmds=$lt_archive_cmds
10416
 
archive_expsym_cmds=$lt_archive_expsym_cmds
10417
 
postinstall_cmds=$lt_postinstall_cmds
10418
 
postuninstall_cmds=$lt_postuninstall_cmds
10419
 
 
10420
 
# Commands used to build a loadable module (assumed same as above if empty)
10421
 
module_cmds=$lt_module_cmds
10422
 
module_expsym_cmds=$lt_module_expsym_cmds
10423
 
 
10424
 
# Commands to strip libraries.
10425
 
old_striplib=$lt_old_striplib
10426
 
striplib=$lt_striplib
10427
 
 
10428
 
# Dependencies to place before the objects being linked to create a
10429
 
# shared library.
10430
 
predep_objects=$lt_predep_objects
10431
 
 
10432
 
# Dependencies to place after the objects being linked to create a
10433
 
# shared library.
10434
 
postdep_objects=$lt_postdep_objects
10435
 
 
10436
 
# Dependencies to place before the objects being linked to create a
10437
 
# shared library.
10438
 
predeps=$lt_predeps
10439
 
 
10440
 
# Dependencies to place after the objects being linked to create a
10441
 
# shared library.
10442
 
postdeps=$lt_postdeps
10443
 
 
10444
 
# The library search path used internally by the compiler when linking
10445
 
# a shared library.
10446
 
compiler_lib_search_path=$lt_compiler_lib_search_path
10447
 
 
10448
 
# Method to check whether dependent libraries are shared objects.
10449
 
deplibs_check_method=$lt_deplibs_check_method
10450
 
 
10451
 
# Command to use when deplibs_check_method == file_magic.
10452
 
file_magic_cmd=$lt_file_magic_cmd
10453
 
 
10454
 
# Flag that allows shared libraries with undefined symbols to be built.
10455
 
allow_undefined_flag=$lt_allow_undefined_flag
10456
 
 
10457
 
# Flag that forces no undefined symbols.
10458
 
no_undefined_flag=$lt_no_undefined_flag
10459
 
 
10460
 
# Commands used to finish a libtool library installation in a directory.
10461
 
finish_cmds=$lt_finish_cmds
10462
 
 
10463
 
# Same as above, but a single script fragment to be evaled but not shown.
10464
 
finish_eval=$lt_finish_eval
10465
 
 
10466
 
# Take the output of nm and produce a listing of raw symbols and C names.
10467
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10468
 
 
10469
 
# Transform the output of nm in a proper C declaration
10470
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10471
 
 
10472
 
# Transform the output of nm in a C name address pair
10473
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10474
 
 
10475
 
# This is the shared library runtime path variable.
10476
 
runpath_var=$runpath_var
10477
 
 
10478
 
# This is the shared library path variable.
10479
 
shlibpath_var=$shlibpath_var
10480
 
 
10481
 
# Is shlibpath searched before the hard-coded library search path?
10482
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10483
 
 
10484
 
# How to hardcode a shared library path into an executable.
10485
 
hardcode_action=$hardcode_action
10486
 
 
10487
 
# Whether we should hardcode library paths into libraries.
10488
 
hardcode_into_libs=$hardcode_into_libs
10489
 
 
10490
 
# Flag to hardcode \$libdir into a binary during linking.
10491
 
# This must work even if \$libdir does not exist.
10492
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10493
 
 
10494
 
# If ld is used when linking, flag to hardcode \$libdir into
10495
 
# a binary during linking. This must work even if \$libdir does
10496
 
# not exist.
10497
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10498
 
 
10499
 
# Whether we need a single -rpath flag with a separated argument.
10500
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
10501
 
 
10502
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10503
 
# resulting binary.
10504
 
hardcode_direct=$hardcode_direct
10505
 
 
10506
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10507
 
# resulting binary.
10508
 
hardcode_minus_L=$hardcode_minus_L
10509
 
 
10510
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10511
 
# the resulting binary.
10512
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
10513
 
 
10514
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
10515
 
# and all subsequent libraries and executables linked against it.
10516
 
hardcode_automatic=$hardcode_automatic
10517
 
 
10518
 
# Variables whose values should be saved in libtool wrapper scripts and
10519
 
# restored at relink time.
10520
 
variables_saved_for_relink="$variables_saved_for_relink"
10521
 
 
10522
 
# Whether libtool must link a program against all its dependency libraries.
10523
 
link_all_deplibs=$link_all_deplibs
10524
 
 
10525
 
# Compile-time system search path for libraries
10526
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10527
 
 
10528
 
# Run-time system search path for libraries
10529
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10530
 
 
10531
 
# Fix the shell variable \$srcfile for the compiler.
10532
 
fix_srcfile_path="$fix_srcfile_path"
10533
 
 
10534
 
# Set to yes if exported symbols are required.
10535
 
always_export_symbols=$always_export_symbols
10536
 
 
10537
 
# The commands to list exported symbols.
10538
 
export_symbols_cmds=$lt_export_symbols_cmds
10539
 
 
10540
 
# The commands to extract the exported symbol list from a shared archive.
10541
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
10542
 
 
10543
 
# Symbols that should not be listed in the preloaded symbols.
10544
 
exclude_expsyms=$lt_exclude_expsyms
10545
 
 
10546
 
# Symbols that must always be exported.
10547
 
include_expsyms=$lt_include_expsyms
10548
 
 
10549
 
# ### END LIBTOOL CONFIG
10550
 
 
10551
 
__EOF__
10552
 
 
10553
 
 
10554
 
  case $host_os in
10555
 
  aix3*)
10556
 
    cat <<\EOF >> "$cfgfile"
10557
 
 
10558
 
# AIX sometimes has problems with the GCC collect2 program.  For some
10559
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
10560
 
# vanish in a puff of smoke.
10561
 
if test "X${COLLECT_NAMES+set}" != Xset; then
10562
 
  COLLECT_NAMES=
10563
 
  export COLLECT_NAMES
10564
 
fi
10565
 
EOF
10566
 
    ;;
10567
 
  esac
10568
 
 
10569
 
  # We use sed instead of cat because bash on DJGPP gets confused if
10570
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
10571
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
10572
 
  # is reportedly fixed, but why not run on old versions too?
10573
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10574
 
 
10575
 
  mv -f "$cfgfile" "$ofile" || \
10576
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10577
 
  chmod +x "$ofile"
10578
 
 
10579
 
else
10580
 
  # If there is no Makefile yet, we rely on a make rule to execute
10581
 
  # `config.status --recheck' to rerun these tests and create the
10582
 
  # libtool script then.
10583
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10584
 
  if test -f "$ltmain_in"; then
10585
 
    test -f Makefile && make "$ltmain"
10586
 
  fi
10587
 
fi
10588
 
 
10589
 
 
10590
 
ac_ext=c
10591
 
ac_cpp='$CPP $CPPFLAGS'
10592
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10593
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10594
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10595
 
 
10596
 
CC="$lt_save_CC"
10597
 
 
10598
 
 
10599
 
# Check whether --with-tags was given.
10600
 
if test "${with_tags+set}" = set; then
10601
 
  withval=$with_tags; tagnames="$withval"
10602
 
fi
10603
 
 
10604
 
 
10605
 
if test -f "$ltmain" && test -n "$tagnames"; then
10606
 
  if test ! -f "${ofile}"; then
10607
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
10608
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10609
 
  fi
10610
 
 
10611
 
  if test -z "$LTCC"; then
10612
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
10613
 
    if test -z "$LTCC"; then
10614
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10615
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10616
 
    else
10617
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10618
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10619
 
    fi
10620
 
  fi
10621
 
  if test -z "$LTCFLAGS"; then
10622
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
10623
 
  fi
10624
 
 
10625
 
  # Extract list of available tagged configurations in $ofile.
10626
 
  # Note that this assumes the entire list is on one line.
10627
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10628
 
 
10629
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10630
 
  for tagname in $tagnames; do
10631
 
    IFS="$lt_save_ifs"
10632
 
    # Check whether tagname contains only valid characters
10633
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10634
 
    "") ;;
10635
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10636
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
10637
 
   { (exit 1); exit 1; }; }
10638
 
        ;;
10639
 
    esac
10640
 
 
10641
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10642
 
    then
10643
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10644
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10645
 
   { (exit 1); exit 1; }; }
10646
 
    fi
10647
 
 
10648
 
    # Update the list of available tags.
10649
 
    if test -n "$tagname"; then
10650
 
      echo appending configuration tag \"$tagname\" to $ofile
10651
 
 
10652
 
      case $tagname in
10653
 
      CXX)
10654
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10655
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10656
 
            (test "X$CXX" != "Xg++"))) ; then
10657
 
          ac_ext=cpp
10658
 
ac_cpp='$CXXCPP $CPPFLAGS'
10659
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10660
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10661
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10662
 
 
10663
 
 
10664
 
 
10665
 
 
10666
 
archive_cmds_need_lc_CXX=no
10667
 
allow_undefined_flag_CXX=
10668
 
always_export_symbols_CXX=no
10669
 
archive_expsym_cmds_CXX=
10670
 
export_dynamic_flag_spec_CXX=
10671
 
hardcode_direct_CXX=no
10672
 
hardcode_libdir_flag_spec_CXX=
10673
 
hardcode_libdir_flag_spec_ld_CXX=
10674
 
hardcode_libdir_separator_CXX=
10675
 
hardcode_minus_L_CXX=no
10676
 
hardcode_shlibpath_var_CXX=unsupported
10677
 
hardcode_automatic_CXX=no
10678
 
module_cmds_CXX=
10679
 
module_expsym_cmds_CXX=
10680
 
link_all_deplibs_CXX=unknown
10681
 
old_archive_cmds_CXX=$old_archive_cmds
10682
 
no_undefined_flag_CXX=
10683
 
whole_archive_flag_spec_CXX=
10684
 
enable_shared_with_static_runtimes_CXX=no
10685
 
 
10686
 
# Dependencies to place before and after the object being linked:
10687
 
predep_objects_CXX=
10688
 
postdep_objects_CXX=
10689
 
predeps_CXX=
10690
 
postdeps_CXX=
10691
 
compiler_lib_search_path_CXX=
10692
 
 
10693
 
# Source file extension for C++ test sources.
10694
 
ac_ext=cpp
10695
 
 
10696
 
# Object file extension for compiled C++ test sources.
10697
 
objext=o
10698
 
objext_CXX=$objext
10699
 
 
10700
 
# Code to be used in simple compile tests
10701
 
lt_simple_compile_test_code="int some_variable = 0;\n"
10702
 
 
10703
 
# Code to be used in simple link tests
10704
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10705
 
 
10706
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
10707
 
 
10708
 
# If no C compiler was specified, use CC.
10709
 
LTCC=${LTCC-"$CC"}
10710
 
 
10711
 
# If no C compiler flags were specified, use CFLAGS.
10712
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10713
 
 
10714
 
# Allow CC to be a program name with arguments.
10715
 
compiler=$CC
10716
 
 
10717
 
 
10718
 
# save warnings/boilerplate of simple test code
10719
 
ac_outfile=conftest.$ac_objext
10720
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10721
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10722
 
_lt_compiler_boilerplate=`cat conftest.err`
10723
 
$rm conftest*
10724
 
 
10725
 
ac_outfile=conftest.$ac_objext
10726
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
10727
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10728
 
_lt_linker_boilerplate=`cat conftest.err`
10729
 
$rm conftest*
10730
 
 
10731
 
 
10732
 
# Allow CC to be a program name with arguments.
10733
 
lt_save_CC=$CC
10734
 
lt_save_LD=$LD
10735
 
lt_save_GCC=$GCC
10736
 
GCC=$GXX
10737
 
lt_save_with_gnu_ld=$with_gnu_ld
10738
 
lt_save_path_LD=$lt_cv_path_LD
10739
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10740
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10741
 
else
10742
 
  $as_unset lt_cv_prog_gnu_ld
10743
 
fi
10744
 
if test -n "${lt_cv_path_LDCXX+set}"; then
10745
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
10746
 
else
10747
 
  $as_unset lt_cv_path_LD
10748
 
fi
10749
 
test -z "${LDCXX+set}" || LD=$LDCXX
10750
 
CC=${CXX-"c++"}
10751
 
compiler=$CC
10752
 
compiler_CXX=$CC
10753
 
for cc_temp in $compiler""; do
10754
 
  case $cc_temp in
10755
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10756
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10757
 
    \-*) ;;
10758
 
    *) break;;
10759
 
  esac
10760
 
done
10761
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10762
 
 
10763
 
 
10764
 
# We don't want -fno-exception wen compiling C++ code, so set the
10765
 
# no_builtin_flag separately
10766
 
if test "$GXX" = yes; then
10767
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10768
 
else
10769
 
  lt_prog_compiler_no_builtin_flag_CXX=
10770
 
fi
10771
 
 
10772
 
if test "$GXX" = yes; then
10773
 
  # Set up default GNU C++ configuration
10774
 
 
10775
 
 
10776
 
# Check whether --with-gnu-ld was given.
10777
 
if test "${with_gnu_ld+set}" = set; then
10778
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10779
 
else
10780
 
  with_gnu_ld=no
10781
 
fi
10782
 
 
10783
 
ac_prog=ld
10784
 
if test "$GCC" = yes; then
10785
 
  # Check if gcc -print-prog-name=ld gives a path.
10786
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10787
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10788
 
  case $host in
10789
 
  *-*-mingw*)
10790
 
    # gcc leaves a trailing carriage return which upsets mingw
10791
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10792
 
  *)
10793
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10794
 
  esac
10795
 
  case $ac_prog in
10796
 
    # Accept absolute paths.
10797
 
    [\\/]* | ?:[\\/]*)
10798
 
      re_direlt='/[^/][^/]*/\.\./'
10799
 
      # Canonicalize the pathname of ld
10800
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
10801
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10802
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10803
 
      done
10804
 
      test -z "$LD" && LD="$ac_prog"
10805
 
      ;;
10806
 
  "")
10807
 
    # If it fails, then pretend we aren't using GCC.
10808
 
    ac_prog=ld
10809
 
    ;;
10810
 
  *)
10811
 
    # If it is relative, then search for the first ld in PATH.
10812
 
    with_gnu_ld=unknown
10813
 
    ;;
10814
 
  esac
10815
 
elif test "$with_gnu_ld" = yes; then
10816
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
10817
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10818
 
else
10819
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10820
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10821
 
fi
10822
 
if test "${lt_cv_path_LD+set}" = set; then
10823
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10824
 
else
10825
 
  if test -z "$LD"; then
10826
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10827
 
  for ac_dir in $PATH; do
10828
 
    IFS="$lt_save_ifs"
10829
 
    test -z "$ac_dir" && ac_dir=.
10830
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10831
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
10832
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
10833
 
      # but apparently some variants of GNU ld only accept -v.
10834
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
10835
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10836
 
      *GNU* | *'with BFD'*)
10837
 
        test "$with_gnu_ld" != no && break
10838
 
        ;;
10839
 
      *)
10840
 
        test "$with_gnu_ld" != yes && break
10841
 
        ;;
10842
 
      esac
10843
 
    fi
10844
 
  done
10845
 
  IFS="$lt_save_ifs"
10846
 
else
10847
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
10848
 
fi
10849
 
fi
10850
 
 
10851
 
LD="$lt_cv_path_LD"
10852
 
if test -n "$LD"; then
10853
 
  { echo "$as_me:$LINENO: result: $LD" >&5
10854
 
echo "${ECHO_T}$LD" >&6; }
10855
 
else
10856
 
  { echo "$as_me:$LINENO: result: no" >&5
10857
 
echo "${ECHO_T}no" >&6; }
10858
 
fi
10859
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10860
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10861
 
   { (exit 1); exit 1; }; }
10862
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10863
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10864
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
10865
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10866
 
else
10867
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
10868
 
case `$LD -v 2>&1 </dev/null` in
10869
 
*GNU* | *'with BFD'*)
10870
 
  lt_cv_prog_gnu_ld=yes
10871
 
  ;;
10872
 
*)
10873
 
  lt_cv_prog_gnu_ld=no
10874
 
  ;;
10875
 
esac
10876
 
fi
10877
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10878
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10879
 
with_gnu_ld=$lt_cv_prog_gnu_ld
10880
 
 
10881
 
 
10882
 
 
10883
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
10884
 
  # archiving commands below assume that GNU ld is being used.
10885
 
  if test "$with_gnu_ld" = yes; then
10886
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10887
 
    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'
10888
 
 
10889
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10890
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10891
 
 
10892
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
10893
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10894
 
    #     investigate it a little bit more. (MM)
10895
 
    wlarc='${wl}'
10896
 
 
10897
 
    # ancient GNU ld didn't support --whole-archive et. al.
10898
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10899
 
        grep 'no-whole-archive' > /dev/null; then
10900
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10901
 
    else
10902
 
      whole_archive_flag_spec_CXX=
10903
 
    fi
10904
 
  else
10905
 
    with_gnu_ld=no
10906
 
    wlarc=
10907
 
 
10908
 
    # A generic and very simple default shared library creation
10909
 
    # command for GNU C++ for the case where it uses the native
10910
 
    # linker, instead of GNU ld.  If possible, this setting should
10911
 
    # overridden to take advantage of the native linker features on
10912
 
    # the platform it is being used on.
10913
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10914
 
  fi
10915
 
 
10916
 
  # Commands to make compiler produce verbose output that lists
10917
 
  # what "hidden" libraries, object files and flags are used when
10918
 
  # linking a shared library.
10919
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10920
 
 
10921
 
else
10922
 
  GXX=no
10923
 
  with_gnu_ld=no
10924
 
  wlarc=
10925
 
fi
10926
 
 
10927
 
# PORTME: fill in a description of your system's C++ link characteristics
10928
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10929
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10930
 
ld_shlibs_CXX=yes
10931
 
case $host_os in
10932
 
  aix3*)
10933
 
    # FIXME: insert proper C++ library support
10934
 
    ld_shlibs_CXX=no
10935
 
    ;;
10936
 
  aix4* | aix5*)
10937
 
    if test "$host_cpu" = ia64; then
10938
 
      # On IA64, the linker does run time linking by default, so we don't
10939
 
      # have to do anything special.
10940
 
      aix_use_runtimelinking=no
10941
 
      exp_sym_flag='-Bexport'
10942
 
      no_entry_flag=""
10943
 
    else
10944
 
      aix_use_runtimelinking=no
10945
 
 
10946
 
      # Test if we are trying to use run time linking or normal
10947
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10948
 
      # need to do runtime linking.
10949
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10950
 
        for ld_flag in $LDFLAGS; do
10951
 
          case $ld_flag in
10952
 
          *-brtl*)
10953
 
            aix_use_runtimelinking=yes
10954
 
            break
10955
 
            ;;
10956
 
          esac
10957
 
        done
10958
 
        ;;
10959
 
      esac
10960
 
 
10961
 
      exp_sym_flag='-bexport'
10962
 
      no_entry_flag='-bnoentry'
10963
 
    fi
10964
 
 
10965
 
    # When large executables or shared objects are built, AIX ld can
10966
 
    # have problems creating the table of contents.  If linking a library
10967
 
    # or program results in "error TOC overflow" add -mminimal-toc to
10968
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10969
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10970
 
 
10971
 
    archive_cmds_CXX=''
10972
 
    hardcode_direct_CXX=yes
10973
 
    hardcode_libdir_separator_CXX=':'
10974
 
    link_all_deplibs_CXX=yes
10975
 
 
10976
 
    if test "$GXX" = yes; then
10977
 
      case $host_os in aix4.[012]|aix4.[012].*)
10978
 
      # We only want to do this on AIX 4.2 and lower, the check
10979
 
      # below for broken collect2 doesn't work under 4.3+
10980
 
        collect2name=`${CC} -print-prog-name=collect2`
10981
 
        if test -f "$collect2name" && \
10982
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
10983
 
        then
10984
 
          # We have reworked collect2
10985
 
          hardcode_direct_CXX=yes
10986
 
        else
10987
 
          # We have old collect2
10988
 
          hardcode_direct_CXX=unsupported
10989
 
          # It fails to find uninstalled libraries when the uninstalled
10990
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
10991
 
          # to unsupported forces relinking
10992
 
          hardcode_minus_L_CXX=yes
10993
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
10994
 
          hardcode_libdir_separator_CXX=
10995
 
        fi
10996
 
        ;;
10997
 
      esac
10998
 
      shared_flag='-shared'
10999
 
      if test "$aix_use_runtimelinking" = yes; then
11000
 
        shared_flag="$shared_flag "'${wl}-G'
11001
 
      fi
11002
 
    else
11003
 
      # not using gcc
11004
 
      if test "$host_cpu" = ia64; then
11005
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11006
 
        # chokes on -Wl,-G. The following line is correct:
11007
 
        shared_flag='-G'
11008
 
      else
11009
 
        if test "$aix_use_runtimelinking" = yes; then
11010
 
          shared_flag='${wl}-G'
11011
 
        else
11012
 
          shared_flag='${wl}-bM:SRE'
11013
 
        fi
11014
 
      fi
11015
 
    fi
11016
 
 
11017
 
    # It seems that -bexpall does not export symbols beginning with
11018
 
    # underscore (_), so it is better to generate a list of symbols to export.
11019
 
    always_export_symbols_CXX=yes
11020
 
    if test "$aix_use_runtimelinking" = yes; then
11021
 
      # Warning - without using the other runtime loading flags (-brtl),
11022
 
      # -berok will link without error, but may produce a broken library.
11023
 
      allow_undefined_flag_CXX='-berok'
11024
 
      # Determine the default libpath from the value encoded in an empty executable.
11025
 
      cat >conftest.$ac_ext <<_ACEOF
11026
 
/* confdefs.h.  */
11027
 
_ACEOF
11028
 
cat confdefs.h >>conftest.$ac_ext
11029
 
cat >>conftest.$ac_ext <<_ACEOF
11030
 
/* end confdefs.h.  */
11031
 
 
11032
 
int
11033
 
main ()
11034
 
{
11035
 
 
11036
 
  ;
11037
 
  return 0;
11038
 
}
11039
 
_ACEOF
11040
 
rm -f conftest.$ac_objext conftest$ac_exeext
11041
 
if { (ac_try="$ac_link"
11042
 
case "(($ac_try" in
11043
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11044
 
  *) ac_try_echo=$ac_try;;
11045
 
esac
11046
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11047
 
  (eval "$ac_link") 2>conftest.er1
11048
 
  ac_status=$?
11049
 
  grep -v '^ *+' conftest.er1 >conftest.err
11050
 
  rm -f conftest.er1
11051
 
  cat conftest.err >&5
11052
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11053
 
  (exit $ac_status); } &&
11054
 
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11055
 
  { (case "(($ac_try" in
11056
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11057
 
  *) ac_try_echo=$ac_try;;
11058
 
esac
11059
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11060
 
  (eval "$ac_try") 2>&5
11061
 
  ac_status=$?
11062
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11063
 
  (exit $ac_status); }; } &&
11064
 
         { ac_try='test -s conftest$ac_exeext'
11065
 
  { (case "(($ac_try" in
11066
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11067
 
  *) ac_try_echo=$ac_try;;
11068
 
esac
11069
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11070
 
  (eval "$ac_try") 2>&5
11071
 
  ac_status=$?
11072
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11073
 
  (exit $ac_status); }; }; then
11074
 
 
11075
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11076
 
}'`
11077
 
# Check for a 64-bit object if we didn't find anything.
11078
 
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; }
11079
 
}'`; fi
11080
 
else
11081
 
  echo "$as_me: failed program was:" >&5
11082
 
sed 's/^/| /' conftest.$ac_ext >&5
11083
 
 
11084
 
 
11085
 
fi
11086
 
 
11087
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11088
 
      conftest$ac_exeext conftest.$ac_ext
11089
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11090
 
 
11091
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11092
 
 
11093
 
      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"
11094
 
     else
11095
 
      if test "$host_cpu" = ia64; then
11096
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11097
 
        allow_undefined_flag_CXX="-z nodefs"
11098
 
        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"
11099
 
      else
11100
 
        # Determine the default libpath from the value encoded in an empty executable.
11101
 
        cat >conftest.$ac_ext <<_ACEOF
11102
 
/* confdefs.h.  */
11103
 
_ACEOF
11104
 
cat confdefs.h >>conftest.$ac_ext
11105
 
cat >>conftest.$ac_ext <<_ACEOF
11106
 
/* end confdefs.h.  */
11107
 
 
11108
 
int
11109
 
main ()
11110
 
{
11111
 
 
11112
 
  ;
11113
 
  return 0;
11114
 
}
11115
 
_ACEOF
11116
 
rm -f conftest.$ac_objext conftest$ac_exeext
11117
 
if { (ac_try="$ac_link"
11118
 
case "(($ac_try" in
11119
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11120
 
  *) ac_try_echo=$ac_try;;
11121
 
esac
11122
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11123
 
  (eval "$ac_link") 2>conftest.er1
11124
 
  ac_status=$?
11125
 
  grep -v '^ *+' conftest.er1 >conftest.err
11126
 
  rm -f conftest.er1
11127
 
  cat conftest.err >&5
11128
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11129
 
  (exit $ac_status); } &&
11130
 
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11131
 
  { (case "(($ac_try" in
11132
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11133
 
  *) ac_try_echo=$ac_try;;
11134
 
esac
11135
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11136
 
  (eval "$ac_try") 2>&5
11137
 
  ac_status=$?
11138
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11139
 
  (exit $ac_status); }; } &&
11140
 
         { ac_try='test -s conftest$ac_exeext'
11141
 
  { (case "(($ac_try" in
11142
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11143
 
  *) ac_try_echo=$ac_try;;
11144
 
esac
11145
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11146
 
  (eval "$ac_try") 2>&5
11147
 
  ac_status=$?
11148
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149
 
  (exit $ac_status); }; }; then
11150
 
 
11151
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11152
 
}'`
11153
 
# Check for a 64-bit object if we didn't find anything.
11154
 
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; }
11155
 
}'`; fi
11156
 
else
11157
 
  echo "$as_me: failed program was:" >&5
11158
 
sed 's/^/| /' conftest.$ac_ext >&5
11159
 
 
11160
 
 
11161
 
fi
11162
 
 
11163
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11164
 
      conftest$ac_exeext conftest.$ac_ext
11165
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11166
 
 
11167
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11168
 
        # Warning - without using the other run time loading flags,
11169
 
        # -berok will link without error, but may produce a broken library.
11170
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
11171
 
        allow_undefined_flag_CXX=' ${wl}-berok'
11172
 
        # Exported symbols can be pulled into shared objects from archives
11173
 
        whole_archive_flag_spec_CXX='$convenience'
11174
 
        archive_cmds_need_lc_CXX=yes
11175
 
        # This is similar to how AIX traditionally builds its shared libraries.
11176
 
        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'
11177
 
      fi
11178
 
    fi
11179
 
    ;;
11180
 
 
11181
 
  beos*)
11182
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11183
 
      allow_undefined_flag_CXX=unsupported
11184
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11185
 
      # support --undefined.  This deserves some investigation.  FIXME
11186
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11187
 
    else
11188
 
      ld_shlibs_CXX=no
11189
 
    fi
11190
 
    ;;
11191
 
 
11192
 
  chorus*)
11193
 
    case $cc_basename in
11194
 
      *)
11195
 
        # FIXME: insert proper C++ library support
11196
 
        ld_shlibs_CXX=no
11197
 
        ;;
11198
 
    esac
11199
 
    ;;
11200
 
 
11201
 
  cygwin* | mingw* | pw32*)
11202
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11203
 
    # as there is no search path for DLLs.
11204
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
11205
 
    allow_undefined_flag_CXX=unsupported
11206
 
    always_export_symbols_CXX=no
11207
 
    enable_shared_with_static_runtimes_CXX=yes
11208
 
 
11209
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11210
 
      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'
11211
 
      # If the export-symbols file already is a .def file (1st line
11212
 
      # is EXPORTS), use it as is; otherwise, prepend...
11213
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11214
 
        cp $export_symbols $output_objdir/$soname.def;
11215
 
      else
11216
 
        echo EXPORTS > $output_objdir/$soname.def;
11217
 
        cat $export_symbols >> $output_objdir/$soname.def;
11218
 
      fi~
11219
 
      $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'
11220
 
    else
11221
 
      ld_shlibs_CXX=no
11222
 
    fi
11223
 
  ;;
11224
 
      darwin* | rhapsody*)
11225
 
        case $host_os in
11226
 
        rhapsody* | darwin1.[012])
11227
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11228
 
         ;;
11229
 
       *) # Darwin 1.3 on
11230
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11231
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11232
 
         else
11233
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
11234
 
             10.[012])
11235
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11236
 
               ;;
11237
 
             10.*)
11238
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11239
 
               ;;
11240
 
           esac
11241
 
         fi
11242
 
         ;;
11243
 
        esac
11244
 
      archive_cmds_need_lc_CXX=no
11245
 
      hardcode_direct_CXX=no
11246
 
      hardcode_automatic_CXX=yes
11247
 
      hardcode_shlibpath_var_CXX=unsupported
11248
 
      whole_archive_flag_spec_CXX=''
11249
 
      link_all_deplibs_CXX=yes
11250
 
 
11251
 
    if test "$GXX" = yes ; then
11252
 
      lt_int_apple_cc_single_mod=no
11253
 
      output_verbose_link_cmd='echo'
11254
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11255
 
       lt_int_apple_cc_single_mod=yes
11256
 
      fi
11257
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11258
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11259
 
      else
11260
 
          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'
11261
 
        fi
11262
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11263
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11264
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11265
 
            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}'
11266
 
          else
11267
 
            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}'
11268
 
          fi
11269
 
            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}'
11270
 
      else
11271
 
      case $cc_basename in
11272
 
        xlc*)
11273
 
         output_verbose_link_cmd='echo'
11274
 
          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'
11275
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11276
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11277
 
          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}'
11278
 
          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}'
11279
 
          ;;
11280
 
       *)
11281
 
         ld_shlibs_CXX=no
11282
 
          ;;
11283
 
      esac
11284
 
      fi
11285
 
        ;;
11286
 
 
11287
 
  dgux*)
11288
 
    case $cc_basename in
11289
 
      ec++*)
11290
 
        # FIXME: insert proper C++ library support
11291
 
        ld_shlibs_CXX=no
11292
 
        ;;
11293
 
      ghcx*)
11294
 
        # Green Hills C++ Compiler
11295
 
        # FIXME: insert proper C++ library support
11296
 
        ld_shlibs_CXX=no
11297
 
        ;;
11298
 
      *)
11299
 
        # FIXME: insert proper C++ library support
11300
 
        ld_shlibs_CXX=no
11301
 
        ;;
11302
 
    esac
11303
 
    ;;
11304
 
  freebsd[12]*)
11305
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
11306
 
    ld_shlibs_CXX=no
11307
 
    ;;
11308
 
  freebsd-elf*)
11309
 
    archive_cmds_need_lc_CXX=no
11310
 
    ;;
11311
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
11312
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11313
 
    # conventions
11314
 
    ld_shlibs_CXX=yes
11315
 
    ;;
11316
 
  gnu*)
11317
 
    ;;
11318
 
  hpux9*)
11319
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11320
 
    hardcode_libdir_separator_CXX=:
11321
 
    export_dynamic_flag_spec_CXX='${wl}-E'
11322
 
    hardcode_direct_CXX=yes
11323
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
11324
 
                                # but as the default
11325
 
                                # location of the library.
11326
 
 
11327
 
    case $cc_basename in
11328
 
    CC*)
11329
 
      # FIXME: insert proper C++ library support
11330
 
      ld_shlibs_CXX=no
11331
 
      ;;
11332
 
    aCC*)
11333
 
      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'
11334
 
      # Commands to make compiler produce verbose output that lists
11335
 
      # what "hidden" libraries, object files and flags are used when
11336
 
      # linking a shared library.
11337
 
      #
11338
 
      # There doesn't appear to be a way to prevent this compiler from
11339
 
      # explicitly linking system object files so we need to strip them
11340
 
      # from the output so that they don't get included in the library
11341
 
      # dependencies.
11342
 
      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'
11343
 
      ;;
11344
 
    *)
11345
 
      if test "$GXX" = yes; then
11346
 
        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'
11347
 
      else
11348
 
        # FIXME: insert proper C++ library support
11349
 
        ld_shlibs_CXX=no
11350
 
      fi
11351
 
      ;;
11352
 
    esac
11353
 
    ;;
11354
 
  hpux10*|hpux11*)
11355
 
    if test $with_gnu_ld = no; then
11356
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11357
 
      hardcode_libdir_separator_CXX=:
11358
 
 
11359
 
      case $host_cpu in
11360
 
      hppa*64*|ia64*)
11361
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11362
 
        ;;
11363
 
      *)
11364
 
        export_dynamic_flag_spec_CXX='${wl}-E'
11365
 
        ;;
11366
 
      esac
11367
 
    fi
11368
 
    case $host_cpu in
11369
 
    hppa*64*|ia64*)
11370
 
      hardcode_direct_CXX=no
11371
 
      hardcode_shlibpath_var_CXX=no
11372
 
      ;;
11373
 
    *)
11374
 
      hardcode_direct_CXX=yes
11375
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
11376
 
                                              # but as the default
11377
 
                                              # location of the library.
11378
 
      ;;
11379
 
    esac
11380
 
 
11381
 
    case $cc_basename in
11382
 
      CC*)
11383
 
        # FIXME: insert proper C++ library support
11384
 
        ld_shlibs_CXX=no
11385
 
        ;;
11386
 
      aCC*)
11387
 
        case $host_cpu in
11388
 
        hppa*64*)
11389
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11390
 
          ;;
11391
 
        ia64*)
11392
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11393
 
          ;;
11394
 
        *)
11395
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11396
 
          ;;
11397
 
        esac
11398
 
        # Commands to make compiler produce verbose output that lists
11399
 
        # what "hidden" libraries, object files and flags are used when
11400
 
        # linking a shared library.
11401
 
        #
11402
 
        # There doesn't appear to be a way to prevent this compiler from
11403
 
        # explicitly linking system object files so we need to strip them
11404
 
        # from the output so that they don't get included in the library
11405
 
        # dependencies.
11406
 
        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'
11407
 
        ;;
11408
 
      *)
11409
 
        if test "$GXX" = yes; then
11410
 
          if test $with_gnu_ld = no; then
11411
 
            case $host_cpu in
11412
 
            hppa*64*)
11413
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11414
 
              ;;
11415
 
            ia64*)
11416
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11417
 
              ;;
11418
 
            *)
11419
 
              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'
11420
 
              ;;
11421
 
            esac
11422
 
          fi
11423
 
        else
11424
 
          # FIXME: insert proper C++ library support
11425
 
          ld_shlibs_CXX=no
11426
 
        fi
11427
 
        ;;
11428
 
    esac
11429
 
    ;;
11430
 
  interix3*)
11431
 
    hardcode_direct_CXX=no
11432
 
    hardcode_shlibpath_var_CXX=no
11433
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11434
 
    export_dynamic_flag_spec_CXX='${wl}-E'
11435
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11436
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
11437
 
    # default) and relocated if they conflict, which is a slow very memory
11438
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
11439
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11440
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11441
 
    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'
11442
 
    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'
11443
 
    ;;
11444
 
  irix5* | irix6*)
11445
 
    case $cc_basename in
11446
 
      CC*)
11447
 
        # SGI C++
11448
 
        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'
11449
 
 
11450
 
        # Archives containing C++ object files must be created using
11451
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
11452
 
        # necessary to make sure instantiated templates are included
11453
 
        # in the archive.
11454
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11455
 
        ;;
11456
 
      *)
11457
 
        if test "$GXX" = yes; then
11458
 
          if test "$with_gnu_ld" = no; then
11459
 
            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'
11460
 
          else
11461
 
            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'
11462
 
          fi
11463
 
        fi
11464
 
        link_all_deplibs_CXX=yes
11465
 
        ;;
11466
 
    esac
11467
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11468
 
    hardcode_libdir_separator_CXX=:
11469
 
    ;;
11470
 
  linux*)
11471
 
    case $cc_basename in
11472
 
      KCC*)
11473
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11474
 
 
11475
 
        # KCC will only create a shared library if the output file
11476
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11477
 
        # to its proper name (with version) after linking.
11478
 
        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'
11479
 
        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'
11480
 
        # Commands to make compiler produce verbose output that lists
11481
 
        # what "hidden" libraries, object files and flags are used when
11482
 
        # linking a shared library.
11483
 
        #
11484
 
        # There doesn't appear to be a way to prevent this compiler from
11485
 
        # explicitly linking system object files so we need to strip them
11486
 
        # from the output so that they don't get included in the library
11487
 
        # dependencies.
11488
 
        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'
11489
 
 
11490
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
11491
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11492
 
 
11493
 
        # Archives containing C++ object files must be created using
11494
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11495
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11496
 
        ;;
11497
 
      icpc*)
11498
 
        # Intel C++
11499
 
        with_gnu_ld=yes
11500
 
        # version 8.0 and above of icpc choke on multiply defined symbols
11501
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
11502
 
        # earlier do not add the objects themselves.
11503
 
        case `$CC -V 2>&1` in
11504
 
        *"Version 7."*)
11505
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11506
 
          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'
11507
 
          ;;
11508
 
        *)  # Version 8.0 or newer
11509
 
          tmp_idyn=
11510
 
          case $host_cpu in
11511
 
            ia64*) tmp_idyn=' -i_dynamic';;
11512
 
          esac
11513
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11514
 
          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'
11515
 
          ;;
11516
 
        esac
11517
 
        archive_cmds_need_lc_CXX=no
11518
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11519
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11520
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11521
 
        ;;
11522
 
      pgCC*)
11523
 
        # Portland Group C++ compiler
11524
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11525
 
        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'
11526
 
 
11527
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11528
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11529
 
        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'
11530
 
        ;;
11531
 
      cxx*)
11532
 
        # Compaq C++
11533
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11534
 
        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'
11535
 
 
11536
 
        runpath_var=LD_RUN_PATH
11537
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11538
 
        hardcode_libdir_separator_CXX=:
11539
 
 
11540
 
        # Commands to make compiler produce verbose output that lists
11541
 
        # what "hidden" libraries, object files and flags are used when
11542
 
        # linking a shared library.
11543
 
        #
11544
 
        # There doesn't appear to be a way to prevent this compiler from
11545
 
        # explicitly linking system object files so we need to strip them
11546
 
        # from the output so that they don't get included in the library
11547
 
        # dependencies.
11548
 
        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'
11549
 
        ;;
11550
 
    esac
11551
 
    ;;
11552
 
  lynxos*)
11553
 
    # FIXME: insert proper C++ library support
11554
 
    ld_shlibs_CXX=no
11555
 
    ;;
11556
 
  m88k*)
11557
 
    # FIXME: insert proper C++ library support
11558
 
    ld_shlibs_CXX=no
11559
 
    ;;
11560
 
  mvs*)
11561
 
    case $cc_basename in
11562
 
      cxx*)
11563
 
        # FIXME: insert proper C++ library support
11564
 
        ld_shlibs_CXX=no
11565
 
        ;;
11566
 
      *)
11567
 
        # FIXME: insert proper C++ library support
11568
 
        ld_shlibs_CXX=no
11569
 
        ;;
11570
 
    esac
11571
 
    ;;
11572
 
  netbsd*)
11573
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11574
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11575
 
      wlarc=
11576
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
11577
 
      hardcode_direct_CXX=yes
11578
 
      hardcode_shlibpath_var_CXX=no
11579
 
    fi
11580
 
    # Workaround some broken pre-1.5 toolchains
11581
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11582
 
    ;;
11583
 
  openbsd2*)
11584
 
    # C++ shared libraries are fairly broken
11585
 
    ld_shlibs_CXX=no
11586
 
    ;;
11587
 
  openbsd*)
11588
 
    hardcode_direct_CXX=yes
11589
 
    hardcode_shlibpath_var_CXX=no
11590
 
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11591
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11592
 
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11593
 
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11594
 
      export_dynamic_flag_spec_CXX='${wl}-E'
11595
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11596
 
    fi
11597
 
    output_verbose_link_cmd='echo'
11598
 
    ;;
11599
 
  osf3*)
11600
 
    case $cc_basename in
11601
 
      KCC*)
11602
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11603
 
 
11604
 
        # KCC will only create a shared library if the output file
11605
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11606
 
        # to its proper name (with version) after linking.
11607
 
        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'
11608
 
 
11609
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11610
 
        hardcode_libdir_separator_CXX=:
11611
 
 
11612
 
        # Archives containing C++ object files must be created using
11613
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11614
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11615
 
 
11616
 
        ;;
11617
 
      RCC*)
11618
 
        # Rational C++ 2.4.1
11619
 
        # FIXME: insert proper C++ library support
11620
 
        ld_shlibs_CXX=no
11621
 
        ;;
11622
 
      cxx*)
11623
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11624
 
        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'
11625
 
 
11626
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11627
 
        hardcode_libdir_separator_CXX=:
11628
 
 
11629
 
        # Commands to make compiler produce verbose output that lists
11630
 
        # what "hidden" libraries, object files and flags are used when
11631
 
        # linking a shared library.
11632
 
        #
11633
 
        # There doesn't appear to be a way to prevent this compiler from
11634
 
        # explicitly linking system object files so we need to strip them
11635
 
        # from the output so that they don't get included in the library
11636
 
        # dependencies.
11637
 
        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'
11638
 
        ;;
11639
 
      *)
11640
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11641
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11642
 
          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'
11643
 
 
11644
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11645
 
          hardcode_libdir_separator_CXX=:
11646
 
 
11647
 
          # Commands to make compiler produce verbose output that lists
11648
 
          # what "hidden" libraries, object files and flags are used when
11649
 
          # linking a shared library.
11650
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11651
 
 
11652
 
        else
11653
 
          # FIXME: insert proper C++ library support
11654
 
          ld_shlibs_CXX=no
11655
 
        fi
11656
 
        ;;
11657
 
    esac
11658
 
    ;;
11659
 
  osf4* | osf5*)
11660
 
    case $cc_basename in
11661
 
      KCC*)
11662
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11663
 
 
11664
 
        # KCC will only create a shared library if the output file
11665
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11666
 
        # to its proper name (with version) after linking.
11667
 
        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'
11668
 
 
11669
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11670
 
        hardcode_libdir_separator_CXX=:
11671
 
 
11672
 
        # Archives containing C++ object files must be created using
11673
 
        # the KAI C++ compiler.
11674
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
11675
 
        ;;
11676
 
      RCC*)
11677
 
        # Rational C++ 2.4.1
11678
 
        # FIXME: insert proper C++ library support
11679
 
        ld_shlibs_CXX=no
11680
 
        ;;
11681
 
      cxx*)
11682
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
11683
 
        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'
11684
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11685
 
          echo "-hidden">> $lib.exp~
11686
 
          $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~
11687
 
          $rm $lib.exp'
11688
 
 
11689
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11690
 
        hardcode_libdir_separator_CXX=:
11691
 
 
11692
 
        # Commands to make compiler produce verbose output that lists
11693
 
        # what "hidden" libraries, object files and flags are used when
11694
 
        # linking a shared library.
11695
 
        #
11696
 
        # There doesn't appear to be a way to prevent this compiler from
11697
 
        # explicitly linking system object files so we need to strip them
11698
 
        # from the output so that they don't get included in the library
11699
 
        # dependencies.
11700
 
        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'
11701
 
        ;;
11702
 
      *)
11703
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11704
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11705
 
         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'
11706
 
 
11707
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11708
 
          hardcode_libdir_separator_CXX=:
11709
 
 
11710
 
          # Commands to make compiler produce verbose output that lists
11711
 
          # what "hidden" libraries, object files and flags are used when
11712
 
          # linking a shared library.
11713
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11714
 
 
11715
 
        else
11716
 
          # FIXME: insert proper C++ library support
11717
 
          ld_shlibs_CXX=no
11718
 
        fi
11719
 
        ;;
11720
 
    esac
11721
 
    ;;
11722
 
  psos*)
11723
 
    # FIXME: insert proper C++ library support
11724
 
    ld_shlibs_CXX=no
11725
 
    ;;
11726
 
  sunos4*)
11727
 
    case $cc_basename in
11728
 
      CC*)
11729
 
        # Sun C++ 4.x
11730
 
        # FIXME: insert proper C++ library support
11731
 
        ld_shlibs_CXX=no
11732
 
        ;;
11733
 
      lcc*)
11734
 
        # Lucid
11735
 
        # FIXME: insert proper C++ library support
11736
 
        ld_shlibs_CXX=no
11737
 
        ;;
11738
 
      *)
11739
 
        # FIXME: insert proper C++ library support
11740
 
        ld_shlibs_CXX=no
11741
 
        ;;
11742
 
    esac
11743
 
    ;;
11744
 
  solaris*)
11745
 
    case $cc_basename in
11746
 
      CC*)
11747
 
        # Sun C++ 4.2, 5.x and Centerline C++
11748
 
        archive_cmds_need_lc_CXX=yes
11749
 
        no_undefined_flag_CXX=' -zdefs'
11750
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11751
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11752
 
        $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'
11753
 
 
11754
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
11755
 
        hardcode_shlibpath_var_CXX=no
11756
 
        case $host_os in
11757
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
11758
 
          *)
11759
 
            # The C++ compiler is used as linker so we must use $wl
11760
 
            # flag to pass the commands to the underlying system
11761
 
            # linker. We must also pass each convience library through
11762
 
            # to the system linker between allextract/defaultextract.
11763
 
            # The C++ compiler will combine linker options so we
11764
 
            # cannot just pass the convience library names through
11765
 
            # without $wl.
11766
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
11767
 
            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'
11768
 
            ;;
11769
 
        esac
11770
 
        link_all_deplibs_CXX=yes
11771
 
 
11772
 
        output_verbose_link_cmd='echo'
11773
 
 
11774
 
        # Archives containing C++ object files must be created using
11775
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11776
 
        # necessary to make sure instantiated templates are included
11777
 
        # in the archive.
11778
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11779
 
        ;;
11780
 
      gcx*)
11781
 
        # Green Hills C++ Compiler
11782
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11783
 
 
11784
 
        # The C++ compiler must be used to create the archive.
11785
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11786
 
        ;;
11787
 
      *)
11788
 
        # GNU C++ compiler with Solaris linker
11789
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11790
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
11791
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
11792
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11793
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11794
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11795
 
 
11796
 
            # Commands to make compiler produce verbose output that lists
11797
 
            # what "hidden" libraries, object files and flags are used when
11798
 
            # linking a shared library.
11799
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11800
 
          else
11801
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
11802
 
            # platform.
11803
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11804
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11805
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11806
 
 
11807
 
            # Commands to make compiler produce verbose output that lists
11808
 
            # what "hidden" libraries, object files and flags are used when
11809
 
            # linking a shared library.
11810
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11811
 
          fi
11812
 
 
11813
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
11814
 
        fi
11815
 
        ;;
11816
 
    esac
11817
 
    ;;
11818
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11819
 
    no_undefined_flag_CXX='${wl}-z,text'
11820
 
    archive_cmds_need_lc_CXX=no
11821
 
    hardcode_shlibpath_var_CXX=no
11822
 
    runpath_var='LD_RUN_PATH'
11823
 
 
11824
 
    case $cc_basename in
11825
 
      CC*)
11826
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11827
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11828
 
        ;;
11829
 
      *)
11830
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11831
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11832
 
        ;;
11833
 
    esac
11834
 
    ;;
11835
 
  sysv5* | sco3.2v5* | sco5v6*)
11836
 
    # Note: We can NOT use -z defs as we might desire, because we do not
11837
 
    # link with -lc, and that would cause any symbols used from libc to
11838
 
    # always be unresolved, which means just about no library would
11839
 
    # ever link correctly.  If we're not using GNU ld we use -z text
11840
 
    # though, which does catch some bad symbols but isn't as heavy-handed
11841
 
    # as -z defs.
11842
 
    # For security reasons, it is highly recommended that you always
11843
 
    # use absolute paths for naming shared libraries, and exclude the
11844
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
11845
 
    # requires that you compile everything twice, which is a pain.
11846
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
11847
 
    # non-empty value in the environment.  Most likely only useful for
11848
 
    # creating official distributions of packages.
11849
 
    # This is a hack until libtool officially supports absolute path
11850
 
    # names for shared libraries.
11851
 
    no_undefined_flag_CXX='${wl}-z,text'
11852
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
11853
 
    archive_cmds_need_lc_CXX=no
11854
 
    hardcode_shlibpath_var_CXX=no
11855
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11856
 
    hardcode_libdir_separator_CXX=':'
11857
 
    link_all_deplibs_CXX=yes
11858
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
11859
 
    runpath_var='LD_RUN_PATH'
11860
 
 
11861
 
    case $cc_basename in
11862
 
      CC*)
11863
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11864
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11865
 
        ;;
11866
 
      *)
11867
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11868
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11869
 
        ;;
11870
 
    esac
11871
 
    ;;
11872
 
  tandem*)
11873
 
    case $cc_basename in
11874
 
      NCC*)
11875
 
        # NonStop-UX NCC 3.20
11876
 
        # FIXME: insert proper C++ library support
11877
 
        ld_shlibs_CXX=no
11878
 
        ;;
11879
 
      *)
11880
 
        # FIXME: insert proper C++ library support
11881
 
        ld_shlibs_CXX=no
11882
 
        ;;
11883
 
    esac
11884
 
    ;;
11885
 
  vxworks*)
11886
 
    # FIXME: insert proper C++ library support
11887
 
    ld_shlibs_CXX=no
11888
 
    ;;
11889
 
  *)
11890
 
    # FIXME: insert proper C++ library support
11891
 
    ld_shlibs_CXX=no
11892
 
    ;;
11893
 
esac
11894
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11895
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11896
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
11897
 
 
11898
 
GCC_CXX="$GXX"
11899
 
LD_CXX="$LD"
11900
 
 
11901
 
## CAVEAT EMPTOR:
11902
 
## There is no encapsulation within the following macros, do not change
11903
 
## the running order or otherwise move them around unless you know exactly
11904
 
## what you are doing...
11905
 
 
11906
 
cat > conftest.$ac_ext <<EOF
11907
 
class Foo
11908
 
{
11909
 
public:
11910
 
  Foo (void) { a = 0; }
11911
 
private:
11912
 
  int a;
11913
 
};
11914
 
EOF
11915
 
 
11916
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11917
 
  (eval $ac_compile) 2>&5
11918
 
  ac_status=$?
11919
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11920
 
  (exit $ac_status); }; then
11921
 
  # Parse the compiler output and extract the necessary
11922
 
  # objects, libraries and library flags.
11923
 
 
11924
 
  # Sentinel used to keep track of whether or not we are before
11925
 
  # the conftest object file.
11926
 
  pre_test_object_deps_done=no
11927
 
 
11928
 
  # The `*' in the case matches for architectures that use `case' in
11929
 
  # $output_verbose_cmd can trigger glob expansion during the loop
11930
 
  # eval without this substitution.
11931
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11932
 
 
11933
 
  for p in `eval $output_verbose_link_cmd`; do
11934
 
    case $p in
11935
 
 
11936
 
    -L* | -R* | -l*)
11937
 
       # Some compilers place space between "-{L,R}" and the path.
11938
 
       # Remove the space.
11939
 
       if test $p = "-L" \
11940
 
          || test $p = "-R"; then
11941
 
         prev=$p
11942
 
         continue
11943
 
       else
11944
 
         prev=
11945
 
       fi
11946
 
 
11947
 
       if test "$pre_test_object_deps_done" = no; then
11948
 
         case $p in
11949
 
         -L* | -R*)
11950
 
           # Internal compiler library paths should come after those
11951
 
           # provided the user.  The postdeps already come after the
11952
 
           # user supplied libs so there is no need to process them.
11953
 
           if test -z "$compiler_lib_search_path_CXX"; then
11954
 
             compiler_lib_search_path_CXX="${prev}${p}"
11955
 
           else
11956
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
11957
 
           fi
11958
 
           ;;
11959
 
         # The "-l" case would never come before the object being
11960
 
         # linked, so don't bother handling this case.
11961
 
         esac
11962
 
       else
11963
 
         if test -z "$postdeps_CXX"; then
11964
 
           postdeps_CXX="${prev}${p}"
11965
 
         else
11966
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
11967
 
         fi
11968
 
       fi
11969
 
       ;;
11970
 
 
11971
 
    *.$objext)
11972
 
       # This assumes that the test object file only shows up
11973
 
       # once in the compiler output.
11974
 
       if test "$p" = "conftest.$objext"; then
11975
 
         pre_test_object_deps_done=yes
11976
 
         continue
11977
 
       fi
11978
 
 
11979
 
       if test "$pre_test_object_deps_done" = no; then
11980
 
         if test -z "$predep_objects_CXX"; then
11981
 
           predep_objects_CXX="$p"
11982
 
         else
11983
 
           predep_objects_CXX="$predep_objects_CXX $p"
11984
 
         fi
11985
 
       else
11986
 
         if test -z "$postdep_objects_CXX"; then
11987
 
           postdep_objects_CXX="$p"
11988
 
         else
11989
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
11990
 
         fi
11991
 
       fi
11992
 
       ;;
11993
 
 
11994
 
    *) ;; # Ignore the rest.
11995
 
 
11996
 
    esac
11997
 
  done
11998
 
 
11999
 
  # Clean up.
12000
 
  rm -f a.out a.exe
12001
 
else
12002
 
  echo "libtool.m4: error: problem compiling CXX test program"
12003
 
fi
12004
 
 
12005
 
$rm -f confest.$objext
12006
 
 
12007
 
# PORTME: override above test on systems where it is broken
12008
 
case $host_os in
12009
 
interix3*)
12010
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
12011
 
  # hack all around it, let's just trust "g++" to DTRT.
12012
 
  predep_objects_CXX=
12013
 
  postdep_objects_CXX=
12014
 
  postdeps_CXX=
12015
 
  ;;
12016
 
 
12017
 
solaris*)
12018
 
  case $cc_basename in
12019
 
  CC*)
12020
 
    # Adding this requires a known-good setup of shared libraries for
12021
 
    # Sun compiler versions before 5.6, else PIC objects from an old
12022
 
    # archive will be linked into the output, leading to subtle bugs.
12023
 
    postdeps_CXX='-lCstd -lCrun'
12024
 
    ;;
12025
 
  esac
12026
 
  ;;
12027
 
esac
12028
 
 
12029
 
 
12030
 
case " $postdeps_CXX " in
12031
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
12032
 
esac
12033
 
 
12034
 
lt_prog_compiler_wl_CXX=
12035
 
lt_prog_compiler_pic_CXX=
12036
 
lt_prog_compiler_static_CXX=
12037
 
 
12038
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12039
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12040
 
 
12041
 
  # C++ specific cases for pic, static, wl, etc.
12042
 
  if test "$GXX" = yes; then
12043
 
    lt_prog_compiler_wl_CXX='-Wl,'
12044
 
    lt_prog_compiler_static_CXX='-static'
12045
 
 
12046
 
    case $host_os in
12047
 
    aix*)
12048
 
      # All AIX code is PIC.
12049
 
      if test "$host_cpu" = ia64; then
12050
 
        # AIX 5 now supports IA64 processor
12051
 
        lt_prog_compiler_static_CXX='-Bstatic'
12052
 
      fi
12053
 
      ;;
12054
 
    amigaos*)
12055
 
      # FIXME: we need at least 68020 code to build shared libraries, but
12056
 
      # adding the `-m68020' flag to GCC prevents building anything better,
12057
 
      # like `-m68040'.
12058
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12059
 
      ;;
12060
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12061
 
      # PIC is the default for these OSes.
12062
 
      ;;
12063
 
    mingw* | os2* | pw32*)
12064
 
      # This hack is so that the source file can tell whether it is being
12065
 
      # built for inclusion in a dll (and should export symbols for example).
12066
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12067
 
      ;;
12068
 
    darwin* | rhapsody*)
12069
 
      # PIC is the default on this platform
12070
 
      # Common symbols not allowed in MH_DYLIB files
12071
 
      lt_prog_compiler_pic_CXX='-fno-common'
12072
 
      ;;
12073
 
    *djgpp*)
12074
 
      # DJGPP does not support shared libraries at all
12075
 
      lt_prog_compiler_pic_CXX=
12076
 
      ;;
12077
 
    interix3*)
12078
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12079
 
      # Instead, we relocate shared libraries at runtime.
12080
 
      ;;
12081
 
    sysv4*MP*)
12082
 
      if test -d /usr/nec; then
12083
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
12084
 
      fi
12085
 
      ;;
12086
 
    hpux*)
12087
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12088
 
      # not for PA HP-UX.
12089
 
      case $host_cpu in
12090
 
      hppa*64*|ia64*)
12091
 
        ;;
12092
 
      *)
12093
 
        lt_prog_compiler_pic_CXX='-fPIC'
12094
 
        ;;
12095
 
      esac
12096
 
      ;;
12097
 
    *)
12098
 
      lt_prog_compiler_pic_CXX='-fPIC'
12099
 
      ;;
12100
 
    esac
12101
 
  else
12102
 
    case $host_os in
12103
 
      aix4* | aix5*)
12104
 
        # All AIX code is PIC.
12105
 
        if test "$host_cpu" = ia64; then
12106
 
          # AIX 5 now supports IA64 processor
12107
 
          lt_prog_compiler_static_CXX='-Bstatic'
12108
 
        else
12109
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12110
 
        fi
12111
 
        ;;
12112
 
      chorus*)
12113
 
        case $cc_basename in
12114
 
        cxch68*)
12115
 
          # Green Hills C++ Compiler
12116
 
          # _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"
12117
 
          ;;
12118
 
        esac
12119
 
        ;;
12120
 
       darwin*)
12121
 
         # PIC is the default on this platform
12122
 
         # Common symbols not allowed in MH_DYLIB files
12123
 
         case $cc_basename in
12124
 
           xlc*)
12125
 
           lt_prog_compiler_pic_CXX='-qnocommon'
12126
 
           lt_prog_compiler_wl_CXX='-Wl,'
12127
 
           ;;
12128
 
         esac
12129
 
       ;;
12130
 
      dgux*)
12131
 
        case $cc_basename in
12132
 
          ec++*)
12133
 
            lt_prog_compiler_pic_CXX='-KPIC'
12134
 
            ;;
12135
 
          ghcx*)
12136
 
            # Green Hills C++ Compiler
12137
 
            lt_prog_compiler_pic_CXX='-pic'
12138
 
            ;;
12139
 
          *)
12140
 
            ;;
12141
 
        esac
12142
 
        ;;
12143
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
12144
 
        # FreeBSD uses GNU C++
12145
 
        ;;
12146
 
      hpux9* | hpux10* | hpux11*)
12147
 
        case $cc_basename in
12148
 
          CC*)
12149
 
            lt_prog_compiler_wl_CXX='-Wl,'
12150
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12151
 
            if test "$host_cpu" != ia64; then
12152
 
              lt_prog_compiler_pic_CXX='+Z'
12153
 
            fi
12154
 
            ;;
12155
 
          aCC*)
12156
 
            lt_prog_compiler_wl_CXX='-Wl,'
12157
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12158
 
            case $host_cpu in
12159
 
            hppa*64*|ia64*)
12160
 
              # +Z the default
12161
 
              ;;
12162
 
            *)
12163
 
              lt_prog_compiler_pic_CXX='+Z'
12164
 
              ;;
12165
 
            esac
12166
 
            ;;
12167
 
          *)
12168
 
            ;;
12169
 
        esac
12170
 
        ;;
12171
 
      interix*)
12172
 
        # This is c89, which is MS Visual C++ (no shared libs)
12173
 
        # Anyone wants to do a port?
12174
 
        ;;
12175
 
      irix5* | irix6* | nonstopux*)
12176
 
        case $cc_basename in
12177
 
          CC*)
12178
 
            lt_prog_compiler_wl_CXX='-Wl,'
12179
 
            lt_prog_compiler_static_CXX='-non_shared'
12180
 
            # CC pic flag -KPIC is the default.
12181
 
            ;;
12182
 
          *)
12183
 
            ;;
12184
 
        esac
12185
 
        ;;
12186
 
      linux*)
12187
 
        case $cc_basename in
12188
 
          KCC*)
12189
 
            # KAI C++ Compiler
12190
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
12191
 
            lt_prog_compiler_pic_CXX='-fPIC'
12192
 
            ;;
12193
 
          icpc* | ecpc*)
12194
 
            # Intel C++
12195
 
            lt_prog_compiler_wl_CXX='-Wl,'
12196
 
            lt_prog_compiler_pic_CXX='-KPIC'
12197
 
            lt_prog_compiler_static_CXX='-static'
12198
 
            ;;
12199
 
          pgCC*)
12200
 
            # Portland Group C++ compiler.
12201
 
            lt_prog_compiler_wl_CXX='-Wl,'
12202
 
            lt_prog_compiler_pic_CXX='-fpic'
12203
 
            lt_prog_compiler_static_CXX='-Bstatic'
12204
 
            ;;
12205
 
          cxx*)
12206
 
            # Compaq C++
12207
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
12208
 
            # Linux and Compaq Tru64 Unix objects are PIC.
12209
 
            lt_prog_compiler_pic_CXX=
12210
 
            lt_prog_compiler_static_CXX='-non_shared'
12211
 
            ;;
12212
 
          *)
12213
 
            ;;
12214
 
        esac
12215
 
        ;;
12216
 
      lynxos*)
12217
 
        ;;
12218
 
      m88k*)
12219
 
        ;;
12220
 
      mvs*)
12221
 
        case $cc_basename in
12222
 
          cxx*)
12223
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
12224
 
            ;;
12225
 
          *)
12226
 
            ;;
12227
 
        esac
12228
 
        ;;
12229
 
      netbsd*)
12230
 
        ;;
12231
 
      osf3* | osf4* | osf5*)
12232
 
        case $cc_basename in
12233
 
          KCC*)
12234
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
12235
 
            ;;
12236
 
          RCC*)
12237
 
            # Rational C++ 2.4.1
12238
 
            lt_prog_compiler_pic_CXX='-pic'
12239
 
            ;;
12240
 
          cxx*)
12241
 
            # Digital/Compaq C++
12242
 
            lt_prog_compiler_wl_CXX='-Wl,'
12243
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
12244
 
            # Linux and Compaq Tru64 Unix objects are PIC.
12245
 
            lt_prog_compiler_pic_CXX=
12246
 
            lt_prog_compiler_static_CXX='-non_shared'
12247
 
            ;;
12248
 
          *)
12249
 
            ;;
12250
 
        esac
12251
 
        ;;
12252
 
      psos*)
12253
 
        ;;
12254
 
      solaris*)
12255
 
        case $cc_basename in
12256
 
          CC*)
12257
 
            # Sun C++ 4.2, 5.x and Centerline C++
12258
 
            lt_prog_compiler_pic_CXX='-KPIC'
12259
 
            lt_prog_compiler_static_CXX='-Bstatic'
12260
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
12261
 
            ;;
12262
 
          gcx*)
12263
 
            # Green Hills C++ Compiler
12264
 
            lt_prog_compiler_pic_CXX='-PIC'
12265
 
            ;;
12266
 
          *)
12267
 
            ;;
12268
 
        esac
12269
 
        ;;
12270
 
      sunos4*)
12271
 
        case $cc_basename in
12272
 
          CC*)
12273
 
            # Sun C++ 4.x
12274
 
            lt_prog_compiler_pic_CXX='-pic'
12275
 
            lt_prog_compiler_static_CXX='-Bstatic'
12276
 
            ;;
12277
 
          lcc*)
12278
 
            # Lucid
12279
 
            lt_prog_compiler_pic_CXX='-pic'
12280
 
            ;;
12281
 
          *)
12282
 
            ;;
12283
 
        esac
12284
 
        ;;
12285
 
      tandem*)
12286
 
        case $cc_basename in
12287
 
          NCC*)
12288
 
            # NonStop-UX NCC 3.20
12289
 
            lt_prog_compiler_pic_CXX='-KPIC'
12290
 
            ;;
12291
 
          *)
12292
 
            ;;
12293
 
        esac
12294
 
        ;;
12295
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12296
 
        case $cc_basename in
12297
 
          CC*)
12298
 
            lt_prog_compiler_wl_CXX='-Wl,'
12299
 
            lt_prog_compiler_pic_CXX='-KPIC'
12300
 
            lt_prog_compiler_static_CXX='-Bstatic'
12301
 
            ;;
12302
 
        esac
12303
 
        ;;
12304
 
      vxworks*)
12305
 
        ;;
12306
 
      *)
12307
 
        lt_prog_compiler_can_build_shared_CXX=no
12308
 
        ;;
12309
 
    esac
12310
 
  fi
12311
 
 
12312
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12313
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12314
 
 
12315
 
#
12316
 
# Check to make sure the PIC flag actually works.
12317
 
#
12318
 
if test -n "$lt_prog_compiler_pic_CXX"; then
12319
 
 
12320
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12321
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12322
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12323
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12324
 
else
12325
 
  lt_prog_compiler_pic_works_CXX=no
12326
 
  ac_outfile=conftest.$ac_objext
12327
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12328
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12329
 
   # Insert the option either (1) after the last *FLAGS variable, or
12330
 
   # (2) before a word containing "conftest.", or (3) at the end.
12331
 
   # Note that $ac_compile itself does not contain backslashes and begins
12332
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12333
 
   # The option is referenced via a variable to avoid confusing sed.
12334
 
   lt_compile=`echo "$ac_compile" | $SED \
12335
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12336
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12337
 
   -e 's:$: $lt_compiler_flag:'`
12338
 
   (eval echo "\"\$as_me:12338: $lt_compile\"" >&5)
12339
 
   (eval "$lt_compile" 2>conftest.err)
12340
 
   ac_status=$?
12341
 
   cat conftest.err >&5
12342
 
   echo "$as_me:12342: \$? = $ac_status" >&5
12343
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
12344
 
     # The compiler can only warn and ignore the option if not recognized
12345
 
     # So say no if there are warnings other than the usual output.
12346
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12347
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12348
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12349
 
       lt_prog_compiler_pic_works_CXX=yes
12350
 
     fi
12351
 
   fi
12352
 
   $rm conftest*
12353
 
 
12354
 
fi
12355
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12356
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12357
 
 
12358
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12359
 
    case $lt_prog_compiler_pic_CXX in
12360
 
     "" | " "*) ;;
12361
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12362
 
     esac
12363
 
else
12364
 
    lt_prog_compiler_pic_CXX=
12365
 
     lt_prog_compiler_can_build_shared_CXX=no
12366
 
fi
12367
 
 
12368
 
fi
12369
 
case $host_os in
12370
 
  # For platforms which do not support PIC, -DPIC is meaningless:
12371
 
  *djgpp*)
12372
 
    lt_prog_compiler_pic_CXX=
12373
 
    ;;
12374
 
  *)
12375
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12376
 
    ;;
12377
 
esac
12378
 
 
12379
 
#
12380
 
# Check to make sure the static flag actually works.
12381
 
#
12382
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12383
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12384
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12385
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12386
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12387
 
else
12388
 
  lt_prog_compiler_static_works_CXX=no
12389
 
   save_LDFLAGS="$LDFLAGS"
12390
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12391
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
12392
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12393
 
     # The linker can only warn and ignore the option if not recognized
12394
 
     # So say no if there are warnings
12395
 
     if test -s conftest.err; then
12396
 
       # Append any errors to the config.log.
12397
 
       cat conftest.err 1>&5
12398
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12399
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12400
 
       if diff conftest.exp conftest.er2 >/dev/null; then
12401
 
         lt_prog_compiler_static_works_CXX=yes
12402
 
       fi
12403
 
     else
12404
 
       lt_prog_compiler_static_works_CXX=yes
12405
 
     fi
12406
 
   fi
12407
 
   $rm conftest*
12408
 
   LDFLAGS="$save_LDFLAGS"
12409
 
 
12410
 
fi
12411
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12412
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12413
 
 
12414
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12415
 
    :
12416
 
else
12417
 
    lt_prog_compiler_static_CXX=
12418
 
fi
12419
 
 
12420
 
 
12421
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12422
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12423
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12424
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12425
 
else
12426
 
  lt_cv_prog_compiler_c_o_CXX=no
12427
 
   $rm -r conftest 2>/dev/null
12428
 
   mkdir conftest
12429
 
   cd conftest
12430
 
   mkdir out
12431
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12432
 
 
12433
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
12434
 
   # Insert the option either (1) after the last *FLAGS variable, or
12435
 
   # (2) before a word containing "conftest.", or (3) at the end.
12436
 
   # Note that $ac_compile itself does not contain backslashes and begins
12437
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12438
 
   lt_compile=`echo "$ac_compile" | $SED \
12439
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12440
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12441
 
   -e 's:$: $lt_compiler_flag:'`
12442
 
   (eval echo "\"\$as_me:12442: $lt_compile\"" >&5)
12443
 
   (eval "$lt_compile" 2>out/conftest.err)
12444
 
   ac_status=$?
12445
 
   cat out/conftest.err >&5
12446
 
   echo "$as_me:12446: \$? = $ac_status" >&5
12447
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12448
 
   then
12449
 
     # The compiler can only warn and ignore the option if not recognized
12450
 
     # So say no if there are warnings
12451
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12452
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12453
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12454
 
       lt_cv_prog_compiler_c_o_CXX=yes
12455
 
     fi
12456
 
   fi
12457
 
   chmod u+w . 2>&5
12458
 
   $rm conftest*
12459
 
   # SGI C++ compiler will create directory out/ii_files/ for
12460
 
   # template instantiation
12461
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
12462
 
   $rm out/* && rmdir out
12463
 
   cd ..
12464
 
   rmdir conftest
12465
 
   $rm conftest*
12466
 
 
12467
 
fi
12468
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12469
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12470
 
 
12471
 
 
12472
 
hard_links="nottested"
12473
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12474
 
  # do not overwrite the value of need_locks provided by the user
12475
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12476
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12477
 
  hard_links=yes
12478
 
  $rm conftest*
12479
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12480
 
  touch conftest.a
12481
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
12482
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12483
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
12484
 
echo "${ECHO_T}$hard_links" >&6; }
12485
 
  if test "$hard_links" = no; then
12486
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12487
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12488
 
    need_locks=warn
12489
 
  fi
12490
 
else
12491
 
  need_locks=no
12492
 
fi
12493
 
 
12494
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12495
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12496
 
 
12497
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12498
 
  case $host_os in
12499
 
  aix4* | aix5*)
12500
 
    # If we're using GNU nm, then we don't want the "-C" option.
12501
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
12502
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12503
 
      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'
12504
 
    else
12505
 
      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'
12506
 
    fi
12507
 
    ;;
12508
 
  pw32*)
12509
 
    export_symbols_cmds_CXX="$ltdll_cmds"
12510
 
  ;;
12511
 
  cygwin* | mingw*)
12512
 
    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'
12513
 
  ;;
12514
 
  *)
12515
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12516
 
  ;;
12517
 
  esac
12518
 
 
12519
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12520
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12521
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
12522
 
 
12523
 
#
12524
 
# Do we need to explicitly link libc?
12525
 
#
12526
 
case "x$archive_cmds_need_lc_CXX" in
12527
 
x|xyes)
12528
 
  # Assume -lc should be added
12529
 
  archive_cmds_need_lc_CXX=yes
12530
 
 
12531
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
12532
 
    case $archive_cmds_CXX in
12533
 
    *'~'*)
12534
 
      # FIXME: we may have to deal with multi-command sequences.
12535
 
      ;;
12536
 
    '$CC '*)
12537
 
      # Test whether the compiler implicitly links with -lc since on some
12538
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
12539
 
      # to ld, don't add -lc before -lgcc.
12540
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12541
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12542
 
      $rm conftest*
12543
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12544
 
 
12545
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12546
 
  (eval $ac_compile) 2>&5
12547
 
  ac_status=$?
12548
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12549
 
  (exit $ac_status); } 2>conftest.err; then
12550
 
        soname=conftest
12551
 
        lib=conftest
12552
 
        libobjs=conftest.$ac_objext
12553
 
        deplibs=
12554
 
        wl=$lt_prog_compiler_wl_CXX
12555
 
        pic_flag=$lt_prog_compiler_pic_CXX
12556
 
        compiler_flags=-v
12557
 
        linker_flags=-v
12558
 
        verstring=
12559
 
        output_objdir=.
12560
 
        libname=conftest
12561
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12562
 
        allow_undefined_flag_CXX=
12563
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12564
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
12565
 
  ac_status=$?
12566
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12567
 
  (exit $ac_status); }
12568
 
        then
12569
 
          archive_cmds_need_lc_CXX=no
12570
 
        else
12571
 
          archive_cmds_need_lc_CXX=yes
12572
 
        fi
12573
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12574
 
      else
12575
 
        cat conftest.err 1>&5
12576
 
      fi
12577
 
      $rm conftest*
12578
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12579
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12580
 
      ;;
12581
 
    esac
12582
 
  fi
12583
 
  ;;
12584
 
esac
12585
 
 
12586
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12587
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12588
 
library_names_spec=
12589
 
libname_spec='lib$name'
12590
 
soname_spec=
12591
 
shrext_cmds=".so"
12592
 
postinstall_cmds=
12593
 
postuninstall_cmds=
12594
 
finish_cmds=
12595
 
finish_eval=
12596
 
shlibpath_var=
12597
 
shlibpath_overrides_runpath=unknown
12598
 
version_type=none
12599
 
dynamic_linker="$host_os ld.so"
12600
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
12601
 
if test "$GCC" = yes; then
12602
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12603
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
12604
 
    # if the path contains ";" then we assume it to be the separator
12605
 
    # otherwise default to the standard path separator (i.e. ":") - it is
12606
 
    # assumed that no part of a normal pathname contains ";" but that should
12607
 
    # okay in the real world where ";" in dirpaths is itself problematic.
12608
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12609
 
  else
12610
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
12611
 
  fi
12612
 
else
12613
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12614
 
fi
12615
 
need_lib_prefix=unknown
12616
 
hardcode_into_libs=no
12617
 
 
12618
 
# when you set need_version to no, make sure it does not cause -set_version
12619
 
# flags to be left without arguments
12620
 
need_version=unknown
12621
 
 
12622
 
case $host_os in
12623
 
aix3*)
12624
 
  version_type=linux
12625
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12626
 
  shlibpath_var=LIBPATH
12627
 
 
12628
 
  # AIX 3 has no versioning support, so we append a major version to the name.
12629
 
  soname_spec='${libname}${release}${shared_ext}$major'
12630
 
  ;;
12631
 
 
12632
 
aix4* | aix5*)
12633
 
  version_type=linux
12634
 
  need_lib_prefix=no
12635
 
  need_version=no
12636
 
  hardcode_into_libs=yes
12637
 
  if test "$host_cpu" = ia64; then
12638
 
    # AIX 5 supports IA64
12639
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12640
 
    shlibpath_var=LD_LIBRARY_PATH
12641
 
  else
12642
 
    # With GCC up to 2.95.x, collect2 would create an import file
12643
 
    # for dependence libraries.  The import file would start with
12644
 
    # the line `#! .'.  This would cause the generated library to
12645
 
    # depend on `.', always an invalid library.  This was fixed in
12646
 
    # development snapshots of GCC prior to 3.0.
12647
 
    case $host_os in
12648
 
      aix4 | aix4.[01] | aix4.[01].*)
12649
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12650
 
           echo ' yes '
12651
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
12652
 
        :
12653
 
      else
12654
 
        can_build_shared=no
12655
 
      fi
12656
 
      ;;
12657
 
    esac
12658
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12659
 
    # soname into executable. Probably we can add versioning support to
12660
 
    # collect2, so additional links can be useful in future.
12661
 
    if test "$aix_use_runtimelinking" = yes; then
12662
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12663
 
      # instead of lib<name>.a to let people know that these are not
12664
 
      # typical AIX shared libraries.
12665
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12666
 
    else
12667
 
      # We preserve .a as extension for shared libraries through AIX4.2
12668
 
      # and later when we are not doing run time linking.
12669
 
      library_names_spec='${libname}${release}.a $libname.a'
12670
 
      soname_spec='${libname}${release}${shared_ext}$major'
12671
 
    fi
12672
 
    shlibpath_var=LIBPATH
12673
 
  fi
12674
 
  ;;
12675
 
 
12676
 
amigaos*)
12677
 
  library_names_spec='$libname.ixlibrary $libname.a'
12678
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
12679
 
  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'
12680
 
  ;;
12681
 
 
12682
 
beos*)
12683
 
  library_names_spec='${libname}${shared_ext}'
12684
 
  dynamic_linker="$host_os ld.so"
12685
 
  shlibpath_var=LIBRARY_PATH
12686
 
  ;;
12687
 
 
12688
 
bsdi[45]*)
12689
 
  version_type=linux
12690
 
  need_version=no
12691
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12692
 
  soname_spec='${libname}${release}${shared_ext}$major'
12693
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12694
 
  shlibpath_var=LD_LIBRARY_PATH
12695
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12696
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12697
 
  # the default ld.so.conf also contains /usr/contrib/lib and
12698
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12699
 
  # libtool to hard-code these into programs
12700
 
  ;;
12701
 
 
12702
 
cygwin* | mingw* | pw32*)
12703
 
  version_type=windows
12704
 
  shrext_cmds=".dll"
12705
 
  need_version=no
12706
 
  need_lib_prefix=no
12707
 
 
12708
 
  case $GCC,$host_os in
12709
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
12710
 
    library_names_spec='$libname.dll.a'
12711
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12712
 
    postinstall_cmds='base_file=`basename \${file}`~
12713
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12714
 
      dldir=$destdir/`dirname \$dlpath`~
12715
 
      test -d \$dldir || mkdir -p \$dldir~
12716
 
      $install_prog $dir/$dlname \$dldir/$dlname~
12717
 
      chmod a+x \$dldir/$dlname'
12718
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12719
 
      dlpath=$dir/\$dldll~
12720
 
       $rm \$dlpath'
12721
 
    shlibpath_overrides_runpath=yes
12722
 
 
12723
 
    case $host_os in
12724
 
    cygwin*)
12725
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12726
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12727
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12728
 
      ;;
12729
 
    mingw*)
12730
 
      # MinGW DLLs use traditional 'lib' prefix
12731
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12732
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12733
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
12734
 
        # It is most probably a Windows format PATH printed by
12735
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
12736
 
        # path with ; separators, and with drive letters. We can handle the
12737
 
        # drive letters (cygwin fileutils understands them), so leave them,
12738
 
        # especially as we might pass files found there to a mingw objdump,
12739
 
        # which wouldn't understand a cygwinified path. Ahh.
12740
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12741
 
      else
12742
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
12743
 
      fi
12744
 
      ;;
12745
 
    pw32*)
12746
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
12747
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12748
 
      ;;
12749
 
    esac
12750
 
    ;;
12751
 
 
12752
 
  *)
12753
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12754
 
    ;;
12755
 
  esac
12756
 
  dynamic_linker='Win32 ld.exe'
12757
 
  # FIXME: first we should search . and the directory the executable is in
12758
 
  shlibpath_var=PATH
12759
 
  ;;
12760
 
 
12761
 
darwin* | rhapsody*)
12762
 
  dynamic_linker="$host_os dyld"
12763
 
  version_type=darwin
12764
 
  need_lib_prefix=no
12765
 
  need_version=no
12766
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12767
 
  soname_spec='${libname}${release}${major}$shared_ext'
12768
 
  shlibpath_overrides_runpath=yes
12769
 
  shlibpath_var=DYLD_LIBRARY_PATH
12770
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12771
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12772
 
  if test "$GCC" = yes; then
12773
 
    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"`
12774
 
  else
12775
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
12776
 
  fi
12777
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12778
 
  ;;
12779
 
 
12780
 
dgux*)
12781
 
  version_type=linux
12782
 
  need_lib_prefix=no
12783
 
  need_version=no
12784
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12785
 
  soname_spec='${libname}${release}${shared_ext}$major'
12786
 
  shlibpath_var=LD_LIBRARY_PATH
12787
 
  ;;
12788
 
 
12789
 
freebsd1*)
12790
 
  dynamic_linker=no
12791
 
  ;;
12792
 
 
12793
 
kfreebsd*-gnu)
12794
 
  version_type=linux
12795
 
  need_lib_prefix=no
12796
 
  need_version=no
12797
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12798
 
  soname_spec='${libname}${release}${shared_ext}$major'
12799
 
  shlibpath_var=LD_LIBRARY_PATH
12800
 
  shlibpath_overrides_runpath=no
12801
 
  hardcode_into_libs=yes
12802
 
  dynamic_linker='GNU ld.so'
12803
 
  ;;
12804
 
 
12805
 
freebsd* | dragonfly*)
12806
 
  # DragonFly does not have aout.  When/if they implement a new
12807
 
  # versioning mechanism, adjust this.
12808
 
  if test -x /usr/bin/objformat; then
12809
 
    objformat=`/usr/bin/objformat`
12810
 
  else
12811
 
    case $host_os in
12812
 
    freebsd[123]*) objformat=aout ;;
12813
 
    *) objformat=elf ;;
12814
 
    esac
12815
 
  fi
12816
 
  version_type=freebsd-$objformat
12817
 
  case $version_type in
12818
 
    freebsd-elf*)
12819
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12820
 
      need_version=no
12821
 
      need_lib_prefix=no
12822
 
      ;;
12823
 
    freebsd-*)
12824
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12825
 
      need_version=yes
12826
 
      ;;
12827
 
  esac
12828
 
  shlibpath_var=LD_LIBRARY_PATH
12829
 
  case $host_os in
12830
 
  freebsd2*)
12831
 
    shlibpath_overrides_runpath=yes
12832
 
    ;;
12833
 
  freebsd3.[01]* | freebsdelf3.[01]*)
12834
 
    shlibpath_overrides_runpath=yes
12835
 
    hardcode_into_libs=yes
12836
 
    ;;
12837
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12838
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12839
 
    shlibpath_overrides_runpath=no
12840
 
    hardcode_into_libs=yes
12841
 
    ;;
12842
 
  freebsd*) # from 4.6 on
12843
 
    shlibpath_overrides_runpath=yes
12844
 
    hardcode_into_libs=yes
12845
 
    ;;
12846
 
  esac
12847
 
  ;;
12848
 
 
12849
 
gnu*)
12850
 
  version_type=linux
12851
 
  need_lib_prefix=no
12852
 
  need_version=no
12853
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12854
 
  soname_spec='${libname}${release}${shared_ext}$major'
12855
 
  shlibpath_var=LD_LIBRARY_PATH
12856
 
  hardcode_into_libs=yes
12857
 
  ;;
12858
 
 
12859
 
hpux9* | hpux10* | hpux11*)
12860
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
12861
 
  # link against other versions.
12862
 
  version_type=sunos
12863
 
  need_lib_prefix=no
12864
 
  need_version=no
12865
 
  case $host_cpu in
12866
 
  ia64*)
12867
 
    shrext_cmds='.so'
12868
 
    hardcode_into_libs=yes
12869
 
    dynamic_linker="$host_os dld.so"
12870
 
    shlibpath_var=LD_LIBRARY_PATH
12871
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12872
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12873
 
    soname_spec='${libname}${release}${shared_ext}$major'
12874
 
    if test "X$HPUX_IA64_MODE" = X32; then
12875
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12876
 
    else
12877
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12878
 
    fi
12879
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12880
 
    ;;
12881
 
   hppa*64*)
12882
 
     shrext_cmds='.sl'
12883
 
     hardcode_into_libs=yes
12884
 
     dynamic_linker="$host_os dld.sl"
12885
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12886
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12887
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12888
 
     soname_spec='${libname}${release}${shared_ext}$major'
12889
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12890
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12891
 
     ;;
12892
 
   *)
12893
 
    shrext_cmds='.sl'
12894
 
    dynamic_linker="$host_os dld.sl"
12895
 
    shlibpath_var=SHLIB_PATH
12896
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12897
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12898
 
    soname_spec='${libname}${release}${shared_ext}$major'
12899
 
    ;;
12900
 
  esac
12901
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
12902
 
  postinstall_cmds='chmod 555 $lib'
12903
 
  ;;
12904
 
 
12905
 
interix3*)
12906
 
  version_type=linux
12907
 
  need_lib_prefix=no
12908
 
  need_version=no
12909
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12910
 
  soname_spec='${libname}${release}${shared_ext}$major'
12911
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12912
 
  shlibpath_var=LD_LIBRARY_PATH
12913
 
  shlibpath_overrides_runpath=no
12914
 
  hardcode_into_libs=yes
12915
 
  ;;
12916
 
 
12917
 
irix5* | irix6* | nonstopux*)
12918
 
  case $host_os in
12919
 
    nonstopux*) version_type=nonstopux ;;
12920
 
    *)
12921
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
12922
 
                version_type=linux
12923
 
        else
12924
 
                version_type=irix
12925
 
        fi ;;
12926
 
  esac
12927
 
  need_lib_prefix=no
12928
 
  need_version=no
12929
 
  soname_spec='${libname}${release}${shared_ext}$major'
12930
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12931
 
  case $host_os in
12932
 
  irix5* | nonstopux*)
12933
 
    libsuff= shlibsuff=
12934
 
    ;;
12935
 
  *)
12936
 
    case $LD in # libtool.m4 will add one of these switches to LD
12937
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12938
 
      libsuff= shlibsuff= libmagic=32-bit;;
12939
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12940
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
12941
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12942
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12943
 
    *) libsuff= shlibsuff= libmagic=never-match;;
12944
 
    esac
12945
 
    ;;
12946
 
  esac
12947
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12948
 
  shlibpath_overrides_runpath=no
12949
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12950
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12951
 
  hardcode_into_libs=yes
12952
 
  ;;
12953
 
 
12954
 
# No shared lib support for Linux oldld, aout, or coff.
12955
 
linux*oldld* | linux*aout* | linux*coff*)
12956
 
  dynamic_linker=no
12957
 
  ;;
12958
 
 
12959
 
# This must be Linux ELF.
12960
 
linux*)
12961
 
  version_type=linux
12962
 
  need_lib_prefix=no
12963
 
  need_version=no
12964
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12965
 
  soname_spec='${libname}${release}${shared_ext}$major'
12966
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12967
 
  shlibpath_var=LD_LIBRARY_PATH
12968
 
  shlibpath_overrides_runpath=no
12969
 
  # This implies no fast_install, which is unacceptable.
12970
 
  # Some rework will be needed to allow for fast_install
12971
 
  # before this can be enabled.
12972
 
  hardcode_into_libs=yes
12973
 
 
12974
 
  # find out which ABI we are using
12975
 
  libsuff=
12976
 
  case "$host_cpu" in
12977
 
  x86_64*|s390x*|powerpc64*)
12978
 
    echo '#line 12978 "configure"' > conftest.$ac_ext
12979
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12980
 
  (eval $ac_compile) 2>&5
12981
 
  ac_status=$?
12982
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12983
 
  (exit $ac_status); }; then
12984
 
      case `/usr/bin/file conftest.$ac_objext` in
12985
 
      *64-bit*)
12986
 
        libsuff=64
12987
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12988
 
        ;;
12989
 
      esac
12990
 
    fi
12991
 
    rm -rf conftest*
12992
 
    ;;
12993
 
  esac
12994
 
 
12995
 
  # Append ld.so.conf contents to the search path
12996
 
  if test -f /etc/ld.so.conf; then
12997
 
    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' ' '`
12998
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
12999
 
  fi
13000
 
 
13001
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
13002
 
  # powerpc, because MkLinux only supported shared libraries with the
13003
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
13004
 
  # most powerpc-linux boxes support dynamic linking these days and
13005
 
  # people can always --disable-shared, the test was removed, and we
13006
 
  # assume the GNU/Linux dynamic linker is in use.
13007
 
  dynamic_linker='GNU/Linux ld.so'
13008
 
  ;;
13009
 
 
13010
 
knetbsd*-gnu)
13011
 
  version_type=linux
13012
 
  need_lib_prefix=no
13013
 
  need_version=no
13014
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13015
 
  soname_spec='${libname}${release}${shared_ext}$major'
13016
 
  shlibpath_var=LD_LIBRARY_PATH
13017
 
  shlibpath_overrides_runpath=no
13018
 
  hardcode_into_libs=yes
13019
 
  dynamic_linker='GNU ld.so'
13020
 
  ;;
13021
 
 
13022
 
netbsd*)
13023
 
  version_type=sunos
13024
 
  need_lib_prefix=no
13025
 
  need_version=no
13026
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13027
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13028
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13029
 
    dynamic_linker='NetBSD (a.out) ld.so'
13030
 
  else
13031
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13032
 
    soname_spec='${libname}${release}${shared_ext}$major'
13033
 
    dynamic_linker='NetBSD ld.elf_so'
13034
 
  fi
13035
 
  shlibpath_var=LD_LIBRARY_PATH
13036
 
  shlibpath_overrides_runpath=yes
13037
 
  hardcode_into_libs=yes
13038
 
  ;;
13039
 
 
13040
 
newsos6)
13041
 
  version_type=linux
13042
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13043
 
  shlibpath_var=LD_LIBRARY_PATH
13044
 
  shlibpath_overrides_runpath=yes
13045
 
  ;;
13046
 
 
13047
 
nto-qnx*)
13048
 
  version_type=linux
13049
 
  need_lib_prefix=no
13050
 
  need_version=no
13051
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13052
 
  soname_spec='${libname}${release}${shared_ext}$major'
13053
 
  shlibpath_var=LD_LIBRARY_PATH
13054
 
  shlibpath_overrides_runpath=yes
13055
 
  ;;
13056
 
 
13057
 
openbsd*)
13058
 
  version_type=sunos
13059
 
  sys_lib_dlsearch_path_spec="/usr/lib"
13060
 
  need_lib_prefix=no
13061
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13062
 
  case $host_os in
13063
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13064
 
    *)                         need_version=no  ;;
13065
 
  esac
13066
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13067
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13068
 
  shlibpath_var=LD_LIBRARY_PATH
13069
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13070
 
    case $host_os in
13071
 
      openbsd2.[89] | openbsd2.[89].*)
13072
 
        shlibpath_overrides_runpath=no
13073
 
        ;;
13074
 
      *)
13075
 
        shlibpath_overrides_runpath=yes
13076
 
        ;;
13077
 
      esac
13078
 
  else
13079
 
    shlibpath_overrides_runpath=yes
13080
 
  fi
13081
 
  ;;
13082
 
 
13083
 
os2*)
13084
 
  libname_spec='$name'
13085
 
  shrext_cmds=".dll"
13086
 
  need_lib_prefix=no
13087
 
  library_names_spec='$libname${shared_ext} $libname.a'
13088
 
  dynamic_linker='OS/2 ld.exe'
13089
 
  shlibpath_var=LIBPATH
13090
 
  ;;
13091
 
 
13092
 
osf3* | osf4* | osf5*)
13093
 
  version_type=osf
13094
 
  need_lib_prefix=no
13095
 
  need_version=no
13096
 
  soname_spec='${libname}${release}${shared_ext}$major'
13097
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13098
 
  shlibpath_var=LD_LIBRARY_PATH
13099
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13100
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13101
 
  ;;
13102
 
 
13103
 
solaris*)
13104
 
  version_type=linux
13105
 
  need_lib_prefix=no
13106
 
  need_version=no
13107
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13108
 
  soname_spec='${libname}${release}${shared_ext}$major'
13109
 
  shlibpath_var=LD_LIBRARY_PATH
13110
 
  shlibpath_overrides_runpath=yes
13111
 
  hardcode_into_libs=yes
13112
 
  # ldd complains unless libraries are executable
13113
 
  postinstall_cmds='chmod +x $lib'
13114
 
  ;;
13115
 
 
13116
 
sunos4*)
13117
 
  version_type=sunos
13118
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13119
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13120
 
  shlibpath_var=LD_LIBRARY_PATH
13121
 
  shlibpath_overrides_runpath=yes
13122
 
  if test "$with_gnu_ld" = yes; then
13123
 
    need_lib_prefix=no
13124
 
  fi
13125
 
  need_version=yes
13126
 
  ;;
13127
 
 
13128
 
sysv4 | sysv4.3*)
13129
 
  version_type=linux
13130
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13131
 
  soname_spec='${libname}${release}${shared_ext}$major'
13132
 
  shlibpath_var=LD_LIBRARY_PATH
13133
 
  case $host_vendor in
13134
 
    sni)
13135
 
      shlibpath_overrides_runpath=no
13136
 
      need_lib_prefix=no
13137
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
13138
 
      runpath_var=LD_RUN_PATH
13139
 
      ;;
13140
 
    siemens)
13141
 
      need_lib_prefix=no
13142
 
      ;;
13143
 
    motorola)
13144
 
      need_lib_prefix=no
13145
 
      need_version=no
13146
 
      shlibpath_overrides_runpath=no
13147
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13148
 
      ;;
13149
 
  esac
13150
 
  ;;
13151
 
 
13152
 
sysv4*MP*)
13153
 
  if test -d /usr/nec ;then
13154
 
    version_type=linux
13155
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13156
 
    soname_spec='$libname${shared_ext}.$major'
13157
 
    shlibpath_var=LD_LIBRARY_PATH
13158
 
  fi
13159
 
  ;;
13160
 
 
13161
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13162
 
  version_type=freebsd-elf
13163
 
  need_lib_prefix=no
13164
 
  need_version=no
13165
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13166
 
  soname_spec='${libname}${release}${shared_ext}$major'
13167
 
  shlibpath_var=LD_LIBRARY_PATH
13168
 
  hardcode_into_libs=yes
13169
 
  if test "$with_gnu_ld" = yes; then
13170
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13171
 
    shlibpath_overrides_runpath=no
13172
 
  else
13173
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13174
 
    shlibpath_overrides_runpath=yes
13175
 
    case $host_os in
13176
 
      sco3.2v5*)
13177
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13178
 
        ;;
13179
 
    esac
13180
 
  fi
13181
 
  sys_lib_dlsearch_path_spec='/usr/lib'
13182
 
  ;;
13183
 
 
13184
 
uts4*)
13185
 
  version_type=linux
13186
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13187
 
  soname_spec='${libname}${release}${shared_ext}$major'
13188
 
  shlibpath_var=LD_LIBRARY_PATH
13189
 
  ;;
13190
 
 
13191
 
*)
13192
 
  dynamic_linker=no
13193
 
  ;;
13194
 
esac
13195
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13196
 
echo "${ECHO_T}$dynamic_linker" >&6; }
13197
 
test "$dynamic_linker" = no && can_build_shared=no
13198
 
 
13199
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13200
 
if test "$GCC" = yes; then
13201
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13202
 
fi
13203
 
 
13204
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13205
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13206
 
hardcode_action_CXX=
13207
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
13208
 
   test -n "$runpath_var_CXX" || \
13209
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
13210
 
 
13211
 
  # We can hardcode non-existant directories.
13212
 
  if test "$hardcode_direct_CXX" != no &&
13213
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13214
 
     # have to relink, otherwise we might link with an installed library
13215
 
     # when we should be linking with a yet-to-be-installed one
13216
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13217
 
     test "$hardcode_minus_L_CXX" != no; then
13218
 
    # Linking always hardcodes the temporary library directory.
13219
 
    hardcode_action_CXX=relink
13220
 
  else
13221
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
13222
 
    hardcode_action_CXX=immediate
13223
 
  fi
13224
 
else
13225
 
  # We cannot hardcode anything, or else we can only hardcode existing
13226
 
  # directories.
13227
 
  hardcode_action_CXX=unsupported
13228
 
fi
13229
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13230
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13231
 
 
13232
 
if test "$hardcode_action_CXX" = relink; then
13233
 
  # Fast installation is not supported
13234
 
  enable_fast_install=no
13235
 
elif test "$shlibpath_overrides_runpath" = yes ||
13236
 
     test "$enable_shared" = no; then
13237
 
  # Fast installation is not necessary
13238
 
  enable_fast_install=needless
13239
 
fi
13240
 
 
13241
 
 
13242
 
# The else clause should only fire when bootstrapping the
13243
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
13244
 
# with your package, and you will get complaints that there are
13245
 
# no rules to generate ltmain.sh.
13246
 
if test -f "$ltmain"; then
13247
 
  # See if we are running on zsh, and set the options which allow our commands through
13248
 
  # without removal of \ escapes.
13249
 
  if test -n "${ZSH_VERSION+set}" ; then
13250
 
    setopt NO_GLOB_SUBST
13251
 
  fi
13252
 
  # Now quote all the things that may contain metacharacters while being
13253
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
13254
 
  # variables and quote the copies for generation of the libtool script.
13255
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13256
 
    SED SHELL STRIP \
13257
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13258
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13259
 
    deplibs_check_method reload_flag reload_cmds need_locks \
13260
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13261
 
    lt_cv_sys_global_symbol_to_c_name_address \
13262
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13263
 
    old_postinstall_cmds old_postuninstall_cmds \
13264
 
    compiler_CXX \
13265
 
    CC_CXX \
13266
 
    LD_CXX \
13267
 
    lt_prog_compiler_wl_CXX \
13268
 
    lt_prog_compiler_pic_CXX \
13269
 
    lt_prog_compiler_static_CXX \
13270
 
    lt_prog_compiler_no_builtin_flag_CXX \
13271
 
    export_dynamic_flag_spec_CXX \
13272
 
    thread_safe_flag_spec_CXX \
13273
 
    whole_archive_flag_spec_CXX \
13274
 
    enable_shared_with_static_runtimes_CXX \
13275
 
    old_archive_cmds_CXX \
13276
 
    old_archive_from_new_cmds_CXX \
13277
 
    predep_objects_CXX \
13278
 
    postdep_objects_CXX \
13279
 
    predeps_CXX \
13280
 
    postdeps_CXX \
13281
 
    compiler_lib_search_path_CXX \
13282
 
    archive_cmds_CXX \
13283
 
    archive_expsym_cmds_CXX \
13284
 
    postinstall_cmds_CXX \
13285
 
    postuninstall_cmds_CXX \
13286
 
    old_archive_from_expsyms_cmds_CXX \
13287
 
    allow_undefined_flag_CXX \
13288
 
    no_undefined_flag_CXX \
13289
 
    export_symbols_cmds_CXX \
13290
 
    hardcode_libdir_flag_spec_CXX \
13291
 
    hardcode_libdir_flag_spec_ld_CXX \
13292
 
    hardcode_libdir_separator_CXX \
13293
 
    hardcode_automatic_CXX \
13294
 
    module_cmds_CXX \
13295
 
    module_expsym_cmds_CXX \
13296
 
    lt_cv_prog_compiler_c_o_CXX \
13297
 
    exclude_expsyms_CXX \
13298
 
    include_expsyms_CXX; do
13299
 
 
13300
 
    case $var in
13301
 
    old_archive_cmds_CXX | \
13302
 
    old_archive_from_new_cmds_CXX | \
13303
 
    archive_cmds_CXX | \
13304
 
    archive_expsym_cmds_CXX | \
13305
 
    module_cmds_CXX | \
13306
 
    module_expsym_cmds_CXX | \
13307
 
    old_archive_from_expsyms_cmds_CXX | \
13308
 
    export_symbols_cmds_CXX | \
13309
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
13310
 
    postinstall_cmds | postuninstall_cmds | \
13311
 
    old_postinstall_cmds | old_postuninstall_cmds | \
13312
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13313
 
      # Double-quote double-evaled strings.
13314
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13315
 
      ;;
13316
 
    *)
13317
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13318
 
      ;;
13319
 
    esac
13320
 
  done
13321
 
 
13322
 
  case $lt_echo in
13323
 
  *'\$0 --fallback-echo"')
13324
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13325
 
    ;;
13326
 
  esac
13327
 
 
13328
 
cfgfile="$ofile"
13329
 
 
13330
 
  cat <<__EOF__ >> "$cfgfile"
13331
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
13332
 
 
13333
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13334
 
 
13335
 
# Shell to use when invoking shell scripts.
13336
 
SHELL=$lt_SHELL
13337
 
 
13338
 
# Whether or not to build shared libraries.
13339
 
build_libtool_libs=$enable_shared
13340
 
 
13341
 
# Whether or not to build static libraries.
13342
 
build_old_libs=$enable_static
13343
 
 
13344
 
# Whether or not to add -lc for building shared libraries.
13345
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
13346
 
 
13347
 
# Whether or not to disallow shared libs when runtime libs are static
13348
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13349
 
 
13350
 
# Whether or not to optimize for fast installation.
13351
 
fast_install=$enable_fast_install
13352
 
 
13353
 
# The host system.
13354
 
host_alias=$host_alias
13355
 
host=$host
13356
 
host_os=$host_os
13357
 
 
13358
 
# The build system.
13359
 
build_alias=$build_alias
13360
 
build=$build
13361
 
build_os=$build_os
13362
 
 
13363
 
# An echo program that does not interpret backslashes.
13364
 
echo=$lt_echo
13365
 
 
13366
 
# The archiver.
13367
 
AR=$lt_AR
13368
 
AR_FLAGS=$lt_AR_FLAGS
13369
 
 
13370
 
# A C compiler.
13371
 
LTCC=$lt_LTCC
13372
 
 
13373
 
# LTCC compiler flags.
13374
 
LTCFLAGS=$lt_LTCFLAGS
13375
 
 
13376
 
# A language-specific compiler.
13377
 
CC=$lt_compiler_CXX
13378
 
 
13379
 
# Is the compiler the GNU C compiler?
13380
 
with_gcc=$GCC_CXX
13381
 
 
13382
 
# An ERE matcher.
13383
 
EGREP=$lt_EGREP
13384
 
 
13385
 
# The linker used to build libraries.
13386
 
LD=$lt_LD_CXX
13387
 
 
13388
 
# Whether we need hard or soft links.
13389
 
LN_S=$lt_LN_S
13390
 
 
13391
 
# A BSD-compatible nm program.
13392
 
NM=$lt_NM
13393
 
 
13394
 
# A symbol stripping program
13395
 
STRIP=$lt_STRIP
13396
 
 
13397
 
# Used to examine libraries when file_magic_cmd begins "file"
13398
 
MAGIC_CMD=$MAGIC_CMD
13399
 
 
13400
 
# Used on cygwin: DLL creation program.
13401
 
DLLTOOL="$DLLTOOL"
13402
 
 
13403
 
# Used on cygwin: object dumper.
13404
 
OBJDUMP="$OBJDUMP"
13405
 
 
13406
 
# Used on cygwin: assembler.
13407
 
AS="$AS"
13408
 
 
13409
 
# The name of the directory that contains temporary libtool files.
13410
 
objdir=$objdir
13411
 
 
13412
 
# How to create reloadable object files.
13413
 
reload_flag=$lt_reload_flag
13414
 
reload_cmds=$lt_reload_cmds
13415
 
 
13416
 
# How to pass a linker flag through the compiler.
13417
 
wl=$lt_lt_prog_compiler_wl_CXX
13418
 
 
13419
 
# Object file suffix (normally "o").
13420
 
objext="$ac_objext"
13421
 
 
13422
 
# Old archive suffix (normally "a").
13423
 
libext="$libext"
13424
 
 
13425
 
# Shared library suffix (normally ".so").
13426
 
shrext_cmds='$shrext_cmds'
13427
 
 
13428
 
# Executable file suffix (normally "").
13429
 
exeext="$exeext"
13430
 
 
13431
 
# Additional compiler flags for building library objects.
13432
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
13433
 
pic_mode=$pic_mode
13434
 
 
13435
 
# What is the maximum length of a command?
13436
 
max_cmd_len=$lt_cv_sys_max_cmd_len
13437
 
 
13438
 
# Does compiler simultaneously support -c and -o options?
13439
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13440
 
 
13441
 
# Must we lock files when doing compilation?
13442
 
need_locks=$lt_need_locks
13443
 
 
13444
 
# Do we need the lib prefix for modules?
13445
 
need_lib_prefix=$need_lib_prefix
13446
 
 
13447
 
# Do we need a version for libraries?
13448
 
need_version=$need_version
13449
 
 
13450
 
# Whether dlopen is supported.
13451
 
dlopen_support=$enable_dlopen
13452
 
 
13453
 
# Whether dlopen of programs is supported.
13454
 
dlopen_self=$enable_dlopen_self
13455
 
 
13456
 
# Whether dlopen of statically linked programs is supported.
13457
 
dlopen_self_static=$enable_dlopen_self_static
13458
 
 
13459
 
# Compiler flag to prevent dynamic linking.
13460
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
13461
 
 
13462
 
# Compiler flag to turn off builtin functions.
13463
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13464
 
 
13465
 
# Compiler flag to allow reflexive dlopens.
13466
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13467
 
 
13468
 
# Compiler flag to generate shared objects directly from archives.
13469
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13470
 
 
13471
 
# Compiler flag to generate thread-safe objects.
13472
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13473
 
 
13474
 
# Library versioning type.
13475
 
version_type=$version_type
13476
 
 
13477
 
# Format of library name prefix.
13478
 
libname_spec=$lt_libname_spec
13479
 
 
13480
 
# List of archive names.  First name is the real one, the rest are links.
13481
 
# The last name is the one that the linker finds with -lNAME.
13482
 
library_names_spec=$lt_library_names_spec
13483
 
 
13484
 
# The coded name of the library, if different from the real name.
13485
 
soname_spec=$lt_soname_spec
13486
 
 
13487
 
# Commands used to build and install an old-style archive.
13488
 
RANLIB=$lt_RANLIB
13489
 
old_archive_cmds=$lt_old_archive_cmds_CXX
13490
 
old_postinstall_cmds=$lt_old_postinstall_cmds
13491
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13492
 
 
13493
 
# Create an old-style archive from a shared archive.
13494
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13495
 
 
13496
 
# Create a temporary old-style archive to link instead of a shared archive.
13497
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13498
 
 
13499
 
# Commands used to build and install a shared archive.
13500
 
archive_cmds=$lt_archive_cmds_CXX
13501
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13502
 
postinstall_cmds=$lt_postinstall_cmds
13503
 
postuninstall_cmds=$lt_postuninstall_cmds
13504
 
 
13505
 
# Commands used to build a loadable module (assumed same as above if empty)
13506
 
module_cmds=$lt_module_cmds_CXX
13507
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
13508
 
 
13509
 
# Commands to strip libraries.
13510
 
old_striplib=$lt_old_striplib
13511
 
striplib=$lt_striplib
13512
 
 
13513
 
# Dependencies to place before the objects being linked to create a
13514
 
# shared library.
13515
 
predep_objects=$lt_predep_objects_CXX
13516
 
 
13517
 
# Dependencies to place after the objects being linked to create a
13518
 
# shared library.
13519
 
postdep_objects=$lt_postdep_objects_CXX
13520
 
 
13521
 
# Dependencies to place before the objects being linked to create a
13522
 
# shared library.
13523
 
predeps=$lt_predeps_CXX
13524
 
 
13525
 
# Dependencies to place after the objects being linked to create a
13526
 
# shared library.
13527
 
postdeps=$lt_postdeps_CXX
13528
 
 
13529
 
# The library search path used internally by the compiler when linking
13530
 
# a shared library.
13531
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13532
 
 
13533
 
# Method to check whether dependent libraries are shared objects.
13534
 
deplibs_check_method=$lt_deplibs_check_method
13535
 
 
13536
 
# Command to use when deplibs_check_method == file_magic.
13537
 
file_magic_cmd=$lt_file_magic_cmd
13538
 
 
13539
 
# Flag that allows shared libraries with undefined symbols to be built.
13540
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
13541
 
 
13542
 
# Flag that forces no undefined symbols.
13543
 
no_undefined_flag=$lt_no_undefined_flag_CXX
13544
 
 
13545
 
# Commands used to finish a libtool library installation in a directory.
13546
 
finish_cmds=$lt_finish_cmds
13547
 
 
13548
 
# Same as above, but a single script fragment to be evaled but not shown.
13549
 
finish_eval=$lt_finish_eval
13550
 
 
13551
 
# Take the output of nm and produce a listing of raw symbols and C names.
13552
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13553
 
 
13554
 
# Transform the output of nm in a proper C declaration
13555
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13556
 
 
13557
 
# Transform the output of nm in a C name address pair
13558
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13559
 
 
13560
 
# This is the shared library runtime path variable.
13561
 
runpath_var=$runpath_var
13562
 
 
13563
 
# This is the shared library path variable.
13564
 
shlibpath_var=$shlibpath_var
13565
 
 
13566
 
# Is shlibpath searched before the hard-coded library search path?
13567
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13568
 
 
13569
 
# How to hardcode a shared library path into an executable.
13570
 
hardcode_action=$hardcode_action_CXX
13571
 
 
13572
 
# Whether we should hardcode library paths into libraries.
13573
 
hardcode_into_libs=$hardcode_into_libs
13574
 
 
13575
 
# Flag to hardcode \$libdir into a binary during linking.
13576
 
# This must work even if \$libdir does not exist.
13577
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13578
 
 
13579
 
# If ld is used when linking, flag to hardcode \$libdir into
13580
 
# a binary during linking. This must work even if \$libdir does
13581
 
# not exist.
13582
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13583
 
 
13584
 
# Whether we need a single -rpath flag with a separated argument.
13585
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13586
 
 
13587
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13588
 
# resulting binary.
13589
 
hardcode_direct=$hardcode_direct_CXX
13590
 
 
13591
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13592
 
# resulting binary.
13593
 
hardcode_minus_L=$hardcode_minus_L_CXX
13594
 
 
13595
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13596
 
# the resulting binary.
13597
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13598
 
 
13599
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
13600
 
# and all subsequent libraries and executables linked against it.
13601
 
hardcode_automatic=$hardcode_automatic_CXX
13602
 
 
13603
 
# Variables whose values should be saved in libtool wrapper scripts and
13604
 
# restored at relink time.
13605
 
variables_saved_for_relink="$variables_saved_for_relink"
13606
 
 
13607
 
# Whether libtool must link a program against all its dependency libraries.
13608
 
link_all_deplibs=$link_all_deplibs_CXX
13609
 
 
13610
 
# Compile-time system search path for libraries
13611
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13612
 
 
13613
 
# Run-time system search path for libraries
13614
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13615
 
 
13616
 
# Fix the shell variable \$srcfile for the compiler.
13617
 
fix_srcfile_path="$fix_srcfile_path_CXX"
13618
 
 
13619
 
# Set to yes if exported symbols are required.
13620
 
always_export_symbols=$always_export_symbols_CXX
13621
 
 
13622
 
# The commands to list exported symbols.
13623
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
13624
 
 
13625
 
# The commands to extract the exported symbol list from a shared archive.
13626
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
13627
 
 
13628
 
# Symbols that should not be listed in the preloaded symbols.
13629
 
exclude_expsyms=$lt_exclude_expsyms_CXX
13630
 
 
13631
 
# Symbols that must always be exported.
13632
 
include_expsyms=$lt_include_expsyms_CXX
13633
 
 
13634
 
# ### END LIBTOOL TAG CONFIG: $tagname
13635
 
 
13636
 
__EOF__
13637
 
 
13638
 
 
13639
 
else
13640
 
  # If there is no Makefile yet, we rely on a make rule to execute
13641
 
  # `config.status --recheck' to rerun these tests and create the
13642
 
  # libtool script then.
13643
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13644
 
  if test -f "$ltmain_in"; then
13645
 
    test -f Makefile && make "$ltmain"
13646
 
  fi
13647
 
fi
13648
 
 
13649
 
 
13650
 
ac_ext=c
13651
 
ac_cpp='$CPP $CPPFLAGS'
13652
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13653
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13654
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13655
 
 
13656
 
CC=$lt_save_CC
13657
 
LDCXX=$LD
13658
 
LD=$lt_save_LD
13659
 
GCC=$lt_save_GCC
13660
 
with_gnu_ldcxx=$with_gnu_ld
13661
 
with_gnu_ld=$lt_save_with_gnu_ld
13662
 
lt_cv_path_LDCXX=$lt_cv_path_LD
13663
 
lt_cv_path_LD=$lt_save_path_LD
13664
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13665
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13666
 
 
13667
 
        else
13668
 
          tagname=""
13669
 
        fi
13670
 
        ;;
13671
 
 
13672
 
      F77)
13673
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
13674
 
 
13675
 
ac_ext=f
13676
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13677
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13678
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13679
 
 
13680
 
 
13681
 
archive_cmds_need_lc_F77=no
13682
 
allow_undefined_flag_F77=
13683
 
always_export_symbols_F77=no
13684
 
archive_expsym_cmds_F77=
13685
 
export_dynamic_flag_spec_F77=
13686
 
hardcode_direct_F77=no
13687
 
hardcode_libdir_flag_spec_F77=
13688
 
hardcode_libdir_flag_spec_ld_F77=
13689
 
hardcode_libdir_separator_F77=
13690
 
hardcode_minus_L_F77=no
13691
 
hardcode_automatic_F77=no
13692
 
module_cmds_F77=
13693
 
module_expsym_cmds_F77=
13694
 
link_all_deplibs_F77=unknown
13695
 
old_archive_cmds_F77=$old_archive_cmds
13696
 
no_undefined_flag_F77=
13697
 
whole_archive_flag_spec_F77=
13698
 
enable_shared_with_static_runtimes_F77=no
13699
 
 
13700
 
# Source file extension for f77 test sources.
13701
 
ac_ext=f
13702
 
 
13703
 
# Object file extension for compiled f77 test sources.
13704
 
objext=o
13705
 
objext_F77=$objext
13706
 
 
13707
 
# Code to be used in simple compile tests
13708
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
13709
 
 
13710
 
# Code to be used in simple link tests
13711
 
lt_simple_link_test_code="      program t\n      end\n"
13712
 
 
13713
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13714
 
 
13715
 
# If no C compiler was specified, use CC.
13716
 
LTCC=${LTCC-"$CC"}
13717
 
 
13718
 
# If no C compiler flags were specified, use CFLAGS.
13719
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13720
 
 
13721
 
# Allow CC to be a program name with arguments.
13722
 
compiler=$CC
13723
 
 
13724
 
 
13725
 
# save warnings/boilerplate of simple test code
13726
 
ac_outfile=conftest.$ac_objext
13727
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
13728
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13729
 
_lt_compiler_boilerplate=`cat conftest.err`
13730
 
$rm conftest*
13731
 
 
13732
 
ac_outfile=conftest.$ac_objext
13733
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
13734
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13735
 
_lt_linker_boilerplate=`cat conftest.err`
13736
 
$rm conftest*
13737
 
 
13738
 
 
13739
 
# Allow CC to be a program name with arguments.
13740
 
lt_save_CC="$CC"
13741
 
CC=${F77-"f77"}
13742
 
compiler=$CC
13743
 
compiler_F77=$CC
13744
 
for cc_temp in $compiler""; do
13745
 
  case $cc_temp in
13746
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13747
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13748
 
    \-*) ;;
13749
 
    *) break;;
13750
 
  esac
13751
 
done
13752
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13753
 
 
13754
 
 
13755
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13756
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13757
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
13758
 
echo "${ECHO_T}$can_build_shared" >&6; }
13759
 
 
13760
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13761
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13762
 
test "$can_build_shared" = "no" && enable_shared=no
13763
 
 
13764
 
# On AIX, shared libraries and static libraries use the same namespace, and
13765
 
# are all built from PIC.
13766
 
case $host_os in
13767
 
aix3*)
13768
 
  test "$enable_shared" = yes && enable_static=no
13769
 
  if test -n "$RANLIB"; then
13770
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
13771
 
    postinstall_cmds='$RANLIB $lib'
13772
 
  fi
13773
 
  ;;
13774
 
aix4* | aix5*)
13775
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13776
 
    test "$enable_shared" = yes && enable_static=no
13777
 
  fi
13778
 
  ;;
13779
 
esac
13780
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
13781
 
echo "${ECHO_T}$enable_shared" >&6; }
13782
 
 
13783
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13784
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13785
 
# Make sure either enable_shared or enable_static is yes.
13786
 
test "$enable_shared" = yes || enable_static=yes
13787
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
13788
 
echo "${ECHO_T}$enable_static" >&6; }
13789
 
 
13790
 
GCC_F77="$G77"
13791
 
LD_F77="$LD"
13792
 
 
13793
 
lt_prog_compiler_wl_F77=
13794
 
lt_prog_compiler_pic_F77=
13795
 
lt_prog_compiler_static_F77=
13796
 
 
13797
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13798
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13799
 
 
13800
 
  if test "$GCC" = yes; then
13801
 
    lt_prog_compiler_wl_F77='-Wl,'
13802
 
    lt_prog_compiler_static_F77='-static'
13803
 
 
13804
 
    case $host_os in
13805
 
      aix*)
13806
 
      # All AIX code is PIC.
13807
 
      if test "$host_cpu" = ia64; then
13808
 
        # AIX 5 now supports IA64 processor
13809
 
        lt_prog_compiler_static_F77='-Bstatic'
13810
 
      fi
13811
 
      ;;
13812
 
 
13813
 
    amigaos*)
13814
 
      # FIXME: we need at least 68020 code to build shared libraries, but
13815
 
      # adding the `-m68020' flag to GCC prevents building anything better,
13816
 
      # like `-m68040'.
13817
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
13818
 
      ;;
13819
 
 
13820
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13821
 
      # PIC is the default for these OSes.
13822
 
      ;;
13823
 
 
13824
 
    mingw* | pw32* | os2*)
13825
 
      # This hack is so that the source file can tell whether it is being
13826
 
      # built for inclusion in a dll (and should export symbols for example).
13827
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13828
 
      ;;
13829
 
 
13830
 
    darwin* | rhapsody*)
13831
 
      # PIC is the default on this platform
13832
 
      # Common symbols not allowed in MH_DYLIB files
13833
 
      lt_prog_compiler_pic_F77='-fno-common'
13834
 
      ;;
13835
 
 
13836
 
    interix3*)
13837
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13838
 
      # Instead, we relocate shared libraries at runtime.
13839
 
      ;;
13840
 
 
13841
 
    msdosdjgpp*)
13842
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
13843
 
      # on systems that don't support them.
13844
 
      lt_prog_compiler_can_build_shared_F77=no
13845
 
      enable_shared=no
13846
 
      ;;
13847
 
 
13848
 
    sysv4*MP*)
13849
 
      if test -d /usr/nec; then
13850
 
        lt_prog_compiler_pic_F77=-Kconform_pic
13851
 
      fi
13852
 
      ;;
13853
 
 
13854
 
    hpux*)
13855
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13856
 
      # not for PA HP-UX.
13857
 
      case $host_cpu in
13858
 
      hppa*64*|ia64*)
13859
 
        # +Z the default
13860
 
        ;;
13861
 
      *)
13862
 
        lt_prog_compiler_pic_F77='-fPIC'
13863
 
        ;;
13864
 
      esac
13865
 
      ;;
13866
 
 
13867
 
    *)
13868
 
      lt_prog_compiler_pic_F77='-fPIC'
13869
 
      ;;
13870
 
    esac
13871
 
  else
13872
 
    # PORTME Check for flag to pass linker flags through the system compiler.
13873
 
    case $host_os in
13874
 
    aix*)
13875
 
      lt_prog_compiler_wl_F77='-Wl,'
13876
 
      if test "$host_cpu" = ia64; then
13877
 
        # AIX 5 now supports IA64 processor
13878
 
        lt_prog_compiler_static_F77='-Bstatic'
13879
 
      else
13880
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
13881
 
      fi
13882
 
      ;;
13883
 
      darwin*)
13884
 
        # PIC is the default on this platform
13885
 
        # Common symbols not allowed in MH_DYLIB files
13886
 
       case $cc_basename in
13887
 
         xlc*)
13888
 
         lt_prog_compiler_pic_F77='-qnocommon'
13889
 
         lt_prog_compiler_wl_F77='-Wl,'
13890
 
         ;;
13891
 
       esac
13892
 
       ;;
13893
 
 
13894
 
    mingw* | pw32* | os2*)
13895
 
      # This hack is so that the source file can tell whether it is being
13896
 
      # built for inclusion in a dll (and should export symbols for example).
13897
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13898
 
      ;;
13899
 
 
13900
 
    hpux9* | hpux10* | hpux11*)
13901
 
      lt_prog_compiler_wl_F77='-Wl,'
13902
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13903
 
      # not for PA HP-UX.
13904
 
      case $host_cpu in
13905
 
      hppa*64*|ia64*)
13906
 
        # +Z the default
13907
 
        ;;
13908
 
      *)
13909
 
        lt_prog_compiler_pic_F77='+Z'
13910
 
        ;;
13911
 
      esac
13912
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
13913
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
13914
 
      ;;
13915
 
 
13916
 
    irix5* | irix6* | nonstopux*)
13917
 
      lt_prog_compiler_wl_F77='-Wl,'
13918
 
      # PIC (with -KPIC) is the default.
13919
 
      lt_prog_compiler_static_F77='-non_shared'
13920
 
      ;;
13921
 
 
13922
 
    newsos6)
13923
 
      lt_prog_compiler_pic_F77='-KPIC'
13924
 
      lt_prog_compiler_static_F77='-Bstatic'
13925
 
      ;;
13926
 
 
13927
 
    linux*)
13928
 
      case $cc_basename in
13929
 
      icc* | ecc*)
13930
 
        lt_prog_compiler_wl_F77='-Wl,'
13931
 
        lt_prog_compiler_pic_F77='-KPIC'
13932
 
        lt_prog_compiler_static_F77='-static'
13933
 
        ;;
13934
 
      pgcc* | pgf77* | pgf90* | pgf95*)
13935
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
13936
 
        # which looks to be a dead project)
13937
 
        lt_prog_compiler_wl_F77='-Wl,'
13938
 
        lt_prog_compiler_pic_F77='-fpic'
13939
 
        lt_prog_compiler_static_F77='-Bstatic'
13940
 
        ;;
13941
 
      ccc*)
13942
 
        lt_prog_compiler_wl_F77='-Wl,'
13943
 
        # All Alpha code is PIC.
13944
 
        lt_prog_compiler_static_F77='-non_shared'
13945
 
        ;;
13946
 
      esac
13947
 
      ;;
13948
 
 
13949
 
    osf3* | osf4* | osf5*)
13950
 
      lt_prog_compiler_wl_F77='-Wl,'
13951
 
      # All OSF/1 code is PIC.
13952
 
      lt_prog_compiler_static_F77='-non_shared'
13953
 
      ;;
13954
 
 
13955
 
    solaris*)
13956
 
      lt_prog_compiler_pic_F77='-KPIC'
13957
 
      lt_prog_compiler_static_F77='-Bstatic'
13958
 
      case $cc_basename in
13959
 
      f77* | f90* | f95*)
13960
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
13961
 
      *)
13962
 
        lt_prog_compiler_wl_F77='-Wl,';;
13963
 
      esac
13964
 
      ;;
13965
 
 
13966
 
    sunos4*)
13967
 
      lt_prog_compiler_wl_F77='-Qoption ld '
13968
 
      lt_prog_compiler_pic_F77='-PIC'
13969
 
      lt_prog_compiler_static_F77='-Bstatic'
13970
 
      ;;
13971
 
 
13972
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
13973
 
      lt_prog_compiler_wl_F77='-Wl,'
13974
 
      lt_prog_compiler_pic_F77='-KPIC'
13975
 
      lt_prog_compiler_static_F77='-Bstatic'
13976
 
      ;;
13977
 
 
13978
 
    sysv4*MP*)
13979
 
      if test -d /usr/nec ;then
13980
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
13981
 
        lt_prog_compiler_static_F77='-Bstatic'
13982
 
      fi
13983
 
      ;;
13984
 
 
13985
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13986
 
      lt_prog_compiler_wl_F77='-Wl,'
13987
 
      lt_prog_compiler_pic_F77='-KPIC'
13988
 
      lt_prog_compiler_static_F77='-Bstatic'
13989
 
      ;;
13990
 
 
13991
 
    unicos*)
13992
 
      lt_prog_compiler_wl_F77='-Wl,'
13993
 
      lt_prog_compiler_can_build_shared_F77=no
13994
 
      ;;
13995
 
 
13996
 
    uts4*)
13997
 
      lt_prog_compiler_pic_F77='-pic'
13998
 
      lt_prog_compiler_static_F77='-Bstatic'
13999
 
      ;;
14000
 
 
14001
 
    *)
14002
 
      lt_prog_compiler_can_build_shared_F77=no
14003
 
      ;;
14004
 
    esac
14005
 
  fi
14006
 
 
14007
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14008
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14009
 
 
14010
 
#
14011
 
# Check to make sure the PIC flag actually works.
14012
 
#
14013
 
if test -n "$lt_prog_compiler_pic_F77"; then
14014
 
 
14015
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14016
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14017
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14018
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14019
 
else
14020
 
  lt_prog_compiler_pic_works_F77=no
14021
 
  ac_outfile=conftest.$ac_objext
14022
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14023
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
14024
 
   # Insert the option either (1) after the last *FLAGS variable, or
14025
 
   # (2) before a word containing "conftest.", or (3) at the end.
14026
 
   # Note that $ac_compile itself does not contain backslashes and begins
14027
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14028
 
   # The option is referenced via a variable to avoid confusing sed.
14029
 
   lt_compile=`echo "$ac_compile" | $SED \
14030
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14031
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14032
 
   -e 's:$: $lt_compiler_flag:'`
14033
 
   (eval echo "\"\$as_me:14033: $lt_compile\"" >&5)
14034
 
   (eval "$lt_compile" 2>conftest.err)
14035
 
   ac_status=$?
14036
 
   cat conftest.err >&5
14037
 
   echo "$as_me:14037: \$? = $ac_status" >&5
14038
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
14039
 
     # The compiler can only warn and ignore the option if not recognized
14040
 
     # So say no if there are warnings other than the usual output.
14041
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14042
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14043
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14044
 
       lt_prog_compiler_pic_works_F77=yes
14045
 
     fi
14046
 
   fi
14047
 
   $rm conftest*
14048
 
 
14049
 
fi
14050
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14051
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14052
 
 
14053
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
14054
 
    case $lt_prog_compiler_pic_F77 in
14055
 
     "" | " "*) ;;
14056
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
14057
 
     esac
14058
 
else
14059
 
    lt_prog_compiler_pic_F77=
14060
 
     lt_prog_compiler_can_build_shared_F77=no
14061
 
fi
14062
 
 
14063
 
fi
14064
 
case $host_os in
14065
 
  # For platforms which do not support PIC, -DPIC is meaningless:
14066
 
  *djgpp*)
14067
 
    lt_prog_compiler_pic_F77=
14068
 
    ;;
14069
 
  *)
14070
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
14071
 
    ;;
14072
 
esac
14073
 
 
14074
 
#
14075
 
# Check to make sure the static flag actually works.
14076
 
#
14077
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14078
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14079
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14080
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14081
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14082
 
else
14083
 
  lt_prog_compiler_static_works_F77=no
14084
 
   save_LDFLAGS="$LDFLAGS"
14085
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14086
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
14087
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14088
 
     # The linker can only warn and ignore the option if not recognized
14089
 
     # So say no if there are warnings
14090
 
     if test -s conftest.err; then
14091
 
       # Append any errors to the config.log.
14092
 
       cat conftest.err 1>&5
14093
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14094
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14095
 
       if diff conftest.exp conftest.er2 >/dev/null; then
14096
 
         lt_prog_compiler_static_works_F77=yes
14097
 
       fi
14098
 
     else
14099
 
       lt_prog_compiler_static_works_F77=yes
14100
 
     fi
14101
 
   fi
14102
 
   $rm conftest*
14103
 
   LDFLAGS="$save_LDFLAGS"
14104
 
 
14105
 
fi
14106
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14107
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14108
 
 
14109
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
14110
 
    :
14111
 
else
14112
 
    lt_prog_compiler_static_F77=
14113
 
fi
14114
 
 
14115
 
 
14116
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14117
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14118
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14119
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14120
 
else
14121
 
  lt_cv_prog_compiler_c_o_F77=no
14122
 
   $rm -r conftest 2>/dev/null
14123
 
   mkdir conftest
14124
 
   cd conftest
14125
 
   mkdir out
14126
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14127
 
 
14128
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14129
 
   # Insert the option either (1) after the last *FLAGS variable, or
14130
 
   # (2) before a word containing "conftest.", or (3) at the end.
14131
 
   # Note that $ac_compile itself does not contain backslashes and begins
14132
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14133
 
   lt_compile=`echo "$ac_compile" | $SED \
14134
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14135
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14136
 
   -e 's:$: $lt_compiler_flag:'`
14137
 
   (eval echo "\"\$as_me:14137: $lt_compile\"" >&5)
14138
 
   (eval "$lt_compile" 2>out/conftest.err)
14139
 
   ac_status=$?
14140
 
   cat out/conftest.err >&5
14141
 
   echo "$as_me:14141: \$? = $ac_status" >&5
14142
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14143
 
   then
14144
 
     # The compiler can only warn and ignore the option if not recognized
14145
 
     # So say no if there are warnings
14146
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14147
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14148
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14149
 
       lt_cv_prog_compiler_c_o_F77=yes
14150
 
     fi
14151
 
   fi
14152
 
   chmod u+w . 2>&5
14153
 
   $rm conftest*
14154
 
   # SGI C++ compiler will create directory out/ii_files/ for
14155
 
   # template instantiation
14156
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14157
 
   $rm out/* && rmdir out
14158
 
   cd ..
14159
 
   rmdir conftest
14160
 
   $rm conftest*
14161
 
 
14162
 
fi
14163
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14164
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14165
 
 
14166
 
 
14167
 
hard_links="nottested"
14168
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
14169
 
  # do not overwrite the value of need_locks provided by the user
14170
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14171
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14172
 
  hard_links=yes
14173
 
  $rm conftest*
14174
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14175
 
  touch conftest.a
14176
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
14177
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14178
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
14179
 
echo "${ECHO_T}$hard_links" >&6; }
14180
 
  if test "$hard_links" = no; then
14181
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14182
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14183
 
    need_locks=warn
14184
 
  fi
14185
 
else
14186
 
  need_locks=no
14187
 
fi
14188
 
 
14189
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14190
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14191
 
 
14192
 
  runpath_var=
14193
 
  allow_undefined_flag_F77=
14194
 
  enable_shared_with_static_runtimes_F77=no
14195
 
  archive_cmds_F77=
14196
 
  archive_expsym_cmds_F77=
14197
 
  old_archive_From_new_cmds_F77=
14198
 
  old_archive_from_expsyms_cmds_F77=
14199
 
  export_dynamic_flag_spec_F77=
14200
 
  whole_archive_flag_spec_F77=
14201
 
  thread_safe_flag_spec_F77=
14202
 
  hardcode_libdir_flag_spec_F77=
14203
 
  hardcode_libdir_flag_spec_ld_F77=
14204
 
  hardcode_libdir_separator_F77=
14205
 
  hardcode_direct_F77=no
14206
 
  hardcode_minus_L_F77=no
14207
 
  hardcode_shlibpath_var_F77=unsupported
14208
 
  link_all_deplibs_F77=unknown
14209
 
  hardcode_automatic_F77=no
14210
 
  module_cmds_F77=
14211
 
  module_expsym_cmds_F77=
14212
 
  always_export_symbols_F77=no
14213
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14214
 
  # include_expsyms should be a list of space-separated symbols to be *always*
14215
 
  # included in the symbol list
14216
 
  include_expsyms_F77=
14217
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
14218
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
14219
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14220
 
  # as well as any symbol that contains `d'.
14221
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
14222
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14223
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
14224
 
  # the symbol is explicitly referenced.  Since portable code cannot
14225
 
  # rely on this symbol name, it's probably fine to never include it in
14226
 
  # preloaded symbol tables.
14227
 
  extract_expsyms_cmds=
14228
 
  # Just being paranoid about ensuring that cc_basename is set.
14229
 
  for cc_temp in $compiler""; do
14230
 
  case $cc_temp in
14231
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14232
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14233
 
    \-*) ;;
14234
 
    *) break;;
14235
 
  esac
14236
 
done
14237
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14238
 
 
14239
 
  case $host_os in
14240
 
  cygwin* | mingw* | pw32*)
14241
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
14242
 
    # When not using gcc, we currently assume that we are using
14243
 
    # Microsoft Visual C++.
14244
 
    if test "$GCC" != yes; then
14245
 
      with_gnu_ld=no
14246
 
    fi
14247
 
    ;;
14248
 
  interix*)
14249
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
14250
 
    with_gnu_ld=yes
14251
 
    ;;
14252
 
  openbsd*)
14253
 
    with_gnu_ld=no
14254
 
    ;;
14255
 
  esac
14256
 
 
14257
 
  ld_shlibs_F77=yes
14258
 
  if test "$with_gnu_ld" = yes; then
14259
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
14260
 
    wlarc='${wl}'
14261
 
 
14262
 
    # Set some defaults for GNU ld with shared library support. These
14263
 
    # are reset later if shared libraries are not supported. Putting them
14264
 
    # here allows them to be overridden if necessary.
14265
 
    runpath_var=LD_RUN_PATH
14266
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
14267
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
14268
 
    # ancient GNU ld didn't support --whole-archive et. al.
14269
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14270
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14271
 
      else
14272
 
        whole_archive_flag_spec_F77=
14273
 
    fi
14274
 
    supports_anon_versioning=no
14275
 
    case `$LD -v 2>/dev/null` in
14276
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14277
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14278
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14279
 
      *\ 2.11.*) ;; # other 2.11 versions
14280
 
      *) supports_anon_versioning=yes ;;
14281
 
    esac
14282
 
 
14283
 
    # See if GNU ld supports shared libraries.
14284
 
    case $host_os in
14285
 
    aix3* | aix4* | aix5*)
14286
 
      # On AIX/PPC, the GNU linker is very broken
14287
 
      if test "$host_cpu" != ia64; then
14288
 
        ld_shlibs_F77=no
14289
 
        cat <<EOF 1>&2
14290
 
 
14291
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
14292
 
*** to be unable to reliably create shared libraries on AIX.
14293
 
*** Therefore, libtool is disabling shared libraries support.  If you
14294
 
*** really care for shared libraries, you may want to modify your PATH
14295
 
*** so that a non-GNU linker is found, and then restart.
14296
 
 
14297
 
EOF
14298
 
      fi
14299
 
      ;;
14300
 
 
14301
 
    amigaos*)
14302
 
      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)'
14303
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14304
 
      hardcode_minus_L_F77=yes
14305
 
 
14306
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14307
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
14308
 
      # to version 4, is to share data among multiple programs linked
14309
 
      # with the same dynamic library.  Since this doesn't match the
14310
 
      # behavior of shared libraries on other platforms, we can't use
14311
 
      # them.
14312
 
      ld_shlibs_F77=no
14313
 
      ;;
14314
 
 
14315
 
    beos*)
14316
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14317
 
        allow_undefined_flag_F77=unsupported
14318
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14319
 
        # support --undefined.  This deserves some investigation.  FIXME
14320
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14321
 
      else
14322
 
        ld_shlibs_F77=no
14323
 
      fi
14324
 
      ;;
14325
 
 
14326
 
    cygwin* | mingw* | pw32*)
14327
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14328
 
      # as there is no search path for DLLs.
14329
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14330
 
      allow_undefined_flag_F77=unsupported
14331
 
      always_export_symbols_F77=no
14332
 
      enable_shared_with_static_runtimes_F77=yes
14333
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14334
 
 
14335
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14336
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14337
 
        # If the export-symbols file already is a .def file (1st line
14338
 
        # is EXPORTS), use it as is; otherwise, prepend...
14339
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14340
 
          cp $export_symbols $output_objdir/$soname.def;
14341
 
        else
14342
 
          echo EXPORTS > $output_objdir/$soname.def;
14343
 
          cat $export_symbols >> $output_objdir/$soname.def;
14344
 
        fi~
14345
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14346
 
      else
14347
 
        ld_shlibs_F77=no
14348
 
      fi
14349
 
      ;;
14350
 
 
14351
 
    interix3*)
14352
 
      hardcode_direct_F77=no
14353
 
      hardcode_shlibpath_var_F77=no
14354
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14355
 
      export_dynamic_flag_spec_F77='${wl}-E'
14356
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14357
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
14358
 
      # default) and relocated if they conflict, which is a slow very memory
14359
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
14360
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14361
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14362
 
      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'
14363
 
      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'
14364
 
      ;;
14365
 
 
14366
 
    linux*)
14367
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14368
 
        tmp_addflag=
14369
 
        case $cc_basename,$host_cpu in
14370
 
        pgcc*)                          # Portland Group C compiler
14371
 
          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'
14372
 
          tmp_addflag=' $pic_flag'
14373
 
          ;;
14374
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
14375
 
          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'
14376
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
14377
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
14378
 
          tmp_addflag=' -i_dynamic' ;;
14379
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
14380
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
14381
 
        ifc* | ifort*)                  # Intel Fortran compiler
14382
 
          tmp_addflag=' -nofor_main' ;;
14383
 
        esac
14384
 
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14385
 
 
14386
 
        if test $supports_anon_versioning = yes; then
14387
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14388
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14389
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
14390
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14391
 
        fi
14392
 
      else
14393
 
        ld_shlibs_F77=no
14394
 
      fi
14395
 
      ;;
14396
 
 
14397
 
    netbsd*)
14398
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14399
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14400
 
        wlarc=
14401
 
      else
14402
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14403
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14404
 
      fi
14405
 
      ;;
14406
 
 
14407
 
    solaris*)
14408
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
14409
 
        ld_shlibs_F77=no
14410
 
        cat <<EOF 1>&2
14411
 
 
14412
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
14413
 
*** create shared libraries on Solaris systems.  Therefore, libtool
14414
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
14415
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
14416
 
*** your PATH or compiler configuration so that the native linker is
14417
 
*** used, and then restart.
14418
 
 
14419
 
EOF
14420
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14421
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14422
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14423
 
      else
14424
 
        ld_shlibs_F77=no
14425
 
      fi
14426
 
      ;;
14427
 
 
14428
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14429
 
      case `$LD -v 2>&1` in
14430
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14431
 
        ld_shlibs_F77=no
14432
 
        cat <<_LT_EOF 1>&2
14433
 
 
14434
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14435
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
14436
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
14437
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
14438
 
*** your PATH or compiler configuration so that the native linker is
14439
 
*** used, and then restart.
14440
 
 
14441
 
_LT_EOF
14442
 
        ;;
14443
 
        *)
14444
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14445
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14446
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14447
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14448
 
          else
14449
 
            ld_shlibs_F77=no
14450
 
          fi
14451
 
        ;;
14452
 
      esac
14453
 
      ;;
14454
 
 
14455
 
    sunos4*)
14456
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14457
 
      wlarc=
14458
 
      hardcode_direct_F77=yes
14459
 
      hardcode_shlibpath_var_F77=no
14460
 
      ;;
14461
 
 
14462
 
    *)
14463
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14464
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14465
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14466
 
      else
14467
 
        ld_shlibs_F77=no
14468
 
      fi
14469
 
      ;;
14470
 
    esac
14471
 
 
14472
 
    if test "$ld_shlibs_F77" = no; then
14473
 
      runpath_var=
14474
 
      hardcode_libdir_flag_spec_F77=
14475
 
      export_dynamic_flag_spec_F77=
14476
 
      whole_archive_flag_spec_F77=
14477
 
    fi
14478
 
  else
14479
 
    # PORTME fill in a description of your system's linker (not GNU ld)
14480
 
    case $host_os in
14481
 
    aix3*)
14482
 
      allow_undefined_flag_F77=unsupported
14483
 
      always_export_symbols_F77=yes
14484
 
      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'
14485
 
      # Note: this linker hardcodes the directories in LIBPATH if there
14486
 
      # are no directories specified by -L.
14487
 
      hardcode_minus_L_F77=yes
14488
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14489
 
        # Neither direct hardcoding nor static linking is supported with a
14490
 
        # broken collect2.
14491
 
        hardcode_direct_F77=unsupported
14492
 
      fi
14493
 
      ;;
14494
 
 
14495
 
    aix4* | aix5*)
14496
 
      if test "$host_cpu" = ia64; then
14497
 
        # On IA64, the linker does run time linking by default, so we don't
14498
 
        # have to do anything special.
14499
 
        aix_use_runtimelinking=no
14500
 
        exp_sym_flag='-Bexport'
14501
 
        no_entry_flag=""
14502
 
      else
14503
 
        # If we're using GNU nm, then we don't want the "-C" option.
14504
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
14505
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14506
 
          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'
14507
 
        else
14508
 
          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'
14509
 
        fi
14510
 
        aix_use_runtimelinking=no
14511
 
 
14512
 
        # Test if we are trying to use run time linking or normal
14513
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14514
 
        # need to do runtime linking.
14515
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
14516
 
          for ld_flag in $LDFLAGS; do
14517
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14518
 
            aix_use_runtimelinking=yes
14519
 
            break
14520
 
          fi
14521
 
          done
14522
 
          ;;
14523
 
        esac
14524
 
 
14525
 
        exp_sym_flag='-bexport'
14526
 
        no_entry_flag='-bnoentry'
14527
 
      fi
14528
 
 
14529
 
      # When large executables or shared objects are built, AIX ld can
14530
 
      # have problems creating the table of contents.  If linking a library
14531
 
      # or program results in "error TOC overflow" add -mminimal-toc to
14532
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14533
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14534
 
 
14535
 
      archive_cmds_F77=''
14536
 
      hardcode_direct_F77=yes
14537
 
      hardcode_libdir_separator_F77=':'
14538
 
      link_all_deplibs_F77=yes
14539
 
 
14540
 
      if test "$GCC" = yes; then
14541
 
        case $host_os in aix4.[012]|aix4.[012].*)
14542
 
        # We only want to do this on AIX 4.2 and lower, the check
14543
 
        # below for broken collect2 doesn't work under 4.3+
14544
 
          collect2name=`${CC} -print-prog-name=collect2`
14545
 
          if test -f "$collect2name" && \
14546
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
14547
 
          then
14548
 
          # We have reworked collect2
14549
 
          hardcode_direct_F77=yes
14550
 
          else
14551
 
          # We have old collect2
14552
 
          hardcode_direct_F77=unsupported
14553
 
          # It fails to find uninstalled libraries when the uninstalled
14554
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
14555
 
          # to unsupported forces relinking
14556
 
          hardcode_minus_L_F77=yes
14557
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
14558
 
          hardcode_libdir_separator_F77=
14559
 
          fi
14560
 
          ;;
14561
 
        esac
14562
 
        shared_flag='-shared'
14563
 
        if test "$aix_use_runtimelinking" = yes; then
14564
 
          shared_flag="$shared_flag "'${wl}-G'
14565
 
        fi
14566
 
      else
14567
 
        # not using gcc
14568
 
        if test "$host_cpu" = ia64; then
14569
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14570
 
        # chokes on -Wl,-G. The following line is correct:
14571
 
          shared_flag='-G'
14572
 
        else
14573
 
          if test "$aix_use_runtimelinking" = yes; then
14574
 
            shared_flag='${wl}-G'
14575
 
          else
14576
 
            shared_flag='${wl}-bM:SRE'
14577
 
          fi
14578
 
        fi
14579
 
      fi
14580
 
 
14581
 
      # It seems that -bexpall does not export symbols beginning with
14582
 
      # underscore (_), so it is better to generate a list of symbols to export.
14583
 
      always_export_symbols_F77=yes
14584
 
      if test "$aix_use_runtimelinking" = yes; then
14585
 
        # Warning - without using the other runtime loading flags (-brtl),
14586
 
        # -berok will link without error, but may produce a broken library.
14587
 
        allow_undefined_flag_F77='-berok'
14588
 
       # Determine the default libpath from the value encoded in an empty executable.
14589
 
       cat >conftest.$ac_ext <<_ACEOF
14590
 
      program main
14591
 
 
14592
 
      end
14593
 
_ACEOF
14594
 
rm -f conftest.$ac_objext conftest$ac_exeext
14595
 
if { (ac_try="$ac_link"
14596
 
case "(($ac_try" in
14597
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14598
 
  *) ac_try_echo=$ac_try;;
14599
 
esac
14600
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14601
 
  (eval "$ac_link") 2>conftest.er1
14602
 
  ac_status=$?
14603
 
  grep -v '^ *+' conftest.er1 >conftest.err
14604
 
  rm -f conftest.er1
14605
 
  cat conftest.err >&5
14606
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14607
 
  (exit $ac_status); } &&
14608
 
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
14609
 
  { (case "(($ac_try" in
14610
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14611
 
  *) ac_try_echo=$ac_try;;
14612
 
esac
14613
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14614
 
  (eval "$ac_try") 2>&5
14615
 
  ac_status=$?
14616
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14617
 
  (exit $ac_status); }; } &&
14618
 
         { ac_try='test -s conftest$ac_exeext'
14619
 
  { (case "(($ac_try" in
14620
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14621
 
  *) ac_try_echo=$ac_try;;
14622
 
esac
14623
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14624
 
  (eval "$ac_try") 2>&5
14625
 
  ac_status=$?
14626
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627
 
  (exit $ac_status); }; }; then
14628
 
 
14629
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14630
 
}'`
14631
 
# Check for a 64-bit object if we didn't find anything.
14632
 
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; }
14633
 
}'`; fi
14634
 
else
14635
 
  echo "$as_me: failed program was:" >&5
14636
 
sed 's/^/| /' conftest.$ac_ext >&5
14637
 
 
14638
 
 
14639
 
fi
14640
 
 
14641
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14642
 
      conftest$ac_exeext conftest.$ac_ext
14643
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14644
 
 
14645
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14646
 
        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"
14647
 
       else
14648
 
        if test "$host_cpu" = ia64; then
14649
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14650
 
          allow_undefined_flag_F77="-z nodefs"
14651
 
          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"
14652
 
        else
14653
 
         # Determine the default libpath from the value encoded in an empty executable.
14654
 
         cat >conftest.$ac_ext <<_ACEOF
14655
 
      program main
14656
 
 
14657
 
      end
14658
 
_ACEOF
14659
 
rm -f conftest.$ac_objext conftest$ac_exeext
14660
 
if { (ac_try="$ac_link"
14661
 
case "(($ac_try" in
14662
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14663
 
  *) ac_try_echo=$ac_try;;
14664
 
esac
14665
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14666
 
  (eval "$ac_link") 2>conftest.er1
14667
 
  ac_status=$?
14668
 
  grep -v '^ *+' conftest.er1 >conftest.err
14669
 
  rm -f conftest.er1
14670
 
  cat conftest.err >&5
14671
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672
 
  (exit $ac_status); } &&
14673
 
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
14674
 
  { (case "(($ac_try" in
14675
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14676
 
  *) ac_try_echo=$ac_try;;
14677
 
esac
14678
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14679
 
  (eval "$ac_try") 2>&5
14680
 
  ac_status=$?
14681
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14682
 
  (exit $ac_status); }; } &&
14683
 
         { ac_try='test -s conftest$ac_exeext'
14684
 
  { (case "(($ac_try" in
14685
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14686
 
  *) ac_try_echo=$ac_try;;
14687
 
esac
14688
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14689
 
  (eval "$ac_try") 2>&5
14690
 
  ac_status=$?
14691
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14692
 
  (exit $ac_status); }; }; then
14693
 
 
14694
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14695
 
}'`
14696
 
# Check for a 64-bit object if we didn't find anything.
14697
 
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; }
14698
 
}'`; fi
14699
 
else
14700
 
  echo "$as_me: failed program was:" >&5
14701
 
sed 's/^/| /' conftest.$ac_ext >&5
14702
 
 
14703
 
 
14704
 
fi
14705
 
 
14706
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14707
 
      conftest$ac_exeext conftest.$ac_ext
14708
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14709
 
 
14710
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14711
 
          # Warning - without using the other run time loading flags,
14712
 
          # -berok will link without error, but may produce a broken library.
14713
 
          no_undefined_flag_F77=' ${wl}-bernotok'
14714
 
          allow_undefined_flag_F77=' ${wl}-berok'
14715
 
          # Exported symbols can be pulled into shared objects from archives
14716
 
          whole_archive_flag_spec_F77='$convenience'
14717
 
          archive_cmds_need_lc_F77=yes
14718
 
          # This is similar to how AIX traditionally builds its shared libraries.
14719
 
          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'
14720
 
        fi
14721
 
      fi
14722
 
      ;;
14723
 
 
14724
 
    amigaos*)
14725
 
      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)'
14726
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14727
 
      hardcode_minus_L_F77=yes
14728
 
      # see comment about different semantics on the GNU ld section
14729
 
      ld_shlibs_F77=no
14730
 
      ;;
14731
 
 
14732
 
    bsdi[45]*)
14733
 
      export_dynamic_flag_spec_F77=-rdynamic
14734
 
      ;;
14735
 
 
14736
 
    cygwin* | mingw* | pw32*)
14737
 
      # When not using gcc, we currently assume that we are using
14738
 
      # Microsoft Visual C++.
14739
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
14740
 
      # no search path for DLLs.
14741
 
      hardcode_libdir_flag_spec_F77=' '
14742
 
      allow_undefined_flag_F77=unsupported
14743
 
      # Tell ltmain to make .lib files, not .a files.
14744
 
      libext=lib
14745
 
      # Tell ltmain to make .dll files, not .so files.
14746
 
      shrext_cmds=".dll"
14747
 
      # FIXME: Setting linknames here is a bad hack.
14748
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14749
 
      # The linker will automatically build a .lib file if we build a DLL.
14750
 
      old_archive_From_new_cmds_F77='true'
14751
 
      # FIXME: Should let the user specify the lib program.
14752
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
14753
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
14754
 
      enable_shared_with_static_runtimes_F77=yes
14755
 
      ;;
14756
 
 
14757
 
    darwin* | rhapsody*)
14758
 
      case $host_os in
14759
 
        rhapsody* | darwin1.[012])
14760
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
14761
 
         ;;
14762
 
       *) # Darwin 1.3 on
14763
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14764
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14765
 
         else
14766
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
14767
 
             10.[012])
14768
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14769
 
               ;;
14770
 
             10.*)
14771
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
14772
 
               ;;
14773
 
           esac
14774
 
         fi
14775
 
         ;;
14776
 
      esac
14777
 
      archive_cmds_need_lc_F77=no
14778
 
      hardcode_direct_F77=no
14779
 
      hardcode_automatic_F77=yes
14780
 
      hardcode_shlibpath_var_F77=unsupported
14781
 
      whole_archive_flag_spec_F77=''
14782
 
      link_all_deplibs_F77=yes
14783
 
    if test "$GCC" = yes ; then
14784
 
        output_verbose_link_cmd='echo'
14785
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14786
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14787
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14788
 
      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}'
14789
 
      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}'
14790
 
    else
14791
 
      case $cc_basename in
14792
 
        xlc*)
14793
 
         output_verbose_link_cmd='echo'
14794
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14795
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14796
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14797
 
         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}'
14798
 
          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}'
14799
 
          ;;
14800
 
       *)
14801
 
         ld_shlibs_F77=no
14802
 
          ;;
14803
 
      esac
14804
 
    fi
14805
 
      ;;
14806
 
 
14807
 
    dgux*)
14808
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14809
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14810
 
      hardcode_shlibpath_var_F77=no
14811
 
      ;;
14812
 
 
14813
 
    freebsd1*)
14814
 
      ld_shlibs_F77=no
14815
 
      ;;
14816
 
 
14817
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14818
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
14819
 
    # does not break anything, and helps significantly (at the cost of a little
14820
 
    # extra space).
14821
 
    freebsd2.2*)
14822
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14823
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
14824
 
      hardcode_direct_F77=yes
14825
 
      hardcode_shlibpath_var_F77=no
14826
 
      ;;
14827
 
 
14828
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14829
 
    freebsd2*)
14830
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14831
 
      hardcode_direct_F77=yes
14832
 
      hardcode_minus_L_F77=yes
14833
 
      hardcode_shlibpath_var_F77=no
14834
 
      ;;
14835
 
 
14836
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14837
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
14838
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14839
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
14840
 
      hardcode_direct_F77=yes
14841
 
      hardcode_shlibpath_var_F77=no
14842
 
      ;;
14843
 
 
14844
 
    hpux9*)
14845
 
      if test "$GCC" = yes; then
14846
 
        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'
14847
 
      else
14848
 
        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'
14849
 
      fi
14850
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14851
 
      hardcode_libdir_separator_F77=:
14852
 
      hardcode_direct_F77=yes
14853
 
 
14854
 
      # hardcode_minus_L: Not really in the search PATH,
14855
 
      # but as the default location of the library.
14856
 
      hardcode_minus_L_F77=yes
14857
 
      export_dynamic_flag_spec_F77='${wl}-E'
14858
 
      ;;
14859
 
 
14860
 
    hpux10*)
14861
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14862
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14863
 
      else
14864
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14865
 
      fi
14866
 
      if test "$with_gnu_ld" = no; then
14867
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14868
 
        hardcode_libdir_separator_F77=:
14869
 
 
14870
 
        hardcode_direct_F77=yes
14871
 
        export_dynamic_flag_spec_F77='${wl}-E'
14872
 
 
14873
 
        # hardcode_minus_L: Not really in the search PATH,
14874
 
        # but as the default location of the library.
14875
 
        hardcode_minus_L_F77=yes
14876
 
      fi
14877
 
      ;;
14878
 
 
14879
 
    hpux11*)
14880
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14881
 
        case $host_cpu in
14882
 
        hppa*64*)
14883
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14884
 
          ;;
14885
 
        ia64*)
14886
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14887
 
          ;;
14888
 
        *)
14889
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14890
 
          ;;
14891
 
        esac
14892
 
      else
14893
 
        case $host_cpu in
14894
 
        hppa*64*)
14895
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14896
 
          ;;
14897
 
        ia64*)
14898
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14899
 
          ;;
14900
 
        *)
14901
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14902
 
          ;;
14903
 
        esac
14904
 
      fi
14905
 
      if test "$with_gnu_ld" = no; then
14906
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14907
 
        hardcode_libdir_separator_F77=:
14908
 
 
14909
 
        case $host_cpu in
14910
 
        hppa*64*|ia64*)
14911
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
14912
 
          hardcode_direct_F77=no
14913
 
          hardcode_shlibpath_var_F77=no
14914
 
          ;;
14915
 
        *)
14916
 
          hardcode_direct_F77=yes
14917
 
          export_dynamic_flag_spec_F77='${wl}-E'
14918
 
 
14919
 
          # hardcode_minus_L: Not really in the search PATH,
14920
 
          # but as the default location of the library.
14921
 
          hardcode_minus_L_F77=yes
14922
 
          ;;
14923
 
        esac
14924
 
      fi
14925
 
      ;;
14926
 
 
14927
 
    irix5* | irix6* | nonstopux*)
14928
 
      if test "$GCC" = yes; then
14929
 
        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'
14930
 
      else
14931
 
        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'
14932
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
14933
 
      fi
14934
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
14935
 
      hardcode_libdir_separator_F77=:
14936
 
      link_all_deplibs_F77=yes
14937
 
      ;;
14938
 
 
14939
 
    netbsd*)
14940
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14941
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14942
 
      else
14943
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
14944
 
      fi
14945
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
14946
 
      hardcode_direct_F77=yes
14947
 
      hardcode_shlibpath_var_F77=no
14948
 
      ;;
14949
 
 
14950
 
    newsos6)
14951
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14952
 
      hardcode_direct_F77=yes
14953
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
14954
 
      hardcode_libdir_separator_F77=:
14955
 
      hardcode_shlibpath_var_F77=no
14956
 
      ;;
14957
 
 
14958
 
    openbsd*)
14959
 
      hardcode_direct_F77=yes
14960
 
      hardcode_shlibpath_var_F77=no
14961
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14962
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14963
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14964
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14965
 
        export_dynamic_flag_spec_F77='${wl}-E'
14966
 
      else
14967
 
       case $host_os in
14968
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14969
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14970
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
14971
 
           ;;
14972
 
         *)
14973
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14974
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14975
 
           ;;
14976
 
       esac
14977
 
      fi
14978
 
      ;;
14979
 
 
14980
 
    os2*)
14981
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14982
 
      hardcode_minus_L_F77=yes
14983
 
      allow_undefined_flag_F77=unsupported
14984
 
      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'
14985
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14986
 
      ;;
14987
 
 
14988
 
    osf3*)
14989
 
      if test "$GCC" = yes; then
14990
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
14991
 
        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'
14992
 
      else
14993
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
14994
 
        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'
14995
 
      fi
14996
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
14997
 
      hardcode_libdir_separator_F77=:
14998
 
      ;;
14999
 
 
15000
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
15001
 
      if test "$GCC" = yes; then
15002
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15003
 
        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'
15004
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15005
 
      else
15006
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15007
 
        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'
15008
 
        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~
15009
 
        $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'
15010
 
 
15011
 
        # Both c and cxx compiler support -rpath directly
15012
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
15013
 
      fi
15014
 
      hardcode_libdir_separator_F77=:
15015
 
      ;;
15016
 
 
15017
 
    solaris*)
15018
 
      no_undefined_flag_F77=' -z text'
15019
 
      if test "$GCC" = yes; then
15020
 
        wlarc='${wl}'
15021
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15022
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15023
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15024
 
      else
15025
 
        wlarc=''
15026
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15027
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15028
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15029
 
      fi
15030
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15031
 
      hardcode_shlibpath_var_F77=no
15032
 
      case $host_os in
15033
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
15034
 
      *)
15035
 
        # The compiler driver will combine linker options so we
15036
 
        # cannot just pass the convience library names through
15037
 
        # without $wl, iff we do not link with $LD.
15038
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
15039
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
15040
 
        case $wlarc in
15041
 
        '')
15042
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
15043
 
        *)
15044
 
          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' ;;
15045
 
        esac ;;
15046
 
      esac
15047
 
      link_all_deplibs_F77=yes
15048
 
      ;;
15049
 
 
15050
 
    sunos4*)
15051
 
      if test "x$host_vendor" = xsequent; then
15052
 
        # Use $CC to link under sequent, because it throws in some extra .o
15053
 
        # files that make .init and .fini sections work.
15054
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15055
 
      else
15056
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15057
 
      fi
15058
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15059
 
      hardcode_direct_F77=yes
15060
 
      hardcode_minus_L_F77=yes
15061
 
      hardcode_shlibpath_var_F77=no
15062
 
      ;;
15063
 
 
15064
 
    sysv4)
15065
 
      case $host_vendor in
15066
 
        sni)
15067
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15068
 
          hardcode_direct_F77=yes # is this really true???
15069
 
        ;;
15070
 
        siemens)
15071
 
          ## LD is ld it makes a PLAMLIB
15072
 
          ## CC just makes a GrossModule.
15073
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15074
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
15075
 
          hardcode_direct_F77=no
15076
 
        ;;
15077
 
        motorola)
15078
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15079
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
15080
 
        ;;
15081
 
      esac
15082
 
      runpath_var='LD_RUN_PATH'
15083
 
      hardcode_shlibpath_var_F77=no
15084
 
      ;;
15085
 
 
15086
 
    sysv4.3*)
15087
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15088
 
      hardcode_shlibpath_var_F77=no
15089
 
      export_dynamic_flag_spec_F77='-Bexport'
15090
 
      ;;
15091
 
 
15092
 
    sysv4*MP*)
15093
 
      if test -d /usr/nec; then
15094
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15095
 
        hardcode_shlibpath_var_F77=no
15096
 
        runpath_var=LD_RUN_PATH
15097
 
        hardcode_runpath_var=yes
15098
 
        ld_shlibs_F77=yes
15099
 
      fi
15100
 
      ;;
15101
 
 
15102
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
15103
 
      no_undefined_flag_F77='${wl}-z,text'
15104
 
      archive_cmds_need_lc_F77=no
15105
 
      hardcode_shlibpath_var_F77=no
15106
 
      runpath_var='LD_RUN_PATH'
15107
 
 
15108
 
      if test "$GCC" = yes; then
15109
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15110
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15111
 
      else
15112
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15113
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15114
 
      fi
15115
 
      ;;
15116
 
 
15117
 
    sysv5* | sco3.2v5* | sco5v6*)
15118
 
      # Note: We can NOT use -z defs as we might desire, because we do not
15119
 
      # link with -lc, and that would cause any symbols used from libc to
15120
 
      # always be unresolved, which means just about no library would
15121
 
      # ever link correctly.  If we're not using GNU ld we use -z text
15122
 
      # though, which does catch some bad symbols but isn't as heavy-handed
15123
 
      # as -z defs.
15124
 
      no_undefined_flag_F77='${wl}-z,text'
15125
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
15126
 
      archive_cmds_need_lc_F77=no
15127
 
      hardcode_shlibpath_var_F77=no
15128
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15129
 
      hardcode_libdir_separator_F77=':'
15130
 
      link_all_deplibs_F77=yes
15131
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
15132
 
      runpath_var='LD_RUN_PATH'
15133
 
 
15134
 
      if test "$GCC" = yes; then
15135
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15136
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15137
 
      else
15138
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15139
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15140
 
      fi
15141
 
      ;;
15142
 
 
15143
 
    uts4*)
15144
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15145
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15146
 
      hardcode_shlibpath_var_F77=no
15147
 
      ;;
15148
 
 
15149
 
    *)
15150
 
      ld_shlibs_F77=no
15151
 
      ;;
15152
 
    esac
15153
 
  fi
15154
 
 
15155
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15156
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15157
 
test "$ld_shlibs_F77" = no && can_build_shared=no
15158
 
 
15159
 
#
15160
 
# Do we need to explicitly link libc?
15161
 
#
15162
 
case "x$archive_cmds_need_lc_F77" in
15163
 
x|xyes)
15164
 
  # Assume -lc should be added
15165
 
  archive_cmds_need_lc_F77=yes
15166
 
 
15167
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
15168
 
    case $archive_cmds_F77 in
15169
 
    *'~'*)
15170
 
      # FIXME: we may have to deal with multi-command sequences.
15171
 
      ;;
15172
 
    '$CC '*)
15173
 
      # Test whether the compiler implicitly links with -lc since on some
15174
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15175
 
      # to ld, don't add -lc before -lgcc.
15176
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15177
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15178
 
      $rm conftest*
15179
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15180
 
 
15181
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15182
 
  (eval $ac_compile) 2>&5
15183
 
  ac_status=$?
15184
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15185
 
  (exit $ac_status); } 2>conftest.err; then
15186
 
        soname=conftest
15187
 
        lib=conftest
15188
 
        libobjs=conftest.$ac_objext
15189
 
        deplibs=
15190
 
        wl=$lt_prog_compiler_wl_F77
15191
 
        pic_flag=$lt_prog_compiler_pic_F77
15192
 
        compiler_flags=-v
15193
 
        linker_flags=-v
15194
 
        verstring=
15195
 
        output_objdir=.
15196
 
        libname=conftest
15197
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
15198
 
        allow_undefined_flag_F77=
15199
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15200
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15201
 
  ac_status=$?
15202
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15203
 
  (exit $ac_status); }
15204
 
        then
15205
 
          archive_cmds_need_lc_F77=no
15206
 
        else
15207
 
          archive_cmds_need_lc_F77=yes
15208
 
        fi
15209
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
15210
 
      else
15211
 
        cat conftest.err 1>&5
15212
 
      fi
15213
 
      $rm conftest*
15214
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15215
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15216
 
      ;;
15217
 
    esac
15218
 
  fi
15219
 
  ;;
15220
 
esac
15221
 
 
15222
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15223
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15224
 
library_names_spec=
15225
 
libname_spec='lib$name'
15226
 
soname_spec=
15227
 
shrext_cmds=".so"
15228
 
postinstall_cmds=
15229
 
postuninstall_cmds=
15230
 
finish_cmds=
15231
 
finish_eval=
15232
 
shlibpath_var=
15233
 
shlibpath_overrides_runpath=unknown
15234
 
version_type=none
15235
 
dynamic_linker="$host_os ld.so"
15236
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15237
 
if test "$GCC" = yes; then
15238
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15239
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
15240
 
    # if the path contains ";" then we assume it to be the separator
15241
 
    # otherwise default to the standard path separator (i.e. ":") - it is
15242
 
    # assumed that no part of a normal pathname contains ";" but that should
15243
 
    # okay in the real world where ";" in dirpaths is itself problematic.
15244
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15245
 
  else
15246
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15247
 
  fi
15248
 
else
15249
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15250
 
fi
15251
 
need_lib_prefix=unknown
15252
 
hardcode_into_libs=no
15253
 
 
15254
 
# when you set need_version to no, make sure it does not cause -set_version
15255
 
# flags to be left without arguments
15256
 
need_version=unknown
15257
 
 
15258
 
case $host_os in
15259
 
aix3*)
15260
 
  version_type=linux
15261
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15262
 
  shlibpath_var=LIBPATH
15263
 
 
15264
 
  # AIX 3 has no versioning support, so we append a major version to the name.
15265
 
  soname_spec='${libname}${release}${shared_ext}$major'
15266
 
  ;;
15267
 
 
15268
 
aix4* | aix5*)
15269
 
  version_type=linux
15270
 
  need_lib_prefix=no
15271
 
  need_version=no
15272
 
  hardcode_into_libs=yes
15273
 
  if test "$host_cpu" = ia64; then
15274
 
    # AIX 5 supports IA64
15275
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15276
 
    shlibpath_var=LD_LIBRARY_PATH
15277
 
  else
15278
 
    # With GCC up to 2.95.x, collect2 would create an import file
15279
 
    # for dependence libraries.  The import file would start with
15280
 
    # the line `#! .'.  This would cause the generated library to
15281
 
    # depend on `.', always an invalid library.  This was fixed in
15282
 
    # development snapshots of GCC prior to 3.0.
15283
 
    case $host_os in
15284
 
      aix4 | aix4.[01] | aix4.[01].*)
15285
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15286
 
           echo ' yes '
15287
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15288
 
        :
15289
 
      else
15290
 
        can_build_shared=no
15291
 
      fi
15292
 
      ;;
15293
 
    esac
15294
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15295
 
    # soname into executable. Probably we can add versioning support to
15296
 
    # collect2, so additional links can be useful in future.
15297
 
    if test "$aix_use_runtimelinking" = yes; then
15298
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15299
 
      # instead of lib<name>.a to let people know that these are not
15300
 
      # typical AIX shared libraries.
15301
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15302
 
    else
15303
 
      # We preserve .a as extension for shared libraries through AIX4.2
15304
 
      # and later when we are not doing run time linking.
15305
 
      library_names_spec='${libname}${release}.a $libname.a'
15306
 
      soname_spec='${libname}${release}${shared_ext}$major'
15307
 
    fi
15308
 
    shlibpath_var=LIBPATH
15309
 
  fi
15310
 
  ;;
15311
 
 
15312
 
amigaos*)
15313
 
  library_names_spec='$libname.ixlibrary $libname.a'
15314
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
15315
 
  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'
15316
 
  ;;
15317
 
 
15318
 
beos*)
15319
 
  library_names_spec='${libname}${shared_ext}'
15320
 
  dynamic_linker="$host_os ld.so"
15321
 
  shlibpath_var=LIBRARY_PATH
15322
 
  ;;
15323
 
 
15324
 
bsdi[45]*)
15325
 
  version_type=linux
15326
 
  need_version=no
15327
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15328
 
  soname_spec='${libname}${release}${shared_ext}$major'
15329
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15330
 
  shlibpath_var=LD_LIBRARY_PATH
15331
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15332
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15333
 
  # the default ld.so.conf also contains /usr/contrib/lib and
15334
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15335
 
  # libtool to hard-code these into programs
15336
 
  ;;
15337
 
 
15338
 
cygwin* | mingw* | pw32*)
15339
 
  version_type=windows
15340
 
  shrext_cmds=".dll"
15341
 
  need_version=no
15342
 
  need_lib_prefix=no
15343
 
 
15344
 
  case $GCC,$host_os in
15345
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
15346
 
    library_names_spec='$libname.dll.a'
15347
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15348
 
    postinstall_cmds='base_file=`basename \${file}`~
15349
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15350
 
      dldir=$destdir/`dirname \$dlpath`~
15351
 
      test -d \$dldir || mkdir -p \$dldir~
15352
 
      $install_prog $dir/$dlname \$dldir/$dlname~
15353
 
      chmod a+x \$dldir/$dlname'
15354
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15355
 
      dlpath=$dir/\$dldll~
15356
 
       $rm \$dlpath'
15357
 
    shlibpath_overrides_runpath=yes
15358
 
 
15359
 
    case $host_os in
15360
 
    cygwin*)
15361
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15362
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15363
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15364
 
      ;;
15365
 
    mingw*)
15366
 
      # MinGW DLLs use traditional 'lib' prefix
15367
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15368
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15369
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15370
 
        # It is most probably a Windows format PATH printed by
15371
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
15372
 
        # path with ; separators, and with drive letters. We can handle the
15373
 
        # drive letters (cygwin fileutils understands them), so leave them,
15374
 
        # especially as we might pass files found there to a mingw objdump,
15375
 
        # which wouldn't understand a cygwinified path. Ahh.
15376
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15377
 
      else
15378
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15379
 
      fi
15380
 
      ;;
15381
 
    pw32*)
15382
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
15383
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15384
 
      ;;
15385
 
    esac
15386
 
    ;;
15387
 
 
15388
 
  *)
15389
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15390
 
    ;;
15391
 
  esac
15392
 
  dynamic_linker='Win32 ld.exe'
15393
 
  # FIXME: first we should search . and the directory the executable is in
15394
 
  shlibpath_var=PATH
15395
 
  ;;
15396
 
 
15397
 
darwin* | rhapsody*)
15398
 
  dynamic_linker="$host_os dyld"
15399
 
  version_type=darwin
15400
 
  need_lib_prefix=no
15401
 
  need_version=no
15402
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15403
 
  soname_spec='${libname}${release}${major}$shared_ext'
15404
 
  shlibpath_overrides_runpath=yes
15405
 
  shlibpath_var=DYLD_LIBRARY_PATH
15406
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15407
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15408
 
  if test "$GCC" = yes; then
15409
 
    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"`
15410
 
  else
15411
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15412
 
  fi
15413
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15414
 
  ;;
15415
 
 
15416
 
dgux*)
15417
 
  version_type=linux
15418
 
  need_lib_prefix=no
15419
 
  need_version=no
15420
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15421
 
  soname_spec='${libname}${release}${shared_ext}$major'
15422
 
  shlibpath_var=LD_LIBRARY_PATH
15423
 
  ;;
15424
 
 
15425
 
freebsd1*)
15426
 
  dynamic_linker=no
15427
 
  ;;
15428
 
 
15429
 
kfreebsd*-gnu)
15430
 
  version_type=linux
15431
 
  need_lib_prefix=no
15432
 
  need_version=no
15433
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15434
 
  soname_spec='${libname}${release}${shared_ext}$major'
15435
 
  shlibpath_var=LD_LIBRARY_PATH
15436
 
  shlibpath_overrides_runpath=no
15437
 
  hardcode_into_libs=yes
15438
 
  dynamic_linker='GNU ld.so'
15439
 
  ;;
15440
 
 
15441
 
freebsd* | dragonfly*)
15442
 
  # DragonFly does not have aout.  When/if they implement a new
15443
 
  # versioning mechanism, adjust this.
15444
 
  if test -x /usr/bin/objformat; then
15445
 
    objformat=`/usr/bin/objformat`
15446
 
  else
15447
 
    case $host_os in
15448
 
    freebsd[123]*) objformat=aout ;;
15449
 
    *) objformat=elf ;;
15450
 
    esac
15451
 
  fi
15452
 
  version_type=freebsd-$objformat
15453
 
  case $version_type in
15454
 
    freebsd-elf*)
15455
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15456
 
      need_version=no
15457
 
      need_lib_prefix=no
15458
 
      ;;
15459
 
    freebsd-*)
15460
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15461
 
      need_version=yes
15462
 
      ;;
15463
 
  esac
15464
 
  shlibpath_var=LD_LIBRARY_PATH
15465
 
  case $host_os in
15466
 
  freebsd2*)
15467
 
    shlibpath_overrides_runpath=yes
15468
 
    ;;
15469
 
  freebsd3.[01]* | freebsdelf3.[01]*)
15470
 
    shlibpath_overrides_runpath=yes
15471
 
    hardcode_into_libs=yes
15472
 
    ;;
15473
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15474
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15475
 
    shlibpath_overrides_runpath=no
15476
 
    hardcode_into_libs=yes
15477
 
    ;;
15478
 
  freebsd*) # from 4.6 on
15479
 
    shlibpath_overrides_runpath=yes
15480
 
    hardcode_into_libs=yes
15481
 
    ;;
15482
 
  esac
15483
 
  ;;
15484
 
 
15485
 
gnu*)
15486
 
  version_type=linux
15487
 
  need_lib_prefix=no
15488
 
  need_version=no
15489
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15490
 
  soname_spec='${libname}${release}${shared_ext}$major'
15491
 
  shlibpath_var=LD_LIBRARY_PATH
15492
 
  hardcode_into_libs=yes
15493
 
  ;;
15494
 
 
15495
 
hpux9* | hpux10* | hpux11*)
15496
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
15497
 
  # link against other versions.
15498
 
  version_type=sunos
15499
 
  need_lib_prefix=no
15500
 
  need_version=no
15501
 
  case $host_cpu in
15502
 
  ia64*)
15503
 
    shrext_cmds='.so'
15504
 
    hardcode_into_libs=yes
15505
 
    dynamic_linker="$host_os dld.so"
15506
 
    shlibpath_var=LD_LIBRARY_PATH
15507
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15508
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15509
 
    soname_spec='${libname}${release}${shared_ext}$major'
15510
 
    if test "X$HPUX_IA64_MODE" = X32; then
15511
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15512
 
    else
15513
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15514
 
    fi
15515
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15516
 
    ;;
15517
 
   hppa*64*)
15518
 
     shrext_cmds='.sl'
15519
 
     hardcode_into_libs=yes
15520
 
     dynamic_linker="$host_os dld.sl"
15521
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15522
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15523
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15524
 
     soname_spec='${libname}${release}${shared_ext}$major'
15525
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15526
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15527
 
     ;;
15528
 
   *)
15529
 
    shrext_cmds='.sl'
15530
 
    dynamic_linker="$host_os dld.sl"
15531
 
    shlibpath_var=SHLIB_PATH
15532
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15533
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15534
 
    soname_spec='${libname}${release}${shared_ext}$major'
15535
 
    ;;
15536
 
  esac
15537
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
15538
 
  postinstall_cmds='chmod 555 $lib'
15539
 
  ;;
15540
 
 
15541
 
interix3*)
15542
 
  version_type=linux
15543
 
  need_lib_prefix=no
15544
 
  need_version=no
15545
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15546
 
  soname_spec='${libname}${release}${shared_ext}$major'
15547
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15548
 
  shlibpath_var=LD_LIBRARY_PATH
15549
 
  shlibpath_overrides_runpath=no
15550
 
  hardcode_into_libs=yes
15551
 
  ;;
15552
 
 
15553
 
irix5* | irix6* | nonstopux*)
15554
 
  case $host_os in
15555
 
    nonstopux*) version_type=nonstopux ;;
15556
 
    *)
15557
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
15558
 
                version_type=linux
15559
 
        else
15560
 
                version_type=irix
15561
 
        fi ;;
15562
 
  esac
15563
 
  need_lib_prefix=no
15564
 
  need_version=no
15565
 
  soname_spec='${libname}${release}${shared_ext}$major'
15566
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15567
 
  case $host_os in
15568
 
  irix5* | nonstopux*)
15569
 
    libsuff= shlibsuff=
15570
 
    ;;
15571
 
  *)
15572
 
    case $LD in # libtool.m4 will add one of these switches to LD
15573
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15574
 
      libsuff= shlibsuff= libmagic=32-bit;;
15575
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15576
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
15577
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15578
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15579
 
    *) libsuff= shlibsuff= libmagic=never-match;;
15580
 
    esac
15581
 
    ;;
15582
 
  esac
15583
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15584
 
  shlibpath_overrides_runpath=no
15585
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15586
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15587
 
  hardcode_into_libs=yes
15588
 
  ;;
15589
 
 
15590
 
# No shared lib support for Linux oldld, aout, or coff.
15591
 
linux*oldld* | linux*aout* | linux*coff*)
15592
 
  dynamic_linker=no
15593
 
  ;;
15594
 
 
15595
 
# This must be Linux ELF.
15596
 
linux*)
15597
 
  version_type=linux
15598
 
  need_lib_prefix=no
15599
 
  need_version=no
15600
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15601
 
  soname_spec='${libname}${release}${shared_ext}$major'
15602
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15603
 
  shlibpath_var=LD_LIBRARY_PATH
15604
 
  shlibpath_overrides_runpath=no
15605
 
  # This implies no fast_install, which is unacceptable.
15606
 
  # Some rework will be needed to allow for fast_install
15607
 
  # before this can be enabled.
15608
 
  hardcode_into_libs=yes
15609
 
 
15610
 
  # find out which ABI we are using
15611
 
  libsuff=
15612
 
  case "$host_cpu" in
15613
 
  x86_64*|s390x*|powerpc64*)
15614
 
    echo '#line 15614 "configure"' > conftest.$ac_ext
15615
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15616
 
  (eval $ac_compile) 2>&5
15617
 
  ac_status=$?
15618
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15619
 
  (exit $ac_status); }; then
15620
 
      case `/usr/bin/file conftest.$ac_objext` in
15621
 
      *64-bit*)
15622
 
        libsuff=64
15623
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15624
 
        ;;
15625
 
      esac
15626
 
    fi
15627
 
    rm -rf conftest*
15628
 
    ;;
15629
 
  esac
15630
 
 
15631
 
  # Append ld.so.conf contents to the search path
15632
 
  if test -f /etc/ld.so.conf; then
15633
 
    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' ' '`
15634
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
15635
 
  fi
15636
 
 
15637
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
15638
 
  # powerpc, because MkLinux only supported shared libraries with the
15639
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
15640
 
  # most powerpc-linux boxes support dynamic linking these days and
15641
 
  # people can always --disable-shared, the test was removed, and we
15642
 
  # assume the GNU/Linux dynamic linker is in use.
15643
 
  dynamic_linker='GNU/Linux ld.so'
15644
 
  ;;
15645
 
 
15646
 
knetbsd*-gnu)
15647
 
  version_type=linux
15648
 
  need_lib_prefix=no
15649
 
  need_version=no
15650
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15651
 
  soname_spec='${libname}${release}${shared_ext}$major'
15652
 
  shlibpath_var=LD_LIBRARY_PATH
15653
 
  shlibpath_overrides_runpath=no
15654
 
  hardcode_into_libs=yes
15655
 
  dynamic_linker='GNU ld.so'
15656
 
  ;;
15657
 
 
15658
 
netbsd*)
15659
 
  version_type=sunos
15660
 
  need_lib_prefix=no
15661
 
  need_version=no
15662
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15663
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15664
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15665
 
    dynamic_linker='NetBSD (a.out) ld.so'
15666
 
  else
15667
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15668
 
    soname_spec='${libname}${release}${shared_ext}$major'
15669
 
    dynamic_linker='NetBSD ld.elf_so'
15670
 
  fi
15671
 
  shlibpath_var=LD_LIBRARY_PATH
15672
 
  shlibpath_overrides_runpath=yes
15673
 
  hardcode_into_libs=yes
15674
 
  ;;
15675
 
 
15676
 
newsos6)
15677
 
  version_type=linux
15678
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15679
 
  shlibpath_var=LD_LIBRARY_PATH
15680
 
  shlibpath_overrides_runpath=yes
15681
 
  ;;
15682
 
 
15683
 
nto-qnx*)
15684
 
  version_type=linux
15685
 
  need_lib_prefix=no
15686
 
  need_version=no
15687
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15688
 
  soname_spec='${libname}${release}${shared_ext}$major'
15689
 
  shlibpath_var=LD_LIBRARY_PATH
15690
 
  shlibpath_overrides_runpath=yes
15691
 
  ;;
15692
 
 
15693
 
openbsd*)
15694
 
  version_type=sunos
15695
 
  sys_lib_dlsearch_path_spec="/usr/lib"
15696
 
  need_lib_prefix=no
15697
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15698
 
  case $host_os in
15699
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15700
 
    *)                         need_version=no  ;;
15701
 
  esac
15702
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15703
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15704
 
  shlibpath_var=LD_LIBRARY_PATH
15705
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15706
 
    case $host_os in
15707
 
      openbsd2.[89] | openbsd2.[89].*)
15708
 
        shlibpath_overrides_runpath=no
15709
 
        ;;
15710
 
      *)
15711
 
        shlibpath_overrides_runpath=yes
15712
 
        ;;
15713
 
      esac
15714
 
  else
15715
 
    shlibpath_overrides_runpath=yes
15716
 
  fi
15717
 
  ;;
15718
 
 
15719
 
os2*)
15720
 
  libname_spec='$name'
15721
 
  shrext_cmds=".dll"
15722
 
  need_lib_prefix=no
15723
 
  library_names_spec='$libname${shared_ext} $libname.a'
15724
 
  dynamic_linker='OS/2 ld.exe'
15725
 
  shlibpath_var=LIBPATH
15726
 
  ;;
15727
 
 
15728
 
osf3* | osf4* | osf5*)
15729
 
  version_type=osf
15730
 
  need_lib_prefix=no
15731
 
  need_version=no
15732
 
  soname_spec='${libname}${release}${shared_ext}$major'
15733
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15734
 
  shlibpath_var=LD_LIBRARY_PATH
15735
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15736
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15737
 
  ;;
15738
 
 
15739
 
solaris*)
15740
 
  version_type=linux
15741
 
  need_lib_prefix=no
15742
 
  need_version=no
15743
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15744
 
  soname_spec='${libname}${release}${shared_ext}$major'
15745
 
  shlibpath_var=LD_LIBRARY_PATH
15746
 
  shlibpath_overrides_runpath=yes
15747
 
  hardcode_into_libs=yes
15748
 
  # ldd complains unless libraries are executable
15749
 
  postinstall_cmds='chmod +x $lib'
15750
 
  ;;
15751
 
 
15752
 
sunos4*)
15753
 
  version_type=sunos
15754
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15755
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15756
 
  shlibpath_var=LD_LIBRARY_PATH
15757
 
  shlibpath_overrides_runpath=yes
15758
 
  if test "$with_gnu_ld" = yes; then
15759
 
    need_lib_prefix=no
15760
 
  fi
15761
 
  need_version=yes
15762
 
  ;;
15763
 
 
15764
 
sysv4 | sysv4.3*)
15765
 
  version_type=linux
15766
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15767
 
  soname_spec='${libname}${release}${shared_ext}$major'
15768
 
  shlibpath_var=LD_LIBRARY_PATH
15769
 
  case $host_vendor in
15770
 
    sni)
15771
 
      shlibpath_overrides_runpath=no
15772
 
      need_lib_prefix=no
15773
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
15774
 
      runpath_var=LD_RUN_PATH
15775
 
      ;;
15776
 
    siemens)
15777
 
      need_lib_prefix=no
15778
 
      ;;
15779
 
    motorola)
15780
 
      need_lib_prefix=no
15781
 
      need_version=no
15782
 
      shlibpath_overrides_runpath=no
15783
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15784
 
      ;;
15785
 
  esac
15786
 
  ;;
15787
 
 
15788
 
sysv4*MP*)
15789
 
  if test -d /usr/nec ;then
15790
 
    version_type=linux
15791
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15792
 
    soname_spec='$libname${shared_ext}.$major'
15793
 
    shlibpath_var=LD_LIBRARY_PATH
15794
 
  fi
15795
 
  ;;
15796
 
 
15797
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15798
 
  version_type=freebsd-elf
15799
 
  need_lib_prefix=no
15800
 
  need_version=no
15801
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15802
 
  soname_spec='${libname}${release}${shared_ext}$major'
15803
 
  shlibpath_var=LD_LIBRARY_PATH
15804
 
  hardcode_into_libs=yes
15805
 
  if test "$with_gnu_ld" = yes; then
15806
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15807
 
    shlibpath_overrides_runpath=no
15808
 
  else
15809
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15810
 
    shlibpath_overrides_runpath=yes
15811
 
    case $host_os in
15812
 
      sco3.2v5*)
15813
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15814
 
        ;;
15815
 
    esac
15816
 
  fi
15817
 
  sys_lib_dlsearch_path_spec='/usr/lib'
15818
 
  ;;
15819
 
 
15820
 
uts4*)
15821
 
  version_type=linux
15822
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15823
 
  soname_spec='${libname}${release}${shared_ext}$major'
15824
 
  shlibpath_var=LD_LIBRARY_PATH
15825
 
  ;;
15826
 
 
15827
 
*)
15828
 
  dynamic_linker=no
15829
 
  ;;
15830
 
esac
15831
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15832
 
echo "${ECHO_T}$dynamic_linker" >&6; }
15833
 
test "$dynamic_linker" = no && can_build_shared=no
15834
 
 
15835
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15836
 
if test "$GCC" = yes; then
15837
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15838
 
fi
15839
 
 
15840
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15841
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15842
 
hardcode_action_F77=
15843
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
15844
 
   test -n "$runpath_var_F77" || \
15845
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
15846
 
 
15847
 
  # We can hardcode non-existant directories.
15848
 
  if test "$hardcode_direct_F77" != no &&
15849
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15850
 
     # have to relink, otherwise we might link with an installed library
15851
 
     # when we should be linking with a yet-to-be-installed one
15852
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15853
 
     test "$hardcode_minus_L_F77" != no; then
15854
 
    # Linking always hardcodes the temporary library directory.
15855
 
    hardcode_action_F77=relink
15856
 
  else
15857
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15858
 
    hardcode_action_F77=immediate
15859
 
  fi
15860
 
else
15861
 
  # We cannot hardcode anything, or else we can only hardcode existing
15862
 
  # directories.
15863
 
  hardcode_action_F77=unsupported
15864
 
fi
15865
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15866
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
15867
 
 
15868
 
if test "$hardcode_action_F77" = relink; then
15869
 
  # Fast installation is not supported
15870
 
  enable_fast_install=no
15871
 
elif test "$shlibpath_overrides_runpath" = yes ||
15872
 
     test "$enable_shared" = no; then
15873
 
  # Fast installation is not necessary
15874
 
  enable_fast_install=needless
15875
 
fi
15876
 
 
15877
 
 
15878
 
# The else clause should only fire when bootstrapping the
15879
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
15880
 
# with your package, and you will get complaints that there are
15881
 
# no rules to generate ltmain.sh.
15882
 
if test -f "$ltmain"; then
15883
 
  # See if we are running on zsh, and set the options which allow our commands through
15884
 
  # without removal of \ escapes.
15885
 
  if test -n "${ZSH_VERSION+set}" ; then
15886
 
    setopt NO_GLOB_SUBST
15887
 
  fi
15888
 
  # Now quote all the things that may contain metacharacters while being
15889
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
15890
 
  # variables and quote the copies for generation of the libtool script.
15891
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15892
 
    SED SHELL STRIP \
15893
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15894
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15895
 
    deplibs_check_method reload_flag reload_cmds need_locks \
15896
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15897
 
    lt_cv_sys_global_symbol_to_c_name_address \
15898
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15899
 
    old_postinstall_cmds old_postuninstall_cmds \
15900
 
    compiler_F77 \
15901
 
    CC_F77 \
15902
 
    LD_F77 \
15903
 
    lt_prog_compiler_wl_F77 \
15904
 
    lt_prog_compiler_pic_F77 \
15905
 
    lt_prog_compiler_static_F77 \
15906
 
    lt_prog_compiler_no_builtin_flag_F77 \
15907
 
    export_dynamic_flag_spec_F77 \
15908
 
    thread_safe_flag_spec_F77 \
15909
 
    whole_archive_flag_spec_F77 \
15910
 
    enable_shared_with_static_runtimes_F77 \
15911
 
    old_archive_cmds_F77 \
15912
 
    old_archive_from_new_cmds_F77 \
15913
 
    predep_objects_F77 \
15914
 
    postdep_objects_F77 \
15915
 
    predeps_F77 \
15916
 
    postdeps_F77 \
15917
 
    compiler_lib_search_path_F77 \
15918
 
    archive_cmds_F77 \
15919
 
    archive_expsym_cmds_F77 \
15920
 
    postinstall_cmds_F77 \
15921
 
    postuninstall_cmds_F77 \
15922
 
    old_archive_from_expsyms_cmds_F77 \
15923
 
    allow_undefined_flag_F77 \
15924
 
    no_undefined_flag_F77 \
15925
 
    export_symbols_cmds_F77 \
15926
 
    hardcode_libdir_flag_spec_F77 \
15927
 
    hardcode_libdir_flag_spec_ld_F77 \
15928
 
    hardcode_libdir_separator_F77 \
15929
 
    hardcode_automatic_F77 \
15930
 
    module_cmds_F77 \
15931
 
    module_expsym_cmds_F77 \
15932
 
    lt_cv_prog_compiler_c_o_F77 \
15933
 
    exclude_expsyms_F77 \
15934
 
    include_expsyms_F77; do
15935
 
 
15936
 
    case $var in
15937
 
    old_archive_cmds_F77 | \
15938
 
    old_archive_from_new_cmds_F77 | \
15939
 
    archive_cmds_F77 | \
15940
 
    archive_expsym_cmds_F77 | \
15941
 
    module_cmds_F77 | \
15942
 
    module_expsym_cmds_F77 | \
15943
 
    old_archive_from_expsyms_cmds_F77 | \
15944
 
    export_symbols_cmds_F77 | \
15945
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
15946
 
    postinstall_cmds | postuninstall_cmds | \
15947
 
    old_postinstall_cmds | old_postuninstall_cmds | \
15948
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
15949
 
      # Double-quote double-evaled strings.
15950
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15951
 
      ;;
15952
 
    *)
15953
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15954
 
      ;;
15955
 
    esac
15956
 
  done
15957
 
 
15958
 
  case $lt_echo in
15959
 
  *'\$0 --fallback-echo"')
15960
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15961
 
    ;;
15962
 
  esac
15963
 
 
15964
 
cfgfile="$ofile"
15965
 
 
15966
 
  cat <<__EOF__ >> "$cfgfile"
15967
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
15968
 
 
15969
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15970
 
 
15971
 
# Shell to use when invoking shell scripts.
15972
 
SHELL=$lt_SHELL
15973
 
 
15974
 
# Whether or not to build shared libraries.
15975
 
build_libtool_libs=$enable_shared
15976
 
 
15977
 
# Whether or not to build static libraries.
15978
 
build_old_libs=$enable_static
15979
 
 
15980
 
# Whether or not to add -lc for building shared libraries.
15981
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
15982
 
 
15983
 
# Whether or not to disallow shared libs when runtime libs are static
15984
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15985
 
 
15986
 
# Whether or not to optimize for fast installation.
15987
 
fast_install=$enable_fast_install
15988
 
 
15989
 
# The host system.
15990
 
host_alias=$host_alias
15991
 
host=$host
15992
 
host_os=$host_os
15993
 
 
15994
 
# The build system.
15995
 
build_alias=$build_alias
15996
 
build=$build
15997
 
build_os=$build_os
15998
 
 
15999
 
# An echo program that does not interpret backslashes.
16000
 
echo=$lt_echo
16001
 
 
16002
 
# The archiver.
16003
 
AR=$lt_AR
16004
 
AR_FLAGS=$lt_AR_FLAGS
16005
 
 
16006
 
# A C compiler.
16007
 
LTCC=$lt_LTCC
16008
 
 
16009
 
# LTCC compiler flags.
16010
 
LTCFLAGS=$lt_LTCFLAGS
16011
 
 
16012
 
# A language-specific compiler.
16013
 
CC=$lt_compiler_F77
16014
 
 
16015
 
# Is the compiler the GNU C compiler?
16016
 
with_gcc=$GCC_F77
16017
 
 
16018
 
# An ERE matcher.
16019
 
EGREP=$lt_EGREP
16020
 
 
16021
 
# The linker used to build libraries.
16022
 
LD=$lt_LD_F77
16023
 
 
16024
 
# Whether we need hard or soft links.
16025
 
LN_S=$lt_LN_S
16026
 
 
16027
 
# A BSD-compatible nm program.
16028
 
NM=$lt_NM
16029
 
 
16030
 
# A symbol stripping program
16031
 
STRIP=$lt_STRIP
16032
 
 
16033
 
# Used to examine libraries when file_magic_cmd begins "file"
16034
 
MAGIC_CMD=$MAGIC_CMD
16035
 
 
16036
 
# Used on cygwin: DLL creation program.
16037
 
DLLTOOL="$DLLTOOL"
16038
 
 
16039
 
# Used on cygwin: object dumper.
16040
 
OBJDUMP="$OBJDUMP"
16041
 
 
16042
 
# Used on cygwin: assembler.
16043
 
AS="$AS"
16044
 
 
16045
 
# The name of the directory that contains temporary libtool files.
16046
 
objdir=$objdir
16047
 
 
16048
 
# How to create reloadable object files.
16049
 
reload_flag=$lt_reload_flag
16050
 
reload_cmds=$lt_reload_cmds
16051
 
 
16052
 
# How to pass a linker flag through the compiler.
16053
 
wl=$lt_lt_prog_compiler_wl_F77
16054
 
 
16055
 
# Object file suffix (normally "o").
16056
 
objext="$ac_objext"
16057
 
 
16058
 
# Old archive suffix (normally "a").
16059
 
libext="$libext"
16060
 
 
16061
 
# Shared library suffix (normally ".so").
16062
 
shrext_cmds='$shrext_cmds'
16063
 
 
16064
 
# Executable file suffix (normally "").
16065
 
exeext="$exeext"
16066
 
 
16067
 
# Additional compiler flags for building library objects.
16068
 
pic_flag=$lt_lt_prog_compiler_pic_F77
16069
 
pic_mode=$pic_mode
16070
 
 
16071
 
# What is the maximum length of a command?
16072
 
max_cmd_len=$lt_cv_sys_max_cmd_len
16073
 
 
16074
 
# Does compiler simultaneously support -c and -o options?
16075
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16076
 
 
16077
 
# Must we lock files when doing compilation?
16078
 
need_locks=$lt_need_locks
16079
 
 
16080
 
# Do we need the lib prefix for modules?
16081
 
need_lib_prefix=$need_lib_prefix
16082
 
 
16083
 
# Do we need a version for libraries?
16084
 
need_version=$need_version
16085
 
 
16086
 
# Whether dlopen is supported.
16087
 
dlopen_support=$enable_dlopen
16088
 
 
16089
 
# Whether dlopen of programs is supported.
16090
 
dlopen_self=$enable_dlopen_self
16091
 
 
16092
 
# Whether dlopen of statically linked programs is supported.
16093
 
dlopen_self_static=$enable_dlopen_self_static
16094
 
 
16095
 
# Compiler flag to prevent dynamic linking.
16096
 
link_static_flag=$lt_lt_prog_compiler_static_F77
16097
 
 
16098
 
# Compiler flag to turn off builtin functions.
16099
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16100
 
 
16101
 
# Compiler flag to allow reflexive dlopens.
16102
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16103
 
 
16104
 
# Compiler flag to generate shared objects directly from archives.
16105
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16106
 
 
16107
 
# Compiler flag to generate thread-safe objects.
16108
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16109
 
 
16110
 
# Library versioning type.
16111
 
version_type=$version_type
16112
 
 
16113
 
# Format of library name prefix.
16114
 
libname_spec=$lt_libname_spec
16115
 
 
16116
 
# List of archive names.  First name is the real one, the rest are links.
16117
 
# The last name is the one that the linker finds with -lNAME.
16118
 
library_names_spec=$lt_library_names_spec
16119
 
 
16120
 
# The coded name of the library, if different from the real name.
16121
 
soname_spec=$lt_soname_spec
16122
 
 
16123
 
# Commands used to build and install an old-style archive.
16124
 
RANLIB=$lt_RANLIB
16125
 
old_archive_cmds=$lt_old_archive_cmds_F77
16126
 
old_postinstall_cmds=$lt_old_postinstall_cmds
16127
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16128
 
 
16129
 
# Create an old-style archive from a shared archive.
16130
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16131
 
 
16132
 
# Create a temporary old-style archive to link instead of a shared archive.
16133
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16134
 
 
16135
 
# Commands used to build and install a shared archive.
16136
 
archive_cmds=$lt_archive_cmds_F77
16137
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16138
 
postinstall_cmds=$lt_postinstall_cmds
16139
 
postuninstall_cmds=$lt_postuninstall_cmds
16140
 
 
16141
 
# Commands used to build a loadable module (assumed same as above if empty)
16142
 
module_cmds=$lt_module_cmds_F77
16143
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
16144
 
 
16145
 
# Commands to strip libraries.
16146
 
old_striplib=$lt_old_striplib
16147
 
striplib=$lt_striplib
16148
 
 
16149
 
# Dependencies to place before the objects being linked to create a
16150
 
# shared library.
16151
 
predep_objects=$lt_predep_objects_F77
16152
 
 
16153
 
# Dependencies to place after the objects being linked to create a
16154
 
# shared library.
16155
 
postdep_objects=$lt_postdep_objects_F77
16156
 
 
16157
 
# Dependencies to place before the objects being linked to create a
16158
 
# shared library.
16159
 
predeps=$lt_predeps_F77
16160
 
 
16161
 
# Dependencies to place after the objects being linked to create a
16162
 
# shared library.
16163
 
postdeps=$lt_postdeps_F77
16164
 
 
16165
 
# The library search path used internally by the compiler when linking
16166
 
# a shared library.
16167
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16168
 
 
16169
 
# Method to check whether dependent libraries are shared objects.
16170
 
deplibs_check_method=$lt_deplibs_check_method
16171
 
 
16172
 
# Command to use when deplibs_check_method == file_magic.
16173
 
file_magic_cmd=$lt_file_magic_cmd
16174
 
 
16175
 
# Flag that allows shared libraries with undefined symbols to be built.
16176
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
16177
 
 
16178
 
# Flag that forces no undefined symbols.
16179
 
no_undefined_flag=$lt_no_undefined_flag_F77
16180
 
 
16181
 
# Commands used to finish a libtool library installation in a directory.
16182
 
finish_cmds=$lt_finish_cmds
16183
 
 
16184
 
# Same as above, but a single script fragment to be evaled but not shown.
16185
 
finish_eval=$lt_finish_eval
16186
 
 
16187
 
# Take the output of nm and produce a listing of raw symbols and C names.
16188
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16189
 
 
16190
 
# Transform the output of nm in a proper C declaration
16191
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16192
 
 
16193
 
# Transform the output of nm in a C name address pair
16194
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16195
 
 
16196
 
# This is the shared library runtime path variable.
16197
 
runpath_var=$runpath_var
16198
 
 
16199
 
# This is the shared library path variable.
16200
 
shlibpath_var=$shlibpath_var
16201
 
 
16202
 
# Is shlibpath searched before the hard-coded library search path?
16203
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16204
 
 
16205
 
# How to hardcode a shared library path into an executable.
16206
 
hardcode_action=$hardcode_action_F77
16207
 
 
16208
 
# Whether we should hardcode library paths into libraries.
16209
 
hardcode_into_libs=$hardcode_into_libs
16210
 
 
16211
 
# Flag to hardcode \$libdir into a binary during linking.
16212
 
# This must work even if \$libdir does not exist.
16213
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16214
 
 
16215
 
# If ld is used when linking, flag to hardcode \$libdir into
16216
 
# a binary during linking. This must work even if \$libdir does
16217
 
# not exist.
16218
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16219
 
 
16220
 
# Whether we need a single -rpath flag with a separated argument.
16221
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16222
 
 
16223
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16224
 
# resulting binary.
16225
 
hardcode_direct=$hardcode_direct_F77
16226
 
 
16227
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16228
 
# resulting binary.
16229
 
hardcode_minus_L=$hardcode_minus_L_F77
16230
 
 
16231
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16232
 
# the resulting binary.
16233
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16234
 
 
16235
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
16236
 
# and all subsequent libraries and executables linked against it.
16237
 
hardcode_automatic=$hardcode_automatic_F77
16238
 
 
16239
 
# Variables whose values should be saved in libtool wrapper scripts and
16240
 
# restored at relink time.
16241
 
variables_saved_for_relink="$variables_saved_for_relink"
16242
 
 
16243
 
# Whether libtool must link a program against all its dependency libraries.
16244
 
link_all_deplibs=$link_all_deplibs_F77
16245
 
 
16246
 
# Compile-time system search path for libraries
16247
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16248
 
 
16249
 
# Run-time system search path for libraries
16250
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16251
 
 
16252
 
# Fix the shell variable \$srcfile for the compiler.
16253
 
fix_srcfile_path="$fix_srcfile_path_F77"
16254
 
 
16255
 
# Set to yes if exported symbols are required.
16256
 
always_export_symbols=$always_export_symbols_F77
16257
 
 
16258
 
# The commands to list exported symbols.
16259
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
16260
 
 
16261
 
# The commands to extract the exported symbol list from a shared archive.
16262
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16263
 
 
16264
 
# Symbols that should not be listed in the preloaded symbols.
16265
 
exclude_expsyms=$lt_exclude_expsyms_F77
16266
 
 
16267
 
# Symbols that must always be exported.
16268
 
include_expsyms=$lt_include_expsyms_F77
16269
 
 
16270
 
# ### END LIBTOOL TAG CONFIG: $tagname
16271
 
 
16272
 
__EOF__
16273
 
 
16274
 
 
16275
 
else
16276
 
  # If there is no Makefile yet, we rely on a make rule to execute
16277
 
  # `config.status --recheck' to rerun these tests and create the
16278
 
  # libtool script then.
16279
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16280
 
  if test -f "$ltmain_in"; then
16281
 
    test -f Makefile && make "$ltmain"
16282
 
  fi
16283
 
fi
16284
 
 
16285
 
 
16286
 
ac_ext=c
16287
 
ac_cpp='$CPP $CPPFLAGS'
16288
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16289
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16290
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16291
 
 
16292
 
CC="$lt_save_CC"
16293
 
 
16294
 
        else
16295
 
          tagname=""
16296
 
        fi
16297
 
        ;;
16298
 
 
16299
 
      GCJ)
16300
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16301
 
 
16302
 
 
16303
 
# Source file extension for Java test sources.
16304
 
ac_ext=java
16305
 
 
16306
 
# Object file extension for compiled Java test sources.
16307
 
objext=o
16308
 
objext_GCJ=$objext
16309
 
 
16310
 
# Code to be used in simple compile tests
16311
 
lt_simple_compile_test_code="class foo {}\n"
16312
 
 
16313
 
# Code to be used in simple link tests
16314
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
16315
 
 
16316
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16317
 
 
16318
 
# If no C compiler was specified, use CC.
16319
 
LTCC=${LTCC-"$CC"}
16320
 
 
16321
 
# If no C compiler flags were specified, use CFLAGS.
16322
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16323
 
 
16324
 
# Allow CC to be a program name with arguments.
16325
 
compiler=$CC
16326
 
 
16327
 
 
16328
 
# save warnings/boilerplate of simple test code
16329
 
ac_outfile=conftest.$ac_objext
16330
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
16331
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16332
 
_lt_compiler_boilerplate=`cat conftest.err`
16333
 
$rm conftest*
16334
 
 
16335
 
ac_outfile=conftest.$ac_objext
16336
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
16337
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16338
 
_lt_linker_boilerplate=`cat conftest.err`
16339
 
$rm conftest*
16340
 
 
16341
 
 
16342
 
# Allow CC to be a program name with arguments.
16343
 
lt_save_CC="$CC"
16344
 
CC=${GCJ-"gcj"}
16345
 
compiler=$CC
16346
 
compiler_GCJ=$CC
16347
 
for cc_temp in $compiler""; do
16348
 
  case $cc_temp in
16349
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16350
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16351
 
    \-*) ;;
16352
 
    *) break;;
16353
 
  esac
16354
 
done
16355
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16356
 
 
16357
 
 
16358
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
16359
 
archive_cmds_need_lc_GCJ=no
16360
 
 
16361
 
old_archive_cmds_GCJ=$old_archive_cmds
16362
 
 
16363
 
## CAVEAT EMPTOR:
16364
 
## There is no encapsulation within the following macros, do not change
16365
 
## the running order or otherwise move them around unless you know exactly
16366
 
## what you are doing...
16367
 
 
16368
 
lt_prog_compiler_no_builtin_flag_GCJ=
16369
 
 
16370
 
if test "$GCC" = yes; then
16371
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
16372
 
 
16373
 
 
16374
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16375
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16376
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16377
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16378
 
else
16379
 
  lt_cv_prog_compiler_rtti_exceptions=no
16380
 
  ac_outfile=conftest.$ac_objext
16381
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16382
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
16383
 
   # Insert the option either (1) after the last *FLAGS variable, or
16384
 
   # (2) before a word containing "conftest.", or (3) at the end.
16385
 
   # Note that $ac_compile itself does not contain backslashes and begins
16386
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16387
 
   # The option is referenced via a variable to avoid confusing sed.
16388
 
   lt_compile=`echo "$ac_compile" | $SED \
16389
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16390
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16391
 
   -e 's:$: $lt_compiler_flag:'`
16392
 
   (eval echo "\"\$as_me:16392: $lt_compile\"" >&5)
16393
 
   (eval "$lt_compile" 2>conftest.err)
16394
 
   ac_status=$?
16395
 
   cat conftest.err >&5
16396
 
   echo "$as_me:16396: \$? = $ac_status" >&5
16397
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
16398
 
     # The compiler can only warn and ignore the option if not recognized
16399
 
     # So say no if there are warnings other than the usual output.
16400
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16401
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16402
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16403
 
       lt_cv_prog_compiler_rtti_exceptions=yes
16404
 
     fi
16405
 
   fi
16406
 
   $rm conftest*
16407
 
 
16408
 
fi
16409
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16410
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16411
 
 
16412
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16413
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16414
 
else
16415
 
    :
16416
 
fi
16417
 
 
16418
 
fi
16419
 
 
16420
 
lt_prog_compiler_wl_GCJ=
16421
 
lt_prog_compiler_pic_GCJ=
16422
 
lt_prog_compiler_static_GCJ=
16423
 
 
16424
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16425
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16426
 
 
16427
 
  if test "$GCC" = yes; then
16428
 
    lt_prog_compiler_wl_GCJ='-Wl,'
16429
 
    lt_prog_compiler_static_GCJ='-static'
16430
 
 
16431
 
    case $host_os in
16432
 
      aix*)
16433
 
      # All AIX code is PIC.
16434
 
      if test "$host_cpu" = ia64; then
16435
 
        # AIX 5 now supports IA64 processor
16436
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16437
 
      fi
16438
 
      ;;
16439
 
 
16440
 
    amigaos*)
16441
 
      # FIXME: we need at least 68020 code to build shared libraries, but
16442
 
      # adding the `-m68020' flag to GCC prevents building anything better,
16443
 
      # like `-m68040'.
16444
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16445
 
      ;;
16446
 
 
16447
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16448
 
      # PIC is the default for these OSes.
16449
 
      ;;
16450
 
 
16451
 
    mingw* | pw32* | os2*)
16452
 
      # This hack is so that the source file can tell whether it is being
16453
 
      # built for inclusion in a dll (and should export symbols for example).
16454
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16455
 
      ;;
16456
 
 
16457
 
    darwin* | rhapsody*)
16458
 
      # PIC is the default on this platform
16459
 
      # Common symbols not allowed in MH_DYLIB files
16460
 
      lt_prog_compiler_pic_GCJ='-fno-common'
16461
 
      ;;
16462
 
 
16463
 
    interix3*)
16464
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16465
 
      # Instead, we relocate shared libraries at runtime.
16466
 
      ;;
16467
 
 
16468
 
    msdosdjgpp*)
16469
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
16470
 
      # on systems that don't support them.
16471
 
      lt_prog_compiler_can_build_shared_GCJ=no
16472
 
      enable_shared=no
16473
 
      ;;
16474
 
 
16475
 
    sysv4*MP*)
16476
 
      if test -d /usr/nec; then
16477
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
16478
 
      fi
16479
 
      ;;
16480
 
 
16481
 
    hpux*)
16482
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16483
 
      # not for PA HP-UX.
16484
 
      case $host_cpu in
16485
 
      hppa*64*|ia64*)
16486
 
        # +Z the default
16487
 
        ;;
16488
 
      *)
16489
 
        lt_prog_compiler_pic_GCJ='-fPIC'
16490
 
        ;;
16491
 
      esac
16492
 
      ;;
16493
 
 
16494
 
    *)
16495
 
      lt_prog_compiler_pic_GCJ='-fPIC'
16496
 
      ;;
16497
 
    esac
16498
 
  else
16499
 
    # PORTME Check for flag to pass linker flags through the system compiler.
16500
 
    case $host_os in
16501
 
    aix*)
16502
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16503
 
      if test "$host_cpu" = ia64; then
16504
 
        # AIX 5 now supports IA64 processor
16505
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16506
 
      else
16507
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
16508
 
      fi
16509
 
      ;;
16510
 
      darwin*)
16511
 
        # PIC is the default on this platform
16512
 
        # Common symbols not allowed in MH_DYLIB files
16513
 
       case $cc_basename in
16514
 
         xlc*)
16515
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
16516
 
         lt_prog_compiler_wl_GCJ='-Wl,'
16517
 
         ;;
16518
 
       esac
16519
 
       ;;
16520
 
 
16521
 
    mingw* | pw32* | os2*)
16522
 
      # This hack is so that the source file can tell whether it is being
16523
 
      # built for inclusion in a dll (and should export symbols for example).
16524
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16525
 
      ;;
16526
 
 
16527
 
    hpux9* | hpux10* | hpux11*)
16528
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16529
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16530
 
      # not for PA HP-UX.
16531
 
      case $host_cpu in
16532
 
      hppa*64*|ia64*)
16533
 
        # +Z the default
16534
 
        ;;
16535
 
      *)
16536
 
        lt_prog_compiler_pic_GCJ='+Z'
16537
 
        ;;
16538
 
      esac
16539
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
16540
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
16541
 
      ;;
16542
 
 
16543
 
    irix5* | irix6* | nonstopux*)
16544
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16545
 
      # PIC (with -KPIC) is the default.
16546
 
      lt_prog_compiler_static_GCJ='-non_shared'
16547
 
      ;;
16548
 
 
16549
 
    newsos6)
16550
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16551
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16552
 
      ;;
16553
 
 
16554
 
    linux*)
16555
 
      case $cc_basename in
16556
 
      icc* | ecc*)
16557
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16558
 
        lt_prog_compiler_pic_GCJ='-KPIC'
16559
 
        lt_prog_compiler_static_GCJ='-static'
16560
 
        ;;
16561
 
      pgcc* | pgf77* | pgf90* | pgf95*)
16562
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
16563
 
        # which looks to be a dead project)
16564
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16565
 
        lt_prog_compiler_pic_GCJ='-fpic'
16566
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16567
 
        ;;
16568
 
      ccc*)
16569
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16570
 
        # All Alpha code is PIC.
16571
 
        lt_prog_compiler_static_GCJ='-non_shared'
16572
 
        ;;
16573
 
      esac
16574
 
      ;;
16575
 
 
16576
 
    osf3* | osf4* | osf5*)
16577
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16578
 
      # All OSF/1 code is PIC.
16579
 
      lt_prog_compiler_static_GCJ='-non_shared'
16580
 
      ;;
16581
 
 
16582
 
    solaris*)
16583
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16584
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16585
 
      case $cc_basename in
16586
 
      f77* | f90* | f95*)
16587
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
16588
 
      *)
16589
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
16590
 
      esac
16591
 
      ;;
16592
 
 
16593
 
    sunos4*)
16594
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
16595
 
      lt_prog_compiler_pic_GCJ='-PIC'
16596
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16597
 
      ;;
16598
 
 
16599
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
16600
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16601
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16602
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16603
 
      ;;
16604
 
 
16605
 
    sysv4*MP*)
16606
 
      if test -d /usr/nec ;then
16607
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
16608
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16609
 
      fi
16610
 
      ;;
16611
 
 
16612
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16613
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16614
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16615
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16616
 
      ;;
16617
 
 
16618
 
    unicos*)
16619
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16620
 
      lt_prog_compiler_can_build_shared_GCJ=no
16621
 
      ;;
16622
 
 
16623
 
    uts4*)
16624
 
      lt_prog_compiler_pic_GCJ='-pic'
16625
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16626
 
      ;;
16627
 
 
16628
 
    *)
16629
 
      lt_prog_compiler_can_build_shared_GCJ=no
16630
 
      ;;
16631
 
    esac
16632
 
  fi
16633
 
 
16634
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16635
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16636
 
 
16637
 
#
16638
 
# Check to make sure the PIC flag actually works.
16639
 
#
16640
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
16641
 
 
16642
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16643
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16644
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16645
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16646
 
else
16647
 
  lt_prog_compiler_pic_works_GCJ=no
16648
 
  ac_outfile=conftest.$ac_objext
16649
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16650
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
16651
 
   # Insert the option either (1) after the last *FLAGS variable, or
16652
 
   # (2) before a word containing "conftest.", or (3) at the end.
16653
 
   # Note that $ac_compile itself does not contain backslashes and begins
16654
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16655
 
   # The option is referenced via a variable to avoid confusing sed.
16656
 
   lt_compile=`echo "$ac_compile" | $SED \
16657
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16658
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16659
 
   -e 's:$: $lt_compiler_flag:'`
16660
 
   (eval echo "\"\$as_me:16660: $lt_compile\"" >&5)
16661
 
   (eval "$lt_compile" 2>conftest.err)
16662
 
   ac_status=$?
16663
 
   cat conftest.err >&5
16664
 
   echo "$as_me:16664: \$? = $ac_status" >&5
16665
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
16666
 
     # The compiler can only warn and ignore the option if not recognized
16667
 
     # So say no if there are warnings other than the usual output.
16668
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16669
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16670
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16671
 
       lt_prog_compiler_pic_works_GCJ=yes
16672
 
     fi
16673
 
   fi
16674
 
   $rm conftest*
16675
 
 
16676
 
fi
16677
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16678
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16679
 
 
16680
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
16681
 
    case $lt_prog_compiler_pic_GCJ in
16682
 
     "" | " "*) ;;
16683
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
16684
 
     esac
16685
 
else
16686
 
    lt_prog_compiler_pic_GCJ=
16687
 
     lt_prog_compiler_can_build_shared_GCJ=no
16688
 
fi
16689
 
 
16690
 
fi
16691
 
case $host_os in
16692
 
  # For platforms which do not support PIC, -DPIC is meaningless:
16693
 
  *djgpp*)
16694
 
    lt_prog_compiler_pic_GCJ=
16695
 
    ;;
16696
 
  *)
16697
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
16698
 
    ;;
16699
 
esac
16700
 
 
16701
 
#
16702
 
# Check to make sure the static flag actually works.
16703
 
#
16704
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
16705
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16706
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16707
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16708
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16709
 
else
16710
 
  lt_prog_compiler_static_works_GCJ=no
16711
 
   save_LDFLAGS="$LDFLAGS"
16712
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16713
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
16714
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16715
 
     # The linker can only warn and ignore the option if not recognized
16716
 
     # So say no if there are warnings
16717
 
     if test -s conftest.err; then
16718
 
       # Append any errors to the config.log.
16719
 
       cat conftest.err 1>&5
16720
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16721
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16722
 
       if diff conftest.exp conftest.er2 >/dev/null; then
16723
 
         lt_prog_compiler_static_works_GCJ=yes
16724
 
       fi
16725
 
     else
16726
 
       lt_prog_compiler_static_works_GCJ=yes
16727
 
     fi
16728
 
   fi
16729
 
   $rm conftest*
16730
 
   LDFLAGS="$save_LDFLAGS"
16731
 
 
16732
 
fi
16733
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16734
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16735
 
 
16736
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
16737
 
    :
16738
 
else
16739
 
    lt_prog_compiler_static_GCJ=
16740
 
fi
16741
 
 
16742
 
 
16743
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16744
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16745
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16746
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16747
 
else
16748
 
  lt_cv_prog_compiler_c_o_GCJ=no
16749
 
   $rm -r conftest 2>/dev/null
16750
 
   mkdir conftest
16751
 
   cd conftest
16752
 
   mkdir out
16753
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16754
 
 
16755
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
16756
 
   # Insert the option either (1) after the last *FLAGS variable, or
16757
 
   # (2) before a word containing "conftest.", or (3) at the end.
16758
 
   # Note that $ac_compile itself does not contain backslashes and begins
16759
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16760
 
   lt_compile=`echo "$ac_compile" | $SED \
16761
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16762
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16763
 
   -e 's:$: $lt_compiler_flag:'`
16764
 
   (eval echo "\"\$as_me:16764: $lt_compile\"" >&5)
16765
 
   (eval "$lt_compile" 2>out/conftest.err)
16766
 
   ac_status=$?
16767
 
   cat out/conftest.err >&5
16768
 
   echo "$as_me:16768: \$? = $ac_status" >&5
16769
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16770
 
   then
16771
 
     # The compiler can only warn and ignore the option if not recognized
16772
 
     # So say no if there are warnings
16773
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16774
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16775
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16776
 
       lt_cv_prog_compiler_c_o_GCJ=yes
16777
 
     fi
16778
 
   fi
16779
 
   chmod u+w . 2>&5
16780
 
   $rm conftest*
16781
 
   # SGI C++ compiler will create directory out/ii_files/ for
16782
 
   # template instantiation
16783
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
16784
 
   $rm out/* && rmdir out
16785
 
   cd ..
16786
 
   rmdir conftest
16787
 
   $rm conftest*
16788
 
 
16789
 
fi
16790
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16791
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16792
 
 
16793
 
 
16794
 
hard_links="nottested"
16795
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
16796
 
  # do not overwrite the value of need_locks provided by the user
16797
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16798
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16799
 
  hard_links=yes
16800
 
  $rm conftest*
16801
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16802
 
  touch conftest.a
16803
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
16804
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16805
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
16806
 
echo "${ECHO_T}$hard_links" >&6; }
16807
 
  if test "$hard_links" = no; then
16808
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16809
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16810
 
    need_locks=warn
16811
 
  fi
16812
 
else
16813
 
  need_locks=no
16814
 
fi
16815
 
 
16816
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16817
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16818
 
 
16819
 
  runpath_var=
16820
 
  allow_undefined_flag_GCJ=
16821
 
  enable_shared_with_static_runtimes_GCJ=no
16822
 
  archive_cmds_GCJ=
16823
 
  archive_expsym_cmds_GCJ=
16824
 
  old_archive_From_new_cmds_GCJ=
16825
 
  old_archive_from_expsyms_cmds_GCJ=
16826
 
  export_dynamic_flag_spec_GCJ=
16827
 
  whole_archive_flag_spec_GCJ=
16828
 
  thread_safe_flag_spec_GCJ=
16829
 
  hardcode_libdir_flag_spec_GCJ=
16830
 
  hardcode_libdir_flag_spec_ld_GCJ=
16831
 
  hardcode_libdir_separator_GCJ=
16832
 
  hardcode_direct_GCJ=no
16833
 
  hardcode_minus_L_GCJ=no
16834
 
  hardcode_shlibpath_var_GCJ=unsupported
16835
 
  link_all_deplibs_GCJ=unknown
16836
 
  hardcode_automatic_GCJ=no
16837
 
  module_cmds_GCJ=
16838
 
  module_expsym_cmds_GCJ=
16839
 
  always_export_symbols_GCJ=no
16840
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16841
 
  # include_expsyms should be a list of space-separated symbols to be *always*
16842
 
  # included in the symbol list
16843
 
  include_expsyms_GCJ=
16844
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
16845
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
16846
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16847
 
  # as well as any symbol that contains `d'.
16848
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
16849
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16850
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
16851
 
  # the symbol is explicitly referenced.  Since portable code cannot
16852
 
  # rely on this symbol name, it's probably fine to never include it in
16853
 
  # preloaded symbol tables.
16854
 
  extract_expsyms_cmds=
16855
 
  # Just being paranoid about ensuring that cc_basename is set.
16856
 
  for cc_temp in $compiler""; do
16857
 
  case $cc_temp in
16858
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16859
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16860
 
    \-*) ;;
16861
 
    *) break;;
16862
 
  esac
16863
 
done
16864
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16865
 
 
16866
 
  case $host_os in
16867
 
  cygwin* | mingw* | pw32*)
16868
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
16869
 
    # When not using gcc, we currently assume that we are using
16870
 
    # Microsoft Visual C++.
16871
 
    if test "$GCC" != yes; then
16872
 
      with_gnu_ld=no
16873
 
    fi
16874
 
    ;;
16875
 
  interix*)
16876
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
16877
 
    with_gnu_ld=yes
16878
 
    ;;
16879
 
  openbsd*)
16880
 
    with_gnu_ld=no
16881
 
    ;;
16882
 
  esac
16883
 
 
16884
 
  ld_shlibs_GCJ=yes
16885
 
  if test "$with_gnu_ld" = yes; then
16886
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
16887
 
    wlarc='${wl}'
16888
 
 
16889
 
    # Set some defaults for GNU ld with shared library support. These
16890
 
    # are reset later if shared libraries are not supported. Putting them
16891
 
    # here allows them to be overridden if necessary.
16892
 
    runpath_var=LD_RUN_PATH
16893
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
16894
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
16895
 
    # ancient GNU ld didn't support --whole-archive et. al.
16896
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16897
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16898
 
      else
16899
 
        whole_archive_flag_spec_GCJ=
16900
 
    fi
16901
 
    supports_anon_versioning=no
16902
 
    case `$LD -v 2>/dev/null` in
16903
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
16904
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16905
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16906
 
      *\ 2.11.*) ;; # other 2.11 versions
16907
 
      *) supports_anon_versioning=yes ;;
16908
 
    esac
16909
 
 
16910
 
    # See if GNU ld supports shared libraries.
16911
 
    case $host_os in
16912
 
    aix3* | aix4* | aix5*)
16913
 
      # On AIX/PPC, the GNU linker is very broken
16914
 
      if test "$host_cpu" != ia64; then
16915
 
        ld_shlibs_GCJ=no
16916
 
        cat <<EOF 1>&2
16917
 
 
16918
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
16919
 
*** to be unable to reliably create shared libraries on AIX.
16920
 
*** Therefore, libtool is disabling shared libraries support.  If you
16921
 
*** really care for shared libraries, you may want to modify your PATH
16922
 
*** so that a non-GNU linker is found, and then restart.
16923
 
 
16924
 
EOF
16925
 
      fi
16926
 
      ;;
16927
 
 
16928
 
    amigaos*)
16929
 
      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)'
16930
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
16931
 
      hardcode_minus_L_GCJ=yes
16932
 
 
16933
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16934
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
16935
 
      # to version 4, is to share data among multiple programs linked
16936
 
      # with the same dynamic library.  Since this doesn't match the
16937
 
      # behavior of shared libraries on other platforms, we can't use
16938
 
      # them.
16939
 
      ld_shlibs_GCJ=no
16940
 
      ;;
16941
 
 
16942
 
    beos*)
16943
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16944
 
        allow_undefined_flag_GCJ=unsupported
16945
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16946
 
        # support --undefined.  This deserves some investigation.  FIXME
16947
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16948
 
      else
16949
 
        ld_shlibs_GCJ=no
16950
 
      fi
16951
 
      ;;
16952
 
 
16953
 
    cygwin* | mingw* | pw32*)
16954
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16955
 
      # as there is no search path for DLLs.
16956
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
16957
 
      allow_undefined_flag_GCJ=unsupported
16958
 
      always_export_symbols_GCJ=no
16959
 
      enable_shared_with_static_runtimes_GCJ=yes
16960
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16961
 
 
16962
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16963
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16964
 
        # If the export-symbols file already is a .def file (1st line
16965
 
        # is EXPORTS), use it as is; otherwise, prepend...
16966
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16967
 
          cp $export_symbols $output_objdir/$soname.def;
16968
 
        else
16969
 
          echo EXPORTS > $output_objdir/$soname.def;
16970
 
          cat $export_symbols >> $output_objdir/$soname.def;
16971
 
        fi~
16972
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16973
 
      else
16974
 
        ld_shlibs_GCJ=no
16975
 
      fi
16976
 
      ;;
16977
 
 
16978
 
    interix3*)
16979
 
      hardcode_direct_GCJ=no
16980
 
      hardcode_shlibpath_var_GCJ=no
16981
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16982
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
16983
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16984
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
16985
 
      # default) and relocated if they conflict, which is a slow very memory
16986
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
16987
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16988
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
16989
 
      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'
16990
 
      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'
16991
 
      ;;
16992
 
 
16993
 
    linux*)
16994
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16995
 
        tmp_addflag=
16996
 
        case $cc_basename,$host_cpu in
16997
 
        pgcc*)                          # Portland Group C compiler
16998
 
          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'
16999
 
          tmp_addflag=' $pic_flag'
17000
 
          ;;
17001
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
17002
 
          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'
17003
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
17004
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
17005
 
          tmp_addflag=' -i_dynamic' ;;
17006
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
17007
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
17008
 
        ifc* | ifort*)                  # Intel Fortran compiler
17009
 
          tmp_addflag=' -nofor_main' ;;
17010
 
        esac
17011
 
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17012
 
 
17013
 
        if test $supports_anon_versioning = yes; then
17014
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
17015
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17016
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
17017
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17018
 
        fi
17019
 
      else
17020
 
        ld_shlibs_GCJ=no
17021
 
      fi
17022
 
      ;;
17023
 
 
17024
 
    netbsd*)
17025
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17026
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17027
 
        wlarc=
17028
 
      else
17029
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17030
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17031
 
      fi
17032
 
      ;;
17033
 
 
17034
 
    solaris*)
17035
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17036
 
        ld_shlibs_GCJ=no
17037
 
        cat <<EOF 1>&2
17038
 
 
17039
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17040
 
*** create shared libraries on Solaris systems.  Therefore, libtool
17041
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17042
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
17043
 
*** your PATH or compiler configuration so that the native linker is
17044
 
*** used, and then restart.
17045
 
 
17046
 
EOF
17047
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17048
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17049
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17050
 
      else
17051
 
        ld_shlibs_GCJ=no
17052
 
      fi
17053
 
      ;;
17054
 
 
17055
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17056
 
      case `$LD -v 2>&1` in
17057
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17058
 
        ld_shlibs_GCJ=no
17059
 
        cat <<_LT_EOF 1>&2
17060
 
 
17061
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17062
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
17063
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17064
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
17065
 
*** your PATH or compiler configuration so that the native linker is
17066
 
*** used, and then restart.
17067
 
 
17068
 
_LT_EOF
17069
 
        ;;
17070
 
        *)
17071
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17072
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17073
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17074
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17075
 
          else
17076
 
            ld_shlibs_GCJ=no
17077
 
          fi
17078
 
        ;;
17079
 
      esac
17080
 
      ;;
17081
 
 
17082
 
    sunos4*)
17083
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17084
 
      wlarc=
17085
 
      hardcode_direct_GCJ=yes
17086
 
      hardcode_shlibpath_var_GCJ=no
17087
 
      ;;
17088
 
 
17089
 
    *)
17090
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17091
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17092
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17093
 
      else
17094
 
        ld_shlibs_GCJ=no
17095
 
      fi
17096
 
      ;;
17097
 
    esac
17098
 
 
17099
 
    if test "$ld_shlibs_GCJ" = no; then
17100
 
      runpath_var=
17101
 
      hardcode_libdir_flag_spec_GCJ=
17102
 
      export_dynamic_flag_spec_GCJ=
17103
 
      whole_archive_flag_spec_GCJ=
17104
 
    fi
17105
 
  else
17106
 
    # PORTME fill in a description of your system's linker (not GNU ld)
17107
 
    case $host_os in
17108
 
    aix3*)
17109
 
      allow_undefined_flag_GCJ=unsupported
17110
 
      always_export_symbols_GCJ=yes
17111
 
      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'
17112
 
      # Note: this linker hardcodes the directories in LIBPATH if there
17113
 
      # are no directories specified by -L.
17114
 
      hardcode_minus_L_GCJ=yes
17115
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17116
 
        # Neither direct hardcoding nor static linking is supported with a
17117
 
        # broken collect2.
17118
 
        hardcode_direct_GCJ=unsupported
17119
 
      fi
17120
 
      ;;
17121
 
 
17122
 
    aix4* | aix5*)
17123
 
      if test "$host_cpu" = ia64; then
17124
 
        # On IA64, the linker does run time linking by default, so we don't
17125
 
        # have to do anything special.
17126
 
        aix_use_runtimelinking=no
17127
 
        exp_sym_flag='-Bexport'
17128
 
        no_entry_flag=""
17129
 
      else
17130
 
        # If we're using GNU nm, then we don't want the "-C" option.
17131
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
17132
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17133
 
          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'
17134
 
        else
17135
 
          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'
17136
 
        fi
17137
 
        aix_use_runtimelinking=no
17138
 
 
17139
 
        # Test if we are trying to use run time linking or normal
17140
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17141
 
        # need to do runtime linking.
17142
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
17143
 
          for ld_flag in $LDFLAGS; do
17144
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17145
 
            aix_use_runtimelinking=yes
17146
 
            break
17147
 
          fi
17148
 
          done
17149
 
          ;;
17150
 
        esac
17151
 
 
17152
 
        exp_sym_flag='-bexport'
17153
 
        no_entry_flag='-bnoentry'
17154
 
      fi
17155
 
 
17156
 
      # When large executables or shared objects are built, AIX ld can
17157
 
      # have problems creating the table of contents.  If linking a library
17158
 
      # or program results in "error TOC overflow" add -mminimal-toc to
17159
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17160
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17161
 
 
17162
 
      archive_cmds_GCJ=''
17163
 
      hardcode_direct_GCJ=yes
17164
 
      hardcode_libdir_separator_GCJ=':'
17165
 
      link_all_deplibs_GCJ=yes
17166
 
 
17167
 
      if test "$GCC" = yes; then
17168
 
        case $host_os in aix4.[012]|aix4.[012].*)
17169
 
        # We only want to do this on AIX 4.2 and lower, the check
17170
 
        # below for broken collect2 doesn't work under 4.3+
17171
 
          collect2name=`${CC} -print-prog-name=collect2`
17172
 
          if test -f "$collect2name" && \
17173
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
17174
 
          then
17175
 
          # We have reworked collect2
17176
 
          hardcode_direct_GCJ=yes
17177
 
          else
17178
 
          # We have old collect2
17179
 
          hardcode_direct_GCJ=unsupported
17180
 
          # It fails to find uninstalled libraries when the uninstalled
17181
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
17182
 
          # to unsupported forces relinking
17183
 
          hardcode_minus_L_GCJ=yes
17184
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
17185
 
          hardcode_libdir_separator_GCJ=
17186
 
          fi
17187
 
          ;;
17188
 
        esac
17189
 
        shared_flag='-shared'
17190
 
        if test "$aix_use_runtimelinking" = yes; then
17191
 
          shared_flag="$shared_flag "'${wl}-G'
17192
 
        fi
17193
 
      else
17194
 
        # not using gcc
17195
 
        if test "$host_cpu" = ia64; then
17196
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17197
 
        # chokes on -Wl,-G. The following line is correct:
17198
 
          shared_flag='-G'
17199
 
        else
17200
 
          if test "$aix_use_runtimelinking" = yes; then
17201
 
            shared_flag='${wl}-G'
17202
 
          else
17203
 
            shared_flag='${wl}-bM:SRE'
17204
 
          fi
17205
 
        fi
17206
 
      fi
17207
 
 
17208
 
      # It seems that -bexpall does not export symbols beginning with
17209
 
      # underscore (_), so it is better to generate a list of symbols to export.
17210
 
      always_export_symbols_GCJ=yes
17211
 
      if test "$aix_use_runtimelinking" = yes; then
17212
 
        # Warning - without using the other runtime loading flags (-brtl),
17213
 
        # -berok will link without error, but may produce a broken library.
17214
 
        allow_undefined_flag_GCJ='-berok'
17215
 
       # Determine the default libpath from the value encoded in an empty executable.
17216
 
       cat >conftest.$ac_ext <<_ACEOF
17217
 
/* confdefs.h.  */
17218
 
_ACEOF
17219
 
cat confdefs.h >>conftest.$ac_ext
17220
 
cat >>conftest.$ac_ext <<_ACEOF
17221
 
/* end confdefs.h.  */
17222
 
 
17223
 
int
17224
 
main ()
17225
 
{
17226
 
 
17227
 
  ;
17228
 
  return 0;
17229
 
}
17230
 
_ACEOF
17231
 
rm -f conftest.$ac_objext conftest$ac_exeext
17232
 
if { (ac_try="$ac_link"
17233
 
case "(($ac_try" in
17234
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17235
 
  *) ac_try_echo=$ac_try;;
17236
 
esac
17237
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17238
 
  (eval "$ac_link") 2>conftest.er1
17239
 
  ac_status=$?
17240
 
  grep -v '^ *+' conftest.er1 >conftest.err
17241
 
  rm -f conftest.er1
17242
 
  cat conftest.err >&5
17243
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17244
 
  (exit $ac_status); } &&
17245
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17246
 
  { (case "(($ac_try" in
17247
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17248
 
  *) ac_try_echo=$ac_try;;
17249
 
esac
17250
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17251
 
  (eval "$ac_try") 2>&5
17252
 
  ac_status=$?
17253
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17254
 
  (exit $ac_status); }; } &&
17255
 
         { ac_try='test -s conftest$ac_exeext'
17256
 
  { (case "(($ac_try" in
17257
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17258
 
  *) ac_try_echo=$ac_try;;
17259
 
esac
17260
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17261
 
  (eval "$ac_try") 2>&5
17262
 
  ac_status=$?
17263
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17264
 
  (exit $ac_status); }; }; then
17265
 
 
17266
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17267
 
}'`
17268
 
# Check for a 64-bit object if we didn't find anything.
17269
 
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; }
17270
 
}'`; fi
17271
 
else
17272
 
  echo "$as_me: failed program was:" >&5
17273
 
sed 's/^/| /' conftest.$ac_ext >&5
17274
 
 
17275
 
 
17276
 
fi
17277
 
 
17278
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17279
 
      conftest$ac_exeext conftest.$ac_ext
17280
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17281
 
 
17282
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17283
 
        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"
17284
 
       else
17285
 
        if test "$host_cpu" = ia64; then
17286
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17287
 
          allow_undefined_flag_GCJ="-z nodefs"
17288
 
          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"
17289
 
        else
17290
 
         # Determine the default libpath from the value encoded in an empty executable.
17291
 
         cat >conftest.$ac_ext <<_ACEOF
17292
 
/* confdefs.h.  */
17293
 
_ACEOF
17294
 
cat confdefs.h >>conftest.$ac_ext
17295
 
cat >>conftest.$ac_ext <<_ACEOF
17296
 
/* end confdefs.h.  */
17297
 
 
17298
 
int
17299
 
main ()
17300
 
{
17301
 
 
17302
 
  ;
17303
 
  return 0;
17304
 
}
17305
 
_ACEOF
17306
 
rm -f conftest.$ac_objext conftest$ac_exeext
17307
 
if { (ac_try="$ac_link"
17308
 
case "(($ac_try" in
17309
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17310
 
  *) ac_try_echo=$ac_try;;
17311
 
esac
17312
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17313
 
  (eval "$ac_link") 2>conftest.er1
17314
 
  ac_status=$?
17315
 
  grep -v '^ *+' conftest.er1 >conftest.err
17316
 
  rm -f conftest.er1
17317
 
  cat conftest.err >&5
17318
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319
 
  (exit $ac_status); } &&
17320
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17321
 
  { (case "(($ac_try" in
17322
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17323
 
  *) ac_try_echo=$ac_try;;
17324
 
esac
17325
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17326
 
  (eval "$ac_try") 2>&5
17327
 
  ac_status=$?
17328
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329
 
  (exit $ac_status); }; } &&
17330
 
         { ac_try='test -s conftest$ac_exeext'
17331
 
  { (case "(($ac_try" in
17332
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17333
 
  *) ac_try_echo=$ac_try;;
17334
 
esac
17335
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17336
 
  (eval "$ac_try") 2>&5
17337
 
  ac_status=$?
17338
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17339
 
  (exit $ac_status); }; }; then
17340
 
 
17341
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17342
 
}'`
17343
 
# Check for a 64-bit object if we didn't find anything.
17344
 
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; }
17345
 
}'`; fi
17346
 
else
17347
 
  echo "$as_me: failed program was:" >&5
17348
 
sed 's/^/| /' conftest.$ac_ext >&5
17349
 
 
17350
 
 
17351
 
fi
17352
 
 
17353
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17354
 
      conftest$ac_exeext conftest.$ac_ext
17355
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17356
 
 
17357
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17358
 
          # Warning - without using the other run time loading flags,
17359
 
          # -berok will link without error, but may produce a broken library.
17360
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
17361
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
17362
 
          # Exported symbols can be pulled into shared objects from archives
17363
 
          whole_archive_flag_spec_GCJ='$convenience'
17364
 
          archive_cmds_need_lc_GCJ=yes
17365
 
          # This is similar to how AIX traditionally builds its shared libraries.
17366
 
          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'
17367
 
        fi
17368
 
      fi
17369
 
      ;;
17370
 
 
17371
 
    amigaos*)
17372
 
      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)'
17373
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17374
 
      hardcode_minus_L_GCJ=yes
17375
 
      # see comment about different semantics on the GNU ld section
17376
 
      ld_shlibs_GCJ=no
17377
 
      ;;
17378
 
 
17379
 
    bsdi[45]*)
17380
 
      export_dynamic_flag_spec_GCJ=-rdynamic
17381
 
      ;;
17382
 
 
17383
 
    cygwin* | mingw* | pw32*)
17384
 
      # When not using gcc, we currently assume that we are using
17385
 
      # Microsoft Visual C++.
17386
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
17387
 
      # no search path for DLLs.
17388
 
      hardcode_libdir_flag_spec_GCJ=' '
17389
 
      allow_undefined_flag_GCJ=unsupported
17390
 
      # Tell ltmain to make .lib files, not .a files.
17391
 
      libext=lib
17392
 
      # Tell ltmain to make .dll files, not .so files.
17393
 
      shrext_cmds=".dll"
17394
 
      # FIXME: Setting linknames here is a bad hack.
17395
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17396
 
      # The linker will automatically build a .lib file if we build a DLL.
17397
 
      old_archive_From_new_cmds_GCJ='true'
17398
 
      # FIXME: Should let the user specify the lib program.
17399
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
17400
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
17401
 
      enable_shared_with_static_runtimes_GCJ=yes
17402
 
      ;;
17403
 
 
17404
 
    darwin* | rhapsody*)
17405
 
      case $host_os in
17406
 
        rhapsody* | darwin1.[012])
17407
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
17408
 
         ;;
17409
 
       *) # Darwin 1.3 on
17410
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17411
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17412
 
         else
17413
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
17414
 
             10.[012])
17415
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17416
 
               ;;
17417
 
             10.*)
17418
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
17419
 
               ;;
17420
 
           esac
17421
 
         fi
17422
 
         ;;
17423
 
      esac
17424
 
      archive_cmds_need_lc_GCJ=no
17425
 
      hardcode_direct_GCJ=no
17426
 
      hardcode_automatic_GCJ=yes
17427
 
      hardcode_shlibpath_var_GCJ=unsupported
17428
 
      whole_archive_flag_spec_GCJ=''
17429
 
      link_all_deplibs_GCJ=yes
17430
 
    if test "$GCC" = yes ; then
17431
 
        output_verbose_link_cmd='echo'
17432
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17433
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17434
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17435
 
      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}'
17436
 
      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}'
17437
 
    else
17438
 
      case $cc_basename in
17439
 
        xlc*)
17440
 
         output_verbose_link_cmd='echo'
17441
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17442
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17443
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17444
 
         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}'
17445
 
          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}'
17446
 
          ;;
17447
 
       *)
17448
 
         ld_shlibs_GCJ=no
17449
 
          ;;
17450
 
      esac
17451
 
    fi
17452
 
      ;;
17453
 
 
17454
 
    dgux*)
17455
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17456
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17457
 
      hardcode_shlibpath_var_GCJ=no
17458
 
      ;;
17459
 
 
17460
 
    freebsd1*)
17461
 
      ld_shlibs_GCJ=no
17462
 
      ;;
17463
 
 
17464
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17465
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
17466
 
    # does not break anything, and helps significantly (at the cost of a little
17467
 
    # extra space).
17468
 
    freebsd2.2*)
17469
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17470
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17471
 
      hardcode_direct_GCJ=yes
17472
 
      hardcode_shlibpath_var_GCJ=no
17473
 
      ;;
17474
 
 
17475
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17476
 
    freebsd2*)
17477
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17478
 
      hardcode_direct_GCJ=yes
17479
 
      hardcode_minus_L_GCJ=yes
17480
 
      hardcode_shlibpath_var_GCJ=no
17481
 
      ;;
17482
 
 
17483
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17484
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
17485
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17486
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17487
 
      hardcode_direct_GCJ=yes
17488
 
      hardcode_shlibpath_var_GCJ=no
17489
 
      ;;
17490
 
 
17491
 
    hpux9*)
17492
 
      if test "$GCC" = yes; then
17493
 
        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'
17494
 
      else
17495
 
        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'
17496
 
      fi
17497
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17498
 
      hardcode_libdir_separator_GCJ=:
17499
 
      hardcode_direct_GCJ=yes
17500
 
 
17501
 
      # hardcode_minus_L: Not really in the search PATH,
17502
 
      # but as the default location of the library.
17503
 
      hardcode_minus_L_GCJ=yes
17504
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
17505
 
      ;;
17506
 
 
17507
 
    hpux10*)
17508
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17509
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17510
 
      else
17511
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17512
 
      fi
17513
 
      if test "$with_gnu_ld" = no; then
17514
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17515
 
        hardcode_libdir_separator_GCJ=:
17516
 
 
17517
 
        hardcode_direct_GCJ=yes
17518
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
17519
 
 
17520
 
        # hardcode_minus_L: Not really in the search PATH,
17521
 
        # but as the default location of the library.
17522
 
        hardcode_minus_L_GCJ=yes
17523
 
      fi
17524
 
      ;;
17525
 
 
17526
 
    hpux11*)
17527
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17528
 
        case $host_cpu in
17529
 
        hppa*64*)
17530
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17531
 
          ;;
17532
 
        ia64*)
17533
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17534
 
          ;;
17535
 
        *)
17536
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17537
 
          ;;
17538
 
        esac
17539
 
      else
17540
 
        case $host_cpu in
17541
 
        hppa*64*)
17542
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17543
 
          ;;
17544
 
        ia64*)
17545
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17546
 
          ;;
17547
 
        *)
17548
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17549
 
          ;;
17550
 
        esac
17551
 
      fi
17552
 
      if test "$with_gnu_ld" = no; then
17553
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17554
 
        hardcode_libdir_separator_GCJ=:
17555
 
 
17556
 
        case $host_cpu in
17557
 
        hppa*64*|ia64*)
17558
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
17559
 
          hardcode_direct_GCJ=no
17560
 
          hardcode_shlibpath_var_GCJ=no
17561
 
          ;;
17562
 
        *)
17563
 
          hardcode_direct_GCJ=yes
17564
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
17565
 
 
17566
 
          # hardcode_minus_L: Not really in the search PATH,
17567
 
          # but as the default location of the library.
17568
 
          hardcode_minus_L_GCJ=yes
17569
 
          ;;
17570
 
        esac
17571
 
      fi
17572
 
      ;;
17573
 
 
17574
 
    irix5* | irix6* | nonstopux*)
17575
 
      if test "$GCC" = yes; then
17576
 
        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'
17577
 
      else
17578
 
        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'
17579
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
17580
 
      fi
17581
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17582
 
      hardcode_libdir_separator_GCJ=:
17583
 
      link_all_deplibs_GCJ=yes
17584
 
      ;;
17585
 
 
17586
 
    netbsd*)
17587
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17588
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
17589
 
      else
17590
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
17591
 
      fi
17592
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17593
 
      hardcode_direct_GCJ=yes
17594
 
      hardcode_shlibpath_var_GCJ=no
17595
 
      ;;
17596
 
 
17597
 
    newsos6)
17598
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17599
 
      hardcode_direct_GCJ=yes
17600
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17601
 
      hardcode_libdir_separator_GCJ=:
17602
 
      hardcode_shlibpath_var_GCJ=no
17603
 
      ;;
17604
 
 
17605
 
    openbsd*)
17606
 
      hardcode_direct_GCJ=yes
17607
 
      hardcode_shlibpath_var_GCJ=no
17608
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17609
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17610
 
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17611
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17612
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
17613
 
      else
17614
 
       case $host_os in
17615
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17616
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17617
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
17618
 
           ;;
17619
 
         *)
17620
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17621
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17622
 
           ;;
17623
 
       esac
17624
 
      fi
17625
 
      ;;
17626
 
 
17627
 
    os2*)
17628
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17629
 
      hardcode_minus_L_GCJ=yes
17630
 
      allow_undefined_flag_GCJ=unsupported
17631
 
      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'
17632
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17633
 
      ;;
17634
 
 
17635
 
    osf3*)
17636
 
      if test "$GCC" = yes; then
17637
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
17638
 
        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'
17639
 
      else
17640
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
17641
 
        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'
17642
 
      fi
17643
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17644
 
      hardcode_libdir_separator_GCJ=:
17645
 
      ;;
17646
 
 
17647
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
17648
 
      if test "$GCC" = yes; then
17649
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
17650
 
        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'
17651
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17652
 
      else
17653
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
17654
 
        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'
17655
 
        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~
17656
 
        $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'
17657
 
 
17658
 
        # Both c and cxx compiler support -rpath directly
17659
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
17660
 
      fi
17661
 
      hardcode_libdir_separator_GCJ=:
17662
 
      ;;
17663
 
 
17664
 
    solaris*)
17665
 
      no_undefined_flag_GCJ=' -z text'
17666
 
      if test "$GCC" = yes; then
17667
 
        wlarc='${wl}'
17668
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17669
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17670
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17671
 
      else
17672
 
        wlarc=''
17673
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17674
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17675
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17676
 
      fi
17677
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17678
 
      hardcode_shlibpath_var_GCJ=no
17679
 
      case $host_os in
17680
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
17681
 
      *)
17682
 
        # The compiler driver will combine linker options so we
17683
 
        # cannot just pass the convience library names through
17684
 
        # without $wl, iff we do not link with $LD.
17685
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
17686
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
17687
 
        case $wlarc in
17688
 
        '')
17689
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
17690
 
        *)
17691
 
          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' ;;
17692
 
        esac ;;
17693
 
      esac
17694
 
      link_all_deplibs_GCJ=yes
17695
 
      ;;
17696
 
 
17697
 
    sunos4*)
17698
 
      if test "x$host_vendor" = xsequent; then
17699
 
        # Use $CC to link under sequent, because it throws in some extra .o
17700
 
        # files that make .init and .fini sections work.
17701
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17702
 
      else
17703
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17704
 
      fi
17705
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17706
 
      hardcode_direct_GCJ=yes
17707
 
      hardcode_minus_L_GCJ=yes
17708
 
      hardcode_shlibpath_var_GCJ=no
17709
 
      ;;
17710
 
 
17711
 
    sysv4)
17712
 
      case $host_vendor in
17713
 
        sni)
17714
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17715
 
          hardcode_direct_GCJ=yes # is this really true???
17716
 
        ;;
17717
 
        siemens)
17718
 
          ## LD is ld it makes a PLAMLIB
17719
 
          ## CC just makes a GrossModule.
17720
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17721
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
17722
 
          hardcode_direct_GCJ=no
17723
 
        ;;
17724
 
        motorola)
17725
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17726
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
17727
 
        ;;
17728
 
      esac
17729
 
      runpath_var='LD_RUN_PATH'
17730
 
      hardcode_shlibpath_var_GCJ=no
17731
 
      ;;
17732
 
 
17733
 
    sysv4.3*)
17734
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17735
 
      hardcode_shlibpath_var_GCJ=no
17736
 
      export_dynamic_flag_spec_GCJ='-Bexport'
17737
 
      ;;
17738
 
 
17739
 
    sysv4*MP*)
17740
 
      if test -d /usr/nec; then
17741
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17742
 
        hardcode_shlibpath_var_GCJ=no
17743
 
        runpath_var=LD_RUN_PATH
17744
 
        hardcode_runpath_var=yes
17745
 
        ld_shlibs_GCJ=yes
17746
 
      fi
17747
 
      ;;
17748
 
 
17749
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
17750
 
      no_undefined_flag_GCJ='${wl}-z,text'
17751
 
      archive_cmds_need_lc_GCJ=no
17752
 
      hardcode_shlibpath_var_GCJ=no
17753
 
      runpath_var='LD_RUN_PATH'
17754
 
 
17755
 
      if test "$GCC" = yes; then
17756
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17757
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17758
 
      else
17759
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17760
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17761
 
      fi
17762
 
      ;;
17763
 
 
17764
 
    sysv5* | sco3.2v5* | sco5v6*)
17765
 
      # Note: We can NOT use -z defs as we might desire, because we do not
17766
 
      # link with -lc, and that would cause any symbols used from libc to
17767
 
      # always be unresolved, which means just about no library would
17768
 
      # ever link correctly.  If we're not using GNU ld we use -z text
17769
 
      # though, which does catch some bad symbols but isn't as heavy-handed
17770
 
      # as -z defs.
17771
 
      no_undefined_flag_GCJ='${wl}-z,text'
17772
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
17773
 
      archive_cmds_need_lc_GCJ=no
17774
 
      hardcode_shlibpath_var_GCJ=no
17775
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17776
 
      hardcode_libdir_separator_GCJ=':'
17777
 
      link_all_deplibs_GCJ=yes
17778
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
17779
 
      runpath_var='LD_RUN_PATH'
17780
 
 
17781
 
      if test "$GCC" = yes; then
17782
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17783
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17784
 
      else
17785
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17786
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17787
 
      fi
17788
 
      ;;
17789
 
 
17790
 
    uts4*)
17791
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17792
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17793
 
      hardcode_shlibpath_var_GCJ=no
17794
 
      ;;
17795
 
 
17796
 
    *)
17797
 
      ld_shlibs_GCJ=no
17798
 
      ;;
17799
 
    esac
17800
 
  fi
17801
 
 
17802
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17803
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17804
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
17805
 
 
17806
 
#
17807
 
# Do we need to explicitly link libc?
17808
 
#
17809
 
case "x$archive_cmds_need_lc_GCJ" in
17810
 
x|xyes)
17811
 
  # Assume -lc should be added
17812
 
  archive_cmds_need_lc_GCJ=yes
17813
 
 
17814
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
17815
 
    case $archive_cmds_GCJ in
17816
 
    *'~'*)
17817
 
      # FIXME: we may have to deal with multi-command sequences.
17818
 
      ;;
17819
 
    '$CC '*)
17820
 
      # Test whether the compiler implicitly links with -lc since on some
17821
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17822
 
      # to ld, don't add -lc before -lgcc.
17823
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17824
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17825
 
      $rm conftest*
17826
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17827
 
 
17828
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17829
 
  (eval $ac_compile) 2>&5
17830
 
  ac_status=$?
17831
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17832
 
  (exit $ac_status); } 2>conftest.err; then
17833
 
        soname=conftest
17834
 
        lib=conftest
17835
 
        libobjs=conftest.$ac_objext
17836
 
        deplibs=
17837
 
        wl=$lt_prog_compiler_wl_GCJ
17838
 
        pic_flag=$lt_prog_compiler_pic_GCJ
17839
 
        compiler_flags=-v
17840
 
        linker_flags=-v
17841
 
        verstring=
17842
 
        output_objdir=.
17843
 
        libname=conftest
17844
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
17845
 
        allow_undefined_flag_GCJ=
17846
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17847
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
17848
 
  ac_status=$?
17849
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850
 
  (exit $ac_status); }
17851
 
        then
17852
 
          archive_cmds_need_lc_GCJ=no
17853
 
        else
17854
 
          archive_cmds_need_lc_GCJ=yes
17855
 
        fi
17856
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
17857
 
      else
17858
 
        cat conftest.err 1>&5
17859
 
      fi
17860
 
      $rm conftest*
17861
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17862
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17863
 
      ;;
17864
 
    esac
17865
 
  fi
17866
 
  ;;
17867
 
esac
17868
 
 
17869
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17870
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17871
 
library_names_spec=
17872
 
libname_spec='lib$name'
17873
 
soname_spec=
17874
 
shrext_cmds=".so"
17875
 
postinstall_cmds=
17876
 
postuninstall_cmds=
17877
 
finish_cmds=
17878
 
finish_eval=
17879
 
shlibpath_var=
17880
 
shlibpath_overrides_runpath=unknown
17881
 
version_type=none
17882
 
dynamic_linker="$host_os ld.so"
17883
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17884
 
if test "$GCC" = yes; then
17885
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17886
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
17887
 
    # if the path contains ";" then we assume it to be the separator
17888
 
    # otherwise default to the standard path separator (i.e. ":") - it is
17889
 
    # assumed that no part of a normal pathname contains ";" but that should
17890
 
    # okay in the real world where ";" in dirpaths is itself problematic.
17891
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17892
 
  else
17893
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17894
 
  fi
17895
 
else
17896
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17897
 
fi
17898
 
need_lib_prefix=unknown
17899
 
hardcode_into_libs=no
17900
 
 
17901
 
# when you set need_version to no, make sure it does not cause -set_version
17902
 
# flags to be left without arguments
17903
 
need_version=unknown
17904
 
 
17905
 
case $host_os in
17906
 
aix3*)
17907
 
  version_type=linux
17908
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17909
 
  shlibpath_var=LIBPATH
17910
 
 
17911
 
  # AIX 3 has no versioning support, so we append a major version to the name.
17912
 
  soname_spec='${libname}${release}${shared_ext}$major'
17913
 
  ;;
17914
 
 
17915
 
aix4* | aix5*)
17916
 
  version_type=linux
17917
 
  need_lib_prefix=no
17918
 
  need_version=no
17919
 
  hardcode_into_libs=yes
17920
 
  if test "$host_cpu" = ia64; then
17921
 
    # AIX 5 supports IA64
17922
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17923
 
    shlibpath_var=LD_LIBRARY_PATH
17924
 
  else
17925
 
    # With GCC up to 2.95.x, collect2 would create an import file
17926
 
    # for dependence libraries.  The import file would start with
17927
 
    # the line `#! .'.  This would cause the generated library to
17928
 
    # depend on `.', always an invalid library.  This was fixed in
17929
 
    # development snapshots of GCC prior to 3.0.
17930
 
    case $host_os in
17931
 
      aix4 | aix4.[01] | aix4.[01].*)
17932
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17933
 
           echo ' yes '
17934
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
17935
 
        :
17936
 
      else
17937
 
        can_build_shared=no
17938
 
      fi
17939
 
      ;;
17940
 
    esac
17941
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17942
 
    # soname into executable. Probably we can add versioning support to
17943
 
    # collect2, so additional links can be useful in future.
17944
 
    if test "$aix_use_runtimelinking" = yes; then
17945
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17946
 
      # instead of lib<name>.a to let people know that these are not
17947
 
      # typical AIX shared libraries.
17948
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17949
 
    else
17950
 
      # We preserve .a as extension for shared libraries through AIX4.2
17951
 
      # and later when we are not doing run time linking.
17952
 
      library_names_spec='${libname}${release}.a $libname.a'
17953
 
      soname_spec='${libname}${release}${shared_ext}$major'
17954
 
    fi
17955
 
    shlibpath_var=LIBPATH
17956
 
  fi
17957
 
  ;;
17958
 
 
17959
 
amigaos*)
17960
 
  library_names_spec='$libname.ixlibrary $libname.a'
17961
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
17962
 
  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'
17963
 
  ;;
17964
 
 
17965
 
beos*)
17966
 
  library_names_spec='${libname}${shared_ext}'
17967
 
  dynamic_linker="$host_os ld.so"
17968
 
  shlibpath_var=LIBRARY_PATH
17969
 
  ;;
17970
 
 
17971
 
bsdi[45]*)
17972
 
  version_type=linux
17973
 
  need_version=no
17974
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17975
 
  soname_spec='${libname}${release}${shared_ext}$major'
17976
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17977
 
  shlibpath_var=LD_LIBRARY_PATH
17978
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17979
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17980
 
  # the default ld.so.conf also contains /usr/contrib/lib and
17981
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17982
 
  # libtool to hard-code these into programs
17983
 
  ;;
17984
 
 
17985
 
cygwin* | mingw* | pw32*)
17986
 
  version_type=windows
17987
 
  shrext_cmds=".dll"
17988
 
  need_version=no
17989
 
  need_lib_prefix=no
17990
 
 
17991
 
  case $GCC,$host_os in
17992
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
17993
 
    library_names_spec='$libname.dll.a'
17994
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
17995
 
    postinstall_cmds='base_file=`basename \${file}`~
17996
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17997
 
      dldir=$destdir/`dirname \$dlpath`~
17998
 
      test -d \$dldir || mkdir -p \$dldir~
17999
 
      $install_prog $dir/$dlname \$dldir/$dlname~
18000
 
      chmod a+x \$dldir/$dlname'
18001
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18002
 
      dlpath=$dir/\$dldll~
18003
 
       $rm \$dlpath'
18004
 
    shlibpath_overrides_runpath=yes
18005
 
 
18006
 
    case $host_os in
18007
 
    cygwin*)
18008
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18009
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18010
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18011
 
      ;;
18012
 
    mingw*)
18013
 
      # MinGW DLLs use traditional 'lib' prefix
18014
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18015
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18016
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18017
 
        # It is most probably a Windows format PATH printed by
18018
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
18019
 
        # path with ; separators, and with drive letters. We can handle the
18020
 
        # drive letters (cygwin fileutils understands them), so leave them,
18021
 
        # especially as we might pass files found there to a mingw objdump,
18022
 
        # which wouldn't understand a cygwinified path. Ahh.
18023
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18024
 
      else
18025
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18026
 
      fi
18027
 
      ;;
18028
 
    pw32*)
18029
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
18030
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18031
 
      ;;
18032
 
    esac
18033
 
    ;;
18034
 
 
18035
 
  *)
18036
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18037
 
    ;;
18038
 
  esac
18039
 
  dynamic_linker='Win32 ld.exe'
18040
 
  # FIXME: first we should search . and the directory the executable is in
18041
 
  shlibpath_var=PATH
18042
 
  ;;
18043
 
 
18044
 
darwin* | rhapsody*)
18045
 
  dynamic_linker="$host_os dyld"
18046
 
  version_type=darwin
18047
 
  need_lib_prefix=no
18048
 
  need_version=no
18049
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18050
 
  soname_spec='${libname}${release}${major}$shared_ext'
18051
 
  shlibpath_overrides_runpath=yes
18052
 
  shlibpath_var=DYLD_LIBRARY_PATH
18053
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18054
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18055
 
  if test "$GCC" = yes; then
18056
 
    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"`
18057
 
  else
18058
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18059
 
  fi
18060
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18061
 
  ;;
18062
 
 
18063
 
dgux*)
18064
 
  version_type=linux
18065
 
  need_lib_prefix=no
18066
 
  need_version=no
18067
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18068
 
  soname_spec='${libname}${release}${shared_ext}$major'
18069
 
  shlibpath_var=LD_LIBRARY_PATH
18070
 
  ;;
18071
 
 
18072
 
freebsd1*)
18073
 
  dynamic_linker=no
18074
 
  ;;
18075
 
 
18076
 
kfreebsd*-gnu)
18077
 
  version_type=linux
18078
 
  need_lib_prefix=no
18079
 
  need_version=no
18080
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18081
 
  soname_spec='${libname}${release}${shared_ext}$major'
18082
 
  shlibpath_var=LD_LIBRARY_PATH
18083
 
  shlibpath_overrides_runpath=no
18084
 
  hardcode_into_libs=yes
18085
 
  dynamic_linker='GNU ld.so'
18086
 
  ;;
18087
 
 
18088
 
freebsd* | dragonfly*)
18089
 
  # DragonFly does not have aout.  When/if they implement a new
18090
 
  # versioning mechanism, adjust this.
18091
 
  if test -x /usr/bin/objformat; then
18092
 
    objformat=`/usr/bin/objformat`
18093
 
  else
18094
 
    case $host_os in
18095
 
    freebsd[123]*) objformat=aout ;;
18096
 
    *) objformat=elf ;;
18097
 
    esac
18098
 
  fi
18099
 
  version_type=freebsd-$objformat
18100
 
  case $version_type in
18101
 
    freebsd-elf*)
18102
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18103
 
      need_version=no
18104
 
      need_lib_prefix=no
18105
 
      ;;
18106
 
    freebsd-*)
18107
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18108
 
      need_version=yes
18109
 
      ;;
18110
 
  esac
18111
 
  shlibpath_var=LD_LIBRARY_PATH
18112
 
  case $host_os in
18113
 
  freebsd2*)
18114
 
    shlibpath_overrides_runpath=yes
18115
 
    ;;
18116
 
  freebsd3.[01]* | freebsdelf3.[01]*)
18117
 
    shlibpath_overrides_runpath=yes
18118
 
    hardcode_into_libs=yes
18119
 
    ;;
18120
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18121
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18122
 
    shlibpath_overrides_runpath=no
18123
 
    hardcode_into_libs=yes
18124
 
    ;;
18125
 
  freebsd*) # from 4.6 on
18126
 
    shlibpath_overrides_runpath=yes
18127
 
    hardcode_into_libs=yes
18128
 
    ;;
18129
 
  esac
18130
 
  ;;
18131
 
 
18132
 
gnu*)
18133
 
  version_type=linux
18134
 
  need_lib_prefix=no
18135
 
  need_version=no
18136
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18137
 
  soname_spec='${libname}${release}${shared_ext}$major'
18138
 
  shlibpath_var=LD_LIBRARY_PATH
18139
 
  hardcode_into_libs=yes
18140
 
  ;;
18141
 
 
18142
 
hpux9* | hpux10* | hpux11*)
18143
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
18144
 
  # link against other versions.
18145
 
  version_type=sunos
18146
 
  need_lib_prefix=no
18147
 
  need_version=no
18148
 
  case $host_cpu in
18149
 
  ia64*)
18150
 
    shrext_cmds='.so'
18151
 
    hardcode_into_libs=yes
18152
 
    dynamic_linker="$host_os dld.so"
18153
 
    shlibpath_var=LD_LIBRARY_PATH
18154
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18155
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18156
 
    soname_spec='${libname}${release}${shared_ext}$major'
18157
 
    if test "X$HPUX_IA64_MODE" = X32; then
18158
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18159
 
    else
18160
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18161
 
    fi
18162
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18163
 
    ;;
18164
 
   hppa*64*)
18165
 
     shrext_cmds='.sl'
18166
 
     hardcode_into_libs=yes
18167
 
     dynamic_linker="$host_os dld.sl"
18168
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18169
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18170
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18171
 
     soname_spec='${libname}${release}${shared_ext}$major'
18172
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18173
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18174
 
     ;;
18175
 
   *)
18176
 
    shrext_cmds='.sl'
18177
 
    dynamic_linker="$host_os dld.sl"
18178
 
    shlibpath_var=SHLIB_PATH
18179
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18180
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18181
 
    soname_spec='${libname}${release}${shared_ext}$major'
18182
 
    ;;
18183
 
  esac
18184
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
18185
 
  postinstall_cmds='chmod 555 $lib'
18186
 
  ;;
18187
 
 
18188
 
interix3*)
18189
 
  version_type=linux
18190
 
  need_lib_prefix=no
18191
 
  need_version=no
18192
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18193
 
  soname_spec='${libname}${release}${shared_ext}$major'
18194
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18195
 
  shlibpath_var=LD_LIBRARY_PATH
18196
 
  shlibpath_overrides_runpath=no
18197
 
  hardcode_into_libs=yes
18198
 
  ;;
18199
 
 
18200
 
irix5* | irix6* | nonstopux*)
18201
 
  case $host_os in
18202
 
    nonstopux*) version_type=nonstopux ;;
18203
 
    *)
18204
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
18205
 
                version_type=linux
18206
 
        else
18207
 
                version_type=irix
18208
 
        fi ;;
18209
 
  esac
18210
 
  need_lib_prefix=no
18211
 
  need_version=no
18212
 
  soname_spec='${libname}${release}${shared_ext}$major'
18213
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18214
 
  case $host_os in
18215
 
  irix5* | nonstopux*)
18216
 
    libsuff= shlibsuff=
18217
 
    ;;
18218
 
  *)
18219
 
    case $LD in # libtool.m4 will add one of these switches to LD
18220
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18221
 
      libsuff= shlibsuff= libmagic=32-bit;;
18222
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18223
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
18224
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18225
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
18226
 
    *) libsuff= shlibsuff= libmagic=never-match;;
18227
 
    esac
18228
 
    ;;
18229
 
  esac
18230
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18231
 
  shlibpath_overrides_runpath=no
18232
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18233
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18234
 
  hardcode_into_libs=yes
18235
 
  ;;
18236
 
 
18237
 
# No shared lib support for Linux oldld, aout, or coff.
18238
 
linux*oldld* | linux*aout* | linux*coff*)
18239
 
  dynamic_linker=no
18240
 
  ;;
18241
 
 
18242
 
# This must be Linux ELF.
18243
 
linux*)
18244
 
  version_type=linux
18245
 
  need_lib_prefix=no
18246
 
  need_version=no
18247
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18248
 
  soname_spec='${libname}${release}${shared_ext}$major'
18249
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18250
 
  shlibpath_var=LD_LIBRARY_PATH
18251
 
  shlibpath_overrides_runpath=no
18252
 
  # This implies no fast_install, which is unacceptable.
18253
 
  # Some rework will be needed to allow for fast_install
18254
 
  # before this can be enabled.
18255
 
  hardcode_into_libs=yes
18256
 
 
18257
 
  # find out which ABI we are using
18258
 
  libsuff=
18259
 
  case "$host_cpu" in
18260
 
  x86_64*|s390x*|powerpc64*)
18261
 
    echo '#line 18261 "configure"' > conftest.$ac_ext
18262
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18263
 
  (eval $ac_compile) 2>&5
18264
 
  ac_status=$?
18265
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266
 
  (exit $ac_status); }; then
18267
 
      case `/usr/bin/file conftest.$ac_objext` in
18268
 
      *64-bit*)
18269
 
        libsuff=64
18270
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18271
 
        ;;
18272
 
      esac
18273
 
    fi
18274
 
    rm -rf conftest*
18275
 
    ;;
18276
 
  esac
18277
 
 
18278
 
  # Append ld.so.conf contents to the search path
18279
 
  if test -f /etc/ld.so.conf; then
18280
 
    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' ' '`
18281
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
18282
 
  fi
18283
 
 
18284
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
18285
 
  # powerpc, because MkLinux only supported shared libraries with the
18286
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
18287
 
  # most powerpc-linux boxes support dynamic linking these days and
18288
 
  # people can always --disable-shared, the test was removed, and we
18289
 
  # assume the GNU/Linux dynamic linker is in use.
18290
 
  dynamic_linker='GNU/Linux ld.so'
18291
 
  ;;
18292
 
 
18293
 
knetbsd*-gnu)
18294
 
  version_type=linux
18295
 
  need_lib_prefix=no
18296
 
  need_version=no
18297
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18298
 
  soname_spec='${libname}${release}${shared_ext}$major'
18299
 
  shlibpath_var=LD_LIBRARY_PATH
18300
 
  shlibpath_overrides_runpath=no
18301
 
  hardcode_into_libs=yes
18302
 
  dynamic_linker='GNU ld.so'
18303
 
  ;;
18304
 
 
18305
 
netbsd*)
18306
 
  version_type=sunos
18307
 
  need_lib_prefix=no
18308
 
  need_version=no
18309
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18310
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18311
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18312
 
    dynamic_linker='NetBSD (a.out) ld.so'
18313
 
  else
18314
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18315
 
    soname_spec='${libname}${release}${shared_ext}$major'
18316
 
    dynamic_linker='NetBSD ld.elf_so'
18317
 
  fi
18318
 
  shlibpath_var=LD_LIBRARY_PATH
18319
 
  shlibpath_overrides_runpath=yes
18320
 
  hardcode_into_libs=yes
18321
 
  ;;
18322
 
 
18323
 
newsos6)
18324
 
  version_type=linux
18325
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18326
 
  shlibpath_var=LD_LIBRARY_PATH
18327
 
  shlibpath_overrides_runpath=yes
18328
 
  ;;
18329
 
 
18330
 
nto-qnx*)
18331
 
  version_type=linux
18332
 
  need_lib_prefix=no
18333
 
  need_version=no
18334
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18335
 
  soname_spec='${libname}${release}${shared_ext}$major'
18336
 
  shlibpath_var=LD_LIBRARY_PATH
18337
 
  shlibpath_overrides_runpath=yes
18338
 
  ;;
18339
 
 
18340
 
openbsd*)
18341
 
  version_type=sunos
18342
 
  sys_lib_dlsearch_path_spec="/usr/lib"
18343
 
  need_lib_prefix=no
18344
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18345
 
  case $host_os in
18346
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18347
 
    *)                         need_version=no  ;;
18348
 
  esac
18349
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18350
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18351
 
  shlibpath_var=LD_LIBRARY_PATH
18352
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18353
 
    case $host_os in
18354
 
      openbsd2.[89] | openbsd2.[89].*)
18355
 
        shlibpath_overrides_runpath=no
18356
 
        ;;
18357
 
      *)
18358
 
        shlibpath_overrides_runpath=yes
18359
 
        ;;
18360
 
      esac
18361
 
  else
18362
 
    shlibpath_overrides_runpath=yes
18363
 
  fi
18364
 
  ;;
18365
 
 
18366
 
os2*)
18367
 
  libname_spec='$name'
18368
 
  shrext_cmds=".dll"
18369
 
  need_lib_prefix=no
18370
 
  library_names_spec='$libname${shared_ext} $libname.a'
18371
 
  dynamic_linker='OS/2 ld.exe'
18372
 
  shlibpath_var=LIBPATH
18373
 
  ;;
18374
 
 
18375
 
osf3* | osf4* | osf5*)
18376
 
  version_type=osf
18377
 
  need_lib_prefix=no
18378
 
  need_version=no
18379
 
  soname_spec='${libname}${release}${shared_ext}$major'
18380
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18381
 
  shlibpath_var=LD_LIBRARY_PATH
18382
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18383
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18384
 
  ;;
18385
 
 
18386
 
solaris*)
18387
 
  version_type=linux
18388
 
  need_lib_prefix=no
18389
 
  need_version=no
18390
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18391
 
  soname_spec='${libname}${release}${shared_ext}$major'
18392
 
  shlibpath_var=LD_LIBRARY_PATH
18393
 
  shlibpath_overrides_runpath=yes
18394
 
  hardcode_into_libs=yes
18395
 
  # ldd complains unless libraries are executable
18396
 
  postinstall_cmds='chmod +x $lib'
18397
 
  ;;
18398
 
 
18399
 
sunos4*)
18400
 
  version_type=sunos
18401
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18402
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18403
 
  shlibpath_var=LD_LIBRARY_PATH
18404
 
  shlibpath_overrides_runpath=yes
18405
 
  if test "$with_gnu_ld" = yes; then
18406
 
    need_lib_prefix=no
18407
 
  fi
18408
 
  need_version=yes
18409
 
  ;;
18410
 
 
18411
 
sysv4 | sysv4.3*)
18412
 
  version_type=linux
18413
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18414
 
  soname_spec='${libname}${release}${shared_ext}$major'
18415
 
  shlibpath_var=LD_LIBRARY_PATH
18416
 
  case $host_vendor in
18417
 
    sni)
18418
 
      shlibpath_overrides_runpath=no
18419
 
      need_lib_prefix=no
18420
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
18421
 
      runpath_var=LD_RUN_PATH
18422
 
      ;;
18423
 
    siemens)
18424
 
      need_lib_prefix=no
18425
 
      ;;
18426
 
    motorola)
18427
 
      need_lib_prefix=no
18428
 
      need_version=no
18429
 
      shlibpath_overrides_runpath=no
18430
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18431
 
      ;;
18432
 
  esac
18433
 
  ;;
18434
 
 
18435
 
sysv4*MP*)
18436
 
  if test -d /usr/nec ;then
18437
 
    version_type=linux
18438
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18439
 
    soname_spec='$libname${shared_ext}.$major'
18440
 
    shlibpath_var=LD_LIBRARY_PATH
18441
 
  fi
18442
 
  ;;
18443
 
 
18444
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18445
 
  version_type=freebsd-elf
18446
 
  need_lib_prefix=no
18447
 
  need_version=no
18448
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18449
 
  soname_spec='${libname}${release}${shared_ext}$major'
18450
 
  shlibpath_var=LD_LIBRARY_PATH
18451
 
  hardcode_into_libs=yes
18452
 
  if test "$with_gnu_ld" = yes; then
18453
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18454
 
    shlibpath_overrides_runpath=no
18455
 
  else
18456
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18457
 
    shlibpath_overrides_runpath=yes
18458
 
    case $host_os in
18459
 
      sco3.2v5*)
18460
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18461
 
        ;;
18462
 
    esac
18463
 
  fi
18464
 
  sys_lib_dlsearch_path_spec='/usr/lib'
18465
 
  ;;
18466
 
 
18467
 
uts4*)
18468
 
  version_type=linux
18469
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18470
 
  soname_spec='${libname}${release}${shared_ext}$major'
18471
 
  shlibpath_var=LD_LIBRARY_PATH
18472
 
  ;;
18473
 
 
18474
 
*)
18475
 
  dynamic_linker=no
18476
 
  ;;
18477
 
esac
18478
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18479
 
echo "${ECHO_T}$dynamic_linker" >&6; }
18480
 
test "$dynamic_linker" = no && can_build_shared=no
18481
 
 
18482
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18483
 
if test "$GCC" = yes; then
18484
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18485
 
fi
18486
 
 
18487
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18488
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18489
 
hardcode_action_GCJ=
18490
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18491
 
   test -n "$runpath_var_GCJ" || \
18492
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18493
 
 
18494
 
  # We can hardcode non-existant directories.
18495
 
  if test "$hardcode_direct_GCJ" != no &&
18496
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
18497
 
     # have to relink, otherwise we might link with an installed library
18498
 
     # when we should be linking with a yet-to-be-installed one
18499
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18500
 
     test "$hardcode_minus_L_GCJ" != no; then
18501
 
    # Linking always hardcodes the temporary library directory.
18502
 
    hardcode_action_GCJ=relink
18503
 
  else
18504
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
18505
 
    hardcode_action_GCJ=immediate
18506
 
  fi
18507
 
else
18508
 
  # We cannot hardcode anything, or else we can only hardcode existing
18509
 
  # directories.
18510
 
  hardcode_action_GCJ=unsupported
18511
 
fi
18512
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18513
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18514
 
 
18515
 
if test "$hardcode_action_GCJ" = relink; then
18516
 
  # Fast installation is not supported
18517
 
  enable_fast_install=no
18518
 
elif test "$shlibpath_overrides_runpath" = yes ||
18519
 
     test "$enable_shared" = no; then
18520
 
  # Fast installation is not necessary
18521
 
  enable_fast_install=needless
18522
 
fi
18523
 
 
18524
 
 
18525
 
# The else clause should only fire when bootstrapping the
18526
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
18527
 
# with your package, and you will get complaints that there are
18528
 
# no rules to generate ltmain.sh.
18529
 
if test -f "$ltmain"; then
18530
 
  # See if we are running on zsh, and set the options which allow our commands through
18531
 
  # without removal of \ escapes.
18532
 
  if test -n "${ZSH_VERSION+set}" ; then
18533
 
    setopt NO_GLOB_SUBST
18534
 
  fi
18535
 
  # Now quote all the things that may contain metacharacters while being
18536
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18537
 
  # variables and quote the copies for generation of the libtool script.
18538
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18539
 
    SED SHELL STRIP \
18540
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18541
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18542
 
    deplibs_check_method reload_flag reload_cmds need_locks \
18543
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18544
 
    lt_cv_sys_global_symbol_to_c_name_address \
18545
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18546
 
    old_postinstall_cmds old_postuninstall_cmds \
18547
 
    compiler_GCJ \
18548
 
    CC_GCJ \
18549
 
    LD_GCJ \
18550
 
    lt_prog_compiler_wl_GCJ \
18551
 
    lt_prog_compiler_pic_GCJ \
18552
 
    lt_prog_compiler_static_GCJ \
18553
 
    lt_prog_compiler_no_builtin_flag_GCJ \
18554
 
    export_dynamic_flag_spec_GCJ \
18555
 
    thread_safe_flag_spec_GCJ \
18556
 
    whole_archive_flag_spec_GCJ \
18557
 
    enable_shared_with_static_runtimes_GCJ \
18558
 
    old_archive_cmds_GCJ \
18559
 
    old_archive_from_new_cmds_GCJ \
18560
 
    predep_objects_GCJ \
18561
 
    postdep_objects_GCJ \
18562
 
    predeps_GCJ \
18563
 
    postdeps_GCJ \
18564
 
    compiler_lib_search_path_GCJ \
18565
 
    archive_cmds_GCJ \
18566
 
    archive_expsym_cmds_GCJ \
18567
 
    postinstall_cmds_GCJ \
18568
 
    postuninstall_cmds_GCJ \
18569
 
    old_archive_from_expsyms_cmds_GCJ \
18570
 
    allow_undefined_flag_GCJ \
18571
 
    no_undefined_flag_GCJ \
18572
 
    export_symbols_cmds_GCJ \
18573
 
    hardcode_libdir_flag_spec_GCJ \
18574
 
    hardcode_libdir_flag_spec_ld_GCJ \
18575
 
    hardcode_libdir_separator_GCJ \
18576
 
    hardcode_automatic_GCJ \
18577
 
    module_cmds_GCJ \
18578
 
    module_expsym_cmds_GCJ \
18579
 
    lt_cv_prog_compiler_c_o_GCJ \
18580
 
    exclude_expsyms_GCJ \
18581
 
    include_expsyms_GCJ; do
18582
 
 
18583
 
    case $var in
18584
 
    old_archive_cmds_GCJ | \
18585
 
    old_archive_from_new_cmds_GCJ | \
18586
 
    archive_cmds_GCJ | \
18587
 
    archive_expsym_cmds_GCJ | \
18588
 
    module_cmds_GCJ | \
18589
 
    module_expsym_cmds_GCJ | \
18590
 
    old_archive_from_expsyms_cmds_GCJ | \
18591
 
    export_symbols_cmds_GCJ | \
18592
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
18593
 
    postinstall_cmds | postuninstall_cmds | \
18594
 
    old_postinstall_cmds | old_postuninstall_cmds | \
18595
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18596
 
      # Double-quote double-evaled strings.
18597
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18598
 
      ;;
18599
 
    *)
18600
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18601
 
      ;;
18602
 
    esac
18603
 
  done
18604
 
 
18605
 
  case $lt_echo in
18606
 
  *'\$0 --fallback-echo"')
18607
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18608
 
    ;;
18609
 
  esac
18610
 
 
18611
 
cfgfile="$ofile"
18612
 
 
18613
 
  cat <<__EOF__ >> "$cfgfile"
18614
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18615
 
 
18616
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18617
 
 
18618
 
# Shell to use when invoking shell scripts.
18619
 
SHELL=$lt_SHELL
18620
 
 
18621
 
# Whether or not to build shared libraries.
18622
 
build_libtool_libs=$enable_shared
18623
 
 
18624
 
# Whether or not to build static libraries.
18625
 
build_old_libs=$enable_static
18626
 
 
18627
 
# Whether or not to add -lc for building shared libraries.
18628
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18629
 
 
18630
 
# Whether or not to disallow shared libs when runtime libs are static
18631
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18632
 
 
18633
 
# Whether or not to optimize for fast installation.
18634
 
fast_install=$enable_fast_install
18635
 
 
18636
 
# The host system.
18637
 
host_alias=$host_alias
18638
 
host=$host
18639
 
host_os=$host_os
18640
 
 
18641
 
# The build system.
18642
 
build_alias=$build_alias
18643
 
build=$build
18644
 
build_os=$build_os
18645
 
 
18646
 
# An echo program that does not interpret backslashes.
18647
 
echo=$lt_echo
18648
 
 
18649
 
# The archiver.
18650
 
AR=$lt_AR
18651
 
AR_FLAGS=$lt_AR_FLAGS
18652
 
 
18653
 
# A C compiler.
18654
 
LTCC=$lt_LTCC
18655
 
 
18656
 
# LTCC compiler flags.
18657
 
LTCFLAGS=$lt_LTCFLAGS
18658
 
 
18659
 
# A language-specific compiler.
18660
 
CC=$lt_compiler_GCJ
18661
 
 
18662
 
# Is the compiler the GNU C compiler?
18663
 
with_gcc=$GCC_GCJ
18664
 
 
18665
 
# An ERE matcher.
18666
 
EGREP=$lt_EGREP
18667
 
 
18668
 
# The linker used to build libraries.
18669
 
LD=$lt_LD_GCJ
18670
 
 
18671
 
# Whether we need hard or soft links.
18672
 
LN_S=$lt_LN_S
18673
 
 
18674
 
# A BSD-compatible nm program.
18675
 
NM=$lt_NM
18676
 
 
18677
 
# A symbol stripping program
18678
 
STRIP=$lt_STRIP
18679
 
 
18680
 
# Used to examine libraries when file_magic_cmd begins "file"
18681
 
MAGIC_CMD=$MAGIC_CMD
18682
 
 
18683
 
# Used on cygwin: DLL creation program.
18684
 
DLLTOOL="$DLLTOOL"
18685
 
 
18686
 
# Used on cygwin: object dumper.
18687
 
OBJDUMP="$OBJDUMP"
18688
 
 
18689
 
# Used on cygwin: assembler.
18690
 
AS="$AS"
18691
 
 
18692
 
# The name of the directory that contains temporary libtool files.
18693
 
objdir=$objdir
18694
 
 
18695
 
# How to create reloadable object files.
18696
 
reload_flag=$lt_reload_flag
18697
 
reload_cmds=$lt_reload_cmds
18698
 
 
18699
 
# How to pass a linker flag through the compiler.
18700
 
wl=$lt_lt_prog_compiler_wl_GCJ
18701
 
 
18702
 
# Object file suffix (normally "o").
18703
 
objext="$ac_objext"
18704
 
 
18705
 
# Old archive suffix (normally "a").
18706
 
libext="$libext"
18707
 
 
18708
 
# Shared library suffix (normally ".so").
18709
 
shrext_cmds='$shrext_cmds'
18710
 
 
18711
 
# Executable file suffix (normally "").
18712
 
exeext="$exeext"
18713
 
 
18714
 
# Additional compiler flags for building library objects.
18715
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
18716
 
pic_mode=$pic_mode
18717
 
 
18718
 
# What is the maximum length of a command?
18719
 
max_cmd_len=$lt_cv_sys_max_cmd_len
18720
 
 
18721
 
# Does compiler simultaneously support -c and -o options?
18722
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18723
 
 
18724
 
# Must we lock files when doing compilation?
18725
 
need_locks=$lt_need_locks
18726
 
 
18727
 
# Do we need the lib prefix for modules?
18728
 
need_lib_prefix=$need_lib_prefix
18729
 
 
18730
 
# Do we need a version for libraries?
18731
 
need_version=$need_version
18732
 
 
18733
 
# Whether dlopen is supported.
18734
 
dlopen_support=$enable_dlopen
18735
 
 
18736
 
# Whether dlopen of programs is supported.
18737
 
dlopen_self=$enable_dlopen_self
18738
 
 
18739
 
# Whether dlopen of statically linked programs is supported.
18740
 
dlopen_self_static=$enable_dlopen_self_static
18741
 
 
18742
 
# Compiler flag to prevent dynamic linking.
18743
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
18744
 
 
18745
 
# Compiler flag to turn off builtin functions.
18746
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18747
 
 
18748
 
# Compiler flag to allow reflexive dlopens.
18749
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18750
 
 
18751
 
# Compiler flag to generate shared objects directly from archives.
18752
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18753
 
 
18754
 
# Compiler flag to generate thread-safe objects.
18755
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18756
 
 
18757
 
# Library versioning type.
18758
 
version_type=$version_type
18759
 
 
18760
 
# Format of library name prefix.
18761
 
libname_spec=$lt_libname_spec
18762
 
 
18763
 
# List of archive names.  First name is the real one, the rest are links.
18764
 
# The last name is the one that the linker finds with -lNAME.
18765
 
library_names_spec=$lt_library_names_spec
18766
 
 
18767
 
# The coded name of the library, if different from the real name.
18768
 
soname_spec=$lt_soname_spec
18769
 
 
18770
 
# Commands used to build and install an old-style archive.
18771
 
RANLIB=$lt_RANLIB
18772
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
18773
 
old_postinstall_cmds=$lt_old_postinstall_cmds
18774
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18775
 
 
18776
 
# Create an old-style archive from a shared archive.
18777
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18778
 
 
18779
 
# Create a temporary old-style archive to link instead of a shared archive.
18780
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18781
 
 
18782
 
# Commands used to build and install a shared archive.
18783
 
archive_cmds=$lt_archive_cmds_GCJ
18784
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18785
 
postinstall_cmds=$lt_postinstall_cmds
18786
 
postuninstall_cmds=$lt_postuninstall_cmds
18787
 
 
18788
 
# Commands used to build a loadable module (assumed same as above if empty)
18789
 
module_cmds=$lt_module_cmds_GCJ
18790
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18791
 
 
18792
 
# Commands to strip libraries.
18793
 
old_striplib=$lt_old_striplib
18794
 
striplib=$lt_striplib
18795
 
 
18796
 
# Dependencies to place before the objects being linked to create a
18797
 
# shared library.
18798
 
predep_objects=$lt_predep_objects_GCJ
18799
 
 
18800
 
# Dependencies to place after the objects being linked to create a
18801
 
# shared library.
18802
 
postdep_objects=$lt_postdep_objects_GCJ
18803
 
 
18804
 
# Dependencies to place before the objects being linked to create a
18805
 
# shared library.
18806
 
predeps=$lt_predeps_GCJ
18807
 
 
18808
 
# Dependencies to place after the objects being linked to create a
18809
 
# shared library.
18810
 
postdeps=$lt_postdeps_GCJ
18811
 
 
18812
 
# The library search path used internally by the compiler when linking
18813
 
# a shared library.
18814
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18815
 
 
18816
 
# Method to check whether dependent libraries are shared objects.
18817
 
deplibs_check_method=$lt_deplibs_check_method
18818
 
 
18819
 
# Command to use when deplibs_check_method == file_magic.
18820
 
file_magic_cmd=$lt_file_magic_cmd
18821
 
 
18822
 
# Flag that allows shared libraries with undefined symbols to be built.
18823
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18824
 
 
18825
 
# Flag that forces no undefined symbols.
18826
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
18827
 
 
18828
 
# Commands used to finish a libtool library installation in a directory.
18829
 
finish_cmds=$lt_finish_cmds
18830
 
 
18831
 
# Same as above, but a single script fragment to be evaled but not shown.
18832
 
finish_eval=$lt_finish_eval
18833
 
 
18834
 
# Take the output of nm and produce a listing of raw symbols and C names.
18835
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18836
 
 
18837
 
# Transform the output of nm in a proper C declaration
18838
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18839
 
 
18840
 
# Transform the output of nm in a C name address pair
18841
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18842
 
 
18843
 
# This is the shared library runtime path variable.
18844
 
runpath_var=$runpath_var
18845
 
 
18846
 
# This is the shared library path variable.
18847
 
shlibpath_var=$shlibpath_var
18848
 
 
18849
 
# Is shlibpath searched before the hard-coded library search path?
18850
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18851
 
 
18852
 
# How to hardcode a shared library path into an executable.
18853
 
hardcode_action=$hardcode_action_GCJ
18854
 
 
18855
 
# Whether we should hardcode library paths into libraries.
18856
 
hardcode_into_libs=$hardcode_into_libs
18857
 
 
18858
 
# Flag to hardcode \$libdir into a binary during linking.
18859
 
# This must work even if \$libdir does not exist.
18860
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18861
 
 
18862
 
# If ld is used when linking, flag to hardcode \$libdir into
18863
 
# a binary during linking. This must work even if \$libdir does
18864
 
# not exist.
18865
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18866
 
 
18867
 
# Whether we need a single -rpath flag with a separated argument.
18868
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18869
 
 
18870
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18871
 
# resulting binary.
18872
 
hardcode_direct=$hardcode_direct_GCJ
18873
 
 
18874
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18875
 
# resulting binary.
18876
 
hardcode_minus_L=$hardcode_minus_L_GCJ
18877
 
 
18878
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18879
 
# the resulting binary.
18880
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18881
 
 
18882
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
18883
 
# and all subsequent libraries and executables linked against it.
18884
 
hardcode_automatic=$hardcode_automatic_GCJ
18885
 
 
18886
 
# Variables whose values should be saved in libtool wrapper scripts and
18887
 
# restored at relink time.
18888
 
variables_saved_for_relink="$variables_saved_for_relink"
18889
 
 
18890
 
# Whether libtool must link a program against all its dependency libraries.
18891
 
link_all_deplibs=$link_all_deplibs_GCJ
18892
 
 
18893
 
# Compile-time system search path for libraries
18894
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18895
 
 
18896
 
# Run-time system search path for libraries
18897
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18898
 
 
18899
 
# Fix the shell variable \$srcfile for the compiler.
18900
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
18901
 
 
18902
 
# Set to yes if exported symbols are required.
18903
 
always_export_symbols=$always_export_symbols_GCJ
18904
 
 
18905
 
# The commands to list exported symbols.
18906
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18907
 
 
18908
 
# The commands to extract the exported symbol list from a shared archive.
18909
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18910
 
 
18911
 
# Symbols that should not be listed in the preloaded symbols.
18912
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
18913
 
 
18914
 
# Symbols that must always be exported.
18915
 
include_expsyms=$lt_include_expsyms_GCJ
18916
 
 
18917
 
# ### END LIBTOOL TAG CONFIG: $tagname
18918
 
 
18919
 
__EOF__
18920
 
 
18921
 
 
18922
 
else
18923
 
  # If there is no Makefile yet, we rely on a make rule to execute
18924
 
  # `config.status --recheck' to rerun these tests and create the
18925
 
  # libtool script then.
18926
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18927
 
  if test -f "$ltmain_in"; then
18928
 
    test -f Makefile && make "$ltmain"
18929
 
  fi
18930
 
fi
18931
 
 
18932
 
 
18933
 
ac_ext=c
18934
 
ac_cpp='$CPP $CPPFLAGS'
18935
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18936
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18937
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
18938
 
 
18939
 
CC="$lt_save_CC"
18940
 
 
18941
 
        else
18942
 
          tagname=""
18943
 
        fi
18944
 
        ;;
18945
 
 
18946
 
      RC)
18947
 
 
18948
 
 
18949
 
# Source file extension for RC test sources.
18950
 
ac_ext=rc
18951
 
 
18952
 
# Object file extension for compiled RC test sources.
18953
 
objext=o
18954
 
objext_RC=$objext
18955
 
 
18956
 
# Code to be used in simple compile tests
18957
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18958
 
 
18959
 
# Code to be used in simple link tests
18960
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
18961
 
 
18962
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
18963
 
 
18964
 
# If no C compiler was specified, use CC.
18965
 
LTCC=${LTCC-"$CC"}
18966
 
 
18967
 
# If no C compiler flags were specified, use CFLAGS.
18968
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18969
 
 
18970
 
# Allow CC to be a program name with arguments.
18971
 
compiler=$CC
18972
 
 
18973
 
 
18974
 
# save warnings/boilerplate of simple test code
18975
 
ac_outfile=conftest.$ac_objext
18976
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
18977
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18978
 
_lt_compiler_boilerplate=`cat conftest.err`
18979
 
$rm conftest*
18980
 
 
18981
 
ac_outfile=conftest.$ac_objext
18982
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
18983
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18984
 
_lt_linker_boilerplate=`cat conftest.err`
18985
 
$rm conftest*
18986
 
 
18987
 
 
18988
 
# Allow CC to be a program name with arguments.
18989
 
lt_save_CC="$CC"
18990
 
CC=${RC-"windres"}
18991
 
compiler=$CC
18992
 
compiler_RC=$CC
18993
 
for cc_temp in $compiler""; do
18994
 
  case $cc_temp in
18995
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18996
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18997
 
    \-*) ;;
18998
 
    *) break;;
18999
 
  esac
19000
 
done
19001
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19002
 
 
19003
 
lt_cv_prog_compiler_c_o_RC=yes
19004
 
 
19005
 
# The else clause should only fire when bootstrapping the
19006
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
19007
 
# with your package, and you will get complaints that there are
19008
 
# no rules to generate ltmain.sh.
19009
 
if test -f "$ltmain"; then
19010
 
  # See if we are running on zsh, and set the options which allow our commands through
19011
 
  # without removal of \ escapes.
19012
 
  if test -n "${ZSH_VERSION+set}" ; then
19013
 
    setopt NO_GLOB_SUBST
19014
 
  fi
19015
 
  # Now quote all the things that may contain metacharacters while being
19016
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19017
 
  # variables and quote the copies for generation of the libtool script.
19018
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19019
 
    SED SHELL STRIP \
19020
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19021
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19022
 
    deplibs_check_method reload_flag reload_cmds need_locks \
19023
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19024
 
    lt_cv_sys_global_symbol_to_c_name_address \
19025
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19026
 
    old_postinstall_cmds old_postuninstall_cmds \
19027
 
    compiler_RC \
19028
 
    CC_RC \
19029
 
    LD_RC \
19030
 
    lt_prog_compiler_wl_RC \
19031
 
    lt_prog_compiler_pic_RC \
19032
 
    lt_prog_compiler_static_RC \
19033
 
    lt_prog_compiler_no_builtin_flag_RC \
19034
 
    export_dynamic_flag_spec_RC \
19035
 
    thread_safe_flag_spec_RC \
19036
 
    whole_archive_flag_spec_RC \
19037
 
    enable_shared_with_static_runtimes_RC \
19038
 
    old_archive_cmds_RC \
19039
 
    old_archive_from_new_cmds_RC \
19040
 
    predep_objects_RC \
19041
 
    postdep_objects_RC \
19042
 
    predeps_RC \
19043
 
    postdeps_RC \
19044
 
    compiler_lib_search_path_RC \
19045
 
    archive_cmds_RC \
19046
 
    archive_expsym_cmds_RC \
19047
 
    postinstall_cmds_RC \
19048
 
    postuninstall_cmds_RC \
19049
 
    old_archive_from_expsyms_cmds_RC \
19050
 
    allow_undefined_flag_RC \
19051
 
    no_undefined_flag_RC \
19052
 
    export_symbols_cmds_RC \
19053
 
    hardcode_libdir_flag_spec_RC \
19054
 
    hardcode_libdir_flag_spec_ld_RC \
19055
 
    hardcode_libdir_separator_RC \
19056
 
    hardcode_automatic_RC \
19057
 
    module_cmds_RC \
19058
 
    module_expsym_cmds_RC \
19059
 
    lt_cv_prog_compiler_c_o_RC \
19060
 
    exclude_expsyms_RC \
19061
 
    include_expsyms_RC; do
19062
 
 
19063
 
    case $var in
19064
 
    old_archive_cmds_RC | \
19065
 
    old_archive_from_new_cmds_RC | \
19066
 
    archive_cmds_RC | \
19067
 
    archive_expsym_cmds_RC | \
19068
 
    module_cmds_RC | \
19069
 
    module_expsym_cmds_RC | \
19070
 
    old_archive_from_expsyms_cmds_RC | \
19071
 
    export_symbols_cmds_RC | \
19072
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19073
 
    postinstall_cmds | postuninstall_cmds | \
19074
 
    old_postinstall_cmds | old_postuninstall_cmds | \
19075
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19076
 
      # Double-quote double-evaled strings.
19077
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19078
 
      ;;
19079
 
    *)
19080
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19081
 
      ;;
19082
 
    esac
19083
 
  done
19084
 
 
19085
 
  case $lt_echo in
19086
 
  *'\$0 --fallback-echo"')
19087
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19088
 
    ;;
19089
 
  esac
19090
 
 
19091
 
cfgfile="$ofile"
19092
 
 
19093
 
  cat <<__EOF__ >> "$cfgfile"
19094
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19095
 
 
19096
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19097
 
 
19098
 
# Shell to use when invoking shell scripts.
19099
 
SHELL=$lt_SHELL
19100
 
 
19101
 
# Whether or not to build shared libraries.
19102
 
build_libtool_libs=$enable_shared
19103
 
 
19104
 
# Whether or not to build static libraries.
19105
 
build_old_libs=$enable_static
19106
 
 
19107
 
# Whether or not to add -lc for building shared libraries.
19108
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
19109
 
 
19110
 
# Whether or not to disallow shared libs when runtime libs are static
19111
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19112
 
 
19113
 
# Whether or not to optimize for fast installation.
19114
 
fast_install=$enable_fast_install
19115
 
 
19116
 
# The host system.
19117
 
host_alias=$host_alias
19118
 
host=$host
19119
 
host_os=$host_os
19120
 
 
19121
 
# The build system.
19122
 
build_alias=$build_alias
19123
 
build=$build
19124
 
build_os=$build_os
19125
 
 
19126
 
# An echo program that does not interpret backslashes.
19127
 
echo=$lt_echo
19128
 
 
19129
 
# The archiver.
19130
 
AR=$lt_AR
19131
 
AR_FLAGS=$lt_AR_FLAGS
19132
 
 
19133
 
# A C compiler.
19134
 
LTCC=$lt_LTCC
19135
 
 
19136
 
# LTCC compiler flags.
19137
 
LTCFLAGS=$lt_LTCFLAGS
19138
 
 
19139
 
# A language-specific compiler.
19140
 
CC=$lt_compiler_RC
19141
 
 
19142
 
# Is the compiler the GNU C compiler?
19143
 
with_gcc=$GCC_RC
19144
 
 
19145
 
# An ERE matcher.
19146
 
EGREP=$lt_EGREP
19147
 
 
19148
 
# The linker used to build libraries.
19149
 
LD=$lt_LD_RC
19150
 
 
19151
 
# Whether we need hard or soft links.
19152
 
LN_S=$lt_LN_S
19153
 
 
19154
 
# A BSD-compatible nm program.
19155
 
NM=$lt_NM
19156
 
 
19157
 
# A symbol stripping program
19158
 
STRIP=$lt_STRIP
19159
 
 
19160
 
# Used to examine libraries when file_magic_cmd begins "file"
19161
 
MAGIC_CMD=$MAGIC_CMD
19162
 
 
19163
 
# Used on cygwin: DLL creation program.
19164
 
DLLTOOL="$DLLTOOL"
19165
 
 
19166
 
# Used on cygwin: object dumper.
19167
 
OBJDUMP="$OBJDUMP"
19168
 
 
19169
 
# Used on cygwin: assembler.
19170
 
AS="$AS"
19171
 
 
19172
 
# The name of the directory that contains temporary libtool files.
19173
 
objdir=$objdir
19174
 
 
19175
 
# How to create reloadable object files.
19176
 
reload_flag=$lt_reload_flag
19177
 
reload_cmds=$lt_reload_cmds
19178
 
 
19179
 
# How to pass a linker flag through the compiler.
19180
 
wl=$lt_lt_prog_compiler_wl_RC
19181
 
 
19182
 
# Object file suffix (normally "o").
19183
 
objext="$ac_objext"
19184
 
 
19185
 
# Old archive suffix (normally "a").
19186
 
libext="$libext"
19187
 
 
19188
 
# Shared library suffix (normally ".so").
19189
 
shrext_cmds='$shrext_cmds'
19190
 
 
19191
 
# Executable file suffix (normally "").
19192
 
exeext="$exeext"
19193
 
 
19194
 
# Additional compiler flags for building library objects.
19195
 
pic_flag=$lt_lt_prog_compiler_pic_RC
19196
 
pic_mode=$pic_mode
19197
 
 
19198
 
# What is the maximum length of a command?
19199
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19200
 
 
19201
 
# Does compiler simultaneously support -c and -o options?
19202
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19203
 
 
19204
 
# Must we lock files when doing compilation?
19205
 
need_locks=$lt_need_locks
19206
 
 
19207
 
# Do we need the lib prefix for modules?
19208
 
need_lib_prefix=$need_lib_prefix
19209
 
 
19210
 
# Do we need a version for libraries?
19211
 
need_version=$need_version
19212
 
 
19213
 
# Whether dlopen is supported.
19214
 
dlopen_support=$enable_dlopen
19215
 
 
19216
 
# Whether dlopen of programs is supported.
19217
 
dlopen_self=$enable_dlopen_self
19218
 
 
19219
 
# Whether dlopen of statically linked programs is supported.
19220
 
dlopen_self_static=$enable_dlopen_self_static
19221
 
 
19222
 
# Compiler flag to prevent dynamic linking.
19223
 
link_static_flag=$lt_lt_prog_compiler_static_RC
19224
 
 
19225
 
# Compiler flag to turn off builtin functions.
19226
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19227
 
 
19228
 
# Compiler flag to allow reflexive dlopens.
19229
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19230
 
 
19231
 
# Compiler flag to generate shared objects directly from archives.
19232
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19233
 
 
19234
 
# Compiler flag to generate thread-safe objects.
19235
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19236
 
 
19237
 
# Library versioning type.
19238
 
version_type=$version_type
19239
 
 
19240
 
# Format of library name prefix.
19241
 
libname_spec=$lt_libname_spec
19242
 
 
19243
 
# List of archive names.  First name is the real one, the rest are links.
19244
 
# The last name is the one that the linker finds with -lNAME.
19245
 
library_names_spec=$lt_library_names_spec
19246
 
 
19247
 
# The coded name of the library, if different from the real name.
19248
 
soname_spec=$lt_soname_spec
19249
 
 
19250
 
# Commands used to build and install an old-style archive.
19251
 
RANLIB=$lt_RANLIB
19252
 
old_archive_cmds=$lt_old_archive_cmds_RC
19253
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19254
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19255
 
 
19256
 
# Create an old-style archive from a shared archive.
19257
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19258
 
 
19259
 
# Create a temporary old-style archive to link instead of a shared archive.
19260
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19261
 
 
19262
 
# Commands used to build and install a shared archive.
19263
 
archive_cmds=$lt_archive_cmds_RC
19264
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19265
 
postinstall_cmds=$lt_postinstall_cmds
19266
 
postuninstall_cmds=$lt_postuninstall_cmds
19267
 
 
19268
 
# Commands used to build a loadable module (assumed same as above if empty)
19269
 
module_cmds=$lt_module_cmds_RC
19270
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
19271
 
 
19272
 
# Commands to strip libraries.
19273
 
old_striplib=$lt_old_striplib
19274
 
striplib=$lt_striplib
19275
 
 
19276
 
# Dependencies to place before the objects being linked to create a
19277
 
# shared library.
19278
 
predep_objects=$lt_predep_objects_RC
19279
 
 
19280
 
# Dependencies to place after the objects being linked to create a
19281
 
# shared library.
19282
 
postdep_objects=$lt_postdep_objects_RC
19283
 
 
19284
 
# Dependencies to place before the objects being linked to create a
19285
 
# shared library.
19286
 
predeps=$lt_predeps_RC
19287
 
 
19288
 
# Dependencies to place after the objects being linked to create a
19289
 
# shared library.
19290
 
postdeps=$lt_postdeps_RC
19291
 
 
19292
 
# The library search path used internally by the compiler when linking
19293
 
# a shared library.
19294
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19295
 
 
19296
 
# Method to check whether dependent libraries are shared objects.
19297
 
deplibs_check_method=$lt_deplibs_check_method
19298
 
 
19299
 
# Command to use when deplibs_check_method == file_magic.
19300
 
file_magic_cmd=$lt_file_magic_cmd
19301
 
 
19302
 
# Flag that allows shared libraries with undefined symbols to be built.
19303
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
19304
 
 
19305
 
# Flag that forces no undefined symbols.
19306
 
no_undefined_flag=$lt_no_undefined_flag_RC
19307
 
 
19308
 
# Commands used to finish a libtool library installation in a directory.
19309
 
finish_cmds=$lt_finish_cmds
19310
 
 
19311
 
# Same as above, but a single script fragment to be evaled but not shown.
19312
 
finish_eval=$lt_finish_eval
19313
 
 
19314
 
# Take the output of nm and produce a listing of raw symbols and C names.
19315
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19316
 
 
19317
 
# Transform the output of nm in a proper C declaration
19318
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19319
 
 
19320
 
# Transform the output of nm in a C name address pair
19321
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19322
 
 
19323
 
# This is the shared library runtime path variable.
19324
 
runpath_var=$runpath_var
19325
 
 
19326
 
# This is the shared library path variable.
19327
 
shlibpath_var=$shlibpath_var
19328
 
 
19329
 
# Is shlibpath searched before the hard-coded library search path?
19330
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19331
 
 
19332
 
# How to hardcode a shared library path into an executable.
19333
 
hardcode_action=$hardcode_action_RC
19334
 
 
19335
 
# Whether we should hardcode library paths into libraries.
19336
 
hardcode_into_libs=$hardcode_into_libs
19337
 
 
19338
 
# Flag to hardcode \$libdir into a binary during linking.
19339
 
# This must work even if \$libdir does not exist.
19340
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19341
 
 
19342
 
# If ld is used when linking, flag to hardcode \$libdir into
19343
 
# a binary during linking. This must work even if \$libdir does
19344
 
# not exist.
19345
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19346
 
 
19347
 
# Whether we need a single -rpath flag with a separated argument.
19348
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19349
 
 
19350
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19351
 
# resulting binary.
19352
 
hardcode_direct=$hardcode_direct_RC
19353
 
 
19354
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19355
 
# resulting binary.
19356
 
hardcode_minus_L=$hardcode_minus_L_RC
19357
 
 
19358
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19359
 
# the resulting binary.
19360
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19361
 
 
19362
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19363
 
# and all subsequent libraries and executables linked against it.
19364
 
hardcode_automatic=$hardcode_automatic_RC
19365
 
 
19366
 
# Variables whose values should be saved in libtool wrapper scripts and
19367
 
# restored at relink time.
19368
 
variables_saved_for_relink="$variables_saved_for_relink"
19369
 
 
19370
 
# Whether libtool must link a program against all its dependency libraries.
19371
 
link_all_deplibs=$link_all_deplibs_RC
19372
 
 
19373
 
# Compile-time system search path for libraries
19374
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19375
 
 
19376
 
# Run-time system search path for libraries
19377
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19378
 
 
19379
 
# Fix the shell variable \$srcfile for the compiler.
19380
 
fix_srcfile_path="$fix_srcfile_path_RC"
19381
 
 
19382
 
# Set to yes if exported symbols are required.
19383
 
always_export_symbols=$always_export_symbols_RC
19384
 
 
19385
 
# The commands to list exported symbols.
19386
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
19387
 
 
19388
 
# The commands to extract the exported symbol list from a shared archive.
19389
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19390
 
 
19391
 
# Symbols that should not be listed in the preloaded symbols.
19392
 
exclude_expsyms=$lt_exclude_expsyms_RC
19393
 
 
19394
 
# Symbols that must always be exported.
19395
 
include_expsyms=$lt_include_expsyms_RC
19396
 
 
19397
 
# ### END LIBTOOL TAG CONFIG: $tagname
19398
 
 
19399
 
__EOF__
19400
 
 
19401
 
 
19402
 
else
19403
 
  # If there is no Makefile yet, we rely on a make rule to execute
19404
 
  # `config.status --recheck' to rerun these tests and create the
19405
 
  # libtool script then.
19406
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19407
 
  if test -f "$ltmain_in"; then
19408
 
    test -f Makefile && make "$ltmain"
19409
 
  fi
19410
 
fi
19411
 
 
19412
 
 
19413
 
ac_ext=c
19414
 
ac_cpp='$CPP $CPPFLAGS'
19415
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19416
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19417
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19418
 
 
19419
 
CC="$lt_save_CC"
19420
 
 
19421
 
        ;;
19422
 
 
19423
 
      *)
19424
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19425
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19426
 
   { (exit 1); exit 1; }; }
19427
 
        ;;
19428
 
      esac
19429
 
 
19430
 
      # Append the new tag name to the list of available tags.
19431
 
      if test -n "$tagname" ; then
19432
 
      available_tags="$available_tags $tagname"
19433
 
    fi
19434
 
    fi
19435
 
  done
19436
 
  IFS="$lt_save_ifs"
19437
 
 
19438
 
  # Now substitute the updated list of available tags.
19439
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19440
 
    mv "${ofile}T" "$ofile"
19441
 
    chmod +x "$ofile"
19442
 
  else
19443
 
    rm -f "${ofile}T"
19444
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19445
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19446
 
   { (exit 1); exit 1; }; }
19447
 
  fi
19448
 
fi
19449
 
 
19450
 
 
19451
 
 
19452
 
# This can be used to rebuild libtool when needed
19453
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
19454
 
 
19455
 
# Always use our own libtool.
19456
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
19457
 
 
19458
 
# Prevent multiple expansion
19459
 
 
19460
 
 
19461
 
 
19462
 
 
19463
 
 
19464
 
 
19465
 
 
19466
 
 
19467
 
 
19468
 
 
19469
 
 
19470
 
 
19471
 
 
19472
 
 
19473
 
 
19474
 
 
19475
 
 
19476
 
 
19477
 
 
19478
 
 
19479
 
extrasub="$extrasub"'
19480
 
/@subdir@/{
19481
 
h
19482
 
g
19483
 
s/@subdir@/vacall_r/
19484
 
p
19485
 
g
19486
 
s/@subdir@/trampoline_r/
19487
 
p
19488
 
d
19489
 
}
19490
 
'
19491
 
 
19492
 
subdirs="$subdirs vacall_r trampoline_r"
19493
 
 
19494
 
ac_config_files="$ac_config_files Makefile"
19495
 
 
19496
 
cat >confcache <<\_ACEOF
19497
 
# This file is a shell script that caches the results of configure
19498
 
# tests run on this system so they can be shared between configure
19499
 
# scripts and configure runs, see configure's option --config-cache.
19500
 
# It is not useful on other systems.  If it contains results you don't
19501
 
# want to keep, you may remove or edit it.
19502
 
#
19503
 
# config.status only pays attention to the cache file if you give it
19504
 
# the --recheck option to rerun configure.
19505
 
#
19506
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
19507
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
19508
 
# following values.
19509
 
 
19510
 
_ACEOF
19511
 
 
19512
 
# The following way of writing the cache mishandles newlines in values,
19513
 
# but we know of no workaround that is simple, portable, and efficient.
19514
 
# So, we kill variables containing newlines.
19515
 
# Ultrix sh set writes to stderr and can't be redirected directly,
19516
 
# and sets the high bit in the cache file unless we assign to the vars.
19517
 
(
19518
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19519
 
    eval ac_val=\$$ac_var
19520
 
    case $ac_val in #(
19521
 
    *${as_nl}*)
19522
 
      case $ac_var in #(
19523
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
19524
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
19525
 
      esac
19526
 
      case $ac_var in #(
19527
 
      _ | IFS | as_nl) ;; #(
19528
 
      *) $as_unset $ac_var ;;
19529
 
      esac ;;
19530
 
    esac
19531
 
  done
19532
 
 
19533
 
  (set) 2>&1 |
19534
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
19535
 
    *${as_nl}ac_space=\ *)
19536
 
      # `set' does not quote correctly, so add quotes (double-quote
19537
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
19538
 
      sed -n \
19539
 
        "s/'/'\\\\''/g;
19540
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19541
 
      ;; #(
19542
 
    *)
19543
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
19544
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19545
 
      ;;
19546
 
    esac |
19547
 
    sort
19548
 
) |
19549
 
  sed '
19550
 
     /^ac_cv_env_/b end
19551
 
     t clear
19552
 
     :clear
19553
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19554
 
     t end
19555
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19556
 
     :end' >>confcache
19557
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19558
 
  if test -w "$cache_file"; then
19559
 
    test "x$cache_file" != "x/dev/null" &&
19560
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
19561
 
echo "$as_me: updating cache $cache_file" >&6;}
19562
 
    cat confcache >$cache_file
19563
 
  else
19564
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
19565
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19566
 
  fi
19567
 
fi
19568
 
rm -f confcache
19569
 
 
19570
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
19571
 
# Let make expand exec_prefix.
19572
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19573
 
 
19574
 
# Transform confdefs.h into DEFS.
19575
 
# Protect against shell expansion while executing Makefile rules.
19576
 
# Protect against Makefile macro expansion.
19577
 
#
19578
 
# If the first sed substitution is executed (which looks for macros that
19579
 
# take arguments), then branch to the quote section.  Otherwise,
19580
 
# look for a macro that doesn't take arguments.
19581
 
ac_script='
19582
 
t clear
19583
 
:clear
19584
 
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
19585
 
t quote
19586
 
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
19587
 
t quote
19588
 
b any
19589
 
:quote
19590
 
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
19591
 
s/\[/\\&/g
19592
 
s/\]/\\&/g
19593
 
s/\$/$$/g
19594
 
H
19595
 
:any
19596
 
${
19597
 
        g
19598
 
        s/^\n//
19599
 
        s/\n/ /g
19600
 
        p
19601
 
}
19602
 
'
19603
 
DEFS=`sed -n "$ac_script" confdefs.h`
19604
 
 
19605
 
 
19606
 
ac_libobjs=
19607
 
ac_ltlibobjs=
19608
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19609
 
  # 1. Remove the extension, and $U if already installed.
19610
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19611
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
19612
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
19613
 
  #    will be set to the directory where LIBOBJS objects are built.
19614
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19615
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
19616
 
done
19617
 
LIBOBJS=$ac_libobjs
19618
 
 
19619
 
LTLIBOBJS=$ac_ltlibobjs
19620
 
 
19621
 
 
19622
 
 
19623
 
: ${CONFIG_STATUS=./config.status}
19624
 
ac_clean_files_save=$ac_clean_files
19625
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19626
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19627
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
19628
 
cat >$CONFIG_STATUS <<_ACEOF
19629
 
#! $SHELL
19630
 
# Generated by $as_me.
19631
 
# Run this file to recreate the current configuration.
19632
 
# Compiler output produced by configure, useful for debugging
19633
 
# configure, is in config.log if it exists.
19634
 
 
19635
 
debug=false
19636
 
ac_cs_recheck=false
19637
 
ac_cs_silent=false
19638
 
SHELL=\${CONFIG_SHELL-$SHELL}
19639
 
_ACEOF
19640
 
 
19641
 
cat >>$CONFIG_STATUS <<\_ACEOF
19642
 
## --------------------- ##
19643
 
## M4sh Initialization.  ##
19644
 
## --------------------- ##
19645
 
 
19646
 
# Be Bourne compatible
19647
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19648
 
  emulate sh
19649
 
  NULLCMD=:
19650
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19651
 
  # is contrary to our usage.  Disable this feature.
19652
 
  alias -g '${1+"$@"}'='"$@"'
19653
 
  setopt NO_GLOB_SUBST
19654
 
else
19655
 
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
19656
 
fi
19657
 
BIN_SH=xpg4; export BIN_SH # for Tru64
19658
 
DUALCASE=1; export DUALCASE # for MKS sh
19659
 
 
19660
 
 
19661
 
# PATH needs CR
19662
 
# Avoid depending upon Character Ranges.
19663
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19664
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19665
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19666
 
as_cr_digits='0123456789'
19667
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
19668
 
 
19669
 
# The user is always right.
19670
 
if test "${PATH_SEPARATOR+set}" != set; then
19671
 
  echo "#! /bin/sh" >conf$$.sh
19672
 
  echo  "exit 0"   >>conf$$.sh
19673
 
  chmod +x conf$$.sh
19674
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
19675
 
    PATH_SEPARATOR=';'
19676
 
  else
19677
 
    PATH_SEPARATOR=:
19678
 
  fi
19679
 
  rm -f conf$$.sh
19680
 
fi
19681
 
 
19682
 
# Support unset when possible.
19683
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
19684
 
  as_unset=unset
19685
 
else
19686
 
  as_unset=false
19687
 
fi
19688
 
 
19689
 
 
19690
 
# IFS
19691
 
# We need space, tab and new line, in precisely that order.  Quoting is
19692
 
# there to prevent editors from complaining about space-tab.
19693
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
19694
 
# splitting by setting IFS to empty value.)
19695
 
as_nl='
19696
 
'
19697
 
IFS=" ""        $as_nl"
19698
 
 
19699
 
# Find who we are.  Look in the path if we contain no directory separator.
19700
 
case $0 in
19701
 
  *[\\/]* ) as_myself=$0 ;;
19702
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19703
 
for as_dir in $PATH
19704
 
do
19705
 
  IFS=$as_save_IFS
19706
 
  test -z "$as_dir" && as_dir=.
19707
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19708
 
done
19709
 
IFS=$as_save_IFS
19710
 
 
19711
 
     ;;
19712
 
esac
19713
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
19714
 
# in which case we are not to be found in the path.
19715
 
if test "x$as_myself" = x; then
19716
 
  as_myself=$0
19717
 
fi
19718
 
if test ! -f "$as_myself"; then
19719
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19720
 
  { (exit 1); exit 1; }
19721
 
fi
19722
 
 
19723
 
# Work around bugs in pre-3.0 UWIN ksh.
19724
 
for as_var in ENV MAIL MAILPATH
19725
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
19726
 
done
19727
 
PS1='$ '
19728
 
PS2='> '
19729
 
PS4='+ '
19730
 
 
19731
 
# NLS nuisances.
19732
 
for as_var in \
19733
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19734
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19735
 
  LC_TELEPHONE LC_TIME
19736
 
do
19737
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19738
 
    eval $as_var=C; export $as_var
19739
 
  else
19740
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
19741
 
  fi
19742
 
done
19743
 
 
19744
 
# Required to use basename.
19745
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
19746
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
19747
 
  as_expr=expr
19748
 
else
19749
 
  as_expr=false
19750
 
fi
19751
 
 
19752
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19753
 
  as_basename=basename
19754
 
else
19755
 
  as_basename=false
19756
 
fi
19757
 
 
19758
 
 
19759
 
# Name of the executable.
19760
 
as_me=`$as_basename -- "$0" ||
19761
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19762
 
         X"$0" : 'X\(//\)$' \| \
19763
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19764
 
echo X/"$0" |
19765
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
19766
 
            s//\1/
19767
 
            q
19768
 
          }
19769
 
          /^X\/\(\/\/\)$/{
19770
 
            s//\1/
19771
 
            q
19772
 
          }
19773
 
          /^X\/\(\/\).*/{
19774
 
            s//\1/
19775
 
            q
19776
 
          }
19777
 
          s/.*/./; q'`
19778
 
 
19779
 
# CDPATH.
19780
 
$as_unset CDPATH
19781
 
 
19782
 
 
19783
 
 
19784
 
  as_lineno_1=$LINENO
19785
 
  as_lineno_2=$LINENO
19786
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
19787
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
19788
 
 
19789
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19790
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
19791
 
  # line-number line after each line using $LINENO; the second 'sed'
19792
 
  # does the real work.  The second script uses 'N' to pair each
19793
 
  # line-number line with the line containing $LINENO, and appends
19794
 
  # trailing '-' during substitution so that $LINENO is not a special
19795
 
  # case at line end.
19796
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19797
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
19798
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
19799
 
  sed -n '
19800
 
    p
19801
 
    /[$]LINENO/=
19802
 
  ' <$as_myself |
19803
 
    sed '
19804
 
      s/[$]LINENO.*/&-/
19805
 
      t lineno
19806
 
      b
19807
 
      :lineno
19808
 
      N
19809
 
      :loop
19810
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
19811
 
      t loop
19812
 
      s/-\n.*//
19813
 
    ' >$as_me.lineno &&
19814
 
  chmod +x "$as_me.lineno" ||
19815
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
19816
 
   { (exit 1); exit 1; }; }
19817
 
 
19818
 
  # Don't try to exec as it changes $[0], causing all sort of problems
19819
 
  # (the dirname of $[0] is not the place where we might find the
19820
 
  # original and so on.  Autoconf is especially sensitive to this).
19821
 
  . "./$as_me.lineno"
19822
 
  # Exit status is that of the last command.
19823
 
  exit
19824
 
}
19825
 
 
19826
 
 
19827
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19828
 
  as_dirname=dirname
19829
 
else
19830
 
  as_dirname=false
19831
 
fi
19832
 
 
19833
 
ECHO_C= ECHO_N= ECHO_T=
19834
 
case `echo -n x` in
19835
 
-n*)
19836
 
  case `echo 'x\c'` in
19837
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
19838
 
  *)   ECHO_C='\c';;
19839
 
  esac;;
19840
 
*)
19841
 
  ECHO_N='-n';;
19842
 
esac
19843
 
 
19844
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
19845
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
19846
 
  as_expr=expr
19847
 
else
19848
 
  as_expr=false
19849
 
fi
19850
 
 
19851
 
rm -f conf$$ conf$$.exe conf$$.file
19852
 
if test -d conf$$.dir; then
19853
 
  rm -f conf$$.dir/conf$$.file
19854
 
else
19855
 
  rm -f conf$$.dir
19856
 
  mkdir conf$$.dir
19857
 
fi
19858
 
echo >conf$$.file
19859
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
19860
 
  as_ln_s='ln -s'
19861
 
  # ... but there are two gotchas:
19862
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19863
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19864
 
  # In both cases, we have to default to `cp -p'.
19865
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19866
 
    as_ln_s='cp -p'
19867
 
elif ln conf$$.file conf$$ 2>/dev/null; then
19868
 
  as_ln_s=ln
19869
 
else
19870
 
  as_ln_s='cp -p'
19871
 
fi
19872
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19873
 
rmdir conf$$.dir 2>/dev/null
19874
 
 
19875
 
if mkdir -p . 2>/dev/null; then
19876
 
  as_mkdir_p=:
19877
 
else
19878
 
  test -d ./-p && rmdir ./-p
19879
 
  as_mkdir_p=false
19880
 
fi
19881
 
 
19882
 
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
19883
 
# systems may use methods other than mode bits to determine executability.
19884
 
cat >conf$$.file <<_ASEOF
19885
 
#! /bin/sh
19886
 
exit 0
19887
 
_ASEOF
19888
 
chmod +x conf$$.file
19889
 
if test -x conf$$.file >/dev/null 2>&1; then
19890
 
  as_executable_p="test -x"
19891
 
else
19892
 
  as_executable_p=:
19893
 
fi
19894
 
rm -f conf$$.file
19895
 
 
19896
 
# Sed expression to map a string onto a valid CPP name.
19897
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19898
 
 
19899
 
# Sed expression to map a string onto a valid variable name.
19900
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19901
 
 
19902
 
 
19903
 
exec 6>&1
19904
 
 
19905
 
# Save the log message, to keep $[0] and so on meaningful, and to
19906
 
# report actual input values of CONFIG_FILES etc. instead of their
19907
 
# values after options handling.
19908
 
ac_log="
19909
 
This file was extended by $as_me, which was
19910
 
generated by GNU Autoconf 2.60a.  Invocation command line was
19911
 
 
19912
 
  CONFIG_FILES    = $CONFIG_FILES
19913
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
19914
 
  CONFIG_LINKS    = $CONFIG_LINKS
19915
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
19916
 
  $ $0 $@
19917
 
 
19918
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
19919
 
"
19920
 
 
19921
 
_ACEOF
19922
 
 
19923
 
cat >>$CONFIG_STATUS <<_ACEOF
19924
 
# Files that config.status was made for.
19925
 
config_files="$ac_config_files"
19926
 
 
19927
 
_ACEOF
19928
 
 
19929
 
cat >>$CONFIG_STATUS <<\_ACEOF
19930
 
ac_cs_usage="\
19931
 
\`$as_me' instantiates files from templates according to the
19932
 
current configuration.
19933
 
 
19934
 
Usage: $0 [OPTIONS] [FILE]...
19935
 
 
19936
 
  -h, --help       print this help, then exit
19937
 
  -V, --version    print version number and configuration settings, then exit
19938
 
  -q, --quiet      do not print progress messages
19939
 
  -d, --debug      don't remove temporary files
19940
 
      --recheck    update $as_me by reconfiguring in the same conditions
19941
 
  --file=FILE[:TEMPLATE]
19942
 
                   instantiate the configuration file FILE
19943
 
 
19944
 
Configuration files:
19945
 
$config_files
19946
 
 
19947
 
Report bugs to <bug-autoconf@gnu.org>."
19948
 
 
19949
 
_ACEOF
19950
 
cat >>$CONFIG_STATUS <<_ACEOF
19951
 
ac_cs_version="\\
19952
 
config.status
19953
 
configured by $0, generated by GNU Autoconf 2.60a,
19954
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
19955
 
 
19956
 
Copyright (C) 2006 Free Software Foundation, Inc.
19957
 
This config.status script is free software; the Free Software Foundation
19958
 
gives unlimited permission to copy, distribute and modify it."
19959
 
 
19960
 
ac_pwd='$ac_pwd'
19961
 
srcdir='$srcdir'
19962
 
_ACEOF
19963
 
 
19964
 
cat >>$CONFIG_STATUS <<\_ACEOF
19965
 
# If no file are specified by the user, then we need to provide default
19966
 
# value.  By we need to know if files were specified by the user.
19967
 
ac_need_defaults=:
19968
 
while test $# != 0
19969
 
do
19970
 
  case $1 in
19971
 
  --*=*)
19972
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
19973
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19974
 
    ac_shift=:
19975
 
    ;;
19976
 
  *)
19977
 
    ac_option=$1
19978
 
    ac_optarg=$2
19979
 
    ac_shift=shift
19980
 
    ;;
19981
 
  esac
19982
 
 
19983
 
  case $ac_option in
19984
 
  # Handling of the options.
19985
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19986
 
    ac_cs_recheck=: ;;
19987
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19988
 
    echo "$ac_cs_version"; exit ;;
19989
 
  --debug | --debu | --deb | --de | --d | -d )
19990
 
    debug=: ;;
19991
 
  --file | --fil | --fi | --f )
19992
 
    $ac_shift
19993
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
19994
 
    ac_need_defaults=false;;
19995
 
  --he | --h |  --help | --hel | -h )
19996
 
    echo "$ac_cs_usage"; exit ;;
19997
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19998
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
19999
 
    ac_cs_silent=: ;;
20000
 
 
20001
 
  # This is an error.
20002
 
  -*) { echo "$as_me: error: unrecognized option: $1
20003
 
Try \`$0 --help' for more information." >&2
20004
 
   { (exit 1); exit 1; }; } ;;
20005
 
 
20006
 
  *) ac_config_targets="$ac_config_targets $1"
20007
 
     ac_need_defaults=false ;;
20008
 
 
20009
 
  esac
20010
 
  shift
20011
 
done
20012
 
 
20013
 
ac_configure_extra_args=
20014
 
 
20015
 
if $ac_cs_silent; then
20016
 
  exec 6>/dev/null
20017
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
20018
 
fi
20019
 
 
20020
 
_ACEOF
20021
 
cat >>$CONFIG_STATUS <<_ACEOF
20022
 
if \$ac_cs_recheck; then
20023
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20024
 
  CONFIG_SHELL=$SHELL
20025
 
  export CONFIG_SHELL
20026
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20027
 
fi
20028
 
 
20029
 
_ACEOF
20030
 
cat >>$CONFIG_STATUS <<\_ACEOF
20031
 
exec 5>>config.log
20032
 
{
20033
 
  echo
20034
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20035
 
## Running $as_me. ##
20036
 
_ASBOX
20037
 
  echo "$ac_log"
20038
 
} >&5
20039
 
 
20040
 
_ACEOF
20041
 
cat >>$CONFIG_STATUS <<_ACEOF
20042
 
_ACEOF
20043
 
 
20044
 
cat >>$CONFIG_STATUS <<\_ACEOF
20045
 
 
20046
 
# Handling of arguments.
20047
 
for ac_config_target in $ac_config_targets
20048
 
do
20049
 
  case $ac_config_target in
20050
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20051
 
 
20052
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20053
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20054
 
   { (exit 1); exit 1; }; };;
20055
 
  esac
20056
 
done
20057
 
 
20058
 
 
20059
 
# If the user did not use the arguments to specify the items to instantiate,
20060
 
# then the envvar interface is used.  Set only those that are not.
20061
 
# We use the long form for the default assignment because of an extremely
20062
 
# bizarre bug on SunOS 4.1.3.
20063
 
if $ac_need_defaults; then
20064
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20065
 
fi
20066
 
 
20067
 
# Have a temporary directory for convenience.  Make it in the build tree
20068
 
# simply because there is no reason against having it here, and in addition,
20069
 
# creating and moving files from /tmp can sometimes cause problems.
20070
 
# Hook for its removal unless debugging.
20071
 
# Note that there is a small window in which the directory will not be cleaned:
20072
 
# after its creation but before its name has been assigned to `$tmp'.
20073
 
$debug ||
20074
 
{
20075
 
  tmp=
20076
 
  trap 'exit_status=$?
20077
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20078
 
' 0
20079
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
20080
 
}
20081
 
# Create a (secure) tmp directory for tmp files.
20082
 
 
20083
 
{
20084
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20085
 
  test -n "$tmp" && test -d "$tmp"
20086
 
}  ||
20087
 
{
20088
 
  tmp=./conf$$-$RANDOM
20089
 
  (umask 077 && mkdir "$tmp")
20090
 
} ||
20091
 
{
20092
 
   echo "$me: cannot create a temporary directory in ." >&2
20093
 
   { (exit 1); exit 1; }
20094
 
}
20095
 
 
20096
 
#
20097
 
# Set up the sed scripts for CONFIG_FILES section.
20098
 
#
20099
 
 
20100
 
# No need to generate the scripts if there are no CONFIG_FILES.
20101
 
# This happens for instance when ./config.status config.h
20102
 
if test -n "$CONFIG_FILES"; then
20103
 
 
20104
 
_ACEOF
20105
 
 
20106
 
 
20107
 
 
20108
 
ac_delim='%!_!# '
20109
 
for ac_last_try in false false false false false :; do
20110
 
  cat >conf$$subs.sed <<_ACEOF
20111
 
SHELL!$SHELL$ac_delim
20112
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
20113
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
20114
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
20115
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
20116
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
20117
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
20118
 
exec_prefix!$exec_prefix$ac_delim
20119
 
prefix!$prefix$ac_delim
20120
 
program_transform_name!$program_transform_name$ac_delim
20121
 
bindir!$bindir$ac_delim
20122
 
sbindir!$sbindir$ac_delim
20123
 
libexecdir!$libexecdir$ac_delim
20124
 
datarootdir!$datarootdir$ac_delim
20125
 
datadir!$datadir$ac_delim
20126
 
sysconfdir!$sysconfdir$ac_delim
20127
 
sharedstatedir!$sharedstatedir$ac_delim
20128
 
localstatedir!$localstatedir$ac_delim
20129
 
includedir!$includedir$ac_delim
20130
 
oldincludedir!$oldincludedir$ac_delim
20131
 
docdir!$docdir$ac_delim
20132
 
infodir!$infodir$ac_delim
20133
 
htmldir!$htmldir$ac_delim
20134
 
dvidir!$dvidir$ac_delim
20135
 
pdfdir!$pdfdir$ac_delim
20136
 
psdir!$psdir$ac_delim
20137
 
libdir!$libdir$ac_delim
20138
 
localedir!$localedir$ac_delim
20139
 
mandir!$mandir$ac_delim
20140
 
DEFS!$DEFS$ac_delim
20141
 
ECHO_C!$ECHO_C$ac_delim
20142
 
ECHO_N!$ECHO_N$ac_delim
20143
 
ECHO_T!$ECHO_T$ac_delim
20144
 
LIBS!$LIBS$ac_delim
20145
 
build_alias!$build_alias$ac_delim
20146
 
host_alias!$host_alias$ac_delim
20147
 
target_alias!$target_alias$ac_delim
20148
 
CC!$CC$ac_delim
20149
 
CFLAGS!$CFLAGS$ac_delim
20150
 
LDFLAGS!$LDFLAGS$ac_delim
20151
 
CPPFLAGS!$CPPFLAGS$ac_delim
20152
 
ac_ct_CC!$ac_ct_CC$ac_delim
20153
 
EXEEXT!$EXEEXT$ac_delim
20154
 
OBJEXT!$OBJEXT$ac_delim
20155
 
CPP!$CPP$ac_delim
20156
 
GREP!$GREP$ac_delim
20157
 
EGREP!$EGREP$ac_delim
20158
 
CC_GCC!$CC_GCC$ac_delim
20159
 
GCC_X_NONE!$GCC_X_NONE$ac_delim
20160
 
RANLIB!$RANLIB$ac_delim
20161
 
SET_MAKE!$SET_MAKE$ac_delim
20162
 
INSTALL!$INSTALL$ac_delim
20163
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
20164
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
20165
 
CP!$CP$ac_delim
20166
 
LN!$LN$ac_delim
20167
 
LN_S!$LN_S$ac_delim
20168
 
build!$build$ac_delim
20169
 
build_cpu!$build_cpu$ac_delim
20170
 
build_vendor!$build_vendor$ac_delim
20171
 
build_os!$build_os$ac_delim
20172
 
host!$host$ac_delim
20173
 
host_cpu!$host_cpu$ac_delim
20174
 
host_vendor!$host_vendor$ac_delim
20175
 
host_os!$host_os$ac_delim
20176
 
host_cpu_abi!$host_cpu_abi$ac_delim
20177
 
ECHO!$ECHO$ac_delim
20178
 
AR!$AR$ac_delim
20179
 
STRIP!$STRIP$ac_delim
20180
 
CXX!$CXX$ac_delim
20181
 
CXXFLAGS!$CXXFLAGS$ac_delim
20182
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
20183
 
CXXCPP!$CXXCPP$ac_delim
20184
 
F77!$F77$ac_delim
20185
 
FFLAGS!$FFLAGS$ac_delim
20186
 
ac_ct_F77!$ac_ct_F77$ac_delim
20187
 
LIBTOOL!$LIBTOOL$ac_delim
20188
 
subdirs!$subdirs$ac_delim
20189
 
LIBOBJS!$LIBOBJS$ac_delim
20190
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
20191
 
_ACEOF
20192
 
 
20193
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 80; then
20194
 
    break
20195
 
  elif $ac_last_try; then
20196
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20197
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20198
 
   { (exit 1); exit 1; }; }
20199
 
  else
20200
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20201
 
  fi
20202
 
done
20203
 
 
20204
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20205
 
if test -n "$ac_eof"; then
20206
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
20207
 
  ac_eof=`expr $ac_eof + 1`
20208
 
fi
20209
 
 
20210
 
cat >>$CONFIG_STATUS <<_ACEOF
20211
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
20212
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
20213
 
_ACEOF
20214
 
sed '
20215
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20216
 
s/^/s,@/; s/!/@,|#_!!_#|/
20217
 
:n
20218
 
t n
20219
 
s/'"$ac_delim"'$/,g/; t
20220
 
s/$/\\/; p
20221
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20222
 
' >>$CONFIG_STATUS <conf$$subs.sed
20223
 
rm -f conf$$subs.sed
20224
 
cat >>$CONFIG_STATUS <<_ACEOF
20225
 
:end
20226
 
s/|#_!!_#|//g
20227
 
CEOF$ac_eof
20228
 
_ACEOF
20229
 
 
20230
 
 
20231
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
20232
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20233
 
# trailing colons and then remove the whole line if VPATH becomes empty
20234
 
# (actually we leave an empty line to preserve line numbers).
20235
 
if test "x$srcdir" = x.; then
20236
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
20237
 
s/:*\$(srcdir):*/:/
20238
 
s/:*\${srcdir}:*/:/
20239
 
s/:*@srcdir@:*/:/
20240
 
s/^\([^=]*=[     ]*\):*/\1/
20241
 
s/:*$//
20242
 
s/^[^=]*=[       ]*$//
20243
 
}'
20244
 
fi
20245
 
 
20246
 
cat >>$CONFIG_STATUS <<\_ACEOF
20247
 
fi # test -n "$CONFIG_FILES"
20248
 
 
20249
 
 
20250
 
for ac_tag in  :F $CONFIG_FILES
20251
 
do
20252
 
  case $ac_tag in
20253
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
20254
 
  esac
20255
 
  case $ac_mode$ac_tag in
20256
 
  :[FHL]*:*);;
20257
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
20258
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
20259
 
   { (exit 1); exit 1; }; };;
20260
 
  :[FH]-) ac_tag=-:-;;
20261
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20262
 
  esac
20263
 
  ac_save_IFS=$IFS
20264
 
  IFS=:
20265
 
  set x $ac_tag
20266
 
  IFS=$ac_save_IFS
20267
 
  shift
20268
 
  ac_file=$1
20269
 
  shift
20270
 
 
20271
 
  case $ac_mode in
20272
 
  :L) ac_source=$1;;
20273
 
  :[FH])
20274
 
    ac_file_inputs=
20275
 
    for ac_f
20276
 
    do
20277
 
      case $ac_f in
20278
 
      -) ac_f="$tmp/stdin";;
20279
 
      *) # Look for the file first in the build tree, then in the source tree
20280
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
20281
 
         # because $ac_f cannot contain `:'.
20282
 
         test -f "$ac_f" ||
20283
 
           case $ac_f in
20284
 
           [\\/$]*) false;;
20285
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20286
 
           esac ||
20287
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
20288
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
20289
 
   { (exit 1); exit 1; }; };;
20290
 
      esac
20291
 
      ac_file_inputs="$ac_file_inputs $ac_f"
20292
 
    done
20293
 
 
20294
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
20295
 
    # use $as_me), people would be surprised to read:
20296
 
    #    /* config.h.  Generated by config.status.  */
20297
 
    configure_input="Generated from "`IFS=:
20298
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
20299
 
    if test x"$ac_file" != x-; then
20300
 
      configure_input="$ac_file.  $configure_input"
20301
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
20302
 
echo "$as_me: creating $ac_file" >&6;}
20303
 
    fi
20304
 
 
20305
 
    case $ac_tag in
20306
 
    *:-:* | *:-) cat >"$tmp/stdin";;
20307
 
    esac
20308
 
    ;;
20309
 
  esac
20310
 
 
20311
 
  ac_dir=`$as_dirname -- "$ac_file" ||
20312
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20313
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
20314
 
         X"$ac_file" : 'X\(//\)$' \| \
20315
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20316
 
echo X"$ac_file" |
20317
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20318
 
            s//\1/
20319
 
            q
20320
 
          }
20321
 
          /^X\(\/\/\)[^/].*/{
20322
 
            s//\1/
20323
 
            q
20324
 
          }
20325
 
          /^X\(\/\/\)$/{
20326
 
            s//\1/
20327
 
            q
20328
 
          }
20329
 
          /^X\(\/\).*/{
20330
 
            s//\1/
20331
 
            q
20332
 
          }
20333
 
          s/.*/./; q'`
20334
 
  { as_dir="$ac_dir"
20335
 
  case $as_dir in #(
20336
 
  -*) as_dir=./$as_dir;;
20337
 
  esac
20338
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
20339
 
    as_dirs=
20340
 
    while :; do
20341
 
      case $as_dir in #(
20342
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
20343
 
      *) as_qdir=$as_dir;;
20344
 
      esac
20345
 
      as_dirs="'$as_qdir' $as_dirs"
20346
 
      as_dir=`$as_dirname -- "$as_dir" ||
20347
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20348
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
20349
 
         X"$as_dir" : 'X\(//\)$' \| \
20350
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20351
 
echo X"$as_dir" |
20352
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20353
 
            s//\1/
20354
 
            q
20355
 
          }
20356
 
          /^X\(\/\/\)[^/].*/{
20357
 
            s//\1/
20358
 
            q
20359
 
          }
20360
 
          /^X\(\/\/\)$/{
20361
 
            s//\1/
20362
 
            q
20363
 
          }
20364
 
          /^X\(\/\).*/{
20365
 
            s//\1/
20366
 
            q
20367
 
          }
20368
 
          s/.*/./; q'`
20369
 
      test -d "$as_dir" && break
20370
 
    done
20371
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
20372
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20373
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
20374
 
   { (exit 1); exit 1; }; }; }
20375
 
  ac_builddir=.
20376
 
 
20377
 
case "$ac_dir" in
20378
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20379
 
*)
20380
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20381
 
  # A ".." for each directory in $ac_dir_suffix.
20382
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
20383
 
  case $ac_top_builddir_sub in
20384
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20385
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20386
 
  esac ;;
20387
 
esac
20388
 
ac_abs_top_builddir=$ac_pwd
20389
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
20390
 
# for backward compatibility:
20391
 
ac_top_builddir=$ac_top_build_prefix
20392
 
 
20393
 
case $srcdir in
20394
 
  .)  # We are building in place.
20395
 
    ac_srcdir=.
20396
 
    ac_top_srcdir=$ac_top_builddir_sub
20397
 
    ac_abs_top_srcdir=$ac_pwd ;;
20398
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
20399
 
    ac_srcdir=$srcdir$ac_dir_suffix;
20400
 
    ac_top_srcdir=$srcdir
20401
 
    ac_abs_top_srcdir=$srcdir ;;
20402
 
  *) # Relative name.
20403
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20404
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
20405
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20406
 
esac
20407
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20408
 
 
20409
 
 
20410
 
  case $ac_mode in
20411
 
  :F)
20412
 
  #
20413
 
  # CONFIG_FILE
20414
 
  #
20415
 
 
20416
 
_ACEOF
20417
 
 
20418
 
cat >>$CONFIG_STATUS <<\_ACEOF
20419
 
# If the template does not know about datarootdir, expand it.
20420
 
# FIXME: This hack should be removed a few years after 2.60.
20421
 
ac_datarootdir_hack=; ac_datarootdir_seen=
20422
 
 
20423
 
case `sed -n '/datarootdir/ {
20424
 
  p
20425
 
  q
20426
 
}
20427
 
/@datadir@/p
20428
 
/@docdir@/p
20429
 
/@infodir@/p
20430
 
/@localedir@/p
20431
 
/@mandir@/p
20432
 
' $ac_file_inputs` in
20433
 
*datarootdir*) ac_datarootdir_seen=yes;;
20434
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20435
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20436
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20437
 
_ACEOF
20438
 
cat >>$CONFIG_STATUS <<_ACEOF
20439
 
  ac_datarootdir_hack='
20440
 
  s&@datadir@&$datadir&g
20441
 
  s&@docdir@&$docdir&g
20442
 
  s&@infodir@&$infodir&g
20443
 
  s&@localedir@&$localedir&g
20444
 
  s&@mandir@&$mandir&g
20445
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
20446
 
esac
20447
 
_ACEOF
20448
 
 
20449
 
# Neutralize VPATH when `$srcdir' = `.'.
20450
 
# Shell code in configure.ac might set extrasub.
20451
 
# FIXME: do we really want to maintain this feature?
20452
 
cat >>$CONFIG_STATUS <<_ACEOF
20453
 
  sed "$ac_vpsub
20454
 
$extrasub
20455
 
_ACEOF
20456
 
cat >>$CONFIG_STATUS <<\_ACEOF
20457
 
:t
20458
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20459
 
s&@configure_input@&$configure_input&;t t
20460
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
20461
 
s&@srcdir@&$ac_srcdir&;t t
20462
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
20463
 
s&@top_srcdir@&$ac_top_srcdir&;t t
20464
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20465
 
s&@builddir@&$ac_builddir&;t t
20466
 
s&@abs_builddir@&$ac_abs_builddir&;t t
20467
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20468
 
$ac_datarootdir_hack
20469
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
20470
 
 
20471
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20472
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
20473
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
20474
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20475
 
which seems to be undefined.  Please make sure it is defined." >&5
20476
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20477
 
which seems to be undefined.  Please make sure it is defined." >&2;}
20478
 
 
20479
 
  rm -f "$tmp/stdin"
20480
 
  case $ac_file in
20481
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
20482
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
20483
 
  esac
20484
 
 ;;
20485
 
 
20486
 
 
20487
 
 
20488
 
  esac
20489
 
 
20490
 
done # for ac_tag
20491
 
 
20492
 
 
20493
 
{ (exit 0); exit 0; }
20494
 
_ACEOF
20495
 
chmod +x $CONFIG_STATUS
20496
 
ac_clean_files=$ac_clean_files_save
20497
 
 
20498
 
 
20499
 
# configure is writing to config.log, and then calls config.status.
20500
 
# config.status does its own redirection, appending to config.log.
20501
 
# Unfortunately, on DOS this fails, as config.log is still kept open
20502
 
# by configure, so config.status won't be able to write to it; its
20503
 
# output is simply discarded.  So we exec the FD to /dev/null,
20504
 
# effectively closing config.log, so it can be properly (re)opened and
20505
 
# appended to by config.status.  When coming back to configure, we
20506
 
# need to make the FD available again.
20507
 
if test "$no_create" != yes; then
20508
 
  ac_cs_success=:
20509
 
  ac_config_status_args=
20510
 
  test "$silent" = yes &&
20511
 
    ac_config_status_args="$ac_config_status_args --quiet"
20512
 
  exec 5>/dev/null
20513
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20514
 
  exec 5>>config.log
20515
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20516
 
  # would make configure fail if this is the last instruction.
20517
 
  $ac_cs_success || { (exit 1); exit 1; }
20518
 
fi
20519
 
 
20520
 
#
20521
 
# CONFIG_SUBDIRS section.
20522
 
#
20523
 
if test "$no_recursion" != yes; then
20524
 
 
20525
 
  # Remove --cache-file and --srcdir arguments so they do not pile up.
20526
 
  ac_sub_configure_args=
20527
 
  ac_prev=
20528
 
  eval "set x $ac_configure_args"
20529
 
  shift
20530
 
  for ac_arg
20531
 
  do
20532
 
    if test -n "$ac_prev"; then
20533
 
      ac_prev=
20534
 
      continue
20535
 
    fi
20536
 
    case $ac_arg in
20537
 
    -cache-file | --cache-file | --cache-fil | --cache-fi \
20538
 
    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
20539
 
      ac_prev=cache_file ;;
20540
 
    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
20541
 
    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
20542
 
    | --c=*)
20543
 
      ;;
20544
 
    --config-cache | -C)
20545
 
      ;;
20546
 
    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
20547
 
      ac_prev=srcdir ;;
20548
 
    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
20549
 
      ;;
20550
 
    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
20551
 
      ac_prev=prefix ;;
20552
 
    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
20553
 
      ;;
20554
 
    *)
20555
 
      case $ac_arg in
20556
 
      *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
20557
 
      esac
20558
 
      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
20559
 
    esac
20560
 
  done
20561
 
 
20562
 
  # Always prepend --prefix to ensure using the same prefix
20563
 
  # in subdir configurations.
20564
 
  ac_arg="--prefix=$prefix"
20565
 
  case $ac_arg in
20566
 
  *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
20567
 
  esac
20568
 
  ac_sub_configure_args="$ac_arg $ac_sub_configure_args"
20569
 
 
20570
 
  ac_popdir=`pwd`
20571
 
  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
20572
 
 
20573
 
    # Do not complain, so a configure script can configure whichever
20574
 
    # parts of a large source tree are present.
20575
 
    test -d "$srcdir/$ac_dir" || continue
20576
 
 
20577
 
    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
20578
 
    echo "$as_me:$LINENO: $ac_msg" >&5
20579
 
    echo "$ac_msg" >&6
20580
 
    { as_dir="$ac_dir"
20581
 
  case $as_dir in #(
20582
 
  -*) as_dir=./$as_dir;;
20583
 
  esac
20584
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
20585
 
    as_dirs=
20586
 
    while :; do
20587
 
      case $as_dir in #(
20588
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
20589
 
      *) as_qdir=$as_dir;;
20590
 
      esac
20591
 
      as_dirs="'$as_qdir' $as_dirs"
20592
 
      as_dir=`$as_dirname -- "$as_dir" ||
20593
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20594
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
20595
 
         X"$as_dir" : 'X\(//\)$' \| \
20596
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20597
 
echo X"$as_dir" |
20598
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20599
 
            s//\1/
20600
 
            q
20601
 
          }
20602
 
          /^X\(\/\/\)[^/].*/{
20603
 
            s//\1/
20604
 
            q
20605
 
          }
20606
 
          /^X\(\/\/\)$/{
20607
 
            s//\1/
20608
 
            q
20609
 
          }
20610
 
          /^X\(\/\).*/{
20611
 
            s//\1/
20612
 
            q
20613
 
          }
20614
 
          s/.*/./; q'`
20615
 
      test -d "$as_dir" && break
20616
 
    done
20617
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
20618
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20619
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
20620
 
   { (exit 1); exit 1; }; }; }
20621
 
    ac_builddir=.
20622
 
 
20623
 
case "$ac_dir" in
20624
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20625
 
*)
20626
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20627
 
  # A ".." for each directory in $ac_dir_suffix.
20628
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
20629
 
  case $ac_top_builddir_sub in
20630
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20631
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20632
 
  esac ;;
20633
 
esac
20634
 
ac_abs_top_builddir=$ac_pwd
20635
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
20636
 
# for backward compatibility:
20637
 
ac_top_builddir=$ac_top_build_prefix
20638
 
 
20639
 
case $srcdir in
20640
 
  .)  # We are building in place.
20641
 
    ac_srcdir=.
20642
 
    ac_top_srcdir=$ac_top_builddir_sub
20643
 
    ac_abs_top_srcdir=$ac_pwd ;;
20644
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
20645
 
    ac_srcdir=$srcdir$ac_dir_suffix;
20646
 
    ac_top_srcdir=$srcdir
20647
 
    ac_abs_top_srcdir=$srcdir ;;
20648
 
  *) # Relative name.
20649
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20650
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
20651
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20652
 
esac
20653
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20654
 
 
20655
 
 
20656
 
    cd "$ac_dir"
20657
 
 
20658
 
    # Check for guested configure; otherwise get Cygnus style configure.
20659
 
    if test -f "$ac_srcdir/configure.gnu"; then
20660
 
      ac_sub_configure=$ac_srcdir/configure.gnu
20661
 
    elif test -f "$ac_srcdir/configure"; then
20662
 
      ac_sub_configure=$ac_srcdir/configure
20663
 
    elif test -f "$ac_srcdir/configure.in"; then
20664
 
      # This should be Cygnus configure.
20665
 
      ac_sub_configure=$ac_aux_dir/configure
20666
 
    else
20667
 
      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
20668
 
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
20669
 
      ac_sub_configure=
20670
 
    fi
20671
 
 
20672
 
    # The recursion is here.
20673
 
    if test -n "$ac_sub_configure"; then
20674
 
      # Make the cache file name correct relative to the subdirectory.
20675
 
      case $cache_file in
20676
 
      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
20677
 
      *) # Relative name.
20678
 
        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
20679
 
      esac
20680
 
 
20681
 
      { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
20682
 
echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
20683
 
      # The eval makes quoting arguments work.
20684
 
      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
20685
 
           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
20686
 
        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
20687
 
echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
20688
 
   { (exit 1); exit 1; }; }
20689
 
    fi
20690
 
 
20691
 
    cd "$ac_popdir"
20692
 
  done
20693
 
fi
20694