~ubuntu-branches/ubuntu/raring/nautilus-share/raring

« back to all changes in this revision

Viewing changes to .pc/05_dependencies.patch/configure

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2011-07-08 19:29:57 UTC
  • mfrom: (9.2.1 sid)
  • Revision ID: james.westby@ubuntu.com-20110708192957-smtwyhrxx463r06g
Tags: 0.7.3-1
* [216b642] Update watch URL
* [5935de3] Imported Upstream version 0.7.3 (Closes: #630248)
* [aee4fd0] Drop upstreamed patches
* [8b469c0] Refresh 02_install_missing_samba.patch
* [b3611df] Refresh 99_ltmain_as-needed.patch
* [a049722] Drop explicit libglib2.0-dev build-dep
* [63b282f] Move to dh7

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh
2
 
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.61 for nautilus-share 0.7.2.
4
 
#
5
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7
 
# This configure script is free software; the Free Software Foundation
8
 
# gives unlimited permission to copy, distribute and modify it.
9
 
## --------------------- ##
10
 
## M4sh Initialization.  ##
11
 
## --------------------- ##
12
 
 
13
 
# Be more Bourne compatible
14
 
DUALCASE=1; export DUALCASE # for MKS sh
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
 
  emulate sh
17
 
  NULLCMD=:
18
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
 
  # is contrary to our usage.  Disable this feature.
20
 
  alias -g '${1+"$@"}'='"$@"'
21
 
  setopt NO_GLOB_SUBST
22
 
else
23
 
  case `(set -o) 2>/dev/null` in
24
 
  *posix*) set -o posix ;;
25
 
esac
26
 
 
27
 
fi
28
 
 
29
 
 
30
 
 
31
 
 
32
 
# PATH needs CR
33
 
# Avoid depending upon Character Ranges.
34
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
 
as_cr_digits='0123456789'
38
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
39
 
 
40
 
# The user is always right.
41
 
if test "${PATH_SEPARATOR+set}" != set; then
42
 
  echo "#! /bin/sh" >conf$$.sh
43
 
  echo  "exit 0"   >>conf$$.sh
44
 
  chmod +x conf$$.sh
45
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46
 
    PATH_SEPARATOR=';'
47
 
  else
48
 
    PATH_SEPARATOR=:
49
 
  fi
50
 
  rm -f conf$$.sh
51
 
fi
52
 
 
53
 
# Support unset when possible.
54
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55
 
  as_unset=unset
56
 
else
57
 
  as_unset=false
58
 
fi
59
 
 
60
 
 
61
 
# IFS
62
 
# We need space, tab and new line, in precisely that order.  Quoting is
63
 
# there to prevent editors from complaining about space-tab.
64
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
 
# splitting by setting IFS to empty value.)
66
 
as_nl='
67
 
'
68
 
IFS=" ""        $as_nl"
69
 
 
70
 
# Find who we are.  Look in the path if we contain no directory separator.
71
 
case $0 in
72
 
  *[\\/]* ) as_myself=$0 ;;
73
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74
 
for as_dir in $PATH
75
 
do
76
 
  IFS=$as_save_IFS
77
 
  test -z "$as_dir" && as_dir=.
78
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79
 
done
80
 
IFS=$as_save_IFS
81
 
 
82
 
     ;;
83
 
esac
84
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
85
 
# in which case we are not to be found in the path.
86
 
if test "x$as_myself" = x; then
87
 
  as_myself=$0
88
 
fi
89
 
if test ! -f "$as_myself"; then
90
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91
 
  { (exit 1); exit 1; }
92
 
fi
93
 
 
94
 
# Work around bugs in pre-3.0 UWIN ksh.
95
 
for as_var in ENV MAIL MAILPATH
96
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97
 
done
98
 
PS1='$ '
99
 
PS2='> '
100
 
PS4='+ '
101
 
 
102
 
# NLS nuisances.
103
 
for as_var in \
104
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106
 
  LC_TELEPHONE LC_TIME
107
 
do
108
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
 
    eval $as_var=C; export $as_var
110
 
  else
111
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112
 
  fi
113
 
done
114
 
 
115
 
# Required to use basename.
116
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
117
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
118
 
  as_expr=expr
119
 
else
120
 
  as_expr=false
121
 
fi
122
 
 
123
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124
 
  as_basename=basename
125
 
else
126
 
  as_basename=false
127
 
fi
128
 
 
129
 
 
130
 
# Name of the executable.
131
 
as_me=`$as_basename -- "$0" ||
132
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
 
         X"$0" : 'X\(//\)$' \| \
134
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135
 
echo X/"$0" |
136
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
137
 
            s//\1/
138
 
            q
139
 
          }
140
 
          /^X\/\(\/\/\)$/{
141
 
            s//\1/
142
 
            q
143
 
          }
144
 
          /^X\/\(\/\).*/{
145
 
            s//\1/
146
 
            q
147
 
          }
148
 
          s/.*/./; q'`
149
 
 
150
 
# CDPATH.
151
 
$as_unset CDPATH
152
 
 
153
 
 
154
 
if test "x$CONFIG_SHELL" = x; then
155
 
  if (eval ":") 2>/dev/null; then
156
 
  as_have_required=yes
157
 
else
158
 
  as_have_required=no
159
 
fi
160
 
 
161
 
  if test $as_have_required = yes &&     (eval ":
162
 
(as_func_return () {
163
 
  (exit \$1)
164
 
}
165
 
as_func_success () {
166
 
  as_func_return 0
167
 
}
168
 
as_func_failure () {
169
 
  as_func_return 1
170
 
}
171
 
as_func_ret_success () {
172
 
  return 0
173
 
}
174
 
as_func_ret_failure () {
175
 
  return 1
176
 
}
177
 
 
178
 
exitcode=0
179
 
if as_func_success; then
180
 
  :
181
 
else
182
 
  exitcode=1
183
 
  echo as_func_success failed.
184
 
fi
185
 
 
186
 
if as_func_failure; then
187
 
  exitcode=1
188
 
  echo as_func_failure succeeded.
189
 
fi
190
 
 
191
 
if as_func_ret_success; then
192
 
  :
193
 
else
194
 
  exitcode=1
195
 
  echo as_func_ret_success failed.
196
 
fi
197
 
 
198
 
if as_func_ret_failure; then
199
 
  exitcode=1
200
 
  echo as_func_ret_failure succeeded.
201
 
fi
202
 
 
203
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204
 
  :
205
 
else
206
 
  exitcode=1
207
 
  echo positional parameters were not saved.
208
 
fi
209
 
 
210
 
test \$exitcode = 0) || { (exit 1); exit 1; }
211
 
 
212
 
(
213
 
  as_lineno_1=\$LINENO
214
 
  as_lineno_2=\$LINENO
215
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217
 
") 2> /dev/null; then
218
 
  :
219
 
else
220
 
  as_candidate_shells=
221
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223
 
do
224
 
  IFS=$as_save_IFS
225
 
  test -z "$as_dir" && as_dir=.
226
 
  case $as_dir in
227
 
         /*)
228
 
           for as_base in sh bash ksh sh5; do
229
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230
 
           done;;
231
 
       esac
232
 
done
233
 
IFS=$as_save_IFS
234
 
 
235
 
 
236
 
      for as_shell in $as_candidate_shells $SHELL; do
237
 
         # Try only shells that exist, to save several forks.
238
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
240
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241
 
  emulate sh
242
 
  NULLCMD=:
243
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244
 
  # is contrary to our usage.  Disable this feature.
245
 
  alias -g '${1+"$@"}'='"$@"'
246
 
  setopt NO_GLOB_SUBST
247
 
else
248
 
  case `(set -o) 2>/dev/null` in
249
 
  *posix*) set -o posix ;;
250
 
esac
251
 
 
252
 
fi
253
 
 
254
 
 
255
 
:
256
 
_ASEOF
257
 
}; then
258
 
  CONFIG_SHELL=$as_shell
259
 
               as_have_required=yes
260
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
261
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
 
  emulate sh
263
 
  NULLCMD=:
264
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265
 
  # is contrary to our usage.  Disable this feature.
266
 
  alias -g '${1+"$@"}'='"$@"'
267
 
  setopt NO_GLOB_SUBST
268
 
else
269
 
  case `(set -o) 2>/dev/null` in
270
 
  *posix*) set -o posix ;;
271
 
esac
272
 
 
273
 
fi
274
 
 
275
 
 
276
 
:
277
 
(as_func_return () {
278
 
  (exit $1)
279
 
}
280
 
as_func_success () {
281
 
  as_func_return 0
282
 
}
283
 
as_func_failure () {
284
 
  as_func_return 1
285
 
}
286
 
as_func_ret_success () {
287
 
  return 0
288
 
}
289
 
as_func_ret_failure () {
290
 
  return 1
291
 
}
292
 
 
293
 
exitcode=0
294
 
if as_func_success; then
295
 
  :
296
 
else
297
 
  exitcode=1
298
 
  echo as_func_success failed.
299
 
fi
300
 
 
301
 
if as_func_failure; then
302
 
  exitcode=1
303
 
  echo as_func_failure succeeded.
304
 
fi
305
 
 
306
 
if as_func_ret_success; then
307
 
  :
308
 
else
309
 
  exitcode=1
310
 
  echo as_func_ret_success failed.
311
 
fi
312
 
 
313
 
if as_func_ret_failure; then
314
 
  exitcode=1
315
 
  echo as_func_ret_failure succeeded.
316
 
fi
317
 
 
318
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
319
 
  :
320
 
else
321
 
  exitcode=1
322
 
  echo positional parameters were not saved.
323
 
fi
324
 
 
325
 
test $exitcode = 0) || { (exit 1); exit 1; }
326
 
 
327
 
(
328
 
  as_lineno_1=$LINENO
329
 
  as_lineno_2=$LINENO
330
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
331
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
 
 
333
 
_ASEOF
334
 
}; then
335
 
  break
336
 
fi
337
 
 
338
 
fi
339
 
 
340
 
      done
341
 
 
342
 
      if test "x$CONFIG_SHELL" != x; then
343
 
  for as_var in BASH_ENV ENV
344
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345
 
        done
346
 
        export CONFIG_SHELL
347
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348
 
fi
349
 
 
350
 
 
351
 
    if test $as_have_required = no; then
352
 
  echo This script requires a shell more modern than all the
353
 
      echo shells that I found on your system.  Please install a
354
 
      echo modern shell, or manually run the script under such a
355
 
      echo shell if you do have one.
356
 
      { (exit 1); exit 1; }
357
 
fi
358
 
 
359
 
 
360
 
fi
361
 
 
362
 
fi
363
 
 
364
 
 
365
 
 
366
 
(eval "as_func_return () {
367
 
  (exit \$1)
368
 
}
369
 
as_func_success () {
370
 
  as_func_return 0
371
 
}
372
 
as_func_failure () {
373
 
  as_func_return 1
374
 
}
375
 
as_func_ret_success () {
376
 
  return 0
377
 
}
378
 
as_func_ret_failure () {
379
 
  return 1
380
 
}
381
 
 
382
 
exitcode=0
383
 
if as_func_success; then
384
 
  :
385
 
else
386
 
  exitcode=1
387
 
  echo as_func_success failed.
388
 
fi
389
 
 
390
 
if as_func_failure; then
391
 
  exitcode=1
392
 
  echo as_func_failure succeeded.
393
 
fi
394
 
 
395
 
if as_func_ret_success; then
396
 
  :
397
 
else
398
 
  exitcode=1
399
 
  echo as_func_ret_success failed.
400
 
fi
401
 
 
402
 
if as_func_ret_failure; then
403
 
  exitcode=1
404
 
  echo as_func_ret_failure succeeded.
405
 
fi
406
 
 
407
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408
 
  :
409
 
else
410
 
  exitcode=1
411
 
  echo positional parameters were not saved.
412
 
fi
413
 
 
414
 
test \$exitcode = 0") || {
415
 
  echo No shell found that supports shell functions.
416
 
  echo Please tell autoconf@gnu.org about your system,
417
 
  echo including any error possibly output before this
418
 
  echo message
419
 
}
420
 
 
421
 
 
422
 
 
423
 
  as_lineno_1=$LINENO
424
 
  as_lineno_2=$LINENO
425
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
426
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
427
 
 
428
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
430
 
  # line-number line after each line using $LINENO; the second 'sed'
431
 
  # does the real work.  The second script uses 'N' to pair each
432
 
  # line-number line with the line containing $LINENO, and appends
433
 
  # trailing '-' during substitution so that $LINENO is not a special
434
 
  # case at line end.
435
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
437
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
438
 
  sed -n '
439
 
    p
440
 
    /[$]LINENO/=
441
 
  ' <$as_myself |
442
 
    sed '
443
 
      s/[$]LINENO.*/&-/
444
 
      t lineno
445
 
      b
446
 
      :lineno
447
 
      N
448
 
      :loop
449
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450
 
      t loop
451
 
      s/-\n.*//
452
 
    ' >$as_me.lineno &&
453
 
  chmod +x "$as_me.lineno" ||
454
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
 
   { (exit 1); exit 1; }; }
456
 
 
457
 
  # Don't try to exec as it changes $[0], causing all sort of problems
458
 
  # (the dirname of $[0] is not the place where we might find the
459
 
  # original and so on.  Autoconf is especially sensitive to this).
460
 
  . "./$as_me.lineno"
461
 
  # Exit status is that of the last command.
462
 
  exit
463
 
}
464
 
 
465
 
 
466
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467
 
  as_dirname=dirname
468
 
else
469
 
  as_dirname=false
470
 
fi
471
 
 
472
 
ECHO_C= ECHO_N= ECHO_T=
473
 
case `echo -n x` in
474
 
-n*)
475
 
  case `echo 'x\c'` in
476
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
477
 
  *)   ECHO_C='\c';;
478
 
  esac;;
479
 
*)
480
 
  ECHO_N='-n';;
481
 
esac
482
 
 
483
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
485
 
  as_expr=expr
486
 
else
487
 
  as_expr=false
488
 
fi
489
 
 
490
 
rm -f conf$$ conf$$.exe conf$$.file
491
 
if test -d conf$$.dir; then
492
 
  rm -f conf$$.dir/conf$$.file
493
 
else
494
 
  rm -f conf$$.dir
495
 
  mkdir conf$$.dir
496
 
fi
497
 
echo >conf$$.file
498
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
499
 
  as_ln_s='ln -s'
500
 
  # ... but there are two gotchas:
501
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
 
  # In both cases, we have to default to `cp -p'.
504
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505
 
    as_ln_s='cp -p'
506
 
elif ln conf$$.file conf$$ 2>/dev/null; then
507
 
  as_ln_s=ln
508
 
else
509
 
  as_ln_s='cp -p'
510
 
fi
511
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512
 
rmdir conf$$.dir 2>/dev/null
513
 
 
514
 
if mkdir -p . 2>/dev/null; then
515
 
  as_mkdir_p=:
516
 
else
517
 
  test -d ./-p && rmdir ./-p
518
 
  as_mkdir_p=false
519
 
fi
520
 
 
521
 
if test -x / >/dev/null 2>&1; then
522
 
  as_test_x='test -x'
523
 
else
524
 
  if ls -dL / >/dev/null 2>&1; then
525
 
    as_ls_L_option=L
526
 
  else
527
 
    as_ls_L_option=
528
 
  fi
529
 
  as_test_x='
530
 
    eval sh -c '\''
531
 
      if test -d "$1"; then
532
 
        test -d "$1/.";
533
 
      else
534
 
        case $1 in
535
 
        -*)set "./$1";;
536
 
        esac;
537
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538
 
        ???[sx]*):;;*)false;;esac;fi
539
 
    '\'' sh
540
 
  '
541
 
fi
542
 
as_executable_p=$as_test_x
543
 
 
544
 
# Sed expression to map a string onto a valid CPP name.
545
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546
 
 
547
 
# Sed expression to map a string onto a valid variable name.
548
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
 
 
550
 
 
551
 
 
552
 
 
553
 
# Check that we are running under the correct shell.
554
 
SHELL=${CONFIG_SHELL-/bin/sh}
555
 
 
556
 
case X$ECHO in
557
 
X*--fallback-echo)
558
 
  # Remove one level of quotation (which was required for Make).
559
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
560
 
  ;;
561
 
esac
562
 
 
563
 
echo=${ECHO-echo}
564
 
if test "X$1" = X--no-reexec; then
565
 
  # Discard the --no-reexec flag, and continue.
566
 
  shift
567
 
elif test "X$1" = X--fallback-echo; then
568
 
  # Avoid inline document here, it may be left over
569
 
  :
570
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
571
 
  # Yippee, $echo works!
572
 
  :
573
 
else
574
 
  # Restart under the correct shell.
575
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
576
 
fi
577
 
 
578
 
if test "X$1" = X--fallback-echo; then
579
 
  # used as fallback echo
580
 
  shift
581
 
  cat <<EOF
582
 
$*
583
 
EOF
584
 
  exit 0
585
 
fi
586
 
 
587
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
588
 
# if CDPATH is set.
589
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
590
 
 
591
 
if test -z "$ECHO"; then
592
 
if test "X${echo_test_string+set}" != Xset; then
593
 
# find a string as large as possible, as long as the shell can cope with it
594
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
597
 
       echo_test_string=`eval $cmd` &&
598
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
599
 
    then
600
 
      break
601
 
    fi
602
 
  done
603
 
fi
604
 
 
605
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
607
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
608
 
  :
609
 
else
610
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
611
 
  # backslashes.  This makes it impossible to quote backslashes using
612
 
  #   echo "$something" | sed 's/\\/\\\\/g'
613
 
  #
614
 
  # So, first we look for a working echo in the user's PATH.
615
 
 
616
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
617
 
  for dir in $PATH /usr/ucb; do
618
 
    IFS="$lt_save_ifs"
619
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
620
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
623
 
      echo="$dir/echo"
624
 
      break
625
 
    fi
626
 
  done
627
 
  IFS="$lt_save_ifs"
628
 
 
629
 
  if test "X$echo" = Xecho; then
630
 
    # We didn't find a better echo, so look for alternatives.
631
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
633
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
634
 
      # This shell has a builtin print -r that does the trick.
635
 
      echo='print -r'
636
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
637
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
638
 
      # If we have ksh, try running configure again with it.
639
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
640
 
      export ORIGINAL_CONFIG_SHELL
641
 
      CONFIG_SHELL=/bin/ksh
642
 
      export CONFIG_SHELL
643
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
644
 
    else
645
 
      # Try using printf.
646
 
      echo='printf %s\n'
647
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
649
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
650
 
        # Cool, printf works
651
 
        :
652
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653
 
           test "X$echo_testing_string" = 'X\t' &&
654
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
656
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
657
 
        export CONFIG_SHELL
658
 
        SHELL="$CONFIG_SHELL"
659
 
        export SHELL
660
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
661
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662
 
           test "X$echo_testing_string" = 'X\t' &&
663
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
665
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
666
 
      else
667
 
        # maybe with a smaller string...
668
 
        prev=:
669
 
 
670
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
672
 
          then
673
 
            break
674
 
          fi
675
 
          prev="$cmd"
676
 
        done
677
 
 
678
 
        if test "$prev" != 'sed 50q "$0"'; then
679
 
          echo_test_string=`eval $prev`
680
 
          export echo_test_string
681
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
682
 
        else
683
 
          # Oops.  We lost completely, so just stick with echo.
684
 
          echo=echo
685
 
        fi
686
 
      fi
687
 
    fi
688
 
  fi
689
 
fi
690
 
fi
691
 
 
692
 
# Copy echo and quote the copy suitably for passing to libtool from
693
 
# the Makefile, instead of quoting the original, which is used later.
694
 
ECHO=$echo
695
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
697
 
fi
698
 
 
699
 
 
700
 
 
701
 
 
702
 
tagnames=${tagnames+${tagnames},}CXX
703
 
 
704
 
tagnames=${tagnames+${tagnames},}F77
705
 
 
706
 
exec 7<&0 </dev/null 6>&1
707
 
 
708
 
# Name of the host.
709
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
710
 
# so uname gets run too.
711
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
712
 
 
713
 
#
714
 
# Initializations.
715
 
#
716
 
ac_default_prefix=/usr/local
717
 
ac_clean_files=
718
 
ac_config_libobj_dir=.
719
 
LIBOBJS=
720
 
cross_compiling=no
721
 
subdirs=
722
 
MFLAGS=
723
 
MAKEFLAGS=
724
 
SHELL=${CONFIG_SHELL-/bin/sh}
725
 
 
726
 
# Identity of this package.
727
 
PACKAGE_NAME='nautilus-share'
728
 
PACKAGE_TARNAME='nautilus-share'
729
 
PACKAGE_VERSION='0.7.2'
730
 
PACKAGE_STRING='nautilus-share 0.7.2'
731
 
PACKAGE_BUGREPORT=''
732
 
 
733
 
ac_unique_file="src/nautilus-share.c"
734
 
# Factoring default headers for most tests.
735
 
ac_includes_default="\
736
 
#include <stdio.h>
737
 
#ifdef HAVE_SYS_TYPES_H
738
 
# include <sys/types.h>
739
 
#endif
740
 
#ifdef HAVE_SYS_STAT_H
741
 
# include <sys/stat.h>
742
 
#endif
743
 
#ifdef STDC_HEADERS
744
 
# include <stdlib.h>
745
 
# include <stddef.h>
746
 
#else
747
 
# ifdef HAVE_STDLIB_H
748
 
#  include <stdlib.h>
749
 
# endif
750
 
#endif
751
 
#ifdef HAVE_STRING_H
752
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
753
 
#  include <memory.h>
754
 
# endif
755
 
# include <string.h>
756
 
#endif
757
 
#ifdef HAVE_STRINGS_H
758
 
# include <strings.h>
759
 
#endif
760
 
#ifdef HAVE_INTTYPES_H
761
 
# include <inttypes.h>
762
 
#endif
763
 
#ifdef HAVE_STDINT_H
764
 
# include <stdint.h>
765
 
#endif
766
 
#ifdef HAVE_UNISTD_H
767
 
# include <unistd.h>
768
 
#endif"
769
 
 
770
 
ac_subst_vars='SHELL
771
 
PATH_SEPARATOR
772
 
PACKAGE_NAME
773
 
PACKAGE_TARNAME
774
 
PACKAGE_VERSION
775
 
PACKAGE_STRING
776
 
PACKAGE_BUGREPORT
777
 
exec_prefix
778
 
prefix
779
 
program_transform_name
780
 
bindir
781
 
sbindir
782
 
libexecdir
783
 
datarootdir
784
 
datadir
785
 
sysconfdir
786
 
sharedstatedir
787
 
localstatedir
788
 
includedir
789
 
oldincludedir
790
 
docdir
791
 
infodir
792
 
htmldir
793
 
dvidir
794
 
pdfdir
795
 
psdir
796
 
libdir
797
 
localedir
798
 
mandir
799
 
DEFS
800
 
ECHO_C
801
 
ECHO_N
802
 
ECHO_T
803
 
LIBS
804
 
build_alias
805
 
host_alias
806
 
target_alias
807
 
INSTALL_PROGRAM
808
 
INSTALL_SCRIPT
809
 
INSTALL_DATA
810
 
CYGPATH_W
811
 
PACKAGE
812
 
VERSION
813
 
ACLOCAL
814
 
AUTOCONF
815
 
AUTOMAKE
816
 
AUTOHEADER
817
 
MAKEINFO
818
 
install_sh
819
 
STRIP
820
 
INSTALL_STRIP_PROGRAM
821
 
mkdir_p
822
 
AWK
823
 
SET_MAKE
824
 
am__leading_dot
825
 
AMTAR
826
 
am__tar
827
 
am__untar
828
 
INTLTOOL_DESKTOP_RULE
829
 
INTLTOOL_DIRECTORY_RULE
830
 
INTLTOOL_KEYS_RULE
831
 
INTLTOOL_PROP_RULE
832
 
INTLTOOL_OAF_RULE
833
 
INTLTOOL_PONG_RULE
834
 
INTLTOOL_SERVER_RULE
835
 
INTLTOOL_SHEET_RULE
836
 
INTLTOOL_SOUNDLIST_RULE
837
 
INTLTOOL_UI_RULE
838
 
INTLTOOL_XAM_RULE
839
 
INTLTOOL_KBD_RULE
840
 
INTLTOOL_XML_RULE
841
 
INTLTOOL_XML_NOMERGE_RULE
842
 
INTLTOOL_CAVES_RULE
843
 
INTLTOOL_SCHEMAS_RULE
844
 
INTLTOOL_THEME_RULE
845
 
INTLTOOL_SERVICE_RULE
846
 
INTLTOOL_POLICY_RULE
847
 
INTLTOOL_EXTRACT
848
 
INTLTOOL_MERGE
849
 
INTLTOOL_UPDATE
850
 
INTLTOOL_PERL
851
 
ALL_LINGUAS
852
 
CC
853
 
CFLAGS
854
 
LDFLAGS
855
 
CPPFLAGS
856
 
ac_ct_CC
857
 
EXEEXT
858
 
OBJEXT
859
 
DEPDIR
860
 
am__include
861
 
am__quote
862
 
AMDEP_TRUE
863
 
AMDEP_FALSE
864
 
AMDEPBACKSLASH
865
 
CCDEPMODE
866
 
am__fastdepCC_TRUE
867
 
am__fastdepCC_FALSE
868
 
DATADIRNAME
869
 
build
870
 
build_cpu
871
 
build_vendor
872
 
build_os
873
 
host
874
 
host_cpu
875
 
host_vendor
876
 
host_os
877
 
SED
878
 
GREP
879
 
EGREP
880
 
LN_S
881
 
ECHO
882
 
AR
883
 
RANLIB
884
 
CPP
885
 
CXX
886
 
CXXFLAGS
887
 
ac_ct_CXX
888
 
CXXDEPMODE
889
 
am__fastdepCXX_TRUE
890
 
am__fastdepCXX_FALSE
891
 
CXXCPP
892
 
F77
893
 
FFLAGS
894
 
ac_ct_F77
895
 
LIBTOOL
896
 
HAVE_PKGCONFIG
897
 
PKG_CONFIG
898
 
NAUTILUS_CFLAGS
899
 
NAUTILUS_LIBS
900
 
GLIB_CFLAGS
901
 
GLIB_LIBS
902
 
LIBGLADE_CFLAGS
903
 
LIBGLADE_LIBS
904
 
pixmapsdir
905
 
interfacesdir
906
 
GETTEXT_PACKAGE
907
 
USE_NLS
908
 
MSGFMT
909
 
MSGFMT_OPTS
910
 
GMSGFMT
911
 
XGETTEXT
912
 
CATALOGS
913
 
CATOBJEXT
914
 
GMOFILES
915
 
INSTOBJEXT
916
 
INTLLIBS
917
 
PO_IN_DATADIR_TRUE
918
 
PO_IN_DATADIR_FALSE
919
 
POFILES
920
 
POSUB
921
 
MKINSTALLDIRS
922
 
gnomelocaledir
923
 
LIBOBJS
924
 
LTLIBOBJS'
925
 
ac_subst_files=''
926
 
      ac_precious_vars='build_alias
927
 
host_alias
928
 
target_alias
929
 
CC
930
 
CFLAGS
931
 
LDFLAGS
932
 
LIBS
933
 
CPPFLAGS
934
 
CPP
935
 
CXX
936
 
CXXFLAGS
937
 
CCC
938
 
CXXCPP
939
 
F77
940
 
FFLAGS
941
 
PKG_CONFIG
942
 
NAUTILUS_CFLAGS
943
 
NAUTILUS_LIBS
944
 
GLIB_CFLAGS
945
 
GLIB_LIBS
946
 
LIBGLADE_CFLAGS
947
 
LIBGLADE_LIBS'
948
 
 
949
 
 
950
 
# Initialize some variables set by options.
951
 
ac_init_help=
952
 
ac_init_version=false
953
 
# The variables have the same names as the options, with
954
 
# dashes changed to underlines.
955
 
cache_file=/dev/null
956
 
exec_prefix=NONE
957
 
no_create=
958
 
no_recursion=
959
 
prefix=NONE
960
 
program_prefix=NONE
961
 
program_suffix=NONE
962
 
program_transform_name=s,x,x,
963
 
silent=
964
 
site=
965
 
srcdir=
966
 
verbose=
967
 
x_includes=NONE
968
 
x_libraries=NONE
969
 
 
970
 
# Installation directory options.
971
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
972
 
# and all the variables that are supposed to be based on exec_prefix
973
 
# by default will actually change.
974
 
# Use braces instead of parens because sh, perl, etc. also accept them.
975
 
# (The list follows the same order as the GNU Coding Standards.)
976
 
bindir='${exec_prefix}/bin'
977
 
sbindir='${exec_prefix}/sbin'
978
 
libexecdir='${exec_prefix}/libexec'
979
 
datarootdir='${prefix}/share'
980
 
datadir='${datarootdir}'
981
 
sysconfdir='${prefix}/etc'
982
 
sharedstatedir='${prefix}/com'
983
 
localstatedir='${prefix}/var'
984
 
includedir='${prefix}/include'
985
 
oldincludedir='/usr/include'
986
 
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
987
 
infodir='${datarootdir}/info'
988
 
htmldir='${docdir}'
989
 
dvidir='${docdir}'
990
 
pdfdir='${docdir}'
991
 
psdir='${docdir}'
992
 
libdir='${exec_prefix}/lib'
993
 
localedir='${datarootdir}/locale'
994
 
mandir='${datarootdir}/man'
995
 
 
996
 
ac_prev=
997
 
ac_dashdash=
998
 
for ac_option
999
 
do
1000
 
  # If the previous option needs an argument, assign it.
1001
 
  if test -n "$ac_prev"; then
1002
 
    eval $ac_prev=\$ac_option
1003
 
    ac_prev=
1004
 
    continue
1005
 
  fi
1006
 
 
1007
 
  case $ac_option in
1008
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1009
 
  *)    ac_optarg=yes ;;
1010
 
  esac
1011
 
 
1012
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
1013
 
 
1014
 
  case $ac_dashdash$ac_option in
1015
 
  --)
1016
 
    ac_dashdash=yes ;;
1017
 
 
1018
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1019
 
    ac_prev=bindir ;;
1020
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1021
 
    bindir=$ac_optarg ;;
1022
 
 
1023
 
  -build | --build | --buil | --bui | --bu)
1024
 
    ac_prev=build_alias ;;
1025
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1026
 
    build_alias=$ac_optarg ;;
1027
 
 
1028
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
1029
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1030
 
    ac_prev=cache_file ;;
1031
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1032
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1033
 
    cache_file=$ac_optarg ;;
1034
 
 
1035
 
  --config-cache | -C)
1036
 
    cache_file=config.cache ;;
1037
 
 
1038
 
  -datadir | --datadir | --datadi | --datad)
1039
 
    ac_prev=datadir ;;
1040
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1041
 
    datadir=$ac_optarg ;;
1042
 
 
1043
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1044
 
  | --dataroo | --dataro | --datar)
1045
 
    ac_prev=datarootdir ;;
1046
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1047
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1048
 
    datarootdir=$ac_optarg ;;
1049
 
 
1050
 
  -disable-* | --disable-*)
1051
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1052
 
    # Reject names that are not valid shell variable names.
1053
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1054
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1055
 
   { (exit 1); exit 1; }; }
1056
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1057
 
    eval enable_$ac_feature=no ;;
1058
 
 
1059
 
  -docdir | --docdir | --docdi | --doc | --do)
1060
 
    ac_prev=docdir ;;
1061
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1062
 
    docdir=$ac_optarg ;;
1063
 
 
1064
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1065
 
    ac_prev=dvidir ;;
1066
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1067
 
    dvidir=$ac_optarg ;;
1068
 
 
1069
 
  -enable-* | --enable-*)
1070
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1071
 
    # Reject names that are not valid shell variable names.
1072
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1073
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1074
 
   { (exit 1); exit 1; }; }
1075
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1076
 
    eval enable_$ac_feature=\$ac_optarg ;;
1077
 
 
1078
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1079
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1080
 
  | --exec | --exe | --ex)
1081
 
    ac_prev=exec_prefix ;;
1082
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1083
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1084
 
  | --exec=* | --exe=* | --ex=*)
1085
 
    exec_prefix=$ac_optarg ;;
1086
 
 
1087
 
  -gas | --gas | --ga | --g)
1088
 
    # Obsolete; use --with-gas.
1089
 
    with_gas=yes ;;
1090
 
 
1091
 
  -help | --help | --hel | --he | -h)
1092
 
    ac_init_help=long ;;
1093
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1094
 
    ac_init_help=recursive ;;
1095
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1096
 
    ac_init_help=short ;;
1097
 
 
1098
 
  -host | --host | --hos | --ho)
1099
 
    ac_prev=host_alias ;;
1100
 
  -host=* | --host=* | --hos=* | --ho=*)
1101
 
    host_alias=$ac_optarg ;;
1102
 
 
1103
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1104
 
    ac_prev=htmldir ;;
1105
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1106
 
  | --ht=*)
1107
 
    htmldir=$ac_optarg ;;
1108
 
 
1109
 
  -includedir | --includedir | --includedi | --included | --include \
1110
 
  | --includ | --inclu | --incl | --inc)
1111
 
    ac_prev=includedir ;;
1112
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1113
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1114
 
    includedir=$ac_optarg ;;
1115
 
 
1116
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1117
 
    ac_prev=infodir ;;
1118
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1119
 
    infodir=$ac_optarg ;;
1120
 
 
1121
 
  -libdir | --libdir | --libdi | --libd)
1122
 
    ac_prev=libdir ;;
1123
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1124
 
    libdir=$ac_optarg ;;
1125
 
 
1126
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1127
 
  | --libexe | --libex | --libe)
1128
 
    ac_prev=libexecdir ;;
1129
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1130
 
  | --libexe=* | --libex=* | --libe=*)
1131
 
    libexecdir=$ac_optarg ;;
1132
 
 
1133
 
  -localedir | --localedir | --localedi | --localed | --locale)
1134
 
    ac_prev=localedir ;;
1135
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1136
 
    localedir=$ac_optarg ;;
1137
 
 
1138
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1139
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1140
 
    ac_prev=localstatedir ;;
1141
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1142
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1143
 
    localstatedir=$ac_optarg ;;
1144
 
 
1145
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1146
 
    ac_prev=mandir ;;
1147
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1148
 
    mandir=$ac_optarg ;;
1149
 
 
1150
 
  -nfp | --nfp | --nf)
1151
 
    # Obsolete; use --without-fp.
1152
 
    with_fp=no ;;
1153
 
 
1154
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1155
 
  | --no-cr | --no-c | -n)
1156
 
    no_create=yes ;;
1157
 
 
1158
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1159
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1160
 
    no_recursion=yes ;;
1161
 
 
1162
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1163
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1164
 
  | --oldin | --oldi | --old | --ol | --o)
1165
 
    ac_prev=oldincludedir ;;
1166
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1167
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1168
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1169
 
    oldincludedir=$ac_optarg ;;
1170
 
 
1171
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1172
 
    ac_prev=prefix ;;
1173
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1174
 
    prefix=$ac_optarg ;;
1175
 
 
1176
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1177
 
  | --program-pre | --program-pr | --program-p)
1178
 
    ac_prev=program_prefix ;;
1179
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1180
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1181
 
    program_prefix=$ac_optarg ;;
1182
 
 
1183
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1184
 
  | --program-suf | --program-su | --program-s)
1185
 
    ac_prev=program_suffix ;;
1186
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1187
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1188
 
    program_suffix=$ac_optarg ;;
1189
 
 
1190
 
  -program-transform-name | --program-transform-name \
1191
 
  | --program-transform-nam | --program-transform-na \
1192
 
  | --program-transform-n | --program-transform- \
1193
 
  | --program-transform | --program-transfor \
1194
 
  | --program-transfo | --program-transf \
1195
 
  | --program-trans | --program-tran \
1196
 
  | --progr-tra | --program-tr | --program-t)
1197
 
    ac_prev=program_transform_name ;;
1198
 
  -program-transform-name=* | --program-transform-name=* \
1199
 
  | --program-transform-nam=* | --program-transform-na=* \
1200
 
  | --program-transform-n=* | --program-transform-=* \
1201
 
  | --program-transform=* | --program-transfor=* \
1202
 
  | --program-transfo=* | --program-transf=* \
1203
 
  | --program-trans=* | --program-tran=* \
1204
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1205
 
    program_transform_name=$ac_optarg ;;
1206
 
 
1207
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1208
 
    ac_prev=pdfdir ;;
1209
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1210
 
    pdfdir=$ac_optarg ;;
1211
 
 
1212
 
  -psdir | --psdir | --psdi | --psd | --ps)
1213
 
    ac_prev=psdir ;;
1214
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1215
 
    psdir=$ac_optarg ;;
1216
 
 
1217
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1218
 
  | -silent | --silent | --silen | --sile | --sil)
1219
 
    silent=yes ;;
1220
 
 
1221
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1222
 
    ac_prev=sbindir ;;
1223
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1224
 
  | --sbi=* | --sb=*)
1225
 
    sbindir=$ac_optarg ;;
1226
 
 
1227
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1228
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1229
 
  | --sharedst | --shareds | --shared | --share | --shar \
1230
 
  | --sha | --sh)
1231
 
    ac_prev=sharedstatedir ;;
1232
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1233
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1234
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1235
 
  | --sha=* | --sh=*)
1236
 
    sharedstatedir=$ac_optarg ;;
1237
 
 
1238
 
  -site | --site | --sit)
1239
 
    ac_prev=site ;;
1240
 
  -site=* | --site=* | --sit=*)
1241
 
    site=$ac_optarg ;;
1242
 
 
1243
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1244
 
    ac_prev=srcdir ;;
1245
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1246
 
    srcdir=$ac_optarg ;;
1247
 
 
1248
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1249
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1250
 
    ac_prev=sysconfdir ;;
1251
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1252
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1253
 
    sysconfdir=$ac_optarg ;;
1254
 
 
1255
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1256
 
    ac_prev=target_alias ;;
1257
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1258
 
    target_alias=$ac_optarg ;;
1259
 
 
1260
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1261
 
    verbose=yes ;;
1262
 
 
1263
 
  -version | --version | --versio | --versi | --vers | -V)
1264
 
    ac_init_version=: ;;
1265
 
 
1266
 
  -with-* | --with-*)
1267
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1268
 
    # Reject names that are not valid shell variable names.
1269
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1270
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1271
 
   { (exit 1); exit 1; }; }
1272
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1273
 
    eval with_$ac_package=\$ac_optarg ;;
1274
 
 
1275
 
  -without-* | --without-*)
1276
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1277
 
    # Reject names that are not valid shell variable names.
1278
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1279
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1280
 
   { (exit 1); exit 1; }; }
1281
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1282
 
    eval with_$ac_package=no ;;
1283
 
 
1284
 
  --x)
1285
 
    # Obsolete; use --with-x.
1286
 
    with_x=yes ;;
1287
 
 
1288
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1289
 
  | --x-incl | --x-inc | --x-in | --x-i)
1290
 
    ac_prev=x_includes ;;
1291
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1292
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1293
 
    x_includes=$ac_optarg ;;
1294
 
 
1295
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1296
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1297
 
    ac_prev=x_libraries ;;
1298
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1299
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1300
 
    x_libraries=$ac_optarg ;;
1301
 
 
1302
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1303
 
Try \`$0 --help' for more information." >&2
1304
 
   { (exit 1); exit 1; }; }
1305
 
    ;;
1306
 
 
1307
 
  *=*)
1308
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1309
 
    # Reject names that are not valid shell variable names.
1310
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1311
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1312
 
   { (exit 1); exit 1; }; }
1313
 
    eval $ac_envvar=\$ac_optarg
1314
 
    export $ac_envvar ;;
1315
 
 
1316
 
  *)
1317
 
    # FIXME: should be removed in autoconf 3.0.
1318
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1319
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1320
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1321
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1322
 
    ;;
1323
 
 
1324
 
  esac
1325
 
done
1326
 
 
1327
 
if test -n "$ac_prev"; then
1328
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1329
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
1330
 
   { (exit 1); exit 1; }; }
1331
 
fi
1332
 
 
1333
 
# Be sure to have absolute directory names.
1334
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1335
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1336
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1337
 
                libdir localedir mandir
1338
 
do
1339
 
  eval ac_val=\$$ac_var
1340
 
  case $ac_val in
1341
 
    [\\/$]* | ?:[\\/]* )  continue;;
1342
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1343
 
  esac
1344
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1345
 
   { (exit 1); exit 1; }; }
1346
 
done
1347
 
 
1348
 
# There might be people who depend on the old broken behavior: `$host'
1349
 
# used to hold the argument of --host etc.
1350
 
# FIXME: To remove some day.
1351
 
build=$build_alias
1352
 
host=$host_alias
1353
 
target=$target_alias
1354
 
 
1355
 
# FIXME: To remove some day.
1356
 
if test "x$host_alias" != x; then
1357
 
  if test "x$build_alias" = x; then
1358
 
    cross_compiling=maybe
1359
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1360
 
    If a cross compiler is detected then cross compile mode will be used." >&2
1361
 
  elif test "x$build_alias" != "x$host_alias"; then
1362
 
    cross_compiling=yes
1363
 
  fi
1364
 
fi
1365
 
 
1366
 
ac_tool_prefix=
1367
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1368
 
 
1369
 
test "$silent" = yes && exec 6>/dev/null
1370
 
 
1371
 
 
1372
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1373
 
ac_ls_di=`ls -di .` &&
1374
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1375
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
1376
 
   { (exit 1); exit 1; }; }
1377
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1378
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1379
 
   { (exit 1); exit 1; }; }
1380
 
 
1381
 
 
1382
 
# Find the source files, if location was not specified.
1383
 
if test -z "$srcdir"; then
1384
 
  ac_srcdir_defaulted=yes
1385
 
  # Try the directory containing this script, then the parent directory.
1386
 
  ac_confdir=`$as_dirname -- "$0" ||
1387
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1388
 
         X"$0" : 'X\(//\)[^/]' \| \
1389
 
         X"$0" : 'X\(//\)$' \| \
1390
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1391
 
echo X"$0" |
1392
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1393
 
            s//\1/
1394
 
            q
1395
 
          }
1396
 
          /^X\(\/\/\)[^/].*/{
1397
 
            s//\1/
1398
 
            q
1399
 
          }
1400
 
          /^X\(\/\/\)$/{
1401
 
            s//\1/
1402
 
            q
1403
 
          }
1404
 
          /^X\(\/\).*/{
1405
 
            s//\1/
1406
 
            q
1407
 
          }
1408
 
          s/.*/./; q'`
1409
 
  srcdir=$ac_confdir
1410
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1411
 
    srcdir=..
1412
 
  fi
1413
 
else
1414
 
  ac_srcdir_defaulted=no
1415
 
fi
1416
 
if test ! -r "$srcdir/$ac_unique_file"; then
1417
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1418
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1419
 
   { (exit 1); exit 1; }; }
1420
 
fi
1421
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1422
 
ac_abs_confdir=`(
1423
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1424
 
   { (exit 1); exit 1; }; }
1425
 
        pwd)`
1426
 
# When building in place, set srcdir=.
1427
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1428
 
  srcdir=.
1429
 
fi
1430
 
# Remove unnecessary trailing slashes from srcdir.
1431
 
# Double slashes in file names in object file debugging info
1432
 
# mess up M-x gdb in Emacs.
1433
 
case $srcdir in
1434
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1435
 
esac
1436
 
for ac_var in $ac_precious_vars; do
1437
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1438
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1439
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1440
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1441
 
done
1442
 
 
1443
 
#
1444
 
# Report the --help message.
1445
 
#
1446
 
if test "$ac_init_help" = "long"; then
1447
 
  # Omit some internal or obsolete options to make the list less imposing.
1448
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1449
 
  cat <<_ACEOF
1450
 
\`configure' configures nautilus-share 0.7.2 to adapt to many kinds of systems.
1451
 
 
1452
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1453
 
 
1454
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1455
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1456
 
 
1457
 
Defaults for the options are specified in brackets.
1458
 
 
1459
 
Configuration:
1460
 
  -h, --help              display this help and exit
1461
 
      --help=short        display options specific to this package
1462
 
      --help=recursive    display the short help of all the included packages
1463
 
  -V, --version           display version information and exit
1464
 
  -q, --quiet, --silent   do not print \`checking...' messages
1465
 
      --cache-file=FILE   cache test results in FILE [disabled]
1466
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1467
 
  -n, --no-create         do not create output files
1468
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1469
 
 
1470
 
Installation directories:
1471
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1472
 
                          [$ac_default_prefix]
1473
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1474
 
                          [PREFIX]
1475
 
 
1476
 
By default, \`make install' will install all the files in
1477
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1478
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1479
 
for instance \`--prefix=\$HOME'.
1480
 
 
1481
 
For better control, use the options below.
1482
 
 
1483
 
Fine tuning of the installation directories:
1484
 
  --bindir=DIR           user executables [EPREFIX/bin]
1485
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1486
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1487
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1488
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1489
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1490
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1491
 
  --includedir=DIR       C header files [PREFIX/include]
1492
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1493
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1494
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1495
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1496
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1497
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1498
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/nautilus-share]
1499
 
  --htmldir=DIR          html documentation [DOCDIR]
1500
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1501
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1502
 
  --psdir=DIR            ps documentation [DOCDIR]
1503
 
_ACEOF
1504
 
 
1505
 
  cat <<\_ACEOF
1506
 
 
1507
 
Program names:
1508
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1509
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1510
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1511
 
 
1512
 
System types:
1513
 
  --build=BUILD     configure for building on BUILD [guessed]
1514
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1515
 
_ACEOF
1516
 
fi
1517
 
 
1518
 
if test -n "$ac_init_help"; then
1519
 
  case $ac_init_help in
1520
 
     short | recursive ) echo "Configuration of nautilus-share 0.7.2:";;
1521
 
   esac
1522
 
  cat <<\_ACEOF
1523
 
 
1524
 
Optional Features:
1525
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1526
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1527
 
  --disable-dependency-tracking  speeds up one-time build
1528
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1529
 
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1530
 
  --enable-static[=PKGS]  build static libraries [default=yes]
1531
 
  --enable-fast-install[=PKGS]
1532
 
                          optimize for fast installation [default=yes]
1533
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1534
 
 
1535
 
Optional Packages:
1536
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1537
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1538
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1539
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
1540
 
                          both]
1541
 
  --with-tags[=TAGS]      include additional configurations [automatic]
1542
 
 
1543
 
Some influential environment variables:
1544
 
  CC          C compiler command
1545
 
  CFLAGS      C compiler flags
1546
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1547
 
              nonstandard directory <lib dir>
1548
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1549
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1550
 
              you have headers in a nonstandard directory <include dir>
1551
 
  CPP         C preprocessor
1552
 
  CXX         C++ compiler command
1553
 
  CXXFLAGS    C++ compiler flags
1554
 
  CXXCPP      C++ preprocessor
1555
 
  F77         Fortran 77 compiler command
1556
 
  FFLAGS      Fortran 77 compiler flags
1557
 
  PKG_CONFIG  path to pkg-config utility
1558
 
  NAUTILUS_CFLAGS
1559
 
              C compiler flags for NAUTILUS, overriding pkg-config
1560
 
  NAUTILUS_LIBS
1561
 
              linker flags for NAUTILUS, overriding pkg-config
1562
 
  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1563
 
  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1564
 
  LIBGLADE_CFLAGS
1565
 
              C compiler flags for LIBGLADE, overriding pkg-config
1566
 
  LIBGLADE_LIBS
1567
 
              linker flags for LIBGLADE, overriding pkg-config
1568
 
 
1569
 
Use these variables to override the choices made by `configure' or to help
1570
 
it to find libraries and programs with nonstandard names/locations.
1571
 
 
1572
 
_ACEOF
1573
 
ac_status=$?
1574
 
fi
1575
 
 
1576
 
if test "$ac_init_help" = "recursive"; then
1577
 
  # If there are subdirs, report their specific --help.
1578
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1579
 
    test -d "$ac_dir" || continue
1580
 
    ac_builddir=.
1581
 
 
1582
 
case "$ac_dir" in
1583
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1584
 
*)
1585
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1586
 
  # A ".." for each directory in $ac_dir_suffix.
1587
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1588
 
  case $ac_top_builddir_sub in
1589
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1590
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1591
 
  esac ;;
1592
 
esac
1593
 
ac_abs_top_builddir=$ac_pwd
1594
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1595
 
# for backward compatibility:
1596
 
ac_top_builddir=$ac_top_build_prefix
1597
 
 
1598
 
case $srcdir in
1599
 
  .)  # We are building in place.
1600
 
    ac_srcdir=.
1601
 
    ac_top_srcdir=$ac_top_builddir_sub
1602
 
    ac_abs_top_srcdir=$ac_pwd ;;
1603
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1604
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1605
 
    ac_top_srcdir=$srcdir
1606
 
    ac_abs_top_srcdir=$srcdir ;;
1607
 
  *) # Relative name.
1608
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1609
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1610
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1611
 
esac
1612
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1613
 
 
1614
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1615
 
    # Check for guested configure.
1616
 
    if test -f "$ac_srcdir/configure.gnu"; then
1617
 
      echo &&
1618
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1619
 
    elif test -f "$ac_srcdir/configure"; then
1620
 
      echo &&
1621
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1622
 
    else
1623
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1624
 
    fi || ac_status=$?
1625
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1626
 
  done
1627
 
fi
1628
 
 
1629
 
test -n "$ac_init_help" && exit $ac_status
1630
 
if $ac_init_version; then
1631
 
  cat <<\_ACEOF
1632
 
nautilus-share configure 0.7.2
1633
 
generated by GNU Autoconf 2.61
1634
 
 
1635
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1636
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1637
 
This configure script is free software; the Free Software Foundation
1638
 
gives unlimited permission to copy, distribute and modify it.
1639
 
_ACEOF
1640
 
  exit
1641
 
fi
1642
 
cat >config.log <<_ACEOF
1643
 
This file contains any messages produced by compilers while
1644
 
running configure, to aid debugging if configure makes a mistake.
1645
 
 
1646
 
It was created by nautilus-share $as_me 0.7.2, which was
1647
 
generated by GNU Autoconf 2.61.  Invocation command line was
1648
 
 
1649
 
  $ $0 $@
1650
 
 
1651
 
_ACEOF
1652
 
exec 5>>config.log
1653
 
{
1654
 
cat <<_ASUNAME
1655
 
## --------- ##
1656
 
## Platform. ##
1657
 
## --------- ##
1658
 
 
1659
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1660
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1661
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1662
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1663
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1664
 
 
1665
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1666
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1667
 
 
1668
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1669
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1670
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1671
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1672
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1673
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1674
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1675
 
 
1676
 
_ASUNAME
1677
 
 
1678
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1679
 
for as_dir in $PATH
1680
 
do
1681
 
  IFS=$as_save_IFS
1682
 
  test -z "$as_dir" && as_dir=.
1683
 
  echo "PATH: $as_dir"
1684
 
done
1685
 
IFS=$as_save_IFS
1686
 
 
1687
 
} >&5
1688
 
 
1689
 
cat >&5 <<_ACEOF
1690
 
 
1691
 
 
1692
 
## ----------- ##
1693
 
## Core tests. ##
1694
 
## ----------- ##
1695
 
 
1696
 
_ACEOF
1697
 
 
1698
 
 
1699
 
# Keep a trace of the command line.
1700
 
# Strip out --no-create and --no-recursion so they do not pile up.
1701
 
# Strip out --silent because we don't want to record it for future runs.
1702
 
# Also quote any args containing shell meta-characters.
1703
 
# Make two passes to allow for proper duplicate-argument suppression.
1704
 
ac_configure_args=
1705
 
ac_configure_args0=
1706
 
ac_configure_args1=
1707
 
ac_must_keep_next=false
1708
 
for ac_pass in 1 2
1709
 
do
1710
 
  for ac_arg
1711
 
  do
1712
 
    case $ac_arg in
1713
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1714
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1715
 
    | -silent | --silent | --silen | --sile | --sil)
1716
 
      continue ;;
1717
 
    *\'*)
1718
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1719
 
    esac
1720
 
    case $ac_pass in
1721
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1722
 
    2)
1723
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1724
 
      if test $ac_must_keep_next = true; then
1725
 
        ac_must_keep_next=false # Got value, back to normal.
1726
 
      else
1727
 
        case $ac_arg in
1728
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1729
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1730
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1731
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1732
 
            case "$ac_configure_args0 " in
1733
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1734
 
            esac
1735
 
            ;;
1736
 
          -* ) ac_must_keep_next=true ;;
1737
 
        esac
1738
 
      fi
1739
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
1740
 
      ;;
1741
 
    esac
1742
 
  done
1743
 
done
1744
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1745
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1746
 
 
1747
 
# When interrupted or exit'd, cleanup temporary files, and complete
1748
 
# config.log.  We remove comments because anyway the quotes in there
1749
 
# would cause problems or look ugly.
1750
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
1751
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1752
 
trap 'exit_status=$?
1753
 
  # Save into config.log some information that might help in debugging.
1754
 
  {
1755
 
    echo
1756
 
 
1757
 
    cat <<\_ASBOX
1758
 
## ---------------- ##
1759
 
## Cache variables. ##
1760
 
## ---------------- ##
1761
 
_ASBOX
1762
 
    echo
1763
 
    # The following way of writing the cache mishandles newlines in values,
1764
 
(
1765
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1766
 
    eval ac_val=\$$ac_var
1767
 
    case $ac_val in #(
1768
 
    *${as_nl}*)
1769
 
      case $ac_var in #(
1770
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1771
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1772
 
      esac
1773
 
      case $ac_var in #(
1774
 
      _ | IFS | as_nl) ;; #(
1775
 
      *) $as_unset $ac_var ;;
1776
 
      esac ;;
1777
 
    esac
1778
 
  done
1779
 
  (set) 2>&1 |
1780
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1781
 
    *${as_nl}ac_space=\ *)
1782
 
      sed -n \
1783
 
        "s/'\''/'\''\\\\'\'''\''/g;
1784
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1785
 
      ;; #(
1786
 
    *)
1787
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1788
 
      ;;
1789
 
    esac |
1790
 
    sort
1791
 
)
1792
 
    echo
1793
 
 
1794
 
    cat <<\_ASBOX
1795
 
## ----------------- ##
1796
 
## Output variables. ##
1797
 
## ----------------- ##
1798
 
_ASBOX
1799
 
    echo
1800
 
    for ac_var in $ac_subst_vars
1801
 
    do
1802
 
      eval ac_val=\$$ac_var
1803
 
      case $ac_val in
1804
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1805
 
      esac
1806
 
      echo "$ac_var='\''$ac_val'\''"
1807
 
    done | sort
1808
 
    echo
1809
 
 
1810
 
    if test -n "$ac_subst_files"; then
1811
 
      cat <<\_ASBOX
1812
 
## ------------------- ##
1813
 
## File substitutions. ##
1814
 
## ------------------- ##
1815
 
_ASBOX
1816
 
      echo
1817
 
      for ac_var in $ac_subst_files
1818
 
      do
1819
 
        eval ac_val=\$$ac_var
1820
 
        case $ac_val in
1821
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1822
 
        esac
1823
 
        echo "$ac_var='\''$ac_val'\''"
1824
 
      done | sort
1825
 
      echo
1826
 
    fi
1827
 
 
1828
 
    if test -s confdefs.h; then
1829
 
      cat <<\_ASBOX
1830
 
## ----------- ##
1831
 
## confdefs.h. ##
1832
 
## ----------- ##
1833
 
_ASBOX
1834
 
      echo
1835
 
      cat confdefs.h
1836
 
      echo
1837
 
    fi
1838
 
    test "$ac_signal" != 0 &&
1839
 
      echo "$as_me: caught signal $ac_signal"
1840
 
    echo "$as_me: exit $exit_status"
1841
 
  } >&5
1842
 
  rm -f core *.core core.conftest.* &&
1843
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1844
 
    exit $exit_status
1845
 
' 0
1846
 
for ac_signal in 1 2 13 15; do
1847
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1848
 
done
1849
 
ac_signal=0
1850
 
 
1851
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1852
 
rm -f -r conftest* confdefs.h
1853
 
 
1854
 
# Predefined preprocessor variables.
1855
 
 
1856
 
cat >>confdefs.h <<_ACEOF
1857
 
#define PACKAGE_NAME "$PACKAGE_NAME"
1858
 
_ACEOF
1859
 
 
1860
 
 
1861
 
cat >>confdefs.h <<_ACEOF
1862
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1863
 
_ACEOF
1864
 
 
1865
 
 
1866
 
cat >>confdefs.h <<_ACEOF
1867
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1868
 
_ACEOF
1869
 
 
1870
 
 
1871
 
cat >>confdefs.h <<_ACEOF
1872
 
#define PACKAGE_STRING "$PACKAGE_STRING"
1873
 
_ACEOF
1874
 
 
1875
 
 
1876
 
cat >>confdefs.h <<_ACEOF
1877
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1878
 
_ACEOF
1879
 
 
1880
 
 
1881
 
# Let the site file select an alternate cache file if it wants to.
1882
 
# Prefer explicitly selected file to automatically selected ones.
1883
 
if test -n "$CONFIG_SITE"; then
1884
 
  set x "$CONFIG_SITE"
1885
 
elif test "x$prefix" != xNONE; then
1886
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1887
 
else
1888
 
  set x "$ac_default_prefix/share/config.site" \
1889
 
        "$ac_default_prefix/etc/config.site"
1890
 
fi
1891
 
shift
1892
 
for ac_site_file
1893
 
do
1894
 
  if test -r "$ac_site_file"; then
1895
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1896
 
echo "$as_me: loading site script $ac_site_file" >&6;}
1897
 
    sed 's/^/| /' "$ac_site_file" >&5
1898
 
    . "$ac_site_file"
1899
 
  fi
1900
 
done
1901
 
 
1902
 
if test -r "$cache_file"; then
1903
 
  # Some versions of bash will fail to source /dev/null (special
1904
 
  # files actually), so we avoid doing that.
1905
 
  if test -f "$cache_file"; then
1906
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1907
 
echo "$as_me: loading cache $cache_file" >&6;}
1908
 
    case $cache_file in
1909
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1910
 
      *)                      . "./$cache_file";;
1911
 
    esac
1912
 
  fi
1913
 
else
1914
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1915
 
echo "$as_me: creating cache $cache_file" >&6;}
1916
 
  >$cache_file
1917
 
fi
1918
 
 
1919
 
# Check that the precious variables saved in the cache have kept the same
1920
 
# value.
1921
 
ac_cache_corrupted=false
1922
 
for ac_var in $ac_precious_vars; do
1923
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1924
 
  eval ac_new_set=\$ac_env_${ac_var}_set
1925
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1926
 
  eval ac_new_val=\$ac_env_${ac_var}_value
1927
 
  case $ac_old_set,$ac_new_set in
1928
 
    set,)
1929
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1930
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1931
 
      ac_cache_corrupted=: ;;
1932
 
    ,set)
1933
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1934
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1935
 
      ac_cache_corrupted=: ;;
1936
 
    ,);;
1937
 
    *)
1938
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
1939
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1940
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1941
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1942
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1943
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1944
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1945
 
        ac_cache_corrupted=:
1946
 
      fi;;
1947
 
  esac
1948
 
  # Pass precious variables to config.status.
1949
 
  if test "$ac_new_set" = set; then
1950
 
    case $ac_new_val in
1951
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1952
 
    *) ac_arg=$ac_var=$ac_new_val ;;
1953
 
    esac
1954
 
    case " $ac_configure_args " in
1955
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1956
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1957
 
    esac
1958
 
  fi
1959
 
done
1960
 
if $ac_cache_corrupted; then
1961
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1962
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1963
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1964
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1965
 
   { (exit 1); exit 1; }; }
1966
 
fi
1967
 
 
1968
 
 
1969
 
 
1970
 
 
1971
 
 
1972
 
 
1973
 
 
1974
 
 
1975
 
 
1976
 
 
1977
 
 
1978
 
 
1979
 
 
1980
 
 
1981
 
 
1982
 
 
1983
 
 
1984
 
 
1985
 
 
1986
 
 
1987
 
 
1988
 
 
1989
 
 
1990
 
 
1991
 
 
1992
 
ac_ext=c
1993
 
ac_cpp='$CPP $CPPFLAGS'
1994
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1995
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1996
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1997
 
 
1998
 
 
1999
 
 
2000
 
ac_config_headers="$ac_config_headers config.h"
2001
 
 
2002
 
am__api_version="1.9"
2003
 
ac_aux_dir=
2004
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2005
 
  if test -f "$ac_dir/install-sh"; then
2006
 
    ac_aux_dir=$ac_dir
2007
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2008
 
    break
2009
 
  elif test -f "$ac_dir/install.sh"; then
2010
 
    ac_aux_dir=$ac_dir
2011
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2012
 
    break
2013
 
  elif test -f "$ac_dir/shtool"; then
2014
 
    ac_aux_dir=$ac_dir
2015
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2016
 
    break
2017
 
  fi
2018
 
done
2019
 
if test -z "$ac_aux_dir"; then
2020
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2021
 
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2022
 
   { (exit 1); exit 1; }; }
2023
 
fi
2024
 
 
2025
 
# These three variables are undocumented and unsupported,
2026
 
# and are intended to be withdrawn in a future Autoconf release.
2027
 
# They can cause serious problems if a builder's source tree is in a directory
2028
 
# whose full name contains unusual characters.
2029
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2030
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2031
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2032
 
 
2033
 
 
2034
 
# Find a good install program.  We prefer a C program (faster),
2035
 
# so one script is as good as another.  But avoid the broken or
2036
 
# incompatible versions:
2037
 
# SysV /etc/install, /usr/sbin/install
2038
 
# SunOS /usr/etc/install
2039
 
# IRIX /sbin/install
2040
 
# AIX /bin/install
2041
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2042
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2043
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2044
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2045
 
# OS/2's system install, which has a completely different semantic
2046
 
# ./install, which can be erroneously created by make from ./install.sh.
2047
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2048
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2049
 
if test -z "$INSTALL"; then
2050
 
if test "${ac_cv_path_install+set}" = set; then
2051
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2052
 
else
2053
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2054
 
for as_dir in $PATH
2055
 
do
2056
 
  IFS=$as_save_IFS
2057
 
  test -z "$as_dir" && as_dir=.
2058
 
  # Account for people who put trailing slashes in PATH elements.
2059
 
case $as_dir/ in
2060
 
  ./ | .// | /cC/* | \
2061
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2062
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2063
 
  /usr/ucb/* ) ;;
2064
 
  *)
2065
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2066
 
    # Don't use installbsd from OSF since it installs stuff as root
2067
 
    # by default.
2068
 
    for ac_prog in ginstall scoinst install; do
2069
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2070
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2071
 
          if test $ac_prog = install &&
2072
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2073
 
            # AIX install.  It has an incompatible calling convention.
2074
 
            :
2075
 
          elif test $ac_prog = install &&
2076
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2077
 
            # program-specific install script used by HP pwplus--don't use.
2078
 
            :
2079
 
          else
2080
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2081
 
            break 3
2082
 
          fi
2083
 
        fi
2084
 
      done
2085
 
    done
2086
 
    ;;
2087
 
esac
2088
 
done
2089
 
IFS=$as_save_IFS
2090
 
 
2091
 
 
2092
 
fi
2093
 
  if test "${ac_cv_path_install+set}" = set; then
2094
 
    INSTALL=$ac_cv_path_install
2095
 
  else
2096
 
    # As a last resort, use the slow shell script.  Don't cache a
2097
 
    # value for INSTALL within a source directory, because that will
2098
 
    # break other packages using the cache if that directory is
2099
 
    # removed, or if the value is a relative name.
2100
 
    INSTALL=$ac_install_sh
2101
 
  fi
2102
 
fi
2103
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2104
 
echo "${ECHO_T}$INSTALL" >&6; }
2105
 
 
2106
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2107
 
# It thinks the first close brace ends the variable substitution.
2108
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2109
 
 
2110
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2111
 
 
2112
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2113
 
 
2114
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2115
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2116
 
# Just in case
2117
 
sleep 1
2118
 
echo timestamp > conftest.file
2119
 
# Do `set' in a subshell so we don't clobber the current shell's
2120
 
# arguments.  Must try -L first in case configure is actually a
2121
 
# symlink; some systems play weird games with the mod time of symlinks
2122
 
# (eg FreeBSD returns the mod time of the symlink's containing
2123
 
# directory).
2124
 
if (
2125
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2126
 
   if test "$*" = "X"; then
2127
 
      # -L didn't work.
2128
 
      set X `ls -t $srcdir/configure conftest.file`
2129
 
   fi
2130
 
   rm -f conftest.file
2131
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2132
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2133
 
 
2134
 
      # If neither matched, then we have a broken ls.  This can happen
2135
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2136
 
      # broken ls alias from the environment.  This has actually
2137
 
      # happened.  Such a system could not be considered "sane".
2138
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2139
 
alias in your environment" >&5
2140
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2141
 
alias in your environment" >&2;}
2142
 
   { (exit 1); exit 1; }; }
2143
 
   fi
2144
 
 
2145
 
   test "$2" = conftest.file
2146
 
   )
2147
 
then
2148
 
   # Ok.
2149
 
   :
2150
 
else
2151
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2152
 
Check your system clock" >&5
2153
 
echo "$as_me: error: newly created file is older than distributed files!
2154
 
Check your system clock" >&2;}
2155
 
   { (exit 1); exit 1; }; }
2156
 
fi
2157
 
{ echo "$as_me:$LINENO: result: yes" >&5
2158
 
echo "${ECHO_T}yes" >&6; }
2159
 
test "$program_prefix" != NONE &&
2160
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2161
 
# Use a double $ so make ignores it.
2162
 
test "$program_suffix" != NONE &&
2163
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2164
 
# Double any \ or $.  echo might interpret backslashes.
2165
 
# By default was `s,x,x', remove it if useless.
2166
 
cat <<\_ACEOF >conftest.sed
2167
 
s/[\\$]/&&/g;s/;s,x,x,$//
2168
 
_ACEOF
2169
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2170
 
rm -f conftest.sed
2171
 
 
2172
 
# expand $ac_aux_dir to an absolute path
2173
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2174
 
 
2175
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2176
 
# Use eval to expand $SHELL
2177
 
if eval "$MISSING --run true"; then
2178
 
  am_missing_run="$MISSING --run "
2179
 
else
2180
 
  am_missing_run=
2181
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2182
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2183
 
fi
2184
 
 
2185
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2186
 
  # We used to keeping the `.' as first argument, in order to
2187
 
  # allow $(mkdir_p) to be used without argument.  As in
2188
 
  #   $(mkdir_p) $(somedir)
2189
 
  # where $(somedir) is conditionally defined.  However this is wrong
2190
 
  # for two reasons:
2191
 
  #  1. if the package is installed by a user who cannot write `.'
2192
 
  #     make install will fail,
2193
 
  #  2. the above comment should most certainly read
2194
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
2195
 
  #     so it does not work when $(somedir) is undefined and
2196
 
  #     $(DESTDIR) is not.
2197
 
  #  To support the latter case, we have to write
2198
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2199
 
  #  so the `.' trick is pointless.
2200
 
  mkdir_p='mkdir -p --'
2201
 
else
2202
 
  # On NextStep and OpenStep, the `mkdir' command does not
2203
 
  # recognize any option.  It will interpret all options as
2204
 
  # directories to create, and then abort because `.' already
2205
 
  # exists.
2206
 
  for d in ./-p ./--version;
2207
 
  do
2208
 
    test -d $d && rmdir $d
2209
 
  done
2210
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2211
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
2212
 
    mkdir_p='$(mkinstalldirs)'
2213
 
  else
2214
 
    mkdir_p='$(install_sh) -d'
2215
 
  fi
2216
 
fi
2217
 
 
2218
 
for ac_prog in gawk mawk nawk awk
2219
 
do
2220
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2221
 
set dummy $ac_prog; ac_word=$2
2222
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2223
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2224
 
if test "${ac_cv_prog_AWK+set}" = set; then
2225
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2226
 
else
2227
 
  if test -n "$AWK"; then
2228
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2229
 
else
2230
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2231
 
for as_dir in $PATH
2232
 
do
2233
 
  IFS=$as_save_IFS
2234
 
  test -z "$as_dir" && as_dir=.
2235
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2236
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2237
 
    ac_cv_prog_AWK="$ac_prog"
2238
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2239
 
    break 2
2240
 
  fi
2241
 
done
2242
 
done
2243
 
IFS=$as_save_IFS
2244
 
 
2245
 
fi
2246
 
fi
2247
 
AWK=$ac_cv_prog_AWK
2248
 
if test -n "$AWK"; then
2249
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2250
 
echo "${ECHO_T}$AWK" >&6; }
2251
 
else
2252
 
  { echo "$as_me:$LINENO: result: no" >&5
2253
 
echo "${ECHO_T}no" >&6; }
2254
 
fi
2255
 
 
2256
 
 
2257
 
  test -n "$AWK" && break
2258
 
done
2259
 
 
2260
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2261
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2262
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2263
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2264
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2265
 
else
2266
 
  cat >conftest.make <<\_ACEOF
2267
 
SHELL = /bin/sh
2268
 
all:
2269
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2270
 
_ACEOF
2271
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2272
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2273
 
  *@@@%%%=?*=@@@%%%*)
2274
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2275
 
  *)
2276
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2277
 
esac
2278
 
rm -f conftest.make
2279
 
fi
2280
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2281
 
  { echo "$as_me:$LINENO: result: yes" >&5
2282
 
echo "${ECHO_T}yes" >&6; }
2283
 
  SET_MAKE=
2284
 
else
2285
 
  { echo "$as_me:$LINENO: result: no" >&5
2286
 
echo "${ECHO_T}no" >&6; }
2287
 
  SET_MAKE="MAKE=${MAKE-make}"
2288
 
fi
2289
 
 
2290
 
rm -rf .tst 2>/dev/null
2291
 
mkdir .tst 2>/dev/null
2292
 
if test -d .tst; then
2293
 
  am__leading_dot=.
2294
 
else
2295
 
  am__leading_dot=_
2296
 
fi
2297
 
rmdir .tst 2>/dev/null
2298
 
 
2299
 
# test to see if srcdir already configured
2300
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2301
 
   test -f $srcdir/config.status; then
2302
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2303
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2304
 
   { (exit 1); exit 1; }; }
2305
 
fi
2306
 
 
2307
 
# test whether we have cygpath
2308
 
if test -z "$CYGPATH_W"; then
2309
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2310
 
    CYGPATH_W='cygpath -w'
2311
 
  else
2312
 
    CYGPATH_W=echo
2313
 
  fi
2314
 
fi
2315
 
 
2316
 
 
2317
 
# Define the identity of the package.
2318
 
 PACKAGE='nautilus-share'
2319
 
 VERSION='0.7.2'
2320
 
 
2321
 
 
2322
 
cat >>confdefs.h <<_ACEOF
2323
 
#define PACKAGE "$PACKAGE"
2324
 
_ACEOF
2325
 
 
2326
 
 
2327
 
cat >>confdefs.h <<_ACEOF
2328
 
#define VERSION "$VERSION"
2329
 
_ACEOF
2330
 
 
2331
 
# Some tools Automake needs.
2332
 
 
2333
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2334
 
 
2335
 
 
2336
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2337
 
 
2338
 
 
2339
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2340
 
 
2341
 
 
2342
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2343
 
 
2344
 
 
2345
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2346
 
 
2347
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
2348
 
 
2349
 
# Installed binaries are usually stripped using `strip' when the user
2350
 
# run `make install-strip'.  However `strip' might not be the right
2351
 
# tool to use in cross-compilation environments, therefore Automake
2352
 
# will honor the `STRIP' environment variable to overrule this program.
2353
 
if test "$cross_compiling" != no; then
2354
 
  if test -n "$ac_tool_prefix"; then
2355
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2356
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2357
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2358
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2359
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2360
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2361
 
else
2362
 
  if test -n "$STRIP"; then
2363
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2364
 
else
2365
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2366
 
for as_dir in $PATH
2367
 
do
2368
 
  IFS=$as_save_IFS
2369
 
  test -z "$as_dir" && as_dir=.
2370
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2371
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2372
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2373
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2374
 
    break 2
2375
 
  fi
2376
 
done
2377
 
done
2378
 
IFS=$as_save_IFS
2379
 
 
2380
 
fi
2381
 
fi
2382
 
STRIP=$ac_cv_prog_STRIP
2383
 
if test -n "$STRIP"; then
2384
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2385
 
echo "${ECHO_T}$STRIP" >&6; }
2386
 
else
2387
 
  { echo "$as_me:$LINENO: result: no" >&5
2388
 
echo "${ECHO_T}no" >&6; }
2389
 
fi
2390
 
 
2391
 
 
2392
 
fi
2393
 
if test -z "$ac_cv_prog_STRIP"; then
2394
 
  ac_ct_STRIP=$STRIP
2395
 
  # Extract the first word of "strip", so it can be a program name with args.
2396
 
set dummy strip; ac_word=$2
2397
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2398
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2399
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2400
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2401
 
else
2402
 
  if test -n "$ac_ct_STRIP"; then
2403
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2404
 
else
2405
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2406
 
for as_dir in $PATH
2407
 
do
2408
 
  IFS=$as_save_IFS
2409
 
  test -z "$as_dir" && as_dir=.
2410
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2411
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2412
 
    ac_cv_prog_ac_ct_STRIP="strip"
2413
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2414
 
    break 2
2415
 
  fi
2416
 
done
2417
 
done
2418
 
IFS=$as_save_IFS
2419
 
 
2420
 
fi
2421
 
fi
2422
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2423
 
if test -n "$ac_ct_STRIP"; then
2424
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2425
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2426
 
else
2427
 
  { echo "$as_me:$LINENO: result: no" >&5
2428
 
echo "${ECHO_T}no" >&6; }
2429
 
fi
2430
 
 
2431
 
  if test "x$ac_ct_STRIP" = x; then
2432
 
    STRIP=":"
2433
 
  else
2434
 
    case $cross_compiling:$ac_tool_warned in
2435
 
yes:)
2436
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2437
 
whose name does not start with the host triplet.  If you think this
2438
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2439
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2440
 
whose name does not start with the host triplet.  If you think this
2441
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2442
 
ac_tool_warned=yes ;;
2443
 
esac
2444
 
    STRIP=$ac_ct_STRIP
2445
 
  fi
2446
 
else
2447
 
  STRIP="$ac_cv_prog_STRIP"
2448
 
fi
2449
 
 
2450
 
fi
2451
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2452
 
 
2453
 
# We need awk for the "check" target.  The system "awk" is bad on
2454
 
# some platforms.
2455
 
# Always define AMTAR for backward compatibility.
2456
 
 
2457
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2458
 
 
2459
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2460
 
 
2461
 
 
2462
 
 
2463
 
 
2464
 
 
2465
 
 
2466
 
 
2467
 
DEPDIR="${am__leading_dot}deps"
2468
 
 
2469
 
ac_config_commands="$ac_config_commands depfiles"
2470
 
 
2471
 
 
2472
 
am_make=${MAKE-make}
2473
 
cat > confinc << 'END'
2474
 
am__doit:
2475
 
        @echo done
2476
 
.PHONY: am__doit
2477
 
END
2478
 
# If we don't find an include directive, just comment out the code.
2479
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2480
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2481
 
am__include="#"
2482
 
am__quote=
2483
 
_am_result=none
2484
 
# First try GNU make style include.
2485
 
echo "include confinc" > confmf
2486
 
# We grep out `Entering directory' and `Leaving directory'
2487
 
# messages which can occur if `w' ends up in MAKEFLAGS.
2488
 
# In particular we don't look at `^make:' because GNU make might
2489
 
# be invoked under some other name (usually "gmake"), in which
2490
 
# case it prints its new name instead of `make'.
2491
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2492
 
   am__include=include
2493
 
   am__quote=
2494
 
   _am_result=GNU
2495
 
fi
2496
 
# Now try BSD make style include.
2497
 
if test "$am__include" = "#"; then
2498
 
   echo '.include "confinc"' > confmf
2499
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2500
 
      am__include=.include
2501
 
      am__quote="\""
2502
 
      _am_result=BSD
2503
 
   fi
2504
 
fi
2505
 
 
2506
 
 
2507
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
2508
 
echo "${ECHO_T}$_am_result" >&6; }
2509
 
rm -f confinc confmf
2510
 
 
2511
 
# Check whether --enable-dependency-tracking was given.
2512
 
if test "${enable_dependency_tracking+set}" = set; then
2513
 
  enableval=$enable_dependency_tracking;
2514
 
fi
2515
 
 
2516
 
if test "x$enable_dependency_tracking" != xno; then
2517
 
  am_depcomp="$ac_aux_dir/depcomp"
2518
 
  AMDEPBACKSLASH='\'
2519
 
fi
2520
 
 
2521
 
 
2522
 
if test "x$enable_dependency_tracking" != xno; then
2523
 
  AMDEP_TRUE=
2524
 
  AMDEP_FALSE='#'
2525
 
else
2526
 
  AMDEP_TRUE='#'
2527
 
  AMDEP_FALSE=
2528
 
fi
2529
 
 
2530
 
 
2531
 
 
2532
 
ac_ext=c
2533
 
ac_cpp='$CPP $CPPFLAGS'
2534
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2535
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2536
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2537
 
if test -n "$ac_tool_prefix"; then
2538
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2539
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2540
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2541
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2542
 
if test "${ac_cv_prog_CC+set}" = set; then
2543
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2544
 
else
2545
 
  if test -n "$CC"; then
2546
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2547
 
else
2548
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2549
 
for as_dir in $PATH
2550
 
do
2551
 
  IFS=$as_save_IFS
2552
 
  test -z "$as_dir" && as_dir=.
2553
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2554
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2555
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2556
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2557
 
    break 2
2558
 
  fi
2559
 
done
2560
 
done
2561
 
IFS=$as_save_IFS
2562
 
 
2563
 
fi
2564
 
fi
2565
 
CC=$ac_cv_prog_CC
2566
 
if test -n "$CC"; then
2567
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2568
 
echo "${ECHO_T}$CC" >&6; }
2569
 
else
2570
 
  { echo "$as_me:$LINENO: result: no" >&5
2571
 
echo "${ECHO_T}no" >&6; }
2572
 
fi
2573
 
 
2574
 
 
2575
 
fi
2576
 
if test -z "$ac_cv_prog_CC"; then
2577
 
  ac_ct_CC=$CC
2578
 
  # Extract the first word of "gcc", so it can be a program name with args.
2579
 
set dummy gcc; ac_word=$2
2580
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2581
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2582
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2583
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2584
 
else
2585
 
  if test -n "$ac_ct_CC"; then
2586
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2587
 
else
2588
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2589
 
for as_dir in $PATH
2590
 
do
2591
 
  IFS=$as_save_IFS
2592
 
  test -z "$as_dir" && as_dir=.
2593
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2594
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2595
 
    ac_cv_prog_ac_ct_CC="gcc"
2596
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2597
 
    break 2
2598
 
  fi
2599
 
done
2600
 
done
2601
 
IFS=$as_save_IFS
2602
 
 
2603
 
fi
2604
 
fi
2605
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2606
 
if test -n "$ac_ct_CC"; then
2607
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2608
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
2609
 
else
2610
 
  { echo "$as_me:$LINENO: result: no" >&5
2611
 
echo "${ECHO_T}no" >&6; }
2612
 
fi
2613
 
 
2614
 
  if test "x$ac_ct_CC" = x; then
2615
 
    CC=""
2616
 
  else
2617
 
    case $cross_compiling:$ac_tool_warned in
2618
 
yes:)
2619
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2620
 
whose name does not start with the host triplet.  If you think this
2621
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2622
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2623
 
whose name does not start with the host triplet.  If you think this
2624
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2625
 
ac_tool_warned=yes ;;
2626
 
esac
2627
 
    CC=$ac_ct_CC
2628
 
  fi
2629
 
else
2630
 
  CC="$ac_cv_prog_CC"
2631
 
fi
2632
 
 
2633
 
if test -z "$CC"; then
2634
 
          if test -n "$ac_tool_prefix"; then
2635
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2636
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
2637
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2638
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2639
 
if test "${ac_cv_prog_CC+set}" = set; then
2640
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2641
 
else
2642
 
  if test -n "$CC"; then
2643
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2644
 
else
2645
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2646
 
for as_dir in $PATH
2647
 
do
2648
 
  IFS=$as_save_IFS
2649
 
  test -z "$as_dir" && as_dir=.
2650
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2651
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2652
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2653
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2654
 
    break 2
2655
 
  fi
2656
 
done
2657
 
done
2658
 
IFS=$as_save_IFS
2659
 
 
2660
 
fi
2661
 
fi
2662
 
CC=$ac_cv_prog_CC
2663
 
if test -n "$CC"; then
2664
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2665
 
echo "${ECHO_T}$CC" >&6; }
2666
 
else
2667
 
  { echo "$as_me:$LINENO: result: no" >&5
2668
 
echo "${ECHO_T}no" >&6; }
2669
 
fi
2670
 
 
2671
 
 
2672
 
  fi
2673
 
fi
2674
 
if test -z "$CC"; then
2675
 
  # Extract the first word of "cc", so it can be a program name with args.
2676
 
set dummy cc; ac_word=$2
2677
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2678
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2679
 
if test "${ac_cv_prog_CC+set}" = set; then
2680
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2681
 
else
2682
 
  if test -n "$CC"; then
2683
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2684
 
else
2685
 
  ac_prog_rejected=no
2686
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2687
 
for as_dir in $PATH
2688
 
do
2689
 
  IFS=$as_save_IFS
2690
 
  test -z "$as_dir" && as_dir=.
2691
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2692
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2693
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2694
 
       ac_prog_rejected=yes
2695
 
       continue
2696
 
     fi
2697
 
    ac_cv_prog_CC="cc"
2698
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2699
 
    break 2
2700
 
  fi
2701
 
done
2702
 
done
2703
 
IFS=$as_save_IFS
2704
 
 
2705
 
if test $ac_prog_rejected = yes; then
2706
 
  # We found a bogon in the path, so make sure we never use it.
2707
 
  set dummy $ac_cv_prog_CC
2708
 
  shift
2709
 
  if test $# != 0; then
2710
 
    # We chose a different compiler from the bogus one.
2711
 
    # However, it has the same basename, so the bogon will be chosen
2712
 
    # first if we set CC to just the basename; use the full file name.
2713
 
    shift
2714
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2715
 
  fi
2716
 
fi
2717
 
fi
2718
 
fi
2719
 
CC=$ac_cv_prog_CC
2720
 
if test -n "$CC"; then
2721
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2722
 
echo "${ECHO_T}$CC" >&6; }
2723
 
else
2724
 
  { echo "$as_me:$LINENO: result: no" >&5
2725
 
echo "${ECHO_T}no" >&6; }
2726
 
fi
2727
 
 
2728
 
 
2729
 
fi
2730
 
if test -z "$CC"; then
2731
 
  if test -n "$ac_tool_prefix"; then
2732
 
  for ac_prog in cl.exe
2733
 
  do
2734
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2735
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2736
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2737
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2738
 
if test "${ac_cv_prog_CC+set}" = set; then
2739
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2740
 
else
2741
 
  if test -n "$CC"; then
2742
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2743
 
else
2744
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2745
 
for as_dir in $PATH
2746
 
do
2747
 
  IFS=$as_save_IFS
2748
 
  test -z "$as_dir" && as_dir=.
2749
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2750
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2751
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2752
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2753
 
    break 2
2754
 
  fi
2755
 
done
2756
 
done
2757
 
IFS=$as_save_IFS
2758
 
 
2759
 
fi
2760
 
fi
2761
 
CC=$ac_cv_prog_CC
2762
 
if test -n "$CC"; then
2763
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2764
 
echo "${ECHO_T}$CC" >&6; }
2765
 
else
2766
 
  { echo "$as_me:$LINENO: result: no" >&5
2767
 
echo "${ECHO_T}no" >&6; }
2768
 
fi
2769
 
 
2770
 
 
2771
 
    test -n "$CC" && break
2772
 
  done
2773
 
fi
2774
 
if test -z "$CC"; then
2775
 
  ac_ct_CC=$CC
2776
 
  for ac_prog in cl.exe
2777
 
do
2778
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2779
 
set dummy $ac_prog; ac_word=$2
2780
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2781
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2782
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2783
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2784
 
else
2785
 
  if test -n "$ac_ct_CC"; then
2786
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2787
 
else
2788
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2789
 
for as_dir in $PATH
2790
 
do
2791
 
  IFS=$as_save_IFS
2792
 
  test -z "$as_dir" && as_dir=.
2793
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2794
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2795
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
2796
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2797
 
    break 2
2798
 
  fi
2799
 
done
2800
 
done
2801
 
IFS=$as_save_IFS
2802
 
 
2803
 
fi
2804
 
fi
2805
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2806
 
if test -n "$ac_ct_CC"; then
2807
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2808
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
2809
 
else
2810
 
  { echo "$as_me:$LINENO: result: no" >&5
2811
 
echo "${ECHO_T}no" >&6; }
2812
 
fi
2813
 
 
2814
 
 
2815
 
  test -n "$ac_ct_CC" && break
2816
 
done
2817
 
 
2818
 
  if test "x$ac_ct_CC" = x; then
2819
 
    CC=""
2820
 
  else
2821
 
    case $cross_compiling:$ac_tool_warned in
2822
 
yes:)
2823
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2824
 
whose name does not start with the host triplet.  If you think this
2825
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2826
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2827
 
whose name does not start with the host triplet.  If you think this
2828
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2829
 
ac_tool_warned=yes ;;
2830
 
esac
2831
 
    CC=$ac_ct_CC
2832
 
  fi
2833
 
fi
2834
 
 
2835
 
fi
2836
 
 
2837
 
 
2838
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2839
 
See \`config.log' for more details." >&5
2840
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
2841
 
See \`config.log' for more details." >&2;}
2842
 
   { (exit 1); exit 1; }; }
2843
 
 
2844
 
# Provide some information about the compiler.
2845
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
2846
 
ac_compiler=`set X $ac_compile; echo $2`
2847
 
{ (ac_try="$ac_compiler --version >&5"
2848
 
case "(($ac_try" in
2849
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2850
 
  *) ac_try_echo=$ac_try;;
2851
 
esac
2852
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2853
 
  (eval "$ac_compiler --version >&5") 2>&5
2854
 
  ac_status=$?
2855
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856
 
  (exit $ac_status); }
2857
 
{ (ac_try="$ac_compiler -v >&5"
2858
 
case "(($ac_try" in
2859
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2860
 
  *) ac_try_echo=$ac_try;;
2861
 
esac
2862
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2863
 
  (eval "$ac_compiler -v >&5") 2>&5
2864
 
  ac_status=$?
2865
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2866
 
  (exit $ac_status); }
2867
 
{ (ac_try="$ac_compiler -V >&5"
2868
 
case "(($ac_try" in
2869
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2870
 
  *) ac_try_echo=$ac_try;;
2871
 
esac
2872
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2873
 
  (eval "$ac_compiler -V >&5") 2>&5
2874
 
  ac_status=$?
2875
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876
 
  (exit $ac_status); }
2877
 
 
2878
 
cat >conftest.$ac_ext <<_ACEOF
2879
 
/* confdefs.h.  */
2880
 
_ACEOF
2881
 
cat confdefs.h >>conftest.$ac_ext
2882
 
cat >>conftest.$ac_ext <<_ACEOF
2883
 
/* end confdefs.h.  */
2884
 
 
2885
 
int
2886
 
main ()
2887
 
{
2888
 
 
2889
 
  ;
2890
 
  return 0;
2891
 
}
2892
 
_ACEOF
2893
 
ac_clean_files_save=$ac_clean_files
2894
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2895
 
# Try to create an executable without -o first, disregard a.out.
2896
 
# It will help us diagnose broken compilers, and finding out an intuition
2897
 
# of exeext.
2898
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2899
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2900
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2901
 
#
2902
 
# List of possible output files, starting from the most likely.
2903
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2904
 
# only as a last resort.  b.out is created by i960 compilers.
2905
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2906
 
#
2907
 
# The IRIX 6 linker writes into existing files which may not be
2908
 
# executable, retaining their permissions.  Remove them first so a
2909
 
# subsequent execution test works.
2910
 
ac_rmfiles=
2911
 
for ac_file in $ac_files
2912
 
do
2913
 
  case $ac_file in
2914
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2915
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2916
 
  esac
2917
 
done
2918
 
rm -f $ac_rmfiles
2919
 
 
2920
 
if { (ac_try="$ac_link_default"
2921
 
case "(($ac_try" in
2922
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2923
 
  *) ac_try_echo=$ac_try;;
2924
 
esac
2925
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2926
 
  (eval "$ac_link_default") 2>&5
2927
 
  ac_status=$?
2928
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929
 
  (exit $ac_status); }; then
2930
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2931
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2932
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2933
 
# so that the user can short-circuit this test for compilers unknown to
2934
 
# Autoconf.
2935
 
for ac_file in $ac_files ''
2936
 
do
2937
 
  test -f "$ac_file" || continue
2938
 
  case $ac_file in
2939
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2940
 
        ;;
2941
 
    [ab].out )
2942
 
        # We found the default executable, but exeext='' is most
2943
 
        # certainly right.
2944
 
        break;;
2945
 
    *.* )
2946
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2947
 
        then :; else
2948
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2949
 
        fi
2950
 
        # We set ac_cv_exeext here because the later test for it is not
2951
 
        # safe: cross compilers may not add the suffix if given an `-o'
2952
 
        # argument, so we may need to know it at that point already.
2953
 
        # Even if this section looks crufty: it has the advantage of
2954
 
        # actually working.
2955
 
        break;;
2956
 
    * )
2957
 
        break;;
2958
 
  esac
2959
 
done
2960
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
2961
 
 
2962
 
else
2963
 
  ac_file=''
2964
 
fi
2965
 
 
2966
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2967
 
echo "${ECHO_T}$ac_file" >&6; }
2968
 
if test -z "$ac_file"; then
2969
 
  echo "$as_me: failed program was:" >&5
2970
 
sed 's/^/| /' conftest.$ac_ext >&5
2971
 
 
2972
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2973
 
See \`config.log' for more details." >&5
2974
 
echo "$as_me: error: C compiler cannot create executables
2975
 
See \`config.log' for more details." >&2;}
2976
 
   { (exit 77); exit 77; }; }
2977
 
fi
2978
 
 
2979
 
ac_exeext=$ac_cv_exeext
2980
 
 
2981
 
# Check that the compiler produces executables we can run.  If not, either
2982
 
# the compiler is broken, or we cross compile.
2983
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2984
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2985
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2986
 
# If not cross compiling, check that we can run a simple program.
2987
 
if test "$cross_compiling" != yes; then
2988
 
  if { ac_try='./$ac_file'
2989
 
  { (case "(($ac_try" in
2990
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2991
 
  *) ac_try_echo=$ac_try;;
2992
 
esac
2993
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2994
 
  (eval "$ac_try") 2>&5
2995
 
  ac_status=$?
2996
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2997
 
  (exit $ac_status); }; }; then
2998
 
    cross_compiling=no
2999
 
  else
3000
 
    if test "$cross_compiling" = maybe; then
3001
 
        cross_compiling=yes
3002
 
    else
3003
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3004
 
If you meant to cross compile, use \`--host'.
3005
 
See \`config.log' for more details." >&5
3006
 
echo "$as_me: error: cannot run C compiled programs.
3007
 
If you meant to cross compile, use \`--host'.
3008
 
See \`config.log' for more details." >&2;}
3009
 
   { (exit 1); exit 1; }; }
3010
 
    fi
3011
 
  fi
3012
 
fi
3013
 
{ echo "$as_me:$LINENO: result: yes" >&5
3014
 
echo "${ECHO_T}yes" >&6; }
3015
 
 
3016
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3017
 
ac_clean_files=$ac_clean_files_save
3018
 
# Check that the compiler produces executables we can run.  If not, either
3019
 
# the compiler is broken, or we cross compile.
3020
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3021
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3022
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3023
 
echo "${ECHO_T}$cross_compiling" >&6; }
3024
 
 
3025
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3026
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3027
 
if { (ac_try="$ac_link"
3028
 
case "(($ac_try" in
3029
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3030
 
  *) ac_try_echo=$ac_try;;
3031
 
esac
3032
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3033
 
  (eval "$ac_link") 2>&5
3034
 
  ac_status=$?
3035
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3036
 
  (exit $ac_status); }; then
3037
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3038
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3039
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3040
 
# `rm'.
3041
 
for ac_file in conftest.exe conftest conftest.*; do
3042
 
  test -f "$ac_file" || continue
3043
 
  case $ac_file in
3044
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3045
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3046
 
          break;;
3047
 
    * ) break;;
3048
 
  esac
3049
 
done
3050
 
else
3051
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3052
 
See \`config.log' for more details." >&5
3053
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3054
 
See \`config.log' for more details." >&2;}
3055
 
   { (exit 1); exit 1; }; }
3056
 
fi
3057
 
 
3058
 
rm -f conftest$ac_cv_exeext
3059
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3060
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
3061
 
 
3062
 
rm -f conftest.$ac_ext
3063
 
EXEEXT=$ac_cv_exeext
3064
 
ac_exeext=$EXEEXT
3065
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3066
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3067
 
if test "${ac_cv_objext+set}" = set; then
3068
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3069
 
else
3070
 
  cat >conftest.$ac_ext <<_ACEOF
3071
 
/* confdefs.h.  */
3072
 
_ACEOF
3073
 
cat confdefs.h >>conftest.$ac_ext
3074
 
cat >>conftest.$ac_ext <<_ACEOF
3075
 
/* end confdefs.h.  */
3076
 
 
3077
 
int
3078
 
main ()
3079
 
{
3080
 
 
3081
 
  ;
3082
 
  return 0;
3083
 
}
3084
 
_ACEOF
3085
 
rm -f conftest.o conftest.obj
3086
 
if { (ac_try="$ac_compile"
3087
 
case "(($ac_try" in
3088
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089
 
  *) ac_try_echo=$ac_try;;
3090
 
esac
3091
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3092
 
  (eval "$ac_compile") 2>&5
3093
 
  ac_status=$?
3094
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095
 
  (exit $ac_status); }; then
3096
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3097
 
  test -f "$ac_file" || continue;
3098
 
  case $ac_file in
3099
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3100
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3101
 
       break;;
3102
 
  esac
3103
 
done
3104
 
else
3105
 
  echo "$as_me: failed program was:" >&5
3106
 
sed 's/^/| /' conftest.$ac_ext >&5
3107
 
 
3108
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3109
 
See \`config.log' for more details." >&5
3110
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3111
 
See \`config.log' for more details." >&2;}
3112
 
   { (exit 1); exit 1; }; }
3113
 
fi
3114
 
 
3115
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3116
 
fi
3117
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3118
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
3119
 
OBJEXT=$ac_cv_objext
3120
 
ac_objext=$OBJEXT
3121
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3122
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3123
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3124
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3125
 
else
3126
 
  cat >conftest.$ac_ext <<_ACEOF
3127
 
/* confdefs.h.  */
3128
 
_ACEOF
3129
 
cat confdefs.h >>conftest.$ac_ext
3130
 
cat >>conftest.$ac_ext <<_ACEOF
3131
 
/* end confdefs.h.  */
3132
 
 
3133
 
int
3134
 
main ()
3135
 
{
3136
 
#ifndef __GNUC__
3137
 
       choke me
3138
 
#endif
3139
 
 
3140
 
  ;
3141
 
  return 0;
3142
 
}
3143
 
_ACEOF
3144
 
rm -f conftest.$ac_objext
3145
 
if { (ac_try="$ac_compile"
3146
 
case "(($ac_try" in
3147
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3148
 
  *) ac_try_echo=$ac_try;;
3149
 
esac
3150
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3151
 
  (eval "$ac_compile") 2>conftest.er1
3152
 
  ac_status=$?
3153
 
  grep -v '^ *+' conftest.er1 >conftest.err
3154
 
  rm -f conftest.er1
3155
 
  cat conftest.err >&5
3156
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157
 
  (exit $ac_status); } && {
3158
 
         test -z "$ac_c_werror_flag" ||
3159
 
         test ! -s conftest.err
3160
 
       } && test -s conftest.$ac_objext; then
3161
 
  ac_compiler_gnu=yes
3162
 
else
3163
 
  echo "$as_me: failed program was:" >&5
3164
 
sed 's/^/| /' conftest.$ac_ext >&5
3165
 
 
3166
 
        ac_compiler_gnu=no
3167
 
fi
3168
 
 
3169
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3170
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3171
 
 
3172
 
fi
3173
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3174
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3175
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
3176
 
ac_test_CFLAGS=${CFLAGS+set}
3177
 
ac_save_CFLAGS=$CFLAGS
3178
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3179
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3180
 
if test "${ac_cv_prog_cc_g+set}" = set; then
3181
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3182
 
else
3183
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3184
 
   ac_c_werror_flag=yes
3185
 
   ac_cv_prog_cc_g=no
3186
 
   CFLAGS="-g"
3187
 
   cat >conftest.$ac_ext <<_ACEOF
3188
 
/* confdefs.h.  */
3189
 
_ACEOF
3190
 
cat confdefs.h >>conftest.$ac_ext
3191
 
cat >>conftest.$ac_ext <<_ACEOF
3192
 
/* end confdefs.h.  */
3193
 
 
3194
 
int
3195
 
main ()
3196
 
{
3197
 
 
3198
 
  ;
3199
 
  return 0;
3200
 
}
3201
 
_ACEOF
3202
 
rm -f conftest.$ac_objext
3203
 
if { (ac_try="$ac_compile"
3204
 
case "(($ac_try" in
3205
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3206
 
  *) ac_try_echo=$ac_try;;
3207
 
esac
3208
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3209
 
  (eval "$ac_compile") 2>conftest.er1
3210
 
  ac_status=$?
3211
 
  grep -v '^ *+' conftest.er1 >conftest.err
3212
 
  rm -f conftest.er1
3213
 
  cat conftest.err >&5
3214
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3215
 
  (exit $ac_status); } && {
3216
 
         test -z "$ac_c_werror_flag" ||
3217
 
         test ! -s conftest.err
3218
 
       } && test -s conftest.$ac_objext; then
3219
 
  ac_cv_prog_cc_g=yes
3220
 
else
3221
 
  echo "$as_me: failed program was:" >&5
3222
 
sed 's/^/| /' conftest.$ac_ext >&5
3223
 
 
3224
 
        CFLAGS=""
3225
 
      cat >conftest.$ac_ext <<_ACEOF
3226
 
/* confdefs.h.  */
3227
 
_ACEOF
3228
 
cat confdefs.h >>conftest.$ac_ext
3229
 
cat >>conftest.$ac_ext <<_ACEOF
3230
 
/* end confdefs.h.  */
3231
 
 
3232
 
int
3233
 
main ()
3234
 
{
3235
 
 
3236
 
  ;
3237
 
  return 0;
3238
 
}
3239
 
_ACEOF
3240
 
rm -f conftest.$ac_objext
3241
 
if { (ac_try="$ac_compile"
3242
 
case "(($ac_try" in
3243
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3244
 
  *) ac_try_echo=$ac_try;;
3245
 
esac
3246
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3247
 
  (eval "$ac_compile") 2>conftest.er1
3248
 
  ac_status=$?
3249
 
  grep -v '^ *+' conftest.er1 >conftest.err
3250
 
  rm -f conftest.er1
3251
 
  cat conftest.err >&5
3252
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3253
 
  (exit $ac_status); } && {
3254
 
         test -z "$ac_c_werror_flag" ||
3255
 
         test ! -s conftest.err
3256
 
       } && test -s conftest.$ac_objext; then
3257
 
  :
3258
 
else
3259
 
  echo "$as_me: failed program was:" >&5
3260
 
sed 's/^/| /' conftest.$ac_ext >&5
3261
 
 
3262
 
        ac_c_werror_flag=$ac_save_c_werror_flag
3263
 
         CFLAGS="-g"
3264
 
         cat >conftest.$ac_ext <<_ACEOF
3265
 
/* confdefs.h.  */
3266
 
_ACEOF
3267
 
cat confdefs.h >>conftest.$ac_ext
3268
 
cat >>conftest.$ac_ext <<_ACEOF
3269
 
/* end confdefs.h.  */
3270
 
 
3271
 
int
3272
 
main ()
3273
 
{
3274
 
 
3275
 
  ;
3276
 
  return 0;
3277
 
}
3278
 
_ACEOF
3279
 
rm -f conftest.$ac_objext
3280
 
if { (ac_try="$ac_compile"
3281
 
case "(($ac_try" in
3282
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3283
 
  *) ac_try_echo=$ac_try;;
3284
 
esac
3285
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3286
 
  (eval "$ac_compile") 2>conftest.er1
3287
 
  ac_status=$?
3288
 
  grep -v '^ *+' conftest.er1 >conftest.err
3289
 
  rm -f conftest.er1
3290
 
  cat conftest.err >&5
3291
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292
 
  (exit $ac_status); } && {
3293
 
         test -z "$ac_c_werror_flag" ||
3294
 
         test ! -s conftest.err
3295
 
       } && test -s conftest.$ac_objext; then
3296
 
  ac_cv_prog_cc_g=yes
3297
 
else
3298
 
  echo "$as_me: failed program was:" >&5
3299
 
sed 's/^/| /' conftest.$ac_ext >&5
3300
 
 
3301
 
 
3302
 
fi
3303
 
 
3304
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3305
 
fi
3306
 
 
3307
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3308
 
fi
3309
 
 
3310
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3311
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3312
 
fi
3313
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3314
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3315
 
if test "$ac_test_CFLAGS" = set; then
3316
 
  CFLAGS=$ac_save_CFLAGS
3317
 
elif test $ac_cv_prog_cc_g = yes; then
3318
 
  if test "$GCC" = yes; then
3319
 
    CFLAGS="-g -O2"
3320
 
  else
3321
 
    CFLAGS="-g"
3322
 
  fi
3323
 
else
3324
 
  if test "$GCC" = yes; then
3325
 
    CFLAGS="-O2"
3326
 
  else
3327
 
    CFLAGS=
3328
 
  fi
3329
 
fi
3330
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3331
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3332
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
3333
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3334
 
else
3335
 
  ac_cv_prog_cc_c89=no
3336
 
ac_save_CC=$CC
3337
 
cat >conftest.$ac_ext <<_ACEOF
3338
 
/* confdefs.h.  */
3339
 
_ACEOF
3340
 
cat confdefs.h >>conftest.$ac_ext
3341
 
cat >>conftest.$ac_ext <<_ACEOF
3342
 
/* end confdefs.h.  */
3343
 
#include <stdarg.h>
3344
 
#include <stdio.h>
3345
 
#include <sys/types.h>
3346
 
#include <sys/stat.h>
3347
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3348
 
struct buf { int x; };
3349
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3350
 
static char *e (p, i)
3351
 
     char **p;
3352
 
     int i;
3353
 
{
3354
 
  return p[i];
3355
 
}
3356
 
static char *f (char * (*g) (char **, int), char **p, ...)
3357
 
{
3358
 
  char *s;
3359
 
  va_list v;
3360
 
  va_start (v,p);
3361
 
  s = g (p, va_arg (v,int));
3362
 
  va_end (v);
3363
 
  return s;
3364
 
}
3365
 
 
3366
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3367
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3368
 
   These don't provoke an error unfortunately, instead are silently treated
3369
 
   as 'x'.  The following induces an error, until -std is added to get
3370
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3371
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3372
 
   that's true only with -std.  */
3373
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3374
 
 
3375
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3376
 
   inside strings and character constants.  */
3377
 
#define FOO(x) 'x'
3378
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3379
 
 
3380
 
int test (int i, double x);
3381
 
struct s1 {int (*f) (int a);};
3382
 
struct s2 {int (*f) (double a);};
3383
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3384
 
int argc;
3385
 
char **argv;
3386
 
int
3387
 
main ()
3388
 
{
3389
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3390
 
  ;
3391
 
  return 0;
3392
 
}
3393
 
_ACEOF
3394
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3395
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3396
 
do
3397
 
  CC="$ac_save_CC $ac_arg"
3398
 
  rm -f conftest.$ac_objext
3399
 
if { (ac_try="$ac_compile"
3400
 
case "(($ac_try" in
3401
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3402
 
  *) ac_try_echo=$ac_try;;
3403
 
esac
3404
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3405
 
  (eval "$ac_compile") 2>conftest.er1
3406
 
  ac_status=$?
3407
 
  grep -v '^ *+' conftest.er1 >conftest.err
3408
 
  rm -f conftest.er1
3409
 
  cat conftest.err >&5
3410
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411
 
  (exit $ac_status); } && {
3412
 
         test -z "$ac_c_werror_flag" ||
3413
 
         test ! -s conftest.err
3414
 
       } && test -s conftest.$ac_objext; then
3415
 
  ac_cv_prog_cc_c89=$ac_arg
3416
 
else
3417
 
  echo "$as_me: failed program was:" >&5
3418
 
sed 's/^/| /' conftest.$ac_ext >&5
3419
 
 
3420
 
 
3421
 
fi
3422
 
 
3423
 
rm -f core conftest.err conftest.$ac_objext
3424
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3425
 
done
3426
 
rm -f conftest.$ac_ext
3427
 
CC=$ac_save_CC
3428
 
 
3429
 
fi
3430
 
# AC_CACHE_VAL
3431
 
case "x$ac_cv_prog_cc_c89" in
3432
 
  x)
3433
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3434
 
echo "${ECHO_T}none needed" >&6; } ;;
3435
 
  xno)
3436
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3437
 
echo "${ECHO_T}unsupported" >&6; } ;;
3438
 
  *)
3439
 
    CC="$CC $ac_cv_prog_cc_c89"
3440
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3441
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3442
 
esac
3443
 
 
3444
 
 
3445
 
ac_ext=c
3446
 
ac_cpp='$CPP $CPPFLAGS'
3447
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3448
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3449
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3450
 
 
3451
 
depcc="$CC"   am_compiler_list=
3452
 
 
3453
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3454
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3455
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3456
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3457
 
else
3458
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3459
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3460
 
  # making bogus files that we don't know about and never remove.  For
3461
 
  # instance it was reported that on HP-UX the gcc test will end up
3462
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3463
 
  # in D'.
3464
 
  mkdir conftest.dir
3465
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3466
 
  # using a relative directory.
3467
 
  cp "$am_depcomp" conftest.dir
3468
 
  cd conftest.dir
3469
 
  # We will build objects and dependencies in a subdirectory because
3470
 
  # it helps to detect inapplicable dependency modes.  For instance
3471
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3472
 
  # side effect of compilation, but ICC will put the dependencies in
3473
 
  # the current directory while Tru64 will put them in the object
3474
 
  # directory.
3475
 
  mkdir sub
3476
 
 
3477
 
  am_cv_CC_dependencies_compiler_type=none
3478
 
  if test "$am_compiler_list" = ""; then
3479
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3480
 
  fi
3481
 
  for depmode in $am_compiler_list; do
3482
 
    # Setup a source with many dependencies, because some compilers
3483
 
    # like to wrap large dependency lists on column 80 (with \), and
3484
 
    # we should not choose a depcomp mode which is confused by this.
3485
 
    #
3486
 
    # We need to recreate these files for each test, as the compiler may
3487
 
    # overwrite some of them when testing with obscure command lines.
3488
 
    # This happens at least with the AIX C compiler.
3489
 
    : > sub/conftest.c
3490
 
    for i in 1 2 3 4 5 6; do
3491
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3492
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3493
 
      # Solaris 8's {/usr,}/bin/sh.
3494
 
      touch sub/conftst$i.h
3495
 
    done
3496
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3497
 
 
3498
 
    case $depmode in
3499
 
    nosideeffect)
3500
 
      # after this tag, mechanisms are not by side-effect, so they'll
3501
 
      # only be used when explicitly requested
3502
 
      if test "x$enable_dependency_tracking" = xyes; then
3503
 
        continue
3504
 
      else
3505
 
        break
3506
 
      fi
3507
 
      ;;
3508
 
    none) break ;;
3509
 
    esac
3510
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3511
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3512
 
    # handle `-M -o', and we need to detect this.
3513
 
    if depmode=$depmode \
3514
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3515
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3516
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3517
 
         >/dev/null 2>conftest.err &&
3518
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3519
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3520
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3521
 
      # icc doesn't choke on unknown options, it will just issue warnings
3522
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3523
 
      # that says an option was ignored or not supported.
3524
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3525
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3526
 
      # The diagnosis changed in icc 8.0:
3527
 
      #   icc: Command line remark: option '-MP' not supported
3528
 
      if (grep 'ignoring option' conftest.err ||
3529
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3530
 
        am_cv_CC_dependencies_compiler_type=$depmode
3531
 
        break
3532
 
      fi
3533
 
    fi
3534
 
  done
3535
 
 
3536
 
  cd ..
3537
 
  rm -rf conftest.dir
3538
 
else
3539
 
  am_cv_CC_dependencies_compiler_type=none
3540
 
fi
3541
 
 
3542
 
fi
3543
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3544
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3545
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3546
 
 
3547
 
 
3548
 
 
3549
 
if
3550
 
  test "x$enable_dependency_tracking" != xno \
3551
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3552
 
  am__fastdepCC_TRUE=
3553
 
  am__fastdepCC_FALSE='#'
3554
 
else
3555
 
  am__fastdepCC_TRUE='#'
3556
 
  am__fastdepCC_FALSE=
3557
 
fi
3558
 
 
3559
 
 
3560
 
 
3561
 
 
3562
 
case "$am__api_version" in
3563
 
    1.01234)
3564
 
        { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
3565
 
echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
3566
 
   { (exit 1); exit 1; }; }
3567
 
    ;;
3568
 
    *)
3569
 
    ;;
3570
 
esac
3571
 
 
3572
 
if test -n "0.29"; then
3573
 
    { echo "$as_me:$LINENO: checking for intltool >= 0.29" >&5
3574
 
echo $ECHO_N "checking for intltool >= 0.29... $ECHO_C" >&6; }
3575
 
 
3576
 
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.29 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3577
 
    INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
3578
 
    INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in`
3579
 
 
3580
 
    { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
3581
 
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
3582
 
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3583
 
        { { echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool 0.29 or later." >&5
3584
 
echo "$as_me: error: Your intltool is too old.  You need intltool 0.29 or later." >&2;}
3585
 
   { (exit 1); exit 1; }; }
3586
 
fi
3587
 
 
3588
 
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3589
 
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3590
 
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3591
 
     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3592
 
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
3593
 
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3594
 
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3595
 
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3596
 
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3597
 
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3598
 
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3599
 
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
3600
 
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3601
 
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3602
 
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3603
 
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3604
 
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3605
 
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3606
 
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3607
 
 
3608
 
 
3609
 
 
3610
 
 
3611
 
 
3612
 
 
3613
 
 
3614
 
 
3615
 
 
3616
 
 
3617
 
 
3618
 
 
3619
 
 
3620
 
 
3621
 
 
3622
 
 
3623
 
 
3624
 
 
3625
 
 
3626
 
 
3627
 
 
3628
 
# Use the tools built into the package, not the ones that are installed.
3629
 
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
3630
 
 
3631
 
INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
3632
 
 
3633
 
INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
3634
 
 
3635
 
 
3636
 
# Extract the first word of "perl", so it can be a program name with args.
3637
 
set dummy perl; ac_word=$2
3638
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3639
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3640
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
3641
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3642
 
else
3643
 
  case $INTLTOOL_PERL in
3644
 
  [\\/]* | ?:[\\/]*)
3645
 
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
3646
 
  ;;
3647
 
  *)
3648
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3649
 
for as_dir in $PATH
3650
 
do
3651
 
  IFS=$as_save_IFS
3652
 
  test -z "$as_dir" && as_dir=.
3653
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3654
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3655
 
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
3656
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3657
 
    break 2
3658
 
  fi
3659
 
done
3660
 
done
3661
 
IFS=$as_save_IFS
3662
 
 
3663
 
  ;;
3664
 
esac
3665
 
fi
3666
 
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
3667
 
if test -n "$INTLTOOL_PERL"; then
3668
 
  { echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
3669
 
echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
3670
 
else
3671
 
  { echo "$as_me:$LINENO: result: no" >&5
3672
 
echo "${ECHO_T}no" >&6; }
3673
 
fi
3674
 
 
3675
 
 
3676
 
if test -z "$INTLTOOL_PERL"; then
3677
 
   { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
3678
 
echo "$as_me: error: perl not found; required for intltool" >&2;}
3679
 
   { (exit 1); exit 1; }; }
3680
 
fi
3681
 
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
3682
 
   { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
3683
 
echo "$as_me: error: perl 5.x required for intltool" >&2;}
3684
 
   { (exit 1); exit 1; }; }
3685
 
fi
3686
 
if test "x" != "xno-xml"; then
3687
 
   { echo "$as_me:$LINENO: checking for XML::Parser" >&5
3688
 
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
3689
 
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
3690
 
       { echo "$as_me:$LINENO: result: ok" >&5
3691
 
echo "${ECHO_T}ok" >&6; }
3692
 
   else
3693
 
       { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
3694
 
echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
3695
 
   { (exit 1); exit 1; }; }
3696
 
   fi
3697
 
fi
3698
 
 
3699
 
# Substitute ALL_LINGUAS so we can use it in po/Makefile
3700
 
 
3701
 
 
3702
 
# Set DATADIRNAME correctly if it is not set yet
3703
 
# (copied from glib-gettext.m4)
3704
 
if test -z "$DATADIRNAME"; then
3705
 
  cat >conftest.$ac_ext <<_ACEOF
3706
 
/* confdefs.h.  */
3707
 
_ACEOF
3708
 
cat confdefs.h >>conftest.$ac_ext
3709
 
cat >>conftest.$ac_ext <<_ACEOF
3710
 
/* end confdefs.h.  */
3711
 
 
3712
 
int
3713
 
main ()
3714
 
{
3715
 
extern int _nl_msg_cat_cntr;
3716
 
                       return _nl_msg_cat_cntr
3717
 
  ;
3718
 
  return 0;
3719
 
}
3720
 
_ACEOF
3721
 
rm -f conftest.$ac_objext conftest$ac_exeext
3722
 
if { (ac_try="$ac_link"
3723
 
case "(($ac_try" in
3724
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3725
 
  *) ac_try_echo=$ac_try;;
3726
 
esac
3727
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3728
 
  (eval "$ac_link") 2>conftest.er1
3729
 
  ac_status=$?
3730
 
  grep -v '^ *+' conftest.er1 >conftest.err
3731
 
  rm -f conftest.er1
3732
 
  cat conftest.err >&5
3733
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734
 
  (exit $ac_status); } && {
3735
 
         test -z "$ac_c_werror_flag" ||
3736
 
         test ! -s conftest.err
3737
 
       } && test -s conftest$ac_exeext &&
3738
 
       $as_test_x conftest$ac_exeext; then
3739
 
  DATADIRNAME=share
3740
 
else
3741
 
  echo "$as_me: failed program was:" >&5
3742
 
sed 's/^/| /' conftest.$ac_ext >&5
3743
 
 
3744
 
        case $host in
3745
 
    *-*-solaris*)
3746
 
                        { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
3747
 
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
3748
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
3749
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3750
 
else
3751
 
  cat >conftest.$ac_ext <<_ACEOF
3752
 
/* confdefs.h.  */
3753
 
_ACEOF
3754
 
cat confdefs.h >>conftest.$ac_ext
3755
 
cat >>conftest.$ac_ext <<_ACEOF
3756
 
/* end confdefs.h.  */
3757
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
3758
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3759
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
3760
 
 
3761
 
/* System header to define __stub macros and hopefully few prototypes,
3762
 
    which can conflict with char bind_textdomain_codeset (); below.
3763
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3764
 
    <limits.h> exists even on freestanding compilers.  */
3765
 
 
3766
 
#ifdef __STDC__
3767
 
# include <limits.h>
3768
 
#else
3769
 
# include <assert.h>
3770
 
#endif
3771
 
 
3772
 
#undef bind_textdomain_codeset
3773
 
 
3774
 
/* Override any GCC internal prototype to avoid an error.
3775
 
   Use char because int might match the return type of a GCC
3776
 
   builtin and then its argument prototype would still apply.  */
3777
 
#ifdef __cplusplus
3778
 
extern "C"
3779
 
#endif
3780
 
char bind_textdomain_codeset ();
3781
 
/* The GNU C library defines this for functions which it implements
3782
 
    to always fail with ENOSYS.  Some functions are actually named
3783
 
    something starting with __ and the normal name is an alias.  */
3784
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
3785
 
choke me
3786
 
#endif
3787
 
 
3788
 
int
3789
 
main ()
3790
 
{
3791
 
return bind_textdomain_codeset ();
3792
 
  ;
3793
 
  return 0;
3794
 
}
3795
 
_ACEOF
3796
 
rm -f conftest.$ac_objext conftest$ac_exeext
3797
 
if { (ac_try="$ac_link"
3798
 
case "(($ac_try" in
3799
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3800
 
  *) ac_try_echo=$ac_try;;
3801
 
esac
3802
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3803
 
  (eval "$ac_link") 2>conftest.er1
3804
 
  ac_status=$?
3805
 
  grep -v '^ *+' conftest.er1 >conftest.err
3806
 
  rm -f conftest.er1
3807
 
  cat conftest.err >&5
3808
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809
 
  (exit $ac_status); } && {
3810
 
         test -z "$ac_c_werror_flag" ||
3811
 
         test ! -s conftest.err
3812
 
       } && test -s conftest$ac_exeext &&
3813
 
       $as_test_x conftest$ac_exeext; then
3814
 
  ac_cv_func_bind_textdomain_codeset=yes
3815
 
else
3816
 
  echo "$as_me: failed program was:" >&5
3817
 
sed 's/^/| /' conftest.$ac_ext >&5
3818
 
 
3819
 
        ac_cv_func_bind_textdomain_codeset=no
3820
 
fi
3821
 
 
3822
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3823
 
      conftest$ac_exeext conftest.$ac_ext
3824
 
fi
3825
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
3826
 
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
3827
 
if test $ac_cv_func_bind_textdomain_codeset = yes; then
3828
 
  DATADIRNAME=share
3829
 
else
3830
 
  DATADIRNAME=lib
3831
 
fi
3832
 
 
3833
 
    ;;
3834
 
    *)
3835
 
    DATADIRNAME=lib
3836
 
    ;;
3837
 
    esac
3838
 
fi
3839
 
 
3840
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3841
 
      conftest$ac_exeext conftest.$ac_ext
3842
 
fi
3843
 
 
3844
 
 
3845
 
 
3846
 
 
3847
 
 
3848
 
ac_config_commands="$ac_config_commands intltool"
3849
 
 
3850
 
 
3851
 
 
3852
 
 
3853
 
NAUTILUS_REQUIRED=2.10.0
3854
 
EEL_REQUIRED=2.10.0
3855
 
GLIB_REQUIRED=2.4.0
3856
 
LIBGLADE_REQUIRED=2.4.0
3857
 
 
3858
 
DATADIRNAME=share
3859
 
 
3860
 
ac_ext=c
3861
 
ac_cpp='$CPP $CPPFLAGS'
3862
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3863
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3864
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3865
 
if test -n "$ac_tool_prefix"; then
3866
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3867
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3868
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3869
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3870
 
if test "${ac_cv_prog_CC+set}" = set; then
3871
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3872
 
else
3873
 
  if test -n "$CC"; then
3874
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3875
 
else
3876
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3877
 
for as_dir in $PATH
3878
 
do
3879
 
  IFS=$as_save_IFS
3880
 
  test -z "$as_dir" && as_dir=.
3881
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3882
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3883
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3884
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3885
 
    break 2
3886
 
  fi
3887
 
done
3888
 
done
3889
 
IFS=$as_save_IFS
3890
 
 
3891
 
fi
3892
 
fi
3893
 
CC=$ac_cv_prog_CC
3894
 
if test -n "$CC"; then
3895
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3896
 
echo "${ECHO_T}$CC" >&6; }
3897
 
else
3898
 
  { echo "$as_me:$LINENO: result: no" >&5
3899
 
echo "${ECHO_T}no" >&6; }
3900
 
fi
3901
 
 
3902
 
 
3903
 
fi
3904
 
if test -z "$ac_cv_prog_CC"; then
3905
 
  ac_ct_CC=$CC
3906
 
  # Extract the first word of "gcc", so it can be a program name with args.
3907
 
set dummy gcc; ac_word=$2
3908
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3909
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3910
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3911
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3912
 
else
3913
 
  if test -n "$ac_ct_CC"; then
3914
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3915
 
else
3916
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3917
 
for as_dir in $PATH
3918
 
do
3919
 
  IFS=$as_save_IFS
3920
 
  test -z "$as_dir" && as_dir=.
3921
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3922
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3923
 
    ac_cv_prog_ac_ct_CC="gcc"
3924
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3925
 
    break 2
3926
 
  fi
3927
 
done
3928
 
done
3929
 
IFS=$as_save_IFS
3930
 
 
3931
 
fi
3932
 
fi
3933
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3934
 
if test -n "$ac_ct_CC"; then
3935
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3936
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
3937
 
else
3938
 
  { echo "$as_me:$LINENO: result: no" >&5
3939
 
echo "${ECHO_T}no" >&6; }
3940
 
fi
3941
 
 
3942
 
  if test "x$ac_ct_CC" = x; then
3943
 
    CC=""
3944
 
  else
3945
 
    case $cross_compiling:$ac_tool_warned in
3946
 
yes:)
3947
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3948
 
whose name does not start with the host triplet.  If you think this
3949
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3950
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3951
 
whose name does not start with the host triplet.  If you think this
3952
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3953
 
ac_tool_warned=yes ;;
3954
 
esac
3955
 
    CC=$ac_ct_CC
3956
 
  fi
3957
 
else
3958
 
  CC="$ac_cv_prog_CC"
3959
 
fi
3960
 
 
3961
 
if test -z "$CC"; then
3962
 
          if test -n "$ac_tool_prefix"; then
3963
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3964
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
3965
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3966
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3967
 
if test "${ac_cv_prog_CC+set}" = set; then
3968
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3969
 
else
3970
 
  if test -n "$CC"; then
3971
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3972
 
else
3973
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3974
 
for as_dir in $PATH
3975
 
do
3976
 
  IFS=$as_save_IFS
3977
 
  test -z "$as_dir" && as_dir=.
3978
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3979
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3980
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3981
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3982
 
    break 2
3983
 
  fi
3984
 
done
3985
 
done
3986
 
IFS=$as_save_IFS
3987
 
 
3988
 
fi
3989
 
fi
3990
 
CC=$ac_cv_prog_CC
3991
 
if test -n "$CC"; then
3992
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3993
 
echo "${ECHO_T}$CC" >&6; }
3994
 
else
3995
 
  { echo "$as_me:$LINENO: result: no" >&5
3996
 
echo "${ECHO_T}no" >&6; }
3997
 
fi
3998
 
 
3999
 
 
4000
 
  fi
4001
 
fi
4002
 
if test -z "$CC"; then
4003
 
  # Extract the first word of "cc", so it can be a program name with args.
4004
 
set dummy cc; ac_word=$2
4005
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4006
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4007
 
if test "${ac_cv_prog_CC+set}" = set; then
4008
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4009
 
else
4010
 
  if test -n "$CC"; then
4011
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4012
 
else
4013
 
  ac_prog_rejected=no
4014
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4015
 
for as_dir in $PATH
4016
 
do
4017
 
  IFS=$as_save_IFS
4018
 
  test -z "$as_dir" && as_dir=.
4019
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4020
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4021
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4022
 
       ac_prog_rejected=yes
4023
 
       continue
4024
 
     fi
4025
 
    ac_cv_prog_CC="cc"
4026
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4027
 
    break 2
4028
 
  fi
4029
 
done
4030
 
done
4031
 
IFS=$as_save_IFS
4032
 
 
4033
 
if test $ac_prog_rejected = yes; then
4034
 
  # We found a bogon in the path, so make sure we never use it.
4035
 
  set dummy $ac_cv_prog_CC
4036
 
  shift
4037
 
  if test $# != 0; then
4038
 
    # We chose a different compiler from the bogus one.
4039
 
    # However, it has the same basename, so the bogon will be chosen
4040
 
    # first if we set CC to just the basename; use the full file name.
4041
 
    shift
4042
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4043
 
  fi
4044
 
fi
4045
 
fi
4046
 
fi
4047
 
CC=$ac_cv_prog_CC
4048
 
if test -n "$CC"; then
4049
 
  { echo "$as_me:$LINENO: result: $CC" >&5
4050
 
echo "${ECHO_T}$CC" >&6; }
4051
 
else
4052
 
  { echo "$as_me:$LINENO: result: no" >&5
4053
 
echo "${ECHO_T}no" >&6; }
4054
 
fi
4055
 
 
4056
 
 
4057
 
fi
4058
 
if test -z "$CC"; then
4059
 
  if test -n "$ac_tool_prefix"; then
4060
 
  for ac_prog in cl.exe
4061
 
  do
4062
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4063
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4064
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4065
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4066
 
if test "${ac_cv_prog_CC+set}" = set; then
4067
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4068
 
else
4069
 
  if test -n "$CC"; then
4070
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4071
 
else
4072
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4073
 
for as_dir in $PATH
4074
 
do
4075
 
  IFS=$as_save_IFS
4076
 
  test -z "$as_dir" && as_dir=.
4077
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4078
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4079
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4080
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4081
 
    break 2
4082
 
  fi
4083
 
done
4084
 
done
4085
 
IFS=$as_save_IFS
4086
 
 
4087
 
fi
4088
 
fi
4089
 
CC=$ac_cv_prog_CC
4090
 
if test -n "$CC"; then
4091
 
  { echo "$as_me:$LINENO: result: $CC" >&5
4092
 
echo "${ECHO_T}$CC" >&6; }
4093
 
else
4094
 
  { echo "$as_me:$LINENO: result: no" >&5
4095
 
echo "${ECHO_T}no" >&6; }
4096
 
fi
4097
 
 
4098
 
 
4099
 
    test -n "$CC" && break
4100
 
  done
4101
 
fi
4102
 
if test -z "$CC"; then
4103
 
  ac_ct_CC=$CC
4104
 
  for ac_prog in cl.exe
4105
 
do
4106
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4107
 
set dummy $ac_prog; ac_word=$2
4108
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4109
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4110
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4111
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4112
 
else
4113
 
  if test -n "$ac_ct_CC"; then
4114
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4115
 
else
4116
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4117
 
for as_dir in $PATH
4118
 
do
4119
 
  IFS=$as_save_IFS
4120
 
  test -z "$as_dir" && as_dir=.
4121
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4122
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4123
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
4124
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4125
 
    break 2
4126
 
  fi
4127
 
done
4128
 
done
4129
 
IFS=$as_save_IFS
4130
 
 
4131
 
fi
4132
 
fi
4133
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4134
 
if test -n "$ac_ct_CC"; then
4135
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4136
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
4137
 
else
4138
 
  { echo "$as_me:$LINENO: result: no" >&5
4139
 
echo "${ECHO_T}no" >&6; }
4140
 
fi
4141
 
 
4142
 
 
4143
 
  test -n "$ac_ct_CC" && break
4144
 
done
4145
 
 
4146
 
  if test "x$ac_ct_CC" = x; then
4147
 
    CC=""
4148
 
  else
4149
 
    case $cross_compiling:$ac_tool_warned in
4150
 
yes:)
4151
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4152
 
whose name does not start with the host triplet.  If you think this
4153
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4154
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4155
 
whose name does not start with the host triplet.  If you think this
4156
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4157
 
ac_tool_warned=yes ;;
4158
 
esac
4159
 
    CC=$ac_ct_CC
4160
 
  fi
4161
 
fi
4162
 
 
4163
 
fi
4164
 
 
4165
 
 
4166
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4167
 
See \`config.log' for more details." >&5
4168
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
4169
 
See \`config.log' for more details." >&2;}
4170
 
   { (exit 1); exit 1; }; }
4171
 
 
4172
 
# Provide some information about the compiler.
4173
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
4174
 
ac_compiler=`set X $ac_compile; echo $2`
4175
 
{ (ac_try="$ac_compiler --version >&5"
4176
 
case "(($ac_try" in
4177
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4178
 
  *) ac_try_echo=$ac_try;;
4179
 
esac
4180
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4181
 
  (eval "$ac_compiler --version >&5") 2>&5
4182
 
  ac_status=$?
4183
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4184
 
  (exit $ac_status); }
4185
 
{ (ac_try="$ac_compiler -v >&5"
4186
 
case "(($ac_try" in
4187
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4188
 
  *) ac_try_echo=$ac_try;;
4189
 
esac
4190
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4191
 
  (eval "$ac_compiler -v >&5") 2>&5
4192
 
  ac_status=$?
4193
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194
 
  (exit $ac_status); }
4195
 
{ (ac_try="$ac_compiler -V >&5"
4196
 
case "(($ac_try" in
4197
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4198
 
  *) ac_try_echo=$ac_try;;
4199
 
esac
4200
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4201
 
  (eval "$ac_compiler -V >&5") 2>&5
4202
 
  ac_status=$?
4203
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4204
 
  (exit $ac_status); }
4205
 
 
4206
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4207
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4208
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
4209
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4210
 
else
4211
 
  cat >conftest.$ac_ext <<_ACEOF
4212
 
/* confdefs.h.  */
4213
 
_ACEOF
4214
 
cat confdefs.h >>conftest.$ac_ext
4215
 
cat >>conftest.$ac_ext <<_ACEOF
4216
 
/* end confdefs.h.  */
4217
 
 
4218
 
int
4219
 
main ()
4220
 
{
4221
 
#ifndef __GNUC__
4222
 
       choke me
4223
 
#endif
4224
 
 
4225
 
  ;
4226
 
  return 0;
4227
 
}
4228
 
_ACEOF
4229
 
rm -f conftest.$ac_objext
4230
 
if { (ac_try="$ac_compile"
4231
 
case "(($ac_try" in
4232
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4233
 
  *) ac_try_echo=$ac_try;;
4234
 
esac
4235
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4236
 
  (eval "$ac_compile") 2>conftest.er1
4237
 
  ac_status=$?
4238
 
  grep -v '^ *+' conftest.er1 >conftest.err
4239
 
  rm -f conftest.er1
4240
 
  cat conftest.err >&5
4241
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4242
 
  (exit $ac_status); } && {
4243
 
         test -z "$ac_c_werror_flag" ||
4244
 
         test ! -s conftest.err
4245
 
       } && test -s conftest.$ac_objext; then
4246
 
  ac_compiler_gnu=yes
4247
 
else
4248
 
  echo "$as_me: failed program was:" >&5
4249
 
sed 's/^/| /' conftest.$ac_ext >&5
4250
 
 
4251
 
        ac_compiler_gnu=no
4252
 
fi
4253
 
 
4254
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4255
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4256
 
 
4257
 
fi
4258
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4259
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4260
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
4261
 
ac_test_CFLAGS=${CFLAGS+set}
4262
 
ac_save_CFLAGS=$CFLAGS
4263
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4264
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4265
 
if test "${ac_cv_prog_cc_g+set}" = set; then
4266
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4267
 
else
4268
 
  ac_save_c_werror_flag=$ac_c_werror_flag
4269
 
   ac_c_werror_flag=yes
4270
 
   ac_cv_prog_cc_g=no
4271
 
   CFLAGS="-g"
4272
 
   cat >conftest.$ac_ext <<_ACEOF
4273
 
/* confdefs.h.  */
4274
 
_ACEOF
4275
 
cat confdefs.h >>conftest.$ac_ext
4276
 
cat >>conftest.$ac_ext <<_ACEOF
4277
 
/* end confdefs.h.  */
4278
 
 
4279
 
int
4280
 
main ()
4281
 
{
4282
 
 
4283
 
  ;
4284
 
  return 0;
4285
 
}
4286
 
_ACEOF
4287
 
rm -f conftest.$ac_objext
4288
 
if { (ac_try="$ac_compile"
4289
 
case "(($ac_try" in
4290
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4291
 
  *) ac_try_echo=$ac_try;;
4292
 
esac
4293
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4294
 
  (eval "$ac_compile") 2>conftest.er1
4295
 
  ac_status=$?
4296
 
  grep -v '^ *+' conftest.er1 >conftest.err
4297
 
  rm -f conftest.er1
4298
 
  cat conftest.err >&5
4299
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4300
 
  (exit $ac_status); } && {
4301
 
         test -z "$ac_c_werror_flag" ||
4302
 
         test ! -s conftest.err
4303
 
       } && test -s conftest.$ac_objext; then
4304
 
  ac_cv_prog_cc_g=yes
4305
 
else
4306
 
  echo "$as_me: failed program was:" >&5
4307
 
sed 's/^/| /' conftest.$ac_ext >&5
4308
 
 
4309
 
        CFLAGS=""
4310
 
      cat >conftest.$ac_ext <<_ACEOF
4311
 
/* confdefs.h.  */
4312
 
_ACEOF
4313
 
cat confdefs.h >>conftest.$ac_ext
4314
 
cat >>conftest.$ac_ext <<_ACEOF
4315
 
/* end confdefs.h.  */
4316
 
 
4317
 
int
4318
 
main ()
4319
 
{
4320
 
 
4321
 
  ;
4322
 
  return 0;
4323
 
}
4324
 
_ACEOF
4325
 
rm -f conftest.$ac_objext
4326
 
if { (ac_try="$ac_compile"
4327
 
case "(($ac_try" in
4328
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4329
 
  *) ac_try_echo=$ac_try;;
4330
 
esac
4331
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4332
 
  (eval "$ac_compile") 2>conftest.er1
4333
 
  ac_status=$?
4334
 
  grep -v '^ *+' conftest.er1 >conftest.err
4335
 
  rm -f conftest.er1
4336
 
  cat conftest.err >&5
4337
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338
 
  (exit $ac_status); } && {
4339
 
         test -z "$ac_c_werror_flag" ||
4340
 
         test ! -s conftest.err
4341
 
       } && test -s conftest.$ac_objext; then
4342
 
  :
4343
 
else
4344
 
  echo "$as_me: failed program was:" >&5
4345
 
sed 's/^/| /' conftest.$ac_ext >&5
4346
 
 
4347
 
        ac_c_werror_flag=$ac_save_c_werror_flag
4348
 
         CFLAGS="-g"
4349
 
         cat >conftest.$ac_ext <<_ACEOF
4350
 
/* confdefs.h.  */
4351
 
_ACEOF
4352
 
cat confdefs.h >>conftest.$ac_ext
4353
 
cat >>conftest.$ac_ext <<_ACEOF
4354
 
/* end confdefs.h.  */
4355
 
 
4356
 
int
4357
 
main ()
4358
 
{
4359
 
 
4360
 
  ;
4361
 
  return 0;
4362
 
}
4363
 
_ACEOF
4364
 
rm -f conftest.$ac_objext
4365
 
if { (ac_try="$ac_compile"
4366
 
case "(($ac_try" in
4367
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4368
 
  *) ac_try_echo=$ac_try;;
4369
 
esac
4370
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4371
 
  (eval "$ac_compile") 2>conftest.er1
4372
 
  ac_status=$?
4373
 
  grep -v '^ *+' conftest.er1 >conftest.err
4374
 
  rm -f conftest.er1
4375
 
  cat conftest.err >&5
4376
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4377
 
  (exit $ac_status); } && {
4378
 
         test -z "$ac_c_werror_flag" ||
4379
 
         test ! -s conftest.err
4380
 
       } && test -s conftest.$ac_objext; then
4381
 
  ac_cv_prog_cc_g=yes
4382
 
else
4383
 
  echo "$as_me: failed program was:" >&5
4384
 
sed 's/^/| /' conftest.$ac_ext >&5
4385
 
 
4386
 
 
4387
 
fi
4388
 
 
4389
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4390
 
fi
4391
 
 
4392
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4393
 
fi
4394
 
 
4395
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4396
 
   ac_c_werror_flag=$ac_save_c_werror_flag
4397
 
fi
4398
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4399
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4400
 
if test "$ac_test_CFLAGS" = set; then
4401
 
  CFLAGS=$ac_save_CFLAGS
4402
 
elif test $ac_cv_prog_cc_g = yes; then
4403
 
  if test "$GCC" = yes; then
4404
 
    CFLAGS="-g -O2"
4405
 
  else
4406
 
    CFLAGS="-g"
4407
 
  fi
4408
 
else
4409
 
  if test "$GCC" = yes; then
4410
 
    CFLAGS="-O2"
4411
 
  else
4412
 
    CFLAGS=
4413
 
  fi
4414
 
fi
4415
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4416
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4417
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
4418
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4419
 
else
4420
 
  ac_cv_prog_cc_c89=no
4421
 
ac_save_CC=$CC
4422
 
cat >conftest.$ac_ext <<_ACEOF
4423
 
/* confdefs.h.  */
4424
 
_ACEOF
4425
 
cat confdefs.h >>conftest.$ac_ext
4426
 
cat >>conftest.$ac_ext <<_ACEOF
4427
 
/* end confdefs.h.  */
4428
 
#include <stdarg.h>
4429
 
#include <stdio.h>
4430
 
#include <sys/types.h>
4431
 
#include <sys/stat.h>
4432
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4433
 
struct buf { int x; };
4434
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4435
 
static char *e (p, i)
4436
 
     char **p;
4437
 
     int i;
4438
 
{
4439
 
  return p[i];
4440
 
}
4441
 
static char *f (char * (*g) (char **, int), char **p, ...)
4442
 
{
4443
 
  char *s;
4444
 
  va_list v;
4445
 
  va_start (v,p);
4446
 
  s = g (p, va_arg (v,int));
4447
 
  va_end (v);
4448
 
  return s;
4449
 
}
4450
 
 
4451
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4452
 
   function prototypes and stuff, but not '\xHH' hex character constants.
4453
 
   These don't provoke an error unfortunately, instead are silently treated
4454
 
   as 'x'.  The following induces an error, until -std is added to get
4455
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4456
 
   array size at least.  It's necessary to write '\x00'==0 to get something
4457
 
   that's true only with -std.  */
4458
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4459
 
 
4460
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4461
 
   inside strings and character constants.  */
4462
 
#define FOO(x) 'x'
4463
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4464
 
 
4465
 
int test (int i, double x);
4466
 
struct s1 {int (*f) (int a);};
4467
 
struct s2 {int (*f) (double a);};
4468
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4469
 
int argc;
4470
 
char **argv;
4471
 
int
4472
 
main ()
4473
 
{
4474
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4475
 
  ;
4476
 
  return 0;
4477
 
}
4478
 
_ACEOF
4479
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4480
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4481
 
do
4482
 
  CC="$ac_save_CC $ac_arg"
4483
 
  rm -f conftest.$ac_objext
4484
 
if { (ac_try="$ac_compile"
4485
 
case "(($ac_try" in
4486
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4487
 
  *) ac_try_echo=$ac_try;;
4488
 
esac
4489
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4490
 
  (eval "$ac_compile") 2>conftest.er1
4491
 
  ac_status=$?
4492
 
  grep -v '^ *+' conftest.er1 >conftest.err
4493
 
  rm -f conftest.er1
4494
 
  cat conftest.err >&5
4495
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4496
 
  (exit $ac_status); } && {
4497
 
         test -z "$ac_c_werror_flag" ||
4498
 
         test ! -s conftest.err
4499
 
       } && test -s conftest.$ac_objext; then
4500
 
  ac_cv_prog_cc_c89=$ac_arg
4501
 
else
4502
 
  echo "$as_me: failed program was:" >&5
4503
 
sed 's/^/| /' conftest.$ac_ext >&5
4504
 
 
4505
 
 
4506
 
fi
4507
 
 
4508
 
rm -f core conftest.err conftest.$ac_objext
4509
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4510
 
done
4511
 
rm -f conftest.$ac_ext
4512
 
CC=$ac_save_CC
4513
 
 
4514
 
fi
4515
 
# AC_CACHE_VAL
4516
 
case "x$ac_cv_prog_cc_c89" in
4517
 
  x)
4518
 
    { echo "$as_me:$LINENO: result: none needed" >&5
4519
 
echo "${ECHO_T}none needed" >&6; } ;;
4520
 
  xno)
4521
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
4522
 
echo "${ECHO_T}unsupported" >&6; } ;;
4523
 
  *)
4524
 
    CC="$CC $ac_cv_prog_cc_c89"
4525
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4526
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4527
 
esac
4528
 
 
4529
 
 
4530
 
ac_ext=c
4531
 
ac_cpp='$CPP $CPPFLAGS'
4532
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4533
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4534
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4535
 
 
4536
 
depcc="$CC"   am_compiler_list=
4537
 
 
4538
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4539
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4540
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4541
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4542
 
else
4543
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4544
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4545
 
  # making bogus files that we don't know about and never remove.  For
4546
 
  # instance it was reported that on HP-UX the gcc test will end up
4547
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4548
 
  # in D'.
4549
 
  mkdir conftest.dir
4550
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4551
 
  # using a relative directory.
4552
 
  cp "$am_depcomp" conftest.dir
4553
 
  cd conftest.dir
4554
 
  # We will build objects and dependencies in a subdirectory because
4555
 
  # it helps to detect inapplicable dependency modes.  For instance
4556
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4557
 
  # side effect of compilation, but ICC will put the dependencies in
4558
 
  # the current directory while Tru64 will put them in the object
4559
 
  # directory.
4560
 
  mkdir sub
4561
 
 
4562
 
  am_cv_CC_dependencies_compiler_type=none
4563
 
  if test "$am_compiler_list" = ""; then
4564
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4565
 
  fi
4566
 
  for depmode in $am_compiler_list; do
4567
 
    # Setup a source with many dependencies, because some compilers
4568
 
    # like to wrap large dependency lists on column 80 (with \), and
4569
 
    # we should not choose a depcomp mode which is confused by this.
4570
 
    #
4571
 
    # We need to recreate these files for each test, as the compiler may
4572
 
    # overwrite some of them when testing with obscure command lines.
4573
 
    # This happens at least with the AIX C compiler.
4574
 
    : > sub/conftest.c
4575
 
    for i in 1 2 3 4 5 6; do
4576
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4577
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4578
 
      # Solaris 8's {/usr,}/bin/sh.
4579
 
      touch sub/conftst$i.h
4580
 
    done
4581
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4582
 
 
4583
 
    case $depmode in
4584
 
    nosideeffect)
4585
 
      # after this tag, mechanisms are not by side-effect, so they'll
4586
 
      # only be used when explicitly requested
4587
 
      if test "x$enable_dependency_tracking" = xyes; then
4588
 
        continue
4589
 
      else
4590
 
        break
4591
 
      fi
4592
 
      ;;
4593
 
    none) break ;;
4594
 
    esac
4595
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4596
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4597
 
    # handle `-M -o', and we need to detect this.
4598
 
    if depmode=$depmode \
4599
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4600
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4601
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4602
 
         >/dev/null 2>conftest.err &&
4603
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4604
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4605
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4606
 
      # icc doesn't choke on unknown options, it will just issue warnings
4607
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4608
 
      # that says an option was ignored or not supported.
4609
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4610
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4611
 
      # The diagnosis changed in icc 8.0:
4612
 
      #   icc: Command line remark: option '-MP' not supported
4613
 
      if (grep 'ignoring option' conftest.err ||
4614
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4615
 
        am_cv_CC_dependencies_compiler_type=$depmode
4616
 
        break
4617
 
      fi
4618
 
    fi
4619
 
  done
4620
 
 
4621
 
  cd ..
4622
 
  rm -rf conftest.dir
4623
 
else
4624
 
  am_cv_CC_dependencies_compiler_type=none
4625
 
fi
4626
 
 
4627
 
fi
4628
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4629
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4630
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4631
 
 
4632
 
 
4633
 
 
4634
 
if
4635
 
  test "x$enable_dependency_tracking" != xno \
4636
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4637
 
  am__fastdepCC_TRUE=
4638
 
  am__fastdepCC_FALSE='#'
4639
 
else
4640
 
  am__fastdepCC_TRUE='#'
4641
 
  am__fastdepCC_FALSE=
4642
 
fi
4643
 
 
4644
 
 
4645
 
# Check whether --enable-shared was given.
4646
 
if test "${enable_shared+set}" = set; then
4647
 
  enableval=$enable_shared; p=${PACKAGE-default}
4648
 
    case $enableval in
4649
 
    yes) enable_shared=yes ;;
4650
 
    no) enable_shared=no ;;
4651
 
    *)
4652
 
      enable_shared=no
4653
 
      # Look at the argument we got.  We use all the common list separators.
4654
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4655
 
      for pkg in $enableval; do
4656
 
        IFS="$lt_save_ifs"
4657
 
        if test "X$pkg" = "X$p"; then
4658
 
          enable_shared=yes
4659
 
        fi
4660
 
      done
4661
 
      IFS="$lt_save_ifs"
4662
 
      ;;
4663
 
    esac
4664
 
else
4665
 
  enable_shared=yes
4666
 
fi
4667
 
 
4668
 
 
4669
 
# Check whether --enable-static was given.
4670
 
if test "${enable_static+set}" = set; then
4671
 
  enableval=$enable_static; p=${PACKAGE-default}
4672
 
    case $enableval in
4673
 
    yes) enable_static=yes ;;
4674
 
    no) enable_static=no ;;
4675
 
    *)
4676
 
     enable_static=no
4677
 
      # Look at the argument we got.  We use all the common list separators.
4678
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4679
 
      for pkg in $enableval; do
4680
 
        IFS="$lt_save_ifs"
4681
 
        if test "X$pkg" = "X$p"; then
4682
 
          enable_static=yes
4683
 
        fi
4684
 
      done
4685
 
      IFS="$lt_save_ifs"
4686
 
      ;;
4687
 
    esac
4688
 
else
4689
 
  enable_static=yes
4690
 
fi
4691
 
 
4692
 
 
4693
 
# Check whether --enable-fast-install was given.
4694
 
if test "${enable_fast_install+set}" = set; then
4695
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
4696
 
    case $enableval in
4697
 
    yes) enable_fast_install=yes ;;
4698
 
    no) enable_fast_install=no ;;
4699
 
    *)
4700
 
      enable_fast_install=no
4701
 
      # Look at the argument we got.  We use all the common list separators.
4702
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4703
 
      for pkg in $enableval; do
4704
 
        IFS="$lt_save_ifs"
4705
 
        if test "X$pkg" = "X$p"; then
4706
 
          enable_fast_install=yes
4707
 
        fi
4708
 
      done
4709
 
      IFS="$lt_save_ifs"
4710
 
      ;;
4711
 
    esac
4712
 
else
4713
 
  enable_fast_install=yes
4714
 
fi
4715
 
 
4716
 
 
4717
 
# Make sure we can run config.sub.
4718
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4719
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4720
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4721
 
   { (exit 1); exit 1; }; }
4722
 
 
4723
 
{ echo "$as_me:$LINENO: checking build system type" >&5
4724
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4725
 
if test "${ac_cv_build+set}" = set; then
4726
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4727
 
else
4728
 
  ac_build_alias=$build_alias
4729
 
test "x$ac_build_alias" = x &&
4730
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4731
 
test "x$ac_build_alias" = x &&
4732
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4733
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4734
 
   { (exit 1); exit 1; }; }
4735
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4736
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4737
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4738
 
   { (exit 1); exit 1; }; }
4739
 
 
4740
 
fi
4741
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4742
 
echo "${ECHO_T}$ac_cv_build" >&6; }
4743
 
case $ac_cv_build in
4744
 
*-*-*) ;;
4745
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4746
 
echo "$as_me: error: invalid value of canonical build" >&2;}
4747
 
   { (exit 1); exit 1; }; };;
4748
 
esac
4749
 
build=$ac_cv_build
4750
 
ac_save_IFS=$IFS; IFS='-'
4751
 
set x $ac_cv_build
4752
 
shift
4753
 
build_cpu=$1
4754
 
build_vendor=$2
4755
 
shift; shift
4756
 
# Remember, the first character of IFS is used to create $*,
4757
 
# except with old shells:
4758
 
build_os=$*
4759
 
IFS=$ac_save_IFS
4760
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4761
 
 
4762
 
 
4763
 
{ echo "$as_me:$LINENO: checking host system type" >&5
4764
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4765
 
if test "${ac_cv_host+set}" = set; then
4766
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4767
 
else
4768
 
  if test "x$host_alias" = x; then
4769
 
  ac_cv_host=$ac_cv_build
4770
 
else
4771
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4772
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4773
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4774
 
   { (exit 1); exit 1; }; }
4775
 
fi
4776
 
 
4777
 
fi
4778
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4779
 
echo "${ECHO_T}$ac_cv_host" >&6; }
4780
 
case $ac_cv_host in
4781
 
*-*-*) ;;
4782
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4783
 
echo "$as_me: error: invalid value of canonical host" >&2;}
4784
 
   { (exit 1); exit 1; }; };;
4785
 
esac
4786
 
host=$ac_cv_host
4787
 
ac_save_IFS=$IFS; IFS='-'
4788
 
set x $ac_cv_host
4789
 
shift
4790
 
host_cpu=$1
4791
 
host_vendor=$2
4792
 
shift; shift
4793
 
# Remember, the first character of IFS is used to create $*,
4794
 
# except with old shells:
4795
 
host_os=$*
4796
 
IFS=$ac_save_IFS
4797
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4798
 
 
4799
 
 
4800
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4801
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4802
 
if test "${lt_cv_path_SED+set}" = set; then
4803
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4804
 
else
4805
 
  # Loop through the user's path and test for sed and gsed.
4806
 
# Then use that list of sed's as ones to test for truncation.
4807
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4808
 
for as_dir in $PATH
4809
 
do
4810
 
  IFS=$as_save_IFS
4811
 
  test -z "$as_dir" && as_dir=.
4812
 
  for lt_ac_prog in sed gsed; do
4813
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4814
 
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4815
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4816
 
      fi
4817
 
    done
4818
 
  done
4819
 
done
4820
 
IFS=$as_save_IFS
4821
 
lt_ac_max=0
4822
 
lt_ac_count=0
4823
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
4824
 
# along with /bin/sed that truncates output.
4825
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4826
 
  test ! -f $lt_ac_sed && continue
4827
 
  cat /dev/null > conftest.in
4828
 
  lt_ac_count=0
4829
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4830
 
  # Check for GNU sed and select it if it is found.
4831
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4832
 
    lt_cv_path_SED=$lt_ac_sed
4833
 
    break
4834
 
  fi
4835
 
  while true; do
4836
 
    cat conftest.in conftest.in >conftest.tmp
4837
 
    mv conftest.tmp conftest.in
4838
 
    cp conftest.in conftest.nl
4839
 
    echo >>conftest.nl
4840
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4841
 
    cmp -s conftest.out conftest.nl || break
4842
 
    # 10000 chars as input seems more than enough
4843
 
    test $lt_ac_count -gt 10 && break
4844
 
    lt_ac_count=`expr $lt_ac_count + 1`
4845
 
    if test $lt_ac_count -gt $lt_ac_max; then
4846
 
      lt_ac_max=$lt_ac_count
4847
 
      lt_cv_path_SED=$lt_ac_sed
4848
 
    fi
4849
 
  done
4850
 
done
4851
 
 
4852
 
fi
4853
 
 
4854
 
SED=$lt_cv_path_SED
4855
 
 
4856
 
{ echo "$as_me:$LINENO: result: $SED" >&5
4857
 
echo "${ECHO_T}$SED" >&6; }
4858
 
 
4859
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4860
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4861
 
if test "${ac_cv_path_GREP+set}" = set; then
4862
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4863
 
else
4864
 
  # Extract the first word of "grep ggrep" to use in msg output
4865
 
if test -z "$GREP"; then
4866
 
set dummy grep ggrep; ac_prog_name=$2
4867
 
if test "${ac_cv_path_GREP+set}" = set; then
4868
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4869
 
else
4870
 
  ac_path_GREP_found=false
4871
 
# Loop through the user's path and test for each of PROGNAME-LIST
4872
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4873
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4874
 
do
4875
 
  IFS=$as_save_IFS
4876
 
  test -z "$as_dir" && as_dir=.
4877
 
  for ac_prog in grep ggrep; do
4878
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4879
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4880
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4881
 
    # Check for GNU ac_path_GREP and select it if it is found.
4882
 
  # Check for GNU $ac_path_GREP
4883
 
case `"$ac_path_GREP" --version 2>&1` in
4884
 
*GNU*)
4885
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4886
 
*)
4887
 
  ac_count=0
4888
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4889
 
  while :
4890
 
  do
4891
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4892
 
    mv "conftest.tmp" "conftest.in"
4893
 
    cp "conftest.in" "conftest.nl"
4894
 
    echo 'GREP' >> "conftest.nl"
4895
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4896
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4897
 
    ac_count=`expr $ac_count + 1`
4898
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4899
 
      # Best one so far, save it but keep looking for a better one
4900
 
      ac_cv_path_GREP="$ac_path_GREP"
4901
 
      ac_path_GREP_max=$ac_count
4902
 
    fi
4903
 
    # 10*(2^10) chars as input seems more than enough
4904
 
    test $ac_count -gt 10 && break
4905
 
  done
4906
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4907
 
esac
4908
 
 
4909
 
 
4910
 
    $ac_path_GREP_found && break 3
4911
 
  done
4912
 
done
4913
 
 
4914
 
done
4915
 
IFS=$as_save_IFS
4916
 
 
4917
 
 
4918
 
fi
4919
 
 
4920
 
GREP="$ac_cv_path_GREP"
4921
 
if test -z "$GREP"; then
4922
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4923
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4924
 
   { (exit 1); exit 1; }; }
4925
 
fi
4926
 
 
4927
 
else
4928
 
  ac_cv_path_GREP=$GREP
4929
 
fi
4930
 
 
4931
 
 
4932
 
fi
4933
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4934
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4935
 
 GREP="$ac_cv_path_GREP"
4936
 
 
4937
 
 
4938
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
4939
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4940
 
if test "${ac_cv_path_EGREP+set}" = set; then
4941
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4942
 
else
4943
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4944
 
   then ac_cv_path_EGREP="$GREP -E"
4945
 
   else
4946
 
     # Extract the first word of "egrep" to use in msg output
4947
 
if test -z "$EGREP"; then
4948
 
set dummy egrep; ac_prog_name=$2
4949
 
if test "${ac_cv_path_EGREP+set}" = set; then
4950
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4951
 
else
4952
 
  ac_path_EGREP_found=false
4953
 
# Loop through the user's path and test for each of PROGNAME-LIST
4954
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4955
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4956
 
do
4957
 
  IFS=$as_save_IFS
4958
 
  test -z "$as_dir" && as_dir=.
4959
 
  for ac_prog in egrep; do
4960
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4961
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4962
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4963
 
    # Check for GNU ac_path_EGREP and select it if it is found.
4964
 
  # Check for GNU $ac_path_EGREP
4965
 
case `"$ac_path_EGREP" --version 2>&1` in
4966
 
*GNU*)
4967
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4968
 
*)
4969
 
  ac_count=0
4970
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4971
 
  while :
4972
 
  do
4973
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4974
 
    mv "conftest.tmp" "conftest.in"
4975
 
    cp "conftest.in" "conftest.nl"
4976
 
    echo 'EGREP' >> "conftest.nl"
4977
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4978
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4979
 
    ac_count=`expr $ac_count + 1`
4980
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4981
 
      # Best one so far, save it but keep looking for a better one
4982
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4983
 
      ac_path_EGREP_max=$ac_count
4984
 
    fi
4985
 
    # 10*(2^10) chars as input seems more than enough
4986
 
    test $ac_count -gt 10 && break
4987
 
  done
4988
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4989
 
esac
4990
 
 
4991
 
 
4992
 
    $ac_path_EGREP_found && break 3
4993
 
  done
4994
 
done
4995
 
 
4996
 
done
4997
 
IFS=$as_save_IFS
4998
 
 
4999
 
 
5000
 
fi
5001
 
 
5002
 
EGREP="$ac_cv_path_EGREP"
5003
 
if test -z "$EGREP"; then
5004
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5005
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5006
 
   { (exit 1); exit 1; }; }
5007
 
fi
5008
 
 
5009
 
else
5010
 
  ac_cv_path_EGREP=$EGREP
5011
 
fi
5012
 
 
5013
 
 
5014
 
   fi
5015
 
fi
5016
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5017
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5018
 
 EGREP="$ac_cv_path_EGREP"
5019
 
 
5020
 
 
5021
 
 
5022
 
# Check whether --with-gnu-ld was given.
5023
 
if test "${with_gnu_ld+set}" = set; then
5024
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5025
 
else
5026
 
  with_gnu_ld=no
5027
 
fi
5028
 
 
5029
 
ac_prog=ld
5030
 
if test "$GCC" = yes; then
5031
 
  # Check if gcc -print-prog-name=ld gives a path.
5032
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5033
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
5034
 
  case $host in
5035
 
  *-*-mingw*)
5036
 
    # gcc leaves a trailing carriage return which upsets mingw
5037
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5038
 
  *)
5039
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5040
 
  esac
5041
 
  case $ac_prog in
5042
 
    # Accept absolute paths.
5043
 
    [\\/]* | ?:[\\/]*)
5044
 
      re_direlt='/[^/][^/]*/\.\./'
5045
 
      # Canonicalize the pathname of ld
5046
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
5047
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5048
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
5049
 
      done
5050
 
      test -z "$LD" && LD="$ac_prog"
5051
 
      ;;
5052
 
  "")
5053
 
    # If it fails, then pretend we aren't using GCC.
5054
 
    ac_prog=ld
5055
 
    ;;
5056
 
  *)
5057
 
    # If it is relative, then search for the first ld in PATH.
5058
 
    with_gnu_ld=unknown
5059
 
    ;;
5060
 
  esac
5061
 
elif test "$with_gnu_ld" = yes; then
5062
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
5063
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
5064
 
else
5065
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5066
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
5067
 
fi
5068
 
if test "${lt_cv_path_LD+set}" = set; then
5069
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5070
 
else
5071
 
  if test -z "$LD"; then
5072
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5073
 
  for ac_dir in $PATH; do
5074
 
    IFS="$lt_save_ifs"
5075
 
    test -z "$ac_dir" && ac_dir=.
5076
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5077
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
5078
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
5079
 
      # but apparently some variants of GNU ld only accept -v.
5080
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
5081
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5082
 
      *GNU* | *'with BFD'*)
5083
 
        test "$with_gnu_ld" != no && break
5084
 
        ;;
5085
 
      *)
5086
 
        test "$with_gnu_ld" != yes && break
5087
 
        ;;
5088
 
      esac
5089
 
    fi
5090
 
  done
5091
 
  IFS="$lt_save_ifs"
5092
 
else
5093
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5094
 
fi
5095
 
fi
5096
 
 
5097
 
LD="$lt_cv_path_LD"
5098
 
if test -n "$LD"; then
5099
 
  { echo "$as_me:$LINENO: result: $LD" >&5
5100
 
echo "${ECHO_T}$LD" >&6; }
5101
 
else
5102
 
  { echo "$as_me:$LINENO: result: no" >&5
5103
 
echo "${ECHO_T}no" >&6; }
5104
 
fi
5105
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5106
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5107
 
   { (exit 1); exit 1; }; }
5108
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5109
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
5110
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
5111
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5112
 
else
5113
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5114
 
case `$LD -v 2>&1 </dev/null` in
5115
 
*GNU* | *'with BFD'*)
5116
 
  lt_cv_prog_gnu_ld=yes
5117
 
  ;;
5118
 
*)
5119
 
  lt_cv_prog_gnu_ld=no
5120
 
  ;;
5121
 
esac
5122
 
fi
5123
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5124
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
5125
 
with_gnu_ld=$lt_cv_prog_gnu_ld
5126
 
 
5127
 
 
5128
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5129
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
5130
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
5131
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5132
 
else
5133
 
  lt_cv_ld_reload_flag='-r'
5134
 
fi
5135
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5136
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
5137
 
reload_flag=$lt_cv_ld_reload_flag
5138
 
case $reload_flag in
5139
 
"" | " "*) ;;
5140
 
*) reload_flag=" $reload_flag" ;;
5141
 
esac
5142
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5143
 
case $host_os in
5144
 
  darwin*)
5145
 
    if test "$GCC" = yes; then
5146
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5147
 
    else
5148
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5149
 
    fi
5150
 
    ;;
5151
 
esac
5152
 
 
5153
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5154
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
5155
 
if test "${lt_cv_path_NM+set}" = set; then
5156
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5157
 
else
5158
 
  if test -n "$NM"; then
5159
 
  # Let the user override the test.
5160
 
  lt_cv_path_NM="$NM"
5161
 
else
5162
 
  lt_nm_to_check="${ac_tool_prefix}nm"
5163
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5164
 
    lt_nm_to_check="$lt_nm_to_check nm"
5165
 
  fi
5166
 
  for lt_tmp_nm in $lt_nm_to_check; do
5167
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5168
 
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5169
 
      IFS="$lt_save_ifs"
5170
 
      test -z "$ac_dir" && ac_dir=.
5171
 
      tmp_nm="$ac_dir/$lt_tmp_nm"
5172
 
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5173
 
        # Check to see if the nm accepts a BSD-compat flag.
5174
 
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5175
 
        #   nm: unknown option "B" ignored
5176
 
        # Tru64's nm complains that /dev/null is an invalid object file
5177
 
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5178
 
        */dev/null* | *'Invalid file or object type'*)
5179
 
          lt_cv_path_NM="$tmp_nm -B"
5180
 
          break
5181
 
          ;;
5182
 
        *)
5183
 
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5184
 
          */dev/null*)
5185
 
            lt_cv_path_NM="$tmp_nm -p"
5186
 
            break
5187
 
            ;;
5188
 
          *)
5189
 
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5190
 
            continue # so that we can try to find one that supports BSD flags
5191
 
            ;;
5192
 
          esac
5193
 
          ;;
5194
 
        esac
5195
 
      fi
5196
 
    done
5197
 
    IFS="$lt_save_ifs"
5198
 
  done
5199
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
5200
 
fi
5201
 
fi
5202
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5203
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
5204
 
NM="$lt_cv_path_NM"
5205
 
 
5206
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
5207
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5208
 
LN_S=$as_ln_s
5209
 
if test "$LN_S" = "ln -s"; then
5210
 
  { echo "$as_me:$LINENO: result: yes" >&5
5211
 
echo "${ECHO_T}yes" >&6; }
5212
 
else
5213
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5214
 
echo "${ECHO_T}no, using $LN_S" >&6; }
5215
 
fi
5216
 
 
5217
 
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5218
 
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
5219
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
5220
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5221
 
else
5222
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5223
 
lt_cv_file_magic_test_file=
5224
 
lt_cv_deplibs_check_method='unknown'
5225
 
# Need to set the preceding variable on all platforms that support
5226
 
# interlibrary dependencies.
5227
 
# 'none' -- dependencies not supported.
5228
 
# `unknown' -- same as none, but documents that we really don't know.
5229
 
# 'pass_all' -- all dependencies passed with no checks.
5230
 
# 'test_compile' -- check by making test program.
5231
 
# 'file_magic [[regex]]' -- check by looking for files in library path
5232
 
# which responds to the $file_magic_cmd with a given extended regex.
5233
 
# If you have `file' or equivalent on your system and you're not sure
5234
 
# whether `pass_all' will *always* work, you probably want this one.
5235
 
 
5236
 
case $host_os in
5237
 
aix4* | aix5*)
5238
 
  lt_cv_deplibs_check_method=pass_all
5239
 
  ;;
5240
 
 
5241
 
beos*)
5242
 
  lt_cv_deplibs_check_method=pass_all
5243
 
  ;;
5244
 
 
5245
 
bsdi[45]*)
5246
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5247
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
5248
 
  lt_cv_file_magic_test_file=/shlib/libc.so
5249
 
  ;;
5250
 
 
5251
 
cygwin*)
5252
 
  # func_win32_libid is a shell function defined in ltmain.sh
5253
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5254
 
  lt_cv_file_magic_cmd='func_win32_libid'
5255
 
  ;;
5256
 
 
5257
 
mingw* | pw32*)
5258
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
5259
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5260
 
  # unless we find 'file', for example because we are cross-compiling.
5261
 
  if ( file / ) >/dev/null 2>&1; then
5262
 
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5263
 
    lt_cv_file_magic_cmd='func_win32_libid'
5264
 
  else
5265
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5266
 
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5267
 
  fi
5268
 
  ;;
5269
 
 
5270
 
darwin* | rhapsody*)
5271
 
  lt_cv_deplibs_check_method=pass_all
5272
 
  ;;
5273
 
 
5274
 
freebsd* | dragonfly*)
5275
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5276
 
    case $host_cpu in
5277
 
    i*86 )
5278
 
      # Not sure whether the presence of OpenBSD here was a mistake.
5279
 
      # Let's accept both of them until this is cleared up.
5280
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5281
 
      lt_cv_file_magic_cmd=/usr/bin/file
5282
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5283
 
      ;;
5284
 
    esac
5285
 
  else
5286
 
    lt_cv_deplibs_check_method=pass_all
5287
 
  fi
5288
 
  ;;
5289
 
 
5290
 
gnu*)
5291
 
  lt_cv_deplibs_check_method=pass_all
5292
 
  ;;
5293
 
 
5294
 
hpux10.20* | hpux11*)
5295
 
  lt_cv_file_magic_cmd=/usr/bin/file
5296
 
  case $host_cpu in
5297
 
  ia64*)
5298
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5299
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5300
 
    ;;
5301
 
  hppa*64*)
5302
 
    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]'
5303
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5304
 
    ;;
5305
 
  *)
5306
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5307
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5308
 
    ;;
5309
 
  esac
5310
 
  ;;
5311
 
 
5312
 
interix[3-9]*)
5313
 
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5314
 
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5315
 
  ;;
5316
 
 
5317
 
irix5* | irix6* | nonstopux*)
5318
 
  case $LD in
5319
 
  *-32|*"-32 ") libmagic=32-bit;;
5320
 
  *-n32|*"-n32 ") libmagic=N32;;
5321
 
  *-64|*"-64 ") libmagic=64-bit;;
5322
 
  *) libmagic=never-match;;
5323
 
  esac
5324
 
  lt_cv_deplibs_check_method=pass_all
5325
 
  ;;
5326
 
 
5327
 
# This must be Linux ELF.
5328
 
linux* | k*bsd*-gnu)
5329
 
  lt_cv_deplibs_check_method=pass_all
5330
 
  ;;
5331
 
 
5332
 
netbsd* | netbsdelf*-gnu)
5333
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5334
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5335
 
  else
5336
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5337
 
  fi
5338
 
  ;;
5339
 
 
5340
 
newos6*)
5341
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5342
 
  lt_cv_file_magic_cmd=/usr/bin/file
5343
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5344
 
  ;;
5345
 
 
5346
 
nto-qnx*)
5347
 
  lt_cv_deplibs_check_method=unknown
5348
 
  ;;
5349
 
 
5350
 
openbsd*)
5351
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5352
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5353
 
  else
5354
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5355
 
  fi
5356
 
  ;;
5357
 
 
5358
 
osf3* | osf4* | osf5*)
5359
 
  lt_cv_deplibs_check_method=pass_all
5360
 
  ;;
5361
 
 
5362
 
rdos*)
5363
 
  lt_cv_deplibs_check_method=pass_all
5364
 
  ;;
5365
 
 
5366
 
solaris*)
5367
 
  lt_cv_deplibs_check_method=pass_all
5368
 
  ;;
5369
 
 
5370
 
sysv4 | sysv4.3*)
5371
 
  case $host_vendor in
5372
 
  motorola)
5373
 
    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]'
5374
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5375
 
    ;;
5376
 
  ncr)
5377
 
    lt_cv_deplibs_check_method=pass_all
5378
 
    ;;
5379
 
  sequent)
5380
 
    lt_cv_file_magic_cmd='/bin/file'
5381
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5382
 
    ;;
5383
 
  sni)
5384
 
    lt_cv_file_magic_cmd='/bin/file'
5385
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5386
 
    lt_cv_file_magic_test_file=/lib/libc.so
5387
 
    ;;
5388
 
  siemens)
5389
 
    lt_cv_deplibs_check_method=pass_all
5390
 
    ;;
5391
 
  pc)
5392
 
    lt_cv_deplibs_check_method=pass_all
5393
 
    ;;
5394
 
  esac
5395
 
  ;;
5396
 
 
5397
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5398
 
  lt_cv_deplibs_check_method=pass_all
5399
 
  ;;
5400
 
esac
5401
 
 
5402
 
fi
5403
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5404
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
5405
 
file_magic_cmd=$lt_cv_file_magic_cmd
5406
 
deplibs_check_method=$lt_cv_deplibs_check_method
5407
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5408
 
 
5409
 
 
5410
 
 
5411
 
 
5412
 
# If no C compiler was specified, use CC.
5413
 
LTCC=${LTCC-"$CC"}
5414
 
 
5415
 
# If no C compiler flags were specified, use CFLAGS.
5416
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5417
 
 
5418
 
# Allow CC to be a program name with arguments.
5419
 
compiler=$CC
5420
 
 
5421
 
# Check whether --enable-libtool-lock was given.
5422
 
if test "${enable_libtool_lock+set}" = set; then
5423
 
  enableval=$enable_libtool_lock;
5424
 
fi
5425
 
 
5426
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5427
 
 
5428
 
# Some flags need to be propagated to the compiler or linker for good
5429
 
# libtool support.
5430
 
case $host in
5431
 
ia64-*-hpux*)
5432
 
  # Find out which ABI we are using.
5433
 
  echo 'int i;' > conftest.$ac_ext
5434
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5435
 
  (eval $ac_compile) 2>&5
5436
 
  ac_status=$?
5437
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438
 
  (exit $ac_status); }; then
5439
 
    case `/usr/bin/file conftest.$ac_objext` in
5440
 
    *ELF-32*)
5441
 
      HPUX_IA64_MODE="32"
5442
 
      ;;
5443
 
    *ELF-64*)
5444
 
      HPUX_IA64_MODE="64"
5445
 
      ;;
5446
 
    esac
5447
 
  fi
5448
 
  rm -rf conftest*
5449
 
  ;;
5450
 
*-*-irix6*)
5451
 
  # Find out which ABI we are using.
5452
 
  echo '#line 5452 "configure"' > conftest.$ac_ext
5453
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5454
 
  (eval $ac_compile) 2>&5
5455
 
  ac_status=$?
5456
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5457
 
  (exit $ac_status); }; then
5458
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
5459
 
    case `/usr/bin/file conftest.$ac_objext` in
5460
 
    *32-bit*)
5461
 
      LD="${LD-ld} -melf32bsmip"
5462
 
      ;;
5463
 
    *N32*)
5464
 
      LD="${LD-ld} -melf32bmipn32"
5465
 
      ;;
5466
 
    *64-bit*)
5467
 
      LD="${LD-ld} -melf64bmip"
5468
 
      ;;
5469
 
    esac
5470
 
   else
5471
 
    case `/usr/bin/file conftest.$ac_objext` in
5472
 
    *32-bit*)
5473
 
      LD="${LD-ld} -32"
5474
 
      ;;
5475
 
    *N32*)
5476
 
      LD="${LD-ld} -n32"
5477
 
      ;;
5478
 
    *64-bit*)
5479
 
      LD="${LD-ld} -64"
5480
 
      ;;
5481
 
    esac
5482
 
   fi
5483
 
  fi
5484
 
  rm -rf conftest*
5485
 
  ;;
5486
 
 
5487
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5488
 
s390*-*linux*|sparc*-*linux*)
5489
 
  # Find out which ABI we are using.
5490
 
  echo 'int i;' > conftest.$ac_ext
5491
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5492
 
  (eval $ac_compile) 2>&5
5493
 
  ac_status=$?
5494
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5495
 
  (exit $ac_status); }; then
5496
 
    case `/usr/bin/file conftest.o` in
5497
 
    *32-bit*)
5498
 
      case $host in
5499
 
        x86_64-*kfreebsd*-gnu)
5500
 
          LD="${LD-ld} -m elf_i386_fbsd"
5501
 
          ;;
5502
 
        x86_64-*linux*)
5503
 
          LD="${LD-ld} -m elf_i386"
5504
 
          ;;
5505
 
        ppc64-*linux*|powerpc64-*linux*)
5506
 
          LD="${LD-ld} -m elf32ppclinux"
5507
 
          ;;
5508
 
        s390x-*linux*)
5509
 
          LD="${LD-ld} -m elf_s390"
5510
 
          ;;
5511
 
        sparc64-*linux*)
5512
 
          LD="${LD-ld} -m elf32_sparc"
5513
 
          ;;
5514
 
      esac
5515
 
      ;;
5516
 
    *64-bit*)
5517
 
      case $host in
5518
 
        x86_64-*kfreebsd*-gnu)
5519
 
          LD="${LD-ld} -m elf_x86_64_fbsd"
5520
 
          ;;
5521
 
        x86_64-*linux*)
5522
 
          LD="${LD-ld} -m elf_x86_64"
5523
 
          ;;
5524
 
        ppc*-*linux*|powerpc*-*linux*)
5525
 
          LD="${LD-ld} -m elf64ppc"
5526
 
          ;;
5527
 
        s390*-*linux*)
5528
 
          LD="${LD-ld} -m elf64_s390"
5529
 
          ;;
5530
 
        sparc*-*linux*)
5531
 
          LD="${LD-ld} -m elf64_sparc"
5532
 
          ;;
5533
 
      esac
5534
 
      ;;
5535
 
    esac
5536
 
  fi
5537
 
  rm -rf conftest*
5538
 
  ;;
5539
 
 
5540
 
*-*-sco3.2v5*)
5541
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5542
 
  SAVE_CFLAGS="$CFLAGS"
5543
 
  CFLAGS="$CFLAGS -belf"
5544
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5545
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5546
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
5547
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5548
 
else
5549
 
  ac_ext=c
5550
 
ac_cpp='$CPP $CPPFLAGS'
5551
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5552
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5553
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5554
 
 
5555
 
     cat >conftest.$ac_ext <<_ACEOF
5556
 
/* confdefs.h.  */
5557
 
_ACEOF
5558
 
cat confdefs.h >>conftest.$ac_ext
5559
 
cat >>conftest.$ac_ext <<_ACEOF
5560
 
/* end confdefs.h.  */
5561
 
 
5562
 
int
5563
 
main ()
5564
 
{
5565
 
 
5566
 
  ;
5567
 
  return 0;
5568
 
}
5569
 
_ACEOF
5570
 
rm -f conftest.$ac_objext conftest$ac_exeext
5571
 
if { (ac_try="$ac_link"
5572
 
case "(($ac_try" in
5573
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5574
 
  *) ac_try_echo=$ac_try;;
5575
 
esac
5576
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5577
 
  (eval "$ac_link") 2>conftest.er1
5578
 
  ac_status=$?
5579
 
  grep -v '^ *+' conftest.er1 >conftest.err
5580
 
  rm -f conftest.er1
5581
 
  cat conftest.err >&5
5582
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5583
 
  (exit $ac_status); } && {
5584
 
         test -z "$ac_c_werror_flag" ||
5585
 
         test ! -s conftest.err
5586
 
       } && test -s conftest$ac_exeext &&
5587
 
       $as_test_x conftest$ac_exeext; then
5588
 
  lt_cv_cc_needs_belf=yes
5589
 
else
5590
 
  echo "$as_me: failed program was:" >&5
5591
 
sed 's/^/| /' conftest.$ac_ext >&5
5592
 
 
5593
 
        lt_cv_cc_needs_belf=no
5594
 
fi
5595
 
 
5596
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5597
 
      conftest$ac_exeext conftest.$ac_ext
5598
 
     ac_ext=c
5599
 
ac_cpp='$CPP $CPPFLAGS'
5600
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5601
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5602
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5603
 
 
5604
 
fi
5605
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5606
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5607
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5608
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5609
 
    CFLAGS="$SAVE_CFLAGS"
5610
 
  fi
5611
 
  ;;
5612
 
sparc*-*solaris*)
5613
 
  # Find out which ABI we are using.
5614
 
  echo 'int i;' > conftest.$ac_ext
5615
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5616
 
  (eval $ac_compile) 2>&5
5617
 
  ac_status=$?
5618
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5619
 
  (exit $ac_status); }; then
5620
 
    case `/usr/bin/file conftest.o` in
5621
 
    *64-bit*)
5622
 
      case $lt_cv_prog_gnu_ld in
5623
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
5624
 
      *)    LD="${LD-ld} -64" ;;
5625
 
      esac
5626
 
      ;;
5627
 
    esac
5628
 
  fi
5629
 
  rm -rf conftest*
5630
 
  ;;
5631
 
 
5632
 
 
5633
 
esac
5634
 
 
5635
 
need_locks="$enable_libtool_lock"
5636
 
 
5637
 
 
5638
 
ac_ext=c
5639
 
ac_cpp='$CPP $CPPFLAGS'
5640
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5641
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5642
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5643
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5644
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5645
 
# On Suns, sometimes $CPP names a directory.
5646
 
if test -n "$CPP" && test -d "$CPP"; then
5647
 
  CPP=
5648
 
fi
5649
 
if test -z "$CPP"; then
5650
 
  if test "${ac_cv_prog_CPP+set}" = set; then
5651
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5652
 
else
5653
 
      # Double quotes because CPP needs to be expanded
5654
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5655
 
    do
5656
 
      ac_preproc_ok=false
5657
 
for ac_c_preproc_warn_flag in '' yes
5658
 
do
5659
 
  # Use a header file that comes with gcc, so configuring glibc
5660
 
  # with a fresh cross-compiler works.
5661
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5662
 
  # <limits.h> exists even on freestanding compilers.
5663
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5664
 
  # not just through cpp. "Syntax error" is here to catch this case.
5665
 
  cat >conftest.$ac_ext <<_ACEOF
5666
 
/* confdefs.h.  */
5667
 
_ACEOF
5668
 
cat confdefs.h >>conftest.$ac_ext
5669
 
cat >>conftest.$ac_ext <<_ACEOF
5670
 
/* end confdefs.h.  */
5671
 
#ifdef __STDC__
5672
 
# include <limits.h>
5673
 
#else
5674
 
# include <assert.h>
5675
 
#endif
5676
 
                     Syntax error
5677
 
_ACEOF
5678
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5679
 
case "(($ac_try" in
5680
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5681
 
  *) ac_try_echo=$ac_try;;
5682
 
esac
5683
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5684
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5685
 
  ac_status=$?
5686
 
  grep -v '^ *+' conftest.er1 >conftest.err
5687
 
  rm -f conftest.er1
5688
 
  cat conftest.err >&5
5689
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5690
 
  (exit $ac_status); } >/dev/null && {
5691
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5692
 
         test ! -s conftest.err
5693
 
       }; then
5694
 
  :
5695
 
else
5696
 
  echo "$as_me: failed program was:" >&5
5697
 
sed 's/^/| /' conftest.$ac_ext >&5
5698
 
 
5699
 
  # Broken: fails on valid input.
5700
 
continue
5701
 
fi
5702
 
 
5703
 
rm -f conftest.err conftest.$ac_ext
5704
 
 
5705
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5706
 
  # can be detected and how.
5707
 
  cat >conftest.$ac_ext <<_ACEOF
5708
 
/* confdefs.h.  */
5709
 
_ACEOF
5710
 
cat confdefs.h >>conftest.$ac_ext
5711
 
cat >>conftest.$ac_ext <<_ACEOF
5712
 
/* end confdefs.h.  */
5713
 
#include <ac_nonexistent.h>
5714
 
_ACEOF
5715
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5716
 
case "(($ac_try" in
5717
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5718
 
  *) ac_try_echo=$ac_try;;
5719
 
esac
5720
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5721
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5722
 
  ac_status=$?
5723
 
  grep -v '^ *+' conftest.er1 >conftest.err
5724
 
  rm -f conftest.er1
5725
 
  cat conftest.err >&5
5726
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5727
 
  (exit $ac_status); } >/dev/null && {
5728
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5729
 
         test ! -s conftest.err
5730
 
       }; then
5731
 
  # Broken: success on invalid input.
5732
 
continue
5733
 
else
5734
 
  echo "$as_me: failed program was:" >&5
5735
 
sed 's/^/| /' conftest.$ac_ext >&5
5736
 
 
5737
 
  # Passes both tests.
5738
 
ac_preproc_ok=:
5739
 
break
5740
 
fi
5741
 
 
5742
 
rm -f conftest.err conftest.$ac_ext
5743
 
 
5744
 
done
5745
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5746
 
rm -f conftest.err conftest.$ac_ext
5747
 
if $ac_preproc_ok; then
5748
 
  break
5749
 
fi
5750
 
 
5751
 
    done
5752
 
    ac_cv_prog_CPP=$CPP
5753
 
 
5754
 
fi
5755
 
  CPP=$ac_cv_prog_CPP
5756
 
else
5757
 
  ac_cv_prog_CPP=$CPP
5758
 
fi
5759
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
5760
 
echo "${ECHO_T}$CPP" >&6; }
5761
 
ac_preproc_ok=false
5762
 
for ac_c_preproc_warn_flag in '' yes
5763
 
do
5764
 
  # Use a header file that comes with gcc, so configuring glibc
5765
 
  # with a fresh cross-compiler works.
5766
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5767
 
  # <limits.h> exists even on freestanding compilers.
5768
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5769
 
  # not just through cpp. "Syntax error" is here to catch this case.
5770
 
  cat >conftest.$ac_ext <<_ACEOF
5771
 
/* confdefs.h.  */
5772
 
_ACEOF
5773
 
cat confdefs.h >>conftest.$ac_ext
5774
 
cat >>conftest.$ac_ext <<_ACEOF
5775
 
/* end confdefs.h.  */
5776
 
#ifdef __STDC__
5777
 
# include <limits.h>
5778
 
#else
5779
 
# include <assert.h>
5780
 
#endif
5781
 
                     Syntax error
5782
 
_ACEOF
5783
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5784
 
case "(($ac_try" in
5785
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5786
 
  *) ac_try_echo=$ac_try;;
5787
 
esac
5788
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5789
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5790
 
  ac_status=$?
5791
 
  grep -v '^ *+' conftest.er1 >conftest.err
5792
 
  rm -f conftest.er1
5793
 
  cat conftest.err >&5
5794
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5795
 
  (exit $ac_status); } >/dev/null && {
5796
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5797
 
         test ! -s conftest.err
5798
 
       }; then
5799
 
  :
5800
 
else
5801
 
  echo "$as_me: failed program was:" >&5
5802
 
sed 's/^/| /' conftest.$ac_ext >&5
5803
 
 
5804
 
  # Broken: fails on valid input.
5805
 
continue
5806
 
fi
5807
 
 
5808
 
rm -f conftest.err conftest.$ac_ext
5809
 
 
5810
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5811
 
  # can be detected and how.
5812
 
  cat >conftest.$ac_ext <<_ACEOF
5813
 
/* confdefs.h.  */
5814
 
_ACEOF
5815
 
cat confdefs.h >>conftest.$ac_ext
5816
 
cat >>conftest.$ac_ext <<_ACEOF
5817
 
/* end confdefs.h.  */
5818
 
#include <ac_nonexistent.h>
5819
 
_ACEOF
5820
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5821
 
case "(($ac_try" in
5822
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5823
 
  *) ac_try_echo=$ac_try;;
5824
 
esac
5825
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5826
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5827
 
  ac_status=$?
5828
 
  grep -v '^ *+' conftest.er1 >conftest.err
5829
 
  rm -f conftest.er1
5830
 
  cat conftest.err >&5
5831
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5832
 
  (exit $ac_status); } >/dev/null && {
5833
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5834
 
         test ! -s conftest.err
5835
 
       }; then
5836
 
  # Broken: success on invalid input.
5837
 
continue
5838
 
else
5839
 
  echo "$as_me: failed program was:" >&5
5840
 
sed 's/^/| /' conftest.$ac_ext >&5
5841
 
 
5842
 
  # Passes both tests.
5843
 
ac_preproc_ok=:
5844
 
break
5845
 
fi
5846
 
 
5847
 
rm -f conftest.err conftest.$ac_ext
5848
 
 
5849
 
done
5850
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5851
 
rm -f conftest.err conftest.$ac_ext
5852
 
if $ac_preproc_ok; then
5853
 
  :
5854
 
else
5855
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5856
 
See \`config.log' for more details." >&5
5857
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5858
 
See \`config.log' for more details." >&2;}
5859
 
   { (exit 1); exit 1; }; }
5860
 
fi
5861
 
 
5862
 
ac_ext=c
5863
 
ac_cpp='$CPP $CPPFLAGS'
5864
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5865
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5866
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5867
 
 
5868
 
 
5869
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5870
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5871
 
if test "${ac_cv_header_stdc+set}" = set; then
5872
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5873
 
else
5874
 
  cat >conftest.$ac_ext <<_ACEOF
5875
 
/* confdefs.h.  */
5876
 
_ACEOF
5877
 
cat confdefs.h >>conftest.$ac_ext
5878
 
cat >>conftest.$ac_ext <<_ACEOF
5879
 
/* end confdefs.h.  */
5880
 
#include <stdlib.h>
5881
 
#include <stdarg.h>
5882
 
#include <string.h>
5883
 
#include <float.h>
5884
 
 
5885
 
int
5886
 
main ()
5887
 
{
5888
 
 
5889
 
  ;
5890
 
  return 0;
5891
 
}
5892
 
_ACEOF
5893
 
rm -f conftest.$ac_objext
5894
 
if { (ac_try="$ac_compile"
5895
 
case "(($ac_try" in
5896
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5897
 
  *) ac_try_echo=$ac_try;;
5898
 
esac
5899
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5900
 
  (eval "$ac_compile") 2>conftest.er1
5901
 
  ac_status=$?
5902
 
  grep -v '^ *+' conftest.er1 >conftest.err
5903
 
  rm -f conftest.er1
5904
 
  cat conftest.err >&5
5905
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5906
 
  (exit $ac_status); } && {
5907
 
         test -z "$ac_c_werror_flag" ||
5908
 
         test ! -s conftest.err
5909
 
       } && test -s conftest.$ac_objext; then
5910
 
  ac_cv_header_stdc=yes
5911
 
else
5912
 
  echo "$as_me: failed program was:" >&5
5913
 
sed 's/^/| /' conftest.$ac_ext >&5
5914
 
 
5915
 
        ac_cv_header_stdc=no
5916
 
fi
5917
 
 
5918
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5919
 
 
5920
 
if test $ac_cv_header_stdc = yes; then
5921
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5922
 
  cat >conftest.$ac_ext <<_ACEOF
5923
 
/* confdefs.h.  */
5924
 
_ACEOF
5925
 
cat confdefs.h >>conftest.$ac_ext
5926
 
cat >>conftest.$ac_ext <<_ACEOF
5927
 
/* end confdefs.h.  */
5928
 
#include <string.h>
5929
 
 
5930
 
_ACEOF
5931
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5932
 
  $EGREP "memchr" >/dev/null 2>&1; then
5933
 
  :
5934
 
else
5935
 
  ac_cv_header_stdc=no
5936
 
fi
5937
 
rm -f conftest*
5938
 
 
5939
 
fi
5940
 
 
5941
 
if test $ac_cv_header_stdc = yes; then
5942
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5943
 
  cat >conftest.$ac_ext <<_ACEOF
5944
 
/* confdefs.h.  */
5945
 
_ACEOF
5946
 
cat confdefs.h >>conftest.$ac_ext
5947
 
cat >>conftest.$ac_ext <<_ACEOF
5948
 
/* end confdefs.h.  */
5949
 
#include <stdlib.h>
5950
 
 
5951
 
_ACEOF
5952
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5953
 
  $EGREP "free" >/dev/null 2>&1; then
5954
 
  :
5955
 
else
5956
 
  ac_cv_header_stdc=no
5957
 
fi
5958
 
rm -f conftest*
5959
 
 
5960
 
fi
5961
 
 
5962
 
if test $ac_cv_header_stdc = yes; then
5963
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5964
 
  if test "$cross_compiling" = yes; then
5965
 
  :
5966
 
else
5967
 
  cat >conftest.$ac_ext <<_ACEOF
5968
 
/* confdefs.h.  */
5969
 
_ACEOF
5970
 
cat confdefs.h >>conftest.$ac_ext
5971
 
cat >>conftest.$ac_ext <<_ACEOF
5972
 
/* end confdefs.h.  */
5973
 
#include <ctype.h>
5974
 
#include <stdlib.h>
5975
 
#if ((' ' & 0x0FF) == 0x020)
5976
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5977
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5978
 
#else
5979
 
# define ISLOWER(c) \
5980
 
                   (('a' <= (c) && (c) <= 'i') \
5981
 
                     || ('j' <= (c) && (c) <= 'r') \
5982
 
                     || ('s' <= (c) && (c) <= 'z'))
5983
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5984
 
#endif
5985
 
 
5986
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5987
 
int
5988
 
main ()
5989
 
{
5990
 
  int i;
5991
 
  for (i = 0; i < 256; i++)
5992
 
    if (XOR (islower (i), ISLOWER (i))
5993
 
        || toupper (i) != TOUPPER (i))
5994
 
      return 2;
5995
 
  return 0;
5996
 
}
5997
 
_ACEOF
5998
 
rm -f conftest$ac_exeext
5999
 
if { (ac_try="$ac_link"
6000
 
case "(($ac_try" in
6001
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6002
 
  *) ac_try_echo=$ac_try;;
6003
 
esac
6004
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6005
 
  (eval "$ac_link") 2>&5
6006
 
  ac_status=$?
6007
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6008
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6009
 
  { (case "(($ac_try" in
6010
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6011
 
  *) ac_try_echo=$ac_try;;
6012
 
esac
6013
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6014
 
  (eval "$ac_try") 2>&5
6015
 
  ac_status=$?
6016
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6017
 
  (exit $ac_status); }; }; then
6018
 
  :
6019
 
else
6020
 
  echo "$as_me: program exited with status $ac_status" >&5
6021
 
echo "$as_me: failed program was:" >&5
6022
 
sed 's/^/| /' conftest.$ac_ext >&5
6023
 
 
6024
 
( exit $ac_status )
6025
 
ac_cv_header_stdc=no
6026
 
fi
6027
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6028
 
fi
6029
 
 
6030
 
 
6031
 
fi
6032
 
fi
6033
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6034
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6035
 
if test $ac_cv_header_stdc = yes; then
6036
 
 
6037
 
cat >>confdefs.h <<\_ACEOF
6038
 
#define STDC_HEADERS 1
6039
 
_ACEOF
6040
 
 
6041
 
fi
6042
 
 
6043
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6044
 
 
6045
 
 
6046
 
 
6047
 
 
6048
 
 
6049
 
 
6050
 
 
6051
 
 
6052
 
 
6053
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6054
 
                  inttypes.h stdint.h unistd.h
6055
 
do
6056
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6057
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6058
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6059
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6060
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6061
 
else
6062
 
  cat >conftest.$ac_ext <<_ACEOF
6063
 
/* confdefs.h.  */
6064
 
_ACEOF
6065
 
cat confdefs.h >>conftest.$ac_ext
6066
 
cat >>conftest.$ac_ext <<_ACEOF
6067
 
/* end confdefs.h.  */
6068
 
$ac_includes_default
6069
 
 
6070
 
#include <$ac_header>
6071
 
_ACEOF
6072
 
rm -f conftest.$ac_objext
6073
 
if { (ac_try="$ac_compile"
6074
 
case "(($ac_try" in
6075
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6076
 
  *) ac_try_echo=$ac_try;;
6077
 
esac
6078
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6079
 
  (eval "$ac_compile") 2>conftest.er1
6080
 
  ac_status=$?
6081
 
  grep -v '^ *+' conftest.er1 >conftest.err
6082
 
  rm -f conftest.er1
6083
 
  cat conftest.err >&5
6084
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6085
 
  (exit $ac_status); } && {
6086
 
         test -z "$ac_c_werror_flag" ||
6087
 
         test ! -s conftest.err
6088
 
       } && test -s conftest.$ac_objext; then
6089
 
  eval "$as_ac_Header=yes"
6090
 
else
6091
 
  echo "$as_me: failed program was:" >&5
6092
 
sed 's/^/| /' conftest.$ac_ext >&5
6093
 
 
6094
 
        eval "$as_ac_Header=no"
6095
 
fi
6096
 
 
6097
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6098
 
fi
6099
 
ac_res=`eval echo '${'$as_ac_Header'}'`
6100
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6101
 
echo "${ECHO_T}$ac_res" >&6; }
6102
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6103
 
  cat >>confdefs.h <<_ACEOF
6104
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6105
 
_ACEOF
6106
 
 
6107
 
fi
6108
 
 
6109
 
done
6110
 
 
6111
 
 
6112
 
 
6113
 
for ac_header in dlfcn.h
6114
 
do
6115
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6116
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6117
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
6118
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6119
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6120
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6121
 
fi
6122
 
ac_res=`eval echo '${'$as_ac_Header'}'`
6123
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6124
 
echo "${ECHO_T}$ac_res" >&6; }
6125
 
else
6126
 
  # Is the header compilable?
6127
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6128
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6129
 
cat >conftest.$ac_ext <<_ACEOF
6130
 
/* confdefs.h.  */
6131
 
_ACEOF
6132
 
cat confdefs.h >>conftest.$ac_ext
6133
 
cat >>conftest.$ac_ext <<_ACEOF
6134
 
/* end confdefs.h.  */
6135
 
$ac_includes_default
6136
 
#include <$ac_header>
6137
 
_ACEOF
6138
 
rm -f conftest.$ac_objext
6139
 
if { (ac_try="$ac_compile"
6140
 
case "(($ac_try" in
6141
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6142
 
  *) ac_try_echo=$ac_try;;
6143
 
esac
6144
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6145
 
  (eval "$ac_compile") 2>conftest.er1
6146
 
  ac_status=$?
6147
 
  grep -v '^ *+' conftest.er1 >conftest.err
6148
 
  rm -f conftest.er1
6149
 
  cat conftest.err >&5
6150
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6151
 
  (exit $ac_status); } && {
6152
 
         test -z "$ac_c_werror_flag" ||
6153
 
         test ! -s conftest.err
6154
 
       } && test -s conftest.$ac_objext; then
6155
 
  ac_header_compiler=yes
6156
 
else
6157
 
  echo "$as_me: failed program was:" >&5
6158
 
sed 's/^/| /' conftest.$ac_ext >&5
6159
 
 
6160
 
        ac_header_compiler=no
6161
 
fi
6162
 
 
6163
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6164
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6165
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
6166
 
 
6167
 
# Is the header present?
6168
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6169
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6170
 
cat >conftest.$ac_ext <<_ACEOF
6171
 
/* confdefs.h.  */
6172
 
_ACEOF
6173
 
cat confdefs.h >>conftest.$ac_ext
6174
 
cat >>conftest.$ac_ext <<_ACEOF
6175
 
/* end confdefs.h.  */
6176
 
#include <$ac_header>
6177
 
_ACEOF
6178
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6179
 
case "(($ac_try" in
6180
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6181
 
  *) ac_try_echo=$ac_try;;
6182
 
esac
6183
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6184
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6185
 
  ac_status=$?
6186
 
  grep -v '^ *+' conftest.er1 >conftest.err
6187
 
  rm -f conftest.er1
6188
 
  cat conftest.err >&5
6189
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6190
 
  (exit $ac_status); } >/dev/null && {
6191
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6192
 
         test ! -s conftest.err
6193
 
       }; then
6194
 
  ac_header_preproc=yes
6195
 
else
6196
 
  echo "$as_me: failed program was:" >&5
6197
 
sed 's/^/| /' conftest.$ac_ext >&5
6198
 
 
6199
 
  ac_header_preproc=no
6200
 
fi
6201
 
 
6202
 
rm -f conftest.err conftest.$ac_ext
6203
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6204
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
6205
 
 
6206
 
# So?  What about this header?
6207
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6208
 
  yes:no: )
6209
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6210
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6211
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6212
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6213
 
    ac_header_preproc=yes
6214
 
    ;;
6215
 
  no:yes:* )
6216
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6217
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6218
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6219
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6220
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6221
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6222
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6223
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6224
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6225
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6226
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6227
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6228
 
 
6229
 
    ;;
6230
 
esac
6231
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6232
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6233
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6234
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6235
 
else
6236
 
  eval "$as_ac_Header=\$ac_header_preproc"
6237
 
fi
6238
 
ac_res=`eval echo '${'$as_ac_Header'}'`
6239
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6240
 
echo "${ECHO_T}$ac_res" >&6; }
6241
 
 
6242
 
fi
6243
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6244
 
  cat >>confdefs.h <<_ACEOF
6245
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6246
 
_ACEOF
6247
 
 
6248
 
fi
6249
 
 
6250
 
done
6251
 
 
6252
 
ac_ext=cpp
6253
 
ac_cpp='$CXXCPP $CPPFLAGS'
6254
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6255
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6256
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6257
 
if test -z "$CXX"; then
6258
 
  if test -n "$CCC"; then
6259
 
    CXX=$CCC
6260
 
  else
6261
 
    if test -n "$ac_tool_prefix"; then
6262
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6263
 
  do
6264
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6265
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6266
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6267
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6268
 
if test "${ac_cv_prog_CXX+set}" = set; then
6269
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6270
 
else
6271
 
  if test -n "$CXX"; then
6272
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
6273
 
else
6274
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6275
 
for as_dir in $PATH
6276
 
do
6277
 
  IFS=$as_save_IFS
6278
 
  test -z "$as_dir" && as_dir=.
6279
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6280
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6281
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6282
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6283
 
    break 2
6284
 
  fi
6285
 
done
6286
 
done
6287
 
IFS=$as_save_IFS
6288
 
 
6289
 
fi
6290
 
fi
6291
 
CXX=$ac_cv_prog_CXX
6292
 
if test -n "$CXX"; then
6293
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
6294
 
echo "${ECHO_T}$CXX" >&6; }
6295
 
else
6296
 
  { echo "$as_me:$LINENO: result: no" >&5
6297
 
echo "${ECHO_T}no" >&6; }
6298
 
fi
6299
 
 
6300
 
 
6301
 
    test -n "$CXX" && break
6302
 
  done
6303
 
fi
6304
 
if test -z "$CXX"; then
6305
 
  ac_ct_CXX=$CXX
6306
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6307
 
do
6308
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6309
 
set dummy $ac_prog; ac_word=$2
6310
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6311
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6312
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6313
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6314
 
else
6315
 
  if test -n "$ac_ct_CXX"; then
6316
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6317
 
else
6318
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6319
 
for as_dir in $PATH
6320
 
do
6321
 
  IFS=$as_save_IFS
6322
 
  test -z "$as_dir" && as_dir=.
6323
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6324
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6325
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
6326
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6327
 
    break 2
6328
 
  fi
6329
 
done
6330
 
done
6331
 
IFS=$as_save_IFS
6332
 
 
6333
 
fi
6334
 
fi
6335
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6336
 
if test -n "$ac_ct_CXX"; then
6337
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6338
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
6339
 
else
6340
 
  { echo "$as_me:$LINENO: result: no" >&5
6341
 
echo "${ECHO_T}no" >&6; }
6342
 
fi
6343
 
 
6344
 
 
6345
 
  test -n "$ac_ct_CXX" && break
6346
 
done
6347
 
 
6348
 
  if test "x$ac_ct_CXX" = x; then
6349
 
    CXX="g++"
6350
 
  else
6351
 
    case $cross_compiling:$ac_tool_warned in
6352
 
yes:)
6353
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6354
 
whose name does not start with the host triplet.  If you think this
6355
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6356
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6357
 
whose name does not start with the host triplet.  If you think this
6358
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6359
 
ac_tool_warned=yes ;;
6360
 
esac
6361
 
    CXX=$ac_ct_CXX
6362
 
  fi
6363
 
fi
6364
 
 
6365
 
  fi
6366
 
fi
6367
 
# Provide some information about the compiler.
6368
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6369
 
ac_compiler=`set X $ac_compile; echo $2`
6370
 
{ (ac_try="$ac_compiler --version >&5"
6371
 
case "(($ac_try" in
6372
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6373
 
  *) ac_try_echo=$ac_try;;
6374
 
esac
6375
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6376
 
  (eval "$ac_compiler --version >&5") 2>&5
6377
 
  ac_status=$?
6378
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6379
 
  (exit $ac_status); }
6380
 
{ (ac_try="$ac_compiler -v >&5"
6381
 
case "(($ac_try" in
6382
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6383
 
  *) ac_try_echo=$ac_try;;
6384
 
esac
6385
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6386
 
  (eval "$ac_compiler -v >&5") 2>&5
6387
 
  ac_status=$?
6388
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6389
 
  (exit $ac_status); }
6390
 
{ (ac_try="$ac_compiler -V >&5"
6391
 
case "(($ac_try" in
6392
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6393
 
  *) ac_try_echo=$ac_try;;
6394
 
esac
6395
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6396
 
  (eval "$ac_compiler -V >&5") 2>&5
6397
 
  ac_status=$?
6398
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6399
 
  (exit $ac_status); }
6400
 
 
6401
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6402
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
6403
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6404
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6405
 
else
6406
 
  cat >conftest.$ac_ext <<_ACEOF
6407
 
/* confdefs.h.  */
6408
 
_ACEOF
6409
 
cat confdefs.h >>conftest.$ac_ext
6410
 
cat >>conftest.$ac_ext <<_ACEOF
6411
 
/* end confdefs.h.  */
6412
 
 
6413
 
int
6414
 
main ()
6415
 
{
6416
 
#ifndef __GNUC__
6417
 
       choke me
6418
 
#endif
6419
 
 
6420
 
  ;
6421
 
  return 0;
6422
 
}
6423
 
_ACEOF
6424
 
rm -f conftest.$ac_objext
6425
 
if { (ac_try="$ac_compile"
6426
 
case "(($ac_try" in
6427
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6428
 
  *) ac_try_echo=$ac_try;;
6429
 
esac
6430
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6431
 
  (eval "$ac_compile") 2>conftest.er1
6432
 
  ac_status=$?
6433
 
  grep -v '^ *+' conftest.er1 >conftest.err
6434
 
  rm -f conftest.er1
6435
 
  cat conftest.err >&5
6436
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6437
 
  (exit $ac_status); } && {
6438
 
         test -z "$ac_cxx_werror_flag" ||
6439
 
         test ! -s conftest.err
6440
 
       } && test -s conftest.$ac_objext; then
6441
 
  ac_compiler_gnu=yes
6442
 
else
6443
 
  echo "$as_me: failed program was:" >&5
6444
 
sed 's/^/| /' conftest.$ac_ext >&5
6445
 
 
6446
 
        ac_compiler_gnu=no
6447
 
fi
6448
 
 
6449
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6450
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6451
 
 
6452
 
fi
6453
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6454
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
6455
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
6456
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
6457
 
ac_save_CXXFLAGS=$CXXFLAGS
6458
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6459
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
6460
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
6461
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6462
 
else
6463
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6464
 
   ac_cxx_werror_flag=yes
6465
 
   ac_cv_prog_cxx_g=no
6466
 
   CXXFLAGS="-g"
6467
 
   cat >conftest.$ac_ext <<_ACEOF
6468
 
/* confdefs.h.  */
6469
 
_ACEOF
6470
 
cat confdefs.h >>conftest.$ac_ext
6471
 
cat >>conftest.$ac_ext <<_ACEOF
6472
 
/* end confdefs.h.  */
6473
 
 
6474
 
int
6475
 
main ()
6476
 
{
6477
 
 
6478
 
  ;
6479
 
  return 0;
6480
 
}
6481
 
_ACEOF
6482
 
rm -f conftest.$ac_objext
6483
 
if { (ac_try="$ac_compile"
6484
 
case "(($ac_try" in
6485
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6486
 
  *) ac_try_echo=$ac_try;;
6487
 
esac
6488
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6489
 
  (eval "$ac_compile") 2>conftest.er1
6490
 
  ac_status=$?
6491
 
  grep -v '^ *+' conftest.er1 >conftest.err
6492
 
  rm -f conftest.er1
6493
 
  cat conftest.err >&5
6494
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495
 
  (exit $ac_status); } && {
6496
 
         test -z "$ac_cxx_werror_flag" ||
6497
 
         test ! -s conftest.err
6498
 
       } && test -s conftest.$ac_objext; then
6499
 
  ac_cv_prog_cxx_g=yes
6500
 
else
6501
 
  echo "$as_me: failed program was:" >&5
6502
 
sed 's/^/| /' conftest.$ac_ext >&5
6503
 
 
6504
 
        CXXFLAGS=""
6505
 
      cat >conftest.$ac_ext <<_ACEOF
6506
 
/* confdefs.h.  */
6507
 
_ACEOF
6508
 
cat confdefs.h >>conftest.$ac_ext
6509
 
cat >>conftest.$ac_ext <<_ACEOF
6510
 
/* end confdefs.h.  */
6511
 
 
6512
 
int
6513
 
main ()
6514
 
{
6515
 
 
6516
 
  ;
6517
 
  return 0;
6518
 
}
6519
 
_ACEOF
6520
 
rm -f conftest.$ac_objext
6521
 
if { (ac_try="$ac_compile"
6522
 
case "(($ac_try" in
6523
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6524
 
  *) ac_try_echo=$ac_try;;
6525
 
esac
6526
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6527
 
  (eval "$ac_compile") 2>conftest.er1
6528
 
  ac_status=$?
6529
 
  grep -v '^ *+' conftest.er1 >conftest.err
6530
 
  rm -f conftest.er1
6531
 
  cat conftest.err >&5
6532
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6533
 
  (exit $ac_status); } && {
6534
 
         test -z "$ac_cxx_werror_flag" ||
6535
 
         test ! -s conftest.err
6536
 
       } && test -s conftest.$ac_objext; then
6537
 
  :
6538
 
else
6539
 
  echo "$as_me: failed program was:" >&5
6540
 
sed 's/^/| /' conftest.$ac_ext >&5
6541
 
 
6542
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6543
 
         CXXFLAGS="-g"
6544
 
         cat >conftest.$ac_ext <<_ACEOF
6545
 
/* confdefs.h.  */
6546
 
_ACEOF
6547
 
cat confdefs.h >>conftest.$ac_ext
6548
 
cat >>conftest.$ac_ext <<_ACEOF
6549
 
/* end confdefs.h.  */
6550
 
 
6551
 
int
6552
 
main ()
6553
 
{
6554
 
 
6555
 
  ;
6556
 
  return 0;
6557
 
}
6558
 
_ACEOF
6559
 
rm -f conftest.$ac_objext
6560
 
if { (ac_try="$ac_compile"
6561
 
case "(($ac_try" in
6562
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6563
 
  *) ac_try_echo=$ac_try;;
6564
 
esac
6565
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6566
 
  (eval "$ac_compile") 2>conftest.er1
6567
 
  ac_status=$?
6568
 
  grep -v '^ *+' conftest.er1 >conftest.err
6569
 
  rm -f conftest.er1
6570
 
  cat conftest.err >&5
6571
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6572
 
  (exit $ac_status); } && {
6573
 
         test -z "$ac_cxx_werror_flag" ||
6574
 
         test ! -s conftest.err
6575
 
       } && test -s conftest.$ac_objext; then
6576
 
  ac_cv_prog_cxx_g=yes
6577
 
else
6578
 
  echo "$as_me: failed program was:" >&5
6579
 
sed 's/^/| /' conftest.$ac_ext >&5
6580
 
 
6581
 
 
6582
 
fi
6583
 
 
6584
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6585
 
fi
6586
 
 
6587
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6588
 
fi
6589
 
 
6590
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6591
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6592
 
fi
6593
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6594
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6595
 
if test "$ac_test_CXXFLAGS" = set; then
6596
 
  CXXFLAGS=$ac_save_CXXFLAGS
6597
 
elif test $ac_cv_prog_cxx_g = yes; then
6598
 
  if test "$GXX" = yes; then
6599
 
    CXXFLAGS="-g -O2"
6600
 
  else
6601
 
    CXXFLAGS="-g"
6602
 
  fi
6603
 
else
6604
 
  if test "$GXX" = yes; then
6605
 
    CXXFLAGS="-O2"
6606
 
  else
6607
 
    CXXFLAGS=
6608
 
  fi
6609
 
fi
6610
 
ac_ext=cpp
6611
 
ac_cpp='$CXXCPP $CPPFLAGS'
6612
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6613
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6614
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6615
 
 
6616
 
depcc="$CXX"  am_compiler_list=
6617
 
 
6618
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6619
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
6620
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6621
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6622
 
else
6623
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6624
 
  # We make a subdir and do the tests there.  Otherwise we can end up
6625
 
  # making bogus files that we don't know about and never remove.  For
6626
 
  # instance it was reported that on HP-UX the gcc test will end up
6627
 
  # making a dummy file named `D' -- because `-MD' means `put the output
6628
 
  # in D'.
6629
 
  mkdir conftest.dir
6630
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
6631
 
  # using a relative directory.
6632
 
  cp "$am_depcomp" conftest.dir
6633
 
  cd conftest.dir
6634
 
  # We will build objects and dependencies in a subdirectory because
6635
 
  # it helps to detect inapplicable dependency modes.  For instance
6636
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
6637
 
  # side effect of compilation, but ICC will put the dependencies in
6638
 
  # the current directory while Tru64 will put them in the object
6639
 
  # directory.
6640
 
  mkdir sub
6641
 
 
6642
 
  am_cv_CXX_dependencies_compiler_type=none
6643
 
  if test "$am_compiler_list" = ""; then
6644
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6645
 
  fi
6646
 
  for depmode in $am_compiler_list; do
6647
 
    # Setup a source with many dependencies, because some compilers
6648
 
    # like to wrap large dependency lists on column 80 (with \), and
6649
 
    # we should not choose a depcomp mode which is confused by this.
6650
 
    #
6651
 
    # We need to recreate these files for each test, as the compiler may
6652
 
    # overwrite some of them when testing with obscure command lines.
6653
 
    # This happens at least with the AIX C compiler.
6654
 
    : > sub/conftest.c
6655
 
    for i in 1 2 3 4 5 6; do
6656
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
6657
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6658
 
      # Solaris 8's {/usr,}/bin/sh.
6659
 
      touch sub/conftst$i.h
6660
 
    done
6661
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6662
 
 
6663
 
    case $depmode in
6664
 
    nosideeffect)
6665
 
      # after this tag, mechanisms are not by side-effect, so they'll
6666
 
      # only be used when explicitly requested
6667
 
      if test "x$enable_dependency_tracking" = xyes; then
6668
 
        continue
6669
 
      else
6670
 
        break
6671
 
      fi
6672
 
      ;;
6673
 
    none) break ;;
6674
 
    esac
6675
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
6676
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
6677
 
    # handle `-M -o', and we need to detect this.
6678
 
    if depmode=$depmode \
6679
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6680
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6681
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6682
 
         >/dev/null 2>conftest.err &&
6683
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6684
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6685
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6686
 
      # icc doesn't choke on unknown options, it will just issue warnings
6687
 
      # or remarks (even with -Werror).  So we grep stderr for any message
6688
 
      # that says an option was ignored or not supported.
6689
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
6690
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
6691
 
      # The diagnosis changed in icc 8.0:
6692
 
      #   icc: Command line remark: option '-MP' not supported
6693
 
      if (grep 'ignoring option' conftest.err ||
6694
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6695
 
        am_cv_CXX_dependencies_compiler_type=$depmode
6696
 
        break
6697
 
      fi
6698
 
    fi
6699
 
  done
6700
 
 
6701
 
  cd ..
6702
 
  rm -rf conftest.dir
6703
 
else
6704
 
  am_cv_CXX_dependencies_compiler_type=none
6705
 
fi
6706
 
 
6707
 
fi
6708
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6709
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
6710
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6711
 
 
6712
 
 
6713
 
 
6714
 
if
6715
 
  test "x$enable_dependency_tracking" != xno \
6716
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6717
 
  am__fastdepCXX_TRUE=
6718
 
  am__fastdepCXX_FALSE='#'
6719
 
else
6720
 
  am__fastdepCXX_TRUE='#'
6721
 
  am__fastdepCXX_FALSE=
6722
 
fi
6723
 
 
6724
 
 
6725
 
 
6726
 
 
6727
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6728
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6729
 
    (test "X$CXX" != "Xg++"))) ; then
6730
 
  ac_ext=cpp
6731
 
ac_cpp='$CXXCPP $CPPFLAGS'
6732
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6733
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6734
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6735
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6736
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6737
 
if test -z "$CXXCPP"; then
6738
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
6739
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6740
 
else
6741
 
      # Double quotes because CXXCPP needs to be expanded
6742
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
6743
 
    do
6744
 
      ac_preproc_ok=false
6745
 
for ac_cxx_preproc_warn_flag in '' yes
6746
 
do
6747
 
  # Use a header file that comes with gcc, so configuring glibc
6748
 
  # with a fresh cross-compiler works.
6749
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6750
 
  # <limits.h> exists even on freestanding compilers.
6751
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6752
 
  # not just through cpp. "Syntax error" is here to catch this case.
6753
 
  cat >conftest.$ac_ext <<_ACEOF
6754
 
/* confdefs.h.  */
6755
 
_ACEOF
6756
 
cat confdefs.h >>conftest.$ac_ext
6757
 
cat >>conftest.$ac_ext <<_ACEOF
6758
 
/* end confdefs.h.  */
6759
 
#ifdef __STDC__
6760
 
# include <limits.h>
6761
 
#else
6762
 
# include <assert.h>
6763
 
#endif
6764
 
                     Syntax error
6765
 
_ACEOF
6766
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6767
 
case "(($ac_try" in
6768
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6769
 
  *) ac_try_echo=$ac_try;;
6770
 
esac
6771
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6772
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6773
 
  ac_status=$?
6774
 
  grep -v '^ *+' conftest.er1 >conftest.err
6775
 
  rm -f conftest.er1
6776
 
  cat conftest.err >&5
6777
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6778
 
  (exit $ac_status); } >/dev/null && {
6779
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6780
 
         test ! -s conftest.err
6781
 
       }; then
6782
 
  :
6783
 
else
6784
 
  echo "$as_me: failed program was:" >&5
6785
 
sed 's/^/| /' conftest.$ac_ext >&5
6786
 
 
6787
 
  # Broken: fails on valid input.
6788
 
continue
6789
 
fi
6790
 
 
6791
 
rm -f conftest.err conftest.$ac_ext
6792
 
 
6793
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6794
 
  # can be detected and how.
6795
 
  cat >conftest.$ac_ext <<_ACEOF
6796
 
/* confdefs.h.  */
6797
 
_ACEOF
6798
 
cat confdefs.h >>conftest.$ac_ext
6799
 
cat >>conftest.$ac_ext <<_ACEOF
6800
 
/* end confdefs.h.  */
6801
 
#include <ac_nonexistent.h>
6802
 
_ACEOF
6803
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6804
 
case "(($ac_try" in
6805
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6806
 
  *) ac_try_echo=$ac_try;;
6807
 
esac
6808
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6809
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6810
 
  ac_status=$?
6811
 
  grep -v '^ *+' conftest.er1 >conftest.err
6812
 
  rm -f conftest.er1
6813
 
  cat conftest.err >&5
6814
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6815
 
  (exit $ac_status); } >/dev/null && {
6816
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6817
 
         test ! -s conftest.err
6818
 
       }; then
6819
 
  # Broken: success on invalid input.
6820
 
continue
6821
 
else
6822
 
  echo "$as_me: failed program was:" >&5
6823
 
sed 's/^/| /' conftest.$ac_ext >&5
6824
 
 
6825
 
  # Passes both tests.
6826
 
ac_preproc_ok=:
6827
 
break
6828
 
fi
6829
 
 
6830
 
rm -f conftest.err conftest.$ac_ext
6831
 
 
6832
 
done
6833
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6834
 
rm -f conftest.err conftest.$ac_ext
6835
 
if $ac_preproc_ok; then
6836
 
  break
6837
 
fi
6838
 
 
6839
 
    done
6840
 
    ac_cv_prog_CXXCPP=$CXXCPP
6841
 
 
6842
 
fi
6843
 
  CXXCPP=$ac_cv_prog_CXXCPP
6844
 
else
6845
 
  ac_cv_prog_CXXCPP=$CXXCPP
6846
 
fi
6847
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
6848
 
echo "${ECHO_T}$CXXCPP" >&6; }
6849
 
ac_preproc_ok=false
6850
 
for ac_cxx_preproc_warn_flag in '' yes
6851
 
do
6852
 
  # Use a header file that comes with gcc, so configuring glibc
6853
 
  # with a fresh cross-compiler works.
6854
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6855
 
  # <limits.h> exists even on freestanding compilers.
6856
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6857
 
  # not just through cpp. "Syntax error" is here to catch this case.
6858
 
  cat >conftest.$ac_ext <<_ACEOF
6859
 
/* confdefs.h.  */
6860
 
_ACEOF
6861
 
cat confdefs.h >>conftest.$ac_ext
6862
 
cat >>conftest.$ac_ext <<_ACEOF
6863
 
/* end confdefs.h.  */
6864
 
#ifdef __STDC__
6865
 
# include <limits.h>
6866
 
#else
6867
 
# include <assert.h>
6868
 
#endif
6869
 
                     Syntax error
6870
 
_ACEOF
6871
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6872
 
case "(($ac_try" in
6873
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6874
 
  *) ac_try_echo=$ac_try;;
6875
 
esac
6876
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6877
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6878
 
  ac_status=$?
6879
 
  grep -v '^ *+' conftest.er1 >conftest.err
6880
 
  rm -f conftest.er1
6881
 
  cat conftest.err >&5
6882
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883
 
  (exit $ac_status); } >/dev/null && {
6884
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6885
 
         test ! -s conftest.err
6886
 
       }; then
6887
 
  :
6888
 
else
6889
 
  echo "$as_me: failed program was:" >&5
6890
 
sed 's/^/| /' conftest.$ac_ext >&5
6891
 
 
6892
 
  # Broken: fails on valid input.
6893
 
continue
6894
 
fi
6895
 
 
6896
 
rm -f conftest.err conftest.$ac_ext
6897
 
 
6898
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6899
 
  # can be detected and how.
6900
 
  cat >conftest.$ac_ext <<_ACEOF
6901
 
/* confdefs.h.  */
6902
 
_ACEOF
6903
 
cat confdefs.h >>conftest.$ac_ext
6904
 
cat >>conftest.$ac_ext <<_ACEOF
6905
 
/* end confdefs.h.  */
6906
 
#include <ac_nonexistent.h>
6907
 
_ACEOF
6908
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6909
 
case "(($ac_try" in
6910
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6911
 
  *) ac_try_echo=$ac_try;;
6912
 
esac
6913
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6914
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6915
 
  ac_status=$?
6916
 
  grep -v '^ *+' conftest.er1 >conftest.err
6917
 
  rm -f conftest.er1
6918
 
  cat conftest.err >&5
6919
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6920
 
  (exit $ac_status); } >/dev/null && {
6921
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6922
 
         test ! -s conftest.err
6923
 
       }; then
6924
 
  # Broken: success on invalid input.
6925
 
continue
6926
 
else
6927
 
  echo "$as_me: failed program was:" >&5
6928
 
sed 's/^/| /' conftest.$ac_ext >&5
6929
 
 
6930
 
  # Passes both tests.
6931
 
ac_preproc_ok=:
6932
 
break
6933
 
fi
6934
 
 
6935
 
rm -f conftest.err conftest.$ac_ext
6936
 
 
6937
 
done
6938
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6939
 
rm -f conftest.err conftest.$ac_ext
6940
 
if $ac_preproc_ok; then
6941
 
  :
6942
 
else
6943
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6944
 
See \`config.log' for more details." >&5
6945
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6946
 
See \`config.log' for more details." >&2;}
6947
 
   { (exit 1); exit 1; }; }
6948
 
fi
6949
 
 
6950
 
ac_ext=cpp
6951
 
ac_cpp='$CXXCPP $CPPFLAGS'
6952
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6953
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6954
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6955
 
 
6956
 
fi
6957
 
 
6958
 
 
6959
 
ac_ext=f
6960
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6961
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6962
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6963
 
if test -n "$ac_tool_prefix"; then
6964
 
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6965
 
  do
6966
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6967
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6968
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6969
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6970
 
if test "${ac_cv_prog_F77+set}" = set; then
6971
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6972
 
else
6973
 
  if test -n "$F77"; then
6974
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
6975
 
else
6976
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6977
 
for as_dir in $PATH
6978
 
do
6979
 
  IFS=$as_save_IFS
6980
 
  test -z "$as_dir" && as_dir=.
6981
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6982
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6983
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
6984
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6985
 
    break 2
6986
 
  fi
6987
 
done
6988
 
done
6989
 
IFS=$as_save_IFS
6990
 
 
6991
 
fi
6992
 
fi
6993
 
F77=$ac_cv_prog_F77
6994
 
if test -n "$F77"; then
6995
 
  { echo "$as_me:$LINENO: result: $F77" >&5
6996
 
echo "${ECHO_T}$F77" >&6; }
6997
 
else
6998
 
  { echo "$as_me:$LINENO: result: no" >&5
6999
 
echo "${ECHO_T}no" >&6; }
7000
 
fi
7001
 
 
7002
 
 
7003
 
    test -n "$F77" && break
7004
 
  done
7005
 
fi
7006
 
if test -z "$F77"; then
7007
 
  ac_ct_F77=$F77
7008
 
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
7009
 
do
7010
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7011
 
set dummy $ac_prog; ac_word=$2
7012
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7013
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7014
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7015
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7016
 
else
7017
 
  if test -n "$ac_ct_F77"; then
7018
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
7019
 
else
7020
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7021
 
for as_dir in $PATH
7022
 
do
7023
 
  IFS=$as_save_IFS
7024
 
  test -z "$as_dir" && as_dir=.
7025
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7026
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7027
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
7028
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7029
 
    break 2
7030
 
  fi
7031
 
done
7032
 
done
7033
 
IFS=$as_save_IFS
7034
 
 
7035
 
fi
7036
 
fi
7037
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
7038
 
if test -n "$ac_ct_F77"; then
7039
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7040
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
7041
 
else
7042
 
  { echo "$as_me:$LINENO: result: no" >&5
7043
 
echo "${ECHO_T}no" >&6; }
7044
 
fi
7045
 
 
7046
 
 
7047
 
  test -n "$ac_ct_F77" && break
7048
 
done
7049
 
 
7050
 
  if test "x$ac_ct_F77" = x; then
7051
 
    F77=""
7052
 
  else
7053
 
    case $cross_compiling:$ac_tool_warned in
7054
 
yes:)
7055
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7056
 
whose name does not start with the host triplet.  If you think this
7057
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7058
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7059
 
whose name does not start with the host triplet.  If you think this
7060
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7061
 
ac_tool_warned=yes ;;
7062
 
esac
7063
 
    F77=$ac_ct_F77
7064
 
  fi
7065
 
fi
7066
 
 
7067
 
 
7068
 
# Provide some information about the compiler.
7069
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
7070
 
ac_compiler=`set X $ac_compile; echo $2`
7071
 
{ (ac_try="$ac_compiler --version >&5"
7072
 
case "(($ac_try" in
7073
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7074
 
  *) ac_try_echo=$ac_try;;
7075
 
esac
7076
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7077
 
  (eval "$ac_compiler --version >&5") 2>&5
7078
 
  ac_status=$?
7079
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7080
 
  (exit $ac_status); }
7081
 
{ (ac_try="$ac_compiler -v >&5"
7082
 
case "(($ac_try" in
7083
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7084
 
  *) ac_try_echo=$ac_try;;
7085
 
esac
7086
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7087
 
  (eval "$ac_compiler -v >&5") 2>&5
7088
 
  ac_status=$?
7089
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7090
 
  (exit $ac_status); }
7091
 
{ (ac_try="$ac_compiler -V >&5"
7092
 
case "(($ac_try" in
7093
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7094
 
  *) ac_try_echo=$ac_try;;
7095
 
esac
7096
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7097
 
  (eval "$ac_compiler -V >&5") 2>&5
7098
 
  ac_status=$?
7099
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7100
 
  (exit $ac_status); }
7101
 
rm -f a.out
7102
 
 
7103
 
# If we don't use `.F' as extension, the preprocessor is not run on the
7104
 
# input file.  (Note that this only needs to work for GNU compilers.)
7105
 
ac_save_ext=$ac_ext
7106
 
ac_ext=F
7107
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7108
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
7109
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7110
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7111
 
else
7112
 
  cat >conftest.$ac_ext <<_ACEOF
7113
 
      program main
7114
 
#ifndef __GNUC__
7115
 
       choke me
7116
 
#endif
7117
 
 
7118
 
      end
7119
 
_ACEOF
7120
 
rm -f conftest.$ac_objext
7121
 
if { (ac_try="$ac_compile"
7122
 
case "(($ac_try" in
7123
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7124
 
  *) ac_try_echo=$ac_try;;
7125
 
esac
7126
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7127
 
  (eval "$ac_compile") 2>conftest.er1
7128
 
  ac_status=$?
7129
 
  grep -v '^ *+' conftest.er1 >conftest.err
7130
 
  rm -f conftest.er1
7131
 
  cat conftest.err >&5
7132
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7133
 
  (exit $ac_status); } && {
7134
 
         test -z "$ac_f77_werror_flag" ||
7135
 
         test ! -s conftest.err
7136
 
       } && test -s conftest.$ac_objext; then
7137
 
  ac_compiler_gnu=yes
7138
 
else
7139
 
  echo "$as_me: failed program was:" >&5
7140
 
sed 's/^/| /' conftest.$ac_ext >&5
7141
 
 
7142
 
        ac_compiler_gnu=no
7143
 
fi
7144
 
 
7145
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7146
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7147
 
 
7148
 
fi
7149
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7150
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
7151
 
ac_ext=$ac_save_ext
7152
 
ac_test_FFLAGS=${FFLAGS+set}
7153
 
ac_save_FFLAGS=$FFLAGS
7154
 
FFLAGS=
7155
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7156
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
7157
 
if test "${ac_cv_prog_f77_g+set}" = set; then
7158
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7159
 
else
7160
 
  FFLAGS=-g
7161
 
cat >conftest.$ac_ext <<_ACEOF
7162
 
      program main
7163
 
 
7164
 
      end
7165
 
_ACEOF
7166
 
rm -f conftest.$ac_objext
7167
 
if { (ac_try="$ac_compile"
7168
 
case "(($ac_try" in
7169
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7170
 
  *) ac_try_echo=$ac_try;;
7171
 
esac
7172
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7173
 
  (eval "$ac_compile") 2>conftest.er1
7174
 
  ac_status=$?
7175
 
  grep -v '^ *+' conftest.er1 >conftest.err
7176
 
  rm -f conftest.er1
7177
 
  cat conftest.err >&5
7178
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7179
 
  (exit $ac_status); } && {
7180
 
         test -z "$ac_f77_werror_flag" ||
7181
 
         test ! -s conftest.err
7182
 
       } && test -s conftest.$ac_objext; then
7183
 
  ac_cv_prog_f77_g=yes
7184
 
else
7185
 
  echo "$as_me: failed program was:" >&5
7186
 
sed 's/^/| /' conftest.$ac_ext >&5
7187
 
 
7188
 
        ac_cv_prog_f77_g=no
7189
 
fi
7190
 
 
7191
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7192
 
 
7193
 
fi
7194
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7195
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
7196
 
if test "$ac_test_FFLAGS" = set; then
7197
 
  FFLAGS=$ac_save_FFLAGS
7198
 
elif test $ac_cv_prog_f77_g = yes; then
7199
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7200
 
    FFLAGS="-g -O2"
7201
 
  else
7202
 
    FFLAGS="-g"
7203
 
  fi
7204
 
else
7205
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7206
 
    FFLAGS="-O2"
7207
 
  else
7208
 
    FFLAGS=
7209
 
  fi
7210
 
fi
7211
 
 
7212
 
G77=`test $ac_compiler_gnu = yes && echo yes`
7213
 
ac_ext=c
7214
 
ac_cpp='$CPP $CPPFLAGS'
7215
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7216
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7217
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7218
 
 
7219
 
 
7220
 
 
7221
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
7222
 
 
7223
 
# find the maximum length of command line arguments
7224
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7225
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
7226
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7227
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7228
 
else
7229
 
    i=0
7230
 
  teststring="ABCD"
7231
 
 
7232
 
  case $build_os in
7233
 
  msdosdjgpp*)
7234
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
7235
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
7236
 
    # during glob expansion).  Even if it were fixed, the result of this
7237
 
    # check would be larger than it should be.
7238
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
7239
 
    ;;
7240
 
 
7241
 
  gnu*)
7242
 
    # Under GNU Hurd, this test is not required because there is
7243
 
    # no limit to the length of command line arguments.
7244
 
    # Libtool will interpret -1 as no limit whatsoever
7245
 
    lt_cv_sys_max_cmd_len=-1;
7246
 
    ;;
7247
 
 
7248
 
  cygwin* | mingw*)
7249
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
7250
 
    # about 5 minutes as the teststring grows exponentially.
7251
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
7252
 
    # you end up with a "frozen" computer, even though with patience
7253
 
    # the test eventually succeeds (with a max line length of 256k).
7254
 
    # Instead, let's just punt: use the minimum linelength reported by
7255
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
7256
 
    lt_cv_sys_max_cmd_len=8192;
7257
 
    ;;
7258
 
 
7259
 
  amigaos*)
7260
 
    # On AmigaOS with pdksh, this test takes hours, literally.
7261
 
    # So we just punt and use a minimum line length of 8192.
7262
 
    lt_cv_sys_max_cmd_len=8192;
7263
 
    ;;
7264
 
 
7265
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7266
 
    # This has been around since 386BSD, at least.  Likely further.
7267
 
    if test -x /sbin/sysctl; then
7268
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7269
 
    elif test -x /usr/sbin/sysctl; then
7270
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7271
 
    else
7272
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
7273
 
    fi
7274
 
    # And add a safety zone
7275
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7276
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7277
 
    ;;
7278
 
 
7279
 
  interix*)
7280
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
7281
 
    lt_cv_sys_max_cmd_len=196608
7282
 
    ;;
7283
 
 
7284
 
  osf*)
7285
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7286
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7287
 
    # nice to cause kernel panics so lets avoid the loop below.
7288
 
    # First set a reasonable default.
7289
 
    lt_cv_sys_max_cmd_len=16384
7290
 
    #
7291
 
    if test -x /sbin/sysconfig; then
7292
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7293
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
7294
 
      esac
7295
 
    fi
7296
 
    ;;
7297
 
  sco3.2v5*)
7298
 
    lt_cv_sys_max_cmd_len=102400
7299
 
    ;;
7300
 
  sysv5* | sco5v6* | sysv4.2uw2*)
7301
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7302
 
    if test -n "$kargmax"; then
7303
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
7304
 
    else
7305
 
      lt_cv_sys_max_cmd_len=32768
7306
 
    fi
7307
 
    ;;
7308
 
  *)
7309
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7310
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
7311
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7312
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7313
 
    else
7314
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7315
 
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7316
 
               = "XX$teststring") >/dev/null 2>&1 &&
7317
 
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
7318
 
              lt_cv_sys_max_cmd_len=$new_result &&
7319
 
              test $i != 17 # 1/2 MB should be enough
7320
 
      do
7321
 
        i=`expr $i + 1`
7322
 
        teststring=$teststring$teststring
7323
 
      done
7324
 
      teststring=
7325
 
      # Add a significant safety factor because C++ compilers can tack on massive
7326
 
      # amounts of additional arguments before passing them to the linker.
7327
 
      # It appears as though 1/2 is a usable value.
7328
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7329
 
    fi
7330
 
    ;;
7331
 
  esac
7332
 
 
7333
 
fi
7334
 
 
7335
 
if test -n $lt_cv_sys_max_cmd_len ; then
7336
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7337
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
7338
 
else
7339
 
  { echo "$as_me:$LINENO: result: none" >&5
7340
 
echo "${ECHO_T}none" >&6; }
7341
 
fi
7342
 
 
7343
 
 
7344
 
 
7345
 
 
7346
 
 
7347
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
7348
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7349
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
7350
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7351
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7352
 
else
7353
 
 
7354
 
# These are sane defaults that work on at least a few old systems.
7355
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7356
 
 
7357
 
# Character class describing NM global symbol codes.
7358
 
symcode='[BCDEGRST]'
7359
 
 
7360
 
# Regexp to match symbols that can be accessed directly from C.
7361
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7362
 
 
7363
 
# Transform an extracted symbol line into a proper C declaration
7364
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
7365
 
 
7366
 
# Transform an extracted symbol line into symbol name and symbol address
7367
 
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'"
7368
 
 
7369
 
# Define system-specific variables.
7370
 
case $host_os in
7371
 
aix*)
7372
 
  symcode='[BCDT]'
7373
 
  ;;
7374
 
cygwin* | mingw* | pw32*)
7375
 
  symcode='[ABCDGISTW]'
7376
 
  ;;
7377
 
hpux*) # Its linker distinguishes data from code symbols
7378
 
  if test "$host_cpu" = ia64; then
7379
 
    symcode='[ABCDEGRST]'
7380
 
  fi
7381
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7382
 
  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'"
7383
 
  ;;
7384
 
linux* | k*bsd*-gnu)
7385
 
  if test "$host_cpu" = ia64; then
7386
 
    symcode='[ABCDGIRSTW]'
7387
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7388
 
    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'"
7389
 
  fi
7390
 
  ;;
7391
 
irix* | nonstopux*)
7392
 
  symcode='[BCDEGRST]'
7393
 
  ;;
7394
 
osf*)
7395
 
  symcode='[BCDEGQRST]'
7396
 
  ;;
7397
 
solaris*)
7398
 
  symcode='[BDRT]'
7399
 
  ;;
7400
 
sco3.2v5*)
7401
 
  symcode='[DT]'
7402
 
  ;;
7403
 
sysv4.2uw2*)
7404
 
  symcode='[DT]'
7405
 
  ;;
7406
 
sysv5* | sco5v6* | unixware* | OpenUNIX*)
7407
 
  symcode='[ABDT]'
7408
 
  ;;
7409
 
sysv4)
7410
 
  symcode='[DFNSTU]'
7411
 
  ;;
7412
 
esac
7413
 
 
7414
 
# Handle CRLF in mingw tool chain
7415
 
opt_cr=
7416
 
case $build_os in
7417
 
mingw*)
7418
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7419
 
  ;;
7420
 
esac
7421
 
 
7422
 
# If we're using GNU nm, then use its standard symbol codes.
7423
 
case `$NM -V 2>&1` in
7424
 
*GNU* | *'with BFD'*)
7425
 
  symcode='[ABCDGIRSTW]' ;;
7426
 
esac
7427
 
 
7428
 
# Try without a prefix undercore, then with it.
7429
 
for ac_symprfx in "" "_"; do
7430
 
 
7431
 
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7432
 
  symxfrm="\\1 $ac_symprfx\\2 \\2"
7433
 
 
7434
 
  # Write the raw and C identifiers.
7435
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7436
 
 
7437
 
  # Check to see that the pipe works correctly.
7438
 
  pipe_works=no
7439
 
 
7440
 
  rm -f conftest*
7441
 
  cat > conftest.$ac_ext <<EOF
7442
 
#ifdef __cplusplus
7443
 
extern "C" {
7444
 
#endif
7445
 
char nm_test_var;
7446
 
void nm_test_func(){}
7447
 
#ifdef __cplusplus
7448
 
}
7449
 
#endif
7450
 
int main(){nm_test_var='a';nm_test_func();return(0);}
7451
 
EOF
7452
 
 
7453
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7454
 
  (eval $ac_compile) 2>&5
7455
 
  ac_status=$?
7456
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7457
 
  (exit $ac_status); }; then
7458
 
    # Now try to grab the symbols.
7459
 
    nlist=conftest.nm
7460
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7461
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7462
 
  ac_status=$?
7463
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7464
 
  (exit $ac_status); } && test -s "$nlist"; then
7465
 
      # Try sorting and uniquifying the output.
7466
 
      if sort "$nlist" | uniq > "$nlist"T; then
7467
 
        mv -f "$nlist"T "$nlist"
7468
 
      else
7469
 
        rm -f "$nlist"T
7470
 
      fi
7471
 
 
7472
 
      # Make sure that we snagged all the symbols we need.
7473
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
7474
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
7475
 
          cat <<EOF > conftest.$ac_ext
7476
 
#ifdef __cplusplus
7477
 
extern "C" {
7478
 
#endif
7479
 
 
7480
 
EOF
7481
 
          # Now generate the symbol file.
7482
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
7483
 
 
7484
 
          cat <<EOF >> conftest.$ac_ext
7485
 
#if defined (__STDC__) && __STDC__
7486
 
# define lt_ptr_t void *
7487
 
#else
7488
 
# define lt_ptr_t char *
7489
 
# define const
7490
 
#endif
7491
 
 
7492
 
/* The mapping between symbol names and symbols. */
7493
 
const struct {
7494
 
  const char *name;
7495
 
  lt_ptr_t address;
7496
 
}
7497
 
lt_preloaded_symbols[] =
7498
 
{
7499
 
EOF
7500
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
7501
 
          cat <<\EOF >> conftest.$ac_ext
7502
 
  {0, (lt_ptr_t) 0}
7503
 
};
7504
 
 
7505
 
#ifdef __cplusplus
7506
 
}
7507
 
#endif
7508
 
EOF
7509
 
          # Now try linking the two files.
7510
 
          mv conftest.$ac_objext conftstm.$ac_objext
7511
 
          lt_save_LIBS="$LIBS"
7512
 
          lt_save_CFLAGS="$CFLAGS"
7513
 
          LIBS="conftstm.$ac_objext"
7514
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7515
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7516
 
  (eval $ac_link) 2>&5
7517
 
  ac_status=$?
7518
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7519
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
7520
 
            pipe_works=yes
7521
 
          fi
7522
 
          LIBS="$lt_save_LIBS"
7523
 
          CFLAGS="$lt_save_CFLAGS"
7524
 
        else
7525
 
          echo "cannot find nm_test_func in $nlist" >&5
7526
 
        fi
7527
 
      else
7528
 
        echo "cannot find nm_test_var in $nlist" >&5
7529
 
      fi
7530
 
    else
7531
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7532
 
    fi
7533
 
  else
7534
 
    echo "$progname: failed program was:" >&5
7535
 
    cat conftest.$ac_ext >&5
7536
 
  fi
7537
 
  rm -f conftest* conftst*
7538
 
 
7539
 
  # Do not use the global_symbol_pipe unless it works.
7540
 
  if test "$pipe_works" = yes; then
7541
 
    break
7542
 
  else
7543
 
    lt_cv_sys_global_symbol_pipe=
7544
 
  fi
7545
 
done
7546
 
 
7547
 
fi
7548
 
 
7549
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
7550
 
  lt_cv_sys_global_symbol_to_cdecl=
7551
 
fi
7552
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7553
 
  { echo "$as_me:$LINENO: result: failed" >&5
7554
 
echo "${ECHO_T}failed" >&6; }
7555
 
else
7556
 
  { echo "$as_me:$LINENO: result: ok" >&5
7557
 
echo "${ECHO_T}ok" >&6; }
7558
 
fi
7559
 
 
7560
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
7561
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7562
 
if test "${lt_cv_objdir+set}" = set; then
7563
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7564
 
else
7565
 
  rm -f .libs 2>/dev/null
7566
 
mkdir .libs 2>/dev/null
7567
 
if test -d .libs; then
7568
 
  lt_cv_objdir=.libs
7569
 
else
7570
 
  # MS-DOS does not allow filenames that begin with a dot.
7571
 
  lt_cv_objdir=_libs
7572
 
fi
7573
 
rmdir .libs 2>/dev/null
7574
 
fi
7575
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7576
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
7577
 
objdir=$lt_cv_objdir
7578
 
 
7579
 
 
7580
 
 
7581
 
 
7582
 
 
7583
 
case $host_os in
7584
 
aix3*)
7585
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
7586
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
7587
 
  # vanish in a puff of smoke.
7588
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
7589
 
    COLLECT_NAMES=
7590
 
    export COLLECT_NAMES
7591
 
  fi
7592
 
  ;;
7593
 
esac
7594
 
 
7595
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7596
 
# metacharacters that are still active within double-quoted strings.
7597
 
Xsed='sed -e 1s/^X//'
7598
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
7599
 
 
7600
 
# Same as above, but do not quote variable references.
7601
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
7602
 
 
7603
 
# Sed substitution to delay expansion of an escaped shell variable in a
7604
 
# double_quote_subst'ed string.
7605
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7606
 
 
7607
 
# Sed substitution to avoid accidental globbing in evaled expressions
7608
 
no_glob_subst='s/\*/\\\*/g'
7609
 
 
7610
 
# Constants:
7611
 
rm="rm -f"
7612
 
 
7613
 
# Global variables:
7614
 
default_ofile=libtool
7615
 
can_build_shared=yes
7616
 
 
7617
 
# All known linkers require a `.a' archive for static linking (except MSVC,
7618
 
# which needs '.lib').
7619
 
libext=a
7620
 
ltmain="$ac_aux_dir/ltmain.sh"
7621
 
ofile="$default_ofile"
7622
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
7623
 
 
7624
 
if test -n "$ac_tool_prefix"; then
7625
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7626
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
7627
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7628
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7629
 
if test "${ac_cv_prog_AR+set}" = set; then
7630
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7631
 
else
7632
 
  if test -n "$AR"; then
7633
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
7634
 
else
7635
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7636
 
for as_dir in $PATH
7637
 
do
7638
 
  IFS=$as_save_IFS
7639
 
  test -z "$as_dir" && as_dir=.
7640
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7641
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7642
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
7643
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7644
 
    break 2
7645
 
  fi
7646
 
done
7647
 
done
7648
 
IFS=$as_save_IFS
7649
 
 
7650
 
fi
7651
 
fi
7652
 
AR=$ac_cv_prog_AR
7653
 
if test -n "$AR"; then
7654
 
  { echo "$as_me:$LINENO: result: $AR" >&5
7655
 
echo "${ECHO_T}$AR" >&6; }
7656
 
else
7657
 
  { echo "$as_me:$LINENO: result: no" >&5
7658
 
echo "${ECHO_T}no" >&6; }
7659
 
fi
7660
 
 
7661
 
 
7662
 
fi
7663
 
if test -z "$ac_cv_prog_AR"; then
7664
 
  ac_ct_AR=$AR
7665
 
  # Extract the first word of "ar", so it can be a program name with args.
7666
 
set dummy ar; ac_word=$2
7667
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7668
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7669
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7670
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7671
 
else
7672
 
  if test -n "$ac_ct_AR"; then
7673
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7674
 
else
7675
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7676
 
for as_dir in $PATH
7677
 
do
7678
 
  IFS=$as_save_IFS
7679
 
  test -z "$as_dir" && as_dir=.
7680
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7681
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7682
 
    ac_cv_prog_ac_ct_AR="ar"
7683
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7684
 
    break 2
7685
 
  fi
7686
 
done
7687
 
done
7688
 
IFS=$as_save_IFS
7689
 
 
7690
 
fi
7691
 
fi
7692
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7693
 
if test -n "$ac_ct_AR"; then
7694
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7695
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
7696
 
else
7697
 
  { echo "$as_me:$LINENO: result: no" >&5
7698
 
echo "${ECHO_T}no" >&6; }
7699
 
fi
7700
 
 
7701
 
  if test "x$ac_ct_AR" = x; then
7702
 
    AR="false"
7703
 
  else
7704
 
    case $cross_compiling:$ac_tool_warned in
7705
 
yes:)
7706
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7707
 
whose name does not start with the host triplet.  If you think this
7708
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7709
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7710
 
whose name does not start with the host triplet.  If you think this
7711
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7712
 
ac_tool_warned=yes ;;
7713
 
esac
7714
 
    AR=$ac_ct_AR
7715
 
  fi
7716
 
else
7717
 
  AR="$ac_cv_prog_AR"
7718
 
fi
7719
 
 
7720
 
if test -n "$ac_tool_prefix"; then
7721
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7722
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7723
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7724
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7725
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
7726
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7727
 
else
7728
 
  if test -n "$RANLIB"; then
7729
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7730
 
else
7731
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7732
 
for as_dir in $PATH
7733
 
do
7734
 
  IFS=$as_save_IFS
7735
 
  test -z "$as_dir" && as_dir=.
7736
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7737
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7738
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7739
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7740
 
    break 2
7741
 
  fi
7742
 
done
7743
 
done
7744
 
IFS=$as_save_IFS
7745
 
 
7746
 
fi
7747
 
fi
7748
 
RANLIB=$ac_cv_prog_RANLIB
7749
 
if test -n "$RANLIB"; then
7750
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
7751
 
echo "${ECHO_T}$RANLIB" >&6; }
7752
 
else
7753
 
  { echo "$as_me:$LINENO: result: no" >&5
7754
 
echo "${ECHO_T}no" >&6; }
7755
 
fi
7756
 
 
7757
 
 
7758
 
fi
7759
 
if test -z "$ac_cv_prog_RANLIB"; then
7760
 
  ac_ct_RANLIB=$RANLIB
7761
 
  # Extract the first word of "ranlib", so it can be a program name with args.
7762
 
set dummy ranlib; ac_word=$2
7763
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7764
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7765
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7766
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7767
 
else
7768
 
  if test -n "$ac_ct_RANLIB"; then
7769
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7770
 
else
7771
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7772
 
for as_dir in $PATH
7773
 
do
7774
 
  IFS=$as_save_IFS
7775
 
  test -z "$as_dir" && as_dir=.
7776
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7777
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7778
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
7779
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7780
 
    break 2
7781
 
  fi
7782
 
done
7783
 
done
7784
 
IFS=$as_save_IFS
7785
 
 
7786
 
fi
7787
 
fi
7788
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7789
 
if test -n "$ac_ct_RANLIB"; then
7790
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7791
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7792
 
else
7793
 
  { echo "$as_me:$LINENO: result: no" >&5
7794
 
echo "${ECHO_T}no" >&6; }
7795
 
fi
7796
 
 
7797
 
  if test "x$ac_ct_RANLIB" = x; then
7798
 
    RANLIB=":"
7799
 
  else
7800
 
    case $cross_compiling:$ac_tool_warned in
7801
 
yes:)
7802
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7803
 
whose name does not start with the host triplet.  If you think this
7804
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7805
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7806
 
whose name does not start with the host triplet.  If you think this
7807
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7808
 
ac_tool_warned=yes ;;
7809
 
esac
7810
 
    RANLIB=$ac_ct_RANLIB
7811
 
  fi
7812
 
else
7813
 
  RANLIB="$ac_cv_prog_RANLIB"
7814
 
fi
7815
 
 
7816
 
if test -n "$ac_tool_prefix"; then
7817
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7818
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
7819
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7820
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7821
 
if test "${ac_cv_prog_STRIP+set}" = set; then
7822
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7823
 
else
7824
 
  if test -n "$STRIP"; then
7825
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7826
 
else
7827
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7828
 
for as_dir in $PATH
7829
 
do
7830
 
  IFS=$as_save_IFS
7831
 
  test -z "$as_dir" && as_dir=.
7832
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7833
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7834
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7835
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7836
 
    break 2
7837
 
  fi
7838
 
done
7839
 
done
7840
 
IFS=$as_save_IFS
7841
 
 
7842
 
fi
7843
 
fi
7844
 
STRIP=$ac_cv_prog_STRIP
7845
 
if test -n "$STRIP"; then
7846
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
7847
 
echo "${ECHO_T}$STRIP" >&6; }
7848
 
else
7849
 
  { echo "$as_me:$LINENO: result: no" >&5
7850
 
echo "${ECHO_T}no" >&6; }
7851
 
fi
7852
 
 
7853
 
 
7854
 
fi
7855
 
if test -z "$ac_cv_prog_STRIP"; then
7856
 
  ac_ct_STRIP=$STRIP
7857
 
  # Extract the first word of "strip", so it can be a program name with args.
7858
 
set dummy strip; ac_word=$2
7859
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7860
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7861
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7862
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7863
 
else
7864
 
  if test -n "$ac_ct_STRIP"; then
7865
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7866
 
else
7867
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7868
 
for as_dir in $PATH
7869
 
do
7870
 
  IFS=$as_save_IFS
7871
 
  test -z "$as_dir" && as_dir=.
7872
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7873
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7874
 
    ac_cv_prog_ac_ct_STRIP="strip"
7875
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7876
 
    break 2
7877
 
  fi
7878
 
done
7879
 
done
7880
 
IFS=$as_save_IFS
7881
 
 
7882
 
fi
7883
 
fi
7884
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7885
 
if test -n "$ac_ct_STRIP"; then
7886
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7887
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7888
 
else
7889
 
  { echo "$as_me:$LINENO: result: no" >&5
7890
 
echo "${ECHO_T}no" >&6; }
7891
 
fi
7892
 
 
7893
 
  if test "x$ac_ct_STRIP" = x; then
7894
 
    STRIP=":"
7895
 
  else
7896
 
    case $cross_compiling:$ac_tool_warned in
7897
 
yes:)
7898
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7899
 
whose name does not start with the host triplet.  If you think this
7900
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7901
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7902
 
whose name does not start with the host triplet.  If you think this
7903
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7904
 
ac_tool_warned=yes ;;
7905
 
esac
7906
 
    STRIP=$ac_ct_STRIP
7907
 
  fi
7908
 
else
7909
 
  STRIP="$ac_cv_prog_STRIP"
7910
 
fi
7911
 
 
7912
 
 
7913
 
old_CC="$CC"
7914
 
old_CFLAGS="$CFLAGS"
7915
 
 
7916
 
# Set sane defaults for various variables
7917
 
test -z "$AR" && AR=ar
7918
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
7919
 
test -z "$AS" && AS=as
7920
 
test -z "$CC" && CC=cc
7921
 
test -z "$LTCC" && LTCC=$CC
7922
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7923
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
7924
 
test -z "$LD" && LD=ld
7925
 
test -z "$LN_S" && LN_S="ln -s"
7926
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7927
 
test -z "$NM" && NM=nm
7928
 
test -z "$SED" && SED=sed
7929
 
test -z "$OBJDUMP" && OBJDUMP=objdump
7930
 
test -z "$RANLIB" && RANLIB=:
7931
 
test -z "$STRIP" && STRIP=:
7932
 
test -z "$ac_objext" && ac_objext=o
7933
 
 
7934
 
# Determine commands to create old-style static archives.
7935
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7936
 
old_postinstall_cmds='chmod 644 $oldlib'
7937
 
old_postuninstall_cmds=
7938
 
 
7939
 
if test -n "$RANLIB"; then
7940
 
  case $host_os in
7941
 
  openbsd*)
7942
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7943
 
    ;;
7944
 
  *)
7945
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7946
 
    ;;
7947
 
  esac
7948
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7949
 
fi
7950
 
 
7951
 
for cc_temp in $compiler""; do
7952
 
  case $cc_temp in
7953
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7954
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7955
 
    \-*) ;;
7956
 
    *) break;;
7957
 
  esac
7958
 
done
7959
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7960
 
 
7961
 
 
7962
 
# Only perform the check for file, if the check method requires it
7963
 
case $deplibs_check_method in
7964
 
file_magic*)
7965
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7966
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7967
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7968
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7969
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7970
 
else
7971
 
  case $MAGIC_CMD in
7972
 
[\\/*] |  ?:[\\/]*)
7973
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7974
 
  ;;
7975
 
*)
7976
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7977
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7978
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7979
 
  for ac_dir in $ac_dummy; do
7980
 
    IFS="$lt_save_ifs"
7981
 
    test -z "$ac_dir" && ac_dir=.
7982
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
7983
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7984
 
      if test -n "$file_magic_test_file"; then
7985
 
        case $deplibs_check_method in
7986
 
        "file_magic "*)
7987
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7988
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7989
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7990
 
            $EGREP "$file_magic_regex" > /dev/null; then
7991
 
            :
7992
 
          else
7993
 
            cat <<EOF 1>&2
7994
 
 
7995
 
*** Warning: the command libtool uses to detect shared libraries,
7996
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7997
 
*** The result is that libtool may fail to recognize shared libraries
7998
 
*** as such.  This will affect the creation of libtool libraries that
7999
 
*** depend on shared libraries, but programs linked with such libtool
8000
 
*** libraries will work regardless of this problem.  Nevertheless, you
8001
 
*** may want to report the problem to your system manager and/or to
8002
 
*** bug-libtool@gnu.org
8003
 
 
8004
 
EOF
8005
 
          fi ;;
8006
 
        esac
8007
 
      fi
8008
 
      break
8009
 
    fi
8010
 
  done
8011
 
  IFS="$lt_save_ifs"
8012
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8013
 
  ;;
8014
 
esac
8015
 
fi
8016
 
 
8017
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8018
 
if test -n "$MAGIC_CMD"; then
8019
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8020
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
8021
 
else
8022
 
  { echo "$as_me:$LINENO: result: no" >&5
8023
 
echo "${ECHO_T}no" >&6; }
8024
 
fi
8025
 
 
8026
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
8027
 
  if test -n "$ac_tool_prefix"; then
8028
 
    { echo "$as_me:$LINENO: checking for file" >&5
8029
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
8030
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8031
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8032
 
else
8033
 
  case $MAGIC_CMD in
8034
 
[\\/*] |  ?:[\\/]*)
8035
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8036
 
  ;;
8037
 
*)
8038
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8039
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8040
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8041
 
  for ac_dir in $ac_dummy; do
8042
 
    IFS="$lt_save_ifs"
8043
 
    test -z "$ac_dir" && ac_dir=.
8044
 
    if test -f $ac_dir/file; then
8045
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8046
 
      if test -n "$file_magic_test_file"; then
8047
 
        case $deplibs_check_method in
8048
 
        "file_magic "*)
8049
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8050
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8051
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8052
 
            $EGREP "$file_magic_regex" > /dev/null; then
8053
 
            :
8054
 
          else
8055
 
            cat <<EOF 1>&2
8056
 
 
8057
 
*** Warning: the command libtool uses to detect shared libraries,
8058
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8059
 
*** The result is that libtool may fail to recognize shared libraries
8060
 
*** as such.  This will affect the creation of libtool libraries that
8061
 
*** depend on shared libraries, but programs linked with such libtool
8062
 
*** libraries will work regardless of this problem.  Nevertheless, you
8063
 
*** may want to report the problem to your system manager and/or to
8064
 
*** bug-libtool@gnu.org
8065
 
 
8066
 
EOF
8067
 
          fi ;;
8068
 
        esac
8069
 
      fi
8070
 
      break
8071
 
    fi
8072
 
  done
8073
 
  IFS="$lt_save_ifs"
8074
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8075
 
  ;;
8076
 
esac
8077
 
fi
8078
 
 
8079
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8080
 
if test -n "$MAGIC_CMD"; then
8081
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8082
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
8083
 
else
8084
 
  { echo "$as_me:$LINENO: result: no" >&5
8085
 
echo "${ECHO_T}no" >&6; }
8086
 
fi
8087
 
 
8088
 
  else
8089
 
    MAGIC_CMD=:
8090
 
  fi
8091
 
fi
8092
 
 
8093
 
  fi
8094
 
  ;;
8095
 
esac
8096
 
 
8097
 
enable_dlopen=no
8098
 
enable_win32_dll=no
8099
 
 
8100
 
# Check whether --enable-libtool-lock was given.
8101
 
if test "${enable_libtool_lock+set}" = set; then
8102
 
  enableval=$enable_libtool_lock;
8103
 
fi
8104
 
 
8105
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8106
 
 
8107
 
 
8108
 
# Check whether --with-pic was given.
8109
 
if test "${with_pic+set}" = set; then
8110
 
  withval=$with_pic; pic_mode="$withval"
8111
 
else
8112
 
  pic_mode=default
8113
 
fi
8114
 
 
8115
 
test -z "$pic_mode" && pic_mode=default
8116
 
 
8117
 
# Use C for the default configuration in the libtool script
8118
 
tagname=
8119
 
lt_save_CC="$CC"
8120
 
ac_ext=c
8121
 
ac_cpp='$CPP $CPPFLAGS'
8122
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8123
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8124
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8125
 
 
8126
 
 
8127
 
# Source file extension for C test sources.
8128
 
ac_ext=c
8129
 
 
8130
 
# Object file extension for compiled C test sources.
8131
 
objext=o
8132
 
objext=$objext
8133
 
 
8134
 
# Code to be used in simple compile tests
8135
 
lt_simple_compile_test_code="int some_variable = 0;"
8136
 
 
8137
 
# Code to be used in simple link tests
8138
 
lt_simple_link_test_code='int main(){return(0);}'
8139
 
 
8140
 
 
8141
 
# If no C compiler was specified, use CC.
8142
 
LTCC=${LTCC-"$CC"}
8143
 
 
8144
 
# If no C compiler flags were specified, use CFLAGS.
8145
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8146
 
 
8147
 
# Allow CC to be a program name with arguments.
8148
 
compiler=$CC
8149
 
 
8150
 
 
8151
 
# save warnings/boilerplate of simple test code
8152
 
ac_outfile=conftest.$ac_objext
8153
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8154
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8155
 
_lt_compiler_boilerplate=`cat conftest.err`
8156
 
$rm conftest*
8157
 
 
8158
 
ac_outfile=conftest.$ac_objext
8159
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8160
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8161
 
_lt_linker_boilerplate=`cat conftest.err`
8162
 
$rm conftest*
8163
 
 
8164
 
 
8165
 
 
8166
 
lt_prog_compiler_no_builtin_flag=
8167
 
 
8168
 
if test "$GCC" = yes; then
8169
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8170
 
 
8171
 
 
8172
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8173
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
8174
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8175
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8176
 
else
8177
 
  lt_cv_prog_compiler_rtti_exceptions=no
8178
 
  ac_outfile=conftest.$ac_objext
8179
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8180
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8181
 
   # Insert the option either (1) after the last *FLAGS variable, or
8182
 
   # (2) before a word containing "conftest.", or (3) at the end.
8183
 
   # Note that $ac_compile itself does not contain backslashes and begins
8184
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8185
 
   # The option is referenced via a variable to avoid confusing sed.
8186
 
   lt_compile=`echo "$ac_compile" | $SED \
8187
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8188
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8189
 
   -e 's:$: $lt_compiler_flag:'`
8190
 
   (eval echo "\"\$as_me:8190: $lt_compile\"" >&5)
8191
 
   (eval "$lt_compile" 2>conftest.err)
8192
 
   ac_status=$?
8193
 
   cat conftest.err >&5
8194
 
   echo "$as_me:8194: \$? = $ac_status" >&5
8195
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8196
 
     # The compiler can only warn and ignore the option if not recognized
8197
 
     # So say no if there are warnings other than the usual output.
8198
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8199
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8200
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8201
 
       lt_cv_prog_compiler_rtti_exceptions=yes
8202
 
     fi
8203
 
   fi
8204
 
   $rm conftest*
8205
 
 
8206
 
fi
8207
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8208
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8209
 
 
8210
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8211
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8212
 
else
8213
 
    :
8214
 
fi
8215
 
 
8216
 
fi
8217
 
 
8218
 
lt_prog_compiler_wl=
8219
 
lt_prog_compiler_pic=
8220
 
lt_prog_compiler_static=
8221
 
 
8222
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8223
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
8224
 
 
8225
 
  if test "$GCC" = yes; then
8226
 
    lt_prog_compiler_wl='-Wl,'
8227
 
    lt_prog_compiler_static='-static'
8228
 
 
8229
 
    case $host_os in
8230
 
      aix*)
8231
 
      # All AIX code is PIC.
8232
 
      if test "$host_cpu" = ia64; then
8233
 
        # AIX 5 now supports IA64 processor
8234
 
        lt_prog_compiler_static='-Bstatic'
8235
 
      fi
8236
 
      ;;
8237
 
 
8238
 
    amigaos*)
8239
 
      # FIXME: we need at least 68020 code to build shared libraries, but
8240
 
      # adding the `-m68020' flag to GCC prevents building anything better,
8241
 
      # like `-m68040'.
8242
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8243
 
      ;;
8244
 
 
8245
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8246
 
      # PIC is the default for these OSes.
8247
 
      ;;
8248
 
 
8249
 
    mingw* | cygwin* | pw32* | os2*)
8250
 
      # This hack is so that the source file can tell whether it is being
8251
 
      # built for inclusion in a dll (and should export symbols for example).
8252
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8253
 
      # (--disable-auto-import) libraries
8254
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8255
 
      ;;
8256
 
 
8257
 
    darwin* | rhapsody*)
8258
 
      # PIC is the default on this platform
8259
 
      # Common symbols not allowed in MH_DYLIB files
8260
 
      lt_prog_compiler_pic='-fno-common'
8261
 
      ;;
8262
 
 
8263
 
    interix[3-9]*)
8264
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8265
 
      # Instead, we relocate shared libraries at runtime.
8266
 
      ;;
8267
 
 
8268
 
    msdosdjgpp*)
8269
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
8270
 
      # on systems that don't support them.
8271
 
      lt_prog_compiler_can_build_shared=no
8272
 
      enable_shared=no
8273
 
      ;;
8274
 
 
8275
 
    sysv4*MP*)
8276
 
      if test -d /usr/nec; then
8277
 
        lt_prog_compiler_pic=-Kconform_pic
8278
 
      fi
8279
 
      ;;
8280
 
 
8281
 
    hpux*)
8282
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8283
 
      # not for PA HP-UX.
8284
 
      case $host_cpu in
8285
 
      hppa*64*|ia64*)
8286
 
        # +Z the default
8287
 
        ;;
8288
 
      *)
8289
 
        lt_prog_compiler_pic='-fPIC'
8290
 
        ;;
8291
 
      esac
8292
 
      ;;
8293
 
 
8294
 
    *)
8295
 
      lt_prog_compiler_pic='-fPIC'
8296
 
      ;;
8297
 
    esac
8298
 
  else
8299
 
    # PORTME Check for flag to pass linker flags through the system compiler.
8300
 
    case $host_os in
8301
 
    aix*)
8302
 
      lt_prog_compiler_wl='-Wl,'
8303
 
      if test "$host_cpu" = ia64; then
8304
 
        # AIX 5 now supports IA64 processor
8305
 
        lt_prog_compiler_static='-Bstatic'
8306
 
      else
8307
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8308
 
      fi
8309
 
      ;;
8310
 
      darwin*)
8311
 
        # PIC is the default on this platform
8312
 
        # Common symbols not allowed in MH_DYLIB files
8313
 
       case $cc_basename in
8314
 
         xlc*)
8315
 
         lt_prog_compiler_pic='-qnocommon'
8316
 
         lt_prog_compiler_wl='-Wl,'
8317
 
         ;;
8318
 
       esac
8319
 
       ;;
8320
 
 
8321
 
    mingw* | cygwin* | pw32* | os2*)
8322
 
      # This hack is so that the source file can tell whether it is being
8323
 
      # built for inclusion in a dll (and should export symbols for example).
8324
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8325
 
      ;;
8326
 
 
8327
 
    hpux9* | hpux10* | hpux11*)
8328
 
      lt_prog_compiler_wl='-Wl,'
8329
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8330
 
      # not for PA HP-UX.
8331
 
      case $host_cpu in
8332
 
      hppa*64*|ia64*)
8333
 
        # +Z the default
8334
 
        ;;
8335
 
      *)
8336
 
        lt_prog_compiler_pic='+Z'
8337
 
        ;;
8338
 
      esac
8339
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8340
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
8341
 
      ;;
8342
 
 
8343
 
    irix5* | irix6* | nonstopux*)
8344
 
      lt_prog_compiler_wl='-Wl,'
8345
 
      # PIC (with -KPIC) is the default.
8346
 
      lt_prog_compiler_static='-non_shared'
8347
 
      ;;
8348
 
 
8349
 
    newsos6)
8350
 
      lt_prog_compiler_pic='-KPIC'
8351
 
      lt_prog_compiler_static='-Bstatic'
8352
 
      ;;
8353
 
 
8354
 
    linux* | k*bsd*-gnu)
8355
 
      case $cc_basename in
8356
 
      icc* | ecc*)
8357
 
        lt_prog_compiler_wl='-Wl,'
8358
 
        lt_prog_compiler_pic='-KPIC'
8359
 
        lt_prog_compiler_static='-static'
8360
 
        ;;
8361
 
      pgcc* | pgf77* | pgf90* | pgf95*)
8362
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
8363
 
        # which looks to be a dead project)
8364
 
        lt_prog_compiler_wl='-Wl,'
8365
 
        lt_prog_compiler_pic='-fpic'
8366
 
        lt_prog_compiler_static='-Bstatic'
8367
 
        ;;
8368
 
      ccc*)
8369
 
        lt_prog_compiler_wl='-Wl,'
8370
 
        # All Alpha code is PIC.
8371
 
        lt_prog_compiler_static='-non_shared'
8372
 
        ;;
8373
 
      *)
8374
 
        case `$CC -V 2>&1 | sed 5q` in
8375
 
        *Sun\ C*)
8376
 
          # Sun C 5.9
8377
 
          lt_prog_compiler_pic='-KPIC'
8378
 
          lt_prog_compiler_static='-Bstatic'
8379
 
          lt_prog_compiler_wl='-Wl,'
8380
 
          ;;
8381
 
        *Sun\ F*)
8382
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8383
 
          lt_prog_compiler_pic='-KPIC'
8384
 
          lt_prog_compiler_static='-Bstatic'
8385
 
          lt_prog_compiler_wl=''
8386
 
          ;;
8387
 
        esac
8388
 
        ;;
8389
 
      esac
8390
 
      ;;
8391
 
 
8392
 
    osf3* | osf4* | osf5*)
8393
 
      lt_prog_compiler_wl='-Wl,'
8394
 
      # All OSF/1 code is PIC.
8395
 
      lt_prog_compiler_static='-non_shared'
8396
 
      ;;
8397
 
 
8398
 
    rdos*)
8399
 
      lt_prog_compiler_static='-non_shared'
8400
 
      ;;
8401
 
 
8402
 
    solaris*)
8403
 
      lt_prog_compiler_pic='-KPIC'
8404
 
      lt_prog_compiler_static='-Bstatic'
8405
 
      case $cc_basename in
8406
 
      f77* | f90* | f95*)
8407
 
        lt_prog_compiler_wl='-Qoption ld ';;
8408
 
      *)
8409
 
        lt_prog_compiler_wl='-Wl,';;
8410
 
      esac
8411
 
      ;;
8412
 
 
8413
 
    sunos4*)
8414
 
      lt_prog_compiler_wl='-Qoption ld '
8415
 
      lt_prog_compiler_pic='-PIC'
8416
 
      lt_prog_compiler_static='-Bstatic'
8417
 
      ;;
8418
 
 
8419
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
8420
 
      lt_prog_compiler_wl='-Wl,'
8421
 
      lt_prog_compiler_pic='-KPIC'
8422
 
      lt_prog_compiler_static='-Bstatic'
8423
 
      ;;
8424
 
 
8425
 
    sysv4*MP*)
8426
 
      if test -d /usr/nec ;then
8427
 
        lt_prog_compiler_pic='-Kconform_pic'
8428
 
        lt_prog_compiler_static='-Bstatic'
8429
 
      fi
8430
 
      ;;
8431
 
 
8432
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8433
 
      lt_prog_compiler_wl='-Wl,'
8434
 
      lt_prog_compiler_pic='-KPIC'
8435
 
      lt_prog_compiler_static='-Bstatic'
8436
 
      ;;
8437
 
 
8438
 
    unicos*)
8439
 
      lt_prog_compiler_wl='-Wl,'
8440
 
      lt_prog_compiler_can_build_shared=no
8441
 
      ;;
8442
 
 
8443
 
    uts4*)
8444
 
      lt_prog_compiler_pic='-pic'
8445
 
      lt_prog_compiler_static='-Bstatic'
8446
 
      ;;
8447
 
 
8448
 
    *)
8449
 
      lt_prog_compiler_can_build_shared=no
8450
 
      ;;
8451
 
    esac
8452
 
  fi
8453
 
 
8454
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8455
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
8456
 
 
8457
 
#
8458
 
# Check to make sure the PIC flag actually works.
8459
 
#
8460
 
if test -n "$lt_prog_compiler_pic"; then
8461
 
 
8462
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8463
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
8464
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
8465
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8466
 
else
8467
 
  lt_prog_compiler_pic_works=no
8468
 
  ac_outfile=conftest.$ac_objext
8469
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8470
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8471
 
   # Insert the option either (1) after the last *FLAGS variable, or
8472
 
   # (2) before a word containing "conftest.", or (3) at the end.
8473
 
   # Note that $ac_compile itself does not contain backslashes and begins
8474
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8475
 
   # The option is referenced via a variable to avoid confusing sed.
8476
 
   lt_compile=`echo "$ac_compile" | $SED \
8477
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8478
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8479
 
   -e 's:$: $lt_compiler_flag:'`
8480
 
   (eval echo "\"\$as_me:8480: $lt_compile\"" >&5)
8481
 
   (eval "$lt_compile" 2>conftest.err)
8482
 
   ac_status=$?
8483
 
   cat conftest.err >&5
8484
 
   echo "$as_me:8484: \$? = $ac_status" >&5
8485
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8486
 
     # The compiler can only warn and ignore the option if not recognized
8487
 
     # So say no if there are warnings other than the usual output.
8488
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8489
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8490
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8491
 
       lt_prog_compiler_pic_works=yes
8492
 
     fi
8493
 
   fi
8494
 
   $rm conftest*
8495
 
 
8496
 
fi
8497
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
8498
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
8499
 
 
8500
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
8501
 
    case $lt_prog_compiler_pic in
8502
 
     "" | " "*) ;;
8503
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8504
 
     esac
8505
 
else
8506
 
    lt_prog_compiler_pic=
8507
 
     lt_prog_compiler_can_build_shared=no
8508
 
fi
8509
 
 
8510
 
fi
8511
 
case $host_os in
8512
 
  # For platforms which do not support PIC, -DPIC is meaningless:
8513
 
  *djgpp*)
8514
 
    lt_prog_compiler_pic=
8515
 
    ;;
8516
 
  *)
8517
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8518
 
    ;;
8519
 
esac
8520
 
 
8521
 
#
8522
 
# Check to make sure the static flag actually works.
8523
 
#
8524
 
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8525
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8526
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
8527
 
if test "${lt_prog_compiler_static_works+set}" = set; then
8528
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8529
 
else
8530
 
  lt_prog_compiler_static_works=no
8531
 
   save_LDFLAGS="$LDFLAGS"
8532
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8533
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8534
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8535
 
     # The linker can only warn and ignore the option if not recognized
8536
 
     # So say no if there are warnings
8537
 
     if test -s conftest.err; then
8538
 
       # Append any errors to the config.log.
8539
 
       cat conftest.err 1>&5
8540
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8541
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8542
 
       if diff conftest.exp conftest.er2 >/dev/null; then
8543
 
         lt_prog_compiler_static_works=yes
8544
 
       fi
8545
 
     else
8546
 
       lt_prog_compiler_static_works=yes
8547
 
     fi
8548
 
   fi
8549
 
   $rm conftest*
8550
 
   LDFLAGS="$save_LDFLAGS"
8551
 
 
8552
 
fi
8553
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
8554
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
8555
 
 
8556
 
if test x"$lt_prog_compiler_static_works" = xyes; then
8557
 
    :
8558
 
else
8559
 
    lt_prog_compiler_static=
8560
 
fi
8561
 
 
8562
 
 
8563
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8564
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8565
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8566
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8567
 
else
8568
 
  lt_cv_prog_compiler_c_o=no
8569
 
   $rm -r conftest 2>/dev/null
8570
 
   mkdir conftest
8571
 
   cd conftest
8572
 
   mkdir out
8573
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8574
 
 
8575
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8576
 
   # Insert the option either (1) after the last *FLAGS variable, or
8577
 
   # (2) before a word containing "conftest.", or (3) at the end.
8578
 
   # Note that $ac_compile itself does not contain backslashes and begins
8579
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8580
 
   lt_compile=`echo "$ac_compile" | $SED \
8581
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8582
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8583
 
   -e 's:$: $lt_compiler_flag:'`
8584
 
   (eval echo "\"\$as_me:8584: $lt_compile\"" >&5)
8585
 
   (eval "$lt_compile" 2>out/conftest.err)
8586
 
   ac_status=$?
8587
 
   cat out/conftest.err >&5
8588
 
   echo "$as_me:8588: \$? = $ac_status" >&5
8589
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8590
 
   then
8591
 
     # The compiler can only warn and ignore the option if not recognized
8592
 
     # So say no if there are warnings
8593
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8594
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8595
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8596
 
       lt_cv_prog_compiler_c_o=yes
8597
 
     fi
8598
 
   fi
8599
 
   chmod u+w . 2>&5
8600
 
   $rm conftest*
8601
 
   # SGI C++ compiler will create directory out/ii_files/ for
8602
 
   # template instantiation
8603
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
8604
 
   $rm out/* && rmdir out
8605
 
   cd ..
8606
 
   rmdir conftest
8607
 
   $rm conftest*
8608
 
 
8609
 
fi
8610
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8611
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8612
 
 
8613
 
 
8614
 
hard_links="nottested"
8615
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8616
 
  # do not overwrite the value of need_locks provided by the user
8617
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8618
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8619
 
  hard_links=yes
8620
 
  $rm conftest*
8621
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8622
 
  touch conftest.a
8623
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
8624
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8625
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
8626
 
echo "${ECHO_T}$hard_links" >&6; }
8627
 
  if test "$hard_links" = no; then
8628
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8629
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8630
 
    need_locks=warn
8631
 
  fi
8632
 
else
8633
 
  need_locks=no
8634
 
fi
8635
 
 
8636
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8637
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8638
 
 
8639
 
  runpath_var=
8640
 
  allow_undefined_flag=
8641
 
  enable_shared_with_static_runtimes=no
8642
 
  archive_cmds=
8643
 
  archive_expsym_cmds=
8644
 
  old_archive_From_new_cmds=
8645
 
  old_archive_from_expsyms_cmds=
8646
 
  export_dynamic_flag_spec=
8647
 
  whole_archive_flag_spec=
8648
 
  thread_safe_flag_spec=
8649
 
  hardcode_libdir_flag_spec=
8650
 
  hardcode_libdir_flag_spec_ld=
8651
 
  hardcode_libdir_separator=
8652
 
  hardcode_direct=no
8653
 
  hardcode_minus_L=no
8654
 
  hardcode_shlibpath_var=unsupported
8655
 
  link_all_deplibs=unknown
8656
 
  hardcode_automatic=no
8657
 
  module_cmds=
8658
 
  module_expsym_cmds=
8659
 
  always_export_symbols=no
8660
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8661
 
  # include_expsyms should be a list of space-separated symbols to be *always*
8662
 
  # included in the symbol list
8663
 
  include_expsyms=
8664
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
8665
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8666
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8667
 
  # as well as any symbol that contains `d'.
8668
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
8669
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8670
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
8671
 
  # the symbol is explicitly referenced.  Since portable code cannot
8672
 
  # rely on this symbol name, it's probably fine to never include it in
8673
 
  # preloaded symbol tables.
8674
 
  extract_expsyms_cmds=
8675
 
  # Just being paranoid about ensuring that cc_basename is set.
8676
 
  for cc_temp in $compiler""; do
8677
 
  case $cc_temp in
8678
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8679
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8680
 
    \-*) ;;
8681
 
    *) break;;
8682
 
  esac
8683
 
done
8684
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8685
 
 
8686
 
  case $host_os in
8687
 
  cygwin* | mingw* | pw32*)
8688
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8689
 
    # When not using gcc, we currently assume that we are using
8690
 
    # Microsoft Visual C++.
8691
 
    if test "$GCC" != yes; then
8692
 
      with_gnu_ld=no
8693
 
    fi
8694
 
    ;;
8695
 
  interix*)
8696
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
8697
 
    with_gnu_ld=yes
8698
 
    ;;
8699
 
  openbsd*)
8700
 
    with_gnu_ld=no
8701
 
    ;;
8702
 
  esac
8703
 
 
8704
 
  ld_shlibs=yes
8705
 
  if test "$with_gnu_ld" = yes; then
8706
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
8707
 
    wlarc='${wl}'
8708
 
 
8709
 
    # Set some defaults for GNU ld with shared library support. These
8710
 
    # are reset later if shared libraries are not supported. Putting them
8711
 
    # here allows them to be overridden if necessary.
8712
 
    runpath_var=LD_RUN_PATH
8713
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
8714
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
8715
 
    # ancient GNU ld didn't support --whole-archive et. al.
8716
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
8717
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8718
 
      else
8719
 
        whole_archive_flag_spec=
8720
 
    fi
8721
 
    supports_anon_versioning=no
8722
 
    case `$LD -v 2>/dev/null` in
8723
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8724
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8725
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8726
 
      *\ 2.11.*) ;; # other 2.11 versions
8727
 
      *) supports_anon_versioning=yes ;;
8728
 
    esac
8729
 
 
8730
 
    # See if GNU ld supports shared libraries.
8731
 
    case $host_os in
8732
 
    aix3* | aix4* | aix5*)
8733
 
      # On AIX/PPC, the GNU linker is very broken
8734
 
      if test "$host_cpu" != ia64; then
8735
 
        ld_shlibs=no
8736
 
        cat <<EOF 1>&2
8737
 
 
8738
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8739
 
*** to be unable to reliably create shared libraries on AIX.
8740
 
*** Therefore, libtool is disabling shared libraries support.  If you
8741
 
*** really care for shared libraries, you may want to modify your PATH
8742
 
*** so that a non-GNU linker is found, and then restart.
8743
 
 
8744
 
EOF
8745
 
      fi
8746
 
      ;;
8747
 
 
8748
 
    amigaos*)
8749
 
      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)'
8750
 
      hardcode_libdir_flag_spec='-L$libdir'
8751
 
      hardcode_minus_L=yes
8752
 
 
8753
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8754
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
8755
 
      # to version 4, is to share data among multiple programs linked
8756
 
      # with the same dynamic library.  Since this doesn't match the
8757
 
      # behavior of shared libraries on other platforms, we can't use
8758
 
      # them.
8759
 
      ld_shlibs=no
8760
 
      ;;
8761
 
 
8762
 
    beos*)
8763
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8764
 
        allow_undefined_flag=unsupported
8765
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8766
 
        # support --undefined.  This deserves some investigation.  FIXME
8767
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8768
 
      else
8769
 
        ld_shlibs=no
8770
 
      fi
8771
 
      ;;
8772
 
 
8773
 
    cygwin* | mingw* | pw32*)
8774
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8775
 
      # as there is no search path for DLLs.
8776
 
      hardcode_libdir_flag_spec='-L$libdir'
8777
 
      allow_undefined_flag=unsupported
8778
 
      always_export_symbols=no
8779
 
      enable_shared_with_static_runtimes=yes
8780
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8781
 
 
8782
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
8783
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8784
 
        # If the export-symbols file already is a .def file (1st line
8785
 
        # is EXPORTS), use it as is; otherwise, prepend...
8786
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8787
 
          cp $export_symbols $output_objdir/$soname.def;
8788
 
        else
8789
 
          echo EXPORTS > $output_objdir/$soname.def;
8790
 
          cat $export_symbols >> $output_objdir/$soname.def;
8791
 
        fi~
8792
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8793
 
      else
8794
 
        ld_shlibs=no
8795
 
      fi
8796
 
      ;;
8797
 
 
8798
 
    interix[3-9]*)
8799
 
      hardcode_direct=no
8800
 
      hardcode_shlibpath_var=no
8801
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8802
 
      export_dynamic_flag_spec='${wl}-E'
8803
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8804
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
8805
 
      # default) and relocated if they conflict, which is a slow very memory
8806
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
8807
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8808
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8809
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8810
 
      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'
8811
 
      ;;
8812
 
 
8813
 
    gnu* | linux* | k*bsd*-gnu)
8814
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8815
 
        tmp_addflag=
8816
 
        case $cc_basename,$host_cpu in
8817
 
        pgcc*)                          # Portland Group C compiler
8818
 
          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'
8819
 
          tmp_addflag=' $pic_flag'
8820
 
          ;;
8821
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8822
 
          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'
8823
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
8824
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
8825
 
          tmp_addflag=' -i_dynamic' ;;
8826
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8827
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
8828
 
        ifc* | ifort*)                  # Intel Fortran compiler
8829
 
          tmp_addflag=' -nofor_main' ;;
8830
 
        esac
8831
 
        case `$CC -V 2>&1 | sed 5q` in
8832
 
        *Sun\ C*)                       # Sun C 5.9
8833
 
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8834
 
          tmp_sharedflag='-G' ;;
8835
 
        *Sun\ F*)                       # Sun Fortran 8.3
8836
 
          tmp_sharedflag='-G' ;;
8837
 
        *)
8838
 
          tmp_sharedflag='-shared' ;;
8839
 
        esac
8840
 
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8841
 
 
8842
 
        if test $supports_anon_versioning = yes; then
8843
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8844
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8845
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
8846
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8847
 
        fi
8848
 
        link_all_deplibs=no
8849
 
      else
8850
 
        ld_shlibs=no
8851
 
      fi
8852
 
      ;;
8853
 
 
8854
 
    netbsd* | netbsdelf*-gnu)
8855
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8856
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8857
 
        wlarc=
8858
 
      else
8859
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8860
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8861
 
      fi
8862
 
      ;;
8863
 
 
8864
 
    solaris*)
8865
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
8866
 
        ld_shlibs=no
8867
 
        cat <<EOF 1>&2
8868
 
 
8869
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8870
 
*** create shared libraries on Solaris systems.  Therefore, libtool
8871
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
8872
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
8873
 
*** your PATH or compiler configuration so that the native linker is
8874
 
*** used, and then restart.
8875
 
 
8876
 
EOF
8877
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8878
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8879
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8880
 
      else
8881
 
        ld_shlibs=no
8882
 
      fi
8883
 
      ;;
8884
 
 
8885
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8886
 
      case `$LD -v 2>&1` in
8887
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8888
 
        ld_shlibs=no
8889
 
        cat <<_LT_EOF 1>&2
8890
 
 
8891
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8892
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
8893
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
8894
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8895
 
*** your PATH or compiler configuration so that the native linker is
8896
 
*** used, and then restart.
8897
 
 
8898
 
_LT_EOF
8899
 
        ;;
8900
 
        *)
8901
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8902
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8903
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8904
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8905
 
          else
8906
 
            ld_shlibs=no
8907
 
          fi
8908
 
        ;;
8909
 
      esac
8910
 
      ;;
8911
 
 
8912
 
    sunos4*)
8913
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8914
 
      wlarc=
8915
 
      hardcode_direct=yes
8916
 
      hardcode_shlibpath_var=no
8917
 
      ;;
8918
 
 
8919
 
    *)
8920
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8921
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8922
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8923
 
      else
8924
 
        ld_shlibs=no
8925
 
      fi
8926
 
      ;;
8927
 
    esac
8928
 
 
8929
 
    if test "$ld_shlibs" = no; then
8930
 
      runpath_var=
8931
 
      hardcode_libdir_flag_spec=
8932
 
      export_dynamic_flag_spec=
8933
 
      whole_archive_flag_spec=
8934
 
    fi
8935
 
  else
8936
 
    # PORTME fill in a description of your system's linker (not GNU ld)
8937
 
    case $host_os in
8938
 
    aix3*)
8939
 
      allow_undefined_flag=unsupported
8940
 
      always_export_symbols=yes
8941
 
      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'
8942
 
      # Note: this linker hardcodes the directories in LIBPATH if there
8943
 
      # are no directories specified by -L.
8944
 
      hardcode_minus_L=yes
8945
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8946
 
        # Neither direct hardcoding nor static linking is supported with a
8947
 
        # broken collect2.
8948
 
        hardcode_direct=unsupported
8949
 
      fi
8950
 
      ;;
8951
 
 
8952
 
    aix4* | aix5*)
8953
 
      if test "$host_cpu" = ia64; then
8954
 
        # On IA64, the linker does run time linking by default, so we don't
8955
 
        # have to do anything special.
8956
 
        aix_use_runtimelinking=no
8957
 
        exp_sym_flag='-Bexport'
8958
 
        no_entry_flag=""
8959
 
      else
8960
 
        # If we're using GNU nm, then we don't want the "-C" option.
8961
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
8962
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
8963
 
          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'
8964
 
        else
8965
 
          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'
8966
 
        fi
8967
 
        aix_use_runtimelinking=no
8968
 
 
8969
 
        # Test if we are trying to use run time linking or normal
8970
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8971
 
        # need to do runtime linking.
8972
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
8973
 
          for ld_flag in $LDFLAGS; do
8974
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8975
 
            aix_use_runtimelinking=yes
8976
 
            break
8977
 
          fi
8978
 
          done
8979
 
          ;;
8980
 
        esac
8981
 
 
8982
 
        exp_sym_flag='-bexport'
8983
 
        no_entry_flag='-bnoentry'
8984
 
      fi
8985
 
 
8986
 
      # When large executables or shared objects are built, AIX ld can
8987
 
      # have problems creating the table of contents.  If linking a library
8988
 
      # or program results in "error TOC overflow" add -mminimal-toc to
8989
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8990
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8991
 
 
8992
 
      archive_cmds=''
8993
 
      hardcode_direct=yes
8994
 
      hardcode_libdir_separator=':'
8995
 
      link_all_deplibs=yes
8996
 
 
8997
 
      if test "$GCC" = yes; then
8998
 
        case $host_os in aix4.[012]|aix4.[012].*)
8999
 
        # We only want to do this on AIX 4.2 and lower, the check
9000
 
        # below for broken collect2 doesn't work under 4.3+
9001
 
          collect2name=`${CC} -print-prog-name=collect2`
9002
 
          if test -f "$collect2name" && \
9003
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
9004
 
          then
9005
 
          # We have reworked collect2
9006
 
          :
9007
 
          else
9008
 
          # We have old collect2
9009
 
          hardcode_direct=unsupported
9010
 
          # It fails to find uninstalled libraries when the uninstalled
9011
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
9012
 
          # to unsupported forces relinking
9013
 
          hardcode_minus_L=yes
9014
 
          hardcode_libdir_flag_spec='-L$libdir'
9015
 
          hardcode_libdir_separator=
9016
 
          fi
9017
 
          ;;
9018
 
        esac
9019
 
        shared_flag='-shared'
9020
 
        if test "$aix_use_runtimelinking" = yes; then
9021
 
          shared_flag="$shared_flag "'${wl}-G'
9022
 
        fi
9023
 
      else
9024
 
        # not using gcc
9025
 
        if test "$host_cpu" = ia64; then
9026
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9027
 
        # chokes on -Wl,-G. The following line is correct:
9028
 
          shared_flag='-G'
9029
 
        else
9030
 
          if test "$aix_use_runtimelinking" = yes; then
9031
 
            shared_flag='${wl}-G'
9032
 
          else
9033
 
            shared_flag='${wl}-bM:SRE'
9034
 
          fi
9035
 
        fi
9036
 
      fi
9037
 
 
9038
 
      # It seems that -bexpall does not export symbols beginning with
9039
 
      # underscore (_), so it is better to generate a list of symbols to export.
9040
 
      always_export_symbols=yes
9041
 
      if test "$aix_use_runtimelinking" = yes; then
9042
 
        # Warning - without using the other runtime loading flags (-brtl),
9043
 
        # -berok will link without error, but may produce a broken library.
9044
 
        allow_undefined_flag='-berok'
9045
 
       # Determine the default libpath from the value encoded in an empty executable.
9046
 
       cat >conftest.$ac_ext <<_ACEOF
9047
 
/* confdefs.h.  */
9048
 
_ACEOF
9049
 
cat confdefs.h >>conftest.$ac_ext
9050
 
cat >>conftest.$ac_ext <<_ACEOF
9051
 
/* end confdefs.h.  */
9052
 
 
9053
 
int
9054
 
main ()
9055
 
{
9056
 
 
9057
 
  ;
9058
 
  return 0;
9059
 
}
9060
 
_ACEOF
9061
 
rm -f conftest.$ac_objext conftest$ac_exeext
9062
 
if { (ac_try="$ac_link"
9063
 
case "(($ac_try" in
9064
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9065
 
  *) ac_try_echo=$ac_try;;
9066
 
esac
9067
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9068
 
  (eval "$ac_link") 2>conftest.er1
9069
 
  ac_status=$?
9070
 
  grep -v '^ *+' conftest.er1 >conftest.err
9071
 
  rm -f conftest.er1
9072
 
  cat conftest.err >&5
9073
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074
 
  (exit $ac_status); } && {
9075
 
         test -z "$ac_c_werror_flag" ||
9076
 
         test ! -s conftest.err
9077
 
       } && test -s conftest$ac_exeext &&
9078
 
       $as_test_x conftest$ac_exeext; then
9079
 
 
9080
 
lt_aix_libpath_sed='
9081
 
    /Import File Strings/,/^$/ {
9082
 
        /^0/ {
9083
 
            s/^0  *\(.*\)$/\1/
9084
 
            p
9085
 
        }
9086
 
    }'
9087
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9088
 
# Check for a 64-bit object if we didn't find anything.
9089
 
if test -z "$aix_libpath"; then
9090
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9091
 
fi
9092
 
else
9093
 
  echo "$as_me: failed program was:" >&5
9094
 
sed 's/^/| /' conftest.$ac_ext >&5
9095
 
 
9096
 
 
9097
 
fi
9098
 
 
9099
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9100
 
      conftest$ac_exeext conftest.$ac_ext
9101
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9102
 
 
9103
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9104
 
        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"
9105
 
       else
9106
 
        if test "$host_cpu" = ia64; then
9107
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9108
 
          allow_undefined_flag="-z nodefs"
9109
 
          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"
9110
 
        else
9111
 
         # Determine the default libpath from the value encoded in an empty executable.
9112
 
         cat >conftest.$ac_ext <<_ACEOF
9113
 
/* confdefs.h.  */
9114
 
_ACEOF
9115
 
cat confdefs.h >>conftest.$ac_ext
9116
 
cat >>conftest.$ac_ext <<_ACEOF
9117
 
/* end confdefs.h.  */
9118
 
 
9119
 
int
9120
 
main ()
9121
 
{
9122
 
 
9123
 
  ;
9124
 
  return 0;
9125
 
}
9126
 
_ACEOF
9127
 
rm -f conftest.$ac_objext conftest$ac_exeext
9128
 
if { (ac_try="$ac_link"
9129
 
case "(($ac_try" in
9130
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9131
 
  *) ac_try_echo=$ac_try;;
9132
 
esac
9133
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9134
 
  (eval "$ac_link") 2>conftest.er1
9135
 
  ac_status=$?
9136
 
  grep -v '^ *+' conftest.er1 >conftest.err
9137
 
  rm -f conftest.er1
9138
 
  cat conftest.err >&5
9139
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140
 
  (exit $ac_status); } && {
9141
 
         test -z "$ac_c_werror_flag" ||
9142
 
         test ! -s conftest.err
9143
 
       } && test -s conftest$ac_exeext &&
9144
 
       $as_test_x conftest$ac_exeext; then
9145
 
 
9146
 
lt_aix_libpath_sed='
9147
 
    /Import File Strings/,/^$/ {
9148
 
        /^0/ {
9149
 
            s/^0  *\(.*\)$/\1/
9150
 
            p
9151
 
        }
9152
 
    }'
9153
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9154
 
# Check for a 64-bit object if we didn't find anything.
9155
 
if test -z "$aix_libpath"; then
9156
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9157
 
fi
9158
 
else
9159
 
  echo "$as_me: failed program was:" >&5
9160
 
sed 's/^/| /' conftest.$ac_ext >&5
9161
 
 
9162
 
 
9163
 
fi
9164
 
 
9165
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9166
 
      conftest$ac_exeext conftest.$ac_ext
9167
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9168
 
 
9169
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9170
 
          # Warning - without using the other run time loading flags,
9171
 
          # -berok will link without error, but may produce a broken library.
9172
 
          no_undefined_flag=' ${wl}-bernotok'
9173
 
          allow_undefined_flag=' ${wl}-berok'
9174
 
          # Exported symbols can be pulled into shared objects from archives
9175
 
          whole_archive_flag_spec='$convenience'
9176
 
          archive_cmds_need_lc=yes
9177
 
          # This is similar to how AIX traditionally builds its shared libraries.
9178
 
          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'
9179
 
        fi
9180
 
      fi
9181
 
      ;;
9182
 
 
9183
 
    amigaos*)
9184
 
      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)'
9185
 
      hardcode_libdir_flag_spec='-L$libdir'
9186
 
      hardcode_minus_L=yes
9187
 
      # see comment about different semantics on the GNU ld section
9188
 
      ld_shlibs=no
9189
 
      ;;
9190
 
 
9191
 
    bsdi[45]*)
9192
 
      export_dynamic_flag_spec=-rdynamic
9193
 
      ;;
9194
 
 
9195
 
    cygwin* | mingw* | pw32*)
9196
 
      # When not using gcc, we currently assume that we are using
9197
 
      # Microsoft Visual C++.
9198
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9199
 
      # no search path for DLLs.
9200
 
      hardcode_libdir_flag_spec=' '
9201
 
      allow_undefined_flag=unsupported
9202
 
      # Tell ltmain to make .lib files, not .a files.
9203
 
      libext=lib
9204
 
      # Tell ltmain to make .dll files, not .so files.
9205
 
      shrext_cmds=".dll"
9206
 
      # FIXME: Setting linknames here is a bad hack.
9207
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
9208
 
      # The linker will automatically build a .lib file if we build a DLL.
9209
 
      old_archive_From_new_cmds='true'
9210
 
      # FIXME: Should let the user specify the lib program.
9211
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9212
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9213
 
      enable_shared_with_static_runtimes=yes
9214
 
      ;;
9215
 
 
9216
 
    darwin* | rhapsody*)
9217
 
      case $host_os in
9218
 
        rhapsody* | darwin1.[012])
9219
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
9220
 
         ;;
9221
 
       *) # Darwin 1.3 on
9222
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9223
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9224
 
         else
9225
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
9226
 
             10.[012])
9227
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9228
 
               ;;
9229
 
             10.*)
9230
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
9231
 
               ;;
9232
 
           esac
9233
 
         fi
9234
 
         ;;
9235
 
      esac
9236
 
      archive_cmds_need_lc=no
9237
 
      hardcode_direct=no
9238
 
      hardcode_automatic=yes
9239
 
      hardcode_shlibpath_var=unsupported
9240
 
      whole_archive_flag_spec=''
9241
 
      link_all_deplibs=yes
9242
 
    if test "$GCC" = yes ; then
9243
 
        output_verbose_link_cmd='echo'
9244
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9245
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9246
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9247
 
      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}'
9248
 
      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}'
9249
 
    else
9250
 
      case $cc_basename in
9251
 
        xlc*)
9252
 
         output_verbose_link_cmd='echo'
9253
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
9254
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9255
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9256
 
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9257
 
          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}'
9258
 
          ;;
9259
 
       *)
9260
 
         ld_shlibs=no
9261
 
          ;;
9262
 
      esac
9263
 
    fi
9264
 
      ;;
9265
 
 
9266
 
    dgux*)
9267
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9268
 
      hardcode_libdir_flag_spec='-L$libdir'
9269
 
      hardcode_shlibpath_var=no
9270
 
      ;;
9271
 
 
9272
 
    freebsd1*)
9273
 
      ld_shlibs=no
9274
 
      ;;
9275
 
 
9276
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9277
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
9278
 
    # does not break anything, and helps significantly (at the cost of a little
9279
 
    # extra space).
9280
 
    freebsd2.2*)
9281
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9282
 
      hardcode_libdir_flag_spec='-R$libdir'
9283
 
      hardcode_direct=yes
9284
 
      hardcode_shlibpath_var=no
9285
 
      ;;
9286
 
 
9287
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9288
 
    freebsd2*)
9289
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9290
 
      hardcode_direct=yes
9291
 
      hardcode_minus_L=yes
9292
 
      hardcode_shlibpath_var=no
9293
 
      ;;
9294
 
 
9295
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9296
 
    freebsd* | dragonfly*)
9297
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9298
 
      hardcode_libdir_flag_spec='-R$libdir'
9299
 
      hardcode_direct=yes
9300
 
      hardcode_shlibpath_var=no
9301
 
      ;;
9302
 
 
9303
 
    hpux9*)
9304
 
      if test "$GCC" = yes; then
9305
 
        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'
9306
 
      else
9307
 
        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'
9308
 
      fi
9309
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9310
 
      hardcode_libdir_separator=:
9311
 
      hardcode_direct=yes
9312
 
 
9313
 
      # hardcode_minus_L: Not really in the search PATH,
9314
 
      # but as the default location of the library.
9315
 
      hardcode_minus_L=yes
9316
 
      export_dynamic_flag_spec='${wl}-E'
9317
 
      ;;
9318
 
 
9319
 
    hpux10*)
9320
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9321
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9322
 
      else
9323
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9324
 
      fi
9325
 
      if test "$with_gnu_ld" = no; then
9326
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9327
 
        hardcode_libdir_separator=:
9328
 
 
9329
 
        hardcode_direct=yes
9330
 
        export_dynamic_flag_spec='${wl}-E'
9331
 
 
9332
 
        # hardcode_minus_L: Not really in the search PATH,
9333
 
        # but as the default location of the library.
9334
 
        hardcode_minus_L=yes
9335
 
      fi
9336
 
      ;;
9337
 
 
9338
 
    hpux11*)
9339
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9340
 
        case $host_cpu in
9341
 
        hppa*64*)
9342
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9343
 
          ;;
9344
 
        ia64*)
9345
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9346
 
          ;;
9347
 
        *)
9348
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9349
 
          ;;
9350
 
        esac
9351
 
      else
9352
 
        case $host_cpu in
9353
 
        hppa*64*)
9354
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9355
 
          ;;
9356
 
        ia64*)
9357
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9358
 
          ;;
9359
 
        *)
9360
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9361
 
          ;;
9362
 
        esac
9363
 
      fi
9364
 
      if test "$with_gnu_ld" = no; then
9365
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9366
 
        hardcode_libdir_separator=:
9367
 
 
9368
 
        case $host_cpu in
9369
 
        hppa*64*|ia64*)
9370
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
9371
 
          hardcode_direct=no
9372
 
          hardcode_shlibpath_var=no
9373
 
          ;;
9374
 
        *)
9375
 
          hardcode_direct=yes
9376
 
          export_dynamic_flag_spec='${wl}-E'
9377
 
 
9378
 
          # hardcode_minus_L: Not really in the search PATH,
9379
 
          # but as the default location of the library.
9380
 
          hardcode_minus_L=yes
9381
 
          ;;
9382
 
        esac
9383
 
      fi
9384
 
      ;;
9385
 
 
9386
 
    irix5* | irix6* | nonstopux*)
9387
 
      if test "$GCC" = yes; then
9388
 
        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'
9389
 
      else
9390
 
        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'
9391
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
9392
 
      fi
9393
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9394
 
      hardcode_libdir_separator=:
9395
 
      link_all_deplibs=yes
9396
 
      ;;
9397
 
 
9398
 
    netbsd* | netbsdelf*-gnu)
9399
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9400
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9401
 
      else
9402
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9403
 
      fi
9404
 
      hardcode_libdir_flag_spec='-R$libdir'
9405
 
      hardcode_direct=yes
9406
 
      hardcode_shlibpath_var=no
9407
 
      ;;
9408
 
 
9409
 
    newsos6)
9410
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9411
 
      hardcode_direct=yes
9412
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9413
 
      hardcode_libdir_separator=:
9414
 
      hardcode_shlibpath_var=no
9415
 
      ;;
9416
 
 
9417
 
    openbsd*)
9418
 
      if test -f /usr/libexec/ld.so; then
9419
 
        hardcode_direct=yes
9420
 
        hardcode_shlibpath_var=no
9421
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9422
 
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9423
 
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9424
 
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9425
 
          export_dynamic_flag_spec='${wl}-E'
9426
 
        else
9427
 
          case $host_os in
9428
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9429
 
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9430
 
             hardcode_libdir_flag_spec='-R$libdir'
9431
 
             ;;
9432
 
           *)
9433
 
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9434
 
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9435
 
             ;;
9436
 
          esac
9437
 
        fi
9438
 
      else
9439
 
        ld_shlibs=no
9440
 
      fi
9441
 
      ;;
9442
 
 
9443
 
    os2*)
9444
 
      hardcode_libdir_flag_spec='-L$libdir'
9445
 
      hardcode_minus_L=yes
9446
 
      allow_undefined_flag=unsupported
9447
 
      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'
9448
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9449
 
      ;;
9450
 
 
9451
 
    osf3*)
9452
 
      if test "$GCC" = yes; then
9453
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9454
 
        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'
9455
 
      else
9456
 
        allow_undefined_flag=' -expect_unresolved \*'
9457
 
        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'
9458
 
      fi
9459
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9460
 
      hardcode_libdir_separator=:
9461
 
      ;;
9462
 
 
9463
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9464
 
      if test "$GCC" = yes; then
9465
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9466
 
        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'
9467
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9468
 
      else
9469
 
        allow_undefined_flag=' -expect_unresolved \*'
9470
 
        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'
9471
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9472
 
        $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'
9473
 
 
9474
 
        # Both c and cxx compiler support -rpath directly
9475
 
        hardcode_libdir_flag_spec='-rpath $libdir'
9476
 
      fi
9477
 
      hardcode_libdir_separator=:
9478
 
      ;;
9479
 
 
9480
 
    solaris*)
9481
 
      no_undefined_flag=' -z text'
9482
 
      if test "$GCC" = yes; then
9483
 
        wlarc='${wl}'
9484
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9485
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9486
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
9487
 
      else
9488
 
        wlarc=''
9489
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9490
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9491
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9492
 
      fi
9493
 
      hardcode_libdir_flag_spec='-R$libdir'
9494
 
      hardcode_shlibpath_var=no
9495
 
      case $host_os in
9496
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
9497
 
      *)
9498
 
        # The compiler driver will combine and reorder linker options,
9499
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
9500
 
        # but is careful enough not to reorder.
9501
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
9502
 
        if test "$GCC" = yes; then
9503
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9504
 
        else
9505
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9506
 
        fi
9507
 
        ;;
9508
 
      esac
9509
 
      link_all_deplibs=yes
9510
 
      ;;
9511
 
 
9512
 
    sunos4*)
9513
 
      if test "x$host_vendor" = xsequent; then
9514
 
        # Use $CC to link under sequent, because it throws in some extra .o
9515
 
        # files that make .init and .fini sections work.
9516
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9517
 
      else
9518
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9519
 
      fi
9520
 
      hardcode_libdir_flag_spec='-L$libdir'
9521
 
      hardcode_direct=yes
9522
 
      hardcode_minus_L=yes
9523
 
      hardcode_shlibpath_var=no
9524
 
      ;;
9525
 
 
9526
 
    sysv4)
9527
 
      case $host_vendor in
9528
 
        sni)
9529
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9530
 
          hardcode_direct=yes # is this really true???
9531
 
        ;;
9532
 
        siemens)
9533
 
          ## LD is ld it makes a PLAMLIB
9534
 
          ## CC just makes a GrossModule.
9535
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9536
 
          reload_cmds='$CC -r -o $output$reload_objs'
9537
 
          hardcode_direct=no
9538
 
        ;;
9539
 
        motorola)
9540
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9541
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9542
 
        ;;
9543
 
      esac
9544
 
      runpath_var='LD_RUN_PATH'
9545
 
      hardcode_shlibpath_var=no
9546
 
      ;;
9547
 
 
9548
 
    sysv4.3*)
9549
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9550
 
      hardcode_shlibpath_var=no
9551
 
      export_dynamic_flag_spec='-Bexport'
9552
 
      ;;
9553
 
 
9554
 
    sysv4*MP*)
9555
 
      if test -d /usr/nec; then
9556
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9557
 
        hardcode_shlibpath_var=no
9558
 
        runpath_var=LD_RUN_PATH
9559
 
        hardcode_runpath_var=yes
9560
 
        ld_shlibs=yes
9561
 
      fi
9562
 
      ;;
9563
 
 
9564
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9565
 
      no_undefined_flag='${wl}-z,text'
9566
 
      archive_cmds_need_lc=no
9567
 
      hardcode_shlibpath_var=no
9568
 
      runpath_var='LD_RUN_PATH'
9569
 
 
9570
 
      if test "$GCC" = yes; then
9571
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9572
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9573
 
      else
9574
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9575
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9576
 
      fi
9577
 
      ;;
9578
 
 
9579
 
    sysv5* | sco3.2v5* | sco5v6*)
9580
 
      # Note: We can NOT use -z defs as we might desire, because we do not
9581
 
      # link with -lc, and that would cause any symbols used from libc to
9582
 
      # always be unresolved, which means just about no library would
9583
 
      # ever link correctly.  If we're not using GNU ld we use -z text
9584
 
      # though, which does catch some bad symbols but isn't as heavy-handed
9585
 
      # as -z defs.
9586
 
      no_undefined_flag='${wl}-z,text'
9587
 
      allow_undefined_flag='${wl}-z,nodefs'
9588
 
      archive_cmds_need_lc=no
9589
 
      hardcode_shlibpath_var=no
9590
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
9591
 
      hardcode_libdir_separator=':'
9592
 
      link_all_deplibs=yes
9593
 
      export_dynamic_flag_spec='${wl}-Bexport'
9594
 
      runpath_var='LD_RUN_PATH'
9595
 
 
9596
 
      if test "$GCC" = yes; then
9597
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9598
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9599
 
      else
9600
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9601
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9602
 
      fi
9603
 
      ;;
9604
 
 
9605
 
    uts4*)
9606
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9607
 
      hardcode_libdir_flag_spec='-L$libdir'
9608
 
      hardcode_shlibpath_var=no
9609
 
      ;;
9610
 
 
9611
 
    *)
9612
 
      ld_shlibs=no
9613
 
      ;;
9614
 
    esac
9615
 
  fi
9616
 
 
9617
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9618
 
echo "${ECHO_T}$ld_shlibs" >&6; }
9619
 
test "$ld_shlibs" = no && can_build_shared=no
9620
 
 
9621
 
#
9622
 
# Do we need to explicitly link libc?
9623
 
#
9624
 
case "x$archive_cmds_need_lc" in
9625
 
x|xyes)
9626
 
  # Assume -lc should be added
9627
 
  archive_cmds_need_lc=yes
9628
 
 
9629
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
9630
 
    case $archive_cmds in
9631
 
    *'~'*)
9632
 
      # FIXME: we may have to deal with multi-command sequences.
9633
 
      ;;
9634
 
    '$CC '*)
9635
 
      # Test whether the compiler implicitly links with -lc since on some
9636
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9637
 
      # to ld, don't add -lc before -lgcc.
9638
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9639
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9640
 
      $rm conftest*
9641
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9642
 
 
9643
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9644
 
  (eval $ac_compile) 2>&5
9645
 
  ac_status=$?
9646
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9647
 
  (exit $ac_status); } 2>conftest.err; then
9648
 
        soname=conftest
9649
 
        lib=conftest
9650
 
        libobjs=conftest.$ac_objext
9651
 
        deplibs=
9652
 
        wl=$lt_prog_compiler_wl
9653
 
        pic_flag=$lt_prog_compiler_pic
9654
 
        compiler_flags=-v
9655
 
        linker_flags=-v
9656
 
        verstring=
9657
 
        output_objdir=.
9658
 
        libname=conftest
9659
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
9660
 
        allow_undefined_flag=
9661
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9662
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
9663
 
  ac_status=$?
9664
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9665
 
  (exit $ac_status); }
9666
 
        then
9667
 
          archive_cmds_need_lc=no
9668
 
        else
9669
 
          archive_cmds_need_lc=yes
9670
 
        fi
9671
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
9672
 
      else
9673
 
        cat conftest.err 1>&5
9674
 
      fi
9675
 
      $rm conftest*
9676
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9677
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9678
 
      ;;
9679
 
    esac
9680
 
  fi
9681
 
  ;;
9682
 
esac
9683
 
 
9684
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9685
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9686
 
library_names_spec=
9687
 
libname_spec='lib$name'
9688
 
soname_spec=
9689
 
shrext_cmds=".so"
9690
 
postinstall_cmds=
9691
 
postuninstall_cmds=
9692
 
finish_cmds=
9693
 
finish_eval=
9694
 
shlibpath_var=
9695
 
shlibpath_overrides_runpath=unknown
9696
 
version_type=none
9697
 
dynamic_linker="$host_os ld.so"
9698
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9699
 
 
9700
 
if test "$GCC" = yes; then
9701
 
  case $host_os in
9702
 
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9703
 
    *) lt_awk_arg="/^libraries:/" ;;
9704
 
  esac
9705
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9706
 
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
9707
 
    # if the path contains ";" then we assume it to be the separator
9708
 
    # otherwise default to the standard path separator (i.e. ":") - it is
9709
 
    # assumed that no part of a normal pathname contains ";" but that should
9710
 
    # okay in the real world where ";" in dirpaths is itself problematic.
9711
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9712
 
  else
9713
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9714
 
  fi
9715
 
  # Ok, now we have the path, separated by spaces, we can step through it
9716
 
  # and add multilib dir if necessary.
9717
 
  lt_tmp_lt_search_path_spec=
9718
 
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9719
 
  for lt_sys_path in $lt_search_path_spec; do
9720
 
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9721
 
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9722
 
    else
9723
 
      test -d "$lt_sys_path" && \
9724
 
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9725
 
    fi
9726
 
  done
9727
 
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
9728
 
BEGIN {RS=" "; FS="/|\n";} {
9729
 
  lt_foo="";
9730
 
  lt_count=0;
9731
 
  for (lt_i = NF; lt_i > 0; lt_i--) {
9732
 
    if ($lt_i != "" && $lt_i != ".") {
9733
 
      if ($lt_i == "..") {
9734
 
        lt_count++;
9735
 
      } else {
9736
 
        if (lt_count == 0) {
9737
 
          lt_foo="/" $lt_i lt_foo;
9738
 
        } else {
9739
 
          lt_count--;
9740
 
        }
9741
 
      }
9742
 
    }
9743
 
  }
9744
 
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9745
 
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9746
 
}'`
9747
 
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
9748
 
else
9749
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9750
 
fi
9751
 
need_lib_prefix=unknown
9752
 
hardcode_into_libs=no
9753
 
 
9754
 
# when you set need_version to no, make sure it does not cause -set_version
9755
 
# flags to be left without arguments
9756
 
need_version=unknown
9757
 
 
9758
 
case $host_os in
9759
 
aix3*)
9760
 
  version_type=linux
9761
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9762
 
  shlibpath_var=LIBPATH
9763
 
 
9764
 
  # AIX 3 has no versioning support, so we append a major version to the name.
9765
 
  soname_spec='${libname}${release}${shared_ext}$major'
9766
 
  ;;
9767
 
 
9768
 
aix4* | aix5*)
9769
 
  version_type=linux
9770
 
  need_lib_prefix=no
9771
 
  need_version=no
9772
 
  hardcode_into_libs=yes
9773
 
  if test "$host_cpu" = ia64; then
9774
 
    # AIX 5 supports IA64
9775
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9776
 
    shlibpath_var=LD_LIBRARY_PATH
9777
 
  else
9778
 
    # With GCC up to 2.95.x, collect2 would create an import file
9779
 
    # for dependence libraries.  The import file would start with
9780
 
    # the line `#! .'.  This would cause the generated library to
9781
 
    # depend on `.', always an invalid library.  This was fixed in
9782
 
    # development snapshots of GCC prior to 3.0.
9783
 
    case $host_os in
9784
 
      aix4 | aix4.[01] | aix4.[01].*)
9785
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9786
 
           echo ' yes '
9787
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
9788
 
        :
9789
 
      else
9790
 
        can_build_shared=no
9791
 
      fi
9792
 
      ;;
9793
 
    esac
9794
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9795
 
    # soname into executable. Probably we can add versioning support to
9796
 
    # collect2, so additional links can be useful in future.
9797
 
    if test "$aix_use_runtimelinking" = yes; then
9798
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9799
 
      # instead of lib<name>.a to let people know that these are not
9800
 
      # typical AIX shared libraries.
9801
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9802
 
    else
9803
 
      # We preserve .a as extension for shared libraries through AIX4.2
9804
 
      # and later when we are not doing run time linking.
9805
 
      library_names_spec='${libname}${release}.a $libname.a'
9806
 
      soname_spec='${libname}${release}${shared_ext}$major'
9807
 
    fi
9808
 
    shlibpath_var=LIBPATH
9809
 
  fi
9810
 
  ;;
9811
 
 
9812
 
amigaos*)
9813
 
  library_names_spec='$libname.ixlibrary $libname.a'
9814
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
9815
 
  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'
9816
 
  ;;
9817
 
 
9818
 
beos*)
9819
 
  library_names_spec='${libname}${shared_ext}'
9820
 
  dynamic_linker="$host_os ld.so"
9821
 
  shlibpath_var=LIBRARY_PATH
9822
 
  ;;
9823
 
 
9824
 
bsdi[45]*)
9825
 
  version_type=linux
9826
 
  need_version=no
9827
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9828
 
  soname_spec='${libname}${release}${shared_ext}$major'
9829
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9830
 
  shlibpath_var=LD_LIBRARY_PATH
9831
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9832
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9833
 
  # the default ld.so.conf also contains /usr/contrib/lib and
9834
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9835
 
  # libtool to hard-code these into programs
9836
 
  ;;
9837
 
 
9838
 
cygwin* | mingw* | pw32*)
9839
 
  version_type=windows
9840
 
  shrext_cmds=".dll"
9841
 
  need_version=no
9842
 
  need_lib_prefix=no
9843
 
 
9844
 
  case $GCC,$host_os in
9845
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
9846
 
    library_names_spec='$libname.dll.a'
9847
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9848
 
    postinstall_cmds='base_file=`basename \${file}`~
9849
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9850
 
      dldir=$destdir/`dirname \$dlpath`~
9851
 
      test -d \$dldir || mkdir -p \$dldir~
9852
 
      $install_prog $dir/$dlname \$dldir/$dlname~
9853
 
      chmod a+x \$dldir/$dlname'
9854
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9855
 
      dlpath=$dir/\$dldll~
9856
 
       $rm \$dlpath'
9857
 
    shlibpath_overrides_runpath=yes
9858
 
 
9859
 
    case $host_os in
9860
 
    cygwin*)
9861
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9862
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9863
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9864
 
      ;;
9865
 
    mingw*)
9866
 
      # MinGW DLLs use traditional 'lib' prefix
9867
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9868
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9869
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
9870
 
        # It is most probably a Windows format PATH printed by
9871
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9872
 
        # path with ; separators, and with drive letters. We can handle the
9873
 
        # drive letters (cygwin fileutils understands them), so leave them,
9874
 
        # especially as we might pass files found there to a mingw objdump,
9875
 
        # which wouldn't understand a cygwinified path. Ahh.
9876
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9877
 
      else
9878
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9879
 
      fi
9880
 
      ;;
9881
 
    pw32*)
9882
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
9883
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9884
 
      ;;
9885
 
    esac
9886
 
    ;;
9887
 
 
9888
 
  *)
9889
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9890
 
    ;;
9891
 
  esac
9892
 
  dynamic_linker='Win32 ld.exe'
9893
 
  # FIXME: first we should search . and the directory the executable is in
9894
 
  shlibpath_var=PATH
9895
 
  ;;
9896
 
 
9897
 
darwin* | rhapsody*)
9898
 
  dynamic_linker="$host_os dyld"
9899
 
  version_type=darwin
9900
 
  need_lib_prefix=no
9901
 
  need_version=no
9902
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9903
 
  soname_spec='${libname}${release}${major}$shared_ext'
9904
 
  shlibpath_overrides_runpath=yes
9905
 
  shlibpath_var=DYLD_LIBRARY_PATH
9906
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9907
 
 
9908
 
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9909
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9910
 
  ;;
9911
 
 
9912
 
dgux*)
9913
 
  version_type=linux
9914
 
  need_lib_prefix=no
9915
 
  need_version=no
9916
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9917
 
  soname_spec='${libname}${release}${shared_ext}$major'
9918
 
  shlibpath_var=LD_LIBRARY_PATH
9919
 
  ;;
9920
 
 
9921
 
freebsd1*)
9922
 
  dynamic_linker=no
9923
 
  ;;
9924
 
 
9925
 
freebsd* | dragonfly*)
9926
 
  # DragonFly does not have aout.  When/if they implement a new
9927
 
  # versioning mechanism, adjust this.
9928
 
  if test -x /usr/bin/objformat; then
9929
 
    objformat=`/usr/bin/objformat`
9930
 
  else
9931
 
    case $host_os in
9932
 
    freebsd[123]*) objformat=aout ;;
9933
 
    *) objformat=elf ;;
9934
 
    esac
9935
 
  fi
9936
 
  version_type=freebsd-$objformat
9937
 
  case $version_type in
9938
 
    freebsd-elf*)
9939
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9940
 
      need_version=no
9941
 
      need_lib_prefix=no
9942
 
      ;;
9943
 
    freebsd-*)
9944
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9945
 
      need_version=yes
9946
 
      ;;
9947
 
  esac
9948
 
  shlibpath_var=LD_LIBRARY_PATH
9949
 
  case $host_os in
9950
 
  freebsd2*)
9951
 
    shlibpath_overrides_runpath=yes
9952
 
    ;;
9953
 
  freebsd3.[01]* | freebsdelf3.[01]*)
9954
 
    shlibpath_overrides_runpath=yes
9955
 
    hardcode_into_libs=yes
9956
 
    ;;
9957
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9958
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9959
 
    shlibpath_overrides_runpath=no
9960
 
    hardcode_into_libs=yes
9961
 
    ;;
9962
 
  *) # from 4.6 on, and DragonFly
9963
 
    shlibpath_overrides_runpath=yes
9964
 
    hardcode_into_libs=yes
9965
 
    ;;
9966
 
  esac
9967
 
  ;;
9968
 
 
9969
 
gnu*)
9970
 
  version_type=linux
9971
 
  need_lib_prefix=no
9972
 
  need_version=no
9973
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9974
 
  soname_spec='${libname}${release}${shared_ext}$major'
9975
 
  shlibpath_var=LD_LIBRARY_PATH
9976
 
  hardcode_into_libs=yes
9977
 
  ;;
9978
 
 
9979
 
hpux9* | hpux10* | hpux11*)
9980
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
9981
 
  # link against other versions.
9982
 
  version_type=sunos
9983
 
  need_lib_prefix=no
9984
 
  need_version=no
9985
 
  case $host_cpu in
9986
 
  ia64*)
9987
 
    shrext_cmds='.so'
9988
 
    hardcode_into_libs=yes
9989
 
    dynamic_linker="$host_os dld.so"
9990
 
    shlibpath_var=LD_LIBRARY_PATH
9991
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9992
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9993
 
    soname_spec='${libname}${release}${shared_ext}$major'
9994
 
    if test "X$HPUX_IA64_MODE" = X32; then
9995
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9996
 
    else
9997
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9998
 
    fi
9999
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10000
 
    ;;
10001
 
   hppa*64*)
10002
 
     shrext_cmds='.sl'
10003
 
     hardcode_into_libs=yes
10004
 
     dynamic_linker="$host_os dld.sl"
10005
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10006
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10007
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10008
 
     soname_spec='${libname}${release}${shared_ext}$major'
10009
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10010
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10011
 
     ;;
10012
 
   *)
10013
 
    shrext_cmds='.sl'
10014
 
    dynamic_linker="$host_os dld.sl"
10015
 
    shlibpath_var=SHLIB_PATH
10016
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10017
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10018
 
    soname_spec='${libname}${release}${shared_ext}$major'
10019
 
    ;;
10020
 
  esac
10021
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10022
 
  postinstall_cmds='chmod 555 $lib'
10023
 
  ;;
10024
 
 
10025
 
interix[3-9]*)
10026
 
  version_type=linux
10027
 
  need_lib_prefix=no
10028
 
  need_version=no
10029
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10030
 
  soname_spec='${libname}${release}${shared_ext}$major'
10031
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10032
 
  shlibpath_var=LD_LIBRARY_PATH
10033
 
  shlibpath_overrides_runpath=no
10034
 
  hardcode_into_libs=yes
10035
 
  ;;
10036
 
 
10037
 
irix5* | irix6* | nonstopux*)
10038
 
  case $host_os in
10039
 
    nonstopux*) version_type=nonstopux ;;
10040
 
    *)
10041
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
10042
 
                version_type=linux
10043
 
        else
10044
 
                version_type=irix
10045
 
        fi ;;
10046
 
  esac
10047
 
  need_lib_prefix=no
10048
 
  need_version=no
10049
 
  soname_spec='${libname}${release}${shared_ext}$major'
10050
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10051
 
  case $host_os in
10052
 
  irix5* | nonstopux*)
10053
 
    libsuff= shlibsuff=
10054
 
    ;;
10055
 
  *)
10056
 
    case $LD in # libtool.m4 will add one of these switches to LD
10057
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10058
 
      libsuff= shlibsuff= libmagic=32-bit;;
10059
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10060
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
10061
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10062
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10063
 
    *) libsuff= shlibsuff= libmagic=never-match;;
10064
 
    esac
10065
 
    ;;
10066
 
  esac
10067
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10068
 
  shlibpath_overrides_runpath=no
10069
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10070
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10071
 
  hardcode_into_libs=yes
10072
 
  ;;
10073
 
 
10074
 
# No shared lib support for Linux oldld, aout, or coff.
10075
 
linux*oldld* | linux*aout* | linux*coff*)
10076
 
  dynamic_linker=no
10077
 
  ;;
10078
 
 
10079
 
# This must be Linux ELF.
10080
 
linux* | k*bsd*-gnu)
10081
 
  version_type=linux
10082
 
  need_lib_prefix=no
10083
 
  need_version=no
10084
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10085
 
  soname_spec='${libname}${release}${shared_ext}$major'
10086
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10087
 
  shlibpath_var=LD_LIBRARY_PATH
10088
 
  shlibpath_overrides_runpath=no
10089
 
  # This implies no fast_install, which is unacceptable.
10090
 
  # Some rework will be needed to allow for fast_install
10091
 
  # before this can be enabled.
10092
 
  hardcode_into_libs=yes
10093
 
 
10094
 
  # Append ld.so.conf contents to the search path
10095
 
  if test -f /etc/ld.so.conf; then
10096
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10097
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10098
 
  fi
10099
 
 
10100
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10101
 
  # powerpc, because MkLinux only supported shared libraries with the
10102
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
10103
 
  # most powerpc-linux boxes support dynamic linking these days and
10104
 
  # people can always --disable-shared, the test was removed, and we
10105
 
  # assume the GNU/Linux dynamic linker is in use.
10106
 
  dynamic_linker='GNU/Linux ld.so'
10107
 
  ;;
10108
 
 
10109
 
netbsdelf*-gnu)
10110
 
  version_type=linux
10111
 
  need_lib_prefix=no
10112
 
  need_version=no
10113
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10114
 
  soname_spec='${libname}${release}${shared_ext}$major'
10115
 
  shlibpath_var=LD_LIBRARY_PATH
10116
 
  shlibpath_overrides_runpath=no
10117
 
  hardcode_into_libs=yes
10118
 
  dynamic_linker='NetBSD ld.elf_so'
10119
 
  ;;
10120
 
 
10121
 
netbsd*)
10122
 
  version_type=sunos
10123
 
  need_lib_prefix=no
10124
 
  need_version=no
10125
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10126
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10127
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10128
 
    dynamic_linker='NetBSD (a.out) ld.so'
10129
 
  else
10130
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10131
 
    soname_spec='${libname}${release}${shared_ext}$major'
10132
 
    dynamic_linker='NetBSD ld.elf_so'
10133
 
  fi
10134
 
  shlibpath_var=LD_LIBRARY_PATH
10135
 
  shlibpath_overrides_runpath=yes
10136
 
  hardcode_into_libs=yes
10137
 
  ;;
10138
 
 
10139
 
newsos6)
10140
 
  version_type=linux
10141
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10142
 
  shlibpath_var=LD_LIBRARY_PATH
10143
 
  shlibpath_overrides_runpath=yes
10144
 
  ;;
10145
 
 
10146
 
nto-qnx*)
10147
 
  version_type=linux
10148
 
  need_lib_prefix=no
10149
 
  need_version=no
10150
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10151
 
  soname_spec='${libname}${release}${shared_ext}$major'
10152
 
  shlibpath_var=LD_LIBRARY_PATH
10153
 
  shlibpath_overrides_runpath=yes
10154
 
  ;;
10155
 
 
10156
 
openbsd*)
10157
 
  version_type=sunos
10158
 
  sys_lib_dlsearch_path_spec="/usr/lib"
10159
 
  need_lib_prefix=no
10160
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10161
 
  case $host_os in
10162
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10163
 
    *)                         need_version=no  ;;
10164
 
  esac
10165
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10166
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10167
 
  shlibpath_var=LD_LIBRARY_PATH
10168
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10169
 
    case $host_os in
10170
 
      openbsd2.[89] | openbsd2.[89].*)
10171
 
        shlibpath_overrides_runpath=no
10172
 
        ;;
10173
 
      *)
10174
 
        shlibpath_overrides_runpath=yes
10175
 
        ;;
10176
 
      esac
10177
 
  else
10178
 
    shlibpath_overrides_runpath=yes
10179
 
  fi
10180
 
  ;;
10181
 
 
10182
 
os2*)
10183
 
  libname_spec='$name'
10184
 
  shrext_cmds=".dll"
10185
 
  need_lib_prefix=no
10186
 
  library_names_spec='$libname${shared_ext} $libname.a'
10187
 
  dynamic_linker='OS/2 ld.exe'
10188
 
  shlibpath_var=LIBPATH
10189
 
  ;;
10190
 
 
10191
 
osf3* | osf4* | osf5*)
10192
 
  version_type=osf
10193
 
  need_lib_prefix=no
10194
 
  need_version=no
10195
 
  soname_spec='${libname}${release}${shared_ext}$major'
10196
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10197
 
  shlibpath_var=LD_LIBRARY_PATH
10198
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10199
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10200
 
  ;;
10201
 
 
10202
 
rdos*)
10203
 
  dynamic_linker=no
10204
 
  ;;
10205
 
 
10206
 
solaris*)
10207
 
  version_type=linux
10208
 
  need_lib_prefix=no
10209
 
  need_version=no
10210
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10211
 
  soname_spec='${libname}${release}${shared_ext}$major'
10212
 
  shlibpath_var=LD_LIBRARY_PATH
10213
 
  shlibpath_overrides_runpath=yes
10214
 
  hardcode_into_libs=yes
10215
 
  # ldd complains unless libraries are executable
10216
 
  postinstall_cmds='chmod +x $lib'
10217
 
  ;;
10218
 
 
10219
 
sunos4*)
10220
 
  version_type=sunos
10221
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10222
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10223
 
  shlibpath_var=LD_LIBRARY_PATH
10224
 
  shlibpath_overrides_runpath=yes
10225
 
  if test "$with_gnu_ld" = yes; then
10226
 
    need_lib_prefix=no
10227
 
  fi
10228
 
  need_version=yes
10229
 
  ;;
10230
 
 
10231
 
sysv4 | sysv4.3*)
10232
 
  version_type=linux
10233
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10234
 
  soname_spec='${libname}${release}${shared_ext}$major'
10235
 
  shlibpath_var=LD_LIBRARY_PATH
10236
 
  case $host_vendor in
10237
 
    sni)
10238
 
      shlibpath_overrides_runpath=no
10239
 
      need_lib_prefix=no
10240
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
10241
 
      runpath_var=LD_RUN_PATH
10242
 
      ;;
10243
 
    siemens)
10244
 
      need_lib_prefix=no
10245
 
      ;;
10246
 
    motorola)
10247
 
      need_lib_prefix=no
10248
 
      need_version=no
10249
 
      shlibpath_overrides_runpath=no
10250
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10251
 
      ;;
10252
 
  esac
10253
 
  ;;
10254
 
 
10255
 
sysv4*MP*)
10256
 
  if test -d /usr/nec ;then
10257
 
    version_type=linux
10258
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10259
 
    soname_spec='$libname${shared_ext}.$major'
10260
 
    shlibpath_var=LD_LIBRARY_PATH
10261
 
  fi
10262
 
  ;;
10263
 
 
10264
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10265
 
  version_type=freebsd-elf
10266
 
  need_lib_prefix=no
10267
 
  need_version=no
10268
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10269
 
  soname_spec='${libname}${release}${shared_ext}$major'
10270
 
  shlibpath_var=LD_LIBRARY_PATH
10271
 
  hardcode_into_libs=yes
10272
 
  if test "$with_gnu_ld" = yes; then
10273
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10274
 
    shlibpath_overrides_runpath=no
10275
 
  else
10276
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10277
 
    shlibpath_overrides_runpath=yes
10278
 
    case $host_os in
10279
 
      sco3.2v5*)
10280
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10281
 
        ;;
10282
 
    esac
10283
 
  fi
10284
 
  sys_lib_dlsearch_path_spec='/usr/lib'
10285
 
  ;;
10286
 
 
10287
 
uts4*)
10288
 
  version_type=linux
10289
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10290
 
  soname_spec='${libname}${release}${shared_ext}$major'
10291
 
  shlibpath_var=LD_LIBRARY_PATH
10292
 
  ;;
10293
 
 
10294
 
*)
10295
 
  dynamic_linker=no
10296
 
  ;;
10297
 
esac
10298
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10299
 
echo "${ECHO_T}$dynamic_linker" >&6; }
10300
 
test "$dynamic_linker" = no && can_build_shared=no
10301
 
 
10302
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10303
 
if test "$GCC" = yes; then
10304
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10305
 
fi
10306
 
 
10307
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10308
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10309
 
hardcode_action=
10310
 
if test -n "$hardcode_libdir_flag_spec" || \
10311
 
   test -n "$runpath_var" || \
10312
 
   test "X$hardcode_automatic" = "Xyes" ; then
10313
 
 
10314
 
  # We can hardcode non-existant directories.
10315
 
  if test "$hardcode_direct" != no &&
10316
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10317
 
     # have to relink, otherwise we might link with an installed library
10318
 
     # when we should be linking with a yet-to-be-installed one
10319
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
10320
 
     test "$hardcode_minus_L" != no; then
10321
 
    # Linking always hardcodes the temporary library directory.
10322
 
    hardcode_action=relink
10323
 
  else
10324
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10325
 
    hardcode_action=immediate
10326
 
  fi
10327
 
else
10328
 
  # We cannot hardcode anything, or else we can only hardcode existing
10329
 
  # directories.
10330
 
  hardcode_action=unsupported
10331
 
fi
10332
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
10333
 
echo "${ECHO_T}$hardcode_action" >&6; }
10334
 
 
10335
 
if test "$hardcode_action" = relink; then
10336
 
  # Fast installation is not supported
10337
 
  enable_fast_install=no
10338
 
elif test "$shlibpath_overrides_runpath" = yes ||
10339
 
     test "$enable_shared" = no; then
10340
 
  # Fast installation is not necessary
10341
 
  enable_fast_install=needless
10342
 
fi
10343
 
 
10344
 
striplib=
10345
 
old_striplib=
10346
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10347
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10348
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10349
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10350
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10351
 
  { echo "$as_me:$LINENO: result: yes" >&5
10352
 
echo "${ECHO_T}yes" >&6; }
10353
 
else
10354
 
# FIXME - insert some real tests, host_os isn't really good enough
10355
 
  case $host_os in
10356
 
   darwin*)
10357
 
       if test -n "$STRIP" ; then
10358
 
         striplib="$STRIP -x"
10359
 
         old_striplib="$STRIP -S"
10360
 
         { echo "$as_me:$LINENO: result: yes" >&5
10361
 
echo "${ECHO_T}yes" >&6; }
10362
 
       else
10363
 
  { echo "$as_me:$LINENO: result: no" >&5
10364
 
echo "${ECHO_T}no" >&6; }
10365
 
fi
10366
 
       ;;
10367
 
   *)
10368
 
  { echo "$as_me:$LINENO: result: no" >&5
10369
 
echo "${ECHO_T}no" >&6; }
10370
 
    ;;
10371
 
  esac
10372
 
fi
10373
 
 
10374
 
if test "x$enable_dlopen" != xyes; then
10375
 
  enable_dlopen=unknown
10376
 
  enable_dlopen_self=unknown
10377
 
  enable_dlopen_self_static=unknown
10378
 
else
10379
 
  lt_cv_dlopen=no
10380
 
  lt_cv_dlopen_libs=
10381
 
 
10382
 
  case $host_os in
10383
 
  beos*)
10384
 
    lt_cv_dlopen="load_add_on"
10385
 
    lt_cv_dlopen_libs=
10386
 
    lt_cv_dlopen_self=yes
10387
 
    ;;
10388
 
 
10389
 
  mingw* | pw32*)
10390
 
    lt_cv_dlopen="LoadLibrary"
10391
 
    lt_cv_dlopen_libs=
10392
 
   ;;
10393
 
 
10394
 
  cygwin*)
10395
 
    lt_cv_dlopen="dlopen"
10396
 
    lt_cv_dlopen_libs=
10397
 
   ;;
10398
 
 
10399
 
  darwin*)
10400
 
  # if libdl is installed we need to link against it
10401
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10402
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10403
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10404
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10405
 
else
10406
 
  ac_check_lib_save_LIBS=$LIBS
10407
 
LIBS="-ldl  $LIBS"
10408
 
cat >conftest.$ac_ext <<_ACEOF
10409
 
/* confdefs.h.  */
10410
 
_ACEOF
10411
 
cat confdefs.h >>conftest.$ac_ext
10412
 
cat >>conftest.$ac_ext <<_ACEOF
10413
 
/* end confdefs.h.  */
10414
 
 
10415
 
/* Override any GCC internal prototype to avoid an error.
10416
 
   Use char because int might match the return type of a GCC
10417
 
   builtin and then its argument prototype would still apply.  */
10418
 
#ifdef __cplusplus
10419
 
extern "C"
10420
 
#endif
10421
 
char dlopen ();
10422
 
int
10423
 
main ()
10424
 
{
10425
 
return dlopen ();
10426
 
  ;
10427
 
  return 0;
10428
 
}
10429
 
_ACEOF
10430
 
rm -f conftest.$ac_objext conftest$ac_exeext
10431
 
if { (ac_try="$ac_link"
10432
 
case "(($ac_try" in
10433
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10434
 
  *) ac_try_echo=$ac_try;;
10435
 
esac
10436
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10437
 
  (eval "$ac_link") 2>conftest.er1
10438
 
  ac_status=$?
10439
 
  grep -v '^ *+' conftest.er1 >conftest.err
10440
 
  rm -f conftest.er1
10441
 
  cat conftest.err >&5
10442
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10443
 
  (exit $ac_status); } && {
10444
 
         test -z "$ac_c_werror_flag" ||
10445
 
         test ! -s conftest.err
10446
 
       } && test -s conftest$ac_exeext &&
10447
 
       $as_test_x conftest$ac_exeext; then
10448
 
  ac_cv_lib_dl_dlopen=yes
10449
 
else
10450
 
  echo "$as_me: failed program was:" >&5
10451
 
sed 's/^/| /' conftest.$ac_ext >&5
10452
 
 
10453
 
        ac_cv_lib_dl_dlopen=no
10454
 
fi
10455
 
 
10456
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10457
 
      conftest$ac_exeext conftest.$ac_ext
10458
 
LIBS=$ac_check_lib_save_LIBS
10459
 
fi
10460
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10461
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10462
 
if test $ac_cv_lib_dl_dlopen = yes; then
10463
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10464
 
else
10465
 
 
10466
 
    lt_cv_dlopen="dyld"
10467
 
    lt_cv_dlopen_libs=
10468
 
    lt_cv_dlopen_self=yes
10469
 
 
10470
 
fi
10471
 
 
10472
 
   ;;
10473
 
 
10474
 
  *)
10475
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
10476
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10477
 
if test "${ac_cv_func_shl_load+set}" = set; then
10478
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10479
 
else
10480
 
  cat >conftest.$ac_ext <<_ACEOF
10481
 
/* confdefs.h.  */
10482
 
_ACEOF
10483
 
cat confdefs.h >>conftest.$ac_ext
10484
 
cat >>conftest.$ac_ext <<_ACEOF
10485
 
/* end confdefs.h.  */
10486
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10487
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10488
 
#define shl_load innocuous_shl_load
10489
 
 
10490
 
/* System header to define __stub macros and hopefully few prototypes,
10491
 
    which can conflict with char shl_load (); below.
10492
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10493
 
    <limits.h> exists even on freestanding compilers.  */
10494
 
 
10495
 
#ifdef __STDC__
10496
 
# include <limits.h>
10497
 
#else
10498
 
# include <assert.h>
10499
 
#endif
10500
 
 
10501
 
#undef shl_load
10502
 
 
10503
 
/* Override any GCC internal prototype to avoid an error.
10504
 
   Use char because int might match the return type of a GCC
10505
 
   builtin and then its argument prototype would still apply.  */
10506
 
#ifdef __cplusplus
10507
 
extern "C"
10508
 
#endif
10509
 
char shl_load ();
10510
 
/* The GNU C library defines this for functions which it implements
10511
 
    to always fail with ENOSYS.  Some functions are actually named
10512
 
    something starting with __ and the normal name is an alias.  */
10513
 
#if defined __stub_shl_load || defined __stub___shl_load
10514
 
choke me
10515
 
#endif
10516
 
 
10517
 
int
10518
 
main ()
10519
 
{
10520
 
return shl_load ();
10521
 
  ;
10522
 
  return 0;
10523
 
}
10524
 
_ACEOF
10525
 
rm -f conftest.$ac_objext conftest$ac_exeext
10526
 
if { (ac_try="$ac_link"
10527
 
case "(($ac_try" in
10528
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10529
 
  *) ac_try_echo=$ac_try;;
10530
 
esac
10531
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10532
 
  (eval "$ac_link") 2>conftest.er1
10533
 
  ac_status=$?
10534
 
  grep -v '^ *+' conftest.er1 >conftest.err
10535
 
  rm -f conftest.er1
10536
 
  cat conftest.err >&5
10537
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10538
 
  (exit $ac_status); } && {
10539
 
         test -z "$ac_c_werror_flag" ||
10540
 
         test ! -s conftest.err
10541
 
       } && test -s conftest$ac_exeext &&
10542
 
       $as_test_x conftest$ac_exeext; then
10543
 
  ac_cv_func_shl_load=yes
10544
 
else
10545
 
  echo "$as_me: failed program was:" >&5
10546
 
sed 's/^/| /' conftest.$ac_ext >&5
10547
 
 
10548
 
        ac_cv_func_shl_load=no
10549
 
fi
10550
 
 
10551
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10552
 
      conftest$ac_exeext conftest.$ac_ext
10553
 
fi
10554
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10555
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10556
 
if test $ac_cv_func_shl_load = yes; then
10557
 
  lt_cv_dlopen="shl_load"
10558
 
else
10559
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10560
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10561
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10562
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10563
 
else
10564
 
  ac_check_lib_save_LIBS=$LIBS
10565
 
LIBS="-ldld  $LIBS"
10566
 
cat >conftest.$ac_ext <<_ACEOF
10567
 
/* confdefs.h.  */
10568
 
_ACEOF
10569
 
cat confdefs.h >>conftest.$ac_ext
10570
 
cat >>conftest.$ac_ext <<_ACEOF
10571
 
/* end confdefs.h.  */
10572
 
 
10573
 
/* Override any GCC internal prototype to avoid an error.
10574
 
   Use char because int might match the return type of a GCC
10575
 
   builtin and then its argument prototype would still apply.  */
10576
 
#ifdef __cplusplus
10577
 
extern "C"
10578
 
#endif
10579
 
char shl_load ();
10580
 
int
10581
 
main ()
10582
 
{
10583
 
return shl_load ();
10584
 
  ;
10585
 
  return 0;
10586
 
}
10587
 
_ACEOF
10588
 
rm -f conftest.$ac_objext conftest$ac_exeext
10589
 
if { (ac_try="$ac_link"
10590
 
case "(($ac_try" in
10591
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10592
 
  *) ac_try_echo=$ac_try;;
10593
 
esac
10594
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10595
 
  (eval "$ac_link") 2>conftest.er1
10596
 
  ac_status=$?
10597
 
  grep -v '^ *+' conftest.er1 >conftest.err
10598
 
  rm -f conftest.er1
10599
 
  cat conftest.err >&5
10600
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10601
 
  (exit $ac_status); } && {
10602
 
         test -z "$ac_c_werror_flag" ||
10603
 
         test ! -s conftest.err
10604
 
       } && test -s conftest$ac_exeext &&
10605
 
       $as_test_x conftest$ac_exeext; then
10606
 
  ac_cv_lib_dld_shl_load=yes
10607
 
else
10608
 
  echo "$as_me: failed program was:" >&5
10609
 
sed 's/^/| /' conftest.$ac_ext >&5
10610
 
 
10611
 
        ac_cv_lib_dld_shl_load=no
10612
 
fi
10613
 
 
10614
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10615
 
      conftest$ac_exeext conftest.$ac_ext
10616
 
LIBS=$ac_check_lib_save_LIBS
10617
 
fi
10618
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10619
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10620
 
if test $ac_cv_lib_dld_shl_load = yes; then
10621
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10622
 
else
10623
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
10624
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10625
 
if test "${ac_cv_func_dlopen+set}" = set; then
10626
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10627
 
else
10628
 
  cat >conftest.$ac_ext <<_ACEOF
10629
 
/* confdefs.h.  */
10630
 
_ACEOF
10631
 
cat confdefs.h >>conftest.$ac_ext
10632
 
cat >>conftest.$ac_ext <<_ACEOF
10633
 
/* end confdefs.h.  */
10634
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10635
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10636
 
#define dlopen innocuous_dlopen
10637
 
 
10638
 
/* System header to define __stub macros and hopefully few prototypes,
10639
 
    which can conflict with char dlopen (); below.
10640
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10641
 
    <limits.h> exists even on freestanding compilers.  */
10642
 
 
10643
 
#ifdef __STDC__
10644
 
# include <limits.h>
10645
 
#else
10646
 
# include <assert.h>
10647
 
#endif
10648
 
 
10649
 
#undef dlopen
10650
 
 
10651
 
/* Override any GCC internal prototype to avoid an error.
10652
 
   Use char because int might match the return type of a GCC
10653
 
   builtin and then its argument prototype would still apply.  */
10654
 
#ifdef __cplusplus
10655
 
extern "C"
10656
 
#endif
10657
 
char dlopen ();
10658
 
/* The GNU C library defines this for functions which it implements
10659
 
    to always fail with ENOSYS.  Some functions are actually named
10660
 
    something starting with __ and the normal name is an alias.  */
10661
 
#if defined __stub_dlopen || defined __stub___dlopen
10662
 
choke me
10663
 
#endif
10664
 
 
10665
 
int
10666
 
main ()
10667
 
{
10668
 
return dlopen ();
10669
 
  ;
10670
 
  return 0;
10671
 
}
10672
 
_ACEOF
10673
 
rm -f conftest.$ac_objext conftest$ac_exeext
10674
 
if { (ac_try="$ac_link"
10675
 
case "(($ac_try" in
10676
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10677
 
  *) ac_try_echo=$ac_try;;
10678
 
esac
10679
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10680
 
  (eval "$ac_link") 2>conftest.er1
10681
 
  ac_status=$?
10682
 
  grep -v '^ *+' conftest.er1 >conftest.err
10683
 
  rm -f conftest.er1
10684
 
  cat conftest.err >&5
10685
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10686
 
  (exit $ac_status); } && {
10687
 
         test -z "$ac_c_werror_flag" ||
10688
 
         test ! -s conftest.err
10689
 
       } && test -s conftest$ac_exeext &&
10690
 
       $as_test_x conftest$ac_exeext; then
10691
 
  ac_cv_func_dlopen=yes
10692
 
else
10693
 
  echo "$as_me: failed program was:" >&5
10694
 
sed 's/^/| /' conftest.$ac_ext >&5
10695
 
 
10696
 
        ac_cv_func_dlopen=no
10697
 
fi
10698
 
 
10699
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10700
 
      conftest$ac_exeext conftest.$ac_ext
10701
 
fi
10702
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10703
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10704
 
if test $ac_cv_func_dlopen = yes; then
10705
 
  lt_cv_dlopen="dlopen"
10706
 
else
10707
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10708
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10709
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10710
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10711
 
else
10712
 
  ac_check_lib_save_LIBS=$LIBS
10713
 
LIBS="-ldl  $LIBS"
10714
 
cat >conftest.$ac_ext <<_ACEOF
10715
 
/* confdefs.h.  */
10716
 
_ACEOF
10717
 
cat confdefs.h >>conftest.$ac_ext
10718
 
cat >>conftest.$ac_ext <<_ACEOF
10719
 
/* end confdefs.h.  */
10720
 
 
10721
 
/* Override any GCC internal prototype to avoid an error.
10722
 
   Use char because int might match the return type of a GCC
10723
 
   builtin and then its argument prototype would still apply.  */
10724
 
#ifdef __cplusplus
10725
 
extern "C"
10726
 
#endif
10727
 
char dlopen ();
10728
 
int
10729
 
main ()
10730
 
{
10731
 
return dlopen ();
10732
 
  ;
10733
 
  return 0;
10734
 
}
10735
 
_ACEOF
10736
 
rm -f conftest.$ac_objext conftest$ac_exeext
10737
 
if { (ac_try="$ac_link"
10738
 
case "(($ac_try" in
10739
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10740
 
  *) ac_try_echo=$ac_try;;
10741
 
esac
10742
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10743
 
  (eval "$ac_link") 2>conftest.er1
10744
 
  ac_status=$?
10745
 
  grep -v '^ *+' conftest.er1 >conftest.err
10746
 
  rm -f conftest.er1
10747
 
  cat conftest.err >&5
10748
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10749
 
  (exit $ac_status); } && {
10750
 
         test -z "$ac_c_werror_flag" ||
10751
 
         test ! -s conftest.err
10752
 
       } && test -s conftest$ac_exeext &&
10753
 
       $as_test_x conftest$ac_exeext; then
10754
 
  ac_cv_lib_dl_dlopen=yes
10755
 
else
10756
 
  echo "$as_me: failed program was:" >&5
10757
 
sed 's/^/| /' conftest.$ac_ext >&5
10758
 
 
10759
 
        ac_cv_lib_dl_dlopen=no
10760
 
fi
10761
 
 
10762
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10763
 
      conftest$ac_exeext conftest.$ac_ext
10764
 
LIBS=$ac_check_lib_save_LIBS
10765
 
fi
10766
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10767
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10768
 
if test $ac_cv_lib_dl_dlopen = yes; then
10769
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10770
 
else
10771
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10772
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10773
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10774
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10775
 
else
10776
 
  ac_check_lib_save_LIBS=$LIBS
10777
 
LIBS="-lsvld  $LIBS"
10778
 
cat >conftest.$ac_ext <<_ACEOF
10779
 
/* confdefs.h.  */
10780
 
_ACEOF
10781
 
cat confdefs.h >>conftest.$ac_ext
10782
 
cat >>conftest.$ac_ext <<_ACEOF
10783
 
/* end confdefs.h.  */
10784
 
 
10785
 
/* Override any GCC internal prototype to avoid an error.
10786
 
   Use char because int might match the return type of a GCC
10787
 
   builtin and then its argument prototype would still apply.  */
10788
 
#ifdef __cplusplus
10789
 
extern "C"
10790
 
#endif
10791
 
char dlopen ();
10792
 
int
10793
 
main ()
10794
 
{
10795
 
return dlopen ();
10796
 
  ;
10797
 
  return 0;
10798
 
}
10799
 
_ACEOF
10800
 
rm -f conftest.$ac_objext conftest$ac_exeext
10801
 
if { (ac_try="$ac_link"
10802
 
case "(($ac_try" in
10803
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10804
 
  *) ac_try_echo=$ac_try;;
10805
 
esac
10806
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10807
 
  (eval "$ac_link") 2>conftest.er1
10808
 
  ac_status=$?
10809
 
  grep -v '^ *+' conftest.er1 >conftest.err
10810
 
  rm -f conftest.er1
10811
 
  cat conftest.err >&5
10812
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10813
 
  (exit $ac_status); } && {
10814
 
         test -z "$ac_c_werror_flag" ||
10815
 
         test ! -s conftest.err
10816
 
       } && test -s conftest$ac_exeext &&
10817
 
       $as_test_x conftest$ac_exeext; then
10818
 
  ac_cv_lib_svld_dlopen=yes
10819
 
else
10820
 
  echo "$as_me: failed program was:" >&5
10821
 
sed 's/^/| /' conftest.$ac_ext >&5
10822
 
 
10823
 
        ac_cv_lib_svld_dlopen=no
10824
 
fi
10825
 
 
10826
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10827
 
      conftest$ac_exeext conftest.$ac_ext
10828
 
LIBS=$ac_check_lib_save_LIBS
10829
 
fi
10830
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10831
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10832
 
if test $ac_cv_lib_svld_dlopen = yes; then
10833
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10834
 
else
10835
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10836
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10837
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10838
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10839
 
else
10840
 
  ac_check_lib_save_LIBS=$LIBS
10841
 
LIBS="-ldld  $LIBS"
10842
 
cat >conftest.$ac_ext <<_ACEOF
10843
 
/* confdefs.h.  */
10844
 
_ACEOF
10845
 
cat confdefs.h >>conftest.$ac_ext
10846
 
cat >>conftest.$ac_ext <<_ACEOF
10847
 
/* end confdefs.h.  */
10848
 
 
10849
 
/* Override any GCC internal prototype to avoid an error.
10850
 
   Use char because int might match the return type of a GCC
10851
 
   builtin and then its argument prototype would still apply.  */
10852
 
#ifdef __cplusplus
10853
 
extern "C"
10854
 
#endif
10855
 
char dld_link ();
10856
 
int
10857
 
main ()
10858
 
{
10859
 
return dld_link ();
10860
 
  ;
10861
 
  return 0;
10862
 
}
10863
 
_ACEOF
10864
 
rm -f conftest.$ac_objext conftest$ac_exeext
10865
 
if { (ac_try="$ac_link"
10866
 
case "(($ac_try" in
10867
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10868
 
  *) ac_try_echo=$ac_try;;
10869
 
esac
10870
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10871
 
  (eval "$ac_link") 2>conftest.er1
10872
 
  ac_status=$?
10873
 
  grep -v '^ *+' conftest.er1 >conftest.err
10874
 
  rm -f conftest.er1
10875
 
  cat conftest.err >&5
10876
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10877
 
  (exit $ac_status); } && {
10878
 
         test -z "$ac_c_werror_flag" ||
10879
 
         test ! -s conftest.err
10880
 
       } && test -s conftest$ac_exeext &&
10881
 
       $as_test_x conftest$ac_exeext; then
10882
 
  ac_cv_lib_dld_dld_link=yes
10883
 
else
10884
 
  echo "$as_me: failed program was:" >&5
10885
 
sed 's/^/| /' conftest.$ac_ext >&5
10886
 
 
10887
 
        ac_cv_lib_dld_dld_link=no
10888
 
fi
10889
 
 
10890
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10891
 
      conftest$ac_exeext conftest.$ac_ext
10892
 
LIBS=$ac_check_lib_save_LIBS
10893
 
fi
10894
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10895
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10896
 
if test $ac_cv_lib_dld_dld_link = yes; then
10897
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10898
 
fi
10899
 
 
10900
 
 
10901
 
fi
10902
 
 
10903
 
 
10904
 
fi
10905
 
 
10906
 
 
10907
 
fi
10908
 
 
10909
 
 
10910
 
fi
10911
 
 
10912
 
 
10913
 
fi
10914
 
 
10915
 
    ;;
10916
 
  esac
10917
 
 
10918
 
  if test "x$lt_cv_dlopen" != xno; then
10919
 
    enable_dlopen=yes
10920
 
  else
10921
 
    enable_dlopen=no
10922
 
  fi
10923
 
 
10924
 
  case $lt_cv_dlopen in
10925
 
  dlopen)
10926
 
    save_CPPFLAGS="$CPPFLAGS"
10927
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10928
 
 
10929
 
    save_LDFLAGS="$LDFLAGS"
10930
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10931
 
 
10932
 
    save_LIBS="$LIBS"
10933
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
10934
 
 
10935
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10936
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10937
 
if test "${lt_cv_dlopen_self+set}" = set; then
10938
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10939
 
else
10940
 
          if test "$cross_compiling" = yes; then :
10941
 
  lt_cv_dlopen_self=cross
10942
 
else
10943
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10944
 
  lt_status=$lt_dlunknown
10945
 
  cat > conftest.$ac_ext <<EOF
10946
 
#line 10946 "configure"
10947
 
#include "confdefs.h"
10948
 
 
10949
 
#if HAVE_DLFCN_H
10950
 
#include <dlfcn.h>
10951
 
#endif
10952
 
 
10953
 
#include <stdio.h>
10954
 
 
10955
 
#ifdef RTLD_GLOBAL
10956
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
10957
 
#else
10958
 
#  ifdef DL_GLOBAL
10959
 
#    define LT_DLGLOBAL         DL_GLOBAL
10960
 
#  else
10961
 
#    define LT_DLGLOBAL         0
10962
 
#  endif
10963
 
#endif
10964
 
 
10965
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10966
 
   find out it does not work in some platform. */
10967
 
#ifndef LT_DLLAZY_OR_NOW
10968
 
#  ifdef RTLD_LAZY
10969
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10970
 
#  else
10971
 
#    ifdef DL_LAZY
10972
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
10973
 
#    else
10974
 
#      ifdef RTLD_NOW
10975
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
10976
 
#      else
10977
 
#        ifdef DL_NOW
10978
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
10979
 
#        else
10980
 
#          define LT_DLLAZY_OR_NOW      0
10981
 
#        endif
10982
 
#      endif
10983
 
#    endif
10984
 
#  endif
10985
 
#endif
10986
 
 
10987
 
#ifdef __cplusplus
10988
 
extern "C" void exit (int);
10989
 
#endif
10990
 
 
10991
 
void fnord() { int i=42;}
10992
 
int main ()
10993
 
{
10994
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10995
 
  int status = $lt_dlunknown;
10996
 
 
10997
 
  if (self)
10998
 
    {
10999
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11000
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11001
 
      /* dlclose (self); */
11002
 
    }
11003
 
  else
11004
 
    puts (dlerror ());
11005
 
 
11006
 
    exit (status);
11007
 
}
11008
 
EOF
11009
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11010
 
  (eval $ac_link) 2>&5
11011
 
  ac_status=$?
11012
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11013
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11014
 
    (./conftest; exit; ) >&5 2>/dev/null
11015
 
    lt_status=$?
11016
 
    case x$lt_status in
11017
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11018
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11019
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11020
 
    esac
11021
 
  else :
11022
 
    # compilation failed
11023
 
    lt_cv_dlopen_self=no
11024
 
  fi
11025
 
fi
11026
 
rm -fr conftest*
11027
 
 
11028
 
 
11029
 
fi
11030
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11031
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11032
 
 
11033
 
    if test "x$lt_cv_dlopen_self" = xyes; then
11034
 
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11035
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11036
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11037
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
11038
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11039
 
else
11040
 
          if test "$cross_compiling" = yes; then :
11041
 
  lt_cv_dlopen_self_static=cross
11042
 
else
11043
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11044
 
  lt_status=$lt_dlunknown
11045
 
  cat > conftest.$ac_ext <<EOF
11046
 
#line 11046 "configure"
11047
 
#include "confdefs.h"
11048
 
 
11049
 
#if HAVE_DLFCN_H
11050
 
#include <dlfcn.h>
11051
 
#endif
11052
 
 
11053
 
#include <stdio.h>
11054
 
 
11055
 
#ifdef RTLD_GLOBAL
11056
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11057
 
#else
11058
 
#  ifdef DL_GLOBAL
11059
 
#    define LT_DLGLOBAL         DL_GLOBAL
11060
 
#  else
11061
 
#    define LT_DLGLOBAL         0
11062
 
#  endif
11063
 
#endif
11064
 
 
11065
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11066
 
   find out it does not work in some platform. */
11067
 
#ifndef LT_DLLAZY_OR_NOW
11068
 
#  ifdef RTLD_LAZY
11069
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11070
 
#  else
11071
 
#    ifdef DL_LAZY
11072
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11073
 
#    else
11074
 
#      ifdef RTLD_NOW
11075
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11076
 
#      else
11077
 
#        ifdef DL_NOW
11078
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11079
 
#        else
11080
 
#          define LT_DLLAZY_OR_NOW      0
11081
 
#        endif
11082
 
#      endif
11083
 
#    endif
11084
 
#  endif
11085
 
#endif
11086
 
 
11087
 
#ifdef __cplusplus
11088
 
extern "C" void exit (int);
11089
 
#endif
11090
 
 
11091
 
void fnord() { int i=42;}
11092
 
int main ()
11093
 
{
11094
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11095
 
  int status = $lt_dlunknown;
11096
 
 
11097
 
  if (self)
11098
 
    {
11099
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11100
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11101
 
      /* dlclose (self); */
11102
 
    }
11103
 
  else
11104
 
    puts (dlerror ());
11105
 
 
11106
 
    exit (status);
11107
 
}
11108
 
EOF
11109
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11110
 
  (eval $ac_link) 2>&5
11111
 
  ac_status=$?
11112
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11113
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11114
 
    (./conftest; exit; ) >&5 2>/dev/null
11115
 
    lt_status=$?
11116
 
    case x$lt_status in
11117
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11118
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11119
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11120
 
    esac
11121
 
  else :
11122
 
    # compilation failed
11123
 
    lt_cv_dlopen_self_static=no
11124
 
  fi
11125
 
fi
11126
 
rm -fr conftest*
11127
 
 
11128
 
 
11129
 
fi
11130
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11131
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11132
 
    fi
11133
 
 
11134
 
    CPPFLAGS="$save_CPPFLAGS"
11135
 
    LDFLAGS="$save_LDFLAGS"
11136
 
    LIBS="$save_LIBS"
11137
 
    ;;
11138
 
  esac
11139
 
 
11140
 
  case $lt_cv_dlopen_self in
11141
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11142
 
  *) enable_dlopen_self=unknown ;;
11143
 
  esac
11144
 
 
11145
 
  case $lt_cv_dlopen_self_static in
11146
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11147
 
  *) enable_dlopen_self_static=unknown ;;
11148
 
  esac
11149
 
fi
11150
 
 
11151
 
 
11152
 
# Report which library types will actually be built
11153
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11154
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11155
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
11156
 
echo "${ECHO_T}$can_build_shared" >&6; }
11157
 
 
11158
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11159
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11160
 
test "$can_build_shared" = "no" && enable_shared=no
11161
 
 
11162
 
# On AIX, shared libraries and static libraries use the same namespace, and
11163
 
# are all built from PIC.
11164
 
case $host_os in
11165
 
aix3*)
11166
 
  test "$enable_shared" = yes && enable_static=no
11167
 
  if test -n "$RANLIB"; then
11168
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
11169
 
    postinstall_cmds='$RANLIB $lib'
11170
 
  fi
11171
 
  ;;
11172
 
 
11173
 
aix4* | aix5*)
11174
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11175
 
    test "$enable_shared" = yes && enable_static=no
11176
 
  fi
11177
 
    ;;
11178
 
esac
11179
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
11180
 
echo "${ECHO_T}$enable_shared" >&6; }
11181
 
 
11182
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11183
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11184
 
# Make sure either enable_shared or enable_static is yes.
11185
 
test "$enable_shared" = yes || enable_static=yes
11186
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
11187
 
echo "${ECHO_T}$enable_static" >&6; }
11188
 
 
11189
 
# The else clause should only fire when bootstrapping the
11190
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
11191
 
# with your package, and you will get complaints that there are
11192
 
# no rules to generate ltmain.sh.
11193
 
if test -f "$ltmain"; then
11194
 
  # See if we are running on zsh, and set the options which allow our commands through
11195
 
  # without removal of \ escapes.
11196
 
  if test -n "${ZSH_VERSION+set}" ; then
11197
 
    setopt NO_GLOB_SUBST
11198
 
  fi
11199
 
  # Now quote all the things that may contain metacharacters while being
11200
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
11201
 
  # variables and quote the copies for generation of the libtool script.
11202
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
11203
 
    SED SHELL STRIP \
11204
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11205
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11206
 
    deplibs_check_method reload_flag reload_cmds need_locks \
11207
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11208
 
    lt_cv_sys_global_symbol_to_c_name_address \
11209
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11210
 
    old_postinstall_cmds old_postuninstall_cmds \
11211
 
    compiler \
11212
 
    CC \
11213
 
    LD \
11214
 
    lt_prog_compiler_wl \
11215
 
    lt_prog_compiler_pic \
11216
 
    lt_prog_compiler_static \
11217
 
    lt_prog_compiler_no_builtin_flag \
11218
 
    export_dynamic_flag_spec \
11219
 
    thread_safe_flag_spec \
11220
 
    whole_archive_flag_spec \
11221
 
    enable_shared_with_static_runtimes \
11222
 
    old_archive_cmds \
11223
 
    old_archive_from_new_cmds \
11224
 
    predep_objects \
11225
 
    postdep_objects \
11226
 
    predeps \
11227
 
    postdeps \
11228
 
    compiler_lib_search_path \
11229
 
    archive_cmds \
11230
 
    archive_expsym_cmds \
11231
 
    postinstall_cmds \
11232
 
    postuninstall_cmds \
11233
 
    old_archive_from_expsyms_cmds \
11234
 
    allow_undefined_flag \
11235
 
    no_undefined_flag \
11236
 
    export_symbols_cmds \
11237
 
    hardcode_libdir_flag_spec \
11238
 
    hardcode_libdir_flag_spec_ld \
11239
 
    hardcode_libdir_separator \
11240
 
    hardcode_automatic \
11241
 
    module_cmds \
11242
 
    module_expsym_cmds \
11243
 
    lt_cv_prog_compiler_c_o \
11244
 
    fix_srcfile_path \
11245
 
    exclude_expsyms \
11246
 
    include_expsyms; do
11247
 
 
11248
 
    case $var in
11249
 
    old_archive_cmds | \
11250
 
    old_archive_from_new_cmds | \
11251
 
    archive_cmds | \
11252
 
    archive_expsym_cmds | \
11253
 
    module_cmds | \
11254
 
    module_expsym_cmds | \
11255
 
    old_archive_from_expsyms_cmds | \
11256
 
    export_symbols_cmds | \
11257
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
11258
 
    postinstall_cmds | postuninstall_cmds | \
11259
 
    old_postinstall_cmds | old_postuninstall_cmds | \
11260
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11261
 
      # Double-quote double-evaled strings.
11262
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
11263
 
      ;;
11264
 
    *)
11265
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
11266
 
      ;;
11267
 
    esac
11268
 
  done
11269
 
 
11270
 
  case $lt_echo in
11271
 
  *'\$0 --fallback-echo"')
11272
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11273
 
    ;;
11274
 
  esac
11275
 
 
11276
 
cfgfile="${ofile}T"
11277
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11278
 
  $rm -f "$cfgfile"
11279
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
11280
 
echo "$as_me: creating $ofile" >&6;}
11281
 
 
11282
 
  cat <<__EOF__ >> "$cfgfile"
11283
 
#! $SHELL
11284
 
 
11285
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11286
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11287
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11288
 
#
11289
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
11290
 
# Free Software Foundation, Inc.
11291
 
#
11292
 
# This file is part of GNU Libtool:
11293
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11294
 
#
11295
 
# This program is free software; you can redistribute it and/or modify
11296
 
# it under the terms of the GNU General Public License as published by
11297
 
# the Free Software Foundation; either version 2 of the License, or
11298
 
# (at your option) any later version.
11299
 
#
11300
 
# This program is distributed in the hope that it will be useful, but
11301
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
11302
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11303
 
# General Public License for more details.
11304
 
#
11305
 
# You should have received a copy of the GNU General Public License
11306
 
# along with this program; if not, write to the Free Software
11307
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11308
 
#
11309
 
# As a special exception to the GNU General Public License, if you
11310
 
# distribute this file as part of a program that contains a
11311
 
# configuration script generated by Autoconf, you may include it under
11312
 
# the same distribution terms that you use for the rest of that program.
11313
 
 
11314
 
# A sed program that does not truncate output.
11315
 
SED=$lt_SED
11316
 
 
11317
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
11318
 
Xsed="$SED -e 1s/^X//"
11319
 
 
11320
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
11321
 
# if CDPATH is set.
11322
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11323
 
 
11324
 
# The names of the tagged configurations supported by this script.
11325
 
available_tags=
11326
 
 
11327
 
# ### BEGIN LIBTOOL CONFIG
11328
 
 
11329
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11330
 
 
11331
 
# Shell to use when invoking shell scripts.
11332
 
SHELL=$lt_SHELL
11333
 
 
11334
 
# Whether or not to build shared libraries.
11335
 
build_libtool_libs=$enable_shared
11336
 
 
11337
 
# Whether or not to build static libraries.
11338
 
build_old_libs=$enable_static
11339
 
 
11340
 
# Whether or not to add -lc for building shared libraries.
11341
 
build_libtool_need_lc=$archive_cmds_need_lc
11342
 
 
11343
 
# Whether or not to disallow shared libs when runtime libs are static
11344
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11345
 
 
11346
 
# Whether or not to optimize for fast installation.
11347
 
fast_install=$enable_fast_install
11348
 
 
11349
 
# The host system.
11350
 
host_alias=$host_alias
11351
 
host=$host
11352
 
host_os=$host_os
11353
 
 
11354
 
# The build system.
11355
 
build_alias=$build_alias
11356
 
build=$build
11357
 
build_os=$build_os
11358
 
 
11359
 
# An echo program that does not interpret backslashes.
11360
 
echo=$lt_echo
11361
 
 
11362
 
# The archiver.
11363
 
AR=$lt_AR
11364
 
AR_FLAGS=$lt_AR_FLAGS
11365
 
 
11366
 
# A C compiler.
11367
 
LTCC=$lt_LTCC
11368
 
 
11369
 
# LTCC compiler flags.
11370
 
LTCFLAGS=$lt_LTCFLAGS
11371
 
 
11372
 
# A language-specific compiler.
11373
 
CC=$lt_compiler
11374
 
 
11375
 
# Is the compiler the GNU C compiler?
11376
 
with_gcc=$GCC
11377
 
 
11378
 
# An ERE matcher.
11379
 
EGREP=$lt_EGREP
11380
 
 
11381
 
# The linker used to build libraries.
11382
 
LD=$lt_LD
11383
 
 
11384
 
# Whether we need hard or soft links.
11385
 
LN_S=$lt_LN_S
11386
 
 
11387
 
# A BSD-compatible nm program.
11388
 
NM=$lt_NM
11389
 
 
11390
 
# A symbol stripping program
11391
 
STRIP=$lt_STRIP
11392
 
 
11393
 
# Used to examine libraries when file_magic_cmd begins "file"
11394
 
MAGIC_CMD=$MAGIC_CMD
11395
 
 
11396
 
# Used on cygwin: DLL creation program.
11397
 
DLLTOOL="$DLLTOOL"
11398
 
 
11399
 
# Used on cygwin: object dumper.
11400
 
OBJDUMP="$OBJDUMP"
11401
 
 
11402
 
# Used on cygwin: assembler.
11403
 
AS="$AS"
11404
 
 
11405
 
# The name of the directory that contains temporary libtool files.
11406
 
objdir=$objdir
11407
 
 
11408
 
# How to create reloadable object files.
11409
 
reload_flag=$lt_reload_flag
11410
 
reload_cmds=$lt_reload_cmds
11411
 
 
11412
 
# How to pass a linker flag through the compiler.
11413
 
wl=$lt_lt_prog_compiler_wl
11414
 
 
11415
 
# Object file suffix (normally "o").
11416
 
objext="$ac_objext"
11417
 
 
11418
 
# Old archive suffix (normally "a").
11419
 
libext="$libext"
11420
 
 
11421
 
# Shared library suffix (normally ".so").
11422
 
shrext_cmds='$shrext_cmds'
11423
 
 
11424
 
# Executable file suffix (normally "").
11425
 
exeext="$exeext"
11426
 
 
11427
 
# Additional compiler flags for building library objects.
11428
 
pic_flag=$lt_lt_prog_compiler_pic
11429
 
pic_mode=$pic_mode
11430
 
 
11431
 
# What is the maximum length of a command?
11432
 
max_cmd_len=$lt_cv_sys_max_cmd_len
11433
 
 
11434
 
# Does compiler simultaneously support -c and -o options?
11435
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11436
 
 
11437
 
# Must we lock files when doing compilation?
11438
 
need_locks=$lt_need_locks
11439
 
 
11440
 
# Do we need the lib prefix for modules?
11441
 
need_lib_prefix=$need_lib_prefix
11442
 
 
11443
 
# Do we need a version for libraries?
11444
 
need_version=$need_version
11445
 
 
11446
 
# Whether dlopen is supported.
11447
 
dlopen_support=$enable_dlopen
11448
 
 
11449
 
# Whether dlopen of programs is supported.
11450
 
dlopen_self=$enable_dlopen_self
11451
 
 
11452
 
# Whether dlopen of statically linked programs is supported.
11453
 
dlopen_self_static=$enable_dlopen_self_static
11454
 
 
11455
 
# Compiler flag to prevent dynamic linking.
11456
 
link_static_flag=$lt_lt_prog_compiler_static
11457
 
 
11458
 
# Compiler flag to turn off builtin functions.
11459
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11460
 
 
11461
 
# Compiler flag to allow reflexive dlopens.
11462
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11463
 
 
11464
 
# Compiler flag to generate shared objects directly from archives.
11465
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
11466
 
 
11467
 
# Compiler flag to generate thread-safe objects.
11468
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
11469
 
 
11470
 
# Library versioning type.
11471
 
version_type=$version_type
11472
 
 
11473
 
# Format of library name prefix.
11474
 
libname_spec=$lt_libname_spec
11475
 
 
11476
 
# List of archive names.  First name is the real one, the rest are links.
11477
 
# The last name is the one that the linker finds with -lNAME.
11478
 
library_names_spec=$lt_library_names_spec
11479
 
 
11480
 
# The coded name of the library, if different from the real name.
11481
 
soname_spec=$lt_soname_spec
11482
 
 
11483
 
# Commands used to build and install an old-style archive.
11484
 
RANLIB=$lt_RANLIB
11485
 
old_archive_cmds=$lt_old_archive_cmds
11486
 
old_postinstall_cmds=$lt_old_postinstall_cmds
11487
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
11488
 
 
11489
 
# Create an old-style archive from a shared archive.
11490
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11491
 
 
11492
 
# Create a temporary old-style archive to link instead of a shared archive.
11493
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11494
 
 
11495
 
# Commands used to build and install a shared archive.
11496
 
archive_cmds=$lt_archive_cmds
11497
 
archive_expsym_cmds=$lt_archive_expsym_cmds
11498
 
postinstall_cmds=$lt_postinstall_cmds
11499
 
postuninstall_cmds=$lt_postuninstall_cmds
11500
 
 
11501
 
# Commands used to build a loadable module (assumed same as above if empty)
11502
 
module_cmds=$lt_module_cmds
11503
 
module_expsym_cmds=$lt_module_expsym_cmds
11504
 
 
11505
 
# Commands to strip libraries.
11506
 
old_striplib=$lt_old_striplib
11507
 
striplib=$lt_striplib
11508
 
 
11509
 
# Dependencies to place before the objects being linked to create a
11510
 
# shared library.
11511
 
predep_objects=$lt_predep_objects
11512
 
 
11513
 
# Dependencies to place after the objects being linked to create a
11514
 
# shared library.
11515
 
postdep_objects=$lt_postdep_objects
11516
 
 
11517
 
# Dependencies to place before the objects being linked to create a
11518
 
# shared library.
11519
 
predeps=$lt_predeps
11520
 
 
11521
 
# Dependencies to place after the objects being linked to create a
11522
 
# shared library.
11523
 
postdeps=$lt_postdeps
11524
 
 
11525
 
# The library search path used internally by the compiler when linking
11526
 
# a shared library.
11527
 
compiler_lib_search_path=$lt_compiler_lib_search_path
11528
 
 
11529
 
# Method to check whether dependent libraries are shared objects.
11530
 
deplibs_check_method=$lt_deplibs_check_method
11531
 
 
11532
 
# Command to use when deplibs_check_method == file_magic.
11533
 
file_magic_cmd=$lt_file_magic_cmd
11534
 
 
11535
 
# Flag that allows shared libraries with undefined symbols to be built.
11536
 
allow_undefined_flag=$lt_allow_undefined_flag
11537
 
 
11538
 
# Flag that forces no undefined symbols.
11539
 
no_undefined_flag=$lt_no_undefined_flag
11540
 
 
11541
 
# Commands used to finish a libtool library installation in a directory.
11542
 
finish_cmds=$lt_finish_cmds
11543
 
 
11544
 
# Same as above, but a single script fragment to be evaled but not shown.
11545
 
finish_eval=$lt_finish_eval
11546
 
 
11547
 
# Take the output of nm and produce a listing of raw symbols and C names.
11548
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11549
 
 
11550
 
# Transform the output of nm in a proper C declaration
11551
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11552
 
 
11553
 
# Transform the output of nm in a C name address pair
11554
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11555
 
 
11556
 
# This is the shared library runtime path variable.
11557
 
runpath_var=$runpath_var
11558
 
 
11559
 
# This is the shared library path variable.
11560
 
shlibpath_var=$shlibpath_var
11561
 
 
11562
 
# Is shlibpath searched before the hard-coded library search path?
11563
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11564
 
 
11565
 
# How to hardcode a shared library path into an executable.
11566
 
hardcode_action=$hardcode_action
11567
 
 
11568
 
# Whether we should hardcode library paths into libraries.
11569
 
hardcode_into_libs=$hardcode_into_libs
11570
 
 
11571
 
# Flag to hardcode \$libdir into a binary during linking.
11572
 
# This must work even if \$libdir does not exist.
11573
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11574
 
 
11575
 
# If ld is used when linking, flag to hardcode \$libdir into
11576
 
# a binary during linking. This must work even if \$libdir does
11577
 
# not exist.
11578
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11579
 
 
11580
 
# Whether we need a single -rpath flag with a separated argument.
11581
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
11582
 
 
11583
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11584
 
# resulting binary.
11585
 
hardcode_direct=$hardcode_direct
11586
 
 
11587
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11588
 
# resulting binary.
11589
 
hardcode_minus_L=$hardcode_minus_L
11590
 
 
11591
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11592
 
# the resulting binary.
11593
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
11594
 
 
11595
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
11596
 
# and all subsequent libraries and executables linked against it.
11597
 
hardcode_automatic=$hardcode_automatic
11598
 
 
11599
 
# Variables whose values should be saved in libtool wrapper scripts and
11600
 
# restored at relink time.
11601
 
variables_saved_for_relink="$variables_saved_for_relink"
11602
 
 
11603
 
# Whether libtool must link a program against all its dependency libraries.
11604
 
link_all_deplibs=$link_all_deplibs
11605
 
 
11606
 
# Compile-time system search path for libraries
11607
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11608
 
 
11609
 
# Run-time system search path for libraries
11610
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11611
 
 
11612
 
# Fix the shell variable \$srcfile for the compiler.
11613
 
fix_srcfile_path=$lt_fix_srcfile_path
11614
 
 
11615
 
# Set to yes if exported symbols are required.
11616
 
always_export_symbols=$always_export_symbols
11617
 
 
11618
 
# The commands to list exported symbols.
11619
 
export_symbols_cmds=$lt_export_symbols_cmds
11620
 
 
11621
 
# The commands to extract the exported symbol list from a shared archive.
11622
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
11623
 
 
11624
 
# Symbols that should not be listed in the preloaded symbols.
11625
 
exclude_expsyms=$lt_exclude_expsyms
11626
 
 
11627
 
# Symbols that must always be exported.
11628
 
include_expsyms=$lt_include_expsyms
11629
 
 
11630
 
# ### END LIBTOOL CONFIG
11631
 
 
11632
 
__EOF__
11633
 
 
11634
 
 
11635
 
  case $host_os in
11636
 
  aix3*)
11637
 
    cat <<\EOF >> "$cfgfile"
11638
 
 
11639
 
# AIX sometimes has problems with the GCC collect2 program.  For some
11640
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
11641
 
# vanish in a puff of smoke.
11642
 
if test "X${COLLECT_NAMES+set}" != Xset; then
11643
 
  COLLECT_NAMES=
11644
 
  export COLLECT_NAMES
11645
 
fi
11646
 
EOF
11647
 
    ;;
11648
 
  esac
11649
 
 
11650
 
  # We use sed instead of cat because bash on DJGPP gets confused if
11651
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
11652
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
11653
 
  # is reportedly fixed, but why not run on old versions too?
11654
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11655
 
 
11656
 
  mv -f "$cfgfile" "$ofile" || \
11657
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11658
 
  chmod +x "$ofile"
11659
 
 
11660
 
else
11661
 
  # If there is no Makefile yet, we rely on a make rule to execute
11662
 
  # `config.status --recheck' to rerun these tests and create the
11663
 
  # libtool script then.
11664
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11665
 
  if test -f "$ltmain_in"; then
11666
 
    test -f Makefile && make "$ltmain"
11667
 
  fi
11668
 
fi
11669
 
 
11670
 
 
11671
 
ac_ext=c
11672
 
ac_cpp='$CPP $CPPFLAGS'
11673
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11674
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11675
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11676
 
 
11677
 
CC="$lt_save_CC"
11678
 
 
11679
 
 
11680
 
# Check whether --with-tags was given.
11681
 
if test "${with_tags+set}" = set; then
11682
 
  withval=$with_tags; tagnames="$withval"
11683
 
fi
11684
 
 
11685
 
 
11686
 
if test -f "$ltmain" && test -n "$tagnames"; then
11687
 
  if test ! -f "${ofile}"; then
11688
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
11689
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
11690
 
  fi
11691
 
 
11692
 
  if test -z "$LTCC"; then
11693
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
11694
 
    if test -z "$LTCC"; then
11695
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11696
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
11697
 
    else
11698
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
11699
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
11700
 
    fi
11701
 
  fi
11702
 
  if test -z "$LTCFLAGS"; then
11703
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
11704
 
  fi
11705
 
 
11706
 
  # Extract list of available tagged configurations in $ofile.
11707
 
  # Note that this assumes the entire list is on one line.
11708
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11709
 
 
11710
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11711
 
  for tagname in $tagnames; do
11712
 
    IFS="$lt_save_ifs"
11713
 
    # Check whether tagname contains only valid characters
11714
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11715
 
    "") ;;
11716
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11717
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
11718
 
   { (exit 1); exit 1; }; }
11719
 
        ;;
11720
 
    esac
11721
 
 
11722
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11723
 
    then
11724
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11725
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11726
 
   { (exit 1); exit 1; }; }
11727
 
    fi
11728
 
 
11729
 
    # Update the list of available tags.
11730
 
    if test -n "$tagname"; then
11731
 
      echo appending configuration tag \"$tagname\" to $ofile
11732
 
 
11733
 
      case $tagname in
11734
 
      CXX)
11735
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11736
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11737
 
            (test "X$CXX" != "Xg++"))) ; then
11738
 
          ac_ext=cpp
11739
 
ac_cpp='$CXXCPP $CPPFLAGS'
11740
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11741
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11742
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11743
 
 
11744
 
 
11745
 
 
11746
 
 
11747
 
archive_cmds_need_lc_CXX=no
11748
 
allow_undefined_flag_CXX=
11749
 
always_export_symbols_CXX=no
11750
 
archive_expsym_cmds_CXX=
11751
 
export_dynamic_flag_spec_CXX=
11752
 
hardcode_direct_CXX=no
11753
 
hardcode_libdir_flag_spec_CXX=
11754
 
hardcode_libdir_flag_spec_ld_CXX=
11755
 
hardcode_libdir_separator_CXX=
11756
 
hardcode_minus_L_CXX=no
11757
 
hardcode_shlibpath_var_CXX=unsupported
11758
 
hardcode_automatic_CXX=no
11759
 
module_cmds_CXX=
11760
 
module_expsym_cmds_CXX=
11761
 
link_all_deplibs_CXX=unknown
11762
 
old_archive_cmds_CXX=$old_archive_cmds
11763
 
no_undefined_flag_CXX=
11764
 
whole_archive_flag_spec_CXX=
11765
 
enable_shared_with_static_runtimes_CXX=no
11766
 
 
11767
 
# Dependencies to place before and after the object being linked:
11768
 
predep_objects_CXX=
11769
 
postdep_objects_CXX=
11770
 
predeps_CXX=
11771
 
postdeps_CXX=
11772
 
compiler_lib_search_path_CXX=
11773
 
 
11774
 
# Source file extension for C++ test sources.
11775
 
ac_ext=cpp
11776
 
 
11777
 
# Object file extension for compiled C++ test sources.
11778
 
objext=o
11779
 
objext_CXX=$objext
11780
 
 
11781
 
# Code to be used in simple compile tests
11782
 
lt_simple_compile_test_code="int some_variable = 0;"
11783
 
 
11784
 
# Code to be used in simple link tests
11785
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11786
 
 
11787
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11788
 
 
11789
 
# If no C compiler was specified, use CC.
11790
 
LTCC=${LTCC-"$CC"}
11791
 
 
11792
 
# If no C compiler flags were specified, use CFLAGS.
11793
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11794
 
 
11795
 
# Allow CC to be a program name with arguments.
11796
 
compiler=$CC
11797
 
 
11798
 
 
11799
 
# save warnings/boilerplate of simple test code
11800
 
ac_outfile=conftest.$ac_objext
11801
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11802
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11803
 
_lt_compiler_boilerplate=`cat conftest.err`
11804
 
$rm conftest*
11805
 
 
11806
 
ac_outfile=conftest.$ac_objext
11807
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
11808
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11809
 
_lt_linker_boilerplate=`cat conftest.err`
11810
 
$rm conftest*
11811
 
 
11812
 
 
11813
 
# Allow CC to be a program name with arguments.
11814
 
lt_save_CC=$CC
11815
 
lt_save_LD=$LD
11816
 
lt_save_GCC=$GCC
11817
 
GCC=$GXX
11818
 
lt_save_with_gnu_ld=$with_gnu_ld
11819
 
lt_save_path_LD=$lt_cv_path_LD
11820
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11821
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11822
 
else
11823
 
  $as_unset lt_cv_prog_gnu_ld
11824
 
fi
11825
 
if test -n "${lt_cv_path_LDCXX+set}"; then
11826
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
11827
 
else
11828
 
  $as_unset lt_cv_path_LD
11829
 
fi
11830
 
test -z "${LDCXX+set}" || LD=$LDCXX
11831
 
CC=${CXX-"c++"}
11832
 
compiler=$CC
11833
 
compiler_CXX=$CC
11834
 
for cc_temp in $compiler""; do
11835
 
  case $cc_temp in
11836
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11837
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11838
 
    \-*) ;;
11839
 
    *) break;;
11840
 
  esac
11841
 
done
11842
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11843
 
 
11844
 
 
11845
 
# We don't want -fno-exception wen compiling C++ code, so set the
11846
 
# no_builtin_flag separately
11847
 
if test "$GXX" = yes; then
11848
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11849
 
else
11850
 
  lt_prog_compiler_no_builtin_flag_CXX=
11851
 
fi
11852
 
 
11853
 
if test "$GXX" = yes; then
11854
 
  # Set up default GNU C++ configuration
11855
 
 
11856
 
 
11857
 
# Check whether --with-gnu-ld was given.
11858
 
if test "${with_gnu_ld+set}" = set; then
11859
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11860
 
else
11861
 
  with_gnu_ld=no
11862
 
fi
11863
 
 
11864
 
ac_prog=ld
11865
 
if test "$GCC" = yes; then
11866
 
  # Check if gcc -print-prog-name=ld gives a path.
11867
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11868
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11869
 
  case $host in
11870
 
  *-*-mingw*)
11871
 
    # gcc leaves a trailing carriage return which upsets mingw
11872
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11873
 
  *)
11874
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11875
 
  esac
11876
 
  case $ac_prog in
11877
 
    # Accept absolute paths.
11878
 
    [\\/]* | ?:[\\/]*)
11879
 
      re_direlt='/[^/][^/]*/\.\./'
11880
 
      # Canonicalize the pathname of ld
11881
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11882
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11883
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11884
 
      done
11885
 
      test -z "$LD" && LD="$ac_prog"
11886
 
      ;;
11887
 
  "")
11888
 
    # If it fails, then pretend we aren't using GCC.
11889
 
    ac_prog=ld
11890
 
    ;;
11891
 
  *)
11892
 
    # If it is relative, then search for the first ld in PATH.
11893
 
    with_gnu_ld=unknown
11894
 
    ;;
11895
 
  esac
11896
 
elif test "$with_gnu_ld" = yes; then
11897
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
11898
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11899
 
else
11900
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11901
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11902
 
fi
11903
 
if test "${lt_cv_path_LD+set}" = set; then
11904
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11905
 
else
11906
 
  if test -z "$LD"; then
11907
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11908
 
  for ac_dir in $PATH; do
11909
 
    IFS="$lt_save_ifs"
11910
 
    test -z "$ac_dir" && ac_dir=.
11911
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11912
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
11913
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
11914
 
      # but apparently some variants of GNU ld only accept -v.
11915
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
11916
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11917
 
      *GNU* | *'with BFD'*)
11918
 
        test "$with_gnu_ld" != no && break
11919
 
        ;;
11920
 
      *)
11921
 
        test "$with_gnu_ld" != yes && break
11922
 
        ;;
11923
 
      esac
11924
 
    fi
11925
 
  done
11926
 
  IFS="$lt_save_ifs"
11927
 
else
11928
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
11929
 
fi
11930
 
fi
11931
 
 
11932
 
LD="$lt_cv_path_LD"
11933
 
if test -n "$LD"; then
11934
 
  { echo "$as_me:$LINENO: result: $LD" >&5
11935
 
echo "${ECHO_T}$LD" >&6; }
11936
 
else
11937
 
  { echo "$as_me:$LINENO: result: no" >&5
11938
 
echo "${ECHO_T}no" >&6; }
11939
 
fi
11940
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11941
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11942
 
   { (exit 1); exit 1; }; }
11943
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11944
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11945
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
11946
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11947
 
else
11948
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
11949
 
case `$LD -v 2>&1 </dev/null` in
11950
 
*GNU* | *'with BFD'*)
11951
 
  lt_cv_prog_gnu_ld=yes
11952
 
  ;;
11953
 
*)
11954
 
  lt_cv_prog_gnu_ld=no
11955
 
  ;;
11956
 
esac
11957
 
fi
11958
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11959
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11960
 
with_gnu_ld=$lt_cv_prog_gnu_ld
11961
 
 
11962
 
 
11963
 
 
11964
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
11965
 
  # archiving commands below assume that GNU ld is being used.
11966
 
  if test "$with_gnu_ld" = yes; then
11967
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11968
 
    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'
11969
 
 
11970
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11971
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11972
 
 
11973
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
11974
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11975
 
    #     investigate it a little bit more. (MM)
11976
 
    wlarc='${wl}'
11977
 
 
11978
 
    # ancient GNU ld didn't support --whole-archive et. al.
11979
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11980
 
        grep 'no-whole-archive' > /dev/null; then
11981
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11982
 
    else
11983
 
      whole_archive_flag_spec_CXX=
11984
 
    fi
11985
 
  else
11986
 
    with_gnu_ld=no
11987
 
    wlarc=
11988
 
 
11989
 
    # A generic and very simple default shared library creation
11990
 
    # command for GNU C++ for the case where it uses the native
11991
 
    # linker, instead of GNU ld.  If possible, this setting should
11992
 
    # overridden to take advantage of the native linker features on
11993
 
    # the platform it is being used on.
11994
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11995
 
  fi
11996
 
 
11997
 
  # Commands to make compiler produce verbose output that lists
11998
 
  # what "hidden" libraries, object files and flags are used when
11999
 
  # linking a shared library.
12000
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12001
 
 
12002
 
else
12003
 
  GXX=no
12004
 
  with_gnu_ld=no
12005
 
  wlarc=
12006
 
fi
12007
 
 
12008
 
# PORTME: fill in a description of your system's C++ link characteristics
12009
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12010
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12011
 
ld_shlibs_CXX=yes
12012
 
case $host_os in
12013
 
  aix3*)
12014
 
    # FIXME: insert proper C++ library support
12015
 
    ld_shlibs_CXX=no
12016
 
    ;;
12017
 
  aix4* | aix5*)
12018
 
    if test "$host_cpu" = ia64; then
12019
 
      # On IA64, the linker does run time linking by default, so we don't
12020
 
      # have to do anything special.
12021
 
      aix_use_runtimelinking=no
12022
 
      exp_sym_flag='-Bexport'
12023
 
      no_entry_flag=""
12024
 
    else
12025
 
      aix_use_runtimelinking=no
12026
 
 
12027
 
      # Test if we are trying to use run time linking or normal
12028
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12029
 
      # need to do runtime linking.
12030
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
12031
 
        for ld_flag in $LDFLAGS; do
12032
 
          case $ld_flag in
12033
 
          *-brtl*)
12034
 
            aix_use_runtimelinking=yes
12035
 
            break
12036
 
            ;;
12037
 
          esac
12038
 
        done
12039
 
        ;;
12040
 
      esac
12041
 
 
12042
 
      exp_sym_flag='-bexport'
12043
 
      no_entry_flag='-bnoentry'
12044
 
    fi
12045
 
 
12046
 
    # When large executables or shared objects are built, AIX ld can
12047
 
    # have problems creating the table of contents.  If linking a library
12048
 
    # or program results in "error TOC overflow" add -mminimal-toc to
12049
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12050
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12051
 
 
12052
 
    archive_cmds_CXX=''
12053
 
    hardcode_direct_CXX=yes
12054
 
    hardcode_libdir_separator_CXX=':'
12055
 
    link_all_deplibs_CXX=yes
12056
 
 
12057
 
    if test "$GXX" = yes; then
12058
 
      case $host_os in aix4.[012]|aix4.[012].*)
12059
 
      # We only want to do this on AIX 4.2 and lower, the check
12060
 
      # below for broken collect2 doesn't work under 4.3+
12061
 
        collect2name=`${CC} -print-prog-name=collect2`
12062
 
        if test -f "$collect2name" && \
12063
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
12064
 
        then
12065
 
          # We have reworked collect2
12066
 
          :
12067
 
        else
12068
 
          # We have old collect2
12069
 
          hardcode_direct_CXX=unsupported
12070
 
          # It fails to find uninstalled libraries when the uninstalled
12071
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
12072
 
          # to unsupported forces relinking
12073
 
          hardcode_minus_L_CXX=yes
12074
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
12075
 
          hardcode_libdir_separator_CXX=
12076
 
        fi
12077
 
        ;;
12078
 
      esac
12079
 
      shared_flag='-shared'
12080
 
      if test "$aix_use_runtimelinking" = yes; then
12081
 
        shared_flag="$shared_flag "'${wl}-G'
12082
 
      fi
12083
 
    else
12084
 
      # not using gcc
12085
 
      if test "$host_cpu" = ia64; then
12086
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12087
 
        # chokes on -Wl,-G. The following line is correct:
12088
 
        shared_flag='-G'
12089
 
      else
12090
 
        if test "$aix_use_runtimelinking" = yes; then
12091
 
          shared_flag='${wl}-G'
12092
 
        else
12093
 
          shared_flag='${wl}-bM:SRE'
12094
 
        fi
12095
 
      fi
12096
 
    fi
12097
 
 
12098
 
    # It seems that -bexpall does not export symbols beginning with
12099
 
    # underscore (_), so it is better to generate a list of symbols to export.
12100
 
    always_export_symbols_CXX=yes
12101
 
    if test "$aix_use_runtimelinking" = yes; then
12102
 
      # Warning - without using the other runtime loading flags (-brtl),
12103
 
      # -berok will link without error, but may produce a broken library.
12104
 
      allow_undefined_flag_CXX='-berok'
12105
 
      # Determine the default libpath from the value encoded in an empty executable.
12106
 
      cat >conftest.$ac_ext <<_ACEOF
12107
 
/* confdefs.h.  */
12108
 
_ACEOF
12109
 
cat confdefs.h >>conftest.$ac_ext
12110
 
cat >>conftest.$ac_ext <<_ACEOF
12111
 
/* end confdefs.h.  */
12112
 
 
12113
 
int
12114
 
main ()
12115
 
{
12116
 
 
12117
 
  ;
12118
 
  return 0;
12119
 
}
12120
 
_ACEOF
12121
 
rm -f conftest.$ac_objext conftest$ac_exeext
12122
 
if { (ac_try="$ac_link"
12123
 
case "(($ac_try" in
12124
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12125
 
  *) ac_try_echo=$ac_try;;
12126
 
esac
12127
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12128
 
  (eval "$ac_link") 2>conftest.er1
12129
 
  ac_status=$?
12130
 
  grep -v '^ *+' conftest.er1 >conftest.err
12131
 
  rm -f conftest.er1
12132
 
  cat conftest.err >&5
12133
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12134
 
  (exit $ac_status); } && {
12135
 
         test -z "$ac_cxx_werror_flag" ||
12136
 
         test ! -s conftest.err
12137
 
       } && test -s conftest$ac_exeext &&
12138
 
       $as_test_x conftest$ac_exeext; then
12139
 
 
12140
 
lt_aix_libpath_sed='
12141
 
    /Import File Strings/,/^$/ {
12142
 
        /^0/ {
12143
 
            s/^0  *\(.*\)$/\1/
12144
 
            p
12145
 
        }
12146
 
    }'
12147
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12148
 
# Check for a 64-bit object if we didn't find anything.
12149
 
if test -z "$aix_libpath"; then
12150
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12151
 
fi
12152
 
else
12153
 
  echo "$as_me: failed program was:" >&5
12154
 
sed 's/^/| /' conftest.$ac_ext >&5
12155
 
 
12156
 
 
12157
 
fi
12158
 
 
12159
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12160
 
      conftest$ac_exeext conftest.$ac_ext
12161
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12162
 
 
12163
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12164
 
 
12165
 
      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"
12166
 
     else
12167
 
      if test "$host_cpu" = ia64; then
12168
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12169
 
        allow_undefined_flag_CXX="-z nodefs"
12170
 
        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"
12171
 
      else
12172
 
        # Determine the default libpath from the value encoded in an empty executable.
12173
 
        cat >conftest.$ac_ext <<_ACEOF
12174
 
/* confdefs.h.  */
12175
 
_ACEOF
12176
 
cat confdefs.h >>conftest.$ac_ext
12177
 
cat >>conftest.$ac_ext <<_ACEOF
12178
 
/* end confdefs.h.  */
12179
 
 
12180
 
int
12181
 
main ()
12182
 
{
12183
 
 
12184
 
  ;
12185
 
  return 0;
12186
 
}
12187
 
_ACEOF
12188
 
rm -f conftest.$ac_objext conftest$ac_exeext
12189
 
if { (ac_try="$ac_link"
12190
 
case "(($ac_try" in
12191
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12192
 
  *) ac_try_echo=$ac_try;;
12193
 
esac
12194
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12195
 
  (eval "$ac_link") 2>conftest.er1
12196
 
  ac_status=$?
12197
 
  grep -v '^ *+' conftest.er1 >conftest.err
12198
 
  rm -f conftest.er1
12199
 
  cat conftest.err >&5
12200
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12201
 
  (exit $ac_status); } && {
12202
 
         test -z "$ac_cxx_werror_flag" ||
12203
 
         test ! -s conftest.err
12204
 
       } && test -s conftest$ac_exeext &&
12205
 
       $as_test_x conftest$ac_exeext; then
12206
 
 
12207
 
lt_aix_libpath_sed='
12208
 
    /Import File Strings/,/^$/ {
12209
 
        /^0/ {
12210
 
            s/^0  *\(.*\)$/\1/
12211
 
            p
12212
 
        }
12213
 
    }'
12214
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12215
 
# Check for a 64-bit object if we didn't find anything.
12216
 
if test -z "$aix_libpath"; then
12217
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12218
 
fi
12219
 
else
12220
 
  echo "$as_me: failed program was:" >&5
12221
 
sed 's/^/| /' conftest.$ac_ext >&5
12222
 
 
12223
 
 
12224
 
fi
12225
 
 
12226
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12227
 
      conftest$ac_exeext conftest.$ac_ext
12228
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12229
 
 
12230
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12231
 
        # Warning - without using the other run time loading flags,
12232
 
        # -berok will link without error, but may produce a broken library.
12233
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
12234
 
        allow_undefined_flag_CXX=' ${wl}-berok'
12235
 
        # Exported symbols can be pulled into shared objects from archives
12236
 
        whole_archive_flag_spec_CXX='$convenience'
12237
 
        archive_cmds_need_lc_CXX=yes
12238
 
        # This is similar to how AIX traditionally builds its shared libraries.
12239
 
        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'
12240
 
      fi
12241
 
    fi
12242
 
    ;;
12243
 
 
12244
 
  beos*)
12245
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12246
 
      allow_undefined_flag_CXX=unsupported
12247
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12248
 
      # support --undefined.  This deserves some investigation.  FIXME
12249
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12250
 
    else
12251
 
      ld_shlibs_CXX=no
12252
 
    fi
12253
 
    ;;
12254
 
 
12255
 
  chorus*)
12256
 
    case $cc_basename in
12257
 
      *)
12258
 
        # FIXME: insert proper C++ library support
12259
 
        ld_shlibs_CXX=no
12260
 
        ;;
12261
 
    esac
12262
 
    ;;
12263
 
 
12264
 
  cygwin* | mingw* | pw32*)
12265
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12266
 
    # as there is no search path for DLLs.
12267
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
12268
 
    allow_undefined_flag_CXX=unsupported
12269
 
    always_export_symbols_CXX=no
12270
 
    enable_shared_with_static_runtimes_CXX=yes
12271
 
 
12272
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12273
 
      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'
12274
 
      # If the export-symbols file already is a .def file (1st line
12275
 
      # is EXPORTS), use it as is; otherwise, prepend...
12276
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12277
 
        cp $export_symbols $output_objdir/$soname.def;
12278
 
      else
12279
 
        echo EXPORTS > $output_objdir/$soname.def;
12280
 
        cat $export_symbols >> $output_objdir/$soname.def;
12281
 
      fi~
12282
 
      $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'
12283
 
    else
12284
 
      ld_shlibs_CXX=no
12285
 
    fi
12286
 
  ;;
12287
 
      darwin* | rhapsody*)
12288
 
        case $host_os in
12289
 
        rhapsody* | darwin1.[012])
12290
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
12291
 
         ;;
12292
 
       *) # Darwin 1.3 on
12293
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12294
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12295
 
         else
12296
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
12297
 
             10.[012])
12298
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12299
 
               ;;
12300
 
             10.*)
12301
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
12302
 
               ;;
12303
 
           esac
12304
 
         fi
12305
 
         ;;
12306
 
        esac
12307
 
      archive_cmds_need_lc_CXX=no
12308
 
      hardcode_direct_CXX=no
12309
 
      hardcode_automatic_CXX=yes
12310
 
      hardcode_shlibpath_var_CXX=unsupported
12311
 
      whole_archive_flag_spec_CXX=''
12312
 
      link_all_deplibs_CXX=yes
12313
 
 
12314
 
    if test "$GXX" = yes ; then
12315
 
      lt_int_apple_cc_single_mod=no
12316
 
      output_verbose_link_cmd='echo'
12317
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
12318
 
       lt_int_apple_cc_single_mod=yes
12319
 
      fi
12320
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12321
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12322
 
      else
12323
 
          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'
12324
 
        fi
12325
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12326
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12327
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12328
 
            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}'
12329
 
          else
12330
 
            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}'
12331
 
          fi
12332
 
            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}'
12333
 
      else
12334
 
      case $cc_basename in
12335
 
        xlc*)
12336
 
         output_verbose_link_cmd='echo'
12337
 
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
12338
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12339
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12340
 
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12341
 
          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}'
12342
 
          ;;
12343
 
       *)
12344
 
         ld_shlibs_CXX=no
12345
 
          ;;
12346
 
      esac
12347
 
      fi
12348
 
        ;;
12349
 
 
12350
 
  dgux*)
12351
 
    case $cc_basename in
12352
 
      ec++*)
12353
 
        # FIXME: insert proper C++ library support
12354
 
        ld_shlibs_CXX=no
12355
 
        ;;
12356
 
      ghcx*)
12357
 
        # Green Hills C++ Compiler
12358
 
        # FIXME: insert proper C++ library support
12359
 
        ld_shlibs_CXX=no
12360
 
        ;;
12361
 
      *)
12362
 
        # FIXME: insert proper C++ library support
12363
 
        ld_shlibs_CXX=no
12364
 
        ;;
12365
 
    esac
12366
 
    ;;
12367
 
  freebsd[12]*)
12368
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
12369
 
    ld_shlibs_CXX=no
12370
 
    ;;
12371
 
  freebsd-elf*)
12372
 
    archive_cmds_need_lc_CXX=no
12373
 
    ;;
12374
 
  freebsd* | dragonfly*)
12375
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12376
 
    # conventions
12377
 
    ld_shlibs_CXX=yes
12378
 
    ;;
12379
 
  gnu*)
12380
 
    ;;
12381
 
  hpux9*)
12382
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12383
 
    hardcode_libdir_separator_CXX=:
12384
 
    export_dynamic_flag_spec_CXX='${wl}-E'
12385
 
    hardcode_direct_CXX=yes
12386
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
12387
 
                                # but as the default
12388
 
                                # location of the library.
12389
 
 
12390
 
    case $cc_basename in
12391
 
    CC*)
12392
 
      # FIXME: insert proper C++ library support
12393
 
      ld_shlibs_CXX=no
12394
 
      ;;
12395
 
    aCC*)
12396
 
      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'
12397
 
      # Commands to make compiler produce verbose output that lists
12398
 
      # what "hidden" libraries, object files and flags are used when
12399
 
      # linking a shared library.
12400
 
      #
12401
 
      # There doesn't appear to be a way to prevent this compiler from
12402
 
      # explicitly linking system object files so we need to strip them
12403
 
      # from the output so that they don't get included in the library
12404
 
      # dependencies.
12405
 
      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'
12406
 
      ;;
12407
 
    *)
12408
 
      if test "$GXX" = yes; then
12409
 
        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'
12410
 
      else
12411
 
        # FIXME: insert proper C++ library support
12412
 
        ld_shlibs_CXX=no
12413
 
      fi
12414
 
      ;;
12415
 
    esac
12416
 
    ;;
12417
 
  hpux10*|hpux11*)
12418
 
    if test $with_gnu_ld = no; then
12419
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12420
 
      hardcode_libdir_separator_CXX=:
12421
 
 
12422
 
      case $host_cpu in
12423
 
      hppa*64*|ia64*) ;;
12424
 
      *)
12425
 
        export_dynamic_flag_spec_CXX='${wl}-E'
12426
 
        ;;
12427
 
      esac
12428
 
    fi
12429
 
    case $host_cpu in
12430
 
    hppa*64*|ia64*)
12431
 
      hardcode_direct_CXX=no
12432
 
      hardcode_shlibpath_var_CXX=no
12433
 
      ;;
12434
 
    *)
12435
 
      hardcode_direct_CXX=yes
12436
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
12437
 
                                              # but as the default
12438
 
                                              # location of the library.
12439
 
      ;;
12440
 
    esac
12441
 
 
12442
 
    case $cc_basename in
12443
 
      CC*)
12444
 
        # FIXME: insert proper C++ library support
12445
 
        ld_shlibs_CXX=no
12446
 
        ;;
12447
 
      aCC*)
12448
 
        case $host_cpu in
12449
 
        hppa*64*)
12450
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12451
 
          ;;
12452
 
        ia64*)
12453
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12454
 
          ;;
12455
 
        *)
12456
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12457
 
          ;;
12458
 
        esac
12459
 
        # Commands to make compiler produce verbose output that lists
12460
 
        # what "hidden" libraries, object files and flags are used when
12461
 
        # linking a shared library.
12462
 
        #
12463
 
        # There doesn't appear to be a way to prevent this compiler from
12464
 
        # explicitly linking system object files so we need to strip them
12465
 
        # from the output so that they don't get included in the library
12466
 
        # dependencies.
12467
 
        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'
12468
 
        ;;
12469
 
      *)
12470
 
        if test "$GXX" = yes; then
12471
 
          if test $with_gnu_ld = no; then
12472
 
            case $host_cpu in
12473
 
            hppa*64*)
12474
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12475
 
              ;;
12476
 
            ia64*)
12477
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12478
 
              ;;
12479
 
            *)
12480
 
              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'
12481
 
              ;;
12482
 
            esac
12483
 
          fi
12484
 
        else
12485
 
          # FIXME: insert proper C++ library support
12486
 
          ld_shlibs_CXX=no
12487
 
        fi
12488
 
        ;;
12489
 
    esac
12490
 
    ;;
12491
 
  interix[3-9]*)
12492
 
    hardcode_direct_CXX=no
12493
 
    hardcode_shlibpath_var_CXX=no
12494
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12495
 
    export_dynamic_flag_spec_CXX='${wl}-E'
12496
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12497
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
12498
 
    # default) and relocated if they conflict, which is a slow very memory
12499
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
12500
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12501
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12502
 
    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'
12503
 
    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'
12504
 
    ;;
12505
 
  irix5* | irix6*)
12506
 
    case $cc_basename in
12507
 
      CC*)
12508
 
        # SGI C++
12509
 
        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'
12510
 
 
12511
 
        # Archives containing C++ object files must be created using
12512
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12513
 
        # necessary to make sure instantiated templates are included
12514
 
        # in the archive.
12515
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12516
 
        ;;
12517
 
      *)
12518
 
        if test "$GXX" = yes; then
12519
 
          if test "$with_gnu_ld" = no; then
12520
 
            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'
12521
 
          else
12522
 
            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'
12523
 
          fi
12524
 
        fi
12525
 
        link_all_deplibs_CXX=yes
12526
 
        ;;
12527
 
    esac
12528
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12529
 
    hardcode_libdir_separator_CXX=:
12530
 
    ;;
12531
 
  linux* | k*bsd*-gnu)
12532
 
    case $cc_basename in
12533
 
      KCC*)
12534
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12535
 
 
12536
 
        # KCC will only create a shared library if the output file
12537
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12538
 
        # to its proper name (with version) after linking.
12539
 
        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'
12540
 
        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'
12541
 
        # Commands to make compiler produce verbose output that lists
12542
 
        # what "hidden" libraries, object files and flags are used when
12543
 
        # linking a shared library.
12544
 
        #
12545
 
        # There doesn't appear to be a way to prevent this compiler from
12546
 
        # explicitly linking system object files so we need to strip them
12547
 
        # from the output so that they don't get included in the library
12548
 
        # dependencies.
12549
 
        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'
12550
 
 
12551
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
12552
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12553
 
 
12554
 
        # Archives containing C++ object files must be created using
12555
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12556
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12557
 
        ;;
12558
 
      icpc*)
12559
 
        # Intel C++
12560
 
        with_gnu_ld=yes
12561
 
        # version 8.0 and above of icpc choke on multiply defined symbols
12562
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
12563
 
        # earlier do not add the objects themselves.
12564
 
        case `$CC -V 2>&1` in
12565
 
        *"Version 7."*)
12566
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12567
 
          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'
12568
 
          ;;
12569
 
        *)  # Version 8.0 or newer
12570
 
          tmp_idyn=
12571
 
          case $host_cpu in
12572
 
            ia64*) tmp_idyn=' -i_dynamic';;
12573
 
          esac
12574
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12575
 
          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'
12576
 
          ;;
12577
 
        esac
12578
 
        archive_cmds_need_lc_CXX=no
12579
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12580
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12581
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12582
 
        ;;
12583
 
      pgCC*)
12584
 
        # Portland Group C++ compiler
12585
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12586
 
        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'
12587
 
 
12588
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12589
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12590
 
        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'
12591
 
        ;;
12592
 
      cxx*)
12593
 
        # Compaq C++
12594
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12595
 
        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'
12596
 
 
12597
 
        runpath_var=LD_RUN_PATH
12598
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12599
 
        hardcode_libdir_separator_CXX=:
12600
 
 
12601
 
        # Commands to make compiler produce verbose output that lists
12602
 
        # what "hidden" libraries, object files and flags are used when
12603
 
        # linking a shared library.
12604
 
        #
12605
 
        # There doesn't appear to be a way to prevent this compiler from
12606
 
        # explicitly linking system object files so we need to strip them
12607
 
        # from the output so that they don't get included in the library
12608
 
        # dependencies.
12609
 
        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'
12610
 
        ;;
12611
 
      *)
12612
 
        case `$CC -V 2>&1 | sed 5q` in
12613
 
        *Sun\ C*)
12614
 
          # Sun C++ 5.9
12615
 
          no_undefined_flag_CXX=' -zdefs'
12616
 
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12617
 
          archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12618
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
12619
 
          whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
12620
 
 
12621
 
          # Not sure whether something based on
12622
 
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12623
 
          # would be better.
12624
 
          output_verbose_link_cmd='echo'
12625
 
 
12626
 
          # Archives containing C++ object files must be created using
12627
 
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12628
 
          # necessary to make sure instantiated templates are included
12629
 
          # in the archive.
12630
 
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12631
 
          ;;
12632
 
        esac
12633
 
        ;;
12634
 
    esac
12635
 
    ;;
12636
 
  lynxos*)
12637
 
    # FIXME: insert proper C++ library support
12638
 
    ld_shlibs_CXX=no
12639
 
    ;;
12640
 
  m88k*)
12641
 
    # FIXME: insert proper C++ library support
12642
 
    ld_shlibs_CXX=no
12643
 
    ;;
12644
 
  mvs*)
12645
 
    case $cc_basename in
12646
 
      cxx*)
12647
 
        # FIXME: insert proper C++ library support
12648
 
        ld_shlibs_CXX=no
12649
 
        ;;
12650
 
      *)
12651
 
        # FIXME: insert proper C++ library support
12652
 
        ld_shlibs_CXX=no
12653
 
        ;;
12654
 
    esac
12655
 
    ;;
12656
 
  netbsd* | netbsdelf*-gnu)
12657
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12658
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12659
 
      wlarc=
12660
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
12661
 
      hardcode_direct_CXX=yes
12662
 
      hardcode_shlibpath_var_CXX=no
12663
 
    fi
12664
 
    # Workaround some broken pre-1.5 toolchains
12665
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12666
 
    ;;
12667
 
  openbsd2*)
12668
 
    # C++ shared libraries are fairly broken
12669
 
    ld_shlibs_CXX=no
12670
 
    ;;
12671
 
  openbsd*)
12672
 
    if test -f /usr/libexec/ld.so; then
12673
 
      hardcode_direct_CXX=yes
12674
 
      hardcode_shlibpath_var_CXX=no
12675
 
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12676
 
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12677
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12678
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12679
 
        export_dynamic_flag_spec_CXX='${wl}-E'
12680
 
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12681
 
      fi
12682
 
      output_verbose_link_cmd='echo'
12683
 
    else
12684
 
      ld_shlibs_CXX=no
12685
 
    fi
12686
 
    ;;
12687
 
  osf3*)
12688
 
    case $cc_basename in
12689
 
      KCC*)
12690
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12691
 
 
12692
 
        # KCC will only create a shared library if the output file
12693
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12694
 
        # to its proper name (with version) after linking.
12695
 
        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'
12696
 
 
12697
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12698
 
        hardcode_libdir_separator_CXX=:
12699
 
 
12700
 
        # Archives containing C++ object files must be created using
12701
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12702
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12703
 
 
12704
 
        ;;
12705
 
      RCC*)
12706
 
        # Rational C++ 2.4.1
12707
 
        # FIXME: insert proper C++ library support
12708
 
        ld_shlibs_CXX=no
12709
 
        ;;
12710
 
      cxx*)
12711
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12712
 
        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'
12713
 
 
12714
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12715
 
        hardcode_libdir_separator_CXX=:
12716
 
 
12717
 
        # Commands to make compiler produce verbose output that lists
12718
 
        # what "hidden" libraries, object files and flags are used when
12719
 
        # linking a shared library.
12720
 
        #
12721
 
        # There doesn't appear to be a way to prevent this compiler from
12722
 
        # explicitly linking system object files so we need to strip them
12723
 
        # from the output so that they don't get included in the library
12724
 
        # dependencies.
12725
 
        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'
12726
 
        ;;
12727
 
      *)
12728
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12729
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12730
 
          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'
12731
 
 
12732
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12733
 
          hardcode_libdir_separator_CXX=:
12734
 
 
12735
 
          # Commands to make compiler produce verbose output that lists
12736
 
          # what "hidden" libraries, object files and flags are used when
12737
 
          # linking a shared library.
12738
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12739
 
 
12740
 
        else
12741
 
          # FIXME: insert proper C++ library support
12742
 
          ld_shlibs_CXX=no
12743
 
        fi
12744
 
        ;;
12745
 
    esac
12746
 
    ;;
12747
 
  osf4* | osf5*)
12748
 
    case $cc_basename in
12749
 
      KCC*)
12750
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12751
 
 
12752
 
        # KCC will only create a shared library if the output file
12753
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12754
 
        # to its proper name (with version) after linking.
12755
 
        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'
12756
 
 
12757
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12758
 
        hardcode_libdir_separator_CXX=:
12759
 
 
12760
 
        # Archives containing C++ object files must be created using
12761
 
        # the KAI C++ compiler.
12762
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
12763
 
        ;;
12764
 
      RCC*)
12765
 
        # Rational C++ 2.4.1
12766
 
        # FIXME: insert proper C++ library support
12767
 
        ld_shlibs_CXX=no
12768
 
        ;;
12769
 
      cxx*)
12770
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
12771
 
        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'
12772
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12773
 
          echo "-hidden">> $lib.exp~
12774
 
          $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~
12775
 
          $rm $lib.exp'
12776
 
 
12777
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12778
 
        hardcode_libdir_separator_CXX=:
12779
 
 
12780
 
        # Commands to make compiler produce verbose output that lists
12781
 
        # what "hidden" libraries, object files and flags are used when
12782
 
        # linking a shared library.
12783
 
        #
12784
 
        # There doesn't appear to be a way to prevent this compiler from
12785
 
        # explicitly linking system object files so we need to strip them
12786
 
        # from the output so that they don't get included in the library
12787
 
        # dependencies.
12788
 
        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'
12789
 
        ;;
12790
 
      *)
12791
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12792
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12793
 
         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'
12794
 
 
12795
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12796
 
          hardcode_libdir_separator_CXX=:
12797
 
 
12798
 
          # Commands to make compiler produce verbose output that lists
12799
 
          # what "hidden" libraries, object files and flags are used when
12800
 
          # linking a shared library.
12801
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12802
 
 
12803
 
        else
12804
 
          # FIXME: insert proper C++ library support
12805
 
          ld_shlibs_CXX=no
12806
 
        fi
12807
 
        ;;
12808
 
    esac
12809
 
    ;;
12810
 
  psos*)
12811
 
    # FIXME: insert proper C++ library support
12812
 
    ld_shlibs_CXX=no
12813
 
    ;;
12814
 
  sunos4*)
12815
 
    case $cc_basename in
12816
 
      CC*)
12817
 
        # Sun C++ 4.x
12818
 
        # FIXME: insert proper C++ library support
12819
 
        ld_shlibs_CXX=no
12820
 
        ;;
12821
 
      lcc*)
12822
 
        # Lucid
12823
 
        # FIXME: insert proper C++ library support
12824
 
        ld_shlibs_CXX=no
12825
 
        ;;
12826
 
      *)
12827
 
        # FIXME: insert proper C++ library support
12828
 
        ld_shlibs_CXX=no
12829
 
        ;;
12830
 
    esac
12831
 
    ;;
12832
 
  solaris*)
12833
 
    case $cc_basename in
12834
 
      CC*)
12835
 
        # Sun C++ 4.2, 5.x and Centerline C++
12836
 
        archive_cmds_need_lc_CXX=yes
12837
 
        no_undefined_flag_CXX=' -zdefs'
12838
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12839
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12840
 
        $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'
12841
 
 
12842
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
12843
 
        hardcode_shlibpath_var_CXX=no
12844
 
        case $host_os in
12845
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
12846
 
          *)
12847
 
            # The compiler driver will combine and reorder linker options,
12848
 
            # but understands `-z linker_flag'.
12849
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
12850
 
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12851
 
            ;;
12852
 
        esac
12853
 
        link_all_deplibs_CXX=yes
12854
 
 
12855
 
        output_verbose_link_cmd='echo'
12856
 
 
12857
 
        # Archives containing C++ object files must be created using
12858
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12859
 
        # necessary to make sure instantiated templates are included
12860
 
        # in the archive.
12861
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12862
 
        ;;
12863
 
      gcx*)
12864
 
        # Green Hills C++ Compiler
12865
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12866
 
 
12867
 
        # The C++ compiler must be used to create the archive.
12868
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12869
 
        ;;
12870
 
      *)
12871
 
        # GNU C++ compiler with Solaris linker
12872
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12873
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12874
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
12875
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12876
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12877
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12878
 
 
12879
 
            # Commands to make compiler produce verbose output that lists
12880
 
            # what "hidden" libraries, object files and flags are used when
12881
 
            # linking a shared library.
12882
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12883
 
          else
12884
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
12885
 
            # platform.
12886
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12887
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12888
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12889
 
 
12890
 
            # Commands to make compiler produce verbose output that lists
12891
 
            # what "hidden" libraries, object files and flags are used when
12892
 
            # linking a shared library.
12893
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12894
 
          fi
12895
 
 
12896
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12897
 
          case $host_os in
12898
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
12899
 
          *)
12900
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12901
 
            ;;
12902
 
          esac
12903
 
        fi
12904
 
        ;;
12905
 
    esac
12906
 
    ;;
12907
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12908
 
    no_undefined_flag_CXX='${wl}-z,text'
12909
 
    archive_cmds_need_lc_CXX=no
12910
 
    hardcode_shlibpath_var_CXX=no
12911
 
    runpath_var='LD_RUN_PATH'
12912
 
 
12913
 
    case $cc_basename in
12914
 
      CC*)
12915
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12916
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12917
 
        ;;
12918
 
      *)
12919
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12920
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12921
 
        ;;
12922
 
    esac
12923
 
    ;;
12924
 
  sysv5* | sco3.2v5* | sco5v6*)
12925
 
    # Note: We can NOT use -z defs as we might desire, because we do not
12926
 
    # link with -lc, and that would cause any symbols used from libc to
12927
 
    # always be unresolved, which means just about no library would
12928
 
    # ever link correctly.  If we're not using GNU ld we use -z text
12929
 
    # though, which does catch some bad symbols but isn't as heavy-handed
12930
 
    # as -z defs.
12931
 
    # For security reasons, it is highly recommended that you always
12932
 
    # use absolute paths for naming shared libraries, and exclude the
12933
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
12934
 
    # requires that you compile everything twice, which is a pain.
12935
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
12936
 
    # non-empty value in the environment.  Most likely only useful for
12937
 
    # creating official distributions of packages.
12938
 
    # This is a hack until libtool officially supports absolute path
12939
 
    # names for shared libraries.
12940
 
    no_undefined_flag_CXX='${wl}-z,text'
12941
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
12942
 
    archive_cmds_need_lc_CXX=no
12943
 
    hardcode_shlibpath_var_CXX=no
12944
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12945
 
    hardcode_libdir_separator_CXX=':'
12946
 
    link_all_deplibs_CXX=yes
12947
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
12948
 
    runpath_var='LD_RUN_PATH'
12949
 
 
12950
 
    case $cc_basename in
12951
 
      CC*)
12952
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12953
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12954
 
        ;;
12955
 
      *)
12956
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12957
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12958
 
        ;;
12959
 
    esac
12960
 
    ;;
12961
 
  tandem*)
12962
 
    case $cc_basename in
12963
 
      NCC*)
12964
 
        # NonStop-UX NCC 3.20
12965
 
        # FIXME: insert proper C++ library support
12966
 
        ld_shlibs_CXX=no
12967
 
        ;;
12968
 
      *)
12969
 
        # FIXME: insert proper C++ library support
12970
 
        ld_shlibs_CXX=no
12971
 
        ;;
12972
 
    esac
12973
 
    ;;
12974
 
  vxworks*)
12975
 
    # FIXME: insert proper C++ library support
12976
 
    ld_shlibs_CXX=no
12977
 
    ;;
12978
 
  *)
12979
 
    # FIXME: insert proper C++ library support
12980
 
    ld_shlibs_CXX=no
12981
 
    ;;
12982
 
esac
12983
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12984
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12985
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
12986
 
 
12987
 
GCC_CXX="$GXX"
12988
 
LD_CXX="$LD"
12989
 
 
12990
 
 
12991
 
cat > conftest.$ac_ext <<EOF
12992
 
class Foo
12993
 
{
12994
 
public:
12995
 
  Foo (void) { a = 0; }
12996
 
private:
12997
 
  int a;
12998
 
};
12999
 
EOF
13000
 
 
13001
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13002
 
  (eval $ac_compile) 2>&5
13003
 
  ac_status=$?
13004
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13005
 
  (exit $ac_status); }; then
13006
 
  # Parse the compiler output and extract the necessary
13007
 
  # objects, libraries and library flags.
13008
 
 
13009
 
  # Sentinel used to keep track of whether or not we are before
13010
 
  # the conftest object file.
13011
 
  pre_test_object_deps_done=no
13012
 
 
13013
 
  # The `*' in the case matches for architectures that use `case' in
13014
 
  # $output_verbose_cmd can trigger glob expansion during the loop
13015
 
  # eval without this substitution.
13016
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13017
 
 
13018
 
  for p in `eval $output_verbose_link_cmd`; do
13019
 
    case $p in
13020
 
 
13021
 
    -L* | -R* | -l*)
13022
 
       # Some compilers place space between "-{L,R}" and the path.
13023
 
       # Remove the space.
13024
 
       if test $p = "-L" \
13025
 
          || test $p = "-R"; then
13026
 
         prev=$p
13027
 
         continue
13028
 
       else
13029
 
         prev=
13030
 
       fi
13031
 
 
13032
 
       if test "$pre_test_object_deps_done" = no; then
13033
 
         case $p in
13034
 
         -L* | -R*)
13035
 
           # Internal compiler library paths should come after those
13036
 
           # provided the user.  The postdeps already come after the
13037
 
           # user supplied libs so there is no need to process them.
13038
 
           if test -z "$compiler_lib_search_path_CXX"; then
13039
 
             compiler_lib_search_path_CXX="${prev}${p}"
13040
 
           else
13041
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13042
 
           fi
13043
 
           ;;
13044
 
         # The "-l" case would never come before the object being
13045
 
         # linked, so don't bother handling this case.
13046
 
         esac
13047
 
       else
13048
 
         if test -z "$postdeps_CXX"; then
13049
 
           postdeps_CXX="${prev}${p}"
13050
 
         else
13051
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13052
 
         fi
13053
 
       fi
13054
 
       ;;
13055
 
 
13056
 
    *.$objext)
13057
 
       # This assumes that the test object file only shows up
13058
 
       # once in the compiler output.
13059
 
       if test "$p" = "conftest.$objext"; then
13060
 
         pre_test_object_deps_done=yes
13061
 
         continue
13062
 
       fi
13063
 
 
13064
 
       if test "$pre_test_object_deps_done" = no; then
13065
 
         if test -z "$predep_objects_CXX"; then
13066
 
           predep_objects_CXX="$p"
13067
 
         else
13068
 
           predep_objects_CXX="$predep_objects_CXX $p"
13069
 
         fi
13070
 
       else
13071
 
         if test -z "$postdep_objects_CXX"; then
13072
 
           postdep_objects_CXX="$p"
13073
 
         else
13074
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
13075
 
         fi
13076
 
       fi
13077
 
       ;;
13078
 
 
13079
 
    *) ;; # Ignore the rest.
13080
 
 
13081
 
    esac
13082
 
  done
13083
 
 
13084
 
  # Clean up.
13085
 
  rm -f a.out a.exe
13086
 
else
13087
 
  echo "libtool.m4: error: problem compiling CXX test program"
13088
 
fi
13089
 
 
13090
 
$rm -f confest.$objext
13091
 
 
13092
 
# PORTME: override above test on systems where it is broken
13093
 
case $host_os in
13094
 
interix[3-9]*)
13095
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13096
 
  # hack all around it, let's just trust "g++" to DTRT.
13097
 
  predep_objects_CXX=
13098
 
  postdep_objects_CXX=
13099
 
  postdeps_CXX=
13100
 
  ;;
13101
 
 
13102
 
linux*)
13103
 
  case `$CC -V 2>&1 | sed 5q` in
13104
 
  *Sun\ C*)
13105
 
    # Sun C++ 5.9
13106
 
    #
13107
 
    # The more standards-conforming stlport4 library is
13108
 
    # incompatible with the Cstd library. Avoid specifying
13109
 
    # it if it's in CXXFLAGS. Ignore libCrun as
13110
 
    # -library=stlport4 depends on it.
13111
 
    case " $CXX $CXXFLAGS " in
13112
 
    *" -library=stlport4 "*)
13113
 
      solaris_use_stlport4=yes
13114
 
      ;;
13115
 
    esac
13116
 
    if test "$solaris_use_stlport4" != yes; then
13117
 
      postdeps_CXX='-library=Cstd -library=Crun'
13118
 
    fi
13119
 
    ;;
13120
 
  esac
13121
 
  ;;
13122
 
 
13123
 
solaris*)
13124
 
  case $cc_basename in
13125
 
  CC*)
13126
 
    # The more standards-conforming stlport4 library is
13127
 
    # incompatible with the Cstd library. Avoid specifying
13128
 
    # it if it's in CXXFLAGS. Ignore libCrun as
13129
 
    # -library=stlport4 depends on it.
13130
 
    case " $CXX $CXXFLAGS " in
13131
 
    *" -library=stlport4 "*)
13132
 
      solaris_use_stlport4=yes
13133
 
      ;;
13134
 
    esac
13135
 
 
13136
 
    # Adding this requires a known-good setup of shared libraries for
13137
 
    # Sun compiler versions before 5.6, else PIC objects from an old
13138
 
    # archive will be linked into the output, leading to subtle bugs.
13139
 
    if test "$solaris_use_stlport4" != yes; then
13140
 
      postdeps_CXX='-library=Cstd -library=Crun'
13141
 
    fi
13142
 
    ;;
13143
 
  esac
13144
 
  ;;
13145
 
esac
13146
 
 
13147
 
 
13148
 
case " $postdeps_CXX " in
13149
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13150
 
esac
13151
 
 
13152
 
lt_prog_compiler_wl_CXX=
13153
 
lt_prog_compiler_pic_CXX=
13154
 
lt_prog_compiler_static_CXX=
13155
 
 
13156
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13157
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13158
 
 
13159
 
  # C++ specific cases for pic, static, wl, etc.
13160
 
  if test "$GXX" = yes; then
13161
 
    lt_prog_compiler_wl_CXX='-Wl,'
13162
 
    lt_prog_compiler_static_CXX='-static'
13163
 
 
13164
 
    case $host_os in
13165
 
    aix*)
13166
 
      # All AIX code is PIC.
13167
 
      if test "$host_cpu" = ia64; then
13168
 
        # AIX 5 now supports IA64 processor
13169
 
        lt_prog_compiler_static_CXX='-Bstatic'
13170
 
      fi
13171
 
      ;;
13172
 
    amigaos*)
13173
 
      # FIXME: we need at least 68020 code to build shared libraries, but
13174
 
      # adding the `-m68020' flag to GCC prevents building anything better,
13175
 
      # like `-m68040'.
13176
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13177
 
      ;;
13178
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13179
 
      # PIC is the default for these OSes.
13180
 
      ;;
13181
 
    mingw* | cygwin* | os2* | pw32*)
13182
 
      # This hack is so that the source file can tell whether it is being
13183
 
      # built for inclusion in a dll (and should export symbols for example).
13184
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
13185
 
      # (--disable-auto-import) libraries
13186
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13187
 
      ;;
13188
 
    darwin* | rhapsody*)
13189
 
      # PIC is the default on this platform
13190
 
      # Common symbols not allowed in MH_DYLIB files
13191
 
      lt_prog_compiler_pic_CXX='-fno-common'
13192
 
      ;;
13193
 
    *djgpp*)
13194
 
      # DJGPP does not support shared libraries at all
13195
 
      lt_prog_compiler_pic_CXX=
13196
 
      ;;
13197
 
    interix[3-9]*)
13198
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13199
 
      # Instead, we relocate shared libraries at runtime.
13200
 
      ;;
13201
 
    sysv4*MP*)
13202
 
      if test -d /usr/nec; then
13203
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
13204
 
      fi
13205
 
      ;;
13206
 
    hpux*)
13207
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13208
 
      # not for PA HP-UX.
13209
 
      case $host_cpu in
13210
 
      hppa*64*|ia64*)
13211
 
        ;;
13212
 
      *)
13213
 
        lt_prog_compiler_pic_CXX='-fPIC'
13214
 
        ;;
13215
 
      esac
13216
 
      ;;
13217
 
    *)
13218
 
      lt_prog_compiler_pic_CXX='-fPIC'
13219
 
      ;;
13220
 
    esac
13221
 
  else
13222
 
    case $host_os in
13223
 
      aix4* | aix5*)
13224
 
        # All AIX code is PIC.
13225
 
        if test "$host_cpu" = ia64; then
13226
 
          # AIX 5 now supports IA64 processor
13227
 
          lt_prog_compiler_static_CXX='-Bstatic'
13228
 
        else
13229
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13230
 
        fi
13231
 
        ;;
13232
 
      chorus*)
13233
 
        case $cc_basename in
13234
 
        cxch68*)
13235
 
          # Green Hills C++ Compiler
13236
 
          # _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"
13237
 
          ;;
13238
 
        esac
13239
 
        ;;
13240
 
       darwin*)
13241
 
         # PIC is the default on this platform
13242
 
         # Common symbols not allowed in MH_DYLIB files
13243
 
         case $cc_basename in
13244
 
           xlc*)
13245
 
           lt_prog_compiler_pic_CXX='-qnocommon'
13246
 
           lt_prog_compiler_wl_CXX='-Wl,'
13247
 
           ;;
13248
 
         esac
13249
 
       ;;
13250
 
      dgux*)
13251
 
        case $cc_basename in
13252
 
          ec++*)
13253
 
            lt_prog_compiler_pic_CXX='-KPIC'
13254
 
            ;;
13255
 
          ghcx*)
13256
 
            # Green Hills C++ Compiler
13257
 
            lt_prog_compiler_pic_CXX='-pic'
13258
 
            ;;
13259
 
          *)
13260
 
            ;;
13261
 
        esac
13262
 
        ;;
13263
 
      freebsd* | dragonfly*)
13264
 
        # FreeBSD uses GNU C++
13265
 
        ;;
13266
 
      hpux9* | hpux10* | hpux11*)
13267
 
        case $cc_basename in
13268
 
          CC*)
13269
 
            lt_prog_compiler_wl_CXX='-Wl,'
13270
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13271
 
            if test "$host_cpu" != ia64; then
13272
 
              lt_prog_compiler_pic_CXX='+Z'
13273
 
            fi
13274
 
            ;;
13275
 
          aCC*)
13276
 
            lt_prog_compiler_wl_CXX='-Wl,'
13277
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13278
 
            case $host_cpu in
13279
 
            hppa*64*|ia64*)
13280
 
              # +Z the default
13281
 
              ;;
13282
 
            *)
13283
 
              lt_prog_compiler_pic_CXX='+Z'
13284
 
              ;;
13285
 
            esac
13286
 
            ;;
13287
 
          *)
13288
 
            ;;
13289
 
        esac
13290
 
        ;;
13291
 
      interix*)
13292
 
        # This is c89, which is MS Visual C++ (no shared libs)
13293
 
        # Anyone wants to do a port?
13294
 
        ;;
13295
 
      irix5* | irix6* | nonstopux*)
13296
 
        case $cc_basename in
13297
 
          CC*)
13298
 
            lt_prog_compiler_wl_CXX='-Wl,'
13299
 
            lt_prog_compiler_static_CXX='-non_shared'
13300
 
            # CC pic flag -KPIC is the default.
13301
 
            ;;
13302
 
          *)
13303
 
            ;;
13304
 
        esac
13305
 
        ;;
13306
 
      linux* | k*bsd*-gnu)
13307
 
        case $cc_basename in
13308
 
          KCC*)
13309
 
            # KAI C++ Compiler
13310
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
13311
 
            lt_prog_compiler_pic_CXX='-fPIC'
13312
 
            ;;
13313
 
          icpc* | ecpc*)
13314
 
            # Intel C++
13315
 
            lt_prog_compiler_wl_CXX='-Wl,'
13316
 
            lt_prog_compiler_pic_CXX='-KPIC'
13317
 
            lt_prog_compiler_static_CXX='-static'
13318
 
            ;;
13319
 
          pgCC*)
13320
 
            # Portland Group C++ compiler.
13321
 
            lt_prog_compiler_wl_CXX='-Wl,'
13322
 
            lt_prog_compiler_pic_CXX='-fpic'
13323
 
            lt_prog_compiler_static_CXX='-Bstatic'
13324
 
            ;;
13325
 
          cxx*)
13326
 
            # Compaq C++
13327
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
13328
 
            # Linux and Compaq Tru64 Unix objects are PIC.
13329
 
            lt_prog_compiler_pic_CXX=
13330
 
            lt_prog_compiler_static_CXX='-non_shared'
13331
 
            ;;
13332
 
          *)
13333
 
            case `$CC -V 2>&1 | sed 5q` in
13334
 
            *Sun\ C*)
13335
 
              # Sun C++ 5.9
13336
 
              lt_prog_compiler_pic_CXX='-KPIC'
13337
 
              lt_prog_compiler_static_CXX='-Bstatic'
13338
 
              lt_prog_compiler_wl_CXX='-Qoption ld '
13339
 
              ;;
13340
 
            esac
13341
 
            ;;
13342
 
        esac
13343
 
        ;;
13344
 
      lynxos*)
13345
 
        ;;
13346
 
      m88k*)
13347
 
        ;;
13348
 
      mvs*)
13349
 
        case $cc_basename in
13350
 
          cxx*)
13351
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
13352
 
            ;;
13353
 
          *)
13354
 
            ;;
13355
 
        esac
13356
 
        ;;
13357
 
      netbsd* | netbsdelf*-gnu)
13358
 
        ;;
13359
 
      osf3* | osf4* | osf5*)
13360
 
        case $cc_basename in
13361
 
          KCC*)
13362
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
13363
 
            ;;
13364
 
          RCC*)
13365
 
            # Rational C++ 2.4.1
13366
 
            lt_prog_compiler_pic_CXX='-pic'
13367
 
            ;;
13368
 
          cxx*)
13369
 
            # Digital/Compaq C++
13370
 
            lt_prog_compiler_wl_CXX='-Wl,'
13371
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
13372
 
            # Linux and Compaq Tru64 Unix objects are PIC.
13373
 
            lt_prog_compiler_pic_CXX=
13374
 
            lt_prog_compiler_static_CXX='-non_shared'
13375
 
            ;;
13376
 
          *)
13377
 
            ;;
13378
 
        esac
13379
 
        ;;
13380
 
      psos*)
13381
 
        ;;
13382
 
      solaris*)
13383
 
        case $cc_basename in
13384
 
          CC*)
13385
 
            # Sun C++ 4.2, 5.x and Centerline C++
13386
 
            lt_prog_compiler_pic_CXX='-KPIC'
13387
 
            lt_prog_compiler_static_CXX='-Bstatic'
13388
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
13389
 
            ;;
13390
 
          gcx*)
13391
 
            # Green Hills C++ Compiler
13392
 
            lt_prog_compiler_pic_CXX='-PIC'
13393
 
            ;;
13394
 
          *)
13395
 
            ;;
13396
 
        esac
13397
 
        ;;
13398
 
      sunos4*)
13399
 
        case $cc_basename in
13400
 
          CC*)
13401
 
            # Sun C++ 4.x
13402
 
            lt_prog_compiler_pic_CXX='-pic'
13403
 
            lt_prog_compiler_static_CXX='-Bstatic'
13404
 
            ;;
13405
 
          lcc*)
13406
 
            # Lucid
13407
 
            lt_prog_compiler_pic_CXX='-pic'
13408
 
            ;;
13409
 
          *)
13410
 
            ;;
13411
 
        esac
13412
 
        ;;
13413
 
      tandem*)
13414
 
        case $cc_basename in
13415
 
          NCC*)
13416
 
            # NonStop-UX NCC 3.20
13417
 
            lt_prog_compiler_pic_CXX='-KPIC'
13418
 
            ;;
13419
 
          *)
13420
 
            ;;
13421
 
        esac
13422
 
        ;;
13423
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13424
 
        case $cc_basename in
13425
 
          CC*)
13426
 
            lt_prog_compiler_wl_CXX='-Wl,'
13427
 
            lt_prog_compiler_pic_CXX='-KPIC'
13428
 
            lt_prog_compiler_static_CXX='-Bstatic'
13429
 
            ;;
13430
 
        esac
13431
 
        ;;
13432
 
      vxworks*)
13433
 
        ;;
13434
 
      *)
13435
 
        lt_prog_compiler_can_build_shared_CXX=no
13436
 
        ;;
13437
 
    esac
13438
 
  fi
13439
 
 
13440
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13441
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
13442
 
 
13443
 
#
13444
 
# Check to make sure the PIC flag actually works.
13445
 
#
13446
 
if test -n "$lt_prog_compiler_pic_CXX"; then
13447
 
 
13448
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13449
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13450
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
13451
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13452
 
else
13453
 
  lt_prog_compiler_pic_works_CXX=no
13454
 
  ac_outfile=conftest.$ac_objext
13455
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13456
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13457
 
   # Insert the option either (1) after the last *FLAGS variable, or
13458
 
   # (2) before a word containing "conftest.", or (3) at the end.
13459
 
   # Note that $ac_compile itself does not contain backslashes and begins
13460
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13461
 
   # The option is referenced via a variable to avoid confusing sed.
13462
 
   lt_compile=`echo "$ac_compile" | $SED \
13463
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13464
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13465
 
   -e 's:$: $lt_compiler_flag:'`
13466
 
   (eval echo "\"\$as_me:13466: $lt_compile\"" >&5)
13467
 
   (eval "$lt_compile" 2>conftest.err)
13468
 
   ac_status=$?
13469
 
   cat conftest.err >&5
13470
 
   echo "$as_me:13470: \$? = $ac_status" >&5
13471
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
13472
 
     # The compiler can only warn and ignore the option if not recognized
13473
 
     # So say no if there are warnings other than the usual output.
13474
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13475
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13476
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13477
 
       lt_prog_compiler_pic_works_CXX=yes
13478
 
     fi
13479
 
   fi
13480
 
   $rm conftest*
13481
 
 
13482
 
fi
13483
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13484
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
13485
 
 
13486
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
13487
 
    case $lt_prog_compiler_pic_CXX in
13488
 
     "" | " "*) ;;
13489
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13490
 
     esac
13491
 
else
13492
 
    lt_prog_compiler_pic_CXX=
13493
 
     lt_prog_compiler_can_build_shared_CXX=no
13494
 
fi
13495
 
 
13496
 
fi
13497
 
case $host_os in
13498
 
  # For platforms which do not support PIC, -DPIC is meaningless:
13499
 
  *djgpp*)
13500
 
    lt_prog_compiler_pic_CXX=
13501
 
    ;;
13502
 
  *)
13503
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13504
 
    ;;
13505
 
esac
13506
 
 
13507
 
#
13508
 
# Check to make sure the static flag actually works.
13509
 
#
13510
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13511
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13512
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13513
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
13514
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13515
 
else
13516
 
  lt_prog_compiler_static_works_CXX=no
13517
 
   save_LDFLAGS="$LDFLAGS"
13518
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13519
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13520
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13521
 
     # The linker can only warn and ignore the option if not recognized
13522
 
     # So say no if there are warnings
13523
 
     if test -s conftest.err; then
13524
 
       # Append any errors to the config.log.
13525
 
       cat conftest.err 1>&5
13526
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13527
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13528
 
       if diff conftest.exp conftest.er2 >/dev/null; then
13529
 
         lt_prog_compiler_static_works_CXX=yes
13530
 
       fi
13531
 
     else
13532
 
       lt_prog_compiler_static_works_CXX=yes
13533
 
     fi
13534
 
   fi
13535
 
   $rm conftest*
13536
 
   LDFLAGS="$save_LDFLAGS"
13537
 
 
13538
 
fi
13539
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
13540
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
13541
 
 
13542
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
13543
 
    :
13544
 
else
13545
 
    lt_prog_compiler_static_CXX=
13546
 
fi
13547
 
 
13548
 
 
13549
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13550
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13551
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13552
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13553
 
else
13554
 
  lt_cv_prog_compiler_c_o_CXX=no
13555
 
   $rm -r conftest 2>/dev/null
13556
 
   mkdir conftest
13557
 
   cd conftest
13558
 
   mkdir out
13559
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13560
 
 
13561
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13562
 
   # Insert the option either (1) after the last *FLAGS variable, or
13563
 
   # (2) before a word containing "conftest.", or (3) at the end.
13564
 
   # Note that $ac_compile itself does not contain backslashes and begins
13565
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13566
 
   lt_compile=`echo "$ac_compile" | $SED \
13567
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13568
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13569
 
   -e 's:$: $lt_compiler_flag:'`
13570
 
   (eval echo "\"\$as_me:13570: $lt_compile\"" >&5)
13571
 
   (eval "$lt_compile" 2>out/conftest.err)
13572
 
   ac_status=$?
13573
 
   cat out/conftest.err >&5
13574
 
   echo "$as_me:13574: \$? = $ac_status" >&5
13575
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13576
 
   then
13577
 
     # The compiler can only warn and ignore the option if not recognized
13578
 
     # So say no if there are warnings
13579
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13580
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13581
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13582
 
       lt_cv_prog_compiler_c_o_CXX=yes
13583
 
     fi
13584
 
   fi
13585
 
   chmod u+w . 2>&5
13586
 
   $rm conftest*
13587
 
   # SGI C++ compiler will create directory out/ii_files/ for
13588
 
   # template instantiation
13589
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13590
 
   $rm out/* && rmdir out
13591
 
   cd ..
13592
 
   rmdir conftest
13593
 
   $rm conftest*
13594
 
 
13595
 
fi
13596
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13597
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
13598
 
 
13599
 
 
13600
 
hard_links="nottested"
13601
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13602
 
  # do not overwrite the value of need_locks provided by the user
13603
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13604
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13605
 
  hard_links=yes
13606
 
  $rm conftest*
13607
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13608
 
  touch conftest.a
13609
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
13610
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13611
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
13612
 
echo "${ECHO_T}$hard_links" >&6; }
13613
 
  if test "$hard_links" = no; then
13614
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13615
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13616
 
    need_locks=warn
13617
 
  fi
13618
 
else
13619
 
  need_locks=no
13620
 
fi
13621
 
 
13622
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13623
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13624
 
 
13625
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13626
 
  case $host_os in
13627
 
  aix4* | aix5*)
13628
 
    # If we're using GNU nm, then we don't want the "-C" option.
13629
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
13630
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13631
 
      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'
13632
 
    else
13633
 
      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'
13634
 
    fi
13635
 
    ;;
13636
 
  pw32*)
13637
 
    export_symbols_cmds_CXX="$ltdll_cmds"
13638
 
  ;;
13639
 
  cygwin* | mingw*)
13640
 
    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'
13641
 
  ;;
13642
 
  linux* | k*bsd*-gnu)
13643
 
    link_all_deplibs_CXX=no
13644
 
  ;;
13645
 
  *)
13646
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13647
 
  ;;
13648
 
  esac
13649
 
 
13650
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13651
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13652
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
13653
 
 
13654
 
#
13655
 
# Do we need to explicitly link libc?
13656
 
#
13657
 
case "x$archive_cmds_need_lc_CXX" in
13658
 
x|xyes)
13659
 
  # Assume -lc should be added
13660
 
  archive_cmds_need_lc_CXX=yes
13661
 
 
13662
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
13663
 
    case $archive_cmds_CXX in
13664
 
    *'~'*)
13665
 
      # FIXME: we may have to deal with multi-command sequences.
13666
 
      ;;
13667
 
    '$CC '*)
13668
 
      # Test whether the compiler implicitly links with -lc since on some
13669
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
13670
 
      # to ld, don't add -lc before -lgcc.
13671
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13672
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13673
 
      $rm conftest*
13674
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13675
 
 
13676
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13677
 
  (eval $ac_compile) 2>&5
13678
 
  ac_status=$?
13679
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680
 
  (exit $ac_status); } 2>conftest.err; then
13681
 
        soname=conftest
13682
 
        lib=conftest
13683
 
        libobjs=conftest.$ac_objext
13684
 
        deplibs=
13685
 
        wl=$lt_prog_compiler_wl_CXX
13686
 
        pic_flag=$lt_prog_compiler_pic_CXX
13687
 
        compiler_flags=-v
13688
 
        linker_flags=-v
13689
 
        verstring=
13690
 
        output_objdir=.
13691
 
        libname=conftest
13692
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13693
 
        allow_undefined_flag_CXX=
13694
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13695
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13696
 
  ac_status=$?
13697
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698
 
  (exit $ac_status); }
13699
 
        then
13700
 
          archive_cmds_need_lc_CXX=no
13701
 
        else
13702
 
          archive_cmds_need_lc_CXX=yes
13703
 
        fi
13704
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13705
 
      else
13706
 
        cat conftest.err 1>&5
13707
 
      fi
13708
 
      $rm conftest*
13709
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13710
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
13711
 
      ;;
13712
 
    esac
13713
 
  fi
13714
 
  ;;
13715
 
esac
13716
 
 
13717
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13718
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13719
 
library_names_spec=
13720
 
libname_spec='lib$name'
13721
 
soname_spec=
13722
 
shrext_cmds=".so"
13723
 
postinstall_cmds=
13724
 
postuninstall_cmds=
13725
 
finish_cmds=
13726
 
finish_eval=
13727
 
shlibpath_var=
13728
 
shlibpath_overrides_runpath=unknown
13729
 
version_type=none
13730
 
dynamic_linker="$host_os ld.so"
13731
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
13732
 
 
13733
 
need_lib_prefix=unknown
13734
 
hardcode_into_libs=no
13735
 
 
13736
 
# when you set need_version to no, make sure it does not cause -set_version
13737
 
# flags to be left without arguments
13738
 
need_version=unknown
13739
 
 
13740
 
case $host_os in
13741
 
aix3*)
13742
 
  version_type=linux
13743
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13744
 
  shlibpath_var=LIBPATH
13745
 
 
13746
 
  # AIX 3 has no versioning support, so we append a major version to the name.
13747
 
  soname_spec='${libname}${release}${shared_ext}$major'
13748
 
  ;;
13749
 
 
13750
 
aix4* | aix5*)
13751
 
  version_type=linux
13752
 
  need_lib_prefix=no
13753
 
  need_version=no
13754
 
  hardcode_into_libs=yes
13755
 
  if test "$host_cpu" = ia64; then
13756
 
    # AIX 5 supports IA64
13757
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13758
 
    shlibpath_var=LD_LIBRARY_PATH
13759
 
  else
13760
 
    # With GCC up to 2.95.x, collect2 would create an import file
13761
 
    # for dependence libraries.  The import file would start with
13762
 
    # the line `#! .'.  This would cause the generated library to
13763
 
    # depend on `.', always an invalid library.  This was fixed in
13764
 
    # development snapshots of GCC prior to 3.0.
13765
 
    case $host_os in
13766
 
      aix4 | aix4.[01] | aix4.[01].*)
13767
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13768
 
           echo ' yes '
13769
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
13770
 
        :
13771
 
      else
13772
 
        can_build_shared=no
13773
 
      fi
13774
 
      ;;
13775
 
    esac
13776
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13777
 
    # soname into executable. Probably we can add versioning support to
13778
 
    # collect2, so additional links can be useful in future.
13779
 
    if test "$aix_use_runtimelinking" = yes; then
13780
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13781
 
      # instead of lib<name>.a to let people know that these are not
13782
 
      # typical AIX shared libraries.
13783
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13784
 
    else
13785
 
      # We preserve .a as extension for shared libraries through AIX4.2
13786
 
      # and later when we are not doing run time linking.
13787
 
      library_names_spec='${libname}${release}.a $libname.a'
13788
 
      soname_spec='${libname}${release}${shared_ext}$major'
13789
 
    fi
13790
 
    shlibpath_var=LIBPATH
13791
 
  fi
13792
 
  ;;
13793
 
 
13794
 
amigaos*)
13795
 
  library_names_spec='$libname.ixlibrary $libname.a'
13796
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
13797
 
  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'
13798
 
  ;;
13799
 
 
13800
 
beos*)
13801
 
  library_names_spec='${libname}${shared_ext}'
13802
 
  dynamic_linker="$host_os ld.so"
13803
 
  shlibpath_var=LIBRARY_PATH
13804
 
  ;;
13805
 
 
13806
 
bsdi[45]*)
13807
 
  version_type=linux
13808
 
  need_version=no
13809
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13810
 
  soname_spec='${libname}${release}${shared_ext}$major'
13811
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13812
 
  shlibpath_var=LD_LIBRARY_PATH
13813
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13814
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13815
 
  # the default ld.so.conf also contains /usr/contrib/lib and
13816
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13817
 
  # libtool to hard-code these into programs
13818
 
  ;;
13819
 
 
13820
 
cygwin* | mingw* | pw32*)
13821
 
  version_type=windows
13822
 
  shrext_cmds=".dll"
13823
 
  need_version=no
13824
 
  need_lib_prefix=no
13825
 
 
13826
 
  case $GCC,$host_os in
13827
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
13828
 
    library_names_spec='$libname.dll.a'
13829
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
13830
 
    postinstall_cmds='base_file=`basename \${file}`~
13831
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13832
 
      dldir=$destdir/`dirname \$dlpath`~
13833
 
      test -d \$dldir || mkdir -p \$dldir~
13834
 
      $install_prog $dir/$dlname \$dldir/$dlname~
13835
 
      chmod a+x \$dldir/$dlname'
13836
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13837
 
      dlpath=$dir/\$dldll~
13838
 
       $rm \$dlpath'
13839
 
    shlibpath_overrides_runpath=yes
13840
 
 
13841
 
    case $host_os in
13842
 
    cygwin*)
13843
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13844
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13845
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13846
 
      ;;
13847
 
    mingw*)
13848
 
      # MinGW DLLs use traditional 'lib' prefix
13849
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13850
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13851
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13852
 
        # It is most probably a Windows format PATH printed by
13853
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
13854
 
        # path with ; separators, and with drive letters. We can handle the
13855
 
        # drive letters (cygwin fileutils understands them), so leave them,
13856
 
        # especially as we might pass files found there to a mingw objdump,
13857
 
        # which wouldn't understand a cygwinified path. Ahh.
13858
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13859
 
      else
13860
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13861
 
      fi
13862
 
      ;;
13863
 
    pw32*)
13864
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
13865
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13866
 
      ;;
13867
 
    esac
13868
 
    ;;
13869
 
 
13870
 
  *)
13871
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13872
 
    ;;
13873
 
  esac
13874
 
  dynamic_linker='Win32 ld.exe'
13875
 
  # FIXME: first we should search . and the directory the executable is in
13876
 
  shlibpath_var=PATH
13877
 
  ;;
13878
 
 
13879
 
darwin* | rhapsody*)
13880
 
  dynamic_linker="$host_os dyld"
13881
 
  version_type=darwin
13882
 
  need_lib_prefix=no
13883
 
  need_version=no
13884
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13885
 
  soname_spec='${libname}${release}${major}$shared_ext'
13886
 
  shlibpath_overrides_runpath=yes
13887
 
  shlibpath_var=DYLD_LIBRARY_PATH
13888
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13889
 
 
13890
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13891
 
  ;;
13892
 
 
13893
 
dgux*)
13894
 
  version_type=linux
13895
 
  need_lib_prefix=no
13896
 
  need_version=no
13897
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13898
 
  soname_spec='${libname}${release}${shared_ext}$major'
13899
 
  shlibpath_var=LD_LIBRARY_PATH
13900
 
  ;;
13901
 
 
13902
 
freebsd1*)
13903
 
  dynamic_linker=no
13904
 
  ;;
13905
 
 
13906
 
freebsd* | dragonfly*)
13907
 
  # DragonFly does not have aout.  When/if they implement a new
13908
 
  # versioning mechanism, adjust this.
13909
 
  if test -x /usr/bin/objformat; then
13910
 
    objformat=`/usr/bin/objformat`
13911
 
  else
13912
 
    case $host_os in
13913
 
    freebsd[123]*) objformat=aout ;;
13914
 
    *) objformat=elf ;;
13915
 
    esac
13916
 
  fi
13917
 
  version_type=freebsd-$objformat
13918
 
  case $version_type in
13919
 
    freebsd-elf*)
13920
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13921
 
      need_version=no
13922
 
      need_lib_prefix=no
13923
 
      ;;
13924
 
    freebsd-*)
13925
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13926
 
      need_version=yes
13927
 
      ;;
13928
 
  esac
13929
 
  shlibpath_var=LD_LIBRARY_PATH
13930
 
  case $host_os in
13931
 
  freebsd2*)
13932
 
    shlibpath_overrides_runpath=yes
13933
 
    ;;
13934
 
  freebsd3.[01]* | freebsdelf3.[01]*)
13935
 
    shlibpath_overrides_runpath=yes
13936
 
    hardcode_into_libs=yes
13937
 
    ;;
13938
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13939
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13940
 
    shlibpath_overrides_runpath=no
13941
 
    hardcode_into_libs=yes
13942
 
    ;;
13943
 
  *) # from 4.6 on, and DragonFly
13944
 
    shlibpath_overrides_runpath=yes
13945
 
    hardcode_into_libs=yes
13946
 
    ;;
13947
 
  esac
13948
 
  ;;
13949
 
 
13950
 
gnu*)
13951
 
  version_type=linux
13952
 
  need_lib_prefix=no
13953
 
  need_version=no
13954
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13955
 
  soname_spec='${libname}${release}${shared_ext}$major'
13956
 
  shlibpath_var=LD_LIBRARY_PATH
13957
 
  hardcode_into_libs=yes
13958
 
  ;;
13959
 
 
13960
 
hpux9* | hpux10* | hpux11*)
13961
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
13962
 
  # link against other versions.
13963
 
  version_type=sunos
13964
 
  need_lib_prefix=no
13965
 
  need_version=no
13966
 
  case $host_cpu in
13967
 
  ia64*)
13968
 
    shrext_cmds='.so'
13969
 
    hardcode_into_libs=yes
13970
 
    dynamic_linker="$host_os dld.so"
13971
 
    shlibpath_var=LD_LIBRARY_PATH
13972
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13973
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13974
 
    soname_spec='${libname}${release}${shared_ext}$major'
13975
 
    if test "X$HPUX_IA64_MODE" = X32; then
13976
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13977
 
    else
13978
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13979
 
    fi
13980
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13981
 
    ;;
13982
 
   hppa*64*)
13983
 
     shrext_cmds='.sl'
13984
 
     hardcode_into_libs=yes
13985
 
     dynamic_linker="$host_os dld.sl"
13986
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13987
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13988
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13989
 
     soname_spec='${libname}${release}${shared_ext}$major'
13990
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13991
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13992
 
     ;;
13993
 
   *)
13994
 
    shrext_cmds='.sl'
13995
 
    dynamic_linker="$host_os dld.sl"
13996
 
    shlibpath_var=SHLIB_PATH
13997
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13998
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13999
 
    soname_spec='${libname}${release}${shared_ext}$major'
14000
 
    ;;
14001
 
  esac
14002
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
14003
 
  postinstall_cmds='chmod 555 $lib'
14004
 
  ;;
14005
 
 
14006
 
interix[3-9]*)
14007
 
  version_type=linux
14008
 
  need_lib_prefix=no
14009
 
  need_version=no
14010
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14011
 
  soname_spec='${libname}${release}${shared_ext}$major'
14012
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14013
 
  shlibpath_var=LD_LIBRARY_PATH
14014
 
  shlibpath_overrides_runpath=no
14015
 
  hardcode_into_libs=yes
14016
 
  ;;
14017
 
 
14018
 
irix5* | irix6* | nonstopux*)
14019
 
  case $host_os in
14020
 
    nonstopux*) version_type=nonstopux ;;
14021
 
    *)
14022
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
14023
 
                version_type=linux
14024
 
        else
14025
 
                version_type=irix
14026
 
        fi ;;
14027
 
  esac
14028
 
  need_lib_prefix=no
14029
 
  need_version=no
14030
 
  soname_spec='${libname}${release}${shared_ext}$major'
14031
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14032
 
  case $host_os in
14033
 
  irix5* | nonstopux*)
14034
 
    libsuff= shlibsuff=
14035
 
    ;;
14036
 
  *)
14037
 
    case $LD in # libtool.m4 will add one of these switches to LD
14038
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14039
 
      libsuff= shlibsuff= libmagic=32-bit;;
14040
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14041
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
14042
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14043
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
14044
 
    *) libsuff= shlibsuff= libmagic=never-match;;
14045
 
    esac
14046
 
    ;;
14047
 
  esac
14048
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14049
 
  shlibpath_overrides_runpath=no
14050
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14051
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14052
 
  hardcode_into_libs=yes
14053
 
  ;;
14054
 
 
14055
 
# No shared lib support for Linux oldld, aout, or coff.
14056
 
linux*oldld* | linux*aout* | linux*coff*)
14057
 
  dynamic_linker=no
14058
 
  ;;
14059
 
 
14060
 
# This must be Linux ELF.
14061
 
linux* | k*bsd*-gnu)
14062
 
  version_type=linux
14063
 
  need_lib_prefix=no
14064
 
  need_version=no
14065
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14066
 
  soname_spec='${libname}${release}${shared_ext}$major'
14067
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14068
 
  shlibpath_var=LD_LIBRARY_PATH
14069
 
  shlibpath_overrides_runpath=no
14070
 
  # This implies no fast_install, which is unacceptable.
14071
 
  # Some rework will be needed to allow for fast_install
14072
 
  # before this can be enabled.
14073
 
  hardcode_into_libs=yes
14074
 
 
14075
 
  # Append ld.so.conf contents to the search path
14076
 
  if test -f /etc/ld.so.conf; then
14077
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14078
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14079
 
  fi
14080
 
 
14081
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
14082
 
  # powerpc, because MkLinux only supported shared libraries with the
14083
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
14084
 
  # most powerpc-linux boxes support dynamic linking these days and
14085
 
  # people can always --disable-shared, the test was removed, and we
14086
 
  # assume the GNU/Linux dynamic linker is in use.
14087
 
  dynamic_linker='GNU/Linux ld.so'
14088
 
  ;;
14089
 
 
14090
 
netbsdelf*-gnu)
14091
 
  version_type=linux
14092
 
  need_lib_prefix=no
14093
 
  need_version=no
14094
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14095
 
  soname_spec='${libname}${release}${shared_ext}$major'
14096
 
  shlibpath_var=LD_LIBRARY_PATH
14097
 
  shlibpath_overrides_runpath=no
14098
 
  hardcode_into_libs=yes
14099
 
  dynamic_linker='NetBSD ld.elf_so'
14100
 
  ;;
14101
 
 
14102
 
netbsd*)
14103
 
  version_type=sunos
14104
 
  need_lib_prefix=no
14105
 
  need_version=no
14106
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14107
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14108
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14109
 
    dynamic_linker='NetBSD (a.out) ld.so'
14110
 
  else
14111
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14112
 
    soname_spec='${libname}${release}${shared_ext}$major'
14113
 
    dynamic_linker='NetBSD ld.elf_so'
14114
 
  fi
14115
 
  shlibpath_var=LD_LIBRARY_PATH
14116
 
  shlibpath_overrides_runpath=yes
14117
 
  hardcode_into_libs=yes
14118
 
  ;;
14119
 
 
14120
 
newsos6)
14121
 
  version_type=linux
14122
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14123
 
  shlibpath_var=LD_LIBRARY_PATH
14124
 
  shlibpath_overrides_runpath=yes
14125
 
  ;;
14126
 
 
14127
 
nto-qnx*)
14128
 
  version_type=linux
14129
 
  need_lib_prefix=no
14130
 
  need_version=no
14131
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14132
 
  soname_spec='${libname}${release}${shared_ext}$major'
14133
 
  shlibpath_var=LD_LIBRARY_PATH
14134
 
  shlibpath_overrides_runpath=yes
14135
 
  ;;
14136
 
 
14137
 
openbsd*)
14138
 
  version_type=sunos
14139
 
  sys_lib_dlsearch_path_spec="/usr/lib"
14140
 
  need_lib_prefix=no
14141
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14142
 
  case $host_os in
14143
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14144
 
    *)                         need_version=no  ;;
14145
 
  esac
14146
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14147
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14148
 
  shlibpath_var=LD_LIBRARY_PATH
14149
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14150
 
    case $host_os in
14151
 
      openbsd2.[89] | openbsd2.[89].*)
14152
 
        shlibpath_overrides_runpath=no
14153
 
        ;;
14154
 
      *)
14155
 
        shlibpath_overrides_runpath=yes
14156
 
        ;;
14157
 
      esac
14158
 
  else
14159
 
    shlibpath_overrides_runpath=yes
14160
 
  fi
14161
 
  ;;
14162
 
 
14163
 
os2*)
14164
 
  libname_spec='$name'
14165
 
  shrext_cmds=".dll"
14166
 
  need_lib_prefix=no
14167
 
  library_names_spec='$libname${shared_ext} $libname.a'
14168
 
  dynamic_linker='OS/2 ld.exe'
14169
 
  shlibpath_var=LIBPATH
14170
 
  ;;
14171
 
 
14172
 
osf3* | osf4* | osf5*)
14173
 
  version_type=osf
14174
 
  need_lib_prefix=no
14175
 
  need_version=no
14176
 
  soname_spec='${libname}${release}${shared_ext}$major'
14177
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14178
 
  shlibpath_var=LD_LIBRARY_PATH
14179
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14180
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14181
 
  ;;
14182
 
 
14183
 
rdos*)
14184
 
  dynamic_linker=no
14185
 
  ;;
14186
 
 
14187
 
solaris*)
14188
 
  version_type=linux
14189
 
  need_lib_prefix=no
14190
 
  need_version=no
14191
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14192
 
  soname_spec='${libname}${release}${shared_ext}$major'
14193
 
  shlibpath_var=LD_LIBRARY_PATH
14194
 
  shlibpath_overrides_runpath=yes
14195
 
  hardcode_into_libs=yes
14196
 
  # ldd complains unless libraries are executable
14197
 
  postinstall_cmds='chmod +x $lib'
14198
 
  ;;
14199
 
 
14200
 
sunos4*)
14201
 
  version_type=sunos
14202
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14203
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14204
 
  shlibpath_var=LD_LIBRARY_PATH
14205
 
  shlibpath_overrides_runpath=yes
14206
 
  if test "$with_gnu_ld" = yes; then
14207
 
    need_lib_prefix=no
14208
 
  fi
14209
 
  need_version=yes
14210
 
  ;;
14211
 
 
14212
 
sysv4 | sysv4.3*)
14213
 
  version_type=linux
14214
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14215
 
  soname_spec='${libname}${release}${shared_ext}$major'
14216
 
  shlibpath_var=LD_LIBRARY_PATH
14217
 
  case $host_vendor in
14218
 
    sni)
14219
 
      shlibpath_overrides_runpath=no
14220
 
      need_lib_prefix=no
14221
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
14222
 
      runpath_var=LD_RUN_PATH
14223
 
      ;;
14224
 
    siemens)
14225
 
      need_lib_prefix=no
14226
 
      ;;
14227
 
    motorola)
14228
 
      need_lib_prefix=no
14229
 
      need_version=no
14230
 
      shlibpath_overrides_runpath=no
14231
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14232
 
      ;;
14233
 
  esac
14234
 
  ;;
14235
 
 
14236
 
sysv4*MP*)
14237
 
  if test -d /usr/nec ;then
14238
 
    version_type=linux
14239
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14240
 
    soname_spec='$libname${shared_ext}.$major'
14241
 
    shlibpath_var=LD_LIBRARY_PATH
14242
 
  fi
14243
 
  ;;
14244
 
 
14245
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14246
 
  version_type=freebsd-elf
14247
 
  need_lib_prefix=no
14248
 
  need_version=no
14249
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14250
 
  soname_spec='${libname}${release}${shared_ext}$major'
14251
 
  shlibpath_var=LD_LIBRARY_PATH
14252
 
  hardcode_into_libs=yes
14253
 
  if test "$with_gnu_ld" = yes; then
14254
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14255
 
    shlibpath_overrides_runpath=no
14256
 
  else
14257
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14258
 
    shlibpath_overrides_runpath=yes
14259
 
    case $host_os in
14260
 
      sco3.2v5*)
14261
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14262
 
        ;;
14263
 
    esac
14264
 
  fi
14265
 
  sys_lib_dlsearch_path_spec='/usr/lib'
14266
 
  ;;
14267
 
 
14268
 
uts4*)
14269
 
  version_type=linux
14270
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14271
 
  soname_spec='${libname}${release}${shared_ext}$major'
14272
 
  shlibpath_var=LD_LIBRARY_PATH
14273
 
  ;;
14274
 
 
14275
 
*)
14276
 
  dynamic_linker=no
14277
 
  ;;
14278
 
esac
14279
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14280
 
echo "${ECHO_T}$dynamic_linker" >&6; }
14281
 
test "$dynamic_linker" = no && can_build_shared=no
14282
 
 
14283
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14284
 
if test "$GCC" = yes; then
14285
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14286
 
fi
14287
 
 
14288
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14289
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14290
 
hardcode_action_CXX=
14291
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
14292
 
   test -n "$runpath_var_CXX" || \
14293
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
14294
 
 
14295
 
  # We can hardcode non-existant directories.
14296
 
  if test "$hardcode_direct_CXX" != no &&
14297
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
14298
 
     # have to relink, otherwise we might link with an installed library
14299
 
     # when we should be linking with a yet-to-be-installed one
14300
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14301
 
     test "$hardcode_minus_L_CXX" != no; then
14302
 
    # Linking always hardcodes the temporary library directory.
14303
 
    hardcode_action_CXX=relink
14304
 
  else
14305
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
14306
 
    hardcode_action_CXX=immediate
14307
 
  fi
14308
 
else
14309
 
  # We cannot hardcode anything, or else we can only hardcode existing
14310
 
  # directories.
14311
 
  hardcode_action_CXX=unsupported
14312
 
fi
14313
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14314
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
14315
 
 
14316
 
if test "$hardcode_action_CXX" = relink; then
14317
 
  # Fast installation is not supported
14318
 
  enable_fast_install=no
14319
 
elif test "$shlibpath_overrides_runpath" = yes ||
14320
 
     test "$enable_shared" = no; then
14321
 
  # Fast installation is not necessary
14322
 
  enable_fast_install=needless
14323
 
fi
14324
 
 
14325
 
 
14326
 
# The else clause should only fire when bootstrapping the
14327
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
14328
 
# with your package, and you will get complaints that there are
14329
 
# no rules to generate ltmain.sh.
14330
 
if test -f "$ltmain"; then
14331
 
  # See if we are running on zsh, and set the options which allow our commands through
14332
 
  # without removal of \ escapes.
14333
 
  if test -n "${ZSH_VERSION+set}" ; then
14334
 
    setopt NO_GLOB_SUBST
14335
 
  fi
14336
 
  # Now quote all the things that may contain metacharacters while being
14337
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
14338
 
  # variables and quote the copies for generation of the libtool script.
14339
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14340
 
    SED SHELL STRIP \
14341
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14342
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14343
 
    deplibs_check_method reload_flag reload_cmds need_locks \
14344
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14345
 
    lt_cv_sys_global_symbol_to_c_name_address \
14346
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14347
 
    old_postinstall_cmds old_postuninstall_cmds \
14348
 
    compiler_CXX \
14349
 
    CC_CXX \
14350
 
    LD_CXX \
14351
 
    lt_prog_compiler_wl_CXX \
14352
 
    lt_prog_compiler_pic_CXX \
14353
 
    lt_prog_compiler_static_CXX \
14354
 
    lt_prog_compiler_no_builtin_flag_CXX \
14355
 
    export_dynamic_flag_spec_CXX \
14356
 
    thread_safe_flag_spec_CXX \
14357
 
    whole_archive_flag_spec_CXX \
14358
 
    enable_shared_with_static_runtimes_CXX \
14359
 
    old_archive_cmds_CXX \
14360
 
    old_archive_from_new_cmds_CXX \
14361
 
    predep_objects_CXX \
14362
 
    postdep_objects_CXX \
14363
 
    predeps_CXX \
14364
 
    postdeps_CXX \
14365
 
    compiler_lib_search_path_CXX \
14366
 
    archive_cmds_CXX \
14367
 
    archive_expsym_cmds_CXX \
14368
 
    postinstall_cmds_CXX \
14369
 
    postuninstall_cmds_CXX \
14370
 
    old_archive_from_expsyms_cmds_CXX \
14371
 
    allow_undefined_flag_CXX \
14372
 
    no_undefined_flag_CXX \
14373
 
    export_symbols_cmds_CXX \
14374
 
    hardcode_libdir_flag_spec_CXX \
14375
 
    hardcode_libdir_flag_spec_ld_CXX \
14376
 
    hardcode_libdir_separator_CXX \
14377
 
    hardcode_automatic_CXX \
14378
 
    module_cmds_CXX \
14379
 
    module_expsym_cmds_CXX \
14380
 
    lt_cv_prog_compiler_c_o_CXX \
14381
 
    fix_srcfile_path_CXX \
14382
 
    exclude_expsyms_CXX \
14383
 
    include_expsyms_CXX; do
14384
 
 
14385
 
    case $var in
14386
 
    old_archive_cmds_CXX | \
14387
 
    old_archive_from_new_cmds_CXX | \
14388
 
    archive_cmds_CXX | \
14389
 
    archive_expsym_cmds_CXX | \
14390
 
    module_cmds_CXX | \
14391
 
    module_expsym_cmds_CXX | \
14392
 
    old_archive_from_expsyms_cmds_CXX | \
14393
 
    export_symbols_cmds_CXX | \
14394
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
14395
 
    postinstall_cmds | postuninstall_cmds | \
14396
 
    old_postinstall_cmds | old_postuninstall_cmds | \
14397
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14398
 
      # Double-quote double-evaled strings.
14399
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14400
 
      ;;
14401
 
    *)
14402
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14403
 
      ;;
14404
 
    esac
14405
 
  done
14406
 
 
14407
 
  case $lt_echo in
14408
 
  *'\$0 --fallback-echo"')
14409
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14410
 
    ;;
14411
 
  esac
14412
 
 
14413
 
cfgfile="$ofile"
14414
 
 
14415
 
  cat <<__EOF__ >> "$cfgfile"
14416
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
14417
 
 
14418
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14419
 
 
14420
 
# Shell to use when invoking shell scripts.
14421
 
SHELL=$lt_SHELL
14422
 
 
14423
 
# Whether or not to build shared libraries.
14424
 
build_libtool_libs=$enable_shared
14425
 
 
14426
 
# Whether or not to build static libraries.
14427
 
build_old_libs=$enable_static
14428
 
 
14429
 
# Whether or not to add -lc for building shared libraries.
14430
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
14431
 
 
14432
 
# Whether or not to disallow shared libs when runtime libs are static
14433
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14434
 
 
14435
 
# Whether or not to optimize for fast installation.
14436
 
fast_install=$enable_fast_install
14437
 
 
14438
 
# The host system.
14439
 
host_alias=$host_alias
14440
 
host=$host
14441
 
host_os=$host_os
14442
 
 
14443
 
# The build system.
14444
 
build_alias=$build_alias
14445
 
build=$build
14446
 
build_os=$build_os
14447
 
 
14448
 
# An echo program that does not interpret backslashes.
14449
 
echo=$lt_echo
14450
 
 
14451
 
# The archiver.
14452
 
AR=$lt_AR
14453
 
AR_FLAGS=$lt_AR_FLAGS
14454
 
 
14455
 
# A C compiler.
14456
 
LTCC=$lt_LTCC
14457
 
 
14458
 
# LTCC compiler flags.
14459
 
LTCFLAGS=$lt_LTCFLAGS
14460
 
 
14461
 
# A language-specific compiler.
14462
 
CC=$lt_compiler_CXX
14463
 
 
14464
 
# Is the compiler the GNU C compiler?
14465
 
with_gcc=$GCC_CXX
14466
 
 
14467
 
# An ERE matcher.
14468
 
EGREP=$lt_EGREP
14469
 
 
14470
 
# The linker used to build libraries.
14471
 
LD=$lt_LD_CXX
14472
 
 
14473
 
# Whether we need hard or soft links.
14474
 
LN_S=$lt_LN_S
14475
 
 
14476
 
# A BSD-compatible nm program.
14477
 
NM=$lt_NM
14478
 
 
14479
 
# A symbol stripping program
14480
 
STRIP=$lt_STRIP
14481
 
 
14482
 
# Used to examine libraries when file_magic_cmd begins "file"
14483
 
MAGIC_CMD=$MAGIC_CMD
14484
 
 
14485
 
# Used on cygwin: DLL creation program.
14486
 
DLLTOOL="$DLLTOOL"
14487
 
 
14488
 
# Used on cygwin: object dumper.
14489
 
OBJDUMP="$OBJDUMP"
14490
 
 
14491
 
# Used on cygwin: assembler.
14492
 
AS="$AS"
14493
 
 
14494
 
# The name of the directory that contains temporary libtool files.
14495
 
objdir=$objdir
14496
 
 
14497
 
# How to create reloadable object files.
14498
 
reload_flag=$lt_reload_flag
14499
 
reload_cmds=$lt_reload_cmds
14500
 
 
14501
 
# How to pass a linker flag through the compiler.
14502
 
wl=$lt_lt_prog_compiler_wl_CXX
14503
 
 
14504
 
# Object file suffix (normally "o").
14505
 
objext="$ac_objext"
14506
 
 
14507
 
# Old archive suffix (normally "a").
14508
 
libext="$libext"
14509
 
 
14510
 
# Shared library suffix (normally ".so").
14511
 
shrext_cmds='$shrext_cmds'
14512
 
 
14513
 
# Executable file suffix (normally "").
14514
 
exeext="$exeext"
14515
 
 
14516
 
# Additional compiler flags for building library objects.
14517
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
14518
 
pic_mode=$pic_mode
14519
 
 
14520
 
# What is the maximum length of a command?
14521
 
max_cmd_len=$lt_cv_sys_max_cmd_len
14522
 
 
14523
 
# Does compiler simultaneously support -c and -o options?
14524
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14525
 
 
14526
 
# Must we lock files when doing compilation?
14527
 
need_locks=$lt_need_locks
14528
 
 
14529
 
# Do we need the lib prefix for modules?
14530
 
need_lib_prefix=$need_lib_prefix
14531
 
 
14532
 
# Do we need a version for libraries?
14533
 
need_version=$need_version
14534
 
 
14535
 
# Whether dlopen is supported.
14536
 
dlopen_support=$enable_dlopen
14537
 
 
14538
 
# Whether dlopen of programs is supported.
14539
 
dlopen_self=$enable_dlopen_self
14540
 
 
14541
 
# Whether dlopen of statically linked programs is supported.
14542
 
dlopen_self_static=$enable_dlopen_self_static
14543
 
 
14544
 
# Compiler flag to prevent dynamic linking.
14545
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
14546
 
 
14547
 
# Compiler flag to turn off builtin functions.
14548
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14549
 
 
14550
 
# Compiler flag to allow reflexive dlopens.
14551
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14552
 
 
14553
 
# Compiler flag to generate shared objects directly from archives.
14554
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14555
 
 
14556
 
# Compiler flag to generate thread-safe objects.
14557
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14558
 
 
14559
 
# Library versioning type.
14560
 
version_type=$version_type
14561
 
 
14562
 
# Format of library name prefix.
14563
 
libname_spec=$lt_libname_spec
14564
 
 
14565
 
# List of archive names.  First name is the real one, the rest are links.
14566
 
# The last name is the one that the linker finds with -lNAME.
14567
 
library_names_spec=$lt_library_names_spec
14568
 
 
14569
 
# The coded name of the library, if different from the real name.
14570
 
soname_spec=$lt_soname_spec
14571
 
 
14572
 
# Commands used to build and install an old-style archive.
14573
 
RANLIB=$lt_RANLIB
14574
 
old_archive_cmds=$lt_old_archive_cmds_CXX
14575
 
old_postinstall_cmds=$lt_old_postinstall_cmds
14576
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14577
 
 
14578
 
# Create an old-style archive from a shared archive.
14579
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14580
 
 
14581
 
# Create a temporary old-style archive to link instead of a shared archive.
14582
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14583
 
 
14584
 
# Commands used to build and install a shared archive.
14585
 
archive_cmds=$lt_archive_cmds_CXX
14586
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14587
 
postinstall_cmds=$lt_postinstall_cmds
14588
 
postuninstall_cmds=$lt_postuninstall_cmds
14589
 
 
14590
 
# Commands used to build a loadable module (assumed same as above if empty)
14591
 
module_cmds=$lt_module_cmds_CXX
14592
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
14593
 
 
14594
 
# Commands to strip libraries.
14595
 
old_striplib=$lt_old_striplib
14596
 
striplib=$lt_striplib
14597
 
 
14598
 
# Dependencies to place before the objects being linked to create a
14599
 
# shared library.
14600
 
predep_objects=$lt_predep_objects_CXX
14601
 
 
14602
 
# Dependencies to place after the objects being linked to create a
14603
 
# shared library.
14604
 
postdep_objects=$lt_postdep_objects_CXX
14605
 
 
14606
 
# Dependencies to place before the objects being linked to create a
14607
 
# shared library.
14608
 
predeps=$lt_predeps_CXX
14609
 
 
14610
 
# Dependencies to place after the objects being linked to create a
14611
 
# shared library.
14612
 
postdeps=$lt_postdeps_CXX
14613
 
 
14614
 
# The library search path used internally by the compiler when linking
14615
 
# a shared library.
14616
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14617
 
 
14618
 
# Method to check whether dependent libraries are shared objects.
14619
 
deplibs_check_method=$lt_deplibs_check_method
14620
 
 
14621
 
# Command to use when deplibs_check_method == file_magic.
14622
 
file_magic_cmd=$lt_file_magic_cmd
14623
 
 
14624
 
# Flag that allows shared libraries with undefined symbols to be built.
14625
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
14626
 
 
14627
 
# Flag that forces no undefined symbols.
14628
 
no_undefined_flag=$lt_no_undefined_flag_CXX
14629
 
 
14630
 
# Commands used to finish a libtool library installation in a directory.
14631
 
finish_cmds=$lt_finish_cmds
14632
 
 
14633
 
# Same as above, but a single script fragment to be evaled but not shown.
14634
 
finish_eval=$lt_finish_eval
14635
 
 
14636
 
# Take the output of nm and produce a listing of raw symbols and C names.
14637
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14638
 
 
14639
 
# Transform the output of nm in a proper C declaration
14640
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14641
 
 
14642
 
# Transform the output of nm in a C name address pair
14643
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14644
 
 
14645
 
# This is the shared library runtime path variable.
14646
 
runpath_var=$runpath_var
14647
 
 
14648
 
# This is the shared library path variable.
14649
 
shlibpath_var=$shlibpath_var
14650
 
 
14651
 
# Is shlibpath searched before the hard-coded library search path?
14652
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14653
 
 
14654
 
# How to hardcode a shared library path into an executable.
14655
 
hardcode_action=$hardcode_action_CXX
14656
 
 
14657
 
# Whether we should hardcode library paths into libraries.
14658
 
hardcode_into_libs=$hardcode_into_libs
14659
 
 
14660
 
# Flag to hardcode \$libdir into a binary during linking.
14661
 
# This must work even if \$libdir does not exist.
14662
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14663
 
 
14664
 
# If ld is used when linking, flag to hardcode \$libdir into
14665
 
# a binary during linking. This must work even if \$libdir does
14666
 
# not exist.
14667
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14668
 
 
14669
 
# Whether we need a single -rpath flag with a separated argument.
14670
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14671
 
 
14672
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14673
 
# resulting binary.
14674
 
hardcode_direct=$hardcode_direct_CXX
14675
 
 
14676
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14677
 
# resulting binary.
14678
 
hardcode_minus_L=$hardcode_minus_L_CXX
14679
 
 
14680
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14681
 
# the resulting binary.
14682
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14683
 
 
14684
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
14685
 
# and all subsequent libraries and executables linked against it.
14686
 
hardcode_automatic=$hardcode_automatic_CXX
14687
 
 
14688
 
# Variables whose values should be saved in libtool wrapper scripts and
14689
 
# restored at relink time.
14690
 
variables_saved_for_relink="$variables_saved_for_relink"
14691
 
 
14692
 
# Whether libtool must link a program against all its dependency libraries.
14693
 
link_all_deplibs=$link_all_deplibs_CXX
14694
 
 
14695
 
# Compile-time system search path for libraries
14696
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14697
 
 
14698
 
# Run-time system search path for libraries
14699
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14700
 
 
14701
 
# Fix the shell variable \$srcfile for the compiler.
14702
 
fix_srcfile_path=$lt_fix_srcfile_path
14703
 
 
14704
 
# Set to yes if exported symbols are required.
14705
 
always_export_symbols=$always_export_symbols_CXX
14706
 
 
14707
 
# The commands to list exported symbols.
14708
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
14709
 
 
14710
 
# The commands to extract the exported symbol list from a shared archive.
14711
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14712
 
 
14713
 
# Symbols that should not be listed in the preloaded symbols.
14714
 
exclude_expsyms=$lt_exclude_expsyms_CXX
14715
 
 
14716
 
# Symbols that must always be exported.
14717
 
include_expsyms=$lt_include_expsyms_CXX
14718
 
 
14719
 
# ### END LIBTOOL TAG CONFIG: $tagname
14720
 
 
14721
 
__EOF__
14722
 
 
14723
 
 
14724
 
else
14725
 
  # If there is no Makefile yet, we rely on a make rule to execute
14726
 
  # `config.status --recheck' to rerun these tests and create the
14727
 
  # libtool script then.
14728
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14729
 
  if test -f "$ltmain_in"; then
14730
 
    test -f Makefile && make "$ltmain"
14731
 
  fi
14732
 
fi
14733
 
 
14734
 
 
14735
 
ac_ext=c
14736
 
ac_cpp='$CPP $CPPFLAGS'
14737
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14738
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14739
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14740
 
 
14741
 
CC=$lt_save_CC
14742
 
LDCXX=$LD
14743
 
LD=$lt_save_LD
14744
 
GCC=$lt_save_GCC
14745
 
with_gnu_ldcxx=$with_gnu_ld
14746
 
with_gnu_ld=$lt_save_with_gnu_ld
14747
 
lt_cv_path_LDCXX=$lt_cv_path_LD
14748
 
lt_cv_path_LD=$lt_save_path_LD
14749
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14750
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14751
 
 
14752
 
        else
14753
 
          tagname=""
14754
 
        fi
14755
 
        ;;
14756
 
 
14757
 
      F77)
14758
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
14759
 
 
14760
 
ac_ext=f
14761
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14762
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14763
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14764
 
 
14765
 
 
14766
 
archive_cmds_need_lc_F77=no
14767
 
allow_undefined_flag_F77=
14768
 
always_export_symbols_F77=no
14769
 
archive_expsym_cmds_F77=
14770
 
export_dynamic_flag_spec_F77=
14771
 
hardcode_direct_F77=no
14772
 
hardcode_libdir_flag_spec_F77=
14773
 
hardcode_libdir_flag_spec_ld_F77=
14774
 
hardcode_libdir_separator_F77=
14775
 
hardcode_minus_L_F77=no
14776
 
hardcode_automatic_F77=no
14777
 
module_cmds_F77=
14778
 
module_expsym_cmds_F77=
14779
 
link_all_deplibs_F77=unknown
14780
 
old_archive_cmds_F77=$old_archive_cmds
14781
 
no_undefined_flag_F77=
14782
 
whole_archive_flag_spec_F77=
14783
 
enable_shared_with_static_runtimes_F77=no
14784
 
 
14785
 
# Source file extension for f77 test sources.
14786
 
ac_ext=f
14787
 
 
14788
 
# Object file extension for compiled f77 test sources.
14789
 
objext=o
14790
 
objext_F77=$objext
14791
 
 
14792
 
# Code to be used in simple compile tests
14793
 
lt_simple_compile_test_code="\
14794
 
      subroutine t
14795
 
      return
14796
 
      end
14797
 
"
14798
 
 
14799
 
# Code to be used in simple link tests
14800
 
lt_simple_link_test_code="\
14801
 
      program t
14802
 
      end
14803
 
"
14804
 
 
14805
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
14806
 
 
14807
 
# If no C compiler was specified, use CC.
14808
 
LTCC=${LTCC-"$CC"}
14809
 
 
14810
 
# If no C compiler flags were specified, use CFLAGS.
14811
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14812
 
 
14813
 
# Allow CC to be a program name with arguments.
14814
 
compiler=$CC
14815
 
 
14816
 
 
14817
 
# save warnings/boilerplate of simple test code
14818
 
ac_outfile=conftest.$ac_objext
14819
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14820
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14821
 
_lt_compiler_boilerplate=`cat conftest.err`
14822
 
$rm conftest*
14823
 
 
14824
 
ac_outfile=conftest.$ac_objext
14825
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
14826
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14827
 
_lt_linker_boilerplate=`cat conftest.err`
14828
 
$rm conftest*
14829
 
 
14830
 
 
14831
 
# Allow CC to be a program name with arguments.
14832
 
lt_save_CC="$CC"
14833
 
CC=${F77-"f77"}
14834
 
compiler=$CC
14835
 
compiler_F77=$CC
14836
 
for cc_temp in $compiler""; do
14837
 
  case $cc_temp in
14838
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14839
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14840
 
    \-*) ;;
14841
 
    *) break;;
14842
 
  esac
14843
 
done
14844
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14845
 
 
14846
 
 
14847
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14848
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14849
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
14850
 
echo "${ECHO_T}$can_build_shared" >&6; }
14851
 
 
14852
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14853
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14854
 
test "$can_build_shared" = "no" && enable_shared=no
14855
 
 
14856
 
# On AIX, shared libraries and static libraries use the same namespace, and
14857
 
# are all built from PIC.
14858
 
case $host_os in
14859
 
aix3*)
14860
 
  test "$enable_shared" = yes && enable_static=no
14861
 
  if test -n "$RANLIB"; then
14862
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
14863
 
    postinstall_cmds='$RANLIB $lib'
14864
 
  fi
14865
 
  ;;
14866
 
aix4* | aix5*)
14867
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14868
 
    test "$enable_shared" = yes && enable_static=no
14869
 
  fi
14870
 
  ;;
14871
 
esac
14872
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
14873
 
echo "${ECHO_T}$enable_shared" >&6; }
14874
 
 
14875
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14876
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14877
 
# Make sure either enable_shared or enable_static is yes.
14878
 
test "$enable_shared" = yes || enable_static=yes
14879
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
14880
 
echo "${ECHO_T}$enable_static" >&6; }
14881
 
 
14882
 
GCC_F77="$G77"
14883
 
LD_F77="$LD"
14884
 
 
14885
 
lt_prog_compiler_wl_F77=
14886
 
lt_prog_compiler_pic_F77=
14887
 
lt_prog_compiler_static_F77=
14888
 
 
14889
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14890
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14891
 
 
14892
 
  if test "$GCC" = yes; then
14893
 
    lt_prog_compiler_wl_F77='-Wl,'
14894
 
    lt_prog_compiler_static_F77='-static'
14895
 
 
14896
 
    case $host_os in
14897
 
      aix*)
14898
 
      # All AIX code is PIC.
14899
 
      if test "$host_cpu" = ia64; then
14900
 
        # AIX 5 now supports IA64 processor
14901
 
        lt_prog_compiler_static_F77='-Bstatic'
14902
 
      fi
14903
 
      ;;
14904
 
 
14905
 
    amigaos*)
14906
 
      # FIXME: we need at least 68020 code to build shared libraries, but
14907
 
      # adding the `-m68020' flag to GCC prevents building anything better,
14908
 
      # like `-m68040'.
14909
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
14910
 
      ;;
14911
 
 
14912
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14913
 
      # PIC is the default for these OSes.
14914
 
      ;;
14915
 
 
14916
 
    mingw* | cygwin* | pw32* | os2*)
14917
 
      # This hack is so that the source file can tell whether it is being
14918
 
      # built for inclusion in a dll (and should export symbols for example).
14919
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14920
 
      # (--disable-auto-import) libraries
14921
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14922
 
      ;;
14923
 
 
14924
 
    darwin* | rhapsody*)
14925
 
      # PIC is the default on this platform
14926
 
      # Common symbols not allowed in MH_DYLIB files
14927
 
      lt_prog_compiler_pic_F77='-fno-common'
14928
 
      ;;
14929
 
 
14930
 
    interix[3-9]*)
14931
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14932
 
      # Instead, we relocate shared libraries at runtime.
14933
 
      ;;
14934
 
 
14935
 
    msdosdjgpp*)
14936
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
14937
 
      # on systems that don't support them.
14938
 
      lt_prog_compiler_can_build_shared_F77=no
14939
 
      enable_shared=no
14940
 
      ;;
14941
 
 
14942
 
    sysv4*MP*)
14943
 
      if test -d /usr/nec; then
14944
 
        lt_prog_compiler_pic_F77=-Kconform_pic
14945
 
      fi
14946
 
      ;;
14947
 
 
14948
 
    hpux*)
14949
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14950
 
      # not for PA HP-UX.
14951
 
      case $host_cpu in
14952
 
      hppa*64*|ia64*)
14953
 
        # +Z the default
14954
 
        ;;
14955
 
      *)
14956
 
        lt_prog_compiler_pic_F77='-fPIC'
14957
 
        ;;
14958
 
      esac
14959
 
      ;;
14960
 
 
14961
 
    *)
14962
 
      lt_prog_compiler_pic_F77='-fPIC'
14963
 
      ;;
14964
 
    esac
14965
 
  else
14966
 
    # PORTME Check for flag to pass linker flags through the system compiler.
14967
 
    case $host_os in
14968
 
    aix*)
14969
 
      lt_prog_compiler_wl_F77='-Wl,'
14970
 
      if test "$host_cpu" = ia64; then
14971
 
        # AIX 5 now supports IA64 processor
14972
 
        lt_prog_compiler_static_F77='-Bstatic'
14973
 
      else
14974
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
14975
 
      fi
14976
 
      ;;
14977
 
      darwin*)
14978
 
        # PIC is the default on this platform
14979
 
        # Common symbols not allowed in MH_DYLIB files
14980
 
       case $cc_basename in
14981
 
         xlc*)
14982
 
         lt_prog_compiler_pic_F77='-qnocommon'
14983
 
         lt_prog_compiler_wl_F77='-Wl,'
14984
 
         ;;
14985
 
       esac
14986
 
       ;;
14987
 
 
14988
 
    mingw* | cygwin* | pw32* | os2*)
14989
 
      # This hack is so that the source file can tell whether it is being
14990
 
      # built for inclusion in a dll (and should export symbols for example).
14991
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14992
 
      ;;
14993
 
 
14994
 
    hpux9* | hpux10* | hpux11*)
14995
 
      lt_prog_compiler_wl_F77='-Wl,'
14996
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14997
 
      # not for PA HP-UX.
14998
 
      case $host_cpu in
14999
 
      hppa*64*|ia64*)
15000
 
        # +Z the default
15001
 
        ;;
15002
 
      *)
15003
 
        lt_prog_compiler_pic_F77='+Z'
15004
 
        ;;
15005
 
      esac
15006
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
15007
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
15008
 
      ;;
15009
 
 
15010
 
    irix5* | irix6* | nonstopux*)
15011
 
      lt_prog_compiler_wl_F77='-Wl,'
15012
 
      # PIC (with -KPIC) is the default.
15013
 
      lt_prog_compiler_static_F77='-non_shared'
15014
 
      ;;
15015
 
 
15016
 
    newsos6)
15017
 
      lt_prog_compiler_pic_F77='-KPIC'
15018
 
      lt_prog_compiler_static_F77='-Bstatic'
15019
 
      ;;
15020
 
 
15021
 
    linux* | k*bsd*-gnu)
15022
 
      case $cc_basename in
15023
 
      icc* | ecc*)
15024
 
        lt_prog_compiler_wl_F77='-Wl,'
15025
 
        lt_prog_compiler_pic_F77='-KPIC'
15026
 
        lt_prog_compiler_static_F77='-static'
15027
 
        ;;
15028
 
      pgcc* | pgf77* | pgf90* | pgf95*)
15029
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
15030
 
        # which looks to be a dead project)
15031
 
        lt_prog_compiler_wl_F77='-Wl,'
15032
 
        lt_prog_compiler_pic_F77='-fpic'
15033
 
        lt_prog_compiler_static_F77='-Bstatic'
15034
 
        ;;
15035
 
      ccc*)
15036
 
        lt_prog_compiler_wl_F77='-Wl,'
15037
 
        # All Alpha code is PIC.
15038
 
        lt_prog_compiler_static_F77='-non_shared'
15039
 
        ;;
15040
 
      *)
15041
 
        case `$CC -V 2>&1 | sed 5q` in
15042
 
        *Sun\ C*)
15043
 
          # Sun C 5.9
15044
 
          lt_prog_compiler_pic_F77='-KPIC'
15045
 
          lt_prog_compiler_static_F77='-Bstatic'
15046
 
          lt_prog_compiler_wl_F77='-Wl,'
15047
 
          ;;
15048
 
        *Sun\ F*)
15049
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
15050
 
          lt_prog_compiler_pic_F77='-KPIC'
15051
 
          lt_prog_compiler_static_F77='-Bstatic'
15052
 
          lt_prog_compiler_wl_F77=''
15053
 
          ;;
15054
 
        esac
15055
 
        ;;
15056
 
      esac
15057
 
      ;;
15058
 
 
15059
 
    osf3* | osf4* | osf5*)
15060
 
      lt_prog_compiler_wl_F77='-Wl,'
15061
 
      # All OSF/1 code is PIC.
15062
 
      lt_prog_compiler_static_F77='-non_shared'
15063
 
      ;;
15064
 
 
15065
 
    rdos*)
15066
 
      lt_prog_compiler_static_F77='-non_shared'
15067
 
      ;;
15068
 
 
15069
 
    solaris*)
15070
 
      lt_prog_compiler_pic_F77='-KPIC'
15071
 
      lt_prog_compiler_static_F77='-Bstatic'
15072
 
      case $cc_basename in
15073
 
      f77* | f90* | f95*)
15074
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
15075
 
      *)
15076
 
        lt_prog_compiler_wl_F77='-Wl,';;
15077
 
      esac
15078
 
      ;;
15079
 
 
15080
 
    sunos4*)
15081
 
      lt_prog_compiler_wl_F77='-Qoption ld '
15082
 
      lt_prog_compiler_pic_F77='-PIC'
15083
 
      lt_prog_compiler_static_F77='-Bstatic'
15084
 
      ;;
15085
 
 
15086
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
15087
 
      lt_prog_compiler_wl_F77='-Wl,'
15088
 
      lt_prog_compiler_pic_F77='-KPIC'
15089
 
      lt_prog_compiler_static_F77='-Bstatic'
15090
 
      ;;
15091
 
 
15092
 
    sysv4*MP*)
15093
 
      if test -d /usr/nec ;then
15094
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
15095
 
        lt_prog_compiler_static_F77='-Bstatic'
15096
 
      fi
15097
 
      ;;
15098
 
 
15099
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15100
 
      lt_prog_compiler_wl_F77='-Wl,'
15101
 
      lt_prog_compiler_pic_F77='-KPIC'
15102
 
      lt_prog_compiler_static_F77='-Bstatic'
15103
 
      ;;
15104
 
 
15105
 
    unicos*)
15106
 
      lt_prog_compiler_wl_F77='-Wl,'
15107
 
      lt_prog_compiler_can_build_shared_F77=no
15108
 
      ;;
15109
 
 
15110
 
    uts4*)
15111
 
      lt_prog_compiler_pic_F77='-pic'
15112
 
      lt_prog_compiler_static_F77='-Bstatic'
15113
 
      ;;
15114
 
 
15115
 
    *)
15116
 
      lt_prog_compiler_can_build_shared_F77=no
15117
 
      ;;
15118
 
    esac
15119
 
  fi
15120
 
 
15121
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15122
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
15123
 
 
15124
 
#
15125
 
# Check to make sure the PIC flag actually works.
15126
 
#
15127
 
if test -n "$lt_prog_compiler_pic_F77"; then
15128
 
 
15129
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15130
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
15131
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
15132
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15133
 
else
15134
 
  lt_prog_compiler_pic_works_F77=no
15135
 
  ac_outfile=conftest.$ac_objext
15136
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15137
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
15138
 
   # Insert the option either (1) after the last *FLAGS variable, or
15139
 
   # (2) before a word containing "conftest.", or (3) at the end.
15140
 
   # Note that $ac_compile itself does not contain backslashes and begins
15141
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15142
 
   # The option is referenced via a variable to avoid confusing sed.
15143
 
   lt_compile=`echo "$ac_compile" | $SED \
15144
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15145
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15146
 
   -e 's:$: $lt_compiler_flag:'`
15147
 
   (eval echo "\"\$as_me:15147: $lt_compile\"" >&5)
15148
 
   (eval "$lt_compile" 2>conftest.err)
15149
 
   ac_status=$?
15150
 
   cat conftest.err >&5
15151
 
   echo "$as_me:15151: \$? = $ac_status" >&5
15152
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
15153
 
     # The compiler can only warn and ignore the option if not recognized
15154
 
     # So say no if there are warnings other than the usual output.
15155
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15156
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15157
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15158
 
       lt_prog_compiler_pic_works_F77=yes
15159
 
     fi
15160
 
   fi
15161
 
   $rm conftest*
15162
 
 
15163
 
fi
15164
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15165
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
15166
 
 
15167
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
15168
 
    case $lt_prog_compiler_pic_F77 in
15169
 
     "" | " "*) ;;
15170
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
15171
 
     esac
15172
 
else
15173
 
    lt_prog_compiler_pic_F77=
15174
 
     lt_prog_compiler_can_build_shared_F77=no
15175
 
fi
15176
 
 
15177
 
fi
15178
 
case $host_os in
15179
 
  # For platforms which do not support PIC, -DPIC is meaningless:
15180
 
  *djgpp*)
15181
 
    lt_prog_compiler_pic_F77=
15182
 
    ;;
15183
 
  *)
15184
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
15185
 
    ;;
15186
 
esac
15187
 
 
15188
 
#
15189
 
# Check to make sure the static flag actually works.
15190
 
#
15191
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
15192
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15193
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15194
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
15195
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15196
 
else
15197
 
  lt_prog_compiler_static_works_F77=no
15198
 
   save_LDFLAGS="$LDFLAGS"
15199
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15200
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15201
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15202
 
     # The linker can only warn and ignore the option if not recognized
15203
 
     # So say no if there are warnings
15204
 
     if test -s conftest.err; then
15205
 
       # Append any errors to the config.log.
15206
 
       cat conftest.err 1>&5
15207
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15208
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15209
 
       if diff conftest.exp conftest.er2 >/dev/null; then
15210
 
         lt_prog_compiler_static_works_F77=yes
15211
 
       fi
15212
 
     else
15213
 
       lt_prog_compiler_static_works_F77=yes
15214
 
     fi
15215
 
   fi
15216
 
   $rm conftest*
15217
 
   LDFLAGS="$save_LDFLAGS"
15218
 
 
15219
 
fi
15220
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
15221
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
15222
 
 
15223
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
15224
 
    :
15225
 
else
15226
 
    lt_prog_compiler_static_F77=
15227
 
fi
15228
 
 
15229
 
 
15230
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15231
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15232
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15233
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15234
 
else
15235
 
  lt_cv_prog_compiler_c_o_F77=no
15236
 
   $rm -r conftest 2>/dev/null
15237
 
   mkdir conftest
15238
 
   cd conftest
15239
 
   mkdir out
15240
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15241
 
 
15242
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
15243
 
   # Insert the option either (1) after the last *FLAGS variable, or
15244
 
   # (2) before a word containing "conftest.", or (3) at the end.
15245
 
   # Note that $ac_compile itself does not contain backslashes and begins
15246
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15247
 
   lt_compile=`echo "$ac_compile" | $SED \
15248
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15249
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15250
 
   -e 's:$: $lt_compiler_flag:'`
15251
 
   (eval echo "\"\$as_me:15251: $lt_compile\"" >&5)
15252
 
   (eval "$lt_compile" 2>out/conftest.err)
15253
 
   ac_status=$?
15254
 
   cat out/conftest.err >&5
15255
 
   echo "$as_me:15255: \$? = $ac_status" >&5
15256
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15257
 
   then
15258
 
     # The compiler can only warn and ignore the option if not recognized
15259
 
     # So say no if there are warnings
15260
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15261
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15262
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15263
 
       lt_cv_prog_compiler_c_o_F77=yes
15264
 
     fi
15265
 
   fi
15266
 
   chmod u+w . 2>&5
15267
 
   $rm conftest*
15268
 
   # SGI C++ compiler will create directory out/ii_files/ for
15269
 
   # template instantiation
15270
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15271
 
   $rm out/* && rmdir out
15272
 
   cd ..
15273
 
   rmdir conftest
15274
 
   $rm conftest*
15275
 
 
15276
 
fi
15277
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15278
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
15279
 
 
15280
 
 
15281
 
hard_links="nottested"
15282
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
15283
 
  # do not overwrite the value of need_locks provided by the user
15284
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15285
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15286
 
  hard_links=yes
15287
 
  $rm conftest*
15288
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15289
 
  touch conftest.a
15290
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
15291
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15292
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
15293
 
echo "${ECHO_T}$hard_links" >&6; }
15294
 
  if test "$hard_links" = no; then
15295
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15296
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15297
 
    need_locks=warn
15298
 
  fi
15299
 
else
15300
 
  need_locks=no
15301
 
fi
15302
 
 
15303
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15304
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15305
 
 
15306
 
  runpath_var=
15307
 
  allow_undefined_flag_F77=
15308
 
  enable_shared_with_static_runtimes_F77=no
15309
 
  archive_cmds_F77=
15310
 
  archive_expsym_cmds_F77=
15311
 
  old_archive_From_new_cmds_F77=
15312
 
  old_archive_from_expsyms_cmds_F77=
15313
 
  export_dynamic_flag_spec_F77=
15314
 
  whole_archive_flag_spec_F77=
15315
 
  thread_safe_flag_spec_F77=
15316
 
  hardcode_libdir_flag_spec_F77=
15317
 
  hardcode_libdir_flag_spec_ld_F77=
15318
 
  hardcode_libdir_separator_F77=
15319
 
  hardcode_direct_F77=no
15320
 
  hardcode_minus_L_F77=no
15321
 
  hardcode_shlibpath_var_F77=unsupported
15322
 
  link_all_deplibs_F77=unknown
15323
 
  hardcode_automatic_F77=no
15324
 
  module_cmds_F77=
15325
 
  module_expsym_cmds_F77=
15326
 
  always_export_symbols_F77=no
15327
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15328
 
  # include_expsyms should be a list of space-separated symbols to be *always*
15329
 
  # included in the symbol list
15330
 
  include_expsyms_F77=
15331
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
15332
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
15333
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15334
 
  # as well as any symbol that contains `d'.
15335
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
15336
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15337
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
15338
 
  # the symbol is explicitly referenced.  Since portable code cannot
15339
 
  # rely on this symbol name, it's probably fine to never include it in
15340
 
  # preloaded symbol tables.
15341
 
  extract_expsyms_cmds=
15342
 
  # Just being paranoid about ensuring that cc_basename is set.
15343
 
  for cc_temp in $compiler""; do
15344
 
  case $cc_temp in
15345
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15346
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15347
 
    \-*) ;;
15348
 
    *) break;;
15349
 
  esac
15350
 
done
15351
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15352
 
 
15353
 
  case $host_os in
15354
 
  cygwin* | mingw* | pw32*)
15355
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
15356
 
    # When not using gcc, we currently assume that we are using
15357
 
    # Microsoft Visual C++.
15358
 
    if test "$GCC" != yes; then
15359
 
      with_gnu_ld=no
15360
 
    fi
15361
 
    ;;
15362
 
  interix*)
15363
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
15364
 
    with_gnu_ld=yes
15365
 
    ;;
15366
 
  openbsd*)
15367
 
    with_gnu_ld=no
15368
 
    ;;
15369
 
  esac
15370
 
 
15371
 
  ld_shlibs_F77=yes
15372
 
  if test "$with_gnu_ld" = yes; then
15373
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
15374
 
    wlarc='${wl}'
15375
 
 
15376
 
    # Set some defaults for GNU ld with shared library support. These
15377
 
    # are reset later if shared libraries are not supported. Putting them
15378
 
    # here allows them to be overridden if necessary.
15379
 
    runpath_var=LD_RUN_PATH
15380
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
15381
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
15382
 
    # ancient GNU ld didn't support --whole-archive et. al.
15383
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15384
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15385
 
      else
15386
 
        whole_archive_flag_spec_F77=
15387
 
    fi
15388
 
    supports_anon_versioning=no
15389
 
    case `$LD -v 2>/dev/null` in
15390
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15391
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15392
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15393
 
      *\ 2.11.*) ;; # other 2.11 versions
15394
 
      *) supports_anon_versioning=yes ;;
15395
 
    esac
15396
 
 
15397
 
    # See if GNU ld supports shared libraries.
15398
 
    case $host_os in
15399
 
    aix3* | aix4* | aix5*)
15400
 
      # On AIX/PPC, the GNU linker is very broken
15401
 
      if test "$host_cpu" != ia64; then
15402
 
        ld_shlibs_F77=no
15403
 
        cat <<EOF 1>&2
15404
 
 
15405
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
15406
 
*** to be unable to reliably create shared libraries on AIX.
15407
 
*** Therefore, libtool is disabling shared libraries support.  If you
15408
 
*** really care for shared libraries, you may want to modify your PATH
15409
 
*** so that a non-GNU linker is found, and then restart.
15410
 
 
15411
 
EOF
15412
 
      fi
15413
 
      ;;
15414
 
 
15415
 
    amigaos*)
15416
 
      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)'
15417
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15418
 
      hardcode_minus_L_F77=yes
15419
 
 
15420
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15421
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
15422
 
      # to version 4, is to share data among multiple programs linked
15423
 
      # with the same dynamic library.  Since this doesn't match the
15424
 
      # behavior of shared libraries on other platforms, we can't use
15425
 
      # them.
15426
 
      ld_shlibs_F77=no
15427
 
      ;;
15428
 
 
15429
 
    beos*)
15430
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15431
 
        allow_undefined_flag_F77=unsupported
15432
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15433
 
        # support --undefined.  This deserves some investigation.  FIXME
15434
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15435
 
      else
15436
 
        ld_shlibs_F77=no
15437
 
      fi
15438
 
      ;;
15439
 
 
15440
 
    cygwin* | mingw* | pw32*)
15441
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15442
 
      # as there is no search path for DLLs.
15443
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15444
 
      allow_undefined_flag_F77=unsupported
15445
 
      always_export_symbols_F77=no
15446
 
      enable_shared_with_static_runtimes_F77=yes
15447
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15448
 
 
15449
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15450
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15451
 
        # If the export-symbols file already is a .def file (1st line
15452
 
        # is EXPORTS), use it as is; otherwise, prepend...
15453
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15454
 
          cp $export_symbols $output_objdir/$soname.def;
15455
 
        else
15456
 
          echo EXPORTS > $output_objdir/$soname.def;
15457
 
          cat $export_symbols >> $output_objdir/$soname.def;
15458
 
        fi~
15459
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15460
 
      else
15461
 
        ld_shlibs_F77=no
15462
 
      fi
15463
 
      ;;
15464
 
 
15465
 
    interix[3-9]*)
15466
 
      hardcode_direct_F77=no
15467
 
      hardcode_shlibpath_var_F77=no
15468
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15469
 
      export_dynamic_flag_spec_F77='${wl}-E'
15470
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15471
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
15472
 
      # default) and relocated if they conflict, which is a slow very memory
15473
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
15474
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15475
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15476
 
      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'
15477
 
      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'
15478
 
      ;;
15479
 
 
15480
 
    gnu* | linux* | k*bsd*-gnu)
15481
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15482
 
        tmp_addflag=
15483
 
        case $cc_basename,$host_cpu in
15484
 
        pgcc*)                          # Portland Group C compiler
15485
 
          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'
15486
 
          tmp_addflag=' $pic_flag'
15487
 
          ;;
15488
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
15489
 
          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'
15490
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
15491
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
15492
 
          tmp_addflag=' -i_dynamic' ;;
15493
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
15494
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
15495
 
        ifc* | ifort*)                  # Intel Fortran compiler
15496
 
          tmp_addflag=' -nofor_main' ;;
15497
 
        esac
15498
 
        case `$CC -V 2>&1 | sed 5q` in
15499
 
        *Sun\ C*)                       # Sun C 5.9
15500
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15501
 
          tmp_sharedflag='-G' ;;
15502
 
        *Sun\ F*)                       # Sun Fortran 8.3
15503
 
          tmp_sharedflag='-G' ;;
15504
 
        *)
15505
 
          tmp_sharedflag='-shared' ;;
15506
 
        esac
15507
 
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15508
 
 
15509
 
        if test $supports_anon_versioning = yes; then
15510
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
15511
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15512
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
15513
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15514
 
        fi
15515
 
        link_all_deplibs_F77=no
15516
 
      else
15517
 
        ld_shlibs_F77=no
15518
 
      fi
15519
 
      ;;
15520
 
 
15521
 
    netbsd* | netbsdelf*-gnu)
15522
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15523
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15524
 
        wlarc=
15525
 
      else
15526
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15527
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15528
 
      fi
15529
 
      ;;
15530
 
 
15531
 
    solaris*)
15532
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15533
 
        ld_shlibs_F77=no
15534
 
        cat <<EOF 1>&2
15535
 
 
15536
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
15537
 
*** create shared libraries on Solaris systems.  Therefore, libtool
15538
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
15539
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
15540
 
*** your PATH or compiler configuration so that the native linker is
15541
 
*** used, and then restart.
15542
 
 
15543
 
EOF
15544
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15545
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15546
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15547
 
      else
15548
 
        ld_shlibs_F77=no
15549
 
      fi
15550
 
      ;;
15551
 
 
15552
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
15553
 
      case `$LD -v 2>&1` in
15554
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
15555
 
        ld_shlibs_F77=no
15556
 
        cat <<_LT_EOF 1>&2
15557
 
 
15558
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15559
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
15560
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
15561
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
15562
 
*** your PATH or compiler configuration so that the native linker is
15563
 
*** used, and then restart.
15564
 
 
15565
 
_LT_EOF
15566
 
        ;;
15567
 
        *)
15568
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15569
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15570
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15571
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15572
 
          else
15573
 
            ld_shlibs_F77=no
15574
 
          fi
15575
 
        ;;
15576
 
      esac
15577
 
      ;;
15578
 
 
15579
 
    sunos4*)
15580
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15581
 
      wlarc=
15582
 
      hardcode_direct_F77=yes
15583
 
      hardcode_shlibpath_var_F77=no
15584
 
      ;;
15585
 
 
15586
 
    *)
15587
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15588
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15589
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15590
 
      else
15591
 
        ld_shlibs_F77=no
15592
 
      fi
15593
 
      ;;
15594
 
    esac
15595
 
 
15596
 
    if test "$ld_shlibs_F77" = no; then
15597
 
      runpath_var=
15598
 
      hardcode_libdir_flag_spec_F77=
15599
 
      export_dynamic_flag_spec_F77=
15600
 
      whole_archive_flag_spec_F77=
15601
 
    fi
15602
 
  else
15603
 
    # PORTME fill in a description of your system's linker (not GNU ld)
15604
 
    case $host_os in
15605
 
    aix3*)
15606
 
      allow_undefined_flag_F77=unsupported
15607
 
      always_export_symbols_F77=yes
15608
 
      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'
15609
 
      # Note: this linker hardcodes the directories in LIBPATH if there
15610
 
      # are no directories specified by -L.
15611
 
      hardcode_minus_L_F77=yes
15612
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15613
 
        # Neither direct hardcoding nor static linking is supported with a
15614
 
        # broken collect2.
15615
 
        hardcode_direct_F77=unsupported
15616
 
      fi
15617
 
      ;;
15618
 
 
15619
 
    aix4* | aix5*)
15620
 
      if test "$host_cpu" = ia64; then
15621
 
        # On IA64, the linker does run time linking by default, so we don't
15622
 
        # have to do anything special.
15623
 
        aix_use_runtimelinking=no
15624
 
        exp_sym_flag='-Bexport'
15625
 
        no_entry_flag=""
15626
 
      else
15627
 
        # If we're using GNU nm, then we don't want the "-C" option.
15628
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
15629
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15630
 
          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'
15631
 
        else
15632
 
          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'
15633
 
        fi
15634
 
        aix_use_runtimelinking=no
15635
 
 
15636
 
        # Test if we are trying to use run time linking or normal
15637
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15638
 
        # need to do runtime linking.
15639
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15640
 
          for ld_flag in $LDFLAGS; do
15641
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15642
 
            aix_use_runtimelinking=yes
15643
 
            break
15644
 
          fi
15645
 
          done
15646
 
          ;;
15647
 
        esac
15648
 
 
15649
 
        exp_sym_flag='-bexport'
15650
 
        no_entry_flag='-bnoentry'
15651
 
      fi
15652
 
 
15653
 
      # When large executables or shared objects are built, AIX ld can
15654
 
      # have problems creating the table of contents.  If linking a library
15655
 
      # or program results in "error TOC overflow" add -mminimal-toc to
15656
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
15657
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15658
 
 
15659
 
      archive_cmds_F77=''
15660
 
      hardcode_direct_F77=yes
15661
 
      hardcode_libdir_separator_F77=':'
15662
 
      link_all_deplibs_F77=yes
15663
 
 
15664
 
      if test "$GCC" = yes; then
15665
 
        case $host_os in aix4.[012]|aix4.[012].*)
15666
 
        # We only want to do this on AIX 4.2 and lower, the check
15667
 
        # below for broken collect2 doesn't work under 4.3+
15668
 
          collect2name=`${CC} -print-prog-name=collect2`
15669
 
          if test -f "$collect2name" && \
15670
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
15671
 
          then
15672
 
          # We have reworked collect2
15673
 
          :
15674
 
          else
15675
 
          # We have old collect2
15676
 
          hardcode_direct_F77=unsupported
15677
 
          # It fails to find uninstalled libraries when the uninstalled
15678
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
15679
 
          # to unsupported forces relinking
15680
 
          hardcode_minus_L_F77=yes
15681
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
15682
 
          hardcode_libdir_separator_F77=
15683
 
          fi
15684
 
          ;;
15685
 
        esac
15686
 
        shared_flag='-shared'
15687
 
        if test "$aix_use_runtimelinking" = yes; then
15688
 
          shared_flag="$shared_flag "'${wl}-G'
15689
 
        fi
15690
 
      else
15691
 
        # not using gcc
15692
 
        if test "$host_cpu" = ia64; then
15693
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15694
 
        # chokes on -Wl,-G. The following line is correct:
15695
 
          shared_flag='-G'
15696
 
        else
15697
 
          if test "$aix_use_runtimelinking" = yes; then
15698
 
            shared_flag='${wl}-G'
15699
 
          else
15700
 
            shared_flag='${wl}-bM:SRE'
15701
 
          fi
15702
 
        fi
15703
 
      fi
15704
 
 
15705
 
      # It seems that -bexpall does not export symbols beginning with
15706
 
      # underscore (_), so it is better to generate a list of symbols to export.
15707
 
      always_export_symbols_F77=yes
15708
 
      if test "$aix_use_runtimelinking" = yes; then
15709
 
        # Warning - without using the other runtime loading flags (-brtl),
15710
 
        # -berok will link without error, but may produce a broken library.
15711
 
        allow_undefined_flag_F77='-berok'
15712
 
       # Determine the default libpath from the value encoded in an empty executable.
15713
 
       cat >conftest.$ac_ext <<_ACEOF
15714
 
      program main
15715
 
 
15716
 
      end
15717
 
_ACEOF
15718
 
rm -f conftest.$ac_objext conftest$ac_exeext
15719
 
if { (ac_try="$ac_link"
15720
 
case "(($ac_try" in
15721
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15722
 
  *) ac_try_echo=$ac_try;;
15723
 
esac
15724
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15725
 
  (eval "$ac_link") 2>conftest.er1
15726
 
  ac_status=$?
15727
 
  grep -v '^ *+' conftest.er1 >conftest.err
15728
 
  rm -f conftest.er1
15729
 
  cat conftest.err >&5
15730
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731
 
  (exit $ac_status); } && {
15732
 
         test -z "$ac_f77_werror_flag" ||
15733
 
         test ! -s conftest.err
15734
 
       } && test -s conftest$ac_exeext &&
15735
 
       $as_test_x conftest$ac_exeext; then
15736
 
 
15737
 
lt_aix_libpath_sed='
15738
 
    /Import File Strings/,/^$/ {
15739
 
        /^0/ {
15740
 
            s/^0  *\(.*\)$/\1/
15741
 
            p
15742
 
        }
15743
 
    }'
15744
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15745
 
# Check for a 64-bit object if we didn't find anything.
15746
 
if test -z "$aix_libpath"; then
15747
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15748
 
fi
15749
 
else
15750
 
  echo "$as_me: failed program was:" >&5
15751
 
sed 's/^/| /' conftest.$ac_ext >&5
15752
 
 
15753
 
 
15754
 
fi
15755
 
 
15756
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15757
 
      conftest$ac_exeext conftest.$ac_ext
15758
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15759
 
 
15760
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15761
 
        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"
15762
 
       else
15763
 
        if test "$host_cpu" = ia64; then
15764
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15765
 
          allow_undefined_flag_F77="-z nodefs"
15766
 
          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"
15767
 
        else
15768
 
         # Determine the default libpath from the value encoded in an empty executable.
15769
 
         cat >conftest.$ac_ext <<_ACEOF
15770
 
      program main
15771
 
 
15772
 
      end
15773
 
_ACEOF
15774
 
rm -f conftest.$ac_objext conftest$ac_exeext
15775
 
if { (ac_try="$ac_link"
15776
 
case "(($ac_try" in
15777
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15778
 
  *) ac_try_echo=$ac_try;;
15779
 
esac
15780
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15781
 
  (eval "$ac_link") 2>conftest.er1
15782
 
  ac_status=$?
15783
 
  grep -v '^ *+' conftest.er1 >conftest.err
15784
 
  rm -f conftest.er1
15785
 
  cat conftest.err >&5
15786
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15787
 
  (exit $ac_status); } && {
15788
 
         test -z "$ac_f77_werror_flag" ||
15789
 
         test ! -s conftest.err
15790
 
       } && test -s conftest$ac_exeext &&
15791
 
       $as_test_x conftest$ac_exeext; then
15792
 
 
15793
 
lt_aix_libpath_sed='
15794
 
    /Import File Strings/,/^$/ {
15795
 
        /^0/ {
15796
 
            s/^0  *\(.*\)$/\1/
15797
 
            p
15798
 
        }
15799
 
    }'
15800
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15801
 
# Check for a 64-bit object if we didn't find anything.
15802
 
if test -z "$aix_libpath"; then
15803
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15804
 
fi
15805
 
else
15806
 
  echo "$as_me: failed program was:" >&5
15807
 
sed 's/^/| /' conftest.$ac_ext >&5
15808
 
 
15809
 
 
15810
 
fi
15811
 
 
15812
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15813
 
      conftest$ac_exeext conftest.$ac_ext
15814
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15815
 
 
15816
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15817
 
          # Warning - without using the other run time loading flags,
15818
 
          # -berok will link without error, but may produce a broken library.
15819
 
          no_undefined_flag_F77=' ${wl}-bernotok'
15820
 
          allow_undefined_flag_F77=' ${wl}-berok'
15821
 
          # Exported symbols can be pulled into shared objects from archives
15822
 
          whole_archive_flag_spec_F77='$convenience'
15823
 
          archive_cmds_need_lc_F77=yes
15824
 
          # This is similar to how AIX traditionally builds its shared libraries.
15825
 
          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'
15826
 
        fi
15827
 
      fi
15828
 
      ;;
15829
 
 
15830
 
    amigaos*)
15831
 
      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)'
15832
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15833
 
      hardcode_minus_L_F77=yes
15834
 
      # see comment about different semantics on the GNU ld section
15835
 
      ld_shlibs_F77=no
15836
 
      ;;
15837
 
 
15838
 
    bsdi[45]*)
15839
 
      export_dynamic_flag_spec_F77=-rdynamic
15840
 
      ;;
15841
 
 
15842
 
    cygwin* | mingw* | pw32*)
15843
 
      # When not using gcc, we currently assume that we are using
15844
 
      # Microsoft Visual C++.
15845
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
15846
 
      # no search path for DLLs.
15847
 
      hardcode_libdir_flag_spec_F77=' '
15848
 
      allow_undefined_flag_F77=unsupported
15849
 
      # Tell ltmain to make .lib files, not .a files.
15850
 
      libext=lib
15851
 
      # Tell ltmain to make .dll files, not .so files.
15852
 
      shrext_cmds=".dll"
15853
 
      # FIXME: Setting linknames here is a bad hack.
15854
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15855
 
      # The linker will automatically build a .lib file if we build a DLL.
15856
 
      old_archive_From_new_cmds_F77='true'
15857
 
      # FIXME: Should let the user specify the lib program.
15858
 
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
15859
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
15860
 
      enable_shared_with_static_runtimes_F77=yes
15861
 
      ;;
15862
 
 
15863
 
    darwin* | rhapsody*)
15864
 
      case $host_os in
15865
 
        rhapsody* | darwin1.[012])
15866
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
15867
 
         ;;
15868
 
       *) # Darwin 1.3 on
15869
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15870
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15871
 
         else
15872
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
15873
 
             10.[012])
15874
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15875
 
               ;;
15876
 
             10.*)
15877
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
15878
 
               ;;
15879
 
           esac
15880
 
         fi
15881
 
         ;;
15882
 
      esac
15883
 
      archive_cmds_need_lc_F77=no
15884
 
      hardcode_direct_F77=no
15885
 
      hardcode_automatic_F77=yes
15886
 
      hardcode_shlibpath_var_F77=unsupported
15887
 
      whole_archive_flag_spec_F77=''
15888
 
      link_all_deplibs_F77=yes
15889
 
    if test "$GCC" = yes ; then
15890
 
        output_verbose_link_cmd='echo'
15891
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15892
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15893
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15894
 
      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}'
15895
 
      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}'
15896
 
    else
15897
 
      case $cc_basename in
15898
 
        xlc*)
15899
 
         output_verbose_link_cmd='echo'
15900
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15901
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15902
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15903
 
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15904
 
          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}'
15905
 
          ;;
15906
 
       *)
15907
 
         ld_shlibs_F77=no
15908
 
          ;;
15909
 
      esac
15910
 
    fi
15911
 
      ;;
15912
 
 
15913
 
    dgux*)
15914
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15915
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15916
 
      hardcode_shlibpath_var_F77=no
15917
 
      ;;
15918
 
 
15919
 
    freebsd1*)
15920
 
      ld_shlibs_F77=no
15921
 
      ;;
15922
 
 
15923
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15924
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
15925
 
    # does not break anything, and helps significantly (at the cost of a little
15926
 
    # extra space).
15927
 
    freebsd2.2*)
15928
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15929
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15930
 
      hardcode_direct_F77=yes
15931
 
      hardcode_shlibpath_var_F77=no
15932
 
      ;;
15933
 
 
15934
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15935
 
    freebsd2*)
15936
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15937
 
      hardcode_direct_F77=yes
15938
 
      hardcode_minus_L_F77=yes
15939
 
      hardcode_shlibpath_var_F77=no
15940
 
      ;;
15941
 
 
15942
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15943
 
    freebsd* | dragonfly*)
15944
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15945
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15946
 
      hardcode_direct_F77=yes
15947
 
      hardcode_shlibpath_var_F77=no
15948
 
      ;;
15949
 
 
15950
 
    hpux9*)
15951
 
      if test "$GCC" = yes; then
15952
 
        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'
15953
 
      else
15954
 
        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'
15955
 
      fi
15956
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15957
 
      hardcode_libdir_separator_F77=:
15958
 
      hardcode_direct_F77=yes
15959
 
 
15960
 
      # hardcode_minus_L: Not really in the search PATH,
15961
 
      # but as the default location of the library.
15962
 
      hardcode_minus_L_F77=yes
15963
 
      export_dynamic_flag_spec_F77='${wl}-E'
15964
 
      ;;
15965
 
 
15966
 
    hpux10*)
15967
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15968
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15969
 
      else
15970
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15971
 
      fi
15972
 
      if test "$with_gnu_ld" = no; then
15973
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15974
 
        hardcode_libdir_separator_F77=:
15975
 
 
15976
 
        hardcode_direct_F77=yes
15977
 
        export_dynamic_flag_spec_F77='${wl}-E'
15978
 
 
15979
 
        # hardcode_minus_L: Not really in the search PATH,
15980
 
        # but as the default location of the library.
15981
 
        hardcode_minus_L_F77=yes
15982
 
      fi
15983
 
      ;;
15984
 
 
15985
 
    hpux11*)
15986
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15987
 
        case $host_cpu in
15988
 
        hppa*64*)
15989
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15990
 
          ;;
15991
 
        ia64*)
15992
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15993
 
          ;;
15994
 
        *)
15995
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15996
 
          ;;
15997
 
        esac
15998
 
      else
15999
 
        case $host_cpu in
16000
 
        hppa*64*)
16001
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16002
 
          ;;
16003
 
        ia64*)
16004
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16005
 
          ;;
16006
 
        *)
16007
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16008
 
          ;;
16009
 
        esac
16010
 
      fi
16011
 
      if test "$with_gnu_ld" = no; then
16012
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16013
 
        hardcode_libdir_separator_F77=:
16014
 
 
16015
 
        case $host_cpu in
16016
 
        hppa*64*|ia64*)
16017
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
16018
 
          hardcode_direct_F77=no
16019
 
          hardcode_shlibpath_var_F77=no
16020
 
          ;;
16021
 
        *)
16022
 
          hardcode_direct_F77=yes
16023
 
          export_dynamic_flag_spec_F77='${wl}-E'
16024
 
 
16025
 
          # hardcode_minus_L: Not really in the search PATH,
16026
 
          # but as the default location of the library.
16027
 
          hardcode_minus_L_F77=yes
16028
 
          ;;
16029
 
        esac
16030
 
      fi
16031
 
      ;;
16032
 
 
16033
 
    irix5* | irix6* | nonstopux*)
16034
 
      if test "$GCC" = yes; then
16035
 
        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'
16036
 
      else
16037
 
        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'
16038
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
16039
 
      fi
16040
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16041
 
      hardcode_libdir_separator_F77=:
16042
 
      link_all_deplibs_F77=yes
16043
 
      ;;
16044
 
 
16045
 
    netbsd* | netbsdelf*-gnu)
16046
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16047
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
16048
 
      else
16049
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
16050
 
      fi
16051
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16052
 
      hardcode_direct_F77=yes
16053
 
      hardcode_shlibpath_var_F77=no
16054
 
      ;;
16055
 
 
16056
 
    newsos6)
16057
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16058
 
      hardcode_direct_F77=yes
16059
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16060
 
      hardcode_libdir_separator_F77=:
16061
 
      hardcode_shlibpath_var_F77=no
16062
 
      ;;
16063
 
 
16064
 
    openbsd*)
16065
 
      if test -f /usr/libexec/ld.so; then
16066
 
        hardcode_direct_F77=yes
16067
 
        hardcode_shlibpath_var_F77=no
16068
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16069
 
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16070
 
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16071
 
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16072
 
          export_dynamic_flag_spec_F77='${wl}-E'
16073
 
        else
16074
 
          case $host_os in
16075
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16076
 
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16077
 
             hardcode_libdir_flag_spec_F77='-R$libdir'
16078
 
             ;;
16079
 
           *)
16080
 
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16081
 
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16082
 
             ;;
16083
 
          esac
16084
 
        fi
16085
 
      else
16086
 
        ld_shlibs_F77=no
16087
 
      fi
16088
 
      ;;
16089
 
 
16090
 
    os2*)
16091
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16092
 
      hardcode_minus_L_F77=yes
16093
 
      allow_undefined_flag_F77=unsupported
16094
 
      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'
16095
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16096
 
      ;;
16097
 
 
16098
 
    osf3*)
16099
 
      if test "$GCC" = yes; then
16100
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16101
 
        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'
16102
 
      else
16103
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
16104
 
        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'
16105
 
      fi
16106
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16107
 
      hardcode_libdir_separator_F77=:
16108
 
      ;;
16109
 
 
16110
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
16111
 
      if test "$GCC" = yes; then
16112
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16113
 
        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'
16114
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16115
 
      else
16116
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
16117
 
        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'
16118
 
        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~
16119
 
        $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'
16120
 
 
16121
 
        # Both c and cxx compiler support -rpath directly
16122
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
16123
 
      fi
16124
 
      hardcode_libdir_separator_F77=:
16125
 
      ;;
16126
 
 
16127
 
    solaris*)
16128
 
      no_undefined_flag_F77=' -z text'
16129
 
      if test "$GCC" = yes; then
16130
 
        wlarc='${wl}'
16131
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16132
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16133
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16134
 
      else
16135
 
        wlarc=''
16136
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16137
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16138
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16139
 
      fi
16140
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16141
 
      hardcode_shlibpath_var_F77=no
16142
 
      case $host_os in
16143
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
16144
 
      *)
16145
 
        # The compiler driver will combine and reorder linker options,
16146
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
16147
 
        # but is careful enough not to reorder.
16148
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
16149
 
        if test "$GCC" = yes; then
16150
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16151
 
        else
16152
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
16153
 
        fi
16154
 
        ;;
16155
 
      esac
16156
 
      link_all_deplibs_F77=yes
16157
 
      ;;
16158
 
 
16159
 
    sunos4*)
16160
 
      if test "x$host_vendor" = xsequent; then
16161
 
        # Use $CC to link under sequent, because it throws in some extra .o
16162
 
        # files that make .init and .fini sections work.
16163
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16164
 
      else
16165
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16166
 
      fi
16167
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16168
 
      hardcode_direct_F77=yes
16169
 
      hardcode_minus_L_F77=yes
16170
 
      hardcode_shlibpath_var_F77=no
16171
 
      ;;
16172
 
 
16173
 
    sysv4)
16174
 
      case $host_vendor in
16175
 
        sni)
16176
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16177
 
          hardcode_direct_F77=yes # is this really true???
16178
 
        ;;
16179
 
        siemens)
16180
 
          ## LD is ld it makes a PLAMLIB
16181
 
          ## CC just makes a GrossModule.
16182
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16183
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
16184
 
          hardcode_direct_F77=no
16185
 
        ;;
16186
 
        motorola)
16187
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16188
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
16189
 
        ;;
16190
 
      esac
16191
 
      runpath_var='LD_RUN_PATH'
16192
 
      hardcode_shlibpath_var_F77=no
16193
 
      ;;
16194
 
 
16195
 
    sysv4.3*)
16196
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16197
 
      hardcode_shlibpath_var_F77=no
16198
 
      export_dynamic_flag_spec_F77='-Bexport'
16199
 
      ;;
16200
 
 
16201
 
    sysv4*MP*)
16202
 
      if test -d /usr/nec; then
16203
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16204
 
        hardcode_shlibpath_var_F77=no
16205
 
        runpath_var=LD_RUN_PATH
16206
 
        hardcode_runpath_var=yes
16207
 
        ld_shlibs_F77=yes
16208
 
      fi
16209
 
      ;;
16210
 
 
16211
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16212
 
      no_undefined_flag_F77='${wl}-z,text'
16213
 
      archive_cmds_need_lc_F77=no
16214
 
      hardcode_shlibpath_var_F77=no
16215
 
      runpath_var='LD_RUN_PATH'
16216
 
 
16217
 
      if test "$GCC" = yes; then
16218
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16219
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16220
 
      else
16221
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16222
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16223
 
      fi
16224
 
      ;;
16225
 
 
16226
 
    sysv5* | sco3.2v5* | sco5v6*)
16227
 
      # Note: We can NOT use -z defs as we might desire, because we do not
16228
 
      # link with -lc, and that would cause any symbols used from libc to
16229
 
      # always be unresolved, which means just about no library would
16230
 
      # ever link correctly.  If we're not using GNU ld we use -z text
16231
 
      # though, which does catch some bad symbols but isn't as heavy-handed
16232
 
      # as -z defs.
16233
 
      no_undefined_flag_F77='${wl}-z,text'
16234
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
16235
 
      archive_cmds_need_lc_F77=no
16236
 
      hardcode_shlibpath_var_F77=no
16237
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16238
 
      hardcode_libdir_separator_F77=':'
16239
 
      link_all_deplibs_F77=yes
16240
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
16241
 
      runpath_var='LD_RUN_PATH'
16242
 
 
16243
 
      if test "$GCC" = yes; then
16244
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16245
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16246
 
      else
16247
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16248
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16249
 
      fi
16250
 
      ;;
16251
 
 
16252
 
    uts4*)
16253
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16254
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16255
 
      hardcode_shlibpath_var_F77=no
16256
 
      ;;
16257
 
 
16258
 
    *)
16259
 
      ld_shlibs_F77=no
16260
 
      ;;
16261
 
    esac
16262
 
  fi
16263
 
 
16264
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16265
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
16266
 
test "$ld_shlibs_F77" = no && can_build_shared=no
16267
 
 
16268
 
#
16269
 
# Do we need to explicitly link libc?
16270
 
#
16271
 
case "x$archive_cmds_need_lc_F77" in
16272
 
x|xyes)
16273
 
  # Assume -lc should be added
16274
 
  archive_cmds_need_lc_F77=yes
16275
 
 
16276
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
16277
 
    case $archive_cmds_F77 in
16278
 
    *'~'*)
16279
 
      # FIXME: we may have to deal with multi-command sequences.
16280
 
      ;;
16281
 
    '$CC '*)
16282
 
      # Test whether the compiler implicitly links with -lc since on some
16283
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16284
 
      # to ld, don't add -lc before -lgcc.
16285
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16286
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16287
 
      $rm conftest*
16288
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16289
 
 
16290
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16291
 
  (eval $ac_compile) 2>&5
16292
 
  ac_status=$?
16293
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16294
 
  (exit $ac_status); } 2>conftest.err; then
16295
 
        soname=conftest
16296
 
        lib=conftest
16297
 
        libobjs=conftest.$ac_objext
16298
 
        deplibs=
16299
 
        wl=$lt_prog_compiler_wl_F77
16300
 
        pic_flag=$lt_prog_compiler_pic_F77
16301
 
        compiler_flags=-v
16302
 
        linker_flags=-v
16303
 
        verstring=
16304
 
        output_objdir=.
16305
 
        libname=conftest
16306
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
16307
 
        allow_undefined_flag_F77=
16308
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16309
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16310
 
  ac_status=$?
16311
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16312
 
  (exit $ac_status); }
16313
 
        then
16314
 
          archive_cmds_need_lc_F77=no
16315
 
        else
16316
 
          archive_cmds_need_lc_F77=yes
16317
 
        fi
16318
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
16319
 
      else
16320
 
        cat conftest.err 1>&5
16321
 
      fi
16322
 
      $rm conftest*
16323
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16324
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
16325
 
      ;;
16326
 
    esac
16327
 
  fi
16328
 
  ;;
16329
 
esac
16330
 
 
16331
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16332
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16333
 
library_names_spec=
16334
 
libname_spec='lib$name'
16335
 
soname_spec=
16336
 
shrext_cmds=".so"
16337
 
postinstall_cmds=
16338
 
postuninstall_cmds=
16339
 
finish_cmds=
16340
 
finish_eval=
16341
 
shlibpath_var=
16342
 
shlibpath_overrides_runpath=unknown
16343
 
version_type=none
16344
 
dynamic_linker="$host_os ld.so"
16345
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16346
 
 
16347
 
need_lib_prefix=unknown
16348
 
hardcode_into_libs=no
16349
 
 
16350
 
# when you set need_version to no, make sure it does not cause -set_version
16351
 
# flags to be left without arguments
16352
 
need_version=unknown
16353
 
 
16354
 
case $host_os in
16355
 
aix3*)
16356
 
  version_type=linux
16357
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16358
 
  shlibpath_var=LIBPATH
16359
 
 
16360
 
  # AIX 3 has no versioning support, so we append a major version to the name.
16361
 
  soname_spec='${libname}${release}${shared_ext}$major'
16362
 
  ;;
16363
 
 
16364
 
aix4* | aix5*)
16365
 
  version_type=linux
16366
 
  need_lib_prefix=no
16367
 
  need_version=no
16368
 
  hardcode_into_libs=yes
16369
 
  if test "$host_cpu" = ia64; then
16370
 
    # AIX 5 supports IA64
16371
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16372
 
    shlibpath_var=LD_LIBRARY_PATH
16373
 
  else
16374
 
    # With GCC up to 2.95.x, collect2 would create an import file
16375
 
    # for dependence libraries.  The import file would start with
16376
 
    # the line `#! .'.  This would cause the generated library to
16377
 
    # depend on `.', always an invalid library.  This was fixed in
16378
 
    # development snapshots of GCC prior to 3.0.
16379
 
    case $host_os in
16380
 
      aix4 | aix4.[01] | aix4.[01].*)
16381
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16382
 
           echo ' yes '
16383
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16384
 
        :
16385
 
      else
16386
 
        can_build_shared=no
16387
 
      fi
16388
 
      ;;
16389
 
    esac
16390
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16391
 
    # soname into executable. Probably we can add versioning support to
16392
 
    # collect2, so additional links can be useful in future.
16393
 
    if test "$aix_use_runtimelinking" = yes; then
16394
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16395
 
      # instead of lib<name>.a to let people know that these are not
16396
 
      # typical AIX shared libraries.
16397
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16398
 
    else
16399
 
      # We preserve .a as extension for shared libraries through AIX4.2
16400
 
      # and later when we are not doing run time linking.
16401
 
      library_names_spec='${libname}${release}.a $libname.a'
16402
 
      soname_spec='${libname}${release}${shared_ext}$major'
16403
 
    fi
16404
 
    shlibpath_var=LIBPATH
16405
 
  fi
16406
 
  ;;
16407
 
 
16408
 
amigaos*)
16409
 
  library_names_spec='$libname.ixlibrary $libname.a'
16410
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
16411
 
  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'
16412
 
  ;;
16413
 
 
16414
 
beos*)
16415
 
  library_names_spec='${libname}${shared_ext}'
16416
 
  dynamic_linker="$host_os ld.so"
16417
 
  shlibpath_var=LIBRARY_PATH
16418
 
  ;;
16419
 
 
16420
 
bsdi[45]*)
16421
 
  version_type=linux
16422
 
  need_version=no
16423
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16424
 
  soname_spec='${libname}${release}${shared_ext}$major'
16425
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16426
 
  shlibpath_var=LD_LIBRARY_PATH
16427
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16428
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16429
 
  # the default ld.so.conf also contains /usr/contrib/lib and
16430
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16431
 
  # libtool to hard-code these into programs
16432
 
  ;;
16433
 
 
16434
 
cygwin* | mingw* | pw32*)
16435
 
  version_type=windows
16436
 
  shrext_cmds=".dll"
16437
 
  need_version=no
16438
 
  need_lib_prefix=no
16439
 
 
16440
 
  case $GCC,$host_os in
16441
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
16442
 
    library_names_spec='$libname.dll.a'
16443
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16444
 
    postinstall_cmds='base_file=`basename \${file}`~
16445
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16446
 
      dldir=$destdir/`dirname \$dlpath`~
16447
 
      test -d \$dldir || mkdir -p \$dldir~
16448
 
      $install_prog $dir/$dlname \$dldir/$dlname~
16449
 
      chmod a+x \$dldir/$dlname'
16450
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16451
 
      dlpath=$dir/\$dldll~
16452
 
       $rm \$dlpath'
16453
 
    shlibpath_overrides_runpath=yes
16454
 
 
16455
 
    case $host_os in
16456
 
    cygwin*)
16457
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16458
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16459
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16460
 
      ;;
16461
 
    mingw*)
16462
 
      # MinGW DLLs use traditional 'lib' prefix
16463
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16464
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16465
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16466
 
        # It is most probably a Windows format PATH printed by
16467
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
16468
 
        # path with ; separators, and with drive letters. We can handle the
16469
 
        # drive letters (cygwin fileutils understands them), so leave them,
16470
 
        # especially as we might pass files found there to a mingw objdump,
16471
 
        # which wouldn't understand a cygwinified path. Ahh.
16472
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16473
 
      else
16474
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16475
 
      fi
16476
 
      ;;
16477
 
    pw32*)
16478
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
16479
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16480
 
      ;;
16481
 
    esac
16482
 
    ;;
16483
 
 
16484
 
  *)
16485
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16486
 
    ;;
16487
 
  esac
16488
 
  dynamic_linker='Win32 ld.exe'
16489
 
  # FIXME: first we should search . and the directory the executable is in
16490
 
  shlibpath_var=PATH
16491
 
  ;;
16492
 
 
16493
 
darwin* | rhapsody*)
16494
 
  dynamic_linker="$host_os dyld"
16495
 
  version_type=darwin
16496
 
  need_lib_prefix=no
16497
 
  need_version=no
16498
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16499
 
  soname_spec='${libname}${release}${major}$shared_ext'
16500
 
  shlibpath_overrides_runpath=yes
16501
 
  shlibpath_var=DYLD_LIBRARY_PATH
16502
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16503
 
 
16504
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16505
 
  ;;
16506
 
 
16507
 
dgux*)
16508
 
  version_type=linux
16509
 
  need_lib_prefix=no
16510
 
  need_version=no
16511
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16512
 
  soname_spec='${libname}${release}${shared_ext}$major'
16513
 
  shlibpath_var=LD_LIBRARY_PATH
16514
 
  ;;
16515
 
 
16516
 
freebsd1*)
16517
 
  dynamic_linker=no
16518
 
  ;;
16519
 
 
16520
 
freebsd* | dragonfly*)
16521
 
  # DragonFly does not have aout.  When/if they implement a new
16522
 
  # versioning mechanism, adjust this.
16523
 
  if test -x /usr/bin/objformat; then
16524
 
    objformat=`/usr/bin/objformat`
16525
 
  else
16526
 
    case $host_os in
16527
 
    freebsd[123]*) objformat=aout ;;
16528
 
    *) objformat=elf ;;
16529
 
    esac
16530
 
  fi
16531
 
  version_type=freebsd-$objformat
16532
 
  case $version_type in
16533
 
    freebsd-elf*)
16534
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16535
 
      need_version=no
16536
 
      need_lib_prefix=no
16537
 
      ;;
16538
 
    freebsd-*)
16539
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16540
 
      need_version=yes
16541
 
      ;;
16542
 
  esac
16543
 
  shlibpath_var=LD_LIBRARY_PATH
16544
 
  case $host_os in
16545
 
  freebsd2*)
16546
 
    shlibpath_overrides_runpath=yes
16547
 
    ;;
16548
 
  freebsd3.[01]* | freebsdelf3.[01]*)
16549
 
    shlibpath_overrides_runpath=yes
16550
 
    hardcode_into_libs=yes
16551
 
    ;;
16552
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16553
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16554
 
    shlibpath_overrides_runpath=no
16555
 
    hardcode_into_libs=yes
16556
 
    ;;
16557
 
  *) # from 4.6 on, and DragonFly
16558
 
    shlibpath_overrides_runpath=yes
16559
 
    hardcode_into_libs=yes
16560
 
    ;;
16561
 
  esac
16562
 
  ;;
16563
 
 
16564
 
gnu*)
16565
 
  version_type=linux
16566
 
  need_lib_prefix=no
16567
 
  need_version=no
16568
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16569
 
  soname_spec='${libname}${release}${shared_ext}$major'
16570
 
  shlibpath_var=LD_LIBRARY_PATH
16571
 
  hardcode_into_libs=yes
16572
 
  ;;
16573
 
 
16574
 
hpux9* | hpux10* | hpux11*)
16575
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
16576
 
  # link against other versions.
16577
 
  version_type=sunos
16578
 
  need_lib_prefix=no
16579
 
  need_version=no
16580
 
  case $host_cpu in
16581
 
  ia64*)
16582
 
    shrext_cmds='.so'
16583
 
    hardcode_into_libs=yes
16584
 
    dynamic_linker="$host_os dld.so"
16585
 
    shlibpath_var=LD_LIBRARY_PATH
16586
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16587
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16588
 
    soname_spec='${libname}${release}${shared_ext}$major'
16589
 
    if test "X$HPUX_IA64_MODE" = X32; then
16590
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16591
 
    else
16592
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16593
 
    fi
16594
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16595
 
    ;;
16596
 
   hppa*64*)
16597
 
     shrext_cmds='.sl'
16598
 
     hardcode_into_libs=yes
16599
 
     dynamic_linker="$host_os dld.sl"
16600
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16601
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16602
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16603
 
     soname_spec='${libname}${release}${shared_ext}$major'
16604
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16605
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16606
 
     ;;
16607
 
   *)
16608
 
    shrext_cmds='.sl'
16609
 
    dynamic_linker="$host_os dld.sl"
16610
 
    shlibpath_var=SHLIB_PATH
16611
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16612
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16613
 
    soname_spec='${libname}${release}${shared_ext}$major'
16614
 
    ;;
16615
 
  esac
16616
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
16617
 
  postinstall_cmds='chmod 555 $lib'
16618
 
  ;;
16619
 
 
16620
 
interix[3-9]*)
16621
 
  version_type=linux
16622
 
  need_lib_prefix=no
16623
 
  need_version=no
16624
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16625
 
  soname_spec='${libname}${release}${shared_ext}$major'
16626
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16627
 
  shlibpath_var=LD_LIBRARY_PATH
16628
 
  shlibpath_overrides_runpath=no
16629
 
  hardcode_into_libs=yes
16630
 
  ;;
16631
 
 
16632
 
irix5* | irix6* | nonstopux*)
16633
 
  case $host_os in
16634
 
    nonstopux*) version_type=nonstopux ;;
16635
 
    *)
16636
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
16637
 
                version_type=linux
16638
 
        else
16639
 
                version_type=irix
16640
 
        fi ;;
16641
 
  esac
16642
 
  need_lib_prefix=no
16643
 
  need_version=no
16644
 
  soname_spec='${libname}${release}${shared_ext}$major'
16645
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16646
 
  case $host_os in
16647
 
  irix5* | nonstopux*)
16648
 
    libsuff= shlibsuff=
16649
 
    ;;
16650
 
  *)
16651
 
    case $LD in # libtool.m4 will add one of these switches to LD
16652
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16653
 
      libsuff= shlibsuff= libmagic=32-bit;;
16654
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16655
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
16656
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16657
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16658
 
    *) libsuff= shlibsuff= libmagic=never-match;;
16659
 
    esac
16660
 
    ;;
16661
 
  esac
16662
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16663
 
  shlibpath_overrides_runpath=no
16664
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16665
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16666
 
  hardcode_into_libs=yes
16667
 
  ;;
16668
 
 
16669
 
# No shared lib support for Linux oldld, aout, or coff.
16670
 
linux*oldld* | linux*aout* | linux*coff*)
16671
 
  dynamic_linker=no
16672
 
  ;;
16673
 
 
16674
 
# This must be Linux ELF.
16675
 
linux* | k*bsd*-gnu)
16676
 
  version_type=linux
16677
 
  need_lib_prefix=no
16678
 
  need_version=no
16679
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16680
 
  soname_spec='${libname}${release}${shared_ext}$major'
16681
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16682
 
  shlibpath_var=LD_LIBRARY_PATH
16683
 
  shlibpath_overrides_runpath=no
16684
 
  # This implies no fast_install, which is unacceptable.
16685
 
  # Some rework will be needed to allow for fast_install
16686
 
  # before this can be enabled.
16687
 
  hardcode_into_libs=yes
16688
 
 
16689
 
  # Append ld.so.conf contents to the search path
16690
 
  if test -f /etc/ld.so.conf; then
16691
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16692
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16693
 
  fi
16694
 
 
16695
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
16696
 
  # powerpc, because MkLinux only supported shared libraries with the
16697
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
16698
 
  # most powerpc-linux boxes support dynamic linking these days and
16699
 
  # people can always --disable-shared, the test was removed, and we
16700
 
  # assume the GNU/Linux dynamic linker is in use.
16701
 
  dynamic_linker='GNU/Linux ld.so'
16702
 
  ;;
16703
 
 
16704
 
netbsdelf*-gnu)
16705
 
  version_type=linux
16706
 
  need_lib_prefix=no
16707
 
  need_version=no
16708
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16709
 
  soname_spec='${libname}${release}${shared_ext}$major'
16710
 
  shlibpath_var=LD_LIBRARY_PATH
16711
 
  shlibpath_overrides_runpath=no
16712
 
  hardcode_into_libs=yes
16713
 
  dynamic_linker='NetBSD ld.elf_so'
16714
 
  ;;
16715
 
 
16716
 
netbsd*)
16717
 
  version_type=sunos
16718
 
  need_lib_prefix=no
16719
 
  need_version=no
16720
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16721
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16722
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16723
 
    dynamic_linker='NetBSD (a.out) ld.so'
16724
 
  else
16725
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16726
 
    soname_spec='${libname}${release}${shared_ext}$major'
16727
 
    dynamic_linker='NetBSD ld.elf_so'
16728
 
  fi
16729
 
  shlibpath_var=LD_LIBRARY_PATH
16730
 
  shlibpath_overrides_runpath=yes
16731
 
  hardcode_into_libs=yes
16732
 
  ;;
16733
 
 
16734
 
newsos6)
16735
 
  version_type=linux
16736
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16737
 
  shlibpath_var=LD_LIBRARY_PATH
16738
 
  shlibpath_overrides_runpath=yes
16739
 
  ;;
16740
 
 
16741
 
nto-qnx*)
16742
 
  version_type=linux
16743
 
  need_lib_prefix=no
16744
 
  need_version=no
16745
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16746
 
  soname_spec='${libname}${release}${shared_ext}$major'
16747
 
  shlibpath_var=LD_LIBRARY_PATH
16748
 
  shlibpath_overrides_runpath=yes
16749
 
  ;;
16750
 
 
16751
 
openbsd*)
16752
 
  version_type=sunos
16753
 
  sys_lib_dlsearch_path_spec="/usr/lib"
16754
 
  need_lib_prefix=no
16755
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16756
 
  case $host_os in
16757
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16758
 
    *)                         need_version=no  ;;
16759
 
  esac
16760
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16761
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16762
 
  shlibpath_var=LD_LIBRARY_PATH
16763
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16764
 
    case $host_os in
16765
 
      openbsd2.[89] | openbsd2.[89].*)
16766
 
        shlibpath_overrides_runpath=no
16767
 
        ;;
16768
 
      *)
16769
 
        shlibpath_overrides_runpath=yes
16770
 
        ;;
16771
 
      esac
16772
 
  else
16773
 
    shlibpath_overrides_runpath=yes
16774
 
  fi
16775
 
  ;;
16776
 
 
16777
 
os2*)
16778
 
  libname_spec='$name'
16779
 
  shrext_cmds=".dll"
16780
 
  need_lib_prefix=no
16781
 
  library_names_spec='$libname${shared_ext} $libname.a'
16782
 
  dynamic_linker='OS/2 ld.exe'
16783
 
  shlibpath_var=LIBPATH
16784
 
  ;;
16785
 
 
16786
 
osf3* | osf4* | osf5*)
16787
 
  version_type=osf
16788
 
  need_lib_prefix=no
16789
 
  need_version=no
16790
 
  soname_spec='${libname}${release}${shared_ext}$major'
16791
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16792
 
  shlibpath_var=LD_LIBRARY_PATH
16793
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16794
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16795
 
  ;;
16796
 
 
16797
 
rdos*)
16798
 
  dynamic_linker=no
16799
 
  ;;
16800
 
 
16801
 
solaris*)
16802
 
  version_type=linux
16803
 
  need_lib_prefix=no
16804
 
  need_version=no
16805
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16806
 
  soname_spec='${libname}${release}${shared_ext}$major'
16807
 
  shlibpath_var=LD_LIBRARY_PATH
16808
 
  shlibpath_overrides_runpath=yes
16809
 
  hardcode_into_libs=yes
16810
 
  # ldd complains unless libraries are executable
16811
 
  postinstall_cmds='chmod +x $lib'
16812
 
  ;;
16813
 
 
16814
 
sunos4*)
16815
 
  version_type=sunos
16816
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16817
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16818
 
  shlibpath_var=LD_LIBRARY_PATH
16819
 
  shlibpath_overrides_runpath=yes
16820
 
  if test "$with_gnu_ld" = yes; then
16821
 
    need_lib_prefix=no
16822
 
  fi
16823
 
  need_version=yes
16824
 
  ;;
16825
 
 
16826
 
sysv4 | sysv4.3*)
16827
 
  version_type=linux
16828
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16829
 
  soname_spec='${libname}${release}${shared_ext}$major'
16830
 
  shlibpath_var=LD_LIBRARY_PATH
16831
 
  case $host_vendor in
16832
 
    sni)
16833
 
      shlibpath_overrides_runpath=no
16834
 
      need_lib_prefix=no
16835
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
16836
 
      runpath_var=LD_RUN_PATH
16837
 
      ;;
16838
 
    siemens)
16839
 
      need_lib_prefix=no
16840
 
      ;;
16841
 
    motorola)
16842
 
      need_lib_prefix=no
16843
 
      need_version=no
16844
 
      shlibpath_overrides_runpath=no
16845
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16846
 
      ;;
16847
 
  esac
16848
 
  ;;
16849
 
 
16850
 
sysv4*MP*)
16851
 
  if test -d /usr/nec ;then
16852
 
    version_type=linux
16853
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16854
 
    soname_spec='$libname${shared_ext}.$major'
16855
 
    shlibpath_var=LD_LIBRARY_PATH
16856
 
  fi
16857
 
  ;;
16858
 
 
16859
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16860
 
  version_type=freebsd-elf
16861
 
  need_lib_prefix=no
16862
 
  need_version=no
16863
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16864
 
  soname_spec='${libname}${release}${shared_ext}$major'
16865
 
  shlibpath_var=LD_LIBRARY_PATH
16866
 
  hardcode_into_libs=yes
16867
 
  if test "$with_gnu_ld" = yes; then
16868
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16869
 
    shlibpath_overrides_runpath=no
16870
 
  else
16871
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16872
 
    shlibpath_overrides_runpath=yes
16873
 
    case $host_os in
16874
 
      sco3.2v5*)
16875
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16876
 
        ;;
16877
 
    esac
16878
 
  fi
16879
 
  sys_lib_dlsearch_path_spec='/usr/lib'
16880
 
  ;;
16881
 
 
16882
 
uts4*)
16883
 
  version_type=linux
16884
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16885
 
  soname_spec='${libname}${release}${shared_ext}$major'
16886
 
  shlibpath_var=LD_LIBRARY_PATH
16887
 
  ;;
16888
 
 
16889
 
*)
16890
 
  dynamic_linker=no
16891
 
  ;;
16892
 
esac
16893
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16894
 
echo "${ECHO_T}$dynamic_linker" >&6; }
16895
 
test "$dynamic_linker" = no && can_build_shared=no
16896
 
 
16897
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16898
 
if test "$GCC" = yes; then
16899
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16900
 
fi
16901
 
 
16902
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16903
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16904
 
hardcode_action_F77=
16905
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
16906
 
   test -n "$runpath_var_F77" || \
16907
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
16908
 
 
16909
 
  # We can hardcode non-existant directories.
16910
 
  if test "$hardcode_direct_F77" != no &&
16911
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
16912
 
     # have to relink, otherwise we might link with an installed library
16913
 
     # when we should be linking with a yet-to-be-installed one
16914
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16915
 
     test "$hardcode_minus_L_F77" != no; then
16916
 
    # Linking always hardcodes the temporary library directory.
16917
 
    hardcode_action_F77=relink
16918
 
  else
16919
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
16920
 
    hardcode_action_F77=immediate
16921
 
  fi
16922
 
else
16923
 
  # We cannot hardcode anything, or else we can only hardcode existing
16924
 
  # directories.
16925
 
  hardcode_action_F77=unsupported
16926
 
fi
16927
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16928
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
16929
 
 
16930
 
if test "$hardcode_action_F77" = relink; then
16931
 
  # Fast installation is not supported
16932
 
  enable_fast_install=no
16933
 
elif test "$shlibpath_overrides_runpath" = yes ||
16934
 
     test "$enable_shared" = no; then
16935
 
  # Fast installation is not necessary
16936
 
  enable_fast_install=needless
16937
 
fi
16938
 
 
16939
 
 
16940
 
# The else clause should only fire when bootstrapping the
16941
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
16942
 
# with your package, and you will get complaints that there are
16943
 
# no rules to generate ltmain.sh.
16944
 
if test -f "$ltmain"; then
16945
 
  # See if we are running on zsh, and set the options which allow our commands through
16946
 
  # without removal of \ escapes.
16947
 
  if test -n "${ZSH_VERSION+set}" ; then
16948
 
    setopt NO_GLOB_SUBST
16949
 
  fi
16950
 
  # Now quote all the things that may contain metacharacters while being
16951
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
16952
 
  # variables and quote the copies for generation of the libtool script.
16953
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16954
 
    SED SHELL STRIP \
16955
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16956
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16957
 
    deplibs_check_method reload_flag reload_cmds need_locks \
16958
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16959
 
    lt_cv_sys_global_symbol_to_c_name_address \
16960
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16961
 
    old_postinstall_cmds old_postuninstall_cmds \
16962
 
    compiler_F77 \
16963
 
    CC_F77 \
16964
 
    LD_F77 \
16965
 
    lt_prog_compiler_wl_F77 \
16966
 
    lt_prog_compiler_pic_F77 \
16967
 
    lt_prog_compiler_static_F77 \
16968
 
    lt_prog_compiler_no_builtin_flag_F77 \
16969
 
    export_dynamic_flag_spec_F77 \
16970
 
    thread_safe_flag_spec_F77 \
16971
 
    whole_archive_flag_spec_F77 \
16972
 
    enable_shared_with_static_runtimes_F77 \
16973
 
    old_archive_cmds_F77 \
16974
 
    old_archive_from_new_cmds_F77 \
16975
 
    predep_objects_F77 \
16976
 
    postdep_objects_F77 \
16977
 
    predeps_F77 \
16978
 
    postdeps_F77 \
16979
 
    compiler_lib_search_path_F77 \
16980
 
    archive_cmds_F77 \
16981
 
    archive_expsym_cmds_F77 \
16982
 
    postinstall_cmds_F77 \
16983
 
    postuninstall_cmds_F77 \
16984
 
    old_archive_from_expsyms_cmds_F77 \
16985
 
    allow_undefined_flag_F77 \
16986
 
    no_undefined_flag_F77 \
16987
 
    export_symbols_cmds_F77 \
16988
 
    hardcode_libdir_flag_spec_F77 \
16989
 
    hardcode_libdir_flag_spec_ld_F77 \
16990
 
    hardcode_libdir_separator_F77 \
16991
 
    hardcode_automatic_F77 \
16992
 
    module_cmds_F77 \
16993
 
    module_expsym_cmds_F77 \
16994
 
    lt_cv_prog_compiler_c_o_F77 \
16995
 
    fix_srcfile_path_F77 \
16996
 
    exclude_expsyms_F77 \
16997
 
    include_expsyms_F77; do
16998
 
 
16999
 
    case $var in
17000
 
    old_archive_cmds_F77 | \
17001
 
    old_archive_from_new_cmds_F77 | \
17002
 
    archive_cmds_F77 | \
17003
 
    archive_expsym_cmds_F77 | \
17004
 
    module_cmds_F77 | \
17005
 
    module_expsym_cmds_F77 | \
17006
 
    old_archive_from_expsyms_cmds_F77 | \
17007
 
    export_symbols_cmds_F77 | \
17008
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
17009
 
    postinstall_cmds | postuninstall_cmds | \
17010
 
    old_postinstall_cmds | old_postuninstall_cmds | \
17011
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17012
 
      # Double-quote double-evaled strings.
17013
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17014
 
      ;;
17015
 
    *)
17016
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17017
 
      ;;
17018
 
    esac
17019
 
  done
17020
 
 
17021
 
  case $lt_echo in
17022
 
  *'\$0 --fallback-echo"')
17023
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17024
 
    ;;
17025
 
  esac
17026
 
 
17027
 
cfgfile="$ofile"
17028
 
 
17029
 
  cat <<__EOF__ >> "$cfgfile"
17030
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
17031
 
 
17032
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17033
 
 
17034
 
# Shell to use when invoking shell scripts.
17035
 
SHELL=$lt_SHELL
17036
 
 
17037
 
# Whether or not to build shared libraries.
17038
 
build_libtool_libs=$enable_shared
17039
 
 
17040
 
# Whether or not to build static libraries.
17041
 
build_old_libs=$enable_static
17042
 
 
17043
 
# Whether or not to add -lc for building shared libraries.
17044
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
17045
 
 
17046
 
# Whether or not to disallow shared libs when runtime libs are static
17047
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
17048
 
 
17049
 
# Whether or not to optimize for fast installation.
17050
 
fast_install=$enable_fast_install
17051
 
 
17052
 
# The host system.
17053
 
host_alias=$host_alias
17054
 
host=$host
17055
 
host_os=$host_os
17056
 
 
17057
 
# The build system.
17058
 
build_alias=$build_alias
17059
 
build=$build
17060
 
build_os=$build_os
17061
 
 
17062
 
# An echo program that does not interpret backslashes.
17063
 
echo=$lt_echo
17064
 
 
17065
 
# The archiver.
17066
 
AR=$lt_AR
17067
 
AR_FLAGS=$lt_AR_FLAGS
17068
 
 
17069
 
# A C compiler.
17070
 
LTCC=$lt_LTCC
17071
 
 
17072
 
# LTCC compiler flags.
17073
 
LTCFLAGS=$lt_LTCFLAGS
17074
 
 
17075
 
# A language-specific compiler.
17076
 
CC=$lt_compiler_F77
17077
 
 
17078
 
# Is the compiler the GNU C compiler?
17079
 
with_gcc=$GCC_F77
17080
 
 
17081
 
# An ERE matcher.
17082
 
EGREP=$lt_EGREP
17083
 
 
17084
 
# The linker used to build libraries.
17085
 
LD=$lt_LD_F77
17086
 
 
17087
 
# Whether we need hard or soft links.
17088
 
LN_S=$lt_LN_S
17089
 
 
17090
 
# A BSD-compatible nm program.
17091
 
NM=$lt_NM
17092
 
 
17093
 
# A symbol stripping program
17094
 
STRIP=$lt_STRIP
17095
 
 
17096
 
# Used to examine libraries when file_magic_cmd begins "file"
17097
 
MAGIC_CMD=$MAGIC_CMD
17098
 
 
17099
 
# Used on cygwin: DLL creation program.
17100
 
DLLTOOL="$DLLTOOL"
17101
 
 
17102
 
# Used on cygwin: object dumper.
17103
 
OBJDUMP="$OBJDUMP"
17104
 
 
17105
 
# Used on cygwin: assembler.
17106
 
AS="$AS"
17107
 
 
17108
 
# The name of the directory that contains temporary libtool files.
17109
 
objdir=$objdir
17110
 
 
17111
 
# How to create reloadable object files.
17112
 
reload_flag=$lt_reload_flag
17113
 
reload_cmds=$lt_reload_cmds
17114
 
 
17115
 
# How to pass a linker flag through the compiler.
17116
 
wl=$lt_lt_prog_compiler_wl_F77
17117
 
 
17118
 
# Object file suffix (normally "o").
17119
 
objext="$ac_objext"
17120
 
 
17121
 
# Old archive suffix (normally "a").
17122
 
libext="$libext"
17123
 
 
17124
 
# Shared library suffix (normally ".so").
17125
 
shrext_cmds='$shrext_cmds'
17126
 
 
17127
 
# Executable file suffix (normally "").
17128
 
exeext="$exeext"
17129
 
 
17130
 
# Additional compiler flags for building library objects.
17131
 
pic_flag=$lt_lt_prog_compiler_pic_F77
17132
 
pic_mode=$pic_mode
17133
 
 
17134
 
# What is the maximum length of a command?
17135
 
max_cmd_len=$lt_cv_sys_max_cmd_len
17136
 
 
17137
 
# Does compiler simultaneously support -c and -o options?
17138
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
17139
 
 
17140
 
# Must we lock files when doing compilation?
17141
 
need_locks=$lt_need_locks
17142
 
 
17143
 
# Do we need the lib prefix for modules?
17144
 
need_lib_prefix=$need_lib_prefix
17145
 
 
17146
 
# Do we need a version for libraries?
17147
 
need_version=$need_version
17148
 
 
17149
 
# Whether dlopen is supported.
17150
 
dlopen_support=$enable_dlopen
17151
 
 
17152
 
# Whether dlopen of programs is supported.
17153
 
dlopen_self=$enable_dlopen_self
17154
 
 
17155
 
# Whether dlopen of statically linked programs is supported.
17156
 
dlopen_self_static=$enable_dlopen_self_static
17157
 
 
17158
 
# Compiler flag to prevent dynamic linking.
17159
 
link_static_flag=$lt_lt_prog_compiler_static_F77
17160
 
 
17161
 
# Compiler flag to turn off builtin functions.
17162
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
17163
 
 
17164
 
# Compiler flag to allow reflexive dlopens.
17165
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
17166
 
 
17167
 
# Compiler flag to generate shared objects directly from archives.
17168
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
17169
 
 
17170
 
# Compiler flag to generate thread-safe objects.
17171
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
17172
 
 
17173
 
# Library versioning type.
17174
 
version_type=$version_type
17175
 
 
17176
 
# Format of library name prefix.
17177
 
libname_spec=$lt_libname_spec
17178
 
 
17179
 
# List of archive names.  First name is the real one, the rest are links.
17180
 
# The last name is the one that the linker finds with -lNAME.
17181
 
library_names_spec=$lt_library_names_spec
17182
 
 
17183
 
# The coded name of the library, if different from the real name.
17184
 
soname_spec=$lt_soname_spec
17185
 
 
17186
 
# Commands used to build and install an old-style archive.
17187
 
RANLIB=$lt_RANLIB
17188
 
old_archive_cmds=$lt_old_archive_cmds_F77
17189
 
old_postinstall_cmds=$lt_old_postinstall_cmds
17190
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17191
 
 
17192
 
# Create an old-style archive from a shared archive.
17193
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17194
 
 
17195
 
# Create a temporary old-style archive to link instead of a shared archive.
17196
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17197
 
 
17198
 
# Commands used to build and install a shared archive.
17199
 
archive_cmds=$lt_archive_cmds_F77
17200
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
17201
 
postinstall_cmds=$lt_postinstall_cmds
17202
 
postuninstall_cmds=$lt_postuninstall_cmds
17203
 
 
17204
 
# Commands used to build a loadable module (assumed same as above if empty)
17205
 
module_cmds=$lt_module_cmds_F77
17206
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
17207
 
 
17208
 
# Commands to strip libraries.
17209
 
old_striplib=$lt_old_striplib
17210
 
striplib=$lt_striplib
17211
 
 
17212
 
# Dependencies to place before the objects being linked to create a
17213
 
# shared library.
17214
 
predep_objects=$lt_predep_objects_F77
17215
 
 
17216
 
# Dependencies to place after the objects being linked to create a
17217
 
# shared library.
17218
 
postdep_objects=$lt_postdep_objects_F77
17219
 
 
17220
 
# Dependencies to place before the objects being linked to create a
17221
 
# shared library.
17222
 
predeps=$lt_predeps_F77
17223
 
 
17224
 
# Dependencies to place after the objects being linked to create a
17225
 
# shared library.
17226
 
postdeps=$lt_postdeps_F77
17227
 
 
17228
 
# The library search path used internally by the compiler when linking
17229
 
# a shared library.
17230
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17231
 
 
17232
 
# Method to check whether dependent libraries are shared objects.
17233
 
deplibs_check_method=$lt_deplibs_check_method
17234
 
 
17235
 
# Command to use when deplibs_check_method == file_magic.
17236
 
file_magic_cmd=$lt_file_magic_cmd
17237
 
 
17238
 
# Flag that allows shared libraries with undefined symbols to be built.
17239
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
17240
 
 
17241
 
# Flag that forces no undefined symbols.
17242
 
no_undefined_flag=$lt_no_undefined_flag_F77
17243
 
 
17244
 
# Commands used to finish a libtool library installation in a directory.
17245
 
finish_cmds=$lt_finish_cmds
17246
 
 
17247
 
# Same as above, but a single script fragment to be evaled but not shown.
17248
 
finish_eval=$lt_finish_eval
17249
 
 
17250
 
# Take the output of nm and produce a listing of raw symbols and C names.
17251
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17252
 
 
17253
 
# Transform the output of nm in a proper C declaration
17254
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17255
 
 
17256
 
# Transform the output of nm in a C name address pair
17257
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17258
 
 
17259
 
# This is the shared library runtime path variable.
17260
 
runpath_var=$runpath_var
17261
 
 
17262
 
# This is the shared library path variable.
17263
 
shlibpath_var=$shlibpath_var
17264
 
 
17265
 
# Is shlibpath searched before the hard-coded library search path?
17266
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17267
 
 
17268
 
# How to hardcode a shared library path into an executable.
17269
 
hardcode_action=$hardcode_action_F77
17270
 
 
17271
 
# Whether we should hardcode library paths into libraries.
17272
 
hardcode_into_libs=$hardcode_into_libs
17273
 
 
17274
 
# Flag to hardcode \$libdir into a binary during linking.
17275
 
# This must work even if \$libdir does not exist.
17276
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17277
 
 
17278
 
# If ld is used when linking, flag to hardcode \$libdir into
17279
 
# a binary during linking. This must work even if \$libdir does
17280
 
# not exist.
17281
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17282
 
 
17283
 
# Whether we need a single -rpath flag with a separated argument.
17284
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17285
 
 
17286
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17287
 
# resulting binary.
17288
 
hardcode_direct=$hardcode_direct_F77
17289
 
 
17290
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17291
 
# resulting binary.
17292
 
hardcode_minus_L=$hardcode_minus_L_F77
17293
 
 
17294
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17295
 
# the resulting binary.
17296
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17297
 
 
17298
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
17299
 
# and all subsequent libraries and executables linked against it.
17300
 
hardcode_automatic=$hardcode_automatic_F77
17301
 
 
17302
 
# Variables whose values should be saved in libtool wrapper scripts and
17303
 
# restored at relink time.
17304
 
variables_saved_for_relink="$variables_saved_for_relink"
17305
 
 
17306
 
# Whether libtool must link a program against all its dependency libraries.
17307
 
link_all_deplibs=$link_all_deplibs_F77
17308
 
 
17309
 
# Compile-time system search path for libraries
17310
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17311
 
 
17312
 
# Run-time system search path for libraries
17313
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17314
 
 
17315
 
# Fix the shell variable \$srcfile for the compiler.
17316
 
fix_srcfile_path=$lt_fix_srcfile_path
17317
 
 
17318
 
# Set to yes if exported symbols are required.
17319
 
always_export_symbols=$always_export_symbols_F77
17320
 
 
17321
 
# The commands to list exported symbols.
17322
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
17323
 
 
17324
 
# The commands to extract the exported symbol list from a shared archive.
17325
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17326
 
 
17327
 
# Symbols that should not be listed in the preloaded symbols.
17328
 
exclude_expsyms=$lt_exclude_expsyms_F77
17329
 
 
17330
 
# Symbols that must always be exported.
17331
 
include_expsyms=$lt_include_expsyms_F77
17332
 
 
17333
 
# ### END LIBTOOL TAG CONFIG: $tagname
17334
 
 
17335
 
__EOF__
17336
 
 
17337
 
 
17338
 
else
17339
 
  # If there is no Makefile yet, we rely on a make rule to execute
17340
 
  # `config.status --recheck' to rerun these tests and create the
17341
 
  # libtool script then.
17342
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17343
 
  if test -f "$ltmain_in"; then
17344
 
    test -f Makefile && make "$ltmain"
17345
 
  fi
17346
 
fi
17347
 
 
17348
 
 
17349
 
ac_ext=c
17350
 
ac_cpp='$CPP $CPPFLAGS'
17351
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17352
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17353
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
17354
 
 
17355
 
CC="$lt_save_CC"
17356
 
 
17357
 
        else
17358
 
          tagname=""
17359
 
        fi
17360
 
        ;;
17361
 
 
17362
 
      GCJ)
17363
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17364
 
 
17365
 
 
17366
 
# Source file extension for Java test sources.
17367
 
ac_ext=java
17368
 
 
17369
 
# Object file extension for compiled Java test sources.
17370
 
objext=o
17371
 
objext_GCJ=$objext
17372
 
 
17373
 
# Code to be used in simple compile tests
17374
 
lt_simple_compile_test_code="class foo {}"
17375
 
 
17376
 
# Code to be used in simple link tests
17377
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
17378
 
 
17379
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17380
 
 
17381
 
# If no C compiler was specified, use CC.
17382
 
LTCC=${LTCC-"$CC"}
17383
 
 
17384
 
# If no C compiler flags were specified, use CFLAGS.
17385
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17386
 
 
17387
 
# Allow CC to be a program name with arguments.
17388
 
compiler=$CC
17389
 
 
17390
 
 
17391
 
# save warnings/boilerplate of simple test code
17392
 
ac_outfile=conftest.$ac_objext
17393
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17394
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17395
 
_lt_compiler_boilerplate=`cat conftest.err`
17396
 
$rm conftest*
17397
 
 
17398
 
ac_outfile=conftest.$ac_objext
17399
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
17400
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17401
 
_lt_linker_boilerplate=`cat conftest.err`
17402
 
$rm conftest*
17403
 
 
17404
 
 
17405
 
# Allow CC to be a program name with arguments.
17406
 
lt_save_CC="$CC"
17407
 
CC=${GCJ-"gcj"}
17408
 
compiler=$CC
17409
 
compiler_GCJ=$CC
17410
 
for cc_temp in $compiler""; do
17411
 
  case $cc_temp in
17412
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17413
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17414
 
    \-*) ;;
17415
 
    *) break;;
17416
 
  esac
17417
 
done
17418
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17419
 
 
17420
 
 
17421
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
17422
 
archive_cmds_need_lc_GCJ=no
17423
 
 
17424
 
old_archive_cmds_GCJ=$old_archive_cmds
17425
 
 
17426
 
 
17427
 
lt_prog_compiler_no_builtin_flag_GCJ=
17428
 
 
17429
 
if test "$GCC" = yes; then
17430
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
17431
 
 
17432
 
 
17433
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17434
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
17435
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17436
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17437
 
else
17438
 
  lt_cv_prog_compiler_rtti_exceptions=no
17439
 
  ac_outfile=conftest.$ac_objext
17440
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17441
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
17442
 
   # Insert the option either (1) after the last *FLAGS variable, or
17443
 
   # (2) before a word containing "conftest.", or (3) at the end.
17444
 
   # Note that $ac_compile itself does not contain backslashes and begins
17445
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17446
 
   # The option is referenced via a variable to avoid confusing sed.
17447
 
   lt_compile=`echo "$ac_compile" | $SED \
17448
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17449
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17450
 
   -e 's:$: $lt_compiler_flag:'`
17451
 
   (eval echo "\"\$as_me:17451: $lt_compile\"" >&5)
17452
 
   (eval "$lt_compile" 2>conftest.err)
17453
 
   ac_status=$?
17454
 
   cat conftest.err >&5
17455
 
   echo "$as_me:17455: \$? = $ac_status" >&5
17456
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
17457
 
     # The compiler can only warn and ignore the option if not recognized
17458
 
     # So say no if there are warnings other than the usual output.
17459
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17460
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17461
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17462
 
       lt_cv_prog_compiler_rtti_exceptions=yes
17463
 
     fi
17464
 
   fi
17465
 
   $rm conftest*
17466
 
 
17467
 
fi
17468
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17469
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17470
 
 
17471
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
17472
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17473
 
else
17474
 
    :
17475
 
fi
17476
 
 
17477
 
fi
17478
 
 
17479
 
lt_prog_compiler_wl_GCJ=
17480
 
lt_prog_compiler_pic_GCJ=
17481
 
lt_prog_compiler_static_GCJ=
17482
 
 
17483
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17484
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
17485
 
 
17486
 
  if test "$GCC" = yes; then
17487
 
    lt_prog_compiler_wl_GCJ='-Wl,'
17488
 
    lt_prog_compiler_static_GCJ='-static'
17489
 
 
17490
 
    case $host_os in
17491
 
      aix*)
17492
 
      # All AIX code is PIC.
17493
 
      if test "$host_cpu" = ia64; then
17494
 
        # AIX 5 now supports IA64 processor
17495
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17496
 
      fi
17497
 
      ;;
17498
 
 
17499
 
    amigaos*)
17500
 
      # FIXME: we need at least 68020 code to build shared libraries, but
17501
 
      # adding the `-m68020' flag to GCC prevents building anything better,
17502
 
      # like `-m68040'.
17503
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
17504
 
      ;;
17505
 
 
17506
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17507
 
      # PIC is the default for these OSes.
17508
 
      ;;
17509
 
 
17510
 
    mingw* | cygwin* | pw32* | os2*)
17511
 
      # This hack is so that the source file can tell whether it is being
17512
 
      # built for inclusion in a dll (and should export symbols for example).
17513
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
17514
 
      # (--disable-auto-import) libraries
17515
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
17516
 
      ;;
17517
 
 
17518
 
    darwin* | rhapsody*)
17519
 
      # PIC is the default on this platform
17520
 
      # Common symbols not allowed in MH_DYLIB files
17521
 
      lt_prog_compiler_pic_GCJ='-fno-common'
17522
 
      ;;
17523
 
 
17524
 
    interix[3-9]*)
17525
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17526
 
      # Instead, we relocate shared libraries at runtime.
17527
 
      ;;
17528
 
 
17529
 
    msdosdjgpp*)
17530
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
17531
 
      # on systems that don't support them.
17532
 
      lt_prog_compiler_can_build_shared_GCJ=no
17533
 
      enable_shared=no
17534
 
      ;;
17535
 
 
17536
 
    sysv4*MP*)
17537
 
      if test -d /usr/nec; then
17538
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
17539
 
      fi
17540
 
      ;;
17541
 
 
17542
 
    hpux*)
17543
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17544
 
      # not for PA HP-UX.
17545
 
      case $host_cpu in
17546
 
      hppa*64*|ia64*)
17547
 
        # +Z the default
17548
 
        ;;
17549
 
      *)
17550
 
        lt_prog_compiler_pic_GCJ='-fPIC'
17551
 
        ;;
17552
 
      esac
17553
 
      ;;
17554
 
 
17555
 
    *)
17556
 
      lt_prog_compiler_pic_GCJ='-fPIC'
17557
 
      ;;
17558
 
    esac
17559
 
  else
17560
 
    # PORTME Check for flag to pass linker flags through the system compiler.
17561
 
    case $host_os in
17562
 
    aix*)
17563
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17564
 
      if test "$host_cpu" = ia64; then
17565
 
        # AIX 5 now supports IA64 processor
17566
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17567
 
      else
17568
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
17569
 
      fi
17570
 
      ;;
17571
 
      darwin*)
17572
 
        # PIC is the default on this platform
17573
 
        # Common symbols not allowed in MH_DYLIB files
17574
 
       case $cc_basename in
17575
 
         xlc*)
17576
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
17577
 
         lt_prog_compiler_wl_GCJ='-Wl,'
17578
 
         ;;
17579
 
       esac
17580
 
       ;;
17581
 
 
17582
 
    mingw* | cygwin* | pw32* | os2*)
17583
 
      # This hack is so that the source file can tell whether it is being
17584
 
      # built for inclusion in a dll (and should export symbols for example).
17585
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
17586
 
      ;;
17587
 
 
17588
 
    hpux9* | hpux10* | hpux11*)
17589
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17590
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17591
 
      # not for PA HP-UX.
17592
 
      case $host_cpu in
17593
 
      hppa*64*|ia64*)
17594
 
        # +Z the default
17595
 
        ;;
17596
 
      *)
17597
 
        lt_prog_compiler_pic_GCJ='+Z'
17598
 
        ;;
17599
 
      esac
17600
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
17601
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
17602
 
      ;;
17603
 
 
17604
 
    irix5* | irix6* | nonstopux*)
17605
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17606
 
      # PIC (with -KPIC) is the default.
17607
 
      lt_prog_compiler_static_GCJ='-non_shared'
17608
 
      ;;
17609
 
 
17610
 
    newsos6)
17611
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17612
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17613
 
      ;;
17614
 
 
17615
 
    linux* | k*bsd*-gnu)
17616
 
      case $cc_basename in
17617
 
      icc* | ecc*)
17618
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17619
 
        lt_prog_compiler_pic_GCJ='-KPIC'
17620
 
        lt_prog_compiler_static_GCJ='-static'
17621
 
        ;;
17622
 
      pgcc* | pgf77* | pgf90* | pgf95*)
17623
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
17624
 
        # which looks to be a dead project)
17625
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17626
 
        lt_prog_compiler_pic_GCJ='-fpic'
17627
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17628
 
        ;;
17629
 
      ccc*)
17630
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17631
 
        # All Alpha code is PIC.
17632
 
        lt_prog_compiler_static_GCJ='-non_shared'
17633
 
        ;;
17634
 
      *)
17635
 
        case `$CC -V 2>&1 | sed 5q` in
17636
 
        *Sun\ C*)
17637
 
          # Sun C 5.9
17638
 
          lt_prog_compiler_pic_GCJ='-KPIC'
17639
 
          lt_prog_compiler_static_GCJ='-Bstatic'
17640
 
          lt_prog_compiler_wl_GCJ='-Wl,'
17641
 
          ;;
17642
 
        *Sun\ F*)
17643
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
17644
 
          lt_prog_compiler_pic_GCJ='-KPIC'
17645
 
          lt_prog_compiler_static_GCJ='-Bstatic'
17646
 
          lt_prog_compiler_wl_GCJ=''
17647
 
          ;;
17648
 
        esac
17649
 
        ;;
17650
 
      esac
17651
 
      ;;
17652
 
 
17653
 
    osf3* | osf4* | osf5*)
17654
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17655
 
      # All OSF/1 code is PIC.
17656
 
      lt_prog_compiler_static_GCJ='-non_shared'
17657
 
      ;;
17658
 
 
17659
 
    rdos*)
17660
 
      lt_prog_compiler_static_GCJ='-non_shared'
17661
 
      ;;
17662
 
 
17663
 
    solaris*)
17664
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17665
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17666
 
      case $cc_basename in
17667
 
      f77* | f90* | f95*)
17668
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
17669
 
      *)
17670
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
17671
 
      esac
17672
 
      ;;
17673
 
 
17674
 
    sunos4*)
17675
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
17676
 
      lt_prog_compiler_pic_GCJ='-PIC'
17677
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17678
 
      ;;
17679
 
 
17680
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
17681
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17682
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17683
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17684
 
      ;;
17685
 
 
17686
 
    sysv4*MP*)
17687
 
      if test -d /usr/nec ;then
17688
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
17689
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17690
 
      fi
17691
 
      ;;
17692
 
 
17693
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17694
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17695
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17696
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17697
 
      ;;
17698
 
 
17699
 
    unicos*)
17700
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17701
 
      lt_prog_compiler_can_build_shared_GCJ=no
17702
 
      ;;
17703
 
 
17704
 
    uts4*)
17705
 
      lt_prog_compiler_pic_GCJ='-pic'
17706
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17707
 
      ;;
17708
 
 
17709
 
    *)
17710
 
      lt_prog_compiler_can_build_shared_GCJ=no
17711
 
      ;;
17712
 
    esac
17713
 
  fi
17714
 
 
17715
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17716
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
17717
 
 
17718
 
#
17719
 
# Check to make sure the PIC flag actually works.
17720
 
#
17721
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
17722
 
 
17723
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17724
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17725
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
17726
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17727
 
else
17728
 
  lt_prog_compiler_pic_works_GCJ=no
17729
 
  ac_outfile=conftest.$ac_objext
17730
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17731
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
17732
 
   # Insert the option either (1) after the last *FLAGS variable, or
17733
 
   # (2) before a word containing "conftest.", or (3) at the end.
17734
 
   # Note that $ac_compile itself does not contain backslashes and begins
17735
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17736
 
   # The option is referenced via a variable to avoid confusing sed.
17737
 
   lt_compile=`echo "$ac_compile" | $SED \
17738
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17739
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17740
 
   -e 's:$: $lt_compiler_flag:'`
17741
 
   (eval echo "\"\$as_me:17741: $lt_compile\"" >&5)
17742
 
   (eval "$lt_compile" 2>conftest.err)
17743
 
   ac_status=$?
17744
 
   cat conftest.err >&5
17745
 
   echo "$as_me:17745: \$? = $ac_status" >&5
17746
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
17747
 
     # The compiler can only warn and ignore the option if not recognized
17748
 
     # So say no if there are warnings other than the usual output.
17749
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17750
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17751
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17752
 
       lt_prog_compiler_pic_works_GCJ=yes
17753
 
     fi
17754
 
   fi
17755
 
   $rm conftest*
17756
 
 
17757
 
fi
17758
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
17759
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
17760
 
 
17761
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
17762
 
    case $lt_prog_compiler_pic_GCJ in
17763
 
     "" | " "*) ;;
17764
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
17765
 
     esac
17766
 
else
17767
 
    lt_prog_compiler_pic_GCJ=
17768
 
     lt_prog_compiler_can_build_shared_GCJ=no
17769
 
fi
17770
 
 
17771
 
fi
17772
 
case $host_os in
17773
 
  # For platforms which do not support PIC, -DPIC is meaningless:
17774
 
  *djgpp*)
17775
 
    lt_prog_compiler_pic_GCJ=
17776
 
    ;;
17777
 
  *)
17778
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
17779
 
    ;;
17780
 
esac
17781
 
 
17782
 
#
17783
 
# Check to make sure the static flag actually works.
17784
 
#
17785
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
17786
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17787
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17788
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
17789
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17790
 
else
17791
 
  lt_prog_compiler_static_works_GCJ=no
17792
 
   save_LDFLAGS="$LDFLAGS"
17793
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17794
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
17795
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17796
 
     # The linker can only warn and ignore the option if not recognized
17797
 
     # So say no if there are warnings
17798
 
     if test -s conftest.err; then
17799
 
       # Append any errors to the config.log.
17800
 
       cat conftest.err 1>&5
17801
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17802
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17803
 
       if diff conftest.exp conftest.er2 >/dev/null; then
17804
 
         lt_prog_compiler_static_works_GCJ=yes
17805
 
       fi
17806
 
     else
17807
 
       lt_prog_compiler_static_works_GCJ=yes
17808
 
     fi
17809
 
   fi
17810
 
   $rm conftest*
17811
 
   LDFLAGS="$save_LDFLAGS"
17812
 
 
17813
 
fi
17814
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
17815
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
17816
 
 
17817
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
17818
 
    :
17819
 
else
17820
 
    lt_prog_compiler_static_GCJ=
17821
 
fi
17822
 
 
17823
 
 
17824
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17825
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17826
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17827
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17828
 
else
17829
 
  lt_cv_prog_compiler_c_o_GCJ=no
17830
 
   $rm -r conftest 2>/dev/null
17831
 
   mkdir conftest
17832
 
   cd conftest
17833
 
   mkdir out
17834
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17835
 
 
17836
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
17837
 
   # Insert the option either (1) after the last *FLAGS variable, or
17838
 
   # (2) before a word containing "conftest.", or (3) at the end.
17839
 
   # Note that $ac_compile itself does not contain backslashes and begins
17840
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17841
 
   lt_compile=`echo "$ac_compile" | $SED \
17842
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17843
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17844
 
   -e 's:$: $lt_compiler_flag:'`
17845
 
   (eval echo "\"\$as_me:17845: $lt_compile\"" >&5)
17846
 
   (eval "$lt_compile" 2>out/conftest.err)
17847
 
   ac_status=$?
17848
 
   cat out/conftest.err >&5
17849
 
   echo "$as_me:17849: \$? = $ac_status" >&5
17850
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17851
 
   then
17852
 
     # The compiler can only warn and ignore the option if not recognized
17853
 
     # So say no if there are warnings
17854
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17855
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17856
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17857
 
       lt_cv_prog_compiler_c_o_GCJ=yes
17858
 
     fi
17859
 
   fi
17860
 
   chmod u+w . 2>&5
17861
 
   $rm conftest*
17862
 
   # SGI C++ compiler will create directory out/ii_files/ for
17863
 
   # template instantiation
17864
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17865
 
   $rm out/* && rmdir out
17866
 
   cd ..
17867
 
   rmdir conftest
17868
 
   $rm conftest*
17869
 
 
17870
 
fi
17871
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17872
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17873
 
 
17874
 
 
17875
 
hard_links="nottested"
17876
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
17877
 
  # do not overwrite the value of need_locks provided by the user
17878
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17879
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17880
 
  hard_links=yes
17881
 
  $rm conftest*
17882
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17883
 
  touch conftest.a
17884
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
17885
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17886
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
17887
 
echo "${ECHO_T}$hard_links" >&6; }
17888
 
  if test "$hard_links" = no; then
17889
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17890
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17891
 
    need_locks=warn
17892
 
  fi
17893
 
else
17894
 
  need_locks=no
17895
 
fi
17896
 
 
17897
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17898
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17899
 
 
17900
 
  runpath_var=
17901
 
  allow_undefined_flag_GCJ=
17902
 
  enable_shared_with_static_runtimes_GCJ=no
17903
 
  archive_cmds_GCJ=
17904
 
  archive_expsym_cmds_GCJ=
17905
 
  old_archive_From_new_cmds_GCJ=
17906
 
  old_archive_from_expsyms_cmds_GCJ=
17907
 
  export_dynamic_flag_spec_GCJ=
17908
 
  whole_archive_flag_spec_GCJ=
17909
 
  thread_safe_flag_spec_GCJ=
17910
 
  hardcode_libdir_flag_spec_GCJ=
17911
 
  hardcode_libdir_flag_spec_ld_GCJ=
17912
 
  hardcode_libdir_separator_GCJ=
17913
 
  hardcode_direct_GCJ=no
17914
 
  hardcode_minus_L_GCJ=no
17915
 
  hardcode_shlibpath_var_GCJ=unsupported
17916
 
  link_all_deplibs_GCJ=unknown
17917
 
  hardcode_automatic_GCJ=no
17918
 
  module_cmds_GCJ=
17919
 
  module_expsym_cmds_GCJ=
17920
 
  always_export_symbols_GCJ=no
17921
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17922
 
  # include_expsyms should be a list of space-separated symbols to be *always*
17923
 
  # included in the symbol list
17924
 
  include_expsyms_GCJ=
17925
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
17926
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
17927
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17928
 
  # as well as any symbol that contains `d'.
17929
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
17930
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17931
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
17932
 
  # the symbol is explicitly referenced.  Since portable code cannot
17933
 
  # rely on this symbol name, it's probably fine to never include it in
17934
 
  # preloaded symbol tables.
17935
 
  extract_expsyms_cmds=
17936
 
  # Just being paranoid about ensuring that cc_basename is set.
17937
 
  for cc_temp in $compiler""; do
17938
 
  case $cc_temp in
17939
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17940
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17941
 
    \-*) ;;
17942
 
    *) break;;
17943
 
  esac
17944
 
done
17945
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17946
 
 
17947
 
  case $host_os in
17948
 
  cygwin* | mingw* | pw32*)
17949
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
17950
 
    # When not using gcc, we currently assume that we are using
17951
 
    # Microsoft Visual C++.
17952
 
    if test "$GCC" != yes; then
17953
 
      with_gnu_ld=no
17954
 
    fi
17955
 
    ;;
17956
 
  interix*)
17957
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
17958
 
    with_gnu_ld=yes
17959
 
    ;;
17960
 
  openbsd*)
17961
 
    with_gnu_ld=no
17962
 
    ;;
17963
 
  esac
17964
 
 
17965
 
  ld_shlibs_GCJ=yes
17966
 
  if test "$with_gnu_ld" = yes; then
17967
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
17968
 
    wlarc='${wl}'
17969
 
 
17970
 
    # Set some defaults for GNU ld with shared library support. These
17971
 
    # are reset later if shared libraries are not supported. Putting them
17972
 
    # here allows them to be overridden if necessary.
17973
 
    runpath_var=LD_RUN_PATH
17974
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
17975
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
17976
 
    # ancient GNU ld didn't support --whole-archive et. al.
17977
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17978
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17979
 
      else
17980
 
        whole_archive_flag_spec_GCJ=
17981
 
    fi
17982
 
    supports_anon_versioning=no
17983
 
    case `$LD -v 2>/dev/null` in
17984
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17985
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17986
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17987
 
      *\ 2.11.*) ;; # other 2.11 versions
17988
 
      *) supports_anon_versioning=yes ;;
17989
 
    esac
17990
 
 
17991
 
    # See if GNU ld supports shared libraries.
17992
 
    case $host_os in
17993
 
    aix3* | aix4* | aix5*)
17994
 
      # On AIX/PPC, the GNU linker is very broken
17995
 
      if test "$host_cpu" != ia64; then
17996
 
        ld_shlibs_GCJ=no
17997
 
        cat <<EOF 1>&2
17998
 
 
17999
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
18000
 
*** to be unable to reliably create shared libraries on AIX.
18001
 
*** Therefore, libtool is disabling shared libraries support.  If you
18002
 
*** really care for shared libraries, you may want to modify your PATH
18003
 
*** so that a non-GNU linker is found, and then restart.
18004
 
 
18005
 
EOF
18006
 
      fi
18007
 
      ;;
18008
 
 
18009
 
    amigaos*)
18010
 
      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)'
18011
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18012
 
      hardcode_minus_L_GCJ=yes
18013
 
 
18014
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
18015
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
18016
 
      # to version 4, is to share data among multiple programs linked
18017
 
      # with the same dynamic library.  Since this doesn't match the
18018
 
      # behavior of shared libraries on other platforms, we can't use
18019
 
      # them.
18020
 
      ld_shlibs_GCJ=no
18021
 
      ;;
18022
 
 
18023
 
    beos*)
18024
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18025
 
        allow_undefined_flag_GCJ=unsupported
18026
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18027
 
        # support --undefined.  This deserves some investigation.  FIXME
18028
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18029
 
      else
18030
 
        ld_shlibs_GCJ=no
18031
 
      fi
18032
 
      ;;
18033
 
 
18034
 
    cygwin* | mingw* | pw32*)
18035
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
18036
 
      # as there is no search path for DLLs.
18037
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18038
 
      allow_undefined_flag_GCJ=unsupported
18039
 
      always_export_symbols_GCJ=no
18040
 
      enable_shared_with_static_runtimes_GCJ=yes
18041
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18042
 
 
18043
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18044
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18045
 
        # If the export-symbols file already is a .def file (1st line
18046
 
        # is EXPORTS), use it as is; otherwise, prepend...
18047
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18048
 
          cp $export_symbols $output_objdir/$soname.def;
18049
 
        else
18050
 
          echo EXPORTS > $output_objdir/$soname.def;
18051
 
          cat $export_symbols >> $output_objdir/$soname.def;
18052
 
        fi~
18053
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18054
 
      else
18055
 
        ld_shlibs_GCJ=no
18056
 
      fi
18057
 
      ;;
18058
 
 
18059
 
    interix[3-9]*)
18060
 
      hardcode_direct_GCJ=no
18061
 
      hardcode_shlibpath_var_GCJ=no
18062
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18063
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
18064
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18065
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
18066
 
      # default) and relocated if they conflict, which is a slow very memory
18067
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
18068
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18069
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
18070
 
      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'
18071
 
      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'
18072
 
      ;;
18073
 
 
18074
 
    gnu* | linux* | k*bsd*-gnu)
18075
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18076
 
        tmp_addflag=
18077
 
        case $cc_basename,$host_cpu in
18078
 
        pgcc*)                          # Portland Group C compiler
18079
 
          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'
18080
 
          tmp_addflag=' $pic_flag'
18081
 
          ;;
18082
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
18083
 
          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'
18084
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
18085
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
18086
 
          tmp_addflag=' -i_dynamic' ;;
18087
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
18088
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
18089
 
        ifc* | ifort*)                  # Intel Fortran compiler
18090
 
          tmp_addflag=' -nofor_main' ;;
18091
 
        esac
18092
 
        case `$CC -V 2>&1 | sed 5q` in
18093
 
        *Sun\ C*)                       # Sun C 5.9
18094
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
18095
 
          tmp_sharedflag='-G' ;;
18096
 
        *Sun\ F*)                       # Sun Fortran 8.3
18097
 
          tmp_sharedflag='-G' ;;
18098
 
        *)
18099
 
          tmp_sharedflag='-shared' ;;
18100
 
        esac
18101
 
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18102
 
 
18103
 
        if test $supports_anon_versioning = yes; then
18104
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
18105
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18106
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
18107
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18108
 
        fi
18109
 
        link_all_deplibs_GCJ=no
18110
 
      else
18111
 
        ld_shlibs_GCJ=no
18112
 
      fi
18113
 
      ;;
18114
 
 
18115
 
    netbsd* | netbsdelf*-gnu)
18116
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18117
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18118
 
        wlarc=
18119
 
      else
18120
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18121
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18122
 
      fi
18123
 
      ;;
18124
 
 
18125
 
    solaris*)
18126
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
18127
 
        ld_shlibs_GCJ=no
18128
 
        cat <<EOF 1>&2
18129
 
 
18130
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
18131
 
*** create shared libraries on Solaris systems.  Therefore, libtool
18132
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
18133
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
18134
 
*** your PATH or compiler configuration so that the native linker is
18135
 
*** used, and then restart.
18136
 
 
18137
 
EOF
18138
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18139
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18140
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18141
 
      else
18142
 
        ld_shlibs_GCJ=no
18143
 
      fi
18144
 
      ;;
18145
 
 
18146
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
18147
 
      case `$LD -v 2>&1` in
18148
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
18149
 
        ld_shlibs_GCJ=no
18150
 
        cat <<_LT_EOF 1>&2
18151
 
 
18152
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18153
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
18154
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
18155
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
18156
 
*** your PATH or compiler configuration so that the native linker is
18157
 
*** used, and then restart.
18158
 
 
18159
 
_LT_EOF
18160
 
        ;;
18161
 
        *)
18162
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18163
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
18164
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
18165
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
18166
 
          else
18167
 
            ld_shlibs_GCJ=no
18168
 
          fi
18169
 
        ;;
18170
 
      esac
18171
 
      ;;
18172
 
 
18173
 
    sunos4*)
18174
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18175
 
      wlarc=
18176
 
      hardcode_direct_GCJ=yes
18177
 
      hardcode_shlibpath_var_GCJ=no
18178
 
      ;;
18179
 
 
18180
 
    *)
18181
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18182
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18183
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18184
 
      else
18185
 
        ld_shlibs_GCJ=no
18186
 
      fi
18187
 
      ;;
18188
 
    esac
18189
 
 
18190
 
    if test "$ld_shlibs_GCJ" = no; then
18191
 
      runpath_var=
18192
 
      hardcode_libdir_flag_spec_GCJ=
18193
 
      export_dynamic_flag_spec_GCJ=
18194
 
      whole_archive_flag_spec_GCJ=
18195
 
    fi
18196
 
  else
18197
 
    # PORTME fill in a description of your system's linker (not GNU ld)
18198
 
    case $host_os in
18199
 
    aix3*)
18200
 
      allow_undefined_flag_GCJ=unsupported
18201
 
      always_export_symbols_GCJ=yes
18202
 
      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'
18203
 
      # Note: this linker hardcodes the directories in LIBPATH if there
18204
 
      # are no directories specified by -L.
18205
 
      hardcode_minus_L_GCJ=yes
18206
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18207
 
        # Neither direct hardcoding nor static linking is supported with a
18208
 
        # broken collect2.
18209
 
        hardcode_direct_GCJ=unsupported
18210
 
      fi
18211
 
      ;;
18212
 
 
18213
 
    aix4* | aix5*)
18214
 
      if test "$host_cpu" = ia64; then
18215
 
        # On IA64, the linker does run time linking by default, so we don't
18216
 
        # have to do anything special.
18217
 
        aix_use_runtimelinking=no
18218
 
        exp_sym_flag='-Bexport'
18219
 
        no_entry_flag=""
18220
 
      else
18221
 
        # If we're using GNU nm, then we don't want the "-C" option.
18222
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
18223
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
18224
 
          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'
18225
 
        else
18226
 
          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'
18227
 
        fi
18228
 
        aix_use_runtimelinking=no
18229
 
 
18230
 
        # Test if we are trying to use run time linking or normal
18231
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18232
 
        # need to do runtime linking.
18233
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18234
 
          for ld_flag in $LDFLAGS; do
18235
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18236
 
            aix_use_runtimelinking=yes
18237
 
            break
18238
 
          fi
18239
 
          done
18240
 
          ;;
18241
 
        esac
18242
 
 
18243
 
        exp_sym_flag='-bexport'
18244
 
        no_entry_flag='-bnoentry'
18245
 
      fi
18246
 
 
18247
 
      # When large executables or shared objects are built, AIX ld can
18248
 
      # have problems creating the table of contents.  If linking a library
18249
 
      # or program results in "error TOC overflow" add -mminimal-toc to
18250
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
18251
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18252
 
 
18253
 
      archive_cmds_GCJ=''
18254
 
      hardcode_direct_GCJ=yes
18255
 
      hardcode_libdir_separator_GCJ=':'
18256
 
      link_all_deplibs_GCJ=yes
18257
 
 
18258
 
      if test "$GCC" = yes; then
18259
 
        case $host_os in aix4.[012]|aix4.[012].*)
18260
 
        # We only want to do this on AIX 4.2 and lower, the check
18261
 
        # below for broken collect2 doesn't work under 4.3+
18262
 
          collect2name=`${CC} -print-prog-name=collect2`
18263
 
          if test -f "$collect2name" && \
18264
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
18265
 
          then
18266
 
          # We have reworked collect2
18267
 
          :
18268
 
          else
18269
 
          # We have old collect2
18270
 
          hardcode_direct_GCJ=unsupported
18271
 
          # It fails to find uninstalled libraries when the uninstalled
18272
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
18273
 
          # to unsupported forces relinking
18274
 
          hardcode_minus_L_GCJ=yes
18275
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
18276
 
          hardcode_libdir_separator_GCJ=
18277
 
          fi
18278
 
          ;;
18279
 
        esac
18280
 
        shared_flag='-shared'
18281
 
        if test "$aix_use_runtimelinking" = yes; then
18282
 
          shared_flag="$shared_flag "'${wl}-G'
18283
 
        fi
18284
 
      else
18285
 
        # not using gcc
18286
 
        if test "$host_cpu" = ia64; then
18287
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18288
 
        # chokes on -Wl,-G. The following line is correct:
18289
 
          shared_flag='-G'
18290
 
        else
18291
 
          if test "$aix_use_runtimelinking" = yes; then
18292
 
            shared_flag='${wl}-G'
18293
 
          else
18294
 
            shared_flag='${wl}-bM:SRE'
18295
 
          fi
18296
 
        fi
18297
 
      fi
18298
 
 
18299
 
      # It seems that -bexpall does not export symbols beginning with
18300
 
      # underscore (_), so it is better to generate a list of symbols to export.
18301
 
      always_export_symbols_GCJ=yes
18302
 
      if test "$aix_use_runtimelinking" = yes; then
18303
 
        # Warning - without using the other runtime loading flags (-brtl),
18304
 
        # -berok will link without error, but may produce a broken library.
18305
 
        allow_undefined_flag_GCJ='-berok'
18306
 
       # Determine the default libpath from the value encoded in an empty executable.
18307
 
       cat >conftest.$ac_ext <<_ACEOF
18308
 
/* confdefs.h.  */
18309
 
_ACEOF
18310
 
cat confdefs.h >>conftest.$ac_ext
18311
 
cat >>conftest.$ac_ext <<_ACEOF
18312
 
/* end confdefs.h.  */
18313
 
 
18314
 
int
18315
 
main ()
18316
 
{
18317
 
 
18318
 
  ;
18319
 
  return 0;
18320
 
}
18321
 
_ACEOF
18322
 
rm -f conftest.$ac_objext conftest$ac_exeext
18323
 
if { (ac_try="$ac_link"
18324
 
case "(($ac_try" in
18325
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18326
 
  *) ac_try_echo=$ac_try;;
18327
 
esac
18328
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18329
 
  (eval "$ac_link") 2>conftest.er1
18330
 
  ac_status=$?
18331
 
  grep -v '^ *+' conftest.er1 >conftest.err
18332
 
  rm -f conftest.er1
18333
 
  cat conftest.err >&5
18334
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18335
 
  (exit $ac_status); } && {
18336
 
         test -z "$ac_c_werror_flag" ||
18337
 
         test ! -s conftest.err
18338
 
       } && test -s conftest$ac_exeext &&
18339
 
       $as_test_x conftest$ac_exeext; then
18340
 
 
18341
 
lt_aix_libpath_sed='
18342
 
    /Import File Strings/,/^$/ {
18343
 
        /^0/ {
18344
 
            s/^0  *\(.*\)$/\1/
18345
 
            p
18346
 
        }
18347
 
    }'
18348
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18349
 
# Check for a 64-bit object if we didn't find anything.
18350
 
if test -z "$aix_libpath"; then
18351
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18352
 
fi
18353
 
else
18354
 
  echo "$as_me: failed program was:" >&5
18355
 
sed 's/^/| /' conftest.$ac_ext >&5
18356
 
 
18357
 
 
18358
 
fi
18359
 
 
18360
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18361
 
      conftest$ac_exeext conftest.$ac_ext
18362
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18363
 
 
18364
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18365
 
        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"
18366
 
       else
18367
 
        if test "$host_cpu" = ia64; then
18368
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18369
 
          allow_undefined_flag_GCJ="-z nodefs"
18370
 
          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"
18371
 
        else
18372
 
         # Determine the default libpath from the value encoded in an empty executable.
18373
 
         cat >conftest.$ac_ext <<_ACEOF
18374
 
/* confdefs.h.  */
18375
 
_ACEOF
18376
 
cat confdefs.h >>conftest.$ac_ext
18377
 
cat >>conftest.$ac_ext <<_ACEOF
18378
 
/* end confdefs.h.  */
18379
 
 
18380
 
int
18381
 
main ()
18382
 
{
18383
 
 
18384
 
  ;
18385
 
  return 0;
18386
 
}
18387
 
_ACEOF
18388
 
rm -f conftest.$ac_objext conftest$ac_exeext
18389
 
if { (ac_try="$ac_link"
18390
 
case "(($ac_try" in
18391
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18392
 
  *) ac_try_echo=$ac_try;;
18393
 
esac
18394
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18395
 
  (eval "$ac_link") 2>conftest.er1
18396
 
  ac_status=$?
18397
 
  grep -v '^ *+' conftest.er1 >conftest.err
18398
 
  rm -f conftest.er1
18399
 
  cat conftest.err >&5
18400
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401
 
  (exit $ac_status); } && {
18402
 
         test -z "$ac_c_werror_flag" ||
18403
 
         test ! -s conftest.err
18404
 
       } && test -s conftest$ac_exeext &&
18405
 
       $as_test_x conftest$ac_exeext; then
18406
 
 
18407
 
lt_aix_libpath_sed='
18408
 
    /Import File Strings/,/^$/ {
18409
 
        /^0/ {
18410
 
            s/^0  *\(.*\)$/\1/
18411
 
            p
18412
 
        }
18413
 
    }'
18414
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18415
 
# Check for a 64-bit object if we didn't find anything.
18416
 
if test -z "$aix_libpath"; then
18417
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18418
 
fi
18419
 
else
18420
 
  echo "$as_me: failed program was:" >&5
18421
 
sed 's/^/| /' conftest.$ac_ext >&5
18422
 
 
18423
 
 
18424
 
fi
18425
 
 
18426
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18427
 
      conftest$ac_exeext conftest.$ac_ext
18428
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18429
 
 
18430
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18431
 
          # Warning - without using the other run time loading flags,
18432
 
          # -berok will link without error, but may produce a broken library.
18433
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
18434
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
18435
 
          # Exported symbols can be pulled into shared objects from archives
18436
 
          whole_archive_flag_spec_GCJ='$convenience'
18437
 
          archive_cmds_need_lc_GCJ=yes
18438
 
          # This is similar to how AIX traditionally builds its shared libraries.
18439
 
          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'
18440
 
        fi
18441
 
      fi
18442
 
      ;;
18443
 
 
18444
 
    amigaos*)
18445
 
      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)'
18446
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18447
 
      hardcode_minus_L_GCJ=yes
18448
 
      # see comment about different semantics on the GNU ld section
18449
 
      ld_shlibs_GCJ=no
18450
 
      ;;
18451
 
 
18452
 
    bsdi[45]*)
18453
 
      export_dynamic_flag_spec_GCJ=-rdynamic
18454
 
      ;;
18455
 
 
18456
 
    cygwin* | mingw* | pw32*)
18457
 
      # When not using gcc, we currently assume that we are using
18458
 
      # Microsoft Visual C++.
18459
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
18460
 
      # no search path for DLLs.
18461
 
      hardcode_libdir_flag_spec_GCJ=' '
18462
 
      allow_undefined_flag_GCJ=unsupported
18463
 
      # Tell ltmain to make .lib files, not .a files.
18464
 
      libext=lib
18465
 
      # Tell ltmain to make .dll files, not .so files.
18466
 
      shrext_cmds=".dll"
18467
 
      # FIXME: Setting linknames here is a bad hack.
18468
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18469
 
      # The linker will automatically build a .lib file if we build a DLL.
18470
 
      old_archive_From_new_cmds_GCJ='true'
18471
 
      # FIXME: Should let the user specify the lib program.
18472
 
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
18473
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
18474
 
      enable_shared_with_static_runtimes_GCJ=yes
18475
 
      ;;
18476
 
 
18477
 
    darwin* | rhapsody*)
18478
 
      case $host_os in
18479
 
        rhapsody* | darwin1.[012])
18480
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
18481
 
         ;;
18482
 
       *) # Darwin 1.3 on
18483
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18484
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18485
 
         else
18486
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
18487
 
             10.[012])
18488
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18489
 
               ;;
18490
 
             10.*)
18491
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
18492
 
               ;;
18493
 
           esac
18494
 
         fi
18495
 
         ;;
18496
 
      esac
18497
 
      archive_cmds_need_lc_GCJ=no
18498
 
      hardcode_direct_GCJ=no
18499
 
      hardcode_automatic_GCJ=yes
18500
 
      hardcode_shlibpath_var_GCJ=unsupported
18501
 
      whole_archive_flag_spec_GCJ=''
18502
 
      link_all_deplibs_GCJ=yes
18503
 
    if test "$GCC" = yes ; then
18504
 
        output_verbose_link_cmd='echo'
18505
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18506
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18507
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18508
 
      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}'
18509
 
      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}'
18510
 
    else
18511
 
      case $cc_basename in
18512
 
        xlc*)
18513
 
         output_verbose_link_cmd='echo'
18514
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18515
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18516
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18517
 
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18518
 
          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}'
18519
 
          ;;
18520
 
       *)
18521
 
         ld_shlibs_GCJ=no
18522
 
          ;;
18523
 
      esac
18524
 
    fi
18525
 
      ;;
18526
 
 
18527
 
    dgux*)
18528
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18529
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18530
 
      hardcode_shlibpath_var_GCJ=no
18531
 
      ;;
18532
 
 
18533
 
    freebsd1*)
18534
 
      ld_shlibs_GCJ=no
18535
 
      ;;
18536
 
 
18537
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18538
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
18539
 
    # does not break anything, and helps significantly (at the cost of a little
18540
 
    # extra space).
18541
 
    freebsd2.2*)
18542
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18543
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18544
 
      hardcode_direct_GCJ=yes
18545
 
      hardcode_shlibpath_var_GCJ=no
18546
 
      ;;
18547
 
 
18548
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18549
 
    freebsd2*)
18550
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18551
 
      hardcode_direct_GCJ=yes
18552
 
      hardcode_minus_L_GCJ=yes
18553
 
      hardcode_shlibpath_var_GCJ=no
18554
 
      ;;
18555
 
 
18556
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18557
 
    freebsd* | dragonfly*)
18558
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18559
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18560
 
      hardcode_direct_GCJ=yes
18561
 
      hardcode_shlibpath_var_GCJ=no
18562
 
      ;;
18563
 
 
18564
 
    hpux9*)
18565
 
      if test "$GCC" = yes; then
18566
 
        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'
18567
 
      else
18568
 
        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'
18569
 
      fi
18570
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18571
 
      hardcode_libdir_separator_GCJ=:
18572
 
      hardcode_direct_GCJ=yes
18573
 
 
18574
 
      # hardcode_minus_L: Not really in the search PATH,
18575
 
      # but as the default location of the library.
18576
 
      hardcode_minus_L_GCJ=yes
18577
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
18578
 
      ;;
18579
 
 
18580
 
    hpux10*)
18581
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18582
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18583
 
      else
18584
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18585
 
      fi
18586
 
      if test "$with_gnu_ld" = no; then
18587
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18588
 
        hardcode_libdir_separator_GCJ=:
18589
 
 
18590
 
        hardcode_direct_GCJ=yes
18591
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
18592
 
 
18593
 
        # hardcode_minus_L: Not really in the search PATH,
18594
 
        # but as the default location of the library.
18595
 
        hardcode_minus_L_GCJ=yes
18596
 
      fi
18597
 
      ;;
18598
 
 
18599
 
    hpux11*)
18600
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18601
 
        case $host_cpu in
18602
 
        hppa*64*)
18603
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18604
 
          ;;
18605
 
        ia64*)
18606
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18607
 
          ;;
18608
 
        *)
18609
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18610
 
          ;;
18611
 
        esac
18612
 
      else
18613
 
        case $host_cpu in
18614
 
        hppa*64*)
18615
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18616
 
          ;;
18617
 
        ia64*)
18618
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18619
 
          ;;
18620
 
        *)
18621
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18622
 
          ;;
18623
 
        esac
18624
 
      fi
18625
 
      if test "$with_gnu_ld" = no; then
18626
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18627
 
        hardcode_libdir_separator_GCJ=:
18628
 
 
18629
 
        case $host_cpu in
18630
 
        hppa*64*|ia64*)
18631
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
18632
 
          hardcode_direct_GCJ=no
18633
 
          hardcode_shlibpath_var_GCJ=no
18634
 
          ;;
18635
 
        *)
18636
 
          hardcode_direct_GCJ=yes
18637
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
18638
 
 
18639
 
          # hardcode_minus_L: Not really in the search PATH,
18640
 
          # but as the default location of the library.
18641
 
          hardcode_minus_L_GCJ=yes
18642
 
          ;;
18643
 
        esac
18644
 
      fi
18645
 
      ;;
18646
 
 
18647
 
    irix5* | irix6* | nonstopux*)
18648
 
      if test "$GCC" = yes; then
18649
 
        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'
18650
 
      else
18651
 
        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'
18652
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
18653
 
      fi
18654
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18655
 
      hardcode_libdir_separator_GCJ=:
18656
 
      link_all_deplibs_GCJ=yes
18657
 
      ;;
18658
 
 
18659
 
    netbsd* | netbsdelf*-gnu)
18660
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18661
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
18662
 
      else
18663
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
18664
 
      fi
18665
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18666
 
      hardcode_direct_GCJ=yes
18667
 
      hardcode_shlibpath_var_GCJ=no
18668
 
      ;;
18669
 
 
18670
 
    newsos6)
18671
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18672
 
      hardcode_direct_GCJ=yes
18673
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18674
 
      hardcode_libdir_separator_GCJ=:
18675
 
      hardcode_shlibpath_var_GCJ=no
18676
 
      ;;
18677
 
 
18678
 
    openbsd*)
18679
 
      if test -f /usr/libexec/ld.so; then
18680
 
        hardcode_direct_GCJ=yes
18681
 
        hardcode_shlibpath_var_GCJ=no
18682
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18683
 
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18684
 
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18685
 
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18686
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
18687
 
        else
18688
 
          case $host_os in
18689
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18690
 
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18691
 
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
18692
 
             ;;
18693
 
           *)
18694
 
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18695
 
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18696
 
             ;;
18697
 
          esac
18698
 
        fi
18699
 
      else
18700
 
        ld_shlibs_GCJ=no
18701
 
      fi
18702
 
      ;;
18703
 
 
18704
 
    os2*)
18705
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18706
 
      hardcode_minus_L_GCJ=yes
18707
 
      allow_undefined_flag_GCJ=unsupported
18708
 
      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'
18709
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18710
 
      ;;
18711
 
 
18712
 
    osf3*)
18713
 
      if test "$GCC" = yes; then
18714
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18715
 
        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'
18716
 
      else
18717
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
18718
 
        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'
18719
 
      fi
18720
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18721
 
      hardcode_libdir_separator_GCJ=:
18722
 
      ;;
18723
 
 
18724
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
18725
 
      if test "$GCC" = yes; then
18726
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18727
 
        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'
18728
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18729
 
      else
18730
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
18731
 
        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'
18732
 
        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~
18733
 
        $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'
18734
 
 
18735
 
        # Both c and cxx compiler support -rpath directly
18736
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
18737
 
      fi
18738
 
      hardcode_libdir_separator_GCJ=:
18739
 
      ;;
18740
 
 
18741
 
    solaris*)
18742
 
      no_undefined_flag_GCJ=' -z text'
18743
 
      if test "$GCC" = yes; then
18744
 
        wlarc='${wl}'
18745
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18746
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18747
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18748
 
      else
18749
 
        wlarc=''
18750
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18751
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18752
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18753
 
      fi
18754
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18755
 
      hardcode_shlibpath_var_GCJ=no
18756
 
      case $host_os in
18757
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
18758
 
      *)
18759
 
        # The compiler driver will combine and reorder linker options,
18760
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
18761
 
        # but is careful enough not to reorder.
18762
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
18763
 
        if test "$GCC" = yes; then
18764
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18765
 
        else
18766
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
18767
 
        fi
18768
 
        ;;
18769
 
      esac
18770
 
      link_all_deplibs_GCJ=yes
18771
 
      ;;
18772
 
 
18773
 
    sunos4*)
18774
 
      if test "x$host_vendor" = xsequent; then
18775
 
        # Use $CC to link under sequent, because it throws in some extra .o
18776
 
        # files that make .init and .fini sections work.
18777
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18778
 
      else
18779
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18780
 
      fi
18781
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18782
 
      hardcode_direct_GCJ=yes
18783
 
      hardcode_minus_L_GCJ=yes
18784
 
      hardcode_shlibpath_var_GCJ=no
18785
 
      ;;
18786
 
 
18787
 
    sysv4)
18788
 
      case $host_vendor in
18789
 
        sni)
18790
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18791
 
          hardcode_direct_GCJ=yes # is this really true???
18792
 
        ;;
18793
 
        siemens)
18794
 
          ## LD is ld it makes a PLAMLIB
18795
 
          ## CC just makes a GrossModule.
18796
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18797
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
18798
 
          hardcode_direct_GCJ=no
18799
 
        ;;
18800
 
        motorola)
18801
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18802
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
18803
 
        ;;
18804
 
      esac
18805
 
      runpath_var='LD_RUN_PATH'
18806
 
      hardcode_shlibpath_var_GCJ=no
18807
 
      ;;
18808
 
 
18809
 
    sysv4.3*)
18810
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18811
 
      hardcode_shlibpath_var_GCJ=no
18812
 
      export_dynamic_flag_spec_GCJ='-Bexport'
18813
 
      ;;
18814
 
 
18815
 
    sysv4*MP*)
18816
 
      if test -d /usr/nec; then
18817
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18818
 
        hardcode_shlibpath_var_GCJ=no
18819
 
        runpath_var=LD_RUN_PATH
18820
 
        hardcode_runpath_var=yes
18821
 
        ld_shlibs_GCJ=yes
18822
 
      fi
18823
 
      ;;
18824
 
 
18825
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18826
 
      no_undefined_flag_GCJ='${wl}-z,text'
18827
 
      archive_cmds_need_lc_GCJ=no
18828
 
      hardcode_shlibpath_var_GCJ=no
18829
 
      runpath_var='LD_RUN_PATH'
18830
 
 
18831
 
      if test "$GCC" = yes; then
18832
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18833
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18834
 
      else
18835
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18836
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18837
 
      fi
18838
 
      ;;
18839
 
 
18840
 
    sysv5* | sco3.2v5* | sco5v6*)
18841
 
      # Note: We can NOT use -z defs as we might desire, because we do not
18842
 
      # link with -lc, and that would cause any symbols used from libc to
18843
 
      # always be unresolved, which means just about no library would
18844
 
      # ever link correctly.  If we're not using GNU ld we use -z text
18845
 
      # though, which does catch some bad symbols but isn't as heavy-handed
18846
 
      # as -z defs.
18847
 
      no_undefined_flag_GCJ='${wl}-z,text'
18848
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
18849
 
      archive_cmds_need_lc_GCJ=no
18850
 
      hardcode_shlibpath_var_GCJ=no
18851
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18852
 
      hardcode_libdir_separator_GCJ=':'
18853
 
      link_all_deplibs_GCJ=yes
18854
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
18855
 
      runpath_var='LD_RUN_PATH'
18856
 
 
18857
 
      if test "$GCC" = yes; then
18858
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18859
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18860
 
      else
18861
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18862
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18863
 
      fi
18864
 
      ;;
18865
 
 
18866
 
    uts4*)
18867
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18868
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18869
 
      hardcode_shlibpath_var_GCJ=no
18870
 
      ;;
18871
 
 
18872
 
    *)
18873
 
      ld_shlibs_GCJ=no
18874
 
      ;;
18875
 
    esac
18876
 
  fi
18877
 
 
18878
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18879
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18880
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
18881
 
 
18882
 
#
18883
 
# Do we need to explicitly link libc?
18884
 
#
18885
 
case "x$archive_cmds_need_lc_GCJ" in
18886
 
x|xyes)
18887
 
  # Assume -lc should be added
18888
 
  archive_cmds_need_lc_GCJ=yes
18889
 
 
18890
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
18891
 
    case $archive_cmds_GCJ in
18892
 
    *'~'*)
18893
 
      # FIXME: we may have to deal with multi-command sequences.
18894
 
      ;;
18895
 
    '$CC '*)
18896
 
      # Test whether the compiler implicitly links with -lc since on some
18897
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
18898
 
      # to ld, don't add -lc before -lgcc.
18899
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18900
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18901
 
      $rm conftest*
18902
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18903
 
 
18904
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18905
 
  (eval $ac_compile) 2>&5
18906
 
  ac_status=$?
18907
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18908
 
  (exit $ac_status); } 2>conftest.err; then
18909
 
        soname=conftest
18910
 
        lib=conftest
18911
 
        libobjs=conftest.$ac_objext
18912
 
        deplibs=
18913
 
        wl=$lt_prog_compiler_wl_GCJ
18914
 
        pic_flag=$lt_prog_compiler_pic_GCJ
18915
 
        compiler_flags=-v
18916
 
        linker_flags=-v
18917
 
        verstring=
18918
 
        output_objdir=.
18919
 
        libname=conftest
18920
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
18921
 
        allow_undefined_flag_GCJ=
18922
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18923
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18924
 
  ac_status=$?
18925
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18926
 
  (exit $ac_status); }
18927
 
        then
18928
 
          archive_cmds_need_lc_GCJ=no
18929
 
        else
18930
 
          archive_cmds_need_lc_GCJ=yes
18931
 
        fi
18932
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
18933
 
      else
18934
 
        cat conftest.err 1>&5
18935
 
      fi
18936
 
      $rm conftest*
18937
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18938
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18939
 
      ;;
18940
 
    esac
18941
 
  fi
18942
 
  ;;
18943
 
esac
18944
 
 
18945
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18946
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18947
 
library_names_spec=
18948
 
libname_spec='lib$name'
18949
 
soname_spec=
18950
 
shrext_cmds=".so"
18951
 
postinstall_cmds=
18952
 
postuninstall_cmds=
18953
 
finish_cmds=
18954
 
finish_eval=
18955
 
shlibpath_var=
18956
 
shlibpath_overrides_runpath=unknown
18957
 
version_type=none
18958
 
dynamic_linker="$host_os ld.so"
18959
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
18960
 
 
18961
 
need_lib_prefix=unknown
18962
 
hardcode_into_libs=no
18963
 
 
18964
 
# when you set need_version to no, make sure it does not cause -set_version
18965
 
# flags to be left without arguments
18966
 
need_version=unknown
18967
 
 
18968
 
case $host_os in
18969
 
aix3*)
18970
 
  version_type=linux
18971
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18972
 
  shlibpath_var=LIBPATH
18973
 
 
18974
 
  # AIX 3 has no versioning support, so we append a major version to the name.
18975
 
  soname_spec='${libname}${release}${shared_ext}$major'
18976
 
  ;;
18977
 
 
18978
 
aix4* | aix5*)
18979
 
  version_type=linux
18980
 
  need_lib_prefix=no
18981
 
  need_version=no
18982
 
  hardcode_into_libs=yes
18983
 
  if test "$host_cpu" = ia64; then
18984
 
    # AIX 5 supports IA64
18985
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18986
 
    shlibpath_var=LD_LIBRARY_PATH
18987
 
  else
18988
 
    # With GCC up to 2.95.x, collect2 would create an import file
18989
 
    # for dependence libraries.  The import file would start with
18990
 
    # the line `#! .'.  This would cause the generated library to
18991
 
    # depend on `.', always an invalid library.  This was fixed in
18992
 
    # development snapshots of GCC prior to 3.0.
18993
 
    case $host_os in
18994
 
      aix4 | aix4.[01] | aix4.[01].*)
18995
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18996
 
           echo ' yes '
18997
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18998
 
        :
18999
 
      else
19000
 
        can_build_shared=no
19001
 
      fi
19002
 
      ;;
19003
 
    esac
19004
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19005
 
    # soname into executable. Probably we can add versioning support to
19006
 
    # collect2, so additional links can be useful in future.
19007
 
    if test "$aix_use_runtimelinking" = yes; then
19008
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19009
 
      # instead of lib<name>.a to let people know that these are not
19010
 
      # typical AIX shared libraries.
19011
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19012
 
    else
19013
 
      # We preserve .a as extension for shared libraries through AIX4.2
19014
 
      # and later when we are not doing run time linking.
19015
 
      library_names_spec='${libname}${release}.a $libname.a'
19016
 
      soname_spec='${libname}${release}${shared_ext}$major'
19017
 
    fi
19018
 
    shlibpath_var=LIBPATH
19019
 
  fi
19020
 
  ;;
19021
 
 
19022
 
amigaos*)
19023
 
  library_names_spec='$libname.ixlibrary $libname.a'
19024
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
19025
 
  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'
19026
 
  ;;
19027
 
 
19028
 
beos*)
19029
 
  library_names_spec='${libname}${shared_ext}'
19030
 
  dynamic_linker="$host_os ld.so"
19031
 
  shlibpath_var=LIBRARY_PATH
19032
 
  ;;
19033
 
 
19034
 
bsdi[45]*)
19035
 
  version_type=linux
19036
 
  need_version=no
19037
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19038
 
  soname_spec='${libname}${release}${shared_ext}$major'
19039
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19040
 
  shlibpath_var=LD_LIBRARY_PATH
19041
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19042
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19043
 
  # the default ld.so.conf also contains /usr/contrib/lib and
19044
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19045
 
  # libtool to hard-code these into programs
19046
 
  ;;
19047
 
 
19048
 
cygwin* | mingw* | pw32*)
19049
 
  version_type=windows
19050
 
  shrext_cmds=".dll"
19051
 
  need_version=no
19052
 
  need_lib_prefix=no
19053
 
 
19054
 
  case $GCC,$host_os in
19055
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
19056
 
    library_names_spec='$libname.dll.a'
19057
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
19058
 
    postinstall_cmds='base_file=`basename \${file}`~
19059
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19060
 
      dldir=$destdir/`dirname \$dlpath`~
19061
 
      test -d \$dldir || mkdir -p \$dldir~
19062
 
      $install_prog $dir/$dlname \$dldir/$dlname~
19063
 
      chmod a+x \$dldir/$dlname'
19064
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19065
 
      dlpath=$dir/\$dldll~
19066
 
       $rm \$dlpath'
19067
 
    shlibpath_overrides_runpath=yes
19068
 
 
19069
 
    case $host_os in
19070
 
    cygwin*)
19071
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19072
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19073
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
19074
 
      ;;
19075
 
    mingw*)
19076
 
      # MinGW DLLs use traditional 'lib' prefix
19077
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19078
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19079
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
19080
 
        # It is most probably a Windows format PATH printed by
19081
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
19082
 
        # path with ; separators, and with drive letters. We can handle the
19083
 
        # drive letters (cygwin fileutils understands them), so leave them,
19084
 
        # especially as we might pass files found there to a mingw objdump,
19085
 
        # which wouldn't understand a cygwinified path. Ahh.
19086
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19087
 
      else
19088
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
19089
 
      fi
19090
 
      ;;
19091
 
    pw32*)
19092
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
19093
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19094
 
      ;;
19095
 
    esac
19096
 
    ;;
19097
 
 
19098
 
  *)
19099
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19100
 
    ;;
19101
 
  esac
19102
 
  dynamic_linker='Win32 ld.exe'
19103
 
  # FIXME: first we should search . and the directory the executable is in
19104
 
  shlibpath_var=PATH
19105
 
  ;;
19106
 
 
19107
 
darwin* | rhapsody*)
19108
 
  dynamic_linker="$host_os dyld"
19109
 
  version_type=darwin
19110
 
  need_lib_prefix=no
19111
 
  need_version=no
19112
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19113
 
  soname_spec='${libname}${release}${major}$shared_ext'
19114
 
  shlibpath_overrides_runpath=yes
19115
 
  shlibpath_var=DYLD_LIBRARY_PATH
19116
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19117
 
 
19118
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19119
 
  ;;
19120
 
 
19121
 
dgux*)
19122
 
  version_type=linux
19123
 
  need_lib_prefix=no
19124
 
  need_version=no
19125
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19126
 
  soname_spec='${libname}${release}${shared_ext}$major'
19127
 
  shlibpath_var=LD_LIBRARY_PATH
19128
 
  ;;
19129
 
 
19130
 
freebsd1*)
19131
 
  dynamic_linker=no
19132
 
  ;;
19133
 
 
19134
 
freebsd* | dragonfly*)
19135
 
  # DragonFly does not have aout.  When/if they implement a new
19136
 
  # versioning mechanism, adjust this.
19137
 
  if test -x /usr/bin/objformat; then
19138
 
    objformat=`/usr/bin/objformat`
19139
 
  else
19140
 
    case $host_os in
19141
 
    freebsd[123]*) objformat=aout ;;
19142
 
    *) objformat=elf ;;
19143
 
    esac
19144
 
  fi
19145
 
  version_type=freebsd-$objformat
19146
 
  case $version_type in
19147
 
    freebsd-elf*)
19148
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19149
 
      need_version=no
19150
 
      need_lib_prefix=no
19151
 
      ;;
19152
 
    freebsd-*)
19153
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19154
 
      need_version=yes
19155
 
      ;;
19156
 
  esac
19157
 
  shlibpath_var=LD_LIBRARY_PATH
19158
 
  case $host_os in
19159
 
  freebsd2*)
19160
 
    shlibpath_overrides_runpath=yes
19161
 
    ;;
19162
 
  freebsd3.[01]* | freebsdelf3.[01]*)
19163
 
    shlibpath_overrides_runpath=yes
19164
 
    hardcode_into_libs=yes
19165
 
    ;;
19166
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
19167
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
19168
 
    shlibpath_overrides_runpath=no
19169
 
    hardcode_into_libs=yes
19170
 
    ;;
19171
 
  *) # from 4.6 on, and DragonFly
19172
 
    shlibpath_overrides_runpath=yes
19173
 
    hardcode_into_libs=yes
19174
 
    ;;
19175
 
  esac
19176
 
  ;;
19177
 
 
19178
 
gnu*)
19179
 
  version_type=linux
19180
 
  need_lib_prefix=no
19181
 
  need_version=no
19182
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19183
 
  soname_spec='${libname}${release}${shared_ext}$major'
19184
 
  shlibpath_var=LD_LIBRARY_PATH
19185
 
  hardcode_into_libs=yes
19186
 
  ;;
19187
 
 
19188
 
hpux9* | hpux10* | hpux11*)
19189
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
19190
 
  # link against other versions.
19191
 
  version_type=sunos
19192
 
  need_lib_prefix=no
19193
 
  need_version=no
19194
 
  case $host_cpu in
19195
 
  ia64*)
19196
 
    shrext_cmds='.so'
19197
 
    hardcode_into_libs=yes
19198
 
    dynamic_linker="$host_os dld.so"
19199
 
    shlibpath_var=LD_LIBRARY_PATH
19200
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19201
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19202
 
    soname_spec='${libname}${release}${shared_ext}$major'
19203
 
    if test "X$HPUX_IA64_MODE" = X32; then
19204
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19205
 
    else
19206
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19207
 
    fi
19208
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19209
 
    ;;
19210
 
   hppa*64*)
19211
 
     shrext_cmds='.sl'
19212
 
     hardcode_into_libs=yes
19213
 
     dynamic_linker="$host_os dld.sl"
19214
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19215
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19216
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19217
 
     soname_spec='${libname}${release}${shared_ext}$major'
19218
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19219
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19220
 
     ;;
19221
 
   *)
19222
 
    shrext_cmds='.sl'
19223
 
    dynamic_linker="$host_os dld.sl"
19224
 
    shlibpath_var=SHLIB_PATH
19225
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19226
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19227
 
    soname_spec='${libname}${release}${shared_ext}$major'
19228
 
    ;;
19229
 
  esac
19230
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
19231
 
  postinstall_cmds='chmod 555 $lib'
19232
 
  ;;
19233
 
 
19234
 
interix[3-9]*)
19235
 
  version_type=linux
19236
 
  need_lib_prefix=no
19237
 
  need_version=no
19238
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19239
 
  soname_spec='${libname}${release}${shared_ext}$major'
19240
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
19241
 
  shlibpath_var=LD_LIBRARY_PATH
19242
 
  shlibpath_overrides_runpath=no
19243
 
  hardcode_into_libs=yes
19244
 
  ;;
19245
 
 
19246
 
irix5* | irix6* | nonstopux*)
19247
 
  case $host_os in
19248
 
    nonstopux*) version_type=nonstopux ;;
19249
 
    *)
19250
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
19251
 
                version_type=linux
19252
 
        else
19253
 
                version_type=irix
19254
 
        fi ;;
19255
 
  esac
19256
 
  need_lib_prefix=no
19257
 
  need_version=no
19258
 
  soname_spec='${libname}${release}${shared_ext}$major'
19259
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19260
 
  case $host_os in
19261
 
  irix5* | nonstopux*)
19262
 
    libsuff= shlibsuff=
19263
 
    ;;
19264
 
  *)
19265
 
    case $LD in # libtool.m4 will add one of these switches to LD
19266
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19267
 
      libsuff= shlibsuff= libmagic=32-bit;;
19268
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19269
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
19270
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19271
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
19272
 
    *) libsuff= shlibsuff= libmagic=never-match;;
19273
 
    esac
19274
 
    ;;
19275
 
  esac
19276
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19277
 
  shlibpath_overrides_runpath=no
19278
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19279
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19280
 
  hardcode_into_libs=yes
19281
 
  ;;
19282
 
 
19283
 
# No shared lib support for Linux oldld, aout, or coff.
19284
 
linux*oldld* | linux*aout* | linux*coff*)
19285
 
  dynamic_linker=no
19286
 
  ;;
19287
 
 
19288
 
# This must be Linux ELF.
19289
 
linux* | k*bsd*-gnu)
19290
 
  version_type=linux
19291
 
  need_lib_prefix=no
19292
 
  need_version=no
19293
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19294
 
  soname_spec='${libname}${release}${shared_ext}$major'
19295
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19296
 
  shlibpath_var=LD_LIBRARY_PATH
19297
 
  shlibpath_overrides_runpath=no
19298
 
  # This implies no fast_install, which is unacceptable.
19299
 
  # Some rework will be needed to allow for fast_install
19300
 
  # before this can be enabled.
19301
 
  hardcode_into_libs=yes
19302
 
 
19303
 
  # Append ld.so.conf contents to the search path
19304
 
  if test -f /etc/ld.so.conf; then
19305
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
19306
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19307
 
  fi
19308
 
 
19309
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
19310
 
  # powerpc, because MkLinux only supported shared libraries with the
19311
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
19312
 
  # most powerpc-linux boxes support dynamic linking these days and
19313
 
  # people can always --disable-shared, the test was removed, and we
19314
 
  # assume the GNU/Linux dynamic linker is in use.
19315
 
  dynamic_linker='GNU/Linux ld.so'
19316
 
  ;;
19317
 
 
19318
 
netbsdelf*-gnu)
19319
 
  version_type=linux
19320
 
  need_lib_prefix=no
19321
 
  need_version=no
19322
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19323
 
  soname_spec='${libname}${release}${shared_ext}$major'
19324
 
  shlibpath_var=LD_LIBRARY_PATH
19325
 
  shlibpath_overrides_runpath=no
19326
 
  hardcode_into_libs=yes
19327
 
  dynamic_linker='NetBSD ld.elf_so'
19328
 
  ;;
19329
 
 
19330
 
netbsd*)
19331
 
  version_type=sunos
19332
 
  need_lib_prefix=no
19333
 
  need_version=no
19334
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19335
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19336
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19337
 
    dynamic_linker='NetBSD (a.out) ld.so'
19338
 
  else
19339
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19340
 
    soname_spec='${libname}${release}${shared_ext}$major'
19341
 
    dynamic_linker='NetBSD ld.elf_so'
19342
 
  fi
19343
 
  shlibpath_var=LD_LIBRARY_PATH
19344
 
  shlibpath_overrides_runpath=yes
19345
 
  hardcode_into_libs=yes
19346
 
  ;;
19347
 
 
19348
 
newsos6)
19349
 
  version_type=linux
19350
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19351
 
  shlibpath_var=LD_LIBRARY_PATH
19352
 
  shlibpath_overrides_runpath=yes
19353
 
  ;;
19354
 
 
19355
 
nto-qnx*)
19356
 
  version_type=linux
19357
 
  need_lib_prefix=no
19358
 
  need_version=no
19359
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19360
 
  soname_spec='${libname}${release}${shared_ext}$major'
19361
 
  shlibpath_var=LD_LIBRARY_PATH
19362
 
  shlibpath_overrides_runpath=yes
19363
 
  ;;
19364
 
 
19365
 
openbsd*)
19366
 
  version_type=sunos
19367
 
  sys_lib_dlsearch_path_spec="/usr/lib"
19368
 
  need_lib_prefix=no
19369
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19370
 
  case $host_os in
19371
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
19372
 
    *)                         need_version=no  ;;
19373
 
  esac
19374
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19375
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19376
 
  shlibpath_var=LD_LIBRARY_PATH
19377
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19378
 
    case $host_os in
19379
 
      openbsd2.[89] | openbsd2.[89].*)
19380
 
        shlibpath_overrides_runpath=no
19381
 
        ;;
19382
 
      *)
19383
 
        shlibpath_overrides_runpath=yes
19384
 
        ;;
19385
 
      esac
19386
 
  else
19387
 
    shlibpath_overrides_runpath=yes
19388
 
  fi
19389
 
  ;;
19390
 
 
19391
 
os2*)
19392
 
  libname_spec='$name'
19393
 
  shrext_cmds=".dll"
19394
 
  need_lib_prefix=no
19395
 
  library_names_spec='$libname${shared_ext} $libname.a'
19396
 
  dynamic_linker='OS/2 ld.exe'
19397
 
  shlibpath_var=LIBPATH
19398
 
  ;;
19399
 
 
19400
 
osf3* | osf4* | osf5*)
19401
 
  version_type=osf
19402
 
  need_lib_prefix=no
19403
 
  need_version=no
19404
 
  soname_spec='${libname}${release}${shared_ext}$major'
19405
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19406
 
  shlibpath_var=LD_LIBRARY_PATH
19407
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19408
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19409
 
  ;;
19410
 
 
19411
 
rdos*)
19412
 
  dynamic_linker=no
19413
 
  ;;
19414
 
 
19415
 
solaris*)
19416
 
  version_type=linux
19417
 
  need_lib_prefix=no
19418
 
  need_version=no
19419
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19420
 
  soname_spec='${libname}${release}${shared_ext}$major'
19421
 
  shlibpath_var=LD_LIBRARY_PATH
19422
 
  shlibpath_overrides_runpath=yes
19423
 
  hardcode_into_libs=yes
19424
 
  # ldd complains unless libraries are executable
19425
 
  postinstall_cmds='chmod +x $lib'
19426
 
  ;;
19427
 
 
19428
 
sunos4*)
19429
 
  version_type=sunos
19430
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19431
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19432
 
  shlibpath_var=LD_LIBRARY_PATH
19433
 
  shlibpath_overrides_runpath=yes
19434
 
  if test "$with_gnu_ld" = yes; then
19435
 
    need_lib_prefix=no
19436
 
  fi
19437
 
  need_version=yes
19438
 
  ;;
19439
 
 
19440
 
sysv4 | sysv4.3*)
19441
 
  version_type=linux
19442
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19443
 
  soname_spec='${libname}${release}${shared_ext}$major'
19444
 
  shlibpath_var=LD_LIBRARY_PATH
19445
 
  case $host_vendor in
19446
 
    sni)
19447
 
      shlibpath_overrides_runpath=no
19448
 
      need_lib_prefix=no
19449
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
19450
 
      runpath_var=LD_RUN_PATH
19451
 
      ;;
19452
 
    siemens)
19453
 
      need_lib_prefix=no
19454
 
      ;;
19455
 
    motorola)
19456
 
      need_lib_prefix=no
19457
 
      need_version=no
19458
 
      shlibpath_overrides_runpath=no
19459
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19460
 
      ;;
19461
 
  esac
19462
 
  ;;
19463
 
 
19464
 
sysv4*MP*)
19465
 
  if test -d /usr/nec ;then
19466
 
    version_type=linux
19467
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19468
 
    soname_spec='$libname${shared_ext}.$major'
19469
 
    shlibpath_var=LD_LIBRARY_PATH
19470
 
  fi
19471
 
  ;;
19472
 
 
19473
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19474
 
  version_type=freebsd-elf
19475
 
  need_lib_prefix=no
19476
 
  need_version=no
19477
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19478
 
  soname_spec='${libname}${release}${shared_ext}$major'
19479
 
  shlibpath_var=LD_LIBRARY_PATH
19480
 
  hardcode_into_libs=yes
19481
 
  if test "$with_gnu_ld" = yes; then
19482
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19483
 
    shlibpath_overrides_runpath=no
19484
 
  else
19485
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
19486
 
    shlibpath_overrides_runpath=yes
19487
 
    case $host_os in
19488
 
      sco3.2v5*)
19489
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
19490
 
        ;;
19491
 
    esac
19492
 
  fi
19493
 
  sys_lib_dlsearch_path_spec='/usr/lib'
19494
 
  ;;
19495
 
 
19496
 
uts4*)
19497
 
  version_type=linux
19498
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19499
 
  soname_spec='${libname}${release}${shared_ext}$major'
19500
 
  shlibpath_var=LD_LIBRARY_PATH
19501
 
  ;;
19502
 
 
19503
 
*)
19504
 
  dynamic_linker=no
19505
 
  ;;
19506
 
esac
19507
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19508
 
echo "${ECHO_T}$dynamic_linker" >&6; }
19509
 
test "$dynamic_linker" = no && can_build_shared=no
19510
 
 
19511
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19512
 
if test "$GCC" = yes; then
19513
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19514
 
fi
19515
 
 
19516
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19517
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19518
 
hardcode_action_GCJ=
19519
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19520
 
   test -n "$runpath_var_GCJ" || \
19521
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19522
 
 
19523
 
  # We can hardcode non-existant directories.
19524
 
  if test "$hardcode_direct_GCJ" != no &&
19525
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
19526
 
     # have to relink, otherwise we might link with an installed library
19527
 
     # when we should be linking with a yet-to-be-installed one
19528
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19529
 
     test "$hardcode_minus_L_GCJ" != no; then
19530
 
    # Linking always hardcodes the temporary library directory.
19531
 
    hardcode_action_GCJ=relink
19532
 
  else
19533
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
19534
 
    hardcode_action_GCJ=immediate
19535
 
  fi
19536
 
else
19537
 
  # We cannot hardcode anything, or else we can only hardcode existing
19538
 
  # directories.
19539
 
  hardcode_action_GCJ=unsupported
19540
 
fi
19541
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19542
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
19543
 
 
19544
 
if test "$hardcode_action_GCJ" = relink; then
19545
 
  # Fast installation is not supported
19546
 
  enable_fast_install=no
19547
 
elif test "$shlibpath_overrides_runpath" = yes ||
19548
 
     test "$enable_shared" = no; then
19549
 
  # Fast installation is not necessary
19550
 
  enable_fast_install=needless
19551
 
fi
19552
 
 
19553
 
 
19554
 
# The else clause should only fire when bootstrapping the
19555
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
19556
 
# with your package, and you will get complaints that there are
19557
 
# no rules to generate ltmain.sh.
19558
 
if test -f "$ltmain"; then
19559
 
  # See if we are running on zsh, and set the options which allow our commands through
19560
 
  # without removal of \ escapes.
19561
 
  if test -n "${ZSH_VERSION+set}" ; then
19562
 
    setopt NO_GLOB_SUBST
19563
 
  fi
19564
 
  # Now quote all the things that may contain metacharacters while being
19565
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19566
 
  # variables and quote the copies for generation of the libtool script.
19567
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19568
 
    SED SHELL STRIP \
19569
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19570
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19571
 
    deplibs_check_method reload_flag reload_cmds need_locks \
19572
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19573
 
    lt_cv_sys_global_symbol_to_c_name_address \
19574
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19575
 
    old_postinstall_cmds old_postuninstall_cmds \
19576
 
    compiler_GCJ \
19577
 
    CC_GCJ \
19578
 
    LD_GCJ \
19579
 
    lt_prog_compiler_wl_GCJ \
19580
 
    lt_prog_compiler_pic_GCJ \
19581
 
    lt_prog_compiler_static_GCJ \
19582
 
    lt_prog_compiler_no_builtin_flag_GCJ \
19583
 
    export_dynamic_flag_spec_GCJ \
19584
 
    thread_safe_flag_spec_GCJ \
19585
 
    whole_archive_flag_spec_GCJ \
19586
 
    enable_shared_with_static_runtimes_GCJ \
19587
 
    old_archive_cmds_GCJ \
19588
 
    old_archive_from_new_cmds_GCJ \
19589
 
    predep_objects_GCJ \
19590
 
    postdep_objects_GCJ \
19591
 
    predeps_GCJ \
19592
 
    postdeps_GCJ \
19593
 
    compiler_lib_search_path_GCJ \
19594
 
    archive_cmds_GCJ \
19595
 
    archive_expsym_cmds_GCJ \
19596
 
    postinstall_cmds_GCJ \
19597
 
    postuninstall_cmds_GCJ \
19598
 
    old_archive_from_expsyms_cmds_GCJ \
19599
 
    allow_undefined_flag_GCJ \
19600
 
    no_undefined_flag_GCJ \
19601
 
    export_symbols_cmds_GCJ \
19602
 
    hardcode_libdir_flag_spec_GCJ \
19603
 
    hardcode_libdir_flag_spec_ld_GCJ \
19604
 
    hardcode_libdir_separator_GCJ \
19605
 
    hardcode_automatic_GCJ \
19606
 
    module_cmds_GCJ \
19607
 
    module_expsym_cmds_GCJ \
19608
 
    lt_cv_prog_compiler_c_o_GCJ \
19609
 
    fix_srcfile_path_GCJ \
19610
 
    exclude_expsyms_GCJ \
19611
 
    include_expsyms_GCJ; do
19612
 
 
19613
 
    case $var in
19614
 
    old_archive_cmds_GCJ | \
19615
 
    old_archive_from_new_cmds_GCJ | \
19616
 
    archive_cmds_GCJ | \
19617
 
    archive_expsym_cmds_GCJ | \
19618
 
    module_cmds_GCJ | \
19619
 
    module_expsym_cmds_GCJ | \
19620
 
    old_archive_from_expsyms_cmds_GCJ | \
19621
 
    export_symbols_cmds_GCJ | \
19622
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19623
 
    postinstall_cmds | postuninstall_cmds | \
19624
 
    old_postinstall_cmds | old_postuninstall_cmds | \
19625
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19626
 
      # Double-quote double-evaled strings.
19627
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19628
 
      ;;
19629
 
    *)
19630
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19631
 
      ;;
19632
 
    esac
19633
 
  done
19634
 
 
19635
 
  case $lt_echo in
19636
 
  *'\$0 --fallback-echo"')
19637
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19638
 
    ;;
19639
 
  esac
19640
 
 
19641
 
cfgfile="$ofile"
19642
 
 
19643
 
  cat <<__EOF__ >> "$cfgfile"
19644
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19645
 
 
19646
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19647
 
 
19648
 
# Shell to use when invoking shell scripts.
19649
 
SHELL=$lt_SHELL
19650
 
 
19651
 
# Whether or not to build shared libraries.
19652
 
build_libtool_libs=$enable_shared
19653
 
 
19654
 
# Whether or not to build static libraries.
19655
 
build_old_libs=$enable_static
19656
 
 
19657
 
# Whether or not to add -lc for building shared libraries.
19658
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19659
 
 
19660
 
# Whether or not to disallow shared libs when runtime libs are static
19661
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19662
 
 
19663
 
# Whether or not to optimize for fast installation.
19664
 
fast_install=$enable_fast_install
19665
 
 
19666
 
# The host system.
19667
 
host_alias=$host_alias
19668
 
host=$host
19669
 
host_os=$host_os
19670
 
 
19671
 
# The build system.
19672
 
build_alias=$build_alias
19673
 
build=$build
19674
 
build_os=$build_os
19675
 
 
19676
 
# An echo program that does not interpret backslashes.
19677
 
echo=$lt_echo
19678
 
 
19679
 
# The archiver.
19680
 
AR=$lt_AR
19681
 
AR_FLAGS=$lt_AR_FLAGS
19682
 
 
19683
 
# A C compiler.
19684
 
LTCC=$lt_LTCC
19685
 
 
19686
 
# LTCC compiler flags.
19687
 
LTCFLAGS=$lt_LTCFLAGS
19688
 
 
19689
 
# A language-specific compiler.
19690
 
CC=$lt_compiler_GCJ
19691
 
 
19692
 
# Is the compiler the GNU C compiler?
19693
 
with_gcc=$GCC_GCJ
19694
 
 
19695
 
# An ERE matcher.
19696
 
EGREP=$lt_EGREP
19697
 
 
19698
 
# The linker used to build libraries.
19699
 
LD=$lt_LD_GCJ
19700
 
 
19701
 
# Whether we need hard or soft links.
19702
 
LN_S=$lt_LN_S
19703
 
 
19704
 
# A BSD-compatible nm program.
19705
 
NM=$lt_NM
19706
 
 
19707
 
# A symbol stripping program
19708
 
STRIP=$lt_STRIP
19709
 
 
19710
 
# Used to examine libraries when file_magic_cmd begins "file"
19711
 
MAGIC_CMD=$MAGIC_CMD
19712
 
 
19713
 
# Used on cygwin: DLL creation program.
19714
 
DLLTOOL="$DLLTOOL"
19715
 
 
19716
 
# Used on cygwin: object dumper.
19717
 
OBJDUMP="$OBJDUMP"
19718
 
 
19719
 
# Used on cygwin: assembler.
19720
 
AS="$AS"
19721
 
 
19722
 
# The name of the directory that contains temporary libtool files.
19723
 
objdir=$objdir
19724
 
 
19725
 
# How to create reloadable object files.
19726
 
reload_flag=$lt_reload_flag
19727
 
reload_cmds=$lt_reload_cmds
19728
 
 
19729
 
# How to pass a linker flag through the compiler.
19730
 
wl=$lt_lt_prog_compiler_wl_GCJ
19731
 
 
19732
 
# Object file suffix (normally "o").
19733
 
objext="$ac_objext"
19734
 
 
19735
 
# Old archive suffix (normally "a").
19736
 
libext="$libext"
19737
 
 
19738
 
# Shared library suffix (normally ".so").
19739
 
shrext_cmds='$shrext_cmds'
19740
 
 
19741
 
# Executable file suffix (normally "").
19742
 
exeext="$exeext"
19743
 
 
19744
 
# Additional compiler flags for building library objects.
19745
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
19746
 
pic_mode=$pic_mode
19747
 
 
19748
 
# What is the maximum length of a command?
19749
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19750
 
 
19751
 
# Does compiler simultaneously support -c and -o options?
19752
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19753
 
 
19754
 
# Must we lock files when doing compilation?
19755
 
need_locks=$lt_need_locks
19756
 
 
19757
 
# Do we need the lib prefix for modules?
19758
 
need_lib_prefix=$need_lib_prefix
19759
 
 
19760
 
# Do we need a version for libraries?
19761
 
need_version=$need_version
19762
 
 
19763
 
# Whether dlopen is supported.
19764
 
dlopen_support=$enable_dlopen
19765
 
 
19766
 
# Whether dlopen of programs is supported.
19767
 
dlopen_self=$enable_dlopen_self
19768
 
 
19769
 
# Whether dlopen of statically linked programs is supported.
19770
 
dlopen_self_static=$enable_dlopen_self_static
19771
 
 
19772
 
# Compiler flag to prevent dynamic linking.
19773
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
19774
 
 
19775
 
# Compiler flag to turn off builtin functions.
19776
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19777
 
 
19778
 
# Compiler flag to allow reflexive dlopens.
19779
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19780
 
 
19781
 
# Compiler flag to generate shared objects directly from archives.
19782
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19783
 
 
19784
 
# Compiler flag to generate thread-safe objects.
19785
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19786
 
 
19787
 
# Library versioning type.
19788
 
version_type=$version_type
19789
 
 
19790
 
# Format of library name prefix.
19791
 
libname_spec=$lt_libname_spec
19792
 
 
19793
 
# List of archive names.  First name is the real one, the rest are links.
19794
 
# The last name is the one that the linker finds with -lNAME.
19795
 
library_names_spec=$lt_library_names_spec
19796
 
 
19797
 
# The coded name of the library, if different from the real name.
19798
 
soname_spec=$lt_soname_spec
19799
 
 
19800
 
# Commands used to build and install an old-style archive.
19801
 
RANLIB=$lt_RANLIB
19802
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
19803
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19804
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19805
 
 
19806
 
# Create an old-style archive from a shared archive.
19807
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19808
 
 
19809
 
# Create a temporary old-style archive to link instead of a shared archive.
19810
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19811
 
 
19812
 
# Commands used to build and install a shared archive.
19813
 
archive_cmds=$lt_archive_cmds_GCJ
19814
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19815
 
postinstall_cmds=$lt_postinstall_cmds
19816
 
postuninstall_cmds=$lt_postuninstall_cmds
19817
 
 
19818
 
# Commands used to build a loadable module (assumed same as above if empty)
19819
 
module_cmds=$lt_module_cmds_GCJ
19820
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19821
 
 
19822
 
# Commands to strip libraries.
19823
 
old_striplib=$lt_old_striplib
19824
 
striplib=$lt_striplib
19825
 
 
19826
 
# Dependencies to place before the objects being linked to create a
19827
 
# shared library.
19828
 
predep_objects=$lt_predep_objects_GCJ
19829
 
 
19830
 
# Dependencies to place after the objects being linked to create a
19831
 
# shared library.
19832
 
postdep_objects=$lt_postdep_objects_GCJ
19833
 
 
19834
 
# Dependencies to place before the objects being linked to create a
19835
 
# shared library.
19836
 
predeps=$lt_predeps_GCJ
19837
 
 
19838
 
# Dependencies to place after the objects being linked to create a
19839
 
# shared library.
19840
 
postdeps=$lt_postdeps_GCJ
19841
 
 
19842
 
# The library search path used internally by the compiler when linking
19843
 
# a shared library.
19844
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19845
 
 
19846
 
# Method to check whether dependent libraries are shared objects.
19847
 
deplibs_check_method=$lt_deplibs_check_method
19848
 
 
19849
 
# Command to use when deplibs_check_method == file_magic.
19850
 
file_magic_cmd=$lt_file_magic_cmd
19851
 
 
19852
 
# Flag that allows shared libraries with undefined symbols to be built.
19853
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19854
 
 
19855
 
# Flag that forces no undefined symbols.
19856
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
19857
 
 
19858
 
# Commands used to finish a libtool library installation in a directory.
19859
 
finish_cmds=$lt_finish_cmds
19860
 
 
19861
 
# Same as above, but a single script fragment to be evaled but not shown.
19862
 
finish_eval=$lt_finish_eval
19863
 
 
19864
 
# Take the output of nm and produce a listing of raw symbols and C names.
19865
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19866
 
 
19867
 
# Transform the output of nm in a proper C declaration
19868
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19869
 
 
19870
 
# Transform the output of nm in a C name address pair
19871
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19872
 
 
19873
 
# This is the shared library runtime path variable.
19874
 
runpath_var=$runpath_var
19875
 
 
19876
 
# This is the shared library path variable.
19877
 
shlibpath_var=$shlibpath_var
19878
 
 
19879
 
# Is shlibpath searched before the hard-coded library search path?
19880
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19881
 
 
19882
 
# How to hardcode a shared library path into an executable.
19883
 
hardcode_action=$hardcode_action_GCJ
19884
 
 
19885
 
# Whether we should hardcode library paths into libraries.
19886
 
hardcode_into_libs=$hardcode_into_libs
19887
 
 
19888
 
# Flag to hardcode \$libdir into a binary during linking.
19889
 
# This must work even if \$libdir does not exist.
19890
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19891
 
 
19892
 
# If ld is used when linking, flag to hardcode \$libdir into
19893
 
# a binary during linking. This must work even if \$libdir does
19894
 
# not exist.
19895
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19896
 
 
19897
 
# Whether we need a single -rpath flag with a separated argument.
19898
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19899
 
 
19900
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19901
 
# resulting binary.
19902
 
hardcode_direct=$hardcode_direct_GCJ
19903
 
 
19904
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19905
 
# resulting binary.
19906
 
hardcode_minus_L=$hardcode_minus_L_GCJ
19907
 
 
19908
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19909
 
# the resulting binary.
19910
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19911
 
 
19912
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19913
 
# and all subsequent libraries and executables linked against it.
19914
 
hardcode_automatic=$hardcode_automatic_GCJ
19915
 
 
19916
 
# Variables whose values should be saved in libtool wrapper scripts and
19917
 
# restored at relink time.
19918
 
variables_saved_for_relink="$variables_saved_for_relink"
19919
 
 
19920
 
# Whether libtool must link a program against all its dependency libraries.
19921
 
link_all_deplibs=$link_all_deplibs_GCJ
19922
 
 
19923
 
# Compile-time system search path for libraries
19924
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19925
 
 
19926
 
# Run-time system search path for libraries
19927
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19928
 
 
19929
 
# Fix the shell variable \$srcfile for the compiler.
19930
 
fix_srcfile_path=$lt_fix_srcfile_path
19931
 
 
19932
 
# Set to yes if exported symbols are required.
19933
 
always_export_symbols=$always_export_symbols_GCJ
19934
 
 
19935
 
# The commands to list exported symbols.
19936
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19937
 
 
19938
 
# The commands to extract the exported symbol list from a shared archive.
19939
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19940
 
 
19941
 
# Symbols that should not be listed in the preloaded symbols.
19942
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
19943
 
 
19944
 
# Symbols that must always be exported.
19945
 
include_expsyms=$lt_include_expsyms_GCJ
19946
 
 
19947
 
# ### END LIBTOOL TAG CONFIG: $tagname
19948
 
 
19949
 
__EOF__
19950
 
 
19951
 
 
19952
 
else
19953
 
  # If there is no Makefile yet, we rely on a make rule to execute
19954
 
  # `config.status --recheck' to rerun these tests and create the
19955
 
  # libtool script then.
19956
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19957
 
  if test -f "$ltmain_in"; then
19958
 
    test -f Makefile && make "$ltmain"
19959
 
  fi
19960
 
fi
19961
 
 
19962
 
 
19963
 
ac_ext=c
19964
 
ac_cpp='$CPP $CPPFLAGS'
19965
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19966
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19967
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19968
 
 
19969
 
CC="$lt_save_CC"
19970
 
 
19971
 
        else
19972
 
          tagname=""
19973
 
        fi
19974
 
        ;;
19975
 
 
19976
 
      RC)
19977
 
 
19978
 
 
19979
 
# Source file extension for RC test sources.
19980
 
ac_ext=rc
19981
 
 
19982
 
# Object file extension for compiled RC test sources.
19983
 
objext=o
19984
 
objext_RC=$objext
19985
 
 
19986
 
# Code to be used in simple compile tests
19987
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19988
 
 
19989
 
# Code to be used in simple link tests
19990
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
19991
 
 
19992
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19993
 
 
19994
 
# If no C compiler was specified, use CC.
19995
 
LTCC=${LTCC-"$CC"}
19996
 
 
19997
 
# If no C compiler flags were specified, use CFLAGS.
19998
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19999
 
 
20000
 
# Allow CC to be a program name with arguments.
20001
 
compiler=$CC
20002
 
 
20003
 
 
20004
 
# save warnings/boilerplate of simple test code
20005
 
ac_outfile=conftest.$ac_objext
20006
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
20007
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20008
 
_lt_compiler_boilerplate=`cat conftest.err`
20009
 
$rm conftest*
20010
 
 
20011
 
ac_outfile=conftest.$ac_objext
20012
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
20013
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20014
 
_lt_linker_boilerplate=`cat conftest.err`
20015
 
$rm conftest*
20016
 
 
20017
 
 
20018
 
# Allow CC to be a program name with arguments.
20019
 
lt_save_CC="$CC"
20020
 
CC=${RC-"windres"}
20021
 
compiler=$CC
20022
 
compiler_RC=$CC
20023
 
for cc_temp in $compiler""; do
20024
 
  case $cc_temp in
20025
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20026
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20027
 
    \-*) ;;
20028
 
    *) break;;
20029
 
  esac
20030
 
done
20031
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20032
 
 
20033
 
lt_cv_prog_compiler_c_o_RC=yes
20034
 
 
20035
 
# The else clause should only fire when bootstrapping the
20036
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
20037
 
# with your package, and you will get complaints that there are
20038
 
# no rules to generate ltmain.sh.
20039
 
if test -f "$ltmain"; then
20040
 
  # See if we are running on zsh, and set the options which allow our commands through
20041
 
  # without removal of \ escapes.
20042
 
  if test -n "${ZSH_VERSION+set}" ; then
20043
 
    setopt NO_GLOB_SUBST
20044
 
  fi
20045
 
  # Now quote all the things that may contain metacharacters while being
20046
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
20047
 
  # variables and quote the copies for generation of the libtool script.
20048
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20049
 
    SED SHELL STRIP \
20050
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20051
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20052
 
    deplibs_check_method reload_flag reload_cmds need_locks \
20053
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20054
 
    lt_cv_sys_global_symbol_to_c_name_address \
20055
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20056
 
    old_postinstall_cmds old_postuninstall_cmds \
20057
 
    compiler_RC \
20058
 
    CC_RC \
20059
 
    LD_RC \
20060
 
    lt_prog_compiler_wl_RC \
20061
 
    lt_prog_compiler_pic_RC \
20062
 
    lt_prog_compiler_static_RC \
20063
 
    lt_prog_compiler_no_builtin_flag_RC \
20064
 
    export_dynamic_flag_spec_RC \
20065
 
    thread_safe_flag_spec_RC \
20066
 
    whole_archive_flag_spec_RC \
20067
 
    enable_shared_with_static_runtimes_RC \
20068
 
    old_archive_cmds_RC \
20069
 
    old_archive_from_new_cmds_RC \
20070
 
    predep_objects_RC \
20071
 
    postdep_objects_RC \
20072
 
    predeps_RC \
20073
 
    postdeps_RC \
20074
 
    compiler_lib_search_path_RC \
20075
 
    archive_cmds_RC \
20076
 
    archive_expsym_cmds_RC \
20077
 
    postinstall_cmds_RC \
20078
 
    postuninstall_cmds_RC \
20079
 
    old_archive_from_expsyms_cmds_RC \
20080
 
    allow_undefined_flag_RC \
20081
 
    no_undefined_flag_RC \
20082
 
    export_symbols_cmds_RC \
20083
 
    hardcode_libdir_flag_spec_RC \
20084
 
    hardcode_libdir_flag_spec_ld_RC \
20085
 
    hardcode_libdir_separator_RC \
20086
 
    hardcode_automatic_RC \
20087
 
    module_cmds_RC \
20088
 
    module_expsym_cmds_RC \
20089
 
    lt_cv_prog_compiler_c_o_RC \
20090
 
    fix_srcfile_path_RC \
20091
 
    exclude_expsyms_RC \
20092
 
    include_expsyms_RC; do
20093
 
 
20094
 
    case $var in
20095
 
    old_archive_cmds_RC | \
20096
 
    old_archive_from_new_cmds_RC | \
20097
 
    archive_cmds_RC | \
20098
 
    archive_expsym_cmds_RC | \
20099
 
    module_cmds_RC | \
20100
 
    module_expsym_cmds_RC | \
20101
 
    old_archive_from_expsyms_cmds_RC | \
20102
 
    export_symbols_cmds_RC | \
20103
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
20104
 
    postinstall_cmds | postuninstall_cmds | \
20105
 
    old_postinstall_cmds | old_postuninstall_cmds | \
20106
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20107
 
      # Double-quote double-evaled strings.
20108
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20109
 
      ;;
20110
 
    *)
20111
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20112
 
      ;;
20113
 
    esac
20114
 
  done
20115
 
 
20116
 
  case $lt_echo in
20117
 
  *'\$0 --fallback-echo"')
20118
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20119
 
    ;;
20120
 
  esac
20121
 
 
20122
 
cfgfile="$ofile"
20123
 
 
20124
 
  cat <<__EOF__ >> "$cfgfile"
20125
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
20126
 
 
20127
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20128
 
 
20129
 
# Shell to use when invoking shell scripts.
20130
 
SHELL=$lt_SHELL
20131
 
 
20132
 
# Whether or not to build shared libraries.
20133
 
build_libtool_libs=$enable_shared
20134
 
 
20135
 
# Whether or not to build static libraries.
20136
 
build_old_libs=$enable_static
20137
 
 
20138
 
# Whether or not to add -lc for building shared libraries.
20139
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
20140
 
 
20141
 
# Whether or not to disallow shared libs when runtime libs are static
20142
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
20143
 
 
20144
 
# Whether or not to optimize for fast installation.
20145
 
fast_install=$enable_fast_install
20146
 
 
20147
 
# The host system.
20148
 
host_alias=$host_alias
20149
 
host=$host
20150
 
host_os=$host_os
20151
 
 
20152
 
# The build system.
20153
 
build_alias=$build_alias
20154
 
build=$build
20155
 
build_os=$build_os
20156
 
 
20157
 
# An echo program that does not interpret backslashes.
20158
 
echo=$lt_echo
20159
 
 
20160
 
# The archiver.
20161
 
AR=$lt_AR
20162
 
AR_FLAGS=$lt_AR_FLAGS
20163
 
 
20164
 
# A C compiler.
20165
 
LTCC=$lt_LTCC
20166
 
 
20167
 
# LTCC compiler flags.
20168
 
LTCFLAGS=$lt_LTCFLAGS
20169
 
 
20170
 
# A language-specific compiler.
20171
 
CC=$lt_compiler_RC
20172
 
 
20173
 
# Is the compiler the GNU C compiler?
20174
 
with_gcc=$GCC_RC
20175
 
 
20176
 
# An ERE matcher.
20177
 
EGREP=$lt_EGREP
20178
 
 
20179
 
# The linker used to build libraries.
20180
 
LD=$lt_LD_RC
20181
 
 
20182
 
# Whether we need hard or soft links.
20183
 
LN_S=$lt_LN_S
20184
 
 
20185
 
# A BSD-compatible nm program.
20186
 
NM=$lt_NM
20187
 
 
20188
 
# A symbol stripping program
20189
 
STRIP=$lt_STRIP
20190
 
 
20191
 
# Used to examine libraries when file_magic_cmd begins "file"
20192
 
MAGIC_CMD=$MAGIC_CMD
20193
 
 
20194
 
# Used on cygwin: DLL creation program.
20195
 
DLLTOOL="$DLLTOOL"
20196
 
 
20197
 
# Used on cygwin: object dumper.
20198
 
OBJDUMP="$OBJDUMP"
20199
 
 
20200
 
# Used on cygwin: assembler.
20201
 
AS="$AS"
20202
 
 
20203
 
# The name of the directory that contains temporary libtool files.
20204
 
objdir=$objdir
20205
 
 
20206
 
# How to create reloadable object files.
20207
 
reload_flag=$lt_reload_flag
20208
 
reload_cmds=$lt_reload_cmds
20209
 
 
20210
 
# How to pass a linker flag through the compiler.
20211
 
wl=$lt_lt_prog_compiler_wl_RC
20212
 
 
20213
 
# Object file suffix (normally "o").
20214
 
objext="$ac_objext"
20215
 
 
20216
 
# Old archive suffix (normally "a").
20217
 
libext="$libext"
20218
 
 
20219
 
# Shared library suffix (normally ".so").
20220
 
shrext_cmds='$shrext_cmds'
20221
 
 
20222
 
# Executable file suffix (normally "").
20223
 
exeext="$exeext"
20224
 
 
20225
 
# Additional compiler flags for building library objects.
20226
 
pic_flag=$lt_lt_prog_compiler_pic_RC
20227
 
pic_mode=$pic_mode
20228
 
 
20229
 
# What is the maximum length of a command?
20230
 
max_cmd_len=$lt_cv_sys_max_cmd_len
20231
 
 
20232
 
# Does compiler simultaneously support -c and -o options?
20233
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20234
 
 
20235
 
# Must we lock files when doing compilation?
20236
 
need_locks=$lt_need_locks
20237
 
 
20238
 
# Do we need the lib prefix for modules?
20239
 
need_lib_prefix=$need_lib_prefix
20240
 
 
20241
 
# Do we need a version for libraries?
20242
 
need_version=$need_version
20243
 
 
20244
 
# Whether dlopen is supported.
20245
 
dlopen_support=$enable_dlopen
20246
 
 
20247
 
# Whether dlopen of programs is supported.
20248
 
dlopen_self=$enable_dlopen_self
20249
 
 
20250
 
# Whether dlopen of statically linked programs is supported.
20251
 
dlopen_self_static=$enable_dlopen_self_static
20252
 
 
20253
 
# Compiler flag to prevent dynamic linking.
20254
 
link_static_flag=$lt_lt_prog_compiler_static_RC
20255
 
 
20256
 
# Compiler flag to turn off builtin functions.
20257
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20258
 
 
20259
 
# Compiler flag to allow reflexive dlopens.
20260
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20261
 
 
20262
 
# Compiler flag to generate shared objects directly from archives.
20263
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20264
 
 
20265
 
# Compiler flag to generate thread-safe objects.
20266
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20267
 
 
20268
 
# Library versioning type.
20269
 
version_type=$version_type
20270
 
 
20271
 
# Format of library name prefix.
20272
 
libname_spec=$lt_libname_spec
20273
 
 
20274
 
# List of archive names.  First name is the real one, the rest are links.
20275
 
# The last name is the one that the linker finds with -lNAME.
20276
 
library_names_spec=$lt_library_names_spec
20277
 
 
20278
 
# The coded name of the library, if different from the real name.
20279
 
soname_spec=$lt_soname_spec
20280
 
 
20281
 
# Commands used to build and install an old-style archive.
20282
 
RANLIB=$lt_RANLIB
20283
 
old_archive_cmds=$lt_old_archive_cmds_RC
20284
 
old_postinstall_cmds=$lt_old_postinstall_cmds
20285
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20286
 
 
20287
 
# Create an old-style archive from a shared archive.
20288
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20289
 
 
20290
 
# Create a temporary old-style archive to link instead of a shared archive.
20291
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20292
 
 
20293
 
# Commands used to build and install a shared archive.
20294
 
archive_cmds=$lt_archive_cmds_RC
20295
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20296
 
postinstall_cmds=$lt_postinstall_cmds
20297
 
postuninstall_cmds=$lt_postuninstall_cmds
20298
 
 
20299
 
# Commands used to build a loadable module (assumed same as above if empty)
20300
 
module_cmds=$lt_module_cmds_RC
20301
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
20302
 
 
20303
 
# Commands to strip libraries.
20304
 
old_striplib=$lt_old_striplib
20305
 
striplib=$lt_striplib
20306
 
 
20307
 
# Dependencies to place before the objects being linked to create a
20308
 
# shared library.
20309
 
predep_objects=$lt_predep_objects_RC
20310
 
 
20311
 
# Dependencies to place after the objects being linked to create a
20312
 
# shared library.
20313
 
postdep_objects=$lt_postdep_objects_RC
20314
 
 
20315
 
# Dependencies to place before the objects being linked to create a
20316
 
# shared library.
20317
 
predeps=$lt_predeps_RC
20318
 
 
20319
 
# Dependencies to place after the objects being linked to create a
20320
 
# shared library.
20321
 
postdeps=$lt_postdeps_RC
20322
 
 
20323
 
# The library search path used internally by the compiler when linking
20324
 
# a shared library.
20325
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20326
 
 
20327
 
# Method to check whether dependent libraries are shared objects.
20328
 
deplibs_check_method=$lt_deplibs_check_method
20329
 
 
20330
 
# Command to use when deplibs_check_method == file_magic.
20331
 
file_magic_cmd=$lt_file_magic_cmd
20332
 
 
20333
 
# Flag that allows shared libraries with undefined symbols to be built.
20334
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
20335
 
 
20336
 
# Flag that forces no undefined symbols.
20337
 
no_undefined_flag=$lt_no_undefined_flag_RC
20338
 
 
20339
 
# Commands used to finish a libtool library installation in a directory.
20340
 
finish_cmds=$lt_finish_cmds
20341
 
 
20342
 
# Same as above, but a single script fragment to be evaled but not shown.
20343
 
finish_eval=$lt_finish_eval
20344
 
 
20345
 
# Take the output of nm and produce a listing of raw symbols and C names.
20346
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20347
 
 
20348
 
# Transform the output of nm in a proper C declaration
20349
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20350
 
 
20351
 
# Transform the output of nm in a C name address pair
20352
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20353
 
 
20354
 
# This is the shared library runtime path variable.
20355
 
runpath_var=$runpath_var
20356
 
 
20357
 
# This is the shared library path variable.
20358
 
shlibpath_var=$shlibpath_var
20359
 
 
20360
 
# Is shlibpath searched before the hard-coded library search path?
20361
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20362
 
 
20363
 
# How to hardcode a shared library path into an executable.
20364
 
hardcode_action=$hardcode_action_RC
20365
 
 
20366
 
# Whether we should hardcode library paths into libraries.
20367
 
hardcode_into_libs=$hardcode_into_libs
20368
 
 
20369
 
# Flag to hardcode \$libdir into a binary during linking.
20370
 
# This must work even if \$libdir does not exist.
20371
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20372
 
 
20373
 
# If ld is used when linking, flag to hardcode \$libdir into
20374
 
# a binary during linking. This must work even if \$libdir does
20375
 
# not exist.
20376
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20377
 
 
20378
 
# Whether we need a single -rpath flag with a separated argument.
20379
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20380
 
 
20381
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20382
 
# resulting binary.
20383
 
hardcode_direct=$hardcode_direct_RC
20384
 
 
20385
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20386
 
# resulting binary.
20387
 
hardcode_minus_L=$hardcode_minus_L_RC
20388
 
 
20389
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20390
 
# the resulting binary.
20391
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20392
 
 
20393
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
20394
 
# and all subsequent libraries and executables linked against it.
20395
 
hardcode_automatic=$hardcode_automatic_RC
20396
 
 
20397
 
# Variables whose values should be saved in libtool wrapper scripts and
20398
 
# restored at relink time.
20399
 
variables_saved_for_relink="$variables_saved_for_relink"
20400
 
 
20401
 
# Whether libtool must link a program against all its dependency libraries.
20402
 
link_all_deplibs=$link_all_deplibs_RC
20403
 
 
20404
 
# Compile-time system search path for libraries
20405
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20406
 
 
20407
 
# Run-time system search path for libraries
20408
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20409
 
 
20410
 
# Fix the shell variable \$srcfile for the compiler.
20411
 
fix_srcfile_path=$lt_fix_srcfile_path
20412
 
 
20413
 
# Set to yes if exported symbols are required.
20414
 
always_export_symbols=$always_export_symbols_RC
20415
 
 
20416
 
# The commands to list exported symbols.
20417
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
20418
 
 
20419
 
# The commands to extract the exported symbol list from a shared archive.
20420
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20421
 
 
20422
 
# Symbols that should not be listed in the preloaded symbols.
20423
 
exclude_expsyms=$lt_exclude_expsyms_RC
20424
 
 
20425
 
# Symbols that must always be exported.
20426
 
include_expsyms=$lt_include_expsyms_RC
20427
 
 
20428
 
# ### END LIBTOOL TAG CONFIG: $tagname
20429
 
 
20430
 
__EOF__
20431
 
 
20432
 
 
20433
 
else
20434
 
  # If there is no Makefile yet, we rely on a make rule to execute
20435
 
  # `config.status --recheck' to rerun these tests and create the
20436
 
  # libtool script then.
20437
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20438
 
  if test -f "$ltmain_in"; then
20439
 
    test -f Makefile && make "$ltmain"
20440
 
  fi
20441
 
fi
20442
 
 
20443
 
 
20444
 
ac_ext=c
20445
 
ac_cpp='$CPP $CPPFLAGS'
20446
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20447
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20448
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20449
 
 
20450
 
CC="$lt_save_CC"
20451
 
 
20452
 
        ;;
20453
 
 
20454
 
      *)
20455
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20456
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20457
 
   { (exit 1); exit 1; }; }
20458
 
        ;;
20459
 
      esac
20460
 
 
20461
 
      # Append the new tag name to the list of available tags.
20462
 
      if test -n "$tagname" ; then
20463
 
      available_tags="$available_tags $tagname"
20464
 
    fi
20465
 
    fi
20466
 
  done
20467
 
  IFS="$lt_save_ifs"
20468
 
 
20469
 
  # Now substitute the updated list of available tags.
20470
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20471
 
    mv "${ofile}T" "$ofile"
20472
 
    chmod +x "$ofile"
20473
 
  else
20474
 
    rm -f "${ofile}T"
20475
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20476
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20477
 
   { (exit 1); exit 1; }; }
20478
 
  fi
20479
 
fi
20480
 
 
20481
 
 
20482
 
 
20483
 
# This can be used to rebuild libtool when needed
20484
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
20485
 
 
20486
 
# Always use our own libtool.
20487
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
20488
 
 
20489
 
# Prevent multiple expansion
20490
 
 
20491
 
 
20492
 
 
20493
 
 
20494
 
 
20495
 
 
20496
 
 
20497
 
 
20498
 
 
20499
 
 
20500
 
 
20501
 
 
20502
 
 
20503
 
 
20504
 
 
20505
 
 
20506
 
 
20507
 
 
20508
 
 
20509
 
 
20510
 
 
20511
 
# Extract the first word of "pkg-config", so it can be a program name with args.
20512
 
set dummy pkg-config; ac_word=$2
20513
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20514
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20515
 
if test "${ac_cv_prog_HAVE_PKGCONFIG+set}" = set; then
20516
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20517
 
else
20518
 
  if test -n "$HAVE_PKGCONFIG"; then
20519
 
  ac_cv_prog_HAVE_PKGCONFIG="$HAVE_PKGCONFIG" # Let the user override the test.
20520
 
else
20521
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20522
 
for as_dir in $PATH
20523
 
do
20524
 
  IFS=$as_save_IFS
20525
 
  test -z "$as_dir" && as_dir=.
20526
 
  for ac_exec_ext in '' $ac_executable_extensions; do
20527
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20528
 
    ac_cv_prog_HAVE_PKGCONFIG="yes"
20529
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20530
 
    break 2
20531
 
  fi
20532
 
done
20533
 
done
20534
 
IFS=$as_save_IFS
20535
 
 
20536
 
  test -z "$ac_cv_prog_HAVE_PKGCONFIG" && ac_cv_prog_HAVE_PKGCONFIG="no"
20537
 
fi
20538
 
fi
20539
 
HAVE_PKGCONFIG=$ac_cv_prog_HAVE_PKGCONFIG
20540
 
if test -n "$HAVE_PKGCONFIG"; then
20541
 
  { echo "$as_me:$LINENO: result: $HAVE_PKGCONFIG" >&5
20542
 
echo "${ECHO_T}$HAVE_PKGCONFIG" >&6; }
20543
 
else
20544
 
  { echo "$as_me:$LINENO: result: no" >&5
20545
 
echo "${ECHO_T}no" >&6; }
20546
 
fi
20547
 
 
20548
 
 
20549
 
 
20550
 
if test "x$HAVE_PKGCONFIG" = "xno"; then
20551
 
  { { echo "$as_me:$LINENO: error: you need to have pkgconfig installed !" >&5
20552
 
echo "$as_me: error: you need to have pkgconfig installed !" >&2;}
20553
 
   { (exit 1); exit 1; }; }
20554
 
fi
20555
 
 
20556
 
 
20557
 
 
20558
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
20559
 
        if test -n "$ac_tool_prefix"; then
20560
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20561
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20562
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20563
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20564
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20565
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20566
 
else
20567
 
  case $PKG_CONFIG in
20568
 
  [\\/]* | ?:[\\/]*)
20569
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20570
 
  ;;
20571
 
  *)
20572
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20573
 
for as_dir in $PATH
20574
 
do
20575
 
  IFS=$as_save_IFS
20576
 
  test -z "$as_dir" && as_dir=.
20577
 
  for ac_exec_ext in '' $ac_executable_extensions; do
20578
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20579
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20580
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20581
 
    break 2
20582
 
  fi
20583
 
done
20584
 
done
20585
 
IFS=$as_save_IFS
20586
 
 
20587
 
  ;;
20588
 
esac
20589
 
fi
20590
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20591
 
if test -n "$PKG_CONFIG"; then
20592
 
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20593
 
echo "${ECHO_T}$PKG_CONFIG" >&6; }
20594
 
else
20595
 
  { echo "$as_me:$LINENO: result: no" >&5
20596
 
echo "${ECHO_T}no" >&6; }
20597
 
fi
20598
 
 
20599
 
 
20600
 
fi
20601
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
20602
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
20603
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
20604
 
set dummy pkg-config; ac_word=$2
20605
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20606
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20607
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
20608
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20609
 
else
20610
 
  case $ac_pt_PKG_CONFIG in
20611
 
  [\\/]* | ?:[\\/]*)
20612
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20613
 
  ;;
20614
 
  *)
20615
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20616
 
for as_dir in $PATH
20617
 
do
20618
 
  IFS=$as_save_IFS
20619
 
  test -z "$as_dir" && as_dir=.
20620
 
  for ac_exec_ext in '' $ac_executable_extensions; do
20621
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20622
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20623
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20624
 
    break 2
20625
 
  fi
20626
 
done
20627
 
done
20628
 
IFS=$as_save_IFS
20629
 
 
20630
 
  ;;
20631
 
esac
20632
 
fi
20633
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20634
 
if test -n "$ac_pt_PKG_CONFIG"; then
20635
 
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
20636
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
20637
 
else
20638
 
  { echo "$as_me:$LINENO: result: no" >&5
20639
 
echo "${ECHO_T}no" >&6; }
20640
 
fi
20641
 
 
20642
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
20643
 
    PKG_CONFIG=""
20644
 
  else
20645
 
    case $cross_compiling:$ac_tool_warned in
20646
 
yes:)
20647
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20648
 
whose name does not start with the host triplet.  If you think this
20649
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
20650
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20651
 
whose name does not start with the host triplet.  If you think this
20652
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20653
 
ac_tool_warned=yes ;;
20654
 
esac
20655
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
20656
 
  fi
20657
 
else
20658
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
20659
 
fi
20660
 
 
20661
 
fi
20662
 
if test -n "$PKG_CONFIG"; then
20663
 
        _pkg_min_version=0.9.0
20664
 
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
20665
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
20666
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20667
 
                { echo "$as_me:$LINENO: result: yes" >&5
20668
 
echo "${ECHO_T}yes" >&6; }
20669
 
        else
20670
 
                { echo "$as_me:$LINENO: result: no" >&5
20671
 
echo "${ECHO_T}no" >&6; }
20672
 
                PKG_CONFIG=""
20673
 
        fi
20674
 
 
20675
 
fi
20676
 
 
20677
 
pkg_failed=no
20678
 
{ echo "$as_me:$LINENO: checking for NAUTILUS" >&5
20679
 
echo $ECHO_N "checking for NAUTILUS... $ECHO_C" >&6; }
20680
 
 
20681
 
if test -n "$PKG_CONFIG"; then
20682
 
    if test -n "$NAUTILUS_CFLAGS"; then
20683
 
        pkg_cv_NAUTILUS_CFLAGS="$NAUTILUS_CFLAGS"
20684
 
    else
20685
 
        if test -n "$PKG_CONFIG" && \
20686
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnautilus-extension >= \$NAUTILUS_REQUIRED eel-2.0 >= \$EEL_REQUIRED\"") >&5
20687
 
  ($PKG_CONFIG --exists --print-errors "libnautilus-extension >= $NAUTILUS_REQUIRED eel-2.0 >= $EEL_REQUIRED") 2>&5
20688
 
  ac_status=$?
20689
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20690
 
  (exit $ac_status); }; then
20691
 
  pkg_cv_NAUTILUS_CFLAGS=`$PKG_CONFIG --cflags "libnautilus-extension >= $NAUTILUS_REQUIRED eel-2.0 >= $EEL_REQUIRED" 2>/dev/null`
20692
 
else
20693
 
  pkg_failed=yes
20694
 
fi
20695
 
    fi
20696
 
else
20697
 
        pkg_failed=untried
20698
 
fi
20699
 
if test -n "$PKG_CONFIG"; then
20700
 
    if test -n "$NAUTILUS_LIBS"; then
20701
 
        pkg_cv_NAUTILUS_LIBS="$NAUTILUS_LIBS"
20702
 
    else
20703
 
        if test -n "$PKG_CONFIG" && \
20704
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnautilus-extension >= \$NAUTILUS_REQUIRED eel-2.0 >= \$EEL_REQUIRED\"") >&5
20705
 
  ($PKG_CONFIG --exists --print-errors "libnautilus-extension >= $NAUTILUS_REQUIRED eel-2.0 >= $EEL_REQUIRED") 2>&5
20706
 
  ac_status=$?
20707
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708
 
  (exit $ac_status); }; then
20709
 
  pkg_cv_NAUTILUS_LIBS=`$PKG_CONFIG --libs "libnautilus-extension >= $NAUTILUS_REQUIRED eel-2.0 >= $EEL_REQUIRED" 2>/dev/null`
20710
 
else
20711
 
  pkg_failed=yes
20712
 
fi
20713
 
    fi
20714
 
else
20715
 
        pkg_failed=untried
20716
 
fi
20717
 
 
20718
 
 
20719
 
 
20720
 
if test $pkg_failed = yes; then
20721
 
 
20722
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20723
 
        _pkg_short_errors_supported=yes
20724
 
else
20725
 
        _pkg_short_errors_supported=no
20726
 
fi
20727
 
        if test $_pkg_short_errors_supported = yes; then
20728
 
                NAUTILUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnautilus-extension >= $NAUTILUS_REQUIRED eel-2.0 >= $EEL_REQUIRED"`
20729
 
        else
20730
 
                NAUTILUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnautilus-extension >= $NAUTILUS_REQUIRED eel-2.0 >= $EEL_REQUIRED"`
20731
 
        fi
20732
 
        # Put the nasty error message in config.log where it belongs
20733
 
        echo "$NAUTILUS_PKG_ERRORS" >&5
20734
 
 
20735
 
        { { echo "$as_me:$LINENO: error: Package requirements (libnautilus-extension >= $NAUTILUS_REQUIRED eel-2.0 >= $EEL_REQUIRED) were not met:
20736
 
 
20737
 
$NAUTILUS_PKG_ERRORS
20738
 
 
20739
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
20740
 
installed software in a non-standard prefix.
20741
 
 
20742
 
Alternatively, you may set the environment variables NAUTILUS_CFLAGS
20743
 
and NAUTILUS_LIBS to avoid the need to call pkg-config.
20744
 
See the pkg-config man page for more details.
20745
 
" >&5
20746
 
echo "$as_me: error: Package requirements (libnautilus-extension >= $NAUTILUS_REQUIRED eel-2.0 >= $EEL_REQUIRED) were not met:
20747
 
 
20748
 
$NAUTILUS_PKG_ERRORS
20749
 
 
20750
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
20751
 
installed software in a non-standard prefix.
20752
 
 
20753
 
Alternatively, you may set the environment variables NAUTILUS_CFLAGS
20754
 
and NAUTILUS_LIBS to avoid the need to call pkg-config.
20755
 
See the pkg-config man page for more details.
20756
 
" >&2;}
20757
 
   { (exit 1); exit 1; }; }
20758
 
elif test $pkg_failed = untried; then
20759
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
20760
 
is in your PATH or set the PKG_CONFIG environment variable to the full
20761
 
path to pkg-config.
20762
 
 
20763
 
Alternatively, you may set the environment variables NAUTILUS_CFLAGS
20764
 
and NAUTILUS_LIBS to avoid the need to call pkg-config.
20765
 
See the pkg-config man page for more details.
20766
 
 
20767
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20768
 
See \`config.log' for more details." >&5
20769
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
20770
 
is in your PATH or set the PKG_CONFIG environment variable to the full
20771
 
path to pkg-config.
20772
 
 
20773
 
Alternatively, you may set the environment variables NAUTILUS_CFLAGS
20774
 
and NAUTILUS_LIBS to avoid the need to call pkg-config.
20775
 
See the pkg-config man page for more details.
20776
 
 
20777
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20778
 
See \`config.log' for more details." >&2;}
20779
 
   { (exit 1); exit 1; }; }
20780
 
else
20781
 
        NAUTILUS_CFLAGS=$pkg_cv_NAUTILUS_CFLAGS
20782
 
        NAUTILUS_LIBS=$pkg_cv_NAUTILUS_LIBS
20783
 
        { echo "$as_me:$LINENO: result: yes" >&5
20784
 
echo "${ECHO_T}yes" >&6; }
20785
 
        :
20786
 
fi
20787
 
 
20788
 
pkg_failed=no
20789
 
{ echo "$as_me:$LINENO: checking for GLIB" >&5
20790
 
echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; }
20791
 
 
20792
 
if test -n "$PKG_CONFIG"; then
20793
 
    if test -n "$GLIB_CFLAGS"; then
20794
 
        pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
20795
 
    else
20796
 
        if test -n "$PKG_CONFIG" && \
20797
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED\"") >&5
20798
 
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED") 2>&5
20799
 
  ac_status=$?
20800
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20801
 
  (exit $ac_status); }; then
20802
 
  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
20803
 
else
20804
 
  pkg_failed=yes
20805
 
fi
20806
 
    fi
20807
 
else
20808
 
        pkg_failed=untried
20809
 
fi
20810
 
if test -n "$PKG_CONFIG"; then
20811
 
    if test -n "$GLIB_LIBS"; then
20812
 
        pkg_cv_GLIB_LIBS="$GLIB_LIBS"
20813
 
    else
20814
 
        if test -n "$PKG_CONFIG" && \
20815
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED\"") >&5
20816
 
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED") 2>&5
20817
 
  ac_status=$?
20818
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20819
 
  (exit $ac_status); }; then
20820
 
  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
20821
 
else
20822
 
  pkg_failed=yes
20823
 
fi
20824
 
    fi
20825
 
else
20826
 
        pkg_failed=untried
20827
 
fi
20828
 
 
20829
 
 
20830
 
 
20831
 
if test $pkg_failed = yes; then
20832
 
 
20833
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20834
 
        _pkg_short_errors_supported=yes
20835
 
else
20836
 
        _pkg_short_errors_supported=no
20837
 
fi
20838
 
        if test $_pkg_short_errors_supported = yes; then
20839
 
                GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED"`
20840
 
        else
20841
 
                GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED"`
20842
 
        fi
20843
 
        # Put the nasty error message in config.log where it belongs
20844
 
        echo "$GLIB_PKG_ERRORS" >&5
20845
 
 
20846
 
        { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= $GLIB_REQUIRED) were not met:
20847
 
 
20848
 
$GLIB_PKG_ERRORS
20849
 
 
20850
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
20851
 
installed software in a non-standard prefix.
20852
 
 
20853
 
Alternatively, you may set the environment variables GLIB_CFLAGS
20854
 
and GLIB_LIBS to avoid the need to call pkg-config.
20855
 
See the pkg-config man page for more details.
20856
 
" >&5
20857
 
echo "$as_me: error: Package requirements (glib-2.0 >= $GLIB_REQUIRED) were not met:
20858
 
 
20859
 
$GLIB_PKG_ERRORS
20860
 
 
20861
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
20862
 
installed software in a non-standard prefix.
20863
 
 
20864
 
Alternatively, you may set the environment variables GLIB_CFLAGS
20865
 
and GLIB_LIBS to avoid the need to call pkg-config.
20866
 
See the pkg-config man page for more details.
20867
 
" >&2;}
20868
 
   { (exit 1); exit 1; }; }
20869
 
elif test $pkg_failed = untried; then
20870
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
20871
 
is in your PATH or set the PKG_CONFIG environment variable to the full
20872
 
path to pkg-config.
20873
 
 
20874
 
Alternatively, you may set the environment variables GLIB_CFLAGS
20875
 
and GLIB_LIBS to avoid the need to call pkg-config.
20876
 
See the pkg-config man page for more details.
20877
 
 
20878
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20879
 
See \`config.log' for more details." >&5
20880
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
20881
 
is in your PATH or set the PKG_CONFIG environment variable to the full
20882
 
path to pkg-config.
20883
 
 
20884
 
Alternatively, you may set the environment variables GLIB_CFLAGS
20885
 
and GLIB_LIBS to avoid the need to call pkg-config.
20886
 
See the pkg-config man page for more details.
20887
 
 
20888
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20889
 
See \`config.log' for more details." >&2;}
20890
 
   { (exit 1); exit 1; }; }
20891
 
else
20892
 
        GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
20893
 
        GLIB_LIBS=$pkg_cv_GLIB_LIBS
20894
 
        { echo "$as_me:$LINENO: result: yes" >&5
20895
 
echo "${ECHO_T}yes" >&6; }
20896
 
        :
20897
 
fi
20898
 
 
20899
 
pkg_failed=no
20900
 
{ echo "$as_me:$LINENO: checking for LIBGLADE" >&5
20901
 
echo $ECHO_N "checking for LIBGLADE... $ECHO_C" >&6; }
20902
 
 
20903
 
if test -n "$PKG_CONFIG"; then
20904
 
    if test -n "$LIBGLADE_CFLAGS"; then
20905
 
        pkg_cv_LIBGLADE_CFLAGS="$LIBGLADE_CFLAGS"
20906
 
    else
20907
 
        if test -n "$PKG_CONFIG" && \
20908
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libglade-2.0 >= \$LIBGLADE_REQUIRED\"") >&5
20909
 
  ($PKG_CONFIG --exists --print-errors "libglade-2.0 >= $LIBGLADE_REQUIRED") 2>&5
20910
 
  ac_status=$?
20911
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20912
 
  (exit $ac_status); }; then
20913
 
  pkg_cv_LIBGLADE_CFLAGS=`$PKG_CONFIG --cflags "libglade-2.0 >= $LIBGLADE_REQUIRED" 2>/dev/null`
20914
 
else
20915
 
  pkg_failed=yes
20916
 
fi
20917
 
    fi
20918
 
else
20919
 
        pkg_failed=untried
20920
 
fi
20921
 
if test -n "$PKG_CONFIG"; then
20922
 
    if test -n "$LIBGLADE_LIBS"; then
20923
 
        pkg_cv_LIBGLADE_LIBS="$LIBGLADE_LIBS"
20924
 
    else
20925
 
        if test -n "$PKG_CONFIG" && \
20926
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libglade-2.0 >= \$LIBGLADE_REQUIRED\"") >&5
20927
 
  ($PKG_CONFIG --exists --print-errors "libglade-2.0 >= $LIBGLADE_REQUIRED") 2>&5
20928
 
  ac_status=$?
20929
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20930
 
  (exit $ac_status); }; then
20931
 
  pkg_cv_LIBGLADE_LIBS=`$PKG_CONFIG --libs "libglade-2.0 >= $LIBGLADE_REQUIRED" 2>/dev/null`
20932
 
else
20933
 
  pkg_failed=yes
20934
 
fi
20935
 
    fi
20936
 
else
20937
 
        pkg_failed=untried
20938
 
fi
20939
 
 
20940
 
 
20941
 
 
20942
 
if test $pkg_failed = yes; then
20943
 
 
20944
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20945
 
        _pkg_short_errors_supported=yes
20946
 
else
20947
 
        _pkg_short_errors_supported=no
20948
 
fi
20949
 
        if test $_pkg_short_errors_supported = yes; then
20950
 
                LIBGLADE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libglade-2.0 >= $LIBGLADE_REQUIRED"`
20951
 
        else
20952
 
                LIBGLADE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libglade-2.0 >= $LIBGLADE_REQUIRED"`
20953
 
        fi
20954
 
        # Put the nasty error message in config.log where it belongs
20955
 
        echo "$LIBGLADE_PKG_ERRORS" >&5
20956
 
 
20957
 
        { { echo "$as_me:$LINENO: error: Package requirements (libglade-2.0 >= $LIBGLADE_REQUIRED) were not met:
20958
 
 
20959
 
$LIBGLADE_PKG_ERRORS
20960
 
 
20961
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
20962
 
installed software in a non-standard prefix.
20963
 
 
20964
 
Alternatively, you may set the environment variables LIBGLADE_CFLAGS
20965
 
and LIBGLADE_LIBS to avoid the need to call pkg-config.
20966
 
See the pkg-config man page for more details.
20967
 
" >&5
20968
 
echo "$as_me: error: Package requirements (libglade-2.0 >= $LIBGLADE_REQUIRED) were not met:
20969
 
 
20970
 
$LIBGLADE_PKG_ERRORS
20971
 
 
20972
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
20973
 
installed software in a non-standard prefix.
20974
 
 
20975
 
Alternatively, you may set the environment variables LIBGLADE_CFLAGS
20976
 
and LIBGLADE_LIBS to avoid the need to call pkg-config.
20977
 
See the pkg-config man page for more details.
20978
 
" >&2;}
20979
 
   { (exit 1); exit 1; }; }
20980
 
elif test $pkg_failed = untried; then
20981
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
20982
 
is in your PATH or set the PKG_CONFIG environment variable to the full
20983
 
path to pkg-config.
20984
 
 
20985
 
Alternatively, you may set the environment variables LIBGLADE_CFLAGS
20986
 
and LIBGLADE_LIBS to avoid the need to call pkg-config.
20987
 
See the pkg-config man page for more details.
20988
 
 
20989
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20990
 
See \`config.log' for more details." >&5
20991
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
20992
 
is in your PATH or set the PKG_CONFIG environment variable to the full
20993
 
path to pkg-config.
20994
 
 
20995
 
Alternatively, you may set the environment variables LIBGLADE_CFLAGS
20996
 
and LIBGLADE_LIBS to avoid the need to call pkg-config.
20997
 
See the pkg-config man page for more details.
20998
 
 
20999
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21000
 
See \`config.log' for more details." >&2;}
21001
 
   { (exit 1); exit 1; }; }
21002
 
else
21003
 
        LIBGLADE_CFLAGS=$pkg_cv_LIBGLADE_CFLAGS
21004
 
        LIBGLADE_LIBS=$pkg_cv_LIBGLADE_LIBS
21005
 
        { echo "$as_me:$LINENO: result: yes" >&5
21006
 
echo "${ECHO_T}yes" >&6; }
21007
 
        :
21008
 
fi
21009
 
 
21010
 
 
21011
 
 
21012
 
 
21013
 
 
21014
 
 
21015
 
 
21016
 
 
21017
 
 
21018
 
 
21019
 
 
21020
 
 
21021
 
if test "x${prefix}" = "xNONE"; then
21022
 
 
21023
 
cat >>confdefs.h <<_ACEOF
21024
 
#define PIXMAPS_DIR "${ac_default_prefix}/${DATADIRNAME}/${PACKAGE}/pixmaps"
21025
 
_ACEOF
21026
 
 
21027
 
  pixmapsdir="${ac_default_prefix}/${DATADIRNAME}/${PACKAGE}/pixmaps"
21028
 
 
21029
 
cat >>confdefs.h <<_ACEOF
21030
 
#define INTERFACES_DIR "${ac_default_prefix}/${DATADIRNAME}/${PACKAGE}/interfaces"
21031
 
_ACEOF
21032
 
 
21033
 
  interfacesdir="${ac_default_prefix}/${DATADIRNAME}/${PACKAGE}/interfaces"
21034
 
else
21035
 
 
21036
 
cat >>confdefs.h <<_ACEOF
21037
 
#define PIXMAPS_DIR "${prefix}/${DATADIRNAME}/${PACKAGE}/pixmaps"
21038
 
_ACEOF
21039
 
 
21040
 
  pixmapsdir="${prefix}/${DATADIRNAME}/${PACKAGE}/pixmaps"
21041
 
 
21042
 
cat >>confdefs.h <<_ACEOF
21043
 
#define INTERFACES_DIR "${prefix}/${DATADIRNAME}/${PACKAGE}/interfaces"
21044
 
_ACEOF
21045
 
 
21046
 
  interfacesdir="${prefix}/${DATADIRNAME}/${PACKAGE}/interfaces"
21047
 
fi
21048
 
 
21049
 
 
21050
 
 
21051
 
 
21052
 
 
21053
 
ALL_LINGUAS="ar ca en_GB es de dz eu fi fr hu it pl pt_BR"
21054
 
GETTEXT_PACKAGE=nautilus-share
21055
 
 
21056
 
 
21057
 
cat >>confdefs.h <<_ACEOF
21058
 
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
21059
 
_ACEOF
21060
 
 
21061
 
 
21062
 
 
21063
 
for ac_header in locale.h
21064
 
do
21065
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21066
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21067
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
21068
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21069
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21070
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21071
 
fi
21072
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21073
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21074
 
echo "${ECHO_T}$ac_res" >&6; }
21075
 
else
21076
 
  # Is the header compilable?
21077
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21078
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21079
 
cat >conftest.$ac_ext <<_ACEOF
21080
 
/* confdefs.h.  */
21081
 
_ACEOF
21082
 
cat confdefs.h >>conftest.$ac_ext
21083
 
cat >>conftest.$ac_ext <<_ACEOF
21084
 
/* end confdefs.h.  */
21085
 
$ac_includes_default
21086
 
#include <$ac_header>
21087
 
_ACEOF
21088
 
rm -f conftest.$ac_objext
21089
 
if { (ac_try="$ac_compile"
21090
 
case "(($ac_try" in
21091
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21092
 
  *) ac_try_echo=$ac_try;;
21093
 
esac
21094
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21095
 
  (eval "$ac_compile") 2>conftest.er1
21096
 
  ac_status=$?
21097
 
  grep -v '^ *+' conftest.er1 >conftest.err
21098
 
  rm -f conftest.er1
21099
 
  cat conftest.err >&5
21100
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101
 
  (exit $ac_status); } && {
21102
 
         test -z "$ac_c_werror_flag" ||
21103
 
         test ! -s conftest.err
21104
 
       } && test -s conftest.$ac_objext; then
21105
 
  ac_header_compiler=yes
21106
 
else
21107
 
  echo "$as_me: failed program was:" >&5
21108
 
sed 's/^/| /' conftest.$ac_ext >&5
21109
 
 
21110
 
        ac_header_compiler=no
21111
 
fi
21112
 
 
21113
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21114
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21115
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
21116
 
 
21117
 
# Is the header present?
21118
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
21119
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21120
 
cat >conftest.$ac_ext <<_ACEOF
21121
 
/* confdefs.h.  */
21122
 
_ACEOF
21123
 
cat confdefs.h >>conftest.$ac_ext
21124
 
cat >>conftest.$ac_ext <<_ACEOF
21125
 
/* end confdefs.h.  */
21126
 
#include <$ac_header>
21127
 
_ACEOF
21128
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
21129
 
case "(($ac_try" in
21130
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21131
 
  *) ac_try_echo=$ac_try;;
21132
 
esac
21133
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21134
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21135
 
  ac_status=$?
21136
 
  grep -v '^ *+' conftest.er1 >conftest.err
21137
 
  rm -f conftest.er1
21138
 
  cat conftest.err >&5
21139
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140
 
  (exit $ac_status); } >/dev/null && {
21141
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21142
 
         test ! -s conftest.err
21143
 
       }; then
21144
 
  ac_header_preproc=yes
21145
 
else
21146
 
  echo "$as_me: failed program was:" >&5
21147
 
sed 's/^/| /' conftest.$ac_ext >&5
21148
 
 
21149
 
  ac_header_preproc=no
21150
 
fi
21151
 
 
21152
 
rm -f conftest.err conftest.$ac_ext
21153
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21154
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
21155
 
 
21156
 
# So?  What about this header?
21157
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21158
 
  yes:no: )
21159
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21160
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21161
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21162
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21163
 
    ac_header_preproc=yes
21164
 
    ;;
21165
 
  no:yes:* )
21166
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21167
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21168
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
21169
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
21170
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21171
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21172
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
21173
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21174
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21175
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21176
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21177
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21178
 
 
21179
 
    ;;
21180
 
esac
21181
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21182
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21183
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21184
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21185
 
else
21186
 
  eval "$as_ac_Header=\$ac_header_preproc"
21187
 
fi
21188
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21189
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21190
 
echo "${ECHO_T}$ac_res" >&6; }
21191
 
 
21192
 
fi
21193
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
21194
 
  cat >>confdefs.h <<_ACEOF
21195
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21196
 
_ACEOF
21197
 
 
21198
 
fi
21199
 
 
21200
 
done
21201
 
 
21202
 
    if test $ac_cv_header_locale_h = yes; then
21203
 
    { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
21204
 
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
21205
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
21206
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21207
 
else
21208
 
  cat >conftest.$ac_ext <<_ACEOF
21209
 
/* confdefs.h.  */
21210
 
_ACEOF
21211
 
cat confdefs.h >>conftest.$ac_ext
21212
 
cat >>conftest.$ac_ext <<_ACEOF
21213
 
/* end confdefs.h.  */
21214
 
#include <locale.h>
21215
 
int
21216
 
main ()
21217
 
{
21218
 
return LC_MESSAGES
21219
 
  ;
21220
 
  return 0;
21221
 
}
21222
 
_ACEOF
21223
 
rm -f conftest.$ac_objext conftest$ac_exeext
21224
 
if { (ac_try="$ac_link"
21225
 
case "(($ac_try" in
21226
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21227
 
  *) ac_try_echo=$ac_try;;
21228
 
esac
21229
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21230
 
  (eval "$ac_link") 2>conftest.er1
21231
 
  ac_status=$?
21232
 
  grep -v '^ *+' conftest.er1 >conftest.err
21233
 
  rm -f conftest.er1
21234
 
  cat conftest.err >&5
21235
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21236
 
  (exit $ac_status); } && {
21237
 
         test -z "$ac_c_werror_flag" ||
21238
 
         test ! -s conftest.err
21239
 
       } && test -s conftest$ac_exeext &&
21240
 
       $as_test_x conftest$ac_exeext; then
21241
 
  am_cv_val_LC_MESSAGES=yes
21242
 
else
21243
 
  echo "$as_me: failed program was:" >&5
21244
 
sed 's/^/| /' conftest.$ac_ext >&5
21245
 
 
21246
 
        am_cv_val_LC_MESSAGES=no
21247
 
fi
21248
 
 
21249
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21250
 
      conftest$ac_exeext conftest.$ac_ext
21251
 
fi
21252
 
{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
21253
 
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
21254
 
    if test $am_cv_val_LC_MESSAGES = yes; then
21255
 
 
21256
 
cat >>confdefs.h <<\_ACEOF
21257
 
#define HAVE_LC_MESSAGES 1
21258
 
_ACEOF
21259
 
 
21260
 
    fi
21261
 
  fi
21262
 
         USE_NLS=yes
21263
 
 
21264
 
 
21265
 
    gt_cv_have_gettext=no
21266
 
 
21267
 
    CATOBJEXT=NONE
21268
 
    XGETTEXT=:
21269
 
    INTLLIBS=
21270
 
 
21271
 
    if test "${ac_cv_header_libintl_h+set}" = set; then
21272
 
  { echo "$as_me:$LINENO: checking for libintl.h" >&5
21273
 
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
21274
 
if test "${ac_cv_header_libintl_h+set}" = set; then
21275
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21276
 
fi
21277
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
21278
 
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
21279
 
else
21280
 
  # Is the header compilable?
21281
 
{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
21282
 
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
21283
 
cat >conftest.$ac_ext <<_ACEOF
21284
 
/* confdefs.h.  */
21285
 
_ACEOF
21286
 
cat confdefs.h >>conftest.$ac_ext
21287
 
cat >>conftest.$ac_ext <<_ACEOF
21288
 
/* end confdefs.h.  */
21289
 
$ac_includes_default
21290
 
#include <libintl.h>
21291
 
_ACEOF
21292
 
rm -f conftest.$ac_objext
21293
 
if { (ac_try="$ac_compile"
21294
 
case "(($ac_try" in
21295
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21296
 
  *) ac_try_echo=$ac_try;;
21297
 
esac
21298
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21299
 
  (eval "$ac_compile") 2>conftest.er1
21300
 
  ac_status=$?
21301
 
  grep -v '^ *+' conftest.er1 >conftest.err
21302
 
  rm -f conftest.er1
21303
 
  cat conftest.err >&5
21304
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21305
 
  (exit $ac_status); } && {
21306
 
         test -z "$ac_c_werror_flag" ||
21307
 
         test ! -s conftest.err
21308
 
       } && test -s conftest.$ac_objext; then
21309
 
  ac_header_compiler=yes
21310
 
else
21311
 
  echo "$as_me: failed program was:" >&5
21312
 
sed 's/^/| /' conftest.$ac_ext >&5
21313
 
 
21314
 
        ac_header_compiler=no
21315
 
fi
21316
 
 
21317
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21318
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21319
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
21320
 
 
21321
 
# Is the header present?
21322
 
{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
21323
 
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
21324
 
cat >conftest.$ac_ext <<_ACEOF
21325
 
/* confdefs.h.  */
21326
 
_ACEOF
21327
 
cat confdefs.h >>conftest.$ac_ext
21328
 
cat >>conftest.$ac_ext <<_ACEOF
21329
 
/* end confdefs.h.  */
21330
 
#include <libintl.h>
21331
 
_ACEOF
21332
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
21333
 
case "(($ac_try" in
21334
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21335
 
  *) ac_try_echo=$ac_try;;
21336
 
esac
21337
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21338
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21339
 
  ac_status=$?
21340
 
  grep -v '^ *+' conftest.er1 >conftest.err
21341
 
  rm -f conftest.er1
21342
 
  cat conftest.err >&5
21343
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21344
 
  (exit $ac_status); } >/dev/null && {
21345
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21346
 
         test ! -s conftest.err
21347
 
       }; then
21348
 
  ac_header_preproc=yes
21349
 
else
21350
 
  echo "$as_me: failed program was:" >&5
21351
 
sed 's/^/| /' conftest.$ac_ext >&5
21352
 
 
21353
 
  ac_header_preproc=no
21354
 
fi
21355
 
 
21356
 
rm -f conftest.err conftest.$ac_ext
21357
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21358
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
21359
 
 
21360
 
# So?  What about this header?
21361
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21362
 
  yes:no: )
21363
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
21364
 
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21365
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
21366
 
echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
21367
 
    ac_header_preproc=yes
21368
 
    ;;
21369
 
  no:yes:* )
21370
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
21371
 
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
21372
 
    { echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
21373
 
echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
21374
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
21375
 
echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
21376
 
    { echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
21377
 
echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
21378
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
21379
 
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
21380
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
21381
 
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
21382
 
 
21383
 
    ;;
21384
 
esac
21385
 
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
21386
 
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
21387
 
if test "${ac_cv_header_libintl_h+set}" = set; then
21388
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21389
 
else
21390
 
  ac_cv_header_libintl_h=$ac_header_preproc
21391
 
fi
21392
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
21393
 
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
21394
 
 
21395
 
fi
21396
 
if test $ac_cv_header_libintl_h = yes; then
21397
 
  gt_cv_func_dgettext_libintl="no"
21398
 
      libintl_extra_libs=""
21399
 
 
21400
 
      #
21401
 
      # First check in libc
21402
 
      #
21403
 
      { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
21404
 
echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
21405
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then
21406
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21407
 
else
21408
 
  cat >conftest.$ac_ext <<_ACEOF
21409
 
/* confdefs.h.  */
21410
 
_ACEOF
21411
 
cat confdefs.h >>conftest.$ac_ext
21412
 
cat >>conftest.$ac_ext <<_ACEOF
21413
 
/* end confdefs.h.  */
21414
 
 
21415
 
#include <libintl.h>
21416
 
 
21417
 
int
21418
 
main ()
21419
 
{
21420
 
return !ngettext ("","", 1)
21421
 
  ;
21422
 
  return 0;
21423
 
}
21424
 
_ACEOF
21425
 
rm -f conftest.$ac_objext conftest$ac_exeext
21426
 
if { (ac_try="$ac_link"
21427
 
case "(($ac_try" in
21428
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21429
 
  *) ac_try_echo=$ac_try;;
21430
 
esac
21431
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21432
 
  (eval "$ac_link") 2>conftest.er1
21433
 
  ac_status=$?
21434
 
  grep -v '^ *+' conftest.er1 >conftest.err
21435
 
  rm -f conftest.er1
21436
 
  cat conftest.err >&5
21437
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438
 
  (exit $ac_status); } && {
21439
 
         test -z "$ac_c_werror_flag" ||
21440
 
         test ! -s conftest.err
21441
 
       } && test -s conftest$ac_exeext &&
21442
 
       $as_test_x conftest$ac_exeext; then
21443
 
  gt_cv_func_ngettext_libc=yes
21444
 
else
21445
 
  echo "$as_me: failed program was:" >&5
21446
 
sed 's/^/| /' conftest.$ac_ext >&5
21447
 
 
21448
 
        gt_cv_func_ngettext_libc=no
21449
 
fi
21450
 
 
21451
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21452
 
      conftest$ac_exeext conftest.$ac_ext
21453
 
 
21454
 
fi
21455
 
{ echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
21456
 
echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
21457
 
 
21458
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
21459
 
              { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
21460
 
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
21461
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then
21462
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21463
 
else
21464
 
  cat >conftest.$ac_ext <<_ACEOF
21465
 
/* confdefs.h.  */
21466
 
_ACEOF
21467
 
cat confdefs.h >>conftest.$ac_ext
21468
 
cat >>conftest.$ac_ext <<_ACEOF
21469
 
/* end confdefs.h.  */
21470
 
 
21471
 
#include <libintl.h>
21472
 
 
21473
 
int
21474
 
main ()
21475
 
{
21476
 
return !dgettext ("","")
21477
 
  ;
21478
 
  return 0;
21479
 
}
21480
 
_ACEOF
21481
 
rm -f conftest.$ac_objext conftest$ac_exeext
21482
 
if { (ac_try="$ac_link"
21483
 
case "(($ac_try" in
21484
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21485
 
  *) ac_try_echo=$ac_try;;
21486
 
esac
21487
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21488
 
  (eval "$ac_link") 2>conftest.er1
21489
 
  ac_status=$?
21490
 
  grep -v '^ *+' conftest.er1 >conftest.err
21491
 
  rm -f conftest.er1
21492
 
  cat conftest.err >&5
21493
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21494
 
  (exit $ac_status); } && {
21495
 
         test -z "$ac_c_werror_flag" ||
21496
 
         test ! -s conftest.err
21497
 
       } && test -s conftest$ac_exeext &&
21498
 
       $as_test_x conftest$ac_exeext; then
21499
 
  gt_cv_func_dgettext_libc=yes
21500
 
else
21501
 
  echo "$as_me: failed program was:" >&5
21502
 
sed 's/^/| /' conftest.$ac_ext >&5
21503
 
 
21504
 
        gt_cv_func_dgettext_libc=no
21505
 
fi
21506
 
 
21507
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21508
 
      conftest$ac_exeext conftest.$ac_ext
21509
 
 
21510
 
fi
21511
 
{ echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
21512
 
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
21513
 
      fi
21514
 
 
21515
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
21516
 
 
21517
 
for ac_func in bind_textdomain_codeset
21518
 
do
21519
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21520
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
21521
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21522
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21523
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21524
 
else
21525
 
  cat >conftest.$ac_ext <<_ACEOF
21526
 
/* confdefs.h.  */
21527
 
_ACEOF
21528
 
cat confdefs.h >>conftest.$ac_ext
21529
 
cat >>conftest.$ac_ext <<_ACEOF
21530
 
/* end confdefs.h.  */
21531
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21532
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21533
 
#define $ac_func innocuous_$ac_func
21534
 
 
21535
 
/* System header to define __stub macros and hopefully few prototypes,
21536
 
    which can conflict with char $ac_func (); below.
21537
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21538
 
    <limits.h> exists even on freestanding compilers.  */
21539
 
 
21540
 
#ifdef __STDC__
21541
 
# include <limits.h>
21542
 
#else
21543
 
# include <assert.h>
21544
 
#endif
21545
 
 
21546
 
#undef $ac_func
21547
 
 
21548
 
/* Override any GCC internal prototype to avoid an error.
21549
 
   Use char because int might match the return type of a GCC
21550
 
   builtin and then its argument prototype would still apply.  */
21551
 
#ifdef __cplusplus
21552
 
extern "C"
21553
 
#endif
21554
 
char $ac_func ();
21555
 
/* The GNU C library defines this for functions which it implements
21556
 
    to always fail with ENOSYS.  Some functions are actually named
21557
 
    something starting with __ and the normal name is an alias.  */
21558
 
#if defined __stub_$ac_func || defined __stub___$ac_func
21559
 
choke me
21560
 
#endif
21561
 
 
21562
 
int
21563
 
main ()
21564
 
{
21565
 
return $ac_func ();
21566
 
  ;
21567
 
  return 0;
21568
 
}
21569
 
_ACEOF
21570
 
rm -f conftest.$ac_objext conftest$ac_exeext
21571
 
if { (ac_try="$ac_link"
21572
 
case "(($ac_try" in
21573
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21574
 
  *) ac_try_echo=$ac_try;;
21575
 
esac
21576
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21577
 
  (eval "$ac_link") 2>conftest.er1
21578
 
  ac_status=$?
21579
 
  grep -v '^ *+' conftest.er1 >conftest.err
21580
 
  rm -f conftest.er1
21581
 
  cat conftest.err >&5
21582
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21583
 
  (exit $ac_status); } && {
21584
 
         test -z "$ac_c_werror_flag" ||
21585
 
         test ! -s conftest.err
21586
 
       } && test -s conftest$ac_exeext &&
21587
 
       $as_test_x conftest$ac_exeext; then
21588
 
  eval "$as_ac_var=yes"
21589
 
else
21590
 
  echo "$as_me: failed program was:" >&5
21591
 
sed 's/^/| /' conftest.$ac_ext >&5
21592
 
 
21593
 
        eval "$as_ac_var=no"
21594
 
fi
21595
 
 
21596
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21597
 
      conftest$ac_exeext conftest.$ac_ext
21598
 
fi
21599
 
ac_res=`eval echo '${'$as_ac_var'}'`
21600
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21601
 
echo "${ECHO_T}$ac_res" >&6; }
21602
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
21603
 
  cat >>confdefs.h <<_ACEOF
21604
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21605
 
_ACEOF
21606
 
 
21607
 
fi
21608
 
done
21609
 
 
21610
 
      fi
21611
 
 
21612
 
      #
21613
 
      # If we don't have everything we want, check in libintl
21614
 
      #
21615
 
      if test "$gt_cv_func_dgettext_libc" != "yes" \
21616
 
         || test "$gt_cv_func_ngettext_libc" != "yes" \
21617
 
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
21618
 
 
21619
 
        { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
21620
 
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
21621
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
21622
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21623
 
else
21624
 
  ac_check_lib_save_LIBS=$LIBS
21625
 
LIBS="-lintl  $LIBS"
21626
 
cat >conftest.$ac_ext <<_ACEOF
21627
 
/* confdefs.h.  */
21628
 
_ACEOF
21629
 
cat confdefs.h >>conftest.$ac_ext
21630
 
cat >>conftest.$ac_ext <<_ACEOF
21631
 
/* end confdefs.h.  */
21632
 
 
21633
 
/* Override any GCC internal prototype to avoid an error.
21634
 
   Use char because int might match the return type of a GCC
21635
 
   builtin and then its argument prototype would still apply.  */
21636
 
#ifdef __cplusplus
21637
 
extern "C"
21638
 
#endif
21639
 
char bindtextdomain ();
21640
 
int
21641
 
main ()
21642
 
{
21643
 
return bindtextdomain ();
21644
 
  ;
21645
 
  return 0;
21646
 
}
21647
 
_ACEOF
21648
 
rm -f conftest.$ac_objext conftest$ac_exeext
21649
 
if { (ac_try="$ac_link"
21650
 
case "(($ac_try" in
21651
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21652
 
  *) ac_try_echo=$ac_try;;
21653
 
esac
21654
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21655
 
  (eval "$ac_link") 2>conftest.er1
21656
 
  ac_status=$?
21657
 
  grep -v '^ *+' conftest.er1 >conftest.err
21658
 
  rm -f conftest.er1
21659
 
  cat conftest.err >&5
21660
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661
 
  (exit $ac_status); } && {
21662
 
         test -z "$ac_c_werror_flag" ||
21663
 
         test ! -s conftest.err
21664
 
       } && test -s conftest$ac_exeext &&
21665
 
       $as_test_x conftest$ac_exeext; then
21666
 
  ac_cv_lib_intl_bindtextdomain=yes
21667
 
else
21668
 
  echo "$as_me: failed program was:" >&5
21669
 
sed 's/^/| /' conftest.$ac_ext >&5
21670
 
 
21671
 
        ac_cv_lib_intl_bindtextdomain=no
21672
 
fi
21673
 
 
21674
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21675
 
      conftest$ac_exeext conftest.$ac_ext
21676
 
LIBS=$ac_check_lib_save_LIBS
21677
 
fi
21678
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
21679
 
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
21680
 
if test $ac_cv_lib_intl_bindtextdomain = yes; then
21681
 
  { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
21682
 
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
21683
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
21684
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21685
 
else
21686
 
  ac_check_lib_save_LIBS=$LIBS
21687
 
LIBS="-lintl  $LIBS"
21688
 
cat >conftest.$ac_ext <<_ACEOF
21689
 
/* confdefs.h.  */
21690
 
_ACEOF
21691
 
cat confdefs.h >>conftest.$ac_ext
21692
 
cat >>conftest.$ac_ext <<_ACEOF
21693
 
/* end confdefs.h.  */
21694
 
 
21695
 
/* Override any GCC internal prototype to avoid an error.
21696
 
   Use char because int might match the return type of a GCC
21697
 
   builtin and then its argument prototype would still apply.  */
21698
 
#ifdef __cplusplus
21699
 
extern "C"
21700
 
#endif
21701
 
char ngettext ();
21702
 
int
21703
 
main ()
21704
 
{
21705
 
return ngettext ();
21706
 
  ;
21707
 
  return 0;
21708
 
}
21709
 
_ACEOF
21710
 
rm -f conftest.$ac_objext conftest$ac_exeext
21711
 
if { (ac_try="$ac_link"
21712
 
case "(($ac_try" in
21713
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21714
 
  *) ac_try_echo=$ac_try;;
21715
 
esac
21716
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21717
 
  (eval "$ac_link") 2>conftest.er1
21718
 
  ac_status=$?
21719
 
  grep -v '^ *+' conftest.er1 >conftest.err
21720
 
  rm -f conftest.er1
21721
 
  cat conftest.err >&5
21722
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21723
 
  (exit $ac_status); } && {
21724
 
         test -z "$ac_c_werror_flag" ||
21725
 
         test ! -s conftest.err
21726
 
       } && test -s conftest$ac_exeext &&
21727
 
       $as_test_x conftest$ac_exeext; then
21728
 
  ac_cv_lib_intl_ngettext=yes
21729
 
else
21730
 
  echo "$as_me: failed program was:" >&5
21731
 
sed 's/^/| /' conftest.$ac_ext >&5
21732
 
 
21733
 
        ac_cv_lib_intl_ngettext=no
21734
 
fi
21735
 
 
21736
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21737
 
      conftest$ac_exeext conftest.$ac_ext
21738
 
LIBS=$ac_check_lib_save_LIBS
21739
 
fi
21740
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
21741
 
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
21742
 
if test $ac_cv_lib_intl_ngettext = yes; then
21743
 
  { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
21744
 
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
21745
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
21746
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21747
 
else
21748
 
  ac_check_lib_save_LIBS=$LIBS
21749
 
LIBS="-lintl  $LIBS"
21750
 
cat >conftest.$ac_ext <<_ACEOF
21751
 
/* confdefs.h.  */
21752
 
_ACEOF
21753
 
cat confdefs.h >>conftest.$ac_ext
21754
 
cat >>conftest.$ac_ext <<_ACEOF
21755
 
/* end confdefs.h.  */
21756
 
 
21757
 
/* Override any GCC internal prototype to avoid an error.
21758
 
   Use char because int might match the return type of a GCC
21759
 
   builtin and then its argument prototype would still apply.  */
21760
 
#ifdef __cplusplus
21761
 
extern "C"
21762
 
#endif
21763
 
char dgettext ();
21764
 
int
21765
 
main ()
21766
 
{
21767
 
return dgettext ();
21768
 
  ;
21769
 
  return 0;
21770
 
}
21771
 
_ACEOF
21772
 
rm -f conftest.$ac_objext conftest$ac_exeext
21773
 
if { (ac_try="$ac_link"
21774
 
case "(($ac_try" in
21775
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21776
 
  *) ac_try_echo=$ac_try;;
21777
 
esac
21778
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21779
 
  (eval "$ac_link") 2>conftest.er1
21780
 
  ac_status=$?
21781
 
  grep -v '^ *+' conftest.er1 >conftest.err
21782
 
  rm -f conftest.er1
21783
 
  cat conftest.err >&5
21784
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785
 
  (exit $ac_status); } && {
21786
 
         test -z "$ac_c_werror_flag" ||
21787
 
         test ! -s conftest.err
21788
 
       } && test -s conftest$ac_exeext &&
21789
 
       $as_test_x conftest$ac_exeext; then
21790
 
  ac_cv_lib_intl_dgettext=yes
21791
 
else
21792
 
  echo "$as_me: failed program was:" >&5
21793
 
sed 's/^/| /' conftest.$ac_ext >&5
21794
 
 
21795
 
        ac_cv_lib_intl_dgettext=no
21796
 
fi
21797
 
 
21798
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21799
 
      conftest$ac_exeext conftest.$ac_ext
21800
 
LIBS=$ac_check_lib_save_LIBS
21801
 
fi
21802
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
21803
 
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
21804
 
if test $ac_cv_lib_intl_dgettext = yes; then
21805
 
  gt_cv_func_dgettext_libintl=yes
21806
 
fi
21807
 
 
21808
 
fi
21809
 
 
21810
 
fi
21811
 
 
21812
 
 
21813
 
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
21814
 
          { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
21815
 
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
21816
 
          { echo "$as_me:$LINENO: result: " >&5
21817
 
echo "${ECHO_T}" >&6; }
21818
 
          { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
21819
 
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
21820
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
21821
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21822
 
else
21823
 
  ac_check_lib_save_LIBS=$LIBS
21824
 
LIBS="-lintl -liconv $LIBS"
21825
 
cat >conftest.$ac_ext <<_ACEOF
21826
 
/* confdefs.h.  */
21827
 
_ACEOF
21828
 
cat confdefs.h >>conftest.$ac_ext
21829
 
cat >>conftest.$ac_ext <<_ACEOF
21830
 
/* end confdefs.h.  */
21831
 
 
21832
 
/* Override any GCC internal prototype to avoid an error.
21833
 
   Use char because int might match the return type of a GCC
21834
 
   builtin and then its argument prototype would still apply.  */
21835
 
#ifdef __cplusplus
21836
 
extern "C"
21837
 
#endif
21838
 
char ngettext ();
21839
 
int
21840
 
main ()
21841
 
{
21842
 
return ngettext ();
21843
 
  ;
21844
 
  return 0;
21845
 
}
21846
 
_ACEOF
21847
 
rm -f conftest.$ac_objext conftest$ac_exeext
21848
 
if { (ac_try="$ac_link"
21849
 
case "(($ac_try" in
21850
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21851
 
  *) ac_try_echo=$ac_try;;
21852
 
esac
21853
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21854
 
  (eval "$ac_link") 2>conftest.er1
21855
 
  ac_status=$?
21856
 
  grep -v '^ *+' conftest.er1 >conftest.err
21857
 
  rm -f conftest.er1
21858
 
  cat conftest.err >&5
21859
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21860
 
  (exit $ac_status); } && {
21861
 
         test -z "$ac_c_werror_flag" ||
21862
 
         test ! -s conftest.err
21863
 
       } && test -s conftest$ac_exeext &&
21864
 
       $as_test_x conftest$ac_exeext; then
21865
 
  ac_cv_lib_intl_ngettext=yes
21866
 
else
21867
 
  echo "$as_me: failed program was:" >&5
21868
 
sed 's/^/| /' conftest.$ac_ext >&5
21869
 
 
21870
 
        ac_cv_lib_intl_ngettext=no
21871
 
fi
21872
 
 
21873
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21874
 
      conftest$ac_exeext conftest.$ac_ext
21875
 
LIBS=$ac_check_lib_save_LIBS
21876
 
fi
21877
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
21878
 
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
21879
 
if test $ac_cv_lib_intl_ngettext = yes; then
21880
 
  { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
21881
 
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
21882
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
21883
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21884
 
else
21885
 
  ac_check_lib_save_LIBS=$LIBS
21886
 
LIBS="-lintl -liconv $LIBS"
21887
 
cat >conftest.$ac_ext <<_ACEOF
21888
 
/* confdefs.h.  */
21889
 
_ACEOF
21890
 
cat confdefs.h >>conftest.$ac_ext
21891
 
cat >>conftest.$ac_ext <<_ACEOF
21892
 
/* end confdefs.h.  */
21893
 
 
21894
 
/* Override any GCC internal prototype to avoid an error.
21895
 
   Use char because int might match the return type of a GCC
21896
 
   builtin and then its argument prototype would still apply.  */
21897
 
#ifdef __cplusplus
21898
 
extern "C"
21899
 
#endif
21900
 
char dcgettext ();
21901
 
int
21902
 
main ()
21903
 
{
21904
 
return dcgettext ();
21905
 
  ;
21906
 
  return 0;
21907
 
}
21908
 
_ACEOF
21909
 
rm -f conftest.$ac_objext conftest$ac_exeext
21910
 
if { (ac_try="$ac_link"
21911
 
case "(($ac_try" in
21912
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21913
 
  *) ac_try_echo=$ac_try;;
21914
 
esac
21915
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21916
 
  (eval "$ac_link") 2>conftest.er1
21917
 
  ac_status=$?
21918
 
  grep -v '^ *+' conftest.er1 >conftest.err
21919
 
  rm -f conftest.er1
21920
 
  cat conftest.err >&5
21921
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21922
 
  (exit $ac_status); } && {
21923
 
         test -z "$ac_c_werror_flag" ||
21924
 
         test ! -s conftest.err
21925
 
       } && test -s conftest$ac_exeext &&
21926
 
       $as_test_x conftest$ac_exeext; then
21927
 
  ac_cv_lib_intl_dcgettext=yes
21928
 
else
21929
 
  echo "$as_me: failed program was:" >&5
21930
 
sed 's/^/| /' conftest.$ac_ext >&5
21931
 
 
21932
 
        ac_cv_lib_intl_dcgettext=no
21933
 
fi
21934
 
 
21935
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21936
 
      conftest$ac_exeext conftest.$ac_ext
21937
 
LIBS=$ac_check_lib_save_LIBS
21938
 
fi
21939
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
21940
 
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
21941
 
if test $ac_cv_lib_intl_dcgettext = yes; then
21942
 
  gt_cv_func_dgettext_libintl=yes
21943
 
                        libintl_extra_libs=-liconv
21944
 
else
21945
 
  :
21946
 
fi
21947
 
 
21948
 
else
21949
 
  :
21950
 
fi
21951
 
 
21952
 
        fi
21953
 
 
21954
 
        #
21955
 
        # If we found libintl, then check in it for bind_textdomain_codeset();
21956
 
        # we'll prefer libc if neither have bind_textdomain_codeset(),
21957
 
        # and both have dgettext and ngettext
21958
 
        #
21959
 
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
21960
 
          glib_save_LIBS="$LIBS"
21961
 
          LIBS="$LIBS -lintl $libintl_extra_libs"
21962
 
          unset ac_cv_func_bind_textdomain_codeset
21963
 
 
21964
 
for ac_func in bind_textdomain_codeset
21965
 
do
21966
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21967
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
21968
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21969
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21970
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21971
 
else
21972
 
  cat >conftest.$ac_ext <<_ACEOF
21973
 
/* confdefs.h.  */
21974
 
_ACEOF
21975
 
cat confdefs.h >>conftest.$ac_ext
21976
 
cat >>conftest.$ac_ext <<_ACEOF
21977
 
/* end confdefs.h.  */
21978
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21979
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21980
 
#define $ac_func innocuous_$ac_func
21981
 
 
21982
 
/* System header to define __stub macros and hopefully few prototypes,
21983
 
    which can conflict with char $ac_func (); below.
21984
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21985
 
    <limits.h> exists even on freestanding compilers.  */
21986
 
 
21987
 
#ifdef __STDC__
21988
 
# include <limits.h>
21989
 
#else
21990
 
# include <assert.h>
21991
 
#endif
21992
 
 
21993
 
#undef $ac_func
21994
 
 
21995
 
/* Override any GCC internal prototype to avoid an error.
21996
 
   Use char because int might match the return type of a GCC
21997
 
   builtin and then its argument prototype would still apply.  */
21998
 
#ifdef __cplusplus
21999
 
extern "C"
22000
 
#endif
22001
 
char $ac_func ();
22002
 
/* The GNU C library defines this for functions which it implements
22003
 
    to always fail with ENOSYS.  Some functions are actually named
22004
 
    something starting with __ and the normal name is an alias.  */
22005
 
#if defined __stub_$ac_func || defined __stub___$ac_func
22006
 
choke me
22007
 
#endif
22008
 
 
22009
 
int
22010
 
main ()
22011
 
{
22012
 
return $ac_func ();
22013
 
  ;
22014
 
  return 0;
22015
 
}
22016
 
_ACEOF
22017
 
rm -f conftest.$ac_objext conftest$ac_exeext
22018
 
if { (ac_try="$ac_link"
22019
 
case "(($ac_try" in
22020
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22021
 
  *) ac_try_echo=$ac_try;;
22022
 
esac
22023
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22024
 
  (eval "$ac_link") 2>conftest.er1
22025
 
  ac_status=$?
22026
 
  grep -v '^ *+' conftest.er1 >conftest.err
22027
 
  rm -f conftest.er1
22028
 
  cat conftest.err >&5
22029
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22030
 
  (exit $ac_status); } && {
22031
 
         test -z "$ac_c_werror_flag" ||
22032
 
         test ! -s conftest.err
22033
 
       } && test -s conftest$ac_exeext &&
22034
 
       $as_test_x conftest$ac_exeext; then
22035
 
  eval "$as_ac_var=yes"
22036
 
else
22037
 
  echo "$as_me: failed program was:" >&5
22038
 
sed 's/^/| /' conftest.$ac_ext >&5
22039
 
 
22040
 
        eval "$as_ac_var=no"
22041
 
fi
22042
 
 
22043
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22044
 
      conftest$ac_exeext conftest.$ac_ext
22045
 
fi
22046
 
ac_res=`eval echo '${'$as_ac_var'}'`
22047
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22048
 
echo "${ECHO_T}$ac_res" >&6; }
22049
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
22050
 
  cat >>confdefs.h <<_ACEOF
22051
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22052
 
_ACEOF
22053
 
 
22054
 
fi
22055
 
done
22056
 
 
22057
 
          LIBS="$glib_save_LIBS"
22058
 
 
22059
 
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
22060
 
            gt_cv_func_dgettext_libc=no
22061
 
          else
22062
 
            if test "$gt_cv_func_dgettext_libc" = "yes" \
22063
 
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
22064
 
              gt_cv_func_dgettext_libintl=no
22065
 
            fi
22066
 
          fi
22067
 
        fi
22068
 
      fi
22069
 
 
22070
 
      if test "$gt_cv_func_dgettext_libc" = "yes" \
22071
 
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
22072
 
        gt_cv_have_gettext=yes
22073
 
      fi
22074
 
 
22075
 
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
22076
 
        INTLLIBS="-lintl $libintl_extra_libs"
22077
 
      fi
22078
 
 
22079
 
      if test "$gt_cv_have_gettext" = "yes"; then
22080
 
 
22081
 
cat >>confdefs.h <<\_ACEOF
22082
 
#define HAVE_GETTEXT 1
22083
 
_ACEOF
22084
 
 
22085
 
        # Extract the first word of "msgfmt", so it can be a program name with args.
22086
 
set dummy msgfmt; ac_word=$2
22087
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22088
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22089
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
22090
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22091
 
else
22092
 
  case "$MSGFMT" in
22093
 
  /*)
22094
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
22095
 
  ;;
22096
 
  *)
22097
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
22098
 
  for ac_dir in $PATH; do
22099
 
    test -z "$ac_dir" && ac_dir=.
22100
 
    if test -f $ac_dir/$ac_word; then
22101
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
22102
 
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
22103
 
        break
22104
 
      fi
22105
 
    fi
22106
 
  done
22107
 
  IFS="$ac_save_ifs"
22108
 
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
22109
 
  ;;
22110
 
esac
22111
 
fi
22112
 
MSGFMT="$ac_cv_path_MSGFMT"
22113
 
if test "$MSGFMT" != "no"; then
22114
 
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
22115
 
echo "${ECHO_T}$MSGFMT" >&6; }
22116
 
else
22117
 
  { echo "$as_me:$LINENO: result: no" >&5
22118
 
echo "${ECHO_T}no" >&6; }
22119
 
fi
22120
 
        if test "$MSGFMT" != "no"; then
22121
 
          glib_save_LIBS="$LIBS"
22122
 
          LIBS="$LIBS $INTLLIBS"
22123
 
 
22124
 
for ac_func in dcgettext
22125
 
do
22126
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22127
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22128
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22129
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22130
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22131
 
else
22132
 
  cat >conftest.$ac_ext <<_ACEOF
22133
 
/* confdefs.h.  */
22134
 
_ACEOF
22135
 
cat confdefs.h >>conftest.$ac_ext
22136
 
cat >>conftest.$ac_ext <<_ACEOF
22137
 
/* end confdefs.h.  */
22138
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22139
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22140
 
#define $ac_func innocuous_$ac_func
22141
 
 
22142
 
/* System header to define __stub macros and hopefully few prototypes,
22143
 
    which can conflict with char $ac_func (); below.
22144
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22145
 
    <limits.h> exists even on freestanding compilers.  */
22146
 
 
22147
 
#ifdef __STDC__
22148
 
# include <limits.h>
22149
 
#else
22150
 
# include <assert.h>
22151
 
#endif
22152
 
 
22153
 
#undef $ac_func
22154
 
 
22155
 
/* Override any GCC internal prototype to avoid an error.
22156
 
   Use char because int might match the return type of a GCC
22157
 
   builtin and then its argument prototype would still apply.  */
22158
 
#ifdef __cplusplus
22159
 
extern "C"
22160
 
#endif
22161
 
char $ac_func ();
22162
 
/* The GNU C library defines this for functions which it implements
22163
 
    to always fail with ENOSYS.  Some functions are actually named
22164
 
    something starting with __ and the normal name is an alias.  */
22165
 
#if defined __stub_$ac_func || defined __stub___$ac_func
22166
 
choke me
22167
 
#endif
22168
 
 
22169
 
int
22170
 
main ()
22171
 
{
22172
 
return $ac_func ();
22173
 
  ;
22174
 
  return 0;
22175
 
}
22176
 
_ACEOF
22177
 
rm -f conftest.$ac_objext conftest$ac_exeext
22178
 
if { (ac_try="$ac_link"
22179
 
case "(($ac_try" in
22180
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22181
 
  *) ac_try_echo=$ac_try;;
22182
 
esac
22183
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22184
 
  (eval "$ac_link") 2>conftest.er1
22185
 
  ac_status=$?
22186
 
  grep -v '^ *+' conftest.er1 >conftest.err
22187
 
  rm -f conftest.er1
22188
 
  cat conftest.err >&5
22189
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22190
 
  (exit $ac_status); } && {
22191
 
         test -z "$ac_c_werror_flag" ||
22192
 
         test ! -s conftest.err
22193
 
       } && test -s conftest$ac_exeext &&
22194
 
       $as_test_x conftest$ac_exeext; then
22195
 
  eval "$as_ac_var=yes"
22196
 
else
22197
 
  echo "$as_me: failed program was:" >&5
22198
 
sed 's/^/| /' conftest.$ac_ext >&5
22199
 
 
22200
 
        eval "$as_ac_var=no"
22201
 
fi
22202
 
 
22203
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22204
 
      conftest$ac_exeext conftest.$ac_ext
22205
 
fi
22206
 
ac_res=`eval echo '${'$as_ac_var'}'`
22207
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22208
 
echo "${ECHO_T}$ac_res" >&6; }
22209
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
22210
 
  cat >>confdefs.h <<_ACEOF
22211
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22212
 
_ACEOF
22213
 
 
22214
 
fi
22215
 
done
22216
 
 
22217
 
          MSGFMT_OPTS=
22218
 
          { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
22219
 
echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
22220
 
          cat >conftest.foo <<_ACEOF
22221
 
 
22222
 
msgid ""
22223
 
msgstr ""
22224
 
"Content-Type: text/plain; charset=UTF-8\n"
22225
 
"Project-Id-Version: test 1.0\n"
22226
 
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
22227
 
"Last-Translator: test <foo@bar.xx>\n"
22228
 
"Language-Team: C <LL@li.org>\n"
22229
 
"MIME-Version: 1.0\n"
22230
 
"Content-Transfer-Encoding: 8bit\n"
22231
 
 
22232
 
_ACEOF
22233
 
if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
22234
 
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
22235
 
  ac_status=$?
22236
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237
 
  (exit $ac_status); }; then
22238
 
  MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
22239
 
echo "${ECHO_T}yes" >&6; }
22240
 
else { echo "$as_me:$LINENO: result: no" >&5
22241
 
echo "${ECHO_T}no" >&6; }
22242
 
echo "$as_me: failed input was:" >&5
22243
 
sed 's/^/| /' conftest.foo >&5
22244
 
fi
22245
 
 
22246
 
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
22247
 
set dummy gmsgfmt; ac_word=$2
22248
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22249
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22250
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
22251
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22252
 
else
22253
 
  case $GMSGFMT in
22254
 
  [\\/]* | ?:[\\/]*)
22255
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
22256
 
  ;;
22257
 
  *)
22258
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22259
 
for as_dir in $PATH
22260
 
do
22261
 
  IFS=$as_save_IFS
22262
 
  test -z "$as_dir" && as_dir=.
22263
 
  for ac_exec_ext in '' $ac_executable_extensions; do
22264
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22265
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
22266
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22267
 
    break 2
22268
 
  fi
22269
 
done
22270
 
done
22271
 
IFS=$as_save_IFS
22272
 
 
22273
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
22274
 
  ;;
22275
 
esac
22276
 
fi
22277
 
GMSGFMT=$ac_cv_path_GMSGFMT
22278
 
if test -n "$GMSGFMT"; then
22279
 
  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
22280
 
echo "${ECHO_T}$GMSGFMT" >&6; }
22281
 
else
22282
 
  { echo "$as_me:$LINENO: result: no" >&5
22283
 
echo "${ECHO_T}no" >&6; }
22284
 
fi
22285
 
 
22286
 
 
22287
 
          # Extract the first word of "xgettext", so it can be a program name with args.
22288
 
set dummy xgettext; ac_word=$2
22289
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22290
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22291
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
22292
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22293
 
else
22294
 
  case "$XGETTEXT" in
22295
 
  /*)
22296
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
22297
 
  ;;
22298
 
  *)
22299
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
22300
 
  for ac_dir in $PATH; do
22301
 
    test -z "$ac_dir" && ac_dir=.
22302
 
    if test -f $ac_dir/$ac_word; then
22303
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
22304
 
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
22305
 
        break
22306
 
      fi
22307
 
    fi
22308
 
  done
22309
 
  IFS="$ac_save_ifs"
22310
 
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
22311
 
  ;;
22312
 
esac
22313
 
fi
22314
 
XGETTEXT="$ac_cv_path_XGETTEXT"
22315
 
if test "$XGETTEXT" != ":"; then
22316
 
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
22317
 
echo "${ECHO_T}$XGETTEXT" >&6; }
22318
 
else
22319
 
  { echo "$as_me:$LINENO: result: no" >&5
22320
 
echo "${ECHO_T}no" >&6; }
22321
 
fi
22322
 
 
22323
 
          cat >conftest.$ac_ext <<_ACEOF
22324
 
/* confdefs.h.  */
22325
 
_ACEOF
22326
 
cat confdefs.h >>conftest.$ac_ext
22327
 
cat >>conftest.$ac_ext <<_ACEOF
22328
 
/* end confdefs.h.  */
22329
 
 
22330
 
int
22331
 
main ()
22332
 
{
22333
 
extern int _nl_msg_cat_cntr;
22334
 
                         return _nl_msg_cat_cntr
22335
 
  ;
22336
 
  return 0;
22337
 
}
22338
 
_ACEOF
22339
 
rm -f conftest.$ac_objext conftest$ac_exeext
22340
 
if { (ac_try="$ac_link"
22341
 
case "(($ac_try" in
22342
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22343
 
  *) ac_try_echo=$ac_try;;
22344
 
esac
22345
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22346
 
  (eval "$ac_link") 2>conftest.er1
22347
 
  ac_status=$?
22348
 
  grep -v '^ *+' conftest.er1 >conftest.err
22349
 
  rm -f conftest.er1
22350
 
  cat conftest.err >&5
22351
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22352
 
  (exit $ac_status); } && {
22353
 
         test -z "$ac_c_werror_flag" ||
22354
 
         test ! -s conftest.err
22355
 
       } && test -s conftest$ac_exeext &&
22356
 
       $as_test_x conftest$ac_exeext; then
22357
 
  CATOBJEXT=.gmo
22358
 
             DATADIRNAME=share
22359
 
else
22360
 
  echo "$as_me: failed program was:" >&5
22361
 
sed 's/^/| /' conftest.$ac_ext >&5
22362
 
 
22363
 
        case $host in
22364
 
            *-*-solaris*)
22365
 
                                                                { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
22366
 
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
22367
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
22368
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22369
 
else
22370
 
  cat >conftest.$ac_ext <<_ACEOF
22371
 
/* confdefs.h.  */
22372
 
_ACEOF
22373
 
cat confdefs.h >>conftest.$ac_ext
22374
 
cat >>conftest.$ac_ext <<_ACEOF
22375
 
/* end confdefs.h.  */
22376
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
22377
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22378
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
22379
 
 
22380
 
/* System header to define __stub macros and hopefully few prototypes,
22381
 
    which can conflict with char bind_textdomain_codeset (); below.
22382
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22383
 
    <limits.h> exists even on freestanding compilers.  */
22384
 
 
22385
 
#ifdef __STDC__
22386
 
# include <limits.h>
22387
 
#else
22388
 
# include <assert.h>
22389
 
#endif
22390
 
 
22391
 
#undef bind_textdomain_codeset
22392
 
 
22393
 
/* Override any GCC internal prototype to avoid an error.
22394
 
   Use char because int might match the return type of a GCC
22395
 
   builtin and then its argument prototype would still apply.  */
22396
 
#ifdef __cplusplus
22397
 
extern "C"
22398
 
#endif
22399
 
char bind_textdomain_codeset ();
22400
 
/* The GNU C library defines this for functions which it implements
22401
 
    to always fail with ENOSYS.  Some functions are actually named
22402
 
    something starting with __ and the normal name is an alias.  */
22403
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
22404
 
choke me
22405
 
#endif
22406
 
 
22407
 
int
22408
 
main ()
22409
 
{
22410
 
return bind_textdomain_codeset ();
22411
 
  ;
22412
 
  return 0;
22413
 
}
22414
 
_ACEOF
22415
 
rm -f conftest.$ac_objext conftest$ac_exeext
22416
 
if { (ac_try="$ac_link"
22417
 
case "(($ac_try" in
22418
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22419
 
  *) ac_try_echo=$ac_try;;
22420
 
esac
22421
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22422
 
  (eval "$ac_link") 2>conftest.er1
22423
 
  ac_status=$?
22424
 
  grep -v '^ *+' conftest.er1 >conftest.err
22425
 
  rm -f conftest.er1
22426
 
  cat conftest.err >&5
22427
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428
 
  (exit $ac_status); } && {
22429
 
         test -z "$ac_c_werror_flag" ||
22430
 
         test ! -s conftest.err
22431
 
       } && test -s conftest$ac_exeext &&
22432
 
       $as_test_x conftest$ac_exeext; then
22433
 
  ac_cv_func_bind_textdomain_codeset=yes
22434
 
else
22435
 
  echo "$as_me: failed program was:" >&5
22436
 
sed 's/^/| /' conftest.$ac_ext >&5
22437
 
 
22438
 
        ac_cv_func_bind_textdomain_codeset=no
22439
 
fi
22440
 
 
22441
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22442
 
      conftest$ac_exeext conftest.$ac_ext
22443
 
fi
22444
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
22445
 
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
22446
 
if test $ac_cv_func_bind_textdomain_codeset = yes; then
22447
 
  CATOBJEXT=.gmo
22448
 
               DATADIRNAME=share
22449
 
else
22450
 
  CATOBJEXT=.mo
22451
 
               DATADIRNAME=lib
22452
 
fi
22453
 
 
22454
 
            ;;
22455
 
            *)
22456
 
            CATOBJEXT=.mo
22457
 
            DATADIRNAME=lib
22458
 
            ;;
22459
 
            esac
22460
 
fi
22461
 
 
22462
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22463
 
      conftest$ac_exeext conftest.$ac_ext
22464
 
          LIBS="$glib_save_LIBS"
22465
 
          INSTOBJEXT=.mo
22466
 
        else
22467
 
          gt_cv_have_gettext=no
22468
 
        fi
22469
 
      fi
22470
 
 
22471
 
fi
22472
 
 
22473
 
 
22474
 
 
22475
 
    if test "$gt_cv_have_gettext" = "yes" ; then
22476
 
 
22477
 
cat >>confdefs.h <<\_ACEOF
22478
 
#define ENABLE_NLS 1
22479
 
_ACEOF
22480
 
 
22481
 
    fi
22482
 
 
22483
 
        if test "$XGETTEXT" != ":"; then
22484
 
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
22485
 
        : ;
22486
 
      else
22487
 
        { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
22488
 
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
22489
 
        XGETTEXT=":"
22490
 
      fi
22491
 
    fi
22492
 
 
22493
 
    # We need to process the po/ directory.
22494
 
    POSUB=po
22495
 
 
22496
 
    ac_config_commands="$ac_config_commands default-1"
22497
 
 
22498
 
 
22499
 
                for lang in $ALL_LINGUAS; do
22500
 
      GMOFILES="$GMOFILES $lang.gmo"
22501
 
      POFILES="$POFILES $lang.po"
22502
 
    done
22503
 
 
22504
 
 
22505
 
 
22506
 
 
22507
 
 
22508
 
 
22509
 
 
22510
 
 
22511
 
 
22512
 
 
22513
 
 
22514
 
 
22515
 
 
22516
 
   if test "$gt_cv_have_gettext" = "yes"; then
22517
 
     if test "x$ALL_LINGUAS" = "x"; then
22518
 
       LINGUAS=
22519
 
     else
22520
 
       { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
22521
 
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
22522
 
       NEW_LINGUAS=
22523
 
       for presentlang in $ALL_LINGUAS; do
22524
 
         useit=no
22525
 
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
22526
 
           desiredlanguages="$LINGUAS"
22527
 
         else
22528
 
           desiredlanguages="$ALL_LINGUAS"
22529
 
         fi
22530
 
         for desiredlang in $desiredlanguages; do
22531
 
           # Use the presentlang catalog if desiredlang is
22532
 
           #   a. equal to presentlang, or
22533
 
           #   b. a variant of presentlang (because in this case,
22534
 
           #      presentlang can be used as a fallback for messages
22535
 
           #      which are not translated in the desiredlang catalog).
22536
 
           case "$desiredlang" in
22537
 
             "$presentlang"*) useit=yes;;
22538
 
           esac
22539
 
         done
22540
 
         if test $useit = yes; then
22541
 
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
22542
 
         fi
22543
 
       done
22544
 
       LINGUAS=$NEW_LINGUAS
22545
 
       { echo "$as_me:$LINENO: result: $LINGUAS" >&5
22546
 
echo "${ECHO_T}$LINGUAS" >&6; }
22547
 
     fi
22548
 
 
22549
 
          if test -n "$LINGUAS"; then
22550
 
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
22551
 
     fi
22552
 
   fi
22553
 
 
22554
 
            MKINSTALLDIRS=
22555
 
   if test -n "$ac_aux_dir"; then
22556
 
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
22557
 
   fi
22558
 
   if test -z "$MKINSTALLDIRS"; then
22559
 
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
22560
 
   fi
22561
 
 
22562
 
 
22563
 
         test -d po || mkdir po
22564
 
   if test "x$srcdir" != "x."; then
22565
 
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
22566
 
       posrcprefix="$srcdir/"
22567
 
     else
22568
 
       posrcprefix="../$srcdir/"
22569
 
     fi
22570
 
   else
22571
 
     posrcprefix="../"
22572
 
   fi
22573
 
   rm -f po/POTFILES
22574
 
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
22575
 
        < $srcdir/po/POTFILES.in > po/POTFILES
22576
 
 
22577
 
glib_save_prefix="$prefix"
22578
 
glib_save_exec_prefix="$exec_prefix"
22579
 
glib_save_datarootdir="$datarootdir"
22580
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
22581
 
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
22582
 
datarootdir=`eval echo "${datarootdir}"`
22583
 
if test "x$CATOBJEXT" = "x.mo" ; then
22584
 
  localedir=`eval echo "${libdir}/locale"`
22585
 
else
22586
 
  localedir=`eval echo "${datadir}/locale"`
22587
 
fi
22588
 
prefix="$glib_save_prefix"
22589
 
exec_prefix="$glib_save_exec_prefix"
22590
 
datarootdir="$glib_save_datarootdir"
22591
 
 
22592
 
cat >>confdefs.h <<_ACEOF
22593
 
#define NAUTILUS_SHARE_LOCALEDIR "$localedir"
22594
 
_ACEOF
22595
 
 
22596
 
 
22597
 
 
22598
 
# AM_GNOME_GETTEXT above substs $DATADIRNAME
22599
 
# this is the directory where the *.{mo,gmo} files are installed
22600
 
gnomelocaledir='${prefix}/${DATADIRNAME}/locale'
22601
 
 
22602
 
 
22603
 
 
22604
 
 
22605
 
ac_config_files="$ac_config_files Makefile src/Makefile pixmaps/Makefile interfaces/Makefile po/Makefile.in"
22606
 
 
22607
 
cat >confcache <<\_ACEOF
22608
 
# This file is a shell script that caches the results of configure
22609
 
# tests run on this system so they can be shared between configure
22610
 
# scripts and configure runs, see configure's option --config-cache.
22611
 
# It is not useful on other systems.  If it contains results you don't
22612
 
# want to keep, you may remove or edit it.
22613
 
#
22614
 
# config.status only pays attention to the cache file if you give it
22615
 
# the --recheck option to rerun configure.
22616
 
#
22617
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
22618
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
22619
 
# following values.
22620
 
 
22621
 
_ACEOF
22622
 
 
22623
 
# The following way of writing the cache mishandles newlines in values,
22624
 
# but we know of no workaround that is simple, portable, and efficient.
22625
 
# So, we kill variables containing newlines.
22626
 
# Ultrix sh set writes to stderr and can't be redirected directly,
22627
 
# and sets the high bit in the cache file unless we assign to the vars.
22628
 
(
22629
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22630
 
    eval ac_val=\$$ac_var
22631
 
    case $ac_val in #(
22632
 
    *${as_nl}*)
22633
 
      case $ac_var in #(
22634
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22635
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22636
 
      esac
22637
 
      case $ac_var in #(
22638
 
      _ | IFS | as_nl) ;; #(
22639
 
      *) $as_unset $ac_var ;;
22640
 
      esac ;;
22641
 
    esac
22642
 
  done
22643
 
 
22644
 
  (set) 2>&1 |
22645
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
22646
 
    *${as_nl}ac_space=\ *)
22647
 
      # `set' does not quote correctly, so add quotes (double-quote
22648
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
22649
 
      sed -n \
22650
 
        "s/'/'\\\\''/g;
22651
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22652
 
      ;; #(
22653
 
    *)
22654
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
22655
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22656
 
      ;;
22657
 
    esac |
22658
 
    sort
22659
 
) |
22660
 
  sed '
22661
 
     /^ac_cv_env_/b end
22662
 
     t clear
22663
 
     :clear
22664
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22665
 
     t end
22666
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22667
 
     :end' >>confcache
22668
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22669
 
  if test -w "$cache_file"; then
22670
 
    test "x$cache_file" != "x/dev/null" &&
22671
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22672
 
echo "$as_me: updating cache $cache_file" >&6;}
22673
 
    cat confcache >$cache_file
22674
 
  else
22675
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22676
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22677
 
  fi
22678
 
fi
22679
 
rm -f confcache
22680
 
 
22681
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
22682
 
# Let make expand exec_prefix.
22683
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22684
 
 
22685
 
DEFS=-DHAVE_CONFIG_H
22686
 
 
22687
 
ac_libobjs=
22688
 
ac_ltlibobjs=
22689
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22690
 
  # 1. Remove the extension, and $U if already installed.
22691
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22692
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
22693
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
22694
 
  #    will be set to the directory where LIBOBJS objects are built.
22695
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22696
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22697
 
done
22698
 
LIBOBJS=$ac_libobjs
22699
 
 
22700
 
LTLIBOBJS=$ac_ltlibobjs
22701
 
 
22702
 
 
22703
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22704
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22705
 
Usually this means the macro was only invoked conditionally." >&5
22706
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
22707
 
Usually this means the macro was only invoked conditionally." >&2;}
22708
 
   { (exit 1); exit 1; }; }
22709
 
fi
22710
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22711
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22712
 
Usually this means the macro was only invoked conditionally." >&5
22713
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22714
 
Usually this means the macro was only invoked conditionally." >&2;}
22715
 
   { (exit 1); exit 1; }; }
22716
 
fi
22717
 
 
22718
 
  ac_config_commands="$ac_config_commands po/stamp-it"
22719
 
 
22720
 
 
22721
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22722
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22723
 
Usually this means the macro was only invoked conditionally." >&5
22724
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22725
 
Usually this means the macro was only invoked conditionally." >&2;}
22726
 
   { (exit 1); exit 1; }; }
22727
 
fi
22728
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22729
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22730
 
Usually this means the macro was only invoked conditionally." >&5
22731
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22732
 
Usually this means the macro was only invoked conditionally." >&2;}
22733
 
   { (exit 1); exit 1; }; }
22734
 
fi
22735
 
 
22736
 
: ${CONFIG_STATUS=./config.status}
22737
 
ac_clean_files_save=$ac_clean_files
22738
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22739
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22740
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
22741
 
cat >$CONFIG_STATUS <<_ACEOF
22742
 
#! $SHELL
22743
 
# Generated by $as_me.
22744
 
# Run this file to recreate the current configuration.
22745
 
# Compiler output produced by configure, useful for debugging
22746
 
# configure, is in config.log if it exists.
22747
 
 
22748
 
debug=false
22749
 
ac_cs_recheck=false
22750
 
ac_cs_silent=false
22751
 
SHELL=\${CONFIG_SHELL-$SHELL}
22752
 
_ACEOF
22753
 
 
22754
 
cat >>$CONFIG_STATUS <<\_ACEOF
22755
 
## --------------------- ##
22756
 
## M4sh Initialization.  ##
22757
 
## --------------------- ##
22758
 
 
22759
 
# Be more Bourne compatible
22760
 
DUALCASE=1; export DUALCASE # for MKS sh
22761
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22762
 
  emulate sh
22763
 
  NULLCMD=:
22764
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22765
 
  # is contrary to our usage.  Disable this feature.
22766
 
  alias -g '${1+"$@"}'='"$@"'
22767
 
  setopt NO_GLOB_SUBST
22768
 
else
22769
 
  case `(set -o) 2>/dev/null` in
22770
 
  *posix*) set -o posix ;;
22771
 
esac
22772
 
 
22773
 
fi
22774
 
 
22775
 
 
22776
 
 
22777
 
 
22778
 
# PATH needs CR
22779
 
# Avoid depending upon Character Ranges.
22780
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22781
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22782
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22783
 
as_cr_digits='0123456789'
22784
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
22785
 
 
22786
 
# The user is always right.
22787
 
if test "${PATH_SEPARATOR+set}" != set; then
22788
 
  echo "#! /bin/sh" >conf$$.sh
22789
 
  echo  "exit 0"   >>conf$$.sh
22790
 
  chmod +x conf$$.sh
22791
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22792
 
    PATH_SEPARATOR=';'
22793
 
  else
22794
 
    PATH_SEPARATOR=:
22795
 
  fi
22796
 
  rm -f conf$$.sh
22797
 
fi
22798
 
 
22799
 
# Support unset when possible.
22800
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22801
 
  as_unset=unset
22802
 
else
22803
 
  as_unset=false
22804
 
fi
22805
 
 
22806
 
 
22807
 
# IFS
22808
 
# We need space, tab and new line, in precisely that order.  Quoting is
22809
 
# there to prevent editors from complaining about space-tab.
22810
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
22811
 
# splitting by setting IFS to empty value.)
22812
 
as_nl='
22813
 
'
22814
 
IFS=" ""        $as_nl"
22815
 
 
22816
 
# Find who we are.  Look in the path if we contain no directory separator.
22817
 
case $0 in
22818
 
  *[\\/]* ) as_myself=$0 ;;
22819
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22820
 
for as_dir in $PATH
22821
 
do
22822
 
  IFS=$as_save_IFS
22823
 
  test -z "$as_dir" && as_dir=.
22824
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22825
 
done
22826
 
IFS=$as_save_IFS
22827
 
 
22828
 
     ;;
22829
 
esac
22830
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
22831
 
# in which case we are not to be found in the path.
22832
 
if test "x$as_myself" = x; then
22833
 
  as_myself=$0
22834
 
fi
22835
 
if test ! -f "$as_myself"; then
22836
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22837
 
  { (exit 1); exit 1; }
22838
 
fi
22839
 
 
22840
 
# Work around bugs in pre-3.0 UWIN ksh.
22841
 
for as_var in ENV MAIL MAILPATH
22842
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22843
 
done
22844
 
PS1='$ '
22845
 
PS2='> '
22846
 
PS4='+ '
22847
 
 
22848
 
# NLS nuisances.
22849
 
for as_var in \
22850
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22851
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22852
 
  LC_TELEPHONE LC_TIME
22853
 
do
22854
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22855
 
    eval $as_var=C; export $as_var
22856
 
  else
22857
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22858
 
  fi
22859
 
done
22860
 
 
22861
 
# Required to use basename.
22862
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
22863
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
22864
 
  as_expr=expr
22865
 
else
22866
 
  as_expr=false
22867
 
fi
22868
 
 
22869
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22870
 
  as_basename=basename
22871
 
else
22872
 
  as_basename=false
22873
 
fi
22874
 
 
22875
 
 
22876
 
# Name of the executable.
22877
 
as_me=`$as_basename -- "$0" ||
22878
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22879
 
         X"$0" : 'X\(//\)$' \| \
22880
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22881
 
echo X/"$0" |
22882
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
22883
 
            s//\1/
22884
 
            q
22885
 
          }
22886
 
          /^X\/\(\/\/\)$/{
22887
 
            s//\1/
22888
 
            q
22889
 
          }
22890
 
          /^X\/\(\/\).*/{
22891
 
            s//\1/
22892
 
            q
22893
 
          }
22894
 
          s/.*/./; q'`
22895
 
 
22896
 
# CDPATH.
22897
 
$as_unset CDPATH
22898
 
 
22899
 
 
22900
 
 
22901
 
  as_lineno_1=$LINENO
22902
 
  as_lineno_2=$LINENO
22903
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
22904
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22905
 
 
22906
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22907
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
22908
 
  # line-number line after each line using $LINENO; the second 'sed'
22909
 
  # does the real work.  The second script uses 'N' to pair each
22910
 
  # line-number line with the line containing $LINENO, and appends
22911
 
  # trailing '-' during substitution so that $LINENO is not a special
22912
 
  # case at line end.
22913
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22914
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
22915
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
22916
 
  sed -n '
22917
 
    p
22918
 
    /[$]LINENO/=
22919
 
  ' <$as_myself |
22920
 
    sed '
22921
 
      s/[$]LINENO.*/&-/
22922
 
      t lineno
22923
 
      b
22924
 
      :lineno
22925
 
      N
22926
 
      :loop
22927
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22928
 
      t loop
22929
 
      s/-\n.*//
22930
 
    ' >$as_me.lineno &&
22931
 
  chmod +x "$as_me.lineno" ||
22932
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22933
 
   { (exit 1); exit 1; }; }
22934
 
 
22935
 
  # Don't try to exec as it changes $[0], causing all sort of problems
22936
 
  # (the dirname of $[0] is not the place where we might find the
22937
 
  # original and so on.  Autoconf is especially sensitive to this).
22938
 
  . "./$as_me.lineno"
22939
 
  # Exit status is that of the last command.
22940
 
  exit
22941
 
}
22942
 
 
22943
 
 
22944
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22945
 
  as_dirname=dirname
22946
 
else
22947
 
  as_dirname=false
22948
 
fi
22949
 
 
22950
 
ECHO_C= ECHO_N= ECHO_T=
22951
 
case `echo -n x` in
22952
 
-n*)
22953
 
  case `echo 'x\c'` in
22954
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
22955
 
  *)   ECHO_C='\c';;
22956
 
  esac;;
22957
 
*)
22958
 
  ECHO_N='-n';;
22959
 
esac
22960
 
 
22961
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
22962
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
22963
 
  as_expr=expr
22964
 
else
22965
 
  as_expr=false
22966
 
fi
22967
 
 
22968
 
rm -f conf$$ conf$$.exe conf$$.file
22969
 
if test -d conf$$.dir; then
22970
 
  rm -f conf$$.dir/conf$$.file
22971
 
else
22972
 
  rm -f conf$$.dir
22973
 
  mkdir conf$$.dir
22974
 
fi
22975
 
echo >conf$$.file
22976
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
22977
 
  as_ln_s='ln -s'
22978
 
  # ... but there are two gotchas:
22979
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22980
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22981
 
  # In both cases, we have to default to `cp -p'.
22982
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22983
 
    as_ln_s='cp -p'
22984
 
elif ln conf$$.file conf$$ 2>/dev/null; then
22985
 
  as_ln_s=ln
22986
 
else
22987
 
  as_ln_s='cp -p'
22988
 
fi
22989
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22990
 
rmdir conf$$.dir 2>/dev/null
22991
 
 
22992
 
if mkdir -p . 2>/dev/null; then
22993
 
  as_mkdir_p=:
22994
 
else
22995
 
  test -d ./-p && rmdir ./-p
22996
 
  as_mkdir_p=false
22997
 
fi
22998
 
 
22999
 
if test -x / >/dev/null 2>&1; then
23000
 
  as_test_x='test -x'
23001
 
else
23002
 
  if ls -dL / >/dev/null 2>&1; then
23003
 
    as_ls_L_option=L
23004
 
  else
23005
 
    as_ls_L_option=
23006
 
  fi
23007
 
  as_test_x='
23008
 
    eval sh -c '\''
23009
 
      if test -d "$1"; then
23010
 
        test -d "$1/.";
23011
 
      else
23012
 
        case $1 in
23013
 
        -*)set "./$1";;
23014
 
        esac;
23015
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
23016
 
        ???[sx]*):;;*)false;;esac;fi
23017
 
    '\'' sh
23018
 
  '
23019
 
fi
23020
 
as_executable_p=$as_test_x
23021
 
 
23022
 
# Sed expression to map a string onto a valid CPP name.
23023
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23024
 
 
23025
 
# Sed expression to map a string onto a valid variable name.
23026
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23027
 
 
23028
 
 
23029
 
exec 6>&1
23030
 
 
23031
 
# Save the log message, to keep $[0] and so on meaningful, and to
23032
 
# report actual input values of CONFIG_FILES etc. instead of their
23033
 
# values after options handling.
23034
 
ac_log="
23035
 
This file was extended by nautilus-share $as_me 0.7.2, which was
23036
 
generated by GNU Autoconf 2.61.  Invocation command line was
23037
 
 
23038
 
  CONFIG_FILES    = $CONFIG_FILES
23039
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
23040
 
  CONFIG_LINKS    = $CONFIG_LINKS
23041
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
23042
 
  $ $0 $@
23043
 
 
23044
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
23045
 
"
23046
 
 
23047
 
_ACEOF
23048
 
 
23049
 
cat >>$CONFIG_STATUS <<_ACEOF
23050
 
# Files that config.status was made for.
23051
 
config_files="$ac_config_files"
23052
 
config_headers="$ac_config_headers"
23053
 
config_commands="$ac_config_commands"
23054
 
 
23055
 
_ACEOF
23056
 
 
23057
 
cat >>$CONFIG_STATUS <<\_ACEOF
23058
 
ac_cs_usage="\
23059
 
\`$as_me' instantiates files from templates according to the
23060
 
current configuration.
23061
 
 
23062
 
Usage: $0 [OPTIONS] [FILE]...
23063
 
 
23064
 
  -h, --help       print this help, then exit
23065
 
  -V, --version    print version number and configuration settings, then exit
23066
 
  -q, --quiet      do not print progress messages
23067
 
  -d, --debug      don't remove temporary files
23068
 
      --recheck    update $as_me by reconfiguring in the same conditions
23069
 
  --file=FILE[:TEMPLATE]
23070
 
                   instantiate the configuration file FILE
23071
 
  --header=FILE[:TEMPLATE]
23072
 
                   instantiate the configuration header FILE
23073
 
 
23074
 
Configuration files:
23075
 
$config_files
23076
 
 
23077
 
Configuration headers:
23078
 
$config_headers
23079
 
 
23080
 
Configuration commands:
23081
 
$config_commands
23082
 
 
23083
 
Report bugs to <bug-autoconf@gnu.org>."
23084
 
 
23085
 
_ACEOF
23086
 
cat >>$CONFIG_STATUS <<_ACEOF
23087
 
ac_cs_version="\\
23088
 
nautilus-share config.status 0.7.2
23089
 
configured by $0, generated by GNU Autoconf 2.61,
23090
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23091
 
 
23092
 
Copyright (C) 2006 Free Software Foundation, Inc.
23093
 
This config.status script is free software; the Free Software Foundation
23094
 
gives unlimited permission to copy, distribute and modify it."
23095
 
 
23096
 
ac_pwd='$ac_pwd'
23097
 
srcdir='$srcdir'
23098
 
INSTALL='$INSTALL'
23099
 
_ACEOF
23100
 
 
23101
 
cat >>$CONFIG_STATUS <<\_ACEOF
23102
 
# If no file are specified by the user, then we need to provide default
23103
 
# value.  By we need to know if files were specified by the user.
23104
 
ac_need_defaults=:
23105
 
while test $# != 0
23106
 
do
23107
 
  case $1 in
23108
 
  --*=*)
23109
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
23110
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23111
 
    ac_shift=:
23112
 
    ;;
23113
 
  *)
23114
 
    ac_option=$1
23115
 
    ac_optarg=$2
23116
 
    ac_shift=shift
23117
 
    ;;
23118
 
  esac
23119
 
 
23120
 
  case $ac_option in
23121
 
  # Handling of the options.
23122
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23123
 
    ac_cs_recheck=: ;;
23124
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23125
 
    echo "$ac_cs_version"; exit ;;
23126
 
  --debug | --debu | --deb | --de | --d | -d )
23127
 
    debug=: ;;
23128
 
  --file | --fil | --fi | --f )
23129
 
    $ac_shift
23130
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23131
 
    ac_need_defaults=false;;
23132
 
  --header | --heade | --head | --hea )
23133
 
    $ac_shift
23134
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23135
 
    ac_need_defaults=false;;
23136
 
  --he | --h)
23137
 
    # Conflict between --help and --header
23138
 
    { echo "$as_me: error: ambiguous option: $1
23139
 
Try \`$0 --help' for more information." >&2
23140
 
   { (exit 1); exit 1; }; };;
23141
 
  --help | --hel | -h )
23142
 
    echo "$ac_cs_usage"; exit ;;
23143
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23144
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
23145
 
    ac_cs_silent=: ;;
23146
 
 
23147
 
  # This is an error.
23148
 
  -*) { echo "$as_me: error: unrecognized option: $1
23149
 
Try \`$0 --help' for more information." >&2
23150
 
   { (exit 1); exit 1; }; } ;;
23151
 
 
23152
 
  *) ac_config_targets="$ac_config_targets $1"
23153
 
     ac_need_defaults=false ;;
23154
 
 
23155
 
  esac
23156
 
  shift
23157
 
done
23158
 
 
23159
 
ac_configure_extra_args=
23160
 
 
23161
 
if $ac_cs_silent; then
23162
 
  exec 6>/dev/null
23163
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
23164
 
fi
23165
 
 
23166
 
_ACEOF
23167
 
cat >>$CONFIG_STATUS <<_ACEOF
23168
 
if \$ac_cs_recheck; then
23169
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23170
 
  CONFIG_SHELL=$SHELL
23171
 
  export CONFIG_SHELL
23172
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23173
 
fi
23174
 
 
23175
 
_ACEOF
23176
 
cat >>$CONFIG_STATUS <<\_ACEOF
23177
 
exec 5>>config.log
23178
 
{
23179
 
  echo
23180
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23181
 
## Running $as_me. ##
23182
 
_ASBOX
23183
 
  echo "$ac_log"
23184
 
} >&5
23185
 
 
23186
 
_ACEOF
23187
 
cat >>$CONFIG_STATUS <<_ACEOF
23188
 
#
23189
 
# INIT-COMMANDS
23190
 
#
23191
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23192
 
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
23193
 
prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
23194
 
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}'
23195
 
 
23196
 
 
23197
 
_ACEOF
23198
 
 
23199
 
cat >>$CONFIG_STATUS <<\_ACEOF
23200
 
 
23201
 
# Handling of arguments.
23202
 
for ac_config_target in $ac_config_targets
23203
 
do
23204
 
  case $ac_config_target in
23205
 
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
23206
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
23207
 
    "intltool") CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
23208
 
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
23209
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
23210
 
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
23211
 
    "pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
23212
 
    "interfaces/Makefile") CONFIG_FILES="$CONFIG_FILES interfaces/Makefile" ;;
23213
 
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
23214
 
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
23215
 
 
23216
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23217
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23218
 
   { (exit 1); exit 1; }; };;
23219
 
  esac
23220
 
done
23221
 
 
23222
 
 
23223
 
# If the user did not use the arguments to specify the items to instantiate,
23224
 
# then the envvar interface is used.  Set only those that are not.
23225
 
# We use the long form for the default assignment because of an extremely
23226
 
# bizarre bug on SunOS 4.1.3.
23227
 
if $ac_need_defaults; then
23228
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23229
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23230
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23231
 
fi
23232
 
 
23233
 
# Have a temporary directory for convenience.  Make it in the build tree
23234
 
# simply because there is no reason against having it here, and in addition,
23235
 
# creating and moving files from /tmp can sometimes cause problems.
23236
 
# Hook for its removal unless debugging.
23237
 
# Note that there is a small window in which the directory will not be cleaned:
23238
 
# after its creation but before its name has been assigned to `$tmp'.
23239
 
$debug ||
23240
 
{
23241
 
  tmp=
23242
 
  trap 'exit_status=$?
23243
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23244
 
' 0
23245
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
23246
 
}
23247
 
# Create a (secure) tmp directory for tmp files.
23248
 
 
23249
 
{
23250
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23251
 
  test -n "$tmp" && test -d "$tmp"
23252
 
}  ||
23253
 
{
23254
 
  tmp=./conf$$-$RANDOM
23255
 
  (umask 077 && mkdir "$tmp")
23256
 
} ||
23257
 
{
23258
 
   echo "$me: cannot create a temporary directory in ." >&2
23259
 
   { (exit 1); exit 1; }
23260
 
}
23261
 
 
23262
 
#
23263
 
# Set up the sed scripts for CONFIG_FILES section.
23264
 
#
23265
 
 
23266
 
# No need to generate the scripts if there are no CONFIG_FILES.
23267
 
# This happens for instance when ./config.status config.h
23268
 
if test -n "$CONFIG_FILES"; then
23269
 
 
23270
 
_ACEOF
23271
 
 
23272
 
 
23273
 
 
23274
 
ac_delim='%!_!# '
23275
 
for ac_last_try in false false false false false :; do
23276
 
  cat >conf$$subs.sed <<_ACEOF
23277
 
SHELL!$SHELL$ac_delim
23278
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23279
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23280
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23281
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23282
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23283
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23284
 
exec_prefix!$exec_prefix$ac_delim
23285
 
prefix!$prefix$ac_delim
23286
 
program_transform_name!$program_transform_name$ac_delim
23287
 
bindir!$bindir$ac_delim
23288
 
sbindir!$sbindir$ac_delim
23289
 
libexecdir!$libexecdir$ac_delim
23290
 
datarootdir!$datarootdir$ac_delim
23291
 
datadir!$datadir$ac_delim
23292
 
sysconfdir!$sysconfdir$ac_delim
23293
 
sharedstatedir!$sharedstatedir$ac_delim
23294
 
localstatedir!$localstatedir$ac_delim
23295
 
includedir!$includedir$ac_delim
23296
 
oldincludedir!$oldincludedir$ac_delim
23297
 
docdir!$docdir$ac_delim
23298
 
infodir!$infodir$ac_delim
23299
 
htmldir!$htmldir$ac_delim
23300
 
dvidir!$dvidir$ac_delim
23301
 
pdfdir!$pdfdir$ac_delim
23302
 
psdir!$psdir$ac_delim
23303
 
libdir!$libdir$ac_delim
23304
 
localedir!$localedir$ac_delim
23305
 
mandir!$mandir$ac_delim
23306
 
DEFS!$DEFS$ac_delim
23307
 
ECHO_C!$ECHO_C$ac_delim
23308
 
ECHO_N!$ECHO_N$ac_delim
23309
 
ECHO_T!$ECHO_T$ac_delim
23310
 
LIBS!$LIBS$ac_delim
23311
 
build_alias!$build_alias$ac_delim
23312
 
host_alias!$host_alias$ac_delim
23313
 
target_alias!$target_alias$ac_delim
23314
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23315
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23316
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
23317
 
CYGPATH_W!$CYGPATH_W$ac_delim
23318
 
PACKAGE!$PACKAGE$ac_delim
23319
 
VERSION!$VERSION$ac_delim
23320
 
ACLOCAL!$ACLOCAL$ac_delim
23321
 
AUTOCONF!$AUTOCONF$ac_delim
23322
 
AUTOMAKE!$AUTOMAKE$ac_delim
23323
 
AUTOHEADER!$AUTOHEADER$ac_delim
23324
 
MAKEINFO!$MAKEINFO$ac_delim
23325
 
install_sh!$install_sh$ac_delim
23326
 
STRIP!$STRIP$ac_delim
23327
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
23328
 
mkdir_p!$mkdir_p$ac_delim
23329
 
AWK!$AWK$ac_delim
23330
 
SET_MAKE!$SET_MAKE$ac_delim
23331
 
am__leading_dot!$am__leading_dot$ac_delim
23332
 
AMTAR!$AMTAR$ac_delim
23333
 
am__tar!$am__tar$ac_delim
23334
 
am__untar!$am__untar$ac_delim
23335
 
INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
23336
 
INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
23337
 
INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
23338
 
INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
23339
 
INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
23340
 
INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
23341
 
INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
23342
 
INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
23343
 
INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
23344
 
INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
23345
 
INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
23346
 
INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
23347
 
INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
23348
 
INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
23349
 
INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
23350
 
INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
23351
 
INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
23352
 
INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
23353
 
INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
23354
 
INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
23355
 
INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
23356
 
INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
23357
 
INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
23358
 
ALL_LINGUAS!$ALL_LINGUAS$ac_delim
23359
 
CC!$CC$ac_delim
23360
 
CFLAGS!$CFLAGS$ac_delim
23361
 
LDFLAGS!$LDFLAGS$ac_delim
23362
 
CPPFLAGS!$CPPFLAGS$ac_delim
23363
 
ac_ct_CC!$ac_ct_CC$ac_delim
23364
 
EXEEXT!$EXEEXT$ac_delim
23365
 
OBJEXT!$OBJEXT$ac_delim
23366
 
DEPDIR!$DEPDIR$ac_delim
23367
 
am__include!$am__include$ac_delim
23368
 
am__quote!$am__quote$ac_delim
23369
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
23370
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
23371
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
23372
 
CCDEPMODE!$CCDEPMODE$ac_delim
23373
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
23374
 
_ACEOF
23375
 
 
23376
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23377
 
    break
23378
 
  elif $ac_last_try; then
23379
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23380
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23381
 
   { (exit 1); exit 1; }; }
23382
 
  else
23383
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23384
 
  fi
23385
 
done
23386
 
 
23387
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23388
 
if test -n "$ac_eof"; then
23389
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23390
 
  ac_eof=`expr $ac_eof + 1`
23391
 
fi
23392
 
 
23393
 
cat >>$CONFIG_STATUS <<_ACEOF
23394
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23395
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23396
 
_ACEOF
23397
 
sed '
23398
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23399
 
s/^/s,@/; s/!/@,|#_!!_#|/
23400
 
:n
23401
 
t n
23402
 
s/'"$ac_delim"'$/,g/; t
23403
 
s/$/\\/; p
23404
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23405
 
' >>$CONFIG_STATUS <conf$$subs.sed
23406
 
rm -f conf$$subs.sed
23407
 
cat >>$CONFIG_STATUS <<_ACEOF
23408
 
CEOF$ac_eof
23409
 
_ACEOF
23410
 
 
23411
 
 
23412
 
ac_delim='%!_!# '
23413
 
for ac_last_try in false false false false false :; do
23414
 
  cat >conf$$subs.sed <<_ACEOF
23415
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
23416
 
DATADIRNAME!$DATADIRNAME$ac_delim
23417
 
build!$build$ac_delim
23418
 
build_cpu!$build_cpu$ac_delim
23419
 
build_vendor!$build_vendor$ac_delim
23420
 
build_os!$build_os$ac_delim
23421
 
host!$host$ac_delim
23422
 
host_cpu!$host_cpu$ac_delim
23423
 
host_vendor!$host_vendor$ac_delim
23424
 
host_os!$host_os$ac_delim
23425
 
SED!$SED$ac_delim
23426
 
GREP!$GREP$ac_delim
23427
 
EGREP!$EGREP$ac_delim
23428
 
LN_S!$LN_S$ac_delim
23429
 
ECHO!$ECHO$ac_delim
23430
 
AR!$AR$ac_delim
23431
 
RANLIB!$RANLIB$ac_delim
23432
 
CPP!$CPP$ac_delim
23433
 
CXX!$CXX$ac_delim
23434
 
CXXFLAGS!$CXXFLAGS$ac_delim
23435
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
23436
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
23437
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
23438
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
23439
 
CXXCPP!$CXXCPP$ac_delim
23440
 
F77!$F77$ac_delim
23441
 
FFLAGS!$FFLAGS$ac_delim
23442
 
ac_ct_F77!$ac_ct_F77$ac_delim
23443
 
LIBTOOL!$LIBTOOL$ac_delim
23444
 
HAVE_PKGCONFIG!$HAVE_PKGCONFIG$ac_delim
23445
 
PKG_CONFIG!$PKG_CONFIG$ac_delim
23446
 
NAUTILUS_CFLAGS!$NAUTILUS_CFLAGS$ac_delim
23447
 
NAUTILUS_LIBS!$NAUTILUS_LIBS$ac_delim
23448
 
GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
23449
 
GLIB_LIBS!$GLIB_LIBS$ac_delim
23450
 
LIBGLADE_CFLAGS!$LIBGLADE_CFLAGS$ac_delim
23451
 
LIBGLADE_LIBS!$LIBGLADE_LIBS$ac_delim
23452
 
pixmapsdir!$pixmapsdir$ac_delim
23453
 
interfacesdir!$interfacesdir$ac_delim
23454
 
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
23455
 
USE_NLS!$USE_NLS$ac_delim
23456
 
MSGFMT!$MSGFMT$ac_delim
23457
 
MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
23458
 
GMSGFMT!$GMSGFMT$ac_delim
23459
 
XGETTEXT!$XGETTEXT$ac_delim
23460
 
CATALOGS!$CATALOGS$ac_delim
23461
 
CATOBJEXT!$CATOBJEXT$ac_delim
23462
 
GMOFILES!$GMOFILES$ac_delim
23463
 
INSTOBJEXT!$INSTOBJEXT$ac_delim
23464
 
INTLLIBS!$INTLLIBS$ac_delim
23465
 
PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
23466
 
PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
23467
 
POFILES!$POFILES$ac_delim
23468
 
POSUB!$POSUB$ac_delim
23469
 
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
23470
 
gnomelocaledir!$gnomelocaledir$ac_delim
23471
 
LIBOBJS!$LIBOBJS$ac_delim
23472
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
23473
 
_ACEOF
23474
 
 
23475
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 58; then
23476
 
    break
23477
 
  elif $ac_last_try; then
23478
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23479
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23480
 
   { (exit 1); exit 1; }; }
23481
 
  else
23482
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23483
 
  fi
23484
 
done
23485
 
 
23486
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23487
 
if test -n "$ac_eof"; then
23488
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23489
 
  ac_eof=`expr $ac_eof + 1`
23490
 
fi
23491
 
 
23492
 
cat >>$CONFIG_STATUS <<_ACEOF
23493
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23494
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23495
 
_ACEOF
23496
 
sed '
23497
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23498
 
s/^/s,@/; s/!/@,|#_!!_#|/
23499
 
:n
23500
 
t n
23501
 
s/'"$ac_delim"'$/,g/; t
23502
 
s/$/\\/; p
23503
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23504
 
' >>$CONFIG_STATUS <conf$$subs.sed
23505
 
rm -f conf$$subs.sed
23506
 
cat >>$CONFIG_STATUS <<_ACEOF
23507
 
:end
23508
 
s/|#_!!_#|//g
23509
 
CEOF$ac_eof
23510
 
_ACEOF
23511
 
 
23512
 
 
23513
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
23514
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23515
 
# trailing colons and then remove the whole line if VPATH becomes empty
23516
 
# (actually we leave an empty line to preserve line numbers).
23517
 
if test "x$srcdir" = x.; then
23518
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
23519
 
s/:*\$(srcdir):*/:/
23520
 
s/:*\${srcdir}:*/:/
23521
 
s/:*@srcdir@:*/:/
23522
 
s/^\([^=]*=[     ]*\):*/\1/
23523
 
s/:*$//
23524
 
s/^[^=]*=[       ]*$//
23525
 
}'
23526
 
fi
23527
 
 
23528
 
cat >>$CONFIG_STATUS <<\_ACEOF
23529
 
fi # test -n "$CONFIG_FILES"
23530
 
 
23531
 
 
23532
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
23533
 
do
23534
 
  case $ac_tag in
23535
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
23536
 
  esac
23537
 
  case $ac_mode$ac_tag in
23538
 
  :[FHL]*:*);;
23539
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23540
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23541
 
   { (exit 1); exit 1; }; };;
23542
 
  :[FH]-) ac_tag=-:-;;
23543
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23544
 
  esac
23545
 
  ac_save_IFS=$IFS
23546
 
  IFS=:
23547
 
  set x $ac_tag
23548
 
  IFS=$ac_save_IFS
23549
 
  shift
23550
 
  ac_file=$1
23551
 
  shift
23552
 
 
23553
 
  case $ac_mode in
23554
 
  :L) ac_source=$1;;
23555
 
  :[FH])
23556
 
    ac_file_inputs=
23557
 
    for ac_f
23558
 
    do
23559
 
      case $ac_f in
23560
 
      -) ac_f="$tmp/stdin";;
23561
 
      *) # Look for the file first in the build tree, then in the source tree
23562
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
23563
 
         # because $ac_f cannot contain `:'.
23564
 
         test -f "$ac_f" ||
23565
 
           case $ac_f in
23566
 
           [\\/$]*) false;;
23567
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23568
 
           esac ||
23569
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23570
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23571
 
   { (exit 1); exit 1; }; };;
23572
 
      esac
23573
 
      ac_file_inputs="$ac_file_inputs $ac_f"
23574
 
    done
23575
 
 
23576
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
23577
 
    # use $as_me), people would be surprised to read:
23578
 
    #    /* config.h.  Generated by config.status.  */
23579
 
    configure_input="Generated from "`IFS=:
23580
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23581
 
    if test x"$ac_file" != x-; then
23582
 
      configure_input="$ac_file.  $configure_input"
23583
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
23584
 
echo "$as_me: creating $ac_file" >&6;}
23585
 
    fi
23586
 
 
23587
 
    case $ac_tag in
23588
 
    *:-:* | *:-) cat >"$tmp/stdin";;
23589
 
    esac
23590
 
    ;;
23591
 
  esac
23592
 
 
23593
 
  ac_dir=`$as_dirname -- "$ac_file" ||
23594
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23595
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
23596
 
         X"$ac_file" : 'X\(//\)$' \| \
23597
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23598
 
echo X"$ac_file" |
23599
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23600
 
            s//\1/
23601
 
            q
23602
 
          }
23603
 
          /^X\(\/\/\)[^/].*/{
23604
 
            s//\1/
23605
 
            q
23606
 
          }
23607
 
          /^X\(\/\/\)$/{
23608
 
            s//\1/
23609
 
            q
23610
 
          }
23611
 
          /^X\(\/\).*/{
23612
 
            s//\1/
23613
 
            q
23614
 
          }
23615
 
          s/.*/./; q'`
23616
 
  { as_dir="$ac_dir"
23617
 
  case $as_dir in #(
23618
 
  -*) as_dir=./$as_dir;;
23619
 
  esac
23620
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23621
 
    as_dirs=
23622
 
    while :; do
23623
 
      case $as_dir in #(
23624
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23625
 
      *) as_qdir=$as_dir;;
23626
 
      esac
23627
 
      as_dirs="'$as_qdir' $as_dirs"
23628
 
      as_dir=`$as_dirname -- "$as_dir" ||
23629
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23630
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
23631
 
         X"$as_dir" : 'X\(//\)$' \| \
23632
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23633
 
echo X"$as_dir" |
23634
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23635
 
            s//\1/
23636
 
            q
23637
 
          }
23638
 
          /^X\(\/\/\)[^/].*/{
23639
 
            s//\1/
23640
 
            q
23641
 
          }
23642
 
          /^X\(\/\/\)$/{
23643
 
            s//\1/
23644
 
            q
23645
 
          }
23646
 
          /^X\(\/\).*/{
23647
 
            s//\1/
23648
 
            q
23649
 
          }
23650
 
          s/.*/./; q'`
23651
 
      test -d "$as_dir" && break
23652
 
    done
23653
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
23654
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23655
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
23656
 
   { (exit 1); exit 1; }; }; }
23657
 
  ac_builddir=.
23658
 
 
23659
 
case "$ac_dir" in
23660
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23661
 
*)
23662
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23663
 
  # A ".." for each directory in $ac_dir_suffix.
23664
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23665
 
  case $ac_top_builddir_sub in
23666
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23667
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23668
 
  esac ;;
23669
 
esac
23670
 
ac_abs_top_builddir=$ac_pwd
23671
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
23672
 
# for backward compatibility:
23673
 
ac_top_builddir=$ac_top_build_prefix
23674
 
 
23675
 
case $srcdir in
23676
 
  .)  # We are building in place.
23677
 
    ac_srcdir=.
23678
 
    ac_top_srcdir=$ac_top_builddir_sub
23679
 
    ac_abs_top_srcdir=$ac_pwd ;;
23680
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
23681
 
    ac_srcdir=$srcdir$ac_dir_suffix;
23682
 
    ac_top_srcdir=$srcdir
23683
 
    ac_abs_top_srcdir=$srcdir ;;
23684
 
  *) # Relative name.
23685
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23686
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
23687
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23688
 
esac
23689
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23690
 
 
23691
 
 
23692
 
  case $ac_mode in
23693
 
  :F)
23694
 
  #
23695
 
  # CONFIG_FILE
23696
 
  #
23697
 
 
23698
 
  case $INSTALL in
23699
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23700
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23701
 
  esac
23702
 
_ACEOF
23703
 
 
23704
 
cat >>$CONFIG_STATUS <<\_ACEOF
23705
 
# If the template does not know about datarootdir, expand it.
23706
 
# FIXME: This hack should be removed a few years after 2.60.
23707
 
ac_datarootdir_hack=; ac_datarootdir_seen=
23708
 
 
23709
 
case `sed -n '/datarootdir/ {
23710
 
  p
23711
 
  q
23712
 
}
23713
 
/@datadir@/p
23714
 
/@docdir@/p
23715
 
/@infodir@/p
23716
 
/@localedir@/p
23717
 
/@mandir@/p
23718
 
' $ac_file_inputs` in
23719
 
*datarootdir*) ac_datarootdir_seen=yes;;
23720
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23721
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23722
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23723
 
_ACEOF
23724
 
cat >>$CONFIG_STATUS <<_ACEOF
23725
 
  ac_datarootdir_hack='
23726
 
  s&@datadir@&$datadir&g
23727
 
  s&@docdir@&$docdir&g
23728
 
  s&@infodir@&$infodir&g
23729
 
  s&@localedir@&$localedir&g
23730
 
  s&@mandir@&$mandir&g
23731
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
23732
 
esac
23733
 
_ACEOF
23734
 
 
23735
 
# Neutralize VPATH when `$srcdir' = `.'.
23736
 
# Shell code in configure.ac might set extrasub.
23737
 
# FIXME: do we really want to maintain this feature?
23738
 
cat >>$CONFIG_STATUS <<_ACEOF
23739
 
  sed "$ac_vpsub
23740
 
$extrasub
23741
 
_ACEOF
23742
 
cat >>$CONFIG_STATUS <<\_ACEOF
23743
 
:t
23744
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23745
 
s&@configure_input@&$configure_input&;t t
23746
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
23747
 
s&@srcdir@&$ac_srcdir&;t t
23748
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
23749
 
s&@top_srcdir@&$ac_top_srcdir&;t t
23750
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23751
 
s&@builddir@&$ac_builddir&;t t
23752
 
s&@abs_builddir@&$ac_abs_builddir&;t t
23753
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23754
 
s&@INSTALL@&$ac_INSTALL&;t t
23755
 
$ac_datarootdir_hack
23756
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23757
 
 
23758
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23759
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23760
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23761
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23762
 
which seems to be undefined.  Please make sure it is defined." >&5
23763
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23764
 
which seems to be undefined.  Please make sure it is defined." >&2;}
23765
 
 
23766
 
  rm -f "$tmp/stdin"
23767
 
  case $ac_file in
23768
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
23769
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23770
 
  esac
23771
 
 ;;
23772
 
  :H)
23773
 
  #
23774
 
  # CONFIG_HEADER
23775
 
  #
23776
 
_ACEOF
23777
 
 
23778
 
# Transform confdefs.h into a sed script `conftest.defines', that
23779
 
# substitutes the proper values into config.h.in to produce config.h.
23780
 
rm -f conftest.defines conftest.tail
23781
 
# First, append a space to every undef/define line, to ease matching.
23782
 
echo 's/$/ /' >conftest.defines
23783
 
# Then, protect against being on the right side of a sed subst, or in
23784
 
# an unquoted here document, in config.status.  If some macros were
23785
 
# called several times there might be several #defines for the same
23786
 
# symbol, which is useless.  But do not sort them, since the last
23787
 
# AC_DEFINE must be honored.
23788
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23789
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23790
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
23791
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
23792
 
# just an empty string.
23793
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
23794
 
ac_dB='\\)[      (].*,\\1define\\2'
23795
 
ac_dC=' '
23796
 
ac_dD=' ,'
23797
 
 
23798
 
uniq confdefs.h |
23799
 
  sed -n '
23800
 
        t rset
23801
 
        :rset
23802
 
        s/^[     ]*#[    ]*define[       ][      ]*//
23803
 
        t ok
23804
 
        d
23805
 
        :ok
23806
 
        s/[\\&,]/\\&/g
23807
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23808
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23809
 
  ' >>conftest.defines
23810
 
 
23811
 
# Remove the space that was appended to ease matching.
23812
 
# Then replace #undef with comments.  This is necessary, for
23813
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
23814
 
# on some systems where configure will not decide to define it.
23815
 
# (The regexp can be short, since the line contains either #define or #undef.)
23816
 
echo 's/ $//
23817
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
23818
 
 
23819
 
# Break up conftest.defines:
23820
 
ac_max_sed_lines=50
23821
 
 
23822
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23823
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23824
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23825
 
# et cetera.
23826
 
ac_in='$ac_file_inputs'
23827
 
ac_out='"$tmp/out1"'
23828
 
ac_nxt='"$tmp/out2"'
23829
 
 
23830
 
while :
23831
 
do
23832
 
  # Write a here document:
23833
 
    cat >>$CONFIG_STATUS <<_ACEOF
23834
 
    # First, check the format of the line:
23835
 
    cat >"\$tmp/defines.sed" <<\\CEOF
23836
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
23837
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
23838
 
b
23839
 
:def
23840
 
_ACEOF
23841
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23842
 
  echo 'CEOF
23843
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23844
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23845
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23846
 
  grep . conftest.tail >/dev/null || break
23847
 
  rm -f conftest.defines
23848
 
  mv conftest.tail conftest.defines
23849
 
done
23850
 
rm -f conftest.defines conftest.tail
23851
 
 
23852
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
23853
 
cat >>$CONFIG_STATUS <<\_ACEOF
23854
 
  if test x"$ac_file" != x-; then
23855
 
    echo "/* $configure_input  */" >"$tmp/config.h"
23856
 
    cat "$ac_result" >>"$tmp/config.h"
23857
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23858
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23859
 
echo "$as_me: $ac_file is unchanged" >&6;}
23860
 
    else
23861
 
      rm -f $ac_file
23862
 
      mv "$tmp/config.h" $ac_file
23863
 
    fi
23864
 
  else
23865
 
    echo "/* $configure_input  */"
23866
 
    cat "$ac_result"
23867
 
  fi
23868
 
  rm -f "$tmp/out12"
23869
 
# Compute $ac_file's index in $config_headers.
23870
 
_am_stamp_count=1
23871
 
for _am_header in $config_headers :; do
23872
 
  case $_am_header in
23873
 
    $ac_file | $ac_file:* )
23874
 
      break ;;
23875
 
    * )
23876
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
23877
 
  esac
23878
 
done
23879
 
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
23880
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23881
 
         X$ac_file : 'X\(//\)[^/]' \| \
23882
 
         X$ac_file : 'X\(//\)$' \| \
23883
 
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
23884
 
echo X$ac_file |
23885
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23886
 
            s//\1/
23887
 
            q
23888
 
          }
23889
 
          /^X\(\/\/\)[^/].*/{
23890
 
            s//\1/
23891
 
            q
23892
 
          }
23893
 
          /^X\(\/\/\)$/{
23894
 
            s//\1/
23895
 
            q
23896
 
          }
23897
 
          /^X\(\/\).*/{
23898
 
            s//\1/
23899
 
            q
23900
 
          }
23901
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
23902
 
 ;;
23903
 
 
23904
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23905
 
echo "$as_me: executing $ac_file commands" >&6;}
23906
 
 ;;
23907
 
  esac
23908
 
 
23909
 
 
23910
 
  case $ac_file$ac_mode in
23911
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
23912
 
  # Strip MF so we end up with the name of the file.
23913
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
23914
 
  # Check whether this is an Automake generated Makefile or not.
23915
 
  # We used to match only the files named `Makefile.in', but
23916
 
  # some people rename them; so instead we look at the file content.
23917
 
  # Grep'ing the first line is not enough: some people post-process
23918
 
  # each Makefile.in and add a new line on top of each file to say so.
23919
 
  # So let's grep whole file.
23920
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
23921
 
    dirpart=`$as_dirname -- "$mf" ||
23922
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23923
 
         X"$mf" : 'X\(//\)[^/]' \| \
23924
 
         X"$mf" : 'X\(//\)$' \| \
23925
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23926
 
echo X"$mf" |
23927
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23928
 
            s//\1/
23929
 
            q
23930
 
          }
23931
 
          /^X\(\/\/\)[^/].*/{
23932
 
            s//\1/
23933
 
            q
23934
 
          }
23935
 
          /^X\(\/\/\)$/{
23936
 
            s//\1/
23937
 
            q
23938
 
          }
23939
 
          /^X\(\/\).*/{
23940
 
            s//\1/
23941
 
            q
23942
 
          }
23943
 
          s/.*/./; q'`
23944
 
  else
23945
 
    continue
23946
 
  fi
23947
 
  # Extract the definition of DEPDIR, am__include, and am__quote
23948
 
  # from the Makefile without running `make'.
23949
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
23950
 
  test -z "$DEPDIR" && continue
23951
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
23952
 
  test -z "am__include" && continue
23953
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
23954
 
  # When using ansi2knr, U may be empty or an underscore; expand it
23955
 
  U=`sed -n 's/^U = //p' < "$mf"`
23956
 
  # Find all dependency output files, they are included files with
23957
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
23958
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
23959
 
  # expansion.
23960
 
  for file in `sed -n "
23961
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23962
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23963
 
    # Make sure the directory exists.
23964
 
    test -f "$dirpart/$file" && continue
23965
 
    fdir=`$as_dirname -- "$file" ||
23966
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23967
 
         X"$file" : 'X\(//\)[^/]' \| \
23968
 
         X"$file" : 'X\(//\)$' \| \
23969
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23970
 
echo X"$file" |
23971
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23972
 
            s//\1/
23973
 
            q
23974
 
          }
23975
 
          /^X\(\/\/\)[^/].*/{
23976
 
            s//\1/
23977
 
            q
23978
 
          }
23979
 
          /^X\(\/\/\)$/{
23980
 
            s//\1/
23981
 
            q
23982
 
          }
23983
 
          /^X\(\/\).*/{
23984
 
            s//\1/
23985
 
            q
23986
 
          }
23987
 
          s/.*/./; q'`
23988
 
    { as_dir=$dirpart/$fdir
23989
 
  case $as_dir in #(
23990
 
  -*) as_dir=./$as_dir;;
23991
 
  esac
23992
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23993
 
    as_dirs=
23994
 
    while :; do
23995
 
      case $as_dir in #(
23996
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23997
 
      *) as_qdir=$as_dir;;
23998
 
      esac
23999
 
      as_dirs="'$as_qdir' $as_dirs"
24000
 
      as_dir=`$as_dirname -- "$as_dir" ||
24001
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24002
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
24003
 
         X"$as_dir" : 'X\(//\)$' \| \
24004
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24005
 
echo X"$as_dir" |
24006
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24007
 
            s//\1/
24008
 
            q
24009
 
          }
24010
 
          /^X\(\/\/\)[^/].*/{
24011
 
            s//\1/
24012
 
            q
24013
 
          }
24014
 
          /^X\(\/\/\)$/{
24015
 
            s//\1/
24016
 
            q
24017
 
          }
24018
 
          /^X\(\/\).*/{
24019
 
            s//\1/
24020
 
            q
24021
 
          }
24022
 
          s/.*/./; q'`
24023
 
      test -d "$as_dir" && break
24024
 
    done
24025
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
24026
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24027
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
24028
 
   { (exit 1); exit 1; }; }; }
24029
 
    # echo "creating $dirpart/$file"
24030
 
    echo '# dummy' > "$dirpart/$file"
24031
 
  done
24032
 
done
24033
 
 ;;
24034
 
    "intltool":C)
24035
 
 
24036
 
for file in intltool-extract intltool-merge intltool-update; do
24037
 
  sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
24038
 
      -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
24039
 
      -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
24040
 
        < ${ac_aux_dir}/${file}.in > ${file}.out
24041
 
  if cmp -s ${file} ${file}.out 2>/dev/null; then
24042
 
    rm -f ${file}.out
24043
 
  else
24044
 
    mv -f ${file}.out ${file}
24045
 
  fi
24046
 
  chmod ugo+x ${file}
24047
 
  chmod u+w ${file}
24048
 
done
24049
 
 
24050
 
 ;;
24051
 
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
24052
 
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
24053
 
      esac ;;
24054
 
    "po/stamp-it":C)
24055
 
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
24056
 
    >"po/stamp-it.tmp"
24057
 
    sed '/^#/d
24058
 
         s/^[[].*] *//
24059
 
         /^[    ]*$/d
24060
 
        '"s|^|  $ac_top_srcdir/|" \
24061
 
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
24062
 
 
24063
 
    if test ! -f "po/Makefile"; then
24064
 
      { { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
24065
 
echo "$as_me: error: po/Makefile is not ready." >&2;}
24066
 
   { (exit 1); exit 1; }; }
24067
 
    fi
24068
 
    mv "po/Makefile" "po/Makefile.tmp"
24069
 
    sed '/^POTFILES =/,/[^\\]$/ {
24070
 
                /^POTFILES =/!d
24071
 
                r po/POTFILES
24072
 
          }
24073
 
         ' "po/Makefile.tmp" >"po/Makefile"
24074
 
    rm -f "po/Makefile.tmp"
24075
 
    mv "po/stamp-it.tmp" "po/stamp-it"
24076
 
   ;;
24077
 
 
24078
 
  esac
24079
 
done # for ac_tag
24080
 
 
24081
 
 
24082
 
{ (exit 0); exit 0; }
24083
 
_ACEOF
24084
 
chmod +x $CONFIG_STATUS
24085
 
ac_clean_files=$ac_clean_files_save
24086
 
 
24087
 
 
24088
 
# configure is writing to config.log, and then calls config.status.
24089
 
# config.status does its own redirection, appending to config.log.
24090
 
# Unfortunately, on DOS this fails, as config.log is still kept open
24091
 
# by configure, so config.status won't be able to write to it; its
24092
 
# output is simply discarded.  So we exec the FD to /dev/null,
24093
 
# effectively closing config.log, so it can be properly (re)opened and
24094
 
# appended to by config.status.  When coming back to configure, we
24095
 
# need to make the FD available again.
24096
 
if test "$no_create" != yes; then
24097
 
  ac_cs_success=:
24098
 
  ac_config_status_args=
24099
 
  test "$silent" = yes &&
24100
 
    ac_config_status_args="$ac_config_status_args --quiet"
24101
 
  exec 5>/dev/null
24102
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24103
 
  exec 5>>config.log
24104
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24105
 
  # would make configure fail if this is the last instruction.
24106
 
  $ac_cs_success || { (exit 1); exit 1; }
24107
 
fi
24108
 
 
24109